Version Description
- Feature: All temporary files are now stored centrally in the WP uploads folder.
- Feature: Debug settings in status panel (output errors & output to HTML)
- Feature: Compatibility filter for WooCommerce Subscriptions (prevents duplicate invoice numbers)
- Tweak: Pass order to totals filters
- Translations: Updated POT
- Translations: Updated Italian (Thanks Astrid!)
- Translations: Updated Dutch
- FAQ: instructions for placing a link on the thank you page
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 1.5.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.14 to 1.5.0
- css/style-wc21.css +1 -16
- css/style.css +4 -0
- includes/class-wcpdf-export.php +172 -4
- includes/class-wcpdf-settings.php +108 -28
- includes/class-wcpdf-writepanels.php +3 -2
- includes/dompdf-status.php +46 -18
- languages/wpo_wcpdf-it_IT.mo +0 -0
- languages/wpo_wcpdf-it_IT.po +296 -219
- languages/wpo_wcpdf-nl_NL.mo +0 -0
- languages/wpo_wcpdf-nl_NL.po +130 -81
- languages/wpo_wcpdf.pot +120 -80
- lib/dompdf/dompdf_config.custom.inc.php +7 -3
- lib/dompdf/index.php +0 -1
- lib/dompdf/lib/php-font-lib/index.php +0 -1
- lib/dompdf/lib/php-font-lib/www/.htaccess +0 -1
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-icons_004276_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/blitzer/jquery-ui-1.8.14.custom.css +0 -568
- lib/dompdf/lib/php-font-lib/www/css/style.css +0 -121
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- lib/dompdf/lib/php-font-lib/www/css/ui-lightness/jquery-ui-1.8.14.custom.css +0 -568
- lib/dompdf/lib/php-font-lib/www/font_explorer.html +0 -14
- lib/dompdf/lib/php-font-lib/www/font_info.php +0 -157
- lib/dompdf/lib/php-font-lib/www/font_list.php +0 -28
- lib/dompdf/lib/php-font-lib/www/header.html +0 -11
- lib/dompdf/lib/php-font-lib/www/index.php +0 -9
- lib/dompdf/lib/php-font-lib/www/js/glyph.js +0 -175
- lib/dompdf/lib/php-font-lib/www/js/jquery-1.5.1.min.js +0 -16
- lib/dompdf/lib/php-font-lib/www/js/jquery-ui-1.8.14.custom.min.js +0 -789
- lib/dompdf/lib/php-font-lib/www/make_subset.php +0 -70
- lib/dompdf/lib/php-font-lib/www/readme.html +0 -27
- lib/dompdf/lib/php-font-lib/www/test.php +0 -75
- lib/dompdf/www/controller.php +0 -75
- lib/dompdf/www/debugger.php +0 -168
- lib/dompdf/www/demo.php +0 -84
- lib/dompdf/www/examples.php +0 -134
- lib/dompdf/www/fonts.php +0 -200
- lib/dompdf/www/foot.inc +0 -10
- lib/dompdf/www/functions.inc.php +0 -53
- lib/dompdf/www/head.inc +0 -54
- lib/dompdf/www/images/arrow_01.gif +0 -0
- lib/dompdf/www/images/arrow_02.gif +0 -0
- lib/dompdf/www/images/arrow_03.gif +0 -0
- lib/dompdf/www/images/arrow_04.gif +0 -0
- lib/dompdf/www/images/arrow_05.gif +0 -0
- lib/dompdf/www/images/arrow_06.gif +0 -0
- lib/dompdf/www/images/css2.png +0 -0
- lib/dompdf/www/images/dompdf_simple.png +0 -0
- lib/dompdf/www/images/favicon.ico +0 -0
- lib/dompdf/www/images/favicon.png +0 -0
- lib/dompdf/www/images/h_bar.gif +0 -0
- lib/dompdf/www/images/left_arrow.gif +0 -0
- lib/dompdf/www/images/logo.png +0 -0
- lib/dompdf/www/images/logo.xcf +0 -0
- lib/dompdf/www/images/php5-power-micro.png +0 -0
- lib/dompdf/www/images/small_logo.png +0 -0
- lib/dompdf/www/images/star_01.gif +0 -0
- lib/dompdf/www/images/star_02.gif +0 -0
- lib/dompdf/www/images/star_03.gif +0 -0
- lib/dompdf/www/images/star_04.gif +0 -0
- lib/dompdf/www/images/star_05.gif +0 -0
- lib/dompdf/www/images/title.gif +0 -0
- lib/dompdf/www/images/v_bar.gif +0 -0
- lib/dompdf/www/images/xhtml10.png +0 -0
- lib/dompdf/www/index.php +0 -20
- lib/dompdf/www/jquery-1.4.2.js +0 -154
- lib/dompdf/www/setup.php +0 -300
- lib/dompdf/www/style.css +0 -255
- readme.txt +35 -9
- tmp/index.php +0 -0
- woocommerce-pdf-invoices-packingslips.php +84 -4
css/style-wc21.css
CHANGED
@@ -52,19 +52,4 @@
|
|
52 |
|
53 |
.widefat .column-pdf_invoice_number {
|
54 |
width: 110px;
|
55 |
-
}
|
56 |
-
|
57 |
-
/* Settings page styles */
|
58 |
-
#img-header_logo {
|
59 |
-
max-height: 200px;
|
60 |
-
width: auto;
|
61 |
-
}
|
62 |
-
|
63 |
-
span.wpo-warning {
|
64 |
-
display: inline-block;
|
65 |
-
border: 1px solid red;
|
66 |
-
border-left: 4px solid red;
|
67 |
-
padding: 5px 15px;
|
68 |
-
background-color: white;
|
69 |
-
}
|
70 |
-
|
52 |
|
53 |
.widefat .column-pdf_invoice_number {
|
54 |
width: 110px;
|
55 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/style.css
CHANGED
@@ -52,6 +52,10 @@
|
|
52 |
}
|
53 |
|
54 |
/* Settings page styles */
|
|
|
|
|
|
|
|
|
55 |
#img-header_logo {
|
56 |
max-height: 200px;
|
57 |
width: auto;
|
52 |
}
|
53 |
|
54 |
/* Settings page styles */
|
55 |
+
.nav-tab-debug {
|
56 |
+
margin-left: 4px;
|
57 |
+
}
|
58 |
+
|
59 |
#img-header_logo {
|
60 |
max-height: 200px;
|
61 |
width: auto;
|
includes/class-wcpdf-export.php
CHANGED
@@ -25,6 +25,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
25 |
$this->order = new WC_Order('');
|
26 |
$this->general_settings = get_option('wpo_wcpdf_general_settings');
|
27 |
$this->template_settings = get_option('wpo_wcpdf_template_settings');
|
|
|
28 |
|
29 |
$this->template_directory_name = 'pdf';
|
30 |
$this->template_base_path = (defined('WC_TEMPLATE_PATH')?WC_TEMPLATE_PATH:$woocommerce->template_url) . $this->template_directory_name . '/';
|
@@ -53,6 +54,157 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
53 |
add_filter( 'wpo_wcpdf_invoice_number', array( $this, 'format_invoice_number' ), 20, 4 );
|
54 |
}
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
57 |
|
58 |
/**
|
@@ -95,6 +247,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
95 |
}
|
96 |
|
97 |
$print_script = "<script language=javascript>window.onload = function(){ window.print(); };</script>";
|
|
|
98 |
$page_break = "\n<div style=\"page-break-before: always;\"></div>\n";
|
99 |
|
100 |
|
@@ -316,7 +469,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
316 |
|
317 |
$this->order = $order;
|
318 |
|
319 |
-
$tmp_path =
|
320 |
|
321 |
// clear pdf files from temp folder (from http://stackoverflow.com/a/13468943/1446634)
|
322 |
array_map('unlink', ( glob( $tmp_path.'*.pdf' ) ? glob( $tmp_path.'*.pdf' ) : array() ) );
|
@@ -419,6 +572,17 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
419 |
return apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $this->order->get_order_number(), $this->order->id, $this->order->order_date );
|
420 |
}
|
421 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
public function format_invoice_number( $invoice_number, $order_number, $order_id, $order_date ) {
|
423 |
// get format settings
|
424 |
$order_year = date_i18n( 'Y', strtotime( $order_date ) );
|
@@ -563,11 +727,11 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
563 |
|
564 |
}
|
565 |
|
566 |
-
$data_list[] = apply_filters( 'wpo_wcpdf_order_item_data', $data );
|
567 |
}
|
568 |
}
|
569 |
|
570 |
-
return apply_filters( 'wpo_wcpdf_order_items_data', $data_list );
|
571 |
}
|
572 |
|
573 |
/**
|
@@ -743,6 +907,10 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
743 |
return $thumbnail;
|
744 |
}
|
745 |
|
|
|
|
|
|
|
|
|
746 |
}
|
747 |
|
748 |
-
}
|
25 |
$this->order = new WC_Order('');
|
26 |
$this->general_settings = get_option('wpo_wcpdf_general_settings');
|
27 |
$this->template_settings = get_option('wpo_wcpdf_template_settings');
|
28 |
+
$this->debug_settings = get_option('wpo_wcpdf_debug_settings');
|
29 |
|
30 |
$this->template_directory_name = 'pdf';
|
31 |
$this->template_base_path = (defined('WC_TEMPLATE_PATH')?WC_TEMPLATE_PATH:$woocommerce->template_url) . $this->template_directory_name . '/';
|
54 |
add_filter( 'wpo_wcpdf_invoice_number', array( $this, 'format_invoice_number' ), 20, 4 );
|
55 |
}
|
56 |
|
57 |
+
if ( isset($this->debug_settings['enable_debug'])) {
|
58 |
+
$this->enable_debug();
|
59 |
+
}
|
60 |
+
|
61 |
+
if ( isset($this->debug_settings['html_output'])) {
|
62 |
+
add_filter( 'wpo_wcpdf_output_html', '__return_true' );
|
63 |
+
add_filter( 'wpo_wcpdf_use_path', '__return_false' );
|
64 |
+
}
|
65 |
+
|
66 |
+
if ( class_exists('WC_Subscriptions') ) {
|
67 |
+
add_action( 'woocommerce_subscriptions_renewal_order_created', array( $this, 'reset_invoice_data' ), 10, 4 );
|
68 |
+
}
|
69 |
+
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Install/create plugin tmp folders
|
74 |
+
*/
|
75 |
+
public function init_tmp ( $tmp_base ) {
|
76 |
+
// create plugin base temp folder
|
77 |
+
@mkdir( $tmp_base );
|
78 |
+
|
79 |
+
// create subfolders & protect
|
80 |
+
$subfolders = array( 'attachments', 'fonts', 'dompdf' );
|
81 |
+
foreach ( $subfolders as $subfolder ) {
|
82 |
+
$path = $tmp_base . $subfolder . '/';
|
83 |
+
@mkdir( $path );
|
84 |
+
|
85 |
+
// copy font files
|
86 |
+
if ( $subfolder == 'fonts' ) {
|
87 |
+
$this->copy_fonts( $path );
|
88 |
+
}
|
89 |
+
|
90 |
+
// create .htaccess file and empty index.php to protect in case an open webfolder is used!
|
91 |
+
@file_put_contents( $path . '.htaccess', 'deny from all' );
|
92 |
+
@touch( $path . 'index.php' );
|
93 |
+
}
|
94 |
+
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Copy DOMPDF fonts to wordpress tmp folder
|
99 |
+
*/
|
100 |
+
public function copy_fonts ( $path ) {
|
101 |
+
$dompdf_font_dir = WooCommerce_PDF_Invoices::$plugin_path . "lib/dompdf/lib/fonts/";
|
102 |
+
|
103 |
+
// first try the easy way with glob!
|
104 |
+
if ( function_exists('glob') ) {
|
105 |
+
$files = glob($dompdf_font_dir."*.*");
|
106 |
+
foreach($files as $file){
|
107 |
+
if(!is_dir($file) && is_readable($file)) {
|
108 |
+
$dest = $path . basename($file);
|
109 |
+
copy($file, $dest);
|
110 |
+
}
|
111 |
+
}
|
112 |
+
} else {
|
113 |
+
// fallback method using font cache file (glob is disabled on some servers with disable_functions)
|
114 |
+
$font_cache_file = $dompdf_font_dir . "dompdf_font_family_cache.php";
|
115 |
+
$font_cache_dist_file = $dompdf_font_dir . "dompdf_font_family_cache.dist.php";
|
116 |
+
$fonts = @require_once( $font_cache_file );
|
117 |
+
$extensions = array( '.ttf', '.ufm', '.ufm.php', '.afm' );
|
118 |
+
|
119 |
+
foreach ($fonts as $font_family => $filenames) {
|
120 |
+
foreach ($filenames as $filename) {
|
121 |
+
foreach ($extensions as $extension) {
|
122 |
+
$file = $filename.$extension;
|
123 |
+
if (file_exists($file)) {
|
124 |
+
$dest = $path . basename($file);
|
125 |
+
copy($file, $dest);
|
126 |
+
}
|
127 |
+
}
|
128 |
+
}
|
129 |
+
}
|
130 |
+
|
131 |
+
// copy cache files separately
|
132 |
+
copy($font_cache_file, $path.basename($font_cache_file));
|
133 |
+
copy($font_cache_dist_file, $path.basename($font_cache_dist_file));
|
134 |
+
}
|
135 |
+
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Return tmp path for different plugin processes
|
140 |
+
*/
|
141 |
+
public function tmp_path ( $type = '' ) {
|
142 |
+
// get temp setting
|
143 |
+
$old_tmp = isset($this->debug_settings['old_tmp']);
|
144 |
+
|
145 |
+
$tmp_base = $this->get_tmp_base();
|
146 |
+
if (!$old_tmp) {
|
147 |
+
// check if tmp folder exists => if not, initialize
|
148 |
+
if ( !@is_dir( $tmp_base ) ) {
|
149 |
+
$this->init_tmp( $tmp_base );
|
150 |
+
}
|
151 |
+
}
|
152 |
+
|
153 |
+
if ( empty( $type ) ) {
|
154 |
+
return $tmp_base;
|
155 |
+
}
|
156 |
+
|
157 |
+
switch ( $type ) {
|
158 |
+
case 'DOMPDF_TEMP_DIR':
|
159 |
+
// original value : sys_get_temp_dir()
|
160 |
+
// 1.5+ : $tmp_base . 'dompdf'
|
161 |
+
$tmp_path = $old_tmp ? sys_get_temp_dir() : $tmp_base . 'dompdf';
|
162 |
+
break;
|
163 |
+
case 'DOMPDF_FONT_DIR': // NEEDS TRAILING SLASH!
|
164 |
+
// original value : DOMPDF_DIR."/lib/fonts/"
|
165 |
+
// 1.5+ : $tmp_base . 'fonts/'
|
166 |
+
$tmp_path = $old_tmp ? DOMPDF_DIR."/lib/fonts/" : $tmp_base . 'fonts/';
|
167 |
+
break;
|
168 |
+
case 'DOMPDF_FONT_CACHE':
|
169 |
+
// original value : DOMPDF_FONT_DIR
|
170 |
+
// 1.5+ : $tmp_base . 'fonts'
|
171 |
+
$tmp_path = $old_tmp ? DOMPDF_FONT_DIR : $tmp_base . 'fonts';
|
172 |
+
break;
|
173 |
+
case 'attachments':
|
174 |
+
// original value : WooCommerce_PDF_Invoices::$plugin_path . 'tmp/'
|
175 |
+
// 1.5+ : $tmp_base . 'attachments/'
|
176 |
+
$tmp_path = $old_tmp ? WooCommerce_PDF_Invoices::$plugin_path . 'tmp/' : $tmp_base . 'attachments/';
|
177 |
+
break;
|
178 |
+
default:
|
179 |
+
$tmp_path = $tmp_base . $type;
|
180 |
+
break;
|
181 |
+
}
|
182 |
+
|
183 |
+
// double check for existence, in case tmp_base was installed, but subfolder not created
|
184 |
+
if ( !@is_dir( $tmp_path ) ) {
|
185 |
+
@mkdir( $tmp_path );
|
186 |
+
}
|
187 |
+
|
188 |
+
return $tmp_path;
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* return the base tmp folder (usually uploads)
|
193 |
+
*/
|
194 |
+
public function get_tmp_base () {
|
195 |
+
// wp_upload_dir() is used to set the base temp folder, under which a
|
196 |
+
// 'wpo_wcpdf' folder and several subfolders are created
|
197 |
+
//
|
198 |
+
// wp_upload_dir() will:
|
199 |
+
// * default to WP_CONTENT_DIR/uploads
|
200 |
+
// * UNLESS the ‘UPLOADS’ constant is defined in wp-config (http://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder)
|
201 |
+
//
|
202 |
+
// May also be overridden by the wpo_wcpdf_tmp_path filter
|
203 |
+
|
204 |
+
$upload_dir = wp_upload_dir();
|
205 |
+
$upload_base = trailingslashit( $upload_dir['basedir'] );
|
206 |
+
$tmp_base = trailingslashit( apply_filters( 'wpo_wcpdf_tmp_path', $upload_base . 'wpo_wcpdf/' ) );
|
207 |
+
return $tmp_base;
|
208 |
}
|
209 |
|
210 |
/**
|
247 |
}
|
248 |
|
249 |
$print_script = "<script language=javascript>window.onload = function(){ window.print(); };</script>";
|
250 |
+
// <div style="page-break-before: always;"></div>
|
251 |
$page_break = "\n<div style=\"page-break-before: always;\"></div>\n";
|
252 |
|
253 |
|
469 |
|
470 |
$this->order = $order;
|
471 |
|
472 |
+
$tmp_path = $this->tmp_path('attachments');
|
473 |
|
474 |
// clear pdf files from temp folder (from http://stackoverflow.com/a/13468943/1446634)
|
475 |
array_map('unlink', ( glob( $tmp_path.'*.pdf' ) ? glob( $tmp_path.'*.pdf' ) : array() ) );
|
572 |
return apply_filters( 'wpo_wcpdf_invoice_number', $invoice_number, $this->order->get_order_number(), $this->order->id, $this->order->order_date );
|
573 |
}
|
574 |
|
575 |
+
/**
|
576 |
+
* Reset invoice data for WooCommerce subscription renewal orders
|
577 |
+
* https://wordpress.org/support/topic/subscription-renewal-duplicate-invoice-number?replies=6#post-6138110
|
578 |
+
*/
|
579 |
+
public function reset_invoice_data ( $renewal_order, $original_order, $product_id, $new_order_role ) {
|
580 |
+
// delete invoice number, invoice date & invoice exists meta
|
581 |
+
delete_post_meta( $renewal_order->id, '_wcpdf_invoice_number' );
|
582 |
+
delete_post_meta( $renewal_order->id, '_wcpdf_invoice_date' );
|
583 |
+
delete_post_meta( $renewal_order->id, '_wcpdf_invoice_exists' );
|
584 |
+
}
|
585 |
+
|
586 |
public function format_invoice_number( $invoice_number, $order_number, $order_id, $order_date ) {
|
587 |
// get format settings
|
588 |
$order_year = date_i18n( 'Y', strtotime( $order_date ) );
|
727 |
|
728 |
}
|
729 |
|
730 |
+
$data_list[] = apply_filters( 'wpo_wcpdf_order_item_data', $data, $this->order );
|
731 |
}
|
732 |
}
|
733 |
|
734 |
+
return apply_filters( 'wpo_wcpdf_order_items_data', $data_list, $this->order );
|
735 |
}
|
736 |
|
737 |
/**
|
907 |
return $thumbnail;
|
908 |
}
|
909 |
|
910 |
+
public function enable_debug () {
|
911 |
+
error_reporting( E_ALL );
|
912 |
+
ini_set( 'display_errors', 1 );
|
913 |
+
}
|
914 |
}
|
915 |
|
916 |
+
}
|
includes/class-wcpdf-settings.php
CHANGED
@@ -93,18 +93,22 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
93 |
)
|
94 |
);
|
95 |
|
|
|
|
|
|
|
96 |
$active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general';
|
|
|
97 |
?>
|
98 |
|
99 |
<div class="wrap">
|
100 |
<div class="icon32" id="icon-options-general"><br /></div>
|
101 |
<h2><?php _e( 'WooCommerce PDF Invoices', 'wpo_wcpdf' ); ?></h2>
|
102 |
<h2 class="nav-tab-wrapper">
|
103 |
-
<?php
|
104 |
-
|
|
|
105 |
}
|
106 |
?>
|
107 |
-
<a href="?page=wpo_wcpdf_options_page&tab=status" class="nav-tab <?php echo (($active_tab == 'status') ? 'nav-tab-active' : ''); ?>"><?php _e('Status','wpo_wcpdf'); ?></a>
|
108 |
</h2>
|
109 |
|
110 |
<?php
|
@@ -114,9 +118,6 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
114 |
include('wcpdf-extensions.php');
|
115 |
}
|
116 |
|
117 |
-
if ( $active_tab=='status' ) {
|
118 |
-
$this->status_page();
|
119 |
-
} else {
|
120 |
?>
|
121 |
<form method="post" action="options.php">
|
122 |
<?php
|
@@ -128,6 +129,9 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
128 |
|
129 |
</form>
|
130 |
<?php
|
|
|
|
|
|
|
131 |
}
|
132 |
|
133 |
do_action( 'wpo_wcpdf_after_settings_page', $active_tab ); ?>
|
@@ -158,8 +162,8 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
158 |
$option = 'wpo_wcpdf_general_settings';
|
159 |
|
160 |
// Create option in wp_options.
|
161 |
-
if ( false
|
162 |
-
|
163 |
}
|
164 |
|
165 |
// Section.
|
@@ -222,7 +226,6 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
222 |
)
|
223 |
);
|
224 |
|
225 |
-
|
226 |
// Register settings.
|
227 |
register_setting( $option, $option, array( &$this, 'validate_options' ) );
|
228 |
|
@@ -236,7 +239,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
236 |
);
|
237 |
update_option( $option, $option_values );
|
238 |
}
|
239 |
-
|
240 |
/**************************************/
|
241 |
/********** TEMPLATE SETTINGS *********/
|
242 |
/**************************************/
|
@@ -244,8 +247,8 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
244 |
$option = 'wpo_wcpdf_template_settings';
|
245 |
|
246 |
// Create option in wp_options.
|
247 |
-
if ( false
|
248 |
-
|
249 |
}
|
250 |
|
251 |
// Section.
|
@@ -493,12 +496,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
493 |
// Register settings.
|
494 |
register_setting( $option, $option, array( &$this, 'validate_options' ) );
|
495 |
|
496 |
-
// Register defaults if settings empty
|
497 |
$option_values = get_option($option);
|
498 |
-
if ( !isset( $option_values['paper_size'] ) ) {
|
499 |
-
$this->default_settings();
|
500 |
-
}
|
501 |
-
|
502 |
// determine highest invoice number if option not set
|
503 |
if ( !isset( $option_values['next_invoice_number']) ) {
|
504 |
// Based on code from WooCommerce Sequential Order Numbers
|
@@ -519,25 +517,98 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
519 |
$option_values['next_invoice_number'] = $next_invoice_number;
|
520 |
update_option( $option, $option_values );
|
521 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
522 |
}
|
523 |
|
524 |
/**
|
525 |
* Set default settings.
|
526 |
*/
|
527 |
-
public function default_settings() {
|
528 |
global $wpo_wcpdf;
|
529 |
|
530 |
-
$
|
531 |
-
|
532 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
533 |
|
534 |
-
$
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
|
539 |
-
|
540 |
-
update_option( 'wpo_wcpdf_template_settings', $default_template );
|
541 |
}
|
542 |
|
543 |
// Text element callback.
|
@@ -855,7 +926,16 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
|
|
855 |
}
|
856 |
|
857 |
/**
|
858 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
859 |
*
|
860 |
* @return void.
|
861 |
*/
|
93 |
)
|
94 |
);
|
95 |
|
96 |
+
// add status tab last in row
|
97 |
+
$settings_tabs['debug'] = __('Status','wpo_wcpdf');
|
98 |
+
|
99 |
$active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general';
|
100 |
+
|
101 |
?>
|
102 |
|
103 |
<div class="wrap">
|
104 |
<div class="icon32" id="icon-options-general"><br /></div>
|
105 |
<h2><?php _e( 'WooCommerce PDF Invoices', 'wpo_wcpdf' ); ?></h2>
|
106 |
<h2 class="nav-tab-wrapper">
|
107 |
+
<?php
|
108 |
+
foreach ($settings_tabs as $tab_slug => $tab_title ) {
|
109 |
+
printf('<a href="?page=wpo_wcpdf_options_page&tab=%1$s" class="nav-tab nav-tab-%1$s %2$s">%3$s</a>', $tab_slug, (($active_tab == $tab_slug) ? 'nav-tab-active' : ''), $tab_title);
|
110 |
}
|
111 |
?>
|
|
|
112 |
</h2>
|
113 |
|
114 |
<?php
|
118 |
include('wcpdf-extensions.php');
|
119 |
}
|
120 |
|
|
|
|
|
|
|
121 |
?>
|
122 |
<form method="post" action="options.php">
|
123 |
<?php
|
129 |
|
130 |
</form>
|
131 |
<?php
|
132 |
+
|
133 |
+
if ( $active_tab=='debug' ) {
|
134 |
+
$this->status_page();
|
135 |
}
|
136 |
|
137 |
do_action( 'wpo_wcpdf_after_settings_page', $active_tab ); ?>
|
162 |
$option = 'wpo_wcpdf_general_settings';
|
163 |
|
164 |
// Create option in wp_options.
|
165 |
+
if ( false === get_option( $option ) ) {
|
166 |
+
$this->default_settings( $option );
|
167 |
}
|
168 |
|
169 |
// Section.
|
226 |
)
|
227 |
);
|
228 |
|
|
|
229 |
// Register settings.
|
230 |
register_setting( $option, $option, array( &$this, 'validate_options' ) );
|
231 |
|
239 |
);
|
240 |
update_option( $option, $option_values );
|
241 |
}
|
242 |
+
|
243 |
/**************************************/
|
244 |
/********** TEMPLATE SETTINGS *********/
|
245 |
/**************************************/
|
247 |
$option = 'wpo_wcpdf_template_settings';
|
248 |
|
249 |
// Create option in wp_options.
|
250 |
+
if ( false === get_option( $option ) ) {
|
251 |
+
$this->default_settings( $option );
|
252 |
}
|
253 |
|
254 |
// Section.
|
496 |
// Register settings.
|
497 |
register_setting( $option, $option, array( &$this, 'validate_options' ) );
|
498 |
|
|
|
499 |
$option_values = get_option($option);
|
|
|
|
|
|
|
|
|
500 |
// determine highest invoice number if option not set
|
501 |
if ( !isset( $option_values['next_invoice_number']) ) {
|
502 |
// Based on code from WooCommerce Sequential Order Numbers
|
517 |
$option_values['next_invoice_number'] = $next_invoice_number;
|
518 |
update_option( $option, $option_values );
|
519 |
}
|
520 |
+
/**************************************/
|
521 |
+
/******** DEBUG/STATUS SETTINGS *******/
|
522 |
+
/**************************************/
|
523 |
+
|
524 |
+
$option = 'wpo_wcpdf_debug_settings';
|
525 |
+
|
526 |
+
// Create option in wp_options.
|
527 |
+
if ( false === get_option( $option ) ) {
|
528 |
+
$this->default_settings( $option );
|
529 |
+
}
|
530 |
+
|
531 |
+
// Section.
|
532 |
+
add_settings_section(
|
533 |
+
'debug_settings',
|
534 |
+
__( 'Debug settings', 'wpo_wcpdf' ),
|
535 |
+
array( &$this, 'debug_section' ),
|
536 |
+
$option
|
537 |
+
);
|
538 |
+
|
539 |
+
add_settings_field(
|
540 |
+
'enable_debug',
|
541 |
+
__( 'Enable debug output', 'wpo_wcpdf' ),
|
542 |
+
array( &$this, 'checkbox_element_callback' ),
|
543 |
+
$option,
|
544 |
+
'debug_settings',
|
545 |
+
array(
|
546 |
+
'menu' => $option,
|
547 |
+
'id' => 'enable_debug',
|
548 |
+
'description' => __( "Enable this option to output plugin errors if you're getting a blank page or other PDF generation issues", 'wpo_wcpdf' ),
|
549 |
+
)
|
550 |
+
);
|
551 |
+
|
552 |
+
add_settings_field(
|
553 |
+
'html_output',
|
554 |
+
__( 'Output to HTML', 'wpo_wcpdf' ),
|
555 |
+
array( &$this, 'checkbox_element_callback' ),
|
556 |
+
$option,
|
557 |
+
'debug_settings',
|
558 |
+
array(
|
559 |
+
'menu' => $option,
|
560 |
+
'id' => 'html_output',
|
561 |
+
'description' => __( 'Send the template output as HTML to the browser instead of creating a PDF.', 'wpo_wcpdf' ),
|
562 |
+
)
|
563 |
+
);
|
564 |
+
|
565 |
+
add_settings_field(
|
566 |
+
'old_tmp',
|
567 |
+
__( 'Use old tmp folder', 'wpo_wcpdf' ),
|
568 |
+
array( &$this, 'checkbox_element_callback' ),
|
569 |
+
$option,
|
570 |
+
'debug_settings',
|
571 |
+
array(
|
572 |
+
'menu' => $option,
|
573 |
+
'id' => 'old_tmp',
|
574 |
+
'description' => __( 'Before version 1.5 of PDF Invoices, temporary files were stored in the plugin folder. This setting is only intended for backwards compatibility, not recommended on new installs!', 'wpo_wcpdf' ),
|
575 |
+
)
|
576 |
+
);
|
577 |
+
|
578 |
+
// Register settings.
|
579 |
+
register_setting( $option, $option, array( &$this, 'validate_options' ) );
|
580 |
+
|
581 |
}
|
582 |
|
583 |
/**
|
584 |
* Set default settings.
|
585 |
*/
|
586 |
+
public function default_settings( $option ) {
|
587 |
global $wpo_wcpdf;
|
588 |
|
589 |
+
switch ( $option ) {
|
590 |
+
case 'wpo_wcpdf_general_settings':
|
591 |
+
$default = array(
|
592 |
+
'download_display' => 'download',
|
593 |
+
);
|
594 |
+
break;
|
595 |
+
case 'wpo_wcpdf_template_settings':
|
596 |
+
$default = array(
|
597 |
+
'paper_size' => 'a4',
|
598 |
+
'template_path' => $wpo_wcpdf->export->template_default_base_path . 'Simple',
|
599 |
+
);
|
600 |
+
break;
|
601 |
+
default:
|
602 |
+
$default = array();
|
603 |
+
break;
|
604 |
+
}
|
605 |
|
606 |
+
if ( false === get_option( $option ) ) {
|
607 |
+
add_option( $option, $default );
|
608 |
+
} else {
|
609 |
+
update_option( $option, $default );
|
610 |
|
611 |
+
}
|
|
|
612 |
}
|
613 |
|
614 |
// Text element callback.
|
926 |
}
|
927 |
|
928 |
/**
|
929 |
+
* Debug section callback.
|
930 |
+
*
|
931 |
+
* @return void.
|
932 |
+
*/
|
933 |
+
public function debug_section() {
|
934 |
+
_e( '<b>Warning!</b> The settings below are meant for debugging/development only. Do not use them on a live website!' , 'wpo_wcpdf' );
|
935 |
+
}
|
936 |
+
|
937 |
+
/**
|
938 |
+
* Custom fields section callback.
|
939 |
*
|
940 |
* @return void.
|
941 |
*/
|
includes/class-wcpdf-writepanels.php
CHANGED
@@ -12,6 +12,9 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
|
|
12 |
* Constructor
|
13 |
*/
|
14 |
public function __construct() {
|
|
|
|
|
|
|
15 |
add_action( 'woocommerce_admin_order_actions_end', array( $this, 'add_listing_actions' ) );
|
16 |
add_filter( 'manage_edit-shop_order_columns', array( $this, 'add_invoice_number_column' ), 999 );
|
17 |
add_action( 'manage_shop_order_posts_custom_column', array( $this, 'invoice_number_column_data' ), 2 );
|
@@ -24,8 +27,6 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices_Writepanels' ) ) {
|
|
24 |
add_action( 'woocommerce_admin_order_data_after_order_details', array(&$this, 'edit_invoice_number') );
|
25 |
add_action( 'save_post', array( &$this,'save_invoice_number_date' ) );
|
26 |
|
27 |
-
$this->general_settings = get_option('wpo_wcpdf_general_settings');
|
28 |
-
$this->template_settings = get_option('wpo_wcpdf_template_settings');
|
29 |
|
30 |
$this->bulk_actions = array(
|
31 |
'invoice' => __( 'PDF Invoices', 'wpo_wcpdf' ),
|
12 |
* Constructor
|
13 |
*/
|
14 |
public function __construct() {
|
15 |
+
$this->general_settings = get_option('wpo_wcpdf_general_settings');
|
16 |
+
$this->template_settings = get_option('wpo_wcpdf_template_settings');
|
17 |
+
|
18 |
add_action( 'woocommerce_admin_order_actions_end', array( $this, 'add_listing_actions' ) );
|
19 |
add_filter( 'manage_edit-shop_order_columns', array( $this, 'add_invoice_number_column' ), 999 );
|
20 |
add_action( 'manage_shop_order_posts_custom_column', array( $this, 'invoice_number_column_data' ), 2 );
|
27 |
add_action( 'woocommerce_admin_order_data_after_order_details', array(&$this, 'edit_invoice_number') );
|
28 |
add_action( 'save_post', array( &$this,'save_invoice_number_date' ) );
|
29 |
|
|
|
|
|
30 |
|
31 |
$this->bulk_actions = array(
|
32 |
'invoice' => __( 'PDF Invoices', 'wpo_wcpdf' ),
|
includes/dompdf-status.php
CHANGED
@@ -52,6 +52,12 @@ $server_configs = array(
|
|
52 |
"result" => extension_loaded("gmagick") || extension_loaded("imagick"),
|
53 |
"fallback" => "Recommended for better performances",
|
54 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
"WP Memory Limit" => array(
|
56 |
"required" => 'Recommended: 64MB (128MB for optimal performance)<br/>See: <a href="http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP">Increasing memory allocated to PHP</a>',
|
57 |
"value" => WP_MEMORY_LIMIT,
|
@@ -119,36 +125,42 @@ if (($gm = extension_loaded("gmagick")) || ($im = extension_loaded("imagick")))
|
|
119 |
|
120 |
<?php
|
121 |
$permissions = array(
|
122 |
-
'
|
123 |
-
'description' => '
|
124 |
-
'value' =>
|
125 |
-
'status' => (is_writable(
|
126 |
-
'status_message' => (is_writable(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
),
|
128 |
'DOMPDF_FONT_CACHE' => array (
|
129 |
'description' => 'Font metrics cache (used mainly by CPDF)',
|
130 |
-
'value' => DOMPDF_FONT_CACHE,
|
131 |
'status' => (is_writable(DOMPDF_FONT_CACHE) ? "ok" : "failed"),
|
132 |
'status_message' => (is_writable(DOMPDF_FONT_CACHE) ? "Writable" : "Not writable"),
|
133 |
),
|
134 |
-
'
|
135 |
-
'description' => '
|
136 |
-
'value' =>
|
137 |
-
'status' => (is_writable(
|
138 |
-
'status_message' => (is_writable(
|
139 |
),
|
140 |
'DOMPDF_ENABLE_REMOTE' => array (
|
141 |
'description' => 'Allow remote stylesheets and images',
|
142 |
-
'value' => DOMPDF_ENABLE_REMOTE,
|
143 |
'status' => (ini_get("allow_url_fopen")) ? "ok" : "failed",
|
144 |
'status_message' => (ini_get("allow_url_fopen")) ? "allow_url_fopen enabled" : "allow_url_fopen disabled",
|
145 |
),
|
146 |
-
'WCPDF_TEMP_DIR' => array (
|
147 |
-
'description' => 'Temporary plugin folder',
|
148 |
-
'value' => WooCommerce_PDF_Invoices::$plugin_path . 'tmp/',
|
149 |
-
'status' => (is_writable(WooCommerce_PDF_Invoices::$plugin_path . 'tmp/') ? "ok" : "failed"),
|
150 |
-
'status_message' => (is_writable(WooCommerce_PDF_Invoices::$plugin_path . 'tmp/') ? "Writable" : "Not writable"),
|
151 |
-
),
|
152 |
);
|
153 |
|
154 |
?>
|
@@ -179,3 +191,19 @@ $permissions = array(
|
|
179 |
<?php } ?>
|
180 |
|
181 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
"result" => extension_loaded("gmagick") || extension_loaded("imagick"),
|
53 |
"fallback" => "Recommended for better performances",
|
54 |
),
|
55 |
+
"glob()" => array(
|
56 |
+
"required" => "Required to detect custom templates and to clear the temp folder periodically",
|
57 |
+
"value" => null,
|
58 |
+
"result" => function_exists("glob"),
|
59 |
+
"fallback" => "Check php disable_functions",
|
60 |
+
),
|
61 |
"WP Memory Limit" => array(
|
62 |
"required" => 'Recommended: 64MB (128MB for optimal performance)<br/>See: <a href="http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP">Increasing memory allocated to PHP</a>',
|
63 |
"value" => WP_MEMORY_LIMIT,
|
125 |
|
126 |
<?php
|
127 |
$permissions = array(
|
128 |
+
'WCPDF_TEMP_DIR' => array (
|
129 |
+
'description' => 'Central temporary plugin folder',
|
130 |
+
'value' => $wpo_wcpdf->export->tmp_path(),
|
131 |
+
'status' => (is_writable( $wpo_wcpdf->export->tmp_path() ) ? "ok" : "failed"),
|
132 |
+
'status_message' => (is_writable( $wpo_wcpdf->export->tmp_path() ) ? "Writable" : "Not writable"),
|
133 |
+
),
|
134 |
+
'WCPDF_ATTACHMENT_DIR' => array (
|
135 |
+
'description' => 'Temporary attachments folder',
|
136 |
+
'value' => trailingslashit( $wpo_wcpdf->export->tmp_path( 'attachments' ) ),
|
137 |
+
'status' => (is_writable( $wpo_wcpdf->export->tmp_path( 'attachments' ) ) ? "ok" : "failed"),
|
138 |
+
'status_message' => (is_writable( $wpo_wcpdf->export->tmp_path( 'attachments' ) ) ? "Writable" : "Not writable"),
|
139 |
+
),
|
140 |
+
'DOMPDF_TEMP_DIR' => array (
|
141 |
+
'description' => 'Temporary DOMPDF folder',
|
142 |
+
'value' => trailingslashit(DOMPDF_TEMP_DIR),
|
143 |
+
'status' => (is_writable(DOMPDF_TEMP_DIR) ? "ok" : "failed"),
|
144 |
+
'status_message' => (is_writable(DOMPDF_TEMP_DIR) ? "Writable" : "Not writable"),
|
145 |
),
|
146 |
'DOMPDF_FONT_CACHE' => array (
|
147 |
'description' => 'Font metrics cache (used mainly by CPDF)',
|
148 |
+
'value' => trailingslashit(DOMPDF_FONT_CACHE),
|
149 |
'status' => (is_writable(DOMPDF_FONT_CACHE) ? "ok" : "failed"),
|
150 |
'status_message' => (is_writable(DOMPDF_FONT_CACHE) ? "Writable" : "Not writable"),
|
151 |
),
|
152 |
+
'DOMPDF_FONT_DIR' => array (
|
153 |
+
'description' => 'DOMPDF fonts folder (needs to be writable for custom/remote fonts)',
|
154 |
+
'value' => trailingslashit(DOMPDF_FONT_DIR),
|
155 |
+
'status' => (is_writable(DOMPDF_FONT_DIR) ? "ok" : "failed"),
|
156 |
+
'status_message' => (is_writable(DOMPDF_FONT_DIR) ? "Writable" : "Not writable"),
|
157 |
),
|
158 |
'DOMPDF_ENABLE_REMOTE' => array (
|
159 |
'description' => 'Allow remote stylesheets and images',
|
160 |
+
'value' => DOMPDF_ENABLE_REMOTE ? 'true' : 'false',
|
161 |
'status' => (ini_get("allow_url_fopen")) ? "ok" : "failed",
|
162 |
'status_message' => (ini_get("allow_url_fopen")) ? "allow_url_fopen enabled" : "allow_url_fopen disabled",
|
163 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
);
|
165 |
|
166 |
?>
|
191 |
<?php } ?>
|
192 |
|
193 |
</table>
|
194 |
+
|
195 |
+
<p>
|
196 |
+
The central temp folder (1.5+) is <code><?php echo $wpo_wcpdf->export->tmp_path(); ?></code>.
|
197 |
+
By default, this folder is created in the WordPress uploads folder (<code><?php echo wp_upload_dir(); ?></code>),
|
198 |
+
which can be defined by setting <code>UPLOADS</code> in wp-config.php.
|
199 |
+
Alternatively, you can control the specific folder for PDF invoices by using the
|
200 |
+
<code>wpo_wcpdf_tmp_path</code> filter. Make sure this folder is writable and that the
|
201 |
+
subfolders <code>attachments</code>, <code>dompdf</code> and <code>fonts</code>
|
202 |
+
are present (these will be created by the plugin if the central temp folder is writable).<br>
|
203 |
+
<br>
|
204 |
+
If the temporary folders were not automatically created by the plugim, verify that all the font
|
205 |
+
files (from <code><?php echo WooCommerce_PDF_Invoices::$plugin_path . "lib/dompdf/lib/fonts/"; ?></code>)
|
206 |
+
are copied to the fonts folder.
|
207 |
+
Normally, this is fully automated, but if your server has strict security settings, this automated
|
208 |
+
copying may have been prohibited. In that case, you also need to make sure these folders get
|
209 |
+
synchronized on plugin updates!
|
languages/wpo_wcpdf-it_IT.mo
CHANGED
Binary file
|
languages/wpo_wcpdf-it_IT.po
CHANGED
@@ -1,220 +1,185 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: WP Overnight <support@wpovernight.com>\n"
|
8 |
-
"Language:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.6.
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
-
#: includes/class-wcpdf-export.php:
|
20 |
-
#: includes/class-wcpdf-export.php:
|
21 |
-
#: includes/class-wcpdf-export.php:
|
22 |
msgid "You do not have sufficient permissions to access this page."
|
23 |
msgstr ""
|
24 |
-
"Non
|
25 |
|
26 |
-
#: includes/class-wcpdf-export.php:
|
27 |
msgid "invoice"
|
28 |
msgid_plural "invoices"
|
29 |
msgstr[0] "fattura"
|
30 |
msgstr[1] "fatture"
|
31 |
|
32 |
-
#: includes/class-wcpdf-export.php:
|
33 |
msgid "packing-slip"
|
34 |
msgid_plural "packing-slips"
|
35 |
msgstr[0] "DDT"
|
36 |
msgstr[1] "DDT"
|
37 |
|
38 |
-
#: includes/class-wcpdf-settings.php:
|
39 |
-
#: includes/class-wcpdf-writepanels.php:
|
40 |
-
#: includes/class-wcpdf-writepanels.php:177
|
41 |
msgid "PDF Invoices"
|
42 |
-
msgstr "PDF
|
43 |
|
44 |
-
#: includes/class-wcpdf-settings.php:
|
45 |
msgid "Settings"
|
46 |
msgstr "Impostazioni"
|
47 |
|
48 |
-
#: includes/class-wcpdf-settings.php:
|
49 |
msgid "General"
|
50 |
msgstr "Generale"
|
51 |
|
52 |
-
#: includes/class-wcpdf-settings.php:
|
53 |
msgid "Template"
|
54 |
msgstr "Modello"
|
55 |
|
56 |
-
#: includes/class-wcpdf-settings.php:
|
57 |
msgid "WooCommerce PDF Invoices"
|
58 |
-
msgstr "WooCommerce PDF
|
59 |
|
60 |
-
#: includes/class-wcpdf-settings.php:
|
61 |
msgid "Status"
|
62 |
-
msgstr ""
|
63 |
-
|
64 |
-
#: includes/class-wcpdf-settings.php:109
|
65 |
-
#, php-format
|
66 |
-
msgid ""
|
67 |
-
"Upload all invoices automatically to your dropbox!<br/>Check out the %s "
|
68 |
-
"extension."
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
-
#: includes/class-wcpdf-settings.php:119
|
72 |
-
#, php-format
|
73 |
-
msgid ""
|
74 |
-
"Looking for more advanced templates? Check out the Premium PDF Invoice & "
|
75 |
-
"Packing Slips templates at %s."
|
76 |
-
msgstr ""
|
77 |
-
"Looking for more advanced templates? Check out the Premium PDF Invoice & "
|
78 |
-
"Packing Slips templates at %s."
|
79 |
-
|
80 |
-
#: includes/class-wcpdf-settings.php:120
|
81 |
-
#, php-format
|
82 |
-
msgid "For custom templates, contact us at %s."
|
83 |
-
msgstr ""
|
84 |
|
85 |
-
#: includes/class-wcpdf-settings.php:
|
86 |
msgid "General settings"
|
87 |
msgstr "Impostazioni generali"
|
88 |
|
89 |
-
#: includes/class-wcpdf-settings.php:
|
90 |
msgid "How do you want to view the PDF?"
|
91 |
-
msgstr "Come
|
92 |
|
93 |
-
#: includes/class-wcpdf-settings.php:
|
94 |
msgid "Download the PDF"
|
95 |
msgstr "Scarica il PDF"
|
96 |
|
97 |
-
#: includes/class-wcpdf-settings.php:
|
98 |
msgid "Open the PDF in a new browser tab/window"
|
99 |
-
msgstr "
|
100 |
-
|
101 |
-
#: includes/class-wcpdf-settings.php:201
|
102 |
-
msgid "Attach invoice to:"
|
103 |
-
msgstr ""
|
104 |
|
105 |
-
#: includes/class-wcpdf-settings.php:
|
106 |
msgid "Admin New Order email"
|
107 |
-
msgstr ""
|
108 |
|
109 |
-
#: includes/class-wcpdf-settings.php:
|
110 |
msgid "Customer Processing Order email"
|
111 |
-
msgstr ""
|
112 |
|
113 |
-
#: includes/class-wcpdf-settings.php:
|
114 |
msgid "Customer Completed Order email"
|
115 |
-
msgstr ""
|
116 |
|
117 |
-
#: includes/class-wcpdf-settings.php:
|
118 |
-
#, fuzzy
|
119 |
msgid "Customer Invoice email"
|
120 |
-
msgstr "
|
|
|
|
|
|
|
|
|
121 |
|
122 |
-
#: includes/class-wcpdf-settings.php:
|
123 |
#, php-format
|
124 |
msgid ""
|
125 |
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
126 |
"permissions for this folder! Without having write access to this folder, the "
|
127 |
"plugin will not be able to email invoices."
|
128 |
msgstr ""
|
129 |
-
"Sembra che la cartella temp (<code>%
|
130 |
-
"
|
131 |
-
"scrittura a questa cartella,
|
|
|
132 |
|
133 |
-
#: includes/class-wcpdf-settings.php:
|
134 |
msgid "Enable invoice number column in the orders list"
|
135 |
-
msgstr ""
|
136 |
|
137 |
-
#: includes/class-wcpdf-settings.php:
|
138 |
msgid "PDF Template settings"
|
139 |
msgstr "Impostazioni modello PDF "
|
140 |
|
141 |
-
#: includes/class-wcpdf-settings.php:
|
142 |
msgid "Choose a template"
|
143 |
msgstr "Scegli un modello"
|
144 |
|
145 |
-
#: includes/class-wcpdf-settings.php:
|
146 |
#, php-format
|
147 |
msgid ""
|
148 |
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
149 |
-
"<code>%s</code> to customize them"
|
150 |
msgstr ""
|
151 |
-
"Vuoi usare il proprio modello? Copiare tutti i file dalla <code>%s</code> "
|
152 |
-
"per <code>%s</code> per personalizzarle"
|
153 |
|
154 |
-
#: includes/class-wcpdf-settings.php:
|
155 |
msgid "Paper size"
|
156 |
msgstr "Formato carta"
|
157 |
|
158 |
-
#: includes/class-wcpdf-settings.php:
|
159 |
msgid "A4"
|
160 |
msgstr "A4"
|
161 |
|
162 |
-
#: includes/class-wcpdf-settings.php:
|
163 |
msgid "Letter"
|
164 |
msgstr "Lettera"
|
165 |
|
166 |
-
#: includes/class-wcpdf-settings.php:
|
167 |
msgid "Shop header/logo"
|
168 |
-
msgstr "Intestazione Negozio
|
169 |
|
170 |
-
#: includes/class-wcpdf-settings.php:
|
171 |
msgid "Select or upload your invoice header/logo"
|
172 |
-
msgstr "
|
173 |
|
174 |
-
#: includes/class-wcpdf-settings.php:
|
175 |
msgid "Set image"
|
176 |
msgstr "Imposta immagine "
|
177 |
|
178 |
-
#: includes/class-wcpdf-settings.php:
|
179 |
msgid "Remove image"
|
180 |
msgstr "Rimuovi immagine"
|
181 |
|
182 |
-
#: includes/class-wcpdf-settings.php:
|
183 |
msgid "Shop Name"
|
184 |
msgstr "Nome negozio"
|
185 |
|
186 |
-
#: includes/class-wcpdf-settings.php:
|
187 |
msgid "Shop Address"
|
188 |
msgstr "Indirizzo negozio"
|
189 |
|
190 |
-
#: includes/class-wcpdf-settings.php:
|
191 |
msgid "Footer: terms & conditions, policies, etc."
|
192 |
msgstr "Piè di pagina: termini e condizioni, politiche, ecc"
|
193 |
|
194 |
-
#: includes/class-wcpdf-settings.php:
|
195 |
-
msgid "
|
196 |
-
msgstr ""
|
197 |
|
198 |
#: includes/class-wcpdf-settings.php:385
|
199 |
-
|
200 |
-
|
201 |
-
msgstr "WooCommerce PDF Fatture"
|
202 |
-
|
203 |
-
#: includes/class-wcpdf-settings.php:386
|
204 |
-
msgid "Built-in sequential invoice number"
|
205 |
-
msgstr ""
|
206 |
-
|
207 |
-
#: includes/class-wcpdf-settings.php:388
|
208 |
-
msgid ""
|
209 |
-
"If you are using the WooCommerce Sequential Order Numbers plugin, select the "
|
210 |
-
"WooCommerce order number"
|
211 |
-
msgstr ""
|
212 |
|
213 |
-
#: includes/class-wcpdf-settings.php:
|
214 |
msgid "Next invoice number (without prefix/suffix etc.)"
|
215 |
-
msgstr ""
|
216 |
|
217 |
-
#: includes/class-wcpdf-settings.php:
|
218 |
msgid ""
|
219 |
"This is the number that will be used on the next invoice that is created. By "
|
220 |
"default, numbering starts from the WooCommerce Order Number of the first "
|
@@ -222,139 +187,238 @@ msgid ""
|
|
222 |
"you override this and set it lower than the highest (PDF) invoice number, "
|
223 |
"this could create double invoice numbers!"
|
224 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
-
#: includes/class-wcpdf-settings.php:
|
227 |
msgid "Invoice number format"
|
228 |
-
msgstr ""
|
229 |
|
230 |
-
#: includes/class-wcpdf-settings.php:
|
231 |
msgid "Prefix"
|
232 |
-
msgstr ""
|
233 |
|
234 |
-
#: includes/class-wcpdf-settings.php:
|
235 |
msgid ""
|
236 |
"to use the order year and/or month, use [order_year] or [order_month] "
|
237 |
"respectively"
|
238 |
msgstr ""
|
|
|
|
|
239 |
|
240 |
-
#: includes/class-wcpdf-settings.php:
|
241 |
msgid "Suffix"
|
242 |
-
msgstr ""
|
243 |
|
244 |
-
#: includes/class-wcpdf-settings.php:
|
245 |
msgid "Padding"
|
246 |
-
msgstr ""
|
247 |
|
248 |
-
#: includes/class-wcpdf-settings.php:
|
249 |
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
250 |
msgstr ""
|
|
|
|
|
251 |
|
252 |
-
#: includes/class-wcpdf-settings.php:
|
253 |
msgid ""
|
254 |
"note: if you have already created a custom invoice number format with a "
|
255 |
"filter, the above settings will be ignored"
|
256 |
msgstr ""
|
|
|
|
|
257 |
|
258 |
-
#: includes/class-wcpdf-settings.php:
|
259 |
-
msgid "Date to display on invoice"
|
260 |
-
msgstr ""
|
261 |
-
|
262 |
-
#: includes/class-wcpdf-settings.php:448
|
263 |
-
#, fuzzy
|
264 |
-
msgid "Order date"
|
265 |
-
msgstr "Data fattura:"
|
266 |
-
|
267 |
-
#: includes/class-wcpdf-settings.php:449
|
268 |
-
#, fuzzy
|
269 |
-
msgid "Invoice date"
|
270 |
-
msgstr "Fattura"
|
271 |
-
|
272 |
-
#: includes/class-wcpdf-settings.php:457
|
273 |
msgid "Extra template fields"
|
274 |
msgstr "Campi modello Extra"
|
275 |
|
276 |
-
#: includes/class-wcpdf-settings.php:
|
277 |
msgid "Extra field 1"
|
278 |
msgstr "Campo Extra 1"
|
279 |
|
280 |
-
#: includes/class-wcpdf-settings.php:
|
281 |
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
282 |
-
msgstr "
|
283 |
|
284 |
-
#: includes/class-wcpdf-settings.php:
|
285 |
msgid "Extra field 2"
|
286 |
msgstr "Campo Extra 2"
|
287 |
|
288 |
-
#: includes/class-wcpdf-settings.php:
|
289 |
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
290 |
-
msgstr "
|
291 |
|
292 |
-
#: includes/class-wcpdf-settings.php:
|
293 |
msgid "Extra field 3"
|
294 |
msgstr "Campo Extra 3"
|
295 |
|
296 |
-
#: includes/class-wcpdf-settings.php:
|
297 |
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
298 |
-
msgstr "
|
299 |
|
300 |
-
#: includes/class-wcpdf-settings.php:
|
301 |
msgid "Image resolution"
|
302 |
msgstr "Risoluzione immagine"
|
303 |
|
304 |
-
#: includes/class-wcpdf-settings.php:
|
305 |
msgid ""
|
306 |
"These are used for the (optional) footer columns in the <em>Modern "
|
307 |
"(Premium)</em> template, but can also be used for other elements in your "
|
308 |
"custom template"
|
309 |
msgstr ""
|
310 |
-
"Questi sono utilizzati per le
|
311 |
-
"
|
312 |
-
"altri elementi nel vostro modello personalizzato"
|
|
|
|
|
|
|
|
|
313 |
|
314 |
-
#: includes/class-wcpdf-writepanels.php:
|
315 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
msgid "Invoice Number"
|
317 |
-
msgstr "Fattura"
|
318 |
|
319 |
-
#: includes/class-wcpdf-writepanels.php:
|
320 |
msgid "Download invoice (PDF)"
|
321 |
msgstr "Scarica fattura (PDF)"
|
322 |
|
323 |
-
#: includes/class-wcpdf-writepanels.php:
|
324 |
msgid "Create PDF"
|
325 |
msgstr "Crea PDF"
|
326 |
|
327 |
-
#: includes/class-wcpdf-writepanels.php:
|
328 |
-
msgid "PDF invoice"
|
329 |
-
msgstr "Fattura in formato PDF"
|
330 |
-
|
331 |
-
#: includes/class-wcpdf-writepanels.php:161
|
332 |
-
msgid "PDF Packing Slip"
|
333 |
-
msgstr "PDF bolla di accompagnamento"
|
334 |
-
|
335 |
-
#: includes/class-wcpdf-writepanels.php:178
|
336 |
-
#: includes/class-wcpdf-writepanels.php:179
|
337 |
-
msgid "PDF Packing Slips"
|
338 |
-
msgstr "PDF bolle di accompagnamento"
|
339 |
-
|
340 |
-
#: includes/class-wcpdf-writepanels.php:192
|
341 |
msgid "PDF Invoice Number (unformatted!)"
|
342 |
-
msgstr ""
|
343 |
|
344 |
-
#: includes/class-wcpdf-writepanels.php:
|
345 |
-
#: templates/pdf/Simple/invoice.php:
|
346 |
-
#, fuzzy
|
347 |
msgid "Invoice Date:"
|
348 |
-
msgstr "Fattura"
|
349 |
|
350 |
-
#: includes/class-wcpdf-writepanels.php:
|
351 |
msgid "h"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: includes/class-wcpdf-writepanels.php:
|
355 |
msgid "m"
|
356 |
msgstr ""
|
357 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
#: templates/pdf/Simple/html-document-wrapper.php:6
|
359 |
#: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
|
360 |
msgid "Invoice"
|
@@ -364,112 +428,125 @@ msgstr "Fattura"
|
|
364 |
#: templates/pdf/Simple/packing-slip.php:9
|
365 |
#: templates/pdf/Simple/packing-slip.php:21
|
366 |
msgid "Packing Slip"
|
367 |
-
msgstr "Documento di
|
368 |
-
|
369 |
-
#: templates/pdf/Simple/invoice.php:40
|
370 |
-
#: templates/pdf/Simple/packing-slip.php:30
|
371 |
-
msgid "Order Date:"
|
372 |
-
msgstr "Data fattura:"
|
373 |
|
374 |
-
#: templates/pdf/Simple/invoice.php:
|
375 |
-
#, fuzzy
|
376 |
msgid "Invoice Number:"
|
377 |
-
msgstr "Fattura
|
378 |
|
379 |
-
#: templates/pdf/Simple/invoice.php:
|
380 |
-
#: templates/pdf/Simple/packing-slip.php:
|
381 |
msgid "Order Number:"
|
382 |
-
msgstr "
|
383 |
|
384 |
-
#: templates/pdf/Simple/invoice.php:
|
|
|
|
|
|
|
|
|
|
|
385 |
msgid "Payment Method:"
|
386 |
msgstr "Metodo di pagamento:"
|
387 |
|
388 |
-
#: templates/pdf/Simple/invoice.php:
|
389 |
-
#: templates/pdf/Simple/packing-slip.php:
|
390 |
msgid "Product"
|
391 |
msgstr "Prodotto"
|
392 |
|
393 |
-
#: templates/pdf/Simple/invoice.php:
|
394 |
-
#: templates/pdf/Simple/packing-slip.php:
|
395 |
msgid "Quantity"
|
396 |
msgstr "Quantità"
|
397 |
|
398 |
-
#: templates/pdf/Simple/invoice.php:
|
399 |
msgid "Price"
|
400 |
msgstr "Prezzo"
|
401 |
|
402 |
-
#: templates/pdf/Simple/invoice.php:
|
403 |
msgid "Description"
|
404 |
-
msgstr ""
|
405 |
|
406 |
-
#: templates/pdf/Simple/invoice.php:
|
407 |
msgid "SKU"
|
408 |
-
msgstr "Codice"
|
409 |
|
410 |
-
#: templates/pdf/Simple/invoice.php:
|
411 |
-
#: templates/pdf/Simple/packing-slip.php:
|
412 |
msgid "SKU:"
|
413 |
-
msgstr "Codice
|
414 |
|
415 |
-
#: templates/pdf/Simple/invoice.php:
|
416 |
-
#: templates/pdf/Simple/packing-slip.php:
|
417 |
msgid "Weight:"
|
418 |
msgstr "Peso:"
|
419 |
|
420 |
-
#: templates/pdf/Simple/invoice.php:
|
421 |
-
#: templates/pdf/Simple/packing-slip.php:
|
422 |
msgid "Customer Notes"
|
423 |
-
msgstr "
|
424 |
|
425 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
426 |
#, php-format
|
427 |
msgid ""
|
428 |
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
429 |
"installed & activated!"
|
430 |
msgstr ""
|
431 |
-
"WooCommerce PDF Invoices & Packing Slips richiede%
|
432 |
-
"
|
433 |
|
434 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
435 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
436 |
msgid "N/A"
|
437 |
msgstr "N/A"
|
438 |
|
439 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
440 |
-
#, fuzzy
|
441 |
msgid "Payment method"
|
442 |
-
msgstr "Metodo di pagamento
|
443 |
|
444 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
445 |
-
#, fuzzy
|
446 |
msgid "Shipping method"
|
447 |
-
msgstr "
|
448 |
|
449 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
450 |
msgid "Subtotal"
|
451 |
msgstr "Totale parziale"
|
452 |
|
453 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
454 |
msgid "Shipping"
|
455 |
msgstr "Spedizione"
|
456 |
|
457 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
458 |
msgid "Discount"
|
459 |
msgstr "Sconto"
|
460 |
|
461 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
462 |
msgid "VAT"
|
463 |
-
msgstr ""
|
464 |
|
465 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
466 |
msgid "Total ex. VAT"
|
467 |
msgstr "Totale (IVA esclusa)"
|
468 |
|
469 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
470 |
msgid "Total"
|
471 |
msgstr "Totale"
|
472 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
#~ msgid "..."
|
474 |
#~ msgstr "..."
|
475 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
|
4 |
+
"POT-Creation-Date: 2014-12-04 20:24+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-12-04 20:32+0100\n"
|
6 |
+
"Last-Translator: Astrid Virili <avirili@gmail.com>\n"
|
7 |
"Language-Team: WP Overnight <support@wpovernight.com>\n"
|
8 |
+
"Language: it\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.10\n"
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
+
#: includes/class-wcpdf-export.php:184 includes/class-wcpdf-export.php:189
|
20 |
+
#: includes/class-wcpdf-export.php:194 includes/class-wcpdf-export.php:205
|
21 |
+
#: includes/class-wcpdf-export.php:213
|
22 |
msgid "You do not have sufficient permissions to access this page."
|
23 |
msgstr ""
|
24 |
+
"Non disponi di autorizzazioni sufficienti per accedere a questa pagina."
|
25 |
|
26 |
+
#: includes/class-wcpdf-export.php:268
|
27 |
msgid "invoice"
|
28 |
msgid_plural "invoices"
|
29 |
msgstr[0] "fattura"
|
30 |
msgstr[1] "fatture"
|
31 |
|
32 |
+
#: includes/class-wcpdf-export.php:272
|
33 |
msgid "packing-slip"
|
34 |
msgid_plural "packing-slips"
|
35 |
msgstr[0] "DDT"
|
36 |
msgstr[1] "DDT"
|
37 |
|
38 |
+
#: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
|
39 |
+
#: includes/class-wcpdf-writepanels.php:31
|
|
|
40 |
msgid "PDF Invoices"
|
41 |
+
msgstr "Fatture PDF"
|
42 |
|
43 |
+
#: includes/class-wcpdf-settings.php:69
|
44 |
msgid "Settings"
|
45 |
msgstr "Impostazioni"
|
46 |
|
47 |
+
#: includes/class-wcpdf-settings.php:91
|
48 |
msgid "General"
|
49 |
msgstr "Generale"
|
50 |
|
51 |
+
#: includes/class-wcpdf-settings.php:92
|
52 |
msgid "Template"
|
53 |
msgstr "Modello"
|
54 |
|
55 |
+
#: includes/class-wcpdf-settings.php:101
|
56 |
msgid "WooCommerce PDF Invoices"
|
57 |
+
msgstr "WooCommerce Fatture PDF"
|
58 |
|
59 |
+
#: includes/class-wcpdf-settings.php:107
|
60 |
msgid "Status"
|
61 |
+
msgstr "Status"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
+
#: includes/class-wcpdf-settings.php:168
|
64 |
msgid "General settings"
|
65 |
msgstr "Impostazioni generali"
|
66 |
|
67 |
+
#: includes/class-wcpdf-settings.php:175
|
68 |
msgid "How do you want to view the PDF?"
|
69 |
+
msgstr "Come desideri visualizzare il file PDF?"
|
70 |
|
71 |
+
#: includes/class-wcpdf-settings.php:183
|
72 |
msgid "Download the PDF"
|
73 |
msgstr "Scarica il PDF"
|
74 |
|
75 |
+
#: includes/class-wcpdf-settings.php:184
|
76 |
msgid "Open the PDF in a new browser tab/window"
|
77 |
+
msgstr "Apri il PDF in una nuova scheda/finestra del browser"
|
|
|
|
|
|
|
|
|
78 |
|
79 |
+
#: includes/class-wcpdf-settings.php:193
|
80 |
msgid "Admin New Order email"
|
81 |
+
msgstr "Email Amministrazione Nuovo Ordine"
|
82 |
|
83 |
+
#: includes/class-wcpdf-settings.php:194
|
84 |
msgid "Customer Processing Order email"
|
85 |
+
msgstr "Email Cliente Ordine in Lavorazione"
|
86 |
|
87 |
+
#: includes/class-wcpdf-settings.php:195
|
88 |
msgid "Customer Completed Order email"
|
89 |
+
msgstr "Email Cliente Ordine Completato"
|
90 |
|
91 |
+
#: includes/class-wcpdf-settings.php:196
|
|
|
92 |
msgid "Customer Invoice email"
|
93 |
+
msgstr "Email Cliente Fattura"
|
94 |
+
|
95 |
+
#: includes/class-wcpdf-settings.php:201
|
96 |
+
msgid "Attach invoice to:"
|
97 |
+
msgstr "Allega la fattura a:"
|
98 |
|
99 |
+
#: includes/class-wcpdf-settings.php:209
|
100 |
#, php-format
|
101 |
msgid ""
|
102 |
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
103 |
"permissions for this folder! Without having write access to this folder, the "
|
104 |
"plugin will not be able to email invoices."
|
105 |
msgstr ""
|
106 |
+
"Sembra che la cartella temp (<code>%s</code>) non sia scrivibile, verifica "
|
107 |
+
"le autorizzazioni per questa cartella! Se il plugin non ha accesso in "
|
108 |
+
"scrittura a questa cartella, non sarà in grado di inviare le fatture via "
|
109 |
+
"email."
|
110 |
|
111 |
+
#: includes/class-wcpdf-settings.php:215
|
112 |
msgid "Enable invoice number column in the orders list"
|
113 |
+
msgstr "Abilita la colonna del numero fattura nella lista ordini"
|
114 |
|
115 |
+
#: includes/class-wcpdf-settings.php:254
|
116 |
msgid "PDF Template settings"
|
117 |
msgstr "Impostazioni modello PDF "
|
118 |
|
119 |
+
#: includes/class-wcpdf-settings.php:266
|
120 |
msgid "Choose a template"
|
121 |
msgstr "Scegli un modello"
|
122 |
|
123 |
+
#: includes/class-wcpdf-settings.php:274
|
124 |
#, php-format
|
125 |
msgid ""
|
126 |
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
127 |
+
"your (child) theme in <code>%s</code> to customize them"
|
128 |
msgstr ""
|
|
|
|
|
129 |
|
130 |
+
#: includes/class-wcpdf-settings.php:280
|
131 |
msgid "Paper size"
|
132 |
msgstr "Formato carta"
|
133 |
|
134 |
+
#: includes/class-wcpdf-settings.php:288
|
135 |
msgid "A4"
|
136 |
msgstr "A4"
|
137 |
|
138 |
+
#: includes/class-wcpdf-settings.php:289
|
139 |
msgid "Letter"
|
140 |
msgstr "Lettera"
|
141 |
|
142 |
+
#: includes/class-wcpdf-settings.php:296
|
143 |
msgid "Shop header/logo"
|
144 |
+
msgstr "Intestazione/logo Negozio"
|
145 |
|
146 |
+
#: includes/class-wcpdf-settings.php:303
|
147 |
msgid "Select or upload your invoice header/logo"
|
148 |
+
msgstr "Seleziona o carica l'intestazione/logo della fattura"
|
149 |
|
150 |
+
#: includes/class-wcpdf-settings.php:304
|
151 |
msgid "Set image"
|
152 |
msgstr "Imposta immagine "
|
153 |
|
154 |
+
#: includes/class-wcpdf-settings.php:305
|
155 |
msgid "Remove image"
|
156 |
msgstr "Rimuovi immagine"
|
157 |
|
158 |
+
#: includes/class-wcpdf-settings.php:312
|
159 |
msgid "Shop Name"
|
160 |
msgstr "Nome negozio"
|
161 |
|
162 |
+
#: includes/class-wcpdf-settings.php:325
|
163 |
msgid "Shop Address"
|
164 |
msgstr "Indirizzo negozio"
|
165 |
|
166 |
+
#: includes/class-wcpdf-settings.php:357
|
167 |
msgid "Footer: terms & conditions, policies, etc."
|
168 |
msgstr "Piè di pagina: termini e condizioni, politiche, ecc"
|
169 |
|
170 |
+
#: includes/class-wcpdf-settings.php:372
|
171 |
+
msgid "Display invoice date"
|
172 |
+
msgstr "Visualizzare Data Fattura"
|
173 |
|
174 |
#: includes/class-wcpdf-settings.php:385
|
175 |
+
msgid "Display built-in sequential invoice number"
|
176 |
+
msgstr "Visualizzare numero fattura sequenziale generato automaticamente"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
|
178 |
+
#: includes/class-wcpdf-settings.php:398
|
179 |
msgid "Next invoice number (without prefix/suffix etc.)"
|
180 |
+
msgstr "Numero della prossima fattura (senza prefisso, suffisso, ecc.)"
|
181 |
|
182 |
+
#: includes/class-wcpdf-settings.php:406
|
183 |
msgid ""
|
184 |
"This is the number that will be used on the next invoice that is created. By "
|
185 |
"default, numbering starts from the WooCommerce Order Number of the first "
|
187 |
"you override this and set it lower than the highest (PDF) invoice number, "
|
188 |
"this could create double invoice numbers!"
|
189 |
msgstr ""
|
190 |
+
"Questo è il numero che verrà utilizzato nella prossima fattura creata. La "
|
191 |
+
"numerazione di default inizia dal numero d'ordine WooCommerce della prima "
|
192 |
+
"fattura creata e si incrementa con ogni nuova fattura. Attenzione: se qui "
|
193 |
+
"viene impostato un numero più basso del numero di fattura più elevato, "
|
194 |
+
"questo può portare alla creazione di numeri di fattura doppi!"
|
195 |
|
196 |
+
#: includes/class-wcpdf-settings.php:412
|
197 |
msgid "Invoice number format"
|
198 |
+
msgstr "Formato numero fattura"
|
199 |
|
200 |
+
#: includes/class-wcpdf-settings.php:421
|
201 |
msgid "Prefix"
|
202 |
+
msgstr "Prefisso"
|
203 |
|
204 |
+
#: includes/class-wcpdf-settings.php:423
|
205 |
msgid ""
|
206 |
"to use the order year and/or month, use [order_year] or [order_month] "
|
207 |
"respectively"
|
208 |
msgstr ""
|
209 |
+
"per utilizzare l'anno o il mese dell'ordine, inserisci rispettivamente "
|
210 |
+
"[order_year] o [order_month]"
|
211 |
|
212 |
+
#: includes/class-wcpdf-settings.php:426
|
213 |
msgid "Suffix"
|
214 |
+
msgstr "Suffisso"
|
215 |
|
216 |
+
#: includes/class-wcpdf-settings.php:431
|
217 |
msgid "Padding"
|
218 |
+
msgstr "Numero Cifre"
|
219 |
|
220 |
+
#: includes/class-wcpdf-settings.php:433
|
221 |
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
222 |
msgstr ""
|
223 |
+
"inserisci qui il numero di cifre - scrivi \"6\" per visualizzare 42 come "
|
224 |
+
"000042"
|
225 |
|
226 |
+
#: includes/class-wcpdf-settings.php:436
|
227 |
msgid ""
|
228 |
"note: if you have already created a custom invoice number format with a "
|
229 |
"filter, the above settings will be ignored"
|
230 |
msgstr ""
|
231 |
+
"nota: se hai già creato un numero di fattura personalizzato con un filtro, "
|
232 |
+
"queste impostazioni verranno ignorate."
|
233 |
|
234 |
+
#: includes/class-wcpdf-settings.php:443
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
msgid "Extra template fields"
|
236 |
msgstr "Campi modello Extra"
|
237 |
|
238 |
+
#: includes/class-wcpdf-settings.php:450
|
239 |
msgid "Extra field 1"
|
240 |
msgstr "Campo Extra 1"
|
241 |
|
242 |
+
#: includes/class-wcpdf-settings.php:459
|
243 |
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
244 |
+
msgstr "Questa è la colonna 1 del footer nel modello <i>Modern (Premium)</ i>"
|
245 |
|
246 |
+
#: includes/class-wcpdf-settings.php:465
|
247 |
msgid "Extra field 2"
|
248 |
msgstr "Campo Extra 2"
|
249 |
|
250 |
+
#: includes/class-wcpdf-settings.php:474
|
251 |
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
252 |
+
msgstr "Questa è la colonna 2 del footer nel modello <i>Modern (Premium)</ i>"
|
253 |
|
254 |
+
#: includes/class-wcpdf-settings.php:480
|
255 |
msgid "Extra field 3"
|
256 |
msgstr "Campo Extra 3"
|
257 |
|
258 |
+
#: includes/class-wcpdf-settings.php:489
|
259 |
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
260 |
+
msgstr "Questa è la colonna 3 del footer nel modello <i>Modern (Premium)</ i>"
|
261 |
|
262 |
+
#: includes/class-wcpdf-settings.php:747
|
263 |
msgid "Image resolution"
|
264 |
msgstr "Risoluzione immagine"
|
265 |
|
266 |
+
#: includes/class-wcpdf-settings.php:863
|
267 |
msgid ""
|
268 |
"These are used for the (optional) footer columns in the <em>Modern "
|
269 |
"(Premium)</em> template, but can also be used for other elements in your "
|
270 |
"custom template"
|
271 |
msgstr ""
|
272 |
+
"Questi sono utilizzati per le colonne a piè di pagina (opzionali) nel "
|
273 |
+
"template <em>Modern (Premium)</ em> di modello, ma possono essere utilizzati "
|
274 |
+
"anche per altri elementi nel vostro modello personalizzato"
|
275 |
+
|
276 |
+
#: includes/class-wcpdf-writepanels.php:32
|
277 |
+
msgid "PDF Packing Slips"
|
278 |
+
msgstr "PDF Documenti di Trasporto"
|
279 |
|
280 |
+
#: includes/class-wcpdf-writepanels.php:91
|
281 |
+
#: includes/class-wcpdf-writepanels.php:184
|
282 |
+
msgid "PDF Invoice"
|
283 |
+
msgstr "Fattura PDF"
|
284 |
+
|
285 |
+
#: includes/class-wcpdf-writepanels.php:96
|
286 |
+
#: includes/class-wcpdf-writepanels.php:189
|
287 |
+
msgid "PDF Packing Slip"
|
288 |
+
msgstr "PDF Documento di Trasporto"
|
289 |
+
|
290 |
+
#: includes/class-wcpdf-writepanels.php:123
|
291 |
msgid "Invoice Number"
|
292 |
+
msgstr "Fattura Numero"
|
293 |
|
294 |
+
#: includes/class-wcpdf-writepanels.php:160
|
295 |
msgid "Download invoice (PDF)"
|
296 |
msgstr "Scarica fattura (PDF)"
|
297 |
|
298 |
+
#: includes/class-wcpdf-writepanels.php:171
|
299 |
msgid "Create PDF"
|
300 |
msgstr "Crea PDF"
|
301 |
|
302 |
+
#: includes/class-wcpdf-writepanels.php:232
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
msgid "PDF Invoice Number (unformatted!)"
|
304 |
+
msgstr "Numero Fattura PDF (non formattato)"
|
305 |
|
306 |
+
#: includes/class-wcpdf-writepanels.php:235
|
307 |
+
#: templates/pdf/Simple/invoice.php:36
|
|
|
308 |
msgid "Invoice Date:"
|
309 |
+
msgstr "Data Fattura:"
|
310 |
|
311 |
+
#: includes/class-wcpdf-writepanels.php:236
|
312 |
msgid "h"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: includes/class-wcpdf-writepanels.php:236
|
316 |
msgid "m"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: includes/wcpdf-extensions.php:15
|
320 |
+
msgid "Check out these premium extensions!"
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
+
#: includes/wcpdf-extensions.php:16
|
324 |
+
msgid "click items to read more"
|
325 |
+
msgstr ""
|
326 |
+
|
327 |
+
#: includes/wcpdf-extensions.php:23
|
328 |
+
msgid "Go Pro: Proforma invoices, credit notes (=refunds) & more!"
|
329 |
+
msgstr ""
|
330 |
+
|
331 |
+
#: includes/wcpdf-extensions.php:25
|
332 |
+
msgid ""
|
333 |
+
"Supercharge WooCommerce PDF Invoices & Packing Slips with the following "
|
334 |
+
"features:"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: includes/wcpdf-extensions.php:27
|
338 |
+
msgid "Email/print/download <b>PDF Credit Notes & Proforma invoices</b>"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: includes/wcpdf-extensions.php:28
|
342 |
+
msgid ""
|
343 |
+
"Attach a <b>static file</b> (for example a terms & conditions document) to "
|
344 |
+
"the WooCommerce emails of your choice."
|
345 |
+
msgstr ""
|
346 |
+
|
347 |
+
#: includes/wcpdf-extensions.php:29
|
348 |
+
msgid ""
|
349 |
+
"Use <b>separate numbering systems</b> and/or format for proforma invoices "
|
350 |
+
"and credit notes or utilize the main invoice numbering system"
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: includes/wcpdf-extensions.php:30
|
354 |
+
msgid ""
|
355 |
+
"<b>Customize</b> the <b>shipping & billing address</b> format to include "
|
356 |
+
"additional custom fields, font sizes etc. without the need to create a "
|
357 |
+
"custom template."
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: includes/wcpdf-extensions.php:31
|
361 |
+
msgid "Use the plugin in multilingual <b>WPML</b> setups"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: includes/wcpdf-extensions.php:33
|
365 |
+
msgid "Get WooCommerce PDF Invoices & Packing Slips Professional!"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: includes/wcpdf-extensions.php:41
|
369 |
+
msgid "Upload all invoices automatically to your dropbox"
|
370 |
+
msgstr "Carica tutte le fatture in automatico nel tuo Dropbox"
|
371 |
+
|
372 |
+
#: includes/wcpdf-extensions.php:47
|
373 |
+
msgid ""
|
374 |
+
"This extension conveniently uploads all the invoices (and other pdf "
|
375 |
+
"documents from the professional extension) that are emailed to your "
|
376 |
+
"customers to Dropbox. The best way to keep your invoice administration up to "
|
377 |
+
"date!"
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: includes/wcpdf-extensions.php:48
|
381 |
+
msgid "Get WooCommerce PDF Invoices & Packing Slips to dropbox!"
|
382 |
+
msgstr ""
|
383 |
+
|
384 |
+
#: includes/wcpdf-extensions.php:60
|
385 |
+
msgid ""
|
386 |
+
"Automatically send new orders or packing slips to your printer, as soon as "
|
387 |
+
"the customer orders!"
|
388 |
+
msgstr ""
|
389 |
+
|
390 |
+
#: includes/wcpdf-extensions.php:66
|
391 |
+
msgid ""
|
392 |
+
"Check out the WooCommerce Automatic Order Printing extension from our "
|
393 |
+
"partners at Simba Hosting"
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#: includes/wcpdf-extensions.php:67
|
397 |
+
msgid "WooCommerce Automatic Order Printing"
|
398 |
+
msgstr ""
|
399 |
+
|
400 |
+
#: includes/wcpdf-extensions.php:81
|
401 |
+
msgid "More advanced templates"
|
402 |
+
msgstr ""
|
403 |
+
|
404 |
+
#: includes/wcpdf-extensions.php:84
|
405 |
+
msgid "Stylish modern invoices & packing slips with product thumbnails!"
|
406 |
+
msgstr ""
|
407 |
+
|
408 |
+
#: includes/wcpdf-extensions.php:85
|
409 |
+
msgid "More tax details on the invoices!"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: includes/wcpdf-extensions.php:86
|
413 |
+
#, php-format
|
414 |
+
msgid "Check out the Premium PDF Invoice & Packing Slips templates at %s."
|
415 |
+
msgstr "Visualizza i modelli Premium PDF Invoice & Packing Slips su %s."
|
416 |
+
|
417 |
+
#: includes/wcpdf-extensions.php:87
|
418 |
+
#, php-format
|
419 |
+
msgid "For custom templates, contact us at %s."
|
420 |
+
msgstr "Contattaci via %s per modelli personalizzati."
|
421 |
+
|
422 |
#: templates/pdf/Simple/html-document-wrapper.php:6
|
423 |
#: templates/pdf/Simple/invoice.php:9 templates/pdf/Simple/invoice.php:21
|
424 |
msgid "Invoice"
|
428 |
#: templates/pdf/Simple/packing-slip.php:9
|
429 |
#: templates/pdf/Simple/packing-slip.php:21
|
430 |
msgid "Packing Slip"
|
431 |
+
msgstr "Documento di Trasporto"
|
|
|
|
|
|
|
|
|
|
|
432 |
|
433 |
+
#: templates/pdf/Simple/invoice.php:32
|
|
|
434 |
msgid "Invoice Number:"
|
435 |
+
msgstr "Fattura N.:"
|
436 |
|
437 |
+
#: templates/pdf/Simple/invoice.php:39
|
438 |
+
#: templates/pdf/Simple/packing-slip.php:33
|
439 |
msgid "Order Number:"
|
440 |
+
msgstr "Ordine N.:"
|
441 |
|
442 |
+
#: templates/pdf/Simple/invoice.php:41
|
443 |
+
#: templates/pdf/Simple/packing-slip.php:31
|
444 |
+
msgid "Order Date:"
|
445 |
+
msgstr "Data Ordine:"
|
446 |
+
|
447 |
+
#: templates/pdf/Simple/invoice.php:43
|
448 |
msgid "Payment Method:"
|
449 |
msgstr "Metodo di pagamento:"
|
450 |
|
451 |
+
#: templates/pdf/Simple/invoice.php:58
|
452 |
+
#: templates/pdf/Simple/packing-slip.php:48
|
453 |
msgid "Product"
|
454 |
msgstr "Prodotto"
|
455 |
|
456 |
+
#: templates/pdf/Simple/invoice.php:59
|
457 |
+
#: templates/pdf/Simple/packing-slip.php:49
|
458 |
msgid "Quantity"
|
459 |
msgstr "Quantità"
|
460 |
|
461 |
+
#: templates/pdf/Simple/invoice.php:60
|
462 |
msgid "Price"
|
463 |
msgstr "Prezzo"
|
464 |
|
465 |
+
#: templates/pdf/Simple/invoice.php:66
|
466 |
msgid "Description"
|
467 |
+
msgstr "Descrizione"
|
468 |
|
469 |
+
#: templates/pdf/Simple/invoice.php:69
|
470 |
msgid "SKU"
|
471 |
+
msgstr "Codice prod."
|
472 |
|
473 |
+
#: templates/pdf/Simple/invoice.php:70
|
474 |
+
#: templates/pdf/Simple/packing-slip.php:57
|
475 |
msgid "SKU:"
|
476 |
+
msgstr "Codice prod.:"
|
477 |
|
478 |
+
#: templates/pdf/Simple/invoice.php:71
|
479 |
+
#: templates/pdf/Simple/packing-slip.php:58
|
480 |
msgid "Weight:"
|
481 |
msgstr "Peso:"
|
482 |
|
483 |
+
#: templates/pdf/Simple/invoice.php:105
|
484 |
+
#: templates/pdf/Simple/packing-slip.php:73
|
485 |
msgid "Customer Notes"
|
486 |
+
msgstr "Note del Cliente"
|
487 |
|
488 |
+
#: woocommerce-pdf-invoices-packingslips.php:111
|
489 |
#, php-format
|
490 |
msgid ""
|
491 |
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
492 |
"installed & activated!"
|
493 |
msgstr ""
|
494 |
+
"WooCommerce PDF Invoices & Packing Slips richiede %sWooCommerce%s per essere "
|
495 |
+
"installato e attivato!"
|
496 |
|
497 |
+
#: woocommerce-pdf-invoices-packingslips.php:219
|
498 |
+
#: woocommerce-pdf-invoices-packingslips.php:282
|
499 |
msgid "N/A"
|
500 |
msgstr "N/A"
|
501 |
|
502 |
+
#: woocommerce-pdf-invoices-packingslips.php:371
|
|
|
503 |
msgid "Payment method"
|
504 |
+
msgstr "Metodo di pagamento"
|
505 |
|
506 |
+
#: woocommerce-pdf-invoices-packingslips.php:382
|
|
|
507 |
msgid "Shipping method"
|
508 |
+
msgstr "Metodo di spedizione"
|
509 |
|
510 |
+
#: woocommerce-pdf-invoices-packingslips.php:497
|
511 |
msgid "Subtotal"
|
512 |
msgstr "Totale parziale"
|
513 |
|
514 |
+
#: woocommerce-pdf-invoices-packingslips.php:519
|
515 |
msgid "Shipping"
|
516 |
msgstr "Spedizione"
|
517 |
|
518 |
+
#: woocommerce-pdf-invoices-packingslips.php:564
|
519 |
msgid "Discount"
|
520 |
msgstr "Sconto"
|
521 |
|
522 |
+
#: woocommerce-pdf-invoices-packingslips.php:603
|
523 |
msgid "VAT"
|
524 |
+
msgstr "IVA"
|
525 |
|
526 |
+
#: woocommerce-pdf-invoices-packingslips.php:640
|
527 |
msgid "Total ex. VAT"
|
528 |
msgstr "Totale (IVA esclusa)"
|
529 |
|
530 |
+
#: woocommerce-pdf-invoices-packingslips.php:643
|
531 |
msgid "Total"
|
532 |
msgstr "Totale"
|
533 |
|
534 |
+
#~ msgid "Number to display on invoice"
|
535 |
+
#~ msgstr "Numero da visualizzare sulla fattura"
|
536 |
+
|
537 |
+
#~ msgid ""
|
538 |
+
#~ "If you are using the WooCommerce Sequential Order Numbers plugin, select "
|
539 |
+
#~ "the WooCommerce order number"
|
540 |
+
#~ msgstr ""
|
541 |
+
#~ "Se stai utilizzando il plugin WooCommerce Sequential Order Numbers, "
|
542 |
+
#~ "seleziona il numero ordine WooCommerce"
|
543 |
+
|
544 |
+
#~ msgid "Order date"
|
545 |
+
#~ msgstr "Data Ordine"
|
546 |
+
|
547 |
+
#~ msgid "PDF invoice"
|
548 |
+
#~ msgstr "PDF Fattura"
|
549 |
+
|
550 |
#~ msgid "..."
|
551 |
#~ msgstr "..."
|
552 |
|
languages/wpo_wcpdf-nl_NL.mo
CHANGED
Binary file
|
languages/wpo_wcpdf-nl_NL.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2014-11
|
6 |
-
"PO-Revision-Date: 2014-11
|
7 |
"Last-Translator: Ewout Fernhout <chocolade@extrapuur.nl>\n"
|
8 |
"Language-Team: WP Overnight <support@wpovernight.com>\n"
|
9 |
"Language: nl_NL\n"
|
@@ -16,29 +16,29 @@ msgstr ""
|
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
"X-Poedit-Basepath: ../\n"
|
18 |
"X-Textdomain-Support: yes\n"
|
19 |
-
"X-Generator: Poedit 1.
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
-
#: includes/class-wcpdf-export.php:
|
23 |
-
#: includes/class-wcpdf-export.php:
|
24 |
-
#: includes/class-wcpdf-export.php:
|
25 |
msgid "You do not have sufficient permissions to access this page."
|
26 |
msgstr "Je hebt onvoldoende rechten voor deze pagina."
|
27 |
|
28 |
-
#: includes/class-wcpdf-export.php:
|
29 |
msgid "invoice"
|
30 |
msgid_plural "invoices"
|
31 |
msgstr[0] "factuur"
|
32 |
msgstr[1] "facturen"
|
33 |
|
34 |
-
#: includes/class-wcpdf-export.php:
|
35 |
msgid "packing-slip"
|
36 |
msgid_plural "packing-slips"
|
37 |
msgstr[0] "pakbon"
|
38 |
msgstr[1] "pakbonnen"
|
39 |
|
40 |
#: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
|
41 |
-
#: includes/class-wcpdf-writepanels.php:
|
42 |
msgid "PDF Invoices"
|
43 |
msgstr "PDF facturen"
|
44 |
|
@@ -54,51 +54,51 @@ msgstr "Algemeen"
|
|
54 |
msgid "Template"
|
55 |
msgstr "Template"
|
56 |
|
57 |
-
#: includes/class-wcpdf-settings.php:
|
58 |
-
msgid "WooCommerce PDF Invoices"
|
59 |
-
msgstr "WooCommerce PDF Facturen"
|
60 |
-
|
61 |
-
#: includes/class-wcpdf-settings.php:107
|
62 |
msgid "Status"
|
63 |
msgstr "Status"
|
64 |
|
65 |
-
#: includes/class-wcpdf-settings.php:
|
|
|
|
|
|
|
|
|
66 |
msgid "General settings"
|
67 |
msgstr "Algemene instellingen"
|
68 |
|
69 |
-
#: includes/class-wcpdf-settings.php:
|
70 |
msgid "How do you want to view the PDF?"
|
71 |
msgstr "Hoe wil je de PDF bekijken?"
|
72 |
|
73 |
-
#: includes/class-wcpdf-settings.php:
|
74 |
msgid "Download the PDF"
|
75 |
msgstr "Download de PDF"
|
76 |
|
77 |
-
#: includes/class-wcpdf-settings.php:
|
78 |
msgid "Open the PDF in a new browser tab/window"
|
79 |
msgstr "Open de PDF in een nieuwe browser tab/venster"
|
80 |
|
81 |
-
#: includes/class-wcpdf-settings.php:
|
82 |
msgid "Admin New Order email"
|
83 |
msgstr "Nieuwe bestelling (admin email)"
|
84 |
|
85 |
-
#: includes/class-wcpdf-settings.php:
|
86 |
msgid "Customer Processing Order email"
|
87 |
msgstr "Bestelling in behandeling (klant email)"
|
88 |
|
89 |
-
#: includes/class-wcpdf-settings.php:
|
90 |
msgid "Customer Completed Order email"
|
91 |
msgstr "Bestelling afgerond (klant email)"
|
92 |
|
93 |
-
#: includes/class-wcpdf-settings.php:
|
94 |
msgid "Customer Invoice email"
|
95 |
msgstr "Factuur (klant email)"
|
96 |
|
97 |
-
#: includes/class-wcpdf-settings.php:
|
98 |
msgid "Attach invoice to:"
|
99 |
msgstr "Factuur als bijlage toevoegen aan:"
|
100 |
|
101 |
-
#: includes/class-wcpdf-settings.php:
|
102 |
#, php-format
|
103 |
msgid ""
|
104 |
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
@@ -109,19 +109,19 @@ msgstr ""
|
|
109 |
"controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
|
110 |
"geen facturen emailen."
|
111 |
|
112 |
-
#: includes/class-wcpdf-settings.php:
|
113 |
msgid "Enable invoice number column in the orders list"
|
114 |
msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
|
115 |
|
116 |
-
#: includes/class-wcpdf-settings.php:
|
117 |
msgid "PDF Template settings"
|
118 |
msgstr "PDF Template instellingen"
|
119 |
|
120 |
-
#: includes/class-wcpdf-settings.php:
|
121 |
msgid "Choose a template"
|
122 |
msgstr "Kies een template"
|
123 |
|
124 |
-
#: includes/class-wcpdf-settings.php:
|
125 |
#, php-format
|
126 |
msgid ""
|
127 |
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
@@ -130,59 +130,59 @@ msgstr ""
|
|
130 |
"Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
|
131 |
"code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
|
132 |
|
133 |
-
#: includes/class-wcpdf-settings.php:
|
134 |
msgid "Paper size"
|
135 |
msgstr "Papierformaat"
|
136 |
|
137 |
-
#: includes/class-wcpdf-settings.php:
|
138 |
msgid "A4"
|
139 |
msgstr "A4"
|
140 |
|
141 |
-
#: includes/class-wcpdf-settings.php:
|
142 |
msgid "Letter"
|
143 |
msgstr "Letter (US)"
|
144 |
|
145 |
-
#: includes/class-wcpdf-settings.php:
|
146 |
msgid "Shop header/logo"
|
147 |
msgstr "Shop header/logo"
|
148 |
|
149 |
-
#: includes/class-wcpdf-settings.php:
|
150 |
msgid "Select or upload your invoice header/logo"
|
151 |
msgstr "Selecteer of upload je factuur header/logo"
|
152 |
|
153 |
-
#: includes/class-wcpdf-settings.php:
|
154 |
msgid "Set image"
|
155 |
msgstr "Stel afbeelding in"
|
156 |
|
157 |
-
#: includes/class-wcpdf-settings.php:
|
158 |
msgid "Remove image"
|
159 |
msgstr "Verwijder afbeelding"
|
160 |
|
161 |
-
#: includes/class-wcpdf-settings.php:
|
162 |
msgid "Shop Name"
|
163 |
msgstr "Shop Naam"
|
164 |
|
165 |
-
#: includes/class-wcpdf-settings.php:
|
166 |
msgid "Shop Address"
|
167 |
msgstr "Shop Adres"
|
168 |
|
169 |
-
#: includes/class-wcpdf-settings.php:
|
170 |
msgid "Footer: terms & conditions, policies, etc."
|
171 |
msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
|
172 |
|
173 |
-
#: includes/class-wcpdf-settings.php:
|
174 |
msgid "Display invoice date"
|
175 |
msgstr "Geef factuurdatum weer"
|
176 |
|
177 |
-
#: includes/class-wcpdf-settings.php:
|
178 |
msgid "Display built-in sequential invoice number"
|
179 |
msgstr "Geef ingebouwde doorlopende factuurnummers weer"
|
180 |
|
181 |
-
#: includes/class-wcpdf-settings.php:
|
182 |
msgid "Next invoice number (without prefix/suffix etc.)"
|
183 |
msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
|
184 |
|
185 |
-
#: includes/class-wcpdf-settings.php:
|
186 |
msgid ""
|
187 |
"This is the number that will be used on the next invoice that is created. By "
|
188 |
"default, numbering starts from the WooCommerce Order Number of the first "
|
@@ -197,15 +197,15 @@ msgstr ""
|
|
197 |
"hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
|
198 |
"gevolg hebben!"
|
199 |
|
200 |
-
#: includes/class-wcpdf-settings.php:
|
201 |
msgid "Invoice number format"
|
202 |
msgstr "Factuurnummer format"
|
203 |
|
204 |
-
#: includes/class-wcpdf-settings.php:
|
205 |
msgid "Prefix"
|
206 |
msgstr "Voorvoegsel"
|
207 |
|
208 |
-
#: includes/class-wcpdf-settings.php:
|
209 |
msgid ""
|
210 |
"to use the order year and/or month, use [order_year] or [order_month] "
|
211 |
"respectively"
|
@@ -213,21 +213,21 @@ msgstr ""
|
|
213 |
"gebruik [order_year] of [order_month] om het order jaar en/of maand te weer "
|
214 |
"te geven"
|
215 |
|
216 |
-
#: includes/class-wcpdf-settings.php:
|
217 |
msgid "Suffix"
|
218 |
msgstr "Achtervoegsel"
|
219 |
|
220 |
-
#: includes/class-wcpdf-settings.php:
|
221 |
msgid "Padding"
|
222 |
msgstr "Vulling"
|
223 |
|
224 |
-
#: includes/class-wcpdf-settings.php:
|
225 |
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
226 |
msgstr ""
|
227 |
"voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
|
228 |
"geven"
|
229 |
|
230 |
-
#: includes/class-wcpdf-settings.php:
|
231 |
msgid ""
|
232 |
"note: if you have already created a custom invoice number format with a "
|
233 |
"filter, the above settings will be ignored"
|
@@ -235,39 +235,88 @@ msgstr ""
|
|
235 |
"let op: als je al een format voor een factuurnummer hebt gemaakt met een "
|
236 |
"filter, worden de bovenstaande instellingen genegeerd"
|
237 |
|
238 |
-
#: includes/class-wcpdf-settings.php:
|
239 |
msgid "Extra template fields"
|
240 |
msgstr "Extra templatevelden"
|
241 |
|
242 |
-
#: includes/class-wcpdf-settings.php:
|
243 |
msgid "Extra field 1"
|
244 |
msgstr "Extra veld 1"
|
245 |
|
246 |
-
#: includes/class-wcpdf-settings.php:
|
247 |
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
248 |
msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
|
249 |
|
250 |
-
#: includes/class-wcpdf-settings.php:
|
251 |
msgid "Extra field 2"
|
252 |
msgstr "Extra veld 2"
|
253 |
|
254 |
-
#: includes/class-wcpdf-settings.php:
|
255 |
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
256 |
msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
|
257 |
|
258 |
-
#: includes/class-wcpdf-settings.php:
|
259 |
msgid "Extra field 3"
|
260 |
msgstr "Extra veld 3"
|
261 |
|
262 |
-
#: includes/class-wcpdf-settings.php:
|
263 |
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
264 |
msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
|
265 |
|
266 |
-
#: includes/class-wcpdf-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
msgid "Image resolution"
|
268 |
msgstr "Afbeeldings resolutie"
|
269 |
|
270 |
-
#: includes/class-wcpdf-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
271 |
msgid ""
|
272 |
"These are used for the (optional) footer columns in the <em>Modern "
|
273 |
"(Premium)</em> template, but can also be used for other elements in your "
|
@@ -277,46 +326,46 @@ msgstr ""
|
|
277 |
"<em>Modern (Premium)</em> template, maar kunnen ook gebruikt worden voor "
|
278 |
"andere elementen in je eigen custom sjabloon."
|
279 |
|
280 |
-
#: includes/class-wcpdf-writepanels.php:
|
281 |
msgid "PDF Packing Slips"
|
282 |
msgstr "PDF Pakbonnen"
|
283 |
|
284 |
-
#: includes/class-wcpdf-writepanels.php:
|
285 |
-
#: includes/class-wcpdf-writepanels.php:
|
286 |
msgid "PDF Invoice"
|
287 |
msgstr "PDF factuur"
|
288 |
|
289 |
-
#: includes/class-wcpdf-writepanels.php:
|
290 |
-
#: includes/class-wcpdf-writepanels.php:
|
291 |
msgid "PDF Packing Slip"
|
292 |
msgstr "PDF Pakbon"
|
293 |
|
294 |
-
#: includes/class-wcpdf-writepanels.php:
|
295 |
msgid "Invoice Number"
|
296 |
msgstr "Factuurnummer"
|
297 |
|
298 |
-
#: includes/class-wcpdf-writepanels.php:
|
299 |
msgid "Download invoice (PDF)"
|
300 |
msgstr "Download factuur (PDF)"
|
301 |
|
302 |
-
#: includes/class-wcpdf-writepanels.php:
|
303 |
msgid "Create PDF"
|
304 |
msgstr "Maak PDF"
|
305 |
|
306 |
-
#: includes/class-wcpdf-writepanels.php:
|
307 |
msgid "PDF Invoice Number (unformatted!)"
|
308 |
msgstr "PDF Factuurnummer (zonder formatting!)"
|
309 |
|
310 |
-
#: includes/class-wcpdf-writepanels.php:
|
311 |
#: templates/pdf/Simple/invoice.php:36
|
312 |
msgid "Invoice Date:"
|
313 |
msgstr "Factuurdatum:"
|
314 |
|
315 |
-
#: includes/class-wcpdf-writepanels.php:
|
316 |
msgid "h"
|
317 |
msgstr "u"
|
318 |
|
319 |
-
#: includes/class-wcpdf-writepanels.php:
|
320 |
msgid "m"
|
321 |
msgstr "m"
|
322 |
|
@@ -504,7 +553,7 @@ msgstr "Gewicht:"
|
|
504 |
msgid "Customer Notes"
|
505 |
msgstr "Opmerking klant:"
|
506 |
|
507 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
508 |
#, php-format
|
509 |
msgid ""
|
510 |
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
@@ -513,40 +562,40 @@ msgstr ""
|
|
513 |
"WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
|
514 |
"geïnstalleerd & geactiveerd!"
|
515 |
|
516 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
517 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
518 |
msgid "N/A"
|
519 |
msgstr "N/A"
|
520 |
|
521 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
522 |
msgid "Payment method"
|
523 |
msgstr "Betaalmethode"
|
524 |
|
525 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
526 |
msgid "Shipping method"
|
527 |
msgstr "Verzendmethode"
|
528 |
|
529 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
530 |
msgid "Subtotal"
|
531 |
msgstr "Subtotaal"
|
532 |
|
533 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
534 |
msgid "Shipping"
|
535 |
msgstr "Verzendkosten"
|
536 |
|
537 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
538 |
msgid "Discount"
|
539 |
msgstr "Korting"
|
540 |
|
541 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
542 |
msgid "VAT"
|
543 |
msgstr "BTW"
|
544 |
|
545 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
546 |
msgid "Total ex. VAT"
|
547 |
msgstr "Totaal excl. BTW"
|
548 |
|
549 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
550 |
msgid "Total"
|
551 |
msgstr "Totaal"
|
552 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-12-11 16:50+0100\n"
|
6 |
+
"PO-Revision-Date: 2014-12-11 16:55+0100\n"
|
7 |
"Last-Translator: Ewout Fernhout <chocolade@extrapuur.nl>\n"
|
8 |
"Language-Team: WP Overnight <support@wpovernight.com>\n"
|
9 |
"Language: nl_NL\n"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
"X-Poedit-Basepath: ../\n"
|
18 |
"X-Textdomain-Support: yes\n"
|
19 |
+
"X-Generator: Poedit 1.7.1\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
+
#: includes/class-wcpdf-export.php:326 includes/class-wcpdf-export.php:331
|
23 |
+
#: includes/class-wcpdf-export.php:336 includes/class-wcpdf-export.php:347
|
24 |
+
#: includes/class-wcpdf-export.php:355
|
25 |
msgid "You do not have sufficient permissions to access this page."
|
26 |
msgstr "Je hebt onvoldoende rechten voor deze pagina."
|
27 |
|
28 |
+
#: includes/class-wcpdf-export.php:410
|
29 |
msgid "invoice"
|
30 |
msgid_plural "invoices"
|
31 |
msgstr[0] "factuur"
|
32 |
msgstr[1] "facturen"
|
33 |
|
34 |
+
#: includes/class-wcpdf-export.php:414
|
35 |
msgid "packing-slip"
|
36 |
msgid_plural "packing-slips"
|
37 |
msgstr[0] "pakbon"
|
38 |
msgstr[1] "pakbonnen"
|
39 |
|
40 |
#: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
|
41 |
+
#: includes/class-wcpdf-writepanels.php:32
|
42 |
msgid "PDF Invoices"
|
43 |
msgstr "PDF facturen"
|
44 |
|
54 |
msgid "Template"
|
55 |
msgstr "Template"
|
56 |
|
57 |
+
#: includes/class-wcpdf-settings.php:97
|
|
|
|
|
|
|
|
|
58 |
msgid "Status"
|
59 |
msgstr "Status"
|
60 |
|
61 |
+
#: includes/class-wcpdf-settings.php:105
|
62 |
+
msgid "WooCommerce PDF Invoices"
|
63 |
+
msgstr "WooCommerce PDF Facturen"
|
64 |
+
|
65 |
+
#: includes/class-wcpdf-settings.php:172
|
66 |
msgid "General settings"
|
67 |
msgstr "Algemene instellingen"
|
68 |
|
69 |
+
#: includes/class-wcpdf-settings.php:179
|
70 |
msgid "How do you want to view the PDF?"
|
71 |
msgstr "Hoe wil je de PDF bekijken?"
|
72 |
|
73 |
+
#: includes/class-wcpdf-settings.php:187
|
74 |
msgid "Download the PDF"
|
75 |
msgstr "Download de PDF"
|
76 |
|
77 |
+
#: includes/class-wcpdf-settings.php:188
|
78 |
msgid "Open the PDF in a new browser tab/window"
|
79 |
msgstr "Open de PDF in een nieuwe browser tab/venster"
|
80 |
|
81 |
+
#: includes/class-wcpdf-settings.php:197
|
82 |
msgid "Admin New Order email"
|
83 |
msgstr "Nieuwe bestelling (admin email)"
|
84 |
|
85 |
+
#: includes/class-wcpdf-settings.php:198
|
86 |
msgid "Customer Processing Order email"
|
87 |
msgstr "Bestelling in behandeling (klant email)"
|
88 |
|
89 |
+
#: includes/class-wcpdf-settings.php:199
|
90 |
msgid "Customer Completed Order email"
|
91 |
msgstr "Bestelling afgerond (klant email)"
|
92 |
|
93 |
+
#: includes/class-wcpdf-settings.php:200
|
94 |
msgid "Customer Invoice email"
|
95 |
msgstr "Factuur (klant email)"
|
96 |
|
97 |
+
#: includes/class-wcpdf-settings.php:205
|
98 |
msgid "Attach invoice to:"
|
99 |
msgstr "Factuur als bijlage toevoegen aan:"
|
100 |
|
101 |
+
#: includes/class-wcpdf-settings.php:213
|
102 |
#, php-format
|
103 |
msgid ""
|
104 |
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
109 |
"controleer de rechten op deze folder! Zonder schrijfrechten kan de plugin "
|
110 |
"geen facturen emailen."
|
111 |
|
112 |
+
#: includes/class-wcpdf-settings.php:219
|
113 |
msgid "Enable invoice number column in the orders list"
|
114 |
msgstr "Schakel factuurnummer kolom in het bestellingen overzicht in"
|
115 |
|
116 |
+
#: includes/class-wcpdf-settings.php:257
|
117 |
msgid "PDF Template settings"
|
118 |
msgstr "PDF Template instellingen"
|
119 |
|
120 |
+
#: includes/class-wcpdf-settings.php:269
|
121 |
msgid "Choose a template"
|
122 |
msgstr "Kies een template"
|
123 |
|
124 |
+
#: includes/class-wcpdf-settings.php:277
|
125 |
#, php-format
|
126 |
msgid ""
|
127 |
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
130 |
"Wil je je eigen template gebruiken? Kopieer alle bestanden van <code>%s</"
|
131 |
"code> naar je (child-) theme in <code>%s</code> en pas ze aan naar je wensen."
|
132 |
|
133 |
+
#: includes/class-wcpdf-settings.php:283
|
134 |
msgid "Paper size"
|
135 |
msgstr "Papierformaat"
|
136 |
|
137 |
+
#: includes/class-wcpdf-settings.php:291
|
138 |
msgid "A4"
|
139 |
msgstr "A4"
|
140 |
|
141 |
+
#: includes/class-wcpdf-settings.php:292
|
142 |
msgid "Letter"
|
143 |
msgstr "Letter (US)"
|
144 |
|
145 |
+
#: includes/class-wcpdf-settings.php:299
|
146 |
msgid "Shop header/logo"
|
147 |
msgstr "Shop header/logo"
|
148 |
|
149 |
+
#: includes/class-wcpdf-settings.php:306
|
150 |
msgid "Select or upload your invoice header/logo"
|
151 |
msgstr "Selecteer of upload je factuur header/logo"
|
152 |
|
153 |
+
#: includes/class-wcpdf-settings.php:307
|
154 |
msgid "Set image"
|
155 |
msgstr "Stel afbeelding in"
|
156 |
|
157 |
+
#: includes/class-wcpdf-settings.php:308
|
158 |
msgid "Remove image"
|
159 |
msgstr "Verwijder afbeelding"
|
160 |
|
161 |
+
#: includes/class-wcpdf-settings.php:315
|
162 |
msgid "Shop Name"
|
163 |
msgstr "Shop Naam"
|
164 |
|
165 |
+
#: includes/class-wcpdf-settings.php:328
|
166 |
msgid "Shop Address"
|
167 |
msgstr "Shop Adres"
|
168 |
|
169 |
+
#: includes/class-wcpdf-settings.php:360
|
170 |
msgid "Footer: terms & conditions, policies, etc."
|
171 |
msgstr "Voettekst: algemene voorwaarden, retourenbeleid, etc."
|
172 |
|
173 |
+
#: includes/class-wcpdf-settings.php:375
|
174 |
msgid "Display invoice date"
|
175 |
msgstr "Geef factuurdatum weer"
|
176 |
|
177 |
+
#: includes/class-wcpdf-settings.php:388
|
178 |
msgid "Display built-in sequential invoice number"
|
179 |
msgstr "Geef ingebouwde doorlopende factuurnummers weer"
|
180 |
|
181 |
+
#: includes/class-wcpdf-settings.php:401
|
182 |
msgid "Next invoice number (without prefix/suffix etc.)"
|
183 |
msgstr "Volgend factuurnummer (zonder voor- of achtervoegsel etc.)"
|
184 |
|
185 |
+
#: includes/class-wcpdf-settings.php:409
|
186 |
msgid ""
|
187 |
"This is the number that will be used on the next invoice that is created. By "
|
188 |
"default, numbering starts from the WooCommerce Order Number of the first "
|
197 |
"hoogste huidige (PDF) factuurnummer zet, kan dit dubbele factuurnummers tot "
|
198 |
"gevolg hebben!"
|
199 |
|
200 |
+
#: includes/class-wcpdf-settings.php:415
|
201 |
msgid "Invoice number format"
|
202 |
msgstr "Factuurnummer format"
|
203 |
|
204 |
+
#: includes/class-wcpdf-settings.php:424
|
205 |
msgid "Prefix"
|
206 |
msgstr "Voorvoegsel"
|
207 |
|
208 |
+
#: includes/class-wcpdf-settings.php:426
|
209 |
msgid ""
|
210 |
"to use the order year and/or month, use [order_year] or [order_month] "
|
211 |
"respectively"
|
213 |
"gebruik [order_year] of [order_month] om het order jaar en/of maand te weer "
|
214 |
"te geven"
|
215 |
|
216 |
+
#: includes/class-wcpdf-settings.php:429
|
217 |
msgid "Suffix"
|
218 |
msgstr "Achtervoegsel"
|
219 |
|
220 |
+
#: includes/class-wcpdf-settings.php:434
|
221 |
msgid "Padding"
|
222 |
msgstr "Vulling"
|
223 |
|
224 |
+
#: includes/class-wcpdf-settings.php:436
|
225 |
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
226 |
msgstr ""
|
227 |
"voer hier het aantal cijfers in - vul hier \"6\" in om 42 als 000042 weer te "
|
228 |
"geven"
|
229 |
|
230 |
+
#: includes/class-wcpdf-settings.php:439
|
231 |
msgid ""
|
232 |
"note: if you have already created a custom invoice number format with a "
|
233 |
"filter, the above settings will be ignored"
|
235 |
"let op: als je al een format voor een factuurnummer hebt gemaakt met een "
|
236 |
"filter, worden de bovenstaande instellingen genegeerd"
|
237 |
|
238 |
+
#: includes/class-wcpdf-settings.php:446
|
239 |
msgid "Extra template fields"
|
240 |
msgstr "Extra templatevelden"
|
241 |
|
242 |
+
#: includes/class-wcpdf-settings.php:453
|
243 |
msgid "Extra field 1"
|
244 |
msgstr "Extra veld 1"
|
245 |
|
246 |
+
#: includes/class-wcpdf-settings.php:462
|
247 |
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
248 |
msgstr "Dit is voettekst kolom 1 in het <i>Modern (Premium)</i> template"
|
249 |
|
250 |
+
#: includes/class-wcpdf-settings.php:468
|
251 |
msgid "Extra field 2"
|
252 |
msgstr "Extra veld 2"
|
253 |
|
254 |
+
#: includes/class-wcpdf-settings.php:477
|
255 |
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
256 |
msgstr "Dit is voettekst kolom 2 in het <i>Modern (Premium)</i> template"
|
257 |
|
258 |
+
#: includes/class-wcpdf-settings.php:483
|
259 |
msgid "Extra field 3"
|
260 |
msgstr "Extra veld 3"
|
261 |
|
262 |
+
#: includes/class-wcpdf-settings.php:492
|
263 |
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
264 |
msgstr "Dit is voettekst kolom 3 in het <i>Modern (Premium)</i> template"
|
265 |
|
266 |
+
#: includes/class-wcpdf-settings.php:534
|
267 |
+
msgid "Debug settings"
|
268 |
+
msgstr "Debug instellingen"
|
269 |
+
|
270 |
+
#: includes/class-wcpdf-settings.php:541
|
271 |
+
msgid "Enable debug output"
|
272 |
+
msgstr "Debug uitvoer inschakelen"
|
273 |
+
|
274 |
+
#: includes/class-wcpdf-settings.php:548
|
275 |
+
msgid ""
|
276 |
+
"Enable this option to output plugin errors if you're getting a blank page or "
|
277 |
+
"other PDF generation issues"
|
278 |
+
msgstr ""
|
279 |
+
"Schakel deze optie in om pluginfouten weer te geven, wanneer je een lege "
|
280 |
+
"pagina krijgt of andere problemen hebt met het genereren van PDF."
|
281 |
+
|
282 |
+
#: includes/class-wcpdf-settings.php:554
|
283 |
+
msgid "Output to HTML"
|
284 |
+
msgstr "Uitvoer naar HTML"
|
285 |
+
|
286 |
+
#: includes/class-wcpdf-settings.php:561
|
287 |
+
msgid ""
|
288 |
+
"Send the template output as HTML to the browser instead of creating a PDF."
|
289 |
+
msgstr ""
|
290 |
+
"Stuur de uitvoer van de template als HTML naar de browser in plaats van een "
|
291 |
+
"PDF."
|
292 |
+
|
293 |
+
#: includes/class-wcpdf-settings.php:567
|
294 |
+
msgid "Use old tmp folder"
|
295 |
+
msgstr "Gebruik de oude tml folder"
|
296 |
+
|
297 |
+
#: includes/class-wcpdf-settings.php:574
|
298 |
+
msgid ""
|
299 |
+
"Before version 1.5 of PDF Invoices, temporary files were stored in the "
|
300 |
+
"plugin folder. This setting is only intended for backwards compatibility, "
|
301 |
+
"not recommended on new installs!"
|
302 |
+
msgstr ""
|
303 |
+
"Voor versie 1.5 van PDF Facturen werden tijdelijke bestanden opgeslagen in "
|
304 |
+
"de plugin map. Deze instelling is enkel bedoelde voor backwards "
|
305 |
+
"compatibiliteit, en niet aanbevolen op nieuwe installaties!"
|
306 |
+
|
307 |
+
#: includes/class-wcpdf-settings.php:818
|
308 |
msgid "Image resolution"
|
309 |
msgstr "Afbeeldings resolutie"
|
310 |
|
311 |
+
#: includes/class-wcpdf-settings.php:934
|
312 |
+
msgid ""
|
313 |
+
"<b>Warning!</b> The settings below are meant for debugging/development only. "
|
314 |
+
"Do not use them on a live website!"
|
315 |
+
msgstr ""
|
316 |
+
"<b>Waarschuwing!</b> Onderstaande instellingen zijn enkel bedoeld om fouten "
|
317 |
+
"op te sporen of om te testen. Gebruik ze niet op een live website!"
|
318 |
+
|
319 |
+
#: includes/class-wcpdf-settings.php:943
|
320 |
msgid ""
|
321 |
"These are used for the (optional) footer columns in the <em>Modern "
|
322 |
"(Premium)</em> template, but can also be used for other elements in your "
|
326 |
"<em>Modern (Premium)</em> template, maar kunnen ook gebruikt worden voor "
|
327 |
"andere elementen in je eigen custom sjabloon."
|
328 |
|
329 |
+
#: includes/class-wcpdf-writepanels.php:33
|
330 |
msgid "PDF Packing Slips"
|
331 |
msgstr "PDF Pakbonnen"
|
332 |
|
333 |
+
#: includes/class-wcpdf-writepanels.php:92
|
334 |
+
#: includes/class-wcpdf-writepanels.php:185
|
335 |
msgid "PDF Invoice"
|
336 |
msgstr "PDF factuur"
|
337 |
|
338 |
+
#: includes/class-wcpdf-writepanels.php:97
|
339 |
+
#: includes/class-wcpdf-writepanels.php:190
|
340 |
msgid "PDF Packing Slip"
|
341 |
msgstr "PDF Pakbon"
|
342 |
|
343 |
+
#: includes/class-wcpdf-writepanels.php:124
|
344 |
msgid "Invoice Number"
|
345 |
msgstr "Factuurnummer"
|
346 |
|
347 |
+
#: includes/class-wcpdf-writepanels.php:161
|
348 |
msgid "Download invoice (PDF)"
|
349 |
msgstr "Download factuur (PDF)"
|
350 |
|
351 |
+
#: includes/class-wcpdf-writepanels.php:172
|
352 |
msgid "Create PDF"
|
353 |
msgstr "Maak PDF"
|
354 |
|
355 |
+
#: includes/class-wcpdf-writepanels.php:233
|
356 |
msgid "PDF Invoice Number (unformatted!)"
|
357 |
msgstr "PDF Factuurnummer (zonder formatting!)"
|
358 |
|
359 |
+
#: includes/class-wcpdf-writepanels.php:236
|
360 |
#: templates/pdf/Simple/invoice.php:36
|
361 |
msgid "Invoice Date:"
|
362 |
msgstr "Factuurdatum:"
|
363 |
|
364 |
+
#: includes/class-wcpdf-writepanels.php:237
|
365 |
msgid "h"
|
366 |
msgstr "u"
|
367 |
|
368 |
+
#: includes/class-wcpdf-writepanels.php:237
|
369 |
msgid "m"
|
370 |
msgstr "m"
|
371 |
|
553 |
msgid "Customer Notes"
|
554 |
msgstr "Opmerking klant:"
|
555 |
|
556 |
+
#: woocommerce-pdf-invoices-packingslips.php:121
|
557 |
#, php-format
|
558 |
msgid ""
|
559 |
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
562 |
"WooCommerce PDF Invoices & Packing Slips vereist dat %sWooCommerce%s is "
|
563 |
"geïnstalleerd & geactiveerd!"
|
564 |
|
565 |
+
#: woocommerce-pdf-invoices-packingslips.php:296
|
566 |
+
#: woocommerce-pdf-invoices-packingslips.php:359
|
567 |
msgid "N/A"
|
568 |
msgstr "N/A"
|
569 |
|
570 |
+
#: woocommerce-pdf-invoices-packingslips.php:448
|
571 |
msgid "Payment method"
|
572 |
msgstr "Betaalmethode"
|
573 |
|
574 |
+
#: woocommerce-pdf-invoices-packingslips.php:459
|
575 |
msgid "Shipping method"
|
576 |
msgstr "Verzendmethode"
|
577 |
|
578 |
+
#: woocommerce-pdf-invoices-packingslips.php:574
|
579 |
msgid "Subtotal"
|
580 |
msgstr "Subtotaal"
|
581 |
|
582 |
+
#: woocommerce-pdf-invoices-packingslips.php:596
|
583 |
msgid "Shipping"
|
584 |
msgstr "Verzendkosten"
|
585 |
|
586 |
+
#: woocommerce-pdf-invoices-packingslips.php:641
|
587 |
msgid "Discount"
|
588 |
msgstr "Korting"
|
589 |
|
590 |
+
#: woocommerce-pdf-invoices-packingslips.php:680
|
591 |
msgid "VAT"
|
592 |
msgstr "BTW"
|
593 |
|
594 |
+
#: woocommerce-pdf-invoices-packingslips.php:717
|
595 |
msgid "Total ex. VAT"
|
596 |
msgstr "Totaal excl. BTW"
|
597 |
|
598 |
+
#: woocommerce-pdf-invoices-packingslips.php:720
|
599 |
msgid "Total"
|
600 |
msgstr "Totaal"
|
601 |
|
languages/wpo_wcpdf.pot
CHANGED
@@ -1,43 +1,43 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
|
4 |
-
"POT-Creation-Date: 2014-11
|
5 |
-
"PO-Revision-Date: 2014-11
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: WP Overnight <support@wpovernight.com>\n"
|
8 |
"Language: en_US\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
-
#: includes/class-wcpdf-export.php:
|
20 |
-
#: includes/class-wcpdf-export.php:
|
21 |
-
#: includes/class-wcpdf-export.php:
|
22 |
msgid "You do not have sufficient permissions to access this page."
|
23 |
msgstr ""
|
24 |
|
25 |
# This is a filename (prefix). do not use spaces or special characters!
|
26 |
-
#: includes/class-wcpdf-export.php:
|
27 |
msgid "invoice"
|
28 |
msgid_plural "invoices"
|
29 |
msgstr[0] ""
|
30 |
msgstr[1] ""
|
31 |
|
32 |
# This is a filename (prefix). do not use spaces or special characters!
|
33 |
-
#: includes/class-wcpdf-export.php:
|
34 |
msgid "packing-slip"
|
35 |
msgid_plural "packing-slips"
|
36 |
msgstr[0] ""
|
37 |
msgstr[1] ""
|
38 |
|
39 |
#: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
|
40 |
-
#: includes/class-wcpdf-writepanels.php:
|
41 |
msgid "PDF Invoices"
|
42 |
msgstr ""
|
43 |
|
@@ -53,51 +53,51 @@ msgstr ""
|
|
53 |
msgid "Template"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: includes/class-wcpdf-settings.php:
|
57 |
-
msgid "
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: includes/class-wcpdf-settings.php:
|
61 |
-
msgid "
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: includes/class-wcpdf-settings.php:
|
65 |
msgid "General settings"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: includes/class-wcpdf-settings.php:
|
69 |
msgid "How do you want to view the PDF?"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: includes/class-wcpdf-settings.php:
|
73 |
msgid "Download the PDF"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: includes/class-wcpdf-settings.php:
|
77 |
msgid "Open the PDF in a new browser tab/window"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: includes/class-wcpdf-settings.php:
|
81 |
msgid "Admin New Order email"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: includes/class-wcpdf-settings.php:
|
85 |
msgid "Customer Processing Order email"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: includes/class-wcpdf-settings.php:
|
89 |
msgid "Customer Completed Order email"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: includes/class-wcpdf-settings.php:
|
93 |
msgid "Customer Invoice email"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: includes/class-wcpdf-settings.php:
|
97 |
msgid "Attach invoice to:"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: includes/class-wcpdf-settings.php:
|
101 |
#, php-format
|
102 |
msgid ""
|
103 |
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
@@ -105,78 +105,78 @@ msgid ""
|
|
105 |
"plugin will not be able to email invoices."
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: includes/class-wcpdf-settings.php:
|
109 |
msgid "Enable invoice number column in the orders list"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: includes/class-wcpdf-settings.php:
|
113 |
msgid "PDF Template settings"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: includes/class-wcpdf-settings.php:
|
117 |
msgid "Choose a template"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: includes/class-wcpdf-settings.php:
|
121 |
#, php-format
|
122 |
msgid ""
|
123 |
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
124 |
"your (child) theme in <code>%s</code> to customize them"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: includes/class-wcpdf-settings.php:
|
128 |
msgid "Paper size"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: includes/class-wcpdf-settings.php:
|
132 |
msgid "A4"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: includes/class-wcpdf-settings.php:
|
136 |
msgid "Letter"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: includes/class-wcpdf-settings.php:
|
140 |
msgid "Shop header/logo"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: includes/class-wcpdf-settings.php:
|
144 |
msgid "Select or upload your invoice header/logo"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: includes/class-wcpdf-settings.php:
|
148 |
msgid "Set image"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: includes/class-wcpdf-settings.php:
|
152 |
msgid "Remove image"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: includes/class-wcpdf-settings.php:
|
156 |
msgid "Shop Name"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: includes/class-wcpdf-settings.php:
|
160 |
msgid "Shop Address"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: includes/class-wcpdf-settings.php:
|
164 |
msgid "Footer: terms & conditions, policies, etc."
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: includes/class-wcpdf-settings.php:
|
168 |
msgid "Display invoice date"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: includes/class-wcpdf-settings.php:
|
172 |
msgid "Display built-in sequential invoice number"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: includes/class-wcpdf-settings.php:
|
176 |
msgid "Next invoice number (without prefix/suffix etc.)"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/class-wcpdf-settings.php:
|
180 |
msgid ""
|
181 |
"This is the number that will be used on the next invoice that is created. By "
|
182 |
"default, numbering starts from the WooCommerce Order Number of the first "
|
@@ -185,117 +185,157 @@ msgid ""
|
|
185 |
"this could create double invoice numbers!"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: includes/class-wcpdf-settings.php:
|
189 |
msgid "Invoice number format"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: includes/class-wcpdf-settings.php:
|
193 |
msgid "Prefix"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: includes/class-wcpdf-settings.php:
|
197 |
msgid ""
|
198 |
"to use the order year and/or month, use [order_year] or [order_month] "
|
199 |
"respectively"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: includes/class-wcpdf-settings.php:
|
203 |
msgid "Suffix"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: includes/class-wcpdf-settings.php:
|
207 |
msgid "Padding"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: includes/class-wcpdf-settings.php:
|
211 |
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: includes/class-wcpdf-settings.php:
|
215 |
msgid ""
|
216 |
"note: if you have already created a custom invoice number format with a "
|
217 |
"filter, the above settings will be ignored"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: includes/class-wcpdf-settings.php:
|
221 |
msgid "Extra template fields"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: includes/class-wcpdf-settings.php:
|
225 |
msgid "Extra field 1"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/class-wcpdf-settings.php:
|
229 |
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/class-wcpdf-settings.php:
|
233 |
msgid "Extra field 2"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/class-wcpdf-settings.php:
|
237 |
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/class-wcpdf-settings.php:
|
241 |
msgid "Extra field 3"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: includes/class-wcpdf-settings.php:
|
245 |
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: includes/class-wcpdf-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
msgid "Image resolution"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/class-wcpdf-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
msgid ""
|
254 |
"These are used for the (optional) footer columns in the <em>Modern "
|
255 |
"(Premium)</em> template, but can also be used for other elements in your "
|
256 |
"custom template"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: includes/class-wcpdf-writepanels.php:
|
260 |
msgid "PDF Packing Slips"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: includes/class-wcpdf-writepanels.php:
|
264 |
-
#: includes/class-wcpdf-writepanels.php:
|
265 |
msgid "PDF Invoice"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: includes/class-wcpdf-writepanels.php:
|
269 |
-
#: includes/class-wcpdf-writepanels.php:
|
270 |
msgid "PDF Packing Slip"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: includes/class-wcpdf-writepanels.php:
|
274 |
msgid "Invoice Number"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/class-wcpdf-writepanels.php:
|
278 |
msgid "Download invoice (PDF)"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: includes/class-wcpdf-writepanels.php:
|
282 |
msgid "Create PDF"
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: includes/class-wcpdf-writepanels.php:
|
286 |
msgid "PDF Invoice Number (unformatted!)"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: includes/class-wcpdf-writepanels.php:
|
290 |
#: templates/pdf/Simple/invoice.php:36
|
291 |
msgid "Invoice Date:"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: includes/class-wcpdf-writepanels.php:
|
295 |
msgid "h"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: includes/class-wcpdf-writepanels.php:
|
299 |
msgid "m"
|
300 |
msgstr ""
|
301 |
|
@@ -468,46 +508,46 @@ msgstr ""
|
|
468 |
msgid "Customer Notes"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
472 |
#, php-format
|
473 |
msgid ""
|
474 |
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
475 |
"installed & activated!"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
479 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
480 |
msgid "N/A"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
484 |
msgid "Payment method"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
488 |
msgid "Shipping method"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
492 |
msgid "Subtotal"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
496 |
msgid "Shipping"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
500 |
msgid "Discount"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
504 |
msgid "VAT"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
508 |
msgid "Total ex. VAT"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: woocommerce-pdf-invoices-packingslips.php:
|
512 |
msgid "Total"
|
513 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: WooCommerce PDF Invoices & Packing Slips\n"
|
4 |
+
"POT-Creation-Date: 2014-12-11 16:48+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-12-11 16:50+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: WP Overnight <support@wpovernight.com>\n"
|
8 |
"Language: en_US\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.7.1\n"
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x;_n:1,2\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
+
#: includes/class-wcpdf-export.php:326 includes/class-wcpdf-export.php:331
|
20 |
+
#: includes/class-wcpdf-export.php:336 includes/class-wcpdf-export.php:347
|
21 |
+
#: includes/class-wcpdf-export.php:355
|
22 |
msgid "You do not have sufficient permissions to access this page."
|
23 |
msgstr ""
|
24 |
|
25 |
# This is a filename (prefix). do not use spaces or special characters!
|
26 |
+
#: includes/class-wcpdf-export.php:410
|
27 |
msgid "invoice"
|
28 |
msgid_plural "invoices"
|
29 |
msgstr[0] ""
|
30 |
msgstr[1] ""
|
31 |
|
32 |
# This is a filename (prefix). do not use spaces or special characters!
|
33 |
+
#: includes/class-wcpdf-export.php:414
|
34 |
msgid "packing-slip"
|
35 |
msgid_plural "packing-slips"
|
36 |
msgstr[0] ""
|
37 |
msgstr[1] ""
|
38 |
|
39 |
#: includes/class-wcpdf-settings.php:38 includes/class-wcpdf-settings.php:39
|
40 |
+
#: includes/class-wcpdf-writepanels.php:32
|
41 |
msgid "PDF Invoices"
|
42 |
msgstr ""
|
43 |
|
53 |
msgid "Template"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: includes/class-wcpdf-settings.php:97
|
57 |
+
msgid "Status"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: includes/class-wcpdf-settings.php:105
|
61 |
+
msgid "WooCommerce PDF Invoices"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: includes/class-wcpdf-settings.php:172
|
65 |
msgid "General settings"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: includes/class-wcpdf-settings.php:179
|
69 |
msgid "How do you want to view the PDF?"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/class-wcpdf-settings.php:187
|
73 |
msgid "Download the PDF"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: includes/class-wcpdf-settings.php:188
|
77 |
msgid "Open the PDF in a new browser tab/window"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: includes/class-wcpdf-settings.php:197
|
81 |
msgid "Admin New Order email"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/class-wcpdf-settings.php:198
|
85 |
msgid "Customer Processing Order email"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/class-wcpdf-settings.php:199
|
89 |
msgid "Customer Completed Order email"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: includes/class-wcpdf-settings.php:200
|
93 |
msgid "Customer Invoice email"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: includes/class-wcpdf-settings.php:205
|
97 |
msgid "Attach invoice to:"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/class-wcpdf-settings.php:213
|
101 |
#, php-format
|
102 |
msgid ""
|
103 |
"It looks like the temp folder (<code>%s</code>) is not writable, check the "
|
105 |
"plugin will not be able to email invoices."
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/class-wcpdf-settings.php:219
|
109 |
msgid "Enable invoice number column in the orders list"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: includes/class-wcpdf-settings.php:257
|
113 |
msgid "PDF Template settings"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: includes/class-wcpdf-settings.php:269
|
117 |
msgid "Choose a template"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: includes/class-wcpdf-settings.php:277
|
121 |
#, php-format
|
122 |
msgid ""
|
123 |
"Want to use your own template? Copy all the files from <code>%s</code> to "
|
124 |
"your (child) theme in <code>%s</code> to customize them"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: includes/class-wcpdf-settings.php:283
|
128 |
msgid "Paper size"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: includes/class-wcpdf-settings.php:291
|
132 |
msgid "A4"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: includes/class-wcpdf-settings.php:292
|
136 |
msgid "Letter"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: includes/class-wcpdf-settings.php:299
|
140 |
msgid "Shop header/logo"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: includes/class-wcpdf-settings.php:306
|
144 |
msgid "Select or upload your invoice header/logo"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: includes/class-wcpdf-settings.php:307
|
148 |
msgid "Set image"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: includes/class-wcpdf-settings.php:308
|
152 |
msgid "Remove image"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: includes/class-wcpdf-settings.php:315
|
156 |
msgid "Shop Name"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: includes/class-wcpdf-settings.php:328
|
160 |
msgid "Shop Address"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: includes/class-wcpdf-settings.php:360
|
164 |
msgid "Footer: terms & conditions, policies, etc."
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: includes/class-wcpdf-settings.php:375
|
168 |
msgid "Display invoice date"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: includes/class-wcpdf-settings.php:388
|
172 |
msgid "Display built-in sequential invoice number"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: includes/class-wcpdf-settings.php:401
|
176 |
msgid "Next invoice number (without prefix/suffix etc.)"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: includes/class-wcpdf-settings.php:409
|
180 |
msgid ""
|
181 |
"This is the number that will be used on the next invoice that is created. By "
|
182 |
"default, numbering starts from the WooCommerce Order Number of the first "
|
185 |
"this could create double invoice numbers!"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: includes/class-wcpdf-settings.php:415
|
189 |
msgid "Invoice number format"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: includes/class-wcpdf-settings.php:424
|
193 |
msgid "Prefix"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: includes/class-wcpdf-settings.php:426
|
197 |
msgid ""
|
198 |
"to use the order year and/or month, use [order_year] or [order_month] "
|
199 |
"respectively"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: includes/class-wcpdf-settings.php:429
|
203 |
msgid "Suffix"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: includes/class-wcpdf-settings.php:434
|
207 |
msgid "Padding"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: includes/class-wcpdf-settings.php:436
|
211 |
msgid "enter the number of digits here - enter \"6\" to display 42 as 000042"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: includes/class-wcpdf-settings.php:439
|
215 |
msgid ""
|
216 |
"note: if you have already created a custom invoice number format with a "
|
217 |
"filter, the above settings will be ignored"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: includes/class-wcpdf-settings.php:446
|
221 |
msgid "Extra template fields"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: includes/class-wcpdf-settings.php:453
|
225 |
msgid "Extra field 1"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: includes/class-wcpdf-settings.php:462
|
229 |
msgid "This is footer column 1 in the <i>Modern (Premium)</i> template"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: includes/class-wcpdf-settings.php:468
|
233 |
msgid "Extra field 2"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: includes/class-wcpdf-settings.php:477
|
237 |
msgid "This is footer column 2 in the <i>Modern (Premium)</i> template"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: includes/class-wcpdf-settings.php:483
|
241 |
msgid "Extra field 3"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: includes/class-wcpdf-settings.php:492
|
245 |
msgid "This is footer column 3 in the <i>Modern (Premium)</i> template"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/class-wcpdf-settings.php:534
|
249 |
+
msgid "Debug settings"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: includes/class-wcpdf-settings.php:541
|
253 |
+
msgid "Enable debug output"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: includes/class-wcpdf-settings.php:548
|
257 |
+
msgid ""
|
258 |
+
"Enable this option to output plugin errors if you're getting a blank page or "
|
259 |
+
"other PDF generation issues"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: includes/class-wcpdf-settings.php:554
|
263 |
+
msgid "Output to HTML"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#: includes/class-wcpdf-settings.php:561
|
267 |
+
msgid ""
|
268 |
+
"Send the template output as HTML to the browser instead of creating a PDF."
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: includes/class-wcpdf-settings.php:567
|
272 |
+
msgid "Use old tmp folder"
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: includes/class-wcpdf-settings.php:574
|
276 |
+
msgid ""
|
277 |
+
"Before version 1.5 of PDF Invoices, temporary files were stored in the "
|
278 |
+
"plugin folder. This setting is only intended for backwards compatibility, "
|
279 |
+
"not recommended on new installs!"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: includes/class-wcpdf-settings.php:818
|
283 |
msgid "Image resolution"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: includes/class-wcpdf-settings.php:934
|
287 |
+
msgid ""
|
288 |
+
"<b>Warning!</b> The settings below are meant for debugging/development only. "
|
289 |
+
"Do not use them on a live website!"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: includes/class-wcpdf-settings.php:943
|
293 |
msgid ""
|
294 |
"These are used for the (optional) footer columns in the <em>Modern "
|
295 |
"(Premium)</em> template, but can also be used for other elements in your "
|
296 |
"custom template"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: includes/class-wcpdf-writepanels.php:33
|
300 |
msgid "PDF Packing Slips"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: includes/class-wcpdf-writepanels.php:92
|
304 |
+
#: includes/class-wcpdf-writepanels.php:185
|
305 |
msgid "PDF Invoice"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: includes/class-wcpdf-writepanels.php:97
|
309 |
+
#: includes/class-wcpdf-writepanels.php:190
|
310 |
msgid "PDF Packing Slip"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: includes/class-wcpdf-writepanels.php:124
|
314 |
msgid "Invoice Number"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: includes/class-wcpdf-writepanels.php:161
|
318 |
msgid "Download invoice (PDF)"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: includes/class-wcpdf-writepanels.php:172
|
322 |
msgid "Create PDF"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: includes/class-wcpdf-writepanels.php:233
|
326 |
msgid "PDF Invoice Number (unformatted!)"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: includes/class-wcpdf-writepanels.php:236
|
330 |
#: templates/pdf/Simple/invoice.php:36
|
331 |
msgid "Invoice Date:"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/class-wcpdf-writepanels.php:237
|
335 |
msgid "h"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/class-wcpdf-writepanels.php:237
|
339 |
msgid "m"
|
340 |
msgstr ""
|
341 |
|
508 |
msgid "Customer Notes"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: woocommerce-pdf-invoices-packingslips.php:121
|
512 |
#, php-format
|
513 |
msgid ""
|
514 |
"WooCommerce PDF Invoices & Packing Slips requires %sWooCommerce%s to be "
|
515 |
"installed & activated!"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: woocommerce-pdf-invoices-packingslips.php:296
|
519 |
+
#: woocommerce-pdf-invoices-packingslips.php:359
|
520 |
msgid "N/A"
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: woocommerce-pdf-invoices-packingslips.php:448
|
524 |
msgid "Payment method"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: woocommerce-pdf-invoices-packingslips.php:459
|
528 |
msgid "Shipping method"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: woocommerce-pdf-invoices-packingslips.php:574
|
532 |
msgid "Subtotal"
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: woocommerce-pdf-invoices-packingslips.php:596
|
536 |
msgid "Shipping"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: woocommerce-pdf-invoices-packingslips.php:641
|
540 |
msgid "Discount"
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: woocommerce-pdf-invoices-packingslips.php:680
|
544 |
msgid "VAT"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: woocommerce-pdf-invoices-packingslips.php:717
|
548 |
msgid "Total ex. VAT"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: woocommerce-pdf-invoices-packingslips.php:720
|
552 |
msgid "Total"
|
553 |
msgstr ""
|
lib/dompdf/dompdf_config.custom.inc.php
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
//define("DOMPDF_CHROOT", DOMPDF_DIR);
|
4 |
-
//define("DOMPDF_FONT_DIR", DOMPDF_DIR."/lib/fonts/");
|
5 |
-
//define("DOMPDF_FONT_CACHE", DOMPDF_DIR."/lib/fonts/");
|
6 |
//define("DOMPDF_UNICODE_ENABLED", true);
|
7 |
//define("DOMPDF_PDF_BACKEND", "PDFLib");
|
8 |
//define("DOMPDF_DEFAULT_MEDIA_TYPE", "print");
|
1 |
<?php
|
2 |
+
global $wpo_wcpdf;
|
3 |
+
if ( is_object($wpo_wcpdf) ) {
|
4 |
+
define("DOMPDF_TEMP_DIR", $wpo_wcpdf->export->tmp_path('DOMPDF_TEMP_DIR') );
|
5 |
+
define("DOMPDF_FONT_DIR", $wpo_wcpdf->export->tmp_path('DOMPDF_FONT_DIR') ); //needs trailing slash!
|
6 |
+
define("DOMPDF_FONT_CACHE", $wpo_wcpdf->export->tmp_path('DOMPDF_FONT_CACHE') );
|
7 |
+
}
|
8 |
+
|
9 |
//define("DOMPDF_CHROOT", DOMPDF_DIR);
|
|
|
|
|
10 |
//define("DOMPDF_UNICODE_ENABLED", true);
|
11 |
//define("DOMPDF_PDF_BACKEND", "PDFLib");
|
12 |
//define("DOMPDF_DEFAULT_MEDIA_TYPE", "print");
|
lib/dompdf/index.php
CHANGED
@@ -1 +0,0 @@
|
|
1 |
-
<?php header("Location: www/"); ?>
|
|
lib/dompdf/lib/php-font-lib/index.php
CHANGED
@@ -1 +0,0 @@
|
|
1 |
-
<?php header("Location: www/"); ?>
|
|
lib/dompdf/lib/php-font-lib/www/.htaccess
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
allow from all
|
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_flat_0_333333_40x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_flat_65_ffffff_40x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_flat_75_ffffff_40x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-icons_004276_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-icons_cc0000_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/images/ui-icons_ffffff_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/blitzer/jquery-ui-1.8.14.custom.css
DELETED
@@ -1,568 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* jQuery UI CSS Framework 1.8.14
|
3 |
-
*
|
4 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
-
* http://jquery.org/license
|
7 |
-
*
|
8 |
-
* http://docs.jquery.com/UI/Theming/API
|
9 |
-
*/
|
10 |
-
|
11 |
-
/* Layout helpers
|
12 |
-
----------------------------------*/
|
13 |
-
.ui-helper-hidden { display: none; }
|
14 |
-
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
15 |
-
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
16 |
-
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
17 |
-
.ui-helper-clearfix { display: inline-block; }
|
18 |
-
/* required comment for clearfix to work in Opera \*/
|
19 |
-
* html .ui-helper-clearfix { height:1%; }
|
20 |
-
.ui-helper-clearfix { display:block; }
|
21 |
-
/* end clearfix */
|
22 |
-
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
23 |
-
|
24 |
-
|
25 |
-
/* Interaction Cues
|
26 |
-
----------------------------------*/
|
27 |
-
.ui-state-disabled { cursor: default !important; }
|
28 |
-
|
29 |
-
|
30 |
-
/* Icons
|
31 |
-
----------------------------------*/
|
32 |
-
|
33 |
-
/* states and images */
|
34 |
-
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
35 |
-
|
36 |
-
|
37 |
-
/* Misc visuals
|
38 |
-
----------------------------------*/
|
39 |
-
|
40 |
-
/* Overlays */
|
41 |
-
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
42 |
-
|
43 |
-
|
44 |
-
/*
|
45 |
-
* jQuery UI CSS Framework 1.8.14
|
46 |
-
*
|
47 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
48 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
49 |
-
* http://jquery.org/license
|
50 |
-
*
|
51 |
-
* http://docs.jquery.com/UI/Theming/API
|
52 |
-
*
|
53 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial,sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=cc0000&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=15&borderColorHeader=e3a1a1&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=eeeeee&fcContent=333333&iconColorContent=cc0000&bgColorDefault=eeeeee&bgTextureDefault=04_highlight_hard.png&bgImgOpacityDefault=100&borderColorDefault=d8dcdf&fcDefault=004276&iconColorDefault=cc0000&bgColorHover=f6f6f6&bgTextureHover=04_highlight_hard.png&bgImgOpacityHover=100&borderColorHover=cdd5da&fcHover=111111&iconColorHover=cc0000&bgColorActive=ffffff&bgTextureActive=01_flat.png&bgImgOpacityActive=65&borderColorActive=eeeeee&fcActive=cc0000&iconColorActive=cc0000&bgColorHighlight=fbf8ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcd3a1&fcHighlight=444444&iconColorHighlight=004276&bgColorError=f3d8d8&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=75&borderColorError=cc0000&fcError=2e2e2e&iconColorError=cc0000&bgColorOverlay=a6a6a6&bgTextureOverlay=09_dots_small.png&bgImgOpacityOverlay=65&opacityOverlay=40&bgColorShadow=333333&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=10&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
54 |
-
*/
|
55 |
-
|
56 |
-
|
57 |
-
/* Component containers
|
58 |
-
----------------------------------*/
|
59 |
-
.ui-widget { font-family: Arial,sans-serif; font-size: 1.1em; }
|
60 |
-
.ui-widget .ui-widget { font-size: 1em; }
|
61 |
-
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,sans-serif; font-size: 1em; }
|
62 |
-
.ui-widget-content { border: 1px solid #eeeeee; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #333333; }
|
63 |
-
.ui-widget-content a { color: #333333; }
|
64 |
-
.ui-widget-header { border: 1px solid #e3a1a1; background: #cc0000 url(images/ui-bg_highlight-soft_15_cc0000_1x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
|
65 |
-
.ui-widget-header a { color: #ffffff; }
|
66 |
-
|
67 |
-
/* Interaction states
|
68 |
-
----------------------------------*/
|
69 |
-
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d8dcdf; background: #eeeeee url(images/ui-bg_highlight-hard_100_eeeeee_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #004276; }
|
70 |
-
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #004276; text-decoration: none; }
|
71 |
-
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #cdd5da; background: #f6f6f6 url(images/ui-bg_highlight-hard_100_f6f6f6_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #111111; }
|
72 |
-
.ui-state-hover a, .ui-state-hover a:hover { color: #111111; text-decoration: none; }
|
73 |
-
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #eeeeee; background: #ffffff url(images/ui-bg_flat_65_ffffff_40x100.png) 50% 50% repeat-x; font-weight: bold; color: #cc0000; }
|
74 |
-
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #cc0000; text-decoration: none; }
|
75 |
-
.ui-widget :active { outline: none; }
|
76 |
-
|
77 |
-
/* Interaction Cues
|
78 |
-
----------------------------------*/
|
79 |
-
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcd3a1; background: #fbf8ee url(images/ui-bg_glass_55_fbf8ee_1x400.png) 50% 50% repeat-x; color: #444444; }
|
80 |
-
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #444444; }
|
81 |
-
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cc0000; background: #f3d8d8 url(images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png) 50% 50% repeat; color: #2e2e2e; }
|
82 |
-
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #2e2e2e; }
|
83 |
-
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #2e2e2e; }
|
84 |
-
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
85 |
-
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
86 |
-
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
87 |
-
|
88 |
-
/* Icons
|
89 |
-
----------------------------------*/
|
90 |
-
|
91 |
-
/* states and images */
|
92 |
-
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_cc0000_256x240.png); }
|
93 |
-
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }
|
94 |
-
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
|
95 |
-
.ui-state-default .ui-icon { background-image: url(images/ui-icons_cc0000_256x240.png); }
|
96 |
-
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }
|
97 |
-
.ui-state-active .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }
|
98 |
-
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_004276_256x240.png); }
|
99 |
-
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }
|
100 |
-
|
101 |
-
/* positioning */
|
102 |
-
.ui-icon-carat-1-n { background-position: 0 0; }
|
103 |
-
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
104 |
-
.ui-icon-carat-1-e { background-position: -32px 0; }
|
105 |
-
.ui-icon-carat-1-se { background-position: -48px 0; }
|
106 |
-
.ui-icon-carat-1-s { background-position: -64px 0; }
|
107 |
-
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
108 |
-
.ui-icon-carat-1-w { background-position: -96px 0; }
|
109 |
-
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
110 |
-
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
111 |
-
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
112 |
-
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
113 |
-
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
114 |
-
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
115 |
-
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
116 |
-
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
117 |
-
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
118 |
-
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
119 |
-
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
120 |
-
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
121 |
-
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
122 |
-
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
123 |
-
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
124 |
-
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
125 |
-
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
126 |
-
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
127 |
-
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
128 |
-
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
129 |
-
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
130 |
-
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
131 |
-
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
132 |
-
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
133 |
-
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
134 |
-
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
135 |
-
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
136 |
-
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
137 |
-
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
138 |
-
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
139 |
-
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
140 |
-
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
141 |
-
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
142 |
-
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
143 |
-
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
144 |
-
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
145 |
-
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
146 |
-
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
147 |
-
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
148 |
-
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
149 |
-
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
150 |
-
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
151 |
-
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
152 |
-
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
153 |
-
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
154 |
-
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
155 |
-
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
156 |
-
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
157 |
-
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
158 |
-
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
159 |
-
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
160 |
-
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
161 |
-
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
162 |
-
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
163 |
-
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
164 |
-
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
165 |
-
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
166 |
-
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
167 |
-
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
168 |
-
.ui-icon-extlink { background-position: -32px -80px; }
|
169 |
-
.ui-icon-newwin { background-position: -48px -80px; }
|
170 |
-
.ui-icon-refresh { background-position: -64px -80px; }
|
171 |
-
.ui-icon-shuffle { background-position: -80px -80px; }
|
172 |
-
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
173 |
-
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
174 |
-
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
175 |
-
.ui-icon-folder-open { background-position: -16px -96px; }
|
176 |
-
.ui-icon-document { background-position: -32px -96px; }
|
177 |
-
.ui-icon-document-b { background-position: -48px -96px; }
|
178 |
-
.ui-icon-note { background-position: -64px -96px; }
|
179 |
-
.ui-icon-mail-closed { background-position: -80px -96px; }
|
180 |
-
.ui-icon-mail-open { background-position: -96px -96px; }
|
181 |
-
.ui-icon-suitcase { background-position: -112px -96px; }
|
182 |
-
.ui-icon-comment { background-position: -128px -96px; }
|
183 |
-
.ui-icon-person { background-position: -144px -96px; }
|
184 |
-
.ui-icon-print { background-position: -160px -96px; }
|
185 |
-
.ui-icon-trash { background-position: -176px -96px; }
|
186 |
-
.ui-icon-locked { background-position: -192px -96px; }
|
187 |
-
.ui-icon-unlocked { background-position: -208px -96px; }
|
188 |
-
.ui-icon-bookmark { background-position: -224px -96px; }
|
189 |
-
.ui-icon-tag { background-position: -240px -96px; }
|
190 |
-
.ui-icon-home { background-position: 0 -112px; }
|
191 |
-
.ui-icon-flag { background-position: -16px -112px; }
|
192 |
-
.ui-icon-calendar { background-position: -32px -112px; }
|
193 |
-
.ui-icon-cart { background-position: -48px -112px; }
|
194 |
-
.ui-icon-pencil { background-position: -64px -112px; }
|
195 |
-
.ui-icon-clock { background-position: -80px -112px; }
|
196 |
-
.ui-icon-disk { background-position: -96px -112px; }
|
197 |
-
.ui-icon-calculator { background-position: -112px -112px; }
|
198 |
-
.ui-icon-zoomin { background-position: -128px -112px; }
|
199 |
-
.ui-icon-zoomout { background-position: -144px -112px; }
|
200 |
-
.ui-icon-search { background-position: -160px -112px; }
|
201 |
-
.ui-icon-wrench { background-position: -176px -112px; }
|
202 |
-
.ui-icon-gear { background-position: -192px -112px; }
|
203 |
-
.ui-icon-heart { background-position: -208px -112px; }
|
204 |
-
.ui-icon-star { background-position: -224px -112px; }
|
205 |
-
.ui-icon-link { background-position: -240px -112px; }
|
206 |
-
.ui-icon-cancel { background-position: 0 -128px; }
|
207 |
-
.ui-icon-plus { background-position: -16px -128px; }
|
208 |
-
.ui-icon-plusthick { background-position: -32px -128px; }
|
209 |
-
.ui-icon-minus { background-position: -48px -128px; }
|
210 |
-
.ui-icon-minusthick { background-position: -64px -128px; }
|
211 |
-
.ui-icon-close { background-position: -80px -128px; }
|
212 |
-
.ui-icon-closethick { background-position: -96px -128px; }
|
213 |
-
.ui-icon-key { background-position: -112px -128px; }
|
214 |
-
.ui-icon-lightbulb { background-position: -128px -128px; }
|
215 |
-
.ui-icon-scissors { background-position: -144px -128px; }
|
216 |
-
.ui-icon-clipboard { background-position: -160px -128px; }
|
217 |
-
.ui-icon-copy { background-position: -176px -128px; }
|
218 |
-
.ui-icon-contact { background-position: -192px -128px; }
|
219 |
-
.ui-icon-image { background-position: -208px -128px; }
|
220 |
-
.ui-icon-video { background-position: -224px -128px; }
|
221 |
-
.ui-icon-script { background-position: -240px -128px; }
|
222 |
-
.ui-icon-alert { background-position: 0 -144px; }
|
223 |
-
.ui-icon-info { background-position: -16px -144px; }
|
224 |
-
.ui-icon-notice { background-position: -32px -144px; }
|
225 |
-
.ui-icon-help { background-position: -48px -144px; }
|
226 |
-
.ui-icon-check { background-position: -64px -144px; }
|
227 |
-
.ui-icon-bullet { background-position: -80px -144px; }
|
228 |
-
.ui-icon-radio-off { background-position: -96px -144px; }
|
229 |
-
.ui-icon-radio-on { background-position: -112px -144px; }
|
230 |
-
.ui-icon-pin-w { background-position: -128px -144px; }
|
231 |
-
.ui-icon-pin-s { background-position: -144px -144px; }
|
232 |
-
.ui-icon-play { background-position: 0 -160px; }
|
233 |
-
.ui-icon-pause { background-position: -16px -160px; }
|
234 |
-
.ui-icon-seek-next { background-position: -32px -160px; }
|
235 |
-
.ui-icon-seek-prev { background-position: -48px -160px; }
|
236 |
-
.ui-icon-seek-end { background-position: -64px -160px; }
|
237 |
-
.ui-icon-seek-start { background-position: -80px -160px; }
|
238 |
-
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
239 |
-
.ui-icon-seek-first { background-position: -80px -160px; }
|
240 |
-
.ui-icon-stop { background-position: -96px -160px; }
|
241 |
-
.ui-icon-eject { background-position: -112px -160px; }
|
242 |
-
.ui-icon-volume-off { background-position: -128px -160px; }
|
243 |
-
.ui-icon-volume-on { background-position: -144px -160px; }
|
244 |
-
.ui-icon-power { background-position: 0 -176px; }
|
245 |
-
.ui-icon-signal-diag { background-position: -16px -176px; }
|
246 |
-
.ui-icon-signal { background-position: -32px -176px; }
|
247 |
-
.ui-icon-battery-0 { background-position: -48px -176px; }
|
248 |
-
.ui-icon-battery-1 { background-position: -64px -176px; }
|
249 |
-
.ui-icon-battery-2 { background-position: -80px -176px; }
|
250 |
-
.ui-icon-battery-3 { background-position: -96px -176px; }
|
251 |
-
.ui-icon-circle-plus { background-position: 0 -192px; }
|
252 |
-
.ui-icon-circle-minus { background-position: -16px -192px; }
|
253 |
-
.ui-icon-circle-close { background-position: -32px -192px; }
|
254 |
-
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
255 |
-
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
256 |
-
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
257 |
-
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
258 |
-
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
259 |
-
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
260 |
-
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
261 |
-
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
262 |
-
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
263 |
-
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
264 |
-
.ui-icon-circle-check { background-position: -208px -192px; }
|
265 |
-
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
266 |
-
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
267 |
-
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
268 |
-
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
269 |
-
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
270 |
-
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
271 |
-
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
272 |
-
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
273 |
-
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
274 |
-
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
275 |
-
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
276 |
-
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
277 |
-
|
278 |
-
|
279 |
-
/* Misc visuals
|
280 |
-
----------------------------------*/
|
281 |
-
|
282 |
-
/* Corner radius */
|
283 |
-
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-left-radius: 6px; }
|
284 |
-
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -khtml-border-top-right-radius: 6px; border-top-right-radius: 6px; }
|
285 |
-
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
|
286 |
-
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
|
287 |
-
|
288 |
-
/* Overlays */
|
289 |
-
.ui-widget-overlay { background: #a6a6a6 url(images/ui-bg_dots-small_65_a6a6a6_2x2.png) 50% 50% repeat; opacity: .40;filter:Alpha(Opacity=40); }
|
290 |
-
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #333333 url(images/ui-bg_flat_0_333333_40x100.png) 50% 50% repeat-x; opacity: .10;filter:Alpha(Opacity=10); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
|
291 |
-
* jQuery UI Resizable 1.8.14
|
292 |
-
*
|
293 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
294 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
295 |
-
* http://jquery.org/license
|
296 |
-
*
|
297 |
-
* http://docs.jquery.com/UI/Resizable#theming
|
298 |
-
*/
|
299 |
-
.ui-resizable { position: relative;}
|
300 |
-
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
|
301 |
-
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
302 |
-
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
303 |
-
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
304 |
-
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
305 |
-
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
306 |
-
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
307 |
-
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
308 |
-
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
309 |
-
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
|
310 |
-
* jQuery UI Selectable 1.8.14
|
311 |
-
*
|
312 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
313 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
314 |
-
* http://jquery.org/license
|
315 |
-
*
|
316 |
-
* http://docs.jquery.com/UI/Selectable#theming
|
317 |
-
*/
|
318 |
-
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
319 |
-
/*
|
320 |
-
* jQuery UI Accordion 1.8.14
|
321 |
-
*
|
322 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
323 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
324 |
-
* http://jquery.org/license
|
325 |
-
*
|
326 |
-
* http://docs.jquery.com/UI/Accordion#theming
|
327 |
-
*/
|
328 |
-
/* IE/Win - Fix animation bug - #4615 */
|
329 |
-
.ui-accordion { width: 100%; }
|
330 |
-
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
331 |
-
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
332 |
-
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
333 |
-
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
334 |
-
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
335 |
-
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
336 |
-
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
337 |
-
.ui-accordion .ui-accordion-content-active { display: block; }
|
338 |
-
/*
|
339 |
-
* jQuery UI Autocomplete 1.8.14
|
340 |
-
*
|
341 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
342 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
343 |
-
* http://jquery.org/license
|
344 |
-
*
|
345 |
-
* http://docs.jquery.com/UI/Autocomplete#theming
|
346 |
-
*/
|
347 |
-
.ui-autocomplete { position: absolute; cursor: default; }
|
348 |
-
|
349 |
-
/* workarounds */
|
350 |
-
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
351 |
-
|
352 |
-
/*
|
353 |
-
* jQuery UI Menu 1.8.14
|
354 |
-
*
|
355 |
-
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
356 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
357 |
-
* http://jquery.org/license
|
358 |
-
*
|
359 |
-
* http://docs.jquery.com/UI/Menu#theming
|
360 |
-
*/
|
361 |
-
.ui-menu {
|
362 |
-
list-style:none;
|
363 |
-
padding: 2px;
|
364 |
-
margin: 0;
|
365 |
-
display:block;
|
366 |
-
float: left;
|
367 |
-
}
|
368 |
-
.ui-menu .ui-menu {
|
369 |
-
margin-top: -3px;
|
370 |
-
}
|
371 |
-
.ui-menu .ui-menu-item {
|
372 |
-
margin:0;
|
373 |
-
padding: 0;
|
374 |
-
zoom: 1;
|
375 |
-
float: left;
|
376 |
-
clear: left;
|
377 |
-
width: 100%;
|
378 |
-
}
|
379 |
-
.ui-menu .ui-menu-item a {
|
380 |
-
text-decoration:none;
|
381 |
-
display:block;
|
382 |
-
padding:.2em .4em;
|
383 |
-
line-height:1.5;
|
384 |
-
zoom:1;
|
385 |
-
}
|
386 |
-
.ui-menu .ui-menu-item a.ui-state-hover,
|
387 |
-
.ui-menu .ui-menu-item a.ui-state-active {
|
388 |
-
font-weight: normal;
|
389 |
-
margin: -1px;
|
390 |
-
}
|
391 |
-
/*
|
392 |
-
* jQuery UI Button 1.8.14
|
393 |
-
*
|
394 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
395 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
396 |
-
* http://jquery.org/license
|
397 |
-
*
|
398 |
-
* http://docs.jquery.com/UI/Button#theming
|
399 |
-
*/
|
400 |
-
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
401 |
-
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
402 |
-
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
403 |
-
.ui-button-icons-only { width: 3.4em; }
|
404 |
-
button.ui-button-icons-only { width: 3.7em; }
|
405 |
-
|
406 |
-
/*button text element */
|
407 |
-
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
408 |
-
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
409 |
-
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
410 |
-
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
411 |
-
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
412 |
-
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
413 |
-
/* no icon support for input elements, provide padding by default */
|
414 |
-
input.ui-button { padding: .4em 1em; }
|
415 |
-
|
416 |
-
/*button icon element(s) */
|
417 |
-
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
418 |
-
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
419 |
-
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
420 |
-
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
421 |
-
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
422 |
-
|
423 |
-
/*button sets*/
|
424 |
-
.ui-buttonset { margin-right: 7px; }
|
425 |
-
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
426 |
-
|
427 |
-
/* workarounds */
|
428 |
-
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
429 |
-
/*
|
430 |
-
* jQuery UI Dialog 1.8.14
|
431 |
-
*
|
432 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
433 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
434 |
-
* http://jquery.org/license
|
435 |
-
*
|
436 |
-
* http://docs.jquery.com/UI/Dialog#theming
|
437 |
-
*/
|
438 |
-
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
439 |
-
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
440 |
-
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
441 |
-
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
442 |
-
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
443 |
-
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
444 |
-
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
445 |
-
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
446 |
-
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
447 |
-
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
448 |
-
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
449 |
-
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
450 |
-
/*
|
451 |
-
* jQuery UI Slider 1.8.14
|
452 |
-
*
|
453 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
454 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
455 |
-
* http://jquery.org/license
|
456 |
-
*
|
457 |
-
* http://docs.jquery.com/UI/Slider#theming
|
458 |
-
*/
|
459 |
-
.ui-slider { position: relative; text-align: left; }
|
460 |
-
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
461 |
-
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
462 |
-
|
463 |
-
.ui-slider-horizontal { height: .8em; }
|
464 |
-
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
465 |
-
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
466 |
-
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
467 |
-
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
468 |
-
|
469 |
-
.ui-slider-vertical { width: .8em; height: 100px; }
|
470 |
-
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
471 |
-
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
472 |
-
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
473 |
-
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
|
474 |
-
* jQuery UI Tabs 1.8.14
|
475 |
-
*
|
476 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
477 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
478 |
-
* http://jquery.org/license
|
479 |
-
*
|
480 |
-
* http://docs.jquery.com/UI/Tabs#theming
|
481 |
-
*/
|
482 |
-
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
483 |
-
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
484 |
-
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
485 |
-
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
486 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
487 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
488 |
-
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
489 |
-
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
490 |
-
.ui-tabs .ui-tabs-hide { display: none !important; }
|
491 |
-
/*
|
492 |
-
* jQuery UI Datepicker 1.8.14
|
493 |
-
*
|
494 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
495 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
496 |
-
* http://jquery.org/license
|
497 |
-
*
|
498 |
-
* http://docs.jquery.com/UI/Datepicker#theming
|
499 |
-
*/
|
500 |
-
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
501 |
-
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
502 |
-
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
503 |
-
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
504 |
-
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
505 |
-
.ui-datepicker .ui-datepicker-next { right:2px; }
|
506 |
-
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
507 |
-
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
508 |
-
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
509 |
-
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
510 |
-
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
511 |
-
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
512 |
-
.ui-datepicker select.ui-datepicker-month,
|
513 |
-
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
514 |
-
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
515 |
-
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
516 |
-
.ui-datepicker td { border: 0; padding: 1px; }
|
517 |
-
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
518 |
-
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
519 |
-
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
520 |
-
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
521 |
-
|
522 |
-
/* with multiple calendars */
|
523 |
-
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
524 |
-
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
525 |
-
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
526 |
-
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
527 |
-
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
528 |
-
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
529 |
-
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
530 |
-
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
531 |
-
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
532 |
-
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
533 |
-
|
534 |
-
/* RTL support */
|
535 |
-
.ui-datepicker-rtl { direction: rtl; }
|
536 |
-
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
537 |
-
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
538 |
-
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
539 |
-
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
540 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
541 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
542 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
543 |
-
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
544 |
-
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
545 |
-
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
546 |
-
|
547 |
-
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
548 |
-
.ui-datepicker-cover {
|
549 |
-
display: none; /*sorry for IE5*/
|
550 |
-
display/**/: block; /*sorry for IE5*/
|
551 |
-
position: absolute; /*must have*/
|
552 |
-
z-index: -1; /*must have*/
|
553 |
-
filter: mask(); /*must have*/
|
554 |
-
top: -4px; /*must have*/
|
555 |
-
left: -4px; /*must have*/
|
556 |
-
width: 200px; /*must have*/
|
557 |
-
height: 200px; /*must have*/
|
558 |
-
}/*
|
559 |
-
* jQuery UI Progressbar 1.8.14
|
560 |
-
*
|
561 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
562 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
563 |
-
* http://jquery.org/license
|
564 |
-
*
|
565 |
-
* http://docs.jquery.com/UI/Progressbar#theming
|
566 |
-
*/
|
567 |
-
.ui-progressbar { height:2em; text-align: left; }
|
568 |
-
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/css/style.css
DELETED
@@ -1,121 +0,0 @@
|
|
1 |
-
body {
|
2 |
-
font-size: 12px;
|
3 |
-
font-family: tahoma, verdana, arial, sans-serif;
|
4 |
-
margin: 0.5em;
|
5 |
-
}
|
6 |
-
|
7 |
-
ul {
|
8 |
-
list-style-position: inside;
|
9 |
-
padding-left: 0.4em;
|
10 |
-
}
|
11 |
-
|
12 |
-
pre {
|
13 |
-
font-size: 11px;
|
14 |
-
}
|
15 |
-
|
16 |
-
h2 {
|
17 |
-
border-bottom: 1px solid #ccc;
|
18 |
-
}
|
19 |
-
|
20 |
-
hr {
|
21 |
-
clear: both;
|
22 |
-
}
|
23 |
-
|
24 |
-
.unicode-map {
|
25 |
-
line-height: 0px;
|
26 |
-
font-size: 3px;
|
27 |
-
width: 768px;
|
28 |
-
border: 1px solid #333;
|
29 |
-
font-family: unicode-map;
|
30 |
-
}
|
31 |
-
|
32 |
-
.unicode-map i, .unicode-map b {
|
33 |
-
display: inline-block;
|
34 |
-
width: 3px;
|
35 |
-
height: 3px;
|
36 |
-
position: relative;
|
37 |
-
}
|
38 |
-
|
39 |
-
.unicode-map i .info {
|
40 |
-
font-family: tahoma, verdana, arial, sans-serif;
|
41 |
-
font-size: 12px;
|
42 |
-
line-height: 14px;
|
43 |
-
}
|
44 |
-
|
45 |
-
.unicode-map i s, .unicode-map b s {
|
46 |
-
text-decoration: none;
|
47 |
-
font-style: normal;
|
48 |
-
text-align: center;
|
49 |
-
display: none;
|
50 |
-
position: absolute;
|
51 |
-
border: 1px solid #999;
|
52 |
-
font-size: 32px;
|
53 |
-
background: #fff;
|
54 |
-
padding: 3px;
|
55 |
-
line-height: 1.2;
|
56 |
-
z-index: 5000;
|
57 |
-
bottom: 5px;
|
58 |
-
left: -12px;
|
59 |
-
}
|
60 |
-
|
61 |
-
.unicode-map i:hover s, .unicode-map b:hover s {
|
62 |
-
display: inline-block;
|
63 |
-
}
|
64 |
-
|
65 |
-
.unicode-map i {
|
66 |
-
background: #0f0;
|
67 |
-
}
|
68 |
-
|
69 |
-
.unicode-map b {
|
70 |
-
background: #999;
|
71 |
-
}
|
72 |
-
|
73 |
-
.glyph-view {
|
74 |
-
display: inline-block;
|
75 |
-
background: #ddd;
|
76 |
-
padding: 3px;
|
77 |
-
-webkit-border-radius: 4px;
|
78 |
-
-moz-border-radius: 4px;
|
79 |
-
border-radius: 4px;
|
80 |
-
text-align: center;
|
81 |
-
}
|
82 |
-
|
83 |
-
.glyph-view.composite {
|
84 |
-
background: #bbe;
|
85 |
-
}
|
86 |
-
|
87 |
-
.glyph-view span {
|
88 |
-
display: inline-block;
|
89 |
-
padding: 1px;
|
90 |
-
min-width: 1em;
|
91 |
-
margin-bottom: 2px;
|
92 |
-
white-space: pre;
|
93 |
-
}
|
94 |
-
|
95 |
-
.glyph-view .char {
|
96 |
-
background: #bbb;
|
97 |
-
float: left;
|
98 |
-
}
|
99 |
-
|
100 |
-
.glyph-view .glyph-id {
|
101 |
-
float: right;
|
102 |
-
}
|
103 |
-
|
104 |
-
.glyph-view .char:empty {
|
105 |
-
display: none;
|
106 |
-
}
|
107 |
-
|
108 |
-
.glyph-view canvas {
|
109 |
-
background: #fff;
|
110 |
-
}
|
111 |
-
|
112 |
-
.glyph-view:target {
|
113 |
-
outline: 2px dotted red;
|
114 |
-
}
|
115 |
-
.glyph-view:target canvas {
|
116 |
-
background: #ddffdd;
|
117 |
-
}
|
118 |
-
|
119 |
-
.glyph-view a.glyph-component-id {
|
120 |
-
font-size: 0.8em;
|
121 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_222222_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_228ef1_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/images/ui-icons_ffffff_256x240.png
DELETED
Binary file
|
lib/dompdf/lib/php-font-lib/www/css/ui-lightness/jquery-ui-1.8.14.custom.css
DELETED
@@ -1,568 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* jQuery UI CSS Framework 1.8.14
|
3 |
-
*
|
4 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
-
* http://jquery.org/license
|
7 |
-
*
|
8 |
-
* http://docs.jquery.com/UI/Theming/API
|
9 |
-
*/
|
10 |
-
|
11 |
-
/* Layout helpers
|
12 |
-
----------------------------------*/
|
13 |
-
.ui-helper-hidden { display: none; }
|
14 |
-
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
15 |
-
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
16 |
-
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
17 |
-
.ui-helper-clearfix { display: inline-block; }
|
18 |
-
/* required comment for clearfix to work in Opera \*/
|
19 |
-
* html .ui-helper-clearfix { height:1%; }
|
20 |
-
.ui-helper-clearfix { display:block; }
|
21 |
-
/* end clearfix */
|
22 |
-
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
23 |
-
|
24 |
-
|
25 |
-
/* Interaction Cues
|
26 |
-
----------------------------------*/
|
27 |
-
.ui-state-disabled { cursor: default !important; }
|
28 |
-
|
29 |
-
|
30 |
-
/* Icons
|
31 |
-
----------------------------------*/
|
32 |
-
|
33 |
-
/* states and images */
|
34 |
-
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
35 |
-
|
36 |
-
|
37 |
-
/* Misc visuals
|
38 |
-
----------------------------------*/
|
39 |
-
|
40 |
-
/* Overlays */
|
41 |
-
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
42 |
-
|
43 |
-
|
44 |
-
/*
|
45 |
-
* jQuery UI CSS Framework 1.8.14
|
46 |
-
*
|
47 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
48 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
49 |
-
* http://jquery.org/license
|
50 |
-
*
|
51 |
-
* http://docs.jquery.com/UI/Theming/API
|
52 |
-
*
|
53 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
|
54 |
-
*/
|
55 |
-
|
56 |
-
|
57 |
-
/* Component containers
|
58 |
-
----------------------------------*/
|
59 |
-
.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
|
60 |
-
.ui-widget .ui-widget { font-size: 1em; }
|
61 |
-
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
|
62 |
-
.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
|
63 |
-
.ui-widget-content a { color: #333333; }
|
64 |
-
.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
|
65 |
-
.ui-widget-header a { color: #ffffff; }
|
66 |
-
|
67 |
-
/* Interaction states
|
68 |
-
----------------------------------*/
|
69 |
-
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
|
70 |
-
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
|
71 |
-
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
|
72 |
-
.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
|
73 |
-
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
|
74 |
-
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
|
75 |
-
.ui-widget :active { outline: none; }
|
76 |
-
|
77 |
-
/* Interaction Cues
|
78 |
-
----------------------------------*/
|
79 |
-
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
|
80 |
-
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
81 |
-
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
|
82 |
-
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
|
83 |
-
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
|
84 |
-
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
85 |
-
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
86 |
-
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
87 |
-
|
88 |
-
/* Icons
|
89 |
-
----------------------------------*/
|
90 |
-
|
91 |
-
/* states and images */
|
92 |
-
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
93 |
-
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
94 |
-
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
|
95 |
-
.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
|
96 |
-
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
|
97 |
-
.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
|
98 |
-
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
|
99 |
-
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
|
100 |
-
|
101 |
-
/* positioning */
|
102 |
-
.ui-icon-carat-1-n { background-position: 0 0; }
|
103 |
-
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
104 |
-
.ui-icon-carat-1-e { background-position: -32px 0; }
|
105 |
-
.ui-icon-carat-1-se { background-position: -48px 0; }
|
106 |
-
.ui-icon-carat-1-s { background-position: -64px 0; }
|
107 |
-
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
108 |
-
.ui-icon-carat-1-w { background-position: -96px 0; }
|
109 |
-
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
110 |
-
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
111 |
-
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
112 |
-
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
113 |
-
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
114 |
-
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
115 |
-
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
116 |
-
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
117 |
-
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
118 |
-
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
119 |
-
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
120 |
-
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
121 |
-
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
122 |
-
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
123 |
-
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
124 |
-
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
125 |
-
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
126 |
-
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
127 |
-
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
128 |
-
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
129 |
-
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
130 |
-
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
131 |
-
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
132 |
-
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
133 |
-
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
134 |
-
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
135 |
-
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
136 |
-
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
137 |
-
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
138 |
-
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
139 |
-
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
140 |
-
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
141 |
-
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
142 |
-
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
143 |
-
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
144 |
-
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
145 |
-
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
146 |
-
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
147 |
-
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
148 |
-
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
149 |
-
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
150 |
-
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
151 |
-
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
152 |
-
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
153 |
-
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
154 |
-
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
155 |
-
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
156 |
-
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
157 |
-
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
158 |
-
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
159 |
-
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
160 |
-
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
161 |
-
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
162 |
-
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
163 |
-
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
164 |
-
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
165 |
-
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
166 |
-
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
167 |
-
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
168 |
-
.ui-icon-extlink { background-position: -32px -80px; }
|
169 |
-
.ui-icon-newwin { background-position: -48px -80px; }
|
170 |
-
.ui-icon-refresh { background-position: -64px -80px; }
|
171 |
-
.ui-icon-shuffle { background-position: -80px -80px; }
|
172 |
-
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
173 |
-
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
174 |
-
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
175 |
-
.ui-icon-folder-open { background-position: -16px -96px; }
|
176 |
-
.ui-icon-document { background-position: -32px -96px; }
|
177 |
-
.ui-icon-document-b { background-position: -48px -96px; }
|
178 |
-
.ui-icon-note { background-position: -64px -96px; }
|
179 |
-
.ui-icon-mail-closed { background-position: -80px -96px; }
|
180 |
-
.ui-icon-mail-open { background-position: -96px -96px; }
|
181 |
-
.ui-icon-suitcase { background-position: -112px -96px; }
|
182 |
-
.ui-icon-comment { background-position: -128px -96px; }
|
183 |
-
.ui-icon-person { background-position: -144px -96px; }
|
184 |
-
.ui-icon-print { background-position: -160px -96px; }
|
185 |
-
.ui-icon-trash { background-position: -176px -96px; }
|
186 |
-
.ui-icon-locked { background-position: -192px -96px; }
|
187 |
-
.ui-icon-unlocked { background-position: -208px -96px; }
|
188 |
-
.ui-icon-bookmark { background-position: -224px -96px; }
|
189 |
-
.ui-icon-tag { background-position: -240px -96px; }
|
190 |
-
.ui-icon-home { background-position: 0 -112px; }
|
191 |
-
.ui-icon-flag { background-position: -16px -112px; }
|
192 |
-
.ui-icon-calendar { background-position: -32px -112px; }
|
193 |
-
.ui-icon-cart { background-position: -48px -112px; }
|
194 |
-
.ui-icon-pencil { background-position: -64px -112px; }
|
195 |
-
.ui-icon-clock { background-position: -80px -112px; }
|
196 |
-
.ui-icon-disk { background-position: -96px -112px; }
|
197 |
-
.ui-icon-calculator { background-position: -112px -112px; }
|
198 |
-
.ui-icon-zoomin { background-position: -128px -112px; }
|
199 |
-
.ui-icon-zoomout { background-position: -144px -112px; }
|
200 |
-
.ui-icon-search { background-position: -160px -112px; }
|
201 |
-
.ui-icon-wrench { background-position: -176px -112px; }
|
202 |
-
.ui-icon-gear { background-position: -192px -112px; }
|
203 |
-
.ui-icon-heart { background-position: -208px -112px; }
|
204 |
-
.ui-icon-star { background-position: -224px -112px; }
|
205 |
-
.ui-icon-link { background-position: -240px -112px; }
|
206 |
-
.ui-icon-cancel { background-position: 0 -128px; }
|
207 |
-
.ui-icon-plus { background-position: -16px -128px; }
|
208 |
-
.ui-icon-plusthick { background-position: -32px -128px; }
|
209 |
-
.ui-icon-minus { background-position: -48px -128px; }
|
210 |
-
.ui-icon-minusthick { background-position: -64px -128px; }
|
211 |
-
.ui-icon-close { background-position: -80px -128px; }
|
212 |
-
.ui-icon-closethick { background-position: -96px -128px; }
|
213 |
-
.ui-icon-key { background-position: -112px -128px; }
|
214 |
-
.ui-icon-lightbulb { background-position: -128px -128px; }
|
215 |
-
.ui-icon-scissors { background-position: -144px -128px; }
|
216 |
-
.ui-icon-clipboard { background-position: -160px -128px; }
|
217 |
-
.ui-icon-copy { background-position: -176px -128px; }
|
218 |
-
.ui-icon-contact { background-position: -192px -128px; }
|
219 |
-
.ui-icon-image { background-position: -208px -128px; }
|
220 |
-
.ui-icon-video { background-position: -224px -128px; }
|
221 |
-
.ui-icon-script { background-position: -240px -128px; }
|
222 |
-
.ui-icon-alert { background-position: 0 -144px; }
|
223 |
-
.ui-icon-info { background-position: -16px -144px; }
|
224 |
-
.ui-icon-notice { background-position: -32px -144px; }
|
225 |
-
.ui-icon-help { background-position: -48px -144px; }
|
226 |
-
.ui-icon-check { background-position: -64px -144px; }
|
227 |
-
.ui-icon-bullet { background-position: -80px -144px; }
|
228 |
-
.ui-icon-radio-off { background-position: -96px -144px; }
|
229 |
-
.ui-icon-radio-on { background-position: -112px -144px; }
|
230 |
-
.ui-icon-pin-w { background-position: -128px -144px; }
|
231 |
-
.ui-icon-pin-s { background-position: -144px -144px; }
|
232 |
-
.ui-icon-play { background-position: 0 -160px; }
|
233 |
-
.ui-icon-pause { background-position: -16px -160px; }
|
234 |
-
.ui-icon-seek-next { background-position: -32px -160px; }
|
235 |
-
.ui-icon-seek-prev { background-position: -48px -160px; }
|
236 |
-
.ui-icon-seek-end { background-position: -64px -160px; }
|
237 |
-
.ui-icon-seek-start { background-position: -80px -160px; }
|
238 |
-
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
239 |
-
.ui-icon-seek-first { background-position: -80px -160px; }
|
240 |
-
.ui-icon-stop { background-position: -96px -160px; }
|
241 |
-
.ui-icon-eject { background-position: -112px -160px; }
|
242 |
-
.ui-icon-volume-off { background-position: -128px -160px; }
|
243 |
-
.ui-icon-volume-on { background-position: -144px -160px; }
|
244 |
-
.ui-icon-power { background-position: 0 -176px; }
|
245 |
-
.ui-icon-signal-diag { background-position: -16px -176px; }
|
246 |
-
.ui-icon-signal { background-position: -32px -176px; }
|
247 |
-
.ui-icon-battery-0 { background-position: -48px -176px; }
|
248 |
-
.ui-icon-battery-1 { background-position: -64px -176px; }
|
249 |
-
.ui-icon-battery-2 { background-position: -80px -176px; }
|
250 |
-
.ui-icon-battery-3 { background-position: -96px -176px; }
|
251 |
-
.ui-icon-circle-plus { background-position: 0 -192px; }
|
252 |
-
.ui-icon-circle-minus { background-position: -16px -192px; }
|
253 |
-
.ui-icon-circle-close { background-position: -32px -192px; }
|
254 |
-
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
255 |
-
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
256 |
-
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
257 |
-
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
258 |
-
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
259 |
-
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
260 |
-
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
261 |
-
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
262 |
-
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
263 |
-
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
264 |
-
.ui-icon-circle-check { background-position: -208px -192px; }
|
265 |
-
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
266 |
-
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
267 |
-
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
268 |
-
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
269 |
-
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
270 |
-
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
271 |
-
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
272 |
-
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
273 |
-
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
274 |
-
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
275 |
-
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
276 |
-
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
277 |
-
|
278 |
-
|
279 |
-
/* Misc visuals
|
280 |
-
----------------------------------*/
|
281 |
-
|
282 |
-
/* Corner radius */
|
283 |
-
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
284 |
-
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
285 |
-
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
286 |
-
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
287 |
-
|
288 |
-
/* Overlays */
|
289 |
-
.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
|
290 |
-
.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
|
291 |
-
* jQuery UI Resizable 1.8.14
|
292 |
-
*
|
293 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
294 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
295 |
-
* http://jquery.org/license
|
296 |
-
*
|
297 |
-
* http://docs.jquery.com/UI/Resizable#theming
|
298 |
-
*/
|
299 |
-
.ui-resizable { position: relative;}
|
300 |
-
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
|
301 |
-
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
302 |
-
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
303 |
-
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
304 |
-
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
305 |
-
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
306 |
-
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
307 |
-
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
308 |
-
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
309 |
-
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
|
310 |
-
* jQuery UI Selectable 1.8.14
|
311 |
-
*
|
312 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
313 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
314 |
-
* http://jquery.org/license
|
315 |
-
*
|
316 |
-
* http://docs.jquery.com/UI/Selectable#theming
|
317 |
-
*/
|
318 |
-
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
319 |
-
/*
|
320 |
-
* jQuery UI Accordion 1.8.14
|
321 |
-
*
|
322 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
323 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
324 |
-
* http://jquery.org/license
|
325 |
-
*
|
326 |
-
* http://docs.jquery.com/UI/Accordion#theming
|
327 |
-
*/
|
328 |
-
/* IE/Win - Fix animation bug - #4615 */
|
329 |
-
.ui-accordion { width: 100%; }
|
330 |
-
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
331 |
-
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
332 |
-
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
333 |
-
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
334 |
-
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
335 |
-
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
336 |
-
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
337 |
-
.ui-accordion .ui-accordion-content-active { display: block; }
|
338 |
-
/*
|
339 |
-
* jQuery UI Autocomplete 1.8.14
|
340 |
-
*
|
341 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
342 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
343 |
-
* http://jquery.org/license
|
344 |
-
*
|
345 |
-
* http://docs.jquery.com/UI/Autocomplete#theming
|
346 |
-
*/
|
347 |
-
.ui-autocomplete { position: absolute; cursor: default; }
|
348 |
-
|
349 |
-
/* workarounds */
|
350 |
-
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
351 |
-
|
352 |
-
/*
|
353 |
-
* jQuery UI Menu 1.8.14
|
354 |
-
*
|
355 |
-
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
356 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
357 |
-
* http://jquery.org/license
|
358 |
-
*
|
359 |
-
* http://docs.jquery.com/UI/Menu#theming
|
360 |
-
*/
|
361 |
-
.ui-menu {
|
362 |
-
list-style:none;
|
363 |
-
padding: 2px;
|
364 |
-
margin: 0;
|
365 |
-
display:block;
|
366 |
-
float: left;
|
367 |
-
}
|
368 |
-
.ui-menu .ui-menu {
|
369 |
-
margin-top: -3px;
|
370 |
-
}
|
371 |
-
.ui-menu .ui-menu-item {
|
372 |
-
margin:0;
|
373 |
-
padding: 0;
|
374 |
-
zoom: 1;
|
375 |
-
float: left;
|
376 |
-
clear: left;
|
377 |
-
width: 100%;
|
378 |
-
}
|
379 |
-
.ui-menu .ui-menu-item a {
|
380 |
-
text-decoration:none;
|
381 |
-
display:block;
|
382 |
-
padding:.2em .4em;
|
383 |
-
line-height:1.5;
|
384 |
-
zoom:1;
|
385 |
-
}
|
386 |
-
.ui-menu .ui-menu-item a.ui-state-hover,
|
387 |
-
.ui-menu .ui-menu-item a.ui-state-active {
|
388 |
-
font-weight: normal;
|
389 |
-
margin: -1px;
|
390 |
-
}
|
391 |
-
/*
|
392 |
-
* jQuery UI Button 1.8.14
|
393 |
-
*
|
394 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
395 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
396 |
-
* http://jquery.org/license
|
397 |
-
*
|
398 |
-
* http://docs.jquery.com/UI/Button#theming
|
399 |
-
*/
|
400 |
-
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
401 |
-
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
402 |
-
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
403 |
-
.ui-button-icons-only { width: 3.4em; }
|
404 |
-
button.ui-button-icons-only { width: 3.7em; }
|
405 |
-
|
406 |
-
/*button text element */
|
407 |
-
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
408 |
-
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
409 |
-
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
410 |
-
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
411 |
-
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
412 |
-
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
413 |
-
/* no icon support for input elements, provide padding by default */
|
414 |
-
input.ui-button { padding: .4em 1em; }
|
415 |
-
|
416 |
-
/*button icon element(s) */
|
417 |
-
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
418 |
-
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
419 |
-
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
420 |
-
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
421 |
-
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
422 |
-
|
423 |
-
/*button sets*/
|
424 |
-
.ui-buttonset { margin-right: 7px; }
|
425 |
-
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
426 |
-
|
427 |
-
/* workarounds */
|
428 |
-
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
429 |
-
/*
|
430 |
-
* jQuery UI Dialog 1.8.14
|
431 |
-
*
|
432 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
433 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
434 |
-
* http://jquery.org/license
|
435 |
-
*
|
436 |
-
* http://docs.jquery.com/UI/Dialog#theming
|
437 |
-
*/
|
438 |
-
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
439 |
-
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
440 |
-
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
441 |
-
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
442 |
-
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
443 |
-
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
444 |
-
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
445 |
-
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
446 |
-
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
447 |
-
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
448 |
-
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
449 |
-
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
450 |
-
/*
|
451 |
-
* jQuery UI Slider 1.8.14
|
452 |
-
*
|
453 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
454 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
455 |
-
* http://jquery.org/license
|
456 |
-
*
|
457 |
-
* http://docs.jquery.com/UI/Slider#theming
|
458 |
-
*/
|
459 |
-
.ui-slider { position: relative; text-align: left; }
|
460 |
-
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
461 |
-
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
462 |
-
|
463 |
-
.ui-slider-horizontal { height: .8em; }
|
464 |
-
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
465 |
-
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
466 |
-
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
467 |
-
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
468 |
-
|
469 |
-
.ui-slider-vertical { width: .8em; height: 100px; }
|
470 |
-
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
471 |
-
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
472 |
-
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
473 |
-
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
|
474 |
-
* jQuery UI Tabs 1.8.14
|
475 |
-
*
|
476 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
477 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
478 |
-
* http://jquery.org/license
|
479 |
-
*
|
480 |
-
* http://docs.jquery.com/UI/Tabs#theming
|
481 |
-
*/
|
482 |
-
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
483 |
-
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
484 |
-
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
485 |
-
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
486 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
487 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
488 |
-
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
489 |
-
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
490 |
-
.ui-tabs .ui-tabs-hide { display: none !important; }
|
491 |
-
/*
|
492 |
-
* jQuery UI Datepicker 1.8.14
|
493 |
-
*
|
494 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
495 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
496 |
-
* http://jquery.org/license
|
497 |
-
*
|
498 |
-
* http://docs.jquery.com/UI/Datepicker#theming
|
499 |
-
*/
|
500 |
-
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
501 |
-
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
502 |
-
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
503 |
-
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
504 |
-
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
505 |
-
.ui-datepicker .ui-datepicker-next { right:2px; }
|
506 |
-
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
507 |
-
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
508 |
-
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
509 |
-
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
510 |
-
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
511 |
-
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
512 |
-
.ui-datepicker select.ui-datepicker-month,
|
513 |
-
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
514 |
-
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
515 |
-
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
516 |
-
.ui-datepicker td { border: 0; padding: 1px; }
|
517 |
-
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
518 |
-
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
519 |
-
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
520 |
-
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
521 |
-
|
522 |
-
/* with multiple calendars */
|
523 |
-
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
524 |
-
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
525 |
-
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
526 |
-
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
527 |
-
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
528 |
-
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
529 |
-
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
530 |
-
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
531 |
-
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
532 |
-
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
533 |
-
|
534 |
-
/* RTL support */
|
535 |
-
.ui-datepicker-rtl { direction: rtl; }
|
536 |
-
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
537 |
-
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
538 |
-
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
539 |
-
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
540 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
541 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
542 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
543 |
-
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
544 |
-
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
545 |
-
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
546 |
-
|
547 |
-
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
548 |
-
.ui-datepicker-cover {
|
549 |
-
display: none; /*sorry for IE5*/
|
550 |
-
display/**/: block; /*sorry for IE5*/
|
551 |
-
position: absolute; /*must have*/
|
552 |
-
z-index: -1; /*must have*/
|
553 |
-
filter: mask(); /*must have*/
|
554 |
-
top: -4px; /*must have*/
|
555 |
-
left: -4px; /*must have*/
|
556 |
-
width: 200px; /*must have*/
|
557 |
-
height: 200px; /*must have*/
|
558 |
-
}/*
|
559 |
-
* jQuery UI Progressbar 1.8.14
|
560 |
-
*
|
561 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
562 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
563 |
-
* http://jquery.org/license
|
564 |
-
*
|
565 |
-
* http://docs.jquery.com/UI/Progressbar#theming
|
566 |
-
*/
|
567 |
-
.ui-progressbar { height:2em; text-align: left; }
|
568 |
-
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/font_explorer.html
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html>
|
3 |
-
<head>
|
4 |
-
<meta charset="utf-8" />
|
5 |
-
<title>PHP font lib - Font explorer</title>
|
6 |
-
</head>
|
7 |
-
<frameset rows="28,*">
|
8 |
-
<frame src="header.html" noresize />
|
9 |
-
<frameset cols="250, *">
|
10 |
-
<frame src="font_list.php" />
|
11 |
-
<frame src="readme.html" id="font-info" name="font-info" />
|
12 |
-
</frameset>
|
13 |
-
</frameset>
|
14 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/font_info.php
DELETED
@@ -1,157 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @package php-font-lib
|
4 |
-
* @link https://github.com/PhenX/php-font-lib
|
5 |
-
* @author Fabien Ménager <fabien.menager@gmail.com>
|
6 |
-
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
|
7 |
-
*/
|
8 |
-
?><!DOCTYPE html>
|
9 |
-
<html>
|
10 |
-
<head>
|
11 |
-
<meta charset="utf-8" />
|
12 |
-
<title>Font information</title>
|
13 |
-
<link rel="stylesheet" href="css/style.css" />
|
14 |
-
<link rel="stylesheet" href="css/blitzer/jquery-ui-1.8.14.custom.css" />
|
15 |
-
<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
|
16 |
-
<script type="text/javascript" src="js/jquery-ui-1.8.14.custom.min.js"></script>
|
17 |
-
<script type="text/javascript" src="js/glyph.js?v=5"></script>
|
18 |
-
<script type="text/javascript">
|
19 |
-
$(function() {
|
20 |
-
$("#tabs").tabs({
|
21 |
-
select: function(event, ui) {
|
22 |
-
if (ui.panel.id == "tabs-unicode-map") {
|
23 |
-
$(ui.panel).load("<?php echo $_SERVER['REQUEST_URI']; ?>&unicodemap=1");
|
24 |
-
}
|
25 |
-
}
|
26 |
-
});
|
27 |
-
});
|
28 |
-
</script>
|
29 |
-
</head>
|
30 |
-
<body>
|
31 |
-
<?php
|
32 |
-
|
33 |
-
require_once "../classes/Font.php";
|
34 |
-
|
35 |
-
$fontfile = null;
|
36 |
-
if (isset($_GET["fontfile"])) {
|
37 |
-
$fontfile = basename($_GET["fontfile"]);
|
38 |
-
$fontfile = "../fonts/$fontfile";
|
39 |
-
}
|
40 |
-
|
41 |
-
$unicodemap = @$_GET["unicodemap"];
|
42 |
-
|
43 |
-
$t = microtime(true);
|
44 |
-
|
45 |
-
$font = Font::load($fontfile);
|
46 |
-
|
47 |
-
if ($font instanceof Font_TrueType_Collection) {
|
48 |
-
$font = $font->getFont(0);
|
49 |
-
}
|
50 |
-
|
51 |
-
if ($unicodemap) {
|
52 |
-
?>
|
53 |
-
<style type="text/css">
|
54 |
-
@font-face {
|
55 |
-
font-family: unicode-map;
|
56 |
-
font-weight: normal;
|
57 |
-
font-style: normal;
|
58 |
-
font-variant: normal;
|
59 |
-
src: url('<?php echo $fontfile; ?>');
|
60 |
-
}
|
61 |
-
</style>
|
62 |
-
<div class="unicode-map">
|
63 |
-
<?php
|
64 |
-
|
65 |
-
$subtable = null;
|
66 |
-
foreach($font->getData("cmap", "subtables") as $_subtable) {
|
67 |
-
if ($_subtable["platformID"] == 3 && $_subtable["platformSpecificID"] == 1) {
|
68 |
-
$subtable = $_subtable;
|
69 |
-
break;
|
70 |
-
}
|
71 |
-
}
|
72 |
-
|
73 |
-
$empty = 0;
|
74 |
-
$names = $font->getData("post", "names");
|
75 |
-
|
76 |
-
for($c = 0; $c <= 0xFFFF; $c++) {
|
77 |
-
if (($c % 256 == 0 || $c == 0xFFFF) && $empty > 0) {
|
78 |
-
echo "<b style=\"width:".($empty*3)."px\"></b>";
|
79 |
-
$empty = 0;
|
80 |
-
}
|
81 |
-
|
82 |
-
if (isset($subtable["glyphIndexArray"][$c])) {
|
83 |
-
$g = $subtable["glyphIndexArray"][$c];
|
84 |
-
|
85 |
-
if ($empty > 0) {
|
86 |
-
echo "<b style=\"width:".($empty*3)."px\"></b>";
|
87 |
-
$empty = 0;
|
88 |
-
}
|
89 |
-
echo "<i><s>&#$c;<br /><div class=\"info\">$c<br />".(isset($names[$g]) ? $names[$g] : sprintf("uni%04x", $c))."</div></s></i>";
|
90 |
-
}
|
91 |
-
else {
|
92 |
-
$empty++;
|
93 |
-
}
|
94 |
-
} ?>
|
95 |
-
</div>
|
96 |
-
|
97 |
-
<?php
|
98 |
-
}
|
99 |
-
else {
|
100 |
-
$font->parse();
|
101 |
-
|
102 |
-
//$font->saveAdobeFontMetrics("$fontfile.ufm");
|
103 |
-
?>
|
104 |
-
<span style="float: right;">
|
105 |
-
File size: <?php echo round(filesize($fontfile) / 1024, 3); ?>KB —
|
106 |
-
Memory: <?php echo (memory_get_peak_usage(true) / 1024); ?>KB —
|
107 |
-
Time: <?php echo round(microtime(true) - $t, 4); ?>s
|
108 |
-
<br />
|
109 |
-
<a href="make_subset.php?fontfile=<?php echo $fontfile; ?>&name=<?php echo urlencode($font->getFontSubfamilyID()); ?>">Make a subset of this font</a>
|
110 |
-
</span>
|
111 |
-
|
112 |
-
<h1><?php echo $font->getFontFullName(); ?></h1>
|
113 |
-
<h3><?php echo $font->getFontVersion(); ?></h3>
|
114 |
-
<hr />
|
115 |
-
|
116 |
-
<div id="tabs">
|
117 |
-
<ul>
|
118 |
-
<li><a href="#tabs-header">Header</a></li>
|
119 |
-
|
120 |
-
<?php foreach($font->getTable() as $entry) {
|
121 |
-
$tag = $entry->tag;
|
122 |
-
$data = $font->getData($tag);
|
123 |
-
|
124 |
-
?>
|
125 |
-
<li>
|
126 |
-
<a <?php if (!$data) { ?> style="color: #ccc;" <?php } ?> href="#tabs-<?php echo preg_replace("/[^a-z0-9]/i", "_", $tag); ?>"><?php echo $tag; ?></a>
|
127 |
-
</li>
|
128 |
-
<?php } ?>
|
129 |
-
<li><a href="#tabs-unicode-map">Unicode map</a></li>
|
130 |
-
</ul>
|
131 |
-
|
132 |
-
<div id="tabs-header"><pre><?php echo var_export($font->header->data, true); ?></pre></div>
|
133 |
-
|
134 |
-
<?php foreach($font->getTable() as $table) {
|
135 |
-
$tag = $table->tag;
|
136 |
-
$data = $font->getData($tag);
|
137 |
-
|
138 |
-
?>
|
139 |
-
<div id="tabs-<?php echo preg_replace("/[^a-z0-9]/i", "_", $tag); ?>">
|
140 |
-
<?php
|
141 |
-
if ($data) {
|
142 |
-
echo $font->getTableObject($tag)->toHTML();
|
143 |
-
}
|
144 |
-
else {
|
145 |
-
echo "Not yet implemented";
|
146 |
-
}
|
147 |
-
|
148 |
-
?>
|
149 |
-
</div>
|
150 |
-
|
151 |
-
<div id="tabs-unicode-map"></div>
|
152 |
-
<?php } ?>
|
153 |
-
</div>
|
154 |
-
|
155 |
-
<?php } ?>
|
156 |
-
</body>
|
157 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/font_list.php
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @package php-font-lib
|
4 |
-
* @link https://github.com/PhenX/php-font-lib
|
5 |
-
* @author Fabien Ménager <fabien.menager@gmail.com>
|
6 |
-
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
|
7 |
-
*/
|
8 |
-
?><!DOCTYPE html>
|
9 |
-
<html>
|
10 |
-
<head>
|
11 |
-
<meta charset="utf-8" />
|
12 |
-
<link rel="stylesheet" href="css/style.css" />
|
13 |
-
</head>
|
14 |
-
<body>
|
15 |
-
<?php
|
16 |
-
|
17 |
-
$fonts = glob("../fonts/*.{ttf,TTF,otf,OTF,ttc,TTC,eot,EOT,woff,WOFF}", GLOB_BRACE);
|
18 |
-
sort($fonts);
|
19 |
-
|
20 |
-
echo "<ul>";
|
21 |
-
foreach($fonts as $font) {
|
22 |
-
echo "<li><a href=\"font_info.php?fontfile=$font\" target=\"font-info\">".basename($font)."</a></li>";
|
23 |
-
}
|
24 |
-
echo "</ul>";
|
25 |
-
|
26 |
-
?>
|
27 |
-
</body>
|
28 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/header.html
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html>
|
3 |
-
<head>
|
4 |
-
<meta charset="utf-8" />
|
5 |
-
<link rel="stylesheet" href="css/style.css" />
|
6 |
-
</head>
|
7 |
-
<body style="background: #eee;">
|
8 |
-
<a href="https://github.com/PhenX/php-font-lib" target="_blank">Project page</a> -
|
9 |
-
<a href="https://github.com/PhenX/php-font-lib/issues" target="_blank">Issues</a>
|
10 |
-
</body>
|
11 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/index.php
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @package php-font-lib
|
4 |
-
* @link https://github.com/PhenX/php-font-lib
|
5 |
-
* @author Fabien Ménager <fabien.menager@gmail.com>
|
6 |
-
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
|
7 |
-
*/
|
8 |
-
|
9 |
-
header("Location: font_explorer.html");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/js/glyph.js
DELETED
@@ -1,175 +0,0 @@
|
|
1 |
-
var Glyph = {
|
2 |
-
glyphs: [],
|
3 |
-
ratio: null,
|
4 |
-
head: null,
|
5 |
-
os2: null,
|
6 |
-
hmtx: null,
|
7 |
-
width: null,
|
8 |
-
height: null,
|
9 |
-
scale: 1.0,
|
10 |
-
|
11 |
-
splitPath: function(path) {
|
12 |
-
return path.match(/([a-z])|(-?\d+(?:\.\d+)?)/ig);
|
13 |
-
},
|
14 |
-
|
15 |
-
drawPath: function(ctx, path) {
|
16 |
-
var p = Glyph.splitPath(path);
|
17 |
-
|
18 |
-
if (!p) {
|
19 |
-
return;
|
20 |
-
}
|
21 |
-
|
22 |
-
var l = p.length;
|
23 |
-
var i = 0;
|
24 |
-
|
25 |
-
ctx.beginPath();
|
26 |
-
|
27 |
-
while(i < l) {
|
28 |
-
var v = p[i];
|
29 |
-
|
30 |
-
switch(v) {
|
31 |
-
case "M":
|
32 |
-
ctx.moveTo(p[++i], p[++i]);
|
33 |
-
break;
|
34 |
-
|
35 |
-
case "L":
|
36 |
-
ctx.lineTo(p[++i], p[++i]);
|
37 |
-
break;
|
38 |
-
|
39 |
-
case "Q":
|
40 |
-
ctx.quadraticCurveTo(p[++i], p[++i], p[++i], p[++i]);
|
41 |
-
break;
|
42 |
-
|
43 |
-
case "z":
|
44 |
-
i++;
|
45 |
-
break;
|
46 |
-
|
47 |
-
default:
|
48 |
-
i++;
|
49 |
-
}
|
50 |
-
}
|
51 |
-
|
52 |
-
ctx.fill();
|
53 |
-
ctx.closePath();
|
54 |
-
},
|
55 |
-
|
56 |
-
drawSVGContours: function(ctx, contours) {
|
57 |
-
// Is the path
|
58 |
-
if (!$.isArray(contours)) {
|
59 |
-
Glyph.drawPath(ctx, contours);
|
60 |
-
return;
|
61 |
-
}
|
62 |
-
|
63 |
-
var contour, path, transform;
|
64 |
-
|
65 |
-
for (var ci = 0, cl = contours.length; ci < cl; ci++) {
|
66 |
-
contour = contours[ci];
|
67 |
-
path = contour.contours;
|
68 |
-
transform = contour.transform;
|
69 |
-
|
70 |
-
ctx.save();
|
71 |
-
ctx.transform(transform[0], transform[1], transform[2], transform[3], transform[4], transform[5]);
|
72 |
-
Glyph.drawSVGContours(ctx, path);
|
73 |
-
ctx.restore();
|
74 |
-
}
|
75 |
-
},
|
76 |
-
|
77 |
-
drawHorizLine: function(ctx, y, color) {
|
78 |
-
ctx.beginPath();
|
79 |
-
ctx.strokeStyle = color;
|
80 |
-
ctx.moveTo(0, y);
|
81 |
-
ctx.lineTo(Glyph.width * Glyph.ratio, y);
|
82 |
-
ctx.closePath();
|
83 |
-
ctx.stroke();
|
84 |
-
},
|
85 |
-
|
86 |
-
draw: function (canvas, shape, gid) {
|
87 |
-
var element = canvas[0];
|
88 |
-
var ctx = element.getContext("2d");
|
89 |
-
var ratio = Glyph.ratio;
|
90 |
-
var width = Glyph.width * Glyph.scale;
|
91 |
-
var height = Glyph.height * Glyph.scale;
|
92 |
-
ctx.clearRect(0, 0, width, height);
|
93 |
-
|
94 |
-
ctx.lineWidth = ratio / Glyph.scale;
|
95 |
-
|
96 |
-
// Invert axis
|
97 |
-
ctx.translate(0, height);
|
98 |
-
ctx.scale(1/ratio, -(1/ratio));
|
99 |
-
ctx.scale(Glyph.scale, Glyph.scale);
|
100 |
-
|
101 |
-
ctx.translate(0, -Glyph.head.yMin);
|
102 |
-
|
103 |
-
// baseline
|
104 |
-
Glyph.drawHorizLine(ctx, 0, "rgba(0,255,0,0.2)");
|
105 |
-
|
106 |
-
// ascender
|
107 |
-
Glyph.drawHorizLine(ctx, Glyph.os2.typoAscender, "rgba(255,0,0,0.2)");
|
108 |
-
|
109 |
-
// descender
|
110 |
-
Glyph.drawHorizLine(ctx, -Math.abs(Glyph.os2.typoDescender), "rgba(255,0,0,0.2)");
|
111 |
-
|
112 |
-
ctx.translate(-Glyph.head.xMin, 0);
|
113 |
-
|
114 |
-
ctx.save();
|
115 |
-
var s = ratio*3;
|
116 |
-
|
117 |
-
ctx.strokeStyle = "rgba(0,0,0,0.5)";
|
118 |
-
ctx.lineWidth = (ratio * 1.5) / Glyph.scale;
|
119 |
-
|
120 |
-
// origin
|
121 |
-
ctx.beginPath();
|
122 |
-
ctx.moveTo(-s, -s);
|
123 |
-
ctx.lineTo(+s, +s);
|
124 |
-
ctx.moveTo(+s, -s);
|
125 |
-
ctx.lineTo(-s, +s);
|
126 |
-
ctx.closePath();
|
127 |
-
ctx.stroke();
|
128 |
-
|
129 |
-
// horizontal advance
|
130 |
-
var advance = Glyph.hmtx[gid][0];
|
131 |
-
ctx.beginPath();
|
132 |
-
ctx.moveTo(-s+advance, -s);
|
133 |
-
ctx.lineTo(+s+advance, +s);
|
134 |
-
ctx.moveTo(+s+advance, -s);
|
135 |
-
ctx.lineTo(-s+advance, +s);
|
136 |
-
ctx.closePath();
|
137 |
-
ctx.stroke();
|
138 |
-
ctx.restore();
|
139 |
-
|
140 |
-
if (!shape) {
|
141 |
-
return;
|
142 |
-
}
|
143 |
-
|
144 |
-
// glyph bounding box
|
145 |
-
ctx.beginPath();
|
146 |
-
ctx.strokeStyle = "rgba(0,0,0,0.3)";
|
147 |
-
ctx.rect(0, 0, shape.xMin + shape.xMax, shape.yMin + shape.yMax);
|
148 |
-
ctx.closePath();
|
149 |
-
ctx.stroke();
|
150 |
-
|
151 |
-
ctx.strokeStyle = "black";
|
152 |
-
//ctx.globalCompositeOperation = "xor";
|
153 |
-
|
154 |
-
Glyph.drawSVGContours(ctx, shape.SVGContours);
|
155 |
-
},
|
156 |
-
drawAll: function(){
|
157 |
-
$.each(Glyph.glyphs, function(i, g){
|
158 |
-
Glyph.draw($('#glyph-canvas-'+g[0]), g[1], g[0]);
|
159 |
-
});
|
160 |
-
},
|
161 |
-
resize: function(value){
|
162 |
-
Glyph.scale = value / 100;
|
163 |
-
|
164 |
-
$.each(document.getElementsByTagName('canvas'), function(i, canvas){
|
165 |
-
canvas.height = Glyph.height * Glyph.scale;
|
166 |
-
canvas.width = Glyph.width * Glyph.scale;
|
167 |
-
});
|
168 |
-
|
169 |
-
Glyph.drawAll();
|
170 |
-
}
|
171 |
-
};
|
172 |
-
|
173 |
-
$(function(){
|
174 |
-
Glyph.drawAll();
|
175 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/js/jquery-1.5.1.min.js
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* jQuery JavaScript Library v1.5.1
|
3 |
-
* http://jquery.com/
|
4 |
-
*
|
5 |
-
* Copyright 2011, John Resig
|
6 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
7 |
-
* http://jquery.org/license
|
8 |
-
*
|
9 |
-
* Includes Sizzle.js
|
10 |
-
* http://sizzlejs.com/
|
11 |
-
* Copyright 2011, The Dojo Foundation
|
12 |
-
* Released under the MIT, BSD, and GPL Licenses.
|
13 |
-
*
|
14 |
-
* Date: Wed Feb 23 13:55:29 2011 -0500
|
15 |
-
*/
|
16 |
-
(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}catch(g){throw g}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}var c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments.length,c=b<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),e=c.promise();if(b>1){var f=E.call(arguments,0),g=b,h=function(a){return function(b){f[a]=arguments.length>1?E.call(arguments,0):b,--g||c.resolveWith(e,f)}};while(b--)a=f[b],a&&d.isFunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolveWith(e,f)}else c!==a&&c.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d};d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!g(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,h=b.nodeType,i=h?d.cache:b,j=h?b[d.expando]:d.expando;if(!i[j])return;if(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteExpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].toJSON=d.noop),i[j][f]=l):h&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=f(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var h=/[\n\t\r]/g,i=/\s+/,j=/\r/g,k=/^(?:href|src|style)$/,l=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,o=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(i);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(h+=" "+b[j]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(i);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var j=(" "+g.className+" ").replace(h," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");g.className=d.trim(j)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),j=b,k=a.split(i);while(f=k[g++])j=e?j:!h.hasClass(f),h[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(h," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(o.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(j,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this.nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&o.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=k.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:m.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var w=s.handle;w&&(w.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(p,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{if(b!==c&&!b.parentNode)return;while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&C("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&C("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(q.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in z)d.event.add(this,c+".specialChange",z[c]);return q.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return q.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=p.exec(h),k="",j&&(k=j[0],h=h.replace(p,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(d||!l.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXMLDoc=k.isXML,d.contains=k.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).before(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,ba)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){Z(a,e);if(c){f=_(a),g=_(e);for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([A-Z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["Left","Right"],bj=["Top","Bottom"],bk,bl,bm,bn=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bk(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bk)return bk(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bd,bn)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bf.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bm=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bf.test(d)&&bg.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bk=bl||bm,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:GET|HEAD)$/,bx=/^\/\//,by=/\?/,bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bA=/^(?:select|textarea)/i,bB=/\s+/,bC=/([?&])_=[^&]*/,bD=/(^|\-)([a-z])/g,bE=function(a,b,c){return b+c.toUpperCase()},bF=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bG=d.fn.load,bH={},bI={},bJ,bK;try{bJ=c.location.href}catch(bL){bJ=c.createElement("a"),bJ.href="",bJ=bJ.href}bK=bF.exec(bJ.toLowerCase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bG)return bG.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bA.test(this.nodeName)||bu.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bJ,isLocal:bv.test(bK[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bM(bH),ajaxTransport:bM(bI),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bP(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bQ(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bD,bE)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bK[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bB),e.crossDomain||(q=bF.exec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bK[1]||q[2]!=bK[2]||(q[3]||(q[1]==="http:"?80:443))!=(bK[3]||(bK[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bN(bH,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bC,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.beforeSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bN(bI,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bO(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bR=d.now(),bS=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bR++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bS.test(b.url)||f&&bS.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bS,l),b.url===j&&(f&&(k=k.replace(bS,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bT=d.now(),bU,bV;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bX()||bY()}:bX,bV=d.ajaxSettings.xhr(),d.support.ajax=!!bV,d.support.cors=bV&&"withCredentials"in bV,bV=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),(!a.crossDomain||a.hasContent)&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bU[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bU||(bU={},bW()),h=bT++,g.onreadystatechange=bU[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bZ={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(cc("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cd(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cc("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(cc("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cd(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(b$.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=b_.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber[c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:cc("show",1),slideUp:cc("hide",1),slideToggle:cc("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ca),ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var ce=/^t(?:able|d|h)$/i,cf=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=cg(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!ce.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=cf.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!cf.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=cg(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=cg(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/js/jquery-ui-1.8.14.custom.min.js
DELETED
@@ -1,789 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* jQuery UI 1.8.14
|
3 |
-
*
|
4 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
-
* http://jquery.org/license
|
7 |
-
*
|
8 |
-
* http://docs.jquery.com/UI
|
9 |
-
*/
|
10 |
-
(function(c,j){function k(a,b){var d=a.nodeName.toLowerCase();if("area"===d){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&l(a)}return(/input|select|textarea|button|object/.test(d)?!a.disabled:"a"==d?a.href||b:b)&&l(a)}function l(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.14",
|
11 |
-
keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();
|
12 |
-
b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,
|
13 |
-
"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",
|
14 |
-
function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,m,n){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(m)g-=parseFloat(c.curCSS(f,"border"+this+"Width",true))||0;if(n)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,
|
15 |
-
outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){return k(a,!isNaN(c.attr(a,"tabindex")))},tabbable:function(a){var b=c.attr(a,"tabindex"),d=isNaN(b);
|
16 |
-
return(d||b>=0)&&k(a,!d)}});c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=
|
17 |
-
0;e<b.length;e++)a.options[b[e][0]]&&b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
|
18 |
-
;/*!
|
19 |
-
* jQuery UI Widget 1.8.14
|
20 |
-
*
|
21 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
22 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
23 |
-
* http://jquery.org/license
|
24 |
-
*
|
25 |
-
* http://docs.jquery.com/UI/Widget
|
26 |
-
*/
|
27 |
-
(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
|
28 |
-
a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
|
29 |
-
e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
|
30 |
-
this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
|
31 |
-
widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
|
32 |
-
enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
|
33 |
-
;/*!
|
34 |
-
* jQuery UI Mouse 1.8.14
|
35 |
-
*
|
36 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
37 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
38 |
-
* http://jquery.org/license
|
39 |
-
*
|
40 |
-
* http://docs.jquery.com/UI/Mouse
|
41 |
-
*
|
42 |
-
* Depends:
|
43 |
-
* jquery.ui.widget.js
|
44 |
-
*/
|
45 |
-
(function(b){var d=false;b(document).mousedown(function(){d=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(true===b.data(c.target,a.widgetName+".preventClickEvent")){b.removeData(c.target,a.widgetName+".preventClickEvent");c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+
|
46 |
-
this.widgetName)},_mouseDown:function(a){if(!d){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,f=a.which==1,g=typeof this.options.cancel=="string"?b(a.target).closest(this.options.cancel).length:false;if(!f||g||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=this._mouseStart(a)!==
|
47 |
-
false;if(!this._mouseStarted){a.preventDefault();return true}}true===b.data(a.target,this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(e){return c._mouseMove(e)};this._mouseUpDelegate=function(e){return c._mouseUp(e)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return d=true}},_mouseMove:function(a){if(b.browser.msie&&
|
48 |
-
!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=
|
49 |
-
false;a.target==this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
|
50 |
-
;/*
|
51 |
-
* jQuery UI Position 1.8.14
|
52 |
-
*
|
53 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
54 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
55 |
-
* http://jquery.org/license
|
56 |
-
*
|
57 |
-
* http://docs.jquery.com/UI/Position
|
58 |
-
*/
|
59 |
-
(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY,
|
60 |
-
left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/2;if(b.at[1]==="bottom")j.top+=
|
61 |
-
k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+(parseInt(c.curCSS(this,"marginRight",true))||0),w=m+q+(parseInt(c.curCSS(this,"marginBottom",true))||0),i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]==="center")i.top-=
|
62 |
-
m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left=
|
63 |
-
d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+=
|
64 |
-
a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b),
|
65 |
-
g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
|
66 |
-
;/*
|
67 |
-
* jQuery UI Draggable 1.8.14
|
68 |
-
*
|
69 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
70 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
71 |
-
* http://jquery.org/license
|
72 |
-
*
|
73 |
-
* http://docs.jquery.com/UI/Draggables
|
74 |
-
*
|
75 |
-
* Depends:
|
76 |
-
* jquery.ui.core.js
|
77 |
-
* jquery.ui.mouse.js
|
78 |
-
* jquery.ui.widget.js
|
79 |
-
*/
|
80 |
-
(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper==
|
81 |
-
"original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b=
|
82 |
-
this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;d(b.iframeFix===true?"iframe":b.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")});return true},_mouseStart:function(a){var b=this.options;this.helper=
|
83 |
-
this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});
|
84 |
-
this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions();d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);d.ui.ddmanager&&d.ui.ddmanager.dragStart(this,a);return true},
|
85 |
-
_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=
|
86 |
-
false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return false;if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&&this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,
|
87 |
-
10),function(){c._trigger("stop",a)!==false&&c._clear()})}else this._trigger("stop",a)!==false&&this._clear();return false},_mouseUp:function(a){this.options.iframeFix===true&&d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});d.ui.ddmanager&&d.ui.ddmanager.dragStop(this,a);return d.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||
|
88 |
-
!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone().removeAttr("id"):this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&
|
89 |
-
a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=
|
90 |
-
this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),
|
91 |
-
10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),
|
92 |
-
10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[a.containment=="document"?0:d(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,a.containment=="document"?0:d(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,
|
93 |
-
(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"?0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){a=d(a.containment);var b=a[0];if(b){a.offset();var c=d(b).css("overflow")!=
|
94 |
-
"hidden";this.containment=[(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0),(parseInt(d(b).css("borderTopWidth"),10)||0)+(parseInt(d(b).css("paddingTop"),10)||0),(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),
|
95 |
-
10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=a}}else if(a.containment.constructor==Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+
|
96 |
-
this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&
|
97 |
-
!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,h=a.pageY;if(this.originalPosition){var g;if(this.containment){if(this.relative_container){g=this.relative_container.offset();g=[this.containment[0]+g.left,this.containment[1]+g.top,this.containment[2]+g.left,this.containment[3]+g.top]}else g=this.containment;if(a.pageX-this.offset.click.left<g[0])e=g[0]+this.offset.click.left;
|
98 |
-
if(a.pageY-this.offset.click.top<g[1])h=g[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>g[2])e=g[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>g[3])h=g[3]+this.offset.click.top}if(b.grid){h=b.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/b.grid[1])*b.grid[1]:this.originalPageY;h=g?!(h-this.offset.click.top<g[1]||h-this.offset.click.top>g[3])?h:!(h-this.offset.click.top<g[1])?h-b.grid[1]:h+b.grid[1]:h;e=b.grid[0]?this.originalPageX+Math.round((e-this.originalPageX)/
|
99 |
-
b.grid[0])*b.grid[0]:this.originalPageX;e=g?!(e-this.offset.click.left<g[0]||e-this.offset.click.left>g[2])?e:!(e-this.offset.click.left<g[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&d.browser.version<
|
100 |
-
526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a=="drag")this.positionAbs=this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,
|
101 |
-
c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.14"});d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var h=d.data(this,"sortable");if(h&&!h.options.disabled){c.sortables.push({instance:h,shouldRevert:h.options.revert});
|
102 |
-
h.refreshPositions();h._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=
|
103 |
-
false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",true);
|
104 |
-
this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;
|
105 |
-
c._trigger("toSortable",a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&&this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&
|
106 |
-
this.instance.placeholder.remove();c._trigger("fromSortable",a);c.dropped=false}})}});d.ui.plugin.add("draggable","cursor",{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor=a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=
|
107 |
-
a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!=document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!=
|
108 |
-
"x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left<
|
109 |
-
c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!="x")if(a.pageY-d(document).scrollTop()<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y")if(a.pageX-d(document).scrollLeft()<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-
|
110 |
-
c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add("draggable","snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||":data(draggable)":b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,
|
111 |
-
width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data("draggable"),f=c.options,e=f.snapTolerance,h=b.offset.left,g=h+c.helperProportions.width,n=b.offset.top,o=n+c.helperProportions.height,i=c.snapElements.length-1;i>=0;i--){var j=c.snapElements[i].left,l=j+c.snapElements[i].width,k=c.snapElements[i].top,m=k+c.snapElements[i].height;if(j-e<h&&h<l+e&&k-e<n&&n<m+e||j-e<h&&h<l+e&&k-e<o&&o<m+e||j-e<g&&g<l+e&&k-e<n&&n<m+e||j-e<g&&g<l+e&&k-e<o&&
|
112 |
-
o<m+e){if(f.snapMode!="inner"){var p=Math.abs(k-o)<=e,q=Math.abs(m-n)<=e,r=Math.abs(j-g)<=e,s=Math.abs(l-h)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:k-c.helperProportions.height,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:m,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:j-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:l}).left-c.margins.left}var t=
|
113 |
-
p||q||r||s;if(f.snapMode!="outer"){p=Math.abs(k-n)<=e;q=Math.abs(m-o)<=e;r=Math.abs(j-h)<=e;s=Math.abs(l-g)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:k,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:m-c.helperProportions.height,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:j}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:l-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[i].snapping&&
|
114 |
-
(p||q||r||s||t))c.options.snap.snap&&c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=p||q||r||s||t}else{c.snapElements[i].snapping&&c.options.snap.release&&c.options.snap.release.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[i].item}));c.snapElements[i].snapping=false}}}});d.ui.plugin.add("draggable","stack",{start:function(){var a=d(this).data("draggable").options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css("zIndex"),
|
115 |
-
10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.css("zIndex");a.css("zIndex",b.zIndex)},stop:function(a,b){a=d(this).data("draggable").options;a._zIndex&&d(b.helper).css("zIndex",a._zIndex)}})})(jQuery);
|
116 |
-
;/*
|
117 |
-
* jQuery UI Droppable 1.8.14
|
118 |
-
*
|
119 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
120 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
121 |
-
* http://jquery.org/license
|
122 |
-
*
|
123 |
-
* http://docs.jquery.com/UI/Droppables
|
124 |
-
*
|
125 |
-
* Depends:
|
126 |
-
* jquery.ui.core.js
|
127 |
-
* jquery.ui.widget.js
|
128 |
-
* jquery.ui.mouse.js
|
129 |
-
* jquery.ui.draggable.js
|
130 |
-
*/
|
131 |
-
(function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};d.ui.ddmanager.droppables[a.scope]=d.ui.ddmanager.droppables[a.scope]||[];d.ui.ddmanager.droppables[a.scope].push(this);
|
132 |
-
a.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var a=d.ui.ddmanager.droppables[this.options.scope],b=0;b<a.length;b++)a[b]==this&&a.splice(b,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(a,b){if(a=="accept")this.accept=d.isFunction(b)?b:function(c){return c.is(b)};d.Widget.prototype._setOption.apply(this,arguments)},_activate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&
|
133 |
-
this.element.addClass(this.options.activeClass);b&&this._trigger("activate",a,this.ui(b))},_deactivate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);b&&this._trigger("deactivate",a,this.ui(b))},_over:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass);
|
134 |
-
this._trigger("over",a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",a,this.ui(b))}},_drop:function(a,b){var c=b||d.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return false;var e=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var g=
|
135 |
-
d.data(this,"droppable");if(g.options.greedy&&!g.options.disabled&&g.options.scope==c.options.scope&&g.accept.call(g.element[0],c.currentItem||c.element)&&d.ui.intersect(c,d.extend(g,{offset:g.element.offset()}),g.options.tolerance)){e=true;return false}});if(e)return false;if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop",
|
136 |
-
a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:"1.8.14"});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
|
137 |
-
switch(c){case "fit":return i<=e&&g<=k&&j<=f&&h<=l;case "intersect":return i<e+a.helperProportions.width/2&&g-a.helperProportions.width/2<k&&j<f+a.helperProportions.height/2&&h-a.helperProportions.height/2<l;case "pointer":return d.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,j,i,b.proportions.height,b.proportions.width);case "touch":return(f>=j&&f<=l||h>=j&&h<=l||f<j&&h>l)&&(e>=
|
138 |
-
i&&e<=k||g>=i&&g<=k||e<i&&g>k);default:return false}};d.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(":data(droppable)").andSelf(),f=0;a:for(;f<c.length;f++)if(!(c[f].options.disabled||a&&!c[f].accept.call(c[f].element[0],a.currentItem||a.element))){for(var h=0;h<g.length;h++)if(g[h]==c[f].element[0]){c[f].proportions.height=0;continue a}c[f].visible=c[f].element.css("display")!=
|
139 |
-
"none";if(c[f].visible){e=="mousedown"&&c[f]._activate.call(c[f],b);c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight}}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||
|
140 |
-
a.element)){this.isout=1;this.isover=0;this._deactivate.call(this,b)}}});return c},dragStart:function(a,b){a.element.parentsUntil("body").bind("scroll.droppable",function(){a.options.refreshPositions||d.ui.ddmanager.prepareOffsets(a,b)})},drag:function(a,b){a.options.refreshPositions&&d.ui.ddmanager.prepareOffsets(a,b);d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var c=d.ui.intersect(a,this,this.options.tolerance);if(c=
|
141 |
-
!c&&this.isover==1?"isout":c&&this.isover==0?"isover":null){var e;if(this.options.greedy){var g=this.element.parents(":data(droppable):eq(0)");if(g.length){e=d.data(g[0],"droppable");e.greedyChild=c=="isover"?1:0}}if(e&&c=="isover"){e.isover=0;e.isout=1;e._out.call(e,b)}this[c]=1;this[c=="isout"?"isover":"isout"]=0;this[c=="isover"?"_over":"_out"].call(this,b);if(e&&c=="isout"){e.isout=0;e.isover=1;e._over.call(e,b)}}}})},dragStop:function(a,b){a.element.parentsUntil("body").unbind("scroll.droppable");
|
142 |
-
a.options.refreshPositions||d.ui.ddmanager.prepareOffsets(a,b)}}})(jQuery);
|
143 |
-
;/*
|
144 |
-
* jQuery UI Resizable 1.8.14
|
145 |
-
*
|
146 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
147 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
148 |
-
* http://jquery.org/license
|
149 |
-
*
|
150 |
-
* http://docs.jquery.com/UI/Resizables
|
151 |
-
*
|
152 |
-
* Depends:
|
153 |
-
* jquery.ui.core.js
|
154 |
-
* jquery.ui.mouse.js
|
155 |
-
* jquery.ui.widget.js
|
156 |
-
*/
|
157 |
-
(function(e){e.widget("ui.resizable",e.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var b=this,a=this.options;this.element.addClass("ui-resizable");e.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,
|
158 |
-
_proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){/relative/.test(this.element.css("position"))&&e.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"});this.element.wrap(e('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),
|
159 |
-
top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=
|
160 |
-
this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!e(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",
|
161 |
-
nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var c=this.handles.split(",");this.handles={};for(var d=0;d<c.length;d++){var f=e.trim(c[d]),g=e('<div class="ui-resizable-handle '+("ui-resizable-"+f)+'"></div>');/sw|se|ne|nw/.test(f)&&g.css({zIndex:++a.zIndex});"se"==f&&g.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor==
|
162 |
-
String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),l=0;l=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,l);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(".ui-resizable-handle",this.element).disableSelection();
|
163 |
-
this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){if(!a.disabled){e(this).removeClass("ui-resizable-autohide");b._handles.show()}},function(){if(!a.disabled)if(!b.resizing){e(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();
|
164 |
-
var b=function(c){e(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=
|
165 |
-
false;for(var c in this.handles)if(e(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position")))d.css({position:"absolute",top:c.top,left:c.left});e.browser.opera&&/relative/.test(d.css("position"))&&d.css({position:"relative",top:"auto",left:"auto"});
|
166 |
-
this._renderProxy();c=m(this.helper.css("left"));var f=m(this.helper.css("top"));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff=
|
167 |
-
{width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio:this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];
|
168 |
-
if(!d)return false;c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate("resize",b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},
|
169 |
-
_mouseStop:function(b){this.resizing=false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName);d=f&&e.ui.hasScroll(d[0],"left")?0:c.sizeDiff.height;f=f?0:c.sizeDiff.width;f={width:c.helper.width()-f,height:c.helper.height()-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,
|
170 |
-
{top:g,left:d}));c.helper.height(c.size.height);c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",b);this._helper&&this.helper.remove();return false},_updateVirtualBoundaries:function(b){var a=this.options,c,d,f;a={minWidth:k(a.minWidth)?a.minWidth:0,maxWidth:k(a.maxWidth)?a.maxWidth:Infinity,minHeight:k(a.minHeight)?a.minHeight:0,maxHeight:k(a.maxHeight)?a.maxHeight:
|
171 |
-
Infinity};if(this._aspectRatio||b){b=a.minHeight*this.aspectRatio;d=a.minWidth/this.aspectRatio;c=a.maxHeight*this.aspectRatio;f=a.maxWidth/this.aspectRatio;if(b>a.minWidth)a.minWidth=b;if(d>a.minHeight)a.minHeight=d;if(c<a.maxWidth)a.maxWidth=c;if(f<a.maxHeight)a.maxHeight=f}this._vBoundaries=a},_updateCache:function(b){this.offset=this.helper.offset();if(k(b.left))this.position.left=b.left;if(k(b.top))this.position.top=b.top;if(k(b.height))this.size.height=b.height;if(k(b.width))this.size.width=
|
172 |
-
b.width},_updateRatio:function(b){var a=this.position,c=this.size,d=this.axis;if(k(b.height))b.width=b.height*this.aspectRatio;else if(k(b.width))b.height=b.width/this.aspectRatio;if(d=="sw"){b.left=a.left+(c.width-b.width);b.top=null}if(d=="nw"){b.top=a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this._vBoundaries,c=this.axis,d=k(b.width)&&a.maxWidth&&a.maxWidth<b.width,f=k(b.height)&&a.maxHeight&&a.maxHeight<b.height,g=k(b.width)&&a.minWidth&&
|
173 |
-
a.minWidth>b.width,h=k(b.height)&&a.minHeight&&a.minHeight>b.height;if(g)b.width=a.minWidth;if(h)b.height=a.minHeight;if(d)b.width=a.maxWidth;if(f)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height,l=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&l)b.left=i-a.minWidth;if(d&&l)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(f&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b.left=
|
174 |
-
null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=this.helper||this.element,a=0;a<this._proportionallyResizeElements.length;a++){var c=this._proportionallyResizeElements[a];if(!this.borderDif){var d=[c.css("borderTopWidth"),c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],f=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];this.borderDif=e.map(d,function(g,h){g=parseInt(g,10)||
|
175 |
-
0;h=parseInt(f[h],10)||0;return g+h})}e.browser.msie&&(e(b).is(":hidden")||e(b).parents(":hidden").length)||c.css({height:b.height()-this.borderDif[0]-this.borderDif[2]||0,width:b.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var b=this.options;this.elementOffset=this.element.offset();if(this._helper){this.helper=this.helper||e('<div style="overflow:hidden;"></div>');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+
|
176 |
-
a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+
|
177 |
-
c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);
|
178 |
-
b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:"1.8.14"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),
|
179 |
-
10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-
|
180 |
-
f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var l=e(this),q=e(this).data("resizable-alsoresize"),p={},r=j&&j.length?j:l.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(r,function(n,o){if((n=(q[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(e.browser.opera&&/relative/.test(l.css("position"))){c._revertToRelativePosition=true;l.css({position:"absolute",top:"auto",left:"auto"})}l.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?
|
181 |
-
e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})};if(b._revertToRelativePosition){b._revertToRelativePosition=false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=
|
182 |
-
e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,
|
183 |
-
step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};d&&d.length&&e(d[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate("resize",b)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var b=e(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=
|
184 |
-
e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d=e(a),f=[];e(["Top","Right","Left","Bottom"]).each(function(i,j){f[i]=m(d.css("padding"+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;
|
185 |
-
var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,"left")?a.scrollWidth:h;g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data("resizable"),c=a.options,d=a.containerOffset,f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position")))g=d;if(f.left<(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:
|
186 |
-
a.position.left-g.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?d.left:0}if(f.top<(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper?d.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-
|
187 |
-
d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css("position"));if(f&&g)c-=a.parentData.left;if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height=a.size.width/a.aspectRatio}if(d+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-d;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=e(this).data("resizable"),a=b.options,c=b.containerOffset,d=b.containerPosition,
|
188 |
-
f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&&!a.animate&&/relative/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&&!a.animate&&/static/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add("resizable","ghost",{start:function(){var b=e(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,
|
189 |
-
display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data("resizable");b.ghost&&b.ghost.css({position:"relative",height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=
|
190 |
-
e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=
|
191 |
-
d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,10)||0},k=function(b){return!isNaN(parseInt(b,10))}})(jQuery);
|
192 |
-
;/*
|
193 |
-
* jQuery UI Selectable 1.8.14
|
194 |
-
*
|
195 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
196 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
197 |
-
* http://jquery.org/license
|
198 |
-
*
|
199 |
-
* http://docs.jquery.com/UI/Selectables
|
200 |
-
*
|
201 |
-
* Depends:
|
202 |
-
* jquery.ui.core.js
|
203 |
-
* jquery.ui.mouse.js
|
204 |
-
* jquery.ui.widget.js
|
205 |
-
*/
|
206 |
-
(function(e){e.widget("ui.selectable",e.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,"selectable-item",{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass("ui-selected"),
|
207 |
-
selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})})};this.refresh();this.selectees=f.addClass("ui-selectee");this._mouseInit();this.helper=e("<div class='ui-selectable-helper'></div>")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX,
|
208 |
-
c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting");b.unselecting=true;f._trigger("unselecting",
|
209 |
-
c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f=this;this.dragged=true;if(!this.options.disabled){var d=
|
210 |
-
this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.right<b||a.top>i||a.bottom<g);else if(d.tolerance=="fit")k=a.left>b&&a.right<h&&a.top>g&&a.bottom<i;if(k){if(a.selected){a.$element.removeClass("ui-selected");a.selected=false}if(a.unselecting){a.$element.removeClass("ui-unselecting");
|
211 |
-
a.unselecting=false}if(!a.selecting){a.$element.addClass("ui-selecting");a.selecting=true;f._trigger("selecting",c,{selecting:a.element})}}else{if(a.selecting)if(c.metaKey&&a.startselected){a.$element.removeClass("ui-selecting");a.selecting=false;a.$element.addClass("ui-selected");a.selected=true}else{a.$element.removeClass("ui-selecting");a.selecting=false;if(a.startselected){a.$element.addClass("ui-unselecting");a.unselecting=true}f._trigger("unselecting",c,{unselecting:a.element})}if(a.selected)if(!c.metaKey&&
|
212 |
-
!a.startselected){a.$element.removeClass("ui-selected");a.selected=false;a.$element.addClass("ui-unselecting");a.unselecting=true;f._trigger("unselecting",c,{unselecting:a.element})}}}});return false}},_mouseStop:function(c){var f=this;this.dragged=false;e(".ui-unselecting",this.element[0]).each(function(){var d=e.data(this,"selectable-item");d.$element.removeClass("ui-unselecting");d.unselecting=false;d.startselected=false;f._trigger("unselected",c,{unselected:d.element})});e(".ui-selecting",this.element[0]).each(function(){var d=
|
213 |
-
e.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected");d.selecting=false;d.selected=true;d.startselected=true;f._trigger("selected",c,{selected:d.element})});this._trigger("stop",c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:"1.8.14"})})(jQuery);
|
214 |
-
;/*
|
215 |
-
* jQuery UI Sortable 1.8.14
|
216 |
-
*
|
217 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
218 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
219 |
-
* http://jquery.org/license
|
220 |
-
*
|
221 |
-
* http://docs.jquery.com/UI/Sortables
|
222 |
-
*
|
223 |
-
* Depends:
|
224 |
-
* jquery.ui.core.js
|
225 |
-
* jquery.ui.mouse.js
|
226 |
-
* jquery.ui.widget.js
|
227 |
-
*/
|
228 |
-
(function(d){d.widget("ui.sortable",d.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){var a=this.options;this.containerCache={};this.element.addClass("ui-sortable");
|
229 |
-
this.refresh();this.floating=this.items.length?a.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a===
|
230 |
-
"disabled"){this.options[a]=b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&
|
231 |
-
!b){var f=false;d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem=c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,
|
232 |
-
left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};
|
233 |
-
this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment();if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=
|
234 |
-
document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);
|
235 |
-
return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY<b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop+b.scrollSpeed;else if(a.pageY-this.overflowOffset.top<
|
236 |
-
b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-b.scrollSpeed;if(this.overflowOffset.left+this.scrollParent[0].offsetWidth-a.pageX<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft+b.scrollSpeed;else if(a.pageX-this.overflowOffset.left<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft-b.scrollSpeed}else{if(a.pageY-d(document).scrollTop()<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()-
|
237 |
-
b.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()+b.scrollSpeed);if(a.pageX-d(document).scrollLeft()<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()-b.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()+b.scrollSpeed)}c!==false&&d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,
|
238 |
-
a)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(b=this.items.length-1;b>=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],
|
239 |
-
e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a,c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();
|
240 |
-
c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):
|
241 |
-
this.currentItem.show();for(var b=this.containers.length-1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,
|
242 |
-
dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},
|
243 |
-
toArray:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+j<k&&b+l>g&&b+l<h;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||
|
244 |
-
this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>a[this.floating?"width":"height"]?j:g<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<h&&i<e+this.helperProportions.height/2&&f-this.helperProportions.height/2<k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&&a;a=this._getDragVerticalDirection();
|
245 |
-
var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating?c&&c=="right"||a=="down"?2:1:a&&(a=="down"?2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&&e?e=="right"&&a||e=="left"&&!a:c&&(c=="down"&&b||c=="up"&&!b)},
|
246 |
-
_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&&(a>0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();
|
247 |
-
if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h=d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),
|
248 |
-
this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)});return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),
|
249 |
-
this]],e=this._connectWith();if(e)for(var f=e.length-1;f>=0;f--)for(var g=d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h<g;h++){i=d(e[h]);i.data("sortable-item",a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&&
|
250 |
-
this.helper)this.offset.parent=this._getParentOffset();for(var b=this.items.length-1;b>=0;b--){var c=this.items[b];if(!(c.instance!=this.currentContainer&&this.currentContainer&&c.item[0]!=this.currentItem[0])){var e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=
|
251 |
-
this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top=e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=
|
252 |
-
d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!e)f.style.visibility="hidden";return f},update:function(f,g){if(!(e&&!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||
|
253 |
-
0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e>=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&&d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",
|
254 |
-
a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length===1){this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?"left":"top"];if(Math.abs(h-
|
255 |
-
f)<b){b=Math.abs(h-f);e=this.items[g]}}if(e||this.options.dropOnEmpty){this.currentContainer=this.containers[c];e?this._rearrange(a,e,null,true):this._rearrange(a,null,this.containers[c].element,true);this._trigger("change",a,this._uiHash());this.containers[c]._trigger("change",a,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}}},_createHelper:function(a){var b=
|
256 |
-
this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a,this.currentItem])):b.helper=="clone"?this.currentItem.clone():this.currentItem;a.parents("body").length||d(b.appendTo!="parent"?b.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);if(a[0]==this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")};if(a[0].style.width==
|
257 |
-
""||b.forceHelperSize)a.width(this.currentItem.width());if(a[0].style.height==""||b.forceHelperSize)a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=
|
258 |
-
this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a=
|
259 |
-
{top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),
|
260 |
-
10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,d(a.containment=="document"?
|
261 |
-
document:window).width()-this.helperProportions.width-this.margins.left,(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var b=d(a.containment)[0];a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(d(b).css("borderTopWidth"),
|
262 |
-
10)||0)+(parseInt(d(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,b){if(!b)b=
|
263 |
-
this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&
|
264 |
-
this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();
|
265 |
-
var f=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left<this.containment[0])f=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-
|
266 |
-
this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;f=this.originalPageX+Math.round((f-this.originalPageX)/b.grid[0])*b.grid[0];f=this.containment?!(f-this.offset.click.left<this.containment[0]||f-this.offset.click.left>this.containment[2])?f:!(f-this.offset.click.left<this.containment[0])?f-b.grid[0]:f+b.grid[0]:f}}return{top:g-
|
267 |
-
this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:c.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())}},_rearrange:function(a,b,c,e){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],
|
268 |
-
this.direction=="down"?b.item[0]:b.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&&f.refreshPositions(!e)},0)},_clear:function(a,b){this.reverting=false;var c=[];!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var e in this._storedCSS)if(this._storedCSS[e]=="auto"||this._storedCSS[e]=="static")this._storedCSS[e]=
|
269 |
-
"";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!b&&c.push(function(f){this._trigger("receive",f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!b)c.push(function(f){this._trigger("update",f,this._uiHash())});if(!d.ui.contains(this.element[0],this.currentItem[0])){b||c.push(function(f){this._trigger("remove",
|
270 |
-
f,this._uiHash())});for(e=this.containers.length-1;e>=0;e--)if(d.ui.contains(this.containers[e].element[0],this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e>=0;e--){b||c.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,
|
271 |
-
this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger("out",g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger("beforeStop",
|
272 |
-
a,this._uiHash());for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}return false}b||this._trigger("beforeStop",a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!b){for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){d.Widget.prototype._trigger.apply(this,arguments)===false&&this.cancel()},
|
273 |
-
_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||d([]),position:b.position,originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:"1.8.14"})})(jQuery);
|
274 |
-
;/*
|
275 |
-
* jQuery UI Accordion 1.8.14
|
276 |
-
*
|
277 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
278 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
279 |
-
* http://jquery.org/license
|
280 |
-
*
|
281 |
-
* http://docs.jquery.com/UI/Accordion
|
282 |
-
*
|
283 |
-
* Depends:
|
284 |
-
* jquery.ui.core.js
|
285 |
-
* jquery.ui.widget.js
|
286 |
-
*/
|
287 |
-
(function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");
|
288 |
-
a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
|
289 |
-
if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion",
|
290 |
-
function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=
|
291 |
-
this.options;if(a.icons){c("<span></span>").addClass("ui-icon "+a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");
|
292 |
-
this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons();
|
293 |
-
b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target);
|
294 |
-
a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+
|
295 |
-
c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options;
|
296 |
-
if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);
|
297 |
-
if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(),
|
298 |
-
e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight||
|
299 |
-
e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false",
|
300 |
-
"aria-selected":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.14",
|
301 |
-
animations:{slide:function(a,b){a=c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);
|
302 |
-
f[i]={value:j[1],unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",
|
303 |
-
paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery);
|
304 |
-
;/*
|
305 |
-
* jQuery UI Autocomplete 1.8.14
|
306 |
-
*
|
307 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
308 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
309 |
-
* http://jquery.org/license
|
310 |
-
*
|
311 |
-
* http://docs.jquery.com/UI/Autocomplete
|
312 |
-
*
|
313 |
-
* Depends:
|
314 |
-
* jquery.ui.core.js
|
315 |
-
* jquery.ui.widget.js
|
316 |
-
* jquery.ui.position.js
|
317 |
-
*/
|
318 |
-
(function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){g=
|
319 |
-
false;var f=d.ui.keyCode;switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=
|
320 |
-
a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};
|
321 |
-
this.menu=d("<ul></ul>").addClass("ui-autocomplete").appendTo(d(this.options.appendTo||"body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&
|
322 |
-
a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"),i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");
|
323 |
-
d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&
|
324 |
-
b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source==="string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=
|
325 |
-
this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==false)return this._search(a)},_search:function(a){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&&a&&a.length){a=this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();
|
326 |
-
this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",a)}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||
|
327 |
-
b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next(new d.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;
|
328 |
-
d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d("<li></li>").data("item.autocomplete",b).append(d("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
|
329 |
-
"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
|
330 |
-
(function(d){d.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(a){if(d(a.target).closest(".ui-menu-item a").length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
|
331 |
-
-1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.scrollTop(),c=this.element.height();if(b<0)this.element.scrollTop(g+b);else b>=c&&this.element.scrollTop(g+b-c+a.height())}this.active=a.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:a})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");
|
332 |
-
this._trigger("blur");this.active=null}},next:function(e){this.move("next",".ui-menu-item:first",e)},previous:function(e){this.move("prev",".ui-menu-item:last",e)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,a,b){if(this.active){e=this.active[e+"All"](".ui-menu-item").eq(0);e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.activate(b,
|
333 |
-
this.element.children(a))},nextPage:function(e){if(this.hasScroll())if(!this.active||this.last())this.activate(e,this.element.children(".ui-menu-item:first"));else{var a=this.active.offset().top,b=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-a-b+d(this).height();return c<10&&c>-10});g.length||(g=this.element.children(".ui-menu-item:last"));this.activate(e,g)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
|
334 |
-
this.last()?":first":":last"))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(".ui-menu-item:last"));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g<10&&g>-10});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(e,result)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||
|
335 |
-
this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[d.fn.prop?"prop":"attr"]("scrollHeight")},select:function(e){this._trigger("selected",e,{item:this.active})}})})(jQuery);
|
336 |
-
;/*
|
337 |
-
* jQuery UI Button 1.8.14
|
338 |
-
*
|
339 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
340 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
341 |
-
* http://jquery.org/license
|
342 |
-
*
|
343 |
-
* http://docs.jquery.com/UI/Button
|
344 |
-
*
|
345 |
-
* Depends:
|
346 |
-
* jquery.ui.core.js
|
347 |
-
* jquery.ui.widget.js
|
348 |
-
*/
|
349 |
-
(function(b){var h,i,j,g,l=function(){var a=b(this).find(":ui-button");setTimeout(function(){a.button("refresh")},1)},k=function(a){var c=a.name,e=a.form,f=b([]);if(c)f=e?b(e).find("[name='"+c+"']"):b("[name='"+c+"']",a.ownerDocument).filter(function(){return!this.form});return f};b.widget("ui.button",{options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",l);if(typeof this.options.disabled!==
|
350 |
-
"boolean")this.options.disabled=this.element.attr("disabled");this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var a=this,c=this.options,e=this.type==="checkbox"||this.type==="radio",f="ui-state-hover"+(!e?" ui-state-active":"");if(c.label===null)c.label=this.buttonElement.html();if(this.element.is(":disabled"))c.disabled=true;this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",function(){if(!c.disabled){b(this).addClass("ui-state-hover");
|
351 |
-
this===h&&b(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||b(this).removeClass(f)}).bind("click.button",function(d){if(c.disabled){d.preventDefault();d.stopImmediatePropagation()}});this.element.bind("focus.button",function(){a.buttonElement.addClass("ui-state-focus")}).bind("blur.button",function(){a.buttonElement.removeClass("ui-state-focus")});if(e){this.element.bind("change.button",function(){g||a.refresh()});this.buttonElement.bind("mousedown.button",function(d){if(!c.disabled){g=
|
352 |
-
false;i=d.pageX;j=d.pageY}}).bind("mouseup.button",function(d){if(!c.disabled)if(i!==d.pageX||j!==d.pageY)g=true})}if(this.type==="checkbox")this.buttonElement.bind("click.button",function(){if(c.disabled||g)return false;b(this).toggleClass("ui-state-active");a.buttonElement.attr("aria-pressed",a.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled||g)return false;b(this).addClass("ui-state-active");a.buttonElement.attr("aria-pressed",true);
|
353 |
-
var d=a.element[0];k(d).not(d).map(function(){return b(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)});else{this.buttonElement.bind("mousedown.button",function(){if(c.disabled)return false;b(this).addClass("ui-state-active");h=this;b(document).one("mouseup",function(){h=null})}).bind("mouseup.button",function(){if(c.disabled)return false;b(this).removeClass("ui-state-active")}).bind("keydown.button",function(d){if(c.disabled)return false;if(d.keyCode==b.ui.keyCode.SPACE||
|
354 |
-
d.keyCode==b.ui.keyCode.ENTER)b(this).addClass("ui-state-active")}).bind("keyup.button",function(){b(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(d){d.keyCode===b.ui.keyCode.SPACE&&b(this).click()})}this._setOption("disabled",c.disabled);this._resetButton()},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if(this.type==="checkbox"||this.type===
|
355 |
-
"radio"){var a=this.element.parents().filter(":last"),c="label[for="+this.element.attr("id")+"]";this.buttonElement=a.find(c);if(!this.buttonElement.length){a=a.length?a.siblings():this.element.siblings();this.buttonElement=a.filter(c);if(!this.buttonElement.length)this.buttonElement=a.find(c)}this.element.addClass("ui-helper-hidden-accessible");(a=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",a)}else this.buttonElement=this.element},
|
356 |
-
widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());this.hasTitle||this.buttonElement.removeAttr("title");
|
357 |
-
b.Widget.prototype.destroy.call(this)},_setOption:function(a,c){b.Widget.prototype._setOption.apply(this,arguments);if(a==="disabled")c?this.element.attr("disabled",true):this.element.removeAttr("disabled");else this._resetButton()},refresh:function(){var a=this.element.is(":disabled");a!==this.options.disabled&&this._setOption("disabled",a);if(this.type==="radio")k(this.element[0]).each(function(){b(this).is(":checked")?b(this).button("widget").addClass("ui-state-active").attr("aria-pressed",true):
|
358 |
-
b(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",false)});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed",true):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",false)},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var a=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"),
|
359 |
-
c=b("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(a.empty()).text(),e=this.options.icons,f=e.primary&&e.secondary,d=[];if(e.primary||e.secondary){if(this.options.text)d.push("ui-button-text-icon"+(f?"s":e.primary?"-primary":"-secondary"));e.primary&&a.prepend("<span class='ui-button-icon-primary ui-icon "+e.primary+"'></span>");e.secondary&&a.append("<span class='ui-button-icon-secondary ui-icon "+e.secondary+"'></span>");if(!this.options.text){d.push(f?"ui-button-icons-only":
|
360 |
-
"ui-button-icon-only");this.hasTitle||a.attr("title",c)}}else d.push("ui-button-text-only");a.addClass(d.join(" "))}}});b.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(a,c){a==="disabled"&&this.buttons.button("option",a,c);b.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var a=this.element.css("direction")===
|
361 |
-
"ltr";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(a?"ui-corner-left":"ui-corner-right").end().filter(":last").addClass(a?"ui-corner-right":"ui-corner-left").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");
|
362 |
-
b.Widget.prototype.destroy.call(this)}})})(jQuery);
|
363 |
-
;/*
|
364 |
-
* jQuery UI Dialog 1.8.14
|
365 |
-
*
|
366 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
367 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
368 |
-
* http://jquery.org/license
|
369 |
-
*
|
370 |
-
* http://docs.jquery.com/UI/Dialog
|
371 |
-
*
|
372 |
-
* Depends:
|
373 |
-
* jquery.ui.core.js
|
374 |
-
* jquery.ui.widget.js
|
375 |
-
* jquery.ui.button.js
|
376 |
-
* jquery.ui.draggable.js
|
377 |
-
* jquery.ui.mouse.js
|
378 |
-
* jquery.ui.position.js
|
379 |
-
* jquery.ui.resizable.js
|
380 |
-
*/
|
381 |
-
(function(c,l){var m={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},n={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},o=c.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,
|
382 |
-
position:{my:"center",at:"center",collision:"fit",using:function(a){var b=c(this).css(a).offset().top;b<0&&c(this).css("top",a.top-b)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var a=this,b=a.options,d=b.title||" ",e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+
|
383 |
-
b.dialogClass).css({zIndex:b.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var f=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),
|
384 |
-
h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-icon ui-icon-closethick").text(b.closeText).appendTo(h);c("<span></span>").addClass("ui-dialog-title").attr("id",
|
385 |
-
e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&&!c.isFunction(b.beforeClose))b.beforeClose=b.beforeclose;f.find("*").add(f).disableSelection();b.draggable&&c.fn.draggable&&a._makeDraggable();b.resizable&&c.fn.resizable&&a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy();a.uiDialog.hide();a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");
|
386 |
-
a.uiDialog.remove();a.originalTitle&&a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d,e;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==
|
387 |
-
b.uiDialog[0]){e=c(this).css("z-index");isNaN(e)||(d=Math.max(d,e))}});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&&!a||!e.stack&&!e.modal)return d._trigger("focus",b);if(e.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=
|
388 |
-
1;d.uiDialog.css("z-index",c.ui.dialog.maxZ);d.element.attr(a);d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),f=g.filter(":first");g=g.filter(":last");if(e.target===g[0]&&!e.shiftKey){f.focus(1);return false}else if(e.target===
|
389 |
-
f[0]&&e.shiftKey){g.focus(1);return false}}});c(a.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus();a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,
|
390 |
-
function(){return!(d=true)});if(d){c.each(a,function(f,h){h=c.isFunction(h)?{click:h,text:f}:h;var i=c('<button type="button"></button>').click(function(){h.click.apply(b.element[0],arguments)}).appendTo(g);c.each(h,function(j,k){if(j!=="click")j in o?i[j](k):i.attr(j,k)});c.fn.button&&i.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",
|
391 |
-
handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){g=d.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(g);b._trigger("dragStop",f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,
|
392 |
-
originalSize:f.originalSize,position:f.position,size:f.size}}a=a===l?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css("position");a=typeof a==="string"?a:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass("ui-dialog-resizing");d._trigger("resizeStart",f,b(h))},resize:function(f,h){d._trigger("resize",
|
393 |
-
f,b(h))},stop:function(f,h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c(this).width();d._trigger("resizeStop",f,b(h));c.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):
|
394 |
-
[a[0],a[1]];if(b.length===1)b[1]=b[0];c.each(["left","top"],function(g,f){if(+b[g]===b[g]){d[g]=b[g];b[g]=f}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.dialog.prototype.options.position,a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(c.extend({of:window},a));e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);
|
395 |
-
if(g in m)e=true;if(g in n)d[g]=f});e&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):
|
396 |
-
e.removeClass("ui-dialog-disabled");break;case "draggable":var g=e.is(":data(draggable)");g&&!b&&e.draggable("destroy");!g&&b&&d._makeDraggable();break;case "position":d._position(b);break;case "resizable":(g=e.is(":data(resizable)"))&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title",d.uiDialogTitlebar).html(""+(b||" "));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=
|
397 |
-
this.options,b,d,e=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(a.minWidth>a.width)a.width=a.minWidth;b=this.uiDialog.css({height:"auto",width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height==="auto")if(c.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();a=this.element.css("height","auto").height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-
|
398 |
-
b,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.14",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),
|
399 |
-
create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()<c.ui.dialog.overlay.maxZ)return false})},1);c(document).bind("keydown.dialog-overlay",function(d){if(a.options.closeOnEscape&&d.keyCode&&d.keyCode===c.ui.keyCode.ESCAPE){a.close(d);d.preventDefault()}});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var b=(this.oldInstances.pop()||c("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),
|
400 |
-
height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
|
401 |
-
b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a<b?c(window).height()+"px":a+"px"}else return c(document).height()+"px"},width:function(){var a,b;if(c.browser.msie){a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a<b?c(window).width()+"px":a+"px"}else return c(document).width()+"px"},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances,function(){a=
|
402 |
-
a.add(this)});a.css({width:0,height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
|
403 |
-
;/*
|
404 |
-
* jQuery UI Slider 1.8.14
|
405 |
-
*
|
406 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
407 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
408 |
-
* http://jquery.org/license
|
409 |
-
*
|
410 |
-
* http://docs.jquery.com/UI/Slider
|
411 |
-
*
|
412 |
-
* Depends:
|
413 |
-
* jquery.ui.core.js
|
414 |
-
* jquery.ui.mouse.js
|
415 |
-
* jquery.ui.widget.js
|
416 |
-
*/
|
417 |
-
(function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options,c=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),f=a.values&&a.values.length||1,e=[];this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+
|
418 |
-
this.orientation+" ui-widget ui-widget-content ui-corner-all"+(a.disabled?" ui-slider-disabled ui-disabled":""));this.range=d([]);if(a.range){if(a.range===true){if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}this.range=d("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(a.range==="min"||a.range==="max"?" ui-slider-range-"+a.range:""))}for(var j=c.length;j<f;j+=1)e.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>");
|
419 |
-
this.handles=c.add(d(e.join("")).appendTo(b.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(g){g.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(g){d(this).data("index.ui-slider-handle",
|
420 |
-
g)});this.handles.keydown(function(g){var k=true,l=d(this).data("index.ui-slider-handle"),i,h,m;if(!b.options.disabled){switch(g.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:k=false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");i=b._start(g,l);if(i===false)return}break}m=b.options.step;i=b.options.values&&b.options.values.length?
|
421 |
-
(h=b.values(l)):(h=b.value());switch(g.keyCode){case d.ui.keyCode.HOME:h=b._valueMin();break;case d.ui.keyCode.END:h=b._valueMax();break;case d.ui.keyCode.PAGE_UP:h=b._trimAlignValue(i+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:h=b._trimAlignValue(i-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(i===b._valueMax())return;h=b._trimAlignValue(i+m);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(i===b._valueMin())return;h=b._trimAlignValue(i-
|
422 |
-
m);break}b._slide(g,l,h);return k}}).keyup(function(g){var k=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(g,k);b._change(g,k);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();
|
423 |
-
return this},_mouseCapture:function(b){var a=this.options,c,f,e,j,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});f=this._valueMax()-this._valueMin()+1;j=this;this.handles.each(function(k){var l=Math.abs(c-j.values(k));if(f>l){f=l;e=d(this);g=k}});if(a.range===true&&this.values(1)===a.min){g+=1;e=d(this.handles[g])}if(this._start(b,g)===false)return false;
|
424 |
-
this._mouseSliding=true;j._handleIndex=g;e.addClass("ui-state-active").focus();a=e.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-e.width()/2,top:b.pageY-a.top-e.height()/2-(parseInt(e.css("borderTopWidth"),10)||0)-(parseInt(e.css("borderBottomWidth"),10)||0)+(parseInt(e.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(b){var a=
|
425 |
-
this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;if(this.orientation==="horizontal"){a=
|
426 |
-
this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);
|
427 |
-
c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var f;if(this.options.values&&this.options.values.length){f=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>f||a===1&&c<f))c=f;if(c!==this.values(a)){f=this.values();f[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:f});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a],value:c});
|
428 |
-
b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value=
|
429 |
-
this._trimAlignValue(b);this._refreshValue();this._change(null,0)}else return this._value()},values:function(b,a){var c,f,e;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}else if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;f=arguments[0];for(e=0;e<c.length;e+=1){c[e]=this._trimAlignValue(f[e]);this._change(null,e)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):
|
430 |
-
this.value();else return this._values()},_setOption:function(b,a){var c,f=0;if(d.isArray(this.options.values))f=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
|
431 |
-
this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<f;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b];
|
432 |
-
return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
|
433 |
-
_refreshValue:function(){var b=this.options.range,a=this.options,c=this,f=!this._animateOff?a.animate:false,e,j={},g,k,l,i;if(this.options.values&&this.options.values.length)this.handles.each(function(h){e=(c.values(h)-c._valueMin())/(c._valueMax()-c._valueMin())*100;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";d(this).stop(1,1)[f?"animate":"css"](j,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(h===0)c.range.stop(1,1)[f?"animate":"css"]({left:e+"%"},a.animate);
|
434 |
-
if(h===1)c.range[f?"animate":"css"]({width:e-g+"%"},{queue:false,duration:a.animate})}else{if(h===0)c.range.stop(1,1)[f?"animate":"css"]({bottom:e+"%"},a.animate);if(h===1)c.range[f?"animate":"css"]({height:e-g+"%"},{queue:false,duration:a.animate})}g=e});else{k=this.value();l=this._valueMin();i=this._valueMax();e=i!==l?(k-l)/(i-l)*100:0;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";this.handle.stop(1,1)[f?"animate":"css"](j,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
|
435 |
-
1)[f?"animate":"css"]({width:e+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[f?"animate":"css"]({width:100-e+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[f?"animate":"css"]({height:e+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[f?"animate":"css"]({height:100-e+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.14"})})(jQuery);
|
436 |
-
;/*
|
437 |
-
* jQuery UI Tabs 1.8.14
|
438 |
-
*
|
439 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
440 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
441 |
-
* http://jquery.org/license
|
442 |
-
*
|
443 |
-
* http://docs.jquery.com/UI/Tabs
|
444 |
-
*
|
445 |
-
* Depends:
|
446 |
-
* jquery.ui.core.js
|
447 |
-
* jquery.ui.widget.js
|
448 |
-
*/
|
449 |
-
(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading…</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&&
|
450 |
-
e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=
|
451 |
-
d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]||
|
452 |
-
(q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");
|
453 |
-
this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected=
|
454 |
-
this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");
|
455 |
-
if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));
|
456 |
-
this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+
|
457 |
-
g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",
|
458 |
-
function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")};
|
459 |
-
this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected=
|
460 |
-
-1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";
|
461 |
-
d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e=
|
462 |
-
d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b,
|
463 |
-
e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);
|
464 |
-
j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove();
|
465 |
-
if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h>=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null,
|
466 |
-
this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this},
|
467 |
-
load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c,
|
468 |
-
"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
|
469 |
-
url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.14"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&&
|
470 |
-
a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
|
471 |
-
;/*
|
472 |
-
* jQuery UI Datepicker 1.8.14
|
473 |
-
*
|
474 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
475 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
476 |
-
* http://jquery.org/license
|
477 |
-
*
|
478 |
-
* http://docs.jquery.com/UI/Datepicker
|
479 |
-
*
|
480 |
-
* Depends:
|
481 |
-
* jquery.ui.core.js
|
482 |
-
*/
|
483 |
-
(function(d,C){function M(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass=
|
484 |
-
"ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su",
|
485 |
-
"Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",
|
486 |
-
minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};d.extend(this._defaults,this.regional[""]);this.dpDiv=N(d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}function N(a){return a.bind("mouseout",function(b){b=
|
487 |
-
d(b.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a");b.length&&b.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(b){b=d(b.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a");if(!(d.datepicker._isDisabledDatepicker(J.inline?a.parent()[0]:J.input[0])||!b.length)){b.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");b.addClass("ui-state-hover");
|
488 |
-
b.hasClass("ui-datepicker-prev")&&b.addClass("ui-datepicker-prev-hover");b.hasClass("ui-datepicker-next")&&b.addClass("ui-datepicker-next-hover")}})}function H(a,b){d.extend(a,b);for(var c in b)if(b[c]==null||b[c]==C)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.14"}});var A=(new Date).getTime(),J;d.extend(M.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){H(this._defaults,
|
489 |
-
a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase();f=e=="div"||e=="span";if(!a.id){this.uuid+=1;a.id="dp"+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e=="input")this._connectDatepicker(a,i);else f&&this._inlineDatepicker(a,i)},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,
|
490 |
-
selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:N(d('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}},_connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,f,h){b.settings[f]=
|
491 |
-
h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,"datepicker",b)}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");b.append&&b.append.remove();if(c){b.append=d('<span class="'+this._appendClass+'">'+c+"</span>");a[e?"before":"after"](b.append)}a.unbind("focus",this._showDatepicker);b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if(c=="focus"||c=="both")a.focus(this._showDatepicker);if(c=="button"||c=="both"){c=
|
492 |
-
this._get(b,"buttonText");var f=this._get(b,"buttonImage");b.trigger=d(this._get(b,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('<button type="button"></button>').addClass(this._triggerClass).html(f==""?c:d("<img/>").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,
|
493 |
-
"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;g<f.length;g++)if(f[g].length>h){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a,c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",
|
494 |
-
function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});d.data(a,"datepicker",b);this._setDate(b,this._getDefaultDate(b),true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('<input type="text" id="'+("dp"+this.uuid)+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);
|
495 |
-
a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}H(a.settings,e||{});b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",
|
496 |
-
this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,"datepicker");if(e=="input"){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind("focus",
|
497 |
-
this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span"){b=
|
498 |
-
b.children("."+this._inlineClass);b.children().removeClass("ui-state-disabled");b.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=true;c.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",
|
499 |
-
cursor:"default"})}else if(e=="div"||e=="span"){b=b.children("."+this._inlineClass);b.children().addClass("ui-state-disabled");b.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")}this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return true;return false},
|
500 |
-
_getInst:function(a){try{return d.data(a,"datepicker")}catch(b){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(a,b,c){var e=this._getInst(a);if(arguments.length==2&&typeof b=="string")return b=="defaults"?d.extend({},d.datepicker._defaults):e?b=="all"?d.extend({},e.settings):this._get(e,b):null;var f=b||{};if(typeof b=="string"){f={};f[b]=c}if(e){this._curInst==e&&this._hideDatepicker();var h=this._getDateDatepicker(a,true),i=this._getMinMaxDate(e,"min"),g=this._getMinMaxDate(e,
|
501 |
-
"max");H(e.settings,f);if(i!==null&&f.dateFormat!==C&&f.minDate===C)e.settings.minDate=this._formatDate(e,i);if(g!==null&&f.dateFormat!==C&&f.maxDate===C)e.settings.maxDate=this._formatDate(e,g);this._attachments(d(a),e);this._autoSize(e);this._setDate(e,h);this._updateAlternate(e);this._updateDatepicker(e)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,
|
502 |
-
b);this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,b){(a=this._getInst(a))&&!a.inline&&this._setDateFromField(a,b);return a?this._getDate(a):null},_doKeyDown:function(a){var b=d.datepicker._getInst(a.target),c=true,e=b.dpDiv.is(".ui-datepicker-rtl");b._keyEvent=true;if(d.datepicker._datepickerShowing)switch(a.keyCode){case 9:d.datepicker._hideDatepicker();c=false;break;case 13:c=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",b.dpDiv);
|
503 |
-
c[0]?d.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]):d.datepicker._hideDatepicker();return false;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)d.datepicker._clearDate(a.target);
|
504 |
-
c=a.ctrlKey||a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)d.datepicker._gotoToday(a.target);c=a.ctrlKey||a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?+1:-1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 38:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,-7,"D");c=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||
|
505 |
-
a.metaKey)d.datepicker._adjustDate(a.target,e?-1:+1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 40:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,+7,"D");c=a.ctrlKey||a.metaKey;break;default:c=false}else if(a.keyCode==36&&a.ctrlKey)d.datepicker._showDatepicker(this);else c=false;if(c){a.preventDefault();a.stopPropagation()}},_doKeyPress:function(a){var b=
|
506 |
-
d.datepicker._getInst(a.target);if(d.datepicker._get(b,"constrainInput")){b=d.datepicker._possibleChars(d.datepicker._get(b,"dateFormat"));var c=String.fromCharCode(a.charCode==C?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||c<" "||!b||b.indexOf(c)>-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);
|
507 |
-
d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true},_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);if(d.datepicker._curInst&&d.datepicker._curInst!=b){d.datepicker._datepickerShowing&&d.datepicker._triggerOnClose(d.datepicker._curInst);d.datepicker._curInst.dpDiv.stop(true,true)}var c=
|
508 |
-
d.datepicker._get(b,"beforeShow");H(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos=d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c=
|
509 |
-
{left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b,c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");var f=d.datepicker._get(b,"duration"),h=function(){var i=b.dpDiv.find("iframe.ui-datepicker-cover");
|
510 |
-
if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.datepicker._datepickerShowing=true;d.effects&&d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=b}}},_updateDatepicker:function(a){this.maxRows=4;var b=d.datepicker._getBorders(a.dpDiv);
|
511 |
-
J=a;a.dpDiv.empty().append(this._generateHTML(a));var c=a.dpDiv.find("iframe.ui-datepicker-cover");c.length&&c.css({left:-b[0],top:-b[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("."+this._dayOverClass+" a").mouseover();b=this._getNumberOfMonths(a);c=b[1];a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");c>1&&a.dpDiv.addClass("ui-datepicker-multi-"+c).css("width",17*c+"em");a.dpDiv[(b[0]!=1||b[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");
|
512 |
-
a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var e=a.yearshtml;setTimeout(function(){e===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);e=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||
|
513 |
-
c};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+
|
514 |
-
i?d(document).scrollTop():0;b.left-=Math.min(b.left,b.left+e>g&&g>e?Math.abs(b.left+e-g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1||d.expr.filters.hidden(a));)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_triggerOnClose:function(a){var b=this._get(a,"onClose");if(b)b.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a])},_hideDatepicker:function(a){var b=
|
515 |
-
this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);this._curInst=null};d.effects&&d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);a||e();d.datepicker._triggerOnClose(b);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",
|
516 |
-
left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&
|
517 |
-
d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=
|
518 |
-
b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear=false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=
|
519 |
-
!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=d("a",e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);
|
520 |
-
a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a);else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));
|
521 |
-
d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b=a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%
|
522 |
-
100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=B+1<a.length&&a.charAt(B+1)==p)&&B++;return p},m=function(p){var D=o(p);p=new RegExp("^\\d{1,"+(p=="@"?14:p=="!"?20:p=="y"&&D?4:p=="o"?3:2)+"}");p=b.substring(q).match(p);if(!p)throw"Missing number at position "+q;q+=
|
523 |
-
p[0].length;return parseInt(p[0],10)},n=function(p,D,K){p=d.map(o(p)?K:D,function(w,x){return[[x,w]]}).sort(function(w,x){return-(w[1].length-x[1].length)});var E=-1;d.each(p,function(w,x){w=x[1];if(b.substr(q,w.length).toLowerCase()==w.toLowerCase()){E=x[0];q+=w.length;return false}});if(E!=-1)return E+1;else throw"Unknown name at position "+q;},s=function(){if(b.charAt(q)!=a.charAt(B))throw"Unexpected literal at position "+q;q++},q=0,B=0;B<a.length;B++)if(k)if(a.charAt(B)=="'"&&!o("'"))k=false;
|
524 |
-
else s();else switch(a.charAt(B)){case "d":l=m("d");break;case "D":n("D",f,h);break;case "o":u=m("o");break;case "m":j=m("m");break;case "M":j=n("M",i,g);break;case "y":c=m("y");break;case "@":var v=new Date(m("@"));c=v.getFullYear();j=v.getMonth()+1;l=v.getDate();break;case "!":v=new Date((m("!")-this._ticksTo1970)/1E4);c=v.getFullYear();j=v.getMonth()+1;l=v.getDate();break;case "'":if(o("'"))s();else k=true;break;default:s()}if(q<b.length)throw"Extra/unparsed characters found in date: "+b.substring(q);
|
525 |
-
if(c==-1)c=(new Date).getFullYear();else if(c<100)c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c<=e?0:-100);if(u>-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l<=e)break;j++;l-=e}while(1)}v=this._daylightSavingAdjust(new Date(c,j-1,l));if(v.getFullYear()!=c||v.getMonth()+1!=j||v.getDate()!=l)throw"Invalid date";return v},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",
|
526 |
-
TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return"";var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:null)||this._defaults.monthNames;var i=function(o){(o=k+1<a.length&&a.charAt(k+1)==o)&&k++;return o},g=function(o,m,n){m=""+m;if(i(o))for(;m.length<
|
527 |
-
n;)m="0"+m;return m},j=function(o,m,n,s){return i(o)?s[m]:n[m]},l="",u=false;if(b)for(var k=0;k<a.length;k++)if(u)if(a.charAt(k)=="'"&&!i("'"))u=false;else l+=a.charAt(k);else switch(a.charAt(k)){case "d":l+=g("d",b.getDate(),2);break;case "D":l+=j("D",b.getDay(),e,f);break;case "o":l+=g("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864E5),3);break;case "m":l+=g("m",b.getMonth()+1,2);break;case "M":l+=j("M",b.getMonth(),h,
|
528 |
-
c);break;case "y":l+=i("y")?b.getFullYear():(b.getYear()%100<10?"0":"")+b.getYear()%100;break;case "@":l+=b.getTime();break;case "!":l+=b.getTime()*1E4+this._ticksTo1970;break;case "'":if(i("'"))l+="'";else u=true;break;default:l+=a.charAt(k)}return l},_possibleChars:function(a){for(var b="",c=false,e=function(h){(h=f+1<a.length&&a.charAt(f+1)==h)&&f++;return h},f=0;f<a.length;f++)if(c)if(a.charAt(f)=="'"&&!e("'"))c=false;else b+=a.charAt(f);else switch(a.charAt(f)){case "d":case "m":case "y":case "@":b+=
|
529 |
-
"0123456789";break;case "D":case "M":return null;case "'":if(e("'"))b+="'";else c=true;break;default:b+=a.charAt(f)}return b},_get:function(a,b){return a.settings[b]!==C?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,f,h;f=h=this._getDefaultDate(a);var i=this._getFormatConfig(a);try{f=this.parseDate(c,e,i)||h}catch(g){this.log(g);e=b?"":e}a.selectedDay=f.getDate();a.drawMonth=a.selectedMonth=
|
530 |
-
f.getMonth();a.drawYear=a.selectedYear=f.getFullYear();a.currentDay=e?f.getDate():0;a.currentMonth=e?f.getMonth():0;a.currentYear=e?f.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,b,c){var e=function(h){var i=new Date;i.setDate(i.getDate()+h);return i},f=function(h){try{return d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),h,d.datepicker._getFormatConfig(a))}catch(i){}var g=
|
531 |
-
(h.toLowerCase().match(/^c/)?d.datepicker._getDate(a):null)||new Date,j=g.getFullYear(),l=g.getMonth();g=g.getDate();for(var u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,k=u.exec(h);k;){switch(k[2]||"d"){case "d":case "D":g+=parseInt(k[1],10);break;case "w":case "W":g+=parseInt(k[1],10)*7;break;case "m":case "M":l+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break;case "y":case "Y":j+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break}k=u.exec(h)}return new Date(j,
|
532 |
-
l,g)};if(b=(b=b==null||b===""?c:typeof b=="string"?f(b):typeof b=="number"?isNaN(b)?c:e(b):new Date(b.getTime()))&&b.toString()=="Invalid Date"?c:b){b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0)}return this._daylightSavingAdjust(b)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=
|
533 |
-
a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();if((f!=a.selectedMonth||h!=a.selectedYear)&&!c)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(e?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),
|
534 |
-
b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),f=this._get(a,"hideIfNoPrevNext"),h=this._get(a,"navigationAsDateFormat"),i=this._getNumberOfMonths(a),g=this._get(a,"showCurrentAtPos"),j=this._get(a,"stepMonths"),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max");g=a.drawMonth-g;var m=a.drawYear;if(g<0){g+=12;m--}if(o){var n=
|
535 |
-
this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));for(n=k&&n<k?k:n;this._daylightSavingAdjust(new Date(m,g,1))>n;){g--;if(g<0){g=11;m--}}}a.drawMonth=g;a.drawYear=m;n=this._get(a,"prevText");n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));n=this._canAdjustMonth(a,-1,m,g)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+A+".datepicker._adjustDate('#"+a.id+"', -"+j+", 'M');\" title=\""+n+'"><span class="ui-icon ui-icon-circle-triangle-'+
|
536 |
-
(c?"e":"w")+'">'+n+"</span></a>":f?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+n+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+n+"</span></a>";var s=this._get(a,"nextText");s=!h?s:this.formatDate(s,this._daylightSavingAdjust(new Date(m,g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+A+".datepicker._adjustDate('#"+a.id+"', +"+j+", 'M');\" title=\""+s+'"><span class="ui-icon ui-icon-circle-triangle-'+
|
537 |
-
(c?"w":"e")+'">'+s+"</span></a>":f?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+s+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+s+"</span></a>";j=this._get(a,"currentText");s=this._get(a,"gotoCurrent")&&a.currentDay?u:b;j=!h?j:this.formatDate(j,s,this._getFormatConfig(a));h=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+A+'.datepicker._hideDatepicker();">'+this._get(a,
|
538 |
-
"closeText")+"</button>":"";e=e?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(c?h:"")+(this._isInRange(a,s)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+A+".datepicker._gotoToday('#"+a.id+"');\">"+j+"</button>":"")+(c?"":h)+"</div>":"";h=parseInt(this._get(a,"firstDay"),10);h=isNaN(h)?0:h;j=this._get(a,"showWeek");s=this._get(a,"dayNames");this._get(a,"dayNamesShort");var q=this._get(a,"dayNamesMin"),B=
|
539 |
-
this._get(a,"monthNames"),v=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),D=this._get(a,"showOtherMonths"),K=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var E=this._getDefaultDate(a),w="",x=0;x<i[0];x++){var O="";this.maxRows=4;for(var G=0;G<i[1];G++){var P=this._daylightSavingAdjust(new Date(m,g,a.selectedDay)),t=" ui-corner-all",y="";if(l){y+='<div class="ui-datepicker-group';if(i[1]>1)switch(G){case 0:y+=" ui-datepicker-group-first";t=" ui-corner-"+(c?"right":
|
540 |
-
"left");break;case i[1]-1:y+=" ui-datepicker-group-last";t=" ui-corner-"+(c?"left":"right");break;default:y+=" ui-datepicker-group-middle";t="";break}y+='">'}y+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+t+'">'+(/all|left/.test(t)&&x==0?c?f:n:"")+(/all|right/.test(t)&&x==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,x>0||G>0,B,v)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var z=j?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":
|
541 |
-
"";for(t=0;t<7;t++){var r=(t+h)%7;z+="<th"+((t+h+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+s[r]+'">'+q[r]+"</span></th>"}y+=z+"</tr></thead><tbody>";z=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,z);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;z=Math.ceil((t+z)/7);this.maxRows=z=l?this.maxRows>z?this.maxRows:z:z;r=this._daylightSavingAdjust(new Date(m,g,1-t));for(var Q=0;Q<z;Q++){y+="<tr>";var R=!j?"":'<td class="ui-datepicker-week-col">'+
|
542 |
-
this._get(a,"calculateWeek")(r)+"</td>";for(t=0;t<7;t++){var I=p?p.apply(a.input?a.input[0]:null,[r]):[true,""],F=r.getMonth()!=g,L=F&&!K||!I[0]||k&&r<k||o&&r>o;R+='<td class="'+((t+h+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(r.getTime()==P.getTime()&&g==a.selectedMonth&&a._keyEvent||E.getTime()==r.getTime()&&E.getTime()==P.getTime()?" "+this._dayOverClass:"")+(L?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!D?"":" "+I[1]+(r.getTime()==u.getTime()?" "+
|
543 |
-
this._currentClass:"")+(r.getTime()==b.getTime()?" ui-datepicker-today":""))+'"'+((!F||D)&&I[2]?' title="'+I[2]+'"':"")+(L?"":' onclick="DP_jQuery_'+A+".datepicker._selectDay('#"+a.id+"',"+r.getMonth()+","+r.getFullYear()+', this);return false;"')+">"+(F&&!D?" ":L?'<span class="ui-state-default">'+r.getDate()+"</span>":'<a class="ui-state-default'+(r.getTime()==b.getTime()?" ui-state-highlight":"")+(r.getTime()==u.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+'" href="#">'+
|
544 |
-
r.getDate()+"</a>")+"</td>";r.setDate(r.getDate()+1);r=this._daylightSavingAdjust(r)}y+=R+"</tr>"}g++;if(g>11){g=0;m++}y+="</tbody></table>"+(l?"</div>"+(i[0]>0&&G==i[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");O+=y}w+=O}w+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':"");a._keyEvent=false;return w},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),
|
545 |
-
l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='<div class="ui-datepicker-title">',o="";if(h||!j)o+='<span class="ui-datepicker-month">'+i[b]+"</span>";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+A+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" onclick=\"DP_jQuery_"+A+".datepicker._clickMonthYear('#"+a.id+"');\">";for(var n=0;n<12;n++)if((!i||n>=e.getMonth())&&(!m||n<=f.getMonth()))o+='<option value="'+
|
546 |
-
n+'"'+(n==b?' selected="selected"':"")+">"+g[n]+"</option>";o+="</select>"}u||(k+=o+(h||!(j&&l)?" ":""));if(!a.yearshtml){a.yearshtml="";if(h||!l)k+='<span class="ui-datepicker-year">'+c+"</span>";else{g=this._get(a,"yearRange").split(":");var s=(new Date).getFullYear();i=function(q){q=q.match(/c[+-].*/)?c+parseInt(q.substring(1),10):q.match(/[+-].*/)?s+parseInt(q,10):parseInt(q,10);return isNaN(q)?s:q};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):
|
547 |
-
g;for(a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+A+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+A+".datepicker._clickMonthYear('#"+a.id+"');\">";b<=g;b++)a.yearshtml+='<option value="'+b+'"'+(b==c?' selected="selected"':"")+">"+b+"</option>";a.yearshtml+="</select>";k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=(h||!(j&&l)?" ":"")+o;k+="</div>";return k},_adjustInstDate:function(a,b,c){var e=a.drawYear+(c==
|
548 |
-
"Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c=="M"||c=="Y")this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");b=c&&b<c?c:b;return b=a&&b>a?a:b},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");
|
549 |
-
if(b)b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a);
|
550 |
-
c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,
|
551 |
-
"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker=
|
552 |
-
function(a){if(!this.length)return this;if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,
|
553 |
-
[this[0]].concat(b));return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new M;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.14";window["DP_jQuery_"+A]=d})(jQuery);
|
554 |
-
;/*
|
555 |
-
* jQuery UI Progressbar 1.8.14
|
556 |
-
*
|
557 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
558 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
559 |
-
* http://jquery.org/license
|
560 |
-
*
|
561 |
-
* http://docs.jquery.com/UI/Progressbar
|
562 |
-
*
|
563 |
-
* Depends:
|
564 |
-
* jquery.ui.core.js
|
565 |
-
* jquery.ui.widget.js
|
566 |
-
*/
|
567 |
-
(function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
|
568 |
-
this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*
|
569 |
-
this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.14"})})(jQuery);
|
570 |
-
;/*
|
571 |
-
* jQuery UI Effects 1.8.14
|
572 |
-
*
|
573 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
574 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
575 |
-
* http://jquery.org/license
|
576 |
-
*
|
577 |
-
* http://docs.jquery.com/UI/Effects/
|
578 |
-
*/
|
579 |
-
jQuery.effects||function(f,j){function m(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1],
|
580 |
-
16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return n.transparent;return n[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return m(b)}function o(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
|
581 |
-
a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function p(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d=
|
582 |
-
a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function l(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor",
|
583 |
-
"borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=m(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
|
584 |
-
0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,
|
585 |
-
211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},q=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b,
|
586 |
-
d){if(f.isFunction(b)){d=b;b=null}return this.queue(function(){var e=f(this),g=e.attr("style")||" ",h=p(o.call(this)),r,v=e.attr("class");f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});r=p(o.call(this));e.attr("class",v);e.animate(u(h,r),{queue:false,duration:a,easing:b,complete:function(){f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments);f.dequeue(this)}})})};
|
587 |
-
f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,
|
588 |
-
[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.14",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,a){var b;switch(c[0]){case "top":b=
|
589 |
-
0;break;case "middle":b=0.5;break;case "bottom":b=1;break;default:b=c[0]/a.height}switch(c[1]){case "left":c=0;break;case "center":c=0.5;break;case "right":c=1;break;default:c=c[1]/a.width}return{x:c,y:b}},createWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent();var a={width:c.outerWidth(true),height:c.outerHeight(true),"float":c.css("float")},b=f("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});
|
590 |
-
c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,
|
591 |
-
a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(l(c))return this._show.apply(this,arguments);else{var a=k.apply(this,arguments);
|
592 |
-
a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(l(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(l(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%",
|
593 |
-
"pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*
|
594 |
-
((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=
|
595 |
-
e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a==e)return b+d;if((a/=
|
596 |
-
e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/
|
597 |
-
h);return-(h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g))+b},easeOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*a)*Math.sin((a*e-c)*2*Math.PI/g)+d+b},easeInOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e/2)==2)return b+d;g||(g=e*0.3*1.5);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);if(a<1)return-0.5*
|
598 |
-
h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)+b;return h*Math.pow(2,-10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)*0.5+d+b},easeInBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*(a/=e)*a*((g+1)*a-g)+b},easeOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*((a=a/e-1)*a*((g+1)*a+g)+1)+b},easeInOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;if((a/=e/2)<1)return d/2*a*a*(((g*=1.525)+1)*a-g)+b;return d/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},easeInBounce:function(c,a,b,d,e){return d-f.easing.easeOutBounce(c,
|
599 |
-
e-a,0,d,e)+b},easeOutBounce:function(c,a,b,d,e){return(a/=e)<1/2.75?d*7.5625*a*a+b:a<2/2.75?d*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a<2.5/2.75?d*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:d*(7.5625*(a-=2.625/2.75)*a+0.984375)+b},easeInOutBounce:function(c,a,b,d,e){if(a<e/2)return f.easing.easeInBounce(c,a*2,0,d,e)*0.5+b;return f.easing.easeOutBounce(c,a*2-e,0,d,e)*0.5+d*0.5+b}})}(jQuery);
|
600 |
-
;/*
|
601 |
-
* jQuery UI Effects Blind 1.8.14
|
602 |
-
*
|
603 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
604 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
605 |
-
* http://jquery.org/license
|
606 |
-
*
|
607 |
-
* http://docs.jquery.com/UI/Effects/Blind
|
608 |
-
*
|
609 |
-
* Depends:
|
610 |
-
* jquery.effects.core.js
|
611 |
-
*/
|
612 |
-
(function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","bottom","left","right"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a,
|
613 |
-
g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery);
|
614 |
-
;/*
|
615 |
-
* jQuery UI Effects Bounce 1.8.14
|
616 |
-
*
|
617 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
618 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
619 |
-
* http://jquery.org/license
|
620 |
-
*
|
621 |
-
* http://docs.jquery.com/UI/Effects/Bounce
|
622 |
-
*
|
623 |
-
* Depends:
|
624 |
-
* jquery.effects.core.js
|
625 |
-
*/
|
626 |
-
(function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=["position","top","bottom","left","right"],h=e.effects.setMode(a,b.options.mode||"effect"),d=b.options.direction||"up",c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&&l.push("opacity");e.effects.save(a,l);a.show();e.effects.createWrapper(a);var f=d=="up"||d=="down"?"top":"left";d=d=="up"||d=="left"?"pos":"neg";c=b.options.distance||(f=="top"?a.outerHeight({margin:true})/3:a.outerWidth({margin:true})/
|
627 |
-
3);if(h=="show")a.css("opacity",0).css(f,d=="pos"?-c:c);if(h=="hide")c/=m*2;h!="hide"&&m--;if(h=="show"){var g={opacity:1};g[f]=(d=="pos"?"+=":"-=")+c;a.animate(g,i/2,b.options.easing);c/=2;m--}for(g=0;g<m;g++){var j={},k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing);c=h=="hide"?c*2:c/2}if(h=="hide"){g={opacity:0};g[f]=(d=="pos"?"-=":"+=")+c;a.animate(g,i/2,b.options.easing,function(){a.hide();e.effects.restore(a,l);e.effects.removeWrapper(a);
|
628 |
-
b.callback&&b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing,function(){e.effects.restore(a,l);e.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments)})}a.queue("fx",function(){a.dequeue()});a.dequeue()})}})(jQuery);
|
629 |
-
;/*
|
630 |
-
* jQuery UI Effects Clip 1.8.14
|
631 |
-
*
|
632 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
633 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
634 |
-
* http://jquery.org/license
|
635 |
-
*
|
636 |
-
* http://docs.jquery.com/UI/Effects/Clip
|
637 |
-
*
|
638 |
-
* Depends:
|
639 |
-
* jquery.effects.core.js
|
640 |
-
*/
|
641 |
-
(function(b){b.effects.clip=function(e){return this.queue(function(){var a=b(this),i=["position","top","bottom","left","right","height","width"],f=b.effects.setMode(a,e.options.mode||"hide"),c=e.options.direction||"vertical";b.effects.save(a,i);a.show();var d=b.effects.createWrapper(a).css({overflow:"hidden"});d=a[0].tagName=="IMG"?d:a;var g={size:c=="vertical"?"height":"width",position:c=="vertical"?"top":"left"};c=c=="vertical"?d.height():d.width();if(f=="show"){d.css(g.size,0);d.css(g.position,
|
642 |
-
c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,{queue:false,duration:e.duration,easing:e.options.easing,complete:function(){f=="hide"&&a.hide();b.effects.restore(a,i);b.effects.removeWrapper(a);e.callback&&e.callback.apply(a[0],arguments);a.dequeue()}})})}})(jQuery);
|
643 |
-
;/*
|
644 |
-
* jQuery UI Effects Drop 1.8.14
|
645 |
-
*
|
646 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
647 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
648 |
-
* http://jquery.org/license
|
649 |
-
*
|
650 |
-
* http://docs.jquery.com/UI/Effects/Drop
|
651 |
-
*
|
652 |
-
* Depends:
|
653 |
-
* jquery.effects.core.js
|
654 |
-
*/
|
655 |
-
(function(c){c.effects.drop=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right","opacity"],e=c.effects.setMode(a,d.options.mode||"hide"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a);var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var g=d.options.distance||(f=="top"?a.outerHeight({margin:true})/2:a.outerWidth({margin:true})/2);if(e=="show")a.css("opacity",0).css(f,b=="pos"?-g:g);var i={opacity:e==
|
656 |
-
"show"?1:0};i[f]=(e=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
657 |
-
;/*
|
658 |
-
* jQuery UI Effects Explode 1.8.14
|
659 |
-
*
|
660 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
661 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
662 |
-
* http://jquery.org/license
|
663 |
-
*
|
664 |
-
* http://docs.jquery.com/UI/Effects/Explode
|
665 |
-
*
|
666 |
-
* Depends:
|
667 |
-
* jquery.effects.core.js
|
668 |
-
*/
|
669 |
-
(function(j){j.effects.explode=function(a){return this.queue(function(){var c=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3,d=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3;a.options.mode=a.options.mode=="toggle"?j(this).is(":visible")?"hide":"show":a.options.mode;var b=j(this).show().css("visibility","hidden"),g=b.offset();g.top-=parseInt(b.css("marginTop"),10)||0;g.left-=parseInt(b.css("marginLeft"),10)||0;for(var h=b.outerWidth(true),i=b.outerHeight(true),e=0;e<c;e++)for(var f=
|
670 |
-
0;f<d;f++)b.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+
|
671 |
-
e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery);
|
672 |
-
;/*
|
673 |
-
* jQuery UI Effects Fade 1.8.14
|
674 |
-
*
|
675 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
676 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
677 |
-
* http://jquery.org/license
|
678 |
-
*
|
679 |
-
* http://docs.jquery.com/UI/Effects/Fade
|
680 |
-
*
|
681 |
-
* Depends:
|
682 |
-
* jquery.effects.core.js
|
683 |
-
*/
|
684 |
-
(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
685 |
-
;/*
|
686 |
-
* jQuery UI Effects Fold 1.8.14
|
687 |
-
*
|
688 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
689 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
690 |
-
* http://jquery.org/license
|
691 |
-
*
|
692 |
-
* http://docs.jquery.com/UI/Effects/Fold
|
693 |
-
*
|
694 |
-
* Depends:
|
695 |
-
* jquery.effects.core.js
|
696 |
-
*/
|
697 |
-
(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1],
|
698 |
-
10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
|
699 |
-
;/*
|
700 |
-
* jQuery UI Effects Highlight 1.8.14
|
701 |
-
*
|
702 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
703 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
704 |
-
* http://jquery.org/license
|
705 |
-
*
|
706 |
-
* http://docs.jquery.com/UI/Effects/Highlight
|
707 |
-
*
|
708 |
-
* Depends:
|
709 |
-
* jquery.effects.core.js
|
710 |
-
*/
|
711 |
-
(function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&&
|
712 |
-
this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
713 |
-
;/*
|
714 |
-
* jQuery UI Effects Pulsate 1.8.14
|
715 |
-
*
|
716 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
717 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
718 |
-
* http://jquery.org/license
|
719 |
-
*
|
720 |
-
* http://docs.jquery.com/UI/Effects/Pulsate
|
721 |
-
*
|
722 |
-
* Depends:
|
723 |
-
* jquery.effects.core.js
|
724 |
-
*/
|
725 |
-
(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c<times;c++){b.animate({opacity:animateTo},duration,a.options.easing);animateTo=(animateTo+1)%2}b.animate({opacity:animateTo},duration,
|
726 |
-
a.options.easing,function(){animateTo==0&&b.hide();a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()}).dequeue()})}})(jQuery);
|
727 |
-
;/*
|
728 |
-
* jQuery UI Effects Scale 1.8.14
|
729 |
-
*
|
730 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
731 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
732 |
-
* http://jquery.org/license
|
733 |
-
*
|
734 |
-
* http://docs.jquery.com/UI/Effects/Scale
|
735 |
-
*
|
736 |
-
* Depends:
|
737 |
-
* jquery.effects.core.js
|
738 |
-
*/
|
739 |
-
(function(c){c.effects.puff=function(b){return this.queue(function(){var a=c(this),e=c.effects.setMode(a,b.options.mode||"hide"),g=parseInt(b.options.percent,10)||150,h=g/100,i={height:a.height(),width:a.width()};c.extend(b.options,{fade:true,mode:e,percent:e=="hide"?g:100,from:e=="hide"?i:{height:i.height*h,width:i.width*h}});a.effect("scale",b.options,b.duration,b.callback);a.dequeue()})};c.effects.scale=function(b){return this.queue(function(){var a=c(this),e=c.extend(true,{},b.options),g=c.effects.setMode(a,
|
740 |
-
b.options.mode||"effect"),h=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:g=="hide"?0:100),i=b.options.direction||"both",f=b.options.origin;if(g!="effect"){e.origin=f||["middle","center"];e.restore=true}f={height:a.height(),width:a.width()};a.from=b.options.from||(g=="show"?{height:0,width:0}:f);h={y:i!="horizontal"?h/100:1,x:i!="vertical"?h/100:1};a.to={height:f.height*h.y,width:f.width*h.x};if(b.options.fade){if(g=="show"){a.from.opacity=0;a.to.opacity=1}if(g=="hide"){a.from.opacity=
|
741 |
-
1;a.to.opacity=0}}e.from=a.from;e.to=a.to;e.mode=g;a.effect("size",e,b.duration,b.callback);a.dequeue()})};c.effects.size=function(b){return this.queue(function(){var a=c(this),e=["position","top","bottom","left","right","width","height","overflow","opacity"],g=["position","top","bottom","left","right","overflow","opacity"],h=["width","height","overflow"],i=["fontSize"],f=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],k=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],
|
742 |
-
p=c.effects.setMode(a,b.options.mode||"effect"),n=b.options.restore||false,m=b.options.scale||"both",l=b.options.origin,j={height:a.height(),width:a.width()};a.from=b.options.from||j;a.to=b.options.to||j;if(l){l=c.effects.getBaseline(l,j);a.from.top=(j.height-a.from.height)*l.y;a.from.left=(j.width-a.from.width)*l.x;a.to.top=(j.height-a.to.height)*l.y;a.to.left=(j.width-a.to.width)*l.x}var d={from:{y:a.from.height/j.height,x:a.from.width/j.width},to:{y:a.to.height/j.height,x:a.to.width/j.width}};
|
743 |
-
if(m=="box"||m=="both"){if(d.from.y!=d.to.y){e=e.concat(f);a.from=c.effects.setTransition(a,f,d.from.y,a.from);a.to=c.effects.setTransition(a,f,d.to.y,a.to)}if(d.from.x!=d.to.x){e=e.concat(k);a.from=c.effects.setTransition(a,k,d.from.x,a.from);a.to=c.effects.setTransition(a,k,d.to.x,a.to)}}if(m=="content"||m=="both")if(d.from.y!=d.to.y){e=e.concat(i);a.from=c.effects.setTransition(a,i,d.from.y,a.from);a.to=c.effects.setTransition(a,i,d.to.y,a.to)}c.effects.save(a,n?e:g);a.show();c.effects.createWrapper(a);
|
744 |
-
a.css("overflow","hidden").css(a.from);if(m=="content"||m=="both"){f=f.concat(["marginTop","marginBottom"]).concat(i);k=k.concat(["marginLeft","marginRight"]);h=e.concat(f).concat(k);a.find("*[width]").each(function(){child=c(this);n&&c.effects.save(child,h);var o={height:child.height(),width:child.width()};child.from={height:o.height*d.from.y,width:o.width*d.from.x};child.to={height:o.height*d.to.y,width:o.width*d.to.x};if(d.from.y!=d.to.y){child.from=c.effects.setTransition(child,f,d.from.y,child.from);
|
745 |
-
child.to=c.effects.setTransition(child,f,d.to.y,child.to)}if(d.from.x!=d.to.x){child.from=c.effects.setTransition(child,k,d.from.x,child.from);child.to=c.effects.setTransition(child,k,d.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){n&&c.effects.restore(child,h)})})}a.animate(a.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a.to.opacity===0&&a.css("opacity",a.from.opacity);p=="hide"&&a.hide();c.effects.restore(a,
|
746 |
-
n?e:g);c.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
747 |
-
;/*
|
748 |
-
* jQuery UI Effects Shake 1.8.14
|
749 |
-
*
|
750 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
751 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
752 |
-
* http://jquery.org/license
|
753 |
-
*
|
754 |
-
* http://docs.jquery.com/UI/Effects/Shake
|
755 |
-
*
|
756 |
-
* Depends:
|
757 |
-
* jquery.effects.core.js
|
758 |
-
*/
|
759 |
-
(function(d){d.effects.shake=function(a){return this.queue(function(){var b=d(this),j=["position","top","bottom","left","right"];d.effects.setMode(b,a.options.mode||"effect");var c=a.options.direction||"left",e=a.options.distance||20,l=a.options.times||3,f=a.duration||a.options.duration||140;d.effects.save(b,j);b.show();d.effects.createWrapper(b);var g=c=="up"||c=="down"?"top":"left",h=c=="up"||c=="left"?"pos":"neg";c={};var i={},k={};c[g]=(h=="pos"?"-=":"+=")+e;i[g]=(h=="pos"?"+=":"-=")+e*2;k[g]=
|
760 |
-
(h=="pos"?"-=":"+=")+e*2;b.animate(c,f,a.options.easing);for(e=1;e<l;e++)b.animate(i,f,a.options.easing).animate(k,f,a.options.easing);b.animate(i,f,a.options.easing).animate(c,f/2,a.options.easing,function(){d.effects.restore(b,j);d.effects.removeWrapper(b);a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);
|
761 |
-
;/*
|
762 |
-
* jQuery UI Effects Slide 1.8.14
|
763 |
-
*
|
764 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
765 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
766 |
-
* http://jquery.org/license
|
767 |
-
*
|
768 |
-
* http://docs.jquery.com/UI/Effects/Slide
|
769 |
-
*
|
770 |
-
* Depends:
|
771 |
-
* jquery.effects.core.js
|
772 |
-
*/
|
773 |
-
(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right"],f=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var g=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var e=d.options.distance||(g=="top"?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f=="show")a.css(g,b=="pos"?isNaN(e)?"-"+e:-e:e);
|
774 |
-
var i={};i[g]=(f=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
775 |
-
;/*
|
776 |
-
* jQuery UI Effects Transfer 1.8.14
|
777 |
-
*
|
778 |
-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
779 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
780 |
-
* http://jquery.org/license
|
781 |
-
*
|
782 |
-
* http://docs.jquery.com/UI/Effects/Transfer
|
783 |
-
*
|
784 |
-
* Depends:
|
785 |
-
* jquery.effects.core.js
|
786 |
-
*/
|
787 |
-
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments);
|
788 |
-
b.dequeue()})})}})(jQuery);
|
789 |
-
;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/make_subset.php
DELETED
@@ -1,70 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @package php-font-lib
|
4 |
-
* @link https://github.com/PhenX/php-font-lib
|
5 |
-
* @author Fabien Ménager <fabien.menager@gmail.com>
|
6 |
-
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
|
7 |
-
*/
|
8 |
-
|
9 |
-
$fontfile = null;
|
10 |
-
if (isset($_GET["fontfile"])) {
|
11 |
-
$fontfile = basename($_GET["fontfile"]);
|
12 |
-
$fontfile = "../fonts/$fontfile";
|
13 |
-
}
|
14 |
-
|
15 |
-
if (!file_exists($fontfile)) {
|
16 |
-
return;
|
17 |
-
}
|
18 |
-
|
19 |
-
$name = isset($_GET["name"]) ? $_GET["name"] : null;
|
20 |
-
|
21 |
-
if (isset($_POST["subset"])) {
|
22 |
-
$subset = $_POST["subset"];
|
23 |
-
|
24 |
-
ob_start();
|
25 |
-
|
26 |
-
require_once "../classes/Font.php";
|
27 |
-
|
28 |
-
$font = Font::load($fontfile);
|
29 |
-
$font->parse();
|
30 |
-
|
31 |
-
$font->setSubset($subset);
|
32 |
-
$font->reduce();
|
33 |
-
|
34 |
-
$new_filename = basename($fontfile);
|
35 |
-
$new_filename = substr($new_filename, 0, -4)."-subset.".substr($new_filename, -3);
|
36 |
-
|
37 |
-
header("Content-Type: font/truetype");
|
38 |
-
header("Content-Disposition: attachment; filename=\"$new_filename\"");
|
39 |
-
|
40 |
-
$tmp = tempnam(sys_get_temp_dir(), "fnt");
|
41 |
-
$font->open($tmp, Font_Binary_Stream::modeWrite);
|
42 |
-
$font->encode(array("OS/2"));
|
43 |
-
$font->close();
|
44 |
-
|
45 |
-
ob_end_clean();
|
46 |
-
|
47 |
-
readfile($tmp);
|
48 |
-
unlink($tmp);
|
49 |
-
|
50 |
-
return;
|
51 |
-
} ?>
|
52 |
-
<!DOCTYPE html>
|
53 |
-
<html>
|
54 |
-
<head>
|
55 |
-
<meta charset="utf-8" />
|
56 |
-
<title>Subset maker</title>
|
57 |
-
<link rel="stylesheet" href="css/style.css" />
|
58 |
-
</head>
|
59 |
-
<body>
|
60 |
-
<h1><?php echo $name; ?></h1>
|
61 |
-
<form name="make-subset" method="post" action="?fontfile=<?php echo $fontfile; ?>">
|
62 |
-
<label>
|
63 |
-
Insert the text from which you want the glyphs in the subsetted font: <br />
|
64 |
-
<textarea name="subset" cols="50" rows="20"></textarea>
|
65 |
-
</label>
|
66 |
-
<br />
|
67 |
-
<button type="submit">Make subset!</button>
|
68 |
-
</form>
|
69 |
-
</body>
|
70 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/readme.html
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html>
|
3 |
-
<head>
|
4 |
-
<meta charset="utf-8" />
|
5 |
-
<link rel="stylesheet" href="css/style.css" />
|
6 |
-
</head>
|
7 |
-
<body>
|
8 |
-
<p>PHP-Font-lib is a set of classes that can help you extract various information from font files.</p>
|
9 |
-
|
10 |
-
<h2>Currently supported</h2>
|
11 |
-
<ul>
|
12 |
-
<li>Extaction of meta data, horizontal metrics, textual info, from [sfnt] based font files (TrueType, OpenType and WOFF)</li>
|
13 |
-
<li>Creation of AdobeFontMetrics (AFM) files based on Unicode or on a specific encoding</li>
|
14 |
-
<li>Extraction of TrueType fonts from TrueType Collection files</li>
|
15 |
-
<li>Extract basic information from Embedded OpenType font files</li>
|
16 |
-
<li>Extraction glyph data (the outlines) for OpenType glyphs and display them (in the font-explorer)</li>
|
17 |
-
<li>Create a TrueType font from SVG paths</li>
|
18 |
-
<li>Create font subsets</li>
|
19 |
-
</ul>
|
20 |
-
|
21 |
-
<h2>TODO</h2>
|
22 |
-
<ul>
|
23 |
-
<li>Advanced EOT data extraction</li>
|
24 |
-
<li>Extraction of the glyph data (the outlines) for PostScript glyphs</li>
|
25 |
-
</ul>
|
26 |
-
</body>
|
27 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/lib/php-font-lib/www/test.php
DELETED
@@ -1,75 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html>
|
3 |
-
<head>
|
4 |
-
<meta charset="utf-8" />
|
5 |
-
<link rel="stylesheet" href="css/style.css" />
|
6 |
-
<link rel="stylesheet" href="css/blitzer/jquery-ui-1.8.14.custom.css" />
|
7 |
-
</head>
|
8 |
-
<body>
|
9 |
-
<pre>
|
10 |
-
<?php
|
11 |
-
|
12 |
-
require_once "../classes/Font_Binary_Stream.php";
|
13 |
-
require_once "../classes/Font.php";
|
14 |
-
|
15 |
-
$t = microtime(true);
|
16 |
-
|
17 |
-
// RW methods
|
18 |
-
$values = array(
|
19 |
-
array(Font_Binary_Stream::uint8, 9),
|
20 |
-
array(Font_Binary_Stream::int8, 9),
|
21 |
-
array(Font_Binary_Stream::uint16, 5040),
|
22 |
-
array(Font_Binary_Stream::int16, -5040),
|
23 |
-
array(Font_Binary_Stream::uint32, 8400245),
|
24 |
-
array(Font_Binary_Stream::int32, 8400245),
|
25 |
-
array(Font_Binary_Stream::shortFrac, 1.0),
|
26 |
-
array(Font_Binary_Stream::Fixed, -155.54),
|
27 |
-
array(Font_Binary_Stream::FWord, -5040),
|
28 |
-
array(Font_Binary_Stream::uFWord, 5040),
|
29 |
-
array(Font_Binary_Stream::F2Dot14, -56.54),
|
30 |
-
array(Font_Binary_Stream::longDateTime, "2011-07-21 21:37:00"),
|
31 |
-
array(Font_Binary_Stream::char, "A"),
|
32 |
-
);
|
33 |
-
/*
|
34 |
-
$stream = new Font_Binary_Stream();
|
35 |
-
foreach($values as $value) {
|
36 |
-
list($type, $data) = $value;
|
37 |
-
|
38 |
-
$stream = new Font_Binary_Stream();
|
39 |
-
$stream->setFile(Font_Binary_Stream::getTempFile());
|
40 |
-
|
41 |
-
$stream->w($type, $data);
|
42 |
-
$stream->seek(0);
|
43 |
-
$new_data = $stream->r($type);
|
44 |
-
|
45 |
-
if ($new_data !== $data) {
|
46 |
-
echo "NOT OK \t $data \t => $new_data<br />";
|
47 |
-
}
|
48 |
-
else {
|
49 |
-
echo "OK $type<br />";
|
50 |
-
}
|
51 |
-
}*/
|
52 |
-
|
53 |
-
// font RW
|
54 |
-
$filename = "../fonts/DejaVuSansMono.ttf";
|
55 |
-
$filename_out = "$filename.2.ttf";
|
56 |
-
|
57 |
-
Font::$debug = true;
|
58 |
-
$font = Font::load($filename);
|
59 |
-
$font->parse();
|
60 |
-
|
61 |
-
|
62 |
-
$font->setSubset("(.apbiI,mn");
|
63 |
-
$font->reduce();
|
64 |
-
|
65 |
-
$font->open($filename_out, Font_Binary_Stream::modeWrite);
|
66 |
-
$font->encode(array("OS/2"));
|
67 |
-
|
68 |
-
?>
|
69 |
-
|
70 |
-
File size: <?php echo number_format(filesize($filename_out), 0, ".", " "); ?> bytes
|
71 |
-
Memory: <?php echo (memory_get_peak_usage(true) / 1024); ?>KB
|
72 |
-
Time: <?php echo round(microtime(true) - $t, 4); ?>s
|
73 |
-
</pre>
|
74 |
-
</body>
|
75 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/controller.php
DELETED
@@ -1,75 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
session_start();
|
4 |
-
|
5 |
-
$cmd = isset($_GET["cmd"]) ? $_GET["cmd"] : null;
|
6 |
-
|
7 |
-
include "../dompdf_config.inc.php";
|
8 |
-
include "functions.inc.php";
|
9 |
-
|
10 |
-
switch ($cmd) {
|
11 |
-
case "clear-font-cache":
|
12 |
-
$files = glob(DOMPDF_FONT_CACHE."*.{UFM,AFM,ufm,afm}.php", GLOB_BRACE);
|
13 |
-
foreach($files as $file) {
|
14 |
-
unlink($file);
|
15 |
-
}
|
16 |
-
break;
|
17 |
-
|
18 |
-
case "install-font":
|
19 |
-
if (!auth_ok()) break;
|
20 |
-
|
21 |
-
$family = $_POST["family"];
|
22 |
-
$data = $_FILES["file"];
|
23 |
-
|
24 |
-
foreach($data["error"] as $name => $error) {
|
25 |
-
if ($error) {
|
26 |
-
switch($error) {
|
27 |
-
case UPLOAD_ERR_INI_SIZE:
|
28 |
-
case UPLOAD_ERR_FORM_SIZE:
|
29 |
-
echo "The uploaded file exceeds the upload_max_filesize directive in php.ini."; break;
|
30 |
-
case UPLOAD_ERR_PARTIAL:
|
31 |
-
echo "The uploaded file was only partially uploaded."; break;
|
32 |
-
case UPLOAD_ERR_NO_FILE:
|
33 |
-
break;
|
34 |
-
case UPLOAD_ERR_NO_TMP_DIR:
|
35 |
-
echo "Missing a temporary folder."; break;
|
36 |
-
default:
|
37 |
-
echo "Unknown error";
|
38 |
-
}
|
39 |
-
continue;
|
40 |
-
}
|
41 |
-
|
42 |
-
$weight = "normal";
|
43 |
-
$style = "normal";
|
44 |
-
|
45 |
-
switch($name) {
|
46 |
-
case "bold":
|
47 |
-
$weight = "bold"; break;
|
48 |
-
|
49 |
-
case "italic":
|
50 |
-
$style = "italic"; break;
|
51 |
-
|
52 |
-
case "bold_italic":
|
53 |
-
$weight = "bold";
|
54 |
-
$style = "italic";
|
55 |
-
break;
|
56 |
-
}
|
57 |
-
|
58 |
-
$style_arr = array(
|
59 |
-
"family" => $family,
|
60 |
-
"weight" => $weight,
|
61 |
-
"style" => $style,
|
62 |
-
);
|
63 |
-
|
64 |
-
Font_Metrics::init();
|
65 |
-
|
66 |
-
if (!Font_Metrics::register_font($style_arr, $data["tmp_name"][$name])) {
|
67 |
-
echo htmlentities($data["name"][$name])." is not a valid font file";
|
68 |
-
}
|
69 |
-
else {
|
70 |
-
$font_view = htmlentities("$family $weight $style");
|
71 |
-
echo "The <strong>$font_view</strong> font was successfully installed !<br />";
|
72 |
-
}
|
73 |
-
}
|
74 |
-
break;
|
75 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/debugger.php
DELETED
@@ -1,168 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$files = glob("test/*.{html,htm,php}", GLOB_BRACE);
|
3 |
-
?>
|
4 |
-
|
5 |
-
<!DOCTYPE html>
|
6 |
-
<html lang="en">
|
7 |
-
<head>
|
8 |
-
<title>dompdf debugger</title>
|
9 |
-
<script type="text/javascript" src="jquery-1.4.2.js"></script>
|
10 |
-
|
11 |
-
<script type="text/javascript">
|
12 |
-
function updateAddress(){
|
13 |
-
var addressbar = $('#addressbar'),
|
14 |
-
preview = $('#preview'),
|
15 |
-
preview_html = $('#preview_html'),
|
16 |
-
address = encodeURI(addressbar.val()),
|
17 |
-
addressHTML = address,
|
18 |
-
addressPDF = address,
|
19 |
-
basePath = "";
|
20 |
-
|
21 |
-
if ( !/[a-z]+:\/\//.test(address) ) {
|
22 |
-
addressHTML = "test/"+address+"?"+(new Date).getTime();
|
23 |
-
basePath = "www/test/";
|
24 |
-
}
|
25 |
-
|
26 |
-
// HTML file
|
27 |
-
preview_html.attr("src", "about:blank");
|
28 |
-
preview_html.attr("src", addressHTML);
|
29 |
-
|
30 |
-
// PDF file
|
31 |
-
preview.attr("src", "about:blank");
|
32 |
-
|
33 |
-
setTimeout(function(){
|
34 |
-
address = "../dompdf.php?base_path="+basePath+"&options[Attachment]=0&input_file="+addressPDF+"#toolbar=0&view=FitH&statusbar=0&messages=0&navpanes=0";
|
35 |
-
preview.attr('src', address);
|
36 |
-
}, 0.1);
|
37 |
-
}
|
38 |
-
|
39 |
-
function log(str){
|
40 |
-
var console = $("#console");
|
41 |
-
str = str || "(nothing)";
|
42 |
-
console.html(console.html() + str + "<hr />");
|
43 |
-
console.scrollTop(console[0].scrollHeight);
|
44 |
-
}
|
45 |
-
|
46 |
-
function resizePage(){
|
47 |
-
var page = $("#page");
|
48 |
-
var height = $(window).height() - page.offset().top - 40;
|
49 |
-
$("iframe, #console").height(height);
|
50 |
-
}
|
51 |
-
|
52 |
-
function navigateExamples(way) {
|
53 |
-
var select = $('#examples')[0],
|
54 |
-
n = select.options.length;
|
55 |
-
|
56 |
-
if (way == "previous")
|
57 |
-
select.selectedIndex = (select.selectedIndex - 1) % n;
|
58 |
-
else
|
59 |
-
select.selectedIndex = (select.selectedIndex + 1) % n;
|
60 |
-
|
61 |
-
$('#addressbar').val($("#examples").val());
|
62 |
-
updateAddress();
|
63 |
-
}
|
64 |
-
|
65 |
-
$(function(){
|
66 |
-
resizePage();
|
67 |
-
$(window).resize(resizePage);
|
68 |
-
|
69 |
-
$('#preview').load(function(){
|
70 |
-
if (this.src == "about:blank") return;
|
71 |
-
|
72 |
-
$.ajax({
|
73 |
-
url: '../lib/fonts/log.htm',
|
74 |
-
success: log,
|
75 |
-
cache: false
|
76 |
-
});
|
77 |
-
});
|
78 |
-
|
79 |
-
$('#addressbar').val($("#examples").val());
|
80 |
-
|
81 |
-
// Catch F5 to reload the iframes, not the page itself
|
82 |
-
$(document).keydown(function(event) {
|
83 |
-
if (event.which == 116) {
|
84 |
-
event.preventDefault();
|
85 |
-
updateAddress();
|
86 |
-
}
|
87 |
-
});
|
88 |
-
});
|
89 |
-
</script>
|
90 |
-
|
91 |
-
<style type="text/css">
|
92 |
-
html, body {
|
93 |
-
margin: 0;
|
94 |
-
padding: 0;
|
95 |
-
}
|
96 |
-
|
97 |
-
td {
|
98 |
-
padding: 0;
|
99 |
-
}
|
100 |
-
|
101 |
-
#page {
|
102 |
-
width: 100%;
|
103 |
-
border: none;
|
104 |
-
border-spacing: 0;
|
105 |
-
border-collapse: collapse;
|
106 |
-
}
|
107 |
-
|
108 |
-
iframe {
|
109 |
-
width: 100%;
|
110 |
-
}
|
111 |
-
|
112 |
-
#output td {
|
113 |
-
border: 1px solid #999;
|
114 |
-
}
|
115 |
-
|
116 |
-
#console-container {
|
117 |
-
vertical-align: top;
|
118 |
-
}
|
119 |
-
|
120 |
-
#console {
|
121 |
-
background: #eee;
|
122 |
-
overflow: scroll;
|
123 |
-
padding: 4px;
|
124 |
-
}
|
125 |
-
|
126 |
-
#console pre {
|
127 |
-
margin: 2px 0;
|
128 |
-
}
|
129 |
-
|
130 |
-
#console, #console pre {
|
131 |
-
font-size: 11px;
|
132 |
-
font-family: Courier, "Courier new", monospace;
|
133 |
-
white-space: pre-wrap;
|
134 |
-
}
|
135 |
-
</style>
|
136 |
-
</head>
|
137 |
-
|
138 |
-
<body>
|
139 |
-
|
140 |
-
<table id="page">
|
141 |
-
<tr>
|
142 |
-
<td colspan="3">
|
143 |
-
<button onclick="$('#console').html('')" style="float: right;">Reset</button>
|
144 |
-
|
145 |
-
<button onclick="navigateExamples('previous')"><</button>
|
146 |
-
<select onchange="$('#addressbar').val($(this).val()); updateAddress()" id="examples">
|
147 |
-
<?php foreach($files as $file) { ?>
|
148 |
-
<option value="<?php echo basename($file); ?>"><?php echo basename($file); ?></option>
|
149 |
-
<?php } ?>
|
150 |
-
</select>
|
151 |
-
<button onclick="navigateExamples('next')">></button>
|
152 |
-
|
153 |
-
<input id="addressbar" type="text" size="100" value="" />
|
154 |
-
<button onclick="updateAddress()">Go</button>
|
155 |
-
</td>
|
156 |
-
</tr>
|
157 |
-
<tr id="output">
|
158 |
-
<td style="width: 40%;">
|
159 |
-
<iframe id="preview_html" name="preview_html" src="about:blank" frameborder="0" marginheight="0" marginwidth="0"></iframe>
|
160 |
-
</td>
|
161 |
-
<td style="width: 40%;">
|
162 |
-
<iframe id="preview" name="preview" src="about:blank" frameborder="0" marginheight="0" marginwidth="0"></iframe>
|
163 |
-
</td>
|
164 |
-
<td style="min-width: 400px; width: 20%;" id="console-container">
|
165 |
-
<div id="console"></div>
|
166 |
-
</td>
|
167 |
-
</tr>
|
168 |
-
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/demo.php
DELETED
@@ -1,84 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
require_once("../dompdf_config.inc.php");
|
4 |
-
|
5 |
-
// We check wether the user is accessing the demo locally
|
6 |
-
$local = array("::1", "127.0.0.1");
|
7 |
-
$is_local = in_array($_SERVER['REMOTE_ADDR'], $local);
|
8 |
-
|
9 |
-
if ( isset( $_POST["html"] ) && $is_local ) {
|
10 |
-
|
11 |
-
if ( get_magic_quotes_gpc() )
|
12 |
-
$_POST["html"] = stripslashes($_POST["html"]);
|
13 |
-
|
14 |
-
$dompdf = new DOMPDF();
|
15 |
-
$dompdf->load_html($_POST["html"]);
|
16 |
-
$dompdf->set_paper($_POST["paper"], $_POST["orientation"]);
|
17 |
-
$dompdf->render();
|
18 |
-
|
19 |
-
$dompdf->stream("dompdf_out.pdf", array("Attachment" => false));
|
20 |
-
|
21 |
-
exit(0);
|
22 |
-
}
|
23 |
-
|
24 |
-
?>
|
25 |
-
<?php include("head.inc"); ?>
|
26 |
-
|
27 |
-
<a name="demo"> </a>
|
28 |
-
<h2>Demo</h2>
|
29 |
-
|
30 |
-
<?php if ($is_local) { ?>
|
31 |
-
|
32 |
-
<p>Enter your html snippet in the text box below to see it rendered as a
|
33 |
-
PDF: (Note by default, remote stylesheets, images & inline PHP are disabled.)</p>
|
34 |
-
|
35 |
-
<form action="<?php echo $_SERVER["PHP_SELF"];?>" method="post">
|
36 |
-
<p>Paper size and orientation:
|
37 |
-
<select name="paper">
|
38 |
-
<?php
|
39 |
-
foreach ( array_keys(CPDF_Adapter::$PAPER_SIZES) as $size )
|
40 |
-
echo "<option ". ($size == "letter" ? "selected " : "" ) . "value=\"$size\">$size</option>\n";
|
41 |
-
?>
|
42 |
-
</select>
|
43 |
-
<select name="orientation">
|
44 |
-
<option value="portrait">portrait</option>
|
45 |
-
<option value="landscape">landscape</option>
|
46 |
-
</select>
|
47 |
-
</p>
|
48 |
-
|
49 |
-
<textarea name="html" cols="60" rows="20">
|
50 |
-
<html>
|
51 |
-
<head>
|
52 |
-
<style>
|
53 |
-
|
54 |
-
/* Type some style rules here */
|
55 |
-
|
56 |
-
</style>
|
57 |
-
</head>
|
58 |
-
|
59 |
-
<body>
|
60 |
-
|
61 |
-
<!-- Type some HTML here -->
|
62 |
-
|
63 |
-
</body>
|
64 |
-
</html>
|
65 |
-
</textarea>
|
66 |
-
|
67 |
-
<div style="text-align: center; margin-top: 1em;">
|
68 |
-
<button type="submit">Download</button>
|
69 |
-
</div>
|
70 |
-
|
71 |
-
</form>
|
72 |
-
<p style="font-size: 0.65em; text-align: center;">(Note: if you use a KHTML
|
73 |
-
based browser and are having difficulties loading the sample output, try
|
74 |
-
saving it to a file first.)</p>
|
75 |
-
|
76 |
-
<?php } else { ?>
|
77 |
-
|
78 |
-
<p style="color: red;">
|
79 |
-
User input has been disabled for remote connections.
|
80 |
-
</p>
|
81 |
-
|
82 |
-
<?php } ?>
|
83 |
-
|
84 |
-
<?php include("foot.inc"); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/examples.php
DELETED
@@ -1,134 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
require_once "../dompdf_config.inc.php";
|
4 |
-
|
5 |
-
//if dompdf.php runs in virtual server root, dirname does not return empty folder but '/' or '\' (windows).
|
6 |
-
//This leads to a duplicate separator in unix etc. and an error in Windows. Therefore strip off.
|
7 |
-
|
8 |
-
$dompdf = dirname(dirname($_SERVER["PHP_SELF"]));
|
9 |
-
if ( $dompdf == '/' || $dompdf == '\\') {
|
10 |
-
$dompdf = '';
|
11 |
-
}
|
12 |
-
|
13 |
-
$dompdf .= "/dompdf.php?base_path=" . rawurlencode("www/test/");
|
14 |
-
|
15 |
-
include "head.inc";
|
16 |
-
|
17 |
-
?>
|
18 |
-
|
19 |
-
<script type="text/javascript">
|
20 |
-
function resizePreview(){
|
21 |
-
var preview = $("#preview");
|
22 |
-
preview.height($(window).height() - preview.offset().top - 2);
|
23 |
-
}
|
24 |
-
|
25 |
-
function getPath(hash) {
|
26 |
-
var file, type;
|
27 |
-
var parts = hash.split(/,/);
|
28 |
-
|
29 |
-
file = parts[0];
|
30 |
-
|
31 |
-
if (parts.length == 2) {
|
32 |
-
type = parts[1];
|
33 |
-
}
|
34 |
-
|
35 |
-
switch(type) {
|
36 |
-
default:
|
37 |
-
case "html":
|
38 |
-
return "test/"+file;
|
39 |
-
case "pdf":
|
40 |
-
return "<?php echo $dompdf; ?>&options[Attachment]=0&input_file="+file+"#toolbar=0&view=FitH&statusbar=0&messages=0&navpanes=0";
|
41 |
-
}
|
42 |
-
}
|
43 |
-
|
44 |
-
function setHash(hash) {
|
45 |
-
location.hash = "#"+hash;
|
46 |
-
}
|
47 |
-
|
48 |
-
$(function(){
|
49 |
-
var preview = $("#preview");
|
50 |
-
resizePreview();
|
51 |
-
|
52 |
-
$(window).scroll(function() {
|
53 |
-
var scrollTop = Math.min($(this).scrollTop(), preview.height()+preview.parent().offset().top) - 2;
|
54 |
-
preview.css("margin-top", scrollTop + "px");
|
55 |
-
});
|
56 |
-
|
57 |
-
$(window).resize(resizePreview);
|
58 |
-
|
59 |
-
var hash = location.hash;
|
60 |
-
var type = "html";
|
61 |
-
if (hash) {
|
62 |
-
hash = hash.substr(1);
|
63 |
-
preview.attr("src", getPath(hash));
|
64 |
-
}
|
65 |
-
});
|
66 |
-
</script>
|
67 |
-
<iframe id="preview" name="preview" src="about:blank" frameborder="0" marginheight="0" marginwidth="0"></iframe>
|
68 |
-
|
69 |
-
<a name="samples"> </a>
|
70 |
-
<h2>Samples</h2>
|
71 |
-
|
72 |
-
<p>Below are some sample files. The PDF version is generated on the fly by dompdf. (The source HTML & CSS for
|
73 |
-
these files is included in the test/ directory of the distribution
|
74 |
-
package.)</p>
|
75 |
-
|
76 |
-
<?php
|
77 |
-
|
78 |
-
$extensions = array("html");
|
79 |
-
if ( DOMPDF_ENABLE_PHP ) {
|
80 |
-
$extensions[] = "php";
|
81 |
-
}
|
82 |
-
|
83 |
-
// To be compatible with non-GNU systems
|
84 |
-
if (!defined("GLOB_BRACE")) {
|
85 |
-
$test_files = glob("test/*");
|
86 |
-
$test_files = preg_grep("/(" . implode("|",$extensions) . ")/i", $test_files);
|
87 |
-
}
|
88 |
-
else {
|
89 |
-
$test_files = glob("test/*.{".implode(",", $extensions)."}", GLOB_BRACE);
|
90 |
-
}
|
91 |
-
|
92 |
-
$sections = array(
|
93 |
-
"print" => array(),
|
94 |
-
"css" => array(),
|
95 |
-
"dom" => array(),
|
96 |
-
"image" => array(),
|
97 |
-
"page" => array(),
|
98 |
-
"encoding" => array(),
|
99 |
-
"script" => array(),
|
100 |
-
"quirks" => array(),
|
101 |
-
"other" => array(),
|
102 |
-
);
|
103 |
-
|
104 |
-
foreach ( $test_files as $file ) {
|
105 |
-
preg_match("@[\\/](([^_]+)_?(.*))\.(".implode("|", $extensions).")$@i", $file, $matches);
|
106 |
-
$prefix = $matches[2];
|
107 |
-
|
108 |
-
if ( array_key_exists($prefix, $sections) ) {
|
109 |
-
$sections[$prefix][] = array($file, $matches[3]);
|
110 |
-
}
|
111 |
-
else {
|
112 |
-
$sections["other"][] = array($file, $matches[1]);
|
113 |
-
}
|
114 |
-
}
|
115 |
-
|
116 |
-
foreach ( $sections as $section => $files ) {
|
117 |
-
echo "<h3>$section</h3>";
|
118 |
-
|
119 |
-
echo "<ul class=\"samples\">";
|
120 |
-
foreach ( $files as $file ) {
|
121 |
-
$filename = basename($file[0]);
|
122 |
-
$title = $file[1];
|
123 |
-
$arrow = "images/arrow_0" . rand(1, 6) . ".gif";
|
124 |
-
echo "<li style=\"list-style-image: url('$arrow');\">\n";
|
125 |
-
echo "
|
126 |
-
[<a class=\"button\" target=\"preview\" onclick=\"setHash('$filename,html')\" href=\"test/$filename\">HTML</a>]
|
127 |
-
[<a class=\"button\" target=\"preview\" onclick=\"setHash('$filename,pdf')\" href=\"$dompdf&options[Attachment]=0&input_file=" . rawurlencode($filename) . "#toolbar=0&view=FitH&statusbar=0&messages=0&navpanes=0\">PDF</a>] ";
|
128 |
-
echo $title;
|
129 |
-
echo "</li>\n";
|
130 |
-
}
|
131 |
-
echo "</ul>";
|
132 |
-
}
|
133 |
-
|
134 |
-
include "foot.inc";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/fonts.php
DELETED
@@ -1,200 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
include "head.inc";
|
3 |
-
require_once "../dompdf_config.inc.php";
|
4 |
-
|
5 |
-
function to_bytes($string) {
|
6 |
-
$string = strtolower(trim($string));
|
7 |
-
|
8 |
-
if (!preg_match("/(.*)([kmgt])/", $string, $matches)) {
|
9 |
-
return intval($string);
|
10 |
-
}
|
11 |
-
|
12 |
-
list($string, $value, $suffix) = $matches;
|
13 |
-
switch($suffix) {
|
14 |
-
case 't': $value *= 1024;
|
15 |
-
case 'g': $value *= 1024;
|
16 |
-
case 'm': $value *= 1024;
|
17 |
-
case 'k': $value *= 1024;
|
18 |
-
}
|
19 |
-
|
20 |
-
return intval($value);
|
21 |
-
}
|
22 |
-
|
23 |
-
?>
|
24 |
-
|
25 |
-
<a name="setup"> </a>
|
26 |
-
<h2>Font manager</h2>
|
27 |
-
|
28 |
-
<ul>
|
29 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="#installed-fonts">Installed fonts</a></li>
|
30 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="#install-fonts">Install new fonts</a></li>
|
31 |
-
</ul>
|
32 |
-
|
33 |
-
<h3 id="installed-fonts">Installed fonts</h3>
|
34 |
-
|
35 |
-
<?php
|
36 |
-
Font_Metrics::init();
|
37 |
-
$fonts = Font_Metrics::get_font_families();
|
38 |
-
$extensions = array("ttf", "afm", "afm.php", "ufm", "ufm.php");
|
39 |
-
?>
|
40 |
-
|
41 |
-
<button onclick="$('#clear-font-cache-message').load('controller.php?cmd=clear-font-cache', function(){ location.reload(); })">Clear font cache</button>
|
42 |
-
<span id="clear-font-cache-message"></span>
|
43 |
-
|
44 |
-
<table class="setup">
|
45 |
-
<tr>
|
46 |
-
<th rowspan="2">Font family</th>
|
47 |
-
<th rowspan="2">Variants</th>
|
48 |
-
<th colspan="6">File versions</th>
|
49 |
-
</tr>
|
50 |
-
<tr>
|
51 |
-
<th>TTF</th>
|
52 |
-
<th>AFM</th>
|
53 |
-
<th>AFM cache</th>
|
54 |
-
<th>UFM</th>
|
55 |
-
<th>UFM cache</th>
|
56 |
-
</tr>
|
57 |
-
<?php foreach($fonts as $family => $variants) { ?>
|
58 |
-
<tr>
|
59 |
-
<td class="title" rowspan="<?php echo count($variants); ?>">
|
60 |
-
<?php
|
61 |
-
echo htmlentities($family);
|
62 |
-
if ($family == DOMPDF_DEFAULT_FONT) {
|
63 |
-
echo ' <strong>(default)</strong>';
|
64 |
-
}
|
65 |
-
?>
|
66 |
-
</td>
|
67 |
-
<?php
|
68 |
-
$i = 0;
|
69 |
-
foreach($variants as $name => $path) {
|
70 |
-
if ($i > 0) {
|
71 |
-
echo "<tr>";
|
72 |
-
}
|
73 |
-
|
74 |
-
echo "
|
75 |
-
<td>
|
76 |
-
<strong style='width: 10em;'>".htmlentities($name)."</strong> : ".htmlentities($path)."<br />
|
77 |
-
</td>";
|
78 |
-
|
79 |
-
foreach ($extensions as $ext) {
|
80 |
-
$v = "";
|
81 |
-
$class = "";
|
82 |
-
|
83 |
-
if (is_readable("$path.$ext")) {
|
84 |
-
// if not cache file
|
85 |
-
if (strpos($ext, ".php") === false) {
|
86 |
-
$class = "ok";
|
87 |
-
$v = $ext;
|
88 |
-
}
|
89 |
-
|
90 |
-
// cache file
|
91 |
-
else {
|
92 |
-
// check if old cache format
|
93 |
-
$content = file_get_contents("$path.$ext", null, null, null, 50);
|
94 |
-
if (strpos($content, '$this->')) {
|
95 |
-
$v = "DEPREC.";
|
96 |
-
}
|
97 |
-
else {
|
98 |
-
ob_start();
|
99 |
-
$d = include "$path.$ext";
|
100 |
-
ob_end_clean();
|
101 |
-
|
102 |
-
if ($d == 1)
|
103 |
-
$v = "DEPREC.";
|
104 |
-
else {
|
105 |
-
$class = "ok";
|
106 |
-
$v = $d["_version_"];
|
107 |
-
}
|
108 |
-
}
|
109 |
-
}
|
110 |
-
}
|
111 |
-
|
112 |
-
echo "<td style='width: 2em; text-align: center;' class='$class'>$v</td>";
|
113 |
-
}
|
114 |
-
|
115 |
-
echo "</tr>";
|
116 |
-
$i++;
|
117 |
-
}
|
118 |
-
?>
|
119 |
-
<?php } ?>
|
120 |
-
|
121 |
-
</table>
|
122 |
-
|
123 |
-
<h3 id="install-fonts">Install new fonts</h3>
|
124 |
-
|
125 |
-
<script type="text/javascript">
|
126 |
-
function checkFileName(form) {
|
127 |
-
var fields = {
|
128 |
-
normal: "Normal",
|
129 |
-
bold: "Bold",
|
130 |
-
bold_italic: "Bold italic",
|
131 |
-
italic: "Italic"
|
132 |
-
};
|
133 |
-
var pattern = /\.[ot]tf$/i;
|
134 |
-
var ok = true;
|
135 |
-
|
136 |
-
if (!form.elements.family.value) {
|
137 |
-
alert("The font name is required");
|
138 |
-
form.elements.family.focus();
|
139 |
-
return false;
|
140 |
-
}
|
141 |
-
|
142 |
-
$.each(fields, function(key, name){
|
143 |
-
var value = form.elements["file["+key+"]"].value;
|
144 |
-
|
145 |
-
if (!value) return;
|
146 |
-
|
147 |
-
if (!value.match(pattern)) {
|
148 |
-
alert("The font name specified for "+name+" is not a TrueType font");
|
149 |
-
ok = false;
|
150 |
-
return false;
|
151 |
-
}
|
152 |
-
});
|
153 |
-
|
154 |
-
return ok;
|
155 |
-
}
|
156 |
-
</script>
|
157 |
-
|
158 |
-
<?php
|
159 |
-
|
160 |
-
if (auth_ok()) {
|
161 |
-
$max_size = min(to_bytes(ini_get('post_max_size')), to_bytes(ini_get('upload_max_filesize')));
|
162 |
-
?>
|
163 |
-
|
164 |
-
<form name="upload-font" method="post" action="controller.php?cmd=install-font" target="upload-font" enctype="multipart/form-data" onsubmit="return checkFileName(this)">
|
165 |
-
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max_size; ?>" />
|
166 |
-
|
167 |
-
<table class="setup">
|
168 |
-
<tr>
|
169 |
-
<td class="title">Name</td>
|
170 |
-
<td><input type="text" name="family" /></td>
|
171 |
-
<td rowspan="6"><iframe name="upload-font" id="upload-font" style="border: 0; width: 500px;"></iframe></td>
|
172 |
-
</tr>
|
173 |
-
<tr>
|
174 |
-
<td class="title">Normal</td>
|
175 |
-
<td><input type="file" name="file[normal]" /></td>
|
176 |
-
</tr>
|
177 |
-
<tr>
|
178 |
-
<td class="title">Bold</td>
|
179 |
-
<td><input type="file" name="file[bold]" /></td>
|
180 |
-
</tr>
|
181 |
-
<tr>
|
182 |
-
<td class="title">Bold italic</td>
|
183 |
-
<td><input type="file" name="file[bold_italic]" /></td>
|
184 |
-
</tr>
|
185 |
-
<tr>
|
186 |
-
<td class="title">Italic</td>
|
187 |
-
<td><input type="file" name="file[italic]" /></td>
|
188 |
-
</tr>
|
189 |
-
<tr>
|
190 |
-
<td></td>
|
191 |
-
<td><button>Install !!</button></td>
|
192 |
-
</tr>
|
193 |
-
</table>
|
194 |
-
</form>
|
195 |
-
<?php }
|
196 |
-
else {
|
197 |
-
echo auth_get_link();
|
198 |
-
} ?>
|
199 |
-
|
200 |
-
<?php include("foot.inc"); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/foot.inc
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
</div>
|
2 |
-
|
3 |
-
<div id="footer">
|
4 |
-
<div class="badges">
|
5 |
-
<a href="http://www.php.net"><img src="images/php5-power-micro.png" alt="php5 logo"/></a>
|
6 |
-
<a href="http://validator.w3.org"><img src="images/xhtml10.png" alt="valid xhtml"/></a>
|
7 |
-
<a href="http://jigsaw.w3.org/css-validator"><img src="images/css2.png" alt="valid css2"/></a>
|
8 |
-
</div>
|
9 |
-
</div>
|
10 |
-
</body> </html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/functions.inc.php
DELETED
@@ -1,53 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function auth_ok(){
|
4 |
-
return isset($_SESSION["authenticated"]) && $_SESSION["authenticated"] === true;
|
5 |
-
}
|
6 |
-
|
7 |
-
function auth_get_link(){
|
8 |
-
return '<a href="'.get_php_self().'?login=1">Authenticate to access this section</a>';
|
9 |
-
}
|
10 |
-
|
11 |
-
function get_php_self(){
|
12 |
-
return isset($_SERVER['PHP_SELF']) ? htmlentities(strip_tags($_SERVER['PHP_SELF'],''), ENT_QUOTES, 'UTF-8') : '';
|
13 |
-
}
|
14 |
-
|
15 |
-
// From apc.php
|
16 |
-
function auth_check() {
|
17 |
-
if ( isset($_GET["login"]) && DOMPDF_ADMIN_PASSWORD == "password" ) {
|
18 |
-
$_SESSION["auth_message"] = "The password must be changed in 'dompdf_config.custom.inc.php'";
|
19 |
-
return false;
|
20 |
-
}
|
21 |
-
else {
|
22 |
-
$_SESSION["auth_message"] = null;
|
23 |
-
}
|
24 |
-
|
25 |
-
if ( isset($_GET["login"]) || isset($_SERVER["PHP_AUTH_USER"]) ) {
|
26 |
-
|
27 |
-
if (!isset($_SERVER["PHP_AUTH_USER"]) ||
|
28 |
-
!isset($_SERVER["PHP_AUTH_PW"]) ||
|
29 |
-
$_SERVER["PHP_AUTH_USER"] != DOMPDF_ADMIN_USERNAME ||
|
30 |
-
$_SERVER["PHP_AUTH_PW"] != DOMPDF_ADMIN_PASSWORD) {
|
31 |
-
|
32 |
-
$PHP_SELF = get_php_self();
|
33 |
-
|
34 |
-
header('WWW-Authenticate: Basic realm="DOMPDF Login"');
|
35 |
-
header('HTTP/1.0 401 Unauthorized');
|
36 |
-
|
37 |
-
echo <<<EOB
|
38 |
-
<html><body>
|
39 |
-
<h1>Rejected!</h1>
|
40 |
-
<big>Wrong Username or Password!</big><br/> <br/>
|
41 |
-
<big><a href='$PHP_SELF'>Continue...</a></big>
|
42 |
-
</body></html>
|
43 |
-
EOB;
|
44 |
-
exit;
|
45 |
-
}
|
46 |
-
|
47 |
-
else {
|
48 |
-
$_SESSION["auth_message"] = null;
|
49 |
-
$_SESSION["authenticated"] = true;
|
50 |
-
return true;
|
51 |
-
}
|
52 |
-
}
|
53 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/head.inc
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
session_start();
|
4 |
-
|
5 |
-
require_once "../dompdf_config.inc.php";
|
6 |
-
require_once "functions.inc.php";
|
7 |
-
|
8 |
-
function li_arrow() {
|
9 |
-
return '<li style="list-style-image: url(\'images/arrow_0' . rand(1,6) . '.gif\');">';
|
10 |
-
}
|
11 |
-
|
12 |
-
function li_star() {
|
13 |
-
return '<li style="list-style-image: url(\'images/star_0' . rand(1,5) . '.gif\');">';
|
14 |
-
}
|
15 |
-
|
16 |
-
auth_check();
|
17 |
-
|
18 |
-
?>
|
19 |
-
<!DOCTYPE html>
|
20 |
-
<html lang="en">
|
21 |
-
<head>
|
22 |
-
<title>dompdf - The PHP 5 HTML to PDF Converter</title>
|
23 |
-
<link rel="stylesheet" href="style.css" type="text/css"/>
|
24 |
-
<link rel="SHORTCUT ICON" href="images/favicon.ico"/>
|
25 |
-
<script type="text/javascript" src="jquery-1.4.2.js"></script>
|
26 |
-
|
27 |
-
<?php if (isset($_SESSION["auth_message"])) { ?>
|
28 |
-
<script type="text/javascript">
|
29 |
-
alert("<?php echo $_SESSION["auth_message"]; ?>");
|
30 |
-
</script>
|
31 |
-
<?php } ?>
|
32 |
-
</head>
|
33 |
-
|
34 |
-
<body>
|
35 |
-
|
36 |
-
<div id="header" class="bar">
|
37 |
-
<a href="index.php"><img id="logo" src="images/title.gif" alt="dompdf"/></a>
|
38 |
-
<a href="http://dompdf.github.com/" target="_blank">dompdf.github.com</a>
|
39 |
-
—
|
40 |
-
Send bug reports to <a href="https://github.com/dompdf/dompdf/issues">the bug tracker</a>
|
41 |
-
& support questions to <a href="http://groups.google.com/group/dompdf">Google Groups</a>.
|
42 |
-
</div>
|
43 |
-
|
44 |
-
<div id="left_col">
|
45 |
-
<ul>
|
46 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="index.php">Overview</a></li>
|
47 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="examples.php">Examples</a></li>
|
48 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="demo.php">Demo</a></li>
|
49 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="setup.php">Setup / Config</a></li>
|
50 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="fonts.php">Fonts</a></li>
|
51 |
-
</ul>
|
52 |
-
</div>
|
53 |
-
|
54 |
-
<div id="content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/images/arrow_01.gif
DELETED
Binary file
|
lib/dompdf/www/images/arrow_02.gif
DELETED
Binary file
|
lib/dompdf/www/images/arrow_03.gif
DELETED
Binary file
|
lib/dompdf/www/images/arrow_04.gif
DELETED
Binary file
|
lib/dompdf/www/images/arrow_05.gif
DELETED
Binary file
|
lib/dompdf/www/images/arrow_06.gif
DELETED
Binary file
|
lib/dompdf/www/images/css2.png
DELETED
Binary file
|
lib/dompdf/www/images/dompdf_simple.png
DELETED
Binary file
|
lib/dompdf/www/images/favicon.ico
DELETED
Binary file
|
lib/dompdf/www/images/favicon.png
DELETED
Binary file
|
lib/dompdf/www/images/h_bar.gif
DELETED
Binary file
|
lib/dompdf/www/images/left_arrow.gif
DELETED
Binary file
|
lib/dompdf/www/images/logo.png
DELETED
Binary file
|
lib/dompdf/www/images/logo.xcf
DELETED
Binary file
|
lib/dompdf/www/images/php5-power-micro.png
DELETED
Binary file
|
lib/dompdf/www/images/small_logo.png
DELETED
Binary file
|
lib/dompdf/www/images/star_01.gif
DELETED
Binary file
|
lib/dompdf/www/images/star_02.gif
DELETED
Binary file
|
lib/dompdf/www/images/star_03.gif
DELETED
Binary file
|
lib/dompdf/www/images/star_04.gif
DELETED
Binary file
|
lib/dompdf/www/images/star_05.gif
DELETED
Binary file
|
lib/dompdf/www/images/title.gif
DELETED
Binary file
|
lib/dompdf/www/images/v_bar.gif
DELETED
Binary file
|
lib/dompdf/www/images/xhtml10.png
DELETED
Binary file
|
lib/dompdf/www/index.php
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
<?php include("head.inc"); ?>
|
2 |
-
|
3 |
-
<a name="overview"></a><h2>Overview</h2>
|
4 |
-
|
5 |
-
<p>dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) CSS2.1
|
6 |
-
compliant HTML layout and rendering engine written in PHP. It is a style-driven
|
7 |
-
renderer: it will download and read external stylesheets, inline style tags, and
|
8 |
-
the style attributes of individual HTML elements. It also supports most
|
9 |
-
presentational HTML attributes.</p>
|
10 |
-
|
11 |
-
<p>PDF rendering is currently provided either by PDFLib (<a
|
12 |
-
href="http://www.pdflib.com">www.pdflib.com</a>) or by a bundled version the
|
13 |
-
CPDF class, originally R&OS CPDF written by Wayne Munro but customized by
|
14 |
-
the dompdf team to improve performance and add features. In order to use PDFLib
|
15 |
-
with dompdf the PDFLib PHP extension is required (available from PDFLib). Using
|
16 |
-
PDFLib improves performance and reduces the memory requirements of dompdf
|
17 |
-
somewhat, while the CPDF class, though slightly slower, eliminates any
|
18 |
-
dependencies on external PDF libraries.</p>
|
19 |
-
|
20 |
-
<?php include("foot.inc"); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/jquery-1.4.2.js
DELETED
@@ -1,154 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* jQuery JavaScript Library v1.4.2
|
3 |
-
* http://jquery.com/
|
4 |
-
*
|
5 |
-
* Copyright 2010, John Resig
|
6 |
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
7 |
-
* http://jquery.org/license
|
8 |
-
*
|
9 |
-
* Includes Sizzle.js
|
10 |
-
* http://sizzlejs.com/
|
11 |
-
* Copyright 2010, The Dojo Foundation
|
12 |
-
* Released under the MIT, BSD, and GPL Licenses.
|
13 |
-
*
|
14 |
-
* Date: Sat Feb 13 22:33:48 2010 -0500
|
15 |
-
*/
|
16 |
-
(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i?
|
17 |
-
e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r=
|
18 |
-
j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g,
|
19 |
-
"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e=
|
20 |
-
true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/,
|
21 |
-
Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&&
|
22 |
-
(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this,
|
23 |
-
a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b===
|
24 |
-
"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,
|
25 |
-
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)||
|
26 |
-
c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded",
|
27 |
-
L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype,
|
28 |
-
"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+
|
29 |
-
a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f],
|
30 |
-
d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===
|
31 |
-
a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&&
|
32 |
-
!c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari=
|
33 |
-
true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
|
34 |
-
var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected,
|
35 |
-
parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent=
|
36 |
-
false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n=
|
37 |
-
s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,
|
38 |
-
applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando];
|
39 |
-
else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,
|
40 |
-
a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===
|
41 |
-
w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i,
|
42 |
-
cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ",
|
43 |
-
i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" ",
|
44 |
-
" ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=
|
45 |
-
this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i=
|
46 |
-
e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected=
|
47 |
-
c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");
|
48 |
-
a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g,
|
49 |
-
function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split(".");
|
50 |
-
k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a),
|
51 |
-
C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!=
|
52 |
-
null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=
|
53 |
-
e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&&
|
54 |
-
f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;
|
55 |
-
if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
|
56 |
-
fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||
|
57 |
-
d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this,
|
58 |
-
"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=
|
59 |
-
a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,
|
60 |
-
isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ea:Da,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ea:Da)}}});if(!c.support.submitBubbles)c.event.special.submit=
|
61 |
-
{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return na("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};
|
62 |
-
if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",
|
63 |
-
e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,
|
64 |
-
"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a,
|
65 |
-
d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j<o;j++)c.event.add(this[j],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&
|
66 |
-
!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},
|
67 |
-
toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector,
|
68 |
-
u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),
|
69 |
-
function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];
|
70 |
-
if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
|
71 |
-
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift();
|
72 |
-
t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D||
|
73 |
-
g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[];
|
74 |
-
for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length-
|
75 |
-
1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
|
76 |
-
CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}},
|
77 |
-
relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]=
|
78 |
-
l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[];
|
79 |
-
h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},
|
80 |
-
CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m,
|
81 |
-
g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},
|
82 |
-
text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},
|
83 |
-
setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=
|
84 |
-
h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m=
|
85 |
-
m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m===
|
86 |
-
"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g,
|
87 |
-
h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition||
|
88 |
-
!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m=
|
89 |
-
h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&&
|
90 |
-
q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>";
|
91 |
-
if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}();
|
92 |
-
(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}:
|
93 |
-
function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/,
|
94 |
-
gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length;
|
95 |
-
c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j=
|
96 |
-
{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a===
|
97 |
-
"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",
|
98 |
-
d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?
|
99 |
-
a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType===
|
100 |
-
1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,ta=/<script|<object|<embed|<option|<style/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,Ma=function(a,b,d){return hb.test(d)?
|
101 |
-
a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=
|
102 |
-
c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},
|
103 |
-
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
|
104 |
-
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
|
105 |
-
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
|
106 |
-
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja,
|
107 |
-
""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&
|
108 |
-
this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]||
|
109 |
-
u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:sa(a,this,o);k=e.fragment;if(j=k.childNodes.length===
|
110 |
-
1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]);
|
111 |
-
return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["",
|
112 |
-
""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]==="<table>"&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e=
|
113 |
-
c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]?
|
114 |
-
c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja=
|
115 |
-
function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter=
|
116 |
-
Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a,
|
117 |
-
"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f=
|
118 |
-
a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=
|
119 |
-
a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!==
|
120 |
-
"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this},
|
121 |
-
serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),
|
122 |
-
function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,
|
123 |
-
global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&&
|
124 |
-
e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)?
|
125 |
-
"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache===
|
126 |
-
false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B=
|
127 |
-
false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since",
|
128 |
-
c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E||
|
129 |
-
d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x);
|
130 |
-
g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===
|
131 |
-
1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b===
|
132 |
-
"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional;
|
133 |
-
if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");
|
134 |
-
this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a],
|
135 |
-
"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)},
|
136 |
-
animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.replace(ia,ja);if(i!==n){a[n]=a[i];delete a[i];i=n}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing=
|
137 |
-
j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]||"px";if(E!=="px"){k.style[r]=(u||1)+E;B=(u||1)/z.cur(true)*B;k.style[r]=B+E}if(C[1])u=(C[1]==="-="?-1:1)*u+B;z.custom(B,u,E)}else z.custom(B,u,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]);
|
138 |
-
this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration===
|
139 |
-
"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||
|
140 |
-
c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;
|
141 |
-
this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=
|
142 |
-
this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem,
|
143 |
-
e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||
|
144 |
-
c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement?
|
145 |
-
function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=
|
146 |
-
this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,o=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,null):b.currentStyle;
|
147 |
-
k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){k+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&&
|
148 |
-
f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
|
149 |
-
a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b);
|
150 |
-
c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a,
|
151 |
-
d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top-
|
152 |
-
f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset":
|
153 |
-
"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in
|
154 |
-
e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/setup.php
DELETED
@@ -1,300 +0,0 @@
|
|
1 |
-
<?php include("head.inc"); ?>
|
2 |
-
|
3 |
-
<a name="setup"> </a>
|
4 |
-
<h2>Setup</h2>
|
5 |
-
|
6 |
-
<ul>
|
7 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="#system">System Configuration</a></li>
|
8 |
-
<li style="list-style-image: url('images/star_02.gif');"><a href="#dompdf-config">DOMPDF Configuration</a></li>
|
9 |
-
</ul>
|
10 |
-
|
11 |
-
<h3 id="system">System Configuration</h3>
|
12 |
-
|
13 |
-
<?php
|
14 |
-
require_once("../dompdf_config.inc.php");
|
15 |
-
|
16 |
-
$server_configs = array(
|
17 |
-
"PHP Version" => array(
|
18 |
-
"required" => "5.0",
|
19 |
-
"value" => phpversion(),
|
20 |
-
"result" => version_compare(phpversion(), "5.0"),
|
21 |
-
),
|
22 |
-
"DOMDocument extension" => array(
|
23 |
-
"required" => true,
|
24 |
-
"value" => phpversion("DOM"),
|
25 |
-
"result" => class_exists("DOMDocument"),
|
26 |
-
),
|
27 |
-
"PCRE" => array(
|
28 |
-
"required" => true,
|
29 |
-
"value" => phpversion("pcre"),
|
30 |
-
"result" => function_exists("preg_match") && @preg_match("/./u", "a"),
|
31 |
-
"failure" => "PCRE is required with Unicode support (the \"u\" modifier)",
|
32 |
-
),
|
33 |
-
"Zlib" => array(
|
34 |
-
"required" => true,
|
35 |
-
"value" => phpversion("zlib"),
|
36 |
-
"result" => function_exists("gzcompress"),
|
37 |
-
"fallback" => "Recommended to compress PDF documents",
|
38 |
-
),
|
39 |
-
"MBString extension" => array(
|
40 |
-
"required" => true,
|
41 |
-
"value" => phpversion("mbstring"),
|
42 |
-
"result" => function_exists("mb_send_mail"), // Should never be reimplemented in dompdf
|
43 |
-
"fallback" => "Recommended, will use fallback functions",
|
44 |
-
),
|
45 |
-
"GD" => array(
|
46 |
-
"required" => true,
|
47 |
-
"value" => phpversion("gd"),
|
48 |
-
"result" => function_exists("imagecreate"),
|
49 |
-
"fallback" => "Required if you have images in your documents",
|
50 |
-
),
|
51 |
-
"opcache" => array(
|
52 |
-
"required" => "For better performances",
|
53 |
-
"value" => null,
|
54 |
-
"result" => false,
|
55 |
-
"fallback" => "Recommended for better performances",
|
56 |
-
),
|
57 |
-
"GMagick or IMagick" => array(
|
58 |
-
"required" => "Better with transparent PNG images",
|
59 |
-
"value" => null,
|
60 |
-
"result" => extension_loaded("gmagick") || extension_loaded("imagick"),
|
61 |
-
"fallback" => "Recommended for better performances",
|
62 |
-
),
|
63 |
-
);
|
64 |
-
|
65 |
-
if (($xc = extension_loaded("xcache")) || ($apc = extension_loaded("apc")) || ($zop = extension_loaded("Zend OPcache")) || ($op = extension_loaded("opcache"))) {
|
66 |
-
$server_configs["opcache"]["result"] = true;
|
67 |
-
$server_configs["opcache"]["value"] = (
|
68 |
-
$xc ? "XCache ".phpversion("xcache") : (
|
69 |
-
$apc ? "APC ".phpversion("apc") : (
|
70 |
-
$zop ? "Zend OPCache ".phpversion("Zend OPcache") : "PHP OPCache ".phpversion("opcache")
|
71 |
-
)
|
72 |
-
)
|
73 |
-
);
|
74 |
-
}
|
75 |
-
if (($gm = extension_loaded("gmagick")) || ($im = extension_loaded("imagick"))) {
|
76 |
-
$server_configs["GMagick or IMagick"]["value"] = ($im ? "IMagick ".phpversion("imagick") : "GMagick ".phpversion("gmagick"));
|
77 |
-
}
|
78 |
-
|
79 |
-
?>
|
80 |
-
|
81 |
-
<table class="setup">
|
82 |
-
<tr>
|
83 |
-
<th></th>
|
84 |
-
<th>Required</th>
|
85 |
-
<th>Present</th>
|
86 |
-
</tr>
|
87 |
-
|
88 |
-
<?php foreach($server_configs as $label => $server_config) { ?>
|
89 |
-
<tr>
|
90 |
-
<td class="title"><?php echo $label; ?></td>
|
91 |
-
<td><?php echo ($server_config["required"] === true ? "Yes" : $server_config["required"]); ?></td>
|
92 |
-
<td class="<?php echo ($server_config["result"] ? "ok" : (isset($server_config["fallback"]) ? "warning" : "failed")); ?>">
|
93 |
-
<?php
|
94 |
-
echo $server_config["value"];
|
95 |
-
if ($server_config["result"] && !$server_config["value"]) echo "Yes";
|
96 |
-
if (!$server_config["result"]) {
|
97 |
-
if (isset($server_config["fallback"])) {
|
98 |
-
echo "<div>No. ".$server_config["fallback"]."</div>";
|
99 |
-
}
|
100 |
-
if (isset($server_config["failure"])) {
|
101 |
-
echo "<div>".$server_config["failure"]."</div>";
|
102 |
-
}
|
103 |
-
}
|
104 |
-
?>
|
105 |
-
</td>
|
106 |
-
</tr>
|
107 |
-
<?php } ?>
|
108 |
-
|
109 |
-
</table>
|
110 |
-
|
111 |
-
<h3 id="dompdf-config">DOMPDF Configuration</h3>
|
112 |
-
|
113 |
-
<?php
|
114 |
-
$dompdf_constants = array();
|
115 |
-
$defined_constants = get_defined_constants(true);
|
116 |
-
|
117 |
-
$constants = array(
|
118 |
-
"DOMPDF_DIR" => array(
|
119 |
-
"desc" => "Root directory of DOMPDF",
|
120 |
-
"success" => "read",
|
121 |
-
),
|
122 |
-
"DOMPDF_INC_DIR" => array(
|
123 |
-
"desc" => "Include directory of DOMPDF",
|
124 |
-
"success" => "read",
|
125 |
-
),
|
126 |
-
"DOMPDF_LIB_DIR" => array(
|
127 |
-
"desc" => "Third-party libraries directory of DOMPDF",
|
128 |
-
"success" => "read",
|
129 |
-
),
|
130 |
-
"DOMPDF_FONT_DIR" => array(
|
131 |
-
"desc" => "Directory containing fonts loaded into DOMPDF",
|
132 |
-
"success" => "write",
|
133 |
-
),
|
134 |
-
"DOMPDF_FONT_CACHE" => array(
|
135 |
-
"desc" => "Font metrics cache (used mainly by CPDF)",
|
136 |
-
"success" => "write",
|
137 |
-
),
|
138 |
-
"DOMPDF_TEMP_DIR" => array(
|
139 |
-
"desc" => "Temporary folder",
|
140 |
-
"success" => "write",
|
141 |
-
),
|
142 |
-
"DOMPDF_CHROOT" => array(
|
143 |
-
"desc" => "Restricted path",
|
144 |
-
"success" => "read",
|
145 |
-
),
|
146 |
-
"DOMPDF_UNICODE_ENABLED" => array(
|
147 |
-
"desc" => "Unicode support (with supporting fonts)",
|
148 |
-
),
|
149 |
-
"DOMPDF_ENABLE_FONTSUBSETTING" => array(
|
150 |
-
"desc" => "Enable font subsetting, will make smaller documents when using Unicode fonts",
|
151 |
-
),
|
152 |
-
"DOMPDF_PDF_BACKEND" => array(
|
153 |
-
"desc" => "Backend library that renders the output (PDF, image)",
|
154 |
-
"success" => "backend",
|
155 |
-
),
|
156 |
-
"DOMPDF_DEFAULT_MEDIA_TYPE" => array(
|
157 |
-
"desc" => "Default media type (print, screen, ...)",
|
158 |
-
),
|
159 |
-
"DOMPDF_DEFAULT_PAPER_SIZE" => array(
|
160 |
-
"desc" => "Default paper size (A4, letter, ...)",
|
161 |
-
),
|
162 |
-
"DOMPDF_DEFAULT_FONT" => array(
|
163 |
-
"desc" => "Default font, used if the specified font in the CSS stylesheet was not found",
|
164 |
-
),
|
165 |
-
"DOMPDF_DPI" => array(
|
166 |
-
"desc" => "DPI scale of the document",
|
167 |
-
),
|
168 |
-
"DOMPDF_ENABLE_PHP" => array(
|
169 |
-
"desc" => "Inline PHP support",
|
170 |
-
),
|
171 |
-
"DOMPDF_ENABLE_JAVASCRIPT" => array(
|
172 |
-
"desc" => "Inline JavaScript support",
|
173 |
-
),
|
174 |
-
"DOMPDF_ENABLE_REMOTE" => array(
|
175 |
-
"desc" => "Allow remote stylesheets and images",
|
176 |
-
"success" => "remote",
|
177 |
-
),
|
178 |
-
"DOMPDF_ENABLE_CSS_FLOAT" => array(
|
179 |
-
"desc" => "Enable CSS float support (experimental)",
|
180 |
-
),
|
181 |
-
"DOMPDF_ENABLE_HTML5PARSER" => array(
|
182 |
-
"desc" => "Enable the HTML5 parser (experimental)",
|
183 |
-
),
|
184 |
-
"DEBUGPNG" => array(
|
185 |
-
"desc" => "Debug PNG images",
|
186 |
-
),
|
187 |
-
"DEBUGKEEPTEMP" => array(
|
188 |
-
"desc" => "Keep temporary image files",
|
189 |
-
),
|
190 |
-
"DEBUGCSS" => array(
|
191 |
-
"desc" => "Debug CSS",
|
192 |
-
),
|
193 |
-
"DEBUG_LAYOUT" => array(
|
194 |
-
"desc" => "Debug layout",
|
195 |
-
),
|
196 |
-
"DEBUG_LAYOUT_LINES" => array(
|
197 |
-
"desc" => "Debug text lines layout",
|
198 |
-
),
|
199 |
-
"DEBUG_LAYOUT_BLOCKS" => array(
|
200 |
-
"desc" => "Debug block elements layout",
|
201 |
-
),
|
202 |
-
"DEBUG_LAYOUT_INLINE" => array(
|
203 |
-
"desc" => "Debug inline elements layout",
|
204 |
-
),
|
205 |
-
"DEBUG_LAYOUT_PADDINGBOX" => array(
|
206 |
-
"desc" => "Debug padding boxes layout",
|
207 |
-
),
|
208 |
-
"DOMPDF_LOG_OUTPUT_FILE" => array(
|
209 |
-
"desc" => "The file in which dompdf will write warnings and messages",
|
210 |
-
"success" => "write",
|
211 |
-
),
|
212 |
-
"DOMPDF_FONT_HEIGHT_RATIO" => array(
|
213 |
-
"desc" => "The line height ratio to apply to get a render like web browsers",
|
214 |
-
),
|
215 |
-
"DOMPDF_ENABLE_AUTOLOAD" => array(
|
216 |
-
"desc" => "Enable the DOMPDF autoloader",
|
217 |
-
),
|
218 |
-
"DOMPDF_AUTOLOAD_PREPEND" => array(
|
219 |
-
"desc" => "Prepend the dompdf autoload function to the SPL autoload functions already registered instead of appending it",
|
220 |
-
),
|
221 |
-
"DOMPDF_ADMIN_USERNAME" => array(
|
222 |
-
"desc" => "The username required to access restricted sections",
|
223 |
-
"secret" => true,
|
224 |
-
),
|
225 |
-
"DOMPDF_ADMIN_PASSWORD" => array(
|
226 |
-
"desc" => "The password required to access restricted sections",
|
227 |
-
"secret" => true,
|
228 |
-
"success" => "auth",
|
229 |
-
),
|
230 |
-
);
|
231 |
-
?>
|
232 |
-
|
233 |
-
<table class="setup">
|
234 |
-
<tr>
|
235 |
-
<th>Config name</th>
|
236 |
-
<th>Value</th>
|
237 |
-
<th>Description</th>
|
238 |
-
<th>Status</th>
|
239 |
-
</tr>
|
240 |
-
|
241 |
-
<?php foreach($defined_constants["user"] as $const => $value) { ?>
|
242 |
-
<tr>
|
243 |
-
<td class="title"><?php echo $const; ?></td>
|
244 |
-
<td>
|
245 |
-
<?php
|
246 |
-
if (isset($constants[$const]["secret"])) {
|
247 |
-
echo "******";
|
248 |
-
}
|
249 |
-
else {
|
250 |
-
var_export($value);
|
251 |
-
}
|
252 |
-
?>
|
253 |
-
</td>
|
254 |
-
<td><?php if (isset($constants[$const]["desc"])) echo $constants[$const]["desc"]; ?></td>
|
255 |
-
<td <?php
|
256 |
-
$message = "";
|
257 |
-
if (isset($constants[$const]["success"])) {
|
258 |
-
switch($constants[$const]["success"]) {
|
259 |
-
case "read":
|
260 |
-
$success = is_readable($value);
|
261 |
-
$message = ($success ? "Readable" : "Not readable");
|
262 |
-
break;
|
263 |
-
case "write":
|
264 |
-
$success = is_writable($value);
|
265 |
-
$message = ($success ? "Writable" : "Not writable");
|
266 |
-
break;
|
267 |
-
case "remote":
|
268 |
-
$success = ini_get("allow_url_fopen");
|
269 |
-
$message = ($success ? "allow_url_fopen enabled" : "allow_url_fopen disabled");
|
270 |
-
break;
|
271 |
-
case "backend":
|
272 |
-
switch (strtolower($value)) {
|
273 |
-
case "cpdf":
|
274 |
-
$success = true;
|
275 |
-
break;
|
276 |
-
case "pdflib":
|
277 |
-
$success = function_exists("PDF_begin_document");
|
278 |
-
$message = "The PDFLib backend needs the PDF PECL extension";
|
279 |
-
break;
|
280 |
-
case "gd":
|
281 |
-
$success = function_exists("imagecreate");
|
282 |
-
$message = "The GD backend requires GD2";
|
283 |
-
break;
|
284 |
-
}
|
285 |
-
break;
|
286 |
-
case "auth":
|
287 |
-
$success = !in_array($value, array("admin", "password"));
|
288 |
-
$message = ($success ? "OK" : "Password should be changed");
|
289 |
-
break;
|
290 |
-
}
|
291 |
-
echo 'class="' . ($success ? "ok" : "failed") . '"';
|
292 |
-
}
|
293 |
-
?>><?php echo $message; ?></td>
|
294 |
-
</tr>
|
295 |
-
<?php } ?>
|
296 |
-
|
297 |
-
</table>
|
298 |
-
|
299 |
-
|
300 |
-
<?php include("foot.inc"); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/dompdf/www/style.css
DELETED
@@ -1,255 +0,0 @@
|
|
1 |
-
body, select {
|
2 |
-
color: #7d7a7a;
|
3 |
-
font-family: 'trebuchet ms', verdana, sans-serif;
|
4 |
-
font-size: 13px;
|
5 |
-
}
|
6 |
-
|
7 |
-
a:link, a:visited, a:active {
|
8 |
-
color: #5F83BA;
|
9 |
-
text-decoration: none;
|
10 |
-
}
|
11 |
-
|
12 |
-
a:hover {
|
13 |
-
color: #5f83ba;
|
14 |
-
text-decoration: underline;
|
15 |
-
}
|
16 |
-
|
17 |
-
img {
|
18 |
-
border: none;
|
19 |
-
}
|
20 |
-
|
21 |
-
pre,
|
22 |
-
code {
|
23 |
-
font-size: 0.8em;
|
24 |
-
font-family: "lucida console", monospace;
|
25 |
-
}
|
26 |
-
|
27 |
-
pre {
|
28 |
-
background-color: #f8f8f8;
|
29 |
-
padding: 10px;
|
30 |
-
}
|
31 |
-
|
32 |
-
select {
|
33 |
-
font-weight: bold;
|
34 |
-
}
|
35 |
-
|
36 |
-
h2 {
|
37 |
-
margin: 0.3em 0;
|
38 |
-
}
|
39 |
-
|
40 |
-
.bar {
|
41 |
-
background-image: url('images/h_bar.gif');
|
42 |
-
background-repeat: repeat-x;
|
43 |
-
background-position: bottom right;
|
44 |
-
}
|
45 |
-
|
46 |
-
#header {
|
47 |
-
height: 50px;
|
48 |
-
line-height: 30px;
|
49 |
-
}
|
50 |
-
|
51 |
-
#footer {
|
52 |
-
font-size: 0.75em;
|
53 |
-
padding-top: 12px;
|
54 |
-
background-image: url('images/h_bar.gif');
|
55 |
-
background-repeat: repeat-x;
|
56 |
-
background-position: top left;
|
57 |
-
height: 35px;
|
58 |
-
vertical-align: middle;
|
59 |
-
clear: both;
|
60 |
-
}
|
61 |
-
|
62 |
-
#logo {
|
63 |
-
position: absolute;
|
64 |
-
top: 0px;
|
65 |
-
right: 0px;
|
66 |
-
border: none;
|
67 |
-
}
|
68 |
-
|
69 |
-
.badges {
|
70 |
-
float: right;
|
71 |
-
}
|
72 |
-
|
73 |
-
#left_col, #content {
|
74 |
-
vertical-align: top;
|
75 |
-
}
|
76 |
-
/*
|
77 |
-
#left_col {
|
78 |
-
padding: 3px 3px 2em 3px;
|
79 |
-
margin-top: 2px;
|
80 |
-
width: 210px;
|
81 |
-
padding-right: 10px;
|
82 |
-
background-image: url('images/v_bar.gif');
|
83 |
-
background-repeat: repeat-y;
|
84 |
-
background-position: top right;
|
85 |
-
}
|
86 |
-
*/
|
87 |
-
|
88 |
-
#left_col {
|
89 |
-
padding: 3px 3px 3em 3px;
|
90 |
-
margin-top: 2px;
|
91 |
-
width: 120px;
|
92 |
-
padding-right: 10px;
|
93 |
-
float: left;
|
94 |
-
}
|
95 |
-
|
96 |
-
#left_col h2 {
|
97 |
-
font-size: 1.0em;
|
98 |
-
margin-top: 0.5em;
|
99 |
-
margin-bottom: 0.25em;
|
100 |
-
}
|
101 |
-
|
102 |
-
#left_col ul {
|
103 |
-
margin-top: 0.25em;
|
104 |
-
padding-left: 0px;
|
105 |
-
margin-left: 0px;
|
106 |
-
position: fixed;
|
107 |
-
}
|
108 |
-
|
109 |
-
#left_col ul li { list-style-position: inside; }
|
110 |
-
|
111 |
-
#left_col iframe { margin-left: 40px; margin-top: 10px; }
|
112 |
-
|
113 |
-
#content {
|
114 |
-
margin-left: 120px;
|
115 |
-
padding: 1em 1em 1em 2em;
|
116 |
-
min-width: 800px;
|
117 |
-
background-image: url('images/v_bar.gif');
|
118 |
-
background-repeat: repeat-y;
|
119 |
-
background-position: top left;
|
120 |
-
}
|
121 |
-
|
122 |
-
.message {
|
123 |
-
margin-top: 1em;
|
124 |
-
border: 1px dashed #5E83BA;
|
125 |
-
}
|
126 |
-
|
127 |
-
#content li {
|
128 |
-
margin-top: 0.3em;
|
129 |
-
vertical-align: top;
|
130 |
-
}
|
131 |
-
|
132 |
-
#content>*>li {
|
133 |
-
margin-right: 40px; /* keep things in line */
|
134 |
-
}
|
135 |
-
|
136 |
-
#content h2 {
|
137 |
-
text-align: left;
|
138 |
-
color: #4A9166;
|
139 |
-
}
|
140 |
-
|
141 |
-
#content h3 {
|
142 |
-
margin-top: 2em;
|
143 |
-
}
|
144 |
-
|
145 |
-
#content p {
|
146 |
-
text-align: justify;
|
147 |
-
}
|
148 |
-
|
149 |
-
#content table td,
|
150 |
-
#content table th {
|
151 |
-
padding: 0.3em;
|
152 |
-
}
|
153 |
-
|
154 |
-
#content table td.input {
|
155 |
-
white-space: nowrap;
|
156 |
-
font-family: "lucida console", monospace;
|
157 |
-
font-size: 0.8em;
|
158 |
-
}
|
159 |
-
|
160 |
-
#content textarea {
|
161 |
-
padding: 4px;
|
162 |
-
width: 100%;
|
163 |
-
border: 1px dashed #5F83BA;
|
164 |
-
-moz-box-shadow: inset 3px 3px 3px rgba(0,0,0,0.1);
|
165 |
-
-webkit-box-shadow: inset 3px 3px 3px rgba(0,0,0,0.1);
|
166 |
-
box-shadow: inset 3px 3px 3px rgba(0,0,0,0.1);
|
167 |
-
}
|
168 |
-
|
169 |
-
#content button {
|
170 |
-
color: #6d6a6a;
|
171 |
-
font-family: 'trebuchet ms', verdana, sans-serif;
|
172 |
-
}
|
173 |
-
|
174 |
-
#preview {
|
175 |
-
float: right;
|
176 |
-
height: 800px;
|
177 |
-
min-width: 400px;
|
178 |
-
width: 60%;
|
179 |
-
border: 1px solid #666;
|
180 |
-
margin-left: 1em;
|
181 |
-
-moz-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
|
182 |
-
-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
|
183 |
-
box-shadow: 0px 0px 6px rgba(0,0,0,0.5);
|
184 |
-
}
|
185 |
-
|
186 |
-
table.setup {
|
187 |
-
border: 1px solid #ccc;
|
188 |
-
border-collapse: collapse;
|
189 |
-
}
|
190 |
-
|
191 |
-
table.setup td,
|
192 |
-
table.setup th {
|
193 |
-
border: 1px solid #ccc;
|
194 |
-
}
|
195 |
-
|
196 |
-
table.setup th {
|
197 |
-
background-color: #ddd;
|
198 |
-
}
|
199 |
-
|
200 |
-
table.setup td.title {
|
201 |
-
background-color: #f6f6f6;
|
202 |
-
}
|
203 |
-
|
204 |
-
table.setup td.ok,
|
205 |
-
table.setup tr:hover td.ok {
|
206 |
-
background-color: #9e4;
|
207 |
-
}
|
208 |
-
|
209 |
-
table.setup td.failed,
|
210 |
-
table.setup tr:hover td.failed {
|
211 |
-
background-color: #f43;
|
212 |
-
color: white;
|
213 |
-
}
|
214 |
-
|
215 |
-
table.setup td.warning,
|
216 |
-
table.setup tr:hover td.warning {
|
217 |
-
background-color: #FCC612;
|
218 |
-
}
|
219 |
-
|
220 |
-
table.setup tr:hover td {
|
221 |
-
background-color: #EBF1F7;
|
222 |
-
}
|
223 |
-
|
224 |
-
table.setup tr:hover td.title {
|
225 |
-
background-color: #D0E0F2;
|
226 |
-
}
|
227 |
-
|
228 |
-
input[type="file"] {
|
229 |
-
width: 30em;
|
230 |
-
}
|
231 |
-
|
232 |
-
/* Method definitions from phpdoc */
|
233 |
-
.method-definition {
|
234 |
-
background-image: url('images/h_bar.gif');
|
235 |
-
background-position: bottom center;
|
236 |
-
background-repeat: repeat-x;
|
237 |
-
padding: 10px 10px 20px 10px;
|
238 |
-
margin-bottom: 1em;
|
239 |
-
}
|
240 |
-
|
241 |
-
.method-title {
|
242 |
-
color: #5F83BA;
|
243 |
-
}
|
244 |
-
|
245 |
-
.var-name,
|
246 |
-
.method-name,
|
247 |
-
.method-title {
|
248 |
-
font-weight: bold;
|
249 |
-
}
|
250 |
-
|
251 |
-
.var-type,
|
252 |
-
.method-result {
|
253 |
-
color: #4A9166;
|
254 |
-
font-style: italic;
|
255 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: pomegranate
|
3 |
Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
|
4 |
Requires at least: 3.5
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -140,11 +140,7 @@ Japanese - http://ipafont.ipa.go.jp/index.html
|
|
140 |
Chinese - http://www.study-area.org/apt/firefly-font/
|
141 |
|
142 |
= How can I display the HTML/CSS source for debugging/developing templates? =
|
143 |
-
|
144 |
-
`
|
145 |
-
add_filter( 'wpo_wcpdf_output_html', '__return_true' );
|
146 |
-
add_filter( 'wpo_wcpdf_use_path', '__return_false' );
|
147 |
-
`
|
148 |
|
149 |
= How can I display custom fields in the invoice or packing slip? =
|
150 |
First, you need to create a custom template following instructions from the first item in this FAQ.
|
@@ -188,6 +184,22 @@ function wpo_wcpdf_custom_filename( $filename, $template_type, $order_ids, $cont
|
|
188 |
`
|
189 |
You can also use the $template_type ('invoice' or 'packing-slip'), $order_ids (single array) or $context ('download' or 'attachment') variables to make more complex rules for the filename.
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
= Why does the download link not display on the My Account page? =
|
192 |
To prevent customers from prematurely creating invoices, the default setting is that a customer can only see/download an invoice from an order that already has an invoice - either created automatically for the email attachment, or manually by the shop manager. This means that ultimately the shop mananger determines whether an invoice is available to the customer. If you want to make the invoice available to everyone you can either of the following:
|
193 |
|
@@ -236,6 +248,16 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
236 |
|
237 |
== Changelog ==
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
= 1.4.14 =
|
240 |
* Fix: fatal error when user registers at checkout (applies to credit notes only)
|
241 |
* Translations: Updated German (Thanks Dietmar!)
|
@@ -315,7 +337,7 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
315 |
* Fix: Invoice number formatting notices in debug mode
|
316 |
|
317 |
= 1.4.0 =
|
318 |
-
*
|
319 |
* Filter: `wpo_wcpdf_email_allowed_statuses` to attach pdf to custom order status emails
|
320 |
* Tweak: Sequential Order Numbers Pro compatibility
|
321 |
* Tweak: Filenames are now automatically sanitized to prevent issues with illegal characters
|
@@ -330,7 +352,6 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
330 |
|
331 |
= 1.3.0 =
|
332 |
* Feature: Added 'status' panel for better problem diagnosis
|
333 |
-
* Feature: Order & Cart, & total discounts can now be called separately with order_discount()
|
334 |
* Tweak: split create & get invoice number calls to prevent slow database calls from causing number skipping
|
335 |
* Translations: Added Romanian (Thanks Leonardo!)
|
336 |
* Translations: Added Slovak (Thanks Oleg!)
|
@@ -436,3 +457,8 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
436 |
|
437 |
= 1.0.0 =
|
438 |
* First release
|
|
|
|
|
|
|
|
|
|
2 |
Contributors: pomegranate
|
3 |
Tags: woocommerce, pdf, invoices, packing slips, print, delivery notes, invoice, packing slip, export, email, bulk, automatic
|
4 |
Requires at least: 3.5
|
5 |
+
Tested up to: 4.1
|
6 |
+
Stable tag: 1.5.0
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
140 |
Chinese - http://www.study-area.org/apt/firefly-font/
|
141 |
|
142 |
= How can I display the HTML/CSS source for debugging/developing templates? =
|
143 |
+
There's a setting on the Status tab of the settings page that allows you to toggle HTML output. Don't forget to turn if off after you're done testing!
|
|
|
|
|
|
|
|
|
144 |
|
145 |
= How can I display custom fields in the invoice or packing slip? =
|
146 |
First, you need to create a custom template following instructions from the first item in this FAQ.
|
184 |
`
|
185 |
You can also use the $template_type ('invoice' or 'packing-slip'), $order_ids (single array) or $context ('download' or 'attachment') variables to make more complex rules for the filename.
|
186 |
|
187 |
+
= How can I add a download link to the invoice on the Thank you page? =
|
188 |
+
You can do this with an action in your theme's `functions.php` (Some themes have a "custom functions" area in the settings). Note that due to security restrictions, this will only work for registered/logged in users!
|
189 |
+
|
190 |
+
`
|
191 |
+
add_filter('woocommerce_thankyou_order_received_text', 'wpo_wcpdf_thank_you_link', 10, 2);
|
192 |
+
function wpo_wcpdf_thank_you_link( $text, $order ) {
|
193 |
+
if ( is_user_logged_in() ) {
|
194 |
+
$pdf_url = wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=invoice&order_ids=' . $order->id . '&my-account'), 'generate_wpo_wcpdf' );
|
195 |
+
$text .= '<p><a href="'.esc_attr($pdf_url).'">Download a printable invoice / payment confirmation (PDF format)</a></p>';
|
196 |
+
}
|
197 |
+
return $text;
|
198 |
+
}
|
199 |
+
`
|
200 |
+
|
201 |
+
alternatively, you can hook this text to the `woocommerce_thankyou` action, see [this thread](https://wordpress.org/support/topic/suggestion-for-the-faq?replies=5#post-6298810) on the support forum.
|
202 |
+
|
203 |
= Why does the download link not display on the My Account page? =
|
204 |
To prevent customers from prematurely creating invoices, the default setting is that a customer can only see/download an invoice from an order that already has an invoice - either created automatically for the email attachment, or manually by the shop manager. This means that ultimately the shop mananger determines whether an invoice is available to the customer. If you want to make the invoice available to everyone you can either of the following:
|
205 |
|
248 |
|
249 |
== Changelog ==
|
250 |
|
251 |
+
= 1.5.0 =
|
252 |
+
* Feature: All temporary files are now stored centrally in the WP uploads folder.
|
253 |
+
* Feature: Debug settings in status panel (output errors & output to HTML)
|
254 |
+
* Feature: Compatibility filter for WooCommerce Subscriptions (prevents duplicate invoice numbers)
|
255 |
+
* Tweak: Pass order to totals filters
|
256 |
+
* Translations: Updated POT
|
257 |
+
* Translations: Updated Italian (Thanks Astrid!)
|
258 |
+
* Translations: Updated Dutch
|
259 |
+
* FAQ: instructions for placing a link on the thank you page
|
260 |
+
|
261 |
= 1.4.14 =
|
262 |
* Fix: fatal error when user registers at checkout (applies to credit notes only)
|
263 |
* Translations: Updated German (Thanks Dietmar!)
|
337 |
* Fix: Invoice number formatting notices in debug mode
|
338 |
|
339 |
= 1.4.0 =
|
340 |
+
* Feature: Invoice numbers can now be given a prefix, suffix or padding on the settings page!
|
341 |
* Filter: `wpo_wcpdf_email_allowed_statuses` to attach pdf to custom order status emails
|
342 |
* Tweak: Sequential Order Numbers Pro compatibility
|
343 |
* Tweak: Filenames are now automatically sanitized to prevent issues with illegal characters
|
352 |
|
353 |
= 1.3.0 =
|
354 |
* Feature: Added 'status' panel for better problem diagnosis
|
|
|
355 |
* Tweak: split create & get invoice number calls to prevent slow database calls from causing number skipping
|
356 |
* Translations: Added Romanian (Thanks Leonardo!)
|
357 |
* Translations: Added Slovak (Thanks Oleg!)
|
457 |
|
458 |
= 1.0.0 =
|
459 |
* First release
|
460 |
+
|
461 |
+
== Upgrade Notice ==
|
462 |
+
|
463 |
+
= 1.5.0 =
|
464 |
+
Version 1.5 changes where temporary files are stored - everything is now stored centrally in the WP uploads folder. For backwards compatibility, this feature is turned off by default, but we recommend to use the new folders. Check the plugin Status panel for more information!
|
tmp/index.php
ADDED
File without changes
|
woocommerce-pdf-invoices-packingslips.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
-
* Version: 1.
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
@@ -33,12 +33,22 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
|
|
33 |
self::$plugin_basename = plugin_basename(__FILE__);
|
34 |
self::$plugin_url = plugin_dir_url(self::$plugin_basename);
|
35 |
self::$plugin_path = trailingslashit(dirname(__FILE__));
|
36 |
-
self::$version = '1.
|
37 |
|
38 |
// load the localisation & classes
|
39 |
add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
|
40 |
add_action( 'init', array( $this, 'load_classes' ) );
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
43 |
|
44 |
/**
|
@@ -115,6 +125,76 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
|
|
115 |
echo $message;
|
116 |
}
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
/***********************************************************************/
|
119 |
/********************** GENERAL TEMPLATE FUNCTIONS *********************/
|
120 |
/***********************************************************************/
|
@@ -468,7 +548,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
|
|
468 |
*/
|
469 |
public function get_woocommerce_totals() {
|
470 |
// get totals and remove the semicolon
|
471 |
-
$totals = apply_filters( 'wpo_wcpdf_raw_order_totals', $this->export->order->get_order_item_totals() );
|
472 |
|
473 |
// remove the colon for every label
|
474 |
foreach ( $totals as $key => $total ) {
|
@@ -480,7 +560,7 @@ if ( !class_exists( 'WooCommerce_PDF_Invoices' ) ) {
|
|
480 |
$totals[$key]['label'] = $label;
|
481 |
}
|
482 |
|
483 |
-
return apply_filters( 'wpo_wcpdf_woocommerce_totals', $totals );
|
484 |
}
|
485 |
|
486 |
/**
|
3 |
* Plugin Name: WooCommerce PDF Invoices & Packing Slips
|
4 |
* Plugin URI: http://www.wpovernight.com
|
5 |
* Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
|
6 |
+
* Version: 1.5.0
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|
33 |
self::$plugin_basename = plugin_basename(__FILE__);
|
34 |
self::$plugin_url = plugin_dir_url(self::$plugin_basename);
|
35 |
self::$plugin_path = trailingslashit(dirname(__FILE__));
|
36 |
+
self::$version = '1.5.0';
|
37 |
|
38 |
// load the localisation & classes
|
39 |
add_action( 'plugins_loaded', array( $this, 'translations' ) ); // or use init?
|
40 |
add_action( 'init', array( $this, 'load_classes' ) );
|
41 |
|
42 |
+
// run lifecycle methods
|
43 |
+
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
|
44 |
+
// check if upgrading from versionless (1.4.14 and older)
|
45 |
+
if ( get_option('wpo_wcpdf_general_settings') && get_option('wpo_wcpdf_version') === false ) {
|
46 |
+
// tag 'versionless', so that we can apply necessary upgrade settings
|
47 |
+
add_option( 'wpo_wcpdf_version', 'versionless' );
|
48 |
+
}
|
49 |
+
|
50 |
+
add_action( 'wp_loaded', array( $this, 'do_install' ) );
|
51 |
+
}
|
52 |
}
|
53 |
|
54 |
/**
|
125 |
echo $message;
|
126 |
}
|
127 |
|
128 |
+
/** Lifecycle methods *******************************************************
|
129 |
+
* Because register_activation_hook only runs when the plugin is manually
|
130 |
+
* activated by the user, we're checking the current version against the
|
131 |
+
* version stored in the database
|
132 |
+
****************************************************************************/
|
133 |
+
|
134 |
+
/**
|
135 |
+
* Handles version checking
|
136 |
+
*/
|
137 |
+
public function do_install() {
|
138 |
+
$version_setting = 'wpo_wcpdf_version';
|
139 |
+
$installed_version = get_option( $version_setting );
|
140 |
+
|
141 |
+
// installed version lower than plugin version?
|
142 |
+
if ( version_compare( $installed_version, self::$version, '<' ) ) {
|
143 |
+
|
144 |
+
if ( ! $installed_version ) {
|
145 |
+
$this->install();
|
146 |
+
} else {
|
147 |
+
$this->upgrade( $installed_version );
|
148 |
+
}
|
149 |
+
|
150 |
+
// new version number
|
151 |
+
update_option( $version_setting, self::$version );
|
152 |
+
}
|
153 |
+
}
|
154 |
+
|
155 |
+
|
156 |
+
/**
|
157 |
+
* Plugin install method. Perform any installation tasks here
|
158 |
+
*/
|
159 |
+
protected function install() {
|
160 |
+
// Create temp folders
|
161 |
+
$tmp_base = $this->export->get_tmp_base();
|
162 |
+
|
163 |
+
// check if tmp folder exists => if not, initialize
|
164 |
+
if ( !@is_dir( $tmp_base ) ) {
|
165 |
+
$this->export->init_tmp( $tmp_base );
|
166 |
+
}
|
167 |
+
|
168 |
+
}
|
169 |
+
|
170 |
+
|
171 |
+
/**
|
172 |
+
* Plugin upgrade method. Perform any required upgrades here
|
173 |
+
*
|
174 |
+
* @param string $installed_version the currently installed version
|
175 |
+
*/
|
176 |
+
protected function upgrade( $installed_version ) {
|
177 |
+
if ( $installed_version == 'versionless') { // versionless = 1.4.14 and older
|
178 |
+
// We're upgrading from an old version, so we're enabling the option to use the plugin tmp folder.
|
179 |
+
// This is not per se the 'best' solution, but the good thing is that nothing is changed ]
|
180 |
+
// and nothing will be broken (that wasn't broken before)
|
181 |
+
$default = array( 'old_tmp' => 1 );
|
182 |
+
update_option( 'wpo_wcpdf_debug_settings', $default );
|
183 |
+
}
|
184 |
+
|
185 |
+
// sync fonts on every upgrade!
|
186 |
+
$debug_settings = get_option( 'wpo_wcpdf_debug_settings' ); // get temp setting
|
187 |
+
|
188 |
+
// do not copy if old_tmp function active!
|
189 |
+
if ( !isset($this->debug_settings['old_tmp']) ) {
|
190 |
+
$tmp_base = $this->export->get_tmp_base();
|
191 |
+
|
192 |
+
$font_path = $tmp_base . 'fonts/';
|
193 |
+
$this->export->copy_fonts( $font_path );
|
194 |
+
}
|
195 |
+
|
196 |
+
}
|
197 |
+
|
198 |
/***********************************************************************/
|
199 |
/********************** GENERAL TEMPLATE FUNCTIONS *********************/
|
200 |
/***********************************************************************/
|
548 |
*/
|
549 |
public function get_woocommerce_totals() {
|
550 |
// get totals and remove the semicolon
|
551 |
+
$totals = apply_filters( 'wpo_wcpdf_raw_order_totals', $this->export->order->get_order_item_totals(), $this->export->order );
|
552 |
|
553 |
// remove the colon for every label
|
554 |
foreach ( $totals as $key => $total ) {
|
560 |
$totals[$key]['label'] = $label;
|
561 |
}
|
562 |
|
563 |
+
return apply_filters( 'wpo_wcpdf_woocommerce_totals', $totals, $this->export->order );
|
564 |
}
|
565 |
|
566 |
/**
|