Blog2Social: Social Media Auto Post & Scheduler - Version 4.5.0

Version Description

Usability Optimization, new calendar features, more easier and flexible schedueling

Download this release

Release Info

Developer Blog2Social
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 4.5.0
Comparing to
See all releases

Code changes from version 4.4.1 to 4.5.0

assets/css/b2s/calendar.css CHANGED
@@ -206,4 +206,77 @@ body .fc-day-grid-event .fc-content{
206
  .b2s-post-item-details-tag-input-elem {
207
  margin: 2px 4px;
208
  max-width: 145px !important;
209
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  .b2s-post-item-details-tag-input-elem {
207
  margin: 2px 4px;
208
  max-width: 145px !important;
209
+ }
210
+ .b2s-calendar-sched-post-btn{
211
+ font-size: 11px;
212
+ float: right;
213
+ padding: 2px 4px 0px 4px;
214
+ }
215
+
216
+
217
+ .form-inline {
218
+ width: 100%;
219
+ margin-bottom: 20px;
220
+ }
221
+ .form-inline .form-group {
222
+ margin-left: 2px;
223
+ }
224
+
225
+ @media(max-width: 549px) {
226
+ .b2s-post-btn {
227
+ width: 100%;
228
+ }
229
+ .form-inline button, .form-inline a {
230
+ width: 100%;
231
+ margin-bottom: 10px;
232
+ }
233
+ }
234
+ @media(max-width: 767px) {
235
+ .form-inline {
236
+ display: none;
237
+ }
238
+ .filterHide {
239
+ display: none;
240
+ }
241
+ .form-inline button ,.form-inline a {
242
+ width: 49%;
243
+ margin-bottom: 10px;
244
+ }
245
+ }
246
+
247
+ .b2s-calendar-filter{
248
+ margin-bottom: 0px !important;
249
+ }
250
+
251
+ .b2s-calendar-filter-network-list > label {
252
+ padding-left: 8px;
253
+ padding-top: 35px;
254
+ }
255
+ .b2s-calendar-filter-network-list > label:first-child {
256
+ padding-left: 0px;
257
+ }
258
+
259
+ .b2s-calendar-filter-network-legend-text{
260
+ font-weight: 600;
261
+ }
262
+ .b2s-calendar-filter-network-list > label > input{
263
+ visibility: hidden;
264
+ position: absolute;
265
+ }
266
+ .b2s-calendar-filter-network-list > label > input + span{
267
+ cursor:pointer;
268
+ border:12px solid #ddd;
269
+ background-color: #ddd;
270
+ color: #3d3f42;
271
+ }
272
+ .b2s-calendar-filter-network-list > label > input:checked + span{
273
+ border:12px solid #286090;
274
+ background-color: #286090;
275
+ color: #fff;
276
+ }
277
+ .b2s-calendar-filter-network-list> label > input + span > img{
278
+ margin-bottom: 5px;
279
+ }
280
+ .b2s-calendar-filter-img{
281
+ width: 32px;
282
+ }
assets/css/b2s/ship.css CHANGED
@@ -71,9 +71,21 @@
71
  -o-transition: all 0.5s ease;
72
  transition: all 0.5s ease;
73
  }
74
- .b2s-post-item-details-release-input-time{
75
  margin-left: 5px;
76
  margin-right: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
77
  }
78
 
79
  .network-icon{
@@ -779,4 +791,15 @@ input[type="checkbox"], input[type="radio"] {
779
 
780
  .b2s-load-info-meta-tag-modal{
781
  float:right;
 
 
 
 
 
 
 
 
 
 
 
782
  }
71
  -o-transition: all 0.5s ease;
72
  transition: all 0.5s ease;
73
  }
74
+ /*.b2s-post-item-details-release-input-time{
75
  margin-left: 5px;
76
  margin-right: 5px;
77
+ }*/
78
+
79
+ .b2s-post-item-details-release-input-time, .b2s-post-item-details-release-input-date, .b2s-post-item-details-release-input-select-timespan{
80
+ margin-top: 5px;
81
+ }
82
+
83
+ .b2s-select{
84
+ margin-top: 6px;
85
+ }
86
+
87
+ .b2s-post-item-details-release-input-date-select{
88
+ margin-top: 0px !important;
89
  }
90
 
91
  .network-icon{
791
 
792
  .b2s-load-info-meta-tag-modal{
793
  float:right;
794
+ }
795
+ .b2s-post-item-calendar-area {
796
+ padding-top:10px;
797
+ }
798
+
799
+ .b2s-toogle-calendar-btn{
800
+ margin-top: 2px;
801
+ }
802
+
803
+ input[type="number"]{
804
+ height: 34px !important;
805
  }
assets/css/b2s/start.css CHANGED
@@ -1,186 +1,197 @@
1
- .b2s-dashboard-h4{
2
- font-weight: 700;
3
- font-size: 20px !important;
4
- }
5
- .b2s-dashboard-h5{
6
- font-size: 26px;
7
- }
8
- .b2s-dashboard-h6{
9
- font-size: 18px;
10
- }
11
- .form-inline .form-control {
12
- display: inline-block;
13
- vertical-align: middle;
14
- width: auto !important;
15
- min-width: 250px;
16
- }
17
- @media(max-width: 430px) {
18
- .form-inline .form-control {
19
- display: inline-block;
20
- vertical-align: middle;
21
- width: auto !important;
22
- min-width: 100px;
23
- }
24
- }
25
- @media(min-width: 1440px) {
26
- .b2s-btn-width-70{
27
- width: 70% !important;
28
- }
29
- }
30
-
31
- .b2s-info-sm{
32
- margin-top: 5px;
33
- font-size: 9px;
34
- }
35
-
36
- .b2s-btn-link{
37
- text-decoration: underline;
38
- }
39
- .thumbnail {
40
- border:0 none !important;
41
- margin-bottom: 0px !important;
42
- }
43
-
44
- .b2s-feature-img-with-90{
45
- max-width: 90px !important;
46
- }
47
-
48
- .label {
49
- font-size: 90% !important;
50
- }
51
- .b2s-padding-bottom-50{
52
- margin-bottom: 50px;
53
- }
54
-
55
- .b2s-wdith-35{
56
- width: 35px;
57
- }
58
-
59
- .b2s-well{
60
- background-color: #f5f5f5;
61
- border: 1px solid #e3e3e3;
62
- border-radius: 4px;
63
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
64
- margin-bottom: 20px;
65
- min-height: 20px;
66
- padding: 19px;
67
- }
68
- .b2s-loading-area-faq{
69
- text-align: center;
70
- }
71
-
72
- .b2s-dashoard-btn-phone{
73
- cursor: default !important;
74
- }
75
-
76
- /* Widgets */
77
-
78
- /* Content-Widget */
79
- .b2s-widget-block-image-content{
80
- display: flex;
81
- font-size: 22px;
82
- line-height: 1.2;
83
- }
84
- .b2s-widget-block-image-content > img{
85
- max-height: 150px;
86
- max-width: 150px;
87
- margin-right: 10px;
88
- }
89
- body .form-inline{
90
- display: block;
91
- }
92
- .b2s-dashboard-multi-widget-inner{
93
- display: flex;
94
- justify-content: space-between;
95
- align-items: center;
96
- min-height: 200px;
97
- }
98
- .b2s-dashboard-multi-widget-inner .glyphicon-chevron-left{
99
- flex: 0 0 15px;
100
- font-size: 30px;
101
- cursor:pointer
102
- }
103
- .b2s-dashboard-multi-widget-inner .glyphicon-chevron-right {
104
- flex: 0 0 15px;
105
- font-size: 30px;
106
- cursor:pointer
107
- }
108
- .b2s-dashboard-multi-widget-content{
109
- flex: 0 1 450px;
110
- }
111
- @media(max-width: 530px)
112
- {
113
- .b2s-widget-block-image-content{
114
- display: block;
115
- }
116
- .b2s-widget-block-image-content > img{
117
- margin: 5px auto;
118
- display: block;
119
- height: auto;
120
- }
121
- .b2s-widget-block-image-content > div > .btn-primary{
122
- display: block;
123
- }
124
-
125
- }
126
-
127
- /* Newsletter-Widget*/
128
- @media(max-width: 768px)
129
- {
130
- #b2snewsletter.form-inline input{
131
- width: 100% !important;
132
- margin-bottom: 15px;
133
- }
134
- #b2snewsletter.form-inline a{
135
- width: auto;
136
- }
137
- }
138
-
139
- /* Posts-Widget */
140
- .btn-link.b2s-post-btn .label{
141
- font-size: 16px !important;
142
- }
143
-
144
- .b2s-post-btn{
145
- font-size: 18px !important;
146
- }
147
-
148
- ul.b2s-sort-result-item-area{
149
- margin-bottom: 0;
150
- }
151
- @media(max-width: 380px)
152
- {
153
- .btn-link.b2s-post-btn .label{
154
- font-size: 9px !important;
155
- }
156
- }
157
- @media(max-width: 350px)
158
- {
159
- .btn-link.b2s-post-btn.b2s-btn-disabled{
160
- display: none;
161
- }
162
- }
163
-
164
- /* Support */
165
- .b2s-faq-content a{
166
- color:#79B232;
167
- }
168
- #b2s-faq-button{
169
- float:right;
170
- }
171
- .b2sDetailsSchedPostBtn{
172
- display: none !important;
173
- }
174
-
175
- /* Aktivität */
176
- #b2s-activity-date-picker{
177
- width: 85px;
178
- border-radius: 5px;
179
- border: 1px solid #ddd;
180
- }
181
-
182
- /* Tutorial */
183
- #b2s_tutorial_link {
184
- float: right;
185
- margin-top: 27px;
 
 
 
 
 
 
 
 
 
 
 
186
  }
1
+ .b2s-dashboard-h4{
2
+ font-weight: 700;
3
+ font-size: 20px !important;
4
+ }
5
+ .b2s-dashboard-h5{
6
+ font-size: 26px;
7
+ }
8
+ .b2s-dashboard-h6{
9
+ font-size: 18px;
10
+ }
11
+ .form-inline .form-control {
12
+ display: inline-block;
13
+ vertical-align: middle;
14
+ width: auto !important;
15
+ min-width: 250px;
16
+ }
17
+ @media(max-width: 430px) {
18
+ .form-inline .form-control {
19
+ display: inline-block;
20
+ vertical-align: middle;
21
+ width: auto !important;
22
+ min-width: 100px;
23
+ }
24
+ }
25
+ @media(min-width: 1440px) {
26
+ .b2s-btn-width-70{
27
+ width: 70% !important;
28
+ }
29
+ }
30
+
31
+ .b2s-info-sm{
32
+ margin-top: 5px;
33
+ font-size: 9px;
34
+ }
35
+
36
+ .b2s-btn-link{
37
+ text-decoration: underline;
38
+ }
39
+ .thumbnail {
40
+ border:0 none !important;
41
+ margin-bottom: 0px !important;
42
+ }
43
+
44
+ .b2s-feature-img-with-90{
45
+ max-width: 90px !important;
46
+ }
47
+
48
+ .label {
49
+ font-size: 90% !important;
50
+ }
51
+ .b2s-padding-bottom-50{
52
+ margin-bottom: 50px;
53
+ }
54
+
55
+ .b2s-wdith-35{
56
+ width: 35px;
57
+ }
58
+
59
+ .b2s-well{
60
+ background-color: #f5f5f5;
61
+ border: 1px solid #e3e3e3;
62
+ border-radius: 4px;
63
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
64
+ margin-bottom: 20px;
65
+ min-height: 20px;
66
+ padding: 19px;
67
+ }
68
+ .b2s-loading-area-faq{
69
+ text-align: center;
70
+ }
71
+
72
+ .b2s-dashoard-btn-phone{
73
+ cursor: default !important;
74
+ }
75
+
76
+ /* Widgets */
77
+
78
+ /* Content-Widget */
79
+ .b2s-widget-block-image-content{
80
+ display: flex;
81
+ font-size: 22px;
82
+ line-height: 1.2;
83
+ }
84
+ .b2s-widget-block-image-content > img{
85
+ /*max-height: 150px;
86
+ max-width: 150px;*/
87
+ margin-right: 10px;
88
+ }
89
+ body .form-inline{
90
+ display: block;
91
+ }
92
+ .b2s-dashboard-multi-widget-inner{
93
+ display: flex;
94
+ justify-content: space-between;
95
+ align-items: center;
96
+ min-height: 200px;
97
+ }
98
+ .b2s-dashboard-multi-widget-inner .glyphicon-chevron-left{
99
+ flex: 0 0 15px;
100
+ font-size: 30px;
101
+ cursor:pointer
102
+ }
103
+ .b2s-dashboard-multi-widget-inner .glyphicon-chevron-right {
104
+ flex: 0 0 15px;
105
+ font-size: 30px;
106
+ cursor:pointer
107
+ }
108
+
109
+ /*.b2s-dashboard-multi-widget-content{
110
+ flex: 0 1 450px;
111
+ }*/
112
+
113
+ @media(max-width: 530px)
114
+ {
115
+ .b2s-widget-block-image-content{
116
+ display: block;
117
+ }
118
+ .b2s-widget-block-image-content > img{
119
+ margin: 5px auto;
120
+ display: block;
121
+ height: auto;
122
+ }
123
+ .b2s-widget-block-image-content > div > .btn-primary{
124
+ display: block;
125
+ }
126
+
127
+ }
128
+
129
+ /* Newsletter-Widget*/
130
+ @media(max-width: 768px)
131
+ {
132
+ #b2snewsletter.form-inline input{
133
+ width: 100% !important;
134
+ margin-bottom: 15px;
135
+ }
136
+ #b2snewsletter.form-inline a{
137
+ width: auto;
138
+ }
139
+ }
140
+
141
+ /* Posts-Widget */
142
+ .btn-link.b2s-post-btn .label{
143
+ font-size: 16px !important;
144
+ }
145
+
146
+ .b2s-post-btn{
147
+ font-size: 18px !important;
148
+ }
149
+
150
+ ul.b2s-sort-result-item-area{
151
+ margin-bottom: 0;
152
+ }
153
+ @media(max-width: 380px)
154
+ {
155
+ .btn-link.b2s-post-btn .label{
156
+ font-size: 9px !important;
157
+ }
158
+ }
159
+ @media(max-width: 350px)
160
+ {
161
+ .btn-link.b2s-post-btn.b2s-btn-disabled{
162
+ display: none;
163
+ }
164
+ }
165
+
166
+ /* Support */
167
+ .b2s-faq-content a{
168
+ font-size: 14px;
169
+ }
170
+ #b2s-faq-button{
171
+ float:right;
172
+ }
173
+ .b2sDetailsSchedPostBtn{
174
+ display: none !important;
175
+ }
176
+
177
+ /* Aktivität */
178
+ #b2s-activity-date-picker{
179
+ width: 85px;
180
+ border-radius: 5px;
181
+ border: 1px solid #ddd;
182
+ }
183
+
184
+ /* Tutorial */
185
+ #b2s_tutorial_link {
186
+ float: right;
187
+ margin-top: 27px;
188
+ }
189
+
190
+ .b2s-activity-search-content{
191
+ padding-top: 15px;
192
+ padding-left:10px;
193
+ }
194
+
195
+ .b2sSortForm.form-inline{
196
+ margin-bottom: 0px !important;
197
  }
assets/css/b2s/wp/post-box.css CHANGED
@@ -1,247 +1,247 @@
1
- .b2s-loading-area{
2
- text-align: center;
3
- font-size: 12px;
4
- }
5
- .b2s-loader-impulse{
6
- animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
7
- border-radius: 100%;
8
- margin: 0 auto;
9
- }
10
- .b2s-loader-impulse{
11
- background-color: #79b331;
12
- }
13
-
14
- .b2s-loader-impulse-md{
15
- height: 48px;
16
- width: 48px;
17
- }
18
- @keyframes sk-pulseScaleOut {
19
- 0% {
20
- -webkit-transform: scale(0);
21
- transform: scale(0); }
22
- 100% {
23
- -webkit-transform: scale(1);
24
- transform: scale(1);
25
- opacity: 0; }
26
- }
27
- .b2s-info-success,.b2s-info-error, .b2s-info-warning {
28
- display:none;
29
- padding: 5px;
30
- margin-top:5px;
31
- }
32
- .b2s-info-success{
33
- border: 1px solid green;
34
- }
35
-
36
- .b2s-info-error{
37
- border: 1px solid red;
38
- }
39
-
40
- .b2s-info-warning{
41
- border: 1px solid orange;
42
- }
43
- .b2s-meta-box-headline{
44
- margin: 0.55em 0 !important;
45
- font-size: 1.08em !important;
46
- }
47
-
48
- .b2s-meta-box-auto-post-area{
49
- margin-top: 0.5em;
50
- margin-bottom: 0.5em;
51
- }
52
-
53
-
54
- .b2s-meta-box-modal {
55
- overflow-x: hidden;
56
- overflow-y: auto;
57
- content: "";
58
- display: none;
59
- background: rgba(0, 0, 0, 0.6);
60
- position: fixed;
61
- top: 0;
62
- left: 0;
63
- right: 0;
64
- bottom: 0;
65
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
66
- z-index: 1050;
67
- }
68
-
69
- .b2s-meta-box-modal-btn-close{
70
- color: #000;
71
- float: right;
72
- font-size: 24px;
73
- font-weight: bold;
74
- text-decoration: none;
75
- opacity: 0.4;
76
- text-shadow: 0 1px 0 #fff;
77
- background: transparent none repeat scroll 0 0;
78
- border: 0 none;
79
- cursor: pointer;
80
- padding: 0;
81
- }
82
-
83
- .b2s-meta-box-modal-dialog{
84
- background: #fefefe none repeat scroll 0 0;
85
- border-radius: 5px;
86
- width: auto;
87
- top:10%;
88
- max-width: 600px;
89
- position: relative;
90
- }
91
-
92
- @media(max-width: 420px) {
93
- .b2s-meta-box-modal-dialog{
94
- margin: 10px;
95
-
96
- }
97
- }
98
- @media(min-width: 421px) {
99
- .b2s-meta-box-modal-dialog{
100
- margin: 30px auto;
101
- }
102
- }
103
-
104
-
105
- .b2s-meta-box-modal-body {
106
- padding: 0px 15px;
107
- }
108
- .b2s-meta-box-modal-header {
109
- padding: 10px 20px;
110
- }
111
- .b2s-meta-box-modal-header {
112
- border-bottom: 1px solid #e5e5e5;
113
- padding: 15px;
114
- }
115
- .b2s-meta-box-modal-title {
116
- line-height: 1.42857;
117
- font-size: 20px;
118
- margin: 0;
119
- }
120
- .b2s-meta-box-modal-h4 {
121
- line-height: 1.42857;
122
- font-size: 20px;
123
- margin: 0;
124
- }
125
- #b2s-meta-box-close {
126
- display: none;
127
- }
128
-
129
- .b2s-btn-success, .b2s-label-success {
130
- background-color: #79B232 !important;
131
- }
132
- .b2s-center-block {
133
- display: block !important;
134
- margin-left: auto;
135
- margin-right: auto;
136
- }
137
- .b2s-btn-success {
138
- background-color: #79B232 !important;
139
- border-color: #398439 !important;
140
- color: #fff !important;
141
- }
142
-
143
- .b2s-btn-primary {
144
- color: #fff !important;
145
- background-color: #337ab7 !important;
146
- border-color: #2e6da4 !important;
147
- }
148
-
149
- .b2s-btn-none-underline{
150
- text-decoration: none !important;
151
- }
152
-
153
- .b2s-btn {
154
- -moz-user-select: none;
155
- background-image: none;
156
- border: 1px solid transparent;
157
- border-radius: 4px;
158
- cursor: pointer;
159
- display: inline-block;
160
- font-size: 12px;
161
- font-weight: normal;
162
- line-height: 1.42857;
163
- margin-bottom: 0;
164
- padding: 6px 12px;
165
- text-align: center;
166
- vertical-align: middle;
167
- white-space: nowrap;
168
- }
169
-
170
- .b2s-btn-margin-bottom-15{
171
- margin-bottom: 1.5em;
172
- }
173
-
174
- .b2s-info-btn{
175
- font-size: 12px;
176
- }
177
-
178
- .b2s-btn-sm{
179
- padding: 4px 12px !important;
180
- }
181
-
182
- .b2s-btn-close-meta-box{
183
- padding: 0px !important;
184
- float:right;
185
- position: relative !important;
186
- }
187
- .b2s-close-icon::before {
188
- background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
189
- color: #b4b9be;
190
- content: "";
191
- display: block;
192
- font: 16px/20px dashicons;
193
- height: 20px;
194
- text-align: center;
195
- width: 20px;
196
- }
197
-
198
-
199
- .b2s-close-icon{
200
- background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
201
- border: medium none;
202
- color: #b4b9be;
203
- cursor: pointer;
204
- margin: 0;
205
- padding: 9px;
206
- position: absolute;
207
- right: 1px;
208
- top: 0;
209
- }
210
-
211
- .b2s-post-meta-box-sched-area{
212
- padding: 8px !important;
213
- border: 1px solid #ddd;
214
- }
215
-
216
- .b2s-font-bold{
217
- font-weight: 600;
218
- }
219
-
220
- .b2s-calendar-icon{
221
- padding-top: 6px;
222
- }
223
-
224
- .b2s-margin-top-5{
225
- margin-top: 5px;
226
- }
227
-
228
- .b2s-btn-label-premium {
229
- color: #fff !important;
230
- font-size: 10px !important;
231
- }
232
-
233
- .b2s-label {
234
- display: inline;
235
- padding: .2em .6em .3em;
236
- font-size: 75% !important;
237
- font-weight: bold;
238
- line-height: 1;
239
- color: #fff;
240
- text-align: center;
241
- white-space: nowrap;
242
- vertical-align: baseline;
243
- border-radius: .25em;
244
-
245
- }
246
-
247
-
1
+ .b2s-loading-area{
2
+ text-align: center;
3
+ font-size: 12px;
4
+ }
5
+ .b2s-loader-impulse{
6
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
7
+ border-radius: 100%;
8
+ margin: 0 auto;
9
+ }
10
+ .b2s-loader-impulse{
11
+ background-color: #79b331;
12
+ }
13
+
14
+ .b2s-loader-impulse-md{
15
+ height: 48px;
16
+ width: 48px;
17
+ }
18
+ @keyframes sk-pulseScaleOut {
19
+ 0% {
20
+ -webkit-transform: scale(0);
21
+ transform: scale(0); }
22
+ 100% {
23
+ -webkit-transform: scale(1);
24
+ transform: scale(1);
25
+ opacity: 0; }
26
+ }
27
+ .b2s-info-success,.b2s-info-error, .b2s-info-warning {
28
+ display:none;
29
+ padding: 5px;
30
+ margin-top:5px;
31
+ }
32
+ .b2s-info-success{
33
+ border: 1px solid green;
34
+ }
35
+
36
+ .b2s-info-error{
37
+ border: 1px solid red;
38
+ }
39
+
40
+ .b2s-info-warning{
41
+ border: 1px solid orange;
42
+ }
43
+ .b2s-meta-box-headline{
44
+ margin: 0.55em 0 !important;
45
+ font-size: 1.08em !important;
46
+ }
47
+
48
+ .b2s-meta-box-auto-post-area{
49
+ margin-top: 0.5em;
50
+ margin-bottom: 0.5em;
51
+ }
52
+
53
+
54
+ .b2s-meta-box-modal {
55
+ overflow-x: hidden;
56
+ overflow-y: auto;
57
+ content: "";
58
+ display: none;
59
+ background: rgba(0, 0, 0, 0.6);
60
+ position: fixed;
61
+ top: 0;
62
+ left: 0;
63
+ right: 0;
64
+ bottom: 0;
65
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
66
+ z-index: 1050;
67
+ }
68
+
69
+ .b2s-meta-box-modal-btn-close{
70
+ color: #000;
71
+ float: right;
72
+ font-size: 24px;
73
+ font-weight: bold;
74
+ text-decoration: none;
75
+ opacity: 0.4;
76
+ text-shadow: 0 1px 0 #fff;
77
+ background: transparent none repeat scroll 0 0;
78
+ border: 0 none;
79
+ cursor: pointer;
80
+ padding: 0;
81
+ }
82
+
83
+ .b2s-meta-box-modal-dialog{
84
+ background: #fefefe none repeat scroll 0 0;
85
+ border-radius: 5px;
86
+ width: auto;
87
+ top:10%;
88
+ max-width: 600px;
89
+ position: relative;
90
+ }
91
+
92
+ @media(max-width: 420px) {
93
+ .b2s-meta-box-modal-dialog{
94
+ margin: 10px;
95
+
96
+ }
97
+ }
98
+ @media(min-width: 421px) {
99
+ .b2s-meta-box-modal-dialog{
100
+ margin: 30px auto;
101
+ }
102
+ }
103
+
104
+
105
+ .b2s-meta-box-modal-body {
106
+ padding: 0px 15px;
107
+ }
108
+ .b2s-meta-box-modal-header {
109
+ padding: 10px 20px;
110
+ }
111
+ .b2s-meta-box-modal-header {
112
+ border-bottom: 1px solid #e5e5e5;
113
+ padding: 15px;
114
+ }
115
+ .b2s-meta-box-modal-title {
116
+ line-height: 1.42857;
117
+ font-size: 20px;
118
+ margin: 0;
119
+ }
120
+ .b2s-meta-box-modal-h4 {
121
+ line-height: 1.42857;
122
+ font-size: 20px;
123
+ margin: 0;
124
+ }
125
+ #b2s-meta-box-close {
126
+ display: none;
127
+ }
128
+
129
+ .b2s-btn-success, .b2s-label-success {
130
+ background-color: #79B232 !important;
131
+ }
132
+ .b2s-center-block {
133
+ display: block !important;
134
+ margin-left: auto;
135
+ margin-right: auto;
136
+ }
137
+ .b2s-btn-success {
138
+ background-color: #79B232 !important;
139
+ border-color: #398439 !important;
140
+ color: #fff !important;
141
+ }
142
+
143
+ .b2s-btn-primary {
144
+ color: #fff !important;
145
+ background-color: #337ab7 !important;
146
+ border-color: #2e6da4 !important;
147
+ }
148
+
149
+ .b2s-btn-none-underline{
150
+ text-decoration: none !important;
151
+ }
152
+
153
+ .b2s-btn {
154
+ -moz-user-select: none;
155
+ background-image: none;
156
+ border: 1px solid transparent;
157
+ border-radius: 4px;
158
+ cursor: pointer;
159
+ display: inline-block;
160
+ font-size: 12px;
161
+ font-weight: normal;
162
+ line-height: 1.42857;
163
+ margin-bottom: 0;
164
+ padding: 6px 12px;
165
+ text-align: center;
166
+ vertical-align: middle;
167
+ white-space: nowrap;
168
+ }
169
+
170
+ .b2s-btn-margin-bottom-15{
171
+ margin-bottom: 1.5em;
172
+ }
173
+
174
+ .b2s-info-btn{
175
+ font-size: 12px;
176
+ }
177
+
178
+ .b2s-btn-sm{
179
+ padding: 4px 12px !important;
180
+ }
181
+
182
+ .b2s-btn-close-meta-box{
183
+ padding: 0px !important;
184
+ float:right;
185
+ position: relative !important;
186
+ }
187
+ .b2s-close-icon::before {
188
+ background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
189
+ color: #b4b9be;
190
+ content: "";
191
+ display: block;
192
+ font: 16px/20px dashicons;
193
+ height: 20px;
194
+ text-align: center;
195
+ width: 20px;
196
+ }
197
+
198
+
199
+ .b2s-close-icon{
200
+ background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
201
+ border: medium none;
202
+ color: #b4b9be;
203
+ cursor: pointer;
204
+ margin: 0;
205
+ padding: 9px;
206
+ position: absolute;
207
+ right: 1px;
208
+ top: 0;
209
+ }
210
+
211
+ .b2s-post-meta-box-sched-area{
212
+ padding: 8px !important;
213
+ border: 1px solid #ddd;
214
+ }
215
+
216
+ .b2s-font-bold{
217
+ font-weight: 600;
218
+ }
219
+
220
+ .b2s-calendar-icon{
221
+ padding-top: 6px;
222
+ }
223
+
224
+ .b2s-margin-top-5{
225
+ margin-top: 5px;
226
+ }
227
+
228
+ .b2s-btn-label-premium {
229
+ color: #fff !important;
230
+ font-size: 10px !important;
231
+ }
232
+
233
+ .b2s-label {
234
+ display: inline;
235
+ padding: .2em .6em .3em;
236
+ font-size: 75% !important;
237
+ font-weight: bold;
238
+ line-height: 1;
239
+ color: #fff;
240
+ text-align: center;
241
+ white-space: nowrap;
242
+ vertical-align: baseline;
243
+ border-radius: .25em;
244
+
245
+ }
246
+
247
+
assets/css/general.css CHANGED
@@ -1,7186 +1,7192 @@
1
- article,
2
- aside,
3
- details,
4
- figcaption,
5
- figure,
6
- footer,
7
- header,
8
- hgroup,
9
- main,
10
- menu,
11
- nav,
12
- section,
13
- summary {
14
- display: block;
15
- }
16
- audio,
17
- canvas,
18
- progress,
19
- video {
20
- display: inline-block;
21
- vertical-align: baseline;
22
- }
23
- audio:not([controls]) {
24
- display: none;
25
- height: 0;
26
- }
27
- [hidden],
28
- template {
29
- display: none;
30
- }
31
- a {
32
- background-color: transparent;
33
- }
34
- a:active,
35
- a:hover {
36
- outline: 0;
37
- }
38
- abbr[title] {
39
- border-bottom: 1px dotted;
40
- }
41
- /*b,
42
- strong {
43
- font-weight: bold;
44
- }*/
45
- dfn {
46
- font-style: italic;
47
- }
48
- h1 {
49
- margin: .67em 0;
50
- font-size: 2em;
51
- }
52
- mark {
53
- color: #000;
54
- background: #ff0;
55
- }
56
- small {
57
- font-size: 80%;
58
- }
59
- sub,
60
- sup {
61
- position: relative;
62
- font-size: 75%;
63
- line-height: 0;
64
- vertical-align: baseline;
65
- }
66
- sup {
67
- top: -.5em;
68
- }
69
- sub {
70
- bottom: -.25em;
71
- }
72
- img {
73
- border: 0;
74
- }
75
- svg:not(:root) {
76
- overflow: hidden;
77
- }
78
- figure {
79
- margin: 1em 40px;
80
- }
81
- hr {
82
- height: 0;
83
- -webkit-box-sizing: content-box;
84
- -moz-box-sizing: content-box;
85
- box-sizing: content-box;
86
- }
87
- pre {
88
- overflow: auto;
89
- }
90
- code,
91
- kbd,
92
- pre,
93
- samp {
94
- font-family: monospace, monospace;
95
- font-size: 1em;
96
- }
97
- button,
98
- input,
99
- optgroup,
100
- select,
101
- textarea {
102
- margin: 0;
103
- font: inherit;
104
- color: inherit;
105
- }
106
- button {
107
- overflow: visible;
108
- }
109
- button,
110
- select {
111
- text-transform: none;
112
- }
113
- button,
114
- html input[type="button"],
115
- input[type="reset"],
116
- input[type="submit"] {
117
- -webkit-appearance: button;
118
- cursor: pointer;
119
- }
120
- button[disabled],
121
- html input[disabled] {
122
- cursor: default;
123
- }
124
- button::-moz-focus-inner,
125
- input::-moz-focus-inner {
126
- padding: 0;
127
- border: 0;
128
- }
129
- input {
130
- line-height: normal;
131
- }
132
- input[type="checkbox"],
133
- input[type="radio"] {
134
- -webkit-box-sizing: border-box;
135
- -moz-box-sizing: border-box;
136
- box-sizing: border-box;
137
- padding: 0;
138
- }
139
- input[type="number"]::-webkit-inner-spin-button,
140
- input[type="number"]::-webkit-outer-spin-button {
141
- height: auto;
142
- }
143
- input[type="search"] {
144
- -webkit-box-sizing: content-box;
145
- -moz-box-sizing: content-box;
146
- box-sizing: content-box;
147
- -webkit-appearance: textfield;
148
- }
149
- input[type="search"]::-webkit-search-cancel-button,
150
- input[type="search"]::-webkit-search-decoration {
151
- -webkit-appearance: none;
152
- }
153
- fieldset {
154
- padding: .35em .625em .75em;
155
- margin: 0 2px;
156
- border: 1px solid #c0c0c0;
157
- }
158
- legend {
159
- padding: 0;
160
- border: 0;
161
- }
162
- textarea {
163
- overflow: auto;
164
- }
165
- optgroup {
166
- font-weight: bold;
167
- }
168
- table {
169
- border-spacing: 0;
170
- border-collapse: collapse;
171
- }
172
- td,
173
- th {
174
- padding: 0;
175
- }
176
-
177
- @media print {
178
- *,
179
- *:before,
180
- *:after {
181
- color: #000 !important;
182
- text-shadow: none !important;
183
- background: transparent !important;
184
- -webkit-box-shadow: none !important;
185
- box-shadow: none !important;
186
- }
187
- a,
188
- a:visited {
189
- text-decoration: underline;
190
- }
191
- a[href]:after {
192
- content: " (" attr(href) ")";
193
- }
194
- abbr[title]:after {
195
- content: " (" attr(title) ")";
196
- }
197
- a[href^="#"]:after,
198
- a[href^="javascript:"]:after {
199
- content: "";
200
- }
201
- pre,
202
- blockquote {
203
- border: 1px solid #999;
204
-
205
- page-break-inside: avoid;
206
- }
207
- thead {
208
- display: table-header-group;
209
- }
210
- tr,
211
- img {
212
- page-break-inside: avoid;
213
- }
214
- img {
215
- max-width: 100% !important;
216
- }
217
- p,
218
- h2,
219
- h3 {
220
- orphans: 3;
221
- widows: 3;
222
- }
223
- h2,
224
- h3 {
225
- page-break-after: avoid;
226
- }
227
- .navbar {
228
- display: none;
229
- }
230
- .btn > .caret,
231
- .dropup > .btn > .caret {
232
- border-top-color: #000 !important;
233
- }
234
- .label {
235
- border: 1px solid #000;
236
- }
237
- .table {
238
- border-collapse: collapse !important;
239
- }
240
- .table td,
241
- .table th {
242
- background-color: #fff !important;
243
- }
244
- .table-bordered th,
245
- .table-bordered td {
246
- border: 1px solid #ddd !important;
247
- }
248
- }
249
- @font-face {
250
- font-family: 'Glyphicons Halflings';
251
-
252
- src: url('../fonts/glyphicons-halflings-regular.eot');
253
- src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
254
- }
255
- .glyphicon {
256
- position: relative;
257
- top: 1px;
258
- display: inline-block;
259
- font-family: 'Glyphicons Halflings';
260
- font-style: normal;
261
- font-weight: normal;
262
- line-height: 1;
263
-
264
- -webkit-font-smoothing: antialiased;
265
- -moz-osx-font-smoothing: grayscale;
266
- }
267
- .glyphicon-asterisk:before {
268
- content: "\002a";
269
- }
270
- .glyphicon-plus:before {
271
- content: "\002b";
272
- }
273
- .glyphicon-euro:before,
274
- .glyphicon-eur:before {
275
- content: "\20ac";
276
- }
277
- .glyphicon-minus:before {
278
- content: "\2212";
279
- }
280
- .glyphicon-cloud:before {
281
- content: "\2601";
282
- }
283
- .glyphicon-envelope:before {
284
- content: "\2709";
285
- }
286
- .glyphicon-pencil:before {
287
- content: "\270f";
288
- }
289
- .glyphicon-glass:before {
290
- content: "\e001";
291
- }
292
- .glyphicon-music:before {
293
- content: "\e002";
294
- }
295
- .glyphicon-search:before {
296
- content: "\e003";
297
- }
298
- .glyphicon-heart:before {
299
- content: "\e005";
300
- }
301
- .glyphicon-star:before {
302
- content: "\e006";
303
- }
304
- .glyphicon-star-empty:before {
305
- content: "\e007";
306
- }
307
- .glyphicon-user:before {
308
- content: "\e008";
309
- }
310
- .glyphicon-film:before {
311
- content: "\e009";
312
- }
313
- .glyphicon-th-large:before {
314
- content: "\e010";
315
- }
316
- .glyphicon-th:before {
317
- content: "\e011";
318
- }
319
- .glyphicon-th-list:before {
320
- content: "\e012";
321
- }
322
- .glyphicon-ok:before {
323
- content: "\e013";
324
- }
325
- .glyphicon-remove:before {
326
- content: "\e014";
327
- }
328
- .glyphicon-zoom-in:before {
329
- content: "\e015";
330
- }
331
- .glyphicon-zoom-out:before {
332
- content: "\e016";
333
- }
334
- .glyphicon-off:before {
335
- content: "\e017";
336
- }
337
- .glyphicon-signal:before {
338
- content: "\e018";
339
- }
340
- .glyphicon-cog:before {
341
- content: "\e019";
342
- }
343
- .glyphicon-trash:before {
344
- content: "\e020";
345
- }
346
- .glyphicon-home:before {
347
- content: "\e021";
348
- }
349
- .glyphicon-file:before {
350
- content: "\e022";
351
- }
352
- .glyphicon-time:before {
353
- content: "\e023";
354
- }
355
- .glyphicon-road:before {
356
- content: "\e024";
357
- }
358
- .glyphicon-download-alt:before {
359
- content: "\e025";
360
- }
361
- .glyphicon-download:before {
362
- content: "\e026";
363
- }
364
- .glyphicon-upload:before {
365
- content: "\e027";
366
- }
367
- .glyphicon-inbox:before {
368
- content: "\e028";
369
- }
370
- .glyphicon-play-circle:before {
371
- content: "\e029";
372
- }
373
- .glyphicon-repeat:before {
374
- content: "\e030";
375
- }
376
- .glyphicon-refresh:before {
377
- content: "\e031";
378
- }
379
- .glyphicon-list-alt:before {
380
- content: "\e032";
381
- }
382
- .glyphicon-lock:before {
383
- content: "\e033";
384
- }
385
- .glyphicon-flag:before {
386
- content: "\e034";
387
- }
388
- .glyphicon-headphones:before {
389
- content: "\e035";
390
- }
391
- .glyphicon-volume-off:before {
392
- content: "\e036";
393
- }
394
- .glyphicon-volume-down:before {
395
- content: "\e037";
396
- }
397
- .glyphicon-volume-up:before {
398
- content: "\e038";
399
- }
400
- .glyphicon-qrcode:before {
401
- content: "\e039";
402
- }
403
- .glyphicon-barcode:before {
404
- content: "\e040";
405
- }
406
- .glyphicon-tag:before {
407
- content: "\e041";
408
- }
409
- .glyphicon-tags:before {
410
- content: "\e042";
411
- }
412
- .glyphicon-book:before {
413
- content: "\e043";
414
- }
415
- .glyphicon-bookmark:before {
416
- content: "\e044";
417
- }
418
- .glyphicon-print:before {
419
- content: "\e045";
420
- }
421
- .glyphicon-camera:before {
422
- content: "\e046";
423
- }
424
- .glyphicon-font:before {
425
- content: "\e047";
426
- }
427
- .glyphicon-bold:before {
428
- content: "\e048";
429
- }
430
- .glyphicon-italic:before {
431
- content: "\e049";
432
- }
433
- .glyphicon-text-height:before {
434
- content: "\e050";
435
- }
436
- .glyphicon-text-width:before {
437
- content: "\e051";
438
- }
439
- .glyphicon-align-left:before {
440
- content: "\e052";
441
- }
442
- .glyphicon-align-center:before {
443
- content: "\e053";
444
- }
445
- .glyphicon-align-right:before {
446
- content: "\e054";
447
- }
448
- .glyphicon-align-justify:before {
449
- content: "\e055";
450
- }
451
- .glyphicon-list:before {
452
- content: "\e056";
453
- }
454
- .glyphicon-indent-left:before {
455
- content: "\e057";
456
- }
457
- .glyphicon-indent-right:before {
458
- content: "\e058";
459
- }
460
- .glyphicon-facetime-video:before {
461
- content: "\e059";
462
- }
463
- .glyphicon-picture:before {
464
- content: "\e060";
465
- }
466
- .glyphicon-map-marker:before {
467
- content: "\e062";
468
- }
469
- .glyphicon-adjust:before {
470
- content: "\e063";
471
- }
472
- .glyphicon-tint:before {
473
- content: "\e064";
474
- }
475
- .glyphicon-edit:before {
476
- content: "\e065";
477
- }
478
- .glyphicon-share:before {
479
- content: "\e066";
480
- }
481
- .glyphicon-check:before {
482
- content: "\e067";
483
- }
484
- .glyphicon-move:before {
485
- content: "\e068";
486
- }
487
- .glyphicon-step-backward:before {
488
- content: "\e069";
489
- }
490
- .glyphicon-fast-backward:before {
491
- content: "\e070";
492
- }
493
- .glyphicon-backward:before {
494
- content: "\e071";
495
- }
496
- .glyphicon-play:before {
497
- content: "\e072";
498
- }
499
- .glyphicon-pause:before {
500
- content: "\e073";
501
- }
502
- .glyphicon-stop:before {
503
- content: "\e074";
504
- }
505
- .glyphicon-forward:before {
506
- content: "\e075";
507
- }
508
- .glyphicon-fast-forward:before {
509
- content: "\e076";
510
- }
511
- .glyphicon-step-forward:before {
512
- content: "\e077";
513
- }
514
- .glyphicon-eject:before {
515
- content: "\e078";
516
- }
517
- .glyphicon-chevron-left:before {
518
- content: "\e079";
519
- }
520
- .glyphicon-chevron-right:before {
521
- content: "\e080";
522
- }
523
- .glyphicon-plus-sign:before {
524
- content: "\e081";
525
- }
526
- .glyphicon-minus-sign:before {
527
- content: "\e082";
528
- }
529
- .glyphicon-remove-sign:before {
530
- content: "\e083";
531
- }
532
- .glyphicon-ok-sign:before {
533
- content: "\e084";
534
- }
535
- .glyphicon-question-sign:before {
536
- content: "\e085";
537
- }
538
- .glyphicon-info-sign:before {
539
- content: "\e086";
540
- }
541
- .glyphicon-screenshot:before {
542
- content: "\e087";
543
- }
544
- .glyphicon-remove-circle:before {
545
- content: "\e088";
546
- }
547
- .glyphicon-ok-circle:before {
548
- content: "\e089";
549
- }
550
- .glyphicon-ban-circle:before {
551
- content: "\e090";
552
- }
553
- .glyphicon-arrow-left:before {
554
- content: "\e091";
555
- }
556
- .glyphicon-arrow-right:before {
557
- content: "\e092";
558
- }
559
- .glyphicon-arrow-up:before {
560
- content: "\e093";
561
- }
562
- .glyphicon-arrow-down:before {
563
- content: "\e094";
564
- }
565
- .glyphicon-share-alt:before {
566
- content: "\e095";
567
- }
568
- .glyphicon-resize-full:before {
569
- content: "\e096";
570
- }
571
- .glyphicon-resize-small:before {
572
- content: "\e097";
573
- }
574
- .glyphicon-exclamation-sign:before {
575
- content: "\e101";
576
- }
577
- .glyphicon-gift:before {
578
- content: "\e102";
579
- }
580
- .glyphicon-leaf:before {
581
- content: "\e103";
582
- }
583
- .glyphicon-fire:before {
584
- content: "\e104";
585
- }
586
- .glyphicon-eye-open:before {
587
- content: "\e105";
588
- }
589
- .glyphicon-eye-close:before {
590
- content: "\e106";
591
- }
592
- .glyphicon-warning-sign:before {
593
- content: "\e107";
594
- }
595
- .glyphicon-plane:before {
596
- content: "\e108";
597
- }
598
- .glyphicon-calendar:before {
599
- content: "\e109";
600
- }
601
- .glyphicon-random:before {
602
- content: "\e110";
603
- }
604
- .glyphicon-comment:before {
605
- content: "\e111";
606
- }
607
- .glyphicon-magnet:before {
608
- content: "\e112";
609
- }
610
- .glyphicon-chevron-up:before {
611
- content: "\e113";
612
- }
613
- .glyphicon-chevron-down:before {
614
- content: "\e114";
615
- }
616
- .glyphicon-retweet:before {
617
- content: "\e115";
618
- }
619
- .glyphicon-shopping-cart:before {
620
- content: "\e116";
621
- }
622
- .glyphicon-folder-close:before {
623
- content: "\e117";
624
- }
625
- .glyphicon-folder-open:before {
626
- content: "\e118";
627
- }
628
- .glyphicon-resize-vertical:before {
629
- content: "\e119";
630
- }
631
- .glyphicon-resize-horizontal:before {
632
- content: "\e120";
633
- }
634
- .glyphicon-hdd:before {
635
- content: "\e121";
636
- }
637
- .glyphicon-bullhorn:before {
638
- content: "\e122";
639
- }
640
- .glyphicon-bell:before {
641
- content: "\e123";
642
- }
643
- .glyphicon-certificate:before {
644
- content: "\e124";
645
- }
646
- .glyphicon-thumbs-up:before {
647
- content: "\e125";
648
- }
649
- .glyphicon-thumbs-down:before {
650
- content: "\e126";
651
- }
652
- .glyphicon-hand-right:before {
653
- content: "\e127";
654
- }
655
- .glyphicon-hand-left:before {
656
- content: "\e128";
657
- }
658
- .glyphicon-hand-up:before {
659
- content: "\e129";
660
- }
661
- .glyphicon-hand-down:before {
662
- content: "\e130";
663
- }
664
- .glyphicon-circle-arrow-right:before {
665
- content: "\e131";
666
- }
667
- .glyphicon-circle-arrow-left:before {
668
- content: "\e132";
669
- }
670
- .glyphicon-circle-arrow-up:before {
671
- content: "\e133";
672
- }
673
- .glyphicon-circle-arrow-down:before {
674
- content: "\e134";
675
- }
676
- .glyphicon-globe:before {
677
- content: "\e135";
678
- }
679
- .glyphicon-wrench:before {
680
- content: "\e136";
681
- }
682
- .glyphicon-tasks:before {
683
- content: "\e137";
684
- }
685
- .glyphicon-filter:before {
686
- content: "\e138";
687
- }
688
- .glyphicon-briefcase:before {
689
- content: "\e139";
690
- }
691
- .glyphicon-fullscreen:before {
692
- content: "\e140";
693
- }
694
- .glyphicon-dashboard:before {
695
- content: "\e141";
696
- }
697
- .glyphicon-paperclip:before {
698
- content: "\e142";
699
- }
700
- .glyphicon-heart-empty:before {
701
- content: "\e143";
702
- }
703
- .glyphicon-link:before {
704
- content: "\e144";
705
- }
706
- .glyphicon-phone:before {
707
- content: "\e145";
708
- }
709
- .glyphicon-pushpin:before {
710
- content: "\e146";
711
- }
712
- .glyphicon-usd:before {
713
- content: "\e148";
714
- }
715
- .glyphicon-gbp:before {
716
- content: "\e149";
717
- }
718
- .glyphicon-sort:before {
719
- content: "\e150";
720
- }
721
- .glyphicon-sort-by-alphabet:before {
722
- content: "\e151";
723
- }
724
- .glyphicon-sort-by-alphabet-alt:before {
725
- content: "\e152";
726
- }
727
- .glyphicon-sort-by-order:before {
728
- content: "\e153";
729
- }
730
- .glyphicon-sort-by-order-alt:before {
731
- content: "\e154";
732
- }
733
- .glyphicon-sort-by-attributes:before {
734
- content: "\e155";
735
- }
736
- .glyphicon-sort-by-attributes-alt:before {
737
- content: "\e156";
738
- }
739
- .glyphicon-unchecked:before {
740
- content: "\e157";
741
- }
742
- .glyphicon-expand:before {
743
- content: "\e158";
744
- }
745
- .glyphicon-collapse-down:before {
746
- content: "\e159";
747
- }
748
- .glyphicon-collapse-up:before {
749
- content: "\e160";
750
- }
751
- .glyphicon-log-in:before {
752
- content: "\e161";
753
- }
754
- .glyphicon-flash:before {
755
- content: "\e162";
756
- }
757
- .glyphicon-log-out:before {
758
- content: "\e163";
759
- }
760
- .glyphicon-new-window:before {
761
- content: "\e164";
762
- }
763
- .glyphicon-record:before {
764
- content: "\e165";
765
- }
766
- .glyphicon-save:before {
767
- content: "\e166";
768
- }
769
- .glyphicon-open:before {
770
- content: "\e167";
771
- }
772
- .glyphicon-saved:before {
773
- content: "\e168";
774
- }
775
- .glyphicon-import:before {
776
- content: "\e169";
777
- }
778
- .glyphicon-export:before {
779
- content: "\e170";
780
- }
781
- .glyphicon-send:before {
782
- content: "\e171";
783
- }
784
- .glyphicon-floppy-disk:before {
785
- content: "\e172";
786
- }
787
- .glyphicon-floppy-saved:before {
788
- content: "\e173";
789
- }
790
- .glyphicon-floppy-remove:before {
791
- content: "\e174";
792
- }
793
- .glyphicon-floppy-save:before {
794
- content: "\e175";
795
- }
796
- .glyphicon-floppy-open:before {
797
- content: "\e176";
798
- }
799
- .glyphicon-credit-card:before {
800
- content: "\e177";
801
- }
802
- .glyphicon-transfer:before {
803
- content: "\e178";
804
- }
805
- .glyphicon-cutlery:before {
806
- content: "\e179";
807
- }
808
- .glyphicon-header:before {
809
- content: "\e180";
810
- }
811
- .glyphicon-compressed:before {
812
- content: "\e181";
813
- }
814
- .glyphicon-earphone:before {
815
- content: "\e182";
816
- }
817
- .glyphicon-phone-alt:before {
818
- content: "\e183";
819
- }
820
- .glyphicon-tower:before {
821
- content: "\e184";
822
- }
823
- .glyphicon-stats:before {
824
- content: "\e185";
825
- }
826
- .glyphicon-sd-video:before {
827
- content: "\e186";
828
- }
829
- .glyphicon-hd-video:before {
830
- content: "\e187";
831
- }
832
- .glyphicon-subtitles:before {
833
- content: "\e188";
834
- }
835
- .glyphicon-sound-stereo:before {
836
- content: "\e189";
837
- }
838
- .glyphicon-sound-dolby:before {
839
- content: "\e190";
840
- }
841
- .glyphicon-sound-5-1:before {
842
- content: "\e191";
843
- }
844
- .glyphicon-sound-6-1:before {
845
- content: "\e192";
846
- }
847
- .glyphicon-sound-7-1:before {
848
- content: "\e193";
849
- }
850
- .glyphicon-copyright-mark:before {
851
- content: "\e194";
852
- }
853
- .glyphicon-registration-mark:before {
854
- content: "\e195";
855
- }
856
- .glyphicon-cloud-download:before {
857
- content: "\e197";
858
- }
859
- .glyphicon-cloud-upload:before {
860
- content: "\e198";
861
- }
862
- .glyphicon-tree-conifer:before {
863
- content: "\e199";
864
- }
865
- .glyphicon-tree-deciduous:before {
866
- content: "\e200";
867
- }
868
- .glyphicon-cd:before {
869
- content: "\e201";
870
- }
871
- .glyphicon-save-file:before {
872
- content: "\e202";
873
- }
874
- .glyphicon-open-file:before {
875
- content: "\e203";
876
- }
877
- .glyphicon-level-up:before {
878
- content: "\e204";
879
- }
880
- .glyphicon-copy:before {
881
- content: "\e205";
882
- }
883
- .glyphicon-paste:before {
884
- content: "\e206";
885
- }
886
- .glyphicon-alert:before {
887
- content: "\e209";
888
- }
889
- .glyphicon-equalizer:before {
890
- content: "\e210";
891
- }
892
- .glyphicon-king:before {
893
- content: "\e211";
894
- }
895
- .glyphicon-queen:before {
896
- content: "\e212";
897
- }
898
- .glyphicon-pawn:before {
899
- content: "\e213";
900
- }
901
- .glyphicon-bishop:before {
902
- content: "\e214";
903
- }
904
- .glyphicon-knight:before {
905
- content: "\e215";
906
- }
907
- .glyphicon-baby-formula:before {
908
- content: "\e216";
909
- }
910
- .glyphicon-tent:before {
911
- content: "\26fa";
912
- }
913
- .glyphicon-blackboard:before {
914
- content: "\e218";
915
- }
916
- .glyphicon-bed:before {
917
- content: "\e219";
918
- }
919
- .glyphicon-apple:before {
920
- content: "\f8ff";
921
- }
922
- .glyphicon-erase:before {
923
- content: "\e221";
924
- }
925
- .glyphicon-hourglass:before {
926
- content: "\231b";
927
- }
928
- .glyphicon-lamp:before {
929
- content: "\e223";
930
- }
931
- .glyphicon-duplicate:before {
932
- content: "\e224";
933
- }
934
- .glyphicon-piggy-bank:before {
935
- content: "\e225";
936
- }
937
- .glyphicon-scissors:before {
938
- content: "\e226";
939
- }
940
- .glyphicon-bitcoin:before {
941
- content: "\e227";
942
- }
943
- .glyphicon-btc:before {
944
- content: "\e227";
945
- }
946
- .glyphicon-xbt:before {
947
- content: "\e227";
948
- }
949
- .glyphicon-yen:before {
950
- content: "\00a5";
951
- }
952
- .glyphicon-jpy:before {
953
- content: "\00a5";
954
- }
955
- .glyphicon-ruble:before {
956
- content: "\20bd";
957
- }
958
- .glyphicon-rub:before {
959
- content: "\20bd";
960
- }
961
- .glyphicon-scale:before {
962
- content: "\e230";
963
- }
964
- .glyphicon-ice-lolly:before {
965
- content: "\e231";
966
- }
967
- .glyphicon-ice-lolly-tasted:before {
968
- content: "\e232";
969
- }
970
- .glyphicon-education:before {
971
- content: "\e233";
972
- }
973
- .glyphicon-option-horizontal:before {
974
- content: "\e234";
975
- }
976
- .glyphicon-option-vertical:before {
977
- content: "\e235";
978
- }
979
- .glyphicon-menu-hamburger:before {
980
- content: "\e236";
981
- }
982
- .glyphicon-modal-window:before {
983
- content: "\e237";
984
- }
985
- .glyphicon-oil:before {
986
- content: "\e238";
987
- }
988
- .glyphicon-grain:before {
989
- content: "\e239";
990
- }
991
- .glyphicon-sunglasses:before {
992
- content: "\e240";
993
- }
994
- .glyphicon-text-size:before {
995
- content: "\e241";
996
- }
997
- .glyphicon-text-color:before {
998
- content: "\e242";
999
- }
1000
- .glyphicon-text-background:before {
1001
- content: "\e243";
1002
- }
1003
- .glyphicon-object-align-top:before {
1004
- content: "\e244";
1005
- }
1006
- .glyphicon-object-align-bottom:before {
1007
- content: "\e245";
1008
- }
1009
- .glyphicon-object-align-horizontal:before {
1010
- content: "\e246";
1011
- }
1012
- .glyphicon-object-align-left:before {
1013
- content: "\e247";
1014
- }
1015
- .glyphicon-object-align-vertical:before {
1016
- content: "\e248";
1017
- }
1018
- .glyphicon-object-align-right:before {
1019
- content: "\e249";
1020
- }
1021
- .glyphicon-triangle-right:before {
1022
- content: "\e250";
1023
- }
1024
- .glyphicon-triangle-left:before {
1025
- content: "\e251";
1026
- }
1027
- .glyphicon-triangle-bottom:before {
1028
- content: "\e252";
1029
- }
1030
- .glyphicon-triangle-top:before {
1031
- content: "\e253";
1032
- }
1033
- .glyphicon-console:before {
1034
- content: "\e254";
1035
- }
1036
- .glyphicon-superscript:before {
1037
- content: "\e255";
1038
- }
1039
- .glyphicon-subscript:before {
1040
- content: "\e256";
1041
- }
1042
- .glyphicon-menu-left:before {
1043
- content: "\e257";
1044
- }
1045
- .glyphicon-menu-right:before {
1046
- content: "\e258";
1047
- }
1048
- .glyphicon-menu-down:before {
1049
- content: "\e259";
1050
- }
1051
- .glyphicon-menu-up:before {
1052
- content: "\e260";
1053
- }
1054
- * {
1055
- -webkit-box-sizing: border-box;
1056
- -moz-box-sizing: border-box;
1057
- box-sizing: border-box;
1058
- }
1059
- *:before,
1060
- *:after {
1061
- -webkit-box-sizing: border-box;
1062
- -moz-box-sizing: border-box;
1063
- box-sizing: border-box;
1064
- }
1065
- /*html {
1066
- font-size: 10px;
1067
-
1068
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
1069
- }
1070
- body {
1071
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
1072
- font-size: 14px;
1073
- line-height: 1.42857143;
1074
- color: #333;
1075
- background-color: #fff;
1076
- }*/
1077
- input,
1078
- button,
1079
- select,
1080
- textarea {
1081
- font-family: inherit;
1082
- font-size: inherit;
1083
- line-height: inherit;
1084
- }
1085
- a {
1086
- color: #337ab7;
1087
- text-decoration: none;
1088
- }
1089
- a:hover,
1090
- a:focus {
1091
- color: #23527c;
1092
- text-decoration: underline;
1093
- }
1094
- a:focus {
1095
- outline: 5px auto -webkit-focus-ring-color;
1096
- outline-offset: -2px;
1097
- }
1098
- figure {
1099
- margin: 0;
1100
- }
1101
- img {
1102
- vertical-align: middle;
1103
- }
1104
- .img-responsive,
1105
- .thumbnail > img,
1106
- .thumbnail a > img,
1107
- .carousel-inner > .item > img,
1108
- .carousel-inner > .item > a > img {
1109
- display: block;
1110
- max-width: 100%;
1111
- height: auto;
1112
- }
1113
- .img-rounded {
1114
- border-radius: 6px;
1115
- }
1116
- .img-thumbnail {
1117
- display: inline-block;
1118
- max-width: 100%;
1119
- height: auto;
1120
- padding: 4px;
1121
- line-height: 1.42857143;
1122
- background-color: #fff;
1123
- border: 1px solid #ddd;
1124
- border-radius: 4px;
1125
- -webkit-transition: all .2s ease-in-out;
1126
- -o-transition: all .2s ease-in-out;
1127
- transition: all .2s ease-in-out;
1128
- }
1129
- .img-circle {
1130
- border-radius: 50%;
1131
- }
1132
- hr {
1133
- margin-top: 20px;
1134
- margin-bottom: 20px;
1135
- border: 0;
1136
- border-top: 1px solid #eee;
1137
- }
1138
- .sr-only {
1139
- position: absolute;
1140
- width: 1px;
1141
- height: 1px;
1142
- padding: 0;
1143
- margin: -1px;
1144
- overflow: hidden;
1145
- clip: rect(0, 0, 0, 0);
1146
- border: 0;
1147
- }
1148
- .sr-only-focusable:active,
1149
- .sr-only-focusable:focus {
1150
- position: static;
1151
- width: auto;
1152
- height: auto;
1153
- margin: 0;
1154
- overflow: visible;
1155
- clip: auto;
1156
- }
1157
- [role="button"] {
1158
- cursor: pointer;
1159
- }
1160
- h1,
1161
- h2,
1162
- h3,
1163
- h4,
1164
- h5,
1165
- h6,
1166
- .h1,
1167
- .h2,
1168
- .h3,
1169
- .h4,
1170
- .h5,
1171
- .h6 {
1172
- font-family: inherit;
1173
- font-weight: 500;
1174
- line-height: 1.1;
1175
- color: inherit;
1176
- }
1177
- h1 small,
1178
- h2 small,
1179
- h3 small,
1180
- h4 small,
1181
- h5 small,
1182
- h6 small,
1183
- .h1 small,
1184
- .h2 small,
1185
- .h3 small,
1186
- .h4 small,
1187
- .h5 small,
1188
- .h6 small,
1189
- h1 .small,
1190
- h2 .small,
1191
- h3 .small,
1192
- h4 .small,
1193
- h5 .small,
1194
- h6 .small,
1195
- .h1 .small,
1196
- .h2 .small,
1197
- .h3 .small,
1198
- .h4 .small,
1199
- .h5 .small,
1200
- .h6 .small {
1201
- font-weight: normal;
1202
- line-height: 1;
1203
- color: #777;
1204
- }
1205
- h1,
1206
- .h1,
1207
- h2,
1208
- .h2,
1209
- h3,
1210
- .h3 {
1211
- margin-top: 20px;
1212
- margin-bottom: 10px;
1213
- }
1214
- h1 small,
1215
- .h1 small,
1216
- h2 small,
1217
- .h2 small,
1218
- h3 small,
1219
- .h3 small,
1220
- h1 .small,
1221
- .h1 .small,
1222
- h2 .small,
1223
- .h2 .small,
1224
- h3 .small,
1225
- .h3 .small {
1226
- font-size: 65%;
1227
- }
1228
- h4,
1229
- .h4,
1230
- h5,
1231
- .h5,
1232
- h6,
1233
- .h6 {
1234
- margin-top: 10px;
1235
- margin-bottom: 10px;
1236
- }
1237
- h4 small,
1238
- .h4 small,
1239
- h5 small,
1240
- .h5 small,
1241
- h6 small,
1242
- .h6 small,
1243
- h4 .small,
1244
- .h4 .small,
1245
- h5 .small,
1246
- .h5 .small,
1247
- h6 .small,
1248
- .h6 .small {
1249
- font-size: 75%;
1250
- }
1251
- h1,
1252
- .h1 {
1253
- font-size: 36px;
1254
- }
1255
- h2,
1256
- .h2 {
1257
- font-size: 30px;
1258
- }
1259
- h3,
1260
- .h3 {
1261
- font-size: 24px;
1262
- }
1263
- h4,
1264
- .h4 {
1265
- font-size: 18px;
1266
- }
1267
- h5,
1268
- .h5 {
1269
- font-size: 14px;
1270
- }
1271
- h6,
1272
- .h6 {
1273
- font-size: 12px;
1274
- }
1275
- p {
1276
- margin: 0 0 10px;
1277
- }
1278
- .lead {
1279
- margin-bottom: 20px;
1280
- font-size: 16px;
1281
- font-weight: 300;
1282
- line-height: 1.4;
1283
- }
1284
- @media (min-width: 768px) {
1285
- .lead {
1286
- font-size: 21px;
1287
- }
1288
- }
1289
- small,
1290
- .small {
1291
- font-size: 85%;
1292
- }
1293
- mark,
1294
- .mark {
1295
- padding: .2em;
1296
- background-color: #fcf8e3;
1297
- }
1298
- .text-left {
1299
- text-align: left;
1300
- }
1301
- .text-right {
1302
- text-align: right;
1303
- }
1304
- .text-center {
1305
- text-align: center;
1306
- }
1307
- .text-justify {
1308
- text-align: justify;
1309
- }
1310
- .text-nowrap {
1311
- white-space: nowrap;
1312
- }
1313
- .text-lowercase {
1314
- text-transform: lowercase;
1315
- }
1316
- .text-uppercase {
1317
- text-transform: uppercase;
1318
- }
1319
- .text-capitalize {
1320
- text-transform: capitalize;
1321
- }
1322
- .text-muted {
1323
- color: #777;
1324
- }
1325
- .text-primary {
1326
- color: #337ab7;
1327
- }
1328
- a.text-primary:hover,
1329
- a.text-primary:focus {
1330
- color: #286090;
1331
- }
1332
- .text-success {
1333
- color: #3c763d;
1334
- }
1335
- a.text-success:hover,
1336
- a.text-success:focus {
1337
- color: #2b542c;
1338
- }
1339
- .text-info {
1340
- color: #31708f;
1341
- }
1342
- a.text-info:hover,
1343
- a.text-info:focus {
1344
- color: #245269;
1345
- }
1346
- .text-warning {
1347
- color: #8a6d3b;
1348
- }
1349
- a.text-warning:hover,
1350
- a.text-warning:focus {
1351
- color: #66512c;
1352
- }
1353
- .text-danger {
1354
- color: #a94442;
1355
- }
1356
- a.text-danger:hover,
1357
- a.text-danger:focus {
1358
- color: #843534;
1359
- }
1360
- .bg-primary {
1361
- color: #fff;
1362
- background-color: #337ab7;
1363
- }
1364
- a.bg-primary:hover,
1365
- a.bg-primary:focus {
1366
- background-color: #286090;
1367
- }
1368
- .bg-success {
1369
- background-color: #dff0d8;
1370
- }
1371
- a.bg-success:hover,
1372
- a.bg-success:focus {
1373
- background-color: #c1e2b3;
1374
- }
1375
- .bg-info {
1376
- background-color: #d9edf7;
1377
- }
1378
- a.bg-info:hover,
1379
- a.bg-info:focus {
1380
- background-color: #afd9ee;
1381
- }
1382
- .bg-warning {
1383
- background-color: #fcf8e3;
1384
- }
1385
- a.bg-warning:hover,
1386
- a.bg-warning:focus {
1387
- background-color: #f7ecb5;
1388
- }
1389
- .bg-danger {
1390
- background-color: #f2dede;
1391
- }
1392
- a.bg-danger:hover,
1393
- a.bg-danger:focus {
1394
- background-color: #e4b9b9;
1395
- }
1396
- .page-header {
1397
- padding-bottom: 9px;
1398
- margin: 40px 0 20px;
1399
- border-bottom: 1px solid #eee;
1400
- }
1401
- ul,
1402
- ol {
1403
- margin-top: 0;
1404
- margin-bottom: 10px;
1405
- }
1406
- ul ul,
1407
- ol ul,
1408
- ul ol,
1409
- ol ol {
1410
- margin-bottom: 0;
1411
- }
1412
- .list-unstyled {
1413
- padding-left: 0;
1414
- list-style: none;
1415
- }
1416
- .list-inline {
1417
- padding-left: 0;
1418
- margin-left: -5px;
1419
- list-style: none;
1420
- }
1421
- .list-inline > li {
1422
- display: inline-block;
1423
- padding-right: 5px;
1424
- padding-left: 5px;
1425
- }
1426
- dl {
1427
- margin-top: 0;
1428
- margin-bottom: 20px;
1429
- }
1430
- dt,
1431
- dd {
1432
- line-height: 1.42857143;
1433
- }
1434
- dt {
1435
- font-weight: bold;
1436
- }
1437
- dd {
1438
- margin-left: 0;
1439
- }
1440
- @media (min-width: 768px) {
1441
- .dl-horizontal dt {
1442
- float: left;
1443
- width: 160px;
1444
- overflow: hidden;
1445
- clear: left;
1446
- text-align: right;
1447
- text-overflow: ellipsis;
1448
- white-space: nowrap;
1449
- }
1450
- .dl-horizontal dd {
1451
- margin-left: 180px;
1452
- }
1453
- }
1454
- abbr[title],
1455
- abbr[data-original-title] {
1456
- cursor: help;
1457
- border-bottom: 1px dotted #777;
1458
- }
1459
- .initialism {
1460
- font-size: 90%;
1461
- text-transform: uppercase;
1462
- }
1463
- blockquote {
1464
- padding: 10px 20px;
1465
- margin: 0 0 20px;
1466
- font-size: 17.5px;
1467
- border-left: 5px solid #eee;
1468
- }
1469
- blockquote p:last-child,
1470
- blockquote ul:last-child,
1471
- blockquote ol:last-child {
1472
- margin-bottom: 0;
1473
- }
1474
- blockquote footer,
1475
- blockquote small,
1476
- blockquote .small {
1477
- display: block;
1478
- font-size: 80%;
1479
- line-height: 1.42857143;
1480
- color: #777;
1481
- }
1482
- blockquote footer:before,
1483
- blockquote small:before,
1484
- blockquote .small:before {
1485
- content: '\2014 \00A0';
1486
- }
1487
- .blockquote-reverse,
1488
- blockquote.pull-right {
1489
- padding-right: 15px;
1490
- padding-left: 0;
1491
- text-align: right;
1492
- border-right: 5px solid #eee;
1493
- border-left: 0;
1494
- }
1495
- .blockquote-reverse footer:before,
1496
- blockquote.pull-right footer:before,
1497
- .blockquote-reverse small:before,
1498
- blockquote.pull-right small:before,
1499
- .blockquote-reverse .small:before,
1500
- blockquote.pull-right .small:before {
1501
- content: '';
1502
- }
1503
- .blockquote-reverse footer:after,
1504
- blockquote.pull-right footer:after,
1505
- .blockquote-reverse small:after,
1506
- blockquote.pull-right small:after,
1507
- .blockquote-reverse .small:after,
1508
- blockquote.pull-right .small:after {
1509
- content: '\00A0 \2014';
1510
- }
1511
- address {
1512
- margin-bottom: 20px;
1513
- font-style: normal;
1514
- line-height: 1.42857143;
1515
- }
1516
- code,
1517
- kbd,
1518
- pre,
1519
- samp {
1520
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1521
- }
1522
- code {
1523
- padding: 2px 4px;
1524
- font-size: 90%;
1525
- color: #000;
1526
- background-color: #EEEEEE;
1527
- border-radius: 4px;
1528
- }
1529
- kbd {
1530
- padding: 2px 4px;
1531
- font-size: 90%;
1532
- color: #fff;
1533
- background-color: #333;
1534
- border-radius: 3px;
1535
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
1536
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
1537
- }
1538
- kbd kbd {
1539
- padding: 0;
1540
- font-size: 100%;
1541
- font-weight: bold;
1542
- -webkit-box-shadow: none;
1543
- box-shadow: none;
1544
- }
1545
- pre {
1546
- display: block;
1547
- padding: 9.5px;
1548
- margin: 0 0 10px;
1549
- font-size: 13px;
1550
- line-height: 1.42857143;
1551
- color: #333;
1552
- word-break: break-all;
1553
- word-wrap: break-word;
1554
- background-color: #f5f5f5;
1555
- border: 1px solid #ccc;
1556
- border-radius: 4px;
1557
- }
1558
- pre code {
1559
- padding: 0;
1560
- font-size: inherit;
1561
- color: inherit;
1562
- white-space: pre-wrap;
1563
- background-color: transparent;
1564
- border-radius: 0;
1565
- }
1566
- .pre-scrollable {
1567
- max-height: 340px;
1568
- overflow-y: scroll;
1569
- }
1570
- .container {
1571
- padding-right: 15px;
1572
- padding-left: 15px;
1573
- margin-right: auto;
1574
- margin-left: auto;
1575
- }
1576
- @media (min-width: 768px) {
1577
- .container {
1578
- width: 750px;
1579
- }
1580
- }
1581
- @media (min-width: 992px) {
1582
- .container {
1583
- width: 970px;
1584
- }
1585
- }
1586
- @media (min-width: 1200px) {
1587
- .container {
1588
- width: 1170px;
1589
- }
1590
- }
1591
- .container-fluid {
1592
- padding-right: 15px;
1593
- padding-left: 15px;
1594
- margin-right: auto;
1595
- margin-left: auto;
1596
- }
1597
- .row {
1598
- margin-right: -15px;
1599
- margin-left: -15px;
1600
- }
1601
- .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
1602
- position: relative;
1603
- min-height: 1px;
1604
- padding-right: 15px;
1605
- padding-left: 15px;
1606
- }
1607
- .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
1608
- float: left;
1609
- }
1610
- .col-xs-12 {
1611
- width: 100%;
1612
- }
1613
- .col-xs-11 {
1614
- width: 91.66666667%;
1615
- }
1616
- .col-xs-10 {
1617
- width: 83.33333333%;
1618
- }
1619
- .col-xs-9 {
1620
- width: 75%;
1621
- }
1622
- .col-xs-8 {
1623
- width: 66.66666667%;
1624
- }
1625
- .col-xs-7 {
1626
- width: 58.33333333%;
1627
- }
1628
- .col-xs-6 {
1629
- width: 50%;
1630
- }
1631
- .col-xs-5 {
1632
- width: 41.66666667%;
1633
- }
1634
- .col-xs-4 {
1635
- width: 33.33333333%;
1636
- }
1637
- .col-xs-3 {
1638
- width: 25%;
1639
- }
1640
- .col-xs-2 {
1641
- width: 16.66666667%;
1642
- }
1643
- .col-xs-1 {
1644
- width: 8.33333333%;
1645
- }
1646
- .col-xs-pull-12 {
1647
- right: 100%;
1648
- }
1649
- .col-xs-pull-11 {
1650
- right: 91.66666667%;
1651
- }
1652
- .col-xs-pull-10 {
1653
- right: 83.33333333%;
1654
- }
1655
- .col-xs-pull-9 {
1656
- right: 75%;
1657
- }
1658
- .col-xs-pull-8 {
1659
- right: 66.66666667%;
1660
- }
1661
- .col-xs-pull-7 {
1662
- right: 58.33333333%;
1663
- }
1664
- .col-xs-pull-6 {
1665
- right: 50%;
1666
- }
1667
- .col-xs-pull-5 {
1668
- right: 41.66666667%;
1669
- }
1670
- .col-xs-pull-4 {
1671
- right: 33.33333333%;
1672
- }
1673
- .col-xs-pull-3 {
1674
- right: 25%;
1675
- }
1676
- .col-xs-pull-2 {
1677
- right: 16.66666667%;
1678
- }
1679
- .col-xs-pull-1 {
1680
- right: 8.33333333%;
1681
- }
1682
- .col-xs-pull-0 {
1683
- right: auto;
1684
- }
1685
- .col-xs-push-12 {
1686
- left: 100%;
1687
- }
1688
- .col-xs-push-11 {
1689
- left: 91.66666667%;
1690
- }
1691
- .col-xs-push-10 {
1692
- left: 83.33333333%;
1693
- }
1694
- .col-xs-push-9 {
1695
- left: 75%;
1696
- }
1697
- .col-xs-push-8 {
1698
- left: 66.66666667%;
1699
- }
1700
- .col-xs-push-7 {
1701
- left: 58.33333333%;
1702
- }
1703
- .col-xs-push-6 {
1704
- left: 50%;
1705
- }
1706
- .col-xs-push-5 {
1707
- left: 41.66666667%;
1708
- }
1709
- .col-xs-push-4 {
1710
- left: 33.33333333%;
1711
- }
1712
- .col-xs-push-3 {
1713
- left: 25%;
1714
- }
1715
- .col-xs-push-2 {
1716
- left: 16.66666667%;
1717
- }
1718
- .col-xs-push-1 {
1719
- left: 8.33333333%;
1720
- }
1721
- .col-xs-push-0 {
1722
- left: auto;
1723
- }
1724
- .col-xs-offset-12 {
1725
- margin-left: 100%;
1726
- }
1727
- .col-xs-offset-11 {
1728
- margin-left: 91.66666667%;
1729
- }
1730
- .col-xs-offset-10 {
1731
- margin-left: 83.33333333%;
1732
- }
1733
- .col-xs-offset-9 {
1734
- margin-left: 75%;
1735
- }
1736
- .col-xs-offset-8 {
1737
- margin-left: 66.66666667%;
1738
- }
1739
- .col-xs-offset-7 {
1740
- margin-left: 58.33333333%;
1741
- }
1742
- .col-xs-offset-6 {
1743
- margin-left: 50%;
1744
- }
1745
- .col-xs-offset-5 {
1746
- margin-left: 41.66666667%;
1747
- }
1748
- .col-xs-offset-4 {
1749
- margin-left: 33.33333333%;
1750
- }
1751
- .col-xs-offset-3 {
1752
- margin-left: 25%;
1753
- }
1754
- .col-xs-offset-2 {
1755
- margin-left: 16.66666667%;
1756
- }
1757
- .col-xs-offset-1 {
1758
- margin-left: 8.33333333%;
1759
- }
1760
- .col-xs-offset-0 {
1761
- margin-left: 0;
1762
- }
1763
- @media (min-width: 768px) {
1764
- .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
1765
- float: left;
1766
- }
1767
- .col-sm-12 {
1768
- width: 100%;
1769
- }
1770
- .col-sm-11 {
1771
- width: 91.66666667%;
1772
- }
1773
- .col-sm-10 {
1774
- width: 83.33333333%;
1775
- }
1776
- .col-sm-9 {
1777
- width: 75%;
1778
- }
1779
- .col-sm-8 {
1780
- width: 66.66666667%;
1781
- }
1782
- .col-sm-7 {
1783
- width: 58.33333333%;
1784
- }
1785
- .col-sm-6 {
1786
- width: 50%;
1787
- }
1788
- .col-sm-5 {
1789
- width: 41.66666667%;
1790
- }
1791
- .col-sm-4 {
1792
- width: 33.33333333%;
1793
- }
1794
- .col-sm-3 {
1795
- width: 25%;
1796
- }
1797
- .col-sm-2 {
1798
- width: 16.66666667%;
1799
- }
1800
- .col-sm-1 {
1801
- width: 8.33333333%;
1802
- }
1803
- .col-sm-pull-12 {
1804
- right: 100%;
1805
- }
1806
- .col-sm-pull-11 {
1807
- right: 91.66666667%;
1808
- }
1809
- .col-sm-pull-10 {
1810
- right: 83.33333333%;
1811
- }
1812
- .col-sm-pull-9 {
1813
- right: 75%;
1814
- }
1815
- .col-sm-pull-8 {
1816
- right: 66.66666667%;
1817
- }
1818
- .col-sm-pull-7 {
1819
- right: 58.33333333%;
1820
- }
1821
- .col-sm-pull-6 {
1822
- right: 50%;
1823
- }
1824
- .col-sm-pull-5 {
1825
- right: 41.66666667%;
1826
- }
1827
- .col-sm-pull-4 {
1828
- right: 33.33333333%;
1829
- }
1830
- .col-sm-pull-3 {
1831
- right: 25%;
1832
- }
1833
- .col-sm-pull-2 {
1834
- right: 16.66666667%;
1835
- }
1836
- .col-sm-pull-1 {
1837
- right: 8.33333333%;
1838
- }
1839
- .col-sm-pull-0 {
1840
- right: auto;
1841
- }
1842
- .col-sm-push-12 {
1843
- left: 100%;
1844
- }
1845
- .col-sm-push-11 {
1846
- left: 91.66666667%;
1847
- }
1848
- .col-sm-push-10 {
1849
- left: 83.33333333%;
1850
- }
1851
- .col-sm-push-9 {
1852
- left: 75%;
1853
- }
1854
- .col-sm-push-8 {
1855
- left: 66.66666667%;
1856
- }
1857
- .col-sm-push-7 {
1858
- left: 58.33333333%;
1859
- }
1860
- .col-sm-push-6 {
1861
- left: 50%;
1862
- }
1863
- .col-sm-push-5 {
1864
- left: 41.66666667%;
1865
- }
1866
- .col-sm-push-4 {
1867
- left: 33.33333333%;
1868
- }
1869
- .col-sm-push-3 {
1870
- left: 25%;
1871
- }
1872
- .col-sm-push-2 {
1873
- left: 16.66666667%;
1874
- }
1875
- .col-sm-push-1 {
1876
- left: 8.33333333%;
1877
- }
1878
- .col-sm-push-0 {
1879
- left: auto;
1880
- }
1881
- .col-sm-offset-12 {
1882
- margin-left: 100%;
1883
- }
1884
- .col-sm-offset-11 {
1885
- margin-left: 91.66666667%;
1886
- }
1887
- .col-sm-offset-10 {
1888
- margin-left: 83.33333333%;
1889
- }
1890
- .col-sm-offset-9 {
1891
- margin-left: 75%;
1892
- }
1893
- .col-sm-offset-8 {
1894
- margin-left: 66.66666667%;
1895
- }
1896
- .col-sm-offset-7 {
1897
- margin-left: 58.33333333%;
1898
- }
1899
- .col-sm-offset-6 {
1900
- margin-left: 50%;
1901
- }
1902
- .col-sm-offset-5 {
1903
- margin-left: 41.66666667%;
1904
- }
1905
- .col-sm-offset-4 {
1906
- margin-left: 33.33333333%;
1907
- }
1908
- .col-sm-offset-3 {
1909
- margin-left: 25%;
1910
- }
1911
- .col-sm-offset-2 {
1912
- margin-left: 16.66666667%;
1913
- }
1914
- .col-sm-offset-1 {
1915
- margin-left: 8.33333333%;
1916
- }
1917
- .col-sm-offset-0 {
1918
- margin-left: 0;
1919
- }
1920
- }
1921
- @media (min-width: 992px) {
1922
- .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
1923
- float: left;
1924
- }
1925
- .col-md-12 {
1926
- width: 100%;
1927
- }
1928
- .col-md-11 {
1929
- width: 91.66666667%;
1930
- }
1931
- .col-md-10 {
1932
- width: 83.33333333%;
1933
- }
1934
- .col-md-9 {
1935
- width: 75%;
1936
- }
1937
- .col-md-8 {
1938
- width: 66.66666667%;
1939
- }
1940
- .col-md-7 {
1941
- width: 58.33333333%;
1942
- }
1943
- .col-md-6 {
1944
- width: 50%;
1945
- }
1946
- .col-md-5 {
1947
- width: 41.66666667%;
1948
- }
1949
- .col-md-4 {
1950
- width: 33.33333333%;
1951
- }
1952
- .col-md-3 {
1953
- width: 25%;
1954
- }
1955
- .col-md-2 {
1956
- width: 16.66666667%;
1957
- }
1958
- .col-md-1 {
1959
- width: 8.33333333%;
1960
- }
1961
- .col-md-pull-12 {
1962
- right: 100%;
1963
- }
1964
- .col-md-pull-11 {
1965
- right: 91.66666667%;
1966
- }
1967
- .col-md-pull-10 {
1968
- right: 83.33333333%;
1969
- }
1970
- .col-md-pull-9 {
1971
- right: 75%;
1972
- }
1973
- .col-md-pull-8 {
1974
- right: 66.66666667%;
1975
- }
1976
- .col-md-pull-7 {
1977
- right: 58.33333333%;
1978
- }
1979
- .col-md-pull-6 {
1980
- right: 50%;
1981
- }
1982
- .col-md-pull-5 {
1983
- right: 41.66666667%;
1984
- }
1985
- .col-md-pull-4 {
1986
- right: 33.33333333%;
1987
- }
1988
- .col-md-pull-3 {
1989
- right: 25%;
1990
- }
1991
- .col-md-pull-2 {
1992
- right: 16.66666667%;
1993
- }
1994
- .col-md-pull-1 {
1995
- right: 8.33333333%;
1996
- }
1997
- .col-md-pull-0 {
1998
- right: auto;
1999
- }
2000
- .col-md-push-12 {
2001
- left: 100%;
2002
- }
2003
- .col-md-push-11 {
2004
- left: 91.66666667%;
2005
- }
2006
- .col-md-push-10 {
2007
- left: 83.33333333%;
2008
- }
2009
- .col-md-push-9 {
2010
- left: 75%;
2011
- }
2012
- .col-md-push-8 {
2013
- left: 66.66666667%;
2014
- }
2015
- .col-md-push-7 {
2016
- left: 58.33333333%;
2017
- }
2018
- .col-md-push-6 {
2019
- left: 50%;
2020
- }
2021
- .col-md-push-5 {
2022
- left: 41.66666667%;
2023
- }
2024
- .col-md-push-4 {
2025
- left: 33.33333333%;
2026
- }
2027
- .col-md-push-3 {
2028
- left: 25%;
2029
- }
2030
- .col-md-push-2 {
2031
- left: 16.66666667%;
2032
- }
2033
- .col-md-push-1 {
2034
- left: 8.33333333%;
2035
- }
2036
- .col-md-push-0 {
2037
- left: auto;
2038
- }
2039
- .col-md-offset-12 {
2040
- margin-left: 100%;
2041
- }
2042
- .col-md-offset-11 {
2043
- margin-left: 91.66666667%;
2044
- }
2045
- .col-md-offset-10 {
2046
- margin-left: 83.33333333%;
2047
- }
2048
- .col-md-offset-9 {
2049
- margin-left: 75%;
2050
- }
2051
- .col-md-offset-8 {
2052
- margin-left: 66.66666667%;
2053
- }
2054
- .col-md-offset-7 {
2055
- margin-left: 58.33333333%;
2056
- }
2057
- .col-md-offset-6 {
2058
- margin-left: 50%;
2059
- }
2060
- .col-md-offset-5 {
2061
- margin-left: 41.66666667%;
2062
- }
2063
- .col-md-offset-4 {
2064
- margin-left: 33.33333333%;
2065
- }
2066
- .col-md-offset-3 {
2067
- margin-left: 25%;
2068
- }
2069
- .col-md-offset-2 {
2070
- margin-left: 16.66666667%;
2071
- }
2072
- .col-md-offset-1 {
2073
- margin-left: 8.33333333%;
2074
- }
2075
- .col-md-offset-0 {
2076
- margin-left: 0;
2077
- }
2078
- }
2079
- @media (min-width: 1200px) {
2080
- .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
2081
- float: left;
2082
- }
2083
- .col-lg-12 {
2084
- width: 100%;
2085
- }
2086
- .col-lg-11 {
2087
- width: 91.66666667%;
2088
- }
2089
- .col-lg-10 {
2090
- width: 83.33333333%;
2091
- }
2092
- .col-lg-9 {
2093
- width: 75%;
2094
- }
2095
- .col-lg-8 {
2096
- width: 66.66666667%;
2097
- }
2098
- .col-lg-7 {
2099
- width: 58.33333333%;
2100
- }
2101
- .col-lg-6 {
2102
- width: 50%;
2103
- }
2104
- .col-lg-5 {
2105
- width: 41.66666667%;
2106
- }
2107
- .col-lg-4 {
2108
- width: 33.33333333%;
2109
- }
2110
- .col-lg-3 {
2111
- width: 25%;
2112
- }
2113
- .col-lg-2 {
2114
- width: 16.66666667%;
2115
- }
2116
- .col-lg-1 {
2117
- width: 8.33333333%;
2118
- }
2119
- .col-lg-pull-12 {
2120
- right: 100%;
2121
- }
2122
- .col-lg-pull-11 {
2123
- right: 91.66666667%;
2124
- }
2125
- .col-lg-pull-10 {
2126
- right: 83.33333333%;
2127
- }
2128
- .col-lg-pull-9 {
2129
- right: 75%;
2130
- }
2131
- .col-lg-pull-8 {
2132
- right: 66.66666667%;
2133
- }
2134
- .col-lg-pull-7 {
2135
- right: 58.33333333%;
2136
- }
2137
- .col-lg-pull-6 {
2138
- right: 50%;
2139
- }
2140
- .col-lg-pull-5 {
2141
- right: 41.66666667%;
2142
- }
2143
- .col-lg-pull-4 {
2144
- right: 33.33333333%;
2145
- }
2146
- .col-lg-pull-3 {
2147
- right: 25%;
2148
- }
2149
- .col-lg-pull-2 {
2150
- right: 16.66666667%;
2151
- }
2152
- .col-lg-pull-1 {
2153
- right: 8.33333333%;
2154
- }
2155
- .col-lg-pull-0 {
2156
- right: auto;
2157
- }
2158
- .col-lg-push-12 {
2159
- left: 100%;
2160
- }
2161
- .col-lg-push-11 {
2162
- left: 91.66666667%;
2163
- }
2164
- .col-lg-push-10 {
2165
- left: 83.33333333%;
2166
- }
2167
- .col-lg-push-9 {
2168
- left: 75%;
2169
- }
2170
- .col-lg-push-8 {
2171
- left: 66.66666667%;
2172
- }
2173
- .col-lg-push-7 {
2174
- left: 58.33333333%;
2175
- }
2176
- .col-lg-push-6 {
2177
- left: 50%;
2178
- }
2179
- .col-lg-push-5 {
2180
- left: 41.66666667%;
2181
- }
2182
- .col-lg-push-4 {
2183
- left: 33.33333333%;
2184
- }
2185
- .col-lg-push-3 {
2186
- left: 25%;
2187
- }
2188
- .col-lg-push-2 {
2189
- left: 16.66666667%;
2190
- }
2191
- .col-lg-push-1 {
2192
- left: 8.33333333%;
2193
- }
2194
- .col-lg-push-0 {
2195
- left: auto;
2196
- }
2197
- .col-lg-offset-12 {
2198
- margin-left: 100%;
2199
- }
2200
- .col-lg-offset-11 {
2201
- margin-left: 91.66666667%;
2202
- }
2203
- .col-lg-offset-10 {
2204
- margin-left: 83.33333333%;
2205
- }
2206
- .col-lg-offset-9 {
2207
- margin-left: 75%;
2208
- }
2209
- .col-lg-offset-8 {
2210
- margin-left: 66.66666667%;
2211
- }
2212
- .col-lg-offset-7 {
2213
- margin-left: 58.33333333%;
2214
- }
2215
- .col-lg-offset-6 {
2216
- margin-left: 50%;
2217
- }
2218
- .col-lg-offset-5 {
2219
- margin-left: 41.66666667%;
2220
- }
2221
- .col-lg-offset-4 {
2222
- margin-left: 33.33333333%;
2223
- }
2224
- .col-lg-offset-3 {
2225
- margin-left: 25%;
2226
- }
2227
- .col-lg-offset-2 {
2228
- margin-left: 16.66666667%;
2229
- }
2230
- .col-lg-offset-1 {
2231
- margin-left: 8.33333333%;
2232
- }
2233
- .col-lg-offset-0 {
2234
- margin-left: 0;
2235
- }
2236
- }
2237
- table {
2238
- background-color: transparent;
2239
- }
2240
- caption {
2241
- padding-top: 8px;
2242
- padding-bottom: 8px;
2243
- color: #777;
2244
- text-align: left;
2245
- }
2246
- th {
2247
- text-align: left;
2248
- }
2249
- .table {
2250
- width: 100%;
2251
- max-width: 100%;
2252
- margin-bottom: 20px;
2253
- }
2254
- .table > thead > tr > th,
2255
- .table > tbody > tr > th,
2256
- .table > tfoot > tr > th,
2257
- .table > thead > tr > td,
2258
- .table > tbody > tr > td,
2259
- .table > tfoot > tr > td {
2260
- padding: 8px;
2261
- line-height: 1.42857143;
2262
- vertical-align: top;
2263
- border-top: 1px solid #ddd;
2264
- }
2265
- .table > thead > tr > th {
2266
- vertical-align: bottom;
2267
- border-bottom: 2px solid #ddd;
2268
- }
2269
- .table > caption + thead > tr:first-child > th,
2270
- .table > colgroup + thead > tr:first-child > th,
2271
- .table > thead:first-child > tr:first-child > th,
2272
- .table > caption + thead > tr:first-child > td,
2273
- .table > colgroup + thead > tr:first-child > td,
2274
- .table > thead:first-child > tr:first-child > td {
2275
- border-top: 0;
2276
- }
2277
- .table > tbody + tbody {
2278
- border-top: 2px solid #ddd;
2279
- }
2280
- .table .table {
2281
- background-color: #fff;
2282
- }
2283
- .table-condensed > thead > tr > th,
2284
- .table-condensed > tbody > tr > th,
2285
- .table-condensed > tfoot > tr > th,
2286
- .table-condensed > thead > tr > td,
2287
- .table-condensed > tbody > tr > td,
2288
- .table-condensed > tfoot > tr > td {
2289
- padding: 5px;
2290
- }
2291
- .table-bordered {
2292
- border: 1px solid #ddd;
2293
- }
2294
- .table-bordered > thead > tr > th,
2295
- .table-bordered > tbody > tr > th,
2296
- .table-bordered > tfoot > tr > th,
2297
- .table-bordered > thead > tr > td,
2298
- .table-bordered > tbody > tr > td,
2299
- .table-bordered > tfoot > tr > td {
2300
- border: 1px solid #ddd;
2301
- }
2302
- .table-bordered > thead > tr > th,
2303
- .table-bordered > thead > tr > td {
2304
- border-bottom-width: 2px;
2305
- }
2306
- .table-striped > tbody > tr:nth-of-type(odd) {
2307
- background-color: #f9f9f9;
2308
- }
2309
- .table-hover > tbody > tr:hover {
2310
- background-color: #f5f5f5;
2311
- }
2312
- table col[class*="col-"] {
2313
- position: static;
2314
- display: table-column;
2315
- float: none;
2316
- }
2317
- table td[class*="col-"],
2318
- table th[class*="col-"] {
2319
- position: static;
2320
- display: table-cell;
2321
- float: none;
2322
- }
2323
- .table > thead > tr > td.active,
2324
- .table > tbody > tr > td.active,
2325
- .table > tfoot > tr > td.active,
2326
- .table > thead > tr > th.active,
2327
- .table > tbody > tr > th.active,
2328
- .table > tfoot > tr > th.active,
2329
- .table > thead > tr.active > td,
2330
- .table > tbody > tr.active > td,
2331
- .table > tfoot > tr.active > td,
2332
- .table > thead > tr.active > th,
2333
- .table > tbody > tr.active > th,
2334
- .table > tfoot > tr.active > th {
2335
- background-color: #f5f5f5;
2336
- }
2337
- .table-hover > tbody > tr > td.active:hover,
2338
- .table-hover > tbody > tr > th.active:hover,
2339
- .table-hover > tbody > tr.active:hover > td,
2340
- .table-hover > tbody > tr:hover > .active,
2341
- .table-hover > tbody > tr.active:hover > th {
2342
- background-color: #e8e8e8;
2343
- }
2344
- .table > thead > tr > td.success,
2345
- .table > tbody > tr > td.success,
2346
- .table > tfoot > tr > td.success,
2347
- .table > thead > tr > th.success,
2348
- .table > tbody > tr > th.success,
2349
- .table > tfoot > tr > th.success,
2350
- .table > thead > tr.success > td,
2351
- .table > tbody > tr.success > td,
2352
- .table > tfoot > tr.success > td,
2353
- .table > thead > tr.success > th,
2354
- .table > tbody > tr.success > th,
2355
- .table > tfoot > tr.success > th {
2356
- background-color: #dff0d8;
2357
- }
2358
- .table-hover > tbody > tr > td.success:hover,
2359
- .table-hover > tbody > tr > th.success:hover,
2360
- .table-hover > tbody > tr.success:hover > td,
2361
- .table-hover > tbody > tr:hover > .success,
2362
- .table-hover > tbody > tr.success:hover > th {
2363
- background-color: #d0e9c6;
2364
- }
2365
- .table > thead > tr > td.info,
2366
- .table > tbody > tr > td.info,
2367
- .table > tfoot > tr > td.info,
2368
- .table > thead > tr > th.info,
2369
- .table > tbody > tr > th.info,
2370
- .table > tfoot > tr > th.info,
2371
- .table > thead > tr.info > td,
2372
- .table > tbody > tr.info > td,
2373
- .table > tfoot > tr.info > td,
2374
- .table > thead > tr.info > th,
2375
- .table > tbody > tr.info > th,
2376
- .table > tfoot > tr.info > th {
2377
- background-color: #d9edf7;
2378
- }
2379
- .table-hover > tbody > tr > td.info:hover,
2380
- .table-hover > tbody > tr > th.info:hover,
2381
- .table-hover > tbody > tr.info:hover > td,
2382
- .table-hover > tbody > tr:hover > .info,
2383
- .table-hover > tbody > tr.info:hover > th {
2384
- background-color: #c4e3f3;
2385
- }
2386
- .table > thead > tr > td.warning,
2387
- .table > tbody > tr > td.warning,
2388
- .table > tfoot > tr > td.warning,
2389
- .table > thead > tr > th.warning,
2390
- .table > tbody > tr > th.warning,
2391
- .table > tfoot > tr > th.warning,
2392
- .table > thead > tr.warning > td,
2393
- .table > tbody > tr.warning > td,
2394
- .table > tfoot > tr.warning > td,
2395
- .table > thead > tr.warning > th,
2396
- .table > tbody > tr.warning > th,
2397
- .table > tfoot > tr.warning > th {
2398
- background-color: #fcf8e3;
2399
- }
2400
- .table-hover > tbody > tr > td.warning:hover,
2401
- .table-hover > tbody > tr > th.warning:hover,
2402
- .table-hover > tbody > tr.warning:hover > td,
2403
- .table-hover > tbody > tr:hover > .warning,
2404
- .table-hover > tbody > tr.warning:hover > th {
2405
- background-color: #faf2cc;
2406
- }
2407
- .table > thead > tr > td.danger,
2408
- .table > tbody > tr > td.danger,
2409
- .table > tfoot > tr > td.danger,
2410
- .table > thead > tr > th.danger,
2411
- .table > tbody > tr > th.danger,
2412
- .table > tfoot > tr > th.danger,
2413
- .table > thead > tr.danger > td,
2414
- .table > tbody > tr.danger > td,
2415
- .table > tfoot > tr.danger > td,
2416
- .table > thead > tr.danger > th,
2417
- .table > tbody > tr.danger > th,
2418
- .table > tfoot > tr.danger > th {
2419
- background-color: #f2dede;
2420
- }
2421
- .table-hover > tbody > tr > td.danger:hover,
2422
- .table-hover > tbody > tr > th.danger:hover,
2423
- .table-hover > tbody > tr.danger:hover > td,
2424
- .table-hover > tbody > tr:hover > .danger,
2425
- .table-hover > tbody > tr.danger:hover > th {
2426
- background-color: #ebcccc;
2427
- }
2428
- .table-responsive {
2429
- min-height: .01%;
2430
- overflow-x: auto;
2431
- }
2432
- @media screen and (max-width: 767px) {
2433
- .table-responsive {
2434
- width: 100%;
2435
- margin-bottom: 15px;
2436
- overflow-y: hidden;
2437
- -ms-overflow-style: -ms-autohiding-scrollbar;
2438
- border: 1px solid #ddd;
2439
- }
2440
- .table-responsive > .table {
2441
- margin-bottom: 0;
2442
- }
2443
- .table-responsive > .table > thead > tr > th,
2444
- .table-responsive > .table > tbody > tr > th,
2445
- .table-responsive > .table > tfoot > tr > th,
2446
- .table-responsive > .table > thead > tr > td,
2447
- .table-responsive > .table > tbody > tr > td,
2448
- .table-responsive > .table > tfoot > tr > td {
2449
- white-space: nowrap;
2450
- }
2451
- .table-responsive > .table-bordered {
2452
- border: 0;
2453
- }
2454
- .table-responsive > .table-bordered > thead > tr > th:first-child,
2455
- .table-responsive > .table-bordered > tbody > tr > th:first-child,
2456
- .table-responsive > .table-bordered > tfoot > tr > th:first-child,
2457
- .table-responsive > .table-bordered > thead > tr > td:first-child,
2458
- .table-responsive > .table-bordered > tbody > tr > td:first-child,
2459
- .table-responsive > .table-bordered > tfoot > tr > td:first-child {
2460
- border-left: 0;
2461
- }
2462
- .table-responsive > .table-bordered > thead > tr > th:last-child,
2463
- .table-responsive > .table-bordered > tbody > tr > th:last-child,
2464
- .table-responsive > .table-bordered > tfoot > tr > th:last-child,
2465
- .table-responsive > .table-bordered > thead > tr > td:last-child,
2466
- .table-responsive > .table-bordered > tbody > tr > td:last-child,
2467
- .table-responsive > .table-bordered > tfoot > tr > td:last-child {
2468
- border-right: 0;
2469
- }
2470
- .table-responsive > .table-bordered > tbody > tr:last-child > th,
2471
- .table-responsive > .table-bordered > tfoot > tr:last-child > th,
2472
- .table-responsive > .table-bordered > tbody > tr:last-child > td,
2473
- .table-responsive > .table-bordered > tfoot > tr:last-child > td {
2474
- border-bottom: 0;
2475
- }
2476
- }
2477
- fieldset {
2478
- min-width: 0;
2479
- padding: 0;
2480
- margin: 0;
2481
- border: 0;
2482
- }
2483
- legend {
2484
- display: block;
2485
- width: 100%;
2486
- padding: 0;
2487
- margin-bottom: 20px;
2488
- font-size: 21px;
2489
- line-height: inherit;
2490
- color: #333;
2491
- border: 0;
2492
- border-bottom: 1px solid #e5e5e5;
2493
- }
2494
- /*label {
2495
- display: inline-block;
2496
- max-width: 100%;
2497
- margin-bottom: 5px;
2498
- font-weight: bold;
2499
- }*/
2500
- input[type="search"] {
2501
- -webkit-box-sizing: border-box;
2502
- -moz-box-sizing: border-box;
2503
- box-sizing: border-box;
2504
- }
2505
- input[type="radio"],
2506
- input[type="checkbox"] {
2507
- margin: 4px 0 0;
2508
- margin-top: 1px \9;
2509
- line-height: normal;
2510
- }
2511
- input[type="file"] {
2512
- display: block;
2513
- }
2514
- input[type="range"] {
2515
- display: block;
2516
- width: 100%;
2517
- }
2518
- select[multiple],
2519
- select[size] {
2520
- height: auto;
2521
- }
2522
- input[type="file"]:focus,
2523
- input[type="radio"]:focus,
2524
- input[type="checkbox"]:focus {
2525
- outline: 5px auto -webkit-focus-ring-color;
2526
- outline-offset: -2px;
2527
- }
2528
- output {
2529
- display: block;
2530
- padding-top: 7px;
2531
- font-size: 14px;
2532
- line-height: 1.42857143;
2533
- color: #555;
2534
- }
2535
- .form-control {
2536
- display: block;
2537
- width: 100%;
2538
- height: 34px;
2539
- padding: 6px 12px;
2540
- font-size: 14px;
2541
- line-height: 1.42857143;
2542
- color: #555;
2543
- background-color: #fff;
2544
- background-image: none;
2545
- border: 1px solid #ccc;
2546
- border-radius: 4px;
2547
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2548
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2549
- -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
2550
- -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
2551
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
2552
- }
2553
- .form-control:focus {
2554
- border-color: #66afe9;
2555
- outline: 0;
2556
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
2557
- box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
2558
- }
2559
- .form-control::-moz-placeholder {
2560
- color: #999;
2561
- opacity: 1;
2562
- }
2563
- .form-control:-ms-input-placeholder {
2564
- color: #999;
2565
- }
2566
- .form-control::-webkit-input-placeholder {
2567
- color: #999;
2568
- }
2569
- .form-control::-ms-expand {
2570
- background-color: transparent;
2571
- border: 0;
2572
- }
2573
- .form-control[disabled],
2574
- .form-control[readonly],
2575
- fieldset[disabled] .form-control {
2576
- background-color: #eee;
2577
- opacity: 1;
2578
- }
2579
- .form-control[disabled],
2580
- fieldset[disabled] .form-control {
2581
- cursor: not-allowed;
2582
- }
2583
- textarea.form-control {
2584
- height: auto;
2585
- }
2586
- input[type="search"] {
2587
- -webkit-appearance: none;
2588
- }
2589
- @media screen and (-webkit-min-device-pixel-ratio: 0) {
2590
- input[type="date"].form-control,
2591
- input[type="time"].form-control,
2592
- input[type="datetime-local"].form-control,
2593
- input[type="month"].form-control {
2594
- line-height: 34px;
2595
- }
2596
- input[type="date"].input-sm,
2597
- input[type="time"].input-sm,
2598
- input[type="datetime-local"].input-sm,
2599
- input[type="month"].input-sm,
2600
- .input-group-sm input[type="date"],
2601
- .input-group-sm input[type="time"],
2602
- .input-group-sm input[type="datetime-local"],
2603
- .input-group-sm input[type="month"] {
2604
- line-height: 30px;
2605
- }
2606
- input[type="date"].input-lg,
2607
- input[type="time"].input-lg,
2608
- input[type="datetime-local"].input-lg,
2609
- input[type="month"].input-lg,
2610
- .input-group-lg input[type="date"],
2611
- .input-group-lg input[type="time"],
2612
- .input-group-lg input[type="datetime-local"],
2613
- .input-group-lg input[type="month"] {
2614
- line-height: 46px;
2615
- }
2616
- }
2617
- .form-group {
2618
- margin-bottom: 15px;
2619
- }
2620
- .radio,
2621
- .checkbox {
2622
- position: relative;
2623
- display: block;
2624
- margin-top: 10px;
2625
- margin-bottom: 10px;
2626
- }
2627
- .radio label,
2628
- .checkbox label {
2629
- min-height: 20px;
2630
- padding-left: 20px;
2631
- margin-bottom: 0;
2632
- font-weight: normal;
2633
- cursor: pointer;
2634
- }
2635
- .radio input[type="radio"],
2636
- .radio-inline input[type="radio"],
2637
- .checkbox input[type="checkbox"],
2638
- .checkbox-inline input[type="checkbox"] {
2639
- position: absolute;
2640
- margin-top: 4px \9;
2641
- margin-left: -20px;
2642
- }
2643
- .radio + .radio,
2644
- .checkbox + .checkbox {
2645
- margin-top: -5px;
2646
- }
2647
- .radio-inline,
2648
- .checkbox-inline {
2649
- position: relative;
2650
- display: inline-block;
2651
- padding-left: 20px;
2652
- margin-bottom: 0;
2653
- font-weight: normal;
2654
- vertical-align: middle;
2655
- cursor: pointer;
2656
- }
2657
- .radio-inline + .radio-inline,
2658
- .checkbox-inline + .checkbox-inline {
2659
- margin-top: 0;
2660
- margin-left: 10px;
2661
- }
2662
- input[type="radio"][disabled],
2663
- input[type="checkbox"][disabled],
2664
- input[type="radio"].disabled,
2665
- input[type="checkbox"].disabled,
2666
- fieldset[disabled] input[type="radio"],
2667
- fieldset[disabled] input[type="checkbox"] {
2668
- cursor: not-allowed;
2669
- }
2670
- .radio-inline.disabled,
2671
- .checkbox-inline.disabled,
2672
- fieldset[disabled] .radio-inline,
2673
- fieldset[disabled] .checkbox-inline {
2674
- cursor: not-allowed;
2675
- }
2676
- .radio.disabled label,
2677
- .checkbox.disabled label,
2678
- fieldset[disabled] .radio label,
2679
- fieldset[disabled] .checkbox label {
2680
- cursor: not-allowed;
2681
- }
2682
- .form-control-static {
2683
- min-height: 34px;
2684
- padding-top: 7px;
2685
- padding-bottom: 7px;
2686
- margin-bottom: 0;
2687
- }
2688
- .form-control-static.input-lg,
2689
- .form-control-static.input-sm {
2690
- padding-right: 0;
2691
- padding-left: 0;
2692
- }
2693
- .input-sm {
2694
- height: 30px;
2695
- padding: 5px 10px;
2696
- font-size: 12px;
2697
- line-height: 1.5;
2698
- border-radius: 3px;
2699
- }
2700
- select.input-sm {
2701
- height: 30px;
2702
- line-height: 30px;
2703
- }
2704
- textarea.input-sm,
2705
- select[multiple].input-sm {
2706
- height: auto;
2707
- }
2708
- .form-group-sm .form-control {
2709
- height: 30px;
2710
- padding: 5px 10px;
2711
- font-size: 12px;
2712
- line-height: 1.5;
2713
- border-radius: 3px;
2714
- }
2715
- .form-group-sm select.form-control {
2716
- height: 30px;
2717
- line-height: 30px;
2718
- }
2719
- .form-group-sm textarea.form-control,
2720
- .form-group-sm select[multiple].form-control {
2721
- height: auto;
2722
- }
2723
- .form-group-sm .form-control-static {
2724
- height: 30px;
2725
- min-height: 32px;
2726
- padding: 6px 10px;
2727
- font-size: 12px;
2728
- line-height: 1.5;
2729
- }
2730
- .input-lg {
2731
- height: 46px;
2732
- padding: 10px 16px;
2733
- font-size: 18px;
2734
- line-height: 1.3333333;
2735
- border-radius: 6px;
2736
- }
2737
- select.input-lg {
2738
- height: 46px;
2739
- line-height: 46px;
2740
- }
2741
- textarea.input-lg,
2742
- select[multiple].input-lg {
2743
- height: auto;
2744
- }
2745
- .form-group-lg .form-control {
2746
- height: 46px;
2747
- padding: 10px 16px;
2748
- font-size: 18px;
2749
- line-height: 1.3333333;
2750
- border-radius: 6px;
2751
- }
2752
- .form-group-lg select.form-control {
2753
- height: 46px;
2754
- line-height: 46px;
2755
- }
2756
- .form-group-lg textarea.form-control,
2757
- .form-group-lg select[multiple].form-control {
2758
- height: auto;
2759
- }
2760
- .form-group-lg .form-control-static {
2761
- height: 46px;
2762
- min-height: 38px;
2763
- padding: 11px 16px;
2764
- font-size: 18px;
2765
- line-height: 1.3333333;
2766
- }
2767
- .has-feedback {
2768
- position: relative;
2769
- }
2770
- .has-feedback .form-control {
2771
- padding-right: 42.5px;
2772
- }
2773
- .form-control-feedback {
2774
- position: absolute;
2775
- top: 0;
2776
- right: 0;
2777
- z-index: 2;
2778
- display: block;
2779
- width: 34px;
2780
- height: 34px;
2781
- line-height: 34px;
2782
- text-align: center;
2783
- pointer-events: none;
2784
- }
2785
- .input-lg + .form-control-feedback,
2786
- .input-group-lg + .form-control-feedback,
2787
- .form-group-lg .form-control + .form-control-feedback {
2788
- width: 46px;
2789
- height: 46px;
2790
- line-height: 46px;
2791
- }
2792
- .input-sm + .form-control-feedback,
2793
- .input-group-sm + .form-control-feedback,
2794
- .form-group-sm .form-control + .form-control-feedback {
2795
- width: 30px;
2796
- height: 30px;
2797
- line-height: 30px;
2798
- }
2799
- .has-success .help-block,
2800
- .has-success .control-label,
2801
- .has-success .radio,
2802
- .has-success .checkbox,
2803
- .has-success .radio-inline,
2804
- .has-success .checkbox-inline,
2805
- .has-success.radio label,
2806
- .has-success.checkbox label,
2807
- .has-success.radio-inline label,
2808
- .has-success.checkbox-inline label {
2809
- color: #3c763d;
2810
- }
2811
- .has-success .form-control {
2812
- border-color: #3c763d;
2813
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2814
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2815
- }
2816
- .has-success .form-control:focus {
2817
- border-color: #2b542c;
2818
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
2819
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
2820
- }
2821
- .has-success .input-group-addon {
2822
- color: #3c763d;
2823
- background-color: #dff0d8;
2824
- border-color: #3c763d;
2825
- }
2826
- .has-success .form-control-feedback {
2827
- color: #3c763d;
2828
- }
2829
- .has-warning .help-block,
2830
- .has-warning .control-label,
2831
- .has-warning .radio,
2832
- .has-warning .checkbox,
2833
- .has-warning .radio-inline,
2834
- .has-warning .checkbox-inline,
2835
- .has-warning.radio label,
2836
- .has-warning.checkbox label,
2837
- .has-warning.radio-inline label,
2838
- .has-warning.checkbox-inline label {
2839
- color: #8a6d3b;
2840
- }
2841
- .has-warning .form-control {
2842
- border-color: #8a6d3b;
2843
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2844
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2845
- }
2846
- .has-warning .form-control:focus {
2847
- border-color: #66512c;
2848
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
2849
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
2850
- }
2851
- .has-warning .input-group-addon {
2852
- color: #8a6d3b;
2853
- background-color: #fcf8e3;
2854
- border-color: #8a6d3b;
2855
- }
2856
- .has-warning .form-control-feedback {
2857
- color: #8a6d3b;
2858
- }
2859
- .has-error .help-block,
2860
- .has-error .control-label,
2861
- .has-error .radio,
2862
- .has-error .checkbox,
2863
- .has-error .radio-inline,
2864
- .has-error .checkbox-inline,
2865
- .has-error.radio label,
2866
- .has-error.checkbox label,
2867
- .has-error.radio-inline label,
2868
- .has-error.checkbox-inline label {
2869
- color: #a94442;
2870
- }
2871
- .has-error .form-control {
2872
- border-color: #a94442;
2873
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2874
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2875
- }
2876
- .has-error .form-control:focus {
2877
- border-color: #843534;
2878
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
2879
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
2880
- }
2881
- .has-error .input-group-addon {
2882
- color: #a94442;
2883
- background-color: #f2dede;
2884
- border-color: #a94442;
2885
- }
2886
- .has-error .form-control-feedback {
2887
- color: #a94442;
2888
- }
2889
- .has-feedback label ~ .form-control-feedback {
2890
- top: 25px;
2891
- }
2892
- .has-feedback label.sr-only ~ .form-control-feedback {
2893
- top: 0;
2894
- }
2895
- .help-block {
2896
- display: block;
2897
- margin-top: 5px;
2898
- margin-bottom: 10px;
2899
- color: #737373;
2900
- }
2901
- @media (min-width: 768px) {
2902
- .form-inline .form-group {
2903
- display: inline-block;
2904
- margin-bottom: 0;
2905
- vertical-align: middle;
2906
- }
2907
- .form-inline .form-control {
2908
- display: inline-block;
2909
- width: auto;
2910
- vertical-align: middle;
2911
- }
2912
- .form-inline .form-control-static {
2913
- display: inline-block;
2914
- }
2915
- .form-inline .input-group {
2916
- display: inline-table;
2917
- vertical-align: middle;
2918
- }
2919
- .form-inline .input-group .input-group-addon,
2920
- .form-inline .input-group .input-group-btn,
2921
- .form-inline .input-group .form-control {
2922
- width: auto;
2923
- }
2924
- .form-inline .input-group > .form-control {
2925
- width: 100%;
2926
- }
2927
- .form-inline .control-label {
2928
- margin-bottom: 0;
2929
- vertical-align: middle;
2930
- }
2931
- .form-inline .radio,
2932
- .form-inline .checkbox {
2933
- display: inline-block;
2934
- margin-top: 0;
2935
- margin-bottom: 0;
2936
- vertical-align: middle;
2937
- }
2938
- .form-inline .radio label,
2939
- .form-inline .checkbox label {
2940
- padding-left: 0;
2941
- }
2942
- .form-inline .radio input[type="radio"],
2943
- .form-inline .checkbox input[type="checkbox"] {
2944
- position: relative;
2945
- margin-left: 0;
2946
- }
2947
- .form-inline .has-feedback .form-control-feedback {
2948
- top: 0;
2949
- }
2950
- }
2951
- .form-horizontal .radio,
2952
- .form-horizontal .checkbox,
2953
- .form-horizontal .radio-inline,
2954
- .form-horizontal .checkbox-inline {
2955
- padding-top: 7px;
2956
- margin-top: 0;
2957
- margin-bottom: 0;
2958
- }
2959
- .form-horizontal .radio,
2960
- .form-horizontal .checkbox {
2961
- min-height: 27px;
2962
- }
2963
- .form-horizontal .form-group {
2964
- margin-right: -15px;
2965
- margin-left: -15px;
2966
- }
2967
- @media (min-width: 768px) {
2968
- .form-horizontal .control-label {
2969
- padding-top: 7px;
2970
- margin-bottom: 0;
2971
- text-align: right;
2972
- }
2973
- }
2974
- .form-horizontal .has-feedback .form-control-feedback {
2975
- right: 15px;
2976
- }
2977
- @media (min-width: 768px) {
2978
- .form-horizontal .form-group-lg .control-label {
2979
- padding-top: 11px;
2980
- font-size: 18px;
2981
- }
2982
- }
2983
- @media (min-width: 768px) {
2984
- .form-horizontal .form-group-sm .control-label {
2985
- padding-top: 6px;
2986
- font-size: 12px;
2987
- }
2988
- }
2989
- .btn {
2990
- display: inline-block;
2991
- padding: 6px 12px;
2992
- margin-bottom: 0;
2993
- font-size: 14px;
2994
- font-weight: normal;
2995
- line-height: 1.42857143;
2996
- text-align: center;
2997
- white-space: nowrap;
2998
- vertical-align: middle;
2999
- -ms-touch-action: manipulation;
3000
- touch-action: manipulation;
3001
- cursor: pointer;
3002
- -webkit-user-select: none;
3003
- -moz-user-select: none;
3004
- -ms-user-select: none;
3005
- user-select: none;
3006
- background-image: none;
3007
- border: 1px solid transparent;
3008
- border-radius: 4px;
3009
- }
3010
- .btn:focus,
3011
- .btn:active:focus,
3012
- .btn.active:focus,
3013
- .btn.focus,
3014
- .btn:active.focus,
3015
- .btn.active.focus {
3016
- outline: 5px auto -webkit-focus-ring-color;
3017
- outline-offset: -2px;
3018
- }
3019
- .btn:hover,
3020
- .btn:focus,
3021
- .btn.focus {
3022
- color: #333;
3023
- text-decoration: none;
3024
- }
3025
- .btn:active,
3026
- .btn.active {
3027
- background-image: none;
3028
- outline: 0;
3029
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3030
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3031
- }
3032
- .btn.disabled,
3033
- .btn[disabled],
3034
- fieldset[disabled] .btn {
3035
- cursor: not-allowed;
3036
- filter: alpha(opacity=65);
3037
- -webkit-box-shadow: none;
3038
- box-shadow: none;
3039
- opacity: .65;
3040
- }
3041
- a.btn.disabled,
3042
- fieldset[disabled] a.btn {
3043
- pointer-events: none;
3044
- }
3045
- .btn-default {
3046
- color: #333;
3047
- background-color: #fff;
3048
- border-color: #ccc;
3049
- }
3050
- .btn-default:focus,
3051
- .btn-default.focus {
3052
- color: #333;
3053
- background-color: #e6e6e6;
3054
- border-color: #8c8c8c;
3055
- }
3056
- .btn-default:hover {
3057
- color: #333;
3058
- background-color: #e6e6e6;
3059
- border-color: #adadad;
3060
- }
3061
- .btn-default:active,
3062
- .btn-default.active,
3063
- .open > .dropdown-toggle.btn-default {
3064
- color: #333;
3065
- background-color: #e6e6e6;
3066
- border-color: #adadad;
3067
- }
3068
- .btn-default:active:hover,
3069
- .btn-default.active:hover,
3070
- .open > .dropdown-toggle.btn-default:hover,
3071
- .btn-default:active:focus,
3072
- .btn-default.active:focus,
3073
- .open > .dropdown-toggle.btn-default:focus,
3074
- .btn-default:active.focus,
3075
- .btn-default.active.focus,
3076
- .open > .dropdown-toggle.btn-default.focus {
3077
- color: #333;
3078
- background-color: #d4d4d4;
3079
- border-color: #8c8c8c;
3080
- }
3081
- .btn-default:active,
3082
- .btn-default.active,
3083
- .open > .dropdown-toggle.btn-default {
3084
- background-image: none;
3085
- }
3086
- .btn-default.disabled:hover,
3087
- .btn-default[disabled]:hover,
3088
- fieldset[disabled] .btn-default:hover,
3089
- .btn-default.disabled:focus,
3090
- .btn-default[disabled]:focus,
3091
- fieldset[disabled] .btn-default:focus,
3092
- .btn-default.disabled.focus,
3093
- .btn-default[disabled].focus,
3094
- fieldset[disabled] .btn-default.focus {
3095
- background-color: #fff;
3096
- border-color: #ccc;
3097
- }
3098
- .btn-default .badge {
3099
- color: #fff;
3100
- background-color: #333;
3101
- }
3102
- .btn-primary {
3103
- color: #fff;
3104
- background-color: #337ab7;
3105
- border-color: #2e6da4;
3106
- }
3107
- .btn-primary:focus,
3108
- .btn-primary.focus {
3109
- color: #fff;
3110
- background-color: #286090;
3111
- border-color: #122b40;
3112
- }
3113
- .btn-primary:hover {
3114
- color: #fff;
3115
- background-color: #286090;
3116
- border-color: #204d74;
3117
- }
3118
- .btn-primary:active,
3119
- .btn-primary.active,
3120
- .open > .dropdown-toggle.btn-primary {
3121
- color: #fff;
3122
- background-color: #286090;
3123
- border-color: #204d74;
3124
- }
3125
- .btn-primary:active:hover,
3126
- .btn-primary.active:hover,
3127
- .open > .dropdown-toggle.btn-primary:hover,
3128
- .btn-primary:active:focus,
3129
- .btn-primary.active:focus,
3130
- .open > .dropdown-toggle.btn-primary:focus,
3131
- .btn-primary:active.focus,
3132
- .btn-primary.active.focus,
3133
- .open > .dropdown-toggle.btn-primary.focus {
3134
- color: #fff;
3135
- background-color: #204d74;
3136
- border-color: #122b40;
3137
- }
3138
- .btn-primary:active,
3139
- .btn-primary.active,
3140
- .open > .dropdown-toggle.btn-primary {
3141
- background-image: none;
3142
- }
3143
- .btn-primary.disabled:hover,
3144
- .btn-primary[disabled]:hover,
3145
- fieldset[disabled] .btn-primary:hover,
3146
- .btn-primary.disabled:focus,
3147
- .btn-primary[disabled]:focus,
3148
- fieldset[disabled] .btn-primary:focus,
3149
- .btn-primary.disabled.focus,
3150
- .btn-primary[disabled].focus,
3151
- fieldset[disabled] .btn-primary.focus {
3152
- background-color: #337ab7;
3153
- border-color: #2e6da4;
3154
- }
3155
- .btn-primary .badge {
3156
- color: #337ab7;
3157
- background-color: #fff;
3158
- }
3159
- .btn-success {
3160
- color: #fff;
3161
- background-color: #5cb85c;
3162
- border-color: #4cae4c;
3163
- }
3164
- .btn-success:focus,
3165
- .btn-success.focus {
3166
- color: #fff;
3167
- background-color: #449d44;
3168
- border-color: #255625;
3169
- }
3170
- .btn-success:hover {
3171
- color: #fff;
3172
- background-color: #449d44;
3173
- border-color: #398439;
3174
- }
3175
- .btn-success:active,
3176
- .btn-success.active,
3177
- .open > .dropdown-toggle.btn-success {
3178
- color: #fff;
3179
- background-color: #449d44;
3180
- border-color: #398439;
3181
- }
3182
- .btn-success:active:hover,
3183
- .btn-success.active:hover,
3184
- .open > .dropdown-toggle.btn-success:hover,
3185
- .btn-success:active:focus,
3186
- .btn-success.active:focus,
3187
- .open > .dropdown-toggle.btn-success:focus,
3188
- .btn-success:active.focus,
3189
- .btn-success.active.focus,
3190
- .open > .dropdown-toggle.btn-success.focus {
3191
- color: #fff;
3192
- background-color: #398439;
3193
- border-color: #255625;
3194
- }
3195
- .btn-success:active,
3196
- .btn-success.active,
3197
- .open > .dropdown-toggle.btn-success {
3198
- background-image: none;
3199
- }
3200
- .btn-success.disabled:hover,
3201
- .btn-success[disabled]:hover,
3202
- fieldset[disabled] .btn-success:hover,
3203
- .btn-success.disabled:focus,
3204
- .btn-success[disabled]:focus,
3205
- fieldset[disabled] .btn-success:focus,
3206
- .btn-success.disabled.focus,
3207
- .btn-success[disabled].focus,
3208
- fieldset[disabled] .btn-success.focus {
3209
- background-color: #5cb85c;
3210
- border-color: #4cae4c;
3211
- }
3212
- .btn-success .badge {
3213
- color: #5cb85c;
3214
- background-color: #fff;
3215
- }
3216
- .btn-info {
3217
- color: #fff;
3218
- background-color: #5bc0de;
3219
- border-color: #46b8da;
3220
- }
3221
- .btn-info:focus,
3222
- .btn-info.focus {
3223
- color: #fff;
3224
- background-color: #31b0d5;
3225
- border-color: #1b6d85;
3226
- }
3227
- .btn-info:hover {
3228
- color: #fff;
3229
- background-color: #31b0d5;
3230
- border-color: #269abc;
3231
- }
3232
- .btn-info:active,
3233
- .btn-info.active,
3234
- .open > .dropdown-toggle.btn-info {
3235
- color: #fff;
3236
- background-color: #31b0d5;
3237
- border-color: #269abc;
3238
- }
3239
- .btn-info:active:hover,
3240
- .btn-info.active:hover,
3241
- .open > .dropdown-toggle.btn-info:hover,
3242
- .btn-info:active:focus,
3243
- .btn-info.active:focus,
3244
- .open > .dropdown-toggle.btn-info:focus,
3245
- .btn-info:active.focus,
3246
- .btn-info.active.focus,
3247
- .open > .dropdown-toggle.btn-info.focus {
3248
- color: #fff;
3249
- background-color: #269abc;
3250
- border-color: #1b6d85;
3251
- }
3252
- .btn-info:active,
3253
- .btn-info.active,
3254
- .open > .dropdown-toggle.btn-info {
3255
- background-image: none;
3256
- }
3257
- .btn-info.disabled:hover,
3258
- .btn-info[disabled]:hover,
3259
- fieldset[disabled] .btn-info:hover,
3260
- .btn-info.disabled:focus,
3261
- .btn-info[disabled]:focus,
3262
- fieldset[disabled] .btn-info:focus,
3263
- .btn-info.disabled.focus,
3264
- .btn-info[disabled].focus,
3265
- fieldset[disabled] .btn-info.focus {
3266
- background-color: #5bc0de;
3267
- border-color: #46b8da;
3268
- }
3269
- .btn-info .badge {
3270
- color: #5bc0de;
3271
- background-color: #fff;
3272
- }
3273
- .btn-warning {
3274
- color: #fff;
3275
- background-color: #f0ad4e;
3276
- border-color: #eea236;
3277
- }
3278
- .btn-warning:focus,
3279
- .btn-warning.focus {
3280
- color: #fff;
3281
- background-color: #ec971f;
3282
- border-color: #985f0d;
3283
- }
3284
- .btn-warning:hover {
3285
- color: #fff;
3286
- background-color: #ec971f;
3287
- border-color: #d58512;
3288
- }
3289
- .btn-warning:active,
3290
- .btn-warning.active,
3291
- .open > .dropdown-toggle.btn-warning {
3292
- color: #fff;
3293
- background-color: #ec971f;
3294
- border-color: #d58512;
3295
- }
3296
- .btn-warning:active:hover,
3297
- .btn-warning.active:hover,
3298
- .open > .dropdown-toggle.btn-warning:hover,
3299
- .btn-warning:active:focus,
3300
- .btn-warning.active:focus,
3301
- .open > .dropdown-toggle.btn-warning:focus,
3302
- .btn-warning:active.focus,
3303
- .btn-warning.active.focus,
3304
- .open > .dropdown-toggle.btn-warning.focus {
3305
- color: #fff;
3306
- background-color: #d58512;
3307
- border-color: #985f0d;
3308
- }
3309
- .btn-warning:active,
3310
- .btn-warning.active,
3311
- .open > .dropdown-toggle.btn-warning {
3312
- background-image: none;
3313
- }
3314
- .btn-warning.disabled:hover,
3315
- .btn-warning[disabled]:hover,
3316
- fieldset[disabled] .btn-warning:hover,
3317
- .btn-warning.disabled:focus,
3318
- .btn-warning[disabled]:focus,
3319
- fieldset[disabled] .btn-warning:focus,
3320
- .btn-warning.disabled.focus,
3321
- .btn-warning[disabled].focus,
3322
- fieldset[disabled] .btn-warning.focus {
3323
- background-color: #f0ad4e;
3324
- border-color: #eea236;
3325
- }
3326
- .btn-warning .badge {
3327
- color: #f0ad4e;
3328
- background-color: #fff;
3329
- }
3330
- .btn-danger {
3331
- color: #fff;
3332
- background-color: #d9534f;
3333
- border-color: #d43f3a;
3334
- }
3335
- .btn-danger:focus,
3336
- .btn-danger.focus {
3337
- color: #fff;
3338
- background-color: #c9302c;
3339
- border-color: #761c19;
3340
- }
3341
- .btn-danger:hover {
3342
- color: #fff;
3343
- background-color: #c9302c;
3344
- border-color: #ac2925;
3345
- }
3346
- .btn-danger:active,
3347
- .btn-danger.active,
3348
- .open > .dropdown-toggle.btn-danger {
3349
- color: #fff;
3350
- background-color: #c9302c;
3351
- border-color: #ac2925;
3352
- }
3353
- .btn-danger:active:hover,
3354
- .btn-danger.active:hover,
3355
- .open > .dropdown-toggle.btn-danger:hover,
3356
- .btn-danger:active:focus,
3357
- .btn-danger.active:focus,
3358
- .open > .dropdown-toggle.btn-danger:focus,
3359
- .btn-danger:active.focus,
3360
- .btn-danger.active.focus,
3361
- .open > .dropdown-toggle.btn-danger.focus {
3362
- color: #fff;
3363
- background-color: #ac2925;
3364
- border-color: #761c19;
3365
- }
3366
- .btn-danger:active,
3367
- .btn-danger.active,
3368
- .open > .dropdown-toggle.btn-danger {
3369
- background-image: none;
3370
- }
3371
- .btn-danger.disabled:hover,
3372
- .btn-danger[disabled]:hover,
3373
- fieldset[disabled] .btn-danger:hover,
3374
- .btn-danger.disabled:focus,
3375
- .btn-danger[disabled]:focus,
3376
- fieldset[disabled] .btn-danger:focus,
3377
- .btn-danger.disabled.focus,
3378
- .btn-danger[disabled].focus,
3379
- fieldset[disabled] .btn-danger.focus {
3380
- background-color: #d9534f;
3381
- border-color: #d43f3a;
3382
- }
3383
- .btn-danger .badge {
3384
- color: #d9534f;
3385
- background-color: #fff;
3386
- }
3387
- .btn-link {
3388
- font-weight: normal;
3389
- color: #337ab7;
3390
- border-radius: 0;
3391
- }
3392
- .btn-link,
3393
- .btn-link:active,
3394
- .btn-link.active,
3395
- .btn-link[disabled],
3396
- fieldset[disabled] .btn-link {
3397
- background-color: transparent;
3398
- -webkit-box-shadow: none;
3399
- box-shadow: none;
3400
- }
3401
- .btn-link,
3402
- .btn-link:hover,
3403
- .btn-link:focus,
3404
- .btn-link:active {
3405
- border-color: transparent;
3406
- }
3407
- .btn-link:hover,
3408
- .btn-link:focus {
3409
- color: #23527c;
3410
- text-decoration: underline;
3411
- background-color: transparent;
3412
- }
3413
- .btn-link[disabled]:hover,
3414
- fieldset[disabled] .btn-link:hover,
3415
- .btn-link[disabled]:focus,
3416
- fieldset[disabled] .btn-link:focus {
3417
- color: #777;
3418
- text-decoration: none;
3419
- }
3420
- .btn-lg,
3421
- .btn-group-lg > .btn {
3422
- font-size: 20px;
3423
- line-height: 1.3333333;
3424
- border-radius: 6px;
3425
- }
3426
- .btn-sm,
3427
- .btn-group-sm > .btn {
3428
- padding: 5px 10px;
3429
- font-size: 12px;
3430
- line-height: 1.5;
3431
- border-radius: 3px;
3432
- }
3433
- .btn-xs,
3434
- .btn-group-xs > .btn {
3435
- padding: 2px 4px;
3436
- font-size: 12px;
3437
- line-height: 1.4;
3438
- border-radius: 3px;
3439
- }
3440
- .btn-block {
3441
- display: block;
3442
- width: 100%;
3443
- }
3444
- .btn-block + .btn-block {
3445
- margin-top: 5px;
3446
- }
3447
- input[type="submit"].btn-block,
3448
- input[type="reset"].btn-block,
3449
- input[type="button"].btn-block {
3450
- width: 100%;
3451
- }
3452
- .fade {
3453
- opacity: 0;
3454
- -webkit-transition: opacity .15s linear;
3455
- -o-transition: opacity .15s linear;
3456
- transition: opacity .15s linear;
3457
- }
3458
- .fade.in {
3459
- opacity: 1;
3460
- }
3461
- .caret {
3462
- display: inline-block;
3463
- width: 0;
3464
- height: 0;
3465
- margin-left: 2px;
3466
- vertical-align: middle;
3467
- border-top: 4px dashed;
3468
- border-top: 4px solid \9;
3469
- border-right: 4px solid transparent;
3470
- border-left: 4px solid transparent;
3471
- }
3472
- .dropup,
3473
- .dropdown {
3474
- position: relative;
3475
- }
3476
- .dropdown-toggle:focus {
3477
- outline: 0;
3478
- }
3479
- .dropdown-menu {
3480
- position: absolute;
3481
- top: 100%;
3482
- left: 0;
3483
- z-index: 1000;
3484
- display: none;
3485
- float: left;
3486
- min-width: 160px;
3487
- padding: 5px 0;
3488
- margin: 2px 0 0;
3489
- font-size: 14px;
3490
- text-align: left;
3491
- list-style: none;
3492
- background-color: #fff;
3493
- -webkit-background-clip: padding-box;
3494
- background-clip: padding-box;
3495
- border: 1px solid #ccc;
3496
- border: 1px solid rgba(0, 0, 0, .15);
3497
- border-radius: 4px;
3498
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
3499
- box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
3500
- }
3501
- .dropdown-menu.pull-right {
3502
- right: 0;
3503
- left: auto;
3504
- }
3505
- .dropdown-menu .divider {
3506
- height: 1px;
3507
- margin: 9px 0;
3508
- overflow: hidden;
3509
- background-color: #e5e5e5;
3510
- }
3511
- .dropdown-menu > li > a {
3512
- display: block;
3513
- padding: 3px 20px;
3514
- clear: both;
3515
- font-weight: normal;
3516
- line-height: 1.42857143;
3517
- color: #333;
3518
- white-space: nowrap;
3519
- }
3520
- .dropdown-menu > li > a:hover,
3521
- .dropdown-menu > li > a:focus {
3522
- color: #262626;
3523
- text-decoration: none;
3524
- background-color: #f5f5f5;
3525
- }
3526
- .dropdown-menu > .active > a,
3527
- .dropdown-menu > .active > a:hover,
3528
- .dropdown-menu > .active > a:focus {
3529
- color: #fff;
3530
- text-decoration: none;
3531
- background-color: #337ab7;
3532
- outline: 0;
3533
- }
3534
- .dropdown-menu > .disabled > a,
3535
- .dropdown-menu > .disabled > a:hover,
3536
- .dropdown-menu > .disabled > a:focus {
3537
- color: #777;
3538
- }
3539
- .dropdown-menu > .disabled > a:hover,
3540
- .dropdown-menu > .disabled > a:focus {
3541
- text-decoration: none;
3542
- cursor: not-allowed;
3543
- background-color: transparent;
3544
- background-image: none;
3545
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
3546
- }
3547
- .open > .dropdown-menu {
3548
- display: block;
3549
- }
3550
- .open > a {
3551
- outline: 0;
3552
- }
3553
- .dropdown-menu-right {
3554
- right: 0;
3555
- left: auto;
3556
- }
3557
- .dropdown-menu-left {
3558
- right: auto;
3559
- left: 0;
3560
- }
3561
- .dropdown-header {
3562
- display: block;
3563
- padding: 3px 20px;
3564
- font-size: 12px;
3565
- line-height: 1.42857143;
3566
- color: #777;
3567
- white-space: nowrap;
3568
- }
3569
- .dropdown-backdrop {
3570
- position: fixed;
3571
- top: 0;
3572
- right: 0;
3573
- bottom: 0;
3574
- left: 0;
3575
- z-index: 990;
3576
- }
3577
- .pull-right > .dropdown-menu {
3578
- right: 0;
3579
- left: auto;
3580
- }
3581
- .dropup .caret,
3582
- .navbar-fixed-bottom .dropdown .caret {
3583
- content: "";
3584
- border-top: 0;
3585
- border-bottom: 4px dashed;
3586
- border-bottom: 4px solid \9;
3587
- }
3588
- .dropup .dropdown-menu,
3589
- .navbar-fixed-bottom .dropdown .dropdown-menu {
3590
- top: auto;
3591
- bottom: 100%;
3592
- margin-bottom: 2px;
3593
- }
3594
- @media (min-width: 768px) {
3595
- .navbar-right .dropdown-menu {
3596
- right: 0;
3597
- left: auto;
3598
- }
3599
- .navbar-right .dropdown-menu-left {
3600
- right: auto;
3601
- left: 0;
3602
- }
3603
- }
3604
- .btn-group,
3605
- .btn-group-vertical {
3606
- position: relative;
3607
- display: inline-block;
3608
- vertical-align: middle;
3609
- }
3610
- .btn-group > .btn,
3611
- .btn-group-vertical > .btn {
3612
- position: relative;
3613
- float: left;
3614
- }
3615
- .btn-group > .btn:hover,
3616
- .btn-group-vertical > .btn:hover,
3617
- .btn-group > .btn:focus,
3618
- .btn-group-vertical > .btn:focus,
3619
- .btn-group > .btn:active,
3620
- .btn-group-vertical > .btn:active,
3621
- .btn-group > .btn.active,
3622
- .btn-group-vertical > .btn.active {
3623
- z-index: 2;
3624
- }
3625
- .btn-group .btn + .btn,
3626
- .btn-group .btn + .btn-group,
3627
- .btn-group .btn-group + .btn,
3628
- .btn-group .btn-group + .btn-group {
3629
- margin-left: -1px;
3630
- }
3631
- .btn-toolbar {
3632
- margin-left: -5px;
3633
- }
3634
- .btn-toolbar .btn,
3635
- .btn-toolbar .btn-group,
3636
- .btn-toolbar .input-group {
3637
- float: left;
3638
- }
3639
- .btn-toolbar > .btn,
3640
- .btn-toolbar > .btn-group,
3641
- .btn-toolbar > .input-group {
3642
- margin-left: 5px;
3643
- }
3644
- .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
3645
- border-radius: 0;
3646
- }
3647
- .btn-group > .btn:first-child {
3648
- margin-left: 0;
3649
- }
3650
- .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
3651
- border-top-right-radius: 0;
3652
- border-bottom-right-radius: 0;
3653
- }
3654
- .btn-group > .btn:last-child:not(:first-child),
3655
- .btn-group > .dropdown-toggle:not(:first-child) {
3656
- border-top-left-radius: 0;
3657
- border-bottom-left-radius: 0;
3658
- }
3659
- .btn-group > .btn-group {
3660
- float: left;
3661
- }
3662
- .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
3663
- border-radius: 0;
3664
- }
3665
- .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
3666
- .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
3667
- border-top-right-radius: 0;
3668
- border-bottom-right-radius: 0;
3669
- }
3670
- .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
3671
- border-top-left-radius: 0;
3672
- border-bottom-left-radius: 0;
3673
- }
3674
- .btn-group .dropdown-toggle:active,
3675
- .btn-group.open .dropdown-toggle {
3676
- outline: 0;
3677
- }
3678
- .btn-group > .btn + .dropdown-toggle {
3679
- padding-right: 8px;
3680
- padding-left: 8px;
3681
- }
3682
- .btn-group > .btn-lg + .dropdown-toggle {
3683
- padding-right: 12px;
3684
- padding-left: 12px;
3685
- }
3686
- .btn-group.open .dropdown-toggle {
3687
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3688
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3689
- }
3690
- .btn-group.open .dropdown-toggle.btn-link {
3691
- -webkit-box-shadow: none;
3692
- box-shadow: none;
3693
- }
3694
- .btn .caret {
3695
- margin-left: 0;
3696
- }
3697
- .btn-lg .caret {
3698
- border-width: 5px 5px 0;
3699
- border-bottom-width: 0;
3700
- }
3701
- .dropup .btn-lg .caret {
3702
- border-width: 0 5px 5px;
3703
- }
3704
- .btn-group-vertical > .btn,
3705
- .btn-group-vertical > .btn-group,
3706
- .btn-group-vertical > .btn-group > .btn {
3707
- display: block;
3708
- float: none;
3709
- width: 100%;
3710
- max-width: 100%;
3711
- }
3712
- .btn-group-vertical > .btn-group > .btn {
3713
- float: none;
3714
- }
3715
- .btn-group-vertical > .btn + .btn,
3716
- .btn-group-vertical > .btn + .btn-group,
3717
- .btn-group-vertical > .btn-group + .btn,
3718
- .btn-group-vertical > .btn-group + .btn-group {
3719
- margin-top: -1px;
3720
- margin-left: 0;
3721
- }
3722
- .btn-group-vertical > .btn:not(:first-child):not(:last-child) {
3723
- border-radius: 0;
3724
- }
3725
- .btn-group-vertical > .btn:first-child:not(:last-child) {
3726
- border-top-left-radius: 4px;
3727
- border-top-right-radius: 4px;
3728
- border-bottom-right-radius: 0;
3729
- border-bottom-left-radius: 0;
3730
- }
3731
- .btn-group-vertical > .btn:last-child:not(:first-child) {
3732
- border-top-left-radius: 0;
3733
- border-top-right-radius: 0;
3734
- border-bottom-right-radius: 4px;
3735
- border-bottom-left-radius: 4px;
3736
- }
3737
- .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
3738
- border-radius: 0;
3739
- }
3740
- .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
3741
- .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
3742
- border-bottom-right-radius: 0;
3743
- border-bottom-left-radius: 0;
3744
- }
3745
- .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
3746
- border-top-left-radius: 0;
3747
- border-top-right-radius: 0;
3748
- }
3749
- .btn-group-justified {
3750
- display: table;
3751
- width: 100%;
3752
- table-layout: fixed;
3753
- border-collapse: separate;
3754
- }
3755
- .btn-group-justified > .btn,
3756
- .btn-group-justified > .btn-group {
3757
- display: table-cell;
3758
- float: none;
3759
- width: 1%;
3760
- }
3761
- .btn-group-justified > .btn-group .btn {
3762
- width: 100%;
3763
- }
3764
- .btn-group-justified > .btn-group .dropdown-menu {
3765
- left: auto;
3766
- }
3767
- [data-toggle="buttons"] > .btn input[type="radio"],
3768
- [data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
3769
- [data-toggle="buttons"] > .btn input[type="checkbox"],
3770
- [data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
3771
- position: absolute;
3772
- clip: rect(0, 0, 0, 0);
3773
- pointer-events: none;
3774
- }
3775
- .input-group {
3776
- position: relative;
3777
- display: table;
3778
- border-collapse: separate;
3779
- }
3780
- .input-group[class*="col-"] {
3781
- float: none;
3782
- padding-right: 0;
3783
- padding-left: 0;
3784
- }
3785
- .input-group .form-control {
3786
- position: relative;
3787
- z-index: 2;
3788
- float: left;
3789
- width: 100%;
3790
- margin-bottom: 0;
3791
- }
3792
- .input-group .form-control:focus {
3793
- z-index: 3;
3794
- }
3795
- .input-group-lg > .form-control,
3796
- .input-group-lg > .input-group-addon,
3797
- .input-group-lg > .input-group-btn > .btn {
3798
- height: 46px;
3799
- padding: 10px 16px;
3800
- font-size: 18px;
3801
- line-height: 1.3333333;
3802
- border-radius: 6px;
3803
- }
3804
- select.input-group-lg > .form-control,
3805
- select.input-group-lg > .input-group-addon,
3806
- select.input-group-lg > .input-group-btn > .btn {
3807
- height: 46px;
3808
- line-height: 46px;
3809
- }
3810
- textarea.input-group-lg > .form-control,
3811
- textarea.input-group-lg > .input-group-addon,
3812
- textarea.input-group-lg > .input-group-btn > .btn,
3813
- select[multiple].input-group-lg > .form-control,
3814
- select[multiple].input-group-lg > .input-group-addon,
3815
- select[multiple].input-group-lg > .input-group-btn > .btn {
3816
- height: auto;
3817
- }
3818
- .input-group-sm > .form-control,
3819
- .input-group-sm > .input-group-addon,
3820
- .input-group-sm > .input-group-btn > .btn {
3821
- height: 30px;
3822
- padding: 5px 10px;
3823
- font-size: 12px;
3824
- line-height: 1.5;
3825
- border-radius: 3px;
3826
- }
3827
- select.input-group-sm > .form-control,
3828
- select.input-group-sm > .input-group-addon,
3829
- select.input-group-sm > .input-group-btn > .btn {
3830
- height: 30px;
3831
- line-height: 30px;
3832
- }
3833
- textarea.input-group-sm > .form-control,
3834
- textarea.input-group-sm > .input-group-addon,
3835
- textarea.input-group-sm > .input-group-btn > .btn,
3836
- select[multiple].input-group-sm > .form-control,
3837
- select[multiple].input-group-sm > .input-group-addon,
3838
- select[multiple].input-group-sm > .input-group-btn > .btn {
3839
- height: auto;
3840
- }
3841
- .input-group-addon,
3842
- .input-group-btn,
3843
- .input-group .form-control {
3844
- display: table-cell;
3845
- }
3846
- .input-group-addon:not(:first-child):not(:last-child),
3847
- .input-group-btn:not(:first-child):not(:last-child),
3848
- .input-group .form-control:not(:first-child):not(:last-child) {
3849
- border-radius: 0;
3850
- }
3851
- .input-group-addon,
3852
- .input-group-btn {
3853
- width: 1%;
3854
- white-space: nowrap;
3855
- vertical-align: middle;
3856
- }
3857
- .input-group-addon {
3858
- padding: 6px 12px;
3859
- font-size: 14px;
3860
- font-weight: normal;
3861
- line-height: 1;
3862
- color: #555;
3863
- text-align: center;
3864
- background-color: #eee;
3865
- border: 1px solid #ccc;
3866
- border-radius: 4px;
3867
- }
3868
- .input-group-addon.input-sm {
3869
- padding: 5px 10px;
3870
- font-size: 12px;
3871
- border-radius: 3px;
3872
- }
3873
- .input-group-addon.input-lg {
3874
- padding: 10px 16px;
3875
- font-size: 18px;
3876
- border-radius: 6px;
3877
- }
3878
- .input-group-addon input[type="radio"],
3879
- .input-group-addon input[type="checkbox"] {
3880
- margin-top: 0;
3881
- }
3882
- .input-group .form-control:first-child,
3883
- .input-group-addon:first-child,
3884
- .input-group-btn:first-child > .btn,
3885
- .input-group-btn:first-child > .btn-group > .btn,
3886
- .input-group-btn:first-child > .dropdown-toggle,
3887
- .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
3888
- .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
3889
- border-top-right-radius: 0;
3890
- border-bottom-right-radius: 0;
3891
- }
3892
- .input-group-addon:first-child {
3893
- border-right: 0;
3894
- }
3895
- .input-group .form-control:last-child,
3896
- .input-group-addon:last-child,
3897
- .input-group-btn:last-child > .btn,
3898
- .input-group-btn:last-child > .btn-group > .btn,
3899
- .input-group-btn:last-child > .dropdown-toggle,
3900
- .input-group-btn:first-child > .btn:not(:first-child),
3901
- .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
3902
- border-top-left-radius: 0;
3903
- border-bottom-left-radius: 0;
3904
- }
3905
- .input-group-addon:last-child {
3906
- border-left: 0;
3907
- }
3908
- .input-group-btn {
3909
- position: relative;
3910
- font-size: 0;
3911
- white-space: nowrap;
3912
- }
3913
- .input-group-btn > .btn {
3914
- position: relative;
3915
- }
3916
- .input-group-btn > .btn + .btn {
3917
- margin-left: -1px;
3918
- }
3919
- .input-group-btn > .btn:hover,
3920
- .input-group-btn > .btn:focus,
3921
- .input-group-btn > .btn:active {
3922
- z-index: 2;
3923
- }
3924
- .input-group-btn:first-child > .btn,
3925
- .input-group-btn:first-child > .btn-group {
3926
- margin-right: -1px;
3927
- }
3928
- .input-group-btn:last-child > .btn,
3929
- .input-group-btn:last-child > .btn-group {
3930
- z-index: 2;
3931
- margin-left: -1px;
3932
- }
3933
- .nav {
3934
- padding-left: 0;
3935
- margin-bottom: 0;
3936
- list-style: none;
3937
- }
3938
- .nav > li {
3939
- position: relative;
3940
- display: block;
3941
- }
3942
- .nav > li > a {
3943
- position: relative;
3944
- display: block;
3945
- padding: 10px 15px;
3946
- }
3947
- .nav > li > a:hover,
3948
- .nav > li > a:focus {
3949
- text-decoration: none;
3950
- background-color: #eee;
3951
- }
3952
- .nav > li.disabled > a {
3953
- color: #777;
3954
- }
3955
- .nav > li.disabled > a:hover,
3956
- .nav > li.disabled > a:focus {
3957
- color: #777;
3958
- text-decoration: none;
3959
- cursor: not-allowed;
3960
- background-color: transparent;
3961
- }
3962
- .nav .open > a,
3963
- .nav .open > a:hover,
3964
- .nav .open > a:focus {
3965
- background-color: #eee;
3966
- border-color: #337ab7;
3967
- }
3968
- .nav .nav-divider {
3969
- height: 1px;
3970
- margin: 9px 0;
3971
- overflow: hidden;
3972
- background-color: #e5e5e5;
3973
- }
3974
- .nav > li > a > img {
3975
- max-width: none;
3976
- }
3977
- .nav-tabs {
3978
- border-bottom: 1px solid #ddd;
3979
- }
3980
- .nav-tabs > li {
3981
- float: left;
3982
- margin-bottom: -1px;
3983
- }
3984
- .nav-tabs > li > a {
3985
- margin-right: 2px;
3986
- line-height: 1.42857143;
3987
- border: 1px solid transparent;
3988
- border-radius: 4px 4px 0 0;
3989
- }
3990
- .nav-tabs > li > a:hover {
3991
- border-color: #eee #eee #ddd;
3992
- }
3993
- .nav-tabs > li.active > a,
3994
- .nav-tabs > li.active > a:hover,
3995
- .nav-tabs > li.active > a:focus {
3996
- color: #555;
3997
- cursor: default;
3998
- background-color: #fff;
3999
- border: 1px solid #ddd;
4000
- border-bottom-color: transparent;
4001
- }
4002
- .nav-tabs.nav-justified {
4003
- width: 100%;
4004
- border-bottom: 0;
4005
- }
4006
- .nav-tabs.nav-justified > li {
4007
- float: none;
4008
- }
4009
- .nav-tabs.nav-justified > li > a {
4010
- margin-bottom: 5px;
4011
- text-align: center;
4012
- }
4013
- .nav-tabs.nav-justified > .dropdown .dropdown-menu {
4014
- top: auto;
4015
- left: auto;
4016
- }
4017
- @media (min-width: 768px) {
4018
- .nav-tabs.nav-justified > li {
4019
- display: table-cell;
4020
- width: 1%;
4021
- }
4022
- .nav-tabs.nav-justified > li > a {
4023
- margin-bottom: 0;
4024
- }
4025
- }
4026
- .nav-tabs.nav-justified > li > a {
4027
- margin-right: 0;
4028
- border-radius: 4px;
4029
- }
4030
- .nav-tabs.nav-justified > .active > a,
4031
- .nav-tabs.nav-justified > .active > a:hover,
4032
- .nav-tabs.nav-justified > .active > a:focus {
4033
- border: 1px solid #ddd;
4034
- }
4035
- @media (min-width: 768px) {
4036
- .nav-tabs.nav-justified > li > a {
4037
- border-bottom: 1px solid #ddd;
4038
- border-radius: 4px 4px 0 0;
4039
- }
4040
- .nav-tabs.nav-justified > .active > a,
4041
- .nav-tabs.nav-justified > .active > a:hover,
4042
- .nav-tabs.nav-justified > .active > a:focus {
4043
- border-bottom-color: #fff;
4044
- }
4045
- }
4046
- .nav-pills > li {
4047
- float: left;
4048
- }
4049
- .nav-pills > li > a {
4050
- border-radius: 4px;
4051
- }
4052
- .nav-pills > li + li {
4053
- margin-left: 2px;
4054
- }
4055
- .nav-pills > li.active > a,
4056
- .nav-pills > li.active > a:hover,
4057
- .nav-pills > li.active > a:focus {
4058
- color: #fff;
4059
- background-color: #337ab7;
4060
- }
4061
- .nav-stacked > li {
4062
- float: none;
4063
- }
4064
- .nav-stacked > li + li {
4065
- margin-top: 2px;
4066
- margin-left: 0;
4067
- }
4068
- .nav-justified {
4069
- width: 100%;
4070
- }
4071
- .nav-justified > li {
4072
- float: none;
4073
- }
4074
- .nav-justified > li > a {
4075
- margin-bottom: 5px;
4076
- text-align: center;
4077
- }
4078
- .nav-justified > .dropdown .dropdown-menu {
4079
- top: auto;
4080
- left: auto;
4081
- }
4082
- @media (min-width: 768px) {
4083
- .nav-justified > li {
4084
- display: table-cell;
4085
- width: 1%;
4086
- }
4087
- .nav-justified > li > a {
4088
- margin-bottom: 0;
4089
- }
4090
- }
4091
- .nav-tabs-justified {
4092
- border-bottom: 0;
4093
- }
4094
- .nav-tabs-justified > li > a {
4095
- margin-right: 0;
4096
- border-radius: 4px;
4097
- }
4098
- .nav-tabs-justified > .active > a,
4099
- .nav-tabs-justified > .active > a:hover,
4100
- .nav-tabs-justified > .active > a:focus {
4101
- border: 1px solid #ddd;
4102
- }
4103
- @media (min-width: 768px) {
4104
- .nav-tabs-justified > li > a {
4105
- border-bottom: 1px solid #ddd;
4106
- border-radius: 4px 4px 0 0;
4107
- }
4108
- .nav-tabs-justified > .active > a,
4109
- .nav-tabs-justified > .active > a:hover,
4110
- .nav-tabs-justified > .active > a:focus {
4111
- border-bottom-color: #fff;
4112
- }
4113
- }
4114
- .tab-content > .tab-pane {
4115
- display: none;
4116
- }
4117
- .tab-content > .active {
4118
- display: block;
4119
- }
4120
- .nav-tabs .dropdown-menu {
4121
- margin-top: -1px;
4122
- border-top-left-radius: 0;
4123
- border-top-right-radius: 0;
4124
- }
4125
- .navbar {
4126
- position: relative;
4127
- min-height: 50px;
4128
- margin-bottom: 20px;
4129
- border: 1px solid transparent;
4130
- }
4131
- @media (min-width: 768px) {
4132
- .navbar {
4133
- border-radius: 4px;
4134
- }
4135
- }
4136
- @media (min-width: 768px) {
4137
- .navbar-header {
4138
- float: left;
4139
- }
4140
- }
4141
- .navbar-collapse {
4142
- padding-right: 15px;
4143
- padding-left: 15px;
4144
- overflow-x: visible;
4145
- -webkit-overflow-scrolling: touch;
4146
- border-top: 1px solid transparent;
4147
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
4148
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
4149
- }
4150
- .navbar-collapse.in {
4151
- overflow-y: auto;
4152
- }
4153
- @media (min-width: 768px) {
4154
- .navbar-collapse {
4155
- width: auto;
4156
- border-top: 0;
4157
- -webkit-box-shadow: none;
4158
- box-shadow: none;
4159
- }
4160
- .navbar-collapse.collapse {
4161
- display: block !important;
4162
- height: auto !important;
4163
- padding-bottom: 0;
4164
- overflow: visible !important;
4165
- }
4166
- .navbar-collapse.in {
4167
- overflow-y: visible;
4168
- }
4169
- .navbar-fixed-top .navbar-collapse,
4170
- .navbar-static-top .navbar-collapse,
4171
- .navbar-fixed-bottom .navbar-collapse {
4172
- padding-right: 0;
4173
- padding-left: 0;
4174
- }
4175
- }
4176
- .navbar-fixed-top .navbar-collapse,
4177
- .navbar-fixed-bottom .navbar-collapse {
4178
- max-height: 340px;
4179
- }
4180
- @media (max-device-width: 480px) and (orientation: landscape) {
4181
- .navbar-fixed-top .navbar-collapse,
4182
- .navbar-fixed-bottom .navbar-collapse {
4183
- max-height: 200px;
4184
- }
4185
- }
4186
- .container > .navbar-header,
4187
- .container-fluid > .navbar-header,
4188
- .container > .navbar-collapse,
4189
- .container-fluid > .navbar-collapse {
4190
- margin-right: -15px;
4191
- margin-left: -15px;
4192
- }
4193
- @media (min-width: 768px) {
4194
- .container > .navbar-header,
4195
- .container-fluid > .navbar-header,
4196
- .container > .navbar-collapse,
4197
- .container-fluid > .navbar-collapse {
4198
- margin-right: 0;
4199
- margin-left: 0;
4200
- }
4201
- }
4202
- .navbar-static-top {
4203
- z-index: 1000;
4204
- border-width: 0 0 1px;
4205
- }
4206
- @media (min-width: 768px) {
4207
- .navbar-static-top {
4208
- border-radius: 0;
4209
- }
4210
- }
4211
- .navbar-fixed-top,
4212
- .navbar-fixed-bottom {
4213
- position: fixed;
4214
- right: 0;
4215
- left: 0;
4216
- z-index: 1030;
4217
- }
4218
- @media (min-width: 768px) {
4219
- .navbar-fixed-top,
4220
- .navbar-fixed-bottom {
4221
- border-radius: 0;
4222
- }
4223
- }
4224
- .navbar-fixed-top {
4225
- top: 0;
4226
- border-width: 0 0 1px;
4227
- }
4228
- .navbar-fixed-bottom {
4229
- bottom: 0;
4230
- margin-bottom: 0;
4231
- border-width: 1px 0 0;
4232
- }
4233
- .navbar-brand {
4234
- float: left;
4235
- height: 50px;
4236
- padding: 15px 15px;
4237
- font-size: 18px;
4238
- line-height: 20px;
4239
- }
4240
- .navbar-brand:hover,
4241
- .navbar-brand:focus {
4242
- text-decoration: none;
4243
- }
4244
- .navbar-brand > img {
4245
- display: block;
4246
- }
4247
- @media (min-width: 768px) {
4248
- .navbar > .container .navbar-brand,
4249
- .navbar > .container-fluid .navbar-brand {
4250
- margin-left: -15px;
4251
- }
4252
- }
4253
- .navbar-toggle {
4254
- position: relative;
4255
- float: right;
4256
- padding: 9px 10px;
4257
- margin-top: 8px;
4258
- margin-right: 15px;
4259
- margin-bottom: 8px;
4260
- background-color: transparent;
4261
- background-image: none;
4262
- border: 1px solid transparent;
4263
- border-radius: 4px;
4264
- }
4265
- .navbar-toggle:focus {
4266
- outline: 0;
4267
- }
4268
- .navbar-toggle .icon-bar {
4269
- display: block;
4270
- width: 22px;
4271
- height: 2px;
4272
- border-radius: 1px;
4273
- }
4274
- .navbar-toggle .icon-bar + .icon-bar {
4275
- margin-top: 4px;
4276
- }
4277
- @media (min-width: 768px) {
4278
- .navbar-toggle {
4279
- display: none;
4280
- }
4281
- }
4282
- .navbar-nav {
4283
- margin: 7.5px -15px;
4284
- }
4285
- .navbar-nav > li > a {
4286
- padding-top: 10px;
4287
- padding-bottom: 10px;
4288
- line-height: 20px;
4289
- }
4290
- @media (max-width: 767px) {
4291
- .navbar-nav .open .dropdown-menu {
4292
- position: static;
4293
- float: none;
4294
- width: auto;
4295
- margin-top: 0;
4296
- background-color: transparent;
4297
- border: 0;
4298
- -webkit-box-shadow: none;
4299
- box-shadow: none;
4300
- }
4301
- .navbar-nav .open .dropdown-menu > li > a,
4302
- .navbar-nav .open .dropdown-menu .dropdown-header {
4303
- padding: 5px 15px 5px 25px;
4304
- }
4305
- .navbar-nav .open .dropdown-menu > li > a {
4306
- line-height: 20px;
4307
- }
4308
- .navbar-nav .open .dropdown-menu > li > a:hover,
4309
- .navbar-nav .open .dropdown-menu > li > a:focus {
4310
- background-image: none;
4311
- }
4312
- }
4313
- @media (min-width: 768px) {
4314
- .navbar-nav {
4315
- float: left;
4316
- margin: 0;
4317
- }
4318
- .navbar-nav > li {
4319
- float: left;
4320
- }
4321
- .navbar-nav > li > a {
4322
- padding-top: 15px;
4323
- padding-bottom: 15px;
4324
- }
4325
- }
4326
- .navbar-form {
4327
- padding: 10px 15px;
4328
- margin-top: 8px;
4329
- margin-right: -15px;
4330
- margin-bottom: 8px;
4331
- margin-left: -15px;
4332
- border-top: 1px solid transparent;
4333
- border-bottom: 1px solid transparent;
4334
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
4335
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
4336
- }
4337
- @media (min-width: 768px) {
4338
- .navbar-form .form-group {
4339
- display: inline-block;
4340
- margin-bottom: 0;
4341
- vertical-align: middle;
4342
- }
4343
- .navbar-form .form-control {
4344
- display: inline-block;
4345
- width: auto;
4346
- vertical-align: middle;
4347
- }
4348
- .navbar-form .form-control-static {
4349
- display: inline-block;
4350
- }
4351
- .navbar-form .input-group {
4352
- display: inline-table;
4353
- vertical-align: middle;
4354
- }
4355
- .navbar-form .input-group .input-group-addon,
4356
- .navbar-form .input-group .input-group-btn,
4357
- .navbar-form .input-group .form-control {
4358
- width: auto;
4359
- }
4360
- .navbar-form .input-group > .form-control {
4361
- width: 100%;
4362
- }
4363
- .navbar-form .control-label {
4364
- margin-bottom: 0;
4365
- vertical-align: middle;
4366
- }
4367
- .navbar-form .radio,
4368
- .navbar-form .checkbox {
4369
- display: inline-block;
4370
- margin-top: 0;
4371
- margin-bottom: 0;
4372
- vertical-align: middle;
4373
- }
4374
- .navbar-form .radio label,
4375
- .navbar-form .checkbox label {
4376
- padding-left: 0;
4377
- }
4378
- .navbar-form .radio input[type="radio"],
4379
- .navbar-form .checkbox input[type="checkbox"] {
4380
- position: relative;
4381
- margin-left: 0;
4382
- }
4383
- .navbar-form .has-feedback .form-control-feedback {
4384
- top: 0;
4385
- }
4386
- }
4387
- @media (max-width: 767px) {
4388
- .navbar-form .form-group {
4389
- margin-bottom: 5px;
4390
- }
4391
- .navbar-form .form-group:last-child {
4392
- margin-bottom: 0;
4393
- }
4394
- }
4395
- @media (min-width: 768px) {
4396
- .navbar-form {
4397
- width: auto;
4398
- padding-top: 0;
4399
- padding-bottom: 0;
4400
- margin-right: 0;
4401
- margin-left: 0;
4402
- border: 0;
4403
- -webkit-box-shadow: none;
4404
- box-shadow: none;
4405
- }
4406
- }
4407
- .navbar-nav > li > .dropdown-menu {
4408
- margin-top: 0;
4409
- border-top-left-radius: 0;
4410
- border-top-right-radius: 0;
4411
- }
4412
- .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
4413
- margin-bottom: 0;
4414
- border-top-left-radius: 4px;
4415
- border-top-right-radius: 4px;
4416
- border-bottom-right-radius: 0;
4417
- border-bottom-left-radius: 0;
4418
- }
4419
- .navbar-btn {
4420
- margin-top: 8px;
4421
- margin-bottom: 8px;
4422
- }
4423
- .navbar-btn.btn-sm {
4424
- margin-top: 10px;
4425
- margin-bottom: 10px;
4426
- }
4427
- .navbar-btn.btn-xs {
4428
- margin-top: 14px;
4429
- margin-bottom: 14px;
4430
- }
4431
- .navbar-text {
4432
- margin-top: 15px;
4433
- margin-bottom: 15px;
4434
- }
4435
- @media (min-width: 768px) {
4436
- .navbar-text {
4437
- float: left;
4438
- margin-right: 15px;
4439
- margin-left: 15px;
4440
- }
4441
- }
4442
- @media (min-width: 768px) {
4443
- .navbar-left {
4444
- float: left !important;
4445
- }
4446
- .navbar-right {
4447
- float: right !important;
4448
- margin-right: -15px;
4449
- }
4450
- .navbar-right ~ .navbar-right {
4451
- margin-right: 0;
4452
- }
4453
- }
4454
- .navbar-default {
4455
- background-color: #f8f8f8;
4456
- border-color: #e7e7e7;
4457
- }
4458
- .navbar-default .navbar-brand {
4459
- color: #777;
4460
- }
4461
- .navbar-default .navbar-brand:hover,
4462
- .navbar-default .navbar-brand:focus {
4463
- color: #5e5e5e;
4464
- background-color: transparent;
4465
- }
4466
- .navbar-default .navbar-text {
4467
- color: #777;
4468
- }
4469
- .navbar-default .navbar-nav > li > a {
4470
- color: #777;
4471
- }
4472
- .navbar-default .navbar-nav > li > a:hover,
4473
- .navbar-default .navbar-nav > li > a:focus {
4474
- color: #333;
4475
- background-color: transparent;
4476
- }
4477
- .navbar-default .navbar-nav > .active > a,
4478
- .navbar-default .navbar-nav > .active > a:hover,
4479
- .navbar-default .navbar-nav > .active > a:focus {
4480
- color: #555;
4481
- background-color: #e7e7e7;
4482
- }
4483
- .navbar-default .navbar-nav > .disabled > a,
4484
- .navbar-default .navbar-nav > .disabled > a:hover,
4485
- .navbar-default .navbar-nav > .disabled > a:focus {
4486
- color: #ccc;
4487
- background-color: transparent;
4488
- }
4489
- .navbar-default .navbar-toggle {
4490
- border-color: #ddd;
4491
- }
4492
- .navbar-default .navbar-toggle:hover,
4493
- .navbar-default .navbar-toggle:focus {
4494
- background-color: #ddd;
4495
- }
4496
- .navbar-default .navbar-toggle .icon-bar {
4497
- background-color: #888;
4498
- }
4499
- .navbar-default .navbar-collapse,
4500
- .navbar-default .navbar-form {
4501
- border-color: #e7e7e7;
4502
- }
4503
- .navbar-default .navbar-nav > .open > a,
4504
- .navbar-default .navbar-nav > .open > a:hover,
4505
- .navbar-default .navbar-nav > .open > a:focus {
4506
- color: #555;
4507
- background-color: #e7e7e7;
4508
- }
4509
- @media (max-width: 767px) {
4510
- .navbar-default .navbar-nav .open .dropdown-menu > li > a {
4511
- color: #777;
4512
- }
4513
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
4514
- .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
4515
- color: #333;
4516
- background-color: transparent;
4517
- }
4518
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
4519
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
4520
- .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
4521
- color: #555;
4522
- background-color: #e7e7e7;
4523
- }
4524
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
4525
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
4526
- .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
4527
- color: #ccc;
4528
- background-color: transparent;
4529
- }
4530
- }
4531
- .navbar-default .navbar-link {
4532
- color: #777;
4533
- }
4534
- .navbar-default .navbar-link:hover {
4535
- color: #333;
4536
- }
4537
- .navbar-default .btn-link {
4538
- color: #777;
4539
- }
4540
- .navbar-default .btn-link:hover,
4541
- .navbar-default .btn-link:focus {
4542
- color: #333;
4543
- }
4544
- .navbar-default .btn-link[disabled]:hover,
4545
- fieldset[disabled] .navbar-default .btn-link:hover,
4546
- .navbar-default .btn-link[disabled]:focus,
4547
- fieldset[disabled] .navbar-default .btn-link:focus {
4548
- color: #ccc;
4549
- }
4550
- .navbar-inverse {
4551
- background-color: #222;
4552
- border-color: #080808;
4553
- }
4554
- .navbar-inverse .navbar-brand {
4555
- color: #9d9d9d;
4556
- }
4557
- .navbar-inverse .navbar-brand:hover,
4558
- .navbar-inverse .navbar-brand:focus {
4559
- color: #fff;
4560
- background-color: transparent;
4561
- }
4562
- .navbar-inverse .navbar-text {
4563
- color: #9d9d9d;
4564
- }
4565
- .navbar-inverse .navbar-nav > li > a {
4566
- color: #9d9d9d;
4567
- }
4568
- .navbar-inverse .navbar-nav > li > a:hover,
4569
- .navbar-inverse .navbar-nav > li > a:focus {
4570
- color: #fff;
4571
- background-color: transparent;
4572
- }
4573
- .navbar-inverse .navbar-nav > .active > a,
4574
- .navbar-inverse .navbar-nav > .active > a:hover,
4575
- .navbar-inverse .navbar-nav > .active > a:focus {
4576
- color: #fff;
4577
- background-color: #080808;
4578
- }
4579
- .navbar-inverse .navbar-nav > .disabled > a,
4580
- .navbar-inverse .navbar-nav > .disabled > a:hover,
4581
- .navbar-inverse .navbar-nav > .disabled > a:focus {
4582
- color: #444;
4583
- background-color: transparent;
4584
- }
4585
- .navbar-inverse .navbar-toggle {
4586
- border-color: #333;
4587
- }
4588
- .navbar-inverse .navbar-toggle:hover,
4589
- .navbar-inverse .navbar-toggle:focus {
4590
- background-color: #333;
4591
- }
4592
- .navbar-inverse .navbar-toggle .icon-bar {
4593
- background-color: #fff;
4594
- }
4595
- .navbar-inverse .navbar-collapse,
4596
- .navbar-inverse .navbar-form {
4597
- border-color: #101010;
4598
- }
4599
- .navbar-inverse .navbar-nav > .open > a,
4600
- .navbar-inverse .navbar-nav > .open > a:hover,
4601
- .navbar-inverse .navbar-nav > .open > a:focus {
4602
- color: #fff;
4603
- background-color: #080808;
4604
- }
4605
- @media (max-width: 767px) {
4606
- .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
4607
- border-color: #080808;
4608
- }
4609
- .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
4610
- background-color: #080808;
4611
- }
4612
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
4613
- color: #9d9d9d;
4614
- }
4615
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
4616
- .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
4617
- color: #fff;
4618
- background-color: transparent;
4619
- }
4620
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
4621
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
4622
- .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
4623
- color: #fff;
4624
- background-color: #080808;
4625
- }
4626
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
4627
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
4628
- .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
4629
- color: #444;
4630
- background-color: transparent;
4631
- }
4632
- }
4633
- .navbar-inverse .navbar-link {
4634
- color: #9d9d9d;
4635
- }
4636
- .navbar-inverse .navbar-link:hover {
4637
- color: #fff;
4638
- }
4639
- .navbar-inverse .btn-link {
4640
- color: #9d9d9d;
4641
- }
4642
- .navbar-inverse .btn-link:hover,
4643
- .navbar-inverse .btn-link:focus {
4644
- color: #fff;
4645
- }
4646
- .navbar-inverse .btn-link[disabled]:hover,
4647
- fieldset[disabled] .navbar-inverse .btn-link:hover,
4648
- .navbar-inverse .btn-link[disabled]:focus,
4649
- fieldset[disabled] .navbar-inverse .btn-link:focus {
4650
- color: #444;
4651
- }
4652
- .breadcrumb {
4653
- padding: 8px 15px;
4654
- margin-bottom: 20px;
4655
- list-style: none;
4656
- background-color: #f5f5f5;
4657
- border-radius: 4px;
4658
- }
4659
- .breadcrumb > li {
4660
- display: inline-block;
4661
- }
4662
- .breadcrumb > li + li:before {
4663
- padding: 0 5px;
4664
- color: #ccc;
4665
- content: "/\00a0";
4666
- }
4667
- .breadcrumb > .active {
4668
- color: #777;
4669
- }
4670
- .pagination {
4671
- display: inline-block;
4672
- padding-left: 0;
4673
- margin: 20px 0;
4674
- border-radius: 4px;
4675
- }
4676
- .pagination > li {
4677
- display: inline;
4678
- }
4679
- .pagination > li > a,
4680
- .pagination > li > span {
4681
- position: relative;
4682
- float: left;
4683
- padding: 6px 12px;
4684
- margin-left: -1px;
4685
- line-height: 1.42857143;
4686
- color: #337ab7;
4687
- text-decoration: none;
4688
- background-color: #fff;
4689
- border: 1px solid #ddd;
4690
- }
4691
- .pagination > li:first-child > a,
4692
- .pagination > li:first-child > span {
4693
- margin-left: 0;
4694
- border-top-left-radius: 4px;
4695
- border-bottom-left-radius: 4px;
4696
- }
4697
- .pagination > li:last-child > a,
4698
- .pagination > li:last-child > span {
4699
- border-top-right-radius: 4px;
4700
- border-bottom-right-radius: 4px;
4701
- }
4702
- .pagination > li > a:hover,
4703
- .pagination > li > span:hover,
4704
- .pagination > li > a:focus,
4705
- .pagination > li > span:focus {
4706
- z-index: 2;
4707
- color: #23527c;
4708
- background-color: #eee;
4709
- border-color: #ddd;
4710
- }
4711
- .pagination > .active > a,
4712
- .pagination > .active > span,
4713
- .pagination > .active > a:hover,
4714
- .pagination > .active > span:hover,
4715
- .pagination > .active > a:focus,
4716
- .pagination > .active > span:focus {
4717
- z-index: 3;
4718
- color: #fff;
4719
- cursor: default;
4720
- background-color: #337ab7;
4721
- border-color: #337ab7;
4722
- }
4723
- .pagination > .disabled > span,
4724
- .pagination > .disabled > span:hover,
4725
- .pagination > .disabled > span:focus,
4726
- .pagination > .disabled > a,
4727
- .pagination > .disabled > a:hover,
4728
- .pagination > .disabled > a:focus {
4729
- color: #777;
4730
- cursor: not-allowed;
4731
- background-color: #fff;
4732
- border-color: #ddd;
4733
- }
4734
- .pagination-lg > li > a,
4735
- .pagination-lg > li > span {
4736
- padding: 10px 16px;
4737
- font-size: 18px;
4738
- line-height: 1.3333333;
4739
- }
4740
- .pagination-lg > li:first-child > a,
4741
- .pagination-lg > li:first-child > span {
4742
- border-top-left-radius: 6px;
4743
- border-bottom-left-radius: 6px;
4744
- }
4745
- .pagination-lg > li:last-child > a,
4746
- .pagination-lg > li:last-child > span {
4747
- border-top-right-radius: 6px;
4748
- border-bottom-right-radius: 6px;
4749
- }
4750
- .pagination-sm > li > a,
4751
- .pagination-sm > li > span {
4752
- padding: 5px 10px;
4753
- font-size: 12px;
4754
- line-height: 1.5;
4755
- }
4756
- .pagination-sm > li:first-child > a,
4757
- .pagination-sm > li:first-child > span {
4758
- border-top-left-radius: 3px;
4759
- border-bottom-left-radius: 3px;
4760
- }
4761
- .pagination-sm > li:last-child > a,
4762
- .pagination-sm > li:last-child > span {
4763
- border-top-right-radius: 3px;
4764
- border-bottom-right-radius: 3px;
4765
- }
4766
- .pager {
4767
- padding-left: 0;
4768
- margin: 20px 0;
4769
- text-align: center;
4770
- list-style: none;
4771
- }
4772
- .pager li {
4773
- display: inline;
4774
- }
4775
- .pager li > a,
4776
- .pager li > span {
4777
- display: inline-block;
4778
- padding: 5px 14px;
4779
- background-color: #fff;
4780
- border: 1px solid #ddd;
4781
- border-radius: 15px;
4782
- }
4783
- .pager li > a:hover,
4784
- .pager li > a:focus {
4785
- text-decoration: none;
4786
- background-color: #eee;
4787
- }
4788
- .pager .next > a,
4789
- .pager .next > span {
4790
- float: right;
4791
- }
4792
- .pager .previous > a,
4793
- .pager .previous > span {
4794
- float: left;
4795
- }
4796
- .pager .disabled > a,
4797
- .pager .disabled > a:hover,
4798
- .pager .disabled > a:focus,
4799
- .pager .disabled > span {
4800
- color: #777;
4801
- cursor: not-allowed;
4802
- background-color: #fff;
4803
- }
4804
- .label {
4805
- display: inline;
4806
- padding: .2em .6em .3em;
4807
- font-size: 75%;
4808
- font-weight: bold;
4809
- line-height: 1;
4810
- color: #fff;
4811
- text-align: center;
4812
- white-space: nowrap;
4813
- vertical-align: baseline;
4814
- border-radius: .25em;
4815
- }
4816
- a.label:hover,
4817
- a.label:focus {
4818
- color: #fff;
4819
- text-decoration: none;
4820
- cursor: pointer;
4821
- }
4822
- .label:empty {
4823
- display: none;
4824
- }
4825
- .btn .label {
4826
- position: relative;
4827
- top: -1px;
4828
- }
4829
- .label-default {
4830
- background-color: #777;
4831
- }
4832
- .label-default[href]:hover,
4833
- .label-default[href]:focus {
4834
- background-color: #5e5e5e;
4835
- }
4836
- .label-primary {
4837
- background-color: #337ab7;
4838
- }
4839
- .label-primary[href]:hover,
4840
- .label-primary[href]:focus {
4841
- background-color: #286090;
4842
- }
4843
- .label-success {
4844
- background-color: #5cb85c;
4845
- }
4846
- .label-success[href]:hover,
4847
- .label-success[href]:focus {
4848
- background-color: #449d44;
4849
- }
4850
- .label-info {
4851
- background-color: #5bc0de;
4852
- }
4853
- .label-info[href]:hover,
4854
- .label-info[href]:focus {
4855
- background-color: #31b0d5;
4856
- }
4857
- .label-warning {
4858
- background-color: #f0ad4e;
4859
- }
4860
- .label-warning[href]:hover,
4861
- .label-warning[href]:focus {
4862
- background-color: #ec971f;
4863
- }
4864
- .label-danger {
4865
- background-color: #d9534f;
4866
- }
4867
- .label-danger[href]:hover,
4868
- .label-danger[href]:focus {
4869
- background-color: #c9302c;
4870
- }
4871
- .badge {
4872
- display: inline-block;
4873
- min-width: 10px;
4874
- padding: 3px 7px;
4875
- font-size: 12px;
4876
- font-weight: bold;
4877
- line-height: 1;
4878
- color: #fff;
4879
- text-align: center;
4880
- white-space: nowrap;
4881
- vertical-align: middle;
4882
- background-color: #777;
4883
- border-radius: 10px;
4884
- }
4885
- .badge:empty {
4886
- display: none;
4887
- }
4888
- .btn .badge {
4889
- position: relative;
4890
- top: -1px;
4891
- }
4892
- .btn-xs .badge,
4893
- .btn-group-xs > .btn .badge {
4894
- top: 0;
4895
- padding: 1px 5px;
4896
- }
4897
- a.badge:hover,
4898
- a.badge:focus {
4899
- color: #fff;
4900
- text-decoration: none;
4901
- cursor: pointer;
4902
- }
4903
- .list-group-item.active > .badge,
4904
- .nav-pills > .active > a > .badge {
4905
- color: #337ab7;
4906
- background-color: #fff;
4907
- }
4908
- .list-group-item > .badge {
4909
- float: right;
4910
- }
4911
- .list-group-item > .badge + .badge {
4912
- margin-right: 5px;
4913
- }
4914
- .nav-pills > li > a > .badge {
4915
- margin-left: 3px;
4916
- }
4917
- .jumbotron {
4918
- padding-top: 30px;
4919
- padding-bottom: 30px;
4920
- margin-bottom: 30px;
4921
- color: inherit;
4922
- background-color: #eee;
4923
- }
4924
- .jumbotron h1,
4925
- .jumbotron .h1 {
4926
- color: inherit;
4927
- }
4928
- .jumbotron p {
4929
- margin-bottom: 15px;
4930
- font-size: 21px;
4931
- font-weight: 200;
4932
- }
4933
- .jumbotron > hr {
4934
- border-top-color: #d5d5d5;
4935
- }
4936
- .container .jumbotron,
4937
- .container-fluid .jumbotron {
4938
- padding-right: 15px;
4939
- padding-left: 15px;
4940
- border-radius: 6px;
4941
- }
4942
- .jumbotron .container {
4943
- max-width: 100%;
4944
- }
4945
- @media screen and (min-width: 768px) {
4946
- .jumbotron {
4947
- padding-top: 48px;
4948
- padding-bottom: 48px;
4949
- }
4950
- .container .jumbotron,
4951
- .container-fluid .jumbotron {
4952
- padding-right: 60px;
4953
- padding-left: 60px;
4954
- }
4955
- .jumbotron h1,
4956
- .jumbotron .h1 {
4957
- font-size: 63px;
4958
- }
4959
- }
4960
- .thumbnail {
4961
- display: block;
4962
- padding: 4px;
4963
- margin-bottom: 20px;
4964
- line-height: 1.42857143;
4965
- background-color: #fff;
4966
- border: 1px solid #ddd;
4967
- border-radius: 4px;
4968
- -webkit-transition: border .2s ease-in-out;
4969
- -o-transition: border .2s ease-in-out;
4970
- transition: border .2s ease-in-out;
4971
- }
4972
- .thumbnail > img,
4973
- .thumbnail a > img {
4974
- margin-right: auto;
4975
- margin-left: auto;
4976
- }
4977
- a.thumbnail:hover,
4978
- a.thumbnail:focus,
4979
- a.thumbnail.active {
4980
- border-color: #337ab7;
4981
- }
4982
- .thumbnail .caption {
4983
- padding: 9px;
4984
- color: #333;
4985
- }
4986
- .alert {
4987
- padding: 15px;
4988
- margin-bottom: 20px;
4989
- border: 1px solid transparent;
4990
- border-radius: 4px;
4991
- }
4992
- .alert h4 {
4993
- margin-top: 0;
4994
- color: inherit;
4995
- }
4996
- .alert .alert-link {
4997
- font-weight: bold;
4998
- }
4999
- .alert > p,
5000
- .alert > ul {
5001
- margin-bottom: 0;
5002
- }
5003
- .alert > p + p {
5004
- margin-top: 5px;
5005
- }
5006
- .alert-dismissable,
5007
- .alert-dismissible {
5008
- padding-right: 35px;
5009
- }
5010
- .alert-dismissable .close,
5011
- .alert-dismissible .close {
5012
- position: relative;
5013
- top: -2px;
5014
- right: -21px;
5015
- color: inherit;
5016
- }
5017
- .alert-success {
5018
- color: #3c763d;
5019
- background-color: #dff0d8;
5020
- border-color: #d6e9c6;
5021
- }
5022
- .alert-success hr {
5023
- border-top-color: #c9e2b3;
5024
- }
5025
- .alert-success .alert-link {
5026
- color: #2b542c;
5027
- }
5028
- .alert-info {
5029
- color: #31708f;
5030
- background-color: #d9edf7;
5031
- border-color: #bce8f1;
5032
- }
5033
- .alert-info hr {
5034
- border-top-color: #a6e1ec;
5035
- }
5036
- .alert-info .alert-link {
5037
- color: #245269;
5038
- }
5039
- .alert-warning {
5040
- color: #8a6d3b;
5041
- background-color: #fcf8e3;
5042
- border-color: #faebcc;
5043
- }
5044
- .alert-warning hr {
5045
- border-top-color: #f7e1b5;
5046
- }
5047
- .alert-warning .alert-link {
5048
- color: #66512c;
5049
- }
5050
- .alert-danger {
5051
- color: #a94442;
5052
- background-color: #f2dede;
5053
- border-color: #ebccd1;
5054
- }
5055
- .alert-danger hr {
5056
- border-top-color: #e4b9c0;
5057
- }
5058
- .alert-danger .alert-link {
5059
- color: #843534;
5060
- }
5061
- @-webkit-keyframes progress-bar-stripes {
5062
- from {
5063
- background-position: 40px 0;
5064
- }
5065
- to {
5066
- background-position: 0 0;
5067
- }
5068
- }
5069
- @-o-keyframes progress-bar-stripes {
5070
- from {
5071
- background-position: 40px 0;
5072
- }
5073
- to {
5074
- background-position: 0 0;
5075
- }
5076
- }
5077
- @keyframes progress-bar-stripes {
5078
- from {
5079
- background-position: 40px 0;
5080
- }
5081
- to {
5082
- background-position: 0 0;
5083
- }
5084
- }
5085
- .progress {
5086
- height: 20px;
5087
- margin-bottom: 20px;
5088
- overflow: hidden;
5089
- background-color: #f5f5f5;
5090
- border-radius: 4px;
5091
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
5092
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
5093
- }
5094
- .progress-bar {
5095
- float: left;
5096
- width: 0;
5097
- height: 100%;
5098
- font-size: 12px;
5099
- line-height: 20px;
5100
- color: #fff;
5101
- text-align: center;
5102
- background-color: #337ab7;
5103
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
5104
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
5105
- -webkit-transition: width .6s ease;
5106
- -o-transition: width .6s ease;
5107
- transition: width .6s ease;
5108
- }
5109
- .progress-striped .progress-bar,
5110
- .progress-bar-striped {
5111
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5112
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5113
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5114
- -webkit-background-size: 40px 40px;
5115
- background-size: 40px 40px;
5116
- }
5117
- .progress.active .progress-bar,
5118
- .progress-bar.active {
5119
- -webkit-animation: progress-bar-stripes 2s linear infinite;
5120
- -o-animation: progress-bar-stripes 2s linear infinite;
5121
- animation: progress-bar-stripes 2s linear infinite;
5122
- }
5123
- .progress-bar-success {
5124
- background-color: #5cb85c;
5125
- }
5126
- .progress-striped .progress-bar-success {
5127
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5128
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5129
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5130
- }
5131
- .progress-bar-info {
5132
- background-color: #5bc0de;
5133
- }
5134
- .progress-striped .progress-bar-info {
5135
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5136
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5137
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5138
- }
5139
- .progress-bar-warning {
5140
- background-color: #f0ad4e;
5141
- }
5142
- .progress-striped .progress-bar-warning {
5143
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5144
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5145
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5146
- }
5147
- .progress-bar-danger {
5148
- background-color: #d9534f;
5149
- }
5150
- .progress-striped .progress-bar-danger {
5151
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5152
- background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5153
- background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5154
- }
5155
- .media {
5156
- margin-top: 15px;
5157
- }
5158
- .media:first-child {
5159
- margin-top: 0;
5160
- }
5161
- .media,
5162
- .media-body {
5163
- overflow: hidden;
5164
- zoom: 1;
5165
- }
5166
- .media-body {
5167
- width: 10000px;
5168
- }
5169
- .media-object {
5170
- display: block;
5171
- }
5172
- .media-object.img-thumbnail {
5173
- max-width: none;
5174
- }
5175
- .media-right,
5176
- .media > .pull-right {
5177
- padding-left: 10px;
5178
- }
5179
- .media-left,
5180
- .media > .pull-left {
5181
- padding-right: 10px;
5182
- }
5183
- .media-left,
5184
- .media-right,
5185
- .media-body {
5186
- display: table-cell;
5187
- vertical-align: top;
5188
- }
5189
- .media-middle {
5190
- vertical-align: middle;
5191
- }
5192
- .media-bottom {
5193
- vertical-align: bottom;
5194
- }
5195
- .media-heading {
5196
- margin-top: 0;
5197
- margin-bottom: 5px;
5198
- }
5199
- .media-list {
5200
- padding-left: 0;
5201
- list-style: none;
5202
- }
5203
- .list-group {
5204
- padding-left: 0;
5205
- margin-bottom: 20px;
5206
- }
5207
- .list-group-item {
5208
- position: relative;
5209
- display: block;
5210
- padding: 10px 15px;
5211
- margin-bottom: -1px;
5212
- background-color: #fff;
5213
- border: 1px solid #ddd;
5214
- }
5215
- .list-group-item:first-child {
5216
- border-top-left-radius: 4px;
5217
- border-top-right-radius: 4px;
5218
- }
5219
- .list-group-item:last-child {
5220
- margin-bottom: 0;
5221
- border-bottom-right-radius: 4px;
5222
- border-bottom-left-radius: 4px;
5223
- }
5224
- a.list-group-item,
5225
- button.list-group-item {
5226
- color: #555;
5227
- }
5228
- a.list-group-item .list-group-item-heading,
5229
- button.list-group-item .list-group-item-heading {
5230
- color: #333;
5231
- }
5232
- a.list-group-item:hover,
5233
- button.list-group-item:hover,
5234
- a.list-group-item:focus,
5235
- button.list-group-item:focus {
5236
- color: #555;
5237
- text-decoration: none;
5238
- background-color: #f5f5f5;
5239
- }
5240
- button.list-group-item {
5241
- width: 100%;
5242
- text-align: left;
5243
- }
5244
- .list-group-item.disabled,
5245
- .list-group-item.disabled:hover,
5246
- .list-group-item.disabled:focus {
5247
- color: #777;
5248
- cursor: not-allowed;
5249
- background-color: #eee;
5250
- }
5251
- .list-group-item.disabled .list-group-item-heading,
5252
- .list-group-item.disabled:hover .list-group-item-heading,
5253
- .list-group-item.disabled:focus .list-group-item-heading {
5254
- color: inherit;
5255
- }
5256
- .list-group-item.disabled .list-group-item-text,
5257
- .list-group-item.disabled:hover .list-group-item-text,
5258
- .list-group-item.disabled:focus .list-group-item-text {
5259
- color: #777;
5260
- }
5261
- .list-group-item.active,
5262
- .list-group-item.active:hover,
5263
- .list-group-item.active:focus {
5264
- z-index: 2;
5265
- color: #fff;
5266
- background-color: #337ab7;
5267
- border-color: #337ab7;
5268
- }
5269
- .list-group-item.active .list-group-item-heading,
5270
- .list-group-item.active:hover .list-group-item-heading,
5271
- .list-group-item.active:focus .list-group-item-heading,
5272
- .list-group-item.active .list-group-item-heading > small,
5273
- .list-group-item.active:hover .list-group-item-heading > small,
5274
- .list-group-item.active:focus .list-group-item-heading > small,
5275
- .list-group-item.active .list-group-item-heading > .small,
5276
- .list-group-item.active:hover .list-group-item-heading > .small,
5277
- .list-group-item.active:focus .list-group-item-heading > .small {
5278
- color: inherit;
5279
- }
5280
- .list-group-item.active .list-group-item-text,
5281
- .list-group-item.active:hover .list-group-item-text,
5282
- .list-group-item.active:focus .list-group-item-text {
5283
- color: #c7ddef;
5284
- }
5285
- .list-group-item-success {
5286
- color: #3c763d;
5287
- background-color: #dff0d8;
5288
- }
5289
- a.list-group-item-success,
5290
- button.list-group-item-success {
5291
- color: #3c763d;
5292
- }
5293
- a.list-group-item-success .list-group-item-heading,
5294
- button.list-group-item-success .list-group-item-heading {
5295
- color: inherit;
5296
- }
5297
- a.list-group-item-success:hover,
5298
- button.list-group-item-success:hover,
5299
- a.list-group-item-success:focus,
5300
- button.list-group-item-success:focus {
5301
- color: #3c763d;
5302
- background-color: #d0e9c6;
5303
- }
5304
- a.list-group-item-success.active,
5305
- button.list-group-item-success.active,
5306
- a.list-group-item-success.active:hover,
5307
- button.list-group-item-success.active:hover,
5308
- a.list-group-item-success.active:focus,
5309
- button.list-group-item-success.active:focus {
5310
- color: #fff;
5311
- background-color: #3c763d;
5312
- border-color: #3c763d;
5313
- }
5314
- .list-group-item-info {
5315
- color: #31708f;
5316
- background-color: #d9edf7;
5317
- }
5318
- a.list-group-item-info,
5319
- button.list-group-item-info {
5320
- color: #31708f;
5321
- }
5322
- a.list-group-item-info .list-group-item-heading,
5323
- button.list-group-item-info .list-group-item-heading {
5324
- color: inherit;
5325
- }
5326
- a.list-group-item-info:hover,
5327
- button.list-group-item-info:hover,
5328
- a.list-group-item-info:focus,
5329
- button.list-group-item-info:focus {
5330
- color: #31708f;
5331
- background-color: #c4e3f3;
5332
- }
5333
- a.list-group-item-info.active,
5334
- button.list-group-item-info.active,
5335
- a.list-group-item-info.active:hover,
5336
- button.list-group-item-info.active:hover,
5337
- a.list-group-item-info.active:focus,
5338
- button.list-group-item-info.active:focus {
5339
- color: #fff;
5340
- background-color: #31708f;
5341
- border-color: #31708f;
5342
- }
5343
- .list-group-item-warning {
5344
- color: #8a6d3b;
5345
- background-color: #fcf8e3;
5346
- }
5347
- a.list-group-item-warning,
5348
- button.list-group-item-warning {
5349
- color: #8a6d3b;
5350
- }
5351
- a.list-group-item-warning .list-group-item-heading,
5352
- button.list-group-item-warning .list-group-item-heading {
5353
- color: inherit;
5354
- }
5355
- a.list-group-item-warning:hover,
5356
- button.list-group-item-warning:hover,
5357
- a.list-group-item-warning:focus,
5358
- button.list-group-item-warning:focus {
5359
- color: #8a6d3b;
5360
- background-color: #faf2cc;
5361
- }
5362
- a.list-group-item-warning.active,
5363
- button.list-group-item-warning.active,
5364
- a.list-group-item-warning.active:hover,
5365
- button.list-group-item-warning.active:hover,
5366
- a.list-group-item-warning.active:focus,
5367
- button.list-group-item-warning.active:focus {
5368
- color: #fff;
5369
- background-color: #8a6d3b;
5370
- border-color: #8a6d3b;
5371
- }
5372
- .list-group-item-danger {
5373
- color: #a94442;
5374
- background-color: #f2dede;
5375
- }
5376
- a.list-group-item-danger,
5377
- button.list-group-item-danger {
5378
- color: #a94442;
5379
- }
5380
- a.list-group-item-danger .list-group-item-heading,
5381
- button.list-group-item-danger .list-group-item-heading {
5382
- color: inherit;
5383
- }
5384
- a.list-group-item-danger:hover,
5385
- button.list-group-item-danger:hover,
5386
- a.list-group-item-danger:focus,
5387
- button.list-group-item-danger:focus {
5388
- color: #a94442;
5389
- background-color: #ebcccc;
5390
- }
5391
- a.list-group-item-danger.active,
5392
- button.list-group-item-danger.active,
5393
- a.list-group-item-danger.active:hover,
5394
- button.list-group-item-danger.active:hover,
5395
- a.list-group-item-danger.active:focus,
5396
- button.list-group-item-danger.active:focus {
5397
- color: #fff;
5398
- background-color: #a94442;
5399
- border-color: #a94442;
5400
- }
5401
- .list-group-item-heading {
5402
- margin-top: 0;
5403
- margin-bottom: 5px;
5404
- }
5405
- .list-group-item-text {
5406
- margin-bottom: 0;
5407
- line-height: 1.3;
5408
- }
5409
- .panel {
5410
- margin-bottom: 20px;
5411
- background-color: #fff;
5412
- border: 1px solid transparent;
5413
- border-radius: 4px;
5414
- -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
5415
- box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
5416
- }
5417
- .panel-body {
5418
- padding: 15px;
5419
- }
5420
- .panel-heading {
5421
- padding: 10px 15px;
5422
- border-bottom: 1px solid transparent;
5423
- border-top-left-radius: 3px;
5424
- border-top-right-radius: 3px;
5425
- }
5426
- .panel-heading > .dropdown .dropdown-toggle {
5427
- color: inherit;
5428
- }
5429
- .panel-title {
5430
- margin-top: 0;
5431
- margin-bottom: 0;
5432
- font-size: 16px;
5433
- color: inherit;
5434
- }
5435
- .panel-title > a,
5436
- .panel-title > small,
5437
- .panel-title > .small,
5438
- .panel-title > small > a,
5439
- .panel-title > .small > a {
5440
- color: inherit;
5441
- }
5442
- .panel-footer {
5443
- padding: 10px 15px;
5444
- background-color: #f5f5f5;
5445
- border-top: 1px solid #ddd;
5446
- border-bottom-right-radius: 3px;
5447
- border-bottom-left-radius: 3px;
5448
- }
5449
- .panel > .list-group,
5450
- .panel > .panel-collapse > .list-group {
5451
- margin-bottom: 0;
5452
- }
5453
- .panel > .list-group .list-group-item,
5454
- .panel > .panel-collapse > .list-group .list-group-item {
5455
- border-width: 1px 0;
5456
- border-radius: 0;
5457
- }
5458
- .panel > .list-group:first-child .list-group-item:first-child,
5459
- .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
5460
- border-top: 0;
5461
- border-top-left-radius: 3px;
5462
- border-top-right-radius: 3px;
5463
- }
5464
- .panel > .list-group:last-child .list-group-item:last-child,
5465
- .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
5466
- border-bottom: 0;
5467
- border-bottom-right-radius: 3px;
5468
- border-bottom-left-radius: 3px;
5469
- }
5470
- .panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
5471
- border-top-left-radius: 0;
5472
- border-top-right-radius: 0;
5473
- }
5474
- .panel-heading + .list-group .list-group-item:first-child {
5475
- border-top-width: 0;
5476
- }
5477
- .list-group + .panel-footer {
5478
- border-top-width: 0;
5479
- }
5480
- .panel > .table,
5481
- .panel > .table-responsive > .table,
5482
- .panel > .panel-collapse > .table {
5483
- margin-bottom: 0;
5484
- }
5485
- .panel > .table caption,
5486
- .panel > .table-responsive > .table caption,
5487
- .panel > .panel-collapse > .table caption {
5488
- padding-right: 15px;
5489
- padding-left: 15px;
5490
- }
5491
- .panel > .table:first-child,
5492
- .panel > .table-responsive:first-child > .table:first-child {
5493
- border-top-left-radius: 3px;
5494
- border-top-right-radius: 3px;
5495
- }
5496
- .panel > .table:first-child > thead:first-child > tr:first-child,
5497
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
5498
- .panel > .table:first-child > tbody:first-child > tr:first-child,
5499
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
5500
- border-top-left-radius: 3px;
5501
- border-top-right-radius: 3px;
5502
- }
5503
- .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
5504
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
5505
- .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
5506
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
5507
- .panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
5508
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
5509
- .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
5510
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
5511
- border-top-left-radius: 3px;
5512
- }
5513
- .panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
5514
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
5515
- .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
5516
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
5517
- .panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
5518
- .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
5519
- .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
5520
- .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
5521
- border-top-right-radius: 3px;
5522
- }
5523
- .panel > .table:last-child,
5524
- .panel > .table-responsive:last-child > .table:last-child {
5525
- border-bottom-right-radius: 3px;
5526
- border-bottom-left-radius: 3px;
5527
- }
5528
- .panel > .table:last-child > tbody:last-child > tr:last-child,
5529
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
5530
- .panel > .table:last-child > tfoot:last-child > tr:last-child,
5531
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
5532
- border-bottom-right-radius: 3px;
5533
- border-bottom-left-radius: 3px;
5534
- }
5535
- .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
5536
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
5537
- .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
5538
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
5539
- .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
5540
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
5541
- .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
5542
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
5543
- border-bottom-left-radius: 3px;
5544
- }
5545
- .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
5546
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
5547
- .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
5548
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
5549
- .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
5550
- .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
5551
- .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
5552
- .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
5553
- border-bottom-right-radius: 3px;
5554
- }
5555
- .panel > .panel-body + .table,
5556
- .panel > .panel-body + .table-responsive,
5557
- .panel > .table + .panel-body,
5558
- .panel > .table-responsive + .panel-body {
5559
- border-top: 1px solid #ddd;
5560
- }
5561
- .panel > .table > tbody:first-child > tr:first-child th,
5562
- .panel > .table > tbody:first-child > tr:first-child td {
5563
- border-top: 0;
5564
- }
5565
- .panel > .table-bordered,
5566
- .panel > .table-responsive > .table-bordered {
5567
- border: 0;
5568
- }
5569
- .panel > .table-bordered > thead > tr > th:first-child,
5570
- .panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
5571
- .panel > .table-bordered > tbody > tr > th:first-child,
5572
- .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
5573
- .panel > .table-bordered > tfoot > tr > th:first-child,
5574
- .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
5575
- .panel > .table-bordered > thead > tr > td:first-child,
5576
- .panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
5577
- .panel > .table-bordered > tbody > tr > td:first-child,
5578
- .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
5579
- .panel > .table-bordered > tfoot > tr > td:first-child,
5580
- .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
5581
- border-left: 0;
5582
- }
5583
- .panel > .table-bordered > thead > tr > th:last-child,
5584
- .panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
5585
- .panel > .table-bordered > tbody > tr > th:last-child,
5586
- .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
5587
- .panel > .table-bordered > tfoot > tr > th:last-child,
5588
- .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
5589
- .panel > .table-bordered > thead > tr > td:last-child,
5590
- .panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
5591
- .panel > .table-bordered > tbody > tr > td:last-child,
5592
- .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
5593
- .panel > .table-bordered > tfoot > tr > td:last-child,
5594
- .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
5595
- border-right: 0;
5596
- }
5597
- .panel > .table-bordered > thead > tr:first-child > td,
5598
- .panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
5599
- .panel > .table-bordered > tbody > tr:first-child > td,
5600
- .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
5601
- .panel > .table-bordered > thead > tr:first-child > th,
5602
- .panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
5603
- .panel > .table-bordered > tbody > tr:first-child > th,
5604
- .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
5605
- border-bottom: 0;
5606
- }
5607
- .panel > .table-bordered > tbody > tr:last-child > td,
5608
- .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
5609
- .panel > .table-bordered > tfoot > tr:last-child > td,
5610
- .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
5611
- .panel > .table-bordered > tbody > tr:last-child > th,
5612
- .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
5613
- .panel > .table-bordered > tfoot > tr:last-child > th,
5614
- .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
5615
- border-bottom: 0;
5616
- }
5617
- .panel > .table-responsive {
5618
- margin-bottom: 0;
5619
- border: 0;
5620
- }
5621
- .panel-group {
5622
- margin-bottom: 20px;
5623
- }
5624
- .panel-group .panel {
5625
- margin-bottom: 0;
5626
- border-radius: 4px;
5627
- }
5628
- .panel-group .panel + .panel {
5629
- margin-top: 5px;
5630
- }
5631
- .panel-group .panel-heading {
5632
- border-bottom: 0;
5633
- }
5634
- .panel-group .panel-heading + .panel-collapse > .panel-body,
5635
- .panel-group .panel-heading + .panel-collapse > .list-group {
5636
- border-top: 1px solid #ddd;
5637
- }
5638
- .panel-group .panel-footer {
5639
- border-top: 0;
5640
- }
5641
- .panel-group .panel-footer + .panel-collapse .panel-body {
5642
- border-bottom: 1px solid #ddd;
5643
- }
5644
- .panel-default {
5645
- border-color: #ddd;
5646
- }
5647
- .panel-default > .panel-heading {
5648
- color: #333;
5649
- background-color: #f5f5f5;
5650
- border-color: #ddd;
5651
- }
5652
- .panel-default > .panel-heading + .panel-collapse > .panel-body {
5653
- border-top-color: #ddd;
5654
- }
5655
- .panel-default > .panel-heading .badge {
5656
- color: #f5f5f5;
5657
- background-color: #333;
5658
- }
5659
- .panel-default > .panel-footer + .panel-collapse > .panel-body {
5660
- border-bottom-color: #ddd;
5661
- }
5662
- .panel-primary {
5663
- border-color: #337ab7;
5664
- }
5665
- .panel-primary > .panel-heading {
5666
- color: #fff;
5667
- background-color: #337ab7;
5668
- border-color: #337ab7;
5669
- }
5670
- .panel-primary > .panel-heading + .panel-collapse > .panel-body {
5671
- border-top-color: #337ab7;
5672
- }
5673
- .panel-primary > .panel-heading .badge {
5674
- color: #337ab7;
5675
- background-color: #fff;
5676
- }
5677
- .panel-primary > .panel-footer + .panel-collapse > .panel-body {
5678
- border-bottom-color: #337ab7;
5679
- }
5680
- .panel-success {
5681
- border-color: #d6e9c6;
5682
- }
5683
- .panel-success > .panel-heading {
5684
- color: #3c763d;
5685
- background-color: #dff0d8;
5686
- border-color: #d6e9c6;
5687
- }
5688
- .panel-success > .panel-heading + .panel-collapse > .panel-body {
5689
- border-top-color: #d6e9c6;
5690
- }
5691
- .panel-success > .panel-heading .badge {
5692
- color: #dff0d8;
5693
- background-color: #3c763d;
5694
- }
5695
- .panel-success > .panel-footer + .panel-collapse > .panel-body {
5696
- border-bottom-color: #d6e9c6;
5697
- }
5698
- .panel-info {
5699
- border-color: #bce8f1;
5700
- }
5701
- .panel-info > .panel-heading {
5702
- color: #31708f;
5703
- background-color: #d9edf7;
5704
- border-color: #bce8f1;
5705
- }
5706
- .panel-info > .panel-heading + .panel-collapse > .panel-body {
5707
- border-top-color: #bce8f1;
5708
- }
5709
- .panel-info > .panel-heading .badge {
5710
- color: #d9edf7;
5711
- background-color: #31708f;
5712
- }
5713
- .panel-info > .panel-footer + .panel-collapse > .panel-body {
5714
- border-bottom-color: #bce8f1;
5715
- }
5716
- .panel-warning {
5717
- border-color: #faebcc;
5718
- }
5719
- .panel-warning > .panel-heading {
5720
- color: #8a6d3b;
5721
- background-color: #fcf8e3;
5722
- border-color: #faebcc;
5723
- }
5724
- .panel-warning > .panel-heading + .panel-collapse > .panel-body {
5725
- border-top-color: #faebcc;
5726
- }
5727
- .panel-warning > .panel-heading .badge {
5728
- color: #fcf8e3;
5729
- background-color: #8a6d3b;
5730
- }
5731
- .panel-warning > .panel-footer + .panel-collapse > .panel-body {
5732
- border-bottom-color: #faebcc;
5733
- }
5734
- .panel-danger {
5735
- border-color: #ebccd1;
5736
- }
5737
- .panel-danger > .panel-heading {
5738
- color: #a94442;
5739
- background-color: #f2dede;
5740
- border-color: #ebccd1;
5741
- }
5742
- .panel-danger > .panel-heading + .panel-collapse > .panel-body {
5743
- border-top-color: #ebccd1;
5744
- }
5745
- .panel-danger > .panel-heading .badge {
5746
- color: #f2dede;
5747
- background-color: #a94442;
5748
- }
5749
- .panel-danger > .panel-footer + .panel-collapse > .panel-body {
5750
- border-bottom-color: #ebccd1;
5751
- }
5752
- .embed-responsive {
5753
- position: relative;
5754
- display: block;
5755
- height: 0;
5756
- padding: 0;
5757
- overflow: hidden;
5758
- }
5759
- .embed-responsive .embed-responsive-item,
5760
- .embed-responsive iframe,
5761
- .embed-responsive embed,
5762
- .embed-responsive object,
5763
- .embed-responsive video {
5764
- position: absolute;
5765
- top: 0;
5766
- bottom: 0;
5767
- left: 0;
5768
- width: 100%;
5769
- height: 100%;
5770
- border: 0;
5771
- }
5772
- .embed-responsive-16by9 {
5773
- padding-bottom: 56.25%;
5774
- }
5775
- .embed-responsive-4by3 {
5776
- padding-bottom: 75%;
5777
- }
5778
- .well {
5779
- min-height: 20px;
5780
- padding: 19px;
5781
- margin-bottom: 20px;
5782
- background-color: #f5f5f5;
5783
- border: 1px solid #e3e3e3;
5784
- border-radius: 4px;
5785
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
5786
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
5787
- }
5788
- .well blockquote {
5789
- border-color: #ddd;
5790
- border-color: rgba(0, 0, 0, .15);
5791
- }
5792
- .well-lg {
5793
- padding: 24px;
5794
- border-radius: 6px;
5795
- }
5796
- .well-sm {
5797
- padding: 9px;
5798
- border-radius: 3px;
5799
- }
5800
- .close {
5801
- float: right;
5802
- font-size: 24px;
5803
- font-weight: bold;
5804
- line-height: 1;
5805
- color: #000;
5806
- text-shadow: 0 1px 0 #fff;
5807
- filter: alpha(opacity=20);
5808
- opacity: .4;
5809
- }
5810
- .close:hover,
5811
- .close:focus {
5812
- color: #000;
5813
- text-decoration: none;
5814
- cursor: pointer;
5815
- filter: alpha(opacity=50);
5816
- opacity: .5;
5817
- }
5818
- button.close {
5819
- -webkit-appearance: none;
5820
- padding: 0;
5821
- cursor: pointer;
5822
- background: transparent;
5823
- border: 0;
5824
- }
5825
- .modal-open {
5826
- overflow: hidden;
5827
- overflow-y: auto;
5828
- }
5829
- .modal {
5830
- position: fixed;
5831
- top: 45px;
5832
- right: 0;
5833
- bottom: 0;
5834
- left: 0;
5835
- z-index: 1050;
5836
- display: none;
5837
- overflow: hidden;
5838
- -webkit-overflow-scrolling: touch;
5839
- outline: 0;
5840
- }
5841
- .modal.fade .modal-dialog {
5842
- -webkit-transition: -webkit-transform .3s ease-out;
5843
- -o-transition: -o-transform .3s ease-out;
5844
- transition: transform .3s ease-out;
5845
- -webkit-transform: translate(0, -25%);
5846
- -ms-transform: translate(0, -25%);
5847
- -o-transform: translate(0, -25%);
5848
- transform: translate(0, -25%);
5849
- }
5850
- .modal.in .modal-dialog {
5851
- -webkit-transform: translate(0, 0);
5852
- -ms-transform: translate(0, 0);
5853
- -o-transform: translate(0, 0);
5854
- transform: translate(0, 0);
5855
- }
5856
- .modal-open .modal {
5857
- overflow-x: hidden;
5858
- overflow-y: auto;
5859
- }
5860
- .modal-dialog {
5861
- position: relative;
5862
- width: auto;
5863
- margin: 10px;
5864
- }
5865
- .modal-content {
5866
- position: relative;
5867
- background-color: #fff;
5868
- -webkit-background-clip: padding-box;
5869
- background-clip: padding-box;
5870
- border: 1px solid #999;
5871
- border: 1px solid rgba(0, 0, 0, .2);
5872
- border-radius: 6px;
5873
- outline: 0;
5874
- -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
5875
- box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
5876
- }
5877
- .modal-backdrop {
5878
- position: fixed;
5879
- top: 0;
5880
- right: 0;
5881
- bottom: 0;
5882
- left: 0;
5883
- z-index: 1040;
5884
- background-color: #000;
5885
- }
5886
- .modal-backdrop.fade {
5887
- filter: alpha(opacity=0);
5888
- opacity: 0;
5889
- }
5890
- .modal-backdrop.in {
5891
- filter: alpha(opacity=50);
5892
- opacity: .5;
5893
- }
5894
- .modal-header {
5895
- padding: 15px;
5896
- border-bottom: 1px solid #e5e5e5;
5897
- }
5898
- .modal-header .close {
5899
- margin-top: -2px;
5900
- }
5901
- .modal-title {
5902
- margin: 0;
5903
- line-height: 1.42857143;
5904
- }
5905
- .modal-body {
5906
- position: relative;
5907
- padding: 15px;
5908
- }
5909
- .modal-footer {
5910
- padding: 15px;
5911
- text-align: right;
5912
- border-top: 1px solid #e5e5e5;
5913
- }
5914
- .modal-footer .btn + .btn {
5915
- margin-bottom: 0;
5916
- margin-left: 5px;
5917
- }
5918
- .modal-footer .btn-group .btn + .btn {
5919
- margin-left: -1px;
5920
- }
5921
- .modal-footer .btn-block + .btn-block {
5922
- margin-left: 0;
5923
- }
5924
- .modal-scrollbar-measure {
5925
- position: absolute;
5926
- top: -9999px;
5927
- width: 50px;
5928
- height: 50px;
5929
- overflow: scroll;
5930
- }
5931
- @media (min-width: 768px) {
5932
- .modal-dialog {
5933
- width: 600px;
5934
- margin: 30px auto;
5935
- }
5936
- .modal-content {
5937
- -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
5938
- box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
5939
- }
5940
- .modal-sm {
5941
- width: 300px;
5942
- }
5943
- }
5944
- @media (min-width: 992px) {
5945
- .modal-lg {
5946
- width: 900px;
5947
- }
5948
- }
5949
- .tooltip {
5950
- position: absolute;
5951
- z-index: 1070;
5952
- display: block;
5953
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
5954
- font-size: 12px;
5955
- font-style: normal;
5956
- font-weight: normal;
5957
- line-height: 1.42857143;
5958
- text-align: left;
5959
- text-align: start;
5960
- text-decoration: none;
5961
- text-shadow: none;
5962
- text-transform: none;
5963
- letter-spacing: normal;
5964
- word-break: normal;
5965
- word-spacing: normal;
5966
- word-wrap: normal;
5967
- white-space: normal;
5968
- filter: alpha(opacity=0);
5969
- opacity: 0;
5970
-
5971
- line-break: auto;
5972
- }
5973
- .tooltip.in {
5974
- filter: alpha(opacity=90);
5975
- opacity: .9;
5976
- }
5977
- .tooltip.top {
5978
- padding: 5px 0;
5979
- margin-top: -3px;
5980
- }
5981
- .tooltip.right {
5982
- padding: 0 5px;
5983
- margin-left: 3px;
5984
- }
5985
- .tooltip.bottom {
5986
- padding: 5px 0;
5987
- margin-top: 3px;
5988
- }
5989
- .tooltip.left {
5990
- padding: 0 5px;
5991
- margin-left: -3px;
5992
- }
5993
- .tooltip-inner {
5994
- max-width: 200px;
5995
- padding: 3px 8px;
5996
- color: #fff;
5997
- text-align: center;
5998
- background-color: #000;
5999
- border-radius: 4px;
6000
- }
6001
- .tooltip-arrow {
6002
- position: absolute;
6003
- width: 0;
6004
- height: 0;
6005
- border-color: transparent;
6006
- border-style: solid;
6007
- }
6008
- .tooltip.top .tooltip-arrow {
6009
- bottom: 0;
6010
- left: 50%;
6011
- margin-left: -5px;
6012
- border-width: 5px 5px 0;
6013
- border-top-color: #000;
6014
- }
6015
- .tooltip.top-left .tooltip-arrow {
6016
- right: 5px;
6017
- bottom: 0;
6018
- margin-bottom: -5px;
6019
- border-width: 5px 5px 0;
6020
- border-top-color: #000;
6021
- }
6022
- .tooltip.top-right .tooltip-arrow {
6023
- bottom: 0;
6024
- left: 5px;
6025
- margin-bottom: -5px;
6026
- border-width: 5px 5px 0;
6027
- border-top-color: #000;
6028
- }
6029
- .tooltip.right .tooltip-arrow {
6030
- top: 50%;
6031
- left: 0;
6032
- margin-top: -5px;
6033
- border-width: 5px 5px 5px 0;
6034
- border-right-color: #000;
6035
- }
6036
- .tooltip.left .tooltip-arrow {
6037
- top: 50%;
6038
- right: 0;
6039
- margin-top: -5px;
6040
- border-width: 5px 0 5px 5px;
6041
- border-left-color: #000;
6042
- }
6043
- .tooltip.bottom .tooltip-arrow {
6044
- top: 0;
6045
- left: 50%;
6046
- margin-left: -5px;
6047
- border-width: 0 5px 5px;
6048
- border-bottom-color: #000;
6049
- }
6050
- .tooltip.bottom-left .tooltip-arrow {
6051
- top: 0;
6052
- right: 5px;
6053
- margin-top: -5px;
6054
- border-width: 0 5px 5px;
6055
- border-bottom-color: #000;
6056
- }
6057
- .tooltip.bottom-right .tooltip-arrow {
6058
- top: 0;
6059
- left: 5px;
6060
- margin-top: -5px;
6061
- border-width: 0 5px 5px;
6062
- border-bottom-color: #000;
6063
- }
6064
- .popover {
6065
- position: absolute;
6066
- top: 0;
6067
- left: 0;
6068
- z-index: 1060;
6069
- display: none;
6070
- max-width: 276px;
6071
- padding: 1px;
6072
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
6073
- font-size: 14px;
6074
- font-style: normal;
6075
- font-weight: normal;
6076
- line-height: 1.42857143;
6077
- text-align: left;
6078
- text-align: start;
6079
- text-decoration: none;
6080
- text-shadow: none;
6081
- text-transform: none;
6082
- letter-spacing: normal;
6083
- word-break: normal;
6084
- word-spacing: normal;
6085
- word-wrap: normal;
6086
- white-space: normal;
6087
- background-color: #fff;
6088
- -webkit-background-clip: padding-box;
6089
- background-clip: padding-box;
6090
- border: 1px solid #ccc;
6091
- border: 1px solid rgba(0, 0, 0, .2);
6092
- border-radius: 6px;
6093
- -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
6094
- box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
6095
-
6096
- line-break: auto;
6097
- }
6098
- .popover.top {
6099
- margin-top: -10px;
6100
- }
6101
- .popover.right {
6102
- margin-left: 10px;
6103
- }
6104
- .popover.bottom {
6105
- margin-top: 10px;
6106
- }
6107
- .popover.left {
6108
- margin-left: -10px;
6109
- }
6110
- .popover-title {
6111
- padding: 8px 14px;
6112
- margin: 0;
6113
- font-size: 14px;
6114
- background-color: #f7f7f7;
6115
- border-bottom: 1px solid #ebebeb;
6116
- border-radius: 5px 5px 0 0;
6117
- }
6118
- .popover-content {
6119
- padding: 9px 14px;
6120
- }
6121
- .popover > .arrow,
6122
- .popover > .arrow:after {
6123
- position: absolute;
6124
- display: block;
6125
- width: 0;
6126
- height: 0;
6127
- border-color: transparent;
6128
- border-style: solid;
6129
- }
6130
- .popover > .arrow {
6131
- border-width: 11px;
6132
- }
6133
- .popover > .arrow:after {
6134
- content: "";
6135
- border-width: 10px;
6136
- }
6137
- .popover.top > .arrow {
6138
- bottom: -11px;
6139
- left: 50%;
6140
- margin-left: -11px;
6141
- border-top-color: #999;
6142
- border-top-color: rgba(0, 0, 0, .25);
6143
- border-bottom-width: 0;
6144
- }
6145
- .popover.top > .arrow:after {
6146
- bottom: 1px;
6147
- margin-left: -10px;
6148
- content: " ";
6149
- border-top-color: #fff;
6150
- border-bottom-width: 0;
6151
- }
6152
- .popover.right > .arrow {
6153
- top: 50%;
6154
- left: -11px;
6155
- margin-top: -11px;
6156
- border-right-color: #999;
6157
- border-right-color: rgba(0, 0, 0, .25);
6158
- border-left-width: 0;
6159
- }
6160
- .popover.right > .arrow:after {
6161
- bottom: -10px;
6162
- left: 1px;
6163
- content: " ";
6164
- border-right-color: #fff;
6165
- border-left-width: 0;
6166
- }
6167
- .popover.bottom > .arrow {
6168
- top: -11px;
6169
- left: 50%;
6170
- margin-left: -11px;
6171
- border-top-width: 0;
6172
- border-bottom-color: #999;
6173
- border-bottom-color: rgba(0, 0, 0, .25);
6174
- }
6175
- .popover.bottom > .arrow:after {
6176
- top: 1px;
6177
- margin-left: -10px;
6178
- content: " ";
6179
- border-top-width: 0;
6180
- border-bottom-color: #fff;
6181
- }
6182
- .popover.left > .arrow {
6183
- top: 50%;
6184
- right: -11px;
6185
- margin-top: -11px;
6186
- border-right-width: 0;
6187
- border-left-color: #999;
6188
- border-left-color: rgba(0, 0, 0, .25);
6189
- }
6190
- .popover.left > .arrow:after {
6191
- right: 1px;
6192
- bottom: -10px;
6193
- content: " ";
6194
- border-right-width: 0;
6195
- border-left-color: #fff;
6196
- }
6197
- .carousel {
6198
- position: relative;
6199
- }
6200
- .carousel-inner {
6201
- position: relative;
6202
- width: 100%;
6203
- overflow: hidden;
6204
- }
6205
- .carousel-inner > .item {
6206
- position: relative;
6207
- display: none;
6208
- -webkit-transition: .6s ease-in-out left;
6209
- -o-transition: .6s ease-in-out left;
6210
- transition: .6s ease-in-out left;
6211
- }
6212
- .carousel-inner > .item > img,
6213
- .carousel-inner > .item > a > img {
6214
- line-height: 1;
6215
- }
6216
- @media all and (transform-3d), (-webkit-transform-3d) {
6217
- .carousel-inner > .item {
6218
- -webkit-transition: -webkit-transform .6s ease-in-out;
6219
- -o-transition: -o-transform .6s ease-in-out;
6220
- transition: transform .6s ease-in-out;
6221
-
6222
- -webkit-backface-visibility: hidden;
6223
- backface-visibility: hidden;
6224
- -webkit-perspective: 1000px;
6225
- perspective: 1000px;
6226
- }
6227
- .carousel-inner > .item.next,
6228
- .carousel-inner > .item.active.right {
6229
- left: 0;
6230
- -webkit-transform: translate3d(100%, 0, 0);
6231
- transform: translate3d(100%, 0, 0);
6232
- }
6233
- .carousel-inner > .item.prev,
6234
- .carousel-inner > .item.active.left {
6235
- left: 0;
6236
- -webkit-transform: translate3d(-100%, 0, 0);
6237
- transform: translate3d(-100%, 0, 0);
6238
- }
6239
- .carousel-inner > .item.next.left,
6240
- .carousel-inner > .item.prev.right,
6241
- .carousel-inner > .item.active {
6242
- left: 0;
6243
- -webkit-transform: translate3d(0, 0, 0);
6244
- transform: translate3d(0, 0, 0);
6245
- }
6246
- }
6247
- .carousel-inner > .active,
6248
- .carousel-inner > .next,
6249
- .carousel-inner > .prev {
6250
- display: block;
6251
- }
6252
- .carousel-inner > .active {
6253
- left: 0;
6254
- }
6255
- .carousel-inner > .next,
6256
- .carousel-inner > .prev {
6257
- position: absolute;
6258
- top: 0;
6259
- width: 100%;
6260
- }
6261
- .carousel-inner > .next {
6262
- left: 100%;
6263
- }
6264
- .carousel-inner > .prev {
6265
- left: -100%;
6266
- }
6267
- .carousel-inner > .next.left,
6268
- .carousel-inner > .prev.right {
6269
- left: 0;
6270
- }
6271
- .carousel-inner > .active.left {
6272
- left: -100%;
6273
- }
6274
- .carousel-inner > .active.right {
6275
- left: 100%;
6276
- }
6277
- .carousel-control {
6278
- position: absolute;
6279
- top: 0;
6280
- bottom: 0;
6281
- left: 0;
6282
- width: 15%;
6283
- font-size: 20px;
6284
- color: #fff;
6285
- text-align: center;
6286
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
6287
- background-color: rgba(0, 0, 0, 0);
6288
- filter: alpha(opacity=50);
6289
- opacity: .5;
6290
- }
6291
- .carousel-control.left {
6292
- background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
6293
- background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
6294
- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
6295
- background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
6296
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
6297
- background-repeat: repeat-x;
6298
- }
6299
- .carousel-control.right {
6300
- right: 0;
6301
- left: auto;
6302
- background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
6303
- background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
6304
- background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
6305
- background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
6306
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
6307
- background-repeat: repeat-x;
6308
- }
6309
- .carousel-control:hover,
6310
- .carousel-control:focus {
6311
- color: #fff;
6312
- text-decoration: none;
6313
- filter: alpha(opacity=90);
6314
- outline: 0;
6315
- opacity: .9;
6316
- }
6317
- .carousel-control .icon-prev,
6318
- .carousel-control .icon-next,
6319
- .carousel-control .glyphicon-chevron-left,
6320
- .carousel-control .glyphicon-chevron-right {
6321
- position: absolute;
6322
- top: 50%;
6323
- z-index: 5;
6324
- display: inline-block;
6325
- margin-top: -10px;
6326
- }
6327
- .carousel-control .icon-prev,
6328
- .carousel-control .glyphicon-chevron-left {
6329
- left: 50%;
6330
- margin-left: -10px;
6331
- }
6332
- .carousel-control .icon-next,
6333
- .carousel-control .glyphicon-chevron-right {
6334
- right: 50%;
6335
- margin-right: -10px;
6336
- }
6337
- .carousel-control .icon-prev,
6338
- .carousel-control .icon-next {
6339
- width: 20px;
6340
- height: 20px;
6341
- font-family: serif;
6342
- line-height: 1;
6343
- }
6344
- .carousel-control .icon-prev:before {
6345
- content: '\2039';
6346
- }
6347
- .carousel-control .icon-next:before {
6348
- content: '\203a';
6349
- }
6350
- .carousel-indicators {
6351
- position: absolute;
6352
- bottom: 10px;
6353
- left: 50%;
6354
- z-index: 15;
6355
- width: 60%;
6356
- padding-left: 0;
6357
- margin-left: -30%;
6358
- text-align: center;
6359
- list-style: none;
6360
- }
6361
- .carousel-indicators li {
6362
- display: inline-block;
6363
- width: 10px;
6364
- height: 10px;
6365
- margin: 1px;
6366
- text-indent: -999px;
6367
- cursor: pointer;
6368
- background-color: #000 \9;
6369
- background-color: rgba(0, 0, 0, 0);
6370
- border: 1px solid #fff;
6371
- border-radius: 10px;
6372
- }
6373
- .carousel-indicators .active {
6374
- width: 12px;
6375
- height: 12px;
6376
- margin: 0;
6377
- background-color: #fff;
6378
- }
6379
- .carousel-caption {
6380
- position: absolute;
6381
- right: 15%;
6382
- bottom: 20px;
6383
- left: 15%;
6384
- z-index: 10;
6385
- padding-top: 20px;
6386
- padding-bottom: 20px;
6387
- color: #fff;
6388
- text-align: center;
6389
- text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
6390
- }
6391
- .carousel-caption .btn {
6392
- text-shadow: none;
6393
- }
6394
- @media screen and (min-width: 768px) {
6395
- .carousel-control .glyphicon-chevron-left,
6396
- .carousel-control .glyphicon-chevron-right,
6397
- .carousel-control .icon-prev,
6398
- .carousel-control .icon-next {
6399
- width: 30px;
6400
- height: 30px;
6401
- margin-top: -10px;
6402
- font-size: 30px;
6403
- }
6404
- .carousel-control .glyphicon-chevron-left,
6405
- .carousel-control .icon-prev {
6406
- margin-left: -10px;
6407
- }
6408
- .carousel-control .glyphicon-chevron-right,
6409
- .carousel-control .icon-next {
6410
- margin-right: -10px;
6411
- }
6412
- .carousel-caption {
6413
- right: 20%;
6414
- left: 20%;
6415
- padding-bottom: 30px;
6416
- }
6417
- .carousel-indicators {
6418
- bottom: 20px;
6419
- }
6420
- }
6421
- .clearfix:before,
6422
- .clearfix:after,
6423
- .dl-horizontal dd:before,
6424
- .dl-horizontal dd:after,
6425
- .container:before,
6426
- .container:after,
6427
- .container-fluid:before,
6428
- .container-fluid:after,
6429
- .row:before,
6430
- .row:after,
6431
- .form-horizontal .form-group:before,
6432
- .form-horizontal .form-group:after,
6433
- .btn-toolbar:before,
6434
- .btn-toolbar:after,
6435
- .btn-group-vertical > .btn-group:before,
6436
- .btn-group-vertical > .btn-group:after,
6437
- .nav:before,
6438
- .nav:after,
6439
- .navbar:before,
6440
- .navbar:after,
6441
- .navbar-header:before,
6442
- .navbar-header:after,
6443
- .navbar-collapse:before,
6444
- .navbar-collapse:after,
6445
- .pager:before,
6446
- .pager:after,
6447
- .panel-body:before,
6448
- .panel-body:after,
6449
- .modal-header:before,
6450
- .modal-header:after,
6451
- .modal-footer:before,
6452
- .modal-footer:after {
6453
- display: table;
6454
- content: " ";
6455
- }
6456
- .clearfix:after,
6457
- .dl-horizontal dd:after,
6458
- .container:after,
6459
- .container-fluid:after,
6460
- .row:after,
6461
- .form-horizontal .form-group:after,
6462
- .btn-toolbar:after,
6463
- .btn-group-vertical > .btn-group:after,
6464
- .nav:after,
6465
- .navbar:after,
6466
- .navbar-header:after,
6467
- .navbar-collapse:after,
6468
- .pager:after,
6469
- .panel-body:after,
6470
- .modal-header:after,
6471
- .modal-footer:after {
6472
- clear: both;
6473
- }
6474
- .center-block {
6475
- display: block;
6476
- margin-right: auto;
6477
- margin-left: auto;
6478
- }
6479
- .pull-right {
6480
- float: right !important;
6481
- }
6482
- .pull-left {
6483
- float: left !important;
6484
- }
6485
- .hide {
6486
- display: none !important;
6487
- }
6488
- .show {
6489
- display: block !important;
6490
- }
6491
- .invisible {
6492
- visibility: hidden;
6493
- }
6494
- .text-hide {
6495
- font: 0/0 a;
6496
- color: transparent;
6497
- text-shadow: none;
6498
- background-color: transparent;
6499
- border: 0;
6500
- }
6501
- .hidden {
6502
- display: none !important;
6503
- }
6504
- .affix {
6505
- position: fixed;
6506
- }
6507
- @-ms-viewport {
6508
- width: device-width;
6509
- }
6510
- .visible-xs,
6511
- .visible-sm,
6512
- .visible-md,
6513
- .visible-lg {
6514
- display: none !important;
6515
- }
6516
- .visible-xs-block,
6517
- .visible-xs-inline,
6518
- .visible-xs-inline-block,
6519
- .visible-sm-block,
6520
- .visible-sm-inline,
6521
- .visible-sm-inline-block,
6522
- .visible-md-block,
6523
- .visible-md-inline,
6524
- .visible-md-inline-block,
6525
- .visible-lg-block,
6526
- .visible-lg-inline,
6527
- .visible-lg-inline-block {
6528
- display: none !important;
6529
- }
6530
- @media (max-width: 767px) {
6531
- .visible-xs {
6532
- display: block !important;
6533
- }
6534
- table.visible-xs {
6535
- display: table !important;
6536
- }
6537
- tr.visible-xs {
6538
- display: table-row !important;
6539
- }
6540
- th.visible-xs,
6541
- td.visible-xs {
6542
- display: table-cell !important;
6543
- }
6544
- }
6545
- @media (max-width: 767px) {
6546
- .visible-xs-block {
6547
- display: block !important;
6548
- }
6549
- }
6550
- @media (max-width: 767px) {
6551
- .visible-xs-inline {
6552
- display: inline !important;
6553
- }
6554
- }
6555
- @media (max-width: 767px) {
6556
- .visible-xs-inline-block {
6557
- display: inline-block !important;
6558
- }
6559
- }
6560
- @media (min-width: 768px) and (max-width: 991px) {
6561
- .visible-sm {
6562
- display: block !important;
6563
- }
6564
- table.visible-sm {
6565
- display: table !important;
6566
- }
6567
- tr.visible-sm {
6568
- display: table-row !important;
6569
- }
6570
- th.visible-sm,
6571
- td.visible-sm {
6572
- display: table-cell !important;
6573
- }
6574
- }
6575
- @media (min-width: 768px) and (max-width: 991px) {
6576
- .visible-sm-block {
6577
- display: block !important;
6578
- }
6579
- }
6580
- @media (min-width: 768px) and (max-width: 991px) {
6581
- .visible-sm-inline {
6582
- display: inline !important;
6583
- }
6584
- }
6585
- @media (min-width: 768px) and (max-width: 991px) {
6586
- .visible-sm-inline-block {
6587
- display: inline-block !important;
6588
- }
6589
- }
6590
- @media (min-width: 992px) and (max-width: 1199px) {
6591
- .visible-md {
6592
- display: block !important;
6593
- }
6594
- table.visible-md {
6595
- display: table !important;
6596
- }
6597
- tr.visible-md {
6598
- display: table-row !important;
6599
- }
6600
- th.visible-md,
6601
- td.visible-md {
6602
- display: table-cell !important;
6603
- }
6604
- }
6605
- @media (min-width: 992px) and (max-width: 1199px) {
6606
- .visible-md-block {
6607
- display: block !important;
6608
- }
6609
- }
6610
- @media (min-width: 992px) and (max-width: 1199px) {
6611
- .visible-md-inline {
6612
- display: inline !important;
6613
- }
6614
- }
6615
- @media (min-width: 992px) and (max-width: 1199px) {
6616
- .visible-md-inline-block {
6617
- display: inline-block !important;
6618
- }
6619
- }
6620
- @media (min-width: 1200px) {
6621
- .visible-lg {
6622
- display: block !important;
6623
- }
6624
- table.visible-lg {
6625
- display: table !important;
6626
- }
6627
- tr.visible-lg {
6628
- display: table-row !important;
6629
- }
6630
- th.visible-lg,
6631
- td.visible-lg {
6632
- display: table-cell !important;
6633
- }
6634
- }
6635
- @media (min-width: 1200px) {
6636
- .visible-lg-block {
6637
- display: block !important;
6638
- }
6639
- }
6640
- @media (min-width: 1200px) {
6641
- .visible-lg-inline {
6642
- display: inline !important;
6643
- }
6644
- }
6645
- @media (min-width: 1200px) {
6646
- .visible-lg-inline-block {
6647
- display: inline-block !important;
6648
- }
6649
- }
6650
- @media (max-width: 767px) {
6651
- .hidden-xs {
6652
- display: none !important;
6653
- }
6654
- }
6655
- @media (min-width: 768px) and (max-width: 991px) {
6656
- .hidden-sm {
6657
- display: none !important;
6658
- }
6659
- }
6660
- @media (min-width: 992px) and (max-width: 1199px) {
6661
- .hidden-md {
6662
- display: none !important;
6663
- }
6664
- }
6665
- @media (min-width: 1200px) {
6666
- .hidden-lg {
6667
- display: none !important;
6668
- }
6669
- }
6670
- .visible-print {
6671
- display: none !important;
6672
- }
6673
- @media print {
6674
- .visible-print {
6675
- display: block !important;
6676
- }
6677
- table.visible-print {
6678
- display: table !important;
6679
- }
6680
- tr.visible-print {
6681
- display: table-row !important;
6682
- }
6683
- th.visible-print,
6684
- td.visible-print {
6685
- display: table-cell !important;
6686
- }
6687
- }
6688
- .visible-print-block {
6689
- display: none !important;
6690
- }
6691
- @media print {
6692
- .visible-print-block {
6693
- display: block !important;
6694
- }
6695
- }
6696
- .visible-print-inline {
6697
- display: none !important;
6698
- }
6699
- @media print {
6700
- .visible-print-inline {
6701
- display: inline !important;
6702
- }
6703
- }
6704
- .visible-print-inline-block {
6705
- display: none !important;
6706
- }
6707
- @media print {
6708
- .visible-print-inline-block {
6709
- display: inline-block !important;
6710
- }
6711
- }
6712
- @media print {
6713
- .hidden-print {
6714
- display: none !important;
6715
- }
6716
- }
6717
-
6718
- #wpwrap{
6719
- background:#eee;
6720
- }
6721
-
6722
- #adminmenuback {
6723
- z-index: 0 !important;
6724
- }
6725
-
6726
-
6727
- .btn-success, .label-success{
6728
- background-color: #79B232 !important;
6729
- }
6730
-
6731
- .updated a {
6732
- padding-bottom: 10px !important;
6733
- }
6734
-
6735
- p {
6736
- margin: 0 0 2px !important;
6737
- }
6738
-
6739
- .margin-auto{
6740
- margin: 0 auto;
6741
- text-align: center;
6742
- }
6743
-
6744
- .list-group-item{
6745
- padding: 8px !important;
6746
- }
6747
-
6748
- .glyphicon-success{
6749
- color: #79B232;
6750
- }
6751
- .glyphicon-warning{
6752
- color: #eea236;
6753
- }
6754
- .glyphicon-info{
6755
- color: #337ab7;
6756
- }
6757
- .glyphicon-grey{
6758
- color: #76777b;
6759
- }
6760
-
6761
- .glyphicon-primary{
6762
- color: #2e6da4;
6763
- }
6764
- .glyphicon-danger{
6765
- color: #a94442;
6766
- }
6767
- .glyphicon-lg{
6768
- font-size: 18px;
6769
- }
6770
-
6771
- .btn-group-xl > .btn, .btn-xl {
6772
- border-radius: 6px;
6773
- font-size: 24px;
6774
- line-height: 1.33333;
6775
- padding: 10px 5px 5px 5px;
6776
- }
6777
-
6778
- /*B2S Inbox*/
6779
- .b2s-inbox .b2s-inbox-menu ul {
6780
- padding: 0;
6781
- list-style: none
6782
- }
6783
-
6784
- .b2s-inbox .b2s-inbox-menu ul li {
6785
- position: relative
6786
- }
6787
-
6788
- .b2s-inbox .b2s-inbox-menu ul li.title {
6789
- font-size: 14px;
6790
- color: #3d3f42;
6791
- font-weight: 600;
6792
- }
6793
-
6794
- .b2s-inbox .b2s-inbox-menu ul li.title:hover {
6795
- background: 0 0
6796
- }
6797
-
6798
- .b2s-inbox .b2s-inbox-menu ul li a {
6799
- display: block;
6800
- width: 100%;
6801
- text-decoration: none;
6802
- }
6803
-
6804
- .b2s-inbox .b2s-inbox-menu ul li a i {
6805
- margin-right: 10px
6806
- }
6807
-
6808
- .b2s-inbox .b2s-inbox-menu ul li a .label {
6809
- position: absolute;
6810
- top:0px;
6811
- right: 2px;
6812
- display: block;
6813
- min-width: 18px;
6814
- height: 18px;
6815
- padding: 2px;
6816
- font-size: 12px;
6817
- }
6818
-
6819
-
6820
- .b2s-inbox-menu .title{
6821
- font-size: 14px;
6822
- color: #3d3f42;
6823
- font-weight: 600;
6824
- }
6825
-
6826
- /* Posts */
6827
-
6828
- .b2s-post h3 {
6829
- margin-top: 5px;
6830
- }
6831
-
6832
- @media(max-width: 400px) {
6833
- .b2s-post h3 {
6834
- font-size: 16px !important;
6835
- }
6836
- }
6837
-
6838
- .b2s-post .list-group li {
6839
- padding: 15px 20px 12px 20px;
6840
- cursor: pointer;
6841
- }
6842
-
6843
- .b2s-post .list-group li:hover {
6844
- background: #eee;
6845
- }
6846
-
6847
- .b2s-post .fa-padding .fa {
6848
- padding-top: 5px;
6849
- width: 1.5em;
6850
- }
6851
-
6852
- .b2s-post .info {
6853
- color: #323b43;
6854
- margin: 0px;
6855
- }
6856
-
6857
- .b2s-post .info a:hover {
6858
- text-decoration: underline;
6859
- }
6860
-
6861
- .b2s-post .info .fa {
6862
- width: 1.5em;
6863
- text-align: center;
6864
- }
6865
-
6866
- .b2s-post .number {
6867
- color: #777;
6868
- }
6869
-
6870
- .b2s-post img {
6871
- margin: 0 auto;
6872
- display: block;
6873
- }
6874
-
6875
- .b2s-post .modal-body {
6876
- padding-bottom: 0px;
6877
- }
6878
-
6879
- /*B2S Banner Premium Version */
6880
- .b2s-premium-version-banner .icon {
6881
- float: left;
6882
- margin: 12px 8px 8px 12px;
6883
- }
6884
-
6885
- .b2s-premium-version-banner .icon img {
6886
- max-width: 60px;
6887
- }
6888
-
6889
- .b2s-premium-version-banner .text {
6890
- color: #000;
6891
- float: left;
6892
- font-size: 18px;
6893
- line-height: 26px;
6894
- margin: 18px 18px 14px;
6895
- max-width: 80%;
6896
- width: auto;
6897
- }
6898
- .b2s-premium-version-banner .text span {
6899
- font-size: 14px;
6900
- opacity: 0.6;
6901
- }
6902
- .b2s-premium-version-banner .premium-button {
6903
- margin: 18px 40px;
6904
- }
6905
-
6906
-
6907
- /*PRG Custom */
6908
- .prg-logo{
6909
- max-height: 40px;
6910
- }
6911
-
6912
- .prg-padding-bottom-30{
6913
- padding-bottom:30px;
6914
- }
6915
-
6916
- .nav-tabs {
6917
- border-bottom: 0 !important;
6918
- padding-bottom: 10px;
6919
- }
6920
-
6921
- .nav-tabs {
6922
- border-bottom: 0 !important;
6923
- padding-bottom: 10px;
6924
- }
6925
- .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
6926
- background-color: #337AB7 !important;
6927
- color: #fff;
6928
- font-weight: 600;
6929
- }
6930
-
6931
- .nav-tabs > li > a {
6932
- border-radius: 4px !important;
6933
- }
6934
-
6935
- .nav > li > a {
6936
- padding: 4px 6px;
6937
- }
6938
-
6939
- .panel-min-height{
6940
- min-height: 760px;
6941
- }
6942
-
6943
- .img-error{
6944
- display: block;
6945
- margin: 0 auto 35px;
6946
- }
6947
-
6948
- /* B2S Custom */
6949
- .b2s-container{
6950
- margin-top:15px;
6951
- }
6952
-
6953
- .b2s-select,.b2s-input{
6954
- height: 30px !important;
6955
- margin-bottom: 8px !important;
6956
- }
6957
-
6958
- .b2s-logo{
6959
- padding-bottom: 15px;
6960
- }
6961
-
6962
- .b2s-loading-area, .prg-loading-area{
6963
- width: 80%;
6964
- float:left;
6965
- text-align: center;
6966
- }
6967
-
6968
- .prg-loading-area{
6969
- padding-top:25px;
6970
- }
6971
-
6972
- .del-padding-left {
6973
- padding-left: 0px !important;
6974
- }
6975
-
6976
- .add-padding-left{
6977
- padding: 0 15px;
6978
- }
6979
-
6980
- .del-padding-right {
6981
- padding-right: 0px !important;
6982
- }
6983
-
6984
- .padding-bottom-10{
6985
- padding-bottom: 10px;
6986
- }
6987
-
6988
- .padding-top-10{
6989
- padding-top: 10px;
6990
- }
6991
-
6992
- .padding-left-5{
6993
- padding-left: 5px;
6994
- }
6995
-
6996
- .padding-left-15{
6997
- padding-left: 15px;
6998
- }
6999
- .margin-right-15{
7000
- margin-right: 15px;
7001
- }
7002
-
7003
- .b2s-support-area {
7004
- margin-bottom: 20px;
7005
- }
7006
-
7007
- .b2s-post-menu {
7008
- padding-bottom: 10px;
7009
- border-bottom: 1px solid #dedede;
7010
- margin-bottom: 10px;
7011
- width: 100%;
7012
- }
7013
-
7014
- .thumbnail-blog{
7015
- padding: 1px;
7016
- max-width: 84px;
7017
- margin-right: 10px;
7018
- }
7019
-
7020
- @media(max-width: 549px) {
7021
- .b2s-post-btn {
7022
- width: 100%;
7023
- }
7024
- }
7025
-
7026
- .b2s-img-network{
7027
- width: 48px;
7028
- margin-top: 3px;
7029
- }
7030
-
7031
- .post-img-10{
7032
- margin-top: 10px;
7033
- }
7034
- .post-img-5{
7035
- margin-top: 5px;
7036
- }
7037
- .img-width-9{
7038
- max-width: 9%;
7039
- }
7040
-
7041
- .width-100{
7042
- width: 100%;
7043
- }
7044
-
7045
- .error{
7046
- border: 1px solid #FF0000 !important;
7047
- }
7048
-
7049
- input[type="checkbox"].error, select.error{
7050
- border: 1px solid #cccccc !important;
7051
- }
7052
-
7053
- input[type="checkbox"].error + label{
7054
- color: #FF0000;
7055
- }
7056
-
7057
- .b2s-loader-impulse, .prg-loader-impulse{
7058
- animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
7059
- border-radius: 100%;
7060
- margin: 0 auto;
7061
- }
7062
- .b2s-loader-impulse{
7063
- background-color: #79b331;
7064
- }
7065
- .prg-loader-impulse{
7066
- background-color: #FDBF45;
7067
- }
7068
- .b2s-loader-impulse-md,.prg-loader-impulse-md {
7069
- height: 64px;
7070
- width: 64px;
7071
- }
7072
-
7073
- .b2s-loader-impulse-sm,.prg-loader-impulse-sm {
7074
- height: 32px;
7075
- width: 32px;
7076
- }
7077
-
7078
- @keyframes sk-pulseScaleOut {
7079
- 0% {
7080
- -webkit-transform: scale(0);
7081
- transform: scale(0); }
7082
- 100% {
7083
- -webkit-transform: scale(1);
7084
- transform: scale(1);
7085
- opacity: 0; }
7086
- }
7087
-
7088
- .b2s-loader-text{
7089
- font-size: 80%;
7090
- }
7091
-
7092
- .clearfix{
7093
- display: block !important;
7094
- }
7095
-
7096
- .b2s-color-green{
7097
- color: #79b232;
7098
- }
7099
-
7100
- .b2s-version-info{
7101
- font-size: 12px;
7102
- }
7103
-
7104
- .panel-no-shadow{
7105
- -webkit-box-shadow: none;
7106
- -moz-box-shadow: none;
7107
- box-shadow: none;
7108
-
7109
- }
7110
- .panel-no-padding{
7111
- padding: 0px;
7112
- }
7113
-
7114
- .btn-circle {
7115
- width: 30px;
7116
- height: 30px;
7117
- text-align: center;
7118
- padding: 6px 0;
7119
- font-size: 12px;
7120
- line-height: 1.428571429;
7121
- border-radius: 15px;
7122
- }
7123
- .btn-circle.btn-lg {
7124
- width: 50px;
7125
- height: 50px;
7126
- padding: 10px 16px;
7127
- font-size: 18px;
7128
- line-height: 1.33;
7129
- border-radius: 25px;
7130
- }
7131
- .btn-circle.btn-xl {
7132
- width: 70px;
7133
- height: 70px;
7134
- padding: 10px 16px;
7135
- font-size: 24px;
7136
- line-height: 1.33;
7137
- border-radius: 35px;
7138
- }
7139
-
7140
- .b2s-info-btn {
7141
- font-size: 12px;
7142
- text-decoration: underline;
7143
- }
7144
-
7145
- .b2s-btn-disabled{
7146
- opacity: .53;
7147
- }
7148
-
7149
- .label-sm{
7150
- font-size: 60%;
7151
- }
7152
-
7153
- .btn-label-premium {
7154
- color: #fff !important;
7155
- }
7156
- .btn-label-premium-xs {
7157
- font-size: 11px !important;
7158
- }
7159
-
7160
- /*#adminmenu .toplevel_page_blog2social ul li:last-child{
7161
- background-color: #79B232;
7162
- }
7163
- #adminmenu .toplevel_page_blog2social ul li:last-child a{
7164
- color: #fff !important;
7165
- }
7166
- #adminmenu .toplevel_page_blog2social ul li:last-child:hover a{
7167
- text-decoration: underline;
7168
- }*/
7169
-
7170
- #adminmenu .toplevel_page_blog2social a[href="admin.php?page=blog2social-premium"] {
7171
- text-decoration: none !important;
7172
- }
7173
-
7174
- .b2s-close{
7175
- color:#aaa;
7176
- float:right;
7177
- cursor:pointer
7178
- }
7179
- .b2s-notice-buttons{
7180
- padding-top:10px;
7181
- display: flex;
7182
- justify-content: space-between
7183
- }
7184
- .b2s-notice{
7185
- border-left: 5px solid #79B232;
7186
- }
 
 
 
 
 
 
1
+ article,
2
+ aside,
3
+ details,
4
+ figcaption,
5
+ figure,
6
+ footer,
7
+ header,
8
+ hgroup,
9
+ main,
10
+ menu,
11
+ nav,
12
+ section,
13
+ summary {
14
+ display: block;
15
+ }
16
+ audio,
17
+ canvas,
18
+ progress,
19
+ video {
20
+ display: inline-block;
21
+ vertical-align: baseline;
22
+ }
23
+ audio:not([controls]) {
24
+ display: none;
25
+ height: 0;
26
+ }
27
+ [hidden],
28
+ template {
29
+ display: none;
30
+ }
31
+ a {
32
+ background-color: transparent;
33
+ }
34
+ a:active,
35
+ a:hover {
36
+ outline: 0;
37
+ }
38
+ abbr[title] {
39
+ border-bottom: 1px dotted;
40
+ }
41
+ /*b,
42
+ strong {
43
+ font-weight: bold;
44
+ }*/
45
+ dfn {
46
+ font-style: italic;
47
+ }
48
+ h1 {
49
+ margin: .67em 0;
50
+ font-size: 2em;
51
+ }
52
+ mark {
53
+ color: #000;
54
+ background: #ff0;
55
+ }
56
+ small {
57
+ font-size: 80%;
58
+ }
59
+ sub,
60
+ sup {
61
+ position: relative;
62
+ font-size: 75%;
63
+ line-height: 0;
64
+ vertical-align: baseline;
65
+ }
66
+ sup {
67
+ top: -.5em;
68
+ }
69
+ sub {
70
+ bottom: -.25em;
71
+ }
72
+ img {
73
+ border: 0;
74
+ }
75
+ svg:not(:root) {
76
+ overflow: hidden;
77
+ }
78
+ figure {
79
+ margin: 1em 40px;
80
+ }
81
+ hr {
82
+ height: 0;
83
+ -webkit-box-sizing: content-box;
84
+ -moz-box-sizing: content-box;
85
+ box-sizing: content-box;
86
+ }
87
+ pre {
88
+ overflow: auto;
89
+ }
90
+ code,
91
+ kbd,
92
+ pre,
93
+ samp {
94
+ font-family: monospace, monospace;
95
+ font-size: 1em;
96
+ }
97
+ button,
98
+ input,
99
+ optgroup,
100
+ select,
101
+ textarea {
102
+ margin: 0;
103
+ font: inherit;
104
+ color: inherit;
105
+ }
106
+ button {
107
+ overflow: visible;
108
+ }
109
+ button,
110
+ select {
111
+ text-transform: none;
112
+ }
113
+ button,
114
+ html input[type="button"],
115
+ input[type="reset"],
116
+ input[type="submit"] {
117
+ -webkit-appearance: button;
118
+ cursor: pointer;
119
+ }
120
+ button[disabled],
121
+ html input[disabled] {
122
+ cursor: default;
123
+ }
124
+ button::-moz-focus-inner,
125
+ input::-moz-focus-inner {
126
+ padding: 0;
127
+ border: 0;
128
+ }
129
+ input {
130
+ line-height: normal;
131
+ }
132
+ input[type="checkbox"],
133
+ input[type="radio"] {
134
+ -webkit-box-sizing: border-box;
135
+ -moz-box-sizing: border-box;
136
+ box-sizing: border-box;
137
+ padding: 0;
138
+ }
139
+ input[type="number"]::-webkit-inner-spin-button,
140
+ input[type="number"]::-webkit-outer-spin-button {
141
+ height: auto;
142
+ }
143
+ input[type="search"] {
144
+ -webkit-box-sizing: content-box;
145
+ -moz-box-sizing: content-box;
146
+ box-sizing: content-box;
147
+ -webkit-appearance: textfield;
148
+ }
149
+ input[type="search"]::-webkit-search-cancel-button,
150
+ input[type="search"]::-webkit-search-decoration {
151
+ -webkit-appearance: none;
152
+ }
153
+ fieldset {
154
+ padding: .35em .625em .75em;
155
+ margin: 0 2px;
156
+ border: 1px solid #c0c0c0;
157
+ }
158
+ legend {
159
+ padding: 0;
160
+ border: 0;
161
+ }
162
+ textarea {
163
+ overflow: auto;
164
+ }
165
+ optgroup {
166
+ font-weight: bold;
167
+ }
168
+ table {
169
+ border-spacing: 0;
170
+ border-collapse: collapse;
171
+ }
172
+ td,
173
+ th {
174
+ padding: 0;
175
+ }
176
+
177
+ @media print {
178
+ *,
179
+ *:before,
180
+ *:after {
181
+ color: #000 !important;
182
+ text-shadow: none !important;
183
+ background: transparent !important;
184
+ -webkit-box-shadow: none !important;
185
+ box-shadow: none !important;
186
+ }
187
+ a,
188
+ a:visited {
189
+ text-decoration: underline;
190
+ }
191
+ a[href]:after {
192
+ content: " (" attr(href) ")";
193
+ }
194
+ abbr[title]:after {
195
+ content: " (" attr(title) ")";
196
+ }
197
+ a[href^="#"]:after,
198
+ a[href^="javascript:"]:after {
199
+ content: "";
200
+ }
201
+ pre,
202
+ blockquote {
203
+ border: 1px solid #999;
204
+
205
+ page-break-inside: avoid;
206
+ }
207
+ thead {
208
+ display: table-header-group;
209
+ }
210
+ tr,
211
+ img {
212
+ page-break-inside: avoid;
213
+ }
214
+ img {
215
+ max-width: 100% !important;
216
+ }
217
+ p,
218
+ h2,
219
+ h3 {
220
+ orphans: 3;
221
+ widows: 3;
222
+ }
223
+ h2,
224
+ h3 {
225
+ page-break-after: avoid;
226
+ }
227
+ .navbar {
228
+ display: none;
229
+ }
230
+ .btn > .caret,
231
+ .dropup > .btn > .caret {
232
+ border-top-color: #000 !important;
233
+ }
234
+ .label {
235
+ border: 1px solid #000;
236
+ }
237
+ .table {
238
+ border-collapse: collapse !important;
239
+ }
240
+ .table td,
241
+ .table th {
242
+ background-color: #fff !important;
243
+ }
244
+ .table-bordered th,
245
+ .table-bordered td {
246
+ border: 1px solid #ddd !important;
247
+ }
248
+ }
249
+ @font-face {
250
+ font-family: 'Glyphicons Halflings';
251
+
252
+ src: url('../fonts/glyphicons-halflings-regular.eot');
253
+ src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
254
+ }
255
+ .glyphicon {
256
+ position: relative;
257
+ top: 1px;
258
+ display: inline-block;
259
+ font-family: 'Glyphicons Halflings';
260
+ font-style: normal;
261
+ font-weight: normal;
262
+ line-height: 1;
263
+
264
+ -webkit-font-smoothing: antialiased;
265
+ -moz-osx-font-smoothing: grayscale;
266
+ }
267
+ .glyphicon-asterisk:before {
268
+ content: "\002a";
269
+ }
270
+ .glyphicon-plus:before {
271
+ content: "\002b";
272
+ }
273
+ .glyphicon-euro:before,
274
+ .glyphicon-eur:before {
275
+ content: "\20ac";
276
+ }
277
+ .glyphicon-minus:before {
278
+ content: "\2212";
279
+ }
280
+ .glyphicon-cloud:before {
281
+ content: "\2601";
282
+ }
283
+ .glyphicon-envelope:before {
284
+ content: "\2709";
285
+ }
286
+ .glyphicon-pencil:before {
287
+ content: "\270f";
288
+ }
289
+ .glyphicon-glass:before {
290
+ content: "\e001";
291
+ }
292
+ .glyphicon-music:before {
293
+ content: "\e002";
294
+ }
295
+ .glyphicon-search:before {
296
+ content: "\e003";
297
+ }
298
+ .glyphicon-heart:before {
299
+ content: "\e005";
300
+ }
301
+ .glyphicon-star:before {
302
+ content: "\e006";
303
+ }
304
+ .glyphicon-star-empty:before {
305
+ content: "\e007";
306
+ }
307
+ .glyphicon-user:before {
308
+ content: "\e008";
309
+ }
310
+ .glyphicon-film:before {
311
+ content: "\e009";
312
+ }
313
+ .glyphicon-th-large:before {
314
+ content: "\e010";
315
+ }
316
+ .glyphicon-th:before {
317
+ content: "\e011";
318
+ }
319
+ .glyphicon-th-list:before {
320
+ content: "\e012";
321
+ }
322
+ .glyphicon-ok:before {
323
+ content: "\e013";
324
+ }
325
+ .glyphicon-remove:before {
326
+ content: "\e014";
327
+ }
328
+ .glyphicon-zoom-in:before {
329
+ content: "\e015";
330
+ }
331
+ .glyphicon-zoom-out:before {
332
+ content: "\e016";
333
+ }
334
+ .glyphicon-off:before {
335
+ content: "\e017";
336
+ }
337
+ .glyphicon-signal:before {
338
+ content: "\e018";
339
+ }
340
+ .glyphicon-cog:before {
341
+ content: "\e019";
342
+ }
343
+ .glyphicon-trash:before {
344
+ content: "\e020";
345
+ }
346
+ .glyphicon-home:before {
347
+ content: "\e021";
348
+ }
349
+ .glyphicon-file:before {
350
+ content: "\e022";
351
+ }
352
+ .glyphicon-time:before {
353
+ content: "\e023";
354
+ }
355
+ .glyphicon-road:before {
356
+ content: "\e024";
357
+ }
358
+ .glyphicon-download-alt:before {
359
+ content: "\e025";
360
+ }
361
+ .glyphicon-download:before {
362
+ content: "\e026";
363
+ }
364
+ .glyphicon-upload:before {
365
+ content: "\e027";
366
+ }
367
+ .glyphicon-inbox:before {
368
+ content: "\e028";
369
+ }
370
+ .glyphicon-play-circle:before {
371
+ content: "\e029";
372
+ }
373
+ .glyphicon-repeat:before {
374
+ content: "\e030";
375
+ }
376
+ .glyphicon-refresh:before {
377
+ content: "\e031";
378
+ }
379
+ .glyphicon-list-alt:before {
380
+ content: "\e032";
381
+ }
382
+ .glyphicon-lock:before {
383
+ content: "\e033";
384
+ }
385
+ .glyphicon-flag:before {
386
+ content: "\e034";
387
+ }
388
+ .glyphicon-headphones:before {
389
+ content: "\e035";
390
+ }
391
+ .glyphicon-volume-off:before {
392
+ content: "\e036";
393
+ }
394
+ .glyphicon-volume-down:before {
395
+ content: "\e037";
396
+ }
397
+ .glyphicon-volume-up:before {
398
+ content: "\e038";
399
+ }
400
+ .glyphicon-qrcode:before {
401
+ content: "\e039";
402
+ }
403
+ .glyphicon-barcode:before {
404
+ content: "\e040";
405
+ }
406
+ .glyphicon-tag:before {
407
+ content: "\e041";
408
+ }
409
+ .glyphicon-tags:before {
410
+ content: "\e042";
411
+ }
412
+ .glyphicon-book:before {
413
+ content: "\e043";
414
+ }
415
+ .glyphicon-bookmark:before {
416
+ content: "\e044";
417
+ }
418
+ .glyphicon-print:before {
419
+ content: "\e045";
420
+ }
421
+ .glyphicon-camera:before {
422
+ content: "\e046";
423
+ }
424
+ .glyphicon-font:before {
425
+ content: "\e047";
426
+ }
427
+ .glyphicon-bold:before {
428
+ content: "\e048";
429
+ }
430
+ .glyphicon-italic:before {
431
+ content: "\e049";
432
+ }
433
+ .glyphicon-text-height:before {
434
+ content: "\e050";
435
+ }
436
+ .glyphicon-text-width:before {
437
+ content: "\e051";
438
+ }
439
+ .glyphicon-align-left:before {
440
+ content: "\e052";
441
+ }
442
+ .glyphicon-align-center:before {
443
+ content: "\e053";
444
+ }
445
+ .glyphicon-align-right:before {
446
+ content: "\e054";
447
+ }
448
+ .glyphicon-align-justify:before {
449
+ content: "\e055";
450
+ }
451
+ .glyphicon-list:before {
452
+ content: "\e056";
453
+ }
454
+ .glyphicon-indent-left:before {
455
+ content: "\e057";
456
+ }
457
+ .glyphicon-indent-right:before {
458
+ content: "\e058";
459
+ }
460
+ .glyphicon-facetime-video:before {
461
+ content: "\e059";
462
+ }
463
+ .glyphicon-picture:before {
464
+ content: "\e060";
465
+ }
466
+ .glyphicon-map-marker:before {
467
+ content: "\e062";
468
+ }
469
+ .glyphicon-adjust:before {
470
+ content: "\e063";
471
+ }
472
+ .glyphicon-tint:before {
473
+ content: "\e064";
474
+ }
475
+ .glyphicon-edit:before {
476
+ content: "\e065";
477
+ }
478
+ .glyphicon-share:before {
479
+ content: "\e066";
480
+ }
481
+ .glyphicon-check:before {
482
+ content: "\e067";
483
+ }
484
+ .glyphicon-move:before {
485
+ content: "\e068";
486
+ }
487
+ .glyphicon-step-backward:before {
488
+ content: "\e069";
489
+ }
490
+ .glyphicon-fast-backward:before {
491
+ content: "\e070";
492
+ }
493
+ .glyphicon-backward:before {
494
+ content: "\e071";
495
+ }
496
+ .glyphicon-play:before {
497
+ content: "\e072";
498
+ }
499
+ .glyphicon-pause:before {
500
+ content: "\e073";
501
+ }
502
+ .glyphicon-stop:before {
503
+ content: "\e074";
504
+ }
505
+ .glyphicon-forward:before {
506
+ content: "\e075";
507
+ }
508
+ .glyphicon-fast-forward:before {
509
+ content: "\e076";
510
+ }
511
+ .glyphicon-step-forward:before {
512
+ content: "\e077";
513
+ }
514
+ .glyphicon-eject:before {
515
+ content: "\e078";
516
+ }
517
+ .glyphicon-chevron-left:before {
518
+ content: "\e079";
519
+ }
520
+ .glyphicon-chevron-right:before {
521
+ content: "\e080";
522
+ }
523
+ .glyphicon-plus-sign:before {
524
+ content: "\e081";
525
+ }
526
+ .glyphicon-minus-sign:before {
527
+ content: "\e082";
528
+ }
529
+ .glyphicon-remove-sign:before {
530
+ content: "\e083";
531
+ }
532
+ .glyphicon-ok-sign:before {
533
+ content: "\e084";
534
+ }
535
+ .glyphicon-question-sign:before {
536
+ content: "\e085";
537
+ }
538
+ .glyphicon-info-sign:before {
539
+ content: "\e086";
540
+ }
541
+ .glyphicon-screenshot:before {
542
+ content: "\e087";
543
+ }
544
+ .glyphicon-remove-circle:before {
545
+ content: "\e088";
546
+ }
547
+ .glyphicon-ok-circle:before {
548
+ content: "\e089";
549
+ }
550
+ .glyphicon-ban-circle:before {
551
+ content: "\e090";
552
+ }
553
+ .glyphicon-arrow-left:before {
554
+ content: "\e091";
555
+ }
556
+ .glyphicon-arrow-right:before {
557
+ content: "\e092";
558
+ }
559
+ .glyphicon-arrow-up:before {
560
+ content: "\e093";
561
+ }
562
+ .glyphicon-arrow-down:before {
563
+ content: "\e094";
564
+ }
565
+ .glyphicon-share-alt:before {
566
+ content: "\e095";
567
+ }
568
+ .glyphicon-resize-full:before {
569
+ content: "\e096";
570
+ }
571
+ .glyphicon-resize-small:before {
572
+ content: "\e097";
573
+ }
574
+ .glyphicon-exclamation-sign:before {
575
+ content: "\e101";
576
+ }
577
+ .glyphicon-gift:before {
578
+ content: "\e102";
579
+ }
580
+ .glyphicon-leaf:before {
581
+ content: "\e103";
582
+ }
583
+ .glyphicon-fire:before {
584
+ content: "\e104";
585
+ }
586
+ .glyphicon-eye-open:before {
587
+ content: "\e105";
588
+ }
589
+ .glyphicon-eye-close:before {
590
+ content: "\e106";
591
+ }
592
+ .glyphicon-warning-sign:before {
593
+ content: "\e107";
594
+ }
595
+ .glyphicon-plane:before {
596
+ content: "\e108";
597
+ }
598
+ .glyphicon-calendar:before {
599
+ content: "\e109";
600
+ }
601
+ .glyphicon-random:before {
602
+ content: "\e110";
603
+ }
604
+ .glyphicon-comment:before {
605
+ content: "\e111";
606
+ }
607
+ .glyphicon-magnet:before {
608
+ content: "\e112";
609
+ }
610
+ .glyphicon-chevron-up:before {
611
+ content: "\e113";
612
+ }
613
+ .glyphicon-chevron-down:before {
614
+ content: "\e114";
615
+ }
616
+ .glyphicon-retweet:before {
617
+ content: "\e115";
618
+ }
619
+ .glyphicon-shopping-cart:before {
620
+ content: "\e116";
621
+ }
622
+ .glyphicon-folder-close:before {
623
+ content: "\e117";
624
+ }
625
+ .glyphicon-folder-open:before {
626
+ content: "\e118";
627
+ }
628
+ .glyphicon-resize-vertical:before {
629
+ content: "\e119";
630
+ }
631
+ .glyphicon-resize-horizontal:before {
632
+ content: "\e120";
633
+ }
634
+ .glyphicon-hdd:before {
635
+ content: "\e121";
636
+ }
637
+ .glyphicon-bullhorn:before {
638
+ content: "\e122";
639
+ }
640
+ .glyphicon-bell:before {
641
+ content: "\e123";
642
+ }
643
+ .glyphicon-certificate:before {
644
+ content: "\e124";
645
+ }
646
+ .glyphicon-thumbs-up:before {
647
+ content: "\e125";
648
+ }
649
+ .glyphicon-thumbs-down:before {
650
+ content: "\e126";
651
+ }
652
+ .glyphicon-hand-right:before {
653
+ content: "\e127";
654
+ }
655
+ .glyphicon-hand-left:before {
656
+ content: "\e128";
657
+ }
658
+ .glyphicon-hand-up:before {
659
+ content: "\e129";
660
+ }
661
+ .glyphicon-hand-down:before {
662
+ content: "\e130";
663
+ }
664
+ .glyphicon-circle-arrow-right:before {
665
+ content: "\e131";
666
+ }
667
+ .glyphicon-circle-arrow-left:before {
668
+ content: "\e132";
669
+ }
670
+ .glyphicon-circle-arrow-up:before {
671
+ content: "\e133";
672
+ }
673
+ .glyphicon-circle-arrow-down:before {
674
+ content: "\e134";
675
+ }
676
+ .glyphicon-globe:before {
677
+ content: "\e135";
678
+ }
679
+ .glyphicon-wrench:before {
680
+ content: "\e136";
681
+ }
682
+ .glyphicon-tasks:before {
683
+ content: "\e137";
684
+ }
685
+ .glyphicon-filter:before {
686
+ content: "\e138";
687
+ }
688
+ .glyphicon-briefcase:before {
689
+ content: "\e139";
690
+ }
691
+ .glyphicon-fullscreen:before {
692
+ content: "\e140";
693
+ }
694
+ .glyphicon-dashboard:before {
695
+ content: "\e141";
696
+ }
697
+ .glyphicon-paperclip:before {
698
+ content: "\e142";
699
+ }
700
+ .glyphicon-heart-empty:before {
701
+ content: "\e143";
702
+ }
703
+ .glyphicon-link:before {
704
+ content: "\e144";
705
+ }
706
+ .glyphicon-phone:before {
707
+ content: "\e145";
708
+ }
709
+ .glyphicon-pushpin:before {
710
+ content: "\e146";
711
+ }
712
+ .glyphicon-usd:before {
713
+ content: "\e148";
714
+ }
715
+ .glyphicon-gbp:before {
716
+ content: "\e149";
717
+ }
718
+ .glyphicon-sort:before {
719
+ content: "\e150";
720
+ }
721
+ .glyphicon-sort-by-alphabet:before {
722
+ content: "\e151";
723
+ }
724
+ .glyphicon-sort-by-alphabet-alt:before {
725
+ content: "\e152";
726
+ }
727
+ .glyphicon-sort-by-order:before {
728
+ content: "\e153";
729
+ }
730
+ .glyphicon-sort-by-order-alt:before {
731
+ content: "\e154";
732
+ }
733
+ .glyphicon-sort-by-attributes:before {
734
+ content: "\e155";
735
+ }
736
+ .glyphicon-sort-by-attributes-alt:before {
737
+ content: "\e156";
738
+ }
739
+ .glyphicon-unchecked:before {
740
+ content: "\e157";
741
+ }
742
+ .glyphicon-expand:before {
743
+ content: "\e158";
744
+ }
745
+ .glyphicon-collapse-down:before {
746
+ content: "\e159";
747
+ }
748
+ .glyphicon-collapse-up:before {
749
+ content: "\e160";
750
+ }
751
+ .glyphicon-log-in:before {
752
+ content: "\e161";
753
+ }
754
+ .glyphicon-flash:before {
755
+ content: "\e162";
756
+ }
757
+ .glyphicon-log-out:before {
758
+ content: "\e163";
759
+ }
760
+ .glyphicon-new-window:before {
761
+ content: "\e164";
762
+ }
763
+ .glyphicon-record:before {
764
+ content: "\e165";
765
+ }
766
+ .glyphicon-save:before {
767
+ content: "\e166";
768
+ }
769
+ .glyphicon-open:before {
770
+ content: "\e167";
771
+ }
772
+ .glyphicon-saved:before {
773
+ content: "\e168";
774
+ }
775
+ .glyphicon-import:before {
776
+ content: "\e169";
777
+ }
778
+ .glyphicon-export:before {
779
+ content: "\e170";
780
+ }
781
+ .glyphicon-send:before {
782
+ content: "\e171";
783
+ }
784
+ .glyphicon-floppy-disk:before {
785
+ content: "\e172";
786
+ }
787
+ .glyphicon-floppy-saved:before {
788
+ content: "\e173";
789
+ }
790
+ .glyphicon-floppy-remove:before {
791
+ content: "\e174";
792
+ }
793
+ .glyphicon-floppy-save:before {
794
+ content: "\e175";
795
+ }
796
+ .glyphicon-floppy-open:before {
797
+ content: "\e176";
798
+ }
799
+ .glyphicon-credit-card:before {
800
+ content: "\e177";
801
+ }
802
+ .glyphicon-transfer:before {
803
+ content: "\e178";
804
+ }
805
+ .glyphicon-cutlery:before {
806
+ content: "\e179";
807
+ }
808
+ .glyphicon-header:before {
809
+ content: "\e180";
810
+ }
811
+ .glyphicon-compressed:before {
812
+ content: "\e181";
813
+ }
814
+ .glyphicon-earphone:before {
815
+ content: "\e182";
816
+ }
817
+ .glyphicon-phone-alt:before {
818
+ content: "\e183";
819
+ }
820
+ .glyphicon-tower:before {
821
+ content: "\e184";
822
+ }
823
+ .glyphicon-stats:before {
824
+ content: "\e185";
825
+ }
826
+ .glyphicon-sd-video:before {
827
+ content: "\e186";
828
+ }
829
+ .glyphicon-hd-video:before {
830
+ content: "\e187";
831
+ }
832
+ .glyphicon-subtitles:before {
833
+ content: "\e188";
834
+ }
835
+ .glyphicon-sound-stereo:before {
836
+ content: "\e189";
837
+ }
838
+ .glyphicon-sound-dolby:before {
839
+ content: "\e190";
840
+ }
841
+ .glyphicon-sound-5-1:before {
842
+ content: "\e191";
843
+ }
844
+ .glyphicon-sound-6-1:before {
845
+ content: "\e192";
846
+ }
847
+ .glyphicon-sound-7-1:before {
848
+ content: "\e193";
849
+ }
850
+ .glyphicon-copyright-mark:before {
851
+ content: "\e194";
852
+ }
853
+ .glyphicon-registration-mark:before {
854
+ content: "\e195";
855
+ }
856
+ .glyphicon-cloud-download:before {
857
+ content: "\e197";
858
+ }
859
+ .glyphicon-cloud-upload:before {
860
+ content: "\e198";
861
+ }
862
+ .glyphicon-tree-conifer:before {
863
+ content: "\e199";
864
+ }
865
+ .glyphicon-tree-deciduous:before {
866
+ content: "\e200";
867
+ }
868
+ .glyphicon-cd:before {
869
+ content: "\e201";
870
+ }
871
+ .glyphicon-save-file:before {
872
+ content: "\e202";
873
+ }
874
+ .glyphicon-open-file:before {
875
+ content: "\e203";
876
+ }
877
+ .glyphicon-level-up:before {
878
+ content: "\e204";
879
+ }
880
+ .glyphicon-copy:before {
881
+ content: "\e205";
882
+ }
883
+ .glyphicon-paste:before {
884
+ content: "\e206";
885
+ }
886
+ .glyphicon-alert:before {
887
+ content: "\e209";
888
+ }
889
+ .glyphicon-equalizer:before {
890
+ content: "\e210";
891
+ }
892
+ .glyphicon-king:before {
893
+ content: "\e211";
894
+ }
895
+ .glyphicon-queen:before {
896
+ content: "\e212";
897
+ }
898
+ .glyphicon-pawn:before {
899
+ content: "\e213";
900
+ }
901
+ .glyphicon-bishop:before {
902
+ content: "\e214";
903
+ }
904
+ .glyphicon-knight:before {
905
+ content: "\e215";
906
+ }
907
+ .glyphicon-baby-formula:before {
908
+ content: "\e216";
909
+ }
910
+ .glyphicon-tent:before {
911
+ content: "\26fa";
912
+ }
913
+ .glyphicon-blackboard:before {
914
+ content: "\e218";
915
+ }
916
+ .glyphicon-bed:before {
917
+ content: "\e219";
918
+ }
919
+ .glyphicon-apple:before {
920
+ content: "\f8ff";
921
+ }
922
+ .glyphicon-erase:before {
923
+ content: "\e221";
924
+ }
925
+ .glyphicon-hourglass:before {
926
+ content: "\231b";
927
+ }
928
+ .glyphicon-lamp:before {
929
+ content: "\e223";
930
+ }
931
+ .glyphicon-duplicate:before {
932
+ content: "\e224";
933
+ }
934
+ .glyphicon-piggy-bank:before {
935
+ content: "\e225";
936
+ }
937
+ .glyphicon-scissors:before {
938
+ content: "\e226";
939
+ }
940
+ .glyphicon-bitcoin:before {
941
+ content: "\e227";
942
+ }
943
+ .glyphicon-btc:before {
944
+ content: "\e227";
945
+ }
946
+ .glyphicon-xbt:before {
947
+ content: "\e227";
948
+ }
949
+ .glyphicon-yen:before {
950
+ content: "\00a5";
951
+ }
952
+ .glyphicon-jpy:before {
953
+ content: "\00a5";
954
+ }
955
+ .glyphicon-ruble:before {
956
+ content: "\20bd";
957
+ }
958
+ .glyphicon-rub:before {
959
+ content: "\20bd";
960
+ }
961
+ .glyphicon-scale:before {
962
+ content: "\e230";
963
+ }
964
+ .glyphicon-ice-lolly:before {
965
+ content: "\e231";
966
+ }
967
+ .glyphicon-ice-lolly-tasted:before {
968
+ content: "\e232";
969
+ }
970
+ .glyphicon-education:before {
971
+ content: "\e233";
972
+ }
973
+ .glyphicon-option-horizontal:before {
974
+ content: "\e234";
975
+ }
976
+ .glyphicon-option-vertical:before {
977
+ content: "\e235";
978
+ }
979
+ .glyphicon-menu-hamburger:before {
980
+ content: "\e236";
981
+ }
982
+ .glyphicon-modal-window:before {
983
+ content: "\e237";
984
+ }
985
+ .glyphicon-oil:before {
986
+ content: "\e238";
987
+ }
988
+ .glyphicon-grain:before {
989
+ content: "\e239";
990
+ }
991
+ .glyphicon-sunglasses:before {
992
+ content: "\e240";
993
+ }
994
+ .glyphicon-text-size:before {
995
+ content: "\e241";
996
+ }
997
+ .glyphicon-text-color:before {
998
+ content: "\e242";
999
+ }
1000
+ .glyphicon-text-background:before {
1001
+ content: "\e243";
1002
+ }
1003
+ .glyphicon-object-align-top:before {
1004
+ content: "\e244";
1005
+ }
1006
+ .glyphicon-object-align-bottom:before {
1007
+ content: "\e245";
1008
+ }
1009
+ .glyphicon-object-align-horizontal:before {
1010
+ content: "\e246";
1011
+ }
1012
+ .glyphicon-object-align-left:before {
1013
+ content: "\e247";
1014
+ }
1015
+ .glyphicon-object-align-vertical:before {
1016
+ content: "\e248";
1017
+ }
1018
+ .glyphicon-object-align-right:before {
1019
+ content: "\e249";
1020
+ }
1021
+ .glyphicon-triangle-right:before {
1022
+ content: "\e250";
1023
+ }
1024
+ .glyphicon-triangle-left:before {
1025
+ content: "\e251";
1026
+ }
1027
+ .glyphicon-triangle-bottom:before {
1028
+ content: "\e252";
1029
+ }
1030
+ .glyphicon-triangle-top:before {
1031
+ content: "\e253";
1032
+ }
1033
+ .glyphicon-console:before {
1034
+ content: "\e254";
1035
+ }
1036
+ .glyphicon-superscript:before {
1037
+ content: "\e255";
1038
+ }
1039
+ .glyphicon-subscript:before {
1040
+ content: "\e256";
1041
+ }
1042
+ .glyphicon-menu-left:before {
1043
+ content: "\e257";
1044
+ }
1045
+ .glyphicon-menu-right:before {
1046
+ content: "\e258";
1047
+ }
1048
+ .glyphicon-menu-down:before {
1049
+ content: "\e259";
1050
+ }
1051
+ .glyphicon-menu-up:before {
1052
+ content: "\e260";
1053
+ }
1054
+ * {
1055
+ -webkit-box-sizing: border-box;
1056
+ -moz-box-sizing: border-box;
1057
+ box-sizing: border-box;
1058
+ }
1059
+ *:before,
1060
+ *:after {
1061
+ -webkit-box-sizing: border-box;
1062
+ -moz-box-sizing: border-box;
1063
+ box-sizing: border-box;
1064
+ }
1065
+ /*html {
1066
+ font-size: 10px;
1067
+
1068
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
1069
+ }
1070
+ body {
1071
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
1072
+ font-size: 14px;
1073
+ line-height: 1.42857143;
1074
+ color: #333;
1075
+ background-color: #fff;
1076
+ }*/
1077
+ input,
1078
+ button,
1079
+ select,
1080
+ textarea {
1081
+ font-family: inherit;
1082
+ font-size: inherit;
1083
+ line-height: inherit;
1084
+ }
1085
+ a {
1086
+ color: #337ab7;
1087
+ text-decoration: none;
1088
+ }
1089
+ a:hover,
1090
+ a:focus {
1091
+ color: #23527c;
1092
+ text-decoration: underline;
1093
+ }
1094
+ a:focus {
1095
+ outline: 5px auto -webkit-focus-ring-color;
1096
+ outline-offset: -2px;
1097
+ }
1098
+ figure {
1099
+ margin: 0;
1100
+ }
1101
+ img {
1102
+ vertical-align: middle;
1103
+ }
1104
+ .img-responsive,
1105
+ .thumbnail > img,
1106
+ .thumbnail a > img,
1107
+ .carousel-inner > .item > img,
1108
+ .carousel-inner > .item > a > img {
1109
+ display: block;
1110
+ max-width: 100%;
1111
+ height: auto;
1112
+ }
1113
+ .img-rounded {
1114
+ border-radius: 6px;
1115
+ }
1116
+ .img-thumbnail {
1117
+ display: inline-block;
1118
+ max-width: 100%;
1119
+ height: auto;
1120
+ padding: 4px;
1121
+ line-height: 1.42857143;
1122
+ background-color: #fff;
1123
+ border: 1px solid #ddd;
1124
+ border-radius: 4px;
1125
+ -webkit-transition: all .2s ease-in-out;
1126
+ -o-transition: all .2s ease-in-out;
1127
+ transition: all .2s ease-in-out;
1128
+ }
1129
+ .img-circle {
1130
+ border-radius: 50%;
1131
+ }
1132
+ hr {
1133
+ margin-top: 20px;
1134
+ margin-bottom: 20px;
1135
+ border: 0;
1136
+ border-top: 1px solid #eee;
1137
+ }
1138
+ .sr-only {
1139
+ position: absolute;
1140
+ width: 1px;
1141
+ height: 1px;
1142
+ padding: 0;
1143
+ margin: -1px;
1144
+ overflow: hidden;
1145
+ clip: rect(0, 0, 0, 0);
1146
+ border: 0;
1147
+ }
1148
+ .sr-only-focusable:active,
1149
+ .sr-only-focusable:focus {
1150
+ position: static;
1151
+ width: auto;
1152
+ height: auto;
1153
+ margin: 0;
1154
+ overflow: visible;
1155
+ clip: auto;
1156
+ }
1157
+ [role="button"] {
1158
+ cursor: pointer;
1159
+ }
1160
+ h1,
1161
+ h2,
1162
+ h3,
1163
+ h4,
1164
+ h5,
1165
+ h6,
1166
+ .h1,
1167
+ .h2,
1168
+ .h3,
1169
+ .h4,
1170
+ .h5,
1171
+ .h6 {
1172
+ font-family: inherit;
1173
+ font-weight: 500;
1174
+ line-height: 1.1;
1175
+ color: inherit;
1176
+ }
1177
+ h1 small,
1178
+ h2 small,
1179
+ h3 small,
1180
+ h4 small,
1181
+ h5 small,
1182
+ h6 small,
1183
+ .h1 small,
1184
+ .h2 small,
1185
+ .h3 small,
1186
+ .h4 small,
1187
+ .h5 small,
1188
+ .h6 small,
1189
+ h1 .small,
1190
+ h2 .small,
1191
+ h3 .small,
1192
+ h4 .small,
1193
+ h5 .small,
1194
+ h6 .small,
1195
+ .h1 .small,
1196
+ .h2 .small,
1197
+ .h3 .small,
1198
+ .h4 .small,
1199
+ .h5 .small,
1200
+ .h6 .small {
1201
+ font-weight: normal;
1202
+ line-height: 1;
1203
+ color: #777;
1204
+ }
1205
+ h1,
1206
+ .h1,
1207
+ h2,
1208
+ .h2,
1209
+ h3,
1210
+ .h3 {
1211
+ margin-top: 20px;
1212
+ margin-bottom: 10px;
1213
+ }
1214
+ h1 small,
1215
+ .h1 small,
1216
+ h2 small,
1217
+ .h2 small,
1218
+ h3 small,
1219
+ .h3 small,
1220
+ h1 .small,
1221
+ .h1 .small,
1222
+ h2 .small,
1223
+ .h2 .small,
1224
+ h3 .small,
1225
+ .h3 .small {
1226
+ font-size: 65%;
1227
+ }
1228
+ h4,
1229
+ .h4,
1230
+ h5,
1231
+ .h5,
1232
+ h6,
1233
+ .h6 {
1234
+ margin-top: 10px;
1235
+ margin-bottom: 10px;
1236
+ }
1237
+ h4 small,
1238
+ .h4 small,
1239
+ h5 small,
1240
+ .h5 small,
1241
+ h6 small,
1242
+ .h6 small,
1243
+ h4 .small,
1244
+ .h4 .small,
1245
+ h5 .small,
1246
+ .h5 .small,
1247
+ h6 .small,
1248
+ .h6 .small {
1249
+ font-size: 75%;
1250
+ }
1251
+ h1,
1252
+ .h1 {
1253
+ font-size: 36px;
1254
+ }
1255
+ h2,
1256
+ .h2 {
1257
+ font-size: 30px;
1258
+ }
1259
+ h3,
1260
+ .h3 {
1261
+ font-size: 24px;
1262
+ }
1263
+ h4,
1264
+ .h4 {
1265
+ font-size: 18px;
1266
+ }
1267
+ h5,
1268
+ .h5 {
1269
+ font-size: 14px;
1270
+ }
1271
+ h6,
1272
+ .h6 {
1273
+ font-size: 12px;
1274
+ }
1275
+ p {
1276
+ margin: 0 0 10px;
1277
+ }
1278
+ .lead {
1279
+ margin-bottom: 20px;
1280
+ font-size: 16px;
1281
+ font-weight: 300;
1282
+ line-height: 1.4;
1283
+ }
1284
+ @media (min-width: 768px) {
1285
+ .lead {
1286
+ font-size: 21px;
1287
+ }
1288
+ }
1289
+ small,
1290
+ .small {
1291
+ font-size: 85%;
1292
+ }
1293
+ mark,
1294
+ .mark {
1295
+ padding: .2em;
1296
+ background-color: #fcf8e3;
1297
+ }
1298
+ .text-left {
1299
+ text-align: left;
1300
+ }
1301
+ .text-right {
1302
+ text-align: right;
1303
+ }
1304
+ .text-center {
1305
+ text-align: center;
1306
+ }
1307
+ .text-justify {
1308
+ text-align: justify;
1309
+ }
1310
+ .text-nowrap {
1311
+ white-space: nowrap;
1312
+ }
1313
+ .text-lowercase {
1314
+ text-transform: lowercase;
1315
+ }
1316
+ .text-uppercase {
1317
+ text-transform: uppercase;
1318
+ }
1319
+ .text-capitalize {
1320
+ text-transform: capitalize;
1321
+ }
1322
+ .text-muted {
1323
+ color: #777;
1324
+ }
1325
+ .text-primary {
1326
+ color: #337ab7;
1327
+ }
1328
+ a.text-primary:hover,
1329
+ a.text-primary:focus {
1330
+ color: #286090;
1331
+ }
1332
+ .text-success {
1333
+ color: #3c763d;
1334
+ }
1335
+ a.text-success:hover,
1336
+ a.text-success:focus {
1337
+ color: #2b542c;
1338
+ }
1339
+ .text-info {
1340
+ color: #31708f;
1341
+ }
1342
+ a.text-info:hover,
1343
+ a.text-info:focus {
1344
+ color: #245269;
1345
+ }
1346
+ .text-warning {
1347
+ color: #8a6d3b;
1348
+ }
1349
+ a.text-warning:hover,
1350
+ a.text-warning:focus {
1351
+ color: #66512c;
1352
+ }
1353
+ .text-danger {
1354
+ color: #a94442;
1355
+ }
1356
+ a.text-danger:hover,
1357
+ a.text-danger:focus {
1358
+ color: #843534;
1359
+ }
1360
+ .bg-primary {
1361
+ color: #fff;
1362
+ background-color: #337ab7;
1363
+ }
1364
+ a.bg-primary:hover,
1365
+ a.bg-primary:focus {
1366
+ background-color: #286090;
1367
+ }
1368
+ .bg-success {
1369
+ background-color: #dff0d8;
1370
+ }
1371
+ a.bg-success:hover,
1372
+ a.bg-success:focus {
1373
+ background-color: #c1e2b3;
1374
+ }
1375
+ .bg-info {
1376
+ background-color: #d9edf7;
1377
+ }
1378
+ a.bg-info:hover,
1379
+ a.bg-info:focus {
1380
+ background-color: #afd9ee;
1381
+ }
1382
+ .bg-warning {
1383
+ background-color: #fcf8e3;
1384
+ }
1385
+ a.bg-warning:hover,
1386
+ a.bg-warning:focus {
1387
+ background-color: #f7ecb5;
1388
+ }
1389
+ .bg-danger {
1390
+ background-color: #f2dede;
1391
+ }
1392
+ a.bg-danger:hover,
1393
+ a.bg-danger:focus {
1394
+ background-color: #e4b9b9;
1395
+ }
1396
+ .page-header {
1397
+ padding-bottom: 9px;
1398
+ margin: 40px 0 20px;
1399
+ border-bottom: 1px solid #eee;
1400
+ }
1401
+ ul,
1402
+ ol {
1403
+ margin-top: 0;
1404
+ margin-bottom: 10px;
1405
+ }
1406
+ ul ul,
1407
+ ol ul,
1408
+ ul ol,
1409
+ ol ol {
1410
+ margin-bottom: 0;
1411
+ }
1412
+ .list-unstyled {
1413
+ padding-left: 0;
1414
+ list-style: none;
1415
+ }
1416
+ .list-inline {
1417
+ padding-left: 0;
1418
+ margin-left: -5px;
1419
+ list-style: none;
1420
+ }
1421
+ .list-inline > li {
1422
+ display: inline-block;
1423
+ padding-right: 5px;
1424
+ padding-left: 5px;
1425
+ }
1426
+ dl {
1427
+ margin-top: 0;
1428
+ margin-bottom: 20px;
1429
+ }
1430
+ dt,
1431
+ dd {
1432
+ line-height: 1.42857143;
1433
+ }
1434
+ dt {
1435
+ font-weight: bold;
1436
+ }
1437
+ dd {
1438
+ margin-left: 0;
1439
+ }
1440
+ @media (min-width: 768px) {
1441
+ .dl-horizontal dt {
1442
+ float: left;
1443
+ width: 160px;
1444
+ overflow: hidden;
1445
+ clear: left;
1446
+ text-align: right;
1447
+ text-overflow: ellipsis;
1448
+ white-space: nowrap;
1449
+ }
1450
+ .dl-horizontal dd {
1451
+ margin-left: 180px;
1452
+ }
1453
+ }
1454
+ abbr[title],
1455
+ abbr[data-original-title] {
1456
+ cursor: help;
1457
+ border-bottom: 1px dotted #777;
1458
+ }
1459
+ .initialism {
1460
+ font-size: 90%;
1461
+ text-transform: uppercase;
1462
+ }
1463
+ blockquote {
1464
+ padding: 10px 20px;
1465
+ margin: 0 0 20px;
1466
+ font-size: 17.5px;
1467
+ border-left: 5px solid #eee;
1468
+ }
1469
+ blockquote p:last-child,
1470
+ blockquote ul:last-child,
1471
+ blockquote ol:last-child {
1472
+ margin-bottom: 0;
1473
+ }
1474
+ blockquote footer,
1475
+ blockquote small,
1476
+ blockquote .small {
1477
+ display: block;
1478
+ font-size: 80%;
1479
+ line-height: 1.42857143;
1480
+ color: #777;
1481
+ }
1482
+ blockquote footer:before,
1483
+ blockquote small:before,
1484
+ blockquote .small:before {
1485
+ content: '\2014 \00A0';
1486
+ }
1487
+ .blockquote-reverse,
1488
+ blockquote.pull-right {
1489
+ padding-right: 15px;
1490
+ padding-left: 0;
1491
+ text-align: right;
1492
+ border-right: 5px solid #eee;
1493
+ border-left: 0;
1494
+ }
1495
+ .blockquote-reverse footer:before,
1496
+ blockquote.pull-right footer:before,
1497
+ .blockquote-reverse small:before,
1498
+ blockquote.pull-right small:before,
1499
+ .blockquote-reverse .small:before,
1500
+ blockquote.pull-right .small:before {
1501
+ content: '';
1502
+ }
1503
+ .blockquote-reverse footer:after,
1504
+ blockquote.pull-right footer:after,
1505
+ .blockquote-reverse small:after,
1506
+ blockquote.pull-right small:after,
1507
+ .blockquote-reverse .small:after,
1508
+ blockquote.pull-right .small:after {
1509
+ content: '\00A0 \2014';
1510
+ }
1511
+ address {
1512
+ margin-bottom: 20px;
1513
+ font-style: normal;
1514
+ line-height: 1.42857143;
1515
+ }
1516
+ code,
1517
+ kbd,
1518
+ pre,
1519
+ samp {
1520
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
1521
+ }
1522
+ code {
1523
+ padding: 2px 4px;
1524
+ font-size: 90%;
1525
+ color: #000;
1526
+ background-color: #EEEEEE;
1527
+ border-radius: 4px;
1528
+ }
1529
+ kbd {
1530
+ padding: 2px 4px;
1531
+ font-size: 90%;
1532
+ color: #fff;
1533
+ background-color: #333;
1534
+ border-radius: 3px;
1535
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
1536
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);
1537
+ }
1538
+ kbd kbd {
1539
+ padding: 0;
1540
+ font-size: 100%;
1541
+ font-weight: bold;
1542
+ -webkit-box-shadow: none;
1543
+ box-shadow: none;
1544
+ }
1545
+ pre {
1546
+ display: block;
1547
+ padding: 9.5px;
1548
+ margin: 0 0 10px;
1549
+ font-size: 13px;
1550
+ line-height: 1.42857143;
1551
+ color: #333;
1552
+ word-break: break-all;
1553
+ word-wrap: break-word;
1554
+ background-color: #f5f5f5;
1555
+ border: 1px solid #ccc;
1556
+ border-radius: 4px;
1557
+ }
1558
+ pre code {
1559
+ padding: 0;
1560
+ font-size: inherit;
1561
+ color: inherit;
1562
+ white-space: pre-wrap;
1563
+ background-color: transparent;
1564
+ border-radius: 0;
1565
+ }
1566
+ .pre-scrollable {
1567
+ max-height: 340px;
1568
+ overflow-y: scroll;
1569
+ }
1570
+ .container {
1571
+ padding-right: 15px;
1572
+ padding-left: 15px;
1573
+ margin-right: auto;
1574
+ margin-left: auto;
1575
+ }
1576
+ @media (min-width: 768px) {
1577
+ .container {
1578
+ width: 750px;
1579
+ }
1580
+ }
1581
+ @media (min-width: 992px) {
1582
+ .container {
1583
+ width: 970px;
1584
+ }
1585
+ }
1586
+ @media (min-width: 1200px) {
1587
+ .container {
1588
+ width: 1170px;
1589
+ }
1590
+ }
1591
+ .container-fluid {
1592
+ padding-right: 15px;
1593
+ padding-left: 15px;
1594
+ margin-right: auto;
1595
+ margin-left: auto;
1596
+ }
1597
+ .row {
1598
+ margin-right: -15px;
1599
+ margin-left: -15px;
1600
+ }
1601
+ .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
1602
+ position: relative;
1603
+ min-height: 1px;
1604
+ padding-right: 15px;
1605
+ padding-left: 15px;
1606
+ }
1607
+ .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
1608
+ float: left;
1609
+ }
1610
+ .col-xs-12 {
1611
+ width: 100%;
1612
+ }
1613
+ .col-xs-11 {
1614
+ width: 91.66666667%;
1615
+ }
1616
+ .col-xs-10 {
1617
+ width: 83.33333333%;
1618
+ }
1619
+ .col-xs-9 {
1620
+ width: 75%;
1621
+ }
1622
+ .col-xs-8 {
1623
+ width: 66.66666667%;
1624
+ }
1625
+ .col-xs-7 {
1626
+ width: 58.33333333%;
1627
+ }
1628
+ .col-xs-6 {
1629
+ width: 50%;
1630
+ }
1631
+ .col-xs-5 {
1632
+ width: 41.66666667%;
1633
+ }
1634
+ .col-xs-4 {
1635
+ width: 33.33333333%;
1636
+ }
1637
+ .col-xs-3 {
1638
+ width: 25%;
1639
+ }
1640
+ .col-xs-2 {
1641
+ width: 16.66666667%;
1642
+ }
1643
+ .col-xs-1 {
1644
+ width: 8.33333333%;
1645
+ }
1646
+ .col-xs-pull-12 {
1647
+ right: 100%;
1648
+ }
1649
+ .col-xs-pull-11 {
1650
+ right: 91.66666667%;
1651
+ }
1652
+ .col-xs-pull-10 {
1653
+ right: 83.33333333%;
1654
+ }
1655
+ .col-xs-pull-9 {
1656
+ right: 75%;
1657
+ }
1658
+ .col-xs-pull-8 {
1659
+ right: 66.66666667%;
1660
+ }
1661
+ .col-xs-pull-7 {
1662
+ right: 58.33333333%;
1663
+ }
1664
+ .col-xs-pull-6 {
1665
+ right: 50%;
1666
+ }
1667
+ .col-xs-pull-5 {
1668
+ right: 41.66666667%;
1669
+ }
1670
+ .col-xs-pull-4 {
1671
+ right: 33.33333333%;
1672
+ }
1673
+ .col-xs-pull-3 {
1674
+ right: 25%;
1675
+ }
1676
+ .col-xs-pull-2 {
1677
+ right: 16.66666667%;
1678
+ }
1679
+ .col-xs-pull-1 {
1680
+ right: 8.33333333%;
1681
+ }
1682
+ .col-xs-pull-0 {
1683
+ right: auto;
1684
+ }
1685
+ .col-xs-push-12 {
1686
+ left: 100%;
1687
+ }
1688
+ .col-xs-push-11 {
1689
+ left: 91.66666667%;
1690
+ }
1691
+ .col-xs-push-10 {
1692
+ left: 83.33333333%;
1693
+ }
1694
+ .col-xs-push-9 {
1695
+ left: 75%;
1696
+ }
1697
+ .col-xs-push-8 {
1698
+ left: 66.66666667%;
1699
+ }
1700
+ .col-xs-push-7 {
1701
+ left: 58.33333333%;
1702
+ }
1703
+ .col-xs-push-6 {
1704
+ left: 50%;
1705
+ }
1706
+ .col-xs-push-5 {
1707
+ left: 41.66666667%;
1708
+ }
1709
+ .col-xs-push-4 {
1710
+ left: 33.33333333%;
1711
+ }
1712
+ .col-xs-push-3 {
1713
+ left: 25%;
1714
+ }
1715
+ .col-xs-push-2 {
1716
+ left: 16.66666667%;
1717
+ }
1718
+ .col-xs-push-1 {
1719
+ left: 8.33333333%;
1720
+ }
1721
+ .col-xs-push-0 {
1722
+ left: auto;
1723
+ }
1724
+ .col-xs-offset-12 {
1725
+ margin-left: 100%;
1726
+ }
1727
+ .col-xs-offset-11 {
1728
+ margin-left: 91.66666667%;
1729
+ }
1730
+ .col-xs-offset-10 {
1731
+ margin-left: 83.33333333%;
1732
+ }
1733
+ .col-xs-offset-9 {
1734
+ margin-left: 75%;
1735
+ }
1736
+ .col-xs-offset-8 {
1737
+ margin-left: 66.66666667%;
1738
+ }
1739
+ .col-xs-offset-7 {
1740
+ margin-left: 58.33333333%;
1741
+ }
1742
+ .col-xs-offset-6 {
1743
+ margin-left: 50%;
1744
+ }
1745
+ .col-xs-offset-5 {
1746
+ margin-left: 41.66666667%;
1747
+ }
1748
+ .col-xs-offset-4 {
1749
+ margin-left: 33.33333333%;
1750
+ }
1751
+ .col-xs-offset-3 {
1752
+ margin-left: 25%;
1753
+ }
1754
+ .col-xs-offset-2 {
1755
+ margin-left: 16.66666667%;
1756
+ }
1757
+ .col-xs-offset-1 {
1758
+ margin-left: 8.33333333%;
1759
+ }
1760
+ .col-xs-offset-0 {
1761
+ margin-left: 0;
1762
+ }
1763
+ @media (min-width: 768px) {
1764
+ .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
1765
+ float: left;
1766
+ }
1767
+ .col-sm-12 {
1768
+ width: 100%;
1769
+ }
1770
+ .col-sm-11 {
1771
+ width: 91.66666667%;
1772
+ }
1773
+ .col-sm-10 {
1774
+ width: 83.33333333%;
1775
+ }
1776
+ .col-sm-9 {
1777
+ width: 75%;
1778
+ }
1779
+ .col-sm-8 {
1780
+ width: 66.66666667%;
1781
+ }
1782
+ .col-sm-7 {
1783
+ width: 58.33333333%;
1784
+ }
1785
+ .col-sm-6 {
1786
+ width: 50%;
1787
+ }
1788
+ .col-sm-5 {
1789
+ width: 41.66666667%;
1790
+ }
1791
+ .col-sm-4 {
1792
+ width: 33.33333333%;
1793
+ }
1794
+ .col-sm-3 {
1795
+ width: 25%;
1796
+ }
1797
+ .col-sm-2 {
1798
+ width: 16.66666667%;
1799
+ }
1800
+ .col-sm-1 {
1801
+ width: 8.33333333%;
1802
+ }
1803
+ .col-sm-pull-12 {
1804
+ right: 100%;
1805
+ }
1806
+ .col-sm-pull-11 {
1807
+ right: 91.66666667%;
1808
+ }
1809
+ .col-sm-pull-10 {
1810
+ right: 83.33333333%;
1811
+ }
1812
+ .col-sm-pull-9 {
1813
+ right: 75%;
1814
+ }
1815
+ .col-sm-pull-8 {
1816
+ right: 66.66666667%;
1817
+ }
1818
+ .col-sm-pull-7 {
1819
+ right: 58.33333333%;
1820
+ }
1821
+ .col-sm-pull-6 {
1822
+ right: 50%;
1823
+ }
1824
+ .col-sm-pull-5 {
1825
+ right: 41.66666667%;
1826
+ }
1827
+ .col-sm-pull-4 {
1828
+ right: 33.33333333%;
1829
+ }
1830
+ .col-sm-pull-3 {
1831
+ right: 25%;
1832
+ }
1833
+ .col-sm-pull-2 {
1834
+ right: 16.66666667%;
1835
+ }
1836
+ .col-sm-pull-1 {
1837
+ right: 8.33333333%;
1838
+ }
1839
+ .col-sm-pull-0 {
1840
+ right: auto;
1841
+ }
1842
+ .col-sm-push-12 {
1843
+ left: 100%;
1844
+ }
1845
+ .col-sm-push-11 {
1846
+ left: 91.66666667%;
1847
+ }
1848
+ .col-sm-push-10 {
1849
+ left: 83.33333333%;
1850
+ }
1851
+ .col-sm-push-9 {
1852
+ left: 75%;
1853
+ }
1854
+ .col-sm-push-8 {
1855
+ left: 66.66666667%;
1856
+ }
1857
+ .col-sm-push-7 {
1858
+ left: 58.33333333%;
1859
+ }
1860
+ .col-sm-push-6 {
1861
+ left: 50%;
1862
+ }
1863
+ .col-sm-push-5 {
1864
+ left: 41.66666667%;
1865
+ }
1866
+ .col-sm-push-4 {
1867
+ left: 33.33333333%;
1868
+ }
1869
+ .col-sm-push-3 {
1870
+ left: 25%;
1871
+ }
1872
+ .col-sm-push-2 {
1873
+ left: 16.66666667%;
1874
+ }
1875
+ .col-sm-push-1 {
1876
+ left: 8.33333333%;
1877
+ }
1878
+ .col-sm-push-0 {
1879
+ left: auto;
1880
+ }
1881
+ .col-sm-offset-12 {
1882
+ margin-left: 100%;
1883
+ }
1884
+ .col-sm-offset-11 {
1885
+ margin-left: 91.66666667%;
1886
+ }
1887
+ .col-sm-offset-10 {
1888
+ margin-left: 83.33333333%;
1889
+ }
1890
+ .col-sm-offset-9 {
1891
+ margin-left: 75%;
1892
+ }
1893
+ .col-sm-offset-8 {
1894
+ margin-left: 66.66666667%;
1895
+ }
1896
+ .col-sm-offset-7 {
1897
+ margin-left: 58.33333333%;
1898
+ }
1899
+ .col-sm-offset-6 {
1900
+ margin-left: 50%;
1901
+ }
1902
+ .col-sm-offset-5 {
1903
+ margin-left: 41.66666667%;
1904
+ }
1905
+ .col-sm-offset-4 {
1906
+ margin-left: 33.33333333%;
1907
+ }
1908
+ .col-sm-offset-3 {
1909
+ margin-left: 25%;
1910
+ }
1911
+ .col-sm-offset-2 {
1912
+ margin-left: 16.66666667%;
1913
+ }
1914
+ .col-sm-offset-1 {
1915
+ margin-left: 8.33333333%;
1916
+ }
1917
+ .col-sm-offset-0 {
1918
+ margin-left: 0;
1919
+ }
1920
+ }
1921
+ @media (min-width: 992px) {
1922
+ .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
1923
+ float: left;
1924
+ }
1925
+ .col-md-12 {
1926
+ width: 100%;
1927
+ }
1928
+ .col-md-11 {
1929
+ width: 91.66666667%;
1930
+ }
1931
+ .col-md-10 {
1932
+ width: 83.33333333%;
1933
+ }
1934
+ .col-md-9 {
1935
+ width: 75%;
1936
+ }
1937
+ .col-md-8 {
1938
+ width: 66.66666667%;
1939
+ }
1940
+ .col-md-7 {
1941
+ width: 58.33333333%;
1942
+ }
1943
+ .col-md-6 {
1944
+ width: 50%;
1945
+ }
1946
+ .col-md-5 {
1947
+ width: 41.66666667%;
1948
+ }
1949
+ .col-md-4 {
1950
+ width: 33.33333333%;
1951
+ }
1952
+ .col-md-3 {
1953
+ width: 25%;
1954
+ }
1955
+ .col-md-2 {
1956
+ width: 16.66666667%;
1957
+ }
1958
+ .col-md-1 {
1959
+ width: 8.33333333%;
1960
+ }
1961
+ .col-md-pull-12 {
1962
+ right: 100%;
1963
+ }
1964
+ .col-md-pull-11 {
1965
+ right: 91.66666667%;
1966
+ }
1967
+ .col-md-pull-10 {
1968
+ right: 83.33333333%;
1969
+ }
1970
+ .col-md-pull-9 {
1971
+ right: 75%;
1972
+ }
1973
+ .col-md-pull-8 {
1974
+ right: 66.66666667%;
1975
+ }
1976
+ .col-md-pull-7 {
1977
+ right: 58.33333333%;
1978
+ }
1979
+ .col-md-pull-6 {
1980
+ right: 50%;
1981
+ }
1982
+ .col-md-pull-5 {
1983
+ right: 41.66666667%;
1984
+ }
1985
+ .col-md-pull-4 {
1986
+ right: 33.33333333%;
1987
+ }
1988
+ .col-md-pull-3 {
1989
+ right: 25%;
1990
+ }
1991
+ .col-md-pull-2 {
1992
+ right: 16.66666667%;
1993
+ }
1994
+ .col-md-pull-1 {
1995
+ right: 8.33333333%;
1996
+ }
1997
+ .col-md-pull-0 {
1998
+ right: auto;
1999
+ }
2000
+ .col-md-push-12 {
2001
+ left: 100%;
2002
+ }
2003
+ .col-md-push-11 {
2004
+ left: 91.66666667%;
2005
+ }
2006
+ .col-md-push-10 {
2007
+ left: 83.33333333%;
2008
+ }
2009
+ .col-md-push-9 {
2010
+ left: 75%;
2011
+ }
2012
+ .col-md-push-8 {
2013
+ left: 66.66666667%;
2014
+ }
2015
+ .col-md-push-7 {
2016
+ left: 58.33333333%;
2017
+ }
2018
+ .col-md-push-6 {
2019
+ left: 50%;
2020
+ }
2021
+ .col-md-push-5 {
2022
+ left: 41.66666667%;
2023
+ }
2024
+ .col-md-push-4 {
2025
+ left: 33.33333333%;
2026
+ }
2027
+ .col-md-push-3 {
2028
+ left: 25%;
2029
+ }
2030
+ .col-md-push-2 {
2031
+ left: 16.66666667%;
2032
+ }
2033
+ .col-md-push-1 {
2034
+ left: 8.33333333%;
2035
+ }
2036
+ .col-md-push-0 {
2037
+ left: auto;
2038
+ }
2039
+ .col-md-offset-12 {
2040
+ margin-left: 100%;
2041
+ }
2042
+ .col-md-offset-11 {
2043
+ margin-left: 91.66666667%;
2044
+ }
2045
+ .col-md-offset-10 {
2046
+ margin-left: 83.33333333%;
2047
+ }
2048
+ .col-md-offset-9 {
2049
+ margin-left: 75%;
2050
+ }
2051
+ .col-md-offset-8 {
2052
+ margin-left: 66.66666667%;
2053
+ }
2054
+ .col-md-offset-7 {
2055
+ margin-left: 58.33333333%;
2056
+ }
2057
+ .col-md-offset-6 {
2058
+ margin-left: 50%;
2059
+ }
2060
+ .col-md-offset-5 {
2061
+ margin-left: 41.66666667%;
2062
+ }
2063
+ .col-md-offset-4 {
2064
+ margin-left: 33.33333333%;
2065
+ }
2066
+ .col-md-offset-3 {
2067
+ margin-left: 25%;
2068
+ }
2069
+ .col-md-offset-2 {
2070
+ margin-left: 16.66666667%;
2071
+ }
2072
+ .col-md-offset-1 {
2073
+ margin-left: 8.33333333%;
2074
+ }
2075
+ .col-md-offset-0 {
2076
+ margin-left: 0;
2077
+ }
2078
+ }
2079
+ @media (min-width: 1200px) {
2080
+ .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
2081
+ float: left;
2082
+ }
2083
+ .col-lg-12 {
2084
+ width: 100%;
2085
+ }
2086
+ .col-lg-11 {
2087
+ width: 91.66666667%;
2088
+ }
2089
+ .col-lg-10 {
2090
+ width: 83.33333333%;
2091
+ }
2092
+ .col-lg-9 {
2093
+ width: 75%;
2094
+ }
2095
+ .col-lg-8 {
2096
+ width: 66.66666667%;
2097
+ }
2098
+ .col-lg-7 {
2099
+ width: 58.33333333%;
2100
+ }
2101
+ .col-lg-6 {
2102
+ width: 50%;
2103
+ }
2104
+ .col-lg-5 {
2105
+ width: 41.66666667%;
2106
+ }
2107
+ .col-lg-4 {
2108
+ width: 33.33333333%;
2109
+ }
2110
+ .col-lg-3 {
2111
+ width: 25%;
2112
+ }
2113
+ .col-lg-2 {
2114
+ width: 16.66666667%;
2115
+ }
2116
+ .col-lg-1 {
2117
+ width: 8.33333333%;
2118
+ }
2119
+ .col-lg-pull-12 {
2120
+ right: 100%;
2121
+ }
2122
+ .col-lg-pull-11 {
2123
+ right: 91.66666667%;
2124
+ }
2125
+ .col-lg-pull-10 {
2126
+ right: 83.33333333%;
2127
+ }
2128
+ .col-lg-pull-9 {
2129
+ right: 75%;
2130
+ }
2131
+ .col-lg-pull-8 {
2132
+ right: 66.66666667%;
2133
+ }
2134
+ .col-lg-pull-7 {
2135
+ right: 58.33333333%;
2136
+ }
2137
+ .col-lg-pull-6 {
2138
+ right: 50%;
2139
+ }
2140
+ .col-lg-pull-5 {
2141
+ right: 41.66666667%;
2142
+ }
2143
+ .col-lg-pull-4 {
2144
+ right: 33.33333333%;
2145
+ }
2146
+ .col-lg-pull-3 {
2147
+ right: 25%;
2148
+ }
2149
+ .col-lg-pull-2 {
2150
+ right: 16.66666667%;
2151
+ }
2152
+ .col-lg-pull-1 {
2153
+ right: 8.33333333%;
2154
+ }
2155
+ .col-lg-pull-0 {
2156
+ right: auto;
2157
+ }
2158
+ .col-lg-push-12 {
2159
+ left: 100%;
2160
+ }
2161
+ .col-lg-push-11 {
2162
+ left: 91.66666667%;
2163
+ }
2164
+ .col-lg-push-10 {
2165
+ left: 83.33333333%;
2166
+ }
2167
+ .col-lg-push-9 {
2168
+ left: 75%;
2169
+ }
2170
+ .col-lg-push-8 {
2171
+ left: 66.66666667%;
2172
+ }
2173
+ .col-lg-push-7 {
2174
+ left: 58.33333333%;
2175
+ }
2176
+ .col-lg-push-6 {
2177
+ left: 50%;
2178
+ }
2179
+ .col-lg-push-5 {
2180
+ left: 41.66666667%;
2181
+ }
2182
+ .col-lg-push-4 {
2183
+ left: 33.33333333%;
2184
+ }
2185
+ .col-lg-push-3 {
2186
+ left: 25%;
2187
+ }
2188
+ .col-lg-push-2 {
2189
+ left: 16.66666667%;
2190
+ }
2191
+ .col-lg-push-1 {
2192
+ left: 8.33333333%;
2193
+ }
2194
+ .col-lg-push-0 {
2195
+ left: auto;
2196
+ }
2197
+ .col-lg-offset-12 {
2198
+ margin-left: 100%;
2199
+ }
2200
+ .col-lg-offset-11 {
2201
+ margin-left: 91.66666667%;
2202
+ }
2203
+ .col-lg-offset-10 {
2204
+ margin-left: 83.33333333%;
2205
+ }
2206
+ .col-lg-offset-9 {
2207
+ margin-left: 75%;
2208
+ }
2209
+ .col-lg-offset-8 {
2210
+ margin-left: 66.66666667%;
2211
+ }
2212
+ .col-lg-offset-7 {
2213
+ margin-left: 58.33333333%;
2214
+ }
2215
+ .col-lg-offset-6 {
2216
+ margin-left: 50%;
2217
+ }
2218
+ .col-lg-offset-5 {
2219
+ margin-left: 41.66666667%;
2220
+ }
2221
+ .col-lg-offset-4 {
2222
+ margin-left: 33.33333333%;
2223
+ }
2224
+ .col-lg-offset-3 {
2225
+ margin-left: 25%;
2226
+ }
2227
+ .col-lg-offset-2 {
2228
+ margin-left: 16.66666667%;
2229
+ }
2230
+ .col-lg-offset-1 {
2231
+ margin-left: 8.33333333%;
2232
+ }
2233
+ .col-lg-offset-0 {
2234
+ margin-left: 0;
2235
+ }
2236
+ }
2237
+ table {
2238
+ background-color: transparent;
2239
+ }
2240
+ caption {
2241
+ padding-top: 8px;
2242
+ padding-bottom: 8px;
2243
+ color: #777;
2244
+ text-align: left;
2245
+ }
2246
+ th {
2247
+ text-align: left;
2248
+ }
2249
+ .table {
2250
+ width: 100%;
2251
+ max-width: 100%;
2252
+ margin-bottom: 20px;
2253
+ }
2254
+ .table > thead > tr > th,
2255
+ .table > tbody > tr > th,
2256
+ .table > tfoot > tr > th,
2257
+ .table > thead > tr > td,
2258
+ .table > tbody > tr > td,
2259
+ .table > tfoot > tr > td {
2260
+ padding: 8px;
2261
+ line-height: 1.42857143;
2262
+ vertical-align: top;
2263
+ border-top: 1px solid #ddd;
2264
+ }
2265
+ .table > thead > tr > th {
2266
+ vertical-align: bottom;
2267
+ border-bottom: 2px solid #ddd;
2268
+ }
2269
+ .table > caption + thead > tr:first-child > th,
2270
+ .table > colgroup + thead > tr:first-child > th,
2271
+ .table > thead:first-child > tr:first-child > th,
2272
+ .table > caption + thead > tr:first-child > td,
2273
+ .table > colgroup + thead > tr:first-child > td,
2274
+ .table > thead:first-child > tr:first-child > td {
2275
+ border-top: 0;
2276
+ }
2277
+ .table > tbody + tbody {
2278
+ border-top: 2px solid #ddd;
2279
+ }
2280
+ .table .table {
2281
+ background-color: #fff;
2282
+ }
2283
+ .table-condensed > thead > tr > th,
2284
+ .table-condensed > tbody > tr > th,
2285
+ .table-condensed > tfoot > tr > th,
2286
+ .table-condensed > thead > tr > td,
2287
+ .table-condensed > tbody > tr > td,
2288
+ .table-condensed > tfoot > tr > td {
2289
+ padding: 5px;
2290
+ }
2291
+ .table-bordered {
2292
+ border: 1px solid #ddd;
2293
+ }
2294
+ .table-bordered > thead > tr > th,
2295
+ .table-bordered > tbody > tr > th,
2296
+ .table-bordered > tfoot > tr > th,
2297
+ .table-bordered > thead > tr > td,
2298
+ .table-bordered > tbody > tr > td,
2299
+ .table-bordered > tfoot > tr > td {
2300
+ border: 1px solid #ddd;
2301
+ }
2302
+ .table-bordered > thead > tr > th,
2303
+ .table-bordered > thead > tr > td {
2304
+ border-bottom-width: 2px;
2305
+ }
2306
+ .table-striped > tbody > tr:nth-of-type(odd) {
2307
+ background-color: #f9f9f9;
2308
+ }
2309
+ .table-hover > tbody > tr:hover {
2310
+ background-color: #f5f5f5;
2311
+ }
2312
+ table col[class*="col-"] {
2313
+ position: static;
2314
+ display: table-column;
2315
+ float: none;
2316
+ }
2317
+ table td[class*="col-"],
2318
+ table th[class*="col-"] {
2319
+ position: static;
2320
+ display: table-cell;
2321
+ float: none;
2322
+ }
2323
+ .table > thead > tr > td.active,
2324
+ .table > tbody > tr > td.active,
2325
+ .table > tfoot > tr > td.active,
2326
+ .table > thead > tr > th.active,
2327
+ .table > tbody > tr > th.active,
2328
+ .table > tfoot > tr > th.active,
2329
+ .table > thead > tr.active > td,
2330
+ .table > tbody > tr.active > td,
2331
+ .table > tfoot > tr.active > td,
2332
+ .table > thead > tr.active > th,
2333
+ .table > tbody > tr.active > th,
2334
+ .table > tfoot > tr.active > th {
2335
+ background-color: #f5f5f5;
2336
+ }
2337
+ .table-hover > tbody > tr > td.active:hover,
2338
+ .table-hover > tbody > tr > th.active:hover,
2339
+ .table-hover > tbody > tr.active:hover > td,
2340
+ .table-hover > tbody > tr:hover > .active,
2341
+ .table-hover > tbody > tr.active:hover > th {
2342
+ background-color: #e8e8e8;
2343
+ }
2344
+ .table > thead > tr > td.success,
2345
+ .table > tbody > tr > td.success,
2346
+ .table > tfoot > tr > td.success,
2347
+ .table > thead > tr > th.success,
2348
+ .table > tbody > tr > th.success,
2349
+ .table > tfoot > tr > th.success,
2350
+ .table > thead > tr.success > td,
2351
+ .table > tbody > tr.success > td,
2352
+ .table > tfoot > tr.success > td,
2353
+ .table > thead > tr.success > th,
2354
+ .table > tbody > tr.success > th,
2355
+ .table > tfoot > tr.success > th {
2356
+ background-color: #dff0d8;
2357
+ }
2358
+ .table-hover > tbody > tr > td.success:hover,
2359
+ .table-hover > tbody > tr > th.success:hover,
2360
+ .table-hover > tbody > tr.success:hover > td,
2361
+ .table-hover > tbody > tr:hover > .success,
2362
+ .table-hover > tbody > tr.success:hover > th {
2363
+ background-color: #d0e9c6;
2364
+ }
2365
+ .table > thead > tr > td.info,
2366
+ .table > tbody > tr > td.info,
2367
+ .table > tfoot > tr > td.info,
2368
+ .table > thead > tr > th.info,
2369
+ .table > tbody > tr > th.info,
2370
+ .table > tfoot > tr > th.info,
2371
+ .table > thead > tr.info > td,
2372
+ .table > tbody > tr.info > td,
2373
+ .table > tfoot > tr.info > td,
2374
+ .table > thead > tr.info > th,
2375
+ .table > tbody > tr.info > th,
2376
+ .table > tfoot > tr.info > th {
2377
+ background-color: #d9edf7;
2378
+ }
2379
+ .table-hover > tbody > tr > td.info:hover,
2380
+ .table-hover > tbody > tr > th.info:hover,
2381
+ .table-hover > tbody > tr.info:hover > td,
2382
+ .table-hover > tbody > tr:hover > .info,
2383
+ .table-hover > tbody > tr.info:hover > th {
2384
+ background-color: #c4e3f3;
2385
+ }
2386
+ .table > thead > tr > td.warning,
2387
+ .table > tbody > tr > td.warning,
2388
+ .table > tfoot > tr > td.warning,
2389
+ .table > thead > tr > th.warning,
2390
+ .table > tbody > tr > th.warning,
2391
+ .table > tfoot > tr > th.warning,
2392
+ .table > thead > tr.warning > td,
2393
+ .table > tbody > tr.warning > td,
2394
+ .table > tfoot > tr.warning > td,
2395
+ .table > thead > tr.warning > th,
2396
+ .table > tbody > tr.warning > th,
2397
+ .table > tfoot > tr.warning > th {
2398
+ background-color: #fcf8e3;
2399
+ }
2400
+ .table-hover > tbody > tr > td.warning:hover,
2401
+ .table-hover > tbody > tr > th.warning:hover,
2402
+ .table-hover > tbody > tr.warning:hover > td,
2403
+ .table-hover > tbody > tr:hover > .warning,
2404
+ .table-hover > tbody > tr.warning:hover > th {
2405
+ background-color: #faf2cc;
2406
+ }
2407
+ .table > thead > tr > td.danger,
2408
+ .table > tbody > tr > td.danger,
2409
+ .table > tfoot > tr > td.danger,
2410
+ .table > thead > tr > th.danger,
2411
+ .table > tbody > tr > th.danger,
2412
+ .table > tfoot > tr > th.danger,
2413
+ .table > thead > tr.danger > td,
2414
+ .table > tbody > tr.danger > td,
2415
+ .table > tfoot > tr.danger > td,
2416
+ .table > thead > tr.danger > th,
2417
+ .table > tbody > tr.danger > th,
2418
+ .table > tfoot > tr.danger > th {
2419
+ background-color: #f2dede;
2420
+ }
2421
+ .table-hover > tbody > tr > td.danger:hover,
2422
+ .table-hover > tbody > tr > th.danger:hover,
2423
+ .table-hover > tbody > tr.danger:hover > td,
2424
+ .table-hover > tbody > tr:hover > .danger,
2425
+ .table-hover > tbody > tr.danger:hover > th {
2426
+ background-color: #ebcccc;
2427
+ }
2428
+ .table-responsive {
2429
+ min-height: .01%;
2430
+ overflow-x: auto;
2431
+ }
2432
+ @media screen and (max-width: 767px) {
2433
+ .table-responsive {
2434
+ width: 100%;
2435
+ margin-bottom: 15px;
2436
+ overflow-y: hidden;
2437
+ -ms-overflow-style: -ms-autohiding-scrollbar;
2438
+ border: 1px solid #ddd;
2439
+ }
2440
+ .table-responsive > .table {
2441
+ margin-bottom: 0;
2442
+ }
2443
+ .table-responsive > .table > thead > tr > th,
2444
+ .table-responsive > .table > tbody > tr > th,
2445
+ .table-responsive > .table > tfoot > tr > th,
2446
+ .table-responsive > .table > thead > tr > td,
2447
+ .table-responsive > .table > tbody > tr > td,
2448
+ .table-responsive > .table > tfoot > tr > td {
2449
+ white-space: nowrap;
2450
+ }
2451
+ .table-responsive > .table-bordered {
2452
+ border: 0;
2453
+ }
2454
+ .table-responsive > .table-bordered > thead > tr > th:first-child,
2455
+ .table-responsive > .table-bordered > tbody > tr > th:first-child,
2456
+ .table-responsive > .table-bordered > tfoot > tr > th:first-child,
2457
+ .table-responsive > .table-bordered > thead > tr > td:first-child,
2458
+ .table-responsive > .table-bordered > tbody > tr > td:first-child,
2459
+ .table-responsive > .table-bordered > tfoot > tr > td:first-child {
2460
+ border-left: 0;
2461
+ }
2462
+ .table-responsive > .table-bordered > thead > tr > th:last-child,
2463
+ .table-responsive > .table-bordered > tbody > tr > th:last-child,
2464
+ .table-responsive > .table-bordered > tfoot > tr > th:last-child,
2465
+ .table-responsive > .table-bordered > thead > tr > td:last-child,
2466
+ .table-responsive > .table-bordered > tbody > tr > td:last-child,
2467
+ .table-responsive > .table-bordered > tfoot > tr > td:last-child {
2468
+ border-right: 0;
2469
+ }
2470
+ .table-responsive > .table-bordered > tbody > tr:last-child > th,
2471
+ .table-responsive > .table-bordered > tfoot > tr:last-child > th,
2472
+ .table-responsive > .table-bordered > tbody > tr:last-child > td,
2473
+ .table-responsive > .table-bordered > tfoot > tr:last-child > td {
2474
+ border-bottom: 0;
2475
+ }
2476
+ }
2477
+ fieldset {
2478
+ min-width: 0;
2479
+ padding: 0;
2480
+ margin: 0;
2481
+ border: 0;
2482
+ }
2483
+ legend {
2484
+ display: block;
2485
+ width: 100%;
2486
+ padding: 0;
2487
+ margin-bottom: 20px;
2488
+ font-size: 21px;
2489
+ line-height: inherit;
2490
+ color: #333;
2491
+ border: 0;
2492
+ border-bottom: 1px solid #e5e5e5;
2493
+ }
2494
+ /*label {
2495
+ display: inline-block;
2496
+ max-width: 100%;
2497
+ margin-bottom: 5px;
2498
+ font-weight: bold;
2499
+ }*/
2500
+ input[type="search"] {
2501
+ -webkit-box-sizing: border-box;
2502
+ -moz-box-sizing: border-box;
2503
+ box-sizing: border-box;
2504
+ }
2505
+ input[type="radio"],
2506
+ input[type="checkbox"] {
2507
+ margin: 4px 0 0;
2508
+ margin-top: 1px \9;
2509
+ line-height: normal;
2510
+ }
2511
+ input[type="file"] {
2512
+ display: block;
2513
+ }
2514
+ input[type="range"] {
2515
+ display: block;
2516
+ width: 100%;
2517
+ }
2518
+ select[multiple],
2519
+ select[size] {
2520
+ height: auto;
2521
+ }
2522
+ input[type="file"]:focus,
2523
+ input[type="radio"]:focus,
2524
+ input[type="checkbox"]:focus {
2525
+ outline: 5px auto -webkit-focus-ring-color;
2526
+ outline-offset: -2px;
2527
+ }
2528
+ output {
2529
+ display: block;
2530
+ padding-top: 7px;
2531
+ font-size: 14px;
2532
+ line-height: 1.42857143;
2533
+ color: #555;
2534
+ }
2535
+ .form-control {
2536
+ display: block;
2537
+ width: 100%;
2538
+ height: 34px;
2539
+ padding: 6px 12px;
2540
+ font-size: 14px;
2541
+ line-height: 1.42857143;
2542
+ color: #555;
2543
+ background-color: #fff;
2544
+ background-image: none;
2545
+ border: 1px solid #ccc;
2546
+ border-radius: 4px;
2547
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2548
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2549
+ -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
2550
+ -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
2551
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
2552
+ }
2553
+ .form-control:focus {
2554
+ border-color: #66afe9;
2555
+ outline: 0;
2556
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
2557
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
2558
+ }
2559
+ .form-control::-moz-placeholder {
2560
+ color: #999;
2561
+ opacity: 1;
2562
+ }
2563
+ .form-control:-ms-input-placeholder {
2564
+ color: #999;
2565
+ }
2566
+ .form-control::-webkit-input-placeholder {
2567
+ color: #999;
2568
+ }
2569
+ .form-control::-ms-expand {
2570
+ background-color: transparent;
2571
+ border: 0;
2572
+ }
2573
+ .form-control[disabled],
2574
+ .form-control[readonly],
2575
+ fieldset[disabled] .form-control {
2576
+ background-color: #eee;
2577
+ opacity: 1;
2578
+ }
2579
+ .form-control[disabled],
2580
+ fieldset[disabled] .form-control {
2581
+ cursor: not-allowed;
2582
+ }
2583
+ textarea.form-control {
2584
+ height: auto;
2585
+ }
2586
+ input[type="search"] {
2587
+ -webkit-appearance: none;
2588
+ }
2589
+ @media screen and (-webkit-min-device-pixel-ratio: 0) {
2590
+ input[type="date"].form-control,
2591
+ input[type="time"].form-control,
2592
+ input[type="datetime-local"].form-control,
2593
+ input[type="month"].form-control {
2594
+ line-height: 34px;
2595
+ }
2596
+ input[type="date"].input-sm,
2597
+ input[type="time"].input-sm,
2598
+ input[type="datetime-local"].input-sm,
2599
+ input[type="month"].input-sm,
2600
+ .input-group-sm input[type="date"],
2601
+ .input-group-sm input[type="time"],
2602
+ .input-group-sm input[type="datetime-local"],
2603
+ .input-group-sm input[type="month"] {
2604
+ line-height: 30px;
2605
+ }
2606
+ input[type="date"].input-lg,
2607
+ input[type="time"].input-lg,
2608
+ input[type="datetime-local"].input-lg,
2609
+ input[type="month"].input-lg,
2610
+ .input-group-lg input[type="date"],
2611
+ .input-group-lg input[type="time"],
2612
+ .input-group-lg input[type="datetime-local"],
2613
+ .input-group-lg input[type="month"] {
2614
+ line-height: 46px;
2615
+ }
2616
+ }
2617
+ .form-group {
2618
+ margin-bottom: 15px;
2619
+ }
2620
+ .radio,
2621
+ .checkbox {
2622
+ position: relative;
2623
+ display: block;
2624
+ margin-top: 10px;
2625
+ margin-bottom: 10px;
2626
+ }
2627
+ .radio label,
2628
+ .checkbox label {
2629
+ min-height: 20px;
2630
+ padding-left: 20px;
2631
+ margin-bottom: 0;
2632
+ font-weight: normal;
2633
+ cursor: pointer;
2634
+ }
2635
+ .radio input[type="radio"],
2636
+ .radio-inline input[type="radio"],
2637
+ .checkbox input[type="checkbox"],
2638
+ .checkbox-inline input[type="checkbox"] {
2639
+ position: absolute;
2640
+ margin-top: 4px \9;
2641
+ margin-left: -20px;
2642
+ }
2643
+ .radio + .radio,
2644
+ .checkbox + .checkbox {
2645
+ margin-top: -5px;
2646
+ }
2647
+ .radio-inline,
2648
+ .checkbox-inline {
2649
+ position: relative;
2650
+ display: inline-block;
2651
+ padding-left: 20px;
2652
+ margin-bottom: 0;
2653
+ font-weight: normal;
2654
+ vertical-align: middle;
2655
+ cursor: pointer;
2656
+ }
2657
+ .radio-inline + .radio-inline,
2658
+ .checkbox-inline + .checkbox-inline {
2659
+ margin-top: 0;
2660
+ margin-left: 10px;
2661
+ }
2662
+ input[type="radio"][disabled],
2663
+ input[type="checkbox"][disabled],
2664
+ input[type="radio"].disabled,
2665
+ input[type="checkbox"].disabled,
2666
+ fieldset[disabled] input[type="radio"],
2667
+ fieldset[disabled] input[type="checkbox"] {
2668
+ cursor: not-allowed;
2669
+ }
2670
+ .radio-inline.disabled,
2671
+ .checkbox-inline.disabled,
2672
+ fieldset[disabled] .radio-inline,
2673
+ fieldset[disabled] .checkbox-inline {
2674
+ cursor: not-allowed;
2675
+ }
2676
+ .radio.disabled label,
2677
+ .checkbox.disabled label,
2678
+ fieldset[disabled] .radio label,
2679
+ fieldset[disabled] .checkbox label {
2680
+ cursor: not-allowed;
2681
+ }
2682
+ .form-control-static {
2683
+ min-height: 34px;
2684
+ padding-top: 7px;
2685
+ padding-bottom: 7px;
2686
+ margin-bottom: 0;
2687
+ }
2688
+ .form-control-static.input-lg,
2689
+ .form-control-static.input-sm {
2690
+ padding-right: 0;
2691
+ padding-left: 0;
2692
+ }
2693
+ .input-sm {
2694
+ height: 30px;
2695
+ padding: 5px 10px;
2696
+ font-size: 12px;
2697
+ line-height: 1.5;
2698
+ border-radius: 3px;
2699
+ }
2700
+ select.input-sm {
2701
+ height: 30px;
2702
+ line-height: 30px;
2703
+ }
2704
+ textarea.input-sm,
2705
+ select[multiple].input-sm {
2706
+ height: auto;
2707
+ }
2708
+ .form-group-sm .form-control {
2709
+ height: 30px;
2710
+ padding: 5px 10px;
2711
+ font-size: 12px;
2712
+ line-height: 1.5;
2713
+ border-radius: 3px;
2714
+ }
2715
+ .form-group-sm select.form-control {
2716
+ height: 30px;
2717
+ line-height: 30px;
2718
+ }
2719
+ .form-group-sm textarea.form-control,
2720
+ .form-group-sm select[multiple].form-control {
2721
+ height: auto;
2722
+ }
2723
+ .form-group-sm .form-control-static {
2724
+ height: 30px;
2725
+ min-height: 32px;
2726
+ padding: 6px 10px;
2727
+ font-size: 12px;
2728
+ line-height: 1.5;
2729
+ }
2730
+ .input-lg {
2731
+ height: 46px;
2732
+ padding: 10px 16px;
2733
+ font-size: 18px;
2734
+ line-height: 1.3333333;
2735
+ border-radius: 6px;
2736
+ }
2737
+ select.input-lg {
2738
+ height: 46px;
2739
+ line-height: 46px;
2740
+ }
2741
+ textarea.input-lg,
2742
+ select[multiple].input-lg {
2743
+ height: auto;
2744
+ }
2745
+ .form-group-lg .form-control {
2746
+ height: 46px;
2747
+ padding: 10px 16px;
2748
+ font-size: 18px;
2749
+ line-height: 1.3333333;
2750
+ border-radius: 6px;
2751
+ }
2752
+ .form-group-lg select.form-control {
2753
+ height: 46px;
2754
+ line-height: 46px;
2755
+ }
2756
+ .form-group-lg textarea.form-control,
2757
+ .form-group-lg select[multiple].form-control {
2758
+ height: auto;
2759
+ }
2760
+ .form-group-lg .form-control-static {
2761
+ height: 46px;
2762
+ min-height: 38px;
2763
+ padding: 11px 16px;
2764
+ font-size: 18px;
2765
+ line-height: 1.3333333;
2766
+ }
2767
+ .has-feedback {
2768
+ position: relative;
2769
+ }
2770
+ .has-feedback .form-control {
2771
+ padding-right: 42.5px;
2772
+ }
2773
+ .form-control-feedback {
2774
+ position: absolute;
2775
+ top: 0;
2776
+ right: 0;
2777
+ z-index: 2;
2778
+ display: block;
2779
+ width: 34px;
2780
+ height: 34px;
2781
+ line-height: 34px;
2782
+ text-align: center;
2783
+ pointer-events: none;
2784
+ }
2785
+ .input-lg + .form-control-feedback,
2786
+ .input-group-lg + .form-control-feedback,
2787
+ .form-group-lg .form-control + .form-control-feedback {
2788
+ width: 46px;
2789
+ height: 46px;
2790
+ line-height: 46px;
2791
+ }
2792
+ .input-sm + .form-control-feedback,
2793
+ .input-group-sm + .form-control-feedback,
2794
+ .form-group-sm .form-control + .form-control-feedback {
2795
+ width: 30px;
2796
+ height: 30px;
2797
+ line-height: 30px;
2798
+ }
2799
+ .has-success .help-block,
2800
+ .has-success .control-label,
2801
+ .has-success .radio,
2802
+ .has-success .checkbox,
2803
+ .has-success .radio-inline,
2804
+ .has-success .checkbox-inline,
2805
+ .has-success.radio label,
2806
+ .has-success.checkbox label,
2807
+ .has-success.radio-inline label,
2808
+ .has-success.checkbox-inline label {
2809
+ color: #3c763d;
2810
+ }
2811
+ .has-success .form-control {
2812
+ border-color: #3c763d;
2813
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2814
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2815
+ }
2816
+ .has-success .form-control:focus {
2817
+ border-color: #2b542c;
2818
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
2819
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
2820
+ }
2821
+ .has-success .input-group-addon {
2822
+ color: #3c763d;
2823
+ background-color: #dff0d8;
2824
+ border-color: #3c763d;
2825
+ }
2826
+ .has-success .form-control-feedback {
2827
+ color: #3c763d;
2828
+ }
2829
+ .has-warning .help-block,
2830
+ .has-warning .control-label,
2831
+ .has-warning .radio,
2832
+ .has-warning .checkbox,
2833
+ .has-warning .radio-inline,
2834
+ .has-warning .checkbox-inline,
2835
+ .has-warning.radio label,
2836
+ .has-warning.checkbox label,
2837
+ .has-warning.radio-inline label,
2838
+ .has-warning.checkbox-inline label {
2839
+ color: #8a6d3b;
2840
+ }
2841
+ .has-warning .form-control {
2842
+ border-color: #8a6d3b;
2843
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2844
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2845
+ }
2846
+ .has-warning .form-control:focus {
2847
+ border-color: #66512c;
2848
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
2849
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;
2850
+ }
2851
+ .has-warning .input-group-addon {
2852
+ color: #8a6d3b;
2853
+ background-color: #fcf8e3;
2854
+ border-color: #8a6d3b;
2855
+ }
2856
+ .has-warning .form-control-feedback {
2857
+ color: #8a6d3b;
2858
+ }
2859
+ .has-error .help-block,
2860
+ .has-error .control-label,
2861
+ .has-error .radio,
2862
+ .has-error .checkbox,
2863
+ .has-error .radio-inline,
2864
+ .has-error .checkbox-inline,
2865
+ .has-error.radio label,
2866
+ .has-error.checkbox label,
2867
+ .has-error.radio-inline label,
2868
+ .has-error.checkbox-inline label {
2869
+ color: #a94442;
2870
+ }
2871
+ .has-error .form-control {
2872
+ border-color: #a94442;
2873
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2874
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
2875
+ }
2876
+ .has-error .form-control:focus {
2877
+ border-color: #843534;
2878
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
2879
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
2880
+ }
2881
+ .has-error .input-group-addon {
2882
+ color: #a94442;
2883
+ background-color: #f2dede;
2884
+ border-color: #a94442;
2885
+ }
2886
+ .has-error .form-control-feedback {
2887
+ color: #a94442;
2888
+ }
2889
+ .has-feedback label ~ .form-control-feedback {
2890
+ top: 25px;
2891
+ }
2892
+ .has-feedback label.sr-only ~ .form-control-feedback {
2893
+ top: 0;
2894
+ }
2895
+ .help-block {
2896
+ display: block;
2897
+ margin-top: 5px;
2898
+ margin-bottom: 10px;
2899
+ color: #737373;
2900
+ }
2901
+ @media (min-width: 768px) {
2902
+ .form-inline .form-group {
2903
+ display: inline-block;
2904
+ margin-bottom: 0;
2905
+ vertical-align: middle;
2906
+ }
2907
+ .form-inline .form-control {
2908
+ display: inline-block;
2909
+ width: auto;
2910
+ vertical-align: middle;
2911
+ }
2912
+ .form-inline .form-control-static {
2913
+ display: inline-block;
2914
+ }
2915
+ .form-inline .input-group {
2916
+ display: inline-table;
2917
+ vertical-align: middle;
2918
+ }
2919
+ .form-inline .input-group .input-group-addon,
2920
+ .form-inline .input-group .input-group-btn,
2921
+ .form-inline .input-group .form-control {
2922
+ width: auto;
2923
+ }
2924
+ .form-inline .input-group > .form-control {
2925
+ width: 100%;
2926
+ }
2927
+ .form-inline .control-label {
2928
+ margin-bottom: 0;
2929
+ vertical-align: middle;
2930
+ }
2931
+ .form-inline .radio,
2932
+ .form-inline .checkbox {
2933
+ display: inline-block;
2934
+ margin-top: 0;
2935
+ margin-bottom: 0;
2936
+ vertical-align: middle;
2937
+ }
2938
+ .form-inline .radio label,
2939
+ .form-inline .checkbox label {
2940
+ padding-left: 0;
2941
+ }
2942
+ .form-inline .radio input[type="radio"],
2943
+ .form-inline .checkbox input[type="checkbox"] {
2944
+ position: relative;
2945
+ margin-left: 0;
2946
+ }
2947
+ .form-inline .has-feedback .form-control-feedback {
2948
+ top: 0;
2949
+ }
2950
+ }
2951
+ .form-horizontal .radio,
2952
+ .form-horizontal .checkbox,
2953
+ .form-horizontal .radio-inline,
2954
+ .form-horizontal .checkbox-inline {
2955
+ padding-top: 7px;
2956
+ margin-top: 0;
2957
+ margin-bottom: 0;
2958
+ }
2959
+ .form-horizontal .radio,
2960
+ .form-horizontal .checkbox {
2961
+ min-height: 27px;
2962
+ }
2963
+ .form-horizontal .form-group {
2964
+ margin-right: -15px;
2965
+ margin-left: -15px;
2966
+ }
2967
+ @media (min-width: 768px) {
2968
+ .form-horizontal .control-label {
2969
+ padding-top: 7px;
2970
+ margin-bottom: 0;
2971
+ text-align: right;
2972
+ }
2973
+ }
2974
+ .form-horizontal .has-feedback .form-control-feedback {
2975
+ right: 15px;
2976
+ }
2977
+ @media (min-width: 768px) {
2978
+ .form-horizontal .form-group-lg .control-label {
2979
+ padding-top: 11px;
2980
+ font-size: 18px;
2981
+ }
2982
+ }
2983
+ @media (min-width: 768px) {
2984
+ .form-horizontal .form-group-sm .control-label {
2985
+ padding-top: 6px;
2986
+ font-size: 12px;
2987
+ }
2988
+ }
2989
+ .btn {
2990
+ display: inline-block;
2991
+ padding: 6px 12px;
2992
+ margin-bottom: 0;
2993
+ font-size: 14px;
2994
+ font-weight: normal;
2995
+ line-height: 1.42857143;
2996
+ text-align: center;
2997
+ white-space: nowrap;
2998
+ vertical-align: middle;
2999
+ -ms-touch-action: manipulation;
3000
+ touch-action: manipulation;
3001
+ cursor: pointer;
3002
+ -webkit-user-select: none;
3003
+ -moz-user-select: none;
3004
+ -ms-user-select: none;
3005
+ user-select: none;
3006
+ background-image: none;
3007
+ border: 1px solid transparent;
3008
+ border-radius: 4px;
3009
+ }
3010
+ .btn:focus,
3011
+ .btn:active:focus,
3012
+ .btn.active:focus,
3013
+ .btn.focus,
3014
+ .btn:active.focus,
3015
+ .btn.active.focus {
3016
+ outline: 5px auto -webkit-focus-ring-color;
3017
+ outline-offset: -2px;
3018
+ }
3019
+ .btn:hover,
3020
+ .btn:focus,
3021
+ .btn.focus {
3022
+ color: #333;
3023
+ text-decoration: none;
3024
+ }
3025
+ .btn:active,
3026
+ .btn.active {
3027
+ background-image: none;
3028
+ outline: 0;
3029
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3030
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3031
+ }
3032
+ .btn.disabled,
3033
+ .btn[disabled],
3034
+ fieldset[disabled] .btn {
3035
+ cursor: not-allowed;
3036
+ filter: alpha(opacity=65);
3037
+ -webkit-box-shadow: none;
3038
+ box-shadow: none;
3039
+ opacity: .65;
3040
+ }
3041
+ a.btn.disabled,
3042
+ fieldset[disabled] a.btn {
3043
+ pointer-events: none;
3044
+ }
3045
+ .btn-default {
3046
+ color: #333;
3047
+ background-color: #fff;
3048
+ border-color: #ccc;
3049
+ }
3050
+ .btn-default:focus,
3051
+ .btn-default.focus {
3052
+ color: #333;
3053
+ background-color: #e6e6e6;
3054
+ border-color: #8c8c8c;
3055
+ }
3056
+ .btn-default:hover {
3057
+ color: #333;
3058
+ background-color: #e6e6e6;
3059
+ border-color: #adadad;
3060
+ }
3061
+ .btn-default:active,
3062
+ .btn-default.active,
3063
+ .open > .dropdown-toggle.btn-default {
3064
+ color: #333;
3065
+ background-color: #e6e6e6;
3066
+ border-color: #adadad;
3067
+ }
3068
+ .btn-default:active:hover,
3069
+ .btn-default.active:hover,
3070
+ .open > .dropdown-toggle.btn-default:hover,
3071
+ .btn-default:active:focus,
3072
+ .btn-default.active:focus,
3073
+ .open > .dropdown-toggle.btn-default:focus,
3074
+ .btn-default:active.focus,
3075
+ .btn-default.active.focus,
3076
+ .open > .dropdown-toggle.btn-default.focus {
3077
+ color: #333;
3078
+ background-color: #d4d4d4;
3079
+ border-color: #8c8c8c;
3080
+ }
3081
+ .btn-default:active,
3082
+ .btn-default.active,
3083
+ .open > .dropdown-toggle.btn-default {
3084
+ background-image: none;
3085
+ }
3086
+ .btn-default.disabled:hover,
3087
+ .btn-default[disabled]:hover,
3088
+ fieldset[disabled] .btn-default:hover,
3089
+ .btn-default.disabled:focus,
3090
+ .btn-default[disabled]:focus,
3091
+ fieldset[disabled] .btn-default:focus,
3092
+ .btn-default.disabled.focus,
3093
+ .btn-default[disabled].focus,
3094
+ fieldset[disabled] .btn-default.focus {
3095
+ background-color: #fff;
3096
+ border-color: #ccc;
3097
+ }
3098
+ .btn-default .badge {
3099
+ color: #fff;
3100
+ background-color: #333;
3101
+ }
3102
+ .btn-primary {
3103
+ color: #fff;
3104
+ background-color: #337ab7;
3105
+ border-color: #2e6da4;
3106
+ }
3107
+ .btn-primary:focus,
3108
+ .btn-primary.focus {
3109
+ color: #fff;
3110
+ background-color: #286090;
3111
+ border-color: #122b40;
3112
+ }
3113
+ .btn-primary:hover {
3114
+ color: #fff;
3115
+ background-color: #286090;
3116
+ border-color: #204d74;
3117
+ }
3118
+ .btn-primary:active,
3119
+ .btn-primary.active,
3120
+ .open > .dropdown-toggle.btn-primary {
3121
+ color: #fff;
3122
+ background-color: #286090;
3123
+ border-color: #204d74;
3124
+ }
3125
+ .btn-primary:active:hover,
3126
+ .btn-primary.active:hover,
3127
+ .open > .dropdown-toggle.btn-primary:hover,
3128
+ .btn-primary:active:focus,
3129
+ .btn-primary.active:focus,
3130
+ .open > .dropdown-toggle.btn-primary:focus,
3131
+ .btn-primary:active.focus,
3132
+ .btn-primary.active.focus,
3133
+ .open > .dropdown-toggle.btn-primary.focus {
3134
+ color: #fff;
3135
+ background-color: #204d74;
3136
+ border-color: #122b40;
3137
+ }
3138
+ .btn-primary:active,
3139
+ .btn-primary.active,
3140
+ .open > .dropdown-toggle.btn-primary {
3141
+ background-image: none;
3142
+ }
3143
+ .btn-primary.disabled:hover,
3144
+ .btn-primary[disabled]:hover,
3145
+ fieldset[disabled] .btn-primary:hover,
3146
+ .btn-primary.disabled:focus,
3147
+ .btn-primary[disabled]:focus,
3148
+ fieldset[disabled] .btn-primary:focus,
3149
+ .btn-primary.disabled.focus,
3150
+ .btn-primary[disabled].focus,
3151
+ fieldset[disabled] .btn-primary.focus {
3152
+ background-color: #337ab7;
3153
+ border-color: #2e6da4;
3154
+ }
3155
+ .btn-primary .badge {
3156
+ color: #337ab7;
3157
+ background-color: #fff;
3158
+ }
3159
+ .btn-success {
3160
+ color: #fff;
3161
+ background-color: #5cb85c;
3162
+ border-color: #4cae4c;
3163
+ }
3164
+ .btn-success:focus,
3165
+ .btn-success.focus {
3166
+ color: #fff;
3167
+ background-color: #449d44;
3168
+ border-color: #255625;
3169
+ }
3170
+ .btn-success:hover {
3171
+ color: #fff;
3172
+ background-color: #449d44;
3173
+ border-color: #398439;
3174
+ }
3175
+ .btn-success:active,
3176
+ .btn-success.active,
3177
+ .open > .dropdown-toggle.btn-success {
3178
+ color: #fff;
3179
+ background-color: #449d44;
3180
+ border-color: #398439;
3181
+ }
3182
+ .btn-success:active:hover,
3183
+ .btn-success.active:hover,
3184
+ .open > .dropdown-toggle.btn-success:hover,
3185
+ .btn-success:active:focus,
3186
+ .btn-success.active:focus,
3187
+ .open > .dropdown-toggle.btn-success:focus,
3188
+ .btn-success:active.focus,
3189
+ .btn-success.active.focus,
3190
+ .open > .dropdown-toggle.btn-success.focus {
3191
+ color: #fff;
3192
+ background-color: #398439;
3193
+ border-color: #255625;
3194
+ }
3195
+ .btn-success:active,
3196
+ .btn-success.active,
3197
+ .open > .dropdown-toggle.btn-success {
3198
+ background-image: none;
3199
+ }
3200
+ .btn-success.disabled:hover,
3201
+ .btn-success[disabled]:hover,
3202
+ fieldset[disabled] .btn-success:hover,
3203
+ .btn-success.disabled:focus,
3204
+ .btn-success[disabled]:focus,
3205
+ fieldset[disabled] .btn-success:focus,
3206
+ .btn-success.disabled.focus,
3207
+ .btn-success[disabled].focus,
3208
+ fieldset[disabled] .btn-success.focus {
3209
+ background-color: #5cb85c;
3210
+ border-color: #4cae4c;
3211
+ }
3212
+ .btn-success .badge {
3213
+ color: #5cb85c;
3214
+ background-color: #fff;
3215
+ }
3216
+ .btn-info {
3217
+ color: #fff;
3218
+ background-color: #5bc0de;
3219
+ border-color: #46b8da;
3220
+ }
3221
+ .btn-info:focus,
3222
+ .btn-info.focus {
3223
+ color: #fff;
3224
+ background-color: #31b0d5;
3225
+ border-color: #1b6d85;
3226
+ }
3227
+ .btn-info:hover {
3228
+ color: #fff;
3229
+ background-color: #31b0d5;
3230
+ border-color: #269abc;
3231
+ }
3232
+ .btn-info:active,
3233
+ .btn-info.active,
3234
+ .open > .dropdown-toggle.btn-info {
3235
+ color: #fff;
3236
+ background-color: #31b0d5;
3237
+ border-color: #269abc;
3238
+ }
3239
+ .btn-info:active:hover,
3240
+ .btn-info.active:hover,
3241
+ .open > .dropdown-toggle.btn-info:hover,
3242
+ .btn-info:active:focus,
3243
+ .btn-info.active:focus,
3244
+ .open > .dropdown-toggle.btn-info:focus,
3245
+ .btn-info:active.focus,
3246
+ .btn-info.active.focus,
3247
+ .open > .dropdown-toggle.btn-info.focus {
3248
+ color: #fff;
3249
+ background-color: #269abc;
3250
+ border-color: #1b6d85;
3251
+ }
3252
+ .btn-info:active,
3253
+ .btn-info.active,
3254
+ .open > .dropdown-toggle.btn-info {
3255
+ background-image: none;
3256
+ }
3257
+ .btn-info.disabled:hover,
3258
+ .btn-info[disabled]:hover,
3259
+ fieldset[disabled] .btn-info:hover,
3260
+ .btn-info.disabled:focus,
3261
+ .btn-info[disabled]:focus,
3262
+ fieldset[disabled] .btn-info:focus,
3263
+ .btn-info.disabled.focus,
3264
+ .btn-info[disabled].focus,
3265
+ fieldset[disabled] .btn-info.focus {
3266
+ background-color: #5bc0de;
3267
+ border-color: #46b8da;
3268
+ }
3269
+ .btn-info .badge {
3270
+ color: #5bc0de;
3271
+ background-color: #fff;
3272
+ }
3273
+ .btn-warning {
3274
+ color: #fff;
3275
+ background-color: #f0ad4e;
3276
+ border-color: #eea236;
3277
+ }
3278
+ .btn-warning:focus,
3279
+ .btn-warning.focus {
3280
+ color: #fff;
3281
+ background-color: #ec971f;
3282
+ border-color: #985f0d;
3283
+ }
3284
+ .btn-warning:hover {
3285
+ color: #fff;
3286
+ background-color: #ec971f;
3287
+ border-color: #d58512;
3288
+ }
3289
+ .btn-warning:active,
3290
+ .btn-warning.active,
3291
+ .open > .dropdown-toggle.btn-warning {
3292
+ color: #fff;
3293
+ background-color: #ec971f;
3294
+ border-color: #d58512;
3295
+ }
3296
+ .btn-warning:active:hover,
3297
+ .btn-warning.active:hover,
3298
+ .open > .dropdown-toggle.btn-warning:hover,
3299
+ .btn-warning:active:focus,
3300
+ .btn-warning.active:focus,
3301
+ .open > .dropdown-toggle.btn-warning:focus,
3302
+ .btn-warning:active.focus,
3303
+ .btn-warning.active.focus,
3304
+ .open > .dropdown-toggle.btn-warning.focus {
3305
+ color: #fff;
3306
+ background-color: #d58512;
3307
+ border-color: #985f0d;
3308
+ }
3309
+ .btn-warning:active,
3310
+ .btn-warning.active,
3311
+ .open > .dropdown-toggle.btn-warning {
3312
+ background-image: none;
3313
+ }
3314
+ .btn-warning.disabled:hover,
3315
+ .btn-warning[disabled]:hover,
3316
+ fieldset[disabled] .btn-warning:hover,
3317
+ .btn-warning.disabled:focus,
3318
+ .btn-warning[disabled]:focus,
3319
+ fieldset[disabled] .btn-warning:focus,
3320
+ .btn-warning.disabled.focus,
3321
+ .btn-warning[disabled].focus,
3322
+ fieldset[disabled] .btn-warning.focus {
3323
+ background-color: #f0ad4e;
3324
+ border-color: #eea236;
3325
+ }
3326
+ .btn-warning .badge {
3327
+ color: #f0ad4e;
3328
+ background-color: #fff;
3329
+ }
3330
+ .btn-danger {
3331
+ color: #fff;
3332
+ background-color: #d9534f;
3333
+ border-color: #d43f3a;
3334
+ }
3335
+ .btn-danger:focus,
3336
+ .btn-danger.focus {
3337
+ color: #fff;
3338
+ background-color: #c9302c;
3339
+ border-color: #ac2925;
3340
+ }
3341
+ .btn-danger:hover {
3342
+ color: #fff;
3343
+ background-color: #c9302c;
3344
+ border-color: #ac2925;
3345
+ }
3346
+ .btn-danger:active,
3347
+ .btn-danger.active,
3348
+ .open > .dropdown-toggle.btn-danger {
3349
+ color: #fff;
3350
+ background-color: #c9302c;
3351
+ border-color: #ac2925;
3352
+ }
3353
+ .btn-danger:active:hover,
3354
+ .btn-danger.active:hover,
3355
+ .open > .dropdown-toggle.btn-danger:hover,
3356
+ .btn-danger:active:focus,
3357
+ .btn-danger.active:focus,
3358
+ .open > .dropdown-toggle.btn-danger:focus,
3359
+ .btn-danger:active.focus,
3360
+ .btn-danger.active.focus,
3361
+ .open > .dropdown-toggle.btn-danger.focus {
3362
+ color: #fff;
3363
+ background-color: #ac2925;
3364
+ border-color: #761c19;
3365
+ }
3366
+ .btn-danger:active,
3367
+ .btn-danger.active,
3368
+ .open > .dropdown-toggle.btn-danger {
3369
+ background-image: none;
3370
+ }
3371
+ .btn-danger.disabled:hover,
3372
+ .btn-danger[disabled]:hover,
3373
+ fieldset[disabled] .btn-danger:hover,
3374
+ .btn-danger.disabled:focus,
3375
+ .btn-danger[disabled]:focus,
3376
+ fieldset[disabled] .btn-danger:focus,
3377
+ .btn-danger.disabled.focus,
3378
+ .btn-danger[disabled].focus,
3379
+ fieldset[disabled] .btn-danger.focus {
3380
+ background-color: #d9534f;
3381
+ border-color: #d43f3a;
3382
+ }
3383
+ .btn-danger .badge {
3384
+ color: #d9534f;
3385
+ background-color: #fff;
3386
+ }
3387
+ .btn-link {
3388
+ font-weight: normal;
3389
+ color: #337ab7;
3390
+ border-radius: 0;
3391
+ }
3392
+ .btn-link,
3393
+ .btn-link:active,
3394
+ .btn-link.active,
3395
+ .btn-link[disabled],
3396
+ fieldset[disabled] .btn-link {
3397
+ background-color: transparent;
3398
+ -webkit-box-shadow: none;
3399
+ box-shadow: none;
3400
+ }
3401
+ .btn-link,
3402
+ .btn-link:hover,
3403
+ .btn-link:focus,
3404
+ .btn-link:active {
3405
+ border-color: transparent;
3406
+ }
3407
+ .btn-link:hover,
3408
+ .btn-link:focus {
3409
+ color: #23527c;
3410
+ text-decoration: underline;
3411
+ background-color: transparent;
3412
+ }
3413
+ .btn-link[disabled]:hover,
3414
+ fieldset[disabled] .btn-link:hover,
3415
+ .btn-link[disabled]:focus,
3416
+ fieldset[disabled] .btn-link:focus {
3417
+ color: #777;
3418
+ text-decoration: none;
3419
+ }
3420
+ .btn-lg,
3421
+ .btn-group-lg > .btn {
3422
+ font-size: 20px;
3423
+ line-height: 1.3333333;
3424
+ border-radius: 6px;
3425
+ }
3426
+ .btn-sm,
3427
+ .btn-group-sm > .btn {
3428
+ padding: 5px 10px;
3429
+ font-size: 12px;
3430
+ line-height: 1.5;
3431
+ border-radius: 3px;
3432
+ }
3433
+ .btn-xs,
3434
+ .btn-group-xs > .btn {
3435
+ padding: 2px 4px;
3436
+ font-size: 12px;
3437
+ line-height: 1.4;
3438
+ border-radius: 3px;
3439
+ }
3440
+ .btn-block {
3441
+ display: block;
3442
+ width: 100%;
3443
+ }
3444
+ .btn-block + .btn-block {
3445
+ margin-top: 5px;
3446
+ }
3447
+ input[type="submit"].btn-block,
3448
+ input[type="reset"].btn-block,
3449
+ input[type="button"].btn-block {
3450
+ width: 100%;
3451
+ }
3452
+ .fade {
3453
+ opacity: 0;
3454
+ -webkit-transition: opacity .15s linear;
3455
+ -o-transition: opacity .15s linear;
3456
+ transition: opacity .15s linear;
3457
+ }
3458
+ .fade.in {
3459
+ opacity: 1;
3460
+ }
3461
+ .caret {
3462
+ display: inline-block;
3463
+ width: 0;
3464
+ height: 0;
3465
+ margin-left: 2px;
3466
+ vertical-align: middle;
3467
+ border-top: 4px dashed;
3468
+ border-top: 4px solid \9;
3469
+ border-right: 4px solid transparent;
3470
+ border-left: 4px solid transparent;
3471
+ }
3472
+ .dropup,
3473
+ .dropdown {
3474
+ position: relative;
3475
+ }
3476
+ .dropdown-toggle:focus {
3477
+ outline: 0;
3478
+ }
3479
+ .dropdown-menu {
3480
+ position: absolute;
3481
+ top: 100%;
3482
+ left: 0;
3483
+ z-index: 1000;
3484
+ display: none;
3485
+ float: left;
3486
+ min-width: 160px;
3487
+ padding: 5px 0;
3488
+ margin: 2px 0 0;
3489
+ font-size: 14px;
3490
+ text-align: left;
3491
+ list-style: none;
3492
+ background-color: #fff;
3493
+ -webkit-background-clip: padding-box;
3494
+ background-clip: padding-box;
3495
+ border: 1px solid #ccc;
3496
+ border: 1px solid rgba(0, 0, 0, .15);
3497
+ border-radius: 4px;
3498
+ -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
3499
+ box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
3500
+ }
3501
+ .dropdown-menu.pull-right {
3502
+ right: 0;
3503
+ left: auto;
3504
+ }
3505
+ .dropdown-menu .divider {
3506
+ height: 1px;
3507
+ margin: 9px 0;
3508
+ overflow: hidden;
3509
+ background-color: #e5e5e5;
3510
+ }
3511
+ .dropdown-menu > li > a {
3512
+ display: block;
3513
+ padding: 3px 20px;
3514
+ clear: both;
3515
+ font-weight: normal;
3516
+ line-height: 1.42857143;
3517
+ color: #333;
3518
+ white-space: nowrap;
3519
+ }
3520
+ .dropdown-menu > li > a:hover,
3521
+ .dropdown-menu > li > a:focus {
3522
+ color: #262626;
3523
+ text-decoration: none;
3524
+ background-color: #f5f5f5;
3525
+ }
3526
+ .dropdown-menu > .active > a,
3527
+ .dropdown-menu > .active > a:hover,
3528
+ .dropdown-menu > .active > a:focus {
3529
+ color: #fff;
3530
+ text-decoration: none;
3531
+ background-color: #337ab7;
3532
+ outline: 0;
3533
+ }
3534
+ .dropdown-menu > .disabled > a,
3535
+ .dropdown-menu > .disabled > a:hover,
3536
+ .dropdown-menu > .disabled > a:focus {
3537
+ color: #777;
3538
+ }
3539
+ .dropdown-menu > .disabled > a:hover,
3540
+ .dropdown-menu > .disabled > a:focus {
3541
+ text-decoration: none;
3542
+ cursor: not-allowed;
3543
+ background-color: transparent;
3544
+ background-image: none;
3545
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
3546
+ }
3547
+ .open > .dropdown-menu {
3548
+ display: block;
3549
+ }
3550
+ .open > a {
3551
+ outline: 0;
3552
+ }
3553
+ .dropdown-menu-right {
3554
+ right: 0;
3555
+ left: auto;
3556
+ }
3557
+ .dropdown-menu-left {
3558
+ right: auto;
3559
+ left: 0;
3560
+ }
3561
+ .dropdown-header {
3562
+ display: block;
3563
+ padding: 3px 20px;
3564
+ font-size: 12px;
3565
+ line-height: 1.42857143;
3566
+ color: #777;
3567
+ white-space: nowrap;
3568
+ }
3569
+ .dropdown-backdrop {
3570
+ position: fixed;
3571
+ top: 0;
3572
+ right: 0;
3573
+ bottom: 0;
3574
+ left: 0;
3575
+ z-index: 990;
3576
+ }
3577
+ .pull-right > .dropdown-menu {
3578
+ right: 0;
3579
+ left: auto;
3580
+ }
3581
+ .dropup .caret,
3582
+ .navbar-fixed-bottom .dropdown .caret {
3583
+ content: "";
3584
+ border-top: 0;
3585
+ border-bottom: 4px dashed;
3586
+ border-bottom: 4px solid \9;
3587
+ }
3588
+ .dropup .dropdown-menu,
3589
+ .navbar-fixed-bottom .dropdown .dropdown-menu {
3590
+ top: auto;
3591
+ bottom: 100%;
3592
+ margin-bottom: 2px;
3593
+ }
3594
+ @media (min-width: 768px) {
3595
+ .navbar-right .dropdown-menu {
3596
+ right: 0;
3597
+ left: auto;
3598
+ }
3599
+ .navbar-right .dropdown-menu-left {
3600
+ right: auto;
3601
+ left: 0;
3602
+ }
3603
+ }
3604
+ .btn-group,
3605
+ .btn-group-vertical {
3606
+ position: relative;
3607
+ display: inline-block;
3608
+ vertical-align: middle;
3609
+ }
3610
+ .btn-group > .btn,
3611
+ .btn-group-vertical > .btn {
3612
+ position: relative;
3613
+ float: left;
3614
+ }
3615
+ .btn-group > .btn:hover,
3616
+ .btn-group-vertical > .btn:hover,
3617
+ .btn-group > .btn:focus,
3618
+ .btn-group-vertical > .btn:focus,
3619
+ .btn-group > .btn:active,
3620
+ .btn-group-vertical > .btn:active,
3621
+ .btn-group > .btn.active,
3622
+ .btn-group-vertical > .btn.active {
3623
+ z-index: 2;
3624
+ }
3625
+ .btn-group .btn + .btn,
3626
+ .btn-group .btn + .btn-group,
3627
+ .btn-group .btn-group + .btn,
3628
+ .btn-group .btn-group + .btn-group {
3629
+ margin-left: -1px;
3630
+ }
3631
+ .btn-toolbar {
3632
+ margin-left: -5px;
3633
+ }
3634
+ .btn-toolbar .btn,
3635
+ .btn-toolbar .btn-group,
3636
+ .btn-toolbar .input-group {
3637
+ float: left;
3638
+ }
3639
+ .btn-toolbar > .btn,
3640
+ .btn-toolbar > .btn-group,
3641
+ .btn-toolbar > .input-group {
3642
+ margin-left: 5px;
3643
+ }
3644
+ .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
3645
+ border-radius: 0;
3646
+ }
3647
+ .btn-group > .btn:first-child {
3648
+ margin-left: 0;
3649
+ }
3650
+ .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
3651
+ border-top-right-radius: 0;
3652
+ border-bottom-right-radius: 0;
3653
+ }
3654
+ .btn-group > .btn:last-child:not(:first-child),
3655
+ .btn-group > .dropdown-toggle:not(:first-child) {
3656
+ border-top-left-radius: 0;
3657
+ border-bottom-left-radius: 0;
3658
+ }
3659
+ .btn-group > .btn-group {
3660
+ float: left;
3661
+ }
3662
+ .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
3663
+ border-radius: 0;
3664
+ }
3665
+ .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
3666
+ .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
3667
+ border-top-right-radius: 0;
3668
+ border-bottom-right-radius: 0;
3669
+ }
3670
+ .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
3671
+ border-top-left-radius: 0;
3672
+ border-bottom-left-radius: 0;
3673
+ }
3674
+ .btn-group .dropdown-toggle:active,
3675
+ .btn-group.open .dropdown-toggle {
3676
+ outline: 0;
3677
+ }
3678
+ .btn-group > .btn + .dropdown-toggle {
3679
+ padding-right: 8px;
3680
+ padding-left: 8px;
3681
+ }
3682
+ .btn-group > .btn-lg + .dropdown-toggle {
3683
+ padding-right: 12px;
3684
+ padding-left: 12px;
3685
+ }
3686
+ .btn-group.open .dropdown-toggle {
3687
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3688
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
3689
+ }
3690
+ .btn-group.open .dropdown-toggle.btn-link {
3691
+ -webkit-box-shadow: none;
3692
+ box-shadow: none;
3693
+ }
3694
+ .btn .caret {
3695
+ margin-left: 0;
3696
+ }
3697
+ .btn-lg .caret {
3698
+ border-width: 5px 5px 0;
3699
+ border-bottom-width: 0;
3700
+ }
3701
+ .dropup .btn-lg .caret {
3702
+ border-width: 0 5px 5px;
3703
+ }
3704
+ .btn-group-vertical > .btn,
3705
+ .btn-group-vertical > .btn-group,
3706
+ .btn-group-vertical > .btn-group > .btn {
3707
+ display: block;
3708
+ float: none;
3709
+ width: 100%;
3710
+ max-width: 100%;
3711
+ }
3712
+ .btn-group-vertical > .btn-group > .btn {
3713
+ float: none;
3714
+ }
3715
+ .btn-group-vertical > .btn + .btn,
3716
+ .btn-group-vertical > .btn + .btn-group,
3717
+ .btn-group-vertical > .btn-group + .btn,
3718
+ .btn-group-vertical > .btn-group + .btn-group {
3719
+ margin-top: -1px;
3720
+ margin-left: 0;
3721
+ }
3722
+ .btn-group-vertical > .btn:not(:first-child):not(:last-child) {
3723
+ border-radius: 0;
3724
+ }
3725
+ .btn-group-vertical > .btn:first-child:not(:last-child) {
3726
+ border-top-left-radius: 4px;
3727
+ border-top-right-radius: 4px;
3728
+ border-bottom-right-radius: 0;
3729
+ border-bottom-left-radius: 0;
3730
+ }
3731
+ .btn-group-vertical > .btn:last-child:not(:first-child) {
3732
+ border-top-left-radius: 0;
3733
+ border-top-right-radius: 0;
3734
+ border-bottom-right-radius: 4px;
3735
+ border-bottom-left-radius: 4px;
3736
+ }
3737
+ .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
3738
+ border-radius: 0;
3739
+ }
3740
+ .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
3741
+ .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
3742
+ border-bottom-right-radius: 0;
3743
+ border-bottom-left-radius: 0;
3744
+ }
3745
+ .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
3746
+ border-top-left-radius: 0;
3747
+ border-top-right-radius: 0;
3748
+ }
3749
+ .btn-group-justified {
3750
+ display: table;
3751
+ width: 100%;
3752
+ table-layout: fixed;
3753
+ border-collapse: separate;
3754
+ }
3755
+ .btn-group-justified > .btn,
3756
+ .btn-group-justified > .btn-group {
3757
+ display: table-cell;
3758
+ float: none;
3759
+ width: 1%;
3760
+ }
3761
+ .btn-group-justified > .btn-group .btn {
3762
+ width: 100%;
3763
+ }
3764
+ .btn-group-justified > .btn-group .dropdown-menu {
3765
+ left: auto;
3766
+ }
3767
+ [data-toggle="buttons"] > .btn input[type="radio"],
3768
+ [data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
3769
+ [data-toggle="buttons"] > .btn input[type="checkbox"],
3770
+ [data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
3771
+ position: absolute;
3772
+ clip: rect(0, 0, 0, 0);
3773
+ pointer-events: none;
3774
+ }
3775
+ .input-group {
3776
+ position: relative;
3777
+ display: table;
3778
+ border-collapse: separate;
3779
+ }
3780
+ .input-group[class*="col-"] {
3781
+ float: none;
3782
+ padding-right: 0;
3783
+ padding-left: 0;
3784
+ }
3785
+ .input-group .form-control {
3786
+ position: relative;
3787
+ z-index: 2;
3788
+ float: left;
3789
+ width: 100%;
3790
+ margin-bottom: 0;
3791
+ }
3792
+ .input-group .form-control:focus {
3793
+ z-index: 3;
3794
+ }
3795
+ .input-group-lg > .form-control,
3796
+ .input-group-lg > .input-group-addon,
3797
+ .input-group-lg > .input-group-btn > .btn {
3798
+ height: 46px;
3799
+ padding: 10px 16px;
3800
+ font-size: 18px;
3801
+ line-height: 1.3333333;
3802
+ border-radius: 6px;
3803
+ }
3804
+ select.input-group-lg > .form-control,
3805
+ select.input-group-lg > .input-group-addon,
3806
+ select.input-group-lg > .input-group-btn > .btn {
3807
+ height: 46px;
3808
+ line-height: 46px;
3809
+ }
3810
+ textarea.input-group-lg > .form-control,
3811
+ textarea.input-group-lg > .input-group-addon,
3812
+ textarea.input-group-lg > .input-group-btn > .btn,
3813
+ select[multiple].input-group-lg > .form-control,
3814
+ select[multiple].input-group-lg > .input-group-addon,
3815
+ select[multiple].input-group-lg > .input-group-btn > .btn {
3816
+ height: auto;
3817
+ }
3818
+ .input-group-sm > .form-control,
3819
+ .input-group-sm > .input-group-addon,
3820
+ .input-group-sm > .input-group-btn > .btn {
3821
+ height: 30px;
3822
+ padding: 5px 10px;
3823
+ font-size: 12px;
3824
+ line-height: 1.5;
3825
+ border-radius: 3px;
3826
+ }
3827
+ select.input-group-sm > .form-control,
3828
+ select.input-group-sm > .input-group-addon,
3829
+ select.input-group-sm > .input-group-btn > .btn {
3830
+ height: 30px;
3831
+ line-height: 30px;
3832
+ }
3833
+ textarea.input-group-sm > .form-control,
3834
+ textarea.input-group-sm > .input-group-addon,
3835
+ textarea.input-group-sm > .input-group-btn > .btn,
3836
+ select[multiple].input-group-sm > .form-control,
3837
+ select[multiple].input-group-sm > .input-group-addon,
3838
+ select[multiple].input-group-sm > .input-group-btn > .btn {
3839
+ height: auto;
3840
+ }
3841
+ .input-group-addon,
3842
+ .input-group-btn,
3843
+ .input-group .form-control {
3844
+ display: table-cell;
3845
+ }
3846
+ .input-group-addon:not(:first-child):not(:last-child),
3847
+ .input-group-btn:not(:first-child):not(:last-child),
3848
+ .input-group .form-control:not(:first-child):not(:last-child) {
3849
+ border-radius: 0;
3850
+ }
3851
+ .input-group-addon,
3852
+ .input-group-btn {
3853
+ width: 1%;
3854
+ white-space: nowrap;
3855
+ vertical-align: middle;
3856
+ }
3857
+ .input-group-addon {
3858
+ padding: 6px 12px;
3859
+ font-size: 14px;
3860
+ font-weight: normal;
3861
+ line-height: 1;
3862
+ color: #555;
3863
+ text-align: center;
3864
+ background-color: #eee;
3865
+ border: 1px solid #ccc;
3866
+ border-radius: 4px;
3867
+ }
3868
+ .input-group-addon.input-sm {
3869
+ padding: 5px 10px;
3870
+ font-size: 12px;
3871
+ border-radius: 3px;
3872
+ }
3873
+ .input-group-addon.input-lg {
3874
+ padding: 10px 16px;
3875
+ font-size: 18px;
3876
+ border-radius: 6px;
3877
+ }
3878
+ .input-group-addon input[type="radio"],
3879
+ .input-group-addon input[type="checkbox"] {
3880
+ margin-top: 0;
3881
+ }
3882
+ .input-group .form-control:first-child,
3883
+ .input-group-addon:first-child,
3884
+ .input-group-btn:first-child > .btn,
3885
+ .input-group-btn:first-child > .btn-group > .btn,
3886
+ .input-group-btn:first-child > .dropdown-toggle,
3887
+ .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
3888
+ .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
3889
+ border-top-right-radius: 0;
3890
+ border-bottom-right-radius: 0;
3891
+ }
3892
+ .input-group-addon:first-child {
3893
+ border-right: 0;
3894
+ }
3895
+ .input-group .form-control:last-child,
3896
+ .input-group-addon:last-child,
3897
+ .input-group-btn:last-child > .btn,
3898
+ .input-group-btn:last-child > .btn-group > .btn,
3899
+ .input-group-btn:last-child > .dropdown-toggle,
3900
+ .input-group-btn:first-child > .btn:not(:first-child),
3901
+ .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
3902
+ border-top-left-radius: 0;
3903
+ border-bottom-left-radius: 0;
3904
+ }
3905
+ .input-group-addon:last-child {
3906
+ border-left: 0;
3907
+ }
3908
+ .input-group-btn {
3909
+ position: relative;
3910
+ font-size: 0;
3911
+ white-space: nowrap;
3912
+ }
3913
+ .input-group-btn > .btn {
3914
+ position: relative;
3915
+ }
3916
+ .input-group-btn > .btn + .btn {
3917
+ margin-left: -1px;
3918
+ }
3919
+ .input-group-btn > .btn:hover,
3920
+ .input-group-btn > .btn:focus,
3921
+ .input-group-btn > .btn:active {
3922
+ z-index: 2;
3923
+ }
3924
+ .input-group-btn:first-child > .btn,
3925
+ .input-group-btn:first-child > .btn-group {
3926
+ margin-right: -1px;
3927
+ }
3928
+ .input-group-btn:last-child > .btn,
3929
+ .input-group-btn:last-child > .btn-group {
3930
+ z-index: 2;
3931
+ margin-left: -1px;
3932
+ }
3933
+ .nav {
3934
+ padding-left: 0;
3935
+ margin-bottom: 0;
3936
+ list-style: none;
3937
+ }
3938
+ .nav > li {
3939
+ position: relative;
3940
+ display: block;
3941
+ }
3942
+ .nav > li > a {
3943
+ position: relative;
3944
+ display: block;
3945
+ padding: 10px 15px;
3946
+ }
3947
+ .nav > li > a:hover,
3948
+ .nav > li > a:focus {
3949
+ text-decoration: none;
3950
+ background-color: #eee;
3951
+ }
3952
+ .nav > li.disabled > a {
3953
+ color: #777;
3954
+ }
3955
+ .nav > li.disabled > a:hover,
3956
+ .nav > li.disabled > a:focus {
3957
+ color: #777;
3958
+ text-decoration: none;
3959
+ cursor: not-allowed;
3960
+ background-color: transparent;
3961
+ }
3962
+ .nav .open > a,
3963
+ .nav .open > a:hover,
3964
+ .nav .open > a:focus {
3965
+ background-color: #eee;
3966
+ border-color: #337ab7;
3967
+ }
3968
+ .nav .nav-divider {
3969
+ height: 1px;
3970
+ margin: 9px 0;
3971
+ overflow: hidden;
3972
+ background-color: #e5e5e5;
3973
+ }
3974
+ .nav > li > a > img {
3975
+ max-width: none;
3976
+ }
3977
+ .nav-tabs {
3978
+ border-bottom: 1px solid #ddd;
3979
+ }
3980
+ .nav-tabs > li {
3981
+ float: left;
3982
+ margin-bottom: -1px;
3983
+ }
3984
+ .nav-tabs > li > a {
3985
+ margin-right: 2px;
3986
+ line-height: 1.42857143;
3987
+ border: 1px solid transparent;
3988
+ border-radius: 4px 4px 0 0;
3989
+ }
3990
+ .nav-tabs > li > a:hover {
3991
+ border-color: #eee #eee #ddd;
3992
+ }
3993
+ .nav-tabs > li.active > a,
3994
+ .nav-tabs > li.active > a:hover,
3995
+ .nav-tabs > li.active > a:focus {
3996
+ color: #555;
3997
+ cursor: default;
3998
+ background-color: #fff;
3999
+ border: 1px solid #ddd;
4000
+ border-bottom-color: transparent;
4001
+ }
4002
+ .nav-tabs.nav-justified {
4003
+ width: 100%;
4004
+ border-bottom: 0;
4005
+ }
4006
+ .nav-tabs.nav-justified > li {
4007
+ float: none;
4008
+ }
4009
+ .nav-tabs.nav-justified > li > a {
4010
+ margin-bottom: 5px;
4011
+ text-align: center;
4012
+ }
4013
+ .nav-tabs.nav-justified > .dropdown .dropdown-menu {
4014
+ top: auto;
4015
+ left: auto;
4016
+ }
4017
+ @media (min-width: 768px) {
4018
+ .nav-tabs.nav-justified > li {
4019
+ display: table-cell;
4020
+ width: 1%;
4021
+ }
4022
+ .nav-tabs.nav-justified > li > a {
4023
+ margin-bottom: 0;
4024
+ }
4025
+ }
4026
+ .nav-tabs.nav-justified > li > a {
4027
+ margin-right: 0;
4028
+ border-radius: 4px;
4029
+ }
4030
+ .nav-tabs.nav-justified > .active > a,
4031
+ .nav-tabs.nav-justified > .active > a:hover,
4032
+ .nav-tabs.nav-justified > .active > a:focus {
4033
+ border: 1px solid #ddd;
4034
+ }
4035
+ @media (min-width: 768px) {
4036
+ .nav-tabs.nav-justified > li > a {
4037
+ border-bottom: 1px solid #ddd;
4038
+ border-radius: 4px 4px 0 0;
4039
+ }
4040
+ .nav-tabs.nav-justified > .active > a,
4041
+ .nav-tabs.nav-justified > .active > a:hover,
4042
+ .nav-tabs.nav-justified > .active > a:focus {
4043
+ border-bottom-color: #fff;
4044
+ }
4045
+ }
4046
+ .nav-pills > li {
4047
+ float: left;
4048
+ }
4049
+ .nav-pills > li > a {
4050
+ border-radius: 4px;
4051
+ }
4052
+ .nav-pills > li + li {
4053
+ margin-left: 2px;
4054
+ }
4055
+ .nav-pills > li.active > a,
4056
+ .nav-pills > li.active > a:hover,
4057
+ .nav-pills > li.active > a:focus {
4058
+ color: #fff;
4059
+ background-color: #337ab7;
4060
+ }
4061
+ .nav-stacked > li {
4062
+ float: none;
4063
+ }
4064
+ .nav-stacked > li + li {
4065
+ margin-top: 2px;
4066
+ margin-left: 0;
4067
+ }
4068
+ .nav-justified {
4069
+ width: 100%;
4070
+ }
4071
+ .nav-justified > li {
4072
+ float: none;
4073
+ }
4074
+ .nav-justified > li > a {
4075
+ margin-bottom: 5px;
4076
+ text-align: center;
4077
+ }
4078
+ .nav-justified > .dropdown .dropdown-menu {
4079
+ top: auto;
4080
+ left: auto;
4081
+ }
4082
+ @media (min-width: 768px) {
4083
+ .nav-justified > li {
4084
+ display: table-cell;
4085
+ width: 1%;
4086
+ }
4087
+ .nav-justified > li > a {
4088
+ margin-bottom: 0;
4089
+ }
4090
+ }
4091
+ .nav-tabs-justified {
4092
+ border-bottom: 0;
4093
+ }
4094
+ .nav-tabs-justified > li > a {
4095
+ margin-right: 0;
4096
+ border-radius: 4px;
4097
+ }
4098
+ .nav-tabs-justified > .active > a,
4099
+ .nav-tabs-justified > .active > a:hover,
4100
+ .nav-tabs-justified > .active > a:focus {
4101
+ border: 1px solid #ddd;
4102
+ }
4103
+ @media (min-width: 768px) {
4104
+ .nav-tabs-justified > li > a {
4105
+ border-bottom: 1px solid #ddd;
4106
+ border-radius: 4px 4px 0 0;
4107
+ }
4108
+ .nav-tabs-justified > .active > a,
4109
+ .nav-tabs-justified > .active > a:hover,
4110
+ .nav-tabs-justified > .active > a:focus {
4111
+ border-bottom-color: #fff;
4112
+ }
4113
+ }
4114
+ .tab-content > .tab-pane {
4115
+ display: none;
4116
+ }
4117
+ .tab-content > .active {
4118
+ display: block;
4119
+ }
4120
+ .nav-tabs .dropdown-menu {
4121
+ margin-top: -1px;
4122
+ border-top-left-radius: 0;
4123
+ border-top-right-radius: 0;
4124
+ }
4125
+ .navbar {
4126
+ position: relative;
4127
+ min-height: 50px;
4128
+ margin-bottom: 20px;
4129
+ border: 1px solid transparent;
4130
+ }
4131
+ @media (min-width: 768px) {
4132
+ .navbar {
4133
+ border-radius: 4px;
4134
+ }
4135
+ }
4136
+ @media (min-width: 768px) {
4137
+ .navbar-header {
4138
+ float: left;
4139
+ }
4140
+ }
4141
+ .navbar-collapse {
4142
+ padding-right: 15px;
4143
+ padding-left: 15px;
4144
+ overflow-x: visible;
4145
+ -webkit-overflow-scrolling: touch;
4146
+ border-top: 1px solid transparent;
4147
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
4148
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
4149
+ }
4150
+ .navbar-collapse.in {
4151
+ overflow-y: auto;
4152
+ }
4153
+ @media (min-width: 768px) {
4154
+ .navbar-collapse {
4155
+ width: auto;
4156
+ border-top: 0;
4157
+ -webkit-box-shadow: none;
4158
+ box-shadow: none;
4159
+ }
4160
+ .navbar-collapse.collapse {
4161
+ display: block !important;
4162
+ height: auto !important;
4163
+ padding-bottom: 0;
4164
+ overflow: visible !important;
4165
+ }
4166
+ .navbar-collapse.in {
4167
+ overflow-y: visible;
4168
+ }
4169
+ .navbar-fixed-top .navbar-collapse,
4170
+ .navbar-static-top .navbar-collapse,
4171
+ .navbar-fixed-bottom .navbar-collapse {
4172
+ padding-right: 0;
4173
+ padding-left: 0;
4174
+ }
4175
+ }
4176
+ .navbar-fixed-top .navbar-collapse,
4177
+ .navbar-fixed-bottom .navbar-collapse {
4178
+ max-height: 340px;
4179
+ }
4180
+ @media (max-device-width: 480px) and (orientation: landscape) {
4181
+ .navbar-fixed-top .navbar-collapse,
4182
+ .navbar-fixed-bottom .navbar-collapse {
4183
+ max-height: 200px;
4184
+ }
4185
+ }
4186
+ .container > .navbar-header,
4187
+ .container-fluid > .navbar-header,
4188
+ .container > .navbar-collapse,
4189
+ .container-fluid > .navbar-collapse {
4190
+ margin-right: -15px;
4191
+ margin-left: -15px;
4192
+ }
4193
+ @media (min-width: 768px) {
4194
+ .container > .navbar-header,
4195
+ .container-fluid > .navbar-header,
4196
+ .container > .navbar-collapse,
4197
+ .container-fluid > .navbar-collapse {
4198
+ margin-right: 0;
4199
+ margin-left: 0;
4200
+ }
4201
+ }
4202
+ .navbar-static-top {
4203
+ z-index: 1000;
4204
+ border-width: 0 0 1px;
4205
+ }
4206
+ @media (min-width: 768px) {
4207
+ .navbar-static-top {
4208
+ border-radius: 0;
4209
+ }
4210
+ }
4211
+ .navbar-fixed-top,
4212
+ .navbar-fixed-bottom {
4213
+ position: fixed;
4214
+ right: 0;
4215
+ left: 0;
4216
+ z-index: 1030;
4217
+ }
4218
+ @media (min-width: 768px) {
4219
+ .navbar-fixed-top,
4220
+ .navbar-fixed-bottom {
4221
+ border-radius: 0;
4222
+ }
4223
+ }
4224
+ .navbar-fixed-top {
4225
+ top: 0;
4226
+ border-width: 0 0 1px;
4227
+ }
4228
+ .navbar-fixed-bottom {
4229
+ bottom: 0;
4230
+ margin-bottom: 0;
4231
+ border-width: 1px 0 0;
4232
+ }
4233
+ .navbar-brand {
4234
+ float: left;
4235
+ height: 50px;
4236
+ padding: 15px 15px;
4237
+ font-size: 18px;
4238
+ line-height: 20px;
4239
+ }
4240
+ .navbar-brand:hover,
4241
+ .navbar-brand:focus {
4242
+ text-decoration: none;
4243
+ }
4244
+ .navbar-brand > img {
4245
+ display: block;
4246
+ }
4247
+ @media (min-width: 768px) {
4248
+ .navbar > .container .navbar-brand,
4249
+ .navbar > .container-fluid .navbar-brand {
4250
+ margin-left: -15px;
4251
+ }
4252
+ }
4253
+ .navbar-toggle {
4254
+ position: relative;
4255
+ float: right;
4256
+ padding: 9px 10px;
4257
+ margin-top: 8px;
4258
+ margin-right: 15px;
4259
+ margin-bottom: 8px;
4260
+ background-color: transparent;
4261
+ background-image: none;
4262
+ border: 1px solid transparent;
4263
+ border-radius: 4px;
4264
+ }
4265
+ .navbar-toggle:focus {
4266
+ outline: 0;
4267
+ }
4268
+ .navbar-toggle .icon-bar {
4269
+ display: block;
4270
+ width: 22px;
4271
+ height: 2px;
4272
+ border-radius: 1px;
4273
+ }
4274
+ .navbar-toggle .icon-bar + .icon-bar {
4275
+ margin-top: 4px;
4276
+ }
4277
+ @media (min-width: 768px) {
4278
+ .navbar-toggle {
4279
+ display: none;
4280
+ }
4281
+ }
4282
+ .navbar-nav {
4283
+ margin: 7.5px -15px;
4284
+ }
4285
+ .navbar-nav > li > a {
4286
+ padding-top: 10px;
4287
+ padding-bottom: 10px;
4288
+ line-height: 20px;
4289
+ }
4290
+ @media (max-width: 767px) {
4291
+ .navbar-nav .open .dropdown-menu {
4292
+ position: static;
4293
+ float: none;
4294
+ width: auto;
4295
+ margin-top: 0;
4296
+ background-color: transparent;
4297
+ border: 0;
4298
+ -webkit-box-shadow: none;
4299
+ box-shadow: none;
4300
+ }
4301
+ .navbar-nav .open .dropdown-menu > li > a,
4302
+ .navbar-nav .open .dropdown-menu .dropdown-header {
4303
+ padding: 5px 15px 5px 25px;
4304
+ }
4305
+ .navbar-nav .open .dropdown-menu > li > a {
4306
+ line-height: 20px;
4307
+ }
4308
+ .navbar-nav .open .dropdown-menu > li > a:hover,
4309
+ .navbar-nav .open .dropdown-menu > li > a:focus {
4310
+ background-image: none;
4311
+ }
4312
+ }
4313
+ @media (min-width: 768px) {
4314
+ .navbar-nav {
4315
+ float: left;
4316
+ margin: 0;
4317
+ }
4318
+ .navbar-nav > li {
4319
+ float: left;
4320
+ }
4321
+ .navbar-nav > li > a {
4322
+ padding-top: 15px;
4323
+ padding-bottom: 15px;
4324
+ }
4325
+ }
4326
+ .navbar-form {
4327
+ padding: 10px 15px;
4328
+ margin-top: 8px;
4329
+ margin-right: -15px;
4330
+ margin-bottom: 8px;
4331
+ margin-left: -15px;
4332
+ border-top: 1px solid transparent;
4333
+ border-bottom: 1px solid transparent;
4334
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
4335
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
4336
+ }
4337
+ @media (min-width: 768px) {
4338
+ .navbar-form .form-group {
4339
+ display: inline-block;
4340
+ margin-bottom: 0;
4341
+ vertical-align: middle;
4342
+ }
4343
+ .navbar-form .form-control {
4344
+ display: inline-block;
4345
+ width: auto;
4346
+ vertical-align: middle;
4347
+ }
4348
+ .navbar-form .form-control-static {
4349
+ display: inline-block;
4350
+ }
4351
+ .navbar-form .input-group {
4352
+ display: inline-table;
4353
+ vertical-align: middle;
4354
+ }
4355
+ .navbar-form .input-group .input-group-addon,
4356
+ .navbar-form .input-group .input-group-btn,
4357
+ .navbar-form .input-group .form-control {
4358
+ width: auto;
4359
+ }
4360
+ .navbar-form .input-group > .form-control {
4361
+ width: 100%;
4362
+ }
4363
+ .navbar-form .control-label {
4364
+ margin-bottom: 0;
4365
+ vertical-align: middle;
4366
+ }
4367
+ .navbar-form .radio,
4368
+ .navbar-form .checkbox {
4369
+ display: inline-block;
4370
+ margin-top: 0;
4371
+ margin-bottom: 0;
4372
+ vertical-align: middle;
4373
+ }
4374
+ .navbar-form .radio label,
4375
+ .navbar-form .checkbox label {
4376
+ padding-left: 0;
4377
+ }
4378
+ .navbar-form .radio input[type="radio"],
4379
+ .navbar-form .checkbox input[type="checkbox"] {
4380
+ position: relative;
4381
+ margin-left: 0;
4382
+ }
4383
+ .navbar-form .has-feedback .form-control-feedback {
4384
+ top: 0;
4385
+ }
4386
+ }
4387
+ @media (max-width: 767px) {
4388
+ .navbar-form .form-group {
4389
+ margin-bottom: 5px;
4390
+ }
4391
+ .navbar-form .form-group:last-child {
4392
+ margin-bottom: 0;
4393
+ }
4394
+ }
4395
+ @media (min-width: 768px) {
4396
+ .navbar-form {
4397
+ width: auto;
4398
+ padding-top: 0;
4399
+ padding-bottom: 0;
4400
+ margin-right: 0;
4401
+ margin-left: 0;
4402
+ border: 0;
4403
+ -webkit-box-shadow: none;
4404
+ box-shadow: none;
4405
+ }
4406
+ }
4407
+ .navbar-nav > li > .dropdown-menu {
4408
+ margin-top: 0;
4409
+ border-top-left-radius: 0;
4410
+ border-top-right-radius: 0;
4411
+ }
4412
+ .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
4413
+ margin-bottom: 0;
4414
+ border-top-left-radius: 4px;
4415
+ border-top-right-radius: 4px;
4416
+ border-bottom-right-radius: 0;
4417
+ border-bottom-left-radius: 0;
4418
+ }
4419
+ .navbar-btn {
4420
+ margin-top: 8px;
4421
+ margin-bottom: 8px;
4422
+ }
4423
+ .navbar-btn.btn-sm {
4424
+ margin-top: 10px;
4425
+ margin-bottom: 10px;
4426
+ }
4427
+ .navbar-btn.btn-xs {
4428
+ margin-top: 14px;
4429
+ margin-bottom: 14px;
4430
+ }
4431
+ .navbar-text {
4432
+ margin-top: 15px;
4433
+ margin-bottom: 15px;
4434
+ }
4435
+ @media (min-width: 768px) {
4436
+ .navbar-text {
4437
+ float: left;
4438
+ margin-right: 15px;
4439
+ margin-left: 15px;
4440
+ }
4441
+ }
4442
+ @media (min-width: 768px) {
4443
+ .navbar-left {
4444
+ float: left !important;
4445
+ }
4446
+ .navbar-right {
4447
+ float: right !important;
4448
+ margin-right: -15px;
4449
+ }
4450
+ .navbar-right ~ .navbar-right {
4451
+ margin-right: 0;
4452
+ }
4453
+ }
4454
+ .navbar-default {
4455
+ background-color: #f8f8f8;
4456
+ border-color: #e7e7e7;
4457
+ }
4458
+ .navbar-default .navbar-brand {
4459
+ color: #777;
4460
+ }
4461
+ .navbar-default .navbar-brand:hover,
4462
+ .navbar-default .navbar-brand:focus {
4463
+ color: #5e5e5e;
4464
+ background-color: transparent;
4465
+ }
4466
+ .navbar-default .navbar-text {
4467
+ color: #777;
4468
+ }
4469
+ .navbar-default .navbar-nav > li > a {
4470
+ color: #777;
4471
+ }
4472
+ .navbar-default .navbar-nav > li > a:hover,
4473
+ .navbar-default .navbar-nav > li > a:focus {
4474
+ color: #333;
4475
+ background-color: transparent;
4476
+ }
4477
+ .navbar-default .navbar-nav > .active > a,
4478
+ .navbar-default .navbar-nav > .active > a:hover,
4479
+ .navbar-default .navbar-nav > .active > a:focus {
4480
+ color: #555;
4481
+ background-color: #e7e7e7;
4482
+ }
4483
+ .navbar-default .navbar-nav > .disabled > a,
4484
+ .navbar-default .navbar-nav > .disabled > a:hover,
4485
+ .navbar-default .navbar-nav > .disabled > a:focus {
4486
+ color: #ccc;
4487
+ background-color: transparent;
4488
+ }
4489
+ .navbar-default .navbar-toggle {
4490
+ border-color: #ddd;
4491
+ }
4492
+ .navbar-default .navbar-toggle:hover,
4493
+ .navbar-default .navbar-toggle:focus {
4494
+ background-color: #ddd;
4495
+ }
4496
+ .navbar-default .navbar-toggle .icon-bar {
4497
+ background-color: #888;
4498
+ }
4499
+ .navbar-default .navbar-collapse,
4500
+ .navbar-default .navbar-form {
4501
+ border-color: #e7e7e7;
4502
+ }
4503
+ .navbar-default .navbar-nav > .open > a,
4504
+ .navbar-default .navbar-nav > .open > a:hover,
4505
+ .navbar-default .navbar-nav > .open > a:focus {
4506
+ color: #555;
4507
+ background-color: #e7e7e7;
4508
+ }
4509
+ @media (max-width: 767px) {
4510
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a {
4511
+ color: #777;
4512
+ }
4513
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
4514
+ .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
4515
+ color: #333;
4516
+ background-color: transparent;
4517
+ }
4518
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
4519
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
4520
+ .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
4521
+ color: #555;
4522
+ background-color: #e7e7e7;
4523
+ }
4524
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
4525
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
4526
+ .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
4527
+ color: #ccc;
4528
+ background-color: transparent;
4529
+ }
4530
+ }
4531
+ .navbar-default .navbar-link {
4532
+ color: #777;
4533
+ }
4534
+ .navbar-default .navbar-link:hover {
4535
+ color: #333;
4536
+ }
4537
+ .navbar-default .btn-link {
4538
+ color: #777;
4539
+ }
4540
+ .navbar-default .btn-link:hover,
4541
+ .navbar-default .btn-link:focus {
4542
+ color: #333;
4543
+ }
4544
+ .navbar-default .btn-link[disabled]:hover,
4545
+ fieldset[disabled] .navbar-default .btn-link:hover,
4546
+ .navbar-default .btn-link[disabled]:focus,
4547
+ fieldset[disabled] .navbar-default .btn-link:focus {
4548
+ color: #ccc;
4549
+ }
4550
+ .navbar-inverse {
4551
+ background-color: #222;
4552
+ border-color: #080808;
4553
+ }
4554
+ .navbar-inverse .navbar-brand {
4555
+ color: #9d9d9d;
4556
+ }
4557
+ .navbar-inverse .navbar-brand:hover,
4558
+ .navbar-inverse .navbar-brand:focus {
4559
+ color: #fff;
4560
+ background-color: transparent;
4561
+ }
4562
+ .navbar-inverse .navbar-text {
4563
+ color: #9d9d9d;
4564
+ }
4565
+ .navbar-inverse .navbar-nav > li > a {
4566
+ color: #9d9d9d;
4567
+ }
4568
+ .navbar-inverse .navbar-nav > li > a:hover,
4569
+ .navbar-inverse .navbar-nav > li > a:focus {
4570
+ color: #fff;
4571
+ background-color: transparent;
4572
+ }
4573
+ .navbar-inverse .navbar-nav > .active > a,
4574
+ .navbar-inverse .navbar-nav > .active > a:hover,
4575
+ .navbar-inverse .navbar-nav > .active > a:focus {
4576
+ color: #fff;
4577
+ background-color: #080808;
4578
+ }
4579
+ .navbar-inverse .navbar-nav > .disabled > a,
4580
+ .navbar-inverse .navbar-nav > .disabled > a:hover,
4581
+ .navbar-inverse .navbar-nav > .disabled > a:focus {
4582
+ color: #444;
4583
+ background-color: transparent;
4584
+ }
4585
+ .navbar-inverse .navbar-toggle {
4586
+ border-color: #333;
4587
+ }
4588
+ .navbar-inverse .navbar-toggle:hover,
4589
+ .navbar-inverse .navbar-toggle:focus {
4590
+ background-color: #333;
4591
+ }
4592
+ .navbar-inverse .navbar-toggle .icon-bar {
4593
+ background-color: #fff;
4594
+ }
4595
+ .navbar-inverse .navbar-collapse,
4596
+ .navbar-inverse .navbar-form {
4597
+ border-color: #101010;
4598
+ }
4599
+ .navbar-inverse .navbar-nav > .open > a,
4600
+ .navbar-inverse .navbar-nav > .open > a:hover,
4601
+ .navbar-inverse .navbar-nav > .open > a:focus {
4602
+ color: #fff;
4603
+ background-color: #080808;
4604
+ }
4605
+ @media (max-width: 767px) {
4606
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
4607
+ border-color: #080808;
4608
+ }
4609
+ .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
4610
+ background-color: #080808;
4611
+ }
4612
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
4613
+ color: #9d9d9d;
4614
+ }
4615
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
4616
+ .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
4617
+ color: #fff;
4618
+ background-color: transparent;
4619
+ }
4620
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
4621
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
4622
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
4623
+ color: #fff;
4624
+ background-color: #080808;
4625
+ }
4626
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
4627
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
4628
+ .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
4629
+ color: #444;
4630
+ background-color: transparent;
4631
+ }
4632
+ }
4633
+ .navbar-inverse .navbar-link {
4634
+ color: #9d9d9d;
4635
+ }
4636
+ .navbar-inverse .navbar-link:hover {
4637
+ color: #fff;
4638
+ }
4639
+ .navbar-inverse .btn-link {
4640
+ color: #9d9d9d;
4641
+ }
4642
+ .navbar-inverse .btn-link:hover,
4643
+ .navbar-inverse .btn-link:focus {
4644
+ color: #fff;
4645
+ }
4646
+ .navbar-inverse .btn-link[disabled]:hover,
4647
+ fieldset[disabled] .navbar-inverse .btn-link:hover,
4648
+ .navbar-inverse .btn-link[disabled]:focus,
4649
+ fieldset[disabled] .navbar-inverse .btn-link:focus {
4650
+ color: #444;
4651
+ }
4652
+ .breadcrumb {
4653
+ padding: 8px 15px;
4654
+ margin-bottom: 20px;
4655
+ list-style: none;
4656
+ background-color: #f5f5f5;
4657
+ border-radius: 4px;
4658
+ }
4659
+ .breadcrumb > li {
4660
+ display: inline-block;
4661
+ }
4662
+ .breadcrumb > li + li:before {
4663
+ padding: 0 5px;
4664
+ color: #ccc;
4665
+ content: "/\00a0";
4666
+ }
4667
+ .breadcrumb > .active {
4668
+ color: #777;
4669
+ }
4670
+ .pagination {
4671
+ display: inline-block;
4672
+ padding-left: 0;
4673
+ margin: 20px 0;
4674
+ border-radius: 4px;
4675
+ }
4676
+ .pagination > li {
4677
+ display: inline;
4678
+ }
4679
+ .pagination > li > a,
4680
+ .pagination > li > span {
4681
+ position: relative;
4682
+ float: left;
4683
+ padding: 6px 12px;
4684
+ margin-left: -1px;
4685
+ line-height: 1.42857143;
4686
+ color: #337ab7;
4687
+ text-decoration: none;
4688
+ background-color: #fff;
4689
+ border: 1px solid #ddd;
4690
+ }
4691
+ .pagination > li:first-child > a,
4692
+ .pagination > li:first-child > span {
4693
+ margin-left: 0;
4694
+ border-top-left-radius: 4px;
4695
+ border-bottom-left-radius: 4px;
4696
+ }
4697
+ .pagination > li:last-child > a,
4698
+ .pagination > li:last-child > span {
4699
+ border-top-right-radius: 4px;
4700
+ border-bottom-right-radius: 4px;
4701
+ }
4702
+ .pagination > li > a:hover,
4703
+ .pagination > li > span:hover,
4704
+ .pagination > li > a:focus,
4705
+ .pagination > li > span:focus {
4706
+ z-index: 2;
4707
+ color: #23527c;
4708
+ background-color: #eee;
4709
+ border-color: #ddd;
4710
+ }
4711
+ .pagination > .active > a,
4712
+ .pagination > .active > span,
4713
+ .pagination > .active > a:hover,
4714
+ .pagination > .active > span:hover,
4715
+ .pagination > .active > a:focus,
4716
+ .pagination > .active > span:focus {
4717
+ z-index: 3;
4718
+ color: #fff;
4719
+ cursor: default;
4720
+ background-color: #337ab7;
4721
+ border-color: #337ab7;
4722
+ }
4723
+ .pagination > .disabled > span,
4724
+ .pagination > .disabled > span:hover,
4725
+ .pagination > .disabled > span:focus,
4726
+ .pagination > .disabled > a,
4727
+ .pagination > .disabled > a:hover,
4728
+ .pagination > .disabled > a:focus {
4729
+ color: #777;
4730
+ cursor: not-allowed;
4731
+ background-color: #fff;
4732
+ border-color: #ddd;
4733
+ }
4734
+ .pagination-lg > li > a,
4735
+ .pagination-lg > li > span {
4736
+ padding: 10px 16px;
4737
+ font-size: 18px;
4738
+ line-height: 1.3333333;
4739
+ }
4740
+ .pagination-lg > li:first-child > a,
4741
+ .pagination-lg > li:first-child > span {
4742
+ border-top-left-radius: 6px;
4743
+ border-bottom-left-radius: 6px;
4744
+ }
4745
+ .pagination-lg > li:last-child > a,
4746
+ .pagination-lg > li:last-child > span {
4747
+ border-top-right-radius: 6px;
4748
+ border-bottom-right-radius: 6px;
4749
+ }
4750
+ .pagination-sm > li > a,
4751
+ .pagination-sm > li > span {
4752
+ padding: 5px 10px;
4753
+ font-size: 12px;
4754
+ line-height: 1.5;
4755
+ }
4756
+ .pagination-sm > li:first-child > a,
4757
+ .pagination-sm > li:first-child > span {
4758
+ border-top-left-radius: 3px;
4759
+ border-bottom-left-radius: 3px;
4760
+ }
4761
+ .pagination-sm > li:last-child > a,
4762
+ .pagination-sm > li:last-child > span {
4763
+ border-top-right-radius: 3px;
4764
+ border-bottom-right-radius: 3px;
4765
+ }
4766
+ .pager {
4767
+ padding-left: 0;
4768
+ margin: 20px 0;
4769
+ text-align: center;
4770
+ list-style: none;
4771
+ }
4772
+ .pager li {
4773
+ display: inline;
4774
+ }
4775
+ .pager li > a,
4776
+ .pager li > span {
4777
+ display: inline-block;
4778
+ padding: 5px 14px;
4779
+ background-color: #fff;
4780
+ border: 1px solid #ddd;
4781
+ border-radius: 15px;
4782
+ }
4783
+ .pager li > a:hover,
4784
+ .pager li > a:focus {
4785
+ text-decoration: none;
4786
+ background-color: #eee;
4787
+ }
4788
+ .pager .next > a,
4789
+ .pager .next > span {
4790
+ float: right;
4791
+ }
4792
+ .pager .previous > a,
4793
+ .pager .previous > span {
4794
+ float: left;
4795
+ }
4796
+ .pager .disabled > a,
4797
+ .pager .disabled > a:hover,
4798
+ .pager .disabled > a:focus,
4799
+ .pager .disabled > span {
4800
+ color: #777;
4801
+ cursor: not-allowed;
4802
+ background-color: #fff;
4803
+ }
4804
+ .label {
4805
+ display: inline;
4806
+ padding: .2em .6em .3em;
4807
+ font-size: 75%;
4808
+ font-weight: bold;
4809
+ line-height: 1;
4810
+ color: #fff;
4811
+ text-align: center;
4812
+ white-space: nowrap;
4813
+ vertical-align: baseline;
4814
+ border-radius: .25em;
4815
+ }
4816
+ a.label:hover,
4817
+ a.label:focus {
4818
+ color: #fff;
4819
+ text-decoration: none;
4820
+ cursor: pointer;
4821
+ }
4822
+ .label:empty {
4823
+ display: none;
4824
+ }
4825
+ .btn .label {
4826
+ position: relative;
4827
+ top: -1px;
4828
+ }
4829
+ .label-default {
4830
+ background-color: #777;
4831
+ }
4832
+ .label-default[href]:hover,
4833
+ .label-default[href]:focus {
4834
+ background-color: #5e5e5e;
4835
+ }
4836
+ .label-primary {
4837
+ background-color: #337ab7;
4838
+ }
4839
+ .label-primary[href]:hover,
4840
+ .label-primary[href]:focus {
4841
+ background-color: #286090;
4842
+ }
4843
+ .label-success {
4844
+ background-color: #5cb85c;
4845
+ }
4846
+ .label-success[href]:hover,
4847
+ .label-success[href]:focus {
4848
+ background-color: #449d44;
4849
+ }
4850
+ .label-info {
4851
+ background-color: #5bc0de;
4852
+ }
4853
+ .label-info[href]:hover,
4854
+ .label-info[href]:focus {
4855
+ background-color: #31b0d5;
4856
+ }
4857
+ .label-warning {
4858
+ background-color: #f0ad4e;
4859
+ }
4860
+ .label-warning[href]:hover,
4861
+ .label-warning[href]:focus {
4862
+ background-color: #ec971f;
4863
+ }
4864
+ .label-danger {
4865
+ background-color: #d9534f;
4866
+ }
4867
+ .label-danger[href]:hover,
4868
+ .label-danger[href]:focus {
4869
+ background-color: #c9302c;
4870
+ }
4871
+ .badge {
4872
+ display: inline-block;
4873
+ min-width: 10px;
4874
+ padding: 3px 7px;
4875
+ font-size: 12px;
4876
+ font-weight: bold;
4877
+ line-height: 1;
4878
+ color: #fff;
4879
+ text-align: center;
4880
+ white-space: nowrap;
4881
+ vertical-align: middle;
4882
+ background-color: #777;
4883
+ border-radius: 10px;
4884
+ }
4885
+ .badge:empty {
4886
+ display: none;
4887
+ }
4888
+ .btn .badge {
4889
+ position: relative;
4890
+ top: -1px;
4891
+ }
4892
+ .btn-xs .badge,
4893
+ .btn-group-xs > .btn .badge {
4894
+ top: 0;
4895
+ padding: 1px 5px;
4896
+ }
4897
+ a.badge:hover,
4898
+ a.badge:focus {
4899
+ color: #fff;
4900
+ text-decoration: none;
4901
+ cursor: pointer;
4902
+ }
4903
+ .list-group-item.active > .badge,
4904
+ .nav-pills > .active > a > .badge {
4905
+ color: #337ab7;
4906
+ background-color: #fff;
4907
+ }
4908
+ .list-group-item > .badge {
4909
+ float: right;
4910
+ }
4911
+ .list-group-item > .badge + .badge {
4912
+ margin-right: 5px;
4913
+ }
4914
+ .nav-pills > li > a > .badge {
4915
+ margin-left: 3px;
4916
+ }
4917
+ .jumbotron {
4918
+ padding-top: 30px;
4919
+ padding-bottom: 30px;
4920
+ margin-bottom: 30px;
4921
+ color: inherit;
4922
+ background-color: #eee;
4923
+ }
4924
+ .jumbotron h1,
4925
+ .jumbotron .h1 {
4926
+ color: inherit;
4927
+ }
4928
+ .jumbotron p {
4929
+ margin-bottom: 15px;
4930
+ font-size: 21px;
4931
+ font-weight: 200;
4932
+ }
4933
+ .jumbotron > hr {
4934
+ border-top-color: #d5d5d5;
4935
+ }
4936
+ .container .jumbotron,
4937
+ .container-fluid .jumbotron {
4938
+ padding-right: 15px;
4939
+ padding-left: 15px;
4940
+ border-radius: 6px;
4941
+ }
4942
+ .jumbotron .container {
4943
+ max-width: 100%;
4944
+ }
4945
+ @media screen and (min-width: 768px) {
4946
+ .jumbotron {
4947
+ padding-top: 48px;
4948
+ padding-bottom: 48px;
4949
+ }
4950
+ .container .jumbotron,
4951
+ .container-fluid .jumbotron {
4952
+ padding-right: 60px;
4953
+ padding-left: 60px;
4954
+ }
4955
+ .jumbotron h1,
4956
+ .jumbotron .h1 {
4957
+ font-size: 63px;
4958
+ }
4959
+ }
4960
+ .thumbnail {
4961
+ display: block;
4962
+ padding: 4px;
4963
+ margin-bottom: 20px;
4964
+ line-height: 1.42857143;
4965
+ background-color: #fff;
4966
+ border: 1px solid #ddd;
4967
+ border-radius: 4px;
4968
+ -webkit-transition: border .2s ease-in-out;
4969
+ -o-transition: border .2s ease-in-out;
4970
+ transition: border .2s ease-in-out;
4971
+ }
4972
+ .thumbnail > img,
4973
+ .thumbnail a > img {
4974
+ margin-right: auto;
4975
+ margin-left: auto;
4976
+ }
4977
+ a.thumbnail:hover,
4978
+ a.thumbnail:focus,
4979
+ a.thumbnail.active {
4980
+ border-color: #337ab7;
4981
+ }
4982
+ .thumbnail .caption {
4983
+ padding: 9px;
4984
+ color: #333;
4985
+ }
4986
+ .alert {
4987
+ padding: 15px;
4988
+ margin-bottom: 20px;
4989
+ border: 1px solid transparent;
4990
+ border-radius: 4px;
4991
+ }
4992
+ .alert h4 {
4993
+ margin-top: 0;
4994
+ color: inherit;
4995
+ }
4996
+ .alert .alert-link {
4997
+ font-weight: bold;
4998
+ }
4999
+ .alert > p,
5000
+ .alert > ul {
5001
+ margin-bottom: 0;
5002
+ }
5003
+ .alert > p + p {
5004
+ margin-top: 5px;
5005
+ }
5006
+ .alert-dismissable,
5007
+ .alert-dismissible {
5008
+ padding-right: 35px;
5009
+ }
5010
+ .alert-dismissable .close,
5011
+ .alert-dismissible .close {
5012
+ position: relative;
5013
+ top: -2px;
5014
+ right: -21px;
5015
+ color: inherit;
5016
+ }
5017
+ .alert-success {
5018
+ color: #3c763d;
5019
+ background-color: #dff0d8;
5020
+ border-color: #d6e9c6;
5021
+ }
5022
+ .alert-success hr {
5023
+ border-top-color: #c9e2b3;
5024
+ }
5025
+ .alert-success .alert-link {
5026
+ color: #2b542c;
5027
+ }
5028
+ .alert-info {
5029
+ color: #31708f;
5030
+ background-color: #d9edf7;
5031
+ border-color: #bce8f1;
5032
+ }
5033
+ .alert-info hr {
5034
+ border-top-color: #a6e1ec;
5035
+ }
5036
+ .alert-info .alert-link {
5037
+ color: #245269;
5038
+ }
5039
+ .alert-warning {
5040
+ color: #8a6d3b;
5041
+ background-color: #fcf8e3;
5042
+ border-color: #faebcc;
5043
+ }
5044
+ .alert-warning hr {
5045
+ border-top-color: #f7e1b5;
5046
+ }
5047
+ .alert-warning .alert-link {
5048
+ color: #66512c;
5049
+ }
5050
+ .alert-danger {
5051
+ color: #a94442;
5052
+ background-color: #f2dede;
5053
+ border-color: #ebccd1;
5054
+ }
5055
+ .alert-danger hr {
5056
+ border-top-color: #e4b9c0;
5057
+ }
5058
+ .alert-danger .alert-link {
5059
+ color: #843534;
5060
+ }
5061
+ @-webkit-keyframes progress-bar-stripes {
5062
+ from {
5063
+ background-position: 40px 0;
5064
+ }
5065
+ to {
5066
+ background-position: 0 0;
5067
+ }
5068
+ }
5069
+ @-o-keyframes progress-bar-stripes {
5070
+ from {
5071
+ background-position: 40px 0;
5072
+ }
5073
+ to {
5074
+ background-position: 0 0;
5075
+ }
5076
+ }
5077
+ @keyframes progress-bar-stripes {
5078
+ from {
5079
+ background-position: 40px 0;
5080
+ }
5081
+ to {
5082
+ background-position: 0 0;
5083
+ }
5084
+ }
5085
+ .progress {
5086
+ height: 20px;
5087
+ margin-bottom: 20px;
5088
+ overflow: hidden;
5089
+ background-color: #f5f5f5;
5090
+ border-radius: 4px;
5091
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
5092
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
5093
+ }
5094
+ .progress-bar {
5095
+ float: left;
5096
+ width: 0;
5097
+ height: 100%;
5098
+ font-size: 12px;
5099
+ line-height: 20px;
5100
+ color: #fff;
5101
+ text-align: center;
5102
+ background-color: #337ab7;
5103
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
5104
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
5105
+ -webkit-transition: width .6s ease;
5106
+ -o-transition: width .6s ease;
5107
+ transition: width .6s ease;
5108
+ }
5109
+ .progress-striped .progress-bar,
5110
+ .progress-bar-striped {
5111
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5112
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5113
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5114
+ -webkit-background-size: 40px 40px;
5115
+ background-size: 40px 40px;
5116
+ }
5117
+ .progress.active .progress-bar,
5118
+ .progress-bar.active {
5119
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
5120
+ -o-animation: progress-bar-stripes 2s linear infinite;
5121
+ animation: progress-bar-stripes 2s linear infinite;
5122
+ }
5123
+ .progress-bar-success {
5124
+ background-color: #5cb85c;
5125
+ }
5126
+ .progress-striped .progress-bar-success {
5127
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5128
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5129
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5130
+ }
5131
+ .progress-bar-info {
5132
+ background-color: #5bc0de;
5133
+ }
5134
+ .progress-striped .progress-bar-info {
5135
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5136
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5137
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5138
+ }
5139
+ .progress-bar-warning {
5140
+ background-color: #f0ad4e;
5141
+ }
5142
+ .progress-striped .progress-bar-warning {
5143
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5144
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5145
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5146
+ }
5147
+ .progress-bar-danger {
5148
+ background-color: #d9534f;
5149
+ }
5150
+ .progress-striped .progress-bar-danger {
5151
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5152
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5153
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
5154
+ }
5155
+ .media {
5156
+ margin-top: 15px;
5157
+ }
5158
+ .media:first-child {
5159
+ margin-top: 0;
5160
+ }
5161
+ .media,
5162
+ .media-body {
5163
+ overflow: hidden;
5164
+ zoom: 1;
5165
+ }
5166
+ .media-body {
5167
+ width: 10000px;
5168
+ }
5169
+ .media-object {
5170
+ display: block;
5171
+ }
5172
+ .media-object.img-thumbnail {
5173
+ max-width: none;
5174
+ }
5175
+ .media-right,
5176
+ .media > .pull-right {
5177
+ padding-left: 10px;
5178
+ }
5179
+ .media-left,
5180
+ .media > .pull-left {
5181
+ padding-right: 10px;
5182
+ }
5183
+ .media-left,
5184
+ .media-right,
5185
+ .media-body {
5186
+ display: table-cell;
5187
+ vertical-align: top;
5188
+ }
5189
+ .media-middle {
5190
+ vertical-align: middle;
5191
+ }
5192
+ .media-bottom {
5193
+ vertical-align: bottom;
5194
+ }
5195
+ .media-heading {
5196
+ margin-top: 0;
5197
+ margin-bottom: 5px;
5198
+ }
5199
+ .media-list {
5200
+ padding-left: 0;
5201
+ list-style: none;
5202
+ }
5203
+ .list-group {
5204
+ padding-left: 0;
5205
+ margin-bottom: 20px;
5206
+ }
5207
+ .list-group-item {
5208
+ position: relative;
5209
+ display: block;
5210
+ padding: 10px 15px;
5211
+ margin-bottom: -1px;
5212
+ background-color: #fff;
5213
+ border: 1px solid #ddd;
5214
+ }
5215
+ .list-group-item:first-child {
5216
+ border-top-left-radius: 4px;
5217
+ border-top-right-radius: 4px;
5218
+ }
5219
+ .list-group-item:last-child {
5220
+ margin-bottom: 0;
5221
+ border-bottom-right-radius: 4px;
5222
+ border-bottom-left-radius: 4px;
5223
+ }
5224
+ a.list-group-item,
5225
+ button.list-group-item {
5226
+ color: #555;
5227
+ }
5228
+ a.list-group-item .list-group-item-heading,
5229
+ button.list-group-item .list-group-item-heading {
5230
+ color: #333;
5231
+ }
5232
+ a.list-group-item:hover,
5233
+ button.list-group-item:hover,
5234
+ a.list-group-item:focus,
5235
+ button.list-group-item:focus {
5236
+ color: #555;
5237
+ text-decoration: none;
5238
+ background-color: #f5f5f5;
5239
+ }
5240
+ button.list-group-item {
5241
+ width: 100%;
5242
+ text-align: left;
5243
+ }
5244
+ .list-group-item.disabled,
5245
+ .list-group-item.disabled:hover,
5246
+ .list-group-item.disabled:focus {
5247
+ color: #777;
5248
+ cursor: not-allowed;
5249
+ background-color: #eee;
5250
+ }
5251
+ .list-group-item.disabled .list-group-item-heading,
5252
+ .list-group-item.disabled:hover .list-group-item-heading,
5253
+ .list-group-item.disabled:focus .list-group-item-heading {
5254
+ color: inherit;
5255
+ }
5256
+ .list-group-item.disabled .list-group-item-text,
5257
+ .list-group-item.disabled:hover .list-group-item-text,
5258
+ .list-group-item.disabled:focus .list-group-item-text {
5259
+ color: #777;
5260
+ }
5261
+ .list-group-item.active,
5262
+ .list-group-item.active:hover,
5263
+ .list-group-item.active:focus {
5264
+ z-index: 2;
5265
+ color: #fff;
5266
+ background-color: #337ab7;
5267
+ border-color: #337ab7;
5268
+ }
5269
+ .list-group-item.active .list-group-item-heading,
5270
+ .list-group-item.active:hover .list-group-item-heading,
5271
+ .list-group-item.active:focus .list-group-item-heading,
5272
+ .list-group-item.active .list-group-item-heading > small,
5273
+ .list-group-item.active:hover .list-group-item-heading > small,
5274
+ .list-group-item.active:focus .list-group-item-heading > small,
5275
+ .list-group-item.active .list-group-item-heading > .small,
5276
+ .list-group-item.active:hover .list-group-item-heading > .small,
5277
+ .list-group-item.active:focus .list-group-item-heading > .small {
5278
+ color: inherit;
5279
+ }
5280
+ .list-group-item.active .list-group-item-text,
5281
+ .list-group-item.active:hover .list-group-item-text,
5282
+ .list-group-item.active:focus .list-group-item-text {
5283
+ color: #c7ddef;
5284
+ }
5285
+ .list-group-item-success {
5286
+ color: #3c763d;
5287
+ background-color: #dff0d8;
5288
+ }
5289
+ a.list-group-item-success,
5290
+ button.list-group-item-success {
5291
+ color: #3c763d;
5292
+ }
5293
+ a.list-group-item-success .list-group-item-heading,
5294
+ button.list-group-item-success .list-group-item-heading {
5295
+ color: inherit;
5296
+ }
5297
+ a.list-group-item-success:hover,
5298
+ button.list-group-item-success:hover,
5299
+ a.list-group-item-success:focus,
5300
+ button.list-group-item-success:focus {
5301
+ color: #3c763d;
5302
+ background-color: #d0e9c6;
5303
+ }
5304
+ a.list-group-item-success.active,
5305
+ button.list-group-item-success.active,
5306
+ a.list-group-item-success.active:hover,
5307
+ button.list-group-item-success.active:hover,
5308
+ a.list-group-item-success.active:focus,
5309
+ button.list-group-item-success.active:focus {
5310
+ color: #fff;
5311
+ background-color: #3c763d;
5312
+ border-color: #3c763d;
5313
+ }
5314
+ .list-group-item-info {
5315
+ color: #31708f;
5316
+ background-color: #d9edf7;
5317
+ }
5318
+ a.list-group-item-info,
5319
+ button.list-group-item-info {
5320
+ color: #31708f;
5321
+ }
5322
+ a.list-group-item-info .list-group-item-heading,
5323
+ button.list-group-item-info .list-group-item-heading {
5324
+ color: inherit;
5325
+ }
5326
+ a.list-group-item-info:hover,
5327
+ button.list-group-item-info:hover,
5328
+ a.list-group-item-info:focus,
5329
+ button.list-group-item-info:focus {
5330
+ color: #31708f;
5331
+ background-color: #c4e3f3;
5332
+ }
5333
+ a.list-group-item-info.active,
5334
+ button.list-group-item-info.active,
5335
+ a.list-group-item-info.active:hover,
5336
+ button.list-group-item-info.active:hover,
5337
+ a.list-group-item-info.active:focus,
5338
+ button.list-group-item-info.active:focus {
5339
+ color: #fff;
5340
+ background-color: #31708f;
5341
+ border-color: #31708f;
5342
+ }
5343
+ .list-group-item-warning {
5344
+ color: #8a6d3b;
5345
+ background-color: #fcf8e3;
5346
+ }
5347
+ a.list-group-item-warning,
5348
+ button.list-group-item-warning {
5349
+ color: #8a6d3b;
5350
+ }
5351
+ a.list-group-item-warning .list-group-item-heading,
5352
+ button.list-group-item-warning .list-group-item-heading {
5353
+ color: inherit;
5354
+ }
5355
+ a.list-group-item-warning:hover,
5356
+ button.list-group-item-warning:hover,
5357
+ a.list-group-item-warning:focus,
5358
+ button.list-group-item-warning:focus {
5359
+ color: #8a6d3b;
5360
+ background-color: #faf2cc;
5361
+ }
5362
+ a.list-group-item-warning.active,
5363
+ button.list-group-item-warning.active,
5364
+ a.list-group-item-warning.active:hover,
5365
+ button.list-group-item-warning.active:hover,
5366
+ a.list-group-item-warning.active:focus,
5367
+ button.list-group-item-warning.active:focus {
5368
+ color: #fff;
5369
+ background-color: #8a6d3b;
5370
+ border-color: #8a6d3b;
5371
+ }
5372
+ .list-group-item-danger {
5373
+ color: #a94442;
5374
+ background-color: #f2dede;
5375
+ }
5376
+ a.list-group-item-danger,
5377
+ button.list-group-item-danger {
5378
+ color: #a94442;
5379
+ }
5380
+ a.list-group-item-danger .list-group-item-heading,
5381
+ button.list-group-item-danger .list-group-item-heading {
5382
+ color: inherit;
5383
+ }
5384
+ a.list-group-item-danger:hover,
5385
+ button.list-group-item-danger:hover,
5386
+ a.list-group-item-danger:focus,
5387
+ button.list-group-item-danger:focus {
5388
+ color: #a94442;
5389
+ background-color: #ebcccc;
5390
+ }
5391
+ a.list-group-item-danger.active,
5392
+ button.list-group-item-danger.active,
5393
+ a.list-group-item-danger.active:hover,
5394
+ button.list-group-item-danger.active:hover,
5395
+ a.list-group-item-danger.active:focus,
5396
+ button.list-group-item-danger.active:focus {
5397
+ color: #fff;
5398
+ background-color: #a94442;
5399
+ border-color: #a94442;
5400
+ }
5401
+ .list-group-item-heading {
5402
+ margin-top: 0;
5403
+ margin-bottom: 5px;
5404
+ }
5405
+ .list-group-item-text {
5406
+ margin-bottom: 0;
5407
+ line-height: 1.3;
5408
+ }
5409
+ .panel {
5410
+ margin-bottom: 20px;
5411
+ background-color: #fff;
5412
+ border: 1px solid transparent;
5413
+ border-radius: 4px;
5414
+ -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
5415
+ box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
5416
+ }
5417
+ .panel-body {
5418
+ padding: 15px;
5419
+ }
5420
+ .panel-heading {
5421
+ padding: 10px 15px;
5422
+ border-bottom: 1px solid transparent;
5423
+ border-top-left-radius: 3px;
5424
+ border-top-right-radius: 3px;
5425
+ }
5426
+ .panel-heading > .dropdown .dropdown-toggle {
5427
+ color: inherit;
5428
+ }
5429
+ .panel-title {
5430
+ margin-top: 0;
5431
+ margin-bottom: 0;
5432
+ font-size: 16px;
5433
+ color: inherit;
5434
+ }
5435
+ .panel-title > a,
5436
+ .panel-title > small,
5437
+ .panel-title > .small,
5438
+ .panel-title > small > a,
5439
+ .panel-title > .small > a {
5440
+ color: inherit;
5441
+ }
5442
+ .panel-footer {
5443
+ padding: 10px 15px;
5444
+ background-color: #f5f5f5;
5445
+ border-top: 1px solid #ddd;
5446
+ border-bottom-right-radius: 3px;
5447
+ border-bottom-left-radius: 3px;
5448
+ }
5449
+ .panel > .list-group,
5450
+ .panel > .panel-collapse > .list-group {
5451
+ margin-bottom: 0;
5452
+ }
5453
+ .panel > .list-group .list-group-item,
5454
+ .panel > .panel-collapse > .list-group .list-group-item {
5455
+ border-width: 1px 0;
5456
+ border-radius: 0;
5457
+ }
5458
+ .panel > .list-group:first-child .list-group-item:first-child,
5459
+ .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
5460
+ border-top: 0;
5461
+ border-top-left-radius: 3px;
5462
+ border-top-right-radius: 3px;
5463
+ }
5464
+ .panel > .list-group:last-child .list-group-item:last-child,
5465
+ .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
5466
+ border-bottom: 0;
5467
+ border-bottom-right-radius: 3px;
5468
+ border-bottom-left-radius: 3px;
5469
+ }
5470
+ .panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
5471
+ border-top-left-radius: 0;
5472
+ border-top-right-radius: 0;
5473
+ }
5474
+ .panel-heading + .list-group .list-group-item:first-child {
5475
+ border-top-width: 0;
5476
+ }
5477
+ .list-group + .panel-footer {
5478
+ border-top-width: 0;
5479
+ }
5480
+ .panel > .table,
5481
+ .panel > .table-responsive > .table,
5482
+ .panel > .panel-collapse > .table {
5483
+ margin-bottom: 0;
5484
+ }
5485
+ .panel > .table caption,
5486
+ .panel > .table-responsive > .table caption,
5487
+ .panel > .panel-collapse > .table caption {
5488
+ padding-right: 15px;
5489
+ padding-left: 15px;
5490
+ }
5491
+ .panel > .table:first-child,
5492
+ .panel > .table-responsive:first-child > .table:first-child {
5493
+ border-top-left-radius: 3px;
5494
+ border-top-right-radius: 3px;
5495
+ }
5496
+ .panel > .table:first-child > thead:first-child > tr:first-child,
5497
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
5498
+ .panel > .table:first-child > tbody:first-child > tr:first-child,
5499
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
5500
+ border-top-left-radius: 3px;
5501
+ border-top-right-radius: 3px;
5502
+ }
5503
+ .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
5504
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
5505
+ .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
5506
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
5507
+ .panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
5508
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
5509
+ .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
5510
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
5511
+ border-top-left-radius: 3px;
5512
+ }
5513
+ .panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
5514
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
5515
+ .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
5516
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
5517
+ .panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
5518
+ .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
5519
+ .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
5520
+ .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
5521
+ border-top-right-radius: 3px;
5522
+ }
5523
+ .panel > .table:last-child,
5524
+ .panel > .table-responsive:last-child > .table:last-child {
5525
+ border-bottom-right-radius: 3px;
5526
+ border-bottom-left-radius: 3px;
5527
+ }
5528
+ .panel > .table:last-child > tbody:last-child > tr:last-child,
5529
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
5530
+ .panel > .table:last-child > tfoot:last-child > tr:last-child,
5531
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
5532
+ border-bottom-right-radius: 3px;
5533
+ border-bottom-left-radius: 3px;
5534
+ }
5535
+ .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
5536
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
5537
+ .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
5538
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
5539
+ .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
5540
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
5541
+ .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
5542
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
5543
+ border-bottom-left-radius: 3px;
5544
+ }
5545
+ .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
5546
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
5547
+ .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
5548
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
5549
+ .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
5550
+ .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
5551
+ .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
5552
+ .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
5553
+ border-bottom-right-radius: 3px;
5554
+ }
5555
+ .panel > .panel-body + .table,
5556
+ .panel > .panel-body + .table-responsive,
5557
+ .panel > .table + .panel-body,
5558
+ .panel > .table-responsive + .panel-body {
5559
+ border-top: 1px solid #ddd;
5560
+ }
5561
+ .panel > .table > tbody:first-child > tr:first-child th,
5562
+ .panel > .table > tbody:first-child > tr:first-child td {
5563
+ border-top: 0;
5564
+ }
5565
+ .panel > .table-bordered,
5566
+ .panel > .table-responsive > .table-bordered {
5567
+ border: 0;
5568
+ }
5569
+ .panel > .table-bordered > thead > tr > th:first-child,
5570
+ .panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
5571
+ .panel > .table-bordered > tbody > tr > th:first-child,
5572
+ .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
5573
+ .panel > .table-bordered > tfoot > tr > th:first-child,
5574
+ .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
5575
+ .panel > .table-bordered > thead > tr > td:first-child,
5576
+ .panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
5577
+ .panel > .table-bordered > tbody > tr > td:first-child,
5578
+ .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
5579
+ .panel > .table-bordered > tfoot > tr > td:first-child,
5580
+ .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
5581
+ border-left: 0;
5582
+ }
5583
+ .panel > .table-bordered > thead > tr > th:last-child,
5584
+ .panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
5585
+ .panel > .table-bordered > tbody > tr > th:last-child,
5586
+ .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
5587
+ .panel > .table-bordered > tfoot > tr > th:last-child,
5588
+ .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
5589
+ .panel > .table-bordered > thead > tr > td:last-child,
5590
+ .panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
5591
+ .panel > .table-bordered > tbody > tr > td:last-child,
5592
+ .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
5593
+ .panel > .table-bordered > tfoot > tr > td:last-child,
5594
+ .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
5595
+ border-right: 0;
5596
+ }
5597
+ .panel > .table-bordered > thead > tr:first-child > td,
5598
+ .panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
5599
+ .panel > .table-bordered > tbody > tr:first-child > td,
5600
+ .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
5601
+ .panel > .table-bordered > thead > tr:first-child > th,
5602
+ .panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
5603
+ .panel > .table-bordered > tbody > tr:first-child > th,
5604
+ .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
5605
+ border-bottom: 0;
5606
+ }
5607
+ .panel > .table-bordered > tbody > tr:last-child > td,
5608
+ .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
5609
+ .panel > .table-bordered > tfoot > tr:last-child > td,
5610
+ .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
5611
+ .panel > .table-bordered > tbody > tr:last-child > th,
5612
+ .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
5613
+ .panel > .table-bordered > tfoot > tr:last-child > th,
5614
+ .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
5615
+ border-bottom: 0;
5616
+ }
5617
+ .panel > .table-responsive {
5618
+ margin-bottom: 0;
5619
+ border: 0;
5620
+ }
5621
+ .panel-group {
5622
+ margin-bottom: 20px;
5623
+ }
5624
+ .panel-group .panel {
5625
+ margin-bottom: 0;
5626
+ border-radius: 4px;
5627
+ }
5628
+ .panel-group .panel + .panel {
5629
+ margin-top: 5px;
5630
+ }
5631
+ .panel-group .panel-heading {
5632
+ border-bottom: 0;
5633
+ }
5634
+ .panel-group .panel-heading + .panel-collapse > .panel-body,
5635
+ .panel-group .panel-heading + .panel-collapse > .list-group {
5636
+ border-top: 1px solid #ddd;
5637
+ }
5638
+ .panel-group .panel-footer {
5639
+ border-top: 0;
5640
+ }
5641
+ .panel-group .panel-footer + .panel-collapse .panel-body {
5642
+ border-bottom: 1px solid #ddd;
5643
+ }
5644
+ .panel-default {
5645
+ border-color: #ddd;
5646
+ }
5647
+ .panel-default > .panel-heading {
5648
+ color: #333;
5649
+ background-color: #f5f5f5;
5650
+ border-color: #ddd;
5651
+ }
5652
+ .panel-default > .panel-heading + .panel-collapse > .panel-body {
5653
+ border-top-color: #ddd;
5654
+ }
5655
+ .panel-default > .panel-heading .badge {
5656
+ color: #f5f5f5;
5657
+ background-color: #333;
5658
+ }
5659
+ .panel-default > .panel-footer + .panel-collapse > .panel-body {
5660
+ border-bottom-color: #ddd;
5661
+ }
5662
+ .panel-primary {
5663
+ border-color: #337ab7;
5664
+ }
5665
+ .panel-primary > .panel-heading {
5666
+ color: #fff;
5667
+ background-color: #337ab7;
5668
+ border-color: #337ab7;
5669
+ }
5670
+ .panel-primary > .panel-heading + .panel-collapse > .panel-body {
5671
+ border-top-color: #337ab7;
5672
+ }
5673
+ .panel-primary > .panel-heading .badge {
5674
+ color: #337ab7;
5675
+ background-color: #fff;
5676
+ }
5677
+ .panel-primary > .panel-footer + .panel-collapse > .panel-body {
5678
+ border-bottom-color: #337ab7;
5679
+ }
5680
+ .panel-success {
5681
+ border-color: #d6e9c6;
5682
+ }
5683
+ .panel-success > .panel-heading {
5684
+ color: #3c763d;
5685
+ background-color: #dff0d8;
5686
+ border-color: #d6e9c6;
5687
+ }
5688
+ .panel-success > .panel-heading + .panel-collapse > .panel-body {
5689
+ border-top-color: #d6e9c6;
5690
+ }
5691
+ .panel-success > .panel-heading .badge {
5692
+ color: #dff0d8;
5693
+ background-color: #3c763d;
5694
+ }
5695
+ .panel-success > .panel-footer + .panel-collapse > .panel-body {
5696
+ border-bottom-color: #d6e9c6;
5697
+ }
5698
+ .panel-info {
5699
+ border-color: #bce8f1;
5700
+ }
5701
+ .panel-info > .panel-heading {
5702
+ color: #31708f;
5703
+ background-color: #d9edf7;
5704
+ border-color: #bce8f1;
5705
+ }
5706
+ .panel-info > .panel-heading + .panel-collapse > .panel-body {
5707
+ border-top-color: #bce8f1;
5708
+ }
5709
+ .panel-info > .panel-heading .badge {
5710
+ color: #d9edf7;
5711
+ background-color: #31708f;
5712
+ }
5713
+ .panel-info > .panel-footer + .panel-collapse > .panel-body {
5714
+ border-bottom-color: #bce8f1;
5715
+ }
5716
+ .panel-warning {
5717
+ border-color: #faebcc;
5718
+ }
5719
+ .panel-warning > .panel-heading {
5720
+ color: #8a6d3b;
5721
+ background-color: #fcf8e3;
5722
+ border-color: #faebcc;
5723
+ }
5724
+ .panel-warning > .panel-heading + .panel-collapse > .panel-body {
5725
+ border-top-color: #faebcc;
5726
+ }
5727
+ .panel-warning > .panel-heading .badge {
5728
+ color: #fcf8e3;
5729
+ background-color: #8a6d3b;
5730
+ }
5731
+ .panel-warning > .panel-footer + .panel-collapse > .panel-body {
5732
+ border-bottom-color: #faebcc;
5733
+ }
5734
+ .panel-danger {
5735
+ border-color: #ebccd1;
5736
+ }
5737
+ .panel-danger > .panel-heading {
5738
+ color: #a94442;
5739
+ background-color: #f2dede;
5740
+ border-color: #ebccd1;
5741
+ }
5742
+ .panel-danger > .panel-heading + .panel-collapse > .panel-body {
5743
+ border-top-color: #ebccd1;
5744
+ }
5745
+ .panel-danger > .panel-heading .badge {
5746
+ color: #f2dede;
5747
+ background-color: #a94442;
5748
+ }
5749
+ .panel-danger > .panel-footer + .panel-collapse > .panel-body {
5750
+ border-bottom-color: #ebccd1;
5751
+ }
5752
+ .embed-responsive {
5753
+ position: relative;
5754
+ display: block;
5755
+ height: 0;
5756
+ padding: 0;
5757
+ overflow: hidden;
5758
+ }
5759
+ .embed-responsive .embed-responsive-item,
5760
+ .embed-responsive iframe,
5761
+ .embed-responsive embed,
5762
+ .embed-responsive object,
5763
+ .embed-responsive video {
5764
+ position: absolute;
5765
+ top: 0;
5766
+ bottom: 0;
5767
+ left: 0;
5768
+ width: 100%;
5769
+ height: 100%;
5770
+ border: 0;
5771
+ }
5772
+ .embed-responsive-16by9 {
5773
+ padding-bottom: 56.25%;
5774
+ }
5775
+ .embed-responsive-4by3 {
5776
+ padding-bottom: 75%;
5777
+ }
5778
+ .well {
5779
+ min-height: 20px;
5780
+ padding: 19px;
5781
+ margin-bottom: 20px;
5782
+ background-color: #f5f5f5;
5783
+ border: 1px solid #e3e3e3;
5784
+ border-radius: 4px;
5785
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
5786
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
5787
+ }
5788
+ .well blockquote {
5789
+ border-color: #ddd;
5790
+ border-color: rgba(0, 0, 0, .15);
5791
+ }
5792
+ .well-lg {
5793
+ padding: 24px;
5794
+ border-radius: 6px;
5795
+ }
5796
+ .well-sm {
5797
+ padding: 9px;
5798
+ border-radius: 3px;
5799
+ }
5800
+ .close {
5801
+ float: right;
5802
+ font-size: 24px;
5803
+ font-weight: bold;
5804
+ line-height: 1;
5805
+ color: #000;
5806
+ text-shadow: 0 1px 0 #fff;
5807
+ filter: alpha(opacity=20);
5808
+ opacity: .4;
5809
+ }
5810
+ .close:hover,
5811
+ .close:focus {
5812
+ color: #000;
5813
+ text-decoration: none;
5814
+ cursor: pointer;
5815
+ filter: alpha(opacity=50);
5816
+ opacity: .5;
5817
+ }
5818
+ button.close {
5819
+ -webkit-appearance: none;
5820
+ padding: 0;
5821
+ cursor: pointer;
5822
+ background: transparent;
5823
+ border: 0;
5824
+ }
5825
+ .modal-open {
5826
+ overflow: hidden;
5827
+ overflow-y: auto;
5828
+ }
5829
+ .modal {
5830
+ position: fixed;
5831
+ top: 45px;
5832
+ right: 0;
5833
+ bottom: 0;
5834
+ left: 0;
5835
+ z-index: 1050;
5836
+ display: none;
5837
+ overflow: hidden;
5838
+ -webkit-overflow-scrolling: touch;
5839
+ outline: 0;
5840
+ }
5841
+ .modal.fade .modal-dialog {
5842
+ -webkit-transition: -webkit-transform .3s ease-out;
5843
+ -o-transition: -o-transform .3s ease-out;
5844
+ transition: transform .3s ease-out;
5845
+ -webkit-transform: translate(0, -25%);
5846
+ -ms-transform: translate(0, -25%);
5847
+ -o-transform: translate(0, -25%);
5848
+ transform: translate(0, -25%);
5849
+ }
5850
+ .modal.in .modal-dialog {
5851
+ -webkit-transform: translate(0, 0);
5852
+ -ms-transform: translate(0, 0);
5853
+ -o-transform: translate(0, 0);
5854
+ transform: translate(0, 0);
5855
+ }
5856
+ .modal-open .modal {
5857
+ overflow-x: hidden;
5858
+ overflow-y: auto;
5859
+ }
5860
+ .modal-dialog {
5861
+ position: relative;
5862
+ width: auto;
5863
+ margin: 10px;
5864
+ }
5865
+ .modal-content {
5866
+ position: relative;
5867
+ background-color: #fff;
5868
+ -webkit-background-clip: padding-box;
5869
+ background-clip: padding-box;
5870
+ border: 1px solid #999;
5871
+ border: 1px solid rgba(0, 0, 0, .2);
5872
+ border-radius: 6px;
5873
+ outline: 0;
5874
+ -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
5875
+ box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
5876
+ }
5877
+ .modal-backdrop {
5878
+ position: fixed;
5879
+ top: 0;
5880
+ right: 0;
5881
+ bottom: 0;
5882
+ left: 0;
5883
+ z-index: 1040;
5884
+ background-color: #000;
5885
+ }
5886
+ .modal-backdrop.fade {
5887
+ filter: alpha(opacity=0);
5888
+ opacity: 0;
5889
+ }
5890
+ .modal-backdrop.in {
5891
+ filter: alpha(opacity=50);
5892
+ opacity: .5;
5893
+ }
5894
+ .modal-header {
5895
+ padding: 15px;
5896
+ border-bottom: 1px solid #e5e5e5;
5897
+ }
5898
+ .modal-header .close {
5899
+ margin-top: -2px;
5900
+ }
5901
+ .modal-title {
5902
+ margin: 0;
5903
+ line-height: 1.42857143;
5904
+ }
5905
+ .modal-body {
5906
+ position: relative;
5907
+ padding: 15px;
5908
+ }
5909
+ .modal-footer {
5910
+ padding: 15px;
5911
+ text-align: right;
5912
+ border-top: 1px solid #e5e5e5;
5913
+ }
5914
+ .modal-footer .btn + .btn {
5915
+ margin-bottom: 0;
5916
+ margin-left: 5px;
5917
+ }
5918
+ .modal-footer .btn-group .btn + .btn {
5919
+ margin-left: -1px;
5920
+ }
5921
+ .modal-footer .btn-block + .btn-block {
5922
+ margin-left: 0;
5923
+ }
5924
+ .modal-scrollbar-measure {
5925
+ position: absolute;
5926
+ top: -9999px;
5927
+ width: 50px;
5928
+ height: 50px;
5929
+ overflow: scroll;
5930
+ }
5931
+ @media (min-width: 768px) {
5932
+ .modal-dialog {
5933
+ width: 600px;
5934
+ margin: 30px auto;
5935
+ }
5936
+ .modal-content {
5937
+ -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
5938
+ box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
5939
+ }
5940
+ .modal-sm {
5941
+ width: 300px;
5942
+ }
5943
+ }
5944
+ @media (min-width: 992px) {
5945
+ .modal-lg {
5946
+ width: 900px;
5947
+ }
5948
+ }
5949
+ .tooltip {
5950
+ position: absolute;
5951
+ z-index: 1070;
5952
+ display: block;
5953
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
5954
+ font-size: 12px;
5955
+ font-style: normal;
5956
+ font-weight: normal;
5957
+ line-height: 1.42857143;
5958
+ text-align: left;
5959
+ text-align: start;
5960
+ text-decoration: none;
5961
+ text-shadow: none;
5962
+ text-transform: none;
5963
+ letter-spacing: normal;
5964
+ word-break: normal;
5965
+ word-spacing: normal;
5966
+ word-wrap: normal;
5967
+ white-space: normal;
5968
+ filter: alpha(opacity=0);
5969
+ opacity: 0;
5970
+
5971
+ line-break: auto;
5972
+ }
5973
+ .tooltip.in {
5974
+ filter: alpha(opacity=90);
5975
+ opacity: .9;
5976
+ }
5977
+ .tooltip.top {
5978
+ padding: 5px 0;
5979
+ margin-top: -3px;
5980
+ }
5981
+ .tooltip.right {
5982
+ padding: 0 5px;
5983
+ margin-left: 3px;
5984
+ }
5985
+ .tooltip.bottom {
5986
+ padding: 5px 0;
5987
+ margin-top: 3px;
5988
+ }
5989
+ .tooltip.left {
5990
+ padding: 0 5px;
5991
+ margin-left: -3px;
5992
+ }
5993
+ .tooltip-inner {
5994
+ max-width: 200px;
5995
+ padding: 3px 8px;
5996
+ color: #fff;
5997
+ text-align: center;
5998
+ background-color: #000;
5999
+ border-radius: 4px;
6000
+ }
6001
+ .tooltip-arrow {
6002
+ position: absolute;
6003
+ width: 0;
6004
+ height: 0;
6005
+ border-color: transparent;
6006
+ border-style: solid;
6007
+ }
6008
+ .tooltip.top .tooltip-arrow {
6009
+ bottom: 0;
6010
+ left: 50%;
6011
+ margin-left: -5px;
6012
+ border-width: 5px 5px 0;
6013
+ border-top-color: #000;
6014
+ }
6015
+ .tooltip.top-left .tooltip-arrow {
6016
+ right: 5px;
6017
+ bottom: 0;
6018
+ margin-bottom: -5px;
6019
+ border-width: 5px 5px 0;
6020
+ border-top-color: #000;
6021
+ }
6022
+ .tooltip.top-right .tooltip-arrow {
6023
+ bottom: 0;
6024
+ left: 5px;
6025
+ margin-bottom: -5px;
6026
+ border-width: 5px 5px 0;
6027
+ border-top-color: #000;
6028
+ }
6029
+ .tooltip.right .tooltip-arrow {
6030
+ top: 50%;
6031
+ left: 0;
6032
+ margin-top: -5px;
6033
+ border-width: 5px 5px 5px 0;
6034
+ border-right-color: #000;
6035
+ }
6036
+ .tooltip.left .tooltip-arrow {
6037
+ top: 50%;
6038
+ right: 0;
6039
+ margin-top: -5px;
6040
+ border-width: 5px 0 5px 5px;
6041
+ border-left-color: #000;
6042
+ }
6043
+ .tooltip.bottom .tooltip-arrow {
6044
+ top: 0;
6045
+ left: 50%;
6046
+ margin-left: -5px;
6047
+ border-width: 0 5px 5px;
6048
+ border-bottom-color: #000;
6049
+ }
6050
+ .tooltip.bottom-left .tooltip-arrow {
6051
+ top: 0;
6052
+ right: 5px;
6053
+ margin-top: -5px;
6054
+ border-width: 0 5px 5px;
6055
+ border-bottom-color: #000;
6056
+ }
6057
+ .tooltip.bottom-right .tooltip-arrow {
6058
+ top: 0;
6059
+ left: 5px;
6060
+ margin-top: -5px;
6061
+ border-width: 0 5px 5px;
6062
+ border-bottom-color: #000;
6063
+ }
6064
+ .popover {
6065
+ position: absolute;
6066
+ top: 0;
6067
+ left: 0;
6068
+ z-index: 1060;
6069
+ display: none;
6070
+ max-width: 276px;
6071
+ padding: 1px;
6072
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
6073
+ font-size: 14px;
6074
+ font-style: normal;
6075
+ font-weight: normal;
6076
+ line-height: 1.42857143;
6077
+ text-align: left;
6078
+ text-align: start;
6079
+ text-decoration: none;
6080
+ text-shadow: none;
6081
+ text-transform: none;
6082
+ letter-spacing: normal;
6083
+ word-break: normal;
6084
+ word-spacing: normal;
6085
+ word-wrap: normal;
6086
+ white-space: normal;
6087
+ background-color: #fff;
6088
+ -webkit-background-clip: padding-box;
6089
+ background-clip: padding-box;
6090
+ border: 1px solid #ccc;
6091
+ border: 1px solid rgba(0, 0, 0, .2);
6092
+ border-radius: 6px;
6093
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
6094
+ box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
6095
+
6096
+ line-break: auto;
6097
+ }
6098
+ .popover.top {
6099
+ margin-top: -10px;
6100
+ }
6101
+ .popover.right {
6102
+ margin-left: 10px;
6103
+ }
6104
+ .popover.bottom {
6105
+ margin-top: 10px;
6106
+ }
6107
+ .popover.left {
6108
+ margin-left: -10px;
6109
+ }
6110
+ .popover-title {
6111
+ padding: 8px 14px;
6112
+ margin: 0;
6113
+ font-size: 14px;
6114
+ background-color: #f7f7f7;
6115
+ border-bottom: 1px solid #ebebeb;
6116
+ border-radius: 5px 5px 0 0;
6117
+ }
6118
+ .popover-content {
6119
+ padding: 9px 14px;
6120
+ }
6121
+ .popover > .arrow,
6122
+ .popover > .arrow:after {
6123
+ position: absolute;
6124
+ display: block;
6125
+ width: 0;
6126
+ height: 0;
6127
+ border-color: transparent;
6128
+ border-style: solid;
6129
+ }
6130
+ .popover > .arrow {
6131
+ border-width: 11px;
6132
+ }
6133
+ .popover > .arrow:after {
6134
+ content: "";
6135
+ border-width: 10px;
6136
+ }
6137
+ .popover.top > .arrow {
6138
+ bottom: -11px;
6139
+ left: 50%;
6140
+ margin-left: -11px;
6141
+ border-top-color: #999;
6142
+ border-top-color: rgba(0, 0, 0, .25);
6143
+ border-bottom-width: 0;
6144
+ }
6145
+ .popover.top > .arrow:after {
6146
+ bottom: 1px;
6147
+ margin-left: -10px;
6148
+ content: " ";
6149
+ border-top-color: #fff;
6150
+ border-bottom-width: 0;
6151
+ }
6152
+ .popover.right > .arrow {
6153
+ top: 50%;
6154
+ left: -11px;
6155
+ margin-top: -11px;
6156
+ border-right-color: #999;
6157
+ border-right-color: rgba(0, 0, 0, .25);
6158
+ border-left-width: 0;
6159
+ }
6160
+ .popover.right > .arrow:after {
6161
+ bottom: -10px;
6162
+ left: 1px;
6163
+ content: " ";
6164
+ border-right-color: #fff;
6165
+ border-left-width: 0;
6166
+ }
6167
+ .popover.bottom > .arrow {
6168
+ top: -11px;
6169
+ left: 50%;
6170
+ margin-left: -11px;
6171
+ border-top-width: 0;
6172
+ border-bottom-color: #999;
6173
+ border-bottom-color: rgba(0, 0, 0, .25);
6174
+ }
6175
+ .popover.bottom > .arrow:after {
6176
+ top: 1px;
6177
+ margin-left: -10px;
6178
+ content: " ";
6179
+ border-top-width: 0;
6180
+ border-bottom-color: #fff;
6181
+ }
6182
+ .popover.left > .arrow {
6183
+ top: 50%;
6184
+ right: -11px;
6185
+ margin-top: -11px;
6186
+ border-right-width: 0;
6187
+ border-left-color: #999;
6188
+ border-left-color: rgba(0, 0, 0, .25);
6189
+ }
6190
+ .popover.left > .arrow:after {
6191
+ right: 1px;
6192
+ bottom: -10px;
6193
+ content: " ";
6194
+ border-right-width: 0;
6195
+ border-left-color: #fff;
6196
+ }
6197
+ .carousel {
6198
+ position: relative;
6199
+ }
6200
+ .carousel-inner {
6201
+ position: relative;
6202
+ width: 100%;
6203
+ overflow: hidden;
6204
+ }
6205
+ .carousel-inner > .item {
6206
+ position: relative;
6207
+ display: none;
6208
+ -webkit-transition: .6s ease-in-out left;
6209
+ -o-transition: .6s ease-in-out left;
6210
+ transition: .6s ease-in-out left;
6211
+ }
6212
+ .carousel-inner > .item > img,
6213
+ .carousel-inner > .item > a > img {
6214
+ line-height: 1;
6215
+ }
6216
+ @media all and (transform-3d), (-webkit-transform-3d) {
6217
+ .carousel-inner > .item {
6218
+ -webkit-transition: -webkit-transform .6s ease-in-out;
6219
+ -o-transition: -o-transform .6s ease-in-out;
6220
+ transition: transform .6s ease-in-out;
6221
+
6222
+ -webkit-backface-visibility: hidden;
6223
+ backface-visibility: hidden;
6224
+ -webkit-perspective: 1000px;
6225
+ perspective: 1000px;
6226
+ }
6227
+ .carousel-inner > .item.next,
6228
+ .carousel-inner > .item.active.right {
6229
+ left: 0;
6230
+ -webkit-transform: translate3d(100%, 0, 0);
6231
+ transform: translate3d(100%, 0, 0);
6232
+ }
6233
+ .carousel-inner > .item.prev,
6234
+ .carousel-inner > .item.active.left {
6235
+ left: 0;
6236
+ -webkit-transform: translate3d(-100%, 0, 0);
6237
+ transform: translate3d(-100%, 0, 0);
6238
+ }
6239
+ .carousel-inner > .item.next.left,
6240
+ .carousel-inner > .item.prev.right,
6241
+ .carousel-inner > .item.active {
6242
+ left: 0;
6243
+ -webkit-transform: translate3d(0, 0, 0);
6244
+ transform: translate3d(0, 0, 0);
6245
+ }
6246
+ }
6247
+ .carousel-inner > .active,
6248
+ .carousel-inner > .next,
6249
+ .carousel-inner > .prev {
6250
+ display: block;
6251
+ }
6252
+ .carousel-inner > .active {
6253
+ left: 0;
6254
+ }
6255
+ .carousel-inner > .next,
6256
+ .carousel-inner > .prev {
6257
+ position: absolute;
6258
+ top: 0;
6259
+ width: 100%;
6260
+ }
6261
+ .carousel-inner > .next {
6262
+ left: 100%;
6263
+ }
6264
+ .carousel-inner > .prev {
6265
+ left: -100%;
6266
+ }
6267
+ .carousel-inner > .next.left,
6268
+ .carousel-inner > .prev.right {
6269
+ left: 0;
6270
+ }
6271
+ .carousel-inner > .active.left {
6272
+ left: -100%;
6273
+ }
6274
+ .carousel-inner > .active.right {
6275
+ left: 100%;
6276
+ }
6277
+ .carousel-control {
6278
+ position: absolute;
6279
+ top: 0;
6280
+ bottom: 0;
6281
+ left: 0;
6282
+ width: 15%;
6283
+ font-size: 20px;
6284
+ color: #fff;
6285
+ text-align: center;
6286
+ text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
6287
+ background-color: rgba(0, 0, 0, 0);
6288
+ filter: alpha(opacity=50);
6289
+ opacity: .5;
6290
+ }
6291
+ .carousel-control.left {
6292
+ background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
6293
+ background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
6294
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
6295
+ background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
6296
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
6297
+ background-repeat: repeat-x;
6298
+ }
6299
+ .carousel-control.right {
6300
+ right: 0;
6301
+ left: auto;
6302
+ background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
6303
+ background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
6304
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
6305
+ background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
6306
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
6307
+ background-repeat: repeat-x;
6308
+ }
6309
+ .carousel-control:hover,
6310
+ .carousel-control:focus {
6311
+ color: #fff;
6312
+ text-decoration: none;
6313
+ filter: alpha(opacity=90);
6314
+ outline: 0;
6315
+ opacity: .9;
6316
+ }
6317
+ .carousel-control .icon-prev,
6318
+ .carousel-control .icon-next,
6319
+ .carousel-control .glyphicon-chevron-left,
6320
+ .carousel-control .glyphicon-chevron-right {
6321
+ position: absolute;
6322
+ top: 50%;
6323
+ z-index: 5;
6324
+ display: inline-block;
6325
+ margin-top: -10px;
6326
+ }
6327
+ .carousel-control .icon-prev,
6328
+ .carousel-control .glyphicon-chevron-left {
6329
+ left: 50%;
6330
+ margin-left: -10px;
6331
+ }
6332
+ .carousel-control .icon-next,
6333
+ .carousel-control .glyphicon-chevron-right {
6334
+ right: 50%;
6335
+ margin-right: -10px;
6336
+ }
6337
+ .carousel-control .icon-prev,
6338
+ .carousel-control .icon-next {
6339
+ width: 20px;
6340
+ height: 20px;
6341
+ font-family: serif;
6342
+ line-height: 1;
6343
+ }
6344
+ .carousel-control .icon-prev:before {
6345
+ content: '\2039';
6346
+ }
6347
+ .carousel-control .icon-next:before {
6348
+ content: '\203a';
6349
+ }
6350
+ .carousel-indicators {
6351
+ position: absolute;
6352
+ bottom: 10px;
6353
+ left: 50%;
6354
+ z-index: 15;
6355
+ width: 60%;
6356
+ padding-left: 0;
6357
+ margin-left: -30%;
6358
+ text-align: center;
6359
+ list-style: none;
6360
+ }
6361
+ .carousel-indicators li {
6362
+ display: inline-block;
6363
+ width: 10px;
6364
+ height: 10px;
6365
+ margin: 1px;
6366
+ text-indent: -999px;
6367
+ cursor: pointer;
6368
+ background-color: #000 \9;
6369
+ background-color: rgba(0, 0, 0, 0);
6370
+ border: 1px solid #fff;
6371
+ border-radius: 10px;
6372
+ }
6373
+ .carousel-indicators .active {
6374
+ width: 12px;
6375
+ height: 12px;
6376
+ margin: 0;
6377
+ background-color: #fff;
6378
+ }
6379
+ .carousel-caption {
6380
+ position: absolute;
6381
+ right: 15%;
6382
+ bottom: 20px;
6383
+ left: 15%;
6384
+ z-index: 10;
6385
+ padding-top: 20px;
6386
+ padding-bottom: 20px;
6387
+ color: #fff;
6388
+ text-align: center;
6389
+ text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
6390
+ }
6391
+ .carousel-caption .btn {
6392
+ text-shadow: none;
6393
+ }
6394
+ @media screen and (min-width: 768px) {
6395
+ .carousel-control .glyphicon-chevron-left,
6396
+ .carousel-control .glyphicon-chevron-right,
6397
+ .carousel-control .icon-prev,
6398
+ .carousel-control .icon-next {
6399
+ width: 30px;
6400
+ height: 30px;
6401
+ margin-top: -10px;
6402
+ font-size: 30px;
6403
+ }
6404
+ .carousel-control .glyphicon-chevron-left,
6405
+ .carousel-control .icon-prev {
6406
+ margin-left: -10px;
6407
+ }
6408
+ .carousel-control .glyphicon-chevron-right,
6409
+ .carousel-control .icon-next {
6410
+ margin-right: -10px;
6411
+ }
6412
+ .carousel-caption {
6413
+ right: 20%;
6414
+ left: 20%;
6415
+ padding-bottom: 30px;
6416
+ }
6417
+ .carousel-indicators {
6418
+ bottom: 20px;
6419
+ }
6420
+ }
6421
+ .clearfix:before,
6422
+ .clearfix:after,
6423
+ .dl-horizontal dd:before,
6424
+ .dl-horizontal dd:after,
6425
+ .container:before,
6426
+ .container:after,
6427
+ .container-fluid:before,
6428
+ .container-fluid:after,
6429
+ .row:before,
6430
+ .row:after,
6431
+ .form-horizontal .form-group:before,
6432
+ .form-horizontal .form-group:after,
6433
+ .btn-toolbar:before,
6434
+ .btn-toolbar:after,
6435
+ .btn-group-vertical > .btn-group:before,
6436
+ .btn-group-vertical > .btn-group:after,
6437
+ .nav:before,
6438
+ .nav:after,
6439
+ .navbar:before,
6440
+ .navbar:after,
6441
+ .navbar-header:before,
6442
+ .navbar-header:after,
6443
+ .navbar-collapse:before,
6444
+ .navbar-collapse:after,
6445
+ .pager:before,
6446
+ .pager:after,
6447
+ .panel-body:before,
6448
+ .panel-body:after,
6449
+ .modal-header:before,
6450
+ .modal-header:after,
6451
+ .modal-footer:before,
6452
+ .modal-footer:after {
6453
+ display: table;
6454
+ content: " ";
6455
+ }
6456
+ .clearfix:after,
6457
+ .dl-horizontal dd:after,
6458
+ .container:after,
6459
+ .container-fluid:after,
6460
+ .row:after,
6461
+ .form-horizontal .form-group:after,
6462
+ .btn-toolbar:after,
6463
+ .btn-group-vertical > .btn-group:after,
6464
+ .nav:after,
6465
+ .navbar:after,
6466
+ .navbar-header:after,
6467
+ .navbar-collapse:after,
6468
+ .pager:after,
6469
+ .panel-body:after,
6470
+ .modal-header:after,
6471
+ .modal-footer:after {
6472
+ clear: both;
6473
+ }
6474
+ .center-block {
6475
+ display: block;
6476
+ margin-right: auto;
6477
+ margin-left: auto;
6478
+ }
6479
+ .pull-right {
6480
+ float: right !important;
6481
+ }
6482
+ .pull-left {
6483
+ float: left !important;
6484
+ }
6485
+ .hide {
6486
+ display: none !important;
6487
+ }
6488
+ .show {
6489
+ display: block !important;
6490
+ }
6491
+ .invisible {
6492
+ visibility: hidden;
6493
+ }
6494
+ .text-hide {
6495
+ font: 0/0 a;
6496
+ color: transparent;
6497
+ text-shadow: none;
6498
+ background-color: transparent;
6499
+ border: 0;
6500
+ }
6501
+ .hidden {
6502
+ display: none !important;
6503
+ }
6504
+ .affix {
6505
+ position: fixed;
6506
+ }
6507
+ @-ms-viewport {
6508
+ width: device-width;
6509
+ }
6510
+ .visible-xs,
6511
+ .visible-sm,
6512
+ .visible-md,
6513
+ .visible-lg {
6514
+ display: none !important;
6515
+ }
6516
+ .visible-xs-block,
6517
+ .visible-xs-inline,
6518
+ .visible-xs-inline-block,
6519
+ .visible-sm-block,
6520
+ .visible-sm-inline,
6521
+ .visible-sm-inline-block,
6522
+ .visible-md-block,
6523
+ .visible-md-inline,
6524
+ .visible-md-inline-block,
6525
+ .visible-lg-block,
6526
+ .visible-lg-inline,
6527
+ .visible-lg-inline-block {
6528
+ display: none !important;
6529
+ }
6530
+ @media (max-width: 767px) {
6531
+ .visible-xs {
6532
+ display: block !important;
6533
+ }
6534
+ table.visible-xs {
6535
+ display: table !important;
6536
+ }
6537
+ tr.visible-xs {
6538
+ display: table-row !important;
6539
+ }
6540
+ th.visible-xs,
6541
+ td.visible-xs {
6542
+ display: table-cell !important;
6543
+ }
6544
+ }
6545
+ @media (max-width: 767px) {
6546
+ .visible-xs-block {
6547
+ display: block !important;
6548
+ }
6549
+ }
6550
+ @media (max-width: 767px) {
6551
+ .visible-xs-inline {
6552
+ display: inline !important;
6553
+ }
6554
+ }
6555
+ @media (max-width: 767px) {
6556
+ .visible-xs-inline-block {
6557
+ display: inline-block !important;
6558
+ }
6559
+ }
6560
+ @media (min-width: 768px) and (max-width: 991px) {
6561
+ .visible-sm {
6562
+ display: block !important;
6563
+ }
6564
+ table.visible-sm {
6565
+ display: table !important;
6566
+ }
6567
+ tr.visible-sm {
6568
+ display: table-row !important;
6569
+ }
6570
+ th.visible-sm,
6571
+ td.visible-sm {
6572
+ display: table-cell !important;
6573
+ }
6574
+ }
6575
+ @media (min-width: 768px) and (max-width: 991px) {
6576
+ .visible-sm-block {
6577
+ display: block !important;
6578
+ }
6579
+ }
6580
+ @media (min-width: 768px) and (max-width: 991px) {
6581
+ .visible-sm-inline {
6582
+ display: inline !important;
6583
+ }
6584
+ }
6585
+ @media (min-width: 768px) and (max-width: 991px) {
6586
+ .visible-sm-inline-block {
6587
+ display: inline-block !important;
6588
+ }
6589
+ }
6590
+ @media (min-width: 992px) and (max-width: 1199px) {
6591
+ .visible-md {
6592
+ display: block !important;
6593
+ }
6594
+ table.visible-md {
6595
+ display: table !important;
6596
+ }
6597
+ tr.visible-md {
6598
+ display: table-row !important;
6599
+ }
6600
+ th.visible-md,
6601
+ td.visible-md {
6602
+ display: table-cell !important;
6603
+ }
6604
+ }
6605
+ @media (min-width: 992px) and (max-width: 1199px) {
6606
+ .visible-md-block {
6607
+ display: block !important;
6608
+ }
6609
+ }
6610
+ @media (min-width: 992px) and (max-width: 1199px) {
6611
+ .visible-md-inline {
6612
+ display: inline !important;
6613
+ }
6614
+ }
6615
+ @media (min-width: 992px) and (max-width: 1199px) {
6616
+ .visible-md-inline-block {
6617
+ display: inline-block !important;
6618
+ }
6619
+ }
6620
+ @media (min-width: 1200px) {
6621
+ .visible-lg {
6622
+ display: block !important;
6623
+ }
6624
+ table.visible-lg {
6625
+ display: table !important;
6626
+ }
6627
+ tr.visible-lg {
6628
+ display: table-row !important;
6629
+ }
6630
+ th.visible-lg,
6631
+ td.visible-lg {
6632
+ display: table-cell !important;
6633
+ }
6634
+ }
6635
+ @media (min-width: 1200px) {
6636
+ .visible-lg-block {
6637
+ display: block !important;
6638
+ }
6639
+ }
6640
+ @media (min-width: 1200px) {
6641
+ .visible-lg-inline {
6642
+ display: inline !important;
6643
+ }
6644
+ }
6645
+ @media (min-width: 1200px) {
6646
+ .visible-lg-inline-block {
6647
+ display: inline-block !important;
6648
+ }
6649
+ }
6650
+ @media (max-width: 767px) {
6651
+ .hidden-xs {
6652
+ display: none !important;
6653
+ }
6654
+ }
6655
+ @media (min-width: 768px) and (max-width: 991px) {
6656
+ .hidden-sm {
6657
+ display: none !important;
6658
+ }
6659
+ }
6660
+ @media (min-width: 992px) and (max-width: 1199px) {
6661
+ .hidden-md {
6662
+ display: none !important;
6663
+ }
6664
+ }
6665
+ @media (min-width: 1200px) {
6666
+ .hidden-lg {
6667
+ display: none !important;
6668
+ }
6669
+ }
6670
+ .visible-print {
6671
+ display: none !important;
6672
+ }
6673
+ @media print {
6674
+ .visible-print {
6675
+ display: block !important;
6676
+ }
6677
+ table.visible-print {
6678
+ display: table !important;
6679
+ }
6680
+ tr.visible-print {
6681
+ display: table-row !important;
6682
+ }
6683
+ th.visible-print,
6684
+ td.visible-print {
6685
+ display: table-cell !important;
6686
+ }
6687
+ }
6688
+ .visible-print-block {
6689
+ display: none !important;
6690
+ }
6691
+ @media print {
6692
+ .visible-print-block {
6693
+ display: block !important;
6694
+ }
6695
+ }
6696
+ .visible-print-inline {
6697
+ display: none !important;
6698
+ }
6699
+ @media print {
6700
+ .visible-print-inline {
6701
+ display: inline !important;
6702
+ }
6703
+ }
6704
+ .visible-print-inline-block {
6705
+ display: none !important;
6706
+ }
6707
+ @media print {
6708
+ .visible-print-inline-block {
6709
+ display: inline-block !important;
6710
+ }
6711
+ }
6712
+ @media print {
6713
+ .hidden-print {
6714
+ display: none !important;
6715
+ }
6716
+ }
6717
+
6718
+ #wpwrap{
6719
+ background:#eee;
6720
+ }
6721
+
6722
+ #adminmenuback {
6723
+ z-index: 0 !important;
6724
+ }
6725
+
6726
+
6727
+ .btn-success, .label-success{
6728
+ background-color: #79B232 !important;
6729
+ }
6730
+
6731
+ .updated a {
6732
+ padding-bottom: 10px !important;
6733
+ }
6734
+
6735
+ p {
6736
+ margin: 0 0 2px !important;
6737
+ }
6738
+
6739
+ .margin-auto{
6740
+ margin: 0 auto;
6741
+ text-align: center;
6742
+ }
6743
+
6744
+ .list-group-item{
6745
+ padding: 8px !important;
6746
+ }
6747
+
6748
+ .glyphicon-success{
6749
+ color: #79B232;
6750
+ }
6751
+ .glyphicon-warning{
6752
+ color: #eea236;
6753
+ }
6754
+ .glyphicon-info{
6755
+ color: #337ab7;
6756
+ }
6757
+ .glyphicon-grey{
6758
+ color: #76777b;
6759
+ }
6760
+
6761
+ .glyphicon-primary{
6762
+ color: #2e6da4;
6763
+ }
6764
+ .glyphicon-danger{
6765
+ color: #a94442;
6766
+ }
6767
+ .glyphicon-lg{
6768
+ font-size: 18px;
6769
+ }
6770
+
6771
+ .btn-group-xl > .btn, .btn-xl {
6772
+ border-radius: 6px;
6773
+ font-size: 24px;
6774
+ line-height: 1.33333;
6775
+ padding: 10px 5px 5px 5px;
6776
+ }
6777
+
6778
+ /*B2S Inbox*/
6779
+ .b2s-inbox .b2s-inbox-menu ul {
6780
+ padding: 0;
6781
+ list-style: none
6782
+ }
6783
+
6784
+ .b2s-inbox .b2s-inbox-menu ul li {
6785
+ position: relative
6786
+ }
6787
+
6788
+ .b2s-inbox .b2s-inbox-menu ul li.title {
6789
+ font-size: 14px;
6790
+ color: #3d3f42;
6791
+ font-weight: 600;
6792
+ }
6793
+
6794
+ .b2s-inbox .b2s-inbox-menu ul li.title:hover {
6795
+ background: 0 0
6796
+ }
6797
+
6798
+ .b2s-inbox .b2s-inbox-menu ul li a {
6799
+ display: block;
6800
+ width: 100%;
6801
+ text-decoration: none;
6802
+ }
6803
+
6804
+ .b2s-inbox .b2s-inbox-menu ul li a i {
6805
+ margin-right: 10px
6806
+ }
6807
+
6808
+ .b2s-inbox .b2s-inbox-menu ul li a .label {
6809
+ position: absolute;
6810
+ top:0px;
6811
+ right: 2px;
6812
+ display: block;
6813
+ min-width: 18px;
6814
+ height: 18px;
6815
+ padding: 2px;
6816
+ font-size: 12px;
6817
+ }
6818
+
6819
+
6820
+ .b2s-inbox-menu .title{
6821
+ font-size: 14px;
6822
+ color: #3d3f42;
6823
+ font-weight: 600;
6824
+ }
6825
+
6826
+ /* Posts */
6827
+
6828
+ .b2s-post h3 {
6829
+ margin-top: 5px;
6830
+ }
6831
+
6832
+ @media(max-width: 400px) {
6833
+ .b2s-post h3 {
6834
+ font-size: 16px !important;
6835
+ }
6836
+ }
6837
+
6838
+ .b2s-post .list-group li {
6839
+ padding: 15px 20px 12px 20px;
6840
+ cursor: pointer;
6841
+ }
6842
+
6843
+ .b2s-post .list-group li:hover {
6844
+ background: #eee;
6845
+ }
6846
+
6847
+ .b2s-post .fa-padding .fa {
6848
+ padding-top: 5px;
6849
+ width: 1.5em;
6850
+ }
6851
+
6852
+ .b2s-post .info {
6853
+ color: #323b43;
6854
+ margin: 0px;
6855
+ }
6856
+
6857
+ .b2s-post .info a:hover {
6858
+ text-decoration: underline;
6859
+ }
6860
+
6861
+ .b2s-post .info .fa {
6862
+ width: 1.5em;
6863
+ text-align: center;
6864
+ }
6865
+
6866
+ .b2s-post .number {
6867
+ color: #777;
6868
+ }
6869
+
6870
+ .b2s-post img {
6871
+ margin: 0 auto;
6872
+ display: block;
6873
+ }
6874
+
6875
+ .b2s-post .modal-body {
6876
+ padding-bottom: 0px;
6877
+ }
6878
+
6879
+ /*B2S Banner Premium Version */
6880
+ .b2s-premium-version-banner .icon {
6881
+ float: left;
6882
+ margin: 12px 8px 8px 12px;
6883
+ }
6884
+
6885
+ .b2s-premium-version-banner .icon img {
6886
+ max-width: 60px;
6887
+ }
6888
+
6889
+ .b2s-premium-version-banner .text {
6890
+ color: #000;
6891
+ float: left;
6892
+ font-size: 18px;
6893
+ line-height: 26px;
6894
+ margin: 18px 18px 14px;
6895
+ max-width: 80%;
6896
+ width: auto;
6897
+ }
6898
+ .b2s-premium-version-banner .text span {
6899
+ font-size: 14px;
6900
+ opacity: 0.6;
6901
+ }
6902
+ .b2s-premium-version-banner .premium-button {
6903
+ margin: 18px 40px;
6904
+ }
6905
+
6906
+
6907
+ /*PRG Custom */
6908
+ .prg-logo{
6909
+ max-height: 40px;
6910
+ }
6911
+
6912
+ .prg-padding-bottom-30{
6913
+ padding-bottom:30px;
6914
+ }
6915
+
6916
+ .nav-tabs {
6917
+ border-bottom: 0 !important;
6918
+ padding-bottom: 10px;
6919
+ }
6920
+
6921
+ .nav-tabs {
6922
+ border-bottom: 0 !important;
6923
+ padding-bottom: 10px;
6924
+ }
6925
+ .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
6926
+ background-color: #337AB7 !important;
6927
+ color: #fff;
6928
+ font-weight: 600;
6929
+ }
6930
+
6931
+ .nav-tabs > li > a {
6932
+ border-radius: 4px !important;
6933
+ }
6934
+
6935
+ .nav > li > a {
6936
+ padding: 4px 6px;
6937
+ }
6938
+
6939
+ .panel-min-height{
6940
+ min-height: 760px;
6941
+ }
6942
+
6943
+ .img-error{
6944
+ display: block;
6945
+ margin: 0 auto 35px;
6946
+ }
6947
+
6948
+ /* B2S Custom */
6949
+ .b2s-container{
6950
+ margin-top:15px;
6951
+ }
6952
+
6953
+ .b2s-select,.b2s-input{
6954
+ height: 30px !important;
6955
+ margin-bottom: 8px !important;
6956
+ }
6957
+
6958
+ .b2s-logo{
6959
+ padding-bottom: 15px;
6960
+ }
6961
+
6962
+ .b2s-loading-area, .prg-loading-area{
6963
+ width: 80%;
6964
+ float:left;
6965
+ text-align: center;
6966
+ }
6967
+
6968
+ .prg-loading-area{
6969
+ padding-top:25px;
6970
+ }
6971
+
6972
+ .del-padding-left {
6973
+ padding-left: 0px !important;
6974
+ }
6975
+
6976
+ .add-padding-left{
6977
+ padding: 0 15px;
6978
+ }
6979
+
6980
+ .del-padding-right {
6981
+ padding-right: 0px !important;
6982
+ }
6983
+
6984
+ .padding-bottom-10{
6985
+ padding-bottom: 10px;
6986
+ }
6987
+
6988
+ .padding-top-10{
6989
+ padding-top: 10px;
6990
+ }
6991
+
6992
+ .padding-left-5{
6993
+ padding-left: 5px;
6994
+ }
6995
+
6996
+ .padding-left-15{
6997
+ padding-left: 15px;
6998
+ }
6999
+ .margin-right-15{
7000
+ margin-right: 15px;
7001
+ }
7002
+
7003
+ .b2s-support-area {
7004
+ margin-bottom: 20px;
7005
+ }
7006
+
7007
+ .b2s-post-menu {
7008
+ padding-bottom: 10px;
7009
+ border-bottom: 1px solid #dedede;
7010
+ margin-bottom: 10px;
7011
+ width: 100%;
7012
+ }
7013
+
7014
+ .thumbnail-blog{
7015
+ padding: 1px;
7016
+ max-width: 84px;
7017
+ margin-right: 10px;
7018
+ }
7019
+
7020
+ @media(max-width: 549px) {
7021
+ .b2s-post-btn {
7022
+ width: 100%;
7023
+ }
7024
+ }
7025
+
7026
+ .b2s-img-network{
7027
+ width: 48px;
7028
+ margin-top: 3px;
7029
+ }
7030
+
7031
+ .post-img-10{
7032
+ margin-top: 10px;
7033
+ }
7034
+ .post-img-5{
7035
+ margin-top: 5px;
7036
+ }
7037
+ .img-width-9{
7038
+ max-width: 9%;
7039
+ }
7040
+
7041
+ .width-100{
7042
+ width: 100%;
7043
+ }
7044
+
7045
+ .error{
7046
+ border: 1px solid #FF0000 !important;
7047
+ }
7048
+
7049
+ input[type="checkbox"].error, select.error{
7050
+ border: 1px solid #cccccc !important;
7051
+ }
7052
+
7053
+ input[type="checkbox"].error + label{
7054
+ color: #FF0000;
7055
+ }
7056
+
7057
+ .b2s-loader-impulse, .prg-loader-impulse{
7058
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
7059
+ border-radius: 100%;
7060
+ margin: 0 auto;
7061
+ }
7062
+ .b2s-loader-impulse{
7063
+ background-color: #79b331;
7064
+ }
7065
+ .prg-loader-impulse{
7066
+ background-color: #FDBF45;
7067
+ }
7068
+ .b2s-loader-impulse-md,.prg-loader-impulse-md {
7069
+ height: 64px;
7070
+ width: 64px;
7071
+ }
7072
+
7073
+ .b2s-loader-impulse-sm,.prg-loader-impulse-sm {
7074
+ height: 32px;
7075
+ width: 32px;
7076
+ }
7077
+
7078
+ @keyframes sk-pulseScaleOut {
7079
+ 0% {
7080
+ -webkit-transform: scale(0);
7081
+ transform: scale(0); }
7082
+ 100% {
7083
+ -webkit-transform: scale(1);
7084
+ transform: scale(1);
7085
+ opacity: 0; }
7086
+ }
7087
+
7088
+ .b2s-loader-text{
7089
+ font-size: 80%;
7090
+ }
7091
+
7092
+ .clearfix{
7093
+ display: block !important;
7094
+ }
7095
+
7096
+ .b2s-color-green{
7097
+ color: #79b232;
7098
+ }
7099
+
7100
+ .b2s-version-info{
7101
+ font-size: 12px;
7102
+ }
7103
+
7104
+ .panel-no-shadow{
7105
+ -webkit-box-shadow: none;
7106
+ -moz-box-shadow: none;
7107
+ box-shadow: none;
7108
+
7109
+ }
7110
+ .panel-no-padding{
7111
+ padding: 0px;
7112
+ }
7113
+
7114
+ .btn-circle {
7115
+ width: 30px;
7116
+ height: 30px;
7117
+ text-align: center;
7118
+ padding: 6px 0;
7119
+ font-size: 12px;
7120
+ line-height: 1.428571429;
7121
+ border-radius: 15px;
7122
+ }
7123
+ .btn-circle.btn-lg {
7124
+ width: 50px;
7125
+ height: 50px;
7126
+ padding: 10px 16px;
7127
+ font-size: 18px;
7128
+ line-height: 1.33;
7129
+ border-radius: 25px;
7130
+ }
7131
+ .btn-circle.btn-xl {
7132
+ width: 70px;
7133
+ height: 70px;
7134
+ padding: 10px 16px;
7135
+ font-size: 24px;
7136
+ line-height: 1.33;
7137
+ border-radius: 35px;
7138
+ }
7139
+
7140
+ .b2s-info-btn {
7141
+ font-size: 12px;
7142
+ text-decoration: underline;
7143
+ }
7144
+
7145
+ .b2s-btn-disabled{
7146
+ opacity: .53;
7147
+ }
7148
+
7149
+ .label-sm{
7150
+ font-size: 60%;
7151
+ }
7152
+
7153
+ .btn-label-premium {
7154
+ color: #fff !important;
7155
+ }
7156
+ .btn-label-premium-xs {
7157
+ font-size: 11px !important;
7158
+ }
7159
+
7160
+ /*#adminmenu .toplevel_page_blog2social ul li:last-child{
7161
+ background-color: #79B232;
7162
+ }
7163
+ #adminmenu .toplevel_page_blog2social ul li:last-child a{
7164
+ color: #fff !important;
7165
+ }
7166
+ #adminmenu .toplevel_page_blog2social ul li:last-child:hover a{
7167
+ text-decoration: underline;
7168
+ }*/
7169
+
7170
+ #adminmenu .toplevel_page_blog2social a[href="admin.php?page=blog2social-premium"] {
7171
+ text-decoration: none !important;
7172
+ }
7173
+
7174
+ .b2s-close{
7175
+ color:#aaa;
7176
+ float:right;
7177
+ cursor:pointer
7178
+ }
7179
+ .b2s-notice-buttons{
7180
+ padding-top:10px;
7181
+ display: flex;
7182
+ justify-content: space-between
7183
+ }
7184
+ .b2s-notice{
7185
+ border-left: 5px solid #79B232;
7186
+ }
7187
+
7188
+ .margin-top-8{
7189
+ margin-top: -8px;
7190
+ }
7191
+
7192
+
assets/css/prg/ship.css CHANGED
@@ -1,36 +1,36 @@
1
- .prg-image-item{
2
- background-color: #fff;
3
- border: 1px solid #ddd;
4
- display: block;
5
- float: left;
6
- height: 180px;
7
- line-height: 1.42857;
8
- margin-bottom: 5px;
9
- margin-left: 5px;
10
- overflow: hidden;
11
- padding: 4px;
12
-
13
- transition: border 0.2s ease-in-out 0s;
14
- width: 185px;
15
- }
16
- .img-thumbnail{
17
- display: block !important;
18
- height: auto;
19
- margin-left: auto;
20
- margin-right: auto;
21
- max-height: 100%;
22
- }
23
-
24
- .prg-image-item-thumb{
25
- height: 150px;
26
- }
27
- .prg-image-item-thumb label{
28
- display: inline;
29
- }
30
- .prg-image-item-caption{
31
- color: #333;
32
-
33
- }
34
- #prgLogoutBtn{
35
- margin-top: 5px;
36
  }
1
+ .prg-image-item{
2
+ background-color: #fff;
3
+ border: 1px solid #ddd;
4
+ display: block;
5
+ float: left;
6
+ height: 180px;
7
+ line-height: 1.42857;
8
+ margin-bottom: 5px;
9
+ margin-left: 5px;
10
+ overflow: hidden;
11
+ padding: 4px;
12
+
13
+ transition: border 0.2s ease-in-out 0s;
14
+ width: 185px;
15
+ }
16
+ .img-thumbnail{
17
+ display: block !important;
18
+ height: auto;
19
+ margin-left: auto;
20
+ margin-right: auto;
21
+ max-height: 100%;
22
+ }
23
+
24
+ .prg-image-item-thumb{
25
+ height: 150px;
26
+ }
27
+ .prg-image-item-thumb label{
28
+ display: inline;
29
+ }
30
+ .prg-image-item-caption{
31
+ color: #333;
32
+
33
+ }
34
+ #prgLogoutBtn{
35
+ margin-top: 5px;
36
  }
assets/images/settings/b2s-post-format-10-1-de.png ADDED
Binary file
assets/images/settings/b2s-post-format-10-1-en.png ADDED
Binary file
assets/images/settings/b2s-post-format-10-2-de.png ADDED
Binary file
assets/images/settings/b2s-post-format-10-2-en.png ADDED
Binary file
assets/js/b2s/calendar.js CHANGED
@@ -1,13 +1,18 @@
1
  jQuery.noConflict();
2
- jQuery(window).on("load", function () {
3
 
 
 
 
 
 
4
  jQuery('#b2s_calendar').fullCalendar({
5
  editable: b2s_has_premium,
6
  locale: b2s_calendar_locale,
7
  eventLimit: 2,
8
  timeFormat: 'H:mm',
9
- events: ajaxurl + '?action=b2s_get_calendar_events',
10
  eventRender: function (event, element) {
 
11
  $header = jQuery("<div>").addClass("b2s-calendar-header");
12
  $network_name = jQuery("<span>").text(event.author).addClass("network-name").css("display", "block");
13
  element.find(".fc-time").after($network_name);
@@ -26,6 +31,15 @@ jQuery(window).on("load", function () {
26
  $body.append($em);
27
  element.append($body);
28
  },
 
 
 
 
 
 
 
 
 
29
  eventDrop: function (event, delta, revertFunc) {
30
  jQuery.ajax({
31
  url: ajaxurl,
@@ -168,6 +182,169 @@ jQuery(window).on("load", function () {
168
  jQuery(".b2s-loading-area").hide();
169
  });
170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
172
  jQuery('.b2s-network-select-image-content').html("");
173
  jQuery.ajax({
@@ -218,6 +395,7 @@ jQuery(document).on("click", ".b2s-calendar-delete", function () {
218
  }
219
  });
220
  });
 
221
  jQuery(document).on("click", ".b2s-calendar-save-all", function (e) {
222
  jQuery('#save_method').val("apply-all");
223
  e.preventDefault();
@@ -236,6 +414,7 @@ jQuery(document).on("click", ".b2s-calendar-save-all", function (e) {
236
  }
237
  });
238
  });
 
239
  jQuery(document).on("click", ".b2s-calendar-save-this", function (e) {
240
  e.preventDefault();
241
  jQuery('#save_method').val("apply-this");
@@ -282,7 +461,7 @@ jQuery('#b2s-network-select-image').on('hidden.bs.modal', function (e) {
282
  jQuery('#b2s-post-ship-item-post-format-modal').on('hidden.bs.modal', function (e) {
283
  jQuery('body').addClass('modal-open');
284
  });
285
- //jQuery(this).attr('data-network-auth-id')
286
  function checkSchedDateTime(dataNetworkAuthId) {
287
  var dateElement = '.b2s-post-item-details-release-input-date[data-network-auth-id="' + dataNetworkAuthId + '"]';
288
  var timeElement = '.b2s-post-item-details-release-input-time[data-network-auth-id="' + dataNetworkAuthId + '"]';
@@ -307,7 +486,7 @@ function checkSchedDateTime(dataNetworkAuthId) {
307
  var dateParts = dateStr.split('-');
308
  //utc current time
309
  var now = new Date();
310
- //offset between utc und user
311
  var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
312
  //enter hour to user time
313
  var hour = parseInt(minParts3[0]) + timeZone + offset;
1
  jQuery.noConflict();
 
2
 
3
+ var curSource = new Array();
4
+ curSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=all';
5
+ var newSource = new Array();
6
+
7
+ jQuery(document).ready(function () {
8
  jQuery('#b2s_calendar').fullCalendar({
9
  editable: b2s_has_premium,
10
  locale: b2s_calendar_locale,
11
  eventLimit: 2,
12
  timeFormat: 'H:mm',
13
+ eventSources: [curSource[0]],
14
  eventRender: function (event, element) {
15
+ show = true;
16
  $header = jQuery("<div>").addClass("b2s-calendar-header");
17
  $network_name = jQuery("<span>").text(event.author).addClass("network-name").css("display", "block");
18
  element.find(".fc-time").after($network_name);
31
  $body.append($em);
32
  element.append($body);
33
  },
34
+ dayRender: function (date, element) {
35
+ //TODO state to load
36
+ if (!jQuery(element[0]).hasClass('fc-past')) {
37
+ var date = jQuery(element[0]).attr('data-date');
38
+ var sel_element = jQuery(element[0]).closest('div').next('div').find('td[data-date="' + date + '"]');
39
+ $header = jQuery("<a>").html("+ <span class=\"hidden-sm hidden-xs\">"+jQuery("#b2sJSTextAddPost").val()+"</span>").addClass("b2s-calendar-sched-new-post-btn").attr('href', '#');
40
+ sel_element.append($header);
41
+ }
42
+ },
43
  eventDrop: function (event, delta, revertFunc) {
44
  jQuery.ajax({
45
  url: ajaxurl,
182
  jQuery(".b2s-loading-area").hide();
183
  });
184
 
185
+ jQuery(document).on('change', '.b2s-calendar-filter-network-btn', function () {
186
+ newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).val();
187
+ jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
188
+ jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
189
+ curSource[0] = newSource[0];
190
+
191
+ jQuery('.b2s-calendar-filter-network-account-list').html("");
192
+ jQuery('.b2s-calendar-filter-network-account-list').hide();
193
+ if (jQuery(this).val() != 'all') {
194
+ jQuery.ajax({
195
+ url: ajaxurl,
196
+ type: "POST",
197
+ dataType: "json",
198
+ cache: false,
199
+ async: false,
200
+ data: {
201
+ 'action': 'b2s_get_calendar_filter_network_auth',
202
+ 'network_id': jQuery(this).val()
203
+ },
204
+ success: function (data) {
205
+ if (data.result == true) {
206
+ jQuery(".b2s-calendar-filter-network-account-list").show();
207
+ jQuery(".b2s-calendar-filter-network-account-list").html(data.content);
208
+ }
209
+ }
210
+ });
211
+ }
212
+ return false;
213
+ });
214
+
215
+
216
+ jQuery(document).on('change', '#b2s-calendar-filter-network-auth-sel', function () {
217
+ var filter_network_details_auth_id = jQuery(this).val();
218
+ var filter_network_id = jQuery('.b2s-calendar-filter-network-btn:checked').val();
219
+ newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=' + filter_network_details_auth_id + '&filter_network=' + filter_network_id;
220
+ jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
221
+ jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
222
+ curSource[0] = newSource[0];
223
+
224
+ return false;
225
+
226
+ });
227
+
228
+
229
+ jQuery(document).on('click', '#b2s-sort-submit-btn', function () {
230
+ jQuery('#b2sPagination').val("1");
231
+ b2sSortFormSubmit();
232
+ return false;
233
+ });
234
+
235
+ jQuery(document).on('keypress', '#b2sSortPostTitle', function (event) {
236
+ if (event.keyCode == 13) { //Hide Enter
237
+ return false;
238
+ }
239
+ });
240
+
241
+ jQuery(document).on('click', '.b2s-pagination-btn', function () {
242
+ jQuery('#b2sPagination').val(jQuery(this).attr('data-page'));
243
+ b2sSortFormSubmit();
244
+ return false;
245
+ });
246
+
247
+ jQuery(document).on('change', '.b2s-select', function () {
248
+ jQuery('#b2sPagination').val("1");
249
+ b2sSortFormSubmit();
250
+ return false;
251
+ });
252
+
253
+ jQuery(document).on('click', '#b2s-sort-reset-btn', function () {
254
+ jQuery('#b2sPagination').val("1");
255
+ jQuery('#b2sSortPostTitle').val("");
256
+ jQuery('#b2sSortPostAuthor').prop('selectedIndex', 0);
257
+ jQuery('#b2sSortPostCat').prop('selectedIndex', 0);
258
+ jQuery('#b2sSortPostType').prop('selectedIndex', 0);
259
+ jQuery('#b2sSortPostSchedDate').prop('selectedIndex', 0);
260
+ jQuery('#b2sShowByDate').val("");
261
+ jQuery('#b2sUserAuthId').val("");
262
+ jQuery('#b2sSortPostStatus').prop('selectedIndex', 0);
263
+ jQuery('#b2sSortPostPublishDate').prop('selectedIndex', 0);
264
+ b2sSortFormSubmit();
265
+ return false;
266
+ });
267
+
268
+ jQuery(document).on('click', '.b2s-calendar-sched-new-post-btn', function () {
269
+ if (jQuery('#user_version').val() == 0) {
270
+ jQuery('#b2s-sched-post-modal').modal('show');
271
+ return false;
272
+ }
273
+ jQuery('#b2s-show-post-all-modal').modal('show');
274
+ var selSchedDate = jQuery(this).parent('td').attr('data-date');
275
+ b2sSortFormSubmit(selSchedDate);
276
+ return false;
277
+ });
278
+
279
+
280
+ function showFilter(typ) {
281
+ if (typ == 'show') {
282
+ jQuery('.filterShow').hide();
283
+ jQuery('.form-inline').show();
284
+ jQuery('.filterHide').show();
285
+ } else {
286
+ jQuery('.filterShow').show();
287
+ jQuery('.form-inline').hide();
288
+ jQuery('.filterHide').hide();
289
+ }
290
+ }
291
+
292
+ function b2sSortFormSubmit(selSchedDate) {
293
+ jQuery(".b2s-loading-area").show();
294
+ jQuery('.b2s-sort-result-item-area').html('');
295
+ jQuery('.b2s-sort-pagination-area').html('');
296
+
297
+ var data = {
298
+ 'action': 'b2s_sort_data',
299
+ 'b2sSortPostTitle': jQuery('#b2sSortPostTitle').val(),
300
+ 'b2sSortPostAuthor': jQuery('#b2sSortPostAuthor').val(),
301
+ 'b2sSortPostCat': jQuery('#b2sSortPostCat').val(),
302
+ 'b2sSortPostType': jQuery('#b2sSortPostType').val(),
303
+ 'b2sSortPostSchedDate': jQuery('#b2sSortPostSchedDate').val(),
304
+ 'b2sUserAuthId': jQuery('#b2sUserAuthId').val(),
305
+ 'b2sType': jQuery('#b2sType').val(),
306
+ 'b2sShowByDate': jQuery('#b2sShowByDate').val(),
307
+ 'b2sPagination': jQuery('#b2sPagination').val(),
308
+ 'b2sShowPagination': jQuery('#b2sShowPagination').length > 0 ? jQuery('#b2sShowPagination').val() : 1,
309
+ 'b2sSortPostStatus': jQuery('#b2sSortPostStatus').val(),
310
+ 'b2sSortPostPublishDate': jQuery('#b2sSortPostPublishDate').val(),
311
+ 'b2sUserLang': jQuery('#b2sUserLang').val(),
312
+ 'b2sSchedDate': selSchedDate
313
+ };
314
+
315
+ if (jQuery('#b2sPostsPerPage').length > 0) {
316
+ data['b2sPostsPerPage'] = jQuery('#b2sPostsPerPage').val();
317
+ }
318
+
319
+ jQuery.ajax({
320
+ url: ajaxurl,
321
+ type: "POST",
322
+ dataType: "json",
323
+ cache: false,
324
+ data: data,
325
+ error: function () {
326
+ jQuery('.b2s-server-connection-fail').show();
327
+ return false;
328
+ },
329
+ success: function (data) {
330
+ if (typeof data === 'undefined' || data === null) {
331
+ jQuery('.b2s-server-connection-fail').show();
332
+ return false;
333
+ }
334
+ if (data.result == true) {
335
+ jQuery('.b2s-loading-area').hide();
336
+ jQuery('.b2s-sort-result-item-area').html(data.content).show();
337
+ jQuery('.b2s-sort-pagination-area').html(data.pagination).show();
338
+ } else {
339
+ jQuery('.b2s-server-connection-fail').show();
340
+ return false;
341
+ }
342
+ }
343
+ });
344
+ return false;
345
+ }
346
+
347
+
348
  jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
349
  jQuery('.b2s-network-select-image-content').html("");
350
  jQuery.ajax({
395
  }
396
  });
397
  });
398
+
399
  jQuery(document).on("click", ".b2s-calendar-save-all", function (e) {
400
  jQuery('#save_method').val("apply-all");
401
  e.preventDefault();
414
  }
415
  });
416
  });
417
+
418
  jQuery(document).on("click", ".b2s-calendar-save-this", function (e) {
419
  e.preventDefault();
420
  jQuery('#save_method').val("apply-this");
461
  jQuery('#b2s-post-ship-item-post-format-modal').on('hidden.bs.modal', function (e) {
462
  jQuery('body').addClass('modal-open');
463
  });
464
+ //jQuery(this).attr('data-network-auth-id')
465
  function checkSchedDateTime(dataNetworkAuthId) {
466
  var dateElement = '.b2s-post-item-details-release-input-date[data-network-auth-id="' + dataNetworkAuthId + '"]';
467
  var timeElement = '.b2s-post-item-details-release-input-time[data-network-auth-id="' + dataNetworkAuthId + '"]';
486
  var dateParts = dateStr.split('-');
487
  //utc current time
488
  var now = new Date();
489
+ //offset between utc und user
490
  var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
491
  //enter hour to user time
492
  var hour = parseInt(minParts3[0]) + timeZone + offset;
assets/js/b2s/post.js CHANGED
@@ -1,548 +1,550 @@
1
- jQuery.noConflict();
2
-
3
- if (typeof wp.heartbeat !== "undefined") {
4
- jQuery(document).on('heartbeat-send', function (e, data) {
5
- data['b2s_heartbeat'] = 'b2s_listener';
6
- });
7
- wp.heartbeat.connectNow();
8
- }
9
- jQuery(window).on("load", function () {
10
- jQuery('#b2sPagination').val("1");
11
- b2sSortFormSubmit();
12
- if (jQuery('#b2sType').val() != "sched") {
13
- jQuery('.b2s-sched-calendar-btn').hide();
14
-
15
- }
16
- jQuery('#b2s-sched-calendar-area').hide();
17
- });
18
-
19
-
20
- jQuery(document).on('click', '.b2s-sched-calendar-btn', function () {
21
- if (jQuery('#b2s-sched-calendar-area').is(":visible")) {
22
- jQuery('#b2s-sched-calendar-btn-text').text(jQuery(this).attr('data-show-calendar-btn-title'));
23
- jQuery('#b2s-sched-calendar-area').hide();
24
- } else {
25
- jQuery('#b2s-sched-calendar-btn-text').text(jQuery(this).attr('data-hide-calendar-btn-title'));
26
- jQuery('#b2s-sched-calendar-area').show();
27
- }
28
- });
29
-
30
- jQuery(document).on('click', '.b2sDetailsPublishPostBtn', function () {
31
- var postId = jQuery(this).attr('data-post-id');
32
- var showByDate = jQuery(this).attr('data-search-date');
33
- if (!jQuery(this).find('i').hasClass('isload')) {
34
- jQuery('.b2s-server-connection-fail').hide();
35
- jQuery.ajax({
36
- url: ajaxurl,
37
- type: "POST",
38
- dataType: "json",
39
- cache: false,
40
- data: {
41
- 'action': 'b2s_publish_post_data',
42
- 'postId': postId,
43
- 'showByDate': showByDate
44
- },
45
- error: function () {
46
- jQuery('.b2s-server-connection-fail').show();
47
- return false;
48
- },
49
- success: function (data) {
50
- if (data.result == true) {
51
- jQuery('.b2s-post-publish-area[data-post-id="' + data.postId + '"]').html(data.content);
52
- }
53
- wp.heartbeat.connectNow();
54
- }
55
- });
56
- jQuery(this).find('i').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up').addClass('isload').addClass('isShow');
57
- } else {
58
- if (jQuery(this).find('i').hasClass('isShow')) {
59
- jQuery('.b2s-post-publish-area[data-post-id="' + postId + '"]').hide();
60
- jQuery(this).find('i').removeClass('isShow').addClass('isHide').removeClass('glyphicon-chevron-up').addClass('glyphicon-chevron-down');
61
- } else {
62
- jQuery('.b2s-post-publish-area[data-post-id="' + postId + '"]').show();
63
- jQuery(this).find('i').removeClass('isHide').addClass('isShow').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up');
64
- }
65
- }
66
- });
67
-
68
-
69
- jQuery(document).on('click', '#b2s-sort-submit-btn', function () {
70
- jQuery('#b2sPagination').val("1");
71
- b2sSortFormSubmit();
72
- return false;
73
- });
74
-
75
-
76
- jQuery(document).on('keypress', '#b2sSortPostTitle', function (event) {
77
- if (event.keyCode == 13) { //Hide Enter
78
- return false;
79
- }
80
- });
81
-
82
- jQuery(document).on('click', '.b2s-pagination-btn', function () {
83
- jQuery('#b2sPagination').val(jQuery(this).attr('data-page'));
84
- b2sSortFormSubmit();
85
- return false;
86
- });
87
-
88
- jQuery(document).on('change', '.b2s-select', function () {
89
- jQuery('#b2sPagination').val("1");
90
- b2sSortFormSubmit();
91
- return false;
92
- });
93
-
94
- jQuery(document).on('click', '#b2s-sort-reset-btn', function () {
95
- jQuery('#b2sPagination').val("1");
96
- jQuery('#b2sSortPostTitle').val("");
97
- jQuery('#b2sSortPostAuthor').prop('selectedIndex', 0);
98
- jQuery('#b2sSortPostCat').prop('selectedIndex', 0);
99
- jQuery('#b2sSortPostType').prop('selectedIndex', 0);
100
- jQuery('#b2sSortPostSchedDate').prop('selectedIndex', 0);
101
- jQuery('#b2sShowByDate').val("");
102
- jQuery('#b2sUserAuthId').val("");
103
- jQuery('#b2sSortPostStatus').prop('selectedIndex', 0);
104
- jQuery('#b2sSortPostPublishDate').prop('selectedIndex', 0);
105
- b2sSortFormSubmit();
106
- return false;
107
- });
108
-
109
-
110
- function b2sSortFormSubmit(sched_dates) {
111
- jQuery('.b2s-server-connection-fail').hide();
112
- jQuery('.b2s-loading-area').show();
113
- jQuery('.b2s-sort-result-area').hide();
114
- jQuery('.b2s-sort-result-item-area').html("").hide();
115
- jQuery('.b2s-sort-pagination-area').html("").hide();
116
-
117
- var currentType = jQuery('#b2sType').val();
118
- jQuery('.b2s-post-btn').removeClass('btn-primary').addClass('btn-link');
119
- jQuery('.b2s-post-'+currentType).removeClass('btn-link').addClass('btn-primary');
120
-
121
- var data = {
122
- 'action': 'b2s_sort_data',
123
- 'b2sSortPostTitle': jQuery('#b2sSortPostTitle').val(),
124
- 'b2sSortPostAuthor': jQuery('#b2sSortPostAuthor').val(),
125
- 'b2sSortPostCat': jQuery('#b2sSortPostCat').val(),
126
- 'b2sSortPostType': jQuery('#b2sSortPostType').val(),
127
- 'b2sSortPostSchedDate': jQuery('#b2sSortPostSchedDate').val(),
128
- 'b2sUserAuthId': jQuery('#b2sUserAuthId').val(),
129
- 'b2sType': jQuery('#b2sType').val(),
130
- 'b2sShowByDate': jQuery('#b2sShowByDate').val(),
131
- 'b2sPagination': jQuery('#b2sPagination').val(),
132
- 'b2sShowPagination': jQuery('#b2sShowPagination').length > 0 ? jQuery('#b2sShowPagination').val() : 1,
133
- 'b2sSortPostStatus': jQuery('#b2sSortPostStatus').val(),
134
- 'b2sSortPostPublishDate': jQuery('#b2sSortPostPublishDate').val(),
135
- 'b2sUserLang': jQuery('#b2sUserLang').val()
136
- };
137
-
138
- if(jQuery('#b2sPostsPerPage').length > 0) {
139
- data['b2sPostsPerPage'] = jQuery('#b2sPostsPerPage').val();
140
- }
141
-
142
- jQuery.ajax({
143
- url: ajaxurl,
144
- type: "POST",
145
- dataType: "json",
146
- cache: false,
147
- data: data,
148
- error: function () {
149
- jQuery('.b2s-server-connection-fail').show();
150
- return false;
151
- },
152
- success: function (data) {
153
- if (typeof data === 'undefined' || data === null) {
154
- jQuery('.b2s-server-connection-fail').show();
155
- return false;
156
- }
157
- if (data.result == true) {
158
- jQuery('.b2s-loading-area').hide();
159
- jQuery('.b2s-sort-result-area').show();
160
- jQuery('.b2s-sort-result-item-area').html(data.content).show();
161
- jQuery('.b2s-sort-pagination-area').html(data.pagination).show();
162
- if (jQuery('#b2sType').val() == "sched") {
163
- if (sched_dates != false) {
164
- jQuery('#b2sCalendarSchedDates').val(data.schedDates);
165
- if(jQuery('#b2s-sched-datepicker-area').length > 0)
166
- {
167
- jQuery('#b2s-sched-datepicker-area').datepicker('destroy');
168
- getB2SSchedDatepicker();
169
- }
170
- return false;
171
- }
172
- }
173
- } else {
174
- jQuery('.b2s-server-connection-fail').show();
175
- return false;
176
- }
177
- }
178
- });
179
- }
180
-
181
- jQuery(document).on('click', '.b2sDetailsSchedPostBtn', function () {
182
- var postId = jQuery(this).attr('data-post-id');
183
- var showByDate = jQuery(this).attr('data-search-date');
184
- var userAuthId = jQuery('#b2sUserAuthId').val();
185
- if (!jQuery(this).find('i').hasClass('isload')) {
186
- jQuery('.b2s-server-connection-fail').hide();
187
- jQuery.ajax({
188
- url: ajaxurl,
189
- type: "POST",
190
- dataType: "json",
191
- cache: false,
192
- data: {
193
- 'action': 'b2s_sched_post_data',
194
- 'postId': postId,
195
- 'showByDate': showByDate,
196
- 'userAuthId': userAuthId
197
- },
198
- error: function () {
199
- jQuery('.b2s-server-connection-fail').show();
200
- return false;
201
- },
202
- success: function (data) {
203
- if (data.result == true) {
204
- jQuery('.b2s-post-sched-area[data-post-id="' + data.postId + '"]').html(data.content);
205
- }
206
- }
207
- });
208
- jQuery(this).find('i').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up').addClass('isload').addClass('isShow');
209
- } else {
210
- if (jQuery(this).find('i').hasClass('isShow')) {
211
- jQuery('.b2s-post-sched-area[data-post-id="' + postId + '"]').hide();
212
- jQuery(this).find('i').removeClass('isShow').addClass('isHide').removeClass('glyphicon-chevron-up').addClass('glyphicon-chevron-down');
213
- } else {
214
- jQuery('.b2s-post-sched-area[data-post-id="' + postId + '"]').show();
215
- jQuery(this).find('i').removeClass('isHide').addClass('isShow').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up');
216
- }
217
- }
218
-
219
- });
220
- jQuery(document).on('click', '.b2sDetailsPublishPostTriggerLink', function () {
221
- jQuery(this).parent().prev().find('button').trigger('click');
222
- return false;
223
- });
224
- jQuery(document).on('click', '.b2sDetailsSchedPostTriggerLink', function () {
225
- jQuery(this).parent().prev().find('button').trigger('click');
226
- return false;
227
- });
228
- jQuery(document).on('click', '.checkbox-all', function () {
229
- if (jQuery('.checkbox-all').is(":checked")) {
230
- jQuery('.checkboxes[data-blog-post-id="' + jQuery(this).attr('data-blog-post-id') + '"]').prop("checked", true);
231
- } else {
232
- jQuery('.checkboxes[data-blog-post-id="' + jQuery('.checkbox-all').attr('data-blog-post-id') + '"]').prop("checked", false);
233
- }
234
- });
235
- jQuery(document).on('click', '.checkbox-post-sched-all-btn', function () {
236
- var checkboxes = jQuery('.checkboxes[data-blog-post-id="' + jQuery(this).attr('data-blog-post-id') + '"]:checked');
237
- if (checkboxes.length > 0) {
238
- var items = [];
239
- jQuery(checkboxes).each(function (i, selected) {
240
- items[i] = jQuery(selected).val();
241
- });
242
- jQuery('#b2s-delete-confirm-post-id').val(items.join());
243
- jQuery('#b2s-delete-confirm-post-count').html(items.length);
244
- jQuery('.b2s-delete-sched-modal').modal('show');
245
- jQuery('.b2s-sched-delete-confirm-btn').prop('disabeld', false);
246
- }
247
- });
248
- jQuery(document).on('click', '.b2s-post-sched-area-drop-btn', function () {
249
- jQuery('#b2s-delete-confirm-post-id').val(jQuery(this).attr('data-post-id'));
250
- jQuery('#b2s-delete-confirm-post-count').html('1');
251
- jQuery('.b2s-delete-sched-modal').modal('show');
252
- jQuery('.b2s-sched-delete-confirm-btn').prop('disabeld', false);
253
- });
254
- jQuery(document).on('click', '.b2s-sched-delete-confirm-btn', function () {
255
- jQuery('.b2s-post-remove-fail').hide();
256
- jQuery('.b2s-post-remove-success').hide();
257
- jQuery('.b2s-sched-delete-confirm-btn').prop('disabeld', true);
258
- jQuery('.b2s-server-connection-fail').hide();
259
- jQuery.ajax({
260
- url: ajaxurl,
261
- type: "POST",
262
- dataType: "json",
263
- cache: false,
264
- data: {
265
- 'action': 'b2s_delete_user_sched_post',
266
- 'postId': jQuery('#b2s-delete-confirm-post-id').val()
267
- },
268
- error: function () {
269
- jQuery('.b2s-server-connection-fail').show();
270
- return false;
271
- },
272
- success: function (data) {
273
- jQuery('.b2s-delete-sched-modal').modal('hide');
274
- if (data.result == true) {
275
- var count = parseInt(jQuery('.b2s-sched-count[data-post-id="' + data.blogPostId + '"]').html());
276
- var newCount = count - data.postCount;
277
- jQuery('.b2s-sched-count[data-post-id="' + data.blogPostId + '"]').html(newCount);
278
- if (newCount >= 1) {
279
- jQuery.each(data.postId, function (i, id) {
280
- jQuery('.b2s-post-sched-area-li[data-post-id="' + id + '"]').remove();
281
- });
282
- } else {
283
- jQuery('.b2s-post-sched-area-li[data-post-id="' + data.postId[0] + '"]').closest('ul').closest('li').remove();
284
- }
285
- jQuery('.b2s-post-remove-success').show();
286
- } else {
287
- jQuery('.b2s-post-remove-fail').show();
288
- }
289
- wp.heartbeat.connectNow();
290
- return true;
291
- }
292
- });
293
- });
294
- jQuery(document).on('click', '.checkbox-post-publish-all-btn', function () {
295
- var checkboxes = jQuery('.checkboxes[data-blog-post-id="' + jQuery(this).attr('data-blog-post-id') + '"]:checked');
296
- if (checkboxes.length > 0) {
297
- var items = [];
298
- jQuery(checkboxes).each(function (i, selected) {
299
- items[i] = jQuery(selected).val();
300
- });
301
- jQuery('#b2s-delete-confirm-post-id').val(items.join());
302
- jQuery('#b2s-delete-confirm-post-count').html(items.length);
303
- jQuery('.b2s-delete-publish-modal').modal('show');
304
- jQuery('.b2s-publish-delete-confirm-btn').prop('disabeld', false);
305
- }
306
- });
307
- jQuery(document).on('click', '.b2s-post-publish-area-drop-btn', function () {
308
- jQuery('#b2s-delete-confirm-post-id').val(jQuery(this).attr('data-post-id'));
309
- jQuery('#b2s-delete-confirm-post-count').html('1');
310
- jQuery('.b2s-delete-publish-modal').modal('show');
311
- jQuery('.b2s-publish-delete-confirm-btn').prop('disabeld', false);
312
- });
313
- jQuery(document).on('click', '.b2s-publish-delete-confirm-btn', function () {
314
- jQuery('.b2s-post-remove-fail').hide();
315
- jQuery('.b2s-post-remove-success').hide();
316
- jQuery('.b2s-publish-delete-confirm-btn').prop('disabeld', true);
317
- jQuery('.b2s-server-connection-fail').hide();
318
- jQuery.ajax({
319
- url: ajaxurl,
320
- type: "POST",
321
- dataType: "json",
322
- cache: false,
323
- data: {
324
- 'action': 'b2s_delete_user_publish_post',
325
- 'postId': jQuery('#b2s-delete-confirm-post-id').val()
326
- },
327
- error: function () {
328
- jQuery('.b2s-server-connection-fail').show();
329
- return false;
330
- },
331
- success: function (data) {
332
- jQuery('.b2s-delete-publish-modal').modal('hide');
333
- if (data.result == true) {
334
- var count = parseInt(jQuery('.b2s-publish-count[data-post-id="' + data.blogPostId + '"]').html());
335
- var newCount = count - data.postCount;
336
- jQuery('.b2s-publish-count[data-post-id="' + data.blogPostId + '"]').html(newCount);
337
- if (newCount >= 1) {
338
- jQuery.each(data.postId, function (i, id) {
339
- jQuery('.b2s-post-publish-area-li[data-post-id="' + id + '"]').remove();
340
- });
341
- } else {
342
- jQuery('.b2s-post-publish-area-li[data-post-id="' + data.postId[0] + '"]').closest('ul').closest('li').remove();
343
- }
344
- jQuery('.b2s-post-remove-success').show();
345
- } else {
346
- jQuery('.b2s-post-remove-fail').show();
347
- }
348
- wp.heartbeat.connectNow();
349
- return true;
350
- }
351
- });
352
- });
353
- var dateFormat = "yyyy-mm-dd";
354
- var language = "en";
355
- var showMeridian = true;
356
- if (jQuery('#b2sUserLang').val() == "de") {
357
- dateFormat = "dd.mm.yyyy";
358
- language = "de";
359
- showMeridian = false;
360
- }
361
-
362
- if (jQuery.isFunction(jQuery.fn.datepicker)) {
363
- jQuery("#b2s-change-date").datepicker({
364
- format: dateFormat,
365
- language: language,
366
- maxViewMode: 2,
367
- todayHighlight: true,
368
- startDate: new Date(),
369
- calendarWeeks: true,
370
- autoclose: true
371
- });
372
-
373
- jQuery("#b2s-change-date").datepicker().on('changeDate', function (e) {
374
- checkSchedDateTime();
375
- });
376
- }
377
-
378
-
379
-
380
- if (jQuery.isFunction(jQuery.fn.timepicker)) {
381
- jQuery('#b2s-change-time').timepicker({
382
- minuteStep: 15,
383
- appendWidgetTo: 'body',
384
- showSeconds: false,
385
- showMeridian: showMeridian,
386
- defaultTime: 'current',
387
- snapToStep: true
388
- });
389
-
390
- jQuery('#b2s-change-time').timepicker().on('changeTime.timepicker', function (e) {
391
- checkSchedDateTime();
392
- });
393
- }
394
-
395
- jQuery(document).on('click', '.b2s-post-sched-area-edittime-btn', function () {
396
- jQuery('#b2s-data-blog-sched-date').val(jQuery(this).attr('data-blog-sched-date'));
397
- jQuery('#b2s-data-b2s-sched-date').val(jQuery(this).attr('data-b2s-sched-date'));
398
- var dateObjBlog = new Date();
399
- dateObjBlog.setTime(jQuery('#b2s-data-blog-sched-date').val());
400
- var dateObj = new Date();
401
- dateObj.setTime(jQuery('#b2s-data-b2s-sched-date').val());
402
- jQuery('#b2s-change-date').datepicker('setStartDate', dateObjBlog);
403
- jQuery('#b2s-change-date').datepicker('setDate', dateObj);
404
- jQuery('#b2s-change-time').timepicker('setTime', (dateObj.getUTCHours()) + ':' + dateObj.getUTCMinutes());
405
- jQuery('#b2s-data-post-id').val(jQuery(this).attr('data-post-id'));
406
- jQuery('.b2s-change-datetime-modal').modal('show');
407
- jQuery('.b2s-change-date-btn').prop('disabled', false);
408
- });
409
- jQuery(document).on('click', '.b2s-change-date-btn', function () {
410
- if (jQuery('#b2s-change-date').val() == "") {
411
- jQuery('#b2s-change-date').addClass('error');
412
- return false;
413
- } else {
414
- jQuery('#b2s-change-date').removeClass('error');
415
- }
416
-
417
- if (jQuery('#b2s-change-time').val() == "") {
418
- jQuery('#b2s-change-time').addClass('error');
419
- return false;
420
- } else {
421
- jQuery('#b2s-change-time').removeClass('error');
422
- }
423
- jQuery('.b2s-change-date-btn').prop('disabled', true);
424
- jQuery('.b2s-server-connection-fail').hide();
425
- jQuery.ajax({
426
- url: ajaxurl,
427
- type: "POST",
428
- dataType: "json",
429
- cache: false,
430
- data: {
431
- 'action': 'b2s_update_user_sched_time_post',
432
- 'postId': jQuery('#b2s-data-post-id').val(),
433
- 'time': jQuery('#b2s-change-time').val(),
434
- 'date': jQuery('#b2s-change-date').val(),
435
- 'user_timezone': jQuery("#user_timezone").val()
436
- },
437
- error: function () {
438
- jQuery('.b2s-server-connection-fail').show();
439
- return false;
440
- },
441
- success: function (data) {
442
- jQuery('.b2s-change-datetime-modal').modal('hide');
443
- if (data.result == true) {
444
- jQuery('.b2s-post-sched-area-sched-time[data-post-id="' + data.postId + '"]').html(data.time);
445
- }
446
- wp.heartbeat.connectNow();
447
- return true;
448
- }
449
- });
450
- });
451
- function showFilter(typ) {
452
- if (typ == 'show') {
453
- jQuery('.filterShow').hide();
454
- jQuery('.form-inline').show();
455
- jQuery('.filterHide').show();
456
- } else {
457
- jQuery('.filterShow').show();
458
- jQuery('.form-inline').hide();
459
- jQuery('.filterHide').hide();
460
- }
461
- }
462
-
463
- function getB2SSchedDatepicker() {
464
-
465
- var language = "en";
466
- if (jQuery('#b2sUserLang').val() == "de") {
467
- language = "de";
468
- }
469
- var sched_dates = JSON.parse(jQuery('#b2sCalendarSchedDates').val());
470
-
471
- jQuery('#b2s-sched-datepicker-area').datepicker({
472
- format: "yyyy-mm-dd",
473
- inline: true,
474
- language: language,
475
- calendarWeeks: true,
476
- todayHighlight: true,
477
- beforeShowDay: function (date) {
478
- var d = date;
479
- var formattedDate = d.getFullYear() + "-" + padDate(d.getMonth() + 1) + "-" + padDate(d.getDate());
480
- if (sched_dates != "0") {
481
- if (jQuery.inArray(formattedDate, sched_dates) != -1) {
482
- return {classes: 'event'};
483
- }
484
- }
485
- return;
486
- }
487
- }).on('changeDate', function (date) {
488
- if (jQuery('#b2sShowByDate').val() != date.format()) {
489
- jQuery('#b2sPagination').val("1");
490
- jQuery('#b2sShowByDate').val(date.format());
491
- b2sSortFormSubmit(false);
492
- }
493
- return false;
494
- });
495
-
496
- if (jQuery('#b2sShowByDate').val() != "") {
497
- jQuery('#b2s-sched-datepicker-area').datepicker('setDate', jQuery('#b2sShowByDate').val());
498
- }
499
-
500
- }
501
-
502
-
503
- function padDate(n) {
504
- return ("0" + n).slice(-2);
505
- }
506
-
507
-
508
- function checkSchedDateTime() {
509
- var dateElement = '#b2s-change-date';
510
- var timeElement = '#b2s-change-time';
511
- var dateStr = jQuery(dateElement).val();
512
- var minStr = jQuery(timeElement).val();
513
- var timeZone = parseInt(jQuery('#user_timezone').val()) * (-1);
514
-
515
- if (jQuery('#b2sUserLang').val() == 'de') {
516
- dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
517
- } else {
518
- var minParts = minStr.split(' ');
519
- var minParts2 = minParts[0].split(':');
520
- if (minParts[1] == 'PM') {
521
- minParts2[0] = parseInt(minParts2[0]) + 12;
522
- }
523
- minStr = minParts2[0] + ':' + minParts2[1];
524
- }
525
-
526
- var minParts3 = minStr.split(':');
527
- if (minParts3[0] < 10) {
528
- minParts3[0] = '0' + minParts3[0];
529
- }
530
- var dateParts = dateStr.split('-');
531
-
532
- //utc current time
533
- var now = new Date();
534
- //offset between utc und user
535
- var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
536
- //enter hour to user time
537
- var hour = parseInt(minParts3[0]) + timeZone + offset;
538
- //calculate datetime in utc
539
- var enter = new Date(dateParts[0], dateParts[1] - 1, dateParts[2], hour, minParts3[1]);
540
- //compare enter date time with allowed user time
541
- if (enter.getTime() < now.getTime()) {
542
- //enter set on next 15 minutes and calculate on user timezone
543
- enter.setTime(now.getTime() + (900000 - (now.getTime() % 900000)) - (3600000 * (timeZone + offset)));
544
- jQuery(dateElement).datepicker('update', enter);
545
- jQuery(timeElement).timepicker('setTime', enter);
546
- }
547
- }
548
-
 
 
1
+ jQuery.noConflict();
2
+
3
+ if (typeof wp.heartbeat !== "undefined") {
4
+ jQuery(document).on('heartbeat-send', function (e, data) {
5
+ data['b2s_heartbeat'] = 'b2s_listener';
6
+ });
7
+ wp.heartbeat.connectNow();
8
+ }
9
+ jQuery(window).on("load", function () {
10
+ jQuery('#b2sPagination').val("1");
11
+ b2sSortFormSubmit();
12
+ if (jQuery('#b2sType').val() != "sched") {
13
+ jQuery('.b2s-sched-calendar-btn').hide();
14
+
15
+ }
16
+ jQuery('#b2s-sched-calendar-area').hide();
17
+ });
18
+
19
+
20
+ jQuery(document).on('click', '.b2s-sched-calendar-btn', function () {
21
+ if (jQuery('#b2s-sched-calendar-area').is(":visible")) {
22
+ jQuery('#b2s-sched-calendar-btn-text').text(jQuery(this).attr('data-show-calendar-btn-title'));
23
+ jQuery('#b2s-sched-calendar-area').hide();
24
+ } else {
25
+ jQuery('#b2s-sched-calendar-btn-text').text(jQuery(this).attr('data-hide-calendar-btn-title'));
26
+ jQuery('#b2s-sched-calendar-area').show();
27
+ }
28
+ });
29
+
30
+ jQuery(document).on('click', '.b2sDetailsPublishPostBtn', function () {
31
+ var postId = jQuery(this).attr('data-post-id');
32
+ var showByDate = jQuery(this).attr('data-search-date');
33
+ if (!jQuery(this).find('i').hasClass('isload')) {
34
+ jQuery('.b2s-server-connection-fail').hide();
35
+ jQuery.ajax({
36
+ url: ajaxurl,
37
+ type: "POST",
38
+ dataType: "json",
39
+ cache: false,
40
+ data: {
41
+ 'action': 'b2s_publish_post_data',
42
+ 'postId': postId,
43
+ 'showByDate': showByDate
44
+ },
45
+ error: function () {
46
+ jQuery('.b2s-server-connection-fail').show();
47
+ return false;
48
+ },
49
+ success: function (data) {
50
+ if (data.result == true) {
51
+ jQuery('.b2s-post-publish-area[data-post-id="' + data.postId + '"]').html(data.content);
52
+ }
53
+ wp.heartbeat.connectNow();
54
+ }
55
+ });
56
+ jQuery(this).find('i').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up').addClass('isload').addClass('isShow');
57
+ } else {
58
+ if (jQuery(this).find('i').hasClass('isShow')) {
59
+ jQuery('.b2s-post-publish-area[data-post-id="' + postId + '"]').hide();
60
+ jQuery(this).find('i').removeClass('isShow').addClass('isHide').removeClass('glyphicon-chevron-up').addClass('glyphicon-chevron-down');
61
+ } else {
62
+ jQuery('.b2s-post-publish-area[data-post-id="' + postId + '"]').show();
63
+ jQuery(this).find('i').removeClass('isHide').addClass('isShow').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up');
64
+ }
65
+ }
66
+ });
67
+
68
+
69
+ jQuery(document).on('click', '#b2s-sort-submit-btn', function () {
70
+ jQuery('#b2sPagination').val("1");
71
+ b2sSortFormSubmit();
72
+ return false;
73
+ });
74
+
75
+
76
+ jQuery(document).on('keypress', '#b2sSortPostTitle', function (event) {
77
+ if (event.keyCode == 13) { //Hide Enter
78
+ return false;
79
+ }
80
+ });
81
+
82
+ jQuery(document).on('click', '.b2s-pagination-btn', function () {
83
+ jQuery('#b2sPagination').val(jQuery(this).attr('data-page'));
84
+ b2sSortFormSubmit();
85
+ return false;
86
+ });
87
+
88
+ jQuery(document).on('change', '.b2s-select', function () {
89
+ jQuery('#b2sPagination').val("1");
90
+ b2sSortFormSubmit();
91
+ return false;
92
+ });
93
+
94
+ jQuery(document).on('click', '#b2s-sort-reset-btn', function () {
95
+ jQuery('#b2sPagination').val("1");
96
+ jQuery('#b2sSortPostTitle').val("");
97
+ jQuery('#b2sSortPostAuthor').prop('selectedIndex', 0);
98
+ jQuery('#b2sSortPostCat').prop('selectedIndex', 0);
99
+ jQuery('#b2sSortPostType').prop('selectedIndex', 0);
100
+ jQuery('#b2sSortPostSchedDate').prop('selectedIndex', 0);
101
+ jQuery('#b2sShowByDate').val("");
102
+ jQuery('#b2sUserAuthId').val("");
103
+ jQuery('#b2sSortPostStatus').prop('selectedIndex', 0);
104
+ jQuery('#b2sSortPostPublishDate').prop('selectedIndex', 0);
105
+ b2sSortFormSubmit();
106
+ return false;
107
+ });
108
+
109
+
110
+ function b2sSortFormSubmit(sched_dates) {
111
+ jQuery('.b2s-server-connection-fail').hide();
112
+ jQuery('.b2s-loading-area').show();
113
+ jQuery('.b2s-sort-result-area').hide();
114
+ jQuery('.b2s-sort-result-item-area').html("").hide();
115
+ jQuery('.b2s-sort-pagination-area').html("").hide();
116
+
117
+ var currentType = jQuery('#b2sType').val();
118
+ if (currentType != "undefined") {
119
+ jQuery('.b2s-post-btn').removeClass('btn-primary').addClass('btn-link');
120
+ jQuery('.b2s-post-' + currentType).removeClass('btn-link').addClass('btn-primary');
121
+ }
122
+
123
+ var data = {
124
+ 'action': 'b2s_sort_data',
125
+ 'b2sSortPostTitle': jQuery('#b2sSortPostTitle').val(),
126
+ 'b2sSortPostAuthor': jQuery('#b2sSortPostAuthor').val(),
127
+ 'b2sSortPostCat': jQuery('#b2sSortPostCat').val(),
128
+ 'b2sSortPostType': jQuery('#b2sSortPostType').val(),
129
+ 'b2sSortPostSchedDate': jQuery('#b2sSortPostSchedDate').val(),
130
+ 'b2sUserAuthId': jQuery('#b2sUserAuthId').val(),
131
+ 'b2sType': jQuery('#b2sType').val(),
132
+ 'b2sShowByDate': jQuery('#b2sShowByDate').val(),
133
+ 'b2sPagination': jQuery('#b2sPagination').val(),
134
+ 'b2sShowPagination': jQuery('#b2sShowPagination').length > 0 ? jQuery('#b2sShowPagination').val() : 1,
135
+ 'b2sSortPostStatus': jQuery('#b2sSortPostStatus').val(),
136
+ 'b2sSortPostPublishDate': jQuery('#b2sSortPostPublishDate').val(),
137
+ 'b2sUserLang': jQuery('#b2sUserLang').val()
138
+ };
139
+
140
+ if (jQuery('#b2sPostsPerPage').length > 0) {
141
+ data['b2sPostsPerPage'] = jQuery('#b2sPostsPerPage').val();
142
+ }
143
+
144
+ jQuery.ajax({
145
+ url: ajaxurl,
146
+ type: "POST",
147
+ dataType: "json",
148
+ cache: false,
149
+ data: data,
150
+ error: function () {
151
+ jQuery('.b2s-server-connection-fail').show();
152
+ return false;
153
+ },
154
+ success: function (data) {
155
+ if (typeof data === 'undefined' || data === null) {
156
+ jQuery('.b2s-server-connection-fail').show();
157
+ return false;
158
+ }
159
+ if (data.result == true) {
160
+ jQuery('.b2s-loading-area').hide();
161
+ jQuery('.b2s-sort-result-area').show();
162
+ jQuery('.b2s-sort-result-item-area').html(data.content).show();
163
+ jQuery('.b2s-sort-pagination-area').html(data.pagination).show();
164
+ if (jQuery('#b2sType').val() == "sched") {
165
+ if (sched_dates != false) {
166
+ jQuery('#b2sCalendarSchedDates').val(data.schedDates);
167
+ if (jQuery('#b2s-sched-datepicker-area').length > 0)
168
+ {
169
+ jQuery('#b2s-sched-datepicker-area').datepicker('destroy');
170
+ getB2SSchedDatepicker();
171
+ }
172
+ return false;
173
+ }
174
+ }
175
+ } else {
176
+ jQuery('.b2s-server-connection-fail').show();
177
+ return false;
178
+ }
179
+ }
180
+ });
181
+ }
182
+
183
+ jQuery(document).on('click', '.b2sDetailsSchedPostBtn', function () {
184
+ var postId = jQuery(this).attr('data-post-id');
185
+ var showByDate = jQuery(this).attr('data-search-date');
186
+ var userAuthId = jQuery('#b2sUserAuthId').val();
187
+ if (!jQuery(this).find('i').hasClass('isload')) {
188
+ jQuery('.b2s-server-connection-fail').hide();
189
+ jQuery.ajax({
190
+ url: ajaxurl,
191
+ type: "POST",
192
+ dataType: "json",
193
+ cache: false,
194
+ data: {
195
+ 'action': 'b2s_sched_post_data',
196
+ 'postId': postId,
197
+ 'showByDate': showByDate,
198
+ 'userAuthId': userAuthId
199
+ },
200
+ error: function () {
201
+ jQuery('.b2s-server-connection-fail').show();
202
+ return false;
203
+ },
204
+ success: function (data) {
205
+ if (data.result == true) {
206
+ jQuery('.b2s-post-sched-area[data-post-id="' + data.postId + '"]').html(data.content);
207
+ }
208
+ }
209
+ });
210
+ jQuery(this).find('i').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up').addClass('isload').addClass('isShow');
211
+ } else {
212
+ if (jQuery(this).find('i').hasClass('isShow')) {
213
+ jQuery('.b2s-post-sched-area[data-post-id="' + postId + '"]').hide();
214
+ jQuery(this).find('i').removeClass('isShow').addClass('isHide').removeClass('glyphicon-chevron-up').addClass('glyphicon-chevron-down');
215
+ } else {
216
+ jQuery('.b2s-post-sched-area[data-post-id="' + postId + '"]').show();
217
+ jQuery(this).find('i').removeClass('isHide').addClass('isShow').removeClass('glyphicon-chevron-down').addClass('glyphicon-chevron-up');
218
+ }
219
+ }
220
+
221
+ });
222
+ jQuery(document).on('click', '.b2sDetailsPublishPostTriggerLink', function () {
223
+ jQuery(this).parent().prev().find('button').trigger('click');
224
+ return false;
225
+ });
226
+ jQuery(document).on('click', '.b2sDetailsSchedPostTriggerLink', function () {
227
+ jQuery(this).parent().prev().find('button').trigger('click');
228
+ return false;
229
+ });
230
+ jQuery(document).on('click', '.checkbox-all', function () {
231
+ if (jQuery('.checkbox-all').is(":checked")) {
232
+ jQuery('.checkboxes[data-blog-post-id="' + jQuery(this).attr('data-blog-post-id') + '"]').prop("checked", true);
233
+ } else {
234
+ jQuery('.checkboxes[data-blog-post-id="' + jQuery('.checkbox-all').attr('data-blog-post-id') + '"]').prop("checked", false);
235
+ }
236
+ });
237
+ jQuery(document).on('click', '.checkbox-post-sched-all-btn', function () {
238
+ var checkboxes = jQuery('.checkboxes[data-blog-post-id="' + jQuery(this).attr('data-blog-post-id') + '"]:checked');
239
+ if (checkboxes.length > 0) {
240
+ var items = [];
241
+ jQuery(checkboxes).each(function (i, selected) {
242
+ items[i] = jQuery(selected).val();
243
+ });
244
+ jQuery('#b2s-delete-confirm-post-id').val(items.join());
245
+ jQuery('#b2s-delete-confirm-post-count').html(items.length);
246
+ jQuery('.b2s-delete-sched-modal').modal('show');
247
+ jQuery('.b2s-sched-delete-confirm-btn').prop('disabeld', false);
248
+ }
249
+ });
250
+ jQuery(document).on('click', '.b2s-post-sched-area-drop-btn', function () {
251
+ jQuery('#b2s-delete-confirm-post-id').val(jQuery(this).attr('data-post-id'));
252
+ jQuery('#b2s-delete-confirm-post-count').html('1');
253
+ jQuery('.b2s-delete-sched-modal').modal('show');
254
+ jQuery('.b2s-sched-delete-confirm-btn').prop('disabeld', false);
255
+ });
256
+ jQuery(document).on('click', '.b2s-sched-delete-confirm-btn', function () {
257
+ jQuery('.b2s-post-remove-fail').hide();
258
+ jQuery('.b2s-post-remove-success').hide();
259
+ jQuery('.b2s-sched-delete-confirm-btn').prop('disabeld', true);
260
+ jQuery('.b2s-server-connection-fail').hide();
261
+ jQuery.ajax({
262
+ url: ajaxurl,
263
+ type: "POST",
264
+ dataType: "json",
265
+ cache: false,
266
+ data: {
267
+ 'action': 'b2s_delete_user_sched_post',
268
+ 'postId': jQuery('#b2s-delete-confirm-post-id').val()
269
+ },
270
+ error: function () {
271
+ jQuery('.b2s-server-connection-fail').show();
272
+ return false;
273
+ },
274
+ success: function (data) {
275
+ jQuery('.b2s-delete-sched-modal').modal('hide');
276
+ if (data.result == true) {
277
+ var count = parseInt(jQuery('.b2s-sched-count[data-post-id="' + data.blogPostId + '"]').html());
278
+ var newCount = count - data.postCount;
279
+ jQuery('.b2s-sched-count[data-post-id="' + data.blogPostId + '"]').html(newCount);
280
+ if (newCount >= 1) {
281
+ jQuery.each(data.postId, function (i, id) {
282
+ jQuery('.b2s-post-sched-area-li[data-post-id="' + id + '"]').remove();
283
+ });
284
+ } else {
285
+ jQuery('.b2s-post-sched-area-li[data-post-id="' + data.postId[0] + '"]').closest('ul').closest('li').remove();
286
+ }
287
+ jQuery('.b2s-post-remove-success').show();
288
+ } else {
289
+ jQuery('.b2s-post-remove-fail').show();
290
+ }
291
+ wp.heartbeat.connectNow();
292
+ return true;
293
+ }
294
+ });
295
+ });
296
+ jQuery(document).on('click', '.checkbox-post-publish-all-btn', function () {
297
+ var checkboxes = jQuery('.checkboxes[data-blog-post-id="' + jQuery(this).attr('data-blog-post-id') + '"]:checked');
298
+ if (checkboxes.length > 0) {
299
+ var items = [];
300
+ jQuery(checkboxes).each(function (i, selected) {
301
+ items[i] = jQuery(selected).val();
302
+ });
303
+ jQuery('#b2s-delete-confirm-post-id').val(items.join());
304
+ jQuery('#b2s-delete-confirm-post-count').html(items.length);
305
+ jQuery('.b2s-delete-publish-modal').modal('show');
306
+ jQuery('.b2s-publish-delete-confirm-btn').prop('disabeld', false);
307
+ }
308
+ });
309
+ jQuery(document).on('click', '.b2s-post-publish-area-drop-btn', function () {
310
+ jQuery('#b2s-delete-confirm-post-id').val(jQuery(this).attr('data-post-id'));
311
+ jQuery('#b2s-delete-confirm-post-count').html('1');
312
+ jQuery('.b2s-delete-publish-modal').modal('show');
313
+ jQuery('.b2s-publish-delete-confirm-btn').prop('disabeld', false);
314
+ });
315
+ jQuery(document).on('click', '.b2s-publish-delete-confirm-btn', function () {
316
+ jQuery('.b2s-post-remove-fail').hide();
317
+ jQuery('.b2s-post-remove-success').hide();
318
+ jQuery('.b2s-publish-delete-confirm-btn').prop('disabeld', true);
319
+ jQuery('.b2s-server-connection-fail').hide();
320
+ jQuery.ajax({
321
+ url: ajaxurl,
322
+ type: "POST",
323
+ dataType: "json",
324
+ cache: false,
325
+ data: {
326
+ 'action': 'b2s_delete_user_publish_post',
327
+ 'postId': jQuery('#b2s-delete-confirm-post-id').val()
328
+ },
329
+ error: function () {
330
+ jQuery('.b2s-server-connection-fail').show();
331
+ return false;
332
+ },
333
+ success: function (data) {
334
+ jQuery('.b2s-delete-publish-modal').modal('hide');
335
+ if (data.result == true) {
336
+ var count = parseInt(jQuery('.b2s-publish-count[data-post-id="' + data.blogPostId + '"]').html());
337
+ var newCount = count - data.postCount;
338
+ jQuery('.b2s-publish-count[data-post-id="' + data.blogPostId + '"]').html(newCount);
339
+ if (newCount >= 1) {
340
+ jQuery.each(data.postId, function (i, id) {
341
+ jQuery('.b2s-post-publish-area-li[data-post-id="' + id + '"]').remove();
342
+ });
343
+ } else {
344
+ jQuery('.b2s-post-publish-area-li[data-post-id="' + data.postId[0] + '"]').closest('ul').closest('li').remove();
345
+ }
346
+ jQuery('.b2s-post-remove-success').show();
347
+ } else {
348
+ jQuery('.b2s-post-remove-fail').show();
349
+ }
350
+ wp.heartbeat.connectNow();
351
+ return true;
352
+ }
353
+ });
354
+ });
355
+ var dateFormat = "yyyy-mm-dd";
356
+ var language = "en";
357
+ var showMeridian = true;
358
+ if (jQuery('#b2sUserLang').val() == "de") {
359
+ dateFormat = "dd.mm.yyyy";
360
+ language = "de";
361
+ showMeridian = false;
362
+ }
363
+
364
+ if (jQuery.isFunction(jQuery.fn.datepicker)) {
365
+ jQuery("#b2s-change-date").datepicker({
366
+ format: dateFormat,
367
+ language: language,
368
+ maxViewMode: 2,
369
+ todayHighlight: true,
370
+ startDate: new Date(),
371
+ calendarWeeks: true,
372
+ autoclose: true
373
+ });
374
+
375
+ jQuery("#b2s-change-date").datepicker().on('changeDate', function (e) {
376
+ checkSchedDateTime();
377
+ });
378
+ }
379
+
380
+
381
+
382
+ if (jQuery.isFunction(jQuery.fn.timepicker)) {
383
+ jQuery('#b2s-change-time').timepicker({
384
+ minuteStep: 15,
385
+ appendWidgetTo: 'body',
386
+ showSeconds: false,
387
+ showMeridian: showMeridian,
388
+ defaultTime: 'current',
389
+ snapToStep: true
390
+ });
391
+
392
+ jQuery('#b2s-change-time').timepicker().on('changeTime.timepicker', function (e) {
393
+ checkSchedDateTime();
394
+ });
395
+ }
396
+
397
+ jQuery(document).on('click', '.b2s-post-sched-area-edittime-btn', function () {
398
+ jQuery('#b2s-data-blog-sched-date').val(jQuery(this).attr('data-blog-sched-date'));
399
+ jQuery('#b2s-data-b2s-sched-date').val(jQuery(this).attr('data-b2s-sched-date'));
400
+ var dateObjBlog = new Date();
401
+ dateObjBlog.setTime(jQuery('#b2s-data-blog-sched-date').val());
402
+ var dateObj = new Date();
403
+ dateObj.setTime(jQuery('#b2s-data-b2s-sched-date').val());
404
+ jQuery('#b2s-change-date').datepicker('setStartDate', dateObjBlog);
405
+ jQuery('#b2s-change-date').datepicker('setDate', dateObj);
406
+ jQuery('#b2s-change-time').timepicker('setTime', (dateObj.getUTCHours()) + ':' + dateObj.getUTCMinutes());
407
+ jQuery('#b2s-data-post-id').val(jQuery(this).attr('data-post-id'));
408
+ jQuery('.b2s-change-datetime-modal').modal('show');
409
+ jQuery('.b2s-change-date-btn').prop('disabled', false);
410
+ });
411
+ jQuery(document).on('click', '.b2s-change-date-btn', function () {
412
+ if (jQuery('#b2s-change-date').val() == "") {
413
+ jQuery('#b2s-change-date').addClass('error');
414
+ return false;
415
+ } else {
416
+ jQuery('#b2s-change-date').removeClass('error');
417
+ }
418
+
419
+ if (jQuery('#b2s-change-time').val() == "") {
420
+ jQuery('#b2s-change-time').addClass('error');
421
+ return false;
422
+ } else {
423
+ jQuery('#b2s-change-time').removeClass('error');
424
+ }
425
+ jQuery('.b2s-change-date-btn').prop('disabled', true);
426
+ jQuery('.b2s-server-connection-fail').hide();
427
+ jQuery.ajax({
428
+ url: ajaxurl,
429
+ type: "POST",
430
+ dataType: "json",
431
+ cache: false,
432
+ data: {
433
+ 'action': 'b2s_update_user_sched_time_post',
434
+ 'postId': jQuery('#b2s-data-post-id').val(),
435
+ 'time': jQuery('#b2s-change-time').val(),
436
+ 'date': jQuery('#b2s-change-date').val(),
437
+ 'user_timezone': jQuery("#user_timezone").val()
438
+ },
439
+ error: function () {
440
+ jQuery('.b2s-server-connection-fail').show();
441
+ return false;
442
+ },
443
+ success: function (data) {
444
+ jQuery('.b2s-change-datetime-modal').modal('hide');
445
+ if (data.result == true) {
446
+ jQuery('.b2s-post-sched-area-sched-time[data-post-id="' + data.postId + '"]').html(data.time);
447
+ }
448
+ wp.heartbeat.connectNow();
449
+ return true;
450
+ }
451
+ });
452
+ });
453
+ function showFilter(typ) {
454
+ if (typ == 'show') {
455
+ jQuery('.filterShow').hide();
456
+ jQuery('.form-inline').show();
457
+ jQuery('.filterHide').show();
458
+ } else {
459
+ jQuery('.filterShow').show();
460
+ jQuery('.form-inline').hide();
461
+ jQuery('.filterHide').hide();
462
+ }
463
+ }
464
+
465
+ function getB2SSchedDatepicker() {
466
+
467
+ var language = "en";
468
+ if (jQuery('#b2sUserLang').val() == "de") {
469
+ language = "de";
470
+ }
471
+ var sched_dates = JSON.parse(jQuery('#b2sCalendarSchedDates').val());
472
+
473
+ jQuery('#b2s-sched-datepicker-area').datepicker({
474
+ format: "yyyy-mm-dd",
475
+ inline: true,
476
+ language: language,
477
+ calendarWeeks: true,
478
+ todayHighlight: true,
479
+ beforeShowDay: function (date) {
480
+ var d = date;
481
+ var formattedDate = d.getFullYear() + "-" + padDate(d.getMonth() + 1) + "-" + padDate(d.getDate());
482
+ if (sched_dates != "0") {
483
+ if (jQuery.inArray(formattedDate, sched_dates) != -1) {
484
+ return {classes: 'event'};
485
+ }
486
+ }
487
+ return;
488
+ }
489
+ }).on('changeDate', function (date) {
490
+ if (jQuery('#b2sShowByDate').val() != date.format()) {
491
+ jQuery('#b2sPagination').val("1");
492
+ jQuery('#b2sShowByDate').val(date.format());
493
+ b2sSortFormSubmit(false);
494
+ }
495
+ return false;
496
+ });
497
+
498
+ if (jQuery('#b2sShowByDate').val() != "") {
499
+ jQuery('#b2s-sched-datepicker-area').datepicker('setDate', jQuery('#b2sShowByDate').val());
500
+ }
501
+
502
+ }
503
+
504
+
505
+ function padDate(n) {
506
+ return ("0" + n).slice(-2);
507
+ }
508
+
509
+
510
+ function checkSchedDateTime() {
511
+ var dateElement = '#b2s-change-date';
512
+ var timeElement = '#b2s-change-time';
513
+ var dateStr = jQuery(dateElement).val();
514
+ var minStr = jQuery(timeElement).val();
515
+ var timeZone = parseInt(jQuery('#user_timezone').val()) * (-1);
516
+
517
+ if (jQuery('#b2sUserLang').val() == 'de') {
518
+ dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
519
+ } else {
520
+ var minParts = minStr.split(' ');
521
+ var minParts2 = minParts[0].split(':');
522
+ if (minParts[1] == 'PM') {
523
+ minParts2[0] = parseInt(minParts2[0]) + 12;
524
+ }
525
+ minStr = minParts2[0] + ':' + minParts2[1];
526
+ }
527
+
528
+ var minParts3 = minStr.split(':');
529
+ if (minParts3[0] < 10) {
530
+ minParts3[0] = '0' + minParts3[0];
531
+ }
532
+ var dateParts = dateStr.split('-');
533
+
534
+ //utc current time
535
+ var now = new Date();
536
+ //offset between utc und user
537
+ var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
538
+ //enter hour to user time
539
+ var hour = parseInt(minParts3[0]) + timeZone + offset;
540
+ //calculate datetime in utc
541
+ var enter = new Date(dateParts[0], dateParts[1] - 1, dateParts[2], hour, minParts3[1]);
542
+ //compare enter date time with allowed user time
543
+ if (enter.getTime() < now.getTime()) {
544
+ //enter set on next 15 minutes and calculate on user timezone
545
+ enter.setTime(now.getTime() + (900000 - (now.getTime() % 900000)) - (3600000 * (timeZone + offset)));
546
+ jQuery(dateElement).datepicker('update', enter);
547
+ jQuery(timeElement).timepicker('setTime', enter);
548
+ }
549
+ }
550
+
assets/js/b2s/settings.js CHANGED
@@ -383,6 +383,44 @@ jQuery(document).on('click', '#b2s-user-network-settings-allow-shortcode', funct
383
  return false;
384
  });
385
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  jQuery('#b2s-save-time-settings-btn-trigger').on('click', function () {
387
  jQuery('#b2s-save-time-settings-btn').trigger('click');
388
  });
@@ -424,7 +462,45 @@ jQuery('.b2sSaveUserSettingsPostFormatFb').validate({
424
  }
425
  });
426
 
427
- jQuery('.b2sSaveUserSettingsPostFormatTw').validate({
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
428
  ignore: "",
429
  errorPlacement: function () {
430
  return false;
383
  return false;
384
  });
385
 
386
+ jQuery(document).on('click', '#b2s-user-network-settings-allow-hashtag', function () {
387
+ jQuery('.b2s-settings-user-success').hide();
388
+ jQuery('.b2s-settings-user-error').hide();
389
+ jQuery(".b2s-loading-area").show();
390
+ jQuery(".b2s-user-settings-area").hide();
391
+ jQuery('.b2s-server-connection-fail').hide();
392
+ jQuery.ajax({
393
+ url: ajaxurl,
394
+ type: "POST",
395
+ dataType: "json",
396
+ cache: false,
397
+ data: {
398
+ 'action': 'b2s_user_network_settings',
399
+ 'allow_hashtag': jQuery('#b2s-user-network-settings-allow-hashtag').val(),
400
+ },
401
+ error: function () {
402
+ jQuery('.b2s-server-connection-fail').show();
403
+ return false;
404
+ },
405
+ success: function (data) {
406
+ jQuery(".b2s-loading-area").hide();
407
+ jQuery(".b2s-user-settings-area").show();
408
+ if (data.result == true) {
409
+ jQuery('.b2s-settings-user-success').show();
410
+ jQuery('#b2s-user-network-settings-allow-hashtag').val(data.content);
411
+ if (jQuery("#b2s-user-network-settings-allow-hashtag").is(":checked")) {
412
+ jQuery('#b2s-user-network-settings-allow-hashtag').prop('checked', false);
413
+ } else {
414
+ jQuery('#b2s-user-network-settings-allow-hashtag').prop('checked', true);
415
+ }
416
+ } else {
417
+ jQuery('.b2s-settings-user-error').show();
418
+ }
419
+ }
420
+ });
421
+ return false;
422
+ });
423
+
424
  jQuery('#b2s-save-time-settings-btn-trigger').on('click', function () {
425
  jQuery('#b2s-save-time-settings-btn').trigger('click');
426
  });
462
  }
463
  });
464
 
465
+
466
+ jQuery('.b2sSaveUserSettingsPostFormatFb').validate({
467
+ ignore: "",
468
+ errorPlacement: function () {
469
+ return false;
470
+ },
471
+ submitHandler: function (form) {
472
+ jQuery('.b2s-settings-user-success').hide();
473
+ jQuery('.b2s-settings-user-error').hide();
474
+ jQuery(".b2s-loading-area").show();
475
+ jQuery(".b2s-user-settings-area").hide();
476
+ jQuery('.b2s-server-connection-fail').hide();
477
+ jQuery.ajax({
478
+ processData: false,
479
+ url: ajaxurl,
480
+ type: "POST",
481
+ dataType: "json",
482
+ cache: false,
483
+ data: jQuery(form).serialize(),
484
+ error: function () {
485
+ jQuery('.b2s-server-connection-fail').show();
486
+ return false;
487
+ },
488
+ success: function (data) {
489
+ jQuery(".b2s-loading-area").hide();
490
+ jQuery(".b2s-user-settings-area").show();
491
+ if (data.result == true) {
492
+ jQuery('.b2s-settings-user-success').show();
493
+ } else {
494
+ jQuery('.b2s-settings-user-error').show();
495
+ }
496
+ }
497
+ });
498
+ return false;
499
+ }
500
+ });
501
+
502
+
503
+ jQuery('.b2sSaveUserSettingsPostFormatGp').validate({
504
  ignore: "",
505
  errorPlacement: function () {
506
  return false;
assets/js/b2s/ship.js CHANGED
@@ -1,2192 +1,2568 @@
1
- jQuery.noConflict();
2
-
3
- jQuery(document).on('heartbeat-send', function (e, data) {
4
- data['b2s_heartbeat'] = 'b2s_listener';
5
- });
6
-
7
- jQuery.xhrPool = [];
8
-
9
- jQuery(window).on("load", function () {
10
- init(true);
11
- imageSize();
12
- if (jQuery('.toggelbutton').is(':visible') && !jQuery("#b2s-wrapper").hasClass("toggled")) {
13
- jQuery('.btn-toggle-menu').trigger('click');
14
- }
15
- });
16
-
17
- jQuery(document).on('click', '.btn-toggle-menu', function () {
18
- if (jQuery('.toggelbutton').is(':visible')) {
19
- jQuery("#b2s-wrapper").toggleClass("toggled");
20
- if (jQuery("#b2s-wrapper").hasClass("toggled")) {
21
- jQuery(".sidebar-brand").hide();
22
- jQuery(".btn-toggle-glyphicon").removeClass('glyphicon-chevron-right').addClass('glyphicon-chevron-left');
23
- } else {
24
- jQuery(".sidebar-brand").show();
25
- jQuery(".btn-toggle-glyphicon").removeClass('glyphicon-chevron-left').addClass('glyphicon-chevron-right');
26
- }
27
- }
28
- });
29
-
30
- jQuery.sceditor.plugins.xhtml.allowedTags = ['h1', 'h2', 'p', 'br', 'i', 'b', 'a', 'img'];
31
- jQuery.sceditor.command.set(
32
- "h1", {
33
- exec: function () {
34
- if (this.currentBlockNode() == undefined || this.currentBlockNode().nodeName != 'H1') {
35
- this.wysiwygEditorInsertHtml('<h1>', '</h1>');
36
- } else {
37
- jQuery(this.currentBlockNode()).replaceWith(this.currentBlockNode().innerText);
38
- }
39
- },
40
- txtExec: ["<h1>", "</h1>"],
41
- tooltip: "H1"
42
- });
43
- jQuery.sceditor.command.set(
44
- "h2", {
45
- exec: function () {
46
- if (this.currentBlockNode() == undefined || this.currentBlockNode().nodeName != 'H2') {
47
- this.wysiwygEditorInsertHtml('<h2>', '</h2>');
48
- } else {
49
- jQuery(this.currentBlockNode()).replaceWith(this.currentBlockNode().innerText);
50
- }
51
- },
52
- txtExec: ["<h2>", "</h2>"], tooltip: "H2"});
53
-
54
- jQuery.sceditor.command.set(
55
- "custom-image", {
56
- exec: function () {
57
- var me = this;
58
- if (typeof (b2s_is_calendar) != "undefined" && b2s_is_calendar)
59
- {
60
- jQuery('.b2s-network-select-image-content').html("");
61
- jQuery.ajax({
62
- url: ajaxurl,
63
- type: "POST",
64
- cache: false,
65
- async: false,
66
- data: {
67
- 'action': 'b2s_get_image_modal',
68
- 'id': b2s_current_post_id,
69
- 'image_url': ''
70
- },
71
- success: function (data) {
72
- jQuery(".b2s-network-select-image-content").html(data);
73
- }
74
- });
75
- }
76
- var networkAuthId = jQuery(this.getContentAreaContainer()).parents('.b2s-post-item-details').find('.b2s-post-item-details-network-display-name').attr('data-network-auth-id');
77
- jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', networkAuthId);
78
- jQuery('.b2s-upload-image').attr('data-network-auth-id', networkAuthId);
79
- var content = "<img class='b2s-post-item-network-image-selected-account' height='22px' src='" + jQuery('.b2s-post-item-network-image[data-network-auth-id="' + networkAuthId + '"]').attr('src') + "' /> " + jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + networkAuthId + '"]').html();
80
- jQuery('.b2s-selected-network-for-image-info').html(content);
81
- jQuery('#b2s-network-select-image').modal('show');
82
- jQuery('#b2sInsertImageType').val("1");
83
- imageSize();
84
-
85
- },
86
- txtExec: function () {
87
- var networkAuthId = jQuery(this.getContentAreaContainer()).parents('.b2s-post-item-details').find('.b2s-post-item-details-network-display-name').attr('data-network-auth-id');
88
- jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', networkAuthId);
89
- jQuery('.b2s-upload-image').attr('data-network-auth-id', networkAuthId);
90
- var content = "<img class='b2s-post-item-network-image-selected-account' height='22px' src='" + jQuery('.b2s-post-item-network-image[data-network-auth-id="' + networkAuthId + '"]').attr('src') + "' /> " + jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + networkAuthId + '"]').html();
91
- jQuery('.b2s-selected-network-for-image-info').html(content);
92
- jQuery('#b2s-network-select-image').modal('show');
93
- jQuery('#b2sInsertImageType').val("1");
94
- imageSize();
95
- }, tooltip: "Image"});
96
-
97
-
98
- jQuery(document).on('click', '.b2s-get-settings-sched-time-default', function () {
99
- jQuery('.b2s-server-connection-fail').hide();
100
- jQuery.ajax({
101
- url: ajaxurl,
102
- type: "POST",
103
- dataType: "json",
104
- cache: false,
105
- data: {
106
- 'action': 'b2s_get_settings_sched_time_default',
107
- },
108
- error: function () {
109
- jQuery('.b2s-server-connection-fail').show();
110
- return false;
111
- },
112
- success: function (data) {
113
- if (data.result == true) {
114
- var tomorrow = new Date();
115
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
116
- tomorrow.setTime(jQuery('#b2sBlogPostSchedDate').val());
117
- }
118
- tomorrow.setDate(tomorrow.getDate() + 1);
119
- var tomorrowMonth = ("0" + (tomorrow.getMonth() + 1)).slice(-2);
120
- var tomorrowDate = ("0" + tomorrow.getDate()).slice(-2);
121
- var dateTomorrow = tomorrow.getFullYear() + "-" + tomorrowMonth + "-" + tomorrowDate;
122
- var today = new Date();
123
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
124
- today.setTime(jQuery('#b2sBlogPostSchedDate').val());
125
- }
126
-
127
- var todayMonth = ("0" + (today.getMonth() + 1)).slice(-2);
128
- var todayDate = ("0" + today.getDate()).slice(-2);
129
- var dateToday = today.getFullYear() + "-" + todayMonth + "-" + todayDate;
130
-
131
- var lang = jQuery('#b2sUserLang').val();
132
- if (lang == "de") {
133
- dateTomorrow = tomorrowDate + "." + tomorrowMonth + "." + tomorrow.getFullYear();
134
- dateToday = todayDate + "." + todayMonth + "." + today.getFullYear();
135
- }
136
-
137
- jQuery.each(data.times, function (network_id, time) {
138
- if (jQuery('.b2s-post-item[data-network-id="' + network_id + '"]').is(":visible")) {
139
- time.forEach(function (network_type_time, count) {
140
- if (network_type_time != "") {
141
- jQuery('.b2s-post-item-details-release-input-date-select[data-network-id="' + network_id + '"][data-network-type="' + count + '"]').val('1').trigger("change");
142
- jQuery('.b2s-post-item-details-release-input-time[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(network_type_time);
143
- var hours = network_type_time.substring(0, 2);
144
- if (lang == "de") {
145
- var timeparts = network_type_time.split(' ');
146
- if (timeparts[1] == 'AM') {
147
- hours = (timeparts[1] == 'AM') ? hours : (parseInt(hours) + 12);
148
- }
149
- }
150
- if (hours < today.getHours()) {
151
- jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateTomorrow);
152
- } else {
153
- jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateToday);
154
- }
155
- count++;
156
- }
157
- });
158
- }
159
- });
160
- }
161
- }
162
- });
163
- return false;
164
- });
165
-
166
-
167
- jQuery(document).on('click', '.b2s-sidbar-network-auth-btn', function () {
168
- jQuery('#b2s-network-list-modal').modal('show');
169
- return false;
170
- });
171
-
172
- jQuery(document).on('click', '.change-meta-tag', function () {
173
- var attr = jQuery(this).attr('readonly');
174
- if (typeof attr !== typeof undefined && attr !== false) {
175
- jQuery('.meta-text').hide();
176
- var networkAuthId = jQuery(this).attr("data-network-auth-id");
177
- var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
178
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr("data-network-id");
179
-
180
- var isMetaChecked = false;
181
- if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
182
- isMetaChecked = true;
183
- }
184
- if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
185
- isMetaChecked = true;
186
- }
187
-
188
- var showDefault = true;
189
- if (postFormat == "0" && !isMetaChecked) { //isLinkPost
190
- showDefault = false;
191
- if (networkId == "1") {
192
- jQuery('.isOgMetaChecked').show();
193
- } else {
194
- jQuery('.isCardMetaChecked').show();
195
- }
196
-
197
- }
198
- if (showDefault) {
199
- jQuery('.isLinkPost').show();
200
- }
201
-
202
-
203
- jQuery('#b2s-info-change-meta-tag-modal').modal('show');
204
- }
205
- return false;
206
- });
207
-
208
- // Linkpost change Meta Tags title + desc
209
- jQuery(document).on('keyup', '.change-meta-tag', function () {
210
- var currentText = jQuery(this).val();
211
- var metaTag = jQuery(this).attr('data-meta');
212
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
213
- var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
214
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
215
- if (typeof postFormat !== typeof undefined && postFormat !== false) {
216
- if (postFormat == "0") { //if linkpost
217
- jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
218
- if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
219
- //override this content with current content by keyup
220
- jQuery('.' + metaTag + '[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').val(currentText);
221
- }
222
- });
223
- }
224
- }
225
- return false;
226
- });
227
-
228
-
229
- jQuery(document).on('click', '.b2s-get-settings-sched-time-user', function () {
230
- jQuery('.b2s-server-connection-fail').hide();
231
- jQuery.ajax({
232
- url: ajaxurl,
233
- type: "POST",
234
- dataType: "json",
235
- cache: false,
236
- data: {
237
- 'action': 'b2s_get_settings_sched_time_user',
238
- },
239
- error: function () {
240
- jQuery('.b2s-server-connection-fail').show();
241
- return false;
242
- },
243
- success: function (data) {
244
- if (data.result == true) {
245
- var tomorrow = new Date();
246
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
247
- tomorrow.setTime(jQuery('#b2sBlogPostSchedDate').val());
248
- }
249
-
250
- tomorrow.setDate(tomorrow.getDate() + 1);
251
- var tomorrowMonth = ("0" + (tomorrow.getMonth() + 1)).slice(-2);
252
- var tomorrowDate = ("0" + tomorrow.getDate()).slice(-2);
253
- var dateTomorrow = tomorrow.getFullYear() + "-" + tomorrowMonth + "-" + tomorrowDate;
254
- var today = new Date();
255
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
256
- today.setTime(jQuery('#b2sBlogPostSchedDate').val());
257
- }
258
-
259
- var todayMonth = ("0" + (today.getMonth() + 1)).slice(-2);
260
- var todayDate = ("0" + today.getDate()).slice(-2);
261
- var dateToday = today.getFullYear() + "-" + todayMonth + "-" + todayDate;
262
-
263
- var lang = jQuery('#b2sUserLang').val();
264
- if (lang == "de") {
265
- dateTomorrow = tomorrowDate + "." + tomorrowMonth + "." + tomorrow.getFullYear();
266
- dateToday = todayDate + "." + todayMonth + "." + today.getFullYear();
267
- }
268
-
269
- jQuery.each(data.times, function (network_id, time) {
270
- if (jQuery('.b2s-post-item[data-network-id="' + network_id + '"]').is(":visible")) {
271
- time.forEach(function (network_type_time, count) {
272
- if (network_type_time != "") {
273
- jQuery('.b2s-post-item-details-release-input-date-select[data-network-id="' + network_id + '"][data-network-type="' + count + '"]').val('1').trigger("change");
274
- jQuery('.b2s-post-item-details-release-input-time[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(network_type_time);
275
- var hours = network_type_time.substring(0, 2);
276
- if (lang == "de") {
277
- var timeparts = network_type_time.split(' ');
278
- if (timeparts[1] == 'AM') {
279
- hours = (timeparts[1] == 'AM') ? hours : (parseInt(hours) + 12);
280
- }
281
- }
282
-
283
- if (hours < today.getHours()) {
284
- jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateTomorrow);
285
- } else {
286
- jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateToday);
287
- }
288
- count++;
289
- }
290
- });
291
- }
292
- });
293
- } else {
294
- jQuery('#b2s-network-no-sched-time-user').modal('show');
295
- }
296
- }
297
- });
298
- return false;
299
- });
300
-
301
- jQuery('#b2sPreFeatureModal').on('show.bs.modal', function () {
302
- jQuery('.b2s-post-item-details-release-input-date-select-reset').val('0');
303
- });
304
-
305
- jQuery(document).on('click', '.b2s-network-list-add-btn-profeature', function () {
306
- jQuery('#b2s-network-list-modal').modal('hide');
307
- });
308
-
309
- jQuery(document).on('click', '.b2s-post-item-details-release-area-sched-for-all', function () {
310
- var dataNetworkAuthId = jQuery(this).attr('data-network-auth-id');
311
- var dataNetworkCount = 0;
312
-
313
- if (jQuery('.b2s-post-item-details-releas-area-details-row[data-network-auth-id="' + dataNetworkAuthId + '"][data-network-count="1"]').is(":visible")) {
314
- dataNetworkCount = 1;
315
- }
316
- if (jQuery('.b2s-post-item-details-releas-area-details-row[data-network-auth-id="' + dataNetworkAuthId + '"][data-network-count="2"]').is(":visible")) {
317
- dataNetworkCount = 2;
318
- }
319
-
320
- jQuery('.b2s-post-item-details-release-input-date-select').each(function () {
321
- if (jQuery(this).attr('data-network-auth-id') != dataNetworkAuthId && jQuery(this).has('option[value="' + jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val() + '"]').length > 0) {
322
- jQuery(this).val(jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val());
323
- releaseChoose(jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val(), jQuery(this).attr('data-network-auth-id'), dataNetworkCount);
324
- }
325
- });
326
-
327
- for (var i = 0; i <= dataNetworkCount; i++) {
328
- jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
329
- jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
330
- jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
331
-
332
- jQuery('.b2s-post-item-details-release-input-lable-day-mo[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-mo[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
333
- jQuery('.b2s-post-item-details-release-input-lable-day-di[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-di[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
334
- jQuery('.b2s-post-item-details-release-input-lable-day-mi[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-mi[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
335
- jQuery('.b2s-post-item-details-release-input-lable-day-do[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-do[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
336
- jQuery('.b2s-post-item-details-release-input-lable-day-fr[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-fr[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
337
- jQuery('.b2s-post-item-details-release-input-lable-day-sa[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-sa[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
338
- jQuery('.b2s-post-item-details-release-input-lable-day-so[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-so[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
339
- }
340
-
341
- if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val() == 2) {
342
- if (dataNetworkCount == 2) {
343
- jQuery('.b2s-post-item-details-release-input-add[data-network-count="0"]').hide();
344
- jQuery('.b2s-post-item-details-release-input-add[data-network-count="1"]').hide();
345
- jQuery('.b2s-post-item-details-release-input-hide[data-network-count="1"]').hide();
346
- jQuery('.b2s-post-item-details-release-input-hide[data-network-count="2"]').show();
347
- } else if (dataNetworkCount == 1) {
348
- jQuery('.b2s-post-item-details-release-input-add[data-network-count="0"]').hide();
349
- jQuery('.b2s-post-item-details-release-input-hide[data-network-count="1"]').show();
350
- }
351
- }
352
-
353
- return false;
354
- });
355
-
356
-
357
- jQuery(document).on("click", ".b2s-user-network-settings-post-format", function () {
358
- jQuery('.b2s-settings-user-success').hide();
359
- jQuery('.b2s-settings-user-error').hide();
360
- jQuery('.b2s-server-connection-fail').hide();
361
-
362
- var networkId = jQuery(this).attr("data-network-id");
363
- var networkType = jQuery(this).attr("data-network-type");
364
- var postFormat = jQuery(this).val();
365
- var networkAuthId = jQuery(this).attr("data-network-auth-id");
366
- var postFormatType = jQuery(this).attr("data-post-format-type");
367
-
368
- jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val(postFormat);
369
- //PostFormat
370
- if (jQuery('.b2s-post-ship-item-post-format-text[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').length > 0) {
371
- var postFormatText = JSON.parse(jQuery('.b2sNetworkSettingsPostFormatText').val());
372
- if (jQuery('#user_version').val() >= 2) {
373
- jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + networkAuthId + '"]').html(postFormatText[postFormatType][postFormat]);
374
- jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + networkAuthId + '"]').val(postFormat);
375
- } else {
376
- jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + networkId + '"]').html(postFormatText[postFormatType][postFormat]);
377
- jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(postFormat);
378
- }
379
- }
380
-
381
- //Edit Meta Tags
382
- var isMetaChecked = false;
383
- if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
384
- isMetaChecked = true;
385
- }
386
- if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
387
- isMetaChecked = true;
388
- }
389
- if (isMetaChecked && postFormat == '0' && jQuery('#user_version').val() > 0) { //If linkpost
390
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
391
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
392
- var dataMetaType = jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').attr("data-meta-type");
393
- if (dataMetaType == "og") {
394
- jQuery('#b2sChangeOgMeta').val("1");
395
- } else {
396
- jQuery('#b2sChangeCardMeta').val("1");
397
- }
398
-
399
- //Copy from further item meta tags by same network
400
- jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
401
- if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
402
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
403
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
404
-
405
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
406
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
407
-
408
- if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
409
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
410
- } else {
411
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
412
- }
413
-
414
- return true;
415
- }
416
- });
417
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
418
-
419
-
420
- } else {
421
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
422
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
423
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
424
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
425
- }
426
-
427
- //Change View For Twitter
428
- //if (postFormat == '0' && networkId == '2') {
429
- //jQuery('.b2s-image-remove-btn[data-network-id="' + networkId + '"]').hide();
430
- //jQuery('.b2s-select-image-modal-open[data-network-id="' + networkId + '"]').hide();
431
- //jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + networkId + '"]').trigger("click");
432
- //}
433
- /*if (postFormat == '1' && networkId == '2') {
434
- jQuery('.b2s-image-remove-btn[data-network-id="' + networkId + '"]').show();
435
- jQuery('.b2s-select-image-modal-open[data-network-id="' + networkId + '"]').show();
436
- if (jQuery('#b2s_blog_default_image').val() != "") {
437
- jQuery('.b2s-post-item-details-url-image[data-network-id="' + networkId + '"]').attr('src', jQuery('#b2s_blog_default_image').val());
438
- jQuery('.b2s-image-url-hidden-field[data-network-id="' + networkId + '"]').val(jQuery('#b2s_blog_default_image').val());
439
- }
440
- }*/
441
-
442
- jQuery('.b2s-user-network-settings-post-format[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').removeClass('b2s-settings-checked');
443
- jQuery(this).addClass('b2s-settings-checked');
444
- jQuery('#b2s-post-ship-item-post-format-modal').modal('hide');
445
- return false;
446
- });
447
-
448
- jQuery(document).on("click", ".b2s-post-ship-item-full-text", function () {
449
- jQuery('.b2s-server-connection-fail').hide();
450
- jQuery.ajax({
451
- url: ajaxurl,
452
- type: "POST",
453
- dataType: "json",
454
- cache: false,
455
- data: {
456
- 'action': 'b2s_ship_item_full_text',
457
- 'postId': jQuery('#b2sPostId').val(),
458
- 'userLang': jQuery('#b2sUserLang').val(),
459
- 'networkAuthId': jQuery(this).attr('data-network-auth-id'),
460
- },
461
- error: function () {
462
- jQuery('.b2s-server-connection-fail').show();
463
- return false;
464
- },
465
- success: function (data) {
466
- if (data.result == true) {
467
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + data.networkAuthId + '"').val(data.text);
468
- networkCount(data.networkAuthId);
469
- }
470
- }
471
- });
472
- return false;
473
- });
474
-
475
- jQuery(document).on("click", ".b2s-post-ship-item-message-delete", function () {
476
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
477
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"').val("");
478
-
479
- initSceditor(networkAuthId);
480
-
481
- networkCount(networkAuthId);
482
- return false;
483
- });
484
-
485
-
486
- jQuery(document).on("click", ".b2s-network-select-btn", function () {
487
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
488
- var networkId = jQuery(this).attr('data-network-id');
489
- var networkType = jQuery(this).attr('data-network-type');
490
- //doppelklick Schutz
491
- if (!jQuery(this).hasClass('b2s-network-select-btn-deactivate')) {
492
- //aktiv?
493
- if (!jQuery(this).children().hasClass('active')) {
494
- //schon vorhanden?
495
- if (jQuery('.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]').length > 0 && !jQuery('.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]').hasClass('b2s-post-item-connection-fail-dummy')) {
496
- activatePortal(networkAuthId);
497
- //PostFormat
498
- if (jQuery('.b2s-post-ship-item-post-format-text[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').length > 0) {
499
- var postFormatText = JSON.parse(jQuery('.b2sNetworkSettingsPostFormatText').val());
500
- var postFormatType = jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').attr('data-post-format-type');
501
- if (jQuery('#user_version').val() >= 2) {
502
- jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + networkAuthId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val()]);
503
- jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val());
504
- //if linkpost then show btn meta tags
505
- var isMetaChecked = false;
506
- if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
507
- isMetaChecked = true;
508
- }
509
- if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
510
- isMetaChecked = true;
511
- }
512
- if (isMetaChecked && jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val() == "0" && jQuery('#user_version').val() > 0) {
513
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
514
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
515
-
516
- var dataMetaType = jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').attr("data-meta-type");
517
- if (dataMetaType == "og") {
518
- jQuery('#b2sChangeOgMeta').val("1");
519
- } else {
520
- jQuery('#b2sChangeCardMeta').val("1");
521
- }
522
-
523
- //Copy from further item meta tags by same network
524
- jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
525
- if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
526
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
527
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
528
-
529
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
530
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
531
-
532
- if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
533
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
534
- } else {
535
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
536
- }
537
-
538
- return true;
539
- }
540
- });
541
-
542
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
543
-
544
- } else {
545
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
546
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
547
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
548
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
549
- }
550
- } else {
551
- jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + networkId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val()]);
552
- jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val());
553
- }
554
- }
555
- } else {
556
- jQuery(this).addClass('b2s-network-select-btn-deactivate');
557
- jQuery('.b2s-network-status-img-loading[data-network-auth-id="' + networkAuthId + '"]').show();
558
-
559
- loadingDummyShow(networkAuthId, jQuery(this).attr('data-network-id'));
560
- jQuery('.b2s-server-connection-fail').hide();
561
- var networkId = jQuery(this).attr('data-network-id');
562
- jQuery.ajax({
563
- url: ajaxurl,
564
- type: "POST",
565
- dataType: "json",
566
- cache: false,
567
- data: {
568
- 'action': 'b2s_ship_item',
569
- 'networkAuthId': networkAuthId,
570
- 'networkType': jQuery(this).attr('data-network-type'),
571
- 'networkId': networkId,
572
- 'networkDisplayName': jQuery(this).attr('data-network-display-name'),
573
- 'userLang': jQuery('#b2sUserLang').val(),
574
- 'postId': jQuery('#b2sPostId').val()
575
- },
576
- beforeSend: function (jqXHR) { // before jQuery send the request we will push it to our array
577
- jQuery.xhrPool.push(jqXHR);
578
- },
579
- complete: function (jqXHR) { // when some of the requests completed it will splice from the array
580
- var index = jQuery.xhrPool.indexOf(jqXHR);
581
- if (index > -1) {
582
- jQuery.xhrPool.splice(index, 1);
583
- }
584
- },
585
- error: function (jqXHR) {
586
- var index = jQuery.xhrPool.indexOf(jqXHR);
587
- if (index > -1) {
588
- jQuery.xhrPool.splice(index, 1);
589
- }
590
- loadingDummyConnectionFail(networkAuthId, networkId);
591
- jQuery('.b2s-network-status-img-loading[data-network-auth-id="' + networkAuthId + '"]').hide();
592
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').removeClass('b2s-network-select-btn-deactivate');
593
- jQuery('.b2s-server-connection-fail').show();
594
- return true;
595
- },
596
- success: function (data) {
597
- if (data != undefined) {
598
- jQuery('.b2s-network-status-img-loading[data-network-auth-id="' + data.networkAuthId + '"]').hide();
599
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + data.networkAuthId + '"]').removeClass('b2s-network-select-btn-deactivate');
600
-
601
- if (data.result == true) {
602
- jQuery('.b2s-post-item-loading-dummy[data-network-auth-id="' + data.networkAuthId + '"]').remove();
603
- var order = jQuery.parseJSON(jQuery('.b2s-network-navbar-order').val());
604
- var pos = order.indexOf(data.networkAuthId.toString());
605
- var add = false;
606
- for (var i = pos; i >= 0; i--) {
607
- if (jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').length > 0) {
608
- jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').after(data.content);
609
- i = -1;
610
- add = true;
611
- }
612
- }
613
- if (add == false) {
614
- jQuery('.b2s-post-list').prepend(data.content);
615
- }
616
-
617
- activatePortal(data.networkAuthId);
618
-
619
- var dateFormat = "yyyy-mm-dd";
620
- var language = "en";
621
- var showMeridian = true;
622
- if (jQuery('#b2sUserLang').val() == "de") {
623
- dateFormat = "dd.mm.yyyy";
624
- language = "de";
625
- showMeridian = false;
626
- }
627
- var today = new Date();
628
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
629
- today.setTime(jQuery('#b2sBlogPostSchedDate').val());
630
- }
631
- jQuery(".b2s-post-item-details-release-input-date").datepicker({
632
- format: dateFormat,
633
- language: language,
634
- maxViewMode: 2,
635
- todayHighlight: true,
636
- startDate: today,
637
- calendarWeeks: true,
638
- autoclose: true
639
- });
640
- jQuery('.b2s-post-item-details-release-input-time').timepicker({
641
- minuteStep: 15,
642
- appendWidgetTo: 'body',
643
- showSeconds: false,
644
- showMeridian: showMeridian,
645
- defaultTime: 'current',
646
- snapToStep: true
647
- });
648
-
649
-
650
- jQuery(".b2s-post-item-details-release-input-date").datepicker().on('changeDate', function (e) {
651
- checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
652
- });
653
- jQuery('.b2s-post-item-details-release-input-time').timepicker().on('changeTime.timepicker', function (e) {
654
- checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
655
-
656
- });
657
-
658
- /*jQuery(".b2s-post-item-details-release-input-date").datepicker().on('changeDate', function (e) {
659
- var element = '.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]';
660
- var dateStr = jQuery(this).val();
661
- var minStr = jQuery(element).val();
662
- if (jQuery('#b2sUserLang').val() == 'de') {
663
- dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
664
- } else {
665
- var minParts = minStr.split(' ');
666
- var minParts2 = minParts[0].split(':');
667
- if (minParts[1] == 'PM') {
668
- minParts2[0] = parseInt(minParts2[0]) + 12;
669
- }
670
- minStr = minParts2[0] + ':' + minParts2[1];
671
- }
672
- var dateObj = new Date();
673
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
674
- dateObj.setTime(jQuery('#b2sBlogPostSchedDate').val());
675
- }
676
-
677
- if (Date.parse(dateStr + ' ' + minStr + ':00') <= Date.parse(dateObj.getUTCFullYear() + '-' + (dateObj.getUTCMonth() + 1) + '-' + dateObj.getUTCDate() + ' ' + dateObj.getUTCHours() + ':' + dateObj.getUTCMinutes() + ':00')) {
678
- //date in past
679
- if (dateObj.getUTCMinutes() >= 30) {
680
- jQuery(element).timepicker('setTime', (dateObj.getUTCHours() + 1) + ':00');
681
- } else {
682
- jQuery(element).timepicker('setTime', (dateObj.getUTCHours()) + ':30');
683
- }
684
- }
685
- });*/
686
-
687
- /*jQuery('.b2s-post-item-details-release-input-time').timepicker().on('changeTime.timepicker', function (e) {
688
- var dataNetworkAuthId = jQuery(this).attr('data-network-auth-id');
689
- if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val() == "1") {
690
- var dateStr = jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
691
- var minStr = jQuery(this).val();
692
- var timeZone = jQuery('#user_timezone').val();
693
- if (jQuery('#b2sUserLang').val() == 'de') {
694
- dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
695
- } else {
696
- var minParts = minStr.split(' ');
697
- var minParts2 = minParts[0].split(':');
698
- if (minParts[1] == 'PM') {
699
- minParts2[0] = parseInt(minParts2[0]) + 12;
700
- }
701
- minStr = minParts2[0] + ':' + minParts2[1];
702
- }
703
- var dateObj = new Date();
704
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
705
- dateObj.setTime(jQuery('#b2sBlogPostSchedDate').val());
706
- }
707
-
708
- if (Date.parse(dateStr + ' ' + minStr + ':00') <= Date.parse(dateObj.getUTCFullYear() + '-' + (dateObj.getUTCMonth() + 1) + '-' + dateObj.getUTCDate() + ' ' + dateObj.getUTCHours() + ':' + dateObj.getUTCMinutes() + ':00')) {
709
- //date in past
710
- if (dateObj.getUTCMinutes() >= 30) {
711
- jQuery(this).timepicker('setTime', (dateObj.getUTCHours() + 1) + ':00');
712
- } else {
713
- jQuery(this).timepicker('setTime', (dateObj.getUTCHours()) + ':30');
714
- }
715
- }
716
- }
717
- });*/
718
-
719
- //Check Text Limit
720
- var textLimit = jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + data.networkAuthId + '"]').attr('data-network-text-limit');
721
- if (textLimit != "0") {
722
- networkLimitAll(data.networkAuthId, data.networkId, textLimit);
723
- } else {
724
- networkCount(data.networkAuthId);
725
- }
726
- jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + data.networkAuthId + '"]').trigger("change");
727
- initSceditor(data.networkAuthId);
728
- //Bild setzen
729
- if (jQuery('#b2s_blog_default_image').val() != "") {
730
- if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').length > 0) {
731
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('#b2s_blog_default_image').val());
732
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
733
- }
734
- jQuery('.b2s-image-url-hidden-field').val(jQuery('#b2s_blog_default_image').val());
735
- }
736
-
737
- //Time zone
738
- jQuery('.b2s-settings-time-zone-text').html(jQuery('#user_timezone_text').val());
739
-
740
- //PostFormat
741
- if (jQuery('.b2s-post-ship-item-post-format-text[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').length > 0) {
742
- var postFormatText = JSON.parse(jQuery('.b2sNetworkSettingsPostFormatText').val());
743
- var postFormatType = jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').attr('data-post-format-type');
744
- if (jQuery('#user_version').val() >= 2) {
745
-
746
- jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + data.networkAuthId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val()]);
747
- jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val());
748
-
749
- var isMetaChecked = false;
750
- if (data.networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
751
- isMetaChecked = true;
752
- }
753
- if (data.networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
754
- isMetaChecked = true;
755
- }
756
-
757
- if (isMetaChecked && jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val() == "0") {
758
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", false);
759
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", false);
760
- var dataMetaType = jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').attr("data-meta-type");
761
- if (dataMetaType == "og") {
762
- jQuery('#b2sChangeOgMeta').val("1");
763
- } else {
764
- jQuery('#b2sChangeCardMeta').val("1");
765
- }
766
-
767
- //Copy from further item meta tags by same network
768
- jQuery('.b2s-post-item-details-post-format[data-network-id=' + data.networkId + ']').each(function () {
769
- if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != data.networkAuthId) { //other Linkpost by same network
770
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
771
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
772
-
773
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
774
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
775
-
776
- if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
777
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
778
- } else {
779
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').hide();
780
- }
781
-
782
- return true;
783
- }
784
- });
785
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
786
-
787
- } else {
788
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
789
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
790
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
791
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
792
- }
793
-
794
- } else {
795
- jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + data.networkId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val()]);
796
- jQuery('.b2s-post-item-details-post-format[data-network-id="' + data.networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val());
797
- }
798
- }
799
- }
800
- }
801
- }
802
- });
803
- }
804
- } else {
805
- deactivatePortal(networkAuthId);
806
- }
807
- }
808
- return false;
809
- });
810
-
811
- jQuery(document).on('click', '.b2s-post-item-details-url-image', function () {
812
- var networkAuthId = jQuery(this).attr("data-network-auth-id");
813
- if (jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').is(":visible")) {
814
-
815
- var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
816
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr("data-network-id");
817
-
818
- var isMetaChecked = false;
819
- if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
820
- isMetaChecked = true;
821
- }
822
- if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
823
- isMetaChecked = true;
824
- }
825
-
826
- if (postFormat == "0") { //isLinkPost
827
- jQuery('.meta-text').hide();
828
- if (!isMetaChecked) {
829
- if (networkId == "1") {
830
- jQuery('.isOgMetaChecked').show();
831
- } else {
832
- jQuery('.isCardMetaChecked').show();
833
- }
834
- jQuery('#b2s-info-change-meta-tag-modal').modal('show');
835
- return false;
836
- }
837
- }
838
-
839
- jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').trigger('click');
840
- }
841
- return false;
842
- });
843
-
844
- jQuery(document).on('click', '.b2s-submit-btn-scroll', function () {
845
- jQuery('.b2s-submit-btn').trigger('click');
846
- });
847
-
848
- jQuery(document).on('click', '.b2s-post-ship-item-post-format', function () {
849
- if (jQuery('#user_version').val() >= 1) {
850
- jQuery('.b2s-user-network-settings-post-format-area').hide();
851
- jQuery('.b2s-user-network-settings-post-format-area[data-network-type="' + jQuery(this).attr('data-network-type') + '"][data-network-id="' + jQuery(this).attr('data-network-id') + '"]').show();
852
- jQuery('#b2s-post-ship-item-post-format-network-title').html(jQuery('.b2s-user-network-settings-post-format-area[data-network-id="' + jQuery(this).attr('data-network-id') + '"]').attr('data-network-title'));
853
- if (jQuery('#user_version').val() >= 2) {
854
- jQuery('.b2s-user-network-settings-post-format[data-network-type="' + jQuery(this).attr('data-network-type') + '"][data-network-id="' + jQuery(this).attr('data-network-id') + '"]').removeClass('b2s-settings-checked');
855
- var currentPostFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
856
- jQuery('.b2s-user-network-settings-post-format[data-network-type="' + jQuery(this).attr('data-network-type') + '"][data-network-id="' + jQuery(this).attr('data-network-id') + '"][data-post-format="' + currentPostFormat + '"]').addClass('b2s-settings-checked');
857
-
858
- jQuery('#b2s-post-ship-item-post-format-network-display-name').html(jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').text().toUpperCase());
859
- }
860
- jQuery('.b2s-post-format-settings-info').hide();
861
- jQuery('.b2s-post-format-settings-info[data-network-id="' + jQuery(this).attr('data-network-id') + '"]').show();
862
- jQuery('#b2s-post-ship-item-post-format-modal').modal('show');
863
- jQuery('.b2s-user-network-settings-post-format').attr('data-network-auth-id', jQuery(this).attr('data-network-auth-id'));
864
- } else {
865
- jQuery('#b2sInfoFormatModal').modal('show');
866
- }
867
- return false;
868
- });
869
-
870
- jQuery(document).on('click', '.b2s-btn-trigger-post-ship-item-post-format', function () {
871
- jQuery('.b2s-post-ship-item-post-format[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').trigger('click');
872
- return false;
873
- });
874
-
875
- jQuery(document).on('click', '.b2s-post-item-details-release-input-days', function () {
876
- jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('error');
877
- });
878
-
879
- jQuery(document).on('change', '.b2s-post-item-details-release-input-time', function () {
880
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('error');
881
- });
882
-
883
- jQuery(document).on('change', '.b2s-post-item-details-release-input-date', function () {
884
- jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('error');
885
- });
886
- jQuery('.b2s-network-details-mandant-select').change(function () {
887
- hideDuplicateAuths();
888
- chooseMandant();
889
- });
890
-
891
- jQuery(document).on('change', '.b2s-post-item-details-item-group-select', function () {
892
- if (jQuery(this).attr('data-change-network-display-name') == 'true') {
893
- var label = jQuery(this.options[this.selectedIndex]).closest('optgroup').prop('label');
894
- jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').html(label);
895
- }
896
- return false;
897
- });
898
-
899
-
900
- //Versandzeitpunkt auswahl
901
- jQuery(document).on('change', '.b2s-post-item-details-release-input-date-select', function () {
902
- var dataNetworkCount = 0;
903
- if (jQuery(this).val() == 2) {
904
- if (jQuery(this).attr('data-user-version') == 0) {
905
- jQuery('#b2s-sched-post-modal').modal('show');
906
- return false;
907
- } else {
908
- for (var i = 1; i <= 2; i++) {
909
- jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="' + i + '"]').each(function () {
910
- if (jQuery(this).prop('checked')) {
911
- dataNetworkCount = 1;
912
- }
913
- });
914
- }
915
- if (dataNetworkCount == 2) {
916
- jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
917
- jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"]').hide();
918
- jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"').hide();
919
- jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="2"').show();
920
- } else if (dataNetworkCount == 1) {
921
- jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
922
- jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"').show();
923
- }
924
- }
925
- }
926
- if (jQuery(this).val() == 1) {
927
- if (jQuery(this).attr('data-user-version') == 0) {
928
- jQuery('#b2s-sched-post-modal').modal('show');
929
- return false;
930
- } else {
931
- checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
932
-
933
- //Überprüfen ob Zeit in der Vergangenheit
934
- /*var dateStr = jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
935
- var minStr = jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
936
- if (dateStr !== undefined && minStr !== undefined) {
937
- if (jQuery('#b2sUserLang').val() == 'de') {
938
- dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
939
- } else {
940
- var minParts = minStr.split(' ');
941
- var minParts2 = minParts[0].split(':');
942
- if (minParts[1] == 'PM') {
943
- minParts2[0] = parseInt(minParts2[0]) + 12;
944
- }
945
- minStr = minParts2[0] + ':' + minParts2[1];
946
- }
947
- var dateObj = new Date();
948
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
949
- dateObj.setTime(jQuery('#b2sBlogPostSchedDate').val());
950
- }
951
- if (Date.parse(dateStr + ' ' + minStr + ':00') <= Date.parse(dateObj.getUTCFullYear() + '-' + (dateObj.getUTCMonth() + 1) + '-' + dateObj.getUTCDate() + ' ' + dateObj.getUTCHours() + ':' + dateObj.getUTCMinutes() + ':00')) {
952
- //date in past
953
- if (dateObj.getUTCMinutes() >= 30) {
954
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').timepicker('setTime', (dateObj.getUTCHours() + 1) + ':00');
955
- } else {
956
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').timepicker('setTime', (dateObj.getUTCHours()) + ':30');
957
- }
958
- }
959
- }*/
960
- }
961
- }
962
- releaseChoose(jQuery(this).val(), jQuery(this).attr('data-network-auth-id'), dataNetworkCount);
963
- });
964
-
965
-
966
- jQuery(document).on('click', '#b2s-network-sched-post-info-ignore', function () {
967
- jQuery('#b2sSchedPostInfoIgnore').val("1");
968
- jQuery('.b2s-submit-btn').trigger("click");
969
- return false;
970
- });
971
-
972
-
973
- jQuery(document).on('click', '.b2s-re-share-btn', function () {
974
- jQuery(".b2s-settings-user-sched-time-area").show();
975
- jQuery('#b2s-sidebar-wrapper').show();
976
- jQuery('.b2s-post-item-info-area').show();
977
- jQuery('.b2s-post-item-details-message-info').show();
978
- jQuery('.b2s-post-item-details-edit-area').show();
979
- jQuery('.b2s-post-item-details-message-result').hide();
980
- jQuery('.b2s-post-item-details-message-result').html("");
981
- jQuery(".b2s-post-area").show();
982
- jQuery('.b2s-publish-area').show();
983
- jQuery('.b2s-footer-menu').show();
984
- window.scrollTo(0, 0);
985
- jQuery('.b2s-reporting-btn-area').hide();
986
- jQuery('#b2sSchedPostInfoIgnore').val("0");
987
- return false;
988
- });
989
-
990
-
991
- jQuery(document).on('click', '.b2s-post-item-details-release-input-add', function () {
992
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
993
- var netCount = jQuery(this).attr('data-network-count');
994
- var netCountNext = parseInt(netCount) + 1;
995
- jQuery(this).hide();
996
- jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCount + '"]').hide();
997
- jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
998
- jQuery('.b2s-post-item-details-releas-area-details-row[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
999
- jQuery('.b2s-post-item-details-release-input-weeks[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1000
- jQuery('.b2s-post-item-details-release-input-weeks[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1001
- jQuery('.b2s-post-item-details-release-input-weeks[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').val('1');
1002
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1003
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1004
- jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1005
- jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1006
-
1007
- return false;
1008
- });
1009
-
1010
- jQuery(document).on('click', '.b2s-post-item-details-release-input-hide', function () {
1011
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
1012
- var netCount = jQuery(this).attr('data-network-count');
1013
- var netCountBevor = parseInt(netCount) - 1;
1014
- var selectorInput = '[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCount + '"]'
1015
- jQuery('.b2s-post-item-details-releas-area-details-row' + selectorInput).hide();
1016
- jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountBevor + '"]').show();
1017
- jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountBevor + '"]').show();
1018
- //felder leeren
1019
- jQuery('.b2s-post-item-details-release-input-date' + selectorInput).prop('disabled', true);
1020
- jQuery('.b2s-post-item-details-release-input-time' + selectorInput).prop('disabled', true);
1021
- jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).val('');
1022
- jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).prop('disabled', true);
1023
- jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('checked', false);
1024
- jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled', true);
1025
- return false;
1026
- });
1027
-
1028
- jQuery(document).on("keyup", ".complete_network_url", function () {
1029
- var url = jQuery(this).val();
1030
- jQuery(this).removeClass("error");
1031
- if (url.length != "0") {
1032
- if (url.indexOf("http://") == -1 && url.indexOf("https://") == -1) {
1033
- url = "http://" + url;
1034
- jQuery(this).val(url);
1035
- }
1036
- } else if (jQuery(this).hasClass("required_network_url")) {
1037
- url = jQuery("#b2sDefault_url").val();
1038
- jQuery(this).val(url);
1039
- }
1040
- });
1041
-
1042
- jQuery(document).on('click', '.scroll-to-top', function () {
1043
- window.scrollTo(0, 0);
1044
- return false;
1045
- });
1046
-
1047
- jQuery(document).on('click', '.scroll-to-bottom', function () {
1048
- window.scrollTo(0, document.body.scrollHeight);
1049
- return false;
1050
- });
1051
-
1052
- jQuery(document).on('click', '.b2s-post-item-details-preview-url-reload', function () {
1053
- var re = new RegExp(/^(https?:\/\/)?[a-zA-Z0-99ÄÖÜöäü-]+([\-\.]{1}[a-zA-Z0-99ÄÖÜöäü-]+)*\.[a-zA-Z0-9-]{2,20}(:[0-9]{1,5})?(\/.*)?$/);
1054
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
1055
- var url = jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').val();
1056
- if (re.test(url)) {
1057
- jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1058
- jQuery(this).addClass('glyphicon-refresh-animate');
1059
- jQuery('.b2s-server-connection-fail').hide();
1060
- jQuery.ajax({
1061
- url: ajaxurl,
1062
- type: "POST",
1063
- dataType: "json",
1064
- cache: false,
1065
- data: {
1066
- 'action': 'b2s_ship_item_reload_url',
1067
- 'networkId': jQuery(this).attr('data-network-id'),
1068
- 'networkAuthId': networkAuthId,
1069
- 'postId': jQuery('#b2sPostId').val(),
1070
- 'defaultUrl': jQuery('#b2sDefault_url').val(),
1071
- 'url': url
1072
- },
1073
- error: function () {
1074
- jQuery('.b2s-server-connection-fail').show();
1075
- return false;
1076
- },
1077
- success: function (data) {
1078
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + data.networkAuthId + '"]').removeClass('glyphicon-refresh-animate');
1079
- if (data.result == true) {
1080
- if (data.networkId == 1 || data.networkId == 2) {
1081
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').val(data.title);
1082
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').val(data.description);
1083
- } else {
1084
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').html(data.title);
1085
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').html(data.description);
1086
- }
1087
-
1088
- if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('data-network-image-change') == '0') {
1089
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', data.image);
1090
- }
1091
-
1092
- if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('data-network-image-change') == '1') {
1093
- if (data.image != "") {
1094
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', data.image);
1095
- } else {
1096
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('#b2sDefaultNoImage').val());
1097
- }
1098
- }
1099
- }
1100
- }
1101
-
1102
- });
1103
- } else {
1104
- jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').addClass('error');
1105
- }
1106
- });
1107
-
1108
- jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
1109
- var metaType = jQuery(this).attr('data-meta-type');
1110
- var authId = jQuery(this).attr('data-network-auth-id');
1111
-
1112
-
1113
- var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + authId + ']').val();
1114
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + authId + ']').attr("data-network-id");
1115
-
1116
- var isMetaChecked = false;
1117
- if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
1118
- isMetaChecked = true;
1119
- }
1120
- if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
1121
- isMetaChecked = true;
1122
- }
1123
-
1124
- if (postFormat == "0") { //isLinkPost
1125
- jQuery('.meta-text').hide();
1126
- if (!isMetaChecked) {
1127
- if (networkId == "1") {
1128
- jQuery('.isOgMetaChecked').show();
1129
- } else {
1130
- jQuery('.isCardMetaChecked').show();
1131
- }
1132
- jQuery('#b2s-info-change-meta-tag-modal').modal('show');
1133
- return false;
1134
- }
1135
- }
1136
-
1137
- jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', authId);
1138
- jQuery('.b2s-upload-image').attr('data-network-auth-id', authId);
1139
- var content = "<img class='b2s-post-item-network-image-selected-account' height='22px' src='" + jQuery('.b2s-post-item-network-image[data-network-auth-id="' + authId + '"]').attr('src') + "' /> " + jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + authId + '"]').html();
1140
- jQuery('.b2s-selected-network-for-image-info').html(content);
1141
- jQuery('#b2sInsertImageType').val("0");
1142
-
1143
- if (typeof metaType !== 'undefined') {
1144
- jQuery('.b2s-image-change-this-network').attr('data-meta-type', metaType);
1145
- } else {
1146
- jQuery('.b2s-image-change-this-network').attr('data-meta-type', "");
1147
- }
1148
-
1149
- jQuery('#b2s-network-select-image').modal('show');
1150
- imageSize();
1151
- return false;
1152
- });
1153
-
1154
- jQuery(document).on('click', '.b2s-image-remove-btn', function () {
1155
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
1156
- var defaultImage = jQuery('#b2sDefaultNoImage').val();
1157
-
1158
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', defaultImage);
1159
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val("");
1160
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
1161
-
1162
- //add check linkpost change meta tag image for this network
1163
- var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
1164
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
1165
- if (typeof postFormat !== typeof undefined && postFormat !== false) {
1166
- if (postFormat == "0") { //if linkpost
1167
- jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
1168
- if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
1169
- //override this image with current image
1170
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src', defaultImage);
1171
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val("");
1172
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').hide();
1173
- }
1174
- })
1175
- }
1176
- }
1177
-
1178
- return false;
1179
- });
1180
-
1181
- jQuery(document).on('click', '.b2s-image-change-this-network', function () {
1182
- var networkAuthId = jQuery(this).attr('data-network-auth-id');
1183
- var currentImage = jQuery('input[name=image_url]:checked').val();
1184
- if (jQuery('#b2sInsertImageType').val() == '1') { //HTML-Network
1185
- var sceditor = jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor('instance');
1186
- sceditor.insert("<br /><img src='" + currentImage + "'/><br />");
1187
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(currentImage); //Torial
1188
-
1189
- } else {
1190
-
1191
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', currentImage);
1192
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').removeClass('b2s-img-required');
1193
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(currentImage);
1194
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
1195
-
1196
- if (jQuery(this).attr('data-meta-type') == "og") {
1197
- jQuery('#b2sChangeOgMeta').val("1");
1198
- }
1199
- if (jQuery(this).attr('data-meta-type') == "card") {
1200
- jQuery('#b2sChangeCardMeta').val("1");
1201
- }
1202
-
1203
- //add check linkpost change meta tag image for this network
1204
- var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
1205
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
1206
- if (typeof postFormat !== typeof undefined && postFormat !== false) {
1207
- if (postFormat == "0") { //if linkpost
1208
- jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
1209
- if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
1210
- //override this image with current image
1211
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src', currentImage);
1212
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('b2s-img-required');
1213
- jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val(currentImage);
1214
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').show();
1215
- }
1216
- });
1217
- }
1218
- }
1219
- }
1220
- jQuery('.b2s-upload-image-invalid-extension').hide();
1221
- jQuery('.b2s-upload-image-no-permission').hide();
1222
- jQuery('.b2s-upload-image-free-version-info').hide();
1223
- jQuery('#b2s-network-select-image').modal('hide');
1224
- return false;
1225
- });
1226
-
1227
- jQuery(document).on('click', '.b2s-image-change-all-network', function () {
1228
- jQuery('.b2s-post-item-details-item-message-input-allow-html').each(function () {
1229
- var sce = jQuery(this).sceditor('instance');
1230
- if (typeof sce !== 'undefined' && typeof sce.insert !== 'undefined') {
1231
- if (sce.getBody().find(".b2s-post-item-details-image-html-src").length > 0) {
1232
- sce.getBody().find(".b2s-post-item-details-image-html-src").attr('src', jQuery('input[name=image_url]:checked').val());
1233
- } else {
1234
- sce.insert("<br /><img class='b2s-post-item-details-image-html-src' src='" + jQuery('input[name=image_url]:checked').val() + "'/><br />");
1235
- }
1236
- }
1237
- });
1238
- jQuery('.b2s-post-item-details-url-image[data-network-image-change="1"]').attr('src', jQuery('input[name=image_url]:checked').val());
1239
- jQuery('#b2s_blog_default_image').val(jQuery('input[name=image_url]:checked').val());
1240
- jQuery('.b2s-post-item-details-url-image').removeClass('b2s-img-required');
1241
- jQuery('.b2s-image-url-hidden-field').val(jQuery('input[name=image_url]:checked').val());
1242
- jQuery('.b2s-image-remove-btn').show();
1243
- jQuery('.b2s-upload-image-invalid-extension').hide();
1244
- jQuery('.b2s-upload-image-no-permission').hide();
1245
- jQuery('.b2s-upload-image-free-version-info').hide();
1246
-
1247
- jQuery('.b2sChangeOgMeta').val("1");
1248
- jQuery('.b2sChangeCardMeta').val("1");
1249
-
1250
- jQuery('#b2s-network-select-image').modal('hide');
1251
- return false;
1252
- });
1253
-
1254
- jQuery(document).on('click', '.b2s-upload-image', function () {
1255
- if (typeof wp !== 'undefined' && wp.media && wp.media.editor) {
1256
- jQuery('#b2s-network-select-image').modal('hide');
1257
-
1258
- wpMedia = wp.media({
1259
- title: jQuery('#b2s_wp_media_headline').val(),
1260
- button: {
1261
- text: jQuery('#b2s_wp_media_btn').val(),
1262
- },
1263
- multiple: false,
1264
- library: {type: 'image'}
1265
- });
1266
- wpMedia.open();
1267
-
1268
- wpMedia.on('select', function () {
1269
- var validExtensions = ['jpg', 'jpeg', 'png'];
1270
- var attachment = wpMedia.state().get('selection').first().toJSON();
1271
- var attachmenUrl = attachment.url;
1272
- var attachmenUrlExt = attachmenUrl.substr(attachmenUrl.lastIndexOf('.') + 1);
1273
- attachmenUrlExt = attachmenUrlExt.toLowerCase();
1274
- if (jQuery.inArray(attachmenUrlExt, validExtensions) == -1) {
1275
- jQuery('#b2s-network-select-image').modal('show');
1276
- jQuery('.b2s-upload-image-invalid-extension').show();
1277
- jQuery('#b2s-upload-image-invalid-extension-file-name').html('<span class="glyphicon glyphicon-ban-circle"></span> ' + attachment.name + '.' + attachmenUrlExt + '<br>');
1278
- jQuery('.b2s-choose-image-no-image-info-text').hide();
1279
- jQuery('.b2s-choose-image-no-image-extra-btn').hide();
1280
- return false;
1281
- }
1282
- var count = parseInt(jQuery('.b2s-choose-image-count').val());
1283
- count = count + 1;
1284
- jQuery('.b2s-choose-image-count').val(count);
1285
- var content = '<div class="b2s-image-item">' +
1286
- '<div class="b2s-image-item-thumb">' +
1287
- '<label for="b2s-image-count-' + count + '">' +
1288
- '<img class="img-thumbnail networkImage" alt="blogImage" src="' + attachment.url + '">' +
1289
- '</label>' +
1290
- '</div>' +
1291
- '<div class="b2s-image-item-caption text-center">' +
1292
- '<div class="b2s-image-item-caption-resolution clearfix small"></div>' +
1293
- '<input type="radio" value="' + attachment.url + '" class="checkNetworkImage" name="image_url" id="b2s-image-count-' + count + '">' +
1294
- '</div>' +
1295
- '</div>';
1296
-
1297
- jQuery('.b2s-image-choose-area').html(jQuery('.b2s-image-choose-area').html() + content);
1298
-
1299
- jQuery('.b2s-image-change-btn-area').show();
1300
- jQuery('.b2s-choose-image-no-image-info-text').hide();
1301
- jQuery('.b2s-choose-image-no-image-extra-btn').hide();
1302
- jQuery('.b2s-upload-image-invalid-extension').hide();
1303
- jQuery('input[name=image_url]:last').prop("checked", true);
1304
- jQuery('#b2s-network-select-image').modal('show');
1305
- imageSize();
1306
-
1307
- });
1308
- } else {
1309
- jQuery('.b2s-upload-image-no-permission').show();
1310
- }
1311
- return false;
1312
- });
1313
-
1314
- jQuery(document).on('click', '.b2s-upload-image-free-version', function () {
1315
- jQuery('.b2s-upload-image-free-version-info').show();
1316
- });
1317
-
1318
-
1319
- jQuery("#b2sNetworkSent").keypress(function (e) {
1320
- if (e.keyCode == 13 && e.target.tagName == "INPUT")
1321
- return false;
1322
- });
1323
-
1324
- jQuery.validator.addMethod("checkUrl", function (value, element, regexp) {
1325
- var re = new RegExp(regexp);
1326
- return this.optional(element) || re.test(value);
1327
- }, "Invalid Url");
1328
-
1329
- jQuery.validator.addClassRules("b2s-post-item-details-item-url-input", {
1330
- checkUrl: /^(https?:\/\/)?[a-zA-Z0-99ÄÖÜöäü-]+([\-\.]{1}[a-zA-Z0-99ÄÖÜöäü-]+)*\.[a-zA-Z0-9-]{2,20}(:[0-9]{1,5})?(\/.*)?$/
1331
- });
1332
-
1333
- jQuery.validator.addMethod("checkTags", function (value, element, test) {
1334
- var allowed_tags = ['p', 'h1', 'h2', 'br', 'i', 'b', 'a', 'img'];
1335
-
1336
- var tags = value.match(/(<([^>]+)>)/ig);
1337
- if (tags !== null && tags.length > 0) {
1338
- if (jQuery(element).hasClass('b2s-post-item-details-item-message-input-allow-html')) {
1339
- for (var i = 0; i < tags.length; i++) {
1340
- var allowed_count = 0;
1341
- for (var e = 0; e < allowed_tags.length; e++) {
1342
- var regex = new RegExp("<\s*(\/)?" + allowed_tags[e] + "(( [^>]*>)|[>])");
1343
- if (tags[i].match(regex) != null) {
1344
- allowed_count = 1;
1345
- }
1346
- }
1347
- if (allowed_count == 0) {
1348
- return false;
1349
- }
1350
- }
1351
- } else {
1352
- return false;
1353
- }
1354
- }
1355
- return true;
1356
- });
1357
-
1358
- jQuery.validator.addClassRules('b2s-post-item-details-item-message-input', {'checkTags': true});
1359
-
1360
- jQuery.validator.addClassRules('b2s-post-item-details-release-input-date-select', {'checkSched': true});
1361
-
1362
- jQuery.validator.addClassRules('b2s-post-item-details-item-title-input', {required: true});
1363
-
1364
-
1365
- jQuery.validator.addMethod('checkSched', function (value, element, rest) {
1366
- if (jQuery(element).is(':not(:disabled)') && jQuery(element).val() != 0) {
1367
- var networkAuthId = jQuery(element).attr('data-network-auth-id');
1368
- if (jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"]').val() == "") {
1369
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"]').addClass('error');
1370
- return false;
1371
- } else {
1372
- jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1373
- }
1374
- if (jQuery(element).val() == 1) {
1375
- if (jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"]').val() == "") {
1376
- jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"]').addClass('error');
1377
- return false;
1378
- } else {
1379
- jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1380
- }
1381
-
1382
- } else {
1383
- var maxCount = jQuery('.b2s-post-item-details-release-input-daySelect[data-network-auth-id="' + networkAuthId + '"]').length;
1384
- jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1385
- var daySelect = false;
1386
- var daySelectErrorCount = 0;
1387
- for (var count = 0; count < maxCount; count++) {
1388
- if (jQuery('.b2s-post-item-details-release-input-lable-day-mo[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + count + '"]').is(':not(:disabled)')) {
1389
- daySelect = false;
1390
- jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + count + '"]').each(function () {
1391
- if (jQuery(this).is(':checked')) {
1392
- daySelect = true;
1393
- }
1394
- });
1395
- if (daySelect === false) {
1396
- daySelectErrorCount += 1;
1397
- jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + count + '"]').addClass('error');
1398
- }
1399
- }
1400
- }
1401
- if (daySelectErrorCount != 0) {
1402
- return false;
1403
- }
1404
- }
1405
- }
1406
- return true;
1407
- });
1408
-
1409
- jQuery("#b2sNetworkSent").validate({
1410
- ignore: "",
1411
- errorPlacement: function () {
1412
- return false;
1413
- },
1414
- submitHandler: function (form) {
1415
- if (checkNetworkSelected() == false) {
1416
- return false;
1417
- }
1418
- if (checkPostSchedOnBlog() == false) {
1419
- return false;
1420
- }
1421
- if (checkImageByImageNetworks() == false) {
1422
- return false;
1423
- }
1424
-
1425
- var userDate = new Date();
1426
- var pubDate = userDate.getFullYear() + "-" + padDate(userDate.getMonth() + 1) + "-" + padDate(userDate.getDate()) + " " + padDate(userDate.getHours()) + ":" + padDate(userDate.getMinutes()) + ":" + padDate(userDate.getSeconds());
1427
- jQuery('#publish_date').val(pubDate);
1428
- jQuery(".b2s-loading-area").show();
1429
- jQuery(".b2s-post-area").hide();
1430
- jQuery(".b2s-settings-user-sched-time-area").hide();
1431
- jQuery('#b2s-sidebar-wrapper').hide();
1432
- jQuery('.b2s-post-item-info-area').hide();
1433
- jQuery.xhrPool.abortAll();
1434
- jQuery('.b2s-server-connection-fail').hide();
1435
- jQuery.ajax({
1436
- processData: false,
1437
- url: ajaxurl,
1438
- type: "POST",
1439
- dataType: "json",
1440
- cache: false,
1441
- data: jQuery(form).serialize(),
1442
- error: function () {
1443
- jQuery('.b2s-server-connection-fail').show();
1444
- return false;
1445
- },
1446
- success: function (data) {
1447
- var content = data.content;
1448
- jQuery(".b2s-loading-area").hide();
1449
- for (var i = 0; i < content.length; i++) {
1450
- jQuery('.b2s-post-item-details-message-info[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').hide();
1451
- jQuery('.b2s-post-item-details-edit-area[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').hide();
1452
- jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').show();
1453
- jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').html(content[i]['html']);
1454
- }
1455
- jQuery(".b2s-post-area").show();
1456
- jQuery('.b2s-publish-area').hide();
1457
- jQuery('.b2s-footer-menu').hide();
1458
- window.scrollTo(0, 0);
1459
- jQuery('.b2s-empty-area').hide();
1460
- jQuery('.b2s-reporting-btn-area').show();
1461
- wp.heartbeat.connectNow();
1462
- }
1463
- });
1464
- return false;
1465
- }
1466
- });
1467
-
1468
- jQuery('#b2s-network-list-modal').on('show.bs.modal', function (e) {
1469
- jQuery('.b2s-network-list-modal-mandant').html(jQuery(".b2s-network-details-mandant-select option:selected").text());
1470
- });
1471
-
1472
- jQuery(window).on("load", function () {
1473
- var showMeridian = true;
1474
- if (jQuery('#b2sUserLang').val() == 'de') {
1475
- showMeridian = false;
1476
- }
1477
- jQuery('.b2s-settings-sched-item-input-time').timepicker({
1478
- minuteStep: 30,
1479
- appendWidgetTo: 'body',
1480
- showSeconds: false,
1481
- showMeridian: showMeridian,
1482
- defaultTime: 'current'
1483
- });
1484
- });
1485
-
1486
-
1487
- jQuery('#b2s-save-time-settings-btn-trigger').on('click', function () {
1488
- jQuery('#b2s-save-time-settings-btn').trigger('click');
1489
- });
1490
-
1491
- jQuery('#b2sSaveUserSettingsSchedTime').validate({
1492
- ignore: "",
1493
- errorPlacement: function () {
1494
- return false;
1495
- },
1496
- submitHandler: function (form) {
1497
- jQuery('#b2s-time-settings-modal').modal('hide');
1498
- jQuery('.b2s-settings-user-success').hide();
1499
- jQuery('.b2s-settings-user-error').hide();
1500
- jQuery('.b2s-server-connection-fail').hide();
1501
- jQuery.ajax({
1502
- processData: false,
1503
- url: ajaxurl,
1504
- type: "POST",
1505
- dataType: "json",
1506
- cache: false,
1507
- data: jQuery(form).serialize(),
1508
- error: function () {
1509
- jQuery('.b2s-server-connection-fail').show();
1510
- return false;
1511
- },
1512
- success: function (data) {
1513
- if (data.result == true) {
1514
- jQuery('.b2s-settings-user-success').show();
1515
- } else {
1516
- jQuery('.b2s-settings-user-error').show();
1517
- }
1518
- }
1519
- });
1520
- return false;
1521
- }
1522
- });
1523
-
1524
- jQuery(document).on('click', '.b2s-loading-area-save-profile-change', function () {
1525
- var selectedAuth = new Array();
1526
- jQuery('.b2s-network-list.active').each(function () {
1527
- selectedAuth.push(jQuery(this).parents('.b2s-network-select-btn').attr('data-network-auth-id'));
1528
- });
1529
- jQuery('.b2s-server-connection-fail').hide();
1530
- jQuery.ajax({
1531
- url: ajaxurl,
1532
- type: "POST",
1533
- dataType: "json",
1534
- cache: false,
1535
- data: {
1536
- 'action': 'b2s_ship_navbar_save_settings',
1537
- 'mandantId': jQuery('.b2s-network-details-mandant-select').val(),
1538
- 'selectedAuth': selectedAuth
1539
- },
1540
- error: function () {
1541
- jQuery('.b2s-server-connection-fail').show();
1542
- return false;
1543
- },
1544
- success: function (data) {
1545
- if (data.result == true) {
1546
- jQuery('.b2s-ship-settings-save').show();
1547
- window.scrollTo(0, 0);
1548
- var mandantId = jQuery('.b2s-network-details-mandant-select').val();
1549
-
1550
- jQuery('.b2s-network-list').each(function () {
1551
- var jsonMandantIds = jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id');
1552
- if (jsonMandantIds !== undefined) {
1553
- var jsonMandantIds = jQuery.parseJSON(jsonMandantIds);
1554
- if (jsonMandantIds.indexOf(mandantId) !== -1 && !jQuery(this).hasClass('active')) {
1555
- //remove
1556
- var newMandant = new Array();
1557
- jQuery(jsonMandantIds).each(function (index, item) {
1558
- if (item !== mandantId) {
1559
- newMandant.push(item);
1560
- }
1561
- });
1562
- jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id', JSON.stringify(newMandant));
1563
-
1564
- } else if (jsonMandantIds.indexOf(mandantId) == -1 && jQuery(this).hasClass('active')) {
1565
- //add
1566
- jsonMandantIds.push(mandantId);
1567
- jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id', JSON.stringify(jsonMandantIds));
1568
- }
1569
- }
1570
- });
1571
- }
1572
- }
1573
- });
1574
- });
1575
-
1576
- window.addEventListener('message', function (e) {
1577
- if (e.origin == jQuery('#b2sServerUrl').val()) {
1578
- var data = JSON.parse(e.data);
1579
- loginSuccess(data.networkId, data.networkType, data.displayName, data.networkAuthId, data.mandandId);
1580
- }
1581
- });
1582
-
1583
- jQuery.xhrPool.abortAll = function () { // our abort function
1584
- jQuery(this).each(function (idx, jqXHR) {
1585
- jqXHR.abort();
1586
- });
1587
- jQuery.xhrPool.length = 0
1588
- };
1589
-
1590
- function loadingDummyShow(networkAuthId, networkId) {
1591
- jQuery('.b2s-post-item-connection-fail-dummy[data-network-auth-id="' + networkAuthId + '"]').remove();
1592
- var html = '<div class="b2s-post-item b2s-post-item-loading-dummy" data-network-auth-id="' + networkAuthId + '">'
1593
- + '<div class="panel panel-group">'
1594
- + '<div class="panel-body">'
1595
- + '<div class="b2s-post-item-area">'
1596
- + '<div class="b2s-post-item-details">'
1597
- + '<div class="b2s-loader-impulse b2s-loader-impulse-md b2s-post-item-loading-impulse-area">'
1598
- + '<img class="img-responsive" src="' + jQuery('#b2sPortalImagePath').val() + networkId + '_flat.png" alt="">'
1599
- + '</div>'
1600
- + '<div class="clearfix"></div>'
1601
- + '<div class="text-center"><small>'
1602
- + jQuery('#b2sJsTextLoading').val()
1603
- + '</small></div>'
1604
- + '</div>'
1605
- + '</div>'
1606
- + '</div>'
1607
- + '</div>';
1608
- var order = jQuery.parseJSON(jQuery('.b2s-network-navbar-order').val());
1609
- var pos = order.indexOf(networkAuthId.toString());
1610
- var add = false;
1611
- for (var i = pos; i >= 0; i--) {
1612
- if (jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').length > 0) {
1613
- jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').after(html);
1614
- i = -1;
1615
- add = true;
1616
- }
1617
- }
1618
- if (add == false) {
1619
- jQuery('.b2s-post-list').prepend(html);
1620
- }
1621
- }
1622
-
1623
- function loadingDummyConnectionFail(networkAuthId, networkId) {
1624
- var html = '<div class="b2s-post-item b2s-post-item-connection-fail-dummy" data-network-auth-id="' + networkAuthId + '">'
1625
- + '<div class="panel panel-group">'
1626
- + '<div class="panel-body">'
1627
- + '<div class="b2s-post-item-area">'
1628
- + '<div class="b2s-post-item-details">'
1629
- + '<div class="b2s-post-item-details-portal-img-area">'
1630
- + '<img class="img-responsive" src="' + jQuery('#b2sPortalImagePath').val() + networkId + '_flat.png" alt="">'
1631
- + '</div>'
1632
- + '<div class="clearfix"></div>'
1633
- + '<div class="text-center"><small>'
1634
- + jQuery('#b2sJsTextConnectionFail').val()
1635
- + '</small>'
1636
- + '<br/>'
1637
- + '<a class="btn btn-link btn-sm" target="_blank" href="' + jQuery('#b2sJsTextConnectionFailLink').val() + '">' + jQuery('#b2sJsTextConnectionFailLinkText').val() + '</a>'
1638
- + '</div>'
1639
- + '</div>'
1640
- + '</div>'
1641
- + '</div>'
1642
- + '</div>';
1643
-
1644
- jQuery('.b2s-post-item-loading-dummy[data-network-auth-id="' + networkAuthId + '"]').replaceWith(html);
1645
- }
1646
-
1647
- function init(firstrun) {
1648
- var dateFormat = "yyyy-mm-dd";
1649
- var language = "en";
1650
- var showMeridian = true;
1651
- if (jQuery('#b2sUserLang').val() == "de") {
1652
- dateFormat = "dd.mm.yyyy";
1653
- language = "de";
1654
- showMeridian = false;
1655
- }
1656
- var today = new Date();
1657
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
1658
- today.setTime(jQuery('#b2sBlogPostSchedDate').val());
1659
- }
1660
- jQuery(".b2s-post-item-details-release-input-date").datepicker({
1661
- format: dateFormat,
1662
- language: language,
1663
- maxViewMode: 2,
1664
- todayHighlight: true,
1665
- startDate: today,
1666
- calendarWeeks: true,
1667
- autoclose: true
1668
- });
1669
- jQuery('.b2s-post-item-details-release-input-time').timepicker({
1670
- minuteStep: 15,
1671
- appendWidgetTo: 'body',
1672
- showSeconds: false,
1673
- showMeridian: showMeridian,
1674
- defaultTime: 'current',
1675
- snapToStep: true
1676
- });
1677
- checkNetworkSelected();
1678
- //imageCheck();
1679
- if (firstrun == true) {
1680
- jQuery(window).scroll(function () {
1681
- submitArea();
1682
- });
1683
- jQuery('.b2s-post-item-details-release-input-date-select').each(function () {
1684
- releaseChoose(jQuery(this).val(), jQuery(this).attr('data-network-auth-id'), 0);
1685
- });
1686
- hideDuplicateAuths();
1687
- chooseMandant();
1688
-
1689
- }
1690
- }
1691
-
1692
- function initSceditor(networkAuthId) {
1693
- var sceditor = jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor('instance');
1694
-
1695
- if (typeof sceditor !== 'undefined' && typeof sceditor.destroy == 'function') {
1696
- sceditor.destroy();
1697
- }
1698
-
1699
- jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor({
1700
- plugins: 'xhtml',
1701
- toolbar: "h1,h2,bold,italic,link,unlink,custom-image|source",
1702
- autoUpdate: true,
1703
- emoticonsEnabled: false
1704
- });
1705
-
1706
- var sceditor = jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor('instance');
1707
-
1708
- if (typeof sceditor !== 'undefined' && typeof sceditor.destroy == 'function') {
1709
- sceditor.keyUp(function () {
1710
- jQuery(this).parents('.b2s-post-item-details').find('.b2s-post-item-countChar').html(jQuery(this).prev('.b2s-post-item-details-item-message-input').sceditor('instance').getBody().text().length);
1711
- });
1712
- jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').next('.sceditor-container').find('textarea').on('keyup', function () {
1713
- var tmp = document.createElement("DIV");
1714
- tmp.innerHTML = jQuery(this).val();
1715
- jQuery(this).parents('.b2s-post-item-details').find('.b2s-post-item-countChar').html(tmp.innerText.length);
1716
- });
1717
- }
1718
-
1719
-
1720
- }
1721
-
1722
- function submitArea() {
1723
- if (jQuery('.b2s-publish-area').length > 0) {
1724
- if (jQuery(window).scrollTop() + jQuery(window.top).height() >= jQuery('.b2s-publish-area').offset().top) {
1725
- jQuery(".b2s-footer-menu").hide();
1726
- } else {
1727
- jQuery(".b2s-footer-menu").show();
1728
- }
1729
- }
1730
- }
1731
-
1732
- function imageSize() {
1733
- jQuery('.networkImage').each(function () {
1734
- var width = this.naturalWidth;
1735
- var height = this.naturalHeight;
1736
- jQuery(this).parents('.b2s-image-item').find('.b2s-image-item-caption-resolution').html(width + 'x' + height);
1737
-
1738
- if (width == 0)
1739
- {
1740
- setTimeout(function () {
1741
- imageSize();
1742
- }, 50);
1743
- }
1744
- });
1745
- }
1746
-
1747
- function navbarDeactivatePortal(reason) {
1748
- if (reason == "image") {
1749
- var portale = Array(6, 7, 12);
1750
- for (var i = 0; i <= portale.length; i++) {
1751
- jQuery('.b2s-network-select-btn[data-network-id="' + portale[i] + '"]').addClass('b2s-network-select-btn-deactivate');
1752
- jQuery('.b2s-network-status-no-img[data-network-id="' + portale[i] + '"]').show();
1753
- }
1754
- }
1755
- }
1756
-
1757
- function navbarActivatePortal(reason) {
1758
- if (reason == "image") {
1759
- var portale = Array(6, 7, 12);
1760
- for (var i = 0; i <= portale.length; i++) {
1761
- jQuery('.b2s-network-select-btn[data-network-id="' + portale[i] + '"]').removeClass('b2s-network-select-btn-deactivate');
1762
- jQuery('.b2s-network-status-no-img[data-network-id="' + portale[i] + '"]').hide();
1763
- }
1764
- }
1765
- }
1766
-
1767
- function deactivatePortal(networkAuthId) {
1768
- var selector = '.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]';
1769
- jQuery(selector).hide();
1770
- jQuery(selector).find('.form-control').each(function () {
1771
- jQuery(this).attr("disabled", "disabled");
1772
- });
1773
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').children().removeClass('active').find('.b2s-network-status-img').addClass('b2s-network-hide');
1774
- checkNetworkSelected();
1775
- submitArea();
1776
- return true;
1777
- }
1778
-
1779
- function activatePortal(networkAuthId, check) {
1780
- var selector = '.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]'
1781
- //jQuery(selector).prependTo(".b2s-post-list");
1782
- jQuery(selector).show();
1783
- jQuery(selector).find('.form-control').each(function () {
1784
- if ((!jQuery(this).hasClass('b2s-post-item-details-release-input-weeks')) &&
1785
- (!jQuery(this).hasClass('b2s-post-item-details-release-input-date')) &&
1786
- (!jQuery(this).hasClass('b2s-post-item-details-release-input-time')) &&
1787
- (!jQuery(this).hasClass('b2s-post-item-details-release-input-days'))) {
1788
- jQuery(this).removeAttr("disabled", "disabled");
1789
- }
1790
- });
1791
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').children().addClass('active').find('.b2s-network-hide').removeClass('b2s-network-hide');
1792
- checkNetworkSelected();
1793
- submitArea();
1794
- }
1795
-
1796
- function checkNetworkSelected() {
1797
- //überprüfen ob mindestens ein PostItem vorhanden und sichtbar ist
1798
- var visible = false;
1799
- jQuery('.b2s-post-list').find('.b2s-post-item').each(function () {
1800
- if (jQuery(this).is(":visible")) {
1801
- visible = true;
1802
- }
1803
- });
1804
- if (jQuery('.b2s-post-list').text().trim() == "" || visible == false) {
1805
- jQuery('.b2s-publish-area').hide();
1806
- jQuery('.b2s-footer-menu').hide();
1807
- jQuery('.b2s-empty-area').show();
1808
- return false;
1809
- } else {
1810
- jQuery('.b2s-publish-area').show();
1811
- if (jQuery('.b2s-publish-area').length > 0) {
1812
- if (jQuery(window).scrollTop() + jQuery(window.top).height() < jQuery('.b2s-publish-area').offset().top) {
1813
- jQuery('.b2s-footer-menu').show();
1814
- }
1815
- }
1816
- jQuery('.b2s-empty-area').hide();
1817
- return true;
1818
- }
1819
- }
1820
-
1821
- function checkPostSchedOnBlog() {
1822
- if (jQuery('#b2sBlogPostSchedDate').length > 0) {
1823
- if (jQuery('#b2sSchedPostInfoIgnore').val() == "0") {
1824
- if (jQuery('.b2s-post-item-details-release-input-date-select option[value="0"]:selected').length > 0) {
1825
- jQuery('#b2s-network-sched-post-info').modal("show");
1826
- return false;
1827
- }
1828
- }
1829
- }
1830
- return true;
1831
- }
1832
-
1833
- function checkImageByImageNetworks() {
1834
- var result = true;
1835
- jQuery('.b2sOnlyWithImage').each(function () {
1836
- if (jQuery(this).is(":visible")) {
1837
- if (jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val() == "") {
1838
- if (!jQuery('#b2s-network-select-image').hasClass('in')) {
1839
- jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').addClass('b2s-img-required');
1840
- jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', jQuery(this).attr('data-network-auth-id'));
1841
- jQuery('.b2s-upload-image').attr('data-network-auth-id', jQuery(this).attr('data-network-auth-id'));
1842
- jQuery('#b2s-network-select-image').modal('show');
1843
- imageSize();
1844
- window.scrollTo(0, (jQuery(this).offset().top - 45));
1845
- }
1846
- result = false;
1847
- }
1848
- }
1849
- });
1850
-
1851
- return result;
1852
- }
1853
-
1854
-
1855
- function releaseChoose(choose, dataNetworkAuthId, dataNetworkCount) {
1856
- var selectorInput = '[data-network-auth-id="' + dataNetworkAuthId + '"]';
1857
- jQuery('.b2s-post-item-details-releas-area-details-row' + selectorInput).hide();
1858
- if (choose == 0) {
1859
- jQuery('.b2s-post-item-details-release-input-date' + selectorInput).prop('disabled', true);
1860
- jQuery('.b2s-post-item-details-release-input-date' + selectorInput).hide();
1861
- jQuery('.b2s-post-item-details-release-input-time' + selectorInput).hide();
1862
- jQuery('.b2s-post-item-details-release-input-time' + selectorInput).prop('disabled', true);
1863
- jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).hide();
1864
- jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).prop('disabled', true);
1865
- jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled');
1866
- jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).hide();
1867
- jQuery('.b2s-post-item-details-release-input-add' + selectorInput).hide();
1868
- jQuery('.2s-post-item-details-release-area-details-ul' + selectorInput).hide();
1869
- jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', true);
1870
- jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).hide();
1871
- jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).hide();
1872
- jQuery('.b2s-post-item-details-release-area-label-duration' + selectorInput).hide();
1873
- jQuery('.b2s-post-item-details-release-area-label-date' + selectorInput).hide();
1874
- jQuery('.b2s-post-item-details-release-area-label-time' + selectorInput).hide();
1875
- jQuery('.b2s-post-item-details-release-area-label-day' + selectorInput).hide();
1876
- jQuery('.b2s-post-item-details-release-area-div-duration' + selectorInput).hide();
1877
- jQuery('.b2s-post-item-details-release-area-div-date' + selectorInput).hide();
1878
- jQuery('.b2s-post-item-details-release-area-div-time' + selectorInput).hide();
1879
- jQuery('.b2s-post-item-details-release-area-div-day' + selectorInput).hide();
1880
- } else if (choose == 1) {
1881
- for (var i = 0; i <= dataNetworkCount; i++) {
1882
- jQuery('.b2s-post-item-details-releas-area-details-row[data-network-count="' + i + '"]' + selectorInput).show();
1883
- jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"]' + selectorInput).show();
1884
- jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
1885
- jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).show();
1886
- jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
1887
- }
1888
- jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).hide();
1889
- jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).prop('disabled');
1890
- jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).hide();
1891
- jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled', true);
1892
- jQuery('.b2s-post-item-details-release-input-add' + selectorInput).hide();
1893
- jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).show();
1894
- jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', false);
1895
- jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).show();
1896
- jQuery('.b2s-post-item-details-release-area-label-duration' + selectorInput).hide();
1897
- jQuery('.b2s-post-item-details-release-area-label-date' + selectorInput).show();
1898
- jQuery('.b2s-post-item-details-release-area-label-time' + selectorInput).show();
1899
- jQuery('.b2s-post-item-details-release-area-label-day' + selectorInput).hide();
1900
- jQuery('.b2s-post-item-details-release-area-div-duration' + selectorInput).hide();
1901
- jQuery('.b2s-post-item-details-release-area-div-date' + selectorInput).show();
1902
- jQuery('.b2s-post-item-details-release-area-div-time' + selectorInput).show();
1903
- jQuery('.b2s-post-item-details-release-area-div-day' + selectorInput).hide();
1904
- } else if (choose == 2) {
1905
- jQuery('.b2s-post-item-details-release-input-date' + selectorInput).show();
1906
- jQuery('.b2s-post-item-details-release-input-date' + selectorInput).removeAttr('disabled');
1907
- jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).show();
1908
- jQuery('.b2s-post-item-details-release-input-add' + selectorInput).show();
1909
- jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).show();
1910
- jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', false);
1911
- jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).hide();
1912
- for (var i = 0; i <= dataNetworkCount; i++) {
1913
- jQuery('.b2s-post-item-details-releas-area-details-row[data-network-count="' + i + '"]' + selectorInput).show();
1914
- jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).show();
1915
- jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
1916
- jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"]' + selectorInput).show();
1917
- jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
1918
- jQuery('.b2s-post-item-details-release-input-days[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
1919
- }
1920
- jQuery('.b2s-post-item-details-release-area-label-duration' + selectorInput).show();
1921
- jQuery('.b2s-post-item-details-release-area-label-date' + selectorInput).show();
1922
- jQuery('.b2s-post-item-details-release-area-label-time' + selectorInput).show();
1923
- jQuery('.b2s-post-item-details-release-area-label-day' + selectorInput).show();
1924
- jQuery('.b2s-post-item-details-release-area-div-duration' + selectorInput).show();
1925
- jQuery('.b2s-post-item-details-release-area-div-date' + selectorInput).hide();
1926
- jQuery('.b2s-post-item-details-release-area-div-time' + selectorInput).show();
1927
- jQuery('.b2s-post-item-details-release-area-div-day' + selectorInput).show();
1928
- }
1929
-
1930
- var showMeridian = true;
1931
- if (jQuery('#b2sUserLang').val() == 'de') {
1932
- showMeridian = false;
1933
- }
1934
-
1935
- jQuery('.b2s-post-item-details-release-input-time').timepicker({
1936
- minuteStep: 15,
1937
- appendWidgetTo: 'body',
1938
- showSeconds: false,
1939
- showMeridian: showMeridian,
1940
- defaultTime: 'current',
1941
- snapToStep: true
1942
- });
1943
- }
1944
-
1945
- function addTag(networkAuthId) {
1946
- var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
1947
- jQuery(selector).last().after('<input class="form-control b2s-post-item-details-tag-input-elem" data-network-auth-id="' + networkAuthId + '" value="" name="b2s[' + networkAuthId + '][tags][]">');
1948
- jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").show();
1949
- }
1950
-
1951
- function removeTag(networkAuthId) {
1952
- var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
1953
- jQuery(selector).last().remove();
1954
- if (jQuery(selector).length === 1)
1955
- jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").hide();
1956
- }
1957
-
1958
- function networkLimitAll(networkAuthId, networkId, limit) {
1959
- var regX = /(<([^>]+)>)/ig;
1960
- var url = jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val();
1961
- var text = jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val();
1962
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").removeClass("error");
1963
- if (url.length != "0") {
1964
- if (url.indexOf("http://") == -1 && url.indexOf("https://") == -1) {
1965
- url = "http://" + url;
1966
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
1967
- }
1968
- } else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
1969
- url = jQuery("#b2sDefault_url").val();
1970
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
1971
- }
1972
-
1973
- var textLength = text.length;
1974
- var newText = text;
1975
- if (networkId == "2") { //twitter
1976
- if (url.length != "0") {
1977
- limit = limit - 24;
1978
- }
1979
- }
1980
-
1981
- if (textLength >= limit) {
1982
- newText = text.substring(0, limit);
1983
- var pos = getCaretPos(this);
1984
- jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val(newText.replace(regX, ""));
1985
- setCaretPos(this, pos);
1986
- var text = jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val();
1987
- var textLength = text.length;
1988
- }
1989
- var newLen = limit - textLength;
1990
- jQuery(".b2s-post-item-countChar[data-network-auth-id='" + networkAuthId + "']").html(newLen);
1991
- }
1992
-
1993
- function networkCount(networkAuthId) {
1994
- var url = jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val();
1995
- var text = jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val();
1996
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").removeClass("error");
1997
- if (url.length != "0") {
1998
- if (url.indexOf("http://") == -1 && url.indexOf("https://") == -1) {
1999
- url = "http://" + url;
2000
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2001
- }
2002
- } else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
2003
- url = jQuery("#b2sDefault_url").val();
2004
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2005
- }
2006
- var textLength = text.length;
2007
- jQuery(".b2s-post-item-countChar[data-network-auth-id='" + networkAuthId + "']").html(textLength);
2008
- }
2009
-
2010
-
2011
- function getCaretPos(domElem) {
2012
- var pos;
2013
- if (document.selection) {
2014
- domElem.focus();
2015
- var sel = document.selection.createRange();
2016
- sel.moveStart("character", -domElem.value.length);
2017
- pos = sel.text.length;
2018
- } else if (domElem.selectionStart || domElem.selectionStart == "0")
2019
- pos = domElem.selectionStart;
2020
- return pos;
2021
- }
2022
-
2023
- function setCaretPos(domElem, pos) {
2024
- if (domElem.setSelectionRange) {
2025
- domElem.focus();
2026
- domElem.setSelectionRange(pos, pos);
2027
- } else if (domElem.createTextRange) {
2028
- var range = domElem.createTextRange();
2029
- range.collapse(true);
2030
- range.moveEnd("character", pos);
2031
- range.moveStart("character", pos);
2032
- range.select();
2033
- }
2034
- }
2035
-
2036
- function ucfirst(str) {
2037
- str += '';
2038
- return str.charAt(0).toUpperCase() + str.substr(1);
2039
- }
2040
-
2041
-
2042
- function hideDuplicateAuths() {
2043
- jQuery(".b2s-sidbar-wrapper-nav-li").each(function () {
2044
- jQuery(this).show();
2045
- });
2046
- var mandantId = jQuery('.b2s-network-details-mandant-select').val();
2047
- jQuery(".b2s-sidbar-wrapper-nav-li").each(function () {
2048
- if (jQuery(this).is(":visible")) {
2049
- var dataNetworkDisplayName = jQuery(this).children('.b2s-network-select-btn').attr('data-network-display-name');
2050
- var dataNetworkId = jQuery(this).children('.b2s-network-select-btn').attr('data-network-id');
2051
- var dataNetworkType = jQuery(this).children('.b2s-network-select-btn').attr('data-network-type');
2052
- var dataNetworkAuthId = jQuery(this).children('.b2s-network-select-btn').attr('data-network-auth-id');
2053
- jQuery('.b2s-network-select-btn[data-network-display-name="' + dataNetworkDisplayName + '"][data-network-id="' + dataNetworkId + '"][data-network-type="' + dataNetworkType + '"][data-network-auth-id!="' + dataNetworkAuthId + '"]').each(function () {
2054
- var selectedDataMandantId = jQuery.parseJSON(jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id'));
2055
- if (jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-default-id') != mandantId && selectedDataMandantId.indexOf(mandantId) == -1) {
2056
- jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').hide();
2057
- }
2058
- });
2059
- }
2060
- });
2061
- }
2062
-
2063
- function chooseMandant() {
2064
- //Laden abbrechen und anzeige zurück setzten
2065
- jQuery.xhrPool.abortAll();
2066
- jQuery('.b2s-post-item-loading-dummy').remove();
2067
- jQuery('.b2s-network-status-img-loading').hide();
2068
- jQuery('.b2s-network-select-btn-deactivate').removeClass('b2s-network-select-btn-deactivate');
2069
- //imageCheck();
2070
- //expiredDate wieder setzten
2071
- jQuery('.b2s-network-status-expiredDate').each(function () {
2072
- if (jQuery(this).is(':visible')) {
2073
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"').addClass('b2s-network-select-btn-deactivate');
2074
- }
2075
- });
2076
- jQuery('.b2s-network-select-btn-deactivate')
2077
- var mandantId = jQuery('.b2s-network-details-mandant-select').val();
2078
- jQuery('.b2s-post-item').hide();
2079
- jQuery('.b2s-post-item').find('.form-control').each(function () {
2080
- jQuery(this).attr("disabled", "disabled");
2081
- });
2082
- jQuery('.b2s-network-select-btn').children().removeClass('active').find('.b2s-network-status-img').addClass('b2s-network-hide');
2083
- //Check IS RE-PUBLISH
2084
- if (jQuery('#b2sSelectedNetworkAuthId').val() > 0 && jQuery(".b2s-network-select-btn[data-network-auth-id='" + jQuery('#b2sSelectedNetworkAuthId').val() + "']").length > 0) { //exisits?
2085
- jQuery(".b2s-network-select-btn[data-network-auth-id='" + jQuery('#b2sSelectedNetworkAuthId').val() + "']").trigger('click');
2086
- var mandantId = jQuery(".b2s-network-select-btn[data-network-auth-id='" + jQuery('#b2sSelectedNetworkAuthId').val() + "']").parent('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id');
2087
- jQuery('.b2s-network-details-mandant-select').val(mandantId);
2088
- jQuery('#b2sSelectedNetworkAuthId').val("0");
2089
- } else {
2090
- jQuery(".b2s-sidbar-wrapper-nav-li").each(function () {
2091
- var mandantIds = jQuery.parseJSON(jQuery(this).attr('data-mandant-id'));
2092
- if (mandantIds.indexOf(mandantId) != -1 && !jQuery(this).children('.b2s-network-select-btn').hasClass('b2s-network-select-btn-deactivate')) {
2093
- jQuery(this).children('.b2s-network-select-btn').trigger('click');
2094
- }
2095
- });
2096
- }
2097
-
2098
- checkNetworkSelected();
2099
- }
2100
-
2101
- function padDate(n) {
2102
- return ("0" + n).slice(-2);
2103
- }
2104
-
2105
- function wop(url, name) {
2106
- jQuery('.b2s-network-auth-success').hide();
2107
- var location = window.location.protocol + '//' + window.location.hostname;
2108
- url = encodeURI(url + '&mandant_id=' + jQuery('.b2s-network-details-mandant-select').val() + '&location=' + location);
2109
- window.open(url, name, "width=650,height=900,scrollbars=yes,toolbar=no,status=no,resizable=no,menubar=no,location=no,directories=no,top=20,left=20");
2110
- }
2111
-
2112
- function loginSuccess(networkId, networkType, displayName, networkAuthId, mandandId) {
2113
- jQuery('.b2s-network-auth-success').show();
2114
- jQuery('#b2s-network-list-modal').modal('hide');
2115
- jQuery('#b2s-network-list-modal').hide();
2116
- jQuery('body').removeClass('modal-open');
2117
- jQuery('body').removeAttr('style');
2118
- if (jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').length == 0) {
2119
- jQuery('.b2s-server-connection-fail').hide();
2120
- jQuery.ajax({
2121
- url: ajaxurl,
2122
- type: "POST",
2123
- dataType: "json",
2124
- cache: false,
2125
- data: {
2126
- 'action': 'b2s_ship_navbar_item',
2127
- 'networkId': networkId,
2128
- 'networkType': networkType,
2129
- 'displayName': displayName,
2130
- 'networkAuthId': networkAuthId,
2131
- 'mandandId': mandandId
2132
- },
2133
- error: function () {
2134
- jQuery('.b2s-server-connection-fail').show();
2135
- return false;
2136
- },
2137
- success: function (data) {
2138
- if (data.result == true) {
2139
- jQuery(data.content).insertAfter('.b2s-sidbar-network-auth-btn');
2140
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + data.networkAuthId + '"]').trigger('click');
2141
- }
2142
- }
2143
- });
2144
- } else {
2145
- jQuery('.b2s-network-status-expiredDate').remove();
2146
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').removeClass('b2s-network-select-btn-deactivate');
2147
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').removeAttr('onclick');
2148
- jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').trigger('click');
2149
- }
2150
- }
2151
-
2152
- //jQuery(this).attr('data-network-auth-id')
2153
- function checkSchedDateTime(dataNetworkAuthId) {
2154
- var dateElement = '.b2s-post-item-details-release-input-date[data-network-auth-id="' + dataNetworkAuthId + '"]';
2155
- var timeElement = '.b2s-post-item-details-release-input-time[data-network-auth-id="' + dataNetworkAuthId + '"]';
2156
- var dateStr = jQuery(dateElement).val();
2157
- var minStr = jQuery(timeElement).val();
2158
- var timeZone = parseInt(jQuery('#user_timezone').val()) * (-1);
2159
-
2160
- if (jQuery('#b2sUserLang').val() == 'de') {
2161
- dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
2162
- } else {
2163
- var minParts = minStr.split(' ');
2164
- var minParts2 = minParts[0].split(':');
2165
- if (minParts[1] == 'PM') {
2166
- minParts2[0] = parseInt(minParts2[0]) + 12;
2167
- }
2168
- minStr = minParts2[0] + ':' + minParts2[1];
2169
- }
2170
-
2171
- var minParts3 = minStr.split(':');
2172
- if (minParts3[0] < 10) {
2173
- minParts3[0] = '0' + minParts3[0];
2174
- }
2175
- var dateParts = dateStr.split('-');
2176
-
2177
- //utc current time
2178
- var now = new Date();
2179
- //offset between utc und user
2180
- var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
2181
- //enter hour to user time
2182
- var hour = parseInt(minParts3[0]) + timeZone + offset;
2183
- //calculate datetime in utc
2184
- var enter = new Date(dateParts[0], dateParts[1] - 1, dateParts[2], hour, minParts3[1]);
2185
- //compare enter date time with allowed user time
2186
- if (enter.getTime() < now.getTime()) {
2187
- //enter set on next 15 minutes and calculate on user timezone
2188
- enter.setTime(now.getTime() + (900000 - (now.getTime() % 900000)) - (3600000 * (timeZone + offset)));
2189
- jQuery(dateElement).datepicker('update', enter);
2190
- jQuery(timeElement).timepicker('setTime', enter);
2191
- }
2192
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.noConflict();
2
+
3
+ jQuery(document).on('heartbeat-send', function (e, data) {
4
+ data['b2s_heartbeat'] = 'b2s_listener';
5
+ });
6
+
7
+ jQuery.xhrPool = [];
8
+
9
+ jQuery(window).on("load", function () {
10
+ init(true);
11
+ imageSize();
12
+ if (jQuery('.toggelbutton').is(':visible') && !jQuery("#b2s-wrapper").hasClass("toggled")) {
13
+ jQuery('.btn-toggle-menu').trigger('click');
14
+ }
15
+ });
16
+
17
+ jQuery(document).on('click', '.btn-toggle-menu', function () {
18
+ if (jQuery('.toggelbutton').is(':visible')) {
19
+ jQuery("#b2s-wrapper").toggleClass("toggled");
20
+ if (jQuery("#b2s-wrapper").hasClass("toggled")) {
21
+ jQuery(".sidebar-brand").hide();
22
+ jQuery(".btn-toggle-glyphicon").removeClass('glyphicon-chevron-right').addClass('glyphicon-chevron-left');
23
+ } else {
24
+ jQuery(".sidebar-brand").show();
25
+ jQuery(".btn-toggle-glyphicon").removeClass('glyphicon-chevron-left').addClass('glyphicon-chevron-right');
26
+ }
27
+ }
28
+ });
29
+
30
+ jQuery.sceditor.plugins.xhtml.allowedTags = ['h1', 'h2', 'p', 'br', 'i', 'b', 'a', 'img'];
31
+ jQuery.sceditor.command.set(
32
+ "h1", {
33
+ exec: function () {
34
+ if (this.currentBlockNode() == undefined || this.currentBlockNode().nodeName != 'H1') {
35
+ this.wysiwygEditorInsertHtml('<h1>', '</h1>');
36
+ } else {
37
+ jQuery(this.currentBlockNode()).replaceWith(this.currentBlockNode().innerText);
38
+ }
39
+ },
40
+ txtExec: ["<h1>", "</h1>"],
41
+ tooltip: "H1"
42
+ });
43
+ jQuery.sceditor.command.set(
44
+ "h2", {
45
+ exec: function () {
46
+ if (this.currentBlockNode() == undefined || this.currentBlockNode().nodeName != 'H2') {
47
+ this.wysiwygEditorInsertHtml('<h2>', '</h2>');
48
+ } else {
49
+ jQuery(this.currentBlockNode()).replaceWith(this.currentBlockNode().innerText);
50
+ }
51
+ },
52
+ txtExec: ["<h2>", "</h2>"], tooltip: "H2"});
53
+
54
+ jQuery.sceditor.command.set(
55
+ "custom-image", {
56
+ exec: function () {
57
+ var me = this;
58
+ if (typeof (b2s_is_calendar) != "undefined" && b2s_is_calendar)
59
+ {
60
+ jQuery('.b2s-network-select-image-content').html("");
61
+ jQuery.ajax({
62
+ url: ajaxurl,
63
+ type: "POST",
64
+ cache: false,
65
+ async: false,
66
+ data: {
67
+ 'action': 'b2s_get_image_modal',
68
+ 'id': b2s_current_post_id,
69
+ 'image_url': ''
70
+ },
71
+ success: function (data) {
72
+ jQuery(".b2s-network-select-image-content").html(data);
73
+ }
74
+ });
75
+ }
76
+ var networkAuthId = jQuery(this.getContentAreaContainer()).parents('.b2s-post-item-details').find('.b2s-post-item-details-network-display-name').attr('data-network-auth-id');
77
+ jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', networkAuthId);
78
+ jQuery('.b2s-upload-image').attr('data-network-auth-id', networkAuthId);
79
+ var content = "<img class='b2s-post-item-network-image-selected-account' height='22px' src='" + jQuery('.b2s-post-item-network-image[data-network-auth-id="' + networkAuthId + '"]').attr('src') + "' /> " + jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + networkAuthId + '"]').html();
80
+ jQuery('.b2s-selected-network-for-image-info').html(content);
81
+ jQuery('#b2s-network-select-image').modal('show');
82
+ jQuery('#b2sInsertImageType').val("1");
83
+ imageSize();
84
+
85
+ },
86
+ txtExec: function () {
87
+ var networkAuthId = jQuery(this.getContentAreaContainer()).parents('.b2s-post-item-details').find('.b2s-post-item-details-network-display-name').attr('data-network-auth-id');
88
+ jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', networkAuthId);
89
+ jQuery('.b2s-upload-image').attr('data-network-auth-id', networkAuthId);
90
+ var content = "<img class='b2s-post-item-network-image-selected-account' height='22px' src='" + jQuery('.b2s-post-item-network-image[data-network-auth-id="' + networkAuthId + '"]').attr('src') + "' /> " + jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + networkAuthId + '"]').html();
91
+ jQuery('.b2s-selected-network-for-image-info').html(content);
92
+ jQuery('#b2s-network-select-image').modal('show');
93
+ jQuery('#b2sInsertImageType').val("1");
94
+ imageSize();
95
+ }, tooltip: "Image"});
96
+
97
+
98
+
99
+
100
+ jQuery(document).on('click', '.b2s-toogle-calendar-btn', function () {
101
+
102
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
103
+ var networkId = jQuery(this).attr('data-network-id');
104
+ var toogleBtnText = jQuery(this).attr('data-toogle-text-btn');
105
+ var currentBtnText = jQuery(this).text();
106
+
107
+ jQuery(this).text(toogleBtnText);
108
+ jQuery(this).attr('data-toogle-text-btn', currentBtnText);
109
+
110
+ //change to show
111
+ var calendar = jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + networkAuthId + '"]');
112
+ if (calendar.hasClass('hide')) {
113
+ calendar.removeClass('hide');
114
+ calendar.addClass('show');
115
+ jQuery('.b2s-calendar-filter-area[data-network-auth-id="' + networkAuthId + '"]').removeClass('hide');
116
+
117
+ if (calendar.is(':empty')) {
118
+ b2s_cur_source_ship_calendar[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + networkId;
119
+
120
+ jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + networkAuthId + '"]').fullCalendar({
121
+ editable: false,
122
+ locale: b2s_calendar_locale,
123
+ eventLimit: 2,
124
+ contentHeight: 530,
125
+ timeFormat: 'H:mm',
126
+ eventSources: [b2s_cur_source_ship_calendar[0]],
127
+ eventRender: function (event, element) {
128
+ show = true;
129
+ $header = jQuery("<div>").addClass("b2s-calendar-header");
130
+ $network_name = jQuery("<span>").text(event.author).addClass("network-name").css("display", "block");
131
+ element.find(".fc-time").after($network_name);
132
+ element.html(element.html());
133
+ $parent = element.parent();
134
+ $header.append(element.find(".fc-content"));
135
+ element.append($header);
136
+ $body = jQuery("<div>").addClass("b2s-calendar-body");
137
+ $body.append(event.avatar);
138
+ $body.append(element.find(".fc-title"));
139
+ $body.append(jQuery("<br>"));
140
+ var $em = jQuery("<em>").css("padding-top", "5px").css("display", "block");
141
+ $em.append("<img src='" + b2s_plugin_url + "assets/images/portale/" + event.network_id + "_flat.png' style='height: 16px;width: 16px;display: inline-block;padding-right: 2px;padding-left: 2px;' />")
142
+ $em.append(event.network_name);
143
+ $em.append(jQuery("<span>").text(": " + event.profile));
144
+ $body.append($em);
145
+ element.append($body);
146
+ },
147
+ dayRender: function (date, element) {
148
+ if (!jQuery(element[0]).hasClass('fc-past')) {
149
+ var date = jQuery(element[0]).attr('data-date');
150
+ var sel_element = jQuery(element[0]).closest('div').next('div').find('td[data-date="' + date + '"]');
151
+ $header = jQuery("<a>").html("+ <span class=\"hidden-sm hidden-xs\">"+jQuery("#b2sJSTextAddSchedule").val()+"</span>").addClass("b2s-calendar-add-schedule-btn").attr('href', '#').attr('data-network-auth-id', networkAuthId);
152
+ sel_element.append($header);
153
+ }
154
+ }
155
+ });
156
+ } else {
157
+ jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + networkAuthId + '"]').fullCalendar('refetchEvents');
158
+ }
159
+
160
+ } else {
161
+ calendar.removeClass('show');
162
+ calendar.addClass('hide');
163
+ jQuery('.b2s-calendar-filter-area[data-network-auth-id="' + networkAuthId + '"]').addClass('hide');
164
+
165
+ }
166
+
167
+ return false;
168
+
169
+ });
170
+
171
+ jQuery(document).on('click', '.b2s-calendar-add-schedule-btn', function () {
172
+ var selSchedDate = jQuery(this).parent('td').attr('data-date');
173
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
174
+
175
+ if (jQuery('#user_version').val() == 0) {
176
+ jQuery('.b2s-post-item-details-release-input-date-select-reset[data-network-auth-id="' + networkAuthId + '"]').val('0');
177
+ jQuery('#b2s-sched-post-modal').modal('show');
178
+ return false;
179
+ }
180
+
181
+ if (jQuery('#b2sUserLang').val() == 'de') {
182
+ selSchedDate = selSchedDate.substring(8, 10) + '.' + selSchedDate.substring(5, 7) + '.' + selSchedDate.substring(0, 4);
183
+ }
184
+
185
+ //isfirst
186
+ if (!jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"] option[value="1"]:selected').length > 0) {
187
+ jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"]').val('1').trigger("change");
188
+ jQuery('.b2s-post-item-details-release-input-date[data-network-count="0"][data-network-auth-id="' + networkAuthId + '"]').val(selSchedDate);
189
+ } else {
190
+ //add
191
+ var curSel = jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + networkAuthId + '"]').filter(':visible');
192
+ if (curSel.length > 0) {
193
+ curSel.trigger('click');
194
+ netCountNext = parseInt(curSel.attr('data-network-count')) + 1;
195
+ jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + netCountNext + '"][data-network-auth-id="' + networkAuthId + '"]').val(selSchedDate);
196
+ } else {
197
+ //do not adding write to first
198
+ jQuery('.b2s-post-item-details-release-input-date[data-network-count="0"][data-network-auth-id="' + networkAuthId + '"]').val(selSchedDate);
199
+ }
200
+ }
201
+ return false;
202
+ });
203
+
204
+ jQuery(document).on('change', '.b2s-calendar-filter-network-sel', function () {
205
+ var newSource = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).val();
206
+ var oldSource = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).attr('data-last-sel');
207
+ jQuery(this).attr('data-last-sel', jQuery(this).val());
208
+ jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').fullCalendar('removeEventSource', oldSource);
209
+ jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').fullCalendar('addEventSource', newSource);
210
+ return false;
211
+ });
212
+
213
+
214
+ jQuery(document).on('click', '.b2s-get-settings-sched-time-default', function () {
215
+ jQuery('.b2s-server-connection-fail').hide();
216
+ jQuery.ajax({
217
+ url: ajaxurl,
218
+ type: "POST",
219
+ dataType: "json",
220
+ cache: false,
221
+ data: {
222
+ 'action': 'b2s_get_settings_sched_time_default',
223
+ },
224
+ error: function () {
225
+ jQuery('.b2s-server-connection-fail').show();
226
+ return false;
227
+ },
228
+ success: function (data) {
229
+ if (data.result == true) {
230
+ var tomorrow = new Date();
231
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
232
+ tomorrow.setTime(jQuery('#b2sBlogPostSchedDate').val());
233
+ }
234
+ tomorrow.setDate(tomorrow.getDate() + 1);
235
+ var tomorrowMonth = ("0" + (tomorrow.getMonth() + 1)).slice(-2);
236
+ var tomorrowDate = ("0" + tomorrow.getDate()).slice(-2);
237
+ var dateTomorrow = tomorrow.getFullYear() + "-" + tomorrowMonth + "-" + tomorrowDate;
238
+ var today = new Date();
239
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
240
+ today.setTime(jQuery('#b2sBlogPostSchedDate').val());
241
+ }
242
+
243
+ var todayMonth = ("0" + (today.getMonth() + 1)).slice(-2);
244
+ var todayDate = ("0" + today.getDate()).slice(-2);
245
+ var dateToday = today.getFullYear() + "-" + todayMonth + "-" + todayDate;
246
+
247
+ var lang = jQuery('#b2sUserLang').val();
248
+ if (lang == "de") {
249
+ dateTomorrow = tomorrowDate + "." + tomorrowMonth + "." + tomorrow.getFullYear();
250
+ dateToday = todayDate + "." + todayMonth + "." + today.getFullYear();
251
+ }
252
+
253
+ jQuery.each(data.times, function (network_id, time) {
254
+ if (jQuery('.b2s-post-item[data-network-id="' + network_id + '"]').is(":visible")) {
255
+ time.forEach(function (network_type_time, count) {
256
+ if (network_type_time != "") {
257
+ jQuery('.b2s-post-item-details-release-input-date-select[data-network-id="' + network_id + '"][data-network-type="' + count + '"]').val('1').trigger("change");
258
+ jQuery('.b2s-post-item-details-release-input-time[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(network_type_time);
259
+ var hours = network_type_time.substring(0, 2);
260
+ if (lang == "de") {
261
+ var timeparts = network_type_time.split(' ');
262
+ if (timeparts[1] == 'AM') {
263
+ hours = (timeparts[1] == 'AM') ? hours : (parseInt(hours) + 12);
264
+ }
265
+ }
266
+ if (hours < today.getHours()) {
267
+ jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateTomorrow);
268
+ } else {
269
+ jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateToday);
270
+ }
271
+ count++;
272
+ }
273
+ });
274
+ }
275
+ });
276
+ }
277
+ }
278
+ });
279
+ return false;
280
+ });
281
+
282
+
283
+ jQuery(document).on('click', '.b2s-sidbar-network-auth-btn', function () {
284
+ jQuery('#b2s-network-list-modal').modal('show');
285
+ return false;
286
+ });
287
+
288
+ jQuery(document).on('click', '.change-meta-tag', function () {
289
+ var attr = jQuery(this).attr('readonly');
290
+ if (typeof attr !== typeof undefined && attr !== false) {
291
+ jQuery('.meta-text').hide();
292
+ var networkAuthId = jQuery(this).attr("data-network-auth-id");
293
+ var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
294
+ var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr("data-network-id");
295
+
296
+ var isMetaChecked = false;
297
+ if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
298
+ isMetaChecked = true;
299
+ }
300
+ if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
301
+ isMetaChecked = true;
302
+ }
303
+
304
+ var showDefault = true;
305
+ if (postFormat == "0" && !isMetaChecked) { //isLinkPost
306
+ showDefault = false;
307
+ if (networkId == "1") {
308
+ jQuery('.isOgMetaChecked').show();
309
+ } else {
310
+ jQuery('.isCardMetaChecked').show();
311
+ }
312
+
313
+ }
314
+ if (showDefault) {
315
+ jQuery('.isLinkPost').show();
316
+ }
317
+
318
+
319
+ jQuery('#b2s-info-change-meta-tag-modal').modal('show');
320
+ }
321
+ return false;
322
+ });
323
+
324
+ // Linkpost change Meta Tags title + desc
325
+ jQuery(document).on('keyup', '.change-meta-tag', function () {
326
+ var currentText = jQuery(this).val();
327
+ var metaTag = jQuery(this).attr('data-meta');
328
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
329
+ var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
330
+ var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
331
+ if (typeof postFormat !== typeof undefined && postFormat !== false) {
332
+ if (postFormat == "0") { //if linkpost
333
+ jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
334
+ if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
335
+ //override this content with current content by keyup
336
+ jQuery('.' + metaTag + '[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').val(currentText);
337
+ }
338
+ });
339
+ }
340
+ }
341
+ return false;
342
+ });
343
+
344
+
345
+ jQuery(document).on('click', '.b2s-get-settings-sched-time-user', function () {
346
+ jQuery('.b2s-server-connection-fail').hide();
347
+ jQuery.ajax({
348
+ url: ajaxurl,
349
+ type: "POST",
350
+ dataType: "json",
351
+ cache: false,
352
+ data: {
353
+ 'action': 'b2s_get_settings_sched_time_user',
354
+ },
355
+ error: function () {
356
+ jQuery('.b2s-server-connection-fail').show();
357
+ return false;
358
+ },
359
+ success: function (data) {
360
+ if (data.result == true) {
361
+ var tomorrow = new Date();
362
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
363
+ tomorrow.setTime(jQuery('#b2sBlogPostSchedDate').val());
364
+ }
365
+
366
+ tomorrow.setDate(tomorrow.getDate() + 1);
367
+ var tomorrowMonth = ("0" + (tomorrow.getMonth() + 1)).slice(-2);
368
+ var tomorrowDate = ("0" + tomorrow.getDate()).slice(-2);
369
+ var dateTomorrow = tomorrow.getFullYear() + "-" + tomorrowMonth + "-" + tomorrowDate;
370
+ var today = new Date();
371
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
372
+ today.setTime(jQuery('#b2sBlogPostSchedDate').val());
373
+ }
374
+
375
+ var todayMonth = ("0" + (today.getMonth() + 1)).slice(-2);
376
+ var todayDate = ("0" + today.getDate()).slice(-2);
377
+ var dateToday = today.getFullYear() + "-" + todayMonth + "-" + todayDate;
378
+
379
+ var lang = jQuery('#b2sUserLang').val();
380
+ if (lang == "de") {
381
+ dateTomorrow = tomorrowDate + "." + tomorrowMonth + "." + tomorrow.getFullYear();
382
+ dateToday = todayDate + "." + todayMonth + "." + today.getFullYear();
383
+ }
384
+
385
+ jQuery.each(data.times, function (network_id, time) {
386
+ if (jQuery('.b2s-post-item[data-network-id="' + network_id + '"]').is(":visible")) {
387
+ time.forEach(function (network_type_time, count) {
388
+ if (network_type_time != "") {
389
+ jQuery('.b2s-post-item-details-release-input-date-select[data-network-id="' + network_id + '"][data-network-type="' + count + '"]').val('1').trigger("change");
390
+ jQuery('.b2s-post-item-details-release-input-time[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(network_type_time);
391
+ var hours = network_type_time.substring(0, 2);
392
+ if (lang == "de") {
393
+ var timeparts = network_type_time.split(' ');
394
+ if (timeparts[1] == 'AM') {
395
+ hours = (timeparts[1] == 'AM') ? hours : (parseInt(hours) + 12);
396
+ }
397
+ }
398
+
399
+ if (hours < today.getHours()) {
400
+ jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateTomorrow);
401
+ } else {
402
+ jQuery('.b2s-post-item-details-release-input-date[data-network-id="' + network_id + '"][data-network-type="' + count + '"][data-network-count="0"]').val(dateToday);
403
+ }
404
+ count++;
405
+ }
406
+ });
407
+ }
408
+ });
409
+ } else {
410
+ jQuery('#b2s-network-no-sched-time-user').modal('show');
411
+ }
412
+ }
413
+ });
414
+ return false;
415
+ });
416
+
417
+ jQuery('#b2sPreFeatureModal').on('show.bs.modal', function () {
418
+ jQuery('.b2s-post-item-details-release-input-date-select-reset').val('0');
419
+ });
420
+
421
+ jQuery(document).on('click', '.b2s-network-list-add-btn-profeature', function () {
422
+ jQuery('#b2s-network-list-modal').modal('hide');
423
+ });
424
+
425
+ jQuery(document).on('click', '.b2s-post-item-details-release-area-sched-for-all', function () {
426
+ var dataNetworkAuthId = jQuery(this).attr('data-network-auth-id');
427
+ var dataNetworkCount = 0;
428
+ var selMode = jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val();
429
+
430
+ if (jQuery('.b2s-post-item-details-releas-area-details-row[data-network-auth-id="' + dataNetworkAuthId + '"][data-network-count="1"]').is(":visible")) {
431
+ dataNetworkCount = 1;
432
+ }
433
+ if (jQuery('.b2s-post-item-details-releas-area-details-row[data-network-auth-id="' + dataNetworkAuthId + '"][data-network-count="2"]').is(":visible")) {
434
+ dataNetworkCount = 2;
435
+ }
436
+
437
+ jQuery('.b2s-post-item-details-release-input-date-select').each(function () {
438
+ if (jQuery(this).attr('data-network-auth-id') != dataNetworkAuthId && jQuery(this).has('option[value="' + jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val() + '"]').length > 0) {
439
+ jQuery(this).val(jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val());
440
+ //view elements
441
+ releaseChoose(jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val(), jQuery(this).attr('data-network-auth-id'), dataNetworkCount);
442
+ //view elements interval
443
+ if (selMode == 2) {
444
+ for (var i = 0; i <= dataNetworkCount; i++) {
445
+ var curInterval = jQuery('.b2s-post-item-details-release-input-interval-select[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val();
446
+ releaseChooseInterval(curInterval, '[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]', i);
447
+ }
448
+ }
449
+ }
450
+ });
451
+
452
+ //set values
453
+ for (var i = 0; i <= dataNetworkCount; i++) {
454
+ jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
455
+ jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
456
+ if (selMode == 2) {
457
+ var curInterval = jQuery('.b2s-post-item-details-release-input-interval-select[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val();
458
+
459
+ jQuery('.b2s-post-item-details-release-input-interval-select[data-network-count="' + i + '"]').val(curInterval);
460
+
461
+ if (curInterval == 0) {
462
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
463
+ jQuery('.b2s-post-item-details-release-input-lable-day-mo[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-mo[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
464
+ jQuery('.b2s-post-item-details-release-input-lable-day-di[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-di[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
465
+ jQuery('.b2s-post-item-details-release-input-lable-day-mi[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-mi[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
466
+ jQuery('.b2s-post-item-details-release-input-lable-day-do[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-do[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
467
+ jQuery('.b2s-post-item-details-release-input-lable-day-fr[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-fr[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
468
+ jQuery('.b2s-post-item-details-release-input-lable-day-sa[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-sa[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
469
+ jQuery('.b2s-post-item-details-release-input-lable-day-so[data-network-count="' + i + '"]').prop('checked', jQuery('.b2s-post-item-details-release-input-lable-day-so[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"').prop('checked'));
470
+ }
471
+ if (curInterval == 1) {
472
+ jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
473
+ jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
474
+ }
475
+ if (curInterval == 2) {
476
+ jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
477
+ jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + i + '"]').val(jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + i + '"][data-network-auth-id="' + dataNetworkAuthId + '"]').val());
478
+ }
479
+ }
480
+ }
481
+
482
+ if (dataNetworkCount == 2) {
483
+ jQuery('.b2s-post-item-details-release-input-add[data-network-count="0"]').hide();
484
+ jQuery('.b2s-post-item-details-release-input-add[data-network-count="1"]').hide();
485
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-count="1"]').hide();
486
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-count="2"]').show();
487
+ } else if (dataNetworkCount == 1) {
488
+ jQuery('.b2s-post-item-details-release-input-add[data-network-count="0"]').hide();
489
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-count="1"]').show();
490
+ }
491
+
492
+ return false;
493
+ });
494
+
495
+
496
+ jQuery(document).on("click", ".b2s-user-network-settings-post-format", function () {
497
+ jQuery('.b2s-settings-user-success').hide();
498
+ jQuery('.b2s-settings-user-error').hide();
499
+ jQuery('.b2s-server-connection-fail').hide();
500
+
501
+ var networkId = jQuery(this).attr("data-network-id");
502
+ var networkType = jQuery(this).attr("data-network-type");
503
+ var postFormat = jQuery(this).val();
504
+ var networkAuthId = jQuery(this).attr("data-network-auth-id");
505
+ var postFormatType = jQuery(this).attr("data-post-format-type");
506
+
507
+ jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val(postFormat);
508
+ //PostFormat
509
+ if (jQuery('.b2s-post-ship-item-post-format-text[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').length > 0) {
510
+ var postFormatText = JSON.parse(jQuery('.b2sNetworkSettingsPostFormatText').val());
511
+ if (jQuery('#user_version').val() >= 2) {
512
+ jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + networkAuthId + '"]').html(postFormatText[postFormatType][postFormat]);
513
+ jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + networkAuthId + '"]').val(postFormat);
514
+ } else {
515
+ jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + networkId + '"]').html(postFormatText[postFormatType][postFormat]);
516
+ jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(postFormat);
517
+ }
518
+ }
519
+
520
+ //Edit Meta Tags
521
+ var isMetaChecked = false;
522
+ if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
523
+ isMetaChecked = true;
524
+ }
525
+ if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
526
+ isMetaChecked = true;
527
+ }
528
+ if (isMetaChecked && postFormat == '0' && jQuery('#user_version').val() > 0) { //If linkpost
529
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
530
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
531
+ var dataMetaType = jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').attr("data-meta-type");
532
+ if (dataMetaType == "og") {
533
+ jQuery('#b2sChangeOgMeta').val("1");
534
+ } else {
535
+ jQuery('#b2sChangeCardMeta').val("1");
536
+ }
537
+
538
+ //Copy from further item meta tags by same network
539
+ jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
540
+ if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
541
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
542
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
543
+
544
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
545
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
546
+
547
+ if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
548
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
549
+ } else {
550
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
551
+ }
552
+
553
+ return true;
554
+ }
555
+ });
556
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
557
+
558
+
559
+ } else {
560
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
561
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
562
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
563
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
564
+ }
565
+
566
+ //Change View For Twitter
567
+ //if (postFormat == '0' && networkId == '2') {
568
+ //jQuery('.b2s-image-remove-btn[data-network-id="' + networkId + '"]').hide();
569
+ //jQuery('.b2s-select-image-modal-open[data-network-id="' + networkId + '"]').hide();
570
+ //jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + networkId + '"]').trigger("click");
571
+ //}
572
+ /*if (postFormat == '1' && networkId == '2') {
573
+ jQuery('.b2s-image-remove-btn[data-network-id="' + networkId + '"]').show();
574
+ jQuery('.b2s-select-image-modal-open[data-network-id="' + networkId + '"]').show();
575
+ if (jQuery('#b2s_blog_default_image').val() != "") {
576
+ jQuery('.b2s-post-item-details-url-image[data-network-id="' + networkId + '"]').attr('src', jQuery('#b2s_blog_default_image').val());
577
+ jQuery('.b2s-image-url-hidden-field[data-network-id="' + networkId + '"]').val(jQuery('#b2s_blog_default_image').val());
578
+ }
579
+ }*/
580
+
581
+ jQuery('.b2s-user-network-settings-post-format[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').removeClass('b2s-settings-checked');
582
+ jQuery(this).addClass('b2s-settings-checked');
583
+ jQuery('#b2s-post-ship-item-post-format-modal').modal('hide');
584
+ return false;
585
+ });
586
+
587
+ jQuery(document).on("click", ".b2s-post-ship-item-full-text", function () {
588
+ jQuery('.b2s-server-connection-fail').hide();
589
+ jQuery.ajax({
590
+ url: ajaxurl,
591
+ type: "POST",
592
+ dataType: "json",
593
+ cache: false,
594
+ data: {
595
+ 'action': 'b2s_ship_item_full_text',
596
+ 'postId': jQuery('#b2sPostId').val(),
597
+ 'userLang': jQuery('#b2sUserLang').val(),
598
+ 'networkAuthId': jQuery(this).attr('data-network-auth-id'),
599
+ },
600
+ error: function () {
601
+ jQuery('.b2s-server-connection-fail').show();
602
+ return false;
603
+ },
604
+ success: function (data) {
605
+ if (data.result == true) {
606
+ jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + data.networkAuthId + '"').val(data.text);
607
+ networkCount(data.networkAuthId);
608
+ }
609
+ }
610
+ });
611
+ return false;
612
+ });
613
+
614
+ jQuery(document).on("click", ".b2s-post-ship-item-message-delete", function () {
615
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
616
+ jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"').val("");
617
+
618
+ initSceditor(networkAuthId);
619
+
620
+ networkCount(networkAuthId);
621
+ return false;
622
+ });
623
+
624
+
625
+ jQuery(document).on("click", ".b2s-network-select-btn", function () {
626
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
627
+ var networkId = jQuery(this).attr('data-network-id');
628
+ var networkType = jQuery(this).attr('data-network-type');
629
+ //doppelklick Schutz
630
+ if (!jQuery(this).hasClass('b2s-network-select-btn-deactivate')) {
631
+ //aktiv?
632
+ if (!jQuery(this).children().hasClass('active')) {
633
+ //schon vorhanden?
634
+ if (jQuery('.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]').length > 0 && !jQuery('.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]').hasClass('b2s-post-item-connection-fail-dummy')) {
635
+ activatePortal(networkAuthId);
636
+ //PostFormat
637
+ if (jQuery('.b2s-post-ship-item-post-format-text[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').length > 0) {
638
+ var postFormatText = JSON.parse(jQuery('.b2sNetworkSettingsPostFormatText').val());
639
+ var postFormatType = jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').attr('data-post-format-type');
640
+ if (jQuery('#user_version').val() >= 2) {
641
+ jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + networkAuthId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val()]);
642
+ jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val());
643
+ //if linkpost then show btn meta tags
644
+ var isMetaChecked = false;
645
+ if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
646
+ isMetaChecked = true;
647
+ }
648
+ if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
649
+ isMetaChecked = true;
650
+ }
651
+ if (isMetaChecked && jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val() == "0" && jQuery('#user_version').val() > 0) {
652
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
653
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
654
+
655
+ var dataMetaType = jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').attr("data-meta-type");
656
+ if (dataMetaType == "og") {
657
+ jQuery('#b2sChangeOgMeta').val("1");
658
+ } else {
659
+ jQuery('#b2sChangeCardMeta').val("1");
660
+ }
661
+
662
+ //Copy from further item meta tags by same network
663
+ jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
664
+ if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
665
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
666
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
667
+
668
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
669
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
670
+
671
+ if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
672
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
673
+ } else {
674
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
675
+ }
676
+
677
+ return true;
678
+ }
679
+ });
680
+
681
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
682
+
683
+ } else {
684
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
685
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
686
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
687
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
688
+ }
689
+ } else {
690
+ jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + networkId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val()]);
691
+ jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val());
692
+ }
693
+ }
694
+ } else {
695
+ jQuery(this).addClass('b2s-network-select-btn-deactivate');
696
+ jQuery('.b2s-network-status-img-loading[data-network-auth-id="' + networkAuthId + '"]').show();
697
+ jQuery('.b2s-empty-area').hide();
698
+ loadingDummyShow(networkAuthId, jQuery(this).attr('data-network-id'));
699
+ jQuery('.b2s-server-connection-fail').hide();
700
+ var networkId = jQuery(this).attr('data-network-id');
701
+ jQuery.ajax({
702
+ url: ajaxurl,
703
+ type: "POST",
704
+ dataType: "json",
705
+ //async: false,
706
+ cache: false,
707
+ data: {
708
+ 'action': 'b2s_ship_item',
709
+ 'networkAuthId': networkAuthId,
710
+ 'networkType': jQuery(this).attr('data-network-type'),
711
+ 'networkId': networkId,
712
+ 'networkDisplayName': jQuery(this).attr('data-network-display-name'),
713
+ 'userLang': jQuery('#b2sUserLang').val(),
714
+ 'postId': jQuery('#b2sPostId').val(),
715
+ 'selSchedDate': jQuery('#selSchedDate').val()
716
+ },
717
+ beforeSend: function (jqXHR) { // before jQuery send the request we will push it to our array
718
+ jQuery.xhrPool.push(jqXHR);
719
+ },
720
+ complete: function (jqXHR) { // when some of the requests completed it will splice from the array
721
+ var index = jQuery.xhrPool.indexOf(jqXHR);
722
+ if (index > -1) {
723
+ jQuery.xhrPool.splice(index, 1);
724
+ }
725
+ },
726
+ error: function (jqXHR) {
727
+ var index = jQuery.xhrPool.indexOf(jqXHR);
728
+ if (index > -1) {
729
+ jQuery.xhrPool.splice(index, 1);
730
+ }
731
+ loadingDummyConnectionFail(networkAuthId, networkId);
732
+ jQuery('.b2s-network-status-img-loading[data-network-auth-id="' + networkAuthId + '"]').hide();
733
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').removeClass('b2s-network-select-btn-deactivate');
734
+ jQuery('.b2s-server-connection-fail').show();
735
+ return true;
736
+ },
737
+ success: function (data) {
738
+ if (data != undefined) {
739
+ jQuery('.b2s-network-status-img-loading[data-network-auth-id="' + data.networkAuthId + '"]').hide();
740
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + data.networkAuthId + '"]').removeClass('b2s-network-select-btn-deactivate');
741
+
742
+ if (data.result == true) {
743
+ jQuery('.b2s-post-item-loading-dummy[data-network-auth-id="' + data.networkAuthId + '"]').remove();
744
+ var order = jQuery.parseJSON(jQuery('.b2s-network-navbar-order').val());
745
+ var pos = order.indexOf(data.networkAuthId.toString());
746
+ var add = false;
747
+ for (var i = pos; i >= 0; i--) {
748
+ if (jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').length > 0) {
749
+ jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').after(data.content);
750
+ i = -1;
751
+ add = true;
752
+ }
753
+ }
754
+ if (add == false) {
755
+ jQuery('.b2s-post-list').prepend(data.content);
756
+ }
757
+
758
+ activatePortal(data.networkAuthId);
759
+
760
+ var dateFormat = "yyyy-mm-dd";
761
+ var language = "en";
762
+ var showMeridian = true;
763
+ if (jQuery('#b2sUserLang').val() == "de") {
764
+ dateFormat = "dd.mm.yyyy";
765
+ language = "de";
766
+ showMeridian = false;
767
+ }
768
+ var today = new Date();
769
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
770
+ today.setTime(jQuery('#b2sBlogPostSchedDate').val());
771
+ }
772
+
773
+ jQuery(".b2s-post-item-details-release-input-date").datepicker({
774
+ format: dateFormat,
775
+ language: language,
776
+ maxViewMode: 2,
777
+ todayHighlight: true,
778
+ startDate: today,
779
+ calendarWeeks: true,
780
+ autoclose: true
781
+ });
782
+ jQuery('.b2s-post-item-details-release-input-time').timepicker({
783
+ minuteStep: 15,
784
+ appendWidgetTo: 'body',
785
+ showSeconds: false,
786
+ showMeridian: showMeridian,
787
+ defaultTime: 'current',
788
+ snapToStep: true
789
+ });
790
+
791
+
792
+ jQuery(".b2s-post-item-details-release-input-date").datepicker().on('changeDate', function (e) {
793
+ checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
794
+ });
795
+ jQuery('.b2s-post-item-details-release-input-time').timepicker().on('changeTime.timepicker', function (e) {
796
+ checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
797
+
798
+ });
799
+
800
+ /*jQuery(".b2s-post-item-details-release-input-date").datepicker().on('changeDate', function (e) {
801
+ var element = '.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]';
802
+ var dateStr = jQuery(this).val();
803
+ var minStr = jQuery(element).val();
804
+ if (jQuery('#b2sUserLang').val() == 'de') {
805
+ dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
806
+ } else {
807
+ var minParts = minStr.split(' ');
808
+ var minParts2 = minParts[0].split(':');
809
+ if (minParts[1] == 'PM') {
810
+ minParts2[0] = parseInt(minParts2[0]) + 12;
811
+ }
812
+ minStr = minParts2[0] + ':' + minParts2[1];
813
+ }
814
+ var dateObj = new Date();
815
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
816
+ dateObj.setTime(jQuery('#b2sBlogPostSchedDate').val());
817
+ }
818
+
819
+ if (Date.parse(dateStr + ' ' + minStr + ':00') <= Date.parse(dateObj.getUTCFullYear() + '-' + (dateObj.getUTCMonth() + 1) + '-' + dateObj.getUTCDate() + ' ' + dateObj.getUTCHours() + ':' + dateObj.getUTCMinutes() + ':00')) {
820
+ //date in past
821
+ if (dateObj.getUTCMinutes() >= 30) {
822
+ jQuery(element).timepicker('setTime', (dateObj.getUTCHours() + 1) + ':00');
823
+ } else {
824
+ jQuery(element).timepicker('setTime', (dateObj.getUTCHours()) + ':30');
825
+ }
826
+ }
827
+ });
828
+
829
+ jQuery('.b2s-post-item-details-release-input-time').timepicker().on('changeTime.timepicker', function (e) {
830
+ var dataNetworkAuthId = jQuery(this).attr('data-network-auth-id');
831
+ if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + dataNetworkAuthId + '"]').val() == "1") {
832
+ var dateStr = jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
833
+ var minStr = jQuery(this).val();
834
+ var timeZone = jQuery('#user_timezone').val();
835
+ if (jQuery('#b2sUserLang').val() == 'de') {
836
+ dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
837
+ } else {
838
+ var minParts = minStr.split(' ');
839
+ var minParts2 = minParts[0].split(':');
840
+ if (minParts[1] == 'PM') {
841
+ minParts2[0] = parseInt(minParts2[0]) + 12;
842
+ }
843
+ minStr = minParts2[0] + ':' + minParts2[1];
844
+ }
845
+ var dateObj = new Date();
846
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
847
+ dateObj.setTime(jQuery('#b2sBlogPostSchedDate').val());
848
+ }
849
+
850
+ if (Date.parse(dateStr + ' ' + minStr + ':00') <= Date.parse(dateObj.getUTCFullYear() + '-' + (dateObj.getUTCMonth() + 1) + '-' + dateObj.getUTCDate() + ' ' + dateObj.getUTCHours() + ':' + dateObj.getUTCMinutes() + ':00')) {
851
+ //date in past
852
+ if (dateObj.getUTCMinutes() >= 30) {
853
+ jQuery(this).timepicker('setTime', (dateObj.getUTCHours() + 1) + ':00');
854
+ } else {
855
+ jQuery(this).timepicker('setTime', (dateObj.getUTCHours()) + ':30');
856
+ }
857
+ }
858
+ }
859
+ });*/
860
+
861
+ //Check Text Limit
862
+ var textLimit = jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + data.networkAuthId + '"]').attr('data-network-text-limit');
863
+ if (textLimit != "0") {
864
+ networkLimitAll(data.networkAuthId, data.networkId, textLimit);
865
+ } else {
866
+ networkCount(data.networkAuthId);
867
+ }
868
+ jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + data.networkAuthId + '"]').trigger("change");
869
+ initSceditor(data.networkAuthId);
870
+ //Bild setzen
871
+ if (jQuery('#b2s_blog_default_image').val() != "") {
872
+ if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').length > 0) {
873
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('#b2s_blog_default_image').val());
874
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
875
+ }
876
+ jQuery('.b2s-image-url-hidden-field').val(jQuery('#b2s_blog_default_image').val());
877
+ }
878
+
879
+ //Time zone
880
+ jQuery('.b2s-settings-time-zone-text').html(jQuery('#user_timezone_text').val());
881
+
882
+ //PostFormat
883
+ if (jQuery('.b2s-post-ship-item-post-format-text[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').length > 0) {
884
+ var postFormatText = JSON.parse(jQuery('.b2sNetworkSettingsPostFormatText').val());
885
+ var postFormatType = jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').attr('data-post-format-type');
886
+ if (jQuery('#user_version').val() >= 2) {
887
+
888
+ jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + data.networkAuthId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val()]);
889
+ jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val());
890
+
891
+ var isMetaChecked = false;
892
+ if (data.networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
893
+ isMetaChecked = true;
894
+ }
895
+ if (data.networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
896
+ isMetaChecked = true;
897
+ }
898
+
899
+ if (isMetaChecked && jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val() == "0") {
900
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", false);
901
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", false);
902
+ var dataMetaType = jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').attr("data-meta-type");
903
+ if (dataMetaType == "og") {
904
+ jQuery('#b2sChangeOgMeta').val("1");
905
+ } else {
906
+ jQuery('#b2sChangeCardMeta').val("1");
907
+ }
908
+
909
+ //Copy from further item meta tags by same network
910
+ jQuery('.b2s-post-item-details-post-format[data-network-id=' + data.networkId + ']').each(function () {
911
+ if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != data.networkAuthId) { //other Linkpost by same network
912
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
913
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
914
+
915
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
916
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
917
+
918
+ if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
919
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
920
+ } else {
921
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').hide();
922
+ }
923
+
924
+ return true;
925
+ }
926
+ });
927
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
928
+
929
+ } else {
930
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
931
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
932
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
933
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
934
+ }
935
+
936
+ } else {
937
+ jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + data.networkId + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val()]);
938
+ jQuery('.b2s-post-item-details-post-format[data-network-id="' + data.networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + data.networkType + '"][data-network-id="' + data.networkId + '"]').val());
939
+ }
940
+ }
941
+ }
942
+ }
943
+ }
944
+ });
945
+ }
946
+ } else {
947
+ deactivatePortal(networkAuthId);
948
+ }
949
+ }
950
+ return false;
951
+ });
952
+
953
+ jQuery(document).on('click', '.b2s-post-item-details-url-image', function () {
954
+ var networkAuthId = jQuery(this).attr("data-network-auth-id");
955
+ if (jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').is(":visible")) {
956
+
957
+ var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
958
+ var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr("data-network-id");
959
+
960
+ var isMetaChecked = false;
961
+ if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
962
+ isMetaChecked = true;
963
+ }
964
+ if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
965
+ isMetaChecked = true;
966
+ }
967
+
968
+ if (postFormat == "0" && (networkId == "1" || networkId == "2")) { //isLinkPost for Faceboo or Twitter
969
+ jQuery('.meta-text').hide();
970
+ if (!isMetaChecked) {
971
+ if (networkId == "1") {
972
+ jQuery('.isOgMetaChecked').show();
973
+ } else {
974
+ jQuery('.isCardMetaChecked').show();
975
+ }
976
+ jQuery('#b2s-info-change-meta-tag-modal').modal('show');
977
+ return false;
978
+ }
979
+ }
980
+
981
+ jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').trigger('click');
982
+ }
983
+ return false;
984
+ });
985
+
986
+ jQuery(document).on('click', '.b2s-submit-btn-scroll', function () {
987
+ jQuery('.b2s-submit-btn').trigger('click');
988
+ });
989
+
990
+ jQuery(document).on('click', '.b2s-post-ship-item-post-format', function () {
991
+ if (jQuery('#user_version').val() >= 1) {
992
+ jQuery('.b2s-user-network-settings-post-format-area').hide();
993
+ jQuery('.b2s-user-network-settings-post-format-area[data-network-type="' + jQuery(this).attr('data-network-type') + '"][data-network-id="' + jQuery(this).attr('data-network-id') + '"]').show();
994
+ jQuery('#b2s-post-ship-item-post-format-network-title').html(jQuery('.b2s-user-network-settings-post-format-area[data-network-id="' + jQuery(this).attr('data-network-id') + '"]').attr('data-network-title'));
995
+ if (jQuery('#user_version').val() >= 2) {
996
+ jQuery('.b2s-user-network-settings-post-format[data-network-type="' + jQuery(this).attr('data-network-type') + '"][data-network-id="' + jQuery(this).attr('data-network-id') + '"]').removeClass('b2s-settings-checked');
997
+ var currentPostFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
998
+ jQuery('.b2s-user-network-settings-post-format[data-network-type="' + jQuery(this).attr('data-network-type') + '"][data-network-id="' + jQuery(this).attr('data-network-id') + '"][data-post-format="' + currentPostFormat + '"]').addClass('b2s-settings-checked');
999
+
1000
+ jQuery('#b2s-post-ship-item-post-format-network-display-name').html(jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').text().toUpperCase());
1001
+ }
1002
+ jQuery('.b2s-post-format-settings-info').hide();
1003
+ jQuery('.b2s-post-format-settings-info[data-network-id="' + jQuery(this).attr('data-network-id') + '"]').show();
1004
+ jQuery('#b2s-post-ship-item-post-format-modal').modal('show');
1005
+ jQuery('.b2s-user-network-settings-post-format').attr('data-network-auth-id', jQuery(this).attr('data-network-auth-id'));
1006
+ } else {
1007
+ jQuery('#b2sInfoFormatModal').modal('show');
1008
+ }
1009
+ return false;
1010
+ });
1011
+
1012
+ jQuery(document).on('click', '.b2s-btn-trigger-post-ship-item-post-format', function () {
1013
+ jQuery('.b2s-post-ship-item-post-format[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').trigger('click');
1014
+ return false;
1015
+ });
1016
+
1017
+ jQuery(document).on('click', '.b2s-post-item-details-release-input-days', function () {
1018
+ jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('error');
1019
+ });
1020
+
1021
+ jQuery(document).on('change', '.b2s-post-item-details-release-input-time', function () {
1022
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('error');
1023
+ });
1024
+
1025
+ jQuery(document).on('change', '.b2s-post-item-details-release-input-date', function () {
1026
+ jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('error');
1027
+ });
1028
+ jQuery('.b2s-network-details-mandant-select').change(function () {
1029
+ hideDuplicateAuths();
1030
+ chooseMandant();
1031
+ });
1032
+
1033
+ jQuery(document).on('change', '.b2s-post-item-details-item-group-select', function () {
1034
+ if (jQuery(this).attr('data-change-network-display-name') == 'true') {
1035
+ var label = jQuery(this.options[this.selectedIndex]).closest('optgroup').prop('label');
1036
+ jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').html(label);
1037
+ }
1038
+ return false;
1039
+ });
1040
+
1041
+
1042
+ //select recurrent sched interval mode
1043
+ jQuery(document).on('change', '.b2s-post-item-details-release-input-interval-select', function () {
1044
+ var interval = jQuery(this).val();
1045
+ var selectorInput = '[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]';
1046
+ var dataCount = jQuery(this).attr('data-network-count');
1047
+ releaseChooseInterval(interval, selectorInput, dataCount);
1048
+ return false;
1049
+ });
1050
+
1051
+
1052
+ //select shipping mode
1053
+ jQuery(document).on('change', '.b2s-post-item-details-release-input-date-select', function () {
1054
+ var dataNetworkCount = 0;
1055
+ if (jQuery(this).val() == 2) {
1056
+ if (jQuery(this).attr('data-user-version') == 0) {
1057
+ jQuery('#b2s-sched-post-modal').modal('show');
1058
+ return false;
1059
+ } else {
1060
+ for (var i = 1; i <= 2; i++) {
1061
+ jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="' + i + '"]').each(function () {
1062
+ if (jQuery(this).prop('checked')) {
1063
+ dataNetworkCount = 1;
1064
+ }
1065
+ });
1066
+ }
1067
+ if (dataNetworkCount == 2) {
1068
+ jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
1069
+ jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"]').hide();
1070
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"').hide();
1071
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="2"').show();
1072
+ } else if (dataNetworkCount == 1) {
1073
+ jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
1074
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"').show();
1075
+ }
1076
+ }
1077
+ }
1078
+ if (jQuery(this).val() == 1) {
1079
+ if (jQuery(this).attr('data-user-version') == 0) {
1080
+ jQuery('#b2s-sched-post-modal').modal('show');
1081
+ return false;
1082
+ } else {
1083
+ checkSchedDateTime(jQuery(this).attr('data-network-auth-id'));
1084
+
1085
+ if (dataNetworkCount == 2) {
1086
+ jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
1087
+ jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"]').hide();
1088
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"').hide();
1089
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="2"').show();
1090
+ } else if (dataNetworkCount == 1) {
1091
+ jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="0"]').hide();
1092
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"][data-network-count="1"').show();
1093
+ }
1094
+
1095
+
1096
+ //Überprüfen ob Zeit in der Vergangenheit
1097
+ /*var dateStr = jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
1098
+ var minStr = jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val();
1099
+ if (dateStr !== undefined && minStr !== undefined) {
1100
+ if (jQuery('#b2sUserLang').val() == 'de') {
1101
+ dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
1102
+ } else {
1103
+ var minParts = minStr.split(' ');
1104
+ var minParts2 = minParts[0].split(':');
1105
+ if (minParts[1] == 'PM') {
1106
+ minParts2[0] = parseInt(minParts2[0]) + 12;
1107
+ }
1108
+ minStr = minParts2[0] + ':' + minParts2[1];
1109
+ }
1110
+ var dateObj = new Date();
1111
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
1112
+ dateObj.setTime(jQuery('#b2sBlogPostSchedDate').val());
1113
+ }
1114
+ if (Date.parse(dateStr + ' ' + minStr + ':00') <= Date.parse(dateObj.getUTCFullYear() + '-' + (dateObj.getUTCMonth() + 1) + '-' + dateObj.getUTCDate() + ' ' + dateObj.getUTCHours() + ':' + dateObj.getUTCMinutes() + ':00')) {
1115
+ //date in past
1116
+ if (dateObj.getUTCMinutes() >= 30) {
1117
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').timepicker('setTime', (dateObj.getUTCHours() + 1) + ':00');
1118
+ } else {
1119
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').timepicker('setTime', (dateObj.getUTCHours()) + ':30');
1120
+ }
1121
+ }
1122
+ }*/
1123
+ }
1124
+ }
1125
+ releaseChoose(jQuery(this).val(), jQuery(this).attr('data-network-auth-id'), dataNetworkCount);
1126
+ });
1127
+
1128
+
1129
+ jQuery(document).on('click', '#b2s-network-sched-post-info-ignore', function () {
1130
+ jQuery('#b2sSchedPostInfoIgnore').val("1");
1131
+ jQuery('.b2s-submit-btn').trigger("click");
1132
+ return false;
1133
+ });
1134
+
1135
+
1136
+ jQuery(document).on('click', '.b2s-re-share-btn', function () {
1137
+ jQuery(".b2s-settings-user-sched-time-area").show();
1138
+ jQuery('#b2s-sidebar-wrapper').show();
1139
+ jQuery('.b2s-post-item-info-area').show();
1140
+ jQuery('.b2s-post-item-details-message-info').show();
1141
+ jQuery('.b2s-post-item-details-edit-area').show();
1142
+ jQuery('.b2s-post-item-details-message-result').hide();
1143
+ jQuery('.b2s-post-item-details-message-result').html("");
1144
+ jQuery(".b2s-post-area").show();
1145
+ jQuery('.b2s-publish-area').show();
1146
+ jQuery('.b2s-footer-menu').show();
1147
+ window.scrollTo(0, 0);
1148
+ jQuery('.b2s-reporting-btn-area').hide();
1149
+ jQuery('#b2sSchedPostInfoIgnore').val("0");
1150
+
1151
+ //Calendar close for resfresh
1152
+ jQuery('.b2s-toogle-calendar-btn').each(function () {
1153
+ if (!jQuery(this).hasClass('hide')) {
1154
+ var toogleBtnText = jQuery(this).attr('data-toogle-text-btn');
1155
+ var currentBtnText = jQuery(this).text();
1156
+ jQuery(this).text(toogleBtnText);
1157
+ jQuery(this).attr('data-toogle-text-btn', currentBtnText);
1158
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
1159
+ var calendar = jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + networkAuthId + '"]');
1160
+ calendar.removeClass('show');
1161
+ calendar.addClass('hide');
1162
+ jQuery('.b2s-calendar-filter-area[data-network-auth-id="' + networkAuthId + '"]').addClass('hide');
1163
+
1164
+ }
1165
+ });
1166
+
1167
+
1168
+ return false;
1169
+ });
1170
+
1171
+
1172
+ jQuery(document).on('click', '.b2s-post-item-details-release-input-add', function () {
1173
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
1174
+ var netCount = jQuery(this).attr('data-network-count');
1175
+ var netCountNext = parseInt(netCount) + 1;
1176
+ var curMode = jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"]').val();
1177
+ jQuery(this).hide();
1178
+
1179
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCount + '"]').hide();
1180
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1181
+ jQuery('.b2s-post-item-details-releas-area-details-row[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1182
+ jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1183
+ jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1184
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1185
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1186
+
1187
+ //recurrently
1188
+ if (curMode == 2) {
1189
+ jQuery('.b2s-post-item-details-release-input-interval-select[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1190
+ jQuery('.b2s-post-item-details-release-input-interval-select[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1191
+ jQuery('.b2s-post-item-details-release-area-label-duration[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1192
+ jQuery('.b2s-post-item-details-release-area-div-duration[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1193
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1194
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1195
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').val('1');
1196
+
1197
+ jQuery('.b2s-post-item-details-release-area-label-day[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').show();
1198
+ jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountNext + '"]').removeAttr('disabled');
1199
+ }
1200
+
1201
+ return false;
1202
+ });
1203
+
1204
+ jQuery(document).on('click', '.b2s-post-item-details-release-input-hide', function () {
1205
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
1206
+ var netCount = jQuery(this).attr('data-network-count');
1207
+ var netCountBevor = parseInt(netCount) - 1;
1208
+ var selectorInput = '[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCount + '"]'
1209
+ jQuery('.b2s-post-item-details-releas-area-details-row' + selectorInput).hide();
1210
+ jQuery('.b2s-post-item-details-release-input-hide[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountBevor + '"]').show();
1211
+ jQuery('.b2s-post-item-details-release-input-add[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + netCountBevor + '"]').show();
1212
+
1213
+ //clean all fields
1214
+ jQuery('.b2s-post-item-details-release-input-date' + selectorInput).prop('disabled', true);
1215
+ jQuery('.b2s-post-item-details-release-input-time' + selectorInput).prop('disabled', true);
1216
+ jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).val('');
1217
+ jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).prop('disabled', true);
1218
+ jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('checked', false);
1219
+ jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled', true);
1220
+
1221
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).prop('disabled', true);
1222
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).val("0");
1223
+ jQuery('.b2s-post-item-details-release-area-label-duration-month' + selectorInput).hide();
1224
+ jQuery('.b2s-post-item-details-release-area-div-duration-month' + selectorInput).hide();
1225
+ jQuery('.b2s-post-item-details-release-input-months' + selectorInput).prop('disabled', true);
1226
+ jQuery('.b2s-post-item-details-release-input-months' + selectorInput).val("1");
1227
+ jQuery('.b2s-post-item-details-release-area-label-select-day' + selectorInput).hide();
1228
+ jQuery('.b2s-post-item-details-release-input-select-day' + selectorInput).prop('disabled', true);
1229
+ jQuery('.b2s-post-item-details-release-input-select-day' + selectorInput).val("1");
1230
+ jQuery('.b2s-post-item-details-release-area-label-duration-time' + selectorInput).hide();
1231
+ jQuery('.b2s-post-item-details-release-area-div-duration-time' + selectorInput).hide();
1232
+ jQuery('.b2s-post-item-details-release-input-times' + selectorInput).prop('disabled', true);
1233
+ jQuery('.b2s-post-item-details-release-input-times' + selectorInput).val("1");
1234
+ jQuery('.b2s-post-item-details-release-area-label-select-timespan' + selectorInput).hide();
1235
+ jQuery('.b2s-post-item-details-release-input-select-timespan' + selectorInput).prop('disabled', true);
1236
+ jQuery('.b2s-post-item-details-release-input-select-timespan' + selectorInput).val("1");
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+ return false;
1244
+ });
1245
+
1246
+ jQuery(document).on("keyup", ".complete_network_url", function () {
1247
+ var url = jQuery(this).val();
1248
+ jQuery(this).removeClass("error");
1249
+ if (url.length != "0") {
1250
+ if (url.indexOf("http://") == -1 && url.indexOf("https://") == -1) {
1251
+ url = "http://" + url;
1252
+ jQuery(this).val(url);
1253
+ }
1254
+ } else if (jQuery(this).hasClass("required_network_url")) {
1255
+ url = jQuery("#b2sDefault_url").val();
1256
+ jQuery(this).val(url);
1257
+ }
1258
+ });
1259
+
1260
+ jQuery(document).on('click', '.scroll-to-top', function () {
1261
+ window.scrollTo(0, 0);
1262
+ return false;
1263
+ });
1264
+
1265
+ jQuery(document).on('click', '.scroll-to-bottom', function () {
1266
+ window.scrollTo(0, document.body.scrollHeight);
1267
+ return false;
1268
+ });
1269
+
1270
+ jQuery(document).on('click', '.b2s-post-item-details-preview-url-reload', function () {
1271
+ var re = new RegExp(/^(https?:\/\/)?[a-zA-Z0-99ÄÖÜöäü-]+([\-\.]{1}[a-zA-Z0-99ÄÖÜöäü-]+)*\.[a-zA-Z0-9-]{2,20}(:[0-9]{1,5})?(\/.*)?$/);
1272
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
1273
+ var url = jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').val();
1274
+ if (re.test(url)) {
1275
+ jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1276
+ jQuery(this).addClass('glyphicon-refresh-animate');
1277
+ jQuery('.b2s-server-connection-fail').hide();
1278
+ jQuery.ajax({
1279
+ url: ajaxurl,
1280
+ type: "POST",
1281
+ dataType: "json",
1282
+ cache: false,
1283
+ data: {
1284
+ 'action': 'b2s_ship_item_reload_url',
1285
+ 'networkId': jQuery(this).attr('data-network-id'),
1286
+ 'networkAuthId': networkAuthId,
1287
+ 'postId': jQuery('#b2sPostId').val(),
1288
+ 'defaultUrl': jQuery('#b2sDefault_url').val(),
1289
+ 'url': url
1290
+ },
1291
+ error: function () {
1292
+ jQuery('.b2s-server-connection-fail').show();
1293
+ return false;
1294
+ },
1295
+ success: function (data) {
1296
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + data.networkAuthId + '"]').removeClass('glyphicon-refresh-animate');
1297
+ if (data.result == true) {
1298
+ if (data.networkId == 1 || data.networkId == 2) {
1299
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').val(data.title);
1300
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').val(data.description);
1301
+ } else {
1302
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').html(data.title);
1303
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').html(data.description);
1304
+ }
1305
+
1306
+ if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('data-network-image-change') == '0') {
1307
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', data.image);
1308
+ }
1309
+
1310
+ if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('data-network-image-change') == '1') {
1311
+ if (data.image != "") {
1312
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', data.image);
1313
+ } else {
1314
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('#b2sDefaultNoImage').val());
1315
+ }
1316
+ }
1317
+ }
1318
+ }
1319
+
1320
+ });
1321
+ } else {
1322
+ jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').addClass('error');
1323
+ }
1324
+ });
1325
+
1326
+ jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
1327
+ var metaType = jQuery(this).attr('data-meta-type');
1328
+ var authId = jQuery(this).attr('data-network-auth-id');
1329
+
1330
+
1331
+ var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + authId + ']').val();
1332
+ var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + authId + ']').attr("data-network-id");
1333
+
1334
+ var isMetaChecked = false;
1335
+ if (networkId == "1" && jQuery('#isOgMetaChecked').val() == "1") {
1336
+ isMetaChecked = true;
1337
+ }
1338
+ if (networkId == "2" && jQuery('#isCardMetaChecked').val() == "1") {
1339
+ isMetaChecked = true;
1340
+ }
1341
+
1342
+ if (postFormat == "0" && (networkId == "1" || networkId == "2")) { //isLinkPost for Facebook or Twitter
1343
+ jQuery('.meta-text').hide();
1344
+ if (!isMetaChecked) {
1345
+ if (networkId == "1") {
1346
+ jQuery('.isOgMetaChecked').show();
1347
+ } else {
1348
+ jQuery('.isCardMetaChecked').show();
1349
+ }
1350
+ jQuery('#b2s-info-change-meta-tag-modal').modal('show');
1351
+ return false;
1352
+ }
1353
+ }
1354
+
1355
+ jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', authId);
1356
+ jQuery('.b2s-upload-image').attr('data-network-auth-id', authId);
1357
+ var content = "<img class='b2s-post-item-network-image-selected-account' height='22px' src='" + jQuery('.b2s-post-item-network-image[data-network-auth-id="' + authId + '"]').attr('src') + "' /> " + jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + authId + '"]').html();
1358
+ jQuery('.b2s-selected-network-for-image-info').html(content);
1359
+ jQuery('#b2sInsertImageType').val("0");
1360
+
1361
+ if (typeof metaType !== 'undefined') {
1362
+ jQuery('.b2s-image-change-this-network').attr('data-meta-type', metaType);
1363
+ } else {
1364
+ jQuery('.b2s-image-change-this-network').attr('data-meta-type', "");
1365
+ }
1366
+
1367
+ jQuery('#b2s-network-select-image').modal('show');
1368
+ imageSize();
1369
+ return false;
1370
+ });
1371
+
1372
+ jQuery(document).on('click', '.b2s-image-remove-btn', function () {
1373
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
1374
+ var defaultImage = jQuery('#b2sDefaultNoImage').val();
1375
+
1376
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', defaultImage);
1377
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val("");
1378
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
1379
+
1380
+ //add check linkpost change meta tag image for this network
1381
+ var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
1382
+ var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
1383
+ if (typeof postFormat !== typeof undefined && postFormat !== false) {
1384
+ if (postFormat == "0") { //if linkpost
1385
+ jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
1386
+ if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
1387
+ //override this image with current image
1388
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src', defaultImage);
1389
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val("");
1390
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').hide();
1391
+ }
1392
+ })
1393
+ }
1394
+ }
1395
+
1396
+ return false;
1397
+ });
1398
+
1399
+ jQuery(document).on('click', '.b2s-image-change-this-network', function () {
1400
+ var networkAuthId = jQuery(this).attr('data-network-auth-id');
1401
+ var currentImage = jQuery('input[name=image_url]:checked').val();
1402
+ if (jQuery('#b2sInsertImageType').val() == '1') { //HTML-Network
1403
+ var sceditor = jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor('instance');
1404
+ sceditor.insert("<br /><img src='" + currentImage + "'/><br />");
1405
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(currentImage); //Torial
1406
+
1407
+ } else {
1408
+
1409
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').attr('src', currentImage);
1410
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + networkAuthId + '"]').removeClass('b2s-img-required');
1411
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val(currentImage);
1412
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
1413
+
1414
+ if (jQuery(this).attr('data-meta-type') == "og") {
1415
+ jQuery('#b2sChangeOgMeta').val("1");
1416
+ }
1417
+ if (jQuery(this).attr('data-meta-type') == "card") {
1418
+ jQuery('#b2sChangeCardMeta').val("1");
1419
+ }
1420
+
1421
+ //add check linkpost change meta tag image for this network
1422
+ var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
1423
+ var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
1424
+ if (typeof postFormat !== typeof undefined && postFormat !== false) {
1425
+ if (postFormat == "0") { //if linkpost
1426
+ jQuery('.b2s-post-item-details-post-format[data-network-id=' + networkId + ']').each(function () {
1427
+ if (jQuery(this).val() == "0" && jQuery('.b2s-post-ship-item-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').is(":visible") && jQuery(this).attr('data-network-auth-id') != networkAuthId) { //other Linkpost by same network
1428
+ //override this image with current image
1429
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src', currentImage);
1430
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').removeClass('b2s-img-required');
1431
+ jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val(currentImage);
1432
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').show();
1433
+ }
1434
+ });
1435
+ }
1436
+ }
1437
+ }
1438
+ jQuery('.b2s-upload-image-invalid-extension').hide();
1439
+ jQuery('.b2s-upload-image-no-permission').hide();
1440
+ jQuery('.b2s-upload-image-free-version-info').hide();
1441
+ jQuery('#b2s-network-select-image').modal('hide');
1442
+ return false;
1443
+ });
1444
+
1445
+ jQuery(document).on('click', '.b2s-image-change-all-network', function () {
1446
+ jQuery('.b2s-post-item-details-item-message-input-allow-html').each(function () {
1447
+ var sce = jQuery(this).sceditor('instance');
1448
+ if (typeof sce !== 'undefined' && typeof sce.insert !== 'undefined') {
1449
+ if (sce.getBody().find(".b2s-post-item-details-image-html-src").length > 0) {
1450
+ sce.getBody().find(".b2s-post-item-details-image-html-src").attr('src', jQuery('input[name=image_url]:checked').val());
1451
+ } else {
1452
+ sce.insert("<br /><img class='b2s-post-item-details-image-html-src' src='" + jQuery('input[name=image_url]:checked').val() + "'/><br />");
1453
+ }
1454
+ }
1455
+ });
1456
+ jQuery('.b2s-post-item-details-url-image[data-network-image-change="1"]').attr('src', jQuery('input[name=image_url]:checked').val());
1457
+ jQuery('#b2s_blog_default_image').val(jQuery('input[name=image_url]:checked').val());
1458
+ jQuery('.b2s-post-item-details-url-image').removeClass('b2s-img-required');
1459
+ jQuery('.b2s-image-url-hidden-field').val(jQuery('input[name=image_url]:checked').val());
1460
+ jQuery('.b2s-image-remove-btn').show();
1461
+ jQuery('.b2s-upload-image-invalid-extension').hide();
1462
+ jQuery('.b2s-upload-image-no-permission').hide();
1463
+ jQuery('.b2s-upload-image-free-version-info').hide();
1464
+
1465
+ jQuery('.b2sChangeOgMeta').val("1");
1466
+ jQuery('.b2sChangeCardMeta').val("1");
1467
+
1468
+ jQuery('#b2s-network-select-image').modal('hide');
1469
+ return false;
1470
+ });
1471
+
1472
+ jQuery(document).on('click', '.b2s-upload-image', function () {
1473
+ if (typeof wp !== 'undefined' && wp.media && wp.media.editor) {
1474
+ jQuery('#b2s-network-select-image').modal('hide');
1475
+
1476
+ wpMedia = wp.media({
1477
+ title: jQuery('#b2s_wp_media_headline').val(),
1478
+ button: {
1479
+ text: jQuery('#b2s_wp_media_btn').val(),
1480
+ },
1481
+ multiple: false,
1482
+ library: {type: 'image'}
1483
+ });
1484
+ wpMedia.open();
1485
+
1486
+ wpMedia.on('select', function () {
1487
+ var validExtensions = ['jpg', 'jpeg', 'png'];
1488
+ var attachment = wpMedia.state().get('selection').first().toJSON();
1489
+ var attachmenUrl = attachment.url;
1490
+ var attachmenUrlExt = attachmenUrl.substr(attachmenUrl.lastIndexOf('.') + 1);
1491
+ attachmenUrlExt = attachmenUrlExt.toLowerCase();
1492
+ if (jQuery.inArray(attachmenUrlExt, validExtensions) == -1) {
1493
+ jQuery('#b2s-network-select-image').modal('show');
1494
+ jQuery('.b2s-upload-image-invalid-extension').show();
1495
+ jQuery('#b2s-upload-image-invalid-extension-file-name').html('<span class="glyphicon glyphicon-ban-circle"></span> ' + attachment.name + '.' + attachmenUrlExt + '<br>');
1496
+ jQuery('.b2s-choose-image-no-image-info-text').hide();
1497
+ jQuery('.b2s-choose-image-no-image-extra-btn').hide();
1498
+ return false;
1499
+ }
1500
+ var count = parseInt(jQuery('.b2s-choose-image-count').val());
1501
+ count = count + 1;
1502
+ jQuery('.b2s-choose-image-count').val(count);
1503
+ var content = '<div class="b2s-image-item">' +
1504
+ '<div class="b2s-image-item-thumb">' +
1505
+ '<label for="b2s-image-count-' + count + '">' +
1506
+ '<img class="img-thumbnail networkImage" alt="blogImage" src="' + attachment.url + '">' +
1507
+ '</label>' +
1508
+ '</div>' +
1509
+ '<div class="b2s-image-item-caption text-center">' +
1510
+ '<div class="b2s-image-item-caption-resolution clearfix small"></div>' +
1511
+ '<input type="radio" value="' + attachment.url + '" class="checkNetworkImage" name="image_url" id="b2s-image-count-' + count + '">' +
1512
+ '</div>' +
1513
+ '</div>';
1514
+
1515
+ jQuery('.b2s-image-choose-area').html(jQuery('.b2s-image-choose-area').html() + content);
1516
+
1517
+ jQuery('.b2s-image-change-btn-area').show();
1518
+ jQuery('.b2s-choose-image-no-image-info-text').hide();
1519
+ jQuery('.b2s-choose-image-no-image-extra-btn').hide();
1520
+ jQuery('.b2s-upload-image-invalid-extension').hide();
1521
+ jQuery('input[name=image_url]:last').prop("checked", true);
1522
+ jQuery('#b2s-network-select-image').modal('show');
1523
+ imageSize();
1524
+
1525
+ });
1526
+ } else {
1527
+ jQuery('.b2s-upload-image-no-permission').show();
1528
+ }
1529
+ return false;
1530
+ });
1531
+
1532
+ jQuery(document).on('click', '.b2s-upload-image-free-version', function () {
1533
+ jQuery('.b2s-upload-image-free-version-info').show();
1534
+ });
1535
+
1536
+
1537
+ jQuery("#b2sNetworkSent").keypress(function (e) {
1538
+ if (e.keyCode == 13 && e.target.tagName == "INPUT")
1539
+ return false;
1540
+ });
1541
+
1542
+ jQuery.validator.addMethod("checkUrl", function (value, element, regexp) {
1543
+ var re = new RegExp(regexp);
1544
+ return this.optional(element) || re.test(value);
1545
+ }, "Invalid Url");
1546
+
1547
+ jQuery.validator.addClassRules("b2s-post-item-details-item-url-input", {
1548
+ checkUrl: /^(https?:\/\/)?[a-zA-Z0-99ÄÖÜöäü-]+([\-\.]{1}[a-zA-Z0-99ÄÖÜöäü-]+)*\.[a-zA-Z0-9-]{2,20}(:[0-9]{1,5})?(\/.*)?$/
1549
+ });
1550
+
1551
+ jQuery.validator.addMethod("checkTags", function (value, element, test) {
1552
+ var allowed_tags = ['p', 'h1', 'h2', 'br', 'i', 'b', 'a', 'img'];
1553
+
1554
+ var tags = value.match(/(<([^>]+)>)/ig);
1555
+ if (tags !== null && tags.length > 0) {
1556
+ if (jQuery(element).hasClass('b2s-post-item-details-item-message-input-allow-html')) {
1557
+ for (var i = 0; i < tags.length; i++) {
1558
+ var allowed_count = 0;
1559
+ for (var e = 0; e < allowed_tags.length; e++) {
1560
+ var regex = new RegExp("<\s*(\/)?" + allowed_tags[e] + "(( [^>]*>)|[>])");
1561
+ if (tags[i].match(regex) != null) {
1562
+ allowed_count = 1;
1563
+ }
1564
+ }
1565
+ if (allowed_count == 0) {
1566
+ return false;
1567
+ }
1568
+ }
1569
+ } else {
1570
+ return false;
1571
+ }
1572
+ }
1573
+ return true;
1574
+ });
1575
+
1576
+ jQuery.validator.addClassRules('b2s-post-item-details-item-message-input', {'checkTags': true});
1577
+
1578
+ jQuery.validator.addClassRules('b2s-post-item-details-release-input-date-select', {'checkSched': true});
1579
+
1580
+ jQuery.validator.addClassRules('b2s-post-item-details-item-title-input', {required: true});
1581
+
1582
+
1583
+ jQuery.validator.addMethod('checkSched', function (value, element, rest) {
1584
+ if (jQuery(element).is(':not(:disabled)') && jQuery(element).val() != 0) {
1585
+ var networkAuthId = jQuery(element).attr('data-network-auth-id');
1586
+ if (jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"]').val() == "") {
1587
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"]').addClass('error');
1588
+ return false;
1589
+ } else {
1590
+ jQuery('.b2s-post-item-details-release-input-time[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1591
+ }
1592
+ if (jQuery(element).val() == 1) {
1593
+ if (jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"]').val() == "") {
1594
+ jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"]').addClass('error');
1595
+ return false;
1596
+ } else {
1597
+ jQuery('.b2s-post-item-details-release-input-date[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1598
+ }
1599
+
1600
+ } else {
1601
+ var maxCount = jQuery('.b2s-post-item-details-release-input-daySelect[data-network-auth-id="' + networkAuthId + '"]').length;
1602
+ jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"]').removeClass('error');
1603
+ var daySelect = false;
1604
+ var daySelectErrorCount = 0;
1605
+ for (var count = 0; count < maxCount; count++) {
1606
+ if (jQuery('.b2s-post-item-details-release-input-lable-day-mo[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + count + '"]').is(':not(:disabled)')) {
1607
+ daySelect = false;
1608
+ jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + count + '"]').each(function () {
1609
+ if (jQuery(this).is(':checked')) {
1610
+ daySelect = true;
1611
+ }
1612
+ });
1613
+ if (daySelect === false) {
1614
+ daySelectErrorCount += 1;
1615
+ jQuery('.b2s-post-item-details-release-input-days[data-network-auth-id="' + networkAuthId + '"][data-network-count="' + count + '"]').addClass('error');
1616
+ }
1617
+ }
1618
+ }
1619
+ if (daySelectErrorCount != 0) {
1620
+ return false;
1621
+ }
1622
+ }
1623
+ }
1624
+ return true;
1625
+ });
1626
+
1627
+ jQuery("#b2sNetworkSent").validate({
1628
+ ignore: "",
1629
+ errorPlacement: function () {
1630
+ return false;
1631
+ },
1632
+ submitHandler: function (form) {
1633
+ if (checkNetworkSelected() == false) {
1634
+ return false;
1635
+ }
1636
+ if (checkPostSchedOnBlog() == false) {
1637
+ return false;
1638
+ }
1639
+ if (checkImageByImageNetworks() == false) {
1640
+ return false;
1641
+ }
1642
+
1643
+ var userDate = new Date();
1644
+ var pubDate = userDate.getFullYear() + "-" + padDate(userDate.getMonth() + 1) + "-" + padDate(userDate.getDate()) + " " + padDate(userDate.getHours()) + ":" + padDate(userDate.getMinutes()) + ":" + padDate(userDate.getSeconds());
1645
+ jQuery('#publish_date').val(pubDate);
1646
+ jQuery(".b2s-loading-area").show();
1647
+ jQuery(".b2s-post-area").hide();
1648
+ jQuery(".b2s-settings-user-sched-time-area").hide();
1649
+ jQuery('#b2s-sidebar-wrapper').hide();
1650
+ jQuery('.b2s-post-item-info-area').hide();
1651
+ jQuery.xhrPool.abortAll();
1652
+ jQuery('.b2s-server-connection-fail').hide();
1653
+ jQuery.ajax({
1654
+ processData: false,
1655
+ url: ajaxurl,
1656
+ type: "POST",
1657
+ dataType: "json",
1658
+ cache: false,
1659
+ data: jQuery(form).serialize(),
1660
+ error: function () {
1661
+ jQuery('.b2s-server-connection-fail').show();
1662
+ return false;
1663
+ },
1664
+ success: function (data) {
1665
+ var content = data.content;
1666
+ jQuery(".b2s-loading-area").hide();
1667
+ for (var i = 0; i < content.length; i++) {
1668
+ jQuery('.b2s-post-item-details-message-info[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').hide();
1669
+ jQuery('.b2s-post-item-details-edit-area[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').hide();
1670
+ jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').show();
1671
+ jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').html(content[i]['html']);
1672
+ }
1673
+ jQuery(".b2s-post-area").show();
1674
+ jQuery('.b2s-publish-area').hide();
1675
+ jQuery('.b2s-footer-menu').hide();
1676
+ window.scrollTo(0, 0);
1677
+ jQuery('.b2s-empty-area').hide();
1678
+ jQuery('.b2s-reporting-btn-area').show();
1679
+ wp.heartbeat.connectNow();
1680
+ }
1681
+ });
1682
+ return false;
1683
+ }
1684
+ });
1685
+
1686
+ jQuery('#b2s-network-list-modal').on('show.bs.modal', function (e) {
1687
+ jQuery('.b2s-network-list-modal-mandant').html(jQuery(".b2s-network-details-mandant-select option:selected").text());
1688
+ });
1689
+
1690
+ jQuery(window).on("load", function () {
1691
+ var showMeridian = true;
1692
+ if (jQuery('#b2sUserLang').val() == 'de') {
1693
+ showMeridian = false;
1694
+ }
1695
+ jQuery('.b2s-settings-sched-item-input-time').timepicker({
1696
+ minuteStep: 30,
1697
+ appendWidgetTo: 'body',
1698
+ showSeconds: false,
1699
+ showMeridian: showMeridian,
1700
+ defaultTime: 'current'
1701
+ });
1702
+ });
1703
+
1704
+
1705
+ jQuery('#b2s-save-time-settings-btn-trigger').on('click', function () {
1706
+ jQuery('#b2s-save-time-settings-btn').trigger('click');
1707
+ });
1708
+
1709
+ jQuery('#b2sSaveUserSettingsSchedTime').validate({
1710
+ ignore: "",
1711
+ errorPlacement: function () {
1712
+ return false;
1713
+ },
1714
+ submitHandler: function (form) {
1715
+ jQuery('#b2s-time-settings-modal').modal('hide');
1716
+ jQuery('.b2s-settings-user-success').hide();
1717
+ jQuery('.b2s-settings-user-error').hide();
1718
+ jQuery('.b2s-server-connection-fail').hide();
1719
+ jQuery.ajax({
1720
+ processData: false,
1721
+ url: ajaxurl,
1722
+ type: "POST",
1723
+ dataType: "json",
1724
+ cache: false,
1725
+ data: jQuery(form).serialize(),
1726
+ error: function () {
1727
+ jQuery('.b2s-server-connection-fail').show();
1728
+ return false;
1729
+ },
1730
+ success: function (data) {
1731
+ if (data.result == true) {
1732
+ jQuery('.b2s-settings-user-success').show();
1733
+ } else {
1734
+ jQuery('.b2s-settings-user-error').show();
1735
+ }
1736
+ }
1737
+ });
1738
+ return false;
1739
+ }
1740
+ });
1741
+
1742
+ jQuery(document).on('click', '.b2s-loading-area-save-profile-change', function () {
1743
+ var selectedAuth = new Array();
1744
+ jQuery('.b2s-network-list.active').each(function () {
1745
+ selectedAuth.push(jQuery(this).parents('.b2s-network-select-btn').attr('data-network-auth-id'));
1746
+ });
1747
+ jQuery('.b2s-server-connection-fail').hide();
1748
+ jQuery.ajax({
1749
+ url: ajaxurl,
1750
+ type: "POST",
1751
+ dataType: "json",
1752
+ cache: false,
1753
+ data: {
1754
+ 'action': 'b2s_ship_navbar_save_settings',
1755
+ 'mandantId': jQuery('.b2s-network-details-mandant-select').val(),
1756
+ 'selectedAuth': selectedAuth
1757
+ },
1758
+ error: function () {
1759
+ jQuery('.b2s-server-connection-fail').show();
1760
+ return false;
1761
+ },
1762
+ success: function (data) {
1763
+ if (data.result == true) {
1764
+ jQuery('.b2s-ship-settings-save').show();
1765
+ window.scrollTo(0, 0);
1766
+ var mandantId = jQuery('.b2s-network-details-mandant-select').val();
1767
+
1768
+ jQuery('.b2s-network-list').each(function () {
1769
+ var jsonMandantIds = jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id');
1770
+ if (jsonMandantIds !== undefined) {
1771
+ var jsonMandantIds = jQuery.parseJSON(jsonMandantIds);
1772
+ if (jsonMandantIds.indexOf(mandantId) !== -1 && !jQuery(this).hasClass('active')) {
1773
+ //remove
1774
+ var newMandant = new Array();
1775
+ jQuery(jsonMandantIds).each(function (index, item) {
1776
+ if (item !== mandantId) {
1777
+ newMandant.push(item);
1778
+ }
1779
+ });
1780
+ jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id', JSON.stringify(newMandant));
1781
+
1782
+ } else if (jsonMandantIds.indexOf(mandantId) == -1 && jQuery(this).hasClass('active')) {
1783
+ //add
1784
+ jsonMandantIds.push(mandantId);
1785
+ jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id', JSON.stringify(jsonMandantIds));
1786
+ }
1787
+ }
1788
+ });
1789
+ }
1790
+ }
1791
+ });
1792
+ });
1793
+
1794
+ window.addEventListener('message', function (e) {
1795
+ if (e.origin == jQuery('#b2sServerUrl').val()) {
1796
+ var data = JSON.parse(e.data);
1797
+ loginSuccess(data.networkId, data.networkType, data.displayName, data.networkAuthId, data.mandandId);
1798
+ }
1799
+ });
1800
+
1801
+ jQuery.xhrPool.abortAll = function () { // our abort function
1802
+ jQuery(this).each(function (idx, jqXHR) {
1803
+ jqXHR.abort();
1804
+ });
1805
+ jQuery.xhrPool.length = 0
1806
+ };
1807
+
1808
+ function loadingDummyShow(networkAuthId, networkId) {
1809
+ jQuery('.b2s-post-item-connection-fail-dummy[data-network-auth-id="' + networkAuthId + '"]').remove();
1810
+ var html = '<div class="b2s-post-item b2s-post-item-loading-dummy" data-network-auth-id="' + networkAuthId + '">'
1811
+ + '<div class="panel panel-group">'
1812
+ + '<div class="panel-body">'
1813
+ + '<div class="b2s-post-item-area">'
1814
+ + '<div class="b2s-post-item-details">'
1815
+ + '<div class="b2s-loader-impulse b2s-loader-impulse-md b2s-post-item-loading-impulse-area">'
1816
+ + '<img class="img-responsive" src="' + jQuery('#b2sPortalImagePath').val() + networkId + '_flat.png" alt="">'
1817
+ + '</div>'
1818
+ + '<div class="clearfix"></div>'
1819
+ + '<div class="text-center"><small>'
1820
+ + jQuery('#b2sJsTextLoading').val()
1821
+ + '</small></div>'
1822
+ + '</div>'
1823
+ + '</div>'
1824
+ + '</div>'
1825
+ + '</div>';
1826
+ var order = jQuery.parseJSON(jQuery('.b2s-network-navbar-order').val());
1827
+ var pos = order.indexOf(networkAuthId.toString());
1828
+ var add = false;
1829
+ for (var i = pos; i >= 0; i--) {
1830
+ if (jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').length > 0) {
1831
+ jQuery('.b2s-post-item[data-network-auth-id="' + order[i] + '"]').after(html);
1832
+ i = -1;
1833
+ add = true;
1834
+ }
1835
+ }
1836
+ if (add == false) {
1837
+ jQuery('.b2s-post-list').prepend(html);
1838
+ }
1839
+ }
1840
+
1841
+ function loadingDummyConnectionFail(networkAuthId, networkId) {
1842
+ var html = '<div class="b2s-post-item b2s-post-item-connection-fail-dummy" data-network-auth-id="' + networkAuthId + '">'
1843
+ + '<div class="panel panel-group">'
1844
+ + '<div class="panel-body">'
1845
+ + '<div class="b2s-post-item-area">'
1846
+ + '<div class="b2s-post-item-details">'
1847
+ + '<div class="b2s-post-item-details-portal-img-area">'
1848
+ + '<img class="img-responsive" src="' + jQuery('#b2sPortalImagePath').val() + networkId + '_flat.png" alt="">'
1849
+ + '</div>'
1850
+ + '<div class="clearfix"></div>'
1851
+ + '<div class="text-center"><small>'
1852
+ + jQuery('#b2sJsTextConnectionFail').val()
1853
+ + '</small>'
1854
+ + '<br/>'
1855
+ + '<a class="btn btn-link btn-sm" target="_blank" href="' + jQuery('#b2sJsTextConnectionFailLink').val() + '">' + jQuery('#b2sJsTextConnectionFailLinkText').val() + '</a>'
1856
+ + '</div>'
1857
+ + '</div>'
1858
+ + '</div>'
1859
+ + '</div>'
1860
+ + '</div>';
1861
+
1862
+ jQuery('.b2s-post-item-loading-dummy[data-network-auth-id="' + networkAuthId + '"]').replaceWith(html);
1863
+ }
1864
+
1865
+ function init(firstrun) {
1866
+ var dateFormat = "yyyy-mm-dd";
1867
+ var language = "en";
1868
+ var showMeridian = true;
1869
+ if (jQuery('#b2sUserLang').val() == "de") {
1870
+ dateFormat = "dd.mm.yyyy";
1871
+ language = "de";
1872
+ showMeridian = false;
1873
+ }
1874
+ var today = new Date();
1875
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
1876
+ today.setTime(jQuery('#b2sBlogPostSchedDate').val());
1877
+ }
1878
+ jQuery(".b2s-post-item-details-release-input-date").datepicker({
1879
+ format: dateFormat,
1880
+ language: language,
1881
+ maxViewMode: 2,
1882
+ todayHighlight: true,
1883
+ startDate: today,
1884
+ calendarWeeks: true,
1885
+ autoclose: true
1886
+ });
1887
+ jQuery('.b2s-post-item-details-release-input-time').timepicker({
1888
+ minuteStep: 15,
1889
+ appendWidgetTo: 'body',
1890
+ showSeconds: false,
1891
+ showMeridian: showMeridian,
1892
+ defaultTime: 'current',
1893
+ snapToStep: true
1894
+ });
1895
+ checkNetworkSelected();
1896
+ //imageCheck();
1897
+ if (firstrun == true) {
1898
+ jQuery(window).scroll(function () {
1899
+ submitArea();
1900
+ });
1901
+ jQuery('.b2s-post-item-details-release-input-date-select').each(function () {
1902
+ releaseChoose(jQuery(this).val(), jQuery(this).attr('data-network-auth-id'), 0);
1903
+ });
1904
+ hideDuplicateAuths();
1905
+ chooseMandant();
1906
+ }
1907
+ }
1908
+
1909
+
1910
+
1911
+ function initSceditor(networkAuthId) {
1912
+ var sceditor = jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor('instance');
1913
+
1914
+ if (typeof sceditor !== 'undefined' && typeof sceditor.destroy == 'function') {
1915
+ sceditor.destroy();
1916
+ }
1917
+
1918
+ jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor({
1919
+ plugins: 'xhtml',
1920
+ toolbar: "h1,h2,bold,italic,link,unlink,custom-image|source",
1921
+ autoUpdate: true,
1922
+ emoticonsEnabled: false
1923
+ });
1924
+
1925
+ var sceditor = jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor('instance');
1926
+
1927
+ if (typeof sceditor !== 'undefined' && typeof sceditor.destroy == 'function') {
1928
+ sceditor.keyUp(function () {
1929
+ jQuery(this).parents('.b2s-post-item-details').find('.b2s-post-item-countChar').html(jQuery(this).prev('.b2s-post-item-details-item-message-input').sceditor('instance').getBody().text().length);
1930
+ });
1931
+ jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').next('.sceditor-container').find('textarea').on('keyup', function () {
1932
+ var tmp = document.createElement("DIV");
1933
+ tmp.innerHTML = jQuery(this).val();
1934
+ jQuery(this).parents('.b2s-post-item-details').find('.b2s-post-item-countChar').html(tmp.innerText.length);
1935
+ });
1936
+ }
1937
+
1938
+
1939
+ }
1940
+
1941
+ function submitArea() {
1942
+ if (jQuery('.b2s-publish-area').length > 0) {
1943
+ if (jQuery(window).scrollTop() + jQuery(window.top).height() >= jQuery('.b2s-publish-area').offset().top) {
1944
+ jQuery(".b2s-footer-menu").hide();
1945
+ } else {
1946
+ jQuery(".b2s-footer-menu").show();
1947
+ }
1948
+ }
1949
+ }
1950
+
1951
+ function imageSize() {
1952
+ jQuery('.networkImage').each(function () {
1953
+ var width = this.naturalWidth;
1954
+ var height = this.naturalHeight;
1955
+ jQuery(this).parents('.b2s-image-item').find('.b2s-image-item-caption-resolution').html(width + 'x' + height);
1956
+
1957
+ if (width == 0)
1958
+ {
1959
+ setTimeout(function () {
1960
+ imageSize();
1961
+ }, 50);
1962
+ }
1963
+ });
1964
+ }
1965
+
1966
+ function navbarDeactivatePortal(reason) {
1967
+ if (reason == "image") {
1968
+ var portale = Array(6, 7, 12);
1969
+ for (var i = 0; i <= portale.length; i++) {
1970
+ jQuery('.b2s-network-select-btn[data-network-id="' + portale[i] + '"]').addClass('b2s-network-select-btn-deactivate');
1971
+ jQuery('.b2s-network-status-no-img[data-network-id="' + portale[i] + '"]').show();
1972
+ }
1973
+ }
1974
+ }
1975
+
1976
+ function navbarActivatePortal(reason) {
1977
+ if (reason == "image") {
1978
+ var portale = Array(6, 7, 12);
1979
+ for (var i = 0; i <= portale.length; i++) {
1980
+ jQuery('.b2s-network-select-btn[data-network-id="' + portale[i] + '"]').removeClass('b2s-network-select-btn-deactivate');
1981
+ jQuery('.b2s-network-status-no-img[data-network-id="' + portale[i] + '"]').hide();
1982
+ }
1983
+ }
1984
+ }
1985
+
1986
+ function deactivatePortal(networkAuthId) {
1987
+ var selector = '.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]';
1988
+ jQuery(selector).hide();
1989
+ jQuery(selector).find('.form-control').each(function () {
1990
+ jQuery(this).attr("disabled", "disabled");
1991
+ });
1992
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').children().removeClass('active').find('.b2s-network-status-img').addClass('b2s-network-hide');
1993
+ checkNetworkSelected();
1994
+ submitArea();
1995
+ return true;
1996
+ }
1997
+
1998
+ function activatePortal(networkAuthId, check) {
1999
+ var selector = '.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]'
2000
+ //jQuery(selector).prependTo(".b2s-post-list");
2001
+ jQuery(selector).show();
2002
+ jQuery(selector).find('.form-control').each(function () {
2003
+ if ((!jQuery(this).hasClass('b2s-post-item-details-release-input-weeks')) &&
2004
+ (!jQuery(this).hasClass('b2s-post-item-details-release-input-date')) &&
2005
+ (!jQuery(this).hasClass('b2s-post-item-details-release-input-time')) &&
2006
+ (!jQuery(this).hasClass('b2s-post-item-details-release-input-days'))) {
2007
+ jQuery(this).removeAttr("disabled", "disabled");
2008
+ }
2009
+ });
2010
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').children().addClass('active').find('.b2s-network-hide').removeClass('b2s-network-hide');
2011
+ checkNetworkSelected();
2012
+ submitArea();
2013
+ }
2014
+
2015
+ function checkNetworkSelected() {
2016
+ //überprüfen ob mindestens ein PostItem vorhanden und sichtbar ist
2017
+ var visible = false;
2018
+ jQuery('.b2s-post-list').find('.b2s-post-item').each(function () {
2019
+ if (jQuery(this).is(":visible")) {
2020
+ visible = true;
2021
+ }
2022
+ });
2023
+ if (jQuery('.b2s-post-list').text().trim() == "" || visible == false) {
2024
+ jQuery('.b2s-publish-area').hide();
2025
+ jQuery('.b2s-footer-menu').hide();
2026
+ jQuery('.b2s-empty-area').show();
2027
+ return false;
2028
+ } else {
2029
+ jQuery('.b2s-publish-area').show();
2030
+ if (jQuery('.b2s-publish-area').length > 0) {
2031
+ if (jQuery(window).scrollTop() + jQuery(window.top).height() < jQuery('.b2s-publish-area').offset().top) {
2032
+ jQuery('.b2s-footer-menu').show();
2033
+ }
2034
+ }
2035
+ jQuery('.b2s-empty-area').hide();
2036
+ return true;
2037
+ }
2038
+ }
2039
+
2040
+ function checkPostSchedOnBlog() {
2041
+ if (jQuery('#b2sBlogPostSchedDate').length > 0) {
2042
+ if (jQuery('#b2sSchedPostInfoIgnore').val() == "0") {
2043
+ if (jQuery('.b2s-post-item-details-release-input-date-select option[value="0"]:selected').length > 0) {
2044
+ jQuery('#b2s-network-sched-post-info').modal("show");
2045
+ return false;
2046
+ }
2047
+ }
2048
+ }
2049
+ return true;
2050
+ }
2051
+
2052
+ function checkImageByImageNetworks() {
2053
+ var result = true;
2054
+ jQuery('.b2sOnlyWithImage').each(function () {
2055
+ if (jQuery(this).is(":visible")) {
2056
+ if (jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val() == "") {
2057
+ if (!jQuery('#b2s-network-select-image').hasClass('in')) {
2058
+ jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').addClass('b2s-img-required');
2059
+ jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', jQuery(this).attr('data-network-auth-id'));
2060
+ jQuery('.b2s-upload-image').attr('data-network-auth-id', jQuery(this).attr('data-network-auth-id'));
2061
+ jQuery('#b2s-network-select-image').modal('show');
2062
+ imageSize();
2063
+ window.scrollTo(0, (jQuery(this).offset().top - 45));
2064
+ }
2065
+ result = false;
2066
+ }
2067
+ }
2068
+ });
2069
+
2070
+ return result;
2071
+ }
2072
+
2073
+
2074
+ function releaseChoose(choose, dataNetworkAuthId, dataNetworkCount) {
2075
+ var selectorInput = '[data-network-auth-id="' + dataNetworkAuthId + '"]';
2076
+ jQuery('.b2s-post-item-details-releas-area-details-row' + selectorInput).hide();
2077
+ if (choose == 0) {
2078
+ jQuery('.b2s-post-item-details-release-input-date' + selectorInput).prop('disabled', true);
2079
+ jQuery('.b2s-post-item-details-release-input-date' + selectorInput).hide();
2080
+ jQuery('.b2s-post-item-details-release-input-time' + selectorInput).hide();
2081
+ jQuery('.b2s-post-item-details-release-input-time' + selectorInput).prop('disabled', true);
2082
+ jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).hide();
2083
+ jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).prop('disabled', true);
2084
+
2085
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).hide();
2086
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).prop('disabled', true);
2087
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).val("0");
2088
+
2089
+ //monthly- duration month
2090
+ jQuery('.b2s-post-item-details-release-area-div-duration-month' + selectorInput).hide();
2091
+ jQuery('.b2s-post-item-details-release-area-label-duration-month' + selectorInput).hide();
2092
+ jQuery('.b2s-post-item-details-release-input-months' + selectorInput).hide();
2093
+ jQuery('.b2s-post-item-details-release-input-months' + selectorInput).prop('disabled');
2094
+ //monthly- publish day (select-day)
2095
+ jQuery('.b2s-post-item-details-release-area-label-select-day' + selectorInput).hide();
2096
+ jQuery('.b2s-post-item-details-release-input-select-day' + selectorInput).prop('disabled');
2097
+ jQuery('.b2s-post-item-details-release-input-select-day' + selectorInput).hide();
2098
+ //own period- duration times
2099
+ jQuery('.b2s-post-item-details-release-area-div-duration-time' + selectorInput).hide();
2100
+ jQuery('.b2s-post-item-details-release-area-label-duration-time' + selectorInput).hide();
2101
+ jQuery('.b2s-post-item-details-release-input-times' + selectorInput).hide();
2102
+ jQuery('.b2s-post-item-details-release-input-times' + selectorInput).prop('disabled');
2103
+ //own period- timespan
2104
+ jQuery('.b2s-post-item-details-release-area-label-select-timespan' + selectorInput).hide();
2105
+ jQuery('.b2s-post-item-details-release-input-select-timespan' + selectorInput).hide();
2106
+ jQuery('.b2s-post-item-details-release-input-select-timespan' + selectorInput).prop('disabled');
2107
+
2108
+ jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled');
2109
+ jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).hide();
2110
+ jQuery('.b2s-post-item-details-release-input-add' + selectorInput).hide();
2111
+ jQuery('.2s-post-item-details-release-area-details-ul' + selectorInput).hide();
2112
+ jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', true);
2113
+ jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).hide();
2114
+ jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).hide();
2115
+ jQuery('.b2s-post-item-details-release-area-label-duration' + selectorInput).hide();
2116
+ jQuery('.b2s-post-item-details-release-area-label-interval' + selectorInput).hide();
2117
+ jQuery('.b2s-post-item-details-release-area-label-date' + selectorInput).hide();
2118
+ jQuery('.b2s-post-item-details-release-area-label-time' + selectorInput).hide();
2119
+ jQuery('.b2s-post-item-details-release-area-label-day' + selectorInput).hide();
2120
+ jQuery('.b2s-post-item-details-release-area-div-duration' + selectorInput).hide();
2121
+ jQuery('.b2s-post-item-details-release-area-div-interval' + selectorInput).hide();
2122
+ jQuery('.b2s-post-item-details-release-area-div-date' + selectorInput).hide();
2123
+ jQuery('.b2s-post-item-details-release-area-div-time' + selectorInput).hide();
2124
+ jQuery('.b2s-post-item-details-release-area-div-day' + selectorInput).hide();
2125
+ } else if (choose == 1) {
2126
+ for (var i = 0; i <= dataNetworkCount; i++) {
2127
+ jQuery('.b2s-post-item-details-releas-area-details-row[data-network-count="' + i + '"]' + selectorInput).show();
2128
+ jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"]' + selectorInput).show();
2129
+ jQuery('.b2s-post-item-details-release-input-date[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
2130
+ jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).show();
2131
+ jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
2132
+ }
2133
+ jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).hide();
2134
+ jQuery('.b2s-post-item-details-release-input-weeks' + selectorInput).prop('disabled');
2135
+
2136
+ //monthly- duration month
2137
+ jQuery('.b2s-post-item-details-release-area-div-duration-month' + selectorInput).hide();
2138
+ jQuery('.b2s-post-item-details-release-area-label-duration-month' + selectorInput).hide();
2139
+ jQuery('.b2s-post-item-details-release-input-months' + selectorInput).hide();
2140
+ jQuery('.b2s-post-item-details-release-input-months' + selectorInput).prop('disabled');
2141
+ //monthly- publish day (select-day)
2142
+ jQuery('.b2s-post-item-details-release-area-label-select-day' + selectorInput).hide();
2143
+ jQuery('.b2s-post-item-details-release-input-select-day' + selectorInput).prop('disabled');
2144
+ jQuery('.b2s-post-item-details-release-input-select-day' + selectorInput).hide();
2145
+ //own period- duration times
2146
+ jQuery('.b2s-post-item-details-release-area-div-duration-time' + selectorInput).hide();
2147
+ jQuery('.b2s-post-item-details-release-area-label-duration-time' + selectorInput).hide();
2148
+ jQuery('.b2s-post-item-details-release-input-times' + selectorInput).hide();
2149
+ jQuery('.b2s-post-item-details-release-input-times' + selectorInput).prop('disabled');
2150
+ //own period- timespan
2151
+ jQuery('.b2s-post-item-details-release-area-label-select-timespan' + selectorInput).hide();
2152
+ jQuery('.b2s-post-item-details-release-input-select-timespan' + selectorInput).hide();
2153
+ jQuery('.b2s-post-item-details-release-input-select-timespan' + selectorInput).prop('disabled');
2154
+
2155
+ //new since v.4.5.0
2156
+ jQuery('.b2s-post-item-details-release-area-label-duration' + selectorInput).hide();
2157
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).hide();
2158
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).prop('disabled', true);
2159
+ jQuery('.b2s-post-item-details-release-input-interval-select' + selectorInput).val("0");
2160
+ jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).hide();
2161
+
2162
+ jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled', true);
2163
+ jQuery('.b2s-post-item-details-release-input-add' + selectorInput).show();
2164
+ jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).show();
2165
+ jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', false);
2166
+ jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).show();
2167
+ jQuery('.b2s-post-item-details-release-area-label-interval' + selectorInput).hide();
2168
+ jQuery('.b2s-post-item-details-release-area-label-date' + selectorInput).show();
2169
+ jQuery('.b2s-post-item-details-release-area-label-time' + selectorInput).show();
2170
+ jQuery('.b2s-post-item-details-release-area-label-day' + selectorInput).hide();
2171
+ jQuery('.b2s-post-item-details-release-area-div-duration' + selectorInput).hide();
2172
+ jQuery('.b2s-post-item-details-release-area-div-interval' + selectorInput).hide();
2173
+ jQuery('.b2s-post-item-details-release-area-div-date' + selectorInput).show();
2174
+ jQuery('.b2s-post-item-details-release-area-div-time' + selectorInput).show();
2175
+ jQuery('.b2s-post-item-details-release-area-div-day' + selectorInput).hide();
2176
+ } else if (choose == 2) {
2177
+ jQuery('.b2s-post-item-details-release-input-date' + selectorInput).show();
2178
+ jQuery('.b2s-post-item-details-release-input-date' + selectorInput).removeAttr('disabled');
2179
+ jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).show();
2180
+ jQuery('.b2s-post-item-details-release-input-add' + selectorInput).show();
2181
+ jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).show();
2182
+ jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', false);
2183
+ jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).hide();
2184
+ for (var i = 0; i <= dataNetworkCount; i++) {
2185
+ jQuery('.b2s-post-item-details-releas-area-details-row[data-network-count="' + i + '"]' + selectorInput).show();
2186
+ //new since v4.5.0
2187
+ jQuery('.b2s-post-item-details-release-input-interval-select[data-network-count="' + i + '"]' + selectorInput).show();
2188
+ jQuery('.b2s-post-item-details-release-input-interval-select[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
2189
+
2190
+ jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).show();
2191
+ jQuery('.b2s-post-item-details-release-input-time[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
2192
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"]' + selectorInput).show();
2193
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
2194
+ jQuery('.b2s-post-item-details-release-input-days[data-network-count="' + i + '"]' + selectorInput).removeAttr('disabled');
2195
+ }
2196
+ jQuery('.b2s-post-item-details-release-area-label-duration' + selectorInput).show();
2197
+ jQuery('.b2s-post-item-details-release-area-label-interval' + selectorInput).show();
2198
+ jQuery('.b2s-post-item-details-release-area-label-date' + selectorInput).show();
2199
+ jQuery('.b2s-post-item-details-release-area-label-time' + selectorInput).show();
2200
+ jQuery('.b2s-post-item-details-release-area-label-day' + selectorInput).show();
2201
+ jQuery('.b2s-post-item-details-release-area-div-duration' + selectorInput).show();
2202
+ jQuery('.b2s-post-item-details-release-area-div-interval' + selectorInput).show();
2203
+ jQuery('.b2s-post-item-details-release-area-div-date' + selectorInput).hide();
2204
+ jQuery('.b2s-post-item-details-release-area-div-time' + selectorInput).show();
2205
+ jQuery('.b2s-post-item-details-release-area-div-day' + selectorInput).show();
2206
+ }
2207
+
2208
+ var showMeridian = true;
2209
+ if (jQuery('#b2sUserLang').val() == 'de') {
2210
+ showMeridian = false;
2211
+ }
2212
+
2213
+ jQuery('.b2s-post-item-details-release-input-time').timepicker({
2214
+ minuteStep: 15,
2215
+ appendWidgetTo: 'body',
2216
+ showSeconds: false,
2217
+ showMeridian: showMeridian,
2218
+ defaultTime: 'current',
2219
+ snapToStep: true
2220
+ });
2221
+ }
2222
+
2223
+
2224
+ function releaseChooseInterval(interval, selectorInput, dataCount) {
2225
+ //change view
2226
+ if (interval == 0) { //weekly,default
2227
+ // show
2228
+ //select days
2229
+ jQuery('.b2s-post-item-details-release-input-days[data-network-count="' + dataCount + '"]' + selectorInput).removeAttr('disabled');
2230
+ jQuery('.b2s-post-item-details-release-area-label-day[data-network-count="' + dataCount + '"]' + selectorInput).show();
2231
+ //duration weeks
2232
+ jQuery('.b2s-post-item-details-release-area-div-duration[data-network-count="' + dataCount + '"]' + selectorInput).show();
2233
+ jQuery('.b2s-post-item-details-release-area-label-duration[data-network-count="' + dataCount + '"]' + selectorInput).show();
2234
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + dataCount + '"]' + selectorInput).show();
2235
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + dataCount + '"]' + selectorInput).removeAttr('disabled');
2236
+ //hide
2237
+ //monthly- duration month
2238
+ jQuery('.b2s-post-item-details-release-area-div-duration-month[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2239
+ jQuery('.b2s-post-item-details-release-area-label-duration-month[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2240
+ jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2241
+ jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2242
+ //monthly- publish day (select-day)
2243
+ jQuery('.b2s-post-item-details-release-area-label-select-day[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2244
+ jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2245
+ jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2246
+ //own period- duration times
2247
+ jQuery('.b2s-post-item-details-release-area-div-duration-time[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2248
+ jQuery('.b2s-post-item-details-release-area-label-duration-time[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2249
+ jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2250
+ jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2251
+ //own period- timespan
2252
+ jQuery('.b2s-post-item-details-release-area-label-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2253
+ jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2254
+ jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2255
+ }
2256
+
2257
+ if (interval == 1) { //monthly
2258
+ // show
2259
+ //duration month
2260
+ jQuery('.b2s-post-item-details-release-area-div-duration-month[data-network-count="' + dataCount + '"]' + selectorInput).show();
2261
+ jQuery('.b2s-post-item-details-release-area-label-duration-month[data-network-count="' + dataCount + '"]' + selectorInput).show();
2262
+ jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + dataCount + '"]' + selectorInput).show();
2263
+ jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + dataCount + '"]' + selectorInput).removeAttr('disabled');
2264
+ //publish day (select-day)
2265
+ jQuery('.b2s-post-item-details-release-area-label-select-day[data-network-count="' + dataCount + '"]' + selectorInput).show();
2266
+ jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + dataCount + '"]' + selectorInput).removeAttr('disabled');
2267
+ jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + dataCount + '"]' + selectorInput).show();
2268
+ //hide
2269
+ //weekly - select days
2270
+ jQuery('.b2s-post-item-details-release-input-days[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled', true);
2271
+ jQuery('.b2s-post-item-details-release-area-label-day[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2272
+ //weekly- duration weeks
2273
+ jQuery('.b2s-post-item-details-release-area-div-duration[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2274
+ jQuery('.b2s-post-item-details-release-area-label-duration[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2275
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2276
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2277
+ //own period- duration times
2278
+ jQuery('.b2s-post-item-details-release-area-div-duration-time[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2279
+ jQuery('.b2s-post-item-details-release-area-label-duration-time[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2280
+ jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2281
+ jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2282
+ //own period- timespan
2283
+ jQuery('.b2s-post-item-details-release-area-label-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2284
+ jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2285
+ jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2286
+ }
2287
+
2288
+ if (interval == 2) { //own period
2289
+ // show
2290
+ //duration times
2291
+ jQuery('.b2s-post-item-details-release-area-div-duration-time[data-network-count="' + dataCount + '"]' + selectorInput).show();
2292
+ jQuery('.b2s-post-item-details-release-area-label-duration-time[data-network-count="' + dataCount + '"]' + selectorInput).show();
2293
+ jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + dataCount + '"]' + selectorInput).show(); //select
2294
+ jQuery('.b2s-post-item-details-release-input-times[data-network-count="' + dataCount + '"]' + selectorInput).removeAttr('disabled'); //select
2295
+ //timespan
2296
+ jQuery('.b2s-post-item-details-release-area-label-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).show();
2297
+ jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).show();
2298
+ jQuery('.b2s-post-item-details-release-input-select-timespan[data-network-count="' + dataCount + '"]' + selectorInput).removeAttr('disabled');
2299
+ //hide
2300
+ //weekly - select days
2301
+ jQuery('.b2s-post-item-details-release-input-days[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled', true);
2302
+ jQuery('.b2s-post-item-details-release-area-label-day[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2303
+ //weekly- duration weeks
2304
+ jQuery('.b2s-post-item-details-release-area-div-duration[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2305
+ jQuery('.b2s-post-item-details-release-area-label-duration[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2306
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2307
+ jQuery('.b2s-post-item-details-release-input-weeks[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2308
+ //monthly- duration month
2309
+ jQuery('.b2s-post-item-details-release-area-div-duration-month[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2310
+ jQuery('.b2s-post-item-details-release-area-label-duration-month[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2311
+ jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2312
+ jQuery('.b2s-post-item-details-release-input-months[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2313
+ //monthly- publish day (select-day)
2314
+ jQuery('.b2s-post-item-details-release-area-label-select-day[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2315
+ jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + dataCount + '"]' + selectorInput).prop('disabled');
2316
+ jQuery('.b2s-post-item-details-release-input-select-day[data-network-count="' + dataCount + '"]' + selectorInput).hide();
2317
+ }
2318
+ }
2319
+
2320
+
2321
+
2322
+ function addTag(networkAuthId) {
2323
+ var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
2324
+ jQuery(selector).last().after('<input class="form-control b2s-post-item-details-tag-input-elem" data-network-auth-id="' + networkAuthId + '" value="" name="b2s[' + networkAuthId + '][tags][]">');
2325
+ jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").show();
2326
+ }
2327
+
2328
+ function removeTag(networkAuthId) {
2329
+ var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
2330
+ jQuery(selector).last().remove();
2331
+ if (jQuery(selector).length === 1)
2332
+ jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").hide();
2333
+ }
2334
+
2335
+ function networkLimitAll(networkAuthId, networkId, limit) {
2336
+ var regX = /(<([^>]+)>)/ig;
2337
+ var url = jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val();
2338
+ var text = jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val();
2339
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").removeClass("error");
2340
+ if (url.length != "0") {
2341
+ if (url.indexOf("http://") == -1 && url.indexOf("https://") == -1) {
2342
+ url = "http://" + url;
2343
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2344
+ }
2345
+ } else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
2346
+ url = jQuery("#b2sDefault_url").val();
2347
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2348
+ }
2349
+
2350
+ var textLength = text.length;
2351
+ var newText = text;
2352
+ if (networkId == "2") { //twitter
2353
+ if (url.length != "0") {
2354
+ limit = limit - 24;
2355
+ }
2356
+ }
2357
+
2358
+ if (textLength >= limit) {
2359
+ newText = text.substring(0, limit);
2360
+ var pos = getCaretPos(this);
2361
+ jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val(newText.replace(regX, ""));
2362
+ setCaretPos(this, pos);
2363
+ var text = jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val();
2364
+ var textLength = text.length;
2365
+ }
2366
+ var newLen = limit - textLength;
2367
+ jQuery(".b2s-post-item-countChar[data-network-auth-id='" + networkAuthId + "']").html(newLen);
2368
+ }
2369
+
2370
+ function networkCount(networkAuthId) {
2371
+ var url = jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val();
2372
+ var text = jQuery(".b2s-post-item-details-item-message-input[data-network-auth-id='" + networkAuthId + "']").val();
2373
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").removeClass("error");
2374
+ if (url.length != "0") {
2375
+ if (url.indexOf("http://") == -1 && url.indexOf("https://") == -1) {
2376
+ url = "http://" + url;
2377
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2378
+ }
2379
+ } else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
2380
+ url = jQuery("#b2sDefault_url").val();
2381
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2382
+ }
2383
+ var textLength = text.length;
2384
+ jQuery(".b2s-post-item-countChar[data-network-auth-id='" + networkAuthId + "']").html(textLength);
2385
+ }
2386
+
2387
+
2388
+ function getCaretPos(domElem) {
2389
+ var pos;
2390
+ if (document.selection) {
2391
+ domElem.focus();
2392
+ var sel = document.selection.createRange();
2393
+ sel.moveStart("character", -domElem.value.length);
2394
+ pos = sel.text.length;
2395
+ } else if (domElem.selectionStart || domElem.selectionStart == "0")
2396
+ pos = domElem.selectionStart;
2397
+ return pos;
2398
+ }
2399
+
2400
+ function setCaretPos(domElem, pos) {
2401
+ if (domElem.setSelectionRange) {
2402
+ domElem.focus();
2403
+ domElem.setSelectionRange(pos, pos);
2404
+ } else if (domElem.createTextRange) {
2405
+ var range = domElem.createTextRange();
2406
+ range.collapse(true);
2407
+ range.moveEnd("character", pos);
2408
+ range.moveStart("character", pos);
2409
+ range.select();
2410
+ }
2411
+ }
2412
+
2413
+ function ucfirst(str) {
2414
+ str += '';
2415
+ return str.charAt(0).toUpperCase() + str.substr(1);
2416
+ }
2417
+
2418
+
2419
+ function hideDuplicateAuths() {
2420
+ jQuery(".b2s-sidbar-wrapper-nav-li").each(function () {
2421
+ jQuery(this).show();
2422
+ });
2423
+ var mandantId = jQuery('.b2s-network-details-mandant-select').val();
2424
+ jQuery(".b2s-sidbar-wrapper-nav-li").each(function () {
2425
+ if (jQuery(this).is(":visible")) {
2426
+ var dataNetworkDisplayName = jQuery(this).children('.b2s-network-select-btn').attr('data-network-display-name');
2427
+ var dataNetworkId = jQuery(this).children('.b2s-network-select-btn').attr('data-network-id');
2428
+ var dataNetworkType = jQuery(this).children('.b2s-network-select-btn').attr('data-network-type');
2429
+ var dataNetworkAuthId = jQuery(this).children('.b2s-network-select-btn').attr('data-network-auth-id');
2430
+ jQuery('.b2s-network-select-btn[data-network-display-name="' + dataNetworkDisplayName + '"][data-network-id="' + dataNetworkId + '"][data-network-type="' + dataNetworkType + '"][data-network-auth-id!="' + dataNetworkAuthId + '"]').each(function () {
2431
+ var selectedDataMandantId = jQuery.parseJSON(jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id'));
2432
+ if (jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-default-id') != mandantId && selectedDataMandantId.indexOf(mandantId) == -1) {
2433
+ jQuery(this).parents('.b2s-sidbar-wrapper-nav-li').hide();
2434
+ }
2435
+ });
2436
+ }
2437
+ });
2438
+ }
2439
+
2440
+ function chooseMandant() {
2441
+ //Laden abbrechen und anzeige zurück setzten
2442
+ jQuery.xhrPool.abortAll();
2443
+ jQuery('.b2s-post-item-loading-dummy').remove();
2444
+ jQuery('.b2s-network-status-img-loading').hide();
2445
+ jQuery('.b2s-network-select-btn-deactivate').removeClass('b2s-network-select-btn-deactivate');
2446
+ //imageCheck();
2447
+ //expiredDate wieder setzten
2448
+ jQuery('.b2s-network-status-expiredDate').each(function () {
2449
+ if (jQuery(this).is(':visible')) {
2450
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"').addClass('b2s-network-select-btn-deactivate');
2451
+ }
2452
+ });
2453
+ jQuery('.b2s-network-select-btn-deactivate')
2454
+ var mandantId = jQuery('.b2s-network-details-mandant-select').val();
2455
+ jQuery('.b2s-post-item').hide();
2456
+ jQuery('.b2s-post-item').find('.form-control').each(function () {
2457
+ jQuery(this).attr("disabled", "disabled");
2458
+ });
2459
+ jQuery('.b2s-network-select-btn').children().removeClass('active').find('.b2s-network-status-img').addClass('b2s-network-hide');
2460
+ //Check IS RE-PUBLISH
2461
+ if (jQuery('#b2sSelectedNetworkAuthId').val() > 0 && jQuery(".b2s-network-select-btn[data-network-auth-id='" + jQuery('#b2sSelectedNetworkAuthId').val() + "']").length > 0) { //exisits?
2462
+ jQuery(".b2s-network-select-btn[data-network-auth-id='" + jQuery('#b2sSelectedNetworkAuthId').val() + "']").trigger('click');
2463
+ var mandantId = jQuery(".b2s-network-select-btn[data-network-auth-id='" + jQuery('#b2sSelectedNetworkAuthId').val() + "']").parent('.b2s-sidbar-wrapper-nav-li').attr('data-mandant-id');
2464
+ jQuery('.b2s-network-details-mandant-select').val(mandantId);
2465
+ jQuery('#b2sSelectedNetworkAuthId').val("0");
2466
+ } else {
2467
+ jQuery(".b2s-sidbar-wrapper-nav-li").each(function () {
2468
+ var mandantIds = jQuery.parseJSON(jQuery(this).attr('data-mandant-id'));
2469
+ if (mandantIds.indexOf(mandantId) != -1 && !jQuery(this).children('.b2s-network-select-btn').hasClass('b2s-network-select-btn-deactivate')) {
2470
+ jQuery(this).children('.b2s-network-select-btn').trigger('click');
2471
+ }
2472
+ });
2473
+ }
2474
+
2475
+ checkNetworkSelected();
2476
+ }
2477
+
2478
+ function padDate(n) {
2479
+ return ("0" + n).slice(-2);
2480
+ }
2481
+
2482
+ function wop(url, name) {
2483
+ jQuery('.b2s-network-auth-success').hide();
2484
+ var location = window.location.protocol + '//' + window.location.hostname;
2485
+ url = encodeURI(url + '&mandant_id=' + jQuery('.b2s-network-details-mandant-select').val() + '&location=' + location);
2486
+ window.open(url, name, "width=650,height=900,scrollbars=yes,toolbar=no,status=no,resizable=no,menubar=no,location=no,directories=no,top=20,left=20");
2487
+ }
2488
+
2489
+ function loginSuccess(networkId, networkType, displayName, networkAuthId, mandandId) {
2490
+ jQuery('.b2s-network-auth-success').show();
2491
+ jQuery('#b2s-network-list-modal').modal('hide');
2492
+ jQuery('#b2s-network-list-modal').hide();
2493
+ jQuery('body').removeClass('modal-open');
2494
+ jQuery('body').removeAttr('style');
2495
+ if (jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').length == 0) {
2496
+ jQuery('.b2s-server-connection-fail').hide();
2497
+ jQuery.ajax({
2498
+ url: ajaxurl,
2499
+ type: "POST",
2500
+ dataType: "json",
2501
+ cache: false,
2502
+ data: {
2503
+ 'action': 'b2s_ship_navbar_item',
2504
+ 'networkId': networkId,
2505
+ 'networkType': networkType,
2506
+ 'displayName': displayName,
2507
+ 'networkAuthId': networkAuthId,
2508
+ 'mandandId': mandandId
2509
+ },
2510
+ error: function () {
2511
+ jQuery('.b2s-server-connection-fail').show();
2512
+ return false;
2513
+ },
2514
+ success: function (data) {
2515
+ if (data.result == true) {
2516
+ jQuery(data.content).insertAfter('.b2s-sidbar-network-auth-btn');
2517
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + data.networkAuthId + '"]').trigger('click');
2518
+ }
2519
+ }
2520
+ });
2521
+ } else {
2522
+ jQuery('.b2s-network-status-expiredDate').remove();
2523
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').removeClass('b2s-network-select-btn-deactivate');
2524
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').removeAttr('onclick');
2525
+ jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').trigger('click');
2526
+ }
2527
+ }
2528
+
2529
+ //jQuery(this).attr('data-network-auth-id')
2530
+ function checkSchedDateTime(dataNetworkAuthId) {
2531
+ var dateElement = '.b2s-post-item-details-release-input-date[data-network-auth-id="' + dataNetworkAuthId + '"]';
2532
+ var timeElement = '.b2s-post-item-details-release-input-time[data-network-auth-id="' + dataNetworkAuthId + '"]';
2533
+ var dateStr = jQuery(dateElement).val();
2534
+ var minStr = jQuery(timeElement).val();
2535
+ var timeZone = parseInt(jQuery('#user_timezone').val()) * (-1);
2536
+ if (jQuery('#b2sUserLang').val() == 'de') {
2537
+ dateStr = dateStr.substring(6, 10) + '-' + dateStr.substring(3, 5) + '-' + dateStr.substring(0, 2);
2538
+ } else {
2539
+ var minParts = minStr.split(' ');
2540
+ var minParts2 = minParts[0].split(':');
2541
+ if (minParts[1] == 'PM') {
2542
+ minParts2[0] = parseInt(minParts2[0]) + 12;
2543
+ }
2544
+ minStr = minParts2[0] + ':' + minParts2[1];
2545
+ }
2546
+
2547
+ var minParts3 = minStr.split(':');
2548
+ if (minParts3[0] < 10) {
2549
+ minParts3[0] = '0' + minParts3[0];
2550
+ }
2551
+ var dateParts = dateStr.split('-');
2552
+
2553
+ //utc current time
2554
+ var now = new Date();
2555
+ //offset between utc und user
2556
+ var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
2557
+ //enter hour to user time
2558
+ var hour = parseInt(minParts3[0]) + timeZone + offset;
2559
+ //calculate datetime in utc
2560
+ var enter = new Date(dateParts[0], dateParts[1] - 1, dateParts[2], hour, minParts3[1]);
2561
+ //compare enter date time with allowed user time
2562
+ if (enter.getTime() < now.getTime()) {
2563
+ //enter set on next 15 minutes and calculate on user timezone
2564
+ enter.setTime(now.getTime() + (900000 - (now.getTime() % 900000)) - (3600000 * (timeZone + offset)));
2565
+ jQuery(dateElement).datepicker('update', enter);
2566
+ jQuery(timeElement).timepicker('setTime', enter);
2567
+ }
2568
+ }
assets/js/b2s/start.js CHANGED
@@ -1,187 +1,242 @@
1
- jQuery.noConflict();
2
-
3
- jQuery(document).on('click', '.b2s-mail-btn', function () {
4
- if (isMail(jQuery('#b2s-mail-update-input').val())) {
5
- jQuery.ajax({
6
- url: ajaxurl,
7
- type: "POST",
8
- dataType: "json",
9
- cache: false,
10
- data: {
11
- 'action': 'b2s_post_mail_update',
12
- 'email': jQuery('#b2s-mail-update-input').val(),
13
- 'lang': jQuery('#user_lang').val()
14
- }
15
- });
16
- jQuery('.b2s-mail-update-area').hide();
17
- jQuery('.b2s-mail-update-success').show();
18
- } else {
19
- jQuery('#b2s-mail-update-input').addClass('error');
20
- }
21
- return false;
22
- });
23
-
24
-
25
- jQuery(window).on("load", function () {
26
- jQuery('.b2s-faq-area').show();
27
- if (typeof wp.heartbeat == "undefined") {
28
- jQuery('#b2s-heartbeat-fail').show();
29
- }
30
- jQuery.ajax({
31
- url: ajaxurl,
32
- type: "POST",
33
- dataType: "json",
34
- cache: false,
35
- data:{
36
- 'action' : 'b2s_get_faq_entries'
37
- },
38
- error: function () {
39
- jQuery('.b2s-faq-area').hide();
40
- return false;
41
- },
42
- success: function (data) {
43
- if (data.result == true) {
44
- jQuery('.b2s-loading-area-faq').hide();
45
- jQuery('.b2s-faq-content').html(data.content);
46
- } else {
47
- jQuery('.b2s-faq-area').hide();
48
- }
49
- }
50
- });
51
-
52
- });
53
-
54
- /* Content-Widget */
55
- (function (){
56
- if(jQuery('.b2s-dashboard-multi-widget').length > 0)
57
- {
58
- var data = [];
59
-
60
- jQuery.ajax({
61
- url: ajaxurl,
62
- type: "GET",
63
- dataType: "json",
64
- data: {
65
- 'action': 'b2s_get_multi_widget_content',
66
- },
67
- success: function (content) {
68
- data = content;
69
-
70
- widget.data('position',new Date().getSeconds() % data.length);
71
- show();
72
-
73
- setInterval(function(){
74
- jQuery('.b2s-dashboard-multi-widget .glyphicon-chevron-left').trigger("click");
75
- },30000);
76
- }
77
-
78
- });
79
-
80
- var widget = jQuery('.b2s-dashboard-multi-widget');
81
-
82
- jQuery('.b2s-dashboard-multi-widget .glyphicon-chevron-right').on("click",function(){
83
- widget.data('position',widget.data('position')*1+1);
84
- show(widget);
85
- });
86
-
87
- jQuery('.b2s-dashboard-multi-widget .glyphicon-chevron-left').on("click",function(){
88
- widget.data('position',widget.data('position')*1-1);
89
- show(widget);
90
- });
91
-
92
- function show()
93
- {
94
- if(widget.data('position') <0)
95
- {
96
- widget.data('position',data.length - 1);
97
- }
98
- else if(widget.data('position') > data.length-1)
99
- {
100
- widget.data('position',0);
101
- }
102
-
103
- var id = widget.data('position');
104
-
105
- widget.find('.b2s-dashboard-multi-widget-content').html(data[id]['content']);
106
- widget.find('.b2s-dashboard-h5').text(data[id]['title']);
107
- }
108
- }
109
- })();
110
-
111
- /* Aktivity-Chart*/
112
- /*jQuery(document).ready(function(){
113
- if(typeof(google) != "undefined") {
114
- google.charts.load('current', {packages: ['corechart', 'bar'], 'language': jQuery('#b2s-activity-date-picker').data('language')});
115
- google.charts.setOnLoadCallback(drawBasic);
116
-
117
- function drawBasic() {
118
-
119
- jQuery.ajax({
120
- url: ajaxurl,
121
- type: "GET",
122
- dataType: "json",
123
- data: {
124
- 'action': 'b2s_get_stats',
125
- 'from': jQuery('#b2s-activity-date-picker').val()
126
- },
127
- success: function (content) {
128
- var activity_chart_data = [];
129
-
130
- jQuery(Object.keys(content)).each(function () {
131
- var date = new Date(this);
132
- activity_chart_data.push([{
133
- v: date,
134
- f: jQuery('#b2s-activity-date-picker').data('language') == "de" ? date.getDay() + '.' + date.getMonth() + '.' + date.getFullYear() : date.getFullYear() + '-' + date.getMonth() + '-' + date.getDay()
135
- }, content[this][0], content[this][1]]);
136
- });
137
-
138
- var data = new google.visualization.DataTable();
139
- data.addColumn('date', 'Date');
140
- data.addColumn('number', jQuery("#chart_div").data('text-published'))
141
- data.addColumn('number', jQuery("#chart_div").data('text-scheduled'))
142
-
143
- data.addRows(activity_chart_data);
144
-
145
- var options = {
146
- title: '',
147
- legend: {position: 'bottom'},
148
- vAxis: {
149
- format: '#'
150
- },
151
- colors: ['#79B232', '#dddddd']
152
- };
153
-
154
- var chart = new google.visualization.ColumnChart(
155
- document.getElementById('chart_div'));
156
-
157
- chart.draw(data, options);
158
- }
159
-
160
- });
161
- }
162
-
163
- jQuery('#b2s-activity-date-picker').b2sdatepicker({
164
- 'autoClose': true,
165
- 'toggleSelected': true,
166
- 'minutesStep': 15
167
- });
168
- jQuery('#b2s-activity-date-picker').on("selectDate", function () {
169
- jQuery('#chart_div').html("<div class=\"b2s-loading-area\">\n" +
170
- " <br>\n" +
171
- " <div class=\"b2s-loader-impulse b2s-loader-impulse-md\"></div>\n" +
172
- " <div class=\"clearfix\"></div>\n" +
173
- " </div>");
174
-
175
- //Warten bis das Event durch ist...
176
- setTimeout(drawBasic);
177
- });
178
- }
179
- });*/
180
-
181
-
182
-
183
- function isMail(mail) {
184
- var regex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
185
- return regex.test(mail);
186
- }
187
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.noConflict();
2
+
3
+ jQuery(document).on('click', '.b2s-mail-btn', function () {
4
+ if (isMail(jQuery('#b2s-mail-update-input').val())) {
5
+ jQuery.ajax({
6
+ url: ajaxurl,
7
+ type: "POST",
8
+ dataType: "json",
9
+ cache: false,
10
+ data: {
11
+ 'action': 'b2s_post_mail_update',
12
+ 'email': jQuery('#b2s-mail-update-input').val(),
13
+ 'lang': jQuery('#user_lang').val()
14
+ }
15
+ });
16
+ jQuery('.b2s-mail-update-area').hide();
17
+ jQuery('.b2s-mail-update-success').show();
18
+ } else {
19
+ jQuery('#b2s-mail-update-input').addClass('error');
20
+ }
21
+ return false;
22
+ });
23
+
24
+
25
+ jQuery(window).on("load", function () {
26
+ jQuery('.b2s-faq-area').show();
27
+ if (typeof wp.heartbeat == "undefined") {
28
+ jQuery('#b2s-heartbeat-fail').show();
29
+ }
30
+ jQuery.ajax({
31
+ url: ajaxurl,
32
+ type: "POST",
33
+ dataType: "json",
34
+ cache: false,
35
+ data:{
36
+ 'action' : 'b2s_get_faq_entries'
37
+ },
38
+ error: function () {
39
+ jQuery('.b2s-faq-area').hide();
40
+ return false;
41
+ },
42
+ success: function (data) {
43
+ if (data.result == true) {
44
+ jQuery('.b2s-loading-area-faq').hide();
45
+ jQuery('.b2s-faq-content').html(data.content);
46
+ } else {
47
+ jQuery('.b2s-faq-area').hide();
48
+ }
49
+ }
50
+ });
51
+
52
+ });
53
+
54
+ /* Content-Widget */
55
+ (function (){
56
+ if(jQuery('.b2s-dashboard-multi-widget').length > 0)
57
+ {
58
+ var data = [];
59
+
60
+ jQuery.ajax({
61
+ url: ajaxurl,
62
+ type: "GET",
63
+ dataType: "json",
64
+ data: {
65
+ 'action': 'b2s_get_multi_widget_content',
66
+ },
67
+ success: function (content) {
68
+ data = content;
69
+
70
+ widget.data('position',new Date().getSeconds() % data.length);
71
+ show();
72
+
73
+ setInterval(function(){
74
+ jQuery('.b2s-dashboard-multi-widget .glyphicon-chevron-left').trigger("click");
75
+ },30000);
76
+ }
77
+
78
+ });
79
+
80
+ var widget = jQuery('.b2s-dashboard-multi-widget');
81
+
82
+ jQuery('.b2s-dashboard-multi-widget .glyphicon-chevron-right').on("click",function(){
83
+ widget.data('position',widget.data('position')*1+1);
84
+ show(widget);
85
+ });
86
+
87
+ jQuery('.b2s-dashboard-multi-widget .glyphicon-chevron-left').on("click",function(){
88
+ widget.data('position',widget.data('position')*1-1);
89
+ show(widget);
90
+ });
91
+
92
+ function show()
93
+ {
94
+ if(widget.data('position') <0)
95
+ {
96
+ widget.data('position',data.length - 1);
97
+ }
98
+ else if(widget.data('position') > data.length-1)
99
+ {
100
+ widget.data('position',0);
101
+ }
102
+
103
+ var id = widget.data('position');
104
+
105
+ widget.find('.b2s-dashboard-multi-widget-content').html(data[id]['content']);
106
+ widget.find('.b2s-dashboard-h5').text(data[id]['title']);
107
+ }
108
+ }
109
+ })();
110
+
111
+ /* Aktivity-Chart*/
112
+ jQuery(document).ready(function(){
113
+ function drawBasic() {
114
+ jQuery('#chart_div').html("<div class=\"b2s-loading-area\">\n" +
115
+ " <br>\n" +
116
+ " <div class=\"b2s-loader-impulse b2s-loader-impulse-md\"></div>\n" +
117
+ " <div class=\"clearfix\"></div>\n" +
118
+ " </div>");
119
+ jQuery.ajax({
120
+ url: ajaxurl,
121
+ type: "GET",
122
+ dataType: "json",
123
+ data: {
124
+ 'action': 'b2s_get_stats',
125
+ 'from': jQuery('#b2s-activity-date-picker').val()
126
+ },
127
+ success: function (content) {
128
+ jQuery('#chart_div').html("<canvas id=\"b2s_activity_chart\" style=\"max-width:690px !important; max-height:320px !important;\"></canvas>");
129
+ var ctx = document.getElementById("b2s_activity_chart").getContext('2d');
130
+ var published = [];
131
+ var published_colors = [];
132
+ var scheduled = [];
133
+ var scheduled_colors = [];
134
+
135
+ function dateToYMD(date) {
136
+ var d = date.getDate();
137
+ var m = date.getMonth() + 1;
138
+ var y = date.getFullYear();
139
+ return '' + y + '-' + (m <= 9 ? '0' + m : m) + '-' + (d <= 9 ? '0' + d : d);
140
+ }
141
+
142
+ function dateToDMY(date) {
143
+ var d = date.getDate();
144
+ var m = date.getMonth() + 1;
145
+ var y = date.getFullYear();
146
+ return '' + (d <= 9 ? '0' + d : d) + '.' + (m <= 9 ? '0' + m : m) + '.' + y;
147
+ }
148
+
149
+ jQuery(Object.keys(content)).each(function () {
150
+ if (published.length > 0) {
151
+ var diff = parseInt((new Date(published[published.length - 1].x).getTime() - new Date(this).getTime()) / (24 * 3600 * 1000));
152
+
153
+ while (diff < -1) {
154
+ var date = new Date(published[published.length - 1].x.toString());
155
+ var newDate = new Date(date.setTime(date.getTime() + 86400000));
156
+ published.push({x: dateToYMD(newDate), y: 0});
157
+ published_colors.push('rgba(121,178,50,0.8)');
158
+ scheduled_colors.push('rgba(192,192,192,0.8)');
159
+ scheduled.push({x: dateToYMD(newDate), y: 0});
160
+
161
+ diff = parseInt((new Date(published[published.length - 1].x).getTime() - new Date(this).getTime()) / (24 * 3600 * 1000));
162
+ }
163
+ }
164
+
165
+ published.push({x: this.toString(), y: content[this][0]});
166
+ published_colors.push('rgba(121,178,50,0.8)');
167
+ scheduled_colors.push('rgba(192,192,192,0.8)');
168
+ scheduled.push({x: this.toString(), y: content[this][1]});
169
+ });
170
+
171
+ var unit = "day";
172
+ if(published.length > 100)
173
+ {
174
+ unit = "month";
175
+ }
176
+
177
+ var myChart = new Chart(ctx, {
178
+ type: 'bar',
179
+ data: {
180
+ datasets: [{
181
+ label: jQuery("#chart_div").data('text-published'),
182
+ data: published,
183
+ backgroundColor: published_colors
184
+ }, {
185
+ label: jQuery("#chart_div").data('text-scheduled'),
186
+ data: scheduled,
187
+ backgroundColor: scheduled_colors
188
+ }]
189
+ },
190
+ options: {
191
+ tooltips: {
192
+ callbacks: {
193
+ title: function(tooltipItem) {
194
+ if(jQuery("#chart_div").data('language') == "de") {
195
+ var date = new Date(tooltipItem[0].xLabel);
196
+ return dateToDMY(date);
197
+ }
198
+ else{
199
+ return tooltipItem[0].xLabel
200
+ }
201
+ }
202
+ }
203
+ },
204
+ scales: {
205
+ xAxes: [{
206
+ type: "time",
207
+ time: {
208
+ unit: unit
209
+ }
210
+ }
211
+ ],
212
+ yAxes: [{
213
+ ticks: {
214
+ beginAtZero: true
215
+ }
216
+ }]
217
+ }
218
+ }
219
+ });
220
+ }
221
+
222
+ });
223
+ }
224
+ drawBasic();
225
+
226
+ jQuery('#b2s-activity-date-picker').b2sdatepicker({
227
+ 'autoClose': true,
228
+ 'toggleSelected': true,
229
+ 'minutesStep': 15
230
+ });
231
+ jQuery('#b2s-activity-date-picker').on("selectDate", function(){
232
+ setTimeout(drawBasic);
233
+ });
234
+ });
235
+
236
+
237
+
238
+ function isMail(mail) {
239
+ var regex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
240
+ return regex.test(mail);
241
+ }
242
+
assets/js/b2s/wp/post-box.js CHANGED
@@ -1,214 +1,214 @@
1
- jQuery(document).on('heartbeat-send', function (e, data) {
2
- data['b2s_heartbeat'] = 'b2s_listener';
3
- data['b2s_heartbeat_action'] = 'b2s_auto_posting';
4
- });
5
-
6
- jQuery(window).on("load", function () {
7
- if (typeof wp.heartbeat == "undefined") {
8
- jQuery('#b2s-heartbeat-fail').show();
9
- jQuery('.b2s-loading-area').hide();
10
- } else {
11
- if (!b2sIsValidUrl(jQuery('#b2s-home-url').val())) {
12
- jQuery('#b2s-url-valid-warning').show();
13
- } else {
14
- jQuery('#b2s-url-valid-warning').hide();
15
- }
16
- }
17
- if (jQuery('#b2s-post-meta-box-time-dropdown-publish').is(':checked')) {
18
- if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
19
- jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
20
- }else {
21
- if (jQuery('#b2s-post-meta-box-profil-dropdown').length == 0) {
22
- jQuery('.b2s-loading-area').show();
23
- jQuery.ajax({
24
- url: ajaxurl,
25
- type: "POST",
26
- dataType: "json",
27
- cache: false,
28
- data: {
29
- 'action': 'b2s_post_meta_box'
30
- },
31
- error: function () {
32
- jQuery('.b2s-loading-area').hide();
33
- jQuery('#b2s-server-connection-fail').show();
34
- return false;
35
- },
36
- success: function (data) {
37
- jQuery('.b2s-loading-area').hide();
38
- if (data.result == true) {
39
- if (data.content != '') {
40
- jQuery('.b2s-loading-area').after(data.content);
41
- var today = new Date();
42
- if (today.getMinutes() >= 30) {
43
- today.setHours(today.getHours() + 1);
44
- today.setMinutes(0);
45
- } else {
46
- today.setMinutes(30);
47
- }
48
- var setTodayDate = today.getFullYear() + '-' + (padDate(today.getMonth() + 1)) + '-' + padDate(today.getDate()) + ' ' + formatAMPM(today);
49
- if (jQuery('#b2sUserLang').val() == 'de') {
50
- setTodayDate = padDate(today.getDate()) + '.' + (padDate(today.getMonth() + 1)) + '.' + today.getFullYear() + ' ' + padDate(today.getHours()) + ':' + padDate(today.getMinutes());
51
- }
52
- jQuery('#b2s-post-meta-box-sched-date-picker').val(setTodayDate);
53
- jQuery('#b2s-post-meta-box-sched-date-picker').b2sdatepicker({'autoClose': true, 'toggleSelected': false, 'minutesStep': 15, 'minDate': today, 'startDate': today, 'todayButton': today});
54
- jQuery('#b2s-post-meta-box-profil-dropdown [value="' + jQuery('#b2s-user-last-selected-profile-id').val() + '"]').prop('selected', true).trigger('change');
55
-
56
- } else {
57
- jQuery('#b2s-server-connection-fail').show();
58
- }
59
- wp.heartbeat.connectNow();
60
- } else {
61
- jQuery('#b2s-server-connection-fail').show();
62
- }
63
- }
64
- });
65
- }
66
- }
67
- }
68
- });
69
-
70
- jQuery(document).on('click', '#b2s-meta-box-btn-customize', function () {
71
- var postStatus = jQuery('#b2s-post-status').val();
72
- if (postStatus != 'publish' && postStatus != 'future') {
73
- jQuery('#b2s-post-meta-box-state-no-publish-future-customize').show();
74
- } else {
75
- jQuery('#b2s-post-meta-box-state-no-publish-future-customize').hide();
76
- window.location.href = jQuery('#b2s-redirect-url-customize').val();
77
- }
78
- });
79
-
80
-
81
- jQuery(document).on('click', '#b2s-post-meta-box-time-dropdown-publish', function () {
82
- if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
83
- jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
84
- jQuery('#b2s-post-meta-box-note-trial').show();
85
- } else {
86
- jQuery('#b2s-post-meta-box-note-trial').hide();
87
- if (jQuery('#b2s-post-meta-box-profil-dropdown').length == 0) {
88
- jQuery('.b2s-loading-area').show();
89
- jQuery.ajax({
90
- url: ajaxurl,
91
- type: "POST",
92
- dataType: "json",
93
- cache: false,
94
- data: {
95
- 'action': 'b2s_post_meta_box'
96
- },
97
- error: function () {
98
- jQuery('.b2s-loading-area').hide();
99
- jQuery('#b2s-server-connection-fail').show();
100
- return false;
101
- },
102
- success: function (data) {
103
- jQuery('.b2s-loading-area').hide();
104
- if (data.result == true) {
105
- if (data.content != '') {
106
- jQuery('.b2s-loading-area').after(data.content);
107
- var today = new Date();
108
- if (today.getMinutes() >= 30) {
109
- today.setHours(today.getHours() + 1);
110
- today.setMinutes(0);
111
- } else {
112
- today.setMinutes(30);
113
- }
114
- var setTodayDate = today.getFullYear() + '-' + (padDate(today.getMonth() + 1)) + '-' + padDate(today.getDate()) + ' ' + formatAMPM(today);
115
- if (jQuery('#b2sUserLang').val() == 'de') {
116
- setTodayDate = padDate(today.getDate()) + '.' + (padDate(today.getMonth() + 1)) + '.' + today.getFullYear() + ' ' + padDate(today.getHours()) + ':' + padDate(today.getMinutes());
117
- }
118
- jQuery('#b2s-post-meta-box-sched-date-picker').val(setTodayDate);
119
- jQuery('#b2s-post-meta-box-sched-date-picker').b2sdatepicker({'autoClose': true, 'toggleSelected': false, 'minutesStep': 15, 'minDate': today, 'startDate': today, 'todayButton': today});
120
- jQuery('#b2s-post-meta-box-profil-dropdown [value="' + jQuery('#b2s-user-last-selected-profile-id').val() + '"]').prop('selected', true).trigger('change');
121
-
122
- } else {
123
- jQuery('#b2s-server-connection-fail').show();
124
- }
125
- wp.heartbeat.connectNow();
126
- } else {
127
- jQuery('#b2s-server-connection-fail').show();
128
- }
129
- }
130
- });
131
- }
132
- }
133
- });
134
-
135
- jQuery(document).on('change', '.b2s-post-meta-box-sched-select', function () {
136
- if (jQuery(this).val() == '1') {
137
- if (jQuery('#b2s-post-meta-box-version').val() > 1) {
138
- jQuery('.b2s-post-meta-box-sched-once').show();
139
- } else {
140
- jQuery(this).val('0');
141
- jQuery('#b2s-post-meta-box-note-premium').show();
142
- }
143
- } else {
144
- jQuery('.b2s-post-meta-box-sched-once').hide();
145
- }
146
- });
147
-
148
-
149
- jQuery(document).on('click', '#publish', function () {
150
- //Check is Auto-Post-Import active
151
- if (jQuery('#autoPostImportIsActive').length > 0) {
152
- if (jQuery('#autoPostImportIsActive').val() == "1") {
153
- jQuery.ajax({
154
- url: ajaxurl,
155
- type: "POST",
156
- dataType: "json",
157
- cache: false,
158
- data: {
159
- 'action': 'b2s_lock_auto_post_import',
160
- 'userId': jQuery('#b2sBlogUserId').val()
161
- }
162
- });
163
- }
164
- }
165
- });
166
- jQuery(document).on('click', '.b2s-btn-close-meta-box', function () {
167
- jQuery('#' + jQuery(this).attr('data-area-id')).hide();
168
- return false;
169
- });
170
-
171
- jQuery(document).on('click', '.b2s-info-btn', function () {
172
- jQuery('html, body').animate({scrollTop: jQuery("body").offset().top}, 1);
173
- jQuery('#' + jQuery(this).attr('data-modal-target')).show();
174
- });
175
- jQuery(document).on('click', '.b2s-meta-box-modal-btn-close', function () {
176
- jQuery('#' + jQuery(this).attr('data-modal-target')).hide();
177
- });
178
-
179
- jQuery(document).on('change', '#b2s-post-meta-box-profil-dropdown', function () {
180
- if (jQuery('#b2s-post-meta-box-profil-data-' + jQuery(this).val()).val() == "") {
181
- jQuery('#b2s-post-meta-box-state-no-auth').show();
182
- } else {
183
- jQuery('#b2s-post-meta-box-state-no-auth').hide();
184
- }
185
- });
186
-
187
- function b2sIsValidUrl(str) {
188
- var pattern = new RegExp(/^(https?:\/\/)?[a-zA-Z0-99ÄÖÜöäü-]+([\-\.]{1}[a-zA-Z0-99ÄÖÜöäü-]+)*\.[a-zA-Z0-9-]{2,20}(:[0-9]{1,5})?(\/.*)?$/);
189
- if (!pattern.test(str)) {
190
- return false;
191
- }
192
- return true;
193
- }
194
-
195
- function padDate(n) {
196
- return ("0" + n).slice(-2);
197
- }
198
-
199
-
200
- function formatAMPM(date) {
201
- var hours = date.getHours();
202
- var minutes = date.getMinutes();
203
- var ampm = hours >= 12 ? 'pm' : 'am';
204
- hours = hours % 12;
205
- hours = hours ? hours : 12; // the hour '0' should be '12'
206
- minutes = minutes < 10 ? '0' + minutes : minutes;
207
- var strTime = hours + ':' + minutes + ' ' + ampm;
208
- return strTime;
209
- }
210
-
211
-
212
-
213
-
214
-
1
+ jQuery(document).on('heartbeat-send', function (e, data) {
2
+ data['b2s_heartbeat'] = 'b2s_listener';
3
+ data['b2s_heartbeat_action'] = 'b2s_auto_posting';
4
+ });
5
+
6
+ jQuery(window).on("load", function () {
7
+ if (typeof wp.heartbeat == "undefined") {
8
+ jQuery('#b2s-heartbeat-fail').show();
9
+ jQuery('.b2s-loading-area').hide();
10
+ } else {
11
+ if (!b2sIsValidUrl(jQuery('#b2s-home-url').val())) {
12
+ jQuery('#b2s-url-valid-warning').show();
13
+ } else {
14
+ jQuery('#b2s-url-valid-warning').hide();
15
+ }
16
+ }
17
+ if (jQuery('#b2s-post-meta-box-time-dropdown-publish').is(':checked')) {
18
+ if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
19
+ jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
20
+ }else {
21
+ if (jQuery('#b2s-post-meta-box-profil-dropdown').length == 0) {
22
+ jQuery('.b2s-loading-area').show();
23
+ jQuery.ajax({
24
+ url: ajaxurl,
25
+ type: "POST",
26
+ dataType: "json",
27
+ cache: false,
28
+ data: {
29
+ 'action': 'b2s_post_meta_box'
30
+ },
31
+ error: function () {
32
+ jQuery('.b2s-loading-area').hide();
33
+ jQuery('#b2s-server-connection-fail').show();
34
+ return false;
35
+ },
36
+ success: function (data) {
37
+ jQuery('.b2s-loading-area').hide();
38
+ if (data.result == true) {
39
+ if (data.content != '') {
40
+ jQuery('.b2s-loading-area').after(data.content);
41
+ var today = new Date();
42
+ if (today.getMinutes() >= 30) {
43
+ today.setHours(today.getHours() + 1);
44
+ today.setMinutes(0);
45
+ } else {
46
+ today.setMinutes(30);
47
+ }
48
+ var setTodayDate = today.getFullYear() + '-' + (padDate(today.getMonth() + 1)) + '-' + padDate(today.getDate()) + ' ' + formatAMPM(today);
49
+ if (jQuery('#b2sUserLang').val() == 'de') {
50
+ setTodayDate = padDate(today.getDate()) + '.' + (padDate(today.getMonth() + 1)) + '.' + today.getFullYear() + ' ' + padDate(today.getHours()) + ':' + padDate(today.getMinutes());
51
+ }
52
+ jQuery('#b2s-post-meta-box-sched-date-picker').val(setTodayDate);
53
+ jQuery('#b2s-post-meta-box-sched-date-picker').b2sdatepicker({'autoClose': true, 'toggleSelected': false, 'minutesStep': 15, 'minDate': today, 'startDate': today, 'todayButton': today});
54
+ jQuery('#b2s-post-meta-box-profil-dropdown [value="' + jQuery('#b2s-user-last-selected-profile-id').val() + '"]').prop('selected', true).trigger('change');
55
+
56
+ } else {
57
+ jQuery('#b2s-server-connection-fail').show();
58
+ }
59
+ wp.heartbeat.connectNow();
60
+ } else {
61
+ jQuery('#b2s-server-connection-fail').show();
62
+ }
63
+ }
64
+ });
65
+ }
66
+ }
67
+ }
68
+ });
69
+
70
+ jQuery(document).on('click', '#b2s-meta-box-btn-customize', function () {
71
+ var postStatus = jQuery('#b2s-post-status').val();
72
+ if (postStatus != 'publish' && postStatus != 'future') {
73
+ jQuery('#b2s-post-meta-box-state-no-publish-future-customize').show();
74
+ } else {
75
+ jQuery('#b2s-post-meta-box-state-no-publish-future-customize').hide();
76
+ window.location.href = jQuery('#b2s-redirect-url-customize').val();
77
+ }
78
+ });
79
+
80
+
81
+ jQuery(document).on('click', '#b2s-post-meta-box-time-dropdown-publish', function () {
82
+ if (jQuery('#b2s-post-meta-box-version').val() == "0" && jQuery(this).val() == "publish") {
83
+ jQuery('#b2s-post-meta-box-time-dropdown-publish').prop('checked', false);
84
+ jQuery('#b2s-post-meta-box-note-trial').show();
85
+ } else {
86
+ jQuery('#b2s-post-meta-box-note-trial').hide();
87
+ if (jQuery('#b2s-post-meta-box-profil-dropdown').length == 0) {
88
+ jQuery('.b2s-loading-area').show();
89
+ jQuery.ajax({
90
+ url: ajaxurl,
91
+ type: "POST",
92
+ dataType: "json",
93
+ cache: false,
94
+ data: {
95
+ 'action': 'b2s_post_meta_box'
96
+ },
97
+ error: function () {
98
+ jQuery('.b2s-loading-area').hide();
99
+ jQuery('#b2s-server-connection-fail').show();
100
+ return false;
101
+ },
102
+ success: function (data) {
103
+ jQuery('.b2s-loading-area').hide();
104
+ if (data.result == true) {
105
+ if (data.content != '') {
106
+ jQuery('.b2s-loading-area').after(data.content);
107
+ var today = new Date();
108
+ if (today.getMinutes() >= 30) {
109
+ today.setHours(today.getHours() + 1);
110
+ today.setMinutes(0);
111
+ } else {
112
+ today.setMinutes(30);
113
+ }
114
+ var setTodayDate = today.getFullYear() + '-' + (padDate(today.getMonth() + 1)) + '-' + padDate(today.getDate()) + ' ' + formatAMPM(today);
115
+ if (jQuery('#b2sUserLang').val() == 'de') {
116
+ setTodayDate = padDate(today.getDate()) + '.' + (padDate(today.getMonth() + 1)) + '.' + today.getFullYear() + ' ' + padDate(today.getHours()) + ':' + padDate(today.getMinutes());
117
+ }
118
+ jQuery('#b2s-post-meta-box-sched-date-picker').val(setTodayDate);
119
+ jQuery('#b2s-post-meta-box-sched-date-picker').b2sdatepicker({'autoClose': true, 'toggleSelected': false, 'minutesStep': 15, 'minDate': today, 'startDate': today, 'todayButton': today});
120
+ jQuery('#b2s-post-meta-box-profil-dropdown [value="' + jQuery('#b2s-user-last-selected-profile-id').val() + '"]').prop('selected', true).trigger('change');
121
+
122
+ } else {
123
+ jQuery('#b2s-server-connection-fail').show();
124
+ }
125
+ wp.heartbeat.connectNow();
126
+ } else {
127
+ jQuery('#b2s-server-connection-fail').show();
128
+ }
129
+ }
130
+ });
131
+ }
132
+ }
133
+ });
134
+
135
+ jQuery(document).on('change', '.b2s-post-meta-box-sched-select', function () {
136
+ if (jQuery(this).val() == '1') {
137
+ if (jQuery('#b2s-post-meta-box-version').val() > 1) {
138
+ jQuery('.b2s-post-meta-box-sched-once').show();
139
+ } else {
140
+ jQuery(this).val('0');
141
+ jQuery('#b2s-post-meta-box-note-premium').show();
142
+ }
143
+ } else {
144
+ jQuery('.b2s-post-meta-box-sched-once').hide();
145
+ }
146
+ });
147
+
148
+
149
+ jQuery(document).on('click', '#publish', function () {
150
+ //Check is Auto-Post-Import active
151
+ if (jQuery('#autoPostImportIsActive').length > 0) {
152
+ if (jQuery('#autoPostImportIsActive').val() == "1") {
153
+ jQuery.ajax({
154
+ url: ajaxurl,
155
+ type: "POST",
156
+ dataType: "json",
157
+ cache: false,
158
+ data: {
159
+ 'action': 'b2s_lock_auto_post_import',
160
+ 'userId': jQuery('#b2sBlogUserId').val()
161
+ }
162
+ });
163
+ }
164
+ }
165
+ });
166
+ jQuery(document).on('click', '.b2s-btn-close-meta-box', function () {
167
+ jQuery('#' + jQuery(this).attr('data-area-id')).hide();
168
+ return false;
169
+ });
170
+
171
+ jQuery(document).on('click', '.b2s-info-btn', function () {
172
+ jQuery('html, body').animate({scrollTop: jQuery("body").offset().top}, 1);
173
+ jQuery('#' + jQuery(this).attr('data-modal-target')).show();
174
+ });
175
+ jQuery(document).on('click', '.b2s-meta-box-modal-btn-close', function () {
176
+ jQuery('#' + jQuery(this).attr('data-modal-target')).hide();
177
+ });
178
+
179
+ jQuery(document).on('change', '#b2s-post-meta-box-profil-dropdown', function () {
180
+ if (jQuery('#b2s-post-meta-box-profil-data-' + jQuery(this).val()).val() == "") {
181
+ jQuery('#b2s-post-meta-box-state-no-auth').show();
182
+ } else {
183
+ jQuery('#b2s-post-meta-box-state-no-auth').hide();
184
+ }
185
+ });
186
+
187
+ function b2sIsValidUrl(str) {
188
+ var pattern = new RegExp(/^(https?:\/\/)?[a-zA-Z0-99ÄÖÜöäü-]+([\-\.]{1}[a-zA-Z0-99ÄÖÜöäü-]+)*\.[a-zA-Z0-9-]{2,20}(:[0-9]{1,5})?(\/.*)?$/);
189
+ if (!pattern.test(str)) {
190
+ return false;
191
+ }
192
+ return true;
193
+ }
194
+
195
+ function padDate(n) {
196
+ return ("0" + n).slice(-2);
197
+ }
198
+
199
+
200
+ function formatAMPM(date) {
201
+ var hours = date.getHours();
202
+ var minutes = date.getMinutes();
203
+ var ampm = hours >= 12 ? 'pm' : 'am';
204
+ hours = hours % 12;
205
+ hours = hours ? hours : 12; // the hour '0' should be '12'
206
+ minutes = minutes < 10 ? '0' + minutes : minutes;
207
+ var strTime = hours + ':' + minutes + ' ' + ampm;
208
+ return strTime;
209
+ }
210
+
211
+
212
+
213
+
214
+
assets/js/prg/login.js CHANGED
@@ -1,50 +1,50 @@
1
- jQuery(document).on('click', '#prgLoginBtn', function () {
2
- jQuery("#prgLoginInfoFail").hide();
3
- jQuery("#prgLoginInfoSSL").hide();
4
- var postId = jQuery('#postId').val();
5
- jQuery("#prgLogin").validate({
6
- ignore: "",
7
- rules: {
8
- username: {
9
- required: true
10
- },
11
- password: {
12
- required: true
13
- }
14
- },
15
- errorPlacement: function () {
16
- return false;
17
- },
18
- submitHandler: function (form) {
19
- jQuery.ajax({
20
- url: ajaxurl,
21
- type: "POST",
22
- dataType: "json",
23
- cache: false,
24
- data: {
25
- 'action': 'b2s_prg_login',
26
- 'postId': postId,
27
- 'username': jQuery('#username').val(),
28
- 'password': jQuery('#password').val()
29
- },
30
- success: function (data) {
31
- if (data.result == false) {
32
- var errorCode = unescape(data.error);
33
- if (errorCode == "2") {
34
- jQuery("#prgLoginInfoSSL").show();
35
- } else {
36
- jQuery("#prgLoginInfoFail").show();
37
- }
38
- } else {
39
- window.location.href = window.location.pathname + "?page=prg-ship&postId=" + postId;
40
- }
41
- return false;
42
- }
43
- });
44
- }
45
- });
46
- });
47
-
48
-
49
-
50
-
1
+ jQuery(document).on('click', '#prgLoginBtn', function () {
2
+ jQuery("#prgLoginInfoFail").hide();
3
+ jQuery("#prgLoginInfoSSL").hide();
4
+ var postId = jQuery('#postId').val();
5
+ jQuery("#prgLogin").validate({
6
+ ignore: "",
7
+ rules: {
8
+ username: {
9
+ required: true
10
+ },
11
+ password: {
12
+ required: true
13
+ }
14
+ },
15
+ errorPlacement: function () {
16
+ return false;
17
+ },
18
+ submitHandler: function (form) {
19
+ jQuery.ajax({
20
+ url: ajaxurl,
21
+ type: "POST",
22
+ dataType: "json",
23
+ cache: false,
24
+ data: {
25
+ 'action': 'b2s_prg_login',
26
+ 'postId': postId,
27
+ 'username': jQuery('#username').val(),
28
+ 'password': jQuery('#password').val()
29
+ },
30
+ success: function (data) {
31
+ if (data.result == false) {
32
+ var errorCode = unescape(data.error);
33
+ if (errorCode == "2") {
34
+ jQuery("#prgLoginInfoSSL").show();
35
+ } else {
36
+ jQuery("#prgLoginInfoFail").show();
37
+ }
38
+ } else {
39
+ window.location.href = window.location.pathname + "?page=prg-ship&postId=" + postId;
40
+ }
41
+ return false;
42
+ }
43
+ });
44
+ }
45
+ });
46
+ });
47
+
48
+
49
+
50
+
assets/js/prg/post.js CHANGED
@@ -1,11 +1,11 @@
1
- function showFilter(typ) {
2
- if (typ == 'show') {
3
- jQuery('.filterShow').hide();
4
- jQuery('.form-inline').show();
5
- jQuery('.filterHide').show();
6
- } else {
7
- jQuery('.filterShow').show();
8
- jQuery('.form-inline').hide();
9
- jQuery('.filterHide').hide();
10
- }
11
- }
1
+ function showFilter(typ) {
2
+ if (typ == 'show') {
3
+ jQuery('.filterShow').hide();
4
+ jQuery('.form-inline').show();
5
+ jQuery('.filterHide').show();
6
+ } else {
7
+ jQuery('.filterShow').show();
8
+ jQuery('.form-inline').hide();
9
+ jQuery('.filterHide').hide();
10
+ }
11
+ }
assets/lib/chartjs/Chart.bundle.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Chart.js
3
+ * http://chartjs.org/
4
+ * Version: 2.7.1
5
+ *
6
+ * Copyright 2017 Nick Downie
7
+ * Released under the MIT license
8
+ * https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
9
+ */
10
+ !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}}(function(){return function t(e,n,i){function a(o,s){if(!n[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(r)return r(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[o]={exports:{}};e[o][0].call(d.exports,function(t){var n=e[o][1][t];return a(n||t)},d,d.exports,t,e,n,i)}return n[o].exports}for(var r="function"==typeof require&&require,o=0;o<i.length;o++)a(i[o]);return a}({1:[function(t,e,n){function i(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(a=0;a<e.length;a++)e[a]=parseInt(i[a]+i[a],16)}else if(i=t.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(a=0;a<e.length;a++)e[a]=parseInt(i.slice(2*a,2*a+2),16)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=c[i[1]]))return}for(var a=0;a<e.length;a++)e[a]=u(e[a],0,255);return n=n||0==n?u(n,0,1):1,e[3]=n,e}}function a(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function r(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function o(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function s(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function l(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function u(t,e,n){return Math.min(Math.max(e,t),n)}function d(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var c=t(5);e.exports={getRgba:i,getHsla:a,getRgb:function(t){var e=i(t);return e&&e.slice(0,3)},getHsl:function(t){var e=a(t);return e&&e.slice(0,3)},getHwb:r,getAlpha:function(t){var e=i(t);return e?e[3]:(e=a(t))?e[3]:(e=r(t))?e[3]:void 0},hexString:function(t){return"#"+d(t[0])+d(t[1])+d(t[2])},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?o(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:o,percentString:function(t,e){return e<1||t[3]&&t[3]<1?s(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:s,hslString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:l,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return h[t.slice(0,3)]}};var h={};for(var f in c)h[c[f]]=f},{5:5}],2:[function(t,e,n){var i=t(4),a=t(1),r=function(t){if(t instanceof r)return t;if(!(this instanceof r))return new r(t);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var e;"string"==typeof t?(e=a.getRgba(t))?this.setValues("rgb",e):(e=a.getHsla(t))?this.setValues("hsl",e):(e=a.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e))};r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return a.hexString(this.values.rgb)},rgbString:function(){return a.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return a.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return a.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return a.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return a.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return a.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return a.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,a=void 0===e?.5:e,r=2*a-1,o=n.alpha()-i.alpha(),s=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new r,i=this.values,a=n.values;for(var o in i)i.hasOwnProperty(o)&&(t=i[o],"[object Array]"===(e={}.toString.call(t))?a[o]=t.slice(0):"[object Number]"===e?a[o]=t:console.error("unexpected color value:",t));return n}},r.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},r.prototype.setValues=function(t,e){var n,a=this.values,r=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)a[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)a[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[r[t][0]]){var l=r[t];for(n=0;n<t.length;n++)a[t][n]=e[l[n]];s=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===s?a.alpha:s)),"alpha"===t)return!1;var u;for(n=0;n<t.length;n++)u=Math.max(0,Math.min(o[t][n],a[t][n])),a[t][n]=Math.round(u);for(var d in r)d!==t&&(a[d]=i[t][d](a[t]));return!0},r.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},r.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{1:1,4:4}],3:[function(t,e,n){function i(t){var e,n,i,a=t[0]/255,r=t[1]/255,o=t[2]/255,s=Math.min(a,r,o),l=Math.max(a,r,o),u=l-s;return l==s?e=0:a==l?e=(r-o)/u:r==l?e=2+(o-a)/u:o==l&&(e=4+(a-r)/u),(e=Math.min(60*e,360))<0&&(e+=360),i=(s+l)/2,n=l==s?0:i<=.5?u/(l+s):u/(2-l-s),[e,100*n,100*i]}function a(t){var e,n,i,a=t[0],r=t[1],o=t[2],s=Math.min(a,r,o),l=Math.max(a,r,o),u=l-s;return n=0==l?0:u/l*1e3/10,l==s?e=0:a==l?e=(r-o)/u:r==l?e=2+(o-a)/u:o==l&&(e=4+(a-r)/u),(e=Math.min(60*e,360))<0&&(e+=360),i=l/255*1e3/10,[e,n,i]}function o(t){var e=t[0],n=t[1],a=t[2];return[i(t)[0],100*(1/255*Math.min(e,Math.min(n,a))),100*(a=1-1/255*Math.max(e,Math.max(n,a)))]}function s(t){var e,n,i,a,r=t[0]/255,o=t[1]/255,s=t[2]/255;return a=Math.min(1-r,1-o,1-s),e=(1-r-a)/(1-a)||0,n=(1-o-a)/(1-a)||0,i=(1-s-a)/(1-a)||0,[100*e,100*n,100*i,100*a]}function l(t){return S[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function d(t){var e,n,i,a=u(t),r=a[0],o=a[1],s=a[2];return r/=95.047,o/=100,s/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*o-16,n=500*(r-o),i=200*(o-s),[e,n,i]}function c(t){var e,n,i,a,r,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return r=255*l,[r,r,r];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,r=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*r;return a}function h(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r)),i=255*i;switch(a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}}function f(t){var e,n,i,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),e=Math.floor(6*o),n=1-l,i=6*o-e,0!=(1&e)&&(i=1-i),a=s+i*(n-s),e){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function m(t){var e,n,i,a=t[0]/100,r=t[1]/100,o=t[2]/100,s=t[3]/100;return e=1-Math.min(1,a*(1-s)+s),n=1-Math.min(1,r*(1-s)+s),i=1-Math.min(1,o*(1-s)+s),[255*e,255*n,255*i]}function p(t){var e,n,i,a=t[0]/100,r=t[1]/100,o=t[2]/100;return e=3.2406*a+-1.5372*r+-.4986*o,n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]}function v(t){var e,n,i,a=t[0],r=t[1],o=t[2];return a/=95.047,r/=100,o/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,e=116*r-16,n=500*(a-r),i=200*(r-o),[e,n,i]}function y(t){var e,n,i,a,r=t[0],o=t[1],s=t[2];return r<=8?a=(n=100*r/903.3)/100*7.787+16/116:(n=100*Math.pow((r+16)/116,3),a=Math.pow(n/100,1/3)),e=e/95.047<=.008856?e=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),i=i/108.883<=.008859?i=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3),[e,n,i]}function x(t){var e,n,i,a=t[0],r=t[1],o=t[2];return e=Math.atan2(o,r),(n=360*e/2/Math.PI)<0&&(n+=360),i=Math.sqrt(r*r+o*o),[a,i,n]}function _(t){return p(y(t))}function k(t){var e,n,i,a=t[0],r=t[1];return i=t[2]/360*2*Math.PI,e=r*Math.cos(i),n=r*Math.sin(i),[a,e,n]}function w(t){return M[t]}e.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:d,rgb2lch:function(t){return x(d(t))},hsl2rgb:c,hsl2hsv:function(t){var e,n,i=t[0],a=t[1]/100,r=t[2]/100;return 0===r?[0,0,0]:(r*=2,a*=r<=1?r:2-r,n=(r+a)/2,e=2*a/(r+a),[i,100*e,100*n])},hsl2hwb:function(t){return o(c(t))},hsl2cmyk:function(t){return s(c(t))},hsl2keyword:function(t){return l(c(t))},hsv2rgb:h,hsv2hsl:function(t){var e,n,i=t[0],a=t[1]/100,r=t[2]/100;return n=(2-a)*r,e=a*r,e/=n<=1?n:2-n,e=e||0,n/=2,[i,100*e,100*n]},hsv2hwb:function(t){return o(h(t))},hsv2cmyk:function(t){return s(h(t))},hsv2keyword:function(t){return l(h(t))},hwb2rgb:f,hwb2hsl:function(t){return i(f(t))},hwb2hsv:function(t){return a(f(t))},hwb2cmyk:function(t){return s(f(t))},hwb2keyword:function(t){return l(f(t))},cmyk2rgb:m,cmyk2hsl:function(t){return i(m(t))},cmyk2hsv:function(t){return a(m(t))},cmyk2hwb:function(t){return o(m(t))},cmyk2keyword:function(t){return l(m(t))},keyword2rgb:w,keyword2hsl:function(t){return i(w(t))},keyword2hsv:function(t){return a(w(t))},keyword2hwb:function(t){return o(w(t))},keyword2cmyk:function(t){return s(w(t))},keyword2lab:function(t){return d(w(t))},keyword2xyz:function(t){return u(w(t))},xyz2rgb:p,xyz2lab:v,xyz2lch:function(t){return x(v(t))},lab2xyz:y,lab2rgb:_,lab2lch:x,lch2lab:k,lch2xyz:function(t){return y(k(t))},lch2rgb:function(t){return _(k(t))}};var M={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},S={};for(var D in M)S[JSON.stringify(M[D])]=D},{}],4:[function(t,e,n){var i=t(3),a=function(){return new u};for(var r in i){a[r+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(r);var o=/(\w+)2(\w+)/.exec(r),s=o[1],l=o[2];(a[s]=a[s]||{})[l]=a[r]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var a=0;a<n.length;a++)n[a]=Math.round(n[a]);return n}}(r)}var u=function(){this.convs={}};u.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},u.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},u.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,i=this.convs[n];e=a[n][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){u.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=a},{3:3}],5:[function(t,e,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],6:[function(t,e,n){!function(t,i){"object"==typeof n&&void 0!==e?e.exports=i():t.moment=i()}(this,function(){"use strict";function n(){return xe.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function r(t){var e;for(e in t)return!1;return!0}function o(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function d(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){for(var n in e)d(e,n)&&(t[n]=e[n]);return d(e,"toString")&&(t.toString=e.toString),d(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,i){return Yt(t,e,n,i,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(t){return null==t._pf&&(t._pf=f()),t._pf}function m(t){if(null==t._isValid){var e=g(t),n=ke.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function p(t){var e=h(NaN);return null!=t?c(g(e),t):g(e).userInvalidated=!0,e}function v(t,e){var n,i,a;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=g(e)),o(e._locale)||(t._locale=e._locale),we.length>0)for(n=0;n<we.length;n++)o(a=e[i=we[n]])||(t[i]=a);return t}function y(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Me&&(Me=!0,n.updateOffset(this),Me=!1)}function b(t){return t instanceof y||null!=t&&null!=t._isAMomentObject}function x(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function _(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=x(e)),n}function k(t,e,n){var i,a=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0;for(i=0;i<a;i++)(n&&t[i]!==e[i]||!n&&_(t[i])!==_(e[i]))&&o++;return o+r}function w(t){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function M(t,e){var i=!0;return c(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,t),i){for(var a,r=[],o=0;o<arguments.length;o++){if(a="","object"==typeof arguments[o]){a+="\n["+o+"] ";for(var s in arguments[0])a+=s+": "+arguments[0][s]+", ";a=a.slice(0,-2)}else a=arguments[o];r.push(a)}w(t+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)},e)}function S(t,e){null!=n.deprecationHandler&&n.deprecationHandler(t,e),Se[t]||(w(e),Se[t]=!0)}function D(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,e){var n,i=c({},t);for(n in e)d(e,n)&&(a(t[n])&&a(e[n])?(i[n]={},c(i[n],t[n]),c(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)d(t,n)&&!d(e,n)&&a(t[n])&&(i[n]=c({},i[n]));return i}function P(t){null!=t&&this.set(t)}function T(t,e){var n=t.toLowerCase();Te[n]=Te[n+"s"]=Te[e]=t}function A(t){return"string"==typeof t?Te[t]||Te[t.toLowerCase()]:void 0}function I(t){var e,n,i={};for(n in t)d(t,n)&&(e=A(n))&&(i[e]=t[n]);return i}function O(t,e){Ae[t]=e}function F(t){var e=[];for(var n in t)e.push({unit:n,priority:Ae[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function R(t,e){return function(i){return null!=i?(W(this,t,i),n.updateOffset(this,e),this):L(this,t)}}function L(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function W(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function Y(t,e,n){var i=""+Math.abs(t),a=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+i}function N(t,e,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),t&&(Re[t]=a),e&&(Re[e[0]]=function(){return Y(a.apply(this,arguments),e[1],e[2])}),n&&(Re[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function z(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function B(t){var e,n,i=t.match(Ie);for(e=0,n=i.length;e<n;e++)Re[i[e]]?i[e]=Re[i[e]]:i[e]=z(i[e]);return function(e){var a,r="";for(a=0;a<n;a++)r+=D(i[a])?i[a].call(e,t):i[a];return r}}function V(t,e){return t.isValid()?(e=H(e,t.localeData()),Fe[e]=Fe[e]||B(e),Fe[e](t)):t.localeData().invalidDate()}function H(t,e){var n=5;for(Oe.lastIndex=0;n>=0&&Oe.test(t);)t=t.replace(Oe,function(t){return e.longDateFormat(t)||t}),Oe.lastIndex=0,n-=1;return t}function E(t,e,n){Ke[t]=D(e)?e:function(t,i){return t&&n?n:e}}function j(t,e){return d(Ke,t)?Ke[t](e._strict,e._locale):new RegExp(U(t))}function U(t){return q(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,a){return e||n||i||a}))}function q(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function G(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),s(e)&&(i=function(t,n){n[e]=_(t)}),n=0;n<t.length;n++)Qe[t[n]]=i}function Z(t,e){G(t,function(t,n,i,a){i._w=i._w||{},e(t,i._w,i,a)})}function X(t,e,n){null!=e&&d(Qe,t)&&Qe[t](e,n._a,n,t)}function J(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function K(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(a=un.call(this._shortMonthsParse,o))?a:null:-1!==(a=un.call(this._longMonthsParse,o))?a:null:"MMM"===e?-1!==(a=un.call(this._shortMonthsParse,o))?a:-1!==(a=un.call(this._longMonthsParse,o))?a:null:-1!==(a=un.call(this._longMonthsParse,o))?a:-1!==(a=un.call(this._shortMonthsParse,o))?a:null}function Q(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=_(e);else if(e=t.localeData().monthsParse(e),!s(e))return t;return n=Math.min(t.date(),J(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function $(t){return null!=t?(Q(this,t),n.updateOffset(this,!0),this):L(this,"Month")}function tt(){function t(t,e){return e.length-t.length}var e,n,i=[],a=[],r=[];for(e=0;e<12;e++)n=h([2e3,e]),i.push(this.monthsShort(n,"")),a.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(t),a.sort(t),r.sort(t),e=0;e<12;e++)i[e]=q(i[e]),a[e]=q(a[e]);for(e=0;e<24;e++)r[e]=q(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function et(t){return nt(t)?366:365}function nt(t){return t%4==0&&t%100!=0||t%400==0}function it(t,e,n,i,a,r,o){var s=new Date(t,e,n,i,a,r,o);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function at(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function rt(t,e,n){var i=7+e-n;return-((7+at(t,0,i).getUTCDay()-e)%7)+i-1}function ot(t,e,n,i,a){var r,o,s=1+7*(e-1)+(7+n-i)%7+rt(t,i,a);return s<=0?o=et(r=t-1)+s:s>et(t)?(r=t+1,o=s-et(t)):(r=t,o=s),{year:r,dayOfYear:o}}function st(t,e,n){var i,a,r=rt(t.year(),e,n),o=Math.floor((t.dayOfYear()-r-1)/7)+1;return o<1?i=o+lt(a=t.year()-1,e,n):o>lt(t.year(),e,n)?(i=o-lt(t.year(),e,n),a=t.year()+1):(a=t.year(),i=o),{week:i,year:a}}function lt(t,e,n){var i=rt(t,e,n),a=rt(t+1,e,n);return(et(t)-i+a)/7}function ut(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function dt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function ct(t,e,n){var i,a,r,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(a=un.call(this._weekdaysParse,o))?a:null:"ddd"===e?-1!==(a=un.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=un.call(this._minWeekdaysParse,o))?a:null:"dddd"===e?-1!==(a=un.call(this._weekdaysParse,o))?a:-1!==(a=un.call(this._shortWeekdaysParse,o))?a:-1!==(a=un.call(this._minWeekdaysParse,o))?a:null:"ddd"===e?-1!==(a=un.call(this._shortWeekdaysParse,o))?a:-1!==(a=un.call(this._weekdaysParse,o))?a:-1!==(a=un.call(this._minWeekdaysParse,o))?a:null:-1!==(a=un.call(this._minWeekdaysParse,o))?a:-1!==(a=un.call(this._weekdaysParse,o))?a:-1!==(a=un.call(this._shortWeekdaysParse,o))?a:null}function ht(){function t(t,e){return e.length-t.length}var e,n,i,a,r,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),i=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),r=this.weekdays(n,""),o.push(i),s.push(a),l.push(r),u.push(i),u.push(a),u.push(r);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=q(s[e]),l[e]=q(l[e]),u[e]=q(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ft(){return this.hours()%12||12}function gt(t,e){N(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function mt(t,e){return e._meridiemParse}function pt(t){return t?t.toLowerCase().replace("_","-"):t}function vt(t){for(var e,n,i,a,r=0;r<t.length;){for(e=(a=pt(t[r]).split("-")).length,n=(n=pt(t[r+1]))?n.split("-"):null;e>0;){if(i=yt(a.slice(0,e).join("-")))return i;if(n&&n.length>=e&&k(a,n,!0)>=e-1)break;e--}r++}return null}function yt(n){var i=null;if(!Sn[n]&&void 0!==e&&e&&e.exports)try{i=kn._abbr,t("./locale/"+n),bt(i)}catch(t){}return Sn[n]}function bt(t,e){var n;return t&&(n=o(e)?_t(t):xt(t,e))&&(kn=n),kn._abbr}function xt(t,e){if(null!==e){var n=Mn;if(e.abbr=t,null!=Sn[t])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Sn[t]._config;else if(null!=e.parentLocale){if(null==Sn[e.parentLocale])return Dn[e.parentLocale]||(Dn[e.parentLocale]=[]),Dn[e.parentLocale].push({name:t,config:e}),null;n=Sn[e.parentLocale]._config}return Sn[t]=new P(C(n,e)),Dn[t]&&Dn[t].forEach(function(t){xt(t.name,t.config)}),bt(t),Sn[t]}return delete Sn[t],null}function _t(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return kn;if(!i(t)){if(e=yt(t))return e;t=[t]}return vt(t)}function kt(t){var e,n=t._a;return n&&-2===g(t).overflow&&(e=n[tn]<0||n[tn]>11?tn:n[en]<1||n[en]>J(n[$e],n[tn])?en:n[nn]<0||n[nn]>24||24===n[nn]&&(0!==n[an]||0!==n[rn]||0!==n[on])?nn:n[an]<0||n[an]>59?an:n[rn]<0||n[rn]>59?rn:n[on]<0||n[on]>999?on:-1,g(t)._overflowDayOfYear&&(e<$e||e>en)&&(e=en),g(t)._overflowWeeks&&-1===e&&(e=sn),g(t)._overflowWeekday&&-1===e&&(e=ln),g(t).overflow=e),t}function wt(t){var e,n,i,a,r,o,s=t._i,l=Cn.exec(s)||Pn.exec(s);if(l){for(g(t).iso=!0,e=0,n=An.length;e<n;e++)if(An[e][1].exec(l[1])){a=An[e][0],i=!1!==An[e][2];break}if(null==a)return void(t._isValid=!1);if(l[3]){for(e=0,n=In.length;e<n;e++)if(In[e][1].exec(l[3])){r=(l[2]||" ")+In[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=a+(r||"")+(o||""),At(t)}else t._isValid=!1}function Mt(t){var e,n,i,a,r,o,s,l,u={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"};if(e=t._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),n=Fn.exec(e)){if(i=n[1]?"ddd"+(5===n[1].length?", ":" "):"",a="D MMM "+(n[2].length>10?"YYYY ":"YY "),r="HH:mm"+(n[4]?":ss":""),n[1]){var d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][new Date(n[2]).getDay()];if(n[1].substr(0,3)!==d)return g(t).weekdayMismatch=!0,void(t._isValid=!1)}switch(n[5].length){case 2:s=0===l?" +0000":((l="YXWVUTSRQPONZABCDEFGHIKLM".indexOf(n[5][1].toUpperCase())-12)<0?" -":" +")+(""+l).replace(/^-?/,"0").match(/..$/)[0]+"00";break;case 4:s=u[n[5]];break;default:s=u[" GMT"]}n[5]=s,t._i=n.splice(1).join(""),o=" ZZ",t._f=i+a+r+o,At(t),g(t).rfc2822=!0}else t._isValid=!1}function St(t){var e=On.exec(t._i);null===e?(wt(t),!1===t._isValid&&(delete t._isValid,Mt(t),!1===t._isValid&&(delete t._isValid,n.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Dt(t,e,n){return null!=t?t:null!=e?e:n}function Ct(t){var e=new Date(n.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Pt(t){var e,n,i,a,r=[];if(!t._d){for(i=Ct(t),t._w&&null==t._a[en]&&null==t._a[tn]&&Tt(t),null!=t._dayOfYear&&(a=Dt(t._a[$e],i[$e]),(t._dayOfYear>et(a)||0===t._dayOfYear)&&(g(t)._overflowDayOfYear=!0),n=at(a,0,t._dayOfYear),t._a[tn]=n.getUTCMonth(),t._a[en]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=r[e]=i[e];for(;e<7;e++)t._a[e]=r[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[nn]&&0===t._a[an]&&0===t._a[rn]&&0===t._a[on]&&(t._nextDay=!0,t._a[nn]=0),t._d=(t._useUTC?at:it).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[nn]=24)}}function Tt(t){var e,n,i,a,r,o,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)r=1,o=4,n=Dt(e.GG,t._a[$e],st(Nt(),1,4).year),i=Dt(e.W,1),((a=Dt(e.E,1))<1||a>7)&&(l=!0);else{r=t._locale._week.dow,o=t._locale._week.doy;var u=st(Nt(),r,o);n=Dt(e.gg,t._a[$e],u.year),i=Dt(e.w,u.week),null!=e.d?((a=e.d)<0||a>6)&&(l=!0):null!=e.e?(a=e.e+r,(e.e<0||e.e>6)&&(l=!0)):a=r}i<1||i>lt(n,r,o)?g(t)._overflowWeeks=!0:null!=l?g(t)._overflowWeekday=!0:(s=ot(n,i,a,r,o),t._a[$e]=s.year,t._dayOfYear=s.dayOfYear)}function At(t){if(t._f!==n.ISO_8601)if(t._f!==n.RFC_2822){t._a=[],g(t).empty=!0;var e,i,a,r,o,s=""+t._i,l=s.length,u=0;for(a=H(t._f,t._locale).match(Ie)||[],e=0;e<a.length;e++)r=a[e],(i=(s.match(j(r,t))||[])[0])&&((o=s.substr(0,s.indexOf(i))).length>0&&g(t).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),u+=i.length),Re[r]?(i?g(t).empty=!1:g(t).unusedTokens.push(r),X(r,i,t)):t._strict&&!i&&g(t).unusedTokens.push(r);g(t).charsLeftOver=l-u,s.length>0&&g(t).unusedInput.push(s),t._a[nn]<=12&&!0===g(t).bigHour&&t._a[nn]>0&&(g(t).bigHour=void 0),g(t).parsedDateParts=t._a.slice(0),g(t).meridiem=t._meridiem,t._a[nn]=It(t._locale,t._a[nn],t._meridiem),Pt(t),kt(t)}else Mt(t);else wt(t)}function It(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Ot(t){var e,n,i,a,r;if(0===t._f.length)return g(t).invalidFormat=!0,void(t._d=new Date(NaN));for(a=0;a<t._f.length;a++)r=0,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],At(e),m(e)&&(r+=g(e).charsLeftOver,r+=10*g(e).unusedTokens.length,g(e).score=r,(null==i||r<i)&&(i=r,n=e));c(t,n||e)}function Ft(t){if(!t._d){var e=I(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Pt(t)}}function Rt(t){var e=new y(kt(Lt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Lt(t){var e=t._i,n=t._f;return t._locale=t._locale||_t(t._l),null===e||void 0===n&&""===e?p({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new y(kt(e)):(l(e)?t._d=e:i(n)?Ot(t):n?At(t):Wt(t),m(t)||(t._d=null),t))}function Wt(t){var e=t._i;o(e)?t._d=new Date(n.now()):l(e)?t._d=new Date(e.valueOf()):"string"==typeof e?St(t):i(e)?(t._a=u(e.slice(0),function(t){return parseInt(t,10)}),Pt(t)):a(e)?Ft(t):s(e)?t._d=new Date(e):n.createFromInputFallback(t)}function Yt(t,e,n,o,s){var l={};return!0!==n&&!1!==n||(o=n,n=void 0),(a(t)&&r(t)||i(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=n,l._i=t,l._f=e,l._strict=o,Rt(l)}function Nt(t,e,n,i){return Yt(t,e,n,i,!1)}function zt(t,e){var n,a;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return Nt();for(n=e[0],a=1;a<e.length;++a)e[a].isValid()&&!e[a][t](n)||(n=e[a]);return n}function Bt(t){for(var e in t)if(-1===Wn.indexOf(e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<Wn.length;++i)if(t[Wn[i]]){if(n)return!1;parseFloat(t[Wn[i]])!==_(t[Wn[i]])&&(n=!0)}return!0}function Vt(t){var e=I(t),n=e.year||0,i=e.quarter||0,a=e.month||0,r=e.week||0,o=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,d=e.millisecond||0;this._isValid=Bt(e),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=_t(),this._bubble()}function Ht(t){return t instanceof Vt}function Et(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function jt(t,e){N(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+Y(~~(t/60),2)+e+Y(~~t%60,2)})}function Ut(t,e){var n=(e||"").match(t);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(Yn)||["-",0,0],a=60*i[1]+_(i[2]);return 0===a?0:"+"===i[0]?a:-a}function qt(t,e){var i,a;return e._isUTC?(i=e.clone(),a=(b(t)||l(t)?t.valueOf():Nt(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+a),n.updateOffset(i,!1),i):Nt(t).local()}function Gt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xt(t,e){var n,i,a,r=t,o=null;return Ht(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(r={},e?r[e]=t:r.milliseconds=t):(o=Nn.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:_(o[en])*n,h:_(o[nn])*n,m:_(o[an])*n,s:_(o[rn])*n,ms:_(Et(1e3*o[on]))*n}):(o=zn.exec(t))?(n="-"===o[1]?-1:1,r={y:Jt(o[2],n),M:Jt(o[3],n),w:Jt(o[4],n),d:Jt(o[5],n),h:Jt(o[6],n),m:Jt(o[7],n),s:Jt(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(a=Qt(Nt(r.from),Nt(r.to)),(r={}).ms=a.milliseconds,r.M=a.months),i=new Vt(r),Ht(t)&&d(t,"_locale")&&(i._locale=t._locale),i}function Jt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Kt(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Qt(t,e){var n;return t.isValid()&&e.isValid()?(e=qt(e,t),t.isBefore(e)?n=Kt(t,e):((n=Kt(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function $t(t,e){return function(n,i){var a,r;return null===i||isNaN(+i)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),n="string"==typeof n?+n:n,a=Xt(n,i),te(this,a,t),this}}function te(t,e,i,a){var r=e._milliseconds,o=Et(e._days),s=Et(e._months);t.isValid()&&(a=null==a||a,r&&t._d.setTime(t._d.valueOf()+r*i),o&&W(t,"Date",L(t,"Date")+o*i),s&&Q(t,L(t,"Month")+s*i),a&&n.updateOffset(t,o||s))}function ee(t,e){var n,i=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(i,"months");return n=e-a<0?(e-a)/(a-t.clone().add(i-1,"months")):(e-a)/(t.clone().add(i+1,"months")-a),-(i+n)||0}function ne(t){var e;return void 0===t?this._locale._abbr:(null!=(e=_t(t))&&(this._locale=e),this)}function ie(){return this._locale}function ae(t,e){N(0,[t,t.length],0,e)}function re(t,e,n,i,a){var r;return null==t?st(this,i,a).year:(r=lt(t,i,a),e>r&&(e=r),oe.call(this,t,e,n,i,a))}function oe(t,e,n,i,a){var r=ot(t,e,n,i,a),o=at(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function se(t){return t}function le(t,e,n,i){var a=_t(),r=h().set(i,e);return a[n](r,t)}function ue(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return le(t,e,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=le(t,i,n,"month");return a}function de(t,e,n,i){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var a=_t(),r=t?a._week.dow:0;if(null!=n)return le(e,(n+r)%7,i,"day");var o,l=[];for(o=0;o<7;o++)l[o]=le(e,(o+r)%7,i,"day");return l}function ce(t,e,n,i){var a=Xt(e,n);return t._milliseconds+=i*a._milliseconds,t._days+=i*a._days,t._months+=i*a._months,t._bubble()}function he(t){return t<0?Math.floor(t):Math.ceil(t)}function fe(t){return 4800*t/146097}function ge(t){return 146097*t/4800}function me(t){return function(){return this.as(t)}}function pe(t){return function(){return this.isValid()?this._data[t]:NaN}}function ve(t,e,n,i,a){return a.relativeTime(e||1,!!n,t,i)}function ye(t,e,n){var i=Xt(t).abs(),a=hi(i.as("s")),r=hi(i.as("m")),o=hi(i.as("h")),s=hi(i.as("d")),l=hi(i.as("M")),u=hi(i.as("y")),d=a<=fi.ss&&["s",a]||a<fi.s&&["ss",a]||r<=1&&["m"]||r<fi.m&&["mm",r]||o<=1&&["h"]||o<fi.h&&["hh",o]||s<=1&&["d"]||s<fi.d&&["dd",s]||l<=1&&["M"]||l<fi.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=e,d[3]=+t>0,d[4]=n,ve.apply(null,d)}function be(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i=gi(this._milliseconds)/1e3,a=gi(this._days),r=gi(this._months);e=x((t=x(i/60))/60),i%=60,t%=60;var o=n=x(r/12),s=r%=12,l=a,u=e,d=t,c=i,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||d||c?"T":"")+(u?u+"H":"")+(d?d+"M":"")+(c?c+"S":""):"P0D"}var xe,_e,ke=_e=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1},we=n.momentProperties=[],Me=!1,Se={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var De,Ce,Pe=De=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)d(t,e)&&n.push(e);return n},Te={},Ae={},Ie=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Oe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Fe={},Re={},Le=/\d/,We=/\d\d/,Ye=/\d{3}/,Ne=/\d{4}/,ze=/[+-]?\d{6}/,Be=/\d\d?/,Ve=/\d\d\d\d?/,He=/\d\d\d\d\d\d?/,Ee=/\d{1,3}/,je=/\d{1,4}/,Ue=/[+-]?\d{1,6}/,qe=/\d+/,Ge=/[+-]?\d+/,Ze=/Z|[+-]\d\d:?\d\d/gi,Xe=/Z|[+-]\d\d(?::?\d\d)?/gi,Je=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ke={},Qe={},$e=0,tn=1,en=2,nn=3,an=4,rn=5,on=6,sn=7,ln=8,un=Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),N("MMMM",0,0,function(t){return this.localeData().months(this,t)}),T("month","M"),O("month",8),E("M",Be),E("MM",Be,We),E("MMM",function(t,e){return e.monthsShortRegex(t)}),E("MMMM",function(t,e){return e.monthsRegex(t)}),G(["M","MM"],function(t,e){e[tn]=_(t)-1}),G(["MMM","MMMM"],function(t,e,n,i){var a=n._locale.monthsParse(t,i,n._strict);null!=a?e[tn]=a:g(n).invalidMonth=t});var dn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,cn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),hn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),fn=Je,gn=Je;N("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),T("year","y"),O("year",1),E("Y",Ge),E("YY",Be,We),E("YYYY",je,Ne),E("YYYYY",Ue,ze),E("YYYYYY",Ue,ze),G(["YYYYY","YYYYYY"],$e),G("YYYY",function(t,e){e[$e]=2===t.length?n.parseTwoDigitYear(t):_(t)}),G("YY",function(t,e){e[$e]=n.parseTwoDigitYear(t)}),G("Y",function(t,e){e[$e]=parseInt(t,10)}),n.parseTwoDigitYear=function(t){return _(t)+(_(t)>68?1900:2e3)};var mn=R("FullYear",!0);N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),T("week","w"),T("isoWeek","W"),O("week",5),O("isoWeek",5),E("w",Be),E("ww",Be,We),E("W",Be),E("WW",Be,We),Z(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=_(t)});N("d",0,"do","day"),N("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),N("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),N("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),T("day","d"),T("weekday","e"),T("isoWeekday","E"),O("day",11),O("weekday",11),O("isoWeekday",11),E("d",Be),E("e",Be),E("E",Be),E("dd",function(t,e){return e.weekdaysMinRegex(t)}),E("ddd",function(t,e){return e.weekdaysShortRegex(t)}),E("dddd",function(t,e){return e.weekdaysRegex(t)}),Z(["dd","ddd","dddd"],function(t,e,n,i){var a=n._locale.weekdaysParse(t,i,n._strict);null!=a?e.d=a:g(n).invalidWeekday=t}),Z(["d","e","E"],function(t,e,n,i){e[i]=_(t)});var pn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),bn=Je,xn=Je,_n=Je;N("H",["HH",2],0,"hour"),N("h",["hh",2],0,ft),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+ft.apply(this)+Y(this.minutes(),2)}),N("hmmss",0,0,function(){return""+ft.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),gt("a",!0),gt("A",!1),T("hour","h"),O("hour",13),E("a",mt),E("A",mt),E("H",Be),E("h",Be),E("k",Be),E("HH",Be,We),E("hh",Be,We),E("kk",Be,We),E("hmm",Ve),E("hmmss",He),E("Hmm",Ve),E("Hmmss",He),G(["H","HH"],nn),G(["k","kk"],function(t,e,n){var i=_(t);e[nn]=24===i?0:i}),G(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),G(["h","hh"],function(t,e,n){e[nn]=_(t),g(n).bigHour=!0}),G("hmm",function(t,e,n){var i=t.length-2;e[nn]=_(t.substr(0,i)),e[an]=_(t.substr(i)),g(n).bigHour=!0}),G("hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[nn]=_(t.substr(0,i)),e[an]=_(t.substr(i,2)),e[rn]=_(t.substr(a)),g(n).bigHour=!0}),G("Hmm",function(t,e,n){var i=t.length-2;e[nn]=_(t.substr(0,i)),e[an]=_(t.substr(i))}),G("Hmmss",function(t,e,n){var i=t.length-4,a=t.length-2;e[nn]=_(t.substr(0,i)),e[an]=_(t.substr(i,2)),e[rn]=_(t.substr(a))});var kn,wn=R("Hours",!0),Mn={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:cn,monthsShort:hn,week:{dow:0,doy:6},weekdays:pn,weekdaysMin:yn,weekdaysShort:vn,meridiemParse:/[ap]\.?m?\.?/i},Sn={},Dn={},Cn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,An=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],In=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((\-?\d+)/i,Fn=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;n.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Rn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Nt.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),Ln=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Nt.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:p()}),Wn=["year","quarter","month","week","day","hour","minute","second","millisecond"];jt("Z",":"),jt("ZZ",""),E("Z",Xe),E("ZZ",Xe),G(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ut(Xe,t)});var Yn=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Nn=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,zn=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Xt.fn=Vt.prototype,Xt.invalid=function(){return Xt(NaN)};var Bn=$t(1,"add"),Vn=$t(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Hn=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ae("gggg","weekYear"),ae("ggggg","weekYear"),ae("GGGG","isoWeekYear"),ae("GGGGG","isoWeekYear"),T("weekYear","gg"),T("isoWeekYear","GG"),O("weekYear",1),O("isoWeekYear",1),E("G",Ge),E("g",Ge),E("GG",Be,We),E("gg",Be,We),E("GGGG",je,Ne),E("gggg",je,Ne),E("GGGGG",Ue,ze),E("ggggg",Ue,ze),Z(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=_(t)}),Z(["gg","GG"],function(t,e,i,a){e[a]=n.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),T("quarter","Q"),O("quarter",7),E("Q",Le),G("Q",function(t,e){e[tn]=3*(_(t)-1)}),N("D",["DD",2],"Do","date"),T("date","D"),O("date",9),E("D",Be),E("DD",Be,We),E("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),G(["D","DD"],en),G("Do",function(t,e){e[en]=_(t.match(Be)[0],10)});var En=R("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),T("dayOfYear","DDD"),O("dayOfYear",4),E("DDD",Ee),E("DDDD",Ye),G(["DDD","DDDD"],function(t,e,n){n._dayOfYear=_(t)}),N("m",["mm",2],0,"minute"),T("minute","m"),O("minute",14),E("m",Be),E("mm",Be,We),G(["m","mm"],an);var jn=R("Minutes",!1);N("s",["ss",2],0,"second"),T("second","s"),O("second",15),E("s",Be),E("ss",Be,We),G(["s","ss"],rn);var Un=R("Seconds",!1);N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),T("millisecond","ms"),O("millisecond",16),E("S",Ee,Le),E("SS",Ee,We),E("SSS",Ee,Ye);var qn;for(qn="SSSS";qn.length<=9;qn+="S")E(qn,qe);for(qn="S";qn.length<=9;qn+="S")G(qn,function(t,e){e[on]=_(1e3*("0."+t))});var Gn=R("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var Zn=y.prototype;Zn.add=Bn,Zn.calendar=function(t,e){var i=t||Nt(),a=qt(i,this).startOf("day"),r=n.calendarFormat(this,a)||"sameElse",o=e&&(D(e[r])?e[r].call(this,i):e[r]);return this.format(o||this.localeData().calendar(r,this,Nt(i)))},Zn.clone=function(){return new y(this)},Zn.diff=function(t,e,n){var i,a,r,o;return this.isValid()&&(i=qt(t,this)).isValid()?(a=6e4*(i.utcOffset()-this.utcOffset()),"year"===(e=A(e))||"month"===e||"quarter"===e?(o=ee(this,i),"quarter"===e?o/=3:"year"===e&&(o/=12)):(r=this-i,o="second"===e?r/1e3:"minute"===e?r/6e4:"hour"===e?r/36e5:"day"===e?(r-a)/864e5:"week"===e?(r-a)/6048e5:r),n?o:x(o)):NaN},Zn.endOf=function(t){return void 0===(t=A(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},Zn.format=function(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var e=V(this,t);return this.localeData().postformat(e)},Zn.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Nt(t).isValid())?Xt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Zn.fromNow=function(t){return this.from(Nt(),t)},Zn.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Nt(t).isValid())?Xt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Zn.toNow=function(t){return this.to(Nt(),t)},Zn.get=function(t){return t=A(t),D(this[t])?this[t]():this},Zn.invalidAt=function(){return g(this).overflow},Zn.isAfter=function(t,e){var n=b(t)?t:Nt(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=A(o(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},Zn.isBefore=function(t,e){var n=b(t)?t:Nt(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=A(o(e)?"millisecond":e))?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},Zn.isBetween=function(t,e,n,i){return("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},Zn.isSame=function(t,e){var n,i=b(t)?t:Nt(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=A(e||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},Zn.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Zn.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Zn.isValid=function(){return m(this)},Zn.lang=Hn,Zn.locale=ne,Zn.localeData=ie,Zn.max=Ln,Zn.min=Rn,Zn.parsingFlags=function(){return c({},g(this))},Zn.set=function(t,e){if("object"==typeof t)for(var n=F(t=I(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(t=A(t),D(this[t]))return this[t](e);return this},Zn.startOf=function(t){switch(t=A(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},Zn.subtract=Vn,Zn.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Zn.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Zn.toDate=function(){return new Date(this.valueOf())},Zn.toISOString=function(){if(!this.isValid())return null;var t=this.clone().utc();return t.year()<0||t.year()>9999?V(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):D(Date.prototype.toISOString)?this.toDate().toISOString():V(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Zn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+a)},Zn.toJSON=function(){return this.isValid()?this.toISOString():null},Zn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Zn.unix=function(){return Math.floor(this.valueOf()/1e3)},Zn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Zn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Zn.year=mn,Zn.isLeapYear=function(){return nt(this.year())},Zn.weekYear=function(t){return re.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Zn.isoWeekYear=function(t){return re.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Zn.quarter=Zn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Zn.month=$,Zn.daysInMonth=function(){return J(this.year(),this.month())},Zn.week=Zn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Zn.isoWeek=Zn.isoWeeks=function(t){var e=st(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Zn.weeksInYear=function(){var t=this.localeData()._week;return lt(this.year(),t.dow,t.doy)},Zn.isoWeeksInYear=function(){return lt(this.year(),1,4)},Zn.date=En,Zn.day=Zn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=ut(t,this.localeData()),this.add(t-e,"d")):e},Zn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Zn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=dt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},Zn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Zn.hour=Zn.hours=wn,Zn.minute=Zn.minutes=jn,Zn.second=Zn.seconds=Un,Zn.millisecond=Zn.milliseconds=Gn,Zn.utcOffset=function(t,e,i){var a,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ut(Xe,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(a=Gt(this)),this._offset=t,this._isUTC=!0,null!=a&&this.add(a,"m"),r!==t&&(!e||this._changeInProgress?te(this,Xt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Gt(this)},Zn.utc=function(t){return this.utcOffset(0,t)},Zn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Gt(this),"m")),this},Zn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ut(Ze,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Zn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Nt(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Zn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Zn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Zn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Zn.isUtc=Zt,Zn.isUTC=Zt,Zn.zoneAbbr=function(){return this._isUTC?"UTC":""},Zn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Zn.dates=M("dates accessor is deprecated. Use date instead.",En),Zn.months=M("months accessor is deprecated. Use month instead",$),Zn.years=M("years accessor is deprecated. Use year instead",mn),Zn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),Zn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),(t=Lt(t))._a){var e=t._isUTC?h(t._a):Nt(t._a);this._isDSTShifted=this.isValid()&&k(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Xn=P.prototype;Xn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return D(i)?i.call(e,n):i},Xn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},Xn.invalidDate=function(){return this._invalidDate},Xn.ordinal=function(t){return this._ordinal.replace("%d",t)},Xn.preparse=se,Xn.postformat=se,Xn.relativeTime=function(t,e,n,i){var a=this._relativeTime[n];return D(a)?a(t,e,n,i):a.replace(/%d/i,t)},Xn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return D(n)?n(e):n.replace(/%s/i,e)},Xn.set=function(t){var e,n;for(n in t)D(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Xn.months=function(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||dn).test(e)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},Xn.monthsShort=function(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[dn.test(e)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Xn.monthsParse=function(t,e,n){var i,a,r;if(this._monthsParseExact)return K.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},Xn.monthsRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||tt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=gn),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Xn.monthsShortRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||tt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=fn),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Xn.week=function(t){return st(t,this._week.dow,this._week.doy).week},Xn.firstDayOfYear=function(){return this._week.doy},Xn.firstDayOfWeek=function(){return this._week.dow},Xn.weekdays=function(t,e){return t?i(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:i(this._weekdays)?this._weekdays:this._weekdays.standalone},Xn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},Xn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},Xn.weekdaysParse=function(t,e,n){var i,a,r;if(this._weekdaysParseExact)return ct.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},Xn.weekdaysRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ht.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=bn),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Xn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ht.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xn),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Xn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||ht.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=_n),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Xn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Xn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},bt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=M("moment.lang is deprecated. Use moment.locale instead.",bt),n.langData=M("moment.langData is deprecated. Use moment.localeData instead.",_t);var Jn=Math.abs,Kn=me("ms"),Qn=me("s"),$n=me("m"),ti=me("h"),ei=me("d"),ni=me("w"),ii=me("M"),ai=me("y"),ri=pe("milliseconds"),oi=pe("seconds"),si=pe("minutes"),li=pe("hours"),ui=pe("days"),di=pe("months"),ci=pe("years"),hi=Math.round,fi={ss:44,s:45,m:45,h:22,d:26,M:11},gi=Math.abs,mi=Vt.prototype;return mi.isValid=function(){return this._isValid},mi.abs=function(){var t=this._data;return this._milliseconds=Jn(this._milliseconds),this._days=Jn(this._days),this._months=Jn(this._months),t.milliseconds=Jn(t.milliseconds),t.seconds=Jn(t.seconds),t.minutes=Jn(t.minutes),t.hours=Jn(t.hours),t.months=Jn(t.months),t.years=Jn(t.years),this},mi.add=function(t,e){return ce(this,t,e,1)},mi.subtract=function(t,e){return ce(this,t,e,-1)},mi.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=A(t))||"year"===t)return e=this._days+i/864e5,n=this._months+fe(e),"month"===t?n:n/12;switch(e=this._days+Math.round(ge(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},mi.asMilliseconds=Kn,mi.asSeconds=Qn,mi.asMinutes=$n,mi.asHours=ti,mi.asDays=ei,mi.asWeeks=ni,mi.asMonths=ii,mi.asYears=ai,mi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},mi._bubble=function(){var t,e,n,i,a,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return r>=0&&o>=0&&s>=0||r<=0&&o<=0&&s<=0||(r+=864e5*he(ge(s)+o),o=0,s=0),l.milliseconds=r%1e3,t=x(r/1e3),l.seconds=t%60,e=x(t/60),l.minutes=e%60,n=x(e/60),l.hours=n%24,o+=x(n/24),a=x(fe(o)),s+=a,o-=he(ge(a)),i=x(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},mi.get=function(t){return t=A(t),this.isValid()?this[t+"s"]():NaN},mi.milliseconds=ri,mi.seconds=oi,mi.minutes=si,mi.hours=li,mi.days=ui,mi.weeks=function(){return x(this.days()/7)},mi.months=di,mi.years=ci,mi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=ye(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},mi.toISOString=be,mi.toString=be,mi.toJSON=be,mi.locale=ne,mi.localeData=ie,mi.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",be),mi.lang=Hn,N("X",0,0,"unix"),N("x",0,0,"valueOf"),E("x",Ge),E("X",/[+-]?\d+(\.\d{1,3})?/),G("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),G("x",function(t,e,n){n._d=new Date(_(t))}),n.version="2.18.1",function(t){xe=t}(Nt),n.fn=Zn,n.min=function(){return zt("isBefore",[].slice.call(arguments,0))},n.max=function(){return zt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(t){return Nt(1e3*t)},n.months=function(t,e){return ue(t,e,"months")},n.isDate=l,n.locale=bt,n.invalid=p,n.duration=Xt,n.isMoment=b,n.weekdays=function(t,e,n){return de(t,e,n,"weekdays")},n.parseZone=function(){return Nt.apply(null,arguments).parseZone()},n.localeData=_t,n.isDuration=Ht,n.monthsShort=function(t,e){return ue(t,e,"monthsShort")},n.weekdaysMin=function(t,e,n){return de(t,e,n,"weekdaysMin")},n.defineLocale=xt,n.updateLocale=function(t,e){if(null!=e){var n,i=Mn;null!=Sn[t]&&(i=Sn[t]._config),(n=new P(e=C(i,e))).parentLocale=Sn[t],Sn[t]=n,bt(t)}else null!=Sn[t]&&(null!=Sn[t].parentLocale?Sn[t]=Sn[t].parentLocale:null!=Sn[t]&&delete Sn[t]);return Sn[t]},n.locales=function(){return Pe(Sn)},n.weekdaysShort=function(t,e,n){return de(t,e,n,"weekdaysShort")},n.normalizeUnits=A,n.relativeTimeRounding=function(t){return void 0===t?hi:"function"==typeof t&&(hi=t,!0)},n.relativeTimeThreshold=function(t,e){return void 0!==fi[t]&&(void 0===e?fi[t]:(fi[t]=e,"s"===t&&(fi.ss=e-1),!0))},n.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=Zn,n})},{}],7:[function(t,e,n){var i=t(29)();i.helpers=t(45),t(27)(i),i.defaults=t(25),i.Element=t(26),i.elements=t(40),i.Interaction=t(28),i.platform=t(48),t(31)(i),t(22)(i),t(23)(i),t(24)(i),t(30)(i),t(33)(i),t(32)(i),t(35)(i),t(54)(i),t(52)(i),t(53)(i),t(55)(i),t(56)(i),t(57)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var a=[];a.push(t(49)(i),t(50)(i),t(51)(i)),i.plugins.register(a),i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.Chart=i),i.canvasHelpers=i.helpers.canvas},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,35:35,40:40,45:45,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t){t.Line=function(e,n){return n.type="line",new t(e,n)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t){t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},{}],15:[function(t,e,n){"use strict";var i=t(25),a=t(40),r=t(45);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:a.Rectangle,initialize:function(){var e,n=this;t.DatasetController.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0},update:function(t){var e,n,i=this,a=i.getMeta().data;for(i._ruler=i.getRuler(),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t)},updateElement:function(t,e,n){var i=this,a=i.chart,o=i.getMeta(),s=i.getDataset(),l=t.custom||{},u=a.options.elements.rectangle;t._xScale=i.getScaleForId(o.xAxisID),t._yScale=i.getScaleForId(o.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:s.label,label:a.data.labels[e],borderSkipped:l.borderSkipped?l.borderSkipped:u.borderSkipped,backgroundColor:l.backgroundColor?l.backgroundColor:r.valueAtIndexOrDefault(s.backgroundColor,e,u.backgroundColor),borderColor:l.borderColor?l.borderColor:r.valueAtIndexOrDefault(s.borderColor,e,u.borderColor),borderWidth:l.borderWidth?l.borderWidth:r.valueAtIndexOrDefault(s.borderWidth,e,u.borderWidth)},i.updateElementGeometry(t,e,n),t.pivot()},updateElementGeometry:function(t,e,n){var i=this,a=t._model,r=i.getValueScale(),o=r.getBasePixel(),s=r.isHorizontal(),l=i._ruler||i.getRuler(),u=i.calculateBarValuePixels(i.index,e),d=i.calculateBarIndexPixels(i.index,e,l);a.horizontal=s,a.base=n?o:u.base,a.x=s?n?o:u.head:d.center,a.y=s?d.center:n?o:u.head,a.height=s?d.size:void 0,a.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},getStackCount:function(t){var e,n,i=this,a=i.chart,r=i.getIndexScale().options.stacked,o=void 0===t?a.data.datasets.length:t+1,s=[];for(e=0;e<o;++e)(n=a.getDatasetMeta(e)).bar&&a.isDatasetVisible(e)&&(!1===r||!0===r&&-1===s.indexOf(n.stack)||void 0===r&&(void 0===n.stack||-1===s.indexOf(n.stack)))&&s.push(n.stack);return s.length},getStackIndex:function(t){return this.getStackCount(t)-1},getRuler:function(){var t,e,n=this,i=n.getIndexScale(),a=n.getStackCount(),r=n.index,o=[],s=i.isHorizontal(),l=s?i.left:i.top,u=l+(s?i.width:i.height);for(t=0,e=n.getMeta().data.length;t<e;++t)o.push(i.getPixelForValue(null,t,r));return{pixels:o,start:l,end:u,stackCount:a,scale:i}},calculateBarValuePixels:function(t,e){var n,i,a,r,o,s,l=this,u=l.chart,d=l.getMeta(),c=l.getValueScale(),h=u.data.datasets,f=c.getRightValue(h[t].data[e]),g=c.options.stacked,m=d.stack,p=0;if(g||void 0===g&&void 0!==m)for(n=0;n<t;++n)(i=u.getDatasetMeta(n)).bar&&i.stack===m&&i.controller.getValueScaleId()===c.id&&u.isDatasetVisible(n)&&(a=c.getRightValue(h[n].data[e]),(f<0&&a<0||f>=0&&a>0)&&(p+=a));return r=c.getPixelForValue(p),o=c.getPixelForValue(p+f),s=(o-r)/2,{size:s,base:r,head:o,center:o+s/2}},calculateBarIndexPixels:function(t,e,n){var i,a,o,s,l,u,d=this,c=n.scale.options,h=d.getStackIndex(t),f=n.pixels,g=f[e],m=f.length,p=n.start,v=n.end;return 1===m?(i=g>p?g-p:v-g,a=g<v?v-g:g-p):(e>0&&(i=(g-f[e-1])/2,e===m-1&&(a=i)),e<m-1&&(a=(f[e+1]-g)/2,0===e&&(i=a))),o=i*c.categoryPercentage,s=a*c.categoryPercentage,l=(o+s)/n.stackCount,u=l*c.barPercentage,u=Math.min(r.valueOrDefault(c.barThickness,u),r.valueOrDefault(c.maxBarThickness,1/0)),g-=o,g+=l*h,g+=(l-u)/2,{size:u,base:g,head:g+u,center:g+u/2}},draw:function(){var t=this,e=t.chart,n=t.getValueScale(),i=t.getMeta().data,a=t.getDataset(),o=i.length,s=0;for(r.canvas.clipArea(e.ctx,e.chartArea);s<o;++s)isNaN(n.getRightValue(a.data[s]))||i[s].draw();r.canvas.unclipArea(e.ctx)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:r.valueAtIndexOrDefault(e.hoverBackgroundColor,n,r.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:r.valueAtIndexOrDefault(e.hoverBorderColor,n,r.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:r.valueAtIndexOrDefault(e.hoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model,o=this.chart.options.elements.rectangle;a.backgroundColor=i.backgroundColor?i.backgroundColor:r.valueAtIndexOrDefault(e.backgroundColor,n,o.backgroundColor),a.borderColor=i.borderColor?i.borderColor:r.valueAtIndexOrDefault(e.borderColor,n,o.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:r.valueAtIndexOrDefault(e.borderWidth,n,o.borderWidth)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(t,e,n){"use strict";var i=t(25),a=t(40),r=t(45);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:a.Point,update:function(t){var e=this,n=e.getMeta().data;r.each(n,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,a=i.getMeta(),r=t.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveElementOptions(t,e),u=i.getDataset().data[e],d=i.index,c=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,d),h=n?s.getBasePixel():s.getPixelForValue(u,e,d);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:r.skip||isNaN(c)||isNaN(h),x:c,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=r.valueOrDefault(n.hoverBackgroundColor,r.getHoverColor(n.backgroundColor)),e.borderColor=r.valueOrDefault(n.hoverBorderColor,r.getHoverColor(n.borderColor)),e.borderWidth=r.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},removeHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=n.backgroundColor,e.borderColor=n.borderColor,e.borderWidth=n.borderWidth,e.radius=n.radius},_resolveElementOptions:function(t,e){var n,i,a,o=this,s=o.chart,l=s.data.datasets[o.index],u=t.custom||{},d=s.options.elements.point,c=r.options.resolve,h=l.data[e],f={},g={chart:s,dataIndex:e,dataset:l,datasetIndex:o.index},m=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=m.length;n<i;++n)f[a=m[n]]=c([u[a],l[a],d[a]],g,e);return f.radius=c([u.radius,h?h.r:void 0,l.radius,d.radius],g,e),f}})}},{25:25,40:40,45:45}],17:[function(t,e,n){"use strict";var i=t(25),a=t(40),r=t(45);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var a=t.getDatasetMeta(0),o=e.datasets[0],s=a.data[i],l=s&&s.custom||{},u=r.valueAtIndexOrDefault,d=t.options.elements.arc;return{text:n,fillStyle:l.backgroundColor?l.backgroundColor:u(o.backgroundColor,i,d.backgroundColor),strokeStyle:l.borderColor?l.borderColor:u(o.borderColor,i,d.borderColor),lineWidth:l.borderWidth?l.borderWidth:u(o.borderWidth,i,d.borderWidth),hidden:isNaN(o.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return r.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),i._set("pie",r.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:a.Arc,linkScales:r.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e=this,n=e.chart,i=n.chartArea,a=n.options,o=a.elements.arc,s=i.right-i.left-o.borderWidth,l=i.bottom-i.top-o.borderWidth,u=Math.min(s,l),d={x:0,y:0},c=e.getMeta(),h=a.cutoutPercentage,f=a.circumference;if(f<2*Math.PI){var g=a.rotation%(2*Math.PI),m=(g+=2*Math.PI*(g>=Math.PI?-1:g<-Math.PI?1:0))+f,p={x:Math.cos(g),y:Math.sin(g)},v={x:Math.cos(m),y:Math.sin(m)},y=g<=0&&m>=0||g<=2*Math.PI&&2*Math.PI<=m,b=g<=.5*Math.PI&&.5*Math.PI<=m||g<=2.5*Math.PI&&2.5*Math.PI<=m,x=g<=-Math.PI&&-Math.PI<=m||g<=Math.PI&&Math.PI<=m,_=g<=.5*-Math.PI&&.5*-Math.PI<=m||g<=1.5*Math.PI&&1.5*Math.PI<=m,k=h/100,w={x:x?-1:Math.min(p.x*(p.x<0?1:k),v.x*(v.x<0?1:k)),y:_?-1:Math.min(p.y*(p.y<0?1:k),v.y*(v.y<0?1:k))},M={x:y?1:Math.max(p.x*(p.x>0?1:k),v.x*(v.x>0?1:k)),y:b?1:Math.max(p.y*(p.y>0?1:k),v.y*(v.y>0?1:k))},S={width:.5*(M.x-w.x),height:.5*(M.y-w.y)};u=Math.min(s/S.width,l/S.height),d={x:-.5*(M.x+w.x),y:-.5*(M.y+w.y)}}n.borderWidth=e.getMaxBorderWidth(c.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(h?n.outerRadius/100*h:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=d.x*n.outerRadius,n.offsetY=d.y*n.outerRadius,c.total=e.calculateTotal(),e.outerRadius=n.outerRadius-n.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-n.radiusLength,0),r.each(c.data,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,a=i.chart,o=a.chartArea,s=a.options,l=s.animation,u=(o.left+o.right)/2,d=(o.top+o.bottom)/2,c=s.rotation,h=s.rotation,f=i.getDataset(),g=n&&l.animateRotate?0:t.hidden?0:i.calculateCircumference(f.data[e])*(s.circumference/(2*Math.PI)),m=n&&l.animateScale?0:i.innerRadius,p=n&&l.animateScale?0:i.outerRadius,v=r.valueAtIndexOrDefault;r.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+a.offsetX,y:d+a.offsetY,startAngle:c,endAngle:h,circumference:g,outerRadius:p,innerRadius:m,label:v(f.label,e,a.data.labels[e])}});var y=t._model;this.removeHoverStyle(t),n&&l.animateRotate||(y.startAngle=0===e?s.rotation:i.getMeta().data[e-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return r.each(n.data,function(n,a){t=e.data[a],isNaN(t)||n.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(t/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,a=this.index,r=t.length,o=0;o<r;o++)e=t[o]._model?t[o]._model.borderWidth:0,i=(n=t[o]._chart?t[o]._chart.config.data.datasets[a].hoverBorderWidth:0)>(i=e>i?e:i)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(t,e,n){"use strict";var i=t(25),a=t(40),r=t(45);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function e(t,e){return r.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,update:function(t){var n,i,a,o=this,s=o.getMeta(),l=s.dataset,u=s.data||[],d=o.chart.options,c=d.elements.line,h=o.getScaleForId(s.yAxisID),f=o.getDataset(),g=e(f,d);for(g&&(a=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=o.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:d.spanGaps,tension:a.tension?a.tension:r.valueOrDefault(f.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:f.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:f.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:f.borderColor||c.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:f.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:f.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:f.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:f.borderJoinStyle||c.borderJoinStyle,fill:a.fill?a.fill:void 0!==f.fill?f.fill:c.fill,steppedLine:a.steppedLine?a.steppedLine:r.valueOrDefault(f.steppedLine,c.stepped),cubicInterpolationMode:a.cubicInterpolationMode?a.cubicInterpolationMode:r.valueOrDefault(f.cubicInterpolationMode,c.cubicInterpolationMode)},l.pivot()),n=0,i=u.length;n<i;++n)o.updateElement(u[n],n,t);for(g&&0!==l._model.tension&&o.updateBezierControlPoints(),n=0,i=u.length;n<i;++n)u[n].pivot()},getPointBackgroundColor:function(t,e){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),a=t.custom||{};return a.backgroundColor?n=a.backgroundColor:i.pointBackgroundColor?n=r.valueAtIndexOrDefault(i.pointBackgroundColor,e,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(t,e){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),a=t.custom||{};return a.borderColor?n=a.borderColor:i.pointBorderColor?n=r.valueAtIndexOrDefault(i.pointBorderColor,e,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(t,e){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),a=t.custom||{};return isNaN(a.borderWidth)?!isNaN(i.pointBorderWidth)||r.isArray(i.pointBorderWidth)?n=r.valueAtIndexOrDefault(i.pointBorderWidth,e,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=a.borderWidth,n},updateElement:function(t,e,n){var i,a,o=this,s=o.getMeta(),l=t.custom||{},u=o.getDataset(),d=o.index,c=u.data[e],h=o.getScaleForId(s.yAxisID),f=o.getScaleForId(s.xAxisID),g=o.chart.options.elements.point;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),i=f.getPixelForValue("object"==typeof c?c:NaN,e,d),a=n?h.getBasePixel():o.calculatePointY(c,e,d),t._xScale=f,t._yScale=h,t._datasetIndex=d,t._index=e,t._model={x:i,y:a,skip:l.skip||isNaN(i)||isNaN(a),radius:l.radius||r.valueAtIndexOrDefault(u.pointRadius,e,g.radius),pointStyle:l.pointStyle||r.valueAtIndexOrDefault(u.pointStyle,e,g.pointStyle),backgroundColor:o.getPointBackgroundColor(t,e),borderColor:o.getPointBorderColor(t,e),borderWidth:o.getPointBorderWidth(t,e),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:l.hitRadius||r.valueAtIndexOrDefault(u.pointHitRadius,e,g.hitRadius)}},calculatePointY:function(t,e,n){var i,a,r,o=this,s=o.chart,l=o.getMeta(),u=o.getScaleForId(l.yAxisID),d=0,c=0;if(u.options.stacked){for(i=0;i<n;i++)if(a=s.data.datasets[i],"line"===(r=s.getDatasetMeta(i)).type&&r.yAxisID===u.id&&s.isDatasetVisible(i)){var h=Number(u.getRightValue(a.data[e]));h<0?c+=h||0:d+=h||0}var f=Number(u.getRightValue(t));return f<0?u.getPixelForValue(c+f):u.getPixelForValue(d+f)}return u.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,a,o=this,s=o.getMeta(),l=o.chart.chartArea,u=s.data||[];if(s.dataset._model.spanGaps&&(u=u.filter(function(t){return!t._model.skip})),"monotone"===s.dataset._model.cubicInterpolationMode)r.splineCurveMonotone(u);else for(e=0,n=u.length;e<n;++e)i=u[e]._model,a=r.splineCurve(r.previousItem(u,e)._model,i,r.nextItem(u,e)._model,s.dataset._model.tension),i.controlPointPreviousX=a.previous.x,i.controlPointPreviousY=a.previous.y,i.controlPointNextX=a.next.x,i.controlPointNextY=a.next.y;if(o.chart.options.elements.line.capBezierPoints)for(e=0,n=u.length;e<n;++e)(i=u[e]._model).controlPointPreviousX=t(i.controlPointPreviousX,l.left,l.right),i.controlPointPreviousY=t(i.controlPointPreviousY,l.top,l.bottom),i.controlPointNextX=t(i.controlPointNextX,l.left,l.right),i.controlPointNextY=t(i.controlPointNextY,l.top,l.bottom)},draw:function(){var t=this,n=t.chart,i=t.getMeta(),a=i.data||[],o=n.chartArea,s=a.length,l=0;for(r.canvas.clipArea(n.ctx,o),e(t.getDataset(),n.options)&&i.dataset.draw(),r.canvas.unclipArea(n.ctx);l<s;++l)a[l].draw(o)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.radius=i.hoverRadius||r.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor||r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,r.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor||r.valueAtIndexOrDefault(e.pointHoverBorderColor,n,r.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth||r.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this,n=e.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},o=t._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),o.radius=a.radius||r.valueAtIndexOrDefault(n.pointRadius,i,e.chart.options.elements.point.radius),o.backgroundColor=e.getPointBackgroundColor(t,i),o.borderColor=e.getPointBorderColor(t,i),o.borderWidth=e.getPointBorderWidth(t,i)}})}},{25:25,40:40,45:45}],19:[function(t,e,n){"use strict";var i=t(25),a=t(40),r=t(45);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&e.push(a[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var a=t.getDatasetMeta(0),o=e.datasets[0],s=a.data[i].custom||{},l=r.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,i,u.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,i,u.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,i,u.borderWidth),hidden:isNaN(o.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:a.Arc,linkScales:r.noop,update:function(t){var e=this,n=e.chart,i=n.chartArea,a=e.getMeta(),o=n.options,s=o.elements.arc,l=Math.min(i.right-i.left,i.bottom-i.top);n.outerRadius=Math.max((l-s.borderWidth/2)/2,0),n.innerRadius=Math.max(o.cutoutPercentage?n.outerRadius/100*o.cutoutPercentage:1,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),e.outerRadius=n.outerRadius-n.radiusLength*e.index,e.innerRadius=e.outerRadius-n.radiusLength,a.count=e.countVisibleElements(),r.each(a.data,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){for(var i=this,a=i.chart,o=i.getDataset(),s=a.options,l=s.animation,u=a.scale,d=a.data.labels,c=i.calculateCircumference(o.data[e]),h=u.xCenter,f=u.yCenter,g=0,m=i.getMeta(),p=0;p<e;++p)isNaN(o.data[p])||m.data[p].hidden||++g;var v=s.startAngle,y=t.hidden?0:u.getDistanceFromCenterForValue(o.data[e]),b=v+c*g,x=b+(t.hidden?0:c),_=l.animateScale?0:u.getDistanceFromCenterForValue(o.data[e]);r.extend(t,{_datasetIndex:i.index,_index:e,_scale:u,_model:{x:h,y:f,innerRadius:0,outerRadius:n?_:y,startAngle:n&&l.animateRotate?v:b,endAngle:n&&l.animateRotate?v:x,label:r.valueAtIndexOrDefault(d,e,d[e])}}),i.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return r.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||n++}),n},calculateCircumference:function(t){var e=this.getMeta().count;return e>0&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,n){"use strict";var i=t(25),a=t(40),r=t(45);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,linkScales:r.noop,update:function(t){var e=this,n=e.getMeta(),i=n.dataset,a=n.data,o=i.custom||{},s=e.getDataset(),l=e.chart.options.elements.line,u=e.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r.extend(n.dataset,{_datasetIndex:e.index,_scale:u,_children:a,_loop:!0,_model:{tension:o.tension?o.tension:r.valueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle}}),n.dataset.pivot(),r.each(a,function(n,i){e.updateElement(n,i,t)},e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,a=t.custom||{},o=i.getDataset(),s=i.chart.scale,l=i.chart.options.elements.point,u=s.getPointPositionForValue(e,o.data[e]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),r.extend(t,{_datasetIndex:i.index,_index:e,_scale:s,_model:{x:n?s.xCenter:u.x,y:n?s.yCenter:u.y,tension:a.tension?a.tension:r.valueOrDefault(o.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:r.valueAtIndexOrDefault(o.pointRadius,e,l.radius),backgroundColor:a.backgroundColor?a.backgroundColor:r.valueAtIndexOrDefault(o.pointBackgroundColor,e,l.backgroundColor),borderColor:a.borderColor?a.borderColor:r.valueAtIndexOrDefault(o.pointBorderColor,e,l.borderColor),borderWidth:a.borderWidth?a.borderWidth:r.valueAtIndexOrDefault(o.pointBorderWidth,e,l.borderWidth),pointStyle:a.pointStyle?a.pointStyle:r.valueAtIndexOrDefault(o.pointStyle,e,l.pointStyle),hitRadius:a.hitRadius?a.hitRadius:r.valueAtIndexOrDefault(o.pointHitRadius,e,l.hitRadius)}}),t._model.skip=a.skip?a.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();r.each(e.data,function(n,i){var a=n._model,o=r.splineCurve(r.previousItem(e.data,i,!0)._model,a,r.nextItem(e.data,i,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(o.previous.x,t.right),t.left),a.controlPointPreviousY=Math.max(Math.min(o.previous.y,t.bottom),t.top),a.controlPointNextX=Math.max(Math.min(o.next.x,t.right),t.left),a.controlPointNextY=Math.max(Math.min(o.next.y,t.bottom),t.top),n.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model;a.radius=n.hoverRadius?n.hoverRadius:r.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,r.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor?n.hoverBorderColor:r.valueAtIndexOrDefault(e.pointHoverBorderColor,i,r.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:r.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model,o=this.chart.options.elements.point;a.radius=n.radius?n.radius:r.valueAtIndexOrDefault(e.pointRadius,i,o.radius),a.backgroundColor=n.backgroundColor?n.backgroundColor:r.valueAtIndexOrDefault(e.pointBackgroundColor,i,o.backgroundColor),a.borderColor=n.borderColor?n.borderColor:r.valueAtIndexOrDefault(e.pointBorderColor,i,o.borderColor),a.borderWidth=n.borderWidth?n.borderWidth:r.valueAtIndexOrDefault(e.pointBorderWidth,i,o.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,n){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:r.noop,onComplete:r.noop}}),e.exports=function(t){t.Animation=a.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var a,r,o=this.animations;for(e.chart=t,i||(t.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===t)return void(o[a]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=r.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=r.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;t.dropFrames>1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,a=0;a<i.length;)n=(e=i[a]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),r.callback(e.render,[n,e],n),r.callback(e.onAnimationProgress,[e],n),e.currentStep>=e.numSteps?(r.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,n){"use strict";var i=t(25),a=t(45),r=t(28),o=t(48);e.exports=function(t){function e(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=a.configMerge(i.global,i[t.type],t.options||{}),t}function n(t){var e=t.options;e.scale?t.scale.options=e.scale:e.scales&&e.scales.xAxes.concat(e.scales.yAxes).forEach(function(e){t.scales[e.id].options=e}),t.tooltip._options=e.tooltips}function s(t){return"top"===t||"bottom"===t}var l=t.plugins;t.types={},t.instances={},t.controllers={},a.extend(t.prototype,{construct:function(n,i){var r=this;i=e(i);var s=o.acquireContext(n,i),l=s&&s.canvas,u=l&&l.height,d=l&&l.width;r.id=a.uid(),r.ctx=s,r.canvas=l,r.config=i,r.width=d,r.height=u,r.aspectRatio=u?d/u:null,r.options=i.options,r._bufferedRender=!1,r.chart=r,r.controller=r,t.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(t){r.config.data=t}}),s&&l?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return l.notify(t,"beforeInit"),a.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildScales(),t.initToolTip(),l.notify(t,"afterInit"),t},clear:function(){return a.canvas.clear(this),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(a.getMaximumWidth(i))),s=Math.max(0,Math.floor(r?o/r:a.getMaximumHeight(i)));if((e.width!==o||e.height!==s)&&(i.width=e.width=o,i.height=e.height=s,i.style.width=o+"px",i.style.height=s+"px",a.retinaScale(e,n.devicePixelRatio),!t)){var u={width:o,height:s};l.notify(e,"resize",[u]),e.options.onResize&&e.options.onResize(e,u),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;a.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),a.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildScales:function(){var e=this,n=e.options,i=e.scales={},r=[];n.scales&&(r=r.concat((n.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),n.scale&&r.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(r,function(n){var r=n.options,o=a.valueOrDefault(r.type,n.dtype),l=t.scaleService.getScaleConstructor(o);if(l){s(r.position)!==s(n.dposition)&&(r.position=n.dposition);var u=new l({id:r.id,options:r,ctx:e.ctx,chart:e});i[u.id]=u,u.mergeTicksOptions(),n.isDefault&&(e.scale=u)}}),t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return a.each(e.data.datasets,function(a,r){var o=e.getDatasetMeta(r),s=a.type||e.config.type;if(o.type&&o.type!==s&&(e.destroyDatasetMeta(r),o=e.getDatasetMeta(r)),o.type=s,n.push(o.type),o.controller)o.controller.updateIndex(r);else{var l=t.controllers[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(e,r),i.push(o.controller)}},e),i},resetElements:function(){var t=this;a.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n(e),!1!==l.notify(e,"beforeUpdate")){e.tooltip._data=e.data;var i=e.buildOrUpdateControllers();a.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.buildOrUpdateElements()},e),e.updateLayout(),a.each(i,function(t){t.reset()}),e.updateDatasets(),e.tooltip.initialize(),e.lastActive=[],l.notify(e,"afterUpdate"),e._bufferedRender?e._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:e.render(t)}},updateLayout:function(){var e=this;!1!==l.notify(e,"beforeLayout")&&(t.layoutService.update(this,this.width,this.height),l.notify(e,"afterScaleUpdate"),l.notify(e,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==l.notify(t,"beforeDatasetsUpdate")){for(var e=0,n=t.data.datasets.length;e<n;++e)t.updateDataset(e);l.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this,n=e.getDatasetMeta(t),i={meta:n,index:t};!1!==l.notify(e,"beforeDatasetUpdate",[i])&&(n.controller.update(),l.notify(e,"afterDatasetUpdate",[i]))},render:function(e){var n=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var i=e.duration,r=e.lazy;if(!1!==l.notify(n,"beforeRender")){var o=n.options.animation,s=function(t){l.notify(n,"afterRender"),a.callback(o&&o.onComplete,[t],n)};if(o&&(void 0!==i&&0!==i||void 0===i&&0!==o.duration)){var u=new t.Animation({numSteps:(i||o.duration)/16.66,easing:e.easing||o.easing,render:function(t,e){var n=a.easing.effects[e.easing],i=e.currentStep,r=i/e.numSteps;t.draw(n(r),r,i)},onAnimationProgress:o.onProgress,onAnimationComplete:s});t.animationService.addAnimation(n,u,i,r)}else n.draw(),s(new t.Animation({numSteps:0,chart:n}));return n}},draw:function(t){var e=this;e.clear(),a.isNullOrUndef(t)&&(t=1),e.transition(t),!1!==l.notify(e,"beforeDraw",[t])&&(a.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),l.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=this,n=0,i=(e.data.datasets||[]).length;n<i;++n)e.isDatasetVisible(n)&&e.getDatasetMeta(n).controller.transition(t);e.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==l.notify(e,"beforeDatasetsDraw",[t])){for(var n=(e.data.datasets||[]).length-1;n>=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);l.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,i=n.getDatasetMeta(t),a={meta:i,index:t,easingValue:e};!1!==l.notify(n,"beforeDatasetDraw",[a])&&(i.controller.draw(e),l.notify(n,"afterDatasetDraw",[a]))},_drawTooltip:function(t){var e=this,n=e.tooltip,i={tooltip:n,easingValue:t};!1!==l.notify(e,"beforeTooltipDraw",[i])&&(n.draw(),l.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return r.modes.single(this,t)},getElementsAtEvent:function(t){return r.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return r.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=r.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return r.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var e,n,i=this,r=i.canvas;for(i.stop(),e=0,n=i.data.datasets.length;e<n;++e)i.destroyDatasetMeta(e);r&&(i.unbindEvents(),a.canvas.clear(i),o.releaseContext(i.ctx),i.canvas=null,i.ctx=null),l.notify(i,"destroy"),delete t.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new t.Tooltip({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};a.each(t.options.events,function(i){o.addEventListener(t,i,n),e[i]=n}),t.options.responsive&&(n=function(){t.resize()},o.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,a.each(e,function(e,n){o.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var i,a,r,o=n?"setHoverStyle":"removeHoverStyle";for(a=0,r=t.length;a<r;++a)(i=t[a])&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==l.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);i|=n&&n.handleEvent(t),l.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render(e.options.hover.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e=this,n=e.options||{},i=n.hover,r=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,i.mode,i),a.callback(n.onHover||n.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,i.mode,!1),e.active.length&&i.mode&&e.updateHoverStyle(e.active,i.mode,!0),r=!a.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,r}}),t.Controller=t}},{25:25,28:28,45:45,48:48}],24:[function(t,e,n){"use strict";var i=t(45);e.exports=function(t){function e(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),a.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),a=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=a.apply(this,e);return i.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),r}})}))}function n(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(a.forEach(function(e){delete t[e]}),delete t._chartjs)}}var a=["push","pop","shift","splice","unshift"];t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null===e.xAxisID&&(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null===e.yAxisID&&(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),a=n.getDataset().data||[],r=i.data;for(t=0,e=a.length;t<e;++t)r[t]=r[t]||n.createMetaData(t);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,i=t.getDataset(),a=i.data||(i.data=[]);t._data!==a&&(t._data&&n(t._data,t),e(a,t),t._data=a),t.resyncElements()},update:i.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,a=0;a<i;++a)n[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],a=t._index,r=t.custom||{},o=i.valueAtIndexOrDefault,s=t._model;s.backgroundColor=r.backgroundColor?r.backgroundColor:o(n.backgroundColor,a,e.backgroundColor),s.borderColor=r.borderColor?r.borderColor:o(n.borderColor,a,e.borderColor),s.borderWidth=r.borderWidth?r.borderWidth:o(n.borderWidth,a,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,a=t.custom||{},r=i.valueAtIndexOrDefault,o=i.getHoverColor,s=t._model;s.backgroundColor=a.hoverBackgroundColor?a.hoverBackgroundColor:r(e.hoverBackgroundColor,n,o(s.backgroundColor)),s.borderColor=a.hoverBorderColor?a.hoverBorderColor:r(e.hoverBorderColor,n,o(s.borderColor)),s.borderWidth=a.hoverBorderWidth?a.hoverBorderWidth:r(e.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var t=this,e=t.getMeta(),n=t.getDataset().data,i=e.data.length,a=n.length;a<i?e.data.splice(a,i-a):a>i&&t.insertElements(i,a-i)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=i.inherits}},{45:45}],25:[function(t,e,n){"use strict";var i=t(45);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{45:45}],26:[function(t,e,n){"use strict";function i(t,e,n,i){var r,o,s,l,u,d,c,h,f,g=Object.keys(n);for(r=0,o=g.length;r<o;++r)if(s=g[r],d=n[s],e.hasOwnProperty(s)||(e[s]=d),(l=e[s])!==d&&"_"!==s[0]){if(t.hasOwnProperty(s)||(t[s]=l),u=t[s],(c=typeof d)===typeof u)if("string"===c){if((h=a(u)).valid&&(f=a(d)).valid){e[s]=f.mix(h,i).rgbString();continue}}else if("number"===c&&isFinite(u)&&isFinite(d)){e[s]=u+(d-u)*i;continue}e[s]=d}}var a=t(2),r=t(45),o=function(t){r.extend(this,t),this.initialize.apply(this,arguments)};r.extend(o.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=r.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,a=e._start,r=e._view;return n&&1!==t?(r||(r=e._view={}),a||(a=e._start={}),i(a,r,n,t),e):(e._view=n,e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return r.isNumber(this._model.x)&&r.isNumber(this._model.y)}}),o.extend=r.inherits,e.exports=o},{2:2,45:45}],27:[function(t,e,n){"use strict";var i=t(2),a=t(25),r=t(45);e.exports=function(t){function e(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function n(t){return void 0!==t&&null!==t&&"none"!==t}function o(t,i,a){var r=document.defaultView,o=t.parentNode,s=r.getComputedStyle(t)[i],l=r.getComputedStyle(o)[i],u=n(s),d=n(l),c=Number.POSITIVE_INFINITY;return u||d?Math.min(u?e(s,t,a):c,d?e(l,o,a):c):"none"}r.configMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,a){var o=n[e]||{},s=i[e];"scales"===e?n[e]=r.scaleMerge(o,s):"scale"===e?n[e]=r.merge(o,[t.scaleService.getScaleDefaults(s.type),s]):r._merger(e,n,i,a)}})},r.scaleMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,a){if("xAxes"===e||"yAxes"===e){var o,s,l,u=i[e].length;for(n[e]||(n[e]=[]),o=0;o<u;++o)l=i[e][o],s=r.valueOrDefault(l.type,"xAxes"===e?"category":"linear"),o>=n[e].length&&n[e].push({}),!n[e][o].type||l.type&&l.type!==n[e][o].type?r.merge(n[e][o],[t.scaleService.getScaleDefaults(s),l]):r.merge(n[e][o],l)}else r._merger(e,n,i,a)}})},r.where=function(t,e){if(r.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return r.each(t,function(t){e(t)&&n.push(t)}),n},r.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i<a;++i)if(e.call(n,t[i],i,t))return i;return-1},r.findNextWhere=function(t,e,n){r.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var a=t[i];if(e(a))return a}},r.findPreviousWhere=function(t,e,n){r.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var a=t[i];if(e(a))return a}},r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.almostEquals=function(t,e,n){return Math.abs(t-e)<n},r.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&n+e>t},r.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},r.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},r.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},r.log10=Math.log10?function(t){return Math.log10(t)}:function(t){return Math.log(t)/Math.LN10},r.toRadians=function(t){return t*(Math.PI/180)},r.toDegrees=function(t){return t*(180/Math.PI)},r.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},r.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},r.aliasPixel=function(t){return t%2==0?0:.5},r.splineCurve=function(t,e,n,i){var a=t.skip?e:t,r=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=s/(s+l),d=l/(s+l),c=i*(u=isNaN(u)?0:u),h=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-c*(o.x-a.x),y:r.y-c*(o.y-a.y)},next:{x:r.x+h*(o.x-a.x),y:r.y+h*(o.y-a.y)}}},r.EPSILON=Number.EPSILON||1e-14,r.splineCurveMonotone=function(t){var e,n,i,a,o=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),s=o.length;for(e=0;e<s;++e)if(!(i=o[e]).model.skip){if(n=e>0?o[e-1]:null,(a=e<s-1?o[e+1]:null)&&!a.model.skip){var l=a.model.x-i.model.x;i.deltaK=0!==l?(a.model.y-i.model.y)/l:0}!n||n.model.skip?i.mK=i.deltaK:!a||a.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}var u,d,c,h;for(e=0;e<s-1;++e)i=o[e],a=o[e+1],i.model.skip||a.model.skip||(r.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(u=i.mK/i.deltaK,d=a.mK/i.deltaK,(h=Math.pow(u,2)+Math.pow(d,2))<=9||(c=3/Math.sqrt(h),i.mK=u*c*i.deltaK,a.mK=d*c*i.deltaK)));var f;for(e=0;e<s;++e)(i=o[e]).model.skip||(n=e>0?o[e-1]:null,a=e<s-1?o[e+1]:null,n&&!n.model.skip&&(f=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-f,i.model.controlPointPreviousY=i.model.y-f*i.mK),a&&!a.model.skip&&(f=(a.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+f,i.model.controlPointNextY=i.model.y+f*i.mK))},r.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},r.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},r.niceNum=function(t,e){var n=Math.floor(r.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},r.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},r.getRelativePosition=function(t,e){var n,i,a=t.originalEvent||t,o=t.currentTarget||t.srcElement,s=o.getBoundingClientRect(),l=a.touches;l&&l.length>0?(n=l[0].clientX,i=l[0].clientY):(n=a.clientX,i=a.clientY);var u=parseFloat(r.getStyle(o,"padding-left")),d=parseFloat(r.getStyle(o,"padding-top")),c=parseFloat(r.getStyle(o,"padding-right")),h=parseFloat(r.getStyle(o,"padding-bottom")),f=s.right-s.left-u-c,g=s.bottom-s.top-d-h;return n=Math.round((n-s.left-u)/f*o.width/e.currentDevicePixelRatio),i=Math.round((i-s.top-d)/g*o.height/e.currentDevicePixelRatio),{x:n,y:i}},r.getConstraintWidth=function(t){return o(t,"max-width","clientWidth")},r.getConstraintHeight=function(t){return o(t,"max-height","clientHeight")},r.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(r.getStyle(e,"padding-left"),10),i=parseInt(r.getStyle(e,"padding-right"),10),a=e.clientWidth-n-i,o=r.getConstraintWidth(t);return isNaN(o)?a:Math.min(a,o)},r.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(r.getStyle(e,"padding-top"),10),i=parseInt(r.getStyle(e,"padding-bottom"),10),a=e.clientHeight-n-i,o=r.getConstraintHeight(t);return isNaN(o)?a:Math.min(a,o)},r.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},r.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,a=t.height,r=t.width;i.height=a*n,i.width=r*n,t.ctx.scale(n,n),i.style.height=a+"px",i.style.width=r+"px"}},r.fontString=function(t,e,n){return e+" "+t+"px "+n},r.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},o=i.garbageCollect=[],i.font=e),t.font=e;var s=0;r.each(n,function(e){void 0!==e&&null!==e&&!0!==r.isArray(e)?s=r.measureText(t,a,o,s,e):r.isArray(e)&&r.each(e,function(e){void 0===e||null===e||r.isArray(e)||(s=r.measureText(t,a,o,s,e))})});var l=o.length/2;if(l>n.length){for(var u=0;u<l;u++)delete a[o[u]];o.splice(0,l)}return s},r.measureText=function(t,e,n,i,a){var r=e[a];return r||(r=e[a]=t.measureText(a).width,n.push(a)),r>i&&(i=r),i},r.numberOfLabelLines=function(t){var e=1;return r.each(t,function(t){r.isArray(t)&&t.length>e&&(e=t.length)}),e},r.color=i?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},r.getHoverColor=function(t){return t instanceof CanvasPattern?t:r.color(t).saturate(.5).darken(.1).rgbString()}}},{2:2,25:25,45:45}],28:[function(t,e,n){"use strict";function i(t,e){return t.native?{x:t.x,y:t.y}:u.getRelativePosition(t,e)}function a(t,e){var n,i,a,r,o;for(i=0,r=t.data.datasets.length;i<r;++i)if(t.isDatasetVisible(i))for(a=0,o=(n=t.getDatasetMeta(i)).data.length;a<o;++a){var s=n.data[a];s._view.skip||e(s)}}function r(t,e){var n=[];return a(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function o(t,e,n,i){var r=Number.POSITIVE_INFINITY,o=[];return a(t,function(t){if(!n||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),s=i(e,a);s<r?(o=[t],r=s):s===r&&o.push(t)}}),o}function s(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var a=e?Math.abs(t.x-i.x):0,r=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}}function l(t,e,n){var a=i(e,t);n.axis=n.axis||"x";var l=s(n.axis),u=n.intersect?r(t,a):o(t,a,!1,l),d=[];return u.length?(t.data.datasets.forEach(function(e,n){if(t.isDatasetVisible(n)){var i=t.getDatasetMeta(n).data[u[0]._index];i&&!i._view.skip&&d.push(i)}}),d):[]}var u=t(45);e.exports={modes:{single:function(t,e){var n=i(e,t),r=[];return a(t,function(t){if(t.inRange(n.x,n.y))return r.push(t),r}),r.slice(0,1)},label:l,index:l,dataset:function(t,e,n){var a=i(e,t);n.axis=n.axis||"xy";var l=s(n.axis),u=n.intersect?r(t,a):o(t,a,!1,l);return u.length>0&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return l(t,e,{intersect:!1})},point:function(t,e){return r(t,i(e,t))},nearest:function(t,e,n){var a=i(e,t);n.axis=n.axis||"xy";var r=s(n.axis),l=o(t,a,n.intersect,r);return l.length>1&&l.sort(function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n}),l.slice(0,1)},x:function(t,e,n){var r=i(e,t),o=[],s=!1;return a(t,function(t){t.inXRange(r.x)&&o.push(t),t.inRange(r.x,r.y)&&(s=!0)}),n.intersect&&!s&&(o=[]),o},y:function(t,e,n){var r=i(e,t),o=[],s=!1;return a(t,function(t){t.inYRange(r.y)&&o.push(t),t.inRange(r.x,r.y)&&(s=!0)}),n.intersect&&!s&&(o=[]),o}}}},{45:45}],29:[function(t,e,n){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t,t}},{25:25}],30:[function(t,e,n){"use strict";var i=t(45);e.exports=function(t){function e(t,e){return i.where(t,function(t){return t.position===e})}function n(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,n){var i=e?n:t,a=e?t:n;return i.weight===a.weight?i._tmpIndex_-a._tmpIndex_:i.weight-a.weight}),t.forEach(function(t){delete t._tmpIndex_})}t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)i=a[o],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,a,r){function o(t){var e=i.findNextWhere(D,function(e){return e.box===t});if(e)if(t.isHorizontal()){var n={left:Math.max(I,C),right:Math.max(O,P),top:0,bottom:0};t.update(t.fullWidth?b:M,x/2,n)}else t.update(e.minSize.width,S)}function s(t){t.isHorizontal()?(t.left=t.fullWidth?d:I,t.right=t.fullWidth?a-c:I+M,t.top=B,t.bottom=B+t.height,B=t.bottom):(t.left=z,t.right=z+t.width,t.top=F,t.bottom=F+S,z=t.right)}if(t){var l=t.options.layout||{},u=i.options.toPadding(l.padding),d=u.left,c=u.right,h=u.top,f=u.bottom,g=e(t.boxes,"left"),m=e(t.boxes,"right"),p=e(t.boxes,"top"),v=e(t.boxes,"bottom"),y=e(t.boxes,"chartArea");n(g,!0),n(m,!1),n(p,!0),n(v,!1);var b=a-d-c,x=r-h-f,_=x/2,k=(a-b/2)/(g.length+m.length),w=(r-_)/(p.length+v.length),M=b,S=x,D=[];i.each(g.concat(m,p,v),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?b:M,w),S-=e.height):(e=t.update(k,_),M-=e.width),D.push({horizontal:n,minSize:e,box:t})});var C=0,P=0,T=0,A=0;i.each(p.concat(v),function(t){if(t.getPadding){var e=t.getPadding();C=Math.max(C,e.left),P=Math.max(P,e.right)}}),i.each(g.concat(m),function(t){if(t.getPadding){var e=t.getPadding();T=Math.max(T,e.top),A=Math.max(A,e.bottom)}});var I=d,O=c,F=h,R=f;i.each(g.concat(m),o),i.each(g,function(t){I+=t.width}),i.each(m,function(t){O+=t.width}),i.each(p.concat(v),o),i.each(p,function(t){F+=t.height}),i.each(v,function(t){R+=t.height}),i.each(g.concat(m),function(t){var e=i.findNextWhere(D,function(e){return e.box===t}),n={left:0,right:0,top:F,bottom:R};e&&t.update(e.minSize.width,S,n)}),I=d,O=c,F=h,R=f,i.each(g,function(t){I+=t.width}),i.each(m,function(t){O+=t.width}),i.each(p,function(t){F+=t.height}),i.each(v,function(t){R+=t.height});var L=Math.max(C-I,0);I+=L,O+=Math.max(P-O,0);var W=Math.max(T-F,0);F+=W,R+=Math.max(A-R,0);var Y=r-F-R,N=a-I-O;N===M&&Y===S||(i.each(g,function(t){t.height=Y}),i.each(m,function(t){t.height=Y}),i.each(p,function(t){t.fullWidth||(t.width=N)}),i.each(v,function(t){t.fullWidth||(t.width=N)}),S=Y,M=N);var z=d+L,B=h+W;i.each(g.concat(p),s),z+=M,B+=S,i.each(m,s),i.each(v,s),t.chartArea={left:I,top:F,right:I+M,bottom:F+S},i.each(y,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(M,S)})}}}}},{45:45}],31:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{plugins:{}}),e.exports=function(t){t.plugins={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,a,r,o,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if(a=l[i],r=a.plugin,"function"==typeof(s=r[e])&&((o=[t].concat(n||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t._plugins||(t._plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],a=[],o=t&&t.config||{},s=o.options&&o.options.plugins||{};return this._plugins.concat(o.plugins||[]).forEach(function(t){if(-1===n.indexOf(t)){var e=t.id,o=s[e];!1!==o&&(!0===o&&(o=r.clone(i.global.plugins[e])),n.push(t),a.push({plugin:t,options:o||{}}))}}),e.descriptors=a,e.id=this._cacheId,a}},t.pluginService=t.plugins,t.PluginBase=a.extend({})}},{25:25,26:26,45:45}],32:[function(t,e,n){"use strict";function i(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(t[e].label);return i}function a(t,e,n){var i=t.getPixelForTick(e);return n&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}var r=t(25),o=t(26),s=t(45),l=t(34);r._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:l.formatters.values,minor:{},major:{}}}),e.exports=function(t){function e(t,e,n){return s.isArray(e)?s.longestText(t,n,e):t.measureText(e).width}function n(t){var e=s.valueOrDefault,n=r.global,i=e(t.fontSize,n.defaultFontSize),a=e(t.fontStyle,n.defaultFontStyle),o=e(t.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:o,font:s.fontString(i,a,o)}}function l(t){return s.options.toLineHeight(s.valueOrDefault(t.lineHeight,1.2),s.valueOrDefault(t.fontSize,r.global.defaultFontSize))}t.Scale=o.extend({getPadding:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1});for(var e in t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){s.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,a,r,o,l,u,d=this;for(d.beforeUpdate(),d.maxWidth=t,d.maxHeight=e,d.margins=s.extend({left:0,right:0,top:0,bottom:0},n),d.longestTextCache=d.longestTextCache||{},d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d.beforeBuildTicks(),l=d.buildTicks()||[],d.afterBuildTicks(),d.beforeTickToLabelConversion(),r=d.convertTicksToLabels(l)||d.ticks,d.afterTickToLabelConversion(),d.ticks=r,i=0,a=r.length;i<a;++i)o=r[i],(u=l[i])?u.label=o:l.push(u={label:o,major:!1});return d._ticks=l,d.beforeCalculateTickRotation(),d.calculateTickRotation(),d.afterCalculateTickRotation(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:function(){s.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){s.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){s.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){s.callback(this.options.beforeDataLimits,[this])},determineDataLimits:s.noop,afterDataLimits:function(){s.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){s.callback(this.options.beforeBuildTicks,[this])},buildTicks:s.noop,afterBuildTicks:function(){s.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){s.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){s.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){s.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,a=t.options.ticks,r=i(t._ticks),o=n(a);e.font=o.font;var l=a.minRotation||0;if(r.length&&t.options.display&&t.isHorizontal())for(var u,d=s.longestText(e,o.font,r,t.longestTextCache),c=d,h=t.getPixelForTick(1)-t.getPixelForTick(0)-6;c>h&&l<a.maxRotation;){var f=s.toRadians(l);if(u=Math.cos(f),Math.sin(f)*d>t.maxHeight){l--;break}l++,c=u*d}t.labelRotation=l},afterCalculateTickRotation:function(){s.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){s.callback(this.options.beforeFit,[this])},fit:function(){var t=this,a=t.minSize={width:0,height:0},r=i(t._ticks),o=t.options,u=o.ticks,d=o.scaleLabel,c=o.gridLines,h=o.display,f=t.isHorizontal(),g=n(u),m=o.gridLines.tickMarkLength;if(a.width=f?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&c.drawTicks?m:0,a.height=f?h&&c.drawTicks?m:0:t.maxHeight,d.display&&h){var p=l(d)+s.options.toPadding(d.padding).height;f?a.height+=p:a.width+=p}if(u.display&&h){var v=s.longestText(t.ctx,g.font,r,t.longestTextCache),y=s.numberOfLabelLines(r),b=.5*g.size,x=t.options.ticks.padding;if(f){t.longestLabelWidth=v;var _=s.toRadians(t.labelRotation),k=Math.cos(_),w=Math.sin(_)*v+g.size*y+b*(y-1)+b;a.height=Math.min(t.maxHeight,a.height+w+x),t.ctx.font=g.font;var M=e(t.ctx,r[0],g.font),S=e(t.ctx,r[r.length-1],g.font);0!==t.labelRotation?(t.paddingLeft="bottom"===o.position?k*M+3:k*b+3,t.paddingRight="bottom"===o.position?k*b+3:k*S+3):(t.paddingLeft=M/2+3,t.paddingRight=S/2+3)}else u.mirror?v=0:v+=x+b,a.width=Math.min(t.maxWidth,a.width+v),t.paddingTop=g.size/2,t.paddingBottom=g.size/2}t.handleMargins(),t.width=a.width,t.height=a.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){s.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(s.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:s.noop,getPixelForValue:s.noop,getValueForPixel:s.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),a=i*t+e.paddingLeft;n&&(a+=i/2);var r=e.left+Math.round(a);return r+=e.isFullWidth()?e.margins.left:0}var o=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(o/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,i=e.left+Math.round(n);return i+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,i,a,r=this,o=r.isHorizontal(),l=r.options.ticks.minor,u=t.length,d=s.toRadians(r.labelRotation),c=Math.cos(d),h=r.longestLabelWidth*c,f=[];for(l.maxTicksLimit&&(a=l.maxTicksLimit),o&&(e=!1,(h+l.autoSkipPadding)*u>r.width-(r.paddingLeft+r.paddingRight)&&(e=1+Math.floor((h+l.autoSkipPadding)*u/(r.width-(r.paddingLeft+r.paddingRight)))),a&&u>a&&(e=Math.max(e,Math.floor(u/a)))),n=0;n<u;n++)i=t[n],(e>1&&n%e>0||n%e==0&&n+e>=u)&&n!==u-1&&delete i.label,f.push(i);return f},draw:function(t){var e=this,i=e.options;if(i.display){var o=e.ctx,u=r.global,d=i.ticks.minor,c=i.ticks.major||d,h=i.gridLines,f=i.scaleLabel,g=0!==e.labelRotation,m=e.isHorizontal(),p=d.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),v=s.valueOrDefault(d.fontColor,u.defaultFontColor),y=n(d),b=s.valueOrDefault(c.fontColor,u.defaultFontColor),x=n(c),_=h.drawTicks?h.tickMarkLength:0,k=s.valueOrDefault(f.fontColor,u.defaultFontColor),w=n(f),M=s.options.toPadding(f.padding),S=s.toRadians(e.labelRotation),D=[],C="right"===i.position?e.left:e.right-_,P="right"===i.position?e.left+_:e.right,T="bottom"===i.position?e.top:e.bottom-_,A="bottom"===i.position?e.top+_:e.bottom;if(s.each(p,function(n,r){if(!s.isNullOrUndef(n.label)){var o,l,c,f,v=n.label;r===e.zeroLineIndex&&i.offset===h.offsetGridLines?(o=h.zeroLineWidth,l=h.zeroLineColor,c=h.zeroLineBorderDash,f=h.zeroLineBorderDashOffset):(o=s.valueAtIndexOrDefault(h.lineWidth,r),l=s.valueAtIndexOrDefault(h.color,r),c=s.valueOrDefault(h.borderDash,u.borderDash),f=s.valueOrDefault(h.borderDashOffset,u.borderDashOffset));var y,b,x,k,w,M,I,O,F,R,L="middle",W="middle",Y=d.padding;if(m){var N=_+Y;"bottom"===i.position?(W=g?"middle":"top",L=g?"right":"center",R=e.top+N):(W=g?"middle":"bottom",L=g?"left":"center",R=e.bottom-N);var z=a(e,r,h.offsetGridLines&&p.length>1);z<e.left&&(l="rgba(0,0,0,0)"),z+=s.aliasPixel(o),F=e.getPixelForTick(r)+d.labelOffset,y=x=w=I=z,b=T,k=A,M=t.top,O=t.bottom}else{var B,V="left"===i.position;d.mirror?(L=V?"left":"right",B=Y):(L=V?"right":"left",B=_+Y),F=V?e.right-B:e.left+B;var H=a(e,r,h.offsetGridLines&&p.length>1);H<e.top&&(l="rgba(0,0,0,0)"),H+=s.aliasPixel(o),R=e.getPixelForTick(r)+d.labelOffset,y=C,x=P,w=t.left,I=t.right,b=k=M=O=H}D.push({tx1:y,ty1:b,tx2:x,ty2:k,x1:w,y1:M,x2:I,y2:O,labelX:F,labelY:R,glWidth:o,glColor:l,glBorderDash:c,glBorderDashOffset:f,rotation:-1*S,label:v,major:n.major,textBaseline:W,textAlign:L})}}),s.each(D,function(t){if(h.display&&(o.save(),o.lineWidth=t.glWidth,o.strokeStyle=t.glColor,o.setLineDash&&(o.setLineDash(t.glBorderDash),o.lineDashOffset=t.glBorderDashOffset),o.beginPath(),h.drawTicks&&(o.moveTo(t.tx1,t.ty1),o.lineTo(t.tx2,t.ty2)),h.drawOnChartArea&&(o.moveTo(t.x1,t.y1),o.lineTo(t.x2,t.y2)),o.stroke(),o.restore()),d.display){o.save(),o.translate(t.labelX,t.labelY),o.rotate(t.rotation),o.font=t.major?x.font:y.font,o.fillStyle=t.major?b:v,o.textBaseline=t.textBaseline,o.textAlign=t.textAlign;var e=t.label;if(s.isArray(e))for(var n=0,i=0;n<e.length;++n)o.fillText(""+e[n],0,i),i+=1.5*y.size;else o.fillText(e,0,0);o.restore()}}),f.display){var I,O,F=0,R=l(f)/2;if(m)I=e.left+(e.right-e.left)/2,O="bottom"===i.position?e.bottom-R-M.bottom:e.top+R+M.top;else{var L="left"===i.position;I=L?e.left+R+M.top:e.right-R-M.top,O=e.top+(e.bottom-e.top)/2,F=L?-.5*Math.PI:.5*Math.PI}o.save(),o.translate(I,O),o.rotate(F),o.textAlign="center",o.textBaseline="middle",o.fillStyle=k,o.font=w.font,o.fillText(f.labelString,0,0),o.restore()}if(h.drawBorder){o.lineWidth=s.valueAtIndexOrDefault(h.lineWidth,0),o.strokeStyle=s.valueAtIndexOrDefault(h.color,0);var W=e.left,Y=e.right,N=e.top,z=e.bottom,B=s.aliasPixel(o.lineWidth);m?(N=z="top"===i.position?e.bottom:e.top,N+=B,z+=B):(W=Y="left"===i.position?e.right:e.left,W+=B,Y+=B),o.beginPath(),o.moveTo(W,N),o.lineTo(Y,z),o.stroke()}}}})}},{25:25,26:26,34:34,45:45}],33:[function(t,e,n){"use strict";var i=t(25),a=t(45);e.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=a.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?a.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){var n=this;n.defaults.hasOwnProperty(t)&&(n.defaults[t]=a.extend(n.defaults[t],e))},addScalesToLayout:function(e){a.each(e.scales,function(n){n.fullWidth=n.options.fullWidth,n.position=n.options.position,n.weight=n.options.weight,t.layoutService.addBox(e,n)})}}}},{25:25,45:45}],34:[function(t,e,n){"use strict";var i=t(45);e.exports={generators:{linear:function(t,e){var n,a=[];if(t.stepSize&&t.stepSize>0)n=t.stepSize;else{var r=i.niceNum(e.max-e.min,!1);n=i.niceNum(r/(t.maxTicks-1),!0)}var o=Math.floor(e.min/n)*n,s=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&i.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(o=t.min,s=t.max);var l=(s-o)/n;l=i.almostEquals(l,Math.round(l),n/1e3)?Math.round(l):Math.ceil(l),a.push(void 0!==t.min?t.min:o);for(var u=1;u<l;++u)a.push(o+u*n);return a.push(void 0!==t.max?t.max:s),a},logarithmic:function(t,e){var n,a,r=[],o=i.valueOrDefault,s=o(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),l=Math.floor(i.log10(e.max)),u=Math.ceil(e.max/Math.pow(10,l));0===s?(n=Math.floor(i.log10(e.minNotZero)),a=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(s),s=a*Math.pow(10,n)):(n=Math.floor(i.log10(s)),a=Math.floor(s/Math.pow(10,n)));do{r.push(s),10===++a&&(a=1,++n),s=a*Math.pow(10,n)}while(n<l||n===l&&a<u);var d=o(t.max,s);return r.push(d),r}},formatters:{values:function(t){return i.isArray(t)?t:""+t},linear:function(t,e,n){var a=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(a)>1&&t!==Math.floor(t)&&(a=t-Math.floor(t));var r=i.log10(Math.abs(a)),o="";if(0!==t){var s=-1*Math.floor(r);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o},logarithmic:function(t,e,n){var a=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===a||2===a||5===a||0===e||e===n.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:r.noop,title:function(t,e){var n="",i=e.labels,a=i?i.length:0;if(t.length>0){var r=t[0];r.xLabel?n=r.xLabel:a>0&&r.index<a&&(n=i[r.index])}return n},afterTitle:r.noop,beforeBody:r.noop,beforeLabel:r.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),n+=t.yLabel},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:r.noop,afterBody:r.noop,beforeFooter:r.noop,footer:r.noop,afterFooter:r.noop}}}),e.exports=function(t){function e(t,e){var n=r.color(t);return n.alpha(e*n.alpha()).rgbaString()}function n(t,e){return e&&(r.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function o(t){var e=t._xScale,n=t._yScale||t._scale,i=t._index,a=t._datasetIndex;return{xLabel:e?e.getLabelForIndex(i,a):"",yLabel:n?n.getLabelForIndex(i,a):"",index:i,datasetIndex:a,x:t._model.x,y:t._model.y}}function s(t){var e=i.global,n=r.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:n(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:n(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:n(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n(t.titleFontStyle,e.defaultFontStyle),titleFontSize:n(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:n(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n(t.footerFontStyle,e.defaultFontStyle),footerFontSize:n(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function l(t,e){var n=t._chart.ctx,i=2*e.yPadding,a=0,o=e.body,s=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);s+=e.beforeBody.length+e.afterBody.length;var l=e.title.length,u=e.footer.length,d=e.titleFontSize,c=e.bodyFontSize,h=e.footerFontSize;i+=l*d,i+=l?(l-1)*e.titleSpacing:0,i+=l?e.titleMarginBottom:0,i+=s*c,i+=s?(s-1)*e.bodySpacing:0,i+=u?e.footerMarginTop:0,i+=u*h,i+=u?(u-1)*e.footerSpacing:0;var f=0,g=function(t){a=Math.max(a,n.measureText(t).width+f)};return n.font=r.fontString(d,e._titleFontStyle,e._titleFontFamily),r.each(e.title,g),n.font=r.fontString(c,e._bodyFontStyle,e._bodyFontFamily),r.each(e.beforeBody.concat(e.afterBody),g),f=e.displayColors?c+2:0,r.each(o,function(t){r.each(t.before,g),r.each(t.lines,g),r.each(t.after,g)}),f=0,n.font=r.fontString(h,e._footerFontStyle,e._footerFontFamily),r.each(e.footer,g),a+=2*e.xPadding,{width:a,height:i}}function u(t,e){var n=t._model,i=t._chart,a=t._chart.chartArea,r="center",o="center";n.y<e.height?o="top":n.y>i.height-e.height&&(o="bottom");var s,l,u,d,c,h=(a.left+a.right)/2,f=(a.top+a.bottom)/2;"center"===o?(s=function(t){return t<=h},l=function(t){return t>h}):(s=function(t){return t<=e.width/2},l=function(t){return t>=i.width-e.width/2}),u=function(t){return t+e.width>i.width},d=function(t){return t-e.width<0},c=function(t){return t<=f?"top":"bottom"},s(n.x)?(r="left",u(n.x)&&(r="center",o=c(n.y))):l(n.x)&&(r="right",d(n.x)&&(r="center",o=c(n.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:r,yAlign:g.yAlign?g.yAlign:o}}function d(t,e,n){var i=t.x,a=t.y,r=t.caretSize,o=t.caretPadding,s=t.cornerRadius,l=n.xAlign,u=n.yAlign,d=r+o,c=s+o;return"right"===l?i-=e.width:"center"===l&&(i-=e.width/2),"top"===u?a+=d:a-="bottom"===u?e.height+d:e.height/2,"center"===u?"left"===l?i+=d:"right"===l&&(i-=d):"left"===l?i-=c:"right"===l&&(i+=c),{x:i,y:a}}t.Tooltip=a.extend({initialize:function(){this._model=s(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options.callbacks,i=e.beforeTitle.apply(t,arguments),a=e.title.apply(t,arguments),r=e.afterTitle.apply(t,arguments),o=[];return o=n(o,i),o=n(o,a),o=n(o,r)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return r.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,e){var i=this,a=i._options.callbacks,o=[];return r.each(t,function(t){var r={before:[],lines:[],after:[]};n(r.before,a.beforeLabel.call(i,t,e)),n(r.lines,a.label.call(i,t,e)),n(r.after,a.afterLabel.call(i,t,e)),o.push(r)}),o},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return r.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this,e=t._options.callbacks,i=e.beforeFooter.apply(t,arguments),a=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),o=[];return o=n(o,i),o=n(o,a),o=n(o,r)},update:function(e){var n,i,a=this,c=a._options,h=a._model,f=a._model=s(c),g=a._active,m=a._data,p={xAlign:h.xAlign,yAlign:h.yAlign},v={x:h.x,y:h.y},y={width:h.width,height:h.height},b={x:h.caretX,y:h.caretY};if(g.length){f.opacity=1;var x=[],_=[];b=t.Tooltip.positioners[c.position].call(a,g,a._eventPosition);var k=[];for(n=0,i=g.length;n<i;++n)k.push(o(g[n]));c.filter&&(k=k.filter(function(t){return c.filter(t,m)})),c.itemSort&&(k=k.sort(function(t,e){return c.itemSort(t,e,m)})),r.each(k,function(t){x.push(c.callbacks.labelColor.call(a,t,a._chart)),_.push(c.callbacks.labelTextColor.call(a,t,a._chart))}),f.title=a.getTitle(k,m),f.beforeBody=a.getBeforeBody(k,m),f.body=a.getBody(k,m),f.afterBody=a.getAfterBody(k,m),f.footer=a.getFooter(k,m),f.x=Math.round(b.x),f.y=Math.round(b.y),f.caretPadding=c.caretPadding,f.labelColors=x,f.labelTextColors=_,f.dataPoints=k,v=d(f,y=l(this,f),p=u(this,y))}else f.opacity=0;return f.xAlign=p.xAlign,f.yAlign=p.yAlign,f.x=v.x,f.y=v.y,f.width=y.width,f.height=y.height,f.caretX=b.x,f.caretY=b.y,a._model=f,e&&c.custom&&c.custom.call(a,f),a},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,u=n.caretSize,d=n.cornerRadius,c=n.xAlign,h=n.yAlign,f=t.x,g=t.y,m=e.width,p=e.height;if("center"===h)s=g+p/2,"left"===c?(a=(i=f)-u,r=i,o=s+u,l=s-u):(a=(i=f+m)+u,r=i,o=s-u,l=s+u);else if("left"===c?(i=(a=f+d+u)-u,r=a+u):"right"===c?(i=(a=f+m-d-u)-u,r=a+u):(i=(a=f+m/2)-u,r=a+u),"top"===h)s=(o=g)-u,l=o;else{s=(o=g+p)+u,l=o;var v=r;r=i,i=v}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,n,i,a){var o=n.title;if(o.length){i.textAlign=n._titleAlign,i.textBaseline="top";var s=n.titleFontSize,l=n.titleSpacing;i.fillStyle=e(n.titleFontColor,a),i.font=r.fontString(s,n._titleFontStyle,n._titleFontFamily);var u,d;for(u=0,d=o.length;u<d;++u)i.fillText(o[u],t.x,t.y),t.y+=s+l,u+1===o.length&&(t.y+=n.titleMarginBottom-l)}},drawBody:function(t,n,i,a){var o=n.bodyFontSize,s=n.bodySpacing,l=n.body;i.textAlign=n._bodyAlign,i.textBaseline="top",i.font=r.fontString(o,n._bodyFontStyle,n._bodyFontFamily);var u=0,d=function(e){i.fillText(e,t.x+u,t.y),t.y+=o+s};i.fillStyle=e(n.bodyFontColor,a),r.each(n.beforeBody,d);var c=n.displayColors;u=c?o+2:0,r.each(l,function(s,l){var u=e(n.labelTextColors[l],a);i.fillStyle=u,r.each(s.before,d),r.each(s.lines,function(r){c&&(i.fillStyle=e(n.legendColorBackground,a),i.fillRect(t.x,t.y,o,o),i.lineWidth=1,i.strokeStyle=e(n.labelColors[l].borderColor,a),i.strokeRect(t.x,t.y,o,o),i.fillStyle=e(n.labelColors[l].backgroundColor,a),i.fillRect(t.x+1,t.y+1,o-2,o-2),i.fillStyle=u),d(r)}),r.each(s.after,d)}),u=0,r.each(n.afterBody,d),t.y-=s},drawFooter:function(t,n,i,a){var o=n.footer;o.length&&(t.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=e(n.footerFontColor,a),i.font=r.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),r.each(o,function(e){i.fillText(e,t.x,t.y),t.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,n,i,a,r){i.fillStyle=e(n.backgroundColor,r),i.strokeStyle=e(n.borderColor,r),i.lineWidth=n.borderWidth;var o=n.xAlign,s=n.yAlign,l=t.x,u=t.y,d=a.width,c=a.height,h=n.cornerRadius;i.beginPath(),i.moveTo(l+h,u),"top"===s&&this.drawCaret(t,a),i.lineTo(l+d-h,u),i.quadraticCurveTo(l+d,u,l+d,u+h),"center"===s&&"right"===o&&this.drawCaret(t,a),i.lineTo(l+d,u+c-h),i.quadraticCurveTo(l+d,u+c,l+d-h,u+c),"bottom"===s&&this.drawCaret(t,a),i.lineTo(l+h,u+c),i.quadraticCurveTo(l,u+c,l,u+c-h),"center"===s&&"left"===o&&this.drawCaret(t,a),i.lineTo(l,u+h),i.quadraticCurveTo(l,u,l+h,u),i.closePath(),i.fill(),n.borderWidth>0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(this.drawBackground(i,e,t,n,a),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,a),this.drawBody(i,e,t,a),this.drawFooter(i,e,t,a))}},handleEvent:function(t){var e=this,n=e._options,i=!1;if(e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),!(i=!r.arrayEquals(e._active,e._lastActive)))return!1;if(e._lastActive=e._active,n.enabled||n.custom){e._eventPosition={x:t.x,y:t.y};var a=e._model;e.update(!0),e.pivot(),i|=a.x!==e._model.x||a.y!==e._model.y}return i}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,a=0,r=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,a+=s.y,++r}}return{x:Math.round(i/r),y:Math.round(a/r)}},nearest:function(t,e){var n,i,a,o=e.x,s=e.y,l=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var u=t[n];if(u&&u.hasValue()){var d=u.getCenterPoint(),c=r.distanceBetweenPoints(e,d);c<l&&(l=c,a=u)}}if(a){var h=a.tooltipPosition();o=h.x,s=h.y}return{x:o,y:s}}}}},{25:25,26:26,45:45}],36:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=a.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=r.getAngleFromPoint(n,{x:t,y:e}),a=i.angle,o=i.distance,s=n.startAngle,l=n.endAngle;l<s;)l+=2*Math.PI;for(;a>l;)a-=2*Math.PI;for(;a<s;)a+=2*Math.PI;var u=a>=s&&a<=l,d=o>=n.innerRadius&&o<=n.outerRadius;return u&&d}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45),o=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:o.defaultColor,borderWidth:3,borderColor:o.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a=this,s=a._view,l=a._chart.ctx,u=s.spanGaps,d=a._children.slice(),c=o.elements.line,h=-1;for(a._loop&&d.length&&d.push(d[0]),l.save(),l.lineCap=s.borderCapStyle||c.borderCapStyle,l.setLineDash&&l.setLineDash(s.borderDash||c.borderDash),l.lineDashOffset=s.borderDashOffset||c.borderDashOffset,l.lineJoin=s.borderJoinStyle||c.borderJoinStyle,l.lineWidth=s.borderWidth||c.borderWidth,l.strokeStyle=s.borderColor||o.defaultColor,l.beginPath(),h=-1,t=0;t<d.length;++t)e=d[t],n=r.previousItem(d,t),i=e._view,0===t?i.skip||(l.moveTo(i.x,i.y),h=t):(n=-1===h?n:d[h],i.skip||(h!==t-1&&!u||-1===h?l.moveTo(i.x,i.y):r.canvas.lineTo(l,n._view,e._view),h=t));l.stroke(),l.restore()}})},{25:25,26:26,45:45}],38:[function(t,e,n){"use strict";function i(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hitRadius,2)}var a=t(25),r=t(26),o=t(45),s=a.global.defaultColor;a._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:s,borderColor:s,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=r.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:i,inXRange:i,inYRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.y,2)<Math.pow(e.radius+e.hitRadius,2)},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._model,i=this._chart.ctx,r=e.pointStyle,l=e.radius,u=e.x,d=e.y,c=o.color,h=0;e.skip||(i.strokeStyle=e.borderColor||s,i.lineWidth=o.valueOrDefault(e.borderWidth,a.global.elements.point.borderWidth),i.fillStyle=e.backgroundColor||s,void 0!==t&&(n.x<t.left||1.01*t.right<n.x||n.y<t.top||1.01*t.bottom<n.y)&&(n.x<t.left?h=(u-n.x)/(t.left-n.x):1.01*t.right<n.x?h=(n.x-u)/(n.x-t.right):n.y<t.top?h=(d-n.y)/(t.top-n.y):1.01*t.bottom<n.y&&(h=(n.y-d)/(n.y-t.bottom)),h=Math.round(100*h)/100,i.strokeStyle=c(i.strokeStyle).alpha(h).rgbString(),i.fillStyle=c(i.fillStyle).alpha(h).rgbString()),o.canvas.drawPoint(i,r,l,u,d))}})},{25:25,26:26,45:45}],39:[function(t,e,n){"use strict";function i(t){return void 0!==t._view.width}function a(t){var e,n,a,r,o=t._view;if(i(t)){var s=o.width/2;e=o.x-s,n=o.x+s,a=Math.min(o.y,o.base),r=Math.max(o.y,o.base)}else{var l=o.height/2;e=Math.min(o.x,o.base),n=Math.max(o.x,o.base),a=o.y-l,r=o.y+l}return{left:e,top:a,right:n,bottom:r}}var r=t(25),o=t(26);r._set("global",{elements:{rectangle:{backgroundColor:r.global.defaultColor,borderColor:r.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=o.extend({draw:function(){function t(t){return v[(y+t)%4]}var e,n,i,a,r,o,s,l=this._chart.ctx,u=this._view,d=u.borderWidth;if(u.horizontal?(e=u.base,n=u.x,i=u.y-u.height/2,a=u.y+u.height/2,r=n>e?1:-1,o=1,s=u.borderSkipped||"left"):(e=u.x-u.width/2,n=u.x+u.width/2,i=u.y,r=1,o=(a=u.base)>i?1:-1,s=u.borderSkipped||"bottom"),d){var c=Math.min(Math.abs(e-n),Math.abs(i-a)),h=(d=d>c?c:d)/2,f=e+("left"!==s?h*r:0),g=n+("right"!==s?-h*r:0),m=i+("top"!==s?h*o:0),p=a+("bottom"!==s?-h*o:0);f!==g&&(i=m,a=p),m!==p&&(e=f,n=g)}l.beginPath(),l.fillStyle=u.backgroundColor,l.strokeStyle=u.borderColor,l.lineWidth=d;var v=[[e,a],[e,i],[n,i],[n,a]],y=["bottom","left","top","right"].indexOf(s,0);-1===y&&(y=0);var b=t(0);l.moveTo(b[0],b[1]);for(var x=1;x<4;x++)b=t(x),l.lineTo(b[0],b[1]);l.fill(),d&&l.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=a(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){var n=this;if(!n._view)return!1;var r=a(n);return i(n)?t>=r.left&&t<=r.right:e>=r.top&&e<=r.bottom},inXRange:function(t){var e=a(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=a(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return i(this)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,n){"use strict";var i=t(42),n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var o=Math.min(r,i/2),s=Math.min(r,a/2);t.moveTo(e+o,n),t.lineTo(e+i-o,n),t.quadraticCurveTo(e+i,n,e+i,n+s),t.lineTo(e+i,n+a-s),t.quadraticCurveTo(e+i,n+a,e+i-o,n+a),t.lineTo(e+o,n+a),t.quadraticCurveTo(e,n+a,e,n+a-s),t.lineTo(e,n+s),t.quadraticCurveTo(e,n,e+o,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a){var r,o,s,l,u,d;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(r=e.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,a,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-o/2,a+u/3),t.lineTo(i+o/2,a+u/3),t.lineTo(i,a-2*u/3),t.closePath(),t.fill();break;case"rect":d=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-d,a-d,2*d,2*d),t.strokeRect(i-d,a-d,2*d,2*d);break;case"rectRounded":var c=n/Math.SQRT2,h=i-c,f=a-c,g=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,h,f,g,g,n/2),t.closePath(),t.fill();break;case"rectRot":d=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-d,a),t.lineTo(i,a+d),t.lineTo(i+d,a),t.lineTo(i,a-d),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"crossRot":t.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i-s,a+l),t.lineTo(i+s,a-l),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i-s,a+l),t.lineTo(i+s,a-l),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,a),t.lineTo(i+n,a),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}};i.clear=n.clear,i.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments),t.closePath()}},{42:42}],42:[function(t,e,n){"use strict";var i={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||void 0===t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return i.valueOrDefault(i.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,a){var r,o,s;if(i.isArray(t))if(o=t.length,a)for(r=o-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;r<o;r++)e.call(n,t[r],r);else if(i.isObject(t))for(o=(s=Object.keys(t)).length,r=0;r<o;r++)e.call(n,t[s[r]],s[r])},arrayEquals:function(t,e){var n,a,r,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,a=t.length;n<a;++n)if(r=t[n],o=e[n],r instanceof Array&&o instanceof Array){if(!i.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(t){if(i.isArray(t))return t.map(i.clone);if(i.isObject(t)){for(var e={},n=Object.keys(t),a=n.length,r=0;r<a;++r)e[n[r]]=i.clone(t[n[r]]);return e}return t},_merger:function(t,e,n,a){var r=e[t],o=n[t];i.isObject(r)&&i.isObject(o)?i.merge(r,o,a):e[t]=i.clone(o)},_mergerIf:function(t,e,n){var a=e[t],r=n[t];i.isObject(a)&&i.isObject(r)?i.mergeIf(a,r):e.hasOwnProperty(t)||(e[t]=i.clone(r))},merge:function(t,e,n){var a,r,o,s,l,u=i.isArray(e)?e:[e],d=u.length;if(!i.isObject(t))return t;for(a=(n=n||{}).merger||i._merger,r=0;r<d;++r)if(e=u[r],i.isObject(e))for(l=0,s=(o=Object.keys(e)).length;l<s;++l)a(o[l],t,e,n);return t},mergeIf:function(t,e){return i.merge(t,e,{merger:i._mergerIf})},extend:function(t){for(var e=1,n=arguments.length;e<n;++e)i.each(arguments[e],function(e,n){t[n]=e});return t},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},a=function(){this.constructor=n};return a.prototype=e.prototype,n.prototype=new a,n.extend=i.inherits,t&&i.extend(n.prototype,t),n.__super__=e.prototype,n}};e.exports=i,i.callCallback=i.callback,i.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},i.getValueOrDefault=i.valueOrDefault,i.getValueAtIndexOrDefault=i.valueAtIndexOrDefault},{}],43:[function(t,e,n){"use strict";var i=t(42),a={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};e.exports={effects:a},i.easingEffects=a},{42:42}],44:[function(t,e,n){"use strict";var i=t(42);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,a,r;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,a=+t.bottom||0,r=+t.left||0):e=n=a=r=+t||0,{top:e,right:n,bottom:a,left:r,height:e+a,width:r+n}},resolve:function(t,e,n){var a,r,o;for(a=0,r=t.length;a<r;++a)if(void 0!==(o=t[a])&&(void 0!==e&&"function"==typeof o&&(o=o(e)),void 0!==n&&i.isArray(o)&&(o=o[n]),void 0!==o))return o}}},{42:42}],45:[function(t,e,n){"use strict";e.exports=t(42),e.exports.easing=t(43),e.exports.canvas=t(41),e.exports.options=t(44)},{41:41,42:42,43:43,44:44}],46:[function(t,e,n){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],47:[function(t,e,n){"use strict";function i(t,e){var n=p.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function a(t,e){var n=t.style,a=t.getAttribute("height"),r=t.getAttribute("width");if(t[v]={initial:{height:a,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var o=i(t,"width");void 0!==o&&(t.width=o)}if(null===a||""===a)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var s=i(t,"height");void 0!==o&&(t.height=s)}return t}function r(t,e,n){t.addEventListener(e,n,w)}function o(t,e,n){t.removeEventListener(e,n,w)}function s(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function l(t,e){var n=k[t.type]||t.type,i=p.getRelativePosition(t,e);return s(n,e,i.x,i.y,t)}function u(t,e){var n=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,p.requestAnimFrame.call(window,function(){n=!1,t.apply(e,i)}))}}function d(t){var e=document.createElement("div"),n=y+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=n,e.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=e.childNodes[0],o=e.childNodes[1];e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6};var s=function(){e._reset(),t()};return r(a,"scroll",s.bind(a,"expand")),r(o,"scroll",s.bind(o,"shrink")),e}function c(t,e){var n=t[v]||(t[v]={}),i=n.renderProxy=function(t){t.animationName===x&&e()};p.each(_,function(e){r(t,e,i)}),n.reflow=!!t.offsetParent,t.classList.add(b)}function h(t){var e=t[v]||{},n=e.renderProxy;n&&(p.each(_,function(e){o(t,e,n)}),delete e.renderProxy),t.classList.remove(b)}function f(t,e,n){var i=t[v]||(t[v]={}),a=i.resizer=d(u(function(){if(i.resizer)return e(s("resize",n))}));c(t,function(){if(i.resizer){var e=t.parentNode;e&&e!==a.parentNode&&e.insertBefore(a,e.firstChild),a._reset()}})}function g(t){var e=t[v]||{},n=e.resizer;delete e.resizer,h(t),n&&n.parentNode&&n.parentNode.removeChild(n)}function m(t,e){var n=t._style||document.createElement("style");t._style||(t._style=n,e="/* Chart.js */\n"+e,n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))}var p=t(45),v="$chartjs",y="chartjs-",b=y+"render-monitor",x=y+"render-animation",_=["animationstart","webkitAnimationStart"],k={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},w=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t="from{opacity:0.99}to{opacity:1}";m(this,"@-webkit-keyframes "+x+"{"+t+"}@keyframes "+x+"{"+t+"}."+b+"{-webkit-animation:"+x+" 0.001s;animation:"+x+" 0.001s;}")},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(a(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[v]){var n=e[v].initial;["height","width"].forEach(function(t){var i=n[t];p.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),p.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[v]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=n[v]||(n[v]={});r(i,e,(a.proxies||(a.proxies={}))[t.id+"_"+e]=function(e){n(l(e,t))})}else f(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=((n[v]||{}).proxies||{})[t.id+"_"+e];a&&o(i,e,a)}else g(i)}},p.addEvent=r,p.removeEvent=o},{45:45}],48:[function(t,e,n){"use strict";var i=t(45),a=t(46),r=t(47),o=r._enabled?r:a;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},o)},{45:45,46:46,47:47}],49:[function(t,e,n){"use strict";var i=t(25),a=t(40),r=t(45);i._set("global",{plugins:{filler:{propagate:!0}}}),e.exports=function(){function t(t,e,n){var i,a=t._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function e(t){var e,n=t.el._model||{},i=t.el._scale||{},a=t.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),void 0!==r&&null!==r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return e=i.isHorizontal(),{x:e?r:null,y:e?null:r}}return null}function n(t,e,n){var i,a=t[e].fill,r=[e];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}function o(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),d[n](t))}function s(t){return t&&!t.skip}function l(t,e,n,i,a){var o;if(i&&a){for(t.moveTo(e[0].x,e[0].y),o=1;o<i;++o)r.canvas.lineTo(t,e[o-1],e[o]);for(t.lineTo(n[a-1].x,n[a-1].y),o=a-1;o>0;--o)r.canvas.lineTo(t,n[o],n[o-1],!0)}}function u(t,e,n,i,a,r){var o,u,d,c,h,f,g,m=e.length,p=i.spanGaps,v=[],y=[],b=0,x=0;for(t.beginPath(),o=0,u=m+!!r;o<u;++o)h=n(c=e[d=o%m]._view,d,i),f=s(c),g=s(h),f&&g?(b=v.push(c),x=y.push(h)):b&&x&&(p?(f&&v.push(c),g&&y.push(h)):(l(t,v,y,b,x),b=x=0,v=[],y=[]));l(t,v,y,b,x),t.closePath(),t.fillStyle=a,t.fill()}var d={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),a=i&&n.isDatasetVisible(e)&&i.dataset._children||[],r=a.length||0;return r?function(t,e){return e<r&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};return{id:"filler",afterDatasetsUpdate:function(i,r){var s,l,u,d,c=(i.data.datasets||[]).length,h=r.propagate,f=[];for(l=0;l<c;++l)d=null,(u=(s=i.getDatasetMeta(l)).dataset)&&u._model&&u instanceof a.Line&&(d={visible:i.isDatasetVisible(l),fill:t(u,l,c),chart:i,el:u}),s.$filler=d,f.push(d);for(l=0;l<c;++l)(d=f[l])&&(d.fill=n(f,l,h),d.boundary=e(d),d.mapper=o(d))},beforeDatasetDraw:function(t,e){var n=e.meta.$filler;if(n){var a=t.ctx,o=n.el,s=o._view,l=o._children||[],d=n.mapper,c=s.backgroundColor||i.global.defaultColor;d&&c&&l.length&&(r.canvas.clipArea(a,t.chartArea),u(a,l,d,s,c,o._loop),r.canvas.unclipArea(a))}}}}},{25:25,40:40,45:45}],50:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return r.isArray(e.datasets)?e.datasets.map(function(e,n){return{text:e.label,fillStyle:r.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:n}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}}),e.exports=function(t){function e(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function n(e,n){var i=new t.Legend({ctx:e.ctx,options:n,chart:e});o.configure(e,i,n),o.addBox(e,i),e.legend=i}var o=t.layoutService,s=r.noop;return t.Legend=a.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:s,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:function(){var t=this,e=t.options.labels||{},n=r.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:s,beforeFit:s,fit:function(){var t=this,n=t.options,a=n.labels,o=n.display,s=t.ctx,l=i.global,u=r.valueOrDefault,d=u(a.fontSize,l.defaultFontSize),c=u(a.fontStyle,l.defaultFontStyle),h=u(a.fontFamily,l.defaultFontFamily),f=r.fontString(d,c,h),g=t.legendHitBoxes=[],m=t.minSize,p=t.isHorizontal();if(p?(m.width=t.maxWidth,m.height=o?10:0):(m.width=o?10:0,m.height=t.maxHeight),o)if(s.font=f,p){var v=t.lineWidths=[0],y=t.legendItems.length?d+a.padding:0;s.textAlign="left",s.textBaseline="top",r.each(t.legendItems,function(n,i){var r=e(a,d)+d/2+s.measureText(n.text).width;v[v.length-1]+r+a.padding>=t.width&&(y+=d+a.padding,v[v.length]=t.left),g[i]={left:0,top:0,width:r,height:d},v[v.length-1]+=r+a.padding}),m.height+=y}else{var b=a.padding,x=t.columnWidths=[],_=a.padding,k=0,w=0,M=d+b;r.each(t.legendItems,function(t,n){var i=e(a,d)+d/2+s.measureText(t.text).width;w+M>m.height&&(_+=k+a.padding,x.push(k),k=0,w=0),k=Math.max(k,i),w+=M,g[n]={left:0,top:0,width:i,height:d}}),_+=k,x.push(k),m.width+=_}t.width=m.width,t.height=m.height},afterFit:s,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,n=t.options,a=n.labels,o=i.global,s=o.elements.line,l=t.width,u=t.lineWidths;if(n.display){var d,c=t.ctx,h=r.valueOrDefault,f=h(a.fontColor,o.defaultFontColor),g=h(a.fontSize,o.defaultFontSize),m=h(a.fontStyle,o.defaultFontStyle),p=h(a.fontFamily,o.defaultFontFamily),v=r.fontString(g,m,p);c.textAlign="left",c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=v;var y=e(a,g),b=t.legendHitBoxes,x=function(t,e,i){if(!(isNaN(y)||y<=0)){c.save(),c.fillStyle=h(i.fillStyle,o.defaultColor),c.lineCap=h(i.lineCap,s.borderCapStyle),c.lineDashOffset=h(i.lineDashOffset,s.borderDashOffset),c.lineJoin=h(i.lineJoin,s.borderJoinStyle),c.lineWidth=h(i.lineWidth,s.borderWidth),c.strokeStyle=h(i.strokeStyle,o.defaultColor);var a=0===h(i.lineWidth,s.borderWidth);if(c.setLineDash&&c.setLineDash(h(i.lineDash,s.borderDash)),n.labels&&n.labels.usePointStyle){var l=g*Math.SQRT2/2,u=l/Math.SQRT2,d=t+u,f=e+u;r.canvas.drawPoint(c,i.pointStyle,l,d,f)}else a||c.strokeRect(t,e,y,g),c.fillRect(t,e,y,g);c.restore()}},_=function(t,e,n,i){var a=g/2,r=y+a+t,o=e+a;c.fillText(n.text,r,o),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(r,o),c.lineTo(r+i,o),c.stroke())},k=t.isHorizontal();d=k?{x:t.left+(l-u[0])/2,y:t.top+a.padding,line:0}:{x:t.left+a.padding,y:t.top+a.padding,line:0};var w=g+a.padding;r.each(t.legendItems,function(e,n){var i=c.measureText(e.text).width,r=y+g/2+i,o=d.x,s=d.y;k?o+r>=l&&(s=d.y+=w,d.line++,o=d.x=t.left+(l-u[d.line])/2):s+w>t.bottom&&(o=d.x=o+t.columnWidths[d.line]+a.padding,s=d.y=t.top+a.padding,d.line++),x(o,s,e),b[n].left=o,b[n].top=s,_(o,s,e,i),k?d.x+=r+a.padding:d.y+=w})}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var r=t.x,o=t.y;if(r>=e.left&&r<=e.right&&o>=e.top&&o<=e.bottom)for(var s=e.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(r>=u.left&&r<=u.left+u.width&&o>=u.top&&o<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),a=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),a=!0;break}}}return a}}),{id:"legend",beforeInit:function(t){var e=t.options.legend;e&&n(t,e)},beforeUpdate:function(t){var e=t.options.legend,a=t.legend;e?(r.mergeIf(e,i.global.legend),a?(o.configure(t,a,e),a.options=e):n(t,e)):a&&(o.removeBox(t,a),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}}},{25:25,26:26,45:45}],51:[function(t,e,n){"use strict";var i=t(25),a=t(26),r=t(45);i._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),e.exports=function(t){function e(e,i){var a=new t.Title({ctx:e.ctx,options:i,chart:e});n.configure(e,a,i),n.addBox(e,a),e.titleBlock=a}var n=t.layoutService,o=r.noop;return t.Title=a.extend({initialize:function(t){var e=this;r.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:o,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:o,afterBuildLabels:o,beforeFit:o,fit:function(){var t=this,e=r.valueOrDefault,n=t.options,a=n.display,o=e(n.fontSize,i.global.defaultFontSize),s=t.minSize,l=r.isArray(n.text)?n.text.length:1,u=r.options.toLineHeight(n.lineHeight,o),d=a?l*u+2*n.padding:0;t.isHorizontal()?(s.width=t.maxWidth,s.height=d):(s.width=d,s.height=t.maxHeight),t.width=s.width,t.height=s.height},afterFit:o,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=r.valueOrDefault,a=t.options,o=i.global;if(a.display){var s,l,u,d=n(a.fontSize,o.defaultFontSize),c=n(a.fontStyle,o.defaultFontStyle),h=n(a.fontFamily,o.defaultFontFamily),f=r.fontString(d,c,h),g=r.options.toLineHeight(a.lineHeight,d),m=g/2+a.padding,p=0,v=t.top,y=t.left,b=t.bottom,x=t.right;e.fillStyle=n(a.fontColor,o.defaultFontColor),e.font=f,t.isHorizontal()?(l=y+(x-y)/2,u=v+m,s=x-y):(l="left"===a.position?y+m:x-m,u=v+(b-v)/2,s=b-v,p=Math.PI*("left"===a.position?-.5:.5)),e.save(),e.translate(l,u),e.rotate(p),e.textAlign="center",e.textBaseline="middle";var _=a.text;if(r.isArray(_))for(var k=0,w=0;w<_.length;++w)e.fillText(_[w],0,k,s),k+=g;else e.fillText(_,0,0,s);e.restore()}}}),{id:"title",beforeInit:function(t){var n=t.options.title;n&&e(t,n)},beforeUpdate:function(a){var o=a.options.title,s=a.titleBlock;o?(r.mergeIf(o,i.global.title),s?(n.configure(a,s,o),s.options=o):e(a,o)):s&&(t.layoutService.removeBox(a,s),delete a.titleBlock)}}}},{25:25,26:26,45:45}],52:[function(t,e,n){"use strict";e.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t=this,e=t.getLabels();t.minIndex=0,t.maxIndex=e.length-1;var n;void 0!==t.options.ticks.min&&(n=e.indexOf(t.options.ticks.min),t.minIndex=-1!==n?n:t.minIndex),void 0!==t.options.ticks.max&&(n=e.indexOf(t.options.ticks.max),t.maxIndex=-1!==n?n:t.maxIndex),t.min=e[t.minIndex],t.max=e[t.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,a=n.isHorizontal();return i.yLabels&&!a?n.getRightValue(i.datasets[e].data[t]):n.ticks[t-n.minIndex]},getPixelForValue:function(t,e){var n,i=this,a=i.options.offset,r=Math.max(i.maxIndex+1-i.minIndex-(a?0:1),1);if(void 0!==t&&null!==t&&(n=i.isHorizontal()?t.x:t.y),void 0!==n||void 0!==t&&isNaN(e)){var o=i.getLabels();t=n||t;var s=o.indexOf(t);e=-1!==s?s:e}if(i.isHorizontal()){var l=i.width/r,u=l*(e-i.minIndex);return a&&(u+=l/2),i.left+Math.round(u)}var d=i.height/r,c=d*(e-i.minIndex);return a&&(c+=d/2),i.top+Math.round(c)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,n=e.options.offset,i=Math.max(e._ticks.length-(n?0:1),1),a=e.isHorizontal(),r=(a?e.width:e.height)/i;return t-=a?e.left:e.top,n&&(t-=r/2),(t<=0?0:Math.round(t/r))+e.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},{}],53:[function(t,e,n){"use strict";var i=t(25),a=t(45),r=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:r.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){function t(t){return o?t.xAxisID===e.id:t.yAxisID===e.id}var e=this,n=e.options,i=e.chart,r=i.data.datasets,o=e.isHorizontal();e.min=null,e.max=null;var s=n.stacked;if(void 0===s&&a.each(r,function(e,n){if(!s){var a=i.getDatasetMeta(n);i.isDatasetVisible(n)&&t(a)&&void 0!==a.stack&&(s=!0)}}),n.stacked||s){var l={};a.each(r,function(r,o){var s=i.getDatasetMeta(o),u=[s.type,void 0===n.stacked&&void 0===s.stack?o:"",s.stack].join(".");void 0===l[u]&&(l[u]={positiveValues:[],negativeValues:[]});var d=l[u].positiveValues,c=l[u].negativeValues;i.isDatasetVisible(o)&&t(s)&&a.each(r.data,function(t,i){var a=+e.getRightValue(t);isNaN(a)||s.data[i].hidden||(d[i]=d[i]||0,c[i]=c[i]||0,n.relativePoints?d[i]=100:a<0?c[i]+=a:d[i]+=a)})}),a.each(l,function(t){var n=t.positiveValues.concat(t.negativeValues),i=a.min(n),r=a.max(n);e.min=null===e.min?i:Math.min(e.min,i),e.max=null===e.max?r:Math.max(e.max,r)})}else a.each(r,function(n,r){var o=i.getDatasetMeta(r);i.isDatasetVisible(r)&&t(o)&&a.each(n.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||o.data[n].hidden||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i))})});e.min=isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=isFinite(e.max)&&!isNaN(e.max)?e.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this,n=e.options.ticks;if(e.isHorizontal())t=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(e.width/50));else{var r=a.valueOrDefault(n.fontSize,i.global.defaultFontSize);t=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(e.height/(2*r)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,n=this,i=n.start,a=+n.getRightValue(t),r=n.end-i;return n.isHorizontal()?(e=n.left+n.width/r*(a-i),Math.round(e)):(e=n.bottom-n.height/r*(a-i),Math.round(e))},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),i=n?e.width:e.height,a=(n?t-e.left:e.bottom-t)/i;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},{25:25,34:34,45:45}],54:[function(t,e,n){"use strict";var i=t(45),a=t(34);e.exports=function(t){var e=i.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=i.sign(t.min),a=i.sign(t.max);n<0&&a<0?t.max=0:n>0&&a>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,o=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==o&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},o=t.ticks=a.generators.linear(r,t);t.handleDirectionalChanges(),t.max=i.max(o),t.min=i.min(o),e.reverse?(o.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{34:34,45:45}],55:[function(t,e,n){"use strict";var i=t(45),a=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.logarithmic}},n=t.Scale.extend({determineDataLimits:function(){function t(t){return l?t.xAxisID===e.id:t.yAxisID===e.id}var e=this,n=e.options,a=n.ticks,r=e.chart,o=r.data.datasets,s=i.valueOrDefault,l=e.isHorizontal();e.min=null,e.max=null,e.minNotZero=null;var u=n.stacked;if(void 0===u&&i.each(o,function(e,n){if(!u){var i=r.getDatasetMeta(n);r.isDatasetVisible(n)&&t(i)&&void 0!==i.stack&&(u=!0)}}),n.stacked||u){var d={};i.each(o,function(a,o){var s=r.getDatasetMeta(o),l=[s.type,void 0===n.stacked&&void 0===s.stack?o:"",s.stack].join(".");r.isDatasetVisible(o)&&t(s)&&(void 0===d[l]&&(d[l]=[]),i.each(a.data,function(t,i){var a=d[l],r=+e.getRightValue(t);isNaN(r)||s.data[i].hidden||(a[i]=a[i]||0,n.relativePoints?a[i]=100:a[i]+=r)}))}),i.each(d,function(t){var n=i.min(t),a=i.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?a:Math.max(e.max,a)})}else i.each(o,function(n,a){var o=r.getDatasetMeta(a);r.isDatasetVisible(a)&&t(o)&&i.each(n.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||o.data[n].hidden||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i),0!==i&&(null===e.minNotZero||i<e.minNotZero)&&(e.minNotZero=i))})});e.min=s(a.min,e.min),e.max=s(a.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(i.log10(e.min))-1),e.max=Math.pow(10,Math.floor(i.log10(e.max))+1)):(e.min=1,e.max=10))},buildTicks:function(){var t=this,e=t.options.ticks,n={min:e.min,max:e.max},r=t.ticks=a.generators.logarithmic(n,t);t.isHorizontal()||r.reverse(),t.max=i.max(r),t.min=i.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),t.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},getPixelForValue:function(t){var e,n,a,r=this,o=r.start,s=+r.getRightValue(t),l=r.options.ticks;return r.isHorizontal()?(a=i.log10(r.end)-i.log10(o),0===s?n=r.left:(e=r.width,n=r.left+e/a*(i.log10(s)-i.log10(o)))):(e=r.height,0!==o||l.reverse?0===r.end&&l.reverse?(a=i.log10(r.start)-i.log10(r.minNotZero),n=s===r.end?r.top:s===r.minNotZero?r.top+.02*e:r.top+.02*e+.98*e/a*(i.log10(s)-i.log10(r.minNotZero))):0===s?n=l.reverse?r.top:r.bottom:(a=i.log10(r.end)-i.log10(o),e=r.height,n=r.bottom-e/a*(i.log10(s)-i.log10(o))):(a=i.log10(r.end)-i.log10(r.minNotZero),n=s===o?r.bottom:s===r.minNotZero?r.bottom-.02*e:r.bottom-.02*e-.98*e/a*(i.log10(s)-i.log10(r.minNotZero)))),n},getValueForPixel:function(t){var e,n,a=this,r=i.log10(a.end)-i.log10(a.start);return a.isHorizontal()?(n=a.width,e=a.start*Math.pow(10,(t-a.left)*r/n)):(n=a.height,e=Math.pow(10,(a.bottom-t)*r/n)/a.start),e}});t.scaleService.registerScaleType("logarithmic",n,e)}},{34:34,45:45}],56:[function(t,e,n){"use strict";var i=t(25),a=t(45),r=t(34);e.exports=function(t){function e(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function n(t){var e=t.options.pointLabels,n=a.valueOrDefault(e.fontSize,p.defaultFontSize),i=a.valueOrDefault(e.fontStyle,p.defaultFontStyle),r=a.valueOrDefault(e.fontFamily,p.defaultFontFamily);return{size:n,style:i,family:r,font:a.fontString(n,i,r)}}function o(t,e,n){return a.isArray(n)?{w:a.longestText(t,t.font,n),h:n.length*e+1.5*(n.length-1)*e}:{w:t.measureText(n).width,h:e}}function s(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:t<i||t>a?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function l(t){var i,r,l,u=n(t),d=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},h={};t.ctx.font=u.font,t._pointLabelSizes=[];var f=e(t);for(i=0;i<f;i++){l=t.getPointPosition(i,d),r=o(t.ctx,u.size,t.pointLabels[i]||""),t._pointLabelSizes[i]=r;var g=t.getIndexAngle(i),m=a.toDegrees(g)%360,p=s(m,l.x,r.w,0,180),v=s(m,l.y,r.h,90,270);p.start<c.l&&(c.l=p.start,h.l=g),p.end>c.r&&(c.r=p.end,h.r=g),v.start<c.t&&(c.t=v.start,h.t=g),v.end>c.b&&(c.b=v.end,h.b=g)}t.setReductions(d,c,h)}function u(t){var e=Math.min(t.height/2,t.width/2);t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0)}function d(t){return 0===t||180===t?"center":t<180?"left":"right"}function c(t,e,n,i){if(a.isArray(e))for(var r=n.y,o=1.5*i,s=0;s<e.length;++s)t.fillText(e[s],n.x,r),r+=o;else t.fillText(e,n.x,n.y)}function h(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function f(t){var i=t.ctx,r=a.valueOrDefault,o=t.options,s=o.angleLines,l=o.pointLabels;i.lineWidth=s.lineWidth,i.strokeStyle=s.color;var u=t.getDistanceFromCenterForValue(o.ticks.reverse?t.min:t.max),f=n(t);i.textBaseline="top";for(var g=e(t)-1;g>=0;g--){if(s.display){var m=t.getPointPosition(g,u);i.beginPath(),i.moveTo(t.xCenter,t.yCenter),i.lineTo(m.x,m.y),i.stroke(),i.closePath()}if(l.display){var v=t.getPointPosition(g,u+5),y=r(l.fontColor,p.defaultFontColor);i.font=f.font,i.fillStyle=y;var b=t.getIndexAngle(g),x=a.toDegrees(b);i.textAlign=d(x),h(x,t._pointLabelSizes[g],v),c(i,t.pointLabels[g]||"",v,f.size)}}}function g(t,n,i,r){var o=t.ctx;if(o.strokeStyle=a.valueAtIndexOrDefault(n.color,r-1),o.lineWidth=a.valueAtIndexOrDefault(n.lineWidth,r-1),t.options.gridLines.circular)o.beginPath(),o.arc(t.xCenter,t.yCenter,i,0,2*Math.PI),o.closePath(),o.stroke();else{var s=e(t);if(0===s)return;o.beginPath();var l=t.getPointPosition(0,i);o.moveTo(l.x,l.y);for(var u=1;u<s;u++)l=t.getPointPosition(u,i),o.lineTo(l.x,l.y);o.closePath(),o.stroke()}}function m(t){return a.isNumber(t)?t:0}var p=i.global,v={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:r.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},y=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var i=a.min([t.height,t.width]),r=a.valueOrDefault(n.fontSize,p.defaultFontSize);t.drawingArea=e.display?i/2-(r/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;a.each(e.data.datasets,function(r,o){if(e.isDatasetVisible(o)){var s=e.getDatasetMeta(o);a.each(r.data,function(e,a){var r=+t.getRightValue(e);isNaN(r)||s.data[a].hidden||(n=Math.min(r,n),i=Math.max(r,i))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=a.valueOrDefault(t.fontSize,p.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){this.options.pointLabels.display?l(this):u(this)},setReductions:function(t,e,n){var i=this,a=e.l/Math.sin(n.l),r=Math.max(e.r-i.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-i.height,0)/Math.cos(n.b);a=m(a),r=m(r),o=m(o),s=m(s),i.drawingArea=Math.min(Math.round(t-(a+r)/2),Math.round(t-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:function(t,e,n,i){var a=this,r=a.width-e-a.drawingArea,o=t+a.drawingArea,s=n+a.drawingArea,l=a.height-i-a.drawingArea;a.xCenter=Math.round((o+r)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(t){return t*(2*Math.PI/e(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this,i=n.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(i)*e)+n.xCenter,y:Math.round(Math.sin(i)*e)+n.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this,e=t.min,n=t.max;return t.getPointPositionForValue(0,t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},draw:function(){var t=this,e=t.options,n=e.gridLines,i=e.ticks,r=a.valueOrDefault;if(e.display){var o=t.ctx,s=this.getIndexAngle(0),l=r(i.fontSize,p.defaultFontSize),u=r(i.fontStyle,p.defaultFontStyle),d=r(i.fontFamily,p.defaultFontFamily),c=a.fontString(l,u,d);a.each(t.ticks,function(e,a){if(a>0||i.reverse){var u=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]);if(n.display&&0!==a&&g(t,n,u,a),i.display){var d=r(i.fontColor,p.defaultFontColor);if(o.font=c,o.save(),o.translate(t.xCenter,t.yCenter),o.rotate(s),i.showLabelBackdrop){var h=o.measureText(e).width;o.fillStyle=i.backdropColor,o.fillRect(-h/2-i.backdropPaddingX,-u-l/2-i.backdropPaddingY,h+2*i.backdropPaddingX,l+2*i.backdropPaddingY)}o.textAlign="center",o.textBaseline="middle",o.fillStyle=d,o.fillText(e,0,-u),o.restore()}}}),(e.angleLines.display||e.pointLabels.display)&&f(t)}}});t.scaleService.registerScaleType("radialLinear",y,v)}},{25:25,34:34,45:45}],57:[function(t,e,n){"use strict";function i(t,e){return t-e}function a(t){var e,n,i,a={},r=[];for(e=0,n=t.length;e<n;++e)a[i=t[e]]||(a[i]=!0,r.push(i));return r}function r(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var a,r,o,s,l,u=[],d=[e];for(a=0,r=t.length;a<r;++a)(s=t[a])>e&&s<n&&d.push(s);for(d.push(n),a=0,r=d.length;a<r;++a)l=d[a+1],o=d[a-1],s=d[a],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:a/(r-1)});return u}function o(t,e,n){for(var i,a,r,o=0,s=t.length-1;o>=0&&o<=s;){if(i=o+s>>1,a=t[i-1]||null,r=t[i],!a)return{lo:null,hi:r};if(r[e]<n)o=i+1;else{if(!(a[e]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}function s(t,e,n,i){var a=o(t,e,n),r=a.lo?a.hi?a.lo:t[t.length-2]:t[0],s=a.lo?a.hi?a.hi:t[t.length-1]:t[1],l=s[e]-r[e],u=l?(n-r[e])/l:0,d=(s[i]-r[i])*u;return r[i]+d}function l(t,e){var n=e.parser,i=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof i?v(t,i):(t instanceof v||(t=v(t)),t.isValid()?t:"function"==typeof i?i(t):t)}function u(t,e){if(b.isNullOrUndef(t))return null;var n=e.options.time,i=l(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function d(t,e,n,i){var a,r,o,s=e-t,l=k[n],u=l.size,d=l.steps;if(!d)return Math.ceil(s/((i||1)*u));for(a=0,r=d.length;a<r&&(o=d[a],!(Math.ceil(s/(u*o))<=i));++a);return o}function c(t,e,n,i){var a,r,o,s=w.length;for(a=w.indexOf(t);a<s-1;++a)if(r=k[w[a]],o=r.steps?r.steps[r.steps.length-1]:_,r.common&&Math.ceil((n-e)/(o*r.size))<=i)return w[a];return w[s-1]}function h(t,e,n,i){var a,r,o=v.duration(v(i).diff(v(n)));for(a=w.length-1;a>=w.indexOf(e);a--)if(r=w[a],k[r].common&&o.as(r)>=t.length)return r;return w[e?w.indexOf(e):0]}function f(t){for(var e=w.indexOf(t)+1,n=w.length;e<n;++e)if(k[w[e]].common)return w[e]}function g(t,e,n,i){var a,r=i.time,o=r.unit||c(r.minUnit,t,e,n),s=f(o),l=b.valueOrDefault(r.stepSize,r.unitStepSize),u="week"===o&&r.isoWeekday,h=i.ticks.major.enabled,g=k[o],m=v(t),p=v(e),y=[];for(l||(l=d(t,e,o,n)),u&&(m=m.isoWeekday(u),p=p.isoWeekday(u)),m=m.startOf(u?"day":o),(p=p.startOf(u?"day":o))<e&&p.add(1,o),a=v(m),h&&s&&!u&&!r.round&&(a.startOf(s),a.add(~~((m-a)/(g.size*l))*l,o));a<p;a.add(l,o))y.push(+a);return y.push(+a),y}function m(t,e,n,i,a){var r,o,l=0,u=0;return a.offset&&e.length&&(a.time.min||(r=e.length>1?e[1]:i,o=e[0],l=(s(t,"time",r,"pos")-s(t,"time",o,"pos"))/2),a.time.max||(r=e[e.length-1],o=e.length>1?e[e.length-2]:n,u=(s(t,"time",r,"pos")-s(t,"time",o,"pos"))/2)),{left:l,right:u}}function p(t,e){var n,i,a,r,o=[];for(n=0,i=t.length;n<i;++n)a=t[n],r=!!e&&a===+v(a).startOf(e),o.push({value:a,major:r});return o}var v=t(6);v="function"==typeof v?v:window.moment;var y=t(25),b=t(45),x=Number.MIN_SAFE_INTEGER||-9007199254740991,_=Number.MAX_SAFE_INTEGER||9007199254740991,k={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},w=Object.keys(k);e.exports=function(t){var e=t.Scale.extend({initialize:function(){if(!v)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),t.Scale.prototype.initialize.call(this)},update:function(){var e=this,n=e.options;return n.time&&n.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),t.Scale.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),t.Scale.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var t,e,n,r,o,s,l=this,d=l.chart,c=l.options.time,h=_,f=x,g=[],m=[],p=[];for(t=0,n=d.data.labels.length;t<n;++t)p.push(u(d.data.labels[t],l));for(t=0,n=(d.data.datasets||[]).length;t<n;++t)if(d.isDatasetVisible(t))if(o=d.data.datasets[t].data,b.isObject(o[0]))for(m[t]=[],e=0,r=o.length;e<r;++e)s=u(o[e],l),g.push(s),m[t][e]=s;else g.push.apply(g,p),m[t]=p.slice(0);else m[t]=[];p.length&&(p=a(p).sort(i),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),g.length&&(g=a(g).sort(i),h=Math.min(h,g[0]),f=Math.max(f,g[g.length-1])),h=u(c.min,l)||h,f=u(c.max,l)||f,h=h===_?+v().startOf("day"):h,f=f===x?+v().endOf("day")+1:f,l.min=Math.min(h,f),l.max=Math.max(h+1,f),l._horizontal=l.isHorizontal(),l._table=[],l._timestamps={data:g,datasets:m,labels:p}},buildTicks:function(){var t,e,n,i=this,a=i.min,o=i.max,s=i.options,l=s.time,d=[],c=[];switch(s.ticks.source){case"data":d=i._timestamps.data;break;case"labels":d=i._timestamps.labels;break;case"auto":default:d=g(a,o,i.getLabelCapacity(a),s)}for("ticks"===s.bounds&&d.length&&(a=d[0],o=d[d.length-1]),a=u(l.min,i)||a,o=u(l.max,i)||o,t=0,e=d.length;t<e;++t)(n=d[t])>=a&&n<=o&&c.push(n);return i.min=a,i.max=o,i._unit=l.unit||h(c,l.minUnit,i.min,i.max),i._majorUnit=f(i._unit),i._table=r(i._timestamps.data,a,o,s.distribution),i._offsets=m(i._table,c,a,o,s),p(c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,a=n.options.time,r=i.labels&&t<i.labels.length?i.labels[t]:"",o=i.datasets[e].data[t];return b.isObject(o)&&(r=n.getRightValue(o)),a.tooltipFormat&&(r=l(r,a).format(a.tooltipFormat)),r},tickFormatFunction:function(t,e,n,i){var a=this,r=a.options,o=t.valueOf(),s=r.time.displayFormats,l=s[a._unit],u=a._majorUnit,d=s[u],c=t.clone().startOf(u).valueOf(),h=r.ticks.major,f=h.enabled&&u&&d&&o===c,g=t.format(i||(f?d:l)),m=f?h:r.ticks.minor,p=b.valueOrDefault(m.callback,m.userCallback);return p?p(g,e,n):g},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(v(t[e].value),e,t));return i},getPixelForOffset:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=s(e._table,"time",t,"pos");return i+n*(e._offsets.left+a)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,n){var i=this,a=null;if(void 0!==e&&void 0!==n&&(a=i._timestamps.datasets[n][e]),null===a&&(a=u(t,i)),null!==a)return i.getPixelForOffset(a)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=(n?(t-i)/n:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,r=s(e._table,"pos",a,"time");return v(r)},getLabelWidth:function(t){var e=this,n=e.options.ticks,i=e.ctx.measureText(t).width,a=b.toRadians(n.maxRotation),r=Math.cos(a),o=Math.sin(a);return i*r+b.valueOrDefault(n.fontSize,y.global.defaultFontSize)*o},getLabelCapacity:function(t){var e=this,n=e.options.time.displayFormats.millisecond,i=e.tickFormatFunction(v(t),0,[],n),a=e.getLabelWidth(i),r=e.isHorizontal()?e.width:e.height;return Math.floor(r/a)}});t.scaleService.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{25:25,45:45,6:6}]},{},[7])(7)});
assets/lib/moment/moment-with-locales.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):e.moment=a()}(this,function(){"use strict";function e(){return ct.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function t(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function n(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var a;for(a in e)if(e.hasOwnProperty(a))return!1;return!0}function s(e){return void 0===e}function r(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,a){var t,n=[];for(t=0;t<e.length;++t)n.push(a(e[t],t));return n}function i(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function o(e,a){for(var t in a)i(a,t)&&(e[t]=a[t]);return i(a,"toString")&&(e.toString=a.toString),i(a,"valueOf")&&(e.valueOf=a.valueOf),e}function m(e,a,t,n){return Re(e,a,t,n,!0).utc()}function u(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function l(e){return null==e._pf&&(e._pf=u()),e._pf}function M(e){if(null==e._isValid){var a=l(e),t=Yt.call(a.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&a.overflow<0&&!a.empty&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t);if(e._strict&&(n=n&&0===a.charsLeftOver&&0===a.unusedTokens.length&&void 0===a.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function h(e){var a=m(NaN);return null!=e?o(l(a),e):l(a).userInvalidated=!0,a}function L(e,a){var t,n,r;if(s(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),s(a._i)||(e._i=a._i),s(a._f)||(e._f=a._f),s(a._l)||(e._l=a._l),s(a._strict)||(e._strict=a._strict),s(a._tzm)||(e._tzm=a._tzm),s(a._isUTC)||(e._isUTC=a._isUTC),s(a._offset)||(e._offset=a._offset),s(a._pf)||(e._pf=l(a)),s(a._locale)||(e._locale=a._locale),yt.length>0)for(t=0;t<yt.length;t++)s(r=a[n=yt[t]])||(e[n]=r);return e}function c(a){L(this,a),this._d=new Date(null!=a._d?a._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ft&&(ft=!0,e.updateOffset(this),ft=!1)}function Y(e){return e instanceof c||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var a=+e,t=0;return 0!==a&&isFinite(a)&&(t=y(a)),t}function p(e,a,t){var n,s=Math.min(e.length,a.length),r=Math.abs(e.length-a.length),d=0;for(n=0;n<s;n++)(t&&e[n]!==a[n]||!t&&f(e[n])!==f(a[n]))&&d++;return d+r}function k(a){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function D(a,t){var n=!0;return o(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,a),n){for(var s,r=[],d=0;d<arguments.length;d++){if(s="","object"==typeof arguments[d]){s+="\n["+d+"] ";for(var _ in arguments[0])s+=_+": "+arguments[0][_]+", ";s=s.slice(0,-2)}else s=arguments[d];r.push(s)}k(a+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}function T(a,t){null!=e.deprecationHandler&&e.deprecationHandler(a,t),pt[a]||(k(t),pt[a]=!0)}function g(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function w(e,a){var n,s=o({},e);for(n in a)i(a,n)&&(t(e[n])&&t(a[n])?(s[n]={},o(s[n],e[n]),o(s[n],a[n])):null!=a[n]?s[n]=a[n]:delete s[n]);for(n in e)i(e,n)&&!i(a,n)&&t(e[n])&&(s[n]=o({},s[n]));return s}function v(e){null!=e&&this.set(e)}function S(e,a){var t=e.toLowerCase();vt[t]=vt[t+"s"]=vt[a]=e}function H(e){return"string"==typeof e?vt[e]||vt[e.toLowerCase()]:void 0}function b(e){var a,t,n={};for(t in e)i(e,t)&&(a=H(t))&&(n[a]=e[t]);return n}function j(e,a){St[e]=a}function x(e){var a=[];for(var t in e)a.push({unit:t,priority:St[t]});return a.sort(function(e,a){return e.priority-a.priority}),a}function P(e,a,t){var n=""+Math.abs(e),s=a-n.length;return(e>=0?t?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}function O(e,a,t,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(xt[e]=s),a&&(xt[a[0]]=function(){return P(s.apply(this,arguments),a[1],a[2])}),t&&(xt[t]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function E(e){var a,t,n=e.match(Ht);for(a=0,t=n.length;a<t;a++)xt[n[a]]?n[a]=xt[n[a]]:n[a]=W(n[a]);return function(a){var s,r="";for(s=0;s<t;s++)r+=g(n[s])?n[s].call(a,e):n[s];return r}}function A(e,a){return e.isValid()?(a=F(a,e.localeData()),jt[a]=jt[a]||E(a),jt[a](e)):e.localeData().invalidDate()}function F(e,a){var t=5;for(bt.lastIndex=0;t>=0&&bt.test(e);)e=e.replace(bt,function(e){return a.longDateFormat(e)||e}),bt.lastIndex=0,t-=1;return e}function z(e,a,t){Zt[e]=g(a)?a:function(e,n){return e&&t?t:a}}function J(e,a){return i(Zt,e)?Zt[e](a._strict,a._locale):new RegExp(N(e))}function N(e){return R(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,a,t,n,s){return a||t||n||s}))}function R(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function C(e,a){var t,n=a;for("string"==typeof e&&(e=[e]),r(a)&&(n=function(e,t){t[a]=f(e)}),t=0;t<e.length;t++)Bt[e[t]]=n}function I(e,a){C(e,function(e,t,n,s){n._w=n._w||{},a(e,n._w,n,s)})}function G(e,a,t){null!=a&&i(Bt,e)&&Bt[e](a,t._a,t,e)}function U(e){return V(e)?366:365}function V(e){return e%4==0&&e%100!=0||e%400==0}function K(a,t){return function(n){return null!=n?(Z(this,a,n),e.updateOffset(this,t),this):$(this,a)}}function $(e,a){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+a]():NaN}function Z(e,a,t){e.isValid()&&!isNaN(t)&&("FullYear"===a&&V(e.year())?e._d["set"+(e._isUTC?"UTC":"")+a](t,e.month(),q(t,e.month())):e._d["set"+(e._isUTC?"UTC":"")+a](t))}function B(e,a){return(e%a+a)%a}function q(e,a){if(isNaN(e)||isNaN(a))return NaN;var t=B(a,12);return e+=(a-t)/12,1===t?V(e)?29:28:31-t%7%2}function Q(e,a,t){var n,s,r,d=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=m([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return t?"MMM"===a?-1!==(s=dn.call(this._shortMonthsParse,d))?s:null:-1!==(s=dn.call(this._longMonthsParse,d))?s:null:"MMM"===a?-1!==(s=dn.call(this._shortMonthsParse,d))?s:-1!==(s=dn.call(this._longMonthsParse,d))?s:null:-1!==(s=dn.call(this._longMonthsParse,d))?s:-1!==(s=dn.call(this._shortMonthsParse,d))?s:null}function X(e,a){var t;if(!e.isValid())return e;if("string"==typeof a)if(/^\d+$/.test(a))a=f(a);else if(a=e.localeData().monthsParse(a),!r(a))return e;return t=Math.min(e.date(),q(e.year(),a)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](a,t),e}function ee(a){return null!=a?(X(this,a),e.updateOffset(this,!0),this):$(this,"Month")}function ae(){function e(e,a){return a.length-e.length}var a,t,n=[],s=[],r=[];for(a=0;a<12;a++)t=m([2e3,a]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),r.sort(e),a=0;a<12;a++)n[a]=R(n[a]),s[a]=R(s[a]);for(a=0;a<24;a++)r[a]=R(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function te(e,a,t,n,s,r,d){var _=new Date(e,a,t,n,s,r,d);return e<100&&e>=0&&isFinite(_.getFullYear())&&_.setFullYear(e),_}function ne(e){var a=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e),a}function se(e,a,t){var n=7+a-t;return-((7+ne(e,0,n).getUTCDay()-a)%7)+n-1}function re(e,a,t,n,s){var r,d,_=1+7*(a-1)+(7+t-n)%7+se(e,n,s);return _<=0?d=U(r=e-1)+_:_>U(e)?(r=e+1,d=_-U(e)):(r=e,d=_),{year:r,dayOfYear:d}}function de(e,a,t){var n,s,r=se(e.year(),a,t),d=Math.floor((e.dayOfYear()-r-1)/7)+1;return d<1?n=d+_e(s=e.year()-1,a,t):d>_e(e.year(),a,t)?(n=d-_e(e.year(),a,t),s=e.year()+1):(s=e.year(),n=d),{week:n,year:s}}function _e(e,a,t){var n=se(e,a,t),s=se(e+1,a,t);return(U(e)-n+s)/7}function ie(e,a){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=a.weekdaysParse(e))?e:null:parseInt(e,10)}function oe(e,a){return"string"==typeof e?a.weekdaysParse(e)%7||7:isNaN(e)?null:e}function me(e,a,t){var n,s,r,d=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return t?"dddd"===a?-1!==(s=dn.call(this._weekdaysParse,d))?s:null:"ddd"===a?-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:null:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:null:"dddd"===a?-1!==(s=dn.call(this._weekdaysParse,d))?s:-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:null:"ddd"===a?-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:-1!==(s=dn.call(this._weekdaysParse,d))?s:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:null:-1!==(s=dn.call(this._minWeekdaysParse,d))?s:-1!==(s=dn.call(this._weekdaysParse,d))?s:-1!==(s=dn.call(this._shortWeekdaysParse,d))?s:null}function ue(){function e(e,a){return a.length-e.length}var a,t,n,s,r,d=[],_=[],i=[],o=[];for(a=0;a<7;a++)t=m([2e3,1]).day(a),n=this.weekdaysMin(t,""),s=this.weekdaysShort(t,""),r=this.weekdays(t,""),d.push(n),_.push(s),i.push(r),o.push(n),o.push(s),o.push(r);for(d.sort(e),_.sort(e),i.sort(e),o.sort(e),a=0;a<7;a++)_[a]=R(_[a]),i[a]=R(i[a]),o[a]=R(o[a]);this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+d.join("|")+")","i")}function le(){return this.hours()%12||12}function Me(e,a){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}function he(e,a){return a._meridiemParse}function Le(e){return e?e.toLowerCase().replace("_","-"):e}function ce(e){for(var a,t,n,s,r=0;r<e.length;){for(a=(s=Le(e[r]).split("-")).length,t=(t=Le(e[r+1]))?t.split("-"):null;a>0;){if(n=Ye(s.slice(0,a).join("-")))return n;if(t&&t.length>=a&&p(s,t,!0)>=a-1)break;a--}r++}return null}function Ye(e){var a=null;if(!wn[e]&&"undefined"!=typeof module&&module&&module.exports)try{a=kn._abbr,require("./locale/"+e),ye(a)}catch(e){}return wn[e]}function ye(e,a){var t;return e&&(t=s(a)?pe(e):fe(e,a))&&(kn=t),kn._abbr}function fe(e,a){if(null!==a){var t=gn;if(a.abbr=e,null!=wn[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),t=wn[e]._config;else if(null!=a.parentLocale){if(null==wn[a.parentLocale])return vn[a.parentLocale]||(vn[a.parentLocale]=[]),vn[a.parentLocale].push({name:e,config:a}),null;t=wn[a.parentLocale]._config}return wn[e]=new v(w(t,a)),vn[e]&&vn[e].forEach(function(e){fe(e.name,e.config)}),ye(e),wn[e]}return delete wn[e],null}function pe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return kn;if(!a(e)){if(t=Ye(e))return t;e=[e]}return ce(e)}function ke(e){var a,t=e._a;return t&&-2===l(e).overflow&&(a=t[Qt]<0||t[Qt]>11?Qt:t[Xt]<1||t[Xt]>q(t[qt],t[Qt])?Xt:t[en]<0||t[en]>24||24===t[en]&&(0!==t[an]||0!==t[tn]||0!==t[nn])?en:t[an]<0||t[an]>59?an:t[tn]<0||t[tn]>59?tn:t[nn]<0||t[nn]>999?nn:-1,l(e)._overflowDayOfYear&&(a<qt||a>Xt)&&(a=Xt),l(e)._overflowWeeks&&-1===a&&(a=sn),l(e)._overflowWeekday&&-1===a&&(a=rn),l(e).overflow=a),e}function De(e,a,t){return null!=e?e:null!=a?a:t}function Te(a){var t=new Date(e.now());return a._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ge(e){var a,t,n,s,r=[];if(!e._d){for(n=Te(e),e._w&&null==e._a[Xt]&&null==e._a[Qt]&&we(e),null!=e._dayOfYear&&(s=De(e._a[qt],n[qt]),(e._dayOfYear>U(s)||0===e._dayOfYear)&&(l(e)._overflowDayOfYear=!0),t=ne(s,0,e._dayOfYear),e._a[Qt]=t.getUTCMonth(),e._a[Xt]=t.getUTCDate()),a=0;a<3&&null==e._a[a];++a)e._a[a]=r[a]=n[a];for(;a<7;a++)e._a[a]=r[a]=null==e._a[a]?2===a?1:0:e._a[a];24===e._a[en]&&0===e._a[an]&&0===e._a[tn]&&0===e._a[nn]&&(e._nextDay=!0,e._a[en]=0),e._d=(e._useUTC?ne:te).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[en]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(l(e).weekdayMismatch=!0)}}function we(e){var a,t,n,s,r,d,_,i;if(null!=(a=e._w).GG||null!=a.W||null!=a.E)r=1,d=4,t=De(a.GG,e._a[qt],de(Ce(),1,4).year),n=De(a.W,1),((s=De(a.E,1))<1||s>7)&&(i=!0);else{r=e._locale._week.dow,d=e._locale._week.doy;var o=de(Ce(),r,d);t=De(a.gg,e._a[qt],o.year),n=De(a.w,o.week),null!=a.d?((s=a.d)<0||s>6)&&(i=!0):null!=a.e?(s=a.e+r,(a.e<0||a.e>6)&&(i=!0)):s=r}n<1||n>_e(t,r,d)?l(e)._overflowWeeks=!0:null!=i?l(e)._overflowWeekday=!0:(_=re(t,n,s,r,d),e._a[qt]=_.year,e._dayOfYear=_.dayOfYear)}function ve(e){var a,t,n,s,r,d,_=e._i,i=Sn.exec(_)||Hn.exec(_);if(i){for(l(e).iso=!0,a=0,t=jn.length;a<t;a++)if(jn[a][1].exec(i[1])){s=jn[a][0],n=!1!==jn[a][2];break}if(null==s)return void(e._isValid=!1);if(i[3]){for(a=0,t=xn.length;a<t;a++)if(xn[a][1].exec(i[3])){r=(i[2]||" ")+xn[a][0];break}if(null==r)return void(e._isValid=!1)}if(!n&&null!=r)return void(e._isValid=!1);if(i[4]){if(!bn.exec(i[4]))return void(e._isValid=!1);d="Z"}e._f=s+(r||"")+(d||""),We(e)}else e._isValid=!1}function Se(e,a,t,n,s,r){var d=[He(e),un.indexOf(a),parseInt(t,10),parseInt(n,10),parseInt(s,10)];return r&&d.push(parseInt(r,10)),d}function He(e){var a=parseInt(e,10);return a<=49?2e3+a:a<=999?1900+a:a}function be(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function je(e,a,t){return!e||cn.indexOf(e)===new Date(a[0],a[1],a[2]).getDay()||(l(t).weekdayMismatch=!0,t._isValid=!1,!1)}function xe(e,a,t){if(e)return Wn[e];if(a)return 0;var n=parseInt(t,10),s=n%100;return 60*((n-s)/100)+s}function Pe(e){var a=On.exec(be(e._i));if(a){var t=Se(a[4],a[3],a[2],a[5],a[6],a[7]);if(!je(a[1],t,e))return;e._a=t,e._tzm=xe(a[8],a[9],a[10]),e._d=ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),l(e).rfc2822=!0}else e._isValid=!1}function Oe(a){var t=Pn.exec(a._i);null===t?(ve(a),!1===a._isValid&&(delete a._isValid,Pe(a),!1===a._isValid&&(delete a._isValid,e.createFromInputFallback(a)))):a._d=new Date(+t[1])}function We(a){if(a._f!==e.ISO_8601)if(a._f!==e.RFC_2822){a._a=[],l(a).empty=!0;var t,n,s,r,d,_=""+a._i,i=_.length,o=0;for(s=F(a._f,a._locale).match(Ht)||[],t=0;t<s.length;t++)r=s[t],(n=(_.match(J(r,a))||[])[0])&&((d=_.substr(0,_.indexOf(n))).length>0&&l(a).unusedInput.push(d),_=_.slice(_.indexOf(n)+n.length),o+=n.length),xt[r]?(n?l(a).empty=!1:l(a).unusedTokens.push(r),G(r,n,a)):a._strict&&!n&&l(a).unusedTokens.push(r);l(a).charsLeftOver=i-o,_.length>0&&l(a).unusedInput.push(_),a._a[en]<=12&&!0===l(a).bigHour&&a._a[en]>0&&(l(a).bigHour=void 0),l(a).parsedDateParts=a._a.slice(0),l(a).meridiem=a._meridiem,a._a[en]=Ee(a._locale,a._a[en],a._meridiem),ge(a),ke(a)}else Pe(a);else ve(a)}function Ee(e,a,t){var n;return null==t?a:null!=e.meridiemHour?e.meridiemHour(a,t):null!=e.isPM?((n=e.isPM(t))&&a<12&&(a+=12),n||12!==a||(a=0),a):a}function Ae(e){var a,t,n,s,r;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<e._f.length;s++)r=0,a=L({},e),null!=e._useUTC&&(a._useUTC=e._useUTC),a._f=e._f[s],We(a),M(a)&&(r+=l(a).charsLeftOver,r+=10*l(a).unusedTokens.length,l(a).score=r,(null==n||r<n)&&(n=r,t=a));o(e,t||a)}function Fe(e){if(!e._d){var a=b(e._i);e._a=_([a.year,a.month,a.day||a.date,a.hour,a.minute,a.second,a.millisecond],function(e){return e&&parseInt(e,10)}),ge(e)}}function ze(e){var a=new c(ke(Je(e)));return a._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Je(e){var t=e._i,n=e._f;return e._locale=e._locale||pe(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new c(ke(t)):(d(t)?e._d=t:a(n)?Ae(e):n?We(e):Ne(e),M(e)||(e._d=null),e))}function Ne(n){var i=n._i;s(i)?n._d=new Date(e.now()):d(i)?n._d=new Date(i.valueOf()):"string"==typeof i?Oe(n):a(i)?(n._a=_(i.slice(0),function(e){return parseInt(e,10)}),ge(n)):t(i)?Fe(n):r(i)?n._d=new Date(i):e.createFromInputFallback(n)}function Re(e,s,r,d,_){var i={};return!0!==r&&!1!==r||(d=r,r=void 0),(t(e)&&n(e)||a(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=_,i._l=r,i._i=e,i._f=s,i._strict=d,ze(i)}function Ce(e,a,t,n){return Re(e,a,t,n,!1)}function Ie(e,t){var n,s;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Ce();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function Ge(e){for(var a in e)if(-1===dn.call(Fn,a)||null!=e[a]&&isNaN(e[a]))return!1;for(var t=!1,n=0;n<Fn.length;++n)if(e[Fn[n]]){if(t)return!1;parseFloat(e[Fn[n]])!==f(e[Fn[n]])&&(t=!0)}return!0}function Ue(e){var a=b(e),t=a.year||0,n=a.quarter||0,s=a.month||0,r=a.week||0,d=a.day||0,_=a.hour||0,i=a.minute||0,o=a.second||0,m=a.millisecond||0;this._isValid=Ge(a),this._milliseconds=+m+1e3*o+6e4*i+1e3*_*60*60,this._days=+d+7*r,this._months=+s+3*n+12*t,this._data={},this._locale=pe(),this._bubble()}function Ve(e){return e instanceof Ue}function Ke(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function $e(e,a){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+P(~~(e/60),2)+a+P(~~e%60,2)})}function Ze(e,a){var t=(a||"").match(e);if(null===t)return null;var n=((t[t.length-1]||[])+"").match(zn)||["-",0,0],s=60*n[1]+f(n[2]);return 0===s?0:"+"===n[0]?s:-s}function Be(a,t){var n,s;return t._isUTC?(n=t.clone(),s=(Y(a)||d(a)?a.valueOf():Ce(a).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),e.updateOffset(n,!1),n):Ce(a).local()}function qe(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xe(e,a){var t,n,s,d=e,_=null;return Ve(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:r(e)?(d={},a?d[a]=e:d.milliseconds=e):(_=Jn.exec(e))?(t="-"===_[1]?-1:1,d={y:0,d:f(_[Xt])*t,h:f(_[en])*t,m:f(_[an])*t,s:f(_[tn])*t,ms:f(Ke(1e3*_[nn]))*t}):(_=Nn.exec(e))?(t="-"===_[1]?-1:(_[1],1),d={y:ea(_[2],t),M:ea(_[3],t),w:ea(_[4],t),d:ea(_[5],t),h:ea(_[6],t),m:ea(_[7],t),s:ea(_[8],t)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(s=ta(Ce(d.from),Ce(d.to)),(d={}).ms=s.milliseconds,d.M=s.months),n=new Ue(d),Ve(e)&&i(e,"_locale")&&(n._locale=e._locale),n}function ea(e,a){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*a}function aa(e,a){var t={milliseconds:0,months:0};return t.months=a.month()-e.month()+12*(a.year()-e.year()),e.clone().add(t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months,"M"),t}function ta(e,a){var t;return e.isValid()&&a.isValid()?(a=Be(a,e),e.isBefore(a)?t=aa(e,a):((t=aa(a,e)).milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function na(e,a){return function(t,n){var s,r;return null===n||isNaN(+n)||(T(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=t,t=n,n=r),t="string"==typeof t?+t:t,s=Xe(t,n),sa(this,s,e),this}}function sa(a,t,n,s){var r=t._milliseconds,d=Ke(t._days),_=Ke(t._months);a.isValid()&&(s=null==s||s,_&&X(a,$(a,"Month")+_*n),d&&Z(a,"Date",$(a,"Date")+d*n),r&&a._d.setTime(a._d.valueOf()+r*n),s&&e.updateOffset(a,d||_))}function ra(e,a){var t,n=12*(a.year()-e.year())+(a.month()-e.month()),s=e.clone().add(n,"months");return t=a-s<0?(a-s)/(s-e.clone().add(n-1,"months")):(a-s)/(e.clone().add(n+1,"months")-s),-(n+t)||0}function da(e){var a;return void 0===e?this._locale._abbr:(null!=(a=pe(e))&&(this._locale=a),this)}function _a(){return this._locale}function ia(e,a){O(0,[e,e.length],0,a)}function oa(e,a,t,n,s){var r;return null==e?de(this,n,s).year:(r=_e(e,n,s),a>r&&(a=r),ma.call(this,e,a,t,n,s))}function ma(e,a,t,n,s){var r=re(e,a,t,n,s),d=ne(r.year,0,r.dayOfYear);return this.year(d.getUTCFullYear()),this.month(d.getUTCMonth()),this.date(d.getUTCDate()),this}function ua(e){return e}function la(e,a,t,n){var s=pe(),r=m().set(n,a);return s[t](r,e)}function Ma(e,a,t){if(r(e)&&(a=e,e=void 0),e=e||"",null!=a)return la(e,a,t,"month");var n,s=[];for(n=0;n<12;n++)s[n]=la(e,n,t,"month");return s}function ha(e,a,t,n){"boolean"==typeof e?(r(a)&&(t=a,a=void 0),a=a||""):(t=a=e,e=!1,r(a)&&(t=a,a=void 0),a=a||"");var s=pe(),d=e?s._week.dow:0;if(null!=t)return la(a,(t+d)%7,n,"day");var _,i=[];for(_=0;_<7;_++)i[_]=la(a,(_+d)%7,n,"day");return i}function La(e,a,t,n){var s=Xe(a,t);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function ca(e){return e<0?Math.floor(e):Math.ceil(e)}function Ya(e){return 4800*e/146097}function ya(e){return 146097*e/4800}function fa(e){return function(){return this.as(e)}}function pa(e){return function(){return this.isValid()?this._data[e]:NaN}}function ka(e,a,t,n,s){return s.relativeTime(a||1,!!t,e,n)}function Da(e,a,t){var n=Xe(e).abs(),s=Ms(n.as("s")),r=Ms(n.as("m")),d=Ms(n.as("h")),_=Ms(n.as("d")),i=Ms(n.as("M")),o=Ms(n.as("y")),m=s<=hs.ss&&["s",s]||s<hs.s&&["ss",s]||r<=1&&["m"]||r<hs.m&&["mm",r]||d<=1&&["h"]||d<hs.h&&["hh",d]||_<=1&&["d"]||_<hs.d&&["dd",_]||i<=1&&["M"]||i<hs.M&&["MM",i]||o<=1&&["y"]||["yy",o];return m[2]=a,m[3]=+e>0,m[4]=t,ka.apply(null,m)}function Ta(e){return(e>0)-(e<0)||+e}function ga(){if(!this.isValid())return this.localeData().invalidDate();var e,a,t,n=Ls(this._milliseconds)/1e3,s=Ls(this._days),r=Ls(this._months);a=y((e=y(n/60))/60),n%=60,e%=60;var d=t=y(r/12),_=r%=12,i=s,o=a,m=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var M=l<0?"-":"",h=Ta(this._months)!==Ta(l)?"-":"",L=Ta(this._days)!==Ta(l)?"-":"",c=Ta(this._milliseconds)!==Ta(l)?"-":"";return M+"P"+(d?h+d+"Y":"")+(_?h+_+"M":"")+(i?L+i+"D":"")+(o||m||u?"T":"")+(o?c+o+"H":"")+(m?c+m+"M":"")+(u?c+u+"S":"")}function wa(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function va(e,a,t){var n={mm:a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"};return"m"===t?a?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===t?a?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+wa(n[t],+e)}function Sa(e,a,t){return e+" "+ba({mm:"munutenn",MM:"miz",dd:"devezh"}[t],e)}function Ha(e){return e>9?Ha(e%10):e}function ba(e,a){return 2===a?ja(e):e}function ja(e){var a={m:"v",b:"v",d:"z"};return void 0===a[e.charAt(0)]?e:a[e.charAt(0)]+e.substring(1)}function xa(e,a,t){var n=e+" ";switch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Pa(e){return e>1&&e<5&&1!=~~(e/10)}function Oa(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"p\xe1r sekund":"p\xe1r sekundami";case"m":return a?"minuta":n?"minutu":"minutou";case"mm":return a||n?s+(Pa(e)?"minuty":"minut"):s+"minutami";break;case"h":return a?"hodina":n?"hodinu":"hodinou";case"hh":return a||n?s+(Pa(e)?"hodiny":"hodin"):s+"hodinami";break;case"d":return a||n?"den":"dnem";case"dd":return a||n?s+(Pa(e)?"dny":"dn\xed"):s+"dny";break;case"M":return a||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return a||n?s+(Pa(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";break;case"y":return a||n?"rok":"rokem";case"yy":return a||n?s+(Pa(e)?"roky":"let"):s+"lety";break}}function Wa(e,a,t,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?s[t][0]:s[t][1]}function Ea(e,a,t,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?s[t][0]:s[t][1]}function Aa(e,a,t,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return a?s[t][0]:s[t][1]}function Fa(e,a,t,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return a?s[t][2]?s[t][2]:s[t][1]:n?s[t][0]:s[t][1]}function za(e,a,t,n){var s="";switch(t){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"m":return n?"minuutin":"minuutti";case"mm":s=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":s=n?"tunnin":"tuntia";break;case"d":return n?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":s=n?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return n?"kuukauden":"kuukausi";case"MM":s=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":s=n?"vuoden":"vuotta";break}return s=Ja(e,n)+" "+s}function Ja(e,a){return e<10?a?Qs[e]:qs[e]:e}function Na(e,a,t,n){var s={s:["thodde secondanim","thodde second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka horan","ek hor"],hh:[e+" horanim",e+" hor"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return a?s[t][0]:s[t][1]}function Ra(e,a,t){var n=e+" ";switch(t){case"m":return a?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return a?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}function Ca(e,a,t,n){var s=e;switch(t){case"s":return n||a?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"m":return"egy"+(n||a?" perc":" perce");case"mm":return s+(n||a?" perc":" perce");case"h":return"egy"+(n||a?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||a?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||a?" nap":" napja");case"dd":return s+(n||a?" nap":" napja");case"M":return"egy"+(n||a?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||a?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||a?" \xe9v":" \xe9ve");case"yy":return s+(n||a?" \xe9v":" \xe9ve")}return""}function Ia(e){return(e?"":"[m\xfalt] ")+"["+mr[this.day()]+"] LT[-kor]"}function Ga(e){return e%100==11||e%10!=1}function Ua(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"m":return a?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return Ga(e)?s+(a||n?"m\xedn\xfatur":"m\xedn\xfatum"):a?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return Ga(e)?s+(a||n?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return a?"dagur":n?"dag":"degi";case"dd":return Ga(e)?a?s+"dagar":s+(n?"daga":"d\xf6gum"):a?s+"dagur":s+(n?"dag":"degi");case"M":return a?"m\xe1nu\xf0ur":n?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return Ga(e)?a?s+"m\xe1nu\xf0ir":s+(n?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):a?s+"m\xe1nu\xf0ur":s+(n?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return a||n?"\xe1r":"\xe1ri";case"yy":return Ga(e)?s+(a||n?"\xe1r":"\xe1rum"):s+(a||n?"\xe1r":"\xe1ri")}}function Va(e,a,t,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return a?s[t][0]:s[t][1]}function Ka(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var a=e%10,t=e/10;return Ka(0===a?t:a)}if(e<1e4){for(;e>=10;)e/=10;return Ka(e)}return e/=1e3,Ka(e)}function $a(e,a,t,n){return a?Ba(t)[0]:n?Ba(t)[1]:Ba(t)[2]}function Za(e){return e%10==0||e>10&&e<20}function Ba(e){return Lr[e].split("_")}function qa(e,a,t,n){var s=e+" ";return 1===e?s+$a(e,a,t[0],n):a?s+(Za(e)?Ba(t)[1]:Ba(t)[0]):n?s+Ba(t)[1]:s+(Za(e)?Ba(t)[1]:Ba(t)[2])}function Qa(e,a,t){return t?a%10==1&&a%100!=11?e[2]:e[3]:a%10==1&&a%100!=11?e[0]:e[1]}function Xa(e,a,t){return e+" "+Qa(cr[t],e,a)}function et(e,a,t){return Qa(cr[t],e,a)}function at(e,a,t,n){var s="";if(a)switch(t){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947";break}else switch(t){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902";break}return s.replace(/%d/i,e)}function tt(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function nt(e,a,t){var n=e+" ";switch(t){case"m":return a?"minuta":"minut\u0119";case"mm":return n+(tt(e)?"minuty":"minut");case"h":return a?"godzina":"godzin\u0119";case"hh":return n+(tt(e)?"godziny":"godzin");case"MM":return n+(tt(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return n+(tt(e)?"lata":"lat")}}function st(e,a,t){var n={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},s=" ";return(e%100>=20||e>=100&&e%100==0)&&(s=" de "),e+s+n[t]}function rt(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function dt(e,a,t){var n={mm:a?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"};return"m"===t?a?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+rt(n[t],+e)}function _t(e){return e>1&&e<5}function it(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return a?"min\xfata":n?"min\xfatu":"min\xfatou";case"mm":return a||n?s+(_t(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";break;case"h":return a?"hodina":n?"hodinu":"hodinou";case"hh":return a||n?s+(_t(e)?"hodiny":"hod\xedn"):s+"hodinami";break;case"d":return a||n?"de\u0148":"d\u0148om";case"dd":return a||n?s+(_t(e)?"dni":"dn\xed"):s+"d\u0148ami";break;case"M":return a||n?"mesiac":"mesiacom";case"MM":return a||n?s+(_t(e)?"mesiace":"mesiacov"):s+"mesiacmi";break;case"y":return a||n?"rok":"rokom";case"yy":return a||n?s+(_t(e)?"roky":"rokov"):s+"rokmi";break}}function ot(e,a,t,n){var s=e+" ";switch(t){case"s":return a||n?"nekaj sekund":"nekaj sekundami";case"m":return a?"ena minuta":"eno minuto";case"mm":return s+=1===e?a?"minuta":"minuto":2===e?a||n?"minuti":"minutama":e<5?a||n?"minute":"minutami":a||n?"minut":"minutami";case"h":return a?"ena ura":"eno uro";case"hh":return s+=1===e?a?"ura":"uro":2===e?a||n?"uri":"urama":e<5?a||n?"ure":"urami":a||n?"ur":"urami";case"d":return a||n?"en dan":"enim dnem";case"dd":return s+=1===e?a||n?"dan":"dnem":2===e?a||n?"dni":"dnevoma":a||n?"dni":"dnevi";case"M":return a||n?"en mesec":"enim mesecem";case"MM":return s+=1===e?a||n?"mesec":"mesecem":2===e?a||n?"meseca":"mesecema":e<5?a||n?"mesece":"meseci":a||n?"mesecev":"meseci";case"y":return a||n?"eno leto":"enim letom";case"yy":return s+=1===e?a||n?"leto":"letom":2===e?a||n?"leti":"letoma":e<5?a||n?"leta":"leti":a||n?"let":"leti"}}function mt(e,a,t,n){var s=ut(e);switch(t){case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}function ut(e){var a=Math.floor(e%1e3/100),t=Math.floor(e%100/10),n=e%10,s="";return a>0&&(s+=Ur[a]+"vatlh"),t>0&&(s+=(""!==s?" ":"")+Ur[t]+"maH"),n>0&&(s+=(""!==s?" ":"")+Ur[n]),""===s?"pagh":s}function lt(e,a,t,n){var s={s:["viensas secunds","'iensas secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n?s[t][0]:a?s[t][0]:s[t][1]}function Mt(e,a){var t=e.split("_");return a%10==1&&a%100!=11?t[0]:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?t[1]:t[2]}function ht(e,a,t){var n={mm:a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:a?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"};return"m"===t?a?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===t?a?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+Mt(n[t],+e)}function Lt(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}var ct,Yt;Yt=Array.prototype.some?Array.prototype.some:function(e){for(var a=Object(this),t=a.length>>>0,n=0;n<t;n++)if(n in a&&e.call(this,a[n],n,a))return!0;return!1};var yt=e.momentProperties=[],ft=!1,pt={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var kt;kt=Object.keys?Object.keys:function(e){var a,t=[];for(a in e)i(e,a)&&t.push(a);return t};var Dt={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Tt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},gt=/\d{1,2}/,wt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},vt={},St={},Ht=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,bt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jt={},xt={},Pt=/\d/,Ot=/\d\d/,Wt=/\d{3}/,Et=/\d{4}/,At=/[+-]?\d{6}/,Ft=/\d\d?/,zt=/\d\d\d\d?/,Jt=/\d\d\d\d\d\d?/,Nt=/\d{1,3}/,Rt=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,It=/\d+/,Gt=/[+-]?\d+/,Ut=/Z|[+-]\d\d:?\d\d/gi,Vt=/Z|[+-]\d\d(?::?\d\d)?/gi,Kt=/[+-]?\d+(\.\d{1,3})?/,$t=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Zt={},Bt={},qt=0,Qt=1,Xt=2,en=3,an=4,tn=5,nn=6,sn=7,rn=8;O("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),S("year","y"),j("year",1),z("Y",Gt),z("YY",Ft,Ot),z("YYYY",Rt,Et),z("YYYYY",Ct,At),z("YYYYYY",Ct,At),C(["YYYYY","YYYYYY"],qt),C("YYYY",function(a,t){t[qt]=2===a.length?e.parseTwoDigitYear(a):f(a)}),C("YY",function(a,t){t[qt]=e.parseTwoDigitYear(a)}),C("Y",function(e,a){a[qt]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return f(e)+(f(e)>68?1900:2e3)};var dn,_n=K("FullYear",!0);dn=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),S("month","M"),j("month",8),z("M",Ft),z("MM",Ft,Ot),z("MMM",function(e,a){return a.monthsShortRegex(e)}),z("MMMM",function(e,a){return a.monthsRegex(e)}),C(["M","MM"],function(e,a){a[Qt]=f(e)-1}),C(["MMM","MMMM"],function(e,a,t,n){var s=t._locale.monthsParse(e,n,t._strict);null!=s?a[Qt]=s:l(t).invalidMonth=e});var on=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),un="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ln=$t,Mn=$t;O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),S("week","w"),S("isoWeek","W"),j("week",5),j("isoWeek",5),z("w",Ft),z("ww",Ft,Ot),z("W",Ft),z("WW",Ft,Ot),I(["w","ww","W","WW"],function(e,a,t,n){a[n.substr(0,1)]=f(e)});var hn={dow:0,doy:6};O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),S("day","d"),S("weekday","e"),S("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),z("d",Ft),z("e",Ft),z("E",Ft),z("dd",function(e,a){return a.weekdaysMinRegex(e)}),z("ddd",function(e,a){return a.weekdaysShortRegex(e)}),z("dddd",function(e,a){return a.weekdaysRegex(e)}),I(["dd","ddd","dddd"],function(e,a,t,n){var s=t._locale.weekdaysParse(e,n,t._strict);null!=s?a.d=s:l(t).invalidWeekday=e}),I(["d","e","E"],function(e,a,t,n){a[n]=f(e)});var Ln="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Yn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yn=$t,fn=$t,pn=$t;O("H",["HH",2],0,"hour"),O("h",["hh",2],0,le),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+le.apply(this)+P(this.minutes(),2)}),O("hmmss",0,0,function(){return""+le.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),Me("a",!0),Me("A",!1),S("hour","h"),j("hour",13),z("a",he),z("A",he),z("H",Ft),z("h",Ft),z("k",Ft),z("HH",Ft,Ot),z("hh",Ft,Ot),z("kk",Ft,Ot),z("hmm",zt),z("hmmss",Jt),z("Hmm",zt),z("Hmmss",Jt),C(["H","HH"],en),C(["k","kk"],function(e,a,t){var n=f(e);a[en]=24===n?0:n}),C(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e}),C(["h","hh"],function(e,a,t){a[en]=f(e),l(t).bigHour=!0}),C("hmm",function(e,a,t){var n=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n)),l(t).bigHour=!0}),C("hmmss",function(e,a,t){var n=e.length-4,s=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n,2)),a[tn]=f(e.substr(s)),l(t).bigHour=!0}),C("Hmm",function(e,a,t){var n=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n))}),C("Hmmss",function(e,a,t){var n=e.length-4,s=e.length-2;a[en]=f(e.substr(0,n)),a[an]=f(e.substr(n,2)),a[tn]=f(e.substr(s))});var kn,Dn=/[ap]\.?m?\.?/i,Tn=K("Hours",!0),gn={calendar:Dt,longDateFormat:Tt,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:gt,relativeTime:wt,months:mn,monthsShort:un,week:hn,weekdays:Ln,weekdaysMin:Yn,weekdaysShort:cn,meridiemParse:Dn},wn={},vn={},Sn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bn=/Z|[+-]\d\d(?::?\d\d)?/,jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Pn=/^\/?Date\((\-?\d+)/i,On=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Wn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=D("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var En=D("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ce.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:h()}),An=D("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ce.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),Fn=["year","quarter","month","week","day","hour","minute","second","millisecond"];$e("Z",":"),$e("ZZ",""),z("Z",Vt),z("ZZ",Vt),C(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=Ze(Vt,e)});var zn=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Jn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Nn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xe.fn=Ue.prototype,Xe.invalid=function(){return Xe(NaN)};var Rn=na(1,"add"),Cn=na(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var In=D("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ia("gggg","weekYear"),ia("ggggg","weekYear"),ia("GGGG","isoWeekYear"),ia("GGGGG","isoWeekYear"),S("weekYear","gg"),S("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),z("G",Gt),z("g",Gt),z("GG",Ft,Ot),z("gg",Ft,Ot),z("GGGG",Rt,Et),z("gggg",Rt,Et),z("GGGGG",Ct,At),z("ggggg",Ct,At),I(["gggg","ggggg","GGGG","GGGGG"],function(e,a,t,n){a[n.substr(0,2)]=f(e)}),I(["gg","GG"],function(a,t,n,s){t[s]=e.parseTwoDigitYear(a)}),O("Q",0,"Qo","quarter"),S("quarter","Q"),j("quarter",7),z("Q",Pt),C("Q",function(e,a){a[Qt]=3*(f(e)-1)}),O("D",["DD",2],"Do","date"),S("date","D"),j("date",9),z("D",Ft),z("DD",Ft,Ot),z("Do",function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient}),C(["D","DD"],Xt),C("Do",function(e,a){a[Xt]=f(e.match(Ft)[0],10)});var Gn=K("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),S("dayOfYear","DDD"),j("dayOfYear",4),z("DDD",Nt),z("DDDD",Wt),C(["DDD","DDDD"],function(e,a,t){t._dayOfYear=f(e)}),O("m",["mm",2],0,"minute"),S("minute","m"),j("minute",14),z("m",Ft),z("mm",Ft,Ot),C(["m","mm"],an);var Un=K("Minutes",!1);O("s",["ss",2],0,"second"),S("second","s"),j("second",15),z("s",Ft),z("ss",Ft,Ot),C(["s","ss"],tn);var Vn=K("Seconds",!1);O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),S("millisecond","ms"),j("millisecond",16),z("S",Nt,Pt),z("SS",Nt,Ot),z("SSS",Nt,Wt);var Kn;for(Kn="SSSS";Kn.length<=9;Kn+="S")z(Kn,It);for(Kn="S";Kn.length<=9;Kn+="S")C(Kn,function(e,a){a[nn]=f(1e3*("0."+e))});var $n=K("Milliseconds",!1);O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");var Zn=c.prototype;Zn.add=Rn,Zn.calendar=function(a,t){var n=a||Ce(),s=Be(n,this).startOf("day"),r=e.calendarFormat(this,s)||"sameElse",d=t&&(g(t[r])?t[r].call(this,n):t[r]);return this.format(d||this.localeData().calendar(r,this,Ce(n)))},Zn.clone=function(){return new c(this)},Zn.diff=function(e,a,t){var n,s,r;if(!this.isValid())return NaN;if(!(n=Be(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),a=H(a)){case"year":r=ra(this,n)/12;break;case"month":r=ra(this,n);break;case"quarter":r=ra(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return t?r:y(r)},Zn.endOf=function(e){return void 0===(e=H(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Zn.format=function(a){a||(a=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var t=A(this,a);return this.localeData().postformat(t)},Zn.from=function(e,a){return this.isValid()&&(Y(e)&&e.isValid()||Ce(e).isValid())?Xe({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},Zn.fromNow=function(e){return this.from(Ce(),e)},Zn.to=function(e,a){return this.isValid()&&(Y(e)&&e.isValid()||Ce(e).isValid())?Xe({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},Zn.toNow=function(e){return this.to(Ce(),e)},Zn.get=function(e){return e=H(e),g(this[e])?this[e]():this},Zn.invalidAt=function(){return l(this).overflow},Zn.isAfter=function(e,a){var t=Y(e)?e:Ce(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(a=H(s(a)?"millisecond":a))?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(a).valueOf())},Zn.isBefore=function(e,a){var t=Y(e)?e:Ce(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(a=H(s(a)?"millisecond":a))?this.valueOf()<t.valueOf():this.clone().endOf(a).valueOf()<t.valueOf())},Zn.isBetween=function(e,a,t,n){return("("===(n=n||"()")[0]?this.isAfter(e,t):!this.isBefore(e,t))&&(")"===n[1]?this.isBefore(a,t):!this.isAfter(a,t))},Zn.isSame=function(e,a){var t,n=Y(e)?e:Ce(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(a=H(a||"millisecond"))?this.valueOf()===n.valueOf():(t=n.valueOf(),this.clone().startOf(a).valueOf()<=t&&t<=this.clone().endOf(a).valueOf()))},Zn.isSameOrAfter=function(e,a){return this.isSame(e,a)||this.isAfter(e,a)},Zn.isSameOrBefore=function(e,a){return this.isSame(e,a)||this.isBefore(e,a)},Zn.isValid=function(){return M(this)},Zn.lang=In,Zn.locale=da,Zn.localeData=_a,Zn.max=An,Zn.min=En,Zn.parsingFlags=function(){return o({},l(this))},Zn.set=function(e,a){if("object"==typeof e)for(var t=x(e=b(e)),n=0;n<t.length;n++)this[t[n].unit](e[t[n].unit]);else if(e=H(e),g(this[e]))return this[e](a);return this},Zn.startOf=function(e){switch(e=H(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Zn.subtract=Cn,Zn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Zn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Zn.toDate=function(){return new Date(this.valueOf())},Zn.toISOString=function(){if(!this.isValid())return null;var e=this.clone().utc();return e.year()<0||e.year()>9999?A(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):g(Date.prototype.toISOString)?this.toDate().toISOString():A(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Zn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",a="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z");var t="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s=a+'[")]';return this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+s)},Zn.toJSON=function(){return this.isValid()?this.toISOString():null},Zn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Zn.unix=function(){return Math.floor(this.valueOf()/1e3)},Zn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Zn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Zn.year=_n,Zn.isLeapYear=function(){return V(this.year())},Zn.weekYear=function(e){return oa.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Zn.isoWeekYear=function(e){return oa.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Zn.quarter=Zn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Zn.month=ee,Zn.daysInMonth=function(){return q(this.year(),this.month())},Zn.week=Zn.weeks=function(e){var a=this.localeData().week(this);return null==e?a:this.add(7*(e-a),"d")},Zn.isoWeek=Zn.isoWeeks=function(e){var a=de(this,1,4).week;return null==e?a:this.add(7*(e-a),"d")},Zn.weeksInYear=function(){var e=this.localeData()._week;return _e(this.year(),e.dow,e.doy)},Zn.isoWeeksInYear=function(){return _e(this.year(),1,4)},Zn.date=Gn,Zn.day=Zn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var a=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ie(e,this.localeData()),this.add(e-a,"d")):a},Zn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var a=(this.day()+7-this.localeData()._week.dow)%7;return null==e?a:this.add(e-a,"d")},Zn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var a=oe(e,this.localeData());return this.day(this.day()%7?a:a-7)}return this.day()||7},Zn.dayOfYear=function(e){var a=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?a:this.add(e-a,"d")},Zn.hour=Zn.hours=Tn,Zn.minute=Zn.minutes=Un,Zn.second=Zn.seconds=Vn,Zn.millisecond=Zn.milliseconds=$n,Zn.utcOffset=function(a,t,n){var s,r=this._offset||0;if(!this.isValid())return null!=a?this:NaN;if(null!=a){if("string"==typeof a){if(null===(a=Ze(Vt,a)))return this}else Math.abs(a)<16&&!n&&(a*=60);return!this._isUTC&&t&&(s=qe(this)),this._offset=a,this._isUTC=!0,null!=s&&this.add(s,"m"),r!==a&&(!t||this._changeInProgress?sa(this,Xe(a-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:qe(this)},Zn.utc=function(e){return this.utcOffset(0,e)},Zn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qe(this),"m")),this},Zn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ze(Ut,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Zn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ce(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Zn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Zn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Zn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Zn.isUtc=Qe,Zn.isUTC=Qe,Zn.zoneAbbr=function(){return this._isUTC?"UTC":""},Zn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Zn.dates=D("dates accessor is deprecated. Use date instead.",Gn),Zn.months=D("months accessor is deprecated. Use month instead",ee),Zn.years=D("years accessor is deprecated. Use year instead",_n),Zn.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,a){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,a),this):-this.utcOffset()}),Zn.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e={};if(L(e,this),(e=Je(e))._a){var a=e._isUTC?m(e._a):Ce(e._a);this._isDSTShifted=this.isValid()&&p(e._a,a.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Bn=v.prototype;Bn.calendar=function(e,a,t){var n=this._calendar[e]||this._calendar.sameElse;return g(n)?n.call(a,t):n},Bn.longDateFormat=function(e){var a=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},Bn.invalidDate=function(){return this._invalidDate},Bn.ordinal=function(e){return this._ordinal.replace("%d",e)},Bn.preparse=ua,Bn.postformat=ua,Bn.relativeTime=function(e,a,t,n){var s=this._relativeTime[t];return g(s)?s(e,a,t,n):s.replace(/%d/i,e)},Bn.pastFuture=function(e,a){var t=this._relativeTime[e>0?"future":"past"];return g(t)?t(a):t.replace(/%s/i,a)},Bn.set=function(e){var a,t;for(t in e)g(a=e[t])?this[t]=a:this["_"+t]=a;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Bn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||on).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},Bn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[on.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Bn.monthsParse=function(e,a,t){var n,s,r;if(this._monthsParseExact)return Q.call(this,e,a,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=m([2e3,n]),t&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),t||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),t&&"MMMM"===a&&this._longMonthsParse[n].test(e))return n;if(t&&"MMM"===a&&this._shortMonthsParse[n].test(e))return n;if(!t&&this._monthsParse[n].test(e))return n}},Bn.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=Mn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Bn.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=ln),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Bn.week=function(e){return de(e,this._week.dow,this._week.doy).week},Bn.firstDayOfYear=function(){return this._week.doy},Bn.firstDayOfWeek=function(){return this._week.dow},Bn.weekdays=function(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone},Bn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},Bn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},Bn.weekdaysParse=function(e,a,t){var n,s,r;if(this._weekdaysParseExact)return me.call(this,e,a,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=m([2e3,1]).day(n),t&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".",".?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),t&&"dddd"===a&&this._fullWeekdaysParse[n].test(e))return n;if(t&&"ddd"===a&&this._shortWeekdaysParse[n].test(e))return n;if(t&&"dd"===a&&this._minWeekdaysParse[n].test(e))return n;if(!t&&this._weekdaysParse[n].test(e))return n}},Bn.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=yn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Bn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Bn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=pn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Bn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Bn.meridiem=function(e,a,t){return e>11?t?"pm":"PM":t?"am":"AM"},ye("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10;return e+(1===f(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}}),e.lang=D("moment.lang is deprecated. Use moment.locale instead.",ye),e.langData=D("moment.langData is deprecated. Use moment.localeData instead.",pe);var qn=Math.abs,Qn=fa("ms"),Xn=fa("s"),es=fa("m"),as=fa("h"),ts=fa("d"),ns=fa("w"),ss=fa("M"),rs=fa("y"),ds=pa("milliseconds"),_s=pa("seconds"),is=pa("minutes"),os=pa("hours"),ms=pa("days"),us=pa("months"),ls=pa("years"),Ms=Math.round,hs={ss:44,s:45,m:45,h:22,d:26,M:11},Ls=Math.abs,cs=Ue.prototype;cs.isValid=function(){return this._isValid},cs.abs=function(){var e=this._data;return this._milliseconds=qn(this._milliseconds),this._days=qn(this._days),this._months=qn(this._months),e.milliseconds=qn(e.milliseconds),e.seconds=qn(e.seconds),e.minutes=qn(e.minutes),e.hours=qn(e.hours),e.months=qn(e.months),e.years=qn(e.years),this},cs.add=function(e,a){return La(this,e,a,1)},cs.subtract=function(e,a){return La(this,e,a,-1)},cs.as=function(e){if(!this.isValid())return NaN;var a,t,n=this._milliseconds;if("month"===(e=H(e))||"year"===e)return a=this._days+n/864e5,t=this._months+Ya(a),"month"===e?t:t/12;switch(a=this._days+Math.round(ya(this._months)),e){case"week":return a/7+n/6048e5;case"day":return a+n/864e5;case"hour":return 24*a+n/36e5;case"minute":return 1440*a+n/6e4;case"second":return 86400*a+n/1e3;case"millisecond":return Math.floor(864e5*a)+n;default:throw new Error("Unknown unit "+e)}},cs.asMilliseconds=Qn,cs.asSeconds=Xn,cs.asMinutes=es,cs.asHours=as,cs.asDays=ts,cs.asWeeks=ns,cs.asMonths=ss,cs.asYears=rs,cs.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},cs._bubble=function(){var e,a,t,n,s,r=this._milliseconds,d=this._days,_=this._months,i=this._data;return r>=0&&d>=0&&_>=0||r<=0&&d<=0&&_<=0||(r+=864e5*ca(ya(_)+d),d=0,_=0),i.milliseconds=r%1e3,e=y(r/1e3),i.seconds=e%60,a=y(e/60),i.minutes=a%60,t=y(a/60),i.hours=t%24,d+=y(t/24),s=y(Ya(d)),_+=s,d-=ca(ya(s)),n=y(_/12),_%=12,i.days=d,i.months=_,i.years=n,this},cs.clone=function(){return Xe(this)},cs.get=function(e){return e=H(e),this.isValid()?this[e+"s"]():NaN},cs.milliseconds=ds,cs.seconds=_s,cs.minutes=is,cs.hours=os,cs.days=ms,cs.weeks=function(){return y(this.days()/7)},cs.months=us,cs.years=ls,cs.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var a=this.localeData(),t=Da(this,!e,a);return e&&(t=a.pastFuture(+this,t)),a.postformat(t)},cs.toISOString=ga,cs.toString=ga,cs.toJSON=ga,cs.locale=da,cs.localeData=_a,cs.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ga),cs.lang=In,O("X",0,0,"unix"),O("x",0,0,"valueOf"),z("x",Gt),z("X",Kt),C("X",function(e,a,t){t._d=new Date(1e3*parseFloat(e,10))}),C("x",function(e,a,t){t._d=new Date(f(e))}),e.version="2.19.1",function(e){ct=e}(Ce),e.fn=Zn,e.min=function(){return Ie("isBefore",[].slice.call(arguments,0))},e.max=function(){return Ie("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=m,e.unix=function(e){return Ce(1e3*e)},e.months=function(e,a){return Ma(e,a,"months")},e.isDate=d,e.locale=ye,e.invalid=h,e.duration=Xe,e.isMoment=Y,e.weekdays=function(e,a,t){return ha(e,a,t,"weekdays")},e.parseZone=function(){return Ce.apply(null,arguments).parseZone()},e.localeData=pe,e.isDuration=Ve,e.monthsShort=function(e,a){return Ma(e,a,"monthsShort")},e.weekdaysMin=function(e,a,t){return ha(e,a,t,"weekdaysMin")},e.defineLocale=fe,e.updateLocale=function(e,a){if(null!=a){var t,n=gn;null!=wn[e]&&(n=wn[e]._config),(t=new v(a=w(n,a))).parentLocale=wn[e],wn[e]=t,ye(e)}else null!=wn[e]&&(null!=wn[e].parentLocale?wn[e]=wn[e].parentLocale:null!=wn[e]&&delete wn[e]);return wn[e]},e.locales=function(){return kt(wn)},e.weekdaysShort=function(e,a,t){return ha(e,a,t,"weekdaysShort")},e.normalizeUnits=H,e.relativeTimeRounding=function(e){return void 0===e?Ms:"function"==typeof e&&(Ms=e,!0)},e.relativeTimeThreshold=function(e,a){return void 0!==hs[e]&&(void 0===a?hs[e]:(hs[e]=a,"s"===e&&(hs.ss=a-1),!0))},e.calendarFormat=function(e,a){var t=e.diff(a,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},e.prototype=Zn,e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,a,t){return e<12?t?"vm":"VM":t?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}}),e.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}}),e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}});var Ys={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},ys=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},fs={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},ps=function(e){return function(a,t,n,s){var r=ys(a),d=fs[e][ys(a)];return 2===r&&(d=d[t?0:1]),d.replace(/%d/i,a)}},ks=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:ks,monthsShort:ks,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:ps("s"),m:ps("m"),mm:ps("m"),h:ps("h"),hh:ps("h"),d:ps("d"),dd:ps("d"),M:ps("M"),MM:ps("M"),y:ps("y"),yy:ps("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Ys[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}}),e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}});var Ds={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},Ts={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return Ts[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Ds[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}}),e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}});var gs={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},ws={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},vs=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},Ss={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},Hs=function(e){return function(a,t,n,s){var r=vs(a),d=Ss[e][vs(a)];return 2===r&&(d=d[t?0:1]),d.replace(/%d/i,a)}},bs=["\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u064a\u0646\u0627\u064a\u0631","\u0634\u0628\u0627\u0637 \u0641\u0628\u0631\u0627\u064a\u0631","\u0622\u0630\u0627\u0631 \u0645\u0627\u0631\u0633","\u0646\u064a\u0633\u0627\u0646 \u0623\u0628\u0631\u064a\u0644","\u0623\u064a\u0627\u0631 \u0645\u0627\u064a\u0648","\u062d\u0632\u064a\u0631\u0627\u0646 \u064a\u0648\u0646\u064a\u0648","\u062a\u0645\u0648\u0632 \u064a\u0648\u0644\u064a\u0648","\u0622\u0628 \u0623\u063a\u0633\u0637\u0633","\u0623\u064a\u0644\u0648\u0644 \u0633\u0628\u062a\u0645\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644 \u0623\u0643\u062a\u0648\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u0646\u0648\u0641\u0645\u0628\u0631","\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644 \u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:bs,monthsShort:bs,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,a,t){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:Hs("s"),m:Hs("m"),mm:Hs("m"),h:Hs("h"),hh:Hs("h"),d:Hs("d"),dd:Hs("d"),M:Hs("M"),MM:Hs("M"),y:Hs("y"),yy:Hs("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return ws[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return gs[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}});var js={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniyy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,a,t){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var a=e%10,t=e%100-a,n=e>=100?100:null;return e+(js[a]||js[t]||js[n])},week:{dow:1,doy:7}}),e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:va,mm:va,h:va,hh:va,d:"\u0434\u0437\u0435\u043d\u044c",dd:va,M:"\u043c\u0435\u0441\u044f\u0446",MM:va,y:"\u0433\u043e\u0434",yy:va},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,a,t){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,a){switch(a){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}}),e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var a=e%10,t=e%100;return 0===e?e+"-\u0435\u0432":0===t?e+"-\u0435\u043d":t>10&&t<20?e+"-\u0442\u0438":1===a?e+"-\u0432\u0438":2===a?e+"-\u0440\u0438":7===a||8===a?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}}),e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});var xs={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},Ps={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return Ps[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return xs[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===a&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===a&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}});var Os={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},Ws={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return Ws[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return Os[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===a&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===a&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===a?e+12:e},meridiem:function(e,a,t){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}}),e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",m:"ur vunutenn",mm:Sa,h:"un eur",hh:"%d eur",d:"un devezh",dd:Sa,M:"ur miz",MM:Sa,y:"ur bloaz",yy:function(e){switch(Ha(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}}),e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:xa,mm:xa,h:xa,hh:xa,d:"dan",dd:xa,M:"mjesec",MM:xa,y:"godinu",yy:xa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,a){var t=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==a&&"W"!==a||(t="a"),e+t},week:{dow:1,doy:4}});var Es="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),As="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");e.defineLocale("cs",{months:Es,monthsShort:As,monthsParse:function(e,a){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$|^"+a[t]+"$","i");return n}(Es,As),shortMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(As),longMonthsParse:function(e){var a,t=[];for(a=0;a<12;a++)t[a]=new RegExp("^"+e[a]+"$","i");return t}(Es),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:Oa,m:Oa,mm:Oa,h:Oa,hh:Oa,d:Oa,dd:Oa,M:Oa,MM:Oa,y:Oa,yy:Oa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}}),e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var a=e,t="",n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return a>20?t=40===a||50===a||60===a||80===a||100===a?"fed":"ain":a>0&&(t=n[a]),e+t},week:{dow:1,doy:4}}),e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Wa,mm:"%d Minuten",h:Wa,hh:"%d Stunden",d:Wa,dd:Wa,M:Wa,MM:Wa,y:Wa,yy:Wa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Ea,mm:"%d Minuten",h:Ea,hh:"%d Stunden",d:Ea,dd:Ea,M:Ea,MM:Ea,y:Ea,yy:Ea},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Aa,mm:"%d Minuten",h:Aa,hh:"%d Stunden",d:Aa,dd:Aa,M:Aa,MM:Aa,y:Aa,yy:Aa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});var Fs=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],zs=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:Fs,monthsShort:Fs,weekdays:zs,weekdaysShort:zs,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,a,t){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}}),e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,a){return e?"string"==typeof a&&/D/.test(a.substring(0,a.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,a,t){return e>11?t?"\u03bc\u03bc":"\u039c\u039c":t?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,a){var t=this._calendarEl[e],n=a&&a.hours();return g(t)&&(t=t.apply(a)),t.replace("{}",n%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}}),e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}}),e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var a=e%10;return e+(1==~~(e%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}}),e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,a,t){return e>11?t?"p.t.m.":"P.T.M.":t?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});var Js="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Ns="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Rs=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],Cs=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?Ns[e.month()]:Js[e.month()]:Js},monthsRegex:Cs,monthsShortRegex:Cs,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Rs,longMonthsParse:Rs,shortMonthsParse:Rs,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}});var Is="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Gs="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?Gs[e.month()]:Is[e.month()]:Is},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY H:mm",LLLL:"dddd, MMMM [de] D [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}});var Us="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Vs="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ks=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],$s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?Vs[e.month()]:Us[e.month()]:Us},monthsRegex:$s,monthsShortRegex:$s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Ks,longMonthsParse:Ks,shortMonthsParse:Ks,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:Fa,m:Fa,mm:Fa,h:Fa,hh:Fa,d:Fa,dd:"%d p\xe4eva",M:Fa,MM:Fa,y:Fa,yy:Fa},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});var Zs={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},Bs={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,a,t){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return Bs[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return Zs[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}});var qs="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),Qs=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",qs[7],qs[8],qs[9]];e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:za,m:za,mm:za,h:za,hh:za,d:za,dd:za,M:za,MM:za,y:za,yy:za},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}}),e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}}),e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,a){switch(a){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});var Xs="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),er="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?er[e.month()]:Xs[e.month()]:Xs},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});var ar=["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],tr=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],nr=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],sr=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],rr=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:ar,monthsShort:tr,monthsParseExact:!0,weekdays:nr,weekdaysShort:sr,weekdaysMin:rr,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}}),e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}}),e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:Na,m:Na,mm:Na,h:Na,hh:Na,d:Na,dd:Na,M:Na,MM:Na,y:Na,yy:Na},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,a){switch(a){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,a){return 12===e&&(e=0),"rati"===a?e<4?e:e+12:"sokalli"===a?e:"donparam"===a?e>12?e:e+12:"sanje"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}});var dr={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},_r={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return _r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return dr[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,a){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===a?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===a?e:"\u0aac\u0aaa\u0acb\u0ab0"===a?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===a?e+12:void 0},meridiem:function(e,a,t){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}}),e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u0