' . "\n\n";
+ }
+
+ $had_first_column = false;
+ $had_first_row = true;
+
+ break;
+
+ // Column
+ case 'column':
+
+ if ( $end_heading_id !== false && ! $closed_panel_inner ) {
+ if ( trim( $end_heading_id ) != '' ) do_action( $this->plugin_name . '_settings_' . sanitize_title( $end_heading_id ) . '_end' );
+ echo '' . "\n\n";
+ echo '
' . "\n\n";
+ if ( trim( $end_heading_id ) != '' ) do_action( $this->plugin_name . '_settings_' . sanitize_title( $end_heading_id ) . '_after' );
+
+ $closed_panel_inner = true;
+ }
+
+ if ( $header_sub_box_opening ) {
+ $header_sub_box_opening = false;
+
+ // close box inside
+ echo '' . "\n\n";
+
+ // close panel box
+ echo '' . "\n\n";
+ }
+
+ if ( $header_box_opening ) {
+ $header_box_opening = false;
+
+ // close box inside
+ echo '' . "\n\n";
+
+ // close panel box
+ echo '' . "\n\n";
+ }
+
+ if ( $had_first_column ) {
+ // close panel column
+ echo '' . "\n\n";
+
+ // open panel column
+ echo '' . "\n\n";
+
+ // open box handle
+ echo '
' . "\n\n";
+
+ echo ( ! empty( $options['name'] ) ) ? '
'. esc_html( $options['name'] ) .' '. $view_doc .' ' : '';
+
+ if ( stristr( $options['class'], 'pro_feature_fields' ) !== false && ! empty( $options['id'] ) ) $this->upgrade_top_message( true, sanitize_title( $options['id'] ) );
+ elseif ( stristr( $options['class'], 'pro_feature_fields' ) !== false ) $this->upgrade_top_message( true );
+
+ // close box handle
+ echo '' . "\n\n";
+
+ // open box inside
+ echo '
' . "\n\n";
+
+ echo '
' . "\n\n";
+
+ } else {
+ echo '
' . "\n\n";
+ if ( stristr( $options['class'], 'pro_feature_fields' ) !== false && ! empty( $options['id'] ) ) $this->upgrade_top_message( true, sanitize_title( $options['id'] ) );
+ elseif ( stristr( $options['class'], 'pro_feature_fields' ) !== false ) $this->upgrade_top_message( true );
+
+ echo ( ! empty( $options['name'] ) ) ? '
'. esc_html( $options['name'] ) .' '. $view_doc .' ' : '';
+ }
+
+ if ( ! empty( $options['desc'] ) ) {
+ echo '
' . "\n\n";
+ echo wpautop( wptexturize( $options['desc'] ) );
+ echo '
' . "\n\n";
+ }
+
+ echo $settings_html;
+
+ echo '
';
+
+ if ( $is_box ) {
+ // close box inside
+ echo '
' . "\n\n";
+
+ // close panel box
+ echo '
' . "\n\n";
+ }
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* Custom Stripslashed for array in array - admin_stripslashes() */
+ /*-----------------------------------------------------------------------------------*/
+ public function admin_stripslashes( $values ) {
+ if ( is_array( $values ) ) {
+ $values = array_map( array( $this, 'admin_stripslashes' ), $values );
+ } else {
+ $values = esc_attr( stripslashes( $values ) );
+ }
+
+ return $values;
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* hextorgb() */
+ /* Convert Hex to RGB for color */
+ /*-----------------------------------------------------------------------------------*/
+ public function hextorgb( $color = '', $text = true ) {
+ $color = trim( $color );
+ if ( '' == $color || 'transparent' == $color ) {
+ return false;
+ }
+
+ if ( '#' == $color[0] ) {
+ $color = substr( $color, 1 );
+ }
+
+ if ( 6 == strlen( $color ) ) {
+ list( $r, $g, $b ) = array( $color[0].$color[1], $color[2].$color[3], $color[4].$color[5] );
+ } elseif ( 3 == strlen( $color ) ) {
+ list( $r, $g, $b ) = array( $color[0].$color[0], $color[1].$color[1], $color[2].$color[2] );
+ } else {
+ return false;
+ }
+
+ $r = hexdec($r);
+ $g = hexdec($g);
+ $b = hexdec($b);
+
+ if ( $text ) {
+ return $r.','.$g.','.$b;
+ } else {
+ return array( $r, $g, $b );
+ }
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* generate_border_css() */
+ /* Generate Border CSS on frontend */
+ /*-----------------------------------------------------------------------------------*/
+ public function generate_border_css( $option ) {
+
+ $border_css = '';
+
+ $border_css .= 'border: ' . esc_attr( $option['width'] ) . ' ' . esc_attr( $option['style'] ) . ' ' . esc_attr( $option['color'] ) .' !important;';
+
+ if ( isset( $option['corner'] ) && esc_attr( $option['corner'] ) == 'rounded' ) {
+ if ( ! isset( $option['rounded_value'] ) ) $option['rounded_value'] = 0;
+ if ( ! isset( $option['top_left_corner'] ) ) $option['top_left_corner'] = $option['rounded_value'];
+ if ( ! isset( $option['top_right_corner'] ) ) $option['top_right_corner'] = $option['rounded_value'];
+ if ( ! isset( $option['bottom_left_corner'] ) ) $option['bottom_left_corner'] = $option['rounded_value'];
+ if ( ! isset( $option['bottom_right_corner'] ) ) $option['bottom_right_corner'] = $option['rounded_value'];
+
+ $border_css .= 'border-radius: ' . $option['top_left_corner'] . 'px ' . $option['top_right_corner'] . 'px ' . $option['bottom_right_corner'] . 'px ' . $option['bottom_left_corner'] . 'px !important;';
+ $border_css .= '-moz-border-radius: ' . $option['top_left_corner'] . 'px ' . $option['top_right_corner'] . 'px ' . $option['bottom_right_corner'] . 'px ' . $option['bottom_left_corner'] . 'px !important;';
+ $border_css .= '-webkit-border-radius: ' . $option['top_left_corner'] . 'px ' . $option['top_right_corner'] . 'px ' . $option['bottom_right_corner'] . 'px ' . $option['bottom_left_corner'] . 'px !important;';
+ } else {
+ $border_css .= 'border-radius: 0px !important;';
+ $border_css .= '-moz-border-radius: 0px !important;';
+ $border_css .= '-webkit-border-radius: 0px !important;';
+ }
+
+ return $border_css;
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* generate_border_style_css() */
+ /* Generate Border Style CSS on frontend */
+ /*-----------------------------------------------------------------------------------*/
+ public function generate_border_style_css( $option ) {
+
+ $border_style_css = '';
+
+ $border_style_css .= 'border: ' . esc_attr( $option['width'] ) . ' ' . esc_attr( $option['style'] ) . ' ' . esc_attr( $option['color'] ) .' !important;';
+
+ return $border_style_css;
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* generate_border_corner_css() */
+ /* Generate Border Corner CSS on frontend */
+ /*-----------------------------------------------------------------------------------*/
+ public function generate_border_corner_css( $option ) {
+
+ $border_corner_css = '';
+
+ if ( isset( $option['corner'] ) && esc_attr( $option['corner'] ) == 'rounded' ) {
+ if ( ! isset( $option['rounded_value'] ) ) $option['rounded_value'] = 0;
+ if ( ! isset( $option['top_left_corner'] ) ) $option['top_left_corner'] = $option['rounded_value'];
+ if ( ! isset( $option['top_right_corner'] ) ) $option['top_right_corner'] = $option['rounded_value'];
+ if ( ! isset( $option['bottom_left_corner'] ) ) $option['bottom_left_corner'] = $option['rounded_value'];
+ if ( ! isset( $option['bottom_right_corner'] ) ) $option['bottom_right_corner'] = $option['rounded_value'];
+
+ $border_corner_css .= 'border-radius: ' . $option['top_left_corner'] . 'px ' . $option['top_right_corner'] . 'px ' . $option['bottom_right_corner'] . 'px ' . $option['bottom_left_corner'] . 'px !important;';
+ $border_corner_css .= '-moz-border-radius: ' . $option['top_left_corner'] . 'px ' . $option['top_right_corner'] . 'px ' . $option['bottom_right_corner'] . 'px ' . $option['bottom_left_corner'] . 'px !important;';
+ $border_corner_css .= '-webkit-border-radius: ' . $option['top_left_corner'] . 'px ' . $option['top_right_corner'] . 'px ' . $option['bottom_right_corner'] . 'px ' . $option['bottom_left_corner'] . 'px !important;';
+ } else {
+ $border_corner_css .= 'border-radius: 0px !important;';
+ $border_corner_css .= '-moz-border-radius: 0px !important;';
+ $border_corner_css .= '-webkit-border-radius: 0px !important;';
+ }
+
+ return $border_corner_css;
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* generate_shadow_css() */
+ /* Generate Shadow CSS on frontend */
+ /*-----------------------------------------------------------------------------------*/
+ public function generate_shadow_css( $option ) {
+
+ $shadow_css = '';
+ if ( ! isset( $option['inset'] ) ) $option['inset'] = '';
+
+ if ( isset( $option['enable'] ) && $option['enable'] == 1 ) {
+ $shadow_css .= 'box-shadow: ' . $option['h_shadow'] . ' ' . $option['v_shadow'] . ' ' . $option['blur'] . ' ' . $option['spread'] . ' ' . $option['color'] . ' ' . $option['inset'] . ' !important;';
+ $shadow_css .= '-moz-box-shadow: ' . $option['h_shadow'] . ' ' . $option['v_shadow'] . ' ' . $option['blur'] . ' ' . $option['spread'] . ' ' . $option['color'] . ' ' . $option['inset'] . ' !important;';
+ $shadow_css .= '-webkit-box-shadow: ' . $option['h_shadow'] . ' ' . $option['v_shadow'] . ' ' . $option['blur'] . ' ' . $option['spread'] . ' ' . $option['color'] . ' ' . $option['inset'] . ' !important;';
+ } else {
+ $shadow_css .= 'box-shadow: none !important ;';
+ $shadow_css .= '-moz-box-shadow: none !important ;';
+ $shadow_css .= '-webkit-box-shadow: none !important ;';
+ }
+
+ return $shadow_css;
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* generate_background_css() */
+ /* Generate Background Color CSS on frontend */
+ /*-----------------------------------------------------------------------------------*/
+ public function generate_background_color_css( $option, $transparency = 100 ) {
+
+ $return_css = '';
+
+ if ( isset( $option['enable'] ) && $option['enable'] == 1 ) {
+ $color = $option['color'];
+ if ( 100 != $transparency ) {
+ $color = $this->hextorgb( $color );
+ $transparency = (int) $transparency / 100;
+
+ if ( $color !== false ) {
+ $return_css .= 'background-color: rgba( ' . $color . ', ' . $transparency . ' ) !important;';
+ } else {
+ $return_css .= 'background-color: transparent !important ;';
+ }
+ } else {
+ $return_css .= 'background-color: ' . $color . ' !important ;';
+ }
+ } else {
+ $return_css .= 'background-color: transparent !important ;';
+ }
+
+ return $return_css;
+
+ }
+
+}
+
+global $wp_pvc_admin_interface;
+$wp_pvc_admin_interface = new WP_PVC_Admin_Interface();
+
+?>
diff --git a/admin/admin-pages/admin-pvc-page.php b/admin/admin-pages/admin-pvc-page.php
new file mode 100755
index 0000000..0715da8
--- /dev/null
+++ b/admin/admin-pages/admin-pvc-page.php
@@ -0,0 +1,141 @@
+
+page_init();
+ $this->tabs_include();
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* page_init() */
+ /* Page Init */
+ /*-----------------------------------------------------------------------------------*/
+ public function page_init() {
+
+ add_filter( $this->plugin_name . '_add_admin_menu', array( $this, 'add_admin_menu' ) );
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* page_data() */
+ /* Get Page Data */
+ /*-----------------------------------------------------------------------------------*/
+ public function page_data() {
+
+ $page_data = array(
+ 'type' => 'submenu',
+ 'parent_slug' => 'options-general.php',
+ 'page_title' => __( 'Page Views Count', 'page-views-count' ),
+ 'menu_title' => __( 'Page Views Count', 'page-views-count' ),
+ 'capability' => 'manage_options',
+ 'menu_slug' => $this->menu_slug,
+ 'function' => 'wp_pvc_admin_page_show',
+ 'admin_url' => 'options-general.php',
+ 'callback_function' => 'wp_pvc_callback_settings_page_show',
+ 'script_function' => '',
+ 'view_doc' => '',
+ );
+
+ if ( $this->page_data ) return $this->page_data;
+ return $this->page_data = $page_data;
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* add_admin_menu() */
+ /* Add This page to menu on left sidebar */
+ /*-----------------------------------------------------------------------------------*/
+ public function add_admin_menu( $admin_menu ) {
+
+ if ( ! is_array( $admin_menu ) ) $admin_menu = array();
+ $admin_menu[] = $this->page_data();
+
+ return $admin_menu;
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* tabs_include() */
+ /* Include all tabs into this page
+ /*-----------------------------------------------------------------------------------*/
+ public function tabs_include() {
+
+ include_once( $this->admin_plugin_dir() . '/tabs/admin-pvc-tab.php' );
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* admin_settings_page() */
+ /* Show Settings Page */
+ /*-----------------------------------------------------------------------------------*/
+ public function admin_settings_page() {
+ global $wp_pvc_admin_init;
+
+ $wp_pvc_admin_init->admin_settings_page( $this->page_data() );
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* admin_settings_page() */
+ /* Show Settings Page */
+ /*-----------------------------------------------------------------------------------*/
+ public function callback_admin_settings_page() {
+ global $wp_pvc_general_settings;
+
+ $this->plugin_extension_start();
+ $wp_pvc_general_settings->settings_form();
+ $this->plugin_extension_end();
+ }
+}
+
+global $wp_pvc_admin_page;
+$wp_pvc_admin_page = new WP_PVC_Admin_Page();
+
+/**
+ * wp_pvc_admin_page_show()
+ * Define the callback function to show page content
+ */
+function wp_pvc_admin_page_show() {
+ global $wp_pvc_admin_page;
+ $wp_pvc_admin_page->admin_settings_page();
+}
+
+function wp_pvc_callback_settings_page_show() {
+ global $wp_pvc_admin_page;
+ $wp_pvc_admin_page->callback_admin_settings_page();
+}
+
+?>
\ No newline at end of file
diff --git a/admin/admin-ui.php b/admin/admin-ui.php
new file mode 100755
index 0000000..b5a5713
--- /dev/null
+++ b/admin/admin-ui.php
@@ -0,0 +1,345 @@
+
+admin_plugin_url ) return $this->admin_plugin_url;
+ return $this->admin_plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* admin_plugin_dir() */
+ /*-----------------------------------------------------------------------------------*/
+ public function admin_plugin_dir() {
+ if ( $this->admin_plugin_dir ) return $this->admin_plugin_dir;
+ return $this->admin_plugin_dir = untrailingslashit( plugin_dir_path( __FILE__ ) );
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* admin_pages() */
+ /*-----------------------------------------------------------------------------------*/
+ public function admin_pages() {
+ $admin_pages = apply_filters( $this->plugin_name . '_admin_pages', $this->admin_pages );
+
+ return (array)$admin_pages;
+ }
+
+ /**
+ * get_premium_video_data()
+ * return array
+ * Data is used for Premium Video Box
+ */
+ public function get_premium_video_data() {
+ $premium_video_data = array(
+ 'box_title' => __( 'Premium Version Enhanced Features', 'page-views-count' ),
+ 'image_url' => A3_PVC_IMAGES_URL. '/video.jpg',
+ 'video_url' => 'https://www.youtube.com/embed/9dGw-ORfMIk?version=3&autoplay=1',
+ 'left_title' => __( 'Premium Version Enhanced Features', 'page-views-count' ),
+ 'left_text' => __( 'Page View Count Premium', 'page-views-count' )
+ . "\n\n" . __( 'Quick Video showing the main (not all) enhanced features that are built into the Page View Count Premium version', 'page-views-count' ),
+ 'right_title' => __( 'Developer Support and Premium Features', 'page-views-count' ),
+ 'right_text' => __( 'Limited Time Offer. Purchase the Premium Version Lifetime License. That is a Lifetime of maintenance updates, feature upgrades and developer support for a once only fee. Offer ending soon.', 'page-views-count' )
+ . "\n\n" . '
' . __( 'Get Premium Features and Support', '' ) . ' ',
+ );
+
+ return $premium_video_data;
+ }
+
+ public function plugin_premium_video_box( $echo = true ) {
+ $premium_video_data = apply_filters( $this->plugin_name . '_plugin_premium_video_data', $this->get_premium_video_data() );
+
+ $output = '
';
+ $output .= '
';
+ $output .= '
';
+ $output .= '
';
+ $output .= '
'.$premium_video_data['box_title'].' ';
+ $output .= '';
+ $output .= '
';
+ $output .= $this->plugin_premium_video();
+ $output .= $this->plugin_premium_video_text();
+ $output .= '
';
+ $output .= '
';
+ $output .= '
';
+ $output .= '
';
+
+ $output = apply_filters( $this->plugin_name . '_plugin_premium_video', $output );
+
+ if ( $echo )
+ echo $output;
+ else
+ return $output;
+ }
+
+ public function plugin_premium_video( $echo = false ) {
+ $premium_video_data = apply_filters( $this->plugin_name . '_plugin_premium_video_data', $this->get_premium_video_data() );
+
+ wp_enqueue_style('thickbox');
+ wp_enqueue_script('thickbox');
+
+ $output = '
';
+
+ if ( $echo )
+ echo $output;
+ else
+ return $output;
+ }
+
+ public function plugin_premium_video_text( $echo = false ) {
+ $premium_video_data = apply_filters( $this->plugin_name . '_plugin_premium_video_data', $this->get_premium_video_data() );
+
+ $output = '';
+ if ( '' != trim( $premium_video_data['right_text'] ) ) {
+ $output .= '
';
+ $output .= '
';
+ $output .= '
' . $premium_video_data['right_title'] . ' ';
+ $output .= wpautop( $premium_video_data['right_text'] );
+ $output .= '';
+ }
+
+ if ( $echo )
+ echo $output;
+ else
+ return $output;
+ }
+
+ public function plugin_extension_boxes( $echo = false ) {
+
+ /**
+ * extension_boxes
+ * =============================================
+ * array (
+ * 'id' => 'box_id' : Enter unique your box id
+ * 'content' => 'html_content' : (required) Enter the html content to show inside the box
+ * 'css' => 'custom style' : custom style for the box container
+ * )
+ *
+ */
+ $extension_boxes = apply_filters( $this->plugin_name . '_plugin_extension_boxes', array() );
+
+ $output = '';
+ if ( is_array( $extension_boxes ) && count( $extension_boxes ) > 0 ) {
+ foreach ( $extension_boxes as $box ) {
+ if ( ! isset( $box['id'] ) ) $box['id'] = '';
+ if ( ! isset( $box['class'] ) ) $box['class'] = '';
+ if ( ! isset( $box['css'] ) ) $box['css'] = '';
+ if ( ! isset( $box['content'] ) ) $box['content'] = '';
+
+ $output .= '
';
+ $output .= $box['content'];
+ $output .= '
';
+ }
+ }
+
+ if ( $echo )
+ echo $output;
+ else
+ return $output;
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* plugin_extension_start() */
+ /* Start of yellow box on right for pro fields
+ /*-----------------------------------------------------------------------------------*/
+ public function plugin_extension_start( $echo = true ) {
+ $output = '
';
+ $output .= '
';
+ $output .= '
';
+ $output .= $this->plugin_extension_boxes( false );
+ $output .= '
';
+ $output .= '
';
+ $output .= '
';
+
+ $output = apply_filters( $this->plugin_name . '_plugin_extension_start', $output );
+
+ if ( $echo )
+ echo $output;
+ else
+ return $output;
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* plugin_extension_start() */
+ /* End of yellow box on right for pro fields
+ /*-----------------------------------------------------------------------------------*/
+ public function plugin_extension_end( $echo = true ) {
+ $output = '
';
+ $output .= '
';
+
+ $output = apply_filters( $this->plugin_name . '_plugin_extension_end', $output );
+
+ if ( $echo )
+ echo $output;
+ else
+ return $output;
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* upgrade_top_message() */
+ /* Show upgrade top message for pro fields
+ /*-----------------------------------------------------------------------------------*/
+ public function upgrade_top_message( $echo = false, $setting_id = '' ) {
+ $upgrade_top_message = sprintf( '
'
+ . __( 'Advanced Settings - Upgrade to the
%s License to activate these settings.', 'page-views-count' )
+ . '
'
+ , apply_filters( $this->plugin_name . '_' . $setting_id . '_pro_plugin_page_url', apply_filters( $this->plugin_name . '_pro_plugin_page_url', $this->pro_plugin_page_url ) )
+ , apply_filters( $this->plugin_name . '_' . $setting_id . '_pro_version_name', apply_filters( $this->plugin_name . '_pro_version_name', __( 'Pro Version', 'page-views-count' ) ) )
+ );
+
+ $upgrade_top_message = apply_filters( $this->plugin_name . '_upgrade_top_message', $upgrade_top_message, $setting_id );
+
+ if ( $echo ) echo $upgrade_top_message;
+ else return $upgrade_top_message;
+
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* pro_fields_before() */
+ /* Start of yellow box on right for pro fields
+ /*-----------------------------------------------------------------------------------*/
+ public function pro_fields_before( $echo = true ) {
+ echo apply_filters( $this->plugin_name . '_pro_fields_before', '
'. $this->upgrade_top_message() );
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* pro_fields_after() */
+ /* End of yellow border for pro fields
+ /*-----------------------------------------------------------------------------------*/
+ public function pro_fields_after( $echo = true ) {
+ echo apply_filters( $this->plugin_name . '_pro_fields_after', '
' );
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* blue_message_box() */
+ /* Blue Message Box
+ /*-----------------------------------------------------------------------------------*/
+ public function blue_message_box( $message = '', $width = '600px' ) {
+ $message = '
';
+ $message = apply_filters( $this->plugin_name . '_blue_message_box', $message );
+
+ return $message;
+ }
+
+ /*-----------------------------------------------------------------------------------*/
+ /* get_version_message() */
+ /* Get new version message, also include error connect
+ /*-----------------------------------------------------------------------------------*/
+ public function get_version_message() {
+ $version_message = '';
+
+ //Getting version number
+ $version_transient = get_transient( $this->version_transient );
+ if ( false !== $version_transient ) {
+ $transient_timeout = '_transient_timeout_' . $this->version_transient;
+ $timeout = get_option( $transient_timeout, false );
+ if ( false === $timeout ) {
+ $version_message = __( 'You should check now to see if have any new version is available', 'page-views-count' );
+ } elseif ( 'cannot_connect_api' == $version_transient ) {
+ $version_message = sprintf( __( 'Connection Failure! Please try again. If this issue persists please create a support request on the plugin
a3rev support forum .', 'page-views-count' ), $this->support_url );
+ } else {
+ $version_info = explode( '||', $version_transient );
+ if ( FALSE !== stristr( $version_transient, '||' )
+ && is_array( $version_info )
+ && isset( $version_info[1] ) && $version_info[1] == 'valid'
+ && version_compare( get_option('a3_pvc_version') , $version_info[0], '<' ) ) {
+
+ $version_message = sprintf( __( 'There is a new version
%s available,
update now or download direct from
My Account on a3rev.com', 'page-views-count' ),
+ $version_info[0],
+ wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' . A3_PVC_PLUGIN_NAME ), 'upgrade-plugin_' . A3_PVC_PLUGIN_NAME ),
+ 'https://a3rev.com/my-account/downloads/'
+ );
+ }
+ }
+
+ } else {
+ $version_message = __( 'You should check now to see if have any new version is available', 'page-views-count' );
+ }
+
+ return $version_message;
+ }
+
+}
+
+?>
diff --git a/admin/assets/css/a3_admin_metabox.css b/admin/assets/css/a3_admin_metabox.css
new file mode 100644
index 0000000..4fbb725
--- /dev/null
+++ b/admin/assets/css/a3_admin_metabox.css
@@ -0,0 +1,278 @@
+@font-face {
+ font-family: "a3-metabox-plugin-framework";
+ src:url("../fonts/a3-metabox-plugin-framework.eot");
+ src:url("../fonts/a3-metabox-plugin-framework.eot?#iefix") format("embedded-opentype"),
+ url("../fonts/a3-metabox-plugin-framework.woff") format("woff"),
+ url("../fonts/a3-metabox-plugin-framework.ttf") format("truetype"),
+ url("../fonts/a3-metabox-plugin-framework.svg#a3-metabox-plugin-framework") format("svg");
+ font-weight: normal;
+ font-style: normal;
+
+}
+
+.a3-metabox-panel-wrap .a3-metabox-icon:before {
+ font-family: "a3-metabox-plugin-framework" !important;
+ font-style: normal !important;
+ font-weight: normal !important;
+ font-variant: normal !important;
+ text-transform: none !important;
+ speak: none;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+.a3-metabox-wrapper .expand_all:before, .a3-metabox-wrapper .close_all:before {
+ font-size: 12px;
+ color: #aaa;
+ font-weight: bold !important;
+ margin-right: 5px;
+}
+.a3-metabox-wrapper .expand_all:before {
+ content: "\e000";
+}
+.a3-metabox-wrapper .close_all:before {
+ content: "\e002";
+}
+.a3-metabox-wrapper .a3-metabox-item .handlediv:before {
+ font-size: 16px !important;
+}
+.a3-metabox-wrapper .a3-metabox-item.closed .handlediv:before {
+ content: "\e005"!important;
+}
+.a3-metabox-wrapper .a3-metabox-item.open .handlediv:before {
+ content: "\e004"!important;
+}
+
+.a3-metabox-panel-wrap {
+ background: #fff;
+ padding-left: 146px;
+ box-sizing: border-box;
+}
+.a3-metabox-wrapper, .a3-metabox-options-panel {
+ float: right;
+ width: 100%;
+}
+.a3-metabox-wrapper p.toolbar,
+.a3-metabox-options-panel .a3-metabox-items,
+.a3-metabox-options-panel p.toolbar {
+ padding-left: 15px!important;
+ padding-right: 15px!important;
+}
+.a3-metabox-tabs-back {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ background: #f5f5f5;
+ width: 145px;
+ border-right: 1px solid #DFDFDF;
+}
+ul.a3-metabox-data-tabs {
+ background: #f5f5f5;
+ line-height: 1em;
+ float: left;
+ width: 145px;
+ margin: 0 0 0 -146px;
+ position: relative;
+ padding: 0 0 10px;
+}
+ul.a3-metabox-data-tabs li {
+ display: block;
+ padding: 0;
+ margin: 0;
+}
+ul.a3-metabox-data-tabs li a {
+ padding: 10px;
+ line-height: 18px!important;
+ margin: 0;
+ display: block;
+ background: #f5f5f5;
+ text-decoration: none;
+ border-bottom: 1px solid #f5f5f5;
+ border-top: 1px solid #eaeaea;
+}
+ul.a3-metabox-data-tabs li:first-child a {
+ border-top: 0 !important;
+}
+ul.a3-metabox-data-tabs li.active a {
+ border-color: #DFDFDF;
+ position: relative;
+ background-color: #fff;
+ color: #555;
+ margin: 0 -1px 0 0;
+}
+.a3-metabox-panel, .a3-metabox-options-panel {
+ padding: 0;
+ color: #555
+}
+.a3-metabox-panel table.form-table td label,
+.a3-metabox-panel table.form-table td span,
+.a3-metabox-panel table.form-table td a,
+.a3-metabox-panel table.form-table td input,
+.a3-metabox-panel table.form-table td select,
+.a3-metabox-panel table.form-table td *,
+.a3-metabox-panel table.form-table td,
+.a3-metabox-panel * {
+ font-size: 13px;
+}
+.a3-metabox-panel table td {
+ padding: 10px 15px;
+}
+
+.a3-metabox-wrapper .toolbar {
+ margin: 0!important;
+ border-top: 1px solid #fff;
+ border-bottom: 1px solid #DFDFDF;
+ padding: 9px 15px!important;
+}
+.a3-metabox-wrapper .toolbar:first-child {
+ border-top: 0
+}
+.a3-metabox-wrapper .toolbar:last-child {
+ border-bottom: 0
+}
+.a3-metabox-wrapper p.toolbar {
+ overflow: hidden;
+ zoom: 1;
+}
+.a3-metabox-wrapper .a3-metabox-items {
+ border-bottom: 1px solid #DFDFDF;
+}
+.a3-metabox-wrapper .a3-metabox-item-sortable-placeholder {
+ border-color: #bbb;
+ background-color: #f5f5f5;
+ margin-bottom: 9px;
+ border-width: 1px;
+ border-style: dashed;
+}
+.a3-metabox-wrapper .a3-metabox-item {
+ background: #fff;
+ border-bottom: 1px solid #DFDFDF;
+ margin: 0!important;
+}
+.a3-metabox-wrapper .a3-metabox-item:last-of-type {
+ border-bottom: 0 none;
+}
+.a3-metabox-wrapper .a3-metabox-item .handlediv:before {
+ line-height: 1!important;
+}
+.a3-metabox-wrapper .a3-metabox-item.closed h3 {
+ border: 0;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 {
+ margin: 0!important;
+ padding: 10px 15px !important;
+ font-size: 1em!important;
+ overflow: hidden;
+ zoom: 1;
+ cursor: move;
+ position: relative;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 span {
+ font-weight: 400;
+}
+.a3-metabox-wrapper .a3-metabox-item.open h3 {
+ cursor: ne-resize;
+}
+.a3-metabox-wrapper .a3-metabox-item.closed h3 {
+ cursor: sw-resize;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 button {
+ float: right;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 strong {
+ line-height: 1;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 .handlediv {
+ background-position: 6px 5px!important;
+ height: 24px;
+ width: 24px;
+ position: absolute;
+ z-index: 1000;
+ right: 0;
+}
+.a3-metabox-wrapper .a3-metabox-item h3.fixed {
+ cursor: pointer!important;
+}
+.a3-metabox-wrapper .a3-metabox-item h3:hover .handlediv {
+ display: block;
+}
+.a3-metabox-wrapper .a3-metabox-item table {
+ width: 100%;
+ position: relative;
+ background: #fff;
+ padding: 0px;
+ margin: 0px;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 table {
+ margin: 0;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 table td:first-child {
+ width: 27%;
+}
+.a3-metabox-panel table tr td:first-child {
+ width: 27%;
+}
+.a3-metabox-wrapper .a3-metabox-item table td {
+ text-align: left;
+ vertical-align: top;
+ border: 0
+}
+.a3-metabox-wrapper .a3-metabox-item h3 table td {
+ padding: 0;
+}
+.a3-metabox-wrapper .a3-metabox-item table td label {
+ text-align: left;
+ display: block;
+ line-height: 21px;
+}
+.a3-metabox-wrapper .close_all, .a3-metabox-wrapper .expand_all {
+ float: right;
+ margin-left: 14px;
+ line-height: 22px;
+ text-decoration: none
+}
+@media only screen and (max-width: 900px) {
+ .a3-metabox-panel-wrap {
+ padding-left: 35px;
+ }
+ .a3-metabox-tabs-back {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ width: 28px;
+ border-right: 1px solid #DFDFDF;
+ }
+ ul.a3-metabox-data-tabs {
+ width: 28px;
+ margin-left: -35px;
+ }
+ ul.a3-metabox-data-tabs li a {
+ overflow: hidden;
+ white-space: nowrap;
+ }
+ .a3-metabox-tabs-back, ul.a3-metabox-data-tabs {
+ width: 40px;
+ }
+ ul.a3-metabox-data-tabs li a {
+ position: relative;
+ text-indent: -999px;
+ padding: 10px;
+ }
+ ul.a3-metabox-data-tabs li a:before {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ text-indent: 0;
+ text-align: center;
+ line-height: 40px;
+ width: 40px;
+ height: 40px;
+ }
+ .a3-metabox-wrapper, .a3-metabox-options-panel {
+ width: 98%;
+ }
+}
diff --git a/admin/assets/css/a3_admin_metabox.rtl.css b/admin/assets/css/a3_admin_metabox.rtl.css
new file mode 100644
index 0000000..4bf9ec8
--- /dev/null
+++ b/admin/assets/css/a3_admin_metabox.rtl.css
@@ -0,0 +1,78 @@
+.clear {
+ clear: both;
+}
+.nobr {
+ white-space: nowrap;
+}
+.a3-metabox-panel-wrap {
+ padding-left: 0px;
+ padding-right: 146px;
+}
+.a3-metabox-panel-wrap .a3-metabox-tabs-back {
+ left: auto;
+ right: 0;
+ border-left: 1px solid #DFDFDF;
+ border-right: none;
+}
+.a3-metabox-panel-wrap ul.a3-metabox-data-tabs {
+ float: right;
+ margin: 0 -146px 0 0;
+}
+.a3-metabox-panel-wrap ul.a3-metabox-data-tabs li.active a {
+ margin: 0 0 0 -1px;
+}
+.a3-metabox-wrapper,
+.a3-metabox-options-panel {
+ float: left;
+}
+.a3-metabox-wrapper .a3-metabox-items,
+.a3-metabox-wrapper p.toolbar,
+.a3-metabox-options-panel .a3-metabox-items,
+.a3-metabox-options-panel p.toolbar {
+ padding-left: 20px !important;
+ padding-right: 12px !important;
+}
+.a3-metabox-wrapper .close_all,
+.a3-metabox-wrapper .expand_all {
+ float: left;
+ margin-left: 0px;
+ margin-right: 14px;
+}
+.a3-metabox-wrapper .a3-metabox-item table td {
+ text-align: right;
+}
+.a3-metabox-wrapper .a3-metabox-item table td label {
+ text-align: right;
+}
+.a3-metabox-wrapper .a3-metabox-item h3 .handlediv {
+ left: 0;
+ right: auto;
+}
+@media only screen and (max-width: 900px) {
+ .a3-metabox-panel-wrap {
+ padding-left: 0px;
+ padding-right: 35px;
+ }
+ .a3-metabox-panel-wrap .a3-metabox-tabs-back {
+ left: auto;
+ left: 0;
+ border-left: 1px solid #DFDFDF;
+ border-right: none;
+ }
+ .a3-metabox-panel-wrap ul.a3-metabox-data-tabs {
+ margin-left: 0px;
+ margin-right: -35px;
+ }
+ .a3-metabox-panel-wrap ul.a3-metabox-data-tabs li a:after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ text-indent: 0;
+ text-align: center;
+ line-height: 40px;
+ width: 40px;
+ height: 40px;
+ }
+}
diff --git a/admin/assets/css/a3_admin_metabox.rtl.less b/admin/assets/css/a3_admin_metabox.rtl.less
new file mode 100644
index 0000000..f2ea995
--- /dev/null
+++ b/admin/assets/css/a3_admin_metabox.rtl.less
@@ -0,0 +1,106 @@
+@import "mixins.less";
+
+/*-------------------------------------------------------------------------------------------*/
+/* A3rev Admin Metabox RTL UI */
+/*-------------------------------------------------------------------------------------------*/
+
+.a3-metabox-panel-wrap {
+ padding-left: 0px;
+ padding-right: 146px;
+
+ .a3-metabox-tabs-back {
+ left: auto;
+ right: 0;
+ border-left: 1px solid #DFDFDF;
+ border-right: none;
+ }
+
+ ul {
+ &.a3-metabox-data-tabs {
+ float: right;
+ margin: 0 -146px 0 0;
+
+ li {
+ &.active {
+ a {
+ margin: 0 0 0 -1px;
+ }
+ }
+ }
+ }
+ }
+}
+
+.a3-metabox-wrapper, .a3-metabox-options-panel {
+ float: left;
+
+ .a3-metabox-items, p.toolbar {
+ padding-left: 20px !important;
+ padding-right: 12px !important;
+ }
+}
+
+.a3-metabox-wrapper {
+ .close_all, .expand_all {
+ float: left;
+ margin-left: 0px;
+ margin-right: 14px;
+ }
+
+ .a3-metabox-item {
+ table {
+ td {
+ text-align: right;
+
+ label {
+ text-align: right;
+ }
+ }
+ }
+ h3 {
+ .handlediv {
+ left: 0;
+ right: auto;
+
+ }
+ }
+ }
+}
+
+@media only screen and (max-width: 900px) {
+ .a3-metabox-panel-wrap {
+ padding-left: 0px;
+ padding-right: 35px;
+
+ .a3-metabox-tabs-back {
+ left: auto;
+ left: 0;
+ border-left: 1px solid #DFDFDF;
+ border-right: none;
+ }
+
+ ul {
+ &.a3-metabox-data-tabs {
+ margin-left: 0px;
+ margin-right: -35px;
+
+ li {
+ a {
+ &:after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ text-indent: 0;
+ text-align: center;
+ line-height: 40px;
+ width: 40px;
+ height: 40px;
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/admin/assets/css/a3_admin_metabox.rtl.min.css b/admin/assets/css/a3_admin_metabox.rtl.min.css
new file mode 100644
index 0000000..af9ea94
--- /dev/null
+++ b/admin/assets/css/a3_admin_metabox.rtl.min.css
@@ -0,0 +1 @@
+.clear{clear:both}.nobr{white-space:nowrap}.a3-metabox-panel-wrap{padding-left:0px;padding-right:146px}.a3-metabox-panel-wrap .a3-metabox-tabs-back{left:auto;right:0;border-left:1px solid #DFDFDF;border-right:none}.a3-metabox-panel-wrap ul.a3-metabox-data-tabs{float:right;margin:0 -146px 0 0}.a3-metabox-panel-wrap ul.a3-metabox-data-tabs li.active a{margin:0 0 0 -1px}.a3-metabox-wrapper,.a3-metabox-options-panel{float:left}.a3-metabox-wrapper .a3-metabox-items,.a3-metabox-wrapper p.toolbar,.a3-metabox-options-panel .a3-metabox-items,.a3-metabox-options-panel p.toolbar{padding-left:20px !important;padding-right:12px !important}.a3-metabox-wrapper .close_all,.a3-metabox-wrapper .expand_all{float:left;margin-left:0px;margin-right:14px}.a3-metabox-wrapper .a3-metabox-item table td{text-align:right}.a3-metabox-wrapper .a3-metabox-item table td label{text-align:right}.a3-metabox-wrapper .a3-metabox-item h3 .handlediv{left:0;right:auto}@media only screen and (max-width: 900px){.a3-metabox-panel-wrap{padding-left:0px;padding-right:35px}.a3-metabox-panel-wrap .a3-metabox-tabs-back{left:auto;left:0;border-left:1px solid #DFDFDF;border-right:none}.a3-metabox-panel-wrap ul.a3-metabox-data-tabs{margin-left:0px;margin-right:-35px}.a3-metabox-panel-wrap ul.a3-metabox-data-tabs li a:after{position:absolute;top:0;right:0;bottom:0;left:0;text-indent:0;text-align:center;line-height:40px;width:40px;height:40px}}
\ No newline at end of file
diff --git a/admin/assets/css/admin-flat-ui-style.css b/admin/assets/css/admin-flat-ui-style.css
new file mode 100644
index 0000000..a4527e6
--- /dev/null
+++ b/admin/assets/css/admin-flat-ui-style.css
@@ -0,0 +1,209 @@
+/*-------------------------------------------------------------------------------------------*/
+/* A3rev Panel UI FLAT */
+/*-------------------------------------------------------------------------------------------*/
+@charset "UTF-8";
+
+.a3rev_panel_container input[type="text"], .a3rev_panel_container input[type="email"] , .a3rev_panel_container input[type="number"], .a3rev_panel_container input[type="password"] { height:auto !important; }
+
+/* Font Control */
+.a3rev_panel_container .a3rev-ui-typography-preview { height:24px; margin-top: 1px; vertical-align: top; }
+
+/* Color Control */
+.a3rev_panel_container .wp-picker-container, .a3rev_panel_container .wp-picker-container:active { vertical-align:bottom; }
+.a3rev_panel_container .wp-color-result { top:1px !important; vertical-align: top !important; }
+.a3rev_panel_container input.a3rev-color-picker { font-family: open sans !important; margin-top: 1px !important;}
+.a3rev_panel_container input.wp-picker-default { margin-top: 1px !important; vertical-align:top; }
+
+/* Settings Preview */
+.a3rev_panel_container .a3rev-ui-settings-preview { height:24px; margin-top: 1px; vertical-align: top; }
+
+/* Border Rounded Corner Control */
+.a3rev_panel_container .a3rev-ui-border_corner-span { float:left; width:150px; }
+.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer .iPhoneCheckLabelOff, .a3rev_panel_container .forminp-border_corner .iOSCheckContainer .iOSCheckLabelOff {
+ background: #569aef !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ color: #FFFFFF !important;
+ text-shadow: none !important;
+}
+
+/* Box Shadow Control */
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer, .a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer { top:0px; vertical-align:top; }
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer .iPhoneCheckLabelOff, .a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer .iOSCheckLabelOff {
+ background: #569aef !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ color: #FFFFFF !important;
+ text-shadow: none !important;
+}
+
+/* SLIDER Control */
+.a3rev_panel_container .a3rev-ui-slide {
+ background: #ededed !important;
+ border: 1px solid #666 !important;
+ border-radius: 3px;
+ -webkit-border-radius: 3px 3px 3px 3px;
+ -moz-border-radius: 3px 3px 3px 3px;
+
+ height: 10px;
+ width: 220px;
+ position:relative;
+ float:left;
+ margin-top:4px;
+}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-handle {
+ background: #666 !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666 !important;
+ border-radius: 3px;
+ -webkit-border-radius: 3px 3px 3px 3px;
+ -moz-border-radius: 3px 3px 3px 3px;
+
+ position: absolute;
+ z-index: 2;
+ width: 22px;
+ height: 23px;
+ cursor: pointer;
+ font-weight: bold;
+ color: #1C94C4;
+ outline: none;
+ top: -8px;
+ margin-left: -11px;
+}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-range {
+ background: #569aef !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666 !important;
+ border-left:none !important;
+ border-radius: 3px;
+ -webkit-border-radius: 3px 3px 3px 3px;
+ -moz-border-radius: 3px 3px 3px 3px;
+
+ position: absolute;
+ top: -1px;
+ height: 100%;
+}
+
+/* OnOff Radio Control */
+.a3rev_panel_container .forminp-onoff_radio li .iPhoneCheckContainer label {
+ margin:0 !important;
+}
+
+/* OnOff Checkbox & Radio Control */
+.a3rev_panel_container .iPhoneCheckContainer label, .a3rev_panel_container .iOSCheckContainer label {
+ white-space: nowrap;
+ font-size: 14px;
+ line-height: 23px;
+ font-weight: bold;
+ font-family: inherit !important;
+ cursor: pointer;
+ display: block;
+ position: absolute;
+ width: auto;
+ top: 0;
+ overflow: hidden;
+ user-select: none;
+ -moz-user-select: none;
+ -khtml-user-select: none;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOff, .a3rev_panel_container label.iOSCheckLabelOff {
+ background: #ededed !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ height: 23px;
+ color: #000 !important;
+ text-shadow: none !important;
+ text-align: right;
+ right: 0;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOn, .a3rev_panel_container label.iOSCheckLabelOn {
+ background: #569aef !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ height: 23px;
+ text-align:left;
+ color: #FFFFFF;
+ text-shadow: none !important;
+ left: 0;
+}
+.a3rev_panel_container .iPhoneCheckHandle, .a3rev_panel_container .iOSCheckHandle {
+ background: #666 !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ display: block;
+ cursor: pointer;
+ position: absolute;
+ top: 0px;
+ left: -1px;
+ width: 35px;
+ height:23px;
+}
+
+/* Switcher Checkbox Control */
+.a3rev_panel_container .forminp-switcher_checkbox .iPhoneCheckContainer .iPhoneCheckLabelOff, .a3rev_panel_container .forminp-switcher_checkbox .iOSCheckContainer .iOSCheckLabelOff {
+ background: #569aef !important;
+ box-shadow: none !important;
+ -webkit-box-shadow: none !important;
+ border: 1px solid #666666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ color: #FFFFFF !important;
+ text-shadow: none !important;
+}
+
+/* Style for Chosen lib */
+.chosen-container-single .chosen-single {
+ background: #FFF !important;
+}
+.chosen-container-active .chosen-single-with-drop {
+ background: #FFF !important;
+}
+.chosen-container-multi .chosen-choices .search-choice {
+ background: #e4e4e4 !important;
+ -webkit-box-shadow: none !important;
+ -moz-box-shadow : none !important;
+ box-shadow : none !important;
+}
+
+/* Thickbox of Uploader */
+#media-upload .ui-sortable .media-item {
+ clear:both;
+}
+
+@media screen and ( max-width: 782px ) {
+ #media-items {
+ width:100%;
+ }
+ .media-item .describe input[type="text"], .media-item .describe textarea {
+ width:100%;
+ }
+}
diff --git a/admin/assets/css/admin-flat-ui-style.min.css b/admin/assets/css/admin-flat-ui-style.min.css
new file mode 100644
index 0000000..10a7e5b
--- /dev/null
+++ b/admin/assets/css/admin-flat-ui-style.min.css
@@ -0,0 +1,27 @@
+.a3rev_panel_container input[type="text"],.a3rev_panel_container input[type="email"],.a3rev_panel_container input[type="number"],.a3rev_panel_container input[type="password"]{height:auto !important}
+.a3rev_panel_container .a3rev-ui-typography-preview{height:24px;margin-top:1px;vertical-align:top}
+.a3rev_panel_container .wp-picker-container,.a3rev_panel_container .wp-picker-container:active{vertical-align:bottom}
+.a3rev_panel_container .wp-color-result{top:1px !important;vertical-align:top !important}
+.a3rev_panel_container input.a3rev-color-picker{font-family:open sans !important;margin-top:1px !important}
+.a3rev_panel_container input.wp-picker-default{margin-top:1px !important;vertical-align:top}
+.a3rev_panel_container .a3rev-ui-settings-preview{height:24px;margin-top:1px;vertical-align:top}
+.a3rev_panel_container .a3rev-ui-border_corner-span{float:left;width:150px}
+.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer .iPhoneCheckLabelOff,.a3rev_panel_container .forminp-border_corner .iOSCheckContainer .iOSCheckLabelOff{background:#569aef !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;color:#fff !important;text-shadow:none !important}
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer,.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer{top:0;vertical-align:top}
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer .iPhoneCheckLabelOff,.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer .iOSCheckLabelOff{background:#569aef !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;color:#fff !important;text-shadow:none !important}
+.a3rev_panel_container .a3rev-ui-slide{background:#ededed !important;border:1px solid #666 !important;border-radius:3px;-webkit-border-radius:3px 3px 3px 3px;-moz-border-radius:3px 3px 3px 3px;height:10px;width:220px;position:relative;float:left;margin-top:4px}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-handle{background:#666 !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666 !important;border-radius:3px;-webkit-border-radius:3px 3px 3px 3px;-moz-border-radius:3px 3px 3px 3px;position:absolute;z-index:2;width:22px;height:23px;cursor:pointer;font-weight:bold;color:#1c94c4;outline:0;top:-8px;margin-left:-11px}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-range{background:#569aef !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666 !important;border-left:none !important;border-radius:3px;-webkit-border-radius:3px 3px 3px 3px;-moz-border-radius:3px 3px 3px 3px;position:absolute;top:-1px;height:100%}
+.a3rev_panel_container .forminp-onoff_radio li .iPhoneCheckContainer label{margin:0 !important}
+.a3rev_panel_container .iPhoneCheckContainer label,.a3rev_panel_container .iOSCheckContainer label{white-space:nowrap;font-size:14px;line-height:23px;font-weight:bold;font-family:inherit !important;cursor:pointer;display:block;position:absolute;width:auto;top:0;overflow:hidden;user-select:none;-moz-user-select:none;-khtml-user-select:none}
+.a3rev_panel_container label.iPhoneCheckLabelOff,.a3rev_panel_container label.iOSCheckLabelOff{background:#ededed !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;height:23px;color:#000 !important;text-shadow:none !important;text-align:right;right:0}
+.a3rev_panel_container label.iPhoneCheckLabelOn,.a3rev_panel_container label.iOSCheckLabelOn{background:#569aef !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;height:23px;text-align:left;color:#fff;text-shadow:none !important;left:0}
+.a3rev_panel_container .iPhoneCheckHandle,.a3rev_panel_container .iOSCheckHandle{background:#666 !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;display:block;cursor:pointer;position:absolute;top:0;left:-1px;width:35px;height:23px}
+.a3rev_panel_container .forminp-switcher_checkbox .iPhoneCheckContainer .iPhoneCheckLabelOff,.a3rev_panel_container .forminp-switcher_checkbox .iOSCheckContainer .iOSCheckLabelOff{background:#569aef !important;box-shadow:none !important;-webkit-box-shadow:none !important;border:1px solid #666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;color:#fff !important;text-shadow:none !important}
+.chosen-container-single .chosen-single{background:#FFF !important}
+.chosen-container-active .chosen-single-with-drop{background:#FFF !important}
+.chosen-container-multi .chosen-choices .search-choice{background:#e4e4e4 !important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}
+#media-upload .ui-sortable .media-item{clear:both}
+@media screen and (max-width:782px){#media-items{width:100%}
+.media-item .describe input[type="text"],.media-item .describe textarea{width:100%}
+}
\ No newline at end of file
diff --git a/admin/assets/css/admin-ui-style.css b/admin/assets/css/admin-ui-style.css
new file mode 100644
index 0000000..8df288c
--- /dev/null
+++ b/admin/assets/css/admin-ui-style.css
@@ -0,0 +1,1064 @@
+/*-------------------------------------------------------------------------------------------*/
+/* A3rev Panel UI */
+/*-------------------------------------------------------------------------------------------*/
+@charset "UTF-8";
+
+/* A3 Plugin Framework Font Icons */
+
+/* GENERATE by Fontastic http://fontastic.me */
+@font-face {
+ font-family: "a3-plugin-framework";
+ src:url("../fonts/a3-plugin-framework.eot");
+ src:url("../fonts/a3-plugin-framework.eot?#iefix") format("embedded-opentype"),
+ url("../fonts/a3-plugin-framework.woff") format("woff"),
+ url("../fonts/a3-plugin-framework.ttf") format("truetype"),
+ url("../fonts/a3-plugin-framework.svg#a3-plugin-framework") format("svg");
+ font-weight: normal;
+ font-style: normal;
+
+}
+
+@-webkit-keyframes progress-bar {
+ from { background-position: 0 0;}
+ to { background-position: 24px 40px;}
+}
+@keyframes progress-bar {
+ from { background-position: 0 0;}
+ to { background-position: 24px 40px;}
+}
+
+[class^="a3-plugin-ui-"]:before,
+[class*=" a3-plugin-ui-"]:before {
+ font-family: "a3-plugin-framework" !important;
+ font-style: normal !important;
+ font-weight: normal !important;
+ font-variant: normal !important;
+ text-transform: none !important;
+ speak: none;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.a3-plugin-ui-a3-plugins-icon:before {
+ content: "a";
+}
+.a3-plugin-ui-a3-rev-logo:before {
+ content: "b";
+}
+.a3-plugin-ui-a3-thumb-icon:before {
+ content: "c";
+}
+.a3-plugin-ui-delete-icon:before {
+ content: "d";
+}
+.a3-plugin-ui-help-icon:before {
+ content: "e";
+}
+.a3-plugin-ui-key-icon:before {
+ content: "f";
+}
+.a3-plugin-ui-preview-icon:before {
+ content: "g";
+}
+.a3-plugin-ui-refresh-icon:before {
+ content: "h";
+}
+.a3-plugin-ui-loading-icon:before {
+ content: "k";
+}
+.a3-plugin-ui-a3-plugins-icon-1:before {
+ content: "i";
+}
+.a3-plugin-ui-a3-rev-logo-1:before {
+ content: "j";
+}
+
+.a3rev_panel_container {
+ visibility:hidden;
+ height:0;
+ overflow:hidden;
+ margin-top:10px;
+ float: left;
+ width: 100%;
+}
+.a3rev_panel_container .a3rev_panel_row {
+ display: table;
+ width: 100%;
+ table-layout: fixed;
+ clear: both;
+ position: relative;
+}
+.a3rev_panel_container .a3rev_panel_row:after {
+ display: table;
+ clear: both;
+ content: '';
+}
+.a3rev_panel_container .a3rev_panel_column {
+ display: table-cell;
+ width: 50%;
+ box-sizing: border-box;
+ padding: 0 10px;
+ position: relative;
+ vertical-align: top;
+}
+.a3rev_panel_container .a3rev_panel_column:last-child {
+ padding-right: 0;
+}
+.a3rev_panel_container .a3rev_panel_column:first-child {
+ padding-left: 0;
+ padding-right: 10px;
+}
+.a3rev_panel_container .a3rev_panel_box {
+ position: relative;
+ border: 1px solid #e5e5e5;
+ -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.06);
+ box-shadow: 0 1px 1px rgba(0,0,0,0.06);
+ background: #fff;
+ margin-bottom: 20px;
+ border-radius: 0px;
+}
+.a3rev_panel_container .a3rev_panel_box .a3rev_panel_box {
+ -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
+ box-shadow: 0 1px 1px rgba(0,0,0,0.1);
+}
+.a3rev_panel_container .a3rev_panel_box_handle {
+ padding: 8px 12px 8px 38px;
+ position: relative;
+}
+.a3rev_panel_container .a3rev_panel_box_handle .pro_feature_top_message {
+ text-align: left;
+ margin: 5px 0 0;
+}
+.a3rev_panel_container .a3-plugin-ui-panel-box {
+ cursor: pointer;
+ margin: 0;
+}
+.a3rev_panel_container .a3-plugin-ui-panel-box:before {
+ content: "j";
+ color: #aaa;
+ position: absolute;
+ top: 7px;
+ left: 10px;
+ font-size: 20px;
+}
+.a3rev_panel_container .box_active .a3-plugin-ui-panel-box:before {
+ color: #22ef00;
+}
+.a3rev_panel_container .a3-plugin-ui-panel-box.box_open:before {
+ content: "m";
+ color: #000;
+}
+.a3rev_panel_container .a3-plugin-ui-panel-box:hover:before {
+ color: #000;
+}
+.a3rev_panel_container .a3rev_panel_box_handle h3 {
+ margin: 0;
+}
+.a3rev_panel_container .a3rev_panel_box_handle p {
+ font-size: 12px;
+ margin: 5px 0;
+}
+.a3rev_panel_container .a3rev_panel_box_handle p:last-child {
+ margin-bottom: 0;
+}
+.a3rev_panel_container .a3rev_panel_box_inside {
+ overflow: hidden;
+ height: 0;
+ visibility: hidden;
+ border-top: 1px solid #eee;
+ padding: 0 12px;
+}
+.a3rev_panel_container .a3rev_panel_box_inside.box_open {
+ overflow: inherit;
+ height: auto;
+ visibility: visible;
+}
+.a3rev_panel_container .a3rev_panel_box.pro_feature_fields .a3rev_panel_box_handle {
+ background-color: #edfed0;
+}
+.a3rev_panel_container .a3rev_panel_box.pro_feature_fields .a3rev_panel_box_inside {
+ border-color: #7ebd14;
+}
+.a3rev_panel_container .a3rev_panel_inner {
+ clear:both;
+ display:block;
+ padding-bottom:10px;
+}
+.a3rev_panel_container .a3rev_panel_inner h3 {
+ margin-bottom:0;
+}
+.a3rev_panel_container .a3rev_panel_inner .form-table {
+ margin-bottom:0;
+}
+.icon32-a3rev-ui-settings {
+ background:url("../images/a3-plugins.png") no-repeat left top;
+}
+
+.a3_subsubsub_section {
+ float: left;
+ width: 100%;
+}
+
+.a3rev_panel_container input[type="text"], .a3rev_panel_container input[type="email"] , .a3rev_panel_container input[type="number"], .a3rev_panel_container input[type="password"] { height:24px; }
+
+/* Font Control */
+.a3rev_panel_container .a3rev-ui-typography-size { width:80px; }
+.a3rev_panel_container .a3rev-ui-typography-line_height { width:80px; }
+.a3rev_panel_container .a3rev-ui-typography-face { width:160px; }
+.a3rev_panel_container .a3rev-ui-typography-style { width:100px; }
+.a3rev_panel_container .a3rev-ui-typography-preview { display:inline-block; }
+
+.a3rev_panel_container .typography-preview-container .preview_remove {
+ background:#EEEEEE;
+ border: 1px solid #DDDDDD;
+ border-radius: 2px 2px 2px 2px;
+ -webkit-border-radius: 2px 2px 2px 2px;
+ -moz-border-radius: 2px 2px 2px 2px;
+ cursor: pointer;
+ height: 10px;
+ padding: 2px;
+ position: absolute;
+ right: -10px;
+ top: -10px;
+ width: 10px;
+ z-index: 99;
+ text-decoration:none !important;
+}
+.a3rev_panel_container .a3rev-ui-typography-preview-button { float: left; margin: 0px; padding-top: 0px; height:24px; line-height:24px; }
+.a3rev_panel_container .typography-preview-container { clear: both; position:relative; width:50%; margin-top:10px; }
+.a3rev_panel_container .typography-preview { word-wrap: break-word; clear: both; padding: 20px; border: 1px solid #CCCCCC; background: #FDFDFD; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
+/* Class is dynamically added to the "html" tag. */
+
+/* Color Control */
+.a3rev_panel_container .wp-picker-holder { position:absolute; z-index: 10000; }
+.a3rev_panel_container input.wp-picker-default { height:24px !important; }
+.a3rev_panel_container .wp-color-result { top:0px; }
+
+/* Text Input Control */
+.a3rev_panel_container .a3rev-ui-text { width:300px; max-width:70%; }
+
+/* Email Input Control */
+.a3rev_panel_container .a3rev-ui-email { width:300px; max-width:70%; }
+
+/* Number Input Control */
+.a3rev_panel_container .a3rev-ui-number { width:40px; max-width:70%; }
+
+/* Password Input Control */
+.a3rev_panel_container .a3rev-ui-password { width:300px; max-width:70%; }
+
+/* Google API KEY Control */
+.a3rev_panel_container .a3rev-ui-google_api_key { width:350px; max-width: 100%; }
+.a3rev_panel_container .a3rev-ui-google-api-key-inside { margin-top: 10px; }
+.a3rev_panel_container .a3rev-ui-google-valid-key-message,
+.a3rev_panel_container .a3rev-ui-google-unvalid-key-message { display: none; }
+.a3rev_panel_container .a3rev-ui-google-valid-key,
+.a3rev_panel_container .a3rev-ui-google-unvalid-key { padding: 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
+.a3rev_panel_container .a3rev-ui-google-valid-key { background-color: #dff0d8; border: 1px solid #468847; color: #468847; }
+.a3rev_panel_container .a3rev-ui-google-unvalid-key { background-color: #ffebe8; border: 1px solid #dd3d36; color: #dd3d36; }
+.a3rev_panel_container .a3rev-ui-google-valid-key .a3rev-ui-google-valid-key-message,
+.a3rev_panel_container .a3rev-ui-google-unvalid-key .a3rev-ui-google-unvalid-key-message { display: block; }
+
+/* Manual Check New Version Control */
+.a3rev_panel_container .a3rev-ui-version-checking { display: none; margin-top: 6px; background-image: url('../images/loading-bottom.gif'); background-repeat: no-repeat; background-size: 100% auto; width: 16px; height: 16px; }
+.a3rev_panel_container .a3rev-ui-check-version-message { font-size: 13px; }
+.a3rev_panel_container .a3rev-ui-new-version-message,
+.a3rev_panel_container .a3rev-ui-latest-version-message { padding: 8px 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); margin-top: 8px; }
+.a3rev_panel_container .a3rev-ui-latest-version-message { background-color: #dff0d8; border: 1px solid #468847; color: #468847; }
+.a3rev_panel_container .a3rev-ui-new-version-message { background-color: #ffebe8; border: 1px solid #dd3d36; color: #dd3d36; }
+
+/* Ajax Submit Control */
+.a3rev_panel_container .a3rev-ui-ajax_submit-control,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control {
+ margin-bottom: 6px;
+}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-button,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button {
+ border-radius: 5px;
+ border: none;
+ background: #2186fa;
+ color: #fff;
+ font-size: 16px;
+ padding: 8px 15px;
+ transition: all 0.5s ease 0.1s;
+ cursor: pointer;
+ height: 40px;
+ box-sizing: border-box;
+ margin-bottom: 5px;
+}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-button:hover,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button:hover {
+ background: #f4741b;
+}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-button.disabled,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button.disabled {
+ background: #999;
+ cursor: default;
+}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-successed,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-successed {
+ display: none;
+ color: #46b450;
+ font-size: 14px;
+ transition: all 1.5s ease 0.1s;
+ height: 40px;
+ box-sizing: border-box;
+}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-errors,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-errors {
+ display: none;
+ color: #dc3232;
+ font-size: 14px;
+ transition: all 1.5s ease 0.1s;
+}
+.a3rev_panel_container .a3rev-ui-progress-bar-wrap {
+ background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
+ border-radius: 6px;
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6) inset;
+ display: none;
+ padding: 3px;
+ width: 100%;
+ max-width: 600px;
+ position: relative;
+}
+.a3rev_panel_container .a3rev-ui-progress-inner {
+ animation: progress-bar 1s infinite linear;
+ -ms-animation: progress-bar 1s infinite linear;
+ -moz-animation: progress-bar 1s infinite linear;
+ -webkit-animation: progress-bar 1s infinite linear;
+ background: rgba(0, 0, 0, 0) repeating-linear-gradient(-45deg, #0077ff, #0077ff 10px, #c3defd 10px, #c3defd 24px) repeat scroll 0 0 / 68px 68px;
+ border-radius: 4px;
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);
+ height: 34px;
+ overflow: hidden;
+ transition: width 2s ease 0.1s;
+ width: 0px;
+}
+.a3rev_panel_container .a3rev-ui-progressing-text,
+.a3rev_panel_container .a3rev-ui-completed-text {
+ box-sizing: border-box;
+ color: #fff;
+ display: block;
+ font-size: 16px;
+ left: 0;
+ top: 0;
+ padding: 0px 10px;
+ position: absolute;
+ text-align: center;
+ text-shadow: 0px 0px 2px #000;
+ width: 100%;
+ height: 100%;
+ line-height: 40px;
+ z-index: 1;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+.a3rev_panel_container .a3rev-ui-completed-text {
+ display: none;
+}
+
+/* Ajax Multi Submit Control */
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button {
+ margin-bottom: 0px;
+}
+.a3rev_panel_container .a3rev-ui-statistics-wrap {
+ float: left;
+ width: 100%;
+ max-width: 600px;
+ margin-top: 20px;
+}
+.a3rev_panel_container .a3rev-ui-statistic-item {
+ float: left;
+ width: 100%;
+ box-sizing: border-box;
+ margin-bottom: 30px;
+}
+.a3rev_panel_container .a3rev-ui-pie-wrap {
+ height: 80px;
+ width: 80px;
+ margin: 0 auto 5px auto;
+ position: relative;
+}
+.a3rev_panel_container .a3rev-ui-pie-shadow {
+ border: 10px solid #ddd;
+ border-radius: 100%;
+ height: 100%;
+ width: 100%;
+ box-sizing: border-box;
+}
+.a3rev_panel_container .a3rev-ui-pie {
+ clip: rect(0px, 80px, 80px, 40px);
+ height: 100%;
+ width: 100%;
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+.a3rev_panel_container .a3rev-ui-pie.pie-more-50 {
+ clip: rect(auto, auto, auto, auto);
+}
+.a3rev_panel_container .a3rev-ui-pie-half-circle {
+ clip: rect(0px, 40px, 80px, 0px);
+ border: 10px solid #3498db;
+ border-radius: 100%;
+ height: 100%;
+ width: 100%;
+ position: absolute;
+ left: 0;
+ top: 0;
+ box-sizing: border-box;
+}
+.a3rev_panel_container .a3rev-ui-statistic-text {
+ text-align: center;
+ text-transform: uppercase;
+ color: #777;
+}
+.a3rev_panel_container .a3rev-ui-statistic-separate,
+.a3rev_panel_container .a3rev-ui-statistic-current-item,
+.a3rev_panel_container .a3rev-ui-statistic-total-item {
+ color: #000;
+ font-size: 25px;
+ margin: 0px;
+}
+
+/* Textarea Control */
+.a3rev_panel_container .a3rev-ui-textarea { width:600px; max-width:70%; }
+
+/* Select Control */
+.a3rev_panel_container .a3rev-ui-select { width:160px; max-width:70%; }
+
+/* Multiselect Control */
+.a3rev_panel_container .a3rev-ui-multiselect { width:300px; max-width:70%; }
+
+/* Radio Control */
+.a3rev_panel_container .forminp-radio ul { margin:0; }
+
+/* Image Size Control */
+.a3rev_panel_container .a3rev-ui-image_size-width { width:40px; }
+.a3rev_panel_container .a3rev-ui-image_size-height { width:40px; }
+.a3rev_panel_container .a3rev-ui-image_size-crop { }
+
+/* Single Select Page Control */
+.a3rev_panel_container .a3rev-ui-single_select_page { width:300px; max-width:70%; }
+
+/* Settings Preview */
+.a3rev_panel_container .a3rev-ui-settings-preview { display:inline-block; }
+.a3rev_panel_container .settings-apply-preview { padding:10px; background:#FF0; }
+.a3rev_panel_container .settings-preview-container .preview_remove {
+ background:#EEEEEE;
+ border: 1px solid #DDDDDD;
+ border-radius: 2px 2px 2px 2px;
+ -webkit-border-radius: 2px 2px 2px 2px;
+ -moz-border-radius: 2px 2px 2px 2px;
+ cursor: pointer;
+ height: 10px;
+ padding: 2px;
+ position: absolute;
+ right: -10px;
+ top: -10px;
+ width: 10px;
+ z-index: 99;
+ text-decoration:none !important;
+}
+.a3rev_panel_container .a3rev-ui-settings-preview-button { float: left; margin: 0px; padding-top: 0px; height:24px; line-height:24px; }
+.a3rev_panel_container .settings-preview-container { clear: both; position:relative; margin-top:12px; width:50%; }
+.a3rev_panel_container .settings-preview { word-wrap: break-word; clear: both; padding: 30px; border: 1px solid #CCCCCC; background: #FDFDFD; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
+
+/* Border Styles Control */
+.a3rev_panel_container .a3rev-ui-border_styles-width { width:80px; }
+.a3rev_panel_container .a3rev-ui-border_styles-style { width:80px; }
+
+/* Border Rounded Corner Control */
+.a3rev_panel_container .forminp-border_corner .desc { margin-bottom:10px !important; }
+.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer { margin-right:30px; }
+.a3rev_panel_container .a3rev-ui-border-corner-value-container { float:left; width:100%; }
+.a3rev_panel_container .a3rev-ui-border_corner-top_left, .a3rev_panel_container .a3rev-ui-border_corner-top_right, .a3rev_panel_container .a3rev-ui-border_corner-bottom_left, .a3rev_panel_container .a3rev-ui-border_corner-bottom_right { float:left; width:100%; clear:both; padding-top:5px; }
+.a3rev_panel_container .a3rev-ui-border_corner-span { float:left; width:140px; margin-bottom:8px; }
+.a3rev_panel_container .a3rev-ui-border_corner-px { float:left; margin-right:10px; }
+.a3rev_panel_container .forminp-border_corner .settings-apply-preview { border:1px solid #515151; }
+.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer .iPhoneCheckLabelOff, .a3rev_panel_container .forminp-border_corner .iOSCheckContainer .iOSCheckLabelOff {
+ background: #569aef;
+ background: -moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));
+ background: -webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: linear-gradient(#468be0 20%, #569aef 50%, #6aa7f6 52%, #82b3f5 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ border: 1px solid #666666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ color: #FFFFFF;
+ text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
+}
+
+/* Background Color Control */
+.a3rev_panel_container .a3rev-ui-bg_color-enable-container { margin-top:10px; }
+
+/* Box Shadow Control */
+.a3rev_panel_container .a3rev-ui-box_shadow-h_shadow { width:80px; }
+.a3rev_panel_container .a3rev-ui-box_shadow-v_shadow { width:80px; }
+.a3rev_panel_container .a3rev-ui-box_shadow-blur { width:80px; }
+.a3rev_panel_container .a3rev-ui-box_shadow-spread { width:80px; }
+.a3rev_panel_container .a3rev-ui-box_shadow-enable-container { margin-top:10px; }
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer, .a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer { float:none; display:inline-block; margin-top:0; top:-12px; margin-right:0px; }
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer .iPhoneCheckLabelOff, .a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer .iOSCheckLabelOff {
+ background: #569aef;
+ background: -moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));
+ background: -webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: linear-gradient(#468be0 20%, #569aef 50%, #6aa7f6 52%, #82b3f5 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ border: 1px solid #666666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ color: #FFFFFF;
+ text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
+}
+
+/* Uploader Control */
+.a3rev_panel_container .a3rev-ui-upload { width:300px; height:24px; }
+
+/* SLIDER Control */
+.a3rev_panel_container .a3rev-ui-slide-container {
+ white-space:nowrap;
+ float:left;
+}
+.a3rev_panel_container .a3rev-ui-slide-container-start {
+ padding-left:12px;
+ margin-bottom:15px;
+ margin-right:20px;
+ float:left;
+}
+.a3rev_panel_container .a3rev-ui-slide-result-container {
+ float:left;
+ white-space:nowrap;
+}
+.a3rev_panel_container .a3rev-ui-slide {
+ background: #ededed;
+ background: -moz-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#ededed),color-stop(50%,#ededed),color-stop(52%,#f7f6f6),color-stop(100%,#ffffff));
+ background: -webkit-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: -o-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: -ms-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: linear-gradient(#dcdcdc 20%, #ededed 50%, #f7f6f6 52%, #ffffff 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdcdc',endColorstr='#ffffff',GradientType=0);
+ border: 1px solid #d0d0d9;
+ border-radius: 3px;
+ -webkit-border-radius: 3px 3px 3px 3px;
+ -moz-border-radius: 3px 3px 3px 3px;
+
+ height: 10px;
+ width: 220px;
+ position:relative;
+ float:left;
+ margin-top:4px;
+}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-handle {
+ background: #569aef;
+ background: -moz-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#bcbcbc),color-stop(50%,#d5d5d5),color-stop(52%,#d8d8d8),color-stop(100%,#efefef));
+ background: -webkit-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: -o-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: -ms-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: linear-gradient(#bcbcbc 20%, #d5d5d5 50%, #d8d8d8 52%, #efefef 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bcbcbc',endColorstr='#efefef',GradientType=0);
+ box-shadow: 0 1px 0px 0px #FFFFFF inset;
+ -webkit-box-shadow: 0 1px 0px 0px #FFFFFF inset;
+ border: 1px solid #999999;
+ border-radius: 3px;
+ -webkit-border-radius: 3px 3px 3px 3px;
+ -moz-border-radius: 3px 3px 3px 3px;
+
+ position: absolute;
+ z-index: 2;
+ width: 22px;
+ height: 23px;
+ cursor: pointer;
+ font-weight: bold;
+ color: #1C94C4;
+ outline: none;
+ top: -8px;
+ margin-left: -11px;
+}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-range {
+ background: #569aef;
+ background: -moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));
+ background: -webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: linear-gradient(#468be0 20%, #569aef 50%, #6aa7f6 52%, #82b3f5 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ border: 1px solid #255399;
+ border-radius: 3px;
+ -webkit-border-radius: 3px 3px 3px 3px;
+ -moz-border-radius: 3px 3px 3px 3px;
+
+ position: absolute;
+ top: -1px;
+ height: 100%;
+}
+.a3rev_panel_container .a3rev-ui-slider { float:left; width: 50px; padding:3px; margin-top:-1px;}
+
+/* Array TextFields Control */
+.a3rev_panel_container .a3rev-ui-array_textfields { width:40px; }
+
+/* OnOff Radio Control */
+.a3rev_panel_container .forminp-onoff_radio ul {
+ float:left;
+ width:100%;
+ margin:0;
+}
+.a3rev_panel_container .forminp-onoff_radio li {
+ float:left;
+ width:100%;
+ padding-top:10px;
+}
+.a3rev_panel_container .forminp-onoff_radio .iPhoneCheckDisabled , .a3rev_panel_container .forminp-onoff_radio .iOSCheckDisabled {
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
+ opacity: 1;
+}
+
+/* OnOff Checkbox & Radio Control */
+.a3rev_panel_container .iPhoneCheckContainer, .a3rev_panel_container .iOSCheckContainer {
+ position: relative;
+ height: 25px;
+ cursor: pointer;
+ margin-right:10px;
+ float:left;
+ margin-top:-3px;
+}
+.a3rev_panel_container .iPhoneCheckContainer input, .a3rev_panel_container .iOSCheckContainer input {
+ display: none;
+}
+.a3rev_panel_container .iPhoneCheckContainer label, .a3rev_panel_container .iOSCheckContainer label {
+ white-space: nowrap;
+ font-size: 14px;
+ line-height: 24px;
+ font-weight: bold;
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
+ cursor: pointer;
+ display: block;
+ position: absolute;
+ width: auto;
+ top: 0;
+ overflow: hidden;
+ user-select: none;
+ -moz-user-select: none;
+ -khtml-user-select: none;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOff, .a3rev_panel_container label.iOSCheckLabelOff {
+ background: #ededed;
+ background: -moz-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#ededed),color-stop(50%,#ededed),color-stop(52%,#f7f6f6),color-stop(100%,#ffffff));
+ background: -webkit-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: -o-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: -ms-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);
+ background: linear-gradient(#dcdcdc 20%, #ededed 50%, #f7f6f6 52%, #ffffff 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdcdc',endColorstr='#ffffff',GradientType=0);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ border: 1px solid #999999;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ height: 23px;
+ color: #8b8b8b;
+ text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
+ text-align: right;
+ right: 0;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOff span, .a3rev_panel_container label.iOSCheckLabelOff span {
+ padding-right: 10px;
+ padding-left: 0px;
+ display: inline-block;
+ text-transform:uppercase;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOn, .a3rev_panel_container label.iOSCheckLabelOn {
+ background: #569aef;
+ background: -moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));
+ background: -webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: linear-gradient(#468be0 20%, #569aef 50%, #6aa7f6 52%, #82b3f5 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ border: 1px solid #999999;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ height: 23px;
+ text-align:left;
+ color: #FFFFFF;
+ text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
+ left: 0;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOn span, .a3rev_panel_container label.iOSCheckLabelOn span {
+ padding-left:10px;
+ display: inline-block;
+ text-transform:uppercase;
+}
+.a3rev_panel_container .iPhoneCheckHandle, .a3rev_panel_container .iOSCheckHandle {
+ background: #569aef;
+ background: -moz-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#bcbcbc),color-stop(50%,#d5d5d5),color-stop(52%,#d8d8d8),color-stop(100%,#efefef));
+ background: -webkit-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: -o-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: -ms-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);
+ background: linear-gradient(#bcbcbc 20%, #d5d5d5 50%, #d8d8d8 52%, #efefef 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bcbcbc',endColorstr='#efefef',GradientType=0);
+ box-shadow: 0 1px 0px 0px #FFFFFF inset;
+ -webkit-box-shadow: 0 1px 0px 0px #FFFFFF inset;
+ border: 1px solid #999999;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ display: block;
+ cursor: pointer;
+ position: absolute;
+ top: 0px;
+ left: -1px;
+ width: 35px;
+ height:23px;
+}
+
+.a3rev_panel_container .iPhoneCheckDisabled , .a3rev_panel_container .iOSCheckDisabled {
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
+ opacity: 0.5;
+}
+/* Switcher Checkbox Control */
+.a3rev_panel_container .forminp-switcher_checkbox .iPhoneCheckContainer .iPhoneCheckLabelOff, .a3rev_panel_container .forminp-switcher_checkbox .iOSCheckContainer .iOSCheckLabelOff {
+ background: #569aef;
+ background: -moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));
+ background: -webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: -ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);
+ background: linear-gradient(#468be0 20%, #569aef 50%, #6aa7f6 52%, #82b3f5 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
+ border: 1px solid #666666;
+ border-radius: 5px;
+ -webkit-border-radius: 5px 5px 5px 5px;
+ -moz-border-radius: 5px 5px 5px 5px;
+
+ color: #FFFFFF;
+ text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
+}
+
+/* Help Tip */
+.a3rev_panel_container table.form-table th img.help_tip {
+ float: right;
+ margin: 0 -12px 0 0;
+}
+.a3rev_panel_container table.form-table img.help_tip {
+ cursor: help;
+ line-height: 1;
+ margin: -4px 0 0 5px;
+ padding: 0;
+ vertical-align: middle;
+}
+
+/* Sub tab ui */
+.subsubsub { white-space:normal; }
+.subsubsub li { white-space:nowrap ;}
+
+/* View Doc button */
+.a3-view-docs-button { background-color: #FFFFE0 !important; border: 1px solid #E6DB55 !important; display: inline-block !important; font-weight: normal !important; margin: 5px 10px 0 !important; text-shadow: none !important; }
+
+/* Style for Premium Video Box */
+#a3_plugin_premium_video_container { margin-top: 10px; }
+#a3_plugin_premium_video_container .a3rev_panel_box { margin-bottom: 0px; }
+#a3_plugin_premium_video_container .a3-plugin-ui-panel-box { color: #006799; cursor: default; }
+#a3_plugin_premium_video_container .a3-plugin-ui-panel-box::before {
+ color: #006799;
+ content: "f";
+}
+#a3_plugin_premium_video_container .a3rev_panel_video_box {
+ border-top: 1px solid #eee;
+ overflow: hidden;
+ padding: 0;
+ position: relative;
+}
+#a3_plugin_premium_video_container .a3rev_panel_box_left_inside,
+#a3_plugin_premium_video_container .a3rev_panel_box_right_inside {
+ width: calc( 50% - 1px );
+ padding: 12px 12px 30px 12px;
+ box-sizing: border-box;
+ float: left;
+}
+#a3_plugin_premium_video_container .a3rev_panel_box_separate {
+ width: 1px;
+ height: 100%;
+ background-color: #eee;
+ position: absolute;
+ top: 0;
+ left: 50%;
+ margin-left: -2px;
+}
+#a3_plugin_premium_video_container .a3-plugin-premium-image {
+ position: relative;
+ float: left;
+ width: 50%;
+ margin-right: 15px;
+}
+#a3_plugin_premium_video_container .a3-plugin-premium-image img {
+ height: auto;
+ width: 100%;
+ float: left;
+}
+#a3_plugin_premium_video_container .a3-plugin-premium-video-play {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-image: url('../images/play_video.png');
+ background-repeat: no-repeat;
+ background-position: center center;
+ background-size: 80px auto;
+ background-color: rgba(0, 0, 0, 0.2);
+}
+#a3_plugin_premium_video_container .a3-plugin-video-play:hover {
+ background-color: rgba(0, 0, 0, 0.6);
+}
+
+/* Style for yellow box about Pro or Ultimate version */
+#a3_plugin_panel_container { position:relative; margin-top:10px; float: left; width: 100%; }
+#a3_plugin_panel_fields { padding-right: 280px; }
+#a3_plugin_panel_upgrade_area { float: right; padding-left:20px; width: 260px; margin-top: 10px; }
+#a3_plugin_panel_extensions .a3_plugin_panel_extension_box { border:1px solid #E6DB55; color: #555555; margin-bottom: 17px; padding: 5px 10px; background:#fff; }
+#a3_plugin_panel_extensions img { width:auto; max-width:100%; }
+.pro_feature_top_message { font-size:11px; text-align:center; margin:10px 0; }
+.pro_feature_fields { position: relative; border:2px solid #E6DB55;-webkit-border-radius:10px;-moz-border-radius:10px;-o-border-radius:10px; border-radius: 10px; }
+.pro_feature_hidden { display: none !important; }
+
+/* Style for Blue message box */
+.a3rev_blue_message_box {
+ margin:0 !important;
+ background-color: #F0F8FF;
+ border-color: #CEE1EF;
+ padding:5px 10px;
+ border-radius: 3px 3px 3px 3px;
+ -webkit-border-radius: 3px 3px 3px 3px;
+ -moz-border-radius: 3px 3px 3px 3px;
+ border-style: solid;
+ border-width: 1px;
+}
+.a3rev_blue_message_box a {
+ color:#F00;
+}
+
+/* Chosen Style */
+.a3rev_panel_container .chosen-container {
+ margin-bottom:5px;
+ margin-right:2px;
+}
+
+/* Custom for each element web icons font */
+.a3-plugin-ui-delete-icon:before {
+ vertical-align:top;
+}
+.a3-plugin-ui-icon {
+ color:#46719d;
+ overflow:hidden;
+}
+.a3-plugin-ui-a3-rev-logo {
+ font-size: 170px;
+ height: 125px;
+ margin-top: -30px;
+}
+.a3-plugin-ui-help-icon {
+ color:#777;
+ float:right;
+ margin-right:-15px;
+ width:14px;
+ height:14px;
+ cursor:pointer;
+ font-size:12px;
+ margin-top:5px;
+}
+.a3-plugin-ui-preview-icon {
+ color: #000;
+ display: block;
+ width: 14px;
+ height: 16px;
+}
+.a3rev_panel_container .a3rev-ui-typography-preview-button span:before, .a3rev_panel_container .a3rev-ui-settings-preview-button span:before {
+ font-family: "a3-plugin-framework" !important;
+ font-style: normal !important;
+ font-weight: normal !important;
+ font-variant: normal !important;
+ text-transform: none !important;
+ speak: none;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+
+ content: "g";
+ width: 14px;
+ height: 16px;
+ font-size:12px;
+}
+.a3rev_panel_container .a3rev-ui-typography-preview-button span.refresh:before, .a3rev_panel_container .a3rev-ui-settings-preview-button span.refresh:before {
+ content: "h" !important;
+}
+.wf-loading .a3rev_panel_container .typography-preview.current:before, .wf-loading .a3rev_panel_container .settings-preview.current:before {
+ content: "k" !important;
+}
+.a3-plugin-ui-delete-icon {
+ font-size:10px;
+ color:#C00;
+}
+
+/* END A3 Plugin Framework Font Icons */
+
+@media screen and ( max-width: 1100px ) {
+ .a3rev_panel_column .form-table th,
+ .a3rev_panel_column .form-table td {
+ display: block;
+ vertical-align: middle;
+ width: auto;
+ }
+ .a3rev_panel_column .form-table th {
+ border-bottom: 0;
+ padding-bottom: 0;
+ padding-top: 10px;
+ }
+ .a3rev_panel_column .form-table td {
+ margin-bottom: 0;
+ padding-bottom: 6px;
+ padding-left: 0;
+ padding-top: 4px;
+ }
+}
+
+@media screen and ( min-width: 783px ) {
+ .a3rev_panel_container .chosen-container-multi {
+ min-width:300px;
+ }
+}
+
+@media screen and ( max-width: 782px ) {
+ #a3_plugin_panel_fields {
+ width: 100%;
+ }
+ #a3_plugin_panel_upgrade_area {
+ display:none;
+ }
+ .a3rev_panel_container .pro_feature_fields {
+ margin-right: 0px;
+ }
+ .a3rev_panel_container input[type="text"], .a3rev_panel_container input[type="email"], .a3rev_panel_container input[type="number"], .a3rev_panel_container input[type="password"] {
+ min-width:50px;
+ width:100%;
+ }
+ .a3rev_panel_container .a3rev-ui-text {
+ max-width:none;
+ width:100%;
+ }
+ .a3rev_panel_container .a3rev-ui-textarea {
+ max-width:none !important;
+ width:100% !important;
+ }
+ .a3rev_panel_container .a3rev-ui-slider {
+ width:50px !important;
+ }
+ .a3rev_panel_container .typography-preview-container, .a3rev_panel_container .settings-preview-container {
+ width:90%;
+ }
+ .a3rev_panel_container .a3rev-ui-typography-preview-button:active, .a3rev_panel_container .a3rev-ui-settings-preview-button:active {
+ padding-top:inherit !important;
+ }
+ .a3rev_panel_container .wp-picker-container input.wp-color-picker[type="text"] {
+ width:75px !important;
+ padding:3px 10px !important;
+ }
+ .wp-core-ui .button.wp-picker-default {
+ padding:0 8px 1px;
+ }
+ .a3rev_panel_container input.a3rev-color-picker { margin-top: 1px !important;}
+ .a3rev_panel_container input.wp-picker-default { margin-top: 1px !important; padding:2px 8px !important; }
+
+ .a3rev_panel_container .chosen-container-multi {
+ width: 100% !important;
+ }
+ .a3rev_blue_message_box_container {
+ width:100% !important;
+ }
+ .a3-plugin-ui-help-icon {
+ margin-right:0px;
+ }
+ .a3rev_panel_container .a3rev-ui-statistic-item {
+ width: 100% !important;
+ }
+}
+
+@media screen and ( max-width: 640px ) {
+ .a3rev_panel_container .a3rev_panel_row {
+ display: block;
+ }
+ .a3rev_panel_container .a3rev_panel_column {
+ display: block;
+ width: 100%;
+ padding: 0;
+ }
+ .a3rev_panel_container .a3rev_panel_column:first-child,
+ .a3rev_panel_container .a3rev_panel_column:last-child {
+ padding: 0;
+ }
+}
+
+@media screen and ( max-width: 600px ) {
+ #a3_plugin_premium_video_container .a3rev_panel_box_left_inside,
+ #a3_plugin_premium_video_container .a3rev_panel_box_right_inside {
+ width: 100%;
+ float: left;
+ }
+ #a3_plugin_premium_video_container .a3rev_panel_box_separate {
+ width: 100%;
+ height: 1px;
+ position: relative;
+ margin-left: 0;
+ float: left;
+ left: auto;
+ top: auto;
+ }
+}
+
+@media screen and ( max-width: 480px ) {
+ .a3rev_panel_container .a3rev-ui-slide-container-start {
+ margin-top:5px;
+ }
+ .a3_subsubsub_section .subsubsub {
+ text-align:left;
+ }
+ .a3rev_panel_container .chosen-container-single {
+ max-width: 300px !important;
+ }
+ #a3_plugin_premium_video_container .a3-plugin-premium-image {
+ width: 100%;
+ margin-right: 0px;
+ margin-bottom: 10px;
+ }
+}
diff --git a/admin/assets/css/admin-ui-style.min.css b/admin/assets/css/admin-ui-style.min.css
new file mode 100644
index 0000000..58a7397
--- /dev/null
+++ b/admin/assets/css/admin-ui-style.min.css
@@ -0,0 +1,276 @@
+@charset "UTF-8";
+@font-face{font-family:"a3-plugin-framework";src:url("../fonts/a3-plugin-framework.eot");src:url("../fonts/a3-plugin-framework.eot?#iefix") format("embedded-opentype"),url("../fonts/a3-plugin-framework.woff") format("woff"),url("../fonts/a3-plugin-framework.ttf") format("truetype"),url("../fonts/a3-plugin-framework.svg#a3-plugin-framework") format("svg");font-weight:normal;font-style:normal}
+@-webkit-keyframes progress-bar{
+ from{background-position:0 0}
+ to{background-position:24px 40px}
+}
+@keyframes progress-bar{
+ from{background-position:0 0}
+ to{background-position:24px 40px}
+}
+[class^="a3-plugin-ui-"]:before,
+[class*=" a3-plugin-ui-"]:before{font-family:"a3-plugin-framework"!important;font-style:normal!important;font-weight:normal!important;font-variant:normal!important;text-transform:none!important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
+.a3-plugin-ui-a3-plugins-icon:before{content:"a"}
+.a3-plugin-ui-a3-rev-logo:before{content:"b"}
+.a3-plugin-ui-a3-thumb-icon:before{content:"c"}
+.a3-plugin-ui-delete-icon:before{content:"d"}
+.a3-plugin-ui-help-icon:before{content:"e"}
+.a3-plugin-ui-key-icon:before{content:"f"}
+.a3-plugin-ui-preview-icon:before{content:"g"}
+.a3-plugin-ui-refresh-icon:before{content:"h"}
+.a3-plugin-ui-loading-icon:before{content:"k"}
+.a3-plugin-ui-a3-plugins-icon-1:before{content:"i"}
+.a3-plugin-ui-a3-rev-logo-1:before{content:"j"}
+.a3rev_panel_container{visibility:hidden;height:0;overflow:hidden;margin-top:10px;float:left;width:100%}
+.a3rev_panel_container .a3rev_panel_row{display:table;width:100%;table-layout:fixed;clear:both;position:relative}
+.a3rev_panel_container .a3rev_panel_row:after{display:table;clear:both;content:''}
+.a3rev_panel_container .a3rev_panel_column{display:table-cell;width:50%;box-sizing:border-box;padding:0 10px;position:relative;vertical-align:top}
+.a3rev_panel_container .a3rev_panel_column:last-child{padding-right:0}
+.a3rev_panel_container .a3rev_panel_column:first-child{padding-left:0;padding-right:10px}
+.a3rev_panel_container .a3rev_panel_box{position:relative;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.06);box-shadow:0 1px 1px rgba(0,0,0,0.06);background:#fff;margin-bottom:20px;border-radius:0px}
+.a3rev_panel_container .a3rev_panel_box .a3rev_panel_box{-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1);box-shadow:0 1px 1px rgba(0,0,0,0.1)}
+.a3rev_panel_container .a3rev_panel_box_handle{padding:8px 12px 8px 38px;position:relative}
+.a3rev_panel_container .a3rev_panel_box_handle .pro_feature_top_message{text-align:left;margin:5px 0 0}
+.a3rev_panel_container .a3-plugin-ui-panel-box{cursor:pointer;margin:0}
+.a3rev_panel_container .a3-plugin-ui-panel-box:before{content:"j";color:#aaa;position:absolute;top:7px;left:10px;font-size:20px}
+.a3rev_panel_container .box_active .a3-plugin-ui-panel-box:before{color:#22ef00}
+.a3rev_panel_container .a3-plugin-ui-panel-box.box_open:before{content:"m";color:#000}
+.a3rev_panel_container .a3-plugin-ui-panel-box:hover:before{color:#000}
+.a3rev_panel_container .a3rev_panel_box_handle h3{margin:0}
+.a3rev_panel_container .a3rev_panel_box_handle p{font-size:12px;margin:5px 0}
+.a3rev_panel_container .a3rev_panel_box_handle p:last-child{margin-bottom:0}
+.a3rev_panel_container .a3rev_panel_box_inside{overflow:hidden;height:0;visibility:hidden;border-top:1px solid #eee;padding:0 12px}
+.a3rev_panel_container .a3rev_panel_box_inside.box_open{overflow:inherit;height:auto;visibility:visible}
+.a3rev_panel_container .a3rev_panel_box.pro_feature_fields .a3rev_panel_box_handle{background-color:#edfed0}
+.a3rev_panel_container .a3rev_panel_box.pro_feature_fields .a3rev_panel_box_inside{border-color:#7ebd14}
+.a3rev_panel_container .a3rev_panel_inner{clear:both;display:block;padding-bottom:10px}
+.a3rev_panel_container .a3rev_panel_inner h3{margin-bottom:0}
+.a3rev_panel_container .a3rev_panel_inner .form-table{margin-bottom:0}
+.icon32-a3rev-ui-settings{background:url("../images/a3-plugins.png") no-repeat left top}
+.a3_subsubsub_section{float:left;width:100%}
+.a3rev_panel_container input[type="text"],
+.a3rev_panel_container input[type="email"],
+.a3rev_panel_container input[type="number"],
+.a3rev_panel_container input[type="password"]{height:24px}
+.a3rev_panel_container .a3rev-ui-typography-size{width:80px}
+.a3rev_panel_container .a3rev-ui-typography-line_height{width:80px}
+.a3rev_panel_container .a3rev-ui-typography-face{width:160px}
+.a3rev_panel_container .a3rev-ui-typography-style{width:100px}
+.a3rev_panel_container .a3rev-ui-typography-preview{display:inline-block}
+.a3rev_panel_container .typography-preview-container .preview_remove{background:#EEEEEE;border:1px solid #DDDDDD;border-radius:2px 2px 2px 2px;-webkit-border-radius:2px 2px 2px 2px;-moz-border-radius:2px 2px 2px 2px;cursor:pointer;height:10px;padding:2px;position:absolute;right:-10px;top:-10px;width:10px;z-index:99;text-decoration:none!important}
+.a3rev_panel_container .a3rev-ui-typography-preview-button{float:left;margin:0px;padding-top:0px;height:24px;line-height:24px}
+.a3rev_panel_container .typography-preview-container{clear:both;position:relative;width:50%;margin-top:10px}
+.a3rev_panel_container .typography-preview{word-wrap:break-word;clear:both;padding:20px;border:1px solid #CCCCCC;background:#FDFDFD;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}
+.a3rev_panel_container .wp-picker-holder{position:absolute;z-index:10000}
+.a3rev_panel_container input.wp-picker-default{height:24px!important}
+.a3rev_panel_container .wp-color-result{top:0px}
+.a3rev_panel_container .a3rev-ui-text{width:300px;max-width:70%}
+.a3rev_panel_container .a3rev-ui-email{width:300px;max-width:70%}
+.a3rev_panel_container .a3rev-ui-number{width:40px;max-width:70%}
+.a3rev_panel_container .a3rev-ui-password{width:300px;max-width:70%}
+.a3rev_panel_container .a3rev-ui-google_api_key{width:350px;max-width:100%}
+.a3rev_panel_container .a3rev-ui-google-api-key-inside{margin-top:10px}
+.a3rev_panel_container .a3rev-ui-google-valid-key-message,
+.a3rev_panel_container .a3rev-ui-google-unvalid-key-message{display:none}
+.a3rev_panel_container .a3rev-ui-google-valid-key,
+.a3rev_panel_container .a3rev-ui-google-unvalid-key{padding:10px;box-shadow:0 1px 1px rgba(0,0,0,0.1)}
+.a3rev_panel_container .a3rev-ui-google-valid-key{background-color:#dff0d8;border:1px solid #468847;color:#468847}
+.a3rev_panel_container .a3rev-ui-google-unvalid-key{background-color:#ffebe8;border:1px solid #dd3d36;color:#dd3d36}
+.a3rev_panel_container .a3rev-ui-google-valid-key .a3rev-ui-google-valid-key-message,
+.a3rev_panel_container .a3rev-ui-google-unvalid-key .a3rev-ui-google-unvalid-key-message{display:block}
+.a3rev_panel_container .a3rev-ui-version-checking{display:none;margin-top:6px;background-image:url('../images/loading-bottom.gif');background-repeat:no-repeat;background-size:100% auto;width:16px;height:16px}
+.a3rev_panel_container .a3rev-ui-check-version-message{font-size:13px}
+.a3rev_panel_container .a3rev-ui-new-version-message,
+.a3rev_panel_container .a3rev-ui-latest-version-message{padding:8px 10px;box-shadow:0 1px 1px rgba(0,0,0,0.1);margin-top:8px}
+.a3rev_panel_container .a3rev-ui-latest-version-message{background-color:#dff0d8;border:1px solid #468847;color:#468847}
+.a3rev_panel_container .a3rev-ui-new-version-message{background-color:#ffebe8;border:1px solid #dd3d36;color:#dd3d36}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control{margin-bottom:6px}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-button,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button{border-radius:5px;border:none;background:#2186fa;color:#fff;font-size:16px;padding:8px 15px;transition:all 0.5s ease 0.1s;cursor:pointer;height:40px;box-sizing:border-box;margin-bottom:5px}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-button:hover,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button:hover{background:#f4741b}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-button.disabled,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button.disabled{background:#999;cursor:default}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-successed,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-successed{display:none;color:#46b450;font-size:14px;transition:all 1.5s ease 0.1s;height:40px;box-sizing:border-box}
+.a3rev_panel_container .a3rev-ui-ajax_submit-control .a3rev-ui-ajax_submit-errors,
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-errors{display:none;color:#dc3232;font-size:14px;transition:all 1.5s ease 0.1s}
+.a3rev_panel_container .a3rev-ui-progress-bar-wrap{background:rgba(0,0,0,0.6) none repeat scroll 0 0;border-radius:6px;box-shadow:0 1px 5px rgba(0,0,0,0.6) inset;display:none;padding:3px;width:100%;max-width:600px;position:relative}
+.a3rev_panel_container .a3rev-ui-progress-inner{animation:progress-bar 1s infinite linear;-ms-animation:progress-bar 1s infinite linear;-moz-animation:progress-bar 1s infinite linear;-webkit-animation:progress-bar 1s infinite linear;background:rgba(0,0,0,0) repeating-linear-gradient(-45deg,#0077ff,#0077ff 10px,#c3defd 10px,#c3defd 24px) repeat scroll 0 0 / 68px 68px;border-radius:4px;box-shadow:0 1px 0 rgba(0,0,0,0.75);height:34px;overflow:hidden;transition:width 2s ease 0.1s;width:0px}
+.a3rev_panel_container .a3rev-ui-progressing-text,
+.a3rev_panel_container .a3rev-ui-completed-text{box-sizing:border-box;color:#fff;display:block;font-size:16px;left:0;top:0;padding:0px 10px;position:absolute;text-align:center;text-shadow:0px 0px 2px #000;width:100%;height:100%;line-height:40px;z-index:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
+.a3rev_panel_container .a3rev-ui-completed-text{display:none}
+.a3rev_panel_container .a3rev-ui-ajax_multi_submit-control .a3rev-ui-ajax_multi_submit-button{margin-bottom:0px}
+.a3rev_panel_container .a3rev-ui-statistics-wrap{float:left;width:100%;max-width:600px;margin-top:20px}
+.a3rev_panel_container .a3rev-ui-statistic-item{float:left;width:100%;box-sizing:border-box;margin-bottom:30px}
+.a3rev_panel_container .a3rev-ui-pie-wrap{height:80px;width:80px;margin:0 auto 5px auto;position:relative}
+.a3rev_panel_container .a3rev-ui-pie-shadow{border:10px solid #ddd;border-radius:100%;height:100%;width:100%;box-sizing:border-box}
+.a3rev_panel_container .a3rev-ui-pie{clip:rect(0px,80px,80px,40px);height:100%;width:100%;position:absolute;left:0;top:0}
+.a3rev_panel_container .a3rev-ui-pie.pie-more-50{clip:rect(auto,auto,auto,auto)}
+.a3rev_panel_container .a3rev-ui-pie-half-circle{clip:rect(0px,40px,80px,0px);border:10px solid #3498db;border-radius:100%;height:100%;width:100%;position:absolute;left:0;top:0;box-sizing:border-box}
+.a3rev_panel_container .a3rev-ui-statistic-text{text-align:center;text-transform:uppercase;color:#777}
+.a3rev_panel_container .a3rev-ui-statistic-separate,
+.a3rev_panel_container .a3rev-ui-statistic-current-item,
+.a3rev_panel_container .a3rev-ui-statistic-total-item{color:#000;font-size:25px;margin:0px}
+.a3rev_panel_container .a3rev-ui-textarea{width:600px;max-width:70%}
+.a3rev_panel_container .a3rev-ui-select{width:160px;max-width:70%}
+.a3rev_panel_container .a3rev-ui-multiselect{width:300px;max-width:70%}
+.a3rev_panel_container .forminp-radio ul{margin:0}
+.a3rev_panel_container .a3rev-ui-image_size-width{width:40px}
+.a3rev_panel_container .a3rev-ui-image_size-height{width:40px}
+.a3rev_panel_container .a3rev-ui-image_size-crop{}
+.a3rev_panel_container .a3rev-ui-single_select_page{width:300px;max-width:70%}
+.a3rev_panel_container .a3rev-ui-settings-preview{display:inline-block}
+.a3rev_panel_container .settings-apply-preview{padding:10px;background:#FF0}
+.a3rev_panel_container .settings-preview-container .preview_remove{background:#EEEEEE;border:1px solid #DDDDDD;border-radius:2px 2px 2px 2px;-webkit-border-radius:2px 2px 2px 2px;-moz-border-radius:2px 2px 2px 2px;cursor:pointer;height:10px;padding:2px;position:absolute;right:-10px;top:-10px;width:10px;z-index:99;text-decoration:none!important}
+.a3rev_panel_container .a3rev-ui-settings-preview-button{float:left;margin:0px;padding-top:0px;height:24px;line-height:24px}
+.a3rev_panel_container .settings-preview-container{clear:both;position:relative;margin-top:12px;width:50%}
+.a3rev_panel_container .settings-preview{word-wrap:break-word;clear:both;padding:30px;border:1px solid #CCCCCC;background:#FDFDFD;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}
+.a3rev_panel_container .a3rev-ui-border_styles-width{width:80px}
+.a3rev_panel_container .a3rev-ui-border_styles-style{width:80px}
+.a3rev_panel_container .forminp-border_corner .desc{margin-bottom:10px!important}
+.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer{margin-right:30px}
+.a3rev_panel_container .a3rev-ui-border-corner-value-container{float:left;width:100%}
+.a3rev_panel_container .a3rev-ui-border_corner-top_left,
+.a3rev_panel_container .a3rev-ui-border_corner-top_right,
+.a3rev_panel_container .a3rev-ui-border_corner-bottom_left,
+.a3rev_panel_container .a3rev-ui-border_corner-bottom_right{float:left;width:100%;clear:both;padding-top:5px}
+.a3rev_panel_container .a3rev-ui-border_corner-span{float:left;width:140px;margin-bottom:8px}
+.a3rev_panel_container .a3rev-ui-border_corner-px{float:left;margin-right:10px}
+.a3rev_panel_container .forminp-border_corner .settings-apply-preview{border:1px solid #515151}
+.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer .iPhoneCheckLabelOff,
+.a3rev_panel_container .forminp-border_corner .iOSCheckContainer .iOSCheckLabelOff{background:#569aef;background:-moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));background:-webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:linear-gradient(#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);border:1px solid #666666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;color:#FFFFFF;text-shadow:0px 0px 2px rgba(0,0,0,0.6)}
+.a3rev_panel_container .a3rev-ui-bg_color-enable-container{margin-top:10px}
+.a3rev_panel_container .a3rev-ui-box_shadow-h_shadow{width:80px}
+.a3rev_panel_container .a3rev-ui-box_shadow-v_shadow{width:80px}
+.a3rev_panel_container .a3rev-ui-box_shadow-blur{width:80px}
+.a3rev_panel_container .a3rev-ui-box_shadow-spread{width:80px}
+.a3rev_panel_container .a3rev-ui-box_shadow-enable-container{margin-top:10px}
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer,
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer{float:none;display:inline-block;margin-top:0;top:-12px;margin-right:0px}
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iPhoneCheckContainer .iPhoneCheckLabelOff,
+.a3rev_panel_container .forminp-box_shadow .a3rev-ui-settings-control .iOSCheckContainer .iOSCheckLabelOff{background:#569aef;background:-moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));background:-webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:linear-gradient(#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);border:1px solid #666666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;color:#FFFFFF;text-shadow:0px 0px 2px rgba(0,0,0,0.6)}
+.a3rev_panel_container .a3rev-ui-upload{width:300px;height:24px}
+.a3rev_panel_container .a3rev-ui-slide-container{white-space:nowrap;float:left}
+.a3rev_panel_container .a3rev-ui-slide-container-start{padding-left:12px;margin-bottom:15px;margin-right:20px;float:left}
+.a3rev_panel_container .a3rev-ui-slide-result-container{float:left;white-space:nowrap}
+.a3rev_panel_container .a3rev-ui-slide{background:#ededed;background:-moz-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#ededed),color-stop(50%,#ededed),color-stop(52%,#f7f6f6),color-stop(100%,#ffffff));background:-webkit-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:-o-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:-ms-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:linear-gradient(#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdcdc',endColorstr='#ffffff',GradientType=0);border:1px solid #d0d0d9;border-radius:3px;-webkit-border-radius:3px 3px 3px 3px;-moz-border-radius:3px 3px 3px 3px;height:10px;width:220px;position:relative;float:left;margin-top:4px}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-handle{background:#569aef;background:-moz-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#bcbcbc),color-stop(50%,#d5d5d5),color-stop(52%,#d8d8d8),color-stop(100%,#efefef));background:-webkit-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:-o-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:-ms-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:linear-gradient(#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bcbcbc',endColorstr='#efefef',GradientType=0);box-shadow:0 1px 0px 0px #FFFFFF inset;-webkit-box-shadow:0 1px 0px 0px #FFFFFF inset;border:1px solid #999999;border-radius:3px;-webkit-border-radius:3px 3px 3px 3px;-moz-border-radius:3px 3px 3px 3px;position:absolute;z-index:2;width:22px;height:23px;cursor:pointer;font-weight:bold;color:#1C94C4;outline:none;top:-8px;margin-left:-11px}
+.a3rev_panel_container .a3rev-ui-slide .ui-slider-range{background:#569aef;background:-moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));background:-webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:linear-gradient(#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);border:1px solid #255399;border-radius:3px;-webkit-border-radius:3px 3px 3px 3px;-moz-border-radius:3px 3px 3px 3px;position:absolute;top:-1px;height:100%}
+.a3rev_panel_container .a3rev-ui-slider{float:left;width:50px;padding:3px;margin-top:-1px}
+.a3rev_panel_container .a3rev-ui-array_textfields{width:40px}
+.a3rev_panel_container .forminp-onoff_radio ul{float:left;width:100%;margin:0}
+.a3rev_panel_container .forminp-onoff_radio li{float:left;width:100%;padding-top:10px}
+.a3rev_panel_container .forminp-onoff_radio .iPhoneCheckDisabled,
+.a3rev_panel_container .forminp-onoff_radio .iOSCheckDisabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);opacity:1}
+.a3rev_panel_container .iPhoneCheckContainer,
+.a3rev_panel_container .iOSCheckContainer{position:relative;height:25px;cursor:pointer;margin-right:10px;float:left;margin-top:-3px}
+.a3rev_panel_container .iPhoneCheckContainer input,
+.a3rev_panel_container .iOSCheckContainer input{display:none}
+.a3rev_panel_container .iPhoneCheckContainer label,
+.a3rev_panel_container .iOSCheckContainer label{white-space:nowrap;font-size:14px;line-height:24px;font-weight:bold;font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;cursor:pointer;display:block;position:absolute;width:auto;top:0;overflow:hidden;user-select:none;-moz-user-select:none;-khtml-user-select:none}
+.a3rev_panel_container label.iPhoneCheckLabelOff,
+.a3rev_panel_container label.iOSCheckLabelOff{background:#ededed;background:-moz-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#ededed),color-stop(50%,#ededed),color-stop(52%,#f7f6f6),color-stop(100%,#ffffff));background:-webkit-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:-o-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:-ms-linear-gradient(top,#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);background:linear-gradient(#dcdcdc 20%,#ededed 50%,#f7f6f6 52%,#ffffff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdcdc',endColorstr='#ffffff',GradientType=0);box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);border:1px solid #999999;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;height:23px;color:#8b8b8b;text-shadow:0px 0px 2px rgba(255,255,255,0.6);text-align:right;right:0}
+.a3rev_panel_container label.iPhoneCheckLabelOff span,
+.a3rev_panel_container label.iOSCheckLabelOff span{padding-right:10px;padding-left:0px;display:inline-block;text-transform:uppercase}
+.a3rev_panel_container label.iPhoneCheckLabelOn,
+.a3rev_panel_container label.iOSCheckLabelOn{background:#569aef;background:-moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));background:-webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:linear-gradient(#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);border:1px solid #999999;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;height:23px;text-align:left;color:#FFFFFF;text-shadow:0px 0px 2px rgba(0,0,0,0.6);left:0}
+.a3rev_panel_container label.iPhoneCheckLabelOn span,
+.a3rev_panel_container label.iOSCheckLabelOn span{padding-left:10px;display:inline-block;text-transform:uppercase}
+.a3rev_panel_container .iPhoneCheckHandle,
+.a3rev_panel_container .iOSCheckHandle{background:#569aef;background:-moz-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#bcbcbc),color-stop(50%,#d5d5d5),color-stop(52%,#d8d8d8),color-stop(100%,#efefef));background:-webkit-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:-o-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:-ms-linear-gradient(top,#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);background:linear-gradient(#bcbcbc 20%,#d5d5d5 50%,#d8d8d8 52%,#efefef 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bcbcbc',endColorstr='#efefef',GradientType=0);box-shadow:0 1px 0px 0px #FFFFFF inset;-webkit-box-shadow:0 1px 0px 0px #FFFFFF inset;border:1px solid #999999;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;display:block;cursor:pointer;position:absolute;top:0px;left:-1px;width:35px;height:23px}
+.a3rev_panel_container .iPhoneCheckDisabled,
+.a3rev_panel_container .iOSCheckDisabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}
+.a3rev_panel_container .forminp-switcher_checkbox .iPhoneCheckContainer .iPhoneCheckLabelOff,
+.a3rev_panel_container .forminp-switcher_checkbox .iOSCheckContainer .iOSCheckLabelOff{background:#569aef;background:-moz-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#468be0),color-stop(50%,#569aef),color-stop(52%,#6aa7f6),color-stop(100%,#82b3f5));background:-webkit-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-o-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:-ms-linear-gradient(top,#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);background:linear-gradient(#468be0 20%,#569aef 50%,#6aa7f6 52%,#82b3f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468be0',endColorstr='#82b3f5',GradientType=0);box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.5) inset,0 1px 0 0 rgba(250,250,250,0.5);border:1px solid #666666;border-radius:5px;-webkit-border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;color:#FFFFFF;text-shadow:0px 0px 2px rgba(0,0,0,0.6)}
+.a3rev_panel_container table.form-table th img.help_tip{float:right;margin:0 -12px 0 0}
+.a3rev_panel_container table.form-table img.help_tip{cursor:help;line-height:1;margin:-4px 0 0 5px;padding:0;vertical-align:middle}
+.subsubsub{white-space:normal}
+.subsubsub li{white-space:nowrap}
+.a3-view-docs-button{background-color:#FFFFE0!important;border:1px solid #E6DB55!important;display:inline-block!important;font-weight:normal!important;margin:5px 10px 0!important;text-shadow:none!important}
+#a3_plugin_premium_video_container{margin-top:10px}
+#a3_plugin_premium_video_container .a3rev_panel_box{margin-bottom:0px}
+#a3_plugin_premium_video_container .a3-plugin-ui-panel-box{color:#006799;cursor:default}
+#a3_plugin_premium_video_container .a3-plugin-ui-panel-box::before{color:#006799;content:"f"}
+#a3_plugin_premium_video_container .a3rev_panel_video_box{border-top:1px solid #eee;overflow:hidden;padding:0;position:relative}
+#a3_plugin_premium_video_container .a3rev_panel_box_left_inside,
+#a3_plugin_premium_video_container .a3rev_panel_box_right_inside{width:calc(50% - 1px);padding:12px 12px 30px 12px;box-sizing:border-box;float:left}
+#a3_plugin_premium_video_container .a3rev_panel_box_separate{width:1px;height:100%;background-color:#eee;position:absolute;top:0;left:50%;margin-left:-2px}
+#a3_plugin_premium_video_container .a3-plugin-premium-image{position:relative;float:left;width:50%;margin-right:15px}
+#a3_plugin_premium_video_container .a3-plugin-premium-image img{height:auto;width:100%;float:left}
+#a3_plugin_premium_video_container .a3-plugin-premium-video-play{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url('../images/play_video.png');background-repeat:no-repeat;background-position:center center;background-size:80px auto;background-color:rgba(0,0,0,0.2)}
+#a3_plugin_premium_video_container .a3-plugin-video-play:hover{background-color:rgba(0,0,0,0.6)}
+#a3_plugin_panel_container{position:relative;margin-top:10px;float:left;width:100%}
+#a3_plugin_panel_fields{padding-right:280px}
+#a3_plugin_panel_upgrade_area{float:right;padding-left:20px;width:260px;margin-top:10px}
+#a3_plugin_panel_extensions .a3_plugin_panel_extension_box{border:1px solid #E6DB55;color:#555555;margin-bottom:17px;padding:5px 10px;background:#fff}
+#a3_plugin_panel_extensions img{width:auto;max-width:100%}
+.pro_feature_top_message{font-size:11px;text-align:center;margin:10px 0}
+.pro_feature_fields{position:relative;border:2px solid #E6DB55;-webkit-border-radius:10px;-moz-border-radius:10px;-o-border-radius:10px;border-radius:10px}
+.pro_feature_hidden{display:none!important}
+.a3rev_blue_message_box{margin:0!important;background-color:#F0F8FF;border-color:#CEE1EF;padding:5px 10px;border-radius:3px 3px 3px 3px;-webkit-border-radius:3px 3px 3px 3px;-moz-border-radius:3px 3px 3px 3px;border-style:solid;border-width:1px}
+.a3rev_blue_message_box a{color:#F00}
+.a3rev_panel_container .chosen-container{margin-bottom:5px;margin-right:2px}
+.a3-plugin-ui-delete-icon:before{vertical-align:top}
+.a3-plugin-ui-icon{color:#46719d;overflow:hidden}
+.a3-plugin-ui-a3-rev-logo{font-size:170px;height:125px;margin-top:-30px}
+.a3-plugin-ui-help-icon{color:#777;float:right;margin-right:-15px;width:14px;height:14px;cursor:pointer;font-size:12px;margin-top:5px}
+.a3-plugin-ui-preview-icon{color:#000;display:block;width:14px;height:16px}
+.a3rev_panel_container .a3rev-ui-typography-preview-button span:before,
+.a3rev_panel_container .a3rev-ui-settings-preview-button span:before{font-family:"a3-plugin-framework"!important;font-style:normal!important;font-weight:normal!important;font-variant:normal!important;text-transform:none!important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"g";width:14px;height:16px;font-size:12px}
+.a3rev_panel_container .a3rev-ui-typography-preview-button span.refresh:before,
+.a3rev_panel_container .a3rev-ui-settings-preview-button span.refresh:before{content:"h"!important}
+.wf-loading .a3rev_panel_container .typography-preview.current:before,
+.wf-loading .a3rev_panel_container .settings-preview.current:before{content:"k"!important}
+.a3-plugin-ui-delete-icon{font-size:10px;color:#C00}
+@media screen and (max-width:1100px){
+ .a3rev_panel_column .form-table th,
+ .a3rev_panel_column .form-table td{display:block;vertical-align:middle;width:auto}
+ .a3rev_panel_column .form-table th{border-bottom:0;padding-bottom:0;padding-top:10px}
+ .a3rev_panel_column .form-table td{margin-bottom:0;padding-bottom:6px;padding-left:0;padding-top:4px}
+}
+@media screen and (min-width:783px){
+ .a3rev_panel_container .chosen-container-multi{min-width:300px}
+}
+@media screen and (max-width:782px){
+ #a3_plugin_panel_fields{width:100%}
+ #a3_plugin_panel_upgrade_area{display:none}
+ .a3rev_panel_container .pro_feature_fields{margin-right:0px}
+ .a3rev_panel_container input[type="text"],
+ .a3rev_panel_container input[type="email"],
+ .a3rev_panel_container input[type="number"],
+ .a3rev_panel_container input[type="password"]{min-width:50px;width:100%}
+ .a3rev_panel_container .a3rev-ui-text{max-width:none;width:100%}
+ .a3rev_panel_container .a3rev-ui-textarea{max-width:none!important;width:100%!important}
+ .a3rev_panel_container .a3rev-ui-slider{width:50px!important}
+ .a3rev_panel_container .typography-preview-container,
+ .a3rev_panel_container .settings-preview-container{width:90%}
+ .a3rev_panel_container .a3rev-ui-typography-preview-button:active,
+ .a3rev_panel_container .a3rev-ui-settings-preview-button:active{padding-top:inherit!important}
+ .a3rev_panel_container .wp-picker-container input.wp-color-picker[type="text"]{width:75px!important;padding:3px 10px!important}
+ .wp-core-ui .button.wp-picker-default{padding:0 8px 1px}
+ .a3rev_panel_container input.a3rev-color-picker{margin-top:1px!important}
+ .a3rev_panel_container input.wp-picker-default{margin-top:1px!important;padding:2px 8px!important}
+ .a3rev_panel_container .chosen-container-multi{width:100%!important}
+ .a3rev_blue_message_box_container{width:100%!important}
+ .a3-plugin-ui-help-icon{margin-right:0px}
+ .a3rev_panel_container .a3rev-ui-statistic-item{width:100%!important}
+}
+@media screen and (max-width:640px){
+ .a3rev_panel_container .a3rev_panel_row{display:block}
+ .a3rev_panel_container .a3rev_panel_column{display:block;width:100%;padding:0}
+ .a3rev_panel_container .a3rev_panel_column:first-child,
+ .a3rev_panel_container .a3rev_panel_column:last-child{padding:0}
+}
+@media screen and (max-width:600px){
+ #a3_plugin_premium_video_container .a3rev_panel_box_left_inside,
+ #a3_plugin_premium_video_container .a3rev_panel_box_right_inside{width:100%;float:left}
+ #a3_plugin_premium_video_container .a3rev_panel_box_separate{width:100%;height:1px;position:relative;margin-left:0;float:left;left:auto;top:auto}
+}
+@media screen and (max-width:480px){
+ .a3rev_panel_container .a3rev-ui-slide-container-start{margin-top:5px}
+ .a3_subsubsub_section .subsubsub{text-align:left}
+ .a3rev_panel_container .chosen-container-single{max-width:300px!important}
+ #a3_plugin_premium_video_container .a3-plugin-premium-image{width:100%;margin-right:0px;margin-bottom:10px}
+}
\ No newline at end of file
diff --git a/admin/assets/css/admin-ui-style.rtl.css b/admin/assets/css/admin-ui-style.rtl.css
new file mode 100644
index 0000000..6f0e086
--- /dev/null
+++ b/admin/assets/css/admin-ui-style.rtl.css
@@ -0,0 +1,156 @@
+.clear {
+ clear: both;
+}
+.nobr {
+ white-space: nowrap;
+}
+body.rtl .a3rev_panel_container {
+ font-family: "Open Sans", sans-serif;
+}
+.a3rev_panel_container .a3rev_panel_box_handle {
+ padding: 8px 38px 8px 12px;
+}
+.a3rev_panel_container .a3rev_panel_box_handle .pro_feature_top_message {
+ text-align: right;
+}
+.a3rev_panel_container .a3-plugin-ui-panel-box:before {
+ left: auto;
+ right: 10px;
+}
+.a3rev_panel_container code {
+ float: right;
+}
+.a3rev_panel_container .chosen-container {
+ margin-right: 0px;
+ margin-left: 2px;
+}
+.a3rev_panel_container .chosen-container .chosen-drop {
+ left: auto;
+ right: -9999px;
+}
+.a3rev_panel_container .chosen-container.chosen-with-drop .chosen-drop {
+ left: auto;
+ right: 0;
+}
+.a3rev_panel_container .chosen-container.chosen-container-multi .chosen-choices li.search-choice {
+ margin-left: 0px;
+ margin-right: 5px;
+ float: left;
+ padding-left: 20px;
+ padding-right: 5px;
+}
+.a3rev_panel_container .chosen-container.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
+ left: 3px;
+ right: auto;
+}
+.a3rev_panel_container span.description {
+ margin-right: 5px;
+}
+.a3rev_panel_container .typography-preview-container .preview_remove,
+.a3rev_panel_container .settings-preview-container .preview_remove {
+ left: -10px;
+ right: auto;
+}
+.a3rev_panel_container .a3rev-ui-settings-preview-button {
+ float: right;
+}
+.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer {
+ margin-left: 30px;
+ margin-right: 0px;
+}
+.a3rev_panel_container .forminp-border_corner .a3rev-ui-border-corner-value-container {
+ float: right;
+}
+.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-top_left,
+.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-top_right,
+.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-bottom_left,
+.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-bottom_right {
+ float: right;
+}
+.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-span {
+ float: right;
+}
+.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-px {
+ float: right;
+ margin-left: 10px;
+ margin-right: 0px;
+}
+.a3rev_panel_container .a3rev-ui-slide-container {
+ float: right;
+}
+.a3rev_panel_container .a3rev-ui-slide-container-start {
+ padding-left: 20px;
+ margin-right: 12px;
+ float: right;
+}
+.a3rev_panel_container .a3rev-ui-slide-result-container {
+ float: right;
+}
+.a3rev_panel_container .a3rev-ui-slider {
+ float: right;
+}
+.a3rev_panel_container .a3rev-ui-slide {
+ float: right;
+}
+.a3rev_panel_container .forminp-onoff_radio ul,
+.a3rev_panel_container .forminp-onoff_radio li {
+ float: right;
+}
+.a3rev_panel_container .iPhoneCheckContainer,
+.a3rev_panel_container .iOSCheckContainer {
+ margin-left: 10px;
+ margin-right: 0px;
+ float: right;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOff,
+.a3rev_panel_container label.iOSCheckLabelOff {
+ text-align: left;
+ left: 0;
+ right: auto;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOff span,
+.a3rev_panel_container label.iOSCheckLabelOff span {
+ padding-right: 0px;
+ padding-left: 10px;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOn,
+.a3rev_panel_container label.iOSCheckLabelOn {
+ text-align: right;
+ left: auto;
+ right: 0;
+}
+.a3rev_panel_container label.iPhoneCheckLabelOn span,
+.a3rev_panel_container label.iOSCheckLabelOn span {
+ padding-left: 0px;
+ padding-right: 10px;
+}
+.a3rev_panel_container .iPhoneCheckHandle,
+.a3rev_panel_container .iOSCheckHandle {
+ left: auto;
+ right: -1px;
+}
+.a3rev_panel_container .a3rev-ui-array_textfields-container label {
+ float: right;
+ margin-left: 5px;
+}
+.a3rev_panel_container table.form-table th img.help_tip {
+ float: left;
+ margin: 0 0 0 -12px;
+}
+.a3rev_panel_container table.form-table img.help_tip {
+ margin: -4px 5px 0 0;
+}
+#a3_plugin_panel_fields {
+ padding-left: 280px;
+ padding-right: 0px;
+}
+#a3_plugin_panel_upgrade_area {
+ padding-left: 0px;
+ padding-right: 20px;
+ float: left;
+}
+.a3-plugin-ui-help-icon {
+ float: left;
+ margin-left: -15px;
+ margin-right: 0px;
+}
diff --git a/admin/assets/css/admin-ui-style.rtl.less b/admin/assets/css/admin-ui-style.rtl.less
new file mode 100644
index 0000000..deaa75d
--- /dev/null
+++ b/admin/assets/css/admin-ui-style.rtl.less
@@ -0,0 +1,208 @@
+@import "mixins.less";
+
+/*-------------------------------------------------------------------------------------------*/
+/* A3rev Panel RTL UI */
+/*-------------------------------------------------------------------------------------------*/
+
+body.rtl {
+ .a3rev_panel_container {
+ font-family: "Open Sans",sans-serif;
+ }
+}
+.a3rev_panel_container {
+
+ .a3rev_panel_box_handle {
+ padding: 8px 38px 8px 12px;
+
+ .pro_feature_top_message {
+ text-align: right;
+ }
+ }
+
+ .a3-plugin-ui-panel-box {
+ &:before {
+ left: auto;
+ right: 10px;
+ }
+ }
+
+ code {
+ float: right;
+ }
+
+ /* Chosen RTL */
+ .chosen-container {
+ margin-right: 0px;
+ margin-left: 2px;
+
+ .chosen-drop {
+ left: auto;
+ right: -9999px;
+ }
+ &.chosen-with-drop {
+ .chosen-drop {
+ left: auto;
+ right: 0;
+ }
+ }
+ &.chosen-container-multi {
+ .chosen-choices {
+ li.search-choice {
+ margin-left: 0px;
+ margin-right: 5px;
+ float: left;
+ padding-left: 20px;
+ padding-right: 5px;
+
+ .search-choice-close {
+ left: 3px;
+ right: auto;
+ }
+ }
+ }
+ }
+ }
+
+ /* Description */
+ span.description {
+ margin-right: 5px;
+ }
+
+ /* Preview Remove Button */
+ .typography-preview-container, .settings-preview-container {
+ .preview_remove {
+ left: -10px;
+ right: auto;
+ }
+
+ }
+ .a3rev-ui-settings-preview-button {
+ float: right;
+ }
+
+ /* Border Rounded Corner Control */
+ .forminp-border_corner {
+ .iPhoneCheckContainer {
+ margin-left: 30px;
+ margin-right: 0px;
+ }
+
+ .a3rev-ui-border-corner-value-container {
+ float: right;
+ }
+
+ .a3rev-ui-border_corner-top_left, .a3rev-ui-border_corner-top_right, .a3rev-ui-border_corner-bottom_left, .a3rev-ui-border_corner-bottom_right {
+ float: right;
+ }
+
+ .a3rev-ui-border_corner-span {
+ float: right;
+ }
+
+ .a3rev-ui-border_corner-px {
+ float: right;
+ margin-left: 10px;
+ margin-right: 0px;
+ }
+ }
+
+ /* SLIDER Control */
+ .a3rev-ui-slide-container {
+ float: right;
+ }
+ .a3rev-ui-slide-container-start {
+ padding-left: 20px;
+ margin-right: 12px;
+ float: right;
+ }
+ .a3rev-ui-slide-result-container {
+ float: right;
+ }
+ .a3rev-ui-slider {
+ float: right;
+ }
+ .a3rev-ui-slide {
+ float: right;
+ }
+
+ /* OnOff Radio Control */
+ .forminp-onoff_radio {
+ ul, li {
+ float: right;
+ }
+ }
+
+ /* OnOff Checkbox & Radio Control */
+ .iPhoneCheckContainer, .iOSCheckContainer {
+ margin-left: 10px;
+ margin-right: 0px;
+ float: right;
+ }
+ label.iPhoneCheckLabelOff, label.iOSCheckLabelOff {
+ text-align: left;
+ left: 0;
+ right: auto;
+
+ span {
+ padding-right: 0px;
+ padding-left: 10px;
+ }
+ }
+ label.iPhoneCheckLabelOn, label.iOSCheckLabelOn {
+ text-align: right;
+ left: auto;
+ right: 0;
+
+ span {
+ padding-left: 0px;
+ padding-right: 10px;
+ }
+ }
+
+ .iPhoneCheckHandle, .iOSCheckHandle {
+ left: auto;
+ right: -1px;
+ }
+
+ /* TextFields */
+ .a3rev-ui-array_textfields-container {
+ label {
+ float: right;
+ margin-left: 5px;
+ }
+ }
+
+ /* Help Tip */
+ table {
+ &.form-table {
+ th {
+ img.help_tip {
+ float: left;
+ margin: 0 0 0 -12px;
+ }
+ }
+
+ img.help_tip {
+ margin: -4px 5px 0 0;
+ }
+ }
+ }
+}
+
+/* Style for yellow box about Pro or Ultimate version */
+#a3_plugin_panel_fields {
+ padding-left: 280px;
+ padding-right: 0px;
+}
+#a3_plugin_panel_upgrade_area {
+ padding-left: 0px;
+ padding-right:20px;
+ float: left;
+}
+
+/* Custom for each element web icons font */
+.a3-plugin-ui-help-icon {
+ float: left;
+ margin-left: -15px;
+ margin-right: 0px;
+}
\ No newline at end of file
diff --git a/admin/assets/css/admin-ui-style.rtl.min.css b/admin/assets/css/admin-ui-style.rtl.min.css
new file mode 100644
index 0000000..b133f9f
--- /dev/null
+++ b/admin/assets/css/admin-ui-style.rtl.min.css
@@ -0,0 +1 @@
+.clear{clear:both}.nobr{white-space:nowrap}body.rtl .a3rev_panel_container{font-family:"Open Sans", sans-serif}.a3rev_panel_container .a3rev_panel_box_handle{padding:8px 38px 8px 12px}.a3rev_panel_container .a3rev_panel_box_handle .pro_feature_top_message{text-align:right}.a3rev_panel_container .a3-plugin-ui-panel-box:before{left:auto;right:10px}.a3rev_panel_container code{float:right}.a3rev_panel_container .chosen-container{margin-right:0px;margin-left:2px}.a3rev_panel_container .chosen-container .chosen-drop{left:auto;right:-9999px}.a3rev_panel_container .chosen-container.chosen-with-drop .chosen-drop{left:auto;right:0}.a3rev_panel_container .chosen-container.chosen-container-multi .chosen-choices li.search-choice{margin-left:0px;margin-right:5px;float:left;padding-left:20px;padding-right:5px}.a3rev_panel_container .chosen-container.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{left:3px;right:auto}.a3rev_panel_container span.description{margin-right:5px}.a3rev_panel_container .typography-preview-container .preview_remove,.a3rev_panel_container .settings-preview-container .preview_remove{left:-10px;right:auto}.a3rev_panel_container .a3rev-ui-settings-preview-button{float:right}.a3rev_panel_container .forminp-border_corner .iPhoneCheckContainer{margin-left:30px;margin-right:0px}.a3rev_panel_container .forminp-border_corner .a3rev-ui-border-corner-value-container{float:right}.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-top_left,.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-top_right,.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-bottom_left,.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-bottom_right{float:right}.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-span{float:right}.a3rev_panel_container .forminp-border_corner .a3rev-ui-border_corner-px{float:right;margin-left:10px;margin-right:0px}.a3rev_panel_container .a3rev-ui-slide-container{float:right}.a3rev_panel_container .a3rev-ui-slide-container-start{padding-left:20px;margin-right:12px;float:right}.a3rev_panel_container .a3rev-ui-slide-result-container{float:right}.a3rev_panel_container .a3rev-ui-slider{float:right}.a3rev_panel_container .a3rev-ui-slide{float:right}.a3rev_panel_container .forminp-onoff_radio ul,.a3rev_panel_container .forminp-onoff_radio li{float:right}.a3rev_panel_container .iPhoneCheckContainer,.a3rev_panel_container .iOSCheckContainer{margin-left:10px;margin-right:0px;float:right}.a3rev_panel_container label.iPhoneCheckLabelOff,.a3rev_panel_container label.iOSCheckLabelOff{text-align:left;left:0;right:auto}.a3rev_panel_container label.iPhoneCheckLabelOff span,.a3rev_panel_container label.iOSCheckLabelOff span{padding-right:0px;padding-left:10px}.a3rev_panel_container label.iPhoneCheckLabelOn,.a3rev_panel_container label.iOSCheckLabelOn{text-align:right;left:auto;right:0}.a3rev_panel_container label.iPhoneCheckLabelOn span,.a3rev_panel_container label.iOSCheckLabelOn span{padding-left:0px;padding-right:10px}.a3rev_panel_container .iPhoneCheckHandle,.a3rev_panel_container .iOSCheckHandle{left:auto;right:-1px}.a3rev_panel_container .a3rev-ui-array_textfields-container label{float:right;margin-left:5px}.a3rev_panel_container table.form-table th img.help_tip{float:left;margin:0 0 0 -12px}.a3rev_panel_container table.form-table img.help_tip{margin:-4px 5px 0 0}#a3_plugin_panel_fields{padding-left:280px;padding-right:0px}#a3_plugin_panel_upgrade_area{padding-left:0px;padding-right:20px;float:left}.a3-plugin-ui-help-icon{float:left;margin-left:-15px;margin-right:0px}
\ No newline at end of file
diff --git a/admin/assets/css/font-awesome.css b/admin/assets/css/font-awesome.css
new file mode 100644
index 0000000..b2a5fe2
--- /dev/null
+++ b/admin/assets/css/font-awesome.css
@@ -0,0 +1,2086 @@
+/*!
+ * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
+ */
+/* FONT PATH
+ * -------------------------- */
+@font-face {
+ font-family: 'FontAwesome';
+ src: url('../fonts/fontawesome-webfont.eot?v=4.5.0');
+ src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+.fa {
+ display: inline-block;
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: inherit;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+/* makes the font 33% larger relative to the icon container */
+.fa-lg {
+ font-size: 1.33333333em;
+ line-height: 0.75em;
+ vertical-align: -15%;
+}
+.fa-2x {
+ font-size: 2em;
+}
+.fa-3x {
+ font-size: 3em;
+}
+.fa-4x {
+ font-size: 4em;
+}
+.fa-5x {
+ font-size: 5em;
+}
+.fa-fw {
+ width: 1.28571429em;
+ text-align: center;
+}
+.fa-ul {
+ padding-left: 0;
+ margin-left: 2.14285714em;
+ list-style-type: none;
+}
+.fa-ul > li {
+ position: relative;
+}
+.fa-li {
+ position: absolute;
+ left: -2.14285714em;
+ width: 2.14285714em;
+ top: 0.14285714em;
+ text-align: center;
+}
+.fa-li.fa-lg {
+ left: -1.85714286em;
+}
+.fa-border {
+ padding: .2em .25em .15em;
+ border: solid 0.08em #eeeeee;
+ border-radius: .1em;
+}
+.fa-pull-left {
+ float: left;
+}
+.fa-pull-right {
+ float: right;
+}
+.fa.fa-pull-left {
+ margin-right: .3em;
+}
+.fa.fa-pull-right {
+ margin-left: .3em;
+}
+/* Deprecated as of 4.4.0 */
+.pull-right {
+ float: right;
+}
+.pull-left {
+ float: left;
+}
+.fa.pull-left {
+ margin-right: .3em;
+}
+.fa.pull-right {
+ margin-left: .3em;
+}
+.fa-spin {
+ -webkit-animation: fa-spin 2s infinite linear;
+ animation: fa-spin 2s infinite linear;
+}
+.fa-pulse {
+ -webkit-animation: fa-spin 1s infinite steps(8);
+ animation: fa-spin 1s infinite steps(8);
+}
+@-webkit-keyframes fa-spin {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+@keyframes fa-spin {
+ 0% {
+ -webkit-transform: rotate(0deg);
+ transform: rotate(0deg);
+ }
+ 100% {
+ -webkit-transform: rotate(359deg);
+ transform: rotate(359deg);
+ }
+}
+.fa-rotate-90 {
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
+ -webkit-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+}
+.fa-rotate-180 {
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
+ -webkit-transform: rotate(180deg);
+ -ms-transform: rotate(180deg);
+ transform: rotate(180deg);
+}
+.fa-rotate-270 {
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
+ -webkit-transform: rotate(270deg);
+ -ms-transform: rotate(270deg);
+ transform: rotate(270deg);
+}
+.fa-flip-horizontal {
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
+ -webkit-transform: scale(-1, 1);
+ -ms-transform: scale(-1, 1);
+ transform: scale(-1, 1);
+}
+.fa-flip-vertical {
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
+ -webkit-transform: scale(1, -1);
+ -ms-transform: scale(1, -1);
+ transform: scale(1, -1);
+}
+:root .fa-rotate-90,
+:root .fa-rotate-180,
+:root .fa-rotate-270,
+:root .fa-flip-horizontal,
+:root .fa-flip-vertical {
+ filter: none;
+}
+.fa-stack {
+ position: relative;
+ display: inline-block;
+ width: 2em;
+ height: 2em;
+ line-height: 2em;
+ vertical-align: middle;
+}
+.fa-stack-1x,
+.fa-stack-2x {
+ position: absolute;
+ left: 0;
+ width: 100%;
+ text-align: center;
+}
+.fa-stack-1x {
+ line-height: inherit;
+}
+.fa-stack-2x {
+ font-size: 2em;
+}
+.fa-inverse {
+ color: #ffffff;
+}
+/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
+ readers do not read off random characters that represent icons */
+.fa-glass:before {
+ content: "\f000";
+}
+.fa-music:before {
+ content: "\f001";
+}
+.fa-search:before {
+ content: "\f002";
+}
+.fa-envelope-o:before {
+ content: "\f003";
+}
+.fa-heart:before {
+ content: "\f004";
+}
+.fa-star:before {
+ content: "\f005";
+}
+.fa-star-o:before {
+ content: "\f006";
+}
+.fa-user:before {
+ content: "\f007";
+}
+.fa-film:before {
+ content: "\f008";
+}
+.fa-th-large:before {
+ content: "\f009";
+}
+.fa-th:before {
+ content: "\f00a";
+}
+.fa-th-list:before {
+ content: "\f00b";
+}
+.fa-check:before {
+ content: "\f00c";
+}
+.fa-remove:before,
+.fa-close:before,
+.fa-times:before {
+ content: "\f00d";
+}
+.fa-search-plus:before {
+ content: "\f00e";
+}
+.fa-search-minus:before {
+ content: "\f010";
+}
+.fa-power-off:before {
+ content: "\f011";
+}
+.fa-signal:before {
+ content: "\f012";
+}
+.fa-gear:before,
+.fa-cog:before {
+ content: "\f013";
+}
+.fa-trash-o:before {
+ content: "\f014";
+}
+.fa-home:before {
+ content: "\f015";
+}
+.fa-file-o:before {
+ content: "\f016";
+}
+.fa-clock-o:before {
+ content: "\f017";
+}
+.fa-road:before {
+ content: "\f018";
+}
+.fa-download:before {
+ content: "\f019";
+}
+.fa-arrow-circle-o-down:before {
+ content: "\f01a";
+}
+.fa-arrow-circle-o-up:before {
+ content: "\f01b";
+}
+.fa-inbox:before {
+ content: "\f01c";
+}
+.fa-play-circle-o:before {
+ content: "\f01d";
+}
+.fa-rotate-right:before,
+.fa-repeat:before {
+ content: "\f01e";
+}
+.fa-refresh:before {
+ content: "\f021";
+}
+.fa-list-alt:before {
+ content: "\f022";
+}
+.fa-lock:before {
+ content: "\f023";
+}
+.fa-flag:before {
+ content: "\f024";
+}
+.fa-headphones:before {
+ content: "\f025";
+}
+.fa-volume-off:before {
+ content: "\f026";
+}
+.fa-volume-down:before {
+ content: "\f027";
+}
+.fa-volume-up:before {
+ content: "\f028";
+}
+.fa-qrcode:before {
+ content: "\f029";
+}
+.fa-barcode:before {
+ content: "\f02a";
+}
+.fa-tag:before {
+ content: "\f02b";
+}
+.fa-tags:before {
+ content: "\f02c";
+}
+.fa-book:before {
+ content: "\f02d";
+}
+.fa-bookmark:before {
+ content: "\f02e";
+}
+.fa-print:before {
+ content: "\f02f";
+}
+.fa-camera:before {
+ content: "\f030";
+}
+.fa-font:before {
+ content: "\f031";
+}
+.fa-bold:before {
+ content: "\f032";
+}
+.fa-italic:before {
+ content: "\f033";
+}
+.fa-text-height:before {
+ content: "\f034";
+}
+.fa-text-width:before {
+ content: "\f035";
+}
+.fa-align-left:before {
+ content: "\f036";
+}
+.fa-align-center:before {
+ content: "\f037";
+}
+.fa-align-right:before {
+ content: "\f038";
+}
+.fa-align-justify:before {
+ content: "\f039";
+}
+.fa-list:before {
+ content: "\f03a";
+}
+.fa-dedent:before,
+.fa-outdent:before {
+ content: "\f03b";
+}
+.fa-indent:before {
+ content: "\f03c";
+}
+.fa-video-camera:before {
+ content: "\f03d";
+}
+.fa-photo:before,
+.fa-image:before,
+.fa-picture-o:before {
+ content: "\f03e";
+}
+.fa-pencil:before {
+ content: "\f040";
+}
+.fa-map-marker:before {
+ content: "\f041";
+}
+.fa-adjust:before {
+ content: "\f042";
+}
+.fa-tint:before {
+ content: "\f043";
+}
+.fa-edit:before,
+.fa-pencil-square-o:before {
+ content: "\f044";
+}
+.fa-share-square-o:before {
+ content: "\f045";
+}
+.fa-check-square-o:before {
+ content: "\f046";
+}
+.fa-arrows:before {
+ content: "\f047";
+}
+.fa-step-backward:before {
+ content: "\f048";
+}
+.fa-fast-backward:before {
+ content: "\f049";
+}
+.fa-backward:before {
+ content: "\f04a";
+}
+.fa-play:before {
+ content: "\f04b";
+}
+.fa-pause:before {
+ content: "\f04c";
+}
+.fa-stop:before {
+ content: "\f04d";
+}
+.fa-forward:before {
+ content: "\f04e";
+}
+.fa-fast-forward:before {
+ content: "\f050";
+}
+.fa-step-forward:before {
+ content: "\f051";
+}
+.fa-eject:before {
+ content: "\f052";
+}
+.fa-chevron-left:before {
+ content: "\f053";
+}
+.fa-chevron-right:before {
+ content: "\f054";
+}
+.fa-plus-circle:before {
+ content: "\f055";
+}
+.fa-minus-circle:before {
+ content: "\f056";
+}
+.fa-times-circle:before {
+ content: "\f057";
+}
+.fa-check-circle:before {
+ content: "\f058";
+}
+.fa-question-circle:before {
+ content: "\f059";
+}
+.fa-info-circle:before {
+ content: "\f05a";
+}
+.fa-crosshairs:before {
+ content: "\f05b";
+}
+.fa-times-circle-o:before {
+ content: "\f05c";
+}
+.fa-check-circle-o:before {
+ content: "\f05d";
+}
+.fa-ban:before {
+ content: "\f05e";
+}
+.fa-arrow-left:before {
+ content: "\f060";
+}
+.fa-arrow-right:before {
+ content: "\f061";
+}
+.fa-arrow-up:before {
+ content: "\f062";
+}
+.fa-arrow-down:before {
+ content: "\f063";
+}
+.fa-mail-forward:before,
+.fa-share:before {
+ content: "\f064";
+}
+.fa-expand:before {
+ content: "\f065";
+}
+.fa-compress:before {
+ content: "\f066";
+}
+.fa-plus:before {
+ content: "\f067";
+}
+.fa-minus:before {
+ content: "\f068";
+}
+.fa-asterisk:before {
+ content: "\f069";
+}
+.fa-exclamation-circle:before {
+ content: "\f06a";
+}
+.fa-gift:before {
+ content: "\f06b";
+}
+.fa-leaf:before {
+ content: "\f06c";
+}
+.fa-fire:before {
+ content: "\f06d";
+}
+.fa-eye:before {
+ content: "\f06e";
+}
+.fa-eye-slash:before {
+ content: "\f070";
+}
+.fa-warning:before,
+.fa-exclamation-triangle:before {
+ content: "\f071";
+}
+.fa-plane:before {
+ content: "\f072";
+}
+.fa-calendar:before {
+ content: "\f073";
+}
+.fa-random:before {
+ content: "\f074";
+}
+.fa-comment:before {
+ content: "\f075";
+}
+.fa-magnet:before {
+ content: "\f076";
+}
+.fa-chevron-up:before {
+ content: "\f077";
+}
+.fa-chevron-down:before {
+ content: "\f078";
+}
+.fa-retweet:before {
+ content: "\f079";
+}
+.fa-shopping-cart:before {
+ content: "\f07a";
+}
+.fa-folder:before {
+ content: "\f07b";
+}
+.fa-folder-open:before {
+ content: "\f07c";
+}
+.fa-arrows-v:before {
+ content: "\f07d";
+}
+.fa-arrows-h:before {
+ content: "\f07e";
+}
+.fa-bar-chart-o:before,
+.fa-bar-chart:before {
+ content: "\f080";
+}
+.fa-twitter-square:before {
+ content: "\f081";
+}
+.fa-facebook-square:before {
+ content: "\f082";
+}
+.fa-camera-retro:before {
+ content: "\f083";
+}
+.fa-key:before {
+ content: "\f084";
+}
+.fa-gears:before,
+.fa-cogs:before {
+ content: "\f085";
+}
+.fa-comments:before {
+ content: "\f086";
+}
+.fa-thumbs-o-up:before {
+ content: "\f087";
+}
+.fa-thumbs-o-down:before {
+ content: "\f088";
+}
+.fa-star-half:before {
+ content: "\f089";
+}
+.fa-heart-o:before {
+ content: "\f08a";
+}
+.fa-sign-out:before {
+ content: "\f08b";
+}
+.fa-linkedin-square:before {
+ content: "\f08c";
+}
+.fa-thumb-tack:before {
+ content: "\f08d";
+}
+.fa-external-link:before {
+ content: "\f08e";
+}
+.fa-sign-in:before {
+ content: "\f090";
+}
+.fa-trophy:before {
+ content: "\f091";
+}
+.fa-github-square:before {
+ content: "\f092";
+}
+.fa-upload:before {
+ content: "\f093";
+}
+.fa-lemon-o:before {
+ content: "\f094";
+}
+.fa-phone:before {
+ content: "\f095";
+}
+.fa-square-o:before {
+ content: "\f096";
+}
+.fa-bookmark-o:before {
+ content: "\f097";
+}
+.fa-phone-square:before {
+ content: "\f098";
+}
+.fa-twitter:before {
+ content: "\f099";
+}
+.fa-facebook-f:before,
+.fa-facebook:before {
+ content: "\f09a";
+}
+.fa-github:before {
+ content: "\f09b";
+}
+.fa-unlock:before {
+ content: "\f09c";
+}
+.fa-credit-card:before {
+ content: "\f09d";
+}
+.fa-feed:before,
+.fa-rss:before {
+ content: "\f09e";
+}
+.fa-hdd-o:before {
+ content: "\f0a0";
+}
+.fa-bullhorn:before {
+ content: "\f0a1";
+}
+.fa-bell:before {
+ content: "\f0f3";
+}
+.fa-certificate:before {
+ content: "\f0a3";
+}
+.fa-hand-o-right:before {
+ content: "\f0a4";
+}
+.fa-hand-o-left:before {
+ content: "\f0a5";
+}
+.fa-hand-o-up:before {
+ content: "\f0a6";
+}
+.fa-hand-o-down:before {
+ content: "\f0a7";
+}
+.fa-arrow-circle-left:before {
+ content: "\f0a8";
+}
+.fa-arrow-circle-right:before {
+ content: "\f0a9";
+}
+.fa-arrow-circle-up:before {
+ content: "\f0aa";
+}
+.fa-arrow-circle-down:before {
+ content: "\f0ab";
+}
+.fa-globe:before {
+ content: "\f0ac";
+}
+.fa-wrench:before {
+ content: "\f0ad";
+}
+.fa-tasks:before {
+ content: "\f0ae";
+}
+.fa-filter:before {
+ content: "\f0b0";
+}
+.fa-briefcase:before {
+ content: "\f0b1";
+}
+.fa-arrows-alt:before {
+ content: "\f0b2";
+}
+.fa-group:before,
+.fa-users:before {
+ content: "\f0c0";
+}
+.fa-chain:before,
+.fa-link:before {
+ content: "\f0c1";
+}
+.fa-cloud:before {
+ content: "\f0c2";
+}
+.fa-flask:before {
+ content: "\f0c3";
+}
+.fa-cut:before,
+.fa-scissors:before {
+ content: "\f0c4";
+}
+.fa-copy:before,
+.fa-files-o:before {
+ content: "\f0c5";
+}
+.fa-paperclip:before {
+ content: "\f0c6";
+}
+.fa-save:before,
+.fa-floppy-o:before {
+ content: "\f0c7";
+}
+.fa-square:before {
+ content: "\f0c8";
+}
+.fa-navicon:before,
+.fa-reorder:before,
+.fa-bars:before {
+ content: "\f0c9";
+}
+.fa-list-ul:before {
+ content: "\f0ca";
+}
+.fa-list-ol:before {
+ content: "\f0cb";
+}
+.fa-strikethrough:before {
+ content: "\f0cc";
+}
+.fa-underline:before {
+ content: "\f0cd";
+}
+.fa-table:before {
+ content: "\f0ce";
+}
+.fa-magic:before {
+ content: "\f0d0";
+}
+.fa-truck:before {
+ content: "\f0d1";
+}
+.fa-pinterest:before {
+ content: "\f0d2";
+}
+.fa-pinterest-square:before {
+ content: "\f0d3";
+}
+.fa-google-plus-square:before {
+ content: "\f0d4";
+}
+.fa-google-plus:before {
+ content: "\f0d5";
+}
+.fa-money:before {
+ content: "\f0d6";
+}
+.fa-caret-down:before {
+ content: "\f0d7";
+}
+.fa-caret-up:before {
+ content: "\f0d8";
+}
+.fa-caret-left:before {
+ content: "\f0d9";
+}
+.fa-caret-right:before {
+ content: "\f0da";
+}
+.fa-columns:before {
+ content: "\f0db";
+}
+.fa-unsorted:before,
+.fa-sort:before {
+ content: "\f0dc";
+}
+.fa-sort-down:before,
+.fa-sort-desc:before {
+ content: "\f0dd";
+}
+.fa-sort-up:before,
+.fa-sort-asc:before {
+ content: "\f0de";
+}
+.fa-envelope:before {
+ content: "\f0e0";
+}
+.fa-linkedin:before {
+ content: "\f0e1";
+}
+.fa-rotate-left:before,
+.fa-undo:before {
+ content: "\f0e2";
+}
+.fa-legal:before,
+.fa-gavel:before {
+ content: "\f0e3";
+}
+.fa-dashboard:before,
+.fa-tachometer:before {
+ content: "\f0e4";
+}
+.fa-comment-o:before {
+ content: "\f0e5";
+}
+.fa-comments-o:before {
+ content: "\f0e6";
+}
+.fa-flash:before,
+.fa-bolt:before {
+ content: "\f0e7";
+}
+.fa-sitemap:before {
+ content: "\f0e8";
+}
+.fa-umbrella:before {
+ content: "\f0e9";
+}
+.fa-paste:before,
+.fa-clipboard:before {
+ content: "\f0ea";
+}
+.fa-lightbulb-o:before {
+ content: "\f0eb";
+}
+.fa-exchange:before {
+ content: "\f0ec";
+}
+.fa-cloud-download:before {
+ content: "\f0ed";
+}
+.fa-cloud-upload:before {
+ content: "\f0ee";
+}
+.fa-user-md:before {
+ content: "\f0f0";
+}
+.fa-stethoscope:before {
+ content: "\f0f1";
+}
+.fa-suitcase:before {
+ content: "\f0f2";
+}
+.fa-bell-o:before {
+ content: "\f0a2";
+}
+.fa-coffee:before {
+ content: "\f0f4";
+}
+.fa-cutlery:before {
+ content: "\f0f5";
+}
+.fa-file-text-o:before {
+ content: "\f0f6";
+}
+.fa-building-o:before {
+ content: "\f0f7";
+}
+.fa-hospital-o:before {
+ content: "\f0f8";
+}
+.fa-ambulance:before {
+ content: "\f0f9";
+}
+.fa-medkit:before {
+ content: "\f0fa";
+}
+.fa-fighter-jet:before {
+ content: "\f0fb";
+}
+.fa-beer:before {
+ content: "\f0fc";
+}
+.fa-h-square:before {
+ content: "\f0fd";
+}
+.fa-plus-square:before {
+ content: "\f0fe";
+}
+.fa-angle-double-left:before {
+ content: "\f100";
+}
+.fa-angle-double-right:before {
+ content: "\f101";
+}
+.fa-angle-double-up:before {
+ content: "\f102";
+}
+.fa-angle-double-down:before {
+ content: "\f103";
+}
+.fa-angle-left:before {
+ content: "\f104";
+}
+.fa-angle-right:before {
+ content: "\f105";
+}
+.fa-angle-up:before {
+ content: "\f106";
+}
+.fa-angle-down:before {
+ content: "\f107";
+}
+.fa-desktop:before {
+ content: "\f108";
+}
+.fa-laptop:before {
+ content: "\f109";
+}
+.fa-tablet:before {
+ content: "\f10a";
+}
+.fa-mobile-phone:before,
+.fa-mobile:before {
+ content: "\f10b";
+}
+.fa-circle-o:before {
+ content: "\f10c";
+}
+.fa-quote-left:before {
+ content: "\f10d";
+}
+.fa-quote-right:before {
+ content: "\f10e";
+}
+.fa-spinner:before {
+ content: "\f110";
+}
+.fa-circle:before {
+ content: "\f111";
+}
+.fa-mail-reply:before,
+.fa-reply:before {
+ content: "\f112";
+}
+.fa-github-alt:before {
+ content: "\f113";
+}
+.fa-folder-o:before {
+ content: "\f114";
+}
+.fa-folder-open-o:before {
+ content: "\f115";
+}
+.fa-smile-o:before {
+ content: "\f118";
+}
+.fa-frown-o:before {
+ content: "\f119";
+}
+.fa-meh-o:before {
+ content: "\f11a";
+}
+.fa-gamepad:before {
+ content: "\f11b";
+}
+.fa-keyboard-o:before {
+ content: "\f11c";
+}
+.fa-flag-o:before {
+ content: "\f11d";
+}
+.fa-flag-checkered:before {
+ content: "\f11e";
+}
+.fa-terminal:before {
+ content: "\f120";
+}
+.fa-code:before {
+ content: "\f121";
+}
+.fa-mail-reply-all:before,
+.fa-reply-all:before {
+ content: "\f122";
+}
+.fa-star-half-empty:before,
+.fa-star-half-full:before,
+.fa-star-half-o:before {
+ content: "\f123";
+}
+.fa-location-arrow:before {
+ content: "\f124";
+}
+.fa-crop:before {
+ content: "\f125";
+}
+.fa-code-fork:before {
+ content: "\f126";
+}
+.fa-unlink:before,
+.fa-chain-broken:before {
+ content: "\f127";
+}
+.fa-question:before {
+ content: "\f128";
+}
+.fa-info:before {
+ content: "\f129";
+}
+.fa-exclamation:before {
+ content: "\f12a";
+}
+.fa-superscript:before {
+ content: "\f12b";
+}
+.fa-subscript:before {
+ content: "\f12c";
+}
+.fa-eraser:before {
+ content: "\f12d";
+}
+.fa-puzzle-piece:before {
+ content: "\f12e";
+}
+.fa-microphone:before {
+ content: "\f130";
+}
+.fa-microphone-slash:before {
+ content: "\f131";
+}
+.fa-shield:before {
+ content: "\f132";
+}
+.fa-calendar-o:before {
+ content: "\f133";
+}
+.fa-fire-extinguisher:before {
+ content: "\f134";
+}
+.fa-rocket:before {
+ content: "\f135";
+}
+.fa-maxcdn:before {
+ content: "\f136";
+}
+.fa-chevron-circle-left:before {
+ content: "\f137";
+}
+.fa-chevron-circle-right:before {
+ content: "\f138";
+}
+.fa-chevron-circle-up:before {
+ content: "\f139";
+}
+.fa-chevron-circle-down:before {
+ content: "\f13a";
+}
+.fa-html5:before {
+ content: "\f13b";
+}
+.fa-css3:before {
+ content: "\f13c";
+}
+.fa-anchor:before {
+ content: "\f13d";
+}
+.fa-unlock-alt:before {
+ content: "\f13e";
+}
+.fa-bullseye:before {
+ content: "\f140";
+}
+.fa-ellipsis-h:before {
+ content: "\f141";
+}
+.fa-ellipsis-v:before {
+ content: "\f142";
+}
+.fa-rss-square:before {
+ content: "\f143";
+}
+.fa-play-circle:before {
+ content: "\f144";
+}
+.fa-ticket:before {
+ content: "\f145";
+}
+.fa-minus-square:before {
+ content: "\f146";
+}
+.fa-minus-square-o:before {
+ content: "\f147";
+}
+.fa-level-up:before {
+ content: "\f148";
+}
+.fa-level-down:before {
+ content: "\f149";
+}
+.fa-check-square:before {
+ content: "\f14a";
+}
+.fa-pencil-square:before {
+ content: "\f14b";
+}
+.fa-external-link-square:before {
+ content: "\f14c";
+}
+.fa-share-square:before {
+ content: "\f14d";
+}
+.fa-compass:before {
+ content: "\f14e";
+}
+.fa-toggle-down:before,
+.fa-caret-square-o-down:before {
+ content: "\f150";
+}
+.fa-toggle-up:before,
+.fa-caret-square-o-up:before {
+ content: "\f151";
+}
+.fa-toggle-right:before,
+.fa-caret-square-o-right:before {
+ content: "\f152";
+}
+.fa-euro:before,
+.fa-eur:before {
+ content: "\f153";
+}
+.fa-gbp:before {
+ content: "\f154";
+}
+.fa-dollar:before,
+.fa-usd:before {
+ content: "\f155";
+}
+.fa-rupee:before,
+.fa-inr:before {
+ content: "\f156";
+}
+.fa-cny:before,
+.fa-rmb:before,
+.fa-yen:before,
+.fa-jpy:before {
+ content: "\f157";
+}
+.fa-ruble:before,
+.fa-rouble:before,
+.fa-rub:before {
+ content: "\f158";
+}
+.fa-won:before,
+.fa-krw:before {
+ content: "\f159";
+}
+.fa-bitcoin:before,
+.fa-btc:before {
+ content: "\f15a";
+}
+.fa-file:before {
+ content: "\f15b";
+}
+.fa-file-text:before {
+ content: "\f15c";
+}
+.fa-sort-alpha-asc:before {
+ content: "\f15d";
+}
+.fa-sort-alpha-desc:before {
+ content: "\f15e";
+}
+.fa-sort-amount-asc:before {
+ content: "\f160";
+}
+.fa-sort-amount-desc:before {
+ content: "\f161";
+}
+.fa-sort-numeric-asc:before {
+ content: "\f162";
+}
+.fa-sort-numeric-desc:before {
+ content: "\f163";
+}
+.fa-thumbs-up:before {
+ content: "\f164";
+}
+.fa-thumbs-down:before {
+ content: "\f165";
+}
+.fa-youtube-square:before {
+ content: "\f166";
+}
+.fa-youtube:before {
+ content: "\f167";
+}
+.fa-xing:before {
+ content: "\f168";
+}
+.fa-xing-square:before {
+ content: "\f169";
+}
+.fa-youtube-play:before {
+ content: "\f16a";
+}
+.fa-dropbox:before {
+ content: "\f16b";
+}
+.fa-stack-overflow:before {
+ content: "\f16c";
+}
+.fa-instagram:before {
+ content: "\f16d";
+}
+.fa-flickr:before {
+ content: "\f16e";
+}
+.fa-adn:before {
+ content: "\f170";
+}
+.fa-bitbucket:before {
+ content: "\f171";
+}
+.fa-bitbucket-square:before {
+ content: "\f172";
+}
+.fa-tumblr:before {
+ content: "\f173";
+}
+.fa-tumblr-square:before {
+ content: "\f174";
+}
+.fa-long-arrow-down:before {
+ content: "\f175";
+}
+.fa-long-arrow-up:before {
+ content: "\f176";
+}
+.fa-long-arrow-left:before {
+ content: "\f177";
+}
+.fa-long-arrow-right:before {
+ content: "\f178";
+}
+.fa-apple:before {
+ content: "\f179";
+}
+.fa-windows:before {
+ content: "\f17a";
+}
+.fa-android:before {
+ content: "\f17b";
+}
+.fa-linux:before {
+ content: "\f17c";
+}
+.fa-dribbble:before {
+ content: "\f17d";
+}
+.fa-skype:before {
+ content: "\f17e";
+}
+.fa-foursquare:before {
+ content: "\f180";
+}
+.fa-trello:before {
+ content: "\f181";
+}
+.fa-female:before {
+ content: "\f182";
+}
+.fa-male:before {
+ content: "\f183";
+}
+.fa-gittip:before,
+.fa-gratipay:before {
+ content: "\f184";
+}
+.fa-sun-o:before {
+ content: "\f185";
+}
+.fa-moon-o:before {
+ content: "\f186";
+}
+.fa-archive:before {
+ content: "\f187";
+}
+.fa-bug:before {
+ content: "\f188";
+}
+.fa-vk:before {
+ content: "\f189";
+}
+.fa-weibo:before {
+ content: "\f18a";
+}
+.fa-renren:before {
+ content: "\f18b";
+}
+.fa-pagelines:before {
+ content: "\f18c";
+}
+.fa-stack-exchange:before {
+ content: "\f18d";
+}
+.fa-arrow-circle-o-right:before {
+ content: "\f18e";
+}
+.fa-arrow-circle-o-left:before {
+ content: "\f190";
+}
+.fa-toggle-left:before,
+.fa-caret-square-o-left:before {
+ content: "\f191";
+}
+.fa-dot-circle-o:before {
+ content: "\f192";
+}
+.fa-wheelchair:before {
+ content: "\f193";
+}
+.fa-vimeo-square:before {
+ content: "\f194";
+}
+.fa-turkish-lira:before,
+.fa-try:before {
+ content: "\f195";
+}
+.fa-plus-square-o:before {
+ content: "\f196";
+}
+.fa-space-shuttle:before {
+ content: "\f197";
+}
+.fa-slack:before {
+ content: "\f198";
+}
+.fa-envelope-square:before {
+ content: "\f199";
+}
+.fa-wordpress:before {
+ content: "\f19a";
+}
+.fa-openid:before {
+ content: "\f19b";
+}
+.fa-institution:before,
+.fa-bank:before,
+.fa-university:before {
+ content: "\f19c";
+}
+.fa-mortar-board:before,
+.fa-graduation-cap:before {
+ content: "\f19d";
+}
+.fa-yahoo:before {
+ content: "\f19e";
+}
+.fa-google:before {
+ content: "\f1a0";
+}
+.fa-reddit:before {
+ content: "\f1a1";
+}
+.fa-reddit-square:before {
+ content: "\f1a2";
+}
+.fa-stumbleupon-circle:before {
+ content: "\f1a3";
+}
+.fa-stumbleupon:before {
+ content: "\f1a4";
+}
+.fa-delicious:before {
+ content: "\f1a5";
+}
+.fa-digg:before {
+ content: "\f1a6";
+}
+.fa-pied-piper:before {
+ content: "\f1a7";
+}
+.fa-pied-piper-alt:before {
+ content: "\f1a8";
+}
+.fa-drupal:before {
+ content: "\f1a9";
+}
+.fa-joomla:before {
+ content: "\f1aa";
+}
+.fa-language:before {
+ content: "\f1ab";
+}
+.fa-fax:before {
+ content: "\f1ac";
+}
+.fa-building:before {
+ content: "\f1ad";
+}
+.fa-child:before {
+ content: "\f1ae";
+}
+.fa-paw:before {
+ content: "\f1b0";
+}
+.fa-spoon:before {
+ content: "\f1b1";
+}
+.fa-cube:before {
+ content: "\f1b2";
+}
+.fa-cubes:before {
+ content: "\f1b3";
+}
+.fa-behance:before {
+ content: "\f1b4";
+}
+.fa-behance-square:before {
+ content: "\f1b5";
+}
+.fa-steam:before {
+ content: "\f1b6";
+}
+.fa-steam-square:before {
+ content: "\f1b7";
+}
+.fa-recycle:before {
+ content: "\f1b8";
+}
+.fa-automobile:before,
+.fa-car:before {
+ content: "\f1b9";
+}
+.fa-cab:before,
+.fa-taxi:before {
+ content: "\f1ba";
+}
+.fa-tree:before {
+ content: "\f1bb";
+}
+.fa-spotify:before {
+ content: "\f1bc";
+}
+.fa-deviantart:before {
+ content: "\f1bd";
+}
+.fa-soundcloud:before {
+ content: "\f1be";
+}
+.fa-database:before {
+ content: "\f1c0";
+}
+.fa-file-pdf-o:before {
+ content: "\f1c1";
+}
+.fa-file-word-o:before {
+ content: "\f1c2";
+}
+.fa-file-excel-o:before {
+ content: "\f1c3";
+}
+.fa-file-powerpoint-o:before {
+ content: "\f1c4";
+}
+.fa-file-photo-o:before,
+.fa-file-picture-o:before,
+.fa-file-image-o:before {
+ content: "\f1c5";
+}
+.fa-file-zip-o:before,
+.fa-file-archive-o:before {
+ content: "\f1c6";
+}
+.fa-file-sound-o:before,
+.fa-file-audio-o:before {
+ content: "\f1c7";
+}
+.fa-file-movie-o:before,
+.fa-file-video-o:before {
+ content: "\f1c8";
+}
+.fa-file-code-o:before {
+ content: "\f1c9";
+}
+.fa-vine:before {
+ content: "\f1ca";
+}
+.fa-codepen:before {
+ content: "\f1cb";
+}
+.fa-jsfiddle:before {
+ content: "\f1cc";
+}
+.fa-life-bouy:before,
+.fa-life-buoy:before,
+.fa-life-saver:before,
+.fa-support:before,
+.fa-life-ring:before {
+ content: "\f1cd";
+}
+.fa-circle-o-notch:before {
+ content: "\f1ce";
+}
+.fa-ra:before,
+.fa-rebel:before {
+ content: "\f1d0";
+}
+.fa-ge:before,
+.fa-empire:before {
+ content: "\f1d1";
+}
+.fa-git-square:before {
+ content: "\f1d2";
+}
+.fa-git:before {
+ content: "\f1d3";
+}
+.fa-y-combinator-square:before,
+.fa-yc-square:before,
+.fa-hacker-news:before {
+ content: "\f1d4";
+}
+.fa-tencent-weibo:before {
+ content: "\f1d5";
+}
+.fa-qq:before {
+ content: "\f1d6";
+}
+.fa-wechat:before,
+.fa-weixin:before {
+ content: "\f1d7";
+}
+.fa-send:before,
+.fa-paper-plane:before {
+ content: "\f1d8";
+}
+.fa-send-o:before,
+.fa-paper-plane-o:before {
+ content: "\f1d9";
+}
+.fa-history:before {
+ content: "\f1da";
+}
+.fa-circle-thin:before {
+ content: "\f1db";
+}
+.fa-header:before {
+ content: "\f1dc";
+}
+.fa-paragraph:before {
+ content: "\f1dd";
+}
+.fa-sliders:before {
+ content: "\f1de";
+}
+.fa-share-alt:before {
+ content: "\f1e0";
+}
+.fa-share-alt-square:before {
+ content: "\f1e1";
+}
+.fa-bomb:before {
+ content: "\f1e2";
+}
+.fa-soccer-ball-o:before,
+.fa-futbol-o:before {
+ content: "\f1e3";
+}
+.fa-tty:before {
+ content: "\f1e4";
+}
+.fa-binoculars:before {
+ content: "\f1e5";
+}
+.fa-plug:before {
+ content: "\f1e6";
+}
+.fa-slideshare:before {
+ content: "\f1e7";
+}
+.fa-twitch:before {
+ content: "\f1e8";
+}
+.fa-yelp:before {
+ content: "\f1e9";
+}
+.fa-newspaper-o:before {
+ content: "\f1ea";
+}
+.fa-wifi:before {
+ content: "\f1eb";
+}
+.fa-calculator:before {
+ content: "\f1ec";
+}
+.fa-paypal:before {
+ content: "\f1ed";
+}
+.fa-google-wallet:before {
+ content: "\f1ee";
+}
+.fa-cc-visa:before {
+ content: "\f1f0";
+}
+.fa-cc-mastercard:before {
+ content: "\f1f1";
+}
+.fa-cc-discover:before {
+ content: "\f1f2";
+}
+.fa-cc-amex:before {
+ content: "\f1f3";
+}
+.fa-cc-paypal:before {
+ content: "\f1f4";
+}
+.fa-cc-stripe:before {
+ content: "\f1f5";
+}
+.fa-bell-slash:before {
+ content: "\f1f6";
+}
+.fa-bell-slash-o:before {
+ content: "\f1f7";
+}
+.fa-trash:before {
+ content: "\f1f8";
+}
+.fa-copyright:before {
+ content: "\f1f9";
+}
+.fa-at:before {
+ content: "\f1fa";
+}
+.fa-eyedropper:before {
+ content: "\f1fb";
+}
+.fa-paint-brush:before {
+ content: "\f1fc";
+}
+.fa-birthday-cake:before {
+ content: "\f1fd";
+}
+.fa-area-chart:before {
+ content: "\f1fe";
+}
+.fa-pie-chart:before {
+ content: "\f200";
+}
+.fa-line-chart:before {
+ content: "\f201";
+}
+.fa-lastfm:before {
+ content: "\f202";
+}
+.fa-lastfm-square:before {
+ content: "\f203";
+}
+.fa-toggle-off:before {
+ content: "\f204";
+}
+.fa-toggle-on:before {
+ content: "\f205";
+}
+.fa-bicycle:before {
+ content: "\f206";
+}
+.fa-bus:before {
+ content: "\f207";
+}
+.fa-ioxhost:before {
+ content: "\f208";
+}
+.fa-angellist:before {
+ content: "\f209";
+}
+.fa-cc:before {
+ content: "\f20a";
+}
+.fa-shekel:before,
+.fa-sheqel:before,
+.fa-ils:before {
+ content: "\f20b";
+}
+.fa-meanpath:before {
+ content: "\f20c";
+}
+.fa-buysellads:before {
+ content: "\f20d";
+}
+.fa-connectdevelop:before {
+ content: "\f20e";
+}
+.fa-dashcube:before {
+ content: "\f210";
+}
+.fa-forumbee:before {
+ content: "\f211";
+}
+.fa-leanpub:before {
+ content: "\f212";
+}
+.fa-sellsy:before {
+ content: "\f213";
+}
+.fa-shirtsinbulk:before {
+ content: "\f214";
+}
+.fa-simplybuilt:before {
+ content: "\f215";
+}
+.fa-skyatlas:before {
+ content: "\f216";
+}
+.fa-cart-plus:before {
+ content: "\f217";
+}
+.fa-cart-arrow-down:before {
+ content: "\f218";
+}
+.fa-diamond:before {
+ content: "\f219";
+}
+.fa-ship:before {
+ content: "\f21a";
+}
+.fa-user-secret:before {
+ content: "\f21b";
+}
+.fa-motorcycle:before {
+ content: "\f21c";
+}
+.fa-street-view:before {
+ content: "\f21d";
+}
+.fa-heartbeat:before {
+ content: "\f21e";
+}
+.fa-venus:before {
+ content: "\f221";
+}
+.fa-mars:before {
+ content: "\f222";
+}
+.fa-mercury:before {
+ content: "\f223";
+}
+.fa-intersex:before,
+.fa-transgender:before {
+ content: "\f224";
+}
+.fa-transgender-alt:before {
+ content: "\f225";
+}
+.fa-venus-double:before {
+ content: "\f226";
+}
+.fa-mars-double:before {
+ content: "\f227";
+}
+.fa-venus-mars:before {
+ content: "\f228";
+}
+.fa-mars-stroke:before {
+ content: "\f229";
+}
+.fa-mars-stroke-v:before {
+ content: "\f22a";
+}
+.fa-mars-stroke-h:before {
+ content: "\f22b";
+}
+.fa-neuter:before {
+ content: "\f22c";
+}
+.fa-genderless:before {
+ content: "\f22d";
+}
+.fa-facebook-official:before {
+ content: "\f230";
+}
+.fa-pinterest-p:before {
+ content: "\f231";
+}
+.fa-whatsapp:before {
+ content: "\f232";
+}
+.fa-server:before {
+ content: "\f233";
+}
+.fa-user-plus:before {
+ content: "\f234";
+}
+.fa-user-times:before {
+ content: "\f235";
+}
+.fa-hotel:before,
+.fa-bed:before {
+ content: "\f236";
+}
+.fa-viacoin:before {
+ content: "\f237";
+}
+.fa-train:before {
+ content: "\f238";
+}
+.fa-subway:before {
+ content: "\f239";
+}
+.fa-medium:before {
+ content: "\f23a";
+}
+.fa-yc:before,
+.fa-y-combinator:before {
+ content: "\f23b";
+}
+.fa-optin-monster:before {
+ content: "\f23c";
+}
+.fa-opencart:before {
+ content: "\f23d";
+}
+.fa-expeditedssl:before {
+ content: "\f23e";
+}
+.fa-battery-4:before,
+.fa-battery-full:before {
+ content: "\f240";
+}
+.fa-battery-3:before,
+.fa-battery-three-quarters:before {
+ content: "\f241";
+}
+.fa-battery-2:before,
+.fa-battery-half:before {
+ content: "\f242";
+}
+.fa-battery-1:before,
+.fa-battery-quarter:before {
+ content: "\f243";
+}
+.fa-battery-0:before,
+.fa-battery-empty:before {
+ content: "\f244";
+}
+.fa-mouse-pointer:before {
+ content: "\f245";
+}
+.fa-i-cursor:before {
+ content: "\f246";
+}
+.fa-object-group:before {
+ content: "\f247";
+}
+.fa-object-ungroup:before {
+ content: "\f248";
+}
+.fa-sticky-note:before {
+ content: "\f249";
+}
+.fa-sticky-note-o:before {
+ content: "\f24a";
+}
+.fa-cc-jcb:before {
+ content: "\f24b";
+}
+.fa-cc-diners-club:before {
+ content: "\f24c";
+}
+.fa-clone:before {
+ content: "\f24d";
+}
+.fa-balance-scale:before {
+ content: "\f24e";
+}
+.fa-hourglass-o:before {
+ content: "\f250";
+}
+.fa-hourglass-1:before,
+.fa-hourglass-start:before {
+ content: "\f251";
+}
+.fa-hourglass-2:before,
+.fa-hourglass-half:before {
+ content: "\f252";
+}
+.fa-hourglass-3:before,
+.fa-hourglass-end:before {
+ content: "\f253";
+}
+.fa-hourglass:before {
+ content: "\f254";
+}
+.fa-hand-grab-o:before,
+.fa-hand-rock-o:before {
+ content: "\f255";
+}
+.fa-hand-stop-o:before,
+.fa-hand-paper-o:before {
+ content: "\f256";
+}
+.fa-hand-scissors-o:before {
+ content: "\f257";
+}
+.fa-hand-lizard-o:before {
+ content: "\f258";
+}
+.fa-hand-spock-o:before {
+ content: "\f259";
+}
+.fa-hand-pointer-o:before {
+ content: "\f25a";
+}
+.fa-hand-peace-o:before {
+ content: "\f25b";
+}
+.fa-trademark:before {
+ content: "\f25c";
+}
+.fa-registered:before {
+ content: "\f25d";
+}
+.fa-creative-commons:before {
+ content: "\f25e";
+}
+.fa-gg:before {
+ content: "\f260";
+}
+.fa-gg-circle:before {
+ content: "\f261";
+}
+.fa-tripadvisor:before {
+ content: "\f262";
+}
+.fa-odnoklassniki:before {
+ content: "\f263";
+}
+.fa-odnoklassniki-square:before {
+ content: "\f264";
+}
+.fa-get-pocket:before {
+ content: "\f265";
+}
+.fa-wikipedia-w:before {
+ content: "\f266";
+}
+.fa-safari:before {
+ content: "\f267";
+}
+.fa-chrome:before {
+ content: "\f268";
+}
+.fa-firefox:before {
+ content: "\f269";
+}
+.fa-opera:before {
+ content: "\f26a";
+}
+.fa-internet-explorer:before {
+ content: "\f26b";
+}
+.fa-tv:before,
+.fa-television:before {
+ content: "\f26c";
+}
+.fa-contao:before {
+ content: "\f26d";
+}
+.fa-500px:before {
+ content: "\f26e";
+}
+.fa-amazon:before {
+ content: "\f270";
+}
+.fa-calendar-plus-o:before {
+ content: "\f271";
+}
+.fa-calendar-minus-o:before {
+ content: "\f272";
+}
+.fa-calendar-times-o:before {
+ content: "\f273";
+}
+.fa-calendar-check-o:before {
+ content: "\f274";
+}
+.fa-industry:before {
+ content: "\f275";
+}
+.fa-map-pin:before {
+ content: "\f276";
+}
+.fa-map-signs:before {
+ content: "\f277";
+}
+.fa-map-o:before {
+ content: "\f278";
+}
+.fa-map:before {
+ content: "\f279";
+}
+.fa-commenting:before {
+ content: "\f27a";
+}
+.fa-commenting-o:before {
+ content: "\f27b";
+}
+.fa-houzz:before {
+ content: "\f27c";
+}
+.fa-vimeo:before {
+ content: "\f27d";
+}
+.fa-black-tie:before {
+ content: "\f27e";
+}
+.fa-fonticons:before {
+ content: "\f280";
+}
+.fa-reddit-alien:before {
+ content: "\f281";
+}
+.fa-edge:before {
+ content: "\f282";
+}
+.fa-credit-card-alt:before {
+ content: "\f283";
+}
+.fa-codiepie:before {
+ content: "\f284";
+}
+.fa-modx:before {
+ content: "\f285";
+}
+.fa-fort-awesome:before {
+ content: "\f286";
+}
+.fa-usb:before {
+ content: "\f287";
+}
+.fa-product-hunt:before {
+ content: "\f288";
+}
+.fa-mixcloud:before {
+ content: "\f289";
+}
+.fa-scribd:before {
+ content: "\f28a";
+}
+.fa-pause-circle:before {
+ content: "\f28b";
+}
+.fa-pause-circle-o:before {
+ content: "\f28c";
+}
+.fa-stop-circle:before {
+ content: "\f28d";
+}
+.fa-stop-circle-o:before {
+ content: "\f28e";
+}
+.fa-shopping-bag:before {
+ content: "\f290";
+}
+.fa-shopping-basket:before {
+ content: "\f291";
+}
+.fa-hashtag:before {
+ content: "\f292";
+}
+.fa-bluetooth:before {
+ content: "\f293";
+}
+.fa-bluetooth-b:before {
+ content: "\f294";
+}
+.fa-percent:before {
+ content: "\f295";
+}
diff --git a/admin/assets/css/font-awesome.min.css b/admin/assets/css/font-awesome.min.css
new file mode 100644
index 0000000..d0603cb
--- /dev/null
+++ b/admin/assets/css/font-awesome.min.css
@@ -0,0 +1,4 @@
+/*!
+ * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
+ */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.5.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.5.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.5.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.5.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.5.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}
diff --git a/admin/assets/css/mixins.less b/admin/assets/css/mixins.less
new file mode 100644
index 0000000..70e7780
--- /dev/null
+++ b/admin/assets/css/mixins.less
@@ -0,0 +1,205 @@
+@green: green;
+@red: red;
+@orange: orange;
+@blue: blue;
+@yellow: yellow;
+@white: white;
+@black: black;
+
+.clearfix() {
+ *zoom:1;
+ &:before,
+ &:after {
+ content: " ";
+ display: table;
+ }
+ &:after {
+ clear: both;
+ }
+}
+.border_radius(@radius:4px) {
+ -webkit-border-radius:@radius;
+ border-radius:@radius;
+}
+.border_radius_corner(@topleft:4px, @topright:4px, @bottomleft:4px, @bottomright:4px) {
+ -webkit-border-top-left-radius: @topleft;
+ border-top-left-radius: @topleft;
+ -webkit-border-top-right-radius: @topright;
+ border-top-right-radius: @topright;
+ -webkit-border-bottom-left-radius: @bottomleft;
+ border-bottom-left-radius: @bottomleft;
+ -webkit-border-bottom-right-radius: @bottomright;
+ border-bottom-right-radius: @bottomright;
+}
+
+.border_radius_top_left(@radius:4px) {
+ -webkit-border-top-left-radius: @radius;
+ border-top-left-radius: @radius;
+}
+.border_radius_top_right(@radius:4px) {
+ -webkit-border-top-right-radius: @radius;
+ border-top-right-radius: @radius;
+}
+.border_radius_bottom_left(@radius:4px) {
+ -webkit-border-bottom-left-radius: @radius;
+ border-bottom-left-radius: @radius;
+}
+.border_radius_bottom_right(@radius:4px) {
+ -webkit-border-bottom-right-radius: @radius;
+ border-bottom-right-radius: @radius;
+}
+
+.border_radius_right(@radius:4px) {
+ -webkit-border-top-right-radius: @radius;
+ -webkit-border-bottom-right-radius: @radius;
+ border-top-right-radius: @radius;
+ border-bottom-right-radius: @radius;
+}
+.border_radius_left(@radius:4px) {
+ -webkit-border-top-left-radius: @radius;
+ -webkit-border-bottom-left-radius: @radius;
+ border-top-left-radius: @radius;
+ border-bottom-left-radius: @radius;
+}
+.border_radius_bottom(@radius:4px) {
+ -webkit-border-bottom-left-radius: @radius;
+ -webkit-border-bottom-right-radius: @radius;
+ border-bottom-left-radius: @radius;
+ border-bottom-right-radius: @radius;
+}
+.border_radius_top(@radius:4px) {
+ -webkit-border-top-left-radius: @radius;
+ -webkit-border-top-right-radius: @radius;
+ border-top-left-radius: @radius;
+ border-top-right-radius: @radius;
+}
+.opacity(@opacity:0.75) {
+ filter:~"alpha(opacity=@opacity * 100)";
+ -moz-opacity:@opacity;
+ -khtml-opacity: @opacity;
+ opacity: @opacity;
+}
+.box_shadow_none() {
+ box-shadow: none;
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
+}
+.box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888) {
+ box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
+ -webkit-box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
+}
+.inset_box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888) {
+ box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
+ -webkit-box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
+}
+.text_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_color:#fff) {
+ text-shadow:@shadow_x @shadow_y @shadow_rad @shadow_color;
+}
+.vertical_gradient(@from: #000, @to: #FFF) {
+ background: @from;
+ background: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to));
+ background: -webkit-linear-gradient(@from, @to);
+ background: -moz-linear-gradient(center top, @from 0%, @to 100%);
+ background: -moz-gradient(center top, @from 0%, @to 100%);
+}
+.transition(@selector:all, @animation:ease-in-out, @duration:.2s) {
+ -webkit-transition:@selector @animation @duration;
+ -moz-transition:@selector @animation @duration;
+ -o-transition:@selector @animation @duration;
+ transition:@selector @animation @duration;
+}
+
+.scale(@ratio:1.5){
+ -webkit-transform:scale(@ratio);
+ -moz-transform:scale(@ratio);
+ -ms-transform:scale(@ratio);
+ -o-transform:scale(@ratio);
+ transform:scale(@ratio);
+}
+
+.borderbox () {
+ -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
+ -moz-box-sizing: border-box; /* Firefox, other Gecko */
+ box-sizing: border-box; /* Opera/IE 8+ */
+}
+
+.clear { clear: both; }
+.nobr { white-space: nowrap; }
+
+.darkorlighttextshadow ( @a, @opacity: 0.8 ) when (lightness(@a) >= 65%) { .text_shadow( 0, -1px, 0, rgba(0,0,0,@opacity) ); }
+.darkorlighttextshadow ( @a, @opacity: 0.8 ) when (lightness(@a) < 65%) { .text_shadow( 0, 1px, 0, rgba(255,255,255,@opacity) ); }
+
+/**
+ * Objects
+ */
+.menu() {
+ .clearfix;
+ li {
+ display: inline-block;
+ }
+}
+.mediaright() {
+ .clearfix;
+ img {
+ float:right;
+ height:auto;
+ }
+}
+.medialeft() {
+ .clearfix;
+ img {
+ float:right;
+ height:auto;
+ }
+}
+.ir() {
+ display: block;
+ text-indent: -9999px;
+ position: relative;
+ height:1em;
+ width:1em;
+}
+
+.margin( @top:0, @right:0px, @bottom:0px , @left:0 ){
+ margin-top: @top;
+ margin-right: @right;
+ margin-bottom: @bottom;
+ margin-left: @left;
+}
+
+.margin_left( @left:0 ){
+ margin-left: @left;
+}
+.margin_right( @right:0 ){
+ margin-right: @right;
+}
+.margin_top( @top:0 ){
+ margin-top: @top;
+}
+.margin_bottom( @bottom:0 ){
+ margin-bottom: @bottom;
+}
+
+.padding( @top:0, @right:0px, @bottom:0px , @left:0 ){
+ padding-top: @top;
+ padding-right: @right;
+ padding-bottom: @bottom;
+ padding-left: @left;
+}
+
+.padding_left( @left:0 ){
+ padding-left: @left;
+}
+.padding_right( @right:0 ){
+ padding-right: @right;
+}
+.padding_top( @top:0 ){
+ padding-top: @top;
+}
+.padding_bottom( @bottom:0 ){
+ padding-bottom: @bottom;
+}
+
+.background( @url, @repeat:no-repeat, @hoz:0, @ver:0, @color ){
+ background: url(@url) @repeat @hoz @ver @color;
+}
\ No newline at end of file
diff --git a/admin/assets/css/modal.css b/admin/assets/css/modal.css
new file mode 100755
index 0000000..a9bb6b0
--- /dev/null
+++ b/admin/assets/css/modal.css
@@ -0,0 +1,172 @@
+/*!
+ * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors
+ * Copyright 2011-2017 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
+
+.modal-open {
+ overflow: hidden;
+}
+
+.modal {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 10500000;
+ display: none;
+ overflow: hidden;
+ outline: 0;
+}
+
+.modal.fade .modal-dialog {
+ -webkit-transition: -webkit-transform 0.3s ease-out;
+ transition: -webkit-transform 0.3s ease-out;
+ -o-transition: -o-transform 0.3s ease-out;
+ transition: transform 0.3s ease-out;
+ transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out, -o-transform 0.3s ease-out;
+ -webkit-transform: translate(0, -25%);
+ -o-transform: translate(0, -25%);
+ transform: translate(0, -25%);
+}
+
+.modal.show .modal-dialog {
+ -webkit-transform: translate(0, 0);
+ -o-transform: translate(0, 0);
+ transform: translate(0, 0);
+}
+
+.modal-open .modal {
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+.modal-dialog {
+ position: relative;
+ width: auto;
+ margin: 50px 10px 10px 10px;
+}
+
+.modal-content {
+ position: relative;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ background-color: #fff;
+ -webkit-background-clip: padding-box;
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 0.3rem;
+ outline: 0;
+}
+
+.modal-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 10400000;
+ background-color: #000;
+}
+
+.fade.show {
+ opacity: 1;
+}
+
+.modal-backdrop.fade {
+ opacity: 0;
+}
+
+.modal-backdrop.show {
+ opacity: 0.5;
+}
+
+.modal-header {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: justify;
+ -webkit-justify-content: space-between;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ padding: 15px;
+ border-bottom: 1px solid #eceeef;
+}
+
+.modal-title {
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+.modal-body {
+ position: relative;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1 1 auto;
+ -ms-flex: 1 1 auto;
+ flex: 1 1 auto;
+ padding: 15px;
+}
+
+.modal-footer {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: end;
+ -webkit-justify-content: flex-end;
+ -ms-flex-pack: end;
+ justify-content: flex-end;
+ padding: 15px;
+ border-top: 1px solid #eceeef;
+}
+
+.modal-footer > :not(:first-child) {
+ margin-left: .25rem;
+}
+
+.modal-footer > :not(:last-child) {
+ margin-right: .25rem;
+}
+
+.modal-scrollbar-measure {
+ position: absolute;
+ top: -9999px;
+ width: 50px;
+ height: 50px;
+ overflow: scroll;
+}
+
+@media (min-width: 576px) {
+ .modal-dialog {
+ max-width: 500px;
+ margin: 50px auto 30px auto;
+ }
+ .modal-sm {
+ max-width: 300px;
+ }
+}
+
+@media (min-width: 992px) {
+ .modal-lg {
+ max-width: 800px;
+ }
+}
\ No newline at end of file
diff --git a/admin/assets/css/modal.min.css b/admin/assets/css/modal.min.css
new file mode 100755
index 0000000..a9bb6b0
--- /dev/null
+++ b/admin/assets/css/modal.min.css
@@ -0,0 +1,172 @@
+/*!
+ * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors
+ * Copyright 2011-2017 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
+
+.modal-open {
+ overflow: hidden;
+}
+
+.modal {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 10500000;
+ display: none;
+ overflow: hidden;
+ outline: 0;
+}
+
+.modal.fade .modal-dialog {
+ -webkit-transition: -webkit-transform 0.3s ease-out;
+ transition: -webkit-transform 0.3s ease-out;
+ -o-transition: -o-transform 0.3s ease-out;
+ transition: transform 0.3s ease-out;
+ transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out, -o-transform 0.3s ease-out;
+ -webkit-transform: translate(0, -25%);
+ -o-transform: translate(0, -25%);
+ transform: translate(0, -25%);
+}
+
+.modal.show .modal-dialog {
+ -webkit-transform: translate(0, 0);
+ -o-transform: translate(0, 0);
+ transform: translate(0, 0);
+}
+
+.modal-open .modal {
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+.modal-dialog {
+ position: relative;
+ width: auto;
+ margin: 50px 10px 10px 10px;
+}
+
+.modal-content {
+ position: relative;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ background-color: #fff;
+ -webkit-background-clip: padding-box;
+ background-clip: padding-box;
+ border: 1px solid rgba(0, 0, 0, 0.2);
+ border-radius: 0.3rem;
+ outline: 0;
+}
+
+.modal-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 10400000;
+ background-color: #000;
+}
+
+.fade.show {
+ opacity: 1;
+}
+
+.modal-backdrop.fade {
+ opacity: 0;
+}
+
+.modal-backdrop.show {
+ opacity: 0.5;
+}
+
+.modal-header {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: justify;
+ -webkit-justify-content: space-between;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ padding: 15px;
+ border-bottom: 1px solid #eceeef;
+}
+
+.modal-title {
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+.modal-body {
+ position: relative;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1 1 auto;
+ -ms-flex: 1 1 auto;
+ flex: 1 1 auto;
+ padding: 15px;
+}
+
+.modal-footer {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: end;
+ -webkit-justify-content: flex-end;
+ -ms-flex-pack: end;
+ justify-content: flex-end;
+ padding: 15px;
+ border-top: 1px solid #eceeef;
+}
+
+.modal-footer > :not(:first-child) {
+ margin-left: .25rem;
+}
+
+.modal-footer > :not(:last-child) {
+ margin-right: .25rem;
+}
+
+.modal-scrollbar-measure {
+ position: absolute;
+ top: -9999px;
+ width: 50px;
+ height: 50px;
+ overflow: scroll;
+}
+
+@media (min-width: 576px) {
+ .modal-dialog {
+ max-width: 500px;
+ margin: 50px auto 30px auto;
+ }
+ .modal-sm {
+ max-width: 300px;
+ }
+}
+
+@media (min-width: 992px) {
+ .modal-lg {
+ max-width: 800px;
+ }
+}
\ No newline at end of file
diff --git a/admin/assets/fonts/a3-metabox-plugin-framework.eot b/admin/assets/fonts/a3-metabox-plugin-framework.eot
new file mode 100644
index 0000000..ddf348e
Binary files /dev/null and b/admin/assets/fonts/a3-metabox-plugin-framework.eot differ
diff --git a/admin/assets/fonts/a3-metabox-plugin-framework.svg b/admin/assets/fonts/a3-metabox-plugin-framework.svg
new file mode 100644
index 0000000..a173aa2
--- /dev/null
+++ b/admin/assets/fonts/a3-metabox-plugin-framework.svg
@@ -0,0 +1,16 @@
+
+
+
+Generated by Fontastic.me
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/assets/fonts/a3-metabox-plugin-framework.ttf b/admin/assets/fonts/a3-metabox-plugin-framework.ttf
new file mode 100644
index 0000000..dbc8060
Binary files /dev/null and b/admin/assets/fonts/a3-metabox-plugin-framework.ttf differ
diff --git a/admin/assets/fonts/a3-metabox-plugin-framework.woff b/admin/assets/fonts/a3-metabox-plugin-framework.woff
new file mode 100644
index 0000000..114ce3a
Binary files /dev/null and b/admin/assets/fonts/a3-metabox-plugin-framework.woff differ
diff --git a/admin/assets/fonts/a3-plugin-framework.eot b/admin/assets/fonts/a3-plugin-framework.eot
new file mode 100644
index 0000000..a5e558a
Binary files /dev/null and b/admin/assets/fonts/a3-plugin-framework.eot differ
diff --git a/admin/assets/fonts/a3-plugin-framework.svg b/admin/assets/fonts/a3-plugin-framework.svg
new file mode 100644
index 0000000..90ec9fc
--- /dev/null
+++ b/admin/assets/fonts/a3-plugin-framework.svg
@@ -0,0 +1,23 @@
+
+
+
+Generated by Fontastic.me
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/admin/assets/fonts/a3-plugin-framework.ttf b/admin/assets/fonts/a3-plugin-framework.ttf
new file mode 100644
index 0000000..82e2673
Binary files /dev/null and b/admin/assets/fonts/a3-plugin-framework.ttf differ
diff --git a/admin/assets/fonts/a3-plugin-framework.woff b/admin/assets/fonts/a3-plugin-framework.woff
new file mode 100644
index 0000000..4e3c087
Binary files /dev/null and b/admin/assets/fonts/a3-plugin-framework.woff differ
diff --git a/admin/assets/fonts/fontawesome-webfont.eot b/admin/assets/fonts/fontawesome-webfont.eot
new file mode 100644
index 0000000..9b6afae
Binary files /dev/null and b/admin/assets/fonts/fontawesome-webfont.eot differ
diff --git a/admin/assets/fonts/fontawesome-webfont.svg b/admin/assets/fonts/fontawesome-webfont.svg
new file mode 100644
index 0000000..d05688e
--- /dev/null
+++ b/admin/assets/fonts/fontawesome-webfont.svg
@@ -0,0 +1,655 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/assets/fonts/fontawesome-webfont.ttf b/admin/assets/fonts/fontawesome-webfont.ttf
new file mode 100644
index 0000000..26dea79
Binary files /dev/null and b/admin/assets/fonts/fontawesome-webfont.ttf differ
diff --git a/admin/assets/fonts/fontawesome-webfont.woff b/admin/assets/fonts/fontawesome-webfont.woff
new file mode 100644
index 0000000..dc35ce3
Binary files /dev/null and b/admin/assets/fonts/fontawesome-webfont.woff differ
diff --git a/admin/assets/fonts/fontawesome-webfont.woff2 b/admin/assets/fonts/fontawesome-webfont.woff2
new file mode 100644
index 0000000..500e517
Binary files /dev/null and b/admin/assets/fonts/fontawesome-webfont.woff2 differ
diff --git a/admin/assets/images/a3-plugins.png b/admin/assets/images/a3-plugins.png
new file mode 100644
index 0000000..bad30ce
Binary files /dev/null and b/admin/assets/images/a3-plugins.png differ
diff --git a/admin/assets/images/help.png b/admin/assets/images/help.png
new file mode 100644
index 0000000..758043f
Binary files /dev/null and b/admin/assets/images/help.png differ
diff --git a/admin/assets/images/ico-delete.png b/admin/assets/images/ico-delete.png
new file mode 100644
index 0000000..575e5a3
Binary files /dev/null and b/admin/assets/images/ico-delete.png differ
diff --git a/admin/assets/images/ico-preview.png b/admin/assets/images/ico-preview.png
new file mode 100644
index 0000000..62b5daf
Binary files /dev/null and b/admin/assets/images/ico-preview.png differ
diff --git a/admin/assets/images/ico-refresh.png b/admin/assets/images/ico-refresh.png
new file mode 100644
index 0000000..080766e
Binary files /dev/null and b/admin/assets/images/ico-refresh.png differ
diff --git a/admin/assets/images/loading-bottom.gif b/admin/assets/images/loading-bottom.gif
new file mode 100644
index 0000000..d1bc2f8
Binary files /dev/null and b/admin/assets/images/loading-bottom.gif differ
diff --git a/admin/assets/images/play_video.png b/admin/assets/images/play_video.png
new file mode 100644
index 0000000..0db8dbb
Binary files /dev/null and b/admin/assets/images/play_video.png differ
diff --git a/admin/assets/images/slider-bg-disable.png b/admin/assets/images/slider-bg-disable.png
new file mode 100644
index 0000000..48f66b6
Binary files /dev/null and b/admin/assets/images/slider-bg-disable.png differ
diff --git a/admin/assets/images/slider-bg-range.png b/admin/assets/images/slider-bg-range.png
new file mode 100644
index 0000000..5cad1a8
Binary files /dev/null and b/admin/assets/images/slider-bg-range.png differ
diff --git a/admin/assets/images/slider-bg-track1.png b/admin/assets/images/slider-bg-track1.png
new file mode 100644
index 0000000..f103809
Binary files /dev/null and b/admin/assets/images/slider-bg-track1.png differ
diff --git a/admin/assets/images/slider-bg.png b/admin/assets/images/slider-bg.png
new file mode 100644
index 0000000..0935e60
Binary files /dev/null and b/admin/assets/images/slider-bg.png differ
diff --git a/admin/assets/images/slider-bg1.jpg b/admin/assets/images/slider-bg1.jpg
new file mode 100644
index 0000000..c08c4ee
Binary files /dev/null and b/admin/assets/images/slider-bg1.jpg differ
diff --git a/admin/assets/images/slider-container-end-disable.png b/admin/assets/images/slider-container-end-disable.png
new file mode 100644
index 0000000..6cd47f8
Binary files /dev/null and b/admin/assets/images/slider-container-end-disable.png differ
diff --git a/admin/assets/images/slider-container-end.png b/admin/assets/images/slider-container-end.png
new file mode 100644
index 0000000..46b05bc
Binary files /dev/null and b/admin/assets/images/slider-container-end.png differ
diff --git a/admin/assets/images/slider-container-start-disable.png b/admin/assets/images/slider-container-start-disable.png
new file mode 100644
index 0000000..1088d42
Binary files /dev/null and b/admin/assets/images/slider-container-start-disable.png differ
diff --git a/admin/assets/images/slider-container-start.png b/admin/assets/images/slider-container-start.png
new file mode 100644
index 0000000..7189e1a
Binary files /dev/null and b/admin/assets/images/slider-container-start.png differ
diff --git a/admin/assets/images/slider-handle-disable.png b/admin/assets/images/slider-handle-disable.png
new file mode 100644
index 0000000..f10a4b4
Binary files /dev/null and b/admin/assets/images/slider-handle-disable.png differ
diff --git a/admin/assets/images/slider-handle.png b/admin/assets/images/slider-handle.png
new file mode 100644
index 0000000..c309921
Binary files /dev/null and b/admin/assets/images/slider-handle.png differ
diff --git a/admin/assets/images/slider-handle1.png b/admin/assets/images/slider-handle1.png
new file mode 100644
index 0000000..7b28631
Binary files /dev/null and b/admin/assets/images/slider-handle1.png differ
diff --git a/admin/assets/images/slider-handle2.png b/admin/assets/images/slider-handle2.png
new file mode 100644
index 0000000..4a6c50b
Binary files /dev/null and b/admin/assets/images/slider-handle2.png differ
diff --git a/admin/assets/js/a3rev-settings-preview.js b/admin/assets/js/a3rev-settings-preview.js
new file mode 100644
index 0000000..4adb8a4
--- /dev/null
+++ b/admin/assets/js/a3rev-settings-preview.js
@@ -0,0 +1,188 @@
+/**
+ * A3revThemes Settings Live Preview
+ * 2011-10-07.
+ *
+ * @description The code below is designed to generate a live preview using the
+ * setting specified in a "custom settings" field in the ResponsiFramework.
+ *
+ * @since 4.7.0
+ */
+
+(function ($) {
+
+ a3revButtonPreview = {
+
+ /**
+ * loadPreviewButtons()
+ *
+ * @description Setup a "preview" button next to each type field.
+ * @since 4.7.0
+ */
+
+ loadPreviewButtons: function () {
+
+ // Register event handlers.
+ a3revButtonPreview.handleEvents();
+
+ }, // End loadPreviewButtons()
+
+ /**
+ * handleEvents()
+ *
+ * @description Handle the events.
+ * @since 4.7.0
+ */
+
+ handleEvents: function () {
+ $(document).on( 'click', 'a.a3rev-ui-border-preview-button', function () {
+ a3revButtonPreview.generateBorderPreview( $( this ) );
+ return false;
+ });
+
+ $(document).on( 'click', 'a.a3rev-ui-box_shadow-preview-button', function () {
+ a3revButtonPreview.generateBoxShadowPreview( $( this ) );
+ return false;
+ });
+
+ $(document).on( 'click', 'a.preview_remove', function () {
+ a3revButtonPreview.closePreview( $( this ) );
+ return false;
+ });
+ },
+
+ /**
+ * closePreview()
+ *
+ * @description Close the preview.
+ * @since 4.7.0
+ */
+
+ closePreview: function ( target ) {
+ target.parents( '.section' ).find( '.a3rev-ui-settings-preview-button .refresh' ).removeClass( 'refresh' );
+ target.parents( '.settings-preview-container' ).remove();
+ },
+
+
+ /**
+ * generateBorderPreview()
+ *
+ * @description Generate the border preview.
+ * @since 4.7.0
+ */
+
+ generateBorderPreview: function ( target ) {
+ var previewText = '
Grumpy wizards make toxic brew for the evil Queen and Jack.
';
+ var previewHTML = '';
+ var previewStyles = '';
+
+ // Get the control parent element.
+ var controls = target.parents( '.a3rev-ui-settings-control' );
+
+ var borderSize = controls.find( '.a3rev-ui-border_styles-width' ).val();
+ var borderStyle = controls.find( '.a3rev-ui-border_styles-style' ).val();
+ var borderColor = controls.find( '.a3rev-ui-border_styles-color' ).val();
+ var borderRoundedCorner = 0;
+ if ( controls.find( '.a3rev-ui-border-corner' ).is(":checked") ) {
+ borderRoundedCorner = 1;
+ }
+ var borderTopLeft = controls.find( '.a3rev-ui-border_top_left_corner' ).val();
+ var borderTopRight = controls.find( '.a3rev-ui-border_top_right_corner' ).val();
+ var borderBottomLeft = controls.find( '.a3rev-ui-border_bottom_left_corner' ).val();
+ var borderBottomRight = controls.find( '.a3rev-ui-border_bottom_right_corner' ).val();
+
+ // Remove "current" class from previously modified border field.
+ $( '.settings-preview' ).removeClass( 'current' );
+
+ // Construct styles.
+ previewStyles += 'border: ' + borderSize + ' ' + borderStyle + ' ' + borderColor + ';';
+ if ( borderRoundedCorner == 1 ) {
+ previewStyles += ' border-radius: ' + borderTopLeft + 'px ' + borderTopRight + 'px ' + borderBottomRight + 'px ' + borderBottomLeft + 'px ;';
+ previewStyles += ' -webkit-border-radius: ' + borderTopLeft + 'px ' + borderTopRight + 'px ' + borderBottomRight + 'px ' + borderBottomLeft + 'px ;';
+ previewStyles += ' -moz-border-radius: ' + borderTopLeft + 'px ' + borderTopRight + 'px ' + borderBottomRight + 'px ' + borderBottomLeft + 'px ;';
+ }
+
+ // Construct preview HTML.
+ var previewHTMLInner = $( '
' ).addClass( 'current' ).addClass( 'settings-preview' ).html( previewText );
+
+ previewHTML = $( '
' ).addClass( 'settings-preview-container' ).html( previewHTMLInner ).append( '
' );
+
+ // If no preview display is present, add one.
+ if ( ! controls.next( '.settings-preview-container' ).length ) {
+ previewHTML.find( '.settings-apply-preview' ).attr( 'style', previewStyles );
+ controls.after( previewHTML );
+ } else {
+ // Otherwise, just update the styles of the existing preview.
+ controls.next( '.settings-preview-container' ).find( '.settings-apply-preview' ).attr( 'style', previewStyles );
+ }
+
+ // Set the button to "refresh" mode.
+ controls.find( '.a3rev-ui-settings-preview-button span' ).addClass( 'refresh' );
+ },
+
+ /**
+ * generateBoxShadowPreview()
+ *
+ * @description Generate the border preview.
+ * @since 4.7.0
+ */
+
+ generateBoxShadowPreview: function ( target ) {
+ var previewText = '
Grumpy wizards make toxic brew for the evil Queen and Jack.
';
+ var previewHTML = '';
+ var previewStyles = '';
+ var customStyles = '';
+
+ // Get the control parent element.
+ var controls = target.parents( '.a3rev-ui-settings-control' );
+
+ var hShadow = controls.find( '.a3rev-ui-box_shadow-h_shadow' ).val();
+ var vShadow = controls.find( '.a3rev-ui-box_shadow-v_shadow' ).val();
+ var blurSize = controls.find( '.a3rev-ui-box_shadow-blur' ).val();
+ var spreadSize = controls.find( '.a3rev-ui-box_shadow-spread' ).val();
+ var shadowColor = controls.find( '.a3rev-ui-box_shadow-color' ).val();
+ var insetShadow = '';
+ if ( controls.find( '.a3rev-ui-box_shadow-inset' ).is(":checked") ) {
+ insetShadow = 'inset';
+ }
+
+ // Remove "current" class from previously modified border field.
+ $( '.settings-preview' ).removeClass( 'current' );
+
+ // Construct styles.
+ customStyles += hShadow + ' ' + vShadow + ' ' + blurSize + ' ' + spreadSize + ' ' + shadowColor + ' ' + insetShadow ;
+ previewStyles += ' box-shadow: ' + customStyles + ';';
+ previewStyles += ' -moz-box-shadow: ' + customStyles + ';';
+ previewStyles += ' -webkit-box-shadow: ' + customStyles + ';';
+
+ // Construct preview HTML.
+ var previewHTMLInner = $( '
' ).addClass( 'current' ).addClass( 'settings-preview' ).html( previewText );
+
+ previewHTML = $( '
' ).addClass( 'settings-preview-container' ).html( previewHTMLInner ).append( '
' );
+
+ // If no preview display is present, add one.
+ if ( ! controls.next( '.settings-preview-container' ).length ) {
+ previewHTML.find( '.settings-apply-preview' ).attr( 'style', previewStyles );
+ controls.after( previewHTML );
+ } else {
+ // Otherwise, just update the styles of the existing preview.
+ controls.next( '.settings-preview-container' ).find( '.settings-apply-preview' ).attr( 'style', previewStyles );
+ }
+
+ // Set the button to "refresh" mode.
+ controls.find( '.a3rev-ui-settings-preview-button span' ).addClass( 'refresh' );
+ }
+
+
+ }; // End a3revButtonPreview Object // Don't remove this, or the sky will fall on your head.
+
+/*-----------------------------------------------------------------------------------*/
+/* Execute the above methods in the a3revButtonPreview object.
+/*-----------------------------------------------------------------------------------*/
+
+ $(document).ready(function () {
+
+ a3revButtonPreview.loadPreviewButtons();
+
+ });
+
+})(jQuery);
\ No newline at end of file
diff --git a/admin/assets/js/a3rev-typography-preview.js b/admin/assets/js/a3rev-typography-preview.js
new file mode 100644
index 0000000..2dab6ce
--- /dev/null
+++ b/admin/assets/js/a3rev-typography-preview.js
@@ -0,0 +1,208 @@
+/**
+ * A3revThemes Typography Live Preview
+ * 2011-10-07.
+ *
+ * @description The code below is designed to generate a live preview using the
+ * setting specified in a "custom typography" field in the ResponsiFramework.
+ *
+ * @since 4.7.0
+ */
+
+(function ($) {
+
+ a3revTypographyPreview = {
+
+ /**
+ * loadPreviewButtons()
+ *
+ * @description Setup a "preview" button next to each typography field.
+ * @since 4.7.0
+ */
+
+ loadPreviewButtons: function () {
+
+ // Register event handlers.
+ a3revTypographyPreview.handleEvents();
+
+ }, // End loadPreviewButtons()
+
+ /**
+ * handleEvents()
+ *
+ * @description Handle the events.
+ * @since 4.7.0
+ */
+
+ handleEvents: function () {
+ $(document).on( 'click', 'a.a3rev-ui-typography-preview-button', function () {
+ a3revTypographyPreview.generatePreview( $( this ) );
+ return false;
+ });
+
+ $(document).on( 'click', 'a.preview_remove', function () {
+ a3revTypographyPreview.closePreview( $( this ) );
+ return false;
+ });
+ },
+
+ /**
+ * closePreview()
+ *
+ * @description Close the preview.
+ * @since 4.7.0
+ */
+
+ closePreview: function ( target ) {
+ target.parents( '.section' ).find( '.a3rev-ui-typography-preview-button .refresh' ).removeClass( 'refresh' );
+ target.parents( '.typography-preview-container' ).remove();
+ },
+
+ /**
+ * generatePreview()
+ *
+ * @description Generate the typography preview.
+ * @since 4.7.0
+ */
+
+ generatePreview: function ( target ) {
+ var previewText = 'Grumpy wizards make toxic brew for the evil Queen and Jack.';
+ var previewHTML = '';
+ var previewStyles = '';
+
+ // Get the control parent element.
+ var controls = target.parents( '.a3rev-ui-typography-control' );
+
+ var sizeSelector = '.a3rev-ui-typography-size';
+
+ var fontSize = controls.find( sizeSelector ).val();
+
+ var fontFace = controls.find( '.a3rev-ui-typography-face' ).val();
+ var fontStyle = controls.find( '.a3rev-ui-typography-style' ).val();
+ var fontColor = controls.find( '.a3rev-ui-typography-color' ).val();
+ var lineHeight = controls.find( '.a3rev-ui-typography-line_height' ).val();
+
+ // Generate array of non-Google fonts.
+ var nonGoogleFonts = new Array(
+ 'Arial, sans-serif',
+ 'Verdana, Geneva, sans-serif',
+ 'Trebuchet MS, Tahoma, sans-serif',
+ 'Georgia, serif',
+ 'Times New Roman, serif',
+ 'Tahoma, Geneva, Verdana, sans-serif',
+ 'Palatino, Palatino Linotype, serif',
+ 'Helvetica Neue, Helvetica, sans-serif',
+ 'Calibri, Candara, Segoe, Optima, sans-serif',
+ 'Myriad Pro, Myriad, sans-serif',
+ 'Lucida Grande, Lucida Sans Unicode, Lucida Sans, sans-serif',
+ 'Arial Black, sans-serif',
+ 'Gill Sans, Gill Sans MT, Calibri, sans-serif',
+ 'Geneva, Tahoma, Verdana, sans-serif',
+ 'Impact, Charcoal, sans-serif',
+ 'Courier, Courier New, monospace',
+ 'Century Gothic, sans-serif'
+ );
+
+ // Remove "current" class from previously modified typography field.
+ $( '.typography-preview' ).removeClass( 'current' );
+
+ // Prepare selected fontFace for testing.
+ var fontFaceTest = fontFace.replace( /"/g, '"' );
+
+ // Load Google WebFonts, if we need to.
+ if ( jQuery.inArray( fontFaceTest, nonGoogleFonts ) == -1 ) { // -1 is returned if the item is not found in the array.
+
+ // Prepare fontFace for use in the WebFont loader.
+ var fontFaceString = fontFace;
+
+ // Handle fonts that require specific weights when being included.
+ switch ( fontFaceString ) {
+ case 'Allan':
+ case 'Cabin Sketch':
+ case 'Corben':
+ case 'UnifrakturCook':
+ fontFaceString += ':700';
+ break;
+
+ case 'Buda':
+ case 'Open Sans Condensed':
+ fontFaceString += ':300';
+ break;
+
+ case 'Coda':
+ case 'Sniglet':
+ fontFaceString += ':800';
+ break;
+
+ case 'Raleway':
+ fontFaceString += ':100';
+ break;
+ }
+
+
+ fontFaceString += '::latin';
+ fontFaceString = fontFaceString.replace( / /g, '+' );
+
+ // Add the fontFace in quotes for use in the style declaration, if the selected font has a number in it.
+ var specificFonts = new Array( 'Goudy Bookletter 1911' );
+
+ if ( jQuery.inArray( fontFace, specificFonts ) > -1 ) {
+ var fontFace = "'" + fontFace + "'";
+ }
+
+ WebFontConfig = {
+ google: { families: [ fontFaceString ] }
+ };
+
+ if ( $( 'script.google-webfonts-script' ).length ) { $( 'script.google-webfonts-script' ).remove(); WebFont.load({ google: {families: [ fontFaceString ]} }); }
+
+ (function() {
+ var wf = document.createElement( 'script' );
+ wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
+ '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
+ wf.type = 'text/javascript';
+ wf.async = 'true';
+ var s = document.getElementsByTagName( 'script' )[0];
+ s.parentNode.insertBefore( wf, s );
+
+ $( wf ).addClass( 'google-webfonts-script' );
+
+ })();
+
+ }
+
+ // Construct styles.
+ previewStyles += 'font: ' + fontStyle + ' ' + fontSize + '/' + lineHeight + ' ' + fontFace + ';';
+ if ( fontColor ) { previewStyles += ' color: ' + fontColor + ';'; }
+
+ // Construct preview HTML.
+ var previewHTMLInner = $( '
' ).addClass( 'current' ).addClass( 'typography-preview' ).text( previewText );
+
+ previewHTML = $( '
' ).addClass( 'typography-preview-container' ).html( previewHTMLInner ).append( '
' );
+
+ // If no preview display is present, add one.
+ if ( ! controls.next( '.typography-preview-container' ).length ) {
+ previewHTML.find( '.typography-preview' ).attr( 'style', previewStyles );
+ controls.after( previewHTML );
+ } else {
+ // Otherwise, just update the styles of the existing preview.
+ controls.next( '.typography-preview-container' ).find( '.typography-preview' ).attr( 'style', previewStyles );
+ }
+
+ // Set the button to "refresh" mode.
+ controls.find( '.a3rev-ui-typography-preview-button span' ).addClass( 'refresh' );
+ }
+
+
+ }; // End a3revTypographyPreview Object // Don't remove this, or the sky will fall on your head.
+
+/*-----------------------------------------------------------------------------------*/
+/* Execute the above methods in the a3revTypographyPreview object.
+/*-----------------------------------------------------------------------------------*/
+
+ $(document).ready(function () {
+
+ a3revTypographyPreview.loadPreviewButtons();
+
+ });
+
+})(jQuery);
\ No newline at end of file
diff --git a/admin/assets/js/admin-ui-script.js b/admin/assets/js/admin-ui-script.js
new file mode 100755
index 0000000..2d39ee2
--- /dev/null
+++ b/admin/assets/js/admin-ui-script.js
@@ -0,0 +1,724 @@
+(function($) {
+ $(document).ready(function() {
+
+ /* Apply wp color picker */
+ $('.a3rev_panel_container .a3rev-color-picker').each(function(i){
+ $(this).wpColorPicker({
+ change: function( event, ui ) {
+ //bgImage.css('background-color', ui.color.toString());
+ },
+ clear: function() {
+ //bgImage.css('background-color', '');
+ }
+ });
+ });
+
+ /* Apply UI slider */
+ $('.a3rev_panel_container div.a3rev-ui-slide').each(function(i){
+
+ if( $(this).attr('min') != undefined && $(this).attr('max') != undefined ) {
+
+ $(this).slider( {
+ isRTL: true,
+ range: "min",
+ min: parseInt($(this).attr('min')),
+ max: parseInt($(this).attr('max')),
+ value: parseInt($(this).parent('.a3rev-ui-slide-container-end').parent('.a3rev-ui-slide-container-start').next(".a3rev-ui-slide-result-container").children("input").val()),
+ step: parseInt($(this).attr('inc')) ,
+ slide: function( event, ui ) {
+ $( this ).parent('.a3rev-ui-slide-container-end').parent('.a3rev-ui-slide-container-start').next(".a3rev-ui-slide-result-container").children("input").val(ui.value);
+ }
+ });
+
+ $(this).removeAttr('min').removeAttr('max').removeAttr('inc');
+
+ }
+
+ });
+
+ /* Apply Box Shadow */
+ $('.a3rev_panel_container input.a3rev-ui-box_shadow-enable').each(function(i){
+ if ( $(this).is(':checked') ) {
+ $(this).parent('.forminp-box_shadow').find('.a3rev-ui-box_shadow-enable-container').css( {'visibility': 'visible', 'height' : 'auto', 'overflow' : 'inherit'} );
+ } else {
+ $(this).parent('.forminp-box_shadow').find('.a3rev-ui-box_shadow-enable-container').css( {'visibility': 'hidden', 'height' : '0px', 'overflow' : 'hidden'} );
+ }
+ $(this).on( "a3rev-ui-onoff_checkbox-switch", function( event, value, status ) {
+ if ( status == 'true') {
+ $(this).parents('.forminp-box_shadow').find('.a3rev-ui-box_shadow-enable-container').hide().css( {'visibility': 'visible', 'height' : 'auto', 'overflow' : 'inherit'} ).slideDown();
+ } else {
+ $(this).parents('.forminp-box_shadow').find('.a3rev-ui-box_shadow-enable-container').show().css( {'visibility': 'hidden', 'height' : '0px', 'overflow' : 'hidden'} ).slideUp();
+ }
+ });
+ });
+
+ /* Apply Background Color */
+ $('.a3rev_panel_container input.a3rev-ui-bg_color-enable').each(function(i){
+ if ( $(this).is(':checked') ) {
+ $(this).parent('.forminp-bg_color').find('.a3rev-ui-bg_color-enable-container').css( {'visibility': 'visible', 'height' : 'auto', 'overflow' : 'inherit'} );
+ } else {
+ $(this).parent('.forminp-bg_color').find('.a3rev-ui-bg_color-enable-container').css( {'visibility': 'hidden', 'height' : '0px', 'overflow' : 'hidden'} );
+ }
+ $(this).on( "a3rev-ui-onoff_checkbox-switch", function( event, value, status ) {
+ if ( status == 'true') {
+ $(this).parents('.forminp-bg_color').find('.a3rev-ui-bg_color-enable-container').hide().css( {'visibility': 'visible', 'height' : 'auto', 'overflow' : 'inherit'} ).slideDown();
+ } else {
+ $(this).parents('.forminp-bg_color').find('.a3rev-ui-bg_color-enable-container').show().css( {'visibility': 'hidden', 'height' : '0px', 'overflow' : 'hidden'} ).slideUp();
+ }
+ });
+ });
+
+ /* Apply OnOff Checbox */
+ $('.a3rev_panel_container input.a3rev-ui-onoff_checkbox').each(function(i){
+ var checked_label = 'ON';
+ var unchecked_label = 'OFF';
+ var callback = "maincheck";
+
+ if( $(this).attr('checked_label') != undefined ) checked_label = $(this).attr('checked_label');
+ if( $(this).attr('unchecked_label') != undefined ) unchecked_label = $(this).attr('unchecked_label');
+ if( $(this).attr('callback') != undefined ) callback = $(this).attr('callback');
+ var input_name = $(this).attr('name');
+
+ /* Apply for Border Corner */
+ if ( $(this).prop('checked') ) {
+ $(this).parents('.a3rev-ui-settings-control').find('.a3rev-ui-border-corner-value-container').css( {'display': 'block'} );
+ } else {
+ $(this).parents('.a3rev-ui-settings-control').find('.a3rev-ui-border-corner-value-container').css( {'display': 'none'} );
+ }
+
+ $(this).iphoneStyle({
+ /*resizeContainer: false,*/
+ resizeHandle: false,
+ handleMargin: 10,
+ handleRadius: 5,
+ containerRadius: 0,
+ checkedLabel: checked_label,
+ uncheckedLabel: unchecked_label,
+ onChange: function(elem, value) {
+ var status = value.toString();
+ if ( status == 'true' ) {
+ /* Apply for Border Corner */
+ elem.parents('.a3rev-ui-settings-control').find('.a3rev-ui-border-corner-value-container').slideDown();
+
+ /* Apply for Google API Key */
+ elem.parents('.forminp-google_api_key').find('.a3rev-ui-google-api-key-container').slideDown();
+ } else {
+ /* Apply for Border Corner */
+ elem.parents('.a3rev-ui-settings-control').find('.a3rev-ui-border-corner-value-container').slideUp();
+
+ /* Apply for Google API Key */
+ elem.parents('.forminp-google_api_key').find('.a3rev-ui-google-api-key-container').slideUp();
+ }
+
+ $('input[name="' + input_name + '"]').trigger("a3rev-ui-onoff_checkbox-switch", [elem.val(), status]);
+ },
+ onEnd: function(elem, value) {
+ var status = value.toString();
+
+ $('input[name="' + input_name + '"]').trigger("a3rev-ui-onoff_checkbox-switch-end", [elem.val(), status]);
+ }
+ });
+ });
+
+ /* Apply OnOff Radio */
+ $('.a3rev_panel_container input.a3rev-ui-onoff_radio').each(function(i){
+ var checked_label = 'ON';
+ var unchecked_label = 'OFF';
+
+ if( $(this).attr('checked_label') != undefined ) checked_label = $(this).attr('checked_label');
+ if( $(this).attr('unchecked_label') != undefined ) unchecked_label = $(this).attr('unchecked_label');
+ var input_name = $(this).attr('name');
+ var current_item = $(this);
+
+ $(this).iphoneStyle({
+ /*resizeContainer: false,*/
+ resizeHandle: false,
+ handleMargin: 10,
+ handleRadius: 5,
+ containerRadius: 0,
+ checkedLabel: checked_label,
+ uncheckedLabel: unchecked_label,
+ onChange: function(elem, value) {
+ var status = value.toString();
+ if ( status == 'true') {
+ $('input[name="' + input_name + '"]').not(current_item).removeAttr('checked').removeAttr('checkbox-disabled').iphoneStyle("refresh");
+ }
+ $('input[name="' + input_name + '"]').trigger("a3rev-ui-onoff_radio-switch", [elem.val(), status]);
+ },
+ onEnd: function(elem, value) {
+ var status = value.toString();
+ if ( status == 'true') {
+ $('input[name="' + input_name + '"]').not(current_item).removeAttr('checkbox-disabled');
+ $(current_item).attr('checkbox-disabled', 'true');
+ }
+ $('input[name="' + input_name + '"]').trigger("a3rev-ui-onoff_radio-switch-end", [elem.val(), status]);
+ }
+ });
+ });
+
+ /* Apply for normal checkbox */
+ $('.a3rev_panel_container .hide_options_if_checked').each(function(){
+
+ $(this).find('input:eq(0)').change(function() {
+
+ if ($(this).is(':checked')) {
+ $(this).closest('fieldset, tr').nextUntil( '.hide_options_if_checked, .show_options_if_checked', '.hidden_option').hide();
+ } else {
+ $(this).closest('fieldset, tr').nextUntil( '.hide_options_if_checked, .show_options_if_checked', '.hidden_option').show();
+ }
+
+ }).change();
+
+ });
+ $('.a3rev_panel_container .show_options_if_checked').each(function(){
+
+ $(this).find('input:eq(0)').change(function() {
+
+ if ($(this).is(':checked')) {
+ $(this).closest('fieldset, tr').nextUntil( '.hide_options_if_checked, .show_options_if_checked', '.hidden_option').show();
+ } else {
+ $(this).closest('fieldset, tr').nextUntil( '.hide_options_if_checked, .show_options_if_checked', '.hidden_option').hide();
+ }
+
+ }).change();
+
+ });
+
+ /* Apply chosen script for dropdown */
+ $(".a3rev_panel_container .chzn-select").chosen();
+ $(".a3rev_panel_container .chzn-select-deselect").chosen({ allow_single_deselect:true });
+
+ /* Apply help tip script */
+ $(".a3rev_panel_container .help_tip").tipTip({
+ "attribute" : "data-tip",
+ "fadeIn" : 50,
+ "fadeOut" : 50
+ });
+
+ /* Apply Sub tab selected script */
+ $('div.a3_subsubsub_section ul.subsubsub li a:eq(0)').addClass('current');
+ $('div.a3_subsubsub_section .section:gt(0)').hide();
+ $('div.a3_subsubsub_section ul.subsubsub li a:gt(0)').each(function(){
+ if( $(this).attr('class') == 'current') {
+ $('div.a3_subsubsub_section ul.subsubsub li a').removeClass('current');
+ $(this).addClass('current');
+ $('div.a3_subsubsub_section .section').hide();
+ $('div.a3_subsubsub_section ' + $(this).attr('href') ).show();
+ }
+ });
+ $('div.a3_subsubsub_section ul.subsubsub li a').click(function(){
+ var clicked = $(this);
+ var section = clicked.closest('.a3_subsubsub_section');
+ var target = clicked.attr('href');
+
+ section.find('a').removeClass('current');
+
+ if ( section.find('.section:visible').size() > 0 ) {
+ section.find('.section:visible').fadeOut( 100, function() {
+ section.find( target ).fadeIn('fast');
+ });
+ } else {
+ section.find( target ).fadeIn('fast');
+ }
+
+ clicked.addClass('current');
+ $('.last_tab').val( target );
+
+ return false;
+ });
+
+ $('.a3rev_panel_container').each( function(i){
+ $(this).css( {'visibility': 'visible', 'height' : 'auto', 'overflow' : 'inherit'} );
+ });
+
+ $('.a3rev_panel_box_inside').each( function(i){
+ if ( $(this).hasClass('box_open') ) {
+ $(this).css( {'visibility': 'visible', 'height' : 'auto', 'overflow' : 'inherit'} );
+ } else {
+ $(this).hide().css( {'visibility': 'visible', 'height' : 'auto', 'overflow' : 'inherit'} );
+ }
+ });
+
+ /* Apply Setting box open & close */
+ $(document).on('click', '.a3-plugin-ui-panel-box', function(){
+ var box_handle = $(this).parent('.a3rev_panel_box_handle');
+ var box_id = box_handle.data('box-id');
+ var form_key = box_handle.data('form-key');
+
+ var box_data = {};
+ if ( typeof a3_admin_ui_script_params != 'undefined' ) {
+ var box_data = {
+ action: a3_admin_ui_script_params.plugin + '_a3_admin_ui_event',
+ type: 'open_close_panel_box',
+ form_key: form_key,
+ box_id: box_id,
+ is_open: 0,
+ security: a3_admin_ui_script_params.security
+ };
+ }
+
+ if( $(this).hasClass('box_open') ) {
+ box_data.is_open = 0;
+ $(this).removeClass('box_open');
+ box_handle.siblings('.a3rev_panel_box_inside').removeClass('box_open').slideUp(500);
+ } else {
+ box_data.is_open = 1;
+ $(this).addClass('box_open');
+ box_handle.siblings('.a3rev_panel_box_inside').addClass('box_open').slideDown(500);
+ box_handle.siblings('.a3rev_panel_box_inside').find('img.rwd_image_maps').each(function(i){
+ $(this).rwdImageMaps();
+ });
+ }
+
+ if ( $(this).hasClass('enable_toggle_box_save') && typeof a3_admin_ui_script_params != 'undefined' ) {
+ $.post( a3_admin_ui_script_params.ajax_url, box_data );
+ }
+ });
+
+ /* Apply Manual Check version */
+ $(document).on( 'click', '.a3rev-ui-manual_check_version', function(){
+ var bt_check_version = $(this);
+ var version_message_container = $(this).siblings('.a3rev-ui-check-version-message');
+ var version_checking_status = $(this).siblings('.a3rev-ui-version-checking');
+ var transient_name = bt_check_version.data('transient-name');
+ if ( ! bt_check_version.hasClass('a3-version-checking') ) {
+ bt_check_version.addClass('a3-version-checking');
+ version_checking_status.css('display', 'inline-block');
+ version_message_container.slideUp();
+
+ var check_data = {
+ action: a3_admin_ui_script_params.plugin + '_a3_admin_ui_event',
+ type: 'check_new_version',
+ transient_name: transient_name,
+ security: a3_admin_ui_script_params.security
+ };
+
+ $.post( a3_admin_ui_script_params.ajax_url, check_data, function(response){
+ bt_check_version.removeClass('a3-version-checking');
+ version_checking_status.css('display', 'none');
+
+ // Get response
+ data = $.parseJSON( response );
+ if ( 0 == data.has_new_version ) {
+ version_message_container.removeClass('a3rev-ui-new-version-message');
+ version_message_container.addClass('a3rev-ui-latest-version-message');
+ } else {
+ version_message_container.addClass('a3rev-ui-new-version-message');
+ version_message_container.removeClass('a3rev-ui-latest-version-message');
+ }
+ version_message_container.html(data.version_message);
+ version_message_container.slideDown();
+ });
+ }
+ });
+
+ /* Apply Ajax Submit */
+ $(document).on( 'click', '.a3rev-ui-ajax_submit-button', function(){
+ var bt_ajax_submit = $(this);
+ var submit_data = JSON.parse( JSON.stringify( bt_ajax_submit.data('submit_data') ) );
+ if ( typeof submit_data.ajax_url == 'undefined' ) return false;
+
+ var submit_successsed = bt_ajax_submit.siblings('.a3rev-ui-ajax_submit-successed');
+ var submit_errors = bt_ajax_submit.siblings('.a3rev-ui-ajax_submit-errors');
+ var progress_bar_wrap = bt_ajax_submit.siblings('.a3rev-ui-progress-bar-wrap');
+ var progress_inner = progress_bar_wrap.find('.a3rev-ui-progress-inner');
+ var progressing_text = progress_bar_wrap.find('.a3rev-ui-progressing-text');
+ var completed_text = progress_bar_wrap.find('.a3rev-ui-completed-text');
+ bt_ajax_submit.hide();
+ submit_successsed.hide();
+ submit_errors.hide();
+ progress_bar_wrap.show();
+
+ // Plugin have use this control type need to get this trigger to make action from plugin
+ $('#' + bt_ajax_submit.attr('id') ).trigger("a3rev-ui-ajax_submit-click", [bt_ajax_submit]);
+
+ $.ajax({
+ xhr: function () {
+ var xhr = new window.XMLHttpRequest();
+ var progressLoading = null;
+
+ // Upload progress
+ xhr.upload.addEventListener("progress", function (evt) {
+ if (evt.lengthComputable) {
+ var interValTime = 1000;
+ var startWidth = 0;
+
+ progressLoading = setInterval( function() {
+ startWidth += Math.floor((Math.random() * 10) + 1);
+ console.log( startWidth );
+ if ( 90 <= startWidth ) {
+ clearInterval( progressLoading );
+ } else {
+ progress_inner.css({
+ width: startWidth + '%'
+ });
+ }
+ }, interValTime );
+ }
+ }, false);
+
+ // Download progress
+ xhr.addEventListener("progress", function (evt) {
+ if (evt.lengthComputable) {
+ var percentComplete = evt.loaded / evt.total;
+ progress_inner.css({
+ width: percentComplete * 100 + '%'
+ });
+
+ if (percentComplete === 1) {
+ console.log( 'process completed' );
+ clearInterval( progressLoading );
+ }
+ }
+ }, false);
+
+ return xhr;
+ },
+
+ type: submit_data.ajax_type,
+ url: submit_data.ajax_url,
+ data: submit_data.data,
+ success: function ( response ) {
+ data = $.parseJSON( response );
+ $('#' + bt_ajax_submit.attr('id') ).trigger("a3rev-ui-ajax_submit-completed", [ bt_ajax_submit, data ]);
+
+ setTimeout( function() {
+ progressing_text.hide();
+ completed_text.show();
+ }, 2000 );
+
+ setTimeout( function() {
+ bt_ajax_submit.show();
+ submit_successsed.show();
+ progress_bar_wrap.hide();
+ progressing_text.show();
+ completed_text.hide();
+ progress_inner.css({width: '0%'});
+ }, 3000 );
+ },
+ error: function( e ) {
+ console.log(e);
+
+ $('#' + bt_ajax_submit.attr('id') ).trigger("a3rev-ui-ajax_submit-errors", [ e, bt_ajax_submit ]);
+
+ setTimeout( function() {
+ progressing_text.hide();
+ completed_text.show();
+ }, 2000 );
+
+ setTimeout( function() {
+ bt_ajax_submit.show();
+ progress_bar_wrap.hide();
+ progressing_text.show();
+ completed_text.hide();
+ progress_inner.css({width: '0%'});
+ }, 3000 );
+ }
+ });
+ });
+
+ /* Apply Ajax Multi Submit */
+ function a3rev_ui_ajax_submit( bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ) {
+ var ajax_item = multi_ajax[ajax_item_id];
+ var current_items = $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-statistic-current-item').data('current');
+ var total_items = ajax_item.total_items;
+
+ // Call to next ajax if current ajax have current items equal or more than total items
+ if ( current_items >= total_items ) {
+ $('#' + bt_ajax_submit.attr('id') ).trigger('a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-completed', [ bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ]);
+ return false;
+ }
+
+ var submit_successsed = bt_ajax_submit.siblings('.a3rev-ui-ajax_multi_submit-successed');
+ var submit_errors = bt_ajax_submit.siblings('.a3rev-ui-ajax_multi_submit-errors');
+ var progress_bar_wrap = bt_ajax_submit.siblings('.a3rev-ui-progress-bar-wrap');
+ var progress_inner = progress_bar_wrap.find('.a3rev-ui-progress-inner');
+ var progressing_text = progress_bar_wrap.find('.a3rev-ui-progressing-text');
+ var completed_text = progress_bar_wrap.find('.a3rev-ui-completed-text');
+
+ progressing_text.html( ajax_item.progressing_text );
+ completed_text.html( ajax_item.completed_text );
+
+ progressing_text.show();
+ completed_text.hide();
+
+ var progress_current_items = progress_inner.data('current');
+ var progress_total_items = progress_inner.data('total');
+ var currentPercent = progress_current_items / progress_total_items;
+ var maximumWidth = Math.floor( total_items / progress_total_items * 100 );
+
+ var submit_data = ajax_item.submit_data;
+
+ $.ajax({
+ xhr: function () {
+ var xhr = new window.XMLHttpRequest();
+ var progressLoading = null;
+
+ // Upload progress
+ xhr.upload.addEventListener("progress", function (evt) {
+ if (evt.lengthComputable) {
+ var interValTime = 1000;
+ var startWidth = Math.floor( currentPercent * 100 );
+ if ( startWidth > 100 ) startWidth = 100;
+ progress_inner.css({
+ width: startWidth + '%'
+ });
+ }
+ }, false);
+
+ // Download progress
+ xhr.addEventListener("progress", function (evt) {
+ if (evt.lengthComputable) {
+ var percentComplete = evt.loaded / evt.total;
+ if (percentComplete === 1) {
+ // progress completed
+ }
+ }
+ }, false);
+
+ return xhr;
+ },
+
+ type: submit_data.ajax_type,
+ url: submit_data.ajax_url,
+ data: submit_data.data,
+ success: function ( response ) {
+ result = $.parseJSON( response );
+
+ new_items = result.current_items;
+
+ increase_items = new_items - current_items;
+ progress_current_items += increase_items;
+ progress_inner.data('current', progress_current_items);
+
+ currentPercent = progress_current_items / progress_total_items;
+ newWidth = Math.floor( currentPercent * 100 );
+ if ( newWidth > 100 ) newWidth = 100;
+ progress_inner.css({
+ width: newWidth + '%'
+ });
+
+ a3rev_ui_ajax_multi_statistic_change( ajax_item_id, new_items, current_items, total_items, 3000, true );
+
+ if ( typeof result.status != 'undefined' && 'completed' != result.status ) {
+ $('#' + bt_ajax_submit.attr('id') ).trigger('a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-'+result.status, [ bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ]);
+ } else {
+ progressing_text.hide();
+ completed_text.show();
+ setTimeout( function(){
+ $('#' + bt_ajax_submit.attr('id') ).trigger('a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-completed', [ bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ]);
+ }, 2000 );
+ }
+ },
+ error: function( e ) {
+ console.log(e);
+
+ // Allow trigger error
+ $('#' + bt_ajax_submit.attr('id') ).trigger('a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-errors', [ e, bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ]);
+
+ // Stop ajax call here
+ $('#' + bt_ajax_submit.attr('id') ).trigger('a3rev-ui-ajax_multi_submit-errors', [ bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ]);
+
+ setTimeout( function() {
+ bt_ajax_submit.show();
+ submit_successsed.hide();
+ submit_errors.show();
+ progress_bar_wrap.hide();
+ progressing_text.show();
+ completed_text.hide();
+ }, 2000 );
+ }
+ });
+
+ return false;
+ }
+
+ function a3rev_ui_ajax_multi_statistic_circle_animation( ajax_item_id, current_point, total_point ) {
+ current_deg = 360;
+ left_deg = 360;
+ right_deg = 180;
+ if ( current_point < total_point ) {
+ current_deg = Math.round( current_point / total_point * 360 );
+ }
+
+ if ( current_deg <= 180 ) {
+ left_deg = right_deg = current_deg;
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-pie').removeClass('pie-more-50');
+ } else {
+ right_deg = 180;
+ left_deg = current_deg;
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-pie').addClass('pie-more-50');
+ }
+
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-pie-left-side').css('transform', 'rotate('+left_deg+'deg)');
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-pie-right-side').css('transform', 'rotate('+right_deg+'deg)');
+ }
+
+ function a3rev_ui_ajax_multi_statistic_change( ajax_item_id, new_point, current_point, total_point, duration, have_effect) {
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-statistic-current-item').data('current', new_point );
+ if ( have_effect == false ) {
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-statistic-current-item').html(new_point);
+ }
+
+ $({current_point: current_point}).animate({current_point: new_point}, {
+ duration: duration,
+ easing:'swing', // can be anything
+ step: function() {
+ if ( have_effect ) {
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-statistic-current-item').html( Math.round( this.current_point) );
+ }
+ a3rev_ui_ajax_multi_statistic_circle_animation( ajax_item_id, this.current_point, total_point );
+ },
+ complete: function() {
+ if ( have_effect ) {
+ $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-statistic-current-item').html( Math.round( this.current_point ) );
+ }
+ a3rev_ui_ajax_multi_statistic_circle_animation( ajax_item_id, this.current_point, total_point );
+ }
+ });
+ }
+
+ $('.a3rev_panel_container .a3rev-ui-ajax_multi_submit-button').each(function(){
+ var bt_ajax_submit = $(this);
+ var multi_ajax_registered = JSON.parse( JSON.stringify( bt_ajax_submit.data('multi_ajax') ) );
+
+ $.each( multi_ajax_registered, function( i, ajax_item ){
+ ajax_item_id = ajax_item.item_id;
+
+ $(document).on( 'a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-start', '#' + bt_ajax_submit.attr('id'), function( event, bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ) {
+ console.log( 'Start - ' + ajax_item_id );
+ a3rev_ui_ajax_submit( bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id );
+ });
+
+ $(document).on( 'a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-continue', '#' + bt_ajax_submit.attr('id'), function( event, bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ) {
+ console.log( 'Continue - ' + ajax_item_id );
+ a3rev_ui_ajax_submit( bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id );
+ });
+
+ $(document).on( 'a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-completed', '#' + bt_ajax_submit.attr('id'), function( event, bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ) {
+ console.log( 'Completed - ' + ajax_item_id );
+
+ // Compeleted multi ajax if don't have next ajax item id
+ if ( '' == ajax_next_item_id ) {
+ $('#' + bt_ajax_submit.attr('id') ).trigger("a3rev-ui-ajax_multi_submit-end", [bt_ajax_submit, multi_ajax]);
+ return false;
+ }
+
+ ajax_next_item = multi_ajax[ajax_next_item_id];
+ new_ajax_next_item_id = ajax_next_item.next_item_id;
+
+ console.log('trigger - '+ajax_next_item_id);
+ $('#' + bt_ajax_submit.attr('id') ).trigger('a3rev-ui-ajax_multi_submit-'+ajax_next_item_id+'-start', [ bt_ajax_submit, multi_ajax, ajax_next_item_id, new_ajax_next_item_id ]);
+ });
+ });
+
+ $(document).on( 'a3rev-ui-ajax_multi_submit-end', '#' + bt_ajax_submit.attr('id'), function( event, bt_ajax_submit, multi_ajax ) {
+ console.log( 'Completed Multi Ajax' );
+
+ bt_ajax_submit.data( 'resubmit', 1 );
+
+ var submit_successsed = bt_ajax_submit.siblings('.a3rev-ui-ajax_multi_submit-successed');
+ var submit_errors = bt_ajax_submit.siblings('.a3rev-ui-ajax_multi_submit-errors');
+ var progress_bar_wrap = bt_ajax_submit.siblings('.a3rev-ui-progress-bar-wrap');
+ var progress_inner = progress_bar_wrap.find('.a3rev-ui-progress-inner');
+ var progressing_text = progress_bar_wrap.find('.a3rev-ui-progressing-text');
+ var completed_text = progress_bar_wrap.find('.a3rev-ui-completed-text');
+
+ progress_inner.css({
+ width: '100%'
+ });
+
+ setTimeout( function() {
+ progressing_text.hide();
+ completed_text.show();
+ }, 2000 );
+
+ setTimeout( function() {
+ bt_ajax_submit.show();
+ submit_successsed.show();
+ submit_errors.hide();
+ progress_bar_wrap.hide();
+ progressing_text.show();
+ completed_text.hide();
+ progress_inner.css({width: '0%'});
+ }, 3000 );
+ });
+ });
+
+ $(document).on( 'click', '.a3rev-ui-ajax_multi_submit-button', function(){
+ var bt_ajax_submit = $(this);
+ var resubmit = bt_ajax_submit.data('resubmit');
+ bt_ajax_submit.data('resubmit', 0);
+
+ var multi_ajax = JSON.parse( JSON.stringify( bt_ajax_submit.data('multi_ajax') ) );
+
+ var submit_successsed = bt_ajax_submit.siblings('.a3rev-ui-ajax_multi_submit-successed');
+ var submit_errors = bt_ajax_submit.siblings('.a3rev-ui-ajax_multi_submit-errors');
+ var progress_bar_wrap = bt_ajax_submit.siblings('.a3rev-ui-progress-bar-wrap');
+ var progress_inner = progress_bar_wrap.find('.a3rev-ui-progress-inner');
+ var progressing_text = progress_bar_wrap.find('.a3rev-ui-progressing-text');
+ var completed_text = progress_bar_wrap.find('.a3rev-ui-completed-text');
+
+ bt_ajax_submit.hide();
+ submit_successsed.hide();
+ submit_errors.hide();
+ progress_bar_wrap.show();
+
+ // Reset progressing start point to 0 for resubmit
+ if ( resubmit == 1 ) {
+ progress_inner.data('current', 0);
+ }
+
+
+ // Plugin have use this control type need to get this trigger to make action from plugin
+ $('#' + bt_ajax_submit.attr('id') ).trigger("a3rev-ui-ajax_multi_submit-click", [bt_ajax_submit]);
+
+ var progress_current_items = progress_inner.data('current');
+ var progress_total_items = progress_inner.data('total')
+ var currentPercent = progress_current_items / progress_total_items;
+ if ( currentPercent < 1 ) {
+ progress_inner.animate({
+ width: Math.floor( currentPercent * 100 ) + '%'
+ }, 0 );
+ } else {
+ currentPercent = 0;
+ }
+
+ var have_first_ajax_item = false;
+ var first_ajax_item = null;
+ $.each( multi_ajax, function( i, ajax_item ){
+ if ( ! have_first_ajax_item ) {
+ first_ajax_item = ajax_item;
+ have_first_ajax_item = true;
+ }
+ ajax_item_id = ajax_item.item_id;
+ current_items = $('.a3rev-ui-statistic-'+ajax_item_id).find('.a3rev-ui-statistic-current-item').data('current');
+ total_items = ajax_item.total_items;
+
+ // Reset current items of each ajax to 0 for resubmit
+ if ( resubmit == 1 ) {
+ a3rev_ui_ajax_multi_statistic_change( ajax_item_id, 0, current_items, total_items, 500, false );
+ }
+ });
+
+ // Just call first ajax submit
+ ajax_item_id = first_ajax_item.item_id;
+ ajax_next_item_id = first_ajax_item.next_item_id;
+
+ $('#' + bt_ajax_submit.attr('id') ).trigger("a3rev-ui-ajax_multi_submit-start", [bt_ajax_submit, multi_ajax]);
+
+ console.log('trigger - '+ajax_item_id);
+ $('#' + bt_ajax_submit.attr('id') ).trigger('a3rev-ui-ajax_multi_submit-'+ajax_item_id+'-start', [ bt_ajax_submit, multi_ajax, ajax_item_id, ajax_next_item_id ]);
+
+ return false;
+ });
+
+ /* Apply Image Maps script */
+ $('.a3rev_panel_container img.rwd_image_maps').each(function(i){
+ $(this).rwdImageMaps();
+ });
+
+ $(document).trigger("a3rev-ui-script-loaded");
+
+ });
+})(jQuery);
diff --git a/admin/assets/js/bootstrap/modal.js b/admin/assets/js/bootstrap/modal.js
new file mode 100755
index 0000000..73d203e
--- /dev/null
+++ b/admin/assets/js/bootstrap/modal.js
@@ -0,0 +1,535 @@
+var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-alpha.6): modal.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
+
+var Modal = function ($) {
+
+ /**
+ * ------------------------------------------------------------------------
+ * Constants
+ * ------------------------------------------------------------------------
+ */
+
+ var NAME = 'modal';
+ var VERSION = '4.0.0-alpha.6';
+ var DATA_KEY = 'bs.modal';
+ var EVENT_KEY = '.' + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var TRANSITION_DURATION = 300;
+ var BACKDROP_TRANSITION_DURATION = 150;
+ var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key
+
+ var Default = {
+ backdrop: true,
+ keyboard: true,
+ focus: true,
+ show: true
+ };
+
+ var DefaultType = {
+ backdrop: '(boolean|string)',
+ keyboard: 'boolean',
+ focus: 'boolean',
+ show: 'boolean'
+ };
+
+ var Event = {
+ HIDE: 'hide' + EVENT_KEY,
+ HIDDEN: 'hidden' + EVENT_KEY,
+ SHOW: 'show' + EVENT_KEY,
+ SHOWN: 'shown' + EVENT_KEY,
+ FOCUSIN: 'focusin' + EVENT_KEY,
+ RESIZE: 'resize' + EVENT_KEY,
+ CLICK_DISMISS: 'click.dismiss' + EVENT_KEY,
+ KEYDOWN_DISMISS: 'keydown.dismiss' + EVENT_KEY,
+ MOUSEUP_DISMISS: 'mouseup.dismiss' + EVENT_KEY,
+ MOUSEDOWN_DISMISS: 'mousedown.dismiss' + EVENT_KEY,
+ CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ };
+
+ var ClassName = {
+ SCROLLBAR_MEASURER: 'modal-scrollbar-measure',
+ BACKDROP: 'modal-backdrop',
+ OPEN: 'modal-open',
+ FADE: 'fade',
+ SHOW: 'show'
+ };
+
+ var Selector = {
+ DIALOG: '.modal-dialog',
+ DATA_TOGGLE: '[data-toggle="modal"]',
+ DATA_DISMISS: '[data-dismiss="modal"]',
+ FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'
+ };
+
+ /**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
+
+ var Modal = function () {
+ function Modal(element, config) {
+ _classCallCheck(this, Modal);
+
+ this._config = this._getConfig(config);
+ this._element = element;
+ this._dialog = $(element).find(Selector.DIALOG)[0];
+ this._backdrop = null;
+ this._isShown = false;
+ this._isBodyOverflowing = false;
+ this._ignoreBackdropClick = false;
+ this._isTransitioning = false;
+ this._originalBodyPadding = 0;
+ this._scrollbarWidth = 0;
+ }
+
+ // getters
+
+ // public
+
+ Modal.prototype.toggle = function toggle(relatedTarget) {
+ return this._isShown ? this.hide() : this.show(relatedTarget);
+ };
+
+ Modal.prototype.show = function show(relatedTarget) {
+ var _this = this;
+
+ if (this._isTransitioning) {
+ throw new Error('Modal is transitioning');
+ }
+
+ if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE)) {
+ this._isTransitioning = true;
+ }
+ var showEvent = $.Event(Event.SHOW, {
+ relatedTarget: relatedTarget
+ });
+
+ $(this._element).trigger(showEvent);
+
+ if (this._isShown || showEvent.isDefaultPrevented()) {
+ return;
+ }
+
+ this._isShown = true;
+
+ this._checkScrollbar();
+ this._setScrollbar();
+
+ $(document.body).addClass(ClassName.OPEN);
+
+ this._setEscapeEvent();
+ this._setResizeEvent();
+
+ $(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) {
+ return _this.hide(event);
+ });
+
+ $(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () {
+ $(_this._element).one(Event.MOUSEUP_DISMISS, function (event) {
+ if ($(event.target).is(_this._element)) {
+ _this._ignoreBackdropClick = true;
+ }
+ });
+ });
+
+ this._showBackdrop(function () {
+ return _this._showElement(relatedTarget);
+ });
+ };
+
+ Modal.prototype.hide = function hide(event) {
+ var _this2 = this;
+
+ if (event) {
+ event.preventDefault();
+ }
+
+ if (this._isTransitioning) {
+ throw new Error('Modal is transitioning');
+ }
+
+ var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
+ if (transition) {
+ this._isTransitioning = true;
+ }
+
+ var hideEvent = $.Event(Event.HIDE);
+ $(this._element).trigger(hideEvent);
+
+ if (!this._isShown || hideEvent.isDefaultPrevented()) {
+ return;
+ }
+
+ this._isShown = false;
+
+ this._setEscapeEvent();
+ this._setResizeEvent();
+
+ $(document).off(Event.FOCUSIN);
+
+ $(this._element).removeClass(ClassName.SHOW);
+
+ $(this._element).off(Event.CLICK_DISMISS);
+ $(this._dialog).off(Event.MOUSEDOWN_DISMISS);
+
+ if (transition) {
+ $(this._element).one(Util.TRANSITION_END, function (event) {
+ return _this2._hideModal(event);
+ }).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ this._hideModal();
+ }
+ };
+
+ Modal.prototype.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+
+ $(window, document, this._element, this._backdrop).off(EVENT_KEY);
+
+ this._config = null;
+ this._element = null;
+ this._dialog = null;
+ this._backdrop = null;
+ this._isShown = null;
+ this._isBodyOverflowing = null;
+ this._ignoreBackdropClick = null;
+ this._originalBodyPadding = null;
+ this._scrollbarWidth = null;
+ };
+
+ // private
+
+ Modal.prototype._getConfig = function _getConfig(config) {
+ config = $.extend({}, Default, config);
+ Util.typeCheckConfig(NAME, config, DefaultType);
+ return config;
+ };
+
+ Modal.prototype._showElement = function _showElement(relatedTarget) {
+ var _this3 = this;
+
+ var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
+
+ if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {
+ // don't move modals dom position
+ document.body.appendChild(this._element);
+ }
+
+ this._element.style.display = 'block';
+ this._element.removeAttribute('aria-hidden');
+ this._element.scrollTop = 0;
+
+ if (transition) {
+ Util.reflow(this._element);
+ }
+
+ $(this._element).addClass(ClassName.SHOW);
+
+ if (this._config.focus) {
+ this._enforceFocus();
+ }
+
+ var shownEvent = $.Event(Event.SHOWN, {
+ relatedTarget: relatedTarget
+ });
+
+ var transitionComplete = function transitionComplete() {
+ if (_this3._config.focus) {
+ _this3._element.focus();
+ }
+ _this3._isTransitioning = false;
+ $(_this3._element).trigger(shownEvent);
+ };
+
+ if (transition) {
+ $(this._dialog).one(Util.TRANSITION_END, transitionComplete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ transitionComplete();
+ }
+ };
+
+ Modal.prototype._enforceFocus = function _enforceFocus() {
+ var _this4 = this;
+
+ $(document).off(Event.FOCUSIN) // guard against infinite focus loop
+ .on(Event.FOCUSIN, function (event) {
+ if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) {
+ _this4._element.focus();
+ }
+ });
+ };
+
+ Modal.prototype._setEscapeEvent = function _setEscapeEvent() {
+ var _this5 = this;
+
+ if (this._isShown && this._config.keyboard) {
+ $(this._element).on(Event.KEYDOWN_DISMISS, function (event) {
+ if (event.which === ESCAPE_KEYCODE) {
+ _this5.hide();
+ }
+ });
+ } else if (!this._isShown) {
+ $(this._element).off(Event.KEYDOWN_DISMISS);
+ }
+ };
+
+ Modal.prototype._setResizeEvent = function _setResizeEvent() {
+ var _this6 = this;
+
+ if (this._isShown) {
+ $(window).on(Event.RESIZE, function (event) {
+ return _this6._handleUpdate(event);
+ });
+ } else {
+ $(window).off(Event.RESIZE);
+ }
+ };
+
+ Modal.prototype._hideModal = function _hideModal() {
+ var _this7 = this;
+
+ this._element.style.display = 'none';
+ this._element.setAttribute('aria-hidden', 'true');
+ this._isTransitioning = false;
+ this._showBackdrop(function () {
+ $(document.body).removeClass(ClassName.OPEN);
+ _this7._resetAdjustments();
+ _this7._resetScrollbar();
+ $(_this7._element).trigger(Event.HIDDEN);
+ });
+ };
+
+ Modal.prototype._removeBackdrop = function _removeBackdrop() {
+ if (this._backdrop) {
+ $(this._backdrop).remove();
+ this._backdrop = null;
+ }
+ };
+
+ Modal.prototype._showBackdrop = function _showBackdrop(callback) {
+ var _this8 = this;
+
+ var animate = $(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
+
+ if (this._isShown && this._config.backdrop) {
+ var doAnimate = Util.supportsTransitionEnd() && animate;
+
+ this._backdrop = document.createElement('div');
+ this._backdrop.className = ClassName.BACKDROP;
+
+ if (animate) {
+ $(this._backdrop).addClass(animate);
+ }
+
+ $(this._backdrop).appendTo(document.body);
+
+ $(this._element).on(Event.CLICK_DISMISS, function (event) {
+ if (_this8._ignoreBackdropClick) {
+ _this8._ignoreBackdropClick = false;
+ return;
+ }
+ if (event.target !== event.currentTarget) {
+ return;
+ }
+ if (_this8._config.backdrop === 'static') {
+ _this8._element.focus();
+ } else {
+ _this8.hide();
+ }
+ });
+
+ if (doAnimate) {
+ Util.reflow(this._backdrop);
+ }
+
+ $(this._backdrop).addClass(ClassName.SHOW);
+
+ if (!callback) {
+ return;
+ }
+
+ if (!doAnimate) {
+ callback();
+ return;
+ }
+
+ $(this._backdrop).one(Util.TRANSITION_END, callback).emulateTransitionEnd(BACKDROP_TRANSITION_DURATION);
+ } else if (!this._isShown && this._backdrop) {
+ $(this._backdrop).removeClass(ClassName.SHOW);
+
+ var callbackRemove = function callbackRemove() {
+ _this8._removeBackdrop();
+ if (callback) {
+ callback();
+ }
+ };
+
+ if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE)) {
+ $(this._backdrop).one(Util.TRANSITION_END, callbackRemove).emulateTransitionEnd(BACKDROP_TRANSITION_DURATION);
+ } else {
+ callbackRemove();
+ }
+ } else if (callback) {
+ callback();
+ }
+ };
+
+ // ----------------------------------------------------------------------
+ // the following methods are used to handle overflowing modals
+ // todo (fat): these should probably be refactored out of modal.js
+ // ----------------------------------------------------------------------
+
+ Modal.prototype._handleUpdate = function _handleUpdate() {
+ this._adjustDialog();
+ };
+
+ Modal.prototype._adjustDialog = function _adjustDialog() {
+ var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
+
+ if (!this._isBodyOverflowing && isModalOverflowing) {
+ this._element.style.paddingLeft = this._scrollbarWidth + 'px';
+ }
+
+ if (this._isBodyOverflowing && !isModalOverflowing) {
+ this._element.style.paddingRight = this._scrollbarWidth + 'px';
+ }
+ };
+
+ Modal.prototype._resetAdjustments = function _resetAdjustments() {
+ this._element.style.paddingLeft = '';
+ this._element.style.paddingRight = '';
+ };
+
+ Modal.prototype._checkScrollbar = function _checkScrollbar() {
+ this._isBodyOverflowing = document.body.clientWidth < window.innerWidth;
+ this._scrollbarWidth = this._getScrollbarWidth();
+ };
+
+ Modal.prototype._setScrollbar = function _setScrollbar() {
+ var bodyPadding = parseInt($(Selector.FIXED_CONTENT).css('padding-right') || 0, 10);
+
+ this._originalBodyPadding = document.body.style.paddingRight || '';
+
+ if (this._isBodyOverflowing) {
+ document.body.style.paddingRight = bodyPadding + this._scrollbarWidth + 'px';
+ }
+ };
+
+ Modal.prototype._resetScrollbar = function _resetScrollbar() {
+ document.body.style.paddingRight = this._originalBodyPadding;
+ };
+
+ Modal.prototype._getScrollbarWidth = function _getScrollbarWidth() {
+ // thx d.walsh
+ var scrollDiv = document.createElement('div');
+ scrollDiv.className = ClassName.SCROLLBAR_MEASURER;
+ document.body.appendChild(scrollDiv);
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
+ document.body.removeChild(scrollDiv);
+ return scrollbarWidth;
+ };
+
+ // static
+
+ Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) {
+ return this.each(function () {
+ var data = $(this).data(DATA_KEY);
+ var _config = $.extend({}, Modal.Default, $(this).data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ if (!data) {
+ data = new Modal(this, _config);
+ $(this).data(DATA_KEY, data);
+ }
+
+ if (typeof config === 'string') {
+ if (data[config] === undefined) {
+ throw new Error('No method named "' + config + '"');
+ }
+ data[config](relatedTarget);
+ } else if (_config.show) {
+ data.show(relatedTarget);
+ }
+ });
+ };
+
+ _createClass(Modal, null, [{
+ key: 'VERSION',
+ get: function get() {
+ return VERSION;
+ }
+ }, {
+ key: 'Default',
+ get: function get() {
+ return Default;
+ }
+ }]);
+
+ return Modal;
+ }();
+
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
+
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+ var _this9 = this;
+
+ var target = void 0;
+ var selector = Util.getSelectorFromElement(this);
+
+ if (selector) {
+ target = $(selector)[0];
+ }
+
+ var config = $(target).data(DATA_KEY) ? 'toggle' : $.extend({}, $(target).data(), $(this).data());
+
+ if (this.tagName === 'A' || this.tagName === 'AREA') {
+ event.preventDefault();
+ }
+
+ var $target = $(target).one(Event.SHOW, function (showEvent) {
+ if (showEvent.isDefaultPrevented()) {
+ // only register focus restorer if modal will actually get shown
+ return;
+ }
+
+ $target.one(Event.HIDDEN, function () {
+ if ($(_this9).is(':visible')) {
+ _this9.focus();
+ }
+ });
+ });
+
+ Modal._jQueryInterface.call($(target), config, this);
+ });
+
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
+ */
+
+ $.fn[NAME] = Modal._jQueryInterface;
+ $.fn[NAME].Constructor = Modal;
+ $.fn[NAME].noConflict = function () {
+ $.fn[NAME] = JQUERY_NO_CONFLICT;
+ return Modal._jQueryInterface;
+ };
+
+ return Modal;
+}(jQuery);
+//# sourceMappingURL=modal.js.map
diff --git a/admin/assets/js/bootstrap/modal.min.js b/admin/assets/js/bootstrap/modal.min.js
new file mode 100755
index 0000000..dcbd52d
--- /dev/null
+++ b/admin/assets/js/bootstrap/modal.min.js
@@ -0,0 +1 @@
+function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_createClass=function(){function a(a,b){for(var c=0;c
document.documentElement.clientHeight;!this._isBodyOverflowing&&b&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!b&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},f.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},f.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth\"\'\`]/.test(text)) {
+ return text;
+ }
+ map = {
+ "<": "<",
+ ">": ">",
+ '"': """,
+ "'": "'",
+ "`": "`"
+ };
+ unsafe_chars = /&(?!\w+;)|[\<\>\"\'\`]/g;
+ return text.replace(unsafe_chars, function(chr) {
+ return map[chr] || "&";
+ });
+ };
+
+ return SelectParser;
+
+ })();
+
+ SelectParser.select_to_array = function(select) {
+ var child, parser, _i, _len, _ref;
+ parser = new SelectParser();
+ _ref = select.childNodes;
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
+ child = _ref[_i];
+ parser.add_node(child);
+ }
+ return parser.parsed;
+ };
+
+ AbstractChosen = (function() {
+ function AbstractChosen(form_field, options) {
+ this.form_field = form_field;
+ this.options = options != null ? options : {};
+ if (!AbstractChosen.browser_is_supported()) {
+ return;
+ }
+ this.is_multiple = this.form_field.multiple;
+ this.set_default_text();
+ this.set_default_values();
+ this.setup();
+ this.set_up_html();
+ this.register_observers();
+ }
+
+ AbstractChosen.prototype.set_default_values = function() {
+ var _this = this;
+ this.click_test_action = function(evt) {
+ return _this.test_active_click(evt);
+ };
+ this.activate_action = function(evt) {
+ return _this.activate_field(evt);
+ };
+ this.active_field = false;
+ this.mouse_on_container = false;
+ this.results_showing = false;
+ this.result_highlighted = null;
+ this.allow_single_deselect = (this.options.allow_single_deselect != null) && (this.form_field.options[0] != null) && this.form_field.options[0].text === "" ? this.options.allow_single_deselect : false;
+ this.disable_search_threshold = this.options.disable_search_threshold || 0;
+ this.disable_search = this.options.disable_search || false;
+ this.enable_split_word_search = this.options.enable_split_word_search != null ? this.options.enable_split_word_search : true;
+ this.group_search = this.options.group_search != null ? this.options.group_search : true;
+ this.search_contains = this.options.search_contains || false;
+ this.single_backstroke_delete = this.options.single_backstroke_delete != null ? this.options.single_backstroke_delete : true;
+ this.max_selected_options = this.options.max_selected_options || Infinity;
+ this.inherit_select_classes = this.options.inherit_select_classes || false;
+ this.display_selected_options = this.options.display_selected_options != null ? this.options.display_selected_options : true;
+ return this.display_disabled_options = this.options.display_disabled_options != null ? this.options.display_disabled_options : true;
+ };
+
+ AbstractChosen.prototype.set_default_text = function() {
+ if (this.form_field.getAttribute("data-placeholder")) {
+ this.default_text = this.form_field.getAttribute("data-placeholder");
+ } else if (this.is_multiple) {
+ this.default_text = this.options.placeholder_text_multiple || this.options.placeholder_text || AbstractChosen.default_multiple_text;
+ } else {
+ this.default_text = this.options.placeholder_text_single || this.options.placeholder_text || AbstractChosen.default_single_text;
+ }
+ return this.results_none_found = this.form_field.getAttribute("data-no_results_text") || this.options.no_results_text || AbstractChosen.default_no_result_text;
+ };
+
+ AbstractChosen.prototype.mouse_enter = function() {
+ return this.mouse_on_container = true;
+ };
+
+ AbstractChosen.prototype.mouse_leave = function() {
+ return this.mouse_on_container = false;
+ };
+
+ AbstractChosen.prototype.input_focus = function(evt) {
+ var _this = this;
+ if (this.is_multiple) {
+ if (!this.active_field) {
+ return setTimeout((function() {
+ return _this.container_mousedown();
+ }), 50);
+ }
+ } else {
+ if (!this.active_field) {
+ return this.activate_field();
+ }
+ }
+ };
+
+ AbstractChosen.prototype.input_blur = function(evt) {
+ var _this = this;
+ if (!this.mouse_on_container) {
+ this.active_field = false;
+ return setTimeout((function() {
+ return _this.blur_test();
+ }), 100);
+ }
+ };
+
+ AbstractChosen.prototype.results_option_build = function(options) {
+ var content, data, _i, _len, _ref;
+ content = '';
+ _ref = this.results_data;
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
+ data = _ref[_i];
+ if (data.group) {
+ content += this.result_add_group(data);
+ } else {
+ content += this.result_add_option(data);
+ }
+ if (options != null ? options.first : void 0) {
+ if (data.selected && this.is_multiple) {
+ this.choice_build(data);
+ } else if (data.selected && !this.is_multiple) {
+ this.single_set_selected_text(data.text);
+ }
+ }
+ }
+ return content;
+ };
+
+ AbstractChosen.prototype.result_add_option = function(option) {
+ var classes, option_el;
+ if (!option.search_match) {
+ return '';
+ }
+ if (!this.include_option_in_results(option)) {
+ return '';
+ }
+ classes = [];
+ if (!option.disabled && !(option.selected && this.is_multiple)) {
+ classes.push("active-result");
+ }
+ if (option.disabled && !(option.selected && this.is_multiple)) {
+ classes.push("disabled-result");
+ }
+ if (option.selected) {
+ classes.push("result-selected");
+ }
+ if (option.group_array_index != null) {
+ classes.push("group-option");
+ }
+ if (option.classes !== "") {
+ classes.push(option.classes);
+ }
+ option_el = document.createElement("li");
+ option_el.className = classes.join(" ");
+ option_el.style.cssText = option.style;
+ option_el.setAttribute("data-option-array-index", option.array_index);
+ option_el.innerHTML = option.search_text;
+ return this.outerHTML(option_el);
+ };
+
+ AbstractChosen.prototype.result_add_group = function(group) {
+ var group_el;
+ if (!(group.search_match || group.group_match)) {
+ return '';
+ }
+ if (!(group.active_options > 0)) {
+ return '';
+ }
+ group_el = document.createElement("li");
+ group_el.className = "group-result";
+ group_el.innerHTML = group.search_text;
+ return this.outerHTML(group_el);
+ };
+
+ AbstractChosen.prototype.results_update_field = function() {
+ this.set_default_text();
+ if (!this.is_multiple) {
+ this.results_reset_cleanup();
+ }
+ this.result_clear_highlight();
+ this.results_build();
+ if (this.results_showing) {
+ return this.winnow_results();
+ }
+ };
+
+ AbstractChosen.prototype.reset_single_select_options = function() {
+ var result, _i, _len, _ref, _results;
+ _ref = this.results_data;
+ _results = [];
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
+ result = _ref[_i];
+ if (result.selected) {
+ _results.push(result.selected = false);
+ } else {
+ _results.push(void 0);
+ }
+ }
+ return _results;
+ };
+
+ AbstractChosen.prototype.results_toggle = function() {
+ if (this.results_showing) {
+ return this.results_hide();
+ } else {
+ return this.results_show();
+ }
+ };
+
+ AbstractChosen.prototype.results_search = function(evt) {
+ if (this.results_showing) {
+ return this.winnow_results();
+ } else {
+ return this.results_show();
+ }
+ };
+
+ AbstractChosen.prototype.winnow_results = function() {
+ var escapedSearchText, option, regex, regexAnchor, results, results_group, searchText, startpos, text, zregex, _i, _len, _ref;
+ this.no_results_clear();
+ results = 0;
+ searchText = this.get_search_text();
+ escapedSearchText = searchText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
+ regexAnchor = this.search_contains ? "" : "^";
+ regex = new RegExp(regexAnchor + escapedSearchText, 'i');
+ zregex = new RegExp(escapedSearchText, 'i');
+ _ref = this.results_data;
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
+ option = _ref[_i];
+ option.search_match = false;
+ results_group = null;
+ if (this.include_option_in_results(option)) {
+ if (option.group) {
+ option.group_match = false;
+ option.active_options = 0;
+ }
+ if ((option.group_array_index != null) && this.results_data[option.group_array_index]) {
+ results_group = this.results_data[option.group_array_index];
+ if (results_group.active_options === 0 && results_group.search_match) {
+ results += 1;
+ }
+ results_group.active_options += 1;
+ }
+ if (!(option.group && !this.group_search)) {
+ option.search_text = option.group ? option.label : option.html;
+ option.search_match = this.search_string_match(option.search_text, regex);
+ if (option.search_match && !option.group) {
+ results += 1;
+ }
+ if (option.search_match) {
+ if (searchText.length) {
+ startpos = option.search_text.search(zregex);
+ text = option.search_text.substr(0, startpos + searchText.length) + '' + option.search_text.substr(startpos + searchText.length);
+ option.search_text = text.substr(0, startpos) + '' + text.substr(startpos);
+ }
+ if (results_group != null) {
+ results_group.group_match = true;
+ }
+ } else if ((option.group_array_index != null) && this.results_data[option.group_array_index].search_match) {
+ option.search_match = true;
+ }
+ }
+ }
+ }
+ this.result_clear_highlight();
+ if (results < 1 && searchText.length) {
+ this.update_results_content("");
+ return this.no_results(searchText);
+ } else {
+ this.update_results_content(this.results_option_build());
+ return this.winnow_results_set_highlight();
+ }
+ };
+
+ AbstractChosen.prototype.search_string_match = function(search_string, regex) {
+ var part, parts, _i, _len;
+ if (regex.test(search_string)) {
+ return true;
+ } else if (this.enable_split_word_search && (search_string.indexOf(" ") >= 0 || search_string.indexOf("[") === 0)) {
+ parts = search_string.replace(/\[|\]/g, "").split(" ");
+ if (parts.length) {
+ for (_i = 0, _len = parts.length; _i < _len; _i++) {
+ part = parts[_i];
+ if (regex.test(part)) {
+ return true;
+ }
+ }
+ }
+ }
+ };
+
+ AbstractChosen.prototype.choices_count = function() {
+ var option, _i, _len, _ref;
+ if (this.selected_option_count != null) {
+ return this.selected_option_count;
+ }
+ this.selected_option_count = 0;
+ _ref = this.form_field.options;
+ for (_i = 0, _len = _ref.length; _i < _len; _i++) {
+ option = _ref[_i];
+ if (option.selected) {
+ this.selected_option_count += 1;
+ }
+ }
+ return this.selected_option_count;
+ };
+
+ AbstractChosen.prototype.choices_click = function(evt) {
+ evt.preventDefault();
+ if (!(this.results_showing || this.is_disabled)) {
+ return this.results_show();
+ }
+ };
+
+ AbstractChosen.prototype.keyup_checker = function(evt) {
+ var stroke, _ref;
+ stroke = (_ref = evt.which) != null ? _ref : evt.keyCode;
+ this.search_field_scale();
+ switch (stroke) {
+ case 8:
+ if (this.is_multiple && this.backstroke_length < 1 && this.choices_count() > 0) {
+ return this.keydown_backstroke();
+ } else if (!this.pending_backstroke) {
+ this.result_clear_highlight();
+ return this.results_search();
+ }
+ break;
+ case 13:
+ evt.preventDefault();
+ if (this.results_showing) {
+ return this.result_select(evt);
+ }
+ break;
+ case 27:
+ if (this.results_showing) {
+ this.results_hide();
+ }
+ return true;
+ case 9:
+ case 38:
+ case 40:
+ case 16:
+ case 91:
+ case 17:
+ break;
+ default:
+ return this.results_search();
+ }
+ };
+
+ AbstractChosen.prototype.clipboard_event_checker = function(evt) {
+ var _this = this;
+ return setTimeout((function() {
+ return _this.results_search();
+ }), 50);
+ };
+
+ AbstractChosen.prototype.container_width = function() {
+ if (this.options.width != null) {
+ return this.options.width;
+ } else {
+ return "" + this.form_field.offsetWidth + "px";
+ }
+ };
+
+ AbstractChosen.prototype.include_option_in_results = function(option) {
+ if (this.is_multiple && (!this.display_selected_options && option.selected)) {
+ return false;
+ }
+ if (!this.display_disabled_options && option.disabled) {
+ return false;
+ }
+ if (option.empty) {
+ return false;
+ }
+ return true;
+ };
+
+ AbstractChosen.prototype.search_results_touchstart = function(evt) {
+ this.touch_started = true;
+ return this.search_results_mouseover(evt);
+ };
+
+ AbstractChosen.prototype.search_results_touchmove = function(evt) {
+ this.touch_started = false;
+ return this.search_results_mouseout(evt);
+ };
+
+ AbstractChosen.prototype.search_results_touchend = function(evt) {
+ if (this.touch_started) {
+ return this.search_results_mouseup(evt);
+ }
+ };
+
+ AbstractChosen.prototype.outerHTML = function(element) {
+ var tmp;
+ if (element.outerHTML) {
+ return element.outerHTML;
+ }
+ tmp = document.createElement("div");
+ tmp.appendChild(element);
+ return tmp.innerHTML;
+ };
+
+ AbstractChosen.browser_is_supported = function() {
+ if (window.navigator.appName === "Microsoft Internet Explorer") {
+ return document.documentMode >= 8;
+ }
+ if (/iP(od|hone)/i.test(window.navigator.userAgent)) {
+ return false;
+ }
+ if (/Android/i.test(window.navigator.userAgent)) {
+ if (/Mobile/i.test(window.navigator.userAgent)) {
+ return false;
+ }
+ }
+ return true;
+ };
+
+ AbstractChosen.default_multiple_text = "Select Some Options";
+
+ AbstractChosen.default_single_text = "Select an Option";
+
+ AbstractChosen.default_no_result_text = "No results match";
+
+ return AbstractChosen;
+
+ })();
+
+ $ = jQuery;
+
+ $.fn.extend({
+ chosen: function(options) {
+ if (!AbstractChosen.browser_is_supported()) {
+ return this;
+ }
+ return this.each(function(input_field) {
+ var $this, chosen;
+ $this = $(this);
+ chosen = $this.data('chosen');
+ if (options === 'destroy' && chosen) {
+ chosen.destroy();
+ } else if (!chosen) {
+ $this.data('chosen', new Chosen(this, options));
+ }
+ });
+ }
+ });
+
+ Chosen = (function(_super) {
+ __extends(Chosen, _super);
+
+ function Chosen() {
+ _ref = Chosen.__super__.constructor.apply(this, arguments);
+ return _ref;
+ }
+
+ Chosen.prototype.setup = function() {
+ this.form_field_jq = $(this.form_field);
+ this.current_selectedIndex = this.form_field.selectedIndex;
+ return this.is_rtl = this.form_field_jq.hasClass("chosen-rtl");
+ };
+
+ Chosen.prototype.set_up_html = function() {
+ var container_classes, container_props;
+ container_classes = ["chosen-container"];
+ container_classes.push("chosen-container-" + (this.is_multiple ? "multi" : "single"));
+ if (this.inherit_select_classes && this.form_field.className) {
+ container_classes.push(this.form_field.className);
+ }
+ if (this.is_rtl) {
+ container_classes.push("chosen-rtl");
+ }
+ container_props = {
+ 'class': container_classes.join(' '),
+ 'style': "width: " + (this.container_width()) + ";",
+ 'title': this.form_field.title
+ };
+ if (this.form_field.id.length) {
+ container_props.id = this.form_field.id.replace(/[^\w]/g, '_') + "_chosen";
+ }
+ this.container = $("
", container_props);
+ if (this.is_multiple) {
+ this.container.html('');
+ } else {
+ this.container.html('' + this.default_text + '
');
+ }
+ this.form_field_jq.hide().after(this.container);
+ this.dropdown = this.container.find('div.chosen-drop').first();
+ this.search_field = this.container.find('input').first();
+ this.search_results = this.container.find('ul.chosen-results').first();
+ this.search_field_scale();
+ this.search_no_results = this.container.find('li.no-results').first();
+ if (this.is_multiple) {
+ this.search_choices = this.container.find('ul.chosen-choices').first();
+ this.search_container = this.container.find('li.search-field').first();
+ } else {
+ this.search_container = this.container.find('div.chosen-search').first();
+ this.selected_item = this.container.find('.chosen-single').first();
+ }
+ this.results_build();
+ this.set_tab_index();
+ this.set_label_behavior();
+ return this.form_field_jq.trigger("chosen:ready", {
+ chosen: this
+ });
+ };
+
+ Chosen.prototype.register_observers = function() {
+ var _this = this;
+ this.container.bind('mousedown.chosen', function(evt) {
+ _this.container_mousedown(evt);
+ });
+ this.container.bind('mouseup.chosen', function(evt) {
+ _this.container_mouseup(evt);
+ });
+ this.container.bind('mouseenter.chosen', function(evt) {
+ _this.mouse_enter(evt);
+ });
+ this.container.bind('mouseleave.chosen', function(evt) {
+ _this.mouse_leave(evt);
+ });
+ this.search_results.bind('mouseup.chosen', function(evt) {
+ _this.search_results_mouseup(evt);
+ });
+ this.search_results.bind('mouseover.chosen', function(evt) {
+ _this.search_results_mouseover(evt);
+ });
+ this.search_results.bind('mouseout.chosen', function(evt) {
+ _this.search_results_mouseout(evt);
+ });
+ this.search_results.bind('mousewheel.chosen DOMMouseScroll.chosen', function(evt) {
+ _this.search_results_mousewheel(evt);
+ });
+ this.search_results.bind('touchstart.chosen', function(evt) {
+ _this.search_results_touchstart(evt);
+ });
+ this.search_results.bind('touchmove.chosen', function(evt) {
+ _this.search_results_touchmove(evt);
+ });
+ this.search_results.bind('touchend.chosen', function(evt) {
+ _this.search_results_touchend(evt);
+ });
+ this.form_field_jq.bind("chosen:updated.chosen", function(evt) {
+ _this.results_update_field(evt);
+ });
+ this.form_field_jq.bind("chosen:activate.chosen", function(evt) {
+ _this.activate_field(evt);
+ });
+ this.form_field_jq.bind("chosen:open.chosen", function(evt) {
+ _this.container_mousedown(evt);
+ });
+ this.form_field_jq.bind("chosen:close.chosen", function(evt) {
+ _this.input_blur(evt);
+ });
+ this.search_field.bind('blur.chosen', function(evt) {
+ _this.input_blur(evt);
+ });
+ this.search_field.bind('keyup.chosen', function(evt) {
+ _this.keyup_checker(evt);
+ });
+ this.search_field.bind('keydown.chosen', function(evt) {
+ _this.keydown_checker(evt);
+ });
+ this.search_field.bind('focus.chosen', function(evt) {
+ _this.input_focus(evt);
+ });
+ this.search_field.bind('cut.chosen', function(evt) {
+ _this.clipboard_event_checker(evt);
+ });
+ this.search_field.bind('paste.chosen', function(evt) {
+ _this.clipboard_event_checker(evt);
+ });
+ if (this.is_multiple) {
+ return this.search_choices.bind('click.chosen', function(evt) {
+ _this.choices_click(evt);
+ });
+ } else {
+ return this.container.bind('click.chosen', function(evt) {
+ evt.preventDefault();
+ });
+ }
+ };
+
+ Chosen.prototype.destroy = function() {
+ $(this.container[0].ownerDocument).unbind("click.chosen", this.click_test_action);
+ if (this.search_field[0].tabIndex) {
+ this.form_field_jq[0].tabIndex = this.search_field[0].tabIndex;
+ }
+ this.container.remove();
+ this.form_field_jq.removeData('chosen');
+ return this.form_field_jq.show();
+ };
+
+ Chosen.prototype.search_field_disabled = function() {
+ this.is_disabled = this.form_field_jq[0].disabled;
+ if (this.is_disabled) {
+ this.container.addClass('chosen-disabled');
+ this.search_field[0].disabled = true;
+ if (!this.is_multiple) {
+ this.selected_item.unbind("focus.chosen", this.activate_action);
+ }
+ return this.close_field();
+ } else {
+ this.container.removeClass('chosen-disabled');
+ this.search_field[0].disabled = false;
+ if (!this.is_multiple) {
+ return this.selected_item.bind("focus.chosen", this.activate_action);
+ }
+ }
+ };
+
+ Chosen.prototype.container_mousedown = function(evt) {
+ if (!this.is_disabled) {
+ if (evt && evt.type === "mousedown" && !this.results_showing) {
+ evt.preventDefault();
+ }
+ if (!((evt != null) && ($(evt.target)).hasClass("search-choice-close"))) {
+ if (!this.active_field) {
+ if (this.is_multiple) {
+ this.search_field.val("");
+ }
+ $(this.container[0].ownerDocument).bind('click.chosen', this.click_test_action);
+ this.results_show();
+ } else if (!this.is_multiple && evt && (($(evt.target)[0] === this.selected_item[0]) || $(evt.target).parents("a.chosen-single").length)) {
+ evt.preventDefault();
+ this.results_toggle();
+ }
+ return this.activate_field();
+ }
+ }
+ };
+
+ Chosen.prototype.container_mouseup = function(evt) {
+ if (evt.target.nodeName === "ABBR" && !this.is_disabled) {
+ return this.results_reset(evt);
+ }
+ };
+
+ Chosen.prototype.search_results_mousewheel = function(evt) {
+ var delta;
+ if (evt.originalEvent) {
+ delta = -evt.originalEvent.wheelDelta || evt.originalEvent.detail;
+ }
+ if (delta != null) {
+ evt.preventDefault();
+ if (evt.type === 'DOMMouseScroll') {
+ delta = delta * 40;
+ }
+ return this.search_results.scrollTop(delta + this.search_results.scrollTop());
+ }
+ };
+
+ Chosen.prototype.blur_test = function(evt) {
+ if (!this.active_field && this.container.hasClass("chosen-container-active")) {
+ return this.close_field();
+ }
+ };
+
+ Chosen.prototype.close_field = function() {
+ $(this.container[0].ownerDocument).unbind("click.chosen", this.click_test_action);
+ this.active_field = false;
+ this.results_hide();
+ this.container.removeClass("chosen-container-active");
+ this.clear_backstroke();
+ this.show_search_field_default();
+ return this.search_field_scale();
+ };
+
+ Chosen.prototype.activate_field = function() {
+ this.container.addClass("chosen-container-active");
+ this.active_field = true;
+ this.search_field.val(this.search_field.val());
+ return this.search_field.focus();
+ };
+
+ Chosen.prototype.test_active_click = function(evt) {
+ var active_container;
+ active_container = $(evt.target).closest('.chosen-container');
+ if (active_container.length && this.container[0] === active_container[0]) {
+ return this.active_field = true;
+ } else {
+ return this.close_field();
+ }
+ };
+
+ Chosen.prototype.results_build = function() {
+ this.parsing = true;
+ this.selected_option_count = null;
+ this.results_data = SelectParser.select_to_array(this.form_field);
+ if (this.is_multiple) {
+ this.search_choices.find("li.search-choice").remove();
+ } else if (!this.is_multiple) {
+ this.single_set_selected_text();
+ if (this.disable_search || this.form_field.options.length <= this.disable_search_threshold) {
+ this.search_field[0].readOnly = true;
+ this.container.addClass("chosen-container-single-nosearch");
+ } else {
+ this.search_field[0].readOnly = false;
+ this.container.removeClass("chosen-container-single-nosearch");
+ }
+ }
+ this.update_results_content(this.results_option_build({
+ first: true
+ }));
+ this.search_field_disabled();
+ this.show_search_field_default();
+ this.search_field_scale();
+ return this.parsing = false;
+ };
+
+ Chosen.prototype.result_do_highlight = function(el) {
+ var high_bottom, high_top, maxHeight, visible_bottom, visible_top;
+ if (el.length) {
+ this.result_clear_highlight();
+ this.result_highlight = el;
+ this.result_highlight.addClass("highlighted");
+ maxHeight = parseInt(this.search_results.css("maxHeight"), 10);
+ visible_top = this.search_results.scrollTop();
+ visible_bottom = maxHeight + visible_top;
+ high_top = this.result_highlight.position().top + this.search_results.scrollTop();
+ high_bottom = high_top + this.result_highlight.outerHeight();
+ if (high_bottom >= visible_bottom) {
+ return this.search_results.scrollTop((high_bottom - maxHeight) > 0 ? high_bottom - maxHeight : 0);
+ } else if (high_top < visible_top) {
+ return this.search_results.scrollTop(high_top);
+ }
+ }
+ };
+
+ Chosen.prototype.result_clear_highlight = function() {
+ if (this.result_highlight) {
+ this.result_highlight.removeClass("highlighted");
+ }
+ return this.result_highlight = null;
+ };
+
+ Chosen.prototype.results_show = function() {
+ if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
+ this.form_field_jq.trigger("chosen:maxselected", {
+ chosen: this
+ });
+ return false;
+ }
+ this.container.addClass("chosen-with-drop");
+ this.results_showing = true;
+ this.search_field.focus();
+ this.search_field.val(this.search_field.val());
+ this.winnow_results();
+ return this.form_field_jq.trigger("chosen:showing_dropdown", {
+ chosen: this
+ });
+ };
+
+ Chosen.prototype.update_results_content = function(content) {
+ return this.search_results.html(content);
+ };
+
+ Chosen.prototype.results_hide = function() {
+ if (this.results_showing) {
+ this.result_clear_highlight();
+ this.container.removeClass("chosen-with-drop");
+ this.form_field_jq.trigger("chosen:hiding_dropdown", {
+ chosen: this
+ });
+ }
+ return this.results_showing = false;
+ };
+
+ Chosen.prototype.set_tab_index = function(el) {
+ var ti;
+ if (this.form_field.tabIndex) {
+ ti = this.form_field.tabIndex;
+ this.form_field.tabIndex = -1;
+ return this.search_field[0].tabIndex = ti;
+ }
+ };
+
+ Chosen.prototype.set_label_behavior = function() {
+ var _this = this;
+ this.form_field_label = this.form_field_jq.parents("label");
+ if (!this.form_field_label.length && this.form_field.id.length) {
+ this.form_field_label = $("label[for='" + this.form_field.id + "']");
+ }
+ if (this.form_field_label.length > 0) {
+ return this.form_field_label.bind('click.chosen', function(evt) {
+ if (_this.is_multiple) {
+ return _this.container_mousedown(evt);
+ } else {
+ return _this.activate_field();
+ }
+ });
+ }
+ };
+
+ Chosen.prototype.show_search_field_default = function() {
+ if (this.is_multiple && this.choices_count() < 1 && !this.active_field) {
+ this.search_field.val(this.default_text);
+ return this.search_field.addClass("default");
+ } else {
+ this.search_field.val("");
+ return this.search_field.removeClass("default");
+ }
+ };
+
+ Chosen.prototype.search_results_mouseup = function(evt) {
+ var target;
+ target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first();
+ if (target.length) {
+ this.result_highlight = target;
+ this.result_select(evt);
+ return this.search_field.focus();
+ }
+ };
+
+ Chosen.prototype.search_results_mouseover = function(evt) {
+ var target;
+ target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first();
+ if (target) {
+ return this.result_do_highlight(target);
+ }
+ };
+
+ Chosen.prototype.search_results_mouseout = function(evt) {
+ if ($(evt.target).hasClass("active-result" || $(evt.target).parents('.active-result').first())) {
+ return this.result_clear_highlight();
+ }
+ };
+
+ Chosen.prototype.choice_build = function(item) {
+ var choice, close_link,
+ _this = this;
+ choice = $(' ', {
+ "class": "search-choice"
+ }).html("" + item.html + " ");
+ if (item.disabled) {
+ choice.addClass('search-choice-disabled');
+ } else {
+ close_link = $(' ', {
+ "class": 'search-choice-close',
+ 'data-option-array-index': item.array_index
+ });
+ close_link.bind('click.chosen', function(evt) {
+ return _this.choice_destroy_link_click(evt);
+ });
+ choice.append(close_link);
+ }
+ return this.search_container.before(choice);
+ };
+
+ Chosen.prototype.choice_destroy_link_click = function(evt) {
+ evt.preventDefault();
+ evt.stopPropagation();
+ if (!this.is_disabled) {
+ return this.choice_destroy($(evt.target));
+ }
+ };
+
+ Chosen.prototype.choice_destroy = function(link) {
+ if (this.result_deselect(link[0].getAttribute("data-option-array-index"))) {
+ this.show_search_field_default();
+ if (this.is_multiple && this.choices_count() > 0 && this.search_field.val().length < 1) {
+ this.results_hide();
+ }
+ link.parents('li').first().remove();
+ return this.search_field_scale();
+ }
+ };
+
+ Chosen.prototype.results_reset = function() {
+ this.reset_single_select_options();
+ this.form_field.options[0].selected = true;
+ this.single_set_selected_text();
+ this.show_search_field_default();
+ this.results_reset_cleanup();
+ this.form_field_jq.trigger("change");
+ if (this.active_field) {
+ return this.results_hide();
+ }
+ };
+
+ Chosen.prototype.results_reset_cleanup = function() {
+ this.current_selectedIndex = this.form_field.selectedIndex;
+ return this.selected_item.find("abbr").remove();
+ };
+
+ Chosen.prototype.result_select = function(evt) {
+ var high, item;
+ if (this.result_highlight) {
+ high = this.result_highlight;
+ this.result_clear_highlight();
+ if (this.is_multiple && this.max_selected_options <= this.choices_count()) {
+ this.form_field_jq.trigger("chosen:maxselected", {
+ chosen: this
+ });
+ return false;
+ }
+ if (this.is_multiple) {
+ high.removeClass("active-result");
+ } else {
+ this.reset_single_select_options();
+ }
+ item = this.results_data[high[0].getAttribute("data-option-array-index")];
+ item.selected = true;
+ this.form_field.options[item.options_index].selected = true;
+ this.selected_option_count = null;
+ if (this.is_multiple) {
+ this.choice_build(item);
+ } else {
+ this.single_set_selected_text(item.text);
+ }
+ if (!((evt.metaKey || evt.ctrlKey) && this.is_multiple)) {
+ this.results_hide();
+ }
+ this.search_field.val("");
+ if (this.is_multiple || this.form_field.selectedIndex !== this.current_selectedIndex) {
+ this.form_field_jq.trigger("change", {
+ 'selected': this.form_field.options[item.options_index].value
+ });
+ }
+ this.current_selectedIndex = this.form_field.selectedIndex;
+ return this.search_field_scale();
+ }
+ };
+
+ Chosen.prototype.single_set_selected_text = function(text) {
+ if (text == null) {
+ text = this.default_text;
+ }
+ if (text === this.default_text) {
+ this.selected_item.addClass("chosen-default");
+ } else {
+ this.single_deselect_control_build();
+ this.selected_item.removeClass("chosen-default");
+ }
+ return this.selected_item.find("span").text(text);
+ };
+
+ Chosen.prototype.result_deselect = function(pos) {
+ var result_data;
+ result_data = this.results_data[pos];
+ if (!this.form_field.options[result_data.options_index].disabled) {
+ result_data.selected = false;
+ this.form_field.options[result_data.options_index].selected = false;
+ this.selected_option_count = null;
+ this.result_clear_highlight();
+ if (this.results_showing) {
+ this.winnow_results();
+ }
+ this.form_field_jq.trigger("change", {
+ deselected: this.form_field.options[result_data.options_index].value
+ });
+ this.search_field_scale();
+ return true;
+ } else {
+ return false;
+ }
+ };
+
+ Chosen.prototype.single_deselect_control_build = function() {
+ if (!this.allow_single_deselect) {
+ return;
+ }
+ if (!this.selected_item.find("abbr").length) {
+ this.selected_item.find("span").first().after(" ");
+ }
+ return this.selected_item.addClass("chosen-single-with-deselect");
+ };
+
+ Chosen.prototype.get_search_text = function() {
+ if (this.search_field.val() === this.default_text) {
+ return "";
+ } else {
+ return $('
').text($.trim(this.search_field.val())).html();
+ }
+ };
+
+ Chosen.prototype.winnow_results_set_highlight = function() {
+ var do_high, selected_results;
+ selected_results = !this.is_multiple ? this.search_results.find(".result-selected.active-result") : [];
+ do_high = selected_results.length ? selected_results.first() : this.search_results.find(".active-result").first();
+ if (do_high != null) {
+ return this.result_do_highlight(do_high);
+ }
+ };
+
+ Chosen.prototype.no_results = function(terms) {
+ var no_results_html;
+ no_results_html = $('' + this.results_none_found + ' " " ');
+ no_results_html.find("span").first().html(terms);
+ this.search_results.append(no_results_html);
+ return this.form_field_jq.trigger("chosen:no_results", {
+ chosen: this
+ });
+ };
+
+ Chosen.prototype.no_results_clear = function() {
+ return this.search_results.find(".no-results").remove();
+ };
+
+ Chosen.prototype.keydown_arrow = function() {
+ var next_sib;
+ if (this.results_showing && this.result_highlight) {
+ next_sib = this.result_highlight.nextAll("li.active-result").first();
+ if (next_sib) {
+ return this.result_do_highlight(next_sib);
+ }
+ } else {
+ return this.results_show();
+ }
+ };
+
+ Chosen.prototype.keyup_arrow = function() {
+ var prev_sibs;
+ if (!this.results_showing && !this.is_multiple) {
+ return this.results_show();
+ } else if (this.result_highlight) {
+ prev_sibs = this.result_highlight.prevAll("li.active-result");
+ if (prev_sibs.length) {
+ return this.result_do_highlight(prev_sibs.first());
+ } else {
+ if (this.choices_count() > 0) {
+ this.results_hide();
+ }
+ return this.result_clear_highlight();
+ }
+ }
+ };
+
+ Chosen.prototype.keydown_backstroke = function() {
+ var next_available_destroy;
+ if (this.pending_backstroke) {
+ this.choice_destroy(this.pending_backstroke.find("a").first());
+ return this.clear_backstroke();
+ } else {
+ next_available_destroy = this.search_container.siblings("li.search-choice").last();
+ if (next_available_destroy.length && !next_available_destroy.hasClass("search-choice-disabled")) {
+ this.pending_backstroke = next_available_destroy;
+ if (this.single_backstroke_delete) {
+ return this.keydown_backstroke();
+ } else {
+ return this.pending_backstroke.addClass("search-choice-focus");
+ }
+ }
+ }
+ };
+
+ Chosen.prototype.clear_backstroke = function() {
+ if (this.pending_backstroke) {
+ this.pending_backstroke.removeClass("search-choice-focus");
+ }
+ return this.pending_backstroke = null;
+ };
+
+ Chosen.prototype.keydown_checker = function(evt) {
+ var stroke, _ref1;
+ stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode;
+ this.search_field_scale();
+ if (stroke !== 8 && this.pending_backstroke) {
+ this.clear_backstroke();
+ }
+ switch (stroke) {
+ case 8:
+ this.backstroke_length = this.search_field.val().length;
+ break;
+ case 9:
+ if (this.results_showing && !this.is_multiple) {
+ this.result_select(evt);
+ }
+ this.mouse_on_container = false;
+ break;
+ case 13:
+ evt.preventDefault();
+ break;
+ case 38:
+ evt.preventDefault();
+ this.keyup_arrow();
+ break;
+ case 40:
+ evt.preventDefault();
+ this.keydown_arrow();
+ break;
+ }
+ };
+
+ Chosen.prototype.search_field_scale = function() {
+ var div, f_width, h, style, style_block, styles, w, _i, _len;
+ if (this.is_multiple) {
+ h = 0;
+ w = 0;
+ style_block = "position:absolute; left: -1000px; top: -1000px; display:none;";
+ styles = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'text-transform', 'letter-spacing'];
+ for (_i = 0, _len = styles.length; _i < _len; _i++) {
+ style = styles[_i];
+ style_block += style + ":" + this.search_field.css(style) + ";";
+ }
+ div = $('
', {
+ 'style': style_block
+ });
+ div.text(this.search_field.val());
+ $('body').append(div);
+ w = div.width() + 25;
+ div.remove();
+ f_width = this.container.outerWidth();
+ if (w > f_width - 10) {
+ w = f_width - 10;
+ }
+ return this.search_field.css({
+ 'width': w + 'px'
+ });
+ }
+ };
+
+ return Chosen;
+
+ })(AbstractChosen);
+
+}).call(this);
diff --git a/admin/assets/js/chosen/chosen.jquery.min.js b/admin/assets/js/chosen/chosen.jquery.min.js
new file mode 100644
index 0000000..cece231
--- /dev/null
+++ b/admin/assets/js/chosen/chosen.jquery.min.js
@@ -0,0 +1,2 @@
+/* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
+!function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),children:0,disabled:a.disabled}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"<",">":">",'"':""","'":"'","`":"`"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.text));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match?this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,this.outerHTML(c)):"":""},AbstractChosen.prototype.result_add_group=function(a){var b;return a.search_match||a.group_match?a.active_options>0?(b=document.createElement("li"),b.className="group-result",b.innerHTML=a.search_text,this.outerHTML(b)):"":""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;for(this.no_results_clear(),e=0,g=this.get_search_text(),a=g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),d=this.search_contains?"":"^",c=new RegExp(d+a,"i"),j=new RegExp(a,"i"),m=this.results_data,k=0,l=m.length;l>k;k++)b=m[k],b.search_match=!1,f=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(f=this.results_data[b.group_array_index],0===f.active_options&&f.search_match&&(e+=1),f.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.html,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(e+=1),b.search_match?(g.length&&(h=b.search_text.search(j),i=b.search_text.substr(0,h+g.length)+" "+b.search_text.substr(h+g.length),b.search_text=i.substr(0,h)+""+i.substr(h)),null!=f&&(f.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>e&&g.length?(this.update_results_content(""),this.no_results(g)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},AbstractChosen.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},AbstractChosen.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},AbstractChosen.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d?d.destroy():d||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("
",c),this.is_multiple?this.container.html(''):this.container.html(''+this.default_text+'
'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a(" ",{"class":"search-choice"}).html(""+b.html+" "),b.disabled?c.addClass("search-choice-disabled"):(d=a(" ",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(c.text),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(' '),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("
").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a(''+this.results_none_found+' " " '),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("
",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}.call(this);
\ No newline at end of file
diff --git a/admin/assets/js/chosen/chosen.min.css b/admin/assets/js/chosen/chosen.min.css
new file mode 100644
index 0000000..9a2baab
--- /dev/null
+++ b/admin/assets/js/chosen/chosen.min.css
@@ -0,0 +1,3 @@
+/* Chosen v1.1.0 | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */
+
+.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:23px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:#fff url(chosen-sprite.png) no-repeat 100% -20px;background:url(chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:5px;height:15px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#666;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-field .default{color:#999}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
\ No newline at end of file
diff --git a/admin/assets/js/data-meta-boxes.js b/admin/assets/js/data-meta-boxes.js
new file mode 100644
index 0000000..6eddb3a
--- /dev/null
+++ b/admin/assets/js/data-meta-boxes.js
@@ -0,0 +1,39 @@
+jQuery( function ( $ ) {
+
+ // TABS
+ $('ul.a3-metabox-data-tabs').show();
+ $('div.a3-metabox-panel-wrap').each(function(){
+ $(this).find('div.a3-metabox-panel:not(:first)').hide();
+ });
+ $('ul.a3-metabox-data-tabs a').click(function(){
+ var panel_wrap = $(this).closest('div.a3-metabox-panel-wrap');
+ $('ul.a3-metabox-data-tabs li', panel_wrap).removeClass('active');
+ $(this).parent().addClass('active');
+ $('div.a3-metabox-panel', panel_wrap).hide();
+ $( $(this).attr('href') ).show();
+ return false;
+ });
+ $('ul.a3-metabox-data-tabs li:visible').eq(0).find('a').click();
+
+ // META BOXES - Open/close
+ $('.a3-metabox-wrapper').on('click', '.a3-metabox-item h3', function(event){
+ // If the user clicks on some form input inside the h3, like a select list (for variations), the box should not be toggled
+ if ($(event.target).filter(':input, option').length) return;
+ $( this ).parent( '.a3-metabox-item' ).toggleClass( 'closed' ).toggleClass( 'open' );
+ $(this).next('.a3-metabox-item-content').slideToggle();
+ })
+ .on('click', '.expand_all', function(event){
+ $(this).closest('.a3-metabox-wrapper').find('.a3-metabox-item').removeClass( 'closed' ).addClass( 'open' );
+ $(this).closest('.a3-metabox-wrapper').find('.a3-metabox-item-content').slideDown();
+ return false;
+ })
+ .on('click', '.close_all', function(event){
+ $(this).closest('.a3-metabox-wrapper').find('.a3-metabox-item').removeClass( 'open' ).addClass( 'closed' );
+ $(this).closest('.a3-metabox-wrapper').find('.a3-metabox-item-content').slideUp();
+ return false;
+ });
+ $('.a3-metabox-item.closed').each(function(){
+ $(this).find('.a3-metabox-item-content').slideUp();
+ });
+
+});
diff --git a/admin/assets/js/iphone-style-checkboxes.js b/admin/assets/js/iphone-style-checkboxes.js
new file mode 100644
index 0000000..2cb3ec0
--- /dev/null
+++ b/admin/assets/js/iphone-style-checkboxes.js
@@ -0,0 +1,381 @@
+// Generated by CoffeeScript 1.6.2
+(function($) {
+(function() {
+ var iOSCheckbox, matched, userAgent,
+ __slice = [].slice;
+
+ if ($.browser == null) {
+ userAgent = navigator.userAgent || "";
+ jQuery.uaMatch = function(ua) {
+ var match;
+
+ ua = ua.toLowerCase();
+ match = /(chrome)[ \/]([\w.]+)/.exec(ua) || /(webkit)[ \/]([\w.]+)/.exec(ua) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || /(msie) ([\w.]+)/.exec(ua) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(ua) || [];
+ return {
+ browser: match[1] || "",
+ version: match[2] || "0"
+ };
+ };
+ matched = jQuery.uaMatch(userAgent);
+ jQuery.browser = {};
+ if (matched.browser) {
+ jQuery.browser[matched.browser] = true;
+ jQuery.browser.version = matched.version;
+ }
+ if (jQuery.browser.webkit) {
+ jQuery.browser.safari = true;
+ }
+ }
+
+ iOSCheckbox = (function() {
+ function iOSCheckbox(elem, options) {
+ var key, opts, value;
+
+ this.elem = $(elem);
+ opts = $.extend({}, iOSCheckbox.defaults, options);
+ for (key in opts) {
+ value = opts[key];
+ this[key] = value;
+ }
+ this.elem.data(this.dataName, this);
+ this.wrapCheckboxWithDivs();
+ this.attachEvents();
+ this.disableTextSelection();
+ this.calculateDimensions();
+ }
+
+ iOSCheckbox.prototype.calculateDimensions = function() {
+ if (this.resizeHandle) {
+ this.optionallyResize('handle');
+ }
+ if (this.resizeContainer) {
+ this.optionallyResize('container');
+ }
+ return this.initialPosition();
+ };
+
+ iOSCheckbox.prototype.isDisabled = function() {
+ if ( this.elem.is(':disabled') )
+ return true;
+ else if ( this.elem.attr('checkbox-disabled') == 'true' )
+ return true;
+ else
+ return false;
+ };
+
+ iOSCheckbox.prototype.wrapCheckboxWithDivs = function() {
+ this.elem.wrap("
");
+ this.container = this.elem.parent();
+ this.offLabel = $("\n " + this.uncheckedLabel + " \n ").appendTo(this.container);
+ this.offSpan = this.offLabel.children('span');
+ this.onLabel = $("\n " + this.checkedLabel + " \n ").appendTo(this.container);
+ this.onSpan = this.onLabel.children('span');
+ return this.handle = $("").appendTo(this.container).before(" ");
+ };
+
+ iOSCheckbox.prototype.disableTextSelection = function() {
+ if ($.browser.msie) {
+ return $([this.handle, this.offLabel, this.onLabel, this.container]).attr("unselectable", "on");
+ }
+ };
+
+ iOSCheckbox.prototype._getDimension = function(elem, dimension) {
+ if ($.fn.actual != null) {
+ return elem.actual(dimension);
+ } else {
+ return elem[dimension]();
+ }
+ };
+
+ iOSCheckbox.prototype.optionallyResize = function(mode) {
+ var newWidth, offLabelWidth, offSpan, onLabelWidth, onSpan;
+
+ onSpan = this.onLabel.find('span');
+ onLabelWidth = this._getDimension(onSpan, "width");
+ onLabelWidth += parseInt(onSpan.css('padding-left'), 10);
+ offSpan = this.offLabel.find('span');
+ offLabelWidth = this._getDimension(offSpan, "width");
+ offLabelWidth += parseInt(offSpan.css('padding-right'), 10);
+ if (mode === "container") {
+ newWidth = onLabelWidth > offLabelWidth ? onLabelWidth : offLabelWidth;
+ newWidth += this._getDimension(this.handle, "width") + this.handleMargin;
+ return this.container.css({
+ width: newWidth
+ });
+ } else {
+ newWidth = onLabelWidth > offLabelWidth ? onLabelWidth : offLabelWidth;
+ return this.handle.css({
+ width: newWidth
+ });
+ }
+ };
+
+ iOSCheckbox.prototype.onMouseDown = function(event) {
+ var x;
+
+ event.preventDefault();
+ if (this.isDisabled()) {
+ return;
+ }
+ x = event.pageX || event.originalEvent.changedTouches[0].pageX;
+ iOSCheckbox.currentlyClicking = this.handle;
+ iOSCheckbox.dragStartPosition = x;
+ return iOSCheckbox.handleLeftOffset = parseInt(this.handle.css('left'), 10) || 0;
+ };
+
+ iOSCheckbox.prototype.onDragMove = function(event, x) {
+ var newWidth, p, leftHandle;
+
+ if (iOSCheckbox.currentlyClicking !== this.handle) {
+ return;
+ }
+ p = (x + iOSCheckbox.handleLeftOffset - iOSCheckbox.dragStartPosition) / this.rightSide;
+ if (p < 0) {
+ p = 0;
+ }
+ if (p > 1) {
+ p = 1;
+ }
+ newWidth = p * this.rightSide;
+ leftHandle = newWidth;
+ if ( leftHandle == 0 ) leftHandle = -1;
+ this.handle.css({
+ left: leftHandle
+ });
+ this.onLabel.css({
+ width: newWidth + this.handleRadius
+ });
+ this.offSpan.css({
+ marginRight: -newWidth
+ });
+ return this.onSpan.css({
+ marginLeft: -(1 - p) * this.rightSide
+ });
+ };
+
+ iOSCheckbox.prototype.onDragEnd = function(event, x) {
+ var p;
+
+ if (iOSCheckbox.currentlyClicking !== this.handle) {
+ return;
+ }
+ if (this.isDisabled()) {
+ return;
+ }
+ if (iOSCheckbox.dragging) {
+ p = (x - iOSCheckbox.dragStartPosition) / this.rightSide;
+ this.elem.prop('checked', p >= 0.5);
+ } else {
+ this.elem.prop('checked', !this.elem.prop('checked'));
+ }
+ iOSCheckbox.currentlyClicking = null;
+ iOSCheckbox.dragging = null;
+ return this.didChange();
+ };
+
+ iOSCheckbox.prototype.refresh = function() {
+ return this.didChange();
+ };
+
+ iOSCheckbox.prototype.didChange = function() {
+ var new_left, leftHandle;
+
+ if (typeof this.onChange === "function") {
+ this.onChange(this.elem, this.elem.prop('checked'));
+ }
+ if (this.isDisabled()) {
+ this.container.addClass(this.disabledClass);
+ return false;
+ } else {
+ this.container.removeClass(this.disabledClass);
+ }
+ new_left = this.elem.prop('checked') ? this.rightSide : 0;
+ leftHandle = new_left;
+ if ( leftHandle == 0 ) leftHandle = -1;
+ this.handle.animate({
+ left: leftHandle
+ }, this.duration);
+ this.onLabel.animate({
+ width: new_left + this.handleRadius
+ }, this.duration);
+ this.offSpan.animate({
+ marginRight: -new_left
+ }, this.duration);
+ this.onSpan.animate({
+ marginLeft: new_left - this.rightSide
+ }, this.duration);
+ if (typeof this.onEnd === "function") {
+ this.onEnd(this.elem, this.elem.prop('checked'));
+ }
+ return true;
+ };
+
+ iOSCheckbox.prototype.attachEvents = function() {
+ var localMouseMove, localMouseUp, self;
+
+ self = this;
+ localMouseMove = function(event) {
+ return self.onGlobalMove.apply(self, arguments);
+ };
+ localMouseUp = function(event) {
+ self.onGlobalUp.apply(self, arguments);
+ $(document).unbind('mousemove touchmove', localMouseMove);
+ return $(document).unbind('mouseup touchend', localMouseUp);
+ };
+ this.elem.change(function() {
+ return self.refresh();
+ });
+ return this.container.bind('mousedown touchstart', function(event) {
+ self.onMouseDown.apply(self, arguments);
+ $(document).bind('mousemove touchmove', localMouseMove);
+ return $(document).bind('mouseup touchend', localMouseUp);
+ });
+ };
+
+ iOSCheckbox.prototype.initialPosition = function() {
+ var containerWidth, offset, leftHandle;
+
+ containerWidth = this._getDimension(this.container, "width");
+ this.offLabel.css({
+ width: containerWidth - this.containerRadius - 16
+ });
+ offset = this.containerRadius + 1;
+ if ($.browser.msie && $.browser.version < 7) {
+ offset -= 3;
+ }
+ this.rightSide = containerWidth - this._getDimension(this.handle, "width") - offset;
+ leftHandle = this.rightSide;
+ if ( leftHandle == 0 ) leftHandle = -1;
+ if (this.elem.is(':checked')) {
+ this.handle.css({
+ left: leftHandle
+ });
+ this.onLabel.css({
+ width: this.rightSide + this.handleRadius
+ });
+ this.offSpan.css({
+ marginRight: -this.rightSide
+ });
+ } else {
+ this.onLabel.css({
+ width: this.handleRadius
+ });
+ this.onSpan.css({
+ marginLeft: -this.rightSide
+ });
+ }
+ if (this.isDisabled()) {
+ return this.container.addClass(this.disabledClass);
+ }
+ };
+
+ iOSCheckbox.prototype.onGlobalMove = function(event) {
+ var x;
+
+ if (!(!this.isDisabled() && iOSCheckbox.currentlyClicking)) {
+ return;
+ }
+ event.preventDefault();
+ x = event.pageX || event.originalEvent.changedTouches[0].pageX;
+ if (!iOSCheckbox.dragging && (Math.abs(iOSCheckbox.dragStartPosition - x) > this.dragThreshold)) {
+ iOSCheckbox.dragging = true;
+ }
+ return this.onDragMove(event, x);
+ };
+
+ iOSCheckbox.prototype.onGlobalUp = function(event) {
+ var x;
+
+ if (!iOSCheckbox.currentlyClicking) {
+ return;
+ }
+ event.preventDefault();
+ x = event.pageX || event.originalEvent.changedTouches[0].pageX;
+ this.onDragEnd(event, x);
+ return false;
+ };
+
+ iOSCheckbox.defaults = {
+ duration: 200,
+ checkedLabel: 'ON',
+ uncheckedLabel: 'OFF',
+ resizeHandle: true,
+ resizeContainer: true,
+ disabledClass: 'iPhoneCheckDisabled',
+ containerClass: 'iPhoneCheckContainer',
+ labelOnClass: 'iPhoneCheckLabelOn',
+ labelOffClass: 'iPhoneCheckLabelOff',
+ handleClass: 'iPhoneCheckHandle',
+ handleCenterClass: 'iPhoneCheckHandleCenter',
+ handleRightClass: 'iPhoneCheckHandleRight',
+ dragThreshold: 5,
+ handleMargin: 15,
+ handleRadius: 4,
+ containerRadius: 5,
+ dataName: "iphoneStyle",
+ onChange: function() {},
+ onEnd: function() {}
+ };
+
+ return iOSCheckbox;
+
+ })();
+
+ $.iphoneStyle = this.iOSCheckbox = iOSCheckbox;
+
+ $.fn.iphoneStyle = function() {
+ var args, checkbox, dataName, existingControl, method, params, _i, _len, _ref, _ref1, _ref2, _ref3, _refradio;
+
+ args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
+ dataName = (_ref = (_ref1 = args[0]) != null ? _ref1.dataName : void 0) != null ? _ref : iOSCheckbox.defaults.dataName;
+ _ref2 = this.filter(':checkbox');
+ for (_i = 0, _len = _ref2.length; _i < _len; _i++) {
+ checkbox = _ref2[_i];
+ existingControl = $(checkbox).data(dataName);
+ if (existingControl != null) {
+ method = args[0], params = 2 <= args.length ? __slice.call(args, 1) : [];
+ if ((_ref3 = existingControl[method]) != null) {
+ _ref3.apply(existingControl, params);
+ }
+ } else {
+ new iOSCheckbox(checkbox, args[0]);
+ }
+ }
+ _refradio = this.filter(':radio');
+ for (_i = 0, _len = _refradio.length; _i < _len; _i++) {
+ checkbox = _refradio[_i];
+ existingControl = $(checkbox).data(dataName);
+ if (existingControl != null) {
+ method = args[0], params = 2 <= args.length ? __slice.call(args, 1) : [];
+ if ((_ref3 = existingControl[method]) != null) {
+ _ref3.apply(existingControl, params);
+ }
+ } else {
+ new iOSCheckbox(checkbox, args[0]);
+ }
+ }
+ return this;
+ };
+
+ $.fn.iOSCheckbox = function(options) {
+ var opts;
+
+ if (options == null) {
+ options = {};
+ }
+ opts = $.extend({}, options, {
+ resizeHandle: false,
+ disabledClass: 'iOSCheckDisabled',
+ containerClass: 'iOSCheckContainer',
+ labelOnClass: 'iOSCheckLabelOn',
+ labelOffClass: 'iOSCheckLabelOff',
+ handleClass: 'iOSCheckHandle',
+ handleCenterClass: 'iOSCheckHandleCenter',
+ handleRightClass: 'iOSCheckHandleRight',
+ dataName: 'iOSCheckbox'
+ });
+ return this.iphoneStyle(opts);
+ };
+
+}).call(this);
+})(jQuery);
\ No newline at end of file
diff --git a/admin/assets/js/iphone-style-checkboxes.rtl.js b/admin/assets/js/iphone-style-checkboxes.rtl.js
new file mode 100644
index 0000000..42d93d4
--- /dev/null
+++ b/admin/assets/js/iphone-style-checkboxes.rtl.js
@@ -0,0 +1,381 @@
+// Generated by CoffeeScript 1.6.2
+(function($) {
+(function() {
+ var iOSCheckbox, matched, userAgent,
+ __slice = [].slice;
+
+ if ($.browser == null) {
+ userAgent = navigator.userAgent || "";
+ jQuery.uaMatch = function(ua) {
+ var match;
+
+ ua = ua.toLowerCase();
+ match = /(chrome)[ \/]([\w.]+)/.exec(ua) || /(webkit)[ \/]([\w.]+)/.exec(ua) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua) || /(msie) ([\w.]+)/.exec(ua) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(ua) || [];
+ return {
+ browser: match[1] || "",
+ version: match[2] || "0"
+ };
+ };
+ matched = jQuery.uaMatch(userAgent);
+ jQuery.browser = {};
+ if (matched.browser) {
+ jQuery.browser[matched.browser] = true;
+ jQuery.browser.version = matched.version;
+ }
+ if (jQuery.browser.webkit) {
+ jQuery.browser.safari = true;
+ }
+ }
+
+ iOSCheckbox = (function() {
+ function iOSCheckbox(elem, options) {
+ var key, opts, value;
+
+ this.elem = $(elem);
+ opts = $.extend({}, iOSCheckbox.defaults, options);
+ for (key in opts) {
+ value = opts[key];
+ this[key] = value;
+ }
+ this.elem.data(this.dataName, this);
+ this.wrapCheckboxWithDivs();
+ this.attachEvents();
+ this.disableTextSelection();
+ this.calculateDimensions();
+ }
+
+ iOSCheckbox.prototype.calculateDimensions = function() {
+ if (this.resizeHandle) {
+ this.optionallyResize('handle');
+ }
+ if (this.resizeContainer) {
+ this.optionallyResize('container');
+ }
+ return this.initialPosition();
+ };
+
+ iOSCheckbox.prototype.isDisabled = function() {
+ if ( this.elem.is(':disabled') )
+ return true;
+ else if ( this.elem.attr('checkbox-disabled') == 'true' )
+ return true;
+ else
+ return false;
+ };
+
+ iOSCheckbox.prototype.wrapCheckboxWithDivs = function() {
+ this.elem.wrap("
");
+ this.container = this.elem.parent();
+ this.offLabel = $("\n " + this.uncheckedLabel + " \n ").appendTo(this.container);
+ this.offSpan = this.offLabel.children('span');
+ this.onLabel = $("\n " + this.checkedLabel + " \n ").appendTo(this.container);
+ this.onSpan = this.onLabel.children('span');
+ return this.handle = $("").appendTo(this.container).before(" ");
+ };
+
+ iOSCheckbox.prototype.disableTextSelection = function() {
+ if ($.browser.msie) {
+ return $([this.handle, this.offLabel, this.onLabel, this.container]).attr("unselectable", "on");
+ }
+ };
+
+ iOSCheckbox.prototype._getDimension = function(elem, dimension) {
+ if ($.fn.actual != null) {
+ return elem.actual(dimension);
+ } else {
+ return elem[dimension]();
+ }
+ };
+
+ iOSCheckbox.prototype.optionallyResize = function(mode) {
+ var newWidth, offLabelWidth, offSpan, onLabelWidth, onSpan;
+
+ onSpan = this.onLabel.find('span');
+ onLabelWidth = this._getDimension(onSpan, "width");
+ onLabelWidth += parseInt(onSpan.css('padding-right'), 10);
+ offSpan = this.offLabel.find('span');
+ offLabelWidth = this._getDimension(offSpan, "width");
+ offLabelWidth += parseInt(offSpan.css('padding-left'), 10);
+ if (mode === "container") {
+ newWidth = onLabelWidth > offLabelWidth ? onLabelWidth : offLabelWidth;
+ newWidth += this._getDimension(this.handle, "width") + this.handleMargin;
+ return this.container.css({
+ width: newWidth
+ });
+ } else {
+ newWidth = onLabelWidth > offLabelWidth ? onLabelWidth : offLabelWidth;
+ return this.handle.css({
+ width: newWidth
+ });
+ }
+ };
+
+ iOSCheckbox.prototype.onMouseDown = function(event) {
+ var x;
+
+ event.preventDefault();
+ if (this.isDisabled()) {
+ return;
+ }
+ x = event.pageX || event.originalEvent.changedTouches[0].pageX;
+ iOSCheckbox.currentlyClicking = this.handle;
+ iOSCheckbox.dragStartPosition = x;
+ return iOSCheckbox.handleLeftOffset = parseInt(this.handle.css('right'), 10) || 0;
+ };
+
+ iOSCheckbox.prototype.onDragMove = function(event, x) {
+ var newWidth, p, leftHandle;
+
+ if (iOSCheckbox.currentlyClicking !== this.handle) {
+ return;
+ }
+ p = (x + iOSCheckbox.handleLeftOffset - iOSCheckbox.dragStartPosition) / this.rightSide;
+ if (p < 0) {
+ p = 0;
+ }
+ if (p > 1) {
+ p = 1;
+ }
+ newWidth = p * this.rightSide;
+ leftHandle = newWidth;
+ if ( leftHandle == 0 ) leftHandle = -1;
+ this.handle.css({
+ right: leftHandle
+ });
+ this.onLabel.css({
+ width: newWidth + this.handleRadius
+ });
+ this.offSpan.css({
+ marginLeft: -newWidth
+ });
+ return this.onSpan.css({
+ marginRight: -(1 - p) * this.rightSide
+ });
+ };
+
+ iOSCheckbox.prototype.onDragEnd = function(event, x) {
+ var p;
+
+ if (iOSCheckbox.currentlyClicking !== this.handle) {
+ return;
+ }
+ if (this.isDisabled()) {
+ return;
+ }
+ if (iOSCheckbox.dragging) {
+ p = (x - iOSCheckbox.dragStartPosition) / this.rightSide;
+ this.elem.prop('checked', p >= 0.5);
+ } else {
+ this.elem.prop('checked', !this.elem.prop('checked'));
+ }
+ iOSCheckbox.currentlyClicking = null;
+ iOSCheckbox.dragging = null;
+ return this.didChange();
+ };
+
+ iOSCheckbox.prototype.refresh = function() {
+ return this.didChange();
+ };
+
+ iOSCheckbox.prototype.didChange = function() {
+ var new_left, leftHandle;
+
+ if (typeof this.onChange === "function") {
+ this.onChange(this.elem, this.elem.prop('checked'));
+ }
+ if (this.isDisabled()) {
+ this.container.addClass(this.disabledClass);
+ return false;
+ } else {
+ this.container.removeClass(this.disabledClass);
+ }
+ new_left = this.elem.prop('checked') ? this.rightSide : 0;
+ leftHandle = new_left;
+ if ( leftHandle == 0 ) leftHandle = -1;
+ this.handle.animate({
+ right: leftHandle
+ }, this.duration);
+ this.onLabel.animate({
+ width: new_left + this.handleRadius
+ }, this.duration);
+ this.offSpan.animate({
+ marginLeft: -new_left
+ }, this.duration);
+ this.onSpan.animate({
+ marginRight: new_left - this.rightSide
+ }, this.duration);
+ if (typeof this.onEnd === "function") {
+ this.onEnd(this.elem, this.elem.prop('checked'));
+ }
+ return true;
+ };
+
+ iOSCheckbox.prototype.attachEvents = function() {
+ var localMouseMove, localMouseUp, self;
+
+ self = this;
+ localMouseMove = function(event) {
+ return self.onGlobalMove.apply(self, arguments);
+ };
+ localMouseUp = function(event) {
+ self.onGlobalUp.apply(self, arguments);
+ $(document).unbind('mousemove touchmove', localMouseMove);
+ return $(document).unbind('mouseup touchend', localMouseUp);
+ };
+ this.elem.change(function() {
+ return self.refresh();
+ });
+ return this.container.bind('mousedown touchstart', function(event) {
+ self.onMouseDown.apply(self, arguments);
+ $(document).bind('mousemove touchmove', localMouseMove);
+ return $(document).bind('mouseup touchend', localMouseUp);
+ });
+ };
+
+ iOSCheckbox.prototype.initialPosition = function() {
+ var containerWidth, offset, leftHandle;
+
+ containerWidth = this._getDimension(this.container, "width");
+ this.offLabel.css({
+ width: containerWidth - this.containerRadius - 16
+ });
+ offset = this.containerRadius + 1;
+ if ($.browser.msie && $.browser.version < 7) {
+ offset -= 3;
+ }
+ this.rightSide = containerWidth - this._getDimension(this.handle, "width") - offset;
+ leftHandle = this.rightSide;
+ if ( leftHandle == 0 ) leftHandle = -1;
+ if (this.elem.is(':checked')) {
+ this.handle.css({
+ right: leftHandle
+ });
+ this.onLabel.css({
+ width: this.rightSide + this.handleRadius
+ });
+ this.offSpan.css({
+ marginLeft: -this.rightSide
+ });
+ } else {
+ this.onLabel.css({
+ width: this.handleRadius
+ });
+ this.onSpan.css({
+ marginRight: -this.rightSide
+ });
+ }
+ if (this.isDisabled()) {
+ return this.container.addClass(this.disabledClass);
+ }
+ };
+
+ iOSCheckbox.prototype.onGlobalMove = function(event) {
+ var x;
+
+ if (!(!this.isDisabled() && iOSCheckbox.currentlyClicking)) {
+ return;
+ }
+ event.preventDefault();
+ x = event.pageX || event.originalEvent.changedTouches[0].pageX;
+ if (!iOSCheckbox.dragging && (Math.abs(iOSCheckbox.dragStartPosition - x) > this.dragThreshold)) {
+ iOSCheckbox.dragging = true;
+ }
+ return this.onDragMove(event, x);
+ };
+
+ iOSCheckbox.prototype.onGlobalUp = function(event) {
+ var x;
+
+ if (!iOSCheckbox.currentlyClicking) {
+ return;
+ }
+ event.preventDefault();
+ x = event.pageX || event.originalEvent.changedTouches[0].pageX;
+ this.onDragEnd(event, x);
+ return false;
+ };
+
+ iOSCheckbox.defaults = {
+ duration: 200,
+ checkedLabel: 'ON',
+ uncheckedLabel: 'OFF',
+ resizeHandle: true,
+ resizeContainer: true,
+ disabledClass: 'iPhoneCheckDisabled',
+ containerClass: 'iPhoneCheckContainer',
+ labelOnClass: 'iPhoneCheckLabelOn',
+ labelOffClass: 'iPhoneCheckLabelOff',
+ handleClass: 'iPhoneCheckHandle',
+ handleCenterClass: 'iPhoneCheckHandleCenter',
+ handleRightClass: 'iPhoneCheckHandleRight',
+ dragThreshold: 5,
+ handleMargin: 15,
+ handleRadius: 4,
+ containerRadius: 5,
+ dataName: "iphoneStyle",
+ onChange: function() {},
+ onEnd: function() {}
+ };
+
+ return iOSCheckbox;
+
+ })();
+
+ $.iphoneStyle = this.iOSCheckbox = iOSCheckbox;
+
+ $.fn.iphoneStyle = function() {
+ var args, checkbox, dataName, existingControl, method, params, _i, _len, _ref, _ref1, _ref2, _ref3, _refradio;
+
+ args = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
+ dataName = (_ref = (_ref1 = args[0]) != null ? _ref1.dataName : void 0) != null ? _ref : iOSCheckbox.defaults.dataName;
+ _ref2 = this.filter(':checkbox');
+ for (_i = 0, _len = _ref2.length; _i < _len; _i++) {
+ checkbox = _ref2[_i];
+ existingControl = $(checkbox).data(dataName);
+ if (existingControl != null) {
+ method = args[0], params = 2 <= args.length ? __slice.call(args, 1) : [];
+ if ((_ref3 = existingControl[method]) != null) {
+ _ref3.apply(existingControl, params);
+ }
+ } else {
+ new iOSCheckbox(checkbox, args[0]);
+ }
+ }
+ _refradio = this.filter(':radio');
+ for (_i = 0, _len = _refradio.length; _i < _len; _i++) {
+ checkbox = _refradio[_i];
+ existingControl = $(checkbox).data(dataName);
+ if (existingControl != null) {
+ method = args[0], params = 2 <= args.length ? __slice.call(args, 1) : [];
+ if ((_ref3 = existingControl[method]) != null) {
+ _ref3.apply(existingControl, params);
+ }
+ } else {
+ new iOSCheckbox(checkbox, args[0]);
+ }
+ }
+ return this;
+ };
+
+ $.fn.iOSCheckbox = function(options) {
+ var opts;
+
+ if (options == null) {
+ options = {};
+ }
+ opts = $.extend({}, options, {
+ resizeHandle: false,
+ disabledClass: 'iOSCheckDisabled',
+ containerClass: 'iOSCheckContainer',
+ labelOnClass: 'iOSCheckLabelOn',
+ labelOffClass: 'iOSCheckLabelOff',
+ handleClass: 'iOSCheckHandle',
+ handleCenterClass: 'iOSCheckHandleCenter',
+ handleRightClass: 'iOSCheckHandleRight',
+ dataName: 'iOSCheckbox'
+ });
+ return this.iphoneStyle(opts);
+ };
+
+}).call(this);
+})(jQuery);
\ No newline at end of file
diff --git a/admin/assets/js/rwdImageMaps/jquery.rwdImageMaps.min.js b/admin/assets/js/rwdImageMaps/jquery.rwdImageMaps.min.js
new file mode 100755
index 0000000..7ea76b1
--- /dev/null
+++ b/admin/assets/js/rwdImageMaps/jquery.rwdImageMaps.min.js
@@ -0,0 +1,11 @@
+/*
+* rwdImageMaps jQuery plugin v1.5
+*
+* Allows image maps to be used in a responsive design by recalculating the area coordinates to match the actual image size on load and window.resize
+*
+* Copyright (c) 2013 Matt Stow
+* https://github.com/stowball/jQuery-rwdImageMaps
+* http://mattstow.com
+* Licensed under the MIT license
+*/
+;(function(a){a.fn.rwdImageMaps=function(){var c=this;var b=function(){c.each(function(){if(typeof(a(this).attr("usemap"))=="undefined"){return}var e=this,d=a(e);a(" ").load(function(){var g="width",m="height",n=d.attr(g),j=d.attr(m);if(!n||!j){var o=new Image();o.src=d.attr("src");if(!n){n=o.width}if(!j){j=o.height}}var f=d.width()/100,k=d.height()/100,i=d.attr("usemap").replace("#",""),l="coords";a('map[name="'+i+'"]').find("area").each(function(){var r=a(this);if(!r.data(l)){r.data(l,r.attr(l))}var q=r.data(l).split(","),p=new Array(q.length);for(var h=0;h ');
+ var tiptip_content = $('