Version Description
- Added: Widgets to display content from Youtube
- Added: Display images by hashtag via business account
- Added: Setting to turn off the icons on the images
- Fixed: Display more 25 images from account
- Bug fixes
Download this release
Release Info
Developer | webtemyk |
Plugin | Instagram Slider Widget |
Version | 1.9.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.6 to 1.9.0
- admin/ajax/check-license.php +2 -0
- admin/assets/img/youtube-icon.png +0 -0
- admin/class-wis-activation.php +2 -2
- admin/class-wis-page.php +2 -2
- admin/pages/license.php +4 -2
- admin/pages/manual.php +50 -0
- admin/pages/settings.php +34 -3
- admin/pages/widgets.php +7 -3
- admin/views/facebook.php +1 -1
- admin/views/instagram.php +5 -2
- admin/views/tab-components.php +4 -3
- admin/views/tab-license.php +2 -2
- admin/views/tab-manual.php +104 -0
- admin/views/tab-settings.php +9 -0
- admin/views/tab-showcase-license.php +2 -2
- admin/views/tab-widgets.php +4 -1
- admin/views/youtube.php +102 -1
- assets/css/instag-slider.css +4 -0
- components/youtube/admin/assets/css/component.css +243 -0
- components/youtube/admin/assets/css/license-manager.css +762 -0
- components/youtube/admin/assets/css/wtiktok-admin.css +0 -0
- components/youtube/admin/assets/css/wyoutube-admin.css +597 -0
- components/youtube/admin/assets/img/Youtube-icon.png +0 -0
- components/youtube/admin/assets/img/about/2019-11-01_11-03-07.png +0 -0
- components/youtube/admin/assets/img/about/2019-12-09_12-34-33.png +0 -0
- components/youtube/admin/assets/img/about/pic1.jpg +0 -0
- components/youtube/admin/assets/img/about/pic2.jpg +0 -0
- components/youtube/admin/assets/img/about/slider5.jpg +0 -0
- components/youtube/admin/assets/img/about/slider6.jpg +0 -0
- components/youtube/admin/assets/img/close.svg +1 -0
- components/youtube/admin/assets/img/hashtag.png +0 -0
- components/youtube/admin/assets/img/loader.gif +0 -0
- components/youtube/admin/assets/img/manual/1.png +0 -0
- components/youtube/admin/assets/img/manual/10.png +0 -0
- components/youtube/admin/assets/img/manual/11.png +0 -0
- components/youtube/admin/assets/img/manual/2.png +0 -0
- components/youtube/admin/assets/img/manual/3.png +0 -0
- components/youtube/admin/assets/img/manual/4.png +0 -0
- components/youtube/admin/assets/img/manual/5.png +0 -0
- components/youtube/admin/assets/img/manual/6.png +0 -0
- components/youtube/admin/assets/img/manual/7.png +0 -0
- components/youtube/admin/assets/img/manual/8.png +0 -0
- components/youtube/admin/assets/img/manual/9.png +0 -0
- components/youtube/admin/assets/img/slider icon.png +0 -0
- components/youtube/admin/assets/img/spinner.gif +0 -0
- components/youtube/admin/assets/img/spinner.svg +26 -0
- components/youtube/admin/assets/img/tiktok-icon.png +0 -0
- components/youtube/admin/assets/img/tiktok.png +0 -0
- components/youtube/admin/assets/img/wtik_icon_shortcode.png +0 -0
- components/youtube/admin/assets/img/youtube.png +0 -0
- components/youtube/admin/assets/index.php +2 -0
- components/youtube/admin/assets/js/cbpFWTabs.js +72 -0
- components/youtube/admin/assets/js/license-manager.js +77 -0
- components/youtube/admin/assets/js/tinymce_button.js +41 -0
- components/youtube/admin/assets/js/wyoutube-admin.js +278 -0
- components/youtube/admin/index.php +2 -0
- components/youtube/assets/css/templates.css +589 -0
- components/youtube/assets/css/wtiktok.css +154 -0
- components/youtube/assets/css/wyoutube.css +0 -0
- components/youtube/assets/css/wyt-header.css +242 -0
- components/youtube/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- components/youtube/assets/image.png +0 -0
- components/youtube/assets/img/spinner.svg +26 -0
- components/youtube/assets/in.png +0 -0
- components/youtube/assets/index.php +2 -0
- components/youtube/assets/js/jquery.flexslider-min.js +5 -0
- components/youtube/assets/js/jr-insta.js +7 -0
- components/youtube/html_templates/default.php +36 -0
- components/youtube/html_templates/feed_header_template.php +35 -0
- components/youtube/html_templates/widget_settings.php +175 -0
- components/youtube/includes/Api/Channel/YoutubeChannelId.php +17 -0
- components/youtube/includes/Api/Channel/YoutubeChannelItem.php +20 -0
- components/youtube/includes/Api/Channel/YoutubeChannelResponse.php +30 -0
- components/youtube/includes/Api/Channel/YoutubeChannelSnippet.php +26 -0
- components/youtube/includes/Api/Channel/YoutubeChannelStatistics.php +19 -0
- components/youtube/includes/Api/Common/YoutubeThumbnail.php +18 -0
- components/youtube/includes/Api/Common/YoutubeThumbnails.php +19 -0
- components/youtube/includes/Api/Exceptions/YoutubeException.php +13 -0
- components/youtube/includes/Api/Video/PageInfoResponse.php +17 -0
- components/youtube/includes/Api/Video/YoutubeComment.php +42 -0
- components/youtube/includes/Api/Video/YoutubeVideo.php +21 -0
- components/youtube/includes/Api/Video/YoutubeVideoId.php +17 -0
- components/youtube/includes/Api/Video/YoutubeVideoSnippet.php +25 -0
- components/youtube/includes/Api/Video/YoutubeVideoStatistics.php +20 -0
- components/youtube/includes/Api/Video/YoutubeVideosResponse.php +36 -0
- components/youtube/includes/Api/YoutubeApi.php +166 -0
- components/youtube/includes/Api/load.php +22 -0
- components/youtube/includes/class-youtube-widget.php +591 -0
- components/youtube/includes/helpers.php +45 -0
- components/youtube/includes/index.php +2 -0
- composer.json +10 -0
- composer.lock +18 -0
- html_templates/widget_settings_template.php +15 -4
- includes/class-wis-plugin.php +84 -5
- includes/class-wis_facebook_slider.php +2 -0
- includes/class-wis_instagram_slider.php +46 -16
- includes/demo_widgets.php +3 -0
- instaram_slider.php +38 -10
- libs/factory/adverts/boot.php +12 -12
- libs/factory/adverts/includes/class-base.php +6 -6
- libs/factory/adverts/includes/class-dashboard-widget.php +4 -4
- libs/factory/adverts/includes/class-rest-request.php +4 -4
- libs/factory/adverts/langs/wbcr_factory_adverts_122-ru_RU.mo +0 -0
- libs/factory/adverts/langs/wbcr_factory_adverts_122-ru_RU.po +83 -0
- libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css +3 -3
- libs/factory/bootstrap/assets/css-min/bootstrap.datepicker.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/bootstrap.datetimepicker.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.ectoplasm.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.form-group.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.form-metabox.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.light.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.midnight.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.ocean.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.separator.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.sunrise.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.tab.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.wp-editor.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.checkbox.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.color-and-opacity.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.color.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.dropdown-and-colors.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.dropdown.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.fonts.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.list.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.multiple-textbox.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.pattern.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.radio-colors.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/holder.conrol-group.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/holder.more-link.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/plugin.chosen.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/plugin.gradient-picker.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/plugin.nouislider.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/plugin.paddings-editor.min.css +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.accordion.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.affix.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.alert.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.button.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.carousel.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.collapse.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.datepicker.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.datetimepicker.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.dropdown.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.modal.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.popover.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.scrollspy.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.tab.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.tooltip.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.transition.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/control.checkbox.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.color-and-opacity.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.color.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.dropdown-and-colors.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.dropdown.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.fonts.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.gradient.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.integer.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.list.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.multiple-textbox.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.pattern.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/global.color-functions.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/holder.conrol-group.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/holder.more-link.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/plugin.chosen.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/plugin.color.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/plugin.ddslick.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/plugin.gradient-picker.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/plugin.iris.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/plugin.moment-with-locales.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/plugin.nouislider.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/plugin.paddings-editor.min.js +2 -2
- libs/factory/bootstrap/boot.php +9 -9
- libs/factory/bootstrap/includes/functions.php +10 -10
- libs/factory/clearfy/assets/css/clearfy-base.css +25 -25
- libs/factory/clearfy/assets/css/components.css +24 -24
- libs/factory/clearfy/assets/css/libs/autocomplete.css +9 -9
- libs/factory/clearfy/assets/css/page-setup.css +102 -102
- libs/factory/clearfy/assets/js/clearfy-globals.js +26 -26
- libs/factory/clearfy/assets/js/clearfy-license-manager.js +4 -4
- libs/factory/clearfy/assets/js/clearfy-search-options.js +2 -2
- libs/factory/clearfy/assets/js/clearfy-widgets.js +4 -4
- libs/factory/clearfy/assets/js/libs/jquery.autocomplete.min.js +1 -1
- libs/factory/clearfy/boot.php +24 -24
- libs/factory/clearfy/includes/ajax-handlers.php +13 -13
- libs/factory/clearfy/includes/class-configurate.php +3 -3
- libs/factory/clearfy/includes/class-helpers.php +1 -1
- libs/factory/clearfy/includes/class-search-options.php +1 -1
- libs/factory/clearfy/langs/wbcr_factory_clearfy_235-ru_RU.mo +0 -0
- libs/factory/clearfy/langs/wbcr_factory_clearfy_235-ru_RU.po +307 -0
- libs/factory/clearfy/pages/class-page-license.php +33 -33
- libs/factory/clearfy/pages/class-page-more-features.php +23 -23
- libs/factory/clearfy/pages/class-page-setup.php +18 -18
- libs/factory/clearfy/pages/class-pages-components.php +26 -21
- libs/factory/clearfy/pages/class-pages.php +55 -55
- libs/factory/clearfy/pages/setup-parts/class-step-custom.php +7 -7
- libs/factory/clearfy/pages/setup-parts/class-step-form.php +12 -12
- libs/factory/clearfy/pages/setup-parts/class-step.php +5 -5
- libs/factory/core/ajax/install-addons.php +10 -10
- libs/factory/core/assets/js/core-components.js +14 -14
- libs/factory/core/assets/js/core-general.js +6 -6
- libs/factory/core/boot.php +33 -33
- libs/factory/core/includes/activation/class-factory-activator.php +3 -3
- libs/factory/core/includes/activation/class-factory-update.php +3 -3
- libs/factory/core/includes/assets-managment/class-factory-assets-list.php +4 -4
- libs/factory/core/includes/assets-managment/class-factory-script-list.php +2 -2
- libs/factory/core/includes/assets-managment/class-factory-style-list.php +1 -1
- libs/factory/core/includes/class-check-compatibility.php +3 -3
- libs/factory/core/includes/class-factory-migrations.php +13 -13
- libs/factory/core/includes/class-factory-notices.php +5 -5
- libs/factory/core/includes/class-factory-options.php +2 -2
- libs/factory/core/includes/class-factory-plugin-abstract.php +70 -70
- libs/factory/core/includes/class-factory-plugin-base.php +5 -5
admin/ajax/check-license.php
CHANGED
@@ -7,6 +7,8 @@
|
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly
|
|
|
|
|
10 |
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
exit;
|
12 |
}
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly
|
10 |
+
use Instagram\Includes\WIS_Plugin;
|
11 |
+
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
exit;
|
14 |
}
|
admin/assets/img/youtube-icon.png
CHANGED
Binary file
|
admin/class-wis-activation.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 02.12.2018, Webcraftic
|
7 |
-
* @see
|
8 |
*
|
9 |
* @version 1.0.1
|
10 |
*/
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
class WIS_Activation extends
|
18 |
|
19 |
/**
|
20 |
* Method is executed during the activation of the plugin.
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 02.12.2018, Webcraftic
|
7 |
+
* @see Wbcr_Factory444_Activator
|
8 |
*
|
9 |
* @version 1.0.1
|
10 |
*/
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
class WIS_Activation extends Wbcr_Factory444_Activator {
|
18 |
|
19 |
/**
|
20 |
* Method is executed during the activation of the plugin.
|
admin/class-wis-page.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 02.12.2018, Webcraftic
|
7 |
-
* @see
|
8 |
*
|
9 |
* @version 1.0.0
|
10 |
*/
|
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
class WIS_Page extends
|
18 |
|
19 |
/**
|
20 |
* Name of the template to get content of. It will be based on plugins /admin/views/ dir.
|
4 |
*
|
5 |
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
6 |
* @copyright (c) 02.12.2018, Webcraftic
|
7 |
+
* @see Wbcr_FactoryPages443_AdminPage
|
8 |
*
|
9 |
* @version 1.0.0
|
10 |
*/
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
class WIS_Page extends Wbcr_FactoryPages443_AdminPage {
|
18 |
|
19 |
/**
|
20 |
* Name of the template to get content of. It will be based on plugins /admin/views/ dir.
|
admin/pages/license.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
|
|
|
|
4 |
if ( ! defined( 'ABSPATH' ) ) {
|
5 |
exit;
|
6 |
}
|
@@ -57,7 +59,7 @@ class WIS_LicensePage extends WIS_Page {
|
|
57 |
|
58 |
/**
|
59 |
* @since 2.0.7
|
60 |
-
* @var \WBCR\
|
61 |
*/
|
62 |
protected $premium;
|
63 |
|
@@ -75,7 +77,7 @@ class WIS_LicensePage extends WIS_Page {
|
|
75 |
|
76 |
/**
|
77 |
* @since 2.0.7
|
78 |
-
* @var \WBCR\
|
79 |
*/
|
80 |
protected $premium_license;
|
81 |
|
1 |
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
4 |
+
use Instagram\Includes\WIS_Plugin;
|
5 |
+
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
exit;
|
8 |
}
|
59 |
|
60 |
/**
|
61 |
* @since 2.0.7
|
62 |
+
* @var \WBCR\Factory_444\Premium\Provider
|
63 |
*/
|
64 |
protected $premium;
|
65 |
|
77 |
|
78 |
/**
|
79 |
* @since 2.0.7
|
80 |
+
* @var \WBCR\Factory_444\Premium\Interfaces\License
|
81 |
*/
|
82 |
protected $premium_license;
|
83 |
|
admin/pages/manual.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
use Instagram\Includes\WIS_Plugin;
|
5 |
+
|
6 |
+
class Manual extends WIS_Page{
|
7 |
+
/**
|
8 |
+
* Тип страницы
|
9 |
+
* options - предназначена для создании страниц с набором опций и настроек.
|
10 |
+
* page - произвольный контент, любой html код
|
11 |
+
*
|
12 |
+
* @var string
|
13 |
+
*/
|
14 |
+
public $type = 'page';
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Menu icon (only if a page is placed as a main menu).
|
18 |
+
* For example: '~/assets/img/menu-icon.png'
|
19 |
+
* For example dashicons: '\f321'
|
20 |
+
* @var string
|
21 |
+
*/
|
22 |
+
public $menu_icon = '';
|
23 |
+
|
24 |
+
/**
|
25 |
+
* @var string
|
26 |
+
*/
|
27 |
+
public $page_menu_dashicon;
|
28 |
+
|
29 |
+
public $internal = true;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* @param WIS_Plugin $plugin
|
33 |
+
*/
|
34 |
+
public function __construct( $plugin ) {
|
35 |
+
$this->id = "manual";
|
36 |
+
$this->menu_target = "widgets-" . $plugin->getPluginName();
|
37 |
+
$this->page_title = __( 'How to get Youtube API key', 'instagram-slider-widget' );
|
38 |
+
$this->template_name = "manual";
|
39 |
+
|
40 |
+
parent::__construct( $plugin );
|
41 |
+
|
42 |
+
$this->plugin = $plugin;
|
43 |
+
}
|
44 |
+
|
45 |
+
|
46 |
+
public function assets( $scripts, $styles ) {
|
47 |
+
parent::assets( $scripts, $styles );
|
48 |
+
wp_enqueue_style( WIS_Plugin::app()->getPrefix() . 'wyoutube-admin', WIS_PLUGIN_URL . '/components/youtube/admin/assets/css/wyoutube-admin.css' );
|
49 |
+
}
|
50 |
+
}
|
admin/pages/settings.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
|
|
|
|
4 |
if ( ! defined( 'ABSPATH' ) ) {
|
5 |
exit;
|
6 |
}
|
@@ -27,7 +29,7 @@ class WIS_SettingsPage extends WIS_Page {
|
|
27 |
* Mainly used to navigate between pages.
|
28 |
*
|
29 |
* @since 1.0.0
|
30 |
-
* @see
|
31 |
*
|
32 |
* @var string
|
33 |
*/
|
@@ -131,6 +133,16 @@ class WIS_SettingsPage extends WIS_Page {
|
|
131 |
'control.dropdown',
|
132 |
'control.checkbox',
|
133 |
], 'bootstrap' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
}
|
135 |
|
136 |
public function indexAction() {
|
@@ -143,7 +155,7 @@ class WIS_SettingsPage extends WIS_Page {
|
|
143 |
case "facebook":
|
144 |
WIS_FacebookSlider::app()->FACEBOOK->tabAction();
|
145 |
break;
|
146 |
-
case "
|
147 |
$this->youtube();
|
148 |
break;
|
149 |
}
|
@@ -201,7 +213,26 @@ class WIS_SettingsPage extends WIS_Page {
|
|
201 |
* Логика на вкладке Ютуба
|
202 |
*/
|
203 |
public function youtube() {
|
204 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
}
|
206 |
|
207 |
}
|
1 |
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
4 |
+
use Instagram\Includes\WIS_Plugin;
|
5 |
+
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
exit;
|
8 |
}
|
29 |
* Mainly used to navigate between pages.
|
30 |
*
|
31 |
* @since 1.0.0
|
32 |
+
* @see FactoryPages443_AdminPage
|
33 |
*
|
34 |
* @var string
|
35 |
*/
|
133 |
'control.dropdown',
|
134 |
'control.checkbox',
|
135 |
], 'bootstrap' );
|
136 |
+
|
137 |
+
wp_enqueue_style( 'wyoutube-admin-styles', WYT_PLUGIN_URL . '/admin/assets/css/wyoutube-admin.css', array(), WYT_PLUGIN_VERSION );
|
138 |
+
wp_enqueue_script( 'wyoutube-admin-script', WYT_PLUGIN_URL . '/admin/assets/js/wyoutube-admin.js', array( 'jquery' ), WYT_PLUGIN_VERSION, true );
|
139 |
+
wp_localize_script( 'wyoutube-admin-script', 'wyt', array(
|
140 |
+
'nonce' => wp_create_nonce( 'wyt_nonce' ),
|
141 |
+
'remove_account' => __( 'Are you sure want to delete this account?', 'yft' ),
|
142 |
+
) );
|
143 |
+
wp_localize_script( 'wyoutube-admin-script', 'add_account_nonce', array(
|
144 |
+
'nonce' => wp_create_nonce( "addAccountByToken" ),
|
145 |
+
) );
|
146 |
}
|
147 |
|
148 |
public function indexAction() {
|
155 |
case "facebook":
|
156 |
WIS_FacebookSlider::app()->FACEBOOK->tabAction();
|
157 |
break;
|
158 |
+
case "Youtube":
|
159 |
$this->youtube();
|
160 |
break;
|
161 |
}
|
213 |
* Логика на вкладке Ютуба
|
214 |
*/
|
215 |
public function youtube() {
|
216 |
+
|
217 |
+
if(isset($_POST['wyt_api_key']) && $_POST['wyt_api_key'] != null){
|
218 |
+
$this->plugin->update_youtube_api_key($_POST['wyt_api_key']);
|
219 |
+
|
220 |
+
if(isset($_POST['wyt_feed_link']) && $_POST['wyt_feed_link'] != null){
|
221 |
+
|
222 |
+
$link = $_POST['wyt_feed_link'];
|
223 |
+
$start_with_string = 'https://www.youtube.com/channel/';
|
224 |
+
|
225 |
+
if(stripos($link, $start_with_string) === false) return false;
|
226 |
+
|
227 |
+
$id = explode('/channel/', $link)[1];
|
228 |
+
$id = explode('/', $id)[0];
|
229 |
+
|
230 |
+
$profile = $this->plugin->youtube_api->getUserById($id)->items[0];
|
231 |
+
$profile->snippet->channelId = $id;
|
232 |
+
$this->plugin->update_youtube_feed( $profile );
|
233 |
+
|
234 |
+
}
|
235 |
+
}
|
236 |
}
|
237 |
|
238 |
}
|
admin/pages/widgets.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
|
|
|
|
4 |
if ( ! defined( 'ABSPATH' ) ) {
|
5 |
exit;
|
6 |
}
|
@@ -27,7 +29,7 @@ class WIS_WidgetsPage extends WIS_Page {
|
|
27 |
* Mainly used to navigate between pages.
|
28 |
*
|
29 |
* @since 1.0.0
|
30 |
-
* @see
|
31 |
*
|
32 |
* @var string
|
33 |
*/
|
@@ -140,6 +142,7 @@ class WIS_WidgetsPage extends WIS_Page {
|
|
140 |
public function indexAction() {
|
141 |
$sidebars_widgets = get_option( 'sidebars_widgets', [] );
|
142 |
$insta_widgets = get_option( 'widget_jr_insta_slider', [] );
|
|
|
143 |
$demo_widgets = include( WIS_PLUGIN_DIR . "/includes/demo_widgets.php" );
|
144 |
$account = $this->get_current_account();
|
145 |
|
@@ -172,7 +175,7 @@ class WIS_WidgetsPage extends WIS_Page {
|
|
172 |
if ( ! empty( $sidebars_widgets ) ) {
|
173 |
foreach ( $sidebars_widgets as $key => $sidebar ) {
|
174 |
foreach ( $sidebar as $widget ) {
|
175 |
-
if ( strstr( $widget, 'jr_insta_slider' ) ) {
|
176 |
wp_list_widget_controls( $key, $wp_registered_sidebars[ $key ]['name'] );
|
177 |
$isset_widgets = true;
|
178 |
break;
|
@@ -190,6 +193,7 @@ class WIS_WidgetsPage extends WIS_Page {
|
|
190 |
'content' => $widgets,
|
191 |
'insta_widgets' => $insta_widgets,
|
192 |
'demo_widgets' => $demo_widgets,
|
|
|
193 |
];
|
194 |
echo $this->render( '', $data );
|
195 |
}
|
@@ -244,4 +248,4 @@ class WIS_WidgetsPage extends WIS_Page {
|
|
244 |
|
245 |
return '';
|
246 |
}
|
247 |
-
}
|
1 |
<?php
|
2 |
|
3 |
// Exit if accessed directly
|
4 |
+
use Instagram\Includes\WIS_Plugin;
|
5 |
+
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
exit;
|
8 |
}
|
29 |
* Mainly used to navigate between pages.
|
30 |
*
|
31 |
* @since 1.0.0
|
32 |
+
* @see FactoryPages443_AdminPage
|
33 |
*
|
34 |
* @var string
|
35 |
*/
|
142 |
public function indexAction() {
|
143 |
$sidebars_widgets = get_option( 'sidebars_widgets', [] );
|
144 |
$insta_widgets = get_option( 'widget_jr_insta_slider', [] );
|
145 |
+
$youtube_widgets = get_option( 'widget_wyoutube_feed', [] );
|
146 |
$demo_widgets = include( WIS_PLUGIN_DIR . "/includes/demo_widgets.php" );
|
147 |
$account = $this->get_current_account();
|
148 |
|
175 |
if ( ! empty( $sidebars_widgets ) ) {
|
176 |
foreach ( $sidebars_widgets as $key => $sidebar ) {
|
177 |
foreach ( $sidebar as $widget ) {
|
178 |
+
if ( strstr( $widget, 'jr_insta_slider' ) || strstr( $widget, 'wyoutube_feed' ) ) {
|
179 |
wp_list_widget_controls( $key, $wp_registered_sidebars[ $key ]['name'] );
|
180 |
$isset_widgets = true;
|
181 |
break;
|
193 |
'content' => $widgets,
|
194 |
'insta_widgets' => $insta_widgets,
|
195 |
'demo_widgets' => $demo_widgets,
|
196 |
+
'youtube_widgets' => $youtube_widgets
|
197 |
];
|
198 |
echo $this->render( '', $data );
|
199 |
}
|
248 |
|
249 |
return '';
|
250 |
}
|
251 |
+
}
|
admin/views/facebook.php
CHANGED
@@ -6,7 +6,7 @@ $args = array(
|
|
6 |
$autorize_url = "https://instagram.cm-wp.com/facebook/?" . http_build_query( $args );
|
7 |
$accounts = WIS_Plugin::app()->getPopulateOption( WIS_FACEBOOK_ACCOUNT_PROFILES_OPTION_NAME, array() );
|
8 |
?>
|
9 |
-
<div class="factory-bootstrap-
|
10 |
<div class="row">
|
11 |
<div class="col-md-9">
|
12 |
<div class="row">
|
6 |
$autorize_url = "https://instagram.cm-wp.com/facebook/?" . http_build_query( $args );
|
7 |
$accounts = WIS_Plugin::app()->getPopulateOption( WIS_FACEBOOK_ACCOUNT_PROFILES_OPTION_NAME, array() );
|
8 |
?>
|
9 |
+
<div class="factory-bootstrap-444 factory-fontawesome-000">
|
10 |
<div class="row">
|
11 |
<div class="col-md-9">
|
12 |
<div class="row">
|
admin/views/instagram.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
2 |
$args = array(
|
3 |
"client_id" => WIS_INSTAGRAM_CLIENT_ID,
|
4 |
"redirect_uri" => "https://instagram.cm-wp.com/basic-api",
|
@@ -19,7 +22,7 @@ $accounts = WIS_Plugin::app()->getPopulateOption( 'account_profiles', a
|
|
19 |
$accounts_business = WIS_Plugin::app()->getPopulateOption( 'account_profiles_new', array() );
|
20 |
$count_accounts = count( $accounts ) + count( $accounts_business );
|
21 |
?>
|
22 |
-
<div class="factory-bootstrap-
|
23 |
<div class="row">
|
24 |
<div class="col-md-9">
|
25 |
<div class="row">
|
@@ -190,4 +193,4 @@ $count_accounts = count( $accounts ) + count( $accounts_business );
|
|
190 |
<div id="wis_add_account_modal_overlay" class="wis_modal_overlay wis_closed"></div>
|
191 |
|
192 |
</div>
|
193 |
-
</div>
|
1 |
<?php
|
2 |
+
|
3 |
+
use Instagram\Includes\WIS_Plugin;
|
4 |
+
|
5 |
$args = array(
|
6 |
"client_id" => WIS_INSTAGRAM_CLIENT_ID,
|
7 |
"redirect_uri" => "https://instagram.cm-wp.com/basic-api",
|
22 |
$accounts_business = WIS_Plugin::app()->getPopulateOption( 'account_profiles_new', array() );
|
23 |
$count_accounts = count( $accounts ) + count( $accounts_business );
|
24 |
?>
|
25 |
+
<div class="factory-bootstrap-444 factory-fontawesome-000">
|
26 |
<div class="row">
|
27 |
<div class="col-md-9">
|
28 |
<div class="row">
|
193 |
<div id="wis_add_account_modal_overlay" class="wis_modal_overlay wis_closed"></div>
|
194 |
|
195 |
</div>
|
196 |
+
</div>
|
admin/views/tab-components.php
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/*use WBCR\Titan\Plugin;*/
|
4 |
-
|
5 |
/**
|
6 |
* @var array $components
|
7 |
*/
|
|
|
|
|
|
|
8 |
?>
|
9 |
<div class="wbcr-factory-page-group-header"><?php
|
10 |
|
@@ -53,7 +54,7 @@
|
|
53 |
<a target="_blank" href="<?php echo esc_url($component['url']) ?>"
|
54 |
class="button button-default read-more"><?php _e('Read more', 'instagram-slider-widget'); ?></a>
|
55 |
<?php else: ?>
|
56 |
-
<?php
|
57 |
<?php endif; ?>
|
58 |
<?php endif; ?>
|
59 |
</div>
|
1 |
<?php
|
2 |
|
|
|
|
|
3 |
/**
|
4 |
* @var array $components
|
5 |
*/
|
6 |
+
|
7 |
+
use Instagram\Includes\WIS_Plugin;
|
8 |
+
|
9 |
?>
|
10 |
<div class="wbcr-factory-page-group-header"><?php
|
11 |
|
54 |
<a target="_blank" href="<?php echo esc_url($component['url']) ?>"
|
55 |
class="button button-default read-more"><?php _e('Read more', 'instagram-slider-widget'); ?></a>
|
56 |
<?php else: ?>
|
57 |
+
<?php WIS_Plugin::app()->get_install_component_button('wordpress', $component['slug'])->render_button(); ?>
|
58 |
<?php endif; ?>
|
59 |
<?php endif; ?>
|
60 |
</div>
|
admin/views/tab-license.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<div class="wrap">
|
2 |
-
<div class="factory-bootstrap-
|
3 |
<?php wp_nonce_field( 'license' ); ?>
|
4 |
<div id="wis-license-wrapper"
|
5 |
data-loader="<?php echo WIS_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
|
6 |
data-plugin="<?php echo get_class( $this->plugin ) ?>">
|
7 |
|
8 |
-
<div class="factory-bootstrap-
|
9 |
id="license-manager">
|
10 |
<div>
|
11 |
<h3><?php printf( __( 'Activate %s', 'instagram-slider-widget' ), $this->plan_name ) ?></h3>
|
1 |
<div class="wrap">
|
2 |
+
<div class="factory-bootstrap-444 factory-fontawesome-000">
|
3 |
<?php wp_nonce_field( 'license' ); ?>
|
4 |
<div id="wis-license-wrapper"
|
5 |
data-loader="<?php echo WIS_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
|
6 |
data-plugin="<?php echo get_class( $this->plugin ) ?>">
|
7 |
|
8 |
+
<div class="factory-bootstrap-444 onp-page-wrap <?php echo $this->get_license_type() ?>-license-manager-content"
|
9 |
id="license-manager">
|
10 |
<div>
|
11 |
<h3><?php printf( __( 'Activate %s', 'instagram-slider-widget' ), $this->plan_name ) ?></h3>
|
admin/views/tab-manual.php
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
?>
|
3 |
+
|
4 |
+
<div class="wyt-manual">
|
5 |
+
<div class="wyt-intro">
|
6 |
+
This is a page that describes how to get a key for Youtube API to get information about a user, his videos and comments.
|
7 |
+
</div>
|
8 |
+
<div class="wyt-step">
|
9 |
+
<div class="wyt-step-text">
|
10 |
+
1. You should follow this <a href="https://console.developers.google.com/apis/dashboard" target="_blank">link</a> and select the project from the top of the page in the drop-down menu
|
11 |
+
</div>
|
12 |
+
<div class="wyt-step-img">
|
13 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/1.png") ?>" class="wyt-manual-img" alt="">
|
14 |
+
</div>
|
15 |
+
</div>
|
16 |
+
<div class="wyt-step">
|
17 |
+
<div class="wyt-step-text">
|
18 |
+
2. Click on the "Create project" button
|
19 |
+
</div>
|
20 |
+
<div class="wyt-step-img">
|
21 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/2.png") ?>" class="wyt-manual-img" alt="">
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
<div class="wyt-step">
|
25 |
+
<div class="wyt-step-text">
|
26 |
+
3. Fill in the "Project name" field and click the "Create" button
|
27 |
+
</div>
|
28 |
+
<div class="wyt-step-img">
|
29 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/3.png") ?>" class="wyt-manual-img" alt="">
|
30 |
+
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
<div class="wyt-step">
|
34 |
+
<div class="wyt-step-text">
|
35 |
+
4. At the top of the page, in the drop-down list, select the newly created project and click the "ENABLE APIS AND SERVICES" button
|
36 |
+
</div>
|
37 |
+
<div class="wyt-step-img">
|
38 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/4.png") ?>" class="wyt-manual-img" alt="">
|
39 |
+
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
<div class="wyt-step">
|
43 |
+
<div class="wyt-step-text">
|
44 |
+
5. Type "Youtube" in the search bar
|
45 |
+
</div>
|
46 |
+
<div class="wyt-step-img">
|
47 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/5.png") ?>" class="wyt-manual-img" alt="">
|
48 |
+
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
<div class="wyt-step">
|
52 |
+
<div class="wyt-step-text">
|
53 |
+
6. In the list of results, select "YouTube Data API v3"
|
54 |
+
</div>
|
55 |
+
<div class="wyt-step-img">
|
56 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/6.png") ?>" class="wyt-manual-img" alt="">
|
57 |
+
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
<div class="wyt-step">
|
61 |
+
<div class="wyt-step-text">
|
62 |
+
7. Click the "ENABLE" button
|
63 |
+
</div>
|
64 |
+
<div class="wyt-step-img">
|
65 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/7.png") ?>" class="wyt-manual-img" alt="">
|
66 |
+
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<div class="wyt-step">
|
70 |
+
<div class="wyt-step-text">
|
71 |
+
8. Click the "CREATE CREDENTIALS" button
|
72 |
+
</div>
|
73 |
+
<div class="wyt-step-img">
|
74 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/8.png") ?>" class="wyt-manual-img" alt="">
|
75 |
+
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="wyt-step">
|
79 |
+
<div class="wyt-step-text">
|
80 |
+
9. Fill in all the fields as shown in the picture and click the "What credentials do I need?"
|
81 |
+
</div>
|
82 |
+
<div class="wyt-step-img">
|
83 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/9.png") ?>" class="wyt-manual-img" alt="">
|
84 |
+
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
<div class="wyt-step">
|
88 |
+
<div class="wyt-step-text">
|
89 |
+
10. Copy your API key and click the "Done" button
|
90 |
+
</div>
|
91 |
+
<div class="wyt-step-img">
|
92 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/10.png") ?>" class="wyt-manual-img" alt="">
|
93 |
+
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
<div class="wyt-step">
|
97 |
+
<div class="wyt-step-text">
|
98 |
+
11. Paste your API key to the field and click "SAVE" button
|
99 |
+
</div>
|
100 |
+
<div class="wyt-step-img">
|
101 |
+
<img src="<?= WYT_PLUGIN_URL . ("/admin/assets/img/manual/11.png") ?>" class="wyt-manual-img" alt="">
|
102 |
+
</div>
|
103 |
+
</div>
|
104 |
+
</div>
|
admin/views/tab-settings.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
2 |
$current_url = admin_url( 'admin.php?page=settings-' . WIS_Plugin::app()->getPluginName() );
|
3 |
$current_tab = 'instagram';
|
4 |
$TABS = array(
|
@@ -8,6 +11,12 @@ $TABS = array(
|
|
8 |
'icon' => 'instagram',
|
9 |
'url' => $current_url . "&tab=instagram",
|
10 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
);
|
12 |
if ( isset( $_GET['tab'] ) && ! empty( $_GET['tab'] ) ) {
|
13 |
$current_tab = htmlspecialchars( $_GET['tab'] );
|
1 |
<?php
|
2 |
+
|
3 |
+
use Instagram\Includes\WIS_Plugin;
|
4 |
+
|
5 |
$current_url = admin_url( 'admin.php?page=settings-' . WIS_Plugin::app()->getPluginName() );
|
6 |
$current_tab = 'instagram';
|
7 |
$TABS = array(
|
11 |
'icon' => 'instagram',
|
12 |
'url' => $current_url . "&tab=instagram",
|
13 |
),
|
14 |
+
'Youtube' => array(
|
15 |
+
'current' => false,
|
16 |
+
'caption' => 'Youtube',
|
17 |
+
'icon' => 'youtube',
|
18 |
+
'url' => $current_url . "&tab=Youtube",
|
19 |
+
),
|
20 |
);
|
21 |
if ( isset( $_GET['tab'] ) && ! empty( $_GET['tab'] ) ) {
|
22 |
$current_tab = htmlspecialchars( $_GET['tab'] );
|
admin/views/tab-showcase-license.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<div class="wrap">
|
2 |
-
<div class="factory-bootstrap-
|
3 |
<?php wp_nonce_field( 'shopifeed_check_license' ); ?>
|
4 |
<div id="wis-license-wrapper"
|
5 |
data-loader="<?php echo WIS_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
|
6 |
data-plugin="<?php echo get_class( $this->plugin ) ?>">
|
7 |
|
8 |
-
<div class="factory-bootstrap-
|
9 |
id="license-manager">
|
10 |
<div>
|
11 |
<h3><?php printf( __( 'Activate %s', 'instagram-slider-widget' ), $this->plan_name ) ?></h3>
|
1 |
<div class="wrap">
|
2 |
+
<div class="factory-bootstrap-444 factory-fontawesome-000">
|
3 |
<?php wp_nonce_field( 'shopifeed_check_license' ); ?>
|
4 |
<div id="wis-license-wrapper"
|
5 |
data-loader="<?php echo WIS_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
|
6 |
data-plugin="<?php echo get_class( $this->plugin ) ?>">
|
7 |
|
8 |
+
<div class="factory-bootstrap-444 onp-page-wrap <?php echo $this->get_license_type() ?>-license-manager-content"
|
9 |
id="license-manager">
|
10 |
<div>
|
11 |
<h3><?php printf( __( 'Activate %s', 'instagram-slider-widget' ), $this->plan_name ) ?></h3>
|
admin/views/tab-widgets.php
CHANGED
@@ -4,6 +4,9 @@
|
|
4 |
* @var array $insta_widgets
|
5 |
* @var array $demo_widgets
|
6 |
*/
|
|
|
|
|
|
|
7 |
?>
|
8 |
<div class="wis-widgets-container">
|
9 |
<h2><?= __( 'Recommended widget templates', 'instagram-slider-widget' ); ?></h2>
|
@@ -64,7 +67,7 @@
|
|
64 |
</style>
|
65 |
<script>
|
66 |
jQuery(document).ready(function ($) {
|
67 |
-
$('.widget:not([id*="jr_insta_slider"])').remove();
|
68 |
//$('[id*="jr_insta_slider"]').before($('#jr_insta_shortcode').val())
|
69 |
$('.sidebar-name').find('button.handlediv').remove();
|
70 |
});
|
4 |
* @var array $insta_widgets
|
5 |
* @var array $demo_widgets
|
6 |
*/
|
7 |
+
|
8 |
+
use Instagram\Includes\WIS_Plugin;
|
9 |
+
|
10 |
?>
|
11 |
<div class="wis-widgets-container">
|
12 |
<h2><?= __( 'Recommended widget templates', 'instagram-slider-widget' ); ?></h2>
|
67 |
</style>
|
68 |
<script>
|
69 |
jQuery(document).ready(function ($) {
|
70 |
+
$('.widget:not([id*="jr_insta_slider"]) .widget:not([id*="wyotube_feed"])').remove();
|
71 |
//$('[id*="jr_insta_slider"]').before($('#jr_insta_shortcode').val())
|
72 |
$('.sidebar-name').find('button.handlediv').remove();
|
73 |
});
|
admin/views/youtube.php
CHANGED
@@ -1 +1,102 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
use Instagram\Includes\WIS_Plugin;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @var $accounts \YoutubeFeed\Api\Channel\YoutubeChannelItem[]
|
7 |
+
*/
|
8 |
+
$accounts = WIS_Plugin::app()->getPopulateOption( WYT_ACCOUNT_OPTION_NAME, array() );
|
9 |
+
$count_accounts = !empty($accounts) ? count($accounts) : 0 ;
|
10 |
+
?>
|
11 |
+
<div class="factory-bootstrap-444 factory-fontawesome-000">
|
12 |
+
<div class="row">
|
13 |
+
<div class="col-md-9">
|
14 |
+
<div class="row">
|
15 |
+
<form action="<?= $_SERVER['REQUEST_URI']; ?>" method="post">
|
16 |
+
<div class="col-md-12">
|
17 |
+
<div class="wyt-add-form">
|
18 |
+
<input type="text" name="wyt_api_key" id="wyt_api_key" class="" style="width: 550px;"
|
19 |
+
value="<?= WIS_Plugin::app()->getOption( WYT_API_KEY_OPTION_NAME, '') ?>" placeholder="<?php _e( 'Youtube api key.', 'yft' ) ?>">
|
20 |
+
</div>
|
21 |
+
<div class="" style="display: inline-block;">
|
22 |
+
<a href="<?= admin_url();?>?page=manual-wisw" target="_blank">How to get Youtube API key</a>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
<div class="col-md-12">
|
26 |
+
<div class="wyt-add-form">
|
27 |
+
<input type="text" name="wyt_feed_link" id="wyt_feed_link" class="" style="width: 550px; margin-top: 5px;"
|
28 |
+
placeholder="<?php _e( 'Channel link. Example: https://www.youtube.com/channel/UC0WP5P-ufpRfjbNrmOWwLBQ', 'yft' ) ?>">
|
29 |
+
</div>
|
30 |
+
<div class="" style="display: inline-block">
|
31 |
+
<a href="https://support.google.com/youtube/answer/6180214" target="_blank">How to get channel link</a>
|
32 |
+
</div>
|
33 |
+
<br>
|
34 |
+
|
35 |
+
<?php
|
36 |
+
if ( $count_accounts >= 1 && ! WIS_Plugin::app()->is_premium() ) : ?>
|
37 |
+
<div class="wyt-add-form" style="margin-top: 15px !important;">
|
38 |
+
<span class="wyt-btn-Youtube-account wyt-btn-Youtube-account-disabled" >
|
39 |
+
<?php _e( 'Save', 'instagram-slider-widget' ) ?></span>
|
40 |
+
<span class="instagram-account-pro"><?php echo sprintf( __( "More accounts in <a href='%s'>PRO version</a>", 'instagram-slider-widget' ), WIS_Plugin::app()->get_support()->get_pricing_url( true, "wis_settings" ) ); ?></span>
|
41 |
+
<?php else: ?>
|
42 |
+
<div class="wyt-add-form">
|
43 |
+
<input type="submit" class="wyt-btn-Youtube-account"
|
44 |
+
value="<?php _e( 'Save', 'yft' ) ?>">
|
45 |
+
<?php endif; ?>
|
46 |
+
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</form>
|
50 |
+
|
51 |
+
<div class="col-md-12">
|
52 |
+
<?php
|
53 |
+
if ( !empty($accounts) ) :
|
54 |
+
?>
|
55 |
+
<h3><?php _e( 'Connected channels', 'yft' ) ?></h3>
|
56 |
+
<div class="yt-channels">
|
57 |
+
<?php
|
58 |
+
/**
|
59 |
+
* @var $account \YoutubeFeed\Api\Channel\YoutubeChannelItem
|
60 |
+
*/
|
61 |
+
foreach ( $accounts as $channelId => $account ) {
|
62 |
+
?>
|
63 |
+
<a style="text-decoration: none; color: black;position: relative" target="_blank" href="https://youtube.com/channel/<?= $channelId ?>">
|
64 |
+
<div class="yt-channel-container col-md-2">
|
65 |
+
<div class="wyt-close-icon" data-id="<?=$channelId?>">
|
66 |
+
<svg xmlns="http://www.w3.org/2000/svg" fill="grey" height="25" viewBox="0 0 25 25" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>
|
67 |
+
</div>
|
68 |
+
<div class="yt-channel-inner">
|
69 |
+
<div class="yt-channel-img-container">
|
70 |
+
<img class="yt-channel-img" src="<?= $account->snippet->thumbnails->high->url ?>"
|
71 |
+
width="100%" alt=""/>
|
72 |
+
</div>
|
73 |
+
<div class="yt-channel-title ellipsis">
|
74 |
+
<?= $account->snippet->title ?>
|
75 |
+
</div>
|
76 |
+
<hr>
|
77 |
+
<div class="yt-channel-desc ellipsis-5-lines">
|
78 |
+
<?= $account->snippet->description ?>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
</a>
|
83 |
+
<?php
|
84 |
+
}
|
85 |
+
?>
|
86 |
+
</div>
|
87 |
+
<?php wp_nonce_field( $this->plugin->getPrefix() . 'settings_form', $this->plugin->getPrefix() . 'nonce' ); ?>
|
88 |
+
<?php endif; ?>
|
89 |
+
</div>
|
90 |
+
</div>
|
91 |
+
</div>
|
92 |
+
<div class="col-md-3">
|
93 |
+
<div id="wyt-dashboard-widget" class="wyt-right-widget">
|
94 |
+
<?php
|
95 |
+
if ( ! WIS_Plugin::app()->is_premium() ) {
|
96 |
+
WIS_Plugin::app()->get_adverts_manager()->render_placement( 'right_sidebar' );
|
97 |
+
}
|
98 |
+
?>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
</div>
|
assets/css/instag-slider.css
CHANGED
@@ -561,6 +561,10 @@
|
|
561 |
opacity: 0.7;
|
562 |
}
|
563 |
|
|
|
|
|
|
|
|
|
564 |
.GraphSidecar:before
|
565 |
{
|
566 |
position: absolute;
|
561 |
opacity: 0.7;
|
562 |
}
|
563 |
|
564 |
+
.no-isw-icons:before {
|
565 |
+
background-image: none !important;
|
566 |
+
}
|
567 |
+
|
568 |
.GraphSidecar:before
|
569 |
{
|
570 |
position: absolute;
|
components/youtube/admin/assets/css/component.css
ADDED
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#wpcontent
|
2 |
+
{
|
3 |
+
padding-left: 0 !important;
|
4 |
+
background-color: white !important;
|
5 |
+
}
|
6 |
+
|
7 |
+
#wpbody-content
|
8 |
+
{
|
9 |
+
/*height: 100vh;*/
|
10 |
+
}
|
11 |
+
|
12 |
+
a:active, a:focus
|
13 |
+
{
|
14 |
+
outline: none !important;
|
15 |
+
box-shadow: none !important;
|
16 |
+
}
|
17 |
+
|
18 |
+
.wyt-container
|
19 |
+
{
|
20 |
+
/*padding: 0px 30px 0px 10px;*/
|
21 |
+
padding: 1px 0 0 0;
|
22 |
+
background-color: #ffffff;
|
23 |
+
}
|
24 |
+
|
25 |
+
.tabs
|
26 |
+
{
|
27 |
+
position: relative;
|
28 |
+
width: 100%;
|
29 |
+
overflow: hidden;
|
30 |
+
margin: 1em 0 2em;
|
31 |
+
font-weight: 400;
|
32 |
+
}
|
33 |
+
|
34 |
+
/* Nav */
|
35 |
+
.tabs nav
|
36 |
+
{
|
37 |
+
text-align: left;
|
38 |
+
margin-bottom: -4px;
|
39 |
+
}
|
40 |
+
|
41 |
+
.tabs nav ul
|
42 |
+
{
|
43 |
+
padding: 0;
|
44 |
+
margin: 0;
|
45 |
+
list-style: none;
|
46 |
+
display: inline-block;
|
47 |
+
margin-left: 25px;
|
48 |
+
}
|
49 |
+
|
50 |
+
.tabs nav ul li
|
51 |
+
{
|
52 |
+
border: 1px solid #becbd2;
|
53 |
+
border-bottom: none;
|
54 |
+
border-top-left-radius: 10px;
|
55 |
+
border-top-right-radius: 10px;
|
56 |
+
border-bottom-right-radius: 0px;
|
57 |
+
border-bottom-left-radius: 0px;
|
58 |
+
margin: 0 0.25em;
|
59 |
+
display: block;
|
60 |
+
float: left;
|
61 |
+
position: relative;
|
62 |
+
width: 20em;
|
63 |
+
background-color: #f1f1f1;
|
64 |
+
}
|
65 |
+
|
66 |
+
.tabs nav ul li:hover
|
67 |
+
{
|
68 |
+
background-color: white;
|
69 |
+
}
|
70 |
+
|
71 |
+
.tabs nav li.tab-current
|
72 |
+
{
|
73 |
+
border: 1px solid #47a3da;
|
74 |
+
box-shadow: inset 0px 5px 4px -3px #ff7600;
|
75 |
+
border-top-left-radius: 10px;
|
76 |
+
border-top-right-radius: 10px;
|
77 |
+
border-bottom-right-radius: 0px;
|
78 |
+
border-bottom-left-radius: 0px;
|
79 |
+
border-bottom: none;
|
80 |
+
z-index: 100;
|
81 |
+
background-color: white;
|
82 |
+
}
|
83 |
+
|
84 |
+
.tabs nav li.tab-current:before,
|
85 |
+
.tabs nav li.tab-current:after
|
86 |
+
{
|
87 |
+
content: '';
|
88 |
+
position: absolute;
|
89 |
+
height: 1px;
|
90 |
+
right: 100%;
|
91 |
+
bottom: 0;
|
92 |
+
width: 1000px;
|
93 |
+
background: #47a3da;
|
94 |
+
}
|
95 |
+
|
96 |
+
.tabs nav li.tab-current:after
|
97 |
+
{
|
98 |
+
right: auto;
|
99 |
+
left: 100%;
|
100 |
+
width: 4000px;
|
101 |
+
}
|
102 |
+
|
103 |
+
.tabs nav a
|
104 |
+
{
|
105 |
+
color: #becbd2;
|
106 |
+
display: block;
|
107 |
+
font-size: 1.45em;
|
108 |
+
line-height: 2.5;
|
109 |
+
padding: 0 1.25em;
|
110 |
+
white-space: nowrap;
|
111 |
+
}
|
112 |
+
|
113 |
+
.tabs nav a:hover
|
114 |
+
{
|
115 |
+
color: #768e9d;
|
116 |
+
}
|
117 |
+
|
118 |
+
.tabs nav li.tab-current a
|
119 |
+
{
|
120 |
+
color: #47a3da;
|
121 |
+
font-weight: bold;
|
122 |
+
outline: none !important;
|
123 |
+
}
|
124 |
+
|
125 |
+
/* Icons */
|
126 |
+
.tabs nav a:before
|
127 |
+
{
|
128 |
+
display: inline-block;
|
129 |
+
vertical-align: middle;
|
130 |
+
text-transform: none;
|
131 |
+
font-weight: normal;
|
132 |
+
font-variant: normal;
|
133 |
+
line-height: 1;
|
134 |
+
speak: none;
|
135 |
+
-webkit-font-smoothing: antialiased;
|
136 |
+
margin: -0.25em 0.4em 0 0;
|
137 |
+
}
|
138 |
+
|
139 |
+
.icon-Youtube:before
|
140 |
+
{
|
141 |
+
content: url(../img/Youtube-icon.png);
|
142 |
+
width: 30px;
|
143 |
+
}
|
144 |
+
|
145 |
+
/* Content */
|
146 |
+
.content
|
147 |
+
{
|
148 |
+
border-bottom: 1px solid #47a3da;
|
149 |
+
border-top: 0;
|
150 |
+
background-color: white;
|
151 |
+
padding: 30px;
|
152 |
+
height: 100vh;
|
153 |
+
}
|
154 |
+
|
155 |
+
.height-auto{
|
156 |
+
height: auto;
|
157 |
+
}
|
158 |
+
|
159 |
+
.content section
|
160 |
+
{
|
161 |
+
|
162 |
+
margin: 0 auto;
|
163 |
+
}
|
164 |
+
|
165 |
+
.content section:before,
|
166 |
+
.content section:after
|
167 |
+
{
|
168 |
+
content: '';
|
169 |
+
display: table;
|
170 |
+
}
|
171 |
+
|
172 |
+
.content section:after
|
173 |
+
{
|
174 |
+
clear: both;
|
175 |
+
}
|
176 |
+
|
177 |
+
/* Fallback example */
|
178 |
+
.no-js .content section
|
179 |
+
{
|
180 |
+
display: block;
|
181 |
+
padding-bottom: 2em;
|
182 |
+
border-bottom: 1px solid #47a3da;
|
183 |
+
}
|
184 |
+
|
185 |
+
.content section.content-current
|
186 |
+
{
|
187 |
+
display: block;
|
188 |
+
}
|
189 |
+
|
190 |
+
/* Example media queries */
|
191 |
+
|
192 |
+
@media screen and (max-width: 52.375em)
|
193 |
+
{
|
194 |
+
.tabs nav a span
|
195 |
+
{
|
196 |
+
display: none;
|
197 |
+
}
|
198 |
+
|
199 |
+
.tabs nav a:before
|
200 |
+
{
|
201 |
+
margin-right: 0;
|
202 |
+
}
|
203 |
+
}
|
204 |
+
|
205 |
+
@media screen and (max-width: 32em)
|
206 |
+
{
|
207 |
+
.tabs nav ul,
|
208 |
+
.tabs nav ul li a
|
209 |
+
{
|
210 |
+
width: 100%;
|
211 |
+
padding: 0;
|
212 |
+
}
|
213 |
+
|
214 |
+
.tabs nav ul li
|
215 |
+
{
|
216 |
+
width: 20%;
|
217 |
+
width: calc(20% + 1px);
|
218 |
+
margin: 0 0 0 -1px;
|
219 |
+
}
|
220 |
+
|
221 |
+
.tabs nav ul li:last-child
|
222 |
+
{
|
223 |
+
border-right: none;
|
224 |
+
}
|
225 |
+
}
|
226 |
+
|
227 |
+
.tabs nav li a
|
228 |
+
{
|
229 |
+
color: #0073aa;
|
230 |
+
text-decoration: none;
|
231 |
+
outline: none !important;
|
232 |
+
}
|
233 |
+
|
234 |
+
.tabs nav li a:hover
|
235 |
+
{
|
236 |
+
font-weight: bold;
|
237 |
+
}
|
238 |
+
|
239 |
+
p.info
|
240 |
+
{
|
241 |
+
text-align: center;
|
242 |
+
padding: 20px;
|
243 |
+
}
|
components/youtube/admin/assets/css/license-manager.css
ADDED
@@ -0,0 +1,762 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
.not-visible-in-manager
|
3 |
+
{
|
4 |
+
display: none;
|
5 |
+
}
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Global License Message
|
9 |
+
*/
|
10 |
+
.global-license-message
|
11 |
+
{
|
12 |
+
width: 600px;
|
13 |
+
margin: auto;
|
14 |
+
/*margin-top: 100px;*/
|
15 |
+
font-size: 14px;
|
16 |
+
line-height: 170%;
|
17 |
+
}
|
18 |
+
|
19 |
+
.global-license-message h2, .global-license-message h3
|
20 |
+
{
|
21 |
+
padding: 0px;
|
22 |
+
margin: 5px 0;
|
23 |
+
}
|
24 |
+
|
25 |
+
.onp-page-wrap
|
26 |
+
{
|
27 |
+
max-width: 70%;
|
28 |
+
margin: auto;
|
29 |
+
margin-top: 40px;
|
30 |
+
font-size: 14px;
|
31 |
+
line-height: 170%;
|
32 |
+
}
|
33 |
+
|
34 |
+
.onp-container
|
35 |
+
{
|
36 |
+
border: 0px;
|
37 |
+
padding: 0px;
|
38 |
+
border-radius: 5px;
|
39 |
+
background: rgb(255, 255, 255) !important;
|
40 |
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
|
41 |
+
-moz-box-sizing: border-box;
|
42 |
+
box-sizing: border-box;
|
43 |
+
}
|
44 |
+
|
45 |
+
#license-manager .onp-container
|
46 |
+
{
|
47 |
+
background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* FF3.6+ */
|
48 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(63%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(246, 246, 246, 1))); /* Chrome,Safari4+ */
|
49 |
+
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* Chrome10+,Safari5.1+ */
|
50 |
+
background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* Opera 11.10+ */
|
51 |
+
background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* IE10+ */
|
52 |
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* W3C */
|
53 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0); /* IE6-9 */
|
54 |
+
}
|
55 |
+
|
56 |
+
.onp-container h2
|
57 |
+
{
|
58 |
+
margin: 0px;
|
59 |
+
padding: 0px;
|
60 |
+
}
|
61 |
+
|
62 |
+
.onp-container p
|
63 |
+
{
|
64 |
+
margin: 0 0 2px 0;
|
65 |
+
padding: 0px;
|
66 |
+
line-height: 170%;
|
67 |
+
}
|
68 |
+
|
69 |
+
.btn-uppercase
|
70 |
+
{
|
71 |
+
font-size: 12px;
|
72 |
+
letter-spacing: 1px;
|
73 |
+
text-transform: uppercase;
|
74 |
+
text-decoration: none;
|
75 |
+
}
|
76 |
+
|
77 |
+
.btn-uppercase *[class^=icon]
|
78 |
+
{
|
79 |
+
position: relative;
|
80 |
+
top: -1px;
|
81 |
+
left: -1px;
|
82 |
+
}
|
83 |
+
|
84 |
+
.onp-page-wrap .license-message
|
85 |
+
{
|
86 |
+
margin-bottom: 20px;
|
87 |
+
overflow: hidden;
|
88 |
+
}
|
89 |
+
|
90 |
+
.onp-page-wrap .license-message .alert
|
91 |
+
{
|
92 |
+
margin: 0px;
|
93 |
+
}
|
94 |
+
|
95 |
+
.onp-page-wrap .license-message strong
|
96 |
+
{
|
97 |
+
display: block;
|
98 |
+
margin-bottom: 0px;
|
99 |
+
}
|
100 |
+
|
101 |
+
.onp-page-wrap .license-message p
|
102 |
+
{
|
103 |
+
margin: 1px 0 1px 0;
|
104 |
+
padding: 0px;
|
105 |
+
}
|
106 |
+
|
107 |
+
.onp-page-wrap .license-message a
|
108 |
+
{
|
109 |
+
font-weight: bold;
|
110 |
+
}
|
111 |
+
|
112 |
+
.license-message .alert-warning-icon
|
113 |
+
{
|
114 |
+
padding-left: 60px;
|
115 |
+
background-image: url("../img/warning.png");
|
116 |
+
background-position: 15px 11px;
|
117 |
+
background-repeat: no-repeat;
|
118 |
+
}
|
119 |
+
|
120 |
+
#onp-hide-license-manager
|
121 |
+
{
|
122 |
+
position: absolute;
|
123 |
+
top: 2px;
|
124 |
+
right: 15px;
|
125 |
+
font-size: 12px;
|
126 |
+
color: #777;
|
127 |
+
font-weight: bold;
|
128 |
+
}
|
129 |
+
|
130 |
+
#onp-hide-license-manager:hover
|
131 |
+
{
|
132 |
+
text-decoration: none;
|
133 |
+
}
|
134 |
+
|
135 |
+
#onp-hide-license-manager,
|
136 |
+
#onp-hide-license-manager:focus,
|
137 |
+
#onp-hide-license-manager:hover
|
138 |
+
{
|
139 |
+
outline: none;
|
140 |
+
border: 0px;
|
141 |
+
box-shadow: none;
|
142 |
+
}
|
143 |
+
|
144 |
+
#onp-hide-license-manager .fa
|
145 |
+
{
|
146 |
+
margin-right: 5px;
|
147 |
+
}
|
148 |
+
|
149 |
+
#license-manager .license-details-wrap
|
150 |
+
{
|
151 |
+
border: 1px solid #e9e9e9;
|
152 |
+
padding: 0px;
|
153 |
+
border-radius: 5px;
|
154 |
+
|
155 |
+
background: rgb(255, 255, 255); /* Old browsers */
|
156 |
+
background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* FF3.6+ */
|
157 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(63%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(246, 246, 246, 1))); /* Chrome,Safari4+ */
|
158 |
+
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* Chrome10+,Safari5.1+ */
|
159 |
+
background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* Opera 11.10+ */
|
160 |
+
background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* IE10+ */
|
161 |
+
background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 63%, rgba(246, 246, 246, 1) 100%); /* W3C */
|
162 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0); /* IE6-9 */
|
163 |
+
|
164 |
+
box-shadow: 0px 2px 1px #c9c9c9;
|
165 |
+
}
|
166 |
+
|
167 |
+
#license-manager .activate-trial-hint
|
168 |
+
{
|
169 |
+
background-color: #f8f8f8;
|
170 |
+
padding: 10px 20px;
|
171 |
+
position: relative;
|
172 |
+
-moz-box-sizing: content-box;
|
173 |
+
box-sizing: content-box;
|
174 |
+
}
|
175 |
+
|
176 |
+
#license-manager .activate-error-hint
|
177 |
+
{
|
178 |
+
background-color: #fb7976;
|
179 |
+
color: #f5f5f5;
|
180 |
+
text-shadow: none;
|
181 |
+
padding: 2px 9px;
|
182 |
+
width: 100%;
|
183 |
+
position: relative;
|
184 |
+
margin-left: -9px;
|
185 |
+
-moz-box-sizing: content-box;
|
186 |
+
box-sizing: content-box;
|
187 |
+
}
|
188 |
+
|
189 |
+
#license-manager .license-details
|
190 |
+
{
|
191 |
+
padding: 20px;
|
192 |
+
padding-bottom: 0px;
|
193 |
+
-webkit-border-top-left-radius: 5px;
|
194 |
+
-webkit-border-top-right-radius: 5px;
|
195 |
+
-moz-border-radius-topleft: 5px;
|
196 |
+
-moz-border-radius-topright: 5px;
|
197 |
+
border-top-left-radius: 5px;
|
198 |
+
border-top-right-radius: 5px;
|
199 |
+
|
200 |
+
position: relative;
|
201 |
+
z-index: 10;
|
202 |
+
}
|
203 |
+
|
204 |
+
#license-manager .license-key-identity
|
205 |
+
{
|
206 |
+
font-style: italic;
|
207 |
+
position: relative;
|
208 |
+
top: -6px;
|
209 |
+
}
|
210 |
+
|
211 |
+
#license-manager .license-key-identity code
|
212 |
+
{
|
213 |
+
display: inline-block;
|
214 |
+
padding: 2px 5px;
|
215 |
+
font-size: 16px;
|
216 |
+
}
|
217 |
+
|
218 |
+
#license-manager .license-key-description
|
219 |
+
{
|
220 |
+
font-size: 12px;
|
221 |
+
}
|
222 |
+
|
223 |
+
#license-manager .license-delete-button
|
224 |
+
{
|
225 |
+
float: right;
|
226 |
+
text-decoration: none;
|
227 |
+
position: relative;
|
228 |
+
top: -7px;
|
229 |
+
left: 10px;
|
230 |
+
}
|
231 |
+
|
232 |
+
#license-manager .license-synchronization-button
|
233 |
+
{
|
234 |
+
float: right;
|
235 |
+
text-decoration: none;
|
236 |
+
position: relative;
|
237 |
+
top: -7px;
|
238 |
+
left: 4px;
|
239 |
+
}
|
240 |
+
|
241 |
+
#license-manager .license-details-block
|
242 |
+
{
|
243 |
+
padding: 28px 35px 15px 35px;
|
244 |
+
margin-left: -35px;
|
245 |
+
width: 100%;
|
246 |
+
position: relative;
|
247 |
+
margin-top: 20px;
|
248 |
+
|
249 |
+
background: #fff;
|
250 |
+
border: 0px;
|
251 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
252 |
+
color: #333;
|
253 |
+
|
254 |
+
border-radius: 5px;
|
255 |
+
|
256 |
+
-webkit-box-sizing: content-box;
|
257 |
+
-moz-box-sizing: content-box;
|
258 |
+
box-sizing: content-box;
|
259 |
+
}
|
260 |
+
|
261 |
+
#license-manager .license-details-block p + p
|
262 |
+
{
|
263 |
+
margin-top: 10px;
|
264 |
+
}
|
265 |
+
|
266 |
+
#license-manager .license-details-block a
|
267 |
+
{
|
268 |
+
font-weight: bold;
|
269 |
+
}
|
270 |
+
|
271 |
+
#license-manager .license-details-block.trial-details-block
|
272 |
+
{
|
273 |
+
background: #ffdede;
|
274 |
+
|
275 |
+
border: 0;
|
276 |
+
box-shadow: 0 0 7px #cf4944;
|
277 |
+
color: #a04342;
|
278 |
+
text-shadow: 1px 1px 2px #fff2f2;
|
279 |
+
}
|
280 |
+
|
281 |
+
#license-manager .license-details-block.trial-details-block a
|
282 |
+
{
|
283 |
+
color: #a04342;
|
284 |
+
}
|
285 |
+
|
286 |
+
#license-manager .license-details-block.paid-details-block
|
287 |
+
{
|
288 |
+
border: 0;
|
289 |
+
box-shadow: 0 0 7px #b8823b;
|
290 |
+
color: #8a6d3b;
|
291 |
+
background: #fcf8e3;
|
292 |
+
}
|
293 |
+
|
294 |
+
#license-manager .license-details-block.paid-details-block a
|
295 |
+
{
|
296 |
+
color: #7a4c00;
|
297 |
+
}
|
298 |
+
|
299 |
+
#license-manager .license-details-block.gift-details-block
|
300 |
+
{
|
301 |
+
background: #DFF0D8;
|
302 |
+
border: 1px solid #D6E9C6;
|
303 |
+
box-shadow: 0px 0px 5px #D6E9C6;
|
304 |
+
color: #468847;
|
305 |
+
}
|
306 |
+
|
307 |
+
#license-manager .license-details-block.gift-details-block a
|
308 |
+
{
|
309 |
+
color: #468847;
|
310 |
+
}
|
311 |
+
|
312 |
+
#license-manager .license-params
|
313 |
+
{
|
314 |
+
margin-top: 15px;
|
315 |
+
position: relative;
|
316 |
+
left: -2px;
|
317 |
+
}
|
318 |
+
|
319 |
+
#license-manager .license-value
|
320 |
+
{
|
321 |
+
display: block;
|
322 |
+
font-size: 16px;
|
323 |
+
font-weight: bold;
|
324 |
+
}
|
325 |
+
|
326 |
+
#license-manager .license-value small
|
327 |
+
{
|
328 |
+
font-weight: normal;
|
329 |
+
}
|
330 |
+
|
331 |
+
#license-manager .license-value-name
|
332 |
+
{
|
333 |
+
display: block;
|
334 |
+
font-size: 12px;
|
335 |
+
}
|
336 |
+
|
337 |
+
#license-manager .license-param
|
338 |
+
{
|
339 |
+
white-space: nowrap;
|
340 |
+
line-height: 130%;
|
341 |
+
padding: 10px 0 10px 35px;
|
342 |
+
vertical-align: top;
|
343 |
+
}
|
344 |
+
|
345 |
+
#license-manager .license-param-domain
|
346 |
+
{
|
347 |
+
padding-left: 65px;
|
348 |
+
background: url('../img/free-license-chip.png') -3px 0px no-repeat;
|
349 |
+
}
|
350 |
+
|
351 |
+
#license-manager .trial-details-block .license-param-domain
|
352 |
+
{
|
353 |
+
background: url('../img/trial-license-chip.png') -3px 0px no-repeat;
|
354 |
+
}
|
355 |
+
|
356 |
+
#license-manager .paid-details-block .license-param-domain
|
357 |
+
{
|
358 |
+
background: url('../img/paid-license-chip.png') -3px 0px no-repeat;
|
359 |
+
}
|
360 |
+
|
361 |
+
#license-manager .license-details-block h3
|
362 |
+
{
|
363 |
+
padding: 0;
|
364 |
+
font-size: 22px;
|
365 |
+
margin: 0 0 16px 0;
|
366 |
+
color: #8a6d3b;
|
367 |
+
font-weight: 500;
|
368 |
+
}
|
369 |
+
|
370 |
+
#license-manager .license-details-block a
|
371 |
+
{
|
372 |
+
color: #a04342;
|
373 |
+
}
|
374 |
+
|
375 |
+
#license-manager .license-input
|
376 |
+
{
|
377 |
+
|
378 |
+
padding: 20px;
|
379 |
+
-webkit-border-bottom-right-radius: 5px;
|
380 |
+
-webkit-border-bottom-left-radius: 5px;
|
381 |
+
-moz-border-radius-bottomright: 5px;
|
382 |
+
-moz-border-radius-bottomleft: 5px;
|
383 |
+
border-bottom-right-radius: 5px;
|
384 |
+
border-bottom-left-radius: 5px;
|
385 |
+
}
|
386 |
+
|
387 |
+
#license-manager .license-input .btn
|
388 |
+
{
|
389 |
+
text-decoration: none;
|
390 |
+
}
|
391 |
+
|
392 |
+
#license-manager .license-key-wrap
|
393 |
+
{
|
394 |
+
padding-right: 110px;
|
395 |
+
}
|
396 |
+
|
397 |
+
#license-key
|
398 |
+
{
|
399 |
+
width: 100%;
|
400 |
+
position: relative;
|
401 |
+
font-size: 18px;
|
402 |
+
line-height: 20px;
|
403 |
+
top: -1px;
|
404 |
+
height: 36px;
|
405 |
+
color: #000;
|
406 |
+
}
|
407 |
+
|
408 |
+
#license-submit
|
409 |
+
{
|
410 |
+
float: right;
|
411 |
+
padding: 7px 14px 6px 14px;
|
412 |
+
}
|
413 |
+
|
414 |
+
#plugin-update-block
|
415 |
+
{
|
416 |
+
padding-top: 10px;
|
417 |
+
font-size: 10px;
|
418 |
+
color: #666;
|
419 |
+
max-width: 700px;
|
420 |
+
margin: auto;
|
421 |
+
}
|
422 |
+
|
423 |
+
#plugin-update-block a
|
424 |
+
{
|
425 |
+
color: #000;
|
426 |
+
}
|
427 |
+
|
428 |
+
.purchase-premium
|
429 |
+
{
|
430 |
+
float: right;
|
431 |
+
position: relative;
|
432 |
+
top: -11px;
|
433 |
+
left: 8px;
|
434 |
+
text-decoration: none;
|
435 |
+
font-weight: bold;
|
436 |
+
background: #fffaea;
|
437 |
+
padding: 0px;
|
438 |
+
border-radius: 4px;
|
439 |
+
outline: none;
|
440 |
+
margin-top: 4px;
|
441 |
+
box-shadow: 0 0 8px #fddf67;
|
442 |
+
}
|
443 |
+
|
444 |
+
.purchase-premium .fa
|
445 |
+
{
|
446 |
+
position: relative;
|
447 |
+
margin-right: 3px;
|
448 |
+
margin-left: 3px;
|
449 |
+
}
|
450 |
+
|
451 |
+
/*
|
452 |
+
* Manual Trial Activation
|
453 |
+
*/
|
454 |
+
#trial-manual .onp-container
|
455 |
+
{
|
456 |
+
padding: 20px;
|
457 |
+
overflow: hidden;
|
458 |
+
}
|
459 |
+
|
460 |
+
#trial-manual ul
|
461 |
+
{
|
462 |
+
margin: 0px;
|
463 |
+
padding: 0px;
|
464 |
+
margin-top: 10px;
|
465 |
+
}
|
466 |
+
|
467 |
+
#trial-manual ul li
|
468 |
+
{
|
469 |
+
margin-bottom: 10px;
|
470 |
+
}
|
471 |
+
|
472 |
+
#trial-manual .license-reponse-code
|
473 |
+
{
|
474 |
+
width: 100%;
|
475 |
+
height: 150px;
|
476 |
+
margin-top: 5px;
|
477 |
+
}
|
478 |
+
|
479 |
+
/*
|
480 |
+
* Manual Key Activation
|
481 |
+
*/
|
482 |
+
#activate-key-manual .onp-container
|
483 |
+
{
|
484 |
+
padding: 20px;
|
485 |
+
overflow: hidden;
|
486 |
+
}
|
487 |
+
|
488 |
+
#activate-key-manual ul
|
489 |
+
{
|
490 |
+
margin: 0px;
|
491 |
+
padding: 0px;
|
492 |
+
margin-top: 10px;
|
493 |
+
}
|
494 |
+
|
495 |
+
#activate-key-manual ul li
|
496 |
+
{
|
497 |
+
margin-bottom: 10px;
|
498 |
+
}
|
499 |
+
|
500 |
+
#activate-key-manual .license-reponse-code
|
501 |
+
{
|
502 |
+
width: 100%;
|
503 |
+
height: 150px;
|
504 |
+
margin-top: 5px;
|
505 |
+
}
|
506 |
+
|
507 |
+
/**
|
508 |
+
* FAQ
|
509 |
+
*/
|
510 |
+
|
511 |
+
#faq-block
|
512 |
+
{
|
513 |
+
border-top: 1px solid #d7d7d7;
|
514 |
+
|
515 |
+
margin-top: 20px;
|
516 |
+
width: 100%;
|
517 |
+
|
518 |
+
padding: 10px 20px;
|
519 |
+
position: relative;
|
520 |
+
}
|
521 |
+
|
522 |
+
#faq-block .faq-header
|
523 |
+
{
|
524 |
+
border-bottom: 1px dotted #333;
|
525 |
+
display: inline-block;
|
526 |
+
cursor: pointer;
|
527 |
+
font-weight: bold;
|
528 |
+
line-height: 16px;
|
529 |
+
font-size: 13px;
|
530 |
+
color: #333;
|
531 |
+
}
|
532 |
+
|
533 |
+
#faq-block .faq-header:hover
|
534 |
+
{
|
535 |
+
border-bottom: 0px;
|
536 |
+
}
|
537 |
+
|
538 |
+
#faq-block .faq-header:focus, #faq-block .faq-header:active
|
539 |
+
{
|
540 |
+
outline: 0;
|
541 |
+
}
|
542 |
+
|
543 |
+
#faq-block li > div
|
544 |
+
{
|
545 |
+
display: none;
|
546 |
+
}
|
547 |
+
|
548 |
+
#faq-block p
|
549 |
+
{
|
550 |
+
margin: 6px 0 10px 0;
|
551 |
+
font-size: 13px;
|
552 |
+
line-height: 170%;
|
553 |
+
}
|
554 |
+
|
555 |
+
#open-faq
|
556 |
+
{
|
557 |
+
color: #000 !important;
|
558 |
+
text-decoration: none;
|
559 |
+
border-bottom: 1px dotted #000;
|
560 |
+
margin-left: 4px;
|
561 |
+
}
|
562 |
+
|
563 |
+
#open-faq:hover
|
564 |
+
{
|
565 |
+
border-bottom: 0px;
|
566 |
+
}
|
567 |
+
|
568 |
+
.gray-link, .gray-link a
|
569 |
+
{
|
570 |
+
color: #666666 !important;
|
571 |
+
}
|
572 |
+
|
573 |
+
/**
|
574 |
+
* A form to create a customer account
|
575 |
+
*/
|
576 |
+
|
577 |
+
.onp-single-block .onp-header
|
578 |
+
{
|
579 |
+
text-align: center;
|
580 |
+
padding: 10px;
|
581 |
+
}
|
582 |
+
|
583 |
+
.onp-single-block .onp-header h4
|
584 |
+
{
|
585 |
+
font-size: 26px;
|
586 |
+
line-height: 130%;
|
587 |
+
}
|
588 |
+
|
589 |
+
.onp-single-block .onp-container
|
590 |
+
{
|
591 |
+
padding: 50px 60px;
|
592 |
+
border: 1px solid #bbb;
|
593 |
+
position: relative;
|
594 |
+
}
|
595 |
+
|
596 |
+
.onp-single-block .onp-container .onp-container-header
|
597 |
+
{
|
598 |
+
margin-bottom: 20px;
|
599 |
+
}
|
600 |
+
|
601 |
+
.onp-single-block .onp-container .onp-container-header h4
|
602 |
+
{
|
603 |
+
color: #000;
|
604 |
+
margin: 0px;
|
605 |
+
font-size: 20px;
|
606 |
+
}
|
607 |
+
|
608 |
+
.onp-single-block .onp-container .onp-container-header .onp-key-info
|
609 |
+
{
|
610 |
+
color: #666;
|
611 |
+
}
|
612 |
+
|
613 |
+
.onp-single-block .onp-container .onp-container-header .onp-key-info .fa
|
614 |
+
{
|
615 |
+
color: #777;
|
616 |
+
}
|
617 |
+
|
618 |
+
.onp-single-block .onp-container .onp-container-header .onp-icon
|
619 |
+
{
|
620 |
+
position: absolute;
|
621 |
+
top: 30px;
|
622 |
+
right: 30px;
|
623 |
+
}
|
624 |
+
|
625 |
+
.onp-single-block .onp-container p,
|
626 |
+
.onp-single-block .onp-container li
|
627 |
+
{
|
628 |
+
color: #333;
|
629 |
+
font-size: 14px;
|
630 |
+
}
|
631 |
+
|
632 |
+
.onp-single-block .onp-container p + p
|
633 |
+
{
|
634 |
+
margin-top: 15px;
|
635 |
+
}
|
636 |
+
|
637 |
+
.onp-single-block .onp-container .onp-form
|
638 |
+
{
|
639 |
+
text-align: left;
|
640 |
+
padding: 10px 0 0 0;
|
641 |
+
}
|
642 |
+
|
643 |
+
.onp-single-block #email
|
644 |
+
{
|
645 |
+
font-size: 26px;
|
646 |
+
line-height: 26px;
|
647 |
+
height: 50px;
|
648 |
+
}
|
649 |
+
|
650 |
+
.onp-single-block .checkbox
|
651 |
+
{
|
652 |
+
padding-left: 25px;
|
653 |
+
color: #999;
|
654 |
+
font-style: italic;
|
655 |
+
}
|
656 |
+
|
657 |
+
.onp-single-block .checkbox input
|
658 |
+
{
|
659 |
+
margin-left: -25px;
|
660 |
+
}
|
661 |
+
|
662 |
+
.onp-single-block .onp-actions
|
663 |
+
{
|
664 |
+
padding-top: 20px;
|
665 |
+
}
|
666 |
+
|
667 |
+
.onp-single-block .onp-actions .btn-primary
|
668 |
+
{
|
669 |
+
margin-right: 15px;
|
670 |
+
}
|
671 |
+
|
672 |
+
.onp-single-block .onp-actions a.onp-cancel
|
673 |
+
{
|
674 |
+
text-decoration: none;
|
675 |
+
color: #111;
|
676 |
+
}
|
677 |
+
|
678 |
+
.onp-single-block .onp-actions a.onp-cancel:hover
|
679 |
+
{
|
680 |
+
text-decoration: none;
|
681 |
+
border-bottom: 1px solid #111;
|
682 |
+
background-color: #f9f9f9;
|
683 |
+
}
|
684 |
+
|
685 |
+
.onp-single-block .onp-benefits
|
686 |
+
{
|
687 |
+
padding-left: 25px;
|
688 |
+
margin-top: 15px;
|
689 |
+
list-style: initial;
|
690 |
+
}
|
691 |
+
|
692 |
+
.onp-single-block .onp-login-details
|
693 |
+
{
|
694 |
+
|
695 |
+
}
|
696 |
+
|
697 |
+
.onp-single-block .onp-text-seporator
|
698 |
+
{
|
699 |
+
border-top: 1px solid #eee;
|
700 |
+
margin: 30px 0;
|
701 |
+
}
|
702 |
+
|
703 |
+
#create-account .onp-container
|
704 |
+
{
|
705 |
+
background: #fff url("../img/create-account-bg.png") no-repeat 370px 230px !important;
|
706 |
+
}
|
707 |
+
|
708 |
+
#account-created .onp-step
|
709 |
+
{
|
710 |
+
overflow: hidden;
|
711 |
+
}
|
712 |
+
|
713 |
+
#account-created .onp-steps
|
714 |
+
{
|
715 |
+
padding: 25px 0 20px 10px;
|
716 |
+
}
|
717 |
+
|
718 |
+
#account-created .onp-step + .onp-step
|
719 |
+
{
|
720 |
+
margin-top: 20px;
|
721 |
+
}
|
722 |
+
|
723 |
+
#account-created .onp-step .onp-num
|
724 |
+
{
|
725 |
+
font-size: 25px;
|
726 |
+
line-height: 40px;
|
727 |
+
background-color: #f5f5f5;
|
728 |
+
width: 40px;
|
729 |
+
height: 40px;
|
730 |
+
display: inline-block;
|
731 |
+
border-radius: 7px;
|
732 |
+
text-align: center;
|
733 |
+
-moz-box-sizing: border-box;
|
734 |
+
box-sizing: border-box;
|
735 |
+
margin-right: 10px;
|
736 |
+
vertical-align: middle;
|
737 |
+
font-weight: bolder;
|
738 |
+
font-family: Arial, sans-serif;
|
739 |
+
}
|
740 |
+
|
741 |
+
#account-created .onp-step .onp-desc
|
742 |
+
{
|
743 |
+
width: 490px;
|
744 |
+
display: inline-block;
|
745 |
+
vertical-align: middle;
|
746 |
+
line-height: 150%;
|
747 |
+
}
|
748 |
+
|
749 |
+
#finish .onp-container
|
750 |
+
{
|
751 |
+
background: #fff url("../img/finish.png") no-repeat 0 -90px !important;
|
752 |
+
padding-left: 260px;
|
753 |
+
min-height: 250px;
|
754 |
+
|
755 |
+
border-bottom: 3px solid #ccc;
|
756 |
+
}
|
757 |
+
|
758 |
+
.wyt-loader
|
759 |
+
{
|
760 |
+
float: right;
|
761 |
+
width: 32px;
|
762 |
+
}
|
components/youtube/admin/assets/css/wtiktok-admin.css
ADDED
File without changes
|
components/youtube/admin/assets/css/wyoutube-admin.css
ADDED
@@ -0,0 +1,597 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wyt-container .donate {
|
2 |
+
padding: 5px 15px 10px;
|
3 |
+
display: inline-block;
|
4 |
+
position: relative;
|
5 |
+
color: #000;
|
6 |
+
background: #ffd751;
|
7 |
+
-webkit-border-radius: 5px;
|
8 |
+
border-radius: 5px;
|
9 |
+
border: 1px solid #b4b4b4;
|
10 |
+
font-weight: bold;
|
11 |
+
font-size: 14px;
|
12 |
+
text-decoration: none;
|
13 |
+
}
|
14 |
+
|
15 |
+
.wyt-container .donate a {
|
16 |
+
outline: 0;
|
17 |
+
cursor: pointer
|
18 |
+
}
|
19 |
+
|
20 |
+
.wyt-container .donate span:before {
|
21 |
+
color: #ce1f00;
|
22 |
+
font: 400 20px/1 dashicons;
|
23 |
+
font-family: dashicons;
|
24 |
+
font-size: 24px;
|
25 |
+
font-style: normal;
|
26 |
+
font-variant: normal;
|
27 |
+
font-weight: 400;
|
28 |
+
font-stretch: normal;
|
29 |
+
line-height: 1;
|
30 |
+
content: '\f487';
|
31 |
+
position: relative;
|
32 |
+
display: inline-block;
|
33 |
+
top: 4px;
|
34 |
+
margin-right: 4px;
|
35 |
+
}
|
36 |
+
|
37 |
+
.wyt-container .pressthis a, .wyt-container .pressthis-bookmarklet a,
|
38 |
+
.wyt-container .pressthis a:active, .wyt-container .pressthis-bookmarklet a:active,
|
39 |
+
.wyt-container .pressthis a:focus, .wyt-container .pressthis-bookmarklet a:focus,
|
40 |
+
.wyt-container .pressthis a:hover, .wyt-container .pressthis-bookmarklet a:hover {
|
41 |
+
cursor: pointer;
|
42 |
+
background: #53b5d9;
|
43 |
+
border: 1px solid #0074a2;
|
44 |
+
color: #ffffff;
|
45 |
+
font-weight: bold
|
46 |
+
}
|
47 |
+
|
48 |
+
.wyt-container .jr_insta_error {
|
49 |
+
border-left: 4px solid #dd3d36;
|
50 |
+
-moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
|
51 |
+
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
|
52 |
+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
|
53 |
+
padding: 5px 12px;
|
54 |
+
}
|
55 |
+
|
56 |
+
.wyt-container .wyt-radio {
|
57 |
+
margin-right: 20px
|
58 |
+
}
|
59 |
+
|
60 |
+
.wyt-container .wyt-search-for-container {
|
61 |
+
display: block;
|
62 |
+
margin-bottom: 7px;
|
63 |
+
}
|
64 |
+
|
65 |
+
.wyt-container .wyt-seach-for {
|
66 |
+
width: 90px;
|
67 |
+
display: inline-block;
|
68 |
+
vertical-align: middle
|
69 |
+
}
|
70 |
+
|
71 |
+
.wyt-container .wyt-advanced {
|
72 |
+
text-decoration: none;
|
73 |
+
border: none
|
74 |
+
}
|
75 |
+
|
76 |
+
.wyt-container .wyt-advanced:focus {
|
77 |
+
outline: 0;
|
78 |
+
border: none;
|
79 |
+
box-shadow: none
|
80 |
+
}
|
81 |
+
|
82 |
+
.wyt-container .wyt-advanced-input div {
|
83 |
+
border: 1px solid #cfcfcf;
|
84 |
+
padding: 10px;
|
85 |
+
margin: 25px 0 0;
|
86 |
+
}
|
87 |
+
|
88 |
+
.wyt-container .wyt-advanced-input .wyt-advanced-title {
|
89 |
+
margin: -22px 0 0 0;
|
90 |
+
background-color: white;
|
91 |
+
width: 160px;
|
92 |
+
padding: 3px 10px;
|
93 |
+
border: 1px solid #cfcfcf;
|
94 |
+
}
|
95 |
+
|
96 |
+
.wyt-container .wyt-description {
|
97 |
+
color: #777;
|
98 |
+
font-size: smaller;
|
99 |
+
clear: both;
|
100 |
+
display: block;
|
101 |
+
margin-top: 5px;
|
102 |
+
}
|
103 |
+
|
104 |
+
.wyt-container .wyt-description.hide-media-library, .wyt-container .wyt-description.hide-instagram {
|
105 |
+
display: none
|
106 |
+
}
|
107 |
+
|
108 |
+
.wyt-container .switch {
|
109 |
+
position: relative;
|
110 |
+
display: inline-block;
|
111 |
+
margin-left: 5px;
|
112 |
+
width: 45px;
|
113 |
+
height: 24px;
|
114 |
+
}
|
115 |
+
|
116 |
+
.wyt-container .switch input {
|
117 |
+
display: none;
|
118 |
+
}
|
119 |
+
|
120 |
+
.wyt-container .slider {
|
121 |
+
position: absolute;
|
122 |
+
cursor: pointer;
|
123 |
+
top: 0;
|
124 |
+
left: 0;
|
125 |
+
right: 0;
|
126 |
+
bottom: 0;
|
127 |
+
background-color: #ccc;
|
128 |
+
-webkit-transition: .4s;
|
129 |
+
transition: .4s;
|
130 |
+
}
|
131 |
+
|
132 |
+
.wyt-container .slider:before {
|
133 |
+
position: absolute;
|
134 |
+
content: "";
|
135 |
+
height: 22px;
|
136 |
+
width: 22px;
|
137 |
+
left: 0px;
|
138 |
+
bottom: 0px;
|
139 |
+
border: 1px solid #e5e5e5;
|
140 |
+
background-color: white;
|
141 |
+
-webkit-transition: .4s;
|
142 |
+
transition: .4s;
|
143 |
+
}
|
144 |
+
|
145 |
+
.wyt-container input:checked + .slider {
|
146 |
+
background-color: #0085ba;
|
147 |
+
}
|
148 |
+
|
149 |
+
.wyt-container input:focus + .slider {
|
150 |
+
box-shadow: 0 0 1px #0085ba;
|
151 |
+
}
|
152 |
+
|
153 |
+
.wyt-container input:checked + .slider:before {
|
154 |
+
-webkit-transform: translateX(22px);
|
155 |
+
-ms-transform: translateX(22px);
|
156 |
+
transform: translateX(22px);
|
157 |
+
}
|
158 |
+
|
159 |
+
.wyt-container .slider.round {
|
160 |
+
border-radius: 34px;
|
161 |
+
}
|
162 |
+
|
163 |
+
.wyt-container .slider.round:before {
|
164 |
+
border-radius: 50%;
|
165 |
+
}
|
166 |
+
|
167 |
+
.wyt-container .donate-buttons {
|
168 |
+
text-align: center
|
169 |
+
}
|
170 |
+
|
171 |
+
.wyt-container .donate-button-link {
|
172 |
+
cursor: pointer
|
173 |
+
}
|
174 |
+
|
175 |
+
.wyt-btn-Youtube-account {
|
176 |
+
padding: 10px 20px;
|
177 |
+
text-transform: uppercase;
|
178 |
+
color: rgba(255, 255, 255, 0.8);
|
179 |
+
text-decoration: none;
|
180 |
+
border-radius: 5px;
|
181 |
+
transition: all .5s ease-in-out;
|
182 |
+
font-weight: 600;
|
183 |
+
background-color: #4267B2;
|
184 |
+
box-shadow: none;
|
185 |
+
border: 0;
|
186 |
+
margin-top: 5px !important;
|
187 |
+
}
|
188 |
+
|
189 |
+
.wyt-btn-Youtube-account-disabled {
|
190 |
+
opacity: 0.5 !important;
|
191 |
+
}
|
192 |
+
|
193 |
+
.btn-instagram-account-disabled {
|
194 |
+
opacity: 0.5;
|
195 |
+
}
|
196 |
+
|
197 |
+
.instagram-account-pro {
|
198 |
+
padding: 5px;
|
199 |
+
}
|
200 |
+
|
201 |
+
.wyt-spinner {
|
202 |
+
background: url(../img/spinner.gif) no-repeat;
|
203 |
+
background-size: 20px 20px;
|
204 |
+
display: inline-block;
|
205 |
+
visibility: hidden;
|
206 |
+
float: right;
|
207 |
+
vertical-align: middle;
|
208 |
+
opacity: 0.7;
|
209 |
+
filter: alpha(opacity=70);
|
210 |
+
width: 20px;
|
211 |
+
height: 20px;
|
212 |
+
margin: 4px 10px 0;
|
213 |
+
}
|
214 |
+
|
215 |
+
.wyt-text-token {
|
216 |
+
background: transparent !important;
|
217 |
+
border: 0 !important;
|
218 |
+
box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.00) !important;
|
219 |
+
}
|
220 |
+
|
221 |
+
.wyt-help-text {
|
222 |
+
font-size: 16px;
|
223 |
+
margin: 10px 0px 0px 10px;
|
224 |
+
}
|
225 |
+
|
226 |
+
.wyt-help-text p {
|
227 |
+
font-size: 16px;
|
228 |
+
}
|
229 |
+
|
230 |
+
i.wyt-shortcode-icon {
|
231 |
+
background: url(../img/wyt_icon_shortcode.png) center no-repeat;
|
232 |
+
}
|
233 |
+
|
234 |
+
/* MODAL popup*/
|
235 |
+
.wyt_accounts_modal {
|
236 |
+
position: fixed;
|
237 |
+
top: 50%;
|
238 |
+
left: 50%;
|
239 |
+
transform: translate(-50%, -50%);
|
240 |
+
width: 400px;
|
241 |
+
max-width: 100%;
|
242 |
+
height: 400px;
|
243 |
+
max-height: 100%;
|
244 |
+
z-index: 1010;
|
245 |
+
display: block;
|
246 |
+
overflow-y: auto;
|
247 |
+
overflow-x: hidden;
|
248 |
+
background-color: white;
|
249 |
+
border: 1px solid #32323280;
|
250 |
+
border-radius: 10px;
|
251 |
+
-webkit-box-shadow: 1px 1px 3px 0px rgba(50, 50, 50, 0.5);
|
252 |
+
-moz-box-shadow: 1px 1px 3px 0px rgba(50, 50, 50, 0.5);
|
253 |
+
box-shadow: 1px 1px 3px 0px rgba(50, 50, 50, 0.5);
|
254 |
+
}
|
255 |
+
|
256 |
+
#wyt_add_account_modal {
|
257 |
+
height: 230px !important;
|
258 |
+
}
|
259 |
+
|
260 |
+
.wyt_closed {
|
261 |
+
display: none !important;
|
262 |
+
}
|
263 |
+
|
264 |
+
.wyt_modal_content {
|
265 |
+
position: initial;
|
266 |
+
top: 0;
|
267 |
+
left: 0;
|
268 |
+
width: auto;
|
269 |
+
height: auto;
|
270 |
+
padding: 15px 20px 15px 20px;
|
271 |
+
overflow-y: auto;
|
272 |
+
overflow-x: hidden;
|
273 |
+
text-align: center;
|
274 |
+
}
|
275 |
+
|
276 |
+
.wyt_modal_header {
|
277 |
+
position: initial;
|
278 |
+
top: 0;
|
279 |
+
left: 0;
|
280 |
+
width: auto;
|
281 |
+
height: 20px;
|
282 |
+
padding: 15px 20px 25px 20px;
|
283 |
+
overflow: hidden;
|
284 |
+
text-align: left;
|
285 |
+
font-weight: bold;
|
286 |
+
font-size: 14px;
|
287 |
+
|
288 |
+
}
|
289 |
+
|
290 |
+
.wyt_modal_overlay {
|
291 |
+
z-index: 1000;
|
292 |
+
position: fixed;
|
293 |
+
top: 0;
|
294 |
+
left: 0;
|
295 |
+
width: 100%;
|
296 |
+
height: 100%;
|
297 |
+
background-color: rgba(0, 0, 0, 0.5);
|
298 |
+
}
|
299 |
+
|
300 |
+
.wyt-overlay-spinner {
|
301 |
+
background: url(../img/spinner.svg) no-repeat;
|
302 |
+
background-size: 100px 100px;
|
303 |
+
vertical-align: middle;
|
304 |
+
transform: translate(-50%, -50%);
|
305 |
+
left: 50%;
|
306 |
+
top: 50%;
|
307 |
+
width: 100px;
|
308 |
+
height: 100px;
|
309 |
+
position: fixed;
|
310 |
+
visibility: hidden;
|
311 |
+
z-index: 1001;
|
312 |
+
}
|
313 |
+
|
314 |
+
.is-active {
|
315 |
+
visibility: visible !important;
|
316 |
+
}
|
317 |
+
|
318 |
+
.wyt-row {
|
319 |
+
width: 95%;
|
320 |
+
min-width: 1120px;
|
321 |
+
display: flex;
|
322 |
+
}
|
323 |
+
|
324 |
+
.wyt-col-1 {
|
325 |
+
float: left;
|
326 |
+
width: 20%;
|
327 |
+
}
|
328 |
+
|
329 |
+
.wyt-col-2 {
|
330 |
+
float: left;
|
331 |
+
width: 80%;
|
332 |
+
}
|
333 |
+
|
334 |
+
.wyt-col-full {
|
335 |
+
float: left;
|
336 |
+
width: 100%;
|
337 |
+
}
|
338 |
+
|
339 |
+
.wyt-row-style {
|
340 |
+
padding: 10px;
|
341 |
+
cursor: pointer;
|
342 |
+
text-align: center;
|
343 |
+
}
|
344 |
+
|
345 |
+
.wyt-col1-style {
|
346 |
+
text-align: center;
|
347 |
+
vertical-align: middle;
|
348 |
+
}
|
349 |
+
|
350 |
+
.wyt-col-full-style {
|
351 |
+
height: 50px;
|
352 |
+
font-weight: bold;
|
353 |
+
font-size: 14px;
|
354 |
+
padding-left: 5px;
|
355 |
+
text-align: center;
|
356 |
+
vertical-align: middle;
|
357 |
+
}
|
358 |
+
|
359 |
+
.wyt-col1-style img {
|
360 |
+
border: 1px solid #dadada;
|
361 |
+
border-radius: 10px;
|
362 |
+
vertical-align: middle;
|
363 |
+
}
|
364 |
+
|
365 |
+
.wyt-col2-style {
|
366 |
+
font-weight: bold;
|
367 |
+
font-size: 14px;
|
368 |
+
padding-left: 5px;
|
369 |
+
}
|
370 |
+
|
371 |
+
.wyt-col2-style p {
|
372 |
+
vertical-align: middle;
|
373 |
+
}
|
374 |
+
|
375 |
+
.wyt-page-title {
|
376 |
+
text-align: center;
|
377 |
+
padding: 10px 0;
|
378 |
+
}
|
379 |
+
|
380 |
+
.wyt-page-title h1 {
|
381 |
+
vertical-align: middle;
|
382 |
+
color: #000000;
|
383 |
+
text-shadow: 1px 1px 1px #ccc;
|
384 |
+
}
|
385 |
+
|
386 |
+
.wyt-div-added {
|
387 |
+
display: inline-block;
|
388 |
+
background-color: #d3dec1;
|
389 |
+
border: 1px solid green;
|
390 |
+
border-radius: 5px;
|
391 |
+
text-align: center;
|
392 |
+
word-break: break-word;
|
393 |
+
width: 100px;
|
394 |
+
float: right;
|
395 |
+
font-size: 12px;
|
396 |
+
line-height: 1.1;
|
397 |
+
padding: 5px 0px;
|
398 |
+
}
|
399 |
+
|
400 |
+
.wyt-widgets-container {
|
401 |
+
padding: 20px 0 0 0;
|
402 |
+
/*margin-right: 20px;*/
|
403 |
+
}
|
404 |
+
|
405 |
+
.wyt-col-16 {
|
406 |
+
float: left;
|
407 |
+
width: 16.66666666%;
|
408 |
+
}
|
409 |
+
|
410 |
+
.wyt-demo-widgets {
|
411 |
+
width: auto;
|
412 |
+
padding: 15px;
|
413 |
+
margin: 0 20px 20px 0;
|
414 |
+
background: #fafafa;
|
415 |
+
color: #23282d;
|
416 |
+
border: 1px solid #ccd0d4;
|
417 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
|
418 |
+
}
|
419 |
+
|
420 |
+
.wyt-demo-widgets .wyt-demo-widefat {
|
421 |
+
color: black;
|
422 |
+
font-family: monospace;
|
423 |
+
text-align: center;
|
424 |
+
}
|
425 |
+
|
426 |
+
.wyt-demo-shortcode {
|
427 |
+
margin: 10px 0 10px 0;
|
428 |
+
text-align: center;
|
429 |
+
}
|
430 |
+
|
431 |
+
.wyt-demo-shortcode p {
|
432 |
+
margin: 0 !important;
|
433 |
+
padding: 0 10px 10px 10px !important;
|
434 |
+
}
|
435 |
+
|
436 |
+
.wyt-demo-shortcode input {
|
437 |
+
padding: 0 !important;
|
438 |
+
width: 95%;
|
439 |
+
font-size: 12px;
|
440 |
+
}
|
441 |
+
|
442 |
+
.wyt-demo-shortcode span.wyt_demo_pro:after {
|
443 |
+
display: inline-block;
|
444 |
+
position: relative;
|
445 |
+
content: 'PRO';
|
446 |
+
background: #ff5722;
|
447 |
+
border-radius: 4px;
|
448 |
+
color: #fff;
|
449 |
+
font-size: 10px;
|
450 |
+
line-height: 1;
|
451 |
+
font-style: normal;
|
452 |
+
padding: 4px 6px;
|
453 |
+
margin-left: 4px;
|
454 |
+
vertical-align: top;
|
455 |
+
top: 0;
|
456 |
+
left: 0;
|
457 |
+
right: auto;
|
458 |
+
z-index: 11;
|
459 |
+
cursor: pointer;
|
460 |
+
}
|
461 |
+
|
462 |
+
.wyt-add-form {
|
463 |
+
display: inline-block;
|
464 |
+
padding: 0 10px;
|
465 |
+
|
466 |
+
}
|
467 |
+
|
468 |
+
|
469 |
+
|
470 |
+
.wyt-add-form label {
|
471 |
+
vertical-align: top;
|
472 |
+
margin-top: 4px;
|
473 |
+
}
|
474 |
+
|
475 |
+
.wyt-add-form label:first-of-type {
|
476 |
+
padding-right: 10px;
|
477 |
+
}
|
478 |
+
|
479 |
+
.wyt-table > tbody > tr > td {
|
480 |
+
background-color: white;
|
481 |
+
vertical-align: baseline;
|
482 |
+
font-size: 15px;
|
483 |
+
}
|
484 |
+
|
485 |
+
.wyt-table > thead > tr > th {
|
486 |
+
font-weight: bold;
|
487 |
+
background-color: #e8e8e8;
|
488 |
+
}
|
489 |
+
|
490 |
+
.wyt-table td.profile-picture {
|
491 |
+
width: 80px;
|
492 |
+
text-align: center;
|
493 |
+
}
|
494 |
+
|
495 |
+
.wyt-table td.profile-picture img {
|
496 |
+
border-radius: 100%;
|
497 |
+
}
|
498 |
+
.wyt-table td .wyt-delete-account {
|
499 |
+
font-size: 15px;
|
500 |
+
}
|
501 |
+
|
502 |
+
.yt-channel-container{
|
503 |
+
box-shadow: 0 0 5px rgba(0,0,0,0.15);
|
504 |
+
margin: 10px 10px;
|
505 |
+
border: solid 1px lightgray;
|
506 |
+
border-radius: 5px;
|
507 |
+
height: 410px;
|
508 |
+
}
|
509 |
+
|
510 |
+
.yt-channel-link{
|
511 |
+
background-color: #eeeeee !important;
|
512 |
+
padding: 3% 10%;
|
513 |
+
border-radius: 5px;
|
514 |
+
|
515 |
+
}
|
516 |
+
|
517 |
+
.yt-channel-link:hover{
|
518 |
+
color: white !important;
|
519 |
+
background-color: #999 !important;
|
520 |
+
}
|
521 |
+
|
522 |
+
.yt-channel-img-container{
|
523 |
+
display: flex;
|
524 |
+
justify-content: center !important;
|
525 |
+
}
|
526 |
+
|
527 |
+
.yt-channel-title{
|
528 |
+
margin: 12% 0 3% 0;
|
529 |
+
text-align: center;
|
530 |
+
font-size: large;
|
531 |
+
font-weight: 600;
|
532 |
+
}
|
533 |
+
|
534 |
+
.yt-channel-desc{
|
535 |
+
line-height: 2;
|
536 |
+
margin-top: 1vh;
|
537 |
+
}
|
538 |
+
|
539 |
+
.ellipsis {
|
540 |
+
text-overflow: ellipsis;
|
541 |
+
white-space: nowrap;
|
542 |
+
overflow: hidden;
|
543 |
+
}
|
544 |
+
|
545 |
+
.ellipsis-5-lines {
|
546 |
+
overflow: hidden;
|
547 |
+
display: -webkit-box;
|
548 |
+
-webkit-box-orient: vertical;
|
549 |
+
-webkit-line-clamp: 5;
|
550 |
+
}
|
551 |
+
|
552 |
+
.ellipsis-2-lines {
|
553 |
+
overflow: hidden;
|
554 |
+
display: -webkit-box;
|
555 |
+
-webkit-box-orient: vertical;
|
556 |
+
-webkit-line-clamp: 2;
|
557 |
+
}
|
558 |
+
|
559 |
+
.yt-channel-inner{
|
560 |
+
padding: 10% 2%;
|
561 |
+
}
|
562 |
+
|
563 |
+
.wyt-close-icon{
|
564 |
+
position: absolute;
|
565 |
+
right: -12px;
|
566 |
+
top: -12px;
|
567 |
+
}
|
568 |
+
|
569 |
+
.wyt-manual{
|
570 |
+
margin-top: 50px;
|
571 |
+
text-align: center;
|
572 |
+
width: 100%
|
573 |
+
}
|
574 |
+
|
575 |
+
.wyt-step{
|
576 |
+
width: 100%;
|
577 |
+
margin-bottom: 30px;
|
578 |
+
}
|
579 |
+
|
580 |
+
.wyt-manual-img{
|
581 |
+
width: 60%;
|
582 |
+
height: auto;
|
583 |
+
box-shadow: 0 0 10px rgba(0,0,0,0.5);
|
584 |
+
}
|
585 |
+
|
586 |
+
.wyt-step-text{
|
587 |
+
font-size: 1.3rem;
|
588 |
+
margin-bottom: 15px;
|
589 |
+
}
|
590 |
+
|
591 |
+
.wyt-intro{
|
592 |
+
font-size: 1.5rem;
|
593 |
+
line-height: 1.5rem;
|
594 |
+
margin-bottom: 50px;
|
595 |
+
}
|
596 |
+
|
597 |
+
|
components/youtube/admin/assets/img/Youtube-icon.png
ADDED
Binary file
|
components/youtube/admin/assets/img/about/2019-11-01_11-03-07.png
ADDED
Binary file
|
components/youtube/admin/assets/img/about/2019-12-09_12-34-33.png
ADDED
Binary file
|
components/youtube/admin/assets/img/about/pic1.jpg
ADDED
Binary file
|
components/youtube/admin/assets/img/about/pic2.jpg
ADDED
Binary file
|
components/youtube/admin/assets/img/about/slider5.jpg
ADDED
Binary file
|
components/youtube/admin/assets/img/about/slider6.jpg
ADDED
Binary file
|
components/youtube/admin/assets/img/close.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>
|
components/youtube/admin/assets/img/hashtag.png
ADDED
Binary file
|
components/youtube/admin/assets/img/loader.gif
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/1.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/10.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/11.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/2.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/3.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/4.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/5.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/6.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/7.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/8.png
ADDED
Binary file
|
components/youtube/admin/assets/img/manual/9.png
ADDED
Binary file
|
components/youtube/admin/assets/img/slider icon.png
ADDED
Binary file
|
components/youtube/admin/assets/img/spinner.gif
ADDED
Binary file
|
components/youtube/admin/assets/img/spinner.svg
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
|
3 |
+
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="128px" height="128px" viewBox="0 0 128 128"
|
4 |
+
xml:space="preserve"><g><circle cx="16" cy="64" r="16" fill="#000000" fill-opacity="1"/><circle cx="16" cy="64"
|
5 |
+
r="16"
|
6 |
+
fill="#555555"
|
7 |
+
fill-opacity="0.67"
|
8 |
+
transform="rotate(45,64,64)"/><circle
|
9 |
+
cx="16" cy="64" r="16" fill="#949494" fill-opacity="0.42" transform="rotate(90,64,64)"/><circle cx="16" cy="64"
|
10 |
+
r="16"
|
11 |
+
fill="#cccccc"
|
12 |
+
fill-opacity="0.2"
|
13 |
+
transform="rotate(135,64,64)"/><circle
|
14 |
+
cx="16" cy="64" r="16" fill="#e1e1e1" fill-opacity="0.12" transform="rotate(180,64,64)"/><circle cx="16" cy="64"
|
15 |
+
r="16"
|
16 |
+
fill="#e1e1e1"
|
17 |
+
fill-opacity="0.12"
|
18 |
+
transform="rotate(225,64,64)"/><circle
|
19 |
+
cx="16" cy="64" r="16" fill="#e1e1e1" fill-opacity="0.12" transform="rotate(270,64,64)"/><circle cx="16" cy="64"
|
20 |
+
r="16"
|
21 |
+
fill="#e1e1e1"
|
22 |
+
fill-opacity="0.12"
|
23 |
+
transform="rotate(315,64,64)"/><animateTransform
|
24 |
+
attributeName="transform" type="rotate"
|
25 |
+
values="0 64 64;315 64 64;270 64 64;225 64 64;180 64 64;135 64 64;90 64 64;45 64 64" calcMode="discrete"
|
26 |
+
dur="720ms" repeatCount="indefinite"></animateTransform></g></svg>
|
components/youtube/admin/assets/img/tiktok-icon.png
ADDED
Binary file
|
components/youtube/admin/assets/img/tiktok.png
ADDED
Binary file
|
components/youtube/admin/assets/img/wtik_icon_shortcode.png
ADDED
Binary file
|
components/youtube/admin/assets/img/youtube.png
ADDED
Binary file
|
components/youtube/admin/assets/index.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/youtube/admin/assets/js/cbpFWTabs.js
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* cbpFWTabs.js v1.0.0
|
3 |
+
* http://www.codrops.com
|
4 |
+
*
|
5 |
+
* Licensed under the MIT license.
|
6 |
+
* http://www.opensource.org/licenses/mit-license.php
|
7 |
+
*
|
8 |
+
* Copyright 2014, Codrops
|
9 |
+
* http://www.codrops.com
|
10 |
+
*/
|
11 |
+
;(function (window) {
|
12 |
+
|
13 |
+
'use strict';
|
14 |
+
|
15 |
+
function extend(a, b) {
|
16 |
+
for (var key in b) {
|
17 |
+
if (b.hasOwnProperty(key)) {
|
18 |
+
a[key] = b[key];
|
19 |
+
}
|
20 |
+
}
|
21 |
+
return a;
|
22 |
+
}
|
23 |
+
|
24 |
+
function CBPFWTabs(el, options) {
|
25 |
+
this.el = el;
|
26 |
+
this.options = extend({}, this.options);
|
27 |
+
extend(this.options, options);
|
28 |
+
this._init();
|
29 |
+
}
|
30 |
+
|
31 |
+
CBPFWTabs.prototype.options = {
|
32 |
+
start: 0
|
33 |
+
};
|
34 |
+
|
35 |
+
CBPFWTabs.prototype._init = function () {
|
36 |
+
// tabs elemes
|
37 |
+
this.tabs = [].slice.call(this.el.querySelectorAll('nav > ul > li'));
|
38 |
+
// content items
|
39 |
+
this.items = [].slice.call(this.el.querySelectorAll('.content > section'));
|
40 |
+
// current index
|
41 |
+
this.current = -1;
|
42 |
+
// show current content item
|
43 |
+
this._show();
|
44 |
+
// init events
|
45 |
+
this._initEvents();
|
46 |
+
};
|
47 |
+
|
48 |
+
CBPFWTabs.prototype._initEvents = function () {
|
49 |
+
var self = this;
|
50 |
+
this.tabs.forEach(function (tab, idx) {
|
51 |
+
tab.addEventListener('click', function (ev) {
|
52 |
+
ev.preventDefault();
|
53 |
+
self._show(idx);
|
54 |
+
});
|
55 |
+
});
|
56 |
+
};
|
57 |
+
|
58 |
+
CBPFWTabs.prototype._show = function (idx) {
|
59 |
+
if (this.current >= 0) {
|
60 |
+
this.tabs[this.current].className = '';
|
61 |
+
this.items[this.current].className = '';
|
62 |
+
}
|
63 |
+
// change current
|
64 |
+
this.current = idx != undefined ? idx : this.options.start >= 0 && this.options.start < this.items.length ? this.options.start : 0;
|
65 |
+
this.tabs[this.current].className = 'tab-current';
|
66 |
+
this.items[this.current].className = 'content-current';
|
67 |
+
};
|
68 |
+
|
69 |
+
// add to global namespace
|
70 |
+
window.CBPFWTabs = CBPFWTabs;
|
71 |
+
|
72 |
+
})(window);
|
components/youtube/admin/assets/js/license-manager.js
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Этот файл содержит скрипт исполняелся во время процедур с формой лицензирования.
|
3 |
+
* Его основная роль отправка ajax запросов на проверку, активацию, деактивацию лицензии
|
4 |
+
* и вывод уведомлений об ошибка или успешно выполнении проверок.
|
5 |
+
*
|
6 |
+
* @author Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
+
* @copyright (c) 05.10.2018, Webcraftic
|
8 |
+
* @version 1.1
|
9 |
+
* @since 1.4.0
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
jQuery(function ($) {
|
14 |
+
|
15 |
+
$(document).on('click', '.wyt-control-btn', function () {
|
16 |
+
|
17 |
+
$('.wyt-control-btn').hide();
|
18 |
+
|
19 |
+
var wrapper = $('#wyt-license-wrapper'),
|
20 |
+
loader = wrapper.data('loader');
|
21 |
+
|
22 |
+
$(this).after('<img class="wyt-loader" src="' + loader + '">');
|
23 |
+
|
24 |
+
var data = {
|
25 |
+
action: 'wyt_check_license',
|
26 |
+
_wpnonce: $('#_wpnonce').val(),
|
27 |
+
license_action: $(this).data('action'),
|
28 |
+
licensekey: ''
|
29 |
+
};
|
30 |
+
|
31 |
+
if ($(this).data('action') == 'activate') {
|
32 |
+
data.licensekey = $('#license-key').val();
|
33 |
+
}
|
34 |
+
|
35 |
+
$.ajax(ajaxurl, {
|
36 |
+
type: 'post',
|
37 |
+
dataType: 'json',
|
38 |
+
data: data,
|
39 |
+
success: function (response) {
|
40 |
+
var noticeId;
|
41 |
+
|
42 |
+
if (!response || !response.success) {
|
43 |
+
|
44 |
+
$('.wyt-control-btn').show();
|
45 |
+
$('.wyt-loader').remove();
|
46 |
+
|
47 |
+
if (response.data) {
|
48 |
+
console.log(response.data.error_message);
|
49 |
+
alert('Error: [' + response.data.error_message + ']');
|
50 |
+
} else {
|
51 |
+
console.log(response);
|
52 |
+
}
|
53 |
+
|
54 |
+
return;
|
55 |
+
}
|
56 |
+
|
57 |
+
if (response.data && response.data.message) {
|
58 |
+
alert(response.data.message);
|
59 |
+
|
60 |
+
window.location.reload();
|
61 |
+
}
|
62 |
+
},
|
63 |
+
error: function (xhr, ajaxOptions, thrownError) {
|
64 |
+
|
65 |
+
$('.wyt-control-btn').show();
|
66 |
+
$('.wyt-loader').remove();
|
67 |
+
|
68 |
+
console.log(xhr.status, xhr.responseText, thrownError);
|
69 |
+
|
70 |
+
alert('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']');
|
71 |
+
}
|
72 |
+
});
|
73 |
+
|
74 |
+
return false;
|
75 |
+
});
|
76 |
+
|
77 |
+
});
|
components/youtube/admin/assets/js/tinymce_button.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($) {
|
2 |
+
$(document).on('tinymce-editor-setup', function (event, editor) {
|
3 |
+
|
4 |
+
if (void 0 === wyt_shortcodes) {
|
5 |
+
console.log('Unknown error (wyt).');
|
6 |
+
return;
|
7 |
+
}
|
8 |
+
|
9 |
+
if ($.isEmptyObject(wyt_shortcodes)) {
|
10 |
+
return;
|
11 |
+
}
|
12 |
+
|
13 |
+
editor.settings.toolbar1 += ',wyt_insert_button';
|
14 |
+
|
15 |
+
var menu = [];
|
16 |
+
|
17 |
+
$.each(wyt_shortcodes, function (index, item) {
|
18 |
+
menu.push({
|
19 |
+
text: item.title,
|
20 |
+
value: item.id,
|
21 |
+
onclick: function () {
|
22 |
+
var selected_content = editor.selection.getContent();
|
23 |
+
|
24 |
+
if ('' === selected_content) {
|
25 |
+
editor.selection.setContent('[cm_youtube_feed id="' + item.id + '"]');
|
26 |
+
} else {
|
27 |
+
editor.selection.setContent('[cm_youtube_feed id="' + item.id + '"]');
|
28 |
+
}
|
29 |
+
}
|
30 |
+
});
|
31 |
+
});
|
32 |
+
|
33 |
+
editor.addButton('wyt_insert_button', {
|
34 |
+
title: 'Youtube Feed',
|
35 |
+
type: 'menubutton',
|
36 |
+
icon: 'icon wyt-shortcode-icon',
|
37 |
+
menu: menu
|
38 |
+
});
|
39 |
+
|
40 |
+
});
|
41 |
+
})(jQuery);
|
components/youtube/admin/assets/js/wyoutube-admin.js
ADDED
@@ -0,0 +1,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($) {
|
2 |
+
|
3 |
+
$(document).ready(function ($) {
|
4 |
+
|
5 |
+
// Modfiy options when search for is changed
|
6 |
+
$('.wyt_feed_type').on('change', function (e) {
|
7 |
+
var type = $(this);
|
8 |
+
if (type.val() === 'hashtag') {
|
9 |
+
$('input#wyt_feed_hashtag').animate({opacity: 'show', height: 'show'}, 0);
|
10 |
+
$('input#wyt_feed_account').animate({opacity: 'hide', height: 'hide'}, 0);
|
11 |
+
} else if (type.val() === 'account') {
|
12 |
+
$('input#wyt_feed_hashtag').animate({opacity: 'hide', height: 'hide'}, 0);
|
13 |
+
$('input#wyt_feed_account').animate({opacity: 'show', height: 'show'}, 0);
|
14 |
+
}
|
15 |
+
});
|
16 |
+
|
17 |
+
|
18 |
+
$('.wyt-close-icon').on('click', function (e){
|
19 |
+
e.preventDefault();
|
20 |
+
let data = $(this).data();
|
21 |
+
|
22 |
+
$.ajax({
|
23 |
+
url: ajaxurl,
|
24 |
+
type: 'post',
|
25 |
+
data: {
|
26 |
+
action: 'wyt_delete_account',
|
27 |
+
id: data.id,
|
28 |
+
nonce: wyt.nonce
|
29 |
+
},
|
30 |
+
beforeSend: function () {
|
31 |
+
|
32 |
+
},
|
33 |
+
success: function (response) {
|
34 |
+
window.location.reload();
|
35 |
+
},
|
36 |
+
complete: function () {
|
37 |
+
|
38 |
+
},
|
39 |
+
error: function (jqXHR, textStatus) {
|
40 |
+
|
41 |
+
}
|
42 |
+
});
|
43 |
+
});
|
44 |
+
|
45 |
+
//------OLD
|
46 |
+
// Modfiy options when search for is changed
|
47 |
+
var search = $('.wyt-container select[id$="search"]')
|
48 |
+
var search_opt = $("option[value$='"+search.val()+"']");
|
49 |
+
if (search_opt.data('type') === 'hashtag') {
|
50 |
+
search.closest('.wyt-container').find('input[id$="blocked_users"]').closest('p').animate({
|
51 |
+
opacity: 'show',
|
52 |
+
height: 'show'
|
53 |
+
}, 200);
|
54 |
+
} else if (search_opt.data('type') === 'account') {
|
55 |
+
search.closest('.wyt-container').find('input[id$="blocked_users"]').closest('p').animate({
|
56 |
+
opacity: 'hide',
|
57 |
+
height: 'hide'
|
58 |
+
}, 200);
|
59 |
+
}
|
60 |
+
|
61 |
+
var template = $('.wyt-container select[id$="template"]')
|
62 |
+
if (template.val() == 'default' || template.val() == 'default-no-border' || template.val() == 'slider' || template.val() == 'slider-overlay') {
|
63 |
+
template.closest('.wyt-container').find('select[id$="yimages_link"] option[value="popup"]').animate({
|
64 |
+
opacity: 'hide',
|
65 |
+
height: 'hide'
|
66 |
+
}, 200);
|
67 |
+
|
68 |
+
//window.image_link_val = template.closest('.wyt-container').find('select[id$="yimages_link"]').val();
|
69 |
+
//template.closest('.wyt-container').find('select[id$="yimages_link"]').val("image_link");
|
70 |
+
} else {
|
71 |
+
template.closest('.wyt-container').find('select[id$="yimages_link"] option[value="popup"]').animate({
|
72 |
+
opacity: 'show',
|
73 |
+
height: 'show'
|
74 |
+
}, 200);
|
75 |
+
//template.closest('.wyt-container').find('select[id$="yimages_link"]').val(window.image_link_val);
|
76 |
+
}
|
77 |
+
|
78 |
+
// Hide Custom Url if image link is not set to custom url
|
79 |
+
$('body').on('change', '.wyt-container select[id$="yimages_link"]', function (e) {
|
80 |
+
var yimages_link = $(this);
|
81 |
+
if (yimages_link.val() != 'custom_url') {
|
82 |
+
yimages_link.closest('.wyt-container').find('input[id$="custom_url"]').val('').parent().animate({
|
83 |
+
opacity: 'hide',
|
84 |
+
height: 'hide'
|
85 |
+
}, 200);
|
86 |
+
} else {
|
87 |
+
yimages_link.closest('.wyt-container').find('input[id$="custom_url"]').parent().animate({
|
88 |
+
opacity: 'show',
|
89 |
+
height: 'show'
|
90 |
+
}, 200);
|
91 |
+
}
|
92 |
+
});
|
93 |
+
|
94 |
+
// Modify options based on template selections
|
95 |
+
$('body').on('change', '.wyt-container select[id$="template"]', wyt_template);
|
96 |
+
|
97 |
+
function wyt_template (e) {
|
98 |
+
var template = $(this);
|
99 |
+
if (template.val() == 'default' || template.val() == 'default-no-border') {
|
100 |
+
template.closest('.wyt-container').find('.wyt-slider-options').animate({
|
101 |
+
opacity: 'hide',
|
102 |
+
height: 'hide'
|
103 |
+
}, 200);
|
104 |
+
template.closest('.wyt-container').find('input[id$="columns"]').closest('p').animate({
|
105 |
+
opacity: 'show',
|
106 |
+
height: 'show'
|
107 |
+
}, 200);
|
108 |
+
} else {
|
109 |
+
template.closest('.wyt-container').find('.wyt-slider-options').animate({
|
110 |
+
opacity: 'show',
|
111 |
+
height: 'show'
|
112 |
+
}, 200);
|
113 |
+
template.closest('.wyt-container').find('input[id$="columns"]').closest('p').animate({
|
114 |
+
opacity: 'hide',
|
115 |
+
height: 'hide'
|
116 |
+
}, 200);
|
117 |
+
}
|
118 |
+
if (template.val() != 'masonry') {
|
119 |
+
template.closest('.wyt-container').find('.masonry_settings').animate({
|
120 |
+
opacity: 'hide',
|
121 |
+
height: 'hide'
|
122 |
+
}, 200);
|
123 |
+
template.closest('.wyt-container').find('.masonry_notice').animate({
|
124 |
+
opacity: 'hide',
|
125 |
+
height: 'hide'
|
126 |
+
}, 200);
|
127 |
+
} else {
|
128 |
+
template.closest('.wyt-container').find('.masonry_settings').animate({
|
129 |
+
opacity: 'show',
|
130 |
+
height: 'show'
|
131 |
+
}, 200);
|
132 |
+
template.closest('.wyt-container').find('.masonry_notice').animate({
|
133 |
+
opacity: 'show',
|
134 |
+
height: 'show'
|
135 |
+
}, 200);
|
136 |
+
}
|
137 |
+
if (template.val() != 'slick_slider') {
|
138 |
+
template.closest('.wyt-container').find('.slick_settings').animate({
|
139 |
+
opacity: 'hide',
|
140 |
+
height: 'hide'
|
141 |
+
}, 200);
|
142 |
+
} else {
|
143 |
+
template.closest('.wyt-container').find('.slick_settings').animate({
|
144 |
+
opacity: 'show',
|
145 |
+
height: 'show'
|
146 |
+
}, 200);
|
147 |
+
}
|
148 |
+
if (template.val() != 'highlight') {
|
149 |
+
template.closest('.wyt-container').find('.highlight_settings').animate({
|
150 |
+
opacity: 'hide',
|
151 |
+
height: 'hide'
|
152 |
+
}, 200);
|
153 |
+
} else {
|
154 |
+
template.closest('.wyt-container').find('.highlight_settings').animate({
|
155 |
+
opacity: 'show',
|
156 |
+
height: 'show'
|
157 |
+
}, 200);
|
158 |
+
}
|
159 |
+
if (template.val() != 'slider' && template.val() != 'slider-overlay') {
|
160 |
+
template.closest('.wyt-container').find('.slider_normal_settings').animate({
|
161 |
+
opacity: 'hide',
|
162 |
+
height: 'hide'
|
163 |
+
}, 200);
|
164 |
+
} else {
|
165 |
+
template.closest('.wyt-container').find('.slider_normal_settings').animate({
|
166 |
+
opacity: 'show',
|
167 |
+
height: 'show'
|
168 |
+
}, 200);
|
169 |
+
}
|
170 |
+
if (template.val() == 'highlight' || template.val() == 'slick_slider' || template.val() == 'default' || template.val() == 'default-no-border') {
|
171 |
+
template.closest('.wyt-container').find('.words_in_caption').animate({
|
172 |
+
opacity: 'hide',
|
173 |
+
height: 'hide'
|
174 |
+
}, 200);
|
175 |
+
} else {
|
176 |
+
template.closest('.wyt-container').find('.words_in_caption').animate({
|
177 |
+
opacity: 'show',
|
178 |
+
height: 'show'
|
179 |
+
}, 200);
|
180 |
+
}
|
181 |
+
|
182 |
+
if (template.val() == 'default' || template.val() == 'default-no-border' || template.val() == 'slider' || template.val() == 'slider-overlay') {
|
183 |
+
template.closest('.wyt-container').find('select[id$="yimages_link"] option[value="popup"]').animate({
|
184 |
+
opacity: 'hide',
|
185 |
+
height: 'hide'
|
186 |
+
}, 200);
|
187 |
+
|
188 |
+
window.image_link_val = template.closest('.wyt-container').find('select[id$="yimages_link"]').val();
|
189 |
+
//template.closest('.wyt-container').find('select[id$="yimages_link"]').val("image_link");
|
190 |
+
} else {
|
191 |
+
template.closest('.wyt-container').find('select[id$="yimages_link"] option[value="popup"]').animate({
|
192 |
+
opacity: 'show',
|
193 |
+
height: 'show'
|
194 |
+
}, 200);
|
195 |
+
//template.closest('.wyt-container').find('select[id$="yimages_link"]').val(window.image_link_val);
|
196 |
+
}
|
197 |
+
}
|
198 |
+
// Modfiy options when search for is changed
|
199 |
+
$('body').on('change', '.wyt-container select[id$="search"]', function (e) {
|
200 |
+
var search_for = $(this);
|
201 |
+
var search_opt = $("option[value$='"+$(this).val()+"']");
|
202 |
+
if (search_opt.data('type') === 'hashtag') {
|
203 |
+
search_for.closest('.wyt-container').find('input[id$="blocked_users"]').closest('p').animate({
|
204 |
+
opacity: 'show',
|
205 |
+
height: 'show'
|
206 |
+
}, 200);
|
207 |
+
} else if (search_opt.data('type') === 'account') {
|
208 |
+
search_for.closest('.wyt-container').find('input[id$="blocked_users"]').closest('p').animate({
|
209 |
+
opacity: 'hide',
|
210 |
+
height: 'hide'
|
211 |
+
}, 200);
|
212 |
+
}
|
213 |
+
});
|
214 |
+
|
215 |
+
// Toggle advanced options
|
216 |
+
$('body').on('click', '.wyt-advanced', function (e) {
|
217 |
+
e.preventDefault();
|
218 |
+
var advanced_container = $(this).parent().next();
|
219 |
+
|
220 |
+
if (advanced_container.is(':hidden')) {
|
221 |
+
$(this).html('[ - Close ]');
|
222 |
+
} else {
|
223 |
+
$(this).html('[ + Open ]');
|
224 |
+
}
|
225 |
+
advanced_container.toggle();
|
226 |
+
});
|
227 |
+
|
228 |
+
// Delete account with ajax
|
229 |
+
$('.wyt-delete-account').on('click', function (e) {
|
230 |
+
e.preventDefault();
|
231 |
+
|
232 |
+
var c = confirm(wyt.remove_account);
|
233 |
+
|
234 |
+
if (!c) {
|
235 |
+
return false;
|
236 |
+
}
|
237 |
+
|
238 |
+
var $item = $(this),
|
239 |
+
$tr = $item.closest('tr'),
|
240 |
+
$spinner = $('#wyt-delete-spinner-' + $item.data('item_id'));
|
241 |
+
|
242 |
+
$.ajax({
|
243 |
+
url: ajaxurl,
|
244 |
+
type: 'post',
|
245 |
+
data: {
|
246 |
+
action: 'wyt_delete_account',
|
247 |
+
item_id: $item.data('item_id'),
|
248 |
+
is_business: $item.data('is_business'),
|
249 |
+
nonce: wyt.nonce
|
250 |
+
},
|
251 |
+
beforeSend: function () {
|
252 |
+
$spinner.addClass('is-active');
|
253 |
+
},
|
254 |
+
success: function (response) {
|
255 |
+
if (response.success) {
|
256 |
+
$tr.fadeOut();
|
257 |
+
//window.location.reload();
|
258 |
+
} else {
|
259 |
+
alert(response.data);
|
260 |
+
}
|
261 |
+
},
|
262 |
+
complete: function () {
|
263 |
+
$spinner.removeClass('is-active');
|
264 |
+
},
|
265 |
+
error: function (jqXHR, textStatus) {
|
266 |
+
console.log(textStatus);
|
267 |
+
}
|
268 |
+
});
|
269 |
+
});
|
270 |
+
|
271 |
+
jQuery('span.wyt_demo_pro').on('click', function (e) {
|
272 |
+
e.preventDefault();
|
273 |
+
window.open('https://cm-wp.com/yft/pricing/', '_blank');
|
274 |
+
});
|
275 |
+
|
276 |
+
}); // Document Ready
|
277 |
+
|
278 |
+
})(jQuery);
|
components/youtube/admin/index.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/youtube/assets/css/templates.css
ADDED
@@ -0,0 +1,589 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Flexislider Default Settings */
|
2 |
+
.pllexislider
|
3 |
+
{
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
}
|
7 |
+
|
8 |
+
.pllexislider .slides > li
|
9 |
+
{
|
10 |
+
display: none;
|
11 |
+
-webkit-backface-visibility: hidden;
|
12 |
+
}
|
13 |
+
|
14 |
+
/* Hide the slides before the JS is loaded. Avoids image jumping */
|
15 |
+
.pllexislider .slides img
|
16 |
+
{
|
17 |
+
width: 100%;
|
18 |
+
display: block;
|
19 |
+
}
|
20 |
+
|
21 |
+
.pllexislider .slides:after
|
22 |
+
{
|
23 |
+
display: block;
|
24 |
+
clear: both;
|
25 |
+
visibility: hidden;
|
26 |
+
line-height: 0;
|
27 |
+
height: 0;
|
28 |
+
}
|
29 |
+
|
30 |
+
.pllex-pauseplay span
|
31 |
+
{
|
32 |
+
text-transform: capitalize;
|
33 |
+
}
|
34 |
+
|
35 |
+
.pllexislider, .pllexislider .slides li, .pllexislider .slides > li > a
|
36 |
+
{
|
37 |
+
height: 100%;
|
38 |
+
padding: 0 !important;
|
39 |
+
background: none;
|
40 |
+
margin: 0;
|
41 |
+
border: none;
|
42 |
+
}
|
43 |
+
|
44 |
+
.pllexislider, .pllexislider .slides li:hover, .pllexislider .slides > li:hover > a
|
45 |
+
{
|
46 |
+
border: none;
|
47 |
+
}
|
48 |
+
|
49 |
+
/* no list style */
|
50 |
+
.wyoutube-thumb .no-bullet, .pllexislider .no-bullet
|
51 |
+
{
|
52 |
+
list-style: none;
|
53 |
+
margin: 0 0 0 0;
|
54 |
+
padding: 0 0 0 0;
|
55 |
+
clear: both;
|
56 |
+
}
|
57 |
+
|
58 |
+
/* Flexi Slider Template */
|
59 |
+
.pllexislider
|
60 |
+
{
|
61 |
+
margin: 0;
|
62 |
+
position: relative;
|
63 |
+
}
|
64 |
+
|
65 |
+
.pllex-viewport
|
66 |
+
{
|
67 |
+
max-height: 2000px;
|
68 |
+
-webkit-transition: all 1s ease;
|
69 |
+
-moz-transition: all 1s ease;
|
70 |
+
-o-transition: all 1s ease;
|
71 |
+
transition: all 1s ease;
|
72 |
+
}
|
73 |
+
|
74 |
+
.loading .pllex-viewport
|
75 |
+
{
|
76 |
+
max-height: 300px;
|
77 |
+
}
|
78 |
+
|
79 |
+
.pllexislider .slides
|
80 |
+
{
|
81 |
+
zoom: 1;
|
82 |
+
overflow: hidden;
|
83 |
+
}
|
84 |
+
|
85 |
+
/* Control Nav */
|
86 |
+
.pllexislider .pllex-control-nav
|
87 |
+
{
|
88 |
+
z-index: 2;
|
89 |
+
position: absolute;
|
90 |
+
top: 10px;
|
91 |
+
right: 0;
|
92 |
+
padding: 0 15px;
|
93 |
+
margin-right: auto;
|
94 |
+
margin-left: auto
|
95 |
+
}
|
96 |
+
|
97 |
+
.pllexislider-overlay .pllex-control-nav
|
98 |
+
{
|
99 |
+
display: none;
|
100 |
+
}
|
101 |
+
|
102 |
+
.pllexislider .pllex-control-nav li
|
103 |
+
{
|
104 |
+
margin: 0 3px;
|
105 |
+
display: inline-block;
|
106 |
+
zoom: 1;
|
107 |
+
*display: inline;
|
108 |
+
}
|
109 |
+
|
110 |
+
.pllexislider .pllex-control-paging li a
|
111 |
+
{
|
112 |
+
width: 11px;
|
113 |
+
border: none;
|
114 |
+
height: 11px;
|
115 |
+
display: block;
|
116 |
+
background: #fff;
|
117 |
+
background: rgba(255, 255, 255, 255, 0.5);
|
118 |
+
cursor: pointer;
|
119 |
+
text-indent: -9999px;
|
120 |
+
-webkit-border-radius: 20px;
|
121 |
+
-moz-border-radius: 20px;
|
122 |
+
-o-border-radius: 20px;
|
123 |
+
border-radius: 20px;
|
124 |
+
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
125 |
+
-moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
126 |
+
-o-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
127 |
+
box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
128 |
+
}
|
129 |
+
|
130 |
+
.pllexislider .pllex-control-paging li a:hover,
|
131 |
+
.pllexislider .pllex-control-paging li a.pllex-active
|
132 |
+
{
|
133 |
+
background: rgba(0, 0, 0, 0.6);
|
134 |
+
-webkit-box-shadow: 0px 0px 1px 2px rgba(255, 255, 255, 1);
|
135 |
+
-moz-box-shadow: 0px 0px 1px 2px rgba(255, 255, 255, 0.7);
|
136 |
+
box-shadow: 0px 0px 1px 2px rgba(255, 255, 255, 1);
|
137 |
+
}
|
138 |
+
|
139 |
+
.pllexislider .pllex-control-paging li a.pllex-active
|
140 |
+
{
|
141 |
+
cursor: default;
|
142 |
+
}
|
143 |
+
|
144 |
+
.pllexislider .pllex-control-paging
|
145 |
+
{
|
146 |
+
width: 100%;
|
147 |
+
text-align: center
|
148 |
+
}
|
149 |
+
|
150 |
+
/* Direction Nav */
|
151 |
+
.pllexislider .pllex-direction-nav
|
152 |
+
{
|
153 |
+
z-index: 2;
|
154 |
+
position: absolute;
|
155 |
+
list-style: none;
|
156 |
+
padding: 0;
|
157 |
+
top: 7px;
|
158 |
+
right: 2%;
|
159 |
+
margin: 0;
|
160 |
+
background-color: rgba(0, 0, 0, 0.6);
|
161 |
+
-webkit-border-radius: 15%;
|
162 |
+
-moz-border-radius: 15%;
|
163 |
+
-o-border-radius: 15%;
|
164 |
+
border-radius: 15%;
|
165 |
+
}
|
166 |
+
|
167 |
+
.pllexislider-overlay .pllex-direction-nav
|
168 |
+
{
|
169 |
+
display: none;
|
170 |
+
}
|
171 |
+
|
172 |
+
.pllexislider .pllex-direction-nav li a
|
173 |
+
{
|
174 |
+
line-height: normal;
|
175 |
+
overflow: hidden;
|
176 |
+
display: block;
|
177 |
+
border: 0
|
178 |
+
}
|
179 |
+
|
180 |
+
.pllexislider .pllex-direction-nav li a:focus
|
181 |
+
{
|
182 |
+
outline: 0
|
183 |
+
}
|
184 |
+
|
185 |
+
.pllexislider .pllex-direction-nav li:first-child
|
186 |
+
{
|
187 |
+
float: left;
|
188 |
+
margin-right: 0;
|
189 |
+
border-left: 0;
|
190 |
+
border-right: 1px solid gray;
|
191 |
+
}
|
192 |
+
|
193 |
+
.pllexislider .pllex-direction-nav li
|
194 |
+
{
|
195 |
+
list-style: none;
|
196 |
+
float: right;
|
197 |
+
margin: 0;
|
198 |
+
border-right: 0;
|
199 |
+
border-left: 1px solid #1e1e1e;
|
200 |
+
padding: 0;
|
201 |
+
border-top: 0;
|
202 |
+
border-bottom: 0;
|
203 |
+
}
|
204 |
+
|
205 |
+
.pllexislider .pllex-direction-nav .pllex-next:before,
|
206 |
+
.pllexislider .pllex-direction-nav .pllex-prev:before
|
207 |
+
{
|
208 |
+
font-family: Arial, Helvetica, sans-serif;
|
209 |
+
display: inline-block;
|
210 |
+
padding: 0 4px 1px;
|
211 |
+
speak: none;
|
212 |
+
color: #fff;
|
213 |
+
font-size: 18px;
|
214 |
+
text-shadow: 0 2px 0 rgba(0, 0, 0, 1);
|
215 |
+
}
|
216 |
+
|
217 |
+
.pllexislider .pllex-direction-nav .pllex-next:before
|
218 |
+
{
|
219 |
+
content: '\25BA';
|
220 |
+
}
|
221 |
+
|
222 |
+
.pllexislider .pllex-direction-nav .pllex-prev:before
|
223 |
+
{
|
224 |
+
content: '\25C4';
|
225 |
+
}
|
226 |
+
|
227 |
+
/* Slider Normal */
|
228 |
+
.pllexislider-normal ul li .wyoutube-datacontainer
|
229 |
+
{
|
230 |
+
margin-top: 5px;
|
231 |
+
margin-bottom: 5px;
|
232 |
+
display: block;
|
233 |
+
}
|
234 |
+
|
235 |
+
.pllexislider-normal ul li .wyoutube-datacontainer .wyoutube-username
|
236 |
+
{
|
237 |
+
text-decoration: none;
|
238 |
+
display: inline-block;
|
239 |
+
}
|
240 |
+
|
241 |
+
.pllexislider-normal ul li .wyoutube-datacontainer .wyoutube-time
|
242 |
+
{
|
243 |
+
float: right;
|
244 |
+
display: inline-block;
|
245 |
+
text-align: right;
|
246 |
+
}
|
247 |
+
|
248 |
+
.pllexislider-normal ul li .wyoutube-datacontainer .wyoutube-caption
|
249 |
+
{
|
250 |
+
line-height: normal;
|
251 |
+
margin-top: 5px;
|
252 |
+
margin-bottom: 5px;
|
253 |
+
display: block;
|
254 |
+
clear: both
|
255 |
+
}
|
256 |
+
|
257 |
+
/* Slider Overlay */
|
258 |
+
.pllexislider-overlay a
|
259 |
+
{
|
260 |
+
color: #ffffff;
|
261 |
+
text-decoration: none;
|
262 |
+
}
|
263 |
+
|
264 |
+
.pllexislider-overlay ul li .wyoutube-wrap
|
265 |
+
{
|
266 |
+
position: relative;
|
267 |
+
color: #FFF;
|
268 |
+
line-height: normal;
|
269 |
+
}
|
270 |
+
|
271 |
+
.pllexislider-overlay ul li .wyoutube-wrap .wyoutube-datacontainer
|
272 |
+
{
|
273 |
+
position: absolute;
|
274 |
+
display: none;
|
275 |
+
left: 0;
|
276 |
+
bottom: 0;
|
277 |
+
width: 100%;
|
278 |
+
text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
|
279 |
+
background: rgba(0, 0, 0, 0.4);
|
280 |
+
padding: 5px 15px;
|
281 |
+
-moz-box-sizing: border-box;
|
282 |
+
-webkit-box-sizing: border-box;
|
283 |
+
box-sizing: border-box;
|
284 |
+
}
|
285 |
+
|
286 |
+
.pllexislider-overlay ul li .wyoutube-wrap .wyoutube-datacontainer .wyoutube-username a
|
287 |
+
{
|
288 |
+
color: #FFF !important;
|
289 |
+
text-decoration: none;
|
290 |
+
font-weight: bold;
|
291 |
+
}
|
292 |
+
|
293 |
+
.pllexislider-overlay ul li .wyoutube-wrap .wyoutube-datacontainer .wyoutube-time
|
294 |
+
{
|
295 |
+
float: right;
|
296 |
+
text-align: right;
|
297 |
+
}
|
298 |
+
|
299 |
+
.pllexislider-overlay ul li .wyoutube-wrap .wyoutube-datacontainer .wyoutube-caption
|
300 |
+
{
|
301 |
+
line-height: normal;
|
302 |
+
color: #FFF;
|
303 |
+
margin-top: 5px;
|
304 |
+
margin-bottom: 5px;
|
305 |
+
display: block;
|
306 |
+
}
|
307 |
+
|
308 |
+
/* Thumbnails Template */
|
309 |
+
.wyoutube-thumb ul.thumbnails
|
310 |
+
{
|
311 |
+
list-style: none;
|
312 |
+
font-size: 0;
|
313 |
+
margin-left: -2.5%;
|
314 |
+
}
|
315 |
+
|
316 |
+
.wyoutube-thumb ul.thumbnails.no-border
|
317 |
+
{
|
318 |
+
margin-left: 0;
|
319 |
+
}
|
320 |
+
|
321 |
+
.wyoutube-thumb ul.thumbnails li
|
322 |
+
{
|
323 |
+
display: inline-block;
|
324 |
+
padding: 0;
|
325 |
+
margin: 0 0 2.5% 2.5%;
|
326 |
+
background: none;
|
327 |
+
border: 0;
|
328 |
+
vertical-align: top;
|
329 |
+
box-shadow: none;
|
330 |
+
box-sizing: border-box;
|
331 |
+
-moz-box-sizing: border-box;
|
332 |
+
-webkit-box-sizing: border-box;
|
333 |
+
}
|
334 |
+
|
335 |
+
.wyoutube-thumb ul.thumbnails.no-border li
|
336 |
+
{
|
337 |
+
margin: 0;
|
338 |
+
}
|
339 |
+
|
340 |
+
.wyoutube-thumb ul.thumbnails li img
|
341 |
+
{
|
342 |
+
max-width: 100% !important;
|
343 |
+
height: auto !important;
|
344 |
+
margin: 0 !important;
|
345 |
+
border: 0 !important;
|
346 |
+
vertical-align: top;
|
347 |
+
}
|
348 |
+
|
349 |
+
.wyoutube-thumb ul.thumbnails li a
|
350 |
+
{
|
351 |
+
margin: 0;
|
352 |
+
padding: 0;
|
353 |
+
border: 0;
|
354 |
+
font-size: 100%;
|
355 |
+
font: inherit;
|
356 |
+
vertical-align: baseline;
|
357 |
+
}
|
358 |
+
|
359 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_1 li
|
360 |
+
{
|
361 |
+
width: 97.5% !important;
|
362 |
+
}
|
363 |
+
|
364 |
+
/* this value + 2.5 should = 100% */
|
365 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_2 li
|
366 |
+
{
|
367 |
+
width: 47.5% !important;
|
368 |
+
}
|
369 |
+
|
370 |
+
/* this value + 2.5 should = 50% */
|
371 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_3 li
|
372 |
+
{
|
373 |
+
width: 30.83% !important;
|
374 |
+
}
|
375 |
+
|
376 |
+
/* this value + 2.5 should = 33% */
|
377 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_4 li
|
378 |
+
{
|
379 |
+
width: 22.5% !important;
|
380 |
+
}
|
381 |
+
|
382 |
+
/* this value + 2.5 should = 25% */
|
383 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_5 li
|
384 |
+
{
|
385 |
+
width: 17.5% !important;
|
386 |
+
}
|
387 |
+
|
388 |
+
/* this value + 2.5 should = 20% */
|
389 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_6 li
|
390 |
+
{
|
391 |
+
width: 14.17% !important;
|
392 |
+
}
|
393 |
+
|
394 |
+
/* this value + 2.5 should = 16.66% */
|
395 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_7 li
|
396 |
+
{
|
397 |
+
width: 11.78% !important;
|
398 |
+
}
|
399 |
+
|
400 |
+
/* this value + 2.5 should = 14.28% */
|
401 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_8 li
|
402 |
+
{
|
403 |
+
width: 10% !important;
|
404 |
+
}
|
405 |
+
|
406 |
+
/* this value + 2.5 should = 12.5% */
|
407 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_9 li
|
408 |
+
{
|
409 |
+
width: 8.61% !important;
|
410 |
+
}
|
411 |
+
|
412 |
+
/* this value + 2.5 should = 11.11% */
|
413 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_10 li
|
414 |
+
{
|
415 |
+
width: 7.5% !important;
|
416 |
+
}
|
417 |
+
|
418 |
+
/* this value + 2.5 should = 10% */
|
419 |
+
|
420 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_1 li
|
421 |
+
{
|
422 |
+
width: 100% !important;
|
423 |
+
}
|
424 |
+
|
425 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_2 li
|
426 |
+
{
|
427 |
+
width: 50% !important;
|
428 |
+
}
|
429 |
+
|
430 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_3 li
|
431 |
+
{
|
432 |
+
width: 33.33% !important;
|
433 |
+
}
|
434 |
+
|
435 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_4 li
|
436 |
+
{
|
437 |
+
width: 25% !important;
|
438 |
+
}
|
439 |
+
|
440 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_5 li
|
441 |
+
{
|
442 |
+
width: 20% !important;
|
443 |
+
}
|
444 |
+
|
445 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_6 li
|
446 |
+
{
|
447 |
+
width: 16.66% !important;
|
448 |
+
}
|
449 |
+
|
450 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_7 li
|
451 |
+
{
|
452 |
+
width: 14.28% !important;
|
453 |
+
}
|
454 |
+
|
455 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_8 li
|
456 |
+
{
|
457 |
+
width: 12.5% !important;
|
458 |
+
}
|
459 |
+
|
460 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_9 li
|
461 |
+
{
|
462 |
+
width: 11.11% !important;
|
463 |
+
}
|
464 |
+
|
465 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_10 li
|
466 |
+
{
|
467 |
+
width: 10% !important;
|
468 |
+
}
|
469 |
+
|
470 |
+
@media all and (max-width: 640px)
|
471 |
+
{
|
472 |
+
/* Make 3-6 cols into 2 col */
|
473 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_3 li,
|
474 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_4 li,
|
475 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_5 li,
|
476 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_6 li
|
477 |
+
{
|
478 |
+
width: 47.5% !important;;
|
479 |
+
}
|
480 |
+
|
481 |
+
/* Make 7-10 cols into 4 col */
|
482 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_7 li,
|
483 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_8 li,
|
484 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_9 li,
|
485 |
+
.wyoutube-thumb ul.thumbnails.wyt_col_10 li
|
486 |
+
{
|
487 |
+
width: 22.5% !important;;
|
488 |
+
}
|
489 |
+
|
490 |
+
/* Make 3-6 cols into 2 col */
|
491 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_3 li,
|
492 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_4 li,
|
493 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_5 li,
|
494 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_6 li
|
495 |
+
{
|
496 |
+
width: 50% !important;;
|
497 |
+
}
|
498 |
+
|
499 |
+
/* Make 7-10 cols into 4 col */
|
500 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_7 li,
|
501 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_8 li,
|
502 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_9 li,
|
503 |
+
.wyoutube-thumb ul.thumbnails.no-border.wyt_col_10 li
|
504 |
+
{
|
505 |
+
width: 25% !important;;
|
506 |
+
}
|
507 |
+
|
508 |
+
}
|
509 |
+
|
510 |
+
@media all and (max-width: 480px)
|
511 |
+
{
|
512 |
+
.wyoutube-thumb ul.thumbnails li
|
513 |
+
{
|
514 |
+
width: 100% !important; /* over-ride all li styles */
|
515 |
+
}
|
516 |
+
}
|
517 |
+
|
518 |
+
.graphdiv
|
519 |
+
{
|
520 |
+
-webkit-box-align: end !important;
|
521 |
+
align-items: flex-end !important;
|
522 |
+
bottom: 0 !important;
|
523 |
+
display: flex !important;
|
524 |
+
-webkit-box-pack: start !important;
|
525 |
+
justify-content: flex-start !important;
|
526 |
+
left: 0 !important;
|
527 |
+
pointer-events: none !important;
|
528 |
+
position: absolute !important;
|
529 |
+
right: 0 !important;
|
530 |
+
top: 0 !important;
|
531 |
+
}
|
532 |
+
|
533 |
+
.ellipsis {
|
534 |
+
text-overflow: ellipsis !important;
|
535 |
+
white-space: nowrap !important;
|
536 |
+
overflow: hidden !important;
|
537 |
+
}
|
538 |
+
|
539 |
+
.ellipsis-2-lines {
|
540 |
+
overflow: hidden !important;
|
541 |
+
display: -webkit-box !important;
|
542 |
+
-webkit-box-orient: vertical !important;
|
543 |
+
-webkit-line-clamp: 2 !important;
|
544 |
+
}
|
545 |
+
|
546 |
+
.wyoutube-thumb
|
547 |
+
{
|
548 |
+
padding: 0 !important;
|
549 |
+
}
|
550 |
+
|
551 |
+
@font-face {
|
552 |
+
font-family: 'Roboto';
|
553 |
+
src: url('../fonts/roboto/Roboto-Regular.ttf');
|
554 |
+
font-weight: normal;
|
555 |
+
font-style: normal;
|
556 |
+
}
|
557 |
+
|
558 |
+
|
559 |
+
.wyoutube-videos-container{
|
560 |
+
width: 100% !important;
|
561 |
+
font-family: Roboto, serif !important;
|
562 |
+
|
563 |
+
}
|
564 |
+
|
565 |
+
.wyoutube-video-container{
|
566 |
+
height: 100% !important;
|
567 |
+
vertical-align: top !important;
|
568 |
+
display: inline-block !important;
|
569 |
+
line-height: 1 !important;
|
570 |
+
font-size: 0.9rem !important;
|
571 |
+
margin: 0 0 10px 0!important;
|
572 |
+
}
|
573 |
+
|
574 |
+
.wyoutube-video-iframe{
|
575 |
+
width: 100% !important;
|
576 |
+
}
|
577 |
+
|
578 |
+
.wyoutuve-video-title{
|
579 |
+
margin-top: 1% !important;
|
580 |
+
font-size: 0.9rem !important;
|
581 |
+
color: black !important;
|
582 |
+
margin-bottom: 5% !important;
|
583 |
+
}
|
584 |
+
|
585 |
+
.woutube-video-specs{
|
586 |
+
font-size: 90% !important;
|
587 |
+
color: grey !important;
|
588 |
+
}
|
589 |
+
|
components/youtube/assets/css/wtiktok.css
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* MODAL popup*/
|
2 |
+
.wyt_accounts_modal
|
3 |
+
{
|
4 |
+
position: fixed;
|
5 |
+
top: 50%;
|
6 |
+
left: 50%;
|
7 |
+
transform: translate(-50%, -50%);
|
8 |
+
width: 400px;
|
9 |
+
max-width: 100%;
|
10 |
+
height: 400px;
|
11 |
+
max-height: 100%;
|
12 |
+
z-index: 1010;
|
13 |
+
display: block;
|
14 |
+
overflow-y: auto;
|
15 |
+
overflow-x: hidden;
|
16 |
+
background-color: white;
|
17 |
+
border: 1px solid #32323280;
|
18 |
+
border-radius: 10px;
|
19 |
+
-webkit-box-shadow: 1px 1px 3px 0px rgba(50, 50, 50, 0.5);
|
20 |
+
-moz-box-shadow: 1px 1px 3px 0px rgba(50, 50, 50, 0.5);
|
21 |
+
box-shadow: 1px 1px 3px 0px rgba(50, 50, 50, 0.5);
|
22 |
+
}
|
23 |
+
|
24 |
+
.wyt_closed
|
25 |
+
{
|
26 |
+
display: none !important;
|
27 |
+
}
|
28 |
+
|
29 |
+
.wyt_modal_content
|
30 |
+
{
|
31 |
+
position: initial;
|
32 |
+
top: 0;
|
33 |
+
left: 0;
|
34 |
+
width: auto;
|
35 |
+
height: auto;
|
36 |
+
padding: 15px 20px 15px 20px;
|
37 |
+
overflow-y: auto;
|
38 |
+
overflow-x: hidden;
|
39 |
+
}
|
40 |
+
|
41 |
+
.wyt_modal_header
|
42 |
+
{
|
43 |
+
position: initial;
|
44 |
+
top: 0;
|
45 |
+
left: 0;
|
46 |
+
width: auto;
|
47 |
+
height: 20px;
|
48 |
+
padding: 15px 20px 15px 20px;
|
49 |
+
overflow: hidden;
|
50 |
+
text-align: left;
|
51 |
+
font-weight: bold;
|
52 |
+
font-size: 14px;
|
53 |
+
|
54 |
+
}
|
55 |
+
|
56 |
+
.wyt_modal_overlay
|
57 |
+
{
|
58 |
+
z-index: 1000;
|
59 |
+
position: fixed;
|
60 |
+
top: 0;
|
61 |
+
left: 0;
|
62 |
+
width: 100%;
|
63 |
+
height: 100%;
|
64 |
+
background-color: rgba(0, 0, 0, 0.5);
|
65 |
+
}
|
66 |
+
|
67 |
+
.wyt-overlay-spinner
|
68 |
+
{
|
69 |
+
background: url(../img/spinner.svg) no-repeat;
|
70 |
+
background-size: 100px 100px;
|
71 |
+
vertical-align: middle;
|
72 |
+
transform: translate(-50%, -50%);
|
73 |
+
left: 50%;
|
74 |
+
top: 50%;
|
75 |
+
width: 100px;
|
76 |
+
height: 100px;
|
77 |
+
position: fixed;
|
78 |
+
visibility: hidden;
|
79 |
+
z-index: 1001;
|
80 |
+
}
|
81 |
+
|
82 |
+
.is-active
|
83 |
+
{
|
84 |
+
visibility: visible !important;
|
85 |
+
}
|
86 |
+
|
87 |
+
.wyt-row
|
88 |
+
{
|
89 |
+
width: 95%;
|
90 |
+
display: flex;
|
91 |
+
}
|
92 |
+
|
93 |
+
.wyt-col-1
|
94 |
+
{
|
95 |
+
float: left;
|
96 |
+
width: 20%;
|
97 |
+
}
|
98 |
+
|
99 |
+
.wyt-col-2
|
100 |
+
{
|
101 |
+
float: left;
|
102 |
+
width: 80%;
|
103 |
+
}
|
104 |
+
|
105 |
+
.wyt-row-style
|
106 |
+
{
|
107 |
+
padding: 10px;
|
108 |
+
cursor: pointer;
|
109 |
+
}
|
110 |
+
|
111 |
+
.wyt-row-style:hover
|
112 |
+
{
|
113 |
+
background-color: #dadada;
|
114 |
+
}
|
115 |
+
|
116 |
+
.wyt-col1-style
|
117 |
+
{
|
118 |
+
text-align: center;
|
119 |
+
vertical-align: middle;
|
120 |
+
}
|
121 |
+
|
122 |
+
.wyt-col1-style img
|
123 |
+
{
|
124 |
+
border: 1px solid #dadada;
|
125 |
+
border-radius: 10px;
|
126 |
+
vertical-align: middle;
|
127 |
+
}
|
128 |
+
|
129 |
+
.wyt-col2-style
|
130 |
+
{
|
131 |
+
font-weight: bold;
|
132 |
+
font-size: 14px;
|
133 |
+
padding-left: 5px;
|
134 |
+
}
|
135 |
+
|
136 |
+
.wyt-col2-style p
|
137 |
+
{
|
138 |
+
vertical-align: middle;
|
139 |
+
}
|
140 |
+
|
141 |
+
.wyt-page-title
|
142 |
+
{
|
143 |
+
text-align: center;
|
144 |
+
margin: 20px 0;
|
145 |
+
height: 100px;
|
146 |
+
transform: translateY(35%);
|
147 |
+
}
|
148 |
+
|
149 |
+
.wyt-page-title h1
|
150 |
+
{
|
151 |
+
vertical-align: middle;
|
152 |
+
color: white;
|
153 |
+
text-shadow: 1px 1px 1px #004769;
|
154 |
+
}
|
components/youtube/assets/css/wyoutube.css
ADDED
File without changes
|
components/youtube/assets/css/wyt-header.css
ADDED
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wyt-feed-header
|
2 |
+
{
|
3 |
+
font-family: Roboto, serif;
|
4 |
+
width: 100%;
|
5 |
+
height: 90px;
|
6 |
+
overflow: hidden;
|
7 |
+
display: inline-flex;
|
8 |
+
margin: 0 0 !important;
|
9 |
+
}
|
10 |
+
|
11 |
+
.wyt-remodal{
|
12 |
+
width: 100%;
|
13 |
+
font-family: Roboto, serif;
|
14 |
+
}
|
15 |
+
|
16 |
+
.wyt-comment-round{
|
17 |
+
border-radius: 50%;
|
18 |
+
}
|
19 |
+
|
20 |
+
.wyt-header-info-username
|
21 |
+
{
|
22 |
+
margin-bottom: -4px !important;
|
23 |
+
margin-top: -4px !important;
|
24 |
+
vertical-align: middle;
|
25 |
+
font-size: 1.5rem;
|
26 |
+
font-weight: 600;
|
27 |
+
}
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
.wyt-header-comment-info-username
|
32 |
+
{
|
33 |
+
vertical-align: middle;
|
34 |
+
text-align: left;
|
35 |
+
font-size: 1rem;
|
36 |
+
font-weight: 600;
|
37 |
+
}
|
38 |
+
|
39 |
+
.wyt-comment-block{
|
40 |
+
width: 90%;
|
41 |
+
margin: 0 0 5% 10%;
|
42 |
+
}
|
43 |
+
|
44 |
+
.wyt-header-info-followers{
|
45 |
+
font-size: 1.1rem;
|
46 |
+
}
|
47 |
+
|
48 |
+
.wyt-header-comment-info-followers{
|
49 |
+
font-size: 1rem;
|
50 |
+
line-height: 1;
|
51 |
+
text-align: left;
|
52 |
+
}
|
53 |
+
|
54 |
+
.wyt-header-info
|
55 |
+
{
|
56 |
+
margin-left: 10px;
|
57 |
+
font-size: 17px;
|
58 |
+
}
|
59 |
+
|
60 |
+
.wyt-header-neg
|
61 |
+
{
|
62 |
+
opacity: 0;
|
63 |
+
position: absolute;
|
64 |
+
height: 50px;
|
65 |
+
width: 50px;
|
66 |
+
z-index: 999;
|
67 |
+
background-color: black
|
68 |
+
}
|
69 |
+
|
70 |
+
.wyt-header-neg-icon
|
71 |
+
{
|
72 |
+
color: white;
|
73 |
+
margin-left: 12px;
|
74 |
+
margin-top: 11px;
|
75 |
+
font-size: 29px;
|
76 |
+
}
|
77 |
+
|
78 |
+
.wyt-box
|
79 |
+
{
|
80 |
+
height: 50px;
|
81 |
+
}
|
82 |
+
|
83 |
+
.wyt-box div
|
84 |
+
{
|
85 |
+
vertical-align: top;
|
86 |
+
margin-top: 0;
|
87 |
+
display: inline-block;
|
88 |
+
}
|
89 |
+
|
90 |
+
.wyt-round
|
91 |
+
{
|
92 |
+
width: 80px;
|
93 |
+
height: 80px;
|
94 |
+
border-radius: 50%;
|
95 |
+
}
|
96 |
+
|
97 |
+
.wyt-main-info{
|
98 |
+
display: flex;
|
99 |
+
align-items: center;
|
100 |
+
width: 70%
|
101 |
+
}
|
102 |
+
|
103 |
+
.wyt-subscribe-button-container{
|
104 |
+
float: right;
|
105 |
+
font-weight: 600;
|
106 |
+
width: 30%;
|
107 |
+
}
|
108 |
+
|
109 |
+
.desc-ellipsis {
|
110 |
+
text-overflow: ellipsis;
|
111 |
+
white-space: nowrap;
|
112 |
+
overflow: hidden;
|
113 |
+
}
|
114 |
+
|
115 |
+
.desc-ellipsis-5-lines {
|
116 |
+
overflow: hidden;
|
117 |
+
display: -webkit-box;
|
118 |
+
-webkit-box-orient: vertical;
|
119 |
+
-webkit-line-clamp: 5;
|
120 |
+
}
|
121 |
+
|
122 |
+
.desc-ellipsis-2-lines {
|
123 |
+
overflow: hidden;
|
124 |
+
display: -webkit-box;
|
125 |
+
-webkit-box-orient: vertical;
|
126 |
+
-webkit-line-clamp: 2;
|
127 |
+
}
|
128 |
+
|
129 |
+
.wyt-account-container{
|
130 |
+
display: flex;
|
131 |
+
justify-content: space-between;
|
132 |
+
align-items: center;
|
133 |
+
width: 100%;
|
134 |
+
height: 100%;
|
135 |
+
}
|
136 |
+
|
137 |
+
.wyt-subscribe-button{
|
138 |
+
padding: 5px 10px;
|
139 |
+
background-color: red;
|
140 |
+
width: 45%;
|
141 |
+
float: right;
|
142 |
+
text-align: center;
|
143 |
+
border-radius: 3px;
|
144 |
+
}
|
145 |
+
|
146 |
+
.wyt-show-more{
|
147 |
+
padding: 2px 5px;
|
148 |
+
background-color: #eeeeee;
|
149 |
+
border-radius: 2px;
|
150 |
+
width: max-content;
|
151 |
+
}
|
152 |
+
|
153 |
+
.wyt-video-block{
|
154 |
+
width: 60%; float: left;
|
155 |
+
}
|
156 |
+
|
157 |
+
.wyt-comments-block{
|
158 |
+
width: 40%; float: left;
|
159 |
+
}
|
160 |
+
|
161 |
+
@media (max-width: 768px) {
|
162 |
+
.wyt-video-block{
|
163 |
+
width: 100%;
|
164 |
+
}
|
165 |
+
|
166 |
+
.wyt-comments-block{
|
167 |
+
text-align: left;
|
168 |
+
float: left;
|
169 |
+
margin-top: 5%;
|
170 |
+
padding: 0;
|
171 |
+
width: 100%;
|
172 |
+
}
|
173 |
+
|
174 |
+
.wyt-comment-block{
|
175 |
+
margin-bottom: 1%;
|
176 |
+
margin-left: 2%;
|
177 |
+
}
|
178 |
+
|
179 |
+
.wyt-comment-stats{
|
180 |
+
margin-top: 1% !important;
|
181 |
+
}
|
182 |
+
}
|
183 |
+
|
184 |
+
@media (max-width: 400px) {
|
185 |
+
.wyt-account-container{
|
186 |
+
display: block !important;
|
187 |
+
}
|
188 |
+
|
189 |
+
.wyt-feed-header{
|
190 |
+
width: 100%;
|
191 |
+
}
|
192 |
+
|
193 |
+
.wyt-main-info{
|
194 |
+
width: 100% !important;
|
195 |
+
}
|
196 |
+
|
197 |
+
.wyt-header-info-username{
|
198 |
+
font-size: 1.5rem !important;
|
199 |
+
}
|
200 |
+
.wyt-round{
|
201 |
+
width: 50px;
|
202 |
+
height: 50px;
|
203 |
+
}
|
204 |
+
.wyt-subscribe-button{
|
205 |
+
margin: 0 auto;
|
206 |
+
width: 50% !important;
|
207 |
+
}
|
208 |
+
|
209 |
+
.wyt-subscribe-button-container{
|
210 |
+
display: flex;
|
211 |
+
margin: 2% auto 0;
|
212 |
+
width: 100% !important;
|
213 |
+
}
|
214 |
+
}
|
215 |
+
|
216 |
+
@media (max-width: 768px) and (min-width: 401px) {
|
217 |
+
.wyt-feed-header{
|
218 |
+
width: 100%;
|
219 |
+
}
|
220 |
+
|
221 |
+
.wyt-header-info-username{
|
222 |
+
font-size: 1.5rem !important;
|
223 |
+
}
|
224 |
+
.wyt-round{
|
225 |
+
width: 50px;
|
226 |
+
height: 50px;
|
227 |
+
}
|
228 |
+
.wyt-subscribe-button-container{
|
229 |
+
width: 50% !important;
|
230 |
+
}
|
231 |
+
.wyt-subscribe-button{
|
232 |
+
width: 70% !important;
|
233 |
+
}
|
234 |
+
}
|
235 |
+
|
236 |
+
@media (min-width: 769px) and (max-width: 990px) {
|
237 |
+
.wyt-subscribe-button {
|
238 |
+
width: 70% !important;
|
239 |
+
}
|
240 |
+
}
|
241 |
+
|
242 |
+
|
components/youtube/assets/fonts/roboto/Roboto-Regular.ttf
ADDED
Binary file
|
components/youtube/assets/image.png
ADDED
Binary file
|
components/youtube/assets/img/spinner.svg
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
+
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
|
3 |
+
xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="128px" height="128px" viewBox="0 0 128 128"
|
4 |
+
xml:space="preserve"><g><circle cx="16" cy="64" r="16" fill="#000000" fill-opacity="1"/><circle cx="16" cy="64"
|
5 |
+
r="16"
|
6 |
+
fill="#555555"
|
7 |
+
fill-opacity="0.67"
|
8 |
+
transform="rotate(45,64,64)"/><circle
|
9 |
+
cx="16" cy="64" r="16" fill="#949494" fill-opacity="0.42" transform="rotate(90,64,64)"/><circle cx="16" cy="64"
|
10 |
+
r="16"
|
11 |
+
fill="#cccccc"
|
12 |
+
fill-opacity="0.2"
|
13 |
+
transform="rotate(135,64,64)"/><circle
|
14 |
+
cx="16" cy="64" r="16" fill="#e1e1e1" fill-opacity="0.12" transform="rotate(180,64,64)"/><circle cx="16" cy="64"
|
15 |
+
r="16"
|
16 |
+
fill="#e1e1e1"
|
17 |
+
fill-opacity="0.12"
|
18 |
+
transform="rotate(225,64,64)"/><circle
|
19 |
+
cx="16" cy="64" r="16" fill="#e1e1e1" fill-opacity="0.12" transform="rotate(270,64,64)"/><circle cx="16" cy="64"
|
20 |
+
r="16"
|
21 |
+
fill="#e1e1e1"
|
22 |
+
fill-opacity="0.12"
|
23 |
+
transform="rotate(315,64,64)"/><animateTransform
|
24 |
+
attributeName="transform" type="rotate"
|
25 |
+
values="0 64 64;315 64 64;270 64 64;225 64 64;180 64 64;135 64 64;90 64 64;45 64 64" calcMode="discrete"
|
26 |
+
dur="720ms" repeatCount="indefinite"></animateTransform></g></svg>
|
components/youtube/assets/in.png
ADDED
Binary file
|
components/youtube/assets/index.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
components/youtube/assets/js/jquery.flexslider-min.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* jQuery pllexislider v2.6.1
|
3 |
+
* Copyright 2012 WooThemes
|
4 |
+
* Contributing Author: Tyler Smith
|
5 |
+
*/!function($){var e=!0;$.pllexislider=function(t,a){var n=$(t);n.vars=$.extend({},$.pllexislider.defaults,a);var i=n.vars.namespace,s=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,r=("ontouchstart"in window||s||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,o="click touchend MSPointerUp keyup",l="",c,d="vertical"===n.vars.direction,u=n.vars.reverse,v=n.vars.itemWidth>0,p="fade"===n.vars.animation,m=""!==n.vars.asNavFor,f={};$.data(t,"pllexislider",n),f={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0,10),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=$(n.vars.selector,n),n.container=$(n.containerSelector,n),n.count=n.slides.length,n.syncExists=$(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=d?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return n.pfx=t[a].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),n.ensureAnimationEnd="",""!==n.vars.controlsContainer&&(n.controlsContainer=$(n.vars.controlsContainer).length>0&&$(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=$(n.vars.manualControls).length>0&&$(n.vars.manualControls)),""!==n.vars.customDirectionNav&&(n.customDirectionNav=2===$(n.vars.customDirectionNav).length&&$(n.vars.customDirectionNav)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&f.controlNav.setup(),n.vars.directionNav&&f.directionNav.setup(),n.vars.keyboard&&(1===$(n.containerSelector).length||n.vars.multipleKeyboard)&&$(document).bind("keyup",function(e){var t=e.keyCode;if(!n.animating&&(39===t||37===t)){var a=39===t?n.getTarget("next"):37===t?n.getTarget("prev"):!1;n.flexAnimate(a,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(e,t,a,i){e.preventDefault();var s=0>t?n.getTarget("next"):n.getTarget("prev");n.flexAnimate(s,n.vars.pauseOnAction)}),n.vars.pausePlay&&f.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&f.pauseInvisible.init(),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){n.manualPlay||n.manualPause||n.pause()},function(){n.manualPause||n.manualPlay||n.stopped||n.play()}),n.vars.pauseInvisible&&f.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),m&&f.asNav.setup(),r&&n.vars.touch&&f.touch(),(!p||p&&n.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",f.resize),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(i+"active-slide").eq(n.currentItem).addClass(i+"active-slide"),s?(t._slider=n,n.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=$(this),a=t.index();$(n.vars.asNavFor).data("pllexislider").animating||t.hasClass("active")||(n.direction=n.currentItem<a?"next":"prev",n.flexAnimate(a,n.vars.pauseOnAction,!1,!0,!0))})})):n.slides.on(o,function(e){e.preventDefault();var t=$(this),a=t.index(),s=t.offset().left-$(n).scrollLeft();0>=s&&t.hasClass(i+"active-slide")?n.flexAnimate(n.getTarget("prev"),!0):$(n.vars.asNavFor).data("pllexislider").animating||t.hasClass(i+"active-slide")||(n.direction=n.currentItem<a?"next":"prev",n.flexAnimate(a,n.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){n.manualControls?f.controlNav.setupManual():f.controlNav.setupPaging()},setupPaging:function(){var e="thumbnails"===n.vars.controlNav?"control-thumbs":"control-paging",t=1,a,s;if(n.controlNavScaffold=$('<ol class="'+i+"control-nav "+i+e+'"></ol>'),n.pagingCount>1)for(var r=0;r<n.pagingCount;r++){s=n.slides.eq(r),void 0===s.attr("data-thumb-alt")&&s.attr("data-thumb-alt","");var c=""!==s.attr("data-thumb-alt")?c=' alt="'+s.attr("data-thumb-alt")+'"':"";if(a="thumbnails"===n.vars.controlNav?'<img src="'+s.attr("data-thumb")+'"'+c+"/>":'<a href="#">'+t+"</a>","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var d=s.attr("data-thumbcaption");""!==d&&void 0!==d&&(a+='<span class="'+i+'caption">'+d+"</span>")}n.controlNavScaffold.append("<li>"+a+"</li>"),t++}n.controlsContainer?$(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),f.controlNav.set(),f.controlNav.active(),n.controlNavScaffold.delegate("a, img",o,function(e){if(e.preventDefault(),""===l||l===e.type){var t=$(this),a=n.controlNav.index(t);t.hasClass(i+"active")||(n.direction=a>n.currentSlide?"next":"prev",n.flexAnimate(a,n.vars.pauseOnAction))}""===l&&(l=e.type),f.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,f.controlNav.active(),n.controlNav.bind(o,function(e){if(e.preventDefault(),""===l||l===e.type){var t=$(this),a=n.controlNav.index(t);t.hasClass(i+"active")||(a>n.currentSlide?n.direction="next":n.direction="prev",n.flexAnimate(a,n.vars.pauseOnAction))}""===l&&(l=e.type),f.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=$("."+i+"control-nav li "+e,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(i+"active").eq(n.animatingTo).addClass(i+"active")},update:function(e,t){n.pagingCount>1&&"add"===e?n.controlNavScaffold.append($('<li><a href="#">'+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.controlNav.eq(t).closest("li").remove(),f.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(t,e):f.controlNav.active()}},directionNav:{setup:function(){var e=$('<ul class="'+i+'direction-nav"><li class="'+i+'nav-prev"><a class="'+i+'prev" href="#">'+n.vars.prevText+'</a></li><li class="'+i+'nav-next"><a class="'+i+'next" href="#">'+n.vars.nextText+"</a></li></ul>");n.customDirectionNav?n.directionNav=n.customDirectionNav:n.controlsContainer?($(n.controlsContainer).append(e),n.directionNav=$("."+i+"direction-nav li a",n.controlsContainer)):(n.append(e),n.directionNav=$("."+i+"direction-nav li a",n)),f.directionNav.update(),n.directionNav.bind(o,function(e){e.preventDefault();var t;(""===l||l===e.type)&&(t=$(this).hasClass(i+"next")?n.getTarget("next"):n.getTarget("prev"),n.flexAnimate(t,n.vars.pauseOnAction)),""===l&&(l=e.type),f.setToClearWatchedEvent()})},update:function(){var e=i+"disabled";1===n.pagingCount?n.directionNav.addClass(e).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(e).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(e).filter("."+i+"prev").addClass(e).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(e).filter("."+i+"next").addClass(e).attr("tabindex","-1"):n.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=$('<div class="'+i+'pauseplay"><a href="#"></a></div>');n.controlsContainer?(n.controlsContainer.append(e),n.pausePlay=$("."+i+"pauseplay a",n.controlsContainer)):(n.append(e),n.pausePlay=$("."+i+"pauseplay a",n)),f.pausePlay.update(n.vars.slideshow?i+"pause":i+"play"),n.pausePlay.bind(o,function(e){e.preventDefault(),(""===l||l===e.type)&&($(this).hasClass(i+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===l&&(l=e.type),f.setToClearWatchedEvent()})},update:function(e){"play"===e?n.pausePlay.removeClass(i+"pause").addClass(i+"play").html(n.vars.playText):n.pausePlay.removeClass(i+"play").addClass(i+"pause").html(n.vars.pauseText)}},touch:function(){function e(e){e.stopPropagation(),n.animating?e.preventDefault():(n.pause(),t._gesture.addPointer(e.pointerId),T=0,c=d?n.h:n.w,f=Number(new Date),l=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c)}function a(e){e.stopPropagation();var a=e.target._slider;if(a){var n=-e.translationX,i=-e.translationY;return T+=d?i:n,m=T,y=d?Math.abs(T)<Math.abs(-n):Math.abs(T)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){t._gesture.stop()}):void((!y||Number(new Date)-f>500)&&(e.preventDefault(),!p&&a.transitions&&(a.vars.animationLoop||(m=T/(0===a.currentSlide&&0>T||a.currentSlide===a.last&&T>0?Math.abs(T)/c+2:1)),a.setProps(l+m,"setTouch"))))}}function i(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!y&&null!==m){var a=u?-m:m,n=a>0?t.getTarget("next"):t.getTarget("prev");t.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>c/2)?t.flexAnimate(n,t.vars.pauseOnAction):p||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}r=null,o=null,m=null,l=null,T=0}}var r,o,l,c,m,f,g,h,S,y=!1,x=0,b=0,T=0;s?(t.style.msTouchAction="none",t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",e,!1),t._slider=n,t.addEventListener("MSGestureChange",a,!1),t.addEventListener("MSGestureEnd",i,!1)):(g=function(e){n.animating?e.preventDefault():(window.navigator.msPointerEnabled||1===e.touches.length)&&(n.pause(),c=d?n.h:n.w,f=Number(new Date),x=e.touches[0].pageX,b=e.touches[0].pageY,l=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c,r=d?b:x,o=d?x:b,t.addEventListener("touchmove",h,!1),t.addEventListener("touchend",S,!1))},h=function(e){x=e.touches[0].pageX,b=e.touches[0].pageY,m=d?r-b:r-x,y=d?Math.abs(m)<Math.abs(x-o):Math.abs(m)<Math.abs(b-o);var t=500;(!y||Number(new Date)-f>t)&&(e.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(m/=0===n.currentSlide&&0>m||n.currentSlide===n.last&&m>0?Math.abs(m)/c+2:1),n.setProps(l+m,"setTouch")))},S=function(e){if(t.removeEventListener("touchmove",h,!1),n.animatingTo===n.currentSlide&&!y&&null!==m){var a=u?-m:m,i=a>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(i)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>c/2)?n.flexAnimate(i,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}t.removeEventListener("touchend",S,!1),r=null,o=null,m=null,l=null},t.addEventListener("touchstart",g,!1))},resize:function(){!n.animating&&n.is(":visible")&&(v||n.doMath(),p?f.smoothHeight():v?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):d?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&f.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(e){if(!d||p){var t=p?n:n.viewport;e?t.animate({height:n.slides.eq(n.animatingTo).innerHeight()},e):t.innerHeight(n.slides.eq(n.animatingTo).innerHeight())}},sync:function(e){var t=$(n.vars.sync).data("pllexislider"),a=n.animatingTo;switch(e){case"animate":t.flexAnimate(a,n.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=$(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=f.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){f.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){var e=f.pauseInvisible.getHiddenProp();return e?document[e]:!1},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(c),c=setTimeout(function(){l=""},3e3)}},n.flexAnimate=function(e,t,a,s,o){if(n.vars.animationLoop||e===n.currentSlide||(n.direction=e>n.currentSlide?"next":"prev"),m&&1===n.pagingCount&&(n.direction=n.currentItem<e?"next":"prev"),!n.animating&&(n.canAdvance(e,o)||a)&&n.is(":visible")){if(m&&s){var l=$(n.vars.asNavFor).data("pllexislider");if(n.atEnd=0===e||e===n.count-1,l.flexAnimate(e,!0,!1,!0,o),n.direction=n.currentItem<e?"next":"prev",l.direction=n.direction,Math.ceil((e+1)/n.visible)-1===n.currentSlide||0===e)return n.currentItem=e,n.slides.removeClass(i+"active-slide").eq(e).addClass(i+"active-slide"),!1;n.currentItem=e,n.slides.removeClass(i+"active-slide").eq(e).addClass(i+"active-slide"),e=Math.floor(e/n.visible)}if(n.animating=!0,n.animatingTo=e,t&&n.pause(),n.vars.before(n),n.syncExists&&!o&&f.sync("animate"),n.vars.controlNav&&f.controlNav.active(),v||n.slides.removeClass(i+"active-slide").eq(e).addClass(i+"active-slide"),n.atEnd=0===e||e===n.last,n.vars.directionNav&&f.directionNav.update(),e===n.last&&(n.vars.end(n),n.vars.animationLoop||n.pause()),p)r?(n.slides.eq(n.currentSlide).css({opacity:0,zIndex:1}),n.slides.eq(e).css({opacity:1,zIndex:2}),n.wrapup(c)):(n.slides.eq(n.currentSlide).css({zIndex:1}).animate({opacity:0},n.vars.animationSpeed,n.vars.easing),n.slides.eq(e).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing,n.wrapup));else{var c=d?n.slides.filter(":first").height():n.computedW,g,h,S;v?(g=n.vars.itemMargin,S=(n.itemW+g)*n.move*n.animatingTo,h=S>n.limit&&1!==n.visible?n.limit:S):h=0===n.currentSlide&&e===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?u?(n.count+n.cloneOffset)*c:0:n.currentSlide===n.last&&0===e&&n.vars.animationLoop&&"prev"!==n.direction?u?0:(n.count+1)*c:u?(n.count-1-e+n.cloneOffset)*c:(e+n.cloneOffset)*c,n.setProps(h,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(n.ensureAnimationEnd),n.wrapup(c)}),clearTimeout(n.ensureAnimationEnd),n.ensureAnimationEnd=setTimeout(function(){n.wrapup(c)},n.vars.animationSpeed+100)):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(c)})}n.vars.smoothHeight&&f.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(e){p||v||(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(e,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(e,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&e&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&f.pausePlay.update("play"),n.syncExists&&f.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&f.pausePlay.update("pause"),n.syncExists&&f.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(e,t){var a=m?n.pagingCount-1:n.last;return t?!0:m&&n.currentItem===n.count-1&&0===e&&"prev"===n.direction?!0:m&&0===n.currentItem&&e===n.pagingCount-1&&"next"!==n.direction?!1:e!==n.currentSlide||m?n.vars.animationLoop?!0:n.atEnd&&0===n.currentSlide&&e===a&&"next"!==n.direction?!1:n.atEnd&&n.currentSlide===a&&0===e&&"next"===n.direction?!1:!0:!1},n.getTarget=function(e){return n.direction=e,"next"===e?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(e,t,a){var i=function(){var a=e?e:(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo,i=function(){if(v)return"setTouch"===t?e:u&&n.animatingTo===n.last?0:u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:a;switch(t){case"setTotal":return u?(n.count-1-n.currentSlide+n.cloneOffset)*e:(n.currentSlide+n.cloneOffset)*e;case"setTouch":return u?e:e;case"jumpEnd":return u?e:n.count*e;case"jumpStart":return u?n.count*e:e;default:return e}}();return-1*i+"px"}();n.transitions&&(i=d?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",a=void 0!==a?a/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",a),n.container.css("transition-duration",a)),n.args[n.prop]=i,(n.transitions||void 0===a)&&n.container.css(n.args),n.container.css("transform",i)},n.setup=function(e){if(p)n.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(r?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):0==n.vars.fadeFirstSlide?n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).css({opacity:1}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&f.smoothHeight();else{var t,a;"init"===e&&(n.viewport=$('<div class="'+i+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,u&&(a=$.makeArray(n.slides).reverse(),n.slides=$(a),n.container.empty().append(n.slides))),n.vars.animationLoop&&!v&&(n.cloneCount=2,n.cloneOffset=1,"init"!==e&&n.container.find(".clone").remove(),n.container.append(f.uniqueID(n.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(f.uniqueID(n.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),n.newSlides=$(n.vars.selector,n),t=u?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,d&&!v?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(t*n.h,"init")},"init"===e?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(t*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,marginRight:n.computedM,"float":"left",display:"block"}),n.vars.smoothHeight&&f.smoothHeight()},"init"===e?100:0))}v||n.slides.removeClass(i+"active-slide").eq(n.currentSlide).addClass(i+"active-slide"),n.vars.init(n)},n.doMath=function(){var e=n.slides.first(),t=n.vars.itemMargin,a=n.vars.minItems,i=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=e.height(),n.boxPadding=e.outerWidth()-e.width(),v?(n.itemT=n.vars.itemWidth+t,n.itemM=t,n.minW=a?a*n.itemT:n.w,n.maxW=i?i*n.itemT-t:n.w,n.itemW=n.minW>n.w?(n.w-t*(a-1))/a:n.maxW<n.w?(n.w-t*(i-1))/i:n.vars.itemWidth>n.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.move<n.visible?n.vars.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:n.vars.itemWidth>n.w?n.itemW*(n.count-1)+t*(n.count-1):(n.itemW+t)*n.count-n.w-t):(n.itemW=n.w,n.itemM=t,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding,n.computedM=n.itemM},n.update=function(e,t){n.doMath(),v||(e<n.currentSlide?n.currentSlide+=1:e<=n.currentSlide&&0!==e&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),n.vars.controlNav&&!n.manualControls&&("add"===t&&!v||n.pagingCount>n.controlNav.length?f.controlNav.update("add"):("remove"===t&&!v||n.pagingCount<n.controlNav.length)&&(v&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),f.controlNav.update("remove",n.last))),n.vars.directionNav&&f.directionNav.update()},n.addSlide=function(e,t){var a=$(e);n.count+=1,n.last=n.count-1,d&&u?void 0!==t?n.slides.eq(n.count-t).after(a):n.container.prepend(a):void 0!==t?n.slides.eq(t).before(a):n.container.append(a),n.update(t,"add"),n.slides=$(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(e){var t=isNaN(e)?n.slides.index($(e)):e;n.count-=1,n.last=n.count-1,isNaN(e)?$(e,n.slides).remove():d&&u?n.slides.eq(n.last).remove():n.slides.eq(e).remove(),n.doMath(),n.update(t,"remove"),n.slides=$(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},f.init()},$(window).blur(function(t){e=!1}).focus(function(t){e=!0}),$.pllexislider.defaults={namespace:"pllex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},$.fn.pllexislider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var t=$(this),a=e.selector?e.selector:".slides > li",n=t.find(a);1===n.length&&e.allowOneSlide===!1||0===n.length?(n.fadeIn(400),e.start&&e.start(t)):void 0===t.data("pllexislider")&&new $.pllexislider(this,e)});var t=$(this).data("pllexislider");switch(e){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof e&&t.flexAnimate(e,!0)}}}(jQuery);
|
components/youtube/assets/js/jr-insta.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($) {
|
2 |
+
|
3 |
+
$(document).ready(function ($) {
|
4 |
+
|
5 |
+
}); // Document Ready
|
6 |
+
|
7 |
+
})(jQuery);
|
components/youtube/html_templates/default.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* @var $args array */
|
4 |
+
|
5 |
+
/* @var $account \YoutubeFeed\Api\Channel\YoutubeChannelSnippet */
|
6 |
+
$account = $args['account'];
|
7 |
+
|
8 |
+
/* @var $videos \YoutubeFeed\Api\Video\YoutubeVideo[] */
|
9 |
+
$videos = $args['posts'];
|
10 |
+
|
11 |
+
$width = 100/$args['columns'];
|
12 |
+
|
13 |
+
$yt_link = "https://www.youtube.com/watch?v=";
|
14 |
+
?>
|
15 |
+
|
16 |
+
<div class='wyoutube-videos-container'>
|
17 |
+
<?php foreach ($videos as $video): ?>
|
18 |
+
<?= $args['yimages_link'] == 'yt_link' ? sprintf('<a href="%s%s" target="_blank" style="text-decoration: none;">', $yt_link, $video->id->videoId) : ''?>
|
19 |
+
<div class="wyoutube-video-container" data-remodal-target="<?= $video->id->videoId ?>"
|
20 |
+
style="margin-top: 10px; width: <?=$width-2?>%; <?= $args['yimages_link'] == 'ypopup' ? 'cursor: pointer' : ''?> ">
|
21 |
+
<img src="<?= $video->snippet->thumbnails->medium->url ?>" alt="">
|
22 |
+
<div class="wyoutuve-video-title ellipsis-2-lines">
|
23 |
+
<?= $video->snippet->title ?>
|
24 |
+
</div>
|
25 |
+
<div class="woutube-video-specs">
|
26 |
+
<div class="wyoutube-video-watches">
|
27 |
+
<?= sprintf("%s %s", $video->statistics->viewCount, __('views', 'yft'))?>
|
28 |
+
</div>
|
29 |
+
<div class="wyoutube-video-publish">
|
30 |
+
<?= time_elapsed_string($video->snippet->publishedAt) ?>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
</div>
|
34 |
+
<?= $args['yimages_link'] == 'yt_link' ? "</a>" : ''?>
|
35 |
+
<?php endforeach; ?>
|
36 |
+
</div>
|
components/youtube/html_templates/feed_header_template.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* @var $account \YoutubeFeed\Api\Channel\YoutubeChannelItem */
|
3 |
+
$account = $args['account'];
|
4 |
+
|
5 |
+
$username = $account->snippet->title;
|
6 |
+
$profile_pic_url = $account->snippet->thumbnails->default->url;
|
7 |
+
$posts_count = $account->statistics->videoCount;
|
8 |
+
$followers = !$account->statistics->hiddenSubscriberCount ? sprintf('%s %s',$account->statistics->subscriberCount , __('subscribers', 'yft')) : __('user has hidden the number of followers', 'yft');
|
9 |
+
$profile_url = "https://youtube.com/channel/" . $account->snippet->channelId;
|
10 |
+
?>
|
11 |
+
|
12 |
+
<div class="wyt-feed-header">
|
13 |
+
<div class="wyt-account-container">
|
14 |
+
<div class="wyt-main-info" >
|
15 |
+
<img class="wyt-round" src="<?php echo esc_url( $profile_pic_url ) ?>"
|
16 |
+
alt=""
|
17 |
+
width="90" height="90">
|
18 |
+
<div class="" style="margin-left: 3%;width: 100%; color: grey">
|
19 |
+
<div class="wyt-header-info-username ellipsis" style="">
|
20 |
+
<?php echo esc_html( $username )?>
|
21 |
+
</div>
|
22 |
+
<div class="wyt-header-info-followers">
|
23 |
+
<?php echo esc_html( $followers ) ?>
|
24 |
+
</div>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
<div class="wyt-subscribe-button-container">
|
28 |
+
<div class="wyt-subscribe-button">
|
29 |
+
<a href="https://youtube.com/channel/<?= $account->snippet->channelId ?>" target="_blank" style=" text-decoration: none;color: white; font-size: 1rem"><?= __('subscribe', 'yft') ?></a>
|
30 |
+
</div>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
</div>
|
34 |
+
<br>
|
35 |
+
<hr>
|
components/youtube/html_templates/widget_settings.php
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/** @var array $args*/
|
3 |
+
/** @var WYT_Widget $this */
|
4 |
+
|
5 |
+
use YoutubeFeed\Api\YoutubeApi;
|
6 |
+
|
7 |
+
$accounts = $args['accounts'];
|
8 |
+
$sliders = $args['sliders'];
|
9 |
+
$options_linkto = $args['options_linkto'];
|
10 |
+
$instance = $args['instance'];
|
11 |
+
|
12 |
+
?>
|
13 |
+
|
14 |
+
<div class="wyt-container">
|
15 |
+
<p>
|
16 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><strong><?php _e( 'Title:', 'yft' ); ?></strong></label>
|
17 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>"
|
18 |
+
name="<?php echo $this->get_field_name( 'title' ); ?>"
|
19 |
+
value="<?php echo $instance['title']; ?>"/>
|
20 |
+
</p>
|
21 |
+
<p>
|
22 |
+
<span class="wyt-search-for-container">
|
23 |
+
<?php
|
24 |
+
if ( count( $accounts ) ) {
|
25 |
+
?>
|
26 |
+
<label for="<?php echo $this->get_field_id( 'search' ); ?>"><strong><?php _e( 'Feed:', 'yft' ); ?></strong></label>
|
27 |
+
<select id="<?php echo $this->get_field_id( 'search' ); ?>" class="widefat"
|
28 |
+
name="<?php echo $this->get_field_name( 'search' ); ?>"><?php
|
29 |
+
foreach ( $accounts as $channelId => $account ) {
|
30 |
+
$selected = $instance['search'] == $channelId ? "selected='selected'" : "";
|
31 |
+
echo "<option value='" . $channelId . "' {$selected}>{$account->snippet->title}</option>";
|
32 |
+
}
|
33 |
+
?>
|
34 |
+
</select><?php
|
35 |
+
} else {
|
36 |
+
echo "<a href='" . $this->plugin->getPluginPageUrl( 'settings' ) . "'>" . __( 'Add feed in settings', 'yft' ) . "</a>";
|
37 |
+
}
|
38 |
+
?>
|
39 |
+
</span>
|
40 |
+
</p>
|
41 |
+
<p id="img_to_show">
|
42 |
+
<label for="<?php echo $this->get_field_id( 'images_number' ); ?>"><strong><?php _e( 'Count of images to show:', 'yft' ); ?></strong>
|
43 |
+
<input class="small-text" type="number" min="1" max=""
|
44 |
+
id="<?php echo $this->get_field_id( 'images_number' ); ?>"
|
45 |
+
name="<?php echo $this->get_field_name( 'images_number' ); ?>"
|
46 |
+
value="<?php echo $instance['images_number']; ?>"/>
|
47 |
+
<span class="wyt-description">
|
48 |
+
<?php if ( !$this->plugin->is_premium() ) {
|
49 |
+
_e( 'Maximum 20 images in free version.', 'yft' );
|
50 |
+
echo " " . sprintf( __( "More in <a href='%s'>PRO version</a>", 'yft' ), $this->plugin->get_support()->get_pricing_url( true, "wyt_widget_settings" ) );
|
51 |
+
}
|
52 |
+
?>
|
53 |
+
</span>
|
54 |
+
</label>
|
55 |
+
</p>
|
56 |
+
<p>
|
57 |
+
<label for="<?php echo $this->get_field_id( 'refresh_hour' ); ?>"><strong><?php _e( 'Check for new posts every:', 'yft' ); ?></strong>
|
58 |
+
<input class="small-text" type="number" min="1" max="200"
|
59 |
+
id="<?php echo $this->get_field_id( 'refresh_hour' ); ?>"
|
60 |
+
name="<?php echo $this->get_field_name( 'refresh_hour' ); ?>"
|
61 |
+
value="<?php echo $instance['refresh_hour']; ?>"/>
|
62 |
+
<span><?php _e( 'hours', 'yft' ); ?></span>
|
63 |
+
</label>
|
64 |
+
</p>
|
65 |
+
<p class="show_feed_header">
|
66 |
+
<strong><?php _e( 'Show feed header:', 'yft' ); ?></strong>
|
67 |
+
<label class="switch" for="<?php echo $this->get_field_id( 'show_feed_header' ); ?>">
|
68 |
+
<input type="hidden" id="<?php echo $this->get_field_id( 'show_feed_header' );?>"
|
69 |
+
name="<?php echo $this->get_field_name( 'show_feed_header' ); ?>" value="0">
|
70 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'show_feed_header' ); ?>"
|
71 |
+
name="<?php echo $this->get_field_name( 'show_feed_header' ); ?>" type="checkbox"
|
72 |
+
value="1" <?php checked( '1', $instance['show_feed_header'] ); ?> />
|
73 |
+
<span class="slider round"></span>
|
74 |
+
</label>
|
75 |
+
</p>
|
76 |
+
<p>
|
77 |
+
<label for="<?php echo $this->get_field_id( 'template' ); ?>"><strong><?php _e( 'Template', 'yft' ); ?></strong>
|
78 |
+
<select class="widefat" name="<?php echo $this->get_field_name( 'template' ); ?>"
|
79 |
+
id="<?php echo $this->get_field_id( 'template' ); ?>">
|
80 |
+
<?php
|
81 |
+
if ( count( $sliders ) ) {
|
82 |
+
foreach ( $sliders as $key => $slider ) {
|
83 |
+
$selected = ( $instance['template'] == $key ) ? "selected='selected'" : '';
|
84 |
+
echo "<option value='{$key}' {$selected}>{$slider}</option>\n";
|
85 |
+
}
|
86 |
+
}
|
87 |
+
?>
|
88 |
+
</select>
|
89 |
+
</label>
|
90 |
+
</p>
|
91 |
+
<p class="<?php if ( 'default' != $instance['template'] && 'default-no-border' != $instance['template'] ) {
|
92 |
+
echo 'hidden';
|
93 |
+
} ?>">
|
94 |
+
<label for="<?php echo $this->get_field_id( 'columns' ); ?>"><strong><?php _e( 'Number of Columns:', 'yft' ); ?></strong>
|
95 |
+
<input class="small-text" id="<?php echo $this->get_field_id( 'columns' ); ?>"
|
96 |
+
type="number" min="1" max="10"
|
97 |
+
name="<?php echo $this->get_field_name( 'columns' ); ?>"
|
98 |
+
value="<?php echo $instance['columns']; ?>"/>
|
99 |
+
<span class='wyt-description'><?php _e( 'max is 10 ( only for thumbnails template )', 'yft' ); ?></span>
|
100 |
+
</label>
|
101 |
+
</p>
|
102 |
+
<p>
|
103 |
+
<label for="<?php echo $this->get_field_id('request_by'); ?>"><strong><?php _e('Request videos by:', 'instagram-slider-widget'); ?></strong>
|
104 |
+
<select class="widefat" name="<?php echo $this->get_field_name('request_by'); ?>"
|
105 |
+
id="<?php echo $this->get_field_id('request_by'); ?>">
|
106 |
+
<option value="<?= YoutubeApi::orderByRelevance ?>" <?php selected($instance['request_by'], YoutubeApi::orderByRelevance, true); ?>><?php _e('Relevance', 'instagram-slider-widget'); ?></option>
|
107 |
+
<option value="<?= YoutubeApi::orderByDate ?>" <?php selected($instance['request_by'], YoutubeApi::orderByDate, true); ?>> <?php _e('Date', 'instagram-slider-widget'); ?></option>
|
108 |
+
<option value="<?= YoutubeApi::orderByRating ?>" <?php selected($instance['request_by'], YoutubeApi::orderByRating, true); ?>> <?php _e('Rating', 'instagram-slider-widget'); ?></option>
|
109 |
+
<option value="<?= YoutubeApi::orderByViewCount ?>" <?php selected($instance['request_by'], YoutubeApi::orderByViewCount, true); ?>><?php _e('View count', 'instagram-slider-widget'); ?></option>
|
110 |
+
<option value="<?= YoutubeApi::orderByUnspec ?>" <?php selected($instance['request_by'], YoutubeApi::orderByUnspec, true); ?>> <?php _e('Unspecified', 'instagram-slider-widget'); ?></option>
|
111 |
+
</select>
|
112 |
+
</label>
|
113 |
+
</p>
|
114 |
+
<p>
|
115 |
+
<label for="<?php echo $this->get_field_id( 'orderby' ); ?>"><strong><?php _e( 'Order by', 'yft' ); ?></strong>
|
116 |
+
<select class="widefat" name="<?php echo $this->get_field_name( 'orderby' ); ?>"
|
117 |
+
id="<?php echo $this->get_field_id( 'orderby' ); ?>">
|
118 |
+
<option value="date-ASC" <?php selected( $instance['orderby'], 'date-ASC', true ); ?>><?php _e( 'Date - Ascending', 'yft' ); ?></option>
|
119 |
+
<option value="date-DESC" <?php selected( $instance['orderby'], 'date-DESC', true ); ?>><?php _e( 'Date - Descending', 'yft' ); ?></option>
|
120 |
+
<option value="popular-ASC" <?php selected( $instance['orderby'], 'popular-ASC', true ); ?>><?php _e( 'Popularity - Ascending', 'yft' ); ?></option>
|
121 |
+
<option value="popular-DESC" <?php selected( $instance['orderby'], 'popular-DESC', true ); ?>><?php _e( 'Popularity - Descending', 'yft' ); ?></option>
|
122 |
+
<option value="rand" <?php selected( $instance['orderby'], 'rand', true ); ?>><?php _e( 'Random', 'yft' ); ?></option>
|
123 |
+
</select>
|
124 |
+
</label>
|
125 |
+
</p>
|
126 |
+
<p>
|
127 |
+
<label for="<?php echo $this->get_field_id( 'yimages_link' ); ?>"><strong><?php _e( 'Link to', 'yft' ); ?></strong>
|
128 |
+
<select class="widefat" name="<?php echo $this->get_field_name( 'yimages_link' ); ?>"
|
129 |
+
id="<?php echo $this->get_field_id( 'yimages_link' ); ?>">
|
130 |
+
<?php
|
131 |
+
if ( count( $options_linkto ) ) {
|
132 |
+
foreach ( $options_linkto as $key => $option ) {
|
133 |
+
$selected = selected( $instance['yimages_link'], $key, false );
|
134 |
+
echo "<option value='{$key}' {$selected}>{$option}</option>\n";
|
135 |
+
}
|
136 |
+
}
|
137 |
+
if (!$this->plugin->is_premium()) {
|
138 |
+
?>
|
139 |
+
<optgroup label="Available in PRO">
|
140 |
+
<option value='ypopup' disabled="disabled">Pop Up</option>
|
141 |
+
</optgroup>
|
142 |
+
<?php
|
143 |
+
}
|
144 |
+
?>
|
145 |
+
</select>
|
146 |
+
</label>
|
147 |
+
</p>
|
148 |
+
<p class="<?php if ( 'custom_url' != $instance['yimages_link'] ) {
|
149 |
+
echo 'hidden';
|
150 |
+
} ?>">
|
151 |
+
<label for="<?php echo $this->get_field_id( 'custom_url' ); ?>"><?php _e( 'Custom link:', 'yft' ); ?></label>
|
152 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'custom_url' ); ?>"
|
153 |
+
name="<?php echo $this->get_field_name( 'custom_url' ); ?>"
|
154 |
+
value="<?php echo $instance['custom_url']; ?>"/>
|
155 |
+
<span><?php _e( '* use this field only if the above option is set to <strong>Custom Link</strong>', 'yft' ); ?></span>
|
156 |
+
</p>
|
157 |
+
<p>
|
158 |
+
<label for="<?php echo $this->get_field_id( 'blocked_words' ); ?>"><?php _e( 'Block words', 'yft' ); ?>
|
159 |
+
:</label>
|
160 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'blocked_words' ); ?>"
|
161 |
+
name="<?php echo $this->get_field_name( 'blocked_words' ); ?>"
|
162 |
+
value="<?php echo $instance['blocked_words']; ?>"/>
|
163 |
+
<span class="wyt-description"><?php _e( 'Enter comma-separated words. If one of them occurs in the image description, the image will not be displayed', 'yft' ); ?></span>
|
164 |
+
</p>
|
165 |
+
<?php $widget_id = preg_replace( '/[^0-9]/', '', $this->id );
|
166 |
+
if ( $widget_id != '' ) : ?>
|
167 |
+
<p>
|
168 |
+
<label for="jr_insta_shortcode"><?php _e( 'Shortcode of this Widget:', 'yft' ); ?></label>
|
169 |
+
<input id="jr_insta_shortcode" onclick="this.setSelectionRange(0, this.value.length)" type="text"
|
170 |
+
class="widefat" value="[cm_youtube_feed id="<?php echo $widget_id ?>"]"
|
171 |
+
readonly="readonly" style="border:none; color:black; font-family:monospace;">
|
172 |
+
<span class="wyt-description"><?php _e( 'Use this shortcode in any page or post to display images with this widget configuration!', 'yft' ) ?></span>
|
173 |
+
</p>
|
174 |
+
<?php endif; ?>
|
175 |
+
</div>
|
components/youtube/includes/Api/Channel/YoutubeChannelId.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Channel;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeChannelId
|
8 |
+
*
|
9 |
+
* @property string $kind
|
10 |
+
* @property string $channelId
|
11 |
+
*
|
12 |
+
* @package YoutubeFeed\Api\Channel
|
13 |
+
*/
|
14 |
+
class YoutubeChannelId
|
15 |
+
{
|
16 |
+
|
17 |
+
}
|
components/youtube/includes/Api/Channel/YoutubeChannelItem.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Channel;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeChannelSearchResponse
|
8 |
+
*
|
9 |
+
* @property string $kind
|
10 |
+
* @property string $etag
|
11 |
+
* @property YoutubeChannelId $id
|
12 |
+
* @property YoutubeChannelSnippet $snippet
|
13 |
+
* @property YoutubeChannelStatistics $statistics
|
14 |
+
*
|
15 |
+
* @package YoutubeFeed\Api\Channel
|
16 |
+
*/
|
17 |
+
class YoutubeChannelItem
|
18 |
+
{
|
19 |
+
|
20 |
+
}
|
components/youtube/includes/Api/Channel/YoutubeChannelResponse.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Channel;
|
5 |
+
|
6 |
+
|
7 |
+
use YoutubeFeed\Api\Video\PageInfoResponse;
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @property string $kind
|
11 |
+
* @property string $etag
|
12 |
+
* @property PageInfoResponse $pageInfo
|
13 |
+
* @property YoutubeChannelItem[] $items
|
14 |
+
*/
|
15 |
+
class YoutubeChannelResponse
|
16 |
+
{
|
17 |
+
|
18 |
+
public function __construct($json)
|
19 |
+
{
|
20 |
+
$data = json_decode($json);
|
21 |
+
|
22 |
+
$this->kind = isset($data->kind) ? $data->kind : '';
|
23 |
+
$this->etag = isset($data->etag) ? $data->etag : '';
|
24 |
+
$this->pageInfo = isset($data->pageInfo) ? $data->pageInfo : null;
|
25 |
+
$this->items = isset($data->items) ? $data->items : null;
|
26 |
+
|
27 |
+
return $this;
|
28 |
+
}
|
29 |
+
|
30 |
+
}
|
components/youtube/includes/Api/Channel/YoutubeChannelSnippet.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Channel;
|
5 |
+
|
6 |
+
use YoutubeFeed\Api\Common\YoutubeThumbnails;
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Class YoutubeChannelSnippet
|
10 |
+
*
|
11 |
+
* @property string $publishedAt
|
12 |
+
* @property string $channelId
|
13 |
+
* @property string $title
|
14 |
+
* @property string $description
|
15 |
+
* @property YoutubeThumbnails $thumbnails
|
16 |
+
* @property string $channelTitle
|
17 |
+
* @property mixed $liveBroadcastContent
|
18 |
+
* @property string $publishTime
|
19 |
+
*
|
20 |
+
*
|
21 |
+
* @package YoutubeFeed\Api\Channel
|
22 |
+
*/
|
23 |
+
class YoutubeChannelSnippet
|
24 |
+
{
|
25 |
+
|
26 |
+
}
|
components/youtube/includes/Api/Channel/YoutubeChannelStatistics.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Channel;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeChannelStatistics
|
8 |
+
*
|
9 |
+
* @property int $viewCount
|
10 |
+
* @property int $subscriberCount
|
11 |
+
* @property bool $hiddenSubscriberCount
|
12 |
+
* @property int $videoCount
|
13 |
+
*
|
14 |
+
* @package YoutubeFeed\Api\Channel
|
15 |
+
*/
|
16 |
+
class YoutubeChannelStatistics
|
17 |
+
{
|
18 |
+
|
19 |
+
}
|
components/youtube/includes/Api/Common/YoutubeThumbnail.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Common;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeThumbnail
|
8 |
+
*
|
9 |
+
* @property string $url
|
10 |
+
* @property int $width
|
11 |
+
* @property int $height
|
12 |
+
*
|
13 |
+
* @package YoutubeFeed\includes\Api
|
14 |
+
*/
|
15 |
+
class YoutubeThumbnail
|
16 |
+
{
|
17 |
+
|
18 |
+
}
|
components/youtube/includes/Api/Common/YoutubeThumbnails.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Common;
|
5 |
+
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Class YoutubeThumbnails
|
9 |
+
*
|
10 |
+
* @property YoutubeThumbnail $default
|
11 |
+
* @property YoutubeThumbnail $medium
|
12 |
+
* @property YoutubeThumbnail $high
|
13 |
+
*
|
14 |
+
* @package YoutubeFeed\includes\Api
|
15 |
+
*/
|
16 |
+
class YoutubeThumbnails
|
17 |
+
{
|
18 |
+
|
19 |
+
}
|
components/youtube/includes/Api/Exceptions/YoutubeException.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace YoutubeFeed\Api\Exceptions;
|
4 |
+
|
5 |
+
class YoutubeException extends \Exception
|
6 |
+
{
|
7 |
+
|
8 |
+
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
9 |
+
{
|
10 |
+
parent::__construct($message, $code, $previous);
|
11 |
+
}
|
12 |
+
|
13 |
+
}
|
components/youtube/includes/Api/Video/PageInfoResponse.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Video;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class PageInfoResponse
|
8 |
+
*
|
9 |
+
* @property int $totalResults
|
10 |
+
* @property int $resultsPerPage
|
11 |
+
*
|
12 |
+
* @package YoutubeFeed\includes\Api
|
13 |
+
*/
|
14 |
+
class PageInfoResponse
|
15 |
+
{
|
16 |
+
|
17 |
+
}
|
components/youtube/includes/Api/Video/YoutubeComment.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Video;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoubuteComment
|
8 |
+
*
|
9 |
+
* @property string $videoId
|
10 |
+
* @property string $textDisplay
|
11 |
+
* @property string $textOriginal
|
12 |
+
* @property string $authorDisplayName
|
13 |
+
* @property string $authorProfileImageUrl
|
14 |
+
* @property string $authorChannelUrl
|
15 |
+
* @property bool $canRate
|
16 |
+
* @property string $viewerRating
|
17 |
+
* @property int $likeCount
|
18 |
+
* @property string $publishedAt
|
19 |
+
* @property string $updatedAt
|
20 |
+
*
|
21 |
+
* @package YoutubeFeed\Api\Video
|
22 |
+
*/
|
23 |
+
class YoutubeComment
|
24 |
+
{
|
25 |
+
public function __construct($item)
|
26 |
+
{
|
27 |
+
$this->videoId = $item->snippet->topLevelComment->snippet->videoId;
|
28 |
+
$this->textDisplay = $item->snippet->topLevelComment->snippet->textDisplay;
|
29 |
+
$this->textOriginal = $item->snippet->topLevelComment->snippet->textOriginal;
|
30 |
+
$this->authorDisplayName = $item->snippet->topLevelComment->snippet->authorDisplayName;
|
31 |
+
$this->authorProfileImageUrl = $item->snippet->topLevelComment->snippet->authorProfileImageUrl;
|
32 |
+
$this->authorChannelUrl = $item->snippet->topLevelComment->snippet->authorChannelUrl;
|
33 |
+
$this->canRate = $item->snippet->topLevelComment->snippet->canRate;
|
34 |
+
$this->viewerRating = $item->snippet->topLevelComment->snippet->viewerRating;
|
35 |
+
$this->likeCount = $item->snippet->topLevelComment->snippet->likeCount;
|
36 |
+
$this->publishedAt = $item->snippet->topLevelComment->snippet->publishedAt;
|
37 |
+
$this->updatedAt = $item->snippet->topLevelComment->snippet->updatedAt;
|
38 |
+
|
39 |
+
return $this;
|
40 |
+
}
|
41 |
+
|
42 |
+
}
|
components/youtube/includes/Api/Video/YoutubeVideo.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Video;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeVideo
|
8 |
+
*
|
9 |
+
* @property string $kind
|
10 |
+
* @property string $etag
|
11 |
+
* @property YoutubeVideoId $id
|
12 |
+
* @property YoutubeVideoSnippet $snippet
|
13 |
+
* @property YoutubeVideoStatistics $statistics
|
14 |
+
* @property YoutubeComment[] $comments
|
15 |
+
*
|
16 |
+
* @package YoutubeFeed\includes\Api
|
17 |
+
*/
|
18 |
+
class YoutubeVideo
|
19 |
+
{
|
20 |
+
|
21 |
+
}
|
components/youtube/includes/Api/Video/YoutubeVideoId.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Video;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeVideoId
|
8 |
+
*
|
9 |
+
* @property string $kind
|
10 |
+
* @property string $videoId
|
11 |
+
*
|
12 |
+
* @package YoutubeFeed\includes\Api
|
13 |
+
*/
|
14 |
+
class YoutubeVideoId
|
15 |
+
{
|
16 |
+
|
17 |
+
}
|
components/youtube/includes/Api/Video/YoutubeVideoSnippet.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Video;
|
5 |
+
|
6 |
+
use YoutubeFeed\Api\Common\YoutubeThumbnails;
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Class YoutubeVideoSnippet
|
10 |
+
*
|
11 |
+
* @property string $publishedAt
|
12 |
+
* @property string $channelId
|
13 |
+
* @property string $title
|
14 |
+
* @property string $description
|
15 |
+
* @property YoutubeThumbnails $thumbnails
|
16 |
+
* @property string $channelTitle
|
17 |
+
* @property string $liveBroadcastContent
|
18 |
+
* @property string $publicTime
|
19 |
+
*
|
20 |
+
* @package YoutubeFeed\includes\Api
|
21 |
+
*/
|
22 |
+
class YoutubeVideoSnippet
|
23 |
+
{
|
24 |
+
|
25 |
+
}
|
components/youtube/includes/Api/Video/YoutubeVideoStatistics.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Video;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeVideoStatistics
|
8 |
+
*
|
9 |
+
* @property int $viewCount
|
10 |
+
* @property int $likeCount
|
11 |
+
* @property int $dislikeCount
|
12 |
+
* @property int $favoriteCount
|
13 |
+
* @property int $commentCount
|
14 |
+
*
|
15 |
+
* @package YoutubeFeed\Api\Video
|
16 |
+
*/
|
17 |
+
class YoutubeVideoStatistics
|
18 |
+
{
|
19 |
+
|
20 |
+
}
|
components/youtube/includes/Api/Video/YoutubeVideosResponse.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace YoutubeFeed\Api\Video;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Class YoutubeVideosResponse
|
8 |
+
*
|
9 |
+
* @property string $kind
|
10 |
+
* @property string $etag
|
11 |
+
* @property PageInfoResponse $pageInfo
|
12 |
+
* @property YoutubeVideo[] $items
|
13 |
+
*
|
14 |
+
* @package YoutubeFeed\includes\Api
|
15 |
+
*/
|
16 |
+
class YoutubeVideosResponse
|
17 |
+
{
|
18 |
+
|
19 |
+
/**
|
20 |
+
* YoutubeVideosResponse constructor.
|
21 |
+
*
|
22 |
+
* @param $json
|
23 |
+
*/
|
24 |
+
public function __construct($json)
|
25 |
+
{
|
26 |
+
$data = json_decode($json);
|
27 |
+
|
28 |
+
$this->kind = $data->kind;
|
29 |
+
$this->etag = $data->etag;
|
30 |
+
$this->pageInfo = $data->pageInfo;
|
31 |
+
$this->items = $data->items;
|
32 |
+
|
33 |
+
return $this;
|
34 |
+
}
|
35 |
+
|
36 |
+
}
|
components/youtube/includes/Api/YoutubeApi.php
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace YoutubeFeed\Api;
|
4 |
+
|
5 |
+
|
6 |
+
use Instagram\Includes\WIS_Plugin;
|
7 |
+
use YoutubeFeed\Api\Channel\YoutubeChannelResponse;
|
8 |
+
use YoutubeFeed\Api\Exceptions\YoutubeException;
|
9 |
+
use YoutubeFeed\Api\Video\YoutubeComment;
|
10 |
+
use YoutubeFeed\Api\Video\YoutubeVideosResponse;
|
11 |
+
|
12 |
+
class YoutubeApi
|
13 |
+
{
|
14 |
+
public $apiKey;
|
15 |
+
|
16 |
+
public function __construct()
|
17 |
+
{
|
18 |
+
$this->apiKey = WIS_Plugin::app()->getOption( WYT_API_KEY_OPTION_NAME, '');
|
19 |
+
}
|
20 |
+
|
21 |
+
const basePath = "https://www.googleapis.com/youtube/v3";
|
22 |
+
const searchPath = self::basePath . "/search?";
|
23 |
+
const videosPath = self::basePath . "/videos?";
|
24 |
+
const searchChannelPath = self::basePath . "/channels?";
|
25 |
+
const commentsPath = self::basePath . "/commentThreads?";
|
26 |
+
|
27 |
+
const orderByUnspec = 'searchSortUnspecified';
|
28 |
+
const orderByDate = 'date';
|
29 |
+
const orderByRating = 'rating';
|
30 |
+
const orderByViewCount = 'viewCount';
|
31 |
+
const orderByRelevance = 'relevance';
|
32 |
+
const orderByTitle = 'title';
|
33 |
+
const orderByVideoCount = 'videoCount';
|
34 |
+
|
35 |
+
|
36 |
+
/**
|
37 |
+
* @param string $channelId [identifier of channel]
|
38 |
+
* @param int $maxItems [items in result]
|
39 |
+
* @param string $orderBy [how will be ordered]
|
40 |
+
*
|
41 |
+
* @return false|YoutubeVideosResponse
|
42 |
+
*/
|
43 |
+
public function getVideos($channelId, $maxItems, $orderBy = self::orderByRelevance)
|
44 |
+
{
|
45 |
+
$path = self::searchPath . http_build_query([
|
46 |
+
'key' => $this->apiKey,
|
47 |
+
'channelId' => $channelId,
|
48 |
+
'part' => 'id',
|
49 |
+
'type' => 'video',
|
50 |
+
'order' => $orderBy,
|
51 |
+
'maxResults' => $maxItems,
|
52 |
+
]);
|
53 |
+
|
54 |
+
if(!($json = $this->makeRequest($path))){
|
55 |
+
return false;
|
56 |
+
}
|
57 |
+
|
58 |
+
return new YoutubeVideosResponse($json);
|
59 |
+
}
|
60 |
+
|
61 |
+
/**
|
62 |
+
* @param array $videosIds
|
63 |
+
*
|
64 |
+
* @return false|\YoutubeFeed\Api\Video\YoutubeVideosResponse
|
65 |
+
*/
|
66 |
+
public function getVideosData($videosIds){
|
67 |
+
$path = self::videosPath . http_build_query([
|
68 |
+
'key' => $this->apiKey,
|
69 |
+
'id' => implode(',', $videosIds),
|
70 |
+
'part' => 'snippet,statistics',
|
71 |
+
'type' => 'video',
|
72 |
+
]);
|
73 |
+
|
74 |
+
if(!($json = $this->makeRequest($path))){
|
75 |
+
return false;
|
76 |
+
}
|
77 |
+
|
78 |
+
return new YoutubeVideosResponse($json);
|
79 |
+
}
|
80 |
+
|
81 |
+
|
82 |
+
/**
|
83 |
+
* @param string $name
|
84 |
+
* @param int $maxResults
|
85 |
+
* @param string $orderBy
|
86 |
+
* @return false|YoutubeChannelResponse
|
87 |
+
*/
|
88 |
+
public function findUserByName($name, $maxResults = 20 ,$orderBy = self::orderByRelevance)
|
89 |
+
{
|
90 |
+
$path = self::searchPath . http_build_query([
|
91 |
+
'key' => $this->apiKey,
|
92 |
+
'q' => $name,
|
93 |
+
'part' => 'id,snippet',
|
94 |
+
'type' => 'channel',
|
95 |
+
'maxResults' => $maxResults,
|
96 |
+
'order' => $orderBy,
|
97 |
+
]);
|
98 |
+
if(!($json = $this->makeRequest($path))){
|
99 |
+
return false;
|
100 |
+
}
|
101 |
+
return new YoutubeChannelResponse($json);
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* @param $id
|
106 |
+
* @return false|YoutubeChannelResponse
|
107 |
+
*/
|
108 |
+
public function getUserById($id) {
|
109 |
+
$path = self::searchChannelPath . http_build_query([
|
110 |
+
'key' => $this->apiKey,
|
111 |
+
'part' => 'id,snippet,statistics',
|
112 |
+
'id' => $id
|
113 |
+
]);
|
114 |
+
|
115 |
+
if(!($json = $this->makeRequest($path))){
|
116 |
+
return false;
|
117 |
+
}
|
118 |
+
|
119 |
+
return new YoutubeChannelResponse($json);
|
120 |
+
}
|
121 |
+
|
122 |
+
public function getCommentsByVideoId($videoId) {
|
123 |
+
$path = self::commentsPath . http_build_query([
|
124 |
+
'key' => $this->apiKey,
|
125 |
+
'part' => 'snippet',
|
126 |
+
'videoId' => $videoId,
|
127 |
+
'order' => self::orderByRelevance,
|
128 |
+
'maxResults' => 5
|
129 |
+
]);
|
130 |
+
|
131 |
+
if(!($json = $this->makeRequest($path))){
|
132 |
+
return false;
|
133 |
+
}
|
134 |
+
|
135 |
+
$data = json_decode($json);
|
136 |
+
|
137 |
+
$comments = [];
|
138 |
+
foreach ($data->items as $item) {
|
139 |
+
$comments[] = new YoutubeComment($item);
|
140 |
+
}
|
141 |
+
|
142 |
+
return $comments;
|
143 |
+
}
|
144 |
+
|
145 |
+
/**
|
146 |
+
* @param $path
|
147 |
+
*
|
148 |
+
* @return bool|mixed
|
149 |
+
*/
|
150 |
+
private function makeRequest($path)
|
151 |
+
{
|
152 |
+
$response = wp_remote_get($path);
|
153 |
+
if(is_wp_error($response) || wp_remote_retrieve_response_code($response) !== 200){
|
154 |
+
error_log($response['body']);
|
155 |
+
throw new YoutubeException($response['body']);
|
156 |
+
} else{
|
157 |
+
return $response['body'];
|
158 |
+
}
|
159 |
+
}
|
160 |
+
|
161 |
+
public function setApiKey( $key ) {
|
162 |
+
if($key){
|
163 |
+
$this->apiKey = $key;
|
164 |
+
}
|
165 |
+
}
|
166 |
+
}
|
components/youtube/includes/Api/load.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
require_once ( dirname( __FILE__ ) . '/Common/YoutubeThumbnail.php');
|
3 |
+
require_once ( dirname( __FILE__ ) . '/Common/YoutubeThumbnails.php');
|
4 |
+
|
5 |
+
require_once ( dirname( __FILE__ ) . '/Channel/YoutubeChannelId.php');
|
6 |
+
require_once ( dirname( __FILE__ ) . '/Channel/YoutubeChannelItem.php');
|
7 |
+
require_once ( dirname( __FILE__ ) . '/Channel/YoutubeChannelResponse.php');
|
8 |
+
require_once ( dirname( __FILE__ ) . '/Channel/YoutubeChannelSnippet.php');
|
9 |
+
|
10 |
+
require_once ( dirname( __FILE__ ) . '/Video/PageInfoResponse.php');
|
11 |
+
require_once ( dirname( __FILE__ ) . '/Video/YoutubeVideo.php');
|
12 |
+
require_once ( dirname( __FILE__ ) . '/Video/YoutubeVideoId.php');
|
13 |
+
require_once ( dirname( __FILE__ ) . '/Video/YoutubeVideoSnippet.php');
|
14 |
+
require_once ( dirname( __FILE__ ) . '/Video/YoutubeComment.php');
|
15 |
+
require_once ( dirname( __FILE__ ) . '/Video/YoutubeVideosResponse.php');
|
16 |
+
|
17 |
+
require_once ( dirname( __FILE__ ) . '/Exceptions/YoutubeException.php');
|
18 |
+
|
19 |
+
require_once ( dirname( __FILE__ ) . '/YoutubeApi.php');
|
20 |
+
|
21 |
+
|
22 |
+
|
components/youtube/includes/class-youtube-widget.php
ADDED
@@ -0,0 +1,591 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
use Instagram\Includes\WIS_Plugin;
|
4 |
+
use YoutubeFeed\Api\YoutubeApi;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Youtube widget Class
|
8 |
+
*/
|
9 |
+
class WYT_Widget extends WP_Widget {
|
10 |
+
|
11 |
+
private static $app;
|
12 |
+
|
13 |
+
/**
|
14 |
+
* @var WIS_Plugin
|
15 |
+
*/
|
16 |
+
public $plugin;
|
17 |
+
|
18 |
+
/**
|
19 |
+
* @var array
|
20 |
+
*/
|
21 |
+
public $sliders;
|
22 |
+
|
23 |
+
/**
|
24 |
+
* @var array
|
25 |
+
*/
|
26 |
+
public $options_linkto;
|
27 |
+
|
28 |
+
/**
|
29 |
+
* @var array
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
public $defaults;
|
33 |
+
|
34 |
+
/**
|
35 |
+
* @var YoutubeApi
|
36 |
+
*/
|
37 |
+
public $api;
|
38 |
+
|
39 |
+
public static function app() {
|
40 |
+
return self::$app;
|
41 |
+
}
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Initialize the plugin by registering widget and loading public scripts
|
45 |
+
*
|
46 |
+
*/
|
47 |
+
public function __construct() {
|
48 |
+
self::$app = $this;
|
49 |
+
|
50 |
+
// Widget ID and Class Setup
|
51 |
+
parent::__construct( 'wyoutube_feed', __( 'Social Slider - Youtube', 'youtube-feed' ), array(
|
52 |
+
'classname' => 'wyoutube-feed',
|
53 |
+
'description' => __( 'A widget that displays a Youtube videos ', 'youtube-feed' )
|
54 |
+
) );
|
55 |
+
|
56 |
+
$this->plugin = WIS_Plugin::app();
|
57 |
+
$this->sliders = array(
|
58 |
+
"default" => 'Default'
|
59 |
+
);
|
60 |
+
$this->options_linkto = array(
|
61 |
+
"none" => 'None',
|
62 |
+
"yt_link" => 'Youtube link',
|
63 |
+
);
|
64 |
+
|
65 |
+
$this->defaults = array(
|
66 |
+
'title' => __( 'Youtube Feed', 'yft' ),
|
67 |
+
'search' => '',
|
68 |
+
'blocked_users' => '',
|
69 |
+
'blocked_words' => '',
|
70 |
+
'template' => 'slider',
|
71 |
+
'yimages_link' => 'post_page',
|
72 |
+
'custom_url' => '',
|
73 |
+
'request_by' => YoutubeApi::orderByRelevance,
|
74 |
+
'orderby' => 'rand',
|
75 |
+
'images_number' => 20,
|
76 |
+
'columns' => 2,
|
77 |
+
'refresh_hour' => 5,
|
78 |
+
);
|
79 |
+
|
80 |
+
$this->api = new YoutubeApi();
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Фильтр для добавления слайдеров
|
84 |
+
*/
|
85 |
+
$this->sliders = apply_filters( 'wyt/sliders', $this->sliders );
|
86 |
+
|
87 |
+
/**
|
88 |
+
* Фильтр для добавления popup
|
89 |
+
*/
|
90 |
+
$this->options_linkto = apply_filters( 'wyt/options/link_to', $this->options_linkto );
|
91 |
+
|
92 |
+
|
93 |
+
// Enqueue Plugin Styles and scripts
|
94 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'public_enqueue' ) );
|
95 |
+
|
96 |
+
// Enqueue Plugin Styles and scripts for admin pages
|
97 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue' ) );
|
98 |
+
|
99 |
+
// Shortcode
|
100 |
+
add_shortcode( 'cm_youtube_feed', array( $this, 'shortcode' ) );
|
101 |
+
// Action to display posts
|
102 |
+
add_action( 'wyoutube_feed', array( $this, 'display_posts' ) );
|
103 |
+
|
104 |
+
//AJAX
|
105 |
+
add_action( 'wp_ajax_wyt_add_account_by_token', array( $this, 'add_account_by_token' ) );
|
106 |
+
|
107 |
+
}
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Register widget on widgets init
|
111 |
+
*/
|
112 |
+
public static function register_widget() {
|
113 |
+
register_widget( __CLASS__ );
|
114 |
+
register_sidebar( array(
|
115 |
+
'name' => __( 'Youtube Feed - Shortcode Generator', 'yft' ),
|
116 |
+
'id' => 'wyoutube-shortcodes',
|
117 |
+
'description' => __( "1. Drag Youtube Feed Widget here. 2. Fill in the fields and hit save. 3. Copy the shortocde generated at the bottom of the widget form and use it on posts or pages.", 'yft' )
|
118 |
+
) );
|
119 |
+
}
|
120 |
+
|
121 |
+
/**
|
122 |
+
* Enqueue public-facing Scripts and style sheet.
|
123 |
+
*/
|
124 |
+
public function public_enqueue() {
|
125 |
+
|
126 |
+
wp_enqueue_style( WIS_Plugin::app()->getPrefix() . 'wyt-font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
|
127 |
+
|
128 |
+
wp_enqueue_style( WIS_Plugin::app()->getPrefix() . 'wyt-instag-slider', WYT_PLUGIN_URL . '/assets/css/templates.css', array(), WIS_Plugin::app()->getPluginVersion() );
|
129 |
+
wp_enqueue_script( WIS_Plugin::app()->getPrefix() . 'wyt-jquery-pllexi-slider', WYT_PLUGIN_URL . '/assets/js/jquery.flexslider-min.js', array( 'jquery' ), WIS_Plugin::app()->getPluginVersion(), false );
|
130 |
+
//wp_enqueue_script( WIS_Plugin::app()->getPrefix() . 'wyoutube', WYT_PLUGIN_URL.'/assets/js/wyoutube.js', array( ), WIS_Plugin::app()->getPluginVersion(), false );
|
131 |
+
wp_enqueue_style( WIS_Plugin::app()->getPrefix() . 'wyt-header', WYT_PLUGIN_URL . '/assets/css/wyt-header.css', array(), WIS_Plugin::app()->getPluginVersion() );
|
132 |
+
wp_localize_script( WIS_Plugin::app()->getPrefix() . 'wyoutube', 'ajax', array(
|
133 |
+
'url' => admin_url( 'admin-ajax.php' ),
|
134 |
+
'nonce' => wp_create_nonce( "addAccountByToken" ),
|
135 |
+
) );
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Enqueue admin side scripts and styles
|
140 |
+
*
|
141 |
+
* @param string $hook
|
142 |
+
*/
|
143 |
+
public function admin_enqueue( $hook ) {
|
144 |
+
|
145 |
+
|
146 |
+
if ( 'widgets.php' != $hook && 'post.php' != $hook ) {
|
147 |
+
return;
|
148 |
+
}
|
149 |
+
wp_enqueue_style( 'wyoutube-admin-styles', WYT_PLUGIN_URL . '/admin/assets/css/wyoutube-admin.css', array(), WIS_Plugin::app()->getPluginVersion() );
|
150 |
+
wp_enqueue_script( 'wyoutube-admin-script', WYT_PLUGIN_URL . '/admin/assets/js/wyoutube-admin.js', array( 'jquery' ), WIS_Plugin::app()->getPluginVersion(), true );
|
151 |
+
|
152 |
+
}
|
153 |
+
|
154 |
+
/**
|
155 |
+
* The Public view of the Widget
|
156 |
+
*
|
157 |
+
*/
|
158 |
+
public function widget( $args, $instance ) {
|
159 |
+
|
160 |
+
//Our variables from the widget settings.
|
161 |
+
$title = apply_filters( 'widget_title', $instance['title'] );
|
162 |
+
|
163 |
+
echo $args['before_widget'];
|
164 |
+
|
165 |
+
// Display the widget title
|
166 |
+
if ( $title ) {
|
167 |
+
echo $args['before_title'] . $title . $args['after_title'];
|
168 |
+
}
|
169 |
+
|
170 |
+
do_action( 'wyoutube_feed', $instance );
|
171 |
+
|
172 |
+
echo $args['after_widget'];
|
173 |
+
}
|
174 |
+
|
175 |
+
/**
|
176 |
+
* Widget Settings Form
|
177 |
+
*
|
178 |
+
*/
|
179 |
+
public function form( $instance ) {
|
180 |
+
|
181 |
+
/* @var $accounts \YoutubeFeed\Api\Channel\YoutubeChannelItem[] */
|
182 |
+
$accounts = WIS_Plugin::app()->getPopulateOption( WYT_ACCOUNT_OPTION_NAME, array() );
|
183 |
+
|
184 |
+
if ( ! is_array( $accounts ) ) {
|
185 |
+
$accounts = array();
|
186 |
+
}
|
187 |
+
$sliders = $this->sliders;
|
188 |
+
$options_linkto = $this->options_linkto;
|
189 |
+
|
190 |
+
$instance = wp_parse_args( (array) $instance, $this->defaults );
|
191 |
+
|
192 |
+
echo $this->render_layout_template('widget_settings', [
|
193 |
+
'this' => $this,
|
194 |
+
'accounts' => $accounts,
|
195 |
+
'sliders' => $sliders,
|
196 |
+
'options_linkto' => $options_linkto,
|
197 |
+
'instance' => $instance
|
198 |
+
]);
|
199 |
+
}
|
200 |
+
|
201 |
+
/**
|
202 |
+
* Update the widget settings
|
203 |
+
*
|
204 |
+
* @param array $new_instance New instance values
|
205 |
+
* @param array $instance Old instance values
|
206 |
+
*
|
207 |
+
* @return array
|
208 |
+
*/
|
209 |
+
public function update( $new_instance, $instance ) {
|
210 |
+
foreach ( $new_instance as $key => $item ) {
|
211 |
+
$new_instance[ $key ] = isset( $new_instance[ $key ] ) ? $new_instance[ $key ] : $this->defaults[ $key ];
|
212 |
+
if ( $key == 'title' ) {
|
213 |
+
$new_instance[ $key ] = strip_tags( $new_instance[ $key ] );
|
214 |
+
}
|
215 |
+
$new_instance['widget_id'] = preg_replace( '/[^0-9]/', '', $this->id );
|
216 |
+
}
|
217 |
+
|
218 |
+
return $new_instance;
|
219 |
+
}
|
220 |
+
|
221 |
+
/**
|
222 |
+
* Update the widget settings
|
223 |
+
*
|
224 |
+
* @param array $instance instance values
|
225 |
+
*
|
226 |
+
* @return array
|
227 |
+
*/
|
228 |
+
public function defaults( $instance ) {
|
229 |
+
$new_instance = [];
|
230 |
+
foreach ( $instance as $key => $item ) {
|
231 |
+
switch ( $key ) {
|
232 |
+
case 'search':
|
233 |
+
case 'blocked_users':
|
234 |
+
case 'blocked_words':
|
235 |
+
$new_instance[ $key ] = ! empty( $instance[ $key ] ) ? $instance[ $key ] : $this->defaults[ $key ];
|
236 |
+
break;
|
237 |
+
case 'images_number':
|
238 |
+
case 'columns':
|
239 |
+
case 'refresh_hour':
|
240 |
+
$new_instance[ $key ] = absint( $instance[ $key ] );
|
241 |
+
break;
|
242 |
+
default:
|
243 |
+
$new_instance[ $key ] = $instance[ $key ];
|
244 |
+
break;
|
245 |
+
}
|
246 |
+
}
|
247 |
+
|
248 |
+
$new_instance = wp_parse_args( (array) $new_instance, $this->defaults );
|
249 |
+
|
250 |
+
return $new_instance;
|
251 |
+
}
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Selected array function echoes selected if in array
|
255 |
+
*
|
256 |
+
* @param array $haystack The array to search in
|
257 |
+
* @param string $current The string value to search in array;
|
258 |
+
*
|
259 |
+
*/
|
260 |
+
public function selected( $haystack, $current ) {
|
261 |
+
|
262 |
+
if ( is_array( $haystack ) && in_array( $current, $haystack ) ) {
|
263 |
+
selected( 1, 1, true );
|
264 |
+
}
|
265 |
+
}
|
266 |
+
|
267 |
+
|
268 |
+
/**
|
269 |
+
* Add shortcode function
|
270 |
+
*
|
271 |
+
* @param array $atts shortcode attributes
|
272 |
+
*
|
273 |
+
* @return mixed
|
274 |
+
*/
|
275 |
+
public function shortcode( $atts ) {
|
276 |
+
$atts = shortcode_atts( array( 'id' => '' ), $atts, 'cm_youtube_feed' );
|
277 |
+
$args = get_option( 'widget_wyoutube_feed' );
|
278 |
+
if ( isset( $args[ $atts['id'] ] ) ) {
|
279 |
+
$args[ $atts['id'] ]['widget_id'] = $atts['id'];
|
280 |
+
|
281 |
+
return $this->display( $args[ $atts['id'] ] );
|
282 |
+
}
|
283 |
+
|
284 |
+
return "";
|
285 |
+
}
|
286 |
+
|
287 |
+
/**
|
288 |
+
* Echoes the Display Instagram Images method
|
289 |
+
*
|
290 |
+
* @param array $args
|
291 |
+
*
|
292 |
+
* @return void
|
293 |
+
*/
|
294 |
+
public function display_posts( $args ) {
|
295 |
+
echo $this->display( $args );
|
296 |
+
}
|
297 |
+
|
298 |
+
/**
|
299 |
+
* Runs the query for images and returns the html
|
300 |
+
*
|
301 |
+
* @param array $args
|
302 |
+
*
|
303 |
+
* @return string
|
304 |
+
*/
|
305 |
+
private function display( $args ) {
|
306 |
+
|
307 |
+
$args = $this->defaults( $args );
|
308 |
+
|
309 |
+
if ( ! empty( $args['description'] ) && ! is_array( $args['description'] ) ) {
|
310 |
+
$args['description'] = explode( ',', $args['description'] );
|
311 |
+
}
|
312 |
+
|
313 |
+
if ( $args['refresh_hour'] == 0 ) {
|
314 |
+
$args['refresh_hour'] = 5;
|
315 |
+
}
|
316 |
+
|
317 |
+
if ( $args['search'] ) {
|
318 |
+
$account_data = WIS_Plugin::app()->get_youtube_feeds( $args['search'] );
|
319 |
+
/**
|
320 |
+
* @var $account_data \YoutubeFeed\Api\Channel\YoutubeChannelItem
|
321 |
+
*/
|
322 |
+
$account_data = $account_data[$args['search']];
|
323 |
+
$args['account'] = $account_data;
|
324 |
+
$template_args = $args;
|
325 |
+
|
326 |
+
$images_data = $this->get_data( $args );
|
327 |
+
|
328 |
+
if ( is_array( $images_data ) && ! empty( $images_data ) ) {
|
329 |
+
if ( isset( $images_data['error'] ) ) {
|
330 |
+
return $images_data['error'];
|
331 |
+
}
|
332 |
+
|
333 |
+
if ( $args['orderby'] != 'rand' ) {
|
334 |
+
$args['orderby'] = explode( '-', $args['orderby'] );
|
335 |
+
if ( $args['orderby'][0] == 'date' ) {
|
336 |
+
$func = 'sort_timestamp_' . $args['orderby'][1];
|
337 |
+
} else {
|
338 |
+
$func = 'sort_popularity_' . $args['orderby'][1];
|
339 |
+
}
|
340 |
+
usort( $images_data, array( $this, $func ) );
|
341 |
+
} else {
|
342 |
+
shuffle( $images_data );
|
343 |
+
}
|
344 |
+
|
345 |
+
/* @var $images_data \YoutubeFeed\Api\Video\YoutubeVideo[] */
|
346 |
+
foreach ( $images_data as $image_data )
|
347 |
+
$template_args['posts'][] = $image_data;
|
348 |
+
|
349 |
+
|
350 |
+
$return = "";
|
351 |
+
|
352 |
+
if ( $args['show_feed_header'] ) {
|
353 |
+
$return .= $this->render_layout_template( 'feed_header_template', [
|
354 |
+
'account' => $account_data
|
355 |
+
]);
|
356 |
+
}
|
357 |
+
|
358 |
+
if($args['yimages_link'] == 'ypopup' && $this->plugin->is_premium()){
|
359 |
+
$return .= apply_filters( 'wyt/pro/display', $args, $images_data );
|
360 |
+
}
|
361 |
+
|
362 |
+
$return .= $this->render_layout_template( $args['template'], $template_args );
|
363 |
+
|
364 |
+
return $return;
|
365 |
+
} else {
|
366 |
+
return __( 'No videos found', 'youtube-feed' );
|
367 |
+
}
|
368 |
+
}
|
369 |
+
|
370 |
+
|
371 |
+
|
372 |
+
return " ";
|
373 |
+
}
|
374 |
+
|
375 |
+
/**
|
376 |
+
* Method renders layout template
|
377 |
+
*
|
378 |
+
* @param string $template_name Template name without ".php"
|
379 |
+
*
|
380 |
+
* @param array $args Template arguments
|
381 |
+
*
|
382 |
+
* @return false|string
|
383 |
+
*/
|
384 |
+
private function render_layout_template( $template_name, $args ) {
|
385 |
+
$path = WYT_PLUGIN_DIR . "/html_templates/$template_name.php";
|
386 |
+
if ( file_exists( $path ) ) {
|
387 |
+
ob_start();
|
388 |
+
include $path;
|
389 |
+
|
390 |
+
return ob_get_clean();
|
391 |
+
} else {
|
392 |
+
return 'This template does not exist!';
|
393 |
+
}
|
394 |
+
}
|
395 |
+
|
396 |
+
|
397 |
+
|
398 |
+
/**
|
399 |
+
* @param $response \YoutubeFeed\Api\Video\YoutubeVideosResponse
|
400 |
+
* @param $blocked_words string
|
401 |
+
*/
|
402 |
+
private function filter_response_by_words(&$response, $blocked_words = ''){
|
403 |
+
if(empty($blocked_words))
|
404 |
+
return;
|
405 |
+
else
|
406 |
+
$blocked_words = explode(',', $blocked_words);
|
407 |
+
foreach ($response->items as $key => $video){
|
408 |
+
foreach ($blocked_words as $blocked_word){
|
409 |
+
$title = $video->snippet->title;
|
410 |
+
if(stripos($title, $blocked_word))
|
411 |
+
unset($response->items[$key]);
|
412 |
+
}
|
413 |
+
}
|
414 |
+
}
|
415 |
+
|
416 |
+
/**
|
417 |
+
* Trigger refresh for new data
|
418 |
+
*
|
419 |
+
* @param bool $instaData
|
420 |
+
* @param array $old_args
|
421 |
+
* @param array $new_args
|
422 |
+
*
|
423 |
+
* @return bool
|
424 |
+
*/
|
425 |
+
private function trigger_refresh_data( $instaData, $old_args, $new_args ) {
|
426 |
+
|
427 |
+
$trigger = 0;
|
428 |
+
|
429 |
+
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
430 |
+
return false;
|
431 |
+
}
|
432 |
+
|
433 |
+
if ( false === $instaData ) {
|
434 |
+
$trigger = 1;
|
435 |
+
}
|
436 |
+
|
437 |
+
|
438 |
+
if ( isset( $old_args['saved_images'] ) ) {
|
439 |
+
unset( $old_args['saved_images'] );
|
440 |
+
}
|
441 |
+
|
442 |
+
if ( isset( $old_args['deleted_images'] ) ) {
|
443 |
+
unset( $old_args['deleted_images'] );
|
444 |
+
}
|
445 |
+
|
446 |
+
if ( is_array( $old_args ) && is_array( $new_args ) && array_diff( $old_args, $new_args ) !== array_diff( $new_args, $old_args ) ) {
|
447 |
+
$trigger = 1;
|
448 |
+
}
|
449 |
+
|
450 |
+
if ( $trigger == 1 ) {
|
451 |
+
return true;
|
452 |
+
}
|
453 |
+
|
454 |
+
return false;
|
455 |
+
}
|
456 |
+
|
457 |
+
/**
|
458 |
+
* Stores the fetched data from instagram in WordPress DB using transients
|
459 |
+
*
|
460 |
+
* @param array $search Array of widget settings
|
461 |
+
*
|
462 |
+
* @return array|string data
|
463 |
+
* @throws \Exception
|
464 |
+
*/
|
465 |
+
public function get_data( $search ) {
|
466 |
+
$cache_hours = $search['refresh_hour'];
|
467 |
+
$images_number = $search['images_number'];
|
468 |
+
$search_type = 'channel';
|
469 |
+
$search_name = $search['account']->snippet->title;
|
470 |
+
|
471 |
+
$blocked_users = isset( $search['blocked_users'] ) ? $search['blocked_users'] : '';
|
472 |
+
$blocked_words = isset( $search['blocked_words'] ) ? $search['blocked_words'] : '';
|
473 |
+
|
474 |
+
if ( ! isset( $search ) || empty( $search ) ) {
|
475 |
+
return __( 'Nothing to search for', 'yft' );
|
476 |
+
}
|
477 |
+
|
478 |
+
|
479 |
+
$opt_name = "wyoutube_{$search_type}-{$search_name}";
|
480 |
+
$resultData = get_transient( $opt_name );
|
481 |
+
$old_opts = get_option( $opt_name, [] );
|
482 |
+
$new_opts = array(
|
483 |
+
'search' => $search_name,
|
484 |
+
'blocked_users' => $blocked_users,
|
485 |
+
'blocked_words' => $blocked_words,
|
486 |
+
'cache_hours' => $cache_hours,
|
487 |
+
'images_number' => $images_number,
|
488 |
+
);
|
489 |
+
|
490 |
+
if ( $this->trigger_refresh_data( $resultData, $old_opts, $new_opts ) || ( defined( 'WYT_ENABLE_CACHING' ) && ! WYT_ENABLE_CACHING ) ) {
|
491 |
+
//if ( true ) {
|
492 |
+
|
493 |
+
$resultData = array();
|
494 |
+
$old_opts['search'] = $search_name;
|
495 |
+
$old_opts['blocked_users'] = $blocked_users;
|
496 |
+
$old_opts['blocked_words'] = $blocked_words;
|
497 |
+
$old_opts['cache_hours'] = $cache_hours;
|
498 |
+
$old_opts['images_number'] = $images_number;
|
499 |
+
|
500 |
+
$images_number = ! $this->plugin->is_premium() && $images_number > 20 ? 20 : $images_number;
|
501 |
+
|
502 |
+
$response = $this->api->getVideos( $search['search'], $images_number, $search['request_by'] );
|
503 |
+
//$response = new \YoutubeFeed\Api\Video\YoutubeVideosResponse('{"kind":"youtube#searchListResponse","etag":"hXs_uL18ouAw3nGoc9-If1nP4fA","nextPageToken":"CAUQAA","regionCode":"RU","pageInfo":{"totalResults":102,"resultsPerPage":5},"items":[{"kind":"youtube#searchResult","etag":"TOnHNzr7OAV_KWMqm_GSriLU5NI","id":{"kind":"youtube#video","videoId":"S93c2zix5L4"},"snippet":{"publishedAt":"2019-08-28T08:54:23Z","channelId":"UCDLBW2M4KsUF7A7aHT8mxHw","title":"\u00ab\u0416\u0438\u0432\u043e\u0435\u00bb. \u041e\u0431\u0437\u043e\u0440 \u00ab\u041a\u0440\u0430\u0441\u043d\u043e\u0433\u043e \u0426\u0438\u043d\u0438\u043a\u0430\u00bb","description":"https:\/\/www.patreon.com\/user?u=5206451 \u2014 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430 \u041f\u0430\u0442\u0440\u0435\u043e\u043d\u0435 http:\/\/redcynic.com https:\/\/vk.com\/public_redcynic - \u0433\u0440\u0443\u043f\u043f\u0430 \u00ab\u0412 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435\u00bb \u041d\u0435\u0442 \u043f\u0440\u0435\u0434\u0435\u043b\u0430 ...","thumbnails":{"default":{"url":"https:\/\/i.ytimg.com\/vi\/S93c2zix5L4\/default.jpg","width":120,"height":90},"medium":{"url":"https:\/\/i.ytimg.com\/vi\/S93c2zix5L4\/mqdefault.jpg","width":320,"height":180},"high":{"url":"https:\/\/i.ytimg.com\/vi\/S93c2zix5L4\/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Red Cynic","liveBroadcastContent":"none","publishTime":"2019-08-28T08:54:23Z"}},{"kind":"youtube#searchResult","etag":"jvhpQC20dPda3rXtdKVDY0cB8co","id":{"kind":"youtube#video","videoId":"dW5O5sBUdpE"},"snippet":{"publishedAt":"2017-02-18T12:02:29Z","channelId":"UCDLBW2M4KsUF7A7aHT8mxHw","title":"\u00ab\u0427\u0443\u0436\u043e\u0439 \u043f\u0440\u043e\u0442\u0438\u0432 \u0425\u0438\u0449\u043d\u0438\u043a\u0430\u00bb. \u041e\u0431\u0437\u043e\u0440 \u00ab\u041a\u0440\u0430\u0441\u043d\u043e\u0433\u043e \u0426\u0438\u043d\u0438\u043a\u0430\u00bb","description":"https:\/\/www.patreon.com\/user?u=5206451 \u2014 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430 \u041f\u0430\u0442\u0440\u0435\u043e\u043d\u0435 http:\/\/redcynic.com https:\/\/vk.com\/public_redcynic - \u0433\u0440\u0443\u043f\u043f\u0430 \u00ab\u0412 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0435\u00bb \u0421\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u044f ...","thumbnails":{"default":{"url":"https:\/\/i.ytimg.com\/vi\/dW5O5sBUdpE\/default.jpg","width":120,"height":90},"medium":{"url":"https:\/\/i.ytimg.com\/vi\/dW5O5sBUdpE\/mqdefault.jpg","width":320,"height":180},"high":{"url":"https:\/\/i.ytimg.com\/vi\/dW5O5sBUdpE\/hqdefault.jpg","width":480,"height":360}},"channelTitle":"Red Cynic","liveBroadcastContent":"none","publishTime":"2017-02-18T12:02:29Z"}}]}');
|
504 |
+
|
505 |
+
$videos_ids = [];
|
506 |
+
foreach ($response->items as $video)
|
507 |
+
$videos_ids[] = $video->id->videoId;
|
508 |
+
|
509 |
+
$videosData = $this->api->getVideosData($videos_ids);
|
510 |
+
//$videosData = new \YoutubeFeed\Api\Video\YoutubeVideosResponse('{"kind": "youtube#videoListResponse","etag": "lzaBG4KxOEt-ECGeWDUuOR2MXfo","items": [{"kind": "youtube#video","etag": "c9XEcFkuSZuBLtF1d5or492heB8","id": "S93c2zix5L4","snippet": {"publishedAt": "2019-08-28T08:54:23Z","channelId": "UCDLBW2M4KsUF7A7aHT8mxHw","title": "«Живое». Обзор «Красного Циника»","description": "https://www.patreon.com/user?u=5206451 — страница на Патреоне\nhttp://redcynic.com \nhttps://vk.com/public_redcynic - группа «В контакте»\n\nНет предела человеческому уму и... глупости. Уже не первый раз мы сталкиваемся с сюжетом о неведомой космической чуде-юде, встречающейся с толпой людей в экстремальной ситуации. Причём, как правило, люди эти все как один опупенные специалисты. Фильм «Живое» тоже посвящён такому. И если уж исследовать подобные истории, то с целью найти идеальный вариант. Ума или глупости... \n\n*****\n\nПатреон: \nhttps://www.patreon.com/bePatron?u=5206451\n\nhttp://www.donationalerts.ru/r/redcynic\n\nКошельки:\n\nWebMoney: \nR223381292090; \nZ222361875129. \n\nYandex.Money: \n410011854513048.","thumbnails": {"default": {"url": "https://i.ytimg.com/vi/S93c2zix5L4/default.jpg","width": 120,"height": 90},"medium": {"url": "https://i.ytimg.com/vi/S93c2zix5L4/mqdefault.jpg","width": 320,"height": 180},"high": {"url": "https://i.ytimg.com/vi/S93c2zix5L4/hqdefault.jpg","width": 480,"height": 360},"standard": {"url": "https://i.ytimg.com/vi/S93c2zix5L4/sddefault.jpg","width": 640,"height": 480}},"channelTitle": "Red Cynic","tags": ["Живое","Джейк Джилленхол","Ребекка Фергюсон","Райан Рейнольдс","Видеорецензия","Рецензия","Обзор","Подкаст","Красный Циник","Циник","Life","Jake Gyllenhaal","Rebecca Ferguson","Ryan Reynolds","Red Cynic","Videoreview","Review","Redcynic","Video Review","Podcast"],"categoryId": "1","liveBroadcastContent": "none","localized": {"title": "«Живое». Обзор «Красного Циника»","description": "https://www.patreon.com/user?u=5206451 — страница на Патреоне\nhttp://redcynic.com \nhttps://vk.com/public_redcynic - группа «В контакте»\n\nНет предела человеческому уму и... глупости. Уже не первый раз мы сталкиваемся с сюжетом о неведомой космической чуде-юде, встречающейся с толпой людей в экстремальной ситуации. Причём, как правило, люди эти все как один опупенные специалисты. Фильм «Живое» тоже посвящён такому. И если уж исследовать подобные истории, то с целью найти идеальный вариант. Ума или глупости... \n\n*****\n\nПатреон: \nhttps://www.patreon.com/bePatron?u=5206451\n\nhttp://www.donationalerts.ru/r/redcynic\n\nКошельки:\n\nWebMoney: \nR223381292090; \nZ222361875129. \n\nYandex.Money: \n410011854513048."}},"statistics": {"viewCount": "286389","likeCount": "25552","dislikeCount": "438","favoriteCount": "0","commentCount": "1302"}},{"kind": "youtube#video","etag": "Pos6oFmOSFs6i4nmag9vcT7k-xo","id": "dW5O5sBUdpE","snippet": {"publishedAt": "2017-02-18T12:02:29Z","channelId": "UCDLBW2M4KsUF7A7aHT8mxHw","title": "«Чужой против Хищника». Обзор «Красного Циника»","description": "https://www.patreon.com/user?u=5206451 — страница на Патреоне\nhttp://redcynic.com \nhttps://vk.com/public_redcynic - группа «В контакте»\n\nСкрашивая ваше ожидание большого обзора, мы рассмотрим начало противоречивого подфранчайза, фильм \"Чужой против Хищника\".\n\n*****\n\nЕсли хотите финансово помочь каналу, то мы будем очень благодарны. \n\nКошельки:\n\nWebMoney: \nR223381292090; \nZ222361875129. \n\nYandex.Money: \n410011854513048.","thumbnails": {"default": {"url": "https://i.ytimg.com/vi/dW5O5sBUdpE/default.jpg","width": 120,"height": 90},"medium": {"url": "https://i.ytimg.com/vi/dW5O5sBUdpE/mqdefault.jpg","width": 320,"height": 180},"high": {"url": "https://i.ytimg.com/vi/dW5O5sBUdpE/hqdefault.jpg","width": 480,"height": 360},"standard": {"url": "https://i.ytimg.com/vi/dW5O5sBUdpE/sddefault.jpg","width": 640,"height": 480}},"channelTitle": "Red Cynic","tags": ["Хищник","Хищники","Чужой","Чужие","Пол Андерсон","Видеорецензия","Рецензия","Обзор","Подкаст","Красный Циник","Циник","Predator","Predators","Alien","Aliens","Paul W. S. Anderson","Red Cynic","Videoreview","Review","Redcynic","Video Review","Podcast"],"categoryId": "1","liveBroadcastContent": "none","defaultLanguage": "ru","localized": {"title": "«Чужой против Хищника». Обзор «Красного Циника»","description": "https://www.patreon.com/user?u=5206451 — страница на Патреоне\nhttp://redcynic.com \nhttps://vk.com/public_redcynic - группа «В контакте»\n\nСкрашивая ваше ожидание большого обзора, мы рассмотрим начало противоречивого подфранчайза, фильм \"Чужой против Хищника\".\n\n*****\n\nЕсли хотите финансово помочь каналу, то мы будем очень благодарны. \n\nКошельки:\n\nWebMoney: \nR223381292090; \nZ222361875129. \n\nYandex.Money: \n410011854513048."},"defaultAudioLanguage": "ru-Latn"},"statistics": {"viewCount": "300141","likeCount": "20796","dislikeCount": "435","favoriteCount": "0","commentCount": "890"}}],"pageInfo": {"totalResults": 5,"resultsPerPage": 5}}');
|
511 |
+
|
512 |
+
foreach ($response->items as $key => $video){
|
513 |
+
$video->snippet = $videosData->items[$key]->snippet;
|
514 |
+
$video->statistics = $videosData->items[$key]->statistics;
|
515 |
+
$video->comments = $this->api->getCommentsByVideoId($video->id->videoId);
|
516 |
+
}
|
517 |
+
|
518 |
+
$this->filter_response_by_words($response, $blocked_words);
|
519 |
+
|
520 |
+
|
521 |
+
if ( $response ) {
|
522 |
+
if ( ! is_array( $response->items ) || ! count( $response->items ) ) {
|
523 |
+
return [ 'error' => __( 'There are no publications in this account yet', 'yft' ) ];
|
524 |
+
}
|
525 |
+
$results = $response;
|
526 |
+
} else {
|
527 |
+
if ( $resultData ) {
|
528 |
+
$results = $resultData;
|
529 |
+
}
|
530 |
+
}
|
531 |
+
|
532 |
+
if ( empty( $results ) ) {
|
533 |
+
return [ 'error' => __( 'No images found', 'yft' ) ];
|
534 |
+
}
|
535 |
+
|
536 |
+
foreach ( $results->items as $item ) {
|
537 |
+
$resultData[] = $item;
|
538 |
+
} // end -> foreach
|
539 |
+
|
540 |
+
update_option( $opt_name, $old_opts );
|
541 |
+
|
542 |
+
if ( is_array( $resultData ) && ! empty( $resultData ) ) {
|
543 |
+
set_transient( $opt_name, $resultData, $cache_hours * 60 * 60 );
|
544 |
+
}
|
545 |
+
|
546 |
+
} // end -> false === $instaData
|
547 |
+
|
548 |
+
return $resultData;
|
549 |
+
}
|
550 |
+
|
551 |
+
/**
|
552 |
+
* Sort Function for timestamp Ascending
|
553 |
+
*/
|
554 |
+
public function sort_timestamp_ASC( $a, $b ) {
|
555 |
+
return $a->snippet->publishedAt > $b->snippet->publishedAt;
|
556 |
+
}
|
557 |
+
|
558 |
+
/**
|
559 |
+
* Sort Function for timestamp Descending
|
560 |
+
*/
|
561 |
+
public function sort_timestamp_DESC( $a, $b ) {
|
562 |
+
return $a->snippet->publishedAt < $b->snippet->publishedAt;
|
563 |
+
}
|
564 |
+
|
565 |
+
/**
|
566 |
+
* Sort Function for popularity Ascending
|
567 |
+
*/
|
568 |
+
public function sort_popularity_ASC( $a, $b ) {
|
569 |
+
return $a->statistics->viewCount > $b->statistics->viewCount;
|
570 |
+
}
|
571 |
+
|
572 |
+
/**
|
573 |
+
* Sort Function for popularity Descending
|
574 |
+
*/
|
575 |
+
public function sort_popularity_DESC( $a, $b ) {
|
576 |
+
return $a->statistics->viewCount < $b->statistics->viewCount;
|
577 |
+
}
|
578 |
+
|
579 |
+
/**
|
580 |
+
* Get count of accounts
|
581 |
+
*
|
582 |
+
* @return int
|
583 |
+
*/
|
584 |
+
public function count_accounts() {
|
585 |
+
$account = WIS_Plugin::app()->getOption( WYT_ACCOUNT_OPTION_NAME, array() );
|
586 |
+
|
587 |
+
return count( $account );
|
588 |
+
}
|
589 |
+
|
590 |
+
} // end of class WYT_Widget
|
591 |
+
?>
|
components/youtube/includes/helpers.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Красивые числа
|
4 |
+
*
|
5 |
+
* @return string
|
6 |
+
*/
|
7 |
+
function wyt_shortenNumber( $number ) {
|
8 |
+
if ( $number >= 1000000 ) {
|
9 |
+
return $number / 1000000 . 'M';
|
10 |
+
} elseif ( $number >= 1000 ) {
|
11 |
+
return $number / 1000 . 'K';
|
12 |
+
}
|
13 |
+
|
14 |
+
return $number;
|
15 |
+
}
|
16 |
+
|
17 |
+
function time_elapsed_string($datetime, $full = false) {
|
18 |
+
$now = new DateTime;
|
19 |
+
$ago = new DateTime($datetime);
|
20 |
+
$diff = $now->diff($ago);
|
21 |
+
|
22 |
+
$diff->w = floor($diff->d / 7);
|
23 |
+
$diff->d -= $diff->w * 7;
|
24 |
+
|
25 |
+
$string = array(
|
26 |
+
'y' => 'year',
|
27 |
+
'm' => 'month',
|
28 |
+
'w' => 'week',
|
29 |
+
'd' => 'day',
|
30 |
+
'h' => 'hour',
|
31 |
+
'i' => 'minute',
|
32 |
+
's' => 'second',
|
33 |
+
);
|
34 |
+
foreach ($string as $k => &$v) {
|
35 |
+
if ($diff->$k) {
|
36 |
+
$v = $diff->$k . ' ' . $v . ($diff->$k > 1 ? 's' : '');
|
37 |
+
} else {
|
38 |
+
unset($string[$k]);
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
if (!$full) $string = array_slice($string, 0, 1);
|
43 |
+
return $string ? implode(', ', $string) . ' ago' : 'just now';
|
44 |
+
}
|
45 |
+
|
components/youtube/includes/index.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
composer.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "tujh/instagram-slider-widget",
|
3 |
+
"authors": [
|
4 |
+
{
|
5 |
+
"name": "tujh",
|
6 |
+
"email": "highskill395472@gmail.com"
|
7 |
+
}
|
8 |
+
],
|
9 |
+
"require": {}
|
10 |
+
}
|
composer.lock
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_readme": [
|
3 |
+
"This file locks the dependencies of your project to a known state",
|
4 |
+
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
+
"This file is @generated automatically"
|
6 |
+
],
|
7 |
+
"content-hash": "f85186b52a5c2dce86622fcd0d1469f1",
|
8 |
+
"packages": [],
|
9 |
+
"packages-dev": [],
|
10 |
+
"aliases": [],
|
11 |
+
"minimum-stability": "stable",
|
12 |
+
"stability-flags": [],
|
13 |
+
"prefer-stable": false,
|
14 |
+
"prefer-lowest": false,
|
15 |
+
"platform": [],
|
16 |
+
"platform-dev": [],
|
17 |
+
"plugin-api-version": "2.0.0"
|
18 |
+
}
|
html_templates/widget_settings_template.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/* @var array $args */
|
3 |
|
4 |
-
$instance
|
5 |
-
$accounts
|
6 |
$accounts_business = $args['accounts_business'];
|
7 |
-
$sliders
|
8 |
-
$options_linkto
|
9 |
|
10 |
$w_id = explode('-', $this->id)[1];
|
11 |
?>
|
@@ -84,6 +84,9 @@ $w_id = explode('-', $this->id)[1];
|
|
84 |
name="<?php echo $this->get_field_name('hashtag'); ?>"
|
85 |
value="<?php echo $instance['hashtag']; ?>"
|
86 |
placeholder="<?php _e('without # sign', 'instagram-slider-widget') ?>"/></span>
|
|
|
|
|
|
|
87 |
</p>
|
88 |
<p class="<?php if ('hashtag' != $instance['search_for']) {
|
89 |
echo 'hidden';
|
@@ -388,6 +391,14 @@ $w_id = explode('-', $this->id)[1];
|
|
388 |
value="1" <?php checked('1', $instance['enable_ad']); ?> />
|
389 |
<span class="slider round"></span>
|
390 |
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
<p>
|
392 |
<label for="<?php echo $this->get_field_id('orderby'); ?>"><strong><?php _e('Order by', 'instagram-slider-widget'); ?></strong>
|
393 |
<select class="widefat" name="<?php echo $this->get_field_name('orderby'); ?>"
|
1 |
<?php
|
2 |
/* @var array $args */
|
3 |
|
4 |
+
$instance = $args['instance'];
|
5 |
+
$accounts = $args['accounts'];
|
6 |
$accounts_business = $args['accounts_business'];
|
7 |
+
$sliders = $args['sliders'];
|
8 |
+
$options_linkto = $args['options_linkto'];
|
9 |
|
10 |
$w_id = explode('-', $this->id)[1];
|
11 |
?>
|
84 |
name="<?php echo $this->get_field_name('hashtag'); ?>"
|
85 |
value="<?php echo $instance['hashtag']; ?>"
|
86 |
placeholder="<?php _e('without # sign', 'instagram-slider-widget') ?>"/></span>
|
87 |
+
<span class="jr-description hashtag-problem-info <?php if ( 'hashtag' != $instance['search_for'] ) {
|
88 |
+
echo 'hidden';
|
89 |
+
} ?>"><?php _e( 'If you have problems displaying by hashtag, please connect your business account and select display by hashtag again', 'instagram-slider-widget' ); ?></span>
|
90 |
</p>
|
91 |
<p class="<?php if ('hashtag' != $instance['search_for']) {
|
92 |
echo 'hidden';
|
391 |
value="1" <?php checked('1', $instance['enable_ad']); ?> />
|
392 |
<span class="slider round"></span>
|
393 |
</label>
|
394 |
+
<br>
|
395 |
+
<strong><?php _e('Enable instagram icons:', 'instagram-slider-widget'); ?></strong>
|
396 |
+
<label class="switch" for="<?php echo $this->get_field_id('enable_icons'); ?>">
|
397 |
+
<input class="widefat" id="<?php echo $this->get_field_id('enable_icons'); ?>"
|
398 |
+
name="<?php echo $this->get_field_name('enable_icons'); ?>" type="checkbox"
|
399 |
+
value="1" <?php checked('1', $instance['enable_icons']); ?> />
|
400 |
+
<span class="slider round"></span>
|
401 |
+
</label>
|
402 |
<p>
|
403 |
<label for="<?php echo $this->get_field_id('orderby'); ?>"><strong><?php _e('Order by', 'instagram-slider-widget'); ?></strong>
|
404 |
<select class="widefat" name="<?php echo $this->get_field_name('orderby'); ?>"
|
includes/class-wis-plugin.php
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
3 |
// Exit if accessed directly
|
|
|
|
|
4 |
if ( ! defined( 'ABSPATH' ) ) {
|
5 |
exit;
|
6 |
}
|
@@ -12,11 +16,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @copyright (c) 2019 Webraftic Ltd
|
13 |
* @version 1.0
|
14 |
*/
|
15 |
-
class WIS_Plugin extends
|
16 |
|
17 |
/**
|
18 |
* @see self::app()
|
19 |
-
* @var
|
20 |
*/
|
21 |
private static $app;
|
22 |
|
@@ -25,6 +29,10 @@ class WIS_Plugin extends Wbcr_Factory442_Plugin {
|
|
25 |
*/
|
26 |
public $sliders = array();
|
27 |
|
|
|
|
|
|
|
|
|
28 |
/**
|
29 |
* Статический метод для быстрого доступа к интерфейсу плагина.
|
30 |
*
|
@@ -34,7 +42,7 @@ class WIS_Plugin extends Wbcr_Factory442_Plugin {
|
|
34 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
35 |
* классам.
|
36 |
*
|
37 |
-
* @return
|
38 |
*/
|
39 |
public static function app() {
|
40 |
return self::$app;
|
@@ -60,7 +68,7 @@ class WIS_Plugin extends Wbcr_Factory442_Plugin {
|
|
60 |
* @param string $plugin_path
|
61 |
* @param array $data
|
62 |
*
|
63 |
-
* @throws Exception
|
64 |
*/
|
65 |
public function __construct( $plugin_path, $data ) {
|
66 |
parent::__construct( $plugin_path, $data );
|
@@ -80,9 +88,11 @@ class WIS_Plugin extends Wbcr_Factory442_Plugin {
|
|
80 |
$this->front_scripts();
|
81 |
}
|
82 |
|
83 |
-
$this->
|
84 |
|
|
|
85 |
|
|
|
86 |
}
|
87 |
|
88 |
protected function init_activation() {
|
@@ -103,6 +113,7 @@ class WIS_Plugin extends Wbcr_Factory442_Plugin {
|
|
103 |
self::app()->registerPage( 'WIS_AboutPage', WIS_PLUGIN_DIR . '/admin/pages/about.php' );
|
104 |
self::app()->registerPage( 'WIS_LicensePage', WIS_PLUGIN_DIR . '/admin/pages/license.php' );
|
105 |
self::app()->registerPage( 'WIS_ComponentsPage', WIS_PLUGIN_DIR . '/admin/pages/components.php' );
|
|
|
106 |
|
107 |
add_action('plugins_loaded', function (){
|
108 |
if( defined('SPFD_PLUGIN_DIR')){
|
@@ -241,4 +252,72 @@ class WIS_Plugin extends Wbcr_Factory442_Plugin {
|
|
241 |
}
|
242 |
}
|
243 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
}
|
1 |
<?php
|
2 |
|
3 |
+
namespace Instagram\Includes;
|
4 |
+
|
5 |
// Exit if accessed directly
|
6 |
+
use WIS_InstagramSlider;
|
7 |
+
|
8 |
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
exit;
|
10 |
}
|
16 |
* @copyright (c) 2019 Webraftic Ltd
|
17 |
* @version 1.0
|
18 |
*/
|
19 |
+
class WIS_Plugin extends \Wbcr_Factory444_Plugin {
|
20 |
|
21 |
/**
|
22 |
* @see self::app()
|
23 |
+
* @var \Wbcr_Factory444_Plugin
|
24 |
*/
|
25 |
private static $app;
|
26 |
|
29 |
*/
|
30 |
public $sliders = array();
|
31 |
|
32 |
+
|
33 |
+
/** @var \YoutubeFeed\Api\YoutubeApi $youtube_api */
|
34 |
+
public $youtube_api;
|
35 |
+
|
36 |
/**
|
37 |
* Статический метод для быстрого доступа к интерфейсу плагина.
|
38 |
*
|
42 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
43 |
* классам.
|
44 |
*
|
45 |
+
* @return \Wbcr_Factory444_Plugin
|
46 |
*/
|
47 |
public static function app() {
|
48 |
return self::$app;
|
68 |
* @param string $plugin_path
|
69 |
* @param array $data
|
70 |
*
|
71 |
+
* @throws \Exception
|
72 |
*/
|
73 |
public function __construct( $plugin_path, $data ) {
|
74 |
parent::__construct( $plugin_path, $data );
|
88 |
$this->front_scripts();
|
89 |
}
|
90 |
|
91 |
+
$this->youtube_api = new \YoutubeFeed\Api\YoutubeApi();
|
92 |
|
93 |
+
$this->global_scripts();
|
94 |
|
95 |
+
add_action( 'wp_ajax_wyt_delete_account', array( $this, 'delete_feed' ) );
|
96 |
}
|
97 |
|
98 |
protected function init_activation() {
|
113 |
self::app()->registerPage( 'WIS_AboutPage', WIS_PLUGIN_DIR . '/admin/pages/about.php' );
|
114 |
self::app()->registerPage( 'WIS_LicensePage', WIS_PLUGIN_DIR . '/admin/pages/license.php' );
|
115 |
self::app()->registerPage( 'WIS_ComponentsPage', WIS_PLUGIN_DIR . '/admin/pages/components.php' );
|
116 |
+
self::app()->registerPage( 'Manual', WIS_PLUGIN_DIR . '/admin/pages/manual.php' );
|
117 |
|
118 |
add_action('plugins_loaded', function (){
|
119 |
if( defined('SPFD_PLUGIN_DIR')){
|
252 |
}
|
253 |
}
|
254 |
|
255 |
+
public function update_youtube_api_key( $api_key ) {
|
256 |
+
if($api_key){
|
257 |
+
$this->youtube_api->setApiKey($api_key);
|
258 |
+
return WIS_Plugin::app()->updateOption(WYT_API_KEY_OPTION_NAME, $api_key);
|
259 |
+
}
|
260 |
+
return false;
|
261 |
+
}
|
262 |
+
|
263 |
+
public function update_youtube_feed( $profile ) {
|
264 |
+
if ( $profile ) {
|
265 |
+
$pro = WIS_Plugin::app()->getOption( WYT_ACCOUNT_OPTION_NAME, [] );
|
266 |
+
if ( ! is_array( $pro ) ) {
|
267 |
+
$pro = [];
|
268 |
+
}
|
269 |
+
$pro[$profile->snippet->channelId] = $profile;
|
270 |
+
|
271 |
+
return WIS_Plugin::app()->updateOption( WYT_ACCOUNT_OPTION_NAME, $pro );
|
272 |
+
}
|
273 |
+
|
274 |
+
return false;
|
275 |
+
}
|
276 |
+
|
277 |
+
/**
|
278 |
+
* Ajax Call to delete account
|
279 |
+
* @return void
|
280 |
+
*/
|
281 |
+
public function delete_feed() {
|
282 |
+
if ( isset( $_POST['id'] ) && ! empty( $_POST['id'] ) ) {
|
283 |
+
if ( ! current_user_can( 'manage_options' ) ) {
|
284 |
+
wp_die( - 1 );
|
285 |
+
} else {
|
286 |
+
check_ajax_referer( 'wyt_nonce', 'nonce' );
|
287 |
+
|
288 |
+
$accounts = WIS_Plugin::app()->getPopulateOption( WYT_ACCOUNT_OPTION_NAME, [] );
|
289 |
+
$item_id = esc_html( $_POST['id']);
|
290 |
+
if ( isset( $accounts[ $item_id ] ) ) {
|
291 |
+
unset( $accounts[ $item_id ] );
|
292 |
+
}
|
293 |
+
|
294 |
+
WIS_Plugin::app()->updatePopulateOption( WYT_ACCOUNT_OPTION_NAME, $accounts );
|
295 |
+
|
296 |
+
wp_send_json_success( __( 'Feed deleted successfully', 'yft' ) );
|
297 |
+
}
|
298 |
+
}
|
299 |
+
}
|
300 |
+
|
301 |
+
/**
|
302 |
+
* Get feeds or feed from database
|
303 |
+
*
|
304 |
+
* @param $id
|
305 |
+
*
|
306 |
+
* @return array
|
307 |
+
*/
|
308 |
+
public function get_youtube_feeds( $id = 0 ) {
|
309 |
+
if ( $id ) {
|
310 |
+
$feeds = $this->getOption( WYT_ACCOUNT_OPTION_NAME, [] );
|
311 |
+
if ( is_array( $feeds ) && ! empty( $feeds ) ) {
|
312 |
+
foreach ( $feeds as $feed ) {
|
313 |
+
if ( isset( $feed->channelId ) && $feed->channelId == $id ) {
|
314 |
+
return $feed;
|
315 |
+
}
|
316 |
+
}
|
317 |
+
}
|
318 |
+
}
|
319 |
+
|
320 |
+
return $this->getOption( WYT_ACCOUNT_OPTION_NAME, [] );
|
321 |
+
}
|
322 |
+
|
323 |
}
|
includes/class-wis_facebook_slider.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
3 |
require_once WIS_PLUGIN_DIR . '/includes/socials/class.wis_facebook.php';
|
4 |
|
5 |
/**
|
1 |
<?php
|
2 |
|
3 |
+
use Instagram\Includes\WIS_Plugin;
|
4 |
+
|
5 |
require_once WIS_PLUGIN_DIR . '/includes/socials/class.wis_facebook.php';
|
6 |
|
7 |
/**
|
includes/class-wis_instagram_slider.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
3 |
/**
|
4 |
* WIS_InstagramSlider Class
|
5 |
*/
|
@@ -31,6 +33,9 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
31 |
*/
|
32 |
public $options_linkto;
|
33 |
|
|
|
|
|
|
|
34 |
public static function app() {
|
35 |
return self::$app;
|
36 |
}
|
@@ -72,7 +77,6 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
72 |
*/
|
73 |
$this->options_linkto = apply_filters( 'wis/options/link_to', $this->options_linkto );
|
74 |
|
75 |
-
|
76 |
// Shortcode
|
77 |
add_shortcode( 'jr_instagram', array( $this, 'shortcode' ) );
|
78 |
|
@@ -113,6 +117,12 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
113 |
'id' => 'jr-insta-shortcodes',
|
114 |
'description' => __( "1. Drag Social Slider Widget here. 2. Fill in the fields and hit save. 3. Copy the shortocde generated at the bottom of the widget form and use it on posts or pages.", 'instagram-slider-widget' )
|
115 |
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
}
|
117 |
|
118 |
/**
|
@@ -142,6 +152,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
142 |
private function has_widget($widget_name){
|
143 |
$places = get_option('sidebars_widgets');
|
144 |
unset($places['wp_inactive_widgets']);
|
|
|
145 |
unset($places['jr-insta-shortcodes']);
|
146 |
unset($places['array_version']);
|
147 |
|
@@ -239,6 +250,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
239 |
$instance['highlight_offset'] = isset( $new_instance['highlight_offset'] ) ? $new_instance['highlight_offset'] : 1;
|
240 |
$instance['highlight_pattern'] = isset( $new_instance['highlight_pattern'] ) ? $new_instance['highlight_pattern'] : 6;
|
241 |
$instance['enable_ad'] = isset( $new_instance['enable_ad'] ) ? $new_instance['enable_ad'] : 0;
|
|
|
242 |
$instance['orderby'] = isset( $new_instance['orderby'] ) ? $new_instance['orderby'] : 'rand';
|
243 |
$instance['images_link'] = isset( $new_instance['images_link'] ) ? $new_instance['images_link'] : 'image_url';
|
244 |
$instance['blocked_words'] = isset( $new_instance['blocked_words'] ) && ! empty( $new_instance['blocked_words'] ) ? $new_instance['blocked_words'] : false;
|
@@ -267,6 +279,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
267 |
$instance['m_highlight_offset'] = isset( $new_instance['m_highlight_offset'] ) ? $new_instance['m_highlight_offset'] : (isset( $new_instance['highlight_offset'] ) ? $new_instance['highlight_offset'] : 1) ;
|
268 |
$instance['m_highlight_pattern'] = isset( $new_instance['m_highlight_pattern'] ) ? $new_instance['m_highlight_pattern'] : (isset( $new_instance['highlight_pattern'] ) ? $new_instance['highlight_pattern'] : 6) ;
|
269 |
$instance['m_enable_ad'] = isset( $new_instance['m_enable_ad'] ) ? $new_instance['m_enable_ad'] : (isset( $new_instance['enable_ad'] ) ? $new_instance['enable_ad'] : 0) ;
|
|
|
270 |
$instance['m_orderby'] = isset( $new_instance['m_orderby'] ) ? $new_instance['m_orderby'] : (isset( $new_instance['orderby'] ) ? $new_instance['orderby'] : 'rand') ;
|
271 |
$instance['m_images_link'] = isset( $new_instance['m_images_link'] ) ? $new_instance['m_images_link'] : (isset( $new_instance['images_link'] ) ? $new_instance['images_link'] : 'image_url') ; 'image_url';
|
272 |
$instance['m_blocked_words'] = isset( $new_instance['m_blocked_words'] ) && ! empty( $new_instance['m_blocked_words'] ) ? $new_instance['m_blocked_words'] : (isset( $new_instance['blocked_words'] ) && ! empty( $new_instance['blocked_words'] ) ? $new_instance['blocked_words'] : false) ;
|
@@ -339,6 +352,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
339 |
'enable_control_buttons' => 0,
|
340 |
'keep_ratio' => 0,
|
341 |
'enable_ad' => 0,
|
|
|
342 |
'slick_slides_padding' => 0,
|
343 |
'show_feed_header' => 1,
|
344 |
'highlight_offset' => 1,
|
@@ -366,6 +380,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
366 |
'm_highlight_offset' => 1,
|
367 |
'm_highlight_pattern' => 6,
|
368 |
'm_enable_ad' => 0,
|
|
|
369 |
'm_orderby' => 'rand',
|
370 |
'm_images_link' => 'image_link',
|
371 |
'm_blocked_words' => '',
|
@@ -490,6 +505,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
490 |
$highlight_offset = isset( $args['highlight_offset'] ) ? $args['highlight_offset'] : 1;
|
491 |
$highlight_pattern = isset( $args['highlight_pattern'] ) ? $args['highlight_pattern'] : 6;
|
492 |
$enable_ad = isset( $args['enable_ad'] ) ? $args['enable_ad'] : 0;
|
|
|
493 |
$orderby = isset( $args['orderby'] ) ? $args['orderby'] : 'rand';
|
494 |
$images_link = isset( $args['images_link'] ) ? $args['images_link'] : 'image_url';
|
495 |
$blocked_words = isset( $args['blocked_words'] ) && ! empty( $args['blocked_words'] ) ? $args['blocked_words'] : false;
|
@@ -518,6 +534,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
518 |
$highlight_offset = isset( $args['m_highlight_offset'] ) ? $args['m_highlight_offset'] : (isset( $args['highlight_offset'] ) ? $args['highlight_offset'] : 1);
|
519 |
$highlight_pattern = isset( $args['m_highlight_pattern'] ) ? $args['m_highlight_pattern'] : (isset( $args['highlight_pattern'] ) ? $args['highlight_pattern'] : 6);
|
520 |
$enable_ad = isset( $args['m_enable_ad'] ) ? $args['m_enable_ad'] : (isset( $args['enable_ad'] ) ? $args['enable_ad'] : 0);
|
|
|
521 |
$orderby = isset( $args['m_orderby'] ) ? $args['m_orderby'] : (isset( $args['orderby'] ) ? $args['orderby'] : 'rand');
|
522 |
$images_link = isset( $args['m_images_link'] ) ? $args['m_images_link'] : (isset( $args['images_link'] ) ? $args['images_link'] : 'image_url');
|
523 |
$blocked_words = isset( $args['m_blocked_words'] ) && ! empty( $args['m_blocked_words'] ) ? $args['m_blocked_words'] : (isset( $args['images_link'] ) ? $args['images_link'] : false);
|
@@ -568,6 +585,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
568 |
'enable_control_buttons' => $enable_control_buttons,
|
569 |
'keep_ratio' => $keep_ratio,
|
570 |
'enable_ad' => $enable_ad,
|
|
|
571 |
'slick_slides_padding' => $slick_slides_padding,
|
572 |
'slick_slides_to_show' => $slick_slides_to_show,
|
573 |
'highlight_offset' => $highlight_offset,
|
@@ -682,6 +700,8 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
682 |
$template_args['link_to'] = get_permalink( $id );
|
683 |
} elseif ( 'custom_url' == $images_link ) {
|
684 |
$template_args['link_to'] = $custom_url;
|
|
|
|
|
685 |
}
|
686 |
|
687 |
$image_thumb_url = get_post_meta( $id, 'jr_insta_sizes', true );
|
@@ -725,6 +745,8 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
725 |
$template_args['link_to'] = $image_data['url'];
|
726 |
} elseif ( 'custom_url' == $images_link ) {
|
727 |
$template_args['link_to'] = $custom_url;
|
|
|
|
|
728 |
}
|
729 |
|
730 |
$template_args['type'] = $image_data['type'];
|
@@ -786,7 +808,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
786 |
$images_div = '';
|
787 |
if ( $account ) {
|
788 |
$account_data = $account;
|
789 |
-
} else {
|
790 |
$data = WIS_Plugin::app()->getOption( 'profiles_data_by_username' );
|
791 |
$data = $data['entry_data']['ProfilePage']['0']['graphql']['user'];
|
792 |
$account_data = array(
|
@@ -841,7 +863,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
841 |
$template_args['type'] = $image_data['type'];
|
842 |
$template_args['image'] = $image_data['image'];
|
843 |
$template_args['caption'] = $image_data['caption'];
|
844 |
-
$template_args['timestamp'] = $image_data['timestamp'];
|
845 |
$template_args['username'] = isset( $image_data['username'] ) ? $image_data['username'] : '';
|
846 |
|
847 |
$output .= $this->get_template( $template, $template_args );
|
@@ -894,7 +916,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
894 |
*/
|
895 |
private function get_template( $template, $args ) {
|
896 |
|
897 |
-
$link_to = isset( $args['link_to'] ) ? $args['link_to'] :
|
898 |
$image_url = isset( $args['image'] ) ? $args['image'] : false;
|
899 |
$type = isset( $args['type'] ) ? $args['type'] : '';
|
900 |
|
@@ -923,7 +945,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
923 |
$image_src = "<img alt='" . $caption . "' src='{$clean_image_url}' $nopin class='{$type}' style='opacity: 0;'>";
|
924 |
$image_output = $image_src;
|
925 |
|
926 |
-
if ( $link_to ) {
|
927 |
$image_output = "<a href='$link_to' target='_blank' rel='nofollow noreferrer'";
|
928 |
|
929 |
if ( ! empty( $args['link_rel'] ) ) {
|
@@ -971,7 +993,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
971 |
$output .= "</li>";
|
972 |
// Template : Slider with text Overlay on mouse over
|
973 |
} elseif ( $template == 'slider-overlay' ) {
|
974 |
-
$output .= "<li class='" . $type . "'>";
|
975 |
|
976 |
//$output .= $image_output;
|
977 |
$output .= "<div id='jr-image-overlay' style='background: url({$image_url}) no-repeat center center; background-size: cover;'>{$image_output}</div>";
|
@@ -1006,6 +1028,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1006 |
|
1007 |
// Template : Thumbnails no text
|
1008 |
} elseif ( $template == 'thumbs' || $template == 'thumbs-no-border' ) {
|
|
|
1009 |
$output .= "<li class='{$type}'>";
|
1010 |
$output .= "<div style='background: url({$image_url}) no-repeat center center; background-size: cover;'>{$image_output}</div>";
|
1011 |
//$output .= "<div></div>";
|
@@ -1257,8 +1280,8 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1257 |
}
|
1258 |
|
1259 |
} else { //hashtag
|
1260 |
-
|
1261 |
-
|
1262 |
if ( $account ) {
|
1263 |
$args = array(
|
1264 |
'access_token' => $account['token'],
|
@@ -1272,6 +1295,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1272 |
$args = array(
|
1273 |
'access_token' => $account['token'],
|
1274 |
'user_id' => $account['id'],
|
|
|
1275 |
'fields' => "id,caption,media_type,media_url,comments_count,like_count,permalink,children{media_type,media_url}",
|
1276 |
'limit' => 50,
|
1277 |
);
|
@@ -1288,6 +1312,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1288 |
$url = str_replace( '{tag}', urlencode( trim( $search_string ) ), self::TAG_URL );
|
1289 |
$response = wp_remote_get( $url, array( 'sslverify' => false, 'timeout' => 60 ) );
|
1290 |
$results = json_decode( $response['body'], true );
|
|
|
1291 |
}
|
1292 |
|
1293 |
}
|
@@ -1311,6 +1336,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1311 |
if ( empty( $entry_data ) ) {
|
1312 |
return [ 'error' => __( 'No images found', 'instagram-slider-widget' ) ];
|
1313 |
}
|
|
|
1314 |
$i = 0;
|
1315 |
foreach ( $entry_data as $current => $result ) {
|
1316 |
if ( ! isset( $result['caption'] ) ) {
|
@@ -1346,7 +1372,7 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1346 |
$image_data = $this->to_media_model_from_account( $result );
|
1347 |
} elseif ( 'account_business' == $search ) {
|
1348 |
$image_data = $this->to_media_model_from_account_business( $result );
|
1349 |
-
} elseif ( 'hashtag' == $search && $results['
|
1350 |
$image_data = $this->to_media_model_from_hashtag( $result );
|
1351 |
} elseif ( 'user' == $search ) {
|
1352 |
$image_data = $this->media_model( $result['node'] );
|
@@ -1404,7 +1430,9 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1404 |
} // end -> foreach
|
1405 |
|
1406 |
} // end -> ( $results ) && is_array( $results ) )
|
1407 |
-
|
|
|
|
|
1408 |
} else {
|
1409 |
|
1410 |
return $response['response']['message'];
|
@@ -1699,22 +1727,24 @@ class WIS_InstagramSlider extends WP_Widget {
|
|
1699 |
break;
|
1700 |
}
|
1701 |
|
|
|
|
|
1702 |
$m['id'] = $value['id'];
|
1703 |
$m['caption'] = $this->sanitize( $value['caption'] );
|
1704 |
$m['link'] = $value['permalink'];
|
1705 |
$m['comment_count'] = $value['comments_count'];
|
1706 |
-
$m['url'] = $
|
1707 |
$m['likes_count'] = $value['like_count'];
|
1708 |
|
1709 |
-
$m['sizes']['thumbnail'] = $
|
1710 |
-
$m['sizes']['low'] = $
|
1711 |
-
$m['sizes']['standard'] = $
|
1712 |
-
$m['sizes']['full'] = $
|
1713 |
|
1714 |
if ( $media['media_type'] == 'VIDEO' ) {
|
1715 |
$size = getimagesize( $value['thumbnail_url'] );
|
1716 |
} else {
|
1717 |
-
$size = getimagesize( $
|
1718 |
}
|
1719 |
if ( is_array( $size ) ) {
|
1720 |
$m['height'] = $size[1];
|
1 |
<?php
|
2 |
|
3 |
+
use Instagram\Includes\WIS_Plugin;
|
4 |
+
|
5 |
/**
|
6 |
* WIS_InstagramSlider Class
|
7 |
*/
|
33 |
*/
|
34 |
public $options_linkto;
|
35 |
|
36 |
+
/** @var WYT_Widget $wyt_widget */
|
37 |
+
public $wyt_widget;
|
38 |
+
|
39 |
public static function app() {
|
40 |
return self::$app;
|
41 |
}
|
77 |
*/
|
78 |
$this->options_linkto = apply_filters( 'wis/options/link_to', $this->options_linkto );
|
79 |
|
|
|
80 |
// Shortcode
|
81 |
add_shortcode( 'jr_instagram', array( $this, 'shortcode' ) );
|
82 |
|
117 |
'id' => 'jr-insta-shortcodes',
|
118 |
'description' => __( "1. Drag Social Slider Widget here. 2. Fill in the fields and hit save. 3. Copy the shortocde generated at the bottom of the widget form and use it on posts or pages.", 'instagram-slider-widget' )
|
119 |
) );
|
120 |
+
|
121 |
+
register_sidebar( array(
|
122 |
+
'name' => __( 'Youtube Widget - Shortcode Generator', 'instagram-slider-widget' ),
|
123 |
+
'id' => 'wyoutube-shortcodes',
|
124 |
+
'description' => __( "1. Drag Youtube Widget here. 2. Fill in the fields and hit save. 3. Copy the shortocde generated at the bottom of the widget form and use it on posts or pages.", 'instagram-slider-widget' )
|
125 |
+
) );
|
126 |
}
|
127 |
|
128 |
/**
|
152 |
private function has_widget($widget_name){
|
153 |
$places = get_option('sidebars_widgets');
|
154 |
unset($places['wp_inactive_widgets']);
|
155 |
+
unset($places['wyoutube-shortcodes']);
|
156 |
unset($places['jr-insta-shortcodes']);
|
157 |
unset($places['array_version']);
|
158 |
|
250 |
$instance['highlight_offset'] = isset( $new_instance['highlight_offset'] ) ? $new_instance['highlight_offset'] : 1;
|
251 |
$instance['highlight_pattern'] = isset( $new_instance['highlight_pattern'] ) ? $new_instance['highlight_pattern'] : 6;
|
252 |
$instance['enable_ad'] = isset( $new_instance['enable_ad'] ) ? $new_instance['enable_ad'] : 0;
|
253 |
+
$instance['enable_icons'] = isset( $new_instance['enable_icons'] ) ? $new_instance['enable_icons'] : 0;
|
254 |
$instance['orderby'] = isset( $new_instance['orderby'] ) ? $new_instance['orderby'] : 'rand';
|
255 |
$instance['images_link'] = isset( $new_instance['images_link'] ) ? $new_instance['images_link'] : 'image_url';
|
256 |
$instance['blocked_words'] = isset( $new_instance['blocked_words'] ) && ! empty( $new_instance['blocked_words'] ) ? $new_instance['blocked_words'] : false;
|
279 |
$instance['m_highlight_offset'] = isset( $new_instance['m_highlight_offset'] ) ? $new_instance['m_highlight_offset'] : (isset( $new_instance['highlight_offset'] ) ? $new_instance['highlight_offset'] : 1) ;
|
280 |
$instance['m_highlight_pattern'] = isset( $new_instance['m_highlight_pattern'] ) ? $new_instance['m_highlight_pattern'] : (isset( $new_instance['highlight_pattern'] ) ? $new_instance['highlight_pattern'] : 6) ;
|
281 |
$instance['m_enable_ad'] = isset( $new_instance['m_enable_ad'] ) ? $new_instance['m_enable_ad'] : (isset( $new_instance['enable_ad'] ) ? $new_instance['enable_ad'] : 0) ;
|
282 |
+
$instance['m_enable_icons'] = isset( $new_instance['m_enable_icons'] ) ? $new_instance['m_enable_icons'] : (isset( $new_instance['enable_icons'] ) ? $new_instance['enable_icons'] : 0) ;
|
283 |
$instance['m_orderby'] = isset( $new_instance['m_orderby'] ) ? $new_instance['m_orderby'] : (isset( $new_instance['orderby'] ) ? $new_instance['orderby'] : 'rand') ;
|
284 |
$instance['m_images_link'] = isset( $new_instance['m_images_link'] ) ? $new_instance['m_images_link'] : (isset( $new_instance['images_link'] ) ? $new_instance['images_link'] : 'image_url') ; 'image_url';
|
285 |
$instance['m_blocked_words'] = isset( $new_instance['m_blocked_words'] ) && ! empty( $new_instance['m_blocked_words'] ) ? $new_instance['m_blocked_words'] : (isset( $new_instance['blocked_words'] ) && ! empty( $new_instance['blocked_words'] ) ? $new_instance['blocked_words'] : false) ;
|
352 |
'enable_control_buttons' => 0,
|
353 |
'keep_ratio' => 0,
|
354 |
'enable_ad' => 0,
|
355 |
+
'enable_icons' => 0,
|
356 |
'slick_slides_padding' => 0,
|
357 |
'show_feed_header' => 1,
|
358 |
'highlight_offset' => 1,
|
380 |
'm_highlight_offset' => 1,
|
381 |
'm_highlight_pattern' => 6,
|
382 |
'm_enable_ad' => 0,
|
383 |
+
'm_enable_icons' => 0,
|
384 |
'm_orderby' => 'rand',
|
385 |
'm_images_link' => 'image_link',
|
386 |
'm_blocked_words' => '',
|
505 |
$highlight_offset = isset( $args['highlight_offset'] ) ? $args['highlight_offset'] : 1;
|
506 |
$highlight_pattern = isset( $args['highlight_pattern'] ) ? $args['highlight_pattern'] : 6;
|
507 |
$enable_ad = isset( $args['enable_ad'] ) ? $args['enable_ad'] : 0;
|
508 |
+
$enable_icons = isset( $args['enable_icons'] ) ? $args['enable_icons'] : 0;
|
509 |
$orderby = isset( $args['orderby'] ) ? $args['orderby'] : 'rand';
|
510 |
$images_link = isset( $args['images_link'] ) ? $args['images_link'] : 'image_url';
|
511 |
$blocked_words = isset( $args['blocked_words'] ) && ! empty( $args['blocked_words'] ) ? $args['blocked_words'] : false;
|
534 |
$highlight_offset = isset( $args['m_highlight_offset'] ) ? $args['m_highlight_offset'] : (isset( $args['highlight_offset'] ) ? $args['highlight_offset'] : 1);
|
535 |
$highlight_pattern = isset( $args['m_highlight_pattern'] ) ? $args['m_highlight_pattern'] : (isset( $args['highlight_pattern'] ) ? $args['highlight_pattern'] : 6);
|
536 |
$enable_ad = isset( $args['m_enable_ad'] ) ? $args['m_enable_ad'] : (isset( $args['enable_ad'] ) ? $args['enable_ad'] : 0);
|
537 |
+
$enable_icons = isset( $args['m_enable_icons'] ) ? $args['m_enable_icons'] : (isset( $args['enable_icons'] ) ? $args['enable_icons'] : 0);
|
538 |
$orderby = isset( $args['m_orderby'] ) ? $args['m_orderby'] : (isset( $args['orderby'] ) ? $args['orderby'] : 'rand');
|
539 |
$images_link = isset( $args['m_images_link'] ) ? $args['m_images_link'] : (isset( $args['images_link'] ) ? $args['images_link'] : 'image_url');
|
540 |
$blocked_words = isset( $args['m_blocked_words'] ) && ! empty( $args['m_blocked_words'] ) ? $args['m_blocked_words'] : (isset( $args['images_link'] ) ? $args['images_link'] : false);
|
585 |
'enable_control_buttons' => $enable_control_buttons,
|
586 |
'keep_ratio' => $keep_ratio,
|
587 |
'enable_ad' => $enable_ad,
|
588 |
+
'enable_icons' => $enable_icons,
|
589 |
'slick_slides_padding' => $slick_slides_padding,
|
590 |
'slick_slides_to_show' => $slick_slides_to_show,
|
591 |
'highlight_offset' => $highlight_offset,
|
700 |
$template_args['link_to'] = get_permalink( $id );
|
701 |
} elseif ( 'custom_url' == $images_link ) {
|
702 |
$template_args['link_to'] = $custom_url;
|
703 |
+
} elseif( 'none' == $images_link ) {
|
704 |
+
$template_args['link_to'] = 'none';
|
705 |
}
|
706 |
|
707 |
$image_thumb_url = get_post_meta( $id, 'jr_insta_sizes', true );
|
745 |
$template_args['link_to'] = $image_data['url'];
|
746 |
} elseif ( 'custom_url' == $images_link ) {
|
747 |
$template_args['link_to'] = $custom_url;
|
748 |
+
} elseif( 'none' == $images_link ) {
|
749 |
+
$template_args['link_to'] = 'none';
|
750 |
}
|
751 |
|
752 |
$template_args['type'] = $image_data['type'];
|
808 |
$images_div = '';
|
809 |
if ( $account ) {
|
810 |
$account_data = $account;
|
811 |
+
} else if ( $search !== 'hashtag' ) {
|
812 |
$data = WIS_Plugin::app()->getOption( 'profiles_data_by_username' );
|
813 |
$data = $data['entry_data']['ProfilePage']['0']['graphql']['user'];
|
814 |
$account_data = array(
|
863 |
$template_args['type'] = $image_data['type'];
|
864 |
$template_args['image'] = $image_data['image'];
|
865 |
$template_args['caption'] = $image_data['caption'];
|
866 |
+
$template_args['timestamp'] = isset($image_data['timestamp']) ? $image_data['timestamp'] : false;
|
867 |
$template_args['username'] = isset( $image_data['username'] ) ? $image_data['username'] : '';
|
868 |
|
869 |
$output .= $this->get_template( $template, $template_args );
|
916 |
*/
|
917 |
private function get_template( $template, $args ) {
|
918 |
|
919 |
+
$link_to = isset( $args['link_to'] ) ? $args['link_to'] : 'none';
|
920 |
$image_url = isset( $args['image'] ) ? $args['image'] : false;
|
921 |
$type = isset( $args['type'] ) ? $args['type'] : '';
|
922 |
|
945 |
$image_src = "<img alt='" . $caption . "' src='{$clean_image_url}' $nopin class='{$type}' style='opacity: 0;'>";
|
946 |
$image_output = $image_src;
|
947 |
|
948 |
+
if ( $link_to && $link_to != 'none') {
|
949 |
$image_output = "<a href='$link_to' target='_blank' rel='nofollow noreferrer'";
|
950 |
|
951 |
if ( ! empty( $args['link_rel'] ) ) {
|
993 |
$output .= "</li>";
|
994 |
// Template : Slider with text Overlay on mouse over
|
995 |
} elseif ( $template == 'slider-overlay' ) {
|
996 |
+
$output .= "<li class='" . $type . $args['enable_icons'] ? "" : " no-isw-icons" . "'>";
|
997 |
|
998 |
//$output .= $image_output;
|
999 |
$output .= "<div id='jr-image-overlay' style='background: url({$image_url}) no-repeat center center; background-size: cover;'>{$image_output}</div>";
|
1028 |
|
1029 |
// Template : Thumbnails no text
|
1030 |
} elseif ( $template == 'thumbs' || $template == 'thumbs-no-border' ) {
|
1031 |
+
$type .= $args['enable_icons'] ? "" : " no-isw-icons";
|
1032 |
$output .= "<li class='{$type}'>";
|
1033 |
$output .= "<div style='background: url({$image_url}) no-repeat center center; background-size: cover;'>{$image_output}</div>";
|
1034 |
//$output .= "<div></div>";
|
1280 |
}
|
1281 |
|
1282 |
} else { //hashtag
|
1283 |
+
$account = $this->getAccountForHashtag();
|
1284 |
+
//$account = false;
|
1285 |
if ( $account ) {
|
1286 |
$args = array(
|
1287 |
'access_token' => $account['token'],
|
1295 |
$args = array(
|
1296 |
'access_token' => $account['token'],
|
1297 |
'user_id' => $account['id'],
|
1298 |
+
//,timestamp
|
1299 |
'fields' => "id,caption,media_type,media_url,comments_count,like_count,permalink,children{media_type,media_url}",
|
1300 |
'limit' => 50,
|
1301 |
);
|
1312 |
$url = str_replace( '{tag}', urlencode( trim( $search_string ) ), self::TAG_URL );
|
1313 |
$response = wp_remote_get( $url, array( 'sslverify' => false, 'timeout' => 60 ) );
|
1314 |
$results = json_decode( $response['body'], true );
|
1315 |
+
$hashtag_response_status = $response['response']['code'];
|
1316 |
}
|
1317 |
|
1318 |
}
|
1336 |
if ( empty( $entry_data ) ) {
|
1337 |
return [ 'error' => __( 'No images found', 'instagram-slider-widget' ) ];
|
1338 |
}
|
1339 |
+
|
1340 |
$i = 0;
|
1341 |
foreach ( $entry_data as $current => $result ) {
|
1342 |
if ( ! isset( $result['caption'] ) ) {
|
1372 |
$image_data = $this->to_media_model_from_account( $result );
|
1373 |
} elseif ( 'account_business' == $search ) {
|
1374 |
$image_data = $this->to_media_model_from_account_business( $result );
|
1375 |
+
} elseif ( 'hashtag' == $search && $results['hashtag'] ) {
|
1376 |
$image_data = $this->to_media_model_from_hashtag( $result );
|
1377 |
} elseif ( 'user' == $search ) {
|
1378 |
$image_data = $this->media_model( $result['node'] );
|
1430 |
} // end -> foreach
|
1431 |
|
1432 |
} // end -> ( $results ) && is_array( $results ) )
|
1433 |
+
elseif( isset($hashtag_response_status) && $hashtag_response_status == 429 && is_user_logged_in() && $search == 'hashtag'){
|
1434 |
+
return [ 'error' => __( "Can't receive images by hashtag. Please connect a business account and try again.", 'instagram-slider-widget' ) ];
|
1435 |
+
}
|
1436 |
} else {
|
1437 |
|
1438 |
return $response['response']['message'];
|
1727 |
break;
|
1728 |
}
|
1729 |
|
1730 |
+
$media_url = isset($value['media_url']) ? $value['media_url'] : $value['children']['data'][0]['media_url'];
|
1731 |
+
|
1732 |
$m['id'] = $value['id'];
|
1733 |
$m['caption'] = $this->sanitize( $value['caption'] );
|
1734 |
$m['link'] = $value['permalink'];
|
1735 |
$m['comment_count'] = $value['comments_count'];
|
1736 |
+
$m['url'] = $media_url;
|
1737 |
$m['likes_count'] = $value['like_count'];
|
1738 |
|
1739 |
+
$m['sizes']['thumbnail'] = $media_url;
|
1740 |
+
$m['sizes']['low'] = $media_url;
|
1741 |
+
$m['sizes']['standard'] = $media_url;
|
1742 |
+
$m['sizes']['full'] = $media_url;
|
1743 |
|
1744 |
if ( $media['media_type'] == 'VIDEO' ) {
|
1745 |
$size = getimagesize( $value['thumbnail_url'] );
|
1746 |
} else {
|
1747 |
+
$size = getimagesize( $media_url );
|
1748 |
}
|
1749 |
if ( is_array( $size ) ) {
|
1750 |
$m['height'] = $size[1];
|
includes/demo_widgets.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
2 |
$premium = "";
|
3 |
if ( ! WIS_Plugin::app()->is_premium() ) {
|
4 |
$premium = " PREMIUM";
|
1 |
<?php
|
2 |
+
|
3 |
+
use Instagram\Includes\WIS_Plugin;
|
4 |
+
|
5 |
$premium = "";
|
6 |
if ( ! WIS_Plugin::app()->is_premium() ) {
|
7 |
$premium = " PREMIUM";
|
instaram_slider.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: Social Slider Widget
|
4 |
Plugin URI: https://cm-wp.com/instagram-slider-widget
|
5 |
-
Version: 1.
|
6 |
-
Description: Social Slider Widget is a responsive slider widget that shows 12 latest images from a public Instagram user and up to 18 images from a hashtag
|
7 |
Author: creativemotion
|
8 |
Author URI: https://cm-wp.com/
|
9 |
Text Domain: instagram-slider-widget
|
@@ -19,6 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
|
20 |
// Подключаем класс проверки совместимости
|
21 |
require_once( dirname( __FILE__ ) . '/libs/factory/core/includes/class-factory-requirements.php' );
|
|
|
22 |
|
23 |
$plugin_info = array(
|
24 |
'prefix' => 'wis_',
|
@@ -78,16 +79,16 @@ $plugin_info = array(
|
|
78 |
'subscribe_settings' => [ 'group_id' => '105407119' ],
|
79 |
|
80 |
'load_factory_modules' => array(
|
81 |
-
array( 'libs/factory/bootstrap', '
|
82 |
-
array( 'libs/factory/forms', '
|
83 |
-
array( 'libs/factory/pages', '
|
84 |
-
array( 'libs/factory/freemius', '
|
85 |
-
array( 'libs/factory/adverts', '
|
86 |
-
|
87 |
)
|
88 |
);
|
89 |
|
90 |
-
$wis_compatibility = new
|
91 |
'plugin_already_activate' => defined( 'WIS_PLUGIN_ACTIVE' ),
|
92 |
'required_php_version' => '7.0',
|
93 |
'required_wp_version' => '4.8.0',
|
@@ -117,6 +118,30 @@ define( 'WIS_PLUGIN_DIR', dirname( __FILE__ ) );
|
|
117 |
/********************************************/
|
118 |
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
|
122 |
/**
|
@@ -128,7 +153,8 @@ require_once( WIS_PLUGIN_DIR . '/libs/factory/core/boot.php' );
|
|
128 |
require_once( WIS_PLUGIN_DIR . '/includes/class-wis-plugin.php' );
|
129 |
|
130 |
try {
|
131 |
-
|
|
|
132 |
'plugin_version' => WIS_PLUGIN_VERSION
|
133 |
) ) );
|
134 |
} catch ( Exception $e ) {
|
@@ -163,8 +189,10 @@ define( 'WIS_FACEBOOK_ACCOUNT_PROFILES_OPTION_NAME', 'facebook_account_profiles'
|
|
163 |
require_once WIS_PLUGIN_DIR . '/includes/class.wis_social.php';
|
164 |
|
165 |
require_once WIS_PLUGIN_DIR . "/includes/class-wis_instagram_slider.php";
|
|
|
166 |
add_action( 'plugins_loaded', function () {
|
167 |
add_action( 'widgets_init', array( 'WIS_InstagramSlider', 'register_widget' ) );
|
|
|
168 |
} );
|
169 |
|
170 |
//require_once WIS_PLUGIN_DIR."/includes/class-wis_facebook_slider.php";
|
2 |
/*
|
3 |
Plugin Name: Social Slider Widget
|
4 |
Plugin URI: https://cm-wp.com/instagram-slider-widget
|
5 |
+
Version: 1.9.0
|
6 |
+
Description: Social Slider Widget is a responsive slider widget that shows 12 latest images from a public Instagram user and up to 18 images from a hashtag and Youtube videos
|
7 |
Author: creativemotion
|
8 |
Author URI: https://cm-wp.com/
|
9 |
Text Domain: instagram-slider-widget
|
19 |
|
20 |
// Подключаем класс проверки совместимости
|
21 |
require_once( dirname( __FILE__ ) . '/libs/factory/core/includes/class-factory-requirements.php' );
|
22 |
+
require_once( dirname( __FILE__ ) . '/vendor/autoload.php');
|
23 |
|
24 |
$plugin_info = array(
|
25 |
'prefix' => 'wis_',
|
79 |
'subscribe_settings' => [ 'group_id' => '105407119' ],
|
80 |
|
81 |
'load_factory_modules' => array(
|
82 |
+
array( 'libs/factory/bootstrap', 'factory_bootstrap_444', 'admin' ),
|
83 |
+
array( 'libs/factory/forms', 'factory_forms_441', 'admin' ),
|
84 |
+
array( 'libs/factory/pages', 'factory_pages_443', 'admin' ),
|
85 |
+
array( 'libs/factory/freemius', 'factory_freemius_132', 'all' ),
|
86 |
+
array( 'libs/factory/adverts', 'factory_adverts_122', 'admin' ),
|
87 |
+
array( 'libs/factory/clearfy', 'factory_clearfy_235', 'admin' ),
|
88 |
)
|
89 |
);
|
90 |
|
91 |
+
$wis_compatibility = new Wbcr_Factory444_Requirements( __FILE__, array_merge( $plugin_info, array(
|
92 |
'plugin_already_activate' => defined( 'WIS_PLUGIN_ACTIVE' ),
|
93 |
'required_php_version' => '7.0',
|
94 |
'required_wp_version' => '4.8.0',
|
118 |
/********************************************/
|
119 |
|
120 |
|
121 |
+
/**************БЛОК ЮТУБА*************/
|
122 |
+
// Устанавливает статус плагина, как активный
|
123 |
+
define( 'WYT_PLUGIN_ACTIVE', true );
|
124 |
+
// Версия плагина
|
125 |
+
define( 'WYT_PLUGIN_FILE', __FILE__ . '/components/youtube' );
|
126 |
+
define( 'WYT_PLUGIN_VERSION', $wis_compatibility->get_plugin_version() );
|
127 |
+
define( 'WYT_ABSPATH', dirname( __FILE__ ) . '/components/youtube' );
|
128 |
+
define( 'WYT_PLUGIN_BASENAME', plugin_basename( __FILE__ ) . '/components/youtube' );
|
129 |
+
define( 'WYT_PLUGIN_SLUG', dirname( plugin_basename( __FILE__) . '/components/youtube' ) );
|
130 |
+
// Ссылка к директории плагина
|
131 |
+
define( 'WYT_PLUGIN_URL', plugins_url( null, __FILE__) . '/components/youtube' );
|
132 |
+
// Директория плагина
|
133 |
+
define( 'WYT_PLUGIN_DIR', dirname( __FILE__ ) . '/components/youtube' );
|
134 |
+
|
135 |
+
/*
|
136 |
+
* Константа определяет какое имя опции для хранения данных.
|
137 |
+
* Нужно для отладки и последующего бесшовного перехода
|
138 |
+
*/
|
139 |
+
define( 'WYT_ACCOUNT_OPTION_NAME', 'account' );
|
140 |
+
define( 'WYT_API_KEY_OPTION_NAME', 'yt_api_key' );
|
141 |
+
/***************************************************/
|
142 |
+
|
143 |
+
require_once WYT_PLUGIN_DIR . '/includes/helpers.php';
|
144 |
+
|
145 |
|
146 |
|
147 |
/**
|
153 |
require_once( WIS_PLUGIN_DIR . '/includes/class-wis-plugin.php' );
|
154 |
|
155 |
try {
|
156 |
+
require_once (WIS_PLUGIN_DIR . '/components/youtube/includes/Api/load.php');
|
157 |
+
new \Instagram\Includes\WIS_Plugin( __FILE__, array_merge( $plugin_info, array(
|
158 |
'plugin_version' => WIS_PLUGIN_VERSION
|
159 |
) ) );
|
160 |
} catch ( Exception $e ) {
|
189 |
require_once WIS_PLUGIN_DIR . '/includes/class.wis_social.php';
|
190 |
|
191 |
require_once WIS_PLUGIN_DIR . "/includes/class-wis_instagram_slider.php";
|
192 |
+
require_once WIS_PLUGIN_DIR . "/components/youtube/includes/class-youtube-widget.php";
|
193 |
add_action( 'plugins_loaded', function () {
|
194 |
add_action( 'widgets_init', array( 'WIS_InstagramSlider', 'register_widget' ) );
|
195 |
+
add_action( 'widgets_init', array( 'WYT_Widget', 'register_widget' ) );
|
196 |
} );
|
197 |
|
198 |
//require_once WIS_PLUGIN_DIR."/includes/class-wis_facebook_slider.php";
|
libs/factory/adverts/boot.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
use WBCR\
|
4 |
|
5 |
/**
|
6 |
* Factory Adverts
|
@@ -20,31 +20,31 @@ if( !defined('ABSPATH') ) {
|
|
20 |
exit;
|
21 |
}
|
22 |
|
23 |
-
if( defined('
|
24 |
return;
|
25 |
}
|
26 |
|
27 |
# Устанавливаем константу, что модуль уже загружен
|
28 |
-
define('
|
29 |
|
30 |
# Устанавливаем версию модуля
|
31 |
-
define('
|
32 |
|
33 |
# Регистрируем тектовый домен, для интернализации интерфейса модуля
|
34 |
-
load_plugin_textdomain('
|
35 |
|
36 |
# Устанавливаем директорию модуля
|
37 |
-
define('
|
38 |
|
39 |
# Устанавливаем url модуля
|
40 |
-
define('
|
41 |
|
42 |
-
require_once(
|
43 |
-
require_once(
|
44 |
|
45 |
/**
|
46 |
-
* @param
|
47 |
*/
|
48 |
-
add_action('
|
49 |
-
$plugin->set_adverts_manager("WBCR\
|
50 |
});
|
1 |
<?php
|
2 |
|
3 |
+
use WBCR\Factory_Adverts_122\Base;
|
4 |
|
5 |
/**
|
6 |
* Factory Adverts
|
20 |
exit;
|
21 |
}
|
22 |
|
23 |
+
if( defined('FACTORY_ADVERTS_122_LOADED') || (defined('FACTORY_ADVERTS_BLOCK') && FACTORY_ADVERTS_BLOCK) ) {
|
24 |
return;
|
25 |
}
|
26 |
|
27 |
# Устанавливаем константу, что модуль уже загружен
|
28 |
+
define('FACTORY_ADVERTS_122_LOADED', true);
|
29 |
|
30 |
# Устанавливаем версию модуля
|
31 |
+
define('FACTORY_ADVERTS_122_VERSION', '1.2.2');
|
32 |
|
33 |
# Регистрируем тектовый домен, для интернализации интерфейса модуля
|
34 |
+
load_plugin_textdomain('wbcr_factory_adverts_122', false, dirname(plugin_basename(__FILE__)) . '/langs');
|
35 |
|
36 |
# Устанавливаем директорию модуля
|
37 |
+
define('FACTORY_ADVERTS_122_DIR', dirname(__FILE__));
|
38 |
|
39 |
# Устанавливаем url модуля
|
40 |
+
define('FACTORY_ADVERTS_122_URL', plugins_url(null, __FILE__));
|
41 |
|
42 |
+
require_once(FACTORY_ADVERTS_122_DIR . '/includes/class-rest-request.php');
|
43 |
+
require_once(FACTORY_ADVERTS_122_DIR . '/includes/class-base.php');
|
44 |
|
45 |
/**
|
46 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
47 |
*/
|
48 |
+
add_action('wbcr_factory_adverts_122_plugin_created', function ($plugin) {
|
49 |
+
$plugin->set_adverts_manager("WBCR\Factory_Adverts_122\Base");
|
50 |
});
|
libs/factory/adverts/includes/class-base.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -28,7 +28,7 @@ class Base {
|
|
28 |
*
|
29 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
30 |
* @since 1.0.1
|
31 |
-
* @var \
|
32 |
*/
|
33 |
private $plugin;
|
34 |
|
@@ -53,7 +53,7 @@ class Base {
|
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
* @since 1.0.1
|
56 |
-
* @var \WBCR\
|
57 |
*/
|
58 |
private $api;
|
59 |
|
@@ -82,9 +82,9 @@ class Base {
|
|
82 |
*
|
83 |
* @since 1.0.0 Added
|
84 |
*
|
85 |
-
* @param \
|
86 |
*/
|
87 |
-
public function __construct( \
|
88 |
$this->plugin = $plugin;
|
89 |
|
90 |
$this->settings = wp_parse_args( $settings, [
|
@@ -257,7 +257,7 @@ class Base {
|
|
257 |
$content = $this->get_debug_message( 'dashboard_widget' );
|
258 |
}
|
259 |
|
260 |
-
require_once
|
261 |
new Dashboard_Widget( $this->plugin, $content );
|
262 |
}
|
263 |
}
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_122;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
28 |
*
|
29 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
30 |
* @since 1.0.1
|
31 |
+
* @var \Wbcr_Factory444_Plugin
|
32 |
*/
|
33 |
private $plugin;
|
34 |
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
* @since 1.0.1
|
56 |
+
* @var \WBCR\Factory_Adverts_122\Creative_Motion_API
|
57 |
*/
|
58 |
private $api;
|
59 |
|
82 |
*
|
83 |
* @since 1.0.0 Added
|
84 |
*
|
85 |
+
* @param \Wbcr_Factory444_Plugin $plugin
|
86 |
*/
|
87 |
+
public function __construct( \Wbcr_Factory444_Plugin $plugin, $settings ) {
|
88 |
$this->plugin = $plugin;
|
89 |
|
90 |
$this->settings = wp_parse_args( $settings, [
|
257 |
$content = $this->get_debug_message( 'dashboard_widget' );
|
258 |
}
|
259 |
|
260 |
+
require_once FACTORY_ADVERTS_122_DIR . '/includes/class-dashboard-widget.php';
|
261 |
new Dashboard_Widget( $this->plugin, $content );
|
262 |
}
|
263 |
}
|
libs/factory/adverts/includes/class-dashboard-widget.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -35,7 +35,7 @@ class Dashboard_Widget {
|
|
35 |
*
|
36 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
37 |
* @since 1.0.1
|
38 |
-
* @var \
|
39 |
*/
|
40 |
private $plugin;
|
41 |
|
@@ -46,10 +46,10 @@ class Dashboard_Widget {
|
|
46 |
*
|
47 |
* @since 1.0.0 Added
|
48 |
*
|
49 |
-
* @param \
|
50 |
* @param string $content
|
51 |
*/
|
52 |
-
public function __construct( \
|
53 |
|
54 |
$this->plugin = $plugin;
|
55 |
$this->content = $content;
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_122;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if ( ! defined( 'ABSPATH' ) ) {
|
35 |
*
|
36 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
37 |
* @since 1.0.1
|
38 |
+
* @var \Wbcr_Factory444_Plugin
|
39 |
*/
|
40 |
private $plugin;
|
41 |
|
46 |
*
|
47 |
* @since 1.0.0 Added
|
48 |
*
|
49 |
+
* @param \Wbcr_Factory444_Plugin $plugin
|
50 |
* @param string $content
|
51 |
*/
|
52 |
+
public function __construct( \Wbcr_Factory444_Plugin $plugin, $content ) {
|
53 |
|
54 |
$this->plugin = $plugin;
|
55 |
$this->content = $content;
|
libs/factory/adverts/includes/class-rest-request.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if( !defined('ABSPATH') ) {
|
@@ -65,7 +65,7 @@ class Creative_Motion_API {
|
|
65 |
*
|
66 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
67 |
* @since 1.0.1
|
68 |
-
* @var \
|
69 |
*/
|
70 |
private $plugin;
|
71 |
|
@@ -75,11 +75,11 @@ class Creative_Motion_API {
|
|
75 |
*
|
76 |
* Variable initialization.
|
77 |
*
|
78 |
-
* @param \
|
79 |
* @since 1.0.0 Added
|
80 |
*
|
81 |
*/
|
82 |
-
public function __construct(\
|
83 |
{
|
84 |
$this->plugin = $plugin;
|
85 |
}
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Adverts_122;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if( !defined('ABSPATH') ) {
|
65 |
*
|
66 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
67 |
* @since 1.0.1
|
68 |
+
* @var \Wbcr_Factory444_Plugin
|
69 |
*/
|
70 |
private $plugin;
|
71 |
|
75 |
*
|
76 |
* Variable initialization.
|
77 |
*
|
78 |
+
* @param \Wbcr_Factory444_Plugin $plugin_name
|
79 |
* @since 1.0.0 Added
|
80 |
*
|
81 |
*/
|
82 |
+
public function __construct(\Wbcr_Factory444_Plugin $plugin)
|
83 |
{
|
84 |
$this->plugin = $plugin;
|
85 |
}
|
libs/factory/adverts/langs/wbcr_factory_adverts_122-ru_RU.mo
ADDED
Binary file
|
libs/factory/adverts/langs/wbcr_factory_adverts_122-ru_RU.po
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: factory_forms\n"
|
4 |
+
"POT-Creation-Date: 2018-10-16 22:44+0300\n"
|
5 |
+
"PO-Revision-Date: 2018-10-16 22:45+0300\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: Alex Kovalev <alex.kovalevv@gmail.com>\n"
|
8 |
+
"Language: ru_RU\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
|
20 |
+
#: includes/check-compatibility.php:80
|
21 |
+
msgid "warning"
|
22 |
+
msgstr "предупреждение"
|
23 |
+
|
24 |
+
#: includes/check-compatibility.php:82
|
25 |
+
#, php-format
|
26 |
+
msgid "The %s plugin has stopped."
|
27 |
+
msgstr "Работа плагина %s была остановлена."
|
28 |
+
|
29 |
+
#: includes/check-compatibility.php:83
|
30 |
+
msgid "Possible reasons:"
|
31 |
+
msgstr "Возможные причины:"
|
32 |
+
|
33 |
+
#: includes/check-compatibility.php:89
|
34 |
+
#, php-format
|
35 |
+
msgid "You need to update the PHP version to %s or higher!"
|
36 |
+
msgstr "Вам нужно обновить версию PHP до %s или выше!"
|
37 |
+
|
38 |
+
#: includes/check-compatibility.php:94
|
39 |
+
#, php-format
|
40 |
+
msgid "You need to update WordPress to %s or higher!"
|
41 |
+
msgstr "Вам нужно обновить WordPress до %s или выше!"
|
42 |
+
|
43 |
+
#: includes/functions.php:132
|
44 |
+
#, php-format
|
45 |
+
msgid ""
|
46 |
+
"%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead."
|
47 |
+
msgstr ""
|
48 |
+
"%1$s является <strong>устаревшим,</strong> начиная с версии %2$s в "
|
49 |
+
"Wordpress! Используйте %3$s."
|
50 |
+
|
51 |
+
#: includes/functions.php:134
|
52 |
+
#, php-format
|
53 |
+
msgid ""
|
54 |
+
"%1$s is <strong>deprecated</strong> since version %2$s with no alternative "
|
55 |
+
"available."
|
56 |
+
msgstr ""
|
57 |
+
"%1$s был вызван с параметром, который является <strong>устаревшими</strong> "
|
58 |
+
"начиная с версии %2$s , в настоящее время доступных альтернатив нет."
|
59 |
+
|
60 |
+
#: includes/plugin.class.php:202 includes/plugin.class.php:237
|
61 |
+
msgid ""
|
62 |
+
"You are trying to call this earlier than the plugin menu will be registered."
|
63 |
+
msgstr ""
|
64 |
+
"Вы пытаетесь вызвать это раньше, чем будет зарегистрировано меню плагина."
|
65 |
+
|
66 |
+
#: includes/plugin.class.php:220
|
67 |
+
msgid ""
|
68 |
+
"You are trying to get a link to a page that does not have multisite mode. "
|
69 |
+
"Clicking this link will lead the user to a non-existent page."
|
70 |
+
msgstr ""
|
71 |
+
"Вы пытаетесь получить ссылку на страницу, которая не имеет "
|
72 |
+
"многопользовательского режима. Щелчок по этой ссылке приведет пользователя "
|
73 |
+
"к несуществующей странице."
|
74 |
+
|
75 |
+
#: includes/plugin.class.php:222
|
76 |
+
msgid ""
|
77 |
+
"Trying to get a link to an unregistered page. You are trying to call this "
|
78 |
+
"earlier than the plugin menu will be registered."
|
79 |
+
msgstr ""
|
80 |
+
"Попытка получить ссылку на незарегистрированную страницу. Вы пытаетесь "
|
81 |
+
"вызвать это раньше, чем будет зарегистрировано меню плагина."
|
82 |
+
|
83 |
+
|
libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-accordion{margin:0 0 30px;border-top:1px solid #DDD;border-right:1px solid #DDD;border-left:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.factory-bootstrap-444 .factory-accordion>h3{border-bottom:1px solid #DDD;cursor:pointer;padding:8px 15px;margin:0}.factory-bootstrap-444 .factory-accordion>div{display:none;margin:0;border-bottom:1px solid #DDD}.factory-bootstrap-444 .factory-accordion-item{display:none}.factory-bootstrap-444 .inner-factory-accordion-item{padding:10px 0}.factory-bootstrap-444 .factory-accordion>h3.active:hover{cursor:default}
|
libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .btn-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:active{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-444 .btn-primary:disabled,.factory-bootstrap-444 .btn-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.factory-bootstrap-444 .btn-group .btn.active.value{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{background-color:#e1a948;border-color:#d39323}
|
libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .btn-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:active{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-444 .btn-primary:disabled,.factory-bootstrap-444 .btn-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.factory-bootstrap-444 .btn-group .btn.active.value{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{background-color:#c7a589;border-color:#b78a66}
|
libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,7 +8,7 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-442 article,.factory-bootstrap-442 aside,.factory-bootstrap-442 details,.factory-bootstrap-442 figcaption,.factory-bootstrap-442 figure,.factory-bootstrap-442 footer,.factory-bootstrap-442 header,.factory-bootstrap-442 hgroup,.factory-bootstrap-442 main,.factory-bootstrap-442 nav,.factory-bootstrap-442 section,.factory-bootstrap-442 summary{display:block}.factory-bootstrap-442 audio,.factory-bootstrap-442 canvas,.factory-bootstrap-442 video{display:inline-block}.factory-bootstrap-442 audio:not([controls]){display:none;height:0}.factory-bootstrap-442 [hidden],.factory-bootstrap-442 template{display:none}.factory-bootstrap-442 body{margin:0}.factory-bootstrap-442 a{background:0 0}.factory-bootstrap-442 a:focus{outline:thin dotted}.factory-bootstrap-442 a:active,.factory-bootstrap-442 a:hover{outline:0}.factory-bootstrap-442 h1{margin:.67em 0}.factory-bootstrap-442 b,.factory-bootstrap-442 strong{font-weight:700}.factory-bootstrap-442 dfn{font-style:italic}.factory-bootstrap-442 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-442 mark{color:#000;background:#ff0}.factory-bootstrap-442 code,.factory-bootstrap-442 kbd,.factory-bootstrap-442 pre,.factory-bootstrap-442 samp{font-size:1em}.factory-bootstrap-442 pre{white-space:pre-wrap}.factory-bootstrap-442 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-442 sub,.factory-bootstrap-442 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-442 sup{top:-.5em}.factory-bootstrap-442 sub{bottom:-.25em}.factory-bootstrap-442 img{border:0}.factory-bootstrap-442 svg:not(:root){overflow:hidden}.factory-bootstrap-442 figure{margin:0}.factory-bootstrap-442 button,.factory-bootstrap-442 input,.factory-bootstrap-442 select,.factory-bootstrap-442 textarea{margin:0}.factory-bootstrap-442 button,.factory-bootstrap-442 select{text-transform:none}.factory-bootstrap-442 select{padding-right:4px!important}.factory-bootstrap-442 button,.factory-bootstrap-442 input[type=reset],.factory-bootstrap-442 input[type=submit],html .factory-bootstrap-442 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-442 button[disabled],html .factory-bootstrap-442 input[disabled]{cursor:default}.factory-bootstrap-442 input[type=checkbox],.factory-bootstrap-442 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-442 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-442 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-442 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-442 button::-moz-focus-inner,.factory-bootstrap-442 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-442 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-442 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-442 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-442 a,.factory-bootstrap-442 a:visited{text-decoration:underline}.factory-bootstrap-442 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-442 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-442 a[href^="javascript:"]:after,.factory-bootstrap-442 a[href^="#"]:after{content:""}.factory-bootstrap-442 blockquote,.factory-bootstrap-442 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-442 thead{display:table-header-group}.factory-bootstrap-442 img,.factory-bootstrap-442 tr{page-break-inside:avoid}.factory-bootstrap-442 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-442 h2,.factory-bootstrap-442 h3,.factory-bootstrap-442 p{orphans:3;widows:3}.factory-bootstrap-442 h2,.factory-bootstrap-442 h3{page-break-after:avoid}.factory-bootstrap-442 select{background:#fff!important}.factory-bootstrap-442 .navbar{display:none}.factory-bootstrap-442 .table td,.factory-bootstrap-442 .table th{background-color:#fff!important}.factory-bootstrap-442 .btn>.caret,.factory-bootstrap-442 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-442 .label{border:1px solid #000}.factory-bootstrap-442 .table{border-collapse:collapse!important}.factory-bootstrap-442 .table-bordered td,.factory-bootstrap-442 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-442 *,.factory-bootstrap-442 :after,.factory-bootstrap-442 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-442{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-442 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-442 button,.factory-bootstrap-442 input,.factory-bootstrap-442 select,.factory-bootstrap-442 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-442 img{vertical-align:middle}.factory-bootstrap-442 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-442 .img-rounded{border-radius:6px}.factory-bootstrap-442 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-442 .img-circle{border-radius:50%}.factory-bootstrap-442 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-442 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-442 .h1,.factory-bootstrap-442 .h2,.factory-bootstrap-442 .h3,.factory-bootstrap-442 .h4,.factory-bootstrap-442 .h5,.factory-bootstrap-442 .h6,.factory-bootstrap-442 h1,.factory-bootstrap-442 h2,.factory-bootstrap-442 h3,.factory-bootstrap-442 h4,.factory-bootstrap-442 h5,.factory-bootstrap-442 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-442 .h1 .small,.factory-bootstrap-442 .h1 small,.factory-bootstrap-442 .h2 .small,.factory-bootstrap-442 .h2 small,.factory-bootstrap-442 .h3 .small,.factory-bootstrap-442 .h3 small,.factory-bootstrap-442 .h4 .small,.factory-bootstrap-442 .h4 small,.factory-bootstrap-442 .h5 .small,.factory-bootstrap-442 .h5 small,.factory-bootstrap-442 .h6 .small,.factory-bootstrap-442 .h6 small,.factory-bootstrap-442 h1 .small,.factory-bootstrap-442 h1 small,.factory-bootstrap-442 h2 .small,.factory-bootstrap-442 h2 small,.factory-bootstrap-442 h3 .small,.factory-bootstrap-442 h3 small,.factory-bootstrap-442 h4 .small,.factory-bootstrap-442 h4 small,.factory-bootstrap-442 h5 .small,.factory-bootstrap-442 h5 small,.factory-bootstrap-442 h6 .small,.factory-bootstrap-442 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-442 h1,.factory-bootstrap-442 h2,.factory-bootstrap-442 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-442 h1 .small,.factory-bootstrap-442 h1 small,.factory-bootstrap-442 h2 .small,.factory-bootstrap-442 h2 small,.factory-bootstrap-442 h3 .small,.factory-bootstrap-442 h3 small{font-size:65%}.factory-bootstrap-442 h4,.factory-bootstrap-442 h5,.factory-bootstrap-442 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-442 h4 .small,.factory-bootstrap-442 h4 small,.factory-bootstrap-442 h5 .small,.factory-bootstrap-442 h5 small,.factory-bootstrap-442 h6 .small,.factory-bootstrap-442 h6 small{font-size:75%}.factory-bootstrap-442 .h1,.factory-bootstrap-442 h1{font-size:36px}.factory-bootstrap-442 .h2,.factory-bootstrap-442 h2{font-size:30px}.factory-bootstrap-442 .h3,.factory-bootstrap-442 h3{font-size:24px}.factory-bootstrap-442 .h4,.factory-bootstrap-442 h4{font-size:18px}.factory-bootstrap-442 .h5,.factory-bootstrap-442 h5{font-size:14px}.factory-bootstrap-442 .h6,.factory-bootstrap-442 h6{font-size:12px}.factory-bootstrap-442 p{margin:0 0 10px}.factory-bootstrap-442 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-442 .small,.factory-bootstrap-442 small{font-size:85%}.factory-bootstrap-442 cite{font-style:normal}.factory-bootstrap-442 .text-muted{color:#999}.factory-bootstrap-442 .text-primary{color:#428bca}.factory-bootstrap-442 .text-primary:hover{color:#3071a9}.factory-bootstrap-442 .text-warning{color:#8a6d3b}.factory-bootstrap-442 .text-warning:hover{color:#66512c}.factory-bootstrap-442 .text-danger{color:#a94442}.factory-bootstrap-442 .text-danger:hover{color:#843534}.factory-bootstrap-442 .text-success{color:#3c763d}.factory-bootstrap-442 .text-success:hover{color:#2b542c}.factory-bootstrap-442 .text-info{color:#31708f}.factory-bootstrap-442 .text-info:hover{color:#245269}.factory-bootstrap-442 .text-left{text-align:left}.factory-bootstrap-442 .text-right{text-align:right}.factory-bootstrap-442 .text-center{text-align:center}.factory-bootstrap-442 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-442 ol,.factory-bootstrap-442 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-442 ol ol,.factory-bootstrap-442 ol ul,.factory-bootstrap-442 ul ol,.factory-bootstrap-442 ul ul{margin-bottom:0}.factory-bootstrap-442 .list-inline,.factory-bootstrap-442 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-442 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-442 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-442 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-442 dd,.factory-bootstrap-442 dt{line-height:1.428571429}.factory-bootstrap-442 dt{font-weight:700}.factory-bootstrap-442 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-442 abbr[data-original-title],.factory-bootstrap-442 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-442 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-442 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-442 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-442 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-442 blockquote .small,.factory-bootstrap-442 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-442 blockquote .small:before,.factory-bootstrap-442 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-442 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-442 blockquote.pull-right .small,.factory-bootstrap-442 blockquote.pull-right p,.factory-bootstrap-442 blockquote.pull-right small{text-align:right}.factory-bootstrap-442 blockquote.pull-right .small:before,.factory-bootstrap-442 blockquote.pull-right small:before{content:''}.factory-bootstrap-442 blockquote.pull-right .small:after,.factory-bootstrap-442 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-442 blockquote:after,.factory-bootstrap-442 blockquote:before{content:""}.factory-bootstrap-442 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-442 code,.factory-bootstrap-442 kbd,.factory-bootstrap-442 pre,.factory-bootstrap-442 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-442 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-442 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-442 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-442 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-442 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-442 .container:after,.factory-bootstrap-442 .container:before{display:table;content:" "}.factory-bootstrap-442 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-442 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-442 .row:after,.factory-bootstrap-442 .row:before{display:table;content:" "}.factory-bootstrap-442 .row:after{clear:both}.factory-bootstrap-442 .col-lg-1,.factory-bootstrap-442 .col-lg-10,.factory-bootstrap-442 .col-lg-11,.factory-bootstrap-442 .col-lg-12,.factory-bootstrap-442 .col-lg-2,.factory-bootstrap-442 .col-lg-3,.factory-bootstrap-442 .col-lg-4,.factory-bootstrap-442 .col-lg-5,.factory-bootstrap-442 .col-lg-6,.factory-bootstrap-442 .col-lg-7,.factory-bootstrap-442 .col-lg-8,.factory-bootstrap-442 .col-lg-9,.factory-bootstrap-442 .col-md-1,.factory-bootstrap-442 .col-md-10,.factory-bootstrap-442 .col-md-11,.factory-bootstrap-442 .col-md-12,.factory-bootstrap-442 .col-md-2,.factory-bootstrap-442 .col-md-3,.factory-bootstrap-442 .col-md-4,.factory-bootstrap-442 .col-md-5,.factory-bootstrap-442 .col-md-6,.factory-bootstrap-442 .col-md-7,.factory-bootstrap-442 .col-md-8,.factory-bootstrap-442 .col-md-9,.factory-bootstrap-442 .col-sm-1,.factory-bootstrap-442 .col-sm-10,.factory-bootstrap-442 .col-sm-11,.factory-bootstrap-442 .col-sm-12,.factory-bootstrap-442 .col-sm-2,.factory-bootstrap-442 .col-sm-3,.factory-bootstrap-442 .col-sm-4,.factory-bootstrap-442 .col-sm-5,.factory-bootstrap-442 .col-sm-6,.factory-bootstrap-442 .col-sm-7,.factory-bootstrap-442 .col-sm-8,.factory-bootstrap-442 .col-sm-9,.factory-bootstrap-442 .col-xs-1,.factory-bootstrap-442 .col-xs-10,.factory-bootstrap-442 .col-xs-11,.factory-bootstrap-442 .col-xs-12,.factory-bootstrap-442 .col-xs-2,.factory-bootstrap-442 .col-xs-3,.factory-bootstrap-442 .col-xs-4,.factory-bootstrap-442 .col-xs-5,.factory-bootstrap-442 .col-xs-6,.factory-bootstrap-442 .col-xs-7,.factory-bootstrap-442 .col-xs-8,.factory-bootstrap-442 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-442 .col-xs-1,.factory-bootstrap-442 .col-xs-10,.factory-bootstrap-442 .col-xs-11,.factory-bootstrap-442 .col-xs-12,.factory-bootstrap-442 .col-xs-2,.factory-bootstrap-442 .col-xs-3,.factory-bootstrap-442 .col-xs-4,.factory-bootstrap-442 .col-xs-5,.factory-bootstrap-442 .col-xs-6,.factory-bootstrap-442 .col-xs-7,.factory-bootstrap-442 .col-xs-8,.factory-bootstrap-442 .col-xs-9{float:left}.factory-bootstrap-442 .col-xs-12{width:100%}.factory-bootstrap-442 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-442 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-442 .col-xs-9{width:75%}.factory-bootstrap-442 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-442 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-442 .col-xs-6{width:50%}.factory-bootstrap-442 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-442 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-442 .col-xs-3{width:25%}.factory-bootstrap-442 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-442 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-442 .col-xs-pull-12{right:100%}.factory-bootstrap-442 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-442 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-442 .col-xs-pull-9{right:75%}.factory-bootstrap-442 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-442 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-442 .col-xs-pull-6{right:50%}.factory-bootstrap-442 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-442 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-442 .col-xs-pull-3{right:25%}.factory-bootstrap-442 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-442 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-442 .col-xs-pull-0{right:0}.factory-bootstrap-442 .col-xs-push-12{left:100%}.factory-bootstrap-442 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-442 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-442 .col-xs-push-9{left:75%}.factory-bootstrap-442 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-442 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-442 .col-xs-push-6{left:50%}.factory-bootstrap-442 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-442 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-442 .col-xs-push-3{left:25%}.factory-bootstrap-442 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-442 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-442 .col-xs-push-0{left:0}.factory-bootstrap-442 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-442 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-442 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-442 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-442 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-442 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-442 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-442 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-442 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-442 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-442 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-442 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-442 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-442 table{max-width:100%;background-color:transparent}.factory-bootstrap-442 th{text-align:left}.factory-bootstrap-442 .table{width:100%;margin-bottom:20px}.factory-bootstrap-442 .table>tbody>tr>td,.factory-bootstrap-442 .table>tbody>tr>th,.factory-bootstrap-442 .table>tfoot>tr>td,.factory-bootstrap-442 .table>tfoot>tr>th,.factory-bootstrap-442 .table>thead>tr>td,.factory-bootstrap-442 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-442 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-442 .table>caption+thead>tr:first-child>td,.factory-bootstrap-442 .table>caption+thead>tr:first-child>th,.factory-bootstrap-442 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-442 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-442 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-442 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-442 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-442 .table .table{background-color:#fff}.factory-bootstrap-442 .table-condensed>tbody>tr>td,.factory-bootstrap-442 .table-condensed>tbody>tr>th,.factory-bootstrap-442 .table-condensed>tfoot>tr>td,.factory-bootstrap-442 .table-condensed>tfoot>tr>th,.factory-bootstrap-442 .table-condensed>thead>tr>td,.factory-bootstrap-442 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-442 .table-bordered,.factory-bootstrap-442 .table-bordered>tbody>tr>td,.factory-bootstrap-442 .table-bordered>tbody>tr>th,.factory-bootstrap-442 .table-bordered>tfoot>tr>td,.factory-bootstrap-442 .table-bordered>tfoot>tr>th,.factory-bootstrap-442 .table-bordered>thead>tr>td,.factory-bootstrap-442 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-442 .table-bordered>thead>tr>td,.factory-bootstrap-442 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-442 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-442 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-442 .table-hover>tbody>tr:hover>td,.factory-bootstrap-442 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-442 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-442 table td[class*=col-],.factory-bootstrap-442 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-442 .table>tbody>.active>td,.factory-bootstrap-442 .table>tbody>.active>th,.factory-bootstrap-442 .table>tbody>tr>.active,.factory-bootstrap-442 .table>tfoot>.active>td,.factory-bootstrap-442 .table>tfoot>.active>th,.factory-bootstrap-442 .table>tfoot>tr>.active,.factory-bootstrap-442 .table>thead>.active>td,.factory-bootstrap-442 .table>thead>.active>th,.factory-bootstrap-442 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-442 .table-hover>tbody>.active:hover>td,.factory-bootstrap-442 .table-hover>tbody>.active:hover>th,.factory-bootstrap-442 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-442 .table>tbody>.success>td,.factory-bootstrap-442 .table>tbody>.success>th,.factory-bootstrap-442 .table>tbody>tr>.success,.factory-bootstrap-442 .table>tfoot>.success>td,.factory-bootstrap-442 .table>tfoot>.success>th,.factory-bootstrap-442 .table>tfoot>tr>.success,.factory-bootstrap-442 .table>thead>.success>td,.factory-bootstrap-442 .table>thead>.success>th,.factory-bootstrap-442 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-442 .table-hover>tbody>.success:hover>td,.factory-bootstrap-442 .table-hover>tbody>.success:hover>th,.factory-bootstrap-442 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-442 .table>tbody>.danger>td,.factory-bootstrap-442 .table>tbody>.danger>th,.factory-bootstrap-442 .table>tbody>tr>.danger,.factory-bootstrap-442 .table>tfoot>.danger>td,.factory-bootstrap-442 .table>tfoot>.danger>th,.factory-bootstrap-442 .table>tfoot>tr>.danger,.factory-bootstrap-442 .table>thead>.danger>td,.factory-bootstrap-442 .table>thead>.danger>th,.factory-bootstrap-442 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-442 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-442 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-442 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-442 .table>tbody>.warning>td,.factory-bootstrap-442 .table>tbody>.warning>th,.factory-bootstrap-442 .table>tbody>tr>.warning,.factory-bootstrap-442 .table>tfoot>.warning>td,.factory-bootstrap-442 .table>tfoot>.warning>th,.factory-bootstrap-442 .table>tfoot>tr>.warning,.factory-bootstrap-442 .table>thead>.warning>td,.factory-bootstrap-442 .table>thead>.warning>th,.factory-bootstrap-442 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-442 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-442 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-442 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-442 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-442 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-442 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-442 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-442 input[type=checkbox],.factory-bootstrap-442 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-442 input[type=file]{display:block}.factory-bootstrap-442 select[multiple],.factory-bootstrap-442 select[size]{height:auto}.factory-bootstrap-442 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-442 input[type=checkbox]:focus,.factory-bootstrap-442 input[type=file]:focus,.factory-bootstrap-442 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-442 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-442 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-442 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-442 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-442 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-442 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-442 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-442 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-442 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-442 .form-control[disabled],.factory-bootstrap-442 .form-control[readonly],.factory-bootstrap-442 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-442 textarea.form-control{height:auto}.factory-bootstrap-442 .form-group{margin-bottom:15px}.factory-bootstrap-442 .checkbox,.factory-bootstrap-442 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-442 .checkbox label,.factory-bootstrap-442 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-442 .checkbox input[type=checkbox],.factory-bootstrap-442 .checkbox-inline input[type=checkbox],.factory-bootstrap-442 .radio input[type=radio],.factory-bootstrap-442 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-442 .checkbox+.checkbox,.factory-bootstrap-442 .radio+.radio{margin-top:-5px}.factory-bootstrap-442 .checkbox-inline,.factory-bootstrap-442 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-442 .checkbox-inline+.checkbox-inline,.factory-bootstrap-442 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-442 .checkbox-inline[disabled],.factory-bootstrap-442 .checkbox[disabled],.factory-bootstrap-442 .radio-inline[disabled],.factory-bootstrap-442 .radio[disabled],.factory-bootstrap-442 fieldset[disabled] .checkbox,.factory-bootstrap-442 fieldset[disabled] .checkbox-inline,.factory-bootstrap-442 fieldset[disabled] .radio,.factory-bootstrap-442 fieldset[disabled] .radio-inline,.factory-bootstrap-442 fieldset[disabled] input[type=checkbox],.factory-bootstrap-442 fieldset[disabled] input[type=radio],.factory-bootstrap-442 input[type=checkbox][disabled],.factory-bootstrap-442 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-442 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-442 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-442 textarea.input-sm{height:auto}.factory-bootstrap-442 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-442 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-442 textarea.input-lg{height:auto}.factory-bootstrap-442 .has-warning .checkbox,.factory-bootstrap-442 .has-warning .checkbox-inline,.factory-bootstrap-442 .has-warning .control-label,.factory-bootstrap-442 .has-warning .help-block,.factory-bootstrap-442 .has-warning .radio,.factory-bootstrap-442 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-442 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-442 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-442 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-442 .has-error .checkbox,.factory-bootstrap-442 .has-error .checkbox-inline,.factory-bootstrap-442 .has-error .control-label,.factory-bootstrap-442 .has-error .help-block,.factory-bootstrap-442 .has-error .radio,.factory-bootstrap-442 .has-error .radio-inline{color:#a94442}.factory-bootstrap-442 .controls{display:block}.factory-bootstrap-442 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-442 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-442 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-442 .has-success .checkbox,.factory-bootstrap-442 .has-success .checkbox-inline,.factory-bootstrap-442 .has-success .control-label,.factory-bootstrap-442 .has-success .help-block,.factory-bootstrap-442 .has-success .radio,.factory-bootstrap-442 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-442 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-442 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-442 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-442 .form-control-static{margin-bottom:0}.factory-bootstrap-442 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-442 .form-horizontal .checkbox,.factory-bootstrap-442 .form-horizontal .checkbox-inline,.factory-bootstrap-442 .form-horizontal .control-label,.factory-bootstrap-442 .form-horizontal .radio,.factory-bootstrap-442 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-442 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-442 .form-horizontal .checkbox,.factory-bootstrap-442 .form-horizontal .radio{min-height:27px}.factory-bootstrap-442 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-442 .form-horizontal .form-group:after,.factory-bootstrap-442 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-442 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-442 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-442 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-442 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-442 .btn{text-decoration:none}.factory-bootstrap-442 .btn:focus,.factory-bootstrap-442 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-442 .btn.disabled,.factory-bootstrap-442 .btn[disabled],.factory-bootstrap-442 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-442 .btn-default.active,.factory-bootstrap-442 .btn-default:active,.factory-bootstrap-442 .btn-default:focus,.factory-bootstrap-442 .btn-default:hover,.factory-bootstrap-442 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-442 .btn-default.active,.factory-bootstrap-442 .btn-default:active,.factory-bootstrap-442 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-442 .btn-default.disabled,.factory-bootstrap-442 .btn-default.disabled.active,.factory-bootstrap-442 .btn-default.disabled:active,.factory-bootstrap-442 .btn-default.disabled:focus,.factory-bootstrap-442 .btn-default.disabled:hover,.factory-bootstrap-442 .btn-default[disabled],.factory-bootstrap-442 .btn-default[disabled].active,.factory-bootstrap-442 .btn-default[disabled]:active,.factory-bootstrap-442 .btn-default[disabled]:focus,.factory-bootstrap-442 .btn-default[disabled]:hover,.factory-bootstrap-442 fieldset[disabled] .btn-default,.factory-bootstrap-442 fieldset[disabled] .btn-default.active,.factory-bootstrap-442 fieldset[disabled] .btn-default:active,.factory-bootstrap-442 fieldset[disabled] .btn-default:focus,.factory-bootstrap-442 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-442 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-442 .btn-primary.active,.factory-bootstrap-442 .btn-primary:active,.factory-bootstrap-442 .btn-primary:focus,.factory-bootstrap-442 .btn-primary:hover,.factory-bootstrap-442 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-442 .btn-primary.active,.factory-bootstrap-442 .btn-primary:active,.factory-bootstrap-442 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-442 .btn-primary.disabled,.factory-bootstrap-442 .btn-primary.disabled.active,.factory-bootstrap-442 .btn-primary.disabled:active,.factory-bootstrap-442 .btn-primary.disabled:focus,.factory-bootstrap-442 .btn-primary.disabled:hover,.factory-bootstrap-442 .btn-primary[disabled],.factory-bootstrap-442 .btn-primary[disabled].active,.factory-bootstrap-442 .btn-primary[disabled]:active,.factory-bootstrap-442 .btn-primary[disabled]:focus,.factory-bootstrap-442 .btn-primary[disabled]:hover,.factory-bootstrap-442 fieldset[disabled] .btn-primary,.factory-bootstrap-442 fieldset[disabled] .btn-primary.active,.factory-bootstrap-442 fieldset[disabled] .btn-primary:active,.factory-bootstrap-442 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-442 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-442 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-442 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-442 .btn-warning.active,.factory-bootstrap-442 .btn-warning:active,.factory-bootstrap-442 .btn-warning:focus,.factory-bootstrap-442 .btn-warning:hover,.factory-bootstrap-442 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-442 .btn-warning.active,.factory-bootstrap-442 .btn-warning:active,.factory-bootstrap-442 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-442 .btn-warning.disabled,.factory-bootstrap-442 .btn-warning.disabled.active,.factory-bootstrap-442 .btn-warning.disabled:active,.factory-bootstrap-442 .btn-warning.disabled:focus,.factory-bootstrap-442 .btn-warning.disabled:hover,.factory-bootstrap-442 .btn-warning[disabled],.factory-bootstrap-442 .btn-warning[disabled].active,.factory-bootstrap-442 .btn-warning[disabled]:active,.factory-bootstrap-442 .btn-warning[disabled]:focus,.factory-bootstrap-442 .btn-warning[disabled]:hover,.factory-bootstrap-442 fieldset[disabled] .btn-warning,.factory-bootstrap-442 fieldset[disabled] .btn-warning.active,.factory-bootstrap-442 fieldset[disabled] .btn-warning:active,.factory-bootstrap-442 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-442 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-442 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-442 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-442 .btn-success.active,.factory-bootstrap-442 .btn-success:active,.factory-bootstrap-442 .btn-success:focus,.factory-bootstrap-442 .btn-success:hover,.factory-bootstrap-442 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-442 .btn-success.active,.factory-bootstrap-442 .btn-success:active,.factory-bootstrap-442 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-442 .btn-success.disabled,.factory-bootstrap-442 .btn-success.disabled.active,.factory-bootstrap-442 .btn-success.disabled:active,.factory-bootstrap-442 .btn-success.disabled:focus,.factory-bootstrap-442 .btn-success.disabled:hover,.factory-bootstrap-442 .btn-success[disabled],.factory-bootstrap-442 .btn-success[disabled].active,.factory-bootstrap-442 .btn-success[disabled]:active,.factory-bootstrap-442 .btn-success[disabled]:focus,.factory-bootstrap-442 .btn-success[disabled]:hover,.factory-bootstrap-442 fieldset[disabled] .btn-success,.factory-bootstrap-442 fieldset[disabled] .btn-success.active,.factory-bootstrap-442 fieldset[disabled] .btn-success:active,.factory-bootstrap-442 fieldset[disabled] .btn-success:focus,.factory-bootstrap-442 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-442 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-442 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-442 .btn-info.active,.factory-bootstrap-442 .btn-info:active,.factory-bootstrap-442 .btn-info:focus,.factory-bootstrap-442 .btn-info:hover,.factory-bootstrap-442 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-442 .btn-info.active,.factory-bootstrap-442 .btn-info:active,.factory-bootstrap-442 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-442 .btn-info.disabled,.factory-bootstrap-442 .btn-info.disabled.active,.factory-bootstrap-442 .btn-info.disabled:active,.factory-bootstrap-442 .btn-info.disabled:focus,.factory-bootstrap-442 .btn-info.disabled:hover,.factory-bootstrap-442 .btn-info[disabled],.factory-bootstrap-442 .btn-info[disabled].active,.factory-bootstrap-442 .btn-info[disabled]:active,.factory-bootstrap-442 .btn-info[disabled]:focus,.factory-bootstrap-442 .btn-info[disabled]:hover,.factory-bootstrap-442 fieldset[disabled] .btn-info,.factory-bootstrap-442 fieldset[disabled] .btn-info.active,.factory-bootstrap-442 fieldset[disabled] .btn-info:active,.factory-bootstrap-442 fieldset[disabled] .btn-info:focus,.factory-bootstrap-442 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-442 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-442 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-442 .btn-link,.factory-bootstrap-442 .btn-link:active,.factory-bootstrap-442 .btn-link[disabled],.factory-bootstrap-442 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-442 .btn-link,.factory-bootstrap-442 .btn-link:active,.factory-bootstrap-442 .btn-link:focus,.factory-bootstrap-442 .btn-link:hover{border-color:transparent}.factory-bootstrap-442 .btn-link:focus,.factory-bootstrap-442 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-442 .btn-link[disabled]:focus,.factory-bootstrap-442 .btn-link[disabled]:hover,.factory-bootstrap-442 fieldset[disabled] .btn-link:focus,.factory-bootstrap-442 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-442 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-442 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-442 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-442 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-442 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-442 input[type=button].btn-block,.factory-bootstrap-442 input[type=reset].btn-block,.factory-bootstrap-442 input[type=submit].btn-block{width:100%}.factory-bootstrap-442 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-442 .fade.in{opacity:1}.factory-bootstrap-442 .collapse{display:none}.factory-bootstrap-442 .collapse.in{display:block}.factory-bootstrap-442 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-442 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-442 .glyphicon:empty{width:1em}.factory-bootstrap-442 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-442 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-442 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-442 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-442 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-442 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-442 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-442 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-442 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-442 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-442 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-442 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-442 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-442 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-442 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-442 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-442 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-442 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-442 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-442 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-442 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-442 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-442 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-442 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-442 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-442 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-442 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-442 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-442 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-442 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-442 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-442 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-442 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-442 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-442 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-442 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-442 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-442 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-442 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-442 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-442 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-442 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-442 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-442 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-442 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-442 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-442 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-442 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-442 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-442 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-442 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-442 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-442 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-442 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-442 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-442 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-442 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-442 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-442 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-442 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-442 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-442 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-442 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-442 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-442 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-442 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-442 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-442 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-442 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-442 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-442 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-442 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-442 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-442 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-442 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-442 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-442 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-442 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-442 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-442 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-442 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-442 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-442 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-442 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-442 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-442 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-442 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-442 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-442 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-442 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-442 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-442 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-442 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-442 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-442 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-442 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-442 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-442 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-442 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-442 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-442 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-442 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-442 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-442 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-442 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-442 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-442 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-442 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-442 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-442 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-442 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-442 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-442 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-442 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-442 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-442 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-442 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-442 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-442 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-442 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-442 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-442 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-442 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-442 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-442 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-442 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-442 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-442 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-442 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-442 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-442 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-442 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-442 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-442 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-442 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-442 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-442 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-442 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-442 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-442 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-442 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-442 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-442 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-442 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-442 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-442 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-442 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-442 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-442 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-442 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-442 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-442 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-442 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-442 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-442 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-442 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-442 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-442 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-442 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-442 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-442 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-442 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-442 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-442 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-442 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-442 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-442 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-442 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-442 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-442 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-442 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-442 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-442 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-442 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-442 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-442 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-442 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-442 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-442 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-442 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-442 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-442 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-442 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-442 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-442 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-442 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-442 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-442 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-442 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-442 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-442 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-442 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-442 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-442 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-442 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-442 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-442 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-442 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-442 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-442 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-442 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-442 .dropdown{position:relative}.factory-bootstrap-442 .dropdown-toggle:focus{outline:0}.factory-bootstrap-442 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-442 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-442 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-442 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-442 .dropdown-menu>li>a:focus,.factory-bootstrap-442 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-442 .dropdown-menu>.active>a,.factory-bootstrap-442 .dropdown-menu>.active>a:focus,.factory-bootstrap-442 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-442 .dropdown-menu>.disabled>a,.factory-bootstrap-442 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-442 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-442 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-442 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-442 .open>.dropdown-menu{display:block}.factory-bootstrap-442 .open>a{outline:0}.factory-bootstrap-442 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-442 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-442 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-442 .dropup .caret,.factory-bootstrap-442 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-442 .dropup .dropdown-menu,.factory-bootstrap-442 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-442 .btn-group,.factory-bootstrap-442 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-442 .btn-group-vertical>.btn,.factory-bootstrap-442 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-442 .btn-group-vertical>.btn.active,.factory-bootstrap-442 .btn-group-vertical>.btn:active,.factory-bootstrap-442 .btn-group-vertical>.btn:focus,.factory-bootstrap-442 .btn-group-vertical>.btn:hover,.factory-bootstrap-442 .btn-group>.btn.active,.factory-bootstrap-442 .btn-group>.btn:active,.factory-bootstrap-442 .btn-group>.btn:focus,.factory-bootstrap-442 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-442 .btn-group-vertical>.btn:focus,.factory-bootstrap-442 .btn-group>.btn:focus{outline:0}.factory-bootstrap-442 .btn-group .btn+.btn,.factory-bootstrap-442 .btn-group .btn+.btn-group,.factory-bootstrap-442 .btn-group .btn-group+.btn,.factory-bootstrap-442 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-442 .btn-toolbar:after,.factory-bootstrap-442 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-442 .btn-toolbar:after{clear:both}.factory-bootstrap-442 .btn-toolbar .btn-group{float:left}.factory-bootstrap-442 .btn-toolbar>.btn+.btn,.factory-bootstrap-442 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-442 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-442 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-442 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-442 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-442 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-442 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-442 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-442 .btn-group>.btn-group{float:left}.factory-bootstrap-442 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-442 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-442 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-442 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-442 .btn-group .dropdown-toggle:active,.factory-bootstrap-442 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-442 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-442 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-442 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-442 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-442 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-442 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-442 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-442 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-442 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-442 .btn .caret{margin-left:0}.factory-bootstrap-442 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-442 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-442 .btn-group-vertical>.btn,.factory-bootstrap-442 .btn-group-vertical>.btn-group,.factory-bootstrap-442 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-442 .btn-group-vertical>.btn-group:after,.factory-bootstrap-442 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-442 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-442 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-442 .btn-group-vertical>.btn+.btn,.factory-bootstrap-442 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-442 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-442 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-442 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-442 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-442 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-442 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-442 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-442 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-442 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-442 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-442 .btn-group-justified>.btn,.factory-bootstrap-442 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-442 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-442 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-442 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-442 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-442 .input-group-lg>.form-control,.factory-bootstrap-442 .input-group-lg>.input-group-addon,.factory-bootstrap-442 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-442 select.input-group-lg>.form-control,.factory-bootstrap-442 select.input-group-lg>.input-group-addon,.factory-bootstrap-442 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-442 textarea.input-group-lg>.form-control,.factory-bootstrap-442 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-442 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-442 .input-group-sm>.form-control,.factory-bootstrap-442 .input-group-sm>.input-group-addon,.factory-bootstrap-442 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-442 select.input-group-sm>.form-control,.factory-bootstrap-442 select.input-group-sm>.input-group-addon,.factory-bootstrap-442 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-442 textarea.input-group-sm>.form-control,.factory-bootstrap-442 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-442 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-442 .input-group .form-control,.factory-bootstrap-442 .input-group-addon,.factory-bootstrap-442 .input-group-btn{display:table-cell}.factory-bootstrap-442 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-442 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-442 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-442 .input-group-addon,.factory-bootstrap-442 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-442 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-442 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-442 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-442 .input-group-addon input[type=checkbox],.factory-bootstrap-442 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-442 .input-group .form-control:first-child,.factory-bootstrap-442 .input-group-addon:first-child,.factory-bootstrap-442 .input-group-btn:first-child>.btn,.factory-bootstrap-442 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-442 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-442 .input-group-addon:first-child{border-right:0}.factory-bootstrap-442 .input-group .form-control:last-child,.factory-bootstrap-442 .input-group-addon:last-child,.factory-bootstrap-442 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-442 .input-group-btn:last-child>.btn,.factory-bootstrap-442 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-442 .input-group-addon:last-child{border-left:0}.factory-bootstrap-442 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-442 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-442 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-442 .input-group-btn>.btn{position:relative}.factory-bootstrap-442 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-442 .input-group-btn>.btn:active,.factory-bootstrap-442 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-442 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-442 .nav:after,.factory-bootstrap-442 .nav:before{display:table;content:" "}.factory-bootstrap-442 .nav:after{clear:both}.factory-bootstrap-442 .nav>li{position:relative;display:block}.factory-bootstrap-442 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-442 .nav>li>a:focus,.factory-bootstrap-442 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-442 .nav>li.disabled>a{color:#999}.factory-bootstrap-442 .nav>li.disabled>a:focus,.factory-bootstrap-442 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-442 .nav .open>a,.factory-bootstrap-442 .nav .open>a:focus,.factory-bootstrap-442 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-442 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-442 .nav>li>a>img{max-width:none}.factory-bootstrap-442 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-442 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-442 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-442 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-442 .nav-tabs>li.active>a,.factory-bootstrap-442 .nav-tabs>li.active>a:focus,.factory-bootstrap-442 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-442 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-442 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-442 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-442 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-442 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-442 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-442 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-442 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-442 .nav-pills>li{float:left}.factory-bootstrap-442 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-442 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-442 .nav-pills>li.active>a,.factory-bootstrap-442 .nav-pills>li.active>a:focus,.factory-bootstrap-442 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-442 .nav-stacked>li{float:none}.factory-bootstrap-442 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-442 .nav-justified{width:100%}.factory-bootstrap-442 .nav-justified>li{float:none}.factory-bootstrap-442 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-442 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-442 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-442 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-442 .nav-tabs-justified>.active>a,.factory-bootstrap-442 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-442 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-442 .tab-content>.tab-pane{display:none}.factory-bootstrap-442 .tab-content>.active{display:block}.factory-bootstrap-442 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-442 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-442 .navbar:after,.factory-bootstrap-442 .navbar:before{display:table;content:" "}.factory-bootstrap-442 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-442 .navbar-header:after,.factory-bootstrap-442 .navbar-header:before{display:table;content:" "}.factory-bootstrap-442 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-442 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-442 .navbar-collapse:after,.factory-bootstrap-442 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-442 .navbar-collapse:after{clear:both}.factory-bootstrap-442 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-442 .container>.navbar-collapse,.factory-bootstrap-442 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-442 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-442 .navbar-fixed-bottom,.factory-bootstrap-442 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-442 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-442 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-442 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-442 .navbar-brand:focus,.factory-bootstrap-442 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-442 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-442 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-442 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-442 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-442 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-442 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-442 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-442 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-442 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-442 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-442 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-442 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-442 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-442 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-442 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-442 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-442 .navbar-default .navbar-brand:focus,.factory-bootstrap-442 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-442 .navbar-default .navbar-nav>li>a,.factory-bootstrap-442 .navbar-default .navbar-text{color:#777}.factory-bootstrap-442 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-442 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-442 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-442 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-442 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-442 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-442 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-442 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-442 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-442 .navbar-default .navbar-toggle:focus,.factory-bootstrap-442 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-442 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-442 .navbar-default .navbar-collapse,.factory-bootstrap-442 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-442 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-442 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-442 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-442 .navbar-default .navbar-link{color:#777}.factory-bootstrap-442 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-442 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-442 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-442 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-442 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-442 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-442 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-442 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-442 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-442 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-442 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-442 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-442 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-442 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-442 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-442 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-442 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-442 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-442 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-442 .navbar-inverse .navbar-collapse,.factory-bootstrap-442 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-442 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-442 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-442 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-442 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-442 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-442 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-442 .breadcrumb>li{display:inline-block}.factory-bootstrap-442 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-442 .breadcrumb>.active{color:#999}.factory-bootstrap-442 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-442 .pagination>li{display:inline}.factory-bootstrap-442 .pagination>li>a,.factory-bootstrap-442 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-442 .pagination>li:first-child>a,.factory-bootstrap-442 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-442 .pagination>li:last-child>a,.factory-bootstrap-442 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-442 .pagination>li>a:focus,.factory-bootstrap-442 .pagination>li>a:hover,.factory-bootstrap-442 .pagination>li>span:focus,.factory-bootstrap-442 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-442 .pagination>.active>a,.factory-bootstrap-442 .pagination>.active>a:focus,.factory-bootstrap-442 .pagination>.active>a:hover,.factory-bootstrap-442 .pagination>.active>span,.factory-bootstrap-442 .pagination>.active>span:focus,.factory-bootstrap-442 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-442 .pagination>.disabled>a,.factory-bootstrap-442 .pagination>.disabled>a:focus,.factory-bootstrap-442 .pagination>.disabled>a:hover,.factory-bootstrap-442 .pagination>.disabled>span,.factory-bootstrap-442 .pagination>.disabled>span:focus,.factory-bootstrap-442 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-442 .pagination-lg>li>a,.factory-bootstrap-442 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-442 .pagination-lg>li:first-child>a,.factory-bootstrap-442 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-442 .pagination-lg>li:last-child>a,.factory-bootstrap-442 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-442 .pagination-sm>li>a,.factory-bootstrap-442 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-442 .pagination-sm>li:first-child>a,.factory-bootstrap-442 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-442 .pagination-sm>li:last-child>a,.factory-bootstrap-442 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-442 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-442 .pager:after,.factory-bootstrap-442 .pager:before{display:table;content:" "}.factory-bootstrap-442 .pager:after{clear:both}.factory-bootstrap-442 .pager li{display:inline}.factory-bootstrap-442 .pager li>a,.factory-bootstrap-442 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-442 .pager li>a:focus,.factory-bootstrap-442 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-442 .pager .next>a,.factory-bootstrap-442 .pager .next>span{float:right}.factory-bootstrap-442 .pager .previous>a,.factory-bootstrap-442 .pager .previous>span{float:left}.factory-bootstrap-442 .pager .disabled>a,.factory-bootstrap-442 .pager .disabled>a:focus,.factory-bootstrap-442 .pager .disabled>a:hover,.factory-bootstrap-442 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-442 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-442 .label[href]:focus,.factory-bootstrap-442 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-442 .label:empty{display:none}.factory-bootstrap-442 .btn .label{position:relative;top:-1px}.factory-bootstrap-442 .label-default{background-color:#999}.factory-bootstrap-442 .label-default[href]:focus,.factory-bootstrap-442 .label-default[href]:hover{background-color:gray}.factory-bootstrap-442 .label-primary{background-color:#428bca}.factory-bootstrap-442 .label-primary[href]:focus,.factory-bootstrap-442 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-442 .label-success{background-color:#5cb85c}.factory-bootstrap-442 .label-success[href]:focus,.factory-bootstrap-442 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-442 .label-info{background-color:#5bc0de}.factory-bootstrap-442 .label-info[href]:focus,.factory-bootstrap-442 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-442 .label-warning{background-color:#f0ad4e}.factory-bootstrap-442 .label-warning[href]:focus,.factory-bootstrap-442 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-442 .label-danger{background-color:#d9534f}.factory-bootstrap-442 .label-danger[href]:focus,.factory-bootstrap-442 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-442 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-442 .badge:empty{display:none}.factory-bootstrap-442 .btn .badge{position:relative;top:-1px}.factory-bootstrap-442 a.badge:focus,.factory-bootstrap-442 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-442 .nav-pills>.active>a>.badge,.factory-bootstrap-442 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-442 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-442 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-442 .jumbotron .h1,.factory-bootstrap-442 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-442 .jumbotron p{line-height:1.4}.factory-bootstrap-442 .container .jumbotron{border-radius:6px}.factory-bootstrap-442 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-442 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-442 .thumbnail a>img,.factory-bootstrap-442 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-442 a.thumbnail.active,.factory-bootstrap-442 a.thumbnail:focus,.factory-bootstrap-442 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-442 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-442 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-442 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-442 .alert .alert-link{font-weight:700}.factory-bootstrap-442 .alert>p,.factory-bootstrap-442 .alert>ul{margin-bottom:0}.factory-bootstrap-442 .alert>p+p{margin-top:5px}.factory-bootstrap-442 .alert-dismissable{padding-right:35px}.factory-bootstrap-442 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-442 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-442 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-442 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-442 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-442 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-442 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-442 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-442 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-442 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-442 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-442 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-442 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-442 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-442 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-442 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-442 .media,.factory-bootstrap-442 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-442 .media,.factory-bootstrap-442 .media .media{margin-top:15px}.factory-bootstrap-442 .media:first-child{margin-top:0}.factory-bootstrap-442 .media-object{display:block}.factory-bootstrap-442 .media-heading{margin:0 0 5px}.factory-bootstrap-442 .media>.pull-left{margin-right:10px}.factory-bootstrap-442 .media>.pull-right{margin-left:10px}.factory-bootstrap-442 .media-list{padding-left:0;list-style:none}.factory-bootstrap-442 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-442 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-442 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-442 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-442 .list-group-item>.badge{float:right}.factory-bootstrap-442 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-442 a.list-group-item{color:#555}.factory-bootstrap-442 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-442 a.list-group-item:focus,.factory-bootstrap-442 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-442 a.list-group-item.active,.factory-bootstrap-442 a.list-group-item.active:focus,.factory-bootstrap-442 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-442 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-442 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-442 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-442 a.list-group-item.active .list-group-item-text,.factory-bootstrap-442 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-442 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-442 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-442 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-442 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-442 .panel-body{padding:15px}.factory-bootstrap-442 .panel-body:after,.factory-bootstrap-442 .panel-body:before{display:table;content:" "}.factory-bootstrap-442 .panel-body:after{clear:both}.factory-bootstrap-442 .panel>.list-group{margin-bottom:0}.factory-bootstrap-442 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-442 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-442 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-442 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-442 .panel>.table,.factory-bootstrap-442 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-442 .panel>.panel-body+.table,.factory-bootstrap-442 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-442 .panel>.table>tbody:first-child td,.factory-bootstrap-442 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-442 .panel>.table-bordered,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-442 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-442 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-442 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-442 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-442 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-442 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-442 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-442 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-442 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-442 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-442 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-442 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-442 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-442 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-442 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-442 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-442 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-442 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-442 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-442 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-442 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-442 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-442 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-442 .panel-title>a{color:inherit}.factory-bootstrap-442 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-442 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-442 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-442 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-442 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-442 .panel-group .panel-footer{border-top:0}.factory-bootstrap-442 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-442 .panel-default{border-color:#ddd}.factory-bootstrap-442 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-442 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-442 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-442 .panel-primary{border-color:#428bca}.factory-bootstrap-442 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-442 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-442 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-442 .panel-success{border-color:#d6e9c6}.factory-bootstrap-442 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-442 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-442 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-442 .panel-warning{border-color:#faebcc}.factory-bootstrap-442 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-442 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-442 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-442 .panel-danger{border-color:#ebccd1}.factory-bootstrap-442 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-442 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-442 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-442 .panel-info{border-color:#bce8f1}.factory-bootstrap-442 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-442 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-442 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-442 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-442 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-442 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-442 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-442 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-442 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-442 .close:focus,.factory-bootstrap-442 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-442 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-442 .modal-open{overflow:hidden}.factory-bootstrap-442 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-442 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-442 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-442 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-442 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-442 .modal-backdrop,.factory-bootstrap-442-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-442 .modal-backdrop.fade,.factory-bootstrap-442-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-442 .modal-backdrop.in,.factory-bootstrap-442-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-442 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-442 .modal-header .close{margin-top:-2px}.factory-bootstrap-442 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-442 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-442 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-442 .modal-footer:after,.factory-bootstrap-442 .modal-footer:before{display:table;content:" "}.factory-bootstrap-442 .modal-footer:after{clear:both}.factory-bootstrap-442 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-442 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-442 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-442 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-442 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-442 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-442 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-442 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-442 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-442 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-442 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-442 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-442 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-442 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-442 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-442 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-442 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-442 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-442 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-442 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-442 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-442 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-442 .popover.top{margin-top:-10px}.factory-bootstrap-442 .popover.right{margin-left:10px}.factory-bootstrap-442 .popover.bottom{margin-top:10px}.factory-bootstrap-442 .popover.left{margin-left:-10px}.factory-bootstrap-442 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-442 .popover-content{padding:9px 14px}.factory-bootstrap-442 .popover .arrow,.factory-bootstrap-442 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-442 .popover .arrow{border-width:11px}.factory-bootstrap-442 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-442 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-442 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-442 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-442 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-442 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-442 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-442 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-442 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-442 .carousel{position:relative}.factory-bootstrap-442 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-442 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-442 .carousel-inner>.item>a>img,.factory-bootstrap-442 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-442 .carousel-inner>.active,.factory-bootstrap-442 .carousel-inner>.next,.factory-bootstrap-442 .carousel-inner>.prev{display:block}.factory-bootstrap-442 .carousel-inner>.active{left:0}.factory-bootstrap-442 .carousel-inner>.next,.factory-bootstrap-442 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-442 .carousel-inner>.next{left:100%}.factory-bootstrap-442 .carousel-inner>.prev{left:-100%}.factory-bootstrap-442 .carousel-inner>.next.left,.factory-bootstrap-442 .carousel-inner>.prev.right{left:0}.factory-bootstrap-442 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-442 .carousel-inner>.active.right{left:100%}.factory-bootstrap-442 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-442 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-442 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-442 .carousel-control:focus,.factory-bootstrap-442 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-442 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-442 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-442 .carousel-control .icon-next,.factory-bootstrap-442 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-442 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-442 .carousel-control .icon-prev{left:50%}.factory-bootstrap-442 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-442 .carousel-control .icon-next{right:50%}.factory-bootstrap-442 .carousel-control .icon-next,.factory-bootstrap-442 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-442 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-442 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-442 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-442 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-442 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-442 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-442 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-442 .clearfix:after,.factory-bootstrap-442 .clearfix:before{display:table;content:" "}.factory-bootstrap-442 .clearfix:after{clear:both}.factory-bootstrap-442 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-442 .pull-right{float:right!important}.factory-bootstrap-442 .pull-left{float:left!important}.factory-bootstrap-442 .hide{display:none!important}.factory-bootstrap-442 .show{display:block!important}.factory-bootstrap-442 .invisible{visibility:hidden}.factory-bootstrap-442 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-442 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-442 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-442 .visible-lg,.factory-bootstrap-442 .visible-md,.factory-bootstrap-442 .visible-sm,.factory-bootstrap-442 .visible-xs,.factory-bootstrap-442 td.visible-lg,.factory-bootstrap-442 td.visible-md,.factory-bootstrap-442 td.visible-sm,.factory-bootstrap-442 td.visible-xs,.factory-bootstrap-442 th.visible-lg,.factory-bootstrap-442 th.visible-md,.factory-bootstrap-442 th.visible-sm,.factory-bootstrap-442 th.visible-xs,.factory-bootstrap-442 tr.visible-lg,.factory-bootstrap-442 tr.visible-md,.factory-bootstrap-442 tr.visible-sm,.factory-bootstrap-442 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-442 .hidden-xs{display:block!important}.factory-bootstrap-442 table.hidden-xs{display:table}.factory-bootstrap-442 tr.hidden-xs{display:table-row!important}.factory-bootstrap-442 td.hidden-xs,.factory-bootstrap-442 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-442 .hidden-sm{display:block!important}.factory-bootstrap-442 table.hidden-sm{display:table}.factory-bootstrap-442 tr.hidden-sm{display:table-row!important}.factory-bootstrap-442 td.hidden-sm,.factory-bootstrap-442 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-442 .hidden-md{display:block!important}.factory-bootstrap-442 table.hidden-md{display:table}.factory-bootstrap-442 tr.hidden-md{display:table-row!important}.factory-bootstrap-442 td.hidden-md,.factory-bootstrap-442 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-442 .hidden-lg{display:block!important}.factory-bootstrap-442 table.hidden-lg{display:table}.factory-bootstrap-442 tr.hidden-lg{display:table-row!important}.factory-bootstrap-442 td.hidden-lg,.factory-bootstrap-442 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-442 .hidden-lg.hidden-xs,.factory-bootstrap-442 td.hidden-lg.hidden-xs,.factory-bootstrap-442 th.hidden-lg.hidden-xs,.factory-bootstrap-442 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-442 .hidden-lg.hidden-sm,.factory-bootstrap-442 td.hidden-lg.hidden-sm,.factory-bootstrap-442 th.hidden-lg.hidden-sm,.factory-bootstrap-442 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-442 .hidden-lg.hidden-md,.factory-bootstrap-442 td.hidden-lg.hidden-md,.factory-bootstrap-442 th.hidden-lg.hidden-md,.factory-bootstrap-442 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-442 .hidden-lg,.factory-bootstrap-442 td.hidden-lg,.factory-bootstrap-442 th.hidden-lg,.factory-bootstrap-442 tr.hidden-lg{display:none!important}}.factory-bootstrap-442 .visible-print,.factory-bootstrap-442 td.visible-print,.factory-bootstrap-442 th.visible-print,.factory-bootstrap-442 tr.visible-print{display:none!important}@media print{.factory-bootstrap-442 .visible-print{display:block!important}.factory-bootstrap-442 table.visible-print{display:table}.factory-bootstrap-442 tr.visible-print{display:table-row!important}.factory-bootstrap-442 td.visible-print,.factory-bootstrap-442 th.visible-print{display:table-cell!important}.factory-bootstrap-442 .hidden-print,.factory-bootstrap-442 td.hidden-print,.factory-bootstrap-442 th.hidden-print,.factory-bootstrap-442 tr.hidden-print{display:none!important}}/*!
|
12 |
* Factory Default Bootstrap Theme
|
13 |
*
|
14 |
* The code is based on Bootstrap v2.1.1
|
@@ -22,4 +22,4 @@
|
|
22 |
*
|
23 |
* @package factory-bootstrap
|
24 |
* @since 1.0.0
|
25 |
-
*/.factory-bootstrap-442 .btn-danger,.factory-bootstrap-442 .btn-default,.factory-bootstrap-442 .btn-info,.factory-bootstrap-442 .btn-primary,.factory-bootstrap-442 .btn-success,.factory-bootstrap-442 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-442 .btn-danger.active,.factory-bootstrap-442 .btn-danger:active,.factory-bootstrap-442 .btn-default.active,.factory-bootstrap-442 .btn-default:active,.factory-bootstrap-442 .btn-info.active,.factory-bootstrap-442 .btn-info:active,.factory-bootstrap-442 .btn-primary.active,.factory-bootstrap-442 .btn-primary:active,.factory-bootstrap-442 .btn-success.active,.factory-bootstrap-442 .btn-success:active,.factory-bootstrap-442 .btn-warning.active,.factory-bootstrap-442 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-442 .btn.active,.factory-bootstrap-442 .btn:active{background-image:none}.factory-bootstrap-442 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-442 .btn-default.active,.factory-bootstrap-442 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-442 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-442 .btn-gold:focus,.factory-bootstrap-442 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-442 .btn-gold.active,.factory-bootstrap-442 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-442 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-442 .btn-primary:focus,.factory-bootstrap-442 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-442 .btn-primary.active,.factory-bootstrap-442 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-442 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-442 .btn-success:focus,.factory-bootstrap-442 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-442 .btn-success.active,.factory-bootstrap-442 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-442 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-442 .btn-warning:focus,.factory-bootstrap-442 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-442 .btn-warning.active,.factory-bootstrap-442 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-442 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-442 .btn-danger.active,.factory-bootstrap-442 .btn-danger:active,.factory-bootstrap-442 .btn-danger:focus,.factory-bootstrap-442 .btn-danger:hover,.factory-bootstrap-442 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-442 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-442 .btn-info:focus,.factory-bootstrap-442 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-442 .btn-info.active,.factory-bootstrap-442 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-442 .img-thumbnail,.factory-bootstrap-442 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-442 .dropdown-menu>li>a:focus,.factory-bootstrap-442 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-442 .dropdown-menu>.active>a,.factory-bootstrap-442 .dropdown-menu>.active>a:focus,.factory-bootstrap-442 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-442 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-442 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-442 .navbar-brand,.factory-bootstrap-442 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-442 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-442 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-442 .navbar-inverse .navbar-brand,.factory-bootstrap-442 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-442 .navbar-fixed-bottom,.factory-bootstrap-442 .navbar-fixed-top,.factory-bootstrap-442 .navbar-static-top{border-radius:0}.factory-bootstrap-442 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-442 .alert .actions{padding-top:10px}.factory-bootstrap-442 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-442 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-442 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-442 .alert-normal,.factory-bootstrap-442 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-442 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-442 .alert-danger a:not(.btn),.factory-bootstrap-442 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-442 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-442 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-442 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-442 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-442 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-442 .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.factory-bootstrap-442 .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-442 .list-group-item.active,.factory-bootstrap-442 .list-group-item.active:focus,.factory-bootstrap-442 .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.factory-bootstrap-442 .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-442 .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-442 .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-442 .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.factory-bootstrap-442 .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.factory-bootstrap-442 .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.factory-bootstrap-442 .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.factory-bootstrap-442 .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.factory-bootstrap-442 .factory-after{margin-left:7px;display:inline-block}.factory-bootstrap-442 .factory-hidden{display:none}.factory-bootstrap-442 .factory-ajax-loader{width:25px;height:25px;background:url(../assets/images/loader-sm-tr.gif)}.factory-control-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:5px;padding:4px 10px 3px;max-width:500px;display:inline-block}.factory-control-error i{margin:0 7px 0 1px}
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 article,.factory-bootstrap-444 aside,.factory-bootstrap-444 details,.factory-bootstrap-444 figcaption,.factory-bootstrap-444 figure,.factory-bootstrap-444 footer,.factory-bootstrap-444 header,.factory-bootstrap-444 hgroup,.factory-bootstrap-444 main,.factory-bootstrap-444 nav,.factory-bootstrap-444 section,.factory-bootstrap-444 summary{display:block}.factory-bootstrap-444 audio,.factory-bootstrap-444 canvas,.factory-bootstrap-444 video{display:inline-block}.factory-bootstrap-444 audio:not([controls]){display:none;height:0}.factory-bootstrap-444 [hidden],.factory-bootstrap-444 template{display:none}.factory-bootstrap-444 body{margin:0}.factory-bootstrap-444 a{background:0 0}.factory-bootstrap-444 a:focus{outline:thin dotted}.factory-bootstrap-444 a:active,.factory-bootstrap-444 a:hover{outline:0}.factory-bootstrap-444 h1{margin:.67em 0}.factory-bootstrap-444 b,.factory-bootstrap-444 strong{font-weight:700}.factory-bootstrap-444 dfn{font-style:italic}.factory-bootstrap-444 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-444 mark{color:#000;background:#ff0}.factory-bootstrap-444 code,.factory-bootstrap-444 kbd,.factory-bootstrap-444 pre,.factory-bootstrap-444 samp{font-size:1em}.factory-bootstrap-444 pre{white-space:pre-wrap}.factory-bootstrap-444 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-444 sub,.factory-bootstrap-444 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-444 sup{top:-.5em}.factory-bootstrap-444 sub{bottom:-.25em}.factory-bootstrap-444 img{border:0}.factory-bootstrap-444 svg:not(:root){overflow:hidden}.factory-bootstrap-444 figure{margin:0}.factory-bootstrap-444 button,.factory-bootstrap-444 input,.factory-bootstrap-444 select,.factory-bootstrap-444 textarea{margin:0}.factory-bootstrap-444 button,.factory-bootstrap-444 select{text-transform:none}.factory-bootstrap-444 select{padding-right:4px!important}.factory-bootstrap-444 button,.factory-bootstrap-444 input[type=reset],.factory-bootstrap-444 input[type=submit],html .factory-bootstrap-444 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-444 button[disabled],html .factory-bootstrap-444 input[disabled]{cursor:default}.factory-bootstrap-444 input[type=checkbox],.factory-bootstrap-444 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-444 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-444 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-444 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-444 button::-moz-focus-inner,.factory-bootstrap-444 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-444 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-444 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-444 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-444 a,.factory-bootstrap-444 a:visited{text-decoration:underline}.factory-bootstrap-444 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-444 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-444 a[href^="javascript:"]:after,.factory-bootstrap-444 a[href^="#"]:after{content:""}.factory-bootstrap-444 blockquote,.factory-bootstrap-444 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-444 thead{display:table-header-group}.factory-bootstrap-444 img,.factory-bootstrap-444 tr{page-break-inside:avoid}.factory-bootstrap-444 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-444 h2,.factory-bootstrap-444 h3,.factory-bootstrap-444 p{orphans:3;widows:3}.factory-bootstrap-444 h2,.factory-bootstrap-444 h3{page-break-after:avoid}.factory-bootstrap-444 select{background:#fff!important}.factory-bootstrap-444 .navbar{display:none}.factory-bootstrap-444 .table td,.factory-bootstrap-444 .table th{background-color:#fff!important}.factory-bootstrap-444 .btn>.caret,.factory-bootstrap-444 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-444 .label{border:1px solid #000}.factory-bootstrap-444 .table{border-collapse:collapse!important}.factory-bootstrap-444 .table-bordered td,.factory-bootstrap-444 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-444 *,.factory-bootstrap-444 :after,.factory-bootstrap-444 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-444{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-444 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-444 button,.factory-bootstrap-444 input,.factory-bootstrap-444 select,.factory-bootstrap-444 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-444 img{vertical-align:middle}.factory-bootstrap-444 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-444 .img-rounded{border-radius:6px}.factory-bootstrap-444 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-444 .img-circle{border-radius:50%}.factory-bootstrap-444 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-444 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-444 .h1,.factory-bootstrap-444 .h2,.factory-bootstrap-444 .h3,.factory-bootstrap-444 .h4,.factory-bootstrap-444 .h5,.factory-bootstrap-444 .h6,.factory-bootstrap-444 h1,.factory-bootstrap-444 h2,.factory-bootstrap-444 h3,.factory-bootstrap-444 h4,.factory-bootstrap-444 h5,.factory-bootstrap-444 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-444 .h1 .small,.factory-bootstrap-444 .h1 small,.factory-bootstrap-444 .h2 .small,.factory-bootstrap-444 .h2 small,.factory-bootstrap-444 .h3 .small,.factory-bootstrap-444 .h3 small,.factory-bootstrap-444 .h4 .small,.factory-bootstrap-444 .h4 small,.factory-bootstrap-444 .h5 .small,.factory-bootstrap-444 .h5 small,.factory-bootstrap-444 .h6 .small,.factory-bootstrap-444 .h6 small,.factory-bootstrap-444 h1 .small,.factory-bootstrap-444 h1 small,.factory-bootstrap-444 h2 .small,.factory-bootstrap-444 h2 small,.factory-bootstrap-444 h3 .small,.factory-bootstrap-444 h3 small,.factory-bootstrap-444 h4 .small,.factory-bootstrap-444 h4 small,.factory-bootstrap-444 h5 .small,.factory-bootstrap-444 h5 small,.factory-bootstrap-444 h6 .small,.factory-bootstrap-444 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-444 h1,.factory-bootstrap-444 h2,.factory-bootstrap-444 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-444 h1 .small,.factory-bootstrap-444 h1 small,.factory-bootstrap-444 h2 .small,.factory-bootstrap-444 h2 small,.factory-bootstrap-444 h3 .small,.factory-bootstrap-444 h3 small{font-size:65%}.factory-bootstrap-444 h4,.factory-bootstrap-444 h5,.factory-bootstrap-444 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-444 h4 .small,.factory-bootstrap-444 h4 small,.factory-bootstrap-444 h5 .small,.factory-bootstrap-444 h5 small,.factory-bootstrap-444 h6 .small,.factory-bootstrap-444 h6 small{font-size:75%}.factory-bootstrap-444 .h1,.factory-bootstrap-444 h1{font-size:36px}.factory-bootstrap-444 .h2,.factory-bootstrap-444 h2{font-size:30px}.factory-bootstrap-444 .h3,.factory-bootstrap-444 h3{font-size:24px}.factory-bootstrap-444 .h4,.factory-bootstrap-444 h4{font-size:18px}.factory-bootstrap-444 .h5,.factory-bootstrap-444 h5{font-size:14px}.factory-bootstrap-444 .h6,.factory-bootstrap-444 h6{font-size:12px}.factory-bootstrap-444 p{margin:0 0 10px}.factory-bootstrap-444 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-444 .small,.factory-bootstrap-444 small{font-size:85%}.factory-bootstrap-444 cite{font-style:normal}.factory-bootstrap-444 .text-muted{color:#999}.factory-bootstrap-444 .text-primary{color:#428bca}.factory-bootstrap-444 .text-primary:hover{color:#3071a9}.factory-bootstrap-444 .text-warning{color:#8a6d3b}.factory-bootstrap-444 .text-warning:hover{color:#66512c}.factory-bootstrap-444 .text-danger{color:#a94442}.factory-bootstrap-444 .text-danger:hover{color:#843534}.factory-bootstrap-444 .text-success{color:#3c763d}.factory-bootstrap-444 .text-success:hover{color:#2b542c}.factory-bootstrap-444 .text-info{color:#31708f}.factory-bootstrap-444 .text-info:hover{color:#245269}.factory-bootstrap-444 .text-left{text-align:left}.factory-bootstrap-444 .text-right{text-align:right}.factory-bootstrap-444 .text-center{text-align:center}.factory-bootstrap-444 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-444 ol,.factory-bootstrap-444 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-444 ol ol,.factory-bootstrap-444 ol ul,.factory-bootstrap-444 ul ol,.factory-bootstrap-444 ul ul{margin-bottom:0}.factory-bootstrap-444 .list-inline,.factory-bootstrap-444 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-444 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-444 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-444 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-444 dd,.factory-bootstrap-444 dt{line-height:1.428571429}.factory-bootstrap-444 dt{font-weight:700}.factory-bootstrap-444 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-444 abbr[data-original-title],.factory-bootstrap-444 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-444 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-444 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-444 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-444 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-444 blockquote .small,.factory-bootstrap-444 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-444 blockquote .small:before,.factory-bootstrap-444 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-444 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-444 blockquote.pull-right .small,.factory-bootstrap-444 blockquote.pull-right p,.factory-bootstrap-444 blockquote.pull-right small{text-align:right}.factory-bootstrap-444 blockquote.pull-right .small:before,.factory-bootstrap-444 blockquote.pull-right small:before{content:''}.factory-bootstrap-444 blockquote.pull-right .small:after,.factory-bootstrap-444 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-444 blockquote:after,.factory-bootstrap-444 blockquote:before{content:""}.factory-bootstrap-444 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-444 code,.factory-bootstrap-444 kbd,.factory-bootstrap-444 pre,.factory-bootstrap-444 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-444 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-444 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-444 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-444 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-444 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-444 .container:after,.factory-bootstrap-444 .container:before{display:table;content:" "}.factory-bootstrap-444 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-444 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-444 .row:after,.factory-bootstrap-444 .row:before{display:table;content:" "}.factory-bootstrap-444 .row:after{clear:both}.factory-bootstrap-444 .col-lg-1,.factory-bootstrap-444 .col-lg-10,.factory-bootstrap-444 .col-lg-11,.factory-bootstrap-444 .col-lg-12,.factory-bootstrap-444 .col-lg-2,.factory-bootstrap-444 .col-lg-3,.factory-bootstrap-444 .col-lg-4,.factory-bootstrap-444 .col-lg-5,.factory-bootstrap-444 .col-lg-6,.factory-bootstrap-444 .col-lg-7,.factory-bootstrap-444 .col-lg-8,.factory-bootstrap-444 .col-lg-9,.factory-bootstrap-444 .col-md-1,.factory-bootstrap-444 .col-md-10,.factory-bootstrap-444 .col-md-11,.factory-bootstrap-444 .col-md-12,.factory-bootstrap-444 .col-md-2,.factory-bootstrap-444 .col-md-3,.factory-bootstrap-444 .col-md-4,.factory-bootstrap-444 .col-md-5,.factory-bootstrap-444 .col-md-6,.factory-bootstrap-444 .col-md-7,.factory-bootstrap-444 .col-md-8,.factory-bootstrap-444 .col-md-9,.factory-bootstrap-444 .col-sm-1,.factory-bootstrap-444 .col-sm-10,.factory-bootstrap-444 .col-sm-11,.factory-bootstrap-444 .col-sm-12,.factory-bootstrap-444 .col-sm-2,.factory-bootstrap-444 .col-sm-3,.factory-bootstrap-444 .col-sm-4,.factory-bootstrap-444 .col-sm-5,.factory-bootstrap-444 .col-sm-6,.factory-bootstrap-444 .col-sm-7,.factory-bootstrap-444 .col-sm-8,.factory-bootstrap-444 .col-sm-9,.factory-bootstrap-444 .col-xs-1,.factory-bootstrap-444 .col-xs-10,.factory-bootstrap-444 .col-xs-11,.factory-bootstrap-444 .col-xs-12,.factory-bootstrap-444 .col-xs-2,.factory-bootstrap-444 .col-xs-3,.factory-bootstrap-444 .col-xs-4,.factory-bootstrap-444 .col-xs-5,.factory-bootstrap-444 .col-xs-6,.factory-bootstrap-444 .col-xs-7,.factory-bootstrap-444 .col-xs-8,.factory-bootstrap-444 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-444 .col-xs-1,.factory-bootstrap-444 .col-xs-10,.factory-bootstrap-444 .col-xs-11,.factory-bootstrap-444 .col-xs-12,.factory-bootstrap-444 .col-xs-2,.factory-bootstrap-444 .col-xs-3,.factory-bootstrap-444 .col-xs-4,.factory-bootstrap-444 .col-xs-5,.factory-bootstrap-444 .col-xs-6,.factory-bootstrap-444 .col-xs-7,.factory-bootstrap-444 .col-xs-8,.factory-bootstrap-444 .col-xs-9{float:left}.factory-bootstrap-444 .col-xs-12{width:100%}.factory-bootstrap-444 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-444 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-444 .col-xs-9{width:75%}.factory-bootstrap-444 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-444 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-444 .col-xs-6{width:50%}.factory-bootstrap-444 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-444 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-444 .col-xs-3{width:25%}.factory-bootstrap-444 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-444 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-444 .col-xs-pull-12{right:100%}.factory-bootstrap-444 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-444 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-444 .col-xs-pull-9{right:75%}.factory-bootstrap-444 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-444 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-444 .col-xs-pull-6{right:50%}.factory-bootstrap-444 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-444 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-444 .col-xs-pull-3{right:25%}.factory-bootstrap-444 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-444 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-444 .col-xs-pull-0{right:0}.factory-bootstrap-444 .col-xs-push-12{left:100%}.factory-bootstrap-444 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-444 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-444 .col-xs-push-9{left:75%}.factory-bootstrap-444 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-444 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-444 .col-xs-push-6{left:50%}.factory-bootstrap-444 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-444 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-444 .col-xs-push-3{left:25%}.factory-bootstrap-444 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-444 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-444 .col-xs-push-0{left:0}.factory-bootstrap-444 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-444 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-444 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-444 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-444 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-444 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-444 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-444 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-444 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-444 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-444 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-444 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-444 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-444 table{max-width:100%;background-color:transparent}.factory-bootstrap-444 th{text-align:left}.factory-bootstrap-444 .table{width:100%;margin-bottom:20px}.factory-bootstrap-444 .table>tbody>tr>td,.factory-bootstrap-444 .table>tbody>tr>th,.factory-bootstrap-444 .table>tfoot>tr>td,.factory-bootstrap-444 .table>tfoot>tr>th,.factory-bootstrap-444 .table>thead>tr>td,.factory-bootstrap-444 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-444 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-444 .table>caption+thead>tr:first-child>td,.factory-bootstrap-444 .table>caption+thead>tr:first-child>th,.factory-bootstrap-444 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-444 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-444 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-444 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-444 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-444 .table .table{background-color:#fff}.factory-bootstrap-444 .table-condensed>tbody>tr>td,.factory-bootstrap-444 .table-condensed>tbody>tr>th,.factory-bootstrap-444 .table-condensed>tfoot>tr>td,.factory-bootstrap-444 .table-condensed>tfoot>tr>th,.factory-bootstrap-444 .table-condensed>thead>tr>td,.factory-bootstrap-444 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-444 .table-bordered,.factory-bootstrap-444 .table-bordered>tbody>tr>td,.factory-bootstrap-444 .table-bordered>tbody>tr>th,.factory-bootstrap-444 .table-bordered>tfoot>tr>td,.factory-bootstrap-444 .table-bordered>tfoot>tr>th,.factory-bootstrap-444 .table-bordered>thead>tr>td,.factory-bootstrap-444 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-444 .table-bordered>thead>tr>td,.factory-bootstrap-444 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-444 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-444 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-444 .table-hover>tbody>tr:hover>td,.factory-bootstrap-444 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-444 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-444 table td[class*=col-],.factory-bootstrap-444 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-444 .table>tbody>.active>td,.factory-bootstrap-444 .table>tbody>.active>th,.factory-bootstrap-444 .table>tbody>tr>.active,.factory-bootstrap-444 .table>tfoot>.active>td,.factory-bootstrap-444 .table>tfoot>.active>th,.factory-bootstrap-444 .table>tfoot>tr>.active,.factory-bootstrap-444 .table>thead>.active>td,.factory-bootstrap-444 .table>thead>.active>th,.factory-bootstrap-444 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-444 .table-hover>tbody>.active:hover>td,.factory-bootstrap-444 .table-hover>tbody>.active:hover>th,.factory-bootstrap-444 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-444 .table>tbody>.success>td,.factory-bootstrap-444 .table>tbody>.success>th,.factory-bootstrap-444 .table>tbody>tr>.success,.factory-bootstrap-444 .table>tfoot>.success>td,.factory-bootstrap-444 .table>tfoot>.success>th,.factory-bootstrap-444 .table>tfoot>tr>.success,.factory-bootstrap-444 .table>thead>.success>td,.factory-bootstrap-444 .table>thead>.success>th,.factory-bootstrap-444 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-444 .table-hover>tbody>.success:hover>td,.factory-bootstrap-444 .table-hover>tbody>.success:hover>th,.factory-bootstrap-444 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-444 .table>tbody>.danger>td,.factory-bootstrap-444 .table>tbody>.danger>th,.factory-bootstrap-444 .table>tbody>tr>.danger,.factory-bootstrap-444 .table>tfoot>.danger>td,.factory-bootstrap-444 .table>tfoot>.danger>th,.factory-bootstrap-444 .table>tfoot>tr>.danger,.factory-bootstrap-444 .table>thead>.danger>td,.factory-bootstrap-444 .table>thead>.danger>th,.factory-bootstrap-444 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-444 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-444 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-444 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-444 .table>tbody>.warning>td,.factory-bootstrap-444 .table>tbody>.warning>th,.factory-bootstrap-444 .table>tbody>tr>.warning,.factory-bootstrap-444 .table>tfoot>.warning>td,.factory-bootstrap-444 .table>tfoot>.warning>th,.factory-bootstrap-444 .table>tfoot>tr>.warning,.factory-bootstrap-444 .table>thead>.warning>td,.factory-bootstrap-444 .table>thead>.warning>th,.factory-bootstrap-444 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-444 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-444 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-444 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-444 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-444 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-444 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-444 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-444 input[type=checkbox],.factory-bootstrap-444 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-444 input[type=file]{display:block}.factory-bootstrap-444 select[multiple],.factory-bootstrap-444 select[size]{height:auto}.factory-bootstrap-444 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-444 input[type=checkbox]:focus,.factory-bootstrap-444 input[type=file]:focus,.factory-bootstrap-444 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-444 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-444 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-444 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-444 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-444 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-444 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-444 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-444 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-444 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-444 .form-control[disabled],.factory-bootstrap-444 .form-control[readonly],.factory-bootstrap-444 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-444 textarea.form-control{height:auto}.factory-bootstrap-444 .form-group{margin-bottom:15px}.factory-bootstrap-444 .checkbox,.factory-bootstrap-444 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-444 .checkbox label,.factory-bootstrap-444 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-444 .checkbox input[type=checkbox],.factory-bootstrap-444 .checkbox-inline input[type=checkbox],.factory-bootstrap-444 .radio input[type=radio],.factory-bootstrap-444 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-444 .checkbox+.checkbox,.factory-bootstrap-444 .radio+.radio{margin-top:-5px}.factory-bootstrap-444 .checkbox-inline,.factory-bootstrap-444 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-444 .checkbox-inline+.checkbox-inline,.factory-bootstrap-444 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-444 .checkbox-inline[disabled],.factory-bootstrap-444 .checkbox[disabled],.factory-bootstrap-444 .radio-inline[disabled],.factory-bootstrap-444 .radio[disabled],.factory-bootstrap-444 fieldset[disabled] .checkbox,.factory-bootstrap-444 fieldset[disabled] .checkbox-inline,.factory-bootstrap-444 fieldset[disabled] .radio,.factory-bootstrap-444 fieldset[disabled] .radio-inline,.factory-bootstrap-444 fieldset[disabled] input[type=checkbox],.factory-bootstrap-444 fieldset[disabled] input[type=radio],.factory-bootstrap-444 input[type=checkbox][disabled],.factory-bootstrap-444 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-444 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-444 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-444 textarea.input-sm{height:auto}.factory-bootstrap-444 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-444 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-444 textarea.input-lg{height:auto}.factory-bootstrap-444 .has-warning .checkbox,.factory-bootstrap-444 .has-warning .checkbox-inline,.factory-bootstrap-444 .has-warning .control-label,.factory-bootstrap-444 .has-warning .help-block,.factory-bootstrap-444 .has-warning .radio,.factory-bootstrap-444 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-444 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-444 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-444 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-444 .has-error .checkbox,.factory-bootstrap-444 .has-error .checkbox-inline,.factory-bootstrap-444 .has-error .control-label,.factory-bootstrap-444 .has-error .help-block,.factory-bootstrap-444 .has-error .radio,.factory-bootstrap-444 .has-error .radio-inline{color:#a94442}.factory-bootstrap-444 .controls{display:block}.factory-bootstrap-444 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-444 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-444 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-444 .has-success .checkbox,.factory-bootstrap-444 .has-success .checkbox-inline,.factory-bootstrap-444 .has-success .control-label,.factory-bootstrap-444 .has-success .help-block,.factory-bootstrap-444 .has-success .radio,.factory-bootstrap-444 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-444 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-444 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-444 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-444 .form-control-static{margin-bottom:0}.factory-bootstrap-444 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-444 .form-horizontal .checkbox,.factory-bootstrap-444 .form-horizontal .checkbox-inline,.factory-bootstrap-444 .form-horizontal .control-label,.factory-bootstrap-444 .form-horizontal .radio,.factory-bootstrap-444 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-444 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-444 .form-horizontal .checkbox,.factory-bootstrap-444 .form-horizontal .radio{min-height:27px}.factory-bootstrap-444 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-444 .form-horizontal .form-group:after,.factory-bootstrap-444 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-444 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-444 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-444 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-444 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-444 .btn{text-decoration:none}.factory-bootstrap-444 .btn:focus,.factory-bootstrap-444 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-444 .btn.disabled,.factory-bootstrap-444 .btn[disabled],.factory-bootstrap-444 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-444 .btn-default.active,.factory-bootstrap-444 .btn-default:active,.factory-bootstrap-444 .btn-default:focus,.factory-bootstrap-444 .btn-default:hover,.factory-bootstrap-444 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-444 .btn-default.active,.factory-bootstrap-444 .btn-default:active,.factory-bootstrap-444 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-444 .btn-default.disabled,.factory-bootstrap-444 .btn-default.disabled.active,.factory-bootstrap-444 .btn-default.disabled:active,.factory-bootstrap-444 .btn-default.disabled:focus,.factory-bootstrap-444 .btn-default.disabled:hover,.factory-bootstrap-444 .btn-default[disabled],.factory-bootstrap-444 .btn-default[disabled].active,.factory-bootstrap-444 .btn-default[disabled]:active,.factory-bootstrap-444 .btn-default[disabled]:focus,.factory-bootstrap-444 .btn-default[disabled]:hover,.factory-bootstrap-444 fieldset[disabled] .btn-default,.factory-bootstrap-444 fieldset[disabled] .btn-default.active,.factory-bootstrap-444 fieldset[disabled] .btn-default:active,.factory-bootstrap-444 fieldset[disabled] .btn-default:focus,.factory-bootstrap-444 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-444 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-444 .btn-primary.active,.factory-bootstrap-444 .btn-primary:active,.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover,.factory-bootstrap-444 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-444 .btn-primary.active,.factory-bootstrap-444 .btn-primary:active,.factory-bootstrap-444 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-444 .btn-primary.disabled,.factory-bootstrap-444 .btn-primary.disabled.active,.factory-bootstrap-444 .btn-primary.disabled:active,.factory-bootstrap-444 .btn-primary.disabled:focus,.factory-bootstrap-444 .btn-primary.disabled:hover,.factory-bootstrap-444 .btn-primary[disabled],.factory-bootstrap-444 .btn-primary[disabled].active,.factory-bootstrap-444 .btn-primary[disabled]:active,.factory-bootstrap-444 .btn-primary[disabled]:focus,.factory-bootstrap-444 .btn-primary[disabled]:hover,.factory-bootstrap-444 fieldset[disabled] .btn-primary,.factory-bootstrap-444 fieldset[disabled] .btn-primary.active,.factory-bootstrap-444 fieldset[disabled] .btn-primary:active,.factory-bootstrap-444 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-444 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-444 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-444 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-444 .btn-warning.active,.factory-bootstrap-444 .btn-warning:active,.factory-bootstrap-444 .btn-warning:focus,.factory-bootstrap-444 .btn-warning:hover,.factory-bootstrap-444 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-444 .btn-warning.active,.factory-bootstrap-444 .btn-warning:active,.factory-bootstrap-444 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-444 .btn-warning.disabled,.factory-bootstrap-444 .btn-warning.disabled.active,.factory-bootstrap-444 .btn-warning.disabled:active,.factory-bootstrap-444 .btn-warning.disabled:focus,.factory-bootstrap-444 .btn-warning.disabled:hover,.factory-bootstrap-444 .btn-warning[disabled],.factory-bootstrap-444 .btn-warning[disabled].active,.factory-bootstrap-444 .btn-warning[disabled]:active,.factory-bootstrap-444 .btn-warning[disabled]:focus,.factory-bootstrap-444 .btn-warning[disabled]:hover,.factory-bootstrap-444 fieldset[disabled] .btn-warning,.factory-bootstrap-444 fieldset[disabled] .btn-warning.active,.factory-bootstrap-444 fieldset[disabled] .btn-warning:active,.factory-bootstrap-444 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-444 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-444 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-444 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-444 .btn-success.active,.factory-bootstrap-444 .btn-success:active,.factory-bootstrap-444 .btn-success:focus,.factory-bootstrap-444 .btn-success:hover,.factory-bootstrap-444 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-444 .btn-success.active,.factory-bootstrap-444 .btn-success:active,.factory-bootstrap-444 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-444 .btn-success.disabled,.factory-bootstrap-444 .btn-success.disabled.active,.factory-bootstrap-444 .btn-success.disabled:active,.factory-bootstrap-444 .btn-success.disabled:focus,.factory-bootstrap-444 .btn-success.disabled:hover,.factory-bootstrap-444 .btn-success[disabled],.factory-bootstrap-444 .btn-success[disabled].active,.factory-bootstrap-444 .btn-success[disabled]:active,.factory-bootstrap-444 .btn-success[disabled]:focus,.factory-bootstrap-444 .btn-success[disabled]:hover,.factory-bootstrap-444 fieldset[disabled] .btn-success,.factory-bootstrap-444 fieldset[disabled] .btn-success.active,.factory-bootstrap-444 fieldset[disabled] .btn-success:active,.factory-bootstrap-444 fieldset[disabled] .btn-success:focus,.factory-bootstrap-444 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-444 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-444 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-444 .btn-info.active,.factory-bootstrap-444 .btn-info:active,.factory-bootstrap-444 .btn-info:focus,.factory-bootstrap-444 .btn-info:hover,.factory-bootstrap-444 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-444 .btn-info.active,.factory-bootstrap-444 .btn-info:active,.factory-bootstrap-444 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-444 .btn-info.disabled,.factory-bootstrap-444 .btn-info.disabled.active,.factory-bootstrap-444 .btn-info.disabled:active,.factory-bootstrap-444 .btn-info.disabled:focus,.factory-bootstrap-444 .btn-info.disabled:hover,.factory-bootstrap-444 .btn-info[disabled],.factory-bootstrap-444 .btn-info[disabled].active,.factory-bootstrap-444 .btn-info[disabled]:active,.factory-bootstrap-444 .btn-info[disabled]:focus,.factory-bootstrap-444 .btn-info[disabled]:hover,.factory-bootstrap-444 fieldset[disabled] .btn-info,.factory-bootstrap-444 fieldset[disabled] .btn-info.active,.factory-bootstrap-444 fieldset[disabled] .btn-info:active,.factory-bootstrap-444 fieldset[disabled] .btn-info:focus,.factory-bootstrap-444 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-444 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-444 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-444 .btn-link,.factory-bootstrap-444 .btn-link:active,.factory-bootstrap-444 .btn-link[disabled],.factory-bootstrap-444 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-444 .btn-link,.factory-bootstrap-444 .btn-link:active,.factory-bootstrap-444 .btn-link:focus,.factory-bootstrap-444 .btn-link:hover{border-color:transparent}.factory-bootstrap-444 .btn-link:focus,.factory-bootstrap-444 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-444 .btn-link[disabled]:focus,.factory-bootstrap-444 .btn-link[disabled]:hover,.factory-bootstrap-444 fieldset[disabled] .btn-link:focus,.factory-bootstrap-444 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-444 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-444 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-444 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-444 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-444 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-444 input[type=button].btn-block,.factory-bootstrap-444 input[type=reset].btn-block,.factory-bootstrap-444 input[type=submit].btn-block{width:100%}.factory-bootstrap-444 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-444 .fade.in{opacity:1}.factory-bootstrap-444 .collapse{display:none}.factory-bootstrap-444 .collapse.in{display:block}.factory-bootstrap-444 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-444 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-444 .glyphicon:empty{width:1em}.factory-bootstrap-444 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-444 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-444 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-444 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-444 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-444 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-444 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-444 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-444 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-444 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-444 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-444 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-444 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-444 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-444 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-444 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-444 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-444 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-444 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-444 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-444 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-444 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-444 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-444 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-444 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-444 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-444 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-444 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-444 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-444 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-444 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-444 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-444 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-444 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-444 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-444 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-444 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-444 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-444 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-444 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-444 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-444 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-444 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-444 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-444 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-444 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-444 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-444 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-444 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-444 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-444 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-444 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-444 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-444 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-444 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-444 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-444 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-444 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-444 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-444 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-444 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-444 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-444 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-444 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-444 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-444 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-444 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-444 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-444 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-444 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-444 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-444 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-444 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-444 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-444 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-444 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-444 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-444 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-444 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-444 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-444 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-444 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-444 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-444 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-444 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-444 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-444 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-444 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-444 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-444 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-444 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-444 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-444 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-444 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-444 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-444 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-444 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-444 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-444 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-444 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-444 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-444 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-444 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-444 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-444 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-444 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-444 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-444 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-444 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-444 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-444 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-444 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-444 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-444 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-444 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-444 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-444 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-444 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-444 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-444 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-444 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-444 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-444 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-444 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-444 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-444 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-444 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-444 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-444 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-444 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-444 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-444 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-444 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-444 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-444 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-444 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-444 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-444 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-444 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-444 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-444 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-444 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-444 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-444 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-444 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-444 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-444 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-444 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-444 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-444 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-444 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-444 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-444 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-444 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-444 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-444 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-444 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-444 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-444 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-444 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-444 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-444 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-444 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-444 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-444 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-444 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-444 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-444 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-444 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-444 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-444 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-444 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-444 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-444 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-444 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-444 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-444 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-444 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-444 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-444 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-444 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-444 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-444 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-444 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-444 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-444 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-444 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-444 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-444 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-444 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-444 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-444 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-444 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-444 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-444 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-444 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-444 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-444 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-444 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-444 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-444 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-444 .dropdown{position:relative}.factory-bootstrap-444 .dropdown-toggle:focus{outline:0}.factory-bootstrap-444 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-444 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-444 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-444 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-444 .dropdown-menu>li>a:focus,.factory-bootstrap-444 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-444 .dropdown-menu>.active>a,.factory-bootstrap-444 .dropdown-menu>.active>a:focus,.factory-bootstrap-444 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-444 .dropdown-menu>.disabled>a,.factory-bootstrap-444 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-444 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-444 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-444 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-444 .open>.dropdown-menu{display:block}.factory-bootstrap-444 .open>a{outline:0}.factory-bootstrap-444 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-444 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-444 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-444 .dropup .caret,.factory-bootstrap-444 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-444 .dropup .dropdown-menu,.factory-bootstrap-444 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-444 .btn-group,.factory-bootstrap-444 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-444 .btn-group-vertical>.btn,.factory-bootstrap-444 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-444 .btn-group-vertical>.btn.active,.factory-bootstrap-444 .btn-group-vertical>.btn:active,.factory-bootstrap-444 .btn-group-vertical>.btn:focus,.factory-bootstrap-444 .btn-group-vertical>.btn:hover,.factory-bootstrap-444 .btn-group>.btn.active,.factory-bootstrap-444 .btn-group>.btn:active,.factory-bootstrap-444 .btn-group>.btn:focus,.factory-bootstrap-444 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-444 .btn-group-vertical>.btn:focus,.factory-bootstrap-444 .btn-group>.btn:focus{outline:0}.factory-bootstrap-444 .btn-group .btn+.btn,.factory-bootstrap-444 .btn-group .btn+.btn-group,.factory-bootstrap-444 .btn-group .btn-group+.btn,.factory-bootstrap-444 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-444 .btn-toolbar:after,.factory-bootstrap-444 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-444 .btn-toolbar:after{clear:both}.factory-bootstrap-444 .btn-toolbar .btn-group{float:left}.factory-bootstrap-444 .btn-toolbar>.btn+.btn,.factory-bootstrap-444 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-444 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-444 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-444 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-444 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-444 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-444 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-444 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-444 .btn-group>.btn-group{float:left}.factory-bootstrap-444 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-444 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-444 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-444 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-444 .btn-group .dropdown-toggle:active,.factory-bootstrap-444 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-444 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-444 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-444 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-444 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-444 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-444 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-444 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-444 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-444 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-444 .btn .caret{margin-left:0}.factory-bootstrap-444 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-444 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-444 .btn-group-vertical>.btn,.factory-bootstrap-444 .btn-group-vertical>.btn-group,.factory-bootstrap-444 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-444 .btn-group-vertical>.btn-group:after,.factory-bootstrap-444 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-444 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-444 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-444 .btn-group-vertical>.btn+.btn,.factory-bootstrap-444 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-444 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-444 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-444 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-444 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-444 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-444 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-444 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-444 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-444 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-444 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-444 .btn-group-justified>.btn,.factory-bootstrap-444 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-444 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-444 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-444 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-444 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-444 .input-group-lg>.form-control,.factory-bootstrap-444 .input-group-lg>.input-group-addon,.factory-bootstrap-444 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-444 select.input-group-lg>.form-control,.factory-bootstrap-444 select.input-group-lg>.input-group-addon,.factory-bootstrap-444 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-444 textarea.input-group-lg>.form-control,.factory-bootstrap-444 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-444 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-444 .input-group-sm>.form-control,.factory-bootstrap-444 .input-group-sm>.input-group-addon,.factory-bootstrap-444 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-444 select.input-group-sm>.form-control,.factory-bootstrap-444 select.input-group-sm>.input-group-addon,.factory-bootstrap-444 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-444 textarea.input-group-sm>.form-control,.factory-bootstrap-444 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-444 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-444 .input-group .form-control,.factory-bootstrap-444 .input-group-addon,.factory-bootstrap-444 .input-group-btn{display:table-cell}.factory-bootstrap-444 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-444 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-444 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-444 .input-group-addon,.factory-bootstrap-444 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-444 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-444 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-444 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-444 .input-group-addon input[type=checkbox],.factory-bootstrap-444 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-444 .input-group .form-control:first-child,.factory-bootstrap-444 .input-group-addon:first-child,.factory-bootstrap-444 .input-group-btn:first-child>.btn,.factory-bootstrap-444 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-444 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-444 .input-group-addon:first-child{border-right:0}.factory-bootstrap-444 .input-group .form-control:last-child,.factory-bootstrap-444 .input-group-addon:last-child,.factory-bootstrap-444 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-444 .input-group-btn:last-child>.btn,.factory-bootstrap-444 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-444 .input-group-addon:last-child{border-left:0}.factory-bootstrap-444 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-444 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-444 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-444 .input-group-btn>.btn{position:relative}.factory-bootstrap-444 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-444 .input-group-btn>.btn:active,.factory-bootstrap-444 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-444 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-444 .nav:after,.factory-bootstrap-444 .nav:before{display:table;content:" "}.factory-bootstrap-444 .nav:after{clear:both}.factory-bootstrap-444 .nav>li{position:relative;display:block}.factory-bootstrap-444 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-444 .nav>li>a:focus,.factory-bootstrap-444 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-444 .nav>li.disabled>a{color:#999}.factory-bootstrap-444 .nav>li.disabled>a:focus,.factory-bootstrap-444 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-444 .nav .open>a,.factory-bootstrap-444 .nav .open>a:focus,.factory-bootstrap-444 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-444 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-444 .nav>li>a>img{max-width:none}.factory-bootstrap-444 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-444 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-444 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-444 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-444 .nav-tabs>li.active>a,.factory-bootstrap-444 .nav-tabs>li.active>a:focus,.factory-bootstrap-444 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-444 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-444 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-444 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-444 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-444 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-444 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-444 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-444 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-444 .nav-pills>li{float:left}.factory-bootstrap-444 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-444 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-444 .nav-pills>li.active>a,.factory-bootstrap-444 .nav-pills>li.active>a:focus,.factory-bootstrap-444 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-444 .nav-stacked>li{float:none}.factory-bootstrap-444 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-444 .nav-justified{width:100%}.factory-bootstrap-444 .nav-justified>li{float:none}.factory-bootstrap-444 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-444 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-444 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-444 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-444 .nav-tabs-justified>.active>a,.factory-bootstrap-444 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-444 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-444 .tab-content>.tab-pane{display:none}.factory-bootstrap-444 .tab-content>.active{display:block}.factory-bootstrap-444 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-444 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-444 .navbar:after,.factory-bootstrap-444 .navbar:before{display:table;content:" "}.factory-bootstrap-444 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-444 .navbar-header:after,.factory-bootstrap-444 .navbar-header:before{display:table;content:" "}.factory-bootstrap-444 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-444 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-444 .navbar-collapse:after,.factory-bootstrap-444 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-444 .navbar-collapse:after{clear:both}.factory-bootstrap-444 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-444 .container>.navbar-collapse,.factory-bootstrap-444 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-444 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-444 .navbar-fixed-bottom,.factory-bootstrap-444 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-444 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-444 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-444 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-444 .navbar-brand:focus,.factory-bootstrap-444 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-444 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-444 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-444 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-444 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-444 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-444 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-444 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-444 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-444 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-444 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-444 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-444 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-444 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-444 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-444 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-444 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-444 .navbar-default .navbar-brand:focus,.factory-bootstrap-444 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-444 .navbar-default .navbar-nav>li>a,.factory-bootstrap-444 .navbar-default .navbar-text{color:#777}.factory-bootstrap-444 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-444 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-444 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-444 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-444 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-444 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-444 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-444 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-444 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-444 .navbar-default .navbar-toggle:focus,.factory-bootstrap-444 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-444 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-444 .navbar-default .navbar-collapse,.factory-bootstrap-444 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-444 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-444 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-444 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-444 .navbar-default .navbar-link{color:#777}.factory-bootstrap-444 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-444 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-444 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-444 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-444 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-444 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-444 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-444 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-444 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-444 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-444 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-444 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-444 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-444 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-444 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-444 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-444 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-444 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-444 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-444 .navbar-inverse .navbar-collapse,.factory-bootstrap-444 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-444 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-444 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-444 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-444 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-444 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-444 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-444 .breadcrumb>li{display:inline-block}.factory-bootstrap-444 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-444 .breadcrumb>.active{color:#999}.factory-bootstrap-444 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-444 .pagination>li{display:inline}.factory-bootstrap-444 .pagination>li>a,.factory-bootstrap-444 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-444 .pagination>li:first-child>a,.factory-bootstrap-444 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-444 .pagination>li:last-child>a,.factory-bootstrap-444 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-444 .pagination>li>a:focus,.factory-bootstrap-444 .pagination>li>a:hover,.factory-bootstrap-444 .pagination>li>span:focus,.factory-bootstrap-444 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-444 .pagination>.disabled>a,.factory-bootstrap-444 .pagination>.disabled>a:focus,.factory-bootstrap-444 .pagination>.disabled>a:hover,.factory-bootstrap-444 .pagination>.disabled>span,.factory-bootstrap-444 .pagination>.disabled>span:focus,.factory-bootstrap-444 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-444 .pagination-lg>li>a,.factory-bootstrap-444 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-444 .pagination-lg>li:first-child>a,.factory-bootstrap-444 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-444 .pagination-lg>li:last-child>a,.factory-bootstrap-444 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-444 .pagination-sm>li>a,.factory-bootstrap-444 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-444 .pagination-sm>li:first-child>a,.factory-bootstrap-444 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-444 .pagination-sm>li:last-child>a,.factory-bootstrap-444 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-444 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-444 .pager:after,.factory-bootstrap-444 .pager:before{display:table;content:" "}.factory-bootstrap-444 .pager:after{clear:both}.factory-bootstrap-444 .pager li{display:inline}.factory-bootstrap-444 .pager li>a,.factory-bootstrap-444 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-444 .pager li>a:focus,.factory-bootstrap-444 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-444 .pager .next>a,.factory-bootstrap-444 .pager .next>span{float:right}.factory-bootstrap-444 .pager .previous>a,.factory-bootstrap-444 .pager .previous>span{float:left}.factory-bootstrap-444 .pager .disabled>a,.factory-bootstrap-444 .pager .disabled>a:focus,.factory-bootstrap-444 .pager .disabled>a:hover,.factory-bootstrap-444 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-444 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-444 .label[href]:focus,.factory-bootstrap-444 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-444 .label:empty{display:none}.factory-bootstrap-444 .btn .label{position:relative;top:-1px}.factory-bootstrap-444 .label-default{background-color:#999}.factory-bootstrap-444 .label-default[href]:focus,.factory-bootstrap-444 .label-default[href]:hover{background-color:gray}.factory-bootstrap-444 .label-primary{background-color:#428bca}.factory-bootstrap-444 .label-primary[href]:focus,.factory-bootstrap-444 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-444 .label-success{background-color:#5cb85c}.factory-bootstrap-444 .label-success[href]:focus,.factory-bootstrap-444 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-444 .label-info{background-color:#5bc0de}.factory-bootstrap-444 .label-info[href]:focus,.factory-bootstrap-444 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-444 .label-warning{background-color:#f0ad4e}.factory-bootstrap-444 .label-warning[href]:focus,.factory-bootstrap-444 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-444 .label-danger{background-color:#d9534f}.factory-bootstrap-444 .label-danger[href]:focus,.factory-bootstrap-444 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-444 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-444 .badge:empty{display:none}.factory-bootstrap-444 .btn .badge{position:relative;top:-1px}.factory-bootstrap-444 a.badge:focus,.factory-bootstrap-444 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-444 .nav-pills>.active>a>.badge,.factory-bootstrap-444 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-444 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-444 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-444 .jumbotron .h1,.factory-bootstrap-444 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-444 .jumbotron p{line-height:1.4}.factory-bootstrap-444 .container .jumbotron{border-radius:6px}.factory-bootstrap-444 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-444 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-444 .thumbnail a>img,.factory-bootstrap-444 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-444 a.thumbnail.active,.factory-bootstrap-444 a.thumbnail:focus,.factory-bootstrap-444 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-444 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-444 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-444 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-444 .alert .alert-link{font-weight:700}.factory-bootstrap-444 .alert>p,.factory-bootstrap-444 .alert>ul{margin-bottom:0}.factory-bootstrap-444 .alert>p+p{margin-top:5px}.factory-bootstrap-444 .alert-dismissable{padding-right:35px}.factory-bootstrap-444 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-444 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-444 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-444 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-444 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-444 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-444 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-444 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-444 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-444 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-444 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-444 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-444 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-444 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-444 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-444 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-444 .media,.factory-bootstrap-444 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-444 .media,.factory-bootstrap-444 .media .media{margin-top:15px}.factory-bootstrap-444 .media:first-child{margin-top:0}.factory-bootstrap-444 .media-object{display:block}.factory-bootstrap-444 .media-heading{margin:0 0 5px}.factory-bootstrap-444 .media>.pull-left{margin-right:10px}.factory-bootstrap-444 .media>.pull-right{margin-left:10px}.factory-bootstrap-444 .media-list{padding-left:0;list-style:none}.factory-bootstrap-444 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-444 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-444 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-444 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-444 .list-group-item>.badge{float:right}.factory-bootstrap-444 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-444 a.list-group-item{color:#555}.factory-bootstrap-444 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-444 a.list-group-item:focus,.factory-bootstrap-444 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-444 a.list-group-item.active,.factory-bootstrap-444 a.list-group-item.active:focus,.factory-bootstrap-444 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-444 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-444 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-444 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-444 a.list-group-item.active .list-group-item-text,.factory-bootstrap-444 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-444 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-444 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-444 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-444 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-444 .panel-body{padding:15px}.factory-bootstrap-444 .panel-body:after,.factory-bootstrap-444 .panel-body:before{display:table;content:" "}.factory-bootstrap-444 .panel-body:after{clear:both}.factory-bootstrap-444 .panel>.list-group{margin-bottom:0}.factory-bootstrap-444 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-444 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-444 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-444 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-444 .panel>.table,.factory-bootstrap-444 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-444 .panel>.panel-body+.table,.factory-bootstrap-444 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-444 .panel>.table>tbody:first-child td,.factory-bootstrap-444 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-444 .panel>.table-bordered,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-444 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-444 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-444 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-444 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-444 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-444 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-444 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-444 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-444 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-444 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-444 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-444 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-444 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-444 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-444 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-444 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-444 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-444 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-444 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-444 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-444 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-444 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-444 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-444 .panel-title>a{color:inherit}.factory-bootstrap-444 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-444 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-444 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-444 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-444 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-444 .panel-group .panel-footer{border-top:0}.factory-bootstrap-444 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-444 .panel-default{border-color:#ddd}.factory-bootstrap-444 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-444 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-444 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-444 .panel-primary{border-color:#428bca}.factory-bootstrap-444 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-444 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-444 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-444 .panel-success{border-color:#d6e9c6}.factory-bootstrap-444 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-444 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-444 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-444 .panel-warning{border-color:#faebcc}.factory-bootstrap-444 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-444 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-444 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-444 .panel-danger{border-color:#ebccd1}.factory-bootstrap-444 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-444 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-444 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-444 .panel-info{border-color:#bce8f1}.factory-bootstrap-444 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-444 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-444 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-444 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-444 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-444 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-444 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-444 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-444 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-444 .close:focus,.factory-bootstrap-444 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-444 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-444 .modal-open{overflow:hidden}.factory-bootstrap-444 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-444 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-444 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-444 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-444 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-444 .modal-backdrop,.factory-bootstrap-444-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-444 .modal-backdrop.fade,.factory-bootstrap-444-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-444 .modal-backdrop.in,.factory-bootstrap-444-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-444 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-444 .modal-header .close{margin-top:-2px}.factory-bootstrap-444 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-444 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-444 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-444 .modal-footer:after,.factory-bootstrap-444 .modal-footer:before{display:table;content:" "}.factory-bootstrap-444 .modal-footer:after{clear:both}.factory-bootstrap-444 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-444 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-444 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-444 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-444 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-444 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-444 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-444 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-444 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-444 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-444 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-444 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-444 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-444 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-444 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-444 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-444 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-444 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-444 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-444 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-444 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-444 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-444 .popover.top{margin-top:-10px}.factory-bootstrap-444 .popover.right{margin-left:10px}.factory-bootstrap-444 .popover.bottom{margin-top:10px}.factory-bootstrap-444 .popover.left{margin-left:-10px}.factory-bootstrap-444 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-444 .popover-content{padding:9px 14px}.factory-bootstrap-444 .popover .arrow,.factory-bootstrap-444 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-444 .popover .arrow{border-width:11px}.factory-bootstrap-444 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-444 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-444 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-444 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-444 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-444 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-444 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-444 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-444 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-444 .carousel{position:relative}.factory-bootstrap-444 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-444 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-444 .carousel-inner>.item>a>img,.factory-bootstrap-444 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-444 .carousel-inner>.active,.factory-bootstrap-444 .carousel-inner>.next,.factory-bootstrap-444 .carousel-inner>.prev{display:block}.factory-bootstrap-444 .carousel-inner>.active{left:0}.factory-bootstrap-444 .carousel-inner>.next,.factory-bootstrap-444 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-444 .carousel-inner>.next{left:100%}.factory-bootstrap-444 .carousel-inner>.prev{left:-100%}.factory-bootstrap-444 .carousel-inner>.next.left,.factory-bootstrap-444 .carousel-inner>.prev.right{left:0}.factory-bootstrap-444 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-444 .carousel-inner>.active.right{left:100%}.factory-bootstrap-444 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-444 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-444 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-444 .carousel-control:focus,.factory-bootstrap-444 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-444 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-444 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-444 .carousel-control .icon-next,.factory-bootstrap-444 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-444 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-444 .carousel-control .icon-prev{left:50%}.factory-bootstrap-444 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-444 .carousel-control .icon-next{right:50%}.factory-bootstrap-444 .carousel-control .icon-next,.factory-bootstrap-444 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-444 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-444 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-444 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-444 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-444 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-444 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-444 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-444 .clearfix:after,.factory-bootstrap-444 .clearfix:before{display:table;content:" "}.factory-bootstrap-444 .clearfix:after{clear:both}.factory-bootstrap-444 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-444 .pull-right{float:right!important}.factory-bootstrap-444 .pull-left{float:left!important}.factory-bootstrap-444 .hide{display:none!important}.factory-bootstrap-444 .show{display:block!important}.factory-bootstrap-444 .invisible{visibility:hidden}.factory-bootstrap-444 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-444 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-444 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-444 .visible-lg,.factory-bootstrap-444 .visible-md,.factory-bootstrap-444 .visible-sm,.factory-bootstrap-444 .visible-xs,.factory-bootstrap-444 td.visible-lg,.factory-bootstrap-444 td.visible-md,.factory-bootstrap-444 td.visible-sm,.factory-bootstrap-444 td.visible-xs,.factory-bootstrap-444 th.visible-lg,.factory-bootstrap-444 th.visible-md,.factory-bootstrap-444 th.visible-sm,.factory-bootstrap-444 th.visible-xs,.factory-bootstrap-444 tr.visible-lg,.factory-bootstrap-444 tr.visible-md,.factory-bootstrap-444 tr.visible-sm,.factory-bootstrap-444 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-444 .hidden-xs{display:block!important}.factory-bootstrap-444 table.hidden-xs{display:table}.factory-bootstrap-444 tr.hidden-xs{display:table-row!important}.factory-bootstrap-444 td.hidden-xs,.factory-bootstrap-444 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-444 .hidden-sm{display:block!important}.factory-bootstrap-444 table.hidden-sm{display:table}.factory-bootstrap-444 tr.hidden-sm{display:table-row!important}.factory-bootstrap-444 td.hidden-sm,.factory-bootstrap-444 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-444 .hidden-md{display:block!important}.factory-bootstrap-444 table.hidden-md{display:table}.factory-bootstrap-444 tr.hidden-md{display:table-row!important}.factory-bootstrap-444 td.hidden-md,.factory-bootstrap-444 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-444 .hidden-lg{display:block!important}.factory-bootstrap-444 table.hidden-lg{display:table}.factory-bootstrap-444 tr.hidden-lg{display:table-row!important}.factory-bootstrap-444 td.hidden-lg,.factory-bootstrap-444 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-444 .hidden-lg.hidden-xs,.factory-bootstrap-444 td.hidden-lg.hidden-xs,.factory-bootstrap-444 th.hidden-lg.hidden-xs,.factory-bootstrap-444 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-444 .hidden-lg.hidden-sm,.factory-bootstrap-444 td.hidden-lg.hidden-sm,.factory-bootstrap-444 th.hidden-lg.hidden-sm,.factory-bootstrap-444 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-444 .hidden-lg.hidden-md,.factory-bootstrap-444 td.hidden-lg.hidden-md,.factory-bootstrap-444 th.hidden-lg.hidden-md,.factory-bootstrap-444 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-444 .hidden-lg,.factory-bootstrap-444 td.hidden-lg,.factory-bootstrap-444 th.hidden-lg,.factory-bootstrap-444 tr.hidden-lg{display:none!important}}.factory-bootstrap-444 .visible-print,.factory-bootstrap-444 td.visible-print,.factory-bootstrap-444 th.visible-print,.factory-bootstrap-444 tr.visible-print{display:none!important}@media print{.factory-bootstrap-444 .visible-print{display:block!important}.factory-bootstrap-444 table.visible-print{display:table}.factory-bootstrap-444 tr.visible-print{display:table-row!important}.factory-bootstrap-444 td.visible-print,.factory-bootstrap-444 th.visible-print{display:table-cell!important}.factory-bootstrap-444 .hidden-print,.factory-bootstrap-444 td.hidden-print,.factory-bootstrap-444 th.hidden-print,.factory-bootstrap-444 tr.hidden-print{display:none!important}}/*!
|
12 |
* Factory Default Bootstrap Theme
|
13 |
*
|
14 |
* The code is based on Bootstrap v2.1.1
|
22 |
*
|
23 |
* @package factory-bootstrap
|
24 |
* @since 1.0.0
|
25 |
+
*/.factory-bootstrap-444 .btn-danger,.factory-bootstrap-444 .btn-default,.factory-bootstrap-444 .btn-info,.factory-bootstrap-444 .btn-primary,.factory-bootstrap-444 .btn-success,.factory-bootstrap-444 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-444 .btn-danger.active,.factory-bootstrap-444 .btn-danger:active,.factory-bootstrap-444 .btn-default.active,.factory-bootstrap-444 .btn-default:active,.factory-bootstrap-444 .btn-info.active,.factory-bootstrap-444 .btn-info:active,.factory-bootstrap-444 .btn-primary.active,.factory-bootstrap-444 .btn-primary:active,.factory-bootstrap-444 .btn-success.active,.factory-bootstrap-444 .btn-success:active,.factory-bootstrap-444 .btn-warning.active,.factory-bootstrap-444 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-444 .btn.active,.factory-bootstrap-444 .btn:active{background-image:none}.factory-bootstrap-444 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-444 .btn-default.active,.factory-bootstrap-444 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-444 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-444 .btn-gold:focus,.factory-bootstrap-444 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-444 .btn-gold.active,.factory-bootstrap-444 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-444 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-444 .btn-primary.active,.factory-bootstrap-444 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-444 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-444 .btn-success:focus,.factory-bootstrap-444 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-444 .btn-success.active,.factory-bootstrap-444 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-444 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-444 .btn-warning:focus,.factory-bootstrap-444 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-444 .btn-warning.active,.factory-bootstrap-444 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-444 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-444 .btn-danger.active,.factory-bootstrap-444 .btn-danger:active,.factory-bootstrap-444 .btn-danger:focus,.factory-bootstrap-444 .btn-danger:hover,.factory-bootstrap-444 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-444 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-444 .btn-info:focus,.factory-bootstrap-444 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-444 .btn-info.active,.factory-bootstrap-444 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-444 .img-thumbnail,.factory-bootstrap-444 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-444 .dropdown-menu>li>a:focus,.factory-bootstrap-444 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-444 .dropdown-menu>.active>a,.factory-bootstrap-444 .dropdown-menu>.active>a:focus,.factory-bootstrap-444 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-444 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-444 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-444 .navbar-brand,.factory-bootstrap-444 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-444 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-444 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-444 .navbar-inverse .navbar-brand,.factory-bootstrap-444 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-444 .navbar-fixed-bottom,.factory-bootstrap-444 .navbar-fixed-top,.factory-bootstrap-444 .navbar-static-top{border-radius:0}.factory-bootstrap-444 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-444 .alert .actions{padding-top:10px}.factory-bootstrap-444 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-444 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-444 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-444 .alert-normal,.factory-bootstrap-444 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-444 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-444 .alert-danger a:not(.btn),.factory-bootstrap-444 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-444 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-444 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-444 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-444 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-444 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-444 .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.factory-bootstrap-444 .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-444 .list-group-item.active,.factory-bootstrap-444 .list-group-item.active:focus,.factory-bootstrap-444 .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.factory-bootstrap-444 .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-444 .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-444 .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-444 .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.factory-bootstrap-444 .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.factory-bootstrap-444 .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.factory-bootstrap-444 .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.factory-bootstrap-444 .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.factory-bootstrap-444 .factory-after{margin-left:7px;display:inline-block}.factory-bootstrap-444 .factory-hidden{display:none}.factory-bootstrap-444 .factory-ajax-loader{width:25px;height:25px;background:url(../assets/images/loader-sm-tr.gif)}.factory-control-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:5px;padding:4px 10px 3px;max-width:500px;display:inline-block}.factory-control-error i{margin:0 7px 0 1px}
|
libs/factory/bootstrap/assets/css-min/bootstrap.datepicker.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/css-min/bootstrap.datetimepicker.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -12,4 +12,4 @@
|
|
12 |
* Datetimepicker for Bootstrap 3
|
13 |
* version : 4.17.47
|
14 |
* https://github.com/Eonasdan/bootstrap-datetimepicker/
|
15 |
-
*/.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
12 |
* Datetimepicker for Bootstrap 3
|
13 |
* version : 4.17.47
|
14 |
* https://github.com/Eonasdan/bootstrap-datetimepicker/
|
15 |
+
*/.factory-bootstrap-444 .bootstrap-datetimepicker-widget{list-style:none}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu{display:block;margin:2px 0;padding:4px;width:19em}@media (min-width:768px){.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:992px){.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:1200px){.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu:after,.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu:before{content:'';display:inline-block;position:absolute}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);top:-7px;left:7px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;top:-6px;left:8px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.top:before{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,.2);bottom:-7px;left:6px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.top:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;bottom:-6px;left:7px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before{left:auto;right:6px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after{left:auto;right:7px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .list-unstyled{margin:0}.factory-bootstrap-444 .bootstrap-datetimepicker-widget a[data-action]{padding:6px 0}.factory-bootstrap-444 .bootstrap-datetimepicker-widget a[data-action]:active{box-shadow:none}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .timepicker-hour,.factory-bootstrap-444 .bootstrap-datetimepicker-widget .timepicker-minute,.factory-bootstrap-444 .bootstrap-datetimepicker-widget .timepicker-second{width:54px;font-weight:700;font-size:1.2em;margin:0}.factory-bootstrap-444 .bootstrap-datetimepicker-widget button[data-action]{padding:6px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Increment Hours"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Increment Minutes"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Decrement Hours"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Decrement Minutes"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=showHours]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Show Hours"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Show Minutes"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Toggle AM/PM"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=clear]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Clear the picker"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .btn[data-action=today]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Set the date to today"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .picker-switch{text-align:center}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .picker-switch::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Toggle Date and Time Screens"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .picker-switch td{padding:0;margin:0;height:auto;width:auto;line-height:inherit}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .picker-switch td span{line-height:2.5;height:2.5em;width:100%}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table{width:100%;margin:0}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table th{text-align:center;border-radius:4px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table th{height:20px;line-height:20px;width:20px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table th.picker-switch{width:145px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table th.disabled,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table th.disabled:hover{background:0 0;color:#777;cursor:not-allowed}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table th.prev::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Previous Month"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table th.next::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Next Month"}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table thead tr:first-child th{cursor:pointer}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table thead tr:first-child th:hover{background:#eee}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td{height:54px;line-height:54px;width:54px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.cw{font-size:.8em;height:20px;line-height:20px;color:#777}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.day{height:20px;line-height:20px;width:20px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.day:hover,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.hour:hover,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.minute:hover,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.second:hover{background:#eee;cursor:pointer}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.new,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.old{color:#777}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.today{position:relative}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.today:before{content:'';display:inline-block;border:solid transparent;border-width:0 0 7px 7px;border-bottom-color:#337ab7;border-top-color:rgba(0,0,0,.2);position:absolute;bottom:4px;right:4px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.active,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.active:hover{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.active.today:before{border-bottom-color:#fff}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.disabled,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td.disabled:hover{background:0 0;color:#777;cursor:not-allowed}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td span{display:inline-block;width:54px;height:54px;line-height:54px;margin:2px 1.5px;cursor:pointer;border-radius:4px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td span:hover{background:#eee}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td span.active{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td span.old{color:#777}.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td span.disabled,.factory-bootstrap-444 .bootstrap-datetimepicker-widget table td span.disabled:hover{background:0 0;color:#777;cursor:not-allowed}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.usetwentyfour td.hour{height:27px;line-height:27px}.factory-bootstrap-444 .bootstrap-datetimepicker-widget.wider{width:21em}.factory-bootstrap-444 .bootstrap-datetimepicker-widget .datepicker-decades .decade{line-height:1.8em!important}.factory-bootstrap-444 .input-group.date .input-group-addon{cursor:pointer}.factory-bootstrap-444 .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
|
libs/factory/bootstrap/assets/css-min/bootstrap.ectoplasm.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .btn-primary{background:#a3b745;border-color:#839237;color:#fff;-webkit-box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#89993a;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 1px 0 #b7c669,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #b7c669,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:active{background:#89993a;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-444 .btn-primary:disabled,.factory-bootstrap-444 .btn-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.factory-bootstrap-444 .btn-group .btn.active.value{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{background-color:#a3b745;border-color:#839237}
|
libs/factory/bootstrap/assets/css-min/bootstrap.form-group.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-form-group .factory-legend{padding:9px 12px;background-color:#f9f9f9}.factory-bootstrap-444 .factory-form-group .factory-title{font-weight:700;font-size:14px;line-height:14px;color:#555;margin:0}.factory-bootstrap-444 .factory-form-group .factory-hint-icon{display:block;width:16px;height:16px;line-height:13px;padding:0;font-size:11px;text-align:center;position:absolute;top:-5px;right:-3px;color:#fff;background:#E91E63;border-radius:3px}.factory-bootstrap-444 .factory-form-group .factory-hint-icon.factory-hint-icon-green{background:#8bc34a}.factory-bootstrap-444 .factory-form-group .factory-hint-icon.factory-hint-icon-grey{background:#9e9e9e}.factory-bootstrap-444 .factory-form-group .factory-hint-icon.factory-hint-icon-red{background:#E91E63}.factory-bootstrap-444 .factory-form-group .factory-hint{margin:0;font-size:12px;line-height:16px;margin-top:6px}.factory-bootstrap-444 .factory-form-group+.factory-form-group{margin-top:30px}.factory-bootstrap-444 .factory-form-group legend+.control-group{margin-top:0}
|
libs/factory/bootstrap/assets/css-min/bootstrap.form-metabox.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-form-metabox{padding:15px 10px 10px}.factory-form-metabox .control-group:last-child{margin-bottom:0}#side-sortables .factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-form-metabox{padding:15px 10px 10px}.factory-form-metabox .control-group:last-child{margin-bottom:0}#side-sortables .factory-bootstrap-444 .control-label{float:left;width:100%;text-align:left;position:relative;top:1px}#side-sortables .factory-bootstrap-444 .control-icon{float:left;margin:0 6px 0 0}#side-sortables .factory-bootstrap-444 input{float:right;position:relative;top:-25px}#side-sortables .factory-bootstrap-444 .col-sm-10{margin:0;width:100%}#side-sortables .factory-bootstrap-444 .form-group{float:none;width:auto;overflow:auto;margin-bottom:0;border-top:1px solid #f7f7f7;padding-top:15px;margin-top:15px}#side-sortables .factory-bootstrap-444 .form-group:first-child{border-top:0;padding-top:0;margin-top:0}
|
libs/factory/bootstrap/assets/css-min/bootstrap.light.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .btn-primary{background:#04a4cc;border-color:#037c9a;color:#fff;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#0384a4;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:active{background:#0384a4;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-444 .btn-primary:disabled,.factory-bootstrap-444 .btn-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.factory-bootstrap-444 .btn-group .btn.active.value{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{background-color:#04a4cc;border-color:#037c9a}
|
libs/factory/bootstrap/assets/css-min/bootstrap.midnight.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .btn-primary{background:#e14d43;border-color:#d02a21;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#d92c23;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8756f,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8756f,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:active{background:#d92c23;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-444 .btn-primary:disabled,.factory-bootstrap-444 .btn-primary[disabled]{color:#d1c7c7!important;background:#d92c23!important;border-color:#ba251e!important;text-shadow:none!important}.factory-bootstrap-444 .btn-group .btn.active.value{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{background-color:#e14d43;border-color:#d02a21}
|
libs/factory/bootstrap/assets/css-min/bootstrap.ocean.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .btn-primary{background:#9ebaa0;border-color:#80a583;color:#fff;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#86a988;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bccfbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #bccfbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:active{background:#86a988;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-444 .btn-primary:disabled,.factory-bootstrap-444 .btn-primary[disabled]{color:#c7d1c8!important;background:#86a988!important;border-color:#719a74!important;text-shadow:none!important}.factory-bootstrap-444 .btn-group .btn.active.value{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{background-color:#9ebaa0;border-color:#80a583}
|
libs/factory/bootstrap/assets/css-min/bootstrap.separator.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-separator{border-bottom:1px solid #f9f9f9;border-top:1px solid #d1d1d1;margin-bottom:25px}
|
libs/factory/bootstrap/assets/css-min/bootstrap.sunrise.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .btn-primary{background:#dd823b;border-color:#c36822;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:focus,.factory-bootstrap-444 .btn-primary:hover{background:#cc6c23;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e59d66,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e59d66,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-444 .btn-primary:active{background:#cc6c23;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-444 .btn-primary:disabled,.factory-bootstrap-444 .btn-primary[disabled]{color:#d1cbc7!important;background:#cc6c23!important;border-color:#ad5c1e!important;text-shadow:none!important}.factory-bootstrap-444 .btn-group .btn.active.value{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}.factory-bootstrap-444 .pagination>.active>a,.factory-bootstrap-444 .pagination>.active>a:focus,.factory-bootstrap-444 .pagination>.active>a:hover,.factory-bootstrap-444 .pagination>.active>span,.factory-bootstrap-444 .pagination>.active>span:focus,.factory-bootstrap-444 .pagination>.active>span:hover{background-color:#dd823b;border-color:#c36822}
|
libs/factory/bootstrap/assets/css-min/bootstrap.tab.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-tab{overflow:hidden;margin-bottom:25px}.factory-bootstrap-444 .factory-tab .form-group{overflow:hidden}.factory-bootstrap-444 .factory-tab+.form-group{margin-top:30px}.factory-bootstrap-444 .nav-tabs a{text-decoration:none}.factory-bootstrap-444 .factory-align-horizontal .nav-tabs{border-bottom:0}.factory-bootstrap-444 .factory-align-vertical .factory-headers{float:left;width:150px}.factory-bootstrap-444 .factory-align-vertical .factory-headers .nav-tabs{border-bottom:0;display:block;margin:0;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.factory-bootstrap-444 .factory-tab .factory-bodies{background-color:#fff;-webkit-border-radius:0 3px 3px;-moz-border-radius:0 3px 3px;border-radius:0 3px 3px;border:1px solid #DDD;padding:30px 15px 25px 10px}.factory-bootstrap-444 .factory-align-vertical .factory-bodies{min-height:250px;margin-left:150px}.factory-bootstrap-444 .factory-align-vertical .factory-bodies .actory-tab-item{clear:both}.factory-bootstrap-444 .form-horizontal .factory-align-vertical .form-group{margin-left:-5px}.factory-bootstrap-444 .factory-align-vertical .nav-tabs li{float:none}.factory-bootstrap-444 .factory-align-vertical .nav-tabs li a{margin-right:-1px;margin-bottom:0;position:relative;z-index:10;padding:10px 0 9px 15px;-webkit-border-radius:3px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius:3px;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;border-radius:3px;border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-444 .factory-align-vertical .nav-tabs>.active>a{border:1px solid #DDD!important;border-right:1px solid #fff!important}.factory-bootstrap-444 .factory-align-vertical .nav-tabs>li a:hover{color:#21759B;z-index:5;border-color:transparent}.factory-bootstrap-444 .factory-align-vertical .control-label{width:20%;max-width:140px}.factory-bootstrap-444 .factory-align-vertical .control-group{width:80%}.factory-bootstrap-444 .factory-align-vertical .control-group input[type=text],.factory-bootstrap-444 .factory-align-vertical .control-group textarea{width:90%}
|
libs/factory/bootstrap/assets/css-min/bootstrap.wp-editor.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .wp-editor-wrap *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-444 .wp-editor-wrap .button,.factory-bootstrap-444 .wp-editor-wrap input,.factory-bootstrap-444 .wp-editor-wrap textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-444 .switch-html,.factory-bootstrap-444 .switch-tmce{color:#777}.factory-bootstrap-444 .html-active .switch-html,.factory-bootstrap-444 .tmce-active .switch-tmce{color:#555}.factory-bootstrap-444 .switch-html:hover,.factory-bootstrap-444 .switch-tmce:hover{color:#777}
|
libs/factory/bootstrap/assets/css-min/control.checkbox.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
#side-sortables .factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
#side-sortables .factory-bootstrap-444 .factory-buttons-way{float:right;position:relative;top:-25px;left:5px;border:3px solid #f9f9f9;border-radius:4px}.factory-bootstrap-444 .factory-checkbox-disabled button,.factory-bootstrap-444 .factory-checkbox-disabled input{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-444 .factory-buttons-way{border:3px solid #f9f9f9;border-radius:4px}.factory-bootstrap-444 .factory-buttons-way button{padding-left:10px;padding-right:10px}.factory-bootstrap-444 .factory-buttons-way .factory-on.active{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-444 .factory-checkbox-tumbler-hint{margin-top:5px}.factory-bootstrap-444 .factory-checkbox-tumbler-hint .factory-tumbler-content{display:inline-block;background-color:#ffd;padding:1px 5px}.admin-color-light .factory-bootstrap-444 .factory-buttons-way .factory-on.active{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.admin-color-blue .factory-bootstrap-444 .factory-buttons-way .factory-on.active{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.admin-color-coffee .factory-bootstrap-444 .factory-buttons-way .factory-on.active{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.admin-color-ectoplasm .factory-bootstrap-444 .factory-buttons-way .factory-on.active{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.admin-color-midnight .factory-bootstrap-444 .factory-buttons-way .factory-on.active{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.admin-color-ocean .factory-bootstrap-444 .factory-buttons-way .factory-on.active{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.admin-color-sunrise .factory-bootstrap-444 .factory-buttons-way .factory-on.active{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}
|
libs/factory/bootstrap/assets/css-min/control.color-and-opacity.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-control-row{padding-left:105px;position:relative}.factory-bootstrap-444 .factory-control-row .factory-color-wrap{position:absolute;left:0;top:0}.factory-bootstrap-444 .factory-control-row .factory-opacity-wrap{width:100%}.factory-bootstrap-444 .iris-picker{margin-top:10px}
|
libs/factory/bootstrap/assets/css-min/control.color.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-color{position:relative}.factory-bootstrap-444 .factory-color .factory-color-hex{display:inline-block;width:65px;text-align:left;vertical-align:top;border-top-right-radius:3px;border-bottom-right-radius:3px;border-radius:3px;z-index:1;position:relative;margin-left:26px;border-top-left-radius:0;border-bottom-left-radius:0}.factory-bootstrap-444 .factory-color .factory-background,.factory-bootstrap-444 .factory-color .factory-pattern{cursor:pointer;height:26px;width:26px;position:absolute;border-radius:5px;background:transparent url(../../images/color_picker_pattern.jpg) center center repeat;-moz-box-sizing:border-box;box-sizing:border-box;border-bottom:2px solid rgba(0,0,0,.34);z-index:1;border-top-right-radius:0!important;border-bottom-right-radius:0!important}.factory-bootstrap-444 .factory-color .factory-background{z-index:2;border-radius:3px}
|
libs/factory/bootstrap/assets/css-min/control.dropdown-and-colors.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-dropdown-and-colors .factory-colors-wrap,.factory-bootstrap-444 .factory-dropdown-and-colors .factory-dropdown-wrap{display:inline-block}.factory-bootstrap-444 .factory-dropdown-and-colors .factory-dropdown-wrap{min-width:200px;max-width:300px}
|
libs/factory/bootstrap/assets/css-min/control.dropdown.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-dropdown.factory-buttons-way .fa{margin-right:6px;position:relative}.factory-bootstrap-444 .factory-dropdown.factory-buttons-way{border:0;border-radius:0}.factory-bootstrap-444 .factory-hints .factory-hint{margin-top:5px;display:inline-block;background-color:#ffd;padding:1px 5px}.admin-color-light .factory-bootstrap-444 .factory-dropdown.factory-buttons-way .active{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.admin-color-blue .factory-bootstrap-444 .factory-dropdown.factory-buttons-way .active{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.admin-color-coffee .factory-bootstrap-444 .factory-dropdown.factory-buttons-way .active{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.admin-color-ectoplasm .factory-bootstrap-444 .factory-dropdown.factory-buttons-way .active{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.admin-color-midnight .factory-bootstrap-444 .factory-dropdown.factory-buttons-way .active{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.admin-color-ocean .factory-bootstrap-444 .factory-dropdown.factory-buttons-way .active{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.admin-color-sunrise .factory-bootstrap-444 .factory-dropdown.factory-buttons-way .active{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}.factory-bootstrap-444 .factory-dropdown.factory-ddslick-way .dd-select{background-color:#fff!important}.factory-bootstrap-444 .factory-dropdown.factory-ddslick-way label{margin-bottom:1px}.factory-bootstrap-444 .factory-dropdown.factory-ddslick-way .dd-option,.factory-bootstrap-444 .factory-dropdown.factory-ddslick-way .dd-selected{padding:8px 12px 8px 11px!important}
|
libs/factory/bootstrap/assets/css-min/control.fonts.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-font .factory-control-row{padding:0;vertical-align:top}.factory-bootstrap-444 .factory-font .factory-color-wrap{position:static;display:inline-block;vertical-align:top}.factory-bootstrap-444 .factory-font .factory-size-wrap{display:inline-block;width:70px;vertical-align:top}.factory-bootstrap-444 .iris-picker{margin-top:10px}.factory-bootstrap-444 .factory-font .factory-family-wrap{padding-bottom:10px}.factory-bootstrap-444 .factory-font .chosen-results{max-height:150px}
|
libs/factory/bootstrap/assets/css-min/control.list.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-list li input{margin:0 5px 0 0;position:relative;top:1px;outline:0!important}.factory-bootstrap-444 .factory-list li span{vertical-align:bottom;line-height:100%}.factory-bootstrap-444 .factory-list .factory-error{position:relative;display:inline-block}.factory-bootstrap-444 .factory-list .factory-error i{color:#f47665;margin:0 7px 0 1px;cursor:help}.factory-bootstrap-444 .factory-list .factory-error-text{display:none;position:absolute;width:300px}.factory-bootstrap-444 .factory-list .factory-error-text,.factory-bootstrap-444 .factory-list-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;padding:10px 12px 12px;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:2px}.factory-bootstrap-444 .factory-list-error{padding:5px 10px;max-width:500px;display:inline-block}.factory-bootstrap-444 .factory-list-error i{margin:0 7px 0 1px}.factory-bootstrap-444 .factory-list .factory-error-text a{color:#fff;font-weight:700}.factory-bootstrap-444 .factory-list .factory-has-error:hover .factory-error-text{display:block}.factory-bootstrap-444 .factory-list .factory-has-error{cursor:default}.opanda-connect-buttons .opanda-has-error .opanda-error{display:inline-block}.factory-bootstrap-444 .factory-checklist-way.factory-empty{font-style:italic;margin-top:7px}
|
libs/factory/bootstrap/assets/css-min/control.multiple-textbox.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-mtextbox-item{position:relative;margin-bottom:5px}.factory-bootstrap-444 .factory-mtextbox-item input,.factory-mtextbox-remove-item{display:inline-block}.factory-bootstrap-444 .factory-mtextbox-item .factory-mtextbox-remove-item{position:absolute;top:0;right:0;bottom:0;width:40px;border-radius:0 3px 3px 0;outline:0}.factory-bootstrap-444 .factory-mtextbox-item .factory-mtextbox-remove-item:focus,.factory-bootstrap-444 .factory-mtextbox-item .factory-mtextbox-remove-item:hover{box-shadow:none;outline:0}.factory-bootstrap-444 .factory-mtextbox-add-item{display:block;margin-top:10px}
|
libs/factory/bootstrap/assets/css-min/control.pattern.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-pattern .factory-pattern-controls{vertical-align:middle}.factory-bootstrap-444 .factory-pattern .factory-preview-wrap{display:inline-block;vertical-align:middle}.factory-bootstrap-444 .factory-pattern .factory-preview{width:100px;height:26px;background:transparent url(../assets/images/color_picker_pattern.jpg) repeat;border:0;border-radius:3px;cursor:pointer;-moz-box-sizing:border-box;box-sizing:border-box;border-bottom:2px solid rgba(0,0,0,.34)!important;position:relative}.factory-bootstrap-444 .factory-pattern .factory-preview.factory-empty{background:transparent url(../assets/images/color_picker_pattern.jpg) repeat!important}.factory-bootstrap-444 .factory-pattern .factory-preview span{position:absolute;top:0;left:76px;background:#111;width:26px;height:26px;border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0;z-index:99;border-bottom:2px solid #000}.factory-bootstrap-444 .factory-pattern .factory-preview span:hover{background:#161616}.factory-bootstrap-444 .factory-pattern .factory-preview span:after{content:'';width:0;height:0;border:transparent solid 5px;border-top-color:#96a6a6;position:absolute;top:10px;right:7px;z-index:1}.factory-bootstrap-444 .factory-pattern.factory-patterns-panel-active .factory-preview span:after{border-top-color:transparent;border-bottom-color:#96a6a6;top:4px}.factory-bootstrap-444 .factory-pattern .factory-color-panel{padding:10px;margin-top:10px;background:rgba(255,255,255,.04);border-radius:3px;display:none}.factory-bootstrap-444 .factory-pattern.factory-color-panel-active .factory-color-panel{display:block}.factory-bootstrap-444 .factory-pattern .factory-color-label{margin-right:5px}.factory-bootstrap-444 .factory-pattern .factory-color,.factory-bootstrap-444 .factory-pattern .factory-color-label{display:inline-block;vertical-align:middle}.factory-bootstrap-444 .factory-pattern .factory-color-panel .factory-hint{margin-top:7px}.factory-bootstrap-444 .factory-pattern .factory-patterns-panel{display:none;margin-top:10px;padding:2px 0 0;border-top:1px solid #272727;overflow:visible}.factory-bootstrap-444 .factory-pattern .factory-patterns-group{clear:both;padding:2px 0 0;border-bottom:1px solid #272727;padding-bottom:10px}.factory-bootstrap-444 .factory-pattern .factory-patterns-group-title{margin-top:10px}.factory-bootstrap-444 .factory-pattern .factory-patterns-row{padding-top:10px}.factory-bootstrap-444 .factory-pattern.factory-patterns-panel-active .factory-patterns-panel{display:block}.factory-bootstrap-444 .factory-pattern .factory-patterns-item,.factory-bootstrap-444 .factory-pattern .factory-patterns-item div{width:46px;height:46px}.factory-bootstrap-444 .factory-pattern .factory-patterns-item{display:inline-block;cursor:pointer;position:relative;vertical-align:top}.factory-bootstrap-444 .factory-pattern .factory-patterns-item+.factory-patterns-item{margin-left:10px}.factory-bootstrap-444 .factory-pattern .factory-patterns-item div{position:absolute;border-radius:100%;border:4px solid #333}.factory-bootstrap-444 .factory-pattern .factory-patterns-item:hover .factory-pattern-holder{width:64px;height:64px;top:-10px;left:-10px;border:1px solid #333;z-index:10}.factory-bootstrap-444 .factory-pattern .factory-no-preview{background:#2f2f2f;line-height:46px;border-radius:100%;text-align:center;font-size:20px}.factory-bootstrap-444 .factory-pattern .factory-no-preview:hover{background:#333}.factory-bootstrap-444 .factory-pattern .factory-button .fa{font-size:14px;margin-right:1px}.factory-bootstrap-444 .factory-pattern .factory-button span{position:relative;top:-1px}.factory-bootstrap-444 .factory-pattern .factory-button+.factory-button{margin-left:3px}.factory-bootstrap-444 .factory-pattern .factory-change-color-btn{margin-left:5px}
|
libs/factory/bootstrap/assets/css-min/control.radio-colors.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-from-radio-label,.factory-bootstrap-444 .factory-from-radio-label>span{-webkit-transition:all .3s;-moz-transition:all .3s;-o-transition:all .3s;transition:all .3s}.factory-bootstrap-444 .factory-from-radio-label{position:relative;width:30px;height:30px;border-radius:3px;background-color:#fff;border:1px solid rgba(0,0,0,.1)}.factory-bootstrap-444 .factory-from-radio-label:hover{background-color:#f5f2f2;border:1px solid rgba(0,0,0,.2)}.factory-bootstrap-444 .factory-from-radio-label>span{display:block;position:absolute;top:2px;left:2px;right:2px;bottom:2px;text-indent:-9999px;background-color:#fff}.factory-bootstrap-444 .factory-from-radio-label .factory-radio-color:checked+span{border:5px solid #fff}.factory-bootstrap-444 .factory-radio-color{opacity:0}
|
libs/factory/bootstrap/assets/css-min/holder.conrol-group.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/css-min/holder.more-link.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-more-link-content{border-top:1px dashed #DDD;padding-top:25px;width:100%;padding-right:20px;position:relative}.factory-bootstrap-444 .factory-tab .factory-more-link-show{display:inline-block;text-decoration:none;border-bottom:1px dotted #21759b;position:relative}.factory-bootstrap-444 .factory-tab .factory-more-link-show:hover{border-color:#d54e21}.factory-bootstrap-444 .factory-tab .factory-more-link-hide{position:absolute;margin-top:-35px;background-color:#fff;padding:0 5px;right:20px;color:#bbb;text-decoration:none}.factory-bootstrap-444 .factory-tab .factory-more-link-hide:hover{color:#999}
|
libs/factory/bootstrap/assets/css-min/plugin.chosen.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/css-min/plugin.gradient-picker.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-gradient-picker-wrap{margin-bottom:20px}.factory-bootstrap-444 .gradientPicker-preview{width:100%;height:30px;border-radius:3px;background:transparent url(../../images/color_picker_pattern.jpg) repeat}.factory-bootstrap-444 .factory-color-picker-container{display:none;padding-top:15px}.factory-bootstrap-444 .factory-point,.factory-bootstrap-444 .factory-point-color{position:absolute;width:10px;height:10px;border:0;font-size:0;border-radius:50% 50% 100% 100%;-moz-border-radius:50% 50% 100% 100%;-webkit-border-radius:50% 50% 100% 100%;cursor:pointer;overflow:hidden}.factory-bootstrap-444 .factory-point-color{border-radius:0}.factory-bootstrap-444 .factory-point{background:transparent url(../../images/color_picker_pattern.jpg) repeat}.factory-bootstrap-444 .factory-current-point{-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.factory-bootstrap-444 .factory-points{position:relative;height:10px;width:100%;cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAWCAYAAADAQbwGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ1JREFUeNq8VAEKwCAITOn%2FX3ZzTBCxUicTBsvsOO9EIKJhAwCe5H0H4xBvLQgOegV8yZ8AZwJHc8zKI4c53bk6IGNqMH3GCJuMlkeG4p4G1e5Lq1KXatmCM7AdrbLLq7FC0agycx7oXOmk8%2FY%2FPNjRR7s6ZFHFqY5AcasLFDPtpAC7WH7aNkxgO9gdLNv3oWdKiKXX7r8bu6rlJcAA9ZRfMt5oHoIAAAAASUVORK5CYII%3D) 5 0,pointer}.factory-bootstrap-444 .gradientPicker-iris-wrap{display:none;position:absolute;left:0;top:78px;width:212px;height:212px;background:#111;border:1px solid #222;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;z-index:9999}.factory-bootstrap-444 .gradientPicker-iris-wrap .iris-border,.factory-bootstrap-444 .gradientPicker-iris-wrap .iris-picker{border:0;background:#111}.factory-bootstrap-444 .gradientPicker-pallets{padding:8px 0 3px;margin-bottom:10px;border-bottom:1px solid #323232;border-top:1px solid #323232;font-size:0;line-height:0;text-align:center}.factory-bootstrap-444 .factory-preset-gradient,.factory-bootstrap-444 .factory-secondary-color{width:22px;height:22px;border-radius:100%}.factory-bootstrap-444 .factory-preset-gradient{display:inline-block;cursor:pointer;margin-bottom:3px;position:relative}.factory-bootstrap-444 .factory-preset-gradient:hover{opacity:.9}.factory-bootstrap-444 .factory-preset-gradient+.factory-preset-gradient{margin-left:5px}.factory-bootstrap-444 .factory-secondary-color-wrap{width:11px;height:22px;position:absolute;overflow:hidden;right:0}.factory-bootstrap-444 .factory-secondary-color{position:absolute;left:-11px;background-color:red}.factory-bootstrap-444 .gradientPicker-filldirection{width:200px;margin-top:5px}.factory-bootstrap-444 .gradientPicker-ptConfig .color-chooser{float:left}.factory-bootstrap-444 .factory-color-picker-container .factory-slider{padding-left:75px;padding-right:60px;position:relative}.factory-bootstrap-444 .factory-color-picker-container .factory-color-hex{top:0;left:0;position:absolute;width:65px}
|
libs/factory/bootstrap/assets/css-min/plugin.nouislider.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/css-min/plugin.paddings-editor.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-444 .factory-paddings-editor{padding-left:135px;height:90px;position:relative}.factory-bootstrap-444 .factory-paddings-editor .factory-rectangle{width:120px;height:90px;border-radius:10px;background-color:#a6b6b6;overflow:hidden;cursor:pointer;-moz-box-sizing:content-box;box-sizing:content-box;position:absolute;top:0;left:0}.factory-bootstrap-444 .factory-paddings-editor .factory-side{width:100%;height:100%;position:absolute}.factory-bootstrap-444 .factory-paddings-editor .factory-side-center{width:30px;height:30px;border-radius:100%;background-color:#bac9c9;position:absolute;top:30px;left:45px;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-444 .factory-paddings-editor .factory-side-center:hover{background-color:#c0cece}.factory-bootstrap-444 .factory-paddings-editor .factory-side-center.factory-active{background-color:#829595}.factory-bootstrap-444 .factory-paddings-editor .factory-side-top{height:30px;top:0;left:0}.factory-bootstrap-444 .factory-paddings-editor .factory-side-right{width:45px;top:0;right:0}.factory-bootstrap-444 .factory-paddings-editor .factory-side-bottom{height:30px;bottom:0;left:0}.factory-bootstrap-444 .factory-paddings-editor .factory-side-left{width:45px;top:0;left:0}.factory-bootstrap-444 .factory-paddings-editor .factory-rectangle .factory-visible-value{color:#1b1f1f;background-color:rgba(255,255,255,.3);border-radius:3px;padding:2px;line-height:13px;display:inline-block}.factory-bootstrap-444 .factory-paddings-editor .factory-rectangle .factory-side.factory-active .factory-visible-value{background-color:rgba(255,255,255,.3);border-radius:3px;padding:2px;line-height:13px;display:inline-block}.factory-bootstrap-444 .factory-paddings-editor .factory-visible-value em{font-style:normal}.factory-bootstrap-444 .factory-paddings-editor .factory-side-bottom,.factory-bootstrap-444 .factory-paddings-editor .factory-side-top{text-align:center;line-height:30px}.factory-bootstrap-444 .factory-paddings-editor .factory-side-left,.factory-bootstrap-444 .factory-paddings-editor .factory-side-right{line-height:90px;text-align:center}.factory-bootstrap-444 .factory-paddings-editor .factory-slider-container{font-style:italic}.factory-bootstrap-444 .factory-paddings-editor .factory-slider{padding-right:0;margin-top:7px}
|
libs/factory/bootstrap/assets/js-min/bootstrap.accordion.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a,b,c,d){"use strict";a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a,b,c,d){"use strict";a.fn.factoryBootstrap444_accordion=function(){return this.each(function(){var b=a(this),c=!1;a("."+b.attr("class")+" > div:first").show(),a("."+b.attr("class")+" > div:first").add("."+b.attr("class")+" > h3:first").addClass("active"),a("."+b.attr("class")+" > h3").on("click",function(){var d=a(this),e=d.next();return d.hasClass("active")||c||(c=!0,d.parent().children("div").slideUp(500),a("."+b.attr("class")+" > h3").removeClass("active"),d.addClass("active"),e.addClass("active").slideDown({duration:500,complete:function(){c=!1,b.trigger("shown.bs.accordion",[d])},progress:function(){b.trigger("progress.bs.accordion",[d])}})),!1})})},a(function(){a(".factory-bootstrap-444 .factory-accordion").factoryBootstrap444_accordion()})}(jQuery,window,document);
|
libs/factory/bootstrap/assets/js-min/bootstrap.affix.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.alert.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.button.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.carousel.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.collapse.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},a.fn.factoryBootstrap444_collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.factoryBootstrap444_collapse.Constructor=b,a(document).on("click.bs.collapse.data-api","[data-toggle=factory-collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=factory-collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/bootstrap.datepicker.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.datetimepicker.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -15,4 +15,4 @@
|
|
15 |
=========================================================
|
16 |
*/
|
17 |
!function(a){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],a);else if("object"==typeof exports)module.exports=a(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";a(jQuery,moment)}}(function(a,b){"use strict";if(!b)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var c=function(c,d){var e,f,g,h,i,j,k,l={},m=!0,n=!1,o=!1,p=0,q=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],r=["days","months","years","decades"],s=["top","bottom","auto"],t=["left","right","auto"],u=["default","top","bottom"],v={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},w={},x=function(){return void 0!==b.tz&&void 0!==d.timeZone&&null!==d.timeZone&&""!==d.timeZone},y=function(a){var c;return c=void 0===a||null===a?b():b.isDate(a)||b.isMoment(a)?b(a):x()?b.tz(a,j,d.useStrict,d.timeZone):b(a,j,d.useStrict),x()&&c.tz(d.timeZone),c},z=function(a){if("string"!=typeof a||a.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(a){case"y":return-1!==i.indexOf("Y");case"M":return-1!==i.indexOf("M");case"d":return-1!==i.toLowerCase().indexOf("d");case"h":case"H":return-1!==i.toLowerCase().indexOf("h");case"m":return-1!==i.indexOf("m");case"s":return-1!==i.indexOf("s");default:return!1}},A=function(){return z("h")||z("m")||z("s")},B=function(){return z("y")||z("M")||z("d")},C=function(){var b=a("<thead>").append(a("<tr>").append(a("<th>").addClass("prev").attr("data-action","previous").append(a("<span>").addClass(d.icons.previous))).append(a("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",d.calendarWeeks?"6":"5")).append(a("<th>").addClass("next").attr("data-action","next").append(a("<span>").addClass(d.icons.next)))),c=a("<tbody>").append(a("<tr>").append(a("<td>").attr("colspan",d.calendarWeeks?"8":"7")));return[a("<div>").addClass("datepicker-days").append(a("<table>").addClass("table-condensed").append(b).append(a("<tbody>"))),a("<div>").addClass("datepicker-months").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-years").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-decades").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone()))]},D=function(){var b=a("<tr>"),c=a("<tr>"),e=a("<tr>");return z("h")&&(b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:d.tooltips.pickHour}).attr("data-action","showHours"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(a("<span>").addClass(d.icons.down))))),z("m")&&(z("h")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:d.tooltips.pickMinute}).attr("data-action","showMinutes"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(a("<span>").addClass(d.icons.down))))),z("s")&&(z("m")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:d.tooltips.pickSecond}).attr("data-action","showSeconds"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(a("<span>").addClass(d.icons.down))))),h||(b.append(a("<td>").addClass("separator")),c.append(a("<td>").append(a("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:d.tooltips.togglePeriod}))),e.append(a("<td>").addClass("separator"))),a("<div>").addClass("timepicker-picker").append(a("<table>").addClass("table-condensed").append([b,c,e]))},E=function(){var b=a("<div>").addClass("timepicker-hours").append(a("<table>").addClass("table-condensed")),c=a("<div>").addClass("timepicker-minutes").append(a("<table>").addClass("table-condensed")),d=a("<div>").addClass("timepicker-seconds").append(a("<table>").addClass("table-condensed")),e=[D()];return z("h")&&e.push(b),z("m")&&e.push(c),z("s")&&e.push(d),e},F=function(){var b=[];return d.showTodayButton&&b.push(a("<td>").append(a("<a>").attr({"data-action":"today",title:d.tooltips.today}).append(a("<span>").addClass(d.icons.today)))),!d.sideBySide&&B()&&A()&&b.push(a("<td>").append(a("<a>").attr({"data-action":"togglePicker",title:d.tooltips.selectTime}).append(a("<span>").addClass(d.icons.time)))),d.showClear&&b.push(a("<td>").append(a("<a>").attr({"data-action":"clear",title:d.tooltips.clear}).append(a("<span>").addClass(d.icons.clear)))),d.showClose&&b.push(a("<td>").append(a("<a>").attr({"data-action":"close",title:d.tooltips.close}).append(a("<span>").addClass(d.icons.close)))),a("<table>").addClass("table-condensed").append(a("<tbody>").append(a("<tr>").append(b)))},G=function(){var b=a("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),c=a("<div>").addClass("datepicker").append(C()),e=a("<div>").addClass("timepicker").append(E()),f=a("<ul>").addClass("list-unstyled"),g=a("<li>").addClass("picker-switch"+(d.collapse?" accordion-toggle":"")).append(F());return d.inline&&b.removeClass("dropdown-menu"),h&&b.addClass("usetwentyfour"),z("s")&&!h&&b.addClass("wider"),d.sideBySide&&B()&&A()?(b.addClass("timepicker-sbs"),"top"===d.toolbarPlacement&&b.append(g),b.append(a("<div>").addClass("row").append(c.addClass("col-md-6")).append(e.addClass("col-md-6"))),"bottom"===d.toolbarPlacement&&b.append(g),b):("top"===d.toolbarPlacement&&f.append(g),B()&&f.append(a("<li>").addClass(d.collapse&&A()?"collapse in":"").append(c)),"default"===d.toolbarPlacement&&f.append(g),A()&&f.append(a("<li>").addClass(d.collapse&&B()?"collapse":"").append(e)),"bottom"===d.toolbarPlacement&&f.append(g),b.append(f))},H=function(){var b,e={};return b=c.is("input")||d.inline?c.data():c.find("input").data(),b.dateOptions&&b.dateOptions instanceof Object&&(e=a.extend(!0,e,b.dateOptions)),a.each(d,function(a){var c="date"+a.charAt(0).toUpperCase()+a.slice(1);void 0!==b[c]&&(e[a]=b[c])}),e},I=function(){var b,e=(n||c).position(),f=(n||c).offset(),g=d.widgetPositioning.vertical,h=d.widgetPositioning.horizontal;if(d.widgetParent)b=d.widgetParent.append(o);else if(c.is("input"))b=c.after(o).parent();else{if(d.inline)return void(b=c.append(o));b=c,c.children().first().after(o)}if("auto"===g&&(g=f.top+1.5*o.height()>=a(window).height()+a(window).scrollTop()&&o.height()+c.outerHeight()<f.top?"top":"bottom"),"auto"===h&&(h=b.width()<f.left+o.outerWidth()/2&&f.left+o.outerWidth()>a(window).width()?"right":"left"),"top"===g?o.addClass("top").removeClass("bottom"):o.addClass("bottom").removeClass("top"),"right"===h?o.addClass("pull-right"):o.removeClass("pull-right"),"static"===b.css("position")&&(b=b.parents().filter(function(){return"static"!==a(this).css("position")}).first()),0===b.length)throw new Error("datetimepicker component should be placed within a non-static positioned container");o.css({top:"top"===g?"auto":e.top+c.outerHeight(),bottom:"top"===g?b.outerHeight()-(b===c?0:e.top):"auto",left:"left"===h?b===c?0:e.left:"auto",right:"left"===h?"auto":b.outerWidth()-c.outerWidth()-(b===c?0:e.left)})},J=function(a){"dp.change"===a.type&&(a.date&&a.date.isSame(a.oldDate)||!a.date&&!a.oldDate)||c.trigger(a)},K=function(a){"y"===a&&(a="YYYY"),J({type:"dp.update",change:a,viewDate:f.clone()})},L=function(a){o&&(a&&(k=Math.max(p,Math.min(3,k+a))),o.find(".datepicker > div").hide().filter(".datepicker-"+q[k].clsName).show())},M=function(){var b=a("<tr>"),c=f.clone().startOf("w").startOf("d");for(d.calendarWeeks===!0&&b.append(a("<th>").addClass("cw").text("#"));c.isBefore(f.clone().endOf("w"));)b.append(a("<th>").addClass("dow").text(c.format("dd"))),c.add(1,"d");o.find(".datepicker-days thead").append(b)},N=function(a){return d.disabledDates[a.format("YYYY-MM-DD")]===!0},O=function(a){return d.enabledDates[a.format("YYYY-MM-DD")]===!0},P=function(a){return d.disabledHours[a.format("H")]===!0},Q=function(a){return d.enabledHours[a.format("H")]===!0},R=function(b,c){if(!b.isValid())return!1;if(d.disabledDates&&"d"===c&&N(b))return!1;if(d.enabledDates&&"d"===c&&!O(b))return!1;if(d.minDate&&b.isBefore(d.minDate,c))return!1;if(d.maxDate&&b.isAfter(d.maxDate,c))return!1;if(d.daysOfWeekDisabled&&"d"===c&&-1!==d.daysOfWeekDisabled.indexOf(b.day()))return!1;if(d.disabledHours&&("h"===c||"m"===c||"s"===c)&&P(b))return!1;if(d.enabledHours&&("h"===c||"m"===c||"s"===c)&&!Q(b))return!1;if(d.disabledTimeIntervals&&("h"===c||"m"===c||"s"===c)){var e=!1;if(a.each(d.disabledTimeIntervals,function(){return b.isBetween(this[0],this[1])?(e=!0,!1):void 0}),e)return!1}return!0},S=function(){for(var b=[],c=f.clone().startOf("y").startOf("d");c.isSame(f,"y");)b.push(a("<span>").attr("data-action","selectMonth").addClass("month").text(c.format("MMM"))),c.add(1,"M");o.find(".datepicker-months td").empty().append(b)},T=function(){var b=o.find(".datepicker-months"),c=b.find("th"),g=b.find("tbody").find("span");c.eq(0).find("span").attr("title",d.tooltips.prevYear),c.eq(1).attr("title",d.tooltips.selectYear),c.eq(2).find("span").attr("title",d.tooltips.nextYear),b.find(".disabled").removeClass("disabled"),R(f.clone().subtract(1,"y"),"y")||c.eq(0).addClass("disabled"),c.eq(1).text(f.year()),R(f.clone().add(1,"y"),"y")||c.eq(2).addClass("disabled"),g.removeClass("active"),e.isSame(f,"y")&&!m&&g.eq(e.month()).addClass("active"),g.each(function(b){R(f.clone().month(b),"M")||a(this).addClass("disabled")})},U=function(){var a=o.find(".datepicker-years"),b=a.find("th"),c=f.clone().subtract(5,"y"),g=f.clone().add(6,"y"),h="";for(b.eq(0).find("span").attr("title",d.tooltips.prevDecade),b.eq(1).attr("title",d.tooltips.selectDecade),b.eq(2).find("span").attr("title",d.tooltips.nextDecade),a.find(".disabled").removeClass("disabled"),d.minDate&&d.minDate.isAfter(c,"y")&&b.eq(0).addClass("disabled"),b.eq(1).text(c.year()+"-"+g.year()),d.maxDate&&d.maxDate.isBefore(g,"y")&&b.eq(2).addClass("disabled");!c.isAfter(g,"y");)h+='<span data-action="selectYear" class="year'+(c.isSame(e,"y")&&!m?" active":"")+(R(c,"y")?"":" disabled")+'">'+c.year()+"</span>",c.add(1,"y");a.find("td").html(h)},V=function(){var a,c=o.find(".datepicker-decades"),g=c.find("th"),h=b({y:f.year()-f.year()%100-1}),i=h.clone().add(100,"y"),j=h.clone(),k=!1,l=!1,m="";for(g.eq(0).find("span").attr("title",d.tooltips.prevCentury),g.eq(2).find("span").attr("title",d.tooltips.nextCentury),c.find(".disabled").removeClass("disabled"),(h.isSame(b({y:1900}))||d.minDate&&d.minDate.isAfter(h,"y"))&&g.eq(0).addClass("disabled"),g.eq(1).text(h.year()+"-"+i.year()),(h.isSame(b({y:2e3}))||d.maxDate&&d.maxDate.isBefore(i,"y"))&&g.eq(2).addClass("disabled");!h.isAfter(i,"y");)a=h.year()+12,k=d.minDate&&d.minDate.isAfter(h,"y")&&d.minDate.year()<=a,l=d.maxDate&&d.maxDate.isAfter(h,"y")&&d.maxDate.year()<=a,m+='<span data-action="selectDecade" class="decade'+(e.isAfter(h)&&e.year()<=a?" active":"")+(R(h,"y")||k||l?"":" disabled")+'" data-selection="'+(h.year()+6)+'">'+(h.year()+1)+" - "+(h.year()+12)+"</span>",h.add(12,"y");m+="<span></span><span></span><span></span>",c.find("td").html(m),g.eq(1).text(j.year()+1+"-"+h.year())},W=function(){var b,c,g,h=o.find(".datepicker-days"),i=h.find("th"),j=[],k=[];if(B()){for(i.eq(0).find("span").attr("title",d.tooltips.prevMonth),i.eq(1).attr("title",d.tooltips.selectMonth),i.eq(2).find("span").attr("title",d.tooltips.nextMonth),h.find(".disabled").removeClass("disabled"),i.eq(1).text(f.format(d.dayViewHeaderFormat)),R(f.clone().subtract(1,"M"),"M")||i.eq(0).addClass("disabled"),R(f.clone().add(1,"M"),"M")||i.eq(2).addClass("disabled"),b=f.clone().startOf("M").startOf("w").startOf("d"),g=0;42>g;g++)0===b.weekday()&&(c=a("<tr>"),d.calendarWeeks&&c.append('<td class="cw">'+b.week()+"</td>"),j.push(c)),k=["day"],b.isBefore(f,"M")&&k.push("old"),b.isAfter(f,"M")&&k.push("new"),b.isSame(e,"d")&&!m&&k.push("active"),R(b,"d")||k.push("disabled"),b.isSame(y(),"d")&&k.push("today"),(0===b.day()||6===b.day())&&k.push("weekend"),J({type:"dp.classify",date:b,classNames:k}),c.append('<td data-action="selectDay" data-day="'+b.format("L")+'" class="'+k.join(" ")+'">'+b.date()+"</td>"),b.add(1,"d");h.find("tbody").empty().append(j),T(),U(),V()}},X=function(){var b=o.find(".timepicker-hours table"),c=f.clone().startOf("d"),d=[],e=a("<tr>");for(f.hour()>11&&!h&&c.hour(12);c.isSame(f,"d")&&(h||f.hour()<12&&c.hour()<12||f.hour()>11);)c.hour()%4===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectHour" class="hour'+(R(c,"h")?"":" disabled")+'">'+c.format(h?"HH":"hh")+"</td>"),c.add(1,"h");b.empty().append(d)},Y=function(){for(var b=o.find(".timepicker-minutes table"),c=f.clone().startOf("h"),e=[],g=a("<tr>"),h=1===d.stepping?5:d.stepping;f.isSame(c,"h");)c.minute()%(4*h)===0&&(g=a("<tr>"),e.push(g)),g.append('<td data-action="selectMinute" class="minute'+(R(c,"m")?"":" disabled")+'">'+c.format("mm")+"</td>"),c.add(h,"m");b.empty().append(e)},Z=function(){for(var b=o.find(".timepicker-seconds table"),c=f.clone().startOf("m"),d=[],e=a("<tr>");f.isSame(c,"m");)c.second()%20===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectSecond" class="second'+(R(c,"s")?"":" disabled")+'">'+c.format("ss")+"</td>"),c.add(5,"s");b.empty().append(d)},$=function(){var a,b,c=o.find(".timepicker span[data-time-component]");h||(a=o.find(".timepicker [data-action=togglePeriod]"),b=e.clone().add(e.hours()>=12?-12:12,"h"),a.text(e.format("A")),R(b,"h")?a.removeClass("disabled"):a.addClass("disabled")),c.filter("[data-time-component=hours]").text(e.format(h?"HH":"hh")),c.filter("[data-time-component=minutes]").text(e.format("mm")),c.filter("[data-time-component=seconds]").text(e.format("ss")),X(),Y(),Z()},_=function(){o&&(W(),$())},aa=function(a){var b=m?null:e;if(!a)return m=!0,g.val(""),c.data("date",""),J({type:"dp.change",date:!1,oldDate:b}),void _();if(a=a.clone().locale(d.locale),x()&&a.tz(d.timeZone),1!==d.stepping)for(a.minutes(Math.round(a.minutes()/d.stepping)*d.stepping).seconds(0);d.minDate&&a.isBefore(d.minDate);)a.add(d.stepping,"minutes");R(a)?(e=a,f=e.clone(),g.val(e.format(i)),c.data("date",e.format(i)),m=!1,_(),J({type:"dp.change",date:e.clone(),oldDate:b})):(d.keepInvalid?J({type:"dp.change",date:a,oldDate:b}):g.val(m?"":e.format(i)),J({type:"dp.error",date:a,oldDate:b}))},ba=function(){var b=!1;return o?(o.find(".collapse").each(function(){var c=a(this).data("collapse");return c&&c.transitioning?(b=!0,!1):!0}),b?l:(n&&n.hasClass("btn")&&n.toggleClass("active"),o.hide(),a(window).off("resize",I),o.off("click","[data-action]"),o.off("mousedown",!1),o.remove(),o=!1,J({type:"dp.hide",date:e.clone()}),g.blur(),f=e.clone(),l)):l},ca=function(){aa(null)},da=function(a){return void 0===d.parseInputDate?(!b.isMoment(a)||a instanceof Date)&&(a=y(a)):a=d.parseInputDate(a),a},ea={next:function(){var a=q[k].navFnc;f.add(q[k].navStep,a),W(),K(a)},previous:function(){var a=q[k].navFnc;f.subtract(q[k].navStep,a),W(),K(a)},pickerSwitch:function(){L(1)},selectMonth:function(b){var c=a(b.target).closest("tbody").find("span").index(a(b.target));f.month(c),k===p?(aa(e.clone().year(f.year()).month(f.month())),d.inline||ba()):(L(-1),W()),K("M")},selectYear:function(b){var c=parseInt(a(b.target).text(),10)||0;f.year(c),k===p?(aa(e.clone().year(f.year())),d.inline||ba()):(L(-1),W()),K("YYYY")},selectDecade:function(b){var c=parseInt(a(b.target).data("selection"),10)||0;f.year(c),k===p?(aa(e.clone().year(f.year())),d.inline||ba()):(L(-1),W()),K("YYYY")},selectDay:function(b){var c=f.clone();a(b.target).is(".old")&&c.subtract(1,"M"),a(b.target).is(".new")&&c.add(1,"M"),aa(c.date(parseInt(a(b.target).text(),10))),A()||d.keepOpen||d.inline||ba()},incrementHours:function(){var a=e.clone().add(1,"h");R(a,"h")&&aa(a)},incrementMinutes:function(){var a=e.clone().add(d.stepping,"m");R(a,"m")&&aa(a)},incrementSeconds:function(){var a=e.clone().add(1,"s");R(a,"s")&&aa(a)},decrementHours:function(){var a=e.clone().subtract(1,"h");R(a,"h")&&aa(a)},decrementMinutes:function(){var a=e.clone().subtract(d.stepping,"m");R(a,"m")&&aa(a)},decrementSeconds:function(){var a=e.clone().subtract(1,"s");R(a,"s")&&aa(a)},togglePeriod:function(){aa(e.clone().add(e.hours()>=12?-12:12,"h"))},togglePicker:function(b){var c,e=a(b.target),f=e.closest("ul"),g=f.find(".in"),h=f.find(".collapse:not(.in)");if(g&&g.length){if(c=g.data("collapse"),c&&c.transitioning)return;g.collapse?(g.collapse("hide"),h.collapse("show")):(g.removeClass("in"),h.addClass("in")),e.is("span")?e.toggleClass(d.icons.time+" "+d.icons.date):e.find("span").toggleClass(d.icons.time+" "+d.icons.date)}},showPicker:function(){o.find(".timepicker > div:not(.timepicker-picker)").hide(),o.find(".timepicker .timepicker-picker").show()},showHours:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-hours").show()},showMinutes:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-seconds").show()},selectHour:function(b){var c=parseInt(a(b.target).text(),10);h||(e.hours()>=12?12!==c&&(c+=12):12===c&&(c=0)),aa(e.clone().hours(c)),ea.showPicker.call(l)},selectMinute:function(b){aa(e.clone().minutes(parseInt(a(b.target).text(),10))),ea.showPicker.call(l)},selectSecond:function(b){aa(e.clone().seconds(parseInt(a(b.target).text(),10))),ea.showPicker.call(l)},clear:ca,today:function(){var a=y();R(a,"d")&&aa(a)},close:ba},fa=function(b){return a(b.currentTarget).is(".disabled")?!1:(ea[a(b.currentTarget).data("action")].apply(l,arguments),!1)},ga=function(){var b,c={year:function(a){return a.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(a){return a.date(1).hours(0).seconds(0).minutes(0)},day:function(a){return a.hours(0).seconds(0).minutes(0)},hour:function(a){return a.seconds(0).minutes(0)},minute:function(a){return a.seconds(0)}};return g.prop("disabled")||!d.ignoreReadonly&&g.prop("readonly")||o?l:(void 0!==g.val()&&0!==g.val().trim().length?aa(da(g.val().trim())):m&&d.useCurrent&&(d.inline||g.is("input")&&0===g.val().trim().length)&&(b=y(),"string"==typeof d.useCurrent&&(b=c[d.useCurrent](b)),aa(b)),o=G(),M(),S(),o.find(".timepicker-hours").hide(),o.find(".timepicker-minutes").hide(),o.find(".timepicker-seconds").hide(),_(),L(),a(window).on("resize",I),o.on("click","[data-action]",fa),o.on("mousedown",!1),n&&n.hasClass("btn")&&n.toggleClass("active"),I(),o.show(),d.focusOnShow&&!g.is(":focus")&&g.focus(),J({type:"dp.show"}),l)},ha=function(){return o?ba():ga()},ia=function(a){var b,c,e,f,g=null,h=[],i={},j=a.which,k="p";w[j]=k;for(b in w)w.hasOwnProperty(b)&&w[b]===k&&(h.push(b),parseInt(b,10)!==j&&(i[b]=!0));for(b in d.keyBinds)if(d.keyBinds.hasOwnProperty(b)&&"function"==typeof d.keyBinds[b]&&(e=b.split(" "),e.length===h.length&&v[j]===e[e.length-1])){for(f=!0,c=e.length-2;c>=0;c--)if(!(v[e[c]]in i)){f=!1;break}if(f){g=d.keyBinds[b];break}}g&&(g.call(l,o),a.stopPropagation(),a.preventDefault())},ja=function(a){w[a.which]="r",a.stopPropagation(),a.preventDefault()},ka=function(b){var c=a(b.target).val().trim(),d=c?da(c):null;return aa(d),b.stopImmediatePropagation(),!1},la=function(){g.on({change:ka,blur:d.debug?"":ba,keydown:ia,keyup:ja,focus:d.allowInputToggle?ga:""}),c.is("input")?g.on({focus:ga}):n&&(n.on("click",ha),n.on("mousedown",!1))},ma=function(){g.off({change:ka,blur:blur,keydown:ia,keyup:ja,focus:d.allowInputToggle?ba:""}),c.is("input")?g.off({focus:ga}):n&&(n.off("click",ha),n.off("mousedown",!1))},na=function(b){var c={};return a.each(b,function(){var a=da(this);a.isValid()&&(c[a.format("YYYY-MM-DD")]=!0)}),Object.keys(c).length?c:!1},oa=function(b){var c={};return a.each(b,function(){c[this]=!0}),Object.keys(c).length?c:!1},pa=function(){var a=d.format||"L LT";i=a.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){var b=e.localeData().longDateFormat(a)||a;return b.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){return e.localeData().longDateFormat(a)||a})}),j=d.extraFormats?d.extraFormats.slice():[],j.indexOf(a)<0&&j.indexOf(i)<0&&j.push(i),h=i.toLowerCase().indexOf("a")<1&&i.replace(/\[.*?\]/g,"").indexOf("h")<1,z("y")&&(p=2),z("M")&&(p=1),z("d")&&(p=0),k=Math.max(p,k),m||aa(e)};if(l.destroy=function(){ba(),ma(),c.removeData("DateTimePicker"),c.removeData("date")},l.toggle=ha,l.show=ga,l.hide=ba,l.disable=function(){return ba(),n&&n.hasClass("btn")&&n.addClass("disabled"),g.prop("disabled",!0),l},l.enable=function(){return n&&n.hasClass("btn")&&n.removeClass("disabled"),g.prop("disabled",!1),l},l.ignoreReadonly=function(a){if(0===arguments.length)return d.ignoreReadonly;if("boolean"!=typeof a)throw new TypeError("ignoreReadonly () expects a boolean parameter");return d.ignoreReadonly=a,l},l.options=function(b){if(0===arguments.length)return a.extend(!0,{},d);if(!(b instanceof Object))throw new TypeError("options() options parameter should be an object");return a.extend(!0,d,b),a.each(d,function(a,b){if(void 0===l[a])throw new TypeError("option "+a+" is not recognized!");l[a](b)}),l},l.date=function(a){if(0===arguments.length)return m?null:e.clone();if(!(null===a||"string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return aa(null===a?null:da(a)),l},l.format=function(a){if(0===arguments.length)return d.format;if("string"!=typeof a&&("boolean"!=typeof a||a!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+a);return d.format=a,i&&pa(),l},l.timeZone=function(a){if(0===arguments.length)return d.timeZone;if("string"!=typeof a)throw new TypeError("newZone() expects a string parameter");return d.timeZone=a,l},l.dayViewHeaderFormat=function(a){if(0===arguments.length)return d.dayViewHeaderFormat;if("string"!=typeof a)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return d.dayViewHeaderFormat=a,l},l.extraFormats=function(a){if(0===arguments.length)return d.extraFormats;if(a!==!1&&!(a instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return d.extraFormats=a,j&&pa(),l},l.disabledDates=function(b){if(0===arguments.length)return d.disabledDates?a.extend({},d.disabledDates):d.disabledDates;if(!b)return d.disabledDates=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return d.disabledDates=na(b),d.enabledDates=!1,_(),l},l.enabledDates=function(b){if(0===arguments.length)return d.enabledDates?a.extend({},d.enabledDates):d.enabledDates;if(!b)return d.enabledDates=!1,_(),l;if(!(b instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return d.enabledDates=na(b),d.disabledDates=!1,_(),l},l.daysOfWeekDisabled=function(a){if(0===arguments.length)return d.daysOfWeekDisabled.splice(0);if("boolean"==typeof a&&!a)return d.daysOfWeekDisabled=!1,_(),l;if(!(a instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(d.daysOfWeekDisabled=a.reduce(function(a,b){return b=parseInt(b,10),b>6||0>b||isNaN(b)?a:(-1===a.indexOf(b)&&a.push(b),a)},[]).sort(),d.useCurrent&&!d.keepInvalid){for(var b=0;!R(e,"d");){if(e.add(1,"d"),31===b)throw"Tried 31 times to find a valid date";b++}aa(e)}return _(),l},l.maxDate=function(a){if(0===arguments.length)return d.maxDate?d.maxDate.clone():d.maxDate;if("boolean"==typeof a&&a===!1)return d.maxDate=!1,_(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=y());var b=da(a);if(!b.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+a);if(d.minDate&&b.isBefore(d.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+b.format(i));return d.maxDate=b,d.useCurrent&&!d.keepInvalid&&e.isAfter(a)&&aa(d.maxDate),f.isAfter(b)&&(f=b.clone().subtract(d.stepping,"m")),_(),l},l.minDate=function(a){if(0===arguments.length)return d.minDate?d.minDate.clone():d.minDate;if("boolean"==typeof a&&a===!1)return d.minDate=!1,_(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=y());var b=da(a);if(!b.isValid())throw new TypeError("minDate() Could not parse date parameter: "+a);if(d.maxDate&&b.isAfter(d.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+b.format(i));return d.minDate=b,d.useCurrent&&!d.keepInvalid&&e.isBefore(a)&&aa(d.minDate),f.isBefore(b)&&(f=b.clone().add(d.stepping,"m")),_(),l},l.defaultDate=function(a){if(0===arguments.length)return d.defaultDate?d.defaultDate.clone():d.defaultDate;if(!a)return d.defaultDate=!1,l;"string"==typeof a&&(a="now"===a||"moment"===a?y():y(a));var b=da(a);if(!b.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+a);if(!R(b))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return d.defaultDate=b,(d.defaultDate&&d.inline||""===g.val().trim())&&aa(d.defaultDate),l},l.locale=function(a){if(0===arguments.length)return d.locale;if(!b.localeData(a))throw new TypeError("locale() locale "+a+" is not loaded from moment locales!");return d.locale=a,e.locale(d.locale),f.locale(d.locale),i&&pa(),o&&(ba(),ga()),l},l.stepping=function(a){return 0===arguments.length?d.stepping:(a=parseInt(a,10),(isNaN(a)||1>a)&&(a=1),d.stepping=a,l)},l.useCurrent=function(a){var b=["year","month","day","hour","minute"];if(0===arguments.length)return d.useCurrent;if("boolean"!=typeof a&&"string"!=typeof a)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof a&&-1===b.indexOf(a.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+b.join(", "));return d.useCurrent=a,l},l.collapse=function(a){if(0===arguments.length)return d.collapse;if("boolean"!=typeof a)throw new TypeError("collapse() expects a boolean parameter");return d.collapse===a?l:(d.collapse=a,o&&(ba(),ga()),l)},l.icons=function(b){if(0===arguments.length)return a.extend({},d.icons);if(!(b instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return a.extend(d.icons,b),o&&(ba(),ga()),l},l.tooltips=function(b){if(0===arguments.length)return a.extend({},d.tooltips);if(!(b instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return a.extend(d.tooltips,b),o&&(ba(),ga()),l},l.useStrict=function(a){if(0===arguments.length)return d.useStrict;if("boolean"!=typeof a)throw new TypeError("useStrict() expects a boolean parameter");return d.useStrict=a,l},l.sideBySide=function(a){if(0===arguments.length)return d.sideBySide;if("boolean"!=typeof a)throw new TypeError("sideBySide() expects a boolean parameter");return d.sideBySide=a,o&&(ba(),ga()),l},l.viewMode=function(a){if(0===arguments.length)return d.viewMode;if("string"!=typeof a)throw new TypeError("viewMode() expects a string parameter");if(-1===r.indexOf(a))throw new TypeError("viewMode() parameter must be one of ("+r.join(", ")+") value");return d.viewMode=a,k=Math.max(r.indexOf(a),p),L(),l},l.toolbarPlacement=function(a){if(0===arguments.length)return d.toolbarPlacement;if("string"!=typeof a)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===u.indexOf(a))throw new TypeError("toolbarPlacement() parameter must be one of ("+u.join(", ")+") value");return d.toolbarPlacement=a,o&&(ba(),ga()),l},l.widgetPositioning=function(b){if(0===arguments.length)return a.extend({},d.widgetPositioning);if("[object Object]"!=={}.toString.call(b))throw new TypeError("widgetPositioning() expects an object variable");if(b.horizontal){if("string"!=typeof b.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(b.horizontal=b.horizontal.toLowerCase(),-1===t.indexOf(b.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+t.join(", ")+")");d.widgetPositioning.horizontal=b.horizontal}if(b.vertical){if("string"!=typeof b.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(b.vertical=b.vertical.toLowerCase(),-1===s.indexOf(b.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+s.join(", ")+")");d.widgetPositioning.vertical=b.vertical}return _(),l},l.calendarWeeks=function(a){if(0===arguments.length)return d.calendarWeeks;if("boolean"!=typeof a)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return d.calendarWeeks=a,_(),l},l.showTodayButton=function(a){if(0===arguments.length)return d.showTodayButton;if("boolean"!=typeof a)throw new TypeError("showTodayButton() expects a boolean parameter");return d.showTodayButton=a,o&&(ba(),ga()),l},l.showClear=function(a){if(0===arguments.length)return d.showClear;if("boolean"!=typeof a)throw new TypeError("showClear() expects a boolean parameter");return d.showClear=a,o&&(ba(),ga()),l},l.widgetParent=function(b){if(0===arguments.length)return d.widgetParent;if("string"==typeof b&&(b=a(b)),null!==b&&"string"!=typeof b&&!(b instanceof a))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return d.widgetParent=b,o&&(ba(),ga()),l},l.keepOpen=function(a){if(0===arguments.length)return d.keepOpen;if("boolean"!=typeof a)throw new TypeError("keepOpen() expects a boolean parameter");return d.keepOpen=a,l},l.focusOnShow=function(a){if(0===arguments.length)return d.focusOnShow;if("boolean"!=typeof a)throw new TypeError("focusOnShow() expects a boolean parameter");return d.focusOnShow=a,l},l.inline=function(a){if(0===arguments.length)return d.inline;if("boolean"!=typeof a)throw new TypeError("inline() expects a boolean parameter");return d.inline=a,l},l.clear=function(){return ca(),l},l.keyBinds=function(a){return 0===arguments.length?d.keyBinds:(d.keyBinds=a,l)},l.getMoment=function(a){return y(a)},l.debug=function(a){if("boolean"!=typeof a)throw new TypeError("debug() expects a boolean parameter");return d.debug=a,l},l.allowInputToggle=function(a){if(0===arguments.length)return d.allowInputToggle;if("boolean"!=typeof a)throw new TypeError("allowInputToggle() expects a boolean parameter");return d.allowInputToggle=a,l},l.showClose=function(a){if(0===arguments.length)return d.showClose;if("boolean"!=typeof a)throw new TypeError("showClose() expects a boolean parameter");return d.showClose=a,l},l.keepInvalid=function(a){if(0===arguments.length)return d.keepInvalid;if("boolean"!=typeof a)throw new TypeError("keepInvalid() expects a boolean parameter");
|
18 |
-
return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)return d.datepickerInput;if("string"!=typeof a)throw new TypeError("datepickerInput() expects a string parameter");return d.datepickerInput=a,l},l.parseInputDate=function(a){if(0===arguments.length)return d.parseInputDate;if("function"!=typeof a)throw new TypeError("parseInputDate() sholud be as function");return d.parseInputDate=a,l},l.disabledTimeIntervals=function(b){if(0===arguments.length)return d.disabledTimeIntervals?a.extend({},d.disabledTimeIntervals):d.disabledTimeIntervals;if(!b)return d.disabledTimeIntervals=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return d.disabledTimeIntervals=b,_(),l},l.disabledHours=function(b){if(0===arguments.length)return d.disabledHours?a.extend({},d.disabledHours):d.disabledHours;if(!b)return d.disabledHours=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(d.disabledHours=oa(b),d.enabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!R(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}aa(e)}return _(),l},l.enabledHours=function(b){if(0===arguments.length)return d.enabledHours?a.extend({},d.enabledHours):d.enabledHours;if(!b)return d.enabledHours=!1,_(),l;if(!(b instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(d.enabledHours=oa(b),d.disabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!R(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}aa(e)}return _(),l},l.viewDate=function(a){if(0===arguments.length)return f.clone();if(!a)return f=e.clone(),l;if(!("string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return f=da(a),K(),l},c.is("input"))g=c;else if(g=c.find(d.datepickerInput),0===g.length)g=c.find("input");else if(!g.is("input"))throw new Error('CSS class "'+d.datepickerInput+'" cannot be applied to non input element');if(c.hasClass("input-group")&&(n=0===c.find(".datepickerbutton").length?c.find(".input-group-addon"):c.find(".datepickerbutton")),!d.inline&&!g.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return e=y(),f=e.clone(),a.extend(!0,d,H()),l.options(d),pa(),la(),g.prop("disabled")&&l.disable(),g.is("input")&&0!==g.val().trim().length?aa(da(g.val().trim())):d.defaultDate&&void 0===g.attr("placeholder")&&aa(d.defaultDate),d.inline&&ga(),l};return a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
15 |
=========================================================
|
16 |
*/
|
17 |
!function(a){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],a);else if("object"==typeof exports)module.exports=a(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";a(jQuery,moment)}}(function(a,b){"use strict";if(!b)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var c=function(c,d){var e,f,g,h,i,j,k,l={},m=!0,n=!1,o=!1,p=0,q=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],r=["days","months","years","decades"],s=["top","bottom","auto"],t=["left","right","auto"],u=["default","top","bottom"],v={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},w={},x=function(){return void 0!==b.tz&&void 0!==d.timeZone&&null!==d.timeZone&&""!==d.timeZone},y=function(a){var c;return c=void 0===a||null===a?b():b.isDate(a)||b.isMoment(a)?b(a):x()?b.tz(a,j,d.useStrict,d.timeZone):b(a,j,d.useStrict),x()&&c.tz(d.timeZone),c},z=function(a){if("string"!=typeof a||a.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(a){case"y":return-1!==i.indexOf("Y");case"M":return-1!==i.indexOf("M");case"d":return-1!==i.toLowerCase().indexOf("d");case"h":case"H":return-1!==i.toLowerCase().indexOf("h");case"m":return-1!==i.indexOf("m");case"s":return-1!==i.indexOf("s");default:return!1}},A=function(){return z("h")||z("m")||z("s")},B=function(){return z("y")||z("M")||z("d")},C=function(){var b=a("<thead>").append(a("<tr>").append(a("<th>").addClass("prev").attr("data-action","previous").append(a("<span>").addClass(d.icons.previous))).append(a("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",d.calendarWeeks?"6":"5")).append(a("<th>").addClass("next").attr("data-action","next").append(a("<span>").addClass(d.icons.next)))),c=a("<tbody>").append(a("<tr>").append(a("<td>").attr("colspan",d.calendarWeeks?"8":"7")));return[a("<div>").addClass("datepicker-days").append(a("<table>").addClass("table-condensed").append(b).append(a("<tbody>"))),a("<div>").addClass("datepicker-months").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-years").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-decades").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone()))]},D=function(){var b=a("<tr>"),c=a("<tr>"),e=a("<tr>");return z("h")&&(b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:d.tooltips.pickHour}).attr("data-action","showHours"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(a("<span>").addClass(d.icons.down))))),z("m")&&(z("h")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:d.tooltips.pickMinute}).attr("data-action","showMinutes"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(a("<span>").addClass(d.icons.down))))),z("s")&&(z("m")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:d.tooltips.pickSecond}).attr("data-action","showSeconds"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(a("<span>").addClass(d.icons.down))))),h||(b.append(a("<td>").addClass("separator")),c.append(a("<td>").append(a("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:d.tooltips.togglePeriod}))),e.append(a("<td>").addClass("separator"))),a("<div>").addClass("timepicker-picker").append(a("<table>").addClass("table-condensed").append([b,c,e]))},E=function(){var b=a("<div>").addClass("timepicker-hours").append(a("<table>").addClass("table-condensed")),c=a("<div>").addClass("timepicker-minutes").append(a("<table>").addClass("table-condensed")),d=a("<div>").addClass("timepicker-seconds").append(a("<table>").addClass("table-condensed")),e=[D()];return z("h")&&e.push(b),z("m")&&e.push(c),z("s")&&e.push(d),e},F=function(){var b=[];return d.showTodayButton&&b.push(a("<td>").append(a("<a>").attr({"data-action":"today",title:d.tooltips.today}).append(a("<span>").addClass(d.icons.today)))),!d.sideBySide&&B()&&A()&&b.push(a("<td>").append(a("<a>").attr({"data-action":"togglePicker",title:d.tooltips.selectTime}).append(a("<span>").addClass(d.icons.time)))),d.showClear&&b.push(a("<td>").append(a("<a>").attr({"data-action":"clear",title:d.tooltips.clear}).append(a("<span>").addClass(d.icons.clear)))),d.showClose&&b.push(a("<td>").append(a("<a>").attr({"data-action":"close",title:d.tooltips.close}).append(a("<span>").addClass(d.icons.close)))),a("<table>").addClass("table-condensed").append(a("<tbody>").append(a("<tr>").append(b)))},G=function(){var b=a("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),c=a("<div>").addClass("datepicker").append(C()),e=a("<div>").addClass("timepicker").append(E()),f=a("<ul>").addClass("list-unstyled"),g=a("<li>").addClass("picker-switch"+(d.collapse?" accordion-toggle":"")).append(F());return d.inline&&b.removeClass("dropdown-menu"),h&&b.addClass("usetwentyfour"),z("s")&&!h&&b.addClass("wider"),d.sideBySide&&B()&&A()?(b.addClass("timepicker-sbs"),"top"===d.toolbarPlacement&&b.append(g),b.append(a("<div>").addClass("row").append(c.addClass("col-md-6")).append(e.addClass("col-md-6"))),"bottom"===d.toolbarPlacement&&b.append(g),b):("top"===d.toolbarPlacement&&f.append(g),B()&&f.append(a("<li>").addClass(d.collapse&&A()?"collapse in":"").append(c)),"default"===d.toolbarPlacement&&f.append(g),A()&&f.append(a("<li>").addClass(d.collapse&&B()?"collapse":"").append(e)),"bottom"===d.toolbarPlacement&&f.append(g),b.append(f))},H=function(){var b,e={};return b=c.is("input")||d.inline?c.data():c.find("input").data(),b.dateOptions&&b.dateOptions instanceof Object&&(e=a.extend(!0,e,b.dateOptions)),a.each(d,function(a){var c="date"+a.charAt(0).toUpperCase()+a.slice(1);void 0!==b[c]&&(e[a]=b[c])}),e},I=function(){var b,e=(n||c).position(),f=(n||c).offset(),g=d.widgetPositioning.vertical,h=d.widgetPositioning.horizontal;if(d.widgetParent)b=d.widgetParent.append(o);else if(c.is("input"))b=c.after(o).parent();else{if(d.inline)return void(b=c.append(o));b=c,c.children().first().after(o)}if("auto"===g&&(g=f.top+1.5*o.height()>=a(window).height()+a(window).scrollTop()&&o.height()+c.outerHeight()<f.top?"top":"bottom"),"auto"===h&&(h=b.width()<f.left+o.outerWidth()/2&&f.left+o.outerWidth()>a(window).width()?"right":"left"),"top"===g?o.addClass("top").removeClass("bottom"):o.addClass("bottom").removeClass("top"),"right"===h?o.addClass("pull-right"):o.removeClass("pull-right"),"static"===b.css("position")&&(b=b.parents().filter(function(){return"static"!==a(this).css("position")}).first()),0===b.length)throw new Error("datetimepicker component should be placed within a non-static positioned container");o.css({top:"top"===g?"auto":e.top+c.outerHeight(),bottom:"top"===g?b.outerHeight()-(b===c?0:e.top):"auto",left:"left"===h?b===c?0:e.left:"auto",right:"left"===h?"auto":b.outerWidth()-c.outerWidth()-(b===c?0:e.left)})},J=function(a){"dp.change"===a.type&&(a.date&&a.date.isSame(a.oldDate)||!a.date&&!a.oldDate)||c.trigger(a)},K=function(a){"y"===a&&(a="YYYY"),J({type:"dp.update",change:a,viewDate:f.clone()})},L=function(a){o&&(a&&(k=Math.max(p,Math.min(3,k+a))),o.find(".datepicker > div").hide().filter(".datepicker-"+q[k].clsName).show())},M=function(){var b=a("<tr>"),c=f.clone().startOf("w").startOf("d");for(d.calendarWeeks===!0&&b.append(a("<th>").addClass("cw").text("#"));c.isBefore(f.clone().endOf("w"));)b.append(a("<th>").addClass("dow").text(c.format("dd"))),c.add(1,"d");o.find(".datepicker-days thead").append(b)},N=function(a){return d.disabledDates[a.format("YYYY-MM-DD")]===!0},O=function(a){return d.enabledDates[a.format("YYYY-MM-DD")]===!0},P=function(a){return d.disabledHours[a.format("H")]===!0},Q=function(a){return d.enabledHours[a.format("H")]===!0},R=function(b,c){if(!b.isValid())return!1;if(d.disabledDates&&"d"===c&&N(b))return!1;if(d.enabledDates&&"d"===c&&!O(b))return!1;if(d.minDate&&b.isBefore(d.minDate,c))return!1;if(d.maxDate&&b.isAfter(d.maxDate,c))return!1;if(d.daysOfWeekDisabled&&"d"===c&&-1!==d.daysOfWeekDisabled.indexOf(b.day()))return!1;if(d.disabledHours&&("h"===c||"m"===c||"s"===c)&&P(b))return!1;if(d.enabledHours&&("h"===c||"m"===c||"s"===c)&&!Q(b))return!1;if(d.disabledTimeIntervals&&("h"===c||"m"===c||"s"===c)){var e=!1;if(a.each(d.disabledTimeIntervals,function(){return b.isBetween(this[0],this[1])?(e=!0,!1):void 0}),e)return!1}return!0},S=function(){for(var b=[],c=f.clone().startOf("y").startOf("d");c.isSame(f,"y");)b.push(a("<span>").attr("data-action","selectMonth").addClass("month").text(c.format("MMM"))),c.add(1,"M");o.find(".datepicker-months td").empty().append(b)},T=function(){var b=o.find(".datepicker-months"),c=b.find("th"),g=b.find("tbody").find("span");c.eq(0).find("span").attr("title",d.tooltips.prevYear),c.eq(1).attr("title",d.tooltips.selectYear),c.eq(2).find("span").attr("title",d.tooltips.nextYear),b.find(".disabled").removeClass("disabled"),R(f.clone().subtract(1,"y"),"y")||c.eq(0).addClass("disabled"),c.eq(1).text(f.year()),R(f.clone().add(1,"y"),"y")||c.eq(2).addClass("disabled"),g.removeClass("active"),e.isSame(f,"y")&&!m&&g.eq(e.month()).addClass("active"),g.each(function(b){R(f.clone().month(b),"M")||a(this).addClass("disabled")})},U=function(){var a=o.find(".datepicker-years"),b=a.find("th"),c=f.clone().subtract(5,"y"),g=f.clone().add(6,"y"),h="";for(b.eq(0).find("span").attr("title",d.tooltips.prevDecade),b.eq(1).attr("title",d.tooltips.selectDecade),b.eq(2).find("span").attr("title",d.tooltips.nextDecade),a.find(".disabled").removeClass("disabled"),d.minDate&&d.minDate.isAfter(c,"y")&&b.eq(0).addClass("disabled"),b.eq(1).text(c.year()+"-"+g.year()),d.maxDate&&d.maxDate.isBefore(g,"y")&&b.eq(2).addClass("disabled");!c.isAfter(g,"y");)h+='<span data-action="selectYear" class="year'+(c.isSame(e,"y")&&!m?" active":"")+(R(c,"y")?"":" disabled")+'">'+c.year()+"</span>",c.add(1,"y");a.find("td").html(h)},V=function(){var a,c=o.find(".datepicker-decades"),g=c.find("th"),h=b({y:f.year()-f.year()%100-1}),i=h.clone().add(100,"y"),j=h.clone(),k=!1,l=!1,m="";for(g.eq(0).find("span").attr("title",d.tooltips.prevCentury),g.eq(2).find("span").attr("title",d.tooltips.nextCentury),c.find(".disabled").removeClass("disabled"),(h.isSame(b({y:1900}))||d.minDate&&d.minDate.isAfter(h,"y"))&&g.eq(0).addClass("disabled"),g.eq(1).text(h.year()+"-"+i.year()),(h.isSame(b({y:2e3}))||d.maxDate&&d.maxDate.isBefore(i,"y"))&&g.eq(2).addClass("disabled");!h.isAfter(i,"y");)a=h.year()+12,k=d.minDate&&d.minDate.isAfter(h,"y")&&d.minDate.year()<=a,l=d.maxDate&&d.maxDate.isAfter(h,"y")&&d.maxDate.year()<=a,m+='<span data-action="selectDecade" class="decade'+(e.isAfter(h)&&e.year()<=a?" active":"")+(R(h,"y")||k||l?"":" disabled")+'" data-selection="'+(h.year()+6)+'">'+(h.year()+1)+" - "+(h.year()+12)+"</span>",h.add(12,"y");m+="<span></span><span></span><span></span>",c.find("td").html(m),g.eq(1).text(j.year()+1+"-"+h.year())},W=function(){var b,c,g,h=o.find(".datepicker-days"),i=h.find("th"),j=[],k=[];if(B()){for(i.eq(0).find("span").attr("title",d.tooltips.prevMonth),i.eq(1).attr("title",d.tooltips.selectMonth),i.eq(2).find("span").attr("title",d.tooltips.nextMonth),h.find(".disabled").removeClass("disabled"),i.eq(1).text(f.format(d.dayViewHeaderFormat)),R(f.clone().subtract(1,"M"),"M")||i.eq(0).addClass("disabled"),R(f.clone().add(1,"M"),"M")||i.eq(2).addClass("disabled"),b=f.clone().startOf("M").startOf("w").startOf("d"),g=0;42>g;g++)0===b.weekday()&&(c=a("<tr>"),d.calendarWeeks&&c.append('<td class="cw">'+b.week()+"</td>"),j.push(c)),k=["day"],b.isBefore(f,"M")&&k.push("old"),b.isAfter(f,"M")&&k.push("new"),b.isSame(e,"d")&&!m&&k.push("active"),R(b,"d")||k.push("disabled"),b.isSame(y(),"d")&&k.push("today"),(0===b.day()||6===b.day())&&k.push("weekend"),J({type:"dp.classify",date:b,classNames:k}),c.append('<td data-action="selectDay" data-day="'+b.format("L")+'" class="'+k.join(" ")+'">'+b.date()+"</td>"),b.add(1,"d");h.find("tbody").empty().append(j),T(),U(),V()}},X=function(){var b=o.find(".timepicker-hours table"),c=f.clone().startOf("d"),d=[],e=a("<tr>");for(f.hour()>11&&!h&&c.hour(12);c.isSame(f,"d")&&(h||f.hour()<12&&c.hour()<12||f.hour()>11);)c.hour()%4===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectHour" class="hour'+(R(c,"h")?"":" disabled")+'">'+c.format(h?"HH":"hh")+"</td>"),c.add(1,"h");b.empty().append(d)},Y=function(){for(var b=o.find(".timepicker-minutes table"),c=f.clone().startOf("h"),e=[],g=a("<tr>"),h=1===d.stepping?5:d.stepping;f.isSame(c,"h");)c.minute()%(4*h)===0&&(g=a("<tr>"),e.push(g)),g.append('<td data-action="selectMinute" class="minute'+(R(c,"m")?"":" disabled")+'">'+c.format("mm")+"</td>"),c.add(h,"m");b.empty().append(e)},Z=function(){for(var b=o.find(".timepicker-seconds table"),c=f.clone().startOf("m"),d=[],e=a("<tr>");f.isSame(c,"m");)c.second()%20===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectSecond" class="second'+(R(c,"s")?"":" disabled")+'">'+c.format("ss")+"</td>"),c.add(5,"s");b.empty().append(d)},$=function(){var a,b,c=o.find(".timepicker span[data-time-component]");h||(a=o.find(".timepicker [data-action=togglePeriod]"),b=e.clone().add(e.hours()>=12?-12:12,"h"),a.text(e.format("A")),R(b,"h")?a.removeClass("disabled"):a.addClass("disabled")),c.filter("[data-time-component=hours]").text(e.format(h?"HH":"hh")),c.filter("[data-time-component=minutes]").text(e.format("mm")),c.filter("[data-time-component=seconds]").text(e.format("ss")),X(),Y(),Z()},_=function(){o&&(W(),$())},aa=function(a){var b=m?null:e;if(!a)return m=!0,g.val(""),c.data("date",""),J({type:"dp.change",date:!1,oldDate:b}),void _();if(a=a.clone().locale(d.locale),x()&&a.tz(d.timeZone),1!==d.stepping)for(a.minutes(Math.round(a.minutes()/d.stepping)*d.stepping).seconds(0);d.minDate&&a.isBefore(d.minDate);)a.add(d.stepping,"minutes");R(a)?(e=a,f=e.clone(),g.val(e.format(i)),c.data("date",e.format(i)),m=!1,_(),J({type:"dp.change",date:e.clone(),oldDate:b})):(d.keepInvalid?J({type:"dp.change",date:a,oldDate:b}):g.val(m?"":e.format(i)),J({type:"dp.error",date:a,oldDate:b}))},ba=function(){var b=!1;return o?(o.find(".collapse").each(function(){var c=a(this).data("collapse");return c&&c.transitioning?(b=!0,!1):!0}),b?l:(n&&n.hasClass("btn")&&n.toggleClass("active"),o.hide(),a(window).off("resize",I),o.off("click","[data-action]"),o.off("mousedown",!1),o.remove(),o=!1,J({type:"dp.hide",date:e.clone()}),g.blur(),f=e.clone(),l)):l},ca=function(){aa(null)},da=function(a){return void 0===d.parseInputDate?(!b.isMoment(a)||a instanceof Date)&&(a=y(a)):a=d.parseInputDate(a),a},ea={next:function(){var a=q[k].navFnc;f.add(q[k].navStep,a),W(),K(a)},previous:function(){var a=q[k].navFnc;f.subtract(q[k].navStep,a),W(),K(a)},pickerSwitch:function(){L(1)},selectMonth:function(b){var c=a(b.target).closest("tbody").find("span").index(a(b.target));f.month(c),k===p?(aa(e.clone().year(f.year()).month(f.month())),d.inline||ba()):(L(-1),W()),K("M")},selectYear:function(b){var c=parseInt(a(b.target).text(),10)||0;f.year(c),k===p?(aa(e.clone().year(f.year())),d.inline||ba()):(L(-1),W()),K("YYYY")},selectDecade:function(b){var c=parseInt(a(b.target).data("selection"),10)||0;f.year(c),k===p?(aa(e.clone().year(f.year())),d.inline||ba()):(L(-1),W()),K("YYYY")},selectDay:function(b){var c=f.clone();a(b.target).is(".old")&&c.subtract(1,"M"),a(b.target).is(".new")&&c.add(1,"M"),aa(c.date(parseInt(a(b.target).text(),10))),A()||d.keepOpen||d.inline||ba()},incrementHours:function(){var a=e.clone().add(1,"h");R(a,"h")&&aa(a)},incrementMinutes:function(){var a=e.clone().add(d.stepping,"m");R(a,"m")&&aa(a)},incrementSeconds:function(){var a=e.clone().add(1,"s");R(a,"s")&&aa(a)},decrementHours:function(){var a=e.clone().subtract(1,"h");R(a,"h")&&aa(a)},decrementMinutes:function(){var a=e.clone().subtract(d.stepping,"m");R(a,"m")&&aa(a)},decrementSeconds:function(){var a=e.clone().subtract(1,"s");R(a,"s")&&aa(a)},togglePeriod:function(){aa(e.clone().add(e.hours()>=12?-12:12,"h"))},togglePicker:function(b){var c,e=a(b.target),f=e.closest("ul"),g=f.find(".in"),h=f.find(".collapse:not(.in)");if(g&&g.length){if(c=g.data("collapse"),c&&c.transitioning)return;g.collapse?(g.collapse("hide"),h.collapse("show")):(g.removeClass("in"),h.addClass("in")),e.is("span")?e.toggleClass(d.icons.time+" "+d.icons.date):e.find("span").toggleClass(d.icons.time+" "+d.icons.date)}},showPicker:function(){o.find(".timepicker > div:not(.timepicker-picker)").hide(),o.find(".timepicker .timepicker-picker").show()},showHours:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-hours").show()},showMinutes:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-seconds").show()},selectHour:function(b){var c=parseInt(a(b.target).text(),10);h||(e.hours()>=12?12!==c&&(c+=12):12===c&&(c=0)),aa(e.clone().hours(c)),ea.showPicker.call(l)},selectMinute:function(b){aa(e.clone().minutes(parseInt(a(b.target).text(),10))),ea.showPicker.call(l)},selectSecond:function(b){aa(e.clone().seconds(parseInt(a(b.target).text(),10))),ea.showPicker.call(l)},clear:ca,today:function(){var a=y();R(a,"d")&&aa(a)},close:ba},fa=function(b){return a(b.currentTarget).is(".disabled")?!1:(ea[a(b.currentTarget).data("action")].apply(l,arguments),!1)},ga=function(){var b,c={year:function(a){return a.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(a){return a.date(1).hours(0).seconds(0).minutes(0)},day:function(a){return a.hours(0).seconds(0).minutes(0)},hour:function(a){return a.seconds(0).minutes(0)},minute:function(a){return a.seconds(0)}};return g.prop("disabled")||!d.ignoreReadonly&&g.prop("readonly")||o?l:(void 0!==g.val()&&0!==g.val().trim().length?aa(da(g.val().trim())):m&&d.useCurrent&&(d.inline||g.is("input")&&0===g.val().trim().length)&&(b=y(),"string"==typeof d.useCurrent&&(b=c[d.useCurrent](b)),aa(b)),o=G(),M(),S(),o.find(".timepicker-hours").hide(),o.find(".timepicker-minutes").hide(),o.find(".timepicker-seconds").hide(),_(),L(),a(window).on("resize",I),o.on("click","[data-action]",fa),o.on("mousedown",!1),n&&n.hasClass("btn")&&n.toggleClass("active"),I(),o.show(),d.focusOnShow&&!g.is(":focus")&&g.focus(),J({type:"dp.show"}),l)},ha=function(){return o?ba():ga()},ia=function(a){var b,c,e,f,g=null,h=[],i={},j=a.which,k="p";w[j]=k;for(b in w)w.hasOwnProperty(b)&&w[b]===k&&(h.push(b),parseInt(b,10)!==j&&(i[b]=!0));for(b in d.keyBinds)if(d.keyBinds.hasOwnProperty(b)&&"function"==typeof d.keyBinds[b]&&(e=b.split(" "),e.length===h.length&&v[j]===e[e.length-1])){for(f=!0,c=e.length-2;c>=0;c--)if(!(v[e[c]]in i)){f=!1;break}if(f){g=d.keyBinds[b];break}}g&&(g.call(l,o),a.stopPropagation(),a.preventDefault())},ja=function(a){w[a.which]="r",a.stopPropagation(),a.preventDefault()},ka=function(b){var c=a(b.target).val().trim(),d=c?da(c):null;return aa(d),b.stopImmediatePropagation(),!1},la=function(){g.on({change:ka,blur:d.debug?"":ba,keydown:ia,keyup:ja,focus:d.allowInputToggle?ga:""}),c.is("input")?g.on({focus:ga}):n&&(n.on("click",ha),n.on("mousedown",!1))},ma=function(){g.off({change:ka,blur:blur,keydown:ia,keyup:ja,focus:d.allowInputToggle?ba:""}),c.is("input")?g.off({focus:ga}):n&&(n.off("click",ha),n.off("mousedown",!1))},na=function(b){var c={};return a.each(b,function(){var a=da(this);a.isValid()&&(c[a.format("YYYY-MM-DD")]=!0)}),Object.keys(c).length?c:!1},oa=function(b){var c={};return a.each(b,function(){c[this]=!0}),Object.keys(c).length?c:!1},pa=function(){var a=d.format||"L LT";i=a.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){var b=e.localeData().longDateFormat(a)||a;return b.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){return e.localeData().longDateFormat(a)||a})}),j=d.extraFormats?d.extraFormats.slice():[],j.indexOf(a)<0&&j.indexOf(i)<0&&j.push(i),h=i.toLowerCase().indexOf("a")<1&&i.replace(/\[.*?\]/g,"").indexOf("h")<1,z("y")&&(p=2),z("M")&&(p=1),z("d")&&(p=0),k=Math.max(p,k),m||aa(e)};if(l.destroy=function(){ba(),ma(),c.removeData("DateTimePicker"),c.removeData("date")},l.toggle=ha,l.show=ga,l.hide=ba,l.disable=function(){return ba(),n&&n.hasClass("btn")&&n.addClass("disabled"),g.prop("disabled",!0),l},l.enable=function(){return n&&n.hasClass("btn")&&n.removeClass("disabled"),g.prop("disabled",!1),l},l.ignoreReadonly=function(a){if(0===arguments.length)return d.ignoreReadonly;if("boolean"!=typeof a)throw new TypeError("ignoreReadonly () expects a boolean parameter");return d.ignoreReadonly=a,l},l.options=function(b){if(0===arguments.length)return a.extend(!0,{},d);if(!(b instanceof Object))throw new TypeError("options() options parameter should be an object");return a.extend(!0,d,b),a.each(d,function(a,b){if(void 0===l[a])throw new TypeError("option "+a+" is not recognized!");l[a](b)}),l},l.date=function(a){if(0===arguments.length)return m?null:e.clone();if(!(null===a||"string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return aa(null===a?null:da(a)),l},l.format=function(a){if(0===arguments.length)return d.format;if("string"!=typeof a&&("boolean"!=typeof a||a!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+a);return d.format=a,i&&pa(),l},l.timeZone=function(a){if(0===arguments.length)return d.timeZone;if("string"!=typeof a)throw new TypeError("newZone() expects a string parameter");return d.timeZone=a,l},l.dayViewHeaderFormat=function(a){if(0===arguments.length)return d.dayViewHeaderFormat;if("string"!=typeof a)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return d.dayViewHeaderFormat=a,l},l.extraFormats=function(a){if(0===arguments.length)return d.extraFormats;if(a!==!1&&!(a instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return d.extraFormats=a,j&&pa(),l},l.disabledDates=function(b){if(0===arguments.length)return d.disabledDates?a.extend({},d.disabledDates):d.disabledDates;if(!b)return d.disabledDates=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return d.disabledDates=na(b),d.enabledDates=!1,_(),l},l.enabledDates=function(b){if(0===arguments.length)return d.enabledDates?a.extend({},d.enabledDates):d.enabledDates;if(!b)return d.enabledDates=!1,_(),l;if(!(b instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return d.enabledDates=na(b),d.disabledDates=!1,_(),l},l.daysOfWeekDisabled=function(a){if(0===arguments.length)return d.daysOfWeekDisabled.splice(0);if("boolean"==typeof a&&!a)return d.daysOfWeekDisabled=!1,_(),l;if(!(a instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(d.daysOfWeekDisabled=a.reduce(function(a,b){return b=parseInt(b,10),b>6||0>b||isNaN(b)?a:(-1===a.indexOf(b)&&a.push(b),a)},[]).sort(),d.useCurrent&&!d.keepInvalid){for(var b=0;!R(e,"d");){if(e.add(1,"d"),31===b)throw"Tried 31 times to find a valid date";b++}aa(e)}return _(),l},l.maxDate=function(a){if(0===arguments.length)return d.maxDate?d.maxDate.clone():d.maxDate;if("boolean"==typeof a&&a===!1)return d.maxDate=!1,_(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=y());var b=da(a);if(!b.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+a);if(d.minDate&&b.isBefore(d.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+b.format(i));return d.maxDate=b,d.useCurrent&&!d.keepInvalid&&e.isAfter(a)&&aa(d.maxDate),f.isAfter(b)&&(f=b.clone().subtract(d.stepping,"m")),_(),l},l.minDate=function(a){if(0===arguments.length)return d.minDate?d.minDate.clone():d.minDate;if("boolean"==typeof a&&a===!1)return d.minDate=!1,_(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=y());var b=da(a);if(!b.isValid())throw new TypeError("minDate() Could not parse date parameter: "+a);if(d.maxDate&&b.isAfter(d.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+b.format(i));return d.minDate=b,d.useCurrent&&!d.keepInvalid&&e.isBefore(a)&&aa(d.minDate),f.isBefore(b)&&(f=b.clone().add(d.stepping,"m")),_(),l},l.defaultDate=function(a){if(0===arguments.length)return d.defaultDate?d.defaultDate.clone():d.defaultDate;if(!a)return d.defaultDate=!1,l;"string"==typeof a&&(a="now"===a||"moment"===a?y():y(a));var b=da(a);if(!b.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+a);if(!R(b))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return d.defaultDate=b,(d.defaultDate&&d.inline||""===g.val().trim())&&aa(d.defaultDate),l},l.locale=function(a){if(0===arguments.length)return d.locale;if(!b.localeData(a))throw new TypeError("locale() locale "+a+" is not loaded from moment locales!");return d.locale=a,e.locale(d.locale),f.locale(d.locale),i&&pa(),o&&(ba(),ga()),l},l.stepping=function(a){return 0===arguments.length?d.stepping:(a=parseInt(a,10),(isNaN(a)||1>a)&&(a=1),d.stepping=a,l)},l.useCurrent=function(a){var b=["year","month","day","hour","minute"];if(0===arguments.length)return d.useCurrent;if("boolean"!=typeof a&&"string"!=typeof a)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof a&&-1===b.indexOf(a.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+b.join(", "));return d.useCurrent=a,l},l.collapse=function(a){if(0===arguments.length)return d.collapse;if("boolean"!=typeof a)throw new TypeError("collapse() expects a boolean parameter");return d.collapse===a?l:(d.collapse=a,o&&(ba(),ga()),l)},l.icons=function(b){if(0===arguments.length)return a.extend({},d.icons);if(!(b instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return a.extend(d.icons,b),o&&(ba(),ga()),l},l.tooltips=function(b){if(0===arguments.length)return a.extend({},d.tooltips);if(!(b instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return a.extend(d.tooltips,b),o&&(ba(),ga()),l},l.useStrict=function(a){if(0===arguments.length)return d.useStrict;if("boolean"!=typeof a)throw new TypeError("useStrict() expects a boolean parameter");return d.useStrict=a,l},l.sideBySide=function(a){if(0===arguments.length)return d.sideBySide;if("boolean"!=typeof a)throw new TypeError("sideBySide() expects a boolean parameter");return d.sideBySide=a,o&&(ba(),ga()),l},l.viewMode=function(a){if(0===arguments.length)return d.viewMode;if("string"!=typeof a)throw new TypeError("viewMode() expects a string parameter");if(-1===r.indexOf(a))throw new TypeError("viewMode() parameter must be one of ("+r.join(", ")+") value");return d.viewMode=a,k=Math.max(r.indexOf(a),p),L(),l},l.toolbarPlacement=function(a){if(0===arguments.length)return d.toolbarPlacement;if("string"!=typeof a)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===u.indexOf(a))throw new TypeError("toolbarPlacement() parameter must be one of ("+u.join(", ")+") value");return d.toolbarPlacement=a,o&&(ba(),ga()),l},l.widgetPositioning=function(b){if(0===arguments.length)return a.extend({},d.widgetPositioning);if("[object Object]"!=={}.toString.call(b))throw new TypeError("widgetPositioning() expects an object variable");if(b.horizontal){if("string"!=typeof b.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(b.horizontal=b.horizontal.toLowerCase(),-1===t.indexOf(b.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+t.join(", ")+")");d.widgetPositioning.horizontal=b.horizontal}if(b.vertical){if("string"!=typeof b.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(b.vertical=b.vertical.toLowerCase(),-1===s.indexOf(b.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+s.join(", ")+")");d.widgetPositioning.vertical=b.vertical}return _(),l},l.calendarWeeks=function(a){if(0===arguments.length)return d.calendarWeeks;if("boolean"!=typeof a)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return d.calendarWeeks=a,_(),l},l.showTodayButton=function(a){if(0===arguments.length)return d.showTodayButton;if("boolean"!=typeof a)throw new TypeError("showTodayButton() expects a boolean parameter");return d.showTodayButton=a,o&&(ba(),ga()),l},l.showClear=function(a){if(0===arguments.length)return d.showClear;if("boolean"!=typeof a)throw new TypeError("showClear() expects a boolean parameter");return d.showClear=a,o&&(ba(),ga()),l},l.widgetParent=function(b){if(0===arguments.length)return d.widgetParent;if("string"==typeof b&&(b=a(b)),null!==b&&"string"!=typeof b&&!(b instanceof a))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return d.widgetParent=b,o&&(ba(),ga()),l},l.keepOpen=function(a){if(0===arguments.length)return d.keepOpen;if("boolean"!=typeof a)throw new TypeError("keepOpen() expects a boolean parameter");return d.keepOpen=a,l},l.focusOnShow=function(a){if(0===arguments.length)return d.focusOnShow;if("boolean"!=typeof a)throw new TypeError("focusOnShow() expects a boolean parameter");return d.focusOnShow=a,l},l.inline=function(a){if(0===arguments.length)return d.inline;if("boolean"!=typeof a)throw new TypeError("inline() expects a boolean parameter");return d.inline=a,l},l.clear=function(){return ca(),l},l.keyBinds=function(a){return 0===arguments.length?d.keyBinds:(d.keyBinds=a,l)},l.getMoment=function(a){return y(a)},l.debug=function(a){if("boolean"!=typeof a)throw new TypeError("debug() expects a boolean parameter");return d.debug=a,l},l.allowInputToggle=function(a){if(0===arguments.length)return d.allowInputToggle;if("boolean"!=typeof a)throw new TypeError("allowInputToggle() expects a boolean parameter");return d.allowInputToggle=a,l},l.showClose=function(a){if(0===arguments.length)return d.showClose;if("boolean"!=typeof a)throw new TypeError("showClose() expects a boolean parameter");return d.showClose=a,l},l.keepInvalid=function(a){if(0===arguments.length)return d.keepInvalid;if("boolean"!=typeof a)throw new TypeError("keepInvalid() expects a boolean parameter");
|
18 |
+
return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)return d.datepickerInput;if("string"!=typeof a)throw new TypeError("datepickerInput() expects a string parameter");return d.datepickerInput=a,l},l.parseInputDate=function(a){if(0===arguments.length)return d.parseInputDate;if("function"!=typeof a)throw new TypeError("parseInputDate() sholud be as function");return d.parseInputDate=a,l},l.disabledTimeIntervals=function(b){if(0===arguments.length)return d.disabledTimeIntervals?a.extend({},d.disabledTimeIntervals):d.disabledTimeIntervals;if(!b)return d.disabledTimeIntervals=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return d.disabledTimeIntervals=b,_(),l},l.disabledHours=function(b){if(0===arguments.length)return d.disabledHours?a.extend({},d.disabledHours):d.disabledHours;if(!b)return d.disabledHours=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(d.disabledHours=oa(b),d.enabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!R(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}aa(e)}return _(),l},l.enabledHours=function(b){if(0===arguments.length)return d.enabledHours?a.extend({},d.enabledHours):d.enabledHours;if(!b)return d.enabledHours=!1,_(),l;if(!(b instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(d.enabledHours=oa(b),d.disabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!R(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}aa(e)}return _(),l},l.viewDate=function(a){if(0===arguments.length)return f.clone();if(!a)return f=e.clone(),l;if(!("string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return f=da(a),K(),l},c.is("input"))g=c;else if(g=c.find(d.datepickerInput),0===g.length)g=c.find("input");else if(!g.is("input"))throw new Error('CSS class "'+d.datepickerInput+'" cannot be applied to non input element');if(c.hasClass("input-group")&&(n=0===c.find(".datepickerbutton").length?c.find(".input-group-addon"):c.find(".datepickerbutton")),!d.inline&&!g.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return e=y(),f=e.clone(),a.extend(!0,d,H()),l.options(d),pa(),la(),g.prop("disabled")&&l.disable(),g.is("input")&&0!==g.val().trim().length?aa(da(g.val().trim())):d.defaultDate&&void 0===g.attr("placeholder")&&aa(d.defaultDate),d.inline&&ga(),l};return a.fn.factoryBootstrap444_DatetimePickerControl=function(b){b=b||{};var d,e=Array.prototype.slice.call(arguments,1),f=!0,g=["destroy","hide","show","toggle"];if("object"==typeof b)return this.each(function(){var d,e=a(this);e.data("DateTimePicker")||(d=a.extend(!0,{},a.fn.factoryBootstrap444_DatetimePickerControl.defaults,b),e.data("DateTimePicker",c(e,d)))});if("string"==typeof b)return this.each(function(){var c=a(this),g=c.data("DateTimePicker");if(!g)throw new Error('bootstrap-datetimepicker("'+b+'") method was called on an element that is not using DateTimePicker');d=g[b].apply(g,e),f=d===g}),f||a.inArray(b,g)>-1?this:d;throw new TypeError("Invalid arguments for DateTimePicker: "+b)},a.fn.factoryBootstrap444_DatetimePickerControl.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:b.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-arrow-up",down:"fa fa-arrow-down",previous:"fa fa-arrow-left",next:"fa fa-arrow-right",today:"fa fa-thumb-tack",clear:"fa fa-trash",close:"fa fa-times"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().subtract(7,"d")):this.date(b.clone().add(this.stepping(),"m"))}},down:function(a){if(!a)return void this.show();var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().add(7,"d")):this.date(b.clone().subtract(this.stepping(),"m"))},"control up":function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().subtract(1,"y")):this.date(b.clone().add(1,"h"))}},"control down":function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().add(1,"y")):this.date(b.clone().subtract(1,"h"))}},left:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().subtract(1,"d"))}},right:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().add(1,"d"))}},pageUp:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().subtract(1,"M"))}},pageDown:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(a){a&&a.find(".timepicker").is(":visible")&&a.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},"delete":function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},a.fn.factoryBootstrap444_DatetimePickerControl}),function(a){a(function(){a(".factory-bootstrap-444 .factory-datetimepicker").factoryBootstrap444_DatetimePickerControl(),a(".factory-bootstrap-444 .factory-datetimepicker-range-0").factoryBootstrap444_DatetimePickerControl(),a(".factory-bootstrap-444 .factory-datetimepicker-range-1").factoryBootstrap444_DatetimePickerControl({useCurrent:!1}),a(".factory-bootstrap-444 .factory-datetimepicker-range-0").on("dp.change",function(b){a(".factory-bootstrap-444 .factory-datetimepicker-range-1").data("DateTimePicker").minDate(b.date)}),a(".factory-bootstrap-444 .factory-datetimepicker-range-1").on("dp.change",function(b){a(".factory-bootstrap-444 .factory-datetimepicker-range-0").data("DateTimePicker").maxDate(b.date)})})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/bootstrap.dropdown.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=factory-dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}},a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=factory-dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}},a.fn.factoryBootstrap444_dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.factoryBootstrap444_dropdown.Constructor=f,a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery);
|
libs/factory/bootstrap/assets/js-min/bootstrap.modal.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="factory-bootstrap-444-modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.factoryBootstrap444_modal;a.fn.factoryBootstrap444_modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.factoryBootstrap444_modal.Constructor=b,a.fn.factoryBootstrap444_modal.noConflict=function(){return a.fn.factoryBootstrap444_modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="factory-modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("factory-modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.factoryBootstrap444_modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/bootstrap.popover.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.scrollspy.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.tab.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.tooltip.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/bootstrap.transition.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/control.checkbox.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){var b=function(b){var c=this;this.$element=a(b),this.$result=this.$element.find(".factory-result"),this.$on=this.$element.find(".factory-on"),this.$off=this.$element.find(".factory-off");var d=this.$element.is(".factory-tumbler"),e=this.$element.is(".factory-has-tumbler-hint"),f=this.$element.data("tumbler-function"),g=this.$element.data("tumbler-delay");g||(g=3e3),this.callByPath=function(a,b){for(var c=a.split("."),d=window,e=0;e<c.length;e++)d=d[c[e]];d.apply(d,b)},this.$on.click(function(){return c.$off.removeClass("active"),c.$on.addClass("active"),d?setTimeout(function(){c.$on.removeClass("active"),c.$off.addClass("active");var a=e?c.$element.next():null;f?c.callByPath(f,[c.$element,a]):e&&(c.$element.next().fadeIn(300),setTimeout(function(){c.$element.next().fadeOut(500)},g))},300):(c.$result.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){var b=function(b){var c=this;this.$element=a(b),this.$result=this.$element.find(".factory-result"),this.$on=this.$element.find(".factory-on"),this.$off=this.$element.find(".factory-off");var d=this.$element.is(".factory-tumbler"),e=this.$element.is(".factory-has-tumbler-hint"),f=this.$element.data("tumbler-function"),g=this.$element.data("tumbler-delay");g||(g=3e3),this.callByPath=function(a,b){for(var c=a.split("."),d=window,e=0;e<c.length;e++)d=d[c[e]];d.apply(d,b)},this.$on.click(function(){return c.$off.removeClass("active"),c.$on.addClass("active"),d?setTimeout(function(){c.$on.removeClass("active"),c.$off.addClass("active");var a=e?c.$element.next():null;f?c.callByPath(f,[c.$element,a]):e&&(c.$element.next().fadeIn(300),setTimeout(function(){c.$element.next().fadeOut(500)},g))},300):(c.$result.prop("checked",!0),c.$result.val(1),c.$result.trigger("change")),!1}),this.$off.click(function(){return c.$on.removeClass("active"),c.$off.addClass("active"),d?setTimeout(function(){c.$off.removeClass("active"),c.$on.addClass("active");var a=e?c.$element.next():null;f?c.callByPath(f,[c.$element,a]):e&&(c.$element.next().fadeIn(300),setTimeout(function(){c.$element.next().fadeOut(500)},g))},300):(c.$result.prop("checked",!1),c.$result.val(0),c.$result.trigger("change")),!1}),this.hashCode=function(a){var b=0;if(!a||0===a.length)return b;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d,b&=b}return b=b.toString(16),b=b.replace("-","")},this.executeEvents=function(a){(void 0!==window.__factory_checkbox_control_events_off_data||void 0!==window.__factory_checkbox_control_events_on_data)&&(a.change(function(){c.eventsProcess(a)}),c.eventsProcess(a))},this.eventsProcess=function(b){var d=b.attr("name"),e=b.prop("checked"),f=window.__factory_checkbox_control_events_on_data[d],g=window.__factory_checkbox_control_events_off_data[d];if(f||g){var h,i;void 0===window.__factory_checkbox_control_detach_elements&&(window.__factory_checkbox_control_detach_elements={}),h=window.__factory_checkbox_control_detach_elements,i=e?f:g;for(var j in i)if(i.hasOwnProperty(j)){var k,l=i[j];a.isArray(l)||(k=c.hashCode(d+l));var m;switch(j){case"hide":"string"==typeof l&&a(l).hide(0);break;case"show":"string"==typeof l&&a(l).fadeIn(200);break;case"detach":"string"==typeof l&&a(l).each(function(b){h[k]||(h[k]={}),h[k][b]||(h[k][b]={}),h[k][b].recovery_contanier=a(this).parent(),h[k][b].element=a(this).clone(!0),a(this).remove()});break;case"recovery":if(h[k]){for(var n in h[k])h[k].hasOwnProperty(n)&&h[k][n].recovery_contanier&&h[k][n].element&&h[k][n].recovery_contanier.append(h[k][n].element);delete h[k]}break;case"removeClasses":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&l[m]&&a(m).removeClass(l[m]);break;case"addClasses":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&l[m]&&a(m).addClass(l[m]);break;case"setValue":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&void 0!==l[m]&&null!==l[m]&&a(m).val(l[m])}}}},this.executeEvents(this.$result)};a.fn.factoryBootstrap444_checkboxControl=function(c){if("string"==typeof c){var d=a(this).data("factory.checkbox.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.checkbox.control");d||c.data("factory.checkbox.control",d=new b(this))})},a.fn.factoryBootstrap444_checkboxControl.Constructor=b,a(function(){a(".factory-bootstrap-444 .factory-checkbox.factory-buttons-way").factoryBootstrap444_checkboxControl(),a(".factory-bootstrap-444 .factory-checkbox").not(".factory-buttons-way").click(function(){a(this).prop("checked")?a(this).val(1):a(this).val(0)})})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.color-and-opacity.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a,b){a(function(){a(function(){a(".factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a,b){a(function(){a(function(){a(".factory-bootstrap-444 .factory-color-and-opacity").each(function(){var b=a(this),c=b.find(".factory-color"),d=b.find(".factory-integer");d.change(function(){var a=d.find(".factory-result").val()/100;c.find(".factory-background").css("opacity",a)}),d.change(),d.on("click.color.factory",function(a){a.stopPropagation()})})})})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.color.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){a.widget("
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){a.widget("factoryBootstrap444.colorControl",{_create:function(){this.$element=this.element,this.$picker=this.$element.find(".factory-color-hex"),this.$preview=this.$element.find(".factory-preview"),this.$background=this.$element.find(".factory-background"),this._init()},_init:function(b){var c=this,d={width:216,palettes:["#16a086","#27ae61","#2a80b9","#8f44ad","#2d3e50","#f49c14","#c1392b","#bec3c7"],hide:!0,change:function(a,b){c.$background.css({background:b.color.toString()}),c.$element.trigger("change.color.factory",[b.color.toString()]),c.$element.trigger("updated.color.factory",[b.color.toString()])}},e=this.$element.data("picker-target");e&&(d.target=a(e)),this.$picker.factoryBootstrap444_iris(d),this.$picker.off("focus"),a(document).on("click.color.factory",function(){c.$picker.factoryBootstrap444_iris("hide")}),this.$picker.add(this.$background).on("click.color.factory",function(a){a.stopPropagation(),c.$picker.factoryBootstrap444_iris("show")})},togglePicker:function(){this.$element.hasClass("factory-picker-active")?this.hidePicker():this.showPicker()},hidePicker:function(){this.$element.removeClass("factory-picker-active"),this.$picker.factoryBootstrap444_iris("hide")},showPicker:function(){this.$element.addClass("factory-picker-active"),this.$picker.factoryBootstrap444_iris("show")},getValue:function(){return this.$picker.val()},setValue:function(a,b){this.$picker.val(a),b&&self.$picker.trigger("change")}}),a(function(){a.widget.bridge("factoryBootstrap444_colorControl",a.factoryBootstrap444.colorControl),a(".factory-bootstrap-444 .factory-color").factoryBootstrap444_colorControl({})})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.dropdown-and-colors.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){var b=function(b){var c=a(b),d=c.find(".factory-colors-inner-wrap");c.find("select").change(function(){var b=c.find("select option:selected"),e=b.data("colors"),f=d.data("radio-name");if(f&&e){d.html("");for(var g=0;g<e.length;g++){var h=e[g],i=a('<span class="factory-form-radio-item"><label class="factory-from-radio-label"><input type="radio" name="'+f+'" class="factory-radio-color" value="'+h[0]+'" checked="checked"><span style="background-color:'+h[1]+'"></span></label></span>');d.append(i)}}})};a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){var b=function(b){var c=a(b),d=c.find(".factory-colors-inner-wrap");c.find("select").change(function(){var b=c.find("select option:selected"),e=b.data("colors"),f=d.data("radio-name");if(f&&e){d.html("");for(var g=0;g<e.length;g++){var h=e[g],i=a('<span class="factory-form-radio-item"><label class="factory-from-radio-label"><input type="radio" name="'+f+'" class="factory-radio-color" value="'+h[0]+'" checked="checked"><span style="background-color:'+h[1]+'"></span></label></span>');d.append(i)}}})};a.fn.factoryBootstrap444_dropdownAndColors=function(c){if("string"==typeof c){var d=a(this).data("factory.dropdownAndColors.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.dropdownAndColors.control");d||c.data("factory.dropdownAndColors.control",d=new b(this))})},a.fn.factoryBootstrap444_dropdownAndColors.Constructor=b,a(function(){a(".factory-bootstrap-444 .factory-dropdown-and-colors").factoryBootstrap444_dropdownAndColors()})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.dropdown.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name")||this.$element.attr("name"),this.hashCode=function(a){var b=0;if(!a||0===a.length)return b;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d,b&=b}return b=b.toString(16),b=b.replace("-","")},this.executeEvents=function(a){void 0!==window.factory_dropdown_control_events_data&&(a.change(function(){c.eventsProcess(a)}),c.eventsProcess(a))},this.eventsProcess=function(b){var d=b.attr("name"),e=b.val(),f=window.factory_dropdown_control_events_data[d];if(f&&f[e]){var g;void 0===window.__factory_dropdown_control_detach_elements&&(window.__factory_dropdown_control_detach_elements={}),g=window.__factory_dropdown_control_detach_elements;for(var h in f[e])if(f[e].hasOwnProperty(h)){var i,j=f[e][h];switch(a.isArray(j)||(i=c.hashCode(d+j)),h){case"hide":"string"==typeof j&&a(j).hide(0);break;case"show":"string"==typeof j&&a(j).fadeIn(200);break;case"detach":"string"==typeof j&&a(j).each(function(b){g[i]||(g[i]={}),g[i][b]||(g[i][b]={}),g[i][b].recovery_contanier=a(this).parent(),g[i][b].element=a(this).clone(!0),a(this).remove()});break;case"recovery":if(g[i]){for(var k in g[i])g[i].hasOwnProperty(k)&&g[i][k].recovery_contanier&&g[i][k].element&&g[i][k].recovery_contanier.append(g[i][k].element);delete g[i]}break;case"removeClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).removeClass(j[l]);break;case"addClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).addClass(j[l])}}}},"buttons"===this.way)this.$result=this.$element.find(".factory-result"),this.$hints=this.$element.find(".factory-hints"),this.$buttons=this.$element.find(".btn"),c.executeEvents(this.$result),this.$buttons.click(function(){var b=a(this).data("value");return c.$buttons.removeClass("active"),a(this).addClass("active"),c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+b).fadeIn(),c.$result.val(b),c.$result.trigger("change"),!1});else if("ddslick"===this.way){c.executeEvents(c.$element.find(".factory-result"));var d=window["factory_"+this.name+"_data"],e=this.$element.find(".factory-ddslick"),f=this.$element.data("width")||300,g=this.$element.data("align")||"right";a(d).each(function(){return this.imageHoverSrc?void(a("<img/>")[0].src=this.imageHoverSrc):!0}),e.ddslick({data:d,width:f,imagePosition:g,selectText:"- select -",onSelected:function(a){a.selectedData.imageHoverSrc&&c.$element.find(".dd-selected-image").attr("src",a.selectedData.imageHoverSrc);var b=c.$element.find(".factory-result").val(a.selectedData.value);b.change()}})}else{c.executeEvents(this.$element),this.$hints=this.$element.next(),this.$hints.hasClass("factory-hints")&&(this.$element.change(function(){return c.updateHints(),!1}),this.updateHints=function(){var a=c.$element.val();c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+a).show()},c.updateHints()),this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(a){console&&console.log&&console.log(a.responseText),c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length)for(var d in a){var e=a[d];c.addListItem(e)}else this.$element.append("<option>"+b.emptyList+"</li>");this.$element.trigger("factory-loaded")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<option />").attr("value",b.value).text(b.title).appendTo(this.$element),e=c.getAjaxData();e.selected&&e.selected==b.value&&d.attr("selected","selected")},this.showError=function(b){this.clearList();var d=a("<div class='factory-control-error'></div>").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),e=c.getAjaxData();this.$element.append("<option>"+e.emptyList+"</li>"),this.$element.after(d),this.$element.addClass("factory-has-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var h=this.$element.data("ajax");h&&this.loadData()}};a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name")||this.$element.attr("name"),this.hashCode=function(a){var b=0;if(!a||0===a.length)return b;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d,b&=b}return b=b.toString(16),b=b.replace("-","")},this.executeEvents=function(a){void 0!==window.factory_dropdown_control_events_data&&(a.change(function(){c.eventsProcess(a)}),c.eventsProcess(a))},this.eventsProcess=function(b){var d=b.attr("name"),e=b.val(),f=window.factory_dropdown_control_events_data[d];if(f&&f[e]){var g;void 0===window.__factory_dropdown_control_detach_elements&&(window.__factory_dropdown_control_detach_elements={}),g=window.__factory_dropdown_control_detach_elements;for(var h in f[e])if(f[e].hasOwnProperty(h)){var i,j=f[e][h];switch(a.isArray(j)||(i=c.hashCode(d+j)),h){case"hide":"string"==typeof j&&a(j).hide(0);break;case"show":"string"==typeof j&&a(j).fadeIn(200);break;case"detach":"string"==typeof j&&a(j).each(function(b){g[i]||(g[i]={}),g[i][b]||(g[i][b]={}),g[i][b].recovery_contanier=a(this).parent(),g[i][b].element=a(this).clone(!0),a(this).remove()});break;case"recovery":if(g[i]){for(var k in g[i])g[i].hasOwnProperty(k)&&g[i][k].recovery_contanier&&g[i][k].element&&g[i][k].recovery_contanier.append(g[i][k].element);delete g[i]}break;case"removeClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).removeClass(j[l]);break;case"addClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).addClass(j[l])}}}},"buttons"===this.way)this.$result=this.$element.find(".factory-result"),this.$hints=this.$element.find(".factory-hints"),this.$buttons=this.$element.find(".btn"),c.executeEvents(this.$result),this.$buttons.click(function(){var b=a(this).data("value");return c.$buttons.removeClass("active"),a(this).addClass("active"),c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+b).fadeIn(),c.$result.val(b),c.$result.trigger("change"),!1});else if("ddslick"===this.way){c.executeEvents(c.$element.find(".factory-result"));var d=window["factory_"+this.name+"_data"],e=this.$element.find(".factory-ddslick"),f=this.$element.data("width")||300,g=this.$element.data("align")||"right";a(d).each(function(){return this.imageHoverSrc?void(a("<img/>")[0].src=this.imageHoverSrc):!0}),e.ddslick({data:d,width:f,imagePosition:g,selectText:"- select -",onSelected:function(a){a.selectedData.imageHoverSrc&&c.$element.find(".dd-selected-image").attr("src",a.selectedData.imageHoverSrc);var b=c.$element.find(".factory-result").val(a.selectedData.value);b.change()}})}else{c.executeEvents(this.$element),this.$hints=this.$element.next(),this.$hints.hasClass("factory-hints")&&(this.$element.change(function(){return c.updateHints(),!1}),this.updateHints=function(){var a=c.$element.val();c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+a).show()},c.updateHints()),this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(a){console&&console.log&&console.log(a.responseText),c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length)for(var d in a){var e=a[d];c.addListItem(e)}else this.$element.append("<option>"+b.emptyList+"</li>");this.$element.trigger("factory-loaded")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<option />").attr("value",b.value).text(b.title).appendTo(this.$element),e=c.getAjaxData();e.selected&&e.selected==b.value&&d.attr("selected","selected")},this.showError=function(b){this.clearList();var d=a("<div class='factory-control-error'></div>").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),e=c.getAjaxData();this.$element.append("<option>"+e.emptyList+"</li>"),this.$element.after(d),this.$element.addClass("factory-has-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var h=this.$element.data("ajax");h&&this.loadData()}};a.fn.factoryBootstrap444_dropdownControl=function(c){if("string"==typeof c){var d=a(this).data("factory.dropdown.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.dropdown.control");d||c.data("factory.dropdown.control",d=new b(this))})},a.fn.factoryBootstrap444_dropdownControl.Constructor=b,a(function(){a(".factory-bootstrap-444 .factory-dropdown").factoryBootstrap444_dropdownControl()})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.fonts.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){a.widget("
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){a.widget("factoryBootstrap444.fontControl",{_create:function(){this.$element=this.element,this.$family=this.$element.find(".factory-family-wrap select"),this.$googleFontData=this.$element.find(".factory-google-font-data"),this.fontSelectorName=this.$family.attr("name"),this.googleFontsOptions={frameName:this.element.data("google-fonts-frame-name")},this.googleFontsOptions.frameName||(this.googleFontsOptions.frameName="preview"),this._initUI(),this._bindEvents()},_initUI:function(){this.$family.chosen()},_bindEvents:function(){var a=this;this.$family.change(function(b){var c=a._getCurrentOption(),d=c.data("google-font");if(d){var e=c.data("family"),f=c.data("variants").split(","),g=c.data("subsets").split(",");a._loadGoogleFont(e,f,g)}else a.$googleFontData.val("")})},_getCurrentOption:function(){var a=this.$family.val();return this._getOptionByValue(a)},_getOptionByValue:function(a){var b=this.$family.find("option[value='"+a+"']");return b},_loadGoogleFont:function(b,c,d){var c=this._filterGoogleFontVariantsBeforeLoading(b,c,d),d=this._filterGoogleFontSubsetsBeforeLoading(b,c,d);this.$googleFontData.val(this._encode64(JSON.stringify({name:b,styles:c,subsets:d})));var e=this._getTargetToLoadGoogleFont(),f=this.fontSelectorName+"-font-loader",g=e.find("#"+f);e.find("#"+f).length>0&&g.remove();var h="http://fonts.googleapis.com/css";c&&c.length&&(b=b+":"+c.join(",")),h=h+"?family="+b,d&&d.length&&(h=h+"&subset="+d.join(",")),a('<link id="'+f+'" rel="stylesheet" type="text/css" href="'+h+'" >').appendTo(e)},_filterGoogleFontVariantsBeforeLoading:function(b,c,d){var e=this;return a(document).trigger("factory-filter-google-font-variants",[c,e.$element,b,d]),c},_filterGoogleFontSubsetsBeforeLoading:function(b,c,d){var e=this;return a(document).trigger("factory-filter-google-font-subsets",[d,e.$element,c,d]),d},_getTargetToLoadGoogleFont:function(){var b=this.googleFontsOptions.frameName,c=a("head");if(b){var d=a('iframe[name="'+b+'"]');if(0===d.length)return console.error("The preview container not found.");c=d.contents().find("head")}return c},_base64KeyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_encode64:function(a){a=escape(a);var b,c,d,e,f,g="",h="",i="",j=0;do b=a.charCodeAt(j++),c=a.charCodeAt(j++),h=a.charCodeAt(j++),d=b>>2,e=(3&b)<<4|c>>4,f=(15&c)<<2|h>>6,i=63&h,isNaN(c)?f=i=64:isNaN(h)&&(i=64),g=g+this._base64KeyStr.charAt(d)+this._base64KeyStr.charAt(e)+this._base64KeyStr.charAt(f)+this._base64KeyStr.charAt(i),b=c=h="",d=e=f=i="";while(j<a.length);return g}}),a(function(){a.widget.bridge("factoryBootstrap444_fontControl",a.factoryBootstrap444.fontControl),a(".factory-bootstrap-444 .factory-font").factoryBootstrap444_fontControl({})})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.gradient.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){var b=function(b){this.$element=a(b),this.$picker=this.$element.find(".factory-gradient-picker"),this.$result=this.$element.find(".factory-result"),this.init()};b.prototype.init=function(){var a=this,b=this.$element.data("directions"),c=this.$element.data("points"),d=c?c.split(","):[];this.$picker.gradientPicker({change:function(b,c){a.$result.val(c).trigger("keyup")},fillDirection:b,controlPoints:d})},a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){var b=function(b){this.$element=a(b),this.$picker=this.$element.find(".factory-gradient-picker"),this.$result=this.$element.find(".factory-result"),this.init()};b.prototype.init=function(){var a=this,b=this.$element.data("directions"),c=this.$element.data("points"),d=c?c.split(","):[];this.$picker.gradientPicker({change:function(b,c){a.$result.val(c).trigger("keyup")},fillDirection:b,controlPoints:d})},a.fn.factoryBootstrap444_gradientControl=function(c){return this.each(function(){var d=a(this),e=d.data("factory.gradient-control");e||d.data("factory.gradient-control",e=new b(this)),"string"==typeof c&&e[c].call(e)})},a.fn.factoryBootstrap444_gradientControl.Constructor=b,a(function(){a(".factory-bootstrap-444 .factory-gradient").factoryBootstrap444_gradientControl()})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.integer.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){var b=function(b){this.$element=a(b),this.$element.hasClass("factory-has-slider")&&this.createSlider()};b.prototype.createSlider=function(){var a=this,b=this.$element.find(".factory-slider-container");this.$bar=b.find(".factory-bar"),this.$result=b.find(".factory-result"),this.$visibleValue=b.find(".factory-visible-value"),this.units=b.data("units"),this.rangeStart=b.data("range-start"),this.rangeEnd=b.data("range-end"),this.step=b.data("step"),this.step||(this.step=1);var c=this.$result.val();this.$bar.noUiSlider({start:parseInt(c),range:{min:a.rangeStart,max:a.rangeEnd},connect:"lower",step:a.step}),this.$bar.on("slide set",function(){a.setValue(parseInt(a.$bar.val()))})},b.prototype.setValue=function(a,b){this.$result.val(a),this.$visibleValue.length>0&&(this.units?this.$visibleValue.text(a+this.units):this.$visibleValue.text(a)),b&&this.$bar.noUiSlider({start:a},!0),this.$result.trigger("keyup"),this.$element.trigger("change")},b.prototype.getValue=function(){return this.$result.val()},b.prototype.api=function(){return this},a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){var b=function(b){this.$element=a(b),this.$element.hasClass("factory-has-slider")&&this.createSlider()};b.prototype.createSlider=function(){var a=this,b=this.$element.find(".factory-slider-container");this.$bar=b.find(".factory-bar"),this.$result=b.find(".factory-result"),this.$visibleValue=b.find(".factory-visible-value"),this.units=b.data("units"),this.rangeStart=b.data("range-start"),this.rangeEnd=b.data("range-end"),this.step=b.data("step"),this.step||(this.step=1);var c=this.$result.val();this.$bar.noUiSlider({start:parseInt(c),range:{min:a.rangeStart,max:a.rangeEnd},connect:"lower",step:a.step}),this.$bar.on("slide set",function(){a.setValue(parseInt(a.$bar.val()))})},b.prototype.setValue=function(a,b){this.$result.val(a),this.$visibleValue.length>0&&(this.units?this.$visibleValue.text(a+this.units):this.$visibleValue.text(a)),b&&this.$bar.noUiSlider({start:a},!0),this.$result.trigger("keyup"),this.$element.trigger("change")},b.prototype.getValue=function(){return this.$result.val()},b.prototype.api=function(){return this},a.fn.factoryBootstrap444_integerControl=function(c){if("string"==typeof c){var d=a(this).data("factory.integer-control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.integer-control");d||c.data("factory.integer-control",d=new b(this))})},a.fn.factoryBootstrap444_integerControl.Constructor=b,a(function(){a(".factory-bootstrap-444 .factory-integer").factoryBootstrap444_integerControl()})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.list.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name"),"checklist"===this.way){this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(){c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length){this.$element.removeClass("factory-empty");for(var d in a){var e=a[d];c.addListItem(e)}}else this.$element.addClass("factory-empty"),this.$element.append("<li>"+b.emptyList+"</li>")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<li>"),e=a("<label>").attr("for","factory-checklist-"+c.name+"-"+b.value).appendTo(d),f=a("<span>").appendTo(e),g=a("<input />").attr("type","checkbox").attr("name",c.name+"[]").val(b.value).attr("id","factory-checklist-"+c.name+"-"+b.value).appendTo(f),h=(a("<span>"+b.title+"</span>").appendTo(e),c.getAjaxData());h.selected.length&&a.inArray(b.value,h.selected)>=0&&g.attr("checked","checked"),this.$element.append(d)},this.showError=function(b){this.$element.html("").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),this.$element.addClass("factory-list-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var d=this.$element.data("ajax");d&&this.loadData()}};a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name"),"checklist"===this.way){this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(){c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length){this.$element.removeClass("factory-empty");for(var d in a){var e=a[d];c.addListItem(e)}}else this.$element.addClass("factory-empty"),this.$element.append("<li>"+b.emptyList+"</li>")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<li>"),e=a("<label>").attr("for","factory-checklist-"+c.name+"-"+b.value).appendTo(d),f=a("<span>").appendTo(e),g=a("<input />").attr("type","checkbox").attr("name",c.name+"[]").val(b.value).attr("id","factory-checklist-"+c.name+"-"+b.value).appendTo(f),h=(a("<span>"+b.title+"</span>").appendTo(e),c.getAjaxData());h.selected.length&&a.inArray(b.value,h.selected)>=0&&g.attr("checked","checked"),this.$element.append(d)},this.showError=function(b){this.$element.html("").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),this.$element.addClass("factory-list-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var d=this.$element.data("ajax");d&&this.loadData()}};a.fn.factoryBootstrap444_listControl=function(c){if("string"==typeof c){var d=a(this).data("factory.list.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.list.control");d||c.data("factory.list.control",d=new b(this))})},a.fn.factoryBootstrap444_listControl.Constructor=b,a(function(){a(".factory-bootstrap-444 .factory-list").factoryBootstrap444_listControl()})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.multiple-textbox.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){"use strict";var b=function(b){this.$element=a(b);var c=a(".factory-mtextbox-item",this.$element).eq(0).clone(!0);a(".factory-mtextbox-add-item",this.$element).on("click",function(){var b=a(this).closest(".factory-multiple-textbox-group").find(".factory-mtextbox-items"),d=c.clone(!0),e=a('<button class="btn btn-default btn-small factory-mtextbox-remove-item"><i class="fa fa-times" aria-hidden="true"></i></button>');return b.append(d.append(e)),d.find('input[type="text"]').val("").focus(),!1}),a(document).on("click",".factory-mtextbox-remove-item",function(){return a(this).closest(".factory-mtextbox-item").remove(),!1})};a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){"use strict";var b=function(b){this.$element=a(b);var c=a(".factory-mtextbox-item",this.$element).eq(0).clone(!0);a(".factory-mtextbox-add-item",this.$element).on("click",function(){var b=a(this).closest(".factory-multiple-textbox-group").find(".factory-mtextbox-items"),d=c.clone(!0),e=a('<button class="btn btn-default btn-small factory-mtextbox-remove-item"><i class="fa fa-times" aria-hidden="true"></i></button>');return b.append(d.append(e)),d.find('input[type="text"]').val("").focus(),!1}),a(document).on("click",".factory-mtextbox-remove-item",function(){return a(this).closest(".factory-mtextbox-item").remove(),!1})};a.fn.factoryBootstrap444_MultipleTextboxControl=function(){return this.each(function(){new b(this)})},a(function(){a(".factory-bootstrap-444 .factory-multiple-textbox-group").factoryBootstrap444_MultipleTextboxControl()})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/control.pattern.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){a.widget("
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){a.widget("factoryBootstrap444.patternControl",{_create:function(){this.$element=this.element,this.$preview=this.$element.find(".factory-preview"),this.$patternResult=this.$element.find(".factory-pattern-result"),this.$colorResult=this.$element.find(".factory-color-result"),this.$patterns=this.$element.find(".factory-patterns-panel"),this.$patternItems=this.$element.find(".factory-patterns-item"),this.$btnUpload=this.$element.find(".factory-upload-btn"),this.$btnChangeColor=this.$element.find(".factory-change-color-btn"),this.$colorPanel=this.$element.find(".factory-color-panel"),this.$colorContol=this.$element.find(".factory-color"),this._initMainPanel(),this._initColorPickerPanel(),this._initPatternsPanel()},_initMainPanel:function(){var a=this;this.$preview.on("click",function(){return a.togglePatternsPanel(),!1}),this.$btnChangeColor.on("click",function(){return a.toggleColorPanel(),!1})},togglePatternsPanel:function(){this.$element.hasClass("factory-patterns-panel-active")?this.hidePatternsPanel():this.showPatternsPanel()},hidePatternsPanel:function(){this.$element.removeClass("factory-patterns-panel-active")},showPatternsPanel:function(){this.$element.addClass("factory-patterns-panel-active")},hasColor:function(){return this.$element.hasClass("factory-color-panel-active")},toggleColorPanel:function(){this.hasColor()?this.hideColorPanel():this.showColorPanel()},hideColorPanel:function(){this.$element.removeClass("factory-color-panel-active"),this.$btnChangeColor.removeClass("button-active"),this.$colorResult.val(""),this.$colorResult.trigger("change"),this.$element.trigger("change")},showColorPanel:function(){this.$element.addClass("factory-color-panel-active"),this.$btnChangeColor.addClass("button-active"),this.$colorResult.val(this.$colorContol.factoryBootstrap444_colorControl("getValue")),this.$colorResult.trigger("change"),this.$element.trigger("change")},_initColorPickerPanel:function(){var a=this;this.$colorContol.bind("updated.color.factory",function(b,c){return a.$colorResult.val(c),!1})},_initPatternsPanel:function(){var b=this,c=!0,d=wp.media.editor.send.attachment;this.$btnUpload.on("click",function(){return c=!0,wp.media.editor.send.attachment=function(a,e){return c?(b.$preview.css({background:"url("+e.url+") repeat",border:"0",fontSize:"0"}),void b.$patternResult.attr("value",e.url).trigger("change")):d.apply(this,[a,e])},wp.media.editor.open(b.$btnUpload),a(".add_media").on("click",function(){c=!1}),!1}),this.$patternItems.on("click",function(){if(a(this).data("pattern")){var c=a(this).data("pattern");b.$preview.removeClass("factory-empty"),b.$preview.css({background:"url("+c+") repeat"}),b.$patternResult.attr("value",c).trigger("change")}})}}),a(function(){a.widget.bridge("factoryBootstrap444_patternControl",a.factoryBootstrap444.patternControl),a(".factory-bootstrap-444 .factory-pattern").factoryBootstrap444_patternControl({})})}(jQuery);
|
libs/factory/bootstrap/assets/js-min/global.color-functions.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/holder.conrol-group.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/holder.more-link.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a,b,c,d){"use strict";var e="
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a,b,c,d){"use strict";var e="factoryBootstrap444_moreLink";a.fn[e]=function(b,c){return this.each(function(){var b=a(this);b.find(".factory-more-link-show").click(function(){return a(a(this).attr("href")).fadeIn(),a(this).hide(),!1}),b.find(".factory-more-link-hide").click(function(){var b=a(a(this).attr("href"));return b.fadeOut(300,function(){b.parents(".factory-more-link").find(".factory-more-link-show").show()}),!1})})},a(function(){a(".factory-bootstrap-444 .factory-more-link").factoryBootstrap444_moreLink()})}(jQuery,window,document);
|
libs/factory/bootstrap/assets/js-min/plugin.chosen.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/plugin.color.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/plugin.ddslick.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/plugin.gradient-picker.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function($){function ctrlPtComparator(a,b){return a.position-b.position}function bind(a,b){return"function"==typeof a.bind?a.bind(b):function(){a.apply(b,arguments)}}function GradientSelection(a,b){var c=this;this.$el=a,this.$presets=this.$el.find(".gradientPicker-pallets"),this.$presetsItems=this.$presets.find(".factory-preset-gradient"),this.$preview=this.$el.find(".gradientPicker-preview"),this.$pointsContainer=this.$el.find(".factory-points"),this.$colorPickerContainer=this.$el.find(".factory-color-picker-container"),this.$colorPicker=this.$el.find(".factory-color-picker"),this.$colorHex=this.$el.find(".factory-color-hex"),this.$opacitySliderContainer=this.$el.find(".factory-slider-container"),this.$opacitySlider=this.$el.find(".factory-bar"),this.$el.css("position","relative"),this.opts=b,this._createPresetGradients(),this._createPreview(),this._createColorPicker(),this._createDirectionDropdown(),this.controlPoints=[],b.controlPoints=b.controlPoints||[];for(var d=0;d<b.controlPoints.length;++d){var e=this.createCtrlPt(b.controlPoints[d]);this.controlPoints.push(e)}0===this.controlPoints.length&&(this.controlPoints.push(this.createCtrlPt(this.$presetsItems.data("primary")+" 0% 1")),this.controlPoints.push(this.createCtrlPt(this.$presetsItems.data("secondary")+" 100% 1"))),$(document).on("click.gp.factory",function(){c.hideColorPicker()}),this.$colorPickerContainer.on("click.gp.factory",function(a){a.stopPropagation()}),this.$pointsContainer.on("click.gp.factory",function(a){a.stopPropagation(),c.placePoint(a)}),this.updatePreview()}function ControlPoint(a,b,c){var d=this;if(this.parent=a,this.$container=a.$pointsContainer,this.$el=$('<span class="factory-point"></span>'),this.$pointColor=$('<span class="factory-point-color"></span>').appendTo(this.$el),this.$container.append(this.$el),"string"==typeof b?(b=b.split(" "),this.position=parseFloat(b[1])/100,this.color=b[0],this.opacity=b[2]):(this.position=b.position,this.color=b.color,this.opacity=b.opacity),this.outerWidth=this.$el.outerWidth(),this.$pointColor.css({"background-color":d.color,opacity:d.opacity}),"horizontal"===c){var e=(d.$container.width()-this.$el.outerWidth())*this.position;this.$el.css("left",e)}else{var f=(d.$container.height()-this.$el.outerHeight())*this.position;this.$el.css("top",f)}this.drag=bind(this.drag,this),this.stop=bind(this.stop,this),this.$el.disableSelection().css("webkit-user-select","none").draggable({axis:"horizontal"===c?"x":"y",drag:this.drag,stop:this.stop,containment:d.$container,cancel:null}),this.$el.on("click.gp.factory",function(a){d.parent.currentPoint===d?d.parent.hideColorPicker(d):d.parent.showColorPicker(d),a.stopPropagation()})}$.event.special.destroyed||($.event.special.destroyed={remove:function(a){a.handler&&a.handler()}});var agent=window.navigator.userAgent,browserPrefix=["-webkit-","-moz-","-ms-"],x,y=0;GradientSelection.prototype={_createPresetGradients:function(){var a=this;this.$presetsItems.each(function(){var a=$(this),b=$('<span class="factory-secondary-color-wrap"></span>').appendTo(a),c=$('<span class="factory-secondary-color"></span>').appendTo(b);a.css("background",a.data("primary")),c.css("background",a.data("secondary"))}),this.$presetsItems.click(function(){var b=$(this).data("primary"),c=$(this).data("secondary");a.setGradient([b+" 0% 1",c+" 100% 1"])})},_createPreview:function(){var a=this.$preview[0];a.width=0===a.clientWidth?210:a.clientWidth,a.height=0===a.clientHeight?30:a.clientHeight,this.g2d=a.getContext("2d")},_createColorPicker:function(){var a=this;this.$colorPicker.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function($){function ctrlPtComparator(a,b){return a.position-b.position}function bind(a,b){return"function"==typeof a.bind?a.bind(b):function(){a.apply(b,arguments)}}function GradientSelection(a,b){var c=this;this.$el=a,this.$presets=this.$el.find(".gradientPicker-pallets"),this.$presetsItems=this.$presets.find(".factory-preset-gradient"),this.$preview=this.$el.find(".gradientPicker-preview"),this.$pointsContainer=this.$el.find(".factory-points"),this.$colorPickerContainer=this.$el.find(".factory-color-picker-container"),this.$colorPicker=this.$el.find(".factory-color-picker"),this.$colorHex=this.$el.find(".factory-color-hex"),this.$opacitySliderContainer=this.$el.find(".factory-slider-container"),this.$opacitySlider=this.$el.find(".factory-bar"),this.$el.css("position","relative"),this.opts=b,this._createPresetGradients(),this._createPreview(),this._createColorPicker(),this._createDirectionDropdown(),this.controlPoints=[],b.controlPoints=b.controlPoints||[];for(var d=0;d<b.controlPoints.length;++d){var e=this.createCtrlPt(b.controlPoints[d]);this.controlPoints.push(e)}0===this.controlPoints.length&&(this.controlPoints.push(this.createCtrlPt(this.$presetsItems.data("primary")+" 0% 1")),this.controlPoints.push(this.createCtrlPt(this.$presetsItems.data("secondary")+" 100% 1"))),$(document).on("click.gp.factory",function(){c.hideColorPicker()}),this.$colorPickerContainer.on("click.gp.factory",function(a){a.stopPropagation()}),this.$pointsContainer.on("click.gp.factory",function(a){a.stopPropagation(),c.placePoint(a)}),this.updatePreview()}function ControlPoint(a,b,c){var d=this;if(this.parent=a,this.$container=a.$pointsContainer,this.$el=$('<span class="factory-point"></span>'),this.$pointColor=$('<span class="factory-point-color"></span>').appendTo(this.$el),this.$container.append(this.$el),"string"==typeof b?(b=b.split(" "),this.position=parseFloat(b[1])/100,this.color=b[0],this.opacity=b[2]):(this.position=b.position,this.color=b.color,this.opacity=b.opacity),this.outerWidth=this.$el.outerWidth(),this.$pointColor.css({"background-color":d.color,opacity:d.opacity}),"horizontal"===c){var e=(d.$container.width()-this.$el.outerWidth())*this.position;this.$el.css("left",e)}else{var f=(d.$container.height()-this.$el.outerHeight())*this.position;this.$el.css("top",f)}this.drag=bind(this.drag,this),this.stop=bind(this.stop,this),this.$el.disableSelection().css("webkit-user-select","none").draggable({axis:"horizontal"===c?"x":"y",drag:this.drag,stop:this.stop,containment:d.$container,cancel:null}),this.$el.on("click.gp.factory",function(a){d.parent.currentPoint===d?d.parent.hideColorPicker(d):d.parent.showColorPicker(d),a.stopPropagation()})}$.event.special.destroyed||($.event.special.destroyed={remove:function(a){a.handler&&a.handler()}});var agent=window.navigator.userAgent,browserPrefix=["-webkit-","-moz-","-ms-"],x,y=0;GradientSelection.prototype={_createPresetGradients:function(){var a=this;this.$presetsItems.each(function(){var a=$(this),b=$('<span class="factory-secondary-color-wrap"></span>').appendTo(a),c=$('<span class="factory-secondary-color"></span>').appendTo(b);a.css("background",a.data("primary")),c.css("background",a.data("secondary"))}),this.$presetsItems.click(function(){var b=$(this).data("primary"),c=$(this).data("secondary");a.setGradient([b+" 0% 1",c+" 100% 1"])})},_createPreview:function(){var a=this.$preview[0];a.width=0===a.clientWidth?210:a.clientWidth,a.height=0===a.clientHeight?30:a.clientHeight,this.g2d=a.getContext("2d")},_createColorPicker:function(){var a=this;this.$colorPicker.factoryBootstrap444_iris({width:217,palettes:["#16a086","#27ae61","#2a80b9","#8f44ad","#2d3e50","#f49c14","#c1392b","#bec3c7"],hide:!0,change:function(b,c){a.currentPoint.updateColor(c.color.toString()),a._colorLock||a.$colorHex.val(c.color.toString())}}),a.$colorHex.on("change paste keyup",function(){a._colorLock=!0,a.$colorPicker.factoryBootstrap444_iris("color",a.$colorHex.val()),a._cancelColorLock()}),this.$opacitySlider.noUiSlider({start:100,range:{min:0,max:100},step:1}),this.$opacitySlider.on("slide",function(){var b=parseInt(a.$opacitySlider.val()),c=b+"%";a.$opacitySliderContainer.find(".factory-visible-value").text(c),a.currentPoint.updateOpacity(b/100)}),this.$opacitySlider.on("set",function(){a.$result.val(a.getValue()),a.$result.trigger("change")})},_repeatColorLock:!1,_colorLock:!1,_colorLockTimer:!1,_cancelColorLock:function(a){var b=this;return b._colorLockTimer&&!a?(this._repeatColorLock=!0,!1):void(this._colorLockTimer=setTimeout(function(){return b._repeatColorLock?(b._repeatColorLock=!1,b._cancelColorLock(!0),!1):(b._colorLock=!1,b._colorLockTimer=!1,void(b._repeatColorLock=!1))},500))},_createDirectionDropdown:function(){var a=this,b=factory&&factory.res&&factory.res.resVertical||"vertical",c=factory&&factory.res&&factory.res.resHorizontal||"horizontal";this.$directionDropdown=$('<select class="gradientPicker-filldirection"><option value="vertical"'+("top"===a.opts.fillDirection?" selected":"")+">"+b+'</option><option value="horizontal"'+("left"===a.opts.fillDirection?" selected":"")+">"+c+"</option></select>"),this.$el.append(this.$directionDropdown),this.$directionDropdown.chosen(),this.$directionDropdown.change(function(){a.setGradientDirection($(this).val())})},showColorPicker:function(a){this.currentPoint=a,$(".factory-current-point").removeClass("factory-current-point"),a.$el.addClass("factory-current-point"),this.$colorPickerContainer.show(),this.$colorPicker.factoryBootstrap444_iris("show"),this.$colorPicker.factoryBootstrap444_iris("option","color",a.color),this.$opacitySlider.val(100*a.opacity),this.$opacitySlider.trigger("slide")},hideColorPicker:function(){$(".factory-current-point").removeClass("factory-current-point"),this.currentPoint=!1,this.$colorPickerContainer.hide()},isColorPickerShown:function(){return this.currentPoint},docClicked:function(){$(".gradientPicker-iris-wrap").hide(),$(".gradientPicker-ctrlPt").removeClass("open")},createCtrlPt:function(a){return new ControlPoint(this,a,this.opts.orientation)},updateOptions:function(a,b){if($.extend(this.opts,a),b){this.controlPoints=[],this.$pointsContainer.html("");for(var c=0;c<this.opts.controlPoints.length;++c){var d=this.createCtrlPt(this.opts.controlPoints[c]);this.controlPoints.push(d)}}switch(this.updatePreview(),this.opts.fillDirection){case"top":fillDirectCheck="horizontal";break;case"left":fillDirectCheck="vertical";break;default:fillDirectCheck=!1}fillDirectCheck&&$(".gradientPicker-filldirection",this.$el).find('option[value="'+fillDirectCheck+'"]').prop("selected",!0)},updatePreview:function(){var a=[];if(this.controlPoints.sort(ctrlPtComparator),this.g2d.clearRect(0,0,this.g2d.canvas.width,this.g2d.canvas.height),"horizontal"===this.opts.orientation)for(var b=this.g2d.createLinearGradient(0,0,this.g2d.canvas.width,0),c=0;c<this.controlPoints.length;++c){var d=this.controlPoints[c];b.addColorStop(d.position,"rgba("+hexToRgb(d.color).r+","+hexToRgb(d.color).g+","+hexToRgb(d.color).b+", "+d.opacity+")"),a.push({position:d.position,color:d.color,opacity:d.opacity})}if(this.g2d.fillStyle=b,this.g2d.fillRect(0,0,this.g2d.canvas.width,this.g2d.canvas.height),this.opts.generateStyles)var e=this._generatePreviewStyles();this.opts.change(a,e)},removeControlPoint:function(a){var b=this.controlPoints.indexOf(a);-1!=b&&(this.controlPoints.splice(b,1),a.$el.remove())},placePoint:function(a){a.stopPropagation();var b=$(a.target).offset(),c=a.pageX-b.left,d=a.pageY-b.top,e=this.g2d.getImageData(c,d,1,1),f="rgb("+e.data[0]+","+e.data[1]+","+e.data[2]+")",g=1/255*e.data[3],h=this.createCtrlPt({position:c/this.g2d.canvas.width,color:rgb2hex(f),opacity:g});this.controlPoints.push(h),this.controlPoints.sort(ctrlPtComparator),this.showColorPicker(h)},setGradient:function(a){this.updateOptions({controlPoints:a},!0),this.updatePreview()},setGradientDirection:function(a){switch(a){case"horizontal":this.updateOptions({type:"linear",fillDirection:"top"},!1);break;case"vertical":this.updateOptions({type:"linear",fillDirection:"left"},!1)}},_generatePreviewStyles:function(){var a={};a.filldirection=this.opts.fillDirection,a.color_points=[];for(var b=0;b<this.controlPoints.length;++b){var c=this.controlPoints[b];a.color_points.push(c.color+" "+(100*c.position|0)+"% "+c.opacity)}return JSON.stringify(a)},_genPalletsBackground:function(a,b){return cssRules="linear-gradient(90deg, "+a+" 0%, "+b+" 100%)",agent.indexOf("WebKit")>=0?crossBrowserRule=browserPrefix[0]+cssRules:agent.indexOf("Mozilla")>=0?crossBrowserRule=browserPrefix[1]+cssRules:agent.indexOf("Microsoft")>=0?crossBrowserRule=browserPrefix[2]+cssRules:crossBrowserRule=cssRules,crossBrowserRule}},ControlPoint.prototype={updateColor:function(a){this.color=a,this.$pointColor.css("background-color",a),this.parent.updatePreview()},updateOpacity:function(a){this.opacity=a,this.$pointColor.css("opacity",a),this.parent.updatePreview()},drag:function(e,ui){var stopPointPosition=eval(this.$el.parent().offset().top+this.$el.parent().height()+20);e.pageY>stopPointPosition&&this.remove();var left=ui.position.left;this.position=left/(this.$container.width()-this.outerWidth),this.parent.updatePreview()},stop:function(){this.parent.updatePreview()},remove:function(){this.parent.removeControlPoint(this),this.parent.hideColorPicker(),this.parent.updatePreview()}};var methods={init:function(a){a=$.extend({controlPoints:["#FFF 0% 1","#000 100% 1"],orientation:"horizontal",type:"linear",fillDirection:"left",generateStyles:!0,change:function(){}},a),this.each(function(){var b=$(this),c=new GradientSelection(b,a);b.data("gradientPicker-sel",c)})},update:function(a){this.each(function(){var b=$(this),c=b.data("gradientPicker-sel");null!=c&&c.updateOptions(a,!0)})}};$.fn.gradientPicker=function(a,b){"string"==typeof a&&"init"!==a?methods[a].call(this,b):(b=a,methods.init.call(this,b))}}(jQuery);
|
libs/factory/bootstrap/assets/js-min/plugin.iris.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -10,4 +10,4 @@
|
|
10 |
/*! Iris Color Picker - v1.0.4 - 2013-11-18
|
11 |
* https://github.com/Automattic/Iris
|
12 |
* Copyright (c) 2013 Matt Wiebe; Licensed GPLv2 */
|
13 |
-
!function(a,b){function c(){var b,c;j?k="filter":(b=a('<div id="iris-gradtest" />'),c="linear-gradient(top,#fff,#000)",a.each(l,function(a,d){return b.css("backgroundImage",d+c),b.css("backgroundImage").match("gradient")?(k=a,!1):void 0}),k===!1&&(b.css("background","-webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#000))"),b.css("backgroundImage").match("gradient")&&(k="webkit")),b.remove())}function d(b,c){return b="top"===b?"top":"left",c=a.isArray(c)?c:Array.prototype.slice.call(arguments,1),"webkit"===k?f(b,c):l[k]+"linear-gradient("+b+", "+c.join(", ")+")"}function e(b,c){var d,e,f,h,i,j,k,l,m;b="top"===b?"top":"left",c=a.isArray(c)?c:Array.prototype.slice.call(arguments,1),d="top"===b?0:1,e=a(this),f=c.length-1,h="filter",i=1===d?"left":"top",j=1===d?"right":"bottom",k=1===d?"height":"width",l='<div class="iris-ie-gradient-shim" style="position:absolute;'+k+":100%;"+i+":%start%;"+j+":%end%;"+h+':%filter%;" data-color:"%color%"></div>',m="","static"===e.css("position")&&e.css({position:"relative"}),c=g(c),a.each(c,function(a,b){var e,g,h;return a===f?!1:(e=c[a+1],void(b.stop!==e.stop&&(g=100-parseFloat(e.stop)+"%",b.octoHex=new Color(b.color).toIEOctoHex(),e.octoHex=new Color(e.color).toIEOctoHex(),h="progid:DXImageTransform.Microsoft.Gradient(GradientType="+d+", StartColorStr='"+b.octoHex+"', EndColorStr='"+e.octoHex+"')",m+=l.replace("%start%",b.stop).replace("%end%",g).replace("%filter%",h))))}),e.find(".iris-ie-gradient-shim").remove(),a(m).prependTo(e)}function f(b,c){var d=[];return b="top"===b?"0% 0%,0% 100%,":"0% 100%,100% 100%,",c=g(c),a.each(c,function(a,b){d.push("color-stop("+parseFloat(b.stop)/100+", "+b.color+")")}),"-webkit-gradient(linear,"+b+d.join(",")+")"}function g(b){var c=[],d=[],e=[],f=b.length-1;return a.each(b,function(a,b){var e=b,f=!1,g=b.match(/1?[0-9]{1,2}%$/);g&&(e=b.replace(/\s?1?[0-9]{1,2}%$/,""),f=g.shift()),c.push(e),d.push(f)}),d[0]===!1&&(d[0]="0%"),d[f]===!1&&(d[f]="100%"),d=h(d),a.each(d,function(a){e[a]={color:c[a],stop:d[a]}}),e}function h(b){var c,d,e,f,g=0,i=b.length-1,j=0,k=!1;if(b.length<=2||a.inArray(!1,b)<0)return b;for(;j<b.length-1;)k||b[j]!==!1?k&&b[j]!==!1&&(i=j,j=b.length):(g=j-1,k=!0),j++;for(d=i-g,f=parseInt(b[g].replace("%"),10),c=(parseFloat(b[i].replace("%"))-f)/d,j=g+1,e=1;i>j;)b[j]=f+e*c+"%",e++,j++;return h(b)}var i,j,k,l,m,n,o,p,q;return i='<div class="iris-picker"><div class="iris-picker-inner"><div class="iris-square"><a class="iris-square-value" href="#"><span class="iris-square-handle ui-slider-handle"></span></a><div class="iris-square-inner iris-square-horiz"></div><div class="iris-square-inner iris-square-vert"></div></div><div class="iris-slider iris-strip"><div class="iris-slider-offset"></div></div></div></div>',o=navigator.userAgent.toLowerCase(),p="Microsoft Internet Explorer"===navigator.appName,q=p?parseFloat(o.match(/msie ([0-9]{1,}[\.0-9]{0,})/)[1]):0,j=p&&10>q,k=!1,l=["-moz-","-webkit-","-o-","-ms-"],m='.iris-picker{display:block;position:relative}.iris-picker,.iris-picker *{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input+.iris-picker{margin-top:4px}.iris-error{background-color:#ffafaf}.iris-border{border-radius:3px;border:1px solid #aaa;width:200px;background-color:#fff}.iris-picker-inner{position:absolute;top:0;right:0;left:0;bottom:0}.iris-border .iris-picker-inner{top:10px;right:10px;left:10px;bottom:10px}.iris-picker .iris-square-inner{position:absolute;left:0;right:0;top:0;bottom:0}.iris-picker .iris-square,.iris-picker .iris-slider,.iris-picker .iris-square-inner,.iris-picker .iris-palette{border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.4);height:100%;width:12.5%;float:left;margin-right:5%}.iris-picker .iris-square{width:76%;margin-right:10%;position:relative}.iris-picker .iris-square-inner{width:auto;margin:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-square-inner,.iris-ie-9 .iris-palette{box-shadow:none;border-radius:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-palette{outline:1px solid rgba(0,0,0,.1)}.iris-ie-lt9 .iris-square,.iris-ie-lt9 .iris-slider,.iris-ie-lt9 .iris-square-inner,.iris-ie-lt9 .iris-palette{outline:1px solid #aaa}.iris-ie-lt9 .iris-square .ui-slider-handle{outline:1px solid #aaa;background-color:#fff;-ms-filter:"alpha(Opacity=30)"}.iris-ie-lt9 .iris-square .iris-square-handle{background:0;border:3px solid #fff;-ms-filter:"alpha(Opacity=50)"}.iris-picker .iris-strip{margin-right:0;position:relative}.iris-picker .iris-strip .ui-slider-handle{position:absolute;background:0;margin:0;right:-3px;left:-3px;border:4px solid #aaa;border-width:4px 3px;width:auto;height:6px;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2);opacity:.9;z-index:5;cursor:ns-resize}.iris-strip .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.iris-picker .iris-slider-offset{position:absolute;top:11px;left:0;right:0;bottom:-3px;width:auto;height:auto;background:transparent;border:0;top:none;border-radius:0}.iris-picker .iris-square-handle{background:transparent;border:5px solid #aaa;border-radius:50%;border-color:rgba(128,128,128,.5);box-shadow:none;width:12px;height:12px;position:absolute;left:-10px;top:-10px;cursor:move;opacity:1;z-index:10}.iris-picker .ui-state-focus .iris-square-handle{opacity:.8}.iris-picker .iris-square-handle:hover{border-color:#999}.iris-picker .iris-square-value:focus .iris-square-handle{box-shadow:0 0 2px rgba(0,0,0,.75);opacity:.8}.iris-picker .iris-square-handle:hover::after{border-color:#fff}.iris-picker .iris-square-handle::after{position:absolute;bottom:-4px;right:-4px;left:-4px;top:-4px;border:3px solid #f9f9f9;border-color:rgba(255,255,255,.8);border-radius:50%;content:" "}.iris-picker .iris-square-value{width:8px;height:8px;position:absolute}.iris-ie-lt9 .iris-square-value,.iris-mozilla .iris-square-value{width:1px;height:1px}.iris-palette-container{position:absolute;bottom:0;left:0;margin:0;padding:0}.iris-border .iris-palette-container{left:10px;bottom:10px}.iris-picker .iris-palette{margin:0;cursor:pointer}',j&&7>=q?(a.fn.iris=a.noop,void(a.support.iris=!1)):(a.support.factoryBootstrap442_iris=!0,a.fn.factoryBootstrap442_gradient=function(){var b=arguments;return this.each(function(){j?e.apply(this,b):a(this).css("backgroundImage",d.apply(this,b))})},a.fn.factoryBootstrap442_raninbowGradient=function(b,c){var d,e,f,g;for(b=b||"top",d=a.extend({},{s:100,l:50},c),e="hsl(%h%,"+d.s+"%,"+d.l+"%)",f=0,g=[];360>=f;)g.push(e.replace("%h%",f)),f+=30;return this.each(function(){a(this).factoryBootstrap442_gradient(b,g)})},n={options:{color:!1,mode:"hsl",controls:{horiz:"s",vert:"l",strip:"h"},hide:!0,border:!0,target:!1,width:200,palettes:!1},_color:"",_palettes:["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"],_inited:!1,_defaultHSLControls:{horiz:"s",vert:"l",strip:"h"},_defaultHSVControls:{horiz:"h",vert:"v",strip:"s"},_scale:{h:360,s:100,l:100,v:100},_create:function(){var b=this,d=b.element,e=b.options.color||d.val();k===!1&&c(),d.is("input")?(b.options.target?b.picker=a(i).appendTo(b.options.target):b.picker=a(i).insertAfter(d),b._addInputListeners(d)):(d.append(i),b.picker=d.find(".iris-picker")),p?9===q?b.picker.addClass("iris-ie-9"):8>=q&&b.picker.addClass("iris-ie-lt9"):o.indexOf("compatible")<0&&o.indexOf("khtml")<0&&o.match(/mozilla/)&&b.picker.addClass("iris-mozilla"),b.options.palettes&&b._addPalettes(),b._color=new Color(e).setHSpace(b.options.mode),b.options.color=b._color.toString(),b.controls={square:b.picker.find(".iris-square"),squareDrag:b.picker.find(".iris-square-value"),horiz:b.picker.find(".iris-square-horiz"),vert:b.picker.find(".iris-square-vert"),strip:b.picker.find(".iris-strip"),stripSlider:b.picker.find(".iris-strip .iris-slider-offset")},"hsv"===b.options.mode&&b._has("l",b.options.controls)?b.options.controls=b._defaultHSVControls:"hsl"===b.options.mode&&b._has("v",b.options.controls)&&(b.options.controls=b._defaultHSLControls),b.hue=b._color.h(),b.options.hide&&b.picker.hide(),b.options.border&&b.picker.addClass("iris-border"),b._initControls(),b.active="external",b._dimensions(),b._change()},_has:function(b,c){var d=!1;return a.each(c,function(a,c){return b===c?(d=!0,!1):void 0}),d},_addPalettes:function(){var b=a('<div class="iris-palette-container" />'),c=a('<a class="iris-palette" tabindex="0" />'),d=a.isArray(this.options.palettes)?this.options.palettes:this._palettes;this.picker.find(".iris-palette-container").length&&(b=this.picker.find(".iris-palette-container").detach().html("")),a.each(d,function(a,d){c.clone().data("color",d).css("backgroundColor",d).appendTo(b).height(10).width(10)}),this.picker.append(b)},_paint:function(){var a=this;a._paintDimension("top","strip"),a._paintDimension("top","vert"),a._paintDimension("left","horiz")},_paintDimension:function(a,b){var c,d=this,e=d._color,f=d.options.mode,g=d._getHSpaceColor(),h=d.controls[b],i=d.options.controls;if(b!==d.active&&("square"!==d.active||"strip"===b))switch(i[b]){case"h":if("hsv"===f){switch(g=e.clone(),b){case"horiz":g[i.vert](100);break;case"vert":g[i.horiz](100);break;case"strip":g.setHSpace("hsl")}c=g.toHsl()}else c="strip"===b?{s:g.s,l:g.l}:{s:100,l:g.l};h.factoryBootstrap442_raninbowGradient(a,c);break;case"s":"hsv"===f?"vert"===b?c=[e.clone().a(0).s(0).toCSS("rgba"),e.clone().a(1).s(0).toCSS("rgba")]:"strip"===b?c=[e.clone().s(100).toCSS("hsl"),e.clone().s(0).toCSS("hsl")]:"horiz"===b&&(c=["#fff","hsl("+g.h+",100%,50%)"]):c="vert"===b&&"h"===d.options.controls.horiz?["hsla(0, 0%, "+g.l+"%, 0)","hsla(0, 0%, "+g.l+"%, 1)"]:["hsl("+g.h+",0%,50%)","hsl("+g.h+",100%,50%)"],h.factoryBootstrap442_gradient(a,c);break;case"l":c="strip"===b?["hsl("+g.h+",100%,100%)","hsl("+g.h+", "+g.s+"%,50%)","hsl("+g.h+",100%,0%)"]:["#fff","rgba(255,255,255,0) 50%","rgba(0,0,0,0) 50%","rgba(0,0,0,1)"],h.factoryBootstrap442_gradient(a,c);break;case"v":c="strip"===b?[e.clone().v(100).toCSS(),e.clone().v(0).toCSS()]:["rgba(0,0,0,0)","#000"],h.factoryBootstrap442_gradient(a,c)}},_getHSpaceColor:function(){return"hsv"===this.options.mode?this._color.toHsv():this._color.toHsl()},_dimensions:function(b){var c,d,e,f,g=this,h=g.options,i=g.controls,j=i.square,k=g.picker.find(".iris-strip"),l="77.5%",m="12%",n=20,o=h.border?h.width-n:h.width,p=a.isArray(h.palettes)?h.palettes.length:g._palettes.length;return b&&(j.css("width",""),k.css("width",""),g.picker.css({width:"",height:""})),l=o*(parseFloat(l)/100),m=o*(parseFloat(m)/100),c=h.border?l+n:l,j.width(l).height(l),k.height(l).width(m),g.picker.css({width:h.width,height:c}),h.palettes?(d=2*l/100,f=l-(p-1)*d,e=f/p,g.picker.find(".iris-palette").each(function(b){var c=0===b?0:d;a(this).css({width:e,height:e,marginLeft:c})}),g.picker.css("paddingBottom",e+d),void k.height(e+d+l)):g.picker.css("paddingBottom","")},_addInputListeners:function(a){var b=this,c=100,d=function(c){var d=new Color(a.val()),e=a.val().replace(/^#/,"");a.removeClass("iris-error"),d.error?""!==e&&a.addClass("iris-error"):d.toString()!==b._color.toString()&&("keyup"===c.type&&e.match(/^[0-9a-fA-F]{3}$/)||b._setOption("color",d.toString()))};a.on("change",d).on("keyup",b._debounce(d,c)),b.options.hide&&a.one("focus",function(){b.show()})},_initControls:function(){var b=this,c=b.controls,d=c.square,e=b.options.controls,f=b._scale[e.strip];c.stripSlider.slider({orientation:"vertical",max:f,slide:function(a,c){b.active="strip","h"===e.strip&&(c.value=f-c.value),b._color[e.strip](c.value),b._change.apply(b,arguments)}}),c.squareDrag.draggable({containment:"parent",zIndex:1e3,cursor:"move",drag:function(a,c){b._squareDrag(a,c)},start:function(){d.addClass("iris-dragging"),a(this).addClass("ui-state-focus")},stop:function(){d.removeClass("iris-dragging"),a(this).removeClass("ui-state-focus")}}).on("mousedown mouseup",function(c){var d="ui-state-focus";c.preventDefault(),"mousedown"===c.type?(b.picker.find("."+d).removeClass(d).blur(),a(this).addClass(d).focus()):a(this).removeClass(d)}).on("keydown",function(a){var d=c.square,e=c.squareDrag,f=e.position(),g=b.options.width/100;switch(a.altKey&&(g*=10),a.keyCode){case 37:f.left-=g;break;case 38:f.top-=g;break;case 39:f.left+=g;break;case 40:f.top+=g;break;default:return!0}f.left=Math.max(0,Math.min(f.left,d.width())),f.top=Math.max(0,Math.min(f.top,d.height())),e.css(f),b._squareDrag(a,{position:f}),a.preventDefault()}),d.mousedown(function(c){var d,e;1===c.which&&a(c.target).is("div")&&(d=b.controls.square.offset(),e={top:c.pageY-d.top,left:c.pageX-d.left},c.preventDefault(),b._squareDrag(c,{position:e}),c.target=b.controls.squareDrag.get(0),b.controls.squareDrag.css(e).trigger(c))}),b.options.palettes&&b._paletteListeners()},_paletteListeners:function(){var b=this;b.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){b._color.fromCSS(a(this).data("color")),b.active="external",b._change()}).on("keydown.palette",".iris-palette",function(b){return 13!==b.keyCode&&32!==b.keyCode?!0:(b.stopPropagation(),void a(this).click())})},_squareDrag:function(a,b){var c=this,d=c.options.controls,e=c._squareDimensions(),f=Math.round((e.h-b.position.top)/e.h*c._scale[d.vert]),g=c._scale[d.horiz]-Math.round((e.w-b.position.left)/e.w*c._scale[d.horiz]);c._color[d.horiz](g)[d.vert](f),c.active="square",c._change.apply(c,arguments)},_setOption:function(b,c){var d,e,f,g=this,h=g.options[b],i=!1;switch(g.options[b]=c,b){case"color":c=""+c,d=c.replace(/^#/,""),e=new Color(c).setHSpace(g.options.mode),e.error?g.options[b]=h:(g._color=e,g.options.color=g.options[b]=g._color.toString(),g.active="external",g._change());break;case"palettes":i=!0,c?g._addPalettes():g.picker.find(".iris-palette-container").remove(),h||g._paletteListeners();break;case"width":i=!0;break;case"border":i=!0,f=c?"addClass":"removeClass",g.picker[f]("iris-border");break;case"mode":case"controls":if(h===c)return;return f=g.element,h=g.options,h.hide=!g.picker.is(":visible"),g.destroy(),g.picker.remove(),a(g.element).iris(h)}i&&g._dimensions(!0)},_squareDimensions:function(a){var c,d,e=this.controls.square;return a!==b&&e.data("dimensions")?e.data("dimensions"):(d=this.controls.squareDrag,c={w:e.width(),h:e.height()},e.data("dimensions",c),c)},_isNonHueControl:function(a,b){return"square"===a&&"h"===this.options.controls.strip?!0:"external"===b||"h"===b&&"strip"===a?!1:!0},_change:function(){var b=this,c=b.controls,d=b._getHSpaceColor(),e=["square","strip"],f=b.options.controls,g=f[b.active]||"external",h=b.hue;"strip"===b.active?e=[]:"external"!==b.active&&e.pop(),a.each(e,function(a,e){var g,h,i;if(e!==b.active)switch(e){case"strip":g="h"===f.strip?b._scale[f.strip]-d[f.strip]:d[f.strip],c.stripSlider.slider("value",g);break;case"square":h=b._squareDimensions(),i={left:d[f.horiz]/b._scale[f.horiz]*h.w,top:h.h-d[f.vert]/b._scale[f.vert]*h.h},b.controls.squareDrag.css(i)}}),d.h!==h&&b._isNonHueControl(b.active,g)&&b._color.h(h),b.hue=b._color.h(),b.options.color=b._color.toString(),b._inited&&b._trigger("change",{type:b.active},{color:b._color}),b.element.is(":input")&&!b._color.error&&(b.element.removeClass("iris-error"),b.element.val()!==b._color.toString()&&b.element.val(b._color.toString())),b._paint(),b._inited=!0,b.active=!1},_debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},show:function(){this.picker.show()},hide:function(){this.picker.hide()},toggle:function(){this.picker.toggle()},color:function(a){return a===!0?this._color.clone():a===b?this._color.toString():void this.option("color",a)}},a.widget("a8c.factoryBootstrap442_iris",n),void a('<style id="iris-css">'+m+"</style>").appendTo("head"))}(jQuery);
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
10 |
/*! Iris Color Picker - v1.0.4 - 2013-11-18
|
11 |
* https://github.com/Automattic/Iris
|
12 |
* Copyright (c) 2013 Matt Wiebe; Licensed GPLv2 */
|
13 |
+
!function(a,b){function c(){var b,c;j?k="filter":(b=a('<div id="iris-gradtest" />'),c="linear-gradient(top,#fff,#000)",a.each(l,function(a,d){return b.css("backgroundImage",d+c),b.css("backgroundImage").match("gradient")?(k=a,!1):void 0}),k===!1&&(b.css("background","-webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#000))"),b.css("backgroundImage").match("gradient")&&(k="webkit")),b.remove())}function d(b,c){return b="top"===b?"top":"left",c=a.isArray(c)?c:Array.prototype.slice.call(arguments,1),"webkit"===k?f(b,c):l[k]+"linear-gradient("+b+", "+c.join(", ")+")"}function e(b,c){var d,e,f,h,i,j,k,l,m;b="top"===b?"top":"left",c=a.isArray(c)?c:Array.prototype.slice.call(arguments,1),d="top"===b?0:1,e=a(this),f=c.length-1,h="filter",i=1===d?"left":"top",j=1===d?"right":"bottom",k=1===d?"height":"width",l='<div class="iris-ie-gradient-shim" style="position:absolute;'+k+":100%;"+i+":%start%;"+j+":%end%;"+h+':%filter%;" data-color:"%color%"></div>',m="","static"===e.css("position")&&e.css({position:"relative"}),c=g(c),a.each(c,function(a,b){var e,g,h;return a===f?!1:(e=c[a+1],void(b.stop!==e.stop&&(g=100-parseFloat(e.stop)+"%",b.octoHex=new Color(b.color).toIEOctoHex(),e.octoHex=new Color(e.color).toIEOctoHex(),h="progid:DXImageTransform.Microsoft.Gradient(GradientType="+d+", StartColorStr='"+b.octoHex+"', EndColorStr='"+e.octoHex+"')",m+=l.replace("%start%",b.stop).replace("%end%",g).replace("%filter%",h))))}),e.find(".iris-ie-gradient-shim").remove(),a(m).prependTo(e)}function f(b,c){var d=[];return b="top"===b?"0% 0%,0% 100%,":"0% 100%,100% 100%,",c=g(c),a.each(c,function(a,b){d.push("color-stop("+parseFloat(b.stop)/100+", "+b.color+")")}),"-webkit-gradient(linear,"+b+d.join(",")+")"}function g(b){var c=[],d=[],e=[],f=b.length-1;return a.each(b,function(a,b){var e=b,f=!1,g=b.match(/1?[0-9]{1,2}%$/);g&&(e=b.replace(/\s?1?[0-9]{1,2}%$/,""),f=g.shift()),c.push(e),d.push(f)}),d[0]===!1&&(d[0]="0%"),d[f]===!1&&(d[f]="100%"),d=h(d),a.each(d,function(a){e[a]={color:c[a],stop:d[a]}}),e}function h(b){var c,d,e,f,g=0,i=b.length-1,j=0,k=!1;if(b.length<=2||a.inArray(!1,b)<0)return b;for(;j<b.length-1;)k||b[j]!==!1?k&&b[j]!==!1&&(i=j,j=b.length):(g=j-1,k=!0),j++;for(d=i-g,f=parseInt(b[g].replace("%"),10),c=(parseFloat(b[i].replace("%"))-f)/d,j=g+1,e=1;i>j;)b[j]=f+e*c+"%",e++,j++;return h(b)}var i,j,k,l,m,n,o,p,q;return i='<div class="iris-picker"><div class="iris-picker-inner"><div class="iris-square"><a class="iris-square-value" href="#"><span class="iris-square-handle ui-slider-handle"></span></a><div class="iris-square-inner iris-square-horiz"></div><div class="iris-square-inner iris-square-vert"></div></div><div class="iris-slider iris-strip"><div class="iris-slider-offset"></div></div></div></div>',o=navigator.userAgent.toLowerCase(),p="Microsoft Internet Explorer"===navigator.appName,q=p?parseFloat(o.match(/msie ([0-9]{1,}[\.0-9]{0,})/)[1]):0,j=p&&10>q,k=!1,l=["-moz-","-webkit-","-o-","-ms-"],m='.iris-picker{display:block;position:relative}.iris-picker,.iris-picker *{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input+.iris-picker{margin-top:4px}.iris-error{background-color:#ffafaf}.iris-border{border-radius:3px;border:1px solid #aaa;width:200px;background-color:#fff}.iris-picker-inner{position:absolute;top:0;right:0;left:0;bottom:0}.iris-border .iris-picker-inner{top:10px;right:10px;left:10px;bottom:10px}.iris-picker .iris-square-inner{position:absolute;left:0;right:0;top:0;bottom:0}.iris-picker .iris-square,.iris-picker .iris-slider,.iris-picker .iris-square-inner,.iris-picker .iris-palette{border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.4);height:100%;width:12.5%;float:left;margin-right:5%}.iris-picker .iris-square{width:76%;margin-right:10%;position:relative}.iris-picker .iris-square-inner{width:auto;margin:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-square-inner,.iris-ie-9 .iris-palette{box-shadow:none;border-radius:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-palette{outline:1px solid rgba(0,0,0,.1)}.iris-ie-lt9 .iris-square,.iris-ie-lt9 .iris-slider,.iris-ie-lt9 .iris-square-inner,.iris-ie-lt9 .iris-palette{outline:1px solid #aaa}.iris-ie-lt9 .iris-square .ui-slider-handle{outline:1px solid #aaa;background-color:#fff;-ms-filter:"alpha(Opacity=30)"}.iris-ie-lt9 .iris-square .iris-square-handle{background:0;border:3px solid #fff;-ms-filter:"alpha(Opacity=50)"}.iris-picker .iris-strip{margin-right:0;position:relative}.iris-picker .iris-strip .ui-slider-handle{position:absolute;background:0;margin:0;right:-3px;left:-3px;border:4px solid #aaa;border-width:4px 3px;width:auto;height:6px;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2);opacity:.9;z-index:5;cursor:ns-resize}.iris-strip .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.iris-picker .iris-slider-offset{position:absolute;top:11px;left:0;right:0;bottom:-3px;width:auto;height:auto;background:transparent;border:0;top:none;border-radius:0}.iris-picker .iris-square-handle{background:transparent;border:5px solid #aaa;border-radius:50%;border-color:rgba(128,128,128,.5);box-shadow:none;width:12px;height:12px;position:absolute;left:-10px;top:-10px;cursor:move;opacity:1;z-index:10}.iris-picker .ui-state-focus .iris-square-handle{opacity:.8}.iris-picker .iris-square-handle:hover{border-color:#999}.iris-picker .iris-square-value:focus .iris-square-handle{box-shadow:0 0 2px rgba(0,0,0,.75);opacity:.8}.iris-picker .iris-square-handle:hover::after{border-color:#fff}.iris-picker .iris-square-handle::after{position:absolute;bottom:-4px;right:-4px;left:-4px;top:-4px;border:3px solid #f9f9f9;border-color:rgba(255,255,255,.8);border-radius:50%;content:" "}.iris-picker .iris-square-value{width:8px;height:8px;position:absolute}.iris-ie-lt9 .iris-square-value,.iris-mozilla .iris-square-value{width:1px;height:1px}.iris-palette-container{position:absolute;bottom:0;left:0;margin:0;padding:0}.iris-border .iris-palette-container{left:10px;bottom:10px}.iris-picker .iris-palette{margin:0;cursor:pointer}',j&&7>=q?(a.fn.iris=a.noop,void(a.support.iris=!1)):(a.support.factoryBootstrap444_iris=!0,a.fn.factoryBootstrap444_gradient=function(){var b=arguments;return this.each(function(){j?e.apply(this,b):a(this).css("backgroundImage",d.apply(this,b))})},a.fn.factoryBootstrap444_raninbowGradient=function(b,c){var d,e,f,g;for(b=b||"top",d=a.extend({},{s:100,l:50},c),e="hsl(%h%,"+d.s+"%,"+d.l+"%)",f=0,g=[];360>=f;)g.push(e.replace("%h%",f)),f+=30;return this.each(function(){a(this).factoryBootstrap444_gradient(b,g)})},n={options:{color:!1,mode:"hsl",controls:{horiz:"s",vert:"l",strip:"h"},hide:!0,border:!0,target:!1,width:200,palettes:!1},_color:"",_palettes:["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"],_inited:!1,_defaultHSLControls:{horiz:"s",vert:"l",strip:"h"},_defaultHSVControls:{horiz:"h",vert:"v",strip:"s"},_scale:{h:360,s:100,l:100,v:100},_create:function(){var b=this,d=b.element,e=b.options.color||d.val();k===!1&&c(),d.is("input")?(b.options.target?b.picker=a(i).appendTo(b.options.target):b.picker=a(i).insertAfter(d),b._addInputListeners(d)):(d.append(i),b.picker=d.find(".iris-picker")),p?9===q?b.picker.addClass("iris-ie-9"):8>=q&&b.picker.addClass("iris-ie-lt9"):o.indexOf("compatible")<0&&o.indexOf("khtml")<0&&o.match(/mozilla/)&&b.picker.addClass("iris-mozilla"),b.options.palettes&&b._addPalettes(),b._color=new Color(e).setHSpace(b.options.mode),b.options.color=b._color.toString(),b.controls={square:b.picker.find(".iris-square"),squareDrag:b.picker.find(".iris-square-value"),horiz:b.picker.find(".iris-square-horiz"),vert:b.picker.find(".iris-square-vert"),strip:b.picker.find(".iris-strip"),stripSlider:b.picker.find(".iris-strip .iris-slider-offset")},"hsv"===b.options.mode&&b._has("l",b.options.controls)?b.options.controls=b._defaultHSVControls:"hsl"===b.options.mode&&b._has("v",b.options.controls)&&(b.options.controls=b._defaultHSLControls),b.hue=b._color.h(),b.options.hide&&b.picker.hide(),b.options.border&&b.picker.addClass("iris-border"),b._initControls(),b.active="external",b._dimensions(),b._change()},_has:function(b,c){var d=!1;return a.each(c,function(a,c){return b===c?(d=!0,!1):void 0}),d},_addPalettes:function(){var b=a('<div class="iris-palette-container" />'),c=a('<a class="iris-palette" tabindex="0" />'),d=a.isArray(this.options.palettes)?this.options.palettes:this._palettes;this.picker.find(".iris-palette-container").length&&(b=this.picker.find(".iris-palette-container").detach().html("")),a.each(d,function(a,d){c.clone().data("color",d).css("backgroundColor",d).appendTo(b).height(10).width(10)}),this.picker.append(b)},_paint:function(){var a=this;a._paintDimension("top","strip"),a._paintDimension("top","vert"),a._paintDimension("left","horiz")},_paintDimension:function(a,b){var c,d=this,e=d._color,f=d.options.mode,g=d._getHSpaceColor(),h=d.controls[b],i=d.options.controls;if(b!==d.active&&("square"!==d.active||"strip"===b))switch(i[b]){case"h":if("hsv"===f){switch(g=e.clone(),b){case"horiz":g[i.vert](100);break;case"vert":g[i.horiz](100);break;case"strip":g.setHSpace("hsl")}c=g.toHsl()}else c="strip"===b?{s:g.s,l:g.l}:{s:100,l:g.l};h.factoryBootstrap444_raninbowGradient(a,c);break;case"s":"hsv"===f?"vert"===b?c=[e.clone().a(0).s(0).toCSS("rgba"),e.clone().a(1).s(0).toCSS("rgba")]:"strip"===b?c=[e.clone().s(100).toCSS("hsl"),e.clone().s(0).toCSS("hsl")]:"horiz"===b&&(c=["#fff","hsl("+g.h+",100%,50%)"]):c="vert"===b&&"h"===d.options.controls.horiz?["hsla(0, 0%, "+g.l+"%, 0)","hsla(0, 0%, "+g.l+"%, 1)"]:["hsl("+g.h+",0%,50%)","hsl("+g.h+",100%,50%)"],h.factoryBootstrap444_gradient(a,c);break;case"l":c="strip"===b?["hsl("+g.h+",100%,100%)","hsl("+g.h+", "+g.s+"%,50%)","hsl("+g.h+",100%,0%)"]:["#fff","rgba(255,255,255,0) 50%","rgba(0,0,0,0) 50%","rgba(0,0,0,1)"],h.factoryBootstrap444_gradient(a,c);break;case"v":c="strip"===b?[e.clone().v(100).toCSS(),e.clone().v(0).toCSS()]:["rgba(0,0,0,0)","#000"],h.factoryBootstrap444_gradient(a,c)}},_getHSpaceColor:function(){return"hsv"===this.options.mode?this._color.toHsv():this._color.toHsl()},_dimensions:function(b){var c,d,e,f,g=this,h=g.options,i=g.controls,j=i.square,k=g.picker.find(".iris-strip"),l="77.5%",m="12%",n=20,o=h.border?h.width-n:h.width,p=a.isArray(h.palettes)?h.palettes.length:g._palettes.length;return b&&(j.css("width",""),k.css("width",""),g.picker.css({width:"",height:""})),l=o*(parseFloat(l)/100),m=o*(parseFloat(m)/100),c=h.border?l+n:l,j.width(l).height(l),k.height(l).width(m),g.picker.css({width:h.width,height:c}),h.palettes?(d=2*l/100,f=l-(p-1)*d,e=f/p,g.picker.find(".iris-palette").each(function(b){var c=0===b?0:d;a(this).css({width:e,height:e,marginLeft:c})}),g.picker.css("paddingBottom",e+d),void k.height(e+d+l)):g.picker.css("paddingBottom","")},_addInputListeners:function(a){var b=this,c=100,d=function(c){var d=new Color(a.val()),e=a.val().replace(/^#/,"");a.removeClass("iris-error"),d.error?""!==e&&a.addClass("iris-error"):d.toString()!==b._color.toString()&&("keyup"===c.type&&e.match(/^[0-9a-fA-F]{3}$/)||b._setOption("color",d.toString()))};a.on("change",d).on("keyup",b._debounce(d,c)),b.options.hide&&a.one("focus",function(){b.show()})},_initControls:function(){var b=this,c=b.controls,d=c.square,e=b.options.controls,f=b._scale[e.strip];c.stripSlider.slider({orientation:"vertical",max:f,slide:function(a,c){b.active="strip","h"===e.strip&&(c.value=f-c.value),b._color[e.strip](c.value),b._change.apply(b,arguments)}}),c.squareDrag.draggable({containment:"parent",zIndex:1e3,cursor:"move",drag:function(a,c){b._squareDrag(a,c)},start:function(){d.addClass("iris-dragging"),a(this).addClass("ui-state-focus")},stop:function(){d.removeClass("iris-dragging"),a(this).removeClass("ui-state-focus")}}).on("mousedown mouseup",function(c){var d="ui-state-focus";c.preventDefault(),"mousedown"===c.type?(b.picker.find("."+d).removeClass(d).blur(),a(this).addClass(d).focus()):a(this).removeClass(d)}).on("keydown",function(a){var d=c.square,e=c.squareDrag,f=e.position(),g=b.options.width/100;switch(a.altKey&&(g*=10),a.keyCode){case 37:f.left-=g;break;case 38:f.top-=g;break;case 39:f.left+=g;break;case 40:f.top+=g;break;default:return!0}f.left=Math.max(0,Math.min(f.left,d.width())),f.top=Math.max(0,Math.min(f.top,d.height())),e.css(f),b._squareDrag(a,{position:f}),a.preventDefault()}),d.mousedown(function(c){var d,e;1===c.which&&a(c.target).is("div")&&(d=b.controls.square.offset(),e={top:c.pageY-d.top,left:c.pageX-d.left},c.preventDefault(),b._squareDrag(c,{position:e}),c.target=b.controls.squareDrag.get(0),b.controls.squareDrag.css(e).trigger(c))}),b.options.palettes&&b._paletteListeners()},_paletteListeners:function(){var b=this;b.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){b._color.fromCSS(a(this).data("color")),b.active="external",b._change()}).on("keydown.palette",".iris-palette",function(b){return 13!==b.keyCode&&32!==b.keyCode?!0:(b.stopPropagation(),void a(this).click())})},_squareDrag:function(a,b){var c=this,d=c.options.controls,e=c._squareDimensions(),f=Math.round((e.h-b.position.top)/e.h*c._scale[d.vert]),g=c._scale[d.horiz]-Math.round((e.w-b.position.left)/e.w*c._scale[d.horiz]);c._color[d.horiz](g)[d.vert](f),c.active="square",c._change.apply(c,arguments)},_setOption:function(b,c){var d,e,f,g=this,h=g.options[b],i=!1;switch(g.options[b]=c,b){case"color":c=""+c,d=c.replace(/^#/,""),e=new Color(c).setHSpace(g.options.mode),e.error?g.options[b]=h:(g._color=e,g.options.color=g.options[b]=g._color.toString(),g.active="external",g._change());break;case"palettes":i=!0,c?g._addPalettes():g.picker.find(".iris-palette-container").remove(),h||g._paletteListeners();break;case"width":i=!0;break;case"border":i=!0,f=c?"addClass":"removeClass",g.picker[f]("iris-border");break;case"mode":case"controls":if(h===c)return;return f=g.element,h=g.options,h.hide=!g.picker.is(":visible"),g.destroy(),g.picker.remove(),a(g.element).iris(h)}i&&g._dimensions(!0)},_squareDimensions:function(a){var c,d,e=this.controls.square;return a!==b&&e.data("dimensions")?e.data("dimensions"):(d=this.controls.squareDrag,c={w:e.width(),h:e.height()},e.data("dimensions",c),c)},_isNonHueControl:function(a,b){return"square"===a&&"h"===this.options.controls.strip?!0:"external"===b||"h"===b&&"strip"===a?!1:!0},_change:function(){var b=this,c=b.controls,d=b._getHSpaceColor(),e=["square","strip"],f=b.options.controls,g=f[b.active]||"external",h=b.hue;"strip"===b.active?e=[]:"external"!==b.active&&e.pop(),a.each(e,function(a,e){var g,h,i;if(e!==b.active)switch(e){case"strip":g="h"===f.strip?b._scale[f.strip]-d[f.strip]:d[f.strip],c.stripSlider.slider("value",g);break;case"square":h=b._squareDimensions(),i={left:d[f.horiz]/b._scale[f.horiz]*h.w,top:h.h-d[f.vert]/b._scale[f.vert]*h.h},b.controls.squareDrag.css(i)}}),d.h!==h&&b._isNonHueControl(b.active,g)&&b._color.h(h),b.hue=b._color.h(),b.options.color=b._color.toString(),b._inited&&b._trigger("change",{type:b.active},{color:b._color}),b.element.is(":input")&&!b._color.error&&(b.element.removeClass("iris-error"),b.element.val()!==b._color.toString()&&b.element.val(b._color.toString())),b._paint(),b._inited=!0,b.active=!1},_debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},show:function(){this.picker.show()},hide:function(){this.picker.hide()},toggle:function(){this.picker.toggle()},color:function(a){return a===!0?this._color.clone():a===b?this._color.toString():void this.option("color",a)}},a.widget("a8c.factoryBootstrap444_iris",n),void a('<style id="iris-css">'+m+"</style>").appendTo("head"))}(jQuery);
|
libs/factory/bootstrap/assets/js-min/plugin.moment-with-locales.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/plugin.nouislider.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
libs/factory/bootstrap/assets/js-min/plugin.paddings-editor.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1,
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -7,4 +7,4 @@
|
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
-
!function(a){var b=function(b){this.$element=a(b),this.$rectangle=this.$element.find(".factory-rectangle"),this.$center=this.$element.find(".factory-side-center"),this.$bar=this.$element.find(".factory-bar"),this.$sides=this.$element.find(".factory-side"),this.$result=this.$element.find(".factory-result"),this.units=this.$element.data("units"),this.rangeStart=this.$element.data("range-start"),this.rangeEnd=this.$element.data("range-end"),this.step=this.$element.data("step"),this._createCanvas(),this._createSlider(),this._initMouse(),this.selectSide("center")};b.prototype._createCanvas=function(){var b=this;this._recalculateSizes(),this.$canvas=a("<canvas width='"+b.elementWidth+"' height='"+b.elementHeight+"'>").appendTo(this.$rectangle),this.canvasContext=this.$canvas.get(0).getContext("2d"),this._redraw()},b.prototype._createSlider=function(){var a=this;this.$bar.noUiSlider({start:parseInt(a.$center.data("value")),range:{min:a.rangeStart,max:a.rangeEnd},step:a.step}),this.$bar.on("slide",function(){var b=parseInt(a.$bar.val()),c=b+a.units;"center"===a.activeSide?(a.$sides.data("value",b),a.$sides.find(".factory-visible-value").text(c)):(a.$activeSide.data("value",b),a.$activeSide.find(".factory-visible-value").text(c))}),this.$bar.on("set",function(){a.$result.val(a.getValue()),a.$result.trigger("change")})},b.prototype.getValue=function(){var a=this.$element.find(".factory-side-top").data("value"),b=this.$element.find(".factory-side-right").data("value"),c=this.$element.find(".factory-side-bottom").data("value"),d=this.$element.find(".factory-side-left").data("value");return a+this.units+" "+b+this.units+" "+c+this.units+" "+d+this.units},b.prototype.selectSide=function(a){this.activeSide!==a&&(this.activeSide=a,this.$activeSide=this.$element.find(".factory-side-"+this.activeSide),this.$element.find(".factory-side.factory-active").removeClass("factory-active"),this.$activeSide.addClass("factory-active"),this._redraw(),this.$bar.val(this.$activeSide.data("value")))},b.prototype._initMouse=function(){var a=this;this._recalculateSizes(),this.$rectangle.on("mousemove.paddings-editor",function(b){a.hoveredSide=a._getCurrentSide(b.pageX,b.pageY),a.hoveredSide!==a.lastHoveredSide&&(a.lastHoveredSide=a.hoveredSide,a._redraw())}),this.$rectangle.on("mouseleave.paddings-editor",function(b){a.hoveredSide=a.lastHoveredSide=null,a._redraw()}),this.$rectangle.on("click.paddings-editor",function(b){var c=a._getCurrentSide(b.pageX,b.pageY);a.selectSide(c)})},b.prototype._getCurrentSide=function(a,b){var c=this.$element.offset(),d=a-c.left,e=b-c.top,f=d-this.centerX,g=e-this.centerY,h=Math.sqrt(Math.pow(f,2)+Math.pow(g,2));if(h<=this.centerR)return"center";var i=this.elementHeight,j=this.elementWidth,k=-this.elementWidth*this.elementHeight,l=-(k+i*d)/j,m=-this.elementHeight,n=this.elementWidth,o=0,p=-(o+m*d)/n;return e>l&&p>e?"right":l>e&&e>p?"left":l>e&&p>e?"top":e>l&&e>p?"bottom":null},b.prototype._redraw=function(){this.canvasContext.clearRect(0,0,this.elementWidth,this.elementHeight),this._highlightSide("top","#a6b6b6"),this._highlightSide("bottom","#a6b6b6"),this._highlightSide("left","#aec0c0"),this._highlightSide("right","#aec0c0"),this._highlightSide(this.hoveredSide,"#c0cece"),this.activeSide&&this._highlightSide(this.activeSide,"#829595")},b.prototype._highlightSide=function(a,b){a&&"center"!==a&&(this.canvasContext.fillStyle=b,this.canvasContext.beginPath(),"top"===a?(this.canvasContext.moveTo(0,0),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(this.elementWidth,0)):"bottom"===a?(this.canvasContext.moveTo(0,this.elementHeight),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(this.elementWidth,this.elementHeight)):"left"===a?(this.canvasContext.moveTo(0,0),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(0,this.elementHeight)):"right"===a&&(this.canvasContext.moveTo(this.elementWidth,0),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(this.elementWidth,this.elementHeight)),this.canvasContext.closePath(),this.canvasContext.fill())},b.prototype._recalculateSizes=function(){this.elementOffset=this.$element.offset(),this.elementWidth=this.$rectangle.innerWidth(),this.elementHeight=this.$rectangle.innerHeight(),this.centerSize=this.$center.innerWidth(),this.centerR=this.centerSize/2,this.centerX=this.elementWidth/2,this.centerY=this.elementHeight/2},a.fn.
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-02-04
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
7 |
* Support: http://webcraftic.com/contact-us/
|
8 |
*/
|
9 |
|
10 |
+
!function(a){var b=function(b){this.$element=a(b),this.$rectangle=this.$element.find(".factory-rectangle"),this.$center=this.$element.find(".factory-side-center"),this.$bar=this.$element.find(".factory-bar"),this.$sides=this.$element.find(".factory-side"),this.$result=this.$element.find(".factory-result"),this.units=this.$element.data("units"),this.rangeStart=this.$element.data("range-start"),this.rangeEnd=this.$element.data("range-end"),this.step=this.$element.data("step"),this._createCanvas(),this._createSlider(),this._initMouse(),this.selectSide("center")};b.prototype._createCanvas=function(){var b=this;this._recalculateSizes(),this.$canvas=a("<canvas width='"+b.elementWidth+"' height='"+b.elementHeight+"'>").appendTo(this.$rectangle),this.canvasContext=this.$canvas.get(0).getContext("2d"),this._redraw()},b.prototype._createSlider=function(){var a=this;this.$bar.noUiSlider({start:parseInt(a.$center.data("value")),range:{min:a.rangeStart,max:a.rangeEnd},step:a.step}),this.$bar.on("slide",function(){var b=parseInt(a.$bar.val()),c=b+a.units;"center"===a.activeSide?(a.$sides.data("value",b),a.$sides.find(".factory-visible-value").text(c)):(a.$activeSide.data("value",b),a.$activeSide.find(".factory-visible-value").text(c))}),this.$bar.on("set",function(){a.$result.val(a.getValue()),a.$result.trigger("change")})},b.prototype.getValue=function(){var a=this.$element.find(".factory-side-top").data("value"),b=this.$element.find(".factory-side-right").data("value"),c=this.$element.find(".factory-side-bottom").data("value"),d=this.$element.find(".factory-side-left").data("value");return a+this.units+" "+b+this.units+" "+c+this.units+" "+d+this.units},b.prototype.selectSide=function(a){this.activeSide!==a&&(this.activeSide=a,this.$activeSide=this.$element.find(".factory-side-"+this.activeSide),this.$element.find(".factory-side.factory-active").removeClass("factory-active"),this.$activeSide.addClass("factory-active"),this._redraw(),this.$bar.val(this.$activeSide.data("value")))},b.prototype._initMouse=function(){var a=this;this._recalculateSizes(),this.$rectangle.on("mousemove.paddings-editor",function(b){a.hoveredSide=a._getCurrentSide(b.pageX,b.pageY),a.hoveredSide!==a.lastHoveredSide&&(a.lastHoveredSide=a.hoveredSide,a._redraw())}),this.$rectangle.on("mouseleave.paddings-editor",function(b){a.hoveredSide=a.lastHoveredSide=null,a._redraw()}),this.$rectangle.on("click.paddings-editor",function(b){var c=a._getCurrentSide(b.pageX,b.pageY);a.selectSide(c)})},b.prototype._getCurrentSide=function(a,b){var c=this.$element.offset(),d=a-c.left,e=b-c.top,f=d-this.centerX,g=e-this.centerY,h=Math.sqrt(Math.pow(f,2)+Math.pow(g,2));if(h<=this.centerR)return"center";var i=this.elementHeight,j=this.elementWidth,k=-this.elementWidth*this.elementHeight,l=-(k+i*d)/j,m=-this.elementHeight,n=this.elementWidth,o=0,p=-(o+m*d)/n;return e>l&&p>e?"right":l>e&&e>p?"left":l>e&&p>e?"top":e>l&&e>p?"bottom":null},b.prototype._redraw=function(){this.canvasContext.clearRect(0,0,this.elementWidth,this.elementHeight),this._highlightSide("top","#a6b6b6"),this._highlightSide("bottom","#a6b6b6"),this._highlightSide("left","#aec0c0"),this._highlightSide("right","#aec0c0"),this._highlightSide(this.hoveredSide,"#c0cece"),this.activeSide&&this._highlightSide(this.activeSide,"#829595")},b.prototype._highlightSide=function(a,b){a&&"center"!==a&&(this.canvasContext.fillStyle=b,this.canvasContext.beginPath(),"top"===a?(this.canvasContext.moveTo(0,0),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(this.elementWidth,0)):"bottom"===a?(this.canvasContext.moveTo(0,this.elementHeight),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(this.elementWidth,this.elementHeight)):"left"===a?(this.canvasContext.moveTo(0,0),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(0,this.elementHeight)):"right"===a&&(this.canvasContext.moveTo(this.elementWidth,0),this.canvasContext.lineTo(this.centerX,this.centerY),this.canvasContext.lineTo(this.elementWidth,this.elementHeight)),this.canvasContext.closePath(),this.canvasContext.fill())},b.prototype._recalculateSizes=function(){this.elementOffset=this.$element.offset(),this.elementWidth=this.$rectangle.innerWidth(),this.elementHeight=this.$rectangle.innerHeight(),this.centerSize=this.$center.innerWidth(),this.centerR=this.centerSize/2,this.centerX=this.elementWidth/2,this.centerY=this.elementHeight/2},a.fn.factoryBootstrap444_paddingsEditor=function(c){if("string"==typeof c){var d=a(this).data("factory.paddings-editor");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.paddings-editor");d||c.data("factory.paddings-editor",d=new b(this))})},a.fn.factoryBootstrap444_paddingsEditor.Constructor=b,a(function(){a(".factory-bootstrap-444 .factory-paddings-editor").factoryBootstrap444_paddingsEditor()})}(jQuery);
|
libs/factory/bootstrap/boot.php
CHANGED
@@ -19,27 +19,27 @@ if( !is_admin() ) {
|
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
-
if( defined('
|
23 |
return;
|
24 |
}
|
25 |
|
26 |
-
define('
|
27 |
-
define('
|
28 |
|
29 |
if( !defined('FACTORY_FLAT_ADMIN') ) {
|
30 |
define('FACTORY_FLAT_ADMIN', true);
|
31 |
}
|
32 |
|
33 |
-
define('
|
34 |
-
define('
|
35 |
|
36 |
-
require_once(
|
37 |
|
38 |
/**
|
39 |
-
* @param
|
40 |
*/
|
41 |
-
add_action('
|
42 |
-
$manager = new
|
43 |
$plugin->setBootstap($manager);
|
44 |
});
|
45 |
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
+
if( defined('FACTORY_BOOTSTRAP_444_LOADED') ) {
|
23 |
return;
|
24 |
}
|
25 |
|
26 |
+
define('FACTORY_BOOTSTRAP_444_VERSION', '4.4.4');
|
27 |
+
define('FACTORY_BOOTSTRAP_444_LOADED', true);
|
28 |
|
29 |
if( !defined('FACTORY_FLAT_ADMIN') ) {
|
30 |
define('FACTORY_FLAT_ADMIN', true);
|
31 |
}
|
32 |
|
33 |
+
define('FACTORY_BOOTSTRAP_444_DIR', dirname(__FILE__));
|
34 |
+
define('FACTORY_BOOTSTRAP_444_URL', plugins_url(null, __FILE__));
|
35 |
|
36 |
+
require_once(FACTORY_BOOTSTRAP_444_DIR . '/includes/functions.php');
|
37 |
|
38 |
/**
|
39 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
40 |
*/
|
41 |
+
add_action('wbcr_factory_bootstrap_444_plugin_created', function ($plugin) {
|
42 |
+
$manager = new Wbcr_FactoryBootstrap444_Manager($plugin);
|
43 |
$plugin->setBootstap($manager);
|
44 |
});
|
45 |
|
libs/factory/bootstrap/includes/functions.php
CHANGED
@@ -20,13 +20,13 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
*
|
21 |
* @since 3.2.0
|
22 |
*/
|
23 |
-
class
|
24 |
|
25 |
/**
|
26 |
* A plugin for which the manager was created.
|
27 |
*
|
28 |
* @since 3.2.0
|
29 |
-
* @var
|
30 |
*/
|
31 |
public $plugin;
|
32 |
|
@@ -51,7 +51,7 @@ class Wbcr_FactoryBootstrap442_Manager {
|
|
51 |
*
|
52 |
* @since 1.0.0
|
53 |
*/
|
54 |
-
public function __construct(
|
55 |
$this->plugin = $plugin;
|
56 |
|
57 |
add_action( 'admin_enqueue_scripts', [ $this, 'loadAssets' ] );
|
@@ -111,8 +111,8 @@ class Wbcr_FactoryBootstrap442_Manager {
|
|
111 |
*/
|
112 |
public function loadAssets( $hook ) {
|
113 |
|
114 |
-
do_action( '
|
115 |
-
do_action( '
|
116 |
|
117 |
$dependencies = [];
|
118 |
if ( ! empty( $this->scripts ) ) {
|
@@ -156,8 +156,8 @@ class Wbcr_FactoryBootstrap442_Manager {
|
|
156 |
$cache_enable = apply_filters( 'wbcr/factory/bootstrap/cache_enable', true );
|
157 |
|
158 |
$cache_id = md5( implode( ',', $this->scripts ) . $type . $this->plugin->getPluginVersion() );
|
159 |
-
$cache_dir_path =
|
160 |
-
$cache_dir_url =
|
161 |
|
162 |
$cache_filepath = $cache_dir_path . $cache_id . ".min." . $type;
|
163 |
$cache_fileurl = $cache_dir_url . $cache_id . ".min." . $type;
|
@@ -184,7 +184,7 @@ class Wbcr_FactoryBootstrap442_Manager {
|
|
184 |
foreach ( $scripts as $script_to_load ) {
|
185 |
$script_to_load = sanitize_text_field( $script_to_load );
|
186 |
if ( $cache_enable && $cache_dir_exists ) {
|
187 |
-
$fname =
|
188 |
if ( file_exists( $fname ) ) {
|
189 |
$f = @fopen( $fname, 'r' );
|
190 |
$concat_files[] = @fread( $f, filesize( $fname ) );
|
@@ -192,9 +192,9 @@ class Wbcr_FactoryBootstrap442_Manager {
|
|
192 |
}
|
193 |
} else {
|
194 |
if ( $type == 'js' ) {
|
195 |
-
wp_enqueue_script( md5( $script_to_load ),
|
196 |
} else {
|
197 |
-
wp_enqueue_style( md5( $script_to_load ),
|
198 |
}
|
199 |
$is_first = false;
|
200 |
}
|
20 |
*
|
21 |
* @since 3.2.0
|
22 |
*/
|
23 |
+
class Wbcr_FactoryBootstrap444_Manager {
|
24 |
|
25 |
/**
|
26 |
* A plugin for which the manager was created.
|
27 |
*
|
28 |
* @since 3.2.0
|
29 |
+
* @var Wbcr_Factory444_Plugin
|
30 |
*/
|
31 |
public $plugin;
|
32 |
|
51 |
*
|
52 |
* @since 1.0.0
|
53 |
*/
|
54 |
+
public function __construct( Wbcr_Factory444_Plugin $plugin ) {
|
55 |
$this->plugin = $plugin;
|
56 |
|
57 |
add_action( 'admin_enqueue_scripts', [ $this, 'loadAssets' ] );
|
111 |
*/
|
112 |
public function loadAssets( $hook ) {
|
113 |
|
114 |
+
do_action( 'wbcr_factory_444_bootstrap_enqueue_scripts', $hook );
|
115 |
+
do_action( 'wbcr_factory_444_bootstrap_enqueue_scripts_' . $this->plugin->getPluginName(), $hook );
|
116 |
|
117 |
$dependencies = [];
|
118 |
if ( ! empty( $this->scripts ) ) {
|
156 |
$cache_enable = apply_filters( 'wbcr/factory/bootstrap/cache_enable', true );
|
157 |
|
158 |
$cache_id = md5( implode( ',', $this->scripts ) . $type . $this->plugin->getPluginVersion() );
|
159 |
+
$cache_dir_path = FACTORY_BOOTSTRAP_444_DIR . '/assets/cache/';
|
160 |
+
$cache_dir_url = FACTORY_BOOTSTRAP_444_URL . '/assets/cache/';
|
161 |
|
162 |
$cache_filepath = $cache_dir_path . $cache_id . ".min." . $type;
|
163 |
$cache_fileurl = $cache_dir_url . $cache_id . ".min." . $type;
|
184 |
foreach ( $scripts as $script_to_load ) {
|
185 |
$script_to_load = sanitize_text_field( $script_to_load );
|
186 |
if ( $cache_enable && $cache_dir_exists ) {
|
187 |
+
$fname = FACTORY_BOOTSTRAP_444_DIR . "/assets/$type-min/$script_to_load.min." . $type;
|
188 |
if ( file_exists( $fname ) ) {
|
189 |
$f = @fopen( $fname, 'r' );
|
190 |
$concat_files[] = @fread( $f, filesize( $fname ) );
|
192 |
}
|
193 |
} else {
|
194 |
if ( $type == 'js' ) {
|
195 |
+
wp_enqueue_script( md5( $script_to_load ), FACTORY_BOOTSTRAP_444_URL . "/assets/$type-min/$script_to_load.min." . $type, $is_first ? $dependencies : false, $this->plugin->getPluginVersion() );
|
196 |
} else {
|
197 |
+
wp_enqueue_style( md5( $script_to_load ), FACTORY_BOOTSTRAP_444_URL . "/assets/$type-min/$script_to_load.min." . $type, [], $this->plugin->getPluginVersion() );
|
198 |
}
|
199 |
$is_first = false;
|
200 |
}
|
libs/factory/clearfy/assets/css/clearfy-base.css
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
#WBCR {
|
9 |
/* subscribe widget */
|
10 |
}
|
11 |
-
#WBCR .wbcr-factory-pages-
|
12 |
display: inline-block;
|
13 |
position: relative;
|
14 |
content: 'PRO';
|
@@ -26,18 +26,18 @@
|
|
26 |
right: auto;
|
27 |
z-index: 11;
|
28 |
}
|
29 |
-
#WBCR .wbcr-factory-pages-
|
30 |
padding: 30px 80px;
|
31 |
}
|
32 |
-
#WBCR .wbcr-factory-pages-
|
33 |
margin: 0 0 20px;
|
34 |
}
|
35 |
-
#WBCR .wbcr-factory-pages-
|
36 |
border: 2px dashed #8bc34a;
|
37 |
background: #fff;
|
38 |
padding: 20px;
|
39 |
}
|
40 |
-
#WBCR .wbcr-factory-pages-
|
41 |
display: inline-block;
|
42 |
cursor: pointer;
|
43 |
line-height: 16px;
|
@@ -56,16 +56,16 @@
|
|
56 |
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
57 |
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
58 |
}
|
59 |
-
#WBCR .wbcr-factory-pages-
|
60 |
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
61 |
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
62 |
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
63 |
}
|
64 |
-
#WBCR .wbcr-factory-pages-
|
65 |
outline: none;
|
66 |
border: 0;
|
67 |
}
|
68 |
-
#WBCR .wbcr-factory-pages-
|
69 |
display: inline-block;
|
70 |
cursor: pointer;
|
71 |
line-height: 16px;
|
@@ -84,22 +84,22 @@
|
|
84 |
-moz-box-shadow: 0 1px 0 rgba(60, 45, 2, 0.31);
|
85 |
-webkit-box-shadow: 0 1px 0 rgba(60, 45, 2, 0.31);
|
86 |
}
|
87 |
-
#WBCR .wbcr-factory-pages-
|
88 |
box-shadow: inset 0 1px 0 rgba(60, 45, 2, 0.31);
|
89 |
-moz-box-shadow: inset 0 1px 0 rgba(60, 45, 2, 0.31);
|
90 |
-webkit-box-shadow: inset 0 1px 0 rgba(60, 45, 2, 0.31);
|
91 |
}
|
92 |
-
#WBCR .wbcr-factory-pages-
|
93 |
outline: none;
|
94 |
border: 0;
|
95 |
}
|
96 |
-
#WBCR .wbcr-factory-pages-
|
97 |
background: #fff;
|
98 |
color: #353535;
|
99 |
font-weight: 600;
|
100 |
border: 2px dashed #8bc34a;
|
101 |
}
|
102 |
-
#WBCR .wbcr-factory-pages-
|
103 |
margin: 0 0 20px;
|
104 |
padding: 10px 0;
|
105 |
text-align: center;
|
@@ -110,16 +110,16 @@
|
|
110 |
vertical-align: middle;
|
111 |
text-transform: uppercase;
|
112 |
}
|
113 |
-
#WBCR .wbcr-factory-pages-
|
114 |
position: relative;
|
115 |
margin-bottom: 20px;
|
116 |
}
|
117 |
-
#WBCR .wbcr-factory-pages-
|
118 |
font-size: 15px;
|
119 |
padding: 7px;
|
120 |
padding-left: 20px;
|
121 |
}
|
122 |
-
#WBCR .wbcr-factory-pages-
|
123 |
content: " ";
|
124 |
display: inline-block;
|
125 |
width: 0.4em;
|
@@ -133,7 +133,7 @@
|
|
133 |
-o-transform: rotate(45deg);
|
134 |
transform: rotate(45deg);
|
135 |
}
|
136 |
-
#WBCR .wbcr-factory-pages-
|
137 |
display: block;
|
138 |
cursor: pointer;
|
139 |
line-height: 16px;
|
@@ -152,12 +152,12 @@
|
|
152 |
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
153 |
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
154 |
}
|
155 |
-
#WBCR .wbcr-factory-pages-
|
156 |
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
157 |
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
158 |
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
159 |
}
|
160 |
-
#WBCR .wbcr-factory-pages-
|
161 |
outline: none;
|
162 |
border: 0;
|
163 |
}
|
@@ -220,34 +220,34 @@
|
|
220 |
font-size: 12px;
|
221 |
}
|
222 |
@media screen and (max-width: 1550px) {
|
223 |
-
#WBCR .wbcr-factory-pages-
|
224 |
padding: 10px 80px;
|
225 |
}
|
226 |
-
#WBCR .wbcr-factory-pages-
|
227 |
padding: 10px;
|
228 |
}
|
229 |
-
#WBCR .wbcr-factory-pages-
|
230 |
margin: 0 0 20px;
|
231 |
padding: 10px 0;
|
232 |
font-size: 13px;
|
233 |
font-weight: 600;
|
234 |
}
|
235 |
-
#WBCR .wbcr-factory-pages-
|
236 |
margin-bottom: 20px;
|
237 |
}
|
238 |
-
#WBCR .wbcr-factory-pages-
|
239 |
font-size: 13px;
|
240 |
padding: 2px;
|
241 |
padding-left: 10px;
|
242 |
}
|
243 |
-
#WBCR .wbcr-factory-pages-
|
244 |
width: 0.4em;
|
245 |
height: 0.7em;
|
246 |
border-width: 0 0.2em 0.2em 0;
|
247 |
left: 0;
|
248 |
margin-right: 10px;
|
249 |
}
|
250 |
-
#WBCR .wbcr-factory-pages-
|
251 |
font-weight: 700;
|
252 |
line-height: 16px;
|
253 |
font-size: 12px;
|
8 |
#WBCR {
|
9 |
/* subscribe widget */
|
10 |
}
|
11 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .factory-checkbox.wbcr-factory-clearfy-icon-pro:after {
|
12 |
display: inline-block;
|
13 |
position: relative;
|
14 |
content: 'PRO';
|
26 |
right: auto;
|
27 |
z-index: 11;
|
28 |
}
|
29 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion {
|
30 |
padding: 30px 80px;
|
31 |
}
|
32 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion h3 {
|
33 |
margin: 0 0 20px;
|
34 |
}
|
35 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion .wbcr-factory-inner-contanier {
|
36 |
border: 2px dashed #8bc34a;
|
37 |
background: #fff;
|
38 |
padding: 20px;
|
39 |
}
|
40 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion .wbcr-factory-activate-premium {
|
41 |
display: inline-block;
|
42 |
cursor: pointer;
|
43 |
line-height: 16px;
|
56 |
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
57 |
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
58 |
}
|
59 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion .wbcr-factory-activate-premium:active {
|
60 |
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
61 |
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
62 |
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
63 |
}
|
64 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion .wbcr-factory-activate-premium:focus {
|
65 |
outline: none;
|
66 |
border: 0;
|
67 |
}
|
68 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion .wbcr-factory-purchase-premium {
|
69 |
display: inline-block;
|
70 |
cursor: pointer;
|
71 |
line-height: 16px;
|
84 |
-moz-box-shadow: 0 1px 0 rgba(60, 45, 2, 0.31);
|
85 |
-webkit-box-shadow: 0 1px 0 rgba(60, 45, 2, 0.31);
|
86 |
}
|
87 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion .wbcr-factory-purchase-premium:active {
|
88 |
box-shadow: inset 0 1px 0 rgba(60, 45, 2, 0.31);
|
89 |
-moz-box-shadow: inset 0 1px 0 rgba(60, 45, 2, 0.31);
|
90 |
-webkit-box-shadow: inset 0 1px 0 rgba(60, 45, 2, 0.31);
|
91 |
}
|
92 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-suggetion .wbcr-factory-purchase-premium:focus {
|
93 |
outline: none;
|
94 |
border: 0;
|
95 |
}
|
96 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion {
|
97 |
background: #fff;
|
98 |
color: #353535;
|
99 |
font-weight: 600;
|
100 |
border: 2px dashed #8bc34a;
|
101 |
}
|
102 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion h3 {
|
103 |
margin: 0 0 20px;
|
104 |
padding: 10px 0;
|
105 |
text-align: center;
|
110 |
vertical-align: middle;
|
111 |
text-transform: uppercase;
|
112 |
}
|
113 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion ul {
|
114 |
position: relative;
|
115 |
margin-bottom: 20px;
|
116 |
}
|
117 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion ul li {
|
118 |
font-size: 15px;
|
119 |
padding: 7px;
|
120 |
padding-left: 20px;
|
121 |
}
|
122 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion ul li:before {
|
123 |
content: " ";
|
124 |
display: inline-block;
|
125 |
width: 0.4em;
|
133 |
-o-transform: rotate(45deg);
|
134 |
transform: rotate(45deg);
|
135 |
}
|
136 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion .wbcr-factory-purchase-premium {
|
137 |
display: block;
|
138 |
cursor: pointer;
|
139 |
line-height: 16px;
|
152 |
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
153 |
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
|
154 |
}
|
155 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion .wbcr-factory-purchase-premium:active {
|
156 |
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
157 |
-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
158 |
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2);
|
159 |
}
|
160 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion .wbcr-factory-purchase-premium:focus {
|
161 |
outline: none;
|
162 |
border: 0;
|
163 |
}
|
220 |
font-size: 12px;
|
221 |
}
|
222 |
@media screen and (max-width: 1550px) {
|
223 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-clearfy-235-multisite-pro-suggetion {
|
224 |
padding: 10px 80px;
|
225 |
}
|
226 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion {
|
227 |
padding: 10px;
|
228 |
}
|
229 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion h3 {
|
230 |
margin: 0 0 20px;
|
231 |
padding: 10px 0;
|
232 |
font-size: 13px;
|
233 |
font-weight: 600;
|
234 |
}
|
235 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion ul {
|
236 |
margin-bottom: 20px;
|
237 |
}
|
238 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion ul li {
|
239 |
font-size: 13px;
|
240 |
padding: 2px;
|
241 |
padding-left: 10px;
|
242 |
}
|
243 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion ul li:before {
|
244 |
width: 0.4em;
|
245 |
height: 0.7em;
|
246 |
border-width: 0 0.2em 0.2em 0;
|
247 |
left: 0;
|
248 |
margin-right: 10px;
|
249 |
}
|
250 |
+
#WBCR .wbcr-factory-pages-443-impressive-page-template .wbcr-factory-right-sidebar-section .wbcr-factory-clearfy-235-pro-suggettion .wbcr-factory-purchase-premium {
|
251 |
font-weight: 700;
|
252 |
line-height: 16px;
|
253 |
font-size: 12px;
|
libs/factory/clearfy/assets/css/components.css
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
4 |
* @copyright Alex Kovalev 30.09.2017
|
5 |
*/
|
6 |
-
#WBCR .wbc-factory-clearfy-
|
7 |
padding: 0 20px 20px;
|
8 |
text-align: center;
|
9 |
}
|
10 |
-
#WBCR .wbc-factory-clearfy-
|
11 |
position: relative;
|
12 |
display: inline-block;
|
13 |
width: 32.7%;
|
@@ -18,46 +18,46 @@
|
|
18 |
float: none;
|
19 |
vertical-align: top;
|
20 |
}
|
21 |
-
#WBCR .wbc-factory-clearfy-
|
22 |
margin-left: 0;
|
23 |
}
|
24 |
-
#WBCR .wbc-factory-clearfy-
|
25 |
position: absolute;
|
26 |
bottom: 0;
|
27 |
right: 0;
|
28 |
left: 0;
|
29 |
}
|
30 |
-
#WBCR .wbc-factory-clearfy-
|
31 |
min-height: 163px;
|
32 |
}
|
33 |
-
#WBCR .wbc-factory-clearfy-
|
34 |
-
#WBCR .wbc-factory-clearfy-
|
35 |
margin-right: 0 !important;
|
36 |
}
|
37 |
-
#WBCR .wbc-factory-clearfy-
|
38 |
font-size: 17px;
|
39 |
margin-top: 0 !important;
|
40 |
}
|
41 |
-
#WBCR .wbc-factory-clearfy-
|
42 |
float: right;
|
43 |
}
|
44 |
-
#WBCR .wbc-factory-clearfy-
|
45 |
float: right;
|
46 |
margin-left: 5px;
|
47 |
}
|
48 |
-
#WBCR .wbc-factory-clearfy-
|
49 |
-
#WBCR .wbc-factory-clearfy-
|
50 |
font-size: 16px !important;
|
51 |
line-height: 1.5 !important;
|
52 |
color: #62696f;
|
53 |
}
|
54 |
-
#WBCR .wbc-factory-clearfy-
|
55 |
color: #5c5d5f;
|
56 |
text-decoration: none;
|
57 |
font-weight: 600;
|
58 |
font-size: 15px;
|
59 |
}
|
60 |
-
#WBCR .wbc-factory-clearfy-
|
61 |
position: absolute;
|
62 |
bottom: 60px;
|
63 |
right: 0;
|
@@ -73,7 +73,7 @@
|
|
73 |
text-transform: uppercase;
|
74 |
z-index: 1;
|
75 |
}
|
76 |
-
#WBCR .wbc-factory-clearfy-
|
77 |
position: absolute;
|
78 |
bottom: 60px;
|
79 |
right: 0;
|
@@ -89,7 +89,7 @@
|
|
89 |
text-transform: uppercase;
|
90 |
z-index: 1;
|
91 |
}
|
92 |
-
#WBCR .wbc-factory-clearfy-
|
93 |
position: absolute;
|
94 |
bottom: 60px;
|
95 |
right: 0;
|
@@ -105,35 +105,35 @@
|
|
105 |
text-transform: uppercase;
|
106 |
z-index: 1;
|
107 |
}
|
108 |
-
#WBCR .wbc-factory-clearfy-
|
109 |
border-color: #e8d7b2;
|
110 |
background-color: #fff9eb;
|
111 |
}
|
112 |
-
#WBCR .wbc-factory-clearfy-
|
113 |
background-color: #f1f1f1;
|
114 |
}
|
115 |
-
#WBCR .wbc-factory-clearfy-
|
116 |
color: #ababab;
|
117 |
text-decoration: none;
|
118 |
font-weight: 600;
|
119 |
font-size: 15px;
|
120 |
}
|
121 |
-
#WBCR .wbc-factory-clearfy-
|
122 |
opacity: 0.3;
|
123 |
}
|
124 |
-
#WBCR .wbc-factory-clearfy-
|
125 |
color: #afafaf;
|
126 |
}
|
127 |
-
#WBCR .wbc-factory-clearfy-
|
128 |
background-color: #f9f2f1;
|
129 |
}
|
130 |
@media screen and (max-width: 1750px) {
|
131 |
-
#WBCR .wbc-factory-clearfy-
|
132 |
width: 49%;
|
133 |
}
|
134 |
}
|
135 |
@media screen and (max-width: 1350px) {
|
136 |
-
#WBCR .wbc-factory-clearfy-
|
137 |
width: 100%;
|
138 |
}
|
139 |
}
|
3 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>
|
4 |
* @copyright Alex Kovalev 30.09.2017
|
5 |
*/
|
6 |
+
#WBCR .wbc-factory-clearfy-235-components {
|
7 |
padding: 0 20px 20px;
|
8 |
text-align: center;
|
9 |
}
|
10 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card {
|
11 |
position: relative;
|
12 |
display: inline-block;
|
13 |
width: 32.7%;
|
18 |
float: none;
|
19 |
vertical-align: top;
|
20 |
}
|
21 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card:first-child {
|
22 |
margin-left: 0;
|
23 |
}
|
24 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .plugin-card-bottom {
|
25 |
position: absolute;
|
26 |
bottom: 0;
|
27 |
right: 0;
|
28 |
left: 0;
|
29 |
}
|
30 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .plugin-card-top {
|
31 |
min-height: 163px;
|
32 |
}
|
33 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .desc,
|
34 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .name {
|
35 |
margin-right: 0 !important;
|
36 |
}
|
37 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .name h3 {
|
38 |
font-size: 17px;
|
39 |
margin-top: 0 !important;
|
40 |
}
|
41 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .install-now {
|
42 |
float: right;
|
43 |
}
|
44 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .delete-now {
|
45 |
float: right;
|
46 |
margin-left: 5px;
|
47 |
}
|
48 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .delete-now .dashicons,
|
49 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .delete-now .dashicons-before:before {
|
50 |
font-size: 16px !important;
|
51 |
line-height: 1.5 !important;
|
52 |
color: #62696f;
|
53 |
}
|
54 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card a.open-plugin-details-modal {
|
55 |
color: #5c5d5f;
|
56 |
text-decoration: none;
|
57 |
font-weight: 600;
|
58 |
font-size: 15px;
|
59 |
}
|
60 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .plugin-card-premium-ribbon {
|
61 |
position: absolute;
|
62 |
bottom: 60px;
|
63 |
right: 0;
|
73 |
text-transform: uppercase;
|
74 |
z-index: 1;
|
75 |
}
|
76 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .plugin-card-free-ribbon {
|
77 |
position: absolute;
|
78 |
bottom: 60px;
|
79 |
right: 0;
|
89 |
text-transform: uppercase;
|
90 |
z-index: 1;
|
91 |
}
|
92 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card .plugin-card-freemium-ribbon {
|
93 |
position: absolute;
|
94 |
bottom: 60px;
|
95 |
right: 0;
|
105 |
text-transform: uppercase;
|
106 |
z-index: 1;
|
107 |
}
|
108 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card.premium {
|
109 |
border-color: #e8d7b2;
|
110 |
background-color: #fff9eb;
|
111 |
}
|
112 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card.plugin-status-deactive {
|
113 |
background-color: #f1f1f1;
|
114 |
}
|
115 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card.plugin-status-deactive a.open-plugin-details-modal {
|
116 |
color: #ababab;
|
117 |
text-decoration: none;
|
118 |
font-weight: 600;
|
119 |
font-size: 15px;
|
120 |
}
|
121 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card.plugin-status-deactive .plugin-icon {
|
122 |
opacity: 0.3;
|
123 |
}
|
124 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card.plugin-status-deactive .desc {
|
125 |
color: #afafaf;
|
126 |
}
|
127 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card.plugin-status-deactive.premium {
|
128 |
background-color: #f9f2f1;
|
129 |
}
|
130 |
@media screen and (max-width: 1750px) {
|
131 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card {
|
132 |
width: 49%;
|
133 |
}
|
134 |
}
|
135 |
@media screen and (max-width: 1350px) {
|
136 |
+
#WBCR .wbc-factory-clearfy-235-components .plugin-card {
|
137 |
width: 100%;
|
138 |
}
|
139 |
}
|
libs/factory/clearfy/assets/css/libs/autocomplete.css
CHANGED
@@ -5,39 +5,39 @@
|
|
5 |
*
|
6 |
* @since 2.2.0
|
7 |
*/
|
8 |
-
#wbcr-factory-clearfy-
|
9 |
width: 100%;
|
10 |
box-sizing: border-box;
|
11 |
border-color: #d6d4d4;
|
12 |
}
|
13 |
-
#wbcr-factory-clearfy-
|
14 |
padding: 10px;
|
15 |
}
|
16 |
-
#wbcr-factory-clearfy-
|
17 |
display: block !important;
|
18 |
}
|
19 |
-
.wbcr-factory-clearfy-
|
20 |
border: 1px solid #999;
|
21 |
background: #FFF;
|
22 |
overflow: auto;
|
23 |
}
|
24 |
-
.wbcr-factory-clearfy-
|
25 |
padding: 2px 5px;
|
26 |
white-space: nowrap;
|
27 |
overflow: hidden;
|
28 |
cursor: pointer;
|
29 |
}
|
30 |
-
.wbcr-factory-clearfy-
|
31 |
background: #F0F0F0;
|
32 |
}
|
33 |
-
.wbcr-factory-clearfy-
|
34 |
font-weight: normal;
|
35 |
color: #3399FF;
|
36 |
}
|
37 |
-
.wbcr-factory-clearfy-
|
38 |
padding: 2px 5px;
|
39 |
}
|
40 |
-
.wbcr-factory-clearfy-
|
41 |
display: block;
|
42 |
border-bottom: 1px solid #000;
|
43 |
}
|
5 |
*
|
6 |
* @since 2.2.0
|
7 |
*/
|
8 |
+
#wbcr-factory-clearfy-235__search_options_form #wbcr-factory-clearfy-235__autocomplete {
|
9 |
width: 100%;
|
10 |
box-sizing: border-box;
|
11 |
border-color: #d6d4d4;
|
12 |
}
|
13 |
+
#wbcr-factory-clearfy-235__search_options_form.wbcr-factory-clearfy-235__autocomplete-wrap {
|
14 |
padding: 10px;
|
15 |
}
|
16 |
+
#wbcr-factory-clearfy-235__search_options_form .wbcr-factory-clearfy-235__autocomplete-label {
|
17 |
display: block !important;
|
18 |
}
|
19 |
+
.wbcr-factory-clearfy-235__autocomplete-suggestions {
|
20 |
border: 1px solid #999;
|
21 |
background: #FFF;
|
22 |
overflow: auto;
|
23 |
}
|
24 |
+
.wbcr-factory-clearfy-235__autocomplete-suggestion {
|
25 |
padding: 2px 5px;
|
26 |
white-space: nowrap;
|
27 |
overflow: hidden;
|
28 |
cursor: pointer;
|
29 |
}
|
30 |
+
.wbcr-factory-clearfy-235__autocomplete-selected {
|
31 |
background: #F0F0F0;
|
32 |
}
|
33 |
+
.wbcr-factory-clearfy-235__autocomplete-suggestions strong {
|
34 |
font-weight: normal;
|
35 |
color: #3399FF;
|
36 |
}
|
37 |
+
.wbcr-factory-clearfy-235__autocomplete-group {
|
38 |
padding: 2px 5px;
|
39 |
}
|
40 |
+
.wbcr-factory-clearfy-235__autocomplete-group strong {
|
41 |
display: block;
|
42 |
border-bottom: 1px solid #000;
|
43 |
}
|
libs/factory/clearfy/assets/css/page-setup.css
CHANGED
@@ -2,13 +2,13 @@
|
|
2 |
margin: 0;
|
3 |
padding: 0;
|
4 |
}
|
5 |
-
.w-factory-clearfy-
|
6 |
text-align: right;
|
7 |
padding: 10px;
|
8 |
background: #f7f7f7;
|
9 |
border-top: 1px solid #e8e8e8;
|
10 |
}
|
11 |
-
.w-factory-clearfy-
|
12 |
background-color: #e7e7e7;
|
13 |
border-color: #e7e7e7;
|
14 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #e7e7e7;
|
@@ -16,29 +16,29 @@
|
|
16 |
margin: 0;
|
17 |
color: #8a8a8a;
|
18 |
}
|
19 |
-
.w-factory-clearfy-
|
20 |
-
.w-factory-clearfy-
|
21 |
-
.w-factory-clearfy-
|
22 |
background: #dddddd;
|
23 |
border-color: #dddddd;
|
24 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #dddddd;
|
25 |
color: #8a8a8a;
|
26 |
}
|
27 |
-
.w-factory-clearfy-
|
28 |
background-color: #f57d4f;
|
29 |
border-color: #f77d50;
|
30 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f77d50;
|
31 |
text-shadow: 0 -1px 1px #f77d50, 1px 0 1px #f77d50, 0 1px 1px #f77d50, -1px 0 1px #f77d50;
|
32 |
margin: 0;
|
33 |
}
|
34 |
-
.w-factory-clearfy-
|
35 |
-
.w-factory-clearfy-
|
36 |
-
.w-factory-clearfy-
|
37 |
background: #f86b3b;
|
38 |
border-color: #f86b3b;
|
39 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f86b3b;
|
40 |
}
|
41 |
-
.w-factory-clearfy-
|
42 |
text-align: center;
|
43 |
max-width: 900px;
|
44 |
margin: 65px auto 24px;
|
@@ -46,11 +46,11 @@
|
|
46 |
background: #f1f1f1;
|
47 |
padding: 0;
|
48 |
}
|
49 |
-
.w-factory-clearfy-
|
50 |
-
.w-factory-clearfy-
|
51 |
padding: 30px;
|
52 |
}
|
53 |
-
.w-factory-clearfy-
|
54 |
padding: 0 0 24px;
|
55 |
margin: 0;
|
56 |
list-style: none outside;
|
@@ -60,7 +60,7 @@
|
|
60 |
display: -webkit-inline-box;
|
61 |
display: inline-flex;
|
62 |
}
|
63 |
-
.w-factory-clearfy-
|
64 |
width: 100%;
|
65 |
float: left;
|
66 |
padding: 0 0 0.8em;
|
@@ -70,7 +70,7 @@
|
|
70 |
border-bottom: 4px solid #ccc;
|
71 |
line-height: 1.4;
|
72 |
}
|
73 |
-
.w-factory-clearfy-
|
74 |
content: "";
|
75 |
border: 4px solid #ccc;
|
76 |
border-radius: 100%;
|
@@ -83,15 +83,15 @@
|
|
83 |
margin-bottom: -8px;
|
84 |
background: #fff;
|
85 |
}
|
86 |
-
.w-factory-clearfy-
|
87 |
border-color: #ff1c40 !important;
|
88 |
color: #222;
|
89 |
font-weight: 700;
|
90 |
}
|
91 |
-
.w-factory-clearfy-
|
92 |
border-color: #ff1c40 !important;
|
93 |
}
|
94 |
-
.w-factory-clearfy-
|
95 |
color: #a16696;
|
96 |
text-decoration: none;
|
97 |
padding: 1.5em;
|
@@ -99,67 +99,67 @@
|
|
99 |
position: relative;
|
100 |
z-index: 1;
|
101 |
}
|
102 |
-
.w-factory-clearfy-
|
103 |
-
.w-factory-clearfy-
|
104 |
color: #111;
|
105 |
text-decoration: underline;
|
106 |
}
|
107 |
-
/*.w-factory-clearfy-
|
108 |
border-color: #f57d4f;
|
109 |
color: #f57d4f
|
110 |
}
|
111 |
|
112 |
-
.w-factory-clearfy-
|
113 |
border-color: #f57d4f;
|
114 |
background: #f57d4f
|
115 |
}*/
|
116 |
-
.w-factory-clearfy-
|
117 |
overflow: hidden;
|
118 |
margin: 20px 0 0;
|
119 |
position: relative;
|
120 |
}
|
121 |
-
.w-factory-clearfy-
|
122 |
margin-bottom: 0;
|
123 |
}
|
124 |
-
.w-factory-clearfy-
|
125 |
margin-top: 0;
|
126 |
}
|
127 |
-
.w-factory-clearfy-
|
128 |
font-size: 0.85em;
|
129 |
color: #7b7b7b;
|
130 |
margin: 1.18em auto;
|
131 |
display: inline-block;
|
132 |
text-align: center;
|
133 |
}
|
134 |
-
.w-factory-clearfy-
|
135 |
text-align: center;
|
136 |
}
|
137 |
-
.w-factory-clearfy-
|
138 |
max-width: 250px;
|
139 |
}
|
140 |
-
.w-factory-clearfy-
|
141 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
|
142 |
margin: 0 0 20px;
|
143 |
background: #fff;
|
144 |
zoom: 1;
|
145 |
text-align: left;
|
146 |
}
|
147 |
-
.w-factory-clearfy-
|
148 |
font-size: 1em;
|
149 |
line-height: 1.75;
|
150 |
color: #666;
|
151 |
}
|
152 |
-
.w-factory-clearfy-
|
153 |
background: #f1f1f1;
|
154 |
}
|
155 |
-
.w-factory-clearfy-
|
156 |
-
.w-factory-clearfy-
|
157 |
padding: 10px 15px;
|
158 |
}
|
159 |
-
.w-factory-clearfy-
|
160 |
-
.w-factory-clearfy-
|
161 |
-
.w-factory-clearfy-
|
162 |
-
.w-factory-clearfy-
|
163 |
margin: 0 0 20px;
|
164 |
border: 0;
|
165 |
padding: 0;
|
@@ -167,40 +167,40 @@
|
|
167 |
clear: none;
|
168 |
font-weight: 500;
|
169 |
}
|
170 |
-
.w-factory-clearfy-
|
171 |
margin: 20px 0;
|
172 |
font-size: 1.15em;
|
173 |
line-height: 1.75;
|
174 |
color: #666;
|
175 |
text-align: center;
|
176 |
}
|
177 |
-
.w-factory-clearfy-
|
178 |
font-size: 22px !important;
|
179 |
}
|
180 |
-
.w-factory-clearfy-
|
181 |
color: #f57d4f;
|
182 |
}
|
183 |
-
.w-factory-clearfy-
|
184 |
-
.w-factory-clearfy-
|
185 |
color: #111;
|
186 |
}
|
187 |
-
.w-factory-clearfy-
|
188 |
width: 100%;
|
189 |
font-size: 0.92em;
|
190 |
}
|
191 |
-
.w-factory-clearfy-
|
192 |
padding: 0;
|
193 |
text-align: center;
|
194 |
width: auto;
|
195 |
vertical-align: middle;
|
196 |
}
|
197 |
-
.w-factory-clearfy-
|
198 |
border: 1px solid #f5f5f5;
|
199 |
padding: 6px;
|
200 |
text-align: center;
|
201 |
vertical-align: middle;
|
202 |
}
|
203 |
-
.w-factory-clearfy-
|
204 |
outline: 0;
|
205 |
border: 0;
|
206 |
padding: 0;
|
@@ -208,18 +208,18 @@
|
|
208 |
text-align: center;
|
209 |
width: 100%;
|
210 |
}
|
211 |
-
.w-factory-clearfy-
|
212 |
cursor: move;
|
213 |
color: #ccc;
|
214 |
}
|
215 |
-
.w-factory-clearfy-
|
216 |
content: "\f333";
|
217 |
font-family: dashicons;
|
218 |
}
|
219 |
-
.w-factory-clearfy-
|
220 |
background: #f5f5f5;
|
221 |
}
|
222 |
-
.w-factory-clearfy-
|
223 |
padding: 1em 0 0 1em;
|
224 |
line-height: 1;
|
225 |
font-size: 1em;
|
@@ -230,14 +230,14 @@
|
|
230 |
position: relative;
|
231 |
display: inline-block;
|
232 |
}
|
233 |
-
.w-factory-clearfy-
|
234 |
content: "\f502";
|
235 |
font-family: dashicons;
|
236 |
position: absolute;
|
237 |
left: 0;
|
238 |
top: 0;
|
239 |
}
|
240 |
-
.w-factory-clearfy-
|
241 |
padding: 1em 0 0 1em;
|
242 |
line-height: 1;
|
243 |
font-size: 1em;
|
@@ -248,87 +248,87 @@
|
|
248 |
position: relative;
|
249 |
display: inline-block;
|
250 |
}
|
251 |
-
.w-factory-clearfy-
|
252 |
content: "\f182";
|
253 |
font-family: dashicons;
|
254 |
position: absolute;
|
255 |
left: 0;
|
256 |
top: 0;
|
257 |
}
|
258 |
-
.w-factory-clearfy-
|
259 |
width: 100%;
|
260 |
border-top: 1px solid #eee;
|
261 |
}
|
262 |
-
.w-factory-clearfy-
|
263 |
display: none;
|
264 |
}
|
265 |
-
.w-factory-clearfy-
|
266 |
width: 30%;
|
267 |
font-weight: 700;
|
268 |
}
|
269 |
-
.w-factory-clearfy-
|
270 |
-
.w-factory-clearfy-
|
271 |
padding: 14px 0;
|
272 |
border-bottom: 1px solid #eee;
|
273 |
}
|
274 |
-
.w-factory-clearfy-
|
275 |
-
.w-factory-clearfy-
|
276 |
padding-right: 9px;
|
277 |
}
|
278 |
-
.w-factory-clearfy-
|
279 |
padding-top: 0;
|
280 |
}
|
281 |
-
.w-factory-clearfy-
|
282 |
color: #777;
|
283 |
margin: 6px 0 0 24px;
|
284 |
line-height: 1.75;
|
285 |
}
|
286 |
-
.w-factory-clearfy-
|
287 |
vertical-align: middle;
|
288 |
margin: 1px 0 0;
|
289 |
height: 1.75em;
|
290 |
width: 1.75em;
|
291 |
line-height: 1.75;
|
292 |
}
|
293 |
-
.w-factory-clearfy-
|
294 |
line-height: 1;
|
295 |
}
|
296 |
@media screen and (max-width: 782px) {
|
297 |
-
.w-factory-clearfy-
|
298 |
width: auto;
|
299 |
}
|
300 |
}
|
301 |
-
.w-factory-clearfy-
|
302 |
float: right;
|
303 |
}
|
304 |
-
.w-factory-clearfy-
|
305 |
overflow: hidden;
|
306 |
margin: 0 0 24px;
|
307 |
padding-bottom: 2px;
|
308 |
}
|
309 |
-
.w-factory-clearfy-
|
310 |
margin-bottom: 12px;
|
311 |
}
|
312 |
-
.w-factory-clearfy-
|
313 |
float: left;
|
314 |
width: 50%;
|
315 |
box-sizing: border-box;
|
316 |
}
|
317 |
-
.w-factory-clearfy-
|
318 |
float: right;
|
319 |
width: 50%;
|
320 |
box-sizing: border-box;
|
321 |
}
|
322 |
-
.w-factory-clearfy-
|
323 |
padding: 0 2em 0 0;
|
324 |
list-style: none outside;
|
325 |
margin: 0;
|
326 |
}
|
327 |
-
.w-factory-clearfy-
|
328 |
display: block;
|
329 |
padding: 0 0 0.75em;
|
330 |
}
|
331 |
-
.w-factory-clearfy-
|
332 |
background-color: #f7f7f7;
|
333 |
border-color: #ccc;
|
334 |
color: #23282d;
|
@@ -342,28 +342,28 @@
|
|
342 |
padding: 1em;
|
343 |
text-align: center;
|
344 |
}
|
345 |
-
.w-factory-clearfy-
|
346 |
-
.w-factory-clearfy-
|
347 |
-
.w-factory-clearfy-
|
348 |
background: #f5f5f5;
|
349 |
border-color: #aaa;
|
350 |
}
|
351 |
-
.w-factory-clearfy-
|
352 |
color: #fff;
|
353 |
background-color: #f19570;
|
354 |
border-color: #f77d50;
|
355 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f77d50;
|
356 |
text-shadow: 0 -1px 1px #f77d50, 1px 0 1px #f77d50, 0 1px 1px #f77d50, -1px 0 1px #f77d50;
|
357 |
}
|
358 |
-
.w-factory-clearfy-
|
359 |
-
.w-factory-clearfy-
|
360 |
-
.w-factory-clearfy-
|
361 |
color: #fff;
|
362 |
background: #f77d50;
|
363 |
border-color: #f77d50;
|
364 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f77d50;
|
365 |
}
|
366 |
-
.w-factory-clearfy-
|
367 |
color: #82878c;
|
368 |
font: 400 20px/1 dashicons;
|
369 |
speak: none;
|
@@ -374,50 +374,50 @@
|
|
374 |
text-decoration: none !important;
|
375 |
vertical-align: top;
|
376 |
}
|
377 |
-
.w-factory-clearfy-
|
378 |
content: "\f105";
|
379 |
}
|
380 |
-
.w-factory-clearfy-
|
381 |
content: "\f126";
|
382 |
}
|
383 |
-
.w-factory-clearfy-
|
384 |
content: "\f465";
|
385 |
}
|
386 |
-
.w-factory-clearfy-
|
387 |
-
.w-factory-clearfy-
|
388 |
padding: 24px 24px 0;
|
389 |
margin: 0 0 24px;
|
390 |
overflow: hidden;
|
391 |
background: #f5f5f5;
|
392 |
}
|
393 |
-
.w-factory-clearfy-
|
394 |
-
.w-factory-clearfy-
|
395 |
padding: 0;
|
396 |
margin: 0 0 12px;
|
397 |
}
|
398 |
-
.w-factory-clearfy-
|
399 |
-
.w-factory-clearfy-
|
400 |
-
.w-factory-clearfy-
|
401 |
-
.w-factory-clearfy-
|
402 |
margin: 0 0 24px;
|
403 |
}
|
404 |
-
.w-factory-clearfy-
|
405 |
opacity: 0;
|
406 |
position: absolute;
|
407 |
left: -9999px;
|
408 |
}
|
409 |
-
.w-factory-clearfy-
|
410 |
position: relative;
|
411 |
display: inline-block;
|
412 |
padding-left: 28px;
|
413 |
}
|
414 |
-
.w-factory-clearfy-
|
415 |
-
.w-factory-clearfy-
|
416 |
position: absolute;
|
417 |
content: "";
|
418 |
display: inline-block;
|
419 |
}
|
420 |
-
.w-factory-clearfy-
|
421 |
height: 16px;
|
422 |
width: 16px;
|
423 |
left: 0;
|
@@ -426,7 +426,7 @@
|
|
426 |
background-color: #fff;
|
427 |
border-radius: 3px;
|
428 |
}
|
429 |
-
.w-factory-clearfy-
|
430 |
height: 5px;
|
431 |
width: 9px;
|
432 |
border-left: 2px solid;
|
@@ -438,16 +438,16 @@
|
|
438 |
top: 7px;
|
439 |
color: #fff;
|
440 |
}
|
441 |
-
.w-factory-clearfy-
|
442 |
content: none;
|
443 |
}
|
444 |
-
.w-factory-clearfy-
|
445 |
content: "";
|
446 |
}
|
447 |
-
.w-factory-clearfy-
|
448 |
outline: #3b99fc auto 5px;
|
449 |
}
|
450 |
-
.w-factory-clearfy-
|
451 |
background: #935687;
|
452 |
border-color: #935687;
|
453 |
}
|
2 |
margin: 0;
|
3 |
padding: 0;
|
4 |
}
|
5 |
+
.w-factory-clearfy-235__form-buttons {
|
6 |
text-align: right;
|
7 |
padding: 10px;
|
8 |
background: #f7f7f7;
|
9 |
border-top: 1px solid #e8e8e8;
|
10 |
}
|
11 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__skip-button {
|
12 |
background-color: #e7e7e7;
|
13 |
border-color: #e7e7e7;
|
14 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #e7e7e7;
|
16 |
margin: 0;
|
17 |
color: #8a8a8a;
|
18 |
}
|
19 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__skip-button:active,
|
20 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__skip-button:hover,
|
21 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__skip-button:focus {
|
22 |
background: #dddddd;
|
23 |
border-color: #dddddd;
|
24 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #dddddd;
|
25 |
color: #8a8a8a;
|
26 |
}
|
27 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__continue-button {
|
28 |
background-color: #f57d4f;
|
29 |
border-color: #f77d50;
|
30 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f77d50;
|
31 |
text-shadow: 0 -1px 1px #f77d50, 1px 0 1px #f77d50, 0 1px 1px #f77d50, -1px 0 1px #f77d50;
|
32 |
margin: 0;
|
33 |
}
|
34 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__continue-button:active,
|
35 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__continue-button:hover,
|
36 |
+
.w-factory-clearfy-235__form-buttons .w-factory-clearfy-235__continue-button:focus {
|
37 |
background: #f86b3b;
|
38 |
border-color: #f86b3b;
|
39 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f86b3b;
|
40 |
}
|
41 |
+
.w-factory-clearfy-235-setup {
|
42 |
text-align: center;
|
43 |
max-width: 900px;
|
44 |
margin: 65px auto 24px;
|
46 |
background: #f1f1f1;
|
47 |
padding: 0;
|
48 |
}
|
49 |
+
.w-factory-clearfy-235-setup__inner-wrap,
|
50 |
+
.w-factory-clearfy-235__setup-form .factory-form-layout {
|
51 |
padding: 30px;
|
52 |
}
|
53 |
+
.w-factory-clearfy-235-setup-steps {
|
54 |
padding: 0 0 24px;
|
55 |
margin: 0;
|
56 |
list-style: none outside;
|
60 |
display: -webkit-inline-box;
|
61 |
display: inline-flex;
|
62 |
}
|
63 |
+
.w-factory-clearfy-235-setup-steps li {
|
64 |
width: 100%;
|
65 |
float: left;
|
66 |
padding: 0 0 0.8em;
|
70 |
border-bottom: 4px solid #ccc;
|
71 |
line-height: 1.4;
|
72 |
}
|
73 |
+
.w-factory-clearfy-235-setup-steps li::before {
|
74 |
content: "";
|
75 |
border: 4px solid #ccc;
|
76 |
border-radius: 100%;
|
83 |
margin-bottom: -8px;
|
84 |
background: #fff;
|
85 |
}
|
86 |
+
.w-factory-clearfy-235-setup-steps li.active {
|
87 |
border-color: #ff1c40 !important;
|
88 |
color: #222;
|
89 |
font-weight: 700;
|
90 |
}
|
91 |
+
.w-factory-clearfy-235-setup-steps li.active::before {
|
92 |
border-color: #ff1c40 !important;
|
93 |
}
|
94 |
+
.w-factory-clearfy-235-setup-steps li a {
|
95 |
color: #a16696;
|
96 |
text-decoration: none;
|
97 |
padding: 1.5em;
|
99 |
position: relative;
|
100 |
z-index: 1;
|
101 |
}
|
102 |
+
.w-factory-clearfy-235-setup-steps li a:focus,
|
103 |
+
.w-factory-clearfy-235-setup-steps li a:hover {
|
104 |
color: #111;
|
105 |
text-decoration: underline;
|
106 |
}
|
107 |
+
/*.w-factory-clearfy-235-setup-steps li.done {
|
108 |
border-color: #f57d4f;
|
109 |
color: #f57d4f
|
110 |
}
|
111 |
|
112 |
+
.w-factory-clearfy-235-setup-steps li.done::before {
|
113 |
border-color: #f57d4f;
|
114 |
background: #f57d4f
|
115 |
}*/
|
116 |
+
.w-factory-clearfy-235-setup .w-factory-clearfy-235-setup-actions {
|
117 |
overflow: hidden;
|
118 |
margin: 20px 0 0;
|
119 |
position: relative;
|
120 |
}
|
121 |
+
.w-factory-clearfy-235-setup-content p:last-child {
|
122 |
margin-bottom: 0;
|
123 |
}
|
124 |
+
.w-factory-clearfy-235-setup-content p.store-setup {
|
125 |
margin-top: 0;
|
126 |
}
|
127 |
+
.w-factory-clearfy-235-setup-footer-links {
|
128 |
font-size: 0.85em;
|
129 |
color: #7b7b7b;
|
130 |
margin: 1.18em auto;
|
131 |
display: inline-block;
|
132 |
text-align: center;
|
133 |
}
|
134 |
+
.w-factory-clearfy-235-logo {
|
135 |
text-align: center;
|
136 |
}
|
137 |
+
.w-factory-clearfy-235-logo img {
|
138 |
max-width: 250px;
|
139 |
}
|
140 |
+
.w-factory-clearfy-235-setup-content {
|
141 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
|
142 |
margin: 0 0 20px;
|
143 |
background: #fff;
|
144 |
zoom: 1;
|
145 |
text-align: left;
|
146 |
}
|
147 |
+
.w-factory-clearfy-235-setup-content table {
|
148 |
font-size: 1em;
|
149 |
line-height: 1.75;
|
150 |
color: #666;
|
151 |
}
|
152 |
+
.w-factory-clearfy-235-setup-content table thead {
|
153 |
background: #f1f1f1;
|
154 |
}
|
155 |
+
.w-factory-clearfy-235-setup-content table th,
|
156 |
+
.w-factory-clearfy-235-setup-content table td {
|
157 |
padding: 10px 15px;
|
158 |
}
|
159 |
+
.w-factory-clearfy-235-setup-content h1,
|
160 |
+
.w-factory-clearfy-235-setup-content h2,
|
161 |
+
.w-factory-clearfy-235-setup-content h3,
|
162 |
+
.w-factory-clearfy-235-setup-content table {
|
163 |
margin: 0 0 20px;
|
164 |
border: 0;
|
165 |
padding: 0;
|
167 |
clear: none;
|
168 |
font-weight: 500;
|
169 |
}
|
170 |
+
.w-factory-clearfy-235-setup-content p {
|
171 |
margin: 20px 0;
|
172 |
font-size: 1.15em;
|
173 |
line-height: 1.75;
|
174 |
color: #666;
|
175 |
text-align: center;
|
176 |
}
|
177 |
+
.w-factory-clearfy-235-setup-step__new_onboarding-welcome {
|
178 |
font-size: 22px !important;
|
179 |
}
|
180 |
+
.w-factory-clearfy-235-setup-content a {
|
181 |
color: #f57d4f;
|
182 |
}
|
183 |
+
.w-factory-clearfy-235-setup-content a:focus,
|
184 |
+
.w-factory-clearfy-235-setup-content a:hover {
|
185 |
color: #111;
|
186 |
}
|
187 |
+
.w-factory-clearfy-235-setup-content table.tax-rates {
|
188 |
width: 100%;
|
189 |
font-size: 0.92em;
|
190 |
}
|
191 |
+
.w-factory-clearfy-235-setup-content table.tax-rates th {
|
192 |
padding: 0;
|
193 |
text-align: center;
|
194 |
width: auto;
|
195 |
vertical-align: middle;
|
196 |
}
|
197 |
+
.w-factory-clearfy-235-setup-content table.tax-rates td {
|
198 |
border: 1px solid #f5f5f5;
|
199 |
padding: 6px;
|
200 |
text-align: center;
|
201 |
vertical-align: middle;
|
202 |
}
|
203 |
+
.w-factory-clearfy-235-setup-content table.tax-rates td input {
|
204 |
outline: 0;
|
205 |
border: 0;
|
206 |
padding: 0;
|
208 |
text-align: center;
|
209 |
width: 100%;
|
210 |
}
|
211 |
+
.w-factory-clearfy-235-setup-content table.tax-rates td.sort {
|
212 |
cursor: move;
|
213 |
color: #ccc;
|
214 |
}
|
215 |
+
.w-factory-clearfy-235-setup-content table.tax-rates td.sort::before {
|
216 |
content: "\f333";
|
217 |
font-family: dashicons;
|
218 |
}
|
219 |
+
.w-factory-clearfy-235-setup-content table.tax-rates td.readonly {
|
220 |
background: #f5f5f5;
|
221 |
}
|
222 |
+
.w-factory-clearfy-235-setup-content table.tax-rates .add {
|
223 |
padding: 1em 0 0 1em;
|
224 |
line-height: 1;
|
225 |
font-size: 1em;
|
230 |
position: relative;
|
231 |
display: inline-block;
|
232 |
}
|
233 |
+
.w-factory-clearfy-235-setup-content table.tax-rates .add::before {
|
234 |
content: "\f502";
|
235 |
font-family: dashicons;
|
236 |
position: absolute;
|
237 |
left: 0;
|
238 |
top: 0;
|
239 |
}
|
240 |
+
.w-factory-clearfy-235-setup-content table.tax-rates .remove {
|
241 |
padding: 1em 0 0 1em;
|
242 |
line-height: 1;
|
243 |
font-size: 1em;
|
248 |
position: relative;
|
249 |
display: inline-block;
|
250 |
}
|
251 |
+
.w-factory-clearfy-235-setup-content table.tax-rates .remove::before {
|
252 |
content: "\f182";
|
253 |
font-family: dashicons;
|
254 |
position: absolute;
|
255 |
left: 0;
|
256 |
top: 0;
|
257 |
}
|
258 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages {
|
259 |
width: 100%;
|
260 |
border-top: 1px solid #eee;
|
261 |
}
|
262 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages thead th {
|
263 |
display: none;
|
264 |
}
|
265 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages .page-name {
|
266 |
width: 30%;
|
267 |
font-weight: 700;
|
268 |
}
|
269 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages td,
|
270 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages th {
|
271 |
padding: 14px 0;
|
272 |
border-bottom: 1px solid #eee;
|
273 |
}
|
274 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages td:first-child,
|
275 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages th:first-child {
|
276 |
padding-right: 9px;
|
277 |
}
|
278 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages th {
|
279 |
padding-top: 0;
|
280 |
}
|
281 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages .page-options p {
|
282 |
color: #777;
|
283 |
margin: 6px 0 0 24px;
|
284 |
line-height: 1.75;
|
285 |
}
|
286 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages .page-options p input {
|
287 |
vertical-align: middle;
|
288 |
margin: 1px 0 0;
|
289 |
height: 1.75em;
|
290 |
width: 1.75em;
|
291 |
line-height: 1.75;
|
292 |
}
|
293 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-pages .page-options p label {
|
294 |
line-height: 1;
|
295 |
}
|
296 |
@media screen and (max-width: 782px) {
|
297 |
+
.w-factory-clearfy-235-setup-content .form-table tbody th {
|
298 |
width: auto;
|
299 |
}
|
300 |
}
|
301 |
+
.w-factory-clearfy-235-setup-content .twitter-share-button {
|
302 |
float: right;
|
303 |
}
|
304 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps {
|
305 |
overflow: hidden;
|
306 |
margin: 0 0 24px;
|
307 |
padding-bottom: 2px;
|
308 |
}
|
309 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps h2 {
|
310 |
margin-bottom: 12px;
|
311 |
}
|
312 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps .w-factory-clearfy-235-setup-next-steps-first {
|
313 |
float: left;
|
314 |
width: 50%;
|
315 |
box-sizing: border-box;
|
316 |
}
|
317 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps .w-factory-clearfy-235-setup-next-steps-last {
|
318 |
float: right;
|
319 |
width: 50%;
|
320 |
box-sizing: border-box;
|
321 |
}
|
322 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul {
|
323 |
padding: 0 2em 0 0;
|
324 |
list-style: none outside;
|
325 |
margin: 0;
|
326 |
}
|
327 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul li a {
|
328 |
display: block;
|
329 |
padding: 0 0 0.75em;
|
330 |
}
|
331 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button {
|
332 |
background-color: #f7f7f7;
|
333 |
border-color: #ccc;
|
334 |
color: #23282d;
|
342 |
padding: 1em;
|
343 |
text-align: center;
|
344 |
}
|
345 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button:active,
|
346 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button:focus,
|
347 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button:hover {
|
348 |
background: #f5f5f5;
|
349 |
border-color: #aaa;
|
350 |
}
|
351 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button-primary {
|
352 |
color: #fff;
|
353 |
background-color: #f19570;
|
354 |
border-color: #f77d50;
|
355 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f77d50;
|
356 |
text-shadow: 0 -1px 1px #f77d50, 1px 0 1px #f77d50, 0 1px 1px #f77d50, -1px 0 1px #f77d50;
|
357 |
}
|
358 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button-primary:active,
|
359 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button-primary:focus,
|
360 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .setup-product a.button-primary:hover {
|
361 |
color: #fff;
|
362 |
background: #f77d50;
|
363 |
border-color: #f77d50;
|
364 |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #f77d50;
|
365 |
}
|
366 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul li a::before {
|
367 |
color: #82878c;
|
368 |
font: 400 20px/1 dashicons;
|
369 |
speak: none;
|
374 |
text-decoration: none !important;
|
375 |
vertical-align: top;
|
376 |
}
|
377 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .learn-more a::before {
|
378 |
content: "\f105";
|
379 |
}
|
380 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .video-walkthrough a::before {
|
381 |
content: "\f126";
|
382 |
}
|
383 |
+
.w-factory-clearfy-235-setup-content .w-factory-clearfy-235-setup-next-steps ul .newsletter a::before {
|
384 |
content: "\f465";
|
385 |
}
|
386 |
+
.w-factory-clearfy-235-setup-content .updated,
|
387 |
+
.w-factory-clearfy-235-setup-content .woocommerce-newsletter {
|
388 |
padding: 24px 24px 0;
|
389 |
margin: 0 0 24px;
|
390 |
overflow: hidden;
|
391 |
background: #f5f5f5;
|
392 |
}
|
393 |
+
.w-factory-clearfy-235-setup-content .updated p,
|
394 |
+
.w-factory-clearfy-235-setup-content .woocommerce-newsletter p {
|
395 |
padding: 0;
|
396 |
margin: 0 0 12px;
|
397 |
}
|
398 |
+
.w-factory-clearfy-235-setup-content .updated form,
|
399 |
+
.w-factory-clearfy-235-setup-content .updated p:last-child,
|
400 |
+
.w-factory-clearfy-235-setup-content .woocommerce-newsletter form,
|
401 |
+
.w-factory-clearfy-235-setup-content .woocommerce-newsletter p:last-child {
|
402 |
margin: 0 0 24px;
|
403 |
}
|
404 |
+
.w-factory-clearfy-235-setup-content .checkbox input[type=checkbox] {
|
405 |
opacity: 0;
|
406 |
position: absolute;
|
407 |
left: -9999px;
|
408 |
}
|
409 |
+
.w-factory-clearfy-235-setup-content .checkbox label {
|
410 |
position: relative;
|
411 |
display: inline-block;
|
412 |
padding-left: 28px;
|
413 |
}
|
414 |
+
.w-factory-clearfy-235-setup-content .checkbox label::after,
|
415 |
+
.w-factory-clearfy-235-setup-content .checkbox label::before {
|
416 |
position: absolute;
|
417 |
content: "";
|
418 |
display: inline-block;
|
419 |
}
|
420 |
+
.w-factory-clearfy-235-setup-content .checkbox label::before {
|
421 |
height: 16px;
|
422 |
width: 16px;
|
423 |
left: 0;
|
426 |
background-color: #fff;
|
427 |
border-radius: 3px;
|
428 |
}
|
429 |
+
.w-factory-clearfy-235-setup-content .checkbox label::after {
|
430 |
height: 5px;
|
431 |
width: 9px;
|
432 |
border-left: 2px solid;
|
438 |
top: 7px;
|
439 |
color: #fff;
|
440 |
}
|
441 |
+
.w-factory-clearfy-235-setup-content .checkbox input[type=checkbox] + label::after {
|
442 |
content: none;
|
443 |
}
|
444 |
+
.w-factory-clearfy-235-setup-content .checkbox input[type=checkbox]:checked + label::after {
|
445 |
content: "";
|
446 |
}
|
447 |
+
.w-factory-clearfy-235-setup-content .checkbox input[type=checkbox]:focus + label::before {
|
448 |
outline: #3b99fc auto 5px;
|
449 |
}
|
450 |
+
.w-factory-clearfy-235-setup-content .checkbox input[type=checkbox]:checked + label::before {
|
451 |
background: #935687;
|
452 |
border-color: #935687;
|
453 |
}
|
libs/factory/clearfy/assets/js/clearfy-globals.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
* Глобальный JS файл, который регистрирует глобальные переменные с общими методами для всех компонентов Clearfy
|
3 |
* и самого Clearfy.
|
4 |
*
|
5 |
-
* $.
|
6 |
-
* $.
|
7 |
*
|
8 |
* Copyright 2018, Webcraftic, http://webcraftic.com
|
9 |
*
|
@@ -13,16 +13,16 @@
|
|
13 |
(function($) {
|
14 |
'use strict';
|
15 |
|
16 |
-
if( !$.
|
17 |
-
$.
|
18 |
}
|
19 |
|
20 |
//todo: Переопредление для совместимости со старыми версиями плагинов.
|
21 |
-
$.
|
22 |
//todo: Переопредление для совместимости со старыми версиями плагинов.
|
23 |
-
$.
|
24 |
|
25 |
-
$.
|
26 |
/**
|
27 |
* Создает и показывает уведомление внутри интерфейса Clearfy
|
28 |
*
|
@@ -68,12 +68,12 @@
|
|
68 |
/**
|
69 |
* Хук выполняет проивольную функцию, после того как уведомление отображено
|
70 |
* Реализация системы фильтров и хуков в файле libs/clearfy/admin/assests/js/global.js
|
71 |
-
* Пример регистрации хука $.
|
72 |
* function(noticeId) {});
|
73 |
* @param {string} noticeId - id уведомления
|
74 |
*/
|
75 |
-
$.
|
76 |
-
$.
|
77 |
});
|
78 |
|
79 |
return noticeId;
|
@@ -98,13 +98,13 @@
|
|
98 |
/**
|
99 |
* Хук выполняет проивольную функцию, после того как уведомление скрыто
|
100 |
* Реализация системы фильтров и хуков в файле libs/clearfy/admin/assests/js/global.js
|
101 |
-
* Пример регистрации хука $.
|
102 |
* function(noticeId)
|
103 |
* {});
|
104 |
* @param {string} noticeId - id уведомления
|
105 |
*/
|
106 |
-
$.
|
107 |
-
$.
|
108 |
});
|
109 |
},
|
110 |
|
@@ -121,7 +121,7 @@
|
|
121 |
|
122 |
};
|
123 |
|
124 |
-
$.
|
125 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
126 |
if( !$('#WBCR').length ) {
|
127 |
return false;
|
@@ -137,7 +137,7 @@
|
|
137 |
}
|
138 |
});
|
139 |
|
140 |
-
$.
|
141 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
142 |
if( !$('#WBCR').length ) {
|
143 |
return false;
|
@@ -156,7 +156,7 @@
|
|
156 |
}
|
157 |
});
|
158 |
|
159 |
-
$.
|
160 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
161 |
if( !$('#WBCR').length ) {
|
162 |
return false;
|
@@ -175,32 +175,32 @@
|
|
175 |
}
|
176 |
});
|
177 |
|
178 |
-
$.
|
179 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
180 |
-
if( !($('#WBCR').length && $.
|
181 |
return false;
|
182 |
}
|
183 |
|
184 |
button.closest('.plugin-card').addClass('plugin-status-deactive');
|
185 |
|
186 |
if( response.data && response.data.error_message ) {
|
187 |
-
$.
|
188 |
}
|
189 |
});
|
190 |
|
191 |
-
$.
|
192 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
193 |
-
if( !($('#WBCR').length && $.
|
194 |
return false;
|
195 |
}
|
196 |
|
197 |
if( response.data && response.data.error_message ) {
|
198 |
-
$.
|
199 |
}
|
200 |
|
201 |
});
|
202 |
|
203 |
-
$.
|
204 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
205 |
if( !$('#WBCR').length ) {
|
206 |
return false;
|
@@ -209,13 +209,13 @@
|
|
209 |
button.closest('.plugin-card').removeClass('plugin-status-deactive');
|
210 |
});
|
211 |
|
212 |
-
$.
|
213 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
214 |
-
if( !($('#WBCR').length && $.
|
215 |
return false;
|
216 |
}
|
217 |
|
218 |
-
$.
|
219 |
});
|
220 |
|
221 |
})(jQuery);
|
2 |
* Глобальный JS файл, который регистрирует глобальные переменные с общими методами для всех компонентов Clearfy
|
3 |
* и самого Clearfy.
|
4 |
*
|
5 |
+
* $.wbcr_factory_clearfy_235.app - методы для работы с приложением. Скрыть, показать уведомления.
|
6 |
+
* $.wbcr_factory_clearfy_235.hooks - это иммитация хуков и фильтров аналогично тем, что используются в Wordpress
|
7 |
*
|
8 |
* Copyright 2018, Webcraftic, http://webcraftic.com
|
9 |
*
|
13 |
(function($) {
|
14 |
'use strict';
|
15 |
|
16 |
+
if( !$.wbcr_factory_clearfy_235 ) {
|
17 |
+
$.wbcr_factory_clearfy_235 = {};
|
18 |
}
|
19 |
|
20 |
//todo: Переопредление для совместимости со старыми версиями плагинов.
|
21 |
+
$.wbcr_factory_clearfy_235.filters = $.wbcr_factory_clearfy_235.filters || $.wfactory_444.filters;
|
22 |
//todo: Переопредление для совместимости со старыми версиями плагинов.
|
23 |
+
$.wbcr_factory_clearfy_235.hooks = $.wbcr_factory_clearfy_235.hooks || $.wfactory_444.hooks;
|
24 |
|
25 |
+
$.wbcr_factory_clearfy_235.app = $.wbcr_factory_clearfy_235.app || {
|
26 |
/**
|
27 |
* Создает и показывает уведомление внутри интерфейса Clearfy
|
28 |
*
|
68 |
/**
|
69 |
* Хук выполняет проивольную функцию, после того как уведомление отображено
|
70 |
* Реализация системы фильтров и хуков в файле libs/clearfy/admin/assests/js/global.js
|
71 |
+
* Пример регистрации хука $.wfactory_444.hooks.add('wbcr/factory_clearfy_235/updated',
|
72 |
* function(noticeId) {});
|
73 |
* @param {string} noticeId - id уведомления
|
74 |
*/
|
75 |
+
$.wfactory_444.hooks.run('wbcr/factory_clearfy_235/showed_notice', [noticeId]);
|
76 |
+
$.wfactory_444.hooks.run('wbcr/clearfy/showed_notice', [noticeId]);
|
77 |
});
|
78 |
|
79 |
return noticeId;
|
98 |
/**
|
99 |
* Хук выполняет проивольную функцию, после того как уведомление скрыто
|
100 |
* Реализация системы фильтров и хуков в файле libs/clearfy/admin/assests/js/global.js
|
101 |
+
* Пример регистрации хука $.wfactory_444.hooks.add('wbcr/factory_clearfy_235/updated',
|
102 |
* function(noticeId)
|
103 |
* {});
|
104 |
* @param {string} noticeId - id уведомления
|
105 |
*/
|
106 |
+
$.wfactory_444.hooks.run('wbcr/factory_clearfy_235/hidded_notice', [noticeId]);
|
107 |
+
$.wfactory_444.hooks.run('wbcr/clearfy/hidded_notice', [noticeId]);
|
108 |
});
|
109 |
},
|
110 |
|
121 |
|
122 |
};
|
123 |
|
124 |
+
$.wfactory_444.hooks.add('core/components/pre_activate', function(button) {
|
125 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
126 |
if( !$('#WBCR').length ) {
|
127 |
return false;
|
137 |
}
|
138 |
});
|
139 |
|
140 |
+
$.wfactory_444.hooks.add('core/components/deactivated', function(button, data, response) {
|
141 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
142 |
if( !$('#WBCR').length ) {
|
143 |
return false;
|
156 |
}
|
157 |
});
|
158 |
|
159 |
+
$.wfactory_444.hooks.add('core/components/deleted', function(button) {
|
160 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
161 |
if( !$('#WBCR').length ) {
|
162 |
return false;
|
175 |
}
|
176 |
});
|
177 |
|
178 |
+
$.wfactory_444.hooks.add('core/components/activation_error', function(plugin, button, response) {
|
179 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
180 |
+
if( !($('#WBCR').length && $.wbcr_factory_clearfy_235) ) {
|
181 |
return false;
|
182 |
}
|
183 |
|
184 |
button.closest('.plugin-card').addClass('plugin-status-deactive');
|
185 |
|
186 |
if( response.data && response.data.error_message ) {
|
187 |
+
$.wbcr_factory_clearfy_235.app.showNotice(response.data.error_message, 'danger');
|
188 |
}
|
189 |
});
|
190 |
|
191 |
+
$.wfactory_444.hooks.add('core/components/update_error', function(button, data, response) {
|
192 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
193 |
+
if( !($('#WBCR').length && $.wbcr_factory_clearfy_235) ) {
|
194 |
return false;
|
195 |
}
|
196 |
|
197 |
if( response.data && response.data.error_message ) {
|
198 |
+
$.wbcr_factory_clearfy_235.app.showNotice(response.data.error_message, 'danger');
|
199 |
}
|
200 |
|
201 |
});
|
202 |
|
203 |
+
$.wfactory_444.hooks.add('core/components/activated', function(button, data, response) {
|
204 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
205 |
if( !$('#WBCR').length ) {
|
206 |
return false;
|
209 |
button.closest('.plugin-card').removeClass('plugin-status-deactive');
|
210 |
});
|
211 |
|
212 |
+
$.wfactory_444.hooks.add('core/components/ajax_error', function(xhr, ajaxOptions, thrownError) {
|
213 |
// Выполняем код ниже, только на страницах плагина с интерфейсом Clearfy
|
214 |
+
if( !($('#WBCR').length && $.wbcr_factory_clearfy_235) ) {
|
215 |
return false;
|
216 |
}
|
217 |
|
218 |
+
$.wbcr_factory_clearfy_235.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
219 |
});
|
220 |
|
221 |
})(jQuery);
|
libs/factory/clearfy/assets/js/clearfy-license-manager.js
CHANGED
@@ -20,7 +20,7 @@ jQuery(function($) {
|
|
20 |
licenseAction = $(this).data('action');
|
21 |
|
22 |
for( i = 0; i < allNotices.length; i++ ) {
|
23 |
-
$.
|
24 |
}
|
25 |
|
26 |
$('.wcl-control-btn').hide();
|
@@ -53,7 +53,7 @@ jQuery(function($) {
|
|
53 |
|
54 |
if( response.data ) {
|
55 |
console.log(response.data.error_message);
|
56 |
-
noticeId = $.
|
57 |
allNotices.push(noticeId);
|
58 |
} else {
|
59 |
console.log(response);
|
@@ -63,7 +63,7 @@ jQuery(function($) {
|
|
63 |
}
|
64 |
|
65 |
if( response.data && response.data.message ) {
|
66 |
-
noticeId = $.
|
67 |
allNotices.push(noticeId);
|
68 |
|
69 |
// todo: доработать генерацию формы, вместо перезагрузки страницы
|
@@ -80,7 +80,7 @@ jQuery(function($) {
|
|
80 |
console.log(xhr.responseText);
|
81 |
console.log(thrownError);
|
82 |
|
83 |
-
var noticeId = $.
|
84 |
|
85 |
allNotices.push(noticeId);
|
86 |
}
|
20 |
licenseAction = $(this).data('action');
|
21 |
|
22 |
for( i = 0; i < allNotices.length; i++ ) {
|
23 |
+
$.wbcr_factory_clearfy_235.app.hideNotice(allNotices[i]);
|
24 |
}
|
25 |
|
26 |
$('.wcl-control-btn').hide();
|
53 |
|
54 |
if( response.data ) {
|
55 |
console.log(response.data.error_message);
|
56 |
+
noticeId = $.wbcr_factory_clearfy_235.app.showNotice('Error: [' + response.data.error_message + ']', 'danger');
|
57 |
allNotices.push(noticeId);
|
58 |
} else {
|
59 |
console.log(response);
|
63 |
}
|
64 |
|
65 |
if( response.data && response.data.message ) {
|
66 |
+
noticeId = $.wbcr_factory_clearfy_235.app.showNotice(response.data.message, 'success');
|
67 |
allNotices.push(noticeId);
|
68 |
|
69 |
// todo: доработать генерацию формы, вместо перезагрузки страницы
|
80 |
console.log(xhr.responseText);
|
81 |
console.log(thrownError);
|
82 |
|
83 |
+
var noticeId = $.wbcr_factory_clearfy_235.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
84 |
|
85 |
allNotices.push(noticeId);
|
86 |
}
|
libs/factory/clearfy/assets/js/clearfy-search-options.js
CHANGED
@@ -28,10 +28,10 @@
|
|
28 |
throw new Error('Global var {wfactory_clearfy_search_options} is not declared.');
|
29 |
}
|
30 |
|
31 |
-
$('#wbcr-factory-clearfy-
|
32 |
lookup: wfactory_clearfy_search_options,
|
33 |
onSelect: function(suggestion) {
|
34 |
-
$('#wbcr-factory-clearfy-
|
35 |
window.location.href = suggestion.data.page_url;
|
36 |
}
|
37 |
});
|
28 |
throw new Error('Global var {wfactory_clearfy_search_options} is not declared.');
|
29 |
}
|
30 |
|
31 |
+
$('#wbcr-factory-clearfy-235__autocomplete').wfactory_clearfy_autocomplete({
|
32 |
lookup: wfactory_clearfy_search_options,
|
33 |
onSelect: function(suggestion) {
|
34 |
+
$('#wbcr-factory-clearfy-235__autocomplete').prop("disabled", true);
|
35 |
window.location.href = suggestion.data.page_url;
|
36 |
}
|
37 |
});
|
libs/factory/clearfy/assets/js/clearfy-widgets.js
CHANGED
@@ -25,9 +25,9 @@ jQuery(function($) {
|
|
25 |
if( !response || !response.success ) {
|
26 |
if( response.data ) {
|
27 |
console.log(response.data.error_message);
|
28 |
-
noticeId = $.
|
29 |
setTimeout(function() {
|
30 |
-
$.
|
31 |
}, 5000);
|
32 |
} else {
|
33 |
console.log(response);
|
@@ -52,9 +52,9 @@ jQuery(function($) {
|
|
52 |
console.log(xhr.responseText);
|
53 |
console.log(thrownError);
|
54 |
|
55 |
-
var noticeId = $.
|
56 |
setTimeout(function() {
|
57 |
-
$.
|
58 |
}, 5000);
|
59 |
}
|
60 |
});
|
25 |
if( !response || !response.success ) {
|
26 |
if( response.data ) {
|
27 |
console.log(response.data.error_message);
|
28 |
+
noticeId = $.wbcr_factory_clearfy_235.app.showNotice('Error: [' + response.data.error_message + ']', 'danger');
|
29 |
setTimeout(function() {
|
30 |
+
$.wbcr_factory_clearfy_235.app.hideNotice(noticeId);
|
31 |
}, 5000);
|
32 |
} else {
|
33 |
console.log(response);
|
52 |
console.log(xhr.responseText);
|
53 |
console.log(thrownError);
|
54 |
|
55 |
+
var noticeId = $.wbcr_factory_clearfy_235.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
56 |
setTimeout(function() {
|
57 |
+
$.wbcr_factory_clearfy_235.app.hideNotice(noticeId);
|
58 |
}, 5000);
|
59 |
}
|
60 |
});
|
libs/factory/clearfy/assets/js/libs/jquery.autocomplete.min.js
CHANGED
@@ -5,4 +5,4 @@
|
|
5 |
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
|
6 |
* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
|
7 |
*/
|
8 |
-
!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports&&"function"==typeof require?require("jquery"):jQuery)}(function(a){"use strict";function b(c,d){var e=this;e.element=c,e.el=a(c),e.suggestions=[],e.badQueries=[],e.selectedIndex=-1,e.currentValue=e.element.value,e.timeoutId=null,e.cachedResponse={},e.onChangeTimeout=null,e.onChange=null,e.isLocal=!1,e.suggestionsContainer=null,e.noSuggestionsContainer=null,e.options=a.extend(!0,{},b.defaults,d),e.classes={selected:"wbcr-factory-clearfy-233__autocomplete-selected",suggestion:"wbcr-factory-clearfy-233__autocomplete-suggestion"},e.hint=null,e.hintValue="",e.selection=null,e.initialize(),e.setOptions(d)}function c(a,b,c){return a.value.toLowerCase().indexOf(c)!==-1}function d(b){return"string"==typeof b?a.parseJSON(b):b}function e(a,b){if(!b)return a.value;var c="("+g.escapeRegExChars(b)+")";return a.value.replace(new RegExp(c,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")}function f(a,b){return'<div class="wbcr-factory-clearfy-233__autocomplete-group">'+b+"</div>"}var g=function(){return{escapeRegExChars:function(a){return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(a){var b=document.createElement("div");return b.className=a,b.style.position="absolute",b.style.display="none",b}}}(),h={ESC:27,TAB:9,RETURN:13,LEFT:37,UP:38,RIGHT:39,DOWN:40},i=a.noop;b.utils=g,a.Autocomplete=b,b.defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:e,formatGroup:f,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:i,onSearchComplete:i,onSearchError:i,preserveInput:!1,containerClass:"wbcr-factory-clearfy-233__autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:c,paramName:"query",transformResult:d,showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},b.prototype={initialize:function(){var c,d=this,e="."+d.classes.suggestion,f=d.classes.selected,g=d.options;d.element.setAttribute("autocomplete","off"),d.noSuggestionsContainer=a('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),d.suggestionsContainer=b.utils.createNode(g.containerClass),c=a(d.suggestionsContainer),c.appendTo(g.appendTo||"body"),"auto"!==g.width&&c.css("width",g.width),c.on("mouseover.autocomplete",e,function(){d.activate(a(this).data("index"))}),c.on("mouseout.autocomplete",function(){d.selectedIndex=-1,c.children("."+f).removeClass(f)}),c.on("click.autocomplete",e,function(){d.select(a(this).data("index"))}),c.on("click.autocomplete",function(){clearTimeout(d.blurTimeoutId)}),d.fixPositionCapture=function(){d.visible&&d.fixPosition()},a(window).on("resize.autocomplete",d.fixPositionCapture),d.el.on("keydown.autocomplete",function(a){d.onKeyPress(a)}),d.el.on("keyup.autocomplete",function(a){d.onKeyUp(a)}),d.el.on("blur.autocomplete",function(){d.onBlur()}),d.el.on("focus.autocomplete",function(){d.onFocus()}),d.el.on("change.autocomplete",function(a){d.onKeyUp(a)}),d.el.on("input.autocomplete",function(a){d.onKeyUp(a)})},onFocus:function(){var a=this;a.disabled||(a.fixPosition(),a.el.val().length>=a.options.minChars&&a.onValueChange())},onBlur:function(){var b=this,c=b.options,d=b.el.val(),e=b.getQuery(d);b.blurTimeoutId=setTimeout(function(){b.hide(),b.selection&&b.currentValue!==e&&(c.onInvalidateSelection||a.noop).call(b.element)},200)},abortAjax:function(){var a=this;a.currentRequest&&(a.currentRequest.abort(),a.currentRequest=null)},setOptions:function(b){var c=this,d=a.extend({},c.options,b);c.isLocal=Array.isArray(d.lookup),c.isLocal&&(d.lookup=c.verifySuggestionsFormat(d.lookup)),d.orientation=c.validateOrientation(d.orientation,"bottom"),a(c.suggestionsContainer).css({"max-height":d.maxHeight+"px",width:d.width+"px","z-index":d.zIndex}),this.options=d},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var a=this;a.disabled=!0,clearTimeout(a.onChangeTimeout),a.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var b=this,c=a(b.suggestionsContainer),d=c.parent().get(0);if(d===document.body||b.options.forceFixPosition){var e=b.options.orientation,f=c.outerHeight(),g=b.el.outerHeight(),h=b.el.offset(),i={top:h.top,left:h.left};if("auto"===e){var j=a(window).height(),k=a(window).scrollTop(),l=-k+h.top-f,m=k+j-(h.top+g+f);e=Math.max(l,m)===l?"top":"bottom"}if("top"===e?i.top+=-f:i.top+=g,d!==document.body){var n,o=c.css("opacity");b.visible||c.css("opacity",0).show(),n=c.offsetParent().offset(),i.top-=n.top,i.top+=d.scrollTop,i.left-=n.left,b.visible||c.css("opacity",o).hide()}"auto"===b.options.width&&(i.width=b.el.outerWidth()+"px"),c.css(i)}},isCursorAtEnd:function(){var a,b=this,c=b.el.val().length,d=b.element.selectionStart;return"number"==typeof d?d===c:!document.selection||(a=document.selection.createRange(),a.moveStart("character",-c),c===a.text.length)},onKeyPress:function(a){var b=this;if(!b.disabled&&!b.visible&&a.which===h.DOWN&&b.currentValue)return void b.suggest();if(!b.disabled&&b.visible){switch(a.which){case h.ESC:b.el.val(b.currentValue),b.hide();break;case h.RIGHT:if(b.hint&&b.options.onHint&&b.isCursorAtEnd()){b.selectHint();break}return;case h.TAB:if(b.hint&&b.options.onHint)return void b.selectHint();if(b.selectedIndex===-1)return void b.hide();if(b.select(b.selectedIndex),b.options.tabDisabled===!1)return;break;case h.RETURN:if(b.selectedIndex===-1)return void b.hide();b.select(b.selectedIndex);break;case h.UP:b.moveUp();break;case h.DOWN:b.moveDown();break;default:return}a.stopImmediatePropagation(),a.preventDefault()}},onKeyUp:function(a){var b=this;if(!b.disabled){switch(a.which){case h.UP:case h.DOWN:return}clearTimeout(b.onChangeTimeout),b.currentValue!==b.el.val()&&(b.findBestHint(),b.options.deferRequestBy>0?b.onChangeTimeout=setTimeout(function(){b.onValueChange()},b.options.deferRequestBy):b.onValueChange())}},onValueChange:function(){if(this.ignoreValueChange)return void(this.ignoreValueChange=!1);var b=this,c=b.options,d=b.el.val(),e=b.getQuery(d);return b.selection&&b.currentValue!==e&&(b.selection=null,(c.onInvalidateSelection||a.noop).call(b.element)),clearTimeout(b.onChangeTimeout),b.currentValue=d,b.selectedIndex=-1,c.triggerSelectOnValidInput&&b.isExactMatch(e)?void b.select(0):void(e.length<c.minChars?b.hide():b.getSuggestions(e))},isExactMatch:function(a){var b=this.suggestions;return 1===b.length&&b[0].value.toLowerCase()===a.toLowerCase()},getQuery:function(b){var c,d=this.options.delimiter;return d?(c=b.split(d),a.trim(c[c.length-1])):b},getSuggestionsLocal:function(b){var c,d=this,e=d.options,f=b.toLowerCase(),g=e.lookupFilter,h=parseInt(e.lookupLimit,10);return c={suggestions:a.grep(e.lookup,function(a){return g(a,b,f)})},h&&c.suggestions.length>h&&(c.suggestions=c.suggestions.slice(0,h)),c},getSuggestions:function(b){var c,d,e,f,g=this,h=g.options,i=h.serviceUrl;if(h.params[h.paramName]=b,h.onSearchStart.call(g.element,h.params)!==!1){if(d=h.ignoreParams?null:h.params,a.isFunction(h.lookup))return void h.lookup(b,function(a){g.suggestions=a.suggestions,g.suggest(),h.onSearchComplete.call(g.element,b,a.suggestions)});g.isLocal?c=g.getSuggestionsLocal(b):(a.isFunction(i)&&(i=i.call(g.element,b)),e=i+"?"+a.param(d||{}),c=g.cachedResponse[e]),c&&Array.isArray(c.suggestions)?(g.suggestions=c.suggestions,g.suggest(),h.onSearchComplete.call(g.element,b,c.suggestions)):g.isBadQuery(b)?h.onSearchComplete.call(g.element,b,[]):(g.abortAjax(),f={url:i,data:d,type:h.type,dataType:h.dataType},a.extend(f,h.ajaxSettings),g.currentRequest=a.ajax(f).done(function(a){var c;g.currentRequest=null,c=h.transformResult(a,b),g.processResponse(c,b,e),h.onSearchComplete.call(g.element,b,c.suggestions)}).fail(function(a,c,d){h.onSearchError.call(g.element,b,a,c,d)}))}},isBadQuery:function(a){if(!this.options.preventBadQueries)return!1;for(var b=this.badQueries,c=b.length;c--;)if(0===a.indexOf(b[c]))return!0;return!1},hide:function(){var b=this,c=a(b.suggestionsContainer);a.isFunction(b.options.onHide)&&b.visible&&b.options.onHide.call(b.element,c),b.visible=!1,b.selectedIndex=-1,clearTimeout(b.onChangeTimeout),a(b.suggestionsContainer).hide(),b.signalHint(null)},suggest:function(){if(!this.suggestions.length)return void(this.options.showNoSuggestionNotice?this.noSuggestions():this.hide());var b,c=this,d=c.options,e=d.groupBy,f=d.formatResult,g=c.getQuery(c.currentValue),h=c.classes.suggestion,i=c.classes.selected,j=a(c.suggestionsContainer),k=a(c.noSuggestionsContainer),l=d.beforeRender,m="",n=function(a,c){var f=a.data[e];return b===f?"":(b=f,d.formatGroup(a,b))};return d.triggerSelectOnValidInput&&c.isExactMatch(g)?void c.select(0):(a.each(c.suggestions,function(a,b){e&&(m+=n(b,g,a)),m+='<div class="'+h+'" data-index="'+a+'">'+f(b,g,a)+"</div>"}),this.adjustContainerWidth(),k.detach(),j.html(m),a.isFunction(l)&&l.call(c.element,j,c.suggestions),c.fixPosition(),j.show(),d.autoSelectFirst&&(c.selectedIndex=0,j.scrollTop(0),j.children("."+h).first().addClass(i)),c.visible=!0,void c.findBestHint())},noSuggestions:function(){var b=this,c=b.options.beforeRender,d=a(b.suggestionsContainer),e=a(b.noSuggestionsContainer);this.adjustContainerWidth(),e.detach(),d.empty(),d.append(e),a.isFunction(c)&&c.call(b.element,d,b.suggestions),b.fixPosition(),d.show(),b.visible=!0},adjustContainerWidth:function(){var b,c=this,d=c.options,e=a(c.suggestionsContainer);"auto"===d.width?(b=c.el.outerWidth(),e.css("width",b>0?b:300)):"flex"===d.width&&e.css("width","")},findBestHint:function(){var b=this,c=b.el.val().toLowerCase(),d=null;c&&(a.each(b.suggestions,function(a,b){var e=0===b.value.toLowerCase().indexOf(c);return e&&(d=b),!e}),b.signalHint(d))},signalHint:function(b){var c="",d=this;b&&(c=d.currentValue+b.value.substr(d.currentValue.length)),d.hintValue!==c&&(d.hintValue=c,d.hint=b,(this.options.onHint||a.noop)(c))},verifySuggestionsFormat:function(b){return b.length&&"string"==typeof b[0]?a.map(b,function(a){return{value:a,data:null}}):b},validateOrientation:function(b,c){return b=a.trim(b||"").toLowerCase(),a.inArray(b,["auto","bottom","top"])===-1&&(b=c),b},processResponse:function(a,b,c){var d=this,e=d.options;a.suggestions=d.verifySuggestionsFormat(a.suggestions),e.noCache||(d.cachedResponse[c]=a,e.preventBadQueries&&!a.suggestions.length&&d.badQueries.push(b)),b===d.getQuery(d.currentValue)&&(d.suggestions=a.suggestions,d.suggest())},activate:function(b){var c,d=this,e=d.classes.selected,f=a(d.suggestionsContainer),g=f.find("."+d.classes.suggestion);return f.find("."+e).removeClass(e),d.selectedIndex=b,d.selectedIndex!==-1&&g.length>d.selectedIndex?(c=g.get(d.selectedIndex),a(c).addClass(e),c):null},selectHint:function(){var b=this,c=a.inArray(b.hint,b.suggestions);b.select(c)},select:function(a){var b=this;b.hide(),b.onSelect(a)},moveUp:function(){var b=this;if(b.selectedIndex!==-1)return 0===b.selectedIndex?(a(b.suggestionsContainer).children("."+b.classes.suggestion).first().removeClass(b.classes.selected),b.selectedIndex=-1,b.ignoreValueChange=!1,b.el.val(b.currentValue),void b.findBestHint()):void b.adjustScroll(b.selectedIndex-1)},moveDown:function(){var a=this;a.selectedIndex!==a.suggestions.length-1&&a.adjustScroll(a.selectedIndex+1)},adjustScroll:function(b){var c=this,d=c.activate(b);if(d){var e,f,g,h=a(d).outerHeight();e=d.offsetTop,f=a(c.suggestionsContainer).scrollTop(),g=f+c.options.maxHeight-h,e<f?a(c.suggestionsContainer).scrollTop(e):e>g&&a(c.suggestionsContainer).scrollTop(e-c.options.maxHeight+h),c.options.preserveInput||(c.ignoreValueChange=!0,c.el.val(c.getValue(c.suggestions[b].value))),c.signalHint(null)}},onSelect:function(b){var c=this,d=c.options.onSelect,e=c.suggestions[b];c.currentValue=c.getValue(e.value),c.currentValue===c.el.val()||c.options.preserveInput||c.el.val(c.currentValue),c.signalHint(null),c.suggestions=[],c.selection=e,a.isFunction(d)&&d.call(c.element,e)},getValue:function(a){var b,c,d=this,e=d.options.delimiter;return e?(b=d.currentValue,c=b.split(e),1===c.length?a:b.substr(0,b.length-c[c.length-1].length)+a):a},dispose:function(){var b=this;b.el.off(".autocomplete").removeData("autocomplete"),a(window).off("resize.autocomplete",b.fixPositionCapture),a(b.suggestionsContainer).remove()}},a.fn.devbridgeAutocomplete=function(c,d){var e="autocomplete";return arguments.length?this.each(function(){var f=a(this),g=f.data(e);"string"==typeof c?g&&"function"==typeof g[c]&&g[c](d):(g&&g.dispose&&g.dispose(),g=new b(this,c),f.data(e,g))}):this.first().data(e)},a.fn.wfactory_clearfy_autocomplete||(a.fn.wfactory_clearfy_autocomplete=a.fn.devbridgeAutocomplete)});
|
5 |
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
|
6 |
* For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete
|
7 |
*/
|
8 |
+
!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports&&"function"==typeof require?require("jquery"):jQuery)}(function(a){"use strict";function b(c,d){var e=this;e.element=c,e.el=a(c),e.suggestions=[],e.badQueries=[],e.selectedIndex=-1,e.currentValue=e.element.value,e.timeoutId=null,e.cachedResponse={},e.onChangeTimeout=null,e.onChange=null,e.isLocal=!1,e.suggestionsContainer=null,e.noSuggestionsContainer=null,e.options=a.extend(!0,{},b.defaults,d),e.classes={selected:"wbcr-factory-clearfy-235__autocomplete-selected",suggestion:"wbcr-factory-clearfy-235__autocomplete-suggestion"},e.hint=null,e.hintValue="",e.selection=null,e.initialize(),e.setOptions(d)}function c(a,b,c){return a.value.toLowerCase().indexOf(c)!==-1}function d(b){return"string"==typeof b?a.parseJSON(b):b}function e(a,b){if(!b)return a.value;var c="("+g.escapeRegExChars(b)+")";return a.value.replace(new RegExp(c,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")}function f(a,b){return'<div class="wbcr-factory-clearfy-235__autocomplete-group">'+b+"</div>"}var g=function(){return{escapeRegExChars:function(a){return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(a){var b=document.createElement("div");return b.className=a,b.style.position="absolute",b.style.display="none",b}}}(),h={ESC:27,TAB:9,RETURN:13,LEFT:37,UP:38,RIGHT:39,DOWN:40},i=a.noop;b.utils=g,a.Autocomplete=b,b.defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:e,formatGroup:f,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:i,onSearchComplete:i,onSearchError:i,preserveInput:!1,containerClass:"wbcr-factory-clearfy-235__autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:c,paramName:"query",transformResult:d,showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},b.prototype={initialize:function(){var c,d=this,e="."+d.classes.suggestion,f=d.classes.selected,g=d.options;d.element.setAttribute("autocomplete","off"),d.noSuggestionsContainer=a('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),d.suggestionsContainer=b.utils.createNode(g.containerClass),c=a(d.suggestionsContainer),c.appendTo(g.appendTo||"body"),"auto"!==g.width&&c.css("width",g.width),c.on("mouseover.autocomplete",e,function(){d.activate(a(this).data("index"))}),c.on("mouseout.autocomplete",function(){d.selectedIndex=-1,c.children("."+f).removeClass(f)}),c.on("click.autocomplete",e,function(){d.select(a(this).data("index"))}),c.on("click.autocomplete",function(){clearTimeout(d.blurTimeoutId)}),d.fixPositionCapture=function(){d.visible&&d.fixPosition()},a(window).on("resize.autocomplete",d.fixPositionCapture),d.el.on("keydown.autocomplete",function(a){d.onKeyPress(a)}),d.el.on("keyup.autocomplete",function(a){d.onKeyUp(a)}),d.el.on("blur.autocomplete",function(){d.onBlur()}),d.el.on("focus.autocomplete",function(){d.onFocus()}),d.el.on("change.autocomplete",function(a){d.onKeyUp(a)}),d.el.on("input.autocomplete",function(a){d.onKeyUp(a)})},onFocus:function(){var a=this;a.disabled||(a.fixPosition(),a.el.val().length>=a.options.minChars&&a.onValueChange())},onBlur:function(){var b=this,c=b.options,d=b.el.val(),e=b.getQuery(d);b.blurTimeoutId=setTimeout(function(){b.hide(),b.selection&&b.currentValue!==e&&(c.onInvalidateSelection||a.noop).call(b.element)},200)},abortAjax:function(){var a=this;a.currentRequest&&(a.currentRequest.abort(),a.currentRequest=null)},setOptions:function(b){var c=this,d=a.extend({},c.options,b);c.isLocal=Array.isArray(d.lookup),c.isLocal&&(d.lookup=c.verifySuggestionsFormat(d.lookup)),d.orientation=c.validateOrientation(d.orientation,"bottom"),a(c.suggestionsContainer).css({"max-height":d.maxHeight+"px",width:d.width+"px","z-index":d.zIndex}),this.options=d},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var a=this;a.disabled=!0,clearTimeout(a.onChangeTimeout),a.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var b=this,c=a(b.suggestionsContainer),d=c.parent().get(0);if(d===document.body||b.options.forceFixPosition){var e=b.options.orientation,f=c.outerHeight(),g=b.el.outerHeight(),h=b.el.offset(),i={top:h.top,left:h.left};if("auto"===e){var j=a(window).height(),k=a(window).scrollTop(),l=-k+h.top-f,m=k+j-(h.top+g+f);e=Math.max(l,m)===l?"top":"bottom"}if("top"===e?i.top+=-f:i.top+=g,d!==document.body){var n,o=c.css("opacity");b.visible||c.css("opacity",0).show(),n=c.offsetParent().offset(),i.top-=n.top,i.top+=d.scrollTop,i.left-=n.left,b.visible||c.css("opacity",o).hide()}"auto"===b.options.width&&(i.width=b.el.outerWidth()+"px"),c.css(i)}},isCursorAtEnd:function(){var a,b=this,c=b.el.val().length,d=b.element.selectionStart;return"number"==typeof d?d===c:!document.selection||(a=document.selection.createRange(),a.moveStart("character",-c),c===a.text.length)},onKeyPress:function(a){var b=this;if(!b.disabled&&!b.visible&&a.which===h.DOWN&&b.currentValue)return void b.suggest();if(!b.disabled&&b.visible){switch(a.which){case h.ESC:b.el.val(b.currentValue),b.hide();break;case h.RIGHT:if(b.hint&&b.options.onHint&&b.isCursorAtEnd()){b.selectHint();break}return;case h.TAB:if(b.hint&&b.options.onHint)return void b.selectHint();if(b.selectedIndex===-1)return void b.hide();if(b.select(b.selectedIndex),b.options.tabDisabled===!1)return;break;case h.RETURN:if(b.selectedIndex===-1)return void b.hide();b.select(b.selectedIndex);break;case h.UP:b.moveUp();break;case h.DOWN:b.moveDown();break;default:return}a.stopImmediatePropagation(),a.preventDefault()}},onKeyUp:function(a){var b=this;if(!b.disabled){switch(a.which){case h.UP:case h.DOWN:return}clearTimeout(b.onChangeTimeout),b.currentValue!==b.el.val()&&(b.findBestHint(),b.options.deferRequestBy>0?b.onChangeTimeout=setTimeout(function(){b.onValueChange()},b.options.deferRequestBy):b.onValueChange())}},onValueChange:function(){if(this.ignoreValueChange)return void(this.ignoreValueChange=!1);var b=this,c=b.options,d=b.el.val(),e=b.getQuery(d);return b.selection&&b.currentValue!==e&&(b.selection=null,(c.onInvalidateSelection||a.noop).call(b.element)),clearTimeout(b.onChangeTimeout),b.currentValue=d,b.selectedIndex=-1,c.triggerSelectOnValidInput&&b.isExactMatch(e)?void b.select(0):void(e.length<c.minChars?b.hide():b.getSuggestions(e))},isExactMatch:function(a){var b=this.suggestions;return 1===b.length&&b[0].value.toLowerCase()===a.toLowerCase()},getQuery:function(b){var c,d=this.options.delimiter;return d?(c=b.split(d),a.trim(c[c.length-1])):b},getSuggestionsLocal:function(b){var c,d=this,e=d.options,f=b.toLowerCase(),g=e.lookupFilter,h=parseInt(e.lookupLimit,10);return c={suggestions:a.grep(e.lookup,function(a){return g(a,b,f)})},h&&c.suggestions.length>h&&(c.suggestions=c.suggestions.slice(0,h)),c},getSuggestions:function(b){var c,d,e,f,g=this,h=g.options,i=h.serviceUrl;if(h.params[h.paramName]=b,h.onSearchStart.call(g.element,h.params)!==!1){if(d=h.ignoreParams?null:h.params,a.isFunction(h.lookup))return void h.lookup(b,function(a){g.suggestions=a.suggestions,g.suggest(),h.onSearchComplete.call(g.element,b,a.suggestions)});g.isLocal?c=g.getSuggestionsLocal(b):(a.isFunction(i)&&(i=i.call(g.element,b)),e=i+"?"+a.param(d||{}),c=g.cachedResponse[e]),c&&Array.isArray(c.suggestions)?(g.suggestions=c.suggestions,g.suggest(),h.onSearchComplete.call(g.element,b,c.suggestions)):g.isBadQuery(b)?h.onSearchComplete.call(g.element,b,[]):(g.abortAjax(),f={url:i,data:d,type:h.type,dataType:h.dataType},a.extend(f,h.ajaxSettings),g.currentRequest=a.ajax(f).done(function(a){var c;g.currentRequest=null,c=h.transformResult(a,b),g.processResponse(c,b,e),h.onSearchComplete.call(g.element,b,c.suggestions)}).fail(function(a,c,d){h.onSearchError.call(g.element,b,a,c,d)}))}},isBadQuery:function(a){if(!this.options.preventBadQueries)return!1;for(var b=this.badQueries,c=b.length;c--;)if(0===a.indexOf(b[c]))return!0;return!1},hide:function(){var b=this,c=a(b.suggestionsContainer);a.isFunction(b.options.onHide)&&b.visible&&b.options.onHide.call(b.element,c),b.visible=!1,b.selectedIndex=-1,clearTimeout(b.onChangeTimeout),a(b.suggestionsContainer).hide(),b.signalHint(null)},suggest:function(){if(!this.suggestions.length)return void(this.options.showNoSuggestionNotice?this.noSuggestions():this.hide());var b,c=this,d=c.options,e=d.groupBy,f=d.formatResult,g=c.getQuery(c.currentValue),h=c.classes.suggestion,i=c.classes.selected,j=a(c.suggestionsContainer),k=a(c.noSuggestionsContainer),l=d.beforeRender,m="",n=function(a,c){var f=a.data[e];return b===f?"":(b=f,d.formatGroup(a,b))};return d.triggerSelectOnValidInput&&c.isExactMatch(g)?void c.select(0):(a.each(c.suggestions,function(a,b){e&&(m+=n(b,g,a)),m+='<div class="'+h+'" data-index="'+a+'">'+f(b,g,a)+"</div>"}),this.adjustContainerWidth(),k.detach(),j.html(m),a.isFunction(l)&&l.call(c.element,j,c.suggestions),c.fixPosition(),j.show(),d.autoSelectFirst&&(c.selectedIndex=0,j.scrollTop(0),j.children("."+h).first().addClass(i)),c.visible=!0,void c.findBestHint())},noSuggestions:function(){var b=this,c=b.options.beforeRender,d=a(b.suggestionsContainer),e=a(b.noSuggestionsContainer);this.adjustContainerWidth(),e.detach(),d.empty(),d.append(e),a.isFunction(c)&&c.call(b.element,d,b.suggestions),b.fixPosition(),d.show(),b.visible=!0},adjustContainerWidth:function(){var b,c=this,d=c.options,e=a(c.suggestionsContainer);"auto"===d.width?(b=c.el.outerWidth(),e.css("width",b>0?b:300)):"flex"===d.width&&e.css("width","")},findBestHint:function(){var b=this,c=b.el.val().toLowerCase(),d=null;c&&(a.each(b.suggestions,function(a,b){var e=0===b.value.toLowerCase().indexOf(c);return e&&(d=b),!e}),b.signalHint(d))},signalHint:function(b){var c="",d=this;b&&(c=d.currentValue+b.value.substr(d.currentValue.length)),d.hintValue!==c&&(d.hintValue=c,d.hint=b,(this.options.onHint||a.noop)(c))},verifySuggestionsFormat:function(b){return b.length&&"string"==typeof b[0]?a.map(b,function(a){return{value:a,data:null}}):b},validateOrientation:function(b,c){return b=a.trim(b||"").toLowerCase(),a.inArray(b,["auto","bottom","top"])===-1&&(b=c),b},processResponse:function(a,b,c){var d=this,e=d.options;a.suggestions=d.verifySuggestionsFormat(a.suggestions),e.noCache||(d.cachedResponse[c]=a,e.preventBadQueries&&!a.suggestions.length&&d.badQueries.push(b)),b===d.getQuery(d.currentValue)&&(d.suggestions=a.suggestions,d.suggest())},activate:function(b){var c,d=this,e=d.classes.selected,f=a(d.suggestionsContainer),g=f.find("."+d.classes.suggestion);return f.find("."+e).removeClass(e),d.selectedIndex=b,d.selectedIndex!==-1&&g.length>d.selectedIndex?(c=g.get(d.selectedIndex),a(c).addClass(e),c):null},selectHint:function(){var b=this,c=a.inArray(b.hint,b.suggestions);b.select(c)},select:function(a){var b=this;b.hide(),b.onSelect(a)},moveUp:function(){var b=this;if(b.selectedIndex!==-1)return 0===b.selectedIndex?(a(b.suggestionsContainer).children("."+b.classes.suggestion).first().removeClass(b.classes.selected),b.selectedIndex=-1,b.ignoreValueChange=!1,b.el.val(b.currentValue),void b.findBestHint()):void b.adjustScroll(b.selectedIndex-1)},moveDown:function(){var a=this;a.selectedIndex!==a.suggestions.length-1&&a.adjustScroll(a.selectedIndex+1)},adjustScroll:function(b){var c=this,d=c.activate(b);if(d){var e,f,g,h=a(d).outerHeight();e=d.offsetTop,f=a(c.suggestionsContainer).scrollTop(),g=f+c.options.maxHeight-h,e<f?a(c.suggestionsContainer).scrollTop(e):e>g&&a(c.suggestionsContainer).scrollTop(e-c.options.maxHeight+h),c.options.preserveInput||(c.ignoreValueChange=!0,c.el.val(c.getValue(c.suggestions[b].value))),c.signalHint(null)}},onSelect:function(b){var c=this,d=c.options.onSelect,e=c.suggestions[b];c.currentValue=c.getValue(e.value),c.currentValue===c.el.val()||c.options.preserveInput||c.el.val(c.currentValue),c.signalHint(null),c.suggestions=[],c.selection=e,a.isFunction(d)&&d.call(c.element,e)},getValue:function(a){var b,c,d=this,e=d.options.delimiter;return e?(b=d.currentValue,c=b.split(e),1===c.length?a:b.substr(0,b.length-c[c.length-1].length)+a):a},dispose:function(){var b=this;b.el.off(".autocomplete").removeData("autocomplete"),a(window).off("resize.autocomplete",b.fixPositionCapture),a(b.suggestionsContainer).remove()}},a.fn.devbridgeAutocomplete=function(c,d){var e="autocomplete";return arguments.length?this.each(function(){var f=a(this),g=f.data(e);"string"==typeof c?g&&"function"==typeof g[c]&&g[c](d):(g&&g.dispose&&g.dispose(),g=new b(this,c),f.data(e,g))}):this.first().data(e)},a.fn.wfactory_clearfy_autocomplete||(a.fn.wfactory_clearfy_autocomplete=a.fn.devbridgeAutocomplete)});
|
libs/factory/clearfy/boot.php
CHANGED
@@ -14,22 +14,22 @@ if( !defined('ABSPATH') ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
if( defined('
|
18 |
return;
|
19 |
}
|
20 |
|
21 |
-
define('
|
22 |
|
23 |
-
define('
|
24 |
|
25 |
-
define('
|
26 |
-
define('
|
27 |
|
28 |
-
load_plugin_textdomain('
|
29 |
|
30 |
-
require(
|
31 |
-
require(
|
32 |
-
require(
|
33 |
|
34 |
// module provides function only for the admin area
|
35 |
if( is_admin() ) {
|
@@ -38,13 +38,13 @@ if( is_admin() ) {
|
|
38 |
* на все страницы админпанели.
|
39 |
*/
|
40 |
add_action('admin_enqueue_scripts', function ($hook) {
|
41 |
-
wp_enqueue_script('wbcr-factory-clearfy-
|
42 |
'jquery',
|
43 |
-
'wfactory-
|
44 |
-
],
|
45 |
|
46 |
-
require_once
|
47 |
-
$all_options = \WBCR\
|
48 |
|
49 |
if( empty($all_options) ) {
|
50 |
return;
|
@@ -72,18 +72,18 @@ if( is_admin() ) {
|
|
72 |
return;
|
73 |
}
|
74 |
|
75 |
-
wp_localize_script('wbcr-factory-clearfy-
|
76 |
});
|
77 |
|
78 |
-
if( defined('
|
79 |
-
require(
|
80 |
-
require(
|
81 |
-
require(
|
82 |
-
require(
|
83 |
|
84 |
-
require(
|
85 |
-
require(
|
86 |
-
require(
|
87 |
-
require(
|
88 |
}
|
89 |
}
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
if( defined('FACTORY_CLEARFY_235_LOADED') ) {
|
18 |
return;
|
19 |
}
|
20 |
|
21 |
+
define('FACTORY_CLEARFY_235_LOADED', true);
|
22 |
|
23 |
+
define('FACTORY_CLEARFY_235', '2.3.5');
|
24 |
|
25 |
+
define('FACTORY_CLEARFY_235_DIR', dirname(__FILE__));
|
26 |
+
define('FACTORY_CLEARFY_235_URL', plugins_url(null, __FILE__));
|
27 |
|
28 |
+
load_plugin_textdomain('wbcr_factory_clearfy_235', false, dirname(plugin_basename(__FILE__)) . '/langs');
|
29 |
|
30 |
+
require(FACTORY_CLEARFY_235_DIR . '/includes/ajax-handlers.php');
|
31 |
+
require(FACTORY_CLEARFY_235_DIR . '/includes/class-helpers.php');
|
32 |
+
require(FACTORY_CLEARFY_235_DIR . '/includes/class-configurate.php');
|
33 |
|
34 |
// module provides function only for the admin area
|
35 |
if( is_admin() ) {
|
38 |
* на все страницы админпанели.
|
39 |
*/
|
40 |
add_action('admin_enqueue_scripts', function ($hook) {
|
41 |
+
wp_enqueue_script('wbcr-factory-clearfy-235-global', FACTORY_CLEARFY_235_URL . '/assets/js/clearfy-globals.js', [
|
42 |
'jquery',
|
43 |
+
'wfactory-444-core-general'
|
44 |
+
], FACTORY_CLEARFY_235);
|
45 |
|
46 |
+
require_once FACTORY_CLEARFY_235_DIR . '/includes/class-search-options.php';
|
47 |
+
$all_options = \WBCR\Factory_Clearfy_235\Search_Options::get_all_options();
|
48 |
|
49 |
if( empty($all_options) ) {
|
50 |
return;
|
72 |
return;
|
73 |
}
|
74 |
|
75 |
+
wp_localize_script('wbcr-factory-clearfy-235-global', 'wfactory_clearfy_search_options', $formated_options);
|
76 |
});
|
77 |
|
78 |
+
if( defined('FACTORY_PAGES_443_LOADED') ) {
|
79 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/class-pages.php');
|
80 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/class-page-more-features.php');
|
81 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/class-page-license.php');
|
82 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/class-pages-components.php');
|
83 |
|
84 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/setup-parts/class-step.php');
|
85 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/setup-parts/class-step-form.php');
|
86 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/setup-parts/class-step-custom.php');
|
87 |
+
require(FACTORY_CLEARFY_235_DIR . '/pages/class-page-setup.php');
|
88 |
}
|
89 |
}
|
libs/factory/clearfy/includes/ajax-handlers.php
CHANGED
@@ -15,12 +15,12 @@ if( !defined('ABSPATH') ) {
|
|
15 |
/**
|
16 |
* Обработчик ajax запросов для виджета подписки на новости
|
17 |
*
|
18 |
-
* @param
|
19 |
*
|
20 |
* @since 2.3.0
|
21 |
*
|
22 |
*/
|
23 |
-
function
|
24 |
{
|
25 |
$plugin_name = $plugin_instance->request->post('plugin_name', null, true);
|
26 |
|
@@ -34,11 +34,11 @@ function wbcr_factory_clearfy_233_subscribe($plugin_instance)
|
|
34 |
check_admin_referer("clearfy_subscribe_for_{$plugin_name}");
|
35 |
|
36 |
if( empty($email) || !filter_var($email, FILTER_VALIDATE_EMAIL) ) {
|
37 |
-
wp_send_json_error(['error_message' => __('You did not send your email address or it is incorrect!', '
|
38 |
}
|
39 |
|
40 |
if( empty($group_id) ) {
|
41 |
-
wp_send_json_error(['error_message' => __('Group ID is empty!', '
|
42 |
}
|
43 |
|
44 |
$response = wp_remote_post('https://clearfy.pro/wp-json/mailerlite/v1/subscribe/', [
|
@@ -63,7 +63,7 @@ function wbcr_factory_clearfy_233_subscribe($plugin_instance)
|
|
63 |
wp_send_json_success(['subscribed' => $data['subscribed']]);
|
64 |
}
|
65 |
|
66 |
-
wp_send_json_error(['error_message' => __('Unknown error while trying to subscribe to newsletter.', '
|
67 |
|
68 |
die();
|
69 |
}
|
@@ -71,12 +71,12 @@ function wbcr_factory_clearfy_233_subscribe($plugin_instance)
|
|
71 |
/**
|
72 |
* Обработчик ajax запросов для проверки, активации, деактивации лицензионного ключа
|
73 |
*
|
74 |
-
* @param
|
75 |
*
|
76 |
* @since 2.0.7
|
77 |
*
|
78 |
*/
|
79 |
-
function
|
80 |
{
|
81 |
|
82 |
$plugin_name = $plugin_instance->request->post('plugin_name', null, true);
|
@@ -91,7 +91,7 @@ function wbcr_factory_clearfy_233_check_license($plugin_instance)
|
|
91 |
check_admin_referer("clearfy_activate_license_for_{$plugin_name}");
|
92 |
|
93 |
if( empty($action) || !in_array($action, ['activate', 'deactivate', 'sync', 'unsubscribe']) ) {
|
94 |
-
wp_send_json_error(['error_message' => __('Licensing action not passed or this action is prohibited!', '
|
95 |
die();
|
96 |
}
|
97 |
|
@@ -102,23 +102,23 @@ function wbcr_factory_clearfy_233_check_license($plugin_instance)
|
|
102 |
switch( $action ) {
|
103 |
case 'activate':
|
104 |
if( empty($license_key) || strlen($license_key) > 32 ) {
|
105 |
-
wp_send_json_error(['error_message' => __('License key is empty or license key too long (license key is 32 characters long)', '
|
106 |
} else {
|
107 |
$plugin_instance->premium->activate($license_key);
|
108 |
-
$success_message = __('Your license has been successfully activated', '
|
109 |
}
|
110 |
break;
|
111 |
case 'deactivate':
|
112 |
$plugin_instance->premium->deactivate();
|
113 |
-
$success_message = __('The license is deactivated', '
|
114 |
break;
|
115 |
case 'sync':
|
116 |
$plugin_instance->premium->sync();
|
117 |
-
$success_message = __('The license has been updated', '
|
118 |
break;
|
119 |
case 'unsubscribe':
|
120 |
$plugin_instance->premium->cancel_paid_subscription();
|
121 |
-
$success_message = __('Subscription success cancelled', '
|
122 |
break;
|
123 |
}
|
124 |
} catch( Exception $e ) {
|
15 |
/**
|
16 |
* Обработчик ajax запросов для виджета подписки на новости
|
17 |
*
|
18 |
+
* @param Wbcr_Factory444_Plugin $plugin_instance
|
19 |
*
|
20 |
* @since 2.3.0
|
21 |
*
|
22 |
*/
|
23 |
+
function wbcr_factory_clearfy_235_subscribe($plugin_instance)
|
24 |
{
|
25 |
$plugin_name = $plugin_instance->request->post('plugin_name', null, true);
|
26 |
|
34 |
check_admin_referer("clearfy_subscribe_for_{$plugin_name}");
|
35 |
|
36 |
if( empty($email) || !filter_var($email, FILTER_VALIDATE_EMAIL) ) {
|
37 |
+
wp_send_json_error(['error_message' => __('You did not send your email address or it is incorrect!', 'wbcr_factory_clearfy_235')]);
|
38 |
}
|
39 |
|
40 |
if( empty($group_id) ) {
|
41 |
+
wp_send_json_error(['error_message' => __('Group ID is empty!', 'wbcr_factory_clearfy_235')]);
|
42 |
}
|
43 |
|
44 |
$response = wp_remote_post('https://clearfy.pro/wp-json/mailerlite/v1/subscribe/', [
|
63 |
wp_send_json_success(['subscribed' => $data['subscribed']]);
|
64 |
}
|
65 |
|
66 |
+
wp_send_json_error(['error_message' => __('Unknown error while trying to subscribe to newsletter.', 'wbcr_factory_clearfy_235')]);
|
67 |
|
68 |
die();
|
69 |
}
|
71 |
/**
|
72 |
* Обработчик ajax запросов для проверки, активации, деактивации лицензионного ключа
|
73 |
*
|
74 |
+
* @param Wbcr_Factory444_Plugin $plugin_instance
|
75 |
*
|
76 |
* @since 2.0.7
|
77 |
*
|
78 |
*/
|
79 |
+
function wbcr_factory_clearfy_235_check_license($plugin_instance)
|
80 |
{
|
81 |
|
82 |
$plugin_name = $plugin_instance->request->post('plugin_name', null, true);
|
91 |
check_admin_referer("clearfy_activate_license_for_{$plugin_name}");
|
92 |
|
93 |
if( empty($action) || !in_array($action, ['activate', 'deactivate', 'sync', 'unsubscribe']) ) {
|
94 |
+
wp_send_json_error(['error_message' => __('Licensing action not passed or this action is prohibited!', 'wbcr_factory_clearfy_235')]);
|
95 |
die();
|
96 |
}
|
97 |
|
102 |
switch( $action ) {
|
103 |
case 'activate':
|
104 |
if( empty($license_key) || strlen($license_key) > 32 ) {
|
105 |
+
wp_send_json_error(['error_message' => __('License key is empty or license key too long (license key is 32 characters long)', 'wbcr_factory_clearfy_235')]);
|
106 |
} else {
|
107 |
$plugin_instance->premium->activate($license_key);
|
108 |
+
$success_message = __('Your license has been successfully activated', 'wbcr_factory_clearfy_235');
|
109 |
}
|
110 |
break;
|
111 |
case 'deactivate':
|
112 |
$plugin_instance->premium->deactivate();
|
113 |
+
$success_message = __('The license is deactivated', 'wbcr_factory_clearfy_235');
|
114 |
break;
|
115 |
case 'sync':
|
116 |
$plugin_instance->premium->sync();
|
117 |
+
$success_message = __('The license has been updated', 'wbcr_factory_clearfy_235');
|
118 |
break;
|
119 |
case 'unsubscribe':
|
120 |
$plugin_instance->premium->cancel_paid_subscription();
|
121 |
+
$success_message = __('Subscription success cancelled', 'wbcr_factory_clearfy_235');
|
122 |
break;
|
123 |
}
|
124 |
} catch( Exception $e ) {
|
libs/factory/clearfy/includes/class-configurate.php
CHANGED
@@ -13,12 +13,12 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
* @copyright (c) 2018, Webcraftic Ltd
|
14 |
*
|
15 |
*/
|
16 |
-
abstract class
|
17 |
|
18 |
/**
|
19 |
-
* @param
|
20 |
*/
|
21 |
-
public function __construct(
|
22 |
$this->plugin = $plugin;
|
23 |
$this->registerActionsAndFilters();
|
24 |
}
|
13 |
* @copyright (c) 2018, Webcraftic Ltd
|
14 |
*
|
15 |
*/
|
16 |
+
abstract class Wbcr_FactoryClearfy235_Configurate {
|
17 |
|
18 |
/**
|
19 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
20 |
*/
|
21 |
+
public function __construct( Wbcr_Factory444_Plugin $plugin ) {
|
22 |
$this->plugin = $plugin;
|
23 |
$this->registerActionsAndFilters();
|
24 |
}
|
libs/factory/clearfy/includes/class-helpers.php
CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @copyright (c) 2018, Webcraftic Ltd
|
15 |
*
|
16 |
*/
|
17 |
-
class
|
18 |
|
19 |
/**
|
20 |
* Recursive sanitation for an array
|
14 |
* @copyright (c) 2018, Webcraftic Ltd
|
15 |
*
|
16 |
*/
|
17 |
+
class WbcrFactoryClearfy235_Helpers {
|
18 |
|
19 |
/**
|
20 |
* Recursive sanitation for an array
|
libs/factory/clearfy/includes/class-search-options.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
/**
|
6 |
* Class Search options
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_Clearfy_235;
|
4 |
|
5 |
/**
|
6 |
* Class Search options
|
libs/factory/clearfy/langs/wbcr_factory_clearfy_235-ru_RU.mo
ADDED
Binary file
|
libs/factory/clearfy/langs/wbcr_factory_clearfy_235-ru_RU.po
ADDED
@@ -0,0 +1,307 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: clearfy\n"
|
4 |
+
"POT-Creation-Date: 2018-10-16 22:37+0300\n"
|
5 |
+
"PO-Revision-Date: 2018-10-16 22:41+0300\n"
|
6 |
+
"Last-Translator: alex.kovalevv@gmail.com <alex.kovalevv@gmail.com>\n"
|
7 |
+
"Language-Team: Alex Kovalev <alex.kovalevv@gmail.com>\n"
|
8 |
+
"Language: ru_RU\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.1.1\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
15 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
|
20 |
+
#: includes/check-clearfy-compatibility.php:265
|
21 |
+
msgid "Clearfy warning"
|
22 |
+
msgstr "Clearfy предупреждение"
|
23 |
+
|
24 |
+
#: includes/check-clearfy-compatibility.php:266
|
25 |
+
#, php-format
|
26 |
+
msgid "The %s component"
|
27 |
+
msgstr "Работа компонента %s"
|
28 |
+
|
29 |
+
#: includes/check-clearfy-compatibility.php:268
|
30 |
+
msgid "warning"
|
31 |
+
msgstr "предупреждение"
|
32 |
+
|
33 |
+
#: includes/check-clearfy-compatibility.php:269
|
34 |
+
#, php-format
|
35 |
+
msgid "The %s plugin"
|
36 |
+
msgstr "Работа плагина %s"
|
37 |
+
|
38 |
+
#: includes/check-clearfy-compatibility.php:272
|
39 |
+
msgid "has stopped."
|
40 |
+
msgstr "была остановлена."
|
41 |
+
|
42 |
+
#: includes/check-clearfy-compatibility.php:273
|
43 |
+
msgid "Possible reasons:"
|
44 |
+
msgstr "Возможные причины:"
|
45 |
+
|
46 |
+
#: includes/check-clearfy-compatibility.php:279
|
47 |
+
#, php-format
|
48 |
+
msgid "You need to update the PHP version to %s or higher!"
|
49 |
+
msgstr "Вам нужно обновить версию PHP до %s или выше!"
|
50 |
+
|
51 |
+
#: includes/check-clearfy-compatibility.php:284
|
52 |
+
#, php-format
|
53 |
+
msgid "You need to update WordPress to %s or higher!"
|
54 |
+
msgstr "Вам нужно обновить WordPress до %s или выше!"
|
55 |
+
|
56 |
+
#: includes/check-clearfy-compatibility.php:289
|
57 |
+
#, php-format
|
58 |
+
msgid "You need to update the Clearfy plugin version to %s or higher!"
|
59 |
+
msgstr "Вам нужно обновить версию плагина Clearfy до %s или выше!"
|
60 |
+
|
61 |
+
#: includes/check-clearfy-compatibility.php:294
|
62 |
+
msgid "This plugin is already activated, you are trying to activate it again."
|
63 |
+
msgstr "Этот плагин уже активирован, вы пытаетесь активировать его снова."
|
64 |
+
|
65 |
+
#: includes/check-clearfy-compatibility.php:299
|
66 |
+
#, php-format
|
67 |
+
msgid ""
|
68 |
+
"Clearfy has the features of the %s plugin. Please, deactivate %s to avoid "
|
69 |
+
"conflicts of plugins!"
|
70 |
+
msgstr ""
|
71 |
+
"Плагин Clearfy уже включает в себя функции плагина %s. Пожалуйста, "
|
72 |
+
"деактивируйте плагин %s, чтобы не создавать конфликтов!"
|
73 |
+
|
74 |
+
#: pages/class.pages.php:212
|
75 |
+
msgid "Upgrade to Clearfy Business"
|
76 |
+
msgstr "Перейти на Clearfy Бизнес"
|
77 |
+
|
78 |
+
#: pages/class.pages.php:213
|
79 |
+
msgid "Oops... Sorry for the inconvenience caused!"
|
80 |
+
msgstr "Упс... Мы приносим свои извинения за неудобства!"
|
81 |
+
|
82 |
+
#: pages/class.pages.php:214
|
83 |
+
msgid ""
|
84 |
+
"Complete multisite support is available in Clearfy Business and Clearfy "
|
85 |
+
"Business Revolution packages only!"
|
86 |
+
msgstr ""
|
87 |
+
"Полная поддержка мультисайтов доступна только в пакете Clearfy Бизнес и "
|
88 |
+
"Clearfy Бизнес Революция!"
|
89 |
+
|
90 |
+
#: pages/class.pages.php:215
|
91 |
+
msgid ""
|
92 |
+
"You can activate the plugin on each website and use it with zero "
|
93 |
+
"limitations. But you can’t save the plugin’s settings under the Super "
|
94 |
+
"Administrator role!"
|
95 |
+
msgstr ""
|
96 |
+
"Вы можете активировать плагин отдельно для каждого сайта и использовать его "
|
97 |
+
"без ограничений, но в режиме суперадминистратора, вы не можете сохранять "
|
98 |
+
"настройки плагина!"
|
99 |
+
|
100 |
+
#: pages/class.pages.php:217
|
101 |
+
msgid "Activate license "
|
102 |
+
msgstr "Активировать лицензию "
|
103 |
+
|
104 |
+
#: pages/class.pages.php:218
|
105 |
+
#, php-format
|
106 |
+
msgid "Upgrade to Clearfy Business for $%d"
|
107 |
+
msgstr "Обновить до Clearfy Бизнес за $%d"
|
108 |
+
|
109 |
+
#: pages/class.pages.php:273
|
110 |
+
msgid "MORE IN CLEARFY <span>BUSINESS</span>"
|
111 |
+
msgstr "ЛУЧШЕЕ В CLEARFY <span>БИЗНЕС</span>"
|
112 |
+
|
113 |
+
#: pages/class.pages.php:275
|
114 |
+
msgid "4 premium components now;"
|
115 |
+
msgstr "4 премиум компонента сейчас;"
|
116 |
+
|
117 |
+
#: pages/class.pages.php:276
|
118 |
+
msgid "40 new premium components within a year for the single price;"
|
119 |
+
msgstr "40 новых премиум компонентов в год по одной цене;"
|
120 |
+
|
121 |
+
#: pages/class.pages.php:277
|
122 |
+
msgid "Multisite support;"
|
123 |
+
msgstr "Поддержка мультисайтов;"
|
124 |
+
|
125 |
+
#: pages/class.pages.php:278
|
126 |
+
msgid "Advanced settings;"
|
127 |
+
msgstr "Дополнительные настройки;"
|
128 |
+
|
129 |
+
#: pages/class.pages.php:279
|
130 |
+
msgid "No ads;"
|
131 |
+
msgstr "Нет рекламы;"
|
132 |
+
|
133 |
+
#: pages/class.pages.php:280
|
134 |
+
msgid "Perfect support."
|
135 |
+
msgstr "Лучшая поддержка."
|
136 |
+
|
137 |
+
#: pages/class.pages.php:283
|
138 |
+
#, php-format
|
139 |
+
msgid "Upgrade for $%s"
|
140 |
+
msgstr "Обновиться за $%s"
|
141 |
+
|
142 |
+
#: pages/class.pages.php:299
|
143 |
+
msgid ""
|
144 |
+
"A neutral setting that can not harm your site, but you must be sure that you "
|
145 |
+
"need to use it."
|
146 |
+
msgstr ""
|
147 |
+
"Нейтральная настройка, которая не может нанести вред вашему сайту, но вы "
|
148 |
+
"должны быть уверены, что вам нужно ее использовать."
|
149 |
+
|
150 |
+
#: pages/class.pages.php:305
|
151 |
+
msgid ""
|
152 |
+
"When set this option, you must be careful. Plugins and themes may depend on "
|
153 |
+
"this function. You must be sure that you can disable this feature for the "
|
154 |
+
"site."
|
155 |
+
msgstr ""
|
156 |
+
"При включении этой настройки, вы должны быть осторожны. Некоторые плагины и "
|
157 |
+
"темы могут зависеть от этой функции. Вы должны быть уверены, что эту функцию "
|
158 |
+
"можно отключить для сайта."
|
159 |
+
|
160 |
+
#: pages/class.pages.php:311
|
161 |
+
msgid "Absolutely safe setting, We recommend to use."
|
162 |
+
msgstr "Абсолютно безопасная настройка, рекомендуем использовать."
|
163 |
+
|
164 |
+
#: pages/class.pages.php:316
|
165 |
+
msgid "Hover to the icon to get help for the feature you selected."
|
166 |
+
msgstr ""
|
167 |
+
"Наведите указатель мыши на значок, чтобы получить справку по выбранной "
|
168 |
+
"функции."
|
169 |
+
|
170 |
+
#: pages/class.pages.php:334
|
171 |
+
msgid "Do you want the plugin to improved and update?"
|
172 |
+
msgstr "Вы хотите, чтобы плагин улучшался и обновлялся?"
|
173 |
+
|
174 |
+
#: pages/class.pages.php:337
|
175 |
+
msgid ""
|
176 |
+
"Help the author, leave a review on wordpress.org. Thanks to feedback, I will "
|
177 |
+
"know that the plugin is really useful to you and is needed."
|
178 |
+
msgstr ""
|
179 |
+
"Помогите автору, оставьте отзыв на wordpress.org. Благодаря отзывам, я буду "
|
180 |
+
"знать, что плагин действительно полезен для вас и необходим."
|
181 |
+
|
182 |
+
#: pages/class.pages.php:339
|
183 |
+
msgid "And also write your ideas on how to extend or improve the plugin."
|
184 |
+
msgstr "А также напишите свои идеи о том, как расширить или улучшить плагин."
|
185 |
+
|
186 |
+
#: pages/class.pages.php:344
|
187 |
+
msgid "Go rate us and push ideas"
|
188 |
+
msgstr "Оставить отзыв или поделиться идеей"
|
189 |
+
|
190 |
+
#: pages/class.pages.php:356
|
191 |
+
msgid "Donation for plugin development"
|
192 |
+
msgstr "Пожертвования на развитие плагина"
|
193 |
+
|
194 |
+
#: pages/more-features.php:31
|
195 |
+
msgid "More features (<b>free</b>)"
|
196 |
+
msgstr "Дополнительно"
|
197 |
+
|
198 |
+
#: pages/more-features.php:40
|
199 |
+
msgid "install the ultimate version of the plugin for free!"
|
200 |
+
msgstr "установите полную версию плагина бесплатно!"
|
201 |
+
|
202 |
+
#: pages/more-features.php:51
|
203 |
+
msgid "Code cleaning"
|
204 |
+
msgstr "Очищает код"
|
205 |
+
|
206 |
+
#: pages/more-features.php:53
|
207 |
+
msgid "Clears the source code of the page from unused code."
|
208 |
+
msgstr "Очищает исходный код страницы от неиспользуемого кода."
|
209 |
+
|
210 |
+
#: pages/more-features.php:60
|
211 |
+
msgid "Improve SEO"
|
212 |
+
msgstr "Улучшает SEO"
|
213 |
+
|
214 |
+
#: pages/more-features.php:62
|
215 |
+
msgid ""
|
216 |
+
"Removes duplicate pages, closes external links, changes the headers of the "
|
217 |
+
"server."
|
218 |
+
msgstr ""
|
219 |
+
"Удаляет дубликаты страниц, закрывает внешние ссылки, изменяет заголовки "
|
220 |
+
"сервера."
|
221 |
+
|
222 |
+
#: pages/more-features.php:69
|
223 |
+
msgid "Site protection"
|
224 |
+
msgstr "Защита сайта"
|
225 |
+
|
226 |
+
#: pages/more-features.php:71
|
227 |
+
msgid "Enables and disables features that improve the protection of your site."
|
228 |
+
msgstr "Включает и отключает функции, которые улучшают защиту вашего сайта."
|
229 |
+
|
230 |
+
#: pages/more-features.php:78
|
231 |
+
msgid "Disable comments"
|
232 |
+
msgstr "Отключает комментарии"
|
233 |
+
|
234 |
+
#: pages/more-features.php:80
|
235 |
+
msgid "Disables comments on the entire site or on specific pages."
|
236 |
+
msgstr "Отключает комментарии на всем сайте или у определенных страниц."
|
237 |
+
|
238 |
+
#: pages/more-features.php:87
|
239 |
+
msgid "Manage updates"
|
240 |
+
msgstr "Менеджер обновлений"
|
241 |
+
|
242 |
+
#: pages/more-features.php:89
|
243 |
+
msgid ""
|
244 |
+
"Enables or disables automatically updates for plugins, themes and core. It "
|
245 |
+
"is also possible\n"
|
246 |
+
"\t\t\t\t\t\t\tto disable all updates."
|
247 |
+
msgstr ""
|
248 |
+
"Включает или отключает автоматические обновление плагинов, тем и ядра. Также "
|
249 |
+
"возможно\n"
|
250 |
+
"отключение всех обновлений."
|
251 |
+
|
252 |
+
#: pages/more-features.php:97
|
253 |
+
msgid "Manage widgets"
|
254 |
+
msgstr "Управление виджетами"
|
255 |
+
|
256 |
+
#: pages/more-features.php:99
|
257 |
+
msgid "Allows you to remove unused widgets."
|
258 |
+
msgstr "Позволяет удалить неиспользуемые виджеты."
|
259 |
+
|
260 |
+
#: pages/more-features.php:106
|
261 |
+
msgid "Speed Optimization"
|
262 |
+
msgstr "Оптимизация производительности"
|
263 |
+
|
264 |
+
#: pages/more-features.php:108
|
265 |
+
msgid ""
|
266 |
+
"Increases performance by disabling unused functions and reducing the number "
|
267 |
+
"of requests."
|
268 |
+
msgstr ""
|
269 |
+
"Повышает производительность, отключая неиспользуемые функции и уменьшая "
|
270 |
+
"количество запросов."
|
271 |
+
|
272 |
+
#: pages/more-features.php:115
|
273 |
+
msgid "Site privacy"
|
274 |
+
msgstr "Конфиденциальность сайта"
|
275 |
+
|
276 |
+
#: pages/more-features.php:117
|
277 |
+
msgid ""
|
278 |
+
"Allows you to hide the version of the site and plugins. Allows you to hide "
|
279 |
+
"your\n"
|
280 |
+
"\t\t\t\t\t\t\tWordPress."
|
281 |
+
msgstr ""
|
282 |
+
"Позволяет скрыть версию сайта и плагинов. Позволяет скрыть ваш\n"
|
283 |
+
"WordPress."
|
284 |
+
|
285 |
+
#: pages/more-features.php:125
|
286 |
+
msgid "Easy setup"
|
287 |
+
msgstr "Простая настройка"
|
288 |
+
|
289 |
+
#: pages/more-features.php:127
|
290 |
+
msgid ""
|
291 |
+
"In quick mode, you can easily configure the plugin according to your needs."
|
292 |
+
msgstr ""
|
293 |
+
"В быстром режиме вы можете легко настроить плагин в соответствии с вашими "
|
294 |
+
"потребностями."
|
295 |
+
|
296 |
+
#: pages/more-features.php:142
|
297 |
+
msgid "Get the ultimate plugin 100% FREE"
|
298 |
+
msgstr "Получить полную версию бесплатно на 100%."
|
299 |
+
|
300 |
+
#~ msgid "component"
|
301 |
+
#~ msgstr "компонент"
|
302 |
+
|
303 |
+
#~ msgid "plugin"
|
304 |
+
#~ msgstr "плагин"
|
305 |
+
|
306 |
+
#~ msgid "Site ptotection"
|
307 |
+
#~ msgstr "Защищает ваш сайт"
|
libs/factory/clearfy/pages/class-page-license.php
CHANGED
@@ -11,7 +11,7 @@ if( !defined('ABSPATH') ) {
|
|
11 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
12 |
* @since 2.0.7
|
13 |
*/
|
14 |
-
class
|
15 |
|
16 |
/**
|
17 |
* {@inheritdoc}
|
@@ -80,7 +80,7 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
80 |
|
81 |
/**
|
82 |
* @since 2.0.7
|
83 |
-
* @var \WBCR\
|
84 |
*/
|
85 |
protected $premium;
|
86 |
|
@@ -98,7 +98,7 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
98 |
|
99 |
/**
|
100 |
* @since 2.0.7
|
101 |
-
* @var \WBCR\
|
102 |
*/
|
103 |
protected $premium_license;
|
104 |
|
@@ -107,9 +107,9 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
107 |
|
108 |
/**
|
109 |
* {@inheritdoc}
|
110 |
-
* @param
|
111 |
*/
|
112 |
-
public function __construct(
|
113 |
{
|
114 |
$this->plugin = $plugin;
|
115 |
|
@@ -136,8 +136,8 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
136 |
{
|
137 |
parent::assets($scripts, $styles);
|
138 |
|
139 |
-
$this->styles->add(
|
140 |
-
$this->scripts->add(
|
141 |
}
|
142 |
|
143 |
/**
|
@@ -147,7 +147,7 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
147 |
*/
|
148 |
public function ajax_handler()
|
149 |
{
|
150 |
-
|
151 |
}
|
152 |
|
153 |
/**
|
@@ -157,7 +157,7 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
157 |
{
|
158 |
?>
|
159 |
<div id="wcl-license-wrapper"
|
160 |
-
data-loader="<?php echo
|
161 |
data-plugin-name="<?php echo esc_attr($this->plugin_name); ?>"
|
162 |
data-nonce="<?php echo wp_create_nonce("clearfy_activate_license_for_{$this->plugin_name}") ?>">
|
163 |
<?php $this->show_license_form(); ?>
|
@@ -263,11 +263,11 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
263 |
if( $this->is_premium ):
|
264 |
?>
|
265 |
<p style="margin-top: 10px;">
|
266 |
-
<?php printf(__('<a href="%s" target="_blank" rel="noopener">Lean more</a> about the premium version and get the license key to activate it now!', '
|
267 |
</p>
|
268 |
<?php else: ?>
|
269 |
<p style="margin-top: 10px;">
|
270 |
-
<?php printf(__('Can’t find your key? Go to <a href="%s" target="_blank" rel="noopener">this page</a> and login using the e-mail address associated with your purchase.', '
|
271 |
</p>
|
272 |
<?php endif;
|
273 |
}
|
@@ -279,16 +279,16 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
279 |
{
|
280 |
?>
|
281 |
<div id="license-manager"
|
282 |
-
class="factory-bootstrap-
|
283 |
<div>
|
284 |
-
<h3><?php printf(__('Activate %s', '
|
285 |
<?php echo $this->get_plan_description() ?>
|
286 |
</div>
|
287 |
<br>
|
288 |
<?php if( is_wp_error($notice) ) : ?>
|
289 |
<div class="license-message <?= $this->get_license_type() ?>-license-message">
|
290 |
<div class="alert <?php echo esc_attr($notice->get_error_code()); ?>">
|
291 |
-
<h4 class="alert-heading"><?php _e($notice->get_error_message(), '
|
292 |
</div>
|
293 |
</div>
|
294 |
<?php endif; ?>
|
@@ -298,20 +298,20 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
298 |
<a href="<?php echo $this->plugin->get_support()->get_pricing_url(true, 'license_page'); ?>"
|
299 |
class="purchase-premium" target="_blank" rel="noopener">
|
300 |
<span class="btn btn-gold btn-inner-wrap">
|
301 |
-
<?php _e('Upgrade to Premium', '
|
302 |
</span>
|
303 |
</a>
|
304 |
-
<p><?php printf(__('Your current license for %1$s:', '
|
305 |
<?php endif; ?>
|
306 |
<div class="license-details-block <?= $this->get_license_type() ?>-details-block">
|
307 |
<?php if( $this->is_premium ): ?>
|
308 |
<a data-action="deactivate" href="#"
|
309 |
class="btn btn-default btn-small license-delete-button wcl-control-btn">
|
310 |
-
<?php _e('Delete Key', '
|
311 |
</a>
|
312 |
<a data-action="sync" href="#"
|
313 |
class="btn btn-default btn-small license-synchronization-button wcl-control-btn">
|
314 |
-
<?php _e('Synchronization', '
|
315 |
</a>
|
316 |
<?php endif; ?>
|
317 |
<h3>
|
@@ -330,19 +330,19 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
330 |
<?php endif; ?>
|
331 |
<div class="license-key-description">
|
332 |
<?php if( !$this->is_premium ): ?>
|
333 |
-
<p><?php _e('Public License is a GPLv3 compatible license allowing you to change and use this version of the plugin for free. Please keep in mind this license covers only free edition of the plugin. Premium versions are distributed with other type of a license.', '
|
334 |
<?php else: ?>
|
335 |
-
<p><?php _e('Сommercial license, only to the premium add-on to this free plugin. You cannot distribute or modify the premium add-on. But free plugin is a GPLv3 compatible license allowing you to change and use this version of the plugin for free.', '
|
336 |
<?php endif; ?>
|
337 |
<?php if( $this->is_premium && $this->premium_has_subscription ): ?>
|
338 |
<p class="activate-trial-hint">
|
339 |
-
<?php _e('You use a paid subscription for the plugin updates. In case you don’t want to receive paid updates, please, click <a data-action="unsubscribe" class="wcl-control-btn" href="#">cancel subscription</a>', '
|
340 |
</p>
|
341 |
<?php endif; ?>
|
342 |
|
343 |
<?php if( $this->get_license_type() == 'trial' ): ?>
|
344 |
<p class="activate-error-hint">
|
345 |
-
<?php printf(__('Your license has expired, please extend the license to get updates and support.', '
|
346 |
</p>
|
347 |
<?php endif; ?>
|
348 |
</div>
|
@@ -350,19 +350,19 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
350 |
<tr>
|
351 |
<!--<td class="license-param license-param-domain">
|
352 |
<span class="license-value"><?php echo esc_attr($_SERVER['SERVER_NAME']); ?></span>
|
353 |
-
<span class="license-value-name"><?php _e('domain', '
|
354 |
</td>-->
|
355 |
<td class="license-param license-param-days">
|
356 |
<span class="license-value"><?= $this->get_plan() ?></span>
|
357 |
-
<span class="license-value-name"><?php _e('plan', '
|
358 |
</td>
|
359 |
<?php if( $this->is_premium ) : ?>
|
360 |
<td class="license-param license-param-sites">
|
361 |
<span class="license-value">
|
362 |
<?php echo esc_attr($this->premium_license->get_count_active_sites()); ?>
|
363 |
-
<?php _e('of', '
|
364 |
<?php echo esc_attr($this->premium_license->get_sites_quota()); ?></span>
|
365 |
-
<span class="license-value-name"><?php _e('active sites', '
|
366 |
</td>
|
367 |
<?php endif; ?>
|
368 |
<td class="license-param license-param-version">
|
@@ -372,8 +372,8 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
372 |
<?php if( $this->is_premium ): ?>
|
373 |
<td class="license-param license-param-days">
|
374 |
<?php if( $this->get_license_type() == 'trial' ): ?>
|
375 |
-
<span class="license-value"><?php _e('EXPIRED!', '
|
376 |
-
<span class="license-value-name"><?php _e('please update the key', '
|
377 |
<?php else: ?>
|
378 |
<span class="license-value">
|
379 |
<?php
|
@@ -383,9 +383,9 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
383 |
echo $this->get_expiration_days();
|
384 |
}
|
385 |
?>
|
386 |
-
<small> <?php _e('day(s)', '
|
387 |
</span>
|
388 |
-
<span class="license-value-name"><?php _e('remained', '
|
389 |
<?php endif; ?>
|
390 |
</td>
|
391 |
<?php endif; ?>
|
@@ -396,14 +396,14 @@ class Wbcr_FactoryClearfy233_LicensePage extends Wbcr_FactoryClearfy233_PageBase
|
|
396 |
<div class="license-input">
|
397 |
<form action="" method="post">
|
398 |
<?php if($this->is_premium): ?>
|
399 |
-
<p><?php _e('Have a key to activate the premium version? Paste it here:', '
|
400 |
<?php else: ?>
|
401 |
-
<p><?php _e('Have a key to activate the plugin? Paste it here:', '
|
402 |
<p>
|
403 |
<?php endif; ?>
|
404 |
<button data-action="activate" class="btn btn-default wcl-control-btn" type="button"
|
405 |
id="license-submit">
|
406 |
-
<?php _e('Submit Key', '
|
407 |
</button>
|
408 |
<div class="license-key-wrap">
|
409 |
<input type="text" id="license-key" name="licensekey" value="" class="form-control"/>
|
11 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
12 |
* @since 2.0.7
|
13 |
*/
|
14 |
+
class Wbcr_FactoryClearfy235_LicensePage extends Wbcr_FactoryClearfy235_PageBase {
|
15 |
|
16 |
/**
|
17 |
* {@inheritdoc}
|
80 |
|
81 |
/**
|
82 |
* @since 2.0.7
|
83 |
+
* @var \WBCR\Factory_444\Premium\Provider
|
84 |
*/
|
85 |
protected $premium;
|
86 |
|
98 |
|
99 |
/**
|
100 |
* @since 2.0.7
|
101 |
+
* @var \WBCR\Factory_444\Premium\Interfaces\License
|
102 |
*/
|
103 |
protected $premium_license;
|
104 |
|
107 |
|
108 |
/**
|
109 |
* {@inheritdoc}
|
110 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
111 |
*/
|
112 |
+
public function __construct(Wbcr_Factory444_Plugin $plugin)
|
113 |
{
|
114 |
$this->plugin = $plugin;
|
115 |
|
136 |
{
|
137 |
parent::assets($scripts, $styles);
|
138 |
|
139 |
+
$this->styles->add(FACTORY_CLEARFY_235_URL . '/assets/css/license-manager.css');
|
140 |
+
$this->scripts->add(FACTORY_CLEARFY_235_URL . '/assets/js/clearfy-license-manager.js');
|
141 |
}
|
142 |
|
143 |
/**
|
147 |
*/
|
148 |
public function ajax_handler()
|
149 |
{
|
150 |
+
wbcr_factory_clearfy_235_check_license($this->plugin);
|
151 |
}
|
152 |
|
153 |
/**
|
157 |
{
|
158 |
?>
|
159 |
<div id="wcl-license-wrapper"
|
160 |
+
data-loader="<?php echo FACTORY_CLEARFY_235_URL . '/assets/img/loader.gif'; ?>"
|
161 |
data-plugin-name="<?php echo esc_attr($this->plugin_name); ?>"
|
162 |
data-nonce="<?php echo wp_create_nonce("clearfy_activate_license_for_{$this->plugin_name}") ?>">
|
163 |
<?php $this->show_license_form(); ?>
|
263 |
if( $this->is_premium ):
|
264 |
?>
|
265 |
<p style="margin-top: 10px;">
|
266 |
+
<?php printf(__('<a href="%s" target="_blank" rel="noopener">Lean more</a> about the premium version and get the license key to activate it now!', 'wbcr_factory_clearfy_235'), $this->plugin->get_support()->get_pricing_url(true, 'license_page')); ?>
|
267 |
</p>
|
268 |
<?php else: ?>
|
269 |
<p style="margin-top: 10px;">
|
270 |
+
<?php printf(__('Can’t find your key? Go to <a href="%s" target="_blank" rel="noopener">this page</a> and login using the e-mail address associated with your purchase.', 'wbcr_factory_clearfy_235'), $this->plugin->get_support()->get_contacts_url(true, 'license_page')) ?>
|
271 |
</p>
|
272 |
<?php endif;
|
273 |
}
|
279 |
{
|
280 |
?>
|
281 |
<div id="license-manager"
|
282 |
+
class="factory-bootstrap-444 onp-page-wrap <?= $this->get_license_type() ?>-license-manager-content">
|
283 |
<div>
|
284 |
+
<h3><?php printf(__('Activate %s', 'wbcr_factory_clearfy_235'), $this->plan_name) ?></h3>
|
285 |
<?php echo $this->get_plan_description() ?>
|
286 |
</div>
|
287 |
<br>
|
288 |
<?php if( is_wp_error($notice) ) : ?>
|
289 |
<div class="license-message <?= $this->get_license_type() ?>-license-message">
|
290 |
<div class="alert <?php echo esc_attr($notice->get_error_code()); ?>">
|
291 |
+
<h4 class="alert-heading"><?php _e($notice->get_error_message(), 'wbcr_factory_clearfy_235') ?></h4>
|
292 |
</div>
|
293 |
</div>
|
294 |
<?php endif; ?>
|
298 |
<a href="<?php echo $this->plugin->get_support()->get_pricing_url(true, 'license_page'); ?>"
|
299 |
class="purchase-premium" target="_blank" rel="noopener">
|
300 |
<span class="btn btn-gold btn-inner-wrap">
|
301 |
+
<?php _e('Upgrade to Premium', 'wbcr_factory_clearfy_235') ?>
|
302 |
</span>
|
303 |
</a>
|
304 |
+
<p><?php printf(__('Your current license for %1$s:', 'wbcr_factory_clearfy_235'), $this->plugin->getPluginTitle()) ?></p>
|
305 |
<?php endif; ?>
|
306 |
<div class="license-details-block <?= $this->get_license_type() ?>-details-block">
|
307 |
<?php if( $this->is_premium ): ?>
|
308 |
<a data-action="deactivate" href="#"
|
309 |
class="btn btn-default btn-small license-delete-button wcl-control-btn">
|
310 |
+
<?php _e('Delete Key', 'wbcr_factory_clearfy_235') ?>
|
311 |
</a>
|
312 |
<a data-action="sync" href="#"
|
313 |
class="btn btn-default btn-small license-synchronization-button wcl-control-btn">
|
314 |
+
<?php _e('Synchronization', 'wbcr_factory_clearfy_235') ?>
|
315 |
</a>
|
316 |
<?php endif; ?>
|
317 |
<h3>
|
330 |
<?php endif; ?>
|
331 |
<div class="license-key-description">
|
332 |
<?php if( !$this->is_premium ): ?>
|
333 |
+
<p><?php _e('Public License is a GPLv3 compatible license allowing you to change and use this version of the plugin for free. Please keep in mind this license covers only free edition of the plugin. Premium versions are distributed with other type of a license.', 'wbcr_factory_clearfy_235') ?></p>
|
334 |
<?php else: ?>
|
335 |
+
<p><?php _e('Сommercial license, only to the premium add-on to this free plugin. You cannot distribute or modify the premium add-on. But free plugin is a GPLv3 compatible license allowing you to change and use this version of the plugin for free.', 'wbcr_factory_clearfy_235') ?></p>
|
336 |
<?php endif; ?>
|
337 |
<?php if( $this->is_premium && $this->premium_has_subscription ): ?>
|
338 |
<p class="activate-trial-hint">
|
339 |
+
<?php _e('You use a paid subscription for the plugin updates. In case you don’t want to receive paid updates, please, click <a data-action="unsubscribe" class="wcl-control-btn" href="#">cancel subscription</a>', 'wbcr_factory_clearfy_235') ?>
|
340 |
</p>
|
341 |
<?php endif; ?>
|
342 |
|
343 |
<?php if( $this->get_license_type() == 'trial' ): ?>
|
344 |
<p class="activate-error-hint">
|
345 |
+
<?php printf(__('Your license has expired, please extend the license to get updates and support.', 'wbcr_factory_clearfy_235'), '') ?>
|
346 |
</p>
|
347 |
<?php endif; ?>
|
348 |
</div>
|
350 |
<tr>
|
351 |
<!--<td class="license-param license-param-domain">
|
352 |
<span class="license-value"><?php echo esc_attr($_SERVER['SERVER_NAME']); ?></span>
|
353 |
+
<span class="license-value-name"><?php _e('domain', 'wbcr_factory_clearfy_235') ?></span>
|
354 |
</td>-->
|
355 |
<td class="license-param license-param-days">
|
356 |
<span class="license-value"><?= $this->get_plan() ?></span>
|
357 |
+
<span class="license-value-name"><?php _e('plan', 'wbcr_factory_clearfy_235') ?></span>
|
358 |
</td>
|
359 |
<?php if( $this->is_premium ) : ?>
|
360 |
<td class="license-param license-param-sites">
|
361 |
<span class="license-value">
|
362 |
<?php echo esc_attr($this->premium_license->get_count_active_sites()); ?>
|
363 |
+
<?php _e('of', 'wbcr_factory_clearfy_235') ?>
|
364 |
<?php echo esc_attr($this->premium_license->get_sites_quota()); ?></span>
|
365 |
+
<span class="license-value-name"><?php _e('active sites', 'wbcr_factory_clearfy_235') ?></span>
|
366 |
</td>
|
367 |
<?php endif; ?>
|
368 |
<td class="license-param license-param-version">
|
372 |
<?php if( $this->is_premium ): ?>
|
373 |
<td class="license-param license-param-days">
|
374 |
<?php if( $this->get_license_type() == 'trial' ): ?>
|
375 |
+
<span class="license-value"><?php _e('EXPIRED!', 'wbcr_factory_clearfy_235') ?></span>
|
376 |
+
<span class="license-value-name"><?php _e('please update the key', 'wbcr_factory_clearfy_235') ?></span>
|
377 |
<?php else: ?>
|
378 |
<span class="license-value">
|
379 |
<?php
|
383 |
echo $this->get_expiration_days();
|
384 |
}
|
385 |
?>
|
386 |
+
<small> <?php _e('day(s)', 'wbcr_factory_clearfy_235') ?></small>
|
387 |
</span>
|
388 |
+
<span class="license-value-name"><?php _e('remained', 'wbcr_factory_clearfy_235') ?></span>
|
389 |
<?php endif; ?>
|
390 |
</td>
|
391 |
<?php endif; ?>
|
396 |
<div class="license-input">
|
397 |
<form action="" method="post">
|
398 |
<?php if($this->is_premium): ?>
|
399 |
+
<p><?php _e('Have a key to activate the premium version? Paste it here:', 'wbcr_factory_clearfy_235') ?><p>
|
400 |
<?php else: ?>
|
401 |
+
<p><?php _e('Have a key to activate the plugin? Paste it here:', 'wbcr_factory_clearfy_235') ?>
|
402 |
<p>
|
403 |
<?php endif; ?>
|
404 |
<button data-action="activate" class="btn btn-default wcl-control-btn" type="button"
|
405 |
id="license-submit">
|
406 |
+
<?php _e('Submit Key', 'wbcr_factory_clearfy_235') ?>
|
407 |
</button>
|
408 |
<div class="license-key-wrap">
|
409 |
<input type="text" id="license-key" name="licensekey" value="" class="form-control"/>
|
libs/factory/clearfy/pages/class-page-more-features.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
15 |
}
|
16 |
|
17 |
|
18 |
-
class
|
19 |
|
20 |
/**
|
21 |
* {@inheritDoc}
|
@@ -60,8 +60,8 @@ class Wbcr_FactoryClearfy233_MoreFeaturesPage extends Wbcr_FactoryPages441_Impre
|
|
60 |
*/
|
61 |
public $internal = true;
|
62 |
|
63 |
-
public function __construct(
|
64 |
-
$this->menu_title = __( 'More features (<b>free</b>)', '
|
65 |
|
66 |
parent::__construct( $plugin );
|
67 |
|
@@ -74,7 +74,7 @@ class Wbcr_FactoryClearfy233_MoreFeaturesPage extends Wbcr_FactoryPages441_Impre
|
|
74 |
* @return string
|
75 |
*/
|
76 |
public function getPageTitle() {
|
77 |
-
return __( 'More features', '
|
78 |
}
|
79 |
|
80 |
/**
|
@@ -88,66 +88,66 @@ class Wbcr_FactoryClearfy233_MoreFeaturesPage extends Wbcr_FactoryPages441_Impre
|
|
88 |
<div class="col-sm-4">
|
89 |
<div class="wbcr-factory-feature-box">
|
90 |
<span class="dashicons dashicons-yes"></span>
|
91 |
-
<h3><?php _e( 'Code cleaning', '
|
92 |
-
<p><?php _e( 'Clears the source code of the page from unused code.', '
|
93 |
</div>
|
94 |
</div>
|
95 |
<div class="col-sm-4">
|
96 |
<div class="wbcr-factory-feature-box">
|
97 |
<span class="dashicons dashicons-chart-bar"></span>
|
98 |
-
<h3><?php _e( 'Improve SEO', '
|
99 |
-
<p><?php _e( 'Removes duplicate pages, closes external links, changes the headers of the server.', '
|
100 |
</div>
|
101 |
</div>
|
102 |
<div class="col-sm-4">
|
103 |
<div class="wbcr-factory-feature-box">
|
104 |
<span class="dashicons dashicons-shield-alt"></span>
|
105 |
-
<h3><?php _e( 'Site protection', '
|
106 |
-
<p><?php _e( 'Enables and disables features that improve the protection of your site.', '
|
107 |
</div>
|
108 |
</div>
|
109 |
<div class="col-sm-4">
|
110 |
<div class="wbcr-factory-feature-box">
|
111 |
<span class="dashicons dashicons-welcome-comments"></span>
|
112 |
-
<h3><?php _e( 'Disable comments', '
|
113 |
-
<p><?php _e( 'Disables comments on the entire site or on specific pages.', '
|
114 |
</div>
|
115 |
</div>
|
116 |
<div class="col-sm-4">
|
117 |
<div class="wbcr-factory-feature-box">
|
118 |
<span class="dashicons dashicons-update"></span>
|
119 |
-
<h3><?php _e( 'Manage updates', '
|
120 |
<p><?php _e( 'Enables or disables automatically updates for plugins, themes and core. It is also possible
|
121 |
-
to disable all updates.', '
|
122 |
</div>
|
123 |
</div>
|
124 |
<div class="col-sm-4">
|
125 |
<div class="wbcr-factory-feature-box">
|
126 |
<span class="dashicons dashicons-admin-plugins"></span>
|
127 |
-
<h3><?php _e( 'Manage widgets', '
|
128 |
-
<p><?php _e( 'Allows you to remove unused widgets.', '
|
129 |
</div>
|
130 |
</div>
|
131 |
<div class="col-sm-4">
|
132 |
<div class="wbcr-factory-feature-box">
|
133 |
<span class="dashicons dashicons-dashboard"></span>
|
134 |
-
<h3><?php _e( 'Speed Optimization', '
|
135 |
-
<p><?php _e( 'Increases performance by disabling unused functions and reducing the number of requests.', '
|
136 |
</div>
|
137 |
</div>
|
138 |
<div class="col-sm-4">
|
139 |
<div class="wbcr-factory-feature-box">
|
140 |
<span class="dashicons dashicons-visibility"></span>
|
141 |
-
<h3><?php _e( 'Site privacy', '
|
142 |
<p><?php _e( 'Allows you to hide the version of the site and plugins. Allows you to hide your
|
143 |
-
WordPress.', '
|
144 |
</div>
|
145 |
</div>
|
146 |
<div class="col-sm-4">
|
147 |
<div class="wbcr-factory-feature-box">
|
148 |
<span class="dashicons dashicons-admin-settings"></span>
|
149 |
-
<h3><?php _e( 'Easy setup', '
|
150 |
-
<p><?php _e( 'In quick mode, you can easily configure the plugin according to your needs.', '
|
151 |
</div>
|
152 |
</div>
|
153 |
</div>
|
@@ -161,7 +161,7 @@ class Wbcr_FactoryClearfy233_MoreFeaturesPage extends Wbcr_FactoryPages441_Impre
|
|
161 |
$url .= '?utm_source=wordpress.org&utm_campaign=' . $this->plugin->getPluginName();
|
162 |
?>
|
163 |
<a href="<?= $url ?>" class="wbcr-factory-premium-button" target="_blank">
|
164 |
-
<?php _e( 'Get the ultimate plugin 100% FREE', '
|
165 |
</a>
|
166 |
</div>
|
167 |
<?php
|
15 |
}
|
16 |
|
17 |
|
18 |
+
class Wbcr_FactoryClearfy235_MoreFeaturesPage extends Wbcr_FactoryPages443_ImpressiveThemplate {
|
19 |
|
20 |
/**
|
21 |
* {@inheritDoc}
|
60 |
*/
|
61 |
public $internal = true;
|
62 |
|
63 |
+
public function __construct( Wbcr_Factory444_Plugin $plugin ) {
|
64 |
+
$this->menu_title = __( 'More features (<b>free</b>)', 'wbcr_factory_clearfy_235' );
|
65 |
|
66 |
parent::__construct( $plugin );
|
67 |
|
74 |
* @return string
|
75 |
*/
|
76 |
public function getPageTitle() {
|
77 |
+
return __( 'More features', 'wbcr_factory_clearfy_235' );
|
78 |
}
|
79 |
|
80 |
/**
|
88 |
<div class="col-sm-4">
|
89 |
<div class="wbcr-factory-feature-box">
|
90 |
<span class="dashicons dashicons-yes"></span>
|
91 |
+
<h3><?php _e( 'Code cleaning', 'wbcr_factory_clearfy_235' ) ?></h3>
|
92 |
+
<p><?php _e( 'Clears the source code of the page from unused code.', 'wbcr_factory_clearfy_235' ) ?></p>
|
93 |
</div>
|
94 |
</div>
|
95 |
<div class="col-sm-4">
|
96 |
<div class="wbcr-factory-feature-box">
|
97 |
<span class="dashicons dashicons-chart-bar"></span>
|
98 |
+
<h3><?php _e( 'Improve SEO', 'wbcr_factory_clearfy_235' ) ?></h3>
|
99 |
+
<p><?php _e( 'Removes duplicate pages, closes external links, changes the headers of the server.', 'wbcr_factory_clearfy_235' ) ?></p>
|
100 |
</div>
|
101 |
</div>
|
102 |
<div class="col-sm-4">
|
103 |
<div class="wbcr-factory-feature-box">
|
104 |
<span class="dashicons dashicons-shield-alt"></span>
|
105 |
+
<h3><?php _e( 'Site protection', 'wbcr_factory_clearfy_235' ) ?></h3>
|
106 |
+
<p><?php _e( 'Enables and disables features that improve the protection of your site.', 'wbcr_factory_clearfy_235' ) ?></p>
|
107 |
</div>
|
108 |
</div>
|
109 |
<div class="col-sm-4">
|
110 |
<div class="wbcr-factory-feature-box">
|
111 |
<span class="dashicons dashicons-welcome-comments"></span>
|
112 |
+
<h3><?php _e( 'Disable comments', 'wbcr_factory_clearfy_235' ) ?></h3>
|
113 |
+
<p><?php _e( 'Disables comments on the entire site or on specific pages.', 'wbcr_factory_clearfy_235' ) ?></p>
|
114 |
</div>
|
115 |
</div>
|
116 |
<div class="col-sm-4">
|
117 |
<div class="wbcr-factory-feature-box">
|
118 |
<span class="dashicons dashicons-update"></span>
|
119 |
+
<h3><?php _e( 'Manage updates', 'wbcr_factory_clearfy_235' ) ?></h3>
|
120 |
<p><?php _e( 'Enables or disables automatically updates for plugins, themes and core. It is also possible
|
121 |
+
to disable all updates.', 'wbcr_factory_clearfy_235' ) ?></p>
|
122 |
</div>
|
123 |
</div>
|
124 |
<div class="col-sm-4">
|
125 |
<div class="wbcr-factory-feature-box">
|
126 |
<span class="dashicons dashicons-admin-plugins"></span>
|
127 |
+
<h3><?php _e( 'Manage widgets', 'wbcr_factory_clearfy_235' ) ?></h3>
|
128 |
+
<p><?php _e( 'Allows you to remove unused widgets.', 'wbcr_factory_clearfy_235' ) ?></p>
|
129 |
</div>
|
130 |
</div>
|
131 |
<div class="col-sm-4">
|
132 |
<div class="wbcr-factory-feature-box">
|
133 |
<span class="dashicons dashicons-dashboard"></span>
|
134 |
+
<h3><?php _e( 'Speed Optimization', 'wbcr_factory_clearfy_235' ) ?></h3>
|
135 |
+
<p><?php _e( 'Increases performance by disabling unused functions and reducing the number of requests.', 'wbcr_factory_clearfy_235' ) ?></p>
|
136 |
</div>
|
137 |
</div>
|
138 |
<div class="col-sm-4">
|
139 |
<div class="wbcr-factory-feature-box">
|
140 |
<span class="dashicons dashicons-visibility"></span>
|
141 |
+
<h3><?php _e( 'Site privacy', 'wbcr_factory_clearfy_235' ) ?></h3>
|
142 |
<p><?php _e( 'Allows you to hide the version of the site and plugins. Allows you to hide your
|
143 |
+
WordPress.', 'wbcr_factory_clearfy_235' ) ?></p>
|
144 |
</div>
|
145 |
</div>
|
146 |
<div class="col-sm-4">
|
147 |
<div class="wbcr-factory-feature-box">
|
148 |
<span class="dashicons dashicons-admin-settings"></span>
|
149 |
+
<h3><?php _e( 'Easy setup', 'wbcr_factory_clearfy_235' ) ?></h3>
|
150 |
+
<p><?php _e( 'In quick mode, you can easily configure the plugin according to your needs.', 'wbcr_factory_clearfy_235' ) ?></p>
|
151 |
</div>
|
152 |
</div>
|
153 |
</div>
|
161 |
$url .= '?utm_source=wordpress.org&utm_campaign=' . $this->plugin->getPluginName();
|
162 |
?>
|
163 |
<a href="<?= $url ?>" class="wbcr-factory-premium-button" target="_blank">
|
164 |
+
<?php _e( 'Get the ultimate plugin 100% FREE', 'wbcr_factory_clearfy_235' ) ?>
|
165 |
</a>
|
166 |
</div>
|
167 |
<?php
|
libs/factory/clearfy/pages/class-page-setup.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if( !defined('ABSPATH') ) {
|
@@ -10,15 +10,15 @@ if( !defined('ABSPATH') ) {
|
|
10 |
/**
|
11 |
* Класс страницы, которая реализует функции мастера установки.
|
12 |
*
|
13 |
-
* Этот класс унаследован от стандартного шаблона страницы \
|
14 |
* поэтому все его инструменты могут быть применены и в этом классе. Но вы должны учитывать, что
|
15 |
* поведение экшенов страницы было изменено. В данной реализации экшены используется для пагинации шагов.
|
16 |
*
|
17 |
-
* @package WBCR\
|
18 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
19 |
* @since 2.2.2
|
20 |
*/
|
21 |
-
class Setup extends \
|
22 |
|
23 |
const DEFAULT_STEP = 'step0';
|
24 |
|
@@ -68,20 +68,20 @@ class Setup extends \Wbcr_FactoryPages441_ImpressiveThemplate {
|
|
68 |
private $steps = [];
|
69 |
|
70 |
/**
|
71 |
-
* @param \
|
72 |
*/
|
73 |
-
public function __construct(\
|
74 |
{
|
75 |
$this->id = 'setup';
|
76 |
|
77 |
-
$this->menu_title = __('Setup master', '
|
78 |
-
$this->page_menu_short_description = __('Setup master', '
|
79 |
parent::__construct($plugin);
|
80 |
}
|
81 |
|
82 |
public function getPageTitle()
|
83 |
{
|
84 |
-
return __('Setup', '
|
85 |
}
|
86 |
|
87 |
public function get_close_wizard_url()
|
@@ -135,18 +135,18 @@ class Setup extends \Wbcr_FactoryPages441_ImpressiveThemplate {
|
|
135 |
/**
|
136 |
* Requests assets (js and css) for the page.
|
137 |
*
|
138 |
-
* @param \
|
139 |
-
* @param \
|
140 |
*
|
141 |
* @return void
|
142 |
-
* @see
|
143 |
*
|
144 |
*/
|
145 |
public function assets($scripts, $styles)
|
146 |
{
|
147 |
parent::assets($scripts, $styles);
|
148 |
|
149 |
-
$this->styles->add(
|
150 |
|
151 |
// Require step assets
|
152 |
if( isset($_GET['action']) && false !== strpos($_GET['action'], 'step') && isset($this->steps[$_GET['action']]) ) {
|
@@ -163,8 +163,8 @@ class Setup extends \Wbcr_FactoryPages441_ImpressiveThemplate {
|
|
163 |
protected function showPage($content = null)
|
164 |
{
|
165 |
?>
|
166 |
-
<div class="w-factory-clearfy-
|
167 |
-
<ol class="w-factory-clearfy-
|
168 |
<?php foreach($this->steps as $step): ?>
|
169 |
<?php if( self::DEFAULT_STEP === $step->get_id() ) {
|
170 |
continue;
|
@@ -172,11 +172,11 @@ class Setup extends \Wbcr_FactoryPages441_ImpressiveThemplate {
|
|
172 |
<li <?php if($this->current_step === $step->get_id()): ?>class="active"<?php endif; ?>><?php echo $step->get_title(); ?></li>
|
173 |
<?php endforeach; ?>
|
174 |
</ol>
|
175 |
-
<div class="w-factory-clearfy-
|
176 |
<?php echo $content; ?>
|
177 |
</div>
|
178 |
-
<a class="w-factory-clearfy-
|
179 |
-
<?php _e('Not now', '
|
180 |
</a>
|
181 |
</div>
|
182 |
<?php
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\FactoryClearfy235\Pages;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
if( !defined('ABSPATH') ) {
|
10 |
/**
|
11 |
* Класс страницы, которая реализует функции мастера установки.
|
12 |
*
|
13 |
+
* Этот класс унаследован от стандартного шаблона страницы \Wbcr_FactoryPages443_ImpressiveThemplate,
|
14 |
* поэтому все его инструменты могут быть применены и в этом классе. Но вы должны учитывать, что
|
15 |
* поведение экшенов страницы было изменено. В данной реализации экшены используется для пагинации шагов.
|
16 |
*
|
17 |
+
* @package WBCR\FactoryClearfy235\Pages
|
18 |
* @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
19 |
* @since 2.2.2
|
20 |
*/
|
21 |
+
class Setup extends \Wbcr_FactoryPages443_ImpressiveThemplate {
|
22 |
|
23 |
const DEFAULT_STEP = 'step0';
|
24 |
|
68 |
private $steps = [];
|
69 |
|
70 |
/**
|
71 |
+
* @param \Wbcr_Factory444_Plugin $plugin
|
72 |
*/
|
73 |
+
public function __construct(\Wbcr_Factory444_Plugin $plugin)
|
74 |
{
|
75 |
$this->id = 'setup';
|
76 |
|
77 |
+
$this->menu_title = __('Setup master', 'wbcr_factory_clearfy_235');
|
78 |
+
$this->page_menu_short_description = __('Setup master', 'wbcr_factory_clearfy_235');
|
79 |
parent::__construct($plugin);
|
80 |
}
|
81 |
|
82 |
public function getPageTitle()
|
83 |
{
|
84 |
+
return __('Setup', 'wbcr_factory_clearfy_235');
|
85 |
}
|
86 |
|
87 |
public function get_close_wizard_url()
|
135 |
/**
|
136 |
* Requests assets (js and css) for the page.
|
137 |
*
|
138 |
+
* @param \Wbcr_Factory444_ScriptList $scripts
|
139 |
+
* @param \Wbcr_Factory444_StyleList $styles
|
140 |
*
|
141 |
* @return void
|
142 |
+
* @see Wbcr_FactoryPages443_AdminPage
|
143 |
*
|
144 |
*/
|
145 |
public function assets($scripts, $styles)
|
146 |
{
|
147 |
parent::assets($scripts, $styles);
|
148 |
|
149 |
+
$this->styles->add(FACTORY_CLEARFY_235_URL . '/assets/css/page-setup.css');
|
150 |
|
151 |
// Require step assets
|
152 |
if( isset($_GET['action']) && false !== strpos($_GET['action'], 'step') && isset($this->steps[$_GET['action']]) ) {
|
163 |
protected function showPage($content = null)
|
164 |
{
|
165 |
?>
|
166 |
+
<div class="w-factory-clearfy-235-setup">
|
167 |
+
<ol class="w-factory-clearfy-235-setup-steps">
|
168 |
<?php foreach($this->steps as $step): ?>
|
169 |
<?php if( self::DEFAULT_STEP === $step->get_id() ) {
|
170 |
continue;
|
172 |
<li <?php if($this->current_step === $step->get_id()): ?>class="active"<?php endif; ?>><?php echo $step->get_title(); ?></li>
|
173 |
<?php endforeach; ?>
|
174 |
</ol>
|
175 |
+
<div class="w-factory-clearfy-235-setup-content">
|
176 |
<?php echo $content; ?>
|
177 |
</div>
|
178 |
+
<a class="w-factory-clearfy-235-setup-footer-links" href="<?php echo esc_url($this->get_close_wizard_url()); ?>">
|
179 |
+
<?php _e('Not now', 'wbcr_factory_clearfy_235') ?>
|
180 |
</a>
|
181 |
</div>
|
182 |
<?php
|
libs/factory/clearfy/pages/class-pages-components.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
/**
|
6 |
* This file is the add-ons page.
|
@@ -16,7 +16,7 @@ if( !defined('ABSPATH') ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
class Components extends \
|
20 |
|
21 |
/**
|
22 |
* The id of the page in the admin menu.
|
@@ -24,7 +24,7 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
24 |
* Mainly used to navigate between pages.
|
25 |
*
|
26 |
* @since 1.0.0
|
27 |
-
* @see
|
28 |
*
|
29 |
* @var string
|
30 |
*/
|
@@ -41,12 +41,12 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
41 |
public $available_for_multisite = true;
|
42 |
|
43 |
/**
|
44 |
-
* @param \
|
45 |
*/
|
46 |
-
public function __construct(\
|
47 |
{
|
48 |
-
$this->menu_title = __('Components', '
|
49 |
-
$this->page_menu_short_description = __('More features for plugin', '
|
50 |
|
51 |
parent::__construct($plugin);
|
52 |
|
@@ -58,18 +58,18 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
58 |
*
|
59 |
* @return void
|
60 |
* @since 1.0.0
|
61 |
-
* @see
|
62 |
*
|
63 |
*/
|
64 |
public function assets($scripts, $styles)
|
65 |
{
|
66 |
parent::assets($scripts, $styles);
|
67 |
|
68 |
-
$this->styles->add(
|
69 |
|
70 |
/**
|
71 |
-
* @param \
|
72 |
-
* @param \
|
73 |
* @since 1.4.0
|
74 |
*
|
75 |
*/
|
@@ -80,10 +80,10 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
80 |
* We register notifications for some actions
|
81 |
*
|
82 |
* @param $notices
|
83 |
-
* @param \
|
84 |
*
|
85 |
* @return array
|
86 |
-
* @see libs\factory\pages\themplates\
|
87 |
*/
|
88 |
public function getActionNotices($notices)
|
89 |
{
|
@@ -92,7 +92,7 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
92 |
'wbcr-force-update-components-success' => 1
|
93 |
],
|
94 |
'type' => 'success',
|
95 |
-
'message' => __('Components have been successfully updated to the latest version.', '
|
96 |
];
|
97 |
|
98 |
$notices[] = [
|
@@ -100,7 +100,7 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
100 |
'wbcr-force-update-components-error' => 'inactive_licence'
|
101 |
],
|
102 |
'type' => 'danger',
|
103 |
-
'message' => __('To use premium components, you need activate a license!', '
|
104 |
];
|
105 |
|
106 |
$notices[] = [
|
@@ -173,12 +173,12 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
173 |
$components = apply_filters('wbcr/clearfy/components/items_list', $components);
|
174 |
|
175 |
?>
|
176 |
-
<div class="wbcr-factory-page-group-header"><?php _e('<strong>Plugin Components</strong>.', '
|
177 |
<p>
|
178 |
-
<?php _e('These are components of the plugin bundle. When you activate the plugin, all the components turned on by default. If you don’t need some function, you can easily turn it off on this page.', '
|
179 |
</p>
|
180 |
</div>
|
181 |
-
<div class="wbc-factory-clearfy-
|
182 |
<?php
|
183 |
/**
|
184 |
* @since 1.4.0
|
@@ -227,11 +227,16 @@ class Components extends \Wbcr_FactoryClearfy233_PageBase {
|
|
227 |
</div>
|
228 |
</div>
|
229 |
<div class="plugin-card-bottom">
|
230 |
-
<?php if(
|
231 |
-
|
|
|
|
|
|
|
|
|
232 |
<?php else: ?>
|
233 |
-
<?php $
|
234 |
<?php endif; ?>
|
|
|
235 |
</div>
|
236 |
</div>
|
237 |
<?php endforeach; ?>
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\FactoryClearfy235\Pages;
|
4 |
|
5 |
/**
|
6 |
* This file is the add-ons page.
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
class Components extends \Wbcr_FactoryClearfy235_PageBase {
|
20 |
|
21 |
/**
|
22 |
* The id of the page in the admin menu.
|
24 |
* Mainly used to navigate between pages.
|
25 |
*
|
26 |
* @since 1.0.0
|
27 |
+
* @see FactoryPages443_AdminPage
|
28 |
*
|
29 |
* @var string
|
30 |
*/
|
41 |
public $available_for_multisite = true;
|
42 |
|
43 |
/**
|
44 |
+
* @param \Wbcr_Factory444_Plugin $plugin
|
45 |
*/
|
46 |
+
public function __construct(\Wbcr_Factory444_Plugin $plugin)
|
47 |
{
|
48 |
+
$this->menu_title = __('Components', 'wbcr_factory_clearfy_235');
|
49 |
+
$this->page_menu_short_description = __('More features for plugin', 'wbcr_factory_clearfy_235');
|
50 |
|
51 |
parent::__construct($plugin);
|
52 |
|
58 |
*
|
59 |
* @return void
|
60 |
* @since 1.0.0
|
61 |
+
* @see FactoryPages443_AdminPage
|
62 |
*
|
63 |
*/
|
64 |
public function assets($scripts, $styles)
|
65 |
{
|
66 |
parent::assets($scripts, $styles);
|
67 |
|
68 |
+
$this->styles->add(FACTORY_CLEARFY_235_URL . '/assets/css/components.css');
|
69 |
|
70 |
/**
|
71 |
+
* @param \Wbcr_Factory444_StyleList $styles
|
72 |
+
* @param \Wbcr_Factory444_ScriptList $scripts
|
73 |
* @since 1.4.0
|
74 |
*
|
75 |
*/
|
80 |
* We register notifications for some actions
|
81 |
*
|
82 |
* @param $notices
|
83 |
+
* @param \Wbcr_Factory444_Plugin $plugin
|
84 |
*
|
85 |
* @return array
|
86 |
+
* @see libs\factory\pages\themplates\FactoryPages443_ImpressiveThemplate
|
87 |
*/
|
88 |
public function getActionNotices($notices)
|
89 |
{
|
92 |
'wbcr-force-update-components-success' => 1
|
93 |
],
|
94 |
'type' => 'success',
|
95 |
+
'message' => __('Components have been successfully updated to the latest version.', 'wbcr_factory_clearfy_235')
|
96 |
];
|
97 |
|
98 |
$notices[] = [
|
100 |
'wbcr-force-update-components-error' => 'inactive_licence'
|
101 |
],
|
102 |
'type' => 'danger',
|
103 |
+
'message' => __('To use premium components, you need activate a license!', 'wbcr_factory_clearfy_235') . '<a href="admin.php?page=license-wbcr_clearfy" class="btn btn-gold">' . __('Activate license', 'wbcr_factory_clearfy_235') . '</a>'
|
104 |
];
|
105 |
|
106 |
$notices[] = [
|
173 |
$components = apply_filters('wbcr/clearfy/components/items_list', $components);
|
174 |
|
175 |
?>
|
176 |
+
<div class="wbcr-factory-page-group-header"><?php _e('<strong>Plugin Components</strong>.', 'wbcr_factory_clearfy_235') ?>
|
177 |
<p>
|
178 |
+
<?php _e('These are components of the plugin bundle. When you activate the plugin, all the components turned on by default. If you don’t need some function, you can easily turn it off on this page.', 'wbcr_factory_clearfy_235') ?>
|
179 |
</p>
|
180 |
</div>
|
181 |
+
<div class="wbc-factory-clearfy-235-components">
|
182 |
<?php
|
183 |
/**
|
184 |
* @since 1.4.0
|
227 |
</div>
|
228 |
</div>
|
229 |
<div class="plugin-card-bottom">
|
230 |
+
<?php if( !(isset($component['disable_button']) && $component['disable_button']) ): ?>
|
231 |
+
<?php if( 'premium' === $component['build'] && !($this->plugin->premium->is_activate() && $this->plugin->premium->is_install_package()) ): ?>
|
232 |
+
<a target="_blank" href="<?php echo esc_url($component['url']) ?>" class="button button-default install-now"><?php _e('Read more', 'wbcr_factory_clearfy_235'); ?></a>
|
233 |
+
<?php else: ?>
|
234 |
+
<?php $delete_button->render_button(); ?><?php $install_button->render_button(); ?>
|
235 |
+
<?php endif; ?>
|
236 |
<?php else: ?>
|
237 |
+
<?php echo(isset($component['disable_button_reason']) ? esc_html($component['disable_button_reason']) : ''); ?>
|
238 |
<?php endif; ?>
|
239 |
+
|
240 |
</div>
|
241 |
</div>
|
242 |
<?php endforeach; ?>
|
libs/factory/clearfy/pages/class-pages.php
CHANGED
@@ -14,7 +14,7 @@ if( !defined('ABSPATH') ) {
|
|
14 |
}
|
15 |
|
16 |
/**
|
17 |
-
* Class
|
18 |
*
|
19 |
* @method string getInfoWidget() - get widget content information
|
20 |
* @method string getRatingWidget(array $args = []) - get widget content rating
|
@@ -23,7 +23,7 @@ if( !defined('ABSPATH') ) {
|
|
23 |
* @method string getBusinessSuggetionWidget()
|
24 |
* @method string getSupportWidget
|
25 |
*/
|
26 |
-
class
|
27 |
|
28 |
/**
|
29 |
* {@inheritDoc}
|
@@ -58,9 +58,9 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
58 |
public $show_search_options_form = true;
|
59 |
|
60 |
/**
|
61 |
-
* @param
|
62 |
*/
|
63 |
-
public function __construct(
|
64 |
{
|
65 |
parent::__construct($plugin);
|
66 |
|
@@ -101,18 +101,18 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
101 |
/**
|
102 |
* Requests assets (js and css) for the page.
|
103 |
*
|
104 |
-
* @param
|
105 |
-
* @param
|
106 |
*
|
107 |
* @return void
|
108 |
-
* @see
|
109 |
*
|
110 |
*/
|
111 |
public function assets($scripts, $styles)
|
112 |
{
|
113 |
parent::assets($scripts, $styles);
|
114 |
|
115 |
-
$this->styles->add(
|
116 |
|
117 |
// todo: вынести все общие скрипты и стили фреймворка, продумать совместимость с другими плагинами
|
118 |
if( defined('WCL_PLUGIN_URL') ) {
|
@@ -120,19 +120,19 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
120 |
}
|
121 |
|
122 |
if( !($this->plugin->has_premium() && $this->plugin->premium->is_active()) ) {
|
123 |
-
$this->scripts->add(
|
124 |
'jquery',
|
125 |
-
'wfactory-
|
126 |
-
'wbcr-factory-clearfy-
|
127 |
-
], 'wbcr-factory-clearfy-
|
128 |
}
|
129 |
|
130 |
// Script for search form on plugin options
|
131 |
if( $this->show_search_options_form && "options" === $this->type ) {
|
132 |
-
$this->styles->add(
|
133 |
|
134 |
-
$this->scripts->add(
|
135 |
-
$this->scripts->add(
|
136 |
}
|
137 |
|
138 |
/**
|
@@ -151,11 +151,11 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
151 |
*/
|
152 |
public function subsribe_widget_ajax_handler()
|
153 |
{
|
154 |
-
|
155 |
}
|
156 |
|
157 |
/**
|
158 |
-
* @return
|
159 |
*/
|
160 |
public function request()
|
161 |
{
|
@@ -254,7 +254,7 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
254 |
/**
|
255 |
* @since 4.0.9 - является устаревшим
|
256 |
*/
|
257 |
-
$widgets =
|
258 |
$widgets,
|
259 |
$position,
|
260 |
$this->plugin,
|
@@ -283,24 +283,24 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
283 |
$purchase_url = $this->plugin->get_support()->get_pricing_url(true, 'right_sidebar_ads');
|
284 |
|
285 |
$default_features = [
|
286 |
-
'4_premium' => __('4 premium components now;', '
|
287 |
-
'40_premium' => __('40 new premium components within a year for the single price;', '
|
288 |
-
'multisite_support' => __('Multisite support;', '
|
289 |
-
'advance_settings' => __('Advanced settings;', '
|
290 |
-
'no_ads' => __('No ads;', '
|
291 |
-
'perfect_support' => __('Perfect support.', '
|
292 |
];
|
293 |
|
294 |
/**
|
295 |
* @since 2.0.8 - added
|
296 |
*/
|
297 |
-
$suggetion_title = __('MORE IN CLEARFY <span>BUSINESS</span>', '
|
298 |
$suggetion_title = apply_filters('wbcr/clearfy/pages/suggetion_title', $suggetion_title, $plugin_name, $this->id);
|
299 |
|
300 |
/**
|
301 |
* @since 2.0.8 - deprecated
|
302 |
*/
|
303 |
-
$suggetion_features =
|
304 |
$default_features,
|
305 |
$this->plugin->getPluginName(),
|
306 |
$this->id
|
@@ -316,7 +316,7 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
316 |
$suggetion_features = $default_features;
|
317 |
}
|
318 |
?>
|
319 |
-
<div class="wbcr-factory-sidebar-widget wbcr-factory-clearfy-
|
320 |
<h3><?php echo $suggetion_title; ?></h3>
|
321 |
<ul>
|
322 |
<?php if( !empty($suggetion_features) ): ?>
|
@@ -327,7 +327,7 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
327 |
</ul>
|
328 |
<a href="<?php echo $purchase_url ?>" class="wbcr-factory-purchase-premium" target="_blank"
|
329 |
rel="noopener">
|
330 |
-
<?php printf(__('Upgrade for $%s', '
|
331 |
</a>
|
332 |
</div>
|
333 |
<?php
|
@@ -349,25 +349,25 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
349 |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAQAAABKmM6bAAAAUUlEQVQIHU3BsQ1AQABA0X/komIrnQHYwyhqQ1hBo9KZRKL9CBfeAwy2ri42JA4mPQ9rJ6OVt0BisFM3Po7qbEliru7m/FkY+TN64ZVxEzh4ndrMN7+Z+jXCAAAAAElFTkSuQmCC"
|
350 |
alt=""/>
|
351 |
</span>
|
352 |
-
- <?php _e('A neutral setting that can not harm your site, but you must be sure that you need to use it.', '
|
353 |
</li>
|
354 |
<li>
|
355 |
<span class="wbcr-factory-hint-icon-simple wbcr-factory-simple-grey">
|
356 |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAQAAABKmM6bAAAAUUlEQVQIHU3BsQ1AQABA0X/komIrnQHYwyhqQ1hBo9KZRKL9CBfeAwy2ri42JA4mPQ9rJ6OVt0BisFM3Po7qbEliru7m/FkY+TN64ZVxEzh4ndrMN7+Z+jXCAAAAAElFTkSuQmCC"
|
357 |
alt=""/>
|
358 |
</span>
|
359 |
-
- <?php _e('When set this option, you must be careful. Plugins and themes may depend on this function. You must be sure that you can disable this feature for the site.', '
|
360 |
</li>
|
361 |
<li>
|
362 |
<span class="wbcr-factory-hint-icon-simple wbcr-factory-simple-green">
|
363 |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAQAAABKmM6bAAAAUUlEQVQIHU3BsQ1AQABA0X/komIrnQHYwyhqQ1hBo9KZRKL9CBfeAwy2ri42JA4mPQ9rJ6OVt0BisFM3Po7qbEliru7m/FkY+TN64ZVxEzh4ndrMN7+Z+jXCAAAAAElFTkSuQmCC"
|
364 |
alt=""/>
|
365 |
</span>
|
366 |
-
- <?php _e('Absolutely safe setting, We recommend to use.', '
|
367 |
</li>
|
368 |
</ul>
|
369 |
----------<br>
|
370 |
-
<p><?php _e('Hover to the icon to get help for the feature you selected.', '
|
371 |
</div>
|
372 |
<?php
|
373 |
}
|
@@ -389,19 +389,19 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
389 |
$page_url = $args[0];
|
390 |
}
|
391 |
|
392 |
-
$page_url = apply_filters('
|
393 |
|
394 |
?>
|
395 |
<div class="wbcr-factory-sidebar-widget">
|
396 |
<p>
|
397 |
-
<strong><?php _e('Do you want the plugin to improved and update?', '
|
398 |
</p>
|
399 |
-
<p><?php _e('Help the author, leave a review on wordpress.org. Thanks to feedback, I will know that the plugin is really useful to you and is needed.', '
|
400 |
-
<p><?php _e('And also write your ideas on how to extend or improve the plugin.', '
|
401 |
<p>
|
402 |
<i class="wbcr-factory-icon-5stars"></i>
|
403 |
<a href="<?php echo $page_url; ?>" title="Go rate us" target="_blank">
|
404 |
-
<strong><?php _e('Go rate us and push ideas', '
|
405 |
</a>
|
406 |
</p>
|
407 |
</div>
|
@@ -419,7 +419,7 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
419 |
?>
|
420 |
<div class="wbcr-factory-sidebar-widget">
|
421 |
<p>
|
422 |
-
<strong><?php _e('Donation for plugin development', '
|
423 |
</p>
|
424 |
<?php if( get_locale() !== 'ru_RU' ): ?>
|
425 |
<form id="wbcr-factory-paypal-donation-form" action="https://www.paypal.com/cgi-bin/webscr"
|
@@ -427,7 +427,7 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
427 |
<input type="hidden" name="cmd" value="_s-xclick">
|
428 |
<input type="hidden" name="hosted_button_id" value="VDX7JNTQPNPFW">
|
429 |
<div class="wbcr-factory-donation-price">5$</div>
|
430 |
-
<input type="image" src="<?php echo
|
431 |
border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
|
432 |
</form>
|
433 |
<?php else: ?>
|
@@ -452,19 +452,19 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
452 |
|
453 |
?>
|
454 |
<div id="wbcr-clr-support-widget" class="wbcr-factory-sidebar-widget">
|
455 |
-
<p><strong><?php _e('Having Issues?', '
|
456 |
<div class="wbcr-clr-support-widget-body">
|
457 |
<p>
|
458 |
-
<?php _e('We provide free support for this plugin. If you are pushed with a problem, just create a new ticket. We will definitely help you!', '
|
459 |
</p>
|
460 |
<ul>
|
461 |
<li><span class="dashicons dashicons-sos"></span>
|
462 |
<a href="<?php echo $free_support_url; ?>" target="_blank"
|
463 |
-
rel="noopener"><?php _e('Get starting free support', '
|
464 |
</li>
|
465 |
<li style="margin-top: 15px;background: #fff4f1;padding: 10px;color: #a58074;">
|
466 |
<span class="dashicons dashicons-warning"></span>
|
467 |
-
<?php printf(__('If you find a php error or a vulnerability in plugin, you can <a href="%s" target="_blank" rel="noopener">create ticket</a> in hot support that we responded instantly.', '
|
468 |
</li>
|
469 |
</ul>
|
470 |
</div>
|
@@ -479,27 +479,27 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
479 |
$terms = "https://cm-wp.com/?bizpanda=privacy-policy";
|
480 |
?>
|
481 |
<div id="wbcr-clr-subscribe-widget" class="wbcr-factory-sidebar-widget wbcr-factory-subscribe-widget">
|
482 |
-
<p><strong><?php _e('Subscribe to plugin’s newsletter', '
|
483 |
<div class="wbcr-clr-subscribe-widget-body">
|
484 |
|
485 |
<div class="wbcr-factory-subscribe-widget__message-contanier">
|
486 |
<div class="wbcr-factory-subscribe-widget__text wbcr-factory-subscribe-widget__text--success">
|
487 |
-
<?php _e("Thank you, you have successfully subscribed!", '
|
488 |
</div>
|
489 |
<div class="wbcr-factory-subscribe-widget__text wbcr-factory-subscribe-widget__text--success2">
|
490 |
-
<?php _e("Thank you for your subscription, a confirmation email has been sent to you. You need to confirm your subscription to complete this process.", '
|
491 |
</div>
|
492 |
</div>
|
493 |
|
494 |
<form id="wbcr-factory-subscribe-widget__subscribe-form" method="post" data-nonce="<?php echo wp_create_nonce('clearfy_subscribe_for_' . $this->plugin->getPluginName()) ?>">
|
495 |
-
<input id="wbcr-factory-subscribe-widget__email" class="wbcr-factory-subscribe-widget__field" type="email" name="email" placeholder="<?php _e('Enter your email address', '
|
496 |
<label class="wbcr-factory-subscribe-widget__checkbox-label">
|
497 |
<input class="wbcr-factory-subscribe-widget__checkbox" type="checkbox" name="agree_terms" required>
|
498 |
-
<?php echo sprintf(__("I confirm to subscribe to the CreativeMotion newsletter to receive the latest news. You can find how we use your information on our %s Privacy Policy %s", '
|
499 |
</label>
|
500 |
<input type="hidden" id="wbcr-factory-subscribe-widget__group-id" value="<?php echo esc_attr($group_id); ?>">
|
501 |
<input type="hidden" id="wbcr-factory-subscribe-widget__plugin-name" value="<?php echo esc_attr($this->plugin->getPluginName()); ?>">
|
502 |
-
<input type="submit" class="btn wbcr-factory-subscribe-widget__button" value="<?php _e('Subscribe', '
|
503 |
</form>
|
504 |
</div>
|
505 |
</div>
|
@@ -514,13 +514,13 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
514 |
*/
|
515 |
public function register_options_to_search()
|
516 |
{
|
517 |
-
require_once
|
518 |
|
519 |
$options = $this->getPageOptions();
|
520 |
$page_url = $this->getBaseUrl();
|
521 |
$page_id = $this->getResultId();
|
522 |
|
523 |
-
\WBCR\
|
524 |
}
|
525 |
|
526 |
/**
|
@@ -534,11 +534,11 @@ class Wbcr_FactoryClearfy233_PageBase extends Wbcr_FactoryPages441_ImpressiveThe
|
|
534 |
return;
|
535 |
}
|
536 |
?>
|
537 |
-
<div id="wbcr-factory-clearfy-
|
538 |
-
<label for="autocomplete" class="wbcr-factory-clearfy-
|
539 |
-
<?php _e('Can\'t find the settings you need? Use the search by the plugin options:', '
|
540 |
</label>
|
541 |
-
<input type="text" name="country" id="wbcr-factory-clearfy-
|
542 |
|
543 |
</div>
|
544 |
<?php
|
14 |
}
|
15 |
|
16 |
/**
|
17 |
+
* Class Wbcr_FactoryPages443_ImpressiveThemplate
|
18 |
*
|
19 |
* @method string getInfoWidget() - get widget content information
|
20 |
* @method string getRatingWidget(array $args = []) - get widget content rating
|
23 |
* @method string getBusinessSuggetionWidget()
|
24 |
* @method string getSupportWidget
|
25 |
*/
|
26 |
+
class Wbcr_FactoryClearfy235_PageBase extends Wbcr_FactoryPages443_ImpressiveThemplate {
|
27 |
|
28 |
/**
|
29 |
* {@inheritDoc}
|
58 |
public $show_search_options_form = true;
|
59 |
|
60 |
/**
|
61 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
62 |
*/
|
63 |
+
public function __construct(Wbcr_Factory444_Plugin $plugin)
|
64 |
{
|
65 |
parent::__construct($plugin);
|
66 |
|
101 |
/**
|
102 |
* Requests assets (js and css) for the page.
|
103 |
*
|
104 |
+
* @param Wbcr_Factory444_ScriptList $scripts
|
105 |
+
* @param Wbcr_Factory444_StyleList $styles
|
106 |
*
|
107 |
* @return void
|
108 |
+
* @see Wbcr_FactoryPages443_AdminPage
|
109 |
*
|
110 |
*/
|
111 |
public function assets($scripts, $styles)
|
112 |
{
|
113 |
parent::assets($scripts, $styles);
|
114 |
|
115 |
+
$this->styles->add(FACTORY_CLEARFY_235_URL . '/assets/css/clearfy-base.css');
|
116 |
|
117 |
// todo: вынести все общие скрипты и стили фреймворка, продумать совместимость с другими плагинами
|
118 |
if( defined('WCL_PLUGIN_URL') ) {
|
120 |
}
|
121 |
|
122 |
if( !($this->plugin->has_premium() && $this->plugin->premium->is_active()) ) {
|
123 |
+
$this->scripts->add(FACTORY_CLEARFY_235_URL . '/assets/js/clearfy-widgets.js', [
|
124 |
'jquery',
|
125 |
+
'wfactory-444-core-general',
|
126 |
+
'wbcr-factory-clearfy-235-global'
|
127 |
+
], 'wbcr-factory-clearfy-235-widgets');
|
128 |
}
|
129 |
|
130 |
// Script for search form on plugin options
|
131 |
if( $this->show_search_options_form && "options" === $this->type ) {
|
132 |
+
$this->styles->add(FACTORY_CLEARFY_235_URL . '/assets/css/libs/autocomplete.css');
|
133 |
|
134 |
+
$this->scripts->add(FACTORY_CLEARFY_235_URL . '/assets/js/libs/jquery.autocomplete.min.js');
|
135 |
+
$this->scripts->add(FACTORY_CLEARFY_235_URL . '/assets/js/clearfy-search-options.js');
|
136 |
}
|
137 |
|
138 |
/**
|
151 |
*/
|
152 |
public function subsribe_widget_ajax_handler()
|
153 |
{
|
154 |
+
wbcr_factory_clearfy_235_subscribe($this->plugin);
|
155 |
}
|
156 |
|
157 |
/**
|
158 |
+
* @return Wbcr_Factory444_Request
|
159 |
*/
|
160 |
public function request()
|
161 |
{
|
254 |
/**
|
255 |
* @since 4.0.9 - является устаревшим
|
256 |
*/
|
257 |
+
$widgets = wbcr_factory_444_apply_filters_deprecated('wbcr_factory_pages_443_imppage_get_widgets', [
|
258 |
$widgets,
|
259 |
$position,
|
260 |
$this->plugin,
|
283 |
$purchase_url = $this->plugin->get_support()->get_pricing_url(true, 'right_sidebar_ads');
|
284 |
|
285 |
$default_features = [
|
286 |
+
'4_premium' => __('4 premium components now;', 'wbcr_factory_clearfy_235'),
|
287 |
+
'40_premium' => __('40 new premium components within a year for the single price;', 'wbcr_factory_clearfy_235'),
|
288 |
+
'multisite_support' => __('Multisite support;', 'wbcr_factory_clearfy_235'),
|
289 |
+
'advance_settings' => __('Advanced settings;', 'wbcr_factory_clearfy_235'),
|
290 |
+
'no_ads' => __('No ads;', 'wbcr_factory_clearfy_235'),
|
291 |
+
'perfect_support' => __('Perfect support.', 'wbcr_factory_clearfy_235')
|
292 |
];
|
293 |
|
294 |
/**
|
295 |
* @since 2.0.8 - added
|
296 |
*/
|
297 |
+
$suggetion_title = __('MORE IN CLEARFY <span>BUSINESS</span>', 'wbcr_factory_clearfy_235');
|
298 |
$suggetion_title = apply_filters('wbcr/clearfy/pages/suggetion_title', $suggetion_title, $plugin_name, $this->id);
|
299 |
|
300 |
/**
|
301 |
* @since 2.0.8 - deprecated
|
302 |
*/
|
303 |
+
$suggetion_features = wbcr_factory_444_apply_filters_deprecated('wbcr/clearfy/page_bussines_suggetion_features', [
|
304 |
$default_features,
|
305 |
$this->plugin->getPluginName(),
|
306 |
$this->id
|
316 |
$suggetion_features = $default_features;
|
317 |
}
|
318 |
?>
|
319 |
+
<div class="wbcr-factory-sidebar-widget wbcr-factory-clearfy-235-pro-suggettion">
|
320 |
<h3><?php echo $suggetion_title; ?></h3>
|
321 |
<ul>
|
322 |
<?php if( !empty($suggetion_features) ): ?>
|
327 |
</ul>
|
328 |
<a href="<?php echo $purchase_url ?>" class="wbcr-factory-purchase-premium" target="_blank"
|
329 |
rel="noopener">
|
330 |
+
<?php printf(__('Upgrade for $%s', 'wbcr_factory_clearfy_235'), $upgrade_price) ?>
|
331 |
</a>
|
332 |
</div>
|
333 |
<?php
|
349 |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAQAAABKmM6bAAAAUUlEQVQIHU3BsQ1AQABA0X/komIrnQHYwyhqQ1hBo9KZRKL9CBfeAwy2ri42JA4mPQ9rJ6OVt0BisFM3Po7qbEliru7m/FkY+TN64ZVxEzh4ndrMN7+Z+jXCAAAAAElFTkSuQmCC"
|
350 |
alt=""/>
|
351 |
</span>
|
352 |
+
- <?php _e('A neutral setting that can not harm your site, but you must be sure that you need to use it.', 'wbcr_factory_clearfy_235'); ?>
|
353 |
</li>
|
354 |
<li>
|
355 |
<span class="wbcr-factory-hint-icon-simple wbcr-factory-simple-grey">
|
356 |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAQAAABKmM6bAAAAUUlEQVQIHU3BsQ1AQABA0X/komIrnQHYwyhqQ1hBo9KZRKL9CBfeAwy2ri42JA4mPQ9rJ6OVt0BisFM3Po7qbEliru7m/FkY+TN64ZVxEzh4ndrMN7+Z+jXCAAAAAElFTkSuQmCC"
|
357 |
alt=""/>
|
358 |
</span>
|
359 |
+
- <?php _e('When set this option, you must be careful. Plugins and themes may depend on this function. You must be sure that you can disable this feature for the site.', 'wbcr_factory_clearfy_235'); ?>
|
360 |
</li>
|
361 |
<li>
|
362 |
<span class="wbcr-factory-hint-icon-simple wbcr-factory-simple-green">
|
363 |
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAQAAABKmM6bAAAAUUlEQVQIHU3BsQ1AQABA0X/komIrnQHYwyhqQ1hBo9KZRKL9CBfeAwy2ri42JA4mPQ9rJ6OVt0BisFM3Po7qbEliru7m/FkY+TN64ZVxEzh4ndrMN7+Z+jXCAAAAAElFTkSuQmCC"
|
364 |
alt=""/>
|
365 |
</span>
|
366 |
+
- <?php _e('Absolutely safe setting, We recommend to use.', 'wbcr_factory_clearfy_235'); ?>
|
367 |
</li>
|
368 |
</ul>
|
369 |
----------<br>
|
370 |
+
<p><?php _e('Hover to the icon to get help for the feature you selected.', 'wbcr_factory_clearfy_235'); ?></p>
|
371 |
</div>
|
372 |
<?php
|
373 |
}
|
389 |
$page_url = $args[0];
|
390 |
}
|
391 |
|
392 |
+
$page_url = apply_filters('wbcr_factory_pages_443_imppage_rating_widget_url', $page_url, $this->plugin->getPluginName(), $this->getResultId());
|
393 |
|
394 |
?>
|
395 |
<div class="wbcr-factory-sidebar-widget">
|
396 |
<p>
|
397 |
+
<strong><?php _e('Do you want the plugin to improved and update?', 'wbcr_factory_clearfy_235'); ?></strong>
|
398 |
</p>
|
399 |
+
<p><?php _e('Help the author, leave a review on wordpress.org. Thanks to feedback, I will know that the plugin is really useful to you and is needed.', 'wbcr_factory_clearfy_235'); ?></p>
|
400 |
+
<p><?php _e('And also write your ideas on how to extend or improve the plugin.', 'wbcr_factory_clearfy_235'); ?></p>
|
401 |
<p>
|
402 |
<i class="wbcr-factory-icon-5stars"></i>
|
403 |
<a href="<?php echo $page_url; ?>" title="Go rate us" target="_blank">
|
404 |
+
<strong><?php _e('Go rate us and push ideas', 'wbcr_factory_clearfy_235'); ?></strong>
|
405 |
</a>
|
406 |
</p>
|
407 |
</div>
|
419 |
?>
|
420 |
<div class="wbcr-factory-sidebar-widget">
|
421 |
<p>
|
422 |
+
<strong><?php _e('Donation for plugin development', 'wbcr_factory_clearfy_235'); ?></strong>
|
423 |
</p>
|
424 |
<?php if( get_locale() !== 'ru_RU' ): ?>
|
425 |
<form id="wbcr-factory-paypal-donation-form" action="https://www.paypal.com/cgi-bin/webscr"
|
427 |
<input type="hidden" name="cmd" value="_s-xclick">
|
428 |
<input type="hidden" name="hosted_button_id" value="VDX7JNTQPNPFW">
|
429 |
<div class="wbcr-factory-donation-price">5$</div>
|
430 |
+
<input type="image" src="<?php echo FACTORY_PAGES_443_URL ?>/templates/assets/img/paypal-donate.png"
|
431 |
border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
|
432 |
</form>
|
433 |
<?php else: ?>
|
452 |
|
453 |
?>
|
454 |
<div id="wbcr-clr-support-widget" class="wbcr-factory-sidebar-widget">
|
455 |
+
<p><strong><?php _e('Having Issues?', 'wbcr_factory_clearfy_235'); ?></strong></p>
|
456 |
<div class="wbcr-clr-support-widget-body">
|
457 |
<p>
|
458 |
+
<?php _e('We provide free support for this plugin. If you are pushed with a problem, just create a new ticket. We will definitely help you!', 'wbcr_factory_clearfy_235'); ?>
|
459 |
</p>
|
460 |
<ul>
|
461 |
<li><span class="dashicons dashicons-sos"></span>
|
462 |
<a href="<?php echo $free_support_url; ?>" target="_blank"
|
463 |
+
rel="noopener"><?php _e('Get starting free support', 'wbcr_factory_clearfy_235'); ?></a>
|
464 |
</li>
|
465 |
<li style="margin-top: 15px;background: #fff4f1;padding: 10px;color: #a58074;">
|
466 |
<span class="dashicons dashicons-warning"></span>
|
467 |
+
<?php printf(__('If you find a php error or a vulnerability in plugin, you can <a href="%s" target="_blank" rel="noopener">create ticket</a> in hot support that we responded instantly.', 'wbcr_factory_clearfy_235'), $hot_support_url); ?>
|
468 |
</li>
|
469 |
</ul>
|
470 |
</div>
|
479 |
$terms = "https://cm-wp.com/?bizpanda=privacy-policy";
|
480 |
?>
|
481 |
<div id="wbcr-clr-subscribe-widget" class="wbcr-factory-sidebar-widget wbcr-factory-subscribe-widget">
|
482 |
+
<p><strong><?php _e('Subscribe to plugin’s newsletter', 'wbcr_factory_clearfy_235'); ?></strong></p>
|
483 |
<div class="wbcr-clr-subscribe-widget-body">
|
484 |
|
485 |
<div class="wbcr-factory-subscribe-widget__message-contanier">
|
486 |
<div class="wbcr-factory-subscribe-widget__text wbcr-factory-subscribe-widget__text--success">
|
487 |
+
<?php _e("Thank you, you have successfully subscribed!", 'wbcr_factory_clearfy_235') ?>
|
488 |
</div>
|
489 |
<div class="wbcr-factory-subscribe-widget__text wbcr-factory-subscribe-widget__text--success2">
|
490 |
+
<?php _e("Thank you for your subscription, a confirmation email has been sent to you. You need to confirm your subscription to complete this process.", 'wbcr_factory_clearfy_235'); ?>
|
491 |
</div>
|
492 |
</div>
|
493 |
|
494 |
<form id="wbcr-factory-subscribe-widget__subscribe-form" method="post" data-nonce="<?php echo wp_create_nonce('clearfy_subscribe_for_' . $this->plugin->getPluginName()) ?>">
|
495 |
+
<input id="wbcr-factory-subscribe-widget__email" class="wbcr-factory-subscribe-widget__field" type="email" name="email" placeholder="<?php _e('Enter your email address', 'wbcr_factory_clearfy_235'); ?>" required>
|
496 |
<label class="wbcr-factory-subscribe-widget__checkbox-label">
|
497 |
<input class="wbcr-factory-subscribe-widget__checkbox" type="checkbox" name="agree_terms" required>
|
498 |
+
<?php echo sprintf(__("I confirm to subscribe to the CreativeMotion newsletter to receive the latest news. You can find how we use your information on our %s Privacy Policy %s", 'wbcr_factory_clearfy_235'), '<a href="' . $terms . '" target="_blank">', '</a>'); ?>
|
499 |
</label>
|
500 |
<input type="hidden" id="wbcr-factory-subscribe-widget__group-id" value="<?php echo esc_attr($group_id); ?>">
|
501 |
<input type="hidden" id="wbcr-factory-subscribe-widget__plugin-name" value="<?php echo esc_attr($this->plugin->getPluginName()); ?>">
|
502 |
+
<input type="submit" class="btn wbcr-factory-subscribe-widget__button" value="<?php _e('Subscribe', 'wbcr_factory_clearfy_235'); ?>">
|
503 |
</form>
|
504 |
</div>
|
505 |
</div>
|
514 |
*/
|
515 |
public function register_options_to_search()
|
516 |
{
|
517 |
+
require_once FACTORY_CLEARFY_235_DIR . '/includes/class-search-options.php';
|
518 |
|
519 |
$options = $this->getPageOptions();
|
520 |
$page_url = $this->getBaseUrl();
|
521 |
$page_id = $this->getResultId();
|
522 |
|
523 |
+
\WBCR\Factory_Clearfy_235\Search_Options::register_options($options, $page_url, $page_id);
|
524 |
}
|
525 |
|
526 |
/**
|
534 |
return;
|
535 |
}
|
536 |
?>
|
537 |
+
<div id="wbcr-factory-clearfy-235__search_options_form" class="wbcr-factory-clearfy-235__autocomplete-wrap">
|
538 |
+
<label for="autocomplete" class="wbcr-factory-clearfy-235__autocomplete-label">
|
539 |
+
<?php _e('Can\'t find the settings you need? Use the search by the plugin options:', 'wbcr_factory_clearfy_235'); ?>
|
540 |
</label>
|
541 |
+
<input type="text" name="country" id="wbcr-factory-clearfy-235__autocomplete"/>
|
542 |
|
543 |
</div>
|
544 |
<?php
|
libs/factory/clearfy/pages/setup-parts/class-step-custom.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
/**
|
6 |
* Step
|
@@ -18,10 +18,10 @@ class Step_Custom extends Step {
|
|
18 |
public function render_button($continue = true, $skip = false, $custom_title = null, $align = 'right')
|
19 |
{
|
20 |
$this->set_button_handler();
|
21 |
-
$button_title = !empty($custom_title) ? $custom_title : __('Continue', '
|
22 |
|
23 |
if( !$this->get_next_id() ) {
|
24 |
-
$button_title = __('Finish', '
|
25 |
}
|
26 |
|
27 |
if( !in_array($align, ['center', 'left', 'right']) ) {
|
@@ -29,13 +29,13 @@ class Step_Custom extends Step {
|
|
29 |
}
|
30 |
|
31 |
?>
|
32 |
-
<form method="post" id="w-factory-clearfy-
|
33 |
-
<div class="w-factory-clearfy-
|
34 |
<?php if( $skip ): ?>
|
35 |
-
<input type="submit" name="skip_button_<?php echo $this->get_id() ?>" class="button-primary button button-large w-factory-clearfy-
|
36 |
<?php endif; ?>
|
37 |
<?php if( $continue ): ?>
|
38 |
-
<input type="submit" name="continue_button_<?php echo $this->get_id() ?>" class="button-primary button button-large w-factory-clearfy-
|
39 |
<?php endif; ?>
|
40 |
</div>
|
41 |
</form>
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\FactoryClearfy235\Pages;
|
4 |
|
5 |
/**
|
6 |
* Step
|
18 |
public function render_button($continue = true, $skip = false, $custom_title = null, $align = 'right')
|
19 |
{
|
20 |
$this->set_button_handler();
|
21 |
+
$button_title = !empty($custom_title) ? $custom_title : __('Continue', 'wbcr_factory_clearfy_235');
|
22 |
|
23 |
if( !$this->get_next_id() ) {
|
24 |
+
$button_title = __('Finish', 'wbcr_factory_clearfy_235');
|
25 |
}
|
26 |
|
27 |
if( !in_array($align, ['center', 'left', 'right']) ) {
|
29 |
}
|
30 |
|
31 |
?>
|
32 |
+
<form method="post" id="w-factory-clearfy-235__setup-form-<?php echo $this->get_id() ?>" class="form-horizontal">
|
33 |
+
<div class="w-factory-clearfy-235__form-buttons" style="text-align: <?php echo esc_attr($align); ?>">
|
34 |
<?php if( $skip ): ?>
|
35 |
+
<input type="submit" name="skip_button_<?php echo $this->get_id() ?>" class="button-primary button button-large w-factory-clearfy-235__skip-button" value="<?php _e('Skip', 'wbcr_factory_clearfy_235') ?>">
|
36 |
<?php endif; ?>
|
37 |
<?php if( $continue ): ?>
|
38 |
+
<input type="submit" name="continue_button_<?php echo $this->get_id() ?>" class="button-primary button button-large w-factory-clearfy-235__continue-button" value="<?php echo $button_title; ?>">
|
39 |
<?php endif; ?>
|
40 |
</div>
|
41 |
</form>
|
libs/factory/clearfy/pages/setup-parts/class-step-form.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
/**
|
6 |
* Step
|
@@ -10,7 +10,7 @@ namespace WBCR\FactoryClearfy233\Pages;
|
|
10 |
*/
|
11 |
class Step_Form extends Step {
|
12 |
|
13 |
-
public function __construct(\WBCR\
|
14 |
{
|
15 |
parent::__construct($page);
|
16 |
}
|
@@ -33,12 +33,12 @@ class Step_Form extends Step {
|
|
33 |
protected function instance_form($options)
|
34 |
{
|
35 |
|
36 |
-
$form = new \
|
37 |
'scope' => rtrim($this->plugin->getPrefix(), '_'),
|
38 |
'name' => $this->page->getResultId() . "-options-" . $this->get_id()
|
39 |
], $this->plugin);
|
40 |
|
41 |
-
$form->setProvider(new \
|
42 |
|
43 |
$form_options = [];
|
44 |
|
@@ -83,20 +83,20 @@ class Step_Form extends Step {
|
|
83 |
return $form;
|
84 |
}
|
85 |
|
86 |
-
protected function render_form(\
|
87 |
{
|
88 |
?>
|
89 |
-
<form method="post" id="w-factory-clearfy-
|
90 |
<?php $form->html(); ?>
|
91 |
-
<div class="w-factory-clearfy-
|
92 |
-
<!--<input type="submit" name="skip_button_<?php /*echo $this->get_id() */ ?>" class="button-primary button button-large w-factory-clearfy-
|
93 |
-
<input type="submit" name="continue_button_<?php echo $this->get_id() ?>" class="button-primary button button-large w-factory-clearfy-
|
94 |
</div>
|
95 |
</form>
|
96 |
<?php
|
97 |
}
|
98 |
|
99 |
-
protected function set_form_handler(\
|
100 |
{
|
101 |
if( isset($_POST['continue_button_' . $this->get_id()]) ) {
|
102 |
$form->save();
|
@@ -121,8 +121,8 @@ class Step_Form extends Step {
|
|
121 |
$form = $this->instance_form($this->get_form_options());
|
122 |
?>
|
123 |
<div id="WBCR" class="wrap">
|
124 |
-
<div class="wbcr-factory-pages-
|
125 |
-
<div class="w-factory-clearfy-
|
126 |
<h3><?php echo $this->get_title(); ?></h3>
|
127 |
<p style="text-align: left;"><?php echo $this->get_form_description(); ?></p>
|
128 |
</div>
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\FactoryClearfy235\Pages;
|
4 |
|
5 |
/**
|
6 |
* Step
|
10 |
*/
|
11 |
class Step_Form extends Step {
|
12 |
|
13 |
+
public function __construct(\WBCR\FactoryClearfy235\Pages\Setup $page)
|
14 |
{
|
15 |
parent::__construct($page);
|
16 |
}
|
33 |
protected function instance_form($options)
|
34 |
{
|
35 |
|
36 |
+
$form = new \Wbcr_FactoryForms441_Form([
|
37 |
'scope' => rtrim($this->plugin->getPrefix(), '_'),
|
38 |
'name' => $this->page->getResultId() . "-options-" . $this->get_id()
|
39 |
], $this->plugin);
|
40 |
|
41 |
+
$form->setProvider(new \Wbcr_FactoryForms441_OptionsValueProvider($this->plugin));
|
42 |
|
43 |
$form_options = [];
|
44 |
|
83 |
return $form;
|
84 |
}
|
85 |
|
86 |
+
protected function render_form(\Wbcr_FactoryForms441_Form $form)
|
87 |
{
|
88 |
?>
|
89 |
+
<form method="post" id="w-factory-clearfy-235__setup-form-<?php echo $this->get_id() ?>" class="w-factory-clearfy-235__setup-form form-horizontal">
|
90 |
<?php $form->html(); ?>
|
91 |
+
<div class="w-factory-clearfy-235__form-buttons">
|
92 |
+
<!--<input type="submit" name="skip_button_<?php /*echo $this->get_id() */ ?>" class="button-primary button button-large w-factory-clearfy-235__skip-button" value="<?php /*_e('Skip', 'wbcr_factory_clearfy_235') */ ?>">-->
|
93 |
+
<input type="submit" name="continue_button_<?php echo $this->get_id() ?>" class="button-primary button button-large w-factory-clearfy-235__continue-button" value="<?php _e('Continue', 'wbcr_factory_clearfy_235') ?>">
|
94 |
</div>
|
95 |
</form>
|
96 |
<?php
|
97 |
}
|
98 |
|
99 |
+
protected function set_form_handler(\Wbcr_FactoryForms441_Form $form)
|
100 |
{
|
101 |
if( isset($_POST['continue_button_' . $this->get_id()]) ) {
|
102 |
$form->save();
|
121 |
$form = $this->instance_form($this->get_form_options());
|
122 |
?>
|
123 |
<div id="WBCR" class="wrap">
|
124 |
+
<div class="wbcr-factory-pages-443-impressive-page-template factory-bootstrap-444 factory-fontawesome-000">
|
125 |
+
<div class="w-factory-clearfy-235-setup__inner-wrap">
|
126 |
<h3><?php echo $this->get_title(); ?></h3>
|
127 |
<p style="text-align: left;"><?php echo $this->get_form_description(); ?></p>
|
128 |
</div>
|
libs/factory/clearfy/pages/setup-parts/class-step.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
/**
|
6 |
* Step
|
@@ -16,16 +16,16 @@ abstract class Step {
|
|
16 |
protected $next_id = false;
|
17 |
|
18 |
/**
|
19 |
-
* @var \WBCR\
|
20 |
*/
|
21 |
protected $page;
|
22 |
|
23 |
/**
|
24 |
-
* @var \
|
25 |
*/
|
26 |
protected $plugin;
|
27 |
|
28 |
-
public function __construct(\WBCR\
|
29 |
{
|
30 |
$this->page = $page;
|
31 |
$this->plugin = $page->plugin;
|
@@ -51,7 +51,7 @@ abstract class Step {
|
|
51 |
*
|
52 |
* @return void
|
53 |
* @since 1.0.0
|
54 |
-
* @see
|
55 |
*
|
56 |
*/
|
57 |
public function assets($scripts, $styles)
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\FactoryClearfy235\Pages;
|
4 |
|
5 |
/**
|
6 |
* Step
|
16 |
protected $next_id = false;
|
17 |
|
18 |
/**
|
19 |
+
* @var \WBCR\FactoryClearfy235\Pages\Setup
|
20 |
*/
|
21 |
protected $page;
|
22 |
|
23 |
/**
|
24 |
+
* @var \Wbcr_Factory444_Plugin
|
25 |
*/
|
26 |
protected $plugin;
|
27 |
|
28 |
+
public function __construct(\WBCR\FactoryClearfy235\Pages\Setup $page)
|
29 |
{
|
30 |
$this->page = $page;
|
31 |
$this->plugin = $page->plugin;
|
51 |
*
|
52 |
* @return void
|
53 |
* @since 1.0.0
|
54 |
+
* @see FactoryPages443_AdminPage
|
55 |
*
|
56 |
*/
|
57 |
public function assets($scripts, $styles)
|
libs/factory/core/ajax/install-addons.php
CHANGED
@@ -15,7 +15,7 @@ if( !defined('ABSPATH') ) {
|
|
15 |
/**
|
16 |
* This action allows you to process Ajax requests to activate external components Clearfy
|
17 |
*/
|
18 |
-
function
|
19 |
{
|
20 |
check_ajax_referer('updates');
|
21 |
|
@@ -24,11 +24,11 @@ function wfactory_442_install_components($plugin_instance)
|
|
24 |
$storage = $plugin_instance->request->post('storage', null, true);
|
25 |
|
26 |
if( !current_user_can('update_plugins') ) {
|
27 |
-
wp_die(__('You don\'t have enough capability to edit this information.', '
|
28 |
}
|
29 |
|
30 |
if( empty($slug) || empty($action) ) {
|
31 |
-
wp_send_json_error(['error_message' => __('Required attributes are not passed or empty.', '
|
32 |
}
|
33 |
$success = false;
|
34 |
$send_data = [];
|
@@ -44,7 +44,7 @@ function wfactory_442_install_components($plugin_instance)
|
|
44 |
$success = true;
|
45 |
}
|
46 |
} else {
|
47 |
-
wp_send_json_error(['error_message' => __('You are trying to perform an invalid action.', '
|
48 |
}
|
49 |
} else if( $storage == 'wordpress' || $storage == 'creativemotion' ) {
|
50 |
if( !empty($slug) ) {
|
@@ -80,7 +80,7 @@ function wfactory_442_install_components($plugin_instance)
|
|
80 |
/*if ( $action == 'deactivate' ) {
|
81 |
$is_need_rewrite_rules = $plugin_instance->getPopulateOption( 'need_rewrite_rules' );
|
82 |
if ( $is_need_rewrite_rules ) {
|
83 |
-
$send_data['need_rewrite_rules'] = sprintf( '<span class="wbcr-clr-need-rewrite-rules-message">' . __( 'When you deactivate some components, permanent links may work incorrectly. If this happens, please, <a href="%s">update the permalinks</a>, so you could complete the deactivation.', '
|
84 |
}
|
85 |
}*/
|
86 |
|
@@ -94,7 +94,7 @@ function wfactory_442_install_components($plugin_instance)
|
|
94 |
wp_send_json_success($send_data);
|
95 |
}
|
96 |
|
97 |
-
wp_send_json_error(['error_message' => __('An unknown error occurred during the activation of the component.', '
|
98 |
}
|
99 |
|
100 |
/**
|
@@ -102,18 +102,18 @@ function wfactory_442_install_components($plugin_instance)
|
|
102 |
* to get the component to work. Usually this is a call to the installation functions,
|
103 |
* but in some cases, overwriting permanent references or compatibility checks.
|
104 |
*/
|
105 |
-
function
|
106 |
{
|
107 |
check_ajax_referer('updates');
|
108 |
|
109 |
$component_name = $plugin_instance->request->post('plugin', null, true);
|
110 |
|
111 |
if( !current_user_can('update_plugins') ) {
|
112 |
-
wp_send_json_error(['error_message' => __('You don\'t have enough capability to edit this information.', '
|
113 |
}
|
114 |
|
115 |
if( empty($component_name) ) {
|
116 |
-
wp_send_json_error(['error_message' => __('Required attribute [component_name] is empty.', '
|
117 |
}
|
118 |
// todo: для совместимости с плагином Clearfy
|
119 |
if( "wbcr_clearfy" === $plugin_instance->getPluginName() ) {
|
@@ -133,7 +133,7 @@ function wfactory_442_prepare_component($plugin_instance)
|
|
133 |
*
|
134 |
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
|
135 |
*/
|
136 |
-
function
|
137 |
{
|
138 |
check_ajax_referer('updates');
|
139 |
|
15 |
/**
|
16 |
* This action allows you to process Ajax requests to activate external components Clearfy
|
17 |
*/
|
18 |
+
function wfactory_444_install_components($plugin_instance)
|
19 |
{
|
20 |
check_ajax_referer('updates');
|
21 |
|
24 |
$storage = $plugin_instance->request->post('storage', null, true);
|
25 |
|
26 |
if( !current_user_can('update_plugins') ) {
|
27 |
+
wp_die(__('You don\'t have enough capability to edit this information.', 'wbcr_factory_444'), __('Something went wrong.'), 403);
|
28 |
}
|
29 |
|
30 |
if( empty($slug) || empty($action) ) {
|
31 |
+
wp_send_json_error(['error_message' => __('Required attributes are not passed or empty.', 'wbcr_factory_444')]);
|
32 |
}
|
33 |
$success = false;
|
34 |
$send_data = [];
|
44 |
$success = true;
|
45 |
}
|
46 |
} else {
|
47 |
+
wp_send_json_error(['error_message' => __('You are trying to perform an invalid action.', 'wbcr_factory_444')]);
|
48 |
}
|
49 |
} else if( $storage == 'wordpress' || $storage == 'creativemotion' ) {
|
50 |
if( !empty($slug) ) {
|
80 |
/*if ( $action == 'deactivate' ) {
|
81 |
$is_need_rewrite_rules = $plugin_instance->getPopulateOption( 'need_rewrite_rules' );
|
82 |
if ( $is_need_rewrite_rules ) {
|
83 |
+
$send_data['need_rewrite_rules'] = sprintf( '<span class="wbcr-clr-need-rewrite-rules-message">' . __( 'When you deactivate some components, permanent links may work incorrectly. If this happens, please, <a href="%s">update the permalinks</a>, so you could complete the deactivation.', 'wbcr_factory_444' ), admin_url( 'options-permalink.php' ) . '</span>' );
|
84 |
}
|
85 |
}*/
|
86 |
|
94 |
wp_send_json_success($send_data);
|
95 |
}
|
96 |
|
97 |
+
wp_send_json_error(['error_message' => __('An unknown error occurred during the activation of the component.', 'wbcr_factory_444')]);
|
98 |
}
|
99 |
|
100 |
/**
|
102 |
* to get the component to work. Usually this is a call to the installation functions,
|
103 |
* but in some cases, overwriting permanent references or compatibility checks.
|
104 |
*/
|
105 |
+
function wfactory_444_prepare_component($plugin_instance)
|
106 |
{
|
107 |
check_ajax_referer('updates');
|
108 |
|
109 |
$component_name = $plugin_instance->request->post('plugin', null, true);
|
110 |
|
111 |
if( !current_user_can('update_plugins') ) {
|
112 |
+
wp_send_json_error(['error_message' => __('You don\'t have enough capability to edit this information.', 'wbcr_factory_444')], 403);
|
113 |
}
|
114 |
|
115 |
if( empty($component_name) ) {
|
116 |
+
wp_send_json_error(['error_message' => __('Required attribute [component_name] is empty.', 'wbcr_factory_444')]);
|
117 |
}
|
118 |
// todo: для совместимости с плагином Clearfy
|
119 |
if( "wbcr_clearfy" === $plugin_instance->getPluginName() ) {
|
133 |
*
|
134 |
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
|
135 |
*/
|
136 |
+
function wfactory_444_creativemotion_install_plugin($plugin_instance)
|
137 |
{
|
138 |
check_ajax_referer('updates');
|
139 |
|
libs/factory/core/assets/js/core-components.js
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
* This event is intended for installation, removal, activation, deactivation of external add-ons
|
21 |
*/
|
22 |
|
23 |
-
$(document).on('click', '.wfactory-
|
24 |
var $this = $(this),
|
25 |
button_i18n = $(this).data('i18n'),
|
26 |
plugin_slug = $(this).data('slug'),
|
@@ -30,11 +30,11 @@
|
|
30 |
wpnonce = $(this).data('wpnonce');
|
31 |
|
32 |
var action = ('creativemotion' === storage)
|
33 |
-
? 'wfactory-
|
34 |
: 'install-plugin';
|
35 |
|
36 |
if( storage === 'freemius' || ((storage === 'wordpress' || storage === 'creativemotion' || storage === 'internal') && (plugin_action === 'activate' || plugin_action === 'deactivate')) ) {
|
37 |
-
action = 'wfactory-
|
38 |
} else if( storage === 'wordpress' && plugin_action === 'delete' ) {
|
39 |
action = 'delete-plugin';
|
40 |
}
|
@@ -54,11 +54,11 @@
|
|
54 |
|
55 |
$this.addClass('disabled').text(button_i18n.loading);
|
56 |
|
57 |
-
$.
|
58 |
|
59 |
self.sendRequest(data, function(response) {
|
60 |
if( !response || !response.success ) {
|
61 |
-
$.
|
62 |
$this,
|
63 |
data,
|
64 |
response
|
@@ -80,7 +80,7 @@
|
|
80 |
$this.removeClass('button-default').addClass('button-primary');
|
81 |
}
|
82 |
|
83 |
-
$.
|
84 |
$this,
|
85 |
data,
|
86 |
response
|
@@ -96,7 +96,7 @@
|
|
96 |
$this.removeClass('button-primary').addClass('button-default');
|
97 |
}
|
98 |
|
99 |
-
$.
|
100 |
$this,
|
101 |
data,
|
102 |
response
|
@@ -124,7 +124,7 @@
|
|
124 |
$this.removeClass('button-default').addClass('button-primary');
|
125 |
}
|
126 |
|
127 |
-
$.
|
128 |
$this,
|
129 |
data,
|
130 |
response
|
@@ -134,7 +134,7 @@
|
|
134 |
|
135 |
plugin_action = 'install';
|
136 |
|
137 |
-
$.
|
138 |
}
|
139 |
} else {
|
140 |
if( plugin_action === 'install' ) {
|
@@ -144,7 +144,7 @@
|
|
144 |
|
145 |
$this.text(button_i18n[plugin_action]);
|
146 |
|
147 |
-
$.
|
148 |
});
|
149 |
|
150 |
return false;
|
@@ -169,7 +169,7 @@
|
|
169 |
.addClass('disabled')
|
170 |
.text(button_i18n.preparation);
|
171 |
|
172 |
-
sendData.action = 'wfactory-
|
173 |
|
174 |
this.sendRequest(sendData, function(response) {
|
175 |
componentButton.removeClass('disabled');
|
@@ -177,7 +177,7 @@
|
|
177 |
if( !response || !response.success ) {
|
178 |
componentButton.text(button_i18n['activate']);
|
179 |
|
180 |
-
$.
|
181 |
componentButton,
|
182 |
sendData,
|
183 |
response
|
@@ -187,7 +187,7 @@
|
|
187 |
|
188 |
componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
|
189 |
|
190 |
-
$.
|
191 |
componentButton,
|
192 |
sendData,
|
193 |
response
|
@@ -210,7 +210,7 @@
|
|
210 |
console.log(xhr.responseText);
|
211 |
console.log(thrownError);
|
212 |
|
213 |
-
$.
|
214 |
xhr,
|
215 |
ajaxOptions,
|
216 |
thrownError
|
20 |
* This event is intended for installation, removal, activation, deactivation of external add-ons
|
21 |
*/
|
22 |
|
23 |
+
$(document).on('click', '.wfactory-444-process-button', function() {
|
24 |
var $this = $(this),
|
25 |
button_i18n = $(this).data('i18n'),
|
26 |
plugin_slug = $(this).data('slug'),
|
30 |
wpnonce = $(this).data('wpnonce');
|
31 |
|
32 |
var action = ('creativemotion' === storage)
|
33 |
+
? 'wfactory-444-creativemotion-install-plugin'
|
34 |
: 'install-plugin';
|
35 |
|
36 |
if( storage === 'freemius' || ((storage === 'wordpress' || storage === 'creativemotion' || storage === 'internal') && (plugin_action === 'activate' || plugin_action === 'deactivate')) ) {
|
37 |
+
action = 'wfactory-444-intall-component';
|
38 |
} else if( storage === 'wordpress' && plugin_action === 'delete' ) {
|
39 |
action = 'delete-plugin';
|
40 |
}
|
54 |
|
55 |
$this.addClass('disabled').text(button_i18n.loading);
|
56 |
|
57 |
+
$.wfactory_444.hooks.run('core/components/pre_update', [$this, data]);
|
58 |
|
59 |
self.sendRequest(data, function(response) {
|
60 |
if( !response || !response.success ) {
|
61 |
+
$.wfactory_444.hooks.run('core/components/update_error', [
|
62 |
$this,
|
63 |
data,
|
64 |
response
|
80 |
$this.removeClass('button-default').addClass('button-primary');
|
81 |
}
|
82 |
|
83 |
+
$.wfactory_444.hooks.run('core/components/installed', [
|
84 |
$this,
|
85 |
data,
|
86 |
response
|
96 |
$this.removeClass('button-primary').addClass('button-default');
|
97 |
}
|
98 |
|
99 |
+
$.wfactory_444.hooks.run('core/components/pre_activate', [
|
100 |
$this,
|
101 |
data,
|
102 |
response
|
124 |
$this.removeClass('button-default').addClass('button-primary');
|
125 |
}
|
126 |
|
127 |
+
$.wfactory_444.hooks.run('core/components/deactivated', [
|
128 |
$this,
|
129 |
data,
|
130 |
response
|
134 |
|
135 |
plugin_action = 'install';
|
136 |
|
137 |
+
$.wfactory_444.hooks.run('core/components/deleted', [$this, data, response]);
|
138 |
}
|
139 |
} else {
|
140 |
if( plugin_action === 'install' ) {
|
144 |
|
145 |
$this.text(button_i18n[plugin_action]);
|
146 |
|
147 |
+
$.wfactory_444.hooks.run('core/components/updated', [$this, data, response]);
|
148 |
});
|
149 |
|
150 |
return false;
|
169 |
.addClass('disabled')
|
170 |
.text(button_i18n.preparation);
|
171 |
|
172 |
+
sendData.action = 'wfactory-444-prepare-component';
|
173 |
|
174 |
this.sendRequest(sendData, function(response) {
|
175 |
componentButton.removeClass('disabled');
|
177 |
if( !response || !response.success ) {
|
178 |
componentButton.text(button_i18n['activate']);
|
179 |
|
180 |
+
$.wfactory_444.hooks.run('core/components/activation_error', [
|
181 |
componentButton,
|
182 |
sendData,
|
183 |
response
|
187 |
|
188 |
componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
|
189 |
|
190 |
+
$.wfactory_444.hooks.run('core/components/activated', [
|
191 |
componentButton,
|
192 |
sendData,
|
193 |
response
|
210 |
console.log(xhr.responseText);
|
211 |
console.log(thrownError);
|
212 |
|
213 |
+
$.wfactory_444.hooks.run('core/components/ajax_error', [
|
214 |
xhr,
|
215 |
ajaxOptions,
|
216 |
thrownError
|
libs/factory/core/assets/js/core-general.js
CHANGED
@@ -8,11 +8,11 @@
|
|
8 |
(function($) {
|
9 |
'use strict';
|
10 |
|
11 |
-
if( !$.
|
12 |
-
$.
|
13 |
}
|
14 |
|
15 |
-
$.
|
16 |
|
17 |
/**
|
18 |
* A set of registered filters.
|
@@ -79,20 +79,20 @@
|
|
79 |
}
|
80 |
};
|
81 |
|
82 |
-
$.
|
83 |
|
84 |
/**
|
85 |
* Applies filters to a given input value.
|
86 |
*/
|
87 |
run: function(filterName, args) {
|
88 |
-
$.
|
89 |
},
|
90 |
|
91 |
/**
|
92 |
* Registers a new filter.
|
93 |
*/
|
94 |
add: function(filterName, callback, priority) {
|
95 |
-
$.
|
96 |
}
|
97 |
};
|
98 |
|
8 |
(function($) {
|
9 |
'use strict';
|
10 |
|
11 |
+
if( !$.wfactory_444 ) {
|
12 |
+
$.wfactory_444 = {};
|
13 |
}
|
14 |
|
15 |
+
$.wfactory_444.filters = $.wfactory_444.filters || {
|
16 |
|
17 |
/**
|
18 |
* A set of registered filters.
|
79 |
}
|
80 |
};
|
81 |
|
82 |
+
$.wfactory_444.hooks = $.wfactory_444.hooks || {
|
83 |
|
84 |
/**
|
85 |
* Applies filters to a given input value.
|
86 |
*/
|
87 |
run: function(filterName, args) {
|
88 |
+
$.wfactory_444.filters.run(filterName, args);
|
89 |
},
|
90 |
|
91 |
/**
|
92 |
* Registers a new filter.
|
93 |
*/
|
94 |
add: function(filterName, callback, priority) {
|
95 |
+
$.wfactory_444.filters.add(filterName, callback, priority);
|
96 |
}
|
97 |
};
|
98 |
|
libs/factory/core/boot.php
CHANGED
@@ -14,60 +14,60 @@ if( !defined('ABSPATH') ) {
|
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
-
if( defined('
|
18 |
return;
|
19 |
}
|
20 |
|
21 |
-
define('
|
22 |
|
23 |
-
define('
|
24 |
|
25 |
-
define('
|
26 |
-
define('
|
27 |
|
28 |
-
load_plugin_textdomain('
|
29 |
|
30 |
#comp merge
|
31 |
-
require_once(
|
32 |
|
33 |
-
require_once(
|
34 |
-
require_once(
|
35 |
|
36 |
-
require_once(
|
37 |
-
require_once(
|
38 |
-
require_once(
|
39 |
-
require_once(
|
40 |
-
require_once(
|
41 |
|
42 |
// ASSETS
|
43 |
-
require_once(
|
44 |
-
require_once(
|
45 |
-
require_once(
|
46 |
|
47 |
// PREMIUM
|
48 |
-
require_once(
|
49 |
-
require_once(
|
50 |
-
require_once(
|
51 |
|
52 |
// UPDATES
|
53 |
-
require_once(
|
54 |
-
require_once(
|
55 |
-
require_once(
|
56 |
-
require_once(
|
57 |
-
require_once(
|
58 |
|
59 |
-
require_once(
|
60 |
|
61 |
-
require_once(
|
62 |
-
require_once(
|
63 |
#endcomp
|
64 |
|
65 |
add_action('admin_enqueue_scripts', function () {
|
66 |
-
wp_enqueue_script('wfactory-
|
67 |
'jquery'
|
68 |
-
],
|
69 |
-
wp_enqueue_script('wfactory-
|
70 |
'jquery',
|
71 |
-
'wfactory-
|
72 |
-
],
|
73 |
});
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
+
if( defined('FACTORY_444_LOADED') ) {
|
18 |
return;
|
19 |
}
|
20 |
|
21 |
+
define('FACTORY_444_LOADED', true);
|
22 |
|
23 |
+
define('FACTORY_444_VERSION', '4.4.4');
|
24 |
|
25 |
+
define('FACTORY_444_DIR', dirname(__FILE__));
|
26 |
+
define('FACTORY_444_URL', plugins_url(null, __FILE__));
|
27 |
|
28 |
+
load_plugin_textdomain('wbcr_factory_444', false, dirname(plugin_basename(__FILE__)) . '/langs');
|
29 |
|
30 |
#comp merge
|
31 |
+
require_once(FACTORY_444_DIR . '/includes/functions.php');
|
32 |
|
33 |
+
require_once(FACTORY_444_DIR . '/includes/entities/class-factory-paths.php');
|
34 |
+
require_once(FACTORY_444_DIR . '/includes/entities/class-factory-support.php');
|
35 |
|
36 |
+
require_once(FACTORY_444_DIR . '/includes/class-factory-requests.php');
|
37 |
+
require_once(FACTORY_444_DIR . '/includes/class-factory-options.php');
|
38 |
+
require_once(FACTORY_444_DIR . '/includes/class-factory-plugin-base.php');
|
39 |
+
require_once(FACTORY_444_DIR . '/includes/class-factory-migrations.php');
|
40 |
+
require_once(FACTORY_444_DIR . '/includes/class-factory-notices.php');
|
41 |
|
42 |
// ASSETS
|
43 |
+
require_once(FACTORY_444_DIR . '/includes/assets-managment/class-factory-assets-list.php');
|
44 |
+
require_once(FACTORY_444_DIR . '/includes/assets-managment/class-factory-script-list.php');
|
45 |
+
require_once(FACTORY_444_DIR . '/includes/assets-managment/class-factory-style-list.php');
|
46 |
|
47 |
// PREMIUM
|
48 |
+
require_once(FACTORY_444_DIR . '/includes/premium/class-factory-license-interface.php');
|
49 |
+
require_once(FACTORY_444_DIR . '/includes/premium/class-factory-provider-abstract.php');
|
50 |
+
require_once(FACTORY_444_DIR . '/includes/premium/class-factory-manager.php');
|
51 |
|
52 |
// UPDATES
|
53 |
+
require_once(FACTORY_444_DIR . '/includes/updates/repositories/class-factory-repository-abstract.php');
|
54 |
+
require_once(FACTORY_444_DIR . '/includes/updates/repositories/class-factory-wordpress.php');
|
55 |
+
require_once(FACTORY_444_DIR . '/includes/updates/repositories/class-factory-github.php');
|
56 |
+
require_once(FACTORY_444_DIR . '/includes/updates/class-factory-upgrader.php');
|
57 |
+
require_once(FACTORY_444_DIR . '/includes/updates/class-factory-premium-upgrader.php');
|
58 |
|
59 |
+
require_once(FACTORY_444_DIR . '/includes/class-factory-plugin-abstract.php');
|
60 |
|
61 |
+
require_once(FACTORY_444_DIR . '/includes/activation/class-factory-activator.php');
|
62 |
+
require_once(FACTORY_444_DIR . '/includes/activation/class-factory-update.php');
|
63 |
#endcomp
|
64 |
|
65 |
add_action('admin_enqueue_scripts', function () {
|
66 |
+
wp_enqueue_script('wfactory-444-core-general', FACTORY_444_URL . '/assets/js/core-general.js', [
|
67 |
'jquery'
|
68 |
+
], FACTORY_444_VERSION);
|
69 |
+
wp_enqueue_script('wfactory-444-core-components', FACTORY_444_URL . '/assets/js/core-components.js', [
|
70 |
'jquery',
|
71 |
+
'wfactory-444-core-general'
|
72 |
+
], FACTORY_444_VERSION);
|
73 |
});
|
libs/factory/core/includes/activation/class-factory-activator.php
CHANGED
@@ -19,16 +19,16 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
*
|
20 |
* @since 1.0.0
|
21 |
*/
|
22 |
-
abstract class
|
23 |
|
24 |
/**
|
25 |
* Curent plugin.
|
26 |
*
|
27 |
-
* @var
|
28 |
*/
|
29 |
public $plugin;
|
30 |
|
31 |
-
public function __construct(
|
32 |
$this->plugin = $plugin;
|
33 |
}
|
34 |
|
19 |
*
|
20 |
* @since 1.0.0
|
21 |
*/
|
22 |
+
abstract class Wbcr_Factory444_Activator {
|
23 |
|
24 |
/**
|
25 |
* Curent plugin.
|
26 |
*
|
27 |
+
* @var Wbcr_Factory444_Plugin
|
28 |
*/
|
29 |
public $plugin;
|
30 |
|
31 |
+
public function __construct( Wbcr_Factory444_Plugin $plugin ) {
|
32 |
$this->plugin = $plugin;
|
33 |
}
|
34 |
|
libs/factory/core/includes/activation/class-factory-update.php
CHANGED
@@ -20,16 +20,16 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
*/
|
23 |
-
abstract class
|
24 |
|
25 |
/**
|
26 |
* Current plugin
|
27 |
*
|
28 |
-
* @var
|
29 |
*/
|
30 |
var $plugin;
|
31 |
|
32 |
-
public function __construct(
|
33 |
$this->plugin = $plugin;
|
34 |
}
|
35 |
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
*/
|
23 |
+
abstract class Wbcr_Factory444_Update {
|
24 |
|
25 |
/**
|
26 |
* Current plugin
|
27 |
*
|
28 |
+
* @var Wbcr_Factory444_Plugin
|
29 |
*/
|
30 |
var $plugin;
|
31 |
|
32 |
+
public function __construct( Wbcr_Factory444_Plugin $plugin ) {
|
33 |
$this->plugin = $plugin;
|
34 |
}
|
35 |
|
libs/factory/core/includes/assets-managment/class-factory-assets-list.php
CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
*
|
20 |
* @since 1.0.0
|
21 |
*/
|
22 |
-
class
|
23 |
|
24 |
protected $all = [];
|
25 |
public $header_place = [];
|
@@ -29,15 +29,15 @@ class Wbcr_Factory442_AssetsList {
|
|
29 |
protected $default_place;
|
30 |
|
31 |
/**
|
32 |
-
* @var
|
33 |
*/
|
34 |
protected $plugin;
|
35 |
|
36 |
/**
|
37 |
-
* @param
|
38 |
* @param bool $defaultIsFooter
|
39 |
*/
|
40 |
-
public function __construct(
|
41 |
$this->plugin = $plugin;
|
42 |
|
43 |
if ( $defaultIsFooter ) {
|
19 |
*
|
20 |
* @since 1.0.0
|
21 |
*/
|
22 |
+
class Wbcr_Factory444_AssetsList {
|
23 |
|
24 |
protected $all = [];
|
25 |
public $header_place = [];
|
29 |
protected $default_place;
|
30 |
|
31 |
/**
|
32 |
+
* @var Wbcr_Factory444_Plugin
|
33 |
*/
|
34 |
protected $plugin;
|
35 |
|
36 |
/**
|
37 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
38 |
* @param bool $defaultIsFooter
|
39 |
*/
|
40 |
+
public function __construct( Wbcr_Factory444_Plugin $plugin, $defaultIsFooter = true ) {
|
41 |
$this->plugin = $plugin;
|
42 |
|
43 |
if ( $defaultIsFooter ) {
|
libs/factory/core/includes/assets-managment/class-factory-script-list.php
CHANGED
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
*/
|
23 |
-
class
|
24 |
|
25 |
public $localize_data = [];
|
26 |
public $use_ajax = false;
|
@@ -149,7 +149,7 @@ class Wbcr_Factory442_ScriptList extends Wbcr_Factory442_AssetsList {
|
|
149 |
* @param string $varname
|
150 |
* @param array $data
|
151 |
*
|
152 |
-
* @return
|
153 |
*/
|
154 |
public function localize( $varname, $data ) {
|
155 |
$bindTo = count( $this->all ) == 0 ? null : end( $this->all );
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
*/
|
23 |
+
class Wbcr_Factory444_ScriptList extends Wbcr_Factory444_AssetsList {
|
24 |
|
25 |
public $localize_data = [];
|
26 |
public $use_ajax = false;
|
149 |
* @param string $varname
|
150 |
* @param array $data
|
151 |
*
|
152 |
+
* @return Wbcr_Factory444_ScriptList $this
|
153 |
*/
|
154 |
public function localize( $varname, $data ) {
|
155 |
$bindTo = count( $this->all ) == 0 ? null : end( $this->all );
|
libs/factory/core/includes/assets-managment/class-factory-style-list.php
CHANGED
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
*/
|
23 |
-
class
|
24 |
|
25 |
/**
|
26 |
* Adds new items to the collection (default place).
|
20 |
*
|
21 |
* @since 1.0.0
|
22 |
*/
|
23 |
+
class Wbcr_Factory444_StyleList extends Wbcr_Factory444_AssetsList {
|
24 |
|
25 |
/**
|
26 |
* Adds new items to the collection (default place).
|
libs/factory/core/includes/class-check-compatibility.php
CHANGED
@@ -75,19 +75,19 @@ if ( ! class_exists( 'Wbcr_Factory_Compatibility' ) ) {
|
|
75 |
$notice_text = $notice_default_text = '';
|
76 |
$notice_default_text .= '<b>' . $this->plugin_title . ' ' . __( 'warning', '' ) . ':</b>' . '<br>';
|
77 |
|
78 |
-
$notice_default_text .= sprintf( __( 'The %s plugin has stopped.', '
|
79 |
$notice_default_text .= __( 'Possible reasons:', '' ) . ' <br>';
|
80 |
|
81 |
$has_one = false;
|
82 |
|
83 |
if ( ! $this->isPhpCompatibility() ) {
|
84 |
$has_one = true;
|
85 |
-
$notice_text .= '- ' . sprintf( __( 'You need to update the PHP version to %s or higher!', '
|
86 |
}
|
87 |
|
88 |
if ( ! $this->isWpCompatibility() ) {
|
89 |
$has_one = true;
|
90 |
-
$notice_text .= '- ' . sprintf( __( 'You need to update WordPress to %s or higher!', '
|
91 |
}
|
92 |
|
93 |
if ( $has_one ) {
|
75 |
$notice_text = $notice_default_text = '';
|
76 |
$notice_default_text .= '<b>' . $this->plugin_title . ' ' . __( 'warning', '' ) . ':</b>' . '<br>';
|
77 |
|
78 |
+
$notice_default_text .= sprintf( __( 'The %s plugin has stopped.', 'wbcr_factory_clearfy_235' ), $this->plugin_title ) . ' ';
|
79 |
$notice_default_text .= __( 'Possible reasons:', '' ) . ' <br>';
|
80 |
|
81 |
$has_one = false;
|
82 |
|
83 |
if ( ! $this->isPhpCompatibility() ) {
|
84 |
$has_one = true;
|
85 |
+
$notice_text .= '- ' . sprintf( __( 'You need to update the PHP version to %s or higher!', 'wbcr_factory_444' ), $this->required_php_version ) . '<br>';
|
86 |
}
|
87 |
|
88 |
if ( ! $this->isWpCompatibility() ) {
|
89 |
$has_one = true;
|
90 |
+
$notice_text .= '- ' . sprintf( __( 'You need to update WordPress to %s or higher!', 'wbcr_factory_444' ), $this->required_wp_version ) . '<br>';
|
91 |
}
|
92 |
|
93 |
if ( $has_one ) {
|
libs/factory/core/includes/class-factory-migrations.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
use Exception;
|
6 |
-
use
|
7 |
|
8 |
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
exit;
|
@@ -35,11 +35,11 @@ class Migrations {
|
|
35 |
/**
|
36 |
* Migrations constructor.
|
37 |
*
|
38 |
-
* @param
|
39 |
*
|
40 |
* @throws Exception
|
41 |
*/
|
42 |
-
public function __construct(
|
43 |
|
44 |
$this->plugin = $plugin;
|
45 |
$plugin_name = $plugin->getPluginName();
|
@@ -129,14 +129,14 @@ class Migrations {
|
|
129 |
$fix_migration_error_url = add_query_arg( 'wbcr_factory_fix_migration_error', 1 );
|
130 |
|
131 |
$notice_text = $migration_error_text;
|
132 |
-
$notice_text .= "<br><br><a href='{$fix_migration_error_url}' class='button button-default'>" . __( 'I fixed, confirm migration', '
|
133 |
|
134 |
$notices[] = [
|
135 |
'id' => 'migration_debug_bar',
|
136 |
'type' => 'error',
|
137 |
'dismissible' => false,
|
138 |
'dismiss_expires' => 0,
|
139 |
-
'text' => '<p><b>' . $this->plugin->getPluginTitle() . ' ' . __( 'migration error', '
|
140 |
];
|
141 |
|
142 |
return $notices;
|
@@ -162,19 +162,19 @@ class Migrations {
|
|
162 |
|
163 |
$migrate_url = add_query_arg( 'wbcr_factory_test_migration', 1 );
|
164 |
|
165 |
-
$notice_text = __( "Plugin activated:", "
|
166 |
|
167 |
-
$notice_text .= __( "Old plugin version (debug):", "
|
168 |
-
$notice_text .= __( "Current plugin version:", "
|
169 |
-
$notice_text .= __( "Need migration:", "
|
170 |
-
$notice_text .= "<a href='{$migrate_url}' class='button button-default'>" . __( "Migrate now", "
|
171 |
|
172 |
$notices[] = [
|
173 |
'id' => 'migration_debug_bar',
|
174 |
'type' => 'warning',
|
175 |
'dismissible' => false,
|
176 |
'dismiss_expires' => 0,
|
177 |
-
'text' => '<p><b style="color:red;">' . $this->plugin->getPluginTitle() . ' ' . __( 'migrations DEBUG bar', '
|
178 |
];
|
179 |
|
180 |
return $notices;
|
@@ -505,7 +505,7 @@ class Migrations {
|
|
505 |
$classes = [];
|
506 |
|
507 |
if ( ! function_exists( 'token_get_all' ) ) {
|
508 |
-
throw new Exception( __( 'There is no PHP Tokenizer extension installed on your server, you cannot use the token_get_all function.', '
|
509 |
}
|
510 |
|
511 |
$tokens = token_get_all( $phpCode );
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_444;
|
4 |
|
5 |
use Exception;
|
6 |
+
use Wbcr_Factory444_Plugin;
|
7 |
|
8 |
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
exit;
|
35 |
/**
|
36 |
* Migrations constructor.
|
37 |
*
|
38 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
39 |
*
|
40 |
* @throws Exception
|
41 |
*/
|
42 |
+
public function __construct( Wbcr_Factory444_Plugin $plugin ) {
|
43 |
|
44 |
$this->plugin = $plugin;
|
45 |
$plugin_name = $plugin->getPluginName();
|
129 |
$fix_migration_error_url = add_query_arg( 'wbcr_factory_fix_migration_error', 1 );
|
130 |
|
131 |
$notice_text = $migration_error_text;
|
132 |
+
$notice_text .= "<br><br><a href='{$fix_migration_error_url}' class='button button-default'>" . __( 'I fixed, confirm migration', 'wbcr_factory_444' ) . "</a>";
|
133 |
|
134 |
$notices[] = [
|
135 |
'id' => 'migration_debug_bar',
|
136 |
'type' => 'error',
|
137 |
'dismissible' => false,
|
138 |
'dismiss_expires' => 0,
|
139 |
+
'text' => '<p><b>' . $this->plugin->getPluginTitle() . ' ' . __( 'migration error', 'wbcr_factory_444' ) . '</b><br>' . $notice_text . '</p>'
|
140 |
];
|
141 |
|
142 |
return $notices;
|
162 |
|
163 |
$migrate_url = add_query_arg( 'wbcr_factory_test_migration', 1 );
|
164 |
|
165 |
+
$notice_text = __( "Plugin activated:", "wbcr_factory_444" ) . ' ' . date( "Y-m-d H:i:s", $this->get_plugin_activated_time() ) . "<br>";
|
166 |
|
167 |
+
$notice_text .= __( "Old plugin version (debug):", "wbcr_factory_444" ) . ' ' . $this->get_old_plugin_version() . "<br>";
|
168 |
+
$notice_text .= __( "Current plugin version:", "wbcr_factory_444" ) . ' ' . $this->get_current_plugin_version() . "<br>";
|
169 |
+
$notice_text .= __( "Need migration:", "wbcr_factory_444" ) . ' ' . ( $this->need_migration() ? "true" : "false" ) . "<br><br>";
|
170 |
+
$notice_text .= "<a href='{$migrate_url}' class='button button-default'>" . __( "Migrate now", "wbcr_factory_444" ) . "</a><br>";
|
171 |
|
172 |
$notices[] = [
|
173 |
'id' => 'migration_debug_bar',
|
174 |
'type' => 'warning',
|
175 |
'dismissible' => false,
|
176 |
'dismiss_expires' => 0,
|
177 |
+
'text' => '<p><b style="color:red;">' . $this->plugin->getPluginTitle() . ' ' . __( 'migrations DEBUG bar', 'wbcr_factory_444' ) . '</b><br>' . $notice_text . '</p>'
|
178 |
];
|
179 |
|
180 |
return $notices;
|
505 |
$classes = [];
|
506 |
|
507 |
if ( ! function_exists( 'token_get_all' ) ) {
|
508 |
+
throw new Exception( __( 'There is no PHP Tokenizer extension installed on your server, you cannot use the token_get_all function.', 'wbcr_factory_444' ) );
|
509 |
}
|
510 |
|
511 |
$tokens = token_get_all( $phpCode );
|
libs/factory/core/includes/class-factory-notices.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
-
use
|
6 |
|
7 |
// Exit if accessed directly
|
8 |
if( !defined('ABSPATH') ) {
|
@@ -27,7 +27,7 @@ if( !defined('ABSPATH') ) {
|
|
27 |
class Notices {
|
28 |
|
29 |
/**
|
30 |
-
* @var
|
31 |
*/
|
32 |
protected $plugin;
|
33 |
/**
|
@@ -58,7 +58,7 @@ class Notices {
|
|
58 |
/**
|
59 |
* Инициализируем уведомлений сразу после загрузки модуля уведомлений
|
60 |
*
|
61 |
-
* @param
|
62 |
*/
|
63 |
public function __construct($plugin)
|
64 |
{
|
@@ -86,7 +86,7 @@ class Notices {
|
|
86 |
public function currentScreenAction()
|
87 |
{
|
88 |
/**
|
89 |
-
* @since 2.1.2 - Добавлен, модуль factory_notices_000 был удален. Поэтому в этому хуке мы заменили префикс на
|
90 |
*/
|
91 |
$this->notices = apply_filters('wbcr/factory/admin_notices', $this->notices, $this->plugin->getPluginName());
|
92 |
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_444;
|
4 |
|
5 |
+
use Wbcr_Factory444_Plugin;
|
6 |
|
7 |
// Exit if accessed directly
|
8 |
if( !defined('ABSPATH') ) {
|
27 |
class Notices {
|
28 |
|
29 |
/**
|
30 |
+
* @var Wbcr_Factory444_Plugin
|
31 |
*/
|
32 |
protected $plugin;
|
33 |
/**
|
58 |
/**
|
59 |
* Инициализируем уведомлений сразу после загрузки модуля уведомлений
|
60 |
*
|
61 |
+
* @param Wbcr_Factory444_Plugin $plugin
|
62 |
*/
|
63 |
public function __construct($plugin)
|
64 |
{
|
86 |
public function currentScreenAction()
|
87 |
{
|
88 |
/**
|
89 |
+
* @since 2.1.2 - Добавлен, модуль factory_notices_000 был удален. Поэтому в этому хуке мы заменили префикс на factory_444
|
90 |
*/
|
91 |
$this->notices = apply_filters('wbcr/factory/admin_notices', $this->notices, $this->plugin->getPluginName());
|
92 |
|
libs/factory/core/includes/class-factory-options.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
namespace WBCR\
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
use Exception;
|
@@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
10 |
}
|
11 |
|
12 |
/**
|
13 |
-
* Трейт используется для расширения базового класса плагина
|
14 |
*
|
15 |
* Этот трейт является оберткой для Wordpress функций get_option, get_site_option, update_option, update_site_option,
|
16 |
* delete_option, delete_site_option. Основная задача была получать, обновлять, удалять опции без использования префиксов,
|
1 |
<?php
|
2 |
|
3 |
+
namespace WBCR\Factory_444;
|
4 |
|
5 |
// Exit if accessed directly
|
6 |
use Exception;
|
10 |
}
|
11 |
|
12 |
/**
|
13 |
+
* Трейт используется для расширения базового класса плагина Wbcr_Factory444_Base, позволяя работать с опциями плагина.
|
14 |
*
|
15 |
* Этот трейт является оберткой для Wordpress функций get_option, get_site_option, update_option, update_site_option,
|
16 |
* delete_option, delete_site_option. Основная задача была получать, обновлять, удалять опции без использования префиксов,
|
libs/factory/core/includes/class-factory-plugin-abstract.php
CHANGED
@@ -24,42 +24,42 @@ if( !defined('ABSPATH') ) {
|
|
24 |
* @package factory-core
|
25 |
*
|
26 |
*/
|
27 |
-
abstract class
|
28 |
|
29 |
/**
|
30 |
-
* Instance class
|
31 |
*
|
32 |
* @see https://webcraftic.atlassian.net/wiki/spaces/FFD/pages/390561806
|
33 |
-
* @var
|
34 |
*/
|
35 |
public $request;
|
36 |
|
37 |
/**
|
38 |
* @see https://webcraftic.atlassian.net/wiki/spaces/FFD/pages/393936924
|
39 |
-
* @var \WBCR\
|
40 |
*/
|
41 |
public $premium;
|
42 |
|
43 |
/**
|
44 |
* The Bootstrap Manager class
|
45 |
*
|
46 |
-
* @var
|
47 |
*/
|
48 |
public $bootstrap;
|
49 |
|
50 |
/**
|
51 |
* The Bootstrap Manager class
|
52 |
*
|
53 |
-
* @var
|
54 |
*/
|
55 |
public $forms;
|
56 |
|
57 |
/**
|
58 |
-
* Простой массив со списком зарегистрированных классов унаследованных от
|
59 |
* Классы активации используются для упаковки набора функций, которые нужно выполнить во время
|
60 |
* активации плагина.
|
61 |
*
|
62 |
-
* @var array[]
|
63 |
*/
|
64 |
protected $activator_class = [];
|
65 |
|
@@ -86,7 +86,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
86 |
*
|
87 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
88 |
* @since 4.1.9
|
89 |
-
* @var WBCR\
|
90 |
*/
|
91 |
private $adverts;
|
92 |
|
@@ -115,8 +115,8 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
115 |
|
116 |
parent::__construct($plugin_path, $data);
|
117 |
|
118 |
-
$this->request = new
|
119 |
-
//$this->route = new
|
120 |
|
121 |
// INIT PLUGIN FRAMEWORK MODULES
|
122 |
// Framework modules should always be loaded first,
|
@@ -144,15 +144,15 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
144 |
$this->init_plugin_components();
|
145 |
|
146 |
if( wp_doing_ajax() && isset($_REQUEST['action']) ) {
|
147 |
-
if( "wfactory-
|
148 |
-
add_action('wp_ajax_wfactory-
|
149 |
}
|
150 |
|
151 |
-
if( "wfactory-
|
152 |
-
add_action('wp_ajax_wfactory-
|
153 |
}
|
154 |
-
if( "wfactory-
|
155 |
-
add_action('wp_ajax_wfactory-
|
156 |
$this,
|
157 |
'ajax_handler_install_creativemotion_plugins'
|
158 |
]);
|
@@ -165,20 +165,20 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
165 |
|
166 |
public function ajax_handler_install_components()
|
167 |
{
|
168 |
-
require_once
|
169 |
-
|
170 |
}
|
171 |
|
172 |
public function ajax_handler_prepare_component()
|
173 |
{
|
174 |
-
require_once
|
175 |
-
|
176 |
}
|
177 |
|
178 |
public function ajax_handler_install_creativemotion_plugins()
|
179 |
{
|
180 |
-
require_once
|
181 |
-
|
182 |
}
|
183 |
// --------------------------------------------------------
|
184 |
|
@@ -186,9 +186,9 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
186 |
* Устанавливает класс менеджер, которому плагин будет делегировать подключение ресурсов (картинок,
|
187 |
* скриптов, стилей) фреймворка.
|
188 |
*
|
189 |
-
* @param
|
190 |
*/
|
191 |
-
public function setBootstap(
|
192 |
{
|
193 |
$this->bootstrap = $bootstrap;
|
194 |
}
|
@@ -196,9 +196,9 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
196 |
/**
|
197 |
* Устанавливает класс менеджер, которому будет делегирована работа с html формами фреймворка.
|
198 |
*
|
199 |
-
* @param
|
200 |
*/
|
201 |
-
public function setForms(
|
202 |
{
|
203 |
$this->forms = $forms;
|
204 |
}
|
@@ -246,8 +246,8 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
246 |
*/
|
247 |
public function set_license_provider($name, $class_name)
|
248 |
{
|
249 |
-
if( !isset(WBCR\
|
250 |
-
WBCR\
|
251 |
}
|
252 |
}
|
253 |
|
@@ -265,8 +265,8 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
265 |
*/
|
266 |
public function set_update_repository($name, $class_name)
|
267 |
{
|
268 |
-
if( !isset(WBCR\
|
269 |
-
WBCR\
|
270 |
}
|
271 |
}
|
272 |
|
@@ -276,7 +276,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
276 |
* Доступен глобально через метод app(), чаще всего используется для создания точек для ротации
|
277 |
* рекламных объявлений.
|
278 |
*
|
279 |
-
* @return \WBCR\
|
280 |
* @since 1.1
|
281 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
282 |
*/
|
@@ -312,18 +312,18 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
312 |
|
313 |
public function newScriptList()
|
314 |
{
|
315 |
-
return new
|
316 |
}
|
317 |
|
318 |
public function newStyleList()
|
319 |
{
|
320 |
-
return new
|
321 |
}
|
322 |
|
323 |
/**
|
324 |
* Все страницы плагина создаются через специальную обертку, за которую отвечает модуль
|
325 |
* фреймворка pages. Разработчик создает собственный класс, унаследованный от
|
326 |
-
*
|
327 |
* Метод выполняет подключение класса страницы и регистрирует его в модуле фреймворка
|
328 |
* pages.
|
329 |
*
|
@@ -333,7 +333,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
333 |
* @see https://webcraftic.atlassian.net/wiki/spaces/CNCFC/pages/222887949 - документация по созданию страниц
|
334 |
*
|
335 |
* @param string $class_name Имя регистрируемого класса страницы. Пример: WCL_Page_Name.
|
336 |
-
* Регистрируемый класс должен быть унаследован от класса
|
337 |
* @param string $file_path Абсолютный путь к файлу с классом страницы.
|
338 |
*
|
339 |
* @throws Exception
|
@@ -355,11 +355,11 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
355 |
throw new Exception('A class with this name {' . $class_name . '} does not exist.');
|
356 |
}
|
357 |
|
358 |
-
if( !class_exists('
|
359 |
-
throw new Exception('The
|
360 |
}
|
361 |
|
362 |
-
|
363 |
}
|
364 |
|
365 |
/**
|
@@ -409,16 +409,16 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
409 |
/**
|
410 |
* @since 4.1.1 - change hook name
|
411 |
*/
|
412 |
-
if( apply_filters("wbcr/
|
413 |
return;
|
414 |
}
|
415 |
|
416 |
/**
|
417 |
-
*
|
418 |
*
|
419 |
* @since 4.1.1 - deprecated
|
420 |
*/
|
421 |
-
|
422 |
$this
|
423 |
], '4.1.1', "wbcr/factory/plugin_activation");
|
424 |
|
@@ -427,7 +427,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
427 |
*
|
428 |
* @since 4.1.2 - deprecated
|
429 |
*/
|
430 |
-
|
431 |
$this
|
432 |
], '4.1.2', "wbcr/factory/before_plugin_activation");
|
433 |
|
@@ -443,16 +443,16 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
443 |
*
|
444 |
* @since 4.1.2 - deprecated
|
445 |
*/
|
446 |
-
|
447 |
$this
|
448 |
], '4.1.2', "wbcr/factory/before_plugin_{$this->plugin_name}_activation");
|
449 |
|
450 |
/**
|
451 |
-
*
|
452 |
*
|
453 |
* @since 4.1.1 - deprecated
|
454 |
*/
|
455 |
-
|
456 |
$this
|
457 |
], '4.1.1', "wbcr/factory/before_plugin_{$this->plugin_name}_activation");
|
458 |
|
@@ -493,16 +493,16 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
493 |
/**
|
494 |
* @since 4.1.1 - change hook name
|
495 |
*/
|
496 |
-
if( apply_filters("wbcr/
|
497 |
return;
|
498 |
}
|
499 |
|
500 |
/**
|
501 |
-
*
|
502 |
*
|
503 |
* @since 4.1.1 - deprecated
|
504 |
*/
|
505 |
-
|
506 |
$this
|
507 |
], '4.1.1', "wbcr/factory/plugin_deactivation");
|
508 |
|
@@ -511,7 +511,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
511 |
*
|
512 |
* @since 4.1.2 - deprecated
|
513 |
*/
|
514 |
-
|
515 |
$this
|
516 |
], '4.1.2', "wbcr/factory/before_plugin_deactivation");
|
517 |
|
@@ -523,11 +523,11 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
523 |
do_action('wbcr/factory/plugin_deactivation', $this);
|
524 |
|
525 |
/**
|
526 |
-
*
|
527 |
*
|
528 |
* @since 4.1.1 - deprecated
|
529 |
*/
|
530 |
-
|
531 |
$this
|
532 |
], '4.1.1', "wbcr/factory/before_plugin_{$this->plugin_name}_deactivation");
|
533 |
|
@@ -536,7 +536,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
536 |
*
|
537 |
* @since 4.1.2 - deprecated
|
538 |
*/
|
539 |
-
|
540 |
$this
|
541 |
], '4.1.2', "wbcr/factory/before_plugin_{$this->plugin_name}_deactivation");
|
542 |
|
@@ -574,8 +574,8 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
574 |
*/
|
575 |
public function getPluginPageUrl($page_id, $args = [])
|
576 |
{
|
577 |
-
if( !class_exists('
|
578 |
-
throw new Exception('The
|
579 |
}
|
580 |
|
581 |
if( !is_admin() ) {
|
@@ -584,7 +584,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
584 |
return null;
|
585 |
}
|
586 |
|
587 |
-
return
|
588 |
}
|
589 |
|
590 |
/**
|
@@ -594,13 +594,13 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
594 |
* @param $slug
|
595 |
* param $premium
|
596 |
*
|
597 |
-
* @return \WBCR\
|
598 |
*/
|
599 |
public function get_install_component_button($component_type, $slug)
|
600 |
{
|
601 |
-
require_once
|
602 |
|
603 |
-
return new \WBCR\
|
604 |
}
|
605 |
|
606 |
/**
|
@@ -609,13 +609,13 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
609 |
* @param $component_type
|
610 |
* @param $slug
|
611 |
*
|
612 |
-
* @return \WBCR\
|
613 |
*/
|
614 |
public function get_delete_component_button($component_type, $slug)
|
615 |
{
|
616 |
-
require_once
|
617 |
|
618 |
-
return new WBCR\
|
619 |
}
|
620 |
|
621 |
/**
|
@@ -798,12 +798,12 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
798 |
/**
|
799 |
* @since 4.1.1 - deprecated
|
800 |
*/
|
801 |
-
|
802 |
|
803 |
/**
|
804 |
* @since 4.1.1 - add
|
805 |
*/
|
806 |
-
do_action('wbcr/
|
807 |
}
|
808 |
|
809 |
|
@@ -830,7 +830,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
830 |
});
|
831 |
|
832 |
if( is_admin() ) {
|
833 |
-
add_filter('
|
834 |
|
835 |
register_activation_hook($this->get_paths()->main_file, [$this, 'activation_hook']);
|
836 |
register_deactivation_hook($this->get_paths()->main_file, [$this, 'deactivation_hook']);
|
@@ -846,7 +846,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
846 |
*/
|
847 |
protected function init_plugin_migrations()
|
848 |
{
|
849 |
-
new WBCR\
|
850 |
}
|
851 |
|
852 |
/**
|
@@ -857,7 +857,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
857 |
*/
|
858 |
protected function init_plugin_notices()
|
859 |
{
|
860 |
-
new Wbcr\
|
861 |
}
|
862 |
|
863 |
/**
|
@@ -873,7 +873,7 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
873 |
protected function init_plugin_updates()
|
874 |
{
|
875 |
if( $this->has_updates ) {
|
876 |
-
new WBCR\
|
877 |
}
|
878 |
}
|
879 |
|
@@ -896,11 +896,11 @@ abstract class Wbcr_Factory442_Plugin extends Wbcr_Factory442_Base {
|
|
896 |
}
|
897 |
|
898 |
// Создаем экземляр премиум менеджера, мы сможем к нему обращаться глобально.
|
899 |
-
$this->premium = WBCR\
|
900 |
|
901 |
// Подключаем премиум апгрейдер
|
902 |
if( isset($this->license_settings['has_updates']) && $this->license_settings['has_updates'] ) {
|
903 |
-
new WBCR\
|
904 |
}
|
905 |
}
|
906 |
}
|
24 |
* @package factory-core
|
25 |
*
|
26 |
*/
|
27 |
+
abstract class Wbcr_Factory444_Plugin extends Wbcr_Factory444_Base {
|
28 |
|
29 |
/**
|
30 |
+
* Instance class Wbcr_Factory444_Request, required manages http requests
|
31 |
*
|
32 |
* @see https://webcraftic.atlassian.net/wiki/spaces/FFD/pages/390561806
|
33 |
+
* @var Wbcr_Factory444_Request
|
34 |
*/
|
35 |
public $request;
|
36 |
|
37 |
/**
|
38 |
* @see https://webcraftic.atlassian.net/wiki/spaces/FFD/pages/393936924
|
39 |
+
* @var \WBCR\Factory_444\Premium\Provider
|
40 |
*/
|
41 |
public $premium;
|
42 |
|
43 |
/**
|
44 |
* The Bootstrap Manager class
|
45 |
*
|
46 |
+
* @var Wbcr_FactoryBootstrap444_Manager
|
47 |
*/
|
48 |
public $bootstrap;
|
49 |
|
50 |
/**
|
51 |
* The Bootstrap Manager class
|
52 |
*
|
53 |
+
* @var Wbcr_FactoryForms441_Manager
|
54 |
*/
|
55 |
public $forms;
|
56 |
|
57 |
/**
|
58 |
+
* Простой массив со списком зарегистрированных классов унаследованных от Wbcr_Factory444_Activator.
|
59 |
* Классы активации используются для упаковки набора функций, которые нужно выполнить во время
|
60 |
* активации плагина.
|
61 |
*
|
62 |
+
* @var array[] Wbcr_Factory444_Activator
|
63 |
*/
|
64 |
protected $activator_class = [];
|
65 |
|
86 |
*
|
87 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
88 |
* @since 4.1.9
|
89 |
+
* @var WBCR\Factory_Adverts_122\Base
|
90 |
*/
|
91 |
private $adverts;
|
92 |
|
115 |
|
116 |
parent::__construct($plugin_path, $data);
|
117 |
|
118 |
+
$this->request = new Wbcr_Factory444_Request();
|
119 |
+
//$this->route = new Wbcr_Factory444_Route();
|
120 |
|
121 |
// INIT PLUGIN FRAMEWORK MODULES
|
122 |
// Framework modules should always be loaded first,
|
144 |
$this->init_plugin_components();
|
145 |
|
146 |
if( wp_doing_ajax() && isset($_REQUEST['action']) ) {
|
147 |
+
if( "wfactory-444-intall-component" == $_REQUEST['action'] ) {
|
148 |
+
add_action('wp_ajax_wfactory-444-intall-component', [$this, 'ajax_handler_install_components']);
|
149 |
}
|
150 |
|
151 |
+
if( "wfactory-444-prepare-component" == $_REQUEST['action'] ) {
|
152 |
+
add_action('wp_ajax_wfactory-444-prepare-component', [$this, 'ajax_handler_prepare_component']);
|
153 |
}
|
154 |
+
if( "wfactory-444-creativemotion-install-plugin" == $_REQUEST['action'] ) {
|
155 |
+
add_action('wp_ajax_wfactory-444-creativemotion-install-plugin', [
|
156 |
$this,
|
157 |
'ajax_handler_install_creativemotion_plugins'
|
158 |
]);
|
165 |
|
166 |
public function ajax_handler_install_components()
|
167 |
{
|
168 |
+
require_once FACTORY_444_DIR . '/ajax/install-addons.php';
|
169 |
+
wfactory_444_install_components($this);
|
170 |
}
|
171 |
|
172 |
public function ajax_handler_prepare_component()
|
173 |
{
|
174 |
+
require_once FACTORY_444_DIR . '/ajax/install-addons.php';
|
175 |
+
wfactory_444_prepare_component($this);
|
176 |
}
|
177 |
|
178 |
public function ajax_handler_install_creativemotion_plugins()
|
179 |
{
|
180 |
+
require_once FACTORY_444_DIR . '/ajax/install-addons.php';
|
181 |
+
wfactory_444_creativemotion_install_plugin($this);
|
182 |
}
|
183 |
// --------------------------------------------------------
|
184 |
|
186 |
* Устанавливает класс менеджер, которому плагин будет делегировать подключение ресурсов (картинок,
|
187 |
* скриптов, стилей) фреймворка.
|
188 |
*
|
189 |
+
* @param Wbcr_FactoryBootstrap444_Manager $bootstrap
|
190 |
*/
|
191 |
+
public function setBootstap(Wbcr_FactoryBootstrap444_Manager $bootstrap)
|
192 |
{
|
193 |
$this->bootstrap = $bootstrap;
|
194 |
}
|
196 |
/**
|
197 |
* Устанавливает класс менеджер, которому будет делегирована работа с html формами фреймворка.
|
198 |
*
|
199 |
+
* @param Wbcr_FactoryForms441_Manager $forms
|
200 |
*/
|
201 |
+
public function setForms(Wbcr_FactoryForms441_Manager $forms)
|
202 |
{
|
203 |
$this->forms = $forms;
|
204 |
}
|
246 |
*/
|
247 |
public function set_license_provider($name, $class_name)
|
248 |
{
|
249 |
+
if( !isset(WBCR\Factory_444\Premium\Manager::$providers[$name]) ) {
|
250 |
+
WBCR\Factory_444\Premium\Manager::$providers[$name] = $class_name;
|
251 |
}
|
252 |
}
|
253 |
|
265 |
*/
|
266 |
public function set_update_repository($name, $class_name)
|
267 |
{
|
268 |
+
if( !isset(WBCR\Factory_444\Updates\Upgrader::$repositories[$name]) ) {
|
269 |
+
WBCR\Factory_444\Updates\Upgrader::$repositories[$name] = $class_name;
|
270 |
}
|
271 |
}
|
272 |
|
276 |
* Доступен глобально через метод app(), чаще всего используется для создания точек для ротации
|
277 |
* рекламных объявлений.
|
278 |
*
|
279 |
+
* @return \WBCR\Factory_Adverts_122\Base
|
280 |
* @since 1.1
|
281 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
282 |
*/
|
312 |
|
313 |
public function newScriptList()
|
314 |
{
|
315 |
+
return new Wbcr_Factory444_ScriptList($this);
|
316 |
}
|
317 |
|
318 |
public function newStyleList()
|
319 |
{
|
320 |
+
return new Wbcr_Factory444_StyleList($this);
|
321 |
}
|
322 |
|
323 |
/**
|
324 |
* Все страницы плагина создаются через специальную обертку, за которую отвечает модуль
|
325 |
* фреймворка pages. Разработчик создает собственный класс, унаследованный от
|
326 |
+
* Wbcr_FactoryPages443_AdminPage, а затем регистрирует его через этот метод.
|
327 |
* Метод выполняет подключение класса страницы и регистрирует его в модуле фреймворка
|
328 |
* pages.
|
329 |
*
|
333 |
* @see https://webcraftic.atlassian.net/wiki/spaces/CNCFC/pages/222887949 - документация по созданию страниц
|
334 |
*
|
335 |
* @param string $class_name Имя регистрируемого класса страницы. Пример: WCL_Page_Name.
|
336 |
+
* Регистрируемый класс должен быть унаследован от класса Wbcr_FactoryPages443_AdminPage.
|
337 |
* @param string $file_path Абсолютный путь к файлу с классом страницы.
|
338 |
*
|
339 |
* @throws Exception
|
355 |
throw new Exception('A class with this name {' . $class_name . '} does not exist.');
|
356 |
}
|
357 |
|
358 |
+
if( !class_exists('Wbcr_FactoryPages443') ) {
|
359 |
+
throw new Exception('The factory_pages_443 module is not included.');
|
360 |
}
|
361 |
|
362 |
+
Wbcr_FactoryPages443::register($this, $class_name);
|
363 |
}
|
364 |
|
365 |
/**
|
409 |
/**
|
410 |
* @since 4.1.1 - change hook name
|
411 |
*/
|
412 |
+
if( apply_filters("wbcr/factory_444/cancel_plugin_activation_{$this->plugin_name}", false) ) {
|
413 |
return;
|
414 |
}
|
415 |
|
416 |
/**
|
417 |
+
* wbcr_factory_444_plugin_activation
|
418 |
*
|
419 |
* @since 4.1.1 - deprecated
|
420 |
*/
|
421 |
+
wbcr_factory_444_do_action_deprecated('wbcr_factory_444_plugin_activation', [
|
422 |
$this
|
423 |
], '4.1.1', "wbcr/factory/plugin_activation");
|
424 |
|
427 |
*
|
428 |
* @since 4.1.2 - deprecated
|
429 |
*/
|
430 |
+
wbcr_factory_444_do_action_deprecated('wbcr/factory/plugin_activation', [
|
431 |
$this
|
432 |
], '4.1.2', "wbcr/factory/before_plugin_activation");
|
433 |
|
443 |
*
|
444 |
* @since 4.1.2 - deprecated
|
445 |
*/
|
446 |
+
wbcr_factory_444_do_action_deprecated("wbcr/factory/plugin_{$this->plugin_name}_activation", [
|
447 |
$this
|
448 |
], '4.1.2', "wbcr/factory/before_plugin_{$this->plugin_name}_activation");
|
449 |
|
450 |
/**
|
451 |
+
* wbcr_factory_444_plugin_activation_' . $this->plugin_name
|
452 |
*
|
453 |
* @since 4.1.1 - deprecated
|
454 |
*/
|
455 |
+
wbcr_factory_444_do_action_deprecated('wbcr_factory_444_plugin_activation_' . $this->plugin_name, [
|
456 |
$this
|
457 |
], '4.1.1', "wbcr/factory/before_plugin_{$this->plugin_name}_activation");
|
458 |
|
493 |
/**
|
494 |
* @since 4.1.1 - change hook name
|
495 |
*/
|
496 |
+
if( apply_filters("wbcr/factory_444/cancel_plugin_deactivation_{$this->plugin_name}", false) ) {
|
497 |
return;
|
498 |
}
|
499 |
|
500 |
/**
|
501 |
+
* wbcr_factory_444_plugin_deactivation
|
502 |
*
|
503 |
* @since 4.1.1 - deprecated
|
504 |
*/
|
505 |
+
wbcr_factory_444_do_action_deprecated('wbcr_factory_444_plugin_deactivation', [
|
506 |
$this
|
507 |
], '4.1.1', "wbcr/factory/plugin_deactivation");
|
508 |
|
511 |
*
|
512 |
* @since 4.1.2 - deprecated
|
513 |
*/
|
514 |
+
wbcr_factory_444_do_action_deprecated('wbcr/factory/plugin_deactivation', [
|
515 |
$this
|
516 |
], '4.1.2', "wbcr/factory/before_plugin_deactivation");
|
517 |
|
523 |
do_action('wbcr/factory/plugin_deactivation', $this);
|
524 |
|
525 |
/**
|
526 |
+
* wbcr_factory_444_plugin_deactivation_ . $this->plugin_name
|
527 |
*
|
528 |
* @since 4.1.1 - deprecated
|
529 |
*/
|
530 |
+
wbcr_factory_444_do_action_deprecated('wbcr_factory_444_plugin_deactivation_' . $this->plugin_name, [
|
531 |
$this
|
532 |
], '4.1.1', "wbcr/factory/before_plugin_{$this->plugin_name}_deactivation");
|
533 |
|
536 |
*
|
537 |
* @since 4.1.2 - deprecated
|
538 |
*/
|
539 |
+
wbcr_factory_444_do_action_deprecated("wbcr/factory/plugin_{$this->plugin_name}_deactivation", [
|
540 |
$this
|
541 |
], '4.1.2', "wbcr/factory/before_plugin_{$this->plugin_name}_deactivation");
|
542 |
|
574 |
*/
|
575 |
public function getPluginPageUrl($page_id, $args = [])
|
576 |
{
|
577 |
+
if( !class_exists('Wbcr_FactoryPages443') ) {
|
578 |
+
throw new Exception('The factory_pages_443 module is not included.');
|
579 |
}
|
580 |
|
581 |
if( !is_admin() ) {
|
584 |
return null;
|
585 |
}
|
586 |
|
587 |
+
return Wbcr_FactoryPages443::getPageUrl($this, $page_id, $args);
|
588 |
}
|
589 |
|
590 |
/**
|
594 |
* @param $slug
|
595 |
* param $premium
|
596 |
*
|
597 |
+
* @return \WBCR\Factory_444\Components\Install_Button
|
598 |
*/
|
599 |
public function get_install_component_button($component_type, $slug)
|
600 |
{
|
601 |
+
require_once FACTORY_444_DIR . '/includes/components/class-install-component-button.php';
|
602 |
|
603 |
+
return new \WBCR\Factory_444\Components\Install_Button($this, $component_type, $slug);
|
604 |
}
|
605 |
|
606 |
/**
|
609 |
* @param $component_type
|
610 |
* @param $slug
|
611 |
*
|
612 |
+
* @return \WBCR\Factory_444\Components\Delete_Button
|
613 |
*/
|
614 |
public function get_delete_component_button($component_type, $slug)
|
615 |
{
|
616 |
+
require_once FACTORY_444_DIR . '/includes/components/class-delete-component-button.php';
|
617 |
|
618 |
+
return new WBCR\Factory_444\Components\Delete_Button($this, $component_type, $slug);
|
619 |
}
|
620 |
|
621 |
/**
|
798 |
/**
|
799 |
* @since 4.1.1 - deprecated
|
800 |
*/
|
801 |
+
wbcr_factory_444_do_action_deprecated('wbcr_factory_444_core_modules_loaded-' . $this->plugin_name, [], '4.1.1', "wbcr/factory_444/modules_loaded-" . $this->plugin_name);
|
802 |
|
803 |
/**
|
804 |
* @since 4.1.1 - add
|
805 |
*/
|
806 |
+
do_action('wbcr/factory_444/modules_loaded-' . $this->plugin_name);
|
807 |
}
|
808 |
|
809 |
|
830 |
});
|
831 |
|
832 |
if( is_admin() ) {
|
833 |
+
add_filter('wbcr_factory_444_core_admin_allow_multisite', '__return_true');
|
834 |
|
835 |
register_activation_hook($this->get_paths()->main_file, [$this, 'activation_hook']);
|
836 |
register_deactivation_hook($this->get_paths()->main_file, [$this, 'deactivation_hook']);
|
846 |
*/
|
847 |
protected function init_plugin_migrations()
|
848 |
{
|
849 |
+
new WBCR\Factory_444\Migrations($this);
|
850 |
}
|
851 |
|
852 |
/**
|
857 |
*/
|
858 |
protected function init_plugin_notices()
|
859 |
{
|
860 |
+
new Wbcr\Factory_444\Notices($this);
|
861 |
}
|
862 |
|
863 |
/**
|
873 |
protected function init_plugin_updates()
|
874 |
{
|
875 |
if( $this->has_updates ) {
|
876 |
+
new WBCR\Factory_444\Updates\Upgrader($this);
|
877 |
}
|
878 |
}
|
879 |
|
896 |
}
|
897 |
|
898 |
// Создаем экземляр премиум менеджера, мы сможем к нему обращаться глобально.
|
899 |
+
$this->premium = WBCR\Factory_444\Premium\Manager::instance($this, $this->license_settings);
|
900 |
|
901 |
// Подключаем премиум апгрейдер
|
902 |
if( isset($this->license_settings['has_updates']) && $this->license_settings['has_updates'] ) {
|
903 |
+
new WBCR\Factory_444\Updates\Premium_Upgrader($this);
|
904 |
}
|
905 |
}
|
906 |
}
|
libs/factory/core/includes/class-factory-plugin-base.php
CHANGED
@@ -5,7 +5,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
5 |
}
|
6 |
|
7 |
/**
|
8 |
-
* Базовый класс для создания нового плагина. Полную реализацию класса смотрите в
|
9 |
*
|
10 |
* Документация по классу: https://webcraftic.atlassian.net/wiki/spaces/FFD/pages/392724484
|
11 |
* Документация по созданию плагина: https://webcraftic.atlassian.net/wiki/spaces/CNCFC/pages/327828
|
@@ -17,9 +17,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
17 |
* @since 1.0.0
|
18 |
* @package factory-core
|
19 |
*/
|
20 |
-
class
|
21 |
|
22 |
-
use WBCR\
|
23 |
|
24 |
/**
|
25 |
* Обязательное свойство. Префикс, используется для создания пространство имен.
|
@@ -81,7 +81,7 @@ class Wbcr_Factory442_Base {
|
|
81 |
* https://robin-image-optimizer.webcraftic.com/premium-features.
|
82 |
*
|
83 |
* Это свойство заполняется для того, чтобы в процессе разработки вы могли использовать
|
84 |
-
* экземпляр класса \WBCR\
|
85 |
* Тем самым вы избавляете себя от жесткого прописывания ссылок на лендинг плагина и
|
86 |
* можете изменить все ссылки в одном месте.
|
87 |
*
|
@@ -127,7 +127,7 @@ class Wbcr_Factory442_Base {
|
|
127 |
* к примеру: freemius, codecanyon, templatemonster, вам нужно указать только настройки для
|
128 |
* взаимодействия с выбранным вами провайдером. Каждая реализация провайдера лицензий может иметь
|
129 |
* индивидуальный настройки, в этом примере приведены настройки для freemius провайдера
|
130 |
-
* WBCR\
|
131 |
*
|
132 |
* На текущий момент существ�
|
5 |
}
|
6 |
|
7 |
/**
|
8 |
+
* Базовый класс для создания нового плагина. Полную реализацию класса смотрите в Wbcr_Factory444_Plugin
|
9 |
*
|
10 |
* Документация по классу: https://webcraftic.atlassian.net/wiki/spaces/FFD/pages/392724484
|
11 |
* Документация по созданию плагина: https://webcraftic.atlassian.net/wiki/spaces/CNCFC/pages/327828
|
17 |
* @since 1.0.0
|
18 |
* @package factory-core
|
19 |
*/
|
20 |
+
class Wbcr_Factory444_Base {
|
21 |
|
22 |
+
use WBCR\Factory_444\Options;
|
23 |
|
24 |
/**
|
25 |
* Обязательное свойство. Префикс, используется для создания пространство имен.
|
81 |
* https://robin-image-optimizer.webcraftic.com/premium-features.
|
82 |
*
|
83 |
* Это свойство заполняется для того, чтобы в процессе разработки вы могли использовать
|
84 |
+
* экземпляр класса \WBCR\Factory_444\Entities\Support, для получения информации о сайте плагина.
|
85 |
* Тем самым вы избавляете себя от жесткого прописывания ссылок на лендинг плагина и
|
86 |
* можете изменить все ссылки в одном месте.
|
87 |
*
|
127 |
* к примеру: freemius, codecanyon, templatemonster, вам нужно указать только настройки для
|
128 |
* взаимодействия с выбранным вами провайдером. Каждая реализация провайдера лицензий может иметь
|
129 |
* индивидуальный настройки, в этом примере приведены настройки для freemius провайдера
|
130 |
+
* WBCR\Factory_444\Premium\Provider > WBCR\Factory_Freemius_132\Premium\Provider
|
131 |
*
|
132 |
* На текущий момент существ�
|