Version Description
- 2019-08-12
Download this release
Release Info
Developer | codeinwp |
Plugin | FEEDZY RSS Feeds Lite |
Version | 3.3.8 |
Comparing to | |
See all releases |
Code changes from version 3.3.7 to 3.3.8
- CHANGELOG.md +9 -0
- css/feedzy-rss-feeds.css +1 -1
- feedzy-rss-feed.php +1 -1
- img/feedzy-default.jpg +0 -0
- img/feedzy.png +0 -0
- img/feedzy.svg +11 -1
- includes/abstract/feedzy-rss-feeds-admin-abstract.php +103 -44
- includes/admin/feedzy-rss-feeds-admin.php +1 -1
- includes/admin/feedzy-rss-feeds-ui-lang.php +10 -15
- includes/feedzy-rss-feeds.php +1 -1
- includes/gutenberg/build/block.css +1 -1
- includes/gutenberg/build/block.js +20 -20
- includes/gutenberg/feedzy-rss-feeds-gutenberg-block.php +11 -2
- includes/layouts/css/upsell.css +6 -5
- includes/layouts/feedzy-tutorial.php +2 -2
- readme.md +40 -13
- readme.txt +19 -13
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/codeinwp/themeisle-sdk/CHANGELOG.md +46 -0
- vendor/codeinwp/themeisle-sdk/docker-compose.local.yml +2 -1
- vendor/codeinwp/themeisle-sdk/load.php +25 -2
- vendor/codeinwp/themeisle-sdk/src/Loader.php +1 -1
- vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php +2 -2
- vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php +61 -25
- vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php +436 -325
- vendor/codeinwp/themeisle-sdk/src/Product.php +1 -1
- vendor/codeinwp/themeisle-sdk/start.php +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/autoload_real_52.php +3 -3
- vendor/composer/installed.json +4 -4
CHANGELOG.md
CHANGED
@@ -1,4 +1,13 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
### v3.3.7 - 2019-06-15
|
3 |
**Changes:**
|
4 |
* Fix: Not working in the block editor
|
1 |
|
2 |
+
### v3.3.8 - 2019-08-12
|
3 |
+
**Changes:**
|
4 |
+
* - Fix issue with AMP pages not showing image
|
5 |
+
* - In the short code, separate behavior of meta into author, date and time
|
6 |
+
* - Add option to remove title entirely
|
7 |
+
* - Don't show [...] if summary is shorter than required
|
8 |
+
* - Add option to use default sorting when generating the short code
|
9 |
+
* - Add ability to show date/time in local timezone
|
10 |
+
|
11 |
### v3.3.7 - 2019-06-15
|
12 |
**Changes:**
|
13 |
* Fix: Not working in the block editor
|
css/feedzy-rss-feeds.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* feedzy-rss-feeds.css
|
3 |
* Feedzy RSS Feed
|
4 |
* Copyright: (c) 2016 Themeisle, themeisle.com
|
5 |
-
* Version: 3.3.
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
2 |
* feedzy-rss-feeds.css
|
3 |
* Feedzy RSS Feed
|
4 |
* Copyright: (c) 2016 Themeisle, themeisle.com
|
5 |
+
* Version: 3.3.8
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
feedzy-rss-feed.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
16 |
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
|
17 |
* Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
|
18 |
-
* Version: 3.3.
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
16 |
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
|
17 |
* Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
|
18 |
+
* Version: 3.3.8
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
img/feedzy-default.jpg
DELETED
Binary file
|
img/feedzy.png
CHANGED
Binary file
|
img/feedzy.svg
CHANGED
@@ -1 +1,11 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<svg width="77px" height="77px" viewBox="0 0 77 77" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3 |
+
<!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
|
4 |
+
<title>Combined Shape</title>
|
5 |
+
<desc>Created with Sketch.</desc>
|
6 |
+
<g id="Product-Page" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
7 |
+
<g id="WordPress-plugins" transform="translate(-196.000000, -957.000000)" fill="#4268CF">
|
8 |
+
<path d="M234.5,1034 C213.237037,1034 196,1016.76296 196,995.5 C196,974.237037 213.237037,957 234.5,957 C255.762963,957 273,974.237037 273,995.5 C273,1016.76296 255.762963,1034 234.5,1034 Z M238.389087,1003.61091 C236.241256,1001.46308 232.758851,1001.46297 230.610943,1003.61088 C228.463035,1005.75879 228.463021,1009.2412 230.610913,1011.38909 C232.758804,1013.53698 236.241149,1013.53703 238.389057,1011.38912 C240.536965,1009.24121 240.536979,1005.7588 238.389087,1003.61091 Z M251.199196,996.524269 C241.71601,988.013409 227.294143,988.004307 217.800859,996.524214 C217.240496,997.027079 217.222108,997.899777 217.75448,998.43215 L220.551879,1001.22955 C221.041594,1001.71926 221.829967,1001.75226 222.350408,1001.29537 C229.282401,995.21117 239.70281,995.198209 246.649546,1001.29541 C247.170047,1001.75225 247.95842,1001.71925 248.448075,1001.22959 L251.245465,998.432205 C251.777952,997.899834 251.759561,997.027136 251.199196,996.524269 Z M259.517481,988.062818 C245.754662,975.25391 224.312531,975.191374 210.482464,988.062873 C209.95096,988.557557 209.940845,989.396689 210.454222,989.910066 L213.185489,992.641333 C213.675569,993.131413 214.462824,993.141924 214.972622,992.672355 C226.281029,982.254786 243.720804,982.256415 255.027427,992.672311 C255.537167,993.141935 256.324422,993.131423 256.81456,992.641284 L259.545833,989.910011 C260.059097,989.396633 260.048984,988.557501 259.517481,988.062818 Z" id="Combined-Shape"></path>
|
9 |
+
</g>
|
10 |
+
</g>
|
11 |
+
</svg>
|
includes/abstract/feedzy-rss-feeds-admin-abstract.php
CHANGED
@@ -40,7 +40,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
40 |
* @return string
|
41 |
*/
|
42 |
public function feedzy_define_default_image( $image_src ) {
|
43 |
-
$default_img = FEEDZY_ABSURL . '/img/feedzy
|
44 |
|
45 |
return apply_filters( 'feedzy_define_default_image_filter', $default_img );
|
46 |
}
|
@@ -297,40 +297,45 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
297 |
// Retrieve & extract shorcode parameters
|
298 |
$sc = shortcode_atts(
|
299 |
array(
|
300 |
-
'feeds' => '',
|
301 |
// comma separated feeds url
|
302 |
-
'
|
303 |
// number of feeds items (0 for unlimited)
|
304 |
-
'
|
305 |
// display feed title yes/no
|
306 |
-
'
|
307 |
// _blank, _self
|
308 |
-
'
|
309 |
// empty or no for nofollow
|
|
|
|
|
310 |
'title' => '',
|
311 |
-
//
|
|
|
|
|
|
|
312 |
'meta' => 'yes',
|
313 |
-
// yes, no
|
314 |
-
'summary' => 'yes',
|
315 |
// strip title
|
316 |
-
'
|
317 |
// strip summary after X char
|
318 |
-
'
|
319 |
// yes, no, auto
|
320 |
-
'
|
321 |
// default thumb URL if no image found (only if thumb is set to yes or auto)
|
322 |
-
'
|
323 |
// thumbs pixel size
|
324 |
-
'
|
325 |
// only display item if title contains specific keywords (comma-separated list/case sensitive)
|
326 |
-
'
|
327 |
// cache refresh
|
328 |
-
'
|
329 |
// sorting.
|
330 |
-
'
|
331 |
// http images, https = force https|default = fall back to default image|auto = continue as it is
|
332 |
-
'
|
333 |
// message to show when feed is empty
|
|
|
|
|
|
|
334 |
),
|
335 |
$atts,
|
336 |
'feedzy_default'
|
@@ -501,6 +506,22 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
501 |
// set the url as the last step, because we need to be able to close this feed without the url being set
|
502 |
// so that we can fall back to raw data in case of an error
|
503 |
$feed->set_feed_url( $feed_url );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
$feed->init();
|
505 |
|
506 |
$error = $feed->error();
|
@@ -615,9 +636,6 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
615 |
if ( empty( $sc['size'] ) || ! ctype_digit( $sc['size'] ) ) {
|
616 |
$sc['size'] = '150';
|
617 |
}
|
618 |
-
if ( ! empty( $sc['title'] ) && ! ctype_digit( $sc['title'] ) ) {
|
619 |
-
$sc['title'] = '';
|
620 |
-
}
|
621 |
if ( ! empty( $sc['keywords_title'] ) ) {
|
622 |
$sc['keywords_title'] = rtrim( $sc['keywords_title'], ',' );
|
623 |
$sc['keywords_title'] = array_map( 'trim', explode( ',', $sc['keywords_title'] ) );
|
@@ -826,35 +844,62 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
826 |
if ( ! empty( $the_thumbnail ) ) {
|
827 |
$the_thumbnail = $this->feedzy_image_encode( $the_thumbnail );
|
828 |
$content_thumb .= '<span class="fetched" style="background-image: url(\'' . $the_thumbnail . '\');" title="' . esc_html( $item->get_title() ) . '"></span>';
|
|
|
|
|
|
|
829 |
}
|
830 |
-
if ( $sc['thumb'] === 'yes' ) {
|
831 |
$content_thumb .= '<span class="default" style="background-image:url(' . $sc['default'] . ');" title="' . esc_html( $item->get_title() ) . '"></span>';
|
|
|
|
|
|
|
832 |
}
|
833 |
}
|
834 |
$content_thumb = apply_filters( 'feedzy_thumb_output', $content_thumb, $feed_url, $sizes, $item );
|
835 |
} else {
|
836 |
$content_thumb = '';
|
837 |
$content_thumb .= '<span class="default" style="width:' . $sizes['width'] . 'px; height:' . $sizes['height'] . 'px; background-image:url(' . $sc['default'] . ');" title="' . $item->get_title() . '"></span>';
|
|
|
|
|
|
|
838 |
$content_thumb = apply_filters( 'feedzy_thumb_output', $content_thumb, $feed_url, $sizes, $item );
|
839 |
}
|
840 |
-
$content_title =
|
841 |
-
if ( is_numeric( $sc['title'] )
|
842 |
-
$
|
843 |
-
|
844 |
-
|
|
|
|
|
|
|
845 |
}
|
846 |
$content_title = apply_filters( 'feedzy_title_output', $content_title, $feed_url, $item );
|
847 |
-
// Define Meta args
|
|
|
848 |
$meta_args = array(
|
849 |
-
'author' =>
|
850 |
-
'date' =>
|
|
|
|
|
851 |
'date_format' => get_option( 'date_format' ),
|
852 |
'time_format' => get_option( 'time_format' ),
|
853 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
854 |
// Filter: feedzy_meta_args
|
855 |
$meta_args = apply_filters( 'feedzy_meta_args', $meta_args, $feed_url, $item );
|
856 |
$content_meta = '';
|
857 |
-
if ( $
|
858 |
$content_meta = '';
|
859 |
if ( $item->get_author() && $meta_args['author'] ) {
|
860 |
$author = $item->get_author();
|
@@ -871,28 +916,41 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
871 |
$content_meta .= __( 'by', 'feedzy-rss-feeds' ) . ' <a href="' . $author_url . '" target="' . $sc['target'] . '" title="' . $domain['host'] . '" >' . $author_name . '</a> ';
|
872 |
}
|
873 |
}
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
$content_meta .= __( 'at', 'feedzy-rss-feeds' ) . ' ' . date_i18n( $meta_args['time_format'], $date_time );
|
883 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
884 |
}
|
|
|
|
|
|
|
|
|
|
|
885 |
}
|
886 |
$content_meta = apply_filters( 'feedzy_meta_output', $content_meta, $feed_url, $item );
|
887 |
$content_summary = '';
|
888 |
if ( $sc['summary'] === 'yes' ) {
|
889 |
-
$content_summary = '';
|
890 |
$description = $item->get_description();
|
891 |
$description = apply_filters( 'feedzy_summary_input', $description, $item->get_content(), $feed_url, $item );
|
|
|
892 |
if ( is_numeric( $sc['summarylength'] ) && strlen( $description ) > $sc['summarylength'] ) {
|
893 |
-
$content_summary
|
894 |
-
} else {
|
895 |
-
$content_summary .= $description . ' […]';
|
896 |
}
|
897 |
$content_summary = apply_filters( 'feedzy_summary_output', $content_summary, $new_link, $feed_url, $item );
|
898 |
}
|
@@ -910,6 +968,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
910 |
'item_content_style' => '',
|
911 |
'item_meta' => $content_meta,
|
912 |
'item_date' => $item->get_date( 'U' ),
|
|
|
913 |
'item_author' => $item->get_author(),
|
914 |
'item_description' => $content_summary,
|
915 |
'item_content' => apply_filters( 'feedzy_content', $item->get_content( false ), $item ),
|
40 |
* @return string
|
41 |
*/
|
42 |
public function feedzy_define_default_image( $image_src ) {
|
43 |
+
$default_img = FEEDZY_ABSURL . '/img/feedzy.svg';
|
44 |
|
45 |
return apply_filters( 'feedzy_define_default_image_filter', $default_img );
|
46 |
}
|
297 |
// Retrieve & extract shorcode parameters
|
298 |
$sc = shortcode_atts(
|
299 |
array(
|
|
|
300 |
// comma separated feeds url
|
301 |
+
'feeds' => '',
|
302 |
// number of feeds items (0 for unlimited)
|
303 |
+
'max' => '5',
|
304 |
// display feed title yes/no
|
305 |
+
'feed_title' => 'yes',
|
306 |
// _blank, _self
|
307 |
+
'target' => '_blank',
|
308 |
// empty or no for nofollow
|
309 |
+
'follow' => '',
|
310 |
+
// strip title after X char. X can be 0 too, which will remove the title.
|
311 |
'title' => '',
|
312 |
+
// yes (author, date, time), no (NEITHER), author, date, time,
|
313 |
+
// tz=local (for date/time in blog time)
|
314 |
+
// tz=gmt (for date/time in UTC time, this is the default)
|
315 |
+
// tz=no (for date/time in the feed, without conversion)
|
316 |
'meta' => 'yes',
|
|
|
|
|
317 |
// strip title
|
318 |
+
'summary' => 'yes',
|
319 |
// strip summary after X char
|
320 |
+
'summarylength' => '',
|
321 |
// yes, no, auto
|
322 |
+
'thumb' => 'auto',
|
323 |
// default thumb URL if no image found (only if thumb is set to yes or auto)
|
324 |
+
'default' => '',
|
325 |
// thumbs pixel size
|
326 |
+
'size' => '',
|
327 |
// only display item if title contains specific keywords (comma-separated list/case sensitive)
|
328 |
+
'keywords_title' => '',
|
329 |
// cache refresh
|
330 |
+
'refresh' => '12_hours',
|
331 |
// sorting.
|
332 |
+
'sort' => '',
|
333 |
// http images, https = force https|default = fall back to default image|auto = continue as it is
|
334 |
+
'http' => 'auto',
|
335 |
// message to show when feed is empty
|
336 |
+
'error_empty' => 'Feed has no items.',
|
337 |
+
// to disable amp support, use 'no'. This is currently not available as part of the shortcode tinymce form.
|
338 |
+
'amp' => 'yes',
|
339 |
),
|
340 |
$atts,
|
341 |
'feedzy_default'
|
506 |
// set the url as the last step, because we need to be able to close this feed without the url being set
|
507 |
// so that we can fall back to raw data in case of an error
|
508 |
$feed->set_feed_url( $feed_url );
|
509 |
+
|
510 |
+
global $feedzy_current_error_reporting;
|
511 |
+
$feedzy_current_error_reporting = error_reporting();
|
512 |
+
|
513 |
+
// to avoid the Warning! Non-numeric value encountered. This can be removed once SimplePie in core is fixed.
|
514 |
+
if ( version_compare( phpversion(), '7.1', '>=' ) ) {
|
515 |
+
error_reporting( E_ALL ^ E_WARNING );
|
516 |
+
// reset the error_reporting back to its original value.
|
517 |
+
add_action(
|
518 |
+
'shutdown', function() {
|
519 |
+
global $feedzy_current_error_reporting;
|
520 |
+
error_reporting( $feedzy_current_error_reporting );
|
521 |
+
}
|
522 |
+
);
|
523 |
+
}
|
524 |
+
|
525 |
$feed->init();
|
526 |
|
527 |
$error = $feed->error();
|
636 |
if ( empty( $sc['size'] ) || ! ctype_digit( $sc['size'] ) ) {
|
637 |
$sc['size'] = '150';
|
638 |
}
|
|
|
|
|
|
|
639 |
if ( ! empty( $sc['keywords_title'] ) ) {
|
640 |
$sc['keywords_title'] = rtrim( $sc['keywords_title'], ',' );
|
641 |
$sc['keywords_title'] = array_map( 'trim', explode( ',', $sc['keywords_title'] ) );
|
844 |
if ( ! empty( $the_thumbnail ) ) {
|
845 |
$the_thumbnail = $this->feedzy_image_encode( $the_thumbnail );
|
846 |
$content_thumb .= '<span class="fetched" style="background-image: url(\'' . $the_thumbnail . '\');" title="' . esc_html( $item->get_title() ) . '"></span>';
|
847 |
+
if ( ! isset( $sc['amp'] ) || 'no' !== $sc['amp'] ) {
|
848 |
+
$content_thumb .= '<amp-img width="' . $sizes['width'] . '" height="' . $sizes['height'] . '" src="' . $the_thumbnail . '">';
|
849 |
+
}
|
850 |
}
|
851 |
+
if ( empty( $the_thumbnail ) && $sc['thumb'] === 'yes' ) {
|
852 |
$content_thumb .= '<span class="default" style="background-image:url(' . $sc['default'] . ');" title="' . esc_html( $item->get_title() ) . '"></span>';
|
853 |
+
if ( ! isset( $sc['amp'] ) || 'no' !== $sc['amp'] ) {
|
854 |
+
$content_thumb .= '<amp-img width="' . $sizes['width'] . '" height="' . $sizes['height'] . '" src="' . $sc['default'] . '">';
|
855 |
+
}
|
856 |
}
|
857 |
}
|
858 |
$content_thumb = apply_filters( 'feedzy_thumb_output', $content_thumb, $feed_url, $sizes, $item );
|
859 |
} else {
|
860 |
$content_thumb = '';
|
861 |
$content_thumb .= '<span class="default" style="width:' . $sizes['width'] . 'px; height:' . $sizes['height'] . 'px; background-image:url(' . $sc['default'] . ');" title="' . $item->get_title() . '"></span>';
|
862 |
+
if ( ! isset( $sc['amp'] ) || 'no' !== $sc['amp'] ) {
|
863 |
+
$content_thumb .= '<amp-img width="' . $sizes['width'] . '" height="' . $sizes['height'] . '" src="' . $sc['default'] . '">';
|
864 |
+
}
|
865 |
$content_thumb = apply_filters( 'feedzy_thumb_output', $content_thumb, $feed_url, $sizes, $item );
|
866 |
}
|
867 |
+
$content_title = $item->get_title();
|
868 |
+
if ( is_numeric( $sc['title'] ) ) {
|
869 |
+
$length = intval( $sc['title'] );
|
870 |
+
if ( $length > 0 && strlen( $content_title ) > $length ) {
|
871 |
+
$content_title = preg_replace( '/\s+?(\S+)?$/', '', substr( $content_title, 0, $length ) ) . '...';
|
872 |
+
} elseif ( $length === 0 ) {
|
873 |
+
$content_title = '';
|
874 |
+
}
|
875 |
}
|
876 |
$content_title = apply_filters( 'feedzy_title_output', $content_title, $feed_url, $item );
|
877 |
+
// Define Meta args.
|
878 |
+
// meta=yes is for backward compatibility, otherwise its always better to provide the fields with granularity.
|
879 |
$meta_args = array(
|
880 |
+
'author' => $sc['meta'] === 'yes' || strpos( $sc['meta'], 'author' ) !== false,
|
881 |
+
'date' => $sc['meta'] === 'yes' || strpos( $sc['meta'], 'date' ) !== false,
|
882 |
+
'time' => $sc['meta'] === 'yes' || strpos( $sc['meta'], 'time' ) !== false,
|
883 |
+
'tz' => 'gmt',
|
884 |
'date_format' => get_option( 'date_format' ),
|
885 |
'time_format' => get_option( 'time_format' ),
|
886 |
);
|
887 |
+
// parse the x=y type setting e.g. tz=local or tz=gmt.
|
888 |
+
if ( strpos( $sc['meta'], '=' ) !== false ) {
|
889 |
+
$components = array_map( 'trim', explode( ',', $sc['meta'] ) );
|
890 |
+
foreach ( $components as $configs ) {
|
891 |
+
if ( strpos( $configs, '=' ) === false ) {
|
892 |
+
continue;
|
893 |
+
}
|
894 |
+
$config = explode( '=', $configs );
|
895 |
+
$meta_args[ $config[0] ] = $config[1];
|
896 |
+
}
|
897 |
+
}
|
898 |
+
|
899 |
// Filter: feedzy_meta_args
|
900 |
$meta_args = apply_filters( 'feedzy_meta_args', $meta_args, $feed_url, $item );
|
901 |
$content_meta = '';
|
902 |
+
if ( $meta_args['author'] || $meta_args['date'] || $meta_args['time'] ) {
|
903 |
$content_meta = '';
|
904 |
if ( $item->get_author() && $meta_args['author'] ) {
|
905 |
$author = $item->get_author();
|
916 |
$content_meta .= __( 'by', 'feedzy-rss-feeds' ) . ' <a href="' . $author_url . '" target="' . $sc['target'] . '" title="' . $domain['host'] . '" >' . $author_name . '</a> ';
|
917 |
}
|
918 |
}
|
919 |
+
|
920 |
+
$date_time = $item->get_date( 'U' );
|
921 |
+
if ( $meta_args['tz'] === 'local' ) {
|
922 |
+
$date_time = get_date_from_gmt( $item->get_date( 'Y-m-d H:i:s' ), 'U' );
|
923 |
+
// strings such as Asia/Kolkata need special handling.
|
924 |
+
$tz = get_option( 'timezone_string' );
|
925 |
+
if ( $tz ) {
|
926 |
+
$date_time = gmdate( 'U', $date_time + get_option( 'gmt_offset' ) * HOUR_IN_SECONDS );
|
|
|
927 |
}
|
928 |
+
} elseif ( $meta_args['tz'] === 'no' ) {
|
929 |
+
// change the tz component of the date to UTC.
|
930 |
+
$raw_date = preg_replace( '/\++(\d\d\d\d)/', '+0000', $item->get_date( '' ) );
|
931 |
+
$date = DateTime::createFromFormat( DATE_RFC2822, $raw_date );
|
932 |
+
$date_time = $date->format( 'U' );
|
933 |
+
}
|
934 |
+
|
935 |
+
$date_time = apply_filters( 'feedzy_feed_timestamp', $date_time, $feed_url, $item );
|
936 |
+
$content_meta_date = $date_time;
|
937 |
+
if ( $meta_args['date'] && ! empty( $meta_args['date_format'] ) ) {
|
938 |
+
$content_meta_date = __( 'on', 'feedzy-rss-feeds' ) . ' ' . date_i18n( $meta_args['date_format'], $date_time ) . ' ';
|
939 |
}
|
940 |
+
|
941 |
+
if ( $meta_args['time'] && ! empty( $meta_args['time_format'] ) ) {
|
942 |
+
$content_meta_date .= __( 'at', 'feedzy-rss-feeds' ) . ' ' . date_i18n( $meta_args['time_format'], $date_time );
|
943 |
+
}
|
944 |
+
$content_meta .= $content_meta_date;
|
945 |
}
|
946 |
$content_meta = apply_filters( 'feedzy_meta_output', $content_meta, $feed_url, $item );
|
947 |
$content_summary = '';
|
948 |
if ( $sc['summary'] === 'yes' ) {
|
|
|
949 |
$description = $item->get_description();
|
950 |
$description = apply_filters( 'feedzy_summary_input', $description, $item->get_content(), $feed_url, $item );
|
951 |
+
$content_summary = $description;
|
952 |
if ( is_numeric( $sc['summarylength'] ) && strlen( $description ) > $sc['summarylength'] ) {
|
953 |
+
$content_summary = preg_replace( '/\s+?(\S+)?$/', '', substr( $description, 0, $sc['summarylength'] ) ) . ' […]';
|
|
|
|
|
954 |
}
|
955 |
$content_summary = apply_filters( 'feedzy_summary_output', $content_summary, $new_link, $feed_url, $item );
|
956 |
}
|
968 |
'item_content_style' => '',
|
969 |
'item_meta' => $content_meta,
|
970 |
'item_date' => $item->get_date( 'U' ),
|
971 |
+
'item_date_formatted' => $content_meta_date,
|
972 |
'item_author' => $item->get_author(),
|
973 |
'item_description' => $content_summary,
|
974 |
'item_content' => apply_filters( 'feedzy_content', $item->get_content( false ), $item ),
|
includes/admin/feedzy-rss-feeds-admin.php
CHANGED
@@ -377,7 +377,7 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
|
|
377 |
* @access public
|
378 |
*/
|
379 |
public function feedzy_menu_pages() {
|
380 |
-
$svg_base64_icon = 'data:image/svg+xml;base64,
|
381 |
add_menu_page( __( 'Feedzy', 'feedzy-rss-feeds' ), __( 'Feedzy', 'feedzy-rss-feeds' ), 'manage_options', 'feedzy-admin-menu', '', $svg_base64_icon, 98.7666 );
|
382 |
|
383 |
add_submenu_page(
|
377 |
* @access public
|
378 |
*/
|
379 |
public function feedzy_menu_pages() {
|
380 |
+
$svg_base64_icon = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNzdweCIgaGVpZ2h0PSI3N3B4IiB2aWV3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4xODU0ODksOTkyLjY0MTMzMyBDMjEzLjY3NTU2OSw5OTMuMTMxNDEzIDIxNC40NjI4MjQsOTkzLjE0MTkyNCAyMTQuOTcyNjIyLDk5Mi42NzIzNTUgQzIyNi4yODEwMjksOTgyLjI1NDc4NiAyNDMuNzIwODA0LDk4Mi4yNTY0MTUgMjU1LjAyNzQyNyw5OTIuNjcyMzExIEMyNTUuNTM3MTY3LDk5My4xNDE5MzUgMjU2LjMyNDQyMiw5OTMuMTMxNDIzIDI1Ni44MTQ1Niw5OTIuNjQxMjg0IEwyNTkuNTQ1ODMzLDk4OS45MTAwMTEgQzI2MC4wNTkwOTcsOTg5LjM5NjYzMyAyNjAuMDQ4OTg0LDk4OC41NTc1MDEgMjU5LjUxNzQ4MSw5ODguMDYyODE4IFoiIGlkPSJDb21iaW5lZC1TaGFwZSI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+';
|
381 |
add_menu_page( __( 'Feedzy', 'feedzy-rss-feeds' ), __( 'Feedzy', 'feedzy-rss-feeds' ), 'manage_options', 'feedzy-admin-menu', '', $svg_base64_icon, 98.7666 );
|
382 |
|
383 |
add_submenu_page(
|
includes/admin/feedzy-rss-feeds-ui-lang.php
CHANGED
@@ -93,7 +93,7 @@ class Feedzy_Rss_Feeds_Ui_Lang {
|
|
93 |
'title' => __( 'Feed Source', 'feedzy-rss-feeds' ),
|
94 |
'elements' => array(
|
95 |
'feeds' => array(
|
96 |
-
'label' => __( 'The feed(s) URL (comma-separated list).', 'feedzy-rss-feeds' ) . ' ' . __( '
|
97 |
'placeholder' => __( 'Feed URL', 'feedzy-rss-feeds' ),
|
98 |
'type' => 'text',
|
99 |
'value' => '',
|
@@ -156,6 +156,10 @@ class Feedzy_Rss_Feeds_Ui_Lang {
|
|
156 |
'type' => 'select',
|
157 |
'value' => '',
|
158 |
'opts' => array(
|
|
|
|
|
|
|
|
|
159 |
'date_desc' => array(
|
160 |
'label' => __( 'Date Descending', 'feedzy-rss-feeds' ),
|
161 |
'value' => 'date_desc',
|
@@ -232,25 +236,16 @@ class Feedzy_Rss_Feeds_Ui_Lang {
|
|
232 |
),
|
233 |
),
|
234 |
'title' => array(
|
235 |
-
'label' => __( 'Trim the title of the item after X characters.', 'feedzy-rss-feeds' ),
|
236 |
'placeholder' => __( '(eg: 160)', 'feedzy-rss-feeds' ),
|
237 |
'type' => 'text',
|
238 |
'value' => '',
|
239 |
),
|
240 |
'meta' => array(
|
241 |
-
'label' => __( 'Should we display
|
242 |
-
'
|
|
|
243 |
'value' => '',
|
244 |
-
'opts' => array(
|
245 |
-
'yes' => array(
|
246 |
-
'label' => __( 'Yes', 'feedzy-rss-feeds' ),
|
247 |
-
'value' => 'yes',
|
248 |
-
),
|
249 |
-
'no' => array(
|
250 |
-
'label' => __( 'No', 'feedzy-rss-feeds' ),
|
251 |
-
'value' => 'no',
|
252 |
-
),
|
253 |
-
),
|
254 |
),
|
255 |
'summary' => array(
|
256 |
'label' => __( 'Should we display a description (abstract) of the retrieved item?', 'feedzy-rss-feeds' ),
|
@@ -281,7 +276,7 @@ class Feedzy_Rss_Feeds_Ui_Lang {
|
|
281 |
'disabled' => feedzy_is_new(),
|
282 |
),
|
283 |
'keywords_ban' => array(
|
284 |
-
'label' => __( 'Exclude items if title
|
285 |
'placeholder' => __( '(eg: politics, gossip etc.)', 'feedzy-rss-feeds' ),
|
286 |
'type' => 'text',
|
287 |
'value' => '',
|
93 |
'title' => __( 'Feed Source', 'feedzy-rss-feeds' ),
|
94 |
'elements' => array(
|
95 |
'feeds' => array(
|
96 |
+
'label' => __( 'The feed(s) URL (comma-separated list).', 'feedzy-rss-feeds' ) . ' ' . sprintf( __( 'Click %1$shere%2$s to check if feed is valid.', 'feedzy-rss-feeds' ), '<a href="https://validator.w3.org/feed/" target="_new">', '</a>' ) . '<br><b>' . __( 'Invalid feeds will NOT display items.', 'feedzy-rss-feeds' ) . '</b>',
|
97 |
'placeholder' => __( 'Feed URL', 'feedzy-rss-feeds' ),
|
98 |
'type' => 'text',
|
99 |
'value' => '',
|
156 |
'type' => 'select',
|
157 |
'value' => '',
|
158 |
'opts' => array(
|
159 |
+
'' => array(
|
160 |
+
'label' => __( 'Default', 'feedzy-rss-feeds' ),
|
161 |
+
'value' => '',
|
162 |
+
),
|
163 |
'date_desc' => array(
|
164 |
'label' => __( 'Date Descending', 'feedzy-rss-feeds' ),
|
165 |
'value' => 'date_desc',
|
236 |
),
|
237 |
),
|
238 |
'title' => array(
|
239 |
+
'label' => __( 'Trim the title of the item after X characters. A value of 0 will remove the title.', 'feedzy-rss-feeds' ),
|
240 |
'placeholder' => __( '(eg: 160)', 'feedzy-rss-feeds' ),
|
241 |
'type' => 'text',
|
242 |
'value' => '',
|
243 |
),
|
244 |
'meta' => array(
|
245 |
+
'label' => sprintf( __( 'Should we display additional meta fields out of %1$sauthor%2$s, %3$sdate%4$s and %5$stime%6$s? (comma-separated list). View documentation %7$shere%8$s.', 'feedzy-rss-feeds' ), '<code>', '</code>', '<code>', '</code>', '<code>', '</code>', '<a href="https://docs.themeisle.com/article/1089-how-to-display-author-date-or-time-from-the-feed" target="_new">', '</a>' ),
|
246 |
+
'placeholder' => __( '(eg: author, date, time, tz=local)', 'feedzy-rss-feeds' ),
|
247 |
+
'type' => 'text',
|
248 |
'value' => '',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
),
|
250 |
'summary' => array(
|
251 |
'label' => __( 'Should we display a description (abstract) of the retrieved item?', 'feedzy-rss-feeds' ),
|
276 |
'disabled' => feedzy_is_new(),
|
277 |
),
|
278 |
'keywords_ban' => array(
|
279 |
+
'label' => __( 'Exclude items if title contains specific keyword(s) (comma-separated list/case sensitive). ', 'feedzy-rss-feeds' ),
|
280 |
'placeholder' => __( '(eg: politics, gossip etc.)', 'feedzy-rss-feeds' ),
|
281 |
'type' => 'text',
|
282 |
'value' => '',
|
includes/feedzy-rss-feeds.php
CHANGED
@@ -104,7 +104,7 @@ class Feedzy_Rss_Feeds {
|
|
104 |
*/
|
105 |
public function init() {
|
106 |
self::$plugin_name = 'feedzy-rss-feeds';
|
107 |
-
self::$version = '3.3.
|
108 |
self::$instance->load_dependencies();
|
109 |
self::$instance->set_locale();
|
110 |
self::$instance->define_admin_hooks();
|
104 |
*/
|
105 |
public function init() {
|
106 |
self::$plugin_name = 'feedzy-rss-feeds';
|
107 |
+
self::$version = '3.3.8';
|
108 |
self::$instance->load_dependencies();
|
109 |
self::$instance->set_locale();
|
110 |
self::$instance->define_admin_hooks();
|
includes/gutenberg/build/block.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.loadFeed{margin-bottom:10px}.feedzy-blocks-base-control{padding-bottom:10px}.feedzy-blocks-base-control label{padding-bottom:10px}.feedzy-blocks-base-control .feedzy_image_upload{display:block;margin-bottom:10px}.feedzy-select-cat{width:100%}.feedzy-select-cat select{width:auto}.feedzy-rss .rss_image span.fetched{display:inline-block;position:absolute;width:100%;height:100%;background-position:50%;background-size:cover}
|
2 |
.components-radio-image-control__container{display:block}.components-radio-image-control__option{display:inline-block;padding:5px}.components-radio-image-control label{display:inline-block;position:relative}.components-radio-image-control label img{border:1px solid transparent;max-width:250px !important}.components-radio-image-control input{display:none}.components-radio-image-control input+label .image-clickable{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.components-radio-image-control input:checked+label img{border:1px solid #3498DB;box-shadow:0 0 5px 2px rgba(0,0,0,0.25)}
|
1 |
+
.wp-block-feedzy-rss-feeds-feedzy-block .feedzy-source{margin-right:10px}.loadFeed{margin-bottom:10px}.feedzy-blocks-base-control{padding-bottom:10px}.feedzy-blocks-base-control label{padding-bottom:10px}.feedzy-blocks-base-control .feedzy_image_upload{display:block;margin-bottom:10px}.feedzy-select-cat{width:100%}.feedzy-select-cat select{width:auto}.feedzy-rss .rss_image span.fetched{display:inline-block;position:absolute;width:100%;height:100%;background-position:50%;background-size:cover}
|
2 |
.components-radio-image-control__container{display:block}.components-radio-image-control__option{display:inline-block;padding:5px}.components-radio-image-control label{display:inline-block;position:relative}.components-radio-image-control label img{border:1px solid transparent;max-width:250px !important}.components-radio-image-control input{display:none}.components-radio-image-control input+label .image-clickable{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.components-radio-image-control input:checked+label img{border:1px solid #3498DB;box-shadow:0 0 5px 2px rgba(0,0,0,0.25)}
|
includes/gutenberg/build/block.js
CHANGED
@@ -79,31 +79,31 @@ eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nv
|
|
79 |
/* 2 */
|
80 |
/***/ (function(module, exports) {
|
81 |
|
82 |
-
eval("var core = module.exports = { version: '2.6.
|
83 |
|
84 |
/***/ }),
|
85 |
/* 3 */
|
86 |
/***/ (function(module, exports, __webpack_require__) {
|
87 |
|
88 |
-
eval("
|
89 |
|
90 |
/***/ }),
|
91 |
/* 4 */
|
92 |
/***/ (function(module, exports, __webpack_require__) {
|
93 |
|
94 |
-
eval("var
|
95 |
|
96 |
/***/ }),
|
97 |
/* 5 */
|
98 |
/***/ (function(module, exports, __webpack_require__) {
|
99 |
|
100 |
-
eval("var
|
101 |
|
102 |
/***/ }),
|
103 |
/* 6 */
|
104 |
/***/ (function(module, exports, __webpack_require__) {
|
105 |
|
106 |
-
eval("
|
107 |
|
108 |
/***/ }),
|
109 |
/* 7 */
|
@@ -115,7 +115,7 @@ eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, ke
|
|
115 |
/* 8 */
|
116 |
/***/ (function(module, exports, __webpack_require__) {
|
117 |
|
118 |
-
eval("var global = __webpack_require__(1);\nvar core = __webpack_require__(2);\nvar ctx = __webpack_require__(17);\nvar hide = __webpack_require__(
|
119 |
|
120 |
/***/ }),
|
121 |
/* 9 */
|
@@ -235,14 +235,14 @@ eval("// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnPro
|
|
235 |
/* 28 */
|
236 |
/***/ (function(module, exports, __webpack_require__) {
|
237 |
|
238 |
-
eval("var def = __webpack_require__(
|
239 |
|
240 |
/***/ }),
|
241 |
/* 29 */
|
242 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
243 |
|
244 |
"use strict";
|
245 |
-
eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(30);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(43);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_query_string__ = __webpack_require__(44);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_query_string___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_query_string__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__inspector__ = __webpack_require__(49);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils__ = __webpack_require__(52);\n\n\nvar _this = this;\n\n// jshint ignore: start\n\n/**\n * Block dependencies\n */\n\n\n\n\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n Placeholder = _wp$components.Placeholder,\n TextControl = _wp$components.TextControl,\n Button = _wp$components.Button,\n Spinner = _wp$components.Spinner;\n\n/**\n * Register block\n */\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (registerBlockType('feedzy-rss-feeds/feedzy-block', {\n\ttitle: __('Feedzy RSS Feeds'),\n\tcategory: 'common',\n\ticon: 'rss',\n\tkeywords: [__('Feedzy RSS Feeds'), __('RSS'), __('Feeds')],\n\tsupports: {\n\t\thtml: false\n\t},\n\tattributes: __WEBPACK_IMPORTED_MODULE_3__attributes__[\"a\" /* default */],\n\tedit: function edit(props) {\n\t\tvar onChangeFeeds = function onChangeFeeds(value) {\n\t\t\tprops.setAttributes({ feeds: value });\n\t\t};\n\t\tvar onChangeMax = function onChangeMax(value) {\n\t\t\tprops.setAttributes({ max: value.toString() });\n\t\t};\n\t\tvar toggleFeedTitle = function toggleFeedTitle(value) {\n\t\t\tprops.setAttributes({ feed_title: !props.attributes.feed_title });\n\t\t};\n\t\tvar onRefresh = function onRefresh(value) {\n\t\t\tprops.setAttributes({ refresh: value });\n\t\t};\n\t\tvar onSort = function onSort(value) {\n\t\t\tprops.setAttributes({ sort: value });\n\t\t};\n\t\tvar onTarget = function onTarget(value) {\n\t\t\tprops.setAttributes({ target: value });\n\t\t};\n\t\tvar onTitle = function onTitle(value) {\n\t\t\tprops.setAttributes({ title: value });\n\t\t};\n\t\tvar toggleMeta = function toggleMeta(value) {\n\t\t\tprops.setAttributes({ meta: !props.attributes.meta });\n\t\t};\n\t\tvar toggleSummary = function toggleSummary(value) {\n\t\t\tprops.setAttributes({ summary: !props.attributes.summary });\n\t\t};\n\t\tvar onSummaryLength = function onSummaryLength(value) {\n\t\t\tprops.setAttributes({ summarylength: value });\n\t\t};\n\t\tvar onKeywordsTitle = function onKeywordsTitle(value) {\n\t\t\tprops.setAttributes({ keywords_title: value });\n\t\t};\n\t\tvar onKeywordsBan = function onKeywordsBan(value) {\n\t\t\tprops.setAttributes({ keywords_ban: value });\n\t\t};\n\t\tvar onThumb = function onThumb(value) {\n\t\t\tprops.setAttributes({ thumb: value });\n\t\t};\n\t\tvar onDefault = function onDefault(value) {\n\t\t\tprops.setAttributes({ default: value });\n\t\t};\n\t\tvar onSize = function onSize(value) {\n\t\t\tprops.setAttributes({ size: value });\n\t\t};\n\t\tvar onReferralURL = function onReferralURL(value) {\n\t\t\tprops.setAttributes({ referral_url: value });\n\t\t};\n\t\tvar onColumns = function onColumns(value) {\n\t\t\tprops.setAttributes({ columns: value });\n\t\t};\n\t\tvar onTemplate = function onTemplate(value) {\n\t\t\tprops.setAttributes({ template: value });\n\t\t};\n\t\tvar togglePrice = function togglePrice(value) {\n\t\t\tprops.setAttributes({ price: !props.attributes.price });\n\t\t};\n\t\tvar loadFeed = function loadFeed() {\n\t\t\tprops.setAttributes({ status: 1 });\n\n\t\t\tvar url = props.attributes.feeds;\n\n\t\t\tif (url === undefined) {\n\t\t\t\treturn props.setAttributes({ status: 3 });\n\t\t\t}\n\n\t\t\tif (Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"b\" /* inArray */])(url, props.attributes.categories)) {\n\t\t\t\tvar category = url;\n\t\t\t\turl = __WEBPACK_IMPORTED_MODULE_2_query_string___default.a.stringify({ category: category }, { arrayFormat: 'bracket' });\n\t\t\t} else {\n\t\t\t\turl = url.replace(/\\s/g, '').split(',').filter(function (item) {\n\t\t\t\t\treturn item !== '';\n\t\t\t\t});\n\t\t\t\turl = __WEBPACK_IMPORTED_MODULE_2_query_string___default.a.stringify({ url: url }, { arrayFormat: 'bracket' });\n\t\t\t}\n\n\t\t\twp.apiRequest({ path: '/feedzy/v1/feed?' + url }).then(function (data) {\n\t\t\t\tif (_this.unmounting) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\t\t\t\tif (!data['error']) {\n\t\t\t\t\tprops.setAttributes({ feedData: data });\n\t\t\t\t\tprops.setAttributes({ status: 2 });\n\t\t\t\t\treturn data;\n\t\t\t\t} else {\n\t\t\t\t\tprops.setAttributes({ status: 3 });\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\t\t\t}).fail(function (err) {\n\t\t\t\tprops.setAttributes({ status: 3 });\n\t\t\t\treturn err;\n\t\t\t});\n\t\t};\n\t\tvar loadCategories = function loadCategories() {\n\t\t\twp.apiRequest({ path: '/wp/v2/feedzy_categories' }).then(function (data) {\n\t\t\t\tif (_this.unmounting) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\t\t\t\tvar i = 0;\n\t\t\t\tvar categories = [];\n\t\t\t\tdata.forEach(function (item) {\n\t\t\t\t\tcategories[i] = item.slug;\n\t\t\t\t\ti = i + 1;\n\t\t\t\t});\n\t\t\t\tprops.setAttributes({ categories: categories });\n\t\t\t\tjQuery('.feedzy-source input').autocomplete({\n\t\t\t\t\tsource: categories,\n\t\t\t\t\tselect: function select(event, ui) {\n\t\t\t\t\t\tprops.setAttributes({ feeds: ui.item.label });\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}).fail(function (err) {\n\t\t\t\treturn err;\n\t\t\t});\n\t\t};\n\t\tif (props.attributes.categories === undefined) {\n\t\t\tloadCategories();\n\t\t}\n\t\treturn [\n\t\t// Inspector\n\t\t!!props.isSelected && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__inspector__[\"a\" /* default */], __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({ onChangeFeeds: onChangeFeeds, onChangeMax: onChangeMax, toggleFeedTitle: toggleFeedTitle, onRefresh: onRefresh, onSort: onSort, onTarget: onTarget, onTitle: onTitle, toggleMeta: toggleMeta, toggleSummary: toggleSummary, onSummaryLength: onSummaryLength, onKeywordsTitle: onKeywordsTitle, onKeywordsBan: onKeywordsBan, onThumb: onThumb, onDefault: onDefault, onSize: onSize, onReferralURL: onReferralURL, onColumns: onColumns, onTemplate: onTemplate, togglePrice: togglePrice, loadFeed: loadFeed }, props)), props.attributes.status !== 2 && wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: props.className },\n\t\t\twp.element.createElement(\n\t\t\t\tPlaceholder,\n\t\t\t\t{\n\t\t\t\t\tkey: 'placeholder',\n\t\t\t\t\ticon: 'rss',\n\t\t\t\t\tlabel: __('Feedzy RSS Feeds')\n\t\t\t\t},\n\t\t\t\tprops.attributes.status === 1 ? wp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ key: 'loading', className: 'wp-block-embed is-loading' },\n\t\t\t\t\twp.element.createElement(Spinner, null),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'p',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t__('Fetching…')\n\t\t\t\t\t)\n\t\t\t\t) : [props.attributes.status === 3 && wp.element.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Feed URL Invalid')\n\t\t\t\t), wp.element.createElement(TextControl, {\n\t\t\t\t\ttype: 'url',\n\t\t\t\t\tclassName: 'feedzy-source',\n\t\t\t\t\tplaceholder: __('Enter URL or category of your feed here…'),\n\t\t\t\t\tonChange: onChangeFeeds,\n\t\t\t\t\tvalue: props.attributes.feeds\n\t\t\t\t}), wp.element.createElement(\n\t\t\t\t\tButton,\n\t\t\t\t\t{\n\t\t\t\t\t\tisLarge: true,\n\t\t\t\t\t\ttype: 'submit',\n\t\t\t\t\t\tonClick: loadFeed\n\t\t\t\t\t},\n\t\t\t\t\t__('Load Feed')\n\t\t\t\t)]\n\t\t\t)\n\t\t), !!(props.attributes.status === 2 && props.attributes.feedData !== undefined) && wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'feedzy-rss' },\n\t\t\tprops.attributes.feed_title && props.attributes.feedData['channel'] !== null && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'rss_header' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ className: 'rss_title' },\n\t\t\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(props.attributes.feedData['channel']['title'])\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'rss_description' },\n\t\t\t\t\t\t' ' + Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(props.attributes.feedData['channel']['description'])\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'ul',\n\t\t\t\t{ className: 'feedzy-' + props.attributes.template },\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"a\" /* filterData */])(props.attributes.feedData['items'], props.attributes.sort, props.attributes.keywords_title, props.attributes.keywords_ban, props.attributes.max).map(function (item, i) {\n\t\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t\t'li',\n\t\t\t\t\t\t{ key: i, style: { padding: '15px 0 25px' }, className: 'rss_item feedzy-rss-col-' + props.attributes.columns },\n\t\t\t\t\t\t(item['thumbnail'] && props.attributes.thumb === 'auto' || props.attributes.thumb === 'yes') && wp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'rss_image', style: { width: props.attributes.size + 'px', height: props.attributes.size + 'px' } },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ title: Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']), style: { width: props.attributes.size + 'px', height: props.attributes.size + 'px' } },\n\t\t\t\t\t\t\t\twp.element.createElement('span', { className: 'fetched', style: { width: props.attributes.size + 'px', height: props.attributes.size + 'px', backgroundImage: 'url(' + (item['thumbnail'] ? item['thumbnail'] : props.attributes.default ? props.attributes.default.url : feedzyjs.imagepath + 'feedzy-default.jpg') + ')' }, title: Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']) })\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'rss_content_wrap' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'title' },\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\tprops.attributes.title && Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']).length > props.attributes.title ? Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']).substring(0, props.attributes.title) + '...' : Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title'])\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'rss_content' },\n\t\t\t\t\t\t\t\tprops.attributes.meta && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'small',\n\t\t\t\t\t\t\t\t\t{ className: 'meta' },\n\t\t\t\t\t\t\t\t\titem['creator'] && [__('by'), ' ', wp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['creator'])\n\t\t\t\t\t\t\t\t\t), ' '],\n\t\t\t\t\t\t\t\t\t__('on'),\n\t\t\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['date']),\n\t\t\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t\t\t__('at'),\n\t\t\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['time'])\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tprops.attributes.summary && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t\t\t{ className: 'description' },\n\t\t\t\t\t\t\t\t\tprops.attributes.summarylength && Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['description']).length > props.attributes.summarylength ? Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['description']).substring(0, props.attributes.summarylength) + ' […]' : Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['description'])\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tfeedzyjs.isPro && item['media'] && item['media']['src'] && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'audio',\n\t\t\t\t\t\t\t\t\t{ controls: true, controlsList: 'nodownload' },\n\t\t\t\t\t\t\t\t\twp.element.createElement('source', { src: item['media']['src'], type: item['media']['type'] }),\n\t\t\t\t\t\t\t\t\t__('Your browser does not support the audio element. But you can check this for the original link: '),\n\t\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t\t{ href: item['media']['src'] },\n\t\t\t\t\t\t\t\t\t\titem['media']['src']\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tfeedzyjs.isPro && props.attributes.price && item['price'] && props.attributes.template !== 'default' && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'price-wrap' },\n\t\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t\t'button',\n\t\t\t\t\t\t\t\t\t\t\t{ className: 'price' },\n\t\t\t\t\t\t\t\t\t\t\titem['price']\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t)\n\t\t)];\n\t},\n\tsave: function save() {\n\t\t// Rendering in PHP\n\t\treturn null;\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbmNsdWRlcy9ndXRlbmJlcmcvc3JjL2Jsb2NrLmpzPzUxZTMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IF9leHRlbmRzIGZyb20gJ2JhYmVsLXJ1bnRpbWUvaGVscGVycy9leHRlbmRzJztcblxudmFyIF90aGlzID0gdGhpcztcblxuLy8ganNoaW50IGlnbm9yZTogc3RhcnRcblxuLyoqXG4gKiBCbG9jayBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0ICcuL3N0eWxlLnNjc3MnO1xuaW1wb3J0IHF1ZXJ5U3RyaW5nIGZyb20gJ3F1ZXJ5LXN0cmluZyc7XG5pbXBvcnQgYmxvY2tBdHRyaWJ1dGVzIGZyb20gJy4vYXR0cmlidXRlcyc7XG5pbXBvcnQgSW5zcGVjdG9yIGZyb20gJy4vaW5zcGVjdG9yJztcbmltcG9ydCB7IHVuZXNjYXBlSFRNTCwgZmlsdGVyRGF0YSwgaW5BcnJheSB9IGZyb20gJy4vdXRpbHMnO1xuXG4vKipcbiAqIEludGVybmFsIGJsb2NrIGxpYnJhcmllc1xuICovXG52YXIgX18gPSB3cC5pMThuLl9fO1xudmFyIHJlZ2lzdGVyQmxvY2tUeXBlID0gd3AuYmxvY2tzLnJlZ2lzdGVyQmxvY2tUeXBlO1xudmFyIF93cCRjb21wb25lbnRzID0gd3AuY29tcG9uZW50cyxcbiAgICBQbGFjZWhvbGRlciA9IF93cCRjb21wb25lbnRzLlBsYWNlaG9sZGVyLFxuICAgIFRleHRDb250cm9sID0gX3dwJGNvbXBvbmV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BO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///29\n");
|
246 |
|
247 |
/***/ }),
|
248 |
/* 30 */
|
@@ -279,7 +279,7 @@ eval("module.exports = function (it) {\n if (typeof it != 'function') throw Typ
|
|
279 |
/* 35 */
|
280 |
/***/ (function(module, exports, __webpack_require__) {
|
281 |
|
282 |
-
eval("module.exports = !__webpack_require__(
|
283 |
|
284 |
/***/ }),
|
285 |
/* 36 */
|
@@ -292,7 +292,7 @@ eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_re
|
|
292 |
/***/ (function(module, exports, __webpack_require__) {
|
293 |
|
294 |
"use strict";
|
295 |
-
eval("\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = __webpack_require__(19);\nvar gOPS = __webpack_require__(41);\nvar pIE = __webpack_require__(42);\nvar toObject = __webpack_require__(15);\nvar IObject = __webpack_require__(21);\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || __webpack_require__(10)(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key
|
296 |
|
297 |
/***/ }),
|
298 |
/* 38 */
|
@@ -335,7 +335,7 @@ eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourc
|
|
335 |
/***/ (function(module, exports, __webpack_require__) {
|
336 |
|
337 |
"use strict";
|
338 |
-
eval("\nconst strictUriEncode = __webpack_require__(45);\nconst decodeComponent = __webpack_require__(46);\nconst splitOnFirst = __webpack_require__(47);\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\t\treturn key => (result, value, index) => {\n\t\t\t\tif (value === null || value === undefined || value.length === 0) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (index === 0) {\n\t\t\t\t\treturn [[encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(',')];\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.split('').indexOf(',') > -1;\n\t\t\t\tconst newValue = isArray ? value.split(',') : value;\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parse(input, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tarrayFormat: 'none'\n\t}, options);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof input !== 'string') {\n\t\treturn ret;\n\t}\n\n\tinput = input.trim().replace(/^[?#&]/, '');\n\n\tif (!input) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of input.split('&')) {\n\t\tlet [key, value] = splitOnFirst(param.replace(/\\+/g, ' '), '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : decode(value, options);\n\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\treturn Object.keys(ret).sort().reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none'\n\t}, options);\n\n\tconst formatter = encoderForArrayFormat(options);\n\tconst keys = Object.keys(object);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (input, options) => {\n\treturn {\n\t\turl: removeHash(input).split('?')[0] || '',\n\t\tquery: parse(extract(input), options)\n\t};\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvcXVlcnktc3RyaW5nL2luZGV4LmpzPzM4MGMiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuY29uc3Qgc3RyaWN0VXJpRW5jb2RlID0gcmVxdWlyZSgnc3RyaWN0LXVyaS1lbmNvZGUnKTtcbmNvbnN0IGRlY29kZUNvbXBvbmVudCA9IHJlcXVpcmUoJ2RlY29kZS11cmktY29tcG9uZW50Jyk7XG5jb25zdCBzcGxpdE9uRmlyc3QgPSByZXF1aXJlKCdzcGxpdC1vbi1maXJzdCcpO1xuXG5mdW5jdGlvbiBlbmNvZGVyRm9yQXJyYXlGb3JtYXQob3B0aW9ucykge1xuXHRzd2l0Y2ggKG9wdGlvbnMuYXJyYXlGb3JtYXQpIHtcblx0XHRjYXNlICdpbmRleCc6XG5cdFx0XHRyZXR1cm4ga2V5ID0+IChyZXN1bHQsIHZhbHVlKSA9PiB7XG5cdFx0XHRcdGNvbnN0I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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///44\n");
|
339 |
|
340 |
/***/ }),
|
341 |
/* 45 */
|
@@ -363,14 +363,14 @@ eval("\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === '
|
|
363 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
364 |
|
365 |
"use strict";
|
366 |
-
eval("// jshint ignore: start\n\nvar attributes = {\n\tfeeds: {\n\t\ttype: 'string'\n\t},\n\tmax: {\n\t\ttype: 'number',\n\t\tdefault: 5\n\t},\n\tfeed_title: {\n\t\ttype: 'boolean',\n\t\tdefault: true\n\t},\n\trefresh: {\n\t\ttype: 'string',\n\t\tdefault: '12_hours'\n\t},\n\tsort: {\n\t\ttype: 'string',\n\t\tdefault: '
|
367 |
|
368 |
/***/ }),
|
369 |
/* 49 */
|
370 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
371 |
|
372 |
"use strict";
|
373 |
-
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__radio_image_control___ = __webpack_require__(50);\n// jshint ignore: start\n\n/**\n * Block dependencies\n */\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar _wp$editor = wp.editor,\n InspectorControls = _wp$editor.InspectorControls,\n MediaUpload = _wp$editor.MediaUpload;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n RangeControl = _wp$components.RangeControl,\n TextControl = _wp$components.TextControl,\n Button = _wp$components.Button,\n ToggleControl = _wp$components.ToggleControl,\n SelectControl = _wp$components.SelectControl,\n ResponsiveWrapper = _wp$components.ResponsiveWrapper;\n\n/**\n* Create an Inspector Controls wrapper Component\n*/\n\nvar Inspector = function Inspector(props) {\n\treturn wp.element.createElement(\n\t\tInspectorControls,\n\t\t{ key: 'inspector' },\n\t\tprops.attributes.status !== 0 && [wp.element.createElement(TextControl, {\n\t\t\tlabel: __('Feed Source'),\n\t\t\tclassName: 'feedzy-source',\n\t\t\tvalue: props.attributes.feeds,\n\t\t\tonChange: props.onChangeFeeds\n\t\t}), wp.element.createElement(\n\t\t\tButton,\n\t\t\t{\n\t\t\t\tisLarge: true,\n\t\t\t\ttype: 'submit',\n\t\t\t\tonClick: props.loadFeed,\n\t\t\t\tclassName: 'loadFeed'\n\t\t\t},\n\t\t\t__('Load Feed')\n\t\t)],\n\t\tprops.attributes.status === 2 && [wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{\n\t\t\t\ttitle: __('Feed Settings'),\n\t\t\t\tinitialOpen: true },\n\t\t\twp.element.createElement(RangeControl, {\n\t\t\t\tlabel: __('Number of Feeds'),\n\t\t\t\tvalue: Number(props.attributes.max) || 5,\n\t\t\t\tonChange: props.onChangeMax,\n\t\t\t\tmin: 1,\n\t\t\t\tmax: props.attributes.feedData['items'].length || 10,\n\t\t\t\tbeforeIcon: 'sort'\n\t\t\t}),\n\t\t\tprops.attributes.feedData['channel'] !== null && wp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Display feed title?'),\n\t\t\t\tchecked: !!props.attributes.feed_title,\n\t\t\t\tonChange: props.toggleFeedTitle\n\t\t\t}),\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Feed Caching Time'),\n\t\t\t\tvalue: props.attributes.refresh,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('1 Hour'),\n\t\t\t\t\tvalue: '1_hours'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('2 Hours'),\n\t\t\t\t\tvalue: '3_hours'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('12 Hours'),\n\t\t\t\t\tvalue: '12_hours'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('1 Day'),\n\t\t\t\t\tvalue: '1_days'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('3 Days'),\n\t\t\t\t\tvalue: '3_days'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('15 Days'),\n\t\t\t\t\tvalue: '15_days'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onRefresh\n\t\t\t}),\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Sorting Order'),\n\t\t\t\tvalue: props.attributes.sort,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('Date Descending'),\n\t\t\t\t\tvalue: 'date_desc'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Date Ascending'),\n\t\t\t\t\tvalue: 'date_asc'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Title Descending'),\n\t\t\t\t\tvalue: 'title_desc'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Title Ascending'),\n\t\t\t\t\tvalue: 'title_asc'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onSort\n\t\t\t})\n\t\t), wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{ title: __('Item Options'), initialOpen: false },\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Open Links In'),\n\t\t\t\tvalue: props.attributes.target,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('New Tab'),\n\t\t\t\t\tvalue: '_blank'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Same Tab'),\n\t\t\t\t\tvalue: '_self'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onTarget\n\t\t\t}),\n\t\t\twp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Title Character Limit'),\n\t\t\t\thelp: __('Leave empty to show full title.'),\n\t\t\t\ttype: 'number',\n\t\t\t\tvalue: props.attributes.title,\n\t\t\t\tonChange: props.onTitle\n\t\t\t}),\n\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Display post date & author?'),\n\t\t\t\tchecked: !!props.attributes.meta,\n\t\t\t\tonChange: props.toggleMeta\n\t\t\t}),\n\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Display post description?'),\n\t\t\t\tchecked: !!props.attributes.summary,\n\t\t\t\tonChange: props.toggleSummary\n\t\t\t}),\n\t\t\tprops.attributes.summary && wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Description Character Limit'),\n\t\t\t\thelp: __('Leave empty to show full description.'),\n\t\t\t\ttype: 'number',\n\t\t\t\tvalue: props.attributes.summarylength,\n\t\t\t\tonChange: props.onSummaryLength\n\t\t\t}),\n\t\t\tfeedzyjs.isPro && [wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Only display if title contains:'),\n\t\t\t\thelp: __('Comma-separated list/case sensitive.'),\n\t\t\t\tvalue: props.attributes.keywords_title,\n\t\t\t\tonChange: props.onKeywordsTitle\n\t\t\t}), wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Exclude if title contains:'),\n\t\t\t\thelp: __('Comma-separated list/case sensitive.'),\n\t\t\t\tvalue: props.attributes.keywords_ban,\n\t\t\t\tonChange: props.onKeywordsBan\n\t\t\t})]\n\t\t), wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{ title: __('Item Image Options'), initialOpen: false },\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Display first image if available?'),\n\t\t\t\tvalue: props.attributes.thumb,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('Auto'),\n\t\t\t\t\tvalue: 'auto'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Yes'),\n\t\t\t\t\tvalue: 'yes'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('No'),\n\t\t\t\t\tvalue: 'no'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onThumb\n\t\t\t}),\n\t\t\tprops.attributes.thumb !== 'no' && [props.attributes.thumb !== 'auto' && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'feedzy-blocks-base-control' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'label',\n\t\t\t\t\t{ className: 'blocks-base-control__label', 'for': 'inspector-media-upload' },\n\t\t\t\t\t__('Default thumbnail URL if no image is found.')\n\t\t\t\t),\n\t\t\t\twp.element.createElement(MediaUpload, {\n\t\t\t\t\ttype: 'image',\n\t\t\t\t\tid: 'inspector-media-upload',\n\t\t\t\t\tvalue: props.attributes.default,\n\t\t\t\t\tonSelect: props.onDefault,\n\t\t\t\t\trender: function render(_ref) {\n\t\t\t\t\t\tvar open = _ref.open;\n\t\t\t\t\t\treturn [props.attributes.default !== undefined && [wp.element.createElement(\n\t\t\t\t\t\t\tResponsiveWrapper,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tnaturalWidth: props.attributes.default.width,\n\t\t\t\t\t\t\t\tnaturalHeight: props.attributes.default.height\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\twp.element.createElement('img', { src: props.attributes.default.url, alt: __('Featured image') })\n\t\t\t\t\t\t), wp.element.createElement(\n\t\t\t\t\t\t\tButton,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tisLarge: true,\n\t\t\t\t\t\t\t\tonClick: function onClick() {\n\t\t\t\t\t\t\t\t\treturn props.setAttributes({ default: undefined });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tstyle: { marginTop: '10px' }\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t__('Remove Image')\n\t\t\t\t\t\t)], wp.element.createElement(\n\t\t\t\t\t\t\tButton,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tisLarge: true,\n\t\t\t\t\t\t\t\tonClick: open,\n\t\t\t\t\t\t\t\tstyle: { marginTop: '10px' },\n\t\t\t\t\t\t\t\tclassName: props.attributes.default === undefined && 'feedzy_image_upload'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t__('Upload Image')\n\t\t\t\t\t\t)];\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t), wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Thumbnails dimension.'),\n\t\t\t\ttype: 'number',\n\t\t\t\tvalue: props.attributes.size,\n\t\t\t\tonChange: props.onSize\n\t\t\t})]\n\t\t), feedzyjs.isPro && wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{ title: __('Pro Features'), initialOpen: false },\n\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Display price if available?'),\n\t\t\t\thelp: props.attributes.price && props.attributes.template === 'default' ? __('Choose a different template for this to work.') : null,\n\t\t\t\tchecked: !!props.attributes.price,\n\t\t\t\tonChange: props.togglePrice\n\t\t\t}),\n\t\t\twp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Referral URL parameters.'),\n\t\t\t\thelp: __('Without (\"?\")'),\n\t\t\t\tplaceholder: _('(eg. promo_code=feedzy_is_awesome)'),\n\t\t\t\tvalue: props.attributes.referral_url,\n\t\t\t\tonChange: props.onReferralURL\n\t\t\t}),\n\t\t\twp.element.createElement(RangeControl, {\n\t\t\t\tlabel: __('Columns'),\n\t\t\t\thelp: __('How many columns we should use to display the feed items?'),\n\t\t\t\tvalue: props.attributes.columns || 1,\n\t\t\t\tonChange: props.onColumns,\n\t\t\t\tmin: 1,\n\t\t\t\tmax: 6,\n\t\t\t\tbeforeIcon: 'sort',\n\t\t\t\tallowReset: true\n\t\t\t}),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_0__radio_image_control___[\"a\" /* default */], {\n\t\t\t\tlabel: __('Feed Template'),\n\t\t\t\tselected: props.attributes.template,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('Default'),\n\t\t\t\t\tsrc: feedzyjs.imagepath + 'feedzy-default-template.jpg',\n\t\t\t\t\tvalue: 'default'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Style 1'),\n\t\t\t\t\tsrc: feedzyjs.imagepath + 'feedzy-style1-template.jpg',\n\t\t\t\t\tvalue: 'style1'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Style 2'),\n\t\t\t\t\tsrc: feedzyjs.imagepath + 'feedzy-style2-template.jpg',\n\t\t\t\t\tvalue: 'style2'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onTemplate\n\t\t\t})\n\t\t)]\n\t);\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inspector);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbmNsdWRlcy9ndXRlbmJlcmcvc3JjL2luc3BlY3Rvci5qcz83YTVmIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGpzaGludCBpZ25vcmU6IHN0YXJ0XG5cbi8qKlxuICogQmxvY2sgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBSYWRpb0ltYWdlQ29udHJvbCBmcm9tICcuL3JhZGlvLWltYWdlLWNvbnRyb2wvJztcblxuLyoqXG4gKiBJbnRlcm5hbCBibG9jayBsaWJyYXJpZXNcbiAqL1xudmFyIF9fID0gd3AuaTE4bi5fXztcbnZhciBfd3AkZWRpdG9yID0gd3AuZWRpdG9yLFxuICAgIEluc3BlY3RvckNvbnRyb2xzID0gX3dwJGVkaXRvci5JbnNwZWN0b3JDb250cm9scyxcbiAgICBNZWRpYVVwbG9hZCA9IF93cCRlZGl0b3IuTWVkaWFVcGxvYWQ7XG52YXIgX3d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tBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///49\n");
|
374 |
|
375 |
/***/ }),
|
376 |
/* 50 */
|
@@ -422,32 +422,32 @@ eval("var toInteger = __webpack_require__(13);\nvar defined = __webpack_require_
|
|
422 |
/***/ (function(module, exports, __webpack_require__) {
|
423 |
|
424 |
"use strict";
|
425 |
-
eval("\nvar LIBRARY = __webpack_require__(25);\nvar $export = __webpack_require__(8);\nvar redefine = __webpack_require__(58);\nvar hide = __webpack_require__(
|
426 |
|
427 |
/***/ }),
|
428 |
/* 58 */
|
429 |
/***/ (function(module, exports, __webpack_require__) {
|
430 |
|
431 |
-
eval("module.exports = __webpack_require__(
|
432 |
|
433 |
/***/ }),
|
434 |
/* 59 */
|
435 |
/***/ (function(module, exports, __webpack_require__) {
|
436 |
|
437 |
"use strict";
|
438 |
-
eval("\nvar create = __webpack_require__(60);\nvar descriptor = __webpack_require__(11);\nvar setToStringTag = __webpack_require__(28);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(
|
439 |
|
440 |
/***/ }),
|
441 |
/* 60 */
|
442 |
/***/ (function(module, exports, __webpack_require__) {
|
443 |
|
444 |
-
eval("// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(
|
445 |
|
446 |
/***/ }),
|
447 |
/* 61 */
|
448 |
/***/ (function(module, exports, __webpack_require__) {
|
449 |
|
450 |
-
eval("var dP = __webpack_require__(
|
451 |
|
452 |
/***/ }),
|
453 |
/* 62 */
|
@@ -472,7 +472,7 @@ eval("\nvar ctx = __webpack_require__(17);\nvar $export = __webpack_require__(8)
|
|
472 |
/* 65 */
|
473 |
/***/ (function(module, exports, __webpack_require__) {
|
474 |
|
475 |
-
eval("// call something on iterator step with safe closing on error\nvar anObject = __webpack_require__(
|
476 |
|
477 |
/***/ }),
|
478 |
/* 66 */
|
@@ -485,7 +485,7 @@ eval("// check on default Array iterator\nvar Iterators = __webpack_require__(16
|
|
485 |
/***/ (function(module, exports, __webpack_require__) {
|
486 |
|
487 |
"use strict";
|
488 |
-
eval("\nvar $defineProperty = __webpack_require__(
|
489 |
|
490 |
/***/ }),
|
491 |
/* 68 */
|
79 |
/* 2 */
|
80 |
/***/ (function(module, exports) {
|
81 |
|
82 |
+
eval("var core = module.exports = { version: '2.6.9' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fY29yZS5qcz8xNWUwIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBjb3JlID0gbW9kdWxlLmV4cG9ydHMgPSB7IHZlcnNpb246ICcyLjYuOScgfTtcbmlmICh0eXBlb2YgX19lID09ICdudW1iZXInKSBfX2UgPSBjb3JlOyAvLyBlc2xpbnQtZGlzYWJsZS1saW5lIG5vLXVuZGVmXG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fY29yZS5qc1xuLy8gbW9kdWxlIGlkID0gMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///2\n");
|
83 |
|
84 |
/***/ }),
|
85 |
/* 3 */
|
86 |
/***/ (function(module, exports, __webpack_require__) {
|
87 |
|
88 |
+
eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(10)(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZGVzY3JpcHRvcnMuanM/Zjg0ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBUaGFuaydzIElFOCBmb3IgaGlzIGZ1bm55IGRlZmluZVByb3BlcnR5XG5tb2R1bGUuZXhwb3J0cyA9ICFyZXF1aXJlKCcuL19mYWlscycpKGZ1bmN0aW9uICgpIHtcbiAgcmV0dXJuIE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh7fSwgJ2EnLCB7IGdldDogZnVuY3Rpb24gKCkgeyByZXR1cm4gNzsgfSB9KS5hICE9IDc7XG59KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19kZXNjcmlwdG9ycy5qc1xuLy8gbW9kdWxlIGlkID0gM1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///3\n");
|
89 |
|
90 |
/***/ }),
|
91 |
/* 4 */
|
92 |
/***/ (function(module, exports, __webpack_require__) {
|
93 |
|
94 |
+
eval("var dP = __webpack_require__(5);\nvar createDesc = __webpack_require__(11);\nmodule.exports = __webpack_require__(3) ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faGlkZS5qcz84NDljIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBkUCA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpO1xudmFyIGNyZWF0ZURlc2MgPSByZXF1aXJlKCcuL19wcm9wZXJ0eS1kZXNjJyk7XG5tb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBmdW5jdGlvbiAob2JqZWN0LCBrZXksIHZhbHVlKSB7XG4gIHJldHVybiBkUC5mKG9iamVjdCwga2V5LCBjcmVhdGVEZXNjKDEsIHZhbHVlKSk7XG59IDogZnVuY3Rpb24gKG9iamVjdCwga2V5LCB2YWx1ZSkge1xuICBvYmplY3Rba2V5XSA9IHZhbHVlO1xuICByZXR1cm4gb2JqZWN0O1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19oaWRlLmpzXG4vLyBtb2R1bGUgaWQgPSA0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///4\n");
|
95 |
|
96 |
/***/ }),
|
97 |
/* 5 */
|
98 |
/***/ (function(module, exports, __webpack_require__) {
|
99 |
|
100 |
+
eval("var anObject = __webpack_require__(6);\nvar IE8_DOM_DEFINE = __webpack_require__(35);\nvar toPrimitive = __webpack_require__(36);\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(3) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWRwLmpzPzdhZjAiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGFuT2JqZWN0ID0gcmVxdWlyZSgnLi9fYW4tb2JqZWN0Jyk7XG52YXIgSUU4X0RPTV9ERUZJTkUgPSByZXF1aXJlKCcuL19pZTgtZG9tLWRlZmluZScpO1xudmFyIHRvUHJpbWl0aXZlID0gcmVxdWlyZSgnLi9fdG8tcHJpbWl0aXZlJyk7XG52YXIgZFAgPSBPYmplY3QuZGVmaW5lUHJvcGVydHk7XG5cbmV4cG9ydHMuZiA9IHJlcXVpcmUoJy4vX2Rlc2NyaXB0b3JzJykgPyBPYmplY3QuZGVmaW5lUHJvcGVydHkgOiBmdW5jdGlvbiBkZWZpbmVQcm9wZXJ0eShPLCBQLCBBdHRyaWJ1dGVzKSB7XG4gIGFuT2JqZWN0KE8pO1xuICBQID0gdG9QcmltaXRpdmUoUCwgdHJ1ZSk7XG4gIGFuT2JqZWN0KEF0dHJpYnV0ZXMpO1xuICBpZiAoSUU4X0RPTV9ERUZJTkUpIHRyeSB7XG4gICAgcmV0dXJuIGRQKE8sIFAsIEF0dHJpYnV0ZXMpO1xuICB9IGNhdGNoIChlKSB7IC8qIGVtcHR5ICovIH1cbiAgaWYgKCdnZXQnIGluIEF0dHJpYnV0ZXMgfHwgJ3NldCcgaW4gQXR0cmlidXRlcykgdGhyb3cgVHlwZUVycm9yKCdBY2Nlc3NvcnMgbm90IHN1cHBvcnRlZCEnKTtcbiAgaWYgKCd2YWx1ZScgaW4gQXR0cmlidXRlcykgT1tQXSA9IEF0dHJpYnV0ZXMudmFsdWU7XG4gIHJldHVybiBPO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtZHAuanNcbi8vIG1vZHVsZSBpZCA9IDVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///5\n");
|
101 |
|
102 |
/***/ }),
|
103 |
/* 6 */
|
104 |
/***/ (function(module, exports, __webpack_require__) {
|
105 |
|
106 |
+
eval("var isObject = __webpack_require__(9);\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fYW4tb2JqZWN0LmpzP2VmYjMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGlzT2JqZWN0ID0gcmVxdWlyZSgnLi9faXMtb2JqZWN0Jyk7XG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChpdCkge1xuICBpZiAoIWlzT2JqZWN0KGl0KSkgdGhyb3cgVHlwZUVycm9yKGl0ICsgJyBpcyBub3QgYW4gb2JqZWN0IScpO1xuICByZXR1cm4gaXQ7XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2FuLW9iamVjdC5qc1xuLy8gbW9kdWxlIGlkID0gNlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///6\n");
|
107 |
|
108 |
/***/ }),
|
109 |
/* 7 */
|
115 |
/* 8 */
|
116 |
/***/ (function(module, exports, __webpack_require__) {
|
117 |
|
118 |
+
eval("var global = __webpack_require__(1);\nvar core = __webpack_require__(2);\nvar ctx = __webpack_require__(17);\nvar hide = __webpack_require__(4);\nvar has = __webpack_require__(7);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZXhwb3J0LmpzPzkwY2QiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGdsb2JhbCA9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lcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fZXhwb3J0LmpzXG4vLyBtb2R1bGUgaWQgPSA4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///8\n");
|
119 |
|
120 |
/***/ }),
|
121 |
/* 9 */
|
235 |
/* 28 */
|
236 |
/***/ (function(module, exports, __webpack_require__) {
|
237 |
|
238 |
+
eval("var def = __webpack_require__(5).f;\nvar has = __webpack_require__(7);\nvar TAG = __webpack_require__(0)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3NldC10by1zdHJpbmctdGFnLmpzPzdiYTkiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIGRlZiA9IHJlcXVpcmUoJy4vX29iamVjdC1kcCcpLmY7XG52YXIgaGFzID0gcmVxdWlyZSgnLi9faGFzJyk7XG52YXIgVEFHID0gcmVxdWlyZSgnLi9fd2tzJykoJ3RvU3RyaW5nVGFnJyk7XG5cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKGl0LCB0YWcsIHN0YXQpIHtcbiAgaWYgKGl0ICYmICFoYXMoaXQgPSBzdGF0ID8gaXQgOiBpdC5wcm90b3R5cGUsIFRBRykpIGRlZihpdCwgVEFHLCB7IGNvbmZpZ3VyYWJsZTogdHJ1ZSwgdmFsdWU6IHRhZyB9KTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fc2V0LXRvLXN0cmluZy10YWcuanNcbi8vIG1vZHVsZSBpZCA9IDI4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///28\n");
|
239 |
|
240 |
/***/ }),
|
241 |
/* 29 */
|
242 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
243 |
|
244 |
"use strict";
|
245 |
+
eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(30);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(43);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_query_string__ = __webpack_require__(44);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_query_string___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_query_string__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes__ = __webpack_require__(48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__inspector__ = __webpack_require__(49);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils__ = __webpack_require__(52);\n\n\nvar _this = this;\n\n// jshint ignore: start\n\n/**\n * Block dependencies\n */\n\n\n\n\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n ExternalLink = _wp$components.ExternalLink,\n Placeholder = _wp$components.Placeholder,\n TextControl = _wp$components.TextControl,\n Button = _wp$components.Button,\n Spinner = _wp$components.Spinner;\nvar date = wp.date.date;\n\n/**\n * Register block\n */\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (registerBlockType('feedzy-rss-feeds/feedzy-block', {\n\ttitle: __('Feedzy RSS Feeds'),\n\tcategory: 'common',\n\ticon: 'rss',\n\tkeywords: [__('Feedzy RSS Feeds'), __('RSS'), __('Feeds')],\n\tsupports: {\n\t\thtml: false\n\t},\n\tattributes: __WEBPACK_IMPORTED_MODULE_3__attributes__[\"a\" /* default */],\n\tedit: function edit(props) {\n\t\tvar onChangeFeeds = function onChangeFeeds(value) {\n\t\t\tprops.setAttributes({ feeds: value });\n\t\t};\n\t\tvar onChangeMax = function onChangeMax(value) {\n\t\t\tprops.setAttributes({ max: value.toString() });\n\t\t};\n\t\tvar toggleFeedTitle = function toggleFeedTitle(value) {\n\t\t\tprops.setAttributes({ feed_title: !props.attributes.feed_title });\n\t\t};\n\t\tvar onRefresh = function onRefresh(value) {\n\t\t\tprops.setAttributes({ refresh: value });\n\t\t};\n\t\tvar onSort = function onSort(value) {\n\t\t\tprops.setAttributes({ sort: value });\n\t\t};\n\t\tvar onTarget = function onTarget(value) {\n\t\t\tprops.setAttributes({ target: value });\n\t\t};\n\t\tvar onTitle = function onTitle(value) {\n\t\t\tprops.setAttributes({ title: value });\n\t\t};\n\t\tvar changeMeta = function changeMeta(value) {\n\t\t\tprops.setAttributes({ metafields: value });\n\t\t};\n\t\tvar toggleSummary = function toggleSummary(value) {\n\t\t\tprops.setAttributes({ summary: !props.attributes.summary });\n\t\t};\n\t\tvar onSummaryLength = function onSummaryLength(value) {\n\t\t\tprops.setAttributes({ summarylength: value });\n\t\t};\n\t\tvar onKeywordsTitle = function onKeywordsTitle(value) {\n\t\t\tprops.setAttributes({ keywords_title: value });\n\t\t};\n\t\tvar onKeywordsBan = function onKeywordsBan(value) {\n\t\t\tprops.setAttributes({ keywords_ban: value });\n\t\t};\n\t\tvar onThumb = function onThumb(value) {\n\t\t\tprops.setAttributes({ thumb: value });\n\t\t};\n\t\tvar onDefault = function onDefault(value) {\n\t\t\tprops.setAttributes({ default: value });\n\t\t};\n\t\tvar onSize = function onSize(value) {\n\t\t\tprops.setAttributes({ size: value });\n\t\t};\n\t\tvar onReferralURL = function onReferralURL(value) {\n\t\t\tprops.setAttributes({ referral_url: value });\n\t\t};\n\t\tvar onColumns = function onColumns(value) {\n\t\t\tprops.setAttributes({ columns: value });\n\t\t};\n\t\tvar onTemplate = function onTemplate(value) {\n\t\t\tprops.setAttributes({ template: value });\n\t\t};\n\t\tvar togglePrice = function togglePrice(value) {\n\t\t\tprops.setAttributes({ price: !props.attributes.price });\n\t\t};\n\t\tvar loadFeed = function loadFeed() {\n\t\t\tprops.setAttributes({ status: 1 });\n\n\t\t\tvar url = props.attributes.feeds;\n\n\t\t\tif (url === undefined) {\n\t\t\t\treturn props.setAttributes({ status: 3 });\n\t\t\t}\n\n\t\t\tif (Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"b\" /* inArray */])(url, props.attributes.categories)) {\n\t\t\t\tvar category = url;\n\t\t\t\turl = __WEBPACK_IMPORTED_MODULE_2_query_string___default.a.stringify({ category: category }, { arrayFormat: 'bracket' });\n\t\t\t} else {\n\t\t\t\turl = url.replace(/\\s/g, '').split(',').filter(function (item) {\n\t\t\t\t\treturn item !== '';\n\t\t\t\t});\n\t\t\t\turl = __WEBPACK_IMPORTED_MODULE_2_query_string___default.a.stringify({ url: url }, { arrayFormat: 'bracket' });\n\t\t\t}\n\n\t\t\twp.apiRequest({ path: '/feedzy/v1/feed?' + url }).then(function (data) {\n\t\t\t\tif (_this.unmounting) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\t\t\t\tif (!data['error']) {\n\t\t\t\t\tprops.setAttributes({ feedData: data });\n\t\t\t\t\tprops.setAttributes({ status: 2 });\n\t\t\t\t\treturn data;\n\t\t\t\t} else {\n\t\t\t\t\tprops.setAttributes({ status: 3 });\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\t\t\t}).fail(function (err) {\n\t\t\t\tprops.setAttributes({ status: 3 });\n\t\t\t\treturn err;\n\t\t\t});\n\t\t};\n\t\tvar loadCategories = function loadCategories() {\n\t\t\twp.apiRequest({ path: '/wp/v2/feedzy_categories' }).then(function (data) {\n\t\t\t\tif (_this.unmounting) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\t\t\t\tvar i = 0;\n\t\t\t\tvar categories = [];\n\t\t\t\tdata.forEach(function (item) {\n\t\t\t\t\tcategories[i] = item.slug;\n\t\t\t\t\ti = i + 1;\n\t\t\t\t});\n\t\t\t\tprops.setAttributes({ categories: categories });\n\t\t\t\tjQuery('.feedzy-source input').autocomplete({\n\t\t\t\t\tsource: categories,\n\t\t\t\t\tselect: function select(event, ui) {\n\t\t\t\t\t\tprops.setAttributes({ feeds: ui.item.label });\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}).fail(function (err) {\n\t\t\t\treturn err;\n\t\t\t});\n\t\t};\n\t\tvar metaExists = function metaExists(value) {\n\t\t\treturn 0 <= props.attributes.metafields.replace(/\\s/g, '').split(',').indexOf(value) || '' === props.attributes.metafields;\n\t\t};\n\t\tif (props.attributes.categories === undefined) {\n\t\t\tif (!props.attributes.meta) {\n\t\t\t\tprops.setAttributes({\n\t\t\t\t\tmeta: true,\n\t\t\t\t\tmetafields: 'no'\n\t\t\t\t});\n\t\t\t}\n\t\t\tloadCategories();\n\t\t}\n\t\treturn [\n\t\t// Inspector\n\t\t!!props.isSelected && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__inspector__[\"a\" /* default */], __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default()({ onChangeFeeds: onChangeFeeds, onChangeMax: onChangeMax, toggleFeedTitle: toggleFeedTitle, onRefresh: onRefresh, onSort: onSort, onTarget: onTarget, onTitle: onTitle, changeMeta: changeMeta, toggleSummary: toggleSummary, onSummaryLength: onSummaryLength, onKeywordsTitle: onKeywordsTitle, onKeywordsBan: onKeywordsBan, onThumb: onThumb, onDefault: onDefault, onSize: onSize, onReferralURL: onReferralURL, onColumns: onColumns, onTemplate: onTemplate, togglePrice: togglePrice, loadFeed: loadFeed }, props)), props.attributes.status !== 2 && wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: props.className },\n\t\t\twp.element.createElement(\n\t\t\t\tPlaceholder,\n\t\t\t\t{\n\t\t\t\t\tkey: 'placeholder',\n\t\t\t\t\ticon: 'rss',\n\t\t\t\t\tlabel: __('Feedzy RSS Feeds')\n\t\t\t\t},\n\t\t\t\tprops.attributes.status === 1 ? wp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ key: 'loading', className: 'wp-block-embed is-loading' },\n\t\t\t\t\twp.element.createElement(Spinner, null),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'p',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t__('Fetching…')\n\t\t\t\t\t)\n\t\t\t\t) : [props.attributes.status === 3 && wp.element.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('Feed URL Invalid')\n\t\t\t\t), wp.element.createElement(TextControl, {\n\t\t\t\t\ttype: 'url',\n\t\t\t\t\tclassName: 'feedzy-source',\n\t\t\t\t\tplaceholder: __('Enter URL or category of your feed here…'),\n\t\t\t\t\tonChange: onChangeFeeds,\n\t\t\t\t\tvalue: props.attributes.feeds\n\t\t\t\t}), wp.element.createElement(\n\t\t\t\t\tButton,\n\t\t\t\t\t{\n\t\t\t\t\t\tisLarge: true,\n\t\t\t\t\t\ttype: 'submit',\n\t\t\t\t\t\tonClick: loadFeed\n\t\t\t\t\t},\n\t\t\t\t\t__('Load Feed')\n\t\t\t\t), wp.element.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tExternalLink,\n\t\t\t\t\t\t{ href: 'https://validator.w3.org/feed/' },\n\t\t\t\t\t\t__('Click here to check if feed is valid. ')\n\t\t\t\t\t),\n\t\t\t\t\t__('Invalid feeds will NOT display items.')\n\t\t\t\t)]\n\t\t\t)\n\t\t), !!(props.attributes.status === 2 && props.attributes.feedData !== undefined) && wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'feedzy-rss' },\n\t\t\tprops.attributes.feed_title && props.attributes.feedData['channel'] !== null && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'rss_header' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ className: 'rss_title' },\n\t\t\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(props.attributes.feedData['channel']['title'])\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'rss_description' },\n\t\t\t\t\t\t' ' + Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(props.attributes.feedData['channel']['description'])\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'ul',\n\t\t\t\t{ className: 'feedzy-' + props.attributes.template },\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"a\" /* filterData */])(props.attributes.feedData['items'], props.attributes.sort, props.attributes.keywords_title, props.attributes.keywords_ban, props.attributes.max).map(function (item, i) {\n\t\t\t\t\tvar itemDateTime = (item['date'] || '') + ' ' + (item['time'] || '') + ' UTC +0000';\n\t\t\t\t\tvar itemDate = Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['date']) || '';\n\t\t\t\t\tvar itemTime = Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['time']) || '';\n\t\t\t\t\tif (metaExists('tz=local')) {\n\t\t\t\t\t\titemDate = date('F jS, \\o', itemDateTime);\n\t\t\t\t\t\titemTime = date('h:i A', itemDateTime);\n\t\t\t\t\t}\n\n\t\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t\t'li',\n\t\t\t\t\t\t{ key: i, style: { padding: '15px 0 25px' }, className: 'rss_item feedzy-rss-col-' + props.attributes.columns },\n\t\t\t\t\t\t(item['thumbnail'] && props.attributes.thumb === 'auto' || props.attributes.thumb === 'yes') && wp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'rss_image', style: { width: props.attributes.size + 'px', height: props.attributes.size + 'px' } },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ title: Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']), style: { width: props.attributes.size + 'px', height: props.attributes.size + 'px' } },\n\t\t\t\t\t\t\t\twp.element.createElement('span', { className: 'fetched', style: { width: props.attributes.size + 'px', height: props.attributes.size + 'px', backgroundImage: 'url(' + (item['thumbnail'] ? item['thumbnail'] : props.attributes.default ? props.attributes.default.url : feedzyjs.imagepath + 'feedzy-default.jpg') + ')' }, title: Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']) })\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'rss_content_wrap' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'title' },\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\tprops.attributes.title && Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']).length > props.attributes.title ? Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title']).substring(0, props.attributes.title) + '...' : Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['title'])\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'rss_content' },\n\t\t\t\t\t\t\t\tprops.attributes.metafields !== 'no' && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'small',\n\t\t\t\t\t\t\t\t\t{ className: 'meta' },\n\t\t\t\t\t\t\t\t\titem['creator'] && metaExists('author') && [__('by'), ' ', wp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['creator'])\n\t\t\t\t\t\t\t\t\t), ' '],\n\t\t\t\t\t\t\t\t\tmetaExists('date') && [__('on'), ' ', Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(itemDate), ' '],\n\t\t\t\t\t\t\t\t\tmetaExists('time') && [__('at'), ' ', Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(itemTime)]\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tprops.attributes.summary && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t\t\t{ className: 'description' },\n\t\t\t\t\t\t\t\t\tprops.attributes.summarylength && Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['description']).length > props.attributes.summarylength ? Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['description']).substring(0, props.attributes.summarylength) + ' […]' : Object(__WEBPACK_IMPORTED_MODULE_5__utils__[\"c\" /* unescapeHTML */])(item['description'])\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tfeedzyjs.isPro && item['media'] && item['media']['src'] && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'audio',\n\t\t\t\t\t\t\t\t\t{ controls: true, controlsList: 'nodownload' },\n\t\t\t\t\t\t\t\t\twp.element.createElement('source', { src: item['media']['src'], type: item['media']['type'] }),\n\t\t\t\t\t\t\t\t\t__('Your browser does not support the audio element. But you can check this for the original link: '),\n\t\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t\t{ href: item['media']['src'] },\n\t\t\t\t\t\t\t\t\t\titem['media']['src']\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tfeedzyjs.isPro && props.attributes.price && item['price'] && props.attributes.template !== 'default' && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'price-wrap' },\n\t\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t\t'button',\n\t\t\t\t\t\t\t\t\t\t\t{ className: 'price' },\n\t\t\t\t\t\t\t\t\t\t\titem['price']\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t)\n\t\t)];\n\t},\n\tsave: function save() {\n\t\t// Rendering in PHP\n\t\treturn null;\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbmNsdWRlcy9ndXRlbmJlcmcvc3JjL2Jsb2NrLmpzPzUxZTMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IF9leHRlbmRzIGZyb20gJ2JhYmVsLXJ1bnRpbWUvaGVscGVycy9leHRlbmRzJztcblxudmFyIF90aGlzID0gdGhpcztcblxuLy8ganNoaW50IGlnbm9yZTogc3RhcnRcblxuLyoqXG4gKiBCbG9jayBkZXBlbmRlbmNpZXNcbiAqL1xuaW1wb3J0ICcuL3N0eWxlLnNjc3MnO1xuaW1wb3J0IHF1ZXJ5U3RyaW5nIGZyb20gJ3F1ZXJ5LXN0cmluZyc7XG5pbXBvcnQgYmxvY2tBdHRyaWJ1dGVzIGZyb20gJy4vYXR0cmlidXRlcyc7XG5pbXBvcnQgSW5zcGVjdG9yIGZyb20gJy4vaW5zcGVjdG9yJztcbmltcG9ydCB7IHVuZXNjYXBlSFRNTCwgZmlsdGVyRGF0YSwgaW5BcnJheSB9IGZyb20gJ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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///29\n");
|
246 |
|
247 |
/***/ }),
|
248 |
/* 30 */
|
279 |
/* 35 */
|
280 |
/***/ (function(module, exports, __webpack_require__) {
|
281 |
|
282 |
+
eval("module.exports = !__webpack_require__(3) && !__webpack_require__(10)(function () {\n return Object.defineProperty(__webpack_require__(18)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2llOC1kb20tZGVmaW5lLmpzPzQ5ZjAiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAhcmVxdWlyZSgnLi9fZGVzY3JpcHRvcnMnKSAmJiAhcmVxdWlyZSgnLi9fZmFpbHMnKShmdW5jdGlvbiAoKSB7XG4gIHJldHVybiBPYmplY3QuZGVmaW5lUHJvcGVydHkocmVxdWlyZSgnLi9fZG9tLWNyZWF0ZScpKCdkaXYnKSwgJ2EnLCB7IGdldDogZnVuY3Rpb24gKCkgeyByZXR1cm4gNzsgfSB9KS5hICE9IDc7XG59KTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19pZTgtZG9tLWRlZmluZS5qc1xuLy8gbW9kdWxlIGlkID0gMzVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///35\n");
|
283 |
|
284 |
/***/ }),
|
285 |
/* 36 */
|
292 |
/***/ (function(module, exports, __webpack_require__) {
|
293 |
|
294 |
"use strict";
|
295 |
+
eval("\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = __webpack_require__(3);\nvar getKeys = __webpack_require__(19);\nvar gOPS = __webpack_require__(41);\nvar pIE = __webpack_require__(42);\nvar toObject = __webpack_require__(15);\nvar IObject = __webpack_require__(21);\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || __webpack_require__(10)(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX29iamVjdC1hc3NpZ24uanM/NGU4ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XG4vLyAxOS4xLjIuMSBPYmplY3QuYXNzaWduKHRhcmdldCwgc291cmNlLCAuLi4pXG52YXIgREVTQ1JJUFRPUlMgPSByZXF1aXJlKCcuL19kZXNjcmlwdG9ycycpO1xudmFyIGdldEtleXMgPSByZXF1aXJlKCcuL19vYmplY3Qta2V5cycpO1xudmFyIGdPUFMgPSByZXF1aXJlKCcuL19vYmplY3QtZ29wcycpO1xudmFyIHBJRSA9IHJlcXVpcmUoJy4vX29iamVjdC1waWUnKTtcbnZhciB0b09iamVjdCA9IHJlcXVpcmUoJy4vX3RvLW9iamVjdCcpO1xudmFyIElPYmplY3QgPSByZXF1aXJlKCcuL19pb2JqZWN0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CA9IGtleXMubGVuZ3RoO1xuICAgIHZhciBqID0gMDtcbiAgICB2YXIga2V5O1xuICAgIHdoaWxlIChsZW5ndGggPiBqKSB7XG4gICAgICBrZXkgPSBrZXlzW2orK107XG4gICAgICBpZiAoIURFU0NSSVBUT1JTIHx8IGlzRW51bS5jYWxsKFMsIGtleSkpIFRba2V5XSA9IFNba2V5XTtcbiAgICB9XG4gIH0gcmV0dXJuIFQ7XG59IDogJGFzc2lnbjtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19vYmplY3QtYXNzaWduLmpzXG4vLyBtb2R1bGUgaWQgPSAzN1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///37\n");
|
296 |
|
297 |
/***/ }),
|
298 |
/* 38 */
|
335 |
/***/ (function(module, exports, __webpack_require__) {
|
336 |
|
337 |
"use strict";
|
338 |
+
eval("\nconst strictUriEncode = __webpack_require__(45);\nconst decodeComponent = __webpack_require__(46);\nconst splitOnFirst = __webpack_require__(47);\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\t\treturn key => (result, value, index) => {\n\t\t\t\tif (value === null || value === undefined || value.length === 0) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (index === 0) {\n\t\t\t\t\treturn [[encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(',')];\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.split('').indexOf(',') > -1;\n\t\t\t\tconst newValue = isArray ? value.split(',') : value;\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parse(input, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof input !== 'string') {\n\t\treturn ret;\n\t}\n\n\tinput = input.trim().replace(/^[?#&]/, '');\n\n\tif (!input) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of input.split('&')) {\n\t\tlet [key, value] = splitOnFirst(param.replace(/\\+/g, ' '), '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : decode(value, options);\n\n\t\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\t\tvalue = Number(value);\n\t\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\t\tvalue = value.toLowerCase() === 'true';\n\t\t}\n\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none'\n\t}, options);\n\n\tconst formatter = encoderForArrayFormat(options);\n\tconst keys = Object.keys(object);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (input, options) => {\n\treturn {\n\t\turl: removeHash(input).split('?')[0] || '',\n\t\tquery: parse(extract(input), options)\n\t};\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvcXVlcnktc3RyaW5nL2luZGV4LmpzPzM4MGMiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xuY29uc3Qgc3RyaWN0VXJpRW5jb2RlID0gcmVxdWlyZSgnc3RyaWN0LXVyaS1lbmNvZGUnKTtcbmNvbnN0IGRlY29kZUNvbXBvbmVudCA9IHJlcXVpcmUoJ2RlY29kZS11cmktY29tcG9uZW50Jyk7XG5jb25zdCBzcGxpdE9uRmlyc3QgPSByZXF1aXJlKCdzcGxpdC1vbi1maXJzdCcpO1xuXG5mdW5jdGlvbiBlbmNvZGVyRm9yQXJyYXlGb3JtYXQob3B0aW9ucykge1xuXHRzd2l0Y2ggKG9wdGlvbnMuYXJyYXlGb3JtYXQpIHtcblx0XHRjYXNlICdpbmRleCc6XG5cdFx0XHRyZXR1cm4ga2V5ID0+IChyZXN1bH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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///44\n");
|
339 |
|
340 |
/***/ }),
|
341 |
/* 45 */
|
363 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
364 |
|
365 |
"use strict";
|
366 |
+
eval("// jshint ignore: start\n\nvar attributes = {\n\tfeeds: {\n\t\ttype: 'string'\n\t},\n\tmax: {\n\t\ttype: 'number',\n\t\tdefault: 5\n\t},\n\tfeed_title: {\n\t\ttype: 'boolean',\n\t\tdefault: true\n\t},\n\trefresh: {\n\t\ttype: 'string',\n\t\tdefault: '12_hours'\n\t},\n\tsort: {\n\t\ttype: 'string',\n\t\tdefault: 'default'\n\t},\n\ttarget: {\n\t\ttype: 'string',\n\t\tdefault: '_blank'\n\t},\n\ttitle: {\n\t\ttype: 'number'\n\t},\n\tmeta: {\n\t\ttype: 'boolean',\n\t\tdefault: true\n\t},\n\tmetafields: {\n\t\ttype: 'string',\n\t\tdefault: ''\n\t},\n\tsummary: {\n\t\ttype: 'boolean',\n\t\tdefault: true\n\t},\n\tsummarylength: {\n\t\ttype: 'number'\n\t},\n\tkeywords_title: {\n\t\ttype: 'string'\n\t},\n\tkeywords_ban: {\n\t\ttype: 'string'\n\t},\n\tthumb: {\n\t\ttype: 'string',\n\t\tdefault: 'auto'\n\t},\n\tdefault: {\n\t\ttype: 'object'\n\t},\n\tsize: {\n\t\ttype: 'number',\n\t\tdefault: 150\n\t},\n\treferral_url: {\n\t\ttype: 'string'\n\t},\n\tcolumns: {\n\t\ttype: 'number',\n\t\tdefault: 1\n\t},\n\ttemplate: {\n\t\ttype: 'string',\n\t\tdefault: 'default'\n\t},\n\tprice: {\n\t\ttype: 'boolean',\n\t\tdefault: true\n\t},\n\tstatus: {\n\t\t// 0 - Initial State\n\t\t// 1 - Feed Loading\n\t\t// 2 - Feed Loaded\n\t\t// 3 - Feed Invalid\n\t\ttype: 'number',\n\t\tdefault: 0\n\t},\n\tfeedData: {\n\t\ttype: 'object'\n\t},\n\tcategories: {\n\t\ttype: 'object'\n\t}\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (attributes);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbmNsdWRlcy9ndXRlbmJlcmcvc3JjL2F0dHJpYnV0ZXMuanM/NmUxOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBqc2hpbnQgaWdub3JlOiBzdGFydFxuXG52YXIgYXR0cmlidXRlcyA9IHtcblx0ZmVlZHM6IHtcblx0XHR0eXBlOiAnc3RyaW5nJ1xuXHR9LFxuXHRtYXg6IHtcblx0XHR0eXBlOiAnbnVtYmVyJyxcblx0XHRkZWZhdWx0OiA1XG5cdH0sXG5cdGZlZWRfdGl0bGU6IHtcblx0XHR0eXBlOiAnYm9vbGVhbicsXG5cdFx0ZGVmYXVsdDogdHJ1ZVxuXHR9LFxuXHRyZWZyZXNoOiB7XG5cdFx0dHlwZTogJ3N0cmluZycsXG5cdFx0ZGVmYXVsdDogJzEyX2hvdXJzJ1xuXHR9LFxuXHRzb3J0OiB7XG5cdFx0dHlwZTogJ3N0cmluZycsXG5cdFx0ZGVmYXVsdDogJ2RlZmF1bHQnXG5cdH0sXG5cdHRhcmdldDoge1xuXHRcdHR5cGU6ICdzdHJpbmcnLFxuXHRcdGRlZmF1bHQ6ICdfYmxhbmsnXG5cdH0sXG5cdHRpdGxlOiB7XG5cdFx0dHlwZTogJ251bWJlcidcblx0fSxcblx0bWV0YToge1xuXHRcdHR5cGU6ICdib29sZWFuJyxc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XJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///48\n");
|
367 |
|
368 |
/***/ }),
|
369 |
/* 49 */
|
370 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
371 |
|
372 |
"use strict";
|
373 |
+
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__radio_image_control___ = __webpack_require__(50);\n// jshint ignore: start\n\n/**\n * Block dependencies\n */\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar _wp$editor = wp.editor,\n InspectorControls = _wp$editor.InspectorControls,\n MediaUpload = _wp$editor.MediaUpload;\nvar _wp$components = wp.components,\n BaseControl = _wp$components.BaseControl,\n ExternalLink = _wp$components.ExternalLink,\n PanelBody = _wp$components.PanelBody,\n RangeControl = _wp$components.RangeControl,\n TextControl = _wp$components.TextControl,\n Button = _wp$components.Button,\n ToggleControl = _wp$components.ToggleControl,\n SelectControl = _wp$components.SelectControl,\n ResponsiveWrapper = _wp$components.ResponsiveWrapper;\n\n/**\n* Create an Inspector Controls wrapper Component\n*/\n\nvar Inspector = function Inspector(props) {\n\treturn wp.element.createElement(\n\t\tInspectorControls,\n\t\t{ key: 'inspector' },\n\t\tprops.attributes.status !== 0 && wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\tnull,\n\t\t\twp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Feed Source'),\n\t\t\t\tclassName: 'feedzy-source',\n\t\t\t\tvalue: props.attributes.feeds,\n\t\t\t\tonChange: props.onChangeFeeds\n\t\t\t}),\n\t\t\twp.element.createElement(\n\t\t\t\tButton,\n\t\t\t\t{\n\t\t\t\t\tisLarge: true,\n\t\t\t\t\ttype: 'submit',\n\t\t\t\t\tonClick: props.loadFeed,\n\t\t\t\t\tclassName: 'loadFeed'\n\t\t\t\t},\n\t\t\t\t__('Load Feed')\n\t\t\t)\n\t\t),\n\t\tprops.attributes.status === 2 && [wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{\n\t\t\t\ttitle: __('Feed Settings'),\n\t\t\t\tinitialOpen: true\n\t\t\t},\n\t\t\twp.element.createElement(RangeControl, {\n\t\t\t\tlabel: __('Number of Feeds'),\n\t\t\t\tvalue: Number(props.attributes.max) || 5,\n\t\t\t\tonChange: props.onChangeMax,\n\t\t\t\tmin: 1,\n\t\t\t\tmax: props.attributes.feedData['items'].length || 10,\n\t\t\t\tbeforeIcon: 'sort'\n\t\t\t}),\n\t\t\tprops.attributes.feedData['channel'] !== null && wp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Display feed title?'),\n\t\t\t\tchecked: !!props.attributes.feed_title,\n\t\t\t\tonChange: props.toggleFeedTitle\n\t\t\t}),\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Feed Caching Time'),\n\t\t\t\tvalue: props.attributes.refresh,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('1 Hour'),\n\t\t\t\t\tvalue: '1_hours'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('2 Hours'),\n\t\t\t\t\tvalue: '3_hours'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('12 Hours'),\n\t\t\t\t\tvalue: '12_hours'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('1 Day'),\n\t\t\t\t\tvalue: '1_days'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('3 Days'),\n\t\t\t\t\tvalue: '3_days'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('15 Days'),\n\t\t\t\t\tvalue: '15_days'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onRefresh\n\t\t\t}),\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Sorting Order'),\n\t\t\t\tvalue: props.attributes.sort,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('Default'),\n\t\t\t\t\tvalue: 'default'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Date Descending'),\n\t\t\t\t\tvalue: 'date_desc'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Date Ascending'),\n\t\t\t\t\tvalue: 'date_asc'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Title Descending'),\n\t\t\t\t\tvalue: 'title_desc'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Title Ascending'),\n\t\t\t\t\tvalue: 'title_asc'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onSort\n\t\t\t})\n\t\t), wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{ title: __('Item Options'), initialOpen: false },\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Open Links In'),\n\t\t\t\tvalue: props.attributes.target,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('New Tab'),\n\t\t\t\t\tvalue: '_blank'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Same Tab'),\n\t\t\t\t\tvalue: '_self'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onTarget\n\t\t\t}),\n\t\t\twp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Title Character Limit'),\n\t\t\t\thelp: __('Leave empty to show full title.'),\n\t\t\t\ttype: 'number',\n\t\t\t\tvalue: props.attributes.title,\n\t\t\t\tonChange: props.onTitle\n\t\t\t}),\n\t\t\twp.element.createElement(\n\t\t\t\tBaseControl,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(TextControl, {\n\t\t\t\t\tlabel: __('Should we display additional meta fields out of author, date and time? (comma-separated list).'),\n\t\t\t\t\tplaceholder: __('(eg: author, date, time, tz=local) '),\n\t\t\t\t\tvalue: props.attributes.metafields,\n\t\t\t\t\tonChange: props.changeMeta\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tExternalLink,\n\t\t\t\t\t{ href: 'https://docs.themeisle.com/article/1089-how-to-display-author-date-or-time-from-the-feed' },\n\t\t\t\t\t__('You can find more info about available meta field values here.')\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Display post description?'),\n\t\t\t\tchecked: !!props.attributes.summary,\n\t\t\t\tonChange: props.toggleSummary\n\t\t\t}),\n\t\t\tprops.attributes.summary && wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Description Character Limit'),\n\t\t\t\thelp: __('Leave empty to show full description.'),\n\t\t\t\ttype: 'number',\n\t\t\t\tvalue: props.attributes.summarylength,\n\t\t\t\tonChange: props.onSummaryLength\n\t\t\t}),\n\t\t\tfeedzyjs.isPro && [wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Only display if title contains:'),\n\t\t\t\thelp: __('Comma-separated list/case sensitive.'),\n\t\t\t\tvalue: props.attributes.keywords_title,\n\t\t\t\tonChange: props.onKeywordsTitle\n\t\t\t}), wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Exclude if title contains:'),\n\t\t\t\thelp: __('Comma-separated list/case sensitive.'),\n\t\t\t\tvalue: props.attributes.keywords_ban,\n\t\t\t\tonChange: props.onKeywordsBan\n\t\t\t})]\n\t\t), wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{ title: __('Item Image Options'), initialOpen: false },\n\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\tlabel: __('Display first image if available?'),\n\t\t\t\tvalue: props.attributes.thumb,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('Auto'),\n\t\t\t\t\tvalue: 'auto'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Yes'),\n\t\t\t\t\tvalue: 'yes'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('No'),\n\t\t\t\t\tvalue: 'no'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onThumb\n\t\t\t}),\n\t\t\tprops.attributes.thumb !== 'no' && [props.attributes.thumb !== 'auto' && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'feedzy-blocks-base-control' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'label',\n\t\t\t\t\t{ className: 'blocks-base-control__label', 'for': 'inspector-media-upload' },\n\t\t\t\t\t__('Default thumbnail URL if no image is found.')\n\t\t\t\t),\n\t\t\t\twp.element.createElement(MediaUpload, {\n\t\t\t\t\ttype: 'image',\n\t\t\t\t\tid: 'inspector-media-upload',\n\t\t\t\t\tvalue: props.attributes.default,\n\t\t\t\t\tonSelect: props.onDefault,\n\t\t\t\t\trender: function render(_ref) {\n\t\t\t\t\t\tvar open = _ref.open;\n\t\t\t\t\t\treturn [props.attributes.default !== undefined && [wp.element.createElement(\n\t\t\t\t\t\t\tResponsiveWrapper,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tnaturalWidth: props.attributes.default.width,\n\t\t\t\t\t\t\t\tnaturalHeight: props.attributes.default.height\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\twp.element.createElement('img', { src: props.attributes.default.url, alt: __('Featured image') })\n\t\t\t\t\t\t), wp.element.createElement(\n\t\t\t\t\t\t\tButton,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tisLarge: true,\n\t\t\t\t\t\t\t\tonClick: function onClick() {\n\t\t\t\t\t\t\t\t\treturn props.setAttributes({ default: undefined });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tstyle: { marginTop: '10px' }\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t__('Remove Image')\n\t\t\t\t\t\t)], wp.element.createElement(\n\t\t\t\t\t\t\tButton,\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tisLarge: true,\n\t\t\t\t\t\t\t\tonClick: open,\n\t\t\t\t\t\t\t\tstyle: { marginTop: '10px' },\n\t\t\t\t\t\t\t\tclassName: props.attributes.default === undefined && 'feedzy_image_upload'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t__('Upload Image')\n\t\t\t\t\t\t)];\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t), wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Thumbnails dimension.'),\n\t\t\t\ttype: 'number',\n\t\t\t\tvalue: props.attributes.size,\n\t\t\t\tonChange: props.onSize\n\t\t\t})]\n\t\t), feedzyjs.isPro && wp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{ title: __('Pro Features'), initialOpen: false },\n\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Display price if available?'),\n\t\t\t\thelp: props.attributes.price && props.attributes.template === 'default' ? __('Choose a different template for this to work.') : null,\n\t\t\t\tchecked: !!props.attributes.price,\n\t\t\t\tonChange: props.togglePrice\n\t\t\t}),\n\t\t\twp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Referral URL parameters.'),\n\t\t\t\thelp: __('Without (\"?\")'),\n\t\t\t\tplaceholder: _('(eg. promo_code=feedzy_is_awesome)'),\n\t\t\t\tvalue: props.attributes.referral_url,\n\t\t\t\tonChange: props.onReferralURL\n\t\t\t}),\n\t\t\twp.element.createElement(RangeControl, {\n\t\t\t\tlabel: __('Columns'),\n\t\t\t\thelp: __('How many columns we should use to display the feed items?'),\n\t\t\t\tvalue: props.attributes.columns || 1,\n\t\t\t\tonChange: props.onColumns,\n\t\t\t\tmin: 1,\n\t\t\t\tmax: 6,\n\t\t\t\tbeforeIcon: 'sort',\n\t\t\t\tallowReset: true\n\t\t\t}),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_0__radio_image_control___[\"a\" /* default */], {\n\t\t\t\tlabel: __('Feed Template'),\n\t\t\t\tselected: props.attributes.template,\n\t\t\t\toptions: [{\n\t\t\t\t\tlabel: __('Default'),\n\t\t\t\t\tsrc: feedzyjs.imagepath + 'feedzy-default-template.jpg',\n\t\t\t\t\tvalue: 'default'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Style 1'),\n\t\t\t\t\tsrc: feedzyjs.imagepath + 'feedzy-style1-template.jpg',\n\t\t\t\t\tvalue: 'style1'\n\t\t\t\t}, {\n\t\t\t\t\tlabel: __('Style 2'),\n\t\t\t\t\tsrc: feedzyjs.imagepath + 'feedzy-style2-template.jpg',\n\t\t\t\t\tvalue: 'style2'\n\t\t\t\t}],\n\t\t\t\tonChange: props.onTemplate\n\t\t\t})\n\t\t)]\n\t);\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inspector);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbmNsdWRlcy9ndXRlbmJlcmcvc3JjL2luc3BlY3Rvci5qcz83YTVmIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGpzaGludCBpZ25vcmU6IHN0YXJ0XG5cbi8qKlxuICogQmxvY2sgZGVwZW5kZW5jaWVzXG4gKi9cbmltcG9ydCBSYWRpb0ltYWdlQ29udHJvbCBmcm9tICcuL3JhZGlvLWltYWdlLWNvbnRyb2wvJztcblxuLyoqXG4gKiBJbnRlcm5hbCBibG9jayBsaWJyYXJpZXNcbiAqL1xudmFyIF9fID0gd3AuaTE4bi5fXztcbnZhciBfd3AkZWRpdG9yID0gd3AuZWRpdG9yLFxuICAgIEluc3BlY3RvckNvbnRyb2xzID0gX3dwJGVkaXRvci5JbnNwZWN0b3JDb250cm9scyxcbiAgICBNZWRpYVVwbG9hZCA9IF93cCRlZGl0b3IuTWVkaWFVcGxvYWQ7XG52YXIgX3dwJGNvbXBvbmVudHMgPSB3cC5jb21wb25lbnRzLFxuICAgIEJhc2VDb250cm9sID0gX3dwJGNvbXBvbmVudHMuQmFzZUNvbnRyb2wsXG4gICAgRXh0ZXJuYWxMaW5rID0gX3dwJGNvbXBvbmVudHMuRXh0ZXJuYWxMaW5rLFxuICAgIFBhbmVsQm9keSA9IF93cCRjb21wb25lbnRzLlBhbmVsQm9keSxcbiAgICBSYW5nZUNvbnRyb2wgPSBfd3AkY29tcG9uZW50cy5SYW5nZUNvbnRyb2wsXG4gICAgVGV4dENvbnRyb2wgPSBfd3AkY29tcG9uZW50cy5UZXh0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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///49\n");
|
374 |
|
375 |
/***/ }),
|
376 |
/* 50 */
|
422 |
/***/ (function(module, exports, __webpack_require__) {
|
423 |
|
424 |
"use strict";
|
425 |
+
eval("\nvar LIBRARY = __webpack_require__(25);\nvar $export = __webpack_require__(8);\nvar redefine = __webpack_require__(58);\nvar hide = __webpack_require__(4);\nvar Iterators = __webpack_require__(16);\nvar $iterCreate = __webpack_require__(59);\nvar setToStringTag = __webpack_require__(28);\nvar getPrototypeOf = __webpack_require__(63);\nvar ITERATOR = __webpack_require__(0)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItZGVmaW5lLmpzP2JjODAiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIExJQlJBUlkgPSByZXF1aXJlKCcuL19saWJyYXJ5Jyk7XG52YXIgJGV4cG9ydCA9IHJlcXVpcmUoJy4vX2V4cG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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///57\n");
|
426 |
|
427 |
/***/ }),
|
428 |
/* 58 */
|
429 |
/***/ (function(module, exports, __webpack_require__) {
|
430 |
|
431 |
+
eval("module.exports = __webpack_require__(4);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX3JlZGVmaW5lLmpzP2YzY2QiXSwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKCcuL19oaWRlJyk7XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fcmVkZWZpbmUuanNcbi8vIG1vZHVsZSBpZCA9IDU4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///58\n");
|
432 |
|
433 |
/***/ }),
|
434 |
/* 59 */
|
435 |
/***/ (function(module, exports, __webpack_require__) {
|
436 |
|
437 |
"use strict";
|
438 |
+
eval("\nvar create = __webpack_require__(60);\nvar descriptor = __webpack_require__(11);\nvar setToStringTag = __webpack_require__(28);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(4)(IteratorPrototype, __webpack_require__(0)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItY3JlYXRlLmpzP2Y3ODUiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBzdHJpY3QnO1xudmFyIGNyZWF0ZSA9IHJlcXVpcmUoJy4vX29iamVjdC1jcmVhdGUnKTtcbnZhciBkZXNjcmlwdG9yID0gcmVxdWlyZSgnLi9fcHJvcGVydHktZGVzYycpO1xudmFyIHNldFRvU3RyaW5nVGFnID0gcmVxdWlyZSgnLi9fc2V0LXRvLXN0cmluZy10YWcnKTtcbnZhciBJdGVyYXRvclByb3RvdHlwZSA9IHt9O1xuXG4vLyAyNS4xLjIuMS4xICVJdGVyYXRvclByb3RvdHlwZSVbQEBpdGVyYXRvcl0oKVxucmVxdWlyZSgnLi9faGlkZScpKEl0ZXJhdG9yUHJvdG90eXBlLCByZXF1aXJlKCcuL193a3MnKSgnaXRlcmF0b3InKSwgZnVuY3Rpb24gKCkgeyByZXR1cm4gdGhpczsgfSk7XG5cbm1vZHVsZS5leHBvcnRzID0gZnVuY3Rpb24gKENvbnN0cnVjdG9yLCBOQU1FLCBuZXh0KSB7XG4gIENvbnN0cnVjdG9yLnByb3RvdHlwZSA9IGNyZWF0ZShJdGVyYXRvclByb3RvdHlwZSwgeyBuZXh0OiBkZXNjcmlwdG9yKDEsIG5leHQpIH0pO1xuICBzZXRUb1N0cmluZ1RhZyhDb25zdHJ1Y3RvciwgTkFNRSArICcgSXRlcmF0b3InKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9faXRlci1jcmVhdGUuanNcbi8vIG1vZHVsZSBpZCA9IDU5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///59\n");
|
439 |
|
440 |
/***/ }),
|
441 |
/* 60 */
|
442 |
/***/ (function(module, exports, __webpack_require__) {
|
443 |
|
444 |
+
eval("// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(6);\nvar dPs = __webpack_require__(61);\nvar enumBugKeys = __webpack_require__(27);\nvar IE_PROTO = __webpack_require__(14)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(18)('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(62).appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n//# sourceURL=[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QgPSBjcmVhdGVEaWN0KCk7XG4gIHJldHVybiBQcm9wZXJ0aWVzID09PSB1bmRlZmluZWQgPyByZXN1bHQgOiBkUHMocmVzdWx0LCBQcm9wZXJ0aWVzKTtcbn07XG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL25vZGVfbW9kdWxlcy9jb3JlLWpzL2xpYnJhcnkvbW9kdWxlcy9fb2JqZWN0LWNyZWF0ZS5qc1xuLy8gbW9kdWxlIGlkID0gNjBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///60\n");
|
445 |
|
446 |
/***/ }),
|
447 |
/* 61 */
|
448 |
/***/ (function(module, exports, __webpack_require__) {
|
449 |
|
450 |
+
eval("var dP = __webpack_require__(5);\nvar anObject = __webpack_require__(6);\nvar getKeys = __webpack_require__(19);\n\nmodule.exports = __webpack_require__(3) ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjEuanMiLCJzb3VyY2VzIjpbIndlYnBh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(function(module, exports, __webpack_require__) {
|
474 |
|
475 |
+
eval("// call something on iterator step with safe closing on error\nvar anObject = __webpack_require__(6);\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItY2FsbC5qcz85YWM1Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIGNhbGwgc29tZXRoaW5nIG9uIGl0ZXJhdG9yIHN0ZXAgd2l0aCBzYWZlIGNsb3Npbmcgb24gZXJyb3JcbnZhciBhbk9iamVjdCA9IHJlcXVpcmUoJy4vX2FuLW9iamVjdCcpO1xubW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbiAoaXRlcmF0b3IsIGZuLCB2YWx1ZSwgZW50cmllcykge1xuICB0cnkge1xuICAgIHJldHVybiBlbnRyaWVzID8gZm4oYW5PYmplY3QodmFsdWUpWzBdLCB2YWx1ZVsxXSkgOiBmbih2YWx1ZSk7XG4gIC8vIDcuNC42IEl0ZXJhdG9yQ2xvc2UoaXRlcmF0b3IsIGNvbXBsZXRpb24pXG4gIH0gY2F0Y2ggKGUpIHtcbiAgICB2YXIgcmV0ID0gaXRlcmF0b3JbJ3JldHVybiddO1xuICAgIGlmIChyZXQgIT09IHVuZGVmaW5lZCkgYW5PYmplY3QocmV0LmNhbGwoaXRlcmF0b3IpKTtcbiAgICB0aHJvdyBlO1xuICB9XG59O1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2l0ZXItY2FsbC5qc1xuLy8gbW9kdWxlIGlkID0gNjVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///65\n");
|
476 |
|
477 |
/***/ }),
|
478 |
/* 66 */
|
485 |
/***/ (function(module, exports, __webpack_require__) {
|
486 |
|
487 |
"use strict";
|
488 |
+
eval("\nvar $defineProperty = __webpack_require__(5);\nvar createDesc = __webpack_require__(11);\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ub2RlX21vZHVsZXMvY29yZS1qcy9saWJyYXJ5L21vZHVsZXMvX2NyZWF0ZS1wcm9wZXJ0eS5qcz83YzE0Il0sInNvdXJjZXNDb250ZW50IjpbIid1c2Ugc3RyaWN0JztcbnZhciAkZGVmaW5lUHJvcGVydHkgPSByZXF1aXJlKCcuL19vYmplY3QtZHAnKTtcbnZhciBjcmVhdGVEZXNjID0gcmVxdWlyZSgnLi9fcHJvcGVydHktZGVzYycpO1xuXG5tb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChvYmplY3QsIGluZGV4LCB2YWx1ZSkge1xuICBpZiAoaW5kZXggaW4gb2JqZWN0KSAkZGVmaW5lUHJvcGVydHkuZihvYmplY3QsIGluZGV4LCBjcmVhdGVEZXNjKDAsIHZhbHVlKSk7XG4gIGVsc2Ugb2JqZWN0W2luZGV4XSA9IHZhbHVlO1xufTtcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vbm9kZV9tb2R1bGVzL2NvcmUtanMvbGlicmFyeS9tb2R1bGVzL19jcmVhdGUtcHJvcGVydHkuanNcbi8vIG1vZHVsZSBpZCA9IDY3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///67\n");
|
489 |
|
490 |
/***/ }),
|
491 |
/* 68 */
|
includes/gutenberg/feedzy-rss-feeds-gutenberg-block.php
CHANGED
@@ -69,6 +69,7 @@ class Feedzy_Rss_Feeds_Gutenberg_Block {
|
|
69 |
);
|
70 |
|
71 |
// Enqueue editor block styles
|
|
|
72 |
wp_enqueue_style( 'feedzy-gutenberg-block-css', FEEDZY_ABSURL . 'includes/gutenberg/build/block.css', '', $version );
|
73 |
}
|
74 |
|
@@ -97,7 +98,7 @@ class Feedzy_Rss_Feeds_Gutenberg_Block {
|
|
97 |
),
|
98 |
'sort' => array(
|
99 |
'type' => 'string',
|
100 |
-
'default' => '
|
101 |
),
|
102 |
'target' => array(
|
103 |
'type' => 'string',
|
@@ -108,7 +109,9 @@ class Feedzy_Rss_Feeds_Gutenberg_Block {
|
|
108 |
),
|
109 |
'meta' => array(
|
110 |
'type' => 'boolean',
|
111 |
-
|
|
|
|
|
112 |
),
|
113 |
'summary' => array(
|
114 |
'type' => 'boolean',
|
@@ -165,12 +168,18 @@ class Feedzy_Rss_Feeds_Gutenberg_Block {
|
|
165 |
if ( ! empty( $attr['meta'] ) ) {
|
166 |
$attr['meta'] = 'yes';
|
167 |
}
|
|
|
|
|
|
|
168 |
if ( ! empty( $attr['summary'] ) ) {
|
169 |
$attr['summary'] = 'yes';
|
170 |
}
|
171 |
if ( ! empty( $attr['price'] ) ) {
|
172 |
$attr['price'] = 'yes';
|
173 |
}
|
|
|
|
|
|
|
174 |
$params = wp_parse_args( $attr );
|
175 |
return feedzy_rss( $params );
|
176 |
}
|
69 |
);
|
70 |
|
71 |
// Enqueue editor block styles
|
72 |
+
wp_enqueue_style( 'feedzy-block-css', FEEDZY_ABSURL . 'css/feedzy-rss-feeds.css', '', $version );
|
73 |
wp_enqueue_style( 'feedzy-gutenberg-block-css', FEEDZY_ABSURL . 'includes/gutenberg/build/block.css', '', $version );
|
74 |
}
|
75 |
|
98 |
),
|
99 |
'sort' => array(
|
100 |
'type' => 'string',
|
101 |
+
'default' => 'default',
|
102 |
),
|
103 |
'target' => array(
|
104 |
'type' => 'string',
|
109 |
),
|
110 |
'meta' => array(
|
111 |
'type' => 'boolean',
|
112 |
+
),
|
113 |
+
'metafields' => array(
|
114 |
+
'type' => 'string',
|
115 |
),
|
116 |
'summary' => array(
|
117 |
'type' => 'boolean',
|
168 |
if ( ! empty( $attr['meta'] ) ) {
|
169 |
$attr['meta'] = 'yes';
|
170 |
}
|
171 |
+
if ( ! empty( $attr['metafields'] ) ) {
|
172 |
+
$attr['meta'] = $attr['metafields'];
|
173 |
+
}
|
174 |
if ( ! empty( $attr['summary'] ) ) {
|
175 |
$attr['summary'] = 'yes';
|
176 |
}
|
177 |
if ( ! empty( $attr['price'] ) ) {
|
178 |
$attr['price'] = 'yes';
|
179 |
}
|
180 |
+
if ( ! empty( $attr['sort'] ) && 'default' === $attr['sort'] ) {
|
181 |
+
unset( $attr['sort'] );
|
182 |
+
}
|
183 |
$params = wp_parse_args( $attr );
|
184 |
return feedzy_rss( $params );
|
185 |
}
|
includes/layouts/css/upsell.css
CHANGED
@@ -97,8 +97,6 @@
|
|
97 |
|
98 |
#fz-features .fz-features-header,
|
99 |
#fz-features .fz-feature {
|
100 |
-
display: table;
|
101 |
-
float: left;
|
102 |
box-sizing: border-box;
|
103 |
width: 100%;
|
104 |
margin: 30px 0 0;
|
@@ -109,7 +107,6 @@
|
|
109 |
|
110 |
#fz-features .fz-feature .fz-feature-features,
|
111 |
#fz-features .fz-feature .fz-feature-image {
|
112 |
-
display: table-cell;
|
113 |
margin: 0;
|
114 |
vertical-align: middle;
|
115 |
}
|
@@ -119,8 +116,12 @@
|
|
119 |
padding: 0 0 20px;
|
120 |
}
|
121 |
|
122 |
-
#fz-features .fz-feature .fz-feature-image {
|
123 |
-
width: 470px;
|
|
|
|
|
|
|
|
|
124 |
}
|
125 |
|
126 |
#fz-features .fz-feature .fz-feature-features h2 {
|
97 |
|
98 |
#fz-features .fz-features-header,
|
99 |
#fz-features .fz-feature {
|
|
|
|
|
100 |
box-sizing: border-box;
|
101 |
width: 100%;
|
102 |
margin: 30px 0 0;
|
107 |
|
108 |
#fz-features .fz-feature .fz-feature-features,
|
109 |
#fz-features .fz-feature .fz-feature-image {
|
|
|
110 |
margin: 0;
|
111 |
vertical-align: middle;
|
112 |
}
|
116 |
padding: 0 0 20px;
|
117 |
}
|
118 |
|
119 |
+
#fz-features .fz-feature .fz-feature-image img {
|
120 |
+
max-width: 470px;
|
121 |
+
}
|
122 |
+
|
123 |
+
#fz-features .fz-feature .fz-feature-image iframe {
|
124 |
+
max-width: 100%;
|
125 |
}
|
126 |
|
127 |
#fz-features .fz-feature .fz-feature-features h2 {
|
includes/layouts/feedzy-tutorial.php
CHANGED
@@ -16,7 +16,7 @@ Layout For Tutorial Page of Feedzy RSS Feeds
|
|
16 |
<p>You can view our documentation <a href="https://docs.themeisle.com/article/658-feedzy-rss-feeds" target="_blank">here</a></p>
|
17 |
</div>
|
18 |
<div class="fz-feature-image">
|
19 |
-
<iframe width="
|
20 |
</div>
|
21 |
</div>
|
22 |
|
@@ -29,7 +29,7 @@ Layout For Tutorial Page of Feedzy RSS Feeds
|
|
29 |
<p>You can view our documentation <a href="https://docs.themeisle.com/article/742-how-to-import-posts-from-feeds-in-feedzy" target="_blank">here</a></p>
|
30 |
</div>
|
31 |
<div class="fz-feature-image">
|
32 |
-
<iframe width="
|
33 |
</div>
|
34 |
</div>
|
35 |
<?php } ?>
|
16 |
<p>You can view our documentation <a href="https://docs.themeisle.com/article/658-feedzy-rss-feeds" target="_blank">here</a></p>
|
17 |
</div>
|
18 |
<div class="fz-feature-image">
|
19 |
+
<iframe width="600" height="300" src="https://www.youtube.com/embed/GEFAY2IxxEc?start=84" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
20 |
</div>
|
21 |
</div>
|
22 |
|
29 |
<p>You can view our documentation <a href="https://docs.themeisle.com/article/742-how-to-import-posts-from-feeds-in-feedzy" target="_blank">here</a></p>
|
30 |
</div>
|
31 |
<div class="fz-feature-image">
|
32 |
+
<iframe width="600" height="300" src="https://www.youtube.com/embed/Fzx5W_PfQsQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
33 |
</div>
|
34 |
</div>
|
35 |
<?php } ?>
|
readme.md
CHANGED
@@ -55,7 +55,7 @@ Join over 20,000 Feedzy users, and the half a million WordPress sites using Them
|
|
55 |
>
|
56 |
> **[Learn more about Feedzy Pro]( https://themeisle.com/plugins/feedzy-rss-feeds/ )**
|
57 |
|
58 |
-
## See how Feedzy can integrate with your website
|
59 |
|
60 |
* [Audio playback template](https://demo.themeisle.com/feedzy-rss-feeds/audio-feed-template/)
|
61 |
* [Shop feed – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
|
@@ -106,7 +106,7 @@ FEEDZY RSS Feeds supports any additional library and takes up minimal space in y
|
|
106 |
|
107 |
### Advanced example ###
|
108 |
|
109 |
-
`[feedzy-rss feeds="http://themeisle.com/feed" max="2" feed_title="yes" target="_blank" refresh="12_hours" title="50" meta="
|
110 |
|
111 |
|
112 |
### Available Hooks ###
|
@@ -134,17 +134,6 @@ FEEDZY RSS Feeds supports any additional library and takes up minimal space in y
|
|
134 |
|
135 |
This plugin is maintained and supported by Themeisle, check out some of the other <a href="http://themeisle.com/wordpress-plugins/" rel="nofollow">WordPress plugins</a> and <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow">free themes</a> we've developed.
|
136 |
|
137 |
-
### Languages ###
|
138 |
-
|
139 |
-
* English
|
140 |
-
* French
|
141 |
-
* Serbian [Borisa Djuraskovic](http://www.webhostinghub.com/ "Borisa Djuraskovic")
|
142 |
-
* Japanese [sama55](http://askive.cmsbox.jp/ "sama55")
|
143 |
-
* German [ralfsteck](https://profiles.wordpress.org/ralfsteck/ "ralfsteck")
|
144 |
-
* Spanish [Angel Calzado](http://sintaxisweb.es "Angel Calzado")
|
145 |
-
|
146 |
-
Become a translator and send me your translation! [Contact-me](http://themeisle.com/contact "Contact")
|
147 |
-
|
148 |
## Installation ##
|
149 |
|
150 |
1. Upload and activate the plugin (or install it through the WP admin console)
|
@@ -161,6 +150,7 @@ Become a translator and send me your translation! [Contact-me](http://themeisle.
|
|
161 |
|
162 |
|
163 |
|
|
|
164 |
### Is it responsive friendly? ###
|
165 |
|
166 |
Yes it is.
|
@@ -394,6 +384,33 @@ You have to check first if your feed is valid. Please test it here: https://vali
|
|
394 |
= How to import iTunes audio feed =
|
395 |
[https://docs.themeisle.com/article/1041-how-to-import-itunes-audio-feed](https://docs.themeisle.com/article/1041-how-to-import-itunes-audio-feed)
|
396 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
== Screenshots ==
|
398 |
|
399 |
1. Simple example
|
@@ -403,6 +420,16 @@ You have to check first if your feed is valid. Please test it here: https://vali
|
|
403 |
|
404 |
|
405 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
### 3.3.7 - 2019-06-15 ###
|
407 |
|
408 |
* Fix: Not working in the block editor
|
55 |
>
|
56 |
> **[Learn more about Feedzy Pro]( https://themeisle.com/plugins/feedzy-rss-feeds/ )**
|
57 |
|
58 |
+
## See how Feedzy PRO can integrate with your website
|
59 |
|
60 |
* [Audio playback template](https://demo.themeisle.com/feedzy-rss-feeds/audio-feed-template/)
|
61 |
* [Shop feed – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
|
106 |
|
107 |
### Advanced example ###
|
108 |
|
109 |
+
`[feedzy-rss feeds="http://themeisle.com/feed" max="2" feed_title="yes" target="_blank" refresh="12_hours" title="50" meta="author, date, time, tz=local" summary="yes" summarylength="300" thumb="yes" size="100" default="http://your-site/default-image.jpg" keywords_title="WordPress"]`
|
110 |
|
111 |
|
112 |
### Available Hooks ###
|
134 |
|
135 |
This plugin is maintained and supported by Themeisle, check out some of the other <a href="http://themeisle.com/wordpress-plugins/" rel="nofollow">WordPress plugins</a> and <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow">free themes</a> we've developed.
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
## Installation ##
|
138 |
|
139 |
1. Upload and activate the plugin (or install it through the WP admin console)
|
150 |
|
151 |
|
152 |
|
153 |
+
|
154 |
### Is it responsive friendly? ###
|
155 |
|
156 |
Yes it is.
|
384 |
= How to import iTunes audio feed =
|
385 |
[https://docs.themeisle.com/article/1041-how-to-import-itunes-audio-feed](https://docs.themeisle.com/article/1041-how-to-import-itunes-audio-feed)
|
386 |
|
387 |
+
= Feedzy RSS Feeds Documentation =
|
388 |
+
[https://docs.themeisle.com/article/658-feedzy-rss-feeds](https://docs.themeisle.com/article/658-feedzy-rss-feeds)
|
389 |
+
|
390 |
+
= How to check whether the RSS feed is valid or not in Feedzy =
|
391 |
+
[https://docs.themeisle.com/article/716-feedzy-how-to-check-whether-the-rss-feed-is-valid-or-not](https://docs.themeisle.com/article/716-feedzy-how-to-check-whether-the-rss-feed-is-valid-or-not)
|
392 |
+
|
393 |
+
= How to change thumbs size and aspect ratio Feedzy =
|
394 |
+
[https://docs.themeisle.com/article/551-how-to-change-thumbs-size-and-aspect-ratio](https://docs.themeisle.com/article/551-how-to-change-thumbs-size-and-aspect-ratio)
|
395 |
+
|
396 |
+
= How to use proxy settings in Feedzy =
|
397 |
+
[https://docs.themeisle.com/article/714-how-to-use-proxy-settings-in-feezy](https://docs.themeisle.com/article/714-how-to-use-proxy-settings-in-feezy)
|
398 |
+
|
399 |
+
= How to decode item title =
|
400 |
+
[https://docs.themeisle.com/article/548-how-to-decode-item-title-with](https://docs.themeisle.com/article/548-how-to-decode-item-title-with)
|
401 |
+
|
402 |
+
= How to add affiliate referrals to feed URLs in Feedzy =
|
403 |
+
[https://docs.themeisle.com/article/715-feedzy-how-to-add-affiliate-referrals-to-feed-urls](https://docs.themeisle.com/article/715-feedzy-how-to-add-affiliate-referrals-to-feed-urls)
|
404 |
+
|
405 |
+
= How to add rel="nofollow" to feed links =
|
406 |
+
[https://docs.themeisle.com/article/839-how-to-add-rel-nofollow-to-feed-links](https://docs.themeisle.com/article/839-how-to-add-rel-nofollow-to-feed-links)
|
407 |
+
|
408 |
+
= How to import iTunes audio feed =
|
409 |
+
[https://docs.themeisle.com/article/1041-import-itunes-audio-feed](https://docs.themeisle.com/article/1041-import-itunes-audio-feed)
|
410 |
+
|
411 |
+
= How to link featured image to original post in Slider Revolution =
|
412 |
+
[https://docs.themeisle.com/article/1069-how-to-link-featured-image-to-original-post-in-slider-revolution](https://docs.themeisle.com/article/1069-how-to-link-featured-image-to-original-post-in-slider-revolution)
|
413 |
+
|
414 |
== Screenshots ==
|
415 |
|
416 |
1. Simple example
|
420 |
|
421 |
|
422 |
## Changelog ##
|
423 |
+
### 3.3.8 - 2019-08-12 ###
|
424 |
+
|
425 |
+
* - Fix issue with AMP pages not showing image
|
426 |
+
* - In the short code, separate behavior of meta into author, date and time
|
427 |
+
* - Add option to remove title entirely
|
428 |
+
* - Don't show [...] if summary is shorter than required
|
429 |
+
* - Add option to use default sorting when generating the short code
|
430 |
+
* - Add ability to show date/time in local timezone
|
431 |
+
|
432 |
+
|
433 |
### 3.3.7 - 2019-06-15 ###
|
434 |
|
435 |
* Fix: Not working in the block editor
|
readme.txt
CHANGED
@@ -55,7 +55,7 @@ Join over 20,000 Feedzy users, and the half a million WordPress sites using Them
|
|
55 |
>
|
56 |
> **[Learn more about Feedzy Pro]( https://themeisle.com/plugins/feedzy-rss-feeds/ )**
|
57 |
|
58 |
-
## See how Feedzy can integrate with your website
|
59 |
|
60 |
* [Audio playback template](https://demo.themeisle.com/feedzy-rss-feeds/audio-feed-template/)
|
61 |
* [Shop feed – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
|
@@ -106,7 +106,7 @@ FEEDZY RSS Feeds supports any additional library and takes up minimal space in y
|
|
106 |
|
107 |
= Advanced example =
|
108 |
|
109 |
-
`[feedzy-rss feeds="http://themeisle.com/feed" max="2" feed_title="yes" target="_blank" refresh="12_hours" title="50" meta="
|
110 |
|
111 |
|
112 |
= Available Hooks =
|
@@ -134,17 +134,6 @@ FEEDZY RSS Feeds supports any additional library and takes up minimal space in y
|
|
134 |
`
|
135 |
This plugin is maintained and supported by Themeisle, check out some of the other <a href="http://themeisle.com/wordpress-plugins/" rel="nofollow">WordPress plugins</a> and <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow">free themes</a> we've developed.
|
136 |
|
137 |
-
= Languages =
|
138 |
-
|
139 |
-
* English
|
140 |
-
* French
|
141 |
-
* Serbian [Borisa Djuraskovic](http://www.webhostinghub.com/ "Borisa Djuraskovic")
|
142 |
-
* Japanese [sama55](http://askive.cmsbox.jp/ "sama55")
|
143 |
-
* German [ralfsteck](https://profiles.wordpress.org/ralfsteck/ "ralfsteck")
|
144 |
-
* Spanish [Angel Calzado](http://sintaxisweb.es "Angel Calzado")
|
145 |
-
|
146 |
-
Become a translator and send me your translation! [Contact-me](http://themeisle.com/contact "Contact")
|
147 |
-
|
148 |
== Installation ==
|
149 |
|
150 |
1. Upload and activate the plugin (or install it through the WP admin console)
|
@@ -162,6 +151,7 @@ Become a translator and send me your translation! [Contact-me](http://themeisle.
|
|
162 |
|
163 |
|
164 |
|
|
|
165 |
= Is it responsive friendly? =
|
166 |
|
167 |
Yes it is.
|
@@ -422,6 +412,12 @@ You have to check first if your feed is valid. Please test it here: https://vali
|
|
422 |
= How to link featured image to original post in Slider Revolution =
|
423 |
[https://docs.themeisle.com/article/1069-how-to-link-featured-image-to-original-post-in-slider-revolution](https://docs.themeisle.com/article/1069-how-to-link-featured-image-to-original-post-in-slider-revolution)
|
424 |
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
== Screenshots ==
|
426 |
|
427 |
1. Simple example
|
@@ -431,6 +427,16 @@ You have to check first if your feed is valid. Please test it here: https://vali
|
|
431 |
|
432 |
|
433 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
= 3.3.7 - 2019-06-15 =
|
435 |
|
436 |
* Fix: Not working in the block editor
|
55 |
>
|
56 |
> **[Learn more about Feedzy Pro]( https://themeisle.com/plugins/feedzy-rss-feeds/ )**
|
57 |
|
58 |
+
## See how Feedzy PRO can integrate with your website
|
59 |
|
60 |
* [Audio playback template](https://demo.themeisle.com/feedzy-rss-feeds/audio-feed-template/)
|
61 |
* [Shop feed – 3 columns layout](https://demo.themeisle.com/feedzy-rss-feeds/shop-feed/)
|
106 |
|
107 |
= Advanced example =
|
108 |
|
109 |
+
`[feedzy-rss feeds="http://themeisle.com/feed" max="2" feed_title="yes" target="_blank" refresh="12_hours" title="50" meta="author, date, time, tz=local" summary="yes" summarylength="300" thumb="yes" size="100" default="http://your-site/default-image.jpg" keywords_title="WordPress"]`
|
110 |
|
111 |
|
112 |
= Available Hooks =
|
134 |
`
|
135 |
This plugin is maintained and supported by Themeisle, check out some of the other <a href="http://themeisle.com/wordpress-plugins/" rel="nofollow">WordPress plugins</a> and <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow">free themes</a> we've developed.
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
== Installation ==
|
138 |
|
139 |
1. Upload and activate the plugin (or install it through the WP admin console)
|
151 |
|
152 |
|
153 |
|
154 |
+
|
155 |
= Is it responsive friendly? =
|
156 |
|
157 |
Yes it is.
|
412 |
= How to link featured image to original post in Slider Revolution =
|
413 |
[https://docs.themeisle.com/article/1069-how-to-link-featured-image-to-original-post-in-slider-revolution](https://docs.themeisle.com/article/1069-how-to-link-featured-image-to-original-post-in-slider-revolution)
|
414 |
|
415 |
+
= How to display author, date, time (or a combination) from the feed =
|
416 |
+
[https://docs.themeisle.com/article/1089-how-to-display-author-date-or-time-from-the-feed](https://docs.themeisle.com/article/1089-how-to-display-author-date-or-time-from-the-feed)
|
417 |
+
|
418 |
+
= How to get videos from YouTube with Feedzy =
|
419 |
+
[https://docs.themeisle.com/article/1113-how-to-get-videos-from-youtube-with-feedzy](https://docs.themeisle.com/article/1113-how-to-get-videos-from-youtube-with-feedzy)
|
420 |
+
|
421 |
== Screenshots ==
|
422 |
|
423 |
1. Simple example
|
427 |
|
428 |
|
429 |
== Changelog ==
|
430 |
+
= 3.3.8 - 2019-08-12 =
|
431 |
+
|
432 |
+
* - Fix issue with AMP pages not showing image
|
433 |
+
* - In the short code, separate behavior of meta into author, date and time
|
434 |
+
* - Add option to remove title entirely
|
435 |
+
* - Don't show [...] if summary is shorter than required
|
436 |
+
* - Add option to use default sorting when generating the short code
|
437 |
+
* - Add ability to show date/time in local timezone
|
438 |
+
|
439 |
+
|
440 |
= 3.3.7 - 2019-06-15 =
|
441 |
|
442 |
* Fix: Not working in the block editor
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"feedzy-rss-feed.php":"
|
1 |
+
{"feedzy-rss-feed.php":"d90bc52be19057f08b2da32641bc2cf8","index.php":"71c0755260138a4b7b2182c3c61179f6","uninstall.php":"cdb21f8648e005cbb9c73481d1750186"}
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit9c534f048b723adbf5766e6787eb609b::getLoader();
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit464574afdc18aab2de0c02fdbf2563f1::getLoader();
|
vendor/codeinwp/themeisle-sdk/CHANGELOG.md
CHANGED
@@ -1,3 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
## [3.0.8](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.7...v3.0.8) (2019-05-28)
|
2 |
|
3 |
|
1 |
+
## [3.1.1](https://github.com/Codeinwp/themeisle-sdk/compare/v3.1.0...v3.1.1) (2019-08-08)
|
2 |
+
|
3 |
+
|
4 |
+
### Bug Fixes
|
5 |
+
|
6 |
+
* adds is_file for file existence check ([d1205c4](https://github.com/Codeinwp/themeisle-sdk/commit/d1205c4))
|
7 |
+
* adds is_file for file existence check ([be119c1](https://github.com/Codeinwp/themeisle-sdk/commit/be119c1))
|
8 |
+
|
9 |
+
# [3.1.0](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.10...v3.1.0) (2019-08-05)
|
10 |
+
|
11 |
+
|
12 |
+
### Bug Fixes
|
13 |
+
|
14 |
+
* adds extra comments for rest of the options, fix [#64](https://github.com/Codeinwp/themeisle-sdk/issues/64) ([018b22f](https://github.com/Codeinwp/themeisle-sdk/commit/018b22f))
|
15 |
+
* hide license key when active under a password mask, fix [#67](https://github.com/Codeinwp/themeisle-sdk/issues/67) ([c0633c2](https://github.com/Codeinwp/themeisle-sdk/commit/c0633c2))
|
16 |
+
* new uninstall feedback popup issues ([5bda4bd](https://github.com/Codeinwp/themeisle-sdk/commit/5bda4bd))
|
17 |
+
* phpcs indentation errors ([d59ed4f](https://github.com/Codeinwp/themeisle-sdk/commit/d59ed4f))
|
18 |
+
* undefined notices on license check, fix [#60](https://github.com/Codeinwp/themeisle-sdk/issues/60) ([7f56a97](https://github.com/Codeinwp/themeisle-sdk/commit/7f56a97))
|
19 |
+
* uninstall feedback popup placement [[#61](https://github.com/Codeinwp/themeisle-sdk/issues/61)] ([1102d6c](https://github.com/Codeinwp/themeisle-sdk/commit/1102d6c))
|
20 |
+
|
21 |
+
|
22 |
+
### Features
|
23 |
+
|
24 |
+
* new product feedback popup ([f0dbab3](https://github.com/Codeinwp/themeisle-sdk/commit/f0dbab3))
|
25 |
+
* new uninstall feedback form for themes ([8a29f21](https://github.com/Codeinwp/themeisle-sdk/commit/8a29f21))
|
26 |
+
|
27 |
+
## [3.0.10](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.9...v3.0.10) (2019-07-16)
|
28 |
+
|
29 |
+
|
30 |
+
### Bug Fixes
|
31 |
+
|
32 |
+
* compatibility with lower PHP versions ([065ac8e](https://github.com/Codeinwp/themeisle-sdk/commit/065ac8e))
|
33 |
+
* not loading licenser when SDK comes from theme [[#62](https://github.com/Codeinwp/themeisle-sdk/issues/62)] ([b706ca7](https://github.com/Codeinwp/themeisle-sdk/commit/b706ca7))
|
34 |
+
* not loading licenser when SDK comes from theme [[#65](https://github.com/Codeinwp/themeisle-sdk/issues/65) ([419d8e6](https://github.com/Codeinwp/themeisle-sdk/commit/419d8e6))
|
35 |
+
* preserve loaded when adding the licenser one ([cd50434](https://github.com/Codeinwp/themeisle-sdk/commit/cd50434))
|
36 |
+
|
37 |
+
## [3.0.9](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.8...v3.0.9) (2019-06-26)
|
38 |
+
|
39 |
+
|
40 |
+
### Bug Fixes
|
41 |
+
|
42 |
+
* adds new icon for dashboard widget ([de78068](https://github.com/Codeinwp/themeisle-sdk/commit/de78068))
|
43 |
+
* anchor element on license activation message which should link to the license field, fix [#57](https://github.com/Codeinwp/themeisle-sdk/issues/57) ([2e78856](https://github.com/Codeinwp/themeisle-sdk/commit/2e78856))
|
44 |
+
* change uninstall feedback logo with new version, fix [#58](https://github.com/Codeinwp/themeisle-sdk/issues/58) ([2554a4f](https://github.com/Codeinwp/themeisle-sdk/commit/2554a4f))
|
45 |
+
* remove soon to expire notice, fix https://github.com/Codeinwp/themeisle/issues/752 ([a126225](https://github.com/Codeinwp/themeisle-sdk/commit/a126225))
|
46 |
+
|
47 |
## [3.0.8](https://github.com/Codeinwp/themeisle-sdk/compare/v3.0.7...v3.0.8) (2019-05-28)
|
48 |
|
49 |
|
vendor/codeinwp/themeisle-sdk/docker-compose.local.yml
CHANGED
@@ -8,7 +8,8 @@ services:
|
|
8 |
ports:
|
9 |
- 999:80
|
10 |
volumes:
|
11 |
-
-
|
|
|
12 |
restart: always
|
13 |
environment:
|
14 |
WORDPRESS_DB_NAME: wordpress
|
8 |
ports:
|
9 |
- 999:80
|
10 |
volumes:
|
11 |
+
- ./tests/sample_products/sample_plugin:/var/www/html/wp-content/plugins/sample_plugin
|
12 |
+
- ./:/var/www/html/wp-content/plugins/sample_plugin/vendor
|
13 |
restart: always
|
14 |
environment:
|
15 |
WORDPRESS_DB_NAME: wordpress
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
@@ -14,14 +14,22 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
return;
|
15 |
}
|
16 |
// Current SDK version and path.
|
17 |
-
$themeisle_sdk_version = '3.
|
18 |
$themeisle_sdk_path = dirname( __FILE__ );
|
19 |
|
20 |
global $themeisle_sdk_max_version;
|
21 |
global $themeisle_sdk_max_path;
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
if ( version_compare( $themeisle_sdk_version, $themeisle_sdk_max_path ) == 0 &&
|
24 |
-
|
25 |
$themeisle_sdk_max_path = $themeisle_sdk_path;
|
26 |
}
|
27 |
|
@@ -30,6 +38,21 @@ if ( version_compare( $themeisle_sdk_version, $themeisle_sdk_max_version ) > 0 )
|
|
30 |
$themeisle_sdk_max_path = $themeisle_sdk_path;
|
31 |
}
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
// load the latest sdk version from the active Themeisle products.
|
34 |
if ( ! function_exists( 'themeisle_sdk_load_latest' ) ) :
|
35 |
/**
|
14 |
return;
|
15 |
}
|
16 |
// Current SDK version and path.
|
17 |
+
$themeisle_sdk_version = '3.1.1';
|
18 |
$themeisle_sdk_path = dirname( __FILE__ );
|
19 |
|
20 |
global $themeisle_sdk_max_version;
|
21 |
global $themeisle_sdk_max_path;
|
22 |
|
23 |
+
// If this is the latest SDK and it comes from a theme, we should load licenser separately.
|
24 |
+
$themeisle_sdk_relative_licenser_path = '/src/Modules/Licenser.php';
|
25 |
+
|
26 |
+
global $themeisle_sdk_abs_licenser_path;
|
27 |
+
if ( ! is_file( $themeisle_sdk_path . $themeisle_sdk_relative_licenser_path ) && is_file( $themeisle_sdk_max_path . $themeisle_sdk_relative_licenser_path ) ) {
|
28 |
+
$themeisle_sdk_abs_licenser_path = $themeisle_sdk_max_path . $themeisle_sdk_relative_licenser_path;
|
29 |
+
add_filter( 'themeisle_sdk_required_files', 'themeisle_sdk_load_licenser_if_present' );
|
30 |
+
}
|
31 |
if ( version_compare( $themeisle_sdk_version, $themeisle_sdk_max_path ) == 0 &&
|
32 |
+
apply_filters( 'themeisle_sdk_should_overwrite_path', false, $themeisle_sdk_path, $themeisle_sdk_max_path ) ) {
|
33 |
$themeisle_sdk_max_path = $themeisle_sdk_path;
|
34 |
}
|
35 |
|
38 |
$themeisle_sdk_max_path = $themeisle_sdk_path;
|
39 |
}
|
40 |
|
41 |
+
// load the latest sdk version from the active Themeisle products.
|
42 |
+
if ( ! function_exists( 'themeisle_sdk_load_licenser_if_present' ) ) :
|
43 |
+
/**
|
44 |
+
* Always load the licenser, if present.
|
45 |
+
*
|
46 |
+
* @param array $to_load Previously files to load.
|
47 |
+
*/
|
48 |
+
function themeisle_sdk_load_licenser_if_present( $to_load ) {
|
49 |
+
global $themeisle_sdk_abs_licenser_path;
|
50 |
+
$to_load[] = $themeisle_sdk_abs_licenser_path;
|
51 |
+
|
52 |
+
return $to_load;
|
53 |
+
}
|
54 |
+
endif;
|
55 |
+
|
56 |
// load the latest sdk version from the active Themeisle products.
|
57 |
if ( ! function_exists( 'themeisle_sdk_load_latest' ) ) :
|
58 |
/**
|
vendor/codeinwp/themeisle-sdk/src/Loader.php
CHANGED
@@ -84,7 +84,7 @@ final class Loader {
|
|
84 |
*/
|
85 |
public static function add_product( $base_file ) {
|
86 |
|
87 |
-
if ( !
|
88 |
return self::$instance;
|
89 |
}
|
90 |
$product = new Product( $base_file );
|
84 |
*/
|
85 |
public static function add_product( $base_file ) {
|
86 |
|
87 |
+
if ( ! is_file( $base_file ) ) {
|
88 |
return self::$instance;
|
89 |
}
|
90 |
$product = new Product( $base_file );
|
vendor/codeinwp/themeisle-sdk/src/Modules/Dashboard_widget.php
CHANGED
@@ -127,10 +127,10 @@ class Dashboard_Widget extends Abstract_Module {
|
|
127 |
}
|
128 |
|
129 |
#themeisle h2.hndle {
|
130 |
-
background-image: url('data:image/
|
131 |
background-repeat: no-repeat;
|
132 |
background-position: 92% 50%;
|
133 |
-
background-size:
|
134 |
}
|
135 |
|
136 |
#themeisle .inside {
|
127 |
}
|
128 |
|
129 |
#themeisle h2.hndle {
|
130 |
+
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE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x38T/bKs9Uk8aIiMwm/Jw0VP1yLrJwt13xAxvABBgsK4KWLov35DkRF7ZaqgzuZ7MQ8MOntmVYyAqKTwaICKqvSUFnVccMN5sziEP/5+xGDTahbH5Q3ZB76zr8fI+nJtvUUU3t3ml5GKviK/npCg3CGodnuJ4JVkfRFJYGVDBZrqKnn9RLf+CzDTS5PaN5J38+auzX4ykU4Qoj0rdKfcYs5ijfo9OL/uRUgZyQr7NCWtWwiUSLc4arfJa7lpszTA1OJZAQ8w8dXFrR5YHzCWSnS3pZ18tOi4Ps4vl/c7i/6qomjRecN+UubrPyPGn/VEMU3T0UFHkaPzpgjxmJsnjmrtionlMDZiog0TsY/DPtn8SXtlBvbtxKtwopy7lqW3smQO+yoGE1Uu55GJ3pmI8ygoejZNnqj0vnIRCyTKfLstRdtStGQi09myUsvwvlkuzSUXbV+Xz5ryBebV33fln/A/moud69FZiEYAAAAASUVORK5CYII=');
|
131 |
background-repeat: no-repeat;
|
132 |
background-position: 92% 50%;
|
133 |
+
background-size: 25px;
|
134 |
}
|
135 |
|
136 |
#themeisle .inside {
|
vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php
CHANGED
@@ -109,8 +109,65 @@ class Licenser extends Abstract_Module {
|
|
109 |
$valid_string = apply_filters( $this->product->get_key() . '_lc_valid_string', 'Valid' );
|
110 |
$invalid_string = apply_filters( $this->product->get_key() . '_lc_invalid_string', 'Invalid' );
|
111 |
$license_message = apply_filters( $this->product->get_key() . '_lc_license_message', 'Enter your license from %s purchase history in order to get %s updates' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
|
113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
}
|
116 |
|
@@ -169,7 +226,6 @@ class Licenser extends Abstract_Module {
|
|
169 |
$status = $this->get_license_status();
|
170 |
$no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No activations left for %s !!!. You need to upgrade your plan in order to use %s on more websites. Please ask the %s Staff for more details.' );
|
171 |
$no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
|
172 |
-
$expiration_string = apply_filters( $this->product->get_key() . '_lc_expiration_string', 'Your license is about to expire for %s. You can go to %s and renew it ' );
|
173 |
|
174 |
// No activations left for this license.
|
175 |
if ( 'valid' != $status && $this->check_activation() ) {
|
@@ -195,7 +251,7 @@ class Licenser extends Abstract_Module {
|
|
195 |
?>
|
196 |
<div class="error">
|
197 |
<p>
|
198 |
-
<strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->get_api_url(), admin_url( 'options-general.php' ) . '#' . $this->product->get_key() ); ?> </strong>
|
199 |
</p>
|
200 |
</div>
|
201 |
<?php
|
@@ -203,26 +259,6 @@ class Licenser extends Abstract_Module {
|
|
203 |
return false;
|
204 |
}
|
205 |
|
206 |
-
// Expired and soon to expire license.
|
207 |
-
if ( 'valid' == $status && $this->check_expiration() ) {
|
208 |
-
?>
|
209 |
-
<div class="update-nag">
|
210 |
-
<p>
|
211 |
-
<strong>
|
212 |
-
<?php
|
213 |
-
echo sprintf(
|
214 |
-
$expiration_string,
|
215 |
-
$this->product->get_name() . ' ' . $this->product->get_type(),
|
216 |
-
'<a href="' . $this->renew_url() . '" target="_blank">' . $this->get_distributor_name() . '</a>'
|
217 |
-
);
|
218 |
-
?>
|
219 |
-
</strong>
|
220 |
-
</p>
|
221 |
-
</div>
|
222 |
-
<?php
|
223 |
-
return false;
|
224 |
-
}
|
225 |
-
|
226 |
return true;
|
227 |
}
|
228 |
|
@@ -445,7 +481,7 @@ class Licenser extends Abstract_Module {
|
|
445 |
function update_nag() {
|
446 |
$theme = wp_get_theme( $this->product->get_slug() );
|
447 |
$api_response = get_transient( $this->product_key );
|
448 |
-
if ( false === $api_response ) {
|
449 |
return;
|
450 |
}
|
451 |
$update_url = wp_nonce_url( 'update.php?action=upgrade-theme&theme=' . urlencode( $this->product->get_slug() ), 'upgrade-theme_' . $this->product->get_slug() );
|
@@ -507,7 +543,7 @@ class Licenser extends Abstract_Module {
|
|
507 |
|
508 |
return false;
|
509 |
}
|
510 |
-
$update_data->sections = maybe_unserialize( $update_data->sections );
|
511 |
|
512 |
set_transient( $this->product_key, $update_data, 12 * HOUR_IN_SECONDS );
|
513 |
}
|
109 |
$valid_string = apply_filters( $this->product->get_key() . '_lc_valid_string', 'Valid' );
|
110 |
$invalid_string = apply_filters( $this->product->get_key() . '_lc_invalid_string', 'Invalid' );
|
111 |
$license_message = apply_filters( $this->product->get_key() . '_lc_license_message', 'Enter your license from %s purchase history in order to get %s updates' );
|
112 |
+
?>
|
113 |
+
<style type="text/css">
|
114 |
+
input.themeisle-sdk-text-input-valid {
|
115 |
+
border: 1px solid #7ad03a;
|
116 |
+
}
|
117 |
+
|
118 |
+
input.themeisle-sdk-license-input {
|
119 |
+
width: 300px;
|
120 |
+
padding: 5px;
|
121 |
+
}
|
122 |
+
|
123 |
+
.themeisle-sdk-license-deactivate-cta {
|
124 |
+
color: #fff;
|
125 |
+
background: #7ad03a;
|
126 |
+
display: inline-block;
|
127 |
+
text-decoration: none;
|
128 |
+
font-size: 13px;
|
129 |
+
line-height: 30px;
|
130 |
+
height: 26px;
|
131 |
+
margin-left: 5px;
|
132 |
+
padding: 0 10px 3px;
|
133 |
+
-webkit-border-radius: 3px;
|
134 |
+
border-radius: 3px;
|
135 |
+
}
|
136 |
+
|
137 |
+
.themeisle-sdk-license-activate-cta {
|
138 |
+
color: #fff;
|
139 |
+
background: #dd3d36;
|
140 |
+
display: inline-block;
|
141 |
+
text-decoration: none;
|
142 |
+
font-size: 13px;
|
143 |
+
line-height: 30px;
|
144 |
+
height: 26px;
|
145 |
+
margin-left: 5px;
|
146 |
+
padding: 0 10px 3px;
|
147 |
+
-webkit-border-radius: 3px;
|
148 |
+
border-radius: 3px;
|
149 |
+
}
|
150 |
+
button.button.themeisle-sdk-licenser-button-cta{
|
151 |
+
line-height: 26px;
|
152 |
+
height:29px;
|
153 |
+
vertical-align: top;
|
154 |
+
}
|
155 |
|
156 |
+
</style>
|
157 |
+
<?php
|
158 |
+
echo sprintf(
|
159 |
+
'<p>%s<input class="themeisle-sdk-license-input %s" type="text" id="%s_license" name="%s_license" value="%s" /><a class="%s">%s</a> <button name="%s_btn_trigger" class="button button-primary themeisle-sdk-licenser-button-cta" value="yes" type="submit" >%s</button></p><p class="description">%s</p>',
|
160 |
+
( ( 'valid' === $status ) ? sprintf( '<input type="hidden" value="%s" name="%s_license" />', $this->product->get_key(), $value ) : '' ),
|
161 |
+
( ( 'valid' === $status ) ? 'themeisle-sdk-text-input-valid' : '' ),
|
162 |
+
$this->product->get_key(),
|
163 |
+
( ( 'valid' === $status ) ? $this->product->get_key() . '_mask' : $this->product->get_key() ),
|
164 |
+
( ( 'valid' === $status ) ? ( str_repeat( '*', 30 ) . substr( $value, - 5 ) ) : $value ),
|
165 |
+
( 'valid' === $status ? 'themeisle-sdk-license-deactivate-cta' : 'themeisle-sdk-license-activate-cta' ),
|
166 |
+
( 'valid' === $status ? $valid_string : $invalid_string ),
|
167 |
+
$this->product->get_key(),
|
168 |
+
( 'valid' === $status ? $deactivate_string : $activate_string ),
|
169 |
+
sprintf( $license_message, '<a href="' . $this->get_api_url() . '">' . $this->get_distributor_name() . '</a> ', $this->product->get_type() )
|
170 |
+
);
|
171 |
|
172 |
}
|
173 |
|
226 |
$status = $this->get_license_status();
|
227 |
$no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No activations left for %s !!!. You need to upgrade your plan in order to use %s on more websites. Please ask the %s Staff for more details.' );
|
228 |
$no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
|
|
|
229 |
|
230 |
// No activations left for this license.
|
231 |
if ( 'valid' != $status && $this->check_activation() ) {
|
251 |
?>
|
252 |
<div class="error">
|
253 |
<p>
|
254 |
+
<strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->get_api_url(), admin_url( 'options-general.php' ) . '#' . $this->product->get_key() . '_license' ); ?> </strong>
|
255 |
</p>
|
256 |
</div>
|
257 |
<?php
|
259 |
return false;
|
260 |
}
|
261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
return true;
|
263 |
}
|
264 |
|
481 |
function update_nag() {
|
482 |
$theme = wp_get_theme( $this->product->get_slug() );
|
483 |
$api_response = get_transient( $this->product_key );
|
484 |
+
if ( false === $api_response || ! isset( $api_response->new_version ) ) {
|
485 |
return;
|
486 |
}
|
487 |
$update_url = wp_nonce_url( 'update.php?action=upgrade-theme&theme=' . urlencode( $this->product->get_slug() ), 'upgrade-theme_' . $this->product->get_slug() );
|
543 |
|
544 |
return false;
|
545 |
}
|
546 |
+
$update_data->sections = isset( $update_data->sections ) ? maybe_unserialize( $update_data->sections ) : null;
|
547 |
|
548 |
set_transient( $this->product_key, $update_data, 12 * HOUR_IN_SECONDS );
|
549 |
}
|
vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php
CHANGED
@@ -54,7 +54,9 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
54 |
'placeholder' => 'What\'s the plugin\'s name?',
|
55 |
),
|
56 |
'I could not get the plugin to work' => array(
|
57 |
-
'
|
|
|
|
|
58 |
),
|
59 |
'I no longer need the plugin' => array(
|
60 |
'id' => 5,
|
@@ -62,7 +64,9 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
62 |
'placeholder' => 'If you could improve one thing about our product, what would it be?',
|
63 |
),
|
64 |
'It\'s a temporary deactivation. I\'m just debugging an issue.' => array(
|
65 |
-
'
|
|
|
|
|
66 |
),
|
67 |
);
|
68 |
/**
|
@@ -75,7 +79,9 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
75 |
'id' => 7,
|
76 |
),
|
77 |
'It lacks options' => array(
|
78 |
-
'
|
|
|
|
|
79 |
),
|
80 |
'Is not working with a plugin that I need' => array(
|
81 |
'id' => 9,
|
@@ -95,7 +101,7 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
95 |
'Other' => array(
|
96 |
'id' => 999,
|
97 |
'type' => 'textarea',
|
98 |
-
'placeholder' => '
|
99 |
),
|
100 |
);
|
101 |
/**
|
@@ -103,13 +109,13 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
103 |
*
|
104 |
* @var string $heading_plugin The heading of the modal
|
105 |
*/
|
106 |
-
private $heading_plugin = '
|
107 |
/**
|
108 |
* Default heading for theme.
|
109 |
*
|
110 |
* @var string $heading_theme The heading of the modal
|
111 |
*/
|
112 |
-
private $heading_theme = '
|
113 |
/**
|
114 |
* Default submit button action text.
|
115 |
*
|
@@ -133,342 +139,338 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
133 |
return;
|
134 |
}
|
135 |
|
136 |
-
|
137 |
|
138 |
-
|
|
|
|
|
139 |
|
140 |
-
|
141 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
}
|
145 |
|
146 |
/**
|
147 |
-
*
|
148 |
-
*
|
149 |
-
* @param string $type The type of product.
|
150 |
-
* @param string $key The product key.
|
151 |
*/
|
152 |
-
function
|
153 |
-
$key = esc_attr( $key );
|
154 |
-
$suffix = Product::THEME_TYPE === $type ? 'theme-install-php' : 'plugins-php';
|
155 |
-
$icon = esc_attr( apply_filters( $this->product->get_slug() . '_uninstall_feedback_icon', '' ) );
|
156 |
-
if ( empty( $icon ) ) {
|
157 |
-
$icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDNkVDM0M4RkYxMzMxMUU3OEMyMkQ0NTIxRTVEQ0ZBRiIgeG1wTU06RG9jdW1lbnRJRD0ieG1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GRYTFmtowQcQv9HC9Hy6ye42WCfZeDz81NSxFpfVqZbXVU0qsCk5OvV8xdGSyWmdD9oAW5v1I2sjO3ZkL2V1fv90aoidJzypca2cc3Jf8a7pq/CHS8uwJfXnIvthW7FsbI74Uj3Sz9GOScC/fNqDXmQTRXS87mlFARnzYwnll3U1JZFmR7g7dba9Bjh1F4Ot4IKjSUY0vslKzs0CLle3qZ70GLS5c16c4rBqqL8kloN1PsqX9K9aea7+42gHEfaKeLDJz+MNRd/HjedfB+unPYnloQWg4F52Dh8qO8lHk+Jtv+INWSjpp+MarjAYvvnfVNxSXOrlJWP8pY07BaClRLUl//g8Fma7FJqmfVAU3Q9WMfrzFF9ZkdxQ5GTtGoN40lev4cfblVmbST0xBnmI/xHdhcVDo6A8++UlH0+t28qrlxxPVbnZnBOjYOy9OG2Hm6OZPz9/q6EHNG4eTlHuIQaPY7mzN+Yn1N9JMMq0mQ/icquHmpwLa/LXotHVPEalD5EP23l9VUc+fUc9UoOKQU/9x7OLSndelJfHwesckRqtKyVdnLbOjQ4hUPuATP+3v4r3n8LMAAsR90w+kkNLQAAAABJRU5ErkJggg==';
|
158 |
-
}
|
159 |
?>
|
160 |
-
<style
|
161 |
-
|
162 |
-
|
|
|
|
|
|
|
|
|
163 |
}
|
164 |
|
165 |
-
input[name="ti-deactivate-option"]:checked ~ div {
|
166 |
-
display: block;
|
167 |
-
}
|
168 |
|
169 |
-
|
170 |
-
|
|
|
171 |
}
|
172 |
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
color: #
|
178 |
-
font-
|
179 |
-
|
180 |
-
|
181 |
-
padding: 40px 40px 0 120px;
|
182 |
-
text-transform: uppercase;
|
183 |
-
width: 100%;
|
184 |
}
|
185 |
|
186 |
-
|
187 |
-
padding
|
188 |
-
margin: 0 1px;
|
189 |
}
|
190 |
|
191 |
-
|
192 |
-
width: 125px;
|
193 |
-
display: block;
|
194 |
margin: 0;
|
195 |
-
|
196 |
}
|
197 |
|
198 |
-
|
199 |
-
margin
|
200 |
-
margin-top: 2px;
|
201 |
-
padding-top: 0px;
|
202 |
}
|
203 |
|
204 |
-
|
205 |
-
|
206 |
-
margin-bottom: 0px;
|
207 |
}
|
208 |
|
209 |
-
|
|
|
|
|
210 |
display: none;
|
211 |
-
|
212 |
-
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container.<?php echo $key; ?>-container-disc-open #<?php echo $key; ?>-info-disclosure-content {
|
213 |
-
display: block;
|
214 |
-
position:absolute;
|
215 |
-
bottom: 100px;
|
216 |
}
|
217 |
|
218 |
-
|
219 |
-
|
|
|
|
|
|
|
220 |
}
|
221 |
|
222 |
-
|
223 |
-
|
224 |
-
}
|
225 |
-
body.<?php echo $suffix; ?> .<?php echo $key; ?>-container #<?php echo $key; ?>-info-disclosure {
|
226 |
-
position: absolute;
|
227 |
-
top: -50px;
|
228 |
-
font-size: 13px;
|
229 |
-
color: #8d9192;
|
230 |
-
font-weight: 400;
|
231 |
-
right: 40px;
|
232 |
}
|
233 |
|
234 |
-
|
235 |
-
|
236 |
-
padding: 30px 40px;
|
237 |
-
background-color: #eaeaea;
|
238 |
}
|
239 |
|
240 |
-
|
241 |
-
|
242 |
-
border: none;
|
243 |
-
box-shadow: none;
|
244 |
-
color: #ffffff;
|
245 |
-
font-size: 15px;
|
246 |
-
font-weight: 700;
|
247 |
-
height: auto;
|
248 |
-
line-height: 20px;
|
249 |
-
padding: 10px 15px;
|
250 |
-
text-transform: uppercase;
|
251 |
-
-webkit-transition: 0.3s ease;
|
252 |
-
-moz-transition: 0.3s ease;
|
253 |
-
-ms-transition: 0.3s ease;
|
254 |
-
-o-transition: 0.3s ease;
|
255 |
-
transition: 0.3s ease;
|
256 |
}
|
257 |
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
color: #8d9192;
|
262 |
-
font-weight: 400;
|
263 |
-
float: right;
|
264 |
-
line-height: 40px;
|
265 |
-
padding: 0;
|
266 |
-
text-decoration: underline;
|
267 |
-
text-shadow: none;
|
268 |
-
text-transform: none;
|
269 |
}
|
270 |
|
271 |
-
|
272 |
-
|
|
|
273 |
}
|
274 |
|
275 |
-
|
276 |
-
|
|
|
|
|
|
|
277 |
}
|
278 |
|
279 |
-
|
280 |
-
|
281 |
-
outline: none;
|
282 |
}
|
283 |
|
284 |
-
|
285 |
-
|
286 |
-
transform: translateY(0);
|
287 |
}
|
288 |
|
289 |
-
|
290 |
-
|
|
|
291 |
}
|
292 |
|
293 |
-
|
294 |
-
|
|
|
|
|
|
|
|
|
|
|
295 |
}
|
296 |
|
297 |
-
|
298 |
-
|
|
|
299 |
}
|
300 |
|
301 |
-
|
302 |
-
margin:
|
303 |
}
|
304 |
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
|
|
309 |
}
|
310 |
|
311 |
-
|
312 |
-
|
313 |
-
line-height: 28px;
|
314 |
-
font-size: 15px;
|
315 |
}
|
316 |
|
317 |
-
|
318 |
-
|
319 |
}
|
320 |
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
}
|
327 |
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
}
|
332 |
|
333 |
-
|
334 |
-
|
335 |
}
|
336 |
|
337 |
-
|
338 |
-
|
339 |
-
display: block;
|
340 |
-
float: none;
|
341 |
-
font-weight: 700;
|
342 |
-
line-height: 1;
|
343 |
-
padding: 0;
|
344 |
-
text-align: left;
|
345 |
-
width: 100%;
|
346 |
}
|
347 |
|
348 |
-
.<?php echo $key; ?>-container #TB_title #TB_ajaxWindowTitle span {
|
349 |
-
color: #8d9192;
|
350 |
-
display: block;
|
351 |
-
font-size: 15px;
|
352 |
-
font-weight: 400;
|
353 |
-
margin-top: 5px;
|
354 |
-
text-transform: none;
|
355 |
-
}
|
356 |
|
357 |
-
|
358 |
-
|
359 |
display: block;
|
360 |
position: absolute;
|
361 |
-
|
362 |
-
|
|
|
|
|
|
|
|
|
|
|
363 |
}
|
364 |
|
365 |
-
.
|
366 |
-
|
|
|
|
|
|
|
|
|
|
|
367 |
}
|
368 |
|
369 |
-
|
370 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
}
|
372 |
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
color: #
|
378 |
}
|
379 |
|
380 |
-
.<?php echo $key; ?>-container #TB_closeWindowButton .tb-close-icon {
|
381 |
-
text-align: right;
|
382 |
-
line-height: 25px;
|
383 |
-
width: 25px;
|
384 |
-
height: 25px;
|
385 |
-
}
|
386 |
|
387 |
-
|
388 |
-
|
389 |
-
outline: none;
|
390 |
}
|
391 |
|
392 |
-
|
393 |
-
|
394 |
}
|
395 |
|
396 |
-
body
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
bottom: 0
|
402 |
-
right: 0
|
403 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
}
|
405 |
</style>
|
406 |
<?php
|
407 |
-
do_action( $this->product->get_key() . '_uninstall_feedback_after_css' );
|
408 |
}
|
409 |
|
410 |
/**
|
411 |
-
*
|
412 |
-
*
|
413 |
-
* @param string $type The type of product.
|
414 |
-
* @param string $key The product key.
|
415 |
-
* @param string $src The url that will hijack the deactivate button url.
|
416 |
*/
|
417 |
-
function
|
418 |
-
$
|
419 |
-
$key = esc_attr( $key );
|
420 |
-
$heading = apply_filters( $this->product->get_key() . '_feedback_deactivate_heading', $heading );
|
421 |
?>
|
422 |
<script type="text/javascript" id="ti-deactivate-js">
|
423 |
(function ($) {
|
424 |
$(document).ready(function () {
|
425 |
-
|
426 |
-
|
427 |
-
<?php
|
428 |
-
if ( 'theme' === $type ) {
|
429 |
-
?>
|
430 |
-
auto_trigger = true;
|
431 |
-
if ($('a.ti-auto-anchor').length == 0) {
|
432 |
-
$('body').append($('<a class="ti-auto-anchor" href=""></a>'));
|
433 |
-
}
|
434 |
-
target_element = 'a.ti-auto-anchor';
|
435 |
-
<?php
|
436 |
-
}
|
437 |
-
?>
|
438 |
|
439 |
-
|
440 |
-
setTimeout(function () {
|
441 |
-
$('a.ti-auto-anchor').trigger('click');
|
442 |
-
}, <?php echo self::AUTO_TRIGGER_DEACTIVATE_WINDOW_SECONDS * 1000; ?> );
|
443 |
-
}
|
444 |
-
$(document).on('thickbox:removed', function () {
|
445 |
-
$.post(ajaxurl, {
|
446 |
-
'action': '<?php echo $key . '_uninstall_feedback'; ?>',
|
447 |
-
'nonce': '<?php echo wp_create_nonce( (string) __CLASS__ ); ?>',
|
448 |
-
'type': '<?php echo $type; ?>',
|
449 |
-
'key': '<?php echo $key; ?>'
|
450 |
-
});
|
451 |
-
});
|
452 |
-
var href = $(target_element).attr('href');
|
453 |
-
$('#<?php echo $key; ?>ti-deactivate-no').attr('data-ti-action', href).on('click', function (e) {
|
454 |
e.preventDefault();
|
455 |
-
|
456 |
-
|
457 |
-
$('body').unbind('thickbox:removed');
|
458 |
-
tb_remove();
|
459 |
-
var redirect = $(this).attr('data-ti-action');
|
460 |
-
if (redirect !== '') {
|
461 |
-
location.href = redirect;
|
462 |
-
}
|
463 |
});
|
464 |
|
465 |
-
$('
|
466 |
-
|
|
|
|
|
467 |
|
468 |
-
|
469 |
-
|
|
|
|
|
470 |
$('#<?php echo $key; ?>ti-deactivate-yes').attr('disabled', 'disabled');
|
471 |
-
radio.parent().find('textarea').on('keyup', function (
|
472 |
if ($(this).val().length === 0) {
|
473 |
$('#<?php echo $key; ?>ti-deactivate-yes').attr('disabled', 'disabled');
|
474 |
} else {
|
@@ -479,127 +481,236 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
479 |
$('#<?php echo $key; ?>ti-deactivate-yes').removeAttr('disabled');
|
480 |
}
|
481 |
});
|
482 |
-
|
483 |
-
|
484 |
-
return false;
|
485 |
-
});
|
486 |
-
$('#<?php echo $key; ?>ti-deactivate-yes').attr('data-ti-action', href).on('click', function (e) {
|
487 |
e.preventDefault();
|
488 |
e.stopPropagation();
|
|
|
|
|
|
|
489 |
$.post(ajaxurl, {
|
490 |
-
'action': '<?php echo $key . '_uninstall_feedback'; ?>',
|
491 |
'nonce': '<?php echo wp_create_nonce( (string) __CLASS__ ); ?>',
|
492 |
-
'id':
|
493 |
-
'msg':
|
494 |
-
'type': '
|
|
|
495 |
});
|
496 |
-
|
497 |
-
|
498 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
} else {
|
500 |
-
$('
|
501 |
-
tb_remove();
|
502 |
}
|
503 |
});
|
504 |
|
505 |
-
$(
|
506 |
-
|
507 |
-
|
508 |
-
|
|
|
|
|
|
|
|
|
|
|
509 |
});
|
510 |
|
511 |
-
function
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
}
|
521 |
-
}
|
522 |
-
}
|
523 |
});
|
524 |
})(jQuery);
|
|
|
525 |
</script>
|
526 |
<?php
|
527 |
-
|
528 |
do_action( $this->product->get_key() . '_uninstall_feedback_after_js' );
|
529 |
}
|
530 |
|
531 |
/**
|
532 |
-
*
|
533 |
*
|
534 |
-
* @
|
535 |
-
* @param string $key The product key.
|
536 |
*/
|
537 |
-
function
|
538 |
-
$options = Product::PLUGIN_TYPE === $type ? $this->options_plugin : $this->options_theme;
|
539 |
-
$button_cancel = Product::PLUGIN_TYPE === $type ? $this->button_cancel : 'Skip';
|
540 |
-
$button_submit = Product::PLUGIN_TYPE === $type ? $this->button_submit : 'Submit';
|
541 |
-
$options = $this->randomize_options( apply_filters( $this->product->get_key() . '_feedback_deactivate_options', $options ) );
|
542 |
-
$button_submit = apply_filters( $this->product->get_key() . '_feedback_deactivate_button_submit', $button_submit );
|
543 |
-
$button_cancel = apply_filters( $this->product->get_key() . '_feedback_deactivate_button_cancel', $button_cancel );
|
544 |
-
|
545 |
-
$options += $this->other;
|
546 |
-
|
547 |
-
$list = '';
|
548 |
-
foreach ( $options as $title => $attributes ) {
|
549 |
-
$id = $attributes['id'];
|
550 |
-
$list .= '<li ti-option-id="' . $id . '"><input type="radio" name="ti-deactivate-option" id="' . $key . $id . '"><label for="' . $key . $id . '">' . str_replace( '{theme}', $this->product->get_name(), $title ) . '</label>';
|
551 |
-
if ( array_key_exists( 'type', $attributes ) ) {
|
552 |
-
$list .= '<div>';
|
553 |
-
$placeholder = array_key_exists( 'placeholder', $attributes ) ? $attributes['placeholder'] : '';
|
554 |
-
switch ( $attributes['type'] ) {
|
555 |
-
case 'text':
|
556 |
-
$list .= '<textarea style="width: 100%" rows="1" name="comments" placeholder="' . $placeholder . '"></textarea>';
|
557 |
-
break;
|
558 |
-
case 'textarea':
|
559 |
-
$list .= '<textarea style="width: 100%" rows="2" name="comments" placeholder="' . $placeholder . '"></textarea>';
|
560 |
-
break;
|
561 |
-
}
|
562 |
-
$list .= '</div>';
|
563 |
-
}
|
564 |
-
$list .= '</li>';
|
565 |
-
}
|
566 |
-
|
567 |
$disclosure_new_labels = apply_filters( $this->product->get_slug() . '_themeisle_sdk_disclosure_content_labels', [], $this->product );
|
568 |
$disclosure_labels = array_merge(
|
569 |
[
|
570 |
'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No domain name, email address or IP addresses are transmited after you submit the survey.',
|
571 |
'items' => [
|
572 |
sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ),
|
573 |
-
sprintf( '%s Uninstall reason %s %s Selected
|
574 |
],
|
575 |
],
|
576 |
$disclosure_new_labels
|
577 |
);
|
578 |
|
579 |
-
$
|
580 |
-
$info_disclosure_content = '<div id="' . $this->product->get_key() . '-info-disclosure-content"><p>' . wp_kses_post( $disclosure_labels['title'] ) . '</p><ul>';
|
581 |
foreach ( $disclosure_labels['items'] as $disclosure_item ) {
|
582 |
$info_disclosure_content .= sprintf( '<li>%s</li>', wp_kses_post( $disclosure_item ) );
|
583 |
}
|
584 |
$info_disclosure_content .= '</ul></div>';
|
585 |
|
586 |
-
return
|
587 |
-
'<div id="' . $this->product->get_key() . '"><ul class="ti-list">' . $list . '</ul>'
|
588 |
-
. $info_disclosure_content
|
589 |
-
. '<div class="actions">'
|
590 |
-
. get_submit_button(
|
591 |
-
$button_submit,
|
592 |
-
'secondary',
|
593 |
-
$this->product->get_key() . 'ti-deactivate-yes',
|
594 |
-
false,
|
595 |
-
array(
|
596 |
-
'data-after-text' => $button_submit,
|
597 |
-
'disabled' => true,
|
598 |
-
)
|
599 |
-
)
|
600 |
-
. wp_kses_post( $info_disclosure_link )
|
601 |
-
. get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
|
602 |
-
. '</div></div>';
|
603 |
}
|
604 |
|
605 |
/**
|
54 |
'placeholder' => 'What\'s the plugin\'s name?',
|
55 |
),
|
56 |
'I could not get the plugin to work' => array(
|
57 |
+
'type' => 'textarea',
|
58 |
+
'placeholder' => 'What problem are you experiencing?',
|
59 |
+
'id' => 4,
|
60 |
),
|
61 |
'I no longer need the plugin' => array(
|
62 |
'id' => 5,
|
64 |
'placeholder' => 'If you could improve one thing about our product, what would it be?',
|
65 |
),
|
66 |
'It\'s a temporary deactivation. I\'m just debugging an issue.' => array(
|
67 |
+
'type' => 'textarea',
|
68 |
+
'placeholder' => 'What problem are you experiencing?',
|
69 |
+
'id' => 6,
|
70 |
),
|
71 |
);
|
72 |
/**
|
79 |
'id' => 7,
|
80 |
),
|
81 |
'It lacks options' => array(
|
82 |
+
'placeholder' => 'What option is missing?',
|
83 |
+
'type' => 'text',
|
84 |
+
'id' => 8,
|
85 |
),
|
86 |
'Is not working with a plugin that I need' => array(
|
87 |
'id' => 9,
|
101 |
'Other' => array(
|
102 |
'id' => 999,
|
103 |
'type' => 'textarea',
|
104 |
+
'placeholder' => 'What can we do better?',
|
105 |
),
|
106 |
);
|
107 |
/**
|
109 |
*
|
110 |
* @var string $heading_plugin The heading of the modal
|
111 |
*/
|
112 |
+
private $heading_plugin = 'What’s wrong?';
|
113 |
/**
|
114 |
* Default heading for theme.
|
115 |
*
|
116 |
* @var string $heading_theme The heading of the modal
|
117 |
*/
|
118 |
+
private $heading_theme = 'What does not work for you in {theme}?';
|
119 |
/**
|
120 |
* Default submit button action text.
|
121 |
*
|
139 |
return;
|
140 |
}
|
141 |
|
142 |
+
$this->add_feedback_popup_style();
|
143 |
|
144 |
+
if ( $this->product->get_type() === 'theme' ) {
|
145 |
+
$this->add_theme_feedback_drawer_js();
|
146 |
+
$this->render_theme_feedback_popup();
|
147 |
|
148 |
+
return;
|
149 |
+
}
|
150 |
+
$this->add_plugin_feedback_popup_js();
|
151 |
+
$this->render_plugin_feedback_popup();
|
152 |
+
}
|
153 |
+
|
154 |
+
/**
|
155 |
+
* Render theme feedback drawer.
|
156 |
+
*/
|
157 |
+
private function render_theme_feedback_popup() {
|
158 |
+
$heading = str_replace( '{theme}', $this->product->get_name(), $this->heading_theme );
|
159 |
+
$button_submit = apply_filters( $this->product->get_key() . '_feedback_deactivate_button_submit', 'Submit' );
|
160 |
+
$options = $this->options_theme;
|
161 |
+
$options = $this->randomize_options( apply_filters( $this->product->get_key() . '_feedback_deactivate_options', $options ) );
|
162 |
+
$info_disclosure_link = '<a href="#" class="info-disclosure-link">' . apply_filters( $this->product->get_slug() . '_themeisle_sdk_info_collect_cta', 'What info do we collect?' ) . '</a>';
|
163 |
+
|
164 |
+
$options += $this->other;
|
165 |
|
166 |
+
?>
|
167 |
+
<div class="ti-theme-uninstall-feedback-drawer ti-feedback">
|
168 |
+
<div class="popup--header">
|
169 |
+
<h5><?php echo wp_kses( $heading, array( 'span' => true ) ); ?> </h5>
|
170 |
+
<button class="toggle"><span>×</span></button>
|
171 |
+
</div><!--/.popup--header-->
|
172 |
+
<div class="popup--body">
|
173 |
+
<?php $this->render_options_list( $options ); ?>
|
174 |
+
</div><!--/.popup--body-->
|
175 |
+
<div class="popup--footer">
|
176 |
+
<div class="actions">
|
177 |
+
<?php
|
178 |
+
echo wp_kses_post( $info_disclosure_link );
|
179 |
+
echo wp_kses_post( $this->get_disclosure_labels() );
|
180 |
+
echo '<div class="buttons">';
|
181 |
+
echo get_submit_button(
|
182 |
+
$button_submit,
|
183 |
+
'secondary',
|
184 |
+
$this->product->get_key() . 'ti-deactivate-yes',
|
185 |
+
false,
|
186 |
+
array(
|
187 |
+
'data-after-text' => $button_submit,
|
188 |
+
'disabled' => true,
|
189 |
+
)
|
190 |
+
);
|
191 |
+
echo '</div>';
|
192 |
+
?>
|
193 |
+
</div><!--/.actions-->
|
194 |
+
</div><!--/.popup--footer-->
|
195 |
+
</div>
|
196 |
+
<?php
|
197 |
}
|
198 |
|
199 |
/**
|
200 |
+
* Add feedback styles.
|
|
|
|
|
|
|
201 |
*/
|
202 |
+
private function add_feedback_popup_style() {
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
?>
|
204 |
+
<style>
|
205 |
+
.ti-feedback {
|
206 |
+
background: #fff;
|
207 |
+
max-width: 400px;
|
208 |
+
z-index: 10000;
|
209 |
+
box-shadow: 0 0 15px -5px rgba(0, 0, 0, .5);
|
210 |
+
transition: all .3s ease-out;
|
211 |
}
|
212 |
|
|
|
|
|
|
|
213 |
|
214 |
+
.ti-feedback .popup--header {
|
215 |
+
position: relative;
|
216 |
+
background-color: #23A1CE;
|
217 |
}
|
218 |
|
219 |
+
.ti-feedback .popup--header h5 {
|
220 |
+
margin: 0;
|
221 |
+
font-size: 16px;
|
222 |
+
padding: 15px;
|
223 |
+
color: #fff;
|
224 |
+
font-weight: 600;
|
225 |
+
text-align: center;
|
226 |
+
letter-spacing: .3px;
|
|
|
|
|
|
|
227 |
}
|
228 |
|
229 |
+
.ti-feedback .popup--body {
|
230 |
+
padding: 15px;
|
|
|
231 |
}
|
232 |
|
233 |
+
.ti-feedback .popup--form {
|
|
|
|
|
234 |
margin: 0;
|
235 |
+
font-size: 13px;
|
236 |
}
|
237 |
|
238 |
+
.ti-feedback .popup--form input[type="radio"] {
|
239 |
+
margin: 0 10px 0 0;
|
|
|
|
|
240 |
}
|
241 |
|
242 |
+
.ti-feedback .popup--form input[type="radio"]:checked ~ textarea {
|
243 |
+
display: block;
|
|
|
244 |
}
|
245 |
|
246 |
+
.ti-feedback .popup--form textarea {
|
247 |
+
width: 100%;
|
248 |
+
margin: 10px 0 0;
|
249 |
display: none;
|
250 |
+
max-height: 150px;
|
|
|
|
|
|
|
|
|
251 |
}
|
252 |
|
253 |
+
.ti-feedback li {
|
254 |
+
display: flex;
|
255 |
+
align-items: center;
|
256 |
+
margin-bottom: 15px;
|
257 |
+
flex-wrap: wrap;
|
258 |
}
|
259 |
|
260 |
+
.ti-feedback li label {
|
261 |
+
max-width: 90%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
}
|
263 |
|
264 |
+
.ti-feedback li:last-child {
|
265 |
+
margin-bottom: 0;
|
|
|
|
|
266 |
}
|
267 |
|
268 |
+
.ti-feedback .popup--footer {
|
269 |
+
padding: 0 15px 15px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
}
|
271 |
|
272 |
+
.ti-feedback .actions {
|
273 |
+
display: flex;
|
274 |
+
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
}
|
276 |
|
277 |
+
.info-disclosure-link {
|
278 |
+
width: 100%;
|
279 |
+
margin-bottom: 15px;
|
280 |
}
|
281 |
|
282 |
+
.ti-feedback .info-disclosure-content {
|
283 |
+
max-height: 0;
|
284 |
+
overflow: hidden;
|
285 |
+
width: 100%;
|
286 |
+
transition: .3s ease;
|
287 |
}
|
288 |
|
289 |
+
.ti-feedback .info-disclosure-content.active {
|
290 |
+
max-height: 300px;
|
|
|
291 |
}
|
292 |
|
293 |
+
.ti-feedback .info-disclosure-content p {
|
294 |
+
margin: 0;
|
|
|
295 |
}
|
296 |
|
297 |
+
.ti-feedback .info-disclosure-content ul {
|
298 |
+
margin: 10px 0;
|
299 |
+
border-radius: 3px;
|
300 |
}
|
301 |
|
302 |
+
.ti-feedback .info-disclosure-content ul li {
|
303 |
+
display: flex;
|
304 |
+
align-items: center;
|
305 |
+
justify-content: space-between;
|
306 |
+
margin-bottom: 0;
|
307 |
+
padding: 5px 0;
|
308 |
+
border-bottom: 1px solid #ccc;
|
309 |
}
|
310 |
|
311 |
+
.ti-feedback .buttons {
|
312 |
+
display: flex;
|
313 |
+
width: 100%;
|
314 |
}
|
315 |
|
316 |
+
.ti-feedback .buttons input:last-child {
|
317 |
+
margin-left: auto;
|
318 |
}
|
319 |
|
320 |
+
.ti-theme-uninstall-feedback-drawer {
|
321 |
+
border-top-left-radius: 5px;
|
322 |
+
position: fixed;
|
323 |
+
top: 100%;
|
324 |
+
right: 15px;
|
325 |
}
|
326 |
|
327 |
+
.ti-theme-uninstall-feedback-drawer.active {
|
328 |
+
transform: translateY(-100%);
|
|
|
|
|
329 |
}
|
330 |
|
331 |
+
.ti-theme-uninstall-feedback-drawer .popup--header {
|
332 |
+
border-top-left-radius: 5px;
|
333 |
}
|
334 |
|
335 |
+
.ti-theme-uninstall-feedback-drawer .popup--header .toggle {
|
336 |
+
position: absolute;
|
337 |
+
padding: 3px 0;
|
338 |
+
width: 30px;
|
339 |
+
top: -26px;
|
340 |
+
right: 0;
|
341 |
+
cursor: pointer;
|
342 |
+
border-top-left-radius: 5px;
|
343 |
+
border-top-right-radius: 5px;
|
344 |
+
font-size: 20px;
|
345 |
+
background-color: #23A1CE;
|
346 |
+
color: #fff;
|
347 |
+
border: none;
|
348 |
+
line-height: 20px;
|
349 |
}
|
350 |
|
351 |
+
.ti-theme-uninstall-feedback-drawer .toggle span {
|
352 |
+
margin: 0;
|
353 |
+
display: inline-block;
|
354 |
}
|
355 |
|
356 |
+
.ti-theme-uninstall-feedback-drawer:not(.active) .toggle span {
|
357 |
+
transform: rotate(45deg);
|
358 |
}
|
359 |
|
360 |
+
.ti-theme-uninstall-feedback-drawer .popup--header .toggle:hover {
|
361 |
+
background-color: #1880a5;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
}
|
363 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
|
365 |
+
.ti-plugin-uninstall-feedback-popup .popup--header:before {
|
366 |
+
content: "";
|
367 |
display: block;
|
368 |
position: absolute;
|
369 |
+
border: 20px solid #23A1CE;
|
370 |
+
left: -10px;
|
371 |
+
top: 50%;
|
372 |
+
border-top: 20px solid transparent;
|
373 |
+
border-bottom: 20px solid transparent;
|
374 |
+
border-left: 0;
|
375 |
+
transform: translateY(-50%);
|
376 |
}
|
377 |
|
378 |
+
.ti-plugin-uninstall-feedback-popup {
|
379 |
+
display: none;
|
380 |
+
position: absolute;
|
381 |
+
white-space: normal;
|
382 |
+
width: 400px;
|
383 |
+
left: 100%;
|
384 |
+
top: -15px;
|
385 |
}
|
386 |
|
387 |
+
.ti-plugin-uninstall-feedback-popup.sending-feedback .popup--body i {
|
388 |
+
animation: rotation 2s infinite linear;
|
389 |
+
display: block;
|
390 |
+
float: none;
|
391 |
+
align-items: center;
|
392 |
+
width: 100%;
|
393 |
+
margin: 0 auto;
|
394 |
+
height: 100%;
|
395 |
+
background: transparent;
|
396 |
+
padding: 0;
|
397 |
}
|
398 |
|
399 |
+
.ti-plugin-uninstall-feedback-popup.sending-feedback .popup--body i:before {
|
400 |
+
padding: 0;
|
401 |
+
background: transparent;
|
402 |
+
box-shadow: none;
|
403 |
+
color: #b4b9be
|
404 |
}
|
405 |
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
|
407 |
+
.ti-plugin-uninstall-feedback-popup.active {
|
408 |
+
display: block;
|
|
|
409 |
}
|
410 |
|
411 |
+
tr[data-plugin^="<?php echo $this->product->get_slug(); ?>"] .deactivate {
|
412 |
+
position: relative;
|
413 |
}
|
414 |
|
415 |
+
body.ti-feedback-open .ti-feedback-overlay {
|
416 |
+
content: "";
|
417 |
+
display: block;
|
418 |
+
background-color: rgba(0, 0, 0, 0.5);
|
419 |
+
top: 0;
|
420 |
+
bottom: 0;
|
421 |
+
right: 0;
|
422 |
+
left: 0;
|
423 |
+
z-index: 10000;
|
424 |
+
position: fixed;
|
425 |
+
}
|
426 |
+
|
427 |
+
@media (max-width: 768px) {
|
428 |
+
.ti-plugin-uninstall-feedback-popup {
|
429 |
+
position: fixed;
|
430 |
+
max-width: 100%;
|
431 |
+
margin: 0 auto;
|
432 |
+
left: 50%;
|
433 |
+
top: 50px;
|
434 |
+
transform: translateX(-50%);
|
435 |
+
}
|
436 |
+
|
437 |
+
.ti-plugin-uninstall-feedback-popup .popup--header:before {
|
438 |
+
display: none;
|
439 |
+
}
|
440 |
}
|
441 |
</style>
|
442 |
<?php
|
|
|
443 |
}
|
444 |
|
445 |
/**
|
446 |
+
* Theme feedback drawer JS.
|
|
|
|
|
|
|
|
|
447 |
*/
|
448 |
+
private function add_theme_feedback_drawer_js() {
|
449 |
+
$key = $this->product->get_key();
|
|
|
|
|
450 |
?>
|
451 |
<script type="text/javascript" id="ti-deactivate-js">
|
452 |
(function ($) {
|
453 |
$(document).ready(function () {
|
454 |
+
setTimeout(function () {
|
455 |
+
$('.ti-theme-uninstall-feedback-drawer').addClass('active');
|
456 |
+
}, <?php echo absint( self::AUTO_TRIGGER_DEACTIVATE_WINDOW_SECONDS * 1000 ); ?> );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
|
458 |
+
$('.ti-theme-uninstall-feedback-drawer .toggle').on('click', function (e) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
e.preventDefault();
|
460 |
+
$('.ti-theme-uninstall-feedback-drawer').toggleClass('active');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
});
|
462 |
|
463 |
+
$('.info-disclosure-link').on('click', function (e) {
|
464 |
+
e.preventDefault();
|
465 |
+
$('.info-disclosure-content').toggleClass('active');
|
466 |
+
});
|
467 |
|
468 |
+
$('.ti-theme-uninstall-feedback-drawer input[type="radio"]').on('change', function () {
|
469 |
+
var radio = $(this);
|
470 |
+
if (radio.parent().find('textarea').length > 0 &&
|
471 |
+
radio.parent().find('textarea').val().length === 0) {
|
472 |
$('#<?php echo $key; ?>ti-deactivate-yes').attr('disabled', 'disabled');
|
473 |
+
radio.parent().find('textarea').on('keyup', function (e) {
|
474 |
if ($(this).val().length === 0) {
|
475 |
$('#<?php echo $key; ?>ti-deactivate-yes').attr('disabled', 'disabled');
|
476 |
} else {
|
481 |
$('#<?php echo $key; ?>ti-deactivate-yes').removeAttr('disabled');
|
482 |
}
|
483 |
});
|
484 |
+
|
485 |
+
$('#<?php echo $key; ?>ti-deactivate-yes').on('click', function (e) {
|
|
|
|
|
|
|
486 |
e.preventDefault();
|
487 |
e.stopPropagation();
|
488 |
+
|
489 |
+
var selectedOption = $(
|
490 |
+
'.ti-theme-uninstall-feedback-drawer input[name="ti-deactivate-option"]:checked');
|
491 |
$.post(ajaxurl, {
|
492 |
+
'action': '<?php echo esc_attr( $key ) . '_uninstall_feedback'; ?>',
|
493 |
'nonce': '<?php echo wp_create_nonce( (string) __CLASS__ ); ?>',
|
494 |
+
'id': selectedOption.parent().attr('ti-option-id'),
|
495 |
+
'msg': selectedOption.parent().find('textarea').val(),
|
496 |
+
'type': 'theme',
|
497 |
+
'key': '<?php echo esc_attr( $key ); ?>'
|
498 |
});
|
499 |
+
$('.ti-theme-uninstall-feedback-drawer').fadeOut();
|
500 |
+
});
|
501 |
+
});
|
502 |
+
})(jQuery);
|
503 |
+
|
504 |
+
</script>
|
505 |
+
<?php
|
506 |
+
do_action( $this->product->get_key() . '_uninstall_feedback_after_js' );
|
507 |
+
}
|
508 |
+
|
509 |
+
/**
|
510 |
+
* Render the options list.
|
511 |
+
*
|
512 |
+
* @param array $options the options for the feedback form.
|
513 |
+
*/
|
514 |
+
private function render_options_list( $options ) {
|
515 |
+
$key = $this->product->get_key();
|
516 |
+
$inputs_row_map = [
|
517 |
+
'text' => 1,
|
518 |
+
'textarea' => 2,
|
519 |
+
];
|
520 |
+
?>
|
521 |
+
<ul class="popup--form">
|
522 |
+
<?php foreach ( $options as $title => $attributes ) { ?>
|
523 |
+
<li ti-option-id="<?php echo esc_attr( $attributes['id'] ); ?>">
|
524 |
+
<input type="radio" name="ti-deactivate-option" id="<?php echo esc_attr( $key . $attributes['id'] ); ?>">
|
525 |
+
<label for="<?php echo esc_attr( $key . $attributes['id'] ); ?>">
|
526 |
+
<?php echo str_replace( '{theme}', $this->product->get_name(), $title ); ?>
|
527 |
+
</label>
|
528 |
+
<?php
|
529 |
+
if ( array_key_exists( 'type', $attributes ) ) {
|
530 |
+
$placeholder = array_key_exists( 'placeholder', $attributes ) ? $attributes['placeholder'] : '';
|
531 |
+
echo '<textarea width="100%" rows="' . $inputs_row_map[ $attributes['type'] ] . '" name="comments" placeholder="' . esc_attr( $placeholder ) . '"></textarea>';
|
532 |
+
}
|
533 |
+
?>
|
534 |
+
</li>
|
535 |
+
<?php } ?>
|
536 |
+
</ul>
|
537 |
+
<?php
|
538 |
+
}
|
539 |
+
|
540 |
+
/**
|
541 |
+
* Render plugin feedback popup.
|
542 |
+
*/
|
543 |
+
private function render_plugin_feedback_popup() {
|
544 |
+
$button_cancel = apply_filters( $this->product->get_key() . '_feedback_deactivate_button_cancel', $this->button_cancel );
|
545 |
+
$button_submit = apply_filters( $this->product->get_key() . '_feedback_deactivate_button_submit', $this->button_submit );
|
546 |
+
$options = $this->randomize_options( apply_filters( $this->product->get_key() . '_feedback_deactivate_options', $this->options_plugin ) );
|
547 |
+
$info_disclosure_link = '<a href="#" class="info-disclosure-link">' . apply_filters( $this->product->get_slug() . '_themeisle_sdk_info_collect_cta', 'What info do we collect?' ) . '</a>';
|
548 |
+
|
549 |
+
$options += $this->other;
|
550 |
+
?>
|
551 |
+
<div class="ti-plugin-uninstall-feedback-popup ti-feedback" id="<?php echo esc_attr( $this->product->get_slug() . '_uninstall_feedback_popup' ); ?>">
|
552 |
+
<div class="popup--header">
|
553 |
+
<h5><?php echo wp_kses( $this->heading_plugin, array( 'span' => true ) ); ?> </h5>
|
554 |
+
</div><!--/.popup--header-->
|
555 |
+
<div class="popup--body">
|
556 |
+
<?php $this->render_options_list( $options ); ?>
|
557 |
+
</div><!--/.popup--body-->
|
558 |
+
<div class="popup--footer">
|
559 |
+
<div class="actions">
|
560 |
+
<?php
|
561 |
+
echo wp_kses_post( $info_disclosure_link );
|
562 |
+
echo wp_kses_post( $this->get_disclosure_labels() );
|
563 |
+
echo '<div class="buttons">';
|
564 |
+
echo get_submit_button(
|
565 |
+
$button_cancel,
|
566 |
+
'secondary',
|
567 |
+
$this->product->get_key() . 'ti-deactivate-no',
|
568 |
+
false
|
569 |
+
);
|
570 |
+
echo get_submit_button(
|
571 |
+
$button_submit,
|
572 |
+
'primary',
|
573 |
+
$this->product->get_key() . 'ti-deactivate-yes',
|
574 |
+
false,
|
575 |
+
array(
|
576 |
+
'data-after-text' => $button_submit,
|
577 |
+
'disabled' => true,
|
578 |
+
)
|
579 |
+
);
|
580 |
+
echo '</div>';
|
581 |
+
?>
|
582 |
+
</div><!--/.actions-->
|
583 |
+
</div><!--/.popup--footer-->
|
584 |
+
</div>
|
585 |
+
|
586 |
+
<?php
|
587 |
+
}
|
588 |
+
|
589 |
+
/**
|
590 |
+
* Add plugin feedback popup JS
|
591 |
+
*/
|
592 |
+
private function add_plugin_feedback_popup_js() {
|
593 |
+
$popup_id = '#' . $this->product->get_slug() . '_uninstall_feedback_popup';
|
594 |
+
$key = $this->product->get_key();
|
595 |
+
?>
|
596 |
+
<script type="text/javascript" id="ti-deactivate-js">
|
597 |
+
(function ($) {
|
598 |
+
$(document).ready(function () {
|
599 |
+
var targetElement = 'tr[data-plugin^="<?php echo $this->product->get_slug(); ?>/"] span.deactivate a';
|
600 |
+
var redirectUrl = $(targetElement).attr('href');
|
601 |
+
if ($('.ti-feedback-overlay').length === 0) {
|
602 |
+
$('body').prepend('<div class="ti-feedback-overlay"></div>');
|
603 |
+
}
|
604 |
+
$('<?php echo esc_attr( $popup_id ); ?> ').appendTo($(targetElement).parent());
|
605 |
+
|
606 |
+
$(targetElement).on('click', function (e) {
|
607 |
+
e.preventDefault();
|
608 |
+
$('<?php echo esc_attr( $popup_id ); ?> ').addClass('active');
|
609 |
+
$('body').addClass('ti-feedback-open');
|
610 |
+
$('.ti-feedback-overlay').on('click', function () {
|
611 |
+
$('<?php echo esc_attr( $popup_id ); ?> ').removeClass('active');
|
612 |
+
$('body').removeClass('ti-feedback-open');
|
613 |
+
});
|
614 |
+
});
|
615 |
+
|
616 |
+
$('<?php echo esc_attr( $popup_id ); ?> .info-disclosure-link').on('click', function (e) {
|
617 |
+
e.preventDefault();
|
618 |
+
$(this).parent().find('.info-disclosure-content').toggleClass('active');
|
619 |
+
});
|
620 |
+
|
621 |
+
$('<?php echo esc_attr( $popup_id ); ?> input[type="radio"]').on('change', function () {
|
622 |
+
var radio = $(this);
|
623 |
+
if (radio.parent().find('textarea').length > 0 &&
|
624 |
+
radio.parent().find('textarea').val().length === 0) {
|
625 |
+
$('<?php echo esc_attr( $popup_id ); ?> #<?php echo $key; ?>ti-deactivate-yes').attr('disabled', 'disabled');
|
626 |
+
radio.parent().find('textarea').on('keyup', function (e) {
|
627 |
+
if ($(this).val().length === 0) {
|
628 |
+
$('<?php echo esc_attr( $popup_id ); ?> #<?php echo $key; ?>ti-deactivate-yes').attr('disabled', 'disabled');
|
629 |
+
} else {
|
630 |
+
$('<?php echo esc_attr( $popup_id ); ?> #<?php echo $key; ?>ti-deactivate-yes').removeAttr('disabled');
|
631 |
+
}
|
632 |
+
});
|
633 |
} else {
|
634 |
+
$('<?php echo esc_attr( $popup_id ); ?> #<?php echo $key; ?>ti-deactivate-yes').removeAttr('disabled');
|
|
|
635 |
}
|
636 |
});
|
637 |
|
638 |
+
$('<?php echo esc_attr( $popup_id ); ?> #<?php echo $key; ?>ti-deactivate-no').on('click', function (e) {
|
639 |
+
e.preventDefault();
|
640 |
+
e.stopPropagation();
|
641 |
+
$(targetElement).unbind('click');
|
642 |
+
$('body').removeClass('ti-feedback-open');
|
643 |
+
$('<?php echo esc_attr( $popup_id ); ?>').remove();
|
644 |
+
if (redirectUrl !== '') {
|
645 |
+
location.href = redirectUrl;
|
646 |
+
}
|
647 |
});
|
648 |
|
649 |
+
$('<?php echo esc_attr( $popup_id ); ?> #<?php echo $key; ?>ti-deactivate-yes').on('click', function (e) {
|
650 |
+
e.preventDefault();
|
651 |
+
e.stopPropagation();
|
652 |
+
$(targetElement).unbind('click');
|
653 |
+
var selectedOption = $(
|
654 |
+
'<?php echo esc_attr( $popup_id ); ?> input[name="ti-deactivate-option"]:checked');
|
655 |
+
var data = {
|
656 |
+
'action': '<?php echo esc_attr( $key ) . '_uninstall_feedback'; ?>',
|
657 |
+
'nonce': '<?php echo wp_create_nonce( (string) __CLASS__ ); ?>',
|
658 |
+
'id': selectedOption.parent().attr('ti-option-id'),
|
659 |
+
'msg': selectedOption.parent().find('textarea').val(),
|
660 |
+
'type': 'plugin',
|
661 |
+
'key': '<?php echo esc_attr( $key ); ?>'
|
662 |
+
};
|
663 |
+
$.ajax({
|
664 |
+
type: 'POST',
|
665 |
+
url: ajaxurl,
|
666 |
+
data: data,
|
667 |
+
complete() {
|
668 |
+
$('body').removeClass('ti-feedback-open');
|
669 |
+
$('<?php echo esc_attr( $popup_id ); ?>').remove();
|
670 |
+
if (redirectUrl !== '') {
|
671 |
+
location.href = redirectUrl;
|
672 |
+
}
|
673 |
+
},
|
674 |
+
beforeSend() {
|
675 |
+
$('<?php echo esc_attr( $popup_id ); ?>').addClass('sending-feedback');
|
676 |
+
$('<?php echo esc_attr( $popup_id ); ?> .popup--footer').remove();
|
677 |
+
$('<?php echo esc_attr( $popup_id ); ?> .popup--body').html('<i class="dashicons dashicons-update-alt"></i>');
|
678 |
}
|
679 |
+
});
|
680 |
+
});
|
681 |
});
|
682 |
})(jQuery);
|
683 |
+
|
684 |
</script>
|
685 |
<?php
|
|
|
686 |
do_action( $this->product->get_key() . '_uninstall_feedback_after_js' );
|
687 |
}
|
688 |
|
689 |
/**
|
690 |
+
* Get the disclosure labels markup.
|
691 |
*
|
692 |
+
* @return string
|
|
|
693 |
*/
|
694 |
+
private function get_disclosure_labels() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
695 |
$disclosure_new_labels = apply_filters( $this->product->get_slug() . '_themeisle_sdk_disclosure_content_labels', [], $this->product );
|
696 |
$disclosure_labels = array_merge(
|
697 |
[
|
698 |
'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No domain name, email address or IP addresses are transmited after you submit the survey.',
|
699 |
'items' => [
|
700 |
sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ),
|
701 |
+
sprintf( '%s Uninstall reason %s %s Selected reason from the above survey %s ', '<strong>', '</strong>', '<i>', '</i>' ),
|
702 |
],
|
703 |
],
|
704 |
$disclosure_new_labels
|
705 |
);
|
706 |
|
707 |
+
$info_disclosure_content = '<div class="info-disclosure-content"><p>' . wp_kses_post( $disclosure_labels['title'] ) . '</p><ul>';
|
|
|
708 |
foreach ( $disclosure_labels['items'] as $disclosure_item ) {
|
709 |
$info_disclosure_content .= sprintf( '<li>%s</li>', wp_kses_post( $disclosure_item ) );
|
710 |
}
|
711 |
$info_disclosure_content .= '</ul></div>';
|
712 |
|
713 |
+
return $info_disclosure_content;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
714 |
}
|
715 |
|
716 |
/**
|
vendor/codeinwp/themeisle-sdk/src/Product.php
CHANGED
@@ -114,7 +114,7 @@ class Product {
|
|
114 |
*/
|
115 |
public function __construct( $basefile ) {
|
116 |
if ( ! empty( $basefile ) ) {
|
117 |
-
if (
|
118 |
$this->basefile = $basefile;
|
119 |
$this->setup_from_path();
|
120 |
$this->setup_from_fileheaders();
|
114 |
*/
|
115 |
public function __construct( $basefile ) {
|
116 |
if ( ! empty( $basefile ) ) {
|
117 |
+
if ( is_file( $basefile ) ) {
|
118 |
$this->basefile = $basefile;
|
119 |
$this->setup_from_path();
|
120 |
$this->setup_from_fileheaders();
|
vendor/codeinwp/themeisle-sdk/start.php
CHANGED
@@ -37,7 +37,7 @@ $files_to_load = [
|
|
37 |
$files_to_load = array_merge( $files_to_load, apply_filters( 'themeisle_sdk_required_files', [] ) );
|
38 |
|
39 |
foreach ( $files_to_load as $file ) {
|
40 |
-
if (
|
41 |
require_once $file;
|
42 |
}
|
43 |
}
|
37 |
$files_to_load = array_merge( $files_to_load, apply_filters( 'themeisle_sdk_required_files', [] ) );
|
38 |
|
39 |
foreach ( $files_to_load as $file ) {
|
40 |
+
if ( is_file( $file ) ) {
|
41 |
require_once $file;
|
42 |
}
|
43 |
}
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit67f2fcb7a267f7794ebcd3c99b4c2453
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit67f2fcb7a267f7794ebcd3c99b4c2453
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit9c534f048b723adbf5766e6787eb609b
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit9c534f048b723adbf5766e6787eb609b', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit9c534f048b723adbf5766e6787eb609b', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
+
composerRequire9c534f048b723adbf5766e6787eb609b($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire9c534f048b723adbf5766e6787eb609b($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitbb7e52bc4388cbc30a1ec4a64ab69b34 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInit464574afdc18aab2de0c02fdbf2563f1 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit464574afdc18aab2de0c02fdbf2563f1', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit464574afdc18aab2de0c02fdbf2563f1', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
vendor/composer/installed.json
CHANGED
@@ -6,12 +6,12 @@
|
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
"require-dev": {
|
@@ -19,7 +19,7 @@
|
|
19 |
"squizlabs/php_codesniffer": "^3.1",
|
20 |
"wp-coding-standards/wpcs": "^1.0.0"
|
21 |
},
|
22 |
-
"time": "2019-
|
23 |
"type": "library",
|
24 |
"installation-source": "source",
|
25 |
"notification-url": "https://packagist.org/downloads/",
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
+
"reference": "e3242627f3e77561e4f109f99399a1db9e231cf6"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/e3242627f3e77561e4f109f99399a1db9e231cf6",
|
14 |
+
"reference": "e3242627f3e77561e4f109f99399a1db9e231cf6",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
"require-dev": {
|
19 |
"squizlabs/php_codesniffer": "^3.1",
|
20 |
"wp-coding-standards/wpcs": "^1.0.0"
|
21 |
},
|
22 |
+
"time": "2019-08-08 09:58:25",
|
23 |
"type": "library",
|
24 |
"installation-source": "source",
|
25 |
"notification-url": "https://packagist.org/downloads/",
|