YITH WooCommerce Compare - Version 2.3.2

Version Description

Released on Sep 10, 2018

  • New: Support to WooCommerce 3.4.5.
  • New: Support to WordPress 4.9.8.
  • Update: Plugin Core.
  • Update: All external scripts to latest available version.
  • Update: Compare table template (compare.php) to version 2.3.2.
  • Update: Compare table style.
  • Fix: Check product status before add it to compare list.
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Compare
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

Files changed (44) hide show
  1. README.txt +19 -6
  2. assets/css/colorbox.css +31 -31
  3. assets/css/jquery.dataTables.css +1 -220
  4. assets/css/style.css +102 -174
  5. assets/js/FixedColumns.min.js +35 -265
  6. assets/js/imagesloaded.pkgd.min.js +7 -0
  7. assets/js/jquery.colorbox-min.js +4 -5
  8. assets/js/jquery.dataTables.min.js +166 -1925
  9. assets/js/woocompare.js +3 -2
  10. assets/js/woocompare.min.js +1 -1
  11. includes/class.yith-woocompare-admin.php +28 -24
  12. includes/class.yith-woocompare-frontend.php +1 -3
  13. init.php +8 -6
  14. plugin-fw/assets/css/yith-fields.css +38 -0
  15. plugin-fw/assets/css/yith-select2-no-wc.css +741 -0
  16. plugin-fw/assets/js/jquery.colorbox.min.js +33 -24
  17. plugin-fw/assets/js/metabox.min.js +7 -4
  18. plugin-fw/assets/js/yit-cpt-unlimited.min.js +2 -2
  19. plugin-fw/assets/js/yit-wp-pointer.min.js +6 -3
  20. plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js +5 -5
  21. plugin-fw/assets/js/yith-enhanced-select.min.js +8 -5
  22. plugin-fw/assets/js/yith-fields.js +27 -13
  23. plugin-fw/assets/js/yith-fields.min.js +11 -11
  24. plugin-fw/init.php +3 -3
  25. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  26. plugin-fw/languages/yith-plugin-fw-es_ES.po +466 -421
  27. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  28. plugin-fw/languages/yith-plugin-fw-it_IT.po +466 -425
  29. plugin-fw/languages/yith-plugin-fw.pot +167 -354
  30. plugin-fw/lib/yit-ajax.php +2 -2
  31. plugin-fw/lib/yit-assets.php +11 -7
  32. plugin-fw/lib/yit-debug.php +1 -2
  33. plugin-fw/lib/yit-upgrade.php +1 -1
  34. plugin-fw/licence/lib/yit-plugin-licence.php +42 -7
  35. plugin-fw/licence/lib/yit-theme-licence.php +1 -1
  36. plugin-fw/licence/templates/panel/activation/activation-panel.php +1 -1
  37. plugin-fw/templates/fields/ajax-posts.php +1 -2
  38. plugin-fw/templates/fields/ajax-terms.php +1 -2
  39. plugin-fw/templates/fields/resources/select2-wc-2.6.php +31 -0
  40. plugin-fw/templates/fields/resources/select2.php +43 -0
  41. plugin-fw/templates/fields/select-images.php +52 -0
  42. plugin-fw/yit-functions.php +88 -9
  43. plugin-fw/yit-plugin.php +148 -0
  44. templates/compare.php +31 -28
README.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: yithemes
4
  Tags: woocommerce compare, compare products, product compare, product comparison, compare table
5
  Requires at least: 3.5.1
6
- Tested up to: 4.9.6
7
- Stable tag: 2.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -66,6 +66,16 @@ yith-woocommerce-compare-<WORDPRESS LOCALE >.mo
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
 
 
 
 
 
69
  = 2.3.1 = Released on Jun 5, 2018
70
 
71
  * New: Support to WooCommerce 3.4.1.
@@ -282,9 +292,12 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
282
 
283
  == Upgrade notice ==
284
 
285
- = 2.3.1 = Released on Jun 5, 2018
286
 
287
- * New: Support to WooCommerce 3.4.1.
288
- * New: Support to WordPress 4.9.6.
289
  * Update: Plugin Core.
290
- * Fix: WPML table fields translation.
 
 
 
3
  Contributors: yithemes
4
  Tags: woocommerce compare, compare products, product compare, product comparison, compare table
5
  Requires at least: 3.5.1
6
+ Tested up to: 4.9
7
+ Stable tag: 2.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
66
 
67
  == Changelog ==
68
 
69
+ = 2.3.2 = Released on Sep 10, 2018
70
+
71
+ * New: Support to WooCommerce 3.4.5.
72
+ * New: Support to WordPress 4.9.8.
73
+ * Update: Plugin Core.
74
+ * Update: All external scripts to latest available version.
75
+ * Update: Compare table template (compare.php) to version 2.3.2.
76
+ * Update: Compare table style.
77
+ * Fix: Check product status before add it to compare list.
78
+
79
  = 2.3.1 = Released on Jun 5, 2018
80
 
81
  * New: Support to WooCommerce 3.4.1.
292
 
293
  == Upgrade notice ==
294
 
295
+ = 2.3.2 = Released on Sep 10, 2018
296
 
297
+ * New: Support to WooCommerce 3.4.5.
298
+ * New: Support to WordPress 4.9.8.
299
  * Update: Plugin Core.
300
+ * Update: All external scripts to latest available version.
301
+ * Update: Compare table template (compare.php) to version 2.3.2.
302
+ * Update: Compare table style.
303
+ * Fix: Check product status before add it to compare list.
assets/css/colorbox.css CHANGED
@@ -21,40 +21,40 @@
21
  */
22
  #cboxOverlay{background:#000;}
23
  #colorbox{outline:0;}
24
- #cboxTopLeft{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat 0 0;}
25
- #cboxTopCenter{height:14px; background:url(../images/colorbox/border.png) repeat-x top left;}
26
- #cboxTopRight{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat -36px 0;}
27
- #cboxBottomLeft{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat 0 -32px;}
28
- #cboxBottomCenter{height:43px; background:url(../images/colorbox/border.png) repeat-x bottom left;}
29
- #cboxBottomRight{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat -36px -32px;}
30
- #cboxMiddleLeft{width:14px; background:url(../images/colorbox/controls.png) repeat-y -175px 0;}
31
- #cboxMiddleRight{width:14px; background:url(../images/colorbox/controls.png) repeat-y -211px 0;}
32
- #cboxContent{background:#fff; overflow:visible;}
33
- .cboxIframe{background:#fff;}
34
- #cboxError{padding:50px; border:1px solid #ccc;}
35
- #cboxLoadedContent{margin-bottom:5px;}
36
- #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center;}
37
- #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;}
38
- #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
39
- #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
40
 
41
- /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
42
- #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; position:absolute; bottom:-29px; background:url(../images/colorbox/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
43
-
44
- /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
45
- #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
46
 
47
- #cboxPrevious{left:0px; background-position: -51px -25px;}
48
- #cboxPrevious:hover{background-position:-51px 0px;}
49
- #cboxNext{left:27px; background-position:-75px -25px;}
50
- #cboxNext:hover{background-position:-75px 0px;}
51
- #cboxClose{right:0; background-position:-100px -25px;}
52
- #cboxClose:hover{background-position:-100px 0px;}
53
 
54
- .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
55
- .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
56
- .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
57
- .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
 
 
 
 
 
 
 
58
 
59
  .yith_woocompare_colorbox #cboxLoadedContent {
60
  overflow: hidden !important;
21
  */
22
  #cboxOverlay{background:#000;}
23
  #colorbox{outline:0;}
24
+ #cboxTopLeft{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat 0 0;}
25
+ #cboxTopCenter{height:14px; background:url(../images/colorbox/border.png) repeat-x top left;}
26
+ #cboxTopRight{width:14px; height:14px; background:url(../images/colorbox/controls.png) no-repeat -36px 0;}
27
+ #cboxBottomLeft{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat 0 -32px;}
28
+ #cboxBottomCenter{height:43px; background:url(../images/colorbox/border.png) repeat-x bottom left;}
29
+ #cboxBottomRight{width:14px; height:43px; background:url(../images/colorbox/controls.png) no-repeat -36px -32px;}
30
+ #cboxMiddleLeft{width:14px; background:url(../images/colorbox/controls.png) repeat-y -175px 0;}
31
+ #cboxMiddleRight{width:14px; background:url(../images/colorbox/controls.png) repeat-y -211px 0;}
32
+ #cboxContent{background:#fff; overflow:visible;}
33
+ .cboxIframe{background:#fff;}
34
+ #cboxError{padding:50px; border:1px solid #ccc;}
35
+ #cboxLoadedContent{margin-bottom:5px;}
36
+ #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) no-repeat center center;}
37
+ #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) no-repeat center center;}
38
+ #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
39
+ #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
40
 
41
+ /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
42
+ #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; position:absolute; bottom:-29px; background:url(../images/colorbox/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
 
 
 
43
 
44
+ /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
45
+ #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
 
 
 
 
46
 
47
+ #cboxPrevious{left:0px; background-position: -51px -25px;}
48
+ #cboxPrevious:hover{background-position:-51px 0px;}
49
+ #cboxNext{left:27px; background-position:-75px -25px;}
50
+ #cboxNext:hover{background-position:-75px 0px;}
51
+ #cboxClose{right:0; background-position:-100px -25px;}
52
+ #cboxClose:hover{background-position:-100px 0px;}
53
+
54
+ .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
55
+ .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
56
+ .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
57
+ .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
58
 
59
  .yith_woocompare_colorbox #cboxLoadedContent {
60
  overflow: hidden !important;
assets/css/jquery.dataTables.css CHANGED
@@ -1,221 +1,2 @@
1
-
2
- /*
3
- * Table
4
- */
5
- table.dataTable {
6
- margin: 0 auto;
7
- clear: both;
8
- width: 500px;
9
- }
10
-
11
- table.dataTable thead th {
12
- padding: 3px 18px 3px 10px;
13
- border-bottom: 1px solid black;
14
- font-weight: bold;
15
- cursor: pointer;
16
- *cursor: hand;
17
- }
18
-
19
- table.dataTable tfoot th {
20
- padding: 3px 18px 3px 10px;
21
- border-top: 1px solid black;
22
- font-weight: bold;
23
- }
24
-
25
- table.dataTable td {
26
- padding: 3px 10px;
27
- }
28
-
29
- table.dataTable td.center,
30
- table.dataTable td.dataTables_empty {
31
- text-align: center;
32
- }
33
-
34
- /*table.dataTable tr.odd { background-color: #E2E4FF; }
35
- table.dataTable tr.even { background-color: white; }
36
-
37
- table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
38
- table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
39
- table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
40
- table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
41
- table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
42
- table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
43
- */
44
-
45
- /*
46
- * Table wrapper
47
- */
48
- .dataTables_wrapper {
49
- position: relative;
50
- clear: both;
51
- *zoom: 1;
52
- }
53
-
54
-
55
- /*
56
- * Page length menu
57
- */
58
- .dataTables_length {
59
- float: left;
60
- }
61
-
62
-
63
- /*
64
- * Filter
65
- */
66
- .dataTables_filter {
67
- float: right;
68
- text-align: right;
69
- }
70
-
71
-
72
- /*
73
- * Table information
74
- */
75
- .dataTables_info {
76
- clear: both;
77
- float: left;
78
- }
79
-
80
-
81
- /*
82
- * Pagination
83
- */
84
- .dataTables_paginate {
85
- float: right;
86
- text-align: right;
87
- }
88
-
89
- /* Two button pagination - previous / next */
90
- .paginate_disabled_previous,
91
- .paginate_enabled_previous,
92
- .paginate_disabled_next,
93
- .paginate_enabled_next {
94
- height: 19px;
95
- float: left;
96
- cursor: pointer;
97
- *cursor: hand;
98
- color: #111 !important;
99
- }
100
- .paginate_disabled_previous:hover,
101
- .paginate_enabled_previous:hover,
102
- .paginate_disabled_next:hover,
103
- .paginate_enabled_next:hover {
104
- text-decoration: none !important;
105
- }
106
- .paginate_disabled_previous:active,
107
- .paginate_enabled_previous:active,
108
- .paginate_disabled_next:active,
109
- .paginate_enabled_next:active {
110
- outline: none;
111
- }
112
-
113
- .paginate_disabled_previous,
114
- .paginate_disabled_next {
115
- color: #666 !important;
116
- }
117
- .paginate_disabled_previous,
118
- .paginate_enabled_previous {
119
- padding-left: 23px;
120
- }
121
- .paginate_disabled_next,
122
- .paginate_enabled_next {
123
- padding-right: 23px;
124
- margin-left: 10px;
125
- }
126
-
127
- /*.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
128
- .paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
129
- .paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
130
-
131
- .paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
132
- .paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
133
- .paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }*/
134
-
135
- /* Full number pagination */
136
- .paging_full_numbers {
137
- height: 22px;
138
- line-height: 22px;
139
- }
140
- .paging_full_numbers a:active {
141
- outline: none
142
- }
143
- .paging_full_numbers a:hover {
144
- text-decoration: none;
145
- }
146
-
147
- .paging_full_numbers a.paginate_button,
148
- .paging_full_numbers a.paginate_active {
149
- border: 1px solid #aaa;
150
- -webkit-border-radius: 5px;
151
- -moz-border-radius: 5px;
152
- border-radius: 5px;
153
- padding: 2px 5px;
154
- margin: 0 3px;
155
- cursor: pointer;
156
- *cursor: hand;
157
- color: #333 !important;
158
- }
159
-
160
- .paging_full_numbers a.paginate_button {
161
- background-color: #ddd;
162
- }
163
-
164
- .paging_full_numbers a.paginate_button:hover {
165
- background-color: #ccc;
166
- text-decoration: none !important;
167
- }
168
-
169
- .paging_full_numbers a.paginate_active {
170
- background-color: #99B3FF;
171
- }
172
-
173
-
174
- /*
175
- * Processing indicator
176
- */
177
- .dataTables_processing {
178
- position: absolute;
179
- top: 50%;
180
- left: 50%;
181
- width: 250px;
182
- height: 30px;
183
- margin-left: -125px;
184
- margin-top: -15px;
185
- padding: 14px 0 2px 0;
186
- border: 1px solid #ddd;
187
- text-align: center;
188
- color: #999;
189
- font-size: 14px;
190
- background-color: white;
191
- }
192
-
193
-
194
- /*
195
- * Sorting
196
- */
197
- /*.sorting { background: url('../images/sort_both.png') no-repeat center right; }
198
- .sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; }
199
- .sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; }
200
-
201
- .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; }
202
- .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; }*/
203
-
204
- table.dataTable thead th:active,
205
- table.dataTable thead td:active {
206
- outline: none;
207
- }
208
-
209
-
210
- /*
211
- * Scrolling
212
- */
213
- .dataTables_scroll {
214
- clear: both;
215
- }
216
-
217
- .dataTables_scrollBody {
218
- *margin-top: -1px;
219
- -webkit-overflow-scrolling: touch;
220
- }
221
 
1
+ table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;*cursor:hand;background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("DataTables-1.10.18/images/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("DataTables-1.10.18/images/sort_asc.png")}table.dataTable thead .sorting_desc{background-image:url("DataTables-1.10.18/images/sort_desc.png")}table.dataTable thead .sorting_asc_disabled{background-image:url("DataTables-1.10.18/images/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("DataTables-1.10.18/images/sort_desc_disabled.png")}table.dataTable tbody tr{background-color:#ffffff}table.dataTable tbody tr.selected{background-color:#B0BED9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd}table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none}table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none}table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9}table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#acbad4}table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6}table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1}table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa}table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{margin-left:0.5em}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:0.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:-o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,.dataTables_wrapper.no-footer div.dataTables_scrollBody>table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:0.5em}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
assets/css/style.css CHANGED
@@ -2,10 +2,29 @@
2
  * The style of the woocommerce compare products
3
  */
4
 
5
- * {
6
- margin: 0;
7
- padding: 0;
 
 
 
 
 
 
8
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
  body {
11
  font-family: 'Open Sans', san-serif;
@@ -13,84 +32,110 @@ body {
13
  line-height: 1.51em;
14
  color: #747373;
15
  background: none !important;
 
16
  }
17
 
18
- table.compare-list {
19
- margin: 10px;
20
- table-layout: fixed;
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
 
23
- /* plugin fixedheadertable fix */
24
- table.compare-list thead, table.compare-list tfoot {
25
- display: none;
 
 
 
 
 
 
 
26
  }
27
 
28
- .table-wrapper {
 
 
 
 
 
 
 
 
29
  width: 100%;
 
 
 
 
30
  }
31
 
32
- table.compare-list thead th, h1 {
33
- background: #4F4F4F;
34
- color: #fff;
35
- font-weight: 800;
36
- padding: 6px 10px;
37
- border-bottom: 2px solid #fff;
38
- display: block;
39
- text-transform: uppercase;
40
- font-size: 1.076em;
 
 
41
  }
42
 
43
- table.compare-list thead th a.close, h1 a.close {
44
- float: right;
45
- margin-right: 10px;
46
- font-weight: 600;
47
- font-size: 0.9em;
48
- color: #fff;
49
- text-decoration: none;
50
  }
51
 
52
- table.compare-list th, table.compare-list td,
53
- table.compare-list th, table.compare-list .price.repeated td {
 
 
 
 
54
  padding: 10px;
 
55
  }
56
-
57
- table.compare-list th, table.compare-list td {
58
- border-bottom: 1px solid #D6D6D6;
59
  }
60
 
61
- table.compare-list tr.remove th, table.compare-list tr.remove td,
62
- table.compare-list tr.image th, table.compare-list tr.image td,
63
- table.compare-list tr.title th, table.compare-list tr.title td,
64
- table.compare-list tr.price th, table.compare-list tr.price td {
65
- border-bottom: 0;
66
- padding-bottom: 0;
67
  }
68
 
69
- table.compare-list tr.image th, table.compare-list tr.image td {
70
- height: 186px;
 
71
  }
72
 
73
- table.compare-list tr.image th, table.compare-list tr.image td,
74
- table.compare-list tr.title th, table.compare-list tr.title td,
75
- table.compare-list tr.price th, table.compare-list tr.price td {
76
- color: #333;
77
- text-transform: uppercase;
78
- font-size: 1.076em;
79
  }
80
 
81
- table.compare-list tr.image th, table.compare-list tr.image td,
82
- table.compare-list tr.price th, table.compare-list tr.price td,
83
- table.compare-list tr.add-to-cart th, table.compare-list tr.add-to-cart td {
84
- padding-top: 4px;
85
  }
86
 
87
- table.compare-list tr.image th,
88
- table.compare-list tr.title th,
89
- table.compare-list tr.price th,
90
- table.compare-list tr.add-to-cart th {
91
- text-indent: 150%;
92
- overflow: hidden;
93
- white-space: nowrap;
94
  }
95
 
96
  table.compare-list .remove td a {
@@ -155,29 +200,6 @@ table.compare-list .price td {
155
  text-decoration: underline;
156
  }
157
 
158
- table.compare-list th .fixed-th {
159
- width: 205px;
160
- }
161
-
162
- table.compare-list th {
163
- width: 205px;
164
- max-width: 205px;
165
- min-width: 205px;
166
- overflow: hidden;
167
- text-align: left;
168
- font-size: 1.076em;
169
- color: #333333;
170
- font-weight: 400;
171
- text-transform: uppercase;
172
- }
173
-
174
- table.compare-list td {
175
- width: 230px;
176
- max-width: 230px;
177
- min-width: 230px;
178
- text-align: center;
179
- }
180
-
181
  table.compare-list td.odd {
182
  background: #F7F7F7;
183
  }
@@ -194,98 +216,4 @@ table.compare-list td img {
194
  padding: 3px;
195
  margin-bottom: 20px;
196
  max-width: none;
197
- }
198
-
199
- /** Fixed Header Table Style */
200
- /*!
201
- * jquery.fixedHeaderTable. The jQuery fixedHeaderTable plugin
202
- *
203
- * Copyright (c) 2011 Mark Malek
204
- * http://fixedheadertable.com
205
- *
206
- * Licensed under MIT
207
- * http://www.opensource.org/licenses/mit-license.php
208
- *
209
- * http://docs.jquery.com/Plugins/Authoring
210
- * jQuery authoring guidelines
211
- *
212
- * Launch : October 2009
213
- * Version : 1.3
214
- * Released: May 9th, 2011
215
- *
216
- *
217
- * all CSS sizing (width,height) is done in pixels (px)
218
- */
219
-
220
- /* @group Reset */
221
-
222
- .fht-table,
223
- .fht-table thead,
224
- .fht-table tfoot,
225
- .fht-table tbody,
226
- .fht-table tr,
227
- .fht-table th,
228
- .fht-table td {
229
- /* position */
230
- margin: 0;
231
-
232
- /* size */
233
- padding: 0;
234
-
235
- /* text */
236
- font-size: 100%;
237
- font: inherit;
238
- vertical-align: top;
239
- }
240
-
241
- .fht-table {
242
- /* appearance */
243
- border-collapse: collapse;
244
- border-spacing: 0;
245
- }
246
-
247
- /* @end */
248
-
249
- /* @group Content */
250
-
251
- .fht-table-wrapper,
252
- .fht-table-wrapper .fht-thead,
253
- .fht-table-wrapper .fht-tfoot,
254
- .fht-table-wrapper .fht-fixed-column .fht-tbody,
255
- .fht-table-wrapper .fht-fixed-body .fht-tbody,
256
- .fht-table-wrapper .fht-tbody {
257
- /* appearance */
258
- overflow: hidden;
259
-
260
- /* position */
261
- position: relative;
262
- }
263
-
264
- .fht-table-wrapper .fht-fixed-body .fht-tbody,
265
- .fht-table-wrapper .fht-tbody {
266
- /* appearance */
267
- overflow: auto;
268
- }
269
-
270
- .fht-table-wrapper .fht-table .fht-cell {
271
- /* appearance */
272
- overflow: hidden;
273
-
274
- /* size */
275
- height: 1px;
276
- }
277
-
278
- .fht-table-wrapper .fht-fixed-column,
279
- .fht-table-wrapper .fht-fixed-body {
280
- /* position */
281
- top: 0;
282
- left: 0;
283
- position: absolute;
284
- }
285
-
286
- .fht-table-wrapper .fht-fixed-column {
287
- /* position */
288
- z-index: 1;
289
- }
290
-
291
- /* @end */
2
  * The style of the woocommerce compare products
3
  */
4
 
5
+ /* ###############
6
+ FIXED COLUMNS
7
+ ##############*/
8
+
9
+ table.DTFC_Cloned thead, table.DTFC_Cloned tfoot{
10
+ background-color:white;
11
+ }
12
+ div.DTFC_Blocker{
13
+ background-color:white;
14
  }
15
+ div.DTFC_LeftWrapper table.dataTable,
16
+ div.DTFC_RightWrapper table.dataTable{
17
+ margin-bottom:0;
18
+ z-index:2;
19
+ }
20
+ div.DTFC_LeftWrapper table.dataTable.no-footer,
21
+ div.DTFC_RightWrapper table.dataTable.no-footer{
22
+ border-bottom:none;
23
+ }
24
+
25
+ /*############################
26
+ * COMPARE
27
+ #############################*/
28
 
29
  body {
30
  font-family: 'Open Sans', san-serif;
32
  line-height: 1.51em;
33
  color: #747373;
34
  background: none !important;
35
+ margin: 0;
36
  }
37
 
38
+ body h1 {
39
+ background: #4F4F4F;
40
+ color: #fff;
41
+ font-weight: 800;
42
+ padding: 10px;
43
+ border-bottom: 2px solid #fff;
44
+ display: block;
45
+ text-transform: uppercase;
46
+ font-size: 1.076em;
47
+ margin: 0;
48
+ text-align: center;
49
+ }
50
+
51
+ body #yith-woocompare {
52
+ padding: 10px;
53
  }
54
 
55
+ table.dataTable.compare-list thead th,
56
+ table.dataTable.compare-list thead td,
57
+ table.dataTable.compare-list tfoot td,
58
+ table.dataTable.compare-list tfoot th {
59
+ border: 0;
60
+ vertical-align: middle;
61
+ }
62
+ .DTFC_LeftFootWrapper table.compare-list,
63
+ .DTFC_LeftHeadWrapper table.compare-list {
64
+ border: 0;
65
  }
66
 
67
+ table.compare-list td {
68
+ width: 220px;
69
+ max-width: 220px;
70
+ min-width: 220px;
71
+ text-align: center;
72
+ vertical-align: middle;
73
+ }
74
+
75
+ table.compare-list {
76
  width: 100%;
77
+ border-bottom: 0;
78
+ border-top: 0;
79
+ margin: 0;
80
+ table-layout: auto;
81
  }
82
 
83
+ table.compare-list tbody th {
84
+ width: 150px;
85
+ max-width: 150px;
86
+ min-width: 150px;
87
+ overflow: hidden;
88
+ text-align: left;
89
+ color: #333333;
90
+ background-color: #f2f2f2;
91
+ text-transform: uppercase;
92
+ font-weight: 700;
93
+ font-size: 14px;
94
  }
95
 
96
+ .rtl table.compare-list tbody th {
97
+ text-align: right;
 
 
 
 
 
98
  }
99
 
100
+ table.dataTable.compare-list tbody th,
101
+ table.dataTable.compare-list tbody td {
102
+ border-right: 1px solid #e7e7e7;
103
+ border-top: 1px solid #e7e7e7;
104
+ border-bottom: none;
105
+ border-left: none;
106
  padding: 10px;
107
+ vertical-align: middle;
108
  }
109
+ table.dataTable.compare-list tbody tr:last-child th,
110
+ table.dataTable.compare-list tbody tr:last-child td {
111
+ border-bottom: 1px solid #e7e7e7;
112
  }
113
 
114
+ table.compare-list tbody td.last-column {
115
+ width: auto;
116
+ border-right: 0;
 
 
 
117
  }
118
 
119
+ table.compare-list tr.image td,
120
+ table.compare-list tr.image th {
121
+ border-top: 0;
122
  }
123
 
124
+ #yith-woocompare-table_wrapper {
125
+ margin: 10px 0;
 
 
 
 
126
  }
127
 
128
+ table.dataTable.compare-list tbody .product_info td {
129
+ vertical-align: top;
 
 
130
  }
131
 
132
+ table.compare-list thead th a.close, h1 a.close {
133
+ float: right;
134
+ margin-right: 10px;
135
+ font-weight: 600;
136
+ font-size: 0.9em;
137
+ color: #fff;
138
+ text-decoration: none;
139
  }
140
 
141
  table.compare-list .remove td a {
200
  text-decoration: underline;
201
  }
202
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  table.compare-list td.odd {
204
  background: #F7F7F7;
205
  }
216
  padding: 3px;
217
  margin-bottom: 20px;
218
  max-width: none;
219
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/FixedColumns.min.js CHANGED
@@ -1,265 +1,35 @@
1
- /*
2
- * File: FixedColumns.min.js
3
- * Version: 2.0.3
4
- * Author: Allan Jardine (www.sprymedia.co.uk)
5
- *
6
- * Copyright 2010-2010 Allan Jardine, all rights reserved.
7
- *
8
- * This source file is free software, under either the GPL v2 license or a
9
- * BSD style license, available at:
10
- * http://datatables.net/license_gpl2
11
- * http://datatables.net/license_bsd
12
- *
13
- * This source file is distributed in the hope that it will be useful, but
14
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
- * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
16
- */
17
- /*
18
- GPL v2 or BSD 3 point style
19
- @contact www.sprymedia.co.uk/contact
20
-
21
- @copyright Copyright 2010-2011 Allan Jardine, all rights reserved.
22
-
23
- This source file is free software, under either the GPL v2 license or a
24
- BSD style license, available at:
25
- http://datatables.net/license_gpl2
26
- http://datatables.net/license_bsd
27
- */
28
- var FixedColumns;
29
- (function (b, q) {
30
- FixedColumns = function (a, e) {
31
- !this instanceof FixedColumns ? alert("FixedColumns warning: FixedColumns must be initialised with the 'new' keyword.") : ("undefined" == typeof e && (e = {}), this.s = {dt: a.fnSettings(), iTableColumns: a.fnSettings().aoColumns.length, aiWidths: [], bOldIE: b.browser.msie && ("6.0" == b.browser.version || "7.0" == b.browser.version)}, this.dom = {scroller: null, header: null, body: null, footer: null, grid: {wrapper: null, dt: null, left: {wrapper: null, head: null, body: null, foot: null}, right: {wrapper: null,
32
- head : null, body: null, foot: null}}, clone: {left: {header: null, body: null, footer: null}, right: {header: null, body: null, footer: null}}}, this.s.dt.oFixedColumns = this, this._fnConstruct(e))
33
- };
34
- FixedColumns.prototype = {fnUpdate: function () {
35
- this._fnDraw(!0)
36
- }, fnRedrawLayout : function () {
37
- this._fnGridLayout()
38
- }, fnRecalculateHeight : function (a) {
39
- a._DTTC_iHeight = null;
40
- a.style.height = "auto"
41
- }, fnSetRowHeight : function (a, e) {
42
- var c = b(a).children(":first"), c = c.outerHeight() - c.height();
43
- b.browser.mozilla || b.browser.opera ? a.style.height = e +
44
- "px" : b(a).children().height(e - c)
45
- }, _fnConstruct : function (a) {
46
- var e, c = this;
47
- if ("function" != typeof this.s.dt.oInstance.fnVersionCheck || !0 !== this.s.dt.oInstance.fnVersionCheck("1.8.0"))alert("FixedColumns " + FixedColumns.VERSION + " required DataTables 1.8.0 or later. Please upgrade your DataTables installation"); else if ("" === this.s.dt.oScroll.sX)this.s.dt.oInstance.oApi._fnLog(this.s.dt, 1, "FixedColumns is not needed (no x-scrolling in DataTables enabled), so no action will be taken. Use 'FixedHeader' for column fixing when scrolling is not enabled");
48
- else {
49
- this.s = b.extend(!0, this.s, FixedColumns.defaults, a);
50
- this.dom.grid.dt = b(this.s.dt.nTable).parents("div.dataTables_scroll")[0];
51
- this.dom.scroller = b("div.dataTables_scrollBody", this.dom.grid.dt)[0];
52
- var a = b(this.dom.grid.dt).width(), f = 0, g = 0;
53
- b("tbody>tr:eq(0)>td", this.s.dt.nTable).each(function (a) {
54
- e = b(this).outerWidth();
55
- c.s.aiWidths.push(e);
56
- a < c.s.iLeftColumns && (f += e);
57
- c.s.iTableColumns - c.s.iRightColumns <= a && (g += e)
58
- });
59
- null === this.s.iLeftWidth && (this.s.iLeftWidth = "fixed" == this.s.sLeftWidth ? f : 100 * (f / a));
60
- null === this.s.iRightWidth && (this.s.iRightWidth = "fixed" == this.s.sRightWidth ? g : 100 * (g / a));
61
- this._fnGridSetup();
62
- for (a = 0; a < this.s.iLeftColumns; a++)this.s.dt.oInstance.fnSetColumnVis(a, !1);
63
- for (a = this.s.iTableColumns - this.s.iRightColumns; a < this.s.iTableColumns; a++)this.s.dt.oInstance.fnSetColumnVis(a, !1);
64
- b(this.dom.scroller).scroll(function () {
65
- c.dom.grid.left.body.scrollTop = c.dom.scroller.scrollTop;
66
- if (c.s.iRightColumns > 0)c.dom.grid.right.body.scrollTop = c.dom.scroller.scrollTop
67
- });
68
- b(q).resize(function () {
69
- c._fnGridLayout.call(c)
70
- });
71
- var d = !0;
72
- this.s.dt.aoDrawCallback = [
73
- {fn : function () {
74
- c._fnDraw.call(c, d);
75
- c._fnGridHeight(c);
76
- d = false
77
- }, sName: "FixedColumns"}
78
- ].concat(this.s.dt.aoDrawCallback);
79
- this._fnGridLayout();
80
- this._fnGridHeight();
81
- this.s.dt.oInstance.fnDraw(!1)
82
- }
83
- }, _fnGridSetup : function () {
84
- this.dom.body = this.s.dt.nTable;
85
- this.dom.header = this.s.dt.nTHead.parentNode;
86
- this.dom.header.parentNode.parentNode.style.position = "relative";
87
- var alignment= "left";
88
- if(isRtl()) alignment = "right";
89
- var a = b('<div class="DTFC_ScrollWrapper" style="position:relative; clear:both;"><div class="DTFC_LeftWrapper" style="position:absolute; top:0; '+alignment+':0;"><div class="DTFC_LeftHeadWrapper" style="position:relative; top:0; '+alignment+':0; overflow:hidden;"></div><div class="DTFC_LeftBodyWrapper" style="position:relative; top:0; '+alignment+':0; overflow:hidden;"></div><div class="DTFC_LeftFootWrapper" style="position:relative; top:0; '+alignment+':0; overflow:hidden;"></div></div><div class="DTFC_RightWrapper" style="position:absolute; top:0; '+alignment+':0;"><div class="DTFC_RightHeadWrapper" style="position:relative; top:0; '+alignment+':0; overflow:hidden;"></div><div class="DTFC_RightBodyWrapper" style="position:relative; top:0; '+alignment+':0; overflow:hidden;"></div><div class="DTFC_RightFootWrapper" style="position:relative; top:0; '+alignment+':0; overflow:hidden;"></div></div></div>')[0];
90
- nLeft = a.childNodes[0];
91
- nRight = a.childNodes[1];
92
- this.dom.grid.wrapper = a;
93
- this.dom.grid.left.wrapper = nLeft;
94
- this.dom.grid.left.head = nLeft.childNodes[0];
95
- this.dom.grid.left.body = nLeft.childNodes[1];
96
- 0 < this.s.iRightColumns && (this.dom.grid.right.wrapper = nRight, this.dom.grid.right.head = nRight.childNodes[0], this.dom.grid.right.body = nRight.childNodes[1]);
97
- this.s.dt.nTFoot && (this.dom.footer = this.s.dt.nTFoot.parentNode, this.dom.grid.left.foot = nLeft.childNodes[2], 0 < this.s.iRightColumns && (this.dom.grid.right.foot = nRight.childNodes[2]));
98
- a.appendChild(nLeft);
99
- this.dom.grid.dt.parentNode.insertBefore(a, this.dom.grid.dt);
100
- a.appendChild(this.dom.grid.dt);
101
- this.dom.grid.dt.style.position = "absolute";
102
- this.dom.grid.dt.style.top = "0px";
103
- if(isRtl()) this.dom.grid.dt.style.right = this.s.iLeftWidth + "px";
104
- else this.dom.grid.dt.style.left = this.s.iLeftWidth + "px";
105
- this.dom.grid.dt.style.width = b(this.dom.grid.dt).width() - this.s.iLeftWidth - this.s.iRightWidth + "px"
106
- }, _fnGridLayout : function () {
107
- var a = this.dom.grid, e = b(a.wrapper).width(), c = 0, f = 0, c = "fixed" == this.s.sLeftWidth ? this.s.iLeftWidth : this.s.iLeftWidth / 100 * e, f = "fixed" == this.s.sRightWidth ?
108
- this.s.iRightWidth : this.s.iRightWidth / 100 * e;
109
- a.left.wrapper.style.width = c + "px";
110
- a.dt.style.width = e - c - f + "px";
111
- if(isRtl()) a.dt.style.right = c + "px";
112
- else a.dt.style.left = c + "px";
113
- 0 < this.s.iRightColumns && (a.right.wrapper.style.width = f + "px", a.right.wrapper.style.left = e - f + "px")
114
- }, _fnGridHeight : function () {
115
- var a = this.dom.grid, e = b(this.dom.grid.dt).height();
116
- a.wrapper.style.height = e + "px";
117
- a.left.body.style.height = b(this.dom.scroller).height() + "px";
118
- a.left.wrapper.style.height = e + "px";
119
- 0 < this.s.iRightColumns && (a.right.wrapper.style.height = e + "px", a.right.body.style.height =
120
- b(this.dom.scroller).height() + "px")
121
- }, _fnDraw : function (a) {
122
- this._fnCloneLeft(a);
123
- this._fnCloneRight(a);
124
- null !== this.s.fnDrawCallback && this.s.fnDrawCallback.call(this, this.dom.clone.left, this.dom.clone.right);
125
- b(this).trigger("draw", {leftClone: this.dom.clone.left, rightClone: this.dom.clone.right})
126
- }, _fnCloneRight : function (a) {
127
- if (!(0 >= this.s.iRightColumns)) {
128
- var b, c = [];
129
- for (b = this.s.iTableColumns - this.s.iRightColumns; b < this.s.iTableColumns; b++)c.push(b);
130
- this._fnClone(this.dom.clone.right, this.dom.grid.right,
131
- c, a)
132
- }
133
- }, _fnCloneLeft : function (a) {
134
- if (!(0 >= this.s.iLeftColumns)) {
135
- var b, c = [];
136
- for (b = 0; b < this.s.iLeftColumns; b++)c.push(b);
137
- this._fnClone(this.dom.clone.left, this.dom.grid.left, c, a)
138
- }
139
- }, _fnCopyLayout : function (a, e) {
140
- for (var c = [], f = [], g = [], d = 0, h = a.length; d < h; d++) {
141
- var i = [];
142
- i.nTr = b(a[d].nTr).clone(!0)[0];
143
- for (var k = 0, m = this.s.iTableColumns; k < m; k++)if (-1 !== b.inArray(k, e)) {
144
- var j = b.inArray(a[d][k].cell, g);
145
- -1 === j ? (j = b(a[d][k].cell).clone(!0)[0], f.push(j), g.push(a[d][k].cell), i.push({cell: j, unique: a[d][k].unique})) :
146
- i.push({cell: f[j], unique: a[d][k].unique})
147
- }
148
- c.push(i)
149
- }
150
- return c
151
- }, _fnClone : function (a, e, c, f) {
152
- var g = this, d, h, i, k, m, j, n;
153
- if (f) {
154
- null !== a.header && a.header.parentNode.removeChild(a.header);
155
- a.header = b(this.dom.header).clone(!0)[0];
156
- a.header.className += " DTFC_Cloned";
157
- a.header.style.width = "100%";
158
- e.head.appendChild(a.header);
159
- var l = this._fnCopyLayout(this.s.dt.aoHeader, c);
160
- k = b(">thead", a.header);
161
- k.empty();
162
- d = 0;
163
- for (h = l.length; d < h; d++)k[0].appendChild(l[d].nTr);
164
- this.s.dt.oApi._fnDrawHead(this.s.dt, l, !0)
165
- } else {
166
- var l = this._fnCopyLayout(this.s.dt.aoHeader,
167
- c), o = [];
168
- this.s.dt.oApi._fnDetectHeader(o, b(">thead", a.header)[0]);
169
- d = 0;
170
- for (h = l.length; d < h; d++) {
171
- i = 0;
172
- for (k = l[d].length; i < k; i++)o[d][i].cell.className = l[d][i].cell.className, b("span.DataTables_sort_icon", o[d][i].cell).each(function () {
173
- this.className = b("span.DataTables_sort_icon", l[d][i].cell)[0].className
174
- })
175
- }
176
- }
177
- this._fnEqualiseHeights("thead", this.dom.header, a.header);
178
- "auto" == this.s.sHeightMatch && b(">tbody>tr", g.dom.body).css("height", "auto");
179
- null !== a.body && (a.body.parentNode.removeChild(a.body), a.body = null);
180
- a.body = b(this.dom.body).clone(!0)[0];
181
- a.body.className += " DTFC_Cloned";
182
- a.body.style.paddingBottom = this.s.dt.oScroll.iBarWidth + "px";
183
- a.body.style.marginBottom = 2 * this.s.dt.oScroll.iBarWidth + "px";
184
- null !== a.body.getAttribute("id") && a.body.removeAttribute("id");
185
- b(">thead>tr", a.body).empty();
186
- b(">tfoot", a.body).remove();
187
- var p = b("tbody", a.body)[0];
188
- b(p).empty();
189
- if (0 < this.s.dt.aiDisplay.length) {
190
- h = b(">thead>tr", a.body)[0];
191
- for (n = 0; n < c.length; n++)m = c[n], j = this.s.dt.aoColumns[m].nTh, j.innerHTML = "", oStyle = j.style,
192
- oStyle.paddingTop = "0", oStyle.paddingBottom = "0", oStyle.borderTopWidth = "0", oStyle.borderBottomWidth = "0", oStyle.height = 0, oStyle.width = g.s.aiWidths[m] + "px", h.appendChild(j);
193
- b(">tbody>tr", g.dom.body).each(function (a) {
194
- var d = this.cloneNode(false), a = g.s.dt.oFeatures.bServerSide === false ? g.s.dt.aiDisplay[g.s.dt._iDisplayStart + a] : a;
195
- for (n = 0; n < c.length; n++) {
196
- m = c[n];
197
- if (typeof g.s.dt.aoData[a]._anHidden[m] != "undefined") {
198
- j = b(g.s.dt.aoData[a]._anHidden[m]).clone(true)[0];
199
- d.appendChild(j)
200
- }
201
- }
202
- p.appendChild(d)
203
- })
204
- } else b(">tbody>tr",
205
- g.dom.body).each(function () {
206
- j = this.cloneNode(true);
207
- j.className = j.className + " DTFC_NoData";
208
- b("td", j).html("");
209
- p.appendChild(j)
210
- });
211
- a.body.style.width = "100%";
212
- e.body.appendChild(a.body);
213
- this._fnEqualiseHeights("tbody", g.dom.body, a.body);
214
- if (null !== this.s.dt.nTFoot) {
215
- if (f) {
216
- null !== a.footer && a.footer.parentNode.removeChild(a.footer);
217
- a.footer = b(this.dom.footer).clone(!0)[0];
218
- a.footer.className += " DTFC_Cloned";
219
- a.footer.style.width = "100%";
220
- e.foot.appendChild(a.footer);
221
- l = this._fnCopyLayout(this.s.dt.aoFooter, c);
222
- e = b(">tfoot", a.footer);
223
- e.empty();
224
- d = 0;
225
- for (h = l.length; d < h; d++)e[0].appendChild(l[d].nTr);
226
- this.s.dt.oApi._fnDrawHead(this.s.dt, l, !0)
227
- } else {
228
- l = this._fnCopyLayout(this.s.dt.aoFooter, c);
229
- e = [];
230
- this.s.dt.oApi._fnDetectHeader(e, b(">tfoot", a.footer)[0]);
231
- d = 0;
232
- for (h = l.length; d < h; d++) {
233
- i = 0;
234
- for (k = l[d].length; i < k; i++)e[d][i].cell.className = l[d][i].cell.className
235
- }
236
- }
237
- this._fnEqualiseHeights("tfoot", this.dom.footer, a.footer)
238
- }
239
- h = this.s.dt.oApi._fnGetUniqueThs(this.s.dt, b(">thead", a.header)[0]);
240
- b(h).each(function (a) {
241
- m = c[a];
242
- this.style.width = g.s.aiWidths[m] + "px"
243
- });
244
- null !== g.s.dt.nTFoot && (h = this.s.dt.oApi._fnGetUniqueThs(this.s.dt, b(">tfoot", a.footer)[0]), b(h).each(function (a) {
245
- m = c[a];
246
- this.style.width = g.s.aiWidths[m] + "px"
247
- }))
248
- }, _fnGetTrNodes : function (a) {
249
- for (var b = [], c = 0, f = a.childNodes.length; c < f; c++)"TR" == a.childNodes[c].nodeName.toUpperCase() && b.push(a.childNodes[c]);
250
- return b
251
- }, _fnEqualiseHeights : function (a, e, c) {
252
- if (!("none" == this.s.sHeightMatch && "thead" !== a && "tfoot" !== a))for (var f, g, d = e.getElementsByTagName(a)[0], c = c.getElementsByTagName(a)[0],
253
- a = b(">" + a + ">tr:eq(0)", e).children(":first"), a = a.outerHeight() - a.height(), d = this._fnGetTrNodes(d), h = this._fnGetTrNodes(c), c = 0, e = h.length; c < e; c++)"semiauto" == this.s.sHeightMatch && "undefined" != typeof d[c]._DTTC_iHeight && null !== d[c]._DTTC_iHeight ? b.browser.msie && b(h[c]).children().height(d[c]._DTTC_iHeight - a) : (f = d[c].offsetHeight, g = h[c].offsetHeight, f = g > f ? g : f, "semiauto" == this.s.sHeightMatch && (d[c]._DTTC_iHeight = f), b.browser.msie && 8 > b.browser.version) ? (b(h[c]).children().height(f - a), b(d[c]).children().height(f -
254
- a)) : (h[c].style.height = f + "px", d[c].style.height = f + "px")
255
- }};
256
- FixedColumns.defaults = {iLeftColumns: 1, iRightColumns: 0, fnDrawCallback: null, sLeftWidth: "fixed", iLeftWidth: null, sRightWidth: "fixed", iRightWidth: null, sHeightMatch: "semiauto"};
257
- FixedColumns.prototype.CLASS = "FixedColumns";
258
- FixedColumns.VERSION = "2.0.3"
259
-
260
- function isRtl(){
261
- var attr_dir = window.parent.document.getElementsByTagName("html")[0].getAttribute("dir");
262
- return (attr_dir=="rtl");
263
- }
264
-
265
- })(jQuery, window, document);
1
+ /*!
2
+ FixedColumns 3.2.6
3
+ ©2010-2018 SpryMedia Ltd - datatables.net/license
4
+ */
5
+ (function(d){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(p){return d(p,window,document)}):"object"===typeof exports?module.exports=function(p,r){p||(p=window);if(!r||!r.fn.dataTable)r=require("datatables.net")(p,r).$;return d(r,p,p.document)}:d(jQuery,window,document)})(function(d,p,r,t){var s=d.fn.dataTable,u,m=function(a,b){var c=this;if(this instanceof m){if(b===t||!0===b)b={};var e=d.fn.dataTable.camelToHungarian;e&&(e(m.defaults,m.defaults,!0),e(m.defaults,
6
+ b));e=(new d.fn.dataTable.Api(a)).settings()[0];this.s={dt:e,iTableColumns:e.aoColumns.length,aiOuterWidths:[],aiInnerWidths:[],rtl:"rtl"===d(e.nTable).css("direction")};this.dom={scroller:null,header:null,body:null,footer:null,grid:{wrapper:null,dt:null,left:{wrapper:null,head:null,body:null,foot:null},right:{wrapper:null,head:null,body:null,foot:null}},clone:{left:{header:null,body:null,footer:null},right:{header:null,body:null,footer:null}}};if(e._oFixedColumns)throw"FixedColumns already initialised on this table";
7
+ e._oFixedColumns=this;e._bInitComplete?this._fnConstruct(b):e.oApi._fnCallbackReg(e,"aoInitComplete",function(){c._fnConstruct(b)},"FixedColumns")}else alert("FixedColumns warning: FixedColumns must be initialised with the 'new' keyword.")};d.extend(m.prototype,{fnUpdate:function(){this._fnDraw(!0)},fnRedrawLayout:function(){this._fnColCalc();this._fnGridLayout();this.fnUpdate()},fnRecalculateHeight:function(a){delete a._DTTC_iHeight;a.style.height="auto"},fnSetRowHeight:function(a,b){a.style.height=
8
+ b+"px"},fnGetPosition:function(a){var b=this.s.dt.oInstance;if(d(a).parents(".DTFC_Cloned").length){if("tr"===a.nodeName.toLowerCase())return a=d(a).index(),b.fnGetPosition(d("tr",this.s.dt.nTBody)[a]);var c=d(a).index(),a=d(a.parentNode).index();return[b.fnGetPosition(d("tr",this.s.dt.nTBody)[a]),c,b.oApi._fnVisibleToColumnIndex(this.s.dt,c)]}return b.fnGetPosition(a)},_fnConstruct:function(a){var b=this;if("function"!=typeof this.s.dt.oInstance.fnVersionCheck||!0!==this.s.dt.oInstance.fnVersionCheck("1.8.0"))alert("FixedColumns "+
9
+ m.VERSION+" required DataTables 1.8.0 or later. Please upgrade your DataTables installation");else if(""===this.s.dt.oScroll.sX)this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"FixedColumns is not needed (no x-scrolling in DataTables enabled), so no action will be taken. Use 'FixedHeader' for column fixing when scrolling is not enabled");else{this.s=d.extend(!0,this.s,m.defaults,a);a=this.s.dt.oClasses;this.dom.grid.dt=d(this.s.dt.nTable).parents("div."+a.sScrollWrapper)[0];this.dom.scroller=d("div."+
10
+ a.sScrollBody,this.dom.grid.dt)[0];this._fnColCalc();this._fnGridSetup();var c,e=!1;d(this.s.dt.nTableWrapper).on("mousedown.DTFC",function(a){0===a.button&&(e=!0,d(r).one("mouseup",function(){e=!1}))});d(this.dom.scroller).on("mouseover.DTFC touchstart.DTFC",function(){e||(c="main")}).on("scroll.DTFC",function(a){!c&&a.originalEvent&&(c="main");if("main"===c&&(0<b.s.iLeftColumns&&(b.dom.grid.left.liner.scrollTop=b.dom.scroller.scrollTop),0<b.s.iRightColumns))b.dom.grid.right.liner.scrollTop=b.dom.scroller.scrollTop});
11
+ var f="onwheel"in r.createElement("div")?"wheel.DTFC":"mousewheel.DTFC";if(0<b.s.iLeftColumns)d(b.dom.grid.left.liner).on("mouseover.DTFC touchstart.DTFC",function(){e||(c="left")}).on("scroll.DTFC",function(a){!c&&a.originalEvent&&(c="left");"left"===c&&(b.dom.scroller.scrollTop=b.dom.grid.left.liner.scrollTop,0<b.s.iRightColumns&&(b.dom.grid.right.liner.scrollTop=b.dom.grid.left.liner.scrollTop))}).on(f,function(a){b.dom.scroller.scrollLeft-="wheel"===a.type?-a.originalEvent.deltaX:a.originalEvent.wheelDeltaX});
12
+ if(0<b.s.iRightColumns)d(b.dom.grid.right.liner).on("mouseover.DTFC touchstart.DTFC",function(){e||(c="right")}).on("scroll.DTFC",function(a){!c&&a.originalEvent&&(c="right");"right"===c&&(b.dom.scroller.scrollTop=b.dom.grid.right.liner.scrollTop,0<b.s.iLeftColumns&&(b.dom.grid.left.liner.scrollTop=b.dom.grid.right.liner.scrollTop))}).on(f,function(a){b.dom.scroller.scrollLeft-="wheel"===a.type?-a.originalEvent.deltaX:a.originalEvent.wheelDeltaX});d(p).on("resize.DTFC",function(){b._fnGridLayout.call(b)});
13
+ var g=!0,h=d(this.s.dt.nTable);h.on("draw.dt.DTFC",function(){b._fnColCalc();b._fnDraw.call(b,g);g=!1}).on("column-sizing.dt.DTFC",function(){b._fnColCalc();b._fnGridLayout(b)}).on("column-visibility.dt.DTFC",function(a,c,d,e,f){if(f===t||f)b._fnColCalc(),b._fnGridLayout(b),b._fnDraw(!0)}).on("select.dt.DTFC deselect.dt.DTFC",function(a){"dt"===a.namespace&&b._fnDraw(!1)}).on("destroy.dt.DTFC",function(){h.off(".DTFC");d(b.dom.scroller).off(".DTFC");d(p).off(".DTFC");d(b.s.dt.nTableWrapper).off(".DTFC");
14
+ d(b.dom.grid.left.liner).off(".DTFC "+f);d(b.dom.grid.left.wrapper).remove();d(b.dom.grid.right.liner).off(".DTFC "+f);d(b.dom.grid.right.wrapper).remove()});this._fnGridLayout();this.s.dt.oInstance.fnDraw(!1)}},_fnColCalc:function(){var a=this,b=0,c=0;this.s.aiInnerWidths=[];this.s.aiOuterWidths=[];d.each(this.s.dt.aoColumns,function(e,f){var g=d(f.nTh),h;if(g.filter(":visible").length){var i=g.outerWidth();0===a.s.aiOuterWidths.length&&(h=d(a.s.dt.nTable).css("border-left-width"),i+="string"===
15
+ typeof h&&-1===h.indexOf("px")?1:parseInt(h,10));a.s.aiOuterWidths.length===a.s.dt.aoColumns.length-1&&(h=d(a.s.dt.nTable).css("border-right-width"),i+="string"===typeof h&&-1===h.indexOf("px")?1:parseInt(h,10));a.s.aiOuterWidths.push(i);a.s.aiInnerWidths.push(g.width());e<a.s.iLeftColumns&&(b+=i);a.s.iTableColumns-a.s.iRightColumns<=e&&(c+=i)}else a.s.aiInnerWidths.push(0),a.s.aiOuterWidths.push(0)});this.s.iLeftWidth=b;this.s.iRightWidth=c},_fnGridSetup:function(){var a=this._fnDTOverflow(),b;this.dom.body=
16
+ this.s.dt.nTable;this.dom.header=this.s.dt.nTHead.parentNode;this.dom.header.parentNode.parentNode.style.position="relative";var c=d('<div class="DTFC_ScrollWrapper" style="position:relative; clear:both;"><div class="DTFC_LeftWrapper" style="position:absolute; top:0; left:0;" aria-hidden="true"><div class="DTFC_LeftHeadWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div><div class="DTFC_LeftBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_LeftBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_LeftFootWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div></div><div class="DTFC_RightWrapper" style="position:absolute; top:0; right:0;" aria-hidden="true"><div class="DTFC_RightHeadWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightHeadBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div><div class="DTFC_RightBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_RightBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_RightFootWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightFootBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div></div></div>')[0],
17
+ e=c.childNodes[0],f=c.childNodes[1];this.dom.grid.dt.parentNode.insertBefore(c,this.dom.grid.dt);c.appendChild(this.dom.grid.dt);this.dom.grid.wrapper=c;0<this.s.iLeftColumns&&(this.dom.grid.left.wrapper=e,this.dom.grid.left.head=e.childNodes[0],this.dom.grid.left.body=e.childNodes[1],this.dom.grid.left.liner=d("div.DTFC_LeftBodyLiner",c)[0],c.appendChild(e));0<this.s.iRightColumns&&(this.dom.grid.right.wrapper=f,this.dom.grid.right.head=f.childNodes[0],this.dom.grid.right.body=f.childNodes[1],this.dom.grid.right.liner=
18
+ d("div.DTFC_RightBodyLiner",c)[0],f.style.right=a.bar+"px",b=d("div.DTFC_RightHeadBlocker",c)[0],b.style.width=a.bar+"px",b.style.right=-a.bar+"px",this.dom.grid.right.headBlock=b,b=d("div.DTFC_RightFootBlocker",c)[0],b.style.width=a.bar+"px",b.style.right=-a.bar+"px",this.dom.grid.right.footBlock=b,c.appendChild(f));if(this.s.dt.nTFoot&&(this.dom.footer=this.s.dt.nTFoot.parentNode,0<this.s.iLeftColumns&&(this.dom.grid.left.foot=e.childNodes[2]),0<this.s.iRightColumns))this.dom.grid.right.foot=f.childNodes[2];
19
+ this.s.rtl&&d("div.DTFC_RightHeadBlocker",c).css({left:-a.bar+"px",right:""})},_fnGridLayout:function(){var a=this,b=this.dom.grid;d(b.wrapper).width();var c=this.s.dt.nTable.parentNode.offsetHeight,e=this.s.dt.nTable.parentNode.parentNode.offsetHeight,f=this._fnDTOverflow(),g=this.s.iLeftWidth,h=this.s.iRightWidth,i="rtl"===d(this.dom.body).css("direction"),j=function(b,c){f.bar?a._firefoxScrollError()?34<d(b).height()&&(b.style.width=c+f.bar+"px"):b.style.width=c+f.bar+"px":(b.style.width=c+20+
20
+ "px",b.style.paddingRight="20px",b.style.boxSizing="border-box")};f.x&&(c-=f.bar);b.wrapper.style.height=e+"px";0<this.s.iLeftColumns&&(e=b.left.wrapper,e.style.width=g+"px",e.style.height="1px",i?(e.style.left="",e.style.right=0):(e.style.left=0,e.style.right=""),b.left.body.style.height=c+"px",b.left.foot&&(b.left.foot.style.top=(f.x?f.bar:0)+"px"),j(b.left.liner,g),b.left.liner.style.height=c+"px",b.left.liner.style.maxHeight=c+"px");0<this.s.iRightColumns&&(e=b.right.wrapper,e.style.width=h+"px",
21
+ e.style.height="1px",this.s.rtl?(e.style.left=f.y?f.bar+"px":0,e.style.right=""):(e.style.left="",e.style.right=f.y?f.bar+"px":0),b.right.body.style.height=c+"px",b.right.foot&&(b.right.foot.style.top=(f.x?f.bar:0)+"px"),j(b.right.liner,h),b.right.liner.style.height=c+"px",b.right.liner.style.maxHeight=c+"px",b.right.headBlock.style.display=f.y?"block":"none",b.right.footBlock.style.display=f.y?"block":"none")},_fnDTOverflow:function(){var a=this.s.dt.nTable,b=a.parentNode,c={x:!1,y:!1,bar:this.s.dt.oScroll.iBarWidth};
22
+ a.offsetWidth>b.clientWidth&&(c.x=!0);a.offsetHeight>b.clientHeight&&(c.y=!0);return c},_fnDraw:function(a){this._fnGridLayout();this._fnCloneLeft(a);this._fnCloneRight(a);null!==this.s.fnDrawCallback&&this.s.fnDrawCallback.call(this,this.dom.clone.left,this.dom.clone.right);d(this).trigger("draw.dtfc",{leftClone:this.dom.clone.left,rightClone:this.dom.clone.right})},_fnCloneRight:function(a){if(!(0>=this.s.iRightColumns)){var b,c=[];for(b=this.s.iTableColumns-this.s.iRightColumns;b<this.s.iTableColumns;b++)this.s.dt.aoColumns[b].bVisible&&
23
+ c.push(b);this._fnClone(this.dom.clone.right,this.dom.grid.right,c,a)}},_fnCloneLeft:function(a){if(!(0>=this.s.iLeftColumns)){var b,c=[];for(b=0;b<this.s.iLeftColumns;b++)this.s.dt.aoColumns[b].bVisible&&c.push(b);this._fnClone(this.dom.clone.left,this.dom.grid.left,c,a)}},_fnCopyLayout:function(a,b,c){for(var e=[],f=[],g=[],h=0,i=a.length;h<i;h++){var j=[];j.nTr=d(a[h].nTr).clone(c,!1)[0];for(var l=0,o=this.s.iTableColumns;l<o;l++)if(-1!==d.inArray(l,b)){var q=d.inArray(a[h][l].cell,g);-1===q?(q=
24
+ d(a[h][l].cell).clone(c,!1)[0],f.push(q),g.push(a[h][l].cell),j.push({cell:q,unique:a[h][l].unique})):j.push({cell:f[q],unique:a[h][l].unique})}e.push(j)}return e},_fnClone:function(a,b,c,e){var f=this,g,h,i,j,l,o,q,n,m,k=this.s.dt;if(e){d(a.header).remove();a.header=d(this.dom.header).clone(!0,!1)[0];a.header.className+=" DTFC_Cloned";a.header.style.width="100%";b.head.appendChild(a.header);n=this._fnCopyLayout(k.aoHeader,c,!0);j=d(">thead",a.header);j.empty();g=0;for(h=n.length;g<h;g++)j[0].appendChild(n[g].nTr);
25
+ k.oApi._fnDrawHead(k,n,!0)}else{n=this._fnCopyLayout(k.aoHeader,c,!1);m=[];k.oApi._fnDetectHeader(m,d(">thead",a.header)[0]);g=0;for(h=n.length;g<h;g++){i=0;for(j=n[g].length;i<j;i++)m[g][i].cell.className=n[g][i].cell.className,d("span.DataTables_sort_icon",m[g][i].cell).each(function(){this.className=d("span.DataTables_sort_icon",n[g][i].cell)[0].className})}}this._fnEqualiseHeights("thead",this.dom.header,a.header);"auto"==this.s.sHeightMatch&&d(">tbody>tr",f.dom.body).css("height","auto");null!==
26
+ a.body&&(d(a.body).remove(),a.body=null);a.body=d(this.dom.body).clone(!0)[0];a.body.className+=" DTFC_Cloned";a.body.style.paddingBottom=k.oScroll.iBarWidth+"px";a.body.style.marginBottom=2*k.oScroll.iBarWidth+"px";null!==a.body.getAttribute("id")&&a.body.removeAttribute("id");d(">thead>tr",a.body).empty();d(">tfoot",a.body).remove();var p=d("tbody",a.body)[0];d(p).empty();if(0<k.aiDisplay.length){h=d(">thead>tr",a.body)[0];for(q=0;q<c.length;q++)l=c[q],o=d(k.aoColumns[l].nTh).clone(!0)[0],o.innerHTML=
27
+ "",j=o.style,j.paddingTop="0",j.paddingBottom="0",j.borderTopWidth="0",j.borderBottomWidth="0",j.height=0,j.width=f.s.aiInnerWidths[l]+"px",h.appendChild(o);d(">tbody>tr",f.dom.body).each(function(a){var a=f.s.dt.oFeatures.bServerSide===false?f.s.dt.aiDisplay[f.s.dt._iDisplayStart+a]:a,b=f.s.dt.aoData[a].anCells||d(this).children("td, th"),e=this.cloneNode(false);e.removeAttribute("id");e.setAttribute("data-dt-row",a);for(q=0;q<c.length;q++){l=c[q];if(b.length>0){o=d(b[l]).clone(true,true)[0];o.removeAttribute("id");
28
+ o.setAttribute("data-dt-row",a);o.setAttribute("data-dt-column",l);e.appendChild(o)}}p.appendChild(e)})}else d(">tbody>tr",f.dom.body).each(function(){o=this.cloneNode(true);o.className=o.className+" DTFC_NoData";d("td",o).html("");p.appendChild(o)});a.body.style.width="100%";a.body.style.margin="0";a.body.style.padding="0";k.oScroller!==t&&(h=k.oScroller.dom.force,b.forcer?b.forcer.style.height=h.style.height:(b.forcer=h.cloneNode(!0),b.liner.appendChild(b.forcer)));b.liner.appendChild(a.body);this._fnEqualiseHeights("tbody",
29
+ f.dom.body,a.body);if(null!==k.nTFoot){if(e){null!==a.footer&&a.footer.parentNode.removeChild(a.footer);a.footer=d(this.dom.footer).clone(!0,!0)[0];a.footer.className+=" DTFC_Cloned";a.footer.style.width="100%";b.foot.appendChild(a.footer);n=this._fnCopyLayout(k.aoFooter,c,!0);b=d(">tfoot",a.footer);b.empty();g=0;for(h=n.length;g<h;g++)b[0].appendChild(n[g].nTr);k.oApi._fnDrawHead(k,n,!0)}else{n=this._fnCopyLayout(k.aoFooter,c,!1);b=[];k.oApi._fnDetectHeader(b,d(">tfoot",a.footer)[0]);g=0;for(h=n.length;g<
30
+ h;g++){i=0;for(j=n[g].length;i<j;i++)b[g][i].cell.className=n[g][i].cell.className}}this._fnEqualiseHeights("tfoot",this.dom.footer,a.footer)}b=k.oApi._fnGetUniqueThs(k,d(">thead",a.header)[0]);d(b).each(function(a){l=c[a];this.style.width=f.s.aiInnerWidths[l]+"px"});null!==f.s.dt.nTFoot&&(b=k.oApi._fnGetUniqueThs(k,d(">tfoot",a.footer)[0]),d(b).each(function(a){l=c[a];this.style.width=f.s.aiInnerWidths[l]+"px"}))},_fnGetTrNodes:function(a){for(var b=[],c=0,d=a.childNodes.length;c<d;c++)"TR"==a.childNodes[c].nodeName.toUpperCase()&&
31
+ b.push(a.childNodes[c]);return b},_fnEqualiseHeights:function(a,b,c){if(!("none"==this.s.sHeightMatch&&"thead"!==a&&"tfoot"!==a)){var e,f,g=b.getElementsByTagName(a)[0],c=c.getElementsByTagName(a)[0],a=d(">"+a+">tr:eq(0)",b).children(":first");a.outerHeight();a.height();for(var g=this._fnGetTrNodes(g),b=this._fnGetTrNodes(c),h=[],c=0,a=b.length;c<a;c++)e=g[c].offsetHeight,f=b[c].offsetHeight,e=f>e?f:e,"semiauto"==this.s.sHeightMatch&&(g[c]._DTTC_iHeight=e),h.push(e);c=0;for(a=b.length;c<a;c++)b[c].style.height=
32
+ h[c]+"px",g[c].style.height=h[c]+"px"}},_firefoxScrollError:function(){if(u===t){var a=d("<div/>").css({position:"absolute",top:0,left:0,height:10,width:50,overflow:"scroll"}).appendTo("body");u=a[0].clientWidth===a[0].offsetWidth&&0!==this._fnDTOverflow().bar;a.remove()}return u}});m.defaults={iLeftColumns:1,iRightColumns:0,fnDrawCallback:null,sHeightMatch:"semiauto"};m.version="3.2.6";s.Api.register("fixedColumns()",function(){return this});s.Api.register("fixedColumns().update()",function(){return this.iterator("table",
33
+ function(a){a._oFixedColumns&&a._oFixedColumns.fnUpdate()})});s.Api.register("fixedColumns().relayout()",function(){return this.iterator("table",function(a){a._oFixedColumns&&a._oFixedColumns.fnRedrawLayout()})});s.Api.register("rows().recalcHeight()",function(){return this.iterator("row",function(a,b){a._oFixedColumns&&a._oFixedColumns.fnRecalculateHeight(this.row(b).node())})});s.Api.register("fixedColumns().rowIndex()",function(a){a=d(a);return a.parents(".DTFC_Cloned").length?this.rows({page:"current"}).indexes()[a.index()]:
34
+ this.row(a).index()});s.Api.register("fixedColumns().cellIndex()",function(a){a=d(a);if(a.parents(".DTFC_Cloned").length){var b=a.parent().index(),b=this.rows({page:"current"}).indexes()[b],a=a.parents(".DTFC_LeftWrapper").length?a.index():this.columns().flatten().length-this.context[0]._oFixedColumns.s.iRightColumns+a.index();return{row:b,column:this.column.index("toData",a),columnVisible:a}}return this.cell(a).index()});d(r).on("init.dt.fixedColumns",function(a,b){if("dt"===a.namespace){var c=b.oInit.fixedColumns,
35
+ e=s.defaults.fixedColumns;if(c||e)e=d.extend({},c,e),!1!==c&&new m(b,e)}});d.fn.dataTable.FixedColumns=m;return d.fn.DataTable.FixedColumns=m});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/imagesloaded.pkgd.min.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*!
2
+ * imagesLoaded PACKAGED v3.1.8
3
+ * JavaScript is all like "You images are done yet or what?"
4
+ * MIT License
5
+ */
6
+
7
+ (function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
assets/js/jquery.colorbox-min.js CHANGED
@@ -1,7 +1,6 @@
1
  /*!
2
- Colorbox v1.5.10 - 2014-06-26
3
- jQuery lightbox and modal window plugin
4
- (c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox
5
- license: http://www.opensource.org/licenses/mit-license.php
6
  */
7
- (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(z+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in y[0]&&!y[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),y.focus())}function c(t){c.str!==t&&(y.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){z=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),z=W.index(_.el),-1===z&&(W=W.add(_.el),z=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!$){$=q=!0,c(_.get("className")),y.css({visibility:"hidden",display:"block",opacity:""}),L=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(L),D=T.height()+k.height()+b.outerHeight(!0)-b.height(),j=C.width()+H.width()+b.outerWidth(!0)-b.width(),A=L.outerHeight(!0),N=L.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=(l!==!1?Math.min(h,a(l,"x")):h)-N-j,_.h=(f!==!1?Math.min(s,a(f,"y")):s)-A-D,L.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(I).hide(),y.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}v.css({opacity:parseFloat(_.get("opacity"))||"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){!y&&e.body&&(V=!1,E=t(i),y=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),S=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),x=n(se,"Wrapper"),b=n(se,"Content").append(I=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),F=n("button","Slideshow"),S),B=t('<button type="button"/>').attr({id:Z+"Close"}),x.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(F),t(e.body).append(v,y.append(x,M)))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return y?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;$&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),$&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if(q=!0,U=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-A-D:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-N-j:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-N-j,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-A-D,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){S.show()},100),_.get("inline")){var c=t(e);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),U=new Image,t(U).addClass(Z+"Photo").bind("error",function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;t.each(["alt","longdesc","aria-describedby"],function(e,i){var n=t(_.el).attr(i)||t(_.el).attr("data-"+i);n&&U.setAttribute(i,n)}),_.get("retinaImage")&&i.devicePixelRatio>1&&(U.height=U.height/i.devicePixelRatio,U.width=U.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){U.height-=U.height*e,U.width-=U.width*e},_.mw&&U.width>_.mw&&(e=(U.width-_.mw)/U.width,o()),_.mh&&U.height>_.mh&&(e=(U.height-_.mh)/U.height,o())),_.h&&(U.style.marginTop=Math.max(_.mh-U.height,0)/2+"px"),W[1]&&(_.get("loop")||W[z+1])&&(U.style.cursor="pointer",U.onclick=function(){J.next()}),U.style.width=U.width+"px",U.style.height=U.height+"px",h(U)},1)}),U.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,y,x,b,T,C,H,k,W,E,L,M,S,I,R,F,K,P,B,O,_,D,j,A,N,z,U,$,q,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[z+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){F.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),y.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),F.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),y.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,F.hide(),t(),ae.unbind(ne,e).unbind(ie,t),y.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),F.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;if(e=e||{},t.isFunction(o))o=t("<a/>"),e.open=!0;else if(!o[0])return o;return o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(y[0].style.width,10)-j+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(y[0].style.height,10)-D+"px"}var r,h,s,l=0,d=0,c=y.offset();if(E.unbind("resize."+Z),y.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,y.css({position:"fixed"})):(l=h,d=s,y.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-N-j-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-N-j,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-A-D-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-A-D,0)/2),y.css({top:c.top,left:c.left,visibility:"visible"}),x[0].style.width=x[0].style.height="9999px",r={width:_.w+N+j,height:_.h+A+D,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||y.css(r),y.dequeue().animate(r,{duration:e||0,complete:function(){n(),q=!1,x[0].style.width=_.w+N+j+"px",x[0].style.height=_.h+A+D+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),i&&i()},step:n})},J.resize=function(t){var e;$&&(t=t||{},t.width&&(_.w=a(t.width,"x")-N-j),t.innerWidth&&(_.w=a(t.innerWidth,"x")),L.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-A-D),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=L.scrollTop(),L.css({height:"auto"}),_.h=L.height()),L.css({height:_.h}),e&&L.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||L.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||L.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if($){var d,g="none"===_.get("transition")?0:_.get("speed");L.remove(),L=n(se,"LoadedContent").append(i),L.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(U).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&y[0].style.removeAttribute("filter")}var n,o,a=W.length;$&&(o=function(){clearTimeout(Q),S.hide(),u(ne),_.get("onComplete")},I.html(_.get("title")).show(),L.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",z+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>z?"show":"hide"]().html(_.get("next")),P[_.get("loop")||z?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=e.createElement("iframe"),"frameBorder"in n&&(n.frameBorder=0),"allowTransparency"in n&&(n.allowTransparency="true"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),name:(new Date).getTime(),"class":Z+"Iframe",allowFullScreen:!0}).one("load",o).appendTo(L),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?y.fadeTo(g,1,i):i())},"fade"===_.get("transition")?y.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!q&&W[1]&&(_.get("loop")||W[z+1])&&(z=h(1),f(W[z]))},J.prev=function(){!q&&W[1]&&(_.get("loop")||z)&&(z=h(-1),f(W[z]))},J.close=function(){$&&!G&&(G=!0,$=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),y.stop().fadeTo(_.get("fadeOut")||0,0,function(){y.hide(),v.hide(),u(he),L.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){y&&(y.stop(),t[Y].close(),y.stop(!1,!0).remove(),v.remove(),G=!1,y=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
1
  /*!
2
+ Colorbox 1.6.1
3
+ license: MIT
4
+ http://www.jacklmoore.com/colorbox
 
5
  */
6
+ (function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in y[0]&&!y[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),y.focus())}function c(t){c.str!==t&&(y.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!$){$=q=!0,c(_.get("className")),y.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=(l!==!1?Math.min(h,a(l,"x")):h)-z-D,_.h=(f!==!1?Math.min(s,a(f,"y")):s)-N-j,I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(S).hide(),y.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){y||(V=!1,E=t(i),y=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),M=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),x=n(se,"Wrapper"),b=n(se,"Content").append(S=n(se,"Title"),F=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),R=n("button","Slideshow"),M),B=t('<button type="button"/>').attr({id:Z+"Close"}),x.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),L=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(F).add(R)),e.body&&!y.parent().length&&t(e.body).append(v,y.append(x,L))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return y?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;$&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),$&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if(q=!0,U=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){M.show()},100),_.get("inline")){var c=t(e);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),U=_.get("createImg"),t(U).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(U.height=U.height/i.devicePixelRatio,U.width=U.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){U.height-=U.height*e,U.width-=U.width*e},_.mw&&U.width>_.mw&&(e=(U.width-_.mw)/U.width,o()),_.mh&&U.height>_.mh&&(e=(U.height-_.mh)/U.height,o())),_.h&&(U.style.marginTop=Math.max(_.mh-U.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(U.style.cursor="pointer",t(U).bind("click."+Z,function(){J.next()})),U.style.width=U.width+"px",U.style.height=U.height+"px",h(U)},1)}),U.src=e):e&&L.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,y,x,b,T,C,H,k,W,E,I,L,M,S,F,R,K,P,B,O,_,j,D,N,z,A,U,$,q,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullScreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){R.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),y.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),R.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),y.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,R.hide(),t(),ae.unbind(ne,e).unbind(ie,t),y.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),R.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(y[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(y[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=y.offset();if(E.unbind("resize."+Z),y.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,y.css({position:"fixed"})):(l=h,d=s,y.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),y.css({top:c.top,left:c.left,visibility:"visible"}),x[0].style.width=x[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||y.css(r),y.dequeue().animate(r,{duration:e||0,complete:function(){n(),q=!1,x[0].style.width=_.w+z+D+"px",x[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;$&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if($){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(L.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),L.hide(),t(U).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&y[0].style.removeAttribute("filter")}var n,o,a=W.length;$&&(o=function(){clearTimeout(Q),M.hide(),u(ne),_.get("onComplete")},S.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&F.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?y.fadeTo(g,1,i):i())},"fade"===_.get("transition")?y.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!q&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!q&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){$&&!G&&(G=!0,$=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),y.stop().fadeTo(_.get("fadeOut")||0,0,function(){y.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){y&&(y.stop(),t[Y].close(),y.stop(!1,!0).remove(),v.remove(),G=!1,y=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
assets/js/jquery.dataTables.min.js CHANGED
@@ -1,1925 +1,166 @@
1
- /*
2
- * File: jquery.dataTables.min.js
3
- * Version: 1.9.4
4
- * Author: Allan Jardine (www.sprymedia.co.uk)
5
- * Info: www.datatables.net
6
- *
7
- * Copyright 2008-2012 Allan Jardine, all rights reserved.
8
- *
9
- * This source file is free software, under either the GPL v2 license or a
10
- * BSD style license, available at:
11
- * http://datatables.net/license_gpl2
12
- * http://datatables.net/license_bsd
13
- *
14
- * This source file is distributed in the hope that it will be useful, but
15
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
- * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
17
- */
18
- (function (X, l, n) {
19
- var L = function (h) {
20
- var j = function (e) {
21
- function o(a, b) {
22
- var c = j.defaults.columns, d = a.aoColumns.length, c = h.extend({}, j.models.oColumn, c, {sSortingClass: a.oClasses.sSortable, sSortingClassJUI: a.oClasses.sSortJUI, nTh: b ? b : l.createElement("th"), sTitle: c.sTitle ? c.sTitle : b ? b.innerHTML : "", aDataSort: c.aDataSort ? c.aDataSort : [d], mData: c.mData ? c.oDefaults : d});
23
- a.aoColumns.push(c);
24
- if (a.aoPreSearchCols[d] === n || null === a.aoPreSearchCols[d])a.aoPreSearchCols[d] = h.extend({}, j.models.oSearch); else if (c = a.aoPreSearchCols[d],
25
- c.bRegex === n && (c.bRegex = !0), c.bSmart === n && (c.bSmart = !0), c.bCaseInsensitive === n)c.bCaseInsensitive = !0;
26
- m(a, d, null)
27
- }
28
-
29
- function m(a, b, c) {
30
- var d = a.aoColumns[b];
31
- c !== n && null !== c && (c.mDataProp && !c.mData && (c.mData = c.mDataProp), c.sType !== n && (d.sType = c.sType, d._bAutoType = !1), h.extend(d, c), p(d, c, "sWidth", "sWidthOrig"), c.iDataSort !== n && (d.aDataSort = [c.iDataSort]), p(d, c, "aDataSort"));
32
- var i = d.mRender ? Q(d.mRender) : null, f = Q(d.mData);
33
- d.fnGetData = function (a, b) {
34
- var c = f(a, b);
35
- return d.mRender && b && "" !== b ? i(c, b, a) : c
36
- };
37
- d.fnSetData =
38
- L(d.mData);
39
- a.oFeatures.bSort || (d.bSortable = !1);
40
- !d.bSortable || -1 == h.inArray("asc", d.asSorting) && -1 == h.inArray("desc", d.asSorting) ? (d.sSortingClass = a.oClasses.sSortableNone, d.sSortingClassJUI = "") : -1 == h.inArray("asc", d.asSorting) && -1 == h.inArray("desc", d.asSorting) ? (d.sSortingClass = a.oClasses.sSortable, d.sSortingClassJUI = a.oClasses.sSortJUI) : -1 != h.inArray("asc", d.asSorting) && -1 == h.inArray("desc", d.asSorting) ? (d.sSortingClass = a.oClasses.sSortableAsc, d.sSortingClassJUI = a.oClasses.sSortJUIAscAllowed) : -1 ==
41
- h.inArray("asc", d.asSorting) && -1 != h.inArray("desc", d.asSorting) && (d.sSortingClass = a.oClasses.sSortableDesc, d.sSortingClassJUI = a.oClasses.sSortJUIDescAllowed)
42
- }
43
-
44
- function k(a) {
45
- if (!1 === a.oFeatures.bAutoWidth)return!1;
46
- da(a);
47
- for (var b = 0, c = a.aoColumns.length; b < c; b++)a.aoColumns[b].nTh.style.width = a.aoColumns[b].sWidth
48
- }
49
-
50
- function G(a, b) {
51
- var c = r(a, "bVisible");
52
- return"number" === typeof c[b] ? c[b] : null
53
- }
54
-
55
- function R(a, b) {
56
- var c = r(a, "bVisible"), c = h.inArray(b, c);
57
- return-1 !== c ? c : null
58
- }
59
-
60
- function t(a) {
61
- return r(a, "bVisible").length
62
- }
63
-
64
- function r(a, b) {
65
- var c = [];
66
- h.map(a.aoColumns, function (a, i) {
67
- a[b] && c.push(i)
68
- });
69
- return c
70
- }
71
-
72
- function B(a) {
73
- for (var b = j.ext.aTypes, c = b.length, d = 0; d < c; d++) {
74
- var i = b[d](a);
75
- if (null !== i)return i
76
- }
77
- return"string"
78
- }
79
-
80
- function u(a, b) {
81
- for (var c = b.split(","), d = [], i = 0, f = a.aoColumns.length; i < f; i++)for (var g = 0; g < f; g++)if (a.aoColumns[i].sName == c[g]) {
82
- d.push(g);
83
- break
84
- }
85
- return d
86
- }
87
-
88
- function M(a) {
89
- for (var b = "", c = 0, d = a.aoColumns.length; c < d; c++)b += a.aoColumns[c].sName + ",";
90
- return b.length == d ? "" : b.slice(0, -1)
91
- }
92
-
93
- function ta(a, b, c, d) {
94
- var i, f,
95
- g, e, w;
96
- if (b)for (i = b.length - 1; 0 <= i; i--) {
97
- var j = b[i].aTargets;
98
- h.isArray(j) || D(a, 1, "aTargets must be an array of targets, not a " + typeof j);
99
- f = 0;
100
- for (g = j.length; f < g; f++)if ("number" === typeof j[f] && 0 <= j[f]) {
101
- for (; a.aoColumns.length <= j[f];)o(a);
102
- d(j[f], b[i])
103
- } else if ("number" === typeof j[f] && 0 > j[f])d(a.aoColumns.length + j[f], b[i]); else if ("string" === typeof j[f]) {
104
- e = 0;
105
- for (w = a.aoColumns.length; e < w; e++)("_all" == j[f] || h(a.aoColumns[e].nTh).hasClass(j[f])) && d(e, b[i])
106
- }
107
- }
108
- if (c) {
109
- i = 0;
110
- for (a = c.length; i < a; i++)d(i, c[i])
111
- }
112
- }
113
-
114
- function H(a, b) {
115
- var c;
116
- c = h.isArray(b) ? b.slice() : h.extend(!0, {}, b);
117
- var d = a.aoData.length, i = h.extend(!0, {}, j.models.oRow);
118
- i._aData = c;
119
- a.aoData.push(i);
120
- for (var f, i = 0, g = a.aoColumns.length; i < g; i++)c = a.aoColumns[i], "function" === typeof c.fnRender && c.bUseRendered && null !== c.mData ? F(a, d, i, S(a, d, i)) : F(a, d, i, v(a, d, i)), c._bAutoType && "string" != c.sType && (f = v(a, d, i, "type"), null !== f && "" !== f && (f = B(f), null === c.sType ? c.sType = f : c.sType != f && "html" != c.sType && (c.sType = "string")));
121
- a.aiDisplayMaster.push(d);
122
- a.oFeatures.bDeferRender || ea(a,
123
- d);
124
- return d
125
- }
126
-
127
- function ua(a) {
128
- var b, c, d, i, f, g, e;
129
- if (a.bDeferLoading || null === a.sAjaxSource)for (b = a.nTBody.firstChild; b;) {
130
- if ("TR" == b.nodeName.toUpperCase()) {
131
- c = a.aoData.length;
132
- b._DT_RowIndex = c;
133
- a.aoData.push(h.extend(!0, {}, j.models.oRow, {nTr: b}));
134
- a.aiDisplayMaster.push(c);
135
- f = b.firstChild;
136
- for (d = 0; f;) {
137
- g = f.nodeName.toUpperCase();
138
- if ("TD" == g || "TH" == g)F(a, c, d, h.trim(f.innerHTML)), d++;
139
- f = f.nextSibling
140
- }
141
- }
142
- b = b.nextSibling
143
- }
144
- i = T(a);
145
- d = [];
146
- b = 0;
147
- for (c = i.length; b < c; b++)for (f = i[b].firstChild; f;)g = f.nodeName.toUpperCase(), ("TD" ==
148
- g || "TH" == g) && d.push(f), f = f.nextSibling;
149
- c = 0;
150
- for (i = a.aoColumns.length; c < i; c++) {
151
- e = a.aoColumns[c];
152
- null === e.sTitle && (e.sTitle = e.nTh.innerHTML);
153
- var w = e._bAutoType, o = "function" === typeof e.fnRender, k = null !== e.sClass, n = e.bVisible, m, p;
154
- if (w || o || k || !n) {
155
- g = 0;
156
- for (b = a.aoData.length; g < b; g++)f = a.aoData[g], m = d[g * i + c], w && "string" != e.sType && (p = v(a, g, c, "type"), "" !== p && (p = B(p), null === e.sType ? e.sType = p : e.sType != p && "html" != e.sType && (e.sType = "string"))), e.mRender ? m.innerHTML = v(a, g, c, "display") : e.mData !== c && (m.innerHTML = v(a,
157
- g, c, "display")), o && (p = S(a, g, c), m.innerHTML = p, e.bUseRendered && F(a, g, c, p)), k && (m.className += " " + e.sClass), n ? f._anHidden[c] = null : (f._anHidden[c] = m, m.parentNode.removeChild(m)), e.fnCreatedCell && e.fnCreatedCell.call(a.oInstance, m, v(a, g, c, "display"), f._aData, g, c)
158
- }
159
- }
160
- if (0 !== a.aoRowCreatedCallback.length) {
161
- b = 0;
162
- for (c = a.aoData.length; b < c; b++)f = a.aoData[b], A(a, "aoRowCreatedCallback", null, [f.nTr, f._aData, b])
163
- }
164
- }
165
-
166
- function I(a, b) {
167
- return b._DT_RowIndex !== n ? b._DT_RowIndex : null
168
- }
169
-
170
- function fa(a, b, c) {
171
- for (var b = J(a, b), d = 0, a =
172
- a.aoColumns.length; d < a; d++)if (b[d] === c)return d;
173
- return-1
174
- }
175
-
176
- function Y(a, b, c, d) {
177
- for (var i = [], f = 0, g = d.length; f < g; f++)i.push(v(a, b, d[f], c));
178
- return i
179
- }
180
-
181
- function v(a, b, c, d) {
182
- var i = a.aoColumns[c];
183
- if ((c = i.fnGetData(a.aoData[b]._aData, d)) === n)return a.iDrawError != a.iDraw && null === i.sDefaultContent && (D(a, 0, "Requested unknown parameter " + ("function" == typeof i.mData ? "{mData function}" : "'" + i.mData + "'") + " from the data source for row " + b), a.iDrawError = a.iDraw), i.sDefaultContent;
184
- if (null === c && null !== i.sDefaultContent)c =
185
- i.sDefaultContent; else if ("function" === typeof c)return c();
186
- return"display" == d && null === c ? "" : c
187
- }
188
-
189
- function F(a, b, c, d) {
190
- a.aoColumns[c].fnSetData(a.aoData[b]._aData, d)
191
- }
192
-
193
- function Q(a) {
194
- if (null === a)return function () {
195
- return null
196
- };
197
- if ("function" === typeof a)return function (b, d, i) {
198
- return a(b, d, i)
199
- };
200
- if ("string" === typeof a && (-1 !== a.indexOf(".") || -1 !== a.indexOf("["))) {
201
- var b = function (a, d, i) {
202
- var f = i.split("."), g;
203
- if ("" !== i) {
204
- var e = 0;
205
- for (g = f.length; e < g; e++) {
206
- if (i = f[e].match(U)) {
207
- f[e] = f[e].replace(U, "");
208
- "" !== f[e] && (a = a[f[e]]);
209
- g = [];
210
- f.splice(0, e + 1);
211
- for (var f = f.join("."), e = 0, h = a.length; e < h; e++)g.push(b(a[e], d, f));
212
- a = i[0].substring(1, i[0].length - 1);
213
- a = "" === a ? g : g.join(a);
214
- break
215
- }
216
- if (null === a || a[f[e]] === n)return n;
217
- a = a[f[e]]
218
- }
219
- }
220
- return a
221
- };
222
- return function (c, d) {
223
- return b(c, d, a)
224
- }
225
- }
226
- return function (b) {
227
- return b[a]
228
- }
229
- }
230
-
231
- function L(a) {
232
- if (null === a)return function () {
233
- };
234
- if ("function" === typeof a)return function (b, d) {
235
- a(b, "set", d)
236
- };
237
- if ("string" === typeof a && (-1 !== a.indexOf(".") || -1 !== a.indexOf("["))) {
238
- var b = function (a, d, i) {
239
- var i = i.split("."), f, g, e = 0;
240
- for (g =
241
- i.length - 1; e < g; e++) {
242
- if (f = i[e].match(U)) {
243
- i[e] = i[e].replace(U, "");
244
- a[i[e]] = [];
245
- f = i.slice();
246
- f.splice(0, e + 1);
247
- g = f.join(".");
248
- for (var h = 0, j = d.length; h < j; h++)f = {}, b(f, d[h], g), a[i[e]].push(f);
249
- return
250
- }
251
- if (null === a[i[e]] || a[i[e]] === n)a[i[e]] = {};
252
- a = a[i[e]]
253
- }
254
- a[i[i.length - 1].replace(U, "")] = d
255
- };
256
- return function (c, d) {
257
- return b(c, d, a)
258
- }
259
- }
260
- return function (b, d) {
261
- b[a] = d
262
- }
263
- }
264
-
265
- function Z(a) {
266
- for (var b = [], c = a.aoData.length, d = 0; d < c; d++)b.push(a.aoData[d]._aData);
267
- return b
268
- }
269
-
270
- function ga(a) {
271
- a.aoData.splice(0, a.aoData.length);
272
- a.aiDisplayMaster.splice(0,
273
- a.aiDisplayMaster.length);
274
- a.aiDisplay.splice(0, a.aiDisplay.length);
275
- y(a)
276
- }
277
-
278
- function ha(a, b) {
279
- for (var c = -1, d = 0, i = a.length; d < i; d++)a[d] == b ? c = d : a[d] > b && a[d]--;
280
- -1 != c && a.splice(c, 1)
281
- }
282
-
283
- function S(a, b, c) {
284
- var d = a.aoColumns[c];
285
- return d.fnRender({iDataRow: b, iDataColumn: c, oSettings: a, aData: a.aoData[b]._aData, mDataProp: d.mData}, v(a, b, c, "display"))
286
- }
287
-
288
- function ea(a, b) {
289
- var c = a.aoData[b], d;
290
- if (null === c.nTr) {
291
- c.nTr = l.createElement("tr");
292
- c.nTr._DT_RowIndex = b;
293
- c._aData.DT_RowId && (c.nTr.id = c._aData.DT_RowId);
294
- c._aData.DT_RowClass &&
295
- (c.nTr.className = c._aData.DT_RowClass);
296
- for (var i = 0, f = a.aoColumns.length; i < f; i++) {
297
- var g = a.aoColumns[i];
298
- d = l.createElement(g.sCellType);
299
- d.innerHTML = "function" === typeof g.fnRender && (!g.bUseRendered || null === g.mData) ? S(a, b, i) : v(a, b, i, "display");
300
- null !== g.sClass && (d.className = g.sClass);
301
- g.bVisible ? (c.nTr.appendChild(d), c._anHidden[i] = null) : c._anHidden[i] = d;
302
- g.fnCreatedCell && g.fnCreatedCell.call(a.oInstance, d, v(a, b, i, "display"), c._aData, b, i)
303
- }
304
- A(a, "aoRowCreatedCallback", null, [c.nTr, c._aData, b])
305
- }
306
- }
307
-
308
- function va(a) {
309
- var b,
310
- c, d;
311
- if (0 !== h("th, td", a.nTHead).length) {
312
- b = 0;
313
- for (d = a.aoColumns.length; b < d; b++)if (c = a.aoColumns[b].nTh, c.setAttribute("role", "columnheader"), a.aoColumns[b].bSortable && (c.setAttribute("tabindex", a.iTabIndex), c.setAttribute("aria-controls", a.sTableId)), null !== a.aoColumns[b].sClass && h(c).addClass(a.aoColumns[b].sClass), a.aoColumns[b].sTitle != c.innerHTML)c.innerHTML = a.aoColumns[b].sTitle
314
- } else {
315
- var i = l.createElement("tr");
316
- b = 0;
317
- for (d = a.aoColumns.length; b < d; b++)c = a.aoColumns[b].nTh, c.innerHTML = a.aoColumns[b].sTitle,
318
- c.setAttribute("tabindex", "0"), null !== a.aoColumns[b].sClass && h(c).addClass(a.aoColumns[b].sClass), i.appendChild(c);
319
- h(a.nTHead).html("")[0].appendChild(i);
320
- V(a.aoHeader, a.nTHead)
321
- }
322
- h(a.nTHead).children("tr").attr("role", "row");
323
- if (a.bJUI) {
324
- b = 0;
325
- for (d = a.aoColumns.length; b < d; b++) {
326
- c = a.aoColumns[b].nTh;
327
- i = l.createElement("div");
328
- i.className = a.oClasses.sSortJUIWrapper;
329
- h(c).contents().appendTo(i);
330
- var f = l.createElement("span");
331
- f.className = a.oClasses.sSortIcon;
332
- i.appendChild(f);
333
- c.appendChild(i)
334
- }
335
- }
336
- if (a.oFeatures.bSort)for (b =
337
- 0; b < a.aoColumns.length; b++)!1 !== a.aoColumns[b].bSortable ? ia(a, a.aoColumns[b].nTh, b) : h(a.aoColumns[b].nTh).addClass(a.oClasses.sSortableNone);
338
- "" !== a.oClasses.sFooterTH && h(a.nTFoot).children("tr").children("th").addClass(a.oClasses.sFooterTH);
339
- if (null !== a.nTFoot) {
340
- c = N(a, null, a.aoFooter);
341
- b = 0;
342
- for (d = a.aoColumns.length; b < d; b++)c[b] && (a.aoColumns[b].nTf = c[b], a.aoColumns[b].sClass && h(c[b]).addClass(a.aoColumns[b].sClass))
343
- }
344
- }
345
-
346
- function W(a, b, c) {
347
- var d, i, f, g = [], e = [], h = a.aoColumns.length, j;
348
- c === n && (c = !1);
349
- d = 0;
350
- for (i =
351
- b.length; d < i; d++) {
352
- g[d] = b[d].slice();
353
- g[d].nTr = b[d].nTr;
354
- for (f = h - 1; 0 <= f; f--)!a.aoColumns[f].bVisible && !c && g[d].splice(f, 1);
355
- e.push([])
356
- }
357
- d = 0;
358
- for (i = g.length; d < i; d++) {
359
- if (a = g[d].nTr)for (; f = a.firstChild;)a.removeChild(f);
360
- f = 0;
361
- for (b = g[d].length; f < b; f++)if (j = h = 1, e[d][f] === n) {
362
- a.appendChild(g[d][f].cell);
363
- for (e[d][f] = 1; g[d + h] !== n && g[d][f].cell == g[d + h][f].cell;)e[d + h][f] = 1, h++;
364
- for (; g[d][f + j] !== n && g[d][f].cell == g[d][f + j].cell;) {
365
- for (c = 0; c < h; c++)e[d + c][f + j] = 1;
366
- j++
367
- }
368
- g[d][f].cell.rowSpan = h;
369
- g[d][f].cell.colSpan = j
370
- }
371
- }
372
- }
373
-
374
- function x(a) {
375
- var b =
376
- A(a, "aoPreDrawCallback", "preDraw", [a]);
377
- if (-1 !== h.inArray(!1, b))E(a, !1); else {
378
- var c, d, b = [], i = 0, f = a.asStripeClasses.length;
379
- c = a.aoOpenRows.length;
380
- a.bDrawing = !0;
381
- a.iInitDisplayStart !== n && -1 != a.iInitDisplayStart && (a._iDisplayStart = a.oFeatures.bServerSide ? a.iInitDisplayStart : a.iInitDisplayStart >= a.fnRecordsDisplay() ? 0 : a.iInitDisplayStart, a.iInitDisplayStart = -1, y(a));
382
- if (a.bDeferLoading)a.bDeferLoading = !1, a.iDraw++; else if (a.oFeatures.bServerSide) {
383
- if (!a.bDestroying && !wa(a))return
384
- } else a.iDraw++;
385
- if (0 !== a.aiDisplay.length) {
386
- var g =
387
- a._iDisplayStart;
388
- d = a._iDisplayEnd;
389
- a.oFeatures.bServerSide && (g = 0, d = a.aoData.length);
390
- for (; g < d; g++) {
391
- var e = a.aoData[a.aiDisplay[g]];
392
- null === e.nTr && ea(a, a.aiDisplay[g]);
393
- var j = e.nTr;
394
- if (0 !== f) {
395
- var o = a.asStripeClasses[i % f];
396
- e._sRowStripe != o && (h(j).removeClass(e._sRowStripe).addClass(o), e._sRowStripe = o)
397
- }
398
- A(a, "aoRowCallback", null, [j, a.aoData[a.aiDisplay[g]]._aData, i, g]);
399
- b.push(j);
400
- i++;
401
- if (0 !== c)for (e = 0; e < c; e++)if (j == a.aoOpenRows[e].nParent) {
402
- b.push(a.aoOpenRows[e].nTr);
403
- break
404
- }
405
- }
406
- } else b[0] = l.createElement("tr"), a.asStripeClasses[0] &&
407
- (b[0].className = a.asStripeClasses[0]), c = a.oLanguage, f = c.sZeroRecords, 1 == a.iDraw && null !== a.sAjaxSource && !a.oFeatures.bServerSide ? f = c.sLoadingRecords : c.sEmptyTable && 0 === a.fnRecordsTotal() && (f = c.sEmptyTable), c = l.createElement("td"), c.setAttribute("valign", "top"), c.colSpan = t(a), c.className = a.oClasses.sRowEmpty, c.innerHTML = ja(a, f), b[i].appendChild(c);
408
- A(a, "aoHeaderCallback", "header", [h(a.nTHead).children("tr")[0], Z(a), a._iDisplayStart, a.fnDisplayEnd(), a.aiDisplay]);
409
- A(a, "aoFooterCallback", "footer", [h(a.nTFoot).children("tr")[0],
410
- Z(a), a._iDisplayStart, a.fnDisplayEnd(), a.aiDisplay]);
411
- i = l.createDocumentFragment();
412
- c = l.createDocumentFragment();
413
- if (a.nTBody) {
414
- f = a.nTBody.parentNode;
415
- c.appendChild(a.nTBody);
416
- if (!a.oScroll.bInfinite || !a._bInitComplete || a.bSorted || a.bFiltered)for (; c = a.nTBody.firstChild;)a.nTBody.removeChild(c);
417
- c = 0;
418
- for (d = b.length; c < d; c++)i.appendChild(b[c]);
419
- a.nTBody.appendChild(i);
420
- null !== f && f.appendChild(a.nTBody)
421
- }
422
- A(a, "aoDrawCallback", "draw", [a]);
423
- a.bSorted = !1;
424
- a.bFiltered = !1;
425
- a.bDrawing = !1;
426
- a.oFeatures.bServerSide && (E(a, !1),
427
- a._bInitComplete || $(a))
428
- }
429
- }
430
-
431
- function aa(a) {
432
- a.oFeatures.bSort ? O(a, a.oPreviousSearch) : a.oFeatures.bFilter ? K(a, a.oPreviousSearch) : (y(a), x(a))
433
- }
434
-
435
- function xa(a) {
436
- var b = h("<div></div>")[0];
437
- a.nTable.parentNode.insertBefore(b, a.nTable);
438
- a.nTableWrapper = h('<div id="' + a.sTableId + '_wrapper" class="' + a.oClasses.sWrapper + '" role="grid"></div>')[0];
439
- a.nTableReinsertBefore = a.nTable.nextSibling;
440
- for (var c = a.nTableWrapper, d = a.sDom.split(""), i, f, g, e, w, o, k, m = 0; m < d.length; m++) {
441
- f = 0;
442
- g = d[m];
443
- if ("<" == g) {
444
- e = h("<div></div>")[0];
445
- w = d[m +
446
- 1];
447
- if ("'" == w || '"' == w) {
448
- o = "";
449
- for (k = 2; d[m + k] != w;)o += d[m + k], k++;
450
- "H" == o ? o = a.oClasses.sJUIHeader : "F" == o && (o = a.oClasses.sJUIFooter);
451
- -1 != o.indexOf(".") ? (w = o.split("."), e.id = w[0].substr(1, w[0].length - 1), e.className = w[1]) : "#" == o.charAt(0) ? e.id = o.substr(1, o.length - 1) : e.className = o;
452
- m += k
453
- }
454
- c.appendChild(e);
455
- c = e
456
- } else if (">" == g)c = c.parentNode; else if ("l" == g && a.oFeatures.bPaginate && a.oFeatures.bLengthChange)i = ya(a), f = 1; else if ("f" == g && a.oFeatures.bFilter)i = za(a), f = 1; else if ("r" == g && a.oFeatures.bProcessing)i = Aa(a), f =
457
- 1; else if ("t" == g)i = Ba(a), f = 1; else if ("i" == g && a.oFeatures.bInfo)i = Ca(a), f = 1; else if ("p" == g && a.oFeatures.bPaginate)i = Da(a), f = 1; else if (0 !== j.ext.aoFeatures.length) {
458
- e = j.ext.aoFeatures;
459
- k = 0;
460
- for (w = e.length; k < w; k++)if (g == e[k].cFeature) {
461
- (i = e[k].fnInit(a)) && (f = 1);
462
- break
463
- }
464
- }
465
- 1 == f && null !== i && ("object" !== typeof a.aanFeatures[g] && (a.aanFeatures[g] = []), a.aanFeatures[g].push(i), c.appendChild(i))
466
- }
467
- b.parentNode.replaceChild(a.nTableWrapper, b)
468
- }
469
-
470
- function V(a, b) {
471
- var c = h(b).children("tr"), d, i, f, g, e, j, o, k, m, p;
472
- a.splice(0, a.length);
473
- f = 0;
474
- for (j = c.length; f < j; f++)a.push([]);
475
- f = 0;
476
- for (j = c.length; f < j; f++) {
477
- d = c[f];
478
- for (i = d.firstChild; i;) {
479
- if ("TD" == i.nodeName.toUpperCase() || "TH" == i.nodeName.toUpperCase()) {
480
- k = 1 * i.getAttribute("colspan");
481
- m = 1 * i.getAttribute("rowspan");
482
- k = !k || 0 === k || 1 === k ? 1 : k;
483
- m = !m || 0 === m || 1 === m ? 1 : m;
484
- g = 0;
485
- for (e = a[f]; e[g];)g++;
486
- o = g;
487
- p = 1 === k ? !0 : !1;
488
- for (e = 0; e < k; e++)for (g = 0; g < m; g++)a[f + g][o + e] = {cell: i, unique: p}, a[f + g].nTr = d
489
- }
490
- i = i.nextSibling
491
- }
492
- }
493
- }
494
-
495
- function N(a, b, c) {
496
- var d = [];
497
- c || (c = a.aoHeader, b && (c = [], V(c, b)));
498
- for (var b = 0, i = c.length; b < i; b++)for (var f =
499
- 0, g = c[b].length; f < g; f++)if (c[b][f].unique && (!d[f] || !a.bSortCellsTop))d[f] = c[b][f].cell;
500
- return d
501
- }
502
-
503
- function wa(a) {
504
- if (a.bAjaxDataGet) {
505
- a.iDraw++;
506
- E(a, !0);
507
- var b = Ea(a);
508
- ka(a, b);
509
- a.fnServerData.call(a.oInstance, a.sAjaxSource, b, function (b) {
510
- Fa(a, b)
511
- }, a);
512
- return!1
513
- }
514
- return!0
515
- }
516
-
517
- function Ea(a) {
518
- var b = a.aoColumns.length, c = [], d, i, f, g;
519
- c.push({name: "sEcho", value: a.iDraw});
520
- c.push({name: "iColumns", value: b});
521
- c.push({name: "sColumns", value: M(a)});
522
- c.push({name: "iDisplayStart", value: a._iDisplayStart});
523
- c.push({name: "iDisplayLength",
524
- value : !1 !== a.oFeatures.bPaginate ? a._iDisplayLength : -1});
525
- for (f = 0; f < b; f++)d = a.aoColumns[f].mData, c.push({name: "mDataProp_" + f, value: "function" === typeof d ? "function" : d});
526
- if (!1 !== a.oFeatures.bFilter) {
527
- c.push({name: "sSearch", value: a.oPreviousSearch.sSearch});
528
- c.push({name: "bRegex", value: a.oPreviousSearch.bRegex});
529
- for (f = 0; f < b; f++)c.push({name: "sSearch_" + f, value: a.aoPreSearchCols[f].sSearch}), c.push({name: "bRegex_" + f, value: a.aoPreSearchCols[f].bRegex}), c.push({name: "bSearchable_" + f, value: a.aoColumns[f].bSearchable})
530
- }
531
- if (!1 !==
532
- a.oFeatures.bSort) {
533
- var e = 0;
534
- d = null !== a.aaSortingFixed ? a.aaSortingFixed.concat(a.aaSorting) : a.aaSorting.slice();
535
- for (f = 0; f < d.length; f++) {
536
- i = a.aoColumns[d[f][0]].aDataSort;
537
- for (g = 0; g < i.length; g++)c.push({name: "iSortCol_" + e, value: i[g]}), c.push({name: "sSortDir_" + e, value: d[f][1]}), e++
538
- }
539
- c.push({name: "iSortingCols", value: e});
540
- for (f = 0; f < b; f++)c.push({name: "bSortable_" + f, value: a.aoColumns[f].bSortable})
541
- }
542
- return c
543
- }
544
-
545
- function ka(a, b) {
546
- A(a, "aoServerParams", "serverParams", [b])
547
- }
548
-
549
- function Fa(a, b) {
550
- if (b.sEcho !== n) {
551
- if (1 * b.sEcho <
552
- a.iDraw)return;
553
- a.iDraw = 1 * b.sEcho
554
- }
555
- (!a.oScroll.bInfinite || a.oScroll.bInfinite && (a.bSorted || a.bFiltered)) && ga(a);
556
- a._iRecordsTotal = parseInt(b.iTotalRecords, 10);
557
- a._iRecordsDisplay = parseInt(b.iTotalDisplayRecords, 10);
558
- var c = M(a), c = b.sColumns !== n && "" !== c && b.sColumns != c, d;
559
- c && (d = u(a, b.sColumns));
560
- for (var i = Q(a.sAjaxDataProp)(b), f = 0, g = i.length; f < g; f++)if (c) {
561
- for (var e = [], h = 0, j = a.aoColumns.length; h < j; h++)e.push(i[f][d[h]]);
562
- H(a, e)
563
- } else H(a, i[f]);
564
- a.aiDisplay = a.aiDisplayMaster.slice();
565
- a.bAjaxDataGet = !1;
566
- x(a);
567
- a.bAjaxDataGet = !0;
568
- E(a, !1)
569
- }
570
-
571
- function za(a) {
572
- var b = a.oPreviousSearch, c = a.oLanguage.sSearch, c = -1 !== c.indexOf("_INPUT_") ? c.replace("_INPUT_", '<input type="text" />') : "" === c ? '<input type="text" />' : c + ' <input type="text" />', d = l.createElement("div");
573
- d.className = a.oClasses.sFilter;
574
- d.innerHTML = "<label>" + c + "</label>";
575
- a.aanFeatures.f || (d.id = a.sTableId + "_filter");
576
- c = h('input[type="text"]', d);
577
- d._DT_Input = c[0];
578
- c.val(b.sSearch.replace('"', "&quot;"));
579
- c.bind("keyup.DT", function () {
580
- for (var c = a.aanFeatures.f, d = this.value === "" ? "" : this.value,
581
- g = 0, e = c.length; g < e; g++)c[g] != h(this).parents("div.dataTables_filter")[0] && h(c[g]._DT_Input).val(d);
582
- d != b.sSearch && K(a, {sSearch: d, bRegex: b.bRegex, bSmart: b.bSmart, bCaseInsensitive: b.bCaseInsensitive})
583
- });
584
- c.attr("aria-controls", a.sTableId).bind("keypress.DT", function (a) {
585
- if (a.keyCode == 13)return false
586
- });
587
- return d
588
- }
589
-
590
- function K(a, b, c) {
591
- var d = a.oPreviousSearch, i = a.aoPreSearchCols, f = function (a) {
592
- d.sSearch = a.sSearch;
593
- d.bRegex = a.bRegex;
594
- d.bSmart = a.bSmart;
595
- d.bCaseInsensitive = a.bCaseInsensitive
596
- };
597
- if (a.oFeatures.bServerSide)f(b);
598
- else {
599
- Ga(a, b.sSearch, c, b.bRegex, b.bSmart, b.bCaseInsensitive);
600
- f(b);
601
- for (b = 0; b < a.aoPreSearchCols.length; b++)Ha(a, i[b].sSearch, b, i[b].bRegex, i[b].bSmart, i[b].bCaseInsensitive);
602
- Ia(a)
603
- }
604
- a.bFiltered = !0;
605
- h(a.oInstance).trigger("filter", a);
606
- a._iDisplayStart = 0;
607
- y(a);
608
- x(a);
609
- la(a, 0)
610
- }
611
-
612
- function Ia(a) {
613
- for (var b = j.ext.afnFiltering, c = r(a, "bSearchable"), d = 0, i = b.length; d < i; d++)for (var f = 0, g = 0, e = a.aiDisplay.length; g < e; g++) {
614
- var h = a.aiDisplay[g - f];
615
- b[d](a, Y(a, h, "filter", c), h) || (a.aiDisplay.splice(g - f, 1), f++)
616
- }
617
- }
618
-
619
- function Ha(a, b, c, d, i, f) {
620
- if ("" !== b)for (var g = 0, b = ma(b, d, i, f), d = a.aiDisplay.length - 1; 0 <= d; d--)i = Ja(v(a, a.aiDisplay[d], c, "filter"), a.aoColumns[c].sType), b.test(i) || (a.aiDisplay.splice(d, 1), g++)
621
- }
622
-
623
- function Ga(a, b, c, d, i, f) {
624
- d = ma(b, d, i, f);
625
- i = a.oPreviousSearch;
626
- c || (c = 0);
627
- 0 !== j.ext.afnFiltering.length && (c = 1);
628
- if (0 >= b.length)a.aiDisplay.splice(0, a.aiDisplay.length), a.aiDisplay = a.aiDisplayMaster.slice(); else if (a.aiDisplay.length == a.aiDisplayMaster.length || i.sSearch.length > b.length || 1 == c || 0 !== b.indexOf(i.sSearch)) {
629
- a.aiDisplay.splice(0,
630
- a.aiDisplay.length);
631
- la(a, 1);
632
- for (b = 0; b < a.aiDisplayMaster.length; b++)d.test(a.asDataSearch[b]) && a.aiDisplay.push(a.aiDisplayMaster[b])
633
- } else for (b = c = 0; b < a.asDataSearch.length; b++)d.test(a.asDataSearch[b]) || (a.aiDisplay.splice(b - c, 1), c++)
634
- }
635
-
636
- function la(a, b) {
637
- if (!a.oFeatures.bServerSide) {
638
- a.asDataSearch = [];
639
- for (var c = r(a, "bSearchable"), d = 1 === b ? a.aiDisplayMaster : a.aiDisplay, i = 0, f = d.length; i < f; i++)a.asDataSearch[i] = na(a, Y(a, d[i], "filter", c))
640
- }
641
- }
642
-
643
- function na(a, b) {
644
- var c = b.join(" ");
645
- -1 !== c.indexOf("&") && (c = h("<div>").html(c).text());
646
- return c.replace(/[\n\r]/g, " ")
647
- }
648
-
649
- function ma(a, b, c, d) {
650
- if (c)return a = b ? a.split(" ") : oa(a).split(" "), a = "^(?=.*?" + a.join(")(?=.*?") + ").*$", RegExp(a, d ? "i" : "");
651
- a = b ? a : oa(a);
652
- return RegExp(a, d ? "i" : "")
653
- }
654
-
655
- function Ja(a, b) {
656
- return"function" === typeof j.ext.ofnSearch[b] ? j.ext.ofnSearch[b](a) : null === a ? "" : "html" == b ? a.replace(/[\r\n]/g, " ").replace(/<.*?>/g, "") : "string" === typeof a ? a.replace(/[\r\n]/g, " ") : a
657
- }
658
-
659
- function oa(a) {
660
- return a.replace(RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)", "g"),
661
- "\\$1")
662
- }
663
-
664
- function Ca(a) {
665
- var b = l.createElement("div");
666
- b.className = a.oClasses.sInfo;
667
- a.aanFeatures.i || (a.aoDrawCallback.push({fn: Ka, sName: "information"}), b.id = a.sTableId + "_info");
668
- a.nTable.setAttribute("aria-describedby", a.sTableId + "_info");
669
- return b
670
- }
671
-
672
- function Ka(a) {
673
- if (a.oFeatures.bInfo && 0 !== a.aanFeatures.i.length) {
674
- var b = a.oLanguage, c = a._iDisplayStart + 1, d = a.fnDisplayEnd(), i = a.fnRecordsTotal(), f = a.fnRecordsDisplay(), g;
675
- g = 0 === f ? b.sInfoEmpty : b.sInfo;
676
- f != i && (g += " " + b.sInfoFiltered);
677
- g += b.sInfoPostFix;
678
- g = ja(a, g);
679
- null !== b.fnInfoCallback && (g = b.fnInfoCallback.call(a.oInstance, a, c, d, i, f, g));
680
- a = a.aanFeatures.i;
681
- b = 0;
682
- for (c = a.length; b < c; b++)h(a[b]).html(g)
683
- }
684
- }
685
-
686
- function ja(a, b) {
687
- var c = a.fnFormatNumber(a._iDisplayStart + 1), d = a.fnDisplayEnd(), d = a.fnFormatNumber(d), i = a.fnRecordsDisplay(), i = a.fnFormatNumber(i), f = a.fnRecordsTotal(), f = a.fnFormatNumber(f);
688
- a.oScroll.bInfinite && (c = a.fnFormatNumber(1));
689
- return b.replace(/_START_/g, c).replace(/_END_/g, d).replace(/_TOTAL_/g, i).replace(/_MAX_/g, f)
690
- }
691
-
692
- function ba(a) {
693
- var b, c, d = a.iInitDisplayStart;
694
- if (!1 === a.bInitialised)setTimeout(function () {
695
- ba(a)
696
- }, 200); else {
697
- xa(a);
698
- va(a);
699
- W(a, a.aoHeader);
700
- a.nTFoot && W(a, a.aoFooter);
701
- E(a, !0);
702
- a.oFeatures.bAutoWidth && da(a);
703
- b = 0;
704
- for (c = a.aoColumns.length; b < c; b++)null !== a.aoColumns[b].sWidth && (a.aoColumns[b].nTh.style.width = q(a.aoColumns[b].sWidth));
705
- a.oFeatures.bSort ? O(a) : a.oFeatures.bFilter ? K(a, a.oPreviousSearch) : (a.aiDisplay = a.aiDisplayMaster.slice(), y(a), x(a));
706
- null !== a.sAjaxSource && !a.oFeatures.bServerSide ? (c = [], ka(a, c), a.fnServerData.call(a.oInstance, a.sAjaxSource,
707
- c, function (c) {
708
- var f = a.sAjaxDataProp !== "" ? Q(a.sAjaxDataProp)(c) : c;
709
- for (b = 0; b < f.length; b++)H(a, f[b]);
710
- a.iInitDisplayStart = d;
711
- if (a.oFeatures.bSort)O(a); else {
712
- a.aiDisplay = a.aiDisplayMaster.slice();
713
- y(a);
714
- x(a)
715
- }
716
- E(a, false);
717
- $(a, c)
718
- }, a)) : a.oFeatures.bServerSide || (E(a, !1), $(a))
719
- }
720
- }
721
-
722
- function $(a, b) {
723
- a._bInitComplete = !0;
724
- A(a, "aoInitComplete", "init", [a, b])
725
- }
726
-
727
- function pa(a) {
728
- var b = j.defaults.oLanguage;
729
- !a.sEmptyTable && (a.sZeroRecords && "No data available in table" === b.sEmptyTable) && p(a, a, "sZeroRecords", "sEmptyTable");
730
- !a.sLoadingRecords &&
731
- (a.sZeroRecords && "Loading..." === b.sLoadingRecords) && p(a, a, "sZeroRecords", "sLoadingRecords")
732
- }
733
-
734
- function ya(a) {
735
- if (a.oScroll.bInfinite)return null;
736
- var b = '<select size="1" ' + ('name="' + a.sTableId + '_length"') + ">", c, d, i = a.aLengthMenu;
737
- if (2 == i.length && "object" === typeof i[0] && "object" === typeof i[1]) {
738
- c = 0;
739
- for (d = i[0].length; c < d; c++)b += '<option value="' + i[0][c] + '">' + i[1][c] + "</option>"
740
- } else {
741
- c = 0;
742
- for (d = i.length; c < d; c++)b += '<option value="' + i[c] + '">' + i[c] + "</option>"
743
- }
744
- b += "</select>";
745
- i = l.createElement("div");
746
- a.aanFeatures.l ||
747
- (i.id = a.sTableId + "_length");
748
- i.className = a.oClasses.sLength;
749
- i.innerHTML = "<label>" + a.oLanguage.sLengthMenu.replace("_MENU_", b) + "</label>";
750
- h('select option[value="' + a._iDisplayLength + '"]', i).attr("selected", !0);
751
- h("select", i).bind("change.DT", function () {
752
- var b = h(this).val(), i = a.aanFeatures.l;
753
- c = 0;
754
- for (d = i.length; c < d; c++)i[c] != this.parentNode && h("select", i[c]).val(b);
755
- a._iDisplayLength = parseInt(b, 10);
756
- y(a);
757
- if (a.fnDisplayEnd() == a.fnRecordsDisplay()) {
758
- a._iDisplayStart = a.fnDisplayEnd() - a._iDisplayLength;
759
- if (a._iDisplayStart <
760
- 0)a._iDisplayStart = 0
761
- }
762
- if (a._iDisplayLength == -1)a._iDisplayStart = 0;
763
- x(a)
764
- });
765
- h("select", i).attr("aria-controls", a.sTableId);
766
- return i
767
- }
768
-
769
- function y(a) {
770
- a._iDisplayEnd = !1 === a.oFeatures.bPaginate ? a.aiDisplay.length : a._iDisplayStart + a._iDisplayLength > a.aiDisplay.length || -1 == a._iDisplayLength ? a.aiDisplay.length : a._iDisplayStart + a._iDisplayLength
771
- }
772
-
773
- function Da(a) {
774
- if (a.oScroll.bInfinite)return null;
775
- var b = l.createElement("div");
776
- b.className = a.oClasses.sPaging + a.sPaginationType;
777
- j.ext.oPagination[a.sPaginationType].fnInit(a,
778
- b, function (a) {
779
- y(a);
780
- x(a)
781
- });
782
- a.aanFeatures.p || a.aoDrawCallback.push({fn: function (a) {
783
- j.ext.oPagination[a.sPaginationType].fnUpdate(a, function (a) {
784
- y(a);
785
- x(a)
786
- })
787
- }, sName : "pagination"});
788
- return b
789
- }
790
-
791
- function qa(a, b) {
792
- var c = a._iDisplayStart;
793
- if ("number" === typeof b)a._iDisplayStart = b * a._iDisplayLength, a._iDisplayStart > a.fnRecordsDisplay() && (a._iDisplayStart = 0); else if ("first" == b)a._iDisplayStart = 0; else if ("previous" == b)a._iDisplayStart = 0 <= a._iDisplayLength ? a._iDisplayStart - a._iDisplayLength : 0, 0 > a._iDisplayStart && (a._iDisplayStart =
794
- 0); else if ("next" == b)0 <= a._iDisplayLength ? a._iDisplayStart + a._iDisplayLength < a.fnRecordsDisplay() && (a._iDisplayStart += a._iDisplayLength) : a._iDisplayStart = 0; else if ("last" == b)if (0 <= a._iDisplayLength) {
795
- var d = parseInt((a.fnRecordsDisplay() - 1) / a._iDisplayLength, 10) + 1;
796
- a._iDisplayStart = (d - 1) * a._iDisplayLength
797
- } else a._iDisplayStart = 0; else D(a, 0, "Unknown paging action: " + b);
798
- h(a.oInstance).trigger("page", a);
799
- return c != a._iDisplayStart
800
- }
801
-
802
- function Aa(a) {
803
- var b = l.createElement("div");
804
- a.aanFeatures.r || (b.id = a.sTableId +
805
- "_processing");
806
- b.innerHTML = a.oLanguage.sProcessing;
807
- b.className = a.oClasses.sProcessing;
808
- a.nTable.parentNode.insertBefore(b, a.nTable);
809
- return b
810
- }
811
-
812
- function E(a, b) {
813
- if (a.oFeatures.bProcessing)for (var c = a.aanFeatures.r, d = 0, i = c.length; d < i; d++)c[d].style.visibility = b ? "visible" : "hidden";
814
- h(a.oInstance).trigger("processing", [a, b])
815
- }
816
-
817
- function Ba(a) {
818
- if ("" === a.oScroll.sX && "" === a.oScroll.sY)return a.nTable;
819
- var b = l.createElement("div"), c = l.createElement("div"), d = l.createElement("div"), i = l.createElement("div"), f = l.createElement("div"),
820
- g = l.createElement("div"), e = a.nTable.cloneNode(!1), j = a.nTable.cloneNode(!1), o = a.nTable.getElementsByTagName("thead")[0], k = 0 === a.nTable.getElementsByTagName("tfoot").length ? null : a.nTable.getElementsByTagName("tfoot")[0], m = a.oClasses;
821
- c.appendChild(d);
822
- f.appendChild(g);
823
- i.appendChild(a.nTable);
824
- b.appendChild(c);
825
- b.appendChild(i);
826
- d.appendChild(e);
827
- e.appendChild(o);
828
- null !== k && (b.appendChild(f), g.appendChild(j), j.appendChild(k));
829
- b.className = m.sScrollWrapper;
830
- c.className = m.sScrollHead;
831
- d.className = m.sScrollHeadInner;
832
- i.className = m.sScrollBody;
833
- f.className = m.sScrollFoot;
834
- g.className = m.sScrollFootInner;
835
- a.oScroll.bAutoCss && (c.style.overflow = "hidden", c.style.position = "relative", f.style.overflow = "hidden", i.style.overflow = "auto");
836
- c.style.border = "0";
837
- c.style.width = "100%";
838
- f.style.border = "0";
839
- d.style.width = "" !== a.oScroll.sXInner ? a.oScroll.sXInner : "100%";
840
- e.removeAttribute("id");
841
-
842
- if(isRtl()){
843
- e.style.marginRight = "0";
844
- a.nTable.style.marginRight = "0";
845
- null !== k && (j.removeAttribute("id"), j.style.marginRight = "0");
846
- }
847
- else{
848
- e.style.marginLeft = "0";
849
- a.nTable.style.marginLeft = "0";
850
- null !== k && (j.removeAttribute("id"), j.style.marginLeft = "0");
851
- }
852
-
853
-
854
- d = h(a.nTable).children("caption");
855
- 0 <
856
- d.length && (d = d[0], "top" === d._captionSide ? e.appendChild(d) : "bottom" === d._captionSide && k && j.appendChild(d));
857
- "" !== a.oScroll.sX && (c.style.width = q(a.oScroll.sX), i.style.width = q(a.oScroll.sX), null !== k && (f.style.width = q(a.oScroll.sX)), h(i).scroll(function () {
858
- c.scrollLeft = this.scrollLeft;
859
- if (k !== null)f.scrollLeft = this.scrollLeft
860
- }));
861
- "" !== a.oScroll.sY && (i.style.height = q(a.oScroll.sY));
862
- a.aoDrawCallback.push({fn: La, sName: "scrolling"});
863
- a.oScroll.bInfinite && h(i).scroll(function () {
864
- if (!a.bDrawing && h(this).scrollTop() !==
865
- 0 && h(this).scrollTop() + h(this).height() > h(a.nTable).height() - a.oScroll.iLoadGap && a.fnDisplayEnd() < a.fnRecordsDisplay()) {
866
- qa(a, "next");
867
- y(a);
868
- x(a)
869
- }
870
- });
871
- a.nScrollHead = c;
872
- a.nScrollFoot = f;
873
- return b
874
- }
875
-
876
- function La(a) {
877
- var b = a.nScrollHead.getElementsByTagName("div")[0], c = b.getElementsByTagName("table")[0], d = a.nTable.parentNode, i, f, g, e, j, o, k, m, p = [], n = [], l = null !== a.nTFoot ? a.nScrollFoot.getElementsByTagName("div")[0] : null, R = null !== a.nTFoot ? l.getElementsByTagName("table")[0] : null, r = a.oBrowser.bScrollOversize, s = function (a) {
878
- k =
879
- a.style;
880
- k.paddingTop = "0";
881
- k.paddingBottom = "0";
882
- k.borderTopWidth = "0";
883
- k.borderBottomWidth = "0";
884
- k.height = 0
885
- };
886
- h(a.nTable).children("thead, tfoot").remove();
887
- i = h(a.nTHead).clone()[0];
888
- a.nTable.insertBefore(i, a.nTable.childNodes[0]);
889
- g = a.nTHead.getElementsByTagName("tr");
890
- e = i.getElementsByTagName("tr");
891
- null !== a.nTFoot && (j = h(a.nTFoot).clone()[0], a.nTable.insertBefore(j, a.nTable.childNodes[1]), o = a.nTFoot.getElementsByTagName("tr"), j = j.getElementsByTagName("tr"));
892
- "" === a.oScroll.sX && (d.style.width = "100%", b.parentNode.style.width =
893
- "100%");
894
- var t = N(a, i);
895
- i = 0;
896
- for (f = t.length; i < f; i++)m = G(a, i), t[i].style.width = a.aoColumns[m].sWidth;
897
- null !== a.nTFoot && C(function (a) {
898
- a.style.width = ""
899
- }, j);
900
- a.oScroll.bCollapse && "" !== a.oScroll.sY && (d.style.height = d.offsetHeight + a.nTHead.offsetHeight + "px");
901
- i = h(a.nTable).outerWidth();
902
- if ("" === a.oScroll.sX) {
903
- if (a.nTable.style.width = "100%", r && (h("tbody", d).height() > d.offsetHeight || "scroll" == h(d).css("overflow-y")))a.nTable.style.width = q(h(a.nTable).outerWidth() - a.oScroll.iBarWidth)
904
- } else"" !== a.oScroll.sXInner ? a.nTable.style.width =
905
- q(a.oScroll.sXInner) : i == h(d).width() && h(d).height() < h(a.nTable).height() ? (a.nTable.style.width = q(i - a.oScroll.iBarWidth), h(a.nTable).outerWidth() > i - a.oScroll.iBarWidth && (a.nTable.style.width = q(i))) : a.nTable.style.width = q(i);
906
- i = h(a.nTable).outerWidth();
907
- C(s, e);
908
- C(function (a) {
909
- p.push(q(h(a).width()))
910
- }, e);
911
- C(function (a, b) {
912
- a.style.width = p[b]
913
- }, g);
914
- h(e).height(0);
915
- null !== a.nTFoot && (C(s, j), C(function (a) {
916
- n.push(q(h(a).width()))
917
- }, j), C(function (a, b) {
918
- a.style.width = n[b]
919
- }, o), h(j).height(0));
920
- C(function (a, b) {
921
- a.innerHTML =
922
- "";
923
- a.style.width = p[b]
924
- }, e);
925
- null !== a.nTFoot && C(function (a, b) {
926
- a.innerHTML = "";
927
- a.style.width = n[b]
928
- }, j);
929
- if (h(a.nTable).outerWidth() < i) {
930
- g = d.scrollHeight > d.offsetHeight || "scroll" == h(d).css("overflow-y") ? i + a.oScroll.iBarWidth : i;
931
- if (r && (d.scrollHeight > d.offsetHeight || "scroll" == h(d).css("overflow-y")))a.nTable.style.width = q(g - a.oScroll.iBarWidth);
932
- d.style.width = q(g);
933
- a.nScrollHead.style.width = q(g);
934
- null !== a.nTFoot && (a.nScrollFoot.style.width = q(g));
935
- "" === a.oScroll.sX ? D(a, 1, "The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width.") :
936
- "" !== a.oScroll.sXInner && D(a, 1, "The table cannot fit into the current element which will cause column misalignment. Increase the sScrollXInner value or remove it to allow automatic calculation")
937
- } else d.style.width = q("100%"), a.nScrollHead.style.width = q("100%"), null !== a.nTFoot && (a.nScrollFoot.style.width = q("100%"));
938
- "" === a.oScroll.sY && r && (d.style.height = q(a.nTable.offsetHeight + a.oScroll.iBarWidth));
939
- "" !== a.oScroll.sY && a.oScroll.bCollapse && (d.style.height = q(a.oScroll.sY), r = "" !== a.oScroll.sX && a.nTable.offsetWidth >
940
- d.offsetWidth ? a.oScroll.iBarWidth : 0, a.nTable.offsetHeight < d.offsetHeight && (d.style.height = q(a.nTable.offsetHeight + r)));
941
- r = h(a.nTable).outerWidth();
942
- c.style.width = q(r);
943
- b.style.width = q(r);
944
- c = h(a.nTable).height() > d.clientHeight || "scroll" == h(d).css("overflow-y");
945
- b.style.paddingRight = c ? a.oScroll.iBarWidth + "px" : "0px";
946
- null !== a.nTFoot && (R.style.width = q(r), l.style.width = q(r), l.style.paddingRight = c ? a.oScroll.iBarWidth + "px" : "0px");
947
- h(d).scroll();
948
- if (a.bSorted || a.bFiltered)d.scrollTop = 0
949
- }
950
-
951
- function C(a, b, c) {
952
- for (var d =
953
- 0, i = 0, f = b.length, g, e; i < f;) {
954
- g = b[i].firstChild;
955
- for (e = c ? c[i].firstChild : null; g;)1 === g.nodeType && (c ? a(g, e, d) : a(g, d), d++), g = g.nextSibling, e = c ? e.nextSibling : null;
956
- i++
957
- }
958
- }
959
-
960
- function Ma(a, b) {
961
- if (!a || null === a || "" === a)return 0;
962
- b || (b = l.body);
963
- var c, d = l.createElement("div");
964
- d.style.width = q(a);
965
- b.appendChild(d);
966
- c = d.offsetWidth;
967
- b.removeChild(d);
968
- return c
969
- }
970
-
971
- function da(a) {
972
- var b = 0, c, d = 0, i = a.aoColumns.length, f, e, j = h("th", a.nTHead), o = a.nTable.getAttribute("width");
973
- e = a.nTable.parentNode;
974
- for (f = 0; f < i; f++)a.aoColumns[f].bVisible &&
975
- (d++, null !== a.aoColumns[f].sWidth && (c = Ma(a.aoColumns[f].sWidthOrig, e), null !== c && (a.aoColumns[f].sWidth = q(c)), b++));
976
- if (i == j.length && 0 === b && d == i && "" === a.oScroll.sX && "" === a.oScroll.sY)for (f = 0; f < a.aoColumns.length; f++)c = h(j[f]).width(), null !== c && (a.aoColumns[f].sWidth = q(c)); else {
977
- b = a.nTable.cloneNode(!1);
978
- f = a.nTHead.cloneNode(!0);
979
- d = l.createElement("tbody");
980
- c = l.createElement("tr");
981
- b.removeAttribute("id");
982
- b.appendChild(f);
983
- null !== a.nTFoot && (b.appendChild(a.nTFoot.cloneNode(!0)), C(function (a) {
984
- a.style.width =
985
- ""
986
- }, b.getElementsByTagName("tr")));
987
- b.appendChild(d);
988
- d.appendChild(c);
989
- d = h("thead th", b);
990
- 0 === d.length && (d = h("tbody tr:eq(0)>td", b));
991
- j = N(a, f);
992
- for (f = d = 0; f < i; f++) {
993
- var k = a.aoColumns[f];
994
- k.bVisible && null !== k.sWidthOrig && "" !== k.sWidthOrig ? j[f - d].style.width = q(k.sWidthOrig) : k.bVisible ? j[f - d].style.width = "" : d++
995
- }
996
- for (f = 0; f < i; f++)a.aoColumns[f].bVisible && (d = Na(a, f), null !== d && (d = d.cloneNode(!0), "" !== a.aoColumns[f].sContentPadding && (d.innerHTML += a.aoColumns[f].sContentPadding), c.appendChild(d)));
997
- e.appendChild(b);
998
- "" !== a.oScroll.sX && "" !== a.oScroll.sXInner ? b.style.width = q(a.oScroll.sXInner) : "" !== a.oScroll.sX ? (b.style.width = "", h(b).width() < e.offsetWidth && (b.style.width = q(e.offsetWidth))) : "" !== a.oScroll.sY ? b.style.width = q(e.offsetWidth) : o && (b.style.width = q(o));
999
- b.style.visibility = "hidden";
1000
- Oa(a, b);
1001
- i = h("tbody tr:eq(0)", b).children();
1002
- 0 === i.length && (i = N(a, h("thead", b)[0]));
1003
- if ("" !== a.oScroll.sX) {
1004
- for (f = d = e = 0; f < a.aoColumns.length; f++)a.aoColumns[f].bVisible && (e = null === a.aoColumns[f].sWidthOrig ? e + h(i[d]).outerWidth() :
1005
- e + (parseInt(a.aoColumns[f].sWidth.replace("px", ""), 10) + (h(i[d]).outerWidth() - h(i[d]).width())), d++);
1006
- b.style.width = q(e);
1007
- a.nTable.style.width = q(e)
1008
- }
1009
- for (f = d = 0; f < a.aoColumns.length; f++)a.aoColumns[f].bVisible && (e = h(i[d]).width(), null !== e && 0 < e && (a.aoColumns[f].sWidth = q(e)), d++);
1010
- i = h(b).css("width");
1011
- a.nTable.style.width = -1 !== i.indexOf("%") ? i : q(h(b).outerWidth());
1012
- b.parentNode.removeChild(b)
1013
- }
1014
- o && (a.nTable.style.width = q(o))
1015
- }
1016
-
1017
- function Oa(a, b) {
1018
- "" === a.oScroll.sX && "" !== a.oScroll.sY ? (h(b).width(), b.style.width = q(h(b).outerWidth() -
1019
- a.oScroll.iBarWidth)) : "" !== a.oScroll.sX && (b.style.width = q(h(b).outerWidth()))
1020
- }
1021
-
1022
- function Na(a, b) {
1023
- var c = Pa(a, b);
1024
- if (0 > c)return null;
1025
- if (null === a.aoData[c].nTr) {
1026
- var d = l.createElement("td");
1027
- d.innerHTML = v(a, c, b, "");
1028
- return d
1029
- }
1030
- return J(a, c)[b]
1031
- }
1032
-
1033
- function Pa(a, b) {
1034
- for (var c = -1, d = -1, i = 0; i < a.aoData.length; i++) {
1035
- var e = v(a, i, b, "display") + "", e = e.replace(/<.*?>/g, "");
1036
- e.length > c && (c = e.length, d = i)
1037
- }
1038
- return d
1039
- }
1040
-
1041
- function q(a) {
1042
- if (null === a)return"0px";
1043
- if ("number" == typeof a)return 0 > a ? "0px" : a + "px";
1044
- var b = a.charCodeAt(a.length - 1);
1045
- return 48 > b || 57 < b ? a : a + "px"
1046
- }
1047
-
1048
- function Qa() {
1049
- var a = l.createElement("p"), b = a.style;
1050
- b.width = "100%";
1051
- b.height = "200px";
1052
- b.padding = "0px";
1053
- var c = l.createElement("div"), b = c.style;
1054
- b.position = "absolute";
1055
- b.top = "0px";
1056
- b.left = "0px";
1057
- b.visibility = "hidden";
1058
- b.width = "200px";
1059
- b.height = "150px";
1060
- b.padding = "0px";
1061
- b.overflow = "hidden";
1062
- c.appendChild(a);
1063
- l.body.appendChild(c);
1064
- b = a.offsetWidth;
1065
- c.style.overflow = "scroll";
1066
- a = a.offsetWidth;
1067
- b == a && (a = c.clientWidth);
1068
- l.body.removeChild(c);
1069
- return b - a
1070
- }
1071
-
1072
- function O(a, b) {
1073
- var c, d, i, e, g, k, o = [], m = [], p =
1074
- j.ext.oSort, l = a.aoData, q = a.aoColumns, G = a.oLanguage.oAria;
1075
- if (!a.oFeatures.bServerSide && (0 !== a.aaSorting.length || null !== a.aaSortingFixed)) {
1076
- o = null !== a.aaSortingFixed ? a.aaSortingFixed.concat(a.aaSorting) : a.aaSorting.slice();
1077
- for (c = 0; c < o.length; c++)if (d = o[c][0], i = R(a, d), e = a.aoColumns[d].sSortDataType, j.ext.afnSortData[e])if (g = j.ext.afnSortData[e].call(a.oInstance, a, d, i), g.length === l.length) {
1078
- i = 0;
1079
- for (e = l.length; i < e; i++)F(a, i, d, g[i])
1080
- } else D(a, 0, "Returned data sort array (col " + d + ") is the wrong length");
1081
- c =
1082
- 0;
1083
- for (d = a.aiDisplayMaster.length; c < d; c++)m[a.aiDisplayMaster[c]] = c;
1084
- var r = o.length, s;
1085
- c = 0;
1086
- for (d = l.length; c < d; c++)for (i = 0; i < r; i++) {
1087
- s = q[o[i][0]].aDataSort;
1088
- g = 0;
1089
- for (k = s.length; g < k; g++)e = q[s[g]].sType, e = p[(e ? e : "string") + "-pre"], l[c]._aSortData[s[g]] = e ? e(v(a, c, s[g], "sort")) : v(a, c, s[g], "sort")
1090
- }
1091
- a.aiDisplayMaster.sort(function (a, b) {
1092
- var c, d, e, i, f;
1093
- for (c = 0; c < r; c++) {
1094
- f = q[o[c][0]].aDataSort;
1095
- d = 0;
1096
- for (e = f.length; d < e; d++)if (i = q[f[d]].sType, i = p[(i ? i : "string") + "-" + o[c][1]](l[a]._aSortData[f[d]], l[b]._aSortData[f[d]]), 0 !==
1097
- i)return i
1098
- }
1099
- return p["numeric-asc"](m[a], m[b])
1100
- })
1101
- }
1102
- (b === n || b) && !a.oFeatures.bDeferRender && P(a);
1103
- c = 0;
1104
- for (d = a.aoColumns.length; c < d; c++)e = q[c].sTitle.replace(/<.*?>/g, ""), i = q[c].nTh, i.removeAttribute("aria-sort"), i.removeAttribute("aria-label"), q[c].bSortable ? 0 < o.length && o[0][0] == c ? (i.setAttribute("aria-sort", "asc" == o[0][1] ? "ascending" : "descending"), i.setAttribute("aria-label", e + ("asc" == (q[c].asSorting[o[0][2] + 1] ? q[c].asSorting[o[0][2] + 1] : q[c].asSorting[0]) ? G.sSortAscending : G.sSortDescending))) : i.setAttribute("aria-label",
1105
- e + ("asc" == q[c].asSorting[0] ? G.sSortAscending : G.sSortDescending)) : i.setAttribute("aria-label", e);
1106
- a.bSorted = !0;
1107
- h(a.oInstance).trigger("sort", a);
1108
- a.oFeatures.bFilter ? K(a, a.oPreviousSearch, 1) : (a.aiDisplay = a.aiDisplayMaster.slice(), a._iDisplayStart = 0, y(a), x(a))
1109
- }
1110
-
1111
- function ia(a, b, c, d) {
1112
- Ra(b, {}, function (b) {
1113
- if (!1 !== a.aoColumns[c].bSortable) {
1114
- var e = function () {
1115
- var d, e;
1116
- if (b.shiftKey) {
1117
- for (var f = !1, h = 0; h < a.aaSorting.length; h++)if (a.aaSorting[h][0] == c) {
1118
- f = !0;
1119
- d = a.aaSorting[h][0];
1120
- e = a.aaSorting[h][2] + 1;
1121
- a.aoColumns[d].asSorting[e] ?
1122
- (a.aaSorting[h][1] = a.aoColumns[d].asSorting[e], a.aaSorting[h][2] = e) : a.aaSorting.splice(h, 1);
1123
- break
1124
- }
1125
- !1 === f && a.aaSorting.push([c, a.aoColumns[c].asSorting[0], 0])
1126
- } else 1 == a.aaSorting.length && a.aaSorting[0][0] == c ? (d = a.aaSorting[0][0], e = a.aaSorting[0][2] + 1, a.aoColumns[d].asSorting[e] || (e = 0), a.aaSorting[0][1] = a.aoColumns[d].asSorting[e], a.aaSorting[0][2] = e) : (a.aaSorting.splice(0, a.aaSorting.length), a.aaSorting.push([c, a.aoColumns[c].asSorting[0], 0]));
1127
- O(a)
1128
- };
1129
- a.oFeatures.bProcessing ? (E(a, !0), setTimeout(function () {
1130
- e();
1131
- a.oFeatures.bServerSide || E(a, !1)
1132
- }, 0)) : e();
1133
- "function" == typeof d && d(a)
1134
- }
1135
- })
1136
- }
1137
-
1138
- function P(a) {
1139
- var b, c, d, e, f, g = a.aoColumns.length, j = a.oClasses;
1140
- for (b = 0; b < g; b++)a.aoColumns[b].bSortable && h(a.aoColumns[b].nTh).removeClass(j.sSortAsc + " " + j.sSortDesc + " " + a.aoColumns[b].sSortingClass);
1141
- c = null !== a.aaSortingFixed ? a.aaSortingFixed.concat(a.aaSorting) : a.aaSorting.slice();
1142
- for (b = 0; b < a.aoColumns.length; b++)if (a.aoColumns[b].bSortable) {
1143
- f = a.aoColumns[b].sSortingClass;
1144
- e = -1;
1145
- for (d = 0; d < c.length; d++)if (c[d][0] == b) {
1146
- f = "asc" == c[d][1] ?
1147
- j.sSortAsc : j.sSortDesc;
1148
- e = d;
1149
- break
1150
- }
1151
- h(a.aoColumns[b].nTh).addClass(f);
1152
- a.bJUI && (f = h("span." + j.sSortIcon, a.aoColumns[b].nTh), f.removeClass(j.sSortJUIAsc + " " + j.sSortJUIDesc + " " + j.sSortJUI + " " + j.sSortJUIAscAllowed + " " + j.sSortJUIDescAllowed), f.addClass(-1 == e ? a.aoColumns[b].sSortingClassJUI : "asc" == c[e][1] ? j.sSortJUIAsc : j.sSortJUIDesc))
1153
- } else h(a.aoColumns[b].nTh).addClass(a.aoColumns[b].sSortingClass);
1154
- f = j.sSortColumn;
1155
- if (a.oFeatures.bSort && a.oFeatures.bSortClasses) {
1156
- a = J(a);
1157
- e = [];
1158
- for (b = 0; b < g; b++)e.push("");
1159
- b = 0;
1160
- for (d = 1; b < c.length; b++)j = parseInt(c[b][0], 10), e[j] = f + d, 3 > d && d++;
1161
- f = RegExp(f + "[123]");
1162
- var o;
1163
- b = 0;
1164
- for (c = a.length; b < c; b++)j = b % g, d = a[b].className, o = e[j], j = d.replace(f, o), j != d ? a[b].className = h.trim(j) : 0 < o.length && -1 == d.indexOf(o) && (a[b].className = d + " " + o)
1165
- }
1166
- }
1167
-
1168
- function ra(a) {
1169
- if (a.oFeatures.bStateSave && !a.bDestroying) {
1170
- var b, c;
1171
- b = a.oScroll.bInfinite;
1172
- var d = {iCreate: (new Date).getTime(), iStart: b ? 0 : a._iDisplayStart, iEnd: b ? a._iDisplayLength : a._iDisplayEnd, iLength: a._iDisplayLength, aaSorting: h.extend(!0, [], a.aaSorting),
1173
- oSearch : h.extend(!0, {}, a.oPreviousSearch), aoSearchCols: h.extend(!0, [], a.aoPreSearchCols), abVisCols: []};
1174
- b = 0;
1175
- for (c = a.aoColumns.length; b < c; b++)d.abVisCols.push(a.aoColumns[b].bVisible);
1176
- A(a, "aoStateSaveParams", "stateSaveParams", [a, d]);
1177
- a.fnStateSave.call(a.oInstance, a, d)
1178
- }
1179
- }
1180
-
1181
- function Sa(a, b) {
1182
- if (a.oFeatures.bStateSave) {
1183
- var c = a.fnStateLoad.call(a.oInstance, a);
1184
- if (c) {
1185
- var d = A(a, "aoStateLoadParams", "stateLoadParams", [a, c]);
1186
- if (-1 === h.inArray(!1, d)) {
1187
- a.oLoadedState = h.extend(!0, {}, c);
1188
- a._iDisplayStart = c.iStart;
1189
- a.iInitDisplayStart =
1190
- c.iStart;
1191
- a._iDisplayEnd = c.iEnd;
1192
- a._iDisplayLength = c.iLength;
1193
- a.aaSorting = c.aaSorting.slice();
1194
- a.saved_aaSorting = c.aaSorting.slice();
1195
- h.extend(a.oPreviousSearch, c.oSearch);
1196
- h.extend(!0, a.aoPreSearchCols, c.aoSearchCols);
1197
- b.saved_aoColumns = [];
1198
- for (d = 0; d < c.abVisCols.length; d++)b.saved_aoColumns[d] = {}, b.saved_aoColumns[d].bVisible = c.abVisCols[d];
1199
- A(a, "aoStateLoaded", "stateLoaded", [a, c])
1200
- }
1201
- }
1202
- }
1203
- }
1204
-
1205
- function s(a) {
1206
- for (var b = 0; b < j.settings.length; b++)if (j.settings[b].nTable === a)return j.settings[b];
1207
- return null
1208
- }
1209
-
1210
- function T(a) {
1211
- for (var b =
1212
- [], a = a.aoData, c = 0, d = a.length; c < d; c++)null !== a[c].nTr && b.push(a[c].nTr);
1213
- return b
1214
- }
1215
-
1216
- function J(a, b) {
1217
- var c = [], d, e, f, g, h, j;
1218
- e = 0;
1219
- var o = a.aoData.length;
1220
- b !== n && (e = b, o = b + 1);
1221
- for (f = e; f < o; f++)if (j = a.aoData[f], null !== j.nTr) {
1222
- e = [];
1223
- for (d = j.nTr.firstChild; d;)g = d.nodeName.toLowerCase(), ("td" == g || "th" == g) && e.push(d), d = d.nextSibling;
1224
- g = d = 0;
1225
- for (h = a.aoColumns.length; g < h; g++)a.aoColumns[g].bVisible ? c.push(e[g - d]) : (c.push(j._anHidden[g]), d++)
1226
- }
1227
- return c
1228
- }
1229
-
1230
- function D(a, b, c) {
1231
- a = null === a ? "DataTables warning: " + c : "DataTables warning (table id = '" +
1232
- a.sTableId + "'): " + c;
1233
- if (0 === b)if ("alert" == j.ext.sErrMode)alert(a); else throw Error(a); else X.console && console.log && console.log(a)
1234
- }
1235
-
1236
- function p(a, b, c, d) {
1237
- d === n && (d = c);
1238
- b[c] !== n && (a[d] = b[c])
1239
- }
1240
-
1241
- function Ta(a, b) {
1242
- var c, d;
1243
- for (d in b)b.hasOwnProperty(d) && (c = b[d], "object" === typeof e[d] && null !== c && !1 === h.isArray(c) ? h.extend(!0, a[d], c) : a[d] = c);
1244
- return a
1245
- }
1246
-
1247
- function Ra(a, b, c) {
1248
- h(a).bind("click.DT", b,function (b) {
1249
- a.blur();
1250
- c(b)
1251
- }).bind("keypress.DT", b,function (a) {
1252
- 13 === a.which && c(a)
1253
- }).bind("selectstart.DT", function () {
1254
- return!1
1255
- })
1256
- }
1257
-
1258
- function z(a, b, c, d) {
1259
- c && a[b].push({fn: c, sName: d})
1260
- }
1261
-
1262
- function A(a, b, c, d) {
1263
- for (var b = a[b], e = [], f = b.length - 1; 0 <= f; f--)e.push(b[f].fn.apply(a.oInstance, d));
1264
- null !== c && h(a.oInstance).trigger(c, d);
1265
- return e
1266
- }
1267
-
1268
- function Ua(a) {
1269
- var b = h('<div style="position:absolute; top:0; left:0; height:1px; width:1px; overflow:hidden"><div style="position:absolute; top:1px; left:1px; width:100px; overflow:scroll;"><div id="DT_BrowserTest" style="width:100%; height:10px;"></div></div></div>')[0];
1270
- l.body.appendChild(b);
1271
- a.oBrowser.bScrollOversize =
1272
- 100 === h("#DT_BrowserTest", b)[0].offsetWidth ? !0 : !1;
1273
- l.body.removeChild(b)
1274
- }
1275
-
1276
- function Va(a) {
1277
- return function () {
1278
- var b = [s(this[j.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));
1279
- return j.ext.oApi[a].apply(this, b)
1280
- }
1281
- }
1282
-
1283
- var U = /\[.*?\]$/, Wa = X.JSON ? JSON.stringify : function (a) {
1284
- var b = typeof a;
1285
- if ("object" !== b || null === a)return"string" === b && (a = '"' + a + '"'), a + "";
1286
- var c, d, e = [], f = h.isArray(a);
1287
- for (c in a)d = a[c], b = typeof d, "string" === b ? d = '"' + d + '"' : "object" === b && null !== d && (d = Wa(d)), e.push((f ? "" : '"' + c + '":') + d);
1288
- return(f ?
1289
- "[" : "{") + e + (f ? "]" : "}")
1290
- };
1291
- this.$ = function (a, b) {
1292
- var c, d, e = [], f;
1293
- d = s(this[j.ext.iApiIndex]);
1294
- var g = d.aoData, o = d.aiDisplay, k = d.aiDisplayMaster;
1295
- b || (b = {});
1296
- b = h.extend({}, {filter: "none", order: "current", page: "all"}, b);
1297
- if ("current" == b.page) {
1298
- c = d._iDisplayStart;
1299
- for (d = d.fnDisplayEnd(); c < d; c++)(f = g[o[c]].nTr) && e.push(f)
1300
- } else if ("current" == b.order && "none" == b.filter) {
1301
- c = 0;
1302
- for (d = k.length; c < d; c++)(f = g[k[c]].nTr) && e.push(f)
1303
- } else if ("current" == b.order && "applied" == b.filter) {
1304
- c = 0;
1305
- for (d = o.length; c < d; c++)(f = g[o[c]].nTr) && e.push(f)
1306
- } else if ("original" ==
1307
- b.order && "none" == b.filter) {
1308
- c = 0;
1309
- for (d = g.length; c < d; c++)(f = g[c].nTr) && e.push(f)
1310
- } else if ("original" == b.order && "applied" == b.filter) {
1311
- c = 0;
1312
- for (d = g.length; c < d; c++)f = g[c].nTr, -1 !== h.inArray(c, o) && f && e.push(f)
1313
- } else D(d, 1, "Unknown selection options");
1314
- e = h(e);
1315
- c = e.filter(a);
1316
- e = e.find(a);
1317
- return h([].concat(h.makeArray(c), h.makeArray(e)))
1318
- };
1319
- this._ = function (a, b) {
1320
- var c = [], d, e, f = this.$(a, b);
1321
- d = 0;
1322
- for (e = f.length; d < e; d++)c.push(this.fnGetData(f[d]));
1323
- return c
1324
- };
1325
- this.fnAddData = function (a, b) {
1326
- if (0 === a.length)return[];
1327
- var c = [],
1328
- d, e = s(this[j.ext.iApiIndex]);
1329
- if ("object" === typeof a[0] && null !== a[0])for (var f = 0; f < a.length; f++) {
1330
- d = H(e, a[f]);
1331
- if (-1 == d)return c;
1332
- c.push(d)
1333
- } else {
1334
- d = H(e, a);
1335
- if (-1 == d)return c;
1336
- c.push(d)
1337
- }
1338
- e.aiDisplay = e.aiDisplayMaster.slice();
1339
- (b === n || b) && aa(e);
1340
- return c
1341
- };
1342
- this.fnAdjustColumnSizing = function (a) {
1343
- var b = s(this[j.ext.iApiIndex]);
1344
- k(b);
1345
- a === n || a ? this.fnDraw(!1) : ("" !== b.oScroll.sX || "" !== b.oScroll.sY) && this.oApi._fnScrollDraw(b)
1346
- };
1347
- this.fnClearTable = function (a) {
1348
- var b = s(this[j.ext.iApiIndex]);
1349
- ga(b);
1350
- (a === n || a) && x(b)
1351
- };
1352
- this.fnClose =
1353
- function (a) {
1354
- for (var b = s(this[j.ext.iApiIndex]), c = 0; c < b.aoOpenRows.length; c++)if (b.aoOpenRows[c].nParent == a)return(a = b.aoOpenRows[c].nTr.parentNode) && a.removeChild(b.aoOpenRows[c].nTr), b.aoOpenRows.splice(c, 1), 0;
1355
- return 1
1356
- };
1357
- this.fnDeleteRow = function (a, b, c) {
1358
- var d = s(this[j.ext.iApiIndex]), e, f, a = "object" === typeof a ? I(d, a) : a, g = d.aoData.splice(a, 1);
1359
- e = 0;
1360
- for (f = d.aoData.length; e < f; e++)null !== d.aoData[e].nTr && (d.aoData[e].nTr._DT_RowIndex = e);
1361
- e = h.inArray(a, d.aiDisplay);
1362
- d.asDataSearch.splice(e, 1);
1363
- ha(d.aiDisplayMaster,
1364
- a);
1365
- ha(d.aiDisplay, a);
1366
- "function" === typeof b && b.call(this, d, g);
1367
- d._iDisplayStart >= d.fnRecordsDisplay() && (d._iDisplayStart -= d._iDisplayLength, 0 > d._iDisplayStart && (d._iDisplayStart = 0));
1368
- if (c === n || c)y(d), x(d);
1369
- return g
1370
- };
1371
- this.fnDestroy = function (a) {
1372
- var b = s(this[j.ext.iApiIndex]), c = b.nTableWrapper.parentNode, d = b.nTBody, i, f, a = a === n ? !1 : a;
1373
- b.bDestroying = !0;
1374
- A(b, "aoDestroyCallback", "destroy", [b]);
1375
- if (!a) {
1376
- i = 0;
1377
- for (f = b.aoColumns.length; i < f; i++)!1 === b.aoColumns[i].bVisible && this.fnSetColumnVis(i, !0)
1378
- }
1379
- h(b.nTableWrapper).find("*").andSelf().unbind(".DT");
1380
- h("tbody>tr>td." + b.oClasses.sRowEmpty, b.nTable).parent().remove();
1381
- b.nTable != b.nTHead.parentNode && (h(b.nTable).children("thead").remove(), b.nTable.appendChild(b.nTHead));
1382
- b.nTFoot && b.nTable != b.nTFoot.parentNode && (h(b.nTable).children("tfoot").remove(), b.nTable.appendChild(b.nTFoot));
1383
- b.nTable.parentNode.removeChild(b.nTable);
1384
- h(b.nTableWrapper).remove();
1385
- b.aaSorting = [];
1386
- b.aaSortingFixed = [];
1387
- P(b);
1388
- h(T(b)).removeClass(b.asStripeClasses.join(" "));
1389
- h("th, td", b.nTHead).removeClass([b.oClasses.sSortable, b.oClasses.sSortableAsc,
1390
- b.oClasses.sSortableDesc, b.oClasses.sSortableNone].join(" "));
1391
- b.bJUI && (h("th span." + b.oClasses.sSortIcon + ", td span." + b.oClasses.sSortIcon, b.nTHead).remove(), h("th, td", b.nTHead).each(function () {
1392
- var a = h("div." + b.oClasses.sSortJUIWrapper, this), c = a.contents();
1393
- h(this).append(c);
1394
- a.remove()
1395
- }));
1396
- !a && b.nTableReinsertBefore ? c.insertBefore(b.nTable, b.nTableReinsertBefore) : a || c.appendChild(b.nTable);
1397
- i = 0;
1398
- for (f = b.aoData.length; i < f; i++)null !== b.aoData[i].nTr && d.appendChild(b.aoData[i].nTr);
1399
- !0 === b.oFeatures.bAutoWidth &&
1400
- (b.nTable.style.width = q(b.sDestroyWidth));
1401
- if (f = b.asDestroyStripes.length) {
1402
- a = h(d).children("tr");
1403
- for (i = 0; i < f; i++)a.filter(":nth-child(" + f + "n + " + i + ")").addClass(b.asDestroyStripes[i])
1404
- }
1405
- i = 0;
1406
- for (f = j.settings.length; i < f; i++)j.settings[i] == b && j.settings.splice(i, 1);
1407
- e = b = null
1408
- };
1409
- this.fnDraw = function (a) {
1410
- var b = s(this[j.ext.iApiIndex]);
1411
- !1 === a ? (y(b), x(b)) : aa(b)
1412
- };
1413
- this.fnFilter = function (a, b, c, d, e, f) {
1414
- var g = s(this[j.ext.iApiIndex]);
1415
- if (g.oFeatures.bFilter) {
1416
- if (c === n || null === c)c = !1;
1417
- if (d === n || null === d)d = !0;
1418
- if (e === n || null ===
1419
- e)e = !0;
1420
- if (f === n || null === f)f = !0;
1421
- if (b === n || null === b) {
1422
- if (K(g, {sSearch: a + "", bRegex: c, bSmart: d, bCaseInsensitive: f}, 1), e && g.aanFeatures.f) {
1423
- b = g.aanFeatures.f;
1424
- c = 0;
1425
- for (d = b.length; c < d; c++)try {
1426
- b[c]._DT_Input != l.activeElement && h(b[c]._DT_Input).val(a)
1427
- } catch (o) {
1428
- h(b[c]._DT_Input).val(a)
1429
- }
1430
- }
1431
- } else h.extend(g.aoPreSearchCols[b], {sSearch: a + "", bRegex: c, bSmart: d, bCaseInsensitive: f}), K(g, g.oPreviousSearch, 1)
1432
- }
1433
- };
1434
- this.fnGetData = function (a, b) {
1435
- var c = s(this[j.ext.iApiIndex]);
1436
- if (a !== n) {
1437
- var d = a;
1438
- if ("object" === typeof a) {
1439
- var e = a.nodeName.toLowerCase();
1440
- "tr" === e ? d = I(c, a) : "td" === e && (d = I(c, a.parentNode), b = fa(c, d, a))
1441
- }
1442
- return b !== n ? v(c, d, b, "") : c.aoData[d] !== n ? c.aoData[d]._aData : null
1443
- }
1444
- return Z(c)
1445
- };
1446
- this.fnGetNodes = function (a) {
1447
- var b = s(this[j.ext.iApiIndex]);
1448
- return a !== n ? b.aoData[a] !== n ? b.aoData[a].nTr : null : T(b)
1449
- };
1450
- this.fnGetPosition = function (a) {
1451
- var b = s(this[j.ext.iApiIndex]), c = a.nodeName.toUpperCase();
1452
- return"TR" == c ? I(b, a) : "TD" == c || "TH" == c ? (c = I(b, a.parentNode), a = fa(b, c, a), [c, R(b, a), a]) : null
1453
- };
1454
- this.fnIsOpen = function (a) {
1455
- for (var b = s(this[j.ext.iApiIndex]), c = 0; c <
1456
- b.aoOpenRows.length; c++)if (b.aoOpenRows[c].nParent == a)return!0;
1457
- return!1
1458
- };
1459
- this.fnOpen = function (a, b, c) {
1460
- var d = s(this[j.ext.iApiIndex]), e = T(d);
1461
- if (-1 !== h.inArray(a, e)) {
1462
- this.fnClose(a);
1463
- var e = l.createElement("tr"), f = l.createElement("td");
1464
- e.appendChild(f);
1465
- f.className = c;
1466
- f.colSpan = t(d);
1467
- "string" === typeof b ? f.innerHTML = b : h(f).html(b);
1468
- b = h("tr", d.nTBody);
1469
- -1 != h.inArray(a, b) && h(e).insertAfter(a);
1470
- d.aoOpenRows.push({nTr: e, nParent: a});
1471
- return e
1472
- }
1473
- };
1474
- this.fnPageChange = function (a, b) {
1475
- var c = s(this[j.ext.iApiIndex]);
1476
- qa(c, a);
1477
- y(c);
1478
- (b === n || b) && x(c)
1479
- };
1480
- this.fnSetColumnVis = function (a, b, c) {
1481
- var d = s(this[j.ext.iApiIndex]), e, f, g = d.aoColumns, h = d.aoData, o, m;
1482
- if (g[a].bVisible != b) {
1483
- if (b) {
1484
- for (e = f = 0; e < a; e++)g[e].bVisible && f++;
1485
- m = f >= t(d);
1486
- if (!m)for (e = a; e < g.length; e++)if (g[e].bVisible) {
1487
- o = e;
1488
- break
1489
- }
1490
- e = 0;
1491
- for (f = h.length; e < f; e++)null !== h[e].nTr && (m ? h[e].nTr.appendChild(h[e]._anHidden[a]) : h[e].nTr.insertBefore(h[e]._anHidden[a], J(d, e)[o]))
1492
- } else {
1493
- e = 0;
1494
- for (f = h.length; e < f; e++)null !== h[e].nTr && (o = J(d, e)[a], h[e]._anHidden[a] = o, o.parentNode.removeChild(o))
1495
- }
1496
- g[a].bVisible =
1497
- b;
1498
- W(d, d.aoHeader);
1499
- d.nTFoot && W(d, d.aoFooter);
1500
- e = 0;
1501
- for (f = d.aoOpenRows.length; e < f; e++)d.aoOpenRows[e].nTr.colSpan = t(d);
1502
- if (c === n || c)k(d), x(d);
1503
- ra(d)
1504
- }
1505
- };
1506
- this.fnSettings = function () {
1507
- return s(this[j.ext.iApiIndex])
1508
- };
1509
- this.fnSort = function (a) {
1510
- var b = s(this[j.ext.iApiIndex]);
1511
- b.aaSorting = a;
1512
- O(b)
1513
- };
1514
- this.fnSortListener = function (a, b, c) {
1515
- ia(s(this[j.ext.iApiIndex]), a, b, c)
1516
- };
1517
- this.fnUpdate = function (a, b, c, d, e) {
1518
- var f = s(this[j.ext.iApiIndex]), b = "object" === typeof b ? I(f, b) : b;
1519
- if (h.isArray(a) && c === n) {
1520
- f.aoData[b]._aData = a.slice();
1521
- for (c = 0; c < f.aoColumns.length; c++)this.fnUpdate(v(f, b, c), b, c, !1, !1)
1522
- } else if (h.isPlainObject(a) && c === n) {
1523
- f.aoData[b]._aData = h.extend(!0, {}, a);
1524
- for (c = 0; c < f.aoColumns.length; c++)this.fnUpdate(v(f, b, c), b, c, !1, !1)
1525
- } else {
1526
- F(f, b, c, a);
1527
- var a = v(f, b, c, "display"), g = f.aoColumns[c];
1528
- null !== g.fnRender && (a = S(f, b, c), g.bUseRendered && F(f, b, c, a));
1529
- null !== f.aoData[b].nTr && (J(f, b)[c].innerHTML = a)
1530
- }
1531
- c = h.inArray(b, f.aiDisplay);
1532
- f.asDataSearch[c] = na(f, Y(f, b, "filter", r(f, "bSearchable")));
1533
- (e === n || e) && k(f);
1534
- (d === n || d) && aa(f);
1535
- return 0
1536
- };
1537
- this.fnVersionCheck = j.ext.fnVersionCheck;
1538
- this.oApi = {_fnExternApiFunc: Va, _fnInitialise: ba, _fnInitComplete: $, _fnLanguageCompat: pa, _fnAddColumn: o, _fnColumnOptions: m, _fnAddData: H, _fnCreateTr: ea, _fnGatherData: ua, _fnBuildHead: va, _fnDrawHead: W, _fnDraw: x, _fnReDraw: aa, _fnAjaxUpdate: wa, _fnAjaxParameters: Ea, _fnAjaxUpdateDraw: Fa, _fnServerParams: ka, _fnAddOptionsHtml: xa, _fnFeatureHtmlTable: Ba, _fnScrollDraw: La, _fnAdjustColumnSizing: k, _fnFeatureHtmlFilter: za, _fnFilterComplete: K, _fnFilterCustom: Ia, _fnFilterColumn: Ha,
1539
- _fnFilter : Ga, _fnBuildSearchArray: la, _fnBuildSearchRow: na, _fnFilterCreateSearch: ma, _fnDataToSearch: Ja, _fnSort: O, _fnSortAttachListener: ia, _fnSortingClasses: P, _fnFeatureHtmlPaginate: Da, _fnPageChange: qa, _fnFeatureHtmlInfo: Ca, _fnUpdateInfo: Ka, _fnFeatureHtmlLength: ya, _fnFeatureHtmlProcessing: Aa, _fnProcessingDisplay: E, _fnVisibleToColumnIndex: G, _fnColumnIndexToVisible: R, _fnNodeToDataIndex: I, _fnVisbleColumns: t, _fnCalculateEnd: y, _fnConvertToWidth: Ma, _fnCalculateColumnWidths: da, _fnScrollingWidthAdjust: Oa, _fnGetWidestNode: Na,
1540
- _fnGetMaxLenString : Pa, _fnStringToCss: q, _fnDetectType: B, _fnSettingsFromNode: s, _fnGetDataMaster: Z, _fnGetTrNodes: T, _fnGetTdNodes: J, _fnEscapeRegex: oa, _fnDeleteIndex: ha, _fnReOrderIndex: u, _fnColumnOrdering: M, _fnLog: D, _fnClearTable: ga, _fnSaveState: ra, _fnLoadState: Sa, _fnCreateCookie: function (a, b, c, d, e) {
1541
- var f = new Date;
1542
- f.setTime(f.getTime() + 1E3 * c);
1543
- var c = X.location.pathname.split("/"), a = a + "_" + c.pop().replace(/[\/:]/g, "").toLowerCase(), g;
1544
- null !== e ? (g = "function" === typeof h.parseJSON ? h.parseJSON(b) : eval("(" + b + ")"),
1545
- b = e(a, g, f.toGMTString(), c.join("/") + "/")) : b = a + "=" + encodeURIComponent(b) + "; expires=" + f.toGMTString() + "; path=" + c.join("/") + "/";
1546
- a = l.cookie.split(";");
1547
- e = b.split(";")[0].length;
1548
- f = [];
1549
- if (4096 < e + l.cookie.length + 10) {
1550
- for (var j = 0, o = a.length; j < o; j++)if (-1 != a[j].indexOf(d)) {
1551
- var k = a[j].split("=");
1552
- try {
1553
- (g = eval("(" + decodeURIComponent(k[1]) + ")")) && g.iCreate && f.push({name: k[0], time: g.iCreate})
1554
- } catch (m) {
1555
- }
1556
- }
1557
- for (f.sort(function (a, b) {
1558
- return b.time - a.time
1559
- }); 4096 < e + l.cookie.length + 10;) {
1560
- if (0 === f.length)return;
1561
- d = f.pop();
1562
- l.cookie =
1563
- d.name + "=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=" + c.join("/") + "/"
1564
- }
1565
- }
1566
- l.cookie = b
1567
- }, _fnReadCookie : function (a) {
1568
- for (var b = X.location.pathname.split("/"), a = a + "_" + b[b.length - 1].replace(/[\/:]/g, "").toLowerCase() + "=", b = l.cookie.split(";"), c = 0; c < b.length; c++) {
1569
- for (var d = b[c]; " " == d.charAt(0);)d = d.substring(1, d.length);
1570
- if (0 === d.indexOf(a))return decodeURIComponent(d.substring(a.length, d.length))
1571
- }
1572
- return null
1573
- }, _fnDetectHeader : V, _fnGetUniqueThs: N, _fnScrollBarWidth: Qa, _fnApplyToChildren: C, _fnMap: p, _fnGetRowData: Y,
1574
- _fnGetCellData : v, _fnSetCellData: F, _fnGetObjectDataFn: Q, _fnSetObjectDataFn: L, _fnApplyColumnDefs: ta, _fnBindAction: Ra, _fnExtend: Ta, _fnCallbackReg: z, _fnCallbackFire: A, _fnJsonString: Wa, _fnRender: S, _fnNodeToColumnIndex: fa, _fnInfoMacros: ja, _fnBrowserDetect: Ua, _fnGetColumns: r};
1575
- h.extend(j.ext.oApi, this.oApi);
1576
- for (var sa in j.ext.oApi)sa && (this[sa] = Va(sa));
1577
- var ca = this;
1578
- this.each(function () {
1579
- var a = 0, b, c, d;
1580
- c = this.getAttribute("id");
1581
- var i = !1, f = !1;
1582
- if ("table" != this.nodeName.toLowerCase())D(null, 0, "Attempted to initialise DataTables on a node which is not a table: " +
1583
- this.nodeName); else {
1584
- a = 0;
1585
- for (b = j.settings.length; a < b; a++) {
1586
- if (j.settings[a].nTable == this) {
1587
- if (e === n || e.bRetrieve)return j.settings[a].oInstance;
1588
- if (e.bDestroy) {
1589
- j.settings[a].oInstance.fnDestroy();
1590
- break
1591
- } else {
1592
- D(j.settings[a], 0, "Cannot reinitialise DataTable.\n\nTo retrieve the DataTables object for this table, pass no arguments or see the docs for bRetrieve and bDestroy");
1593
- return
1594
- }
1595
- }
1596
- if (j.settings[a].sTableId == this.id) {
1597
- j.settings.splice(a, 1);
1598
- break
1599
- }
1600
- }
1601
- if (null === c || "" === c)this.id = c = "DataTables_Table_" + j.ext._oExternConfig.iNextUnique++;
1602
- var g = h.extend(!0, {}, j.models.oSettings, {nTable: this, oApi: ca.oApi, oInit: e, sDestroyWidth: h(this).width(), sInstance: c, sTableId: c});
1603
- j.settings.push(g);
1604
- g.oInstance = 1 === ca.length ? ca : h(this).dataTable();
1605
- e || (e = {});
1606
- e.oLanguage && pa(e.oLanguage);
1607
- e = Ta(h.extend(!0, {}, j.defaults), e);
1608
- p(g.oFeatures, e, "bPaginate");
1609
- p(g.oFeatures, e, "bLengthChange");
1610
- p(g.oFeatures, e, "bFilter");
1611
- p(g.oFeatures, e, "bSort");
1612
- p(g.oFeatures, e, "bInfo");
1613
- p(g.oFeatures, e, "bProcessing");
1614
- p(g.oFeatures, e, "bAutoWidth");
1615
- p(g.oFeatures, e, "bSortClasses");
1616
- p(g.oFeatures, e, "bServerSide");
1617
- p(g.oFeatures, e, "bDeferRender");
1618
- p(g.oScroll, e, "sScrollX", "sX");
1619
- p(g.oScroll, e, "sScrollXInner", "sXInner");
1620
- p(g.oScroll, e, "sScrollY", "sY");
1621
- p(g.oScroll, e, "bScrollCollapse", "bCollapse");
1622
- p(g.oScroll, e, "bScrollInfinite", "bInfinite");
1623
- p(g.oScroll, e, "iScrollLoadGap", "iLoadGap");
1624
- p(g.oScroll, e, "bScrollAutoCss", "bAutoCss");
1625
- p(g, e, "asStripeClasses");
1626
- p(g, e, "asStripClasses", "asStripeClasses");
1627
- p(g, e, "fnServerData");
1628
- p(g, e, "fnFormatNumber");
1629
- p(g, e, "sServerMethod");
1630
- p(g, e, "aaSorting");
1631
- p(g,
1632
- e, "aaSortingFixed");
1633
- p(g, e, "aLengthMenu");
1634
- p(g, e, "sPaginationType");
1635
- p(g, e, "sAjaxSource");
1636
- p(g, e, "sAjaxDataProp");
1637
- p(g, e, "iCookieDuration");
1638
- p(g, e, "sCookiePrefix");
1639
- p(g, e, "sDom");
1640
- p(g, e, "bSortCellsTop");
1641
- p(g, e, "iTabIndex");
1642
- p(g, e, "oSearch", "oPreviousSearch");
1643
- p(g, e, "aoSearchCols", "aoPreSearchCols");
1644
- p(g, e, "iDisplayLength", "_iDisplayLength");
1645
- p(g, e, "bJQueryUI", "bJUI");
1646
- p(g, e, "fnCookieCallback");
1647
- p(g, e, "fnStateLoad");
1648
- p(g, e, "fnStateSave");
1649
- p(g.oLanguage, e, "fnInfoCallback");
1650
- z(g, "aoDrawCallback", e.fnDrawCallback, "user");
1651
- z(g, "aoServerParams", e.fnServerParams, "user");
1652
- z(g, "aoStateSaveParams", e.fnStateSaveParams, "user");
1653
- z(g, "aoStateLoadParams", e.fnStateLoadParams, "user");
1654
- z(g, "aoStateLoaded", e.fnStateLoaded, "user");
1655
- z(g, "aoRowCallback", e.fnRowCallback, "user");
1656
- z(g, "aoRowCreatedCallback", e.fnCreatedRow, "user");
1657
- z(g, "aoHeaderCallback", e.fnHeaderCallback, "user");
1658
- z(g, "aoFooterCallback", e.fnFooterCallback, "user");
1659
- z(g, "aoInitComplete", e.fnInitComplete, "user");
1660
- z(g, "aoPreDrawCallback", e.fnPreDrawCallback, "user");
1661
- g.oFeatures.bServerSide &&
1662
- g.oFeatures.bSort && g.oFeatures.bSortClasses ? z(g, "aoDrawCallback", P, "server_side_sort_classes") : g.oFeatures.bDeferRender && z(g, "aoDrawCallback", P, "defer_sort_classes");
1663
- e.bJQueryUI ? (h.extend(g.oClasses, j.ext.oJUIClasses), e.sDom === j.defaults.sDom && "lfrtip" === j.defaults.sDom && (g.sDom = '<"H"lfr>t<"F"ip>')) : h.extend(g.oClasses, j.ext.oStdClasses);
1664
- h(this).addClass(g.oClasses.sTable);
1665
- if ("" !== g.oScroll.sX || "" !== g.oScroll.sY)g.oScroll.iBarWidth = Qa();
1666
- g.iInitDisplayStart === n && (g.iInitDisplayStart = e.iDisplayStart,
1667
- g._iDisplayStart = e.iDisplayStart);
1668
- e.bStateSave && (g.oFeatures.bStateSave = !0, Sa(g, e), z(g, "aoDrawCallback", ra, "state_save"));
1669
- null !== e.iDeferLoading && (g.bDeferLoading = !0, a = h.isArray(e.iDeferLoading), g._iRecordsDisplay = a ? e.iDeferLoading[0] : e.iDeferLoading, g._iRecordsTotal = a ? e.iDeferLoading[1] : e.iDeferLoading);
1670
- null !== e.aaData && (f = !0);
1671
- "" !== e.oLanguage.sUrl ? (g.oLanguage.sUrl = e.oLanguage.sUrl, h.getJSON(g.oLanguage.sUrl, null, function (a) {
1672
- pa(a);
1673
- h.extend(true, g.oLanguage, e.oLanguage, a);
1674
- ba(g)
1675
- }), i = !0) : h.extend(!0,
1676
- g.oLanguage, e.oLanguage);
1677
- null === e.asStripeClasses && (g.asStripeClasses = [g.oClasses.sStripeOdd, g.oClasses.sStripeEven]);
1678
- b = g.asStripeClasses.length;
1679
- g.asDestroyStripes = [];
1680
- if (b) {
1681
- c = !1;
1682
- d = h(this).children("tbody").children("tr:lt(" + b + ")");
1683
- for (a = 0; a < b; a++)d.hasClass(g.asStripeClasses[a]) && (c = !0, g.asDestroyStripes.push(g.asStripeClasses[a]));
1684
- c && d.removeClass(g.asStripeClasses.join(" "))
1685
- }
1686
- c = [];
1687
- a = this.getElementsByTagName("thead");
1688
- 0 !== a.length && (V(g.aoHeader, a[0]), c = N(g));
1689
- if (null === e.aoColumns) {
1690
- d = [];
1691
- a = 0;
1692
- for (b =
1693
- c.length; a < b; a++)d.push(null)
1694
- } else d = e.aoColumns;
1695
- a = 0;
1696
- for (b = d.length; a < b; a++)e.saved_aoColumns !== n && e.saved_aoColumns.length == b && (null === d[a] && (d[a] = {}), d[a].bVisible = e.saved_aoColumns[a].bVisible), o(g, c ? c[a] : null);
1697
- ta(g, e.aoColumnDefs, d, function (a, b) {
1698
- m(g, a, b)
1699
- });
1700
- a = 0;
1701
- for (b = g.aaSorting.length; a < b; a++) {
1702
- g.aaSorting[a][0] >= g.aoColumns.length && (g.aaSorting[a][0] = 0);
1703
- var k = g.aoColumns[g.aaSorting[a][0]];
1704
- g.aaSorting[a][2] === n && (g.aaSorting[a][2] = 0);
1705
- e.aaSorting === n && g.saved_aaSorting === n && (g.aaSorting[a][1] =
1706
- k.asSorting[0]);
1707
- c = 0;
1708
- for (d = k.asSorting.length; c < d; c++)if (g.aaSorting[a][1] == k.asSorting[c]) {
1709
- g.aaSorting[a][2] = c;
1710
- break
1711
- }
1712
- }
1713
- P(g);
1714
- Ua(g);
1715
- a = h(this).children("caption").each(function () {
1716
- this._captionSide = h(this).css("caption-side")
1717
- });
1718
- b = h(this).children("thead");
1719
- 0 === b.length && (b = [l.createElement("thead")], this.appendChild(b[0]));
1720
- g.nTHead = b[0];
1721
- b = h(this).children("tbody");
1722
- 0 === b.length && (b = [l.createElement("tbody")], this.appendChild(b[0]));
1723
- g.nTBody = b[0];
1724
- g.nTBody.setAttribute("role", "alert");
1725
- g.nTBody.setAttribute("aria-live",
1726
- "polite");
1727
- g.nTBody.setAttribute("aria-relevant", "all");
1728
- b = h(this).children("tfoot");
1729
- if (0 === b.length && 0 < a.length && ("" !== g.oScroll.sX || "" !== g.oScroll.sY))b = [l.createElement("tfoot")], this.appendChild(b[0]);
1730
- 0 < b.length && (g.nTFoot = b[0], V(g.aoFooter, g.nTFoot));
1731
- if (f)for (a = 0; a < e.aaData.length; a++)H(g, e.aaData[a]); else ua(g);
1732
- g.aiDisplay = g.aiDisplayMaster.slice();
1733
- g.bInitialised = !0;
1734
- !1 === i && ba(g)
1735
- }
1736
- });
1737
- ca = null;
1738
- return this
1739
- };
1740
- j.fnVersionCheck = function (e) {
1741
- for (var h = function (e, h) {
1742
- for (; e.length < h;)e += "0";
1743
- return e
1744
- }, m = j.ext.sVersion.split("."),
1745
- e = e.split("."), k = "", n = "", l = 0, t = e.length; l < t; l++)k += h(m[l], 3), n += h(e[l], 3);
1746
- return parseInt(k, 10) >= parseInt(n, 10)
1747
- };
1748
- j.fnIsDataTable = function (e) {
1749
- for (var h = j.settings, m = 0; m < h.length; m++)if (h[m].nTable === e || h[m].nScrollHead === e || h[m].nScrollFoot === e)return!0;
1750
- return!1
1751
- };
1752
- j.fnTables = function (e) {
1753
- var o = [];
1754
- jQuery.each(j.settings, function (j, k) {
1755
- (!e || !0 === e && h(k.nTable).is(":visible")) && o.push(k.nTable)
1756
- });
1757
- return o
1758
- };
1759
- j.version = "1.9.4";
1760
- j.settings = [];
1761
- j.models = {};
1762
- j.models.ext = {afnFiltering: [], afnSortData: [], aoFeatures: [],
1763
- aTypes : [], fnVersionCheck: j.fnVersionCheck, iApiIndex: 0, ofnSearch: {}, oApi: {}, oStdClasses: {}, oJUIClasses: {}, oPagination: {}, oSort: {}, sVersion: j.version, sErrMode: "alert", _oExternConfig: {iNextUnique: 0}};
1764
- j.models.oSearch = {bCaseInsensitive: !0, sSearch: "", bRegex: !1, bSmart: !0};
1765
- j.models.oRow = {nTr: null, _aData: [], _aSortData: [], _anHidden: [], _sRowStripe: ""};
1766
- j.models.oColumn = {aDataSort: null, asSorting: null, bSearchable: null, bSortable: null, bUseRendered: null, bVisible: null, _bAutoType: !0, fnCreatedCell: null, fnGetData: null,
1767
- fnRender : null, fnSetData: null, mData: null, mRender: null, nTh: null, nTf: null, sClass: null, sContentPadding: null, sDefaultContent: null, sName: null, sSortDataType: "std", sSortingClass: null, sSortingClassJUI: null, sTitle: null, sType: null, sWidth: null, sWidthOrig: null};
1768
- j.defaults = {aaData: null, aaSorting: [
1769
- [0, "asc"]
1770
- ], aaSortingFixed: null, aLengthMenu: [10, 25, 50, 100], aoColumns: null, aoColumnDefs: null, aoSearchCols: [], asStripeClasses: null, bAutoWidth: !0, bDeferRender: !1, bDestroy: !1, bFilter: !0, bInfo: !0, bJQueryUI: !1, bLengthChange: !0,
1771
- bPaginate: !0, bProcessing: !1, bRetrieve: !1, bScrollAutoCss: !0, bScrollCollapse: !1, bScrollInfinite: !1, bServerSide: !1, bSort: !0, bSortCellsTop: !1, bSortClasses: !0, bStateSave: !1, fnCookieCallback: null, fnCreatedRow: null, fnDrawCallback: null, fnFooterCallback: null, fnFormatNumber: function (e) {
1772
- if (1E3 > e)return e;
1773
- for (var h = e + "", e = h.split(""), j = "", h = h.length, k = 0; k < h; k++)0 === k % 3 && 0 !== k && (j = this.oLanguage.sInfoThousands + j), j = e[h - k - 1] + j;
1774
- return j
1775
- }, fnHeaderCallback: null, fnInfoCallback: null, fnInitComplete: null, fnPreDrawCallback: null,
1776
- fnRowCallback: null, fnServerData: function (e, j, m, k) {
1777
- k.jqXHR = h.ajax({url: e, data: j, success: function (e) {
1778
- e.sError && k.oApi._fnLog(k, 0, e.sError);
1779
- h(k.oInstance).trigger("xhr", [k, e]);
1780
- m(e)
1781
- }, dataType : "json", cache: !1, type: k.sServerMethod, error: function (e, h) {
1782
- "parsererror" == h && k.oApi._fnLog(k, 0, "DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.")
1783
- }})
1784
- }, fnServerParams: null, fnStateLoad: function (e) {
1785
- var e = this.oApi._fnReadCookie(e.sCookiePrefix + e.sInstance), j;
1786
- try {
1787
- j =
1788
- "function" === typeof h.parseJSON ? h.parseJSON(e) : eval("(" + e + ")")
1789
- } catch (m) {
1790
- j = null
1791
- }
1792
- return j
1793
- }, fnStateLoadParams: null, fnStateLoaded: null, fnStateSave: function (e, h) {
1794
- this.oApi._fnCreateCookie(e.sCookiePrefix + e.sInstance, this.oApi._fnJsonString(h), e.iCookieDuration, e.sCookiePrefix, e.fnCookieCallback)
1795
- }, fnStateSaveParams: null, iCookieDuration: 7200, iDeferLoading: null, iDisplayLength: 10, iDisplayStart: 0, iScrollLoadGap: 100, iTabIndex: 0, oLanguage: {oAria: {sSortAscending: ": activate to sort column ascending", sSortDescending: ": activate to sort column descending"},
1796
- oPaginate : {sFirst: "First", sLast: "Last", sNext: "Next", sPrevious: "Previous"}, sEmptyTable: "No data available in table", sInfo: "Showing _START_ to _END_ of _TOTAL_ entries", sInfoEmpty: "Showing 0 to 0 of 0 entries", sInfoFiltered: "(filtered from _MAX_ total entries)", sInfoPostFix: "", sInfoThousands: ",", sLengthMenu: "Show _MENU_ entries", sLoadingRecords: "Loading...", sProcessing: "Processing...", sSearch: "Search:", sUrl: "", sZeroRecords: "No matching records found"}, oSearch: h.extend({}, j.models.oSearch), sAjaxDataProp: "aaData",
1797
- sAjaxSource: null, sCookiePrefix: "SpryMedia_DataTables_", sDom: "lfrtip", sPaginationType: "two_button", sScrollX: "", sScrollXInner: "", sScrollY: "", sServerMethod: "GET"};
1798
- j.defaults.columns = {aDataSort: null, asSorting: ["asc", "desc"], bSearchable: !0, bSortable: !0, bUseRendered: !0, bVisible: !0, fnCreatedCell: null, fnRender: null, iDataSort: -1, mData: null, mRender: null, sCellType: "td", sClass: "", sContentPadding: "", sDefaultContent: null, sName: "", sSortDataType: "std", sTitle: null, sType: null, sWidth: null};
1799
- j.models.oSettings = {oFeatures: {bAutoWidth: null,
1800
- bDeferRender : null, bFilter: null, bInfo: null, bLengthChange: null, bPaginate: null, bProcessing: null, bServerSide: null, bSort: null, bSortClasses: null, bStateSave: null}, oScroll: {bAutoCss: null, bCollapse: null, bInfinite: null, iBarWidth: 0, iLoadGap: null, sX: null, sXInner: null, sY: null}, oLanguage: {fnInfoCallback: null}, oBrowser: {bScrollOversize: !1}, aanFeatures: [], aoData: [], aiDisplay: [], aiDisplayMaster: [], aoColumns: [], aoHeader: [], aoFooter: [], asDataSearch: [], oPreviousSearch: {}, aoPreSearchCols: [], aaSorting: null, aaSortingFixed: null,
1801
- asStripeClasses: null, asDestroyStripes: [], sDestroyWidth: 0, aoRowCallback: [], aoHeaderCallback: [], aoFooterCallback: [], aoDrawCallback: [], aoRowCreatedCallback: [], aoPreDrawCallback: [], aoInitComplete: [], aoStateSaveParams: [], aoStateLoadParams: [], aoStateLoaded: [], sTableId: "", nTable: null, nTHead: null, nTFoot: null, nTBody: null, nTableWrapper: null, bDeferLoading: !1, bInitialised: !1, aoOpenRows: [], sDom: null, sPaginationType: "two_button", iCookieDuration: 0, sCookiePrefix: "", fnCookieCallback: null, aoStateSave: [], aoStateLoad: [],
1802
- oLoadedState: null, sAjaxSource: null, sAjaxDataProp: null, bAjaxDataGet: !0, jqXHR: null, fnServerData: null, aoServerParams: [], sServerMethod: null, fnFormatNumber: null, aLengthMenu: null, iDraw: 0, bDrawing: !1, iDrawError: -1, _iDisplayLength: 10, _iDisplayStart: 0, _iDisplayEnd: 10, _iRecordsTotal: 0, _iRecordsDisplay: 0, bJUI: null, oClasses: {}, bFiltered: !1, bSorted: !1, bSortCellsTop: null, oInit: null, aoDestroyCallback: [], fnRecordsTotal: function () {
1803
- return this.oFeatures.bServerSide ? parseInt(this._iRecordsTotal, 10) : this.aiDisplayMaster.length
1804
- },
1805
- fnRecordsDisplay: function () {
1806
- return this.oFeatures.bServerSide ? parseInt(this._iRecordsDisplay, 10) : this.aiDisplay.length
1807
- }, fnDisplayEnd: function () {
1808
- return this.oFeatures.bServerSide ? !1 === this.oFeatures.bPaginate || -1 == this._iDisplayLength ? this._iDisplayStart + this.aiDisplay.length : Math.min(this._iDisplayStart + this._iDisplayLength, this._iRecordsDisplay) : this._iDisplayEnd
1809
- }, oInstance: null, sInstance: null, iTabIndex: 0, nScrollHead: null, nScrollFoot: null};
1810
- j.ext = h.extend(!0, {}, j.models.ext);
1811
- h.extend(j.ext.oStdClasses,
1812
- {sTable : "dataTable", sPagePrevEnabled: "paginate_enabled_previous", sPagePrevDisabled: "paginate_disabled_previous", sPageNextEnabled: "paginate_enabled_next", sPageNextDisabled: "paginate_disabled_next", sPageJUINext: "", sPageJUIPrev: "", sPageButton: "paginate_button", sPageButtonActive: "paginate_active", sPageButtonStaticDisabled: "paginate_button paginate_button_disabled", sPageFirst: "first", sPagePrevious: "previous", sPageNext: "next", sPageLast: "last", sStripeOdd: "odd", sStripeEven: "even", sRowEmpty: "dataTables_empty",
1813
- sWrapper : "dataTables_wrapper", sFilter: "dataTables_filter", sInfo: "dataTables_info", sPaging: "dataTables_paginate paging_", sLength: "dataTables_length", sProcessing: "dataTables_processing", sSortAsc: "sorting_asc", sSortDesc: "sorting_desc", sSortable: "sorting", sSortableAsc: "sorting_asc_disabled", sSortableDesc: "sorting_desc_disabled", sSortableNone: "sorting_disabled", sSortColumn: "sorting_", sSortJUIAsc: "", sSortJUIDesc: "", sSortJUI: "", sSortJUIAscAllowed: "", sSortJUIDescAllowed: "", sSortJUIWrapper: "", sSortIcon: "",
1814
- sScrollWrapper: "dataTables_scroll", sScrollHead: "dataTables_scrollHead", sScrollHeadInner: "dataTables_scrollHeadInner", sScrollBody: "dataTables_scrollBody", sScrollFoot: "dataTables_scrollFoot", sScrollFootInner: "dataTables_scrollFootInner", sFooterTH: "", sJUIHeader: "", sJUIFooter: ""});
1815
- h.extend(j.ext.oJUIClasses, j.ext.oStdClasses, {sPagePrevEnabled: "fg-button ui-button ui-state-default ui-corner-left", sPagePrevDisabled: "fg-button ui-button ui-state-default ui-corner-left ui-state-disabled", sPageNextEnabled: "fg-button ui-button ui-state-default ui-corner-right",
1816
- sPageNextDisabled : "fg-button ui-button ui-state-default ui-corner-right ui-state-disabled", sPageJUINext: "ui-icon ui-icon-circle-arrow-e", sPageJUIPrev: "ui-icon ui-icon-circle-arrow-w", sPageButton: "fg-button ui-button ui-state-default", sPageButtonActive: "fg-button ui-button ui-state-default ui-state-disabled", sPageButtonStaticDisabled: "fg-button ui-button ui-state-default ui-state-disabled", sPageFirst: "first ui-corner-tl ui-corner-bl", sPageLast: "last ui-corner-tr ui-corner-br", sPaging: "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",
1817
- sSortAsc : "ui-state-default", sSortDesc: "ui-state-default", sSortable: "ui-state-default", sSortableAsc: "ui-state-default", sSortableDesc: "ui-state-default", sSortableNone: "ui-state-default", sSortJUIAsc: "css_right ui-icon ui-icon-triangle-1-n", sSortJUIDesc: "css_right ui-icon ui-icon-triangle-1-s", sSortJUI: "css_right ui-icon ui-icon-carat-2-n-s", sSortJUIAscAllowed: "css_right ui-icon ui-icon-carat-1-n", sSortJUIDescAllowed: "css_right ui-icon ui-icon-carat-1-s", sSortJUIWrapper: "DataTables_sort_wrapper", sSortIcon: "DataTables_sort_icon",
1818
- sScrollHead : "dataTables_scrollHead ui-state-default", sScrollFoot: "dataTables_scrollFoot ui-state-default", sFooterTH: "ui-state-default", sJUIHeader: "fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix", sJUIFooter: "fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix"});
1819
- h.extend(j.ext.oPagination, {two_button: {fnInit: function (e, j, m) {
1820
- var k = e.oLanguage.oPaginate, n = function (h) {
1821
- e.oApi._fnPageChange(e, h.data.action) && m(e)
1822
- }, k = !e.bJUI ? '<a class="' +
1823
- e.oClasses.sPagePrevDisabled + '" tabindex="' + e.iTabIndex + '" role="button">' + k.sPrevious + '</a><a class="' + e.oClasses.sPageNextDisabled + '" tabindex="' + e.iTabIndex + '" role="button">' + k.sNext + "</a>" : '<a class="' + e.oClasses.sPagePrevDisabled + '" tabindex="' + e.iTabIndex + '" role="button"><span class="' + e.oClasses.sPageJUIPrev + '"></span></a><a class="' + e.oClasses.sPageNextDisabled + '" tabindex="' + e.iTabIndex + '" role="button"><span class="' + e.oClasses.sPageJUINext + '"></span></a>';
1824
- h(j).append(k);
1825
- var l = h("a", j),
1826
- k = l[0], l = l[1];
1827
- e.oApi._fnBindAction(k, {action: "previous"}, n);
1828
- e.oApi._fnBindAction(l, {action: "next"}, n);
1829
- e.aanFeatures.p || (j.id = e.sTableId + "_paginate", k.id = e.sTableId + "_previous", l.id = e.sTableId + "_next", k.setAttribute("aria-controls", e.sTableId), l.setAttribute("aria-controls", e.sTableId))
1830
- }, fnUpdate : function (e) {
1831
- if (e.aanFeatures.p)for (var h = e.oClasses, j = e.aanFeatures.p, k, l = 0, n = j.length; l < n; l++)if (k = j[l].firstChild)k.className = 0 === e._iDisplayStart ? h.sPagePrevDisabled : h.sPagePrevEnabled, k = k.nextSibling,
1832
- k.className = e.fnDisplayEnd() == e.fnRecordsDisplay() ? h.sPageNextDisabled : h.sPageNextEnabled
1833
- }}, iFullNumbersShowPages : 5, full_numbers: {fnInit: function (e, j, m) {
1834
- var k = e.oLanguage.oPaginate, l = e.oClasses, n = function (h) {
1835
- e.oApi._fnPageChange(e, h.data.action) && m(e)
1836
- };
1837
- h(j).append('<a tabindex="' + e.iTabIndex + '" class="' + l.sPageButton + " " + l.sPageFirst + '">' + k.sFirst + '</a><a tabindex="' + e.iTabIndex + '" class="' + l.sPageButton + " " + l.sPagePrevious + '">' + k.sPrevious + '</a><span></span><a tabindex="' + e.iTabIndex + '" class="' +
1838
- l.sPageButton + " " + l.sPageNext + '">' + k.sNext + '</a><a tabindex="' + e.iTabIndex + '" class="' + l.sPageButton + " " + l.sPageLast + '">' + k.sLast + "</a>");
1839
- var t = h("a", j), k = t[0], l = t[1], r = t[2], t = t[3];
1840
- e.oApi._fnBindAction(k, {action: "first"}, n);
1841
- e.oApi._fnBindAction(l, {action: "previous"}, n);
1842
- e.oApi._fnBindAction(r, {action: "next"}, n);
1843
- e.oApi._fnBindAction(t, {action: "last"}, n);
1844
- e.aanFeatures.p || (j.id = e.sTableId + "_paginate", k.id = e.sTableId + "_first", l.id = e.sTableId + "_previous", r.id = e.sTableId + "_next", t.id = e.sTableId + "_last")
1845
- },
1846
- fnUpdate : function (e, o) {
1847
- if (e.aanFeatures.p) {
1848
- var m = j.ext.oPagination.iFullNumbersShowPages, k = Math.floor(m / 2), l = Math.ceil(e.fnRecordsDisplay() / e._iDisplayLength), n = Math.ceil(e._iDisplayStart / e._iDisplayLength) + 1, t = "", r, B = e.oClasses, u, M = e.aanFeatures.p, L = function (h) {
1849
- e.oApi._fnBindAction(this, {page: h + r - 1}, function (h) {
1850
- e.oApi._fnPageChange(e, h.data.page);
1851
- o(e);
1852
- h.preventDefault()
1853
- })
1854
- };
1855
- -1 === e._iDisplayLength ? n = k = r = 1 : l < m ? (r = 1, k = l) : n <= k ? (r = 1, k = m) : n >= l - k ? (r = l - m + 1, k = l) : (r = n - Math.ceil(m / 2) + 1, k = r + m - 1);
1856
- for (m = r; m <= k; m++)t +=
1857
- n !== m ? '<a tabindex="' + e.iTabIndex + '" class="' + B.sPageButton + '">' + e.fnFormatNumber(m) + "</a>" : '<a tabindex="' + e.iTabIndex + '" class="' + B.sPageButtonActive + '">' + e.fnFormatNumber(m) + "</a>";
1858
- m = 0;
1859
- for (k = M.length; m < k; m++)u = M[m], u.hasChildNodes() && (h("span:eq(0)", u).html(t).children("a").each(L), u = u.getElementsByTagName("a"), u = [u[0], u[1], u[u.length - 2], u[u.length - 1]], h(u).removeClass(B.sPageButton + " " + B.sPageButtonActive + " " + B.sPageButtonStaticDisabled), h([u[0], u[1]]).addClass(1 == n ? B.sPageButtonStaticDisabled :
1860
- B.sPageButton), h([u[2], u[3]]).addClass(0 === l || n === l || -1 === e._iDisplayLength ? B.sPageButtonStaticDisabled : B.sPageButton))
1861
- }
1862
- }}});
1863
- h.extend(j.ext.oSort, {"string-pre": function (e) {
1864
- "string" != typeof e && (e = null !== e && e.toString ? e.toString() : "");
1865
- return e.toLowerCase()
1866
- }, "string-asc" : function (e, h) {
1867
- return e < h ? -1 : e > h ? 1 : 0
1868
- }, "string-desc" : function (e, h) {
1869
- return e < h ? 1 : e > h ? -1 : 0
1870
- }, "html-pre" : function (e) {
1871
- return e.replace(/<.*?>/g, "").toLowerCase()
1872
- }, "html-asc" : function (e, h) {
1873
- return e < h ? -1 : e > h ? 1 : 0
1874
- }, "html-desc" : function (e, h) {
1875
- return e <
1876
- h ? 1 : e > h ? -1 : 0
1877
- }, "date-pre" : function (e) {
1878
- e = Date.parse(e);
1879
- if (isNaN(e) || "" === e)e = Date.parse("01/01/1970 00:00:00");
1880
- return e
1881
- }, "date-asc" : function (e, h) {
1882
- return e - h
1883
- }, "date-desc" : function (e, h) {
1884
- return h - e
1885
- }, "numeric-pre" : function (e) {
1886
- return"-" == e || "" === e ? 0 : 1 * e
1887
- }, "numeric-asc" : function (e, h) {
1888
- return e - h
1889
- }, "numeric-desc" : function (e, h) {
1890
- return h - e
1891
- }});
1892
- h.extend(j.ext.aTypes, [function (e) {
1893
- if ("number" === typeof e)return"numeric";
1894
- if ("string" !== typeof e)return null;
1895
- var h, j = !1;
1896
- h = e.charAt(0);
1897
- if (-1 == "0123456789-".indexOf(h))return null;
1898
- for (var k = 1; k < e.length; k++) {
1899
- h = e.charAt(k);
1900
- if (-1 == "0123456789.".indexOf(h))return null;
1901
- if ("." == h) {
1902
- if (j)return null;
1903
- j = !0
1904
- }
1905
- }
1906
- return"numeric"
1907
- }, function (e) {
1908
- var h = Date.parse(e);
1909
- return null !== h && !isNaN(h) || "string" === typeof e && 0 === e.length ? "date" : null
1910
- }, function (e) {
1911
- return"string" === typeof e && -1 != e.indexOf("<") && -1 != e.indexOf(">") ? "html" : null
1912
- }]);
1913
- h.fn.DataTable = j;
1914
- h.fn.dataTable = j;
1915
- h.fn.dataTableSettings = j.settings;
1916
- h.fn.dataTableExt = j.ext
1917
- };
1918
- "function" === typeof define && define.amd ? define(["jquery"], L) : jQuery && !jQuery.fn.dataTable &&
1919
- L(jQuery)
1920
-
1921
- function isRtl(){
1922
- var attr_dir = window.parent.document.getElementsByTagName("html")[0].getAttribute("dir");
1923
- return (attr_dir=="rtl");
1924
- }
1925
- })(window, document);
1
+ /*!
2
+ DataTables 1.10.19
3
+ ©2008-2018 SpryMedia Ltd - datatables.net/license
4
+ */
5
+ (function(h){"function"===typeof define&&define.amd?define(["jquery"],function(E){return h(E,window,document)}):"object"===typeof exports?module.exports=function(E,H){E||(E=window);H||(H="undefined"!==typeof window?require("jquery"):require("jquery")(E));return h(H,E,E.document)}:h(jQuery,window,document)})(function(h,E,H,k){function Z(a){var b,c,d={};h.each(a,function(e){if((b=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=e.replace(b[0],b[2].toLowerCase()),
6
+ d[c]=e,"o"===b[1]&&Z(a[e])});a._hungarianMap=d}function J(a,b,c){a._hungarianMap||Z(a);var d;h.each(b,function(e){d=a._hungarianMap[e];if(d!==k&&(c||b[d]===k))"o"===d.charAt(0)?(b[d]||(b[d]={}),h.extend(!0,b[d],b[e]),J(a[d],b[d],c)):b[d]=b[e]})}function Ca(a){var b=n.defaults.oLanguage,c=b.sDecimal;c&&Da(c);if(a){var d=a.sZeroRecords;!a.sEmptyTable&&(d&&"No data available in table"===b.sEmptyTable)&&F(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(d&&"Loading..."===b.sLoadingRecords)&&F(a,
7
+ a,"sZeroRecords","sLoadingRecords");a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&c!==a&&Da(a)}}function fb(a){A(a,"ordering","bSort");A(a,"orderMulti","bSortMulti");A(a,"orderClasses","bSortClasses");A(a,"orderCellsTop","bSortCellsTop");A(a,"order","aaSorting");A(a,"orderFixed","aaSortingFixed");A(a,"paging","bPaginate");A(a,"pagingType","sPaginationType");A(a,"pageLength","iDisplayLength");A(a,"searching","bFilter");"boolean"===typeof a.sScrollX&&(a.sScrollX=a.sScrollX?"100%":
8
+ "");"boolean"===typeof a.scrollX&&(a.scrollX=a.scrollX?"100%":"");if(a=a.aoSearchCols)for(var b=0,c=a.length;b<c;b++)a[b]&&J(n.models.oSearch,a[b])}function gb(a){A(a,"orderable","bSortable");A(a,"orderData","aDataSort");A(a,"orderSequence","asSorting");A(a,"orderDataType","sortDataType");var b=a.aDataSort;"number"===typeof b&&!h.isArray(b)&&(a.aDataSort=[b])}function hb(a){if(!n.__browser){var b={};n.__browser=b;var c=h("<div/>").css({position:"fixed",top:0,left:-1*h(E).scrollLeft(),height:1,width:1,
9
+ overflow:"hidden"}).append(h("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(h("<div/>").css({width:"100%",height:10}))).appendTo("body"),d=c.children(),e=d.children();b.barWidth=d[0].offsetWidth-d[0].clientWidth;b.bScrollOversize=100===e[0].offsetWidth&&100!==d[0].clientWidth;b.bScrollbarLeft=1!==Math.round(e.offset().left);b.bBounding=c[0].getBoundingClientRect().width?!0:!1;c.remove()}h.extend(a.oBrowser,n.__browser);a.oScroll.iBarWidth=n.__browser.barWidth}
10
+ function ib(a,b,c,d,e,f){var g,j=!1;c!==k&&(g=c,j=!0);for(;d!==e;)a.hasOwnProperty(d)&&(g=j?b(g,a[d],d,a):a[d],j=!0,d+=f);return g}function Ea(a,b){var c=n.defaults.column,d=a.aoColumns.length,c=h.extend({},n.models.oColumn,c,{nTh:b?b:H.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=h.extend({},n.models.oSearch,c[d]);ka(a,d,h(b).data())}function ka(a,b,c){var b=a.aoColumns[b],
11
+ d=a.oClasses,e=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=e.attr("width")||null;var f=(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==k&&null!==c&&(gb(c),J(n.defaults.column,c),c.mDataProp!==k&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&&!c.sClass&&(c.sClass=c.className),c.sClass&&e.addClass(c.sClass),h.extend(b,c),F(b,c,"sWidth","sWidthOrig"),c.iDataSort!==k&&(b.aDataSort=[c.iDataSort]),F(b,c,"aDataSort"));var g=b.mData,j=S(g),i=b.mRender?
12
+ S(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&(c(g.sort)||c(g.type)||c(g.filter));b._setter=null;b.fnGetData=function(a,b,c){var d=j(a,b,k,c);return i&&b?i(d,b,a,c):d};b.fnSetData=function(a,b,c){return N(g)(a,b,c)};"number"!==typeof g&&(a._rowReadObject=!0);a.oFeatures.bSort||(b.bSortable=!1,e.addClass(d.sSortableNone));a=-1!==h.inArray("asc",b.asSorting);c=-1!==h.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=d.sSortableNone,
13
+ b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI)}function $(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Fa(a);for(var c=0,d=b.length;c<d;c++)b[c].nTh.style.width=b[c].sWidth}b=a.oScroll;(""!==b.sY||""!==b.sX)&&la(a);r(a,null,"column-sizing",[a])}function aa(a,b){var c=ma(a,"bVisible");return"number"===
14
+ typeof c[b]?c[b]:null}function ba(a,b){var c=ma(a,"bVisible"),c=h.inArray(b,c);return-1!==c?c:null}function V(a){var b=0;h.each(a.aoColumns,function(a,d){d.bVisible&&"none"!==h(d.nTh).css("display")&&b++});return b}function ma(a,b){var c=[];h.map(a.aoColumns,function(a,e){a[b]&&c.push(e)});return c}function Ga(a){var b=a.aoColumns,c=a.aoData,d=n.ext.type.detect,e,f,g,j,i,h,l,q,t;e=0;for(f=b.length;e<f;e++)if(l=b[e],t=[],!l.sType&&l._sManualType)l.sType=l._sManualType;else if(!l.sType){g=0;for(j=d.length;g<
15
+ j;g++){i=0;for(h=c.length;i<h;i++){t[i]===k&&(t[i]=B(a,i,e,"type"));q=d[g](t[i],a);if(!q&&g!==d.length-1)break;if("html"===q)break}if(q){l.sType=q;break}}l.sType||(l.sType="string")}}function jb(a,b,c,d){var e,f,g,j,i,m,l=a.aoColumns;if(b)for(e=b.length-1;0<=e;e--){m=b[e];var q=m.targets!==k?m.targets:m.aTargets;h.isArray(q)||(q=[q]);f=0;for(g=q.length;f<g;f++)if("number"===typeof q[f]&&0<=q[f]){for(;l.length<=q[f];)Ea(a);d(q[f],m)}else if("number"===typeof q[f]&&0>q[f])d(l.length+q[f],m);else if("string"===
16
+ typeof q[f]){j=0;for(i=l.length;j<i;j++)("_all"==q[f]||h(l[j].nTh).hasClass(q[f]))&&d(j,m)}}if(c){e=0;for(a=c.length;e<a;e++)d(e,c[e])}}function O(a,b,c,d){var e=a.aoData.length,f=h.extend(!0,{},n.models.oRow,{src:c?"dom":"data",idx:e});f._aData=b;a.aoData.push(f);for(var g=a.aoColumns,j=0,i=g.length;j<i;j++)g[j].sType=null;a.aiDisplayMaster.push(e);b=a.rowIdFn(b);b!==k&&(a.aIds[b]=f);(c||!a.oFeatures.bDeferRender)&&Ha(a,e,c,d);return e}function na(a,b){var c;b instanceof h||(b=h(b));return b.map(function(b,
17
+ e){c=Ia(a,e);return O(a,c.data,e,c.cells)})}function B(a,b,c,d){var e=a.iDraw,f=a.aoColumns[c],g=a.aoData[b]._aData,j=f.sDefaultContent,i=f.fnGetData(g,d,{settings:a,row:b,col:c});if(i===k)return a.iDrawError!=e&&null===j&&(K(a,0,"Requested unknown parameter "+("function"==typeof f.mData?"{function}":"'"+f.mData+"'")+" for row "+b+", column "+c,4),a.iDrawError=e),j;if((i===g||null===i)&&null!==j&&d!==k)i=j;else if("function"===typeof i)return i.call(g);return null===i&&"display"==d?"":i}function kb(a,
18
+ b,c,d){a.aoColumns[c].fnSetData(a.aoData[b]._aData,d,{settings:a,row:b,col:c})}function Ja(a){return h.map(a.match(/(\\.|[^\.])+/g)||[""],function(a){return a.replace(/\\\./g,".")})}function S(a){if(h.isPlainObject(a)){var b={};h.each(a,function(a,c){c&&(b[a]=S(c))});return function(a,c,f,g){var j=b[c]||b._;return j!==k?j(a,c,f,g):a}}if(null===a)return function(a){return a};if("function"===typeof a)return function(b,c,f,g){return a(b,c,f,g)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||
19
+ -1!==a.indexOf("("))){var c=function(a,b,f){var g,j;if(""!==f){j=Ja(f);for(var i=0,m=j.length;i<m;i++){f=j[i].match(ca);g=j[i].match(W);if(f){j[i]=j[i].replace(ca,"");""!==j[i]&&(a=a[j[i]]);g=[];j.splice(0,i+1);j=j.join(".");if(h.isArray(a)){i=0;for(m=a.length;i<m;i++)g.push(c(a[i],b,j))}a=f[0].substring(1,f[0].length-1);a=""===a?g:g.join(a);break}else if(g){j[i]=j[i].replace(W,"");a=a[j[i]]();continue}if(null===a||a[j[i]]===k)return k;a=a[j[i]]}}return a};return function(b,e){return c(b,e,a)}}return function(b){return b[a]}}
20
+ function N(a){if(h.isPlainObject(a))return N(a._);if(null===a)return function(){};if("function"===typeof a)return function(b,d,e){a(b,"set",d,e)};if("string"===typeof a&&(-1!==a.indexOf(".")||-1!==a.indexOf("[")||-1!==a.indexOf("("))){var b=function(a,d,e){var e=Ja(e),f;f=e[e.length-1];for(var g,j,i=0,m=e.length-1;i<m;i++){g=e[i].match(ca);j=e[i].match(W);if(g){e[i]=e[i].replace(ca,"");a[e[i]]=[];f=e.slice();f.splice(0,i+1);g=f.join(".");if(h.isArray(d)){j=0;for(m=d.length;j<m;j++)f={},b(f,d[j],g),
21
+ a[e[i]].push(f)}else a[e[i]]=d;return}j&&(e[i]=e[i].replace(W,""),a=a[e[i]](d));if(null===a[e[i]]||a[e[i]]===k)a[e[i]]={};a=a[e[i]]}if(f.match(W))a[f.replace(W,"")](d);else a[f.replace(ca,"")]=d};return function(c,d){return b(c,d,a)}}return function(b,d){b[a]=d}}function Ka(a){return D(a.aoData,"_aData")}function oa(a){a.aoData.length=0;a.aiDisplayMaster.length=0;a.aiDisplay.length=0;a.aIds={}}function pa(a,b,c){for(var d=-1,e=0,f=a.length;e<f;e++)a[e]==b?d=e:a[e]>b&&a[e]--; -1!=d&&c===k&&a.splice(d,
22
+ 1)}function da(a,b,c,d){var e=a.aoData[b],f,g=function(c,d){for(;c.childNodes.length;)c.removeChild(c.firstChild);c.innerHTML=B(a,b,d,"display")};if("dom"===c||(!c||"auto"===c)&&"dom"===e.src)e._aData=Ia(a,e,d,d===k?k:e._aData).data;else{var j=e.anCells;if(j)if(d!==k)g(j[d],d);else{c=0;for(f=j.length;c<f;c++)g(j[c],c)}}e._aSortData=null;e._aFilterData=null;g=a.aoColumns;if(d!==k)g[d].sType=null;else{c=0;for(f=g.length;c<f;c++)g[c].sType=null;La(a,e)}}function Ia(a,b,c,d){var e=[],f=b.firstChild,g,
23
+ j,i=0,m,l=a.aoColumns,q=a._rowReadObject,d=d!==k?d:q?{}:[],t=function(a,b){if("string"===typeof a){var c=a.indexOf("@");-1!==c&&(c=a.substring(c+1),N(a)(d,b.getAttribute(c)))}},G=function(a){if(c===k||c===i)j=l[i],m=h.trim(a.innerHTML),j&&j._bAttrSrc?(N(j.mData._)(d,m),t(j.mData.sort,a),t(j.mData.type,a),t(j.mData.filter,a)):q?(j._setter||(j._setter=N(j.mData)),j._setter(d,m)):d[i]=m;i++};if(f)for(;f;){g=f.nodeName.toUpperCase();if("TD"==g||"TH"==g)G(f),e.push(f);f=f.nextSibling}else{e=b.anCells;
24
+ f=0;for(g=e.length;f<g;f++)G(e[f])}if(b=b.firstChild?b:b.nTr)(b=b.getAttribute("id"))&&N(a.rowId)(d,b);return{data:d,cells:e}}function Ha(a,b,c,d){var e=a.aoData[b],f=e._aData,g=[],j,i,m,l,q;if(null===e.nTr){j=c||H.createElement("tr");e.nTr=j;e.anCells=g;j._DT_RowIndex=b;La(a,e);l=0;for(q=a.aoColumns.length;l<q;l++){m=a.aoColumns[l];i=c?d[l]:H.createElement(m.sCellType);i._DT_CellIndex={row:b,column:l};g.push(i);if((!c||m.mRender||m.mData!==l)&&(!h.isPlainObject(m.mData)||m.mData._!==l+".display"))i.innerHTML=
25
+ B(a,b,l,"display");m.sClass&&(i.className+=" "+m.sClass);m.bVisible&&!c?j.appendChild(i):!m.bVisible&&c&&i.parentNode.removeChild(i);m.fnCreatedCell&&m.fnCreatedCell.call(a.oInstance,i,B(a,b,l),f,b,l)}r(a,"aoRowCreatedCallback",null,[j,f,b,g])}e.nTr.setAttribute("role","row")}function La(a,b){var c=b.nTr,d=b._aData;if(c){var e=a.rowIdFn(d);e&&(c.id=e);d.DT_RowClass&&(e=d.DT_RowClass.split(" "),b.__rowc=b.__rowc?qa(b.__rowc.concat(e)):e,h(c).removeClass(b.__rowc.join(" ")).addClass(d.DT_RowClass));
26
+ d.DT_RowAttr&&h(c).attr(d.DT_RowAttr);d.DT_RowData&&h(c).data(d.DT_RowData)}}function lb(a){var b,c,d,e,f,g=a.nTHead,j=a.nTFoot,i=0===h("th, td",g).length,m=a.oClasses,l=a.aoColumns;i&&(e=h("<tr/>").appendTo(g));b=0;for(c=l.length;b<c;b++)f=l[b],d=h(f.nTh).addClass(f.sClass),i&&d.appendTo(e),a.oFeatures.bSort&&(d.addClass(f.sSortingClass),!1!==f.bSortable&&(d.attr("tabindex",a.iTabIndex).attr("aria-controls",a.sTableId),Ma(a,f.nTh,b))),f.sTitle!=d[0].innerHTML&&d.html(f.sTitle),Na(a,"header")(a,d,
27
+ f,m);i&&ea(a.aoHeader,g);h(g).find(">tr").attr("role","row");h(g).find(">tr>th, >tr>td").addClass(m.sHeaderTH);h(j).find(">tr>th, >tr>td").addClass(m.sFooterTH);if(null!==j){a=a.aoFooter[0];b=0;for(c=a.length;b<c;b++)f=l[b],f.nTf=a[b].cell,f.sClass&&h(f.nTf).addClass(f.sClass)}}function fa(a,b,c){var d,e,f,g=[],j=[],i=a.aoColumns.length,m;if(b){c===k&&(c=!1);d=0;for(e=b.length;d<e;d++){g[d]=b[d].slice();g[d].nTr=b[d].nTr;for(f=i-1;0<=f;f--)!a.aoColumns[f].bVisible&&!c&&g[d].splice(f,1);j.push([])}d=
28
+ 0;for(e=g.length;d<e;d++){if(a=g[d].nTr)for(;f=a.firstChild;)a.removeChild(f);f=0;for(b=g[d].length;f<b;f++)if(m=i=1,j[d][f]===k){a.appendChild(g[d][f].cell);for(j[d][f]=1;g[d+i]!==k&&g[d][f].cell==g[d+i][f].cell;)j[d+i][f]=1,i++;for(;g[d][f+m]!==k&&g[d][f].cell==g[d][f+m].cell;){for(c=0;c<i;c++)j[d+c][f+m]=1;m++}h(g[d][f].cell).attr("rowspan",i).attr("colspan",m)}}}}function P(a){var b=r(a,"aoPreDrawCallback","preDraw",[a]);if(-1!==h.inArray(!1,b))C(a,!1);else{var b=[],c=0,d=a.asStripeClasses,e=
29
+ d.length,f=a.oLanguage,g=a.iInitDisplayStart,j="ssp"==y(a),i=a.aiDisplay;a.bDrawing=!0;g!==k&&-1!==g&&(a._iDisplayStart=j?g:g>=a.fnRecordsDisplay()?0:g,a.iInitDisplayStart=-1);var g=a._iDisplayStart,m=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,C(a,!1);else if(j){if(!a.bDestroying&&!mb(a))return}else a.iDraw++;if(0!==i.length){f=j?a.aoData.length:m;for(j=j?0:g;j<f;j++){var l=i[j],q=a.aoData[l];null===q.nTr&&Ha(a,l);var t=q.nTr;if(0!==e){var G=d[c%e];q._sRowStripe!=G&&(h(t).removeClass(q._sRowStripe).addClass(G),
30
+ q._sRowStripe=G)}r(a,"aoRowCallback",null,[t,q._aData,c,j,l]);b.push(t);c++}}else c=f.sZeroRecords,1==a.iDraw&&"ajax"==y(a)?c=f.sLoadingRecords:f.sEmptyTable&&0===a.fnRecordsTotal()&&(c=f.sEmptyTable),b[0]=h("<tr/>",{"class":e?d[0]:""}).append(h("<td />",{valign:"top",colSpan:V(a),"class":a.oClasses.sRowEmpty}).html(c))[0];r(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],Ka(a),g,m,i]);r(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0],Ka(a),g,m,i]);d=h(a.nTBody);d.children().detach();
31
+ d.append(h(b));r(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function T(a,b){var c=a.oFeatures,d=c.bFilter;c.bSort&&nb(a);d?ga(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;P(a);a._drawHold=!1}function ob(a){var b=a.oClasses,c=h(a.nTable),c=h("<div/>").insertBefore(c),d=a.oFeatures,e=h("<div/>",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=
32
+ a.nTable.nextSibling;for(var f=a.sDom.split(""),g,j,i,m,l,q,k=0;k<f.length;k++){g=null;j=f[k];if("<"==j){i=h("<div/>")[0];m=f[k+1];if("'"==m||'"'==m){l="";for(q=2;f[k+q]!=m;)l+=f[k+q],q++;"H"==l?l=b.sJUIHeader:"F"==l&&(l=b.sJUIFooter);-1!=l.indexOf(".")?(m=l.split("."),i.id=m[0].substr(1,m[0].length-1),i.className=m[1]):"#"==l.charAt(0)?i.id=l.substr(1,l.length-1):i.className=l;k+=q}e.append(i);e=h(i)}else if(">"==j)e=e.parent();else if("l"==j&&d.bPaginate&&d.bLengthChange)g=pb(a);else if("f"==j&&
33
+ d.bFilter)g=qb(a);else if("r"==j&&d.bProcessing)g=rb(a);else if("t"==j)g=sb(a);else if("i"==j&&d.bInfo)g=tb(a);else if("p"==j&&d.bPaginate)g=ub(a);else if(0!==n.ext.feature.length){i=n.ext.feature;q=0;for(m=i.length;q<m;q++)if(j==i[q].cFeature){g=i[q].fnInit(a);break}}g&&(i=a.aanFeatures,i[j]||(i[j]=[]),i[j].push(g),e.append(g))}c.replaceWith(e);a.nHolding=null}function ea(a,b){var c=h(b).children("tr"),d,e,f,g,j,i,m,l,q,k;a.splice(0,a.length);f=0;for(i=c.length;f<i;f++)a.push([]);f=0;for(i=c.length;f<
34
+ i;f++){d=c[f];for(e=d.firstChild;e;){if("TD"==e.nodeName.toUpperCase()||"TH"==e.nodeName.toUpperCase()){l=1*e.getAttribute("colspan");q=1*e.getAttribute("rowspan");l=!l||0===l||1===l?1:l;q=!q||0===q||1===q?1:q;g=0;for(j=a[f];j[g];)g++;m=g;k=1===l?!0:!1;for(j=0;j<l;j++)for(g=0;g<q;g++)a[f+g][m+j]={cell:e,unique:k},a[f+g].nTr=d}e=e.nextSibling}}}function ra(a,b,c){var d=[];c||(c=a.aoHeader,b&&(c=[],ea(c,b)));for(var b=0,e=c.length;b<e;b++)for(var f=0,g=c[b].length;f<g;f++)if(c[b][f].unique&&(!d[f]||
35
+ !a.bSortCellsTop))d[f]=c[b][f].cell;return d}function sa(a,b,c){r(a,"aoServerParams","serverParams",[b]);if(b&&h.isArray(b)){var d={},e=/(.*?)\[\]$/;h.each(b,function(a,b){var c=b.name.match(e);c?(c=c[0],d[c]||(d[c]=[]),d[c].push(b.value)):d[b.name]=b.value});b=d}var f,g=a.ajax,j=a.oInstance,i=function(b){r(a,null,"xhr",[a,b,a.jqXHR]);c(b)};if(h.isPlainObject(g)&&g.data){f=g.data;var m="function"===typeof f?f(b,a):f,b="function"===typeof f&&m?m:h.extend(!0,b,m);delete g.data}m={data:b,success:function(b){var c=
36
+ b.error||b.sError;c&&K(a,0,c);a.json=b;i(b)},dataType:"json",cache:!1,type:a.sServerMethod,error:function(b,c){var d=r(a,null,"xhr",[a,null,a.jqXHR]);-1===h.inArray(!0,d)&&("parsererror"==c?K(a,0,"Invalid JSON response",1):4===b.readyState&&K(a,0,"Ajax error",7));C(a,!1)}};a.oAjaxData=b;r(a,null,"preXhr",[a,b]);a.fnServerData?a.fnServerData.call(j,a.sAjaxSource,h.map(b,function(a,b){return{name:b,value:a}}),i,a):a.sAjaxSource||"string"===typeof g?a.jqXHR=h.ajax(h.extend(m,{url:g||a.sAjaxSource})):
37
+ "function"===typeof g?a.jqXHR=g.call(j,b,i,a):(a.jqXHR=h.ajax(h.extend(m,g)),g.data=f)}function mb(a){return a.bAjaxDataGet?(a.iDraw++,C(a,!0),sa(a,vb(a),function(b){wb(a,b)}),!1):!0}function vb(a){var b=a.aoColumns,c=b.length,d=a.oFeatures,e=a.oPreviousSearch,f=a.aoPreSearchCols,g,j=[],i,m,l,k=X(a);g=a._iDisplayStart;i=!1!==d.bPaginate?a._iDisplayLength:-1;var t=function(a,b){j.push({name:a,value:b})};t("sEcho",a.iDraw);t("iColumns",c);t("sColumns",D(b,"sName").join(","));t("iDisplayStart",g);t("iDisplayLength",
38
+ i);var G={draw:a.iDraw,columns:[],order:[],start:g,length:i,search:{value:e.sSearch,regex:e.bRegex}};for(g=0;g<c;g++)m=b[g],l=f[g],i="function"==typeof m.mData?"function":m.mData,G.columns.push({data:i,name:m.sName,searchable:m.bSearchable,orderable:m.bSortable,search:{value:l.sSearch,regex:l.bRegex}}),t("mDataProp_"+g,i),d.bFilter&&(t("sSearch_"+g,l.sSearch),t("bRegex_"+g,l.bRegex),t("bSearchable_"+g,m.bSearchable)),d.bSort&&t("bSortable_"+g,m.bSortable);d.bFilter&&(t("sSearch",e.sSearch),t("bRegex",
39
+ e.bRegex));d.bSort&&(h.each(k,function(a,b){G.order.push({column:b.col,dir:b.dir});t("iSortCol_"+a,b.col);t("sSortDir_"+a,b.dir)}),t("iSortingCols",k.length));b=n.ext.legacy.ajax;return null===b?a.sAjaxSource?j:G:b?j:G}function wb(a,b){var c=ta(a,b),d=b.sEcho!==k?b.sEcho:b.draw,e=b.iTotalRecords!==k?b.iTotalRecords:b.recordsTotal,f=b.iTotalDisplayRecords!==k?b.iTotalDisplayRecords:b.recordsFiltered;if(d){if(1*d<a.iDraw)return;a.iDraw=1*d}oa(a);a._iRecordsTotal=parseInt(e,10);a._iRecordsDisplay=parseInt(f,
40
+ 10);d=0;for(e=c.length;d<e;d++)O(a,c[d]);a.aiDisplay=a.aiDisplayMaster.slice();a.bAjaxDataGet=!1;P(a);a._bInitComplete||ua(a,b);a.bAjaxDataGet=!0;C(a,!1)}function ta(a,b){var c=h.isPlainObject(a.ajax)&&a.ajax.dataSrc!==k?a.ajax.dataSrc:a.sAjaxDataProp;return"data"===c?b.aaData||b[c]:""!==c?S(c)(b):b}function qb(a){var b=a.oClasses,c=a.sTableId,d=a.oLanguage,e=a.oPreviousSearch,f=a.aanFeatures,g='<input type="search" class="'+b.sFilterInput+'"/>',j=d.sSearch,j=j.match(/_INPUT_/)?j.replace("_INPUT_",
41
+ g):j+g,b=h("<div/>",{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(h("<label/>").append(j)),f=function(){var b=!this.value?"":this.value;b!=e.sSearch&&(ga(a,{sSearch:b,bRegex:e.bRegex,bSmart:e.bSmart,bCaseInsensitive:e.bCaseInsensitive}),a._iDisplayStart=0,P(a))},g=null!==a.searchDelay?a.searchDelay:"ssp"===y(a)?400:0,i=h("input",b).val(e.sSearch).attr("placeholder",d.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",g?Oa(f,g):f).on("keypress.DT",function(a){if(13==a.keyCode)return!1}).attr("aria-controls",
42
+ c);h(a.nTable).on("search.dt.DT",function(b,c){if(a===c)try{i[0]!==H.activeElement&&i.val(e.sSearch)}catch(d){}});return b[0]}function ga(a,b,c){var d=a.oPreviousSearch,e=a.aoPreSearchCols,f=function(a){d.sSearch=a.sSearch;d.bRegex=a.bRegex;d.bSmart=a.bSmart;d.bCaseInsensitive=a.bCaseInsensitive};Ga(a);if("ssp"!=y(a)){xb(a,b.sSearch,c,b.bEscapeRegex!==k?!b.bEscapeRegex:b.bRegex,b.bSmart,b.bCaseInsensitive);f(b);for(b=0;b<e.length;b++)yb(a,e[b].sSearch,b,e[b].bEscapeRegex!==k?!e[b].bEscapeRegex:e[b].bRegex,
43
+ e[b].bSmart,e[b].bCaseInsensitive);zb(a)}else f(b);a.bFiltered=!0;r(a,null,"search",[a])}function zb(a){for(var b=n.ext.search,c=a.aiDisplay,d,e,f=0,g=b.length;f<g;f++){for(var j=[],i=0,m=c.length;i<m;i++)e=c[i],d=a.aoData[e],b[f](a,d._aFilterData,e,d._aData,i)&&j.push(e);c.length=0;h.merge(c,j)}}function yb(a,b,c,d,e,f){if(""!==b){for(var g=[],j=a.aiDisplay,d=Pa(b,d,e,f),e=0;e<j.length;e++)b=a.aoData[j[e]]._aFilterData[c],d.test(b)&&g.push(j[e]);a.aiDisplay=g}}function xb(a,b,c,d,e,f){var d=Pa(b,
44
+ d,e,f),f=a.oPreviousSearch.sSearch,g=a.aiDisplayMaster,j,e=[];0!==n.ext.search.length&&(c=!0);j=Ab(a);if(0>=b.length)a.aiDisplay=g.slice();else{if(j||c||f.length>b.length||0!==b.indexOf(f)||a.bSorted)a.aiDisplay=g.slice();b=a.aiDisplay;for(c=0;c<b.length;c++)d.test(a.aoData[b[c]]._sFilterRow)&&e.push(b[c]);a.aiDisplay=e}}function Pa(a,b,c,d){a=b?a:Qa(a);c&&(a="^(?=.*?"+h.map(a.match(/"[^"]+"|[^ ]+/g)||[""],function(a){if('"'===a.charAt(0))var b=a.match(/^"(.*)"$/),a=b?b[1]:a;return a.replace('"',
45
+ "")}).join(")(?=.*?")+").*$");return RegExp(a,d?"i":"")}function Ab(a){var b=a.aoColumns,c,d,e,f,g,j,i,h,l=n.ext.type.search;c=!1;d=0;for(f=a.aoData.length;d<f;d++)if(h=a.aoData[d],!h._aFilterData){j=[];e=0;for(g=b.length;e<g;e++)c=b[e],c.bSearchable?(i=B(a,d,e,"filter"),l[c.sType]&&(i=l[c.sType](i)),null===i&&(i=""),"string"!==typeof i&&i.toString&&(i=i.toString())):i="",i.indexOf&&-1!==i.indexOf("&")&&(va.innerHTML=i,i=Wb?va.textContent:va.innerText),i.replace&&(i=i.replace(/[\r\n]/g,"")),j.push(i);
46
+ h._aFilterData=j;h._sFilterRow=j.join(" ");c=!0}return c}function Bb(a){return{search:a.sSearch,smart:a.bSmart,regex:a.bRegex,caseInsensitive:a.bCaseInsensitive}}function Cb(a){return{sSearch:a.search,bSmart:a.smart,bRegex:a.regex,bCaseInsensitive:a.caseInsensitive}}function tb(a){var b=a.sTableId,c=a.aanFeatures.i,d=h("<div/>",{"class":a.oClasses.sInfo,id:!c?b+"_info":null});c||(a.aoDrawCallback.push({fn:Db,sName:"information"}),d.attr("role","status").attr("aria-live","polite"),h(a.nTable).attr("aria-describedby",
47
+ b+"_info"));return d[0]}function Db(a){var b=a.aanFeatures.i;if(0!==b.length){var c=a.oLanguage,d=a._iDisplayStart+1,e=a.fnDisplayEnd(),f=a.fnRecordsTotal(),g=a.fnRecordsDisplay(),j=g?c.sInfo:c.sInfoEmpty;g!==f&&(j+=" "+c.sInfoFiltered);j+=c.sInfoPostFix;j=Eb(a,j);c=c.fnInfoCallback;null!==c&&(j=c.call(a.oInstance,a,d,e,f,g,j));h(b).html(j)}}function Eb(a,b){var c=a.fnFormatNumber,d=a._iDisplayStart+1,e=a._iDisplayLength,f=a.fnRecordsDisplay(),g=-1===e;return b.replace(/_START_/g,c.call(a,d)).replace(/_END_/g,
48
+ c.call(a,a.fnDisplayEnd())).replace(/_MAX_/g,c.call(a,a.fnRecordsTotal())).replace(/_TOTAL_/g,c.call(a,f)).replace(/_PAGE_/g,c.call(a,g?1:Math.ceil(d/e))).replace(/_PAGES_/g,c.call(a,g?1:Math.ceil(f/e)))}function ha(a){var b,c,d=a.iInitDisplayStart,e=a.aoColumns,f;c=a.oFeatures;var g=a.bDeferLoading;if(a.bInitialised){ob(a);lb(a);fa(a,a.aoHeader);fa(a,a.aoFooter);C(a,!0);c.bAutoWidth&&Fa(a);b=0;for(c=e.length;b<c;b++)f=e[b],f.sWidth&&(f.nTh.style.width=v(f.sWidth));r(a,null,"preInit",[a]);T(a);e=
49
+ y(a);if("ssp"!=e||g)"ajax"==e?sa(a,[],function(c){var f=ta(a,c);for(b=0;b<f.length;b++)O(a,f[b]);a.iInitDisplayStart=d;T(a);C(a,!1);ua(a,c)},a):(C(a,!1),ua(a))}else setTimeout(function(){ha(a)},200)}function ua(a,b){a._bInitComplete=!0;(b||a.oInit.aaData)&&$(a);r(a,null,"plugin-init",[a,b]);r(a,"aoInitComplete","init",[a,b])}function Ra(a,b){var c=parseInt(b,10);a._iDisplayLength=c;Sa(a);r(a,null,"length",[a,c])}function pb(a){for(var b=a.oClasses,c=a.sTableId,d=a.aLengthMenu,e=h.isArray(d[0]),f=
50
+ e?d[0]:d,d=e?d[1]:d,e=h("<select/>",{name:c+"_length","aria-controls":c,"class":b.sLengthSelect}),g=0,j=f.length;g<j;g++)e[0][g]=new Option("number"===typeof d[g]?a.fnFormatNumber(d[g]):d[g],f[g]);var i=h("<div><label/></div>").addClass(b.sLength);a.aanFeatures.l||(i[0].id=c+"_length");i.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",e[0].outerHTML));h("select",i).val(a._iDisplayLength).on("change.DT",function(){Ra(a,h(this).val());P(a)});h(a.nTable).on("length.dt.DT",function(b,c,d){a===
51
+ c&&h("select",i).val(d)});return i[0]}function ub(a){var b=a.sPaginationType,c=n.ext.pager[b],d="function"===typeof c,e=function(a){P(a)},b=h("<div/>").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;d||c.fnInit(a,b,e);f.p||(b.id=a.sTableId+"_paginate",a.aoDrawCallback.push({fn:function(a){if(d){var b=a._iDisplayStart,i=a._iDisplayLength,h=a.fnRecordsDisplay(),l=-1===i,b=l?0:Math.ceil(b/i),i=l?1:Math.ceil(h/i),h=c(b,i),k,l=0;for(k=f.p.length;l<k;l++)Na(a,"pageButton")(a,f.p[l],l,h,b,i)}else c.fnUpdate(a,
52
+ e)},sName:"pagination"}));return b}function Ta(a,b,c){var d=a._iDisplayStart,e=a._iDisplayLength,f=a.fnRecordsDisplay();0===f||-1===e?d=0:"number"===typeof b?(d=b*e,d>f&&(d=0)):"first"==b?d=0:"previous"==b?(d=0<=e?d-e:0,0>d&&(d=0)):"next"==b?d+e<f&&(d+=e):"last"==b?d=Math.floor((f-1)/e)*e:K(a,0,"Unknown paging action: "+b,5);b=a._iDisplayStart!==d;a._iDisplayStart=d;b&&(r(a,null,"page",[a]),c&&P(a));return b}function rb(a){return h("<div/>",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]}
53
+ function C(a,b){a.oFeatures.bProcessing&&h(a.aanFeatures.r).css("display",b?"block":"none");r(a,null,"processing",[a,b])}function sb(a){var b=h(a.nTable);b.attr("role","grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var d=c.sX,e=c.sY,f=a.oClasses,g=b.children("caption"),j=g.length?g[0]._captionSide:null,i=h(b[0].cloneNode(!1)),m=h(b[0].cloneNode(!1)),l=b.children("tfoot");l.length||(l=null);i=h("<div/>",{"class":f.sScrollWrapper}).append(h("<div/>",{"class":f.sScrollHead}).css({overflow:"hidden",
54
+ position:"relative",border:0,width:d?!d?null:v(d):"100%"}).append(h("<div/>",{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box",width:c.sXInner||"100%"}).append(i.removeAttr("id").css("margin-left",0).append("top"===j?g:null).append(b.children("thead"))))).append(h("<div/>",{"class":f.sScrollBody}).css({position:"relative",overflow:"auto",width:!d?null:v(d)}).append(b));l&&i.append(h("<div/>",{"class":f.sScrollFoot}).css({overflow:"hidden",border:0,width:d?!d?null:v(d):"100%"}).append(h("<div/>",
55
+ {"class":f.sScrollFootInner}).append(m.removeAttr("id").css("margin-left",0).append("bottom"===j?g:null).append(b.children("tfoot")))));var b=i.children(),k=b[0],f=b[1],t=l?b[2]:null;if(d)h(f).on("scroll.DT",function(){var a=this.scrollLeft;k.scrollLeft=a;l&&(t.scrollLeft=a)});h(f).css(e&&c.bCollapse?"max-height":"height",e);a.nScrollHead=k;a.nScrollBody=f;a.nScrollFoot=t;a.aoDrawCallback.push({fn:la,sName:"scrolling"});return i[0]}function la(a){var b=a.oScroll,c=b.sX,d=b.sXInner,e=b.sY,b=b.iBarWidth,
56
+ f=h(a.nScrollHead),g=f[0].style,j=f.children("div"),i=j[0].style,m=j.children("table"),j=a.nScrollBody,l=h(j),q=j.style,t=h(a.nScrollFoot).children("div"),n=t.children("table"),o=h(a.nTHead),p=h(a.nTable),s=p[0],r=s.style,u=a.nTFoot?h(a.nTFoot):null,x=a.oBrowser,U=x.bScrollOversize,Xb=D(a.aoColumns,"nTh"),Q,L,R,w,Ua=[],y=[],z=[],A=[],B,C=function(a){a=a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};L=j.scrollHeight>j.clientHeight;if(a.scrollBarVis!==
57
+ L&&a.scrollBarVis!==k)a.scrollBarVis=L,$(a);else{a.scrollBarVis=L;p.children("thead, tfoot").remove();u&&(R=u.clone().prependTo(p),Q=u.find("tr"),R=R.find("tr"));w=o.clone().prependTo(p);o=o.find("tr");L=w.find("tr");w.find("th, td").removeAttr("tabindex");c||(q.width="100%",f[0].style.width="100%");h.each(ra(a,w),function(b,c){B=aa(a,b);c.style.width=a.aoColumns[B].sWidth});u&&I(function(a){a.style.width=""},R);f=p.outerWidth();if(""===c){r.width="100%";if(U&&(p.find("tbody").height()>j.offsetHeight||
58
+ "scroll"==l.css("overflow-y")))r.width=v(p.outerWidth()-b);f=p.outerWidth()}else""!==d&&(r.width=v(d),f=p.outerWidth());I(C,L);I(function(a){z.push(a.innerHTML);Ua.push(v(h(a).css("width")))},L);I(function(a,b){if(h.inArray(a,Xb)!==-1)a.style.width=Ua[b]},o);h(L).height(0);u&&(I(C,R),I(function(a){A.push(a.innerHTML);y.push(v(h(a).css("width")))},R),I(function(a,b){a.style.width=y[b]},Q),h(R).height(0));I(function(a,b){a.innerHTML='<div class="dataTables_sizing">'+z[b]+"</div>";a.childNodes[0].style.height=
59
+ "0";a.childNodes[0].style.overflow="hidden";a.style.width=Ua[b]},L);u&&I(function(a,b){a.innerHTML='<div class="dataTables_sizing">'+A[b]+"</div>";a.childNodes[0].style.height="0";a.childNodes[0].style.overflow="hidden";a.style.width=y[b]},R);if(p.outerWidth()<f){Q=j.scrollHeight>j.offsetHeight||"scroll"==l.css("overflow-y")?f+b:f;if(U&&(j.scrollHeight>j.offsetHeight||"scroll"==l.css("overflow-y")))r.width=v(Q-b);(""===c||""!==d)&&K(a,1,"Possible column misalignment",6)}else Q="100%";q.width=v(Q);
60
+ g.width=v(Q);u&&(a.nScrollFoot.style.width=v(Q));!e&&U&&(q.height=v(s.offsetHeight+b));c=p.outerWidth();m[0].style.width=v(c);i.width=v(c);d=p.height()>j.clientHeight||"scroll"==l.css("overflow-y");e="padding"+(x.bScrollbarLeft?"Left":"Right");i[e]=d?b+"px":"0px";u&&(n[0].style.width=v(c),t[0].style.width=v(c),t[0].style[e]=d?b+"px":"0px");p.children("colgroup").insertBefore(p.children("thead"));l.scroll();if((a.bSorted||a.bFiltered)&&!a._drawHold)j.scrollTop=0}}function I(a,b,c){for(var d=0,e=0,
61
+ f=b.length,g,j;e<f;){g=b[e].firstChild;for(j=c?c[e].firstChild:null;g;)1===g.nodeType&&(c?a(g,j,d):a(g,d),d++),g=g.nextSibling,j=c?j.nextSibling:null;e++}}function Fa(a){var b=a.nTable,c=a.aoColumns,d=a.oScroll,e=d.sY,f=d.sX,g=d.sXInner,j=c.length,i=ma(a,"bVisible"),m=h("th",a.nTHead),l=b.getAttribute("width"),k=b.parentNode,t=!1,n,o,p=a.oBrowser,d=p.bScrollOversize;(n=b.style.width)&&-1!==n.indexOf("%")&&(l=n);for(n=0;n<i.length;n++)o=c[i[n]],null!==o.sWidth&&(o.sWidth=Fb(o.sWidthOrig,k),t=!0);if(d||
62
+ !t&&!f&&!e&&j==V(a)&&j==m.length)for(n=0;n<j;n++)i=aa(a,n),null!==i&&(c[i].sWidth=v(m.eq(n).width()));else{j=h(b).clone().css("visibility","hidden").removeAttr("id");j.find("tbody tr").remove();var s=h("<tr/>").appendTo(j.find("tbody"));j.find("thead, tfoot").remove();j.append(h(a.nTHead).clone()).append(h(a.nTFoot).clone());j.find("tfoot th, tfoot td").css("width","");m=ra(a,j.find("thead")[0]);for(n=0;n<i.length;n++)o=c[i[n]],m[n].style.width=null!==o.sWidthOrig&&""!==o.sWidthOrig?v(o.sWidthOrig):
63
+ "",o.sWidthOrig&&f&&h(m[n]).append(h("<div/>").css({width:o.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(a.aoData.length)for(n=0;n<i.length;n++)t=i[n],o=c[t],h(Gb(a,t)).clone(!1).append(o.sContentPadding).appendTo(s);h("[name]",j).removeAttr("name");o=h("<div/>").css(f||e?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(j).appendTo(k);f&&g?j.width(g):f?(j.css("width","auto"),j.removeAttr("width"),j.width()<k.clientWidth&&l&&j.width(k.clientWidth)):e?j.width(k.clientWidth):
64
+ l&&j.width(l);for(n=e=0;n<i.length;n++)k=h(m[n]),g=k.outerWidth()-k.width(),k=p.bBounding?Math.ceil(m[n].getBoundingClientRect().width):k.outerWidth(),e+=k,c[i[n]].sWidth=v(k-g);b.style.width=v(e);o.remove()}l&&(b.style.width=v(l));if((l||f)&&!a._reszEvt)b=function(){h(E).on("resize.DT-"+a.sInstance,Oa(function(){$(a)}))},d?setTimeout(b,1E3):b(),a._reszEvt=!0}function Fb(a,b){if(!a)return 0;var c=h("<div/>").css("width",v(a)).appendTo(b||H.body),d=c[0].offsetWidth;c.remove();return d}function Gb(a,
65
+ b){var c=Hb(a,b);if(0>c)return null;var d=a.aoData[c];return!d.nTr?h("<td/>").html(B(a,c,b,"display"))[0]:d.anCells[b]}function Hb(a,b){for(var c,d=-1,e=-1,f=0,g=a.aoData.length;f<g;f++)c=B(a,f,b,"display")+"",c=c.replace(Yb,""),c=c.replace(/&nbsp;/g," "),c.length>d&&(d=c.length,e=f);return e}function v(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function X(a){var b,c,d=[],e=a.aoColumns,f,g,j,i;b=a.aaSortingFixed;c=h.isPlainObject(b);var m=[];f=function(a){a.length&&
66
+ !h.isArray(a[0])?m.push(a):h.merge(m,a)};h.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a=0;a<m.length;a++){i=m[a][0];f=e[i].aDataSort;b=0;for(c=f.length;b<c;b++)g=f[b],j=e[g].sType||"string",m[a]._idx===k&&(m[a]._idx=h.inArray(m[a][1],e[g].asSorting)),d.push({src:i,col:g,dir:m[a][1],index:m[a]._idx,type:j,formatter:n.ext.type.order[j+"-pre"]})}return d}function nb(a){var b,c,d=[],e=n.ext.type.order,f=a.aoData,g=0,j,i=a.aiDisplayMaster,h;Ga(a);h=X(a);b=0;for(c=h.length;b<
67
+ c;b++)j=h[b],j.formatter&&g++,Ib(a,j.col);if("ssp"!=y(a)&&0!==h.length){b=0;for(c=i.length;b<c;b++)d[i[b]]=b;g===h.length?i.sort(function(a,b){var c,e,g,j,i=h.length,k=f[a]._aSortData,n=f[b]._aSortData;for(g=0;g<i;g++)if(j=h[g],c=k[j.col],e=n[j.col],c=c<e?-1:c>e?1:0,0!==c)return"asc"===j.dir?c:-c;c=d[a];e=d[b];return c<e?-1:c>e?1:0}):i.sort(function(a,b){var c,g,j,i,k=h.length,n=f[a]._aSortData,o=f[b]._aSortData;for(j=0;j<k;j++)if(i=h[j],c=n[i.col],g=o[i.col],i=e[i.type+"-"+i.dir]||e["string-"+i.dir],
68
+ c=i(c,g),0!==c)return c;c=d[a];g=d[b];return c<g?-1:c>g?1:0})}a.bSorted=!0}function Jb(a){for(var b,c,d=a.aoColumns,e=X(a),a=a.oLanguage.oAria,f=0,g=d.length;f<g;f++){c=d[f];var j=c.asSorting;b=c.sTitle.replace(/<.*?>/g,"");var i=c.nTh;i.removeAttribute("aria-sort");c.bSortable&&(0<e.length&&e[0].col==f?(i.setAttribute("aria-sort","asc"==e[0].dir?"ascending":"descending"),c=j[e[0].index+1]||j[0]):c=j[0],b+="asc"===c?a.sSortAscending:a.sSortDescending);i.setAttribute("aria-label",b)}}function Va(a,
69
+ b,c,d){var e=a.aaSorting,f=a.aoColumns[b].asSorting,g=function(a,b){var c=a._idx;c===k&&(c=h.inArray(a[1],f));return c+1<f.length?c+1:b?null:0};"number"===typeof e[0]&&(e=a.aaSorting=[e]);c&&a.oFeatures.bSortMulti?(c=h.inArray(b,D(e,"0")),-1!==c?(b=g(e[c],!0),null===b&&1===e.length&&(b=0),null===b?e.splice(c,1):(e[c][1]=f[b],e[c]._idx=b)):(e.push([b,f[0],0]),e[e.length-1]._idx=0)):e.length&&e[0][0]==b?(b=g(e[0]),e.length=1,e[0][1]=f[b],e[0]._idx=b):(e.length=0,e.push([b,f[0]]),e[0]._idx=0);T(a);"function"==
70
+ typeof d&&d(a)}function Ma(a,b,c,d){var e=a.aoColumns[c];Wa(b,{},function(b){!1!==e.bSortable&&(a.oFeatures.bProcessing?(C(a,!0),setTimeout(function(){Va(a,c,b.shiftKey,d);"ssp"!==y(a)&&C(a,!1)},0)):Va(a,c,b.shiftKey,d))})}function wa(a){var b=a.aLastSort,c=a.oClasses.sSortColumn,d=X(a),e=a.oFeatures,f,g;if(e.bSort&&e.bSortClasses){e=0;for(f=b.length;e<f;e++)g=b[e].src,h(D(a.aoData,"anCells",g)).removeClass(c+(2>e?e+1:3));e=0;for(f=d.length;e<f;e++)g=d[e].src,h(D(a.aoData,"anCells",g)).addClass(c+
71
+ (2>e?e+1:3))}a.aLastSort=d}function Ib(a,b){var c=a.aoColumns[b],d=n.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,ba(a,b)));for(var f,g=n.ext.type.order[c.sType+"-pre"],j=0,i=a.aoData.length;j<i;j++)if(c=a.aoData[j],c._aSortData||(c._aSortData=[]),!c._aSortData[b]||d)f=d?e[j]:B(a,j,b,"sort"),c._aSortData[b]=g?g(f):f}function xa(a){if(a.oFeatures.bStateSave&&!a.bDestroying){var b={time:+new Date,start:a._iDisplayStart,length:a._iDisplayLength,order:h.extend(!0,[],a.aaSorting),search:Bb(a.oPreviousSearch),
72
+ columns:h.map(a.aoColumns,function(b,d){return{visible:b.bVisible,search:Bb(a.aoPreSearchCols[d])}})};r(a,"aoStateSaveParams","stateSaveParams",[a,b]);a.oSavedState=b;a.fnStateSaveCallback.call(a.oInstance,a,b)}}function Kb(a,b,c){var d,e,f=a.aoColumns,b=function(b){if(b&&b.time){var g=r(a,"aoStateLoadParams","stateLoadParams",[a,b]);if(-1===h.inArray(!1,g)&&(g=a.iStateDuration,!(0<g&&b.time<+new Date-1E3*g)&&!(b.columns&&f.length!==b.columns.length))){a.oLoadedState=h.extend(!0,{},b);b.start!==k&&
73
+ (a._iDisplayStart=b.start,a.iInitDisplayStart=b.start);b.length!==k&&(a._iDisplayLength=b.length);b.order!==k&&(a.aaSorting=[],h.each(b.order,function(b,c){a.aaSorting.push(c[0]>=f.length?[0,c[1]]:c)}));b.search!==k&&h.extend(a.oPreviousSearch,Cb(b.search));if(b.columns){d=0;for(e=b.columns.length;d<e;d++)g=b.columns[d],g.visible!==k&&(f[d].bVisible=g.visible),g.search!==k&&h.extend(a.aoPreSearchCols[d],Cb(g.search))}r(a,"aoStateLoaded","stateLoaded",[a,b])}}c()};if(a.oFeatures.bStateSave){var g=
74
+ a.fnStateLoadCallback.call(a.oInstance,a,b);g!==k&&b(g)}else c()}function ya(a){var b=n.settings,a=h.inArray(a,D(b,"nTable"));return-1!==a?b[a]:null}function K(a,b,c,d){c="DataTables warning: "+(a?"table id="+a.sTableId+" - ":"")+c;d&&(c+=". For more information about this error, please see http://datatables.net/tn/"+d);if(b)E.console&&console.log&&console.log(c);else if(b=n.ext,b=b.sErrMode||b.errMode,a&&r(a,null,"error",[a,d,c]),"alert"==b)alert(c);else{if("throw"==b)throw Error(c);"function"==
75
+ typeof b&&b(a,d,c)}}function F(a,b,c,d){h.isArray(c)?h.each(c,function(c,d){h.isArray(d)?F(a,b,d[0],d[1]):F(a,b,d)}):(d===k&&(d=c),b[c]!==k&&(a[d]=b[c]))}function Xa(a,b,c){var d,e;for(e in b)b.hasOwnProperty(e)&&(d=b[e],h.isPlainObject(d)?(h.isPlainObject(a[e])||(a[e]={}),h.extend(!0,a[e],d)):a[e]=c&&"data"!==e&&"aaData"!==e&&h.isArray(d)?d.slice():d);return a}function Wa(a,b,c){h(a).on("click.DT",b,function(b){h(a).blur();c(b)}).on("keypress.DT",b,function(a){13===a.which&&(a.preventDefault(),c(a))}).on("selectstart.DT",
76
+ function(){return!1})}function z(a,b,c,d){c&&a[b].push({fn:c,sName:d})}function r(a,b,c,d){var e=[];b&&(e=h.map(a[b].slice().reverse(),function(b){return b.fn.apply(a.oInstance,d)}));null!==c&&(b=h.Event(c+".dt"),h(a.nTable).trigger(b,d),e.push(b.result));return e}function Sa(a){var b=a._iDisplayStart,c=a.fnDisplayEnd(),d=a._iDisplayLength;b>=c&&(b=c-d);b-=b%d;if(-1===d||0>b)b=0;a._iDisplayStart=b}function Na(a,b){var c=a.renderer,d=n.ext.renderer[b];return h.isPlainObject(c)&&c[b]?d[c[b]]||d._:"string"===
77
+ typeof c?d[c]||d._:d._}function y(a){return a.oFeatures.bServerSide?"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function ia(a,b){var c=[],c=Lb.numbers_length,d=Math.floor(c/2);b<=c?c=Y(0,b):a<=d?(c=Y(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-d?c=Y(b-(c-2),b):(c=Y(a-d+2,a+d-1),c.push("ellipsis"),c.push(b-1)),c.splice(0,0,"ellipsis"),c.splice(0,0,0));c.DT_el="span";return c}function Da(a){h.each({num:function(b){return za(b,a)},"num-fmt":function(b){return za(b,a,Ya)},"html-num":function(b){return za(b,
78
+ a,Aa)},"html-num-fmt":function(b){return za(b,a,Aa,Ya)}},function(b,c){x.type.order[b+a+"-pre"]=c;b.match(/^html\-/)&&(x.type.search[b+a]=x.type.search.html)})}function Mb(a){return function(){var b=[ya(this[n.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return n.ext.internal[a].apply(this,b)}}var n=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a,b){return this.api(!0).rows(a,b).data()};this.api=function(a){return a?new s(ya(this[x.iApiIndex])):new s(this)};
79
+ this.fnAddData=function(a,b){var c=this.api(!0),d=h.isArray(a)&&(h.isArray(a[0])||h.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===k||b)&&c.draw();return d.flatten().toArray()};this.fnAdjustColumnSizing=function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],d=c.oScroll;a===k||a?b.draw(!1):(""!==d.sX||""!==d.sY)&&la(c)};this.fnClearTable=function(a){var b=this.api(!0).clear();(a===k||a)&&b.draw()};this.fnClose=function(a){this.api(!0).row(a).child.hide()};this.fnDeleteRow=function(a,
80
+ b,c){var d=this.api(!0),a=d.rows(a),e=a.settings()[0],h=e.aoData[a[0][0]];a.remove();b&&b.call(this,e,h);(c===k||c)&&d.draw();return h};this.fnDestroy=function(a){this.api(!0).destroy(a)};this.fnDraw=function(a){this.api(!0).draw(a)};this.fnFilter=function(a,b,c,d,e,h){e=this.api(!0);null===b||b===k?e.search(a,c,d,h):e.column(b).search(a,c,d,h);e.draw()};this.fnGetData=function(a,b){var c=this.api(!0);if(a!==k){var d=a.nodeName?a.nodeName.toLowerCase():"";return b!==k||"td"==d||"th"==d?c.cell(a,b).data():
81
+ c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==k?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=function(a){var b=this.api(!0),c=a.nodeName.toUpperCase();return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()};this.fnOpen=function(a,b,c){return this.api(!0).row(a).child(b,c).show().child()[0]};
82
+ this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===k||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===k||c)&&a.columns.adjust().draw()};this.fnSettings=function(){return ya(this[x.iApiIndex])};this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,d,e){var h=this.api(!0);c===k||null===c?h.row(b).data(a):h.cell(b,c).data(a);(e===k||e)&&h.columns.adjust();
83
+ (d===k||d)&&h.draw();return 0};this.fnVersionCheck=x.fnVersionCheck;var b=this,c=a===k,d=this.length;c&&(a={});this.oApi=this.internal=x.internal;for(var e in n.ext.internal)e&&(this[e]=Mb(e));this.each(function(){var e={},g=1<d?Xa(e,a,!0):a,j=0,i,e=this.getAttribute("id"),m=!1,l=n.defaults,q=h(this);if("table"!=this.nodeName.toLowerCase())K(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{fb(l);gb(l.column);J(l,l,!0);J(l.column,l.column,!0);J(l,h.extend(g,q.data()));var t=n.settings,
84
+ j=0;for(i=t.length;j<i;j++){var o=t[j];if(o.nTable==this||o.nTHead&&o.nTHead.parentNode==this||o.nTFoot&&o.nTFoot.parentNode==this){var s=g.bRetrieve!==k?g.bRetrieve:l.bRetrieve;if(c||s)return o.oInstance;if(g.bDestroy!==k?g.bDestroy:l.bDestroy){o.oInstance.fnDestroy();break}else{K(o,0,"Cannot reinitialise DataTable",3);return}}if(o.sTableId==this.id){t.splice(j,1);break}}if(null===e||""===e)this.id=e="DataTables_Table_"+n.ext._unique++;var p=h.extend(!0,{},n.models.oSettings,{sDestroyWidth:q[0].style.width,
85
+ sInstance:e,sTableId:e});p.nTable=this;p.oApi=b.internal;p.oInit=g;t.push(p);p.oInstance=1===b.length?b:q.dataTable();fb(g);Ca(g.oLanguage);g.aLengthMenu&&!g.iDisplayLength&&(g.iDisplayLength=h.isArray(g.aLengthMenu[0])?g.aLengthMenu[0][0]:g.aLengthMenu[0]);g=Xa(h.extend(!0,{},l),g);F(p.oFeatures,g,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" "));F(p,g,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod",
86
+ "aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]);F(p.oScroll,g,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]);F(p.oLanguage,g,"fnInfoCallback");
87
+ z(p,"aoDrawCallback",g.fnDrawCallback,"user");z(p,"aoServerParams",g.fnServerParams,"user");z(p,"aoStateSaveParams",g.fnStateSaveParams,"user");z(p,"aoStateLoadParams",g.fnStateLoadParams,"user");z(p,"aoStateLoaded",g.fnStateLoaded,"user");z(p,"aoRowCallback",g.fnRowCallback,"user");z(p,"aoRowCreatedCallback",g.fnCreatedRow,"user");z(p,"aoHeaderCallback",g.fnHeaderCallback,"user");z(p,"aoFooterCallback",g.fnFooterCallback,"user");z(p,"aoInitComplete",g.fnInitComplete,"user");z(p,"aoPreDrawCallback",
88
+ g.fnPreDrawCallback,"user");p.rowIdFn=S(g.rowId);hb(p);var u=p.oClasses;h.extend(u,n.ext.classes,g.oClasses);q.addClass(u.sTable);p.iInitDisplayStart===k&&(p.iInitDisplayStart=g.iDisplayStart,p._iDisplayStart=g.iDisplayStart);null!==g.iDeferLoading&&(p.bDeferLoading=!0,e=h.isArray(g.iDeferLoading),p._iRecordsDisplay=e?g.iDeferLoading[0]:g.iDeferLoading,p._iRecordsTotal=e?g.iDeferLoading[1]:g.iDeferLoading);var v=p.oLanguage;h.extend(!0,v,g.oLanguage);v.sUrl&&(h.ajax({dataType:"json",url:v.sUrl,success:function(a){Ca(a);
89
+ J(l.oLanguage,a);h.extend(true,v,a);ha(p)},error:function(){ha(p)}}),m=!0);null===g.asStripeClasses&&(p.asStripeClasses=[u.sStripeOdd,u.sStripeEven]);var e=p.asStripeClasses,x=q.children("tbody").find("tr").eq(0);-1!==h.inArray(!0,h.map(e,function(a){return x.hasClass(a)}))&&(h("tbody tr",this).removeClass(e.join(" ")),p.asDestroyStripes=e.slice());e=[];t=this.getElementsByTagName("thead");0!==t.length&&(ea(p.aoHeader,t[0]),e=ra(p));if(null===g.aoColumns){t=[];j=0;for(i=e.length;j<i;j++)t.push(null)}else t=
90
+ g.aoColumns;j=0;for(i=t.length;j<i;j++)Ea(p,e?e[j]:null);jb(p,g.aoColumnDefs,t,function(a,b){ka(p,a,b)});if(x.length){var w=function(a,b){return a.getAttribute("data-"+b)!==null?b:null};h(x[0]).children("th, td").each(function(a,b){var c=p.aoColumns[a];if(c.mData===a){var d=w(b,"sort")||w(b,"order"),e=w(b,"filter")||w(b,"search");if(d!==null||e!==null){c.mData={_:a+".display",sort:d!==null?a+".@data-"+d:k,type:d!==null?a+".@data-"+d:k,filter:e!==null?a+".@data-"+e:k};ka(p,a)}}})}var U=p.oFeatures,
91
+ e=function(){if(g.aaSorting===k){var a=p.aaSorting;j=0;for(i=a.length;j<i;j++)a[j][1]=p.aoColumns[j].asSorting[0]}wa(p);U.bSort&&z(p,"aoDrawCallback",function(){if(p.bSorted){var a=X(p),b={};h.each(a,function(a,c){b[c.src]=c.dir});r(p,null,"order",[p,a,b]);Jb(p)}});z(p,"aoDrawCallback",function(){(p.bSorted||y(p)==="ssp"||U.bDeferRender)&&wa(p)},"sc");var a=q.children("caption").each(function(){this._captionSide=h(this).css("caption-side")}),b=q.children("thead");b.length===0&&(b=h("<thead/>").appendTo(q));
92
+ p.nTHead=b[0];b=q.children("tbody");b.length===0&&(b=h("<tbody/>").appendTo(q));p.nTBody=b[0];b=q.children("tfoot");if(b.length===0&&a.length>0&&(p.oScroll.sX!==""||p.oScroll.sY!==""))b=h("<tfoot/>").appendTo(q);if(b.length===0||b.children().length===0)q.addClass(u.sNoFooter);else if(b.length>0){p.nTFoot=b[0];ea(p.aoFooter,p.nTFoot)}if(g.aaData)for(j=0;j<g.aaData.length;j++)O(p,g.aaData[j]);else(p.bDeferLoading||y(p)=="dom")&&na(p,h(p.nTBody).children("tr"));p.aiDisplay=p.aiDisplayMaster.slice();
93
+ p.bInitialised=true;m===false&&ha(p)};g.bStateSave?(U.bStateSave=!0,z(p,"aoDrawCallback",xa,"state_save"),Kb(p,g,e)):e()}});b=null;return this},x,s,o,u,Za={},Nb=/[\r\n]/g,Aa=/<.*?>/g,Zb=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,$b=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Ya=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,M=function(a){return!a||!0===a||"-"===a?!0:!1},Ob=function(a){var b=parseInt(a,10);return!isNaN(b)&&
94
+ isFinite(a)?b:null},Pb=function(a,b){Za[b]||(Za[b]=RegExp(Qa(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(Za[b],"."):a},$a=function(a,b,c){var d="string"===typeof a;if(M(a))return!0;b&&d&&(a=Pb(a,b));c&&d&&(a=a.replace(Ya,""));return!isNaN(parseFloat(a))&&isFinite(a)},Qb=function(a,b,c){return M(a)?!0:!(M(a)||"string"===typeof a)?null:$a(a.replace(Aa,""),b,c)?!0:null},D=function(a,b,c){var d=[],e=0,f=a.length;if(c!==k)for(;e<f;e++)a[e]&&a[e][b]&&d.push(a[e][b][c]);else for(;e<
95
+ f;e++)a[e]&&d.push(a[e][b]);return d},ja=function(a,b,c,d){var e=[],f=0,g=b.length;if(d!==k)for(;f<g;f++)a[b[f]][c]&&e.push(a[b[f]][c][d]);else for(;f<g;f++)e.push(a[b[f]][c]);return e},Y=function(a,b){var c=[],d;b===k?(b=0,d=a):(d=b,b=a);for(var e=b;e<d;e++)c.push(e);return c},Rb=function(a){for(var b=[],c=0,d=a.length;c<d;c++)a[c]&&b.push(a[c]);return b},qa=function(a){var b;a:{if(!(2>a.length)){b=a.slice().sort();for(var c=b[0],d=1,e=b.length;d<e;d++){if(b[d]===c){b=!1;break a}c=b[d]}}b=!0}if(b)return a.slice();
96
+ b=[];var e=a.length,f,g=0,d=0;a:for(;d<e;d++){c=a[d];for(f=0;f<g;f++)if(b[f]===c)continue a;b.push(c);g++}return b};n.util={throttle:function(a,b){var c=b!==k?b:200,d,e;return function(){var b=this,g=+new Date,j=arguments;d&&g<d+c?(clearTimeout(e),e=setTimeout(function(){d=k;a.apply(b,j)},c)):(d=g,a.apply(b,j))}},escapeRegex:function(a){return a.replace($b,"\\$1")}};var A=function(a,b,c){a[b]!==k&&(a[c]=a[b])},ca=/\[.*?\]$/,W=/\(\)$/,Qa=n.util.escapeRegex,va=h("<div>")[0],Wb=va.textContent!==k,Yb=
97
+ /<.*?>/g,Oa=n.util.throttle,Sb=[],w=Array.prototype,ac=function(a){var b,c,d=n.settings,e=h.map(d,function(a){return a.nTable});if(a){if(a.nTable&&a.oApi)return[a];if(a.nodeName&&"table"===a.nodeName.toLowerCase())return b=h.inArray(a,e),-1!==b?[d[b]]:null;if(a&&"function"===typeof a.settings)return a.settings().toArray();"string"===typeof a?c=h(a):a instanceof h&&(c=a)}else return[];if(c)return c.map(function(){b=h.inArray(this,e);return-1!==b?d[b]:null}).toArray()};s=function(a,b){if(!(this instanceof
98
+ s))return new s(a,b);var c=[],d=function(a){(a=ac(a))&&(c=c.concat(a))};if(h.isArray(a))for(var e=0,f=a.length;e<f;e++)d(a[e]);else d(a);this.context=qa(c);b&&h.merge(this,b);this.selector={rows:null,cols:null,opts:null};s.extend(this,this,Sb)};n.Api=s;h.extend(s.prototype,{any:function(){return 0!==this.count()},concat:w.concat,context:[],count:function(){return this.flatten().length},each:function(a){for(var b=0,c=this.length;b<c;b++)a.call(this,this[b],b,this);return this},eq:function(a){var b=
99
+ this.context;return b.length>a?new s(b[a],this[a]):null},filter:function(a){var b=[];if(w.filter)b=w.filter.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)a.call(this,this[c],c,this)&&b.push(this[c]);return new s(this.context,b)},flatten:function(){var a=[];return new s(this.context,a.concat.apply(a,this.toArray()))},join:w.join,indexOf:w.indexOf||function(a,b){for(var c=b||0,d=this.length;c<d;c++)if(this[c]===a)return c;return-1},iterator:function(a,b,c,d){var e=[],f,g,j,h,m,l=this.context,
100
+ n,o,u=this.selector;"string"===typeof a&&(d=c,c=b,b=a,a=!1);g=0;for(j=l.length;g<j;g++){var r=new s(l[g]);if("table"===b)f=c.call(r,l[g],g),f!==k&&e.push(f);else if("columns"===b||"rows"===b)f=c.call(r,l[g],this[g],g),f!==k&&e.push(f);else if("column"===b||"column-rows"===b||"row"===b||"cell"===b){o=this[g];"column-rows"===b&&(n=Ba(l[g],u.opts));h=0;for(m=o.length;h<m;h++)f=o[h],f="cell"===b?c.call(r,l[g],f.row,f.column,g,h):c.call(r,l[g],f,g,h,n),f!==k&&e.push(f)}}return e.length||d?(a=new s(l,a?
101
+ e.concat.apply([],e):e),b=a.selector,b.rows=u.rows,b.cols=u.cols,b.opts=u.opts,a):this},lastIndexOf:w.lastIndexOf||function(a,b){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(a){var b=[];if(w.map)b=w.map.call(this,a,this);else for(var c=0,d=this.length;c<d;c++)b.push(a.call(this,this[c],c));return new s(this.context,b)},pluck:function(a){return this.map(function(b){return b[a]})},pop:w.pop,push:w.push,reduce:w.reduce||function(a,b){return ib(this,a,b,0,this.length,
102
+ 1)},reduceRight:w.reduceRight||function(a,b){return ib(this,a,b,this.length-1,-1,-1)},reverse:w.reverse,selector:null,shift:w.shift,slice:function(){return new s(this.context,this)},sort:w.sort,splice:w.splice,toArray:function(){return w.slice.call(this)},to$:function(){return h(this)},toJQuery:function(){return h(this)},unique:function(){return new s(this.context,qa(this))},unshift:w.unshift});s.extend=function(a,b,c){if(c.length&&b&&(b instanceof s||b.__dt_wrapper)){var d,e,f,g=function(a,b,c){return function(){var d=
103
+ b.apply(a,arguments);s.extend(d,d,c.methodExt);return d}};d=0;for(e=c.length;d<e;d++)f=c[d],b[f.name]="function"===typeof f.val?g(a,f.val,f):h.isPlainObject(f.val)?{}:f.val,b[f.name].__dt_wrapper=!0,s.extend(a,b[f.name],f.propExt)}};s.register=o=function(a,b){if(h.isArray(a))for(var c=0,d=a.length;c<d;c++)s.register(a[c],b);else for(var e=a.split("."),f=Sb,g,j,c=0,d=e.length;c<d;c++){g=(j=-1!==e[c].indexOf("()"))?e[c].replace("()",""):e[c];var i;a:{i=0;for(var m=f.length;i<m;i++)if(f[i].name===g){i=
104
+ f[i];break a}i=null}i||(i={name:g,val:{},methodExt:[],propExt:[]},f.push(i));c===d-1?i.val=b:f=j?i.methodExt:i.propExt}};s.registerPlural=u=function(a,b,c){s.register(a,c);s.register(b,function(){var a=c.apply(this,arguments);return a===this?this:a instanceof s?a.length?h.isArray(a[0])?new s(a.context,a[0]):a[0]:k:a})};o("tables()",function(a){var b;if(a){b=s;var c=this.context;if("number"===typeof a)a=[c[a]];else var d=h.map(c,function(a){return a.nTable}),a=h(d).filter(a).map(function(){var a=h.inArray(this,
105
+ d);return c[a]}).toArray();b=new b(a)}else b=this;return b});o("table()",function(a){var a=this.tables(a),b=a.context;return b.length?new s(b[0]):a});u("tables().nodes()","table().node()",function(){return this.iterator("table",function(a){return a.nTable},1)});u("tables().body()","table().body()",function(){return this.iterator("table",function(a){return a.nTBody},1)});u("tables().header()","table().header()",function(){return this.iterator("table",function(a){return a.nTHead},1)});u("tables().footer()",
106
+ "table().footer()",function(){return this.iterator("table",function(a){return a.nTFoot},1)});u("tables().containers()","table().container()",function(){return this.iterator("table",function(a){return a.nTableWrapper},1)});o("draw()",function(a){return this.iterator("table",function(b){"page"===a?P(b):("string"===typeof a&&(a="full-hold"===a?!1:!0),T(b,!1===a))})});o("page()",function(a){return a===k?this.page.info().page:this.iterator("table",function(b){Ta(b,a)})});o("page.info()",function(){if(0===
107
+ this.context.length)return k;var a=this.context[0],b=a._iDisplayStart,c=a.oFeatures.bPaginate?a._iDisplayLength:-1,d=a.fnRecordsDisplay(),e=-1===c;return{page:e?0:Math.floor(b/c),pages:e?1:Math.ceil(d/c),start:b,end:a.fnDisplayEnd(),length:c,recordsTotal:a.fnRecordsTotal(),recordsDisplay:d,serverSide:"ssp"===y(a)}});o("page.len()",function(a){return a===k?0!==this.context.length?this.context[0]._iDisplayLength:k:this.iterator("table",function(b){Ra(b,a)})});var Tb=function(a,b,c){if(c){var d=new s(a);
108
+ d.one("draw",function(){c(d.ajax.json())})}if("ssp"==y(a))T(a,b);else{C(a,!0);var e=a.jqXHR;e&&4!==e.readyState&&e.abort();sa(a,[],function(c){oa(a);for(var c=ta(a,c),d=0,e=c.length;d<e;d++)O(a,c[d]);T(a,b);C(a,!1)})}};o("ajax.json()",function(){var a=this.context;if(0<a.length)return a[0].json});o("ajax.params()",function(){var a=this.context;if(0<a.length)return a[0].oAjaxData});o("ajax.reload()",function(a,b){return this.iterator("table",function(c){Tb(c,!1===b,a)})});o("ajax.url()",function(a){var b=
109
+ this.context;if(a===k){if(0===b.length)return k;b=b[0];return b.ajax?h.isPlainObject(b.ajax)?b.ajax.url:b.ajax:b.sAjaxSource}return this.iterator("table",function(b){h.isPlainObject(b.ajax)?b.ajax.url=a:b.ajax=a})});o("ajax.url().load()",function(a,b){return this.iterator("table",function(c){Tb(c,!1===b,a)})});var ab=function(a,b,c,d,e){var f=[],g,j,i,m,l,n;i=typeof b;if(!b||"string"===i||"function"===i||b.length===k)b=[b];i=0;for(m=b.length;i<m;i++){j=b[i]&&b[i].split&&!b[i].match(/[\[\(:]/)?b[i].split(","):
110
+ [b[i]];l=0;for(n=j.length;l<n;l++)(g=c("string"===typeof j[l]?h.trim(j[l]):j[l]))&&g.length&&(f=f.concat(g))}a=x.selector[a];if(a.length){i=0;for(m=a.length;i<m;i++)f=a[i](d,e,f)}return qa(f)},bb=function(a){a||(a={});a.filter&&a.search===k&&(a.search=a.filter);return h.extend({search:"none",order:"current",page:"all"},a)},cb=function(a){for(var b=0,c=a.length;b<c;b++)if(0<a[b].length)return a[0]=a[b],a[0].length=1,a.length=1,a.context=[a.context[b]],a;a.length=0;return a},Ba=function(a,b){var c,
111
+ d,e,f=[],g=a.aiDisplay;e=a.aiDisplayMaster;var j=b.search;c=b.order;d=b.page;if("ssp"==y(a))return"removed"===j?[]:Y(0,e.length);if("current"==d){c=a._iDisplayStart;for(d=a.fnDisplayEnd();c<d;c++)f.push(g[c])}else if("current"==c||"applied"==c)if("none"==j)f=e.slice();else if("applied"==j)f=g.slice();else{if("removed"==j){var i={};c=0;for(d=g.length;c<d;c++)i[g[c]]=null;f=h.map(e,function(a){return!i.hasOwnProperty(a)?a:null})}}else if("index"==c||"original"==c){c=0;for(d=a.aoData.length;c<d;c++)"none"==
112
+ j?f.push(c):(e=h.inArray(c,g),(-1===e&&"removed"==j||0<=e&&"applied"==j)&&f.push(c))}return f};o("rows()",function(a,b){a===k?a="":h.isPlainObject(a)&&(b=a,a="");var b=bb(b),c=this.iterator("table",function(c){var e=b,f;return ab("row",a,function(a){var b=Ob(a),i=c.aoData;if(b!==null&&!e)return[b];f||(f=Ba(c,e));if(b!==null&&h.inArray(b,f)!==-1)return[b];if(a===null||a===k||a==="")return f;if(typeof a==="function")return h.map(f,function(b){var c=i[b];return a(b,c._aData,c.nTr)?b:null});if(a.nodeName){var b=
113
+ a._DT_RowIndex,m=a._DT_CellIndex;if(b!==k)return i[b]&&i[b].nTr===a?[b]:[];if(m)return i[m.row]&&i[m.row].nTr===a?[m.row]:[];b=h(a).closest("*[data-dt-row]");return b.length?[b.data("dt-row")]:[]}if(typeof a==="string"&&a.charAt(0)==="#"){b=c.aIds[a.replace(/^#/,"")];if(b!==k)return[b.idx]}b=Rb(ja(c.aoData,f,"nTr"));return h(b).filter(a).map(function(){return this._DT_RowIndex}).toArray()},c,e)},1);c.selector.rows=a;c.selector.opts=b;return c});o("rows().nodes()",function(){return this.iterator("row",
114
+ function(a,b){return a.aoData[b].nTr||k},1)});o("rows().data()",function(){return this.iterator(!0,"rows",function(a,b){return ja(a.aoData,b,"_aData")},1)});u("rows().cache()","row().cache()",function(a){return this.iterator("row",function(b,c){var d=b.aoData[c];return"search"===a?d._aFilterData:d._aSortData},1)});u("rows().invalidate()","row().invalidate()",function(a){return this.iterator("row",function(b,c){da(b,c,a)})});u("rows().indexes()","row().index()",function(){return this.iterator("row",
115
+ function(a,b){return b},1)});u("rows().ids()","row().id()",function(a){for(var b=[],c=this.context,d=0,e=c.length;d<e;d++)for(var f=0,g=this[d].length;f<g;f++){var h=c[d].rowIdFn(c[d].aoData[this[d][f]]._aData);b.push((!0===a?"#":"")+h)}return new s(c,b)});u("rows().remove()","row().remove()",function(){var a=this;this.iterator("row",function(b,c,d){var e=b.aoData,f=e[c],g,h,i,m,l;e.splice(c,1);g=0;for(h=e.length;g<h;g++)if(i=e[g],l=i.anCells,null!==i.nTr&&(i.nTr._DT_RowIndex=g),null!==l){i=0;for(m=
116
+ l.length;i<m;i++)l[i]._DT_CellIndex.row=g}pa(b.aiDisplayMaster,c);pa(b.aiDisplay,c);pa(a[d],c,!1);0<b._iRecordsDisplay&&b._iRecordsDisplay--;Sa(b);c=b.rowIdFn(f._aData);c!==k&&delete b.aIds[c]});this.iterator("table",function(a){for(var c=0,d=a.aoData.length;c<d;c++)a.aoData[c].idx=c});return this});o("rows.add()",function(a){var b=this.iterator("table",function(b){var c,f,g,h=[];f=0;for(g=a.length;f<g;f++)c=a[f],c.nodeName&&"TR"===c.nodeName.toUpperCase()?h.push(na(b,c)[0]):h.push(O(b,c));return h},
117
+ 1),c=this.rows(-1);c.pop();h.merge(c,b);return c});o("row()",function(a,b){return cb(this.rows(a,b))});o("row().data()",function(a){var b=this.context;if(a===k)return b.length&&this.length?b[0].aoData[this[0]]._aData:k;var c=b[0].aoData[this[0]];c._aData=a;h.isArray(a)&&c.nTr.id&&N(b[0].rowId)(a,c.nTr.id);da(b[0],this[0],"data");return this});o("row().node()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]].nTr||null:null});o("row.add()",function(a){a instanceof h&&
118
+ a.length&&(a=a[0]);var b=this.iterator("table",function(b){return a.nodeName&&"TR"===a.nodeName.toUpperCase()?na(b,a)[0]:O(b,a)});return this.row(b[0])});var db=function(a,b){var c=a.context;if(c.length&&(c=c[0].aoData[b!==k?b:a[0]])&&c._details)c._details.remove(),c._detailsShow=k,c._details=k},Ub=function(a,b){var c=a.context;if(c.length&&a.length){var d=c[0].aoData[a[0]];if(d._details){(d._detailsShow=b)?d._details.insertAfter(d.nTr):d._details.detach();var e=c[0],f=new s(e),g=e.aoData;f.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details");
119
+ 0<D(g,"_details").length&&(f.on("draw.dt.DT_details",function(a,b){e===b&&f.rows({page:"current"}).eq(0).each(function(a){a=g[a];a._detailsShow&&a._details.insertAfter(a.nTr)})}),f.on("column-visibility.dt.DT_details",function(a,b){if(e===b)for(var c,d=V(b),f=0,h=g.length;f<h;f++)c=g[f],c._details&&c._details.children("td[colspan]").attr("colspan",d)}),f.on("destroy.dt.DT_details",function(a,b){if(e===b)for(var c=0,d=g.length;c<d;c++)g[c]._details&&db(f,c)}))}}};o("row().child()",function(a,b){var c=
120
+ this.context;if(a===k)return c.length&&this.length?c[0].aoData[this[0]]._details:k;if(!0===a)this.child.show();else if(!1===a)db(this);else if(c.length&&this.length){var d=c[0],c=c[0].aoData[this[0]],e=[],f=function(a,b){if(h.isArray(a)||a instanceof h)for(var c=0,k=a.length;c<k;c++)f(a[c],b);else a.nodeName&&"tr"===a.nodeName.toLowerCase()?e.push(a):(c=h("<tr><td/></tr>").addClass(b),h("td",c).addClass(b).html(a)[0].colSpan=V(d),e.push(c[0]))};f(a,b);c._details&&c._details.detach();c._details=h(e);
121
+ c._detailsShow&&c._details.insertAfter(c.nTr)}return this});o(["row().child.show()","row().child().show()"],function(){Ub(this,!0);return this});o(["row().child.hide()","row().child().hide()"],function(){Ub(this,!1);return this});o(["row().child.remove()","row().child().remove()"],function(){db(this);return this});o("row().child.isShown()",function(){var a=this.context;return a.length&&this.length?a[0].aoData[this[0]]._detailsShow||!1:!1});var bc=/^([^:]+):(name|visIdx|visible)$/,Vb=function(a,b,
122
+ c,d,e){for(var c=[],d=0,f=e.length;d<f;d++)c.push(B(a,e[d],b));return c};o("columns()",function(a,b){a===k?a="":h.isPlainObject(a)&&(b=a,a="");var b=bb(b),c=this.iterator("table",function(c){var e=a,f=b,g=c.aoColumns,j=D(g,"sName"),i=D(g,"nTh");return ab("column",e,function(a){var b=Ob(a);if(a==="")return Y(g.length);if(b!==null)return[b>=0?b:g.length+b];if(typeof a==="function"){var e=Ba(c,f);return h.map(g,function(b,f){return a(f,Vb(c,f,0,0,e),i[f])?f:null})}var k=typeof a==="string"?a.match(bc):
123
+ "";if(k)switch(k[2]){case "visIdx":case "visible":b=parseInt(k[1],10);if(b<0){var n=h.map(g,function(a,b){return a.bVisible?b:null});return[n[n.length+b]]}return[aa(c,b)];case "name":return h.map(j,function(a,b){return a===k[1]?b:null});default:return[]}if(a.nodeName&&a._DT_CellIndex)return[a._DT_CellIndex.column];b=h(i).filter(a).map(function(){return h.inArray(this,i)}).toArray();if(b.length||!a.nodeName)return b;b=h(a).closest("*[data-dt-column]");return b.length?[b.data("dt-column")]:[]},c,f)},
124
+ 1);c.selector.cols=a;c.selector.opts=b;return c});u("columns().header()","column().header()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTh},1)});u("columns().footer()","column().footer()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTf},1)});u("columns().data()","column().data()",function(){return this.iterator("column-rows",Vb,1)});u("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].mData},
125
+ 1)});u("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(b,c,d,e,f){return ja(b.aoData,f,"search"===a?"_aFilterData":"_aSortData",c)},1)});u("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,d,e){return ja(a.aoData,e,"anCells",b)},1)});u("columns().visible()","column().visible()",function(a,b){var c=this.iterator("column",function(b,c){if(a===k)return b.aoColumns[c].bVisible;var f=b.aoColumns,g=f[c],j=b.aoData,
126
+ i,m,l;if(a!==k&&g.bVisible!==a){if(a){var n=h.inArray(!0,D(f,"bVisible"),c+1);i=0;for(m=j.length;i<m;i++)l=j[i].nTr,f=j[i].anCells,l&&l.insertBefore(f[c],f[n]||null)}else h(D(b.aoData,"anCells",c)).detach();g.bVisible=a;fa(b,b.aoHeader);fa(b,b.aoFooter);b.aiDisplay.length||h(b.nTBody).find("td[colspan]").attr("colspan",V(b));xa(b)}});a!==k&&(this.iterator("column",function(c,e){r(c,null,"column-visibility",[c,e,a,b])}),(b===k||b)&&this.columns.adjust());return c});u("columns().indexes()","column().index()",
127
+ function(a){return this.iterator("column",function(b,c){return"visible"===a?ba(b,c):c},1)});o("columns.adjust()",function(){return this.iterator("table",function(a){$(a)},1)});o("column.index()",function(a,b){if(0!==this.context.length){var c=this.context[0];if("fromVisible"===a||"toData"===a)return aa(c,b);if("fromData"===a||"toVisible"===a)return ba(c,b)}});o("column()",function(a,b){return cb(this.columns(a,b))});o("cells()",function(a,b,c){h.isPlainObject(a)&&(a.row===k?(c=a,a=null):(c=b,b=null));
128
+ h.isPlainObject(b)&&(c=b,b=null);if(null===b||b===k)return this.iterator("table",function(b){var d=a,e=bb(c),f=b.aoData,g=Ba(b,e),j=Rb(ja(f,g,"anCells")),i=h([].concat.apply([],j)),l,m=b.aoColumns.length,n,o,u,s,r,v;return ab("cell",d,function(a){var c=typeof a==="function";if(a===null||a===k||c){n=[];o=0;for(u=g.length;o<u;o++){l=g[o];for(s=0;s<m;s++){r={row:l,column:s};if(c){v=f[l];a(r,B(b,l,s),v.anCells?v.anCells[s]:null)&&n.push(r)}else n.push(r)}}return n}if(h.isPlainObject(a))return a.column!==
129
+ k&&a.row!==k&&h.inArray(a.row,g)!==-1?[a]:[];c=i.filter(a).map(function(a,b){return{row:b._DT_CellIndex.row,column:b._DT_CellIndex.column}}).toArray();if(c.length||!a.nodeName)return c;v=h(a).closest("*[data-dt-row]");return v.length?[{row:v.data("dt-row"),column:v.data("dt-column")}]:[]},b,e)});var d=this.columns(b),e=this.rows(a),f,g,j,i,m;this.iterator("table",function(a,b){f=[];g=0;for(j=e[b].length;g<j;g++){i=0;for(m=d[b].length;i<m;i++)f.push({row:e[b][g],column:d[b][i]})}},1);var l=this.cells(f,
130
+ c);h.extend(l.selector,{cols:b,rows:a,opts:c});return l});u("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(a,b,c){return(a=a.aoData[b])&&a.anCells?a.anCells[c]:k},1)});o("cells().data()",function(){return this.iterator("cell",function(a,b,c){return B(a,b,c)},1)});u("cells().cache()","cell().cache()",function(a){a="search"===a?"_aFilterData":"_aSortData";return this.iterator("cell",function(b,c,d){return b.aoData[c][a][d]},1)});u("cells().render()","cell().render()",
131
+ function(a){return this.iterator("cell",function(b,c,d){return B(b,c,d,a)},1)});u("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(a,b,c){return{row:b,column:c,columnVisible:ba(a,c)}},1)});u("cells().invalidate()","cell().invalidate()",function(a){return this.iterator("cell",function(b,c,d){da(b,c,a,d)})});o("cell()",function(a,b,c){return cb(this.cells(a,b,c))});o("cell().data()",function(a){var b=this.context,c=this[0];if(a===k)return b.length&&c.length?B(b[0],
132
+ c[0].row,c[0].column):k;kb(b[0],c[0].row,c[0].column,a);da(b[0],c[0].row,"data",c[0].column);return this});o("order()",function(a,b){var c=this.context;if(a===k)return 0!==c.length?c[0].aaSorting:k;"number"===typeof a?a=[[a,b]]:a.length&&!h.isArray(a[0])&&(a=Array.prototype.slice.call(arguments));return this.iterator("table",function(b){b.aaSorting=a.slice()})});o("order.listener()",function(a,b,c){return this.iterator("table",function(d){Ma(d,a,b,c)})});o("order.fixed()",function(a){if(!a){var b=
133
+ this.context,b=b.length?b[0].aaSortingFixed:k;return h.isArray(b)?{pre:b}:b}return this.iterator("table",function(b){b.aaSortingFixed=h.extend(!0,{},a)})});o(["columns().order()","column().order()"],function(a){var b=this;return this.iterator("table",function(c,d){var e=[];h.each(b[d],function(b,c){e.push([c,a])});c.aaSorting=e})});o("search()",function(a,b,c,d){var e=this.context;return a===k?0!==e.length?e[0].oPreviousSearch.sSearch:k:this.iterator("table",function(e){e.oFeatures.bFilter&&ga(e,
134
+ h.extend({},e.oPreviousSearch,{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===c?!0:c,bCaseInsensitive:null===d?!0:d}),1)})});u("columns().search()","column().search()",function(a,b,c,d){return this.iterator("column",function(e,f){var g=e.aoPreSearchCols;if(a===k)return g[f].sSearch;e.oFeatures.bFilter&&(h.extend(g[f],{sSearch:a+"",bRegex:null===b?!1:b,bSmart:null===c?!0:c,bCaseInsensitive:null===d?!0:d}),ga(e,e.oPreviousSearch,1))})});o("state()",function(){return this.context.length?this.context[0].oSavedState:
135
+ null});o("state.clear()",function(){return this.iterator("table",function(a){a.fnStateSaveCallback.call(a.oInstance,a,{})})});o("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null});o("state.save()",function(){return this.iterator("table",function(a){xa(a)})});n.versionCheck=n.fnVersionCheck=function(a){for(var b=n.version.split("."),a=a.split("."),c,d,e=0,f=a.length;e<f;e++)if(c=parseInt(b[e],10)||0,d=parseInt(a[e],10)||0,c!==d)return c>d;return!0};n.isDataTable=
136
+ n.fnIsDataTable=function(a){var b=h(a).get(0),c=!1;if(a instanceof n.Api)return!0;h.each(n.settings,function(a,e){var f=e.nScrollHead?h("table",e.nScrollHead)[0]:null,g=e.nScrollFoot?h("table",e.nScrollFoot)[0]:null;if(e.nTable===b||f===b||g===b)c=!0});return c};n.tables=n.fnTables=function(a){var b=!1;h.isPlainObject(a)&&(b=a.api,a=a.visible);var c=h.map(n.settings,function(b){if(!a||a&&h(b.nTable).is(":visible"))return b.nTable});return b?new s(c):c};n.camelToHungarian=J;o("$()",function(a,b){var c=
137
+ this.rows(b).nodes(),c=h(c);return h([].concat(c.filter(a).toArray(),c.find(a).toArray()))});h.each(["on","one","off"],function(a,b){o(b+"()",function(){var a=Array.prototype.slice.call(arguments);a[0]=h.map(a[0].split(/\s/),function(a){return!a.match(/\.dt\b/)?a+".dt":a}).join(" ");var d=h(this.tables().nodes());d[b].apply(d,a);return this})});o("clear()",function(){return this.iterator("table",function(a){oa(a)})});o("settings()",function(){return new s(this.context,this.context)});o("init()",function(){var a=
138
+ this.context;return a.length?a[0].oInit:null});o("data()",function(){return this.iterator("table",function(a){return D(a.aoData,"_aData")}).flatten()});o("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,d=b.oClasses,e=b.nTable,f=b.nTBody,g=b.nTHead,j=b.nTFoot,i=h(e),f=h(f),k=h(b.nTableWrapper),l=h.map(b.aoData,function(a){return a.nTr}),o;b.bDestroying=!0;r(b,"aoDestroyCallback","destroy",[b]);a||(new s(b)).columns().visible(!0);k.off(".DT").find(":not(tbody *)").off(".DT");
139
+ h(E).off(".DT-"+b.sInstance);e!=g.parentNode&&(i.children("thead").detach(),i.append(g));j&&e!=j.parentNode&&(i.children("tfoot").detach(),i.append(j));b.aaSorting=[];b.aaSortingFixed=[];wa(b);h(l).removeClass(b.asStripeClasses.join(" "));h("th, td",g).removeClass(d.sSortable+" "+d.sSortableAsc+" "+d.sSortableDesc+" "+d.sSortableNone);f.children().detach();f.append(l);g=a?"remove":"detach";i[g]();k[g]();!a&&c&&(c.insertBefore(e,b.nTableReinsertBefore),i.css("width",b.sDestroyWidth).removeClass(d.sTable),
140
+ (o=b.asDestroyStripes.length)&&f.children().each(function(a){h(this).addClass(b.asDestroyStripes[a%o])}));c=h.inArray(b,n.settings);-1!==c&&n.settings.splice(c,1)})});h.each(["column","row","cell"],function(a,b){o(b+"s().every()",function(a){var d=this.selector.opts,e=this;return this.iterator(b,function(f,g,h,i,m){a.call(e[b](g,"cell"===b?h:d,"cell"===b?d:k),g,h,i,m)})})});o("i18n()",function(a,b,c){var d=this.context[0],a=S(a)(d.oLanguage);a===k&&(a=b);c!==k&&h.isPlainObject(a)&&(a=a[c]!==k?a[c]:
141
+ a._);return a.replace("%d",c)});n.version="1.10.19";n.settings=[];n.models={};n.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};n.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1};n.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,
142
+ sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};n.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,
143
+ bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(a){try{return JSON.parse((-1===a.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+
144
+ a.sInstance+"_"+location.pathname))}catch(b){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(a,b){try{(-1===a.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+a.sInstance+"_"+location.pathname,JSON.stringify(b))}catch(c){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},
145
+ oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:h.extend({},
146
+ n.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"};Z(n.defaults);n.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};
147
+ Z(n.defaults.column);n.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],
148
+ aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",
149
+ iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:k,oAjaxData:k,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==y(this)?1*this._iRecordsTotal:
150
+ this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==y(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a=this._iDisplayLength,b=this._iDisplayStart,c=b+a,d=this.aiDisplay.length,e=this.oFeatures,f=e.bPaginate;return e.bServerSide?!1===f||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!f||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null};n.ext=x={buttons:{},
151
+ classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:n.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:n.version};h.extend(x,{afnFiltering:x.search,aTypes:x.type.detect,ofnSearch:x.type.search,oSort:x.type.order,afnSortData:x.order,aoFeatures:x.feature,oApi:x.internal,oStdClasses:x.classes,oPagination:x.pager});
152
+ h.extend(n.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",
153
+ sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",
154
+ sJUIHeader:"",sJUIFooter:""});var Lb=n.ext.pager;h.extend(Lb,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(a,b){return[ia(a,b)]},simple_numbers:function(a,b){return["previous",ia(a,b),"next"]},full_numbers:function(a,b){return["first","previous",ia(a,b),"next","last"]},first_last_numbers:function(a,b){return["first",ia(a,b),"last"]},_numbers:ia,numbers_length:7});h.extend(!0,n.ext.renderer,{pageButton:{_:function(a,b,c,d,e,
155
+ f){var g=a.oClasses,j=a.oLanguage.oPaginate,i=a.oLanguage.oAria.paginate||{},m,l,n=0,o=function(b,d){var k,s,u,r,v=function(b){Ta(a,b.data.action,true)};k=0;for(s=d.length;k<s;k++){r=d[k];if(h.isArray(r)){u=h("<"+(r.DT_el||"div")+"/>").appendTo(b);o(u,r)}else{m=null;l="";switch(r){case "ellipsis":b.append('<span class="ellipsis">&#x2026;</span>');break;case "first":m=j.sFirst;l=r+(e>0?"":" "+g.sPageButtonDisabled);break;case "previous":m=j.sPrevious;l=r+(e>0?"":" "+g.sPageButtonDisabled);break;case "next":m=
156
+ j.sNext;l=r+(e<f-1?"":" "+g.sPageButtonDisabled);break;case "last":m=j.sLast;l=r+(e<f-1?"":" "+g.sPageButtonDisabled);break;default:m=r+1;l=e===r?g.sPageButtonActive:""}if(m!==null){u=h("<a>",{"class":g.sPageButton+" "+l,"aria-controls":a.sTableId,"aria-label":i[r],"data-dt-idx":n,tabindex:a.iTabIndex,id:c===0&&typeof r==="string"?a.sTableId+"_"+r:null}).html(m).appendTo(b);Wa(u,{action:r},v);n++}}}},s;try{s=h(b).find(H.activeElement).data("dt-idx")}catch(u){}o(h(b).empty(),d);s!==k&&h(b).find("[data-dt-idx="+
157
+ s+"]").focus()}}});h.extend(n.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return $a(a,c)?"num"+c:null},function(a){if(a&&!(a instanceof Date)&&!Zb.test(a))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||M(a)?"date":null},function(a,b){var c=b.oLanguage.sDecimal;return $a(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Qb(a,c)?"html-num"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Qb(a,c,!0)?"html-num-fmt"+c:null},function(a){return M(a)||
158
+ "string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);h.extend(n.ext.type.search,{html:function(a){return M(a)?a:"string"===typeof a?a.replace(Nb," ").replace(Aa,""):""},string:function(a){return M(a)?a:"string"===typeof a?a.replace(Nb," "):a}});var za=function(a,b,c,d){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=Pb(a,b));a.replace&&(c&&(a=a.replace(c,"")),d&&(a=a.replace(d,"")));return 1*a};h.extend(x.type.order,{"date-pre":function(a){a=Date.parse(a);return isNaN(a)?-Infinity:a},"html-pre":function(a){return M(a)?
159
+ "":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return M(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a,b){return a<b?-1:a>b?1:0},"string-desc":function(a,b){return a<b?1:a>b?-1:0}});Da("");h.extend(!0,n.ext.renderer,{header:{_:function(a,b,c,d){h(a.nTable).on("order.dt.DT",function(e,f,g,h){if(a===f){e=c.idx;b.removeClass(c.sSortingClass+" "+d.sSortAsc+" "+d.sSortDesc).addClass(h[e]=="asc"?d.sSortAsc:h[e]=="desc"?d.sSortDesc:
160
+ c.sSortingClass)}})},jqueryui:function(a,b,c,d){h("<div/>").addClass(d.sSortJUIWrapper).append(b.contents()).append(h("<span/>").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);h(a.nTable).on("order.dt.DT",function(e,f,g,h){if(a===f){e=c.idx;b.removeClass(d.sSortAsc+" "+d.sSortDesc).addClass(h[e]=="asc"?d.sSortAsc:h[e]=="desc"?d.sSortDesc:c.sSortingClass);b.find("span."+d.sSortIcon).removeClass(d.sSortJUIAsc+" "+d.sSortJUIDesc+" "+d.sSortJUI+" "+d.sSortJUIAscAllowed+" "+d.sSortJUIDescAllowed).addClass(h[e]==
161
+ "asc"?d.sSortJUIAsc:h[e]=="desc"?d.sSortJUIDesc:c.sSortingClassJUI)}})}}});var eb=function(a){return"string"===typeof a?a.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):a};n.render={number:function(a,b,c,d,e){return{display:function(f){if("number"!==typeof f&&"string"!==typeof f)return f;var g=0>f?"-":"",h=parseFloat(f);if(isNaN(h))return eb(f);h=h.toFixed(c);f=Math.abs(h);h=parseInt(f,10);f=c?b+(f-h).toFixed(c).substring(2):"";return g+(d||"")+h.toString().replace(/\B(?=(\d{3})+(?!\d))/g,
162
+ a)+f+(e||"")}}},text:function(){return{display:eb,filter:eb}}};h.extend(n.ext.internal,{_fnExternApiFunc:Mb,_fnBuildAjax:sa,_fnAjaxUpdate:mb,_fnAjaxParameters:vb,_fnAjaxUpdateDraw:wb,_fnAjaxDataSrc:ta,_fnAddColumn:Ea,_fnColumnOptions:ka,_fnAdjustColumnSizing:$,_fnVisibleToColumnIndex:aa,_fnColumnIndexToVisible:ba,_fnVisbleColumns:V,_fnGetColumns:ma,_fnColumnTypes:Ga,_fnApplyColumnDefs:jb,_fnHungarianMap:Z,_fnCamelToHungarian:J,_fnLanguageCompat:Ca,_fnBrowserDetect:hb,_fnAddData:O,_fnAddTr:na,_fnNodeToDataIndex:function(a,
163
+ b){return b._DT_RowIndex!==k?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return h.inArray(c,a.aoData[b].anCells)},_fnGetCellData:B,_fnSetCellData:kb,_fnSplitObjNotation:Ja,_fnGetObjectDataFn:S,_fnSetObjectDataFn:N,_fnGetDataMaster:Ka,_fnClearTable:oa,_fnDeleteIndex:pa,_fnInvalidate:da,_fnGetRowElements:Ia,_fnCreateTr:Ha,_fnBuildHead:lb,_fnDrawHead:fa,_fnDraw:P,_fnReDraw:T,_fnAddOptionsHtml:ob,_fnDetectHeader:ea,_fnGetUniqueThs:ra,_fnFeatureHtmlFilter:qb,_fnFilterComplete:ga,_fnFilterCustom:zb,
164
+ _fnFilterColumn:yb,_fnFilter:xb,_fnFilterCreateSearch:Pa,_fnEscapeRegex:Qa,_fnFilterData:Ab,_fnFeatureHtmlInfo:tb,_fnUpdateInfo:Db,_fnInfoMacros:Eb,_fnInitialise:ha,_fnInitComplete:ua,_fnLengthChange:Ra,_fnFeatureHtmlLength:pb,_fnFeatureHtmlPaginate:ub,_fnPageChange:Ta,_fnFeatureHtmlProcessing:rb,_fnProcessingDisplay:C,_fnFeatureHtmlTable:sb,_fnScrollDraw:la,_fnApplyToChildren:I,_fnCalculateColumnWidths:Fa,_fnThrottle:Oa,_fnConvertToWidth:Fb,_fnGetWidestNode:Gb,_fnGetMaxLenString:Hb,_fnStringToCss:v,
165
+ _fnSortFlatten:X,_fnSort:nb,_fnSortAria:Jb,_fnSortListener:Va,_fnSortAttachListener:Ma,_fnSortingClasses:wa,_fnSortData:Ib,_fnSaveState:xa,_fnLoadState:Kb,_fnSettingsFromNode:ya,_fnLog:K,_fnMap:F,_fnBindAction:Wa,_fnCallbackReg:z,_fnCallbackFire:r,_fnLengthOverflow:Sa,_fnRenderer:Na,_fnDataSource:y,_fnRowAttributes:La,_fnExtend:Xa,_fnCalculateEnd:function(){}});h.fn.dataTable=n;n.$=h;h.fn.dataTableSettings=n.settings;h.fn.dataTableExt=n.ext;h.fn.DataTable=function(a){return h(this).dataTable(a).api()};
166
+ h.each(n,function(a,b){h.fn.DataTable[a]=b});return h.fn.dataTable});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/woocompare.js CHANGED
@@ -152,8 +152,9 @@ jQuery(document).ready(function($) {
152
  success: function(response){
153
 
154
  // in compare table
155
- var table = $(response).filter('table.compare-list');
156
- $('body > table.compare-list').replaceWith( table );
 
157
 
158
  $('.compare[data-product_id="' + button.data('product_id') + '"]', window.parent.document).removeClass('added').html( yith_woocompare.button_text );
159
 
152
  success: function(response){
153
 
154
  // in compare table
155
+ var content = $(response).filter('#yith-woocompare');
156
+ // replace content
157
+ $( '#yith-woocompare' ).replaceWith( content );
158
 
159
  $('.compare[data-product_id="' + button.data('product_id') + '"]', window.parent.document).removeClass('added').html( yith_woocompare.button_text );
160
 
assets/js/woocompare.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(o){function e(o,e){o=escape(o),e=escape(e);var t=document.location.search,a=o+"="+e,r=new RegExp("(&|\\?)"+o+"=[^&]*");return t=t.replace(r,"$1"+a),RegExp.$1||(t+=(t.length>0?"&":"?")+a),t}o(document).on("click",".product a.compare:not(.added)",function(e){e.preventDefault();var t=o(this),a={action:yith_woocompare.actionadd,id:t.data("product_id"),context:"frontend"},r=o(".yith-woocompare-widget ul.products-list");void 0!==o.fn.block&&(t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),r.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionadd),data:a,dataType:"json",success:function(e){void 0!==o.fn.block&&(t.unblock(),r.unblock()),t.addClass("added").attr("href",e.table_url).text(yith_woocompare.added_label),r.html(e.widget_table),"yes"==yith_woocompare.auto_open&&o("body").trigger("yith_woocompare_open_popup",{response:e.table_url,button:t})}})}),o(document).on("click",".product a.compare.added",function(e){e.preventDefault();var t=this.href;void 0!==t&&o("body").trigger("yith_woocompare_open_popup",{response:t,button:o(this)})}),o("body").on("yith_woocompare_open_popup",function(e,t){var a=t.response;if(o(window).width()>=768)o.colorbox({href:a,iframe:!0,width:"90%",height:"90%",className:"yith_woocompare_colorbox",close:yith_woocompare.close_label,onClosed:function(){var e=o(".yith-woocompare-widget ul.products-list"),t={action:yith_woocompare.actionreload,context:"frontend"};void 0!==o.fn.block&&e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionreload),data:t,success:function(t){void 0!==o.fn.block&&e.unblock().html(t),e.html(t)}})}}),o(window).resize(function(){o.colorbox.resize({width:"90%",height:"90%"})});else{var r=a.split("?");if(r.length>=2){for(var c=encodeURIComponent("iframe")+"=",n=r[1].split(/[&;]/g),i=n.length;i-- >0;)-1!==n[i].lastIndexOf(c,0)&&n.splice(i,1);a=r[0]+"?"+n.join("&")}window.open(a,yith_woocompare.table_title)}}),o(document).on("click",".remove a",function(e){e.preventDefault();var t=o(this),a={action:yith_woocompare.actionremove,id:t.data("product_id"),context:"frontend"};o("td.product_"+a.id+", th.product_"+a.id);void 0!==o.fn.block&&t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:a,dataType:"html",success:function(e){var a=o(e).filter("table.compare-list");o("body > table.compare-list").replaceWith(a),o('.compare[data-product_id="'+t.data("product_id")+'"]',window.parent.document).removeClass("added").html(yith_woocompare.button_text),o(window).trigger("yith_woocompare_product_removed")}})}),o(".yith-woocompare-open a, a.yith-woocompare-open").on("click",function(t){t.preventDefault(),o("body").trigger("yith_woocompare_open_popup",{response:e("action",yith_woocompare.actionview)+"&iframe=true"})}),o(".yith-woocompare-widget").on("click","a.compare",function(e){e.preventDefault(),o("body").trigger("yith_woocompare_open_popup",{response:o(this).attr("href")})}).on("click","li a.remove, a.clear-all",function(e){e.preventDefault();var t=o(".yith-woocompare-widget .products-list").data("lang"),a=o(this),r=a.data("product_id"),c={action:yith_woocompare.actionremove,id:r,context:"frontend",responseType:"product_list",lang:t},n=a.parents(".yith-woocompare-widget").find("ul.products-list");void 0!==o.fn.block&&n.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),o.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:c,dataType:"html",success:function(e){"all"==r?o(".compare.added").removeClass("added").html(yith_woocompare.button_text):o('.compare[data-product_id="'+r+'"]').removeClass("added").html(yith_woocompare.button_text),n.html(e),void 0!==o.fn.block&&n.unblock()}})}),o("body").on("added_to_cart",function(e,t,a,r){o(r).closest("table.compare-list").length&&r.hide()})});
1
+ jQuery(document).ready(function(i){i(document).on("click",".product a.compare:not(.added)",function(o){o.preventDefault();var e=i(this),t={action:yith_woocompare.actionadd,id:e.data("product_id"),context:"frontend"},a=i(".yith-woocompare-widget ul.products-list");void 0!==i.fn.block&&(e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),a.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}})),i.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionadd),data:t,dataType:"json",success:function(o){void 0!==i.fn.block&&(e.unblock(),a.unblock()),e.addClass("added").attr("href",o.table_url).text(yith_woocompare.added_label),a.html(o.widget_table),"yes"==yith_woocompare.auto_open&&i("body").trigger("yith_woocompare_open_popup",{response:o.table_url,button:e})}})}),i(document).on("click",".product a.compare.added",function(o){o.preventDefault();var e=this.href;void 0!==e&&i("body").trigger("yith_woocompare_open_popup",{response:e,button:i(this)})}),i("body").on("yith_woocompare_open_popup",function(o,e){var t=e.response;if(768<=i(window).width())i.colorbox({href:t,iframe:!0,width:"90%",height:"90%",className:"yith_woocompare_colorbox",close:yith_woocompare.close_label,onClosed:function(){var e=i(".yith-woocompare-widget ul.products-list"),o={action:yith_woocompare.actionreload,context:"frontend"};void 0!==i.fn.block&&e.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),i.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionreload),data:o,success:function(o){void 0!==i.fn.block&&e.unblock().html(o),e.html(o)}})}}),i(window).resize(function(){i.colorbox.resize({width:"90%",height:"90%"})});else{var a=t.split("?");if(2<=a.length){for(var r=encodeURIComponent("iframe")+"=",c=a[1].split(/[&;]/g),n=c.length;0<n--;)-1!==c[n].lastIndexOf(r,0)&&c.splice(n,1);t=a[0]+"?"+c.join("&")}window.open(t,yith_woocompare.table_title)}}),i(document).on("click",".remove a",function(o){o.preventDefault();var t=i(this),e={action:yith_woocompare.actionremove,id:t.data("product_id"),context:"frontend"};i("td.product_"+e.id+", th.product_"+e.id);void 0!==i.fn.block&&t.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),i.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:e,dataType:"html",success:function(o){var e=i(o).filter("#yith-woocompare");i("#yith-woocompare").replaceWith(e),i('.compare[data-product_id="'+t.data("product_id")+'"]',window.parent.document).removeClass("added").html(yith_woocompare.button_text),i(window).trigger("yith_woocompare_product_removed")}})}),i(".yith-woocompare-open a, a.yith-woocompare-open").on("click",function(o){o.preventDefault(),i("body").trigger("yith_woocompare_open_popup",{response:function(o,e){o=escape(o),e=escape(e);var t=document.location.search,a=o+"="+e,r=new RegExp("(&|\\?)"+o+"=[^&]*");t=t.replace(r,"$1"+a),RegExp.$1||(t+=(0<t.length?"&":"?")+a);return t}("action",yith_woocompare.actionview)+"&iframe=true"})}),i(".yith-woocompare-widget").on("click","a.compare",function(o){o.preventDefault(),i("body").trigger("yith_woocompare_open_popup",{response:i(this).attr("href")})}).on("click","li a.remove, a.clear-all",function(o){o.preventDefault();var e=i(".yith-woocompare-widget .products-list").data("lang"),t=i(this),a=t.data("product_id"),r={action:yith_woocompare.actionremove,id:a,context:"frontend",responseType:"product_list",lang:e},c=t.parents(".yith-woocompare-widget").find("ul.products-list");void 0!==i.fn.block&&c.block({message:null,overlayCSS:{background:"#fff url("+yith_woocompare.loader+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),i.ajax({type:"post",url:yith_woocompare.ajaxurl.toString().replace("%%endpoint%%",yith_woocompare.actionremove),data:r,dataType:"html",success:function(o){"all"==a?i(".compare.added").removeClass("added").html(yith_woocompare.button_text):i('.compare[data-product_id="'+a+'"]').removeClass("added").html(yith_woocompare.button_text),c.html(o),void 0!==i.fn.block&&c.unblock()}})}),i("body").on("added_to_cart",function(o,e,t,a){i(a).closest("table.compare-list").length&&a.hide()})});
includes/class.yith-woocompare-admin.php CHANGED
@@ -79,7 +79,7 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
79
 
80
  //Add action links
81
  add_filter( 'plugin_action_links_' . plugin_basename( YITH_WOOCOMPARE_DIR . '/' . basename( YITH_WOOCOMPARE_FILE ) ), array( $this, 'action_links' ) );
82
- add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
83
 
84
  add_action( 'yith_woocompare_premium', array( $this, 'premium_tab' ) );
85
 
@@ -196,29 +196,33 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
196
 
197
  }
198
 
199
- /**
200
- * plugin_row_meta
201
- *
202
- * add the action links to plugin admin page
203
- *
204
- * @param $plugin_meta
205
- * @param $plugin_file
206
- * @param $plugin_data
207
- * @param $status
208
- *
209
- * @return Array
210
- * @since 1.0
211
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
212
- * @use plugin_row_meta
213
- */
214
- public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
215
-
216
- if ( defined( 'YITH_WOOCOMPARE_INIT' ) && YITH_WOOCOMPARE_INIT == $plugin_file ) {
217
- $plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-woocommerce-compare' ) . '</a>';
218
- }
219
-
220
- return $plugin_meta;
221
- }
 
 
 
 
222
 
223
  /**
224
  * Register Pointer
79
 
80
  //Add action links
81
  add_filter( 'plugin_action_links_' . plugin_basename( YITH_WOOCOMPARE_DIR . '/' . basename( YITH_WOOCOMPARE_FILE ) ), array( $this, 'action_links' ) );
82
+ add_filter( 'yith_show_plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 5 );
83
 
84
  add_action( 'yith_woocompare_premium', array( $this, 'premium_tab' ) );
85
 
196
 
197
  }
198
 
199
+ /**
200
+ * plugin_row_meta
201
+ *
202
+ * add the action links to plugin admin page
203
+ *
204
+ * @param $plugin_meta
205
+ * @param $plugin_file
206
+ * @param $plugin_data
207
+ * @param $status
208
+ *
209
+ * @return Array
210
+ * @since 1.0
211
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
212
+ * @use plugin_row_meta
213
+ */
214
+ public function plugin_row_meta( $new_row_meta_args, $plugin_meta, $plugin_file, $plugin_data, $status ) {
215
+
216
+ if ( defined( 'YITH_WOOCOMPARE_INIT' ) && YITH_WOOCOMPARE_INIT == $plugin_file ) {
217
+ $new_row_meta_args['slug'] = YITH_WOOCOMPARE_SLUG;
218
+
219
+ if( defined( 'YITH_WOOCOMPARE_PREMIUM' ) ){
220
+ $new_row_meta_args['is_premium'] = true;
221
+ }
222
+ }
223
+
224
+ return $new_row_meta_args;
225
+ }
226
 
227
  /**
228
  * Register Pointer
includes/class.yith-woocompare-frontend.php CHANGED
@@ -173,9 +173,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
173
 
174
  // check for deleted|private products
175
  $product = wc_get_product( $product_id );
176
- $post_status = yit_get_prop( $product, 'post_status' );
177
-
178
- if( ! $product || $post_status !== 'publish' ) {
179
  continue;
180
  }
181
 
173
 
174
  // check for deleted|private products
175
  $product = wc_get_product( $product_id );
176
+ if( ! $product || yit_get_prop( $product, 'post_status' ) !== 'publish' ) {
 
 
177
  continue;
178
  }
179
 
init.php CHANGED
@@ -2,18 +2,18 @@
2
  /**
3
  * Plugin Name: YITH WooCommerce Compare
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
5
- * Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
6
- * Version: 2.3.1
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
10
  * Domain Path: /languages/
11
  * WC requires at least: 2.5.0
12
- * WC tested up to: 3.4.0
13
  *
14
  * @author Yithemes
15
  * @package YITH WooCommerce Compare
16
- * @version 2.3.1
17
  */
18
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
@@ -58,7 +58,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
58
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
 
60
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
61
- define( 'YITH_WOOCOMPARE_VERSION', '2.3.1' );
62
  }
63
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
64
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
@@ -84,7 +84,9 @@ if ( ! defined( 'YITH_WOOCOMPARE_TEMPLATE_PATH' ) ) {
84
  if ( ! defined( 'YITH_WOOCOMPARE_ASSETS_URL' ) ) {
85
  define( 'YITH_WOOCOMPARE_ASSETS_URL', YITH_WOOCOMPARE_URL . 'assets' );
86
  }
87
-
 
 
88
  /* Plugin Framework Version Check */
89
  if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' ) ) {
90
  require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' );
2
  /**
3
  * Plugin Name: YITH WooCommerce Compare
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-compare/
5
+ * Description: The <code><strong>YITH WooCommerce Compare</strong></code> plugin allow you to compare in a simple and efficient way products on sale in your shop and analyse their main features in a single table. <a href="https://yithemes.com/" target="_blank">Find new awesome plugins on <strong>YITH</strong></a>.
6
+ * Version: 2.3.2
7
  * Author: YITHEMES
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-compare
10
  * Domain Path: /languages/
11
  * WC requires at least: 2.5.0
12
+ * WC tested up to: 3.4.5
13
  *
14
  * @author Yithemes
15
  * @package YITH WooCommerce Compare
16
+ * @version 2.3.2
17
  */
18
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
58
  register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
 
60
  if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
61
+ define( 'YITH_WOOCOMPARE_VERSION', '2.3.2' );
62
  }
63
  if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
64
  define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
84
  if ( ! defined( 'YITH_WOOCOMPARE_ASSETS_URL' ) ) {
85
  define( 'YITH_WOOCOMPARE_ASSETS_URL', YITH_WOOCOMPARE_URL . 'assets' );
86
  }
87
+ if ( ! defined( 'YITH_WOOCOMPARE_SLUG' ) ) {
88
+ define( 'YITH_WOOCOMPARE_SLUG', 'yith-woocommerce-compare' );
89
+ }
90
  /* Plugin Framework Version Check */
91
  if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' ) ) {
92
  require_once( YITH_WOOCOMPARE_DIR . 'plugin-fw/init.php' );
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -361,4 +361,42 @@ ul.yit-icons-manager-list li.active {
361
  /* ------- Buttons ------- */
362
  .yith-plugin-fw-buttons-field-wrapper {
363
  margin-top : 7px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  }
361
  /* ------- Buttons ------- */
362
  .yith-plugin-fw-buttons-field-wrapper {
363
  margin-top : 7px;
364
+ }
365
+
366
+ /* ------- Select Images ------- */
367
+ .yith-plugin-fw-select-images__list {
368
+ margin : 0;
369
+ display : flex;
370
+ flex-wrap : wrap;
371
+ }
372
+
373
+ .yith-plugin-fw-select-images__item {
374
+ width : calc(20% - 10px);
375
+ min-width : 150px;
376
+ margin : 0 10px 10px 0;
377
+ padding : 10px;
378
+ box-sizing : border-box;
379
+ cursor : pointer;
380
+ transition : all .3s;
381
+ border : 2px solid #eee;
382
+ display : flex;
383
+ flex-direction : column;
384
+ justify-content : space-between;
385
+ }
386
+
387
+ .yith-plugin-fw-select-images__item:hover,
388
+ .yith-plugin-fw-select-images__item.yith-plugin-fw-select-images__item--selected {
389
+ border-color : #07bcce;
390
+ }
391
+
392
+ .yith-plugin-fw-select-images__item__label {
393
+ text-align : center;
394
+ font-weight : 600;
395
+ margin-bottom : 10px;
396
+ }
397
+
398
+ .yith-plugin-fw-select-images__item img {
399
+ display : block;
400
+ max-width : 100%;
401
+ margin : 0 auto;
402
  }
plugin-fw/assets/css/yith-select2-no-wc.css ADDED
@@ -0,0 +1,741 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .select2-container {
2
+ -webkit-box-sizing : border-box;
3
+ box-sizing : border-box;
4
+ display : inline-block;
5
+ margin : 0;
6
+ position : relative;
7
+ vertical-align : middle
8
+ }
9
+
10
+ .select2-container .select2-selection--single {
11
+ -webkit-box-sizing : border-box;
12
+ box-sizing : border-box;
13
+ cursor : pointer;
14
+ display : block;
15
+ height : 28px;
16
+ margin : 0 0 -4px;
17
+ -moz-user-select : none;
18
+ -ms-user-select : none;
19
+ user-select : none;
20
+ -webkit-user-select : none
21
+ }
22
+
23
+ .select2-container .select2-selection--single .select2-selection__rendered {
24
+ display : block;
25
+ padding-left : 8px;
26
+ padding-right : 20px;
27
+ overflow : hidden;
28
+ text-overflow : ellipsis;
29
+ white-space : nowrap
30
+ }
31
+
32
+ .select2-container .select2-selection--single .select2-selection__clear {
33
+ position : relative
34
+ }
35
+
36
+ .select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
37
+ padding-right : 8px;
38
+ padding-left : 20px
39
+ }
40
+
41
+ .select2-container .select2-selection--multiple {
42
+ -webkit-box-sizing : border-box;
43
+ box-sizing : border-box;
44
+ cursor : pointer;
45
+ display : block;
46
+ min-height : 32px;
47
+ -moz-user-select : none;
48
+ -ms-user-select : none;
49
+ user-select : none;
50
+ -webkit-user-select : none
51
+ }
52
+
53
+ .select2-container .select2-selection--multiple .select2-selection__rendered {
54
+ display : inline-block;
55
+ overflow : hidden;
56
+ padding-left : 8px;
57
+ text-overflow : ellipsis;
58
+ white-space : nowrap
59
+ }
60
+
61
+ .select2-container .select2-search--inline {
62
+ float : left;
63
+ padding : 0
64
+ }
65
+
66
+ .select2-container .select2-search--inline .select2-search__field {
67
+ -webkit-box-sizing : border-box;
68
+ box-sizing : border-box;
69
+ border : none;
70
+ font-size : 100%;
71
+ margin : 0;
72
+ padding : 0
73
+ }
74
+
75
+ .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
76
+ -webkit-appearance : none
77
+ }
78
+
79
+ .select2-dropdown {
80
+ background-color : #fff;
81
+ border : 1px solid #aaa;
82
+ border-radius : 4px;
83
+ -webkit-box-sizing : border-box;
84
+ box-sizing : border-box;
85
+ display : block;
86
+ position : absolute;
87
+ left : -100000px;
88
+ width : 100%;
89
+ z-index : 1051
90
+ }
91
+
92
+ .select2-results {
93
+ display : block
94
+ }
95
+
96
+ .select2-results__options {
97
+ list-style : none;
98
+ margin : 0;
99
+ padding : 0
100
+ }
101
+
102
+ .select2-results__option {
103
+ padding : 6px;
104
+ -moz-user-select : none;
105
+ -ms-user-select : none;
106
+ user-select : none;
107
+ -webkit-user-select : none
108
+ }
109
+
110
+ .select2-results__option[aria-selected], .select2-results__option[data-selected] {
111
+ cursor : pointer
112
+ }
113
+
114
+ .select2-container--open .select2-dropdown {
115
+ left : 0
116
+ }
117
+
118
+ .select2-container--open .select2-dropdown--above {
119
+ border-bottom : none;
120
+ border-bottom-left-radius : 0;
121
+ border-bottom-right-radius : 0
122
+ }
123
+
124
+ .select2-container--open .select2-dropdown--below {
125
+ border-top : none;
126
+ border-top-left-radius : 0;
127
+ border-top-right-radius : 0
128
+ }
129
+
130
+ .select2-search--dropdown {
131
+ display : block;
132
+ padding : 4px
133
+ }
134
+
135
+ .select2-search--dropdown .select2-search__field {
136
+ padding : 4px;
137
+ width : 100%;
138
+ -webkit-box-sizing : border-box;
139
+ box-sizing : border-box
140
+ }
141
+
142
+ .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
143
+ -webkit-appearance : none
144
+ }
145
+
146
+ .select2-search--dropdown.select2-search--hide {
147
+ display : none
148
+ }
149
+
150
+ .select2-close-mask {
151
+ border : 0;
152
+ margin : 0;
153
+ padding : 0;
154
+ display : block;
155
+ position : fixed;
156
+ left : 0;
157
+ top : 0;
158
+ min-height : 100%;
159
+ min-width : 100%;
160
+ height : auto;
161
+ width : auto;
162
+ opacity : 0;
163
+ z-index : 99;
164
+ background-color : #fff
165
+ }
166
+
167
+ .select2-hidden-accessible {
168
+ border : 0 !important;
169
+ clip : rect(0 0 0 0) !important;
170
+ height : 1px !important;
171
+ margin : -1px !important;
172
+ overflow : hidden !important;
173
+ padding : 0 !important;
174
+ position : absolute !important;
175
+ width : 1px !important
176
+ }
177
+
178
+ .select2-container--default .select2-selection--single {
179
+ background-color : #fff;
180
+ border : 1px solid #aaa;
181
+ border-radius : 4px
182
+ }
183
+
184
+ .select2-container--default .select2-selection--single .select2-selection__rendered {
185
+ color : #444;
186
+ line-height : 28px
187
+ }
188
+
189
+ .select2-container--default .select2-selection--single .select2-selection__clear {
190
+ cursor : pointer;
191
+ float : right;
192
+ font-weight : 700
193
+ }
194
+
195
+ .select2-container--default .select2-selection--single .select2-selection__placeholder {
196
+ color : #999
197
+ }
198
+
199
+ .select2-container--default .select2-selection--single .select2-selection__arrow {
200
+ height : 26px;
201
+ position : absolute;
202
+ top : 1px;
203
+ right : 1px;
204
+ width : 20px
205
+ }
206
+
207
+ .select2-container--default .select2-selection--single .select2-selection__arrow b {
208
+ border-color : #888 transparent transparent transparent;
209
+ border-style : solid;
210
+ border-width : 5px 4px 0 4px;
211
+ height : 0;
212
+ left : 50%;
213
+ margin-left : -4px;
214
+ margin-top : -2px;
215
+ position : absolute;
216
+ top : 50%;
217
+ width : 0
218
+ }
219
+
220
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear {
221
+ float : left
222
+ }
223
+
224
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
225
+ left : 1px;
226
+ right : auto
227
+ }
228
+
229
+ .select2-container--default.select2-container--disabled .select2-selection--single {
230
+ background-color : #eee;
231
+ cursor : default
232
+ }
233
+
234
+ .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
235
+ display : none
236
+ }
237
+
238
+ .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
239
+ border-color : transparent transparent #888 transparent;
240
+ border-width : 0 4px 5px 4px
241
+ }
242
+
243
+ .select2-container--default .select2-selection--multiple {
244
+ background-color : #fff;
245
+ border : 1px solid #aaa;
246
+ cursor : text;
247
+ }
248
+
249
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered {
250
+ -webkit-box-sizing : border-box;
251
+ box-sizing : border-box;
252
+ list-style : none;
253
+ margin : 0;
254
+ padding : 0 5px;
255
+ width : 100%
256
+ }
257
+
258
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
259
+ list-style : none;
260
+ margin : 5px 5px 0 0
261
+ }
262
+
263
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li:before {
264
+ content : '';
265
+ display : none
266
+ }
267
+
268
+ .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
269
+ color : #999;
270
+ margin-top : 5px;
271
+ float : left
272
+ }
273
+
274
+ .select2-container--default .select2-selection--multiple .select2-selection__clear {
275
+ cursor : pointer;
276
+ float : right;
277
+ font-weight : 700;
278
+ margin-top : 5px;
279
+ margin-right : 10px
280
+ }
281
+
282
+ .select2-container--default .select2-selection--multiple .select2-selection__choice {
283
+ background-color : #e4e4e4;
284
+ border : 1px solid #aaa;
285
+ border-radius : 4px;
286
+ cursor : default;
287
+ float : left;
288
+ margin-right : 5px;
289
+ margin-top : 5px;
290
+ padding : 0 5px
291
+ }
292
+
293
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
294
+ color : #999;
295
+ cursor : pointer;
296
+ display : inline-block;
297
+ font-weight : 700;
298
+ margin-right : 2px
299
+ }
300
+
301
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
302
+ color : #333
303
+ }
304
+
305
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder {
306
+ float : right
307
+ }
308
+
309
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice {
310
+ margin-left : 5px;
311
+ margin-right : auto
312
+ }
313
+
314
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
315
+ margin-left : 2px;
316
+ margin-right : auto
317
+ }
318
+
319
+ .select2-container--default.select2-container--focus .select2-selection--multiple {
320
+ border : solid #000 1px;
321
+ outline : 0
322
+ }
323
+
324
+ .select2-container--default.select2-container--disabled .select2-selection--multiple {
325
+ background-color : #eee;
326
+ cursor : default
327
+ }
328
+
329
+ .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
330
+ display : none
331
+ }
332
+
333
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
334
+ border-top-left-radius : 0;
335
+ border-top-right-radius : 0
336
+ }
337
+
338
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
339
+ border-bottom-left-radius : 0;
340
+ border-bottom-right-radius : 0
341
+ }
342
+
343
+ .select2-container--default .select2-search--dropdown .select2-search__field {
344
+ border : 1px solid #aaa
345
+ }
346
+
347
+ .select2-container--default .select2-search--inline .select2-search__field {
348
+ background : 0 0;
349
+ border : none;
350
+ outline : 0;
351
+ -webkit-box-shadow : none;
352
+ box-shadow : none;
353
+ -webkit-appearance : textfield
354
+ }
355
+
356
+ .select2-container--default .select2-results > .select2-results__options {
357
+ max-height : 200px;
358
+ overflow-y : auto
359
+ }
360
+
361
+ .select2-container--default .select2-results__option[role=group] {
362
+ padding : 0
363
+ }
364
+
365
+ .select2-container--default .select2-results__option[aria-disabled=true] {
366
+ color : #999
367
+ }
368
+
369
+ .select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] {
370
+ background-color : #ddd
371
+ }
372
+
373
+ .select2-container--default .select2-results__option .select2-results__option {
374
+ padding-left : 1em
375
+ }
376
+
377
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
378
+ padding-left : 0
379
+ }
380
+
381
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
382
+ margin-left : -1em;
383
+ padding-left : 2em
384
+ }
385
+
386
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
387
+ margin-left : -2em;
388
+ padding-left : 3em
389
+ }
390
+
391
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
392
+ margin-left : -3em;
393
+ padding-left : 4em
394
+ }
395
+
396
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
397
+ margin-left : -4em;
398
+ padding-left : 5em
399
+ }
400
+
401
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
402
+ margin-left : -5em;
403
+ padding-left : 6em
404
+ }
405
+
406
+ .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
407
+ background-color : #0073aa;
408
+ color : #fff
409
+ }
410
+
411
+ .select2-container--default .select2-results__group {
412
+ cursor : default;
413
+ display : block;
414
+ padding : 6px
415
+ }
416
+
417
+ .select2-container--classic .select2-selection--single {
418
+ background-color : #f7f7f7;
419
+ border : 1px solid #aaa;
420
+ border-radius : 4px;
421
+ outline : 0;
422
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #fff), to(#eee));
423
+ background-image : -webkit-linear-gradient(top, #fff 50%, #eee 100%);
424
+ background-image : linear-gradient(to bottom, #fff 50%, #eee 100%);
425
+ background-repeat : repeat-x
426
+ }
427
+
428
+ .select2-container--classic .select2-selection--single:focus {
429
+ border : 1px solid #0073aa
430
+ }
431
+
432
+ .select2-container--classic .select2-selection--single .select2-selection__rendered {
433
+ color : #444;
434
+ line-height : 28px
435
+ }
436
+
437
+ .select2-container--classic .select2-selection--single .select2-selection__clear {
438
+ cursor : pointer;
439
+ float : right;
440
+ font-weight : 700;
441
+ margin-right : 10px
442
+ }
443
+
444
+ .select2-container--classic .select2-selection--single .select2-selection__placeholder {
445
+ color : #999
446
+ }
447
+
448
+ .select2-container--classic .select2-selection--single .select2-selection__arrow {
449
+ background-color : #ddd;
450
+ border : none;
451
+ border-left : 1px solid #aaa;
452
+ border-top-right-radius : 4px;
453
+ border-bottom-right-radius : 4px;
454
+ height : 26px;
455
+ position : absolute;
456
+ top : 1px;
457
+ right : 1px;
458
+ width : 20px;
459
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(#ccc));
460
+ background-image : -webkit-linear-gradient(top, #eee 50%, #ccc 100%);
461
+ background-image : linear-gradient(to bottom, #eee 50%, #ccc 100%);
462
+ background-repeat : repeat-x
463
+ }
464
+
465
+ .select2-container--classic .select2-selection--single .select2-selection__arrow b {
466
+ border-color : #888 transparent transparent transparent;
467
+ border-style : solid;
468
+ border-width : 5px 4px 0 4px;
469
+ height : 0;
470
+ left : 50%;
471
+ margin-left : -4px;
472
+ margin-top : -2px;
473
+ position : absolute;
474
+ top : 50%;
475
+ width : 0
476
+ }
477
+
478
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear {
479
+ float : left
480
+ }
481
+
482
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow {
483
+ border : none;
484
+ border-right : 1px solid #aaa;
485
+ border-radius : 0;
486
+ border-top-left-radius : 4px;
487
+ border-bottom-left-radius : 4px;
488
+ left : 1px;
489
+ right : auto
490
+ }
491
+
492
+ .select2-container--classic.select2-container--open .select2-selection--single {
493
+ border : 1px solid #0073aa
494
+ }
495
+
496
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
497
+ background : 0 0;
498
+ border : none
499
+ }
500
+
501
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
502
+ border-color : transparent transparent #888 transparent;
503
+ border-width : 0 4px 5px 4px
504
+ }
505
+
506
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
507
+ border-top : none;
508
+ border-top-left-radius : 0;
509
+ border-top-right-radius : 0;
510
+ background-image : -webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, #eee));
511
+ background-image : -webkit-linear-gradient(top, #fff 0, #eee 50%);
512
+ background-image : linear-gradient(to bottom, #fff 0, #eee 50%);
513
+ background-repeat : repeat-x
514
+ }
515
+
516
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
517
+ border-bottom : none;
518
+ border-bottom-left-radius : 0;
519
+ border-bottom-right-radius : 0;
520
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(white));
521
+ background-image : -webkit-linear-gradient(top, #eee 50%, #fff 100%);
522
+ background-image : linear-gradient(to bottom, #eee 50%, #fff 100%);
523
+ background-repeat : repeat-x
524
+ }
525
+
526
+ .select2-container--classic .select2-selection--multiple {
527
+ background-color : #fff;
528
+ border : 1px solid #aaa;
529
+ border-radius : 4px;
530
+ cursor : text;
531
+ outline : 0
532
+ }
533
+
534
+ .select2-container--classic .select2-selection--multiple:focus {
535
+ border : 1px solid #0073aa
536
+ }
537
+
538
+ .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
539
+ list-style : none;
540
+ margin : 0;
541
+ padding : 0 5px
542
+ }
543
+
544
+ .select2-container--classic .select2-selection--multiple .select2-selection__clear {
545
+ display : none
546
+ }
547
+
548
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice {
549
+ background-color : #e4e4e4;
550
+ border : 1px solid #aaa;
551
+ border-radius : 4px;
552
+ cursor : default;
553
+ float : left;
554
+ margin-right : 5px;
555
+ margin-top : 5px;
556
+ padding : 0 5px
557
+ }
558
+
559
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
560
+ color : #888;
561
+ cursor : pointer;
562
+ display : inline-block;
563
+ font-weight : 700;
564
+ margin-right : 2px
565
+ }
566
+
567
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
568
+ color : #555
569
+ }
570
+
571
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
572
+ float : right
573
+ }
574
+
575
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
576
+ margin-left : 5px;
577
+ margin-right : auto
578
+ }
579
+
580
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
581
+ margin-left : 2px;
582
+ margin-right : auto
583
+ }
584
+
585
+ .select2-container--classic.select2-container--open .select2-selection--multiple {
586
+ border : 1px solid #0073aa
587
+ }
588
+
589
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
590
+ border-top : none;
591
+ border-top-left-radius : 0;
592
+ border-top-right-radius : 0
593
+ }
594
+
595
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
596
+ border-bottom : none;
597
+ border-bottom-left-radius : 0;
598
+ border-bottom-right-radius : 0
599
+ }
600
+
601
+ .select2-container--classic .select2-search--dropdown .select2-search__field {
602
+ border : 1px solid #aaa;
603
+ outline : 0
604
+ }
605
+
606
+ .select2-container--classic .select2-search--inline .select2-search__field {
607
+ outline : 0;
608
+ -webkit-box-shadow : none;
609
+ box-shadow : none
610
+ }
611
+
612
+ .select2-container--classic .select2-dropdown {
613
+ background-color : #fff;
614
+ border : 1px solid transparent
615
+ }
616
+
617
+ .select2-container--classic .select2-dropdown--above {
618
+ border-bottom : none
619
+ }
620
+
621
+ .select2-container--classic .select2-dropdown--below {
622
+ border-top : none
623
+ }
624
+
625
+ .select2-container--classic .select2-results > .select2-results__options {
626
+ max-height : 200px;
627
+ overflow-y : auto
628
+ }
629
+
630
+ .select2-container--classic .select2-results__option[role=group] {
631
+ padding : 0
632
+ }
633
+
634
+ .select2-container--classic .select2-results__option[aria-disabled=true] {
635
+ color : grey
636
+ }
637
+
638
+ .select2-container--classic .select2-results__option--highlighted[aria-selected], .select2-container--classic .select2-results__option--highlighted[data-selected] {
639
+ background-color : #3875d7;
640
+ color : #fff
641
+ }
642
+
643
+ .select2-container--classic .select2-results__group {
644
+ cursor : default;
645
+ display : block;
646
+ padding : 6px
647
+ }
648
+
649
+ .select2-container--classic.select2-container--open .select2-dropdown {
650
+ border-color : #0073aa
651
+ }
652
+
653
+
654
+ .select2-drop, .select2-dropdown {
655
+ z-index : 999999 !important
656
+ }
657
+
658
+ .select2-results {
659
+ line-height : 1.5em
660
+ }
661
+
662
+ .select2-results .select2-results__group, .select2-results .select2-results__option {
663
+ margin : 0;
664
+ padding : 8px
665
+ }
666
+
667
+ .select2-results .description {
668
+ display : block;
669
+ color : #999;
670
+ padding-top : 4px
671
+ }
672
+
673
+ .select2-dropdown {
674
+ border-color : #ddd
675
+ }
676
+
677
+ .select2-dropdown--below {
678
+ -webkit-box-shadow : 0 1px 1px rgba(0, 0, 0, .1);
679
+ box-shadow : 0 1px 1px rgba(0, 0, 0, .1)
680
+ }
681
+
682
+ .select2-dropdown--above {
683
+ -webkit-box-shadow : 0 -1px 1px rgba(0, 0, 0, .1);
684
+ box-shadow : 0 -1px 1px rgba(0, 0, 0, .1)
685
+ }
686
+
687
+ .select2-container .select2-selection__rendered.ui-sortable li {
688
+ cursor : move
689
+ }
690
+
691
+ .select2-container .select2-selection {
692
+ border-color : #ddd
693
+ }
694
+
695
+ .select2-container .select2-search__field {
696
+ min-width : 150px
697
+ }
698
+
699
+ .select2-container .select2-selection--single {
700
+ height : 32px
701
+ }
702
+
703
+ .select2-container .select2-selection--single .select2-selection__rendered {
704
+ line-height : 32px;
705
+ padding-right : 24px
706
+ }
707
+
708
+ .select2-container .select2-selection--single .select2-selection__arrow {
709
+ right : 3px;
710
+ height : 30px
711
+ }
712
+
713
+ .select2-container .select2-selection--multiple {
714
+ min-height : 28px;
715
+ border-radius : 0;
716
+ line-height : 1.5
717
+ }
718
+
719
+ .select2-container .select2-selection--multiple li {
720
+ margin : 0
721
+ }
722
+
723
+ .select2-container .select2-selection--multiple .select2-selection__choice {
724
+ padding : 2px 6px
725
+ }
726
+
727
+ .select2-container .select2-selection--multiple .select2-selection__choice .description {
728
+ display : none
729
+ }
730
+
731
+ .select2-container .select2-selection__clear {
732
+ color : #999;
733
+ margin-top : -1px
734
+ }
735
+
736
+ .select2-container .select2-search--inline .select2-search__field {
737
+ font-family : inherit;
738
+ font-size : inherit;
739
+ font-weight : inherit;
740
+ padding : 3px 0
741
+ }
plugin-fw/assets/js/jquery.colorbox.min.js CHANGED
@@ -1,24 +1,33 @@
1
- (function(c,p,A){function g(a,d,F){a=p.createElement(a);d&&(a.id="cbox"+d);F&&(a.style.cssText=F);return c(a)}function R(){return A.innerHeight?A.innerHeight:c(A).height()}function M(a,d){d!==Object(d)&&(d={});this.cache={};this.el=a;this.value=function(a){var b;void 0===this.cache[a]&&(b=c(this.el).attr("data-cbox-"+a),void 0!==b?this.cache[a]=b:void 0!==d[a]?this.cache[a]=d[a]:void 0!==S[a]&&(this.cache[a]=S[a]));return this.cache[a]};this.get=function(a){a=this.value(a);return c.isFunction(a)?
2
- a.call(this.el,this):a}}function N(a){var d=k.length;a=(m+a)%d;return 0>a?d+a:a}function n(a,d){return Math.round((/%/.test(a)?("x"===d?w.width():R())/100:1)*parseInt(a,10))}function da(a,d){return a.get("photo")||a.get("photoRegex").test(d)}function ea(a,d){return a.get("retinaUrl")&&1<A.devicePixelRatio?d.replace(a.get("photoRegex"),a.get("retinaSuffix")):d}function fa(a){"contains"in f[0]&&!f[0].contains(a.target)&&a.target!==q[0]&&(a.stopPropagation(),f.focus())}function G(a){G.str!==a&&(f.add(q).removeClass(G.str).addClass(a),
3
- G.str=a)}function ja(b){m=0;b&&!1!==b&&"nofollow"!==b?(k=c(".cboxElement").filter(function(){var a=c.data(this,"colorbox");return(new M(this,a)).get("rel")===b}),m=k.index(a.el),-1===m&&(k=k.add(a.el),m=k.length-1)):k=c(a.el)}function C(a){c(p).trigger(a);r.triggerHandler(a)}function O(b){var d;if(!H){d=c(b).data("colorbox");a=new M(b,d);ja(a.get("rel"));if(!x){x=I=!0;G(a.get("className"));f.css({visibility:"hidden",display:"block",opacity:""});h=g("div","LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden");
4
- u.css({width:"",height:""}).append(h);t=T.height()+U.height()+u.outerHeight(!0)-u.height();v=V.width()+W.width()+u.outerWidth(!0)-u.width();y=h.outerHeight(!0);z=h.outerWidth(!0);b=n(a.get("initialWidth"),"x");d=n(a.get("initialHeight"),"y");var F=a.get("maxWidth"),B=a.get("maxHeight");a.w=Math.max((!1!==F?Math.min(b,n(F,"x")):b)-z-v,0);a.h=Math.max((!1!==B?Math.min(d,n(B,"y")):d)-y-t,0);h.css({width:"",height:a.h});l.position();C("cbox_open");a.get("onOpen");X.add(Y).hide();f.focus();a.get("trapFocus")&&
5
- p.addEventListener&&(p.addEventListener("focus",fa,!0),r.one("cbox_closed",function(){p.removeEventListener("focus",fa,!0)}));if(a.get("returnFocus"))r.one("cbox_closed",function(){c(a.el).focus()})}b=parseFloat(a.get("opacity"));q.css({opacity:b===b?b:"",cursor:a.get("overlayClose")?"pointer":"",visibility:"visible"}).show();a.get("closeButton")?P.html(a.get("close")).appendTo(u):P.appendTo("<div/>");ka()}}function ga(){f||(Z=!1,w=c(A),f=g("div").attr({id:"colorbox","class":!1===c.support.opacity?
6
- "cboxIE":"",role:"dialog",tabindex:"-1"}).hide(),q=g("div","Overlay").hide(),Q=c([g("div","LoadingOverlay")[0],g("div","LoadingGraphic")[0]]),D=g("div","Wrapper"),u=g("div","Content").append(Y=g("div","Title"),aa=g("div","Current"),J=c('<button type="button"/>').attr({id:"cboxPrevious"}),K=c('<button type="button"/>').attr({id:"cboxNext"}),E=g("button","Slideshow"),Q),P=c('<button type="button"/>').attr({id:"cboxClose"}),D.append(g("div").append(g("div","TopLeft"),T=g("div","TopCenter"),g("div","TopRight")),
7
- g("div",!1,"clear:left").append(V=g("div","MiddleLeft"),u,W=g("div","MiddleRight")),g("div",!1,"clear:left").append(g("div","BottomLeft"),U=g("div","BottomCenter"),g("div","BottomRight"))).find("div div").css({"float":"left"}),L=g("div",!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),X=K.add(J).add(aa).add(E));p.body&&!f.parent().length&&c(p.body).append(q,f.append(D,L))}function la(){function b(a){1<a.which||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),
8
- O(this))}if(f){if(!Z)if(Z=!0,K.click(function(){l.next()}),J.click(function(){l.prev()}),P.click(function(){l.close()}),q.click(function(){a.get("overlayClose")&&l.close()}),c(p).bind("keydown.cbox",function(b){var c=b.keyCode;x&&a.get("escKey")&&27===c&&(b.preventDefault(),l.close());x&&a.get("arrowKey")&&k[1]&&!b.altKey&&(37===c?(b.preventDefault(),J.click()):39===c&&(b.preventDefault(),K.click()))}),c.isFunction(c.fn.on))c(p).on("click.cbox",".cboxElement",b);else c(".cboxElement").live("click.cbox",
9
- b);return!0}return!1}function ka(){var b,d,f=l.prep,B,h=++ba;I=!0;e=!1;C("cbox_purge");C("cbox_load");a.get("onLoad");a.h=a.get("height")?n(a.get("height"),"y")-y-t:a.get("innerHeight")&&n(a.get("innerHeight"),"y");a.w=a.get("width")?n(a.get("width"),"x")-z-v:a.get("innerWidth")&&n(a.get("innerWidth"),"x");a.mw=a.w;a.mh=a.h;a.get("maxWidth")&&(a.mw=n(a.get("maxWidth"),"x")-z-v,a.mw=a.w&&a.w<a.mw?a.w:a.mw);a.get("maxHeight")&&(a.mh=n(a.get("maxHeight"),"y")-y-t,a.mh=a.h&&a.h<a.mh?a.h:a.mh);b=a.get("href");
10
- ha=setTimeout(function(){Q.show()},100);if(a.get("inline")){var ca=c(b);B=c("<div>").hide().insertBefore(ca);r.one("cbox_purge",function(){B.replaceWith(ca)});f(ca)}else a.get("iframe")?f(" "):a.get("html")?f(a.get("html")):da(a,b)?(b=ea(a,b),e=a.get("createImg"),c(e).addClass("cboxPhoto").bind("error.cbox",function(){f(g("div","Error").html(a.get("imgError")))}).one("load",function(){h===ba&&setTimeout(function(){var b;a.get("retinaImage")&&1<A.devicePixelRatio&&(e.height/=A.devicePixelRatio,e.width/=
11
- A.devicePixelRatio);a.get("scalePhotos")&&(d=function(){e.height-=e.height*b;e.width-=e.width*b},a.mw&&e.width>a.mw&&(b=(e.width-a.mw)/e.width,d()),a.mh&&e.height>a.mh&&(b=(e.height-a.mh)/e.height,d()));a.h&&(e.style.marginTop=Math.max(a.mh-e.height,0)/2+"px");k[1]&&(a.get("loop")||k[m+1])&&(e.style.cursor="pointer",c(e).bind("click.cbox",function(){l.next()}));e.style.width=e.width+"px";e.style.height=e.height+"px";f(e)},1)}),e.src=b):b&&L.load(b,a.get("data"),function(b,d){h===ba&&f("error"===d?
12
- g("div","Error").html(a.get("xhrError")):c(this).contents())})}var S={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,
13
- slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return c(this).attr("href")},
14
- title:function(){return this.title},createImg:function(){var a=new Image,d=c(this).data("cbox-img-attrs");"object"===typeof d&&c.each(d,function(c,d){a[c]=d});return a},createIframe:function(){var a=p.createElement("iframe"),d=c(this).data("cbox-iframe-attrs");"object"===typeof d&&c.each(d,function(c,d){a[c]=d});"frameBorder"in a&&(a.frameBorder=0);"allowTransparency"in a&&(a.allowTransparency="true");a.name=(new Date).getTime();a.allowFullscreen=!0;return a}},q,f,D,u,T,V,W,U,k,w,h,L,Q,Y,aa,E,K,J,
15
- P,X,r=c("<a/>"),a,t,v,y,z,m,e,x,I,H,ha,l,ba=0,ia={},Z,ma=function(){function b(){clearTimeout(n)}function c(){if(a.get("loop")||k[m+1])b(),n=setTimeout(l.next,a.get("slideshowSpeed"))}function e(){E.html(a.get("slideshowStop")).unbind("click.cbox").one("click.cbox",B);r.bind("cbox_complete",c).bind("cbox_load",b);f.removeClass("cboxSlideshow_off").addClass("cboxSlideshow_on")}function B(){b();r.unbind("cbox_complete",c).unbind("cbox_load",b);E.html(a.get("slideshowStart")).unbind("click.cbox").one("click.cbox",
16
- function(){l.next();e()});f.removeClass("cboxSlideshow_on").addClass("cboxSlideshow_off")}function g(){h=!1;E.hide();b();r.unbind("cbox_complete",c).unbind("cbox_load",b);f.removeClass("cboxSlideshow_off cboxSlideshow_on")}var h,n;return function(){h?a.get("slideshow")||(r.unbind("cbox_cleanup",g),g()):a.get("slideshow")&&k[1]&&(h=!0,r.one("cbox_cleanup",g),a.get("slideshowAuto")?e():B(),E.show())}}();c.colorbox||(c(ga),l=c.fn.colorbox=c.colorbox=function(a,d){var f,e=this;a=a||{};c.isFunction(e)&&
17
- (e=c("<a/>"),a.open=!0);if(!e[0])return e;ga();la()&&(d&&(a.onComplete=d),e.each(function(){var d=c.data(this,"colorbox")||{};c.data(this,"colorbox",c.extend(d,a))}).addClass("cboxElement"),f=new M(e[0],a),f.get("open")&&O(e[0]));return e},l.position=function(b,d){function e(){T[0].style.width=U[0].style.width=u[0].style.width=parseInt(f[0].style.width,10)-v+"px";u[0].style.height=V[0].style.height=W[0].style.height=parseInt(f[0].style.height,10)-t+"px"}var g,h=0,k=0,m=f.offset(),p,r;w.unbind("resize.cbox");
18
- f.css({top:-9E4,left:-9E4});p=w.scrollTop();r=w.scrollLeft();a.get("fixed")?(m.top-=p,m.left-=r,f.css({position:"fixed"})):(h=p,k=r,f.css({position:"absolute"}));k=!1!==a.get("right")?k+Math.max(w.width()-a.w-z-v-n(a.get("right"),"x"),0):!1!==a.get("left")?k+n(a.get("left"),"x"):k+Math.round(Math.max(w.width()-a.w-z-v,0)/2);h=!1!==a.get("bottom")?h+Math.max(R()-a.h-y-t-n(a.get("bottom"),"y"),0):!1!==a.get("top")?h+n(a.get("top"),"y"):h+Math.round(Math.max(R()-a.h-y-t,0)/2);f.css({top:m.top,left:m.left,
19
- visibility:"visible"});D[0].style.width=D[0].style.height="9999px";g={width:a.w+z+v,height:a.h+y+t,top:h,left:k};if(b){var q=0;c.each(g,function(a){g[a]!==ia[a]&&(q=b)});b=q}ia=g;b||f.css(g);f.dequeue().animate(g,{duration:b||0,complete:function(){e();I=!1;D[0].style.width=a.w+z+v+"px";D[0].style.height=a.h+y+t+"px";a.get("reposition")&&setTimeout(function(){w.bind("resize.cbox",l.position)},1);c.isFunction(d)&&d()},step:e})},l.resize=function(b){var c;x&&(b=b||{},b.width&&(a.w=n(b.width,"x")-z-v),
20
- b.innerWidth&&(a.w=n(b.innerWidth,"x")),h.css({width:a.w}),b.height&&(a.h=n(b.height,"y")-y-t),b.innerHeight&&(a.h=n(b.innerHeight,"y")),b.innerHeight||b.height||(c=h.scrollTop(),h.css({height:"auto"}),a.h=h.height()),h.css({height:a.h}),c&&h.scrollTop(c),l.position("none"===a.get("transition")?0:a.get("speed")))},l.prep=function(b){function d(){a.w=a.w||h.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}function n(){a.h=a.h||h.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}if(x){var q,t="none"===
21
- a.get("transition")?0:a.get("speed");h.remove();h=g("div","LoadedContent").append(b);h.hide().appendTo(L.show()).css({width:d(),overflow:a.get("scrolling")?"auto":"hidden"}).css({height:n()}).prependTo(u);L.hide();c(e).css({"float":"none"});G(a.get("className"));q=function(){function b(){!1===c.support.opacity&&f[0].style.removeAttribute("filter")}var d=k.length,e,g;x&&(g=function(){clearTimeout(ha);Q.hide();C("cbox_complete");a.get("onComplete")},Y.html(a.get("title")).show(),h.show(),1<d?("string"===
22
- typeof a.get("current")&&aa.html(a.get("current").replace("{current}",m+1).replace("{total}",d)).show(),K[a.get("loop")||m<d-1?"show":"hide"]().html(a.get("next")),J[a.get("loop")||m?"show":"hide"]().html(a.get("previous")),ma(),a.get("preloading")&&c.each([N(-1),N(1)],function(){var a,b=k[this];a=new M(b,c.data(b,"colorbox"));(b=a.get("href"))&&da(a,b)&&(b=ea(a,b),a=p.createElement("img"),a.src=b)})):X.hide(),a.get("iframe")?(e=a.get("createIframe"),a.get("scrolling")||(e.scrolling="no"),c(e).attr({src:a.get("href"),
23
- "class":"cboxIframe"}).one("load",g).appendTo(h),r.one("cbox_purge",function(){e.src="//about:blank"}),a.get("fastIframe")&&c(e).trigger("load")):g(),"fade"===a.get("transition")?f.fadeTo(t,1,b):b())};"fade"===a.get("transition")?f.fadeTo(t,0,function(){l.position(0,q)}):l.position(t,q)}},l.next=function(){!I&&k[1]&&(a.get("loop")||k[m+1])&&(m=N(1),O(k[m]))},l.prev=function(){!I&&k[1]&&(a.get("loop")||m)&&(m=N(-1),O(k[m]))},l.close=function(){x&&!H&&(H=!0,x=!1,C("cbox_cleanup"),a.get("onCleanup"),
24
- w.unbind(".cbox"),q.fadeTo(a.get("fadeOut")||0,0),f.stop().fadeTo(a.get("fadeOut")||0,0,function(){f.hide();q.hide();C("cbox_purge");h.remove();setTimeout(function(){H=!1;C("cbox_closed");a.get("onClosed")},1)}))},l.remove=function(){f&&(f.stop(),c.colorbox.close(),f.stop(!1,!0).remove(),q.remove(),H=!1,f=null,c(".cboxElement").removeData("colorbox").removeClass("cboxElement"),c(p).unbind("click.cbox").unbind("keydown.cbox"))},l.element=function(){return c(a.el)},l.settings=S)})(jQuery,document,window);
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Colorbox 1.6.3
3
+ license: MIT
4
+ http://www.jacklmoore.com/colorbox
5
+ */
6
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,h,g){b instanceof String&&(b=String(b));for(var d=b.length,r=0;r<d;r++){var C=b[r];if(h.call(g,C,r,b))return{i:r,v:C}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,h,g){b!=Array.prototype&&b!=Object.prototype&&(b[h]=g.value)};
7
+ $jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(b,h,g,d){if(h){g=$jscomp.global;b=b.split(".");for(d=0;d<b.length-1;d++){var r=b[d];r in g||(g[r]={});g=g[r]}b=b[b.length-1];d=g[b];h=h(d);h!=d&&null!=h&&$jscomp.defineProperty(g,b,{configurable:!0,writable:!0,value:h})}};
8
+ $jscomp.polyfill("Array.prototype.find",function(b){return b?b:function(b,g){return $jscomp.findInternal(this,b,g).v}},"es6","es3");
9
+ (function(b,h,g){function d(a,f,H){a=h.createElement(a);f&&(a.id="cbox"+f);H&&(a.style.cssText=H);return b(a)}function r(){return g.innerHeight?g.innerHeight:b(g).height()}function C(a,f){f!==Object(f)&&(f={});this.cache={};this.el=a;this.value=function(a){if(void 0===this.cache[a]){var c=b(this.el).attr("data-cbox-"+a);void 0!==c?this.cache[a]=c:void 0!==f[a]?this.cache[a]=f[a]:void 0!==S[a]&&(this.cache[a]=S[a])}return this.cache[a]};this.get=function(a){a=this.value(a);return b.isFunction(a)?a.call(this.el,
10
+ this):a}}function O(a){var c=n.length;a=(p+a)%c;return 0>a?c+a:a}function q(a,b){return Math.round((/%/.test(a)?("x"===b?x.width():r())/100:1)*parseInt(a,10))}function ca(a,b){return a.get("photo")||a.get("photoRegex").test(b)}function da(a,b){return a.get("retinaUrl")&&1<g.devicePixelRatio?b.replace(a.get("photoRegex"),a.get("retinaSuffix")):b}function ea(a){"contains"in k[0]&&!k[0].contains(a.target)&&a.target!==y[0]&&(a.stopPropagation(),k.focus())}function I(a){I.str!==a&&(k.add(y).removeClass(I.str).addClass(a),
11
+ I.str=a)}function ja(c){p=0;c&&!1!==c&&"nofollow"!==c?(n=b(".cboxElement").filter(function(){var a=b.data(this,"colorbox");return(new C(this,a)).get("rel")===c}),p=n.index(a.el),-1===p&&(n=n.add(a.el),p=n.length-1)):n=b(a.el)}function E(a){b(h).trigger(a);t.triggerHandler(a)}function P(c){if(!J){var f=b(c).data("colorbox");a=new C(c,f);ja(a.get("rel"));if(!z){z=K=!0;I(a.get("className"));k.css({visibility:"hidden",display:"block",opacity:""});l=d("div","LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden");
12
+ u.css({width:"",height:""}).append(l);v=T.height()+U.height()+u.outerHeight(!0)-u.height();w=V.width()+W.width()+u.outerWidth(!0)-u.width();A=l.outerHeight(!0);B=l.outerWidth(!0);c=q(a.get("initialWidth"),"x");f=q(a.get("initialHeight"),"y");var H=a.get("maxWidth"),e=a.get("maxHeight");a.w=Math.max((!1!==H?Math.min(c,q(H,"x")):c)-B-w,0);a.h=Math.max((!1!==e?Math.min(f,q(e,"y")):f)-A-v,0);l.css({width:"",height:a.h});m.position();E("cbox_open");a.get("onOpen");X.add(Y).hide();k.focus();a.get("trapFocus")&&
13
+ h.addEventListener&&(h.addEventListener("focus",ea,!0),t.one("cbox_closed",function(){h.removeEventListener("focus",ea,!0)}));if(a.get("returnFocus"))t.one("cbox_closed",function(){b(a.el).focus()})}c=parseFloat(a.get("opacity"));y.css({opacity:c===c?c:"",cursor:a.get("overlayClose")?"pointer":"",visibility:"visible"}).show();a.get("closeButton")?Q.html(a.get("close")).appendTo(u):Q.appendTo("<div/>");ka()}}function fa(){k||(Z=!1,x=b(g),k=d("div").attr({id:"colorbox","class":!1===b.support.opacity?
14
+ "cboxIE":"",role:"dialog",tabindex:"-1"}).hide(),y=d("div","Overlay").hide(),R=b([d("div","LoadingOverlay")[0],d("div","LoadingGraphic")[0]]),F=d("div","Wrapper"),u=d("div","Content").append(Y=d("div","Title"),aa=d("div","Current"),L=b('<button type="button"/>').attr({id:"cboxPrevious"}),M=b('<button type="button"/>').attr({id:"cboxNext"}),G=d("button","Slideshow"),R),Q=b('<button type="button"/>').attr({id:"cboxClose"}),F.append(d("div").append(d("div","TopLeft"),T=d("div","TopCenter"),d("div","TopRight")),
15
+ d("div",!1,"clear:left").append(V=d("div","MiddleLeft"),u,W=d("div","MiddleRight")),d("div",!1,"clear:left").append(d("div","BottomLeft"),U=d("div","BottomCenter"),d("div","BottomRight"))).find("div div").css({"float":"left"}),N=d("div",!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),X=M.add(L).add(aa).add(G));h.body&&!k.parent().length&&b(h.body).append(y,k.append(F,N))}function la(){function c(a){1<a.which||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),
16
+ P(this))}if(k){if(!Z)if(Z=!0,M.click(function(){m.next()}),L.click(function(){m.prev()}),Q.click(function(){m.close()}),y.click(function(){a.get("overlayClose")&&m.close()}),b(h).bind("keydown.cbox",function(b){var c=b.keyCode;z&&a.get("escKey")&&27===c&&(b.preventDefault(),m.close());z&&a.get("arrowKey")&&n[1]&&!b.altKey&&(37===c?(b.preventDefault(),L.click()):39===c&&(b.preventDefault(),M.click()))}),b.isFunction(b.fn.on))b(h).on("click.cbox",".cboxElement",c);else b(".cboxElement").live("click.cbox",
17
+ c);return!0}return!1}function ka(){var c,f=m.prep,k=++ba;K=!0;e=!1;E("cbox_purge");E("cbox_load");a.get("onLoad");a.h=a.get("height")?q(a.get("height"),"y")-A-v:a.get("innerHeight")&&q(a.get("innerHeight"),"y");a.w=a.get("width")?q(a.get("width"),"x")-B-w:a.get("innerWidth")&&q(a.get("innerWidth"),"x");a.mw=a.w;a.mh=a.h;a.get("maxWidth")&&(a.mw=q(a.get("maxWidth"),"x")-B-w,a.mw=a.w&&a.w<a.mw?a.w:a.mw);a.get("maxHeight")&&(a.mh=q(a.get("maxHeight"),"y")-A-v,a.mh=a.h&&a.h<a.mh?a.h:a.mh);var D=a.get("href");
18
+ ha=setTimeout(function(){R.show()},100);if(a.get("inline")){var h=b(D);var l=b("<div>").hide().insertBefore(h);t.one("cbox_purge",function(){l.replaceWith(h)});f(h)}else a.get("iframe")?f(" "):a.get("html")?f(a.get("html")):ca(a,D)?(D=da(a,D),e=a.get("createImg"),b(e).addClass("cboxPhoto").bind("error.cbox",function(){f(d("div","Error").html(a.get("imgError")))}).one("load",function(){k===ba&&setTimeout(function(){a.get("retinaImage")&&1<g.devicePixelRatio&&(e.height/=g.devicePixelRatio,e.width/=
19
+ g.devicePixelRatio);if(a.get("scalePhotos")){c=function(){e.height-=e.height*d;e.width-=e.width*d};if(a.mw&&e.width>a.mw){var d=(e.width-a.mw)/e.width;c()}a.mh&&e.height>a.mh&&(d=(e.height-a.mh)/e.height,c())}a.h&&(e.style.marginTop=Math.max(a.mh-e.height,0)/2+"px");n[1]&&(a.get("loop")||n[p+1])&&(e.style.cursor="pointer",b(e).bind("click.cbox",function(){m.next()}));e.style.width=e.width+"px";e.style.height=e.height+"px";f(e)},1)}),e.src=D):D&&N.load(D,a.get("data"),function(c,e){k===ba&&f("error"===
20
+ e?d("div","Error").html(a.get("xhrError")):b(this).contents())})}var S={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,
21
+ slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return b(this).attr("href")},
22
+ title:function(){return this.title},createImg:function(){var a=new Image,f=b(this).data("cbox-img-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});return a},createIframe:function(){var a=h.createElement("iframe"),f=b(this).data("cbox-iframe-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});"frameBorder"in a&&(a.frameBorder=0);"allowTransparency"in a&&(a.allowTransparency="true");a.name=(new Date).getTime();a.allowFullscreen=!0;return a}},y,k,F,u,T,V,W,U,n,x,l,N,R,Y,aa,G,M,L,
23
+ Q,X,t=b("<a/>"),a,v,w,A,B,p,e,z,K,J,ha,ba=0,ia={},Z,ma=function(){function b(){clearTimeout(l)}function f(){if(a.get("loop")||n[p+1])b(),l=setTimeout(m.next,a.get("slideshowSpeed"))}function d(){G.html(a.get("slideshowStop")).unbind("click.cbox").one("click.cbox",e);t.bind("cbox_complete",f).bind("cbox_load",b);k.removeClass("cboxSlideshow_off").addClass("cboxSlideshow_on")}function e(){b();t.unbind("cbox_complete",f).unbind("cbox_load",b);G.html(a.get("slideshowStart")).unbind("click.cbox").one("click.cbox",
24
+ function(){m.next();d()});k.removeClass("cboxSlideshow_on").addClass("cboxSlideshow_off")}function h(){g=!1;G.hide();b();t.unbind("cbox_complete",f).unbind("cbox_load",b);k.removeClass("cboxSlideshow_off cboxSlideshow_on")}var g,l;return function(){g?a.get("slideshow")||(t.unbind("cbox_cleanup",h),h()):a.get("slideshow")&&n[1]&&(g=!0,t.one("cbox_cleanup",h),a.get("slideshowAuto")?d():e(),G.show())}}();if(!b.colorbox){b(fa);var m=b.fn.colorbox=b.colorbox=function(a,f){var c=this;a=a||{};b.isFunction(c)&&
25
+ (c=b("<a/>"),a.open=!0);if(!c[0])return c;fa();la()&&(f&&(a.onComplete=f),c.each(function(){var c=b.data(this,"colorbox")||{};b.data(this,"colorbox",b.extend(c,a))}).addClass("cboxElement"),f=new C(c[0],a),f.get("open")&&P(c[0]));return c};m.position=function(c,f){function d(){T[0].style.width=U[0].style.width=u[0].style.width=parseInt(k[0].style.width,10)-w+"px";u[0].style.height=V[0].style.height=W[0].style.height=parseInt(k[0].style.height,10)-v+"px"}var e=0,h=0,g=k.offset();x.unbind("resize.cbox");
26
+ k.css({top:-9E4,left:-9E4});var l=x.scrollTop();var n=x.scrollLeft();a.get("fixed")?(g.top-=l,g.left-=n,k.css({position:"fixed"})):(e=l,h=n,k.css({position:"absolute"}));h=!1!==a.get("right")?h+Math.max(x.width()-a.w-B-w-q(a.get("right"),"x"),0):!1!==a.get("left")?h+q(a.get("left"),"x"):h+Math.round(Math.max(x.width()-a.w-B-w,0)/2);e=!1!==a.get("bottom")?e+Math.max(r()-a.h-A-v-q(a.get("bottom"),"y"),0):!1!==a.get("top")?e+q(a.get("top"),"y"):e+Math.round(Math.max(r()-a.h-A-v,0)/2);k.css({top:g.top,
27
+ left:g.left,visibility:"visible"});F[0].style.width=F[0].style.height="9999px";var p={width:a.w+B+w,height:a.h+A+v,top:e,left:h};if(c){var t=0;b.each(p,function(a){p[a]!==ia[a]&&(t=c)});c=t}ia=p;c||k.css(p);k.dequeue().animate(p,{duration:c||0,complete:function(){d();K=!1;F[0].style.width=a.w+B+w+"px";F[0].style.height=a.h+A+v+"px";a.get("reposition")&&setTimeout(function(){x.bind("resize.cbox",m.position)},1);b.isFunction(f)&&f()},step:d})};m.resize=function(b){if(z){b=b||{};b.width&&(a.w=q(b.width,
28
+ "x")-B-w);b.innerWidth&&(a.w=q(b.innerWidth,"x"));l.css({width:a.w});b.height&&(a.h=q(b.height,"y")-A-v);b.innerHeight&&(a.h=q(b.innerHeight,"y"));if(!b.innerHeight&&!b.height){var c=l.scrollTop();l.css({height:"auto"});a.h=l.height()}l.css({height:a.h});c&&l.scrollTop(c);m.position("none"===a.get("transition")?0:a.get("speed"))}};m.prep=function(c){if(z){var f="none"===a.get("transition")?0:a.get("speed");l.remove();l=d("div","LoadedContent").append(c);l.hide().appendTo(N.show()).css({width:function(){a.w=
29
+ a.w||l.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}(),overflow:a.get("scrolling")?"auto":"hidden"}).css({height:function(){a.h=a.h||l.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}()}).prependTo(u);N.hide();b(e).css({"float":"none"});I(a.get("className"));var g=function(){function c(){!1===b.support.opacity&&k[0].style.removeAttribute("filter")}var d=n.length;if(z){var e=function(){clearTimeout(ha);R.hide();E("cbox_complete");a.get("onComplete")};Y.html(a.get("title")).show();l.show();1<d?("string"===
30
+ typeof a.get("current")&&aa.html(a.get("current").replace("{current}",p+1).replace("{total}",d)).show(),M[a.get("loop")||p<d-1?"show":"hide"]().html(a.get("next")),L[a.get("loop")||p?"show":"hide"]().html(a.get("previous")),ma(),a.get("preloading")&&b.each([O(-1),O(1)],function(){var a=n[this];var c=new C(a,b.data(a,"colorbox"));(a=c.get("href"))&&ca(c,a)&&(a=da(c,a),c=h.createElement("img"),c.src=a)})):X.hide();if(a.get("iframe")){var g=a.get("createIframe");a.get("scrolling")||(g.scrolling="no");
31
+ b(g).attr({src:a.get("href"),"class":"cboxIframe"}).one("load",e).appendTo(l);t.one("cbox_purge",function(){g.src="//about:blank"});a.get("fastIframe")&&b(g).trigger("load")}else e();"fade"===a.get("transition")?k.fadeTo(f,1,c):c()}};"fade"===a.get("transition")?k.fadeTo(f,0,function(){m.position(0,g)}):m.position(f,g)}};m.next=function(){!K&&n[1]&&(a.get("loop")||n[p+1])&&(p=O(1),P(n[p]))};m.prev=function(){!K&&n[1]&&(a.get("loop")||p)&&(p=O(-1),P(n[p]))};m.close=function(){z&&!J&&(J=!0,z=!1,E("cbox_cleanup"),
32
+ a.get("onCleanup"),x.unbind(".cbox"),y.fadeTo(a.get("fadeOut")||0,0),k.stop().fadeTo(a.get("fadeOut")||0,0,function(){k.hide();y.hide();E("cbox_purge");l.remove();setTimeout(function(){J=!1;E("cbox_closed");a.get("onClosed")},1)}))};m.remove=function(){k&&(k.stop(),b.colorbox.close(),k.stop(!1,!0).remove(),y.remove(),J=!1,k=null,b(".cboxElement").removeData("colorbox").removeClass("cboxElement"),b(h).unbind("click.cbox").unbind("keydown.cbox"))};m.element=function(){return b(a.el)};m.settings=S}})(jQuery,
33
+ document,window);
plugin-fw/assets/js/metabox.min.js CHANGED
@@ -1,4 +1,7 @@
1
- (function(a){function h(b,c,d,e){var f=!0;if("string"==typeof c){":radio"==c.substr(0,6)&&(c+=":checked");var g=a(c).val();"checkbox"==a(c).attr("type")&&(g=a(c).is(":checked")?"yes":"no");d=d.split(",");for(c=0;c<d.length;c++)if(g!=d[c])f=!1;else{f=!0;break}}d=a(b);b=a(b+"-container").parent();e=e.split("-");for(var h in e)if(g=e[h],f)switch(g){case "disable":b.removeClass("yith-disabled");d.attr("disabled",!1);break;case "hideme":d.show();break;default:b.show()}else switch(g){case "disable":b.addClass("yith-disabled");
2
- d.attr("disabled",!0);break;case "hideme":d.hide();break;default:b.hide()}}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab"),b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),
3
- a(b).show(),!1})});var k=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(k).insertAfter("#yit-post-setting .handlediv");a(k).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,
4
- "pointer-events":"none"})}).click();a(".metaboxes-tab [data-dep-target]").each(function(){var b=a(this),c="#"+b.data("dep-target"),d="#"+b.data("dep-id"),e=b.data("dep-value"),f=b.data("dep-type");h(c,d,e.toString(),f);a(d).on("change",function(){h(c,d,e.toString(),f)}).change()})})(jQuery);
 
 
 
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,e,c){a instanceof String&&(a=String(a));for(var b=a.length,d=0;d<b;d++){var f=a[d];if(e.call(c,f,d,a))return{i:d,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,c){a!=Array.prototype&&a!=Object.prototype&&(a[e]=c.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,e,c,b){if(e){c=$jscomp.global;a=a.split(".");for(b=0;b<a.length-1;b++){var d=a[b];d in c||(c[d]={});c=c[d]}a=a[a.length-1];b=c[a];e=e(b);e!=b&&null!=e&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:e})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
+ (function(a){function e(b,d,c,e){var f=!0;if("string"==typeof d){":radio"==d.substr(0,6)&&(d+=":checked");var g=a(d).val();"checkbox"==a(d).attr("type")&&(g=a(d).is(":checked")?"yes":"no");c=c.split(",");for(d=0;d<c.length;d++)if(g!=c[d])f=!1;else{f=!0;break}}c=a(b);b=a(b+"-container").parent();e=e.split("-");for(var h in e)if(g=e[h],f)switch(g){case "disable":b.removeClass("yith-disabled");c.attr("disabled",!1);break;case "hideme":c.show();break;default:b.show()}else switch(g){case "disable":b.addClass("yith-disabled");
5
+ c.attr("disabled",!0);break;case "hideme":c.hide();break;default:b.hide()}}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab");b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),
6
+ a(b).show(),!1})});var c=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(c).insertAfter("#yit-post-setting .handlediv");a(c).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,
7
+ "pointer-events":"none"})}).click();a(".metaboxes-tab [data-dep-target]").each(function(){var b=a(this),c="#"+b.data("dep-target"),f="#"+b.data("dep-id"),h=b.data("dep-value"),k=b.data("dep-type");e(c,f,h.toString(),k);a(f).on("change",function(){e(c,f,h.toString(),k)}).change()})})(jQuery);
plugin-fw/assets/js/yit-cpt-unlimited.min.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(c){c(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(f){f.preventDefault();var a,b=c(this),d=!1;b.next("span.spinner").css("display","inline-block");a||(a=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0}),a.on("select",function(){var e=[];a.state().get("selection").map(function(a){a=a.toJSON();e.push({id:a.id,url:a.url,title:a.title})});c.post(ajaxurl,{images:e,post_type:typenow,action:"yit_cptu_multiuploader"},
2
- function(a){location.reload()});b.next("span.spinner").css("display","inline-block");d=!0}),a.on("close",function(){d||b.next("span.spinner").hide()}));a.open()})})(jQuery);
1
+ (function(d){d(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(g){g.preventDefault();var b=d(this),e=!1;b.next("span.spinner").css("display","inline-block");if(!c){var c=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0});c.on("select",function(){var f=[];c.state().get("selection").map(function(a){a=a.toJSON();f.push({id:a.id,url:a.url,title:a.title})});d.post(ajaxurl,{images:f,post_type:typenow,
2
+ action:"yit_cptu_multiuploader"},function(a){location.reload()});b.next("span.spinner").css("display","inline-block");e=!0});c.on("close",function(){e||b.next("span.spinner").hide()})}c.open()})})(jQuery);
plugin-fw/assets/js/yit-wp-pointer.min.js CHANGED
@@ -1,3 +1,6 @@
1
- jQuery(document).ready(function(b){var c=custom_pointer.pointers[0],d=c.options,a=b(c.target),e=c.pointer_id;b(a).find(".wp-submenu li a").each(function(){var f=b(this),h=f.attr("href"),h=h.replace("admin.php?page=","");if(h==e){var k=f.add(a),g=a.find(c.target.replace("#","."));a.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");f.pointer({pointerClass:"yit-wp-pointer",content:d.content,position:d.position,open:function(){k.toggleClass("yit-pointer-selected-row");g.addClass("yit-pointer")},
2
- close:function(){a.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");k.toggleClass("yit-pointer-selected-row");g.removeClass("yit-pointer");b.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}else if("yith_default_pointer"==e){var k=f.add(a),g=a.find(c.target.replace("#",".")),l=b(c.target);l.addClass("wp-has-current-submenu");g.pointer({pointerClass:"yit-wp-pointer",content:d.content,position:d.position,open:function(){l.addClass("yit-pointer-selected-row")},
3
- close:function(){l.removeClass("yit-pointer-selected-row wp-has-current-submenu");b.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}})});
 
 
 
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
4
+ jQuery(document).ready(function(a){var c=custom_pointer.pointers[0],b=c.options,d=a(c.target),e=c.pointer_id;a(d).find(".wp-submenu li a").each(function(){var f=a(this),h=f.attr("href");h=h.replace("admin.php?page=","");if(h==e){var k=f.add(d),g=d.find(c.target.replace("#","."));d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");f.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){k.toggleClass("yit-pointer-selected-row");g.addClass("yit-pointer")},
5
+ close:function(){d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");k.toggleClass("yit-pointer-selected-row");g.removeClass("yit-pointer");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}else if("yith_default_pointer"==e){k=f.add(d);g=d.find(c.target.replace("#","."));var l=a(c.target);l.addClass("wp-has-current-submenu");g.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){l.addClass("yit-pointer-selected-row")},
6
+ close:function(){l.removeClass("yit-pointer-selected-row wp-has-current-submenu");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}})});
plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js CHANGED
@@ -1,5 +1,5 @@
1
- jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(":input.yith-post-search").filter(":not(.enhanced)").each(function(){var d=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
2
- "3",escapeMarkup:function(b){return b},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){d.term=b;return d},results:function(b){var c=[];b&&a.each(b,function(b,a){c.push({id:b,text:a})});return{results:c}},cache:!0}};!0===a(this).data("multiple")?(c.multiple=!0,c.initSelection=function(b,c){var f=a.parseJSON(b.attr("data-selected")),e=[];a(b.val().split(",")).each(function(b,a){e.push({id:a,text:f[a]})});return c(e)},c.formatSelection=function(b){return'<div class="selected-option" data-id="'+
3
- b.id+'">'+b.text+"</div>"}):(c.multiple=!1,c.initSelection=function(b,a){var c={id:b.val(),text:b.attr("data-selected")};return a(c)});a(this).select2(c).addClass("enhanced")});a(":input.yith-term-search").filter(":not(.enhanced)").each(function(){var d=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?
4
- a(this).data("minimum_input_length"):"3",escapeMarkup:function(b){return b},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(b){d.term=b;return d},results:function(b){var c=[];b&&a.each(b,function(b,a){c.push({id:b,text:a})});return{results:c}},cache:!0}};!0===a(this).data("multiple")?(c.multiple=!0,c.initSelection=function(b,c){var d=a.parseJSON(b.attr("data-selected")),e=[];a(b.val().split(",")).each(function(b,a){e.push({id:a,text:d[a]})});
5
- return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,c){var d={id:a.val(),text:a.attr("data-selected")};return c(d)});a(this).select2(c).addClass("enhanced")})}).trigger("yith-framework-enhanced-select-init")});
1
+ jQuery(document).ready(function(b){b(document.body).on("yith-framework-enhanced-select-init",function(){b(":input.yith-post-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?b(this).data("minimum_input_length"):
2
+ "3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var f=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:f[b]})});return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+
3
+ a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")});b(":input.yith-term-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?
4
+ b(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var d=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})});
5
+ return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")})}).trigger("yith-framework-enhanced-select-init")});
plugin-fw/assets/js/yith-enhanced-select.min.js CHANGED
@@ -1,5 +1,8 @@
1
- jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(".yith-post-search").filter(":not(.enhanced)").each(function(){var e=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),f={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
2
- "3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},e)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(f).addClass("enhanced");if(a(this).data("sortable")){var c=a(this),d=a(this).next(".select2-container").find("ul.select2-selection__rendered");d.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,
3
- items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(d.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id,b=c.find('option[value="'+b+'"]')[0];c.prepend(b)})}})}});a(".yith-term-search").filter(":not(.enhanced)").each(function(){var e=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),f={allowClear:a(this).data("allow_clear")?
4
- !0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},e)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(f).addClass("enhanced");if(a(this).data("sortable")){var c=a(this),d=a(this).next(".select2-container").find("ul.select2-selection__rendered");
5
- d.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(d.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id,b=c.find('option[value="'+b+'"]')[0];c.prepend(b)})}})}})}).trigger("yith-framework-enhanced-select-init")});
 
 
 
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,f,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var b=a[e];if(f.call(c,b,e,a))return{i:e,v:b}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,f,c){a!=Array.prototype&&a!=Object.prototype&&(a[f]=c.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,f,c,d){if(f){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];f=f(d);f!=d&&null!=f&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:f})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
+ jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(".yith-post-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
5
+ "3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,
6
+ items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}});a(".yith-term-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),c={allowClear:a(this).data("allow_clear")?
7
+ !0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");
8
+ e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}})}).trigger("yith-framework-enhanced-select-init")});
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -74,12 +74,12 @@ jQuery( function ( $ ) {
74
  var custom_uploader_states = [
75
  // Main states.
76
  new wp.media.controller.Library( {
77
- library : wp.media.query(),
78
- multiple : false,
79
- title : 'Choose Image',
80
- priority : 20,
81
- filterable: 'uploaded'
82
- } )
83
  ];
84
 
85
  // Create the media frame.
@@ -145,10 +145,10 @@ jQuery( function ( $ ) {
145
  },
146
  states: [
147
  new wp.media.controller.Library( {
148
- title : $t.data( 'choose' ),
149
- filterable: 'all',
150
- multiple : true
151
- } )
152
  ]
153
  } );
154
 
@@ -193,7 +193,7 @@ jQuery( function ( $ ) {
193
 
194
  $t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
195
  var attachment_id = $( this ).attr( 'data-attachment_id' );
196
- attachment_ids = attachment_ids + attachment_id + ',';
197
  } );
198
 
199
  $t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
@@ -212,7 +212,7 @@ jQuery( function ( $ ) {
212
 
213
  $gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
214
  var attachment_id = $( this ).attr( 'data-attachment_id' );
215
- attachment_ids = attachment_ids + attachment_id + ',';
216
  } );
217
 
218
  $image_gallery_ids.val( attachment_ids );
@@ -283,7 +283,7 @@ jQuery( function ( $ ) {
283
  range: 'min',
284
  step : step,
285
 
286
- create: function() {
287
  $( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
288
  },
289
 
@@ -347,4 +347,18 @@ jQuery( function ( $ ) {
347
  } );
348
  } );
349
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  } );
74
  var custom_uploader_states = [
75
  // Main states.
76
  new wp.media.controller.Library( {
77
+ library : wp.media.query(),
78
+ multiple : false,
79
+ title : 'Choose Image',
80
+ priority : 20,
81
+ filterable: 'uploaded'
82
+ } )
83
  ];
84
 
85
  // Create the media frame.
145
  },
146
  states: [
147
  new wp.media.controller.Library( {
148
+ title : $t.data( 'choose' ),
149
+ filterable: 'all',
150
+ multiple : true
151
+ } )
152
  ]
153
  } );
154
 
193
 
194
  $t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
195
  var attachment_id = $( this ).attr( 'data-attachment_id' );
196
+ attachment_ids = attachment_ids + attachment_id + ',';
197
  } );
198
 
199
  $t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
212
 
213
  $gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
214
  var attachment_id = $( this ).attr( 'data-attachment_id' );
215
+ attachment_ids = attachment_ids + attachment_id + ',';
216
  } );
217
 
218
  $image_gallery_ids.val( attachment_ids );
283
  range: 'min',
284
  step : step,
285
 
286
+ create: function () {
287
  $( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
288
  },
289
 
347
  } );
348
  } );
349
 
350
+ /** Select Images */
351
+ $( document ).on( 'click', '.yith-plugin-fw-select-images__item', function () {
352
+ var item = $( this ),
353
+ key = item.data( 'key' ),
354
+ wrapper = item.closest( '.yith-plugin-fw-select-images__wrapper' ),
355
+ items = wrapper.find( '.yith-plugin-fw-select-images__item' ),
356
+ select = wrapper.find( 'select' ).first();
357
+
358
+ if ( select.length ) {
359
+ select.val( key );
360
+ items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
361
+ item.addClass( 'yith-plugin-fw-select-images__item--selected' );
362
+ }
363
+ } );
364
  } );
plugin-fw/assets/js/yith-fields.min.js CHANGED
@@ -1,15 +1,15 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,e){a instanceof String&&(a=String(a));for(var d=a.length,h=0;h<d;h++){var l=a[h];if(g.call(e,l,h,a))return{i:h,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,g,e){a!=Array.prototype&&a!=Object.prototype&&(a[g]=e.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,g,e,d){if(g){e=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var h=a[d];h in e||(e[h]={});e=e[h]}a=a[a.length-1];d=e[a];g=g(d);g!=d&&null!=g&&$jscomp.defineProperty(e,a,{configurable:!0,writable:!0,value:g})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,e){return $jscomp.findInternal(this,a,e).v}},"es6","es3");
4
- jQuery(function(a){var g=a(".yith-plugin-fw-datepicker"),e=a(".yith-plugin-fw-colorpicker"),d=a(".yith-plugin-fw-upload-img-url"),h=a(".add_media"),l=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),m=a(".yith-plugin-fw-onoff-container span"),n=a(".yith-plugin-fw-sidebar-layout"),p=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),q=a(".codemirror"),r=a(".yit-icons-manager-wrapper");g.each(function(){var b=a(this).data();a(this).datepicker(b)});e.wpColorPicker({clear:function(){var b=
5
- a(this);b.val(b.data("default-color"));b.change()}});e.each(function(){var b=a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(d.change(function(){var b=a(this).val(),c=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>c.length&&(c=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?
6
  c.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):c.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var c=a(this).attr("id").replace(/-button$/,"");if(!f){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var f=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
7
- states:b});f.on("select",function(){var b=f.state().get("selection").first().toJSON();a("#"+c).val(b.url);a("#"+c+"-yith-attachment-id")&&a("#"+c+"-yith-attachment-id").val(b.id);d.trigger("change")})}f.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button-reset$/,"");b=a("#"+b).data("default");a("#"+c).val(b);d.trigger("change")}));h.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&
8
- (a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var f=b.find(".image_gallery_ids"),k=f.val(),e=b.find("ul.slides-wrapper"),d=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});d.on("select",function(){d.state().get("selection").map(function(a){a=a.toJSON();a.id&&(k=k?k+","+a.id:a.id,e.append('<li class="image" data-attachment_id="'+
9
- a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+'">x</a></li></ul></li>'))});f.val(k)});d.open()}),l.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,f){var k="";b.find("li.image").css("cursor",
10
  "default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),l.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var f="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");f=f+b+","});b.val(f)}));m.on("click",function(){var b=
11
  a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});n.each(function(){a(this).find("img").on("click",function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var f=a(this).data("type");a(this).parent().children(":radio").attr("checked",
12
- !1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof f)switch(f){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});p.each(function(){var b=a(this).data("val"),c=a(this).data("min"),f=a(this).data("max"),e=a(this).data("step"),d=a(this).data("labels");a(this).slider({value:b,min:c,max:f,range:"min",step:e,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,
13
  c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+d)}})});q.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",
14
- function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});r.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),e=b.find(".yit-icons-manager-icon-text");b.on("click",".yit-icons-manager-list li",function(d){d=a(d.target).closest("li");var f=d.data("font"),g=d.data("icon"),h=d.data("key"),k=d.data("name");c.attr("data-font",f);c.attr("data-icon",g);c.attr("data-key",h);c.attr("data-name",k);e.val(f+":"+k);b.find(".yit-icons-manager-list li").removeClass("active");
15
- d.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})})});
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,d){a instanceof String&&(a=String(a));for(var e=a.length,h=0;h<e;h++){var l=a[h];if(g.call(d,l,h,a))return{i:h,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,g,d){a!=Array.prototype&&a!=Object.prototype&&(a[g]=d.value)};
2
+ $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,g,d,e){if(g){d=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var h=a[e];h in d||(d[h]={});d=d[h]}a=a[a.length-1];e=d[a];g=g(e);g!=e&&null!=g&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:g})}};
3
+ $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,d){return $jscomp.findInternal(this,a,d).v}},"es6","es3");
4
+ jQuery(function(a){var g=a(".yith-plugin-fw-datepicker"),d=a(".yith-plugin-fw-colorpicker"),e=a(".yith-plugin-fw-upload-img-url"),h=a(".add_media"),l=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),m=a(".yith-plugin-fw-onoff-container span"),n=a(".yith-plugin-fw-sidebar-layout"),p=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),q=a(".codemirror"),r=a(".yit-icons-manager-wrapper");g.each(function(){var b=a(this).data();a(this).datepicker(b)});d.wpColorPicker({clear:function(){var b=
5
+ a(this);b.val(b.data("default-color"));b.change()}});d.each(function(){var b=a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(e.change(function(){var b=a(this).val(),c=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>c.length&&(c=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?
6
  c.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):c.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var c=a(this).attr("id").replace(/-button$/,"");if(!f){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var f=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
7
+ states:b});f.on("select",function(){var b=f.state().get("selection").first().toJSON();a("#"+c).val(b.url);a("#"+c+"-yith-attachment-id")&&a("#"+c+"-yith-attachment-id").val(b.id);e.trigger("change")})}f.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button-reset$/,"");b=a("#"+b).data("default");a("#"+c).val(b);e.trigger("change")}));h.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&
8
+ (a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var f=b.find(".image_gallery_ids"),k=f.val(),d=b.find("ul.slides-wrapper"),e=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});e.on("select",function(){e.state().get("selection").map(function(a){a=a.toJSON();a.id&&(k=k?k+","+a.id:a.id,d.append('<li class="image" data-attachment_id="'+
9
+ a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+'">x</a></li></ul></li>'))});f.val(k)});e.open()}),l.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,f){var k="";b.find("li.image").css("cursor",
10
  "default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),l.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var f="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");f=f+b+","});b.val(f)}));m.on("click",function(){var b=
11
  a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});n.each(function(){a(this).find("img").on("click",function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var f=a(this).data("type");a(this).parent().children(":radio").attr("checked",
12
+ !1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof f)switch(f){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});p.each(function(){var b=a(this).data("val"),c=a(this).data("min"),f=a(this).data("max"),k=a(this).data("step"),d=a(this).data("labels");a(this).slider({value:b,min:c,max:f,range:"min",step:k,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,
13
  c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+d)}})});q.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",
14
+ function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});r.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),f=b.find(".yit-icons-manager-icon-text");b.on("click",".yit-icons-manager-list li",function(d){d=a(d.target).closest("li");var e=d.data("font"),g=d.data("icon"),k=d.data("key"),h=d.data("name");c.attr("data-font",e);c.attr("data-icon",g);c.attr("data-key",k);c.attr("data-name",h);f.val(e+":"+h);b.find(".yit-icons-manager-list li").removeClass("active");
15
+ d.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})});a(document).on("click",".yith-plugin-fw-select-images__item",function(){var b=a(this),c=b.data("key"),d=b.closest(".yith-plugin-fw-select-images__wrapper"),e=d.find(".yith-plugin-fw-select-images__item");d=d.find("select").first();d.length&&(d.val(c),e.removeClass("yith-plugin-fw-select-images__item--selected"),b.addClass("yith-plugin-fw-select-images__item--selected"))})});
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.0.16
5
- * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
- * @version 3.0.16
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.0.21
5
+ * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
+ * @version 3.0.20
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
plugin-fw/languages/yith-plugin-fw-es_ES.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -4,15 +4,15 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2016-07-06 15:18+0200\n"
8
- "PO-Revision-Date: 2016-07-06 15:19+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
  "Language: es_ES\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.8.8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
@@ -22,6 +22,42 @@ msgstr ""
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  #: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
26
  #: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
27
  #, php-format
@@ -81,7 +117,7 @@ msgctxt "taxonomy singular name"
81
  msgid "Category"
82
  msgstr "Categoría"
83
 
84
- #: lib/yit-cpt-unlimited.php:627
85
  msgid "Search Categories"
86
  msgstr "Buscar Categorías"
87
 
@@ -127,7 +163,7 @@ msgid "%s Settings"
127
  msgstr "%s Ajustes"
128
 
129
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
130
- #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:74
131
  msgid "Settings"
132
  msgstr "Ajustes"
133
 
@@ -214,8 +250,8 @@ msgstr "Enlaces rápidos"
214
  msgid "Show frontend of the %s"
215
  msgstr "Mostrar parte delantera de %s"
216
 
217
- #: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
218
- #: templates/metaboxes/types/customtabs.php:90
219
  msgid "Name"
220
  msgstr "Nombre"
221
 
@@ -228,106 +264,97 @@ msgstr "Añadir %s desde imágenes"
228
  msgid "Upload multiple files"
229
  msgstr "Cargar archivos múltiples"
230
 
231
- #: lib/yit-plugin-panel-sidebar.php:421 templates/panel/sidebar/sidebar.php:3
232
- msgid "Hide sidebar"
233
- msgstr "Ocultar barra lateral"
234
-
235
- #: lib/yit-plugin-panel-sidebar.php:422 templates/panel/sidebar/sidebar.php:3
236
- msgid "Show sidebar"
237
- msgstr "Mostrar barra lateral"
238
-
239
- #: lib/yit-plugin-panel-wc.php:374
240
  msgid "The changes you have made will be lost if you leave this page."
241
  msgstr "Los cambios que has hecho se perderán si sales de esta página."
242
 
243
- #: lib/yit-plugin-panel.php:73
244
  msgid "Plugin Settings"
245
  msgstr "Ajustes del plugin"
246
 
247
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-panel.php:300
248
  msgid "How to install premium version"
249
  msgstr "Cómo instalar la versión premium"
250
 
251
- #: lib/yit-plugin-panel.php:352 lib/yit-plugin-subpanel.php:146
252
  #: templates/panel/woocommerce/woocommerce-form.php:11
253
  msgid "Save Changes"
254
  msgstr "Guardar cambios"
255
 
256
- #: lib/yit-plugin-panel.php:355
257
  #: templates/panel/woocommerce/woocommerce-form.php:14
258
  msgid ""
259
  "If you continue with this action, you will reset all options in this page."
260
  msgstr ""
261
  "Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
262
 
263
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
264
  msgid "Reset to default"
265
  msgstr "Reiniciar a predeterminado"
266
 
267
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
268
  #: templates/panel/woocommerce/woocommerce-form.php:18
269
  msgid "Are you sure?"
270
  msgstr "¿Estás seguro/a?"
271
 
272
- #: lib/yit-plugin-panel.php:553
273
  msgid ""
274
  "The element you have entered already exists. Please, enter another name."
275
  msgstr ""
276
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
277
 
278
- #: lib/yit-plugin-panel.php:554
279
  msgid "Settings saved"
280
  msgstr "Ajustes guardados"
281
 
282
- #: lib/yit-plugin-panel.php:555
283
  msgid "Settings reset"
284
  msgstr "Ajustes reiniciados"
285
 
286
- #: lib/yit-plugin-panel.php:556
287
  msgid "Element deleted correctly."
288
  msgstr "Elemento borrado correctamente."
289
 
290
- #: lib/yit-plugin-panel.php:557 lib/yit-plugin-panel.php:558
291
  msgid "Element updated correctly."
292
  msgstr "Elemento actualizado correctamente."
293
 
294
- #: lib/yit-plugin-panel.php:559
295
  msgid "Database imported correctly."
296
  msgstr "Base de datos importada correctamente."
297
 
298
- #: lib/yit-plugin-panel.php:560
299
  msgid "An error has occurred during import. Please try again."
300
  msgstr ""
301
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
302
 
303
- #: lib/yit-plugin-panel.php:561
304
  msgid "The added file is not valid."
305
  msgstr "El archivo añadido no es válido."
306
 
307
- #: lib/yit-plugin-panel.php:562
308
  msgid "Sorry, import is disabled."
309
  msgstr "Lo sentimos, la importación está deshabilitada."
310
 
311
- #: lib/yit-plugin-panel.php:563
312
  msgid "Sorting successful."
313
  msgstr "Clasificación fue realizada con éxito."
314
 
315
- #: lib/yit-plugin-subpanel.php:149
316
- msgid ""
317
- "If you continue with this action, you will reset all the options in this "
318
- "page."
319
- msgstr ""
320
- "Si continúas con esta acción, reiniciarás todas las opciones de esta página."
321
-
322
  #: lib/yit-pointers.php:70
323
  msgid "Plugins Activated"
324
  msgstr "Plugins Activados"
325
 
326
  #: lib/yit-pointers.php:71
 
 
 
 
 
 
327
  msgid ""
328
- "From now on, you can find all plugin options in YIT Plugin menu.\n"
329
- " For each plugin installed, "
330
- "customization settings will be available as a new entry in YIT Plugin menu."
331
  msgstr ""
332
  "De ahora en adelante, puedes encontrar todas las opciones del plugin en el "
333
  "menú YIT Plugin.\n"
@@ -348,15 +375,27 @@ msgid "Plugins Upgraded"
348
  msgstr "Plugins Actualizados"
349
 
350
  #: lib/yit-pointers.php:85
 
 
 
 
 
 
 
 
 
 
 
351
  msgid ""
352
- "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
353
- " Any time one of our plugins is updated, "
 
354
  "a new entry will be added to this menu.\n"
355
  " For example, after the update, plugin "
356
  "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
357
  "Search, etc.)\n"
358
  " will be moved from previous location to "
359
- "YIT Plugin tab."
360
  msgstr ""
361
  "De ahora en adelante, puedes encontrar todas las opciones de tus plugins en "
362
  "el menú YIT Plugin.\n"
@@ -368,69 +407,96 @@ msgstr ""
368
  " se moverán de su posición anterior a la "
369
  "pestaña YIT Plugin."
370
 
371
- #: lib/yit-upgrade.php:135
 
 
 
 
 
 
 
 
372
  msgid "There is a new version of %plugin_name% available."
373
  msgstr "Hay una nueva versión de %plugin_name% disponible."
374
 
375
- #: lib/yit-upgrade.php:136
376
  msgid "View version %latest% details."
377
  msgstr "Ver detalles de la %latest% versión"
378
 
379
- #: lib/yit-upgrade.php:137
380
  msgid "Automatic update is unavailable for this plugin,"
381
  msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
382
 
383
- #: lib/yit-upgrade.php:138
384
  msgid ""
385
  "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
386
  msgstr ""
387
  "por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
388
 
389
- #: lib/yit-upgrade.php:139
390
  msgid "Update now."
391
  msgstr "Actualiza ahora."
392
 
393
- #: lib/yit-upgrade.php:240
394
- msgid "YIThemes Repository"
 
 
395
  msgstr "Repositorio YIThemes"
396
 
397
- #: lib/yit-upgrade.php:274
398
  msgid "Invalid URL Provided."
399
  msgstr "La URL proporcionada no es válida."
400
 
401
- #: lib/yit-upgrade.php:287
402
  msgid "Could not create Temporary file."
403
  msgstr "No se pudo crear un archivo temporal."
404
 
405
- #: lib/yit-upgrade.php:439
406
- #, php-format
 
 
 
 
407
  msgid ""
408
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
409
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>."
 
410
  msgstr ""
411
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
412
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
413
 
414
- #: lib/yit-upgrade.php:441
415
- #, php-format
 
 
 
 
 
416
  msgid ""
417
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
418
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
419
- "have to activate the plugin on a single site of the network to benefit from "
420
- "automatic updates.</em>"
421
  msgstr ""
422
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
423
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
424
  "<em>Tienes que activar el plugin en un único sitio web desdela red para "
425
  "beneficiarte de las actualizaciones automáticas.</em>"
426
 
427
- #: lib/yit-upgrade.php:443
428
- #, php-format
 
 
 
 
 
 
429
  msgid ""
430
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
431
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
432
- "<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
433
- "title=\"License activation\">activate</a> your copy of %6s.</em>"
 
434
  msgstr ""
435
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
436
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
@@ -438,117 +504,119 @@ msgstr ""
438
  "por favor <a href=\"%5$s\" title=\"License activation\">activa</a> tu copia "
439
  "de %6s.</em>"
440
 
441
- #: lib/yit-upgrade.php:445
442
- #, php-format
 
 
 
 
443
  msgid ""
444
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
445
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
446
- "href=\"%5$s\">update now</a>."
447
  msgstr ""
448
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
449
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o "
450
  "<a href=\"%5$s\">actualizar ahora</a>."
451
 
452
- #: lib/yit-upgrade.php:517
453
  msgid "You can't update the plugins for this site."
454
  msgstr "No puedes actualizar los plugins para este sitio web."
455
 
456
- #: lib/yit-upgrade.php:521
457
  msgid ""
458
  "You do not have sufficient permissions to update the plugins for this site."
459
  msgstr ""
460
  "No tienes suficientes permisos para actualizar los plugins para este sitio "
461
  "web."
462
 
463
- #: lib/yit-upgrade.php:528
464
  msgid "Update Plugin"
465
  msgstr "Actualizar Plugin"
466
 
467
- #: licence/lib/yit-licence.php:182
468
  #, php-format
469
  msgctxt "%s = field name"
470
  msgid "%s field cannot be empty"
471
  msgstr "%s el campo no puede estar vacío"
472
 
473
- #: licence/lib/yit-licence.php:183
474
  #, php-format
475
  msgid "%s and %s fields cannot be empty"
476
  msgstr "Los campos %s y %s no pueden estar vacíos"
477
 
478
- #: licence/lib/yit-licence.php:184
479
  msgid "Unable to contact the remote server, please try again later. Thanks!"
480
  msgstr ""
481
  "No fue posible contactar con el servidor remoto, por favor, inténtalo de "
482
  "nuevo más tarde. ¡Gracias!"
483
 
484
- #: licence/lib/yit-licence.php:185
485
  #: licence/templates/panel/activation/activation-panel.php:88
486
  #: licence/templates/panel/activation/activation-panel.php:166
487
  #: licence/templates/panel/activation/activation-panel.php:197
488
- #: templates/metaboxes/types/contactform.php:148
489
- #: templates/metaboxes/types/contactform.php:340
490
  msgid "Email"
491
  msgstr "Email"
492
 
493
- #: licence/lib/yit-licence.php:186
494
  #: licence/templates/panel/activation/activation-panel.php:89
495
  #: licence/templates/panel/activation/activation-panel.php:167
496
  #: licence/templates/panel/activation/activation-panel.php:198
497
  msgid "License Key"
498
  msgstr "Clave de Licencia"
499
 
500
- #: licence/lib/yit-licence.php:187
501
  msgid "Are you sure you want to deactivate the license for current site?"
502
  msgstr ""
503
  "¿Estás seguro/a de que quieres desactivar la licencia para el sitio web "
504
  "actual?"
505
 
506
- #: licence/lib/yit-licence.php:667
507
  msgid "Invalid Request"
508
  msgstr "Solicitud inválida"
509
 
510
- #: licence/lib/yit-licence.php:668
511
  msgid "Invalid license key"
512
  msgstr "Clave de solicitud inválida"
513
 
514
- #: licence/lib/yit-licence.php:669
515
  msgid "Software has been deactivated"
516
  msgstr "El software ha sido desactivado"
517
 
518
- #: licence/lib/yit-licence.php:670
519
  msgid "Maximum number of activations exceeded"
520
  msgstr "Se ha excedido el número máximo de solicitudes"
521
 
522
- #: licence/lib/yit-licence.php:671
523
  msgid "Invalid instance ID"
524
  msgstr "Instancia ID inválida"
525
 
526
- #: licence/lib/yit-licence.php:672
527
  msgid "Invalid security key"
528
  msgstr "Clave de seguridad inválida"
529
 
530
- #: licence/lib/yit-licence.php:673
531
  msgid "License key has expired"
532
  msgstr "La clave de licencia ha caducado"
533
 
534
- #: licence/lib/yit-licence.php:674
535
  msgid "License key has been banned"
536
  msgstr "La clave de licencia ha sido bloqueada"
537
 
538
- #: licence/lib/yit-licence.php:675
539
  msgid "Current product is not included in your YITH Club Subscription key"
540
  msgstr ""
541
  "Producto actual no está incluido en la clave de suscripción de Club de YITH"
542
 
543
- #: licence/lib/yit-licence.php:676
544
  msgid "Great"
545
  msgstr "Excelente"
546
 
547
- #: licence/lib/yit-licence.php:676
548
  msgid "License successfully activated"
549
  msgstr "Licencia activada con éxito"
550
 
551
- #: licence/lib/yit-licence.php:677
552
  msgid "License key deactivated for website"
553
  msgstr "Clave de licencia desactivada para nuestro sitio web"
554
 
@@ -572,6 +640,18 @@ msgstr ""
572
  "tiempo. ¿Dónde la puedo encontrar?"
573
 
574
  #: licence/lib/yit-theme-licence.php:163
 
 
 
 
 
 
 
 
 
 
 
 
575
  msgid ""
576
  "If you have purchased one of our products before 27 January 2015, you can "
577
  "benefit from support and updates (the services offered with the license)\n"
@@ -581,7 +661,7 @@ msgid ""
581
  " After 27 January 2016, instead, if you want to benefit "
582
  "from support and updates you have to buy a new license and activate it "
583
  "through the license key you will be\n"
584
- " provided with and that you can find in your YIThemes "
585
  "account, in section \"My licenses\"."
586
  msgstr ""
587
  "Si has comprado uno de nuestros productos antes del 27 de enero de 2015, "
@@ -597,8 +677,10 @@ msgstr ""
597
  "YIThemes, en la sección \"My licenses\"."
598
 
599
  #: licence/templates/panel/activation/activation-panel.php:23
600
- msgid "Yithemes License Activation"
601
- msgstr "Licencia de Activación Yithemes"
 
 
602
 
603
  #: licence/templates/panel/activation/activation-panel.php:27
604
  msgid ""
@@ -677,399 +759,362 @@ msgstr "Comprar de nuevo"
677
  msgid "Renew license"
678
  msgstr "Renovar licencia"
679
 
680
- #: templates/metaboxes/types/ajax-products.php:23
681
- msgid "Search for a product"
 
 
 
 
 
 
 
 
682
  msgstr "Buscar un producto"
683
 
684
- #: templates/metaboxes/types/categories.php:36
685
- msgid "No categories."
686
- msgstr "Ninguna categoría."
687
 
688
- #: templates/metaboxes/types/categories.php:42
689
- msgid "+ Add New Category"
690
- msgstr "+ Añadir Nueva Categoría"
691
 
692
- #: templates/metaboxes/types/categories.php:46
693
- msgid "Add"
694
- msgstr "Añadir"
695
 
696
- #: templates/metaboxes/types/contactform.php:7
697
- msgid "Text Input"
698
- msgstr "Text Input"
699
 
700
- #: templates/metaboxes/types/contactform.php:8
701
- msgid "Checkbox"
702
- msgstr "Casilla"
703
 
704
- #: templates/metaboxes/types/contactform.php:9
705
- msgid "Select"
706
- msgstr "Seleciona"
707
 
708
- #: templates/metaboxes/types/contactform.php:10
709
- msgid "Textarea"
710
- msgstr "Área de texto"
711
 
712
- #: templates/metaboxes/types/contactform.php:11
713
- msgid "Radio Input"
714
- msgstr "Radio Input"
 
 
715
 
716
- #: templates/metaboxes/types/contactform.php:12
717
- msgid "Password Field"
718
- msgstr "Campo de contraseña"
719
 
720
- #: templates/metaboxes/types/contactform.php:13
721
- msgid "File Upload"
722
- msgstr "Carga de archivo"
 
 
 
 
 
 
 
 
723
 
724
- #: templates/metaboxes/types/contactform.php:47
725
- msgid "Theme Icon"
726
- msgstr "Icono del tema"
727
 
728
- #: templates/metaboxes/types/contactform.php:48
729
- msgid "Custom Icon"
730
- msgstr "Icono Personalizado"
 
 
731
 
732
- #: templates/metaboxes/types/contactform.php:49
733
- #: templates/metaboxes/types/responsivesliders.php:24
734
- msgid "None"
735
- msgstr "Ninguno"
736
 
737
- #: templates/metaboxes/types/contactform.php:60
738
- msgid "Add field"
739
- msgstr "Añadir campo"
740
 
741
- #: templates/metaboxes/types/contactform.php:69
742
- #: templates/metaboxes/types/contactform.php:261
743
- #: templates/metaboxes/types/customtabs.php:37
744
- #: templates/metaboxes/types/customtabs.php:82
745
- msgid "Remove"
746
- msgstr "Borrar"
747
 
748
- #: templates/metaboxes/types/contactform.php:70
749
- #: templates/metaboxes/types/contactform.php:262
750
- msgid "Click to toggle"
751
- msgstr "Haz click para alternar"
752
 
753
- #: templates/metaboxes/types/contactform.php:77
754
- #: templates/metaboxes/types/contactform.php:269
755
- msgid "Field Title"
756
- msgstr "Campo de título"
757
 
758
- #: templates/metaboxes/types/contactform.php:81
759
- #: templates/metaboxes/types/contactform.php:273
760
- msgid "Insert the title for the field."
761
- msgstr "Inserta el título del campo."
762
 
763
- #: templates/metaboxes/types/contactform.php:86
764
- #: templates/metaboxes/types/contactform.php:278
765
- msgid "Data Name"
766
- msgstr "Nombre del dato."
767
 
768
- #: templates/metaboxes/types/contactform.php:90
769
- #: templates/metaboxes/types/contactform.php:282
770
- msgid ""
771
- "REQUIRED: Field identification name to be entered into email body. "
772
- "<strong>Note:</strong>Use only lowercase characters and underscores."
773
- msgstr ""
774
- "OBLIGATORIO: El nombre del campo de identificación debe introducirse en el "
775
- "cuerpo del email. <strong> Nota: </strong> Usa sólo minúsculas y guiones "
776
- "bajos."
777
-
778
- #: templates/metaboxes/types/contactform.php:95
779
- #: templates/metaboxes/types/contactform.php:287
780
- msgid "Field Type"
781
- msgstr "Tipo de campo"
782
-
783
- #: templates/metaboxes/types/contactform.php:103
784
- #: templates/metaboxes/types/contactform.php:295
785
- msgid "Select the type for this field."
786
- msgstr "Selecciona el tipo para este campo."
787
-
788
- #: templates/metaboxes/types/contactform.php:108
789
- #: templates/metaboxes/types/contactform.php:300
790
- msgid "Checked"
791
- msgstr "Campo seleccionado"
792
-
793
- #: templates/metaboxes/types/contactform.php:112
794
- #: templates/metaboxes/types/contactform.php:304
795
- msgid "Select this option if you want this field appears as already checked."
796
- msgstr ""
797
- "Selecciona esta opción si quieres que este campo aparezca como ya marcado."
798
-
799
- #: templates/metaboxes/types/contactform.php:117
800
- #: templates/metaboxes/types/contactform.php:309
801
- msgid "Add options "
802
- msgstr "Añadir opciones"
803
-
804
- #: templates/metaboxes/types/contactform.php:118
805
- #: templates/metaboxes/types/contactform.php:310
806
- msgid "Add option"
807
- msgstr "Añadir opción"
808
-
809
- #: templates/metaboxes/types/contactform.php:121
810
- #: templates/metaboxes/types/contactform.php:313
811
- #: templates/metaboxes/types/contactform.php:436
812
- msgid "Selected"
813
- msgstr "Selecionado"
814
-
815
- #: templates/metaboxes/types/contactform.php:124
816
- #: templates/metaboxes/types/contactform.php:316
817
- #: templates/metaboxes/types/contactform.php:436
818
- msgid "Delete option"
819
- msgstr "Borrar opción"
820
-
821
- #: templates/metaboxes/types/contactform.php:130
822
- #: templates/metaboxes/types/contactform.php:322
823
- msgid "Error Message"
824
- msgstr "Mensaje de error"
825
-
826
- #: templates/metaboxes/types/contactform.php:134
827
- #: templates/metaboxes/types/contactform.php:326
828
- msgid "Insert the error message for validation."
829
- msgstr "Inserta el mensaje de error para la validación."
830
-
831
- #: templates/metaboxes/types/contactform.php:139
832
- #: templates/metaboxes/types/contactform.php:331
833
- msgid "Required"
834
- msgstr "Campo obligatorio"
835
-
836
- #: templates/metaboxes/types/contactform.php:143
837
- #: templates/metaboxes/types/contactform.php:335
838
- msgid "Select this option if it must be required."
839
- msgstr "Selecciona esta opción si este campo debe ser obligatorio."
840
-
841
- #: templates/metaboxes/types/contactform.php:152
842
- #: templates/metaboxes/types/contactform.php:344
843
- msgid "Select this option if the email must be valid."
844
- msgstr "Selecciona esta opción si el email debe ser válido."
845
-
846
- #: templates/metaboxes/types/contactform.php:157
847
- #: templates/metaboxes/types/contactform.php:349
848
- msgid "Reply To"
849
- msgstr "Responder a"
850
-
851
- #: templates/metaboxes/types/contactform.php:161
852
- #: templates/metaboxes/types/contactform.php:353
853
- msgid "Select this if it is the email you can reply to."
854
- msgstr "Selecciona si este es el email al que puedes responder."
855
-
856
- #: templates/metaboxes/types/contactform.php:166
857
- #: templates/metaboxes/types/contactform.php:358
858
- msgid "Class"
859
- msgstr "Clase"
860
-
861
- #: templates/metaboxes/types/contactform.php:170
862
- #: templates/metaboxes/types/contactform.php:362
863
- msgid ""
864
- "Insert additional class(es) (separated by commas) for more personalization."
865
- msgstr ""
866
- "Inserta clase(s) adicionales (separados por comas) para más personalización."
867
-
868
- #: templates/metaboxes/types/contactform.php:175
869
- #: templates/metaboxes/types/contactform.php:367
870
- msgid "Icon"
871
- msgstr "Icono"
872
-
873
- #: templates/metaboxes/types/contactform.php:203
874
- #: templates/metaboxes/types/contactform.php:391
875
- #: templates/metaboxes/types/icon-list.php:69
876
- #: templates/metaboxes/types/select-icon.php:33
877
- #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
878
  #: templates/panel/woocommerce/woocommerce-upload.php:40
879
  msgid "Upload"
880
  msgstr "Actualiza"
881
 
882
- #: templates/metaboxes/types/contactform.php:209
883
- #: templates/metaboxes/types/contactform.php:397
884
- #: templates/metaboxes/types/icon-list.php:75
885
- #: templates/metaboxes/types/select-icon.php:39
 
886
  msgid "Image preview"
887
  msgstr "Previsualización de imagen"
888
 
889
- #: templates/metaboxes/types/contactform.php:217
890
- #: templates/metaboxes/types/contactform.php:405
891
- msgid "Insert an icon for more personalization."
892
- msgstr "Inserta un icono para más personalización"
893
 
894
- #: templates/metaboxes/types/contactform.php:222
895
- #: templates/metaboxes/types/contactform.php:409
896
- msgid "Width"
897
- msgstr "Ancho"
898
 
899
- #: templates/metaboxes/types/contactform.php:247
900
- #: templates/metaboxes/types/contactform.php:421
901
- msgid "Set field length."
902
- msgstr "Establecer el ancho de campo"
903
 
904
- #: templates/metaboxes/types/customtabs.php:28
905
- msgid "Close all"
906
- msgstr "Cerrar todos"
 
907
 
908
- #: templates/metaboxes/types/customtabs.php:28
909
- msgid "Expand all"
910
- msgstr "Expandir todos"
 
911
 
912
- #: templates/metaboxes/types/customtabs.php:52
913
- #: templates/metaboxes/types/customtabs.php:95
914
- msgid "Value"
915
- msgstr "Valor"
916
 
917
- #: templates/metaboxes/types/customtabs.php:53
918
- #: templates/metaboxes/types/customtabs.php:96
919
- msgid "Content of the tab. (HTML is supported)"
920
- msgstr "Contenido de la pestaña. (HTML se soporta)"
 
 
 
 
 
 
 
 
 
921
 
922
- #: templates/metaboxes/types/customtabs.php:65
923
- msgid "Add custom product tab"
924
- msgstr "Añadir etiqueta de producto personalizado"
 
 
925
 
926
- #: templates/metaboxes/types/customtabs.php:107
927
- msgid "Do you want to remove the custom tab?"
928
- msgstr "¿Quieres borrar la etiqueta personalizada?"
929
 
930
- #: templates/metaboxes/types/icon-list.php:89
931
- #, php-format
932
- msgid "(Default: %s <img src=\"%s\"/>)"
933
- msgstr "(Por defecto: %s <img src=\"%s\"/>)"
934
 
935
- #: templates/metaboxes/types/icon-list.php:91
936
- #, php-format
937
- msgid "(Default: <i %s></i> )"
938
- msgstr "(Por defecto: <i %s></i> )"
 
 
939
 
940
- #: templates/metaboxes/types/image-gallery.php:40
941
- #: templates/metaboxes/types/image-gallery.php:45
942
- #: templates/metaboxes/types/images.php:38
943
- #: templates/metaboxes/types/images.php:64
944
- msgid "Delete image"
945
- msgstr "Borrar imagen"
946
 
947
- #: templates/metaboxes/types/image-gallery.php:45
948
- msgid "Add Images to Gallery"
949
- msgstr "Añadir imágenes a la Galería"
950
 
951
- #: templates/metaboxes/types/image-gallery.php:45
952
- msgid "Add to gallery"
953
- msgstr "Añadir a la galería"
954
 
955
- #: templates/metaboxes/types/image-gallery.php:45
956
- msgid "Add images"
957
- msgstr "Añadir imágenes"
958
 
959
- #: templates/metaboxes/types/image-gallery.php:45
960
- msgid "Delete"
961
- msgstr "Borrar"
962
 
963
- #: templates/metaboxes/types/images.php:42
964
- msgid "Upload new images"
965
- msgstr "Cargar nuevas imágenes"
966
 
967
- #: templates/metaboxes/types/images.php:75
968
- msgid "Are you sure you want to remove this image?"
969
- msgstr "¿Estás seguro/a de que quieres borrar esta imagen?"
970
 
971
- #: templates/metaboxes/types/sidebar-layout.php:25
972
- #: templates/metaboxes/types/sidebars.php:36
973
- msgid "Left sidebar"
974
- msgstr "Barra lateral izquierda"
975
 
976
- #: templates/metaboxes/types/sidebar-layout.php:28
977
- #: templates/metaboxes/types/sidebars.php:42
978
- #: templates/metaboxes/types/sidebars.php:45
979
- msgid "No sidebar"
980
- msgstr "Sin barra lateral"
981
 
982
- #: templates/metaboxes/types/sidebar-layout.php:31
983
- #: templates/metaboxes/types/sidebars.php:39
984
- msgid "Right sidebar"
985
- msgstr "Barra lateral derecha"
986
 
987
- #: templates/metaboxes/types/sidebar-layout.php:34
988
- #: templates/metaboxes/types/sidebars.php:53
989
- #: templates/metaboxes/types/sidebars.php:64
990
- msgid "Choose a sidebar"
991
- msgstr "Elige una barra lateral"
992
 
993
- #: templates/metaboxes/types/sidebars.php:51
994
- msgid "Left Sidebar"
995
- msgstr "Barra lateral izquierda"
996
 
997
- #: templates/metaboxes/types/sidebars.php:62
998
- msgid "Right Sidebar"
999
- msgstr "Barra lateral derecha"
 
 
 
 
 
 
 
 
 
 
 
1000
 
1001
- #: templates/metaboxes/types/typography.php:42
1002
- msgid "px"
1003
- msgstr "px"
1004
 
1005
- #: templates/metaboxes/types/typography.php:43
1006
- msgid "em"
1007
- msgstr "em"
 
 
 
 
1008
 
1009
- #: templates/metaboxes/types/typography.php:44
1010
- msgid "pt"
1011
- msgstr "pt"
1012
 
1013
- #: templates/metaboxes/types/typography.php:45
1014
- msgid "rem"
1015
- msgstr "rem"
1016
 
1017
- #: templates/metaboxes/types/typography.php:59
1018
- #: templates/metaboxes/types/typography.php:153
1019
- #: templates/metaboxes/types/typography.php:217
1020
- msgid "Web fonts"
1021
- msgstr "Fuentes web"
1022
 
1023
- #: templates/metaboxes/types/typography.php:71
1024
- msgid "Google fonts"
1025
- msgstr "Fuentes Google"
 
1026
 
1027
- #: templates/metaboxes/types/typography.php:96
1028
- msgid "Regular"
1029
- msgstr "Normal"
1030
 
1031
- #: templates/metaboxes/types/typography.php:97
1032
- msgid "Bold"
1033
- msgstr "Negrita"
1034
 
1035
- #: templates/metaboxes/types/typography.php:98
1036
- msgid "Extra bold"
1037
- msgstr "Extra negrita"
1038
 
1039
- #: templates/metaboxes/types/typography.php:99
1040
- msgid "Italic"
1041
- msgstr "Cursiva"
1042
 
1043
- #: templates/metaboxes/types/typography.php:100
1044
- msgid "Italic bold"
1045
- msgstr "Cursiva negrita"
1046
 
1047
- #: templates/panel/sidebar/widgets/widgets.php:17
1048
- msgid "Join the club"
1049
- msgstr "Únete al club"
1050
 
1051
- #: templates/panel/sidebar/widgets/widgets.php:24
1052
- msgid "Despacho Theme - 100% FREE"
1053
- msgstr "Despacho Theme - 100% GRATIS"
1054
 
1055
- #: templates/panel/sidebar/widgets/widgets.php:28
1056
- msgid "FREE!"
1057
- msgstr "¡GRATIS!"
1058
 
1059
- #: templates/panel/sidebar/widgets/widgets.php:34
1060
- msgid "Important Links"
1061
- msgstr "Enlaces importantes"
1062
 
1063
- #: templates/panel/types/upload.php:32
1064
- msgid "Reset"
1065
- msgstr "Reinicia"
1066
 
1067
- #: templates/panel/woocommerce/woocommerce-form.php:17
1068
- msgid "Reset Defaults"
1069
- msgstr "Ajustes predeterminados"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1070
 
1071
- #~ msgid "Premium version upgrade"
1072
- #~ msgstr "Actualiza a la versión premium"
1073
 
1074
  #~ msgid "Current product is not included with your membership key"
1075
  #~ msgstr "El producto actual no está incluido en tu clave de suscripción"
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2018-08-02 16:02+0200\n"
8
+ "PO-Revision-Date: 2018-08-02 16:02+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
  "Language: es_ES\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.0.8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
+ #: lib/privacy/yit-privacy.php:24
26
+ msgctxt "Privacy Policy Guide Title"
27
+ msgid "YITH Plugins"
28
+ msgstr ""
29
+
30
+ #: lib/privacy/yit-privacy.php:59
31
+ msgctxt "Privacy Policy Content"
32
+ msgid ""
33
+ "This sample language includes the basics around what personal data your "
34
+ "store may be collecting, storing and sharing, as well as who may have access "
35
+ "to that data. Depending on what settings are enabled and which additional "
36
+ "plugins are used, the specific information shared by your store will vary. "
37
+ "We recommend consulting with a lawyer when deciding what information to "
38
+ "disclose on your privacy policy."
39
+ msgstr ""
40
+
41
+ #: lib/privacy/yit-privacy.php:63
42
+ msgctxt "Privacy Policy Content"
43
+ msgid "What we collect and store"
44
+ msgstr ""
45
+
46
+ #: lib/privacy/yit-privacy.php:66
47
+ msgctxt "Privacy Policy Content"
48
+ msgid "Who on our team has access"
49
+ msgstr ""
50
+
51
+ #: lib/privacy/yit-privacy.php:69
52
+ msgctxt "Privacy Policy Content"
53
+ msgid "What we share with others"
54
+ msgstr ""
55
+
56
+ #: lib/privacy/yit-privacy.php:72
57
+ msgctxt "Privacy Policy Content"
58
+ msgid "Payments"
59
+ msgstr ""
60
+
61
  #: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
62
  #: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
63
  #, php-format
117
  msgid "Category"
118
  msgstr "Categoría"
119
 
120
+ #: lib/yit-cpt-unlimited.php:627 templates/fields/ajax-terms.php:56
121
  msgid "Search Categories"
122
  msgstr "Buscar Categorías"
123
 
163
  msgstr "%s Ajustes"
164
 
165
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
166
+ #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:73
167
  msgid "Settings"
168
  msgstr "Ajustes"
169
 
250
  msgid "Show frontend of the %s"
251
  msgstr "Mostrar parte delantera de %s"
252
 
253
+ #: lib/yit-cpt-unlimited.php:1482 templates/fields/customtabs.php:46
254
+ #: templates/fields/customtabs.php:89
255
  msgid "Name"
256
  msgstr "Nombre"
257
 
264
  msgid "Upload multiple files"
265
  msgstr "Cargar archivos múltiples"
266
 
267
+ #: lib/yit-plugin-panel-wc.php:382
 
 
 
 
 
 
 
 
268
  msgid "The changes you have made will be lost if you leave this page."
269
  msgstr "Los cambios que has hecho se perderán si sales de esta página."
270
 
271
+ #: lib/yit-plugin-panel.php:72
272
  msgid "Plugin Settings"
273
  msgstr "Ajustes del plugin"
274
 
275
+ #: lib/yit-plugin-panel.php:330 lib/yit-plugin-panel.php:333
276
  msgid "How to install premium version"
277
  msgstr "Cómo instalar la versión premium"
278
 
279
+ #: lib/yit-plugin-panel.php:384 lib/yit-plugin-subpanel.php:155
280
  #: templates/panel/woocommerce/woocommerce-form.php:11
281
  msgid "Save Changes"
282
  msgstr "Guardar cambios"
283
 
284
+ #: lib/yit-plugin-panel.php:387 lib/yit-plugin-subpanel.php:158
285
  #: templates/panel/woocommerce/woocommerce-form.php:14
286
  msgid ""
287
  "If you continue with this action, you will reset all options in this page."
288
  msgstr ""
289
  "Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
290
 
291
+ #: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:160
292
  msgid "Reset to default"
293
  msgstr "Reiniciar a predeterminado"
294
 
295
+ #: lib/yit-plugin-panel.php:390 lib/yit-plugin-subpanel.php:161
296
  #: templates/panel/woocommerce/woocommerce-form.php:18
297
  msgid "Are you sure?"
298
  msgstr "¿Estás seguro/a?"
299
 
300
+ #: lib/yit-plugin-panel.php:524
301
  msgid ""
302
  "The element you have entered already exists. Please, enter another name."
303
  msgstr ""
304
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
305
 
306
+ #: lib/yit-plugin-panel.php:525
307
  msgid "Settings saved"
308
  msgstr "Ajustes guardados"
309
 
310
+ #: lib/yit-plugin-panel.php:526
311
  msgid "Settings reset"
312
  msgstr "Ajustes reiniciados"
313
 
314
+ #: lib/yit-plugin-panel.php:527
315
  msgid "Element deleted correctly."
316
  msgstr "Elemento borrado correctamente."
317
 
318
+ #: lib/yit-plugin-panel.php:528 lib/yit-plugin-panel.php:529
319
  msgid "Element updated correctly."
320
  msgstr "Elemento actualizado correctamente."
321
 
322
+ #: lib/yit-plugin-panel.php:530
323
  msgid "Database imported correctly."
324
  msgstr "Base de datos importada correctamente."
325
 
326
+ #: lib/yit-plugin-panel.php:531
327
  msgid "An error has occurred during import. Please try again."
328
  msgstr ""
329
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
330
 
331
+ #: lib/yit-plugin-panel.php:532
332
  msgid "The added file is not valid."
333
  msgstr "El archivo añadido no es válido."
334
 
335
+ #: lib/yit-plugin-panel.php:533
336
  msgid "Sorry, import is disabled."
337
  msgstr "Lo sentimos, la importación está deshabilitada."
338
 
339
+ #: lib/yit-plugin-panel.php:534
340
  msgid "Sorting successful."
341
  msgstr "Clasificación fue realizada con éxito."
342
 
 
 
 
 
 
 
 
343
  #: lib/yit-pointers.php:70
344
  msgid "Plugins Activated"
345
  msgstr "Plugins Activados"
346
 
347
  #: lib/yit-pointers.php:71
348
+ #, fuzzy
349
+ #| msgid ""
350
+ #| "From now on, you can find all plugin options in YIT Plugin menu.\n"
351
+ #| " For each plugin installed, "
352
+ #| "customization settings will be available as a new entry in YIT Plugin "
353
+ #| "menu."
354
  msgid ""
355
+ "From now on, you can find all plugin options in YITH Plugins menu.\n"
356
+ " Plugin customization settings will be "
357
+ "available as a new entry in YITH Plugins menu."
358
  msgstr ""
359
  "De ahora en adelante, puedes encontrar todas las opciones del plugin en el "
360
  "menú YIT Plugin.\n"
375
  msgstr "Plugins Actualizados"
376
 
377
  #: lib/yit-pointers.php:85
378
+ #, fuzzy
379
+ #| msgid ""
380
+ #| "From now on, you can find all options of your plugins in YIT Plugin "
381
+ #| "menu.\n"
382
+ #| " Any time one of our plugins is "
383
+ #| "updated, a new entry will be added to this menu.\n"
384
+ #| " For example, after the update, plugin "
385
+ #| "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
386
+ #| "Search, etc.)\n"
387
+ #| " will be moved from previous location "
388
+ #| "to YIT Plugin tab."
389
  msgid ""
390
+ "From now on, you can find the option panel of YITH plugins in YITH Plugins "
391
+ "menu.\n"
392
+ " Every time one of our plugins is added, "
393
  "a new entry will be added to this menu.\n"
394
  " For example, after the update, plugin "
395
  "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
396
  "Search, etc.)\n"
397
  " will be moved from previous location to "
398
+ "YITH Plugins tab."
399
  msgstr ""
400
  "De ahora en adelante, puedes encontrar todas las opciones de tus plugins en "
401
  "el menú YIT Plugin.\n"
407
  " se moverán de su posición anterior a la "
408
  "pestaña YIT Plugin."
409
 
410
+ #: lib/yit-upgrade.php:89
411
+ #, fuzzy
412
+ #| msgid "Unable to contact the remote server, please try again later. Thanks!"
413
+ msgid "An unexpected error occurred, please try again later. Thanks!"
414
+ msgstr ""
415
+ "No fue posible contactar con el servidor remoto, por favor, inténtalo de "
416
+ "nuevo más tarde. ¡Gracias!"
417
+
418
+ #: lib/yit-upgrade.php:184
419
  msgid "There is a new version of %plugin_name% available."
420
  msgstr "Hay una nueva versión de %plugin_name% disponible."
421
 
422
+ #: lib/yit-upgrade.php:185
423
  msgid "View version %latest% details."
424
  msgstr "Ver detalles de la %latest% versión"
425
 
426
+ #: lib/yit-upgrade.php:186
427
  msgid "Automatic update is unavailable for this plugin,"
428
  msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
429
 
430
+ #: lib/yit-upgrade.php:187
431
  msgid ""
432
  "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
433
  msgstr ""
434
  "por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
435
 
436
+ #: lib/yit-upgrade.php:188
437
  msgid "Update now."
438
  msgstr "Actualiza ahora."
439
 
440
+ #: lib/yit-upgrade.php:288
441
+ #, fuzzy
442
+ #| msgid "YIThemes Repository"
443
+ msgid "YITH Repository"
444
  msgstr "Repositorio YIThemes"
445
 
446
+ #: lib/yit-upgrade.php:322
447
  msgid "Invalid URL Provided."
448
  msgstr "La URL proporcionada no es válida."
449
 
450
+ #: lib/yit-upgrade.php:335
451
  msgid "Could not create Temporary file."
452
  msgstr "No se pudo crear un archivo temporal."
453
 
454
+ #: lib/yit-upgrade.php:495
455
+ #, fuzzy, php-format
456
+ #| msgid ""
457
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
458
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
459
+ #| "details</a>."
460
  msgid ""
461
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
462
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
463
+ "%4$s details</a>."
464
  msgstr ""
465
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
466
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
467
 
468
+ #: lib/yit-upgrade.php:497
469
+ #, fuzzy, php-format
470
+ #| msgid ""
471
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
472
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
473
+ #| "details</a>. <em>You have to activate the plugin on a single site of the "
474
+ #| "network to benefit from automatic updates.</em>"
475
  msgid ""
476
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
477
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
478
+ "%4$s details</a>. <em>You have to activate the plugin on a single site of "
479
+ "the network to benefit from automatic updates.</em>"
480
  msgstr ""
481
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
482
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
483
  "<em>Tienes que activar el plugin en un único sitio web desdela red para "
484
  "beneficiarte de las actualizaciones automáticas.</em>"
485
 
486
+ #: lib/yit-upgrade.php:499
487
+ #, fuzzy, php-format
488
+ #| msgid ""
489
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
490
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
491
+ #| "details</a>. <em>Automatic update is unavailable for this plugin, please "
492
+ #| "<a href=\"%5$s\" title=\"License activation\">activate</a> your copy of "
493
+ #| "%6s.</em>"
494
  msgid ""
495
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
496
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
497
+ "%4$s details</a>. <em>Automatic update is unavailable for this plugin, "
498
+ "please <a href=\"%5$s\" title=\"License activation\">activate</a> your copy "
499
+ "of %6s.</em>"
500
  msgstr ""
501
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
502
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
504
  "por favor <a href=\"%5$s\" title=\"License activation\">activa</a> tu copia "
505
  "de %6s.</em>"
506
 
507
+ #: lib/yit-upgrade.php:501
508
+ #, fuzzy, php-format
509
+ #| msgid ""
510
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
511
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
512
+ #| "details</a> or <a href=\"%5$s\">update now</a>."
513
  msgid ""
514
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
515
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
516
+ "%4$s details</a> or <a href=\"%5$s\">update now</a>."
517
  msgstr ""
518
  "Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
519
  "yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o "
520
  "<a href=\"%5$s\">actualizar ahora</a>."
521
 
522
+ #: lib/yit-upgrade.php:574
523
  msgid "You can't update the plugins for this site."
524
  msgstr "No puedes actualizar los plugins para este sitio web."
525
 
526
+ #: lib/yit-upgrade.php:578
527
  msgid ""
528
  "You do not have sufficient permissions to update the plugins for this site."
529
  msgstr ""
530
  "No tienes suficientes permisos para actualizar los plugins para este sitio "
531
  "web."
532
 
533
+ #: lib/yit-upgrade.php:585
534
  msgid "Update Plugin"
535
  msgstr "Actualizar Plugin"
536
 
537
+ #: licence/lib/yit-licence.php:187
538
  #, php-format
539
  msgctxt "%s = field name"
540
  msgid "%s field cannot be empty"
541
  msgstr "%s el campo no puede estar vacío"
542
 
543
+ #: licence/lib/yit-licence.php:188
544
  #, php-format
545
  msgid "%s and %s fields cannot be empty"
546
  msgstr "Los campos %s y %s no pueden estar vacíos"
547
 
548
+ #: licence/lib/yit-licence.php:189
549
  msgid "Unable to contact the remote server, please try again later. Thanks!"
550
  msgstr ""
551
  "No fue posible contactar con el servidor remoto, por favor, inténtalo de "
552
  "nuevo más tarde. ¡Gracias!"
553
 
554
+ #: licence/lib/yit-licence.php:190
555
  #: licence/templates/panel/activation/activation-panel.php:88
556
  #: licence/templates/panel/activation/activation-panel.php:166
557
  #: licence/templates/panel/activation/activation-panel.php:197
 
 
558
  msgid "Email"
559
  msgstr "Email"
560
 
561
+ #: licence/lib/yit-licence.php:191
562
  #: licence/templates/panel/activation/activation-panel.php:89
563
  #: licence/templates/panel/activation/activation-panel.php:167
564
  #: licence/templates/panel/activation/activation-panel.php:198
565
  msgid "License Key"
566
  msgstr "Clave de Licencia"
567
 
568
+ #: licence/lib/yit-licence.php:192
569
  msgid "Are you sure you want to deactivate the license for current site?"
570
  msgstr ""
571
  "¿Estás seguro/a de que quieres desactivar la licencia para el sitio web "
572
  "actual?"
573
 
574
+ #: licence/lib/yit-licence.php:678
575
  msgid "Invalid Request"
576
  msgstr "Solicitud inválida"
577
 
578
+ #: licence/lib/yit-licence.php:679
579
  msgid "Invalid license key"
580
  msgstr "Clave de solicitud inválida"
581
 
582
+ #: licence/lib/yit-licence.php:680
583
  msgid "Software has been deactivated"
584
  msgstr "El software ha sido desactivado"
585
 
586
+ #: licence/lib/yit-licence.php:681
587
  msgid "Maximum number of activations exceeded"
588
  msgstr "Se ha excedido el número máximo de solicitudes"
589
 
590
+ #: licence/lib/yit-licence.php:682
591
  msgid "Invalid instance ID"
592
  msgstr "Instancia ID inválida"
593
 
594
+ #: licence/lib/yit-licence.php:683
595
  msgid "Invalid security key"
596
  msgstr "Clave de seguridad inválida"
597
 
598
+ #: licence/lib/yit-licence.php:684
599
  msgid "License key has expired"
600
  msgstr "La clave de licencia ha caducado"
601
 
602
+ #: licence/lib/yit-licence.php:685
603
  msgid "License key has been banned"
604
  msgstr "La clave de licencia ha sido bloqueada"
605
 
606
+ #: licence/lib/yit-licence.php:686
607
  msgid "Current product is not included in your YITH Club Subscription key"
608
  msgstr ""
609
  "Producto actual no está incluido en la clave de suscripción de Club de YITH"
610
 
611
+ #: licence/lib/yit-licence.php:687
612
  msgid "Great"
613
  msgstr "Excelente"
614
 
615
+ #: licence/lib/yit-licence.php:687
616
  msgid "License successfully activated"
617
  msgstr "Licencia activada con éxito"
618
 
619
+ #: licence/lib/yit-licence.php:688
620
  msgid "License key deactivated for website"
621
  msgstr "Clave de licencia desactivada para nuestro sitio web"
622
 
640
  "tiempo. ¿Dónde la puedo encontrar?"
641
 
642
  #: licence/lib/yit-theme-licence.php:163
643
+ #, fuzzy
644
+ #| msgid ""
645
+ #| "If you have purchased one of our products before 27 January 2015, you can "
646
+ #| "benefit from support and updates (the services offered with the license)\n"
647
+ #| " until 27 January 2016 and you do not have to purchase "
648
+ #| "it again to get a new license key, because, before this date, your "
649
+ #| "license used to be activated automatically by our system.\n"
650
+ #| " After 27 January 2016, instead, if you want to "
651
+ #| "benefit from support and updates you have to buy a new license and "
652
+ #| "activate it through the license key you will be\n"
653
+ #| " provided with and that you can find in your YIThemes "
654
+ #| "account, in section \"My licenses\"."
655
  msgid ""
656
  "If you have purchased one of our products before 27 January 2015, you can "
657
  "benefit from support and updates (the services offered with the license)\n"
661
  " After 27 January 2016, instead, if you want to benefit "
662
  "from support and updates you have to buy a new license and activate it "
663
  "through the license key you will be\n"
664
+ " provided with and that you can find in your YITH "
665
  "account, in section \"My licenses\"."
666
  msgstr ""
667
  "Si has comprado uno de nuestros productos antes del 27 de enero de 2015, "
677
  "YIThemes, en la sección \"My licenses\"."
678
 
679
  #: licence/templates/panel/activation/activation-panel.php:23
680
+ #, fuzzy
681
+ #| msgid "License Activation"
682
+ msgid "YITH License Activation"
683
+ msgstr "Activación de la Licencia"
684
 
685
  #: licence/templates/panel/activation/activation-panel.php:27
686
  msgid ""
759
  msgid "Renew license"
760
  msgstr "Renovar licencia"
761
 
762
+ #: templates/fields/ajax-posts.php:57
763
+ #, fuzzy
764
+ #| msgid "Search %s"
765
+ msgid "Search Posts"
766
+ msgstr "Buscar %s"
767
+
768
+ #: templates/fields/ajax-products.php:16
769
+ #, fuzzy
770
+ #| msgid "Search for a product"
771
+ msgid "Search Product"
772
  msgstr "Buscar un producto"
773
 
774
+ #: templates/fields/customtabs.php:28
775
+ msgid "Close all"
776
+ msgstr "Cerrar todos"
777
 
778
+ #: templates/fields/customtabs.php:28
779
+ msgid "Expand all"
780
+ msgstr "Expandir todos"
781
 
782
+ #: templates/fields/customtabs.php:37 templates/fields/customtabs.php:81
783
+ msgid "Remove"
784
+ msgstr "Borrar"
785
 
786
+ #: templates/fields/customtabs.php:52 templates/fields/customtabs.php:94
787
+ msgid "Value"
788
+ msgstr "Valor"
789
 
790
+ #: templates/fields/customtabs.php:53 templates/fields/customtabs.php:95
791
+ msgid "Content of the tab. (HTML is supported)"
792
+ msgstr "Contenido de la pestaña. (HTML se soporta)"
793
 
794
+ #: templates/fields/customtabs.php:65
795
+ msgid "Add custom product tab"
796
+ msgstr "Añadir etiqueta de producto personalizado"
797
 
798
+ #: templates/fields/customtabs.php:106
799
+ msgid "Do you want to remove the custom tab?"
800
+ msgstr "¿Quieres borrar la etiqueta personalizada?"
801
 
802
+ #: templates/fields/icons.php:58
803
+ #, fuzzy
804
+ #| msgid "Reset Defaults"
805
+ msgid "Set Default"
806
+ msgstr "Ajustes predeterminados"
807
 
808
+ #: templates/fields/image-gallery.php:34 templates/fields/image-gallery.php:39
809
+ msgid "Delete image"
810
+ msgstr "Borrar imagen"
811
 
812
+ #: templates/fields/image-gallery.php:39
813
+ msgid "Add Images to Gallery"
814
+ msgstr "Añadir imágenes a la Galería"
815
+
816
+ #: templates/fields/image-gallery.php:39
817
+ msgid "Add to gallery"
818
+ msgstr "Añadir a la galería"
819
+
820
+ #: templates/fields/image-gallery.php:39
821
+ msgid "Add images"
822
+ msgstr "Añadir imágenes"
823
 
824
+ #: templates/fields/image-gallery.php:39
825
+ msgid "Delete"
826
+ msgstr "Borrar"
827
 
828
+ #: templates/fields/select-buttons.php:26
829
+ #, fuzzy
830
+ #| msgid "Select"
831
+ msgid "Select All"
832
+ msgstr "Seleciona"
833
 
834
+ #: templates/fields/select-buttons.php:33
835
+ msgid "Deselect All"
836
+ msgstr ""
 
837
 
838
+ #: templates/fields/sidebars.php:22
839
+ msgid "Left sidebar"
840
+ msgstr "Barra lateral izquierda"
841
 
842
+ #: templates/fields/sidebars.php:25
843
+ msgid "Right sidebar"
844
+ msgstr "Barra lateral derecha"
 
 
 
845
 
846
+ #: templates/fields/sidebars.php:28 templates/fields/sidebars.php:31
847
+ msgid "No sidebar"
848
+ msgstr "Sin barra lateral"
 
849
 
850
+ #: templates/fields/sidebars.php:39
851
+ msgid "Left Sidebar"
852
+ msgstr "Barra lateral izquierda"
 
853
 
854
+ #: templates/fields/sidebars.php:41 templates/fields/sidebars.php:54
855
+ msgid "Choose a sidebar"
856
+ msgstr "Elige una barra lateral"
 
857
 
858
+ #: templates/fields/sidebars.php:52
859
+ msgid "Right Sidebar"
860
+ msgstr "Barra lateral derecha"
 
861
 
862
+ #: templates/fields/upload.php:18 templates/metaboxes/types/icon-list.php:70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  #: templates/panel/woocommerce/woocommerce-upload.php:40
864
  msgid "Upload"
865
  msgstr "Actualiza"
866
 
867
+ #: templates/fields/upload.php:19
868
+ msgid "Reset"
869
+ msgstr "Reinicia"
870
+
871
+ #: templates/metaboxes/types/icon-list.php:76
872
  msgid "Image preview"
873
  msgstr "Previsualización de imagen"
874
 
875
+ #: templates/metaboxes/types/icon-list.php:90
876
+ #, php-format
877
+ msgid "(Default: %s <img src=\"%s\"/>)"
878
+ msgstr "(Por defecto: %s <img src=\"%s\"/>)"
879
 
880
+ #: templates/metaboxes/types/icon-list.php:92
881
+ #, php-format
882
+ msgid "(Default: <i %s></i> )"
883
+ msgstr "(Por defecto: <i %s></i> )"
884
 
885
+ #: templates/panel/woocommerce/woocommerce-form.php:17
886
+ msgid "Reset Defaults"
887
+ msgstr "Ajustes predeterminados"
 
888
 
889
+ #: yit-plugin.php:76
890
+ msgctxt "Plugin Row Meta"
891
+ msgid "Live Demo"
892
+ msgstr ""
893
 
894
+ #: yit-plugin.php:81
895
+ msgctxt "Plugin Row Meta"
896
+ msgid "Documentation"
897
+ msgstr ""
898
 
899
+ #: yit-plugin.php:86
900
+ msgctxt "Plugin Row Meta"
901
+ msgid "Support"
902
+ msgstr ""
903
 
904
+ #: yit-plugin.php:91
905
+ #, fuzzy
906
+ #| msgid "Premium version upgrade"
907
+ msgctxt "Plugin Row Meta"
908
+ msgid "Premium version"
909
+ msgstr "Actualiza a la versión premium"
910
+
911
+ #: yit-plugin.php:186
912
+ #, fuzzy
913
+ #| msgid "Settings"
914
+ msgctxt "Action links"
915
+ msgid "Settings"
916
+ msgstr "Ajustes"
917
 
918
+ #: yit-plugin.php:190
919
+ #, fuzzy
920
+ #| msgid "License Key"
921
+ msgid "License"
922
+ msgstr "Clave de Licencia"
923
 
924
+ #~ msgid "Hide sidebar"
925
+ #~ msgstr "Ocultar barra lateral"
 
926
 
927
+ #~ msgid "Show sidebar"
928
+ #~ msgstr "Mostrar barra lateral"
 
 
929
 
930
+ #~ msgid ""
931
+ #~ "If you continue with this action, you will reset all the options in this "
932
+ #~ "page."
933
+ #~ msgstr ""
934
+ #~ "Si continúas con esta acción, reiniciarás todas las opciones de esta "
935
+ #~ "página."
936
 
937
+ #~ msgid "Yithemes License Activation"
938
+ #~ msgstr "Licencia de Activación Yithemes"
 
 
 
 
939
 
940
+ #~ msgid "No categories."
941
+ #~ msgstr "Ninguna categoría."
 
942
 
943
+ #~ msgid "+ Add New Category"
944
+ #~ msgstr "+ Añadir Nueva Categoría"
 
945
 
946
+ #~ msgid "Add"
947
+ #~ msgstr "Añadir"
 
948
 
949
+ #~ msgid "Text Input"
950
+ #~ msgstr "Text Input"
 
951
 
952
+ #~ msgid "Checkbox"
953
+ #~ msgstr "Casilla"
 
954
 
955
+ #~ msgid "Textarea"
956
+ #~ msgstr "Área de texto"
 
957
 
958
+ #~ msgid "Radio Input"
959
+ #~ msgstr "Radio Input"
 
 
960
 
961
+ #~ msgid "Password Field"
962
+ #~ msgstr "Campo de contraseña"
 
 
 
963
 
964
+ #~ msgid "File Upload"
965
+ #~ msgstr "Carga de archivo"
 
 
966
 
967
+ #~ msgid "Theme Icon"
968
+ #~ msgstr "Icono del tema"
 
 
 
969
 
970
+ #~ msgid "Custom Icon"
971
+ #~ msgstr "Icono Personalizado"
 
972
 
973
+ #~ msgid "None"
974
+ #~ msgstr "Ninguno"
975
+
976
+ #~ msgid "Add field"
977
+ #~ msgstr "Añadir campo"
978
+
979
+ #~ msgid "Click to toggle"
980
+ #~ msgstr "Haz click para alternar"
981
+
982
+ #~ msgid "Field Title"
983
+ #~ msgstr "Campo de título"
984
+
985
+ #~ msgid "Insert the title for the field."
986
+ #~ msgstr "Inserta el título del campo."
987
 
988
+ #~ msgid "Data Name"
989
+ #~ msgstr "Nombre del dato."
 
990
 
991
+ #~ msgid ""
992
+ #~ "REQUIRED: Field identification name to be entered into email body. "
993
+ #~ "<strong>Note:</strong>Use only lowercase characters and underscores."
994
+ #~ msgstr ""
995
+ #~ "OBLIGATORIO: El nombre del campo de identificación debe introducirse en "
996
+ #~ "el cuerpo del email. <strong> Nota: </strong> Usa sólo minúsculas y "
997
+ #~ "guiones bajos."
998
 
999
+ #~ msgid "Field Type"
1000
+ #~ msgstr "Tipo de campo"
 
1001
 
1002
+ #~ msgid "Select the type for this field."
1003
+ #~ msgstr "Selecciona el tipo para este campo."
 
1004
 
1005
+ #~ msgid "Checked"
1006
+ #~ msgstr "Campo seleccionado"
 
 
 
1007
 
1008
+ #~ msgid ""
1009
+ #~ "Select this option if you want this field appears as already checked."
1010
+ #~ msgstr ""
1011
+ #~ "Selecciona esta opción si quieres que este campo aparezca como ya marcado."
1012
 
1013
+ #~ msgid "Add options "
1014
+ #~ msgstr "Añadir opciones"
 
1015
 
1016
+ #~ msgid "Add option"
1017
+ #~ msgstr "Añadir opción"
 
1018
 
1019
+ #~ msgid "Selected"
1020
+ #~ msgstr "Selecionado"
 
1021
 
1022
+ #~ msgid "Delete option"
1023
+ #~ msgstr "Borrar opción"
 
1024
 
1025
+ #~ msgid "Error Message"
1026
+ #~ msgstr "Mensaje de error"
 
1027
 
1028
+ #~ msgid "Insert the error message for validation."
1029
+ #~ msgstr "Inserta el mensaje de error para la validación."
 
1030
 
1031
+ #~ msgid "Required"
1032
+ #~ msgstr "Campo obligatorio"
 
1033
 
1034
+ #~ msgid "Select this option if it must be required."
1035
+ #~ msgstr "Selecciona esta opción si este campo debe ser obligatorio."
 
1036
 
1037
+ #~ msgid "Select this option if the email must be valid."
1038
+ #~ msgstr "Selecciona esta opción si el email debe ser válido."
 
1039
 
1040
+ #~ msgid "Reply To"
1041
+ #~ msgstr "Responder a"
 
1042
 
1043
+ #~ msgid "Select this if it is the email you can reply to."
1044
+ #~ msgstr "Selecciona si este es el email al que puedes responder."
1045
+
1046
+ #~ msgid "Class"
1047
+ #~ msgstr "Clase"
1048
+
1049
+ #~ msgid ""
1050
+ #~ "Insert additional class(es) (separated by commas) for more "
1051
+ #~ "personalization."
1052
+ #~ msgstr ""
1053
+ #~ "Inserta clase(s) adicionales (separados por comas) para más "
1054
+ #~ "personalización."
1055
+
1056
+ #~ msgid "Icon"
1057
+ #~ msgstr "Icono"
1058
+
1059
+ #~ msgid "Insert an icon for more personalization."
1060
+ #~ msgstr "Inserta un icono para más personalización"
1061
+
1062
+ #~ msgid "Width"
1063
+ #~ msgstr "Ancho"
1064
+
1065
+ #~ msgid "Set field length."
1066
+ #~ msgstr "Establecer el ancho de campo"
1067
+
1068
+ #~ msgid "Upload new images"
1069
+ #~ msgstr "Cargar nuevas imágenes"
1070
+
1071
+ #~ msgid "Are you sure you want to remove this image?"
1072
+ #~ msgstr "¿Estás seguro/a de que quieres borrar esta imagen?"
1073
+
1074
+ #~ msgid "px"
1075
+ #~ msgstr "px"
1076
+
1077
+ #~ msgid "em"
1078
+ #~ msgstr "em"
1079
+
1080
+ #~ msgid "pt"
1081
+ #~ msgstr "pt"
1082
+
1083
+ #~ msgid "rem"
1084
+ #~ msgstr "rem"
1085
+
1086
+ #~ msgid "Web fonts"
1087
+ #~ msgstr "Fuentes web"
1088
+
1089
+ #~ msgid "Google fonts"
1090
+ #~ msgstr "Fuentes Google"
1091
+
1092
+ #~ msgid "Regular"
1093
+ #~ msgstr "Normal"
1094
+
1095
+ #~ msgid "Bold"
1096
+ #~ msgstr "Negrita"
1097
+
1098
+ #~ msgid "Extra bold"
1099
+ #~ msgstr "Extra negrita"
1100
+
1101
+ #~ msgid "Italic"
1102
+ #~ msgstr "Cursiva"
1103
+
1104
+ #~ msgid "Italic bold"
1105
+ #~ msgstr "Cursiva negrita"
1106
+
1107
+ #~ msgid "Join the club"
1108
+ #~ msgstr "Únete al club"
1109
+
1110
+ #~ msgid "Despacho Theme - 100% FREE"
1111
+ #~ msgstr "Despacho Theme - 100% GRATIS"
1112
+
1113
+ #~ msgid "FREE!"
1114
+ #~ msgstr "¡GRATIS!"
1115
 
1116
+ #~ msgid "Important Links"
1117
+ #~ msgstr "Enlaces importantes"
1118
 
1119
  #~ msgid "Current product is not included with your membership key"
1120
  #~ msgstr "El producto actual no está incluido en tu clave de suscripción"
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,15 +4,15 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2016-07-06 15:16+0200\n"
8
- "PO-Revision-Date: 2016-07-06 15:17+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
11
  "Language: it_IT\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.8.8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
@@ -22,6 +22,44 @@ msgstr ""
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  #: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
26
  #: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
27
  #, php-format
@@ -81,7 +119,7 @@ msgctxt "taxonomy singular name"
81
  msgid "Category"
82
  msgstr "Categoria"
83
 
84
- #: lib/yit-cpt-unlimited.php:627
85
  msgid "Search Categories"
86
  msgstr "Cerca categorie"
87
 
@@ -127,7 +165,7 @@ msgid "%s Settings"
127
  msgstr "Impostazioni %s"
128
 
129
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
130
- #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:74
131
  msgid "Settings"
132
  msgstr "Impostazioni"
133
 
@@ -212,8 +250,8 @@ msgstr "Link rapidi"
212
  msgid "Show frontend of the %s"
213
  msgstr "Mostra front end di %s"
214
 
215
- #: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
216
- #: templates/metaboxes/types/customtabs.php:90
217
  msgid "Name"
218
  msgstr "Nome"
219
 
@@ -226,32 +264,24 @@ msgstr "Aggiungi %s dalla immagini"
226
  msgid "Upload multiple files"
227
  msgstr "Carica file multipli"
228
 
229
- #: lib/yit-plugin-panel-sidebar.php:421 templates/panel/sidebar/sidebar.php:3
230
- msgid "Hide sidebar"
231
- msgstr "Nascondi barra laterale"
232
-
233
- #: lib/yit-plugin-panel-sidebar.php:422 templates/panel/sidebar/sidebar.php:3
234
- msgid "Show sidebar"
235
- msgstr "Mostra barra laterale"
236
-
237
- #: lib/yit-plugin-panel-wc.php:374
238
  msgid "The changes you have made will be lost if you leave this page."
239
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
240
 
241
- #: lib/yit-plugin-panel.php:73
242
  msgid "Plugin Settings"
243
  msgstr "Impostazioni plugin"
244
 
245
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-panel.php:300
246
  msgid "How to install premium version"
247
  msgstr "Come installare la versione premium"
248
 
249
- #: lib/yit-plugin-panel.php:352 lib/yit-plugin-subpanel.php:146
250
  #: templates/panel/woocommerce/woocommerce-form.php:11
251
  msgid "Save Changes"
252
  msgstr "Salva modifiche"
253
 
254
- #: lib/yit-plugin-panel.php:355
255
  #: templates/panel/woocommerce/woocommerce-form.php:14
256
  msgid ""
257
  "If you continue with this action, you will reset all options in this page."
@@ -259,73 +289,71 @@ msgstr ""
259
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
260
  "reimpostate."
261
 
262
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
263
  msgid "Reset to default"
264
  msgstr "Ripristina configurazione predefinita"
265
 
266
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
267
  #: templates/panel/woocommerce/woocommerce-form.php:18
268
  msgid "Are you sure?"
269
  msgstr "Sei sicuro?"
270
 
271
- #: lib/yit-plugin-panel.php:553
272
  msgid ""
273
  "The element you have entered already exists. Please, enter another name."
274
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
275
 
276
- #: lib/yit-plugin-panel.php:554
277
  msgid "Settings saved"
278
  msgstr "Impostazioni salvate"
279
 
280
- #: lib/yit-plugin-panel.php:555
281
  msgid "Settings reset"
282
  msgstr "Impostazioni azzerate"
283
 
284
- #: lib/yit-plugin-panel.php:556
285
  msgid "Element deleted correctly."
286
  msgstr "Elemento rimosso correttamente."
287
 
288
- #: lib/yit-plugin-panel.php:557 lib/yit-plugin-panel.php:558
289
  msgid "Element updated correctly."
290
  msgstr "Elemento aggiornato correttamente."
291
 
292
- #: lib/yit-plugin-panel.php:559
293
  msgid "Database imported correctly."
294
  msgstr "Database importato correttamente."
295
 
296
- #: lib/yit-plugin-panel.php:560
297
  msgid "An error has occurred during import. Please try again."
298
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
299
 
300
- #: lib/yit-plugin-panel.php:561
301
  msgid "The added file is not valid."
302
  msgstr "Il file aggiunto non è valido."
303
 
304
- #: lib/yit-plugin-panel.php:562
305
  msgid "Sorry, import is disabled."
306
  msgstr "Ci dispiace, l'importazione è disabilitata."
307
 
308
- #: lib/yit-plugin-panel.php:563
309
  msgid "Sorting successful."
310
  msgstr "Ordinamento effettuato con successo."
311
 
312
- #: lib/yit-plugin-subpanel.php:149
313
- msgid ""
314
- "If you continue with this action, you will reset all the options in this "
315
- "page."
316
- msgstr ""
317
- "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
318
- "reimpostate."
319
-
320
  #: lib/yit-pointers.php:70
321
  msgid "Plugins Activated"
322
  msgstr "Plugin attivati"
323
 
324
  #: lib/yit-pointers.php:71
 
 
 
 
 
 
325
  msgid ""
326
- "From now on, you can find all plugin options in YIT Plugin menu.\n"
327
- " For each plugin installed, "
328
- "customization settings will be available as a new entry in YIT Plugin menu."
329
  msgstr ""
330
  "Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu Plugin "
331
  "YIT.\n"
@@ -345,15 +373,27 @@ msgid "Plugins Upgraded"
345
  msgstr "Plugin aggiornati"
346
 
347
  #: lib/yit-pointers.php:85
 
 
 
 
 
 
 
 
 
 
 
348
  msgid ""
349
- "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
350
- " Any time one of our plugins is updated, "
 
351
  "a new entry will be added to this menu.\n"
352
  " For example, after the update, plugin "
353
  "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
354
  "Search, etc.)\n"
355
  " will be moved from previous location to "
356
- "YIT Plugin tab."
357
  msgstr ""
358
  "Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu Plugin "
359
  "YIT.\n"
@@ -363,71 +403,96 @@ msgstr ""
363
  "quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
364
  "saranno trasferite nella scheda Plugin YIT."
365
 
366
- #: lib/yit-upgrade.php:135
 
 
 
 
 
 
367
  msgid "There is a new version of %plugin_name% available."
368
  msgstr "Una nuova versione di %plugin_name% è disponibile."
369
 
370
- #: lib/yit-upgrade.php:136
371
  msgid "View version %latest% details."
372
  msgstr "Visualizza i dettagli della versione %latest%."
373
 
374
- #: lib/yit-upgrade.php:137
375
  msgid "Automatic update is unavailable for this plugin,"
376
  msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
377
 
378
- #: lib/yit-upgrade.php:138
379
  msgid ""
380
  "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
381
  msgstr ""
382
  "per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
383
  "%plugin_name%."
384
 
385
- #: lib/yit-upgrade.php:139
386
  msgid "Update now."
387
  msgstr "Aggiorna adesso."
388
 
389
- #: lib/yit-upgrade.php:240
390
- msgid "YIThemes Repository"
 
 
391
  msgstr "Repository YIThemes"
392
 
393
- #: lib/yit-upgrade.php:274
394
  msgid "Invalid URL Provided."
395
  msgstr "L'URL inserito non è valido."
396
 
397
- #: lib/yit-upgrade.php:287
398
  msgid "Could not create Temporary file."
399
  msgstr "Non è stato possibile creare il file temporaneo."
400
 
401
- #: lib/yit-upgrade.php:439
402
- #, php-format
 
 
 
 
403
  msgid ""
404
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
405
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>."
 
406
  msgstr ""
407
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
408
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
409
  "%4$s</a>."
410
 
411
- #: lib/yit-upgrade.php:441
412
- #, php-format
 
 
 
 
 
413
  msgid ""
414
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
415
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
416
- "have to activate the plugin on a single site of the network to benefit from "
417
- "automatic updates.</em>"
418
  msgstr ""
419
  "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
420
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
421
  "%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
422
  "necessario attivare il plugin su un solo sito.</em>"
423
 
424
- #: lib/yit-upgrade.php:443
425
- #, php-format
 
 
 
 
 
 
426
  msgid ""
427
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
428
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
429
- "<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
430
- "title=\"License activation\">activate</a> your copy of %6s.</em>"
 
431
  msgstr ""
432
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
433
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
@@ -435,112 +500,114 @@ msgstr ""
435
  "plugin, per piacere <a href=\"%5$s\" title=\"License activation\">attivi</a> "
436
  "la sua copia di %6s.</em>"
437
 
438
- #: lib/yit-upgrade.php:445
439
- #, php-format
 
 
 
 
440
  msgid ""
441
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
442
- "yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
443
- "href=\"%5$s\">update now</a>."
444
  msgstr ""
445
  "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
446
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
447
  "%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
448
 
449
- #: lib/yit-upgrade.php:517
450
  msgid "You can't update the plugins for this site."
451
  msgstr "Non è possibile aggiornare i plugin per questo sito."
452
 
453
- #: lib/yit-upgrade.php:521
454
  msgid ""
455
  "You do not have sufficient permissions to update the plugins for this site."
456
  msgstr ""
457
  "Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
458
  "in questo sito."
459
 
460
- #: lib/yit-upgrade.php:528
461
  msgid "Update Plugin"
462
  msgstr "Aggiorna plugin"
463
 
464
- #: licence/lib/yit-licence.php:182
465
  #, php-format
466
  msgctxt "%s = field name"
467
  msgid "%s field cannot be empty"
468
  msgstr "Il campo %s non può essere vuoto"
469
 
470
- #: licence/lib/yit-licence.php:183
471
  #, php-format
472
  msgid "%s and %s fields cannot be empty"
473
  msgstr "I campi %s e %s non possono essere vuoti"
474
 
475
- #: licence/lib/yit-licence.php:184
476
  msgid "Unable to contact the remote server, please try again later. Thanks!"
477
  msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
478
 
479
- #: licence/lib/yit-licence.php:185
480
  #: licence/templates/panel/activation/activation-panel.php:88
481
  #: licence/templates/panel/activation/activation-panel.php:166
482
  #: licence/templates/panel/activation/activation-panel.php:197
483
- #: templates/metaboxes/types/contactform.php:148
484
- #: templates/metaboxes/types/contactform.php:340
485
  msgid "Email"
486
  msgstr "Email"
487
 
488
- #: licence/lib/yit-licence.php:186
489
  #: licence/templates/panel/activation/activation-panel.php:89
490
  #: licence/templates/panel/activation/activation-panel.php:167
491
  #: licence/templates/panel/activation/activation-panel.php:198
492
  msgid "License Key"
493
  msgstr "Chiave di licenza"
494
 
495
- #: licence/lib/yit-licence.php:187
496
  msgid "Are you sure you want to deactivate the license for current site?"
497
  msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
498
 
499
- #: licence/lib/yit-licence.php:667
500
  msgid "Invalid Request"
501
  msgstr "Richiesta non valida"
502
 
503
- #: licence/lib/yit-licence.php:668
504
  msgid "Invalid license key"
505
  msgstr "Chiave di licenza non valida"
506
 
507
- #: licence/lib/yit-licence.php:669
508
  msgid "Software has been deactivated"
509
  msgstr "Il software è stato disattivato"
510
 
511
- #: licence/lib/yit-licence.php:670
512
  msgid "Maximum number of activations exceeded"
513
  msgstr "Hai raggiunto il numero massimo di attivazioni"
514
 
515
- #: licence/lib/yit-licence.php:671
516
  msgid "Invalid instance ID"
517
  msgstr "Istanza ID non valida"
518
 
519
- #: licence/lib/yit-licence.php:672
520
  msgid "Invalid security key"
521
  msgstr "Chiave di sicurezza non valida"
522
 
523
- #: licence/lib/yit-licence.php:673
524
  msgid "License key has expired"
525
  msgstr "La chiave di licenza è scaduta"
526
 
527
- #: licence/lib/yit-licence.php:674
528
  msgid "License key has been banned"
529
  msgstr "La chiave di licenza è stata bloccata"
530
 
531
- #: licence/lib/yit-licence.php:675
532
  msgid "Current product is not included in your YITH Club Subscription key"
533
  msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
534
 
535
- #: licence/lib/yit-licence.php:676
536
  msgid "Great"
537
  msgstr "Grande!"
538
 
539
- #: licence/lib/yit-licence.php:676
540
  msgid "License successfully activated"
541
  msgstr "Licenza attivata con successo"
542
 
543
- #: licence/lib/yit-licence.php:677
544
  msgid "License key deactivated for website"
545
  msgstr "Chiave di licenza disattivata per il sito web"
546
 
@@ -564,6 +631,18 @@ msgstr ""
564
  "acquistato diverso tempo fa. Dove posso trovarla?"
565
 
566
  #: licence/lib/yit-theme-licence.php:163
 
 
 
 
 
 
 
 
 
 
 
 
567
  msgid ""
568
  "If you have purchased one of our products before 27 January 2015, you can "
569
  "benefit from support and updates (the services offered with the license)\n"
@@ -573,7 +652,7 @@ msgid ""
573
  " After 27 January 2016, instead, if you want to benefit "
574
  "from support and updates you have to buy a new license and activate it "
575
  "through the license key you will be\n"
576
- " provided with and that you can find in your YIThemes "
577
  "account, in section \"My licenses\"."
578
  msgstr ""
579
  "Se hai acquistato uno dei nostri prodotti prima del 27 gennaio 2015, potrai "
@@ -588,8 +667,10 @@ msgstr ""
588
  "sezione \"My licenses\"."
589
 
590
  #: licence/templates/panel/activation/activation-panel.php:23
591
- msgid "Yithemes License Activation"
592
- msgstr "Attivazione licenza YIThemes"
 
 
593
 
594
  #: licence/templates/panel/activation/activation-panel.php:27
595
  msgid ""
@@ -670,399 +751,362 @@ msgstr "Acquista di nuovo"
670
  msgid "Renew license"
671
  msgstr "Rinnova la licenza"
672
 
673
- #: templates/metaboxes/types/ajax-products.php:23
674
- msgid "Search for a product"
 
 
 
 
 
 
 
 
675
  msgstr "Cerca un prodotto"
676
 
677
- #: templates/metaboxes/types/categories.php:36
678
- msgid "No categories."
679
- msgstr "Nessuna categoria"
680
 
681
- #: templates/metaboxes/types/categories.php:42
682
- msgid "+ Add New Category"
683
- msgstr "+ Aggiungi nuova categoria"
684
 
685
- #: templates/metaboxes/types/categories.php:46
686
- msgid "Add"
687
- msgstr "Aggiungi"
688
 
689
- #: templates/metaboxes/types/contactform.php:7
690
- msgid "Text Input"
691
- msgstr "Text input"
692
 
693
- #: templates/metaboxes/types/contactform.php:8
694
- msgid "Checkbox"
695
- msgstr "Checkbox"
696
 
697
- #: templates/metaboxes/types/contactform.php:9
698
- msgid "Select"
699
- msgstr "Select"
700
 
701
- #: templates/metaboxes/types/contactform.php:10
702
- msgid "Textarea"
703
- msgstr "Textarea"
704
 
705
- #: templates/metaboxes/types/contactform.php:11
706
- msgid "Radio Input"
707
- msgstr "Radio input"
 
 
 
 
 
 
708
 
709
- #: templates/metaboxes/types/contactform.php:12
710
- msgid "Password Field"
711
- msgstr "Campo password"
712
 
713
- #: templates/metaboxes/types/contactform.php:13
714
- msgid "File Upload"
715
- msgstr "Carica file"
 
 
 
 
716
 
717
- #: templates/metaboxes/types/contactform.php:47
718
- msgid "Theme Icon"
719
- msgstr "Icona tema"
720
 
721
- #: templates/metaboxes/types/contactform.php:48
722
- msgid "Custom Icon"
723
- msgstr "Icona personalizzata"
 
 
724
 
725
- #: templates/metaboxes/types/contactform.php:49
726
- #: templates/metaboxes/types/responsivesliders.php:24
727
- msgid "None"
728
- msgstr "Nessuno"
729
 
730
- #: templates/metaboxes/types/contactform.php:60
731
- msgid "Add field"
732
- msgstr "Aggiungi campo"
733
 
734
- #: templates/metaboxes/types/contactform.php:69
735
- #: templates/metaboxes/types/contactform.php:261
736
- #: templates/metaboxes/types/customtabs.php:37
737
- #: templates/metaboxes/types/customtabs.php:82
738
- msgid "Remove"
739
- msgstr "Rimuovi"
740
 
741
- #: templates/metaboxes/types/contactform.php:70
742
- #: templates/metaboxes/types/contactform.php:262
743
- msgid "Click to toggle"
744
- msgstr "Fai clic per aprire/chiudere"
745
 
746
- #: templates/metaboxes/types/contactform.php:77
747
- #: templates/metaboxes/types/contactform.php:269
748
- msgid "Field Title"
749
- msgstr "Titolo campo"
750
 
751
- #: templates/metaboxes/types/contactform.php:81
752
- #: templates/metaboxes/types/contactform.php:273
753
- msgid "Insert the title for the field."
754
- msgstr "Inserisci il titolo per il campo"
755
 
756
- #: templates/metaboxes/types/contactform.php:86
757
- #: templates/metaboxes/types/contactform.php:278
758
- msgid "Data Name"
759
- msgstr "Nome dati"
760
 
761
- #: templates/metaboxes/types/contactform.php:90
762
- #: templates/metaboxes/types/contactform.php:282
763
- msgid ""
764
- "REQUIRED: Field identification name to be entered into email body. "
765
- "<strong>Note:</strong>Use only lowercase characters and underscores."
766
- msgstr ""
767
- "RICHIESTO: Nome identificativo del campo da inserire nel corpo dell'email. "
768
- "<strong>Nota:</strong>Puoi utilizzare solamente caratteri minuscoli e "
769
- "underscore."
770
-
771
- #: templates/metaboxes/types/contactform.php:95
772
- #: templates/metaboxes/types/contactform.php:287
773
- msgid "Field Type"
774
- msgstr "Tipologia campo"
775
-
776
- #: templates/metaboxes/types/contactform.php:103
777
- #: templates/metaboxes/types/contactform.php:295
778
- msgid "Select the type for this field."
779
- msgstr "Seleziona il tipo di campo."
780
-
781
- #: templates/metaboxes/types/contactform.php:108
782
- #: templates/metaboxes/types/contactform.php:300
783
- msgid "Checked"
784
- msgstr "Selezionato"
785
-
786
- #: templates/metaboxes/types/contactform.php:112
787
- #: templates/metaboxes/types/contactform.php:304
788
- msgid "Select this option if you want this field appears as already checked."
789
- msgstr "Seleziona questa opzione se vuoi che il campo appaia già selezionato."
790
-
791
- #: templates/metaboxes/types/contactform.php:117
792
- #: templates/metaboxes/types/contactform.php:309
793
- msgid "Add options "
794
- msgstr "Aggiungi opzioni"
795
-
796
- #: templates/metaboxes/types/contactform.php:118
797
- #: templates/metaboxes/types/contactform.php:310
798
- msgid "Add option"
799
- msgstr "Aggiungi opzione"
800
-
801
- #: templates/metaboxes/types/contactform.php:121
802
- #: templates/metaboxes/types/contactform.php:313
803
- #: templates/metaboxes/types/contactform.php:436
804
- msgid "Selected"
805
- msgstr "Selezionato"
806
-
807
- #: templates/metaboxes/types/contactform.php:124
808
- #: templates/metaboxes/types/contactform.php:316
809
- #: templates/metaboxes/types/contactform.php:436
810
- msgid "Delete option"
811
- msgstr "Cancella opzione"
812
-
813
- #: templates/metaboxes/types/contactform.php:130
814
- #: templates/metaboxes/types/contactform.php:322
815
- msgid "Error Message"
816
- msgstr "Messaggio di errore"
817
-
818
- #: templates/metaboxes/types/contactform.php:134
819
- #: templates/metaboxes/types/contactform.php:326
820
- msgid "Insert the error message for validation."
821
- msgstr "Inserisci il messaggio di errore per la validazione"
822
-
823
- #: templates/metaboxes/types/contactform.php:139
824
- #: templates/metaboxes/types/contactform.php:331
825
- msgid "Required"
826
- msgstr "Obbligatorio"
827
-
828
- #: templates/metaboxes/types/contactform.php:143
829
- #: templates/metaboxes/types/contactform.php:335
830
- msgid "Select this option if it must be required."
831
- msgstr "Seleziona questa opzione se deve essere obbligatoria."
832
-
833
- #: templates/metaboxes/types/contactform.php:152
834
- #: templates/metaboxes/types/contactform.php:344
835
- msgid "Select this option if the email must be valid."
836
- msgstr "Seleziona questa opzione se l'email inserita deve essere esistente."
837
-
838
- #: templates/metaboxes/types/contactform.php:157
839
- #: templates/metaboxes/types/contactform.php:349
840
- msgid "Reply To"
841
- msgstr "Rispondi a"
842
-
843
- #: templates/metaboxes/types/contactform.php:161
844
- #: templates/metaboxes/types/contactform.php:353
845
- msgid "Select this if it is the email you can reply to."
846
- msgstr "Seleziona questo se è l'email a cui poter rispondere. "
847
-
848
- #: templates/metaboxes/types/contactform.php:166
849
- #: templates/metaboxes/types/contactform.php:358
850
- msgid "Class"
851
- msgstr "Classe"
852
-
853
- #: templates/metaboxes/types/contactform.php:170
854
- #: templates/metaboxes/types/contactform.php:362
855
- msgid ""
856
- "Insert additional class(es) (separated by commas) for more personalization."
857
- msgstr ""
858
- "Inserisci una o più classi (separate da virgole) per una ulteriore "
859
- "personalizzazione."
860
-
861
- #: templates/metaboxes/types/contactform.php:175
862
- #: templates/metaboxes/types/contactform.php:367
863
- msgid "Icon"
864
- msgstr "Icona"
865
-
866
- #: templates/metaboxes/types/contactform.php:203
867
- #: templates/metaboxes/types/contactform.php:391
868
- #: templates/metaboxes/types/icon-list.php:69
869
- #: templates/metaboxes/types/select-icon.php:33
870
- #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
871
  #: templates/panel/woocommerce/woocommerce-upload.php:40
872
  msgid "Upload"
873
  msgstr "Carica"
874
 
875
- #: templates/metaboxes/types/contactform.php:209
876
- #: templates/metaboxes/types/contactform.php:397
877
- #: templates/metaboxes/types/icon-list.php:75
878
- #: templates/metaboxes/types/select-icon.php:39
 
879
  msgid "Image preview"
880
  msgstr "Anteprima immagine"
881
 
882
- #: templates/metaboxes/types/contactform.php:217
883
- #: templates/metaboxes/types/contactform.php:405
884
- msgid "Insert an icon for more personalization."
885
- msgstr "Inserisci un'icona per ulteriore personalizzazione."
886
 
887
- #: templates/metaboxes/types/contactform.php:222
888
- #: templates/metaboxes/types/contactform.php:409
889
- msgid "Width"
890
- msgstr "Larghezza"
891
 
892
- #: templates/metaboxes/types/contactform.php:247
893
- #: templates/metaboxes/types/contactform.php:421
894
- msgid "Set field length."
895
- msgstr "Seleziona lunghezza campo."
896
 
897
- #: templates/metaboxes/types/customtabs.php:28
898
- msgid "Close all"
899
- msgstr "Chiudi tutti"
 
900
 
901
- #: templates/metaboxes/types/customtabs.php:28
902
- msgid "Expand all"
903
- msgstr "Espandi tutti"
 
904
 
905
- #: templates/metaboxes/types/customtabs.php:52
906
- #: templates/metaboxes/types/customtabs.php:95
907
- msgid "Value"
908
- msgstr "Valore"
909
 
910
- #: templates/metaboxes/types/customtabs.php:53
911
- #: templates/metaboxes/types/customtabs.php:96
912
- msgid "Content of the tab. (HTML is supported)"
913
- msgstr "Contenuto della scheda (codice HTML supportato)."
 
 
 
 
 
 
 
 
 
914
 
915
- #: templates/metaboxes/types/customtabs.php:65
916
- msgid "Add custom product tab"
917
- msgstr "Aggiungi scheda prodotto personalizzata"
 
 
918
 
919
- #: templates/metaboxes/types/customtabs.php:107
920
- msgid "Do you want to remove the custom tab?"
921
- msgstr "Vuoi rimuovere la scheda personalizzata?"
922
 
923
- #: templates/metaboxes/types/icon-list.php:89
924
- #, php-format
925
- msgid "(Default: %s <img src=\"%s\"/>)"
926
- msgstr "(Default: %s <img src=\"%s\"/>)"
927
 
928
- #: templates/metaboxes/types/icon-list.php:91
929
- #, php-format
930
- msgid "(Default: <i %s></i> )"
931
- msgstr "(Default: <i %s></i> )"
 
 
932
 
933
- #: templates/metaboxes/types/image-gallery.php:40
934
- #: templates/metaboxes/types/image-gallery.php:45
935
- #: templates/metaboxes/types/images.php:38
936
- #: templates/metaboxes/types/images.php:64
937
- msgid "Delete image"
938
- msgstr "Rimuovi immagine"
939
 
940
- #: templates/metaboxes/types/image-gallery.php:45
941
- msgid "Add Images to Gallery"
942
- msgstr "Aggiungi immagini alla galleria"
943
 
944
- #: templates/metaboxes/types/image-gallery.php:45
945
- msgid "Add to gallery"
946
- msgstr "Aggiungi alla galleria"
947
 
948
- #: templates/metaboxes/types/image-gallery.php:45
949
- msgid "Add images"
950
- msgstr "Aggiungi immagini"
951
 
952
- #: templates/metaboxes/types/image-gallery.php:45
953
- msgid "Delete"
954
- msgstr "Rimuovi"
955
 
956
- #: templates/metaboxes/types/images.php:42
957
- msgid "Upload new images"
958
- msgstr "Carica nuove immagini"
959
 
960
- #: templates/metaboxes/types/images.php:75
961
- msgid "Are you sure you want to remove this image?"
962
- msgstr "Confermi di voler rimuovere questa immagine?"
963
 
964
- #: templates/metaboxes/types/sidebar-layout.php:25
965
- #: templates/metaboxes/types/sidebars.php:36
966
- msgid "Left sidebar"
967
- msgstr "Barra laterale sinistra"
968
 
969
- #: templates/metaboxes/types/sidebar-layout.php:28
970
- #: templates/metaboxes/types/sidebars.php:42
971
- #: templates/metaboxes/types/sidebars.php:45
972
- msgid "No sidebar"
973
- msgstr "Nessuna barra laterale"
974
 
975
- #: templates/metaboxes/types/sidebar-layout.php:31
976
- #: templates/metaboxes/types/sidebars.php:39
977
- msgid "Right sidebar"
978
- msgstr "Barra laterale destra"
979
 
980
- #: templates/metaboxes/types/sidebar-layout.php:34
981
- #: templates/metaboxes/types/sidebars.php:53
982
- #: templates/metaboxes/types/sidebars.php:64
983
- msgid "Choose a sidebar"
984
- msgstr "Scegli una barra laterale"
985
 
986
- #: templates/metaboxes/types/sidebars.php:51
987
- msgid "Left Sidebar"
988
- msgstr "Barra laterale sinistra"
989
 
990
- #: templates/metaboxes/types/sidebars.php:62
991
- msgid "Right Sidebar"
992
- msgstr "Barra laterale destra"
993
 
994
- #: templates/metaboxes/types/typography.php:42
995
- msgid "px"
996
- msgstr "px"
997
 
998
- #: templates/metaboxes/types/typography.php:43
999
- msgid "em"
1000
- msgstr "em"
1001
 
1002
- #: templates/metaboxes/types/typography.php:44
1003
- msgid "pt"
1004
- msgstr "pt"
1005
 
1006
- #: templates/metaboxes/types/typography.php:45
1007
- msgid "rem"
1008
- msgstr "rem"
1009
 
1010
- #: templates/metaboxes/types/typography.php:59
1011
- #: templates/metaboxes/types/typography.php:153
1012
- #: templates/metaboxes/types/typography.php:217
1013
- msgid "Web fonts"
1014
- msgstr "Web fonts"
1015
 
1016
- #: templates/metaboxes/types/typography.php:71
1017
- msgid "Google fonts"
1018
- msgstr "Google fonts"
 
 
 
 
1019
 
1020
- #: templates/metaboxes/types/typography.php:96
1021
- msgid "Regular"
1022
- msgstr "Normale"
1023
 
1024
- #: templates/metaboxes/types/typography.php:97
1025
- msgid "Bold"
1026
- msgstr "Grassetto"
1027
 
1028
- #: templates/metaboxes/types/typography.php:98
1029
- msgid "Extra bold"
1030
- msgstr "Extra bold"
1031
 
1032
- #: templates/metaboxes/types/typography.php:99
1033
- msgid "Italic"
1034
- msgstr "Corsivo"
 
1035
 
1036
- #: templates/metaboxes/types/typography.php:100
1037
- msgid "Italic bold"
1038
- msgstr "Grassetto corsivo"
1039
 
1040
- #: templates/panel/sidebar/widgets/widgets.php:17
1041
- msgid "Join the club"
1042
- msgstr "Iscriviti al Club"
1043
 
1044
- #: templates/panel/sidebar/widgets/widgets.php:24
1045
- msgid "Despacho Theme - 100% FREE"
1046
- msgstr "Despacho Theme - 100% GRATUITO"
1047
 
1048
- #: templates/panel/sidebar/widgets/widgets.php:28
1049
- msgid "FREE!"
1050
- msgstr "GRATIS!"
1051
 
1052
- #: templates/panel/sidebar/widgets/widgets.php:34
1053
- msgid "Important Links"
1054
- msgstr "Link importanti"
1055
 
1056
- #: templates/panel/types/upload.php:32
1057
- msgid "Reset"
1058
- msgstr "Ripristina"
1059
 
1060
- #: templates/panel/woocommerce/woocommerce-form.php:17
1061
- msgid "Reset Defaults"
1062
- msgstr "Ripristina impostazioni iniziali"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1063
 
1064
- #~ msgid "Premium version upgrade"
1065
- #~ msgstr "Aggiorna alla versione PREMIUM"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1066
 
1067
  #~ msgid ""
1068
  #~ "Have you purchased the premium version of a plugin? Don't you know how to "
@@ -1169,9 +1213,6 @@ msgstr "Ripristina impostazioni iniziali"
1169
  #~ "facilmente recuperarla dalla sezione \"My Licenses\" all'interno della "
1170
  #~ "sezione My Account del nostro sito yithemes.com."
1171
 
1172
- #~ msgid "YITH Plugins"
1173
- #~ msgstr "YITH Plugins"
1174
-
1175
  #~ msgid ""
1176
  #~ "The last step is the activation of the plugin through its license key you "
1177
  #~ "received after the purchase. Click on \"License Activation\" that you "
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2018-08-02 16:02+0200\n"
8
+ "PO-Revision-Date: 2018-08-02 16:02+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
11
  "Language: it_IT\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.0.8\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
+ #: lib/privacy/yit-privacy.php:24
26
+ #, fuzzy
27
+ #| msgid "YITH Plugins"
28
+ msgctxt "Privacy Policy Guide Title"
29
+ msgid "YITH Plugins"
30
+ msgstr "YITH Plugins"
31
+
32
+ #: lib/privacy/yit-privacy.php:59
33
+ msgctxt "Privacy Policy Content"
34
+ msgid ""
35
+ "This sample language includes the basics around what personal data your "
36
+ "store may be collecting, storing and sharing, as well as who may have access "
37
+ "to that data. Depending on what settings are enabled and which additional "
38
+ "plugins are used, the specific information shared by your store will vary. "
39
+ "We recommend consulting with a lawyer when deciding what information to "
40
+ "disclose on your privacy policy."
41
+ msgstr ""
42
+
43
+ #: lib/privacy/yit-privacy.php:63
44
+ msgctxt "Privacy Policy Content"
45
+ msgid "What we collect and store"
46
+ msgstr ""
47
+
48
+ #: lib/privacy/yit-privacy.php:66
49
+ msgctxt "Privacy Policy Content"
50
+ msgid "Who on our team has access"
51
+ msgstr ""
52
+
53
+ #: lib/privacy/yit-privacy.php:69
54
+ msgctxt "Privacy Policy Content"
55
+ msgid "What we share with others"
56
+ msgstr ""
57
+
58
+ #: lib/privacy/yit-privacy.php:72
59
+ msgctxt "Privacy Policy Content"
60
+ msgid "Payments"
61
+ msgstr ""
62
+
63
  #: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
64
  #: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
65
  #, php-format
119
  msgid "Category"
120
  msgstr "Categoria"
121
 
122
+ #: lib/yit-cpt-unlimited.php:627 templates/fields/ajax-terms.php:56
123
  msgid "Search Categories"
124
  msgstr "Cerca categorie"
125
 
165
  msgstr "Impostazioni %s"
166
 
167
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
168
+ #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:73
169
  msgid "Settings"
170
  msgstr "Impostazioni"
171
 
250
  msgid "Show frontend of the %s"
251
  msgstr "Mostra front end di %s"
252
 
253
+ #: lib/yit-cpt-unlimited.php:1482 templates/fields/customtabs.php:46
254
+ #: templates/fields/customtabs.php:89
255
  msgid "Name"
256
  msgstr "Nome"
257
 
264
  msgid "Upload multiple files"
265
  msgstr "Carica file multipli"
266
 
267
+ #: lib/yit-plugin-panel-wc.php:382
 
 
 
 
 
 
 
 
268
  msgid "The changes you have made will be lost if you leave this page."
269
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
270
 
271
+ #: lib/yit-plugin-panel.php:72
272
  msgid "Plugin Settings"
273
  msgstr "Impostazioni plugin"
274
 
275
+ #: lib/yit-plugin-panel.php:330 lib/yit-plugin-panel.php:333
276
  msgid "How to install premium version"
277
  msgstr "Come installare la versione premium"
278
 
279
+ #: lib/yit-plugin-panel.php:384 lib/yit-plugin-subpanel.php:155
280
  #: templates/panel/woocommerce/woocommerce-form.php:11
281
  msgid "Save Changes"
282
  msgstr "Salva modifiche"
283
 
284
+ #: lib/yit-plugin-panel.php:387 lib/yit-plugin-subpanel.php:158
285
  #: templates/panel/woocommerce/woocommerce-form.php:14
286
  msgid ""
287
  "If you continue with this action, you will reset all options in this page."
289
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
290
  "reimpostate."
291
 
292
+ #: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:160
293
  msgid "Reset to default"
294
  msgstr "Ripristina configurazione predefinita"
295
 
296
+ #: lib/yit-plugin-panel.php:390 lib/yit-plugin-subpanel.php:161
297
  #: templates/panel/woocommerce/woocommerce-form.php:18
298
  msgid "Are you sure?"
299
  msgstr "Sei sicuro?"
300
 
301
+ #: lib/yit-plugin-panel.php:524
302
  msgid ""
303
  "The element you have entered already exists. Please, enter another name."
304
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
305
 
306
+ #: lib/yit-plugin-panel.php:525
307
  msgid "Settings saved"
308
  msgstr "Impostazioni salvate"
309
 
310
+ #: lib/yit-plugin-panel.php:526
311
  msgid "Settings reset"
312
  msgstr "Impostazioni azzerate"
313
 
314
+ #: lib/yit-plugin-panel.php:527
315
  msgid "Element deleted correctly."
316
  msgstr "Elemento rimosso correttamente."
317
 
318
+ #: lib/yit-plugin-panel.php:528 lib/yit-plugin-panel.php:529
319
  msgid "Element updated correctly."
320
  msgstr "Elemento aggiornato correttamente."
321
 
322
+ #: lib/yit-plugin-panel.php:530
323
  msgid "Database imported correctly."
324
  msgstr "Database importato correttamente."
325
 
326
+ #: lib/yit-plugin-panel.php:531
327
  msgid "An error has occurred during import. Please try again."
328
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
329
 
330
+ #: lib/yit-plugin-panel.php:532
331
  msgid "The added file is not valid."
332
  msgstr "Il file aggiunto non è valido."
333
 
334
+ #: lib/yit-plugin-panel.php:533
335
  msgid "Sorry, import is disabled."
336
  msgstr "Ci dispiace, l'importazione è disabilitata."
337
 
338
+ #: lib/yit-plugin-panel.php:534
339
  msgid "Sorting successful."
340
  msgstr "Ordinamento effettuato con successo."
341
 
 
 
 
 
 
 
 
 
342
  #: lib/yit-pointers.php:70
343
  msgid "Plugins Activated"
344
  msgstr "Plugin attivati"
345
 
346
  #: lib/yit-pointers.php:71
347
+ #, fuzzy
348
+ #| msgid ""
349
+ #| "From now on, you can find all plugin options in YIT Plugin menu.\n"
350
+ #| " For each plugin installed, "
351
+ #| "customization settings will be available as a new entry in YIT Plugin "
352
+ #| "menu."
353
  msgid ""
354
+ "From now on, you can find all plugin options in YITH Plugins menu.\n"
355
+ " Plugin customization settings will be "
356
+ "available as a new entry in YITH Plugins menu."
357
  msgstr ""
358
  "Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu Plugin "
359
  "YIT.\n"
373
  msgstr "Plugin aggiornati"
374
 
375
  #: lib/yit-pointers.php:85
376
+ #, fuzzy
377
+ #| msgid ""
378
+ #| "From now on, you can find all options of your plugins in YIT Plugin "
379
+ #| "menu.\n"
380
+ #| " Any time one of our plugins is "
381
+ #| "updated, a new entry will be added to this menu.\n"
382
+ #| " For example, after the update, plugin "
383
+ #| "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
384
+ #| "Search, etc.)\n"
385
+ #| " will be moved from previous location "
386
+ #| "to YIT Plugin tab."
387
  msgid ""
388
+ "From now on, you can find the option panel of YITH plugins in YITH Plugins "
389
+ "menu.\n"
390
+ " Every time one of our plugins is added, "
391
  "a new entry will be added to this menu.\n"
392
  " For example, after the update, plugin "
393
  "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
394
  "Search, etc.)\n"
395
  " will be moved from previous location to "
396
+ "YITH Plugins tab."
397
  msgstr ""
398
  "Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu Plugin "
399
  "YIT.\n"
403
  "quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
404
  "saranno trasferite nella scheda Plugin YIT."
405
 
406
+ #: lib/yit-upgrade.php:89
407
+ #, fuzzy
408
+ #| msgid "Unable to contact the remote server, please try again later. Thanks!"
409
+ msgid "An unexpected error occurred, please try again later. Thanks!"
410
+ msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
411
+
412
+ #: lib/yit-upgrade.php:184
413
  msgid "There is a new version of %plugin_name% available."
414
  msgstr "Una nuova versione di %plugin_name% è disponibile."
415
 
416
+ #: lib/yit-upgrade.php:185
417
  msgid "View version %latest% details."
418
  msgstr "Visualizza i dettagli della versione %latest%."
419
 
420
+ #: lib/yit-upgrade.php:186
421
  msgid "Automatic update is unavailable for this plugin,"
422
  msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
423
 
424
+ #: lib/yit-upgrade.php:187
425
  msgid ""
426
  "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
427
  msgstr ""
428
  "per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
429
  "%plugin_name%."
430
 
431
+ #: lib/yit-upgrade.php:188
432
  msgid "Update now."
433
  msgstr "Aggiorna adesso."
434
 
435
+ #: lib/yit-upgrade.php:288
436
+ #, fuzzy
437
+ #| msgid "YIThemes Repository"
438
+ msgid "YITH Repository"
439
  msgstr "Repository YIThemes"
440
 
441
+ #: lib/yit-upgrade.php:322
442
  msgid "Invalid URL Provided."
443
  msgstr "L'URL inserito non è valido."
444
 
445
+ #: lib/yit-upgrade.php:335
446
  msgid "Could not create Temporary file."
447
  msgstr "Non è stato possibile creare il file temporaneo."
448
 
449
+ #: lib/yit-upgrade.php:495
450
+ #, fuzzy, php-format
451
+ #| msgid ""
452
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
453
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
454
+ #| "details</a>."
455
  msgid ""
456
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
457
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
458
+ "%4$s details</a>."
459
  msgstr ""
460
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
461
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
462
  "%4$s</a>."
463
 
464
+ #: lib/yit-upgrade.php:497
465
+ #, fuzzy, php-format
466
+ #| msgid ""
467
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
468
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
469
+ #| "details</a>. <em>You have to activate the plugin on a single site of the "
470
+ #| "network to benefit from automatic updates.</em>"
471
  msgid ""
472
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
473
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
474
+ "%4$s details</a>. <em>You have to activate the plugin on a single site of "
475
+ "the network to benefit from automatic updates.</em>"
476
  msgstr ""
477
  "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
478
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
479
  "%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
480
  "necessario attivare il plugin su un solo sito.</em>"
481
 
482
+ #: lib/yit-upgrade.php:499
483
+ #, fuzzy, php-format
484
+ #| msgid ""
485
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
486
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
487
+ #| "details</a>. <em>Automatic update is unavailable for this plugin, please "
488
+ #| "<a href=\"%5$s\" title=\"License activation\">activate</a> your copy of "
489
+ #| "%6s.</em>"
490
  msgid ""
491
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
492
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
493
+ "%4$s details</a>. <em>Automatic update is unavailable for this plugin, "
494
+ "please <a href=\"%5$s\" title=\"License activation\">activate</a> your copy "
495
+ "of %6s.</em>"
496
  msgstr ""
497
  "È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
498
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
500
  "plugin, per piacere <a href=\"%5$s\" title=\"License activation\">attivi</a> "
501
  "la sua copia di %6s.</em>"
502
 
503
+ #: lib/yit-upgrade.php:501
504
+ #, fuzzy, php-format
505
+ #| msgid ""
506
+ #| "There is a new version of %1$s available. <a href=\"%2$s\" class="
507
+ #| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
508
+ #| "details</a> or <a href=\"%5$s\">update now</a>."
509
  msgid ""
510
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
511
+ "yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
512
+ "%4$s details</a> or <a href=\"%5$s\">update now</a>."
513
  msgstr ""
514
  "È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
515
  "yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
516
  "%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
517
 
518
+ #: lib/yit-upgrade.php:574
519
  msgid "You can't update the plugins for this site."
520
  msgstr "Non è possibile aggiornare i plugin per questo sito."
521
 
522
+ #: lib/yit-upgrade.php:578
523
  msgid ""
524
  "You do not have sufficient permissions to update the plugins for this site."
525
  msgstr ""
526
  "Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
527
  "in questo sito."
528
 
529
+ #: lib/yit-upgrade.php:585
530
  msgid "Update Plugin"
531
  msgstr "Aggiorna plugin"
532
 
533
+ #: licence/lib/yit-licence.php:187
534
  #, php-format
535
  msgctxt "%s = field name"
536
  msgid "%s field cannot be empty"
537
  msgstr "Il campo %s non può essere vuoto"
538
 
539
+ #: licence/lib/yit-licence.php:188
540
  #, php-format
541
  msgid "%s and %s fields cannot be empty"
542
  msgstr "I campi %s e %s non possono essere vuoti"
543
 
544
+ #: licence/lib/yit-licence.php:189
545
  msgid "Unable to contact the remote server, please try again later. Thanks!"
546
  msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
547
 
548
+ #: licence/lib/yit-licence.php:190
549
  #: licence/templates/panel/activation/activation-panel.php:88
550
  #: licence/templates/panel/activation/activation-panel.php:166
551
  #: licence/templates/panel/activation/activation-panel.php:197
 
 
552
  msgid "Email"
553
  msgstr "Email"
554
 
555
+ #: licence/lib/yit-licence.php:191
556
  #: licence/templates/panel/activation/activation-panel.php:89
557
  #: licence/templates/panel/activation/activation-panel.php:167
558
  #: licence/templates/panel/activation/activation-panel.php:198
559
  msgid "License Key"
560
  msgstr "Chiave di licenza"
561
 
562
+ #: licence/lib/yit-licence.php:192
563
  msgid "Are you sure you want to deactivate the license for current site?"
564
  msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
565
 
566
+ #: licence/lib/yit-licence.php:678
567
  msgid "Invalid Request"
568
  msgstr "Richiesta non valida"
569
 
570
+ #: licence/lib/yit-licence.php:679
571
  msgid "Invalid license key"
572
  msgstr "Chiave di licenza non valida"
573
 
574
+ #: licence/lib/yit-licence.php:680
575
  msgid "Software has been deactivated"
576
  msgstr "Il software è stato disattivato"
577
 
578
+ #: licence/lib/yit-licence.php:681
579
  msgid "Maximum number of activations exceeded"
580
  msgstr "Hai raggiunto il numero massimo di attivazioni"
581
 
582
+ #: licence/lib/yit-licence.php:682
583
  msgid "Invalid instance ID"
584
  msgstr "Istanza ID non valida"
585
 
586
+ #: licence/lib/yit-licence.php:683
587
  msgid "Invalid security key"
588
  msgstr "Chiave di sicurezza non valida"
589
 
590
+ #: licence/lib/yit-licence.php:684
591
  msgid "License key has expired"
592
  msgstr "La chiave di licenza è scaduta"
593
 
594
+ #: licence/lib/yit-licence.php:685
595
  msgid "License key has been banned"
596
  msgstr "La chiave di licenza è stata bloccata"
597
 
598
+ #: licence/lib/yit-licence.php:686
599
  msgid "Current product is not included in your YITH Club Subscription key"
600
  msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
601
 
602
+ #: licence/lib/yit-licence.php:687
603
  msgid "Great"
604
  msgstr "Grande!"
605
 
606
+ #: licence/lib/yit-licence.php:687
607
  msgid "License successfully activated"
608
  msgstr "Licenza attivata con successo"
609
 
610
+ #: licence/lib/yit-licence.php:688
611
  msgid "License key deactivated for website"
612
  msgstr "Chiave di licenza disattivata per il sito web"
613
 
631
  "acquistato diverso tempo fa. Dove posso trovarla?"
632
 
633
  #: licence/lib/yit-theme-licence.php:163
634
+ #, fuzzy
635
+ #| msgid ""
636
+ #| "If you have purchased one of our products before 27 January 2015, you can "
637
+ #| "benefit from support and updates (the services offered with the license)\n"
638
+ #| " until 27 January 2016 and you do not have to purchase "
639
+ #| "it again to get a new license key, because, before this date, your "
640
+ #| "license used to be activated automatically by our system.\n"
641
+ #| " After 27 January 2016, instead, if you want to "
642
+ #| "benefit from support and updates you have to buy a new license and "
643
+ #| "activate it through the license key you will be\n"
644
+ #| " provided with and that you can find in your YIThemes "
645
+ #| "account, in section \"My licenses\"."
646
  msgid ""
647
  "If you have purchased one of our products before 27 January 2015, you can "
648
  "benefit from support and updates (the services offered with the license)\n"
652
  " After 27 January 2016, instead, if you want to benefit "
653
  "from support and updates you have to buy a new license and activate it "
654
  "through the license key you will be\n"
655
+ " provided with and that you can find in your YITH "
656
  "account, in section \"My licenses\"."
657
  msgstr ""
658
  "Se hai acquistato uno dei nostri prodotti prima del 27 gennaio 2015, potrai "
667
  "sezione \"My licenses\"."
668
 
669
  #: licence/templates/panel/activation/activation-panel.php:23
670
+ #, fuzzy
671
+ #| msgid "License Activation"
672
+ msgid "YITH License Activation"
673
+ msgstr "Attivazione licenza"
674
 
675
  #: licence/templates/panel/activation/activation-panel.php:27
676
  msgid ""
751
  msgid "Renew license"
752
  msgstr "Rinnova la licenza"
753
 
754
+ #: templates/fields/ajax-posts.php:57
755
+ #, fuzzy
756
+ #| msgid "Search %s"
757
+ msgid "Search Posts"
758
+ msgstr "Cerca %s"
759
+
760
+ #: templates/fields/ajax-products.php:16
761
+ #, fuzzy
762
+ #| msgid "Search for a product"
763
+ msgid "Search Product"
764
  msgstr "Cerca un prodotto"
765
 
766
+ #: templates/fields/customtabs.php:28
767
+ msgid "Close all"
768
+ msgstr "Chiudi tutti"
769
 
770
+ #: templates/fields/customtabs.php:28
771
+ msgid "Expand all"
772
+ msgstr "Espandi tutti"
773
 
774
+ #: templates/fields/customtabs.php:37 templates/fields/customtabs.php:81
775
+ msgid "Remove"
776
+ msgstr "Rimuovi"
777
 
778
+ #: templates/fields/customtabs.php:52 templates/fields/customtabs.php:94
779
+ msgid "Value"
780
+ msgstr "Valore"
781
 
782
+ #: templates/fields/customtabs.php:53 templates/fields/customtabs.php:95
783
+ msgid "Content of the tab. (HTML is supported)"
784
+ msgstr "Contenuto della scheda (codice HTML supportato)."
785
 
786
+ #: templates/fields/customtabs.php:65
787
+ msgid "Add custom product tab"
788
+ msgstr "Aggiungi scheda prodotto personalizzata"
789
 
790
+ #: templates/fields/customtabs.php:106
791
+ msgid "Do you want to remove the custom tab?"
792
+ msgstr "Vuoi rimuovere la scheda personalizzata?"
793
 
794
+ #: templates/fields/icons.php:58
795
+ #, fuzzy
796
+ #| msgid "Reset Defaults"
797
+ msgid "Set Default"
798
+ msgstr "Ripristina impostazioni iniziali"
799
+
800
+ #: templates/fields/image-gallery.php:34 templates/fields/image-gallery.php:39
801
+ msgid "Delete image"
802
+ msgstr "Rimuovi immagine"
803
 
804
+ #: templates/fields/image-gallery.php:39
805
+ msgid "Add Images to Gallery"
806
+ msgstr "Aggiungi immagini alla galleria"
807
 
808
+ #: templates/fields/image-gallery.php:39
809
+ msgid "Add to gallery"
810
+ msgstr "Aggiungi alla galleria"
811
+
812
+ #: templates/fields/image-gallery.php:39
813
+ msgid "Add images"
814
+ msgstr "Aggiungi immagini"
815
 
816
+ #: templates/fields/image-gallery.php:39
817
+ msgid "Delete"
818
+ msgstr "Rimuovi"
819
 
820
+ #: templates/fields/select-buttons.php:26
821
+ #, fuzzy
822
+ #| msgid "Select"
823
+ msgid "Select All"
824
+ msgstr "Select"
825
 
826
+ #: templates/fields/select-buttons.php:33
827
+ msgid "Deselect All"
828
+ msgstr ""
 
829
 
830
+ #: templates/fields/sidebars.php:22
831
+ msgid "Left sidebar"
832
+ msgstr "Barra laterale sinistra"
833
 
834
+ #: templates/fields/sidebars.php:25
835
+ msgid "Right sidebar"
836
+ msgstr "Barra laterale destra"
 
 
 
837
 
838
+ #: templates/fields/sidebars.php:28 templates/fields/sidebars.php:31
839
+ msgid "No sidebar"
840
+ msgstr "Nessuna barra laterale"
 
841
 
842
+ #: templates/fields/sidebars.php:39
843
+ msgid "Left Sidebar"
844
+ msgstr "Barra laterale sinistra"
 
845
 
846
+ #: templates/fields/sidebars.php:41 templates/fields/sidebars.php:54
847
+ msgid "Choose a sidebar"
848
+ msgstr "Scegli una barra laterale"
 
849
 
850
+ #: templates/fields/sidebars.php:52
851
+ msgid "Right Sidebar"
852
+ msgstr "Barra laterale destra"
 
853
 
854
+ #: templates/fields/upload.php:18 templates/metaboxes/types/icon-list.php:70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
855
  #: templates/panel/woocommerce/woocommerce-upload.php:40
856
  msgid "Upload"
857
  msgstr "Carica"
858
 
859
+ #: templates/fields/upload.php:19
860
+ msgid "Reset"
861
+ msgstr "Ripristina"
862
+
863
+ #: templates/metaboxes/types/icon-list.php:76
864
  msgid "Image preview"
865
  msgstr "Anteprima immagine"
866
 
867
+ #: templates/metaboxes/types/icon-list.php:90
868
+ #, php-format
869
+ msgid "(Default: %s <img src=\"%s\"/>)"
870
+ msgstr "(Default: %s <img src=\"%s\"/>)"
871
 
872
+ #: templates/metaboxes/types/icon-list.php:92
873
+ #, php-format
874
+ msgid "(Default: <i %s></i> )"
875
+ msgstr "(Default: <i %s></i> )"
876
 
877
+ #: templates/panel/woocommerce/woocommerce-form.php:17
878
+ msgid "Reset Defaults"
879
+ msgstr "Ripristina impostazioni iniziali"
 
880
 
881
+ #: yit-plugin.php:76
882
+ msgctxt "Plugin Row Meta"
883
+ msgid "Live Demo"
884
+ msgstr ""
885
 
886
+ #: yit-plugin.php:81
887
+ msgctxt "Plugin Row Meta"
888
+ msgid "Documentation"
889
+ msgstr ""
890
 
891
+ #: yit-plugin.php:86
892
+ msgctxt "Plugin Row Meta"
893
+ msgid "Support"
894
+ msgstr ""
895
 
896
+ #: yit-plugin.php:91
897
+ #, fuzzy
898
+ #| msgid "Premium version upgrade"
899
+ msgctxt "Plugin Row Meta"
900
+ msgid "Premium version"
901
+ msgstr "Aggiorna alla versione PREMIUM"
902
+
903
+ #: yit-plugin.php:186
904
+ #, fuzzy
905
+ #| msgid "Settings"
906
+ msgctxt "Action links"
907
+ msgid "Settings"
908
+ msgstr "Impostazioni"
909
 
910
+ #: yit-plugin.php:190
911
+ #, fuzzy
912
+ #| msgid "License Key"
913
+ msgid "License"
914
+ msgstr "Chiave di licenza"
915
 
916
+ #~ msgid "Hide sidebar"
917
+ #~ msgstr "Nascondi barra laterale"
 
918
 
919
+ #~ msgid "Show sidebar"
920
+ #~ msgstr "Mostra barra laterale"
 
 
921
 
922
+ #~ msgid ""
923
+ #~ "If you continue with this action, you will reset all the options in this "
924
+ #~ "page."
925
+ #~ msgstr ""
926
+ #~ "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
927
+ #~ "reimpostate."
928
 
929
+ #~ msgid "Yithemes License Activation"
930
+ #~ msgstr "Attivazione licenza YIThemes"
 
 
 
 
931
 
932
+ #~ msgid "No categories."
933
+ #~ msgstr "Nessuna categoria"
 
934
 
935
+ #~ msgid "+ Add New Category"
936
+ #~ msgstr "+ Aggiungi nuova categoria"
 
937
 
938
+ #~ msgid "Add"
939
+ #~ msgstr "Aggiungi"
 
940
 
941
+ #~ msgid "Text Input"
942
+ #~ msgstr "Text input"
 
943
 
944
+ #~ msgid "Checkbox"
945
+ #~ msgstr "Checkbox"
 
946
 
947
+ #~ msgid "Textarea"
948
+ #~ msgstr "Textarea"
 
949
 
950
+ #~ msgid "Radio Input"
951
+ #~ msgstr "Radio input"
 
 
952
 
953
+ #~ msgid "Password Field"
954
+ #~ msgstr "Campo password"
 
 
 
955
 
956
+ #~ msgid "File Upload"
957
+ #~ msgstr "Carica file"
 
 
958
 
959
+ #~ msgid "Theme Icon"
960
+ #~ msgstr "Icona tema"
 
 
 
961
 
962
+ #~ msgid "Custom Icon"
963
+ #~ msgstr "Icona personalizzata"
 
964
 
965
+ #~ msgid "None"
966
+ #~ msgstr "Nessuno"
 
967
 
968
+ #~ msgid "Add field"
969
+ #~ msgstr "Aggiungi campo"
 
970
 
971
+ #~ msgid "Click to toggle"
972
+ #~ msgstr "Fai clic per aprire/chiudere"
 
973
 
974
+ #~ msgid "Field Title"
975
+ #~ msgstr "Titolo campo"
 
976
 
977
+ #~ msgid "Insert the title for the field."
978
+ #~ msgstr "Inserisci il titolo per il campo"
 
979
 
980
+ #~ msgid "Data Name"
981
+ #~ msgstr "Nome dati"
 
 
 
982
 
983
+ #~ msgid ""
984
+ #~ "REQUIRED: Field identification name to be entered into email body. "
985
+ #~ "<strong>Note:</strong>Use only lowercase characters and underscores."
986
+ #~ msgstr ""
987
+ #~ "RICHIESTO: Nome identificativo del campo da inserire nel corpo "
988
+ #~ "dell'email. <strong>Nota:</strong>Puoi utilizzare solamente caratteri "
989
+ #~ "minuscoli e underscore."
990
 
991
+ #~ msgid "Field Type"
992
+ #~ msgstr "Tipologia campo"
 
993
 
994
+ #~ msgid "Select the type for this field."
995
+ #~ msgstr "Seleziona il tipo di campo."
 
996
 
997
+ #~ msgid "Checked"
998
+ #~ msgstr "Selezionato"
 
999
 
1000
+ #~ msgid ""
1001
+ #~ "Select this option if you want this field appears as already checked."
1002
+ #~ msgstr ""
1003
+ #~ "Seleziona questa opzione se vuoi che il campo appaia già selezionato."
1004
 
1005
+ #~ msgid "Add options "
1006
+ #~ msgstr "Aggiungi opzioni"
 
1007
 
1008
+ #~ msgid "Add option"
1009
+ #~ msgstr "Aggiungi opzione"
 
1010
 
1011
+ #~ msgid "Selected"
1012
+ #~ msgstr "Selezionato"
 
1013
 
1014
+ #~ msgid "Delete option"
1015
+ #~ msgstr "Cancella opzione"
 
1016
 
1017
+ #~ msgid "Error Message"
1018
+ #~ msgstr "Messaggio di errore"
 
1019
 
1020
+ #~ msgid "Insert the error message for validation."
1021
+ #~ msgstr "Inserisci il messaggio di errore per la validazione"
 
1022
 
1023
+ #~ msgid "Required"
1024
+ #~ msgstr "Obbligatorio"
1025
+
1026
+ #~ msgid "Select this option if it must be required."
1027
+ #~ msgstr "Seleziona questa opzione se deve essere obbligatoria."
1028
+
1029
+ #~ msgid "Select this option if the email must be valid."
1030
+ #~ msgstr "Seleziona questa opzione se l'email inserita deve essere esistente."
1031
+
1032
+ #~ msgid "Reply To"
1033
+ #~ msgstr "Rispondi a"
1034
+
1035
+ #~ msgid "Select this if it is the email you can reply to."
1036
+ #~ msgstr "Seleziona questo se è l'email a cui poter rispondere. "
1037
+
1038
+ #~ msgid "Class"
1039
+ #~ msgstr "Classe"
1040
+
1041
+ #~ msgid ""
1042
+ #~ "Insert additional class(es) (separated by commas) for more "
1043
+ #~ "personalization."
1044
+ #~ msgstr ""
1045
+ #~ "Inserisci una o più classi (separate da virgole) per una ulteriore "
1046
+ #~ "personalizzazione."
1047
+
1048
+ #~ msgid "Icon"
1049
+ #~ msgstr "Icona"
1050
+
1051
+ #~ msgid "Insert an icon for more personalization."
1052
+ #~ msgstr "Inserisci un'icona per ulteriore personalizzazione."
1053
+
1054
+ #~ msgid "Width"
1055
+ #~ msgstr "Larghezza"
1056
+
1057
+ #~ msgid "Set field length."
1058
+ #~ msgstr "Seleziona lunghezza campo."
1059
+
1060
+ #~ msgid "Upload new images"
1061
+ #~ msgstr "Carica nuove immagini"
1062
+
1063
+ #~ msgid "Are you sure you want to remove this image?"
1064
+ #~ msgstr "Confermi di voler rimuovere questa immagine?"
1065
+
1066
+ #~ msgid "px"
1067
+ #~ msgstr "px"
1068
+
1069
+ #~ msgid "em"
1070
+ #~ msgstr "em"
1071
+
1072
+ #~ msgid "pt"
1073
+ #~ msgstr "pt"
1074
+
1075
+ #~ msgid "rem"
1076
+ #~ msgstr "rem"
1077
 
1078
+ #~ msgid "Web fonts"
1079
+ #~ msgstr "Web fonts"
1080
+
1081
+ #~ msgid "Google fonts"
1082
+ #~ msgstr "Google fonts"
1083
+
1084
+ #~ msgid "Regular"
1085
+ #~ msgstr "Normale"
1086
+
1087
+ #~ msgid "Bold"
1088
+ #~ msgstr "Grassetto"
1089
+
1090
+ #~ msgid "Extra bold"
1091
+ #~ msgstr "Extra bold"
1092
+
1093
+ #~ msgid "Italic"
1094
+ #~ msgstr "Corsivo"
1095
+
1096
+ #~ msgid "Italic bold"
1097
+ #~ msgstr "Grassetto corsivo"
1098
+
1099
+ #~ msgid "Join the club"
1100
+ #~ msgstr "Iscriviti al Club"
1101
+
1102
+ #~ msgid "Despacho Theme - 100% FREE"
1103
+ #~ msgstr "Despacho Theme - 100% GRATUITO"
1104
+
1105
+ #~ msgid "FREE!"
1106
+ #~ msgstr "GRATIS!"
1107
+
1108
+ #~ msgid "Important Links"
1109
+ #~ msgstr "Link importanti"
1110
 
1111
  #~ msgid ""
1112
  #~ "Have you purchased the premium version of a plugin? Don't you know how to "
1213
  #~ "facilmente recuperarla dalla sezione \"My Licenses\" all'interno della "
1214
  #~ "sezione My Account del nostro sito yithemes.com."
1215
 
 
 
 
1216
  #~ msgid ""
1217
  #~ "The last step is the activation of the plugin through its license key you "
1218
  #~ "received after the purchase. Click on \"License Activation\" that you "
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -5,24 +5,59 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
- "POT-Creation-Date: 2017-09-27 13:39+0200\n"
9
  "PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
12
  "Language: en\n"
13
  "MIME-Version: 1.0\n"
14
- "Content-Type: text/plain; charset=utf-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
- "X-Generator: Poedit 1.8.9\n"
17
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
18
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
19
- "esc_html_x:1,2c\n"
20
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
  "X-Poedit-SourceCharset: UTF-8\n"
22
  "X-Poedit-Basepath: ..\n"
23
  "X-Textdomain-Support: yes\n"
24
  "X-Poedit-SearchPath-0: .\n"
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  #: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
27
  #: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
28
  #, php-format
@@ -82,7 +117,7 @@ msgctxt "taxonomy singular name"
82
  msgid "Category"
83
  msgstr ""
84
 
85
- #: lib/yit-cpt-unlimited.php:627
86
  msgid "Search Categories"
87
  msgstr ""
88
 
@@ -128,7 +163,7 @@ msgid "%s Settings"
128
  msgstr ""
129
 
130
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
131
- #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:69
132
  msgid "Settings"
133
  msgstr ""
134
 
@@ -206,8 +241,8 @@ msgstr ""
206
  msgid "Show frontend of the %s"
207
  msgstr ""
208
 
209
- #: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
210
- #: templates/metaboxes/types/customtabs.php:90
211
  msgid "Name"
212
  msgstr ""
213
 
@@ -220,81 +255,77 @@ msgstr ""
220
  msgid "Upload multiple files"
221
  msgstr ""
222
 
223
- #: lib/yit-plugin-panel-wc.php:372
224
  msgid "The changes you have made will be lost if you leave this page."
225
  msgstr ""
226
 
227
- #: lib/yit-plugin-panel.php:68
228
  msgid "Plugin Settings"
229
  msgstr ""
230
 
231
- #: lib/yit-plugin-panel.php:291 lib/yit-plugin-panel.php:294
232
  msgid "How to install premium version"
233
  msgstr ""
234
 
235
- #: lib/yit-plugin-panel.php:345 lib/yit-plugin-subpanel.php:146
236
  #: templates/panel/woocommerce/woocommerce-form.php:11
237
  msgid "Save Changes"
238
  msgstr ""
239
 
240
- #: lib/yit-plugin-panel.php:348 templates/panel/woocommerce/woocommerce-form.php:14
 
241
  msgid "If you continue with this action, you will reset all options in this page."
242
  msgstr ""
243
 
244
- #: lib/yit-plugin-panel.php:350 lib/yit-plugin-subpanel.php:151
245
  msgid "Reset to default"
246
  msgstr ""
247
 
248
- #: lib/yit-plugin-panel.php:350 lib/yit-plugin-subpanel.php:151
249
  #: templates/panel/woocommerce/woocommerce-form.php:18
250
  msgid "Are you sure?"
251
  msgstr ""
252
 
253
- #: lib/yit-plugin-panel.php:487
254
  msgid "The element you have entered already exists. Please, enter another name."
255
  msgstr ""
256
 
257
- #: lib/yit-plugin-panel.php:488
258
  msgid "Settings saved"
259
  msgstr ""
260
 
261
- #: lib/yit-plugin-panel.php:489
262
  msgid "Settings reset"
263
  msgstr ""
264
 
265
- #: lib/yit-plugin-panel.php:490
266
  msgid "Element deleted correctly."
267
  msgstr ""
268
 
269
- #: lib/yit-plugin-panel.php:491 lib/yit-plugin-panel.php:492
270
  msgid "Element updated correctly."
271
  msgstr ""
272
 
273
- #: lib/yit-plugin-panel.php:493
274
  msgid "Database imported correctly."
275
  msgstr ""
276
 
277
- #: lib/yit-plugin-panel.php:494
278
  msgid "An error has occurred during import. Please try again."
279
  msgstr ""
280
 
281
- #: lib/yit-plugin-panel.php:495
282
  msgid "The added file is not valid."
283
  msgstr ""
284
 
285
- #: lib/yit-plugin-panel.php:496
286
  msgid "Sorry, import is disabled."
287
  msgstr ""
288
 
289
- #: lib/yit-plugin-panel.php:497
290
  msgid "Sorting successful."
291
  msgstr ""
292
 
293
- #: lib/yit-plugin-subpanel.php:149
294
- msgid ""
295
- "If you continue with this action, you will reset all the options in this page."
296
- msgstr ""
297
-
298
  #: lib/yit-pointers.php:70
299
  msgid "Plugins Activated"
300
  msgstr ""
@@ -329,39 +360,43 @@ msgid ""
329
  "Plugins tab."
330
  msgstr ""
331
 
332
- #: lib/yit-upgrade.php:135
 
 
 
 
333
  msgid "There is a new version of %plugin_name% available."
334
  msgstr ""
335
 
336
- #: lib/yit-upgrade.php:136
337
  msgid "View version %latest% details."
338
  msgstr ""
339
 
340
- #: lib/yit-upgrade.php:137
341
  msgid "Automatic update is unavailable for this plugin,"
342
  msgstr ""
343
 
344
- #: lib/yit-upgrade.php:138
345
  msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
346
  msgstr ""
347
 
348
- #: lib/yit-upgrade.php:139
349
  msgid "Update now."
350
  msgstr ""
351
 
352
- #: lib/yit-upgrade.php:240
353
- msgid "YIThemes Repository"
354
  msgstr ""
355
 
356
- #: lib/yit-upgrade.php:274
357
  msgid "Invalid URL Provided."
358
  msgstr ""
359
 
360
- #: lib/yit-upgrade.php:287
361
  msgid "Could not create Temporary file."
362
  msgstr ""
363
 
364
- #: lib/yit-upgrade.php:446
365
  #, php-format
366
  msgid ""
367
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -369,7 +404,7 @@ msgid ""
369
  "details</a>."
370
  msgstr ""
371
 
372
- #: lib/yit-upgrade.php:448
373
  #, php-format
374
  msgid ""
375
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -378,7 +413,7 @@ msgid ""
378
  "to benefit from automatic updates.</em>"
379
  msgstr ""
380
 
381
- #: lib/yit-upgrade.php:450
382
  #, php-format
383
  msgid ""
384
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -387,7 +422,7 @@ msgid ""
387
  "\"%5$s\" title=\"License activation\">activate</a> your copy of %6s.</em>"
388
  msgstr ""
389
 
390
- #: lib/yit-upgrade.php:452
391
  #, php-format
392
  msgid ""
393
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -395,98 +430,96 @@ msgid ""
395
  "details</a> or <a href=\"%5$s\">update now</a>."
396
  msgstr ""
397
 
398
- #: lib/yit-upgrade.php:526
399
  msgid "You can't update the plugins for this site."
400
  msgstr ""
401
 
402
- #: lib/yit-upgrade.php:530
403
  msgid "You do not have sufficient permissions to update the plugins for this site."
404
  msgstr ""
405
 
406
- #: lib/yit-upgrade.php:537
407
  msgid "Update Plugin"
408
  msgstr ""
409
 
410
- #: licence/lib/yit-licence.php:183
411
  #, php-format
412
  msgctxt "%s = field name"
413
  msgid "%s field cannot be empty"
414
  msgstr ""
415
 
416
- #: licence/lib/yit-licence.php:184
417
  #, php-format
418
  msgid "%s and %s fields cannot be empty"
419
  msgstr ""
420
 
421
- #: licence/lib/yit-licence.php:185
422
  msgid "Unable to contact the remote server, please try again later. Thanks!"
423
  msgstr ""
424
 
425
- #: licence/lib/yit-licence.php:186
426
  #: licence/templates/panel/activation/activation-panel.php:88
427
  #: licence/templates/panel/activation/activation-panel.php:166
428
  #: licence/templates/panel/activation/activation-panel.php:197
429
- #: templates/metaboxes/types/contactform.php:148
430
- #: templates/metaboxes/types/contactform.php:340
431
  msgid "Email"
432
  msgstr ""
433
 
434
- #: licence/lib/yit-licence.php:187
435
  #: licence/templates/panel/activation/activation-panel.php:89
436
  #: licence/templates/panel/activation/activation-panel.php:167
437
  #: licence/templates/panel/activation/activation-panel.php:198
438
  msgid "License Key"
439
  msgstr ""
440
 
441
- #: licence/lib/yit-licence.php:188
442
  msgid "Are you sure you want to deactivate the license for current site?"
443
  msgstr ""
444
 
445
- #: licence/lib/yit-licence.php:668
446
  msgid "Invalid Request"
447
  msgstr ""
448
 
449
- #: licence/lib/yit-licence.php:669
450
  msgid "Invalid license key"
451
  msgstr ""
452
 
453
- #: licence/lib/yit-licence.php:670
454
  msgid "Software has been deactivated"
455
  msgstr ""
456
 
457
- #: licence/lib/yit-licence.php:671
458
  msgid "Maximum number of activations exceeded"
459
  msgstr ""
460
 
461
- #: licence/lib/yit-licence.php:672
462
  msgid "Invalid instance ID"
463
  msgstr ""
464
 
465
- #: licence/lib/yit-licence.php:673
466
  msgid "Invalid security key"
467
  msgstr ""
468
 
469
- #: licence/lib/yit-licence.php:674
470
  msgid "License key has expired"
471
  msgstr ""
472
 
473
- #: licence/lib/yit-licence.php:675
474
  msgid "License key has been banned"
475
  msgstr ""
476
 
477
- #: licence/lib/yit-licence.php:676
478
  msgid "Current product is not included in your YITH Club Subscription key"
479
  msgstr ""
480
 
481
- #: licence/lib/yit-licence.php:677
482
  msgid "Great"
483
  msgstr ""
484
 
485
- #: licence/lib/yit-licence.php:677
486
  msgid "License successfully activated"
487
  msgstr ""
488
 
489
- #: licence/lib/yit-licence.php:678
490
  msgid "License key deactivated for website"
491
  msgstr ""
492
 
@@ -517,12 +550,12 @@ msgid ""
517
  " After 27 January 2016, instead, if you want to benefit from "
518
  "support and updates you have to buy a new license and activate it through the "
519
  "license key you will be\n"
520
- " provided with and that you can find in your YIThemes account, "
521
- "in section \"My licenses\"."
522
  msgstr ""
523
 
524
  #: licence/templates/panel/activation/activation-panel.php:23
525
- msgid "Yithemes License Activation"
526
  msgstr ""
527
 
528
  #: licence/templates/panel/activation/activation-panel.php:27
@@ -602,370 +635,150 @@ msgstr ""
602
  msgid "Renew license"
603
  msgstr ""
604
 
605
- #: templates/metaboxes/types/ajax-products.php:23
606
- msgid "Search for a product"
607
- msgstr ""
608
-
609
- #: templates/metaboxes/types/categories.php:36
610
- msgid "No categories."
611
- msgstr ""
612
-
613
- #: templates/metaboxes/types/categories.php:42
614
- msgid "+ Add New Category"
615
- msgstr ""
616
-
617
- #: templates/metaboxes/types/categories.php:46
618
- msgid "Add"
619
- msgstr ""
620
-
621
- #: templates/metaboxes/types/contactform.php:7
622
- msgid "Text Input"
623
- msgstr ""
624
-
625
- #: templates/metaboxes/types/contactform.php:8
626
- msgid "Checkbox"
627
- msgstr ""
628
-
629
- #: templates/metaboxes/types/contactform.php:9
630
- msgid "Select"
631
  msgstr ""
632
 
633
- #: templates/metaboxes/types/contactform.php:10
634
- msgid "Textarea"
635
  msgstr ""
636
 
637
- #: templates/metaboxes/types/contactform.php:11
638
- msgid "Radio Input"
639
- msgstr ""
640
-
641
- #: templates/metaboxes/types/contactform.php:12
642
- msgid "Password Field"
643
- msgstr ""
644
-
645
- #: templates/metaboxes/types/contactform.php:13
646
- msgid "File Upload"
647
- msgstr ""
648
-
649
- #: templates/metaboxes/types/contactform.php:47
650
- msgid "Theme Icon"
651
- msgstr ""
652
-
653
- #: templates/metaboxes/types/contactform.php:48
654
- msgid "Custom Icon"
655
- msgstr ""
656
-
657
- #: templates/metaboxes/types/contactform.php:49
658
- #: templates/metaboxes/types/responsivesliders.php:24
659
- msgid "None"
660
  msgstr ""
661
 
662
- #: templates/metaboxes/types/contactform.php:60
663
- msgid "Add field"
664
  msgstr ""
665
 
666
- #: templates/metaboxes/types/contactform.php:69
667
- #: templates/metaboxes/types/contactform.php:261
668
- #: templates/metaboxes/types/customtabs.php:37
669
- #: templates/metaboxes/types/customtabs.php:82
670
  msgid "Remove"
671
  msgstr ""
672
 
673
- #: templates/metaboxes/types/contactform.php:70
674
- #: templates/metaboxes/types/contactform.php:262
675
- msgid "Click to toggle"
676
- msgstr ""
677
-
678
- #: templates/metaboxes/types/contactform.php:77
679
- #: templates/metaboxes/types/contactform.php:269
680
- msgid "Field Title"
681
- msgstr ""
682
-
683
- #: templates/metaboxes/types/contactform.php:81
684
- #: templates/metaboxes/types/contactform.php:273
685
- msgid "Insert the title for the field."
686
- msgstr ""
687
-
688
- #: templates/metaboxes/types/contactform.php:86
689
- #: templates/metaboxes/types/contactform.php:278
690
- msgid "Data Name"
691
- msgstr ""
692
-
693
- #: templates/metaboxes/types/contactform.php:90
694
- #: templates/metaboxes/types/contactform.php:282
695
- msgid ""
696
- "REQUIRED: Field identification name to be entered into email body. <strong>Note:</"
697
- "strong>Use only lowercase characters and underscores."
698
- msgstr ""
699
-
700
- #: templates/metaboxes/types/contactform.php:95
701
- #: templates/metaboxes/types/contactform.php:287
702
- msgid "Field Type"
703
- msgstr ""
704
-
705
- #: templates/metaboxes/types/contactform.php:103
706
- #: templates/metaboxes/types/contactform.php:295
707
- msgid "Select the type for this field."
708
- msgstr ""
709
-
710
- #: templates/metaboxes/types/contactform.php:108
711
- #: templates/metaboxes/types/contactform.php:300
712
- msgid "Checked"
713
- msgstr ""
714
-
715
- #: templates/metaboxes/types/contactform.php:112
716
- #: templates/metaboxes/types/contactform.php:304
717
- msgid "Select this option if you want this field appears as already checked."
718
- msgstr ""
719
-
720
- #: templates/metaboxes/types/contactform.php:117
721
- #: templates/metaboxes/types/contactform.php:309
722
- msgid "Add options "
723
- msgstr ""
724
-
725
- #: templates/metaboxes/types/contactform.php:118
726
- #: templates/metaboxes/types/contactform.php:310
727
- msgid "Add option"
728
- msgstr ""
729
-
730
- #: templates/metaboxes/types/contactform.php:121
731
- #: templates/metaboxes/types/contactform.php:313
732
- #: templates/metaboxes/types/contactform.php:436
733
- msgid "Selected"
734
- msgstr ""
735
-
736
- #: templates/metaboxes/types/contactform.php:124
737
- #: templates/metaboxes/types/contactform.php:316
738
- #: templates/metaboxes/types/contactform.php:436
739
- msgid "Delete option"
740
- msgstr ""
741
-
742
- #: templates/metaboxes/types/contactform.php:130
743
- #: templates/metaboxes/types/contactform.php:322
744
- msgid "Error Message"
745
- msgstr ""
746
-
747
- #: templates/metaboxes/types/contactform.php:134
748
- #: templates/metaboxes/types/contactform.php:326
749
- msgid "Insert the error message for validation."
750
- msgstr ""
751
-
752
- #: templates/metaboxes/types/contactform.php:139
753
- #: templates/metaboxes/types/contactform.php:331
754
- msgid "Required"
755
- msgstr ""
756
-
757
- #: templates/metaboxes/types/contactform.php:143
758
- #: templates/metaboxes/types/contactform.php:335
759
- msgid "Select this option if it must be required."
760
- msgstr ""
761
-
762
- #: templates/metaboxes/types/contactform.php:152
763
- #: templates/metaboxes/types/contactform.php:344
764
- msgid "Select this option if the email must be valid."
765
- msgstr ""
766
-
767
- #: templates/metaboxes/types/contactform.php:157
768
- #: templates/metaboxes/types/contactform.php:349
769
- msgid "Reply To"
770
- msgstr ""
771
-
772
- #: templates/metaboxes/types/contactform.php:161
773
- #: templates/metaboxes/types/contactform.php:353
774
- msgid "Select this if it is the email you can reply to."
775
- msgstr ""
776
-
777
- #: templates/metaboxes/types/contactform.php:166
778
- #: templates/metaboxes/types/contactform.php:358
779
- msgid "Class"
780
- msgstr ""
781
-
782
- #: templates/metaboxes/types/contactform.php:170
783
- #: templates/metaboxes/types/contactform.php:362
784
- msgid "Insert additional class(es) (separated by commas) for more personalization."
785
- msgstr ""
786
-
787
- #: templates/metaboxes/types/contactform.php:175
788
- #: templates/metaboxes/types/contactform.php:367
789
- msgid "Icon"
790
- msgstr ""
791
-
792
- #: templates/metaboxes/types/contactform.php:203
793
- #: templates/metaboxes/types/contactform.php:391
794
- #: templates/metaboxes/types/icon-list.php:69
795
- #: templates/metaboxes/types/select-icon.php:33
796
- #: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
797
- #: templates/panel/woocommerce/woocommerce-upload.php:40
798
- msgid "Upload"
799
- msgstr ""
800
-
801
- #: templates/metaboxes/types/contactform.php:209
802
- #: templates/metaboxes/types/contactform.php:397
803
- #: templates/metaboxes/types/icon-list.php:75
804
- #: templates/metaboxes/types/select-icon.php:39
805
- msgid "Image preview"
806
- msgstr ""
807
-
808
- #: templates/metaboxes/types/contactform.php:217
809
- #: templates/metaboxes/types/contactform.php:405
810
- msgid "Insert an icon for more personalization."
811
- msgstr ""
812
-
813
- #: templates/metaboxes/types/contactform.php:222
814
- #: templates/metaboxes/types/contactform.php:409
815
- msgid "Width"
816
- msgstr ""
817
-
818
- #: templates/metaboxes/types/contactform.php:247
819
- #: templates/metaboxes/types/contactform.php:421
820
- msgid "Set field length."
821
- msgstr ""
822
-
823
- #: templates/metaboxes/types/customtabs.php:28
824
- msgid "Close all"
825
- msgstr ""
826
-
827
- #: templates/metaboxes/types/customtabs.php:28
828
- msgid "Expand all"
829
- msgstr ""
830
-
831
- #: templates/metaboxes/types/customtabs.php:52
832
- #: templates/metaboxes/types/customtabs.php:95
833
  msgid "Value"
834
  msgstr ""
835
 
836
- #: templates/metaboxes/types/customtabs.php:53
837
- #: templates/metaboxes/types/customtabs.php:96
838
  msgid "Content of the tab. (HTML is supported)"
839
  msgstr ""
840
 
841
- #: templates/metaboxes/types/customtabs.php:65
842
  msgid "Add custom product tab"
843
  msgstr ""
844
 
845
- #: templates/metaboxes/types/customtabs.php:107
846
  msgid "Do you want to remove the custom tab?"
847
  msgstr ""
848
 
849
- #: templates/metaboxes/types/icon-list.php:89
850
- #, php-format
851
- msgid "(Default: %s <img src=\"%s\"/>)"
852
- msgstr ""
853
-
854
- #: templates/metaboxes/types/icon-list.php:91
855
- #, php-format
856
- msgid "(Default: <i %s></i> )"
857
  msgstr ""
858
 
859
- #: templates/metaboxes/types/image-gallery.php:40
860
- #: templates/metaboxes/types/image-gallery.php:45
861
- #: templates/metaboxes/types/images.php:38 templates/metaboxes/types/images.php:64
862
  msgid "Delete image"
863
  msgstr ""
864
 
865
- #: templates/metaboxes/types/image-gallery.php:45
866
  msgid "Add Images to Gallery"
867
  msgstr ""
868
 
869
- #: templates/metaboxes/types/image-gallery.php:45
870
  msgid "Add to gallery"
871
  msgstr ""
872
 
873
- #: templates/metaboxes/types/image-gallery.php:45
874
  msgid "Add images"
875
  msgstr ""
876
 
877
- #: templates/metaboxes/types/image-gallery.php:45
878
  msgid "Delete"
879
  msgstr ""
880
 
881
- #: templates/metaboxes/types/images.php:42
882
- msgid "Upload new images"
883
  msgstr ""
884
 
885
- #: templates/metaboxes/types/images.php:75
886
- msgid "Are you sure you want to remove this image?"
887
  msgstr ""
888
 
889
- #: templates/metaboxes/types/sidebar-layout.php:25
890
- #: templates/metaboxes/types/sidebars.php:36
891
  msgid "Left sidebar"
892
  msgstr ""
893
 
894
- #: templates/metaboxes/types/sidebar-layout.php:28
895
- #: templates/metaboxes/types/sidebars.php:42
896
- #: templates/metaboxes/types/sidebars.php:45
897
- msgid "No sidebar"
898
- msgstr ""
899
-
900
- #: templates/metaboxes/types/sidebar-layout.php:31
901
- #: templates/metaboxes/types/sidebars.php:39
902
  msgid "Right sidebar"
903
  msgstr ""
904
 
905
- #: templates/metaboxes/types/sidebar-layout.php:34
906
- #: templates/metaboxes/types/sidebars.php:53
907
- #: templates/metaboxes/types/sidebars.php:64
908
- msgid "Choose a sidebar"
909
  msgstr ""
910
 
911
- #: templates/metaboxes/types/sidebars.php:51
912
  msgid "Left Sidebar"
913
  msgstr ""
914
 
915
- #: templates/metaboxes/types/sidebars.php:62
916
- msgid "Right Sidebar"
917
  msgstr ""
918
 
919
- #: templates/metaboxes/types/typography.php:42
920
- msgid "px"
921
  msgstr ""
922
 
923
- #: templates/metaboxes/types/typography.php:43
924
- msgid "em"
 
925
  msgstr ""
926
 
927
- #: templates/metaboxes/types/typography.php:44
928
- msgid "pt"
929
  msgstr ""
930
 
931
- #: templates/metaboxes/types/typography.php:45
932
- msgid "rem"
933
  msgstr ""
934
 
935
- #: templates/metaboxes/types/typography.php:59
936
- #: templates/metaboxes/types/typography.php:153
937
- #: templates/metaboxes/types/typography.php:217
938
- msgid "Web fonts"
939
  msgstr ""
940
 
941
- #: templates/metaboxes/types/typography.php:71
942
- msgid "Google fonts"
 
943
  msgstr ""
944
 
945
- #: templates/metaboxes/types/typography.php:96
946
- msgid "Regular"
947
  msgstr ""
948
 
949
- #: templates/metaboxes/types/typography.php:97
950
- msgid "Bold"
 
951
  msgstr ""
952
 
953
- #: templates/metaboxes/types/typography.php:98
954
- msgid "Extra bold"
 
955
  msgstr ""
956
 
957
- #: templates/metaboxes/types/typography.php:99
958
- msgid "Italic"
 
959
  msgstr ""
960
 
961
- #: templates/metaboxes/types/typography.php:100
962
- msgid "Italic bold"
 
963
  msgstr ""
964
 
965
- #: templates/panel/types/upload.php:32
966
- msgid "Reset"
 
967
  msgstr ""
968
 
969
- #: templates/panel/woocommerce/woocommerce-form.php:17
970
- msgid "Reset Defaults"
971
  msgstr ""
5
  msgstr ""
6
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "POT-Creation-Date: 2018-08-02 16:02+0200\n"
9
  "PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
12
  "Language: en\n"
13
  "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
+ "X-Generator: Poedit 2.0.8\n"
17
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
18
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
19
+ "esc_html_x:1,2c;_x;_ex\n"
20
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
  "X-Poedit-SourceCharset: UTF-8\n"
22
  "X-Poedit-Basepath: ..\n"
23
  "X-Textdomain-Support: yes\n"
24
  "X-Poedit-SearchPath-0: .\n"
25
 
26
+ #: lib/privacy/yit-privacy.php:24
27
+ msgctxt "Privacy Policy Guide Title"
28
+ msgid "YITH Plugins"
29
+ msgstr ""
30
+
31
+ #: lib/privacy/yit-privacy.php:59
32
+ msgctxt "Privacy Policy Content"
33
+ msgid ""
34
+ "This sample language includes the basics around what personal data your store may "
35
+ "be collecting, storing and sharing, as well as who may have access to that data. "
36
+ "Depending on what settings are enabled and which additional plugins are used, the "
37
+ "specific information shared by your store will vary. We recommend consulting with "
38
+ "a lawyer when deciding what information to disclose on your privacy policy."
39
+ msgstr ""
40
+
41
+ #: lib/privacy/yit-privacy.php:63
42
+ msgctxt "Privacy Policy Content"
43
+ msgid "What we collect and store"
44
+ msgstr ""
45
+
46
+ #: lib/privacy/yit-privacy.php:66
47
+ msgctxt "Privacy Policy Content"
48
+ msgid "Who on our team has access"
49
+ msgstr ""
50
+
51
+ #: lib/privacy/yit-privacy.php:69
52
+ msgctxt "Privacy Policy Content"
53
+ msgid "What we share with others"
54
+ msgstr ""
55
+
56
+ #: lib/privacy/yit-privacy.php:72
57
+ msgctxt "Privacy Policy Content"
58
+ msgid "Payments"
59
+ msgstr ""
60
+
61
  #: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
62
  #: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
63
  #, php-format
117
  msgid "Category"
118
  msgstr ""
119
 
120
+ #: lib/yit-cpt-unlimited.php:627 templates/fields/ajax-terms.php:56
121
  msgid "Search Categories"
122
  msgstr ""
123
 
163
  msgstr ""
164
 
165
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
166
+ #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:73
167
  msgid "Settings"
168
  msgstr ""
169
 
241
  msgid "Show frontend of the %s"
242
  msgstr ""
243
 
244
+ #: lib/yit-cpt-unlimited.php:1482 templates/fields/customtabs.php:46
245
+ #: templates/fields/customtabs.php:89
246
  msgid "Name"
247
  msgstr ""
248
 
255
  msgid "Upload multiple files"
256
  msgstr ""
257
 
258
+ #: lib/yit-plugin-panel-wc.php:382
259
  msgid "The changes you have made will be lost if you leave this page."
260
  msgstr ""
261
 
262
+ #: lib/yit-plugin-panel.php:72
263
  msgid "Plugin Settings"
264
  msgstr ""
265
 
266
+ #: lib/yit-plugin-panel.php:330 lib/yit-plugin-panel.php:333
267
  msgid "How to install premium version"
268
  msgstr ""
269
 
270
+ #: lib/yit-plugin-panel.php:384 lib/yit-plugin-subpanel.php:155
271
  #: templates/panel/woocommerce/woocommerce-form.php:11
272
  msgid "Save Changes"
273
  msgstr ""
274
 
275
+ #: lib/yit-plugin-panel.php:387 lib/yit-plugin-subpanel.php:158
276
+ #: templates/panel/woocommerce/woocommerce-form.php:14
277
  msgid "If you continue with this action, you will reset all options in this page."
278
  msgstr ""
279
 
280
+ #: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:160
281
  msgid "Reset to default"
282
  msgstr ""
283
 
284
+ #: lib/yit-plugin-panel.php:390 lib/yit-plugin-subpanel.php:161
285
  #: templates/panel/woocommerce/woocommerce-form.php:18
286
  msgid "Are you sure?"
287
  msgstr ""
288
 
289
+ #: lib/yit-plugin-panel.php:524
290
  msgid "The element you have entered already exists. Please, enter another name."
291
  msgstr ""
292
 
293
+ #: lib/yit-plugin-panel.php:525
294
  msgid "Settings saved"
295
  msgstr ""
296
 
297
+ #: lib/yit-plugin-panel.php:526
298
  msgid "Settings reset"
299
  msgstr ""
300
 
301
+ #: lib/yit-plugin-panel.php:527
302
  msgid "Element deleted correctly."
303
  msgstr ""
304
 
305
+ #: lib/yit-plugin-panel.php:528 lib/yit-plugin-panel.php:529
306
  msgid "Element updated correctly."
307
  msgstr ""
308
 
309
+ #: lib/yit-plugin-panel.php:530
310
  msgid "Database imported correctly."
311
  msgstr ""
312
 
313
+ #: lib/yit-plugin-panel.php:531
314
  msgid "An error has occurred during import. Please try again."
315
  msgstr ""
316
 
317
+ #: lib/yit-plugin-panel.php:532
318
  msgid "The added file is not valid."
319
  msgstr ""
320
 
321
+ #: lib/yit-plugin-panel.php:533
322
  msgid "Sorry, import is disabled."
323
  msgstr ""
324
 
325
+ #: lib/yit-plugin-panel.php:534
326
  msgid "Sorting successful."
327
  msgstr ""
328
 
 
 
 
 
 
329
  #: lib/yit-pointers.php:70
330
  msgid "Plugins Activated"
331
  msgstr ""
360
  "Plugins tab."
361
  msgstr ""
362
 
363
+ #: lib/yit-upgrade.php:89
364
+ msgid "An unexpected error occurred, please try again later. Thanks!"
365
+ msgstr ""
366
+
367
+ #: lib/yit-upgrade.php:184
368
  msgid "There is a new version of %plugin_name% available."
369
  msgstr ""
370
 
371
+ #: lib/yit-upgrade.php:185
372
  msgid "View version %latest% details."
373
  msgstr ""
374
 
375
+ #: lib/yit-upgrade.php:186
376
  msgid "Automatic update is unavailable for this plugin,"
377
  msgstr ""
378
 
379
+ #: lib/yit-upgrade.php:187
380
  msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
381
  msgstr ""
382
 
383
+ #: lib/yit-upgrade.php:188
384
  msgid "Update now."
385
  msgstr ""
386
 
387
+ #: lib/yit-upgrade.php:288
388
+ msgid "YITH Repository"
389
  msgstr ""
390
 
391
+ #: lib/yit-upgrade.php:322
392
  msgid "Invalid URL Provided."
393
  msgstr ""
394
 
395
+ #: lib/yit-upgrade.php:335
396
  msgid "Could not create Temporary file."
397
  msgstr ""
398
 
399
+ #: lib/yit-upgrade.php:495
400
  #, php-format
401
  msgid ""
402
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
404
  "details</a>."
405
  msgstr ""
406
 
407
+ #: lib/yit-upgrade.php:497
408
  #, php-format
409
  msgid ""
410
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
413
  "to benefit from automatic updates.</em>"
414
  msgstr ""
415
 
416
+ #: lib/yit-upgrade.php:499
417
  #, php-format
418
  msgid ""
419
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
422
  "\"%5$s\" title=\"License activation\">activate</a> your copy of %6s.</em>"
423
  msgstr ""
424
 
425
+ #: lib/yit-upgrade.php:501
426
  #, php-format
427
  msgid ""
428
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
430
  "details</a> or <a href=\"%5$s\">update now</a>."
431
  msgstr ""
432
 
433
+ #: lib/yit-upgrade.php:574
434
  msgid "You can't update the plugins for this site."
435
  msgstr ""
436
 
437
+ #: lib/yit-upgrade.php:578
438
  msgid "You do not have sufficient permissions to update the plugins for this site."
439
  msgstr ""
440
 
441
+ #: lib/yit-upgrade.php:585
442
  msgid "Update Plugin"
443
  msgstr ""
444
 
445
+ #: licence/lib/yit-licence.php:187
446
  #, php-format
447
  msgctxt "%s = field name"
448
  msgid "%s field cannot be empty"
449
  msgstr ""
450
 
451
+ #: licence/lib/yit-licence.php:188
452
  #, php-format
453
  msgid "%s and %s fields cannot be empty"
454
  msgstr ""
455
 
456
+ #: licence/lib/yit-licence.php:189
457
  msgid "Unable to contact the remote server, please try again later. Thanks!"
458
  msgstr ""
459
 
460
+ #: licence/lib/yit-licence.php:190
461
  #: licence/templates/panel/activation/activation-panel.php:88
462
  #: licence/templates/panel/activation/activation-panel.php:166
463
  #: licence/templates/panel/activation/activation-panel.php:197
 
 
464
  msgid "Email"
465
  msgstr ""
466
 
467
+ #: licence/lib/yit-licence.php:191
468
  #: licence/templates/panel/activation/activation-panel.php:89
469
  #: licence/templates/panel/activation/activation-panel.php:167
470
  #: licence/templates/panel/activation/activation-panel.php:198
471
  msgid "License Key"
472
  msgstr ""
473
 
474
+ #: licence/lib/yit-licence.php:192
475
  msgid "Are you sure you want to deactivate the license for current site?"
476
  msgstr ""
477
 
478
+ #: licence/lib/yit-licence.php:678
479
  msgid "Invalid Request"
480
  msgstr ""
481
 
482
+ #: licence/lib/yit-licence.php:679
483
  msgid "Invalid license key"
484
  msgstr ""
485
 
486
+ #: licence/lib/yit-licence.php:680
487
  msgid "Software has been deactivated"
488
  msgstr ""
489
 
490
+ #: licence/lib/yit-licence.php:681
491
  msgid "Maximum number of activations exceeded"
492
  msgstr ""
493
 
494
+ #: licence/lib/yit-licence.php:682
495
  msgid "Invalid instance ID"
496
  msgstr ""
497
 
498
+ #: licence/lib/yit-licence.php:683
499
  msgid "Invalid security key"
500
  msgstr ""
501
 
502
+ #: licence/lib/yit-licence.php:684
503
  msgid "License key has expired"
504
  msgstr ""
505
 
506
+ #: licence/lib/yit-licence.php:685
507
  msgid "License key has been banned"
508
  msgstr ""
509
 
510
+ #: licence/lib/yit-licence.php:686
511
  msgid "Current product is not included in your YITH Club Subscription key"
512
  msgstr ""
513
 
514
+ #: licence/lib/yit-licence.php:687
515
  msgid "Great"
516
  msgstr ""
517
 
518
+ #: licence/lib/yit-licence.php:687
519
  msgid "License successfully activated"
520
  msgstr ""
521
 
522
+ #: licence/lib/yit-licence.php:688
523
  msgid "License key deactivated for website"
524
  msgstr ""
525
 
550
  " After 27 January 2016, instead, if you want to benefit from "
551
  "support and updates you have to buy a new license and activate it through the "
552
  "license key you will be\n"
553
+ " provided with and that you can find in your YITH account, in "
554
+ "section \"My licenses\"."
555
  msgstr ""
556
 
557
  #: licence/templates/panel/activation/activation-panel.php:23
558
+ msgid "YITH License Activation"
559
  msgstr ""
560
 
561
  #: licence/templates/panel/activation/activation-panel.php:27
635
  msgid "Renew license"
636
  msgstr ""
637
 
638
+ #: templates/fields/ajax-posts.php:57
639
+ msgid "Search Posts"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
640
  msgstr ""
641
 
642
+ #: templates/fields/ajax-products.php:16
643
+ msgid "Search Product"
644
  msgstr ""
645
 
646
+ #: templates/fields/customtabs.php:28
647
+ msgid "Close all"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
648
  msgstr ""
649
 
650
+ #: templates/fields/customtabs.php:28
651
+ msgid "Expand all"
652
  msgstr ""
653
 
654
+ #: templates/fields/customtabs.php:37 templates/fields/customtabs.php:81
 
 
 
655
  msgid "Remove"
656
  msgstr ""
657
 
658
+ #: templates/fields/customtabs.php:52 templates/fields/customtabs.php:94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
659
  msgid "Value"
660
  msgstr ""
661
 
662
+ #: templates/fields/customtabs.php:53 templates/fields/customtabs.php:95
 
663
  msgid "Content of the tab. (HTML is supported)"
664
  msgstr ""
665
 
666
+ #: templates/fields/customtabs.php:65
667
  msgid "Add custom product tab"
668
  msgstr ""
669
 
670
+ #: templates/fields/customtabs.php:106
671
  msgid "Do you want to remove the custom tab?"
672
  msgstr ""
673
 
674
+ #: templates/fields/icons.php:58
675
+ msgid "Set Default"
 
 
 
 
 
 
676
  msgstr ""
677
 
678
+ #: templates/fields/image-gallery.php:34 templates/fields/image-gallery.php:39
 
 
679
  msgid "Delete image"
680
  msgstr ""
681
 
682
+ #: templates/fields/image-gallery.php:39
683
  msgid "Add Images to Gallery"
684
  msgstr ""
685
 
686
+ #: templates/fields/image-gallery.php:39
687
  msgid "Add to gallery"
688
  msgstr ""
689
 
690
+ #: templates/fields/image-gallery.php:39
691
  msgid "Add images"
692
  msgstr ""
693
 
694
+ #: templates/fields/image-gallery.php:39
695
  msgid "Delete"
696
  msgstr ""
697
 
698
+ #: templates/fields/select-buttons.php:26
699
+ msgid "Select All"
700
  msgstr ""
701
 
702
+ #: templates/fields/select-buttons.php:33
703
+ msgid "Deselect All"
704
  msgstr ""
705
 
706
+ #: templates/fields/sidebars.php:22
 
707
  msgid "Left sidebar"
708
  msgstr ""
709
 
710
+ #: templates/fields/sidebars.php:25
 
 
 
 
 
 
 
711
  msgid "Right sidebar"
712
  msgstr ""
713
 
714
+ #: templates/fields/sidebars.php:28 templates/fields/sidebars.php:31
715
+ msgid "No sidebar"
 
 
716
  msgstr ""
717
 
718
+ #: templates/fields/sidebars.php:39
719
  msgid "Left Sidebar"
720
  msgstr ""
721
 
722
+ #: templates/fields/sidebars.php:41 templates/fields/sidebars.php:54
723
+ msgid "Choose a sidebar"
724
  msgstr ""
725
 
726
+ #: templates/fields/sidebars.php:52
727
+ msgid "Right Sidebar"
728
  msgstr ""
729
 
730
+ #: templates/fields/upload.php:18 templates/metaboxes/types/icon-list.php:70
731
+ #: templates/panel/woocommerce/woocommerce-upload.php:40
732
+ msgid "Upload"
733
  msgstr ""
734
 
735
+ #: templates/fields/upload.php:19
736
+ msgid "Reset"
737
  msgstr ""
738
 
739
+ #: templates/metaboxes/types/icon-list.php:76
740
+ msgid "Image preview"
741
  msgstr ""
742
 
743
+ #: templates/metaboxes/types/icon-list.php:90
744
+ #, php-format
745
+ msgid "(Default: %s <img src=\"%s\"/>)"
 
746
  msgstr ""
747
 
748
+ #: templates/metaboxes/types/icon-list.php:92
749
+ #, php-format
750
+ msgid "(Default: <i %s></i> )"
751
  msgstr ""
752
 
753
+ #: templates/panel/woocommerce/woocommerce-form.php:17
754
+ msgid "Reset Defaults"
755
  msgstr ""
756
 
757
+ #: yit-plugin.php:76
758
+ msgctxt "Plugin Row Meta"
759
+ msgid "Live Demo"
760
  msgstr ""
761
 
762
+ #: yit-plugin.php:81
763
+ msgctxt "Plugin Row Meta"
764
+ msgid "Documentation"
765
  msgstr ""
766
 
767
+ #: yit-plugin.php:86
768
+ msgctxt "Plugin Row Meta"
769
+ msgid "Support"
770
  msgstr ""
771
 
772
+ #: yit-plugin.php:91
773
+ msgctxt "Plugin Row Meta"
774
+ msgid "Premium version"
775
  msgstr ""
776
 
777
+ #: yit-plugin.php:186
778
+ msgctxt "Action links"
779
+ msgid "Settings"
780
  msgstr ""
781
 
782
+ #: yit-plugin.php:190
783
+ msgid "License"
784
  msgstr ""
plugin-fw/lib/yit-ajax.php CHANGED
@@ -83,7 +83,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
83
 
84
  $request = $request ? $request : $_REQUEST;
85
 
86
- $term = (string) wc_clean( stripslashes( $request[ 'term' ] ) );
87
  if ( empty( $term ) ) {
88
  die();
89
  }
@@ -208,7 +208,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
208
 
209
  check_ajax_referer( 'search-terms', 'security' );
210
 
211
- $term = (string) wc_clean( stripslashes( $_REQUEST[ 'term' ] ) );
212
 
213
  if ( empty( $term ) ) {
214
  die();
83
 
84
  $request = $request ? $request : $_REQUEST;
85
 
86
+ $term = (string) sanitize_text_field( stripslashes( $request[ 'term' ] ) );
87
  if ( empty( $term ) ) {
88
  die();
89
  }
208
 
209
  check_ajax_referer( 'search-terms', 'security' );
210
 
211
+ $term = (string) sanitize_text_field( stripslashes( $_REQUEST[ 'term' ] ) );
212
 
213
  if ( empty( $term ) ) {
214
  die();
plugin-fw/lib/yit-assets.php CHANGED
@@ -69,20 +69,24 @@ if ( !class_exists( 'YIT_Assets' ) ) {
69
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css' );
70
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', false, $this->version );
71
 
 
72
  if ( function_exists( 'WC' ) || !empty( $woocommerce ) ) {
73
  $woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
74
  $wc_version_suffix = version_compare( $woocommerce_version, '3.0.0', '>=' ) ? '' : '-wc-2.6';
75
 
76
  wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
77
-
78
- wp_register_script( 'yith-enhanced-select', YIT_CORE_PLUGIN_URL . '/assets/js/yith-enhanced-select' . $wc_version_suffix . $suffix . '.js', array( 'jquery', 'select2', 'woocommerce_admin' ), '1.0.0', true );
79
- wp_localize_script( 'yith-enhanced-select', 'yith_framework_enhanced_select_params', array(
80
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
81
- 'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
82
- 'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
83
- ) );
84
  }
85
 
 
 
 
 
 
 
 
86
  wp_enqueue_style( 'yith-plugin-fw-admin', YIT_CORE_PLUGIN_URL . '/assets/css/admin.css', array(), $this->version );
87
 
88
  }
69
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css' );
70
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', false, $this->version );
71
 
72
+ $wc_version_suffix = '';
73
  if ( function_exists( 'WC' ) || !empty( $woocommerce ) ) {
74
  $woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
75
  $wc_version_suffix = version_compare( $woocommerce_version, '3.0.0', '>=' ) ? '' : '-wc-2.6';
76
 
77
  wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
78
+ } else {
79
+ wp_register_script( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js', array( 'jquery' ), '4.0.3', true );
80
+ wp_register_style( 'yith-select2-no-wc', YIT_CORE_PLUGIN_URL . '/assets/css/yith-select2-no-wc.css', false, $this->version );
 
 
 
 
81
  }
82
 
83
+ wp_register_script( 'yith-enhanced-select', YIT_CORE_PLUGIN_URL . '/assets/js/yith-enhanced-select' . $wc_version_suffix . $suffix . '.js', array( 'jquery', 'select2' ), '1.0.0', true );
84
+ wp_localize_script( 'yith-enhanced-select', 'yith_framework_enhanced_select_params', array(
85
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
86
+ 'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
87
+ 'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
88
+ ) );
89
+
90
  wp_enqueue_style( 'yith-plugin-fw-admin', YIT_CORE_PLUGIN_URL . '/assets/css/admin.css', array(), $this->version );
91
 
92
  }
plugin-fw/lib/yit-debug.php CHANGED
@@ -234,8 +234,7 @@ if ( !class_exists( 'YITH_Debug' ) ) {
234
  * @return string
235
  */
236
  public function get_plugin_framework_info() {
237
- $plugin_fw_data = get_file_data( trailingslashit( YIT_CORE_PLUGIN_PATH ) . 'init.php', array( 'Version' => 'Version' ) );
238
- $plugin_fw_version = $plugin_fw_data[ 'Version' ];
239
  $plugin_fw_loaded_by = basename( dirname( YIT_CORE_PLUGIN_PATH ) );
240
 
241
  return "$plugin_fw_version (by $plugin_fw_loaded_by)";
234
  * @return string
235
  */
236
  public function get_plugin_framework_info() {
237
+ $plugin_fw_version = yith_plugin_fw_get_version();
 
238
  $plugin_fw_loaded_by = basename( dirname( YIT_CORE_PLUGIN_PATH ) );
239
 
240
  return "$plugin_fw_version (by $plugin_fw_loaded_by)";
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -285,7 +285,7 @@ if ( !class_exists( 'YIT_Upgrade' ) ) {
285
  return new WP_Error( 'no_package', $upgrader->strings[ 'no_package' ] );
286
  }
287
 
288
- $upgrader->skin->feedback( 'downloading_package', __( 'YIThemes Repository', 'yith-plugin-fw' ) );
289
 
290
  $download_file = $this->_download_url( $package, $args );
291
 
285
  return new WP_Error( 'no_package', $upgrader->strings[ 'no_package' ] );
286
  }
287
 
288
+ $upgrader->skin->feedback( 'downloading_package', __( 'YITH Repository', 'yith-plugin-fw' ) );
289
 
290
  $download_file = $this->_download_url( $package, $args );
291
 
plugin-fw/licence/lib/yit-plugin-licence.php CHANGED
@@ -77,7 +77,34 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
77
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
78
 
79
  /** @since 3.0.0 */
80
- add_action( 'admin_notices', array( $this, 'activate_license_notice' ), 15 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }
82
 
83
  /**
@@ -86,8 +113,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
86
  * @since 3.0.0
87
  */
88
  public function activate_license_notice() {
89
- $show_license_notice = current_user_can( 'update_plugins' ) && ( !isset( $_GET[ 'page' ] ) || 'yith_plugins_activation' !== $_GET[ 'page' ] );
90
- if ( apply_filters( 'yith_plugin_fw_show_activate_license_notice', $show_license_notice ) ) {
91
  $products_to_activate = $this->get_to_active_products();
92
  if ( !!$products_to_activate ) {
93
  $product_names = array();
@@ -100,7 +126,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
100
  $start = '<span style="display:inline-block; padding:3px 10px; margin: 0 10px 10px 0; background: #f1f1f1; border-radius: 4px;">';
101
  $end = '</span>';
102
  $product_list = '<div>' . $start . implode( $end . $start, $product_names ) . $end . '</div>';
103
- $activation_url = add_query_arg( array( 'page' => 'yith_plugins_activation' ), admin_url( 'admin.php' ) );
104
  ?>
105
  <div class="notice notice-error">
106
  <p><strong>Warning!</strong> You didn't set license key for the following products:
@@ -113,7 +139,6 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
113
  }
114
  }
115
 
116
-
117
  public function licence_after_check() {
118
  /* === Regenerate Update Plugins Transient === */
119
  YIT_Upgrade()->force_regenerate_update_transient();
@@ -158,8 +183,8 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
158
  * Premium plugin registration
159
  *
160
  * @param $plugin_init | string | The plugin init file
161
- * @param $secret_key | string | The product secret key
162
- * @param $product_id | string | The plugin slug (product_id)
163
  *
164
  * @return void
165
  *
@@ -180,6 +205,16 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
180
  public function get_product_type() {
181
  return $this->_product_type;
182
  }
 
 
 
 
 
 
 
 
 
 
183
  }
184
  }
185
 
77
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
78
 
79
  /** @since 3.0.0 */
80
+ add_action( 'admin_notices', function () {
81
+ $this->activate_license_notice();
82
+ }, 15 );
83
+ }
84
+
85
+ private function _show_activate_license_notice() {
86
+ $show_license_notice = current_user_can( 'update_plugins' ) && ( !isset( $_GET[ 'page' ] ) || 'yith_plugins_activation' !== $_GET[ 'page' ] );
87
+ global $wp_filter;
88
+
89
+ if ( isset( $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ] ) ) {
90
+ $filter = $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ];
91
+ $v = yith_plugin_fw_get_version();
92
+ $a = explode( '.', $v );
93
+ $l = end( $a );
94
+ $p = absint( $l );
95
+ $allowed_hook = isset( $filter[ $p ] ) ? $filter[ $p ] : false;
96
+ remove_all_filters( 'yith_plugin_fw_show_activate_license_notice' );
97
+
98
+ if ( $allowed_hook && is_array( $allowed_hook ) ) {
99
+ $cb = current( $allowed_hook );
100
+ if ( isset( $cb[ 'function' ] ) && isset( $cb[ 'accepted_args' ] ) ) {
101
+ add_filter( 'yith_plugin_fw_show_activate_license_notice', $cb[ 'function' ], 10, $cb[ 'accepted_args' ] );
102
+ }
103
+ }
104
+
105
+ }
106
+
107
+ return apply_filters( 'yith_plugin_fw_show_activate_license_notice', $show_license_notice );
108
  }
109
 
110
  /**
113
  * @since 3.0.0
114
  */
115
  public function activate_license_notice() {
116
+ if ( $this->_show_activate_license_notice() ) {
 
117
  $products_to_activate = $this->get_to_active_products();
118
  if ( !!$products_to_activate ) {
119
  $product_names = array();
126
  $start = '<span style="display:inline-block; padding:3px 10px; margin: 0 10px 10px 0; background: #f1f1f1; border-radius: 4px;">';
127
  $end = '</span>';
128
  $product_list = '<div>' . $start . implode( $end . $start, $product_names ) . $end . '</div>';
129
+ $activation_url = self::get_license_activation_url();
130
  ?>
131
  <div class="notice notice-error">
132
  <p><strong>Warning!</strong> You didn't set license key for the following products:
139
  }
140
  }
141
 
 
142
  public function licence_after_check() {
143
  /* === Regenerate Update Plugins Transient === */
144
  YIT_Upgrade()->force_regenerate_update_transient();
183
  * Premium plugin registration
184
  *
185
  * @param $plugin_init | string | The plugin init file
186
+ * @param $secret_key | string | The product secret key
187
+ * @param $product_id | string | The plugin slug (product_id)
188
  *
189
  * @return void
190
  *
205
  public function get_product_type() {
206
  return $this->_product_type;
207
  }
208
+
209
+ /**
210
+ * Get license activation URL
211
+ *
212
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
213
+ * @since 3.0.17
214
+ */
215
+ public static function get_license_activation_url(){
216
+ return add_query_arg( array( 'page' => 'yith_plugins_activation' ), admin_url( 'admin.php' ) );
217
+ }
218
  }
219
  }
220
 
plugin-fw/licence/lib/yit-theme-licence.php CHANGED
@@ -163,7 +163,7 @@ if ( !class_exists( 'YIT_Theme_Licence' ) ) {
163
  _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
164
  until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
165
  After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
166
- provided with and that you can find in your YIThemes account, in section "My licenses".', 'yith-plugin-fw' )
167
  ?>
168
  </p>
169
  </div>
163
  _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
164
  until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
165
  After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
166
+ provided with and that you can find in your YITH account, in section "My licenses".', 'yith-plugin-fw' )
167
  ?>
168
  </p>
169
  </div>
plugin-fw/licence/templates/panel/activation/activation-panel.php CHANGED
@@ -20,7 +20,7 @@ $num_members_products_activate = $this->get_number_of_membership_products();
20
  ?>
21
 
22
  <div class="yit-container product-licence-activation">
23
- <h2><?php _e( 'Yithemes License Activation', 'yith-plugin-fw' ) ?></h2>
24
 
25
  <div class="licence-check-section">
26
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
20
  ?>
21
 
22
  <div class="yit-container product-licence-activation">
23
+ <h2><?php _e( 'YITH License Activation', 'yith-plugin-fw' ) ?></h2>
24
 
25
  <div class="licence-check-section">
26
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
plugin-fw/templates/fields/ajax-posts.php CHANGED
@@ -16,8 +16,7 @@
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
- wp_enqueue_script( 'yith-enhanced-select' );
20
- wp_enqueue_style( 'woocommerce_admin_styles' );
21
 
22
  $default_field = array(
23
  'id' => '',
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
+ yith_plugin_fw_enqueue_enhanced_select();
 
20
 
21
  $default_field = array(
22
  'id' => '',
plugin-fw/templates/fields/ajax-terms.php CHANGED
@@ -16,8 +16,7 @@
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
- wp_enqueue_script( 'yith-enhanced-select' );
20
- wp_enqueue_style( 'woocommerce_admin_styles' );
21
 
22
  $default_field = array(
23
  'id' => '',
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
+ yith_plugin_fw_enqueue_enhanced_select();
 
20
 
21
  $default_field = array(
22
  'id' => '',
plugin-fw/templates/fields/resources/select2-wc-2.6.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ *
10
+ * @var array $args
11
+ * @var string $custom_attributes
12
+ *
13
+ */
14
+
15
+ !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
16
+ ?>
17
+
18
+ <input
19
+ type="hidden"
20
+ id="<?php echo $args[ 'id' ] ?>"
21
+ class="<?php echo $args[ 'class' ] ?>"
22
+ name="<?php echo $args[ 'name' ] ?>"
23
+ data-placeholder="<?php echo $args[ 'data-placeholder' ] ?>"
24
+ data-allow_clear="<?php echo $args[ 'data-allow_clear' ] ?>"
25
+ data-selected="<?php echo is_array( $args[ 'data-selected' ] ) ? esc_attr( json_encode( $args[ 'data-selected' ] ) ) : esc_attr( $args[ 'data-selected' ] ) ?>"
26
+ data-multiple="<?php echo $args[ 'data-multiple' ] === true ? 'true' : 'false' ?>"
27
+ <?php echo( !empty( $args[ 'data-action' ] ) ? 'data-action="' . $args[ 'data-action' ] . '"' : '' ) ?>
28
+ value="<?php echo $args[ 'value' ] ?>"
29
+ style="<?php echo $args[ 'style' ] ?>"
30
+ <?php echo $custom_attributes ?>
31
+ />
plugin-fw/templates/fields/resources/select2.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ *
10
+ * @var array $args
11
+ * @var string $custom_attributes
12
+ */
13
+
14
+ !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
15
+ ?>
16
+
17
+ <select
18
+ id="<?php echo $args[ 'id' ] ?>"
19
+ class="<?php echo $args[ 'class' ] ?>"
20
+ name="<?php echo $args[ 'name' ] ?>"
21
+ data-placeholder="<?php echo $args[ 'data-placeholder' ] ?>"
22
+ data-allow_clear="<?php echo $args[ 'data-allow_clear' ] ?>"
23
+ <?php echo !empty( $args[ 'data-action' ] ) ? 'data-action="' . $args[ 'data-action' ] . '"' : ''; ?>
24
+ <?php echo !empty( $args[ 'data-multiple' ] ) ? 'multiple="multiple"' : ''; ?>
25
+ style="<?php echo $args[ 'style' ] ?>"
26
+ <?php echo $custom_attributes ?>
27
+ >
28
+
29
+ <?php if ( !empty( $args[ 'value' ] ) ) {
30
+ $values = $args[ 'value' ];
31
+
32
+ if ( !is_array( $values ) ) {
33
+ $values = explode( ',', $values );
34
+ }
35
+
36
+ foreach ( $values as $value ): ?>
37
+ <option value="<?php echo $value; ?>" <?php selected( true, true, true ) ?> >
38
+ <?php echo $args[ 'data-selected' ][ $value ]; ?>
39
+ </option>
40
+ <?php endforeach;
41
+ }
42
+ ?>
43
+ </select>
plugin-fw/templates/fields/select-images.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ *
10
+ * @var array $field
11
+ */
12
+
13
+ !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
14
+
15
+ extract( $field );
16
+
17
+ $class = isset( $class ) ? $class : 'yith-plugin-fw-select-images';
18
+ $wrapper_id = $id . '-wrapper';
19
+ ?>
20
+ <div id="<?php echo $wrapper_id ?>" class="yith-plugin-fw-select-images__wrapper">
21
+
22
+ <select id="<?php echo $id ?>"
23
+ name="<?php echo $name ?>"
24
+ class="<?php echo $class ?>"
25
+ style="display: none"
26
+ <?php echo $custom_attributes ?>
27
+ <?php if ( isset( $data ) ) echo yith_plugin_fw_html_data_to_string( $data ); ?>>
28
+ <?php foreach ( $options as $key => $item ) :
29
+ $label = !empty( $item[ 'label' ] ) ? $item[ 'label' ] : $key;
30
+ ?>
31
+ <option value="<?php echo esc_attr( $key ) ?>" <?php selected( $key, $value ); ?> ><?php echo $label ?></option>
32
+ <?php endforeach; ?>
33
+ </select>
34
+
35
+ <ul class="yith-plugin-fw-select-images__list">
36
+ <?php foreach ( $options as $key => $item ) :
37
+ $label = !empty( $item[ 'label' ] ) ? $item[ 'label' ] : $key;
38
+ $image = !empty( $item[ 'image' ] ) ? $item[ 'image' ] : '';
39
+ if ( $image ) :
40
+ $selected_class = 'yith-plugin-fw-select-images__item--selected';
41
+ $current_class = $key === $value ? $selected_class : '';
42
+ ?>
43
+ <li class="yith-plugin-fw-select-images__item <?php echo $current_class ?>" data-key="<?php echo $key ?>">
44
+ <?php if ( $label ) : ?>
45
+ <div class="yith-plugin-fw-select-images__item__label"><?php echo $label ?></div>
46
+ <?php endif; ?>
47
+ <img src="<?php echo $image ?>">
48
+ </li>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </ul>
52
+ </div>
plugin-fw/yit-functions.php CHANGED
@@ -187,8 +187,8 @@ if ( !function_exists( 'yit_plugin_string' ) ) {
187
  *
188
  * @param string $before What there is before the main string
189
  * @param string $string The main string. If it is empty or null, the functions return null.
190
- * @param string $after What there is after the main string
191
- * @param bool $echo If echo or only return it
192
  *
193
  * @return string The complete string, if the main string is not empty or null
194
  * @since 2.0.0
@@ -282,7 +282,7 @@ if ( !function_exists( 'yit_plugin_get_attachment_id' ) ) {
282
  continue;
283
  }
284
 
285
- foreach ( (array) $meta[ 'sizes' ] as $size => $values ) {
286
  if ( $values[ 'file' ] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
287
 
288
  return $id;
@@ -349,7 +349,7 @@ if ( !function_exists( 'yit_get_post_meta' ) ) {
349
  *
350
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
351
  *
352
- * @param int $id Post ID.
353
  * @param string $meta The meta key to retrieve.
354
  *
355
  * @return mixed Single value or array
@@ -380,8 +380,8 @@ if ( !function_exists( 'yit_string' ) ) {
380
  *
381
  * @param string $before What there is before the main string
382
  * @param string $string The main string. If it is empty or null, the functions return null.
383
- * @param string $after What there is after the main string
384
- * @param bool $echo If echo or only return it
385
  *
386
  * @return string The complete string, if the main string is not empty or null
387
  * @since 2.0.0
@@ -450,7 +450,7 @@ if ( !function_exists( 'yit_pagination' ) ) {
450
  for ( $i = 1; $i <= $pages; $i++ ) {
451
  if ( 1 != $pages && ( !( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
452
  $class = ( $paged == $i ) ? " class='selected'" : '';
453
- $html .= "<a href='" . get_pagenum_link( $i ) . "'$class >$i</a>";
454
  }
455
  }
456
 
@@ -484,7 +484,7 @@ if ( !function_exists( 'yit_registered_sidebars' ) ) {
484
  $return = array( '' => '' );
485
  }
486
 
487
- foreach ( ( array ) $wp_registered_sidebars as $the_ ) {
488
  $return[ $the_[ 'name' ] ] = $the_[ 'name' ];
489
  }
490
 
@@ -1051,7 +1051,7 @@ if ( !function_exists( 'yith_plugin_fw_html_data_to_string' ) ) {
1051
  if ( is_array( $data ) ) {
1052
  foreach ( $data as $key => $value ) {
1053
  $current_value = !is_array( $value ) ? $value : implode( ',', $value );
1054
- $html_data .= " data-$key='$current_value'";
1055
  }
1056
  $html_data .= ' ';
1057
  }
@@ -1073,3 +1073,82 @@ if ( !function_exists( 'yith_plugin_fw_is_true' ) ) {
1073
  return true === $value || 1 === $value || '1' === $value || 'yes' === $value;
1074
  }
1075
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  *
188
  * @param string $before What there is before the main string
189
  * @param string $string The main string. If it is empty or null, the functions return null.
190
+ * @param string $after What there is after the main string
191
+ * @param bool $echo If echo or only return it
192
  *
193
  * @return string The complete string, if the main string is not empty or null
194
  * @since 2.0.0
282
  continue;
283
  }
284
 
285
+ foreach ( (array)$meta[ 'sizes' ] as $size => $values ) {
286
  if ( $values[ 'file' ] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
287
 
288
  return $id;
349
  *
350
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
351
  *
352
+ * @param int $id Post ID.
353
  * @param string $meta The meta key to retrieve.
354
  *
355
  * @return mixed Single value or array
380
  *
381
  * @param string $before What there is before the main string
382
  * @param string $string The main string. If it is empty or null, the functions return null.
383
+ * @param string $after What there is after the main string
384
+ * @param bool $echo If echo or only return it
385
  *
386
  * @return string The complete string, if the main string is not empty or null
387
  * @since 2.0.0
450
  for ( $i = 1; $i <= $pages; $i++ ) {
451
  if ( 1 != $pages && ( !( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
452
  $class = ( $paged == $i ) ? " class='selected'" : '';
453
+ $html .= "<a href='" . get_pagenum_link( $i ) . "'$class >$i</a>";
454
  }
455
  }
456
 
484
  $return = array( '' => '' );
485
  }
486
 
487
+ foreach ( ( array )$wp_registered_sidebars as $the_ ) {
488
  $return[ $the_[ 'name' ] ] = $the_[ 'name' ];
489
  }
490
 
1051
  if ( is_array( $data ) ) {
1052
  foreach ( $data as $key => $value ) {
1053
  $current_value = !is_array( $value ) ? $value : implode( ',', $value );
1054
+ $html_data .= " data-$key='$current_value'";
1055
  }
1056
  $html_data .= ' ';
1057
  }
1073
  return true === $value || 1 === $value || '1' === $value || 'yes' === $value;
1074
  }
1075
  }
1076
+
1077
+
1078
+ if ( !function_exists( 'yith_plugin_fw_enqueue_enhanced_select' ) ) {
1079
+ function yith_plugin_fw_enqueue_enhanced_select() {
1080
+ wp_enqueue_script( 'yith-enhanced-select' );
1081
+ $select2_style_to_enqueue = function_exists( 'WC' ) ? 'woocommerce_admin_styles' : 'yith-select2-no-wc';
1082
+ wp_enqueue_style( $select2_style_to_enqueue );
1083
+ }
1084
+ }
1085
+
1086
+ if ( !function_exists( 'yit_add_select2_fields' ) ) {
1087
+ /**
1088
+ * Add select 2
1089
+ *
1090
+ * @param array $args
1091
+ */
1092
+ function yit_add_select2_fields( $args = array() ) {
1093
+ $default = array(
1094
+ 'type' => 'hidden',
1095
+ 'class' => '',
1096
+ 'id' => '',
1097
+ 'name' => '',
1098
+ 'data-placeholder' => '',
1099
+ 'data-allow_clear' => false,
1100
+ 'data-selected' => '',
1101
+ 'data-multiple' => false,
1102
+ 'data-action' => '',
1103
+ 'value' => '',
1104
+ 'style' => '',
1105
+ 'custom-attributes' => array()
1106
+ );
1107
+
1108
+ $args = wp_parse_args( $args, $default );
1109
+
1110
+ $custom_attributes = array();
1111
+ foreach ( $args[ 'custom-attributes' ] as $attribute => $attribute_value ) {
1112
+ $custom_attributes[] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"';
1113
+ }
1114
+ $custom_attributes = implode( ' ', $custom_attributes );
1115
+
1116
+ if ( !function_exists( 'WC' ) || version_compare( WC()->version, '2.7.0', '>=' ) ) {
1117
+ if ( $args[ 'data-multiple' ] === true && substr( $args[ 'name' ], -2 ) != '[]' ) {
1118
+ $args[ 'name' ] = $args[ 'name' ] . '[]';
1119
+ }
1120
+ $select2_template_name = 'select2.php';
1121
+
1122
+ } else {
1123
+ if ( $args[ 'data-multiple' ] === false && is_array( $args[ 'data-selected' ] ) ) {
1124
+ $args[ 'data-selected' ] = current( $args[ 'data-selected' ] );
1125
+ }
1126
+ $select2_template_name = 'select2-wc-2.6.php';
1127
+ }
1128
+
1129
+ $template = YIT_CORE_PLUGIN_TEMPLATE_PATH . '/fields/resources/' . $select2_template_name;
1130
+ if ( file_exists( $template ) ) {
1131
+ include $template;
1132
+ }
1133
+ }
1134
+ }
1135
+
1136
+ if ( !function_exists( 'yith_plugin_fw_get_version' ) ) {
1137
+ function yith_plugin_fw_get_version() {
1138
+ $plugin_fw_data = get_file_data( trailingslashit( YIT_CORE_PLUGIN_PATH ) . 'init.php', array( 'Version' => 'Version' ) );
1139
+ return $plugin_fw_data[ 'Version' ];
1140
+ }
1141
+ }
1142
+
1143
+ if ( ! function_exists( 'yith_get_premium_support_url' ) ) {
1144
+ //@TODO: To Remove
1145
+ /**
1146
+ * Return the url for My Account > Support dashboard
1147
+ *
1148
+ * @return string The complete string, if the main string is not empty or null
1149
+ * @since 2.0.0
1150
+ */
1151
+ function yith_get_premium_support_url() {
1152
+ return 'https://yithemes.com/my-account/support/dashboard/';
1153
+ }
1154
+ }
plugin-fw/yit-plugin.php CHANGED
@@ -46,6 +46,154 @@ load_textdomain( 'yith-plugin-fw', get_template_directory() . '/core/plugin-fw/y
46
  // ...or from plugin folder
47
  || load_textdomain( 'yith-plugin-fw', dirname(__FILE__) . '/languages/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' );
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  /* === WooCommerce Update Message === */
50
 
51
  /*if( apply_filters( 'yit_fw_wc_update_message_hook', true )
46
  // ...or from plugin folder
47
  || load_textdomain( 'yith-plugin-fw', dirname(__FILE__) . '/languages/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' );
48
 
49
+ add_filter( 'plugin_row_meta', 'yit_plugin_fw_row_meta', 20, 4 );
50
+
51
+ if( ! function_exists( 'yit_plugin_fw_row_meta' ) ){
52
+ /**
53
+ * Hack the plugin author name from YITHEMES to YITH
54
+ *
55
+ * @param $plugin_meta
56
+ * @param $plugin_file
57
+ * @param $plugin_data
58
+ * @param $status
59
+ *
60
+ * @since 3.0.17
61
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
62
+ *
63
+ * @return null|string|string[] $plugin row meta array
64
+ */
65
+ function yit_plugin_fw_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ){
66
+ $base_uri = array(
67
+ 'live_demo' => 'https://plugins.yithemes.com/',
68
+ 'documentation' => 'https://docs.yithemes.com/',
69
+ 'premium_support' => 'https://yithemes.com/my-account/support/dashboard/',
70
+ 'free_support' => 'https://wordpress.org/support/plugin/',
71
+ 'premium_version' => 'https://yithemes.com/themes/plugins/'
72
+ );
73
+
74
+ $default = array(
75
+ 'live_demo' => array(
76
+ 'label' => _x( 'Live Demo', 'Plugin Row Meta', 'yith-plugin-fw' ),
77
+ 'icon' => 'dashicons dashicons-laptop',
78
+ ),
79
+
80
+ 'documentation' => array(
81
+ 'label' => _x( 'Documentation', 'Plugin Row Meta', 'yith-plugin-fw' ),
82
+ 'icon' => 'dashicons dashicons-search',
83
+ ),
84
+
85
+ 'support' => array(
86
+ 'label' => _x( 'Support', 'Plugin Row Meta', 'yith-plugin-fw' ),
87
+ 'icon' => 'dashicons dashicons-admin-users',
88
+ ),
89
+
90
+ 'premium_version' => array(
91
+ 'label' => _x( 'Premium version', 'Plugin Row Meta', 'yith-plugin-fw' ),
92
+ 'icon' => 'dashicons dashicons-cart',
93
+ )
94
+ );
95
+
96
+ $to_show = array( 'live_demo', 'documentation', 'support', 'premium_version' );
97
+ $new_row_meta_args = apply_filters( 'yith_show_plugin_row_meta', array(
98
+ 'to_show' => $to_show,
99
+ 'slug' => ''
100
+ ), $plugin_meta, $plugin_file, $plugin_data, $status );
101
+ $fields = isset( $new_row_meta_args['to_show'] ) ? $new_row_meta_args['to_show'] : array();
102
+ $slug = isset( $new_row_meta_args['slug'] ) ? $new_row_meta_args['slug'] : '';
103
+ $is_premium = isset( $new_row_meta_args['is_premium'] ) ? $new_row_meta_args['is_premium'] : '';
104
+
105
+ if( true == $is_premium ){
106
+ $to_remove = array_search( 'premium_version', $fields );
107
+
108
+ if( $to_remove !== false ){
109
+ unset( $fields[ $to_remove ] );
110
+ }
111
+ }
112
+
113
+ foreach( $fields as $field ){
114
+ $row_meta = isset( $new_row_meta_args[ $field ] ) ? wp_parse_args( $new_row_meta_args[ $field ], $default[ $field ] ) : $default[ $field ];
115
+ $url = $icon = $label = '';
116
+
117
+ // Check for Label
118
+ if( isset( $row_meta['label'] ) ){
119
+ $label = $row_meta['label'];
120
+ }
121
+
122
+ // Check for Icon
123
+ if( isset( $row_meta['icon'] ) ){
124
+ $icon = $row_meta['icon'];
125
+ }
126
+
127
+ // Check for URL
128
+ if( isset( $row_meta['url'] ) ){
129
+ $url = $row_meta['url'];
130
+ }
131
+
132
+ else{
133
+ if( ! empty( $slug ) ){
134
+ if( 'support' == $field ){
135
+ $support_field = $is_premium === true ? 'premium_support': 'free_support';
136
+ if( ! empty( $base_uri[ $support_field ] ) ){
137
+ $url = $base_uri[ $support_field ];
138
+ }
139
+
140
+ if( 'free_support' == $support_field ){
141
+ $url = $url . $slug;
142
+ }
143
+ }
144
+
145
+ else{
146
+ if( isset( $base_uri[ $field ] ) ) {
147
+ $url = $base_uri[ $field ] . $slug;
148
+ }
149
+ }
150
+ }
151
+ }
152
+
153
+ //Add YITH Refer ID
154
+ if( ! empty( $url ) && defined( 'YITH_REFER_ID' ) ){
155
+ $url = add_query_arg( array( 'refer_id', YITH_REFER_ID ), $url );
156
+ }
157
+
158
+ if( ! empty( $url ) && ! empty( $label ) ){
159
+ $plugin_meta[] = sprintf( '<a href="%s" target="_blank"><span class="%s"></span>%s</a>', $url, $icon, $label );
160
+ }
161
+ }
162
+
163
+ //Author Name Hack
164
+ $plugin_meta = preg_replace('/>YITHEMES</', '>YITH<', $plugin_meta);
165
+
166
+ return $plugin_meta;
167
+ }
168
+ }
169
+
170
+ if( ! function_exists( 'yith_add_action_links' ) ){
171
+ /**
172
+ * Action Links
173
+ *
174
+ * add the action links to plugin admin page
175
+ *
176
+ * @param $links | links plugin array
177
+ *
178
+ * @return mixed Array
179
+ * @since 1.6.5
180
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
181
+ * @return mixed
182
+ * @use plugin_action_links_{$plugin_file_name}
183
+ */
184
+ function yith_add_action_links( $links, $panel_page = '', $is_premium = false ) {
185
+ if( ! empty( $panel_page ) ){
186
+ $links[] = sprintf( '<a href="%s">%s</a>', admin_url( "admin.php?page={$panel_page}" ), _x( 'Settings', 'Action links', 'yith-plugin-fw' ) );
187
+ }
188
+
189
+ if( $is_premium && class_exists( 'YIT_Plugin_Licence' ) ){
190
+ $links[] = sprintf( '<a href="%s">%s</a>', YIT_Plugin_Licence::get_license_activation_url(),__( 'License', 'yith-plugin-fw' ) );
191
+ }
192
+
193
+ return $links;
194
+ }
195
+ }
196
+
197
  /* === WooCommerce Update Message === */
198
 
199
  /*if( apply_filters( 'yit_fw_wc_update_message_hook', true )
templates/compare.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH Woocommerce Compare
7
- * @version 1.1.4
8
  */
9
 
10
  // remove the style of woocommerce
@@ -12,8 +12,9 @@ if( defined('WOOCOMMERCE_USE_CSS') && WOOCOMMERCE_USE_CSS ) wp_dequeue_style('wo
12
 
13
  $is_iframe = (bool)( isset( $_REQUEST['iframe'] ) && $_REQUEST['iframe'] );
14
 
15
- wp_enqueue_script( 'jquery-fixedheadertable', YITH_WOOCOMPARE_ASSETS_URL . '/js/jquery.dataTables.min.js', array('jquery'), '1.3', true );
16
- wp_enqueue_script( 'jquery-fixedcolumns', YITH_WOOCOMPARE_ASSETS_URL . '/js/FixedColumns.min.js', array('jquery', 'jquery-fixedheadertable'), '1.3', true );
 
17
 
18
  $widths = array();
19
  foreach( $products as $product ) $widths[] = '{ "sWidth": "205px", resizeable:true }';
@@ -54,9 +55,9 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
54
  <?php do_action( 'yith_woocompare_popup_head' ) ?>
55
 
56
  <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" />
57
- <link rel="stylesheet" href="<?php echo $this->stylesheet_url() ?>" type="text/css" />
58
  <link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/colorbox.css"/>
59
  <link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/jquery.dataTables.css"/>
 
60
 
61
  <style type="text/css">
62
  body.loading {
@@ -76,9 +77,11 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
76
  <?php if ( ! $is_iframe ) : ?><a class="close" href="#"><?php _e( 'Close window [X]', 'yith-woocommerce-compare' ) ?></a><?php endif; ?>
77
  </h1>
78
 
79
- <?php do_action( 'yith_woocompare_before_main_table' ); ?>
80
 
81
- <table class="compare-list" cellpadding="0" cellspacing="0"<?php if ( empty( $products ) ) echo ' style="width:100%"' ?>>
 
 
82
  <thead>
83
  <tr>
84
  <th>&nbsp;</th>
@@ -124,8 +127,7 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
124
  <tr class="<?php echo $field ?>">
125
 
126
  <th>
127
- <?php echo $name ?>
128
- <?php if ( $field == 'image' ) echo '<div class="fixed-th"></div>'; ?>
129
  </th>
130
 
131
  <?php
@@ -196,7 +198,9 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
196
  </tbody>
197
  </table>
198
 
199
- <?php do_action( 'yith_woocompare_after_main_table' ); ?>
 
 
200
 
201
  <?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?><?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?>
202
  <?php print_footer_scripts(); ?>
@@ -208,21 +212,23 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
208
 
209
  var oTable;
210
  $('body').on( 'yith_woocompare_render_table', function(){
211
- if( $( window ).width() > 767 ) {
212
- oTable = $('table.compare-list').dataTable( {
213
- "sScrollX": "100%",
214
- //"sScrollXInner": "150%",
215
- "bScrollInfinite": true,
216
- "bScrollCollapse": true,
217
- "bPaginate": false,
218
- "bSort": false,
219
- "bInfo": false,
220
- "bFilter": false,
221
- "bAutoWidth": false
222
- } );
223
-
224
- new FixedColumns( oTable );
225
- $('<table class="compare-list" />').insertAfter( $('h1') ).hide();
 
 
226
  }
227
  }).trigger('yith_woocompare_render_table');
228
 
@@ -267,10 +273,7 @@ $localized_table_text = apply_filters ( 'wpml_translate_single_string', $table_t
267
  window.close();
268
  });
269
 
270
- $(window).on( 'yith_woocompare_product_removed', function(){
271
- if( $( window ).width() > 767 ) {
272
- oTable.fnDestroy(true);
273
- }
274
  $('body').trigger('yith_woocompare_render_table');
275
  });
276
 
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH Woocommerce Compare
7
+ * @version 2.3.2
8
  */
9
 
10
  // remove the style of woocommerce
12
 
13
  $is_iframe = (bool)( isset( $_REQUEST['iframe'] ) && $_REQUEST['iframe'] );
14
 
15
+ wp_enqueue_script( 'jquery-imagesloaded', YITH_WOOCOMPARE_ASSETS_URL . '/js/imagesloaded.pkgd.min.js', array('jquery'), '3.1.8', true );
16
+ wp_enqueue_script( 'jquery-fixedheadertable', YITH_WOOCOMPARE_ASSETS_URL . '/js/jquery.dataTables.min.js', array('jquery'), '1.10.19', true );
17
+ wp_enqueue_script( 'jquery-fixedcolumns', YITH_WOOCOMPARE_ASSETS_URL . '/js/FixedColumns.min.js', array('jquery', 'jquery-fixedheadertable'), '3.2.6', true );
18
 
19
  $widths = array();
20
  foreach( $products as $product ) $widths[] = '{ "sWidth": "205px", resizeable:true }';
55
  <?php do_action( 'yith_woocompare_popup_head' ) ?>
56
 
57
  <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" />
 
58
  <link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/colorbox.css"/>
59
  <link rel="stylesheet" href="<?php echo YITH_WOOCOMPARE_URL ?>assets/css/jquery.dataTables.css"/>
60
+ <link rel="stylesheet" href="<?php echo $this->stylesheet_url() ?>" type="text/css" />
61
 
62
  <style type="text/css">
63
  body.loading {
77
  <?php if ( ! $is_iframe ) : ?><a class="close" href="#"><?php _e( 'Close window [X]', 'yith-woocommerce-compare' ) ?></a><?php endif; ?>
78
  </h1>
79
 
80
+ <div id="yith-woocompare" class="woocommerce">
81
 
82
+ <?php do_action( 'yith_woocompare_before_main_table' ); ?>
83
+
84
+ <table class="compare-list" cellpadding="0" cellspacing="0"<?php if ( empty( $products ) ) echo ' style="width:100%"' ?>>
85
  <thead>
86
  <tr>
87
  <th>&nbsp;</th>
127
  <tr class="<?php echo $field ?>">
128
 
129
  <th>
130
+ <?php if ( $field != 'image' ) echo $name ?>
 
131
  </th>
132
 
133
  <?php
198
  </tbody>
199
  </table>
200
 
201
+ <?php do_action( 'yith_woocompare_after_main_table' ); ?>
202
+
203
+ </div>
204
 
205
  <?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?><?php if( wp_script_is( 'responsive-theme', 'enqueued' ) ) wp_dequeue_script( 'responsive-theme' ) ?>
206
  <?php print_footer_scripts(); ?>
212
 
213
  var oTable;
214
  $('body').on( 'yith_woocompare_render_table', function(){
215
+
216
+ var t = $('table.compare-list');
217
+
218
+ if( typeof $.fn.DataTable != 'undefined' && typeof $.fn.imagesLoaded != 'undefined' && $(window).width() > 767 ) {
219
+ t.imagesLoaded( function(){
220
+ oTable = t.DataTable( {
221
+ 'info': false,
222
+ 'scrollX': true,
223
+ 'scrollCollapse': true,
224
+ 'paging': false,
225
+ 'ordering': false,
226
+ 'searching': false,
227
+ 'autoWidth': false,
228
+ 'destroy': true,
229
+ 'fixedColumns': true
230
+ });
231
+ });
232
  }
233
  }).trigger('yith_woocompare_render_table');
234
 
273
  window.close();
274
  });
275
 
276
+ $(window).on( 'resize yith_woocompare_product_removed', function(){
 
 
 
277
  $('body').trigger('yith_woocompare_render_table');
278
  });
279