LearnPress – WordPress LMS Plugin - Version 4.1.4

Version Description

(2021-11-08) = ~ Fixed security: when user share profile, another user can see settings as change password, change info. ~ Modify: not scroll to title courses when load first. ~ Fixed: get incorrect key setting "archive course layout". ~ Fixed: get value "From name", "Footer text" setting Email. ~ Removed: option set "From address" email, removed hook "wp_mail_from" make some site can't send email when install LP. ~ Comment some functions deprecated: "learn_press_restrict_view_items", "_learn_press_set_user_items". ~ Added: hook "learnpress/course/template/price/can-show". ~ Added: filter "beforeshow_lp_widget_content". ~ Show icons on the child Settings tab - Profile page. ~ Fixed: case answer's question Fill in blank

Download this release

Release Info

Developer ThimPress
Plugin Icon 128x128 LearnPress – WordPress LMS Plugin
Version 4.1.4
Comparing to
See all releases

Code changes from version 4.1.3.2 to 4.1.4

assets/css/admin/admin.css CHANGED
@@ -1,4 +1,3 @@
1
- @charset "UTF-8";
2
  /**
3
  * Mixin
4
  */
@@ -14,7 +13,6 @@
14
  transform: rotate(360deg);
15
  }
16
  }
17
-
18
  @keyframes rotating4 {
19
  from {
20
  -ms-transform: rotate(0deg);
@@ -31,7 +29,6 @@
31
  transform: rotate(360deg);
32
  }
33
  }
34
-
35
  @-webkit-keyframes animation4 {
36
  from {
37
  left: -40%;
@@ -42,7 +39,6 @@
42
  width: 10%;
43
  }
44
  }
45
-
46
  @keyframes animation4 {
47
  from {
48
  left: -40%;
@@ -53,7 +49,6 @@
53
  width: 10%;
54
  }
55
  }
56
-
57
  .learn-press-message {
58
  position: relative;
59
  margin: 0 0 20px 0;
@@ -63,15 +58,12 @@
63
  border-bottom-left-radius: 5px;
64
  background: #f5f5f5;
65
  }
66
-
67
  .learn-press-message.icon {
68
  padding-left: 45px;
69
  }
70
-
71
  .learn-press-message.icon::before {
72
  background: #00adff;
73
  }
74
-
75
  .learn-press-message.icon::after {
76
  position: absolute;
77
  top: 50%;
@@ -90,20 +82,17 @@
90
  vertical-align: baseline;
91
  content: "\f129";
92
  }
93
-
94
  .learn-press-message::before, .learn-press-message::after {
95
  position: absolute;
96
  top: 0;
97
  content: "";
98
  }
99
-
100
  .learn-press-message::before {
101
  right: 20px;
102
  width: 20px;
103
  height: 30px;
104
  background: #00adff;
105
  }
106
-
107
  .learn-press-message::after {
108
  top: 10px;
109
  right: 20px;
@@ -112,53 +101,41 @@
112
  border: 10px solid transparent;
113
  border-bottom-color: #f5f5f5;
114
  }
115
-
116
  .learn-press-message.error {
117
  border-top: 5px solid #d85554;
118
  }
119
-
120
  .learn-press-message.error::before {
121
  background: #d85554;
122
  }
123
-
124
  .learn-press-message.error.icon::before {
125
  background: #d85554;
126
  }
127
-
128
  .learn-press-message.error.icon::after {
129
  background: #d85554;
130
  content: "\f00d";
131
  }
132
-
133
  .learn-press-message.warning {
134
  border-top: 5px solid #ffc107;
135
  }
136
-
137
  .learn-press-message.warning::before {
138
  background: #ffc107;
139
  }
140
-
141
  .learn-press-message.warning.icon::before {
142
  background: #ffc107;
143
  }
144
-
145
  .learn-press-message.warning.icon::after {
146
  background: #ffc107;
147
  content: "\f00d";
148
  }
149
-
150
  .learn-press-message.success {
151
  border-top: 5px solid #059601;
152
  }
153
-
154
  .learn-press-message.success::before {
155
  background: #059601;
156
  }
157
-
158
  .learn-press-message.success.icon::before {
159
  background: #059601;
160
  }
161
-
162
  .learn-press-message.success.icon::after {
163
  background: #059601;
164
  content: "\f129";
@@ -172,7 +149,6 @@
172
  z-index: 10;
173
  height: 50px;
174
  }
175
-
176
  .lp-toolbar-buttons .lp-toolbar-btn {
177
  display: inline-block;
178
  position: relative;
@@ -184,14 +160,12 @@
184
  vertical-align: middle;
185
  cursor: pointer;
186
  }
187
-
188
  .lp-toolbar-buttons .lp-toolbar-btn a,
189
  .lp-toolbar-buttons .lp-toolbar-btn span {
190
  outline: none;
191
  color: #666;
192
  box-shadow: none;
193
  }
194
-
195
  .lp-toolbar-buttons .lp-toolbar-btn .lp-btn-icon {
196
  position: absolute;
197
  top: 50%;
@@ -203,49 +177,39 @@
203
  line-height: 30px;
204
  text-align: center;
205
  }
206
-
207
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move {
208
  cursor: ns-resize;
209
  }
210
-
211
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move a,
212
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move span {
213
  cursor: ns-resize;
214
  }
215
-
216
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move:hover a,
217
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move span {
218
  color: var(--lp-primary-color);
219
  }
220
-
221
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-remove {
222
  cursor: pointer;
223
  }
224
-
225
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-remove:hover a,
226
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-remove:hover span {
227
  color: #e74c3c;
228
  }
229
-
230
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle .dashicons-arrow-down,
231
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle .dashicons-arrow-down-alt2 {
232
  display: none;
233
  }
234
-
235
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-up,
236
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-up-alt2 {
237
  display: none;
238
  }
239
-
240
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-down,
241
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-down-alt2 {
242
  display: inline-block;
243
  }
244
-
245
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown {
246
  color: #000;
247
  }
248
-
249
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul {
250
  display: none;
251
  position: absolute;
@@ -255,12 +219,10 @@
255
  border: 1px solid #999;
256
  background: #fdfeff;
257
  }
258
-
259
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li {
260
  margin: 0;
261
  list-style: none;
262
  }
263
-
264
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li a {
265
  display: block;
266
  margin: 0;
@@ -271,36 +233,28 @@
271
  white-space: nowrap;
272
  text-decoration: none;
273
  }
274
-
275
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li a:hover {
276
  background: #eee;
277
  }
278
-
279
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li.active a {
280
  background: #eee;
281
  }
282
-
283
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled, .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled:hover {
284
  _background: #f5f5f5;
285
  }
286
-
287
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled .lp-btn-icon, .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled:hover .lp-btn-icon {
288
  color: #666;
289
  }
290
-
291
  .lp-toolbar-buttons .lp-toolbar-btn:hover {
292
  display: inline-block;
293
  background: none;
294
  }
295
-
296
  .lp-toolbar-buttons .lp-toolbar-btn:hover .lp-btn-icon {
297
  color: #444;
298
  }
299
-
300
  .lp-toolbar-buttons .lp-toolbar-btn:hover ul {
301
  display: block;
302
  }
303
-
304
  .lp-toolbar-buttons .lp-toolbar-btn:hover ul:hover {
305
  display: block;
306
  }
@@ -316,24 +270,20 @@
316
  margin: 20px 0 0 0;
317
  border: 1px solid #ddd;
318
  }
319
-
320
  .learn-press-box-data .lp-box-data-head {
321
  padding: 10px 15px;
322
  background: #fff;
323
  }
324
-
325
  .learn-press-box-data .lp-box-data-head h3 {
326
  margin: 0;
327
  padding: 15px;
328
  font-size: 16px;
329
  }
330
-
331
  .learn-press-box-data .lp-box-data-head .lp-box-data-actions {
332
  float: right;
333
  position: relative;
334
  z-index: 10;
335
  }
336
-
337
  .learn-press-box-data .lp-box-data-head .lp-box-data-actions .lp-btn {
338
  display: inline-block;
339
  width: 30px;
@@ -342,39 +292,32 @@
342
  text-align: center;
343
  vertical-align: middle;
344
  }
345
-
346
  .learn-press-box-data .lp-box-data-head .lp-box-data-actions::after {
347
  display: block;
348
  clear: both;
349
  content: "";
350
  }
351
-
352
  .learn-press-box-data .lp-box-data-head::after {
353
  display: block;
354
  clear: both;
355
  content: "";
356
  }
357
-
358
  .learn-press-box-data .lp-box-data-content {
359
  padding: 15px;
360
  border-top: 1px solid #ddd;
361
  background: #fff;
362
  }
363
-
364
  .learn-press-box-data .lp-box-data-foot {
365
  padding: 15px;
366
  }
367
-
368
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-up,
369
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-up-alt2 {
370
  display: none;
371
  }
372
-
373
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-down,
374
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-down-alt2 {
375
  display: inline-block;
376
  }
377
-
378
  .learn-press-box-data.closed .lp-box-data-content {
379
  display: none;
380
  }
@@ -383,23 +326,19 @@
383
  width: 100%;
384
  border-collapse: collapse;
385
  }
386
-
387
  .lp-list-options th,
388
  .lp-list-options td {
389
  padding: 10px 15px;
390
  border-top: 1px solid #ddd;
391
  background: #f5f5f5;
392
  }
393
-
394
  .lp-list-options thead th {
395
  text-align: left;
396
  }
397
-
398
  .lp-list-options tbody tr td {
399
  padding: 0 15px;
400
  background: #f4fcff;
401
  }
402
-
403
  .lp-list-options tbody tr td.lp-toolbar-buttons {
404
  _overflow: hidden;
405
  position: relative;
@@ -407,7 +346,6 @@
407
  height: 42px;
408
  white-space: nowrap;
409
  }
410
-
411
  .lp-list-options tbody tr td.lp-toolbar-buttons .lp-toolbar-btn {
412
  visibility: hidden;
413
  position: relative;
@@ -415,62 +353,48 @@
415
  margin-top: -4px;
416
  margin-bottom: -4px;
417
  }
418
-
419
  .lp-list-options tbody tr:nth-child(odd) td {
420
  background: #fff;
421
  }
422
-
423
  .lp-list-options tbody tr:hover td.lp-toolbar-buttons .lp-toolbar-btn {
424
  visibility: visible;
425
  }
426
-
427
  .lp-list-options tbody td {
428
  text-align: left;
429
  }
430
-
431
- .lp-list-options tbody td input[type="text"] {
432
  width: 100%;
433
  }
434
-
435
- .lp-list-options tbody td input[type="text"][value=""] {
436
  font-style: italic;
437
  }
438
-
439
  .lp-list-options tbody td.column-content-answer_correct {
440
  width: 125px;
441
  }
442
-
443
  .lp-list-options tbody td.lp-remove-list-option, .lp-list-options tbody td.lp-move-list-option {
444
  width: 20px;
445
  padding: 0;
446
  text-align: center;
447
  }
448
-
449
  .lp-list-options tbody td.lp-remove-list-option a, .lp-list-options tbody td.lp-move-list-option a {
450
  visibility: hidden;
451
  color: #999;
452
  }
453
-
454
  .lp-list-options tbody td.lp-remove-list-option:hover, .lp-list-options tbody td.lp-move-list-option:hover {
455
  background: #dbf5ff;
456
  }
457
-
458
  .lp-list-options tbody td.lp-move-list-option {
459
  cursor: ns-resize;
460
  }
461
-
462
  .lp-list-options tbody td.lp-move-list-option a {
463
  cursor: ns-resize;
464
  }
465
-
466
  .lp-list-options tbody td.lp-move-list-option:hover a {
467
  color: var(--lp-primary-color);
468
  }
469
-
470
  .lp-list-options tbody td.lp-remove-list-option {
471
  cursor: pointer;
472
  }
473
-
474
  .lp-list-options tbody td.lp-remove-list-option:hover a {
475
  color: #e74c3c;
476
  }
@@ -486,7 +410,6 @@
486
  position: relative;
487
  z-index: 999999;
488
  }
489
-
490
  .lp-ajax-search .lp-search-term {
491
  min-width: 300px;
492
  height: 28px;
@@ -496,26 +419,22 @@
496
  box-shadow: none;
497
  outline: none;
498
  }
499
-
500
  .lp-ajax-search .lp-search-term:focus {
501
  -webkit-box-shadow: none;
502
  -moz-box-shadow: none;
503
  box-shadow: none;
504
  }
505
-
506
  .lp-ajax-search .lp-search-term:focus {
507
  -webkit-box-shadow: none;
508
  -moz-box-shadow: none;
509
  box-shadow: none;
510
  outline: none;
511
  }
512
-
513
  .lp-ajax-search .lp-search-term:focus:focus {
514
  -webkit-box-shadow: none;
515
  -moz-box-shadow: none;
516
  box-shadow: none;
517
  }
518
-
519
  .lp-ajax-search .lp-search-results {
520
  position: absolute;
521
  top: 100%;
@@ -527,52 +446,42 @@
527
  -moz-box-sizing: border-box;
528
  box-sizing: border-box;
529
  }
530
-
531
  .lp-ajax-search .lp-search-results .lp-search-items {
532
  overflow: auto;
533
  max-height: 300px;
534
  margin: 0;
535
  }
536
-
537
  .lp-ajax-search .lp-search-results .lp-search-items li {
538
  margin: 0;
539
  }
540
-
541
  .lp-ajax-search .lp-search-results .lp-search-items li label {
542
  display: block;
543
  padding: 8px 10px;
544
  border-bottom: 1px solid #f3f3f3;
545
  }
546
-
547
  .lp-ajax-search .lp-search-results .lp-search-items li label input {
548
  float: left;
549
  margin-top: 1px;
550
  margin-right: -100%;
551
  }
552
-
553
  .lp-ajax-search .lp-search-results .lp-search-items li label span {
554
  display: inline-block;
555
  margin-left: 25px;
556
  }
557
-
558
  .lp-ajax-search .lp-search-results .lp-search-items li label span a.lp-add-item {
559
  visibility: hidden;
560
  margin-left: 10px;
561
  }
562
-
563
  .lp-ajax-search .lp-search-results .lp-search-items li.active {
564
  background: #dbf5ff;
565
  }
566
-
567
  .lp-ajax-search .lp-search-results .lp-search-items li:hover {
568
  color: #fff;
569
  background: #0085ba;
570
  }
571
-
572
  .lp-ajax-search .lp-search-results .lp-search-items li:hover a.lp-add-item {
573
  visibility: visible;
574
  }
575
-
576
  .lp-ajax-search .lp-search-results .lp-search-actions {
577
  margin: 0;
578
  padding: 10px;
@@ -603,7 +512,6 @@
603
  #course-editor.ajax-search #learn-press-ajax-search-overlay {
604
  display: block;
605
  }
606
-
607
  #course-editor.ajax-search .lp-ajax-search {
608
  z-index: 100000;
609
  }
@@ -615,7 +523,6 @@
615
  background: #fff;
616
  list-style: none;
617
  }
618
-
619
  .advanced-list li {
620
  display: inline-block;
621
  margin: 0 5px 5px -3px;
@@ -625,7 +532,6 @@
625
  -moz-border-radius: 2px;
626
  border-radius: 2px;
627
  }
628
-
629
  .advanced-list li .remove-item {
630
  display: inline-block;
631
  margin-right: 5px;
@@ -634,25 +540,20 @@
634
  text-decoration: none;
635
  cursor: pointer;
636
  }
637
-
638
  .advanced-list li .remove-item:hover {
639
  color: #0085ba;
640
  }
641
-
642
  .advanced-list li .remove-item::before {
643
  font-family: dashicons;
644
  text-decoration: none;
645
  content: "\f335";
646
  }
647
-
648
  .advanced-list li span {
649
  display: inline-block;
650
  }
651
-
652
  .advanced-list.locked .remove-item {
653
  display: none;
654
  }
655
-
656
  .advanced-list::after {
657
  display: block;
658
  clear: both;
@@ -669,7 +570,6 @@
669
  font-weight: bold;
670
  line-height: 20px;
671
  }
672
-
673
  .lp-label-counter.disabled {
674
  background: #ddd;
675
  }
@@ -679,20 +579,17 @@
679
  -moz-transform: rotate(360deg);
680
  }
681
  }
682
-
683
  @-webkit-keyframes spin {
684
  100% {
685
  -webkit-transform: rotate(360deg);
686
  }
687
  }
688
-
689
  @keyframes spin {
690
  100% {
691
  -webkit-transform: rotate(360deg);
692
  transform: rotate(360deg);
693
  }
694
  }
695
-
696
  .rwmb-duration {
697
  border: 1px solid #ddd;
698
  }
@@ -727,20 +624,17 @@ ul .clearfix {
727
  -moz-transform: rotate(360deg);
728
  }
729
  }
730
-
731
  @-webkit-keyframes lp-spinner {
732
  100% {
733
  -webkit-transform: rotate(360deg);
734
  }
735
  }
736
-
737
  @keyframes lp-spinner {
738
  100% {
739
  -webkit-transform: rotate(360deg);
740
  transform: rotate(360deg);
741
  }
742
  }
743
-
744
  .lp-modal-choose-items-open {
745
  overflow: hidden;
746
  }
@@ -751,7 +645,6 @@ ul .clearfix {
751
  color: #777;
752
  background-color: red;
753
  }
754
-
755
  .lp-modal-search li.selected {
756
  display: none;
757
  }
@@ -824,12 +717,10 @@ ul .clearfix {
824
  outline: none;
825
  box-shadow: none;
826
  }
827
-
828
  .learnpress .lp-install-sample-data-options {
829
  padding: 0 20px 10px 20px;
830
  border: 1px solid #ddd;
831
  }
832
-
833
  .learnpress .lp-install-sample-data-options legend {
834
  font-size: 16px;
835
  }
@@ -845,33 +736,28 @@ ul .clearfix {
845
  padding: 0;
846
  list-style: none;
847
  }
848
-
849
  .learn-press-email-variables li {
850
  display: inline-block;
851
  cursor: pointer;
852
  }
853
 
854
  /* Metabox dropdown pages field */
855
- .learn-press-dropdown-pages input[type="text"] {
856
  min-width: 300px;
857
  height: 29px;
858
  margin: 0;
859
  vertical-align: top;
860
  }
861
-
862
  .learn-press-dropdown-pages .select2-container {
863
  min-width: 220px !important;
864
  }
865
-
866
  .learn-press-dropdown-pages .select2-container .select2-selection--single {
867
  height: 30px;
868
  border-color: #7e8993;
869
  }
870
-
871
  .learn-press-dropdown-pages .select2-container .select2-selection__rendered {
872
  line-height: 28px !important;
873
  }
874
-
875
  .learn-press-dropdown-pages .select2-container .select2-selection__arrow {
876
  right: 1px;
877
  width: 23px;
@@ -879,16 +765,13 @@ ul .clearfix {
879
  background: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
880
  background-size: 16px 16px;
881
  }
882
-
883
  .learn-press-dropdown-pages .select2-container .select2-selection__arrow b {
884
  display: none;
885
  }
886
-
887
  .learn-press-dropdown-pages .quick-add-page-actions a {
888
  font-size: 13px;
889
  text-decoration: none;
890
  }
891
-
892
  .learn-press-dropdown-pages .quick-add-page-inline {
893
  margin-top: 0;
894
  }
@@ -897,11 +780,9 @@ ul .clearfix {
897
  height: 30px;
898
  border-color: #7e8993;
899
  }
900
-
901
  .lp-select-2 + .select2-container .select2-selection--single .select2-selection__rendered {
902
  line-height: 28px !important;
903
  }
904
-
905
  .lp-select-2 + .select2-container .select2-selection--single .select2-selection__arrow {
906
  right: 1px;
907
  width: 23px;
@@ -909,7 +790,6 @@ ul .clearfix {
909
  background: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
910
  background-size: 16px 16px;
911
  }
912
-
913
  .lp-select-2 + .select2-container .select2-selection--single .select2-selection__arrow b {
914
  display: none;
915
  }
@@ -922,12 +802,10 @@ ul .clearfix {
922
  font-size: 17px;
923
  vertical-align: middle;
924
  }
925
-
926
  .learn-press-tooltip.icon::after {
927
  font-family: Dashicons;
928
  content: "\f223";
929
  }
930
-
931
  .learn-press-tooltip:hover {
932
  opacity: 1;
933
  color: #0073aa;
@@ -937,7 +815,6 @@ ul .clearfix {
937
  .rwmb-payment-order-wrapper .rwmb-label {
938
  margin-bottom: 20px !important;
939
  }
940
-
941
  .rwmb-payment-order-wrapper .rwmb-input {
942
  margin-left: 0 !important;
943
  }
@@ -949,14 +826,12 @@ ul .clearfix {
949
  border-collapse: collapse;
950
  font-size: 14px;
951
  }
952
-
953
  .learn-press-payments th,
954
  .learn-press-payments td,
955
  .learn-press-emails th,
956
  .learn-press-emails td {
957
  padding: 10px;
958
  }
959
-
960
  .learn-press-payments .order,
961
  .learn-press-emails .order {
962
  width: 30px;
@@ -965,33 +840,28 @@ ul .clearfix {
965
  text-align: center;
966
  cursor: not-allowed;
967
  }
968
-
969
  .learn-press-payments .name,
970
  .learn-press-emails .name {
971
  min-width: 250px;
972
  font-weight: normal;
973
  text-transform: capitalize;
974
  }
975
-
976
  .learn-press-payments .name a,
977
  .learn-press-emails .name a {
978
  text-decoration: none;
979
  }
980
-
981
  .learn-press-payments .status,
982
  .learn-press-emails .status {
983
  width: 100px;
984
  text-align: center;
985
  cursor: pointer;
986
  }
987
-
988
  .learn-press-payments .status .dashicons,
989
  .learn-press-emails .status .dashicons {
990
  border-radius: 50%;
991
  color: #fff;
992
  background: #ddd;
993
  }
994
-
995
  .learn-press-payments .status a,
996
  .learn-press-emails .status a {
997
  display: block;
@@ -999,57 +869,47 @@ ul .clearfix {
999
  font-size: 12px;
1000
  text-decoration: none;
1001
  }
1002
-
1003
  .learn-press-payments .status.enabled .dashicons,
1004
  .learn-press-emails .status.enabled .dashicons {
1005
  background: #0085ba;
1006
  }
1007
-
1008
  .learn-press-payments thead th,
1009
  .learn-press-emails thead th {
1010
  border-bottom: 1px solid #ddd;
1011
  text-align: left;
1012
  }
1013
-
1014
  .learn-press-payments tbody tr:nth-child(even) td,
1015
  .learn-press-emails tbody tr:nth-child(even) td {
1016
  background: #fff;
1017
  }
1018
-
1019
  .learn-press-payments tbody tr:nth-child(odd) td,
1020
  .learn-press-emails tbody tr:nth-child(odd) td {
1021
  background: #f5f5f5;
1022
  }
1023
-
1024
  .learn-press-payments tbody td,
1025
  .learn-press-emails tbody td {
1026
  border-bottom: 1px solid #ddd;
1027
  }
1028
-
1029
  .learn-press-payments tbody .ui-sortable-helper,
1030
  .learn-press-emails tbody .ui-sortable-helper {
1031
  margin-left: -1px;
1032
  border: 1px solid #ddd;
1033
  }
1034
-
1035
  .learn-press-payments tbody .ui-sortable-placeholder,
1036
  .learn-press-emails tbody .ui-sortable-placeholder {
1037
  visibility: visible !important;
1038
  border: 1px solid #ddd;
1039
  }
1040
-
1041
  .learn-press-payments tbody .ui-sortable-placeholder td,
1042
  .learn-press-emails tbody .ui-sortable-placeholder td {
1043
  height: 35px;
1044
  padding: 0;
1045
  background: #f7f7f7;
1046
  }
1047
-
1048
  .learn-press-payments ~ .email-actions,
1049
  .learn-press-emails ~ .email-actions {
1050
  text-align: left;
1051
  }
1052
-
1053
  .learn-press-payments.sortable .order:hover,
1054
  .learn-press-emails.sortable .order:hover {
1055
  color: #0073aa;
@@ -1060,20 +920,16 @@ ul .clearfix {
1060
  .lp-template-overrides {
1061
  margin-top: 20px;
1062
  }
1063
-
1064
  .lp-template-overrides thead th h4 {
1065
  margin: 0;
1066
  }
1067
-
1068
  .lp-template-overrides tbody th {
1069
  font-weight: bold;
1070
  }
1071
-
1072
  .lp-template-overrides tbody th p {
1073
  display: inline-block;
1074
  margin: 0 0 0 10px;
1075
  }
1076
-
1077
  .lp-template-overrides tbody th p a {
1078
  margin: 0;
1079
  padding: 2px 8px;
@@ -1083,12 +939,10 @@ ul .clearfix {
1083
  box-shadow: none;
1084
  font-weight: normal;
1085
  }
1086
-
1087
  .lp-template-overrides tbody th p a.current {
1088
  color: #fff;
1089
  background: #00aadc;
1090
  }
1091
-
1092
  .lp-template-overrides .template-row.outdated code::before, .lp-template-overrides .template-row.up-to-date code::before {
1093
  display: inline-block;
1094
  margin-top: -2px;
@@ -1096,30 +950,24 @@ ul .clearfix {
1096
  font-family: Dashicons;
1097
  vertical-align: middle;
1098
  }
1099
-
1100
  .lp-template-overrides .template-row.outdated .template-version {
1101
  color: #f00;
1102
  }
1103
-
1104
  .lp-template-overrides .template-row.outdated .template-file code::before {
1105
  color: #f00;
1106
  content: "\f534";
1107
  }
1108
-
1109
  .lp-template-overrides .template-row.up-to-date .template-version {
1110
  color: #1859ff;
1111
  }
1112
-
1113
  .lp-template-overrides .template-row.up-to-date .template-file code::before {
1114
  color: #0085ba;
1115
  content: "\f147";
1116
  }
1117
-
1118
  .lp-template-overrides .template-version,
1119
  .lp-template-overrides .core-version {
1120
  width: 100px;
1121
  }
1122
-
1123
  .lp-template-overrides #learn-press-no-templates td p {
1124
  color: #0073aa;
1125
  }
@@ -1129,75 +977,63 @@ ul .clearfix {
1129
  font-size: smaller;
1130
  }
1131
 
1132
- #field-_lp_course_result input[name="_lp_course_result"] ~ #passing-condition-quiz-result {
1133
  display: none;
1134
  padding: 10px;
1135
  background: #f5f5f5;
1136
  }
1137
-
1138
- #field-_lp_course_result input[name="_lp_course_result"] ~ #passing-condition-quiz-result input {
1139
  width: 80px;
1140
  margin: 0;
1141
  -webkit-box-sizing: border-box;
1142
  -moz-box-sizing: border-box;
1143
  box-sizing: border-box;
1144
  }
1145
-
1146
- #field-_lp_course_result input[name="_lp_course_result"] ~ #passing-condition-quiz-result p {
1147
  margin: 7px 0 0;
1148
  color: #777;
1149
  font-style: italic;
1150
  }
1151
-
1152
- #field-_lp_course_result input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
1153
  display: block;
1154
  }
1155
 
1156
  .widget .widget-content .rwmb-field:not(:last-of-type) {
1157
  margin: 0 0 10px;
1158
  }
1159
-
1160
  .widget .widget-content .rwmb-field:not(:last-of-type):first-child {
1161
  margin-top: 10px;
1162
  }
1163
-
1164
  .widget .widget-content .rwmb-field:last-child {
1165
  margin-bottom: 10px;
1166
  }
1167
-
1168
  .widget .widget-content .rwmb-field .rwmb-label,
1169
  .widget .widget-content .rwmb-field .rwmb-input {
1170
  width: 100%;
1171
  }
1172
-
1173
  .widget .widget-content .rwmb-field .rwmb-label {
1174
  margin-bottom: 2px;
1175
  }
1176
-
1177
  .widget .widget-content .rwmb-field .rwmb-label label {
1178
  font-weight: 400;
1179
  }
1180
-
1181
- .widget .widget-content .rwmb-field .rwmb-input input[type="text"] {
1182
  width: 100%;
1183
  }
1184
 
1185
  .course-attributes {
1186
  margin: 20px 0;
1187
  }
1188
-
1189
  .course-attributes .learn-press-attribute {
1190
  margin-top: -1px;
1191
  margin-bottom: 0;
1192
  border: 1px solid #ddd;
1193
  }
1194
-
1195
  .course-attributes .learn-press-attribute > h4 {
1196
  margin: 0;
1197
  padding: 10px 15px;
1198
  background: #f5f5f5;
1199
  }
1200
-
1201
  .course-attributes .learn-press-attribute .learn-press-attribute-data {
1202
  padding: 15px;
1203
  border-top: 1px solid #ddd;
@@ -1214,13 +1050,11 @@ ul .clearfix {
1214
  box-sizing: border-box;
1215
  z-index: 10;
1216
  }
1217
-
1218
  .learn-press-advertisement-slider .slider-items:after {
1219
  display: block;
1220
  clear: both;
1221
  content: "";
1222
  }
1223
-
1224
  .learn-press-advertisement-slider .slide-item {
1225
  position: relative;
1226
  float: left;
@@ -1235,48 +1069,39 @@ ul .clearfix {
1235
  -webkit-transition: opacity 0.5s linear;
1236
  transition: opacity 0.5s linear;
1237
  }
1238
-
1239
  .learn-press-advertisement-slider .slide-item .slide-thumbnail {
1240
  float: left;
1241
  width: 35%;
1242
  }
1243
-
1244
  .learn-press-advertisement-slider .slide-item .slide-thumbnail a {
1245
  display: block;
1246
  line-height: 1;
1247
  margin-bottom: 0;
1248
  }
1249
-
1250
  .learn-press-advertisement-slider .slide-item .slide-thumbnail img {
1251
  max-width: 100%;
1252
  }
1253
-
1254
  .learn-press-advertisement-slider .slide-item .slide-detail {
1255
  margin-left: 35%;
1256
  padding-left: 20px;
1257
  }
1258
-
1259
  .learn-press-advertisement-slider .slide-item .slide-detail h2 {
1260
  margin-top: 0;
1261
  }
1262
-
1263
  .learn-press-advertisement-slider .slide-item .slide-detail .description-short {
1264
  display: none;
1265
  }
1266
-
1267
  .learn-press-advertisement-slider .slide-item.slide-active {
1268
  opacity: 1;
1269
  }
1270
-
1271
  .learn-press-advertisement-slider .slider-controls {
1272
  position: absolute;
1273
  bottom: 20px;
1274
  right: 20px;
1275
  }
1276
-
1277
  .learn-press-advertisement-slider .slider-controls .next-item,
1278
  .learn-press-advertisement-slider .slider-controls .prev-item {
1279
- font-family: 'dashicons';
1280
  width: 40px;
1281
  height: 40px;
1282
  border: 1px solid #DDD;
@@ -1288,21 +1113,17 @@ ul .clearfix {
1288
  text-align: center;
1289
  color: #DDD;
1290
  }
1291
-
1292
  .learn-press-advertisement-slider .slider-controls .next-item:hover,
1293
  .learn-press-advertisement-slider .slider-controls .prev-item:hover {
1294
  border-color: #0085ba;
1295
  }
1296
-
1297
  .learn-press-advertisement-slider .slider-controls .next-item:hover:before,
1298
  .learn-press-advertisement-slider .slider-controls .prev-item:hover:before {
1299
  color: #0085ba;
1300
  }
1301
-
1302
  .learn-press-advertisement-slider .slider-controls .next-item:before {
1303
  content: "\f345";
1304
  }
1305
-
1306
  .learn-press-advertisement-slider .slider-controls .prev-item:before {
1307
  content: "\f341";
1308
  }
@@ -1321,7 +1142,6 @@ ul .clearfix {
1321
  display: none;
1322
  }
1323
  }
1324
-
1325
  @media only screen and (max-width: 960px) {
1326
  .learn-press-advertisement-slider {
1327
  margin-left: 56px;
@@ -1352,6 +1172,7 @@ ul .clearfix {
1352
  .learn-press-advertisement-slider .slide-item .slide-detail .slide-controls .button {
1353
  margin-bottom: 0;
1354
  }
 
1355
  .wp-responsive-open .learn-press-advertisement-slider {
1356
  margin-left: 56px;
1357
  }
@@ -1382,7 +1203,6 @@ ul .clearfix {
1382
  margin-bottom: 0;
1383
  }
1384
  }
1385
-
1386
  /*
1387
  .learn-press-advertisement-slider > .slide-item {
1388
  display: none;
@@ -1503,7 +1323,6 @@ ul .clearfix {
1503
  position: relative;
1504
  margin-top: 20px;
1505
  }
1506
-
1507
  .lp-admin-tabs .lp-admin-tab-navs {
1508
  display: none;
1509
  float: left;
@@ -1516,11 +1335,9 @@ ul .clearfix {
1516
  -moz-box-sizing: border-box;
1517
  box-sizing: border-box;
1518
  }
1519
-
1520
  .lp-admin-tabs .lp-admin-tab-navs .nav-section {
1521
  margin: 0;
1522
  }
1523
-
1524
  .lp-admin-tabs .lp-admin-tab-navs .nav-section > a,
1525
  .lp-admin-tabs .lp-admin-tab-navs .nav-section > span {
1526
  display: block;
@@ -1530,27 +1347,22 @@ ul .clearfix {
1530
  text-decoration: none;
1531
  text-transform: capitalize;
1532
  }
1533
-
1534
  .lp-admin-tabs .lp-admin-tab-navs .nav-section .learn-press-tooltip {
1535
  float: right;
1536
  margin-right: 0;
1537
  }
1538
-
1539
  .lp-admin-tabs .lp-admin-tab-navs .nav-section.nav-section-active, .lp-admin-tabs .lp-admin-tab-navs .nav-section:hover {
1540
  border-left: 2px solid #563d7c;
1541
  color: #563d7c;
1542
  }
1543
-
1544
  .lp-admin-tabs .lp-admin-tab-navs .nav-section.nav-section-active > a,
1545
  .lp-admin-tabs .lp-admin-tab-navs .nav-section.nav-section-active > span, .lp-admin-tabs .lp-admin-tab-navs .nav-section:hover > a,
1546
  .lp-admin-tabs .lp-admin-tab-navs .nav-section:hover > span {
1547
  padding-left: 18px;
1548
  }
1549
-
1550
  .lp-admin-tabs.has-sections .lp-admin-tab-navs {
1551
  display: block;
1552
  }
1553
-
1554
  .lp-admin-tabs.has-sections .lp-admin-tab-content {
1555
  float: left;
1556
  position: relative;
@@ -1561,7 +1373,6 @@ ul .clearfix {
1561
  -moz-box-sizing: border-box;
1562
  box-sizing: border-box;
1563
  }
1564
-
1565
  .lp-admin-tabs.has-sections::before {
1566
  position: absolute;
1567
  z-index: 10;
@@ -1571,7 +1382,6 @@ ul .clearfix {
1571
  border-left: 1px solid #ddd;
1572
  content: "";
1573
  }
1574
-
1575
  .lp-admin-tabs::after {
1576
  display: block;
1577
  clear: both;
@@ -1583,37 +1393,30 @@ ul .clearfix {
1583
  padding: 18px;
1584
  background: #fff;
1585
  }
1586
-
1587
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub {
1588
  float: none;
1589
  margin: 0 0 20px 0;
1590
  padding-bottom: 20px;
1591
  border-bottom: 1px solid #ddd;
1592
  }
1593
-
1594
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub .active {
1595
  font-weight: bold;
1596
  }
1597
-
1598
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub li {
1599
  text-transform: capitalize;
1600
  }
1601
-
1602
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub li::after {
1603
  display: inline-block;
1604
  padding: 0 10px;
1605
  content: "|";
1606
  }
1607
-
1608
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub li:last-child::after {
1609
  content: "";
1610
  }
1611
-
1612
  .wrap #learn-press-uninstall-sample-data {
1613
  float: right;
1614
  opacity: 0.5;
1615
  }
1616
-
1617
  .wrap #learn-press-uninstall-sample-data:hover {
1618
  opacity: 1;
1619
  }
@@ -1622,7 +1425,6 @@ ul .clearfix {
1622
  position: relative;
1623
  margin-bottom: 20px;
1624
  }
1625
-
1626
  .learnpress .rwmb-field .rwmb-label {
1627
  display: block;
1628
  float: left;
@@ -1631,52 +1433,42 @@ ul .clearfix {
1631
  font-size: 14px;
1632
  _text-transform: capitalize;
1633
  }
1634
-
1635
  .learnpress .rwmb-field .rwmb-label label > small {
1636
  display: block;
1637
  color: #999;
1638
  font-weight: normal;
1639
  font-style: italic;
1640
  }
1641
-
1642
  .learnpress .rwmb-field .rwmb-input {
1643
  float: none;
1644
  width: auto;
1645
  margin-left: 190px;
1646
  }
1647
-
1648
- .learnpress .rwmb-field .rwmb-input input[type="checkbox"],
1649
- .learnpress .rwmb-field .rwmb-input input[type="radio"] {
1650
  margin: 1px 5px 0 0;
1651
  }
1652
-
1653
- .learnpress .rwmb-field .rwmb-input label > input[type="checkbox"],
1654
- .learnpress .rwmb-field .rwmb-input label > input[type="radio"] {
1655
  margin-top: -1px;
1656
  }
1657
-
1658
  .learnpress .rwmb-field .description {
1659
  margin-top: 8px;
1660
  color: #888;
1661
  }
1662
-
1663
  .learnpress .rwmb-field .description code {
1664
  padding: 3px 3px 3px 0;
1665
  }
1666
-
1667
  .learnpress .rwmb-field .description.err {
1668
  color: #f00;
1669
  }
1670
-
1671
  .learnpress .rwmb-field .rwmb-input-list {
1672
  margin-left: 0;
1673
  }
1674
-
1675
  .learnpress .rwmb-field #course_evaluation_method_quiz_options {
1676
  position: relative;
1677
  margin-left: 25px;
1678
  }
1679
-
1680
  .learnpress .rwmb-field #course_evaluation_method_quiz_options::after {
1681
  position: absolute;
1682
  z-index: 10;
@@ -1688,11 +1480,9 @@ ul .clearfix {
1688
  background: #fff;
1689
  content: "";
1690
  }
1691
-
1692
- .learnpress .rwmb-field input[name="_lp_course_result"]:checked ~ #course_evaluation_method_quiz_options::after {
1693
  display: none;
1694
  }
1695
-
1696
  .learnpress .rwmb-field.rwmb-heading-wrapper h4 {
1697
  display: inline-block;
1698
  margin: 0 0 5px 0;
@@ -1701,7 +1491,6 @@ ul .clearfix {
1701
  font-size: 16px;
1702
  text-transform: initial;
1703
  }
1704
-
1705
  .learnpress .rwmb-field.disabled .field-overlay {
1706
  position: absolute;
1707
  z-index: 10;
@@ -1713,73 +1502,58 @@ ul .clearfix {
1713
  background: #fff;
1714
  content: "";
1715
  }
1716
-
1717
  .learnpress .rwmb-field.rwmb-text-wrapper .rwmb-text {
1718
  width: 50%;
1719
  min-width: 200px;
1720
  }
1721
-
1722
  .learnpress .rwmb-field.rwmb-duration-wrapper .rwmb-input select,
1723
  .learnpress .rwmb-field.rwmb-duration-wrapper .rwmb-input input {
1724
  vertical-align: top;
1725
  }
1726
-
1727
  .learnpress .lp-course-sale_start-field.hide,
1728
  .learnpress .lp-course-sale_end-field.hide {
1729
  display: none;
1730
  }
1731
-
1732
  .learnpress.lp-submenu-settings .lp-admin-settings-buttons {
1733
  margin-bottom: 0;
1734
  padding-top: 20px;
1735
  border-top: 1px solid #ddd;
1736
  }
1737
-
1738
  .learnpress.lp-submenu-settings .lp-admin-settings-buttons #learn-press-reset-settings {
1739
  float: right;
1740
  }
1741
-
1742
  .learnpress.lp-submenu-settings .rwmb-input {
1743
  float: none;
1744
  width: auto;
1745
  margin-left: 270px;
1746
  color: #000;
1747
  }
1748
-
1749
  .learnpress .rwmb-google-fonts-wrapper .rwmb-input label {
1750
  display: block;
1751
  margin-bottom: 5px;
1752
  font-weight: bold;
1753
  }
1754
-
1755
  .learnpress .rwmb-google-fonts-wrapper .rwmb-input input {
1756
  width: 90%;
1757
  }
1758
-
1759
  .learnpress #learn-press-toggle-course-results {
1760
  display: block;
1761
  }
1762
-
1763
  .learnpress .lp-item-assigned {
1764
  font-size: 14px;
1765
  }
1766
-
1767
  .learnpress .lp-item-assigned a {
1768
  text-decoration: none;
1769
  }
1770
-
1771
  .learnpress .lp-item-assigned ul {
1772
  margin-bottom: 0;
1773
  }
1774
-
1775
  .learnpress .lp-item-assigned ul ul strong {
1776
  font-weight: normal;
1777
  }
1778
-
1779
  .learnpress .lp-item-assigned li {
1780
  margin: 0;
1781
  }
1782
-
1783
  .learnpress .lp-item-assigned li a {
1784
  display: inline-block;
1785
  margin-bottom: 10px;
@@ -1796,21 +1570,18 @@ ul .clearfix {
1796
  margin-left: 0;
1797
  }
1798
  }
1799
-
1800
  .lp-metabox__table .titledesc label > small {
1801
  display: block;
1802
  color: #999;
1803
  font-weight: normal;
1804
  font-style: italic;
1805
  }
1806
-
1807
  .lp-metabox__table .forminp-text > input,
1808
  .lp-metabox__table .forminp-email > input,
1809
  .lp-metabox__table .forminp-password > input,
1810
  .lp-metabox__table .forminp-url > input {
1811
  min-width: 260px;
1812
  }
1813
-
1814
  .lp-metabox__table .forminp-textarea textarea {
1815
  width: 400px;
1816
  }
@@ -1820,22 +1591,18 @@ ul .clearfix {
1820
  max-width: max-content;
1821
  padding: 0 !important;
1822
  }
1823
-
1824
  .lp-metabox__custom-fields table th {
1825
  padding: 7px 0 7px 7px !important;
1826
  }
1827
-
1828
  .lp-metabox__custom-fields table th.sort {
1829
  width: 17px;
1830
  padding: 7px !important;
1831
  }
1832
-
1833
  .lp-metabox__custom-fields table td {
1834
  position: relative;
1835
  padding: 4px 0 4px 7px !important;
1836
  vertical-align: middle !important;
1837
  }
1838
-
1839
  .lp-metabox__custom-fields table td.sort {
1840
  width: 17px;
1841
  padding-right: 7px !important;
@@ -1844,7 +1611,6 @@ ul .clearfix {
1844
  text-align: center;
1845
  cursor: move;
1846
  }
1847
-
1848
  .lp-metabox__custom-fields table td.sort::before {
1849
  height: 100%;
1850
  color: #999;
@@ -1852,7 +1618,6 @@ ul .clearfix {
1852
  text-align: center;
1853
  content: "\f333";
1854
  }
1855
-
1856
  .lp-metabox__custom-fields table td .delete {
1857
  display: block;
1858
  position: relative;
@@ -1861,7 +1626,6 @@ ul .clearfix {
1861
  font-size: 1.2em;
1862
  text-indent: -9999px;
1863
  }
1864
-
1865
  .lp-metabox__custom-fields table td .delete::before {
1866
  position: absolute;
1867
  top: 0;
@@ -1877,15 +1641,13 @@ ul .clearfix {
1877
  text-align: center;
1878
  text-indent: 0;
1879
  text-transform: none;
1880
- content: "";
1881
  speak: none;
1882
  -webkit-font-smoothing: antialiased;
1883
  }
1884
-
1885
  .lp-metabox__custom-fields table td .delete:hover::before {
1886
  color: #a00;
1887
  }
1888
-
1889
  .lp-metabox__custom-fields table td:last-child {
1890
  padding-right: 7px !important;
1891
  }
@@ -1893,7 +1655,6 @@ ul .clearfix {
1893
  .lp-metabox-field__color {
1894
  font-size: 0 !important;
1895
  }
1896
-
1897
  .lp-metabox-field__color .colorpickpreview {
1898
  display: inline-block;
1899
  width: 30px;
@@ -1907,7 +1668,6 @@ ul .clearfix {
1907
  font-size: 16px;
1908
  line-height: 28px;
1909
  }
1910
-
1911
  .lp-metabox-field__color .iris-picker {
1912
  display: none;
1913
  position: absolute;
@@ -1920,13 +1680,11 @@ ul .clearfix {
1920
  .lp-metabox-field__image-advanced-upload {
1921
  padding-top: 10px;
1922
  }
1923
-
1924
  .lp-metabox-field__image-advanced-images {
1925
  clear: both;
1926
  margin: 0;
1927
  padding: 0;
1928
  }
1929
-
1930
  .lp-metabox-field__image-advanced-images > li {
1931
  float: left;
1932
  position: relative;
@@ -1938,25 +1696,21 @@ ul .clearfix {
1938
  background: #f7f7f7;
1939
  cursor: move;
1940
  }
1941
-
1942
  .lp-metabox-field__image-advanced-images > li img {
1943
  display: block;
1944
  width: 100%;
1945
  height: auto;
1946
  }
1947
-
1948
  .lp-metabox-field__image-advanced-images > li ul.actions {
1949
  position: absolute;
1950
  top: -8px;
1951
  right: -8px;
1952
  padding: 2px;
1953
  }
1954
-
1955
  .lp-metabox-field__image-advanced-images > li ul.actions li {
1956
  float: right;
1957
  margin: 0 0 0 2px;
1958
  }
1959
-
1960
  .lp-metabox-field__image-advanced-images > li ul.actions li a.delete {
1961
  display: block;
1962
  position: relative;
@@ -1965,7 +1719,6 @@ ul .clearfix {
1965
  font-size: 1.4em;
1966
  text-indent: -9999px;
1967
  }
1968
-
1969
  .lp-metabox-field__image-advanced-images > li ul.actions li a.delete::before {
1970
  position: absolute;
1971
  top: 0;
@@ -1987,21 +1740,17 @@ ul .clearfix {
1987
  speak: none;
1988
  -webkit-font-smoothing: antialiased;
1989
  }
1990
-
1991
  .lp-metabox-field__image-advanced-images > li ul.actions::before {
1992
  display: table;
1993
  content: " ";
1994
  }
1995
-
1996
  .lp-metabox-field__image-advanced-images > li:hover ul.actions {
1997
  display: block;
1998
  }
1999
-
2000
  .lp-metabox-field__image-advanced-images > li.lp-metabox-sortable-placeholder {
2001
  position: relative;
2002
  border: 3px dashed #ddd;
2003
  }
2004
-
2005
  .lp-metabox-field__image-advanced-images > li.lp-metabox-sortable-placeholder::after {
2006
  position: absolute;
2007
  top: 0;
@@ -2022,12 +1771,10 @@ ul .clearfix {
2022
  speak: none;
2023
  -webkit-font-smoothing: antialiased;
2024
  }
2025
-
2026
  .lp-metabox-field__image-advanced-images::before {
2027
  display: table;
2028
  content: " ";
2029
  }
2030
-
2031
  .lp-metabox-field__image-advanced-images::after {
2032
  display: table;
2033
  clear: both;
@@ -2042,13 +1789,11 @@ ul .clearfix {
2042
  border-radius: 2px;
2043
  background: #f7f7f7;
2044
  }
2045
-
2046
  .lp-metabox-field__image--inner img {
2047
  display: block;
2048
  width: 100%;
2049
  height: auto;
2050
  }
2051
-
2052
  .lp-metabox-field__image--upload {
2053
  padding-top: 10px;
2054
  }
@@ -2057,7 +1802,6 @@ ul .clearfix {
2057
  display: block;
2058
  position: relative;
2059
  }
2060
-
2061
  .lp-meta-box__inner .form-field:not(fieldset) {
2062
  display: flex;
2063
  flex-direction: row;
@@ -2068,7 +1812,6 @@ ul .clearfix {
2068
  align-items: flex-start;
2069
  justify-content: flex-start;
2070
  }
2071
-
2072
  .lp-meta-box__inner .form-field:not(fieldset) label {
2073
  width: 180px;
2074
  min-width: 180px;
@@ -2079,12 +1822,10 @@ ul .clearfix {
2079
  font-weight: 600;
2080
  flex: 0 0 auto;
2081
  }
2082
-
2083
  .lp-meta-box__inner .form-field:not(fieldset) .checkbox {
2084
  margin: 2px 0 !important;
2085
  vertical-align: middle;
2086
  }
2087
-
2088
  .lp-meta-box__inner .form-field:not(fieldset) .description {
2089
  flex: 1;
2090
  display: inline;
@@ -2093,7 +1834,6 @@ ul .clearfix {
2093
  padding: 0;
2094
  font-size: 14px;
2095
  }
2096
-
2097
  .lp-meta-box__inner fieldset.form-field {
2098
  display: grid;
2099
  grid-template-columns: 180px 1fr;
@@ -2101,7 +1841,6 @@ ul .clearfix {
2101
  margin: 0;
2102
  padding: 15px 0;
2103
  }
2104
-
2105
  .lp-meta-box__inner fieldset.form-field h4 {
2106
  width: 180px;
2107
  min-width: 180px;
@@ -2113,36 +1852,29 @@ ul .clearfix {
2113
  font-weight: 600;
2114
  flex: 0 0 auto;
2115
  }
2116
-
2117
  .lp-meta-box__inner fieldset.form-field ul {
2118
  margin: 0;
2119
  font-size: 14px;
2120
  }
2121
-
2122
  .lp-meta-box__inner fieldset.form-field .description {
2123
  grid-column-start: 2;
2124
  margin-top: 10px;
2125
  }
2126
-
2127
  .lp-meta-box__duration-select {
2128
  width: auto !important;
2129
  }
2130
-
2131
- .lp-meta-box__duration input[type="number"] {
2132
  width: 80px !important;
2133
  }
2134
-
2135
  .lp-meta-box__duration .description {
2136
  flex-basis: 100% !important;
2137
  width: 100%;
2138
  margin-top: 8px !important;
2139
  margin-left: 180px !important;
2140
  }
2141
-
2142
  .lp-meta-box__wp-editor {
2143
  display: block;
2144
  }
2145
-
2146
  .lp-meta-box__wp-editor .description {
2147
  flex-basis: 100% !important;
2148
  width: 100%;
@@ -2150,15 +1882,12 @@ ul .clearfix {
2150
  margin-left: 180px !important;
2151
  color: #666;
2152
  }
2153
-
2154
  .lp-meta-box__wp-editor__textarea {
2155
  border: none !important;
2156
  }
2157
-
2158
  .lp-meta-box select {
2159
  width: auto !important;
2160
  }
2161
-
2162
  .lp-meta-box select ~ .description {
2163
  flex-basis: 100% !important;
2164
  width: 100%;
@@ -2166,19 +1895,17 @@ ul .clearfix {
2166
  margin-left: 180px !important;
2167
  color: #666;
2168
  }
2169
-
2170
- .lp-meta-box input[type="number"],
2171
- .lp-meta-box input[type="email"],
2172
- .lp-meta-box input[type="text"],
2173
- .lp-meta-box input[type="password"],
2174
  .lp-meta-box textarea:not(.lp-meta-box__wp-editor__textarea) {
2175
  width: 50%;
2176
  }
2177
-
2178
- .lp-meta-box input[type="number"] + .description,
2179
- .lp-meta-box input[type="email"] + .description,
2180
- .lp-meta-box input[type="text"] + .description,
2181
- .lp-meta-box input[type="password"] + .description,
2182
  .lp-meta-box textarea:not(.lp-meta-box__wp-editor__textarea) + .description {
2183
  flex-basis: 100% !important;
2184
  width: 100%;
@@ -2186,21 +1913,17 @@ ul .clearfix {
2186
  margin-left: 180px !important;
2187
  color: #666;
2188
  }
2189
-
2190
- .lp-meta-box input[type="checkbox"] {
2191
  margin-top: 0;
2192
  }
2193
-
2194
  .lp-meta-box .short {
2195
  width: 50%;
2196
  }
2197
-
2198
  .lp-meta-box textarea:not(.lp-meta-box__wp-editor__textarea) {
2199
  height: 3.5em;
2200
  line-height: 1.5em;
2201
  vertical-align: top;
2202
  }
2203
-
2204
  .lp-meta-box .learn-press-tip.ready {
2205
  display: inline-flex;
2206
  align-items: center;
@@ -2211,12 +1934,10 @@ ul .clearfix {
2211
  margin: 0 !important;
2212
  padding: 0 !important;
2213
  }
2214
-
2215
  #course-settings .lp-meta-box__course-tab {
2216
  display: grid;
2217
  grid-template-columns: 20% 80%;
2218
  }
2219
-
2220
  #course-settings .lp-meta-box__course-tab__tabs {
2221
  position: relative;
2222
  box-sizing: border-box;
@@ -2226,14 +1947,12 @@ ul .clearfix {
2226
  background-color: #fafafa;
2227
  line-height: 1;
2228
  }
2229
-
2230
  #course-settings .lp-meta-box__course-tab__tabs li {
2231
  display: block;
2232
  position: relative;
2233
  margin: 0;
2234
  padding: 0;
2235
  }
2236
-
2237
  #course-settings .lp-meta-box__course-tab__tabs li a {
2238
  display: block;
2239
  margin: 0;
@@ -2243,7 +1962,6 @@ ul .clearfix {
2243
  line-height: 20px !important;
2244
  text-decoration: none;
2245
  }
2246
-
2247
  #course-settings .lp-meta-box__course-tab__tabs li a i {
2248
  margin-right: 5px;
2249
  font-weight: 400;
@@ -2253,17 +1971,14 @@ ul .clearfix {
2253
  text-decoration: none;
2254
  text-transform: none;
2255
  }
2256
-
2257
- #course-settings .lp-meta-box__course-tab__tabs li a i[class^="dashicon"] {
2258
  font-family: "Dashicons";
2259
  }
2260
-
2261
  #course-settings .lp-meta-box__course-tab__tabs li.active a {
2262
  position: relative;
2263
  color: #555;
2264
  background-color: #eee;
2265
  }
2266
-
2267
  @media (max-width: 767px) {
2268
  #course-settings .lp-meta-box__course-tab__tabs {
2269
  display: flex;
@@ -2285,11 +2000,9 @@ ul .clearfix {
2285
  margin-right: 20px;
2286
  }
2287
  }
2288
-
2289
  #course-settings .lp-meta-box__course-tab__content > div {
2290
  padding: 20px;
2291
  }
2292
-
2293
  @media (max-width: 767px) {
2294
  #course-settings .lp-meta-box__course-tab {
2295
  grid-template-columns: auto;
@@ -2300,7 +2013,6 @@ ul .clearfix {
2300
  #price_course_data ._lp_price_field {
2301
  position: relative;
2302
  }
2303
-
2304
  #price_course_data ._lp_sale_price_field .learn-press-tip-floating,
2305
  #price_course_data ._lp_price_field .learn-press-tip-floating {
2306
  top: 54px;
@@ -2308,7 +2020,6 @@ ul .clearfix {
2308
  opacity: 0.8;
2309
  background: #a00;
2310
  }
2311
-
2312
  #price_course_data ._lp_sale_price_field .learn-press-tip-floating::before,
2313
  #price_course_data ._lp_price_field .learn-press-tip-floating::before {
2314
  top: -7px;
@@ -2320,17 +2031,14 @@ ul .clearfix {
2320
  .lp_course_extra_meta_box__content {
2321
  flex: 1;
2322
  }
2323
-
2324
  .lp_course_extra_meta_box__fields {
2325
  margin-bottom: 10px;
2326
  }
2327
-
2328
  .lp_course_extra_meta_box__field {
2329
  position: relative;
2330
  max-width: 600px;
2331
  margin-bottom: 10px;
2332
  }
2333
-
2334
  .lp_course_extra_meta_box__field .sort {
2335
  display: flex;
2336
  position: absolute;
@@ -2344,14 +2052,12 @@ ul .clearfix {
2344
  align-items: center;
2345
  justify-content: center;
2346
  }
2347
-
2348
  .lp_course_extra_meta_box__field .sort::after {
2349
  font-family: Dashicons;
2350
  font-size: 20px;
2351
  line-height: 1;
2352
  content: "\f333";
2353
  }
2354
-
2355
  .lp_course_extra_meta_box__field .delete {
2356
  display: flex;
2357
  position: absolute;
@@ -2364,14 +2070,12 @@ ul .clearfix {
2364
  align-items: center;
2365
  justify-content: center;
2366
  }
2367
-
2368
  .lp_course_extra_meta_box__field .delete::after {
2369
  font-family: Dashicons;
2370
  font-size: 20px;
2371
  line-height: 1;
2372
  content: "\f335";
2373
  }
2374
-
2375
  .lp_course_extra_meta_box__input {
2376
  width: 100% !important;
2377
  padding-right: 40px !important;
@@ -2381,12 +2085,10 @@ ul .clearfix {
2381
  .lp_repeater_meta_box__wrapper {
2382
  flex: 1 !important;
2383
  }
2384
-
2385
  .lp_repeater_meta_box__fields {
2386
  position: relative;
2387
  margin-bottom: 10px;
2388
  }
2389
-
2390
  .lp_repeater_meta_box__field {
2391
  display: grid;
2392
  position: relative;
@@ -2394,15 +2096,12 @@ ul .clearfix {
2394
  border: 1px solid #c5c5c5;
2395
  border-radius: 2px;
2396
  }
2397
-
2398
  .lp_repeater_meta_box__field_active .lp_repeater_meta_box__content {
2399
  display: block;
2400
  }
2401
-
2402
  .lp_repeater_meta_box__field_active .lp_repeater_meta_box__title__toggle::after {
2403
  transform: rotate(180deg);
2404
  }
2405
-
2406
  .lp_repeater_meta_box__title {
2407
  display: grid;
2408
  grid-template-columns: 44px 1fr 40px 40px;
@@ -2410,12 +2109,10 @@ ul .clearfix {
2410
  position: relative;
2411
  background-color: #eee;
2412
  }
2413
-
2414
  .lp_repeater_meta_box__title__title {
2415
  flex: 1;
2416
  padding: 14px 0;
2417
  }
2418
-
2419
  .lp_repeater_meta_box__title__sort {
2420
  display: flex;
2421
  height: 100%;
@@ -2425,14 +2122,12 @@ ul .clearfix {
2425
  align-items: center;
2426
  justify-content: center;
2427
  }
2428
-
2429
  .lp_repeater_meta_box__title__sort::after {
2430
  font-family: Dashicons;
2431
  font-size: 20px;
2432
  line-height: 1;
2433
  content: "\f333";
2434
  }
2435
-
2436
  .lp_repeater_meta_box__title__delete {
2437
  display: flex;
2438
  height: 100%;
@@ -2441,14 +2136,12 @@ ul .clearfix {
2441
  align-items: center;
2442
  justify-content: center;
2443
  }
2444
-
2445
  .lp_repeater_meta_box__title__delete::after {
2446
  font-family: Dashicons;
2447
  font-size: 20px;
2448
  line-height: 1;
2449
  content: "\f335";
2450
  }
2451
-
2452
  .lp_repeater_meta_box__title__toggle {
2453
  display: flex;
2454
  height: 100%;
@@ -2457,19 +2150,16 @@ ul .clearfix {
2457
  align-items: center;
2458
  justify-content: center;
2459
  }
2460
-
2461
  .lp_repeater_meta_box__title__toggle::after {
2462
  font-family: Dashicons;
2463
  font-size: 20px;
2464
  line-height: 1;
2465
  content: "\f347";
2466
  }
2467
-
2468
  .lp_repeater_meta_box__content {
2469
  display: none;
2470
  padding: 14px 20px;
2471
  }
2472
-
2473
  .lp_repeater_meta_box__content > label {
2474
  display: grid;
2475
  width: 100% !important;
@@ -2478,15 +2168,12 @@ ul .clearfix {
2478
  margin-bottom: 20px;
2479
  grid-template-rows: auto 1fr;
2480
  }
2481
-
2482
  .lp_repeater_meta_box__content > label:last-child {
2483
  margin-bottom: 0;
2484
  }
2485
-
2486
  .lp_repeater_meta_box__content > label span {
2487
  margin-bottom: 5px;
2488
  }
2489
-
2490
  .lp_repeater_meta_box__content > label textarea,
2491
  .lp_repeater_meta_box__content > label input {
2492
  width: 100% !important;
@@ -2495,12 +2182,10 @@ ul .clearfix {
2495
  .lp_course_faq_meta_box__content {
2496
  flex: 1;
2497
  }
2498
-
2499
  .lp_course_faq_meta_box__fields {
2500
  position: relative;
2501
  margin-bottom: 10px;
2502
  }
2503
-
2504
  .lp_course_faq_meta_box__field {
2505
  display: grid;
2506
  position: relative;
@@ -2510,7 +2195,6 @@ ul .clearfix {
2510
  border-radius: 4px;
2511
  grid-row-gap: 10px;
2512
  }
2513
-
2514
  .lp_course_faq_meta_box__field label {
2515
  display: grid;
2516
  width: 100% !important;
@@ -2518,16 +2202,13 @@ ul .clearfix {
2518
  max-width: 100% !important;
2519
  grid-template-rows: auto 1fr;
2520
  }
2521
-
2522
  .lp_course_faq_meta_box__field label span {
2523
  margin-bottom: 5px;
2524
  }
2525
-
2526
  .lp_course_faq_meta_box__field label textarea,
2527
  .lp_course_faq_meta_box__field label input {
2528
  width: 100% !important;
2529
  }
2530
-
2531
  .lp_course_faq_meta_box__field a.delete {
2532
  display: flex;
2533
  position: absolute;
@@ -2540,14 +2221,12 @@ ul .clearfix {
2540
  align-items: center;
2541
  justify-content: center;
2542
  }
2543
-
2544
  .lp_course_faq_meta_box__field a.delete::after {
2545
  font-family: Dashicons;
2546
  font-size: 20px;
2547
  line-height: 1;
2548
  content: "\f335";
2549
  }
2550
-
2551
  .lp_course_faq_meta_box__field .sort {
2552
  display: flex;
2553
  position: absolute;
@@ -2561,7 +2240,6 @@ ul .clearfix {
2561
  justify-content: center;
2562
  cursor: grab;
2563
  }
2564
-
2565
  .lp_course_faq_meta_box__field .sort::after {
2566
  font-family: Dashicons;
2567
  font-size: 20px;
@@ -2569,19 +2247,17 @@ ul .clearfix {
2569
  content: "\f333";
2570
  }
2571
 
2572
- input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2573
  display: block;
2574
  }
2575
 
2576
  #passing-condition-quiz-result {
2577
  display: none;
2578
  }
2579
-
2580
  #passing-condition-quiz-result input {
2581
  width: 80px !important;
2582
  margin-top: 5px !important;
2583
  }
2584
-
2585
  #passing-condition-quiz-result p {
2586
  padding: 10px 16px;
2587
  background-color: #eee;
@@ -2594,7 +2270,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2594
  margin: 0;
2595
  padding: 0;
2596
  }
2597
-
2598
  .lp-meta-box__file_list > li {
2599
  display: flex;
2600
  flex-flow: column nowrap;
@@ -2611,27 +2286,22 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2611
  align-items: center;
2612
  justify-content: center;
2613
  }
2614
-
2615
  .lp-meta-box__file_list > li img {
2616
  display: block;
2617
  width: 100%;
2618
  height: auto;
2619
  }
2620
-
2621
  .lp-meta-box__file_list > li img.is_file {
2622
  width: 30px;
2623
  }
2624
-
2625
  .lp-meta-box__file_list > li img.is_file ~ span {
2626
  margin-top: 5px;
2627
  font-size: 12px;
2628
  }
2629
-
2630
  .lp-meta-box__file_list > li.lp-metabox-sortable-placeholder {
2631
  position: relative;
2632
  border: 3px dashed #ddd;
2633
  }
2634
-
2635
  .lp-meta-box__file_list > li.lp-metabox-sortable-placeholder::after {
2636
  position: absolute;
2637
  top: 0;
@@ -2652,19 +2322,16 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2652
  speak: none;
2653
  -webkit-font-smoothing: antialiased;
2654
  }
2655
-
2656
  .lp-meta-box__file_list > li ul.actions {
2657
  position: absolute;
2658
  top: -8px;
2659
  right: -8px;
2660
  padding: 2px;
2661
  }
2662
-
2663
  .lp-meta-box__file_list > li ul.actions li {
2664
  float: right;
2665
  margin: 0 0 0 2px;
2666
  }
2667
-
2668
  .lp-meta-box__file_list > li ul.actions li a.delete {
2669
  display: block;
2670
  position: relative;
@@ -2673,7 +2340,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2673
  font-size: 1.4em;
2674
  text-indent: -9999px;
2675
  }
2676
-
2677
  .lp-meta-box__file_list > li ul.actions li a.delete::before {
2678
  position: absolute;
2679
  top: 0;
@@ -2695,17 +2361,14 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2695
  speak: none;
2696
  -webkit-font-smoothing: antialiased;
2697
  }
2698
-
2699
  .lp-meta-box__file_list > li ul.actions::before {
2700
  display: table;
2701
  content: " ";
2702
  }
2703
-
2704
  .lp-meta-box__file::before {
2705
  display: table;
2706
  content: " ";
2707
  }
2708
-
2709
  .lp-meta-box__file::after {
2710
  display: table;
2711
  clear: both;
@@ -2715,7 +2378,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2715
  .lp-metabox-evaluate-final_quiz {
2716
  display: block;
2717
  }
2718
-
2719
  .lp-metabox-evaluate-final_quiz__message {
2720
  display: inline-block;
2721
  min-width: 50%;
@@ -2726,7 +2388,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2726
  background: #f7f7f7;
2727
  text-align: center;
2728
  }
2729
-
2730
  .lp-metabox-evaluate-final_quiz__message-error {
2731
  border-color: lightcoral;
2732
  }
@@ -2735,12 +2396,10 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2735
  border: 1px solid #ddd;
2736
  background: #fff;
2737
  }
2738
-
2739
  .learn-press-tabs.vertical .tabs-heading h4 {
2740
  margin: 0;
2741
  padding: 15px;
2742
  }
2743
-
2744
  .learn-press-tabs.vertical .tabs-nav {
2745
  float: left;
2746
  position: relative;
@@ -2750,14 +2409,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2750
  margin: 0;
2751
  background-color: #fafafa;
2752
  }
2753
-
2754
  .learn-press-tabs.vertical .tabs-nav li {
2755
  display: block;
2756
  position: relative;
2757
  margin: 0;
2758
  padding: 0;
2759
  }
2760
-
2761
  .learn-press-tabs.vertical .tabs-nav li a {
2762
  display: block;
2763
  box-sizing: border-box;
@@ -2769,11 +2426,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2769
  text-decoration: none;
2770
  text-transform: capitalize;
2771
  }
2772
-
2773
  .learn-press-tabs.vertical .tabs-nav li.icon a {
2774
  padding-left: 35px;
2775
  }
2776
-
2777
  .learn-press-tabs.vertical .tabs-nav li.icon a::before {
2778
  position: absolute;
2779
  left: 10px;
@@ -2782,13 +2437,11 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2782
  font-size: 16px;
2783
  vertical-align: top;
2784
  }
2785
-
2786
  .learn-press-tabs.vertical .tabs-nav li.active a {
2787
  position: relative;
2788
  color: #555;
2789
  background-color: #eee;
2790
  }
2791
-
2792
  .learn-press-tabs.vertical .tabs-container {
2793
  overflow: hidden;
2794
  position: relative;
@@ -2796,11 +2449,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2796
  border-top: none;
2797
  background: #fafafa;
2798
  }
2799
-
2800
  .learn-press-tabs.vertical .tabs-container .tabs-content-container {
2801
  margin: 0 0 0 270px;
2802
  }
2803
-
2804
  .learn-press-tabs.vertical .tabs-container .tabs-content-container > li {
2805
  display: none;
2806
  float: left;
@@ -2814,7 +2465,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2814
  -moz-box-sizing: border-box;
2815
  box-sizing: border-box;
2816
  }
2817
-
2818
  .learn-press-tabs.vertical::after {
2819
  display: block;
2820
  clear: both;
@@ -2829,7 +2479,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2829
  margin-left: 0;
2830
  }
2831
  }
2832
-
2833
  .lp_widget_autocomplete__loading {
2834
  margin-top: 0 !important;
2835
  padding: 7px 10px;
@@ -2838,7 +2487,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2838
  background: #eee;
2839
  font-size: 13px !important;
2840
  }
2841
-
2842
  .lp_widget_autocomplete__select {
2843
  overflow: auto;
2844
  left: 0;
@@ -2848,7 +2496,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2848
  background: #eee;
2849
  font-size: 13px;
2850
  }
2851
-
2852
  .lp_widget_autocomplete__item {
2853
  overflow: hidden;
2854
  padding: 7px 10px;
@@ -2859,7 +2506,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2859
  text-overflow: ellipsis;
2860
  cursor: pointer;
2861
  }
2862
-
2863
  .lp_widget_autocomplete__item__selected, .lp_widget_autocomplete__item:hover {
2864
  color: #fff;
2865
  background-color: #007cba;
@@ -2877,7 +2523,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2877
  transform: rotate(360deg);
2878
  }
2879
  }
2880
-
2881
  .learn-press-addons .lp-search-addon {
2882
  width: 280px;
2883
  height: 32px;
@@ -2887,31 +2532,25 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2887
  font-weight: 300;
2888
  line-height: 1.5;
2889
  }
2890
-
2891
  .learn-press-addons .addons-browse {
2892
  margin: 20px 0 0;
2893
  }
2894
-
2895
  .learn-press-addons .addons-browse .lp-addon-hidden {
2896
  display: none !important;
2897
  }
2898
-
2899
  .learn-press-addons .addons-browse .lp-active:nth-of-type(2n+1) {
2900
  clear: none;
2901
  margin-right: 0;
2902
  margin-left: 8px;
2903
  }
2904
-
2905
  .learn-press-addons .addons-browse .lp-active:nth-of-type(2n) {
2906
  clear: both;
2907
  margin-right: 8px;
2908
  margin-left: 0;
2909
  }
2910
-
2911
  .learn-press-addons .addons-browse .plugin-icon img {
2912
  max-width: 100%;
2913
  }
2914
-
2915
  .learn-press-addons .addons-browse .plugin-card .column-description p:not(.authors) {
2916
  display: -webkit-box;
2917
  overflow: hidden;
@@ -2923,11 +2562,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2923
  -webkit-line-clamp: 3;
2924
  color: #777;
2925
  }
2926
-
2927
  .learn-press-addons .addons-browse .plugin-card .search-highlight {
2928
  text-decoration: underline;
2929
  }
2930
-
2931
  .learn-press-addons .addons-browse .plugin-card-top h3 {
2932
  display: -webkit-box;
2933
  overflow: hidden;
@@ -2938,12 +2575,10 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2938
  -webkit-box-orient: vertical;
2939
  -webkit-line-clamp: 2;
2940
  }
2941
-
2942
  .learn-press-addons .addons-browse .plugin-card-top .desc {
2943
  min-height: 90px;
2944
  margin-right: 0;
2945
  }
2946
-
2947
  .learn-press-addons .addons-browse .plugin-card-top .button.activate-plugin, .learn-press-addons .addons-browse .plugin-card-top .button.install-now, .learn-press-addons .addons-browse .plugin-card-top .button.enable-now {
2948
  border-color: #0073aa #006799 #006799;
2949
  color: #fff;
@@ -2953,24 +2588,19 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2953
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
2954
  text-decoration: none;
2955
  }
2956
-
2957
  .learn-press-addons .addons-browse .plugin-card-top .button.button-working {
2958
  padding-right: 4px;
2959
  }
2960
-
2961
  .learn-press-addons .addons-browse .plugin-card-top .button.button-working span {
2962
  display: none;
2963
  }
2964
-
2965
  .learn-press-addons .addons-browse .plugin-card-bottom .plugin-version {
2966
  display: inline-block;
2967
  }
2968
-
2969
  .learn-press-addons .addons-browse.premium .column-description p:not(.authors) {
2970
  margin: 0;
2971
  line-height: inherit;
2972
  }
2973
-
2974
  .learn-press-addons .addons-browse::after {
2975
  display: block;
2976
  clear: both;
@@ -2980,15 +2610,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
2980
  .related-themes .plugin-card-top {
2981
  padding-bottom: 0;
2982
  }
2983
-
2984
  .related-themes .theme-content {
2985
  position: relative;
2986
  }
2987
-
2988
  .related-themes .image-thumbnail img {
2989
  width: 100%;
2990
  }
2991
-
2992
  .related-themes .theme-description {
2993
  margin: 0 0 25px 0;
2994
  display: -webkit-box;
@@ -3001,7 +2628,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3001
  -webkit-line-clamp: 5;
3002
  color: #777;
3003
  }
3004
-
3005
  .related-themes .theme-title {
3006
  min-height: 3.2em;
3007
  margin-right: 100px;
@@ -3009,26 +2635,21 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3009
  font-size: 1.2em;
3010
  line-height: 1.3em;
3011
  }
3012
-
3013
  .related-themes .theme-title a {
3014
  color: #545454;
3015
  }
3016
-
3017
  .related-themes .theme-rating {
3018
  display: inline-block;
3019
  float: right;
3020
  }
3021
-
3022
  .related-themes .star-rating {
3023
  display: inline-block;
3024
  }
3025
-
3026
  .related-themes .count-rating {
3027
  position: relative;
3028
  top: 2px;
3029
  font-size: 15px;
3030
  }
3031
-
3032
  .related-themes .theme-detail {
3033
  position: absolute;
3034
  top: -3px;
@@ -3036,13 +2657,11 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3036
  line-height: 1.6em;
3037
  text-align: right;
3038
  }
3039
-
3040
  .related-themes .theme-detail::after {
3041
  display: block;
3042
  clear: both;
3043
  content: "";
3044
  }
3045
-
3046
  .related-themes .theme-detail .theme-price {
3047
  display: inline-block;
3048
  color: #545454;
@@ -3050,7 +2669,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3050
  font-weight: 700;
3051
  line-height: 1.3em;
3052
  }
3053
-
3054
  .related-themes .theme-footer {
3055
  clear: both;
3056
  overflow: hidden;
@@ -3065,18 +2683,17 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3065
  .plugin-card:not(.hide-if-js):nth-child(even) {
3066
  margin-right: 8px;
3067
  }
 
3068
  .plugin-card:not(.hide-if-js):nth-child(3n) {
3069
  margin-right: 0;
3070
  }
3071
  }
3072
-
3073
  /**
3074
  * Order
3075
  */
3076
  .post-type-lp_order .wp-list-table .column-order_status {
3077
  width: 150px;
3078
  }
3079
-
3080
  .post-type-lp_order .wp-list-table .order_status span {
3081
  display: inline-block;
3082
  padding: 3px 6px;
@@ -3086,37 +2703,29 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3086
  -moz-border-radius: 4px;
3087
  border-radius: 4px;
3088
  }
3089
-
3090
  .post-type-lp_order .wp-list-table .order_status span.pending {
3091
  background: #bdbdbd;
3092
  }
3093
-
3094
  .post-type-lp_order .wp-list-table .order_status span.processing {
3095
  background: #ffc107;
3096
  }
3097
-
3098
  .post-type-lp_order .wp-list-table .order_status span.completed {
3099
  background: #4caf50;
3100
  }
3101
-
3102
  .post-type-lp_order .wp-list-table .order_status span.cancelled {
3103
  background: #444;
3104
  }
3105
-
3106
  .post-type-lp_order .wp-list-table .order_status span.failed {
3107
  background: #f00;
3108
  }
3109
-
3110
  .post-type-lp_order .wp-list-table .order_status span i {
3111
  display: inline-block;
3112
  }
3113
-
3114
  .post-type-lp_order .wp-list-table .column-title,
3115
  .post-type-lp_order .wp-list-table .column-order_total,
3116
  .post-type-lp_order .wp-list-table .column-order_date {
3117
  width: 150px;
3118
  }
3119
-
3120
  .post-type-lp_order .wp-list-table .column-order_items ol {
3121
  margin: 0;
3122
  padding: 0;
@@ -3134,15 +2743,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3134
  float: none;
3135
  text-align: left;
3136
  }
3137
-
3138
  .wp-list-table .column-instructor {
3139
  width: 150px;
3140
  }
3141
-
3142
  .wp-list-table .column-instructor .post-author {
3143
  display: inline-block;
3144
  }
3145
-
3146
  .wp-list-table .column-instructor .post-author img {
3147
  width: 30px;
3148
  height: 30px;
@@ -3150,25 +2756,20 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3150
  border-radius: 50%;
3151
  vertical-align: middle;
3152
  }
3153
-
3154
  .wp-list-table .column-instructor .post-author a {
3155
  display: inline-block;
3156
  vertical-align: middle;
3157
  }
3158
-
3159
  .wp-list-table .column-students {
3160
  width: 80px;
3161
  }
3162
-
3163
  .wp-list-table .column-price {
3164
  width: 120px;
3165
  }
3166
-
3167
  .wp-list-table .column-thumbnail {
3168
  width: 100px;
3169
  padding-top: 11px;
3170
  }
3171
-
3172
  .wp-list-table .column-thumbnail img {
3173
  max-width: 100%;
3174
  height: auto;
@@ -3177,7 +2778,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3177
  .post-type-page .column-lp-page {
3178
  width: 200px;
3179
  }
3180
-
3181
  .post-type-page .for-plugin-page {
3182
  margin: 0;
3183
  color: #f00;
@@ -3198,7 +2798,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3198
  color: #b79186;
3199
  background: #fff;
3200
  }
3201
-
3202
  #learn-press-box-edit-slug .button {
3203
  float: right;
3204
  height: 24px;
@@ -3224,7 +2823,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3224
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header {
3225
  padding: 2em;
3226
  }
3227
-
3228
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
3229
  font-size: 1.4em;
3230
  }
@@ -3242,7 +2840,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3242
  align-items: center;
3243
  justify-content: center;
3244
  }
3245
-
3246
  .lp-modal-dialog .lp-modal-content {
3247
  display: inline-block;
3248
  overflow: hidden;
@@ -3255,38 +2852,31 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3255
  background: white;
3256
  color: black;
3257
  }
3258
-
3259
  .lp-modal-dialog .lp-modal-content .lp-modal-header {
3260
  background: #7c60d9;
3261
  border-bottom: 1px solid #eee;
3262
  padding: 1em;
3263
  }
3264
-
3265
  .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
3266
  margin: 0;
3267
  color: white;
3268
  font-size: inherit;
3269
  }
3270
-
3271
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content {
3272
  max-height: 500px;
3273
  overflow: auto;
3274
  }
3275
-
3276
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h3, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h2, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content .pd-2em {
3277
  padding: 0 2em;
3278
  }
3279
-
3280
  .lp-modal-dialog .lp-modal-header {
3281
  padding: 0 20px;
3282
  }
3283
-
3284
  .lp-modal-dialog .lp-modal-footer {
3285
  padding: 10px 20px;
3286
  background-color: #f9fafb;
3287
  text-align: right;
3288
  }
3289
-
3290
  .lp-modal-dialog .btn-yes {
3291
  color: #fff;
3292
  background-color: #7c60d9;
@@ -3317,7 +2907,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3317
  -moz-border-radius: 4px;
3318
  border-radius: 4px;
3319
  }
3320
-
3321
  #lp-modal-window #lp-modal-content {
3322
  margin: 0 0 24px 0;
3323
  color: #333;
@@ -3326,30 +2915,25 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3326
  line-height: 26px;
3327
  text-align: center;
3328
  }
3329
-
3330
  #lp-modal-window #lp-modal-content > * {
3331
  margin: 0 0 0.5em;
3332
  }
3333
-
3334
  #lp-modal-window #lp-modal-content #lp-modal-buttons {
3335
  display: flex;
3336
  flex-direction: row-reverse;
3337
  align-items: center;
3338
  justify-content: center;
3339
  }
3340
-
3341
  #lp-modal-window #lp-modal-buttons {
3342
  display: flex;
3343
  flex-direction: row-reverse;
3344
  align-items: center;
3345
  justify-content: center;
3346
  }
3347
-
3348
  #lp-modal-window #lp-modal-buttons .lp-button {
3349
  position: relative;
3350
  margin: 0 10px 0 10px;
3351
  }
3352
-
3353
  .learn-press-modal {
3354
  position: fixed;
3355
  z-index: 1000000;
@@ -3358,7 +2942,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3358
  top: 0;
3359
  display: table;
3360
  }
3361
-
3362
  .learn-press-modal .modal-overlay {
3363
  position: fixed;
3364
  z-index: 1000000;
@@ -3368,14 +2951,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3368
  height: 100%;
3369
  top: 0;
3370
  }
3371
-
3372
  .learn-press-modal .modal-wrapper {
3373
  display: table-cell;
3374
  vertical-align: middle;
3375
  z-index: 1000010;
3376
  position: relative;
3377
  }
3378
-
3379
  .learn-press-modal .modal-wrapper .modal-container {
3380
  max-width: 800px;
3381
  width: 90%;
@@ -3383,13 +2964,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3383
  background-color: #fff;
3384
  border-radius: 2px;
3385
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
3386
- transition: all .3s ease;
3387
  overflow: hidden;
3388
  -webkit-box-sizing: border-box;
3389
  -moz-box-sizing: border-box;
3390
  box-sizing: border-box;
3391
  }
3392
-
3393
  .learn-press-modal .modal-wrapper header {
3394
  font-size: 18px;
3395
  padding: 20px;
@@ -3397,12 +2977,10 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3397
  font-weight: 600;
3398
  color: #000;
3399
  }
3400
-
3401
  .learn-press-modal .modal-wrapper article {
3402
  margin: 30px 20px;
3403
  }
3404
-
3405
- .learn-press-modal .modal-wrapper article input[name="search"] {
3406
  width: 100%;
3407
  font-size: 16px;
3408
  box-sizing: border-box;
@@ -3416,26 +2994,21 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3416
  font-weight: 400;
3417
  vertical-align: middle;
3418
  }
3419
-
3420
  .learn-press-modal .modal-wrapper article .search-results {
3421
  margin: 0;
3422
  margin-top: 30px;
3423
  }
3424
-
3425
  .learn-press-modal .modal-wrapper article .search-results li > label {
3426
  display: block;
3427
  }
3428
-
3429
  .learn-press-modal .modal-wrapper footer {
3430
  padding: 15px 20px;
3431
  overflow: hidden;
3432
  border: 1px solid #eee;
3433
  }
3434
-
3435
  .learn-press-modal .modal-wrapper footer .search-nav {
3436
  float: left;
3437
  }
3438
-
3439
  .learn-press-modal .modal-wrapper footer .search-nav a, .learn-press-modal .modal-wrapper footer .search-nav span {
3440
  display: inline-block;
3441
  line-height: 26px;
@@ -3443,7 +3016,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3443
  margin: 0;
3444
  padding: 0 10px 1px;
3445
  }
3446
-
3447
  .learn-press-modal .modal-wrapper footer button {
3448
  float: right;
3449
  margin-left: 3px;
@@ -3456,7 +3028,7 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3456
  right: 0;
3457
  bottom: 0;
3458
  display: block;
3459
- content: '';
3460
  z-index: 9;
3461
  background: url("../../images/spinner.gif") no-repeat center center;
3462
  }
@@ -3466,7 +3038,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3466
  display: inline-block;
3467
  min-width: 300px;
3468
  }
3469
-
3470
  .modal-search .search-input {
3471
  border: 1px solid #DDD;
3472
  width: 100%;
@@ -3476,17 +3047,14 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3476
  -moz-box-shadow: none;
3477
  box-shadow: none;
3478
  }
3479
-
3480
  .modal-search .search-input:focus {
3481
  -webkit-box-shadow: none;
3482
  -moz-box-shadow: none;
3483
  box-shadow: none;
3484
  }
3485
-
3486
  .modal-search .search-input:focus {
3487
  border-color: #DDD;
3488
  }
3489
-
3490
  .modal-search .search-results-content {
3491
  position: absolute;
3492
  top: 100%;
@@ -3501,17 +3069,14 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3501
  -moz-box-sizing: border-box;
3502
  box-sizing: border-box;
3503
  }
3504
-
3505
  .modal-search .search-results-content .search-results {
3506
  margin: 0;
3507
  }
3508
-
3509
  .modal-search .search-results-content .search-results .result-item {
3510
  margin: 0;
3511
  padding: 0;
3512
  list-style: none;
3513
  }
3514
-
3515
  .modal-search .search-results-content .search-results .result-item label {
3516
  display: block;
3517
  padding: 6px 10px;
@@ -3521,45 +3086,36 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3521
  overflow: hidden;
3522
  text-overflow: ellipsis;
3523
  }
3524
-
3525
  .modal-search .search-results-content .search-results .result-item:hover {
3526
  background: #f4fcff;
3527
  }
3528
-
3529
  .modal-search .has-items .search-input {
3530
  border-bottom-color: transparent;
3531
  }
3532
-
3533
  .modal-search .has-items .search-results-content {
3534
  border-top: none;
3535
  }
3536
-
3537
  .modal-search .checked-items {
3538
  text-align: center;
3539
  }
3540
-
3541
  .modal-search .checked-items .button {
3542
  font-size: 12px;
3543
  height: 20px;
3544
  line-height: 20px;
3545
  }
3546
-
3547
  .modal-search .checked-items .disabled {
3548
  color: #777;
3549
  }
3550
-
3551
  .modal-search .search-navigator {
3552
  margin: 5px 0;
3553
  text-align: center;
3554
  }
3555
-
3556
  .modal-search .search-navigator .page-numbers {
3557
  display: inline-block;
3558
  padding: 2px 5px;
3559
  text-decoration: none;
3560
  line-height: 1;
3561
  }
3562
-
3563
  .modal-search .search-navigator .page-numbers.next, .modal-search .search-navigator .page-numbers.prev {
3564
  display: none;
3565
  }
@@ -3567,14 +3123,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3567
  .lp-order-statuses {
3568
  margin: 0;
3569
  }
3570
-
3571
  .lp-order-statuses li {
3572
  float: left;
3573
  width: 100%;
3574
  margin: 0;
3575
  background: #fff;
3576
  }
3577
-
3578
  .lp-order-statuses li strong {
3579
  display: block;
3580
  margin-bottom: 5px;
@@ -3582,7 +3136,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3582
  font-size: 20px;
3583
  font-weight: normal;
3584
  }
3585
-
3586
  .lp-order-statuses li strong::before {
3587
  display: inline-block;
3588
  width: 25px;
@@ -3593,56 +3146,46 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3593
  vertical-align: middle;
3594
  content: "";
3595
  }
3596
-
3597
  .lp-order-statuses li p {
3598
  margin: 0;
3599
  padding: 0;
3600
  color: #adadad;
3601
  font-size: 12px;
3602
  }
3603
-
3604
  .lp-order-statuses li.counter-number {
3605
  width: 50%;
3606
  padding: 10px 0 0;
3607
  text-align: center;
3608
  }
3609
-
3610
  .lp-order-statuses li.counter-number .counter-inner {
3611
  margin: 0 5px;
3612
  padding: 10px 0;
3613
  border: 1px solid #f3f3f3;
3614
  background: #f9f9f9;
3615
  }
3616
-
3617
  .lp-order-statuses li.counter-number .counter-inner p {
3618
  text-transform: lowercase;
3619
  }
3620
-
3621
  .lp-order-statuses li.counter-number.order-completed strong::before {
3622
  color: #0085ba;
3623
  content: "\f058";
3624
  }
3625
-
3626
  .lp-order-statuses li.counter-number.order-processing strong::before {
3627
  margin-left: -1px;
3628
  color: #563f7a;
3629
  content: "\f321";
3630
  }
3631
-
3632
  .lp-order-statuses li.counter-number.order-pending strong::before {
3633
  color: #aaa;
3634
  content: "\f534";
3635
  }
3636
-
3637
  .lp-order-statuses li.counter-number.order-cancelled strong::before {
3638
  color: #f00;
3639
  content: "\f153";
3640
  }
3641
-
3642
  .lp-order-statuses li.clear {
3643
  float: none;
3644
  }
3645
-
3646
  .lp-order-statuses li.featured-theme {
3647
  float: none;
3648
  clear: both;
@@ -3651,37 +3194,30 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3651
  padding: 8px 12px 0 12px;
3652
  border-top: 1px solid #eee;
3653
  }
3654
-
3655
  .lp-order-statuses li.featured-theme .star-rating {
3656
  display: inline-block;
3657
  line-height: 14px;
3658
  vertical-align: middle;
3659
  }
3660
-
3661
  .lp-order-statuses li.featured-theme .star-rating .star {
3662
  width: 14px;
3663
  height: 14px;
3664
  font-size: 14px;
3665
  }
3666
-
3667
  .lp-order-statuses li.featured-theme > div {
3668
  margin-bottom: 3px;
3669
  }
3670
-
3671
  .lp-order-statuses li.featured-theme > div span {
3672
  color: #999;
3673
  font-size: 12px;
3674
  vertical-align: middle;
3675
  }
3676
-
3677
  .lp-order-statuses li:nth-child(even) .counter-inner {
3678
  margin-left: 0;
3679
  }
3680
-
3681
  .lp-order-statuses li:nth-child(odd) .counter-inner {
3682
  margin-right: 0;
3683
  }
3684
-
3685
  .lp-order-statuses li.total-raised {
3686
  box-sizing: border-box;
3687
  padding: 10px 0;
@@ -3689,12 +3225,10 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3689
  background: #f9f9f9;
3690
  text-align: center;
3691
  }
3692
-
3693
  .lp-order-statuses li.total-raised strong {
3694
  margin-bottom: 10px;
3695
  font-size: 26px;
3696
  }
3697
-
3698
  .lp-order-statuses li.total-raised strong::before {
3699
  width: 30px;
3700
  height: 30px;
@@ -3704,7 +3238,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3704
  line-height: 30px;
3705
  content: "\f185";
3706
  }
3707
-
3708
  .lp-order-statuses::after {
3709
  display: block;
3710
  clear: both;
@@ -3719,15 +3252,13 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3719
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
3720
  border-radius: 3px;
3721
  }
3722
-
3723
- .lp-place-holder [class*="line-"] {
3724
  height: 6px;
3725
  width: 400px;
3726
  background: #f6f7f9;
3727
  margin-bottom: 13px;
3728
  margin-right: 5px;
3729
  }
3730
-
3731
  .lp-place-holder .thumbnail {
3732
  height: 40px;
3733
  width: 40px;
@@ -3735,35 +3266,28 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3735
  margin-right: 20px;
3736
  display: inline-block;
3737
  }
3738
-
3739
  .lp-place-holder .line-heading {
3740
  width: 80%;
3741
  height: 20px;
3742
  }
3743
-
3744
  .lp-place-holder .line-sm {
3745
  width: 30%;
3746
  margin-top: 10px;
3747
  }
3748
-
3749
  .lp-place-holder .line-xs {
3750
  width: 50%;
3751
  }
3752
-
3753
  .lp-place-holder .line-df {
3754
  margin-top: 30px;
3755
  width: 380px;
3756
  }
3757
-
3758
  .lp-place-holder .line-lg {
3759
  width: 200px;
3760
  }
3761
-
3762
  .lp-place-holder .line-lgx {
3763
  width: 450px;
3764
  }
3765
-
3766
- .lp-place-holder [class*="line"],
3767
  .lp-place-holder .thumbnail {
3768
  animation: lpTimeLine;
3769
  animation-duration: 1s;
@@ -3782,7 +3306,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3782
  background-position: 400px 0;
3783
  }
3784
  }
3785
-
3786
  .post-type-lp_order {
3787
  /*Export order function style*/
3788
  /* The Modal (background) */
@@ -3790,28 +3313,23 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3790
  /* The Close Button */
3791
  /*tabs css*/
3792
  }
3793
-
3794
  .post-type-lp_order #post-body-content {
3795
  display: none;
3796
  }
3797
-
3798
  .post-type-lp_order #order_details {
3799
  border: none !important;
3800
  background: transparent !important;
3801
  }
3802
-
3803
  .post-type-lp_order #order_details .hndle,
3804
  .post-type-lp_order #order_details .handlediv,
3805
  .post-type-lp_order #order_details .postbox-header {
3806
  display: none;
3807
  }
3808
-
3809
  .post-type-lp_order #order_details .inside {
3810
  display: block !important;
3811
  margin: 0;
3812
  padding: 0;
3813
  }
3814
-
3815
  .post-type-lp_order #order_details .order-data {
3816
  margin: 0 0 20px 0 !important;
3817
  padding: 30px !important;
@@ -3819,87 +3337,70 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3819
  background-color: #fff !important;
3820
  box-shadow: none !important;
3821
  }
3822
-
3823
  .post-type-lp_order #order_details .order-data-field {
3824
  margin-bottom: 20px;
3825
  }
3826
-
3827
  .post-type-lp_order #order_details .order-data-field label {
3828
  display: block;
3829
  margin-bottom: 5px;
3830
  font-weight: 500;
3831
  }
3832
-
3833
  .post-type-lp_order #order_details .order-data-number {
3834
  margin: 0 0 10px;
3835
  font-size: 20px;
3836
  font-weight: 600;
3837
  }
3838
-
3839
  .post-type-lp_order #order_details .payment-method-title {
3840
  color: #777;
3841
  font-size: 16px;
3842
  }
3843
-
3844
  .post-type-lp_order #order_details .payment-method-title strong {
3845
  color: #23282d;
3846
  }
3847
-
3848
  .post-type-lp_order #order_details .order-data-heading {
3849
  margin-top: 40px;
3850
  font-size: 16px;
3851
  }
3852
-
3853
  .post-type-lp_order #order_details .order-users {
3854
  display: inline-block;
3855
  }
3856
-
3857
  .post-type-lp_order #order_details .order-users .description {
3858
  margin-top: 10px;
3859
  padding: 10px;
3860
  background: #eee;
3861
  }
3862
-
3863
  .post-type-lp_order #order_details .order-data-date .order-date {
3864
  width: 100px;
3865
  }
3866
-
3867
  .post-type-lp_order #order_details .order-data-date .order-hour,
3868
  .post-type-lp_order #order_details .order-data-date .order-minute {
3869
  width: 50px;
3870
  }
3871
-
3872
  .post-type-lp_order #order_details .order-data-note {
3873
  display: inline-block;
3874
  }
3875
-
3876
  .post-type-lp_order #order_details .order-data-note .order-note {
3877
  padding: 10px;
3878
  color: #fff;
3879
  background-color: #c1a3b6;
3880
  font-size: 14px;
3881
  }
3882
-
3883
  .post-type-lp_order #order_details .order-items {
3884
  margin: 0;
3885
  border: 1px solid #ccd0d4 !important;
3886
  background-color: #fff;
3887
  }
3888
-
3889
  .post-type-lp_order #order_details .order-items table {
3890
  width: 100%;
3891
  border-collapse: collapse;
3892
  }
3893
-
3894
  .post-type-lp_order #order_details .order-items table thead {
3895
  margin: 0;
3896
  padding: 0;
3897
  }
3898
-
3899
  .post-type-lp_order #order_details .order-items table thead tr {
3900
  background-color: #f8f8f8;
3901
  }
3902
-
3903
  .post-type-lp_order #order_details .order-items table thead th {
3904
  padding: 15px;
3905
  border-bottom: none;
@@ -3907,53 +3408,42 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3907
  font-weight: 400;
3908
  text-align: left;
3909
  }
3910
-
3911
  .post-type-lp_order #order_details .order-items table thead th:first-child {
3912
  padding-left: 30px;
3913
  }
3914
-
3915
  .post-type-lp_order #order_details .order-items table thead th:last-child {
3916
  padding-right: 30px;
3917
  }
3918
-
3919
  .post-type-lp_order #order_details .order-items table tbody td,
3920
  .post-type-lp_order #order_details .order-items table tfoot td {
3921
  padding: 10px;
3922
  border-bottom: 1px solid #ddd;
3923
  text-align: left;
3924
  }
3925
-
3926
  .post-type-lp_order #order_details .order-items table tbody {
3927
  margin: 0;
3928
  padding: 0;
3929
  }
3930
-
3931
  .post-type-lp_order #order_details .order-items table tbody tr td {
3932
  padding: 15px;
3933
  }
3934
-
3935
  .post-type-lp_order #order_details .order-items table tbody tr td:first-child {
3936
  padding-left: 30px;
3937
  }
3938
-
3939
  .post-type-lp_order #order_details .order-items table tbody tr td:last-child {
3940
  padding-right: 30px;
3941
  }
3942
-
3943
  .post-type-lp_order #order_details .order-items table tfoot {
3944
  margin: 0;
3945
  padding: 0;
3946
  }
3947
-
3948
  .post-type-lp_order #order_details .order-items table tfoot tr {
3949
  background-color: #f8f8f8;
3950
  }
3951
-
3952
  .post-type-lp_order #order_details .order-items table tfoot tr:last-child td {
3953
  padding-top: 20px;
3954
  padding-bottom: 20px;
3955
  }
3956
-
3957
  .post-type-lp_order #order_details .order-items table tfoot td {
3958
  padding: 10px 15px;
3959
  padding-bottom: 0;
@@ -3961,51 +3451,41 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
3961
  font-size: 14px;
3962
  text-align: right;
3963
  }
3964
-
3965
  .post-type-lp_order #order_details .order-items table tfoot td:first-child {
3966
  padding-left: 30px;
3967
  }
3968
-
3969
  .post-type-lp_order #order_details .order-items table tfoot td:last-child {
3970
  padding-right: 30px;
3971
  }
3972
-
3973
  .post-type-lp_order #order_details .order-items table .column-price,
3974
  .post-type-lp_order #order_details .order-items table .column-total,
3975
  .post-type-lp_order #order_details .order-items table .column-quantity {
3976
  width: 150px;
3977
  text-align: right;
3978
  }
3979
-
3980
  .post-type-lp_order #order_details .order-items table .row-subtotal td .order-subtotal,
3981
  .post-type-lp_order #order_details .order-items table .row-subtotal td .order-total,
3982
  .post-type-lp_order #order_details .order-items table .row-total td .order-subtotal,
3983
  .post-type-lp_order #order_details .order-items table .row-total td .order-total {
3984
  font-weight: 700;
3985
  }
3986
-
3987
  .post-type-lp_order #order_details .order-items table .remove-order-item {
3988
  outline: none;
3989
  color: #ccc;
3990
  text-decoration: none;
3991
  }
3992
-
3993
  .post-type-lp_order #order_details .order-items table .remove-order-item .dashicons {
3994
  font-size: 20px;
3995
  }
3996
-
3997
  .post-type-lp_order #order_details .order-items table .remove-order-item:hover {
3998
  color: #f00;
3999
  }
4000
-
4001
  .post-type-lp_order #order_details .order-items table .order-item-row:hover .remove-order-item {
4002
  display: inline-block;
4003
  }
4004
-
4005
  .post-type-lp_order #order-export__button:hover {
4006
  cursor: pointer;
4007
  }
4008
-
4009
  .post-type-lp_order .export-modal.modal {
4010
  display: none;
4011
  position: fixed;
@@ -4018,7 +3498,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4018
  background-color: #000000;
4019
  background-color: rgba(0, 0, 0, 0.4);
4020
  }
4021
-
4022
  .post-type-lp_order .export-modal .modal-content {
4023
  background-color: #fefefe;
4024
  margin: 5% auto;
@@ -4027,7 +3506,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4027
  width: 60%;
4028
  position: relative;
4029
  }
4030
-
4031
  .post-type-lp_order .export-modal .close {
4032
  color: #aaa;
4033
  position: absolute;
@@ -4036,27 +3514,22 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4036
  top: -5px;
4037
  right: 11px;
4038
  }
4039
-
4040
  .post-type-lp_order .export-modal .close:hover {
4041
  color: black;
4042
  text-decoration: none;
4043
  cursor: pointer;
4044
  }
4045
-
4046
  .post-type-lp_order .export-modal .close:focus {
4047
  color: black;
4048
  text-decoration: none;
4049
  cursor: pointer;
4050
  }
4051
-
4052
  .post-type-lp_order .export-modal .panel {
4053
  display: none;
4054
  }
4055
-
4056
  .post-type-lp_order .export-modal .panel.active {
4057
  display: block;
4058
  }
4059
-
4060
  .post-type-lp_order #order-export__tabs.tabs {
4061
  display: flex;
4062
  justify-content: space-around;
@@ -4064,7 +3537,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4064
  height: 40px;
4065
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
4066
  }
4067
-
4068
  .post-type-lp_order #order-export__tabs.tabs > * {
4069
  width: 100%;
4070
  color: dimgray;
@@ -4074,46 +3546,37 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4074
  justify-content: center;
4075
  align-items: center;
4076
  }
4077
-
4078
  .post-type-lp_order #order-export__tabs.tabs > *:hover:not(.active) {
4079
  background-color: #dcdcdc;
4080
  }
4081
-
4082
  .post-type-lp_order #order-export__tabs.tabs > .active {
4083
  color: white;
4084
  background-color: #4CAF50;
4085
  }
4086
-
4087
  .post-type-lp_order #lp-invoice__content {
4088
  margin-bottom: 25px;
4089
  }
4090
-
4091
  .post-type-lp_order #lp-invoice__content thead th {
4092
  border-bottom: 1px solid #000;
4093
  border-top: 1px solid #000;
4094
  padding: 10px 20px;
4095
  }
4096
-
4097
  .post-type-lp_order #lp-invoice__content tbody td {
4098
  border-bottom: 1px solid #000;
4099
  text-align: center;
4100
  padding: 10px 20px;
4101
  }
4102
-
4103
  .post-type-lp_order #lp-invoice__content tfoot td {
4104
  border-bottom: 1px solid #000;
4105
  text-align: center;
4106
  padding: 10px 20px;
4107
  }
4108
-
4109
  .post-type-lp_order .export-options__content {
4110
  margin-bottom: 25px;
4111
  }
4112
-
4113
  .post-type-lp_order .export-options {
4114
  position: relative;
4115
  }
4116
-
4117
  .post-type-lp_order .export-options__loading {
4118
  opacity: 0;
4119
  z-index: -1;
@@ -4129,20 +3592,17 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4129
  align-items: center;
4130
  justify-content: center;
4131
  }
4132
-
4133
  .post-type-lp_order .export-options__loading .spinner {
4134
  background: url("../../images/spinner.gif") no-repeat center center;
4135
  z-index: 9;
4136
  display: inline-block;
4137
  visibility: visible;
4138
  }
4139
-
4140
  .post-type-lp_order .export-options__loading.active {
4141
  opacity: 1;
4142
  z-index: 9;
4143
  visibility: visible;
4144
  }
4145
-
4146
  .post-type-lp_order #lp-invoice__export {
4147
  color: white;
4148
  background-color: #4CAF50;
@@ -4153,7 +3613,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4153
  -o-transition: all 0.5s ease;
4154
  -webkit-transition: all 0.5s ease;
4155
  }
4156
-
4157
  .post-type-lp_order #lp-invoice__export:hover {
4158
  color: #000;
4159
  background-color: #fff;
@@ -4164,7 +3623,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4164
  -webkit-transition: all 0.5s ease;
4165
  cursor: pointer;
4166
  }
4167
-
4168
  .post-type-lp_order #lp-invoice__update {
4169
  color: white;
4170
  background-color: #4CAF50;
@@ -4175,7 +3633,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4175
  -o-transition: all 0.5s ease;
4176
  -webkit-transition: all 0.5s ease;
4177
  }
4178
-
4179
  .post-type-lp_order #lp-invoice__update:hover {
4180
  color: #000;
4181
  background-color: #fff;
@@ -4186,19 +3643,16 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4186
  -webkit-transition: all 0.5s ease;
4187
  cursor: pointer;
4188
  }
4189
-
4190
  .post-type-lp_order #lp-invoice__actions {
4191
  display: flex;
4192
  flex-direction: row;
4193
  justify-content: flex-end;
4194
  }
4195
-
4196
  .post-type-lp_order .export-options__actions {
4197
  display: flex;
4198
  flex-direction: row;
4199
  justify-content: flex-end;
4200
  }
4201
-
4202
  .post-type-lp_order .lp-invoice__body table {
4203
  border-spacing: 0;
4204
  width: 100%;
@@ -4207,11 +3661,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4207
  #learn-press-toggle-settings-js-css {
4208
  display: none;
4209
  }
4210
-
4211
  #learn-press-toggle-settings-js-css + table {
4212
  display: none;
4213
  }
4214
-
4215
  #learn-press-toggle-settings-js-css:checked + table {
4216
  display: table;
4217
  }
@@ -4220,59 +3672,48 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4220
  margin: 0 20px 20px 0;
4221
  float: left;
4222
  }
4223
-
4224
  .color-schemas ul {
4225
  list-style: none;
4226
  margin: 0;
4227
  padding: 0;
4228
  }
4229
-
4230
  .color-schemas ul > li > label {
4231
  font-weight: 600;
4232
  display: block;
4233
  margin-bottom: 10px;
4234
  }
4235
-
4236
  .color-schemas .wp-color-picker {
4237
  width: 80px;
4238
  height: 24px;
4239
  vertical-align: top;
4240
  margin: 0;
4241
  }
4242
-
4243
  .color-schemas .wp-picker-holder {
4244
  position: absolute;
4245
  }
4246
-
4247
  .color-schemas .buttons {
4248
  display: none;
4249
  }
4250
-
4251
  .color-schemas table {
4252
  border-collapse: collapse;
4253
  position: relative;
4254
  }
4255
-
4256
  .color-schemas table td, .color-schemas table th {
4257
  padding: 10px 10px;
4258
  }
4259
-
4260
  .color-schemas table tbody {
4261
  border: 1px solid transparent;
4262
  position: relative;
4263
  }
4264
-
4265
  .color-schemas table tbody td, .color-schemas table tbody th {
4266
  text-align: left;
4267
  background: #F5F5F5;
4268
  }
4269
-
4270
  .color-schemas table tbody tr:first-child td, .color-schemas table tbody tr:first-child th {
4271
  padding-bottom: 0;
4272
  }
4273
-
4274
  .color-schemas table:after {
4275
- content: '';
4276
  position: absolute;
4277
  top: 0;
4278
  left: 0;
@@ -4280,50 +3721,39 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4280
  bottom: 0;
4281
  background: rgba(255, 255, 255, 0.7);
4282
  }
4283
-
4284
  .color-schemas tfoot td, .color-schemas tfoot th {
4285
  padding-left: 0;
4286
  padding-right: 0;
4287
  }
4288
-
4289
  .color-schemas .remove-schema {
4290
  float: right;
4291
  color: #FF0000;
4292
  }
4293
-
4294
  .color-schemas .wp-color-result {
4295
  margin: 0;
4296
  }
4297
-
4298
  .color-schemas .clone-schema {
4299
  display: none;
4300
  }
4301
-
4302
  .color-schemas:first-child .remove-schema,
4303
  .color-schemas:first-child .apply-schema {
4304
  display: none;
4305
  }
4306
-
4307
  .color-schemas:nth-child(2) {
4308
  clear: both;
4309
  }
4310
-
4311
  .color-schemas:hover tbody {
4312
  opacity: 1;
4313
  }
4314
-
4315
  .color-schemas.current tbody {
4316
  border-color: #DDD;
4317
  }
4318
-
4319
  .color-schemas.current tbody td, .color-schemas.current tbody th {
4320
  background: rgba(5, 215, 255, 0.26);
4321
  }
4322
-
4323
  .color-schemas.current table:after {
4324
  display: none;
4325
  }
4326
-
4327
  .color-schemas.current .clone-schema {
4328
  display: inline-block;
4329
  }
@@ -4331,7 +3761,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4331
  .wp-picker-container {
4332
  position: relative;
4333
  }
4334
-
4335
  .wp-picker-container .wp-picker-holder {
4336
  z-index: 99999;
4337
  }
@@ -4344,42 +3773,35 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4344
  border-radius: 4px;
4345
  background-color: #fff;
4346
  }
4347
-
4348
  .lp-install-sample__options {
4349
  margin-bottom: 20px;
4350
  padding: 0 20px;
4351
  border: 1px solid #eee;
4352
  border-radius: 4px;
4353
  }
4354
-
4355
  .lp-install-sample__options legend {
4356
  padding: 5px;
4357
  font-weight: 500;
4358
  }
4359
-
4360
  .lp-install-sample__buttons {
4361
  display: flex;
4362
  margin-top: 25px;
4363
  align-items: center;
4364
  justify-content: space-between;
4365
  }
4366
-
4367
  .lp-install-sample__toggle-options {
4368
  margin-right: auto;
4369
  margin-left: 10px;
4370
  }
4371
-
4372
  .lp-install-sample__uninstall {
4373
  float: right;
4374
  }
4375
-
4376
  .lp-install-sample__response {
4377
  margin: 0;
4378
  padding: 10px;
4379
  border: 2px solid #059601;
4380
  border-radius: 6px;
4381
  }
4382
-
4383
  .lp-install-sample__response.fail {
4384
  border-color: #d85554;
4385
  }
@@ -4397,14 +3819,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4397
  align-items: center;
4398
  justify-content: center;
4399
  }
4400
-
4401
  .lp-update-db-modal__hidden {
4402
  display: none !important;
4403
  visibility: hidden;
4404
  opacity: 0;
4405
  pointer-events: none;
4406
  }
4407
-
4408
  .lp-update-db-modal__overlay {
4409
  position: absolute;
4410
  z-index: 1;
@@ -4419,7 +3839,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4419
  transition-duration: 150ms;
4420
  transition-property: opacity;
4421
  }
4422
-
4423
  .lp-update-db-modal__content {
4424
  display: inline-block;
4425
  overflow: hidden;
@@ -4430,17 +3849,14 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4430
  text-align: left;
4431
  vertical-align: middle;
4432
  }
4433
-
4434
  .lp-update-db-modal__content-header {
4435
  padding: 24px 24px 16px 24px;
4436
  background-color: #fff;
4437
  }
4438
-
4439
  .lp-update-db-modal__content-start {
4440
  display: flex;
4441
  flex-direction: flex-start;
4442
  }
4443
-
4444
  .lp-update-db-modal__content-icon {
4445
  display: flex;
4446
  width: 40px;
@@ -4453,31 +3869,25 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4453
  align-items: center;
4454
  flex: 0 0 auto;
4455
  }
4456
-
4457
  .lp-update-db-modal__content-icon svg {
4458
  width: 24px;
4459
  height: 24px;
4460
  color: #dc2626;
4461
  }
4462
-
4463
  .lp-update-db-modal__content-icon svg:last-child {
4464
  color: #258d6c;
4465
  }
4466
-
4467
  .lp-update-db-modal__content-icon__success {
4468
  display: none;
4469
  }
4470
-
4471
  .lp-update-db-modal__content-text {
4472
  margin-left: 18px;
4473
  text-align: left;
4474
  }
4475
-
4476
  .lp-update-db-modal__content-text h3 {
4477
  margin: 0;
4478
  font-weight: 500;
4479
  }
4480
-
4481
  .lp-update-db-modal__content-text p {
4482
  margin: 0;
4483
  margin-top: 10px;
@@ -4485,7 +3895,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4485
  font-size: 14px;
4486
  font-weight: 400;
4487
  }
4488
-
4489
  .lp-update-db-modal__content-footer {
4490
  display: flex;
4491
  flex-direction: row;
@@ -4494,7 +3903,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4494
  justify-content: flex-end;
4495
  align-items: center;
4496
  }
4497
-
4498
  .lp-update-db-modal__content-footer a {
4499
  padding: 8px 16px;
4500
  border: 1px solid #e5e7eb;
@@ -4504,21 +3912,17 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4504
  font-weight: 500;
4505
  text-decoration: none;
4506
  }
4507
-
4508
  .lp-update-db-modal__content-footer a:last-child {
4509
  margin-left: 10px;
4510
  color: #fff;
4511
  background-color: #0073aa;
4512
  }
4513
-
4514
  .lp-update-db-modal__success .lp-update-db-modal__content-icon {
4515
  background-color: #def7ec;
4516
  }
4517
-
4518
  .lp-update-db-modal__success .lp-update-db-modal__content-icon__error {
4519
  display: none;
4520
  }
4521
-
4522
  .lp-update-db-modal__success .lp-update-db-modal__content-icon__success {
4523
  display: block;
4524
  }
@@ -4531,7 +3935,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4531
  max-width: 500px;
4532
  margin: 0 auto;
4533
  }
4534
-
4535
  .terms-upgrade .error {
4536
  display: none;
4537
  }
@@ -4554,7 +3957,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4554
  .tools-select__data {
4555
  overflow: hidden;
4556
  }
4557
-
4558
  .tools-select__data li {
4559
  background-color: #fff;
4560
  border: 1px solid #eee;
@@ -4569,7 +3971,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4569
  padding: 10px;
4570
  width: 100%;
4571
  }
4572
-
4573
  .tools-select__data li input {
4574
  margin: 0 10px 0 0;
4575
  }
@@ -4586,7 +3987,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4586
  align-items: center;
4587
  justify-content: center;
4588
  }
4589
-
4590
  .progressbar__content span {
4591
  z-index: 9;
4592
  }
@@ -4640,7 +4040,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4640
  margin: 0;
4641
  background-color: #fff;
4642
  }
4643
-
4644
  .lp-admin-editor .heading,
4645
  .lp-admin-editor .lp-box-data-content {
4646
  padding: 0;
@@ -4667,12 +4066,10 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4667
  align-items: center;
4668
  line-height: 1;
4669
  }
4670
-
4671
  #admin-editor-lp_course .lp-course-curriculum .heading h4 {
4672
  margin: 0;
4673
  font-size: 16px;
4674
  }
4675
-
4676
  #admin-editor-lp_course .lp-course-curriculum .heading .collapse-sections {
4677
  display: flex;
4678
  width: 40px;
@@ -4683,15 +4080,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4683
  justify-content: center;
4684
  align-items: center;
4685
  }
4686
-
4687
  #admin-editor-lp_course .lp-course-curriculum .heading .collapse-sections.close::before {
4688
  content: "\f140";
4689
  }
4690
-
4691
  #admin-editor-lp_course .lp-course-curriculum .heading .collapse-sections.open::before {
4692
  content: "\f142";
4693
  }
4694
-
4695
  #admin-editor-lp_course .lp-course-curriculum .heading .status {
4696
  visibility: hidden;
4697
  position: relative;
@@ -4700,60 +4094,48 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4700
  font-family: Dashicons;
4701
  font-size: 20px;
4702
  }
4703
-
4704
  #admin-editor-lp_course .lp-course-curriculum .heading .status::before {
4705
  content: "\f463";
4706
  }
4707
-
4708
  #admin-editor-lp_course .lp-course-curriculum .heading .status.loading {
4709
  display: inline-block;
4710
  visibility: visible;
4711
  animation: rotation 2s infinite linear;
4712
  }
4713
-
4714
  #admin-editor-lp_course .lp-course-curriculum .curriculum-sections {
4715
  margin: 0;
4716
  margin: 0 20px 20px 20px;
4717
  border: 1px solid #ddd;
4718
  }
4719
-
4720
  #admin-editor-lp_course .lp-course-curriculum .section {
4721
  margin: 0;
4722
  border-bottom: 1px solid #e5e5e5;
4723
  opacity: 1;
4724
  background: #fff;
4725
  }
4726
-
4727
  #admin-editor-lp_course .lp-course-curriculum .section:first-child {
4728
  border-top: 0;
4729
  }
4730
-
4731
  #admin-editor-lp_course .lp-course-curriculum .section.new-section {
4732
  margin-top: 1px;
4733
  border: none;
4734
  }
4735
-
4736
  #admin-editor-lp_course .lp-course-curriculum .section.new-section form {
4737
  margin: 0;
4738
  }
4739
-
4740
  #admin-editor-lp_course .lp-course-curriculum .section.new-section .section-head {
4741
  background-color: #f4fcff;
4742
  }
4743
-
4744
  #admin-editor-lp_course .lp-course-curriculum .section.new-section .section-head .creatable {
4745
  position: relative;
4746
  top: 1px;
4747
  }
4748
-
4749
  #admin-editor-lp_course .lp-course-curriculum .section.new-section .section-head .creatable::before {
4750
  content: "\f132";
4751
  }
4752
-
4753
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section {
4754
  position: relative;
4755
  }
4756
-
4757
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section::after {
4758
  position: absolute;
4759
  top: 0;
@@ -4764,7 +4146,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4764
  background: #fff;
4765
  content: "";
4766
  }
4767
-
4768
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section .section-head .movable::before {
4769
  display: inline-block;
4770
  color: #a2a2a2;
@@ -4775,24 +4156,19 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4775
  -o-animation: rotating4 2s linear infinite;
4776
  animation: rotating4 2s linear infinite;
4777
  }
4778
-
4779
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section .section-collapse {
4780
  display: none;
4781
  }
4782
-
4783
  #admin-editor-lp_course .lp-course-curriculum .section:hover .section-actions .remove {
4784
  display: inline-block;
4785
  }
4786
-
4787
  #admin-editor-lp_course .lp-course-curriculum .section input {
4788
  background-color: transparent;
4789
  box-shadow: none;
4790
  }
4791
-
4792
  #admin-editor-lp_course .lp-course-curriculum .section input:focus {
4793
  box-shadow: none;
4794
  }
4795
-
4796
  #admin-editor-lp_course .lp-course-curriculum .section .section-head {
4797
  display: flex;
4798
  position: relative;
@@ -4804,7 +4180,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4804
  transition: background 500ms ease-out;
4805
  align-items: center;
4806
  }
4807
-
4808
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable,
4809
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .creatable {
4810
  display: inline-block;
@@ -4816,40 +4191,32 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4816
  text-align: center;
4817
  vertical-align: middle;
4818
  }
4819
-
4820
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable {
4821
  margin-right: -1px;
4822
  cursor: url("../../images/openhand.cur") 7 5, default;
4823
  }
4824
-
4825
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable::before {
4826
  content: "\f333";
4827
  }
4828
-
4829
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable:hover {
4830
  color: #0085ba;
4831
  }
4832
-
4833
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .section-item-counts {
4834
  line-height: 40px;
4835
  }
4836
-
4837
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions {
4838
  height: 100%;
4839
  color: #444;
4840
  }
4841
-
4842
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions > * {
4843
  display: inline-block;
4844
  height: 100%;
4845
  text-align: center;
4846
  cursor: pointer;
4847
  }
4848
-
4849
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse:hover {
4850
  color: #0085ba;
4851
  }
4852
-
4853
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse::before {
4854
  display: inline-block;
4855
  width: 40px;
@@ -4858,15 +4225,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4858
  font-size: 16px;
4859
  line-height: 40px;
4860
  }
4861
-
4862
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse.open::before {
4863
  content: "\f343";
4864
  }
4865
-
4866
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse.close::before {
4867
  content: "\f347";
4868
  }
4869
-
4870
  #admin-editor-lp_course .lp-course-curriculum .section .name {
4871
  width: 100%;
4872
  border: none;
@@ -4875,24 +4239,19 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4875
  font-weight: 600;
4876
  line-height: 50px;
4877
  }
4878
-
4879
  #admin-editor-lp_course .lp-course-curriculum .section .name:focus {
4880
  color: #444;
4881
  }
4882
-
4883
  #admin-editor-lp_course .lp-course-curriculum .section .section-collapse {
4884
  overflow: hidden;
4885
  }
4886
-
4887
  #admin-editor-lp_course .lp-course-curriculum .section .section-content {
4888
  padding: 20px;
4889
  border-top: 1px solid #e5e5e5;
4890
  }
4891
-
4892
  #admin-editor-lp_course .lp-course-curriculum .section .details {
4893
  margin-bottom: 20px;
4894
  }
4895
-
4896
  #admin-editor-lp_course .lp-course-curriculum .section .title-input {
4897
  padding-left: 0;
4898
  border: none;
@@ -4900,7 +4259,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4900
  line-height: 30px;
4901
  flex: 1;
4902
  }
4903
-
4904
  #admin-editor-lp_course .lp-course-curriculum .section .description-input {
4905
  width: 100%;
4906
  margin: 0;
@@ -4908,22 +4266,18 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4908
  border: none;
4909
  color: #999;
4910
  }
4911
-
4912
  #admin-editor-lp_course .lp-course-curriculum .section .description-input:focus {
4913
  color: #444;
4914
  }
4915
-
4916
  #admin-editor-lp_course .lp-course-curriculum .section-list-items {
4917
  width: 100%;
4918
  border-collapse: collapse;
4919
  }
4920
-
4921
  #admin-editor-lp_course .lp-course-curriculum .section-list-items ul {
4922
  position: relative;
4923
  min-height: 5px;
4924
  margin: 0;
4925
  }
4926
-
4927
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item {
4928
  display: flex;
4929
  position: relative;
@@ -4935,15 +4289,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4935
  justify-content: center;
4936
  align-items: center;
4937
  }
4938
-
4939
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.ui-sortable-helper {
4940
  border-bottom: 1px solid #eee;
4941
  }
4942
-
4943
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:nth-child(2n+1) {
4944
  background-color: #f7f7f7;
4945
  }
4946
-
4947
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.updating::before {
4948
  position: absolute;
4949
  z-index: 2;
@@ -4953,11 +4304,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4953
  left: 0;
4954
  content: "";
4955
  }
4956
-
4957
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.removing {
4958
  background-color: #ffeded;
4959
  }
4960
-
4961
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .drag {
4962
  height: 20px;
4963
  padding-top: 3px;
@@ -4966,28 +4315,23 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4966
  fill: #999;
4967
  flex: 0 0 18px;
4968
  }
4969
-
4970
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .drag:hover {
4971
  fill: #0085ba;
4972
  }
4973
-
4974
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .icon {
4975
  display: flex;
4976
  align-items: center;
4977
  justify-content: center;
4978
  }
4979
-
4980
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .title {
4981
  margin-right: 120px;
4982
  margin-left: 2px;
4983
  flex-grow: 1;
4984
  flex-basis: 100%;
4985
  }
4986
-
4987
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .title input {
4988
  color: inherit;
4989
  }
4990
-
4991
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions {
4992
  display: flex;
4993
  position: absolute;
@@ -4997,32 +4341,25 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
4997
  align-items: center;
4998
  justify-content: center;
4999
  }
5000
-
5001
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions {
5002
  margin: 0;
5003
  }
5004
-
5005
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions > * {
5006
  visibility: hidden;
5007
  margin-right: 10px;
5008
  }
5009
-
5010
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions .edit {
5011
  text-decoration: none;
5012
  }
5013
-
5014
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions .remove {
5015
  color: #a00;
5016
  }
5017
-
5018
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:hover .drag {
5019
  visibility: visible;
5020
  }
5021
-
5022
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:not(.lp_lesson) .item-actions .actions .preview-item {
5023
  display: none;
5024
  }
5025
-
5026
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item {
5027
  display: flex;
5028
  position: relative;
@@ -5030,7 +4367,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5030
  transition: all 200ms ease-out;
5031
  align-items: center;
5032
  }
5033
-
5034
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .drag {
5035
  display: flex;
5036
  width: 30px;
@@ -5042,70 +4378,55 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5042
  align-items: center;
5043
  justify-content: center;
5044
  }
5045
-
5046
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .drag::before {
5047
  content: "\f132";
5048
  }
5049
-
5050
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .title {
5051
  display: inline-block;
5052
  margin: 0;
5053
  flex: 1;
5054
  }
5055
-
5056
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types {
5057
  display: inline-block;
5058
  }
5059
-
5060
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:hover, #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:focus {
5061
  background-color: #fff;
5062
  }
5063
-
5064
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:hover .type, #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:focus .type {
5065
  display: inline-block;
5066
  }
5067
-
5068
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type {
5069
  display: inline-block;
5070
  padding: 8px 5px;
5071
  color: #ccc;
5072
  }
5073
-
5074
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type input {
5075
  display: none;
5076
  }
5077
-
5078
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.current {
5079
  color: #0085ba;
5080
  }
5081
-
5082
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type::before {
5083
  position: relative;
5084
  top: 2px;
5085
  font-family: Dashicons;
5086
  font-size: 20px;
5087
  }
5088
-
5089
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.lp_quiz {
5090
  padding: 8px 6px 8px 0;
5091
  }
5092
-
5093
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.lp_quiz::before {
5094
  content: "\f469";
5095
  }
5096
-
5097
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.lp_lesson::before {
5098
  content: "\f330";
5099
  }
5100
-
5101
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.empty-item::before {
5102
  content: "\f463";
5103
  }
5104
-
5105
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions {
5106
  text-align: right;
5107
  }
5108
-
5109
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action {
5110
  display: inline-block;
5111
  position: relative;
@@ -5117,22 +4438,18 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5117
  vertical-align: middle;
5118
  cursor: pointer;
5119
  }
5120
-
5121
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action > a {
5122
  width: 30px;
5123
  height: 30px;
5124
  color: #999;
5125
  line-height: 30px;
5126
  }
5127
-
5128
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action > a:hover {
5129
  color: #0073aa;
5130
  }
5131
-
5132
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item > a:hover {
5133
  color: #e74c3c;
5134
  }
5135
-
5136
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul {
5137
  display: none;
5138
  position: absolute;
@@ -5145,13 +4462,11 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5145
  background: #fdfeff;
5146
  text-align: center;
5147
  }
5148
-
5149
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li {
5150
  margin: 0;
5151
  border-bottom: 1px solid #eee;
5152
  text-align: right;
5153
  }
5154
-
5155
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li a {
5156
  display: block;
5157
  padding: 10px 25px;
@@ -5159,37 +4474,29 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5159
  font-size: 12px;
5160
  text-decoration: none;
5161
  }
5162
-
5163
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li a.delete-permanently {
5164
  color: #e74c3c;
5165
  }
5166
-
5167
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li:hover {
5168
  background: #eee;
5169
  }
5170
-
5171
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item:hover ul {
5172
  display: block;
5173
  }
5174
-
5175
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:hover .item-actions .actions > * {
5176
  visibility: visible;
5177
  cursor: pointer;
5178
  }
5179
-
5180
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.lp_quiz .icon::before {
5181
  content: "\f469";
5182
  }
5183
-
5184
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.lp_lesson .icon::before {
5185
  content: "\f330";
5186
  }
5187
-
5188
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item {
5189
  position: relative;
5190
  color: #a2a2a2;
5191
  }
5192
-
5193
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item::after {
5194
  position: absolute;
5195
  top: 0;
@@ -5200,11 +4507,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5200
  background: #fff;
5201
  content: "";
5202
  }
5203
-
5204
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item .item-actions {
5205
  display: none;
5206
  }
5207
-
5208
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item .icon::before {
5209
  color: #a2a2a2;
5210
  content: "\f463";
@@ -5214,18 +4519,15 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5214
  -o-animation: rotating4 2s linear infinite;
5215
  animation: rotating4 2s linear infinite;
5216
  }
5217
-
5218
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .icon {
5219
  color: #0085ba;
5220
  font-size: 20px;
5221
  text-align: center;
5222
  flex: 0 0 29px;
5223
  }
5224
-
5225
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .icon::before {
5226
  font-family: Dashicons;
5227
  }
5228
-
5229
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item input {
5230
  width: 100%;
5231
  padding: 8px 10px 8px 0;
@@ -5234,11 +4536,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5234
  font-size: 14px;
5235
  font-weight: 600;
5236
  }
5237
-
5238
  #admin-editor-lp_course .lp-course-curriculum .section-actions {
5239
  padding: 0 20px 20px 20px;
5240
  }
5241
-
5242
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove {
5243
  display: none;
5244
  float: right;
@@ -5249,24 +4549,19 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5249
  line-height: 30px;
5250
  cursor: pointer;
5251
  }
5252
-
5253
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove .icon {
5254
  padding: 0 18px;
5255
  }
5256
-
5257
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove .confirm {
5258
  display: none;
5259
  padding: 0 18px;
5260
  }
5261
-
5262
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove.confirm .confirm {
5263
  display: inline-block;
5264
  }
5265
-
5266
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove.confirm .icon {
5267
  display: none;
5268
  }
5269
-
5270
  #admin-editor-lp_course .lp-course-curriculum .ui-sortable-placeholder {
5271
  display: block;
5272
  visibility: visible !important;
@@ -5280,7 +4575,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5280
  opacity: 0.8;
5281
  background: #a00;
5282
  }
5283
-
5284
  .wp-admin.post-type-lp_course #meta-box-tab-course_payment .learn-press-tip-floating::before {
5285
  top: -7px;
5286
  border: 7px solid transparent;
@@ -5294,7 +4588,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5294
  font-size: 12px;
5295
  white-space: nowrap;
5296
  }
5297
-
5298
  .section-item-counts span {
5299
  color: #999;
5300
  }
@@ -5302,11 +4595,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5302
  #course-editor {
5303
  margin-bottom: 10px;
5304
  }
5305
-
5306
  #course-editor .inside .rwmb-custom_html-wrapper > .rwmb-label {
5307
  display: none;
5308
  }
5309
-
5310
  #course-editor .inside .rwmb-custom_html-wrapper > .rwmb-input {
5311
  margin-left: 0;
5312
  }
@@ -5317,7 +4608,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5317
  #quiz-editor .inside .rwmb-custom_html-wrapper > .rwmb-label {
5318
  display: none;
5319
  }
5320
-
5321
  #quiz-editor .inside .rwmb-custom_html-wrapper > .rwmb-input {
5322
  margin-left: 0;
5323
  }
@@ -5332,11 +4622,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5332
  padding: 0;
5333
  border: none;
5334
  }
5335
-
5336
  #admin-editor-lp_quiz form {
5337
  margin: 0;
5338
  }
5339
-
5340
  #admin-editor-lp_quiz .lp-box-data-head {
5341
  display: flex;
5342
  flex-direction: row;
@@ -5344,11 +4632,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5344
  padding: 6px 20px;
5345
  align-items: center;
5346
  }
5347
-
5348
  #admin-editor-lp_quiz .lp-box-data-head h3 {
5349
  padding: 0;
5350
  }
5351
-
5352
  #admin-editor-lp_quiz .lp-box-data-head .status {
5353
  visibility: hidden;
5354
  position: relative;
@@ -5357,17 +4643,14 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5357
  font-family: Dashicons;
5358
  font-size: 20px;
5359
  }
5360
-
5361
  #admin-editor-lp_quiz .lp-box-data-head .status::before {
5362
  content: "\f463";
5363
  }
5364
-
5365
  #admin-editor-lp_quiz .lp-box-data-head .status.loading {
5366
  display: inline-block;
5367
  visibility: visible;
5368
  animation: rotation 2s infinite linear;
5369
  }
5370
-
5371
  #admin-editor-lp_quiz .lp-box-data-head .collapse-list-questions {
5372
  display: flex;
5373
  width: 40px;
@@ -5379,60 +4662,50 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5379
  justify-content: center;
5380
  align-items: center;
5381
  }
5382
-
5383
  #admin-editor-lp_quiz .lp-box-data-content {
5384
  margin: 20px;
5385
  margin-top: 0;
5386
  border: 1px solid #ddd;
5387
  }
5388
-
5389
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions {
5390
  border-collapse: collapse;
5391
  color: #777;
5392
  }
5393
-
5394
  @media (max-width: 1560px) {
5395
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .fill_in_blanks .question-settings {
5396
  flex-direction: column;
5397
  }
5398
  }
5399
-
5400
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row {
5401
  display: flex;
5402
  flex-direction: row;
5403
  text-align: center;
5404
  align-items: center;
5405
  }
5406
-
5407
  @media (max-width: 1024px) {
5408
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row.question-settings {
5409
  flex-direction: column;
5410
  }
5411
  }
5412
-
5413
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > * {
5414
  width: 100%;
5415
  padding: 12px 8px;
5416
  }
5417
-
5418
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .sort {
5419
  position: relative;
5420
  color: #999;
5421
  cursor: url("../../images/openhand.cur") 7 5, default;
5422
  flex: 0 0 15px;
5423
  }
5424
-
5425
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .sort .svg-icon {
5426
  height: 18px;
5427
  margin-top: -2px;
5428
  vertical-align: middle;
5429
  fill: #999;
5430
  }
5431
-
5432
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .sort:hover {
5433
  fill: #0085ba;
5434
  }
5435
-
5436
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .order {
5437
  padding: 12px 0;
5438
  color: #32373c;
@@ -5440,11 +4713,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5440
  text-align: left;
5441
  flex: 0 0 25px;
5442
  }
5443
-
5444
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .order::after {
5445
  content: ".";
5446
  }
5447
-
5448
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type {
5449
  display: inline-flex;
5450
  position: relative;
@@ -5459,7 +4730,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5459
  flex: 0 0 auto;
5460
  align-items: center;
5461
  }
5462
-
5463
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type > a {
5464
  display: inline-flex;
5465
  width: 100%;
@@ -5470,7 +4740,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5470
  align-items: center;
5471
  justify-content: center;
5472
  }
5473
-
5474
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type > a::after {
5475
  margin-left: 5px;
5476
  font-family: Dashicons;
@@ -5478,7 +4747,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5478
  line-height: 30px;
5479
  content: "\f347";
5480
  }
5481
-
5482
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul {
5483
  visibility: hidden;
5484
  position: absolute;
@@ -5494,11 +4762,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5494
  background: #fdfeff;
5495
  pointer-events: none;
5496
  }
5497
-
5498
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li {
5499
  margin: 0;
5500
  }
5501
-
5502
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li a {
5503
  display: block;
5504
  min-width: 110px;
@@ -5509,57 +4775,45 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5509
  white-space: nowrap;
5510
  text-decoration: none;
5511
  }
5512
-
5513
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li a:hover {
5514
  background-color: #eee;
5515
  }
5516
-
5517
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li.disabled {
5518
  opacity: 0.4;
5519
  background-color: #fff;
5520
  user-select: none;
5521
  pointer-events: none;
5522
  }
5523
-
5524
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type:hover ul {
5525
  visibility: visible;
5526
  opacity: 1;
5527
  pointer-events: visible;
5528
  }
5529
-
5530
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .actions {
5531
  width: 300px;
5532
  }
5533
-
5534
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .name {
5535
  padding-left: 5px;
5536
  }
5537
-
5538
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row:hover > .sort {
5539
  visibility: visible;
5540
  }
5541
-
5542
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row .actions .lp-box-data-actions {
5543
  text-align: right !important;
5544
  }
5545
-
5546
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header {
5547
  display: none;
5548
  border-bottom: 1px solid #ddd;
5549
  }
5550
-
5551
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header .table-row > * {
5552
  font-weight: bold;
5553
  }
5554
-
5555
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header .table-row > .order::after {
5556
  content: "";
5557
  }
5558
-
5559
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header .table-row > .actions {
5560
  padding: 12px 0;
5561
  }
5562
-
5563
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-actions .name input {
5564
  width: 100%;
5565
  padding: 0;
@@ -5570,125 +4824,100 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5570
  font-size: 14px;
5571
  font-weight: normal;
5572
  }
5573
-
5574
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings {
5575
  padding: 0 20px;
5576
  border: 1px solid #ddd;
5577
  border-right: none;
5578
  border-left: none;
5579
  }
5580
-
5581
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings > * {
5582
  padding: 20px 20px 20px 0;
5583
  }
5584
-
5585
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options {
5586
  border: 1px solid #ddd;
5587
  }
5588
-
5589
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .sort {
5590
  width: 12px;
5591
  padding: 8px 6px;
5592
  }
5593
-
5594
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .answer-text {
5595
  width: calc(100% - 100px);
5596
  padding-left: 0;
5597
  color: #444;
5598
  font-weight: 600;
5599
  }
5600
-
5601
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .order {
5602
  width: 10px;
5603
  padding: 0;
5604
  text-align: right;
5605
  }
5606
-
5607
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .answer-correct {
5608
  width: 65px;
5609
  color: #444;
5610
  font-weight: 600;
5611
  text-align: center;
5612
  }
5613
-
5614
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .actions {
5615
  padding: 0;
5616
  text-align: right;
5617
  }
5618
-
5619
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .actions .lp-toolbar-btn {
5620
  height: 42px;
5621
  }
5622
-
5623
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr {
5624
  border: 1px solid #ddd;
5625
  background: #f4fcff;
5626
  }
5627
-
5628
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr:nth-child(2n) {
5629
  background: #fff;
5630
  }
5631
-
5632
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td {
5633
  position: static;
5634
  padding: 0 10px;
5635
  border: none;
5636
  background: inherit;
5637
  }
5638
-
5639
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td.sort {
5640
  width: 12px;
5641
  cursor: url("../../images/openhand.cur") 7 5, default;
5642
  }
5643
-
5644
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td.answer-text {
5645
  padding-left: 0;
5646
  }
5647
-
5648
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td.answer-correct {
5649
  text-align: center;
5650
  }
5651
-
5652
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr .svg-icon {
5653
  height: 18px;
5654
  vertical-align: middle;
5655
  fill: #999;
5656
  }
5657
-
5658
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr:hover .svg-icon {
5659
  visibility: visible;
5660
  }
5661
-
5662
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr:hover .sort:hover .svg-icon {
5663
  fill: #0085ba;
5664
  }
5665
-
5666
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-placeholder {
5667
  visibility: visible !important;
5668
  }
5669
-
5670
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-placeholder td {
5671
  height: 43px;
5672
  background: #bdf4fe !important;
5673
  }
5674
-
5675
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-helper {
5676
  border-right: none;
5677
  border-left: none;
5678
  }
5679
-
5680
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-helper td {
5681
  border-bottom: 1px solid #ddd;
5682
  }
5683
-
5684
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-helper td.sort {
5685
  border-left: 0;
5686
  }
5687
-
5688
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option .sort i {
5689
  display: none;
5690
  }
5691
-
5692
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option .sort::before {
5693
  display: inline-block;
5694
  position: absolute;
@@ -5703,11 +4932,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5703
  -o-animation: rotating4 2s linear infinite;
5704
  animation: rotating4 2s linear infinite;
5705
  }
5706
-
5707
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option td {
5708
  position: relative;
5709
  }
5710
-
5711
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option td::after {
5712
  position: absolute;
5713
  top: 0;
@@ -5718,7 +4945,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5718
  background: #fff;
5719
  content: "";
5720
  }
5721
-
5722
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody .answer-text input {
5723
  width: 100%;
5724
  padding: 0;
@@ -5729,39 +4955,32 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5729
  font-size: 14px;
5730
  font-weight: normal;
5731
  }
5732
-
5733
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item {
5734
  border-bottom: 1px solid #ddd;
5735
  background: #f4fcff;
5736
  line-height: 18px;
5737
  /*&:nth-child(2n+1) {
5738
- background: #f4fcff;
5739
- }*/
5740
  }
5741
-
5742
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.ui-sortable-helper {
5743
  border-top: 1px solid #f1f1f1;
5744
  }
5745
-
5746
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.ui-sortable-placeholder {
5747
  display: block;
5748
  visibility: visible !important;
5749
  border-color: #bdf4fe !important;
5750
  background: #bdf4fe !important;
5751
  }
5752
-
5753
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating {
5754
  position: relative;
5755
  }
5756
-
5757
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-actions .sort, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating .question-actions .sort {
5758
  visibility: visible;
5759
  }
5760
-
5761
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-actions .sort .fa, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating .question-actions .sort .fa {
5762
  display: none;
5763
  }
5764
-
5765
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-actions .sort::after, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating .question-actions .sort::after {
5766
  display: inline-block;
5767
  position: absolute;
@@ -5775,7 +4994,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5775
  -o-animation: rotating4 2s linear infinite;
5776
  animation: rotating4 2s linear infinite;
5777
  }
5778
-
5779
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question::after, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating::after {
5780
  position: absolute;
5781
  top: 0;
@@ -5786,15 +5004,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5786
  background: #fff;
5787
  content: "";
5788
  }
5789
-
5790
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-settings {
5791
  display: none;
5792
  }
5793
-
5794
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .cell {
5795
  padding: 10px;
5796
  }
5797
-
5798
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .name input {
5799
  width: 100%;
5800
  padding: 0;
@@ -5806,12 +5021,10 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5806
  font-weight: normal;
5807
  line-height: 18px;
5808
  }
5809
-
5810
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions {
5811
  margin: 0;
5812
  padding: 0;
5813
  }
5814
-
5815
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons {
5816
  display: grid;
5817
  position: static;
@@ -5822,11 +5035,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5822
  align-items: center;
5823
  justify-content: end;
5824
  }
5825
-
5826
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons > div a {
5827
  visibility: hidden;
5828
  }
5829
-
5830
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn .lp-btn-icon {
5831
  position: absolute;
5832
  z-index: 2;
@@ -5839,21 +5050,17 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5839
  line-height: 30px;
5840
  text-align: center;
5841
  }
5842
-
5843
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn ul {
5844
  z-index: 9;
5845
  }
5846
-
5847
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn ul a {
5848
  padding: 8px 24px;
5849
  line-height: 24px;
5850
  }
5851
-
5852
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn ul a.remove {
5853
  border-bottom: 1px solid #eee;
5854
  color: #666;
5855
  }
5856
-
5857
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-btn-toggle {
5858
  width: 40px;
5859
  height: 42px;
@@ -5862,59 +5069,47 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5862
  font-size: 20px;
5863
  line-height: 42px;
5864
  }
5865
-
5866
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-btn-toggle.open::after {
5867
  content: "\f343";
5868
  }
5869
-
5870
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-btn-toggle.close::after {
5871
  content: "\f347";
5872
  }
5873
-
5874
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions:hover .lp-toolbar-buttons > div a {
5875
  visibility: visible;
5876
  }
5877
-
5878
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings {
5879
  background: #fff;
5880
  }
5881
-
5882
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options {
5883
  padding-right: 0;
5884
  padding-left: 0;
5885
  text-align: left;
5886
  }
5887
-
5888
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside {
5889
  margin: 0;
5890
  padding: 0;
5891
  }
5892
-
5893
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside .lp-quiz-editor__detail-field {
5894
  margin: 0;
5895
  padding: 20px;
5896
  }
5897
-
5898
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside .lp-quiz-editor__detail-field:nth-child(2n+1) {
5899
  background: #f4fcff;
5900
  }
5901
-
5902
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside .lp-quiz-editor__detail-label {
5903
  margin: 0;
5904
  margin-bottom: 10px;
5905
  color: #666;
5906
  font-weight: 600;
5907
  }
5908
-
5909
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox {
5910
  border: 1px solid #ddd;
5911
  }
5912
-
5913
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox .hndle {
5914
  font-weight: 600;
5915
  cursor: default;
5916
  }
5917
-
5918
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox .toggle {
5919
  float: right;
5920
  position: absolute;
@@ -5926,47 +5121,38 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5926
  text-align: center;
5927
  cursor: pointer;
5928
  }
5929
-
5930
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox .toggle::after {
5931
  font-family: Dashicons;
5932
  font-size: 18px;
5933
  content: "\f460";
5934
  }
5935
-
5936
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .quiz-question-options {
5937
  width: 38px;
5938
  }
5939
-
5940
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .postbox {
5941
  min-width: 34px;
5942
  height: 34px;
5943
  line-height: 42px;
5944
  text-align: center;
5945
  }
5946
-
5947
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .postbox .hndle {
5948
  display: none;
5949
  }
5950
-
5951
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .postbox .toggle::after {
5952
  content: "\f132";
5953
  }
5954
-
5955
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.sorting_choice .quiz-question-data table.lp-list-options .answer-correct {
5956
  display: none !important;
5957
  }
5958
-
5959
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer {
5960
  margin-top: -1px;
5961
  border-top: 1px solid #ddd;
5962
  background: #f4fcff;
5963
  }
5964
-
5965
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row {
5966
  height: auto;
5967
  text-align: left;
5968
  }
5969
-
5970
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .lp-sortable-handle {
5971
  display: flex;
5972
  width: 30px;
@@ -5978,27 +5164,22 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
5978
  align-items: center;
5979
  justify-content: center;
5980
  }
5981
-
5982
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .lp-sortable-handle::before {
5983
  content: "\f132";
5984
  }
5985
-
5986
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .order {
5987
  padding: 8px 0;
5988
  line-height: 28px;
5989
  text-align: left;
5990
  }
5991
-
5992
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question {
5993
  padding: 8px 10px 8px 5px;
5994
  }
5995
-
5996
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title {
5997
  display: inline-block;
5998
  position: relative;
5999
  min-width: 500px;
6000
  }
6001
-
6002
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input {
6003
  width: 100%;
6004
  margin: 0;
@@ -6011,26 +5192,21 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6011
  -moz-box-shadow: none;
6012
  box-shadow: none;
6013
  }
6014
-
6015
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input:focus {
6016
  -webkit-box-shadow: none;
6017
  -moz-box-shadow: none;
6018
  box-shadow: none;
6019
  }
6020
-
6021
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input:focus {
6022
  color: #32373c;
6023
  }
6024
-
6025
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input::placeholder {
6026
  display: inline-block;
6027
  }
6028
-
6029
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new {
6030
  display: inline;
6031
  position: relative;
6032
  }
6033
-
6034
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types {
6035
  display: none;
6036
  position: absolute;
@@ -6042,11 +5218,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6042
  border: 1px solid #999;
6043
  background-color: #fff;
6044
  }
6045
-
6046
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li {
6047
  margin: 0;
6048
  }
6049
-
6050
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li a {
6051
  display: block;
6052
  padding: 12px 20px;
@@ -6056,39 +5230,31 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6056
  line-height: 1;
6057
  text-decoration: none;
6058
  }
6059
-
6060
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li a:hover {
6061
  background: #eee;
6062
  }
6063
-
6064
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li.disabled {
6065
  opacity: 0.5;
6066
  background-color: #eee;
6067
  user-select: none;
6068
  pointer-events: none;
6069
  }
6070
-
6071
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new button:hover + .question-types {
6072
  display: block;
6073
  }
6074
-
6075
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new button + .question-types:hover {
6076
  display: block;
6077
  }
6078
-
6079
- #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new button[disabled="disabled"]:hover + .question-types {
6080
  display: none;
6081
  }
6082
-
6083
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .select-item {
6084
  display: inline;
6085
  }
6086
-
6087
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question button {
6088
  height: 30px;
6089
  box-shadow: 0 1px 0 #ccc !important;
6090
  }
6091
-
6092
  #admin-editor-lp_quiz .lp-box-data-content .question-button-actions {
6093
  text-align: left;
6094
  }
@@ -6099,7 +5265,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6099
  #question-editor .inside .rwmb-custom_html-wrapper .rwmb-label {
6100
  display: none;
6101
  }
6102
-
6103
  #question-editor .inside .rwmb-custom_html-wrapper .rwmb-input {
6104
  margin-left: 0;
6105
  }
@@ -6115,24 +5280,20 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6115
  border: none;
6116
  background: #fff;
6117
  }
6118
-
6119
  #admin-editor-lp_question form {
6120
  margin: 0;
6121
  }
6122
-
6123
  #admin-editor-lp_question .lp-box-data-head {
6124
  display: flex;
6125
  flex-direction: row;
6126
  padding: 10px 20px;
6127
  align-items: center;
6128
  }
6129
-
6130
  #admin-editor-lp_question .lp-box-data-head .heading {
6131
  margin: 0;
6132
  padding: 0;
6133
  flex: 1;
6134
  }
6135
-
6136
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor {
6137
  position: relative;
6138
  margin-left: auto;
@@ -6140,7 +5301,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6140
  border-top-left-radius: 0;
6141
  border-bottom-left-radius: 0;
6142
  }
6143
-
6144
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types > a {
6145
  display: inline-flex;
6146
  height: 32px;
@@ -6154,7 +5314,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6154
  cursor: pointer;
6155
  user-select: none;
6156
  }
6157
-
6158
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types > a::after {
6159
  margin-left: 5px;
6160
  font-family: Dashicons;
@@ -6162,7 +5321,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6162
  line-height: 30px;
6163
  content: "\f347";
6164
  }
6165
-
6166
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul {
6167
  display: none;
6168
  position: absolute;
@@ -6176,15 +5334,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6176
  border-radius: 2px;
6177
  background: #fdfeff;
6178
  }
6179
-
6180
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li {
6181
  margin: 0;
6182
  }
6183
-
6184
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li:hover, #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li.active {
6185
  background: #eee;
6186
  }
6187
-
6188
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li a {
6189
  display: block;
6190
  min-width: 110px;
@@ -6195,93 +5350,74 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6195
  white-space: nowrap;
6196
  text-decoration: none;
6197
  }
6198
-
6199
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li.disabled {
6200
  opacity: 0.4;
6201
  }
6202
-
6203
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li.disabled a {
6204
  color: #999;
6205
  cursor: not-allowed;
6206
  pointer-events: none;
6207
  }
6208
-
6209
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul:hover {
6210
  display: block;
6211
  }
6212
-
6213
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor:hover .question-types ul {
6214
  display: block;
6215
  }
6216
-
6217
  #admin-editor-lp_question .lp-box-data-content {
6218
  padding: 0 20px 20px 20px;
6219
  border: none !important;
6220
  }
6221
-
6222
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers {
6223
  width: 100%;
6224
  border: 1px solid #ddd;
6225
  }
6226
-
6227
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tr td {
6228
  padding: 0 15px;
6229
  }
6230
-
6231
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers thead tr th {
6232
  padding: 15px;
6233
  border-bottom: 1px solid #ddd;
6234
  background-color: #eee;
6235
  font-weight: 600;
6236
  }
6237
-
6238
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers thead tr th.answer-text {
6239
  padding-left: 10px;
6240
  }
6241
-
6242
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .sort,
6243
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .order,
6244
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .actions {
6245
  width: 10px;
6246
  }
6247
-
6248
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .sort {
6249
  padding: 0 10px;
6250
  }
6251
-
6252
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .order {
6253
  width: 10px;
6254
  padding: 0;
6255
  text-align: right;
6256
  }
6257
-
6258
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .answer-correct {
6259
  width: 65px;
6260
  text-align: center;
6261
  }
6262
-
6263
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .answer-text {
6264
  padding-left: 8px;
6265
  }
6266
-
6267
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .actions {
6268
  padding-right: 0;
6269
  text-align: right;
6270
  }
6271
-
6272
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr {
6273
  color: #444;
6274
  background: #fff;
6275
  }
6276
-
6277
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr:nth-child(2n) {
6278
  background: #fff;
6279
  }
6280
-
6281
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td {
6282
  background-color: #fff;
6283
  }
6284
-
6285
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.sort {
6286
  width: 15px;
6287
  padding: 0;
@@ -6289,22 +5425,18 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6289
  text-align: center;
6290
  cursor: url("../../images/openhand.cur") 7 5, default;
6291
  }
6292
-
6293
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.sort .svg-icon {
6294
  height: 18px;
6295
  margin-top: -2px;
6296
  vertical-align: middle;
6297
  fill: #999;
6298
  }
6299
-
6300
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.sort:hover .svg-icon {
6301
  fill: #0085ba;
6302
  }
6303
-
6304
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.order {
6305
  font-size: 14px;
6306
  }
6307
-
6308
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.answer-text input {
6309
  width: 100%;
6310
  padding: 0;
@@ -6316,41 +5448,32 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6316
  font-weight: 600;
6317
  transition: box-shadow 0.2s ease;
6318
  }
6319
-
6320
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.lp-toolbar-buttons {
6321
  z-index: auto;
6322
  }
6323
-
6324
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr:hover td.actions .remove-answer {
6325
  visibility: visible;
6326
  height: 42px;
6327
  }
6328
-
6329
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-placeholder {
6330
  visibility: visible !important;
6331
  }
6332
-
6333
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-placeholder td {
6334
  height: 43px;
6335
  background: #bdf4fe !important;
6336
  }
6337
-
6338
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-helper td {
6339
  border-bottom: 1px solid #ddd;
6340
  }
6341
-
6342
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-helper td.sort {
6343
  border-left: 0;
6344
  }
6345
-
6346
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option .svg-icon {
6347
  display: none;
6348
  }
6349
-
6350
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option td {
6351
  position: relative;
6352
  }
6353
-
6354
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option .sort::before {
6355
  display: inline-block;
6356
  position: absolute;
@@ -6364,7 +5487,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6364
  -o-animation: rotating4 2s linear infinite;
6365
  animation: rotating4 2s linear infinite;
6366
  }
6367
-
6368
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option td::after {
6369
  position: absolute;
6370
  top: 0;
@@ -6375,11 +5497,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6375
  background: #fff;
6376
  content: "";
6377
  }
6378
-
6379
  #admin-editor-lp_question .lp-box-data-content .add-answer {
6380
  margin: 15px 0 0 0;
6381
  }
6382
-
6383
  #admin-editor-lp_question.sorting_choice table.list-question-answers .answer-correct {
6384
  display: none !important;
6385
  }
@@ -6388,13 +5508,11 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6388
  .admin-quiz-fib-question-editor {
6389
  text-align: left;
6390
  }
6391
-
6392
  .lp-admin-fib-question-editor .lp-box-data-content,
6393
  .admin-quiz-fib-question-editor .lp-box-data-content {
6394
  margin: 0 !important;
6395
  border: none !important;
6396
  }
6397
-
6398
  .lp-admin-fib-question-editor .content-editable,
6399
  .admin-quiz-fib-question-editor .content-editable {
6400
  min-height: 240px !important;
@@ -6402,52 +5520,43 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6402
  border: 2px solid #ddd;
6403
  border-radius: 4px;
6404
  }
6405
-
6406
  .lp-admin-fib-question-editor .content-editable .fib-blank,
6407
  .admin-quiz-fib-question-editor .content-editable .fib-blank {
6408
  position: relative;
6409
  color: #2196f3;
6410
  }
6411
-
6412
  .lp-admin-fib-question-editor .content-editable .fib-blank::before,
6413
  .admin-quiz-fib-question-editor .content-editable .fib-blank::before {
6414
  content: "#" attr(data-index) ". ";
6415
  }
6416
-
6417
  .lp-admin-fib-question-editor .fib-blanks,
6418
  .admin-quiz-fib-question-editor .fib-blanks {
6419
  min-width: 700px;
6420
  border-collapse: collapse;
6421
  }
6422
-
6423
  @media (max-width: 1024px) {
6424
  .lp-admin-fib-question-editor .fib-blanks,
6425
- .admin-quiz-fib-question-editor .fib-blanks {
6426
  width: 100%;
6427
  min-width: 100%;
6428
  }
6429
  }
6430
-
6431
  .lp-admin-fib-question-editor .fib-blanks tbody,
6432
  .admin-quiz-fib-question-editor .fib-blanks tbody {
6433
  border-bottom: 1px solid #bbb;
6434
  }
6435
-
6436
  .lp-admin-fib-question-editor .fib-blanks tbody tr,
6437
  .admin-quiz-fib-question-editor .fib-blanks tbody tr {
6438
  background: #eee;
6439
  }
6440
-
6441
  .lp-admin-fib-question-editor .fib-blanks tbody tr td,
6442
  .admin-quiz-fib-question-editor .fib-blanks tbody tr td {
6443
  padding: 5px;
6444
  }
6445
-
6446
  .lp-admin-fib-question-editor .fib-blanks tbody tr.blank-options td,
6447
  .admin-quiz-fib-question-editor .fib-blanks tbody tr.blank-options td {
6448
  padding: 0;
6449
  }
6450
-
6451
  .lp-admin-fib-question-editor .fib-blanks tbody tr.blank-options ul,
6452
  .admin-quiz-fib-question-editor .fib-blanks tbody tr.blank-options ul {
6453
  display: none;
@@ -6457,23 +5566,19 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6457
  background: #fff;
6458
  list-style: none;
6459
  }
6460
-
6461
  .lp-admin-fib-question-editor .fib-blanks tbody.open .blank-options ul,
6462
  .admin-quiz-fib-question-editor .fib-blanks tbody.open .blank-options ul {
6463
  display: block;
6464
  }
6465
-
6466
  .lp-admin-fib-question-editor .fib-blanks tbody .blank-position,
6467
  .admin-quiz-fib-question-editor .fib-blanks tbody .blank-position {
6468
  font-weight: 600;
6469
  text-align: center;
6470
  }
6471
-
6472
  .lp-admin-fib-question-editor .fib-blanks tbody .blank-actions,
6473
  .admin-quiz-fib-question-editor .fib-blanks tbody .blank-actions {
6474
  text-align: right;
6475
  }
6476
-
6477
  .lp-admin-fib-question-editor .fib-blanks tbody:last-child,
6478
  .admin-quiz-fib-question-editor .fib-blanks tbody:last-child {
6479
  border: none;
@@ -6482,33 +5587,27 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6482
  #fill-in-blanks-editor {
6483
  display: flex;
6484
  }
6485
-
6486
  #fill-in-blanks-editor .blank-options {
6487
  flex: 0 0 65%;
6488
  }
6489
-
6490
  #fill-in-blanks-editor .blanks {
6491
  width: 100%;
6492
  margin: 0;
6493
  }
6494
-
6495
  #fill-in-blanks-editor .blanks .blank {
6496
  margin: 0 0 20px 0;
6497
  padding: 20px;
6498
  border: 1px solid #d9e0f1;
6499
  background: #fbfcff;
6500
  }
6501
-
6502
  #fill-in-blanks-editor .blanks .blank label {
6503
  font-weight: bold;
6504
  }
6505
-
6506
  #fill-in-blanks-editor .blanks .blank .blank-content {
6507
  width: 100%;
6508
  min-height: 74px;
6509
  font-size: 16px;
6510
  }
6511
-
6512
  #fill-in-blanks-editor .blanks .blank .blank-words .word {
6513
  background: #ddd;
6514
  line-height: 1;
@@ -6516,19 +5615,15 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6516
  -moz-border-radius: 4px;
6517
  border-radius: 4px;
6518
  }
6519
-
6520
  #fill-in-blanks-editor .blanks .blank .blank-words .word.correct {
6521
  background: #00a1e6;
6522
  }
6523
-
6524
  #fill-in-blanks-editor .blanks .blank .blank-tip p {
6525
  font-style: italic;
6526
  }
6527
-
6528
  #fill-in-blanks-editor .blanks .blank .button-remove {
6529
  color: #f00;
6530
  }
6531
-
6532
  #fill-in-blanks-editor .passage-preview {
6533
  margin-left: 20px;
6534
  padding: 15px 20px;
@@ -6538,7 +5633,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6538
  text-align: justify;
6539
  flex: 1;
6540
  }
6541
-
6542
  #fill-in-blanks-editor .passage-preview .blank-input {
6543
  /* line-height: 11px; */
6544
  display: inline-block;
@@ -6554,11 +5648,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6554
  font-size: 16px;
6555
  vertical-align: middle;
6556
  }
6557
-
6558
  #fill-in-blanks-editor .blanks-list {
6559
  width: 100%;
6560
  }
6561
-
6562
  #fill-in-blanks-editor .blanks-list textarea {
6563
  width: 100%;
6564
  min-height: 300px;
@@ -6569,14 +5661,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6569
  font-size: 18px;
6570
  line-height: 30px;
6571
  }
6572
-
6573
  #fill-in-blanks-editor .blanks-list code {
6574
  line-height: 1;
6575
  -webkit-border-radius: 4px;
6576
  -moz-border-radius: 4px;
6577
  border-radius: 4px;
6578
  }
6579
-
6580
  #fill-in-blanks-editor .blanks-list code.correct {
6581
  background: #00a1e6;
6582
  }
@@ -6595,13 +5685,11 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6595
  opacity: 0;
6596
  background-color: rgba(0, 0, 0, 0.5);
6597
  }
6598
-
6599
  #lp-modal-choose-items.show {
6600
  display: block;
6601
  z-index: 99999999;
6602
  opacity: 1;
6603
  }
6604
-
6605
  #lp-modal-choose-items.loading .lp-choose-items ul.list-items::before {
6606
  display: block;
6607
  position: absolute;
@@ -6614,7 +5702,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6614
  background-color: #fff;
6615
  content: "";
6616
  }
6617
-
6618
  #lp-modal-choose-items .lp-choose-items {
6619
  position: relative;
6620
  max-width: 800px;
@@ -6624,16 +5711,13 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6624
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
6625
  transition: all 200ms ease-out;
6626
  }
6627
-
6628
  #lp-modal-choose-items .lp-choose-items.show-preview .header .preview-title {
6629
  display: flex;
6630
  align-items: center;
6631
  }
6632
-
6633
  #lp-modal-choose-items .lp-choose-items .header {
6634
  position: relative;
6635
  }
6636
-
6637
  #lp-modal-choose-items .lp-choose-items .header .preview-title {
6638
  display: none;
6639
  position: absolute;
@@ -6647,22 +5731,18 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6647
  background-color: #fff;
6648
  font-weight: 600;
6649
  }
6650
-
6651
  #lp-modal-choose-items .lp-choose-items .header .preview-title h3 {
6652
  margin: 0;
6653
  }
6654
-
6655
  #lp-modal-choose-items .lp-choose-items .header .tabs {
6656
  margin: 0;
6657
  border-bottom: 1px solid #ddd;
6658
  }
6659
-
6660
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab {
6661
  display: inline-block;
6662
  position: relative;
6663
  margin: 0;
6664
  }
6665
-
6666
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab:not(:last-child)::before {
6667
  position: absolute;
6668
  top: 50%;
@@ -6672,7 +5752,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6672
  border-right: 1px solid #ddd;
6673
  content: "";
6674
  }
6675
-
6676
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab.active::after {
6677
  display: inline-block;
6678
  position: absolute;
@@ -6688,11 +5767,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6688
  content: "";
6689
  transform: rotate(45deg);
6690
  }
6691
-
6692
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab.active a {
6693
  color: #0073aa;
6694
  }
6695
-
6696
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab a {
6697
  display: inline-block;
6698
  height: 44px;
@@ -6702,11 +5779,9 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6702
  line-height: 44px;
6703
  text-decoration: none;
6704
  }
6705
-
6706
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab a:focus {
6707
  box-shadow: none;
6708
  }
6709
-
6710
  #lp-modal-choose-items .lp-choose-items .header .close {
6711
  display: inline-block;
6712
  position: absolute;
@@ -6717,14 +5792,12 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6717
  font-size: 1em;
6718
  cursor: pointer;
6719
  }
6720
-
6721
  #lp-modal-choose-items .lp-choose-items .main {
6722
  overflow: hidden;
6723
  position: relative;
6724
  padding: 20px;
6725
  border-bottom: 1px solid #ddd;
6726
  }
6727
-
6728
  #lp-modal-choose-items .lp-choose-items .main .section-item {
6729
  display: block;
6730
  overflow: hidden;
@@ -6734,18 +5807,15 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6734
  cursor: pointer;
6735
  transition: color 200ms ease-out;
6736
  }
6737
-
6738
  #lp-modal-choose-items .lp-choose-items .main .section-item::before {
6739
  position: relative;
6740
  top: 3px;
6741
  font-family: Dashicons;
6742
  }
6743
-
6744
  #lp-modal-choose-items .lp-choose-items .main .search {
6745
  margin-bottom: 20px;
6746
  background: transparent;
6747
  }
6748
-
6749
  #lp-modal-choose-items .lp-choose-items .main .search input.modal-search-input {
6750
  width: 100%;
6751
  height: 36px;
@@ -6753,7 +5823,6 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6753
  font-size: 16px;
6754
  line-height: 36px;
6755
  }
6756
-
6757
  #lp-modal-choose-items .lp-choose-items .main .list-items {
6758
  overflow-y: auto;
6759
  position: relative;
@@ -6761,17 +5830,14 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6761
  max-height: 460px;
6762
  margin: 0;
6763
  }
6764
-
6765
  #lp-modal-choose-items .lp-choose-items .main .list-items li {
6766
  margin: 15px 0;
6767
  cursor: pointer;
6768
  }
6769
-
6770
  #lp-modal-choose-items .lp-choose-items .main .pagination .index {
6771
  margin-left: 20px;
6772
  line-height: 28px;
6773
  }
6774
-
6775
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview {
6776
  overflow: auto;
6777
  position: absolute;
@@ -6785,19 +5851,15 @@ input[name="_lp_course_result"]:checked ~ #passing-condition-quiz-result {
6785
  background-color: #fff;
6786
  transform: translate(100%, 0);
6787
  }
6788
-
6789
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview.show {
6790
  transform: translate(0, 0);
6791
  }
6792
-
6793
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview .list-added-items li {
6794
  margin: 15px 0;
6795
  }
6796
-
6797
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview .list-added-items li:first-child {
6798
  margin: -10px 0 15px 0;
6799
  }
6800
-
6801
  #lp-modal-choose-items .lp-choose-items .footer {
6802
  padding: 20px;
6803
  }
@@ -6816,40 +5878,34 @@ body.lp-item-moving {
6816
  width: auto;
6817
  }
6818
  }
6819
-
6820
  #learn-press-reset-course-users,
6821
  #learn-press-reset-user-courses,
6822
  #learn-press-reset-user-item {
6823
  max-width: 100%;
6824
  }
6825
-
6826
  #learn-press-reset-course-users table,
6827
  #learn-press-reset-user-courses table,
6828
  #learn-press-reset-user-item table {
6829
  width: 100%;
6830
  border-collapse: collapse;
6831
  }
6832
-
6833
  #learn-press-reset-course-users .courses-list,
6834
  #learn-press-reset-user-courses .courses-list,
6835
  #learn-press-reset-user-item .courses-list {
6836
  margin: 0;
6837
  }
6838
-
6839
- #learn-press-reset-course-users input[type="text"],
6840
- #learn-press-reset-user-courses input[type="text"],
6841
- #learn-press-reset-user-item input[type="text"] {
6842
  min-width: 300px;
6843
  height: 28px;
6844
  margin-left: 0;
6845
  }
6846
-
6847
  #learn-press-reset-course-users .action-reset.dashicons-trash,
6848
  #learn-press-reset-user-courses .action-reset.dashicons-trash,
6849
  #learn-press-reset-user-item .action-reset.dashicons-trash {
6850
  color: #FF0000;
6851
  }
6852
-
6853
  #learn-press-reset-course-users .action-reset.dashicons-update,
6854
  #learn-press-reset-user-courses .action-reset.dashicons-update,
6855
  #learn-press-reset-user-item .action-reset.dashicons-update {
@@ -6870,16 +5926,13 @@ body.lp-item-moving {
6870
  vertical-align: baseline;
6871
  cursor: pointer;
6872
  }
6873
-
6874
  .learn-press-tip.ready {
6875
  display: inline-block;
6876
  }
6877
-
6878
  .learn-press-tip::before {
6879
  font-family: "Font Awesome 5 Free";
6880
  content: "\f059";
6881
  }
6882
-
6883
  .learn-press-tip:hover {
6884
  opacity: 0.8;
6885
  }
@@ -6898,11 +5951,9 @@ body.lp-item-moving {
6898
  -moz-border-radius: 3px;
6899
  border-radius: 3px;
6900
  }
6901
-
6902
  .learn-press-tip-floating > * {
6903
  font-size: 12px;
6904
  }
6905
-
6906
  .learn-press-tip-floating .close {
6907
  display: inline-block;
6908
  position: absolute;
@@ -6920,16 +5971,13 @@ body.lp-item-moving {
6920
  -moz-border-radius: 50%;
6921
  border-radius: 50%;
6922
  }
6923
-
6924
  .learn-press-tip-floating .close::before {
6925
  font-family: "Font Awesome 5 Free";
6926
  content: "\f00d";
6927
  }
6928
-
6929
  .learn-press-tip-floating p {
6930
  margin: 0;
6931
  }
6932
-
6933
  .learn-press-tip-floating::before {
6934
  position: absolute;
6935
  bottom: -6px;
@@ -6946,18 +5994,15 @@ body.lp-item-moving {
6946
  .lp-group-step {
6947
  border-bottom: 1px solid #eee;
6948
  }
6949
-
6950
  .lp-group-step h3 {
6951
  padding: 0 2em;
6952
  }
6953
-
6954
  .lp-group-step label {
6955
  margin-bottom: 5px;
6956
  font-size: 13px;
6957
  font-weight: 500;
6958
  font-style: italic;
6959
  }
6960
-
6961
  .lp-group-step .lp-item-step {
6962
  display: flex;
6963
  position: relative;
@@ -6968,18 +6013,15 @@ body.lp-item-moving {
6968
  align-items: center;
6969
  cursor: pointer;
6970
  }
6971
-
6972
  .lp-group-step .lp-item-step:hover {
6973
  background: #eee;
6974
  }
6975
-
6976
  .lp-group-step .lp-item-step .lp-item-step-left {
6977
  display: inline-flex;
6978
  align-items: center;
6979
  position: relative;
6980
  padding: 0 2em;
6981
  }
6982
-
6983
  .lp-group-step .lp-item-step .lp-item-step-left::before {
6984
  display: block;
6985
  position: absolute;
@@ -6994,7 +6036,6 @@ body.lp-item-moving {
6994
  -webkit-animation: lp-rotating 0.8s linear infinite;
6995
  animation: lp-rotating 0.8s linear infinite;
6996
  }
6997
-
6998
  .lp-group-step .lp-item-step .lp-item-step-left::after {
6999
  position: absolute;
7000
  z-index: 1;
@@ -7005,15 +6046,12 @@ body.lp-item-moving {
7005
  font-size: 1.5em;
7006
  content: "\f147";
7007
  }
7008
-
7009
  .lp-group-step .lp-item-step.running .lp-item-step-left::before {
7010
  opacity: 1;
7011
  }
7012
-
7013
  .lp-group-step .lp-item-step.running .lp-item-step-left input {
7014
  opacity: 0;
7015
  }
7016
-
7017
  .lp-group-step .lp-item-step.running::before {
7018
  display: block;
7019
  position: absolute;
@@ -7024,30 +6062,24 @@ body.lp-item-moving {
7024
  opacity: 0.1;
7025
  transition: 0.8s linear;
7026
  }
7027
-
7028
  .lp-group-step .lp-item-step.running .progress-bar {
7029
  opacity: 0.1;
7030
  }
7031
-
7032
  .lp-group-step .lp-item-step.completed .lp-item-step-left::after {
7033
  opacity: 1;
7034
  }
7035
-
7036
  .lp-group-step .lp-item-step.completed .lp-item-step-left input {
7037
  opacity: 0;
7038
  }
7039
-
7040
  .lp-group-step .lp-item-step.completed .progress-bar {
7041
  width: 100%;
7042
  opacity: 0.1;
7043
  }
7044
-
7045
  .lp-group-step .lp-item-step.error .lp-item-step-left::after {
7046
  opacity: 1;
7047
  color: #dd3333;
7048
- content: '\f335';
7049
  }
7050
-
7051
  .lp-group-step .lp-item-step .progress-bar {
7052
  display: block;
7053
  position: absolute;
@@ -7080,7 +6112,6 @@ body.lp-item-moving {
7080
  transform: rotate(360deg);
7081
  }
7082
  }
7083
-
7084
  @-webkit-keyframes lp-rotating {
7085
  from {
7086
  -webkit-transform: rotate(0deg);
@@ -7091,7 +6122,6 @@ body.lp-item-moving {
7091
  transform: rotate(360deg);
7092
  }
7093
  }
7094
-
7095
  .ajaxload {
7096
  display: inline-block;
7097
  position: relative;
@@ -7106,7 +6136,6 @@ body.lp-item-moving {
7106
  -moz-animation: lp-rotating 1s linear infinite;
7107
  animation: lp-rotating 1s linear infinite;
7108
  }
7109
-
7110
  .ajaxload::after {
7111
  -webkit-border-radius: 50%;
7112
  -moz-border-radius: 50%;
@@ -7128,7 +6157,6 @@ body.lp-item-moving {
7128
  width: 32px;
7129
  height: 32px;
7130
  }
7131
-
7132
  .lp-ajaxload-style-1::before, .lp-ajaxload-style-1::after {
7133
  position: absolute;
7134
  top: 0;
@@ -7138,7 +6166,6 @@ body.lp-item-moving {
7138
  border: 3px solid #ddd;
7139
  content: "";
7140
  }
7141
-
7142
  .lp-ajaxload-style-1::after {
7143
  clip: rect(0, 32px, 16px, 16px);
7144
  border-color: #2fa7ff;
@@ -7160,6 +6187,7 @@ body.lp-item-moving {
7160
  .learn-press-dropdown-pages .select2-selection__rendered {
7161
  line-height: 31px !important;
7162
  }
 
7163
  #learn-press-advertisement {
7164
  margin: 0 12px;
7165
  padding-bottom: 0;
@@ -7168,65 +6196,51 @@ body.lp-item-moving {
7168
  bottom: 40px;
7169
  }
7170
  }
7171
-
7172
  .rtl .section-item-counts {
7173
  left: 41px;
7174
  right: auto;
7175
  }
7176
-
7177
  .rtl #admin-editor-lp_course .lp-course-curriculum .heading .status {
7178
  margin-right: 10px;
7179
  }
7180
-
7181
  .rtl #admin-editor-lp_course .lp-course-curriculum .collapse-sections {
7182
  left: 0;
7183
  right: unset !important;
7184
  }
7185
-
7186
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .title {
7187
  margin-right: 5px;
7188
  }
7189
-
7190
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions {
7191
  left: 0;
7192
  right: unset !important;
7193
  }
7194
-
7195
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .ui-sortable {
7196
  right: unset !important;
7197
  left: 0;
7198
  }
7199
-
7200
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .ui-sortable li {
7201
  text-align: left;
7202
  }
7203
-
7204
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-actions .remove {
7205
  float: left;
7206
  }
7207
-
7208
  .rtl #admin-editor-lp_course .lp-course-curriculum .actions {
7209
  right: unset !important;
7210
  left: 0;
7211
  }
7212
-
7213
  .rtl #admin-editor-lp_quiz .lp-list-questions .question-item .lp-toolbar-btn-dropdown ul {
7214
  left: 0;
7215
  right: unset !important;
7216
  }
7217
-
7218
  .rtl #admin-editor-lp_quiz .lp-list-questions .question-item .lp-toolbar-btn-dropdown ul li a {
7219
  text-align: left;
7220
  }
7221
-
7222
  .rtl #admin-editor-lp_quiz .add-new-question {
7223
  text-align: right;
7224
  }
7225
-
7226
  .rtl #lp-modal-choose-items .header .preview-title {
7227
  padding-right: 20px;
7228
  }
7229
-
7230
  .rtl #lp-modal-choose-items .header .close {
7231
  left: 0;
7232
  right: unset;
@@ -7237,7 +6251,6 @@ body.lp-item-moving {
7237
  padding: 0;
7238
  list-style: none;
7239
  }
7240
-
7241
  .lp-skeleton-animation > li {
7242
  width: 100%;
7243
  height: 16px;
@@ -7257,7 +6270,6 @@ body.lp-item-moving {
7257
  background-position: 0 50%;
7258
  }
7259
  }
7260
-
7261
  .button.disabled {
7262
  pointer-events: none;
7263
  }
@@ -7265,7 +6277,6 @@ body.lp-item-moving {
7265
  .learnpress .postbox .rwmb-meta-box {
7266
  margin-top: 10px;
7267
  }
7268
-
7269
  .learnpress #field-_lp_requirements .rwmb-text-list-clone,
7270
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone,
7271
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone,
@@ -7279,7 +6290,6 @@ body.lp-item-moving {
7279
  border: 1px solid #ddd;
7280
  border-radius: 4px;
7281
  }
7282
-
7283
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .rwmb-text-list-label,
7284
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .rwmb-text-list-label,
7285
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .rwmb-text-list-label,
@@ -7290,7 +6300,6 @@ body.lp-item-moving {
7290
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list-label {
7291
  display: none;
7292
  }
7293
-
7294
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .rwmb-text-list,
7295
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .rwmb-text-list-advanced,
7296
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .rwmb-text-list,
@@ -7315,7 +6324,6 @@ body.lp-item-moving {
7315
  box-shadow: none;
7316
  line-height: 1;
7317
  }
7318
-
7319
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .remove-clone,
7320
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .remove-clone,
7321
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .remove-clone,
@@ -7336,7 +6344,6 @@ body.lp-item-moving {
7336
  -o-transition: right 0.25s;
7337
  transition: right 0.25s;
7338
  }
7339
-
7340
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .remove-clone i,
7341
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .remove-clone i,
7342
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .remove-clone i,
@@ -7347,7 +6354,6 @@ body.lp-item-moving {
7347
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .remove-clone i {
7348
  font-size: 20px;
7349
  }
7350
-
7351
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .remove-clone:hover,
7352
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .remove-clone:hover,
7353
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .remove-clone:hover,
@@ -7358,7 +6364,6 @@ body.lp-item-moving {
7358
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .remove-clone:hover {
7359
  color: #e74c3c;
7360
  }
7361
-
7362
  .learnpress #field-_lp_requirements .rwmb-text-list-clone::after,
7363
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone::after,
7364
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone::after,
@@ -7378,38 +6383,32 @@ body.lp-item-moving {
7378
  font-size: 20px;
7379
  content: "\f333";
7380
  }
7381
-
7382
  .learnpress #field-_lp_requirements .rwmb-text-list-clone:focus-within,
7383
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone:focus-within,
7384
  .learnpress #field-_lp_key_features .rwmb-text-list-clone:focus-within,
7385
  .learnpress #field-_lp_faqs .rwmb-text-list-clone:focus-within {
7386
  border-color: #0085ba;
7387
  }
7388
-
7389
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .rwmb-text-list:focus,
7390
  .learnpress #field-_lp_target_audiences .rwmb-text-list-advanced-clone .rwmb-text-list:focus,
7391
  .learnpress #field-_lp_key_features .rwmb-text-list-advanced-clone .rwmb-text-list:focus,
7392
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list:focus {
7393
  border-color: #0085ba;
7394
  }
7395
-
7396
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone {
7397
  position: relative;
7398
  padding: 0 0 16px 0;
7399
  }
7400
-
7401
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list-label {
7402
  display: block;
7403
  padding: 10px 10px 0 12px;
7404
  }
7405
-
7406
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list {
7407
  width: calc(100% - 25px);
7408
  margin: 0 13px 0 13px;
7409
  border: 1px solid #ddd;
7410
  vertical-align: top;
7411
  }
7412
-
7413
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .remove-clone {
7414
  top: 20px;
7415
  right: 36px;
@@ -7421,7 +6420,6 @@ body.lp-item-moving {
7421
  -o-transition: right 0.25s;
7422
  transition: right 0.25s;
7423
  }
7424
-
7425
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone::after {
7426
  top: 20px;
7427
  }
@@ -7431,39 +6429,33 @@ body.lp-item-moving {
7431
  position: relative;
7432
  padding: 12px;
7433
  }
7434
-
7435
  .lp-notice h4,
7436
  .learn-press-notice h4 {
7437
  margin: 10px 0 15px;
7438
  }
7439
-
7440
  .lp-notice p,
7441
  .learn-press-notice p {
7442
  margin: 0 0 5px 0;
7443
  padding: 0 2px;
7444
  }
7445
-
7446
  .lp-notice.lp-upgrade-notice,
7447
  .learn-press-notice.lp-upgrade-notice {
7448
  position: relative;
7449
  border-left-color: #02b7fb;
7450
  background: #bceffe;
7451
  }
7452
-
7453
  .lp-notice.lp-upgrade-notice .close-notice,
7454
  .learn-press-notice.lp-upgrade-notice .close-notice {
7455
  position: absolute;
7456
  top: 5px;
7457
  right: 10px;
7458
  }
7459
-
7460
  .lp-notice .lp-message-dismiss,
7461
  .learn-press-notice .lp-message-dismiss {
7462
  position: absolute;
7463
  top: 12px;
7464
  right: 12px;
7465
  }
7466
-
7467
  .lp-notice .notice-dismiss,
7468
  .learn-press-notice .notice-dismiss {
7469
  position: absolute;
@@ -7480,7 +6472,6 @@ body.lp-item-moving {
7480
  box-shadow: none;
7481
  cursor: pointer;
7482
  }
7483
-
7484
  .lp-notice .notice-dismiss::before,
7485
  .learn-press-notice .notice-dismiss::before {
7486
  display: block;
@@ -7506,7 +6497,6 @@ body.lp-item-moving {
7506
  color: white;
7507
  background: rebeccapurple;
7508
  }
7509
-
7510
  .lp-notice-update-database.do-updating::before {
7511
  display: inline-block;
7512
  float: left;
@@ -7526,7 +6516,7 @@ body.lp-item-moving {
7526
  padding: 0 5px;
7527
  }
7528
 
7529
- .search-box input[name="post-search-author"],
7530
  .search-box .select2-container {
7531
  min-width: 200px;
7532
  margin: 0;
@@ -7544,15 +6534,12 @@ body.lp-item-moving {
7544
  #learn-press-syncs li {
7545
  position: relative;
7546
  }
7547
-
7548
  #learn-press-syncs li.syncing, #learn-press-syncs li.synced {
7549
  padding-left: 24px;
7550
  }
7551
-
7552
- #learn-press-syncs li.syncing input[type="checkbox"], #learn-press-syncs li.synced input[type="checkbox"] {
7553
  display: none;
7554
  }
7555
-
7556
  #learn-press-syncs li.syncing::after {
7557
  content: "\f463";
7558
  -webkit-animation: rotating4 2s linear infinite;
@@ -7561,12 +6548,10 @@ body.lp-item-moving {
7561
  -o-animation: rotating4 2s linear infinite;
7562
  animation: rotating4 2s linear infinite;
7563
  }
7564
-
7565
  #learn-press-syncs li.synced::after {
7566
  color: #2773aa;
7567
  content: "\f147";
7568
  }
7569
-
7570
  #learn-press-syncs li::after {
7571
  display: block;
7572
  position: absolute;
@@ -7584,20 +6569,17 @@ body.lp-item-moving {
7584
  position: relative;
7585
  margin: 0 2px;
7586
  }
7587
-
7588
  #learn-press-updater .updater-progress ul {
7589
  display: flex;
7590
  position: relative;
7591
  height: 5px;
7592
  background: #eee;
7593
  }
7594
-
7595
  #learn-press-updater .updater-progress ul li {
7596
  position: relative;
7597
  margin: 0;
7598
  flex: 1;
7599
  }
7600
-
7601
  #learn-press-updater .updater-progress ul li::after {
7602
  display: none;
7603
  position: absolute;
@@ -7610,15 +6592,12 @@ body.lp-item-moving {
7610
  font-size: 12px;
7611
  content: attr(data-version);
7612
  }
7613
-
7614
  #learn-press-updater .updater-progress ul li::before {
7615
  content: "";
7616
  }
7617
-
7618
  #learn-press-updater .updater-progress ul li:last-child::after {
7619
  _display: block;
7620
  }
7621
-
7622
  #learn-press-updater .updater-progress ul::after {
7623
  position: absolute;
7624
  top: 0;
@@ -7626,7 +6605,6 @@ body.lp-item-moving {
7626
  width: 0;
7627
  height: 20px;
7628
  }
7629
-
7630
  #learn-press-updater .updater-progress .updater-progress-status {
7631
  position: absolute;
7632
  top: 0;
@@ -7640,7 +6618,6 @@ body.lp-item-moving {
7640
  -o-transition: width 0.25s;
7641
  transition: width 0.25s;
7642
  }
7643
-
7644
  #learn-press-updater .updater-progress .updater-progress-status::before {
7645
  position: absolute;
7646
  top: -20px;
@@ -7652,7 +6629,6 @@ body.lp-item-moving {
7652
  font-size: 12px;
7653
  _content: attr(data-value) "%";
7654
  }
7655
-
7656
  #learn-press-updater .updater-progress .updater-progress-status .updater-progress-animation {
7657
  overflow: hidden;
7658
  position: absolute;
@@ -7662,7 +6638,6 @@ body.lp-item-moving {
7662
  height: 5px;
7663
  background: #5bc4f9;
7664
  }
7665
-
7666
  #learn-press-updater .updater-progress .updater-progress-status .updater-progress-animation:not(.completed)::after {
7667
  position: absolute;
7668
  height: 5px;
@@ -7674,11 +6649,9 @@ body.lp-item-moving {
7674
  -o-animation: animation4 1.5s ease-out infinite;
7675
  animation: animation4 1.5s ease-out infinite;
7676
  }
7677
-
7678
  #learn-press-updater .updating-message {
7679
  color: #a24666;
7680
  }
7681
-
7682
  #learn-press-updater .completed-message {
7683
  color: #3c8eb7;
7684
  }
@@ -7690,12 +6663,10 @@ body.lp-item-moving {
7690
  .select2 .select2-search.select2-search--inline {
7691
  margin-bottom: 0;
7692
  }
7693
-
7694
  .select2 .select2-selection .select2-selection__choice {
7695
  margin-top: 4px;
7696
  margin-bottom: 0;
7697
  }
7698
-
7699
  .select2 .select2-selection.select2-selection--multiple {
7700
  min-height: 30px;
7701
  }
@@ -7710,7 +6681,6 @@ body.post-type-lp_question #button-new-question {
7710
  display: inline-block;
7711
  position: relative;
7712
  }
7713
-
7714
  body.post-type-lp_question #button-new-question div {
7715
  display: none;
7716
  position: absolute;
@@ -7723,7 +6693,6 @@ body.post-type-lp_question #button-new-question div {
7723
  background: #ffff;
7724
  font-weight: 400;
7725
  }
7726
-
7727
  body.post-type-lp_question #button-new-question div a {
7728
  display: block;
7729
  min-width: 100px;
@@ -7733,17 +6702,14 @@ body.post-type-lp_question #button-new-question div a {
7733
  white-space: nowrap;
7734
  text-decoration: none;
7735
  }
7736
-
7737
  body.post-type-lp_question #button-new-question div a:hover {
7738
  background: #eee;
7739
  }
7740
-
7741
  body.post-type-lp_question #button-new-question > a {
7742
  position: relative;
7743
  padding-right: 15px;
7744
  text-decoration: none;
7745
  }
7746
-
7747
  body.post-type-lp_question #button-new-question > a::after {
7748
  display: inline-block;
7749
  position: absolute;
@@ -7756,7 +6722,6 @@ body.post-type-lp_question #button-new-question > a::after {
7756
  border-top-color: #0f7aae;
7757
  content: "";
7758
  }
7759
-
7760
  body.post-type-lp_question #button-new-question:hover div {
7761
  display: block;
7762
  }
@@ -7770,19 +6735,15 @@ body.post-type-lp_question #button-new-question:hover div {
7770
  -moz-border-radius: 4px;
7771
  border-radius: 4px;
7772
  }
7773
-
7774
  .lp-label.success {
7775
  background: #4caf50;
7776
  }
7777
-
7778
  .lp-label.error {
7779
  background: #f00;
7780
  }
7781
-
7782
  .lp-label.warning {
7783
  background: #ffc107;
7784
  }
7785
-
7786
  .lp-label .far,
7787
  .lp-label .fas,
7788
  .lp-label .fa {
@@ -7793,16 +6754,13 @@ body.post-type-lp_question #button-new-question:hover div {
7793
  .lp-admin-profile-courses .column-results {
7794
  width: 200px;
7795
  }
7796
-
7797
  .lp-admin-profile-courses .course-results-progress .lp-progress-row {
7798
  margin: 0 0 20px 0;
7799
  }
7800
-
7801
  .lp-admin-profile-courses .course-results-progress .lp-course-progress-heading {
7802
  margin: 0 0 5px 0;
7803
  line-height: 1;
7804
  }
7805
-
7806
  .lp-admin-profile-courses .learn-press-progress {
7807
  overflow: hidden;
7808
  position: relative;
@@ -7810,7 +6768,6 @@ body.post-type-lp_question #button-new-question:hover div {
7810
  height: 6px;
7811
  border-radius: 3px;
7812
  }
7813
-
7814
  .lp-admin-profile-courses .learn-press-progress .learn-press-progress__active {
7815
  position: absolute;
7816
  z-index: 1;
@@ -7825,7 +6782,6 @@ body.post-type-lp_question #button-new-question:hover div {
7825
  -o-transition: 0.5s;
7826
  transition: 0.5s;
7827
  }
7828
-
7829
  .lp-admin-profile-courses .learn-press-progress::before {
7830
  display: block;
7831
  position: absolute;
@@ -7835,4 +6791,4 @@ body.post-type-lp_question #button-new-question:hover div {
7835
  height: 100%;
7836
  background: #ccc;
7837
  content: "";
7838
- }
 
1
  /**
2
  * Mixin
3
  */
13
  transform: rotate(360deg);
14
  }
15
  }
 
16
  @keyframes rotating4 {
17
  from {
18
  -ms-transform: rotate(0deg);
29
  transform: rotate(360deg);
30
  }
31
  }
 
32
  @-webkit-keyframes animation4 {
33
  from {
34
  left: -40%;
39
  width: 10%;
40
  }
41
  }
 
42
  @keyframes animation4 {
43
  from {
44
  left: -40%;
49
  width: 10%;
50
  }
51
  }
 
52
  .learn-press-message {
53
  position: relative;
54
  margin: 0 0 20px 0;
58
  border-bottom-left-radius: 5px;
59
  background: #f5f5f5;
60
  }
 
61
  .learn-press-message.icon {
62
  padding-left: 45px;
63
  }
 
64
  .learn-press-message.icon::before {
65
  background: #00adff;
66
  }
 
67
  .learn-press-message.icon::after {
68
  position: absolute;
69
  top: 50%;
82
  vertical-align: baseline;
83
  content: "\f129";
84
  }
 
85
  .learn-press-message::before, .learn-press-message::after {
86
  position: absolute;
87
  top: 0;
88
  content: "";
89
  }
 
90
  .learn-press-message::before {
91
  right: 20px;
92
  width: 20px;
93
  height: 30px;
94
  background: #00adff;
95
  }
 
96
  .learn-press-message::after {
97
  top: 10px;
98
  right: 20px;
101
  border: 10px solid transparent;
102
  border-bottom-color: #f5f5f5;
103
  }
 
104
  .learn-press-message.error {
105
  border-top: 5px solid #d85554;
106
  }
 
107
  .learn-press-message.error::before {
108
  background: #d85554;
109
  }
 
110
  .learn-press-message.error.icon::before {
111
  background: #d85554;
112
  }
 
113
  .learn-press-message.error.icon::after {
114
  background: #d85554;
115
  content: "\f00d";
116
  }
 
117
  .learn-press-message.warning {
118
  border-top: 5px solid #ffc107;
119
  }
 
120
  .learn-press-message.warning::before {
121
  background: #ffc107;
122
  }
 
123
  .learn-press-message.warning.icon::before {
124
  background: #ffc107;
125
  }
 
126
  .learn-press-message.warning.icon::after {
127
  background: #ffc107;
128
  content: "\f00d";
129
  }
 
130
  .learn-press-message.success {
131
  border-top: 5px solid #059601;
132
  }
 
133
  .learn-press-message.success::before {
134
  background: #059601;
135
  }
 
136
  .learn-press-message.success.icon::before {
137
  background: #059601;
138
  }
 
139
  .learn-press-message.success.icon::after {
140
  background: #059601;
141
  content: "\f129";
149
  z-index: 10;
150
  height: 50px;
151
  }
 
152
  .lp-toolbar-buttons .lp-toolbar-btn {
153
  display: inline-block;
154
  position: relative;
160
  vertical-align: middle;
161
  cursor: pointer;
162
  }
 
163
  .lp-toolbar-buttons .lp-toolbar-btn a,
164
  .lp-toolbar-buttons .lp-toolbar-btn span {
165
  outline: none;
166
  color: #666;
167
  box-shadow: none;
168
  }
 
169
  .lp-toolbar-buttons .lp-toolbar-btn .lp-btn-icon {
170
  position: absolute;
171
  top: 50%;
177
  line-height: 30px;
178
  text-align: center;
179
  }
 
180
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move {
181
  cursor: ns-resize;
182
  }
 
183
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move a,
184
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move span {
185
  cursor: ns-resize;
186
  }
 
187
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move:hover a,
188
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-move span {
189
  color: var(--lp-primary-color);
190
  }
 
191
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-remove {
192
  cursor: pointer;
193
  }
 
194
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-remove:hover a,
195
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-remove:hover span {
196
  color: #e74c3c;
197
  }
 
198
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle .dashicons-arrow-down,
199
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle .dashicons-arrow-down-alt2 {
200
  display: none;
201
  }
 
202
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-up,
203
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-up-alt2 {
204
  display: none;
205
  }
 
206
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-down,
207
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-toggle.closed .dashicons-arrow-down-alt2 {
208
  display: inline-block;
209
  }
 
210
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown {
211
  color: #000;
212
  }
 
213
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul {
214
  display: none;
215
  position: absolute;
219
  border: 1px solid #999;
220
  background: #fdfeff;
221
  }
 
222
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li {
223
  margin: 0;
224
  list-style: none;
225
  }
 
226
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li a {
227
  display: block;
228
  margin: 0;
233
  white-space: nowrap;
234
  text-decoration: none;
235
  }
 
236
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li a:hover {
237
  background: #eee;
238
  }
 
239
  .lp-toolbar-buttons .lp-toolbar-btn.lp-toolbar-btn-dropdown ul li.active a {
240
  background: #eee;
241
  }
 
242
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled, .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled:hover {
243
  _background: #f5f5f5;
244
  }
 
245
  .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled .lp-btn-icon, .lp-toolbar-buttons .lp-toolbar-btn.lp-btn-disabled:hover .lp-btn-icon {
246
  color: #666;
247
  }
 
248
  .lp-toolbar-buttons .lp-toolbar-btn:hover {
249
  display: inline-block;
250
  background: none;
251
  }
 
252
  .lp-toolbar-buttons .lp-toolbar-btn:hover .lp-btn-icon {
253
  color: #444;
254
  }
 
255
  .lp-toolbar-buttons .lp-toolbar-btn:hover ul {
256
  display: block;
257
  }
 
258
  .lp-toolbar-buttons .lp-toolbar-btn:hover ul:hover {
259
  display: block;
260
  }
270
  margin: 20px 0 0 0;
271
  border: 1px solid #ddd;
272
  }
 
273
  .learn-press-box-data .lp-box-data-head {
274
  padding: 10px 15px;
275
  background: #fff;
276
  }
 
277
  .learn-press-box-data .lp-box-data-head h3 {
278
  margin: 0;
279
  padding: 15px;
280
  font-size: 16px;
281
  }
 
282
  .learn-press-box-data .lp-box-data-head .lp-box-data-actions {
283
  float: right;
284
  position: relative;
285
  z-index: 10;
286
  }
 
287
  .learn-press-box-data .lp-box-data-head .lp-box-data-actions .lp-btn {
288
  display: inline-block;
289
  width: 30px;
292
  text-align: center;
293
  vertical-align: middle;
294
  }
 
295
  .learn-press-box-data .lp-box-data-head .lp-box-data-actions::after {
296
  display: block;
297
  clear: both;
298
  content: "";
299
  }
 
300
  .learn-press-box-data .lp-box-data-head::after {
301
  display: block;
302
  clear: both;
303
  content: "";
304
  }
 
305
  .learn-press-box-data .lp-box-data-content {
306
  padding: 15px;
307
  border-top: 1px solid #ddd;
308
  background: #fff;
309
  }
 
310
  .learn-press-box-data .lp-box-data-foot {
311
  padding: 15px;
312
  }
 
313
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-up,
314
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-up-alt2 {
315
  display: none;
316
  }
 
317
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-down,
318
  .learn-press-box-data.closed .lp-btn-toggle .dashicons-arrow-down-alt2 {
319
  display: inline-block;
320
  }
 
321
  .learn-press-box-data.closed .lp-box-data-content {
322
  display: none;
323
  }
326
  width: 100%;
327
  border-collapse: collapse;
328
  }
 
329
  .lp-list-options th,
330
  .lp-list-options td {
331
  padding: 10px 15px;
332
  border-top: 1px solid #ddd;
333
  background: #f5f5f5;
334
  }
 
335
  .lp-list-options thead th {
336
  text-align: left;
337
  }
 
338
  .lp-list-options tbody tr td {
339
  padding: 0 15px;
340
  background: #f4fcff;
341
  }
 
342
  .lp-list-options tbody tr td.lp-toolbar-buttons {
343
  _overflow: hidden;
344
  position: relative;
346
  height: 42px;
347
  white-space: nowrap;
348
  }
 
349
  .lp-list-options tbody tr td.lp-toolbar-buttons .lp-toolbar-btn {
350
  visibility: hidden;
351
  position: relative;
353
  margin-top: -4px;
354
  margin-bottom: -4px;
355
  }
 
356
  .lp-list-options tbody tr:nth-child(odd) td {
357
  background: #fff;
358
  }
 
359
  .lp-list-options tbody tr:hover td.lp-toolbar-buttons .lp-toolbar-btn {
360
  visibility: visible;
361
  }
 
362
  .lp-list-options tbody td {
363
  text-align: left;
364
  }
365
+ .lp-list-options tbody td input[type=text] {
 
366
  width: 100%;
367
  }
368
+ .lp-list-options tbody td input[type=text][value=""] {
 
369
  font-style: italic;
370
  }
 
371
  .lp-list-options tbody td.column-content-answer_correct {
372
  width: 125px;
373
  }
 
374
  .lp-list-options tbody td.lp-remove-list-option, .lp-list-options tbody td.lp-move-list-option {
375
  width: 20px;
376
  padding: 0;
377
  text-align: center;
378
  }
 
379
  .lp-list-options tbody td.lp-remove-list-option a, .lp-list-options tbody td.lp-move-list-option a {
380
  visibility: hidden;
381
  color: #999;
382
  }
 
383
  .lp-list-options tbody td.lp-remove-list-option:hover, .lp-list-options tbody td.lp-move-list-option:hover {
384
  background: #dbf5ff;
385
  }
 
386
  .lp-list-options tbody td.lp-move-list-option {
387
  cursor: ns-resize;
388
  }
 
389
  .lp-list-options tbody td.lp-move-list-option a {
390
  cursor: ns-resize;
391
  }
 
392
  .lp-list-options tbody td.lp-move-list-option:hover a {
393
  color: var(--lp-primary-color);
394
  }
 
395
  .lp-list-options tbody td.lp-remove-list-option {
396
  cursor: pointer;
397
  }
 
398
  .lp-list-options tbody td.lp-remove-list-option:hover a {
399
  color: #e74c3c;
400
  }
410
  position: relative;
411
  z-index: 999999;
412
  }
 
413
  .lp-ajax-search .lp-search-term {
414
  min-width: 300px;
415
  height: 28px;
419
  box-shadow: none;
420
  outline: none;
421
  }
 
422
  .lp-ajax-search .lp-search-term:focus {
423
  -webkit-box-shadow: none;
424
  -moz-box-shadow: none;
425
  box-shadow: none;
426
  }
 
427
  .lp-ajax-search .lp-search-term:focus {
428
  -webkit-box-shadow: none;
429
  -moz-box-shadow: none;
430
  box-shadow: none;
431
  outline: none;
432
  }
 
433
  .lp-ajax-search .lp-search-term:focus:focus {
434
  -webkit-box-shadow: none;
435
  -moz-box-shadow: none;
436
  box-shadow: none;
437
  }
 
438
  .lp-ajax-search .lp-search-results {
439
  position: absolute;
440
  top: 100%;
446
  -moz-box-sizing: border-box;
447
  box-sizing: border-box;
448
  }
 
449
  .lp-ajax-search .lp-search-results .lp-search-items {
450
  overflow: auto;
451
  max-height: 300px;
452
  margin: 0;
453
  }
 
454
  .lp-ajax-search .lp-search-results .lp-search-items li {
455
  margin: 0;
456
  }
 
457
  .lp-ajax-search .lp-search-results .lp-search-items li label {
458
  display: block;
459
  padding: 8px 10px;
460
  border-bottom: 1px solid #f3f3f3;
461
  }
 
462
  .lp-ajax-search .lp-search-results .lp-search-items li label input {
463
  float: left;
464
  margin-top: 1px;
465
  margin-right: -100%;
466
  }
 
467
  .lp-ajax-search .lp-search-results .lp-search-items li label span {
468
  display: inline-block;
469
  margin-left: 25px;
470
  }
 
471
  .lp-ajax-search .lp-search-results .lp-search-items li label span a.lp-add-item {
472
  visibility: hidden;
473
  margin-left: 10px;
474
  }
 
475
  .lp-ajax-search .lp-search-results .lp-search-items li.active {
476
  background: #dbf5ff;
477
  }
 
478
  .lp-ajax-search .lp-search-results .lp-search-items li:hover {
479
  color: #fff;
480
  background: #0085ba;
481
  }
 
482
  .lp-ajax-search .lp-search-results .lp-search-items li:hover a.lp-add-item {
483
  visibility: visible;
484
  }
 
485
  .lp-ajax-search .lp-search-results .lp-search-actions {
486
  margin: 0;
487
  padding: 10px;
512
  #course-editor.ajax-search #learn-press-ajax-search-overlay {
513
  display: block;
514
  }
 
515
  #course-editor.ajax-search .lp-ajax-search {
516
  z-index: 100000;
517
  }
523
  background: #fff;
524
  list-style: none;
525
  }
 
526
  .advanced-list li {
527
  display: inline-block;
528
  margin: 0 5px 5px -3px;
532
  -moz-border-radius: 2px;
533
  border-radius: 2px;
534
  }
 
535
  .advanced-list li .remove-item {
536
  display: inline-block;
537
  margin-right: 5px;
540
  text-decoration: none;
541
  cursor: pointer;
542
  }
 
543
  .advanced-list li .remove-item:hover {
544
  color: #0085ba;
545
  }
 
546
  .advanced-list li .remove-item::before {
547
  font-family: dashicons;
548
  text-decoration: none;
549
  content: "\f335";
550
  }
 
551
  .advanced-list li span {
552
  display: inline-block;
553
  }
 
554
  .advanced-list.locked .remove-item {
555
  display: none;
556
  }
 
557
  .advanced-list::after {
558
  display: block;
559
  clear: both;
570
  font-weight: bold;
571
  line-height: 20px;
572
  }
 
573
  .lp-label-counter.disabled {
574
  background: #ddd;
575
  }
579
  -moz-transform: rotate(360deg);
580
  }
581
  }
 
582
  @-webkit-keyframes spin {
583
  100% {
584
  -webkit-transform: rotate(360deg);
585
  }
586
  }
 
587
  @keyframes spin {
588
  100% {
589
  -webkit-transform: rotate(360deg);
590
  transform: rotate(360deg);
591
  }
592
  }
 
593
  .rwmb-duration {
594
  border: 1px solid #ddd;
595
  }
624
  -moz-transform: rotate(360deg);
625
  }
626
  }
 
627
  @-webkit-keyframes lp-spinner {
628
  100% {
629
  -webkit-transform: rotate(360deg);
630
  }
631
  }
 
632
  @keyframes lp-spinner {
633
  100% {
634
  -webkit-transform: rotate(360deg);
635
  transform: rotate(360deg);
636
  }
637
  }
 
638
  .lp-modal-choose-items-open {
639
  overflow: hidden;
640
  }
645
  color: #777;
646
  background-color: red;
647
  }
 
648
  .lp-modal-search li.selected {
649
  display: none;
650
  }
717
  outline: none;
718
  box-shadow: none;
719
  }
 
720
  .learnpress .lp-install-sample-data-options {
721
  padding: 0 20px 10px 20px;
722
  border: 1px solid #ddd;
723
  }
 
724
  .learnpress .lp-install-sample-data-options legend {
725
  font-size: 16px;
726
  }
736
  padding: 0;
737
  list-style: none;
738
  }
 
739
  .learn-press-email-variables li {
740
  display: inline-block;
741
  cursor: pointer;
742
  }
743
 
744
  /* Metabox dropdown pages field */
745
+ .learn-press-dropdown-pages input[type=text] {
746
  min-width: 300px;
747
  height: 29px;
748
  margin: 0;
749
  vertical-align: top;
750
  }
 
751
  .learn-press-dropdown-pages .select2-container {
752
  min-width: 220px !important;
753
  }
 
754
  .learn-press-dropdown-pages .select2-container .select2-selection--single {
755
  height: 30px;
756
  border-color: #7e8993;
757
  }
 
758
  .learn-press-dropdown-pages .select2-container .select2-selection__rendered {
759
  line-height: 28px !important;
760
  }
 
761
  .learn-press-dropdown-pages .select2-container .select2-selection__arrow {
762
  right: 1px;
763
  width: 23px;
765
  background: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
766
  background-size: 16px 16px;
767
  }
 
768
  .learn-press-dropdown-pages .select2-container .select2-selection__arrow b {
769
  display: none;
770
  }
 
771
  .learn-press-dropdown-pages .quick-add-page-actions a {
772
  font-size: 13px;
773
  text-decoration: none;
774
  }
 
775
  .learn-press-dropdown-pages .quick-add-page-inline {
776
  margin-top: 0;
777
  }
780
  height: 30px;
781
  border-color: #7e8993;
782
  }
 
783
  .lp-select-2 + .select2-container .select2-selection--single .select2-selection__rendered {
784
  line-height: 28px !important;
785
  }
 
786
  .lp-select-2 + .select2-container .select2-selection--single .select2-selection__arrow {
787
  right: 1px;
788
  width: 23px;
790
  background: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
791
  background-size: 16px 16px;
792
  }
 
793
  .lp-select-2 + .select2-container .select2-selection--single .select2-selection__arrow b {
794
  display: none;
795
  }
802
  font-size: 17px;
803
  vertical-align: middle;
804
  }
 
805
  .learn-press-tooltip.icon::after {
806
  font-family: Dashicons;
807
  content: "\f223";
808
  }
 
809
  .learn-press-tooltip:hover {
810
  opacity: 1;
811
  color: #0073aa;
815
  .rwmb-payment-order-wrapper .rwmb-label {
816
  margin-bottom: 20px !important;
817
  }
 
818
  .rwmb-payment-order-wrapper .rwmb-input {
819
  margin-left: 0 !important;
820
  }
826
  border-collapse: collapse;
827
  font-size: 14px;
828
  }
 
829
  .learn-press-payments th,
830
  .learn-press-payments td,
831
  .learn-press-emails th,
832
  .learn-press-emails td {
833
  padding: 10px;
834
  }
 
835
  .learn-press-payments .order,
836
  .learn-press-emails .order {
837
  width: 30px;
840
  text-align: center;
841
  cursor: not-allowed;
842
  }
 
843
  .learn-press-payments .name,
844
  .learn-press-emails .name {
845
  min-width: 250px;
846
  font-weight: normal;
847
  text-transform: capitalize;
848
  }
 
849
  .learn-press-payments .name a,
850
  .learn-press-emails .name a {
851
  text-decoration: none;
852
  }
 
853
  .learn-press-payments .status,
854
  .learn-press-emails .status {
855
  width: 100px;
856
  text-align: center;
857
  cursor: pointer;
858
  }
 
859
  .learn-press-payments .status .dashicons,
860
  .learn-press-emails .status .dashicons {
861
  border-radius: 50%;
862
  color: #fff;
863
  background: #ddd;
864
  }
 
865
  .learn-press-payments .status a,
866
  .learn-press-emails .status a {
867
  display: block;
869
  font-size: 12px;
870
  text-decoration: none;
871
  }
 
872
  .learn-press-payments .status.enabled .dashicons,
873
  .learn-press-emails .status.enabled .dashicons {
874
  background: #0085ba;
875
  }
 
876
  .learn-press-payments thead th,
877
  .learn-press-emails thead th {
878
  border-bottom: 1px solid #ddd;
879
  text-align: left;
880
  }
 
881
  .learn-press-payments tbody tr:nth-child(even) td,
882
  .learn-press-emails tbody tr:nth-child(even) td {
883
  background: #fff;
884
  }
 
885
  .learn-press-payments tbody tr:nth-child(odd) td,
886
  .learn-press-emails tbody tr:nth-child(odd) td {
887
  background: #f5f5f5;
888
  }
 
889
  .learn-press-payments tbody td,
890
  .learn-press-emails tbody td {
891
  border-bottom: 1px solid #ddd;
892
  }
 
893
  .learn-press-payments tbody .ui-sortable-helper,
894
  .learn-press-emails tbody .ui-sortable-helper {
895
  margin-left: -1px;
896
  border: 1px solid #ddd;
897
  }
 
898
  .learn-press-payments tbody .ui-sortable-placeholder,
899
  .learn-press-emails tbody .ui-sortable-placeholder {
900
  visibility: visible !important;
901
  border: 1px solid #ddd;
902
  }
 
903
  .learn-press-payments tbody .ui-sortable-placeholder td,
904
  .learn-press-emails tbody .ui-sortable-placeholder td {
905
  height: 35px;
906
  padding: 0;
907
  background: #f7f7f7;
908
  }
 
909
  .learn-press-payments ~ .email-actions,
910
  .learn-press-emails ~ .email-actions {
911
  text-align: left;
912
  }
 
913
  .learn-press-payments.sortable .order:hover,
914
  .learn-press-emails.sortable .order:hover {
915
  color: #0073aa;
920
  .lp-template-overrides {
921
  margin-top: 20px;
922
  }
 
923
  .lp-template-overrides thead th h4 {
924
  margin: 0;
925
  }
 
926
  .lp-template-overrides tbody th {
927
  font-weight: bold;
928
  }
 
929
  .lp-template-overrides tbody th p {
930
  display: inline-block;
931
  margin: 0 0 0 10px;
932
  }
 
933
  .lp-template-overrides tbody th p a {
934
  margin: 0;
935
  padding: 2px 8px;
939
  box-shadow: none;
940
  font-weight: normal;
941
  }
 
942
  .lp-template-overrides tbody th p a.current {
943
  color: #fff;
944
  background: #00aadc;
945
  }
 
946
  .lp-template-overrides .template-row.outdated code::before, .lp-template-overrides .template-row.up-to-date code::before {
947
  display: inline-block;
948
  margin-top: -2px;
950
  font-family: Dashicons;
951
  vertical-align: middle;
952
  }
 
953
  .lp-template-overrides .template-row.outdated .template-version {
954
  color: #f00;
955
  }
 
956
  .lp-template-overrides .template-row.outdated .template-file code::before {
957
  color: #f00;
958
  content: "\f534";
959
  }
 
960
  .lp-template-overrides .template-row.up-to-date .template-version {
961
  color: #1859ff;
962
  }
 
963
  .lp-template-overrides .template-row.up-to-date .template-file code::before {
964
  color: #0085ba;
965
  content: "\f147";
966
  }
 
967
  .lp-template-overrides .template-version,
968
  .lp-template-overrides .core-version {
969
  width: 100px;
970
  }
 
971
  .lp-template-overrides #learn-press-no-templates td p {
972
  color: #0073aa;
973
  }
977
  font-size: smaller;
978
  }
979
 
980
+ #field-_lp_course_result input[name=_lp_course_result] ~ #passing-condition-quiz-result {
981
  display: none;
982
  padding: 10px;
983
  background: #f5f5f5;
984
  }
985
+ #field-_lp_course_result input[name=_lp_course_result] ~ #passing-condition-quiz-result input {
 
986
  width: 80px;
987
  margin: 0;
988
  -webkit-box-sizing: border-box;
989
  -moz-box-sizing: border-box;
990
  box-sizing: border-box;
991
  }
992
+ #field-_lp_course_result input[name=_lp_course_result] ~ #passing-condition-quiz-result p {
 
993
  margin: 7px 0 0;
994
  color: #777;
995
  font-style: italic;
996
  }
997
+ #field-_lp_course_result input[name=_lp_course_result]:checked ~ #passing-condition-quiz-result {
 
998
  display: block;
999
  }
1000
 
1001
  .widget .widget-content .rwmb-field:not(:last-of-type) {
1002
  margin: 0 0 10px;
1003
  }
 
1004
  .widget .widget-content .rwmb-field:not(:last-of-type):first-child {
1005
  margin-top: 10px;
1006
  }
 
1007
  .widget .widget-content .rwmb-field:last-child {
1008
  margin-bottom: 10px;
1009
  }
 
1010
  .widget .widget-content .rwmb-field .rwmb-label,
1011
  .widget .widget-content .rwmb-field .rwmb-input {
1012
  width: 100%;
1013
  }
 
1014
  .widget .widget-content .rwmb-field .rwmb-label {
1015
  margin-bottom: 2px;
1016
  }
 
1017
  .widget .widget-content .rwmb-field .rwmb-label label {
1018
  font-weight: 400;
1019
  }
1020
+ .widget .widget-content .rwmb-field .rwmb-input input[type=text] {
 
1021
  width: 100%;
1022
  }
1023
 
1024
  .course-attributes {
1025
  margin: 20px 0;
1026
  }
 
1027
  .course-attributes .learn-press-attribute {
1028
  margin-top: -1px;
1029
  margin-bottom: 0;
1030
  border: 1px solid #ddd;
1031
  }
 
1032
  .course-attributes .learn-press-attribute > h4 {
1033
  margin: 0;
1034
  padding: 10px 15px;
1035
  background: #f5f5f5;
1036
  }
 
1037
  .course-attributes .learn-press-attribute .learn-press-attribute-data {
1038
  padding: 15px;
1039
  border-top: 1px solid #ddd;
1050
  box-sizing: border-box;
1051
  z-index: 10;
1052
  }
 
1053
  .learn-press-advertisement-slider .slider-items:after {
1054
  display: block;
1055
  clear: both;
1056
  content: "";
1057
  }
 
1058
  .learn-press-advertisement-slider .slide-item {
1059
  position: relative;
1060
  float: left;
1069
  -webkit-transition: opacity 0.5s linear;
1070
  transition: opacity 0.5s linear;
1071
  }
 
1072
  .learn-press-advertisement-slider .slide-item .slide-thumbnail {
1073
  float: left;
1074
  width: 35%;
1075
  }
 
1076
  .learn-press-advertisement-slider .slide-item .slide-thumbnail a {
1077
  display: block;
1078
  line-height: 1;
1079
  margin-bottom: 0;
1080
  }
 
1081
  .learn-press-advertisement-slider .slide-item .slide-thumbnail img {
1082
  max-width: 100%;
1083
  }
 
1084
  .learn-press-advertisement-slider .slide-item .slide-detail {
1085
  margin-left: 35%;
1086
  padding-left: 20px;
1087
  }
 
1088
  .learn-press-advertisement-slider .slide-item .slide-detail h2 {
1089
  margin-top: 0;
1090
  }
 
1091
  .learn-press-advertisement-slider .slide-item .slide-detail .description-short {
1092
  display: none;
1093
  }
 
1094
  .learn-press-advertisement-slider .slide-item.slide-active {
1095
  opacity: 1;
1096
  }
 
1097
  .learn-press-advertisement-slider .slider-controls {
1098
  position: absolute;
1099
  bottom: 20px;
1100
  right: 20px;
1101
  }
 
1102
  .learn-press-advertisement-slider .slider-controls .next-item,
1103
  .learn-press-advertisement-slider .slider-controls .prev-item {
1104
+ font-family: "dashicons";
1105
  width: 40px;
1106
  height: 40px;
1107
  border: 1px solid #DDD;
1113
  text-align: center;
1114
  color: #DDD;
1115
  }
 
1116
  .learn-press-advertisement-slider .slider-controls .next-item:hover,
1117
  .learn-press-advertisement-slider .slider-controls .prev-item:hover {
1118
  border-color: #0085ba;
1119
  }
 
1120
  .learn-press-advertisement-slider .slider-controls .next-item:hover:before,
1121
  .learn-press-advertisement-slider .slider-controls .prev-item:hover:before {
1122
  color: #0085ba;
1123
  }
 
1124
  .learn-press-advertisement-slider .slider-controls .next-item:before {
1125
  content: "\f345";
1126
  }
 
1127
  .learn-press-advertisement-slider .slider-controls .prev-item:before {
1128
  content: "\f341";
1129
  }
1142
  display: none;
1143
  }
1144
  }
 
1145
  @media only screen and (max-width: 960px) {
1146
  .learn-press-advertisement-slider {
1147
  margin-left: 56px;
1172
  .learn-press-advertisement-slider .slide-item .slide-detail .slide-controls .button {
1173
  margin-bottom: 0;
1174
  }
1175
+
1176
  .wp-responsive-open .learn-press-advertisement-slider {
1177
  margin-left: 56px;
1178
  }
1203
  margin-bottom: 0;
1204
  }
1205
  }
 
1206
  /*
1207
  .learn-press-advertisement-slider > .slide-item {
1208
  display: none;
1323
  position: relative;
1324
  margin-top: 20px;
1325
  }
 
1326
  .lp-admin-tabs .lp-admin-tab-navs {
1327
  display: none;
1328
  float: left;
1335
  -moz-box-sizing: border-box;
1336
  box-sizing: border-box;
1337
  }
 
1338
  .lp-admin-tabs .lp-admin-tab-navs .nav-section {
1339
  margin: 0;
1340
  }
 
1341
  .lp-admin-tabs .lp-admin-tab-navs .nav-section > a,
1342
  .lp-admin-tabs .lp-admin-tab-navs .nav-section > span {
1343
  display: block;
1347
  text-decoration: none;
1348
  text-transform: capitalize;
1349
  }
 
1350
  .lp-admin-tabs .lp-admin-tab-navs .nav-section .learn-press-tooltip {
1351
  float: right;
1352
  margin-right: 0;
1353
  }
 
1354
  .lp-admin-tabs .lp-admin-tab-navs .nav-section.nav-section-active, .lp-admin-tabs .lp-admin-tab-navs .nav-section:hover {
1355
  border-left: 2px solid #563d7c;
1356
  color: #563d7c;
1357
  }
 
1358
  .lp-admin-tabs .lp-admin-tab-navs .nav-section.nav-section-active > a,
1359
  .lp-admin-tabs .lp-admin-tab-navs .nav-section.nav-section-active > span, .lp-admin-tabs .lp-admin-tab-navs .nav-section:hover > a,
1360
  .lp-admin-tabs .lp-admin-tab-navs .nav-section:hover > span {
1361
  padding-left: 18px;
1362
  }
 
1363
  .lp-admin-tabs.has-sections .lp-admin-tab-navs {
1364
  display: block;
1365
  }
 
1366
  .lp-admin-tabs.has-sections .lp-admin-tab-content {
1367
  float: left;
1368
  position: relative;
1373
  -moz-box-sizing: border-box;
1374
  box-sizing: border-box;
1375
  }
 
1376
  .lp-admin-tabs.has-sections::before {
1377
  position: absolute;
1378
  z-index: 10;
1382
  border-left: 1px solid #ddd;
1383
  content: "";
1384
  }
 
1385
  .lp-admin-tabs::after {
1386
  display: block;
1387
  clear: both;
1393
  padding: 18px;
1394
  background: #fff;
1395
  }
 
1396
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub {
1397
  float: none;
1398
  margin: 0 0 20px 0;
1399
  padding-bottom: 20px;
1400
  border-bottom: 1px solid #ddd;
1401
  }
 
1402
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub .active {
1403
  font-weight: bold;
1404
  }
 
1405
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub li {
1406
  text-transform: capitalize;
1407
  }
 
1408
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub li::after {
1409
  display: inline-block;
1410
  padding: 0 10px;
1411
  content: "|";
1412
  }
 
1413
  .wrap.learn-press-settings .lp-admin-tab-content .subsubsub li:last-child::after {
1414
  content: "";
1415
  }
 
1416
  .wrap #learn-press-uninstall-sample-data {
1417
  float: right;
1418
  opacity: 0.5;
1419
  }
 
1420
  .wrap #learn-press-uninstall-sample-data:hover {
1421
  opacity: 1;
1422
  }
1425
  position: relative;
1426
  margin-bottom: 20px;
1427
  }
 
1428
  .learnpress .rwmb-field .rwmb-label {
1429
  display: block;
1430
  float: left;
1433
  font-size: 14px;
1434
  _text-transform: capitalize;
1435
  }
 
1436
  .learnpress .rwmb-field .rwmb-label label > small {
1437
  display: block;
1438
  color: #999;
1439
  font-weight: normal;
1440
  font-style: italic;
1441
  }
 
1442
  .learnpress .rwmb-field .rwmb-input {
1443
  float: none;
1444
  width: auto;
1445
  margin-left: 190px;
1446
  }
1447
+ .learnpress .rwmb-field .rwmb-input input[type=checkbox],
1448
+ .learnpress .rwmb-field .rwmb-input input[type=radio] {
 
1449
  margin: 1px 5px 0 0;
1450
  }
1451
+ .learnpress .rwmb-field .rwmb-input label > input[type=checkbox],
1452
+ .learnpress .rwmb-field .rwmb-input label > input[type=radio] {
 
1453
  margin-top: -1px;
1454
  }
 
1455
  .learnpress .rwmb-field .description {
1456
  margin-top: 8px;
1457
  color: #888;
1458
  }
 
1459
  .learnpress .rwmb-field .description code {
1460
  padding: 3px 3px 3px 0;
1461
  }
 
1462
  .learnpress .rwmb-field .description.err {
1463
  color: #f00;
1464
  }
 
1465
  .learnpress .rwmb-field .rwmb-input-list {
1466
  margin-left: 0;
1467
  }
 
1468
  .learnpress .rwmb-field #course_evaluation_method_quiz_options {
1469
  position: relative;
1470
  margin-left: 25px;
1471
  }
 
1472
  .learnpress .rwmb-field #course_evaluation_method_quiz_options::after {
1473
  position: absolute;
1474
  z-index: 10;
1480
  background: #fff;
1481
  content: "";
1482
  }
1483
+ .learnpress .rwmb-field input[name=_lp_course_result]:checked ~ #course_evaluation_method_quiz_options::after {
 
1484
  display: none;
1485
  }
 
1486
  .learnpress .rwmb-field.rwmb-heading-wrapper h4 {
1487
  display: inline-block;
1488
  margin: 0 0 5px 0;
1491
  font-size: 16px;
1492
  text-transform: initial;
1493
  }
 
1494
  .learnpress .rwmb-field.disabled .field-overlay {
1495
  position: absolute;
1496
  z-index: 10;
1502
  background: #fff;
1503
  content: "";
1504
  }
 
1505
  .learnpress .rwmb-field.rwmb-text-wrapper .rwmb-text {
1506
  width: 50%;
1507
  min-width: 200px;
1508
  }
 
1509
  .learnpress .rwmb-field.rwmb-duration-wrapper .rwmb-input select,
1510
  .learnpress .rwmb-field.rwmb-duration-wrapper .rwmb-input input {
1511
  vertical-align: top;
1512
  }
 
1513
  .learnpress .lp-course-sale_start-field.hide,
1514
  .learnpress .lp-course-sale_end-field.hide {
1515
  display: none;
1516
  }
 
1517
  .learnpress.lp-submenu-settings .lp-admin-settings-buttons {
1518
  margin-bottom: 0;
1519
  padding-top: 20px;
1520
  border-top: 1px solid #ddd;
1521
  }
 
1522
  .learnpress.lp-submenu-settings .lp-admin-settings-buttons #learn-press-reset-settings {
1523
  float: right;
1524
  }
 
1525
  .learnpress.lp-submenu-settings .rwmb-input {
1526
  float: none;
1527
  width: auto;
1528
  margin-left: 270px;
1529
  color: #000;
1530
  }
 
1531
  .learnpress .rwmb-google-fonts-wrapper .rwmb-input label {
1532
  display: block;
1533
  margin-bottom: 5px;
1534
  font-weight: bold;
1535
  }
 
1536
  .learnpress .rwmb-google-fonts-wrapper .rwmb-input input {
1537
  width: 90%;
1538
  }
 
1539
  .learnpress #learn-press-toggle-course-results {
1540
  display: block;
1541
  }
 
1542
  .learnpress .lp-item-assigned {
1543
  font-size: 14px;
1544
  }
 
1545
  .learnpress .lp-item-assigned a {
1546
  text-decoration: none;
1547
  }
 
1548
  .learnpress .lp-item-assigned ul {
1549
  margin-bottom: 0;
1550
  }
 
1551
  .learnpress .lp-item-assigned ul ul strong {
1552
  font-weight: normal;
1553
  }
 
1554
  .learnpress .lp-item-assigned li {
1555
  margin: 0;
1556
  }
 
1557
  .learnpress .lp-item-assigned li a {
1558
  display: inline-block;
1559
  margin-bottom: 10px;
1570
  margin-left: 0;
1571
  }
1572
  }
 
1573
  .lp-metabox__table .titledesc label > small {
1574
  display: block;
1575
  color: #999;
1576
  font-weight: normal;
1577
  font-style: italic;
1578
  }
 
1579
  .lp-metabox__table .forminp-text > input,
1580
  .lp-metabox__table .forminp-email > input,
1581
  .lp-metabox__table .forminp-password > input,
1582
  .lp-metabox__table .forminp-url > input {
1583
  min-width: 260px;
1584
  }
 
1585
  .lp-metabox__table .forminp-textarea textarea {
1586
  width: 400px;
1587
  }
1591
  max-width: max-content;
1592
  padding: 0 !important;
1593
  }
 
1594
  .lp-metabox__custom-fields table th {
1595
  padding: 7px 0 7px 7px !important;
1596
  }
 
1597
  .lp-metabox__custom-fields table th.sort {
1598
  width: 17px;
1599
  padding: 7px !important;
1600
  }
 
1601
  .lp-metabox__custom-fields table td {
1602
  position: relative;
1603
  padding: 4px 0 4px 7px !important;
1604
  vertical-align: middle !important;
1605
  }
 
1606
  .lp-metabox__custom-fields table td.sort {
1607
  width: 17px;
1608
  padding-right: 7px !important;
1611
  text-align: center;
1612
  cursor: move;
1613
  }
 
1614
  .lp-metabox__custom-fields table td.sort::before {
1615
  height: 100%;
1616
  color: #999;
1618
  text-align: center;
1619
  content: "\f333";
1620
  }
 
1621
  .lp-metabox__custom-fields table td .delete {
1622
  display: block;
1623
  position: relative;
1626
  font-size: 1.2em;
1627
  text-indent: -9999px;
1628
  }
 
1629
  .lp-metabox__custom-fields table td .delete::before {
1630
  position: absolute;
1631
  top: 0;
1641
  text-align: center;
1642
  text-indent: 0;
1643
  text-transform: none;
1644
+ content: "\f153";
1645
  speak: none;
1646
  -webkit-font-smoothing: antialiased;
1647
  }
 
1648
  .lp-metabox__custom-fields table td .delete:hover::before {
1649
  color: #a00;
1650
  }
 
1651
  .lp-metabox__custom-fields table td:last-child {
1652
  padding-right: 7px !important;
1653
  }
1655
  .lp-metabox-field__color {
1656
  font-size: 0 !important;
1657
  }
 
1658
  .lp-metabox-field__color .colorpickpreview {
1659
  display: inline-block;
1660
  width: 30px;
1668
  font-size: 16px;
1669
  line-height: 28px;
1670
  }
 
1671
  .lp-metabox-field__color .iris-picker {
1672
  display: none;
1673
  position: absolute;
1680
  .lp-metabox-field__image-advanced-upload {
1681
  padding-top: 10px;
1682
  }
 
1683
  .lp-metabox-field__image-advanced-images {
1684
  clear: both;
1685
  margin: 0;
1686
  padding: 0;
1687
  }
 
1688
  .lp-metabox-field__image-advanced-images > li {
1689
  float: left;
1690
  position: relative;
1696
  background: #f7f7f7;
1697
  cursor: move;
1698
  }
 
1699
  .lp-metabox-field__image-advanced-images > li img {
1700
  display: block;
1701
  width: 100%;
1702
  height: auto;
1703
  }
 
1704
  .lp-metabox-field__image-advanced-images > li ul.actions {
1705
  position: absolute;
1706
  top: -8px;
1707
  right: -8px;
1708
  padding: 2px;
1709
  }
 
1710
  .lp-metabox-field__image-advanced-images > li ul.actions li {
1711
  float: right;
1712
  margin: 0 0 0 2px;
1713
  }
 
1714
  .lp-metabox-field__image-advanced-images > li ul.actions li a.delete {
1715
  display: block;
1716
  position: relative;
1719
  font-size: 1.4em;
1720
  text-indent: -9999px;
1721
  }
 
1722
  .lp-metabox-field__image-advanced-images > li ul.actions li a.delete::before {
1723
  position: absolute;
1724
  top: 0;
1740
  speak: none;
1741
  -webkit-font-smoothing: antialiased;
1742
  }
 
1743
  .lp-metabox-field__image-advanced-images > li ul.actions::before {
1744
  display: table;
1745
  content: " ";
1746
  }
 
1747
  .lp-metabox-field__image-advanced-images > li:hover ul.actions {
1748
  display: block;
1749
  }
 
1750
  .lp-metabox-field__image-advanced-images > li.lp-metabox-sortable-placeholder {
1751
  position: relative;
1752
  border: 3px dashed #ddd;
1753
  }
 
1754
  .lp-metabox-field__image-advanced-images > li.lp-metabox-sortable-placeholder::after {
1755
  position: absolute;
1756
  top: 0;
1771
  speak: none;
1772
  -webkit-font-smoothing: antialiased;
1773
  }
 
1774
  .lp-metabox-field__image-advanced-images::before {
1775
  display: table;
1776
  content: " ";
1777
  }
 
1778
  .lp-metabox-field__image-advanced-images::after {
1779
  display: table;
1780
  clear: both;
1789
  border-radius: 2px;
1790
  background: #f7f7f7;
1791
  }
 
1792
  .lp-metabox-field__image--inner img {
1793
  display: block;
1794
  width: 100%;
1795
  height: auto;
1796
  }
 
1797
  .lp-metabox-field__image--upload {
1798
  padding-top: 10px;
1799
  }
1802
  display: block;
1803
  position: relative;
1804
  }
 
1805
  .lp-meta-box__inner .form-field:not(fieldset) {
1806
  display: flex;
1807
  flex-direction: row;
1812
  align-items: flex-start;
1813
  justify-content: flex-start;
1814
  }
 
1815
  .lp-meta-box__inner .form-field:not(fieldset) label {
1816
  width: 180px;
1817
  min-width: 180px;
1822
  font-weight: 600;
1823
  flex: 0 0 auto;
1824
  }
 
1825
  .lp-meta-box__inner .form-field:not(fieldset) .checkbox {
1826
  margin: 2px 0 !important;
1827
  vertical-align: middle;
1828
  }
 
1829
  .lp-meta-box__inner .form-field:not(fieldset) .description {
1830
  flex: 1;
1831
  display: inline;
1834
  padding: 0;
1835
  font-size: 14px;
1836
  }
 
1837
  .lp-meta-box__inner fieldset.form-field {
1838
  display: grid;
1839
  grid-template-columns: 180px 1fr;
1841
  margin: 0;
1842
  padding: 15px 0;
1843
  }
 
1844
  .lp-meta-box__inner fieldset.form-field h4 {
1845
  width: 180px;
1846
  min-width: 180px;
1852
  font-weight: 600;
1853
  flex: 0 0 auto;
1854
  }
 
1855
  .lp-meta-box__inner fieldset.form-field ul {
1856
  margin: 0;
1857
  font-size: 14px;
1858
  }
 
1859
  .lp-meta-box__inner fieldset.form-field .description {
1860
  grid-column-start: 2;
1861
  margin-top: 10px;
1862
  }
 
1863
  .lp-meta-box__duration-select {
1864
  width: auto !important;
1865
  }
1866
+ .lp-meta-box__duration input[type=number] {
 
1867
  width: 80px !important;
1868
  }
 
1869
  .lp-meta-box__duration .description {
1870
  flex-basis: 100% !important;
1871
  width: 100%;
1872
  margin-top: 8px !important;
1873
  margin-left: 180px !important;
1874
  }
 
1875
  .lp-meta-box__wp-editor {
1876
  display: block;
1877
  }
 
1878
  .lp-meta-box__wp-editor .description {
1879
  flex-basis: 100% !important;
1880
  width: 100%;
1882
  margin-left: 180px !important;
1883
  color: #666;
1884
  }
 
1885
  .lp-meta-box__wp-editor__textarea {
1886
  border: none !important;
1887
  }
 
1888
  .lp-meta-box select {
1889
  width: auto !important;
1890
  }
 
1891
  .lp-meta-box select ~ .description {
1892
  flex-basis: 100% !important;
1893
  width: 100%;
1895
  margin-left: 180px !important;
1896
  color: #666;
1897
  }
1898
+ .lp-meta-box input[type=number],
1899
+ .lp-meta-box input[type=email],
1900
+ .lp-meta-box input[type=text],
1901
+ .lp-meta-box input[type=password],
 
1902
  .lp-meta-box textarea:not(.lp-meta-box__wp-editor__textarea) {
1903
  width: 50%;
1904
  }
1905
+ .lp-meta-box input[type=number] + .description,
1906
+ .lp-meta-box input[type=email] + .description,
1907
+ .lp-meta-box input[type=text] + .description,
1908
+ .lp-meta-box input[type=password] + .description,
 
1909
  .lp-meta-box textarea:not(.lp-meta-box__wp-editor__textarea) + .description {
1910
  flex-basis: 100% !important;
1911
  width: 100%;
1913
  margin-left: 180px !important;
1914
  color: #666;
1915
  }
1916
+ .lp-meta-box input[type=checkbox] {
 
1917
  margin-top: 0;
1918
  }
 
1919
  .lp-meta-box .short {
1920
  width: 50%;
1921
  }
 
1922
  .lp-meta-box textarea:not(.lp-meta-box__wp-editor__textarea) {
1923
  height: 3.5em;
1924
  line-height: 1.5em;
1925
  vertical-align: top;
1926
  }
 
1927
  .lp-meta-box .learn-press-tip.ready {
1928
  display: inline-flex;
1929
  align-items: center;
1934
  margin: 0 !important;
1935
  padding: 0 !important;
1936
  }
 
1937
  #course-settings .lp-meta-box__course-tab {
1938
  display: grid;
1939
  grid-template-columns: 20% 80%;
1940
  }
 
1941
  #course-settings .lp-meta-box__course-tab__tabs {
1942
  position: relative;
1943
  box-sizing: border-box;
1947
  background-color: #fafafa;
1948
  line-height: 1;
1949
  }
 
1950
  #course-settings .lp-meta-box__course-tab__tabs li {
1951
  display: block;
1952
  position: relative;
1953
  margin: 0;
1954
  padding: 0;
1955
  }
 
1956
  #course-settings .lp-meta-box__course-tab__tabs li a {
1957
  display: block;
1958
  margin: 0;
1962
  line-height: 20px !important;
1963
  text-decoration: none;
1964
  }
 
1965
  #course-settings .lp-meta-box__course-tab__tabs li a i {
1966
  margin-right: 5px;
1967
  font-weight: 400;
1971
  text-decoration: none;
1972
  text-transform: none;
1973
  }
1974
+ #course-settings .lp-meta-box__course-tab__tabs li a i[class^=dashicon] {
 
1975
  font-family: "Dashicons";
1976
  }
 
1977
  #course-settings .lp-meta-box__course-tab__tabs li.active a {
1978
  position: relative;
1979
  color: #555;
1980
  background-color: #eee;
1981
  }
 
1982
  @media (max-width: 767px) {
1983
  #course-settings .lp-meta-box__course-tab__tabs {
1984
  display: flex;
2000
  margin-right: 20px;
2001
  }
2002
  }
 
2003
  #course-settings .lp-meta-box__course-tab__content > div {
2004
  padding: 20px;
2005
  }
 
2006
  @media (max-width: 767px) {
2007
  #course-settings .lp-meta-box__course-tab {
2008
  grid-template-columns: auto;
2013
  #price_course_data ._lp_price_field {
2014
  position: relative;
2015
  }
 
2016
  #price_course_data ._lp_sale_price_field .learn-press-tip-floating,
2017
  #price_course_data ._lp_price_field .learn-press-tip-floating {
2018
  top: 54px;
2020
  opacity: 0.8;
2021
  background: #a00;
2022
  }
 
2023
  #price_course_data ._lp_sale_price_field .learn-press-tip-floating::before,
2024
  #price_course_data ._lp_price_field .learn-press-tip-floating::before {
2025
  top: -7px;
2031
  .lp_course_extra_meta_box__content {
2032
  flex: 1;
2033
  }
 
2034
  .lp_course_extra_meta_box__fields {
2035
  margin-bottom: 10px;
2036
  }
 
2037
  .lp_course_extra_meta_box__field {
2038
  position: relative;
2039
  max-width: 600px;
2040
  margin-bottom: 10px;
2041
  }
 
2042
  .lp_course_extra_meta_box__field .sort {
2043
  display: flex;
2044
  position: absolute;
2052
  align-items: center;
2053
  justify-content: center;
2054
  }
 
2055
  .lp_course_extra_meta_box__field .sort::after {
2056
  font-family: Dashicons;
2057
  font-size: 20px;
2058
  line-height: 1;
2059
  content: "\f333";
2060
  }
 
2061
  .lp_course_extra_meta_box__field .delete {
2062
  display: flex;
2063
  position: absolute;
2070
  align-items: center;
2071
  justify-content: center;
2072
  }
 
2073
  .lp_course_extra_meta_box__field .delete::after {
2074
  font-family: Dashicons;
2075
  font-size: 20px;
2076
  line-height: 1;
2077
  content: "\f335";
2078
  }
 
2079
  .lp_course_extra_meta_box__input {
2080
  width: 100% !important;
2081
  padding-right: 40px !important;
2085
  .lp_repeater_meta_box__wrapper {
2086
  flex: 1 !important;
2087
  }
 
2088
  .lp_repeater_meta_box__fields {
2089
  position: relative;
2090
  margin-bottom: 10px;
2091
  }
 
2092
  .lp_repeater_meta_box__field {
2093
  display: grid;
2094
  position: relative;
2096
  border: 1px solid #c5c5c5;
2097
  border-radius: 2px;
2098
  }
 
2099
  .lp_repeater_meta_box__field_active .lp_repeater_meta_box__content {
2100
  display: block;
2101
  }
 
2102
  .lp_repeater_meta_box__field_active .lp_repeater_meta_box__title__toggle::after {
2103
  transform: rotate(180deg);
2104
  }
 
2105
  .lp_repeater_meta_box__title {
2106
  display: grid;
2107
  grid-template-columns: 44px 1fr 40px 40px;
2109
  position: relative;
2110
  background-color: #eee;
2111
  }
 
2112
  .lp_repeater_meta_box__title__title {
2113
  flex: 1;
2114
  padding: 14px 0;
2115
  }
 
2116
  .lp_repeater_meta_box__title__sort {
2117
  display: flex;
2118
  height: 100%;
2122
  align-items: center;
2123
  justify-content: center;
2124
  }
 
2125
  .lp_repeater_meta_box__title__sort::after {
2126
  font-family: Dashicons;
2127
  font-size: 20px;
2128
  line-height: 1;
2129
  content: "\f333";
2130
  }
 
2131
  .lp_repeater_meta_box__title__delete {
2132
  display: flex;
2133
  height: 100%;
2136
  align-items: center;
2137
  justify-content: center;
2138
  }
 
2139
  .lp_repeater_meta_box__title__delete::after {
2140
  font-family: Dashicons;
2141
  font-size: 20px;
2142
  line-height: 1;
2143
  content: "\f335";
2144
  }
 
2145
  .lp_repeater_meta_box__title__toggle {
2146
  display: flex;
2147
  height: 100%;
2150
  align-items: center;
2151
  justify-content: center;
2152
  }
 
2153
  .lp_repeater_meta_box__title__toggle::after {
2154
  font-family: Dashicons;
2155
  font-size: 20px;
2156
  line-height: 1;
2157
  content: "\f347";
2158
  }
 
2159
  .lp_repeater_meta_box__content {
2160
  display: none;
2161
  padding: 14px 20px;
2162
  }
 
2163
  .lp_repeater_meta_box__content > label {
2164
  display: grid;
2165
  width: 100% !important;
2168
  margin-bottom: 20px;
2169
  grid-template-rows: auto 1fr;
2170
  }
 
2171
  .lp_repeater_meta_box__content > label:last-child {
2172
  margin-bottom: 0;
2173
  }
 
2174
  .lp_repeater_meta_box__content > label span {
2175
  margin-bottom: 5px;
2176
  }
 
2177
  .lp_repeater_meta_box__content > label textarea,
2178
  .lp_repeater_meta_box__content > label input {
2179
  width: 100% !important;
2182
  .lp_course_faq_meta_box__content {
2183
  flex: 1;
2184
  }
 
2185
  .lp_course_faq_meta_box__fields {
2186
  position: relative;
2187
  margin-bottom: 10px;
2188
  }
 
2189
  .lp_course_faq_meta_box__field {
2190
  display: grid;
2191
  position: relative;
2195
  border-radius: 4px;
2196
  grid-row-gap: 10px;
2197
  }
 
2198
  .lp_course_faq_meta_box__field label {
2199
  display: grid;
2200
  width: 100% !important;
2202
  max-width: 100% !important;
2203
  grid-template-rows: auto 1fr;
2204
  }
 
2205
  .lp_course_faq_meta_box__field label span {
2206
  margin-bottom: 5px;
2207
  }
 
2208
  .lp_course_faq_meta_box__field label textarea,
2209
  .lp_course_faq_meta_box__field label input {
2210
  width: 100% !important;
2211
  }
 
2212
  .lp_course_faq_meta_box__field a.delete {
2213
  display: flex;
2214
  position: absolute;
2221
  align-items: center;
2222
  justify-content: center;
2223
  }
 
2224
  .lp_course_faq_meta_box__field a.delete::after {
2225
  font-family: Dashicons;
2226
  font-size: 20px;
2227
  line-height: 1;
2228
  content: "\f335";
2229
  }
 
2230
  .lp_course_faq_meta_box__field .sort {
2231
  display: flex;
2232
  position: absolute;
2240
  justify-content: center;
2241
  cursor: grab;
2242
  }
 
2243
  .lp_course_faq_meta_box__field .sort::after {
2244
  font-family: Dashicons;
2245
  font-size: 20px;
2247
  content: "\f333";
2248
  }
2249
 
2250
+ input[name=_lp_course_result]:checked ~ #passing-condition-quiz-result {
2251
  display: block;
2252
  }
2253
 
2254
  #passing-condition-quiz-result {
2255
  display: none;
2256
  }
 
2257
  #passing-condition-quiz-result input {
2258
  width: 80px !important;
2259
  margin-top: 5px !important;
2260
  }
 
2261
  #passing-condition-quiz-result p {
2262
  padding: 10px 16px;
2263
  background-color: #eee;
2270
  margin: 0;
2271
  padding: 0;
2272
  }
 
2273
  .lp-meta-box__file_list > li {
2274
  display: flex;
2275
  flex-flow: column nowrap;
2286
  align-items: center;
2287
  justify-content: center;
2288
  }
 
2289
  .lp-meta-box__file_list > li img {
2290
  display: block;
2291
  width: 100%;
2292
  height: auto;
2293
  }
 
2294
  .lp-meta-box__file_list > li img.is_file {
2295
  width: 30px;
2296
  }
 
2297
  .lp-meta-box__file_list > li img.is_file ~ span {
2298
  margin-top: 5px;
2299
  font-size: 12px;
2300
  }
 
2301
  .lp-meta-box__file_list > li.lp-metabox-sortable-placeholder {
2302
  position: relative;
2303
  border: 3px dashed #ddd;
2304
  }
 
2305
  .lp-meta-box__file_list > li.lp-metabox-sortable-placeholder::after {
2306
  position: absolute;
2307
  top: 0;
2322
  speak: none;
2323
  -webkit-font-smoothing: antialiased;
2324
  }
 
2325
  .lp-meta-box__file_list > li ul.actions {
2326
  position: absolute;
2327
  top: -8px;
2328
  right: -8px;
2329
  padding: 2px;
2330
  }
 
2331
  .lp-meta-box__file_list > li ul.actions li {
2332
  float: right;
2333
  margin: 0 0 0 2px;
2334
  }
 
2335
  .lp-meta-box__file_list > li ul.actions li a.delete {
2336
  display: block;
2337
  position: relative;
2340
  font-size: 1.4em;
2341
  text-indent: -9999px;
2342
  }
 
2343
  .lp-meta-box__file_list > li ul.actions li a.delete::before {
2344
  position: absolute;
2345
  top: 0;
2361
  speak: none;
2362
  -webkit-font-smoothing: antialiased;
2363
  }
 
2364
  .lp-meta-box__file_list > li ul.actions::before {
2365
  display: table;
2366
  content: " ";
2367
  }
 
2368
  .lp-meta-box__file::before {
2369
  display: table;
2370
  content: " ";
2371
  }
 
2372
  .lp-meta-box__file::after {
2373
  display: table;
2374
  clear: both;
2378
  .lp-metabox-evaluate-final_quiz {
2379
  display: block;
2380
  }
 
2381
  .lp-metabox-evaluate-final_quiz__message {
2382
  display: inline-block;
2383
  min-width: 50%;
2388
  background: #f7f7f7;
2389
  text-align: center;
2390
  }
 
2391
  .lp-metabox-evaluate-final_quiz__message-error {
2392
  border-color: lightcoral;
2393
  }
2396
  border: 1px solid #ddd;
2397
  background: #fff;
2398
  }
 
2399
  .learn-press-tabs.vertical .tabs-heading h4 {
2400
  margin: 0;
2401
  padding: 15px;
2402
  }
 
2403
  .learn-press-tabs.vertical .tabs-nav {
2404
  float: left;
2405
  position: relative;
2409
  margin: 0;
2410
  background-color: #fafafa;
2411
  }
 
2412
  .learn-press-tabs.vertical .tabs-nav li {
2413
  display: block;
2414
  position: relative;
2415
  margin: 0;
2416
  padding: 0;
2417
  }
 
2418
  .learn-press-tabs.vertical .tabs-nav li a {
2419
  display: block;
2420
  box-sizing: border-box;
2426
  text-decoration: none;
2427
  text-transform: capitalize;
2428
  }
 
2429
  .learn-press-tabs.vertical .tabs-nav li.icon a {
2430
  padding-left: 35px;
2431
  }
 
2432
  .learn-press-tabs.vertical .tabs-nav li.icon a::before {
2433
  position: absolute;
2434
  left: 10px;
2437
  font-size: 16px;
2438
  vertical-align: top;
2439
  }
 
2440
  .learn-press-tabs.vertical .tabs-nav li.active a {
2441
  position: relative;
2442
  color: #555;
2443
  background-color: #eee;
2444
  }
 
2445
  .learn-press-tabs.vertical .tabs-container {
2446
  overflow: hidden;
2447
  position: relative;
2449
  border-top: none;
2450
  background: #fafafa;
2451
  }
 
2452
  .learn-press-tabs.vertical .tabs-container .tabs-content-container {
2453
  margin: 0 0 0 270px;
2454
  }
 
2455
  .learn-press-tabs.vertical .tabs-container .tabs-content-container > li {
2456
  display: none;
2457
  float: left;
2465
  -moz-box-sizing: border-box;
2466
  box-sizing: border-box;
2467
  }
 
2468
  .learn-press-tabs.vertical::after {
2469
  display: block;
2470
  clear: both;
2479
  margin-left: 0;
2480
  }
2481
  }
 
2482
  .lp_widget_autocomplete__loading {
2483
  margin-top: 0 !important;
2484
  padding: 7px 10px;
2487
  background: #eee;
2488
  font-size: 13px !important;
2489
  }
 
2490
  .lp_widget_autocomplete__select {
2491
  overflow: auto;
2492
  left: 0;
2496
  background: #eee;
2497
  font-size: 13px;
2498
  }
 
2499
  .lp_widget_autocomplete__item {
2500
  overflow: hidden;
2501
  padding: 7px 10px;
2506
  text-overflow: ellipsis;
2507
  cursor: pointer;
2508
  }
 
2509
  .lp_widget_autocomplete__item__selected, .lp_widget_autocomplete__item:hover {
2510
  color: #fff;
2511
  background-color: #007cba;
2523
  transform: rotate(360deg);
2524
  }
2525
  }
 
2526
  .learn-press-addons .lp-search-addon {
2527
  width: 280px;
2528
  height: 32px;
2532
  font-weight: 300;
2533
  line-height: 1.5;
2534
  }
 
2535
  .learn-press-addons .addons-browse {
2536
  margin: 20px 0 0;
2537
  }
 
2538
  .learn-press-addons .addons-browse .lp-addon-hidden {
2539
  display: none !important;
2540
  }
 
2541
  .learn-press-addons .addons-browse .lp-active:nth-of-type(2n+1) {
2542
  clear: none;
2543
  margin-right: 0;
2544
  margin-left: 8px;
2545
  }
 
2546
  .learn-press-addons .addons-browse .lp-active:nth-of-type(2n) {
2547
  clear: both;
2548
  margin-right: 8px;
2549
  margin-left: 0;
2550
  }
 
2551
  .learn-press-addons .addons-browse .plugin-icon img {
2552
  max-width: 100%;
2553
  }
 
2554
  .learn-press-addons .addons-browse .plugin-card .column-description p:not(.authors) {
2555
  display: -webkit-box;
2556
  overflow: hidden;
2562
  -webkit-line-clamp: 3;
2563
  color: #777;
2564
  }
 
2565
  .learn-press-addons .addons-browse .plugin-card .search-highlight {
2566
  text-decoration: underline;
2567
  }
 
2568
  .learn-press-addons .addons-browse .plugin-card-top h3 {
2569
  display: -webkit-box;
2570
  overflow: hidden;
2575
  -webkit-box-orient: vertical;
2576
  -webkit-line-clamp: 2;
2577
  }
 
2578
  .learn-press-addons .addons-browse .plugin-card-top .desc {
2579
  min-height: 90px;
2580
  margin-right: 0;
2581
  }
 
2582
  .learn-press-addons .addons-browse .plugin-card-top .button.activate-plugin, .learn-press-addons .addons-browse .plugin-card-top .button.install-now, .learn-press-addons .addons-browse .plugin-card-top .button.enable-now {
2583
  border-color: #0073aa #006799 #006799;
2584
  color: #fff;
2588
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
2589
  text-decoration: none;
2590
  }
 
2591
  .learn-press-addons .addons-browse .plugin-card-top .button.button-working {
2592
  padding-right: 4px;
2593
  }
 
2594
  .learn-press-addons .addons-browse .plugin-card-top .button.button-working span {
2595
  display: none;
2596
  }
 
2597
  .learn-press-addons .addons-browse .plugin-card-bottom .plugin-version {
2598
  display: inline-block;
2599
  }
 
2600
  .learn-press-addons .addons-browse.premium .column-description p:not(.authors) {
2601
  margin: 0;
2602
  line-height: inherit;
2603
  }
 
2604
  .learn-press-addons .addons-browse::after {
2605
  display: block;
2606
  clear: both;
2610
  .related-themes .plugin-card-top {
2611
  padding-bottom: 0;
2612
  }
 
2613
  .related-themes .theme-content {
2614
  position: relative;
2615
  }
 
2616
  .related-themes .image-thumbnail img {
2617
  width: 100%;
2618
  }
 
2619
  .related-themes .theme-description {
2620
  margin: 0 0 25px 0;
2621
  display: -webkit-box;
2628
  -webkit-line-clamp: 5;
2629
  color: #777;
2630
  }
 
2631
  .related-themes .theme-title {
2632
  min-height: 3.2em;
2633
  margin-right: 100px;
2635
  font-size: 1.2em;
2636
  line-height: 1.3em;
2637
  }
 
2638
  .related-themes .theme-title a {
2639
  color: #545454;
2640
  }
 
2641
  .related-themes .theme-rating {
2642
  display: inline-block;
2643
  float: right;
2644
  }
 
2645
  .related-themes .star-rating {
2646
  display: inline-block;
2647
  }
 
2648
  .related-themes .count-rating {
2649
  position: relative;
2650
  top: 2px;
2651
  font-size: 15px;
2652
  }
 
2653
  .related-themes .theme-detail {
2654
  position: absolute;
2655
  top: -3px;
2657
  line-height: 1.6em;
2658
  text-align: right;
2659
  }
 
2660
  .related-themes .theme-detail::after {
2661
  display: block;
2662
  clear: both;
2663
  content: "";
2664
  }
 
2665
  .related-themes .theme-detail .theme-price {
2666
  display: inline-block;
2667
  color: #545454;
2669
  font-weight: 700;
2670
  line-height: 1.3em;
2671
  }
 
2672
  .related-themes .theme-footer {
2673
  clear: both;
2674
  overflow: hidden;
2683
  .plugin-card:not(.hide-if-js):nth-child(even) {
2684
  margin-right: 8px;
2685
  }
2686
+
2687
  .plugin-card:not(.hide-if-js):nth-child(3n) {
2688
  margin-right: 0;
2689
  }
2690
  }
 
2691
  /**
2692
  * Order
2693
  */
2694
  .post-type-lp_order .wp-list-table .column-order_status {
2695
  width: 150px;
2696
  }
 
2697
  .post-type-lp_order .wp-list-table .order_status span {
2698
  display: inline-block;
2699
  padding: 3px 6px;
2703
  -moz-border-radius: 4px;
2704
  border-radius: 4px;
2705
  }
 
2706
  .post-type-lp_order .wp-list-table .order_status span.pending {
2707
  background: #bdbdbd;
2708
  }
 
2709
  .post-type-lp_order .wp-list-table .order_status span.processing {
2710
  background: #ffc107;
2711
  }
 
2712
  .post-type-lp_order .wp-list-table .order_status span.completed {
2713
  background: #4caf50;
2714
  }
 
2715
  .post-type-lp_order .wp-list-table .order_status span.cancelled {
2716
  background: #444;
2717
  }
 
2718
  .post-type-lp_order .wp-list-table .order_status span.failed {
2719
  background: #f00;
2720
  }
 
2721
  .post-type-lp_order .wp-list-table .order_status span i {
2722
  display: inline-block;
2723
  }
 
2724
  .post-type-lp_order .wp-list-table .column-title,
2725
  .post-type-lp_order .wp-list-table .column-order_total,
2726
  .post-type-lp_order .wp-list-table .column-order_date {
2727
  width: 150px;
2728
  }
 
2729
  .post-type-lp_order .wp-list-table .column-order_items ol {
2730
  margin: 0;
2731
  padding: 0;
2743
  float: none;
2744
  text-align: left;
2745
  }
 
2746
  .wp-list-table .column-instructor {
2747
  width: 150px;
2748
  }
 
2749
  .wp-list-table .column-instructor .post-author {
2750
  display: inline-block;
2751
  }
 
2752
  .wp-list-table .column-instructor .post-author img {
2753
  width: 30px;
2754
  height: 30px;
2756
  border-radius: 50%;
2757
  vertical-align: middle;
2758
  }
 
2759
  .wp-list-table .column-instructor .post-author a {
2760
  display: inline-block;
2761
  vertical-align: middle;
2762
  }
 
2763
  .wp-list-table .column-students {
2764
  width: 80px;
2765
  }
 
2766
  .wp-list-table .column-price {
2767
  width: 120px;
2768
  }
 
2769
  .wp-list-table .column-thumbnail {
2770
  width: 100px;
2771
  padding-top: 11px;
2772
  }
 
2773
  .wp-list-table .column-thumbnail img {
2774
  max-width: 100%;
2775
  height: auto;
2778
  .post-type-page .column-lp-page {
2779
  width: 200px;
2780
  }
 
2781
  .post-type-page .for-plugin-page {
2782
  margin: 0;
2783
  color: #f00;
2798
  color: #b79186;
2799
  background: #fff;
2800
  }
 
2801
  #learn-press-box-edit-slug .button {
2802
  float: right;
2803
  height: 24px;
2823
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header {
2824
  padding: 2em;
2825
  }
 
2826
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
2827
  font-size: 1.4em;
2828
  }
2840
  align-items: center;
2841
  justify-content: center;
2842
  }
 
2843
  .lp-modal-dialog .lp-modal-content {
2844
  display: inline-block;
2845
  overflow: hidden;
2852
  background: white;
2853
  color: black;
2854
  }
 
2855
  .lp-modal-dialog .lp-modal-content .lp-modal-header {
2856
  background: #7c60d9;
2857
  border-bottom: 1px solid #eee;
2858
  padding: 1em;
2859
  }
 
2860
  .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
2861
  margin: 0;
2862
  color: white;
2863
  font-size: inherit;
2864
  }
 
2865
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content {
2866
  max-height: 500px;
2867
  overflow: auto;
2868
  }
 
2869
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h3, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h2, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content .pd-2em {
2870
  padding: 0 2em;
2871
  }
 
2872
  .lp-modal-dialog .lp-modal-header {
2873
  padding: 0 20px;
2874
  }
 
2875
  .lp-modal-dialog .lp-modal-footer {
2876
  padding: 10px 20px;
2877
  background-color: #f9fafb;
2878
  text-align: right;
2879
  }
 
2880
  .lp-modal-dialog .btn-yes {
2881
  color: #fff;
2882
  background-color: #7c60d9;
2907
  -moz-border-radius: 4px;
2908
  border-radius: 4px;
2909
  }
 
2910
  #lp-modal-window #lp-modal-content {
2911
  margin: 0 0 24px 0;
2912
  color: #333;
2915
  line-height: 26px;
2916
  text-align: center;
2917
  }
 
2918
  #lp-modal-window #lp-modal-content > * {
2919
  margin: 0 0 0.5em;
2920
  }
 
2921
  #lp-modal-window #lp-modal-content #lp-modal-buttons {
2922
  display: flex;
2923
  flex-direction: row-reverse;
2924
  align-items: center;
2925
  justify-content: center;
2926
  }
 
2927
  #lp-modal-window #lp-modal-buttons {
2928
  display: flex;
2929
  flex-direction: row-reverse;
2930
  align-items: center;
2931
  justify-content: center;
2932
  }
 
2933
  #lp-modal-window #lp-modal-buttons .lp-button {
2934
  position: relative;
2935
  margin: 0 10px 0 10px;
2936
  }
 
2937
  .learn-press-modal {
2938
  position: fixed;
2939
  z-index: 1000000;
2942
  top: 0;
2943
  display: table;
2944
  }
 
2945
  .learn-press-modal .modal-overlay {
2946
  position: fixed;
2947
  z-index: 1000000;
2951
  height: 100%;
2952
  top: 0;
2953
  }
 
2954
  .learn-press-modal .modal-wrapper {
2955
  display: table-cell;
2956
  vertical-align: middle;
2957
  z-index: 1000010;
2958
  position: relative;
2959
  }
 
2960
  .learn-press-modal .modal-wrapper .modal-container {
2961
  max-width: 800px;
2962
  width: 90%;
2964
  background-color: #fff;
2965
  border-radius: 2px;
2966
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
2967
+ transition: all 0.3s ease;
2968
  overflow: hidden;
2969
  -webkit-box-sizing: border-box;
2970
  -moz-box-sizing: border-box;
2971
  box-sizing: border-box;
2972
  }
 
2973
  .learn-press-modal .modal-wrapper header {
2974
  font-size: 18px;
2975
  padding: 20px;
2977
  font-weight: 600;
2978
  color: #000;
2979
  }
 
2980
  .learn-press-modal .modal-wrapper article {
2981
  margin: 30px 20px;
2982
  }
2983
+ .learn-press-modal .modal-wrapper article input[name=search] {
 
2984
  width: 100%;
2985
  font-size: 16px;
2986
  box-sizing: border-box;
2994
  font-weight: 400;
2995
  vertical-align: middle;
2996
  }
 
2997
  .learn-press-modal .modal-wrapper article .search-results {
2998
  margin: 0;
2999
  margin-top: 30px;
3000
  }
 
3001
  .learn-press-modal .modal-wrapper article .search-results li > label {
3002
  display: block;
3003
  }
 
3004
  .learn-press-modal .modal-wrapper footer {
3005
  padding: 15px 20px;
3006
  overflow: hidden;
3007
  border: 1px solid #eee;
3008
  }
 
3009
  .learn-press-modal .modal-wrapper footer .search-nav {
3010
  float: left;
3011
  }
 
3012
  .learn-press-modal .modal-wrapper footer .search-nav a, .learn-press-modal .modal-wrapper footer .search-nav span {
3013
  display: inline-block;
3014
  line-height: 26px;
3016
  margin: 0;
3017
  padding: 0 10px 1px;
3018
  }
 
3019
  .learn-press-modal .modal-wrapper footer button {
3020
  float: right;
3021
  margin-left: 3px;
3028
  right: 0;
3029
  bottom: 0;
3030
  display: block;
3031
+ content: "";
3032
  z-index: 9;
3033
  background: url("../../images/spinner.gif") no-repeat center center;
3034
  }
3038
  display: inline-block;
3039
  min-width: 300px;
3040
  }
 
3041
  .modal-search .search-input {
3042
  border: 1px solid #DDD;
3043
  width: 100%;
3047
  -moz-box-shadow: none;
3048
  box-shadow: none;
3049
  }
 
3050
  .modal-search .search-input:focus {
3051
  -webkit-box-shadow: none;
3052
  -moz-box-shadow: none;
3053
  box-shadow: none;
3054
  }
 
3055
  .modal-search .search-input:focus {
3056
  border-color: #DDD;
3057
  }
 
3058
  .modal-search .search-results-content {
3059
  position: absolute;
3060
  top: 100%;
3069
  -moz-box-sizing: border-box;
3070
  box-sizing: border-box;
3071
  }
 
3072
  .modal-search .search-results-content .search-results {
3073
  margin: 0;
3074
  }
 
3075
  .modal-search .search-results-content .search-results .result-item {
3076
  margin: 0;
3077
  padding: 0;
3078
  list-style: none;
3079
  }
 
3080
  .modal-search .search-results-content .search-results .result-item label {
3081
  display: block;
3082
  padding: 6px 10px;
3086
  overflow: hidden;
3087
  text-overflow: ellipsis;
3088
  }
 
3089
  .modal-search .search-results-content .search-results .result-item:hover {
3090
  background: #f4fcff;
3091
  }
 
3092
  .modal-search .has-items .search-input {
3093
  border-bottom-color: transparent;
3094
  }
 
3095
  .modal-search .has-items .search-results-content {
3096
  border-top: none;
3097
  }
 
3098
  .modal-search .checked-items {
3099
  text-align: center;
3100
  }
 
3101
  .modal-search .checked-items .button {
3102
  font-size: 12px;
3103
  height: 20px;
3104
  line-height: 20px;
3105
  }
 
3106
  .modal-search .checked-items .disabled {
3107
  color: #777;
3108
  }
 
3109
  .modal-search .search-navigator {
3110
  margin: 5px 0;
3111
  text-align: center;
3112
  }
 
3113
  .modal-search .search-navigator .page-numbers {
3114
  display: inline-block;
3115
  padding: 2px 5px;
3116
  text-decoration: none;
3117
  line-height: 1;
3118
  }
 
3119
  .modal-search .search-navigator .page-numbers.next, .modal-search .search-navigator .page-numbers.prev {
3120
  display: none;
3121
  }
3123
  .lp-order-statuses {
3124
  margin: 0;
3125
  }
 
3126
  .lp-order-statuses li {
3127
  float: left;
3128
  width: 100%;
3129
  margin: 0;
3130
  background: #fff;
3131
  }
 
3132
  .lp-order-statuses li strong {
3133
  display: block;
3134
  margin-bottom: 5px;
3136
  font-size: 20px;
3137
  font-weight: normal;
3138
  }
 
3139
  .lp-order-statuses li strong::before {
3140
  display: inline-block;
3141
  width: 25px;
3146
  vertical-align: middle;
3147
  content: "";
3148
  }
 
3149
  .lp-order-statuses li p {
3150
  margin: 0;
3151
  padding: 0;
3152
  color: #adadad;
3153
  font-size: 12px;
3154
  }
 
3155
  .lp-order-statuses li.counter-number {
3156
  width: 50%;
3157
  padding: 10px 0 0;
3158
  text-align: center;
3159
  }
 
3160
  .lp-order-statuses li.counter-number .counter-inner {
3161
  margin: 0 5px;
3162
  padding: 10px 0;
3163
  border: 1px solid #f3f3f3;
3164
  background: #f9f9f9;
3165
  }
 
3166
  .lp-order-statuses li.counter-number .counter-inner p {
3167
  text-transform: lowercase;
3168
  }
 
3169
  .lp-order-statuses li.counter-number.order-completed strong::before {
3170
  color: #0085ba;
3171
  content: "\f058";
3172
  }
 
3173
  .lp-order-statuses li.counter-number.order-processing strong::before {
3174
  margin-left: -1px;
3175
  color: #563f7a;
3176
  content: "\f321";
3177
  }
 
3178
  .lp-order-statuses li.counter-number.order-pending strong::before {
3179
  color: #aaa;
3180
  content: "\f534";
3181
  }
 
3182
  .lp-order-statuses li.counter-number.order-cancelled strong::before {
3183
  color: #f00;
3184
  content: "\f153";
3185
  }
 
3186
  .lp-order-statuses li.clear {
3187
  float: none;
3188
  }
 
3189
  .lp-order-statuses li.featured-theme {
3190
  float: none;
3191
  clear: both;
3194
  padding: 8px 12px 0 12px;
3195
  border-top: 1px solid #eee;
3196
  }
 
3197
  .lp-order-statuses li.featured-theme .star-rating {
3198
  display: inline-block;
3199
  line-height: 14px;
3200
  vertical-align: middle;
3201
  }
 
3202
  .lp-order-statuses li.featured-theme .star-rating .star {
3203
  width: 14px;
3204
  height: 14px;
3205
  font-size: 14px;
3206
  }
 
3207
  .lp-order-statuses li.featured-theme > div {
3208
  margin-bottom: 3px;
3209
  }
 
3210
  .lp-order-statuses li.featured-theme > div span {
3211
  color: #999;
3212
  font-size: 12px;
3213
  vertical-align: middle;
3214
  }
 
3215
  .lp-order-statuses li:nth-child(even) .counter-inner {
3216
  margin-left: 0;
3217
  }
 
3218
  .lp-order-statuses li:nth-child(odd) .counter-inner {
3219
  margin-right: 0;
3220
  }
 
3221
  .lp-order-statuses li.total-raised {
3222
  box-sizing: border-box;
3223
  padding: 10px 0;
3225
  background: #f9f9f9;
3226
  text-align: center;
3227
  }
 
3228
  .lp-order-statuses li.total-raised strong {
3229
  margin-bottom: 10px;
3230
  font-size: 26px;
3231
  }
 
3232
  .lp-order-statuses li.total-raised strong::before {
3233
  width: 30px;
3234
  height: 30px;
3238
  line-height: 30px;
3239
  content: "\f185";
3240
  }
 
3241
  .lp-order-statuses::after {
3242
  display: block;
3243
  clear: both;
3252
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
3253
  border-radius: 3px;
3254
  }
3255
+ .lp-place-holder [class*=line-] {
 
3256
  height: 6px;
3257
  width: 400px;
3258
  background: #f6f7f9;
3259
  margin-bottom: 13px;
3260
  margin-right: 5px;
3261
  }
 
3262
  .lp-place-holder .thumbnail {
3263
  height: 40px;
3264
  width: 40px;
3266
  margin-right: 20px;
3267
  display: inline-block;
3268
  }
 
3269
  .lp-place-holder .line-heading {
3270
  width: 80%;
3271
  height: 20px;
3272
  }
 
3273
  .lp-place-holder .line-sm {
3274
  width: 30%;
3275
  margin-top: 10px;
3276
  }
 
3277
  .lp-place-holder .line-xs {
3278
  width: 50%;
3279
  }
 
3280
  .lp-place-holder .line-df {
3281
  margin-top: 30px;
3282
  width: 380px;
3283
  }
 
3284
  .lp-place-holder .line-lg {
3285
  width: 200px;
3286
  }
 
3287
  .lp-place-holder .line-lgx {
3288
  width: 450px;
3289
  }
3290
+ .lp-place-holder [class*=line],
 
3291
  .lp-place-holder .thumbnail {
3292
  animation: lpTimeLine;
3293
  animation-duration: 1s;
3306
  background-position: 400px 0;
3307
  }
3308
  }
 
3309
  .post-type-lp_order {
3310
  /*Export order function style*/
3311
  /* The Modal (background) */
3313
  /* The Close Button */
3314
  /*tabs css*/
3315
  }
 
3316
  .post-type-lp_order #post-body-content {
3317
  display: none;
3318
  }
 
3319
  .post-type-lp_order #order_details {
3320
  border: none !important;
3321
  background: transparent !important;
3322
  }
 
3323
  .post-type-lp_order #order_details .hndle,
3324
  .post-type-lp_order #order_details .handlediv,
3325
  .post-type-lp_order #order_details .postbox-header {
3326
  display: none;
3327
  }
 
3328
  .post-type-lp_order #order_details .inside {
3329
  display: block !important;
3330
  margin: 0;
3331
  padding: 0;
3332
  }
 
3333
  .post-type-lp_order #order_details .order-data {
3334
  margin: 0 0 20px 0 !important;
3335
  padding: 30px !important;
3337
  background-color: #fff !important;
3338
  box-shadow: none !important;
3339
  }
 
3340
  .post-type-lp_order #order_details .order-data-field {
3341
  margin-bottom: 20px;
3342
  }
 
3343
  .post-type-lp_order #order_details .order-data-field label {
3344
  display: block;
3345
  margin-bottom: 5px;
3346
  font-weight: 500;
3347
  }
 
3348
  .post-type-lp_order #order_details .order-data-number {
3349
  margin: 0 0 10px;
3350
  font-size: 20px;
3351
  font-weight: 600;
3352
  }
 
3353
  .post-type-lp_order #order_details .payment-method-title {
3354
  color: #777;
3355
  font-size: 16px;
3356
  }
 
3357
  .post-type-lp_order #order_details .payment-method-title strong {
3358
  color: #23282d;
3359
  }
 
3360
  .post-type-lp_order #order_details .order-data-heading {
3361
  margin-top: 40px;
3362
  font-size: 16px;
3363
  }
 
3364
  .post-type-lp_order #order_details .order-users {
3365
  display: inline-block;
3366
  }
 
3367
  .post-type-lp_order #order_details .order-users .description {
3368
  margin-top: 10px;
3369
  padding: 10px;
3370
  background: #eee;
3371
  }
 
3372
  .post-type-lp_order #order_details .order-data-date .order-date {
3373
  width: 100px;
3374
  }
 
3375
  .post-type-lp_order #order_details .order-data-date .order-hour,
3376
  .post-type-lp_order #order_details .order-data-date .order-minute {
3377
  width: 50px;
3378
  }
 
3379
  .post-type-lp_order #order_details .order-data-note {
3380
  display: inline-block;
3381
  }
 
3382
  .post-type-lp_order #order_details .order-data-note .order-note {
3383
  padding: 10px;
3384
  color: #fff;
3385
  background-color: #c1a3b6;
3386
  font-size: 14px;
3387
  }
 
3388
  .post-type-lp_order #order_details .order-items {
3389
  margin: 0;
3390
  border: 1px solid #ccd0d4 !important;
3391
  background-color: #fff;
3392
  }
 
3393
  .post-type-lp_order #order_details .order-items table {
3394
  width: 100%;
3395
  border-collapse: collapse;
3396
  }
 
3397
  .post-type-lp_order #order_details .order-items table thead {
3398
  margin: 0;
3399
  padding: 0;
3400
  }
 
3401
  .post-type-lp_order #order_details .order-items table thead tr {
3402
  background-color: #f8f8f8;
3403
  }
 
3404
  .post-type-lp_order #order_details .order-items table thead th {
3405
  padding: 15px;
3406
  border-bottom: none;
3408
  font-weight: 400;
3409
  text-align: left;
3410
  }
 
3411
  .post-type-lp_order #order_details .order-items table thead th:first-child {
3412
  padding-left: 30px;
3413
  }
 
3414
  .post-type-lp_order #order_details .order-items table thead th:last-child {
3415
  padding-right: 30px;
3416
  }
 
3417
  .post-type-lp_order #order_details .order-items table tbody td,
3418
  .post-type-lp_order #order_details .order-items table tfoot td {
3419
  padding: 10px;
3420
  border-bottom: 1px solid #ddd;
3421
  text-align: left;
3422
  }
 
3423
  .post-type-lp_order #order_details .order-items table tbody {
3424
  margin: 0;
3425
  padding: 0;
3426
  }
 
3427
  .post-type-lp_order #order_details .order-items table tbody tr td {
3428
  padding: 15px;
3429
  }
 
3430
  .post-type-lp_order #order_details .order-items table tbody tr td:first-child {
3431
  padding-left: 30px;
3432
  }
 
3433
  .post-type-lp_order #order_details .order-items table tbody tr td:last-child {
3434
  padding-right: 30px;
3435
  }
 
3436
  .post-type-lp_order #order_details .order-items table tfoot {
3437
  margin: 0;
3438
  padding: 0;
3439
  }
 
3440
  .post-type-lp_order #order_details .order-items table tfoot tr {
3441
  background-color: #f8f8f8;
3442
  }
 
3443
  .post-type-lp_order #order_details .order-items table tfoot tr:last-child td {
3444
  padding-top: 20px;
3445
  padding-bottom: 20px;
3446
  }
 
3447
  .post-type-lp_order #order_details .order-items table tfoot td {
3448
  padding: 10px 15px;
3449
  padding-bottom: 0;
3451
  font-size: 14px;
3452
  text-align: right;
3453
  }
 
3454
  .post-type-lp_order #order_details .order-items table tfoot td:first-child {
3455
  padding-left: 30px;
3456
  }
 
3457
  .post-type-lp_order #order_details .order-items table tfoot td:last-child {
3458
  padding-right: 30px;
3459
  }
 
3460
  .post-type-lp_order #order_details .order-items table .column-price,
3461
  .post-type-lp_order #order_details .order-items table .column-total,
3462
  .post-type-lp_order #order_details .order-items table .column-quantity {
3463
  width: 150px;
3464
  text-align: right;
3465
  }
 
3466
  .post-type-lp_order #order_details .order-items table .row-subtotal td .order-subtotal,
3467
  .post-type-lp_order #order_details .order-items table .row-subtotal td .order-total,
3468
  .post-type-lp_order #order_details .order-items table .row-total td .order-subtotal,
3469
  .post-type-lp_order #order_details .order-items table .row-total td .order-total {
3470
  font-weight: 700;
3471
  }
 
3472
  .post-type-lp_order #order_details .order-items table .remove-order-item {
3473
  outline: none;
3474
  color: #ccc;
3475
  text-decoration: none;
3476
  }
 
3477
  .post-type-lp_order #order_details .order-items table .remove-order-item .dashicons {
3478
  font-size: 20px;
3479
  }
 
3480
  .post-type-lp_order #order_details .order-items table .remove-order-item:hover {
3481
  color: #f00;
3482
  }
 
3483
  .post-type-lp_order #order_details .order-items table .order-item-row:hover .remove-order-item {
3484
  display: inline-block;
3485
  }
 
3486
  .post-type-lp_order #order-export__button:hover {
3487
  cursor: pointer;
3488
  }
 
3489
  .post-type-lp_order .export-modal.modal {
3490
  display: none;
3491
  position: fixed;
3498
  background-color: #000000;
3499
  background-color: rgba(0, 0, 0, 0.4);
3500
  }
 
3501
  .post-type-lp_order .export-modal .modal-content {
3502
  background-color: #fefefe;
3503
  margin: 5% auto;
3506
  width: 60%;
3507
  position: relative;
3508
  }
 
3509
  .post-type-lp_order .export-modal .close {
3510
  color: #aaa;
3511
  position: absolute;
3514
  top: -5px;
3515
  right: 11px;
3516
  }
 
3517
  .post-type-lp_order .export-modal .close:hover {
3518
  color: black;
3519
  text-decoration: none;
3520
  cursor: pointer;
3521
  }
 
3522
  .post-type-lp_order .export-modal .close:focus {
3523
  color: black;
3524
  text-decoration: none;
3525
  cursor: pointer;
3526
  }
 
3527
  .post-type-lp_order .export-modal .panel {
3528
  display: none;
3529
  }
 
3530
  .post-type-lp_order .export-modal .panel.active {
3531
  display: block;
3532
  }
 
3533
  .post-type-lp_order #order-export__tabs.tabs {
3534
  display: flex;
3535
  justify-content: space-around;
3537
  height: 40px;
3538
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
3539
  }
 
3540
  .post-type-lp_order #order-export__tabs.tabs > * {
3541
  width: 100%;
3542
  color: dimgray;
3546
  justify-content: center;
3547
  align-items: center;
3548
  }
 
3549
  .post-type-lp_order #order-export__tabs.tabs > *:hover:not(.active) {
3550
  background-color: #dcdcdc;
3551
  }
 
3552
  .post-type-lp_order #order-export__tabs.tabs > .active {
3553
  color: white;
3554
  background-color: #4CAF50;
3555
  }
 
3556
  .post-type-lp_order #lp-invoice__content {
3557
  margin-bottom: 25px;
3558
  }
 
3559
  .post-type-lp_order #lp-invoice__content thead th {
3560
  border-bottom: 1px solid #000;
3561
  border-top: 1px solid #000;
3562
  padding: 10px 20px;
3563
  }
 
3564
  .post-type-lp_order #lp-invoice__content tbody td {
3565
  border-bottom: 1px solid #000;
3566
  text-align: center;
3567
  padding: 10px 20px;
3568
  }
 
3569
  .post-type-lp_order #lp-invoice__content tfoot td {
3570
  border-bottom: 1px solid #000;
3571
  text-align: center;
3572
  padding: 10px 20px;
3573
  }
 
3574
  .post-type-lp_order .export-options__content {
3575
  margin-bottom: 25px;
3576
  }
 
3577
  .post-type-lp_order .export-options {
3578
  position: relative;
3579
  }
 
3580
  .post-type-lp_order .export-options__loading {
3581
  opacity: 0;
3582
  z-index: -1;
3592
  align-items: center;
3593
  justify-content: center;
3594
  }
 
3595
  .post-type-lp_order .export-options__loading .spinner {
3596
  background: url("../../images/spinner.gif") no-repeat center center;
3597
  z-index: 9;
3598
  display: inline-block;
3599
  visibility: visible;
3600
  }
 
3601
  .post-type-lp_order .export-options__loading.active {
3602
  opacity: 1;
3603
  z-index: 9;
3604
  visibility: visible;
3605
  }
 
3606
  .post-type-lp_order #lp-invoice__export {
3607
  color: white;
3608
  background-color: #4CAF50;
3613
  -o-transition: all 0.5s ease;
3614
  -webkit-transition: all 0.5s ease;
3615
  }
 
3616
  .post-type-lp_order #lp-invoice__export:hover {
3617
  color: #000;
3618
  background-color: #fff;
3623
  -webkit-transition: all 0.5s ease;
3624
  cursor: pointer;
3625
  }
 
3626
  .post-type-lp_order #lp-invoice__update {
3627
  color: white;
3628
  background-color: #4CAF50;
3633
  -o-transition: all 0.5s ease;
3634
  -webkit-transition: all 0.5s ease;
3635
  }
 
3636
  .post-type-lp_order #lp-invoice__update:hover {
3637
  color: #000;
3638
  background-color: #fff;
3643
  -webkit-transition: all 0.5s ease;
3644
  cursor: pointer;
3645
  }
 
3646
  .post-type-lp_order #lp-invoice__actions {
3647
  display: flex;
3648
  flex-direction: row;
3649
  justify-content: flex-end;
3650
  }
 
3651
  .post-type-lp_order .export-options__actions {
3652
  display: flex;
3653
  flex-direction: row;
3654
  justify-content: flex-end;
3655
  }
 
3656
  .post-type-lp_order .lp-invoice__body table {
3657
  border-spacing: 0;
3658
  width: 100%;
3661
  #learn-press-toggle-settings-js-css {
3662
  display: none;
3663
  }
 
3664
  #learn-press-toggle-settings-js-css + table {
3665
  display: none;
3666
  }
 
3667
  #learn-press-toggle-settings-js-css:checked + table {
3668
  display: table;
3669
  }
3672
  margin: 0 20px 20px 0;
3673
  float: left;
3674
  }
 
3675
  .color-schemas ul {
3676
  list-style: none;
3677
  margin: 0;
3678
  padding: 0;
3679
  }
 
3680
  .color-schemas ul > li > label {
3681
  font-weight: 600;
3682
  display: block;
3683
  margin-bottom: 10px;
3684
  }
 
3685
  .color-schemas .wp-color-picker {
3686
  width: 80px;
3687
  height: 24px;
3688
  vertical-align: top;
3689
  margin: 0;
3690
  }
 
3691
  .color-schemas .wp-picker-holder {
3692
  position: absolute;
3693
  }
 
3694
  .color-schemas .buttons {
3695
  display: none;
3696
  }
 
3697
  .color-schemas table {
3698
  border-collapse: collapse;
3699
  position: relative;
3700
  }
 
3701
  .color-schemas table td, .color-schemas table th {
3702
  padding: 10px 10px;
3703
  }
 
3704
  .color-schemas table tbody {
3705
  border: 1px solid transparent;
3706
  position: relative;
3707
  }
 
3708
  .color-schemas table tbody td, .color-schemas table tbody th {
3709
  text-align: left;
3710
  background: #F5F5F5;
3711
  }
 
3712
  .color-schemas table tbody tr:first-child td, .color-schemas table tbody tr:first-child th {
3713
  padding-bottom: 0;
3714
  }
 
3715
  .color-schemas table:after {
3716
+ content: "";
3717
  position: absolute;
3718
  top: 0;
3719
  left: 0;
3721
  bottom: 0;
3722
  background: rgba(255, 255, 255, 0.7);
3723
  }
 
3724
  .color-schemas tfoot td, .color-schemas tfoot th {
3725
  padding-left: 0;
3726
  padding-right: 0;
3727
  }
 
3728
  .color-schemas .remove-schema {
3729
  float: right;
3730
  color: #FF0000;
3731
  }
 
3732
  .color-schemas .wp-color-result {
3733
  margin: 0;
3734
  }
 
3735
  .color-schemas .clone-schema {
3736
  display: none;
3737
  }
 
3738
  .color-schemas:first-child .remove-schema,
3739
  .color-schemas:first-child .apply-schema {
3740
  display: none;
3741
  }
 
3742
  .color-schemas:nth-child(2) {
3743
  clear: both;
3744
  }
 
3745
  .color-schemas:hover tbody {
3746
  opacity: 1;
3747
  }
 
3748
  .color-schemas.current tbody {
3749
  border-color: #DDD;
3750
  }
 
3751
  .color-schemas.current tbody td, .color-schemas.current tbody th {
3752
  background: rgba(5, 215, 255, 0.26);
3753
  }
 
3754
  .color-schemas.current table:after {
3755
  display: none;
3756
  }
 
3757
  .color-schemas.current .clone-schema {
3758
  display: inline-block;
3759
  }
3761
  .wp-picker-container {
3762
  position: relative;
3763
  }
 
3764
  .wp-picker-container .wp-picker-holder {
3765
  z-index: 99999;
3766
  }
3773
  border-radius: 4px;
3774
  background-color: #fff;
3775
  }
 
3776
  .lp-install-sample__options {
3777
  margin-bottom: 20px;
3778
  padding: 0 20px;
3779
  border: 1px solid #eee;
3780
  border-radius: 4px;
3781
  }
 
3782
  .lp-install-sample__options legend {
3783
  padding: 5px;
3784
  font-weight: 500;
3785
  }
 
3786
  .lp-install-sample__buttons {
3787
  display: flex;
3788
  margin-top: 25px;
3789
  align-items: center;
3790
  justify-content: space-between;
3791
  }
 
3792
  .lp-install-sample__toggle-options {
3793
  margin-right: auto;
3794
  margin-left: 10px;
3795
  }
 
3796
  .lp-install-sample__uninstall {
3797
  float: right;
3798
  }
 
3799
  .lp-install-sample__response {
3800
  margin: 0;
3801
  padding: 10px;
3802
  border: 2px solid #059601;
3803
  border-radius: 6px;
3804
  }
 
3805
  .lp-install-sample__response.fail {
3806
  border-color: #d85554;
3807
  }
3819
  align-items: center;
3820
  justify-content: center;
3821
  }
 
3822
  .lp-update-db-modal__hidden {
3823
  display: none !important;
3824
  visibility: hidden;
3825
  opacity: 0;
3826
  pointer-events: none;
3827
  }
 
3828
  .lp-update-db-modal__overlay {
3829
  position: absolute;
3830
  z-index: 1;
3839
  transition-duration: 150ms;
3840
  transition-property: opacity;
3841
  }
 
3842
  .lp-update-db-modal__content {
3843
  display: inline-block;
3844
  overflow: hidden;
3849
  text-align: left;
3850
  vertical-align: middle;
3851
  }
 
3852
  .lp-update-db-modal__content-header {
3853
  padding: 24px 24px 16px 24px;
3854
  background-color: #fff;
3855
  }
 
3856
  .lp-update-db-modal__content-start {
3857
  display: flex;
3858
  flex-direction: flex-start;
3859
  }
 
3860
  .lp-update-db-modal__content-icon {
3861
  display: flex;
3862
  width: 40px;
3869
  align-items: center;
3870
  flex: 0 0 auto;
3871
  }
 
3872
  .lp-update-db-modal__content-icon svg {
3873
  width: 24px;
3874
  height: 24px;
3875
  color: #dc2626;
3876
  }
 
3877
  .lp-update-db-modal__content-icon svg:last-child {
3878
  color: #258d6c;
3879
  }
 
3880
  .lp-update-db-modal__content-icon__success {
3881
  display: none;
3882
  }
 
3883
  .lp-update-db-modal__content-text {
3884
  margin-left: 18px;
3885
  text-align: left;
3886
  }
 
3887
  .lp-update-db-modal__content-text h3 {
3888
  margin: 0;
3889
  font-weight: 500;
3890
  }
 
3891
  .lp-update-db-modal__content-text p {
3892
  margin: 0;
3893
  margin-top: 10px;
3895
  font-size: 14px;
3896
  font-weight: 400;
3897
  }
 
3898
  .lp-update-db-modal__content-footer {
3899
  display: flex;
3900
  flex-direction: row;
3903
  justify-content: flex-end;
3904
  align-items: center;
3905
  }
 
3906
  .lp-update-db-modal__content-footer a {
3907
  padding: 8px 16px;
3908
  border: 1px solid #e5e7eb;
3912
  font-weight: 500;
3913
  text-decoration: none;
3914
  }
 
3915
  .lp-update-db-modal__content-footer a:last-child {
3916
  margin-left: 10px;
3917
  color: #fff;
3918
  background-color: #0073aa;
3919
  }
 
3920
  .lp-update-db-modal__success .lp-update-db-modal__content-icon {
3921
  background-color: #def7ec;
3922
  }
 
3923
  .lp-update-db-modal__success .lp-update-db-modal__content-icon__error {
3924
  display: none;
3925
  }
 
3926
  .lp-update-db-modal__success .lp-update-db-modal__content-icon__success {
3927
  display: block;
3928
  }
3935
  max-width: 500px;
3936
  margin: 0 auto;
3937
  }
 
3938
  .terms-upgrade .error {
3939
  display: none;
3940
  }
3957
  .tools-select__data {
3958
  overflow: hidden;
3959
  }
 
3960
  .tools-select__data li {
3961
  background-color: #fff;
3962
  border: 1px solid #eee;
3971
  padding: 10px;
3972
  width: 100%;
3973
  }
 
3974
  .tools-select__data li input {
3975
  margin: 0 10px 0 0;
3976
  }
3987
  align-items: center;
3988
  justify-content: center;
3989
  }
 
3990
  .progressbar__content span {
3991
  z-index: 9;
3992
  }
4040
  margin: 0;
4041
  background-color: #fff;
4042
  }
 
4043
  .lp-admin-editor .heading,
4044
  .lp-admin-editor .lp-box-data-content {
4045
  padding: 0;
4066
  align-items: center;
4067
  line-height: 1;
4068
  }
 
4069
  #admin-editor-lp_course .lp-course-curriculum .heading h4 {
4070
  margin: 0;
4071
  font-size: 16px;
4072
  }
 
4073
  #admin-editor-lp_course .lp-course-curriculum .heading .collapse-sections {
4074
  display: flex;
4075
  width: 40px;
4080
  justify-content: center;
4081
  align-items: center;
4082
  }
 
4083
  #admin-editor-lp_course .lp-course-curriculum .heading .collapse-sections.close::before {
4084
  content: "\f140";
4085
  }
 
4086
  #admin-editor-lp_course .lp-course-curriculum .heading .collapse-sections.open::before {
4087
  content: "\f142";
4088
  }
 
4089
  #admin-editor-lp_course .lp-course-curriculum .heading .status {
4090
  visibility: hidden;
4091
  position: relative;
4094
  font-family: Dashicons;
4095
  font-size: 20px;
4096
  }
 
4097
  #admin-editor-lp_course .lp-course-curriculum .heading .status::before {
4098
  content: "\f463";
4099
  }
 
4100
  #admin-editor-lp_course .lp-course-curriculum .heading .status.loading {
4101
  display: inline-block;
4102
  visibility: visible;
4103
  animation: rotation 2s infinite linear;
4104
  }
 
4105
  #admin-editor-lp_course .lp-course-curriculum .curriculum-sections {
4106
  margin: 0;
4107
  margin: 0 20px 20px 20px;
4108
  border: 1px solid #ddd;
4109
  }
 
4110
  #admin-editor-lp_course .lp-course-curriculum .section {
4111
  margin: 0;
4112
  border-bottom: 1px solid #e5e5e5;
4113
  opacity: 1;
4114
  background: #fff;
4115
  }
 
4116
  #admin-editor-lp_course .lp-course-curriculum .section:first-child {
4117
  border-top: 0;
4118
  }
 
4119
  #admin-editor-lp_course .lp-course-curriculum .section.new-section {
4120
  margin-top: 1px;
4121
  border: none;
4122
  }
 
4123
  #admin-editor-lp_course .lp-course-curriculum .section.new-section form {
4124
  margin: 0;
4125
  }
 
4126
  #admin-editor-lp_course .lp-course-curriculum .section.new-section .section-head {
4127
  background-color: #f4fcff;
4128
  }
 
4129
  #admin-editor-lp_course .lp-course-curriculum .section.new-section .section-head .creatable {
4130
  position: relative;
4131
  top: 1px;
4132
  }
 
4133
  #admin-editor-lp_course .lp-course-curriculum .section.new-section .section-head .creatable::before {
4134
  content: "\f132";
4135
  }
 
4136
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section {
4137
  position: relative;
4138
  }
 
4139
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section::after {
4140
  position: absolute;
4141
  top: 0;
4146
  background: #fff;
4147
  content: "";
4148
  }
 
4149
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section .section-head .movable::before {
4150
  display: inline-block;
4151
  color: #a2a2a2;
4156
  -o-animation: rotating4 2s linear infinite;
4157
  animation: rotating4 2s linear infinite;
4158
  }
 
4159
  #admin-editor-lp_course .lp-course-curriculum .section.empty-section .section-collapse {
4160
  display: none;
4161
  }
 
4162
  #admin-editor-lp_course .lp-course-curriculum .section:hover .section-actions .remove {
4163
  display: inline-block;
4164
  }
 
4165
  #admin-editor-lp_course .lp-course-curriculum .section input {
4166
  background-color: transparent;
4167
  box-shadow: none;
4168
  }
 
4169
  #admin-editor-lp_course .lp-course-curriculum .section input:focus {
4170
  box-shadow: none;
4171
  }
 
4172
  #admin-editor-lp_course .lp-course-curriculum .section .section-head {
4173
  display: flex;
4174
  position: relative;
4180
  transition: background 500ms ease-out;
4181
  align-items: center;
4182
  }
 
4183
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable,
4184
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .creatable {
4185
  display: inline-block;
4191
  text-align: center;
4192
  vertical-align: middle;
4193
  }
 
4194
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable {
4195
  margin-right: -1px;
4196
  cursor: url("../../images/openhand.cur") 7 5, default;
4197
  }
 
4198
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable::before {
4199
  content: "\f333";
4200
  }
 
4201
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .movable:hover {
4202
  color: #0085ba;
4203
  }
 
4204
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .section-item-counts {
4205
  line-height: 40px;
4206
  }
 
4207
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions {
4208
  height: 100%;
4209
  color: #444;
4210
  }
 
4211
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions > * {
4212
  display: inline-block;
4213
  height: 100%;
4214
  text-align: center;
4215
  cursor: pointer;
4216
  }
 
4217
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse:hover {
4218
  color: #0085ba;
4219
  }
 
4220
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse::before {
4221
  display: inline-block;
4222
  width: 40px;
4225
  font-size: 16px;
4226
  line-height: 40px;
4227
  }
 
4228
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse.open::before {
4229
  content: "\f343";
4230
  }
 
4231
  #admin-editor-lp_course .lp-course-curriculum .section .section-head .actions .collapse.close::before {
4232
  content: "\f347";
4233
  }
 
4234
  #admin-editor-lp_course .lp-course-curriculum .section .name {
4235
  width: 100%;
4236
  border: none;
4239
  font-weight: 600;
4240
  line-height: 50px;
4241
  }
 
4242
  #admin-editor-lp_course .lp-course-curriculum .section .name:focus {
4243
  color: #444;
4244
  }
 
4245
  #admin-editor-lp_course .lp-course-curriculum .section .section-collapse {
4246
  overflow: hidden;
4247
  }
 
4248
  #admin-editor-lp_course .lp-course-curriculum .section .section-content {
4249
  padding: 20px;
4250
  border-top: 1px solid #e5e5e5;
4251
  }
 
4252
  #admin-editor-lp_course .lp-course-curriculum .section .details {
4253
  margin-bottom: 20px;
4254
  }
 
4255
  #admin-editor-lp_course .lp-course-curriculum .section .title-input {
4256
  padding-left: 0;
4257
  border: none;
4259
  line-height: 30px;
4260
  flex: 1;
4261
  }
 
4262
  #admin-editor-lp_course .lp-course-curriculum .section .description-input {
4263
  width: 100%;
4264
  margin: 0;
4266
  border: none;
4267
  color: #999;
4268
  }
 
4269
  #admin-editor-lp_course .lp-course-curriculum .section .description-input:focus {
4270
  color: #444;
4271
  }
 
4272
  #admin-editor-lp_course .lp-course-curriculum .section-list-items {
4273
  width: 100%;
4274
  border-collapse: collapse;
4275
  }
 
4276
  #admin-editor-lp_course .lp-course-curriculum .section-list-items ul {
4277
  position: relative;
4278
  min-height: 5px;
4279
  margin: 0;
4280
  }
 
4281
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item {
4282
  display: flex;
4283
  position: relative;
4289
  justify-content: center;
4290
  align-items: center;
4291
  }
 
4292
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.ui-sortable-helper {
4293
  border-bottom: 1px solid #eee;
4294
  }
 
4295
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:nth-child(2n+1) {
4296
  background-color: #f7f7f7;
4297
  }
 
4298
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.updating::before {
4299
  position: absolute;
4300
  z-index: 2;
4304
  left: 0;
4305
  content: "";
4306
  }
 
4307
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.removing {
4308
  background-color: #ffeded;
4309
  }
 
4310
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .drag {
4311
  height: 20px;
4312
  padding-top: 3px;
4315
  fill: #999;
4316
  flex: 0 0 18px;
4317
  }
 
4318
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .drag:hover {
4319
  fill: #0085ba;
4320
  }
 
4321
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .icon {
4322
  display: flex;
4323
  align-items: center;
4324
  justify-content: center;
4325
  }
 
4326
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .title {
4327
  margin-right: 120px;
4328
  margin-left: 2px;
4329
  flex-grow: 1;
4330
  flex-basis: 100%;
4331
  }
 
4332
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .title input {
4333
  color: inherit;
4334
  }
 
4335
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions {
4336
  display: flex;
4337
  position: absolute;
4341
  align-items: center;
4342
  justify-content: center;
4343
  }
 
4344
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions {
4345
  margin: 0;
4346
  }
 
4347
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions > * {
4348
  visibility: hidden;
4349
  margin-right: 10px;
4350
  }
 
4351
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions .edit {
4352
  text-decoration: none;
4353
  }
 
4354
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .actions .remove {
4355
  color: #a00;
4356
  }
 
4357
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:hover .drag {
4358
  visibility: visible;
4359
  }
 
4360
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:not(.lp_lesson) .item-actions .actions .preview-item {
4361
  display: none;
4362
  }
 
4363
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item {
4364
  display: flex;
4365
  position: relative;
4367
  transition: all 200ms ease-out;
4368
  align-items: center;
4369
  }
 
4370
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .drag {
4371
  display: flex;
4372
  width: 30px;
4378
  align-items: center;
4379
  justify-content: center;
4380
  }
 
4381
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .drag::before {
4382
  content: "\f132";
4383
  }
 
4384
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .title {
4385
  display: inline-block;
4386
  margin: 0;
4387
  flex: 1;
4388
  }
 
4389
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types {
4390
  display: inline-block;
4391
  }
 
4392
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:hover, #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:focus {
4393
  background-color: #fff;
4394
  }
 
4395
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:hover .type, #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types:focus .type {
4396
  display: inline-block;
4397
  }
 
4398
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type {
4399
  display: inline-block;
4400
  padding: 8px 5px;
4401
  color: #ccc;
4402
  }
 
4403
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type input {
4404
  display: none;
4405
  }
 
4406
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.current {
4407
  color: #0085ba;
4408
  }
 
4409
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type::before {
4410
  position: relative;
4411
  top: 2px;
4412
  font-family: Dashicons;
4413
  font-size: 20px;
4414
  }
 
4415
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.lp_quiz {
4416
  padding: 8px 6px 8px 0;
4417
  }
 
4418
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.lp_quiz::before {
4419
  content: "\f469";
4420
  }
 
4421
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.lp_lesson::before {
4422
  content: "\f330";
4423
  }
 
4424
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .new-section-item .types .type.empty-item::before {
4425
  content: "\f463";
4426
  }
 
4427
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions {
4428
  text-align: right;
4429
  }
 
4430
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action {
4431
  display: inline-block;
4432
  position: relative;
4438
  vertical-align: middle;
4439
  cursor: pointer;
4440
  }
 
4441
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action > a {
4442
  width: 30px;
4443
  height: 30px;
4444
  color: #999;
4445
  line-height: 30px;
4446
  }
 
4447
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action > a:hover {
4448
  color: #0073aa;
4449
  }
 
4450
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item > a:hover {
4451
  color: #e74c3c;
4452
  }
 
4453
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul {
4454
  display: none;
4455
  position: absolute;
4462
  background: #fdfeff;
4463
  text-align: center;
4464
  }
 
4465
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li {
4466
  margin: 0;
4467
  border-bottom: 1px solid #eee;
4468
  text-align: right;
4469
  }
 
4470
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li a {
4471
  display: block;
4472
  padding: 10px 25px;
4474
  font-size: 12px;
4475
  text-decoration: none;
4476
  }
 
4477
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li a.delete-permanently {
4478
  color: #e74c3c;
4479
  }
 
4480
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item ul li:hover {
4481
  background: #eee;
4482
  }
 
4483
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .action.delete-item:hover ul {
4484
  display: block;
4485
  }
 
4486
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item:hover .item-actions .actions > * {
4487
  visibility: visible;
4488
  cursor: pointer;
4489
  }
 
4490
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.lp_quiz .icon::before {
4491
  content: "\f469";
4492
  }
 
4493
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.lp_lesson .icon::before {
4494
  content: "\f330";
4495
  }
 
4496
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item {
4497
  position: relative;
4498
  color: #a2a2a2;
4499
  }
 
4500
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item::after {
4501
  position: absolute;
4502
  top: 0;
4507
  background: #fff;
4508
  content: "";
4509
  }
 
4510
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item .item-actions {
4511
  display: none;
4512
  }
 
4513
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item.empty-item .icon::before {
4514
  color: #a2a2a2;
4515
  content: "\f463";
4519
  -o-animation: rotating4 2s linear infinite;
4520
  animation: rotating4 2s linear infinite;
4521
  }
 
4522
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .icon {
4523
  color: #0085ba;
4524
  font-size: 20px;
4525
  text-align: center;
4526
  flex: 0 0 29px;
4527
  }
 
4528
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .icon::before {
4529
  font-family: Dashicons;
4530
  }
 
4531
  #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item input {
4532
  width: 100%;
4533
  padding: 8px 10px 8px 0;
4536
  font-size: 14px;
4537
  font-weight: 600;
4538
  }
 
4539
  #admin-editor-lp_course .lp-course-curriculum .section-actions {
4540
  padding: 0 20px 20px 20px;
4541
  }
 
4542
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove {
4543
  display: none;
4544
  float: right;
4549
  line-height: 30px;
4550
  cursor: pointer;
4551
  }
 
4552
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove .icon {
4553
  padding: 0 18px;
4554
  }
 
4555
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove .confirm {
4556
  display: none;
4557
  padding: 0 18px;
4558
  }
 
4559
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove.confirm .confirm {
4560
  display: inline-block;
4561
  }
 
4562
  #admin-editor-lp_course .lp-course-curriculum .section-actions .remove.confirm .icon {
4563
  display: none;
4564
  }
 
4565
  #admin-editor-lp_course .lp-course-curriculum .ui-sortable-placeholder {
4566
  display: block;
4567
  visibility: visible !important;
4575
  opacity: 0.8;
4576
  background: #a00;
4577
  }
 
4578
  .wp-admin.post-type-lp_course #meta-box-tab-course_payment .learn-press-tip-floating::before {
4579
  top: -7px;
4580
  border: 7px solid transparent;
4588
  font-size: 12px;
4589
  white-space: nowrap;
4590
  }
 
4591
  .section-item-counts span {
4592
  color: #999;
4593
  }
4595
  #course-editor {
4596
  margin-bottom: 10px;
4597
  }
 
4598
  #course-editor .inside .rwmb-custom_html-wrapper > .rwmb-label {
4599
  display: none;
4600
  }
 
4601
  #course-editor .inside .rwmb-custom_html-wrapper > .rwmb-input {
4602
  margin-left: 0;
4603
  }
4608
  #quiz-editor .inside .rwmb-custom_html-wrapper > .rwmb-label {
4609
  display: none;
4610
  }
 
4611
  #quiz-editor .inside .rwmb-custom_html-wrapper > .rwmb-input {
4612
  margin-left: 0;
4613
  }
4622
  padding: 0;
4623
  border: none;
4624
  }
 
4625
  #admin-editor-lp_quiz form {
4626
  margin: 0;
4627
  }
 
4628
  #admin-editor-lp_quiz .lp-box-data-head {
4629
  display: flex;
4630
  flex-direction: row;
4632
  padding: 6px 20px;
4633
  align-items: center;
4634
  }
 
4635
  #admin-editor-lp_quiz .lp-box-data-head h3 {
4636
  padding: 0;
4637
  }
 
4638
  #admin-editor-lp_quiz .lp-box-data-head .status {
4639
  visibility: hidden;
4640
  position: relative;
4643
  font-family: Dashicons;
4644
  font-size: 20px;
4645
  }
 
4646
  #admin-editor-lp_quiz .lp-box-data-head .status::before {
4647
  content: "\f463";
4648
  }
 
4649
  #admin-editor-lp_quiz .lp-box-data-head .status.loading {
4650
  display: inline-block;
4651
  visibility: visible;
4652
  animation: rotation 2s infinite linear;
4653
  }
 
4654
  #admin-editor-lp_quiz .lp-box-data-head .collapse-list-questions {
4655
  display: flex;
4656
  width: 40px;
4662
  justify-content: center;
4663
  align-items: center;
4664
  }
 
4665
  #admin-editor-lp_quiz .lp-box-data-content {
4666
  margin: 20px;
4667
  margin-top: 0;
4668
  border: 1px solid #ddd;
4669
  }
 
4670
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions {
4671
  border-collapse: collapse;
4672
  color: #777;
4673
  }
 
4674
  @media (max-width: 1560px) {
4675
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .fill_in_blanks .question-settings {
4676
  flex-direction: column;
4677
  }
4678
  }
 
4679
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row {
4680
  display: flex;
4681
  flex-direction: row;
4682
  text-align: center;
4683
  align-items: center;
4684
  }
 
4685
  @media (max-width: 1024px) {
4686
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row.question-settings {
4687
  flex-direction: column;
4688
  }
4689
  }
 
4690
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > * {
4691
  width: 100%;
4692
  padding: 12px 8px;
4693
  }
 
4694
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .sort {
4695
  position: relative;
4696
  color: #999;
4697
  cursor: url("../../images/openhand.cur") 7 5, default;
4698
  flex: 0 0 15px;
4699
  }
 
4700
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .sort .svg-icon {
4701
  height: 18px;
4702
  margin-top: -2px;
4703
  vertical-align: middle;
4704
  fill: #999;
4705
  }
 
4706
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .sort:hover {
4707
  fill: #0085ba;
4708
  }
 
4709
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .order {
4710
  padding: 12px 0;
4711
  color: #32373c;
4713
  text-align: left;
4714
  flex: 0 0 25px;
4715
  }
 
4716
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .order::after {
4717
  content: ".";
4718
  }
 
4719
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type {
4720
  display: inline-flex;
4721
  position: relative;
4730
  flex: 0 0 auto;
4731
  align-items: center;
4732
  }
 
4733
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type > a {
4734
  display: inline-flex;
4735
  width: 100%;
4740
  align-items: center;
4741
  justify-content: center;
4742
  }
 
4743
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type > a::after {
4744
  margin-left: 5px;
4745
  font-family: Dashicons;
4747
  line-height: 30px;
4748
  content: "\f347";
4749
  }
 
4750
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul {
4751
  visibility: hidden;
4752
  position: absolute;
4762
  background: #fdfeff;
4763
  pointer-events: none;
4764
  }
 
4765
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li {
4766
  margin: 0;
4767
  }
 
4768
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li a {
4769
  display: block;
4770
  min-width: 110px;
4775
  white-space: nowrap;
4776
  text-decoration: none;
4777
  }
 
4778
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li a:hover {
4779
  background-color: #eee;
4780
  }
 
4781
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type ul li.disabled {
4782
  opacity: 0.4;
4783
  background-color: #fff;
4784
  user-select: none;
4785
  pointer-events: none;
4786
  }
 
4787
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .type:hover ul {
4788
  visibility: visible;
4789
  opacity: 1;
4790
  pointer-events: visible;
4791
  }
 
4792
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .actions {
4793
  width: 300px;
4794
  }
 
4795
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row > .name {
4796
  padding-left: 5px;
4797
  }
 
4798
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row:hover > .sort {
4799
  visibility: visible;
4800
  }
 
4801
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .table-row .actions .lp-box-data-actions {
4802
  text-align: right !important;
4803
  }
 
4804
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header {
4805
  display: none;
4806
  border-bottom: 1px solid #ddd;
4807
  }
 
4808
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header .table-row > * {
4809
  font-weight: bold;
4810
  }
 
4811
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header .table-row > .order::after {
4812
  content: "";
4813
  }
 
4814
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .header .table-row > .actions {
4815
  padding: 12px 0;
4816
  }
 
4817
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-actions .name input {
4818
  width: 100%;
4819
  padding: 0;
4824
  font-size: 14px;
4825
  font-weight: normal;
4826
  }
 
4827
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings {
4828
  padding: 0 20px;
4829
  border: 1px solid #ddd;
4830
  border-right: none;
4831
  border-left: none;
4832
  }
 
4833
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings > * {
4834
  padding: 20px 20px 20px 0;
4835
  }
 
4836
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options {
4837
  border: 1px solid #ddd;
4838
  }
 
4839
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .sort {
4840
  width: 12px;
4841
  padding: 8px 6px;
4842
  }
 
4843
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .answer-text {
4844
  width: calc(100% - 100px);
4845
  padding-left: 0;
4846
  color: #444;
4847
  font-weight: 600;
4848
  }
 
4849
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .order {
4850
  width: 10px;
4851
  padding: 0;
4852
  text-align: right;
4853
  }
 
4854
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .answer-correct {
4855
  width: 65px;
4856
  color: #444;
4857
  font-weight: 600;
4858
  text-align: center;
4859
  }
 
4860
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .actions {
4861
  padding: 0;
4862
  text-align: right;
4863
  }
 
4864
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options .actions .lp-toolbar-btn {
4865
  height: 42px;
4866
  }
 
4867
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr {
4868
  border: 1px solid #ddd;
4869
  background: #f4fcff;
4870
  }
 
4871
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr:nth-child(2n) {
4872
  background: #fff;
4873
  }
 
4874
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td {
4875
  position: static;
4876
  padding: 0 10px;
4877
  border: none;
4878
  background: inherit;
4879
  }
 
4880
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td.sort {
4881
  width: 12px;
4882
  cursor: url("../../images/openhand.cur") 7 5, default;
4883
  }
 
4884
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td.answer-text {
4885
  padding-left: 0;
4886
  }
 
4887
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr td.answer-correct {
4888
  text-align: center;
4889
  }
 
4890
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr .svg-icon {
4891
  height: 18px;
4892
  vertical-align: middle;
4893
  fill: #999;
4894
  }
 
4895
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr:hover .svg-icon {
4896
  visibility: visible;
4897
  }
 
4898
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr:hover .sort:hover .svg-icon {
4899
  fill: #0085ba;
4900
  }
 
4901
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-placeholder {
4902
  visibility: visible !important;
4903
  }
 
4904
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-placeholder td {
4905
  height: 43px;
4906
  background: #bdf4fe !important;
4907
  }
 
4908
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-helper {
4909
  border-right: none;
4910
  border-left: none;
4911
  }
 
4912
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-helper td {
4913
  border-bottom: 1px solid #ddd;
4914
  }
 
4915
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.ui-sortable-helper td.sort {
4916
  border-left: 0;
4917
  }
 
4918
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option .sort i {
4919
  display: none;
4920
  }
 
4921
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option .sort::before {
4922
  display: inline-block;
4923
  position: absolute;
4932
  -o-animation: rotating4 2s linear infinite;
4933
  animation: rotating4 2s linear infinite;
4934
  }
 
4935
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option td {
4936
  position: relative;
4937
  }
 
4938
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody tr.empty-option td::after {
4939
  position: absolute;
4940
  top: 0;
4945
  background: #fff;
4946
  content: "";
4947
  }
 
4948
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-settings .quiz-question-data table.lp-list-options tbody .answer-text input {
4949
  width: 100%;
4950
  padding: 0;
4955
  font-size: 14px;
4956
  font-weight: normal;
4957
  }
 
4958
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item {
4959
  border-bottom: 1px solid #ddd;
4960
  background: #f4fcff;
4961
  line-height: 18px;
4962
  /*&:nth-child(2n+1) {
4963
+ background: #f4fcff;
4964
+ }*/
4965
  }
 
4966
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.ui-sortable-helper {
4967
  border-top: 1px solid #f1f1f1;
4968
  }
 
4969
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.ui-sortable-placeholder {
4970
  display: block;
4971
  visibility: visible !important;
4972
  border-color: #bdf4fe !important;
4973
  background: #bdf4fe !important;
4974
  }
 
4975
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating {
4976
  position: relative;
4977
  }
 
4978
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-actions .sort, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating .question-actions .sort {
4979
  visibility: visible;
4980
  }
 
4981
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-actions .sort .fa, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating .question-actions .sort .fa {
4982
  display: none;
4983
  }
 
4984
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-actions .sort::after, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating .question-actions .sort::after {
4985
  display: inline-block;
4986
  position: absolute;
4994
  -o-animation: rotating4 2s linear infinite;
4995
  animation: rotating4 2s linear infinite;
4996
  }
 
4997
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question::after, #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.updating::after {
4998
  position: absolute;
4999
  top: 0;
5004
  background: #fff;
5005
  content: "";
5006
  }
 
5007
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.empty-question .question-settings {
5008
  display: none;
5009
  }
 
5010
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .cell {
5011
  padding: 10px;
5012
  }
 
5013
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .name input {
5014
  width: 100%;
5015
  padding: 0;
5021
  font-weight: normal;
5022
  line-height: 18px;
5023
  }
 
5024
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions {
5025
  margin: 0;
5026
  padding: 0;
5027
  }
 
5028
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons {
5029
  display: grid;
5030
  position: static;
5035
  align-items: center;
5036
  justify-content: end;
5037
  }
 
5038
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons > div a {
5039
  visibility: hidden;
5040
  }
 
5041
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn .lp-btn-icon {
5042
  position: absolute;
5043
  z-index: 2;
5050
  line-height: 30px;
5051
  text-align: center;
5052
  }
 
5053
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn ul {
5054
  z-index: 9;
5055
  }
 
5056
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn ul a {
5057
  padding: 8px 24px;
5058
  line-height: 24px;
5059
  }
 
5060
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-toolbar-btn ul a.remove {
5061
  border-bottom: 1px solid #eee;
5062
  color: #666;
5063
  }
 
5064
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-btn-toggle {
5065
  width: 40px;
5066
  height: 42px;
5069
  font-size: 20px;
5070
  line-height: 42px;
5071
  }
 
5072
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-btn-toggle.open::after {
5073
  content: "\f343";
5074
  }
 
5075
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions .actions .lp-toolbar-buttons .lp-btn-toggle.close::after {
5076
  content: "\f347";
5077
  }
 
5078
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-actions:hover .lp-toolbar-buttons > div a {
5079
  visibility: visible;
5080
  }
 
5081
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings {
5082
  background: #fff;
5083
  }
 
5084
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options {
5085
  padding-right: 0;
5086
  padding-left: 0;
5087
  text-align: left;
5088
  }
 
5089
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside {
5090
  margin: 0;
5091
  padding: 0;
5092
  }
 
5093
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside .lp-quiz-editor__detail-field {
5094
  margin: 0;
5095
  padding: 20px;
5096
  }
 
5097
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside .lp-quiz-editor__detail-field:nth-child(2n+1) {
5098
  background: #f4fcff;
5099
  }
 
5100
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .inside .lp-quiz-editor__detail-label {
5101
  margin: 0;
5102
  margin-bottom: 10px;
5103
  color: #666;
5104
  font-weight: 600;
5105
  }
 
5106
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox {
5107
  border: 1px solid #ddd;
5108
  }
 
5109
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox .hndle {
5110
  font-weight: 600;
5111
  cursor: default;
5112
  }
 
5113
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox .toggle {
5114
  float: right;
5115
  position: absolute;
5121
  text-align: center;
5122
  cursor: pointer;
5123
  }
 
5124
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings .quiz-question-options .postbox .toggle::after {
5125
  font-family: Dashicons;
5126
  font-size: 18px;
5127
  content: "\f460";
5128
  }
 
5129
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .quiz-question-options {
5130
  width: 38px;
5131
  }
 
5132
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .postbox {
5133
  min-width: 34px;
5134
  height: 34px;
5135
  line-height: 42px;
5136
  text-align: center;
5137
  }
 
5138
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .postbox .hndle {
5139
  display: none;
5140
  }
 
5141
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item .question-settings.closed .postbox .toggle::after {
5142
  content: "\f132";
5143
  }
 
5144
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .main .question-item.sorting_choice .quiz-question-data table.lp-list-options .answer-correct {
5145
  display: none !important;
5146
  }
 
5147
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer {
5148
  margin-top: -1px;
5149
  border-top: 1px solid #ddd;
5150
  background: #f4fcff;
5151
  }
 
5152
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row {
5153
  height: auto;
5154
  text-align: left;
5155
  }
 
5156
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .lp-sortable-handle {
5157
  display: flex;
5158
  width: 30px;
5164
  align-items: center;
5165
  justify-content: center;
5166
  }
 
5167
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .lp-sortable-handle::before {
5168
  content: "\f132";
5169
  }
 
5170
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .order {
5171
  padding: 8px 0;
5172
  line-height: 28px;
5173
  text-align: left;
5174
  }
 
5175
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question {
5176
  padding: 8px 10px 8px 5px;
5177
  }
 
5178
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title {
5179
  display: inline-block;
5180
  position: relative;
5181
  min-width: 500px;
5182
  }
 
5183
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input {
5184
  width: 100%;
5185
  margin: 0;
5192
  -moz-box-shadow: none;
5193
  box-shadow: none;
5194
  }
 
5195
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input:focus {
5196
  -webkit-box-shadow: none;
5197
  -moz-box-shadow: none;
5198
  box-shadow: none;
5199
  }
 
5200
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input:focus {
5201
  color: #32373c;
5202
  }
 
5203
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .title form input::placeholder {
5204
  display: inline-block;
5205
  }
 
5206
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new {
5207
  display: inline;
5208
  position: relative;
5209
  }
 
5210
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types {
5211
  display: none;
5212
  position: absolute;
5218
  border: 1px solid #999;
5219
  background-color: #fff;
5220
  }
 
5221
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li {
5222
  margin: 0;
5223
  }
 
5224
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li a {
5225
  display: block;
5226
  padding: 12px 20px;
5230
  line-height: 1;
5231
  text-decoration: none;
5232
  }
 
5233
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li a:hover {
5234
  background: #eee;
5235
  }
 
5236
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new ul.question-types li.disabled {
5237
  opacity: 0.5;
5238
  background-color: #eee;
5239
  user-select: none;
5240
  pointer-events: none;
5241
  }
 
5242
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new button:hover + .question-types {
5243
  display: block;
5244
  }
 
5245
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new button + .question-types:hover {
5246
  display: block;
5247
  }
5248
+ #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .add-new button[disabled=disabled]:hover + .question-types {
 
5249
  display: none;
5250
  }
 
5251
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question .select-item {
5252
  display: inline;
5253
  }
 
5254
  #admin-editor-lp_quiz .lp-box-data-content .lp-list-questions .footer .table-row .add-new-question button {
5255
  height: 30px;
5256
  box-shadow: 0 1px 0 #ccc !important;
5257
  }
 
5258
  #admin-editor-lp_quiz .lp-box-data-content .question-button-actions {
5259
  text-align: left;
5260
  }
5265
  #question-editor .inside .rwmb-custom_html-wrapper .rwmb-label {
5266
  display: none;
5267
  }
 
5268
  #question-editor .inside .rwmb-custom_html-wrapper .rwmb-input {
5269
  margin-left: 0;
5270
  }
5280
  border: none;
5281
  background: #fff;
5282
  }
 
5283
  #admin-editor-lp_question form {
5284
  margin: 0;
5285
  }
 
5286
  #admin-editor-lp_question .lp-box-data-head {
5287
  display: flex;
5288
  flex-direction: row;
5289
  padding: 10px 20px;
5290
  align-items: center;
5291
  }
 
5292
  #admin-editor-lp_question .lp-box-data-head .heading {
5293
  margin: 0;
5294
  padding: 0;
5295
  flex: 1;
5296
  }
 
5297
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor {
5298
  position: relative;
5299
  margin-left: auto;
5301
  border-top-left-radius: 0;
5302
  border-bottom-left-radius: 0;
5303
  }
 
5304
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types > a {
5305
  display: inline-flex;
5306
  height: 32px;
5314
  cursor: pointer;
5315
  user-select: none;
5316
  }
 
5317
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types > a::after {
5318
  margin-left: 5px;
5319
  font-family: Dashicons;
5321
  line-height: 30px;
5322
  content: "\f347";
5323
  }
 
5324
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul {
5325
  display: none;
5326
  position: absolute;
5334
  border-radius: 2px;
5335
  background: #fdfeff;
5336
  }
 
5337
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li {
5338
  margin: 0;
5339
  }
 
5340
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li:hover, #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li.active {
5341
  background: #eee;
5342
  }
 
5343
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li a {
5344
  display: block;
5345
  min-width: 110px;
5350
  white-space: nowrap;
5351
  text-decoration: none;
5352
  }
 
5353
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li.disabled {
5354
  opacity: 0.4;
5355
  }
 
5356
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul li.disabled a {
5357
  color: #999;
5358
  cursor: not-allowed;
5359
  pointer-events: none;
5360
  }
 
5361
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor .question-types ul:hover {
5362
  display: block;
5363
  }
 
5364
  #admin-editor-lp_question .lp-box-data-head .lp-question-editor:hover .question-types ul {
5365
  display: block;
5366
  }
 
5367
  #admin-editor-lp_question .lp-box-data-content {
5368
  padding: 0 20px 20px 20px;
5369
  border: none !important;
5370
  }
 
5371
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers {
5372
  width: 100%;
5373
  border: 1px solid #ddd;
5374
  }
 
5375
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tr td {
5376
  padding: 0 15px;
5377
  }
 
5378
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers thead tr th {
5379
  padding: 15px;
5380
  border-bottom: 1px solid #ddd;
5381
  background-color: #eee;
5382
  font-weight: 600;
5383
  }
 
5384
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers thead tr th.answer-text {
5385
  padding-left: 10px;
5386
  }
 
5387
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .sort,
5388
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .order,
5389
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .actions {
5390
  width: 10px;
5391
  }
 
5392
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .sort {
5393
  padding: 0 10px;
5394
  }
 
5395
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .order {
5396
  width: 10px;
5397
  padding: 0;
5398
  text-align: right;
5399
  }
 
5400
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .answer-correct {
5401
  width: 65px;
5402
  text-align: center;
5403
  }
 
5404
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .answer-text {
5405
  padding-left: 8px;
5406
  }
 
5407
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers .actions {
5408
  padding-right: 0;
5409
  text-align: right;
5410
  }
 
5411
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr {
5412
  color: #444;
5413
  background: #fff;
5414
  }
 
5415
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr:nth-child(2n) {
5416
  background: #fff;
5417
  }
 
5418
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td {
5419
  background-color: #fff;
5420
  }
 
5421
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.sort {
5422
  width: 15px;
5423
  padding: 0;
5425
  text-align: center;
5426
  cursor: url("../../images/openhand.cur") 7 5, default;
5427
  }
 
5428
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.sort .svg-icon {
5429
  height: 18px;
5430
  margin-top: -2px;
5431
  vertical-align: middle;
5432
  fill: #999;
5433
  }
 
5434
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.sort:hover .svg-icon {
5435
  fill: #0085ba;
5436
  }
 
5437
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.order {
5438
  font-size: 14px;
5439
  }
 
5440
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.answer-text input {
5441
  width: 100%;
5442
  padding: 0;
5448
  font-weight: 600;
5449
  transition: box-shadow 0.2s ease;
5450
  }
 
5451
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr td.lp-toolbar-buttons {
5452
  z-index: auto;
5453
  }
 
5454
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr:hover td.actions .remove-answer {
5455
  visibility: visible;
5456
  height: 42px;
5457
  }
 
5458
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-placeholder {
5459
  visibility: visible !important;
5460
  }
 
5461
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-placeholder td {
5462
  height: 43px;
5463
  background: #bdf4fe !important;
5464
  }
 
5465
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-helper td {
5466
  border-bottom: 1px solid #ddd;
5467
  }
 
5468
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.ui-sortable-helper td.sort {
5469
  border-left: 0;
5470
  }
 
5471
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option .svg-icon {
5472
  display: none;
5473
  }
 
5474
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option td {
5475
  position: relative;
5476
  }
 
5477
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option .sort::before {
5478
  display: inline-block;
5479
  position: absolute;
5487
  -o-animation: rotating4 2s linear infinite;
5488
  animation: rotating4 2s linear infinite;
5489
  }
 
5490
  #admin-editor-lp_question .lp-box-data-content table.list-question-answers tbody tr.new-option td::after {
5491
  position: absolute;
5492
  top: 0;
5497
  background: #fff;
5498
  content: "";
5499
  }
 
5500
  #admin-editor-lp_question .lp-box-data-content .add-answer {
5501
  margin: 15px 0 0 0;
5502
  }
 
5503
  #admin-editor-lp_question.sorting_choice table.list-question-answers .answer-correct {
5504
  display: none !important;
5505
  }
5508
  .admin-quiz-fib-question-editor {
5509
  text-align: left;
5510
  }
 
5511
  .lp-admin-fib-question-editor .lp-box-data-content,
5512
  .admin-quiz-fib-question-editor .lp-box-data-content {
5513
  margin: 0 !important;
5514
  border: none !important;
5515
  }
 
5516
  .lp-admin-fib-question-editor .content-editable,
5517
  .admin-quiz-fib-question-editor .content-editable {
5518
  min-height: 240px !important;
5520
  border: 2px solid #ddd;
5521
  border-radius: 4px;
5522
  }
 
5523
  .lp-admin-fib-question-editor .content-editable .fib-blank,
5524
  .admin-quiz-fib-question-editor .content-editable .fib-blank {
5525
  position: relative;
5526
  color: #2196f3;
5527
  }
 
5528
  .lp-admin-fib-question-editor .content-editable .fib-blank::before,
5529
  .admin-quiz-fib-question-editor .content-editable .fib-blank::before {
5530
  content: "#" attr(data-index) ". ";
5531
  }
 
5532
  .lp-admin-fib-question-editor .fib-blanks,
5533
  .admin-quiz-fib-question-editor .fib-blanks {
5534
  min-width: 700px;
5535
  border-collapse: collapse;
5536
  }
 
5537
  @media (max-width: 1024px) {
5538
  .lp-admin-fib-question-editor .fib-blanks,
5539
+ .admin-quiz-fib-question-editor .fib-blanks {
5540
  width: 100%;
5541
  min-width: 100%;
5542
  }
5543
  }
 
5544
  .lp-admin-fib-question-editor .fib-blanks tbody,
5545
  .admin-quiz-fib-question-editor .fib-blanks tbody {
5546
  border-bottom: 1px solid #bbb;
5547
  }
 
5548
  .lp-admin-fib-question-editor .fib-blanks tbody tr,
5549
  .admin-quiz-fib-question-editor .fib-blanks tbody tr {
5550
  background: #eee;
5551
  }
 
5552
  .lp-admin-fib-question-editor .fib-blanks tbody tr td,
5553
  .admin-quiz-fib-question-editor .fib-blanks tbody tr td {
5554
  padding: 5px;
5555
  }
 
5556
  .lp-admin-fib-question-editor .fib-blanks tbody tr.blank-options td,
5557
  .admin-quiz-fib-question-editor .fib-blanks tbody tr.blank-options td {
5558
  padding: 0;
5559
  }
 
5560
  .lp-admin-fib-question-editor .fib-blanks tbody tr.blank-options ul,
5561
  .admin-quiz-fib-question-editor .fib-blanks tbody tr.blank-options ul {
5562
  display: none;
5566
  background: #fff;
5567
  list-style: none;
5568
  }
 
5569
  .lp-admin-fib-question-editor .fib-blanks tbody.open .blank-options ul,
5570
  .admin-quiz-fib-question-editor .fib-blanks tbody.open .blank-options ul {
5571
  display: block;
5572
  }
 
5573
  .lp-admin-fib-question-editor .fib-blanks tbody .blank-position,
5574
  .admin-quiz-fib-question-editor .fib-blanks tbody .blank-position {
5575
  font-weight: 600;
5576
  text-align: center;
5577
  }
 
5578
  .lp-admin-fib-question-editor .fib-blanks tbody .blank-actions,
5579
  .admin-quiz-fib-question-editor .fib-blanks tbody .blank-actions {
5580
  text-align: right;
5581
  }
 
5582
  .lp-admin-fib-question-editor .fib-blanks tbody:last-child,
5583
  .admin-quiz-fib-question-editor .fib-blanks tbody:last-child {
5584
  border: none;
5587
  #fill-in-blanks-editor {
5588
  display: flex;
5589
  }
 
5590
  #fill-in-blanks-editor .blank-options {
5591
  flex: 0 0 65%;
5592
  }
 
5593
  #fill-in-blanks-editor .blanks {
5594
  width: 100%;
5595
  margin: 0;
5596
  }
 
5597
  #fill-in-blanks-editor .blanks .blank {
5598
  margin: 0 0 20px 0;
5599
  padding: 20px;
5600
  border: 1px solid #d9e0f1;
5601
  background: #fbfcff;
5602
  }
 
5603
  #fill-in-blanks-editor .blanks .blank label {
5604
  font-weight: bold;
5605
  }
 
5606
  #fill-in-blanks-editor .blanks .blank .blank-content {
5607
  width: 100%;
5608
  min-height: 74px;
5609
  font-size: 16px;
5610
  }
 
5611
  #fill-in-blanks-editor .blanks .blank .blank-words .word {
5612
  background: #ddd;
5613
  line-height: 1;
5615
  -moz-border-radius: 4px;
5616
  border-radius: 4px;
5617
  }
 
5618
  #fill-in-blanks-editor .blanks .blank .blank-words .word.correct {
5619
  background: #00a1e6;
5620
  }
 
5621
  #fill-in-blanks-editor .blanks .blank .blank-tip p {
5622
  font-style: italic;
5623
  }
 
5624
  #fill-in-blanks-editor .blanks .blank .button-remove {
5625
  color: #f00;
5626
  }
 
5627
  #fill-in-blanks-editor .passage-preview {
5628
  margin-left: 20px;
5629
  padding: 15px 20px;
5633
  text-align: justify;
5634
  flex: 1;
5635
  }
 
5636
  #fill-in-blanks-editor .passage-preview .blank-input {
5637
  /* line-height: 11px; */
5638
  display: inline-block;
5648
  font-size: 16px;
5649
  vertical-align: middle;
5650
  }
 
5651
  #fill-in-blanks-editor .blanks-list {
5652
  width: 100%;
5653
  }
 
5654
  #fill-in-blanks-editor .blanks-list textarea {
5655
  width: 100%;
5656
  min-height: 300px;
5661
  font-size: 18px;
5662
  line-height: 30px;
5663
  }
 
5664
  #fill-in-blanks-editor .blanks-list code {
5665
  line-height: 1;
5666
  -webkit-border-radius: 4px;
5667
  -moz-border-radius: 4px;
5668
  border-radius: 4px;
5669
  }
 
5670
  #fill-in-blanks-editor .blanks-list code.correct {
5671
  background: #00a1e6;
5672
  }
5685
  opacity: 0;
5686
  background-color: rgba(0, 0, 0, 0.5);
5687
  }
 
5688
  #lp-modal-choose-items.show {
5689
  display: block;
5690
  z-index: 99999999;
5691
  opacity: 1;
5692
  }
 
5693
  #lp-modal-choose-items.loading .lp-choose-items ul.list-items::before {
5694
  display: block;
5695
  position: absolute;
5702
  background-color: #fff;
5703
  content: "";
5704
  }
 
5705
  #lp-modal-choose-items .lp-choose-items {
5706
  position: relative;
5707
  max-width: 800px;
5711
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
5712
  transition: all 200ms ease-out;
5713
  }
 
5714
  #lp-modal-choose-items .lp-choose-items.show-preview .header .preview-title {
5715
  display: flex;
5716
  align-items: center;
5717
  }
 
5718
  #lp-modal-choose-items .lp-choose-items .header {
5719
  position: relative;
5720
  }
 
5721
  #lp-modal-choose-items .lp-choose-items .header .preview-title {
5722
  display: none;
5723
  position: absolute;
5731
  background-color: #fff;
5732
  font-weight: 600;
5733
  }
 
5734
  #lp-modal-choose-items .lp-choose-items .header .preview-title h3 {
5735
  margin: 0;
5736
  }
 
5737
  #lp-modal-choose-items .lp-choose-items .header .tabs {
5738
  margin: 0;
5739
  border-bottom: 1px solid #ddd;
5740
  }
 
5741
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab {
5742
  display: inline-block;
5743
  position: relative;
5744
  margin: 0;
5745
  }
 
5746
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab:not(:last-child)::before {
5747
  position: absolute;
5748
  top: 50%;
5752
  border-right: 1px solid #ddd;
5753
  content: "";
5754
  }
 
5755
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab.active::after {
5756
  display: inline-block;
5757
  position: absolute;
5767
  content: "";
5768
  transform: rotate(45deg);
5769
  }
 
5770
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab.active a {
5771
  color: #0073aa;
5772
  }
 
5773
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab a {
5774
  display: inline-block;
5775
  height: 44px;
5779
  line-height: 44px;
5780
  text-decoration: none;
5781
  }
 
5782
  #lp-modal-choose-items .lp-choose-items .header .tabs .tab a:focus {
5783
  box-shadow: none;
5784
  }
 
5785
  #lp-modal-choose-items .lp-choose-items .header .close {
5786
  display: inline-block;
5787
  position: absolute;
5792
  font-size: 1em;
5793
  cursor: pointer;
5794
  }
 
5795
  #lp-modal-choose-items .lp-choose-items .main {
5796
  overflow: hidden;
5797
  position: relative;
5798
  padding: 20px;
5799
  border-bottom: 1px solid #ddd;
5800
  }
 
5801
  #lp-modal-choose-items .lp-choose-items .main .section-item {
5802
  display: block;
5803
  overflow: hidden;
5807
  cursor: pointer;
5808
  transition: color 200ms ease-out;
5809
  }
 
5810
  #lp-modal-choose-items .lp-choose-items .main .section-item::before {
5811
  position: relative;
5812
  top: 3px;
5813
  font-family: Dashicons;
5814
  }
 
5815
  #lp-modal-choose-items .lp-choose-items .main .search {
5816
  margin-bottom: 20px;
5817
  background: transparent;
5818
  }
 
5819
  #lp-modal-choose-items .lp-choose-items .main .search input.modal-search-input {
5820
  width: 100%;
5821
  height: 36px;
5823
  font-size: 16px;
5824
  line-height: 36px;
5825
  }
 
5826
  #lp-modal-choose-items .lp-choose-items .main .list-items {
5827
  overflow-y: auto;
5828
  position: relative;
5830
  max-height: 460px;
5831
  margin: 0;
5832
  }
 
5833
  #lp-modal-choose-items .lp-choose-items .main .list-items li {
5834
  margin: 15px 0;
5835
  cursor: pointer;
5836
  }
 
5837
  #lp-modal-choose-items .lp-choose-items .main .pagination .index {
5838
  margin-left: 20px;
5839
  line-height: 28px;
5840
  }
 
5841
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview {
5842
  overflow: auto;
5843
  position: absolute;
5851
  background-color: #fff;
5852
  transform: translate(100%, 0);
5853
  }
 
5854
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview.show {
5855
  transform: translate(0, 0);
5856
  }
 
5857
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview .list-added-items li {
5858
  margin: 15px 0;
5859
  }
 
5860
  #lp-modal-choose-items .lp-choose-items .lp-added-items-preview .list-added-items li:first-child {
5861
  margin: -10px 0 15px 0;
5862
  }
 
5863
  #lp-modal-choose-items .lp-choose-items .footer {
5864
  padding: 20px;
5865
  }
5878
  width: auto;
5879
  }
5880
  }
 
5881
  #learn-press-reset-course-users,
5882
  #learn-press-reset-user-courses,
5883
  #learn-press-reset-user-item {
5884
  max-width: 100%;
5885
  }
 
5886
  #learn-press-reset-course-users table,
5887
  #learn-press-reset-user-courses table,
5888
  #learn-press-reset-user-item table {
5889
  width: 100%;
5890
  border-collapse: collapse;
5891
  }
 
5892
  #learn-press-reset-course-users .courses-list,
5893
  #learn-press-reset-user-courses .courses-list,
5894
  #learn-press-reset-user-item .courses-list {
5895
  margin: 0;
5896
  }
5897
+ #learn-press-reset-course-users input[type=text],
5898
+ #learn-press-reset-user-courses input[type=text],
5899
+ #learn-press-reset-user-item input[type=text] {
 
5900
  min-width: 300px;
5901
  height: 28px;
5902
  margin-left: 0;
5903
  }
 
5904
  #learn-press-reset-course-users .action-reset.dashicons-trash,
5905
  #learn-press-reset-user-courses .action-reset.dashicons-trash,
5906
  #learn-press-reset-user-item .action-reset.dashicons-trash {
5907
  color: #FF0000;
5908
  }
 
5909
  #learn-press-reset-course-users .action-reset.dashicons-update,
5910
  #learn-press-reset-user-courses .action-reset.dashicons-update,
5911
  #learn-press-reset-user-item .action-reset.dashicons-update {
5926
  vertical-align: baseline;
5927
  cursor: pointer;
5928
  }
 
5929
  .learn-press-tip.ready {
5930
  display: inline-block;
5931
  }
 
5932
  .learn-press-tip::before {
5933
  font-family: "Font Awesome 5 Free";
5934
  content: "\f059";
5935
  }
 
5936
  .learn-press-tip:hover {
5937
  opacity: 0.8;
5938
  }
5951
  -moz-border-radius: 3px;
5952
  border-radius: 3px;
5953
  }
 
5954
  .learn-press-tip-floating > * {
5955
  font-size: 12px;
5956
  }
 
5957
  .learn-press-tip-floating .close {
5958
  display: inline-block;
5959
  position: absolute;
5971
  -moz-border-radius: 50%;
5972
  border-radius: 50%;
5973
  }
 
5974
  .learn-press-tip-floating .close::before {
5975
  font-family: "Font Awesome 5 Free";
5976
  content: "\f00d";
5977
  }
 
5978
  .learn-press-tip-floating p {
5979
  margin: 0;
5980
  }
 
5981
  .learn-press-tip-floating::before {
5982
  position: absolute;
5983
  bottom: -6px;
5994
  .lp-group-step {
5995
  border-bottom: 1px solid #eee;
5996
  }
 
5997
  .lp-group-step h3 {
5998
  padding: 0 2em;
5999
  }
 
6000
  .lp-group-step label {
6001
  margin-bottom: 5px;
6002
  font-size: 13px;
6003
  font-weight: 500;
6004
  font-style: italic;
6005
  }
 
6006
  .lp-group-step .lp-item-step {
6007
  display: flex;
6008
  position: relative;
6013
  align-items: center;
6014
  cursor: pointer;
6015
  }
 
6016
  .lp-group-step .lp-item-step:hover {
6017
  background: #eee;
6018
  }
 
6019
  .lp-group-step .lp-item-step .lp-item-step-left {
6020
  display: inline-flex;
6021
  align-items: center;
6022
  position: relative;
6023
  padding: 0 2em;
6024
  }
 
6025
  .lp-group-step .lp-item-step .lp-item-step-left::before {
6026
  display: block;
6027
  position: absolute;
6036
  -webkit-animation: lp-rotating 0.8s linear infinite;
6037
  animation: lp-rotating 0.8s linear infinite;
6038
  }
 
6039
  .lp-group-step .lp-item-step .lp-item-step-left::after {
6040
  position: absolute;
6041
  z-index: 1;
6046
  font-size: 1.5em;
6047
  content: "\f147";
6048
  }
 
6049
  .lp-group-step .lp-item-step.running .lp-item-step-left::before {
6050
  opacity: 1;
6051
  }
 
6052
  .lp-group-step .lp-item-step.running .lp-item-step-left input {
6053
  opacity: 0;
6054
  }
 
6055
  .lp-group-step .lp-item-step.running::before {
6056
  display: block;
6057
  position: absolute;
6062
  opacity: 0.1;
6063
  transition: 0.8s linear;
6064
  }
 
6065
  .lp-group-step .lp-item-step.running .progress-bar {
6066
  opacity: 0.1;
6067
  }
 
6068
  .lp-group-step .lp-item-step.completed .lp-item-step-left::after {
6069
  opacity: 1;
6070
  }
 
6071
  .lp-group-step .lp-item-step.completed .lp-item-step-left input {
6072
  opacity: 0;
6073
  }
 
6074
  .lp-group-step .lp-item-step.completed .progress-bar {
6075
  width: 100%;
6076
  opacity: 0.1;
6077
  }
 
6078
  .lp-group-step .lp-item-step.error .lp-item-step-left::after {
6079
  opacity: 1;
6080
  color: #dd3333;
6081
+ content: "\f335";
6082
  }
 
6083
  .lp-group-step .lp-item-step .progress-bar {
6084
  display: block;
6085
  position: absolute;
6112
  transform: rotate(360deg);
6113
  }
6114
  }
 
6115
  @-webkit-keyframes lp-rotating {
6116
  from {
6117
  -webkit-transform: rotate(0deg);
6122
  transform: rotate(360deg);
6123
  }
6124
  }
 
6125
  .ajaxload {
6126
  display: inline-block;
6127
  position: relative;
6136
  -moz-animation: lp-rotating 1s linear infinite;
6137
  animation: lp-rotating 1s linear infinite;
6138
  }
 
6139
  .ajaxload::after {
6140
  -webkit-border-radius: 50%;
6141
  -moz-border-radius: 50%;
6157
  width: 32px;
6158
  height: 32px;
6159
  }
 
6160
  .lp-ajaxload-style-1::before, .lp-ajaxload-style-1::after {
6161
  position: absolute;
6162
  top: 0;
6166
  border: 3px solid #ddd;
6167
  content: "";
6168
  }
 
6169
  .lp-ajaxload-style-1::after {
6170
  clip: rect(0, 32px, 16px, 16px);
6171
  border-color: #2fa7ff;
6187
  .learn-press-dropdown-pages .select2-selection__rendered {
6188
  line-height: 31px !important;
6189
  }
6190
+
6191
  #learn-press-advertisement {
6192
  margin: 0 12px;
6193
  padding-bottom: 0;
6196
  bottom: 40px;
6197
  }
6198
  }
 
6199
  .rtl .section-item-counts {
6200
  left: 41px;
6201
  right: auto;
6202
  }
 
6203
  .rtl #admin-editor-lp_course .lp-course-curriculum .heading .status {
6204
  margin-right: 10px;
6205
  }
 
6206
  .rtl #admin-editor-lp_course .lp-course-curriculum .collapse-sections {
6207
  left: 0;
6208
  right: unset !important;
6209
  }
 
6210
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .title {
6211
  margin-right: 5px;
6212
  }
 
6213
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions {
6214
  left: 0;
6215
  right: unset !important;
6216
  }
 
6217
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .ui-sortable {
6218
  right: unset !important;
6219
  left: 0;
6220
  }
 
6221
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-list-items .section-item .item-actions .actions .ui-sortable li {
6222
  text-align: left;
6223
  }
 
6224
  .rtl #admin-editor-lp_course .lp-course-curriculum .section-actions .remove {
6225
  float: left;
6226
  }
 
6227
  .rtl #admin-editor-lp_course .lp-course-curriculum .actions {
6228
  right: unset !important;
6229
  left: 0;
6230
  }
 
6231
  .rtl #admin-editor-lp_quiz .lp-list-questions .question-item .lp-toolbar-btn-dropdown ul {
6232
  left: 0;
6233
  right: unset !important;
6234
  }
 
6235
  .rtl #admin-editor-lp_quiz .lp-list-questions .question-item .lp-toolbar-btn-dropdown ul li a {
6236
  text-align: left;
6237
  }
 
6238
  .rtl #admin-editor-lp_quiz .add-new-question {
6239
  text-align: right;
6240
  }
 
6241
  .rtl #lp-modal-choose-items .header .preview-title {
6242
  padding-right: 20px;
6243
  }
 
6244
  .rtl #lp-modal-choose-items .header .close {
6245
  left: 0;
6246
  right: unset;
6251
  padding: 0;
6252
  list-style: none;
6253
  }
 
6254
  .lp-skeleton-animation > li {
6255
  width: 100%;
6256
  height: 16px;
6270
  background-position: 0 50%;
6271
  }
6272
  }
 
6273
  .button.disabled {
6274
  pointer-events: none;
6275
  }
6277
  .learnpress .postbox .rwmb-meta-box {
6278
  margin-top: 10px;
6279
  }
 
6280
  .learnpress #field-_lp_requirements .rwmb-text-list-clone,
6281
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone,
6282
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone,
6290
  border: 1px solid #ddd;
6291
  border-radius: 4px;
6292
  }
 
6293
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .rwmb-text-list-label,
6294
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .rwmb-text-list-label,
6295
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .rwmb-text-list-label,
6300
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list-label {
6301
  display: none;
6302
  }
 
6303
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .rwmb-text-list,
6304
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .rwmb-text-list-advanced,
6305
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .rwmb-text-list,
6324
  box-shadow: none;
6325
  line-height: 1;
6326
  }
 
6327
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .remove-clone,
6328
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .remove-clone,
6329
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .remove-clone,
6344
  -o-transition: right 0.25s;
6345
  transition: right 0.25s;
6346
  }
 
6347
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .remove-clone i,
6348
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .remove-clone i,
6349
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .remove-clone i,
6354
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .remove-clone i {
6355
  font-size: 20px;
6356
  }
 
6357
  .learnpress #field-_lp_requirements .rwmb-text-list-clone .remove-clone:hover,
6358
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .remove-clone:hover,
6359
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone .remove-clone:hover,
6364
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .remove-clone:hover {
6365
  color: #e74c3c;
6366
  }
 
6367
  .learnpress #field-_lp_requirements .rwmb-text-list-clone::after,
6368
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone::after,
6369
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone::after,
6383
  font-size: 20px;
6384
  content: "\f333";
6385
  }
 
6386
  .learnpress #field-_lp_requirements .rwmb-text-list-clone:focus-within,
6387
  .learnpress #field-_lp_target_audiences .rwmb-text-list-clone:focus-within,
6388
  .learnpress #field-_lp_key_features .rwmb-text-list-clone:focus-within,
6389
  .learnpress #field-_lp_faqs .rwmb-text-list-clone:focus-within {
6390
  border-color: #0085ba;
6391
  }
 
6392
  .learnpress #field-_lp_requirements .rwmb-text-list-advanced-clone .rwmb-text-list:focus,
6393
  .learnpress #field-_lp_target_audiences .rwmb-text-list-advanced-clone .rwmb-text-list:focus,
6394
  .learnpress #field-_lp_key_features .rwmb-text-list-advanced-clone .rwmb-text-list:focus,
6395
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list:focus {
6396
  border-color: #0085ba;
6397
  }
 
6398
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone {
6399
  position: relative;
6400
  padding: 0 0 16px 0;
6401
  }
 
6402
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list-label {
6403
  display: block;
6404
  padding: 10px 10px 0 12px;
6405
  }
 
6406
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .rwmb-text-list {
6407
  width: calc(100% - 25px);
6408
  margin: 0 13px 0 13px;
6409
  border: 1px solid #ddd;
6410
  vertical-align: top;
6411
  }
 
6412
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone .remove-clone {
6413
  top: 20px;
6414
  right: 36px;
6420
  -o-transition: right 0.25s;
6421
  transition: right 0.25s;
6422
  }
 
6423
  .learnpress #field-_lp_faqs .rwmb-text-list-advanced-clone::after {
6424
  top: 20px;
6425
  }
6429
  position: relative;
6430
  padding: 12px;
6431
  }
 
6432
  .lp-notice h4,
6433
  .learn-press-notice h4 {
6434
  margin: 10px 0 15px;
6435
  }
 
6436
  .lp-notice p,
6437
  .learn-press-notice p {
6438
  margin: 0 0 5px 0;
6439
  padding: 0 2px;
6440
  }
 
6441
  .lp-notice.lp-upgrade-notice,
6442
  .learn-press-notice.lp-upgrade-notice {
6443
  position: relative;
6444
  border-left-color: #02b7fb;
6445
  background: #bceffe;
6446
  }
 
6447
  .lp-notice.lp-upgrade-notice .close-notice,
6448
  .learn-press-notice.lp-upgrade-notice .close-notice {
6449
  position: absolute;
6450
  top: 5px;
6451
  right: 10px;
6452
  }
 
6453
  .lp-notice .lp-message-dismiss,
6454
  .learn-press-notice .lp-message-dismiss {
6455
  position: absolute;
6456
  top: 12px;
6457
  right: 12px;
6458
  }
 
6459
  .lp-notice .notice-dismiss,
6460
  .learn-press-notice .notice-dismiss {
6461
  position: absolute;
6472
  box-shadow: none;
6473
  cursor: pointer;
6474
  }
 
6475
  .lp-notice .notice-dismiss::before,
6476
  .learn-press-notice .notice-dismiss::before {
6477
  display: block;
6497
  color: white;
6498
  background: rebeccapurple;
6499
  }
 
6500
  .lp-notice-update-database.do-updating::before {
6501
  display: inline-block;
6502
  float: left;
6516
  padding: 0 5px;
6517
  }
6518
 
6519
+ .search-box input[name=post-search-author],
6520
  .search-box .select2-container {
6521
  min-width: 200px;
6522
  margin: 0;
6534
  #learn-press-syncs li {
6535
  position: relative;
6536
  }
 
6537
  #learn-press-syncs li.syncing, #learn-press-syncs li.synced {
6538
  padding-left: 24px;
6539
  }
6540
+ #learn-press-syncs li.syncing input[type=checkbox], #learn-press-syncs li.synced input[type=checkbox] {
 
6541
  display: none;
6542
  }
 
6543
  #learn-press-syncs li.syncing::after {
6544
  content: "\f463";
6545
  -webkit-animation: rotating4 2s linear infinite;
6548
  -o-animation: rotating4 2s linear infinite;
6549
  animation: rotating4 2s linear infinite;
6550
  }
 
6551
  #learn-press-syncs li.synced::after {
6552
  color: #2773aa;
6553
  content: "\f147";
6554
  }
 
6555
  #learn-press-syncs li::after {
6556
  display: block;
6557
  position: absolute;
6569
  position: relative;
6570
  margin: 0 2px;
6571
  }
 
6572
  #learn-press-updater .updater-progress ul {
6573
  display: flex;
6574
  position: relative;
6575
  height: 5px;
6576
  background: #eee;
6577
  }
 
6578
  #learn-press-updater .updater-progress ul li {
6579
  position: relative;
6580
  margin: 0;
6581
  flex: 1;
6582
  }
 
6583
  #learn-press-updater .updater-progress ul li::after {
6584
  display: none;
6585
  position: absolute;
6592
  font-size: 12px;
6593
  content: attr(data-version);
6594
  }
 
6595
  #learn-press-updater .updater-progress ul li::before {
6596
  content: "";
6597
  }
 
6598
  #learn-press-updater .updater-progress ul li:last-child::after {
6599
  _display: block;
6600
  }
 
6601
  #learn-press-updater .updater-progress ul::after {
6602
  position: absolute;
6603
  top: 0;
6605
  width: 0;
6606
  height: 20px;
6607
  }
 
6608
  #learn-press-updater .updater-progress .updater-progress-status {
6609
  position: absolute;
6610
  top: 0;
6618
  -o-transition: width 0.25s;
6619
  transition: width 0.25s;
6620
  }
 
6621
  #learn-press-updater .updater-progress .updater-progress-status::before {
6622
  position: absolute;
6623
  top: -20px;
6629
  font-size: 12px;
6630
  _content: attr(data-value) "%";
6631
  }
 
6632
  #learn-press-updater .updater-progress .updater-progress-status .updater-progress-animation {
6633
  overflow: hidden;
6634
  position: absolute;
6638
  height: 5px;
6639
  background: #5bc4f9;
6640
  }
 
6641
  #learn-press-updater .updater-progress .updater-progress-status .updater-progress-animation:not(.completed)::after {
6642
  position: absolute;
6643
  height: 5px;
6649
  -o-animation: animation4 1.5s ease-out infinite;
6650
  animation: animation4 1.5s ease-out infinite;
6651
  }
 
6652
  #learn-press-updater .updating-message {
6653
  color: #a24666;
6654
  }
 
6655
  #learn-press-updater .completed-message {
6656
  color: #3c8eb7;
6657
  }
6663
  .select2 .select2-search.select2-search--inline {
6664
  margin-bottom: 0;
6665
  }
 
6666
  .select2 .select2-selection .select2-selection__choice {
6667
  margin-top: 4px;
6668
  margin-bottom: 0;
6669
  }
 
6670
  .select2 .select2-selection.select2-selection--multiple {
6671
  min-height: 30px;
6672
  }
6681
  display: inline-block;
6682
  position: relative;
6683
  }
 
6684
  body.post-type-lp_question #button-new-question div {
6685
  display: none;
6686
  position: absolute;
6693
  background: #ffff;
6694
  font-weight: 400;
6695
  }
 
6696
  body.post-type-lp_question #button-new-question div a {
6697
  display: block;
6698
  min-width: 100px;
6702
  white-space: nowrap;
6703
  text-decoration: none;
6704
  }
 
6705
  body.post-type-lp_question #button-new-question div a:hover {
6706
  background: #eee;
6707
  }
 
6708
  body.post-type-lp_question #button-new-question > a {
6709
  position: relative;
6710
  padding-right: 15px;
6711
  text-decoration: none;
6712
  }
 
6713
  body.post-type-lp_question #button-new-question > a::after {
6714
  display: inline-block;
6715
  position: absolute;
6722
  border-top-color: #0f7aae;
6723
  content: "";
6724
  }
 
6725
  body.post-type-lp_question #button-new-question:hover div {
6726
  display: block;
6727
  }
6735
  -moz-border-radius: 4px;
6736
  border-radius: 4px;
6737
  }
 
6738
  .lp-label.success {
6739
  background: #4caf50;
6740
  }
 
6741
  .lp-label.error {
6742
  background: #f00;
6743
  }
 
6744
  .lp-label.warning {
6745
  background: #ffc107;
6746
  }
 
6747
  .lp-label .far,
6748
  .lp-label .fas,
6749
  .lp-label .fa {
6754
  .lp-admin-profile-courses .column-results {
6755
  width: 200px;
6756
  }
 
6757
  .lp-admin-profile-courses .course-results-progress .lp-progress-row {
6758
  margin: 0 0 20px 0;
6759
  }
 
6760
  .lp-admin-profile-courses .course-results-progress .lp-course-progress-heading {
6761
  margin: 0 0 5px 0;
6762
  line-height: 1;
6763
  }
 
6764
  .lp-admin-profile-courses .learn-press-progress {
6765
  overflow: hidden;
6766
  position: relative;
6768
  height: 6px;
6769
  border-radius: 3px;
6770
  }
 
6771
  .lp-admin-profile-courses .learn-press-progress .learn-press-progress__active {
6772
  position: absolute;
6773
  z-index: 1;
6782
  -o-transition: 0.5s;
6783
  transition: 0.5s;
6784
  }
 
6785
  .lp-admin-profile-courses .learn-press-progress::before {
6786
  display: block;
6787
  position: absolute;
6791
  height: 100%;
6792
  background: #ccc;
6793
  content: "";
6794
+ }
assets/css/admin/setup.css CHANGED
@@ -10,7 +10,6 @@
10
  transform: rotate(360deg);
11
  }
12
  }
13
-
14
  @keyframes spin-back {
15
  0% {
16
  transform: rotate(0deg);
@@ -22,41 +21,33 @@
22
  transform: rotate(-360deg);
23
  }
24
  }
25
-
26
  .lp-setup, .lp-update-database {
27
  color: #777;
28
  }
29
-
30
  .lp-setup h1, .lp-setup h2, .lp-setup h3, .lp-setup h4, .lp-setup h5, .lp-setup h6, .lp-update-database h1, .lp-update-database h2, .lp-update-database h3, .lp-update-database h4, .lp-update-database h5, .lp-update-database h6 {
31
  color: #777;
32
  font-weight: normal;
33
  }
34
-
35
  .lp-setup h2, .lp-update-database h2 {
36
  font-size: 24px;
37
  border-bottom: 1px solid #EEE;
38
  padding-bottom: 20px;
39
  }
40
-
41
  .lp-setup p.large-text, .lp-update-database p.large-text {
42
  font-size: 16px;
43
  margin: 0 0 20px 0;
44
  }
45
-
46
  .lp-setup a, .lp-update-database a {
47
  font-size: 13px;
48
  }
49
-
50
  .lp-setup .logo, .lp-update-database .logo {
51
  text-align: center;
52
  }
53
-
54
  .lp-setup #content, .lp-update-database #content {
55
  max-width: 90%;
56
  width: 900px;
57
  margin: 40px auto 20px auto;
58
  }
59
-
60
  .lp-setup #main, .lp-update-database #main {
61
  background: #FFF;
62
  padding: 20px;
@@ -64,14 +55,12 @@
64
  margin-bottom: 20px;
65
  position: relative;
66
  }
67
-
68
  .lp-setup #main .description, .lp-update-database #main .description {
69
  font-size: 13px;
70
  font-style: italic;
71
  }
72
-
73
  .lp-setup #main.loading:after, .lp-update-database #main.loading:after {
74
- content: '';
75
  position: absolute;
76
  top: 0;
77
  left: 0;
@@ -81,7 +70,6 @@
81
  background: #FFF;
82
  opacity: 0.5;
83
  }
84
-
85
  .lp-setup #main.loading .icon-loading, .lp-update-database #main.loading .icon-loading {
86
  display: block;
87
  position: absolute;
@@ -93,16 +81,14 @@
93
  margin-top: -10px;
94
  z-index: 15;
95
  }
96
-
97
  .lp-setup #main.loading .icon-loading:before, .lp-setup #main.loading .icon-loading:after, .lp-update-database #main.loading .icon-loading:before, .lp-update-database #main.loading .icon-loading:after {
98
  width: 20px;
99
  height: 20px;
100
  top: 0;
101
  left: 0;
102
- content: '';
103
  position: absolute;
104
  }
105
-
106
  .lp-setup #main.loading .icon-loading:before, .lp-update-database #main.loading .icon-loading:before {
107
  background: #e2e2e2;
108
  animation-name: spin;
@@ -110,7 +96,6 @@
110
  animation-iteration-count: infinite;
111
  animation-delay: 0s;
112
  }
113
-
114
  .lp-setup #main.loading .icon-loading:after, .lp-update-database #main.loading .icon-loading:after {
115
  background: #39a1e5;
116
  animation-name: spin-back;
@@ -118,11 +103,9 @@
118
  animation-iteration-count: infinite;
119
  animation-delay: 0s;
120
  }
121
-
122
  .lp-setup .lp-setup-nav, .lp-update-database .lp-setup-nav {
123
  position: relative;
124
  }
125
-
126
  .lp-setup .lp-setup-steps, .lp-update-database .lp-setup-steps {
127
  list-style: none;
128
  margin: 0;
@@ -130,7 +113,6 @@
130
  display: flex;
131
  position: relative;
132
  }
133
-
134
  .lp-setup .lp-setup-steps li, .lp-update-database .lp-setup-steps li {
135
  list-style: none;
136
  flex: 1;
@@ -138,14 +120,12 @@
138
  margin: 0;
139
  position: relative;
140
  }
141
-
142
  .lp-setup .lp-setup-steps li.active span, .lp-update-database .lp-setup-steps li.active span {
143
  font-weight: bold;
144
  color: #564079;
145
  }
146
-
147
  .lp-setup .lp-setup-steps li.active:before, .lp-update-database .lp-setup-steps li.active:before {
148
- content: '';
149
  height: 6px;
150
  width: 100%;
151
  -webkit-border-radius: 3px;
@@ -157,7 +137,6 @@
157
  bottom: -20px;
158
  z-index: 10;
159
  }
160
-
161
  .lp-setup .lp-setup-steps li.active:after, .lp-update-database .lp-setup-steps li.active:after {
162
  width: 8px;
163
  height: 8px;
@@ -167,9 +146,8 @@
167
  left: 50%;
168
  bottom: -18px;
169
  margin-left: -5px;
170
- content: '';
171
  }
172
-
173
  .lp-setup .lp-setup-progress,
174
  .lp-setup .lp-setup-progress .active, .lp-update-database .lp-setup-progress,
175
  .lp-update-database .lp-setup-progress .active {
@@ -183,29 +161,24 @@
183
  -moz-border-radius: 3px;
184
  border-radius: 3px;
185
  }
186
-
187
  .lp-setup .lp-setup-progress .active, .lp-update-database .lp-setup-progress .active {
188
  background: #ffc106;
189
  width: 50%;
190
  }
191
-
192
  .lp-setup footer, .lp-update-database footer {
193
  max-width: 900px;
194
  margin: 0 auto;
195
  padding: 0 20px;
196
  text-align: center;
197
  }
198
-
199
  .lp-setup .buttons, .lp-update-database .buttons {
200
  text-align: right;
201
  border-top: 1px solid #EEE;
202
  padding-top: 20px;
203
  }
204
-
205
  .lp-setup .buttons .button-prev, .lp-update-database .buttons .button-prev {
206
  float: left;
207
  }
208
-
209
  .lp-setup .button-skip-next,
210
  .lp-setup .button-skip-prev, .lp-update-database .button-skip-next,
211
  .lp-update-database .button-skip-prev {
@@ -213,70 +186,57 @@
213
  float: left;
214
  margin-right: 4px;
215
  }
216
-
217
  .lp-setup .button-skip-next:hover,
218
  .lp-setup .button-skip-prev:hover, .lp-update-database .button-skip-next:hover,
219
  .lp-update-database .button-skip-prev:hover {
220
  opacity: 1;
221
  }
222
-
223
  .lp-setup .button-dashboard-page, .lp-update-database .button-dashboard-page {
224
  vertical-align: middle;
225
  margin: 5px;
226
  display: inline-block;
227
  }
228
-
229
  .lp-setup table, .lp-update-database table {
230
  width: 100%;
231
  font-size: 14px;
232
  }
233
-
234
  .lp-setup table th, .lp-setup table td, .lp-update-database table th, .lp-update-database table td {
235
  padding: 8px 8px 8px 0;
236
  font-weight: normal;
237
  vertical-align: top;
238
  text-align: left;
239
  }
240
-
241
  .lp-setup table th, .lp-update-database table th {
242
  width: 33%;
243
  text-align: left;
244
  }
245
-
246
  .lp-setup .browse-payments, .lp-update-database .browse-payments {
247
  list-style: none;
248
  margin: 0;
249
  padding: 0;
250
  }
251
-
252
  .lp-setup .browse-payments li.payment, .lp-update-database .browse-payments li.payment {
253
  padding: 0 0 10px 0;
254
  margin: 0;
255
  }
256
-
257
  .lp-setup .browse-payments li.payment > h3, .lp-update-database .browse-payments li.payment > h3 {
258
  padding: 20px 0;
259
  margin: 0;
260
  }
261
-
262
  .lp-setup .browse-payments li.payment .payment-settings, .lp-update-database .browse-payments li.payment .payment-settings {
263
  padding: 0 0 20px 0;
264
  }
265
-
266
  .lp-setup .browse-payments li.payment .payment-name img, .lp-update-database .browse-payments li.payment .payment-name img {
267
  max-height: 32px;
268
  vertical-align: middle;
269
  margin-left: 0px;
270
  }
271
-
272
  .lp-setup .browse-payments li.payment .payment-desc, .lp-update-database .browse-payments li.payment .payment-desc {
273
  font-style: italic;
274
  }
275
-
276
  .lp-setup .finish-buttons, .lp-update-database .finish-buttons {
277
  text-align: right;
278
  }
279
-
280
  .lp-setup .finish-buttons .button, .lp-update-database .finish-buttons .button {
281
  width: 300px;
282
  display: inline-block;
@@ -287,15 +247,12 @@
287
  color: #777;
288
  text-align: center;
289
  }
290
-
291
  .lp-setup .finish-buttons .button.button-primary, .lp-update-database .finish-buttons .button.button-primary {
292
  color: #FFF;
293
  }
294
-
295
  .lp-setup .finish-buttons .button:nth-child(odd), .lp-update-database .finish-buttons .button:nth-child(odd) {
296
  float: left;
297
  }
298
-
299
  .lp-setup .learn-press-message, .lp-update-database .learn-press-message {
300
  background: #FAFAFA;
301
  padding: 15px;
@@ -304,16 +261,13 @@
304
  font-size: 14px;
305
  border-radius: 4px;
306
  }
307
-
308
  .lp-setup .learn-press-message.error, .lp-update-database .learn-press-message.error {
309
  border-left-color: #FF0000;
310
  }
311
-
312
  .lp-setup #preview-price, .lp-update-database #preview-price {
313
  font-size: 18px;
314
  color: #FF0000;
315
  }
316
-
317
  .lp-setup .form-field th .learn-press-tip, .lp-update-database .form-field th .learn-press-tip {
318
  float: right;
319
- }
10
  transform: rotate(360deg);
11
  }
12
  }
 
13
  @keyframes spin-back {
14
  0% {
15
  transform: rotate(0deg);
21
  transform: rotate(-360deg);
22
  }
23
  }
 
24
  .lp-setup, .lp-update-database {
25
  color: #777;
26
  }
 
27
  .lp-setup h1, .lp-setup h2, .lp-setup h3, .lp-setup h4, .lp-setup h5, .lp-setup h6, .lp-update-database h1, .lp-update-database h2, .lp-update-database h3, .lp-update-database h4, .lp-update-database h5, .lp-update-database h6 {
28
  color: #777;
29
  font-weight: normal;
30
  }
 
31
  .lp-setup h2, .lp-update-database h2 {
32
  font-size: 24px;
33
  border-bottom: 1px solid #EEE;
34
  padding-bottom: 20px;
35
  }
 
36
  .lp-setup p.large-text, .lp-update-database p.large-text {
37
  font-size: 16px;
38
  margin: 0 0 20px 0;
39
  }
 
40
  .lp-setup a, .lp-update-database a {
41
  font-size: 13px;
42
  }
 
43
  .lp-setup .logo, .lp-update-database .logo {
44
  text-align: center;
45
  }
 
46
  .lp-setup #content, .lp-update-database #content {
47
  max-width: 90%;
48
  width: 900px;
49
  margin: 40px auto 20px auto;
50
  }
 
51
  .lp-setup #main, .lp-update-database #main {
52
  background: #FFF;
53
  padding: 20px;
55
  margin-bottom: 20px;
56
  position: relative;
57
  }
 
58
  .lp-setup #main .description, .lp-update-database #main .description {
59
  font-size: 13px;
60
  font-style: italic;
61
  }
 
62
  .lp-setup #main.loading:after, .lp-update-database #main.loading:after {
63
+ content: "";
64
  position: absolute;
65
  top: 0;
66
  left: 0;
70
  background: #FFF;
71
  opacity: 0.5;
72
  }
 
73
  .lp-setup #main.loading .icon-loading, .lp-update-database #main.loading .icon-loading {
74
  display: block;
75
  position: absolute;
81
  margin-top: -10px;
82
  z-index: 15;
83
  }
 
84
  .lp-setup #main.loading .icon-loading:before, .lp-setup #main.loading .icon-loading:after, .lp-update-database #main.loading .icon-loading:before, .lp-update-database #main.loading .icon-loading:after {
85
  width: 20px;
86
  height: 20px;
87
  top: 0;
88
  left: 0;
89
+ content: "";
90
  position: absolute;
91
  }
 
92
  .lp-setup #main.loading .icon-loading:before, .lp-update-database #main.loading .icon-loading:before {
93
  background: #e2e2e2;
94
  animation-name: spin;
96
  animation-iteration-count: infinite;
97
  animation-delay: 0s;
98
  }
 
99
  .lp-setup #main.loading .icon-loading:after, .lp-update-database #main.loading .icon-loading:after {
100
  background: #39a1e5;
101
  animation-name: spin-back;
103
  animation-iteration-count: infinite;
104
  animation-delay: 0s;
105
  }
 
106
  .lp-setup .lp-setup-nav, .lp-update-database .lp-setup-nav {
107
  position: relative;
108
  }
 
109
  .lp-setup .lp-setup-steps, .lp-update-database .lp-setup-steps {
110
  list-style: none;
111
  margin: 0;
113
  display: flex;
114
  position: relative;
115
  }
 
116
  .lp-setup .lp-setup-steps li, .lp-update-database .lp-setup-steps li {
117
  list-style: none;
118
  flex: 1;
120
  margin: 0;
121
  position: relative;
122
  }
 
123
  .lp-setup .lp-setup-steps li.active span, .lp-update-database .lp-setup-steps li.active span {
124
  font-weight: bold;
125
  color: #564079;
126
  }
 
127
  .lp-setup .lp-setup-steps li.active:before, .lp-update-database .lp-setup-steps li.active:before {
128
+ content: "";
129
  height: 6px;
130
  width: 100%;
131
  -webkit-border-radius: 3px;
137
  bottom: -20px;
138
  z-index: 10;
139
  }
 
140
  .lp-setup .lp-setup-steps li.active:after, .lp-update-database .lp-setup-steps li.active:after {
141
  width: 8px;
142
  height: 8px;
146
  left: 50%;
147
  bottom: -18px;
148
  margin-left: -5px;
149
+ content: "";
150
  }
 
151
  .lp-setup .lp-setup-progress,
152
  .lp-setup .lp-setup-progress .active, .lp-update-database .lp-setup-progress,
153
  .lp-update-database .lp-setup-progress .active {
161
  -moz-border-radius: 3px;
162
  border-radius: 3px;
163
  }
 
164
  .lp-setup .lp-setup-progress .active, .lp-update-database .lp-setup-progress .active {
165
  background: #ffc106;
166
  width: 50%;
167
  }
 
168
  .lp-setup footer, .lp-update-database footer {
169
  max-width: 900px;
170
  margin: 0 auto;
171
  padding: 0 20px;
172
  text-align: center;
173
  }
 
174
  .lp-setup .buttons, .lp-update-database .buttons {
175
  text-align: right;
176
  border-top: 1px solid #EEE;
177
  padding-top: 20px;
178
  }
 
179
  .lp-setup .buttons .button-prev, .lp-update-database .buttons .button-prev {
180
  float: left;
181
  }
 
182
  .lp-setup .button-skip-next,
183
  .lp-setup .button-skip-prev, .lp-update-database .button-skip-next,
184
  .lp-update-database .button-skip-prev {
186
  float: left;
187
  margin-right: 4px;
188
  }
 
189
  .lp-setup .button-skip-next:hover,
190
  .lp-setup .button-skip-prev:hover, .lp-update-database .button-skip-next:hover,
191
  .lp-update-database .button-skip-prev:hover {
192
  opacity: 1;
193
  }
 
194
  .lp-setup .button-dashboard-page, .lp-update-database .button-dashboard-page {
195
  vertical-align: middle;
196
  margin: 5px;
197
  display: inline-block;
198
  }
 
199
  .lp-setup table, .lp-update-database table {
200
  width: 100%;
201
  font-size: 14px;
202
  }
 
203
  .lp-setup table th, .lp-setup table td, .lp-update-database table th, .lp-update-database table td {
204
  padding: 8px 8px 8px 0;
205
  font-weight: normal;
206
  vertical-align: top;
207
  text-align: left;
208
  }
 
209
  .lp-setup table th, .lp-update-database table th {
210
  width: 33%;
211
  text-align: left;
212
  }
 
213
  .lp-setup .browse-payments, .lp-update-database .browse-payments {
214
  list-style: none;
215
  margin: 0;
216
  padding: 0;
217
  }
 
218
  .lp-setup .browse-payments li.payment, .lp-update-database .browse-payments li.payment {
219
  padding: 0 0 10px 0;
220
  margin: 0;
221
  }
 
222
  .lp-setup .browse-payments li.payment > h3, .lp-update-database .browse-payments li.payment > h3 {
223
  padding: 20px 0;
224
  margin: 0;
225
  }
 
226
  .lp-setup .browse-payments li.payment .payment-settings, .lp-update-database .browse-payments li.payment .payment-settings {
227
  padding: 0 0 20px 0;
228
  }
 
229
  .lp-setup .browse-payments li.payment .payment-name img, .lp-update-database .browse-payments li.payment .payment-name img {
230
  max-height: 32px;
231
  vertical-align: middle;
232
  margin-left: 0px;
233
  }
 
234
  .lp-setup .browse-payments li.payment .payment-desc, .lp-update-database .browse-payments li.payment .payment-desc {
235
  font-style: italic;
236
  }
 
237
  .lp-setup .finish-buttons, .lp-update-database .finish-buttons {
238
  text-align: right;
239
  }
 
240
  .lp-setup .finish-buttons .button, .lp-update-database .finish-buttons .button {
241
  width: 300px;
242
  display: inline-block;
247
  color: #777;
248
  text-align: center;
249
  }
 
250
  .lp-setup .finish-buttons .button.button-primary, .lp-update-database .finish-buttons .button.button-primary {
251
  color: #FFF;
252
  }
 
253
  .lp-setup .finish-buttons .button:nth-child(odd), .lp-update-database .finish-buttons .button:nth-child(odd) {
254
  float: left;
255
  }
 
256
  .lp-setup .learn-press-message, .lp-update-database .learn-press-message {
257
  background: #FAFAFA;
258
  padding: 15px;
261
  font-size: 14px;
262
  border-radius: 4px;
263
  }
 
264
  .lp-setup .learn-press-message.error, .lp-update-database .learn-press-message.error {
265
  border-left-color: #FF0000;
266
  }
 
267
  .lp-setup #preview-price, .lp-update-database #preview-price {
268
  font-size: 18px;
269
  color: #FF0000;
270
  }
 
271
  .lp-setup .form-field th .learn-press-tip, .lp-update-database .form-field th .learn-press-tip {
272
  float: right;
273
+ }
assets/css/admin/statistic.css CHANGED
@@ -16,7 +16,7 @@
16
  vertical-align: top;
17
  }
18
 
19
- .chart-buttons form input[type="text"] {
20
  width: 105px;
21
  font-size: 14px;
22
  vertical-align: top;
@@ -34,7 +34,7 @@
34
  }
35
 
36
  .learn-press-chart.loading:after {
37
- content: '';
38
  position: absolute;
39
  top: 0;
40
  left: 0;
@@ -51,7 +51,7 @@
51
  }
52
 
53
  .chart-description li:before {
54
- content: '';
55
  display: inline-block;
56
  width: 10px;
57
  height: 10px;
@@ -75,4 +75,4 @@
75
 
76
  .chart-description li.students:before {
77
  background: #D4D0CB;
78
- }
16
  vertical-align: top;
17
  }
18
 
19
+ .chart-buttons form input[type=text] {
20
  width: 105px;
21
  font-size: 14px;
22
  vertical-align: top;
34
  }
35
 
36
  .learn-press-chart.loading:after {
37
+ content: "";
38
  position: absolute;
39
  top: 0;
40
  left: 0;
51
  }
52
 
53
  .chart-description li:before {
54
+ content: "";
55
  display: inline-block;
56
  width: 10px;
57
  height: 10px;
75
 
76
  .chart-description li.students:before {
77
  background: #D4D0CB;
78
+ }
assets/css/learnpress.css CHANGED
@@ -14,7 +14,6 @@
14
  transform: rotate(360deg);
15
  }
16
  }
17
-
18
  @keyframes rotating4 {
19
  from {
20
  -ms-transform: rotate(0deg);
@@ -31,7 +30,6 @@
31
  transform: rotate(360deg);
32
  }
33
  }
34
-
35
  @-webkit-keyframes animation4 {
36
  from {
37
  left: -40%;
@@ -42,7 +40,6 @@
42
  width: 10%;
43
  }
44
  }
45
-
46
  @keyframes animation4 {
47
  from {
48
  left: -40%;
@@ -53,7 +50,6 @@
53
  width: 10%;
54
  }
55
  }
56
-
57
  .learn-press-message {
58
  position: relative;
59
  margin: 0 0 20px 0;
@@ -63,15 +59,12 @@
63
  border-bottom-left-radius: 5px;
64
  background: #f5f5f5;
65
  }
66
-
67
  .learn-press-message.icon {
68
  padding-left: 45px;
69
  }
70
-
71
  .learn-press-message.icon::before {
72
  background: #00adff;
73
  }
74
-
75
  .learn-press-message.icon::after {
76
  position: absolute;
77
  top: 50%;
@@ -90,20 +83,17 @@
90
  vertical-align: baseline;
91
  content: "\f129";
92
  }
93
-
94
  .learn-press-message::before, .learn-press-message::after {
95
  position: absolute;
96
  top: 0;
97
  content: "";
98
  }
99
-
100
  .learn-press-message::before {
101
  right: 20px;
102
  width: 20px;
103
  height: 30px;
104
  background: #00adff;
105
  }
106
-
107
  .learn-press-message::after {
108
  top: 10px;
109
  right: 20px;
@@ -112,53 +102,41 @@
112
  border: 10px solid transparent;
113
  border-bottom-color: #f5f5f5;
114
  }
115
-
116
  .learn-press-message.error {
117
  border-top: 5px solid #d85554;
118
  }
119
-
120
  .learn-press-message.error::before {
121
  background: #d85554;
122
  }
123
-
124
  .learn-press-message.error.icon::before {
125
  background: #d85554;
126
  }
127
-
128
  .learn-press-message.error.icon::after {
129
  background: #d85554;
130
  content: "\f00d";
131
  }
132
-
133
  .learn-press-message.warning {
134
  border-top: 5px solid #ffc107;
135
  }
136
-
137
  .learn-press-message.warning::before {
138
  background: #ffc107;
139
  }
140
-
141
  .learn-press-message.warning.icon::before {
142
  background: #ffc107;
143
  }
144
-
145
  .learn-press-message.warning.icon::after {
146
  background: #ffc107;
147
  content: "\f00d";
148
  }
149
-
150
  .learn-press-message.success {
151
  border-top: 5px solid #059601;
152
  }
153
-
154
  .learn-press-message.success::before {
155
  background: #059601;
156
  }
157
-
158
  .learn-press-message.success.icon::before {
159
  background: #059601;
160
  }
161
-
162
  .learn-press-message.success.icon::after {
163
  background: #059601;
164
  content: "\f129";
@@ -180,7 +158,6 @@
180
  transform: rotate(360deg);
181
  }
182
  }
183
-
184
  @-webkit-keyframes lp-rotating {
185
  from {
186
  -webkit-transform: rotate(0deg);
@@ -191,7 +168,6 @@
191
  transform: rotate(360deg);
192
  }
193
  }
194
-
195
  .ajaxload {
196
  display: inline-block;
197
  position: relative;
@@ -206,7 +182,6 @@
206
  -moz-animation: lp-rotating 1s linear infinite;
207
  animation: lp-rotating 1s linear infinite;
208
  }
209
-
210
  .ajaxload::after {
211
  -webkit-border-radius: 50%;
212
  -moz-border-radius: 50%;
@@ -228,7 +203,6 @@
228
  width: 32px;
229
  height: 32px;
230
  }
231
-
232
  .lp-ajaxload-style-1::before, .lp-ajaxload-style-1::after {
233
  position: absolute;
234
  top: 0;
@@ -238,7 +212,6 @@
238
  border: 3px solid #ddd;
239
  content: "";
240
  }
241
-
242
  .lp-ajaxload-style-1::after {
243
  clip: rect(0, 32px, 16px, 16px);
244
  border-color: #2fa7ff;
@@ -254,221 +227,169 @@
254
  margin-bottom: 34px;
255
  background: #f1f2f8;
256
  }
257
-
258
  .learn-press-tabs .learn-press-tabs__checker {
259
  display: none;
260
  }
261
-
262
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1) {
263
  border-bottom: 0;
264
  background: #fff;
265
  }
266
-
267
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1) label {
268
  color: #ffb606;
269
  }
270
-
271
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1) label a {
272
  color: #ffb606;
273
  }
274
-
275
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1)::before {
276
  background: #ffb606;
277
  }
278
-
279
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1)::after {
280
  background: #fff;
281
  }
282
-
283
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2) {
284
  border-bottom: 0;
285
  background: #fff;
286
  }
287
-
288
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2) label {
289
  color: #ffb606;
290
  }
291
-
292
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2) label a {
293
  color: #ffb606;
294
  }
295
-
296
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2)::before {
297
  background: #ffb606;
298
  }
299
-
300
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2)::after {
301
  background: #fff;
302
  }
303
-
304
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3) {
305
  border-bottom: 0;
306
  background: #fff;
307
  }
308
-
309
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3) label {
310
  color: #ffb606;
311
  }
312
-
313
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3) label a {
314
  color: #ffb606;
315
  }
316
-
317
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3)::before {
318
  background: #ffb606;
319
  }
320
-
321
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3)::after {
322
  background: #fff;
323
  }
324
-
325
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4) {
326
  border-bottom: 0;
327
  background: #fff;
328
  }
329
-
330
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4) label {
331
  color: #ffb606;
332
  }
333
-
334
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4) label a {
335
  color: #ffb606;
336
  }
337
-
338
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4)::before {
339
  background: #ffb606;
340
  }
341
-
342
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4)::after {
343
  background: #fff;
344
  }
345
-
346
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5) {
347
  border-bottom: 0;
348
  background: #fff;
349
  }
350
-
351
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5) label {
352
  color: #ffb606;
353
  }
354
-
355
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5) label a {
356
  color: #ffb606;
357
  }
358
-
359
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5)::before {
360
  background: #ffb606;
361
  }
362
-
363
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5)::after {
364
  background: #fff;
365
  }
366
-
367
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6) {
368
  border-bottom: 0;
369
  background: #fff;
370
  }
371
-
372
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6) label {
373
  color: #ffb606;
374
  }
375
-
376
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6) label a {
377
  color: #ffb606;
378
  }
379
-
380
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6)::before {
381
  background: #ffb606;
382
  }
383
-
384
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6)::after {
385
  background: #fff;
386
  }
387
-
388
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7) {
389
  border-bottom: 0;
390
  background: #fff;
391
  }
392
-
393
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7) label {
394
  color: #ffb606;
395
  }
396
-
397
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7) label a {
398
  color: #ffb606;
399
  }
400
-
401
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7)::before {
402
  background: #ffb606;
403
  }
404
-
405
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7)::after {
406
  background: #fff;
407
  }
408
-
409
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8) {
410
  border-bottom: 0;
411
  background: #fff;
412
  }
413
-
414
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8) label {
415
  color: #ffb606;
416
  }
417
-
418
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8) label a {
419
  color: #ffb606;
420
  }
421
-
422
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8)::before {
423
  background: #ffb606;
424
  }
425
-
426
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8)::after {
427
  background: #fff;
428
  }
429
-
430
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9) {
431
  border-bottom: 0;
432
  background: #fff;
433
  }
434
-
435
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9) label {
436
  color: #ffb606;
437
  }
438
-
439
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9) label a {
440
  color: #ffb606;
441
  }
442
-
443
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9)::before {
444
  background: #ffb606;
445
  }
446
-
447
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9)::after {
448
  background: #fff;
449
  }
450
-
451
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10) {
452
  border-bottom: 0;
453
  background: #fff;
454
  }
455
-
456
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10) label {
457
  color: #ffb606;
458
  }
459
-
460
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10) label a {
461
  color: #ffb606;
462
  }
463
-
464
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10)::before {
465
  background: #ffb606;
466
  }
467
-
468
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10)::after {
469
  background: #fff;
470
  }
471
-
472
  .learn-press-tabs .learn-press-tabs__nav {
473
  display: flex;
474
  margin: 0;
@@ -476,7 +397,6 @@
476
  border: 1px solid #e5e7f2;
477
  list-style: none;
478
  }
479
-
480
  .learn-press-tabs .learn-press-tabs__tab {
481
  position: relative;
482
  margin: 0;
@@ -484,11 +404,9 @@
484
  background: #f1f2f8;
485
  list-style: none;
486
  }
487
-
488
  .learn-press-tabs .learn-press-tabs__tab:last-child {
489
  border-right: 0;
490
  }
491
-
492
  .learn-press-tabs .learn-press-tabs__tab > label {
493
  display: block;
494
  margin: 0;
@@ -499,22 +417,18 @@
499
  text-transform: capitalize;
500
  cursor: pointer;
501
  }
502
-
503
  .learn-press-tabs .learn-press-tabs__tab > label a {
504
  color: #333;
505
  }
506
-
507
  .learn-press-tabs .learn-press-tabs__tab > label a:focus {
508
  outline: 0;
509
  text-decoration: none;
510
  }
511
-
512
  @media (max-width: 767px) {
513
  .learn-press-tabs .learn-press-tabs__tab > label {
514
  padding: 20px 50px 14px 50px;
515
  }
516
  }
517
-
518
  .learn-press-tabs .learn-press-tabs__tab::before {
519
  position: absolute;
520
  top: -1px;
@@ -524,7 +438,6 @@
524
  background: transparent;
525
  content: "";
526
  }
527
-
528
  .learn-press-tabs .learn-press-tabs__tab::after {
529
  position: absolute;
530
  bottom: -1px;
@@ -534,11 +447,9 @@
534
  background: transparent;
535
  content: "";
536
  }
537
-
538
  .learn-press-tabs .learn-press-tabs__tab:first-child.active label {
539
  position: relative;
540
  }
541
-
542
  .learn-press-tabs .learn-press-tabs__tab:first-child.active label::before {
543
  position: absolute;
544
  top: 0;
@@ -548,11 +459,9 @@
548
  background: #fff;
549
  content: "";
550
  }
551
-
552
  .learn-press-tabs.stretch .learn-press-tabs__tab {
553
  flex: 1;
554
  }
555
-
556
  .learn-press-tabs.stretch .learn-press-tabs__tab > label {
557
  padding: 18px 10px;
558
  }
@@ -563,7 +472,6 @@
563
  margin-left: 0;
564
  list-style: none;
565
  }
566
-
567
  @media (max-width: 767px) {
568
  .learn-press-filters {
569
  display: grid;
@@ -571,71 +479,56 @@
571
  grid-gap: 15px;
572
  }
573
  }
574
-
575
  .learn-press-filters > li {
576
  margin: 0;
577
  font-size: 16px;
578
  line-height: 24px;
579
  }
580
-
581
  .learn-press-filters > li > a,
582
  .learn-press-filters > li > span {
583
  display: inline-block;
584
  font-weight: 600;
585
  }
586
-
587
  .learn-press-filters > li > span.count {
588
  font-weight: 400;
589
  }
590
-
591
  .learn-press-filters > li > span.count::before, .learn-press-filters > li > span.count::after {
592
  display: inline-block;
593
  }
594
-
595
  .learn-press-filters > li > span.count::before {
596
  content: "(";
597
  }
598
-
599
  .learn-press-filters > li > span.count::after {
600
  content: ")";
601
  }
602
-
603
  .learn-press-filters > li span {
604
  color: #ffb606;
605
  }
606
-
607
  .learn-press-filters > li span + span {
608
  color: #ffb606;
609
  }
610
-
611
  .learn-press-filters > li span + span::before, .learn-press-filters > li span + span::after {
612
  color: #ffb606;
613
  }
614
-
615
  .learn-press-filters > li a {
616
  color: #333;
617
  }
618
-
619
  .learn-press-filters > li a + span {
620
  color: #333;
621
  }
622
-
623
  .learn-press-filters > li a + span::before, .learn-press-filters > li a + span::after {
624
  color: #333;
625
  }
626
-
627
  .learn-press-filters > li::after {
628
  margin: 0 35px;
629
  color: #ccc;
630
  content: "|";
631
  }
632
-
633
  @media (max-width: 767px) {
634
  .learn-press-filters > li::after {
635
  display: none;
636
  }
637
  }
638
-
639
  .learn-press-filters > li:last-child::after {
640
  display: none;
641
  }
@@ -648,7 +541,6 @@
648
  width: calc(50% - 30px);
649
  margin: 0 15px 40px 15px;
650
  }
651
-
652
  .lp-checkout-form__before .lp-checkout-block h4,
653
  .lp-checkout-form__after .lp-checkout-block h4 {
654
  margin-top: 0;
@@ -658,10 +550,9 @@
658
  font-weight: 600;
659
  line-height: 1;
660
  }
661
-
662
  @media (max-width: 815px) {
663
  .lp-checkout-form__before,
664
- .lp-checkout-form__after {
665
  width: 100%;
666
  margin: 0 0 40px 0;
667
  }
@@ -670,7 +561,6 @@
670
  .lp-checkout-form__before {
671
  float: right;
672
  }
673
-
674
  .lp-checkout-form__before #checkout-order {
675
  width: 100%;
676
  }
@@ -678,12 +568,10 @@
678
  #learn-press-checkout-form .lp-checkout-form__after {
679
  float: left;
680
  }
681
-
682
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields {
683
  padding: 0 0 14px 0;
684
  }
685
-
686
- #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:not([type="checkbox"]) {
687
  width: 100%;
688
  height: 43px;
689
  padding: 0 22px;
@@ -695,37 +583,30 @@
695
  font-style: italic;
696
  line-height: 43px;
697
  }
698
-
699
- #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:not([type="checkbox"]):focus {
700
  border-color: var(--lp-primary-color);
701
  outline: 0;
702
  color: #222;
703
  }
704
-
705
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input ::placeholder {
706
  opacity: 1;
707
  color: #999;
708
  }
709
-
710
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input :-ms-input-placeholder {
711
  color: #999;
712
  }
713
-
714
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input ::-ms-input-placeholder {
715
  color: #999;
716
  }
717
-
718
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:-webkit-autofill,
719
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:-webkit-autofill:hover,
720
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:-webkit-autofill:focus {
721
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
722
  -webkit-text-fill-color: #999 !important;
723
  }
724
-
725
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember {
726
  letter-spacing: 0;
727
  }
728
-
729
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label {
730
  width: auto;
731
  color: #666;
@@ -733,8 +614,7 @@
733
  font-weight: 300;
734
  line-height: 26px;
735
  }
736
-
737
- #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label input[type="checkbox"] {
738
  position: relative;
739
  top: 3px;
740
  width: 19px;
@@ -744,12 +624,10 @@
744
  cursor: pointer;
745
  -webkit-appearance: none;
746
  }
747
-
748
- #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label input[type="checkbox"]:focus {
749
  outline: 0;
750
  }
751
-
752
- #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label input[type="checkbox"]:checked::after {
753
  position: absolute;
754
  top: 2px;
755
  left: 2px;
@@ -760,7 +638,6 @@
760
  line-height: 1;
761
  content: "\f00c";
762
  }
763
-
764
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember a {
765
  color: #666;
766
  font-size: 16px;
@@ -769,7 +646,6 @@
769
  text-decoration: underline;
770
  text-decoration-color: #ccc;
771
  }
772
-
773
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember a:hover {
774
  color: var(--lp-primary-color);
775
  text-decoration-color: var(--lp-primary-color);
@@ -778,7 +654,6 @@
778
  #learn-press-checkout-form {
779
  margin: 0 -15px;
780
  }
781
-
782
  @media (max-width: 815px) {
783
  #learn-press-checkout-form {
784
  display: flex;
@@ -786,43 +661,35 @@
786
  margin: 0;
787
  }
788
  }
789
-
790
  #learn-press-checkout-form #btn-checkout-account-switch-to-guest {
791
  margin-bottom: 60px;
792
  }
793
-
794
  #learn-press-checkout-form .description {
795
  float: left;
796
  }
797
-
798
  #learn-press-checkout-form a {
799
  color: #41abec;
800
  }
801
-
802
  #learn-press-checkout-form a label {
803
  display: inline-block;
804
  color: inherit;
805
  font-weight: normal;
806
  cursor: pointer;
807
  }
808
-
809
  #learn-press-checkout-form a:hover {
810
  color: #ffb606;
811
  }
812
-
813
  #learn-press-checkout-form #checkout-account-guest {
814
  width: 100%;
815
  margin-bottom: 35px;
816
  padding-bottom: 19px;
817
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
818
  }
819
-
820
  #learn-press-checkout-form #checkout-account-guest .lp-form-fields,
821
  #learn-press-checkout-form #checkout-account-guest .form-field {
822
  margin-bottom: 0;
823
  padding-bottom: 0;
824
  }
825
-
826
  #learn-press-checkout-form div.lp-guest-checkout-output {
827
  margin-top: 10px;
828
  padding: 8px 20px;
@@ -831,29 +698,24 @@
831
  font-size: 16px;
832
  transition: all 0.2s ease;
833
  }
834
-
835
  #learn-press-checkout-form label.lp-guest-checkout-output {
836
  margin-top: 10px;
837
  cursor: pointer;
838
  user-select: none;
839
  }
840
-
841
  #learn-press-checkout-form .lp-guest-checkout-notice {
842
  margin: 30px 0 0 0;
843
  }
844
-
845
  #learn-press-checkout-form .lp-guest-switch-login {
846
  margin-top: 1em;
847
  color: #666;
848
  font-size: 16px;
849
  font-weight: 400;
850
  }
851
-
852
- #learn-press-checkout-form input[name="checkout-account-switch-form"] {
853
  display: none;
854
  }
855
-
856
- #learn-press-checkout-form input[name="checkout-account-switch-form"]:not(:checked) + .lp-checkout-block {
857
  display: none;
858
  overflow: hidden;
859
  height: 0;
@@ -862,28 +724,23 @@
862
  border: 0;
863
  opacity: 0;
864
  }
865
-
866
- #learn-press-checkout-form input[name="checkout-account-switch-form"]:not(:checked) + .lp-checkout-block > * {
867
  overflow: hidden;
868
  height: 0;
869
  }
870
-
871
- #learn-press-checkout-form input[name="checkout-account-switch-form"]:checked + .lp-checkout-block {
872
  display: block;
873
  overflow: auto;
874
  height: auto;
875
  }
876
-
877
- #learn-press-checkout-form input[name="checkout-account-switch-form"][value="guest"]:checked ~ #btn-checkout-account-switch-to-guest {
878
  display: none;
879
  }
880
-
881
  #learn-press-checkout-form::after {
882
  display: block;
883
  clear: both;
884
  content: "";
885
  }
886
-
887
  #learn-press-checkout-form:focus {
888
  outline: 0;
889
  }
@@ -893,13 +750,11 @@
893
  border: 1px solid #ccc;
894
  border-radius: 4px;
895
  }
896
-
897
  #checkout-order .lp-checkout-order__inner table {
898
  width: 100%;
899
  margin: 0;
900
  border: 0;
901
  }
902
-
903
  #checkout-order .lp-checkout-order__inner td,
904
  #checkout-order .lp-checkout-order__inner th {
905
  box-sizing: content-box;
@@ -912,29 +767,24 @@
912
  text-align: left;
913
  vertical-align: inherit;
914
  }
915
-
916
  #checkout-order .lp-checkout-order__inner td:last-child,
917
  #checkout-order .lp-checkout-order__inner th:last-child {
918
  padding-right: 0;
919
  }
920
-
921
  #checkout-order .lp-checkout-order__inner .course-thumbnail {
922
  width: 100px;
923
  padding: 20px 13px 18px 0;
924
  }
925
-
926
  #checkout-order .lp-checkout-order__inner .course-thumbnail > img {
927
  width: 100px;
928
  max-width: 100% !important;
929
  height: auto !important;
930
  }
931
-
932
  #checkout-order .lp-checkout-order__inner .course-name {
933
  font-size: 16px;
934
  font-weight: 600;
935
  line-height: 26px;
936
  }
937
-
938
  #checkout-order .lp-checkout-order__inner .course-name a {
939
  display: -webkit-box;
940
  overflow: hidden;
@@ -942,11 +792,9 @@
942
  -webkit-line-clamp: 1;
943
  -webkit-box-orient: vertical;
944
  }
945
-
946
  #checkout-order .lp-checkout-order__inner .course-name a:hover {
947
  color: var(--lp-primary-color);
948
  }
949
-
950
  #checkout-order .lp-checkout-order__inner .col-number {
951
  min-width: 50px;
952
  color: #666;
@@ -955,38 +803,31 @@
955
  line-height: 26px;
956
  text-align: right;
957
  }
958
-
959
  #checkout-order .lp-checkout-order__inner .order-total > th {
960
  padding: 24px 20px 24px 0;
961
  }
962
-
963
  #checkout-order .lp-checkout-order__inner .order-total .col-number {
964
  color: #333;
965
  font-size: 26px;
966
  }
967
-
968
  #checkout-order .lp-checkout-order__inner tfoot .cart-subtotal {
969
  color: #666;
970
  font-size: 16px;
971
  font-weight: 600;
972
  line-height: 26px;
973
  }
974
-
975
  #checkout-order .lp-checkout-order__inner tfoot .cart-subtotal > th {
976
  padding: 20px 20px 17px 0;
977
  }
978
-
979
  #checkout-order .lp-checkout-order__inner tfoot .order-total th {
980
  color: #333;
981
  font-size: 16px;
982
  font-weight: 600;
983
  line-height: 26px;
984
  }
985
-
986
  #checkout-order .lp-checkout-order__inner tfoot tr:last-child {
987
  border-width: 0;
988
  }
989
-
990
  #checkout-order .lp-checkout-order__inner tfoot tr:last-child td,
991
  #checkout-order .lp-checkout-order__inner tfoot tr:last-child th {
992
  border-width: 0;
@@ -999,26 +840,22 @@
999
  padding-bottom: 19px;
1000
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
1001
  }
1002
-
1003
  #checkout-account-register .form-field .rwmb-label,
1004
  #checkout-account-register .form-field .rwmb-input .description,
1005
  #checkout-account-login .form-field .rwmb-label,
1006
  #checkout-account-login .form-field .rwmb-input .description {
1007
  display: none;
1008
  }
1009
-
1010
  #checkout-account-register .lp-checkout-remember label,
1011
  #checkout-account-login .lp-checkout-remember label {
1012
  display: inline-block;
1013
  /*font-weight: normal;
1014
- color: inherit;*/
1015
  }
1016
-
1017
  #checkout-account-register .lp-checkout-remember a,
1018
  #checkout-account-login .lp-checkout-remember a {
1019
  float: right;
1020
  }
1021
-
1022
  #checkout-account-register .lp-checkout-sign-in-link,
1023
  #checkout-account-register .lp-checkout-sign-up-link,
1024
  #checkout-account-login .lp-checkout-sign-in-link,
@@ -1029,7 +866,6 @@
1029
  font-size: 16px;
1030
  font-weight: 400;
1031
  }
1032
-
1033
  #checkout-account-register .lp-checkout-sign-in-link a,
1034
  #checkout-account-register .lp-checkout-sign-up-link a,
1035
  #checkout-account-login .lp-checkout-sign-in-link a,
@@ -1038,14 +874,12 @@
1038
  color: #41abec;
1039
  cursor: pointer;
1040
  }
1041
-
1042
  #checkout-account-register .lp-checkout-sign-in-link a:hover,
1043
  #checkout-account-register .lp-checkout-sign-up-link a:hover,
1044
  #checkout-account-login .lp-checkout-sign-in-link a:hover,
1045
  #checkout-account-login .lp-checkout-sign-up-link a:hover {
1046
  color: var(--lp-primary-color);
1047
  }
1048
-
1049
  #checkout-account-register .lp-checkout-sign-in-link a label,
1050
  #checkout-account-register .lp-checkout-sign-up-link a label,
1051
  #checkout-account-login .lp-checkout-sign-in-link a label,
@@ -1061,11 +895,9 @@
1061
  width: 100%;
1062
  margin-bottom: 25px;
1063
  }
1064
-
1065
  #checkout-payment h4 {
1066
  margin-bottom: 24px;
1067
  }
1068
-
1069
  #checkout-payment .secure-connection {
1070
  float: right;
1071
  margin-top: 5px;
@@ -1073,44 +905,36 @@
1073
  font-size: 12px;
1074
  font-weight: normal;
1075
  }
1076
-
1077
  #checkout-payment .secure-connection i {
1078
  margin-right: 5px;
1079
  color: #ccc;
1080
  font-size: 18px;
1081
  }
1082
-
1083
  @media (max-width: 767px) {
1084
  #checkout-payment .secure-connection {
1085
  margin-top: 0;
1086
  }
1087
  }
1088
-
1089
  #checkout-payment .payment-methods {
1090
  margin: 0 0 24px 0;
1091
  padding: 0;
1092
  list-style: none;
1093
  }
1094
-
1095
  #checkout-payment .payment-methods .lp-payment-method {
1096
  position: relative;
1097
  margin: 0;
1098
  }
1099
-
1100
  #checkout-payment .payment-methods .lp-payment-method > label {
1101
  display: flex;
1102
  align-items: center;
1103
  }
1104
-
1105
  #checkout-payment .payment-methods .lp-payment-method .gateway-input,
1106
  #checkout-payment .payment-methods .lp-payment-method .gateway-icon {
1107
  vertical-align: middle;
1108
  }
1109
-
1110
  #checkout-payment .payment-methods .lp-payment-method .gateway-icon {
1111
  max-height: 32px;
1112
  }
1113
-
1114
  #checkout-payment .payment-methods .lp-payment-method .gateway-input {
1115
  position: relative;
1116
  width: 20px;
@@ -1123,7 +947,6 @@
1123
  -moz-border-radius: 50%;
1124
  border-radius: 50%;
1125
  }
1126
-
1127
  #checkout-payment .payment-methods .lp-payment-method .gateway-input::before {
1128
  position: absolute;
1129
  top: 50%;
@@ -1136,15 +959,12 @@
1136
  -moz-border-radius: 50%;
1137
  border-radius: 50%;
1138
  }
1139
-
1140
  #checkout-payment .payment-methods .lp-payment-method .gateway-input:checked::before {
1141
  content: "";
1142
  }
1143
-
1144
  #checkout-payment .payment-methods .lp-payment-method .gateway-input:focus {
1145
  outline: 0;
1146
  }
1147
-
1148
  #checkout-payment #checkout-order-action button {
1149
  width: 100%;
1150
  border-color: var(--lp-primary-color);
@@ -1152,13 +972,11 @@
1152
  background: var(--lp-primary-color);
1153
  font-weight: 500;
1154
  }
1155
-
1156
  #checkout-payment #checkout-order-action button:hover {
1157
  border-color: var(--lp-primary-color);
1158
  opacity: 0.5;
1159
  background: var(--lp-primary-color);
1160
  }
1161
-
1162
  #checkout-payment #checkout-order-action button.loading::before {
1163
  display: inline-block;
1164
  font-family: "Font Awesome 5 Free";
@@ -1175,11 +993,9 @@
1175
  font-weight: 300;
1176
  line-height: 26px;
1177
  }
1178
-
1179
  .lp-terms-and-conditions a {
1180
  color: #41abec;
1181
  }
1182
-
1183
  .lp-terms-and-conditions a:hover {
1184
  color: var(--lp-primary-color);
1185
  }
@@ -1197,11 +1013,9 @@
1197
  padding: 0;
1198
  list-style: none;
1199
  }
1200
-
1201
  #learn-press-checkout .payment-methods .lp-payment-method {
1202
  margin-bottom: 20px;
1203
  }
1204
-
1205
  #learn-press-checkout .payment-methods .lp-payment-method > label {
1206
  display: flex;
1207
  flex-flow: row nowrap;
@@ -1210,22 +1024,18 @@
1210
  line-height: 40px;
1211
  cursor: pointer;
1212
  }
1213
-
1214
  #learn-press-checkout .payment-methods .lp-payment-method > label img {
1215
  vertical-align: middle;
1216
  }
1217
-
1218
  #learn-press-checkout .payment-methods .lp-payment-method.selected > label {
1219
  background: #d4d4d4;
1220
  }
1221
-
1222
  #learn-press-checkout .payment-methods .payment-method-form {
1223
  display: none;
1224
  padding: 15px 20px;
1225
  border-top: 1px solid #ddd;
1226
  background: #f9f9f9;
1227
  }
1228
-
1229
  #learn-press-checkout-login,
1230
  #learn-press-checkout-register {
1231
  margin-bottom: 1.5em;
@@ -1243,7 +1053,6 @@
1243
  #checkout-form-register {
1244
  _display: none;
1245
  }
1246
-
1247
  #checkout-form-login .learn-press-form-register,
1248
  #checkout-form-login .learn-press-form-login,
1249
  #checkout-form-register .learn-press-form-register,
@@ -1254,7 +1063,6 @@
1254
  #checkout-guest-email {
1255
  margin: 0 0 20px 0;
1256
  }
1257
-
1258
  #checkout-guest-email .form-heading {
1259
  margin: 0;
1260
  }
@@ -1263,17 +1071,14 @@
1263
  margin: 0;
1264
  list-style: none;
1265
  }
1266
-
1267
  #checkout-guest-email #checkout-existing-account,
1268
  #checkout-guest-email #checkout-new-account {
1269
  display: none;
1270
  margin: 0;
1271
  }
1272
-
1273
  #checkout-guest-email.email-exists #checkout-existing-account {
1274
  display: block;
1275
  }
1276
-
1277
  #checkout-guest-email.email-exists #checkout-new-account {
1278
  display: none;
1279
  }
@@ -1282,7 +1087,6 @@
1282
  width: 100%;
1283
  margin-bottom: 20px;
1284
  }
1285
-
1286
  .lp-list-table th,
1287
  .lp-list-table td {
1288
  padding: 20px;
@@ -1293,19 +1097,16 @@
1293
  line-height: 1;
1294
  text-align: left;
1295
  }
1296
-
1297
  @media (max-width: 767px) {
1298
  .lp-list-table th,
1299
- .lp-list-table td {
1300
  padding: 15px;
1301
  }
1302
  }
1303
-
1304
  .lp-list-table thead {
1305
  box-sizing: border-box;
1306
  border: 1px solid #e5e7f2;
1307
  }
1308
-
1309
  .lp-list-table thead tr th {
1310
  height: 60px;
1311
  border-bottom: none;
@@ -1313,14 +1114,12 @@
1313
  background: #f1f2f8;
1314
  font-size: 18px;
1315
  }
1316
-
1317
  .lp-list-table tbody,
1318
  .lp-list-table tfoot {
1319
  box-sizing: border-box;
1320
  border: 1px solid rgba(204, 204, 204, 0.3);
1321
  border-top: 0;
1322
  }
1323
-
1324
  .lp-list-table tbody tr td,
1325
  .lp-list-table tbody tr th,
1326
  .lp-list-table tfoot tr td,
@@ -1331,7 +1130,6 @@
1331
  font-size: 16px;
1332
  font-weight: 300;
1333
  }
1334
-
1335
  .lp-list-table tbody tr td a,
1336
  .lp-list-table tbody tr th a,
1337
  .lp-list-table tfoot tr td a,
@@ -1340,45 +1138,36 @@
1340
  color: #666;
1341
  text-decoration: none;
1342
  }
1343
-
1344
  .lp-list-table tbody tr td a:hover,
1345
  .lp-list-table tbody tr th a:hover,
1346
  .lp-list-table tfoot tr td a:hover,
1347
  .lp-list-table tfoot tr th a:hover {
1348
  color: var(--lp-primary-color);
1349
  }
1350
-
1351
  .lp-list-table tbody tr .column-status .result-percent,
1352
  .lp-list-table tfoot tr .column-status .result-percent {
1353
  font-weight: 500;
1354
  }
1355
-
1356
  .lp-list-table tbody tr .column-status .lp-label,
1357
  .lp-list-table tfoot tr .column-status .lp-label {
1358
  font-weight: 600;
1359
  }
1360
-
1361
  .lp-list-table tbody tr:nth-child(odd),
1362
  .lp-list-table tfoot tr:nth-child(odd) {
1363
  background: #f5f5f5;
1364
  }
1365
-
1366
  .lp-list-table .list-table-nav td {
1367
  font-size: 14px;
1368
  }
1369
-
1370
  .lp-list-table .list-table-nav td.nav-text {
1371
  text-align: left;
1372
  }
1373
-
1374
  .lp-list-table .list-table-nav td.nav-pages {
1375
  text-align: right;
1376
  }
1377
-
1378
  .lp-list-table .list-table-nav td.nav-pages .learn-press-pagination {
1379
  text-align: right;
1380
  }
1381
-
1382
  .lp-list-table .list-table-nav td.nav-pages .page-numbers {
1383
  margin-bottom: 0;
1384
  }
@@ -1396,20 +1185,17 @@
1396
  padding: 0;
1397
  list-style: none;
1398
  }
1399
-
1400
  .learn-press-form .form-fields .form-field {
1401
  margin: 0 0 20px 0;
1402
  }
1403
-
1404
  .learn-press-form .form-fields .form-field label {
1405
  display: block;
1406
  margin: 0 0 10px 0;
1407
  }
1408
-
1409
- .learn-press-form .form-fields .form-field input[type="text"],
1410
- .learn-press-form .form-fields .form-field input[type="email"],
1411
- .learn-press-form .form-fields .form-field input[type="number"],
1412
- .learn-press-form .form-fields .form-field input[type="password"],
1413
  .learn-press-form .form-fields .form-field textarea {
1414
  width: 100%;
1415
  padding: 8px;
@@ -1417,14 +1203,12 @@
1417
  -moz-box-sizing: border-box;
1418
  box-sizing: border-box;
1419
  }
1420
-
1421
  .learn-press-form .form-fields .form-field .description {
1422
  margin-top: 10px;
1423
  font-size: 14px;
1424
  font-style: italic;
1425
  line-height: 1.4;
1426
  }
1427
-
1428
  .learn-press-form .form-fields .form-field .asterisk {
1429
  color: #f00;
1430
  }
@@ -1440,81 +1224,72 @@
1440
  border-radius: 6px;
1441
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
1442
  }
1443
-
1444
  .learn-press-form-login h3,
1445
  .learn-press-form-register h3 {
1446
  margin-bottom: 20px;
1447
  font-size: 28px;
1448
  line-height: 1.4;
1449
  }
1450
-
1451
  .learn-press-form-login .form-fields .form-field label,
1452
  .learn-press-form-register .form-fields .form-field label {
1453
  font-size: 16px;
1454
  font-weight: 400;
1455
  user-select: none;
1456
  }
1457
-
1458
- .learn-press-form-login .form-fields .form-field input[type="text"],
1459
- .learn-press-form-login .form-fields .form-field input[type="password"],
1460
- .learn-press-form-login .form-fields .form-field input[type="tel"],
1461
- .learn-press-form-login .form-fields .form-field input[type="url"],
1462
- .learn-press-form-login .form-fields .form-field input[type="number"],
1463
- .learn-press-form-register .form-fields .form-field input[type="text"],
1464
- .learn-press-form-register .form-fields .form-field input[type="password"],
1465
- .learn-press-form-register .form-fields .form-field input[type="tel"],
1466
- .learn-press-form-register .form-fields .form-field input[type="url"],
1467
- .learn-press-form-register .form-fields .form-field input[type="number"] {
1468
  height: 42px;
1469
  border: 1px solid #bbb;
1470
  border-radius: 4px;
1471
  line-height: 42px;
1472
  }
1473
-
1474
- .learn-press-form-login .form-fields .form-field input[type="text"]:focus,
1475
- .learn-press-form-login .form-fields .form-field input[type="password"]:focus,
1476
- .learn-press-form-login .form-fields .form-field input[type="tel"]:focus,
1477
- .learn-press-form-login .form-fields .form-field input[type="url"]:focus,
1478
- .learn-press-form-login .form-fields .form-field input[type="number"]:focus,
1479
- .learn-press-form-register .form-fields .form-field input[type="text"]:focus,
1480
- .learn-press-form-register .form-fields .form-field input[type="password"]:focus,
1481
- .learn-press-form-register .form-fields .form-field input[type="tel"]:focus,
1482
- .learn-press-form-register .form-fields .form-field input[type="url"]:focus,
1483
- .learn-press-form-register .form-fields .form-field input[type="number"]:focus {
1484
  border: none;
1485
  outline: 2px solid transparent !important;
1486
  outline-offset: 2px;
1487
  box-shadow: 0 0 0 2px #666 !important;
1488
  }
1489
-
1490
  .learn-press-form-login .form-fields .form-field.required label::after,
1491
  .learn-press-form-register .form-fields .form-field.required label::after {
1492
- content: ' *';
1493
  display: inline;
1494
  }
1495
-
1496
- .learn-press-form-login form[name="learn-press-login"] > p > label,
1497
- .learn-press-form-register form[name="learn-press-login"] > p > label {
1498
  color: #666;
1499
  font-size: 16px;
1500
  cursor: pointer;
1501
  user-select: none;
1502
  }
1503
-
1504
- .learn-press-form-login form[name="learn-press-login"] > p > a,
1505
- .learn-press-form-register form[name="learn-press-login"] > p > a {
1506
  color: #666;
1507
  font-size: 16px;
1508
  line-height: 1;
1509
  }
1510
-
1511
- .learn-press-form-login form[name="learn-press-login"] > p:last-child,
1512
- .learn-press-form-register form[name="learn-press-login"] > p:last-child {
1513
  margin-bottom: 0;
1514
  }
1515
-
1516
- .learn-press-form-login button[type="submit"],
1517
- .learn-press-form-register button[type="submit"] {
1518
  width: 100%;
1519
  height: 50px;
1520
  border-radius: 3px;
@@ -1531,9 +1306,8 @@
1531
  .required label {
1532
  font-weight: bold;
1533
  }
1534
-
1535
  .required label:after {
1536
- content: ' *';
1537
  display: inline;
1538
  }
1539
 
@@ -1543,28 +1317,23 @@
1543
  justify-content: center;
1544
  position: relative;
1545
  }
1546
-
1547
- .lp-password-input input[type="password"] {
1548
  padding-right: 2.5rem;
1549
  }
1550
-
1551
  .lp-password-input input::-ms-reveal {
1552
  display: none;
1553
  }
1554
-
1555
  .lp-password-input .lp-show-password-input {
1556
  position: absolute;
1557
  top: 8px;
1558
  right: 10px;
1559
  cursor: pointer;
1560
  }
1561
-
1562
  .lp-password-input .lp-show-password-input::after {
1563
  font-family: "Font Awesome 5 Free";
1564
  font-weight: 900;
1565
  content: "\f06e";
1566
  }
1567
-
1568
  .lp-password-input .lp-show-password-input.display-password::after {
1569
  color: #585858;
1570
  content: "\f070";
@@ -1580,11 +1349,10 @@
1580
  max-width: 500px;
1581
  margin: 0 auto;
1582
  }
1583
-
1584
- .become-teacher-form .form-field input[type="text"],
1585
- .become-teacher-form .form-field input[type="email"],
1586
- .become-teacher-form .form-field input[type="number"],
1587
- .become-teacher-form .form-field input[type="password"] {
1588
  width: 100%;
1589
  }
1590
 
@@ -1598,14 +1366,12 @@ body div.entry-content > div.learnpress {
1598
  position: relative;
1599
  background: #fff;
1600
  }
1601
-
1602
  #learn-press-profile .lp-user-profile-avatar img {
1603
  position: relative;
1604
  width: 100%;
1605
  height: auto;
1606
  border-radius: unset;
1607
  }
1608
-
1609
  #learn-press-profile .lp-user-profile-socials {
1610
  display: flex;
1611
  position: relative;
@@ -1616,7 +1382,6 @@ body div.entry-content > div.learnpress {
1616
  -ms-flex-wrap: wrap;
1617
  flex-wrap: wrap;
1618
  }
1619
-
1620
  #learn-press-profile .lp-user-profile-socials a {
1621
  display: inline-block;
1622
  width: 40px;
@@ -1632,24 +1397,20 @@ body div.entry-content > div.learnpress {
1632
  -moz-border-radius: 50%;
1633
  border-radius: 50%;
1634
  }
1635
-
1636
  #learn-press-profile .lp-user-profile-socials a:hover {
1637
  border-color: var(--lp-primary-color);
1638
  color: #fff;
1639
  background: var(--lp-primary-color);
1640
  }
1641
-
1642
  #learn-press-profile .wrapper-profile-header {
1643
  color: #fff;
1644
  background: var(--lp-secondary-color);
1645
  }
1646
-
1647
  #learn-press-profile .wrapper-profile-header .lp-profile-content-area {
1648
  position: relative;
1649
  min-height: 345px;
1650
  padding-top: 50px;
1651
  }
1652
-
1653
  #learn-press-profile .wrapper-profile-header .lp-profile-left {
1654
  position: absolute;
1655
  bottom: 0;
@@ -1660,26 +1421,22 @@ body div.entry-content > div.learnpress {
1660
  border-bottom: 0;
1661
  background: #fff;
1662
  }
1663
-
1664
  #learn-press-profile .wrapper-profile-header .lp-profile-right {
1665
  margin-left: 270px;
1666
  padding-right: 15px;
1667
  padding-left: 35px;
1668
  }
1669
-
1670
  #learn-press-profile .wrapper-profile-header .lp-profile-right .lp-profile-username {
1671
  padding-bottom: 18px;
1672
  font-size: 18px;
1673
  font-weight: 500;
1674
  text-transform: capitalize;
1675
  }
1676
-
1677
  #learn-press-profile .wrapper-profile-header .lp-profile-right .lp-profile-user-bio {
1678
  font-size: 16px;
1679
  font-weight: 300;
1680
  line-height: 26px;
1681
  }
1682
-
1683
  @media (max-width: 990px) {
1684
  #learn-press-profile .wrapper-profile-header .lp-profile-content-area {
1685
  min-height: inherit;
@@ -1695,7 +1452,6 @@ body div.entry-content > div.learnpress {
1695
  margin-left: 0;
1696
  }
1697
  }
1698
-
1699
  @media (max-width: 768px) {
1700
  #learn-press-profile .wrapper-profile-header .lp-profile-left {
1701
  width: 220px;
@@ -1714,7 +1470,6 @@ body div.entry-content > div.learnpress {
1714
  line-height: 36px;
1715
  }
1716
  }
1717
-
1718
  @media (max-width: 500px) {
1719
  #learn-press-profile .wrapper-profile-header .lp-profile-left {
1720
  float: none;
@@ -1726,7 +1481,6 @@ body div.entry-content > div.learnpress {
1726
  text-align: center;
1727
  }
1728
  }
1729
-
1730
  #learn-press-profile #profile-sidebar {
1731
  float: left;
1732
  width: 270px;
@@ -1735,7 +1489,6 @@ body div.entry-content > div.learnpress {
1735
  border-top: 0;
1736
  background: #fff;
1737
  }
1738
-
1739
  @media (max-width: 990px) {
1740
  #learn-press-profile #profile-sidebar {
1741
  width: 100%;
@@ -1745,19 +1498,16 @@ body div.entry-content > div.learnpress {
1745
  max-width: 150px;
1746
  }
1747
  }
1748
-
1749
  #learn-press-profile #profile-nav .lp-profile-nav-tabs {
1750
  margin: 0;
1751
  padding: 0;
1752
  list-style: none;
1753
  }
1754
-
1755
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li {
1756
  position: relative;
1757
  margin: 0;
1758
  border-top: 1px solid rgba(204, 204, 204, 0.3);
1759
  }
1760
-
1761
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li a {
1762
  display: block;
1763
  padding: 0 20px;
@@ -1766,11 +1516,9 @@ body div.entry-content > div.learnpress {
1766
  font-weight: 500;
1767
  line-height: 53px;
1768
  }
1769
-
1770
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li > a {
1771
  padding: 0 20px 0 52px;
1772
  }
1773
-
1774
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li > a > i {
1775
  display: inline-block;
1776
  position: absolute;
@@ -1781,7 +1529,6 @@ body div.entry-content > div.learnpress {
1781
  line-height: 52px;
1782
  text-align: left;
1783
  }
1784
-
1785
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li > a::after {
1786
  float: right;
1787
  margin-right: 4px;
@@ -1791,33 +1538,30 @@ body div.entry-content > div.learnpress {
1791
  font-weight: 900;
1792
  content: "\f054";
1793
  }
1794
-
1795
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li ul li {
1796
  margin: 0;
1797
  }
1798
-
1799
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li ul li a {
1800
  border-bottom: 1px solid #f9f9f9;
1801
  }
1802
-
1803
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li ul li a:hover {
1804
  color: var(--lp-primary-color);
1805
  background: #fff;
1806
  }
1807
-
 
 
 
1808
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.active > a::after, #learn-press-profile #profile-nav .lp-profile-nav-tabs > li:hover > a::after {
1809
  content: "\f053";
1810
  }
1811
-
1812
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.active a {
1813
  padding-left: 52px;
1814
  }
1815
-
1816
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li:last-child {
1817
  border-bottom-right-radius: 4px;
1818
  border-bottom-left-radius: 4px;
1819
  }
1820
-
1821
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.wishlist > a::before {
1822
  position: absolute;
1823
  left: 25px;
@@ -1827,20 +1571,16 @@ body div.entry-content > div.learnpress {
1827
  font-weight: 900;
1828
  content: "\f004";
1829
  }
1830
-
1831
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.wishlist:hover a::before {
1832
  color: #fff;
1833
  }
1834
-
1835
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.logout > a::after {
1836
  display: none;
1837
  }
1838
-
1839
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li > a {
1840
  box-sizing: border-box;
1841
  height: 53px;
1842
  }
1843
-
1844
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li > ul {
1845
  display: none;
1846
  position: absolute;
@@ -1854,36 +1594,31 @@ body div.entry-content > div.learnpress {
1854
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.05);
1855
  list-style: none;
1856
  }
1857
-
1858
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover {
1859
  background: var(--lp-primary-color);
1860
  }
1861
-
1862
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > a, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > a {
1863
  color: #fff;
1864
  }
1865
-
1866
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > a i, #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > a::after, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > a i, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > a::after {
1867
  color: #fff;
1868
  }
1869
-
1870
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > ul {
1871
  display: block;
1872
  }
1873
-
1874
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul {
1875
  position: relative;
1876
  left: 0;
1877
  }
1878
-
1879
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul .active {
1880
  background: #fff;
1881
  }
1882
-
1883
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul .active > a {
1884
  color: #ffb606;
1885
  }
1886
-
 
 
1887
  @media (max-width: 990px) {
1888
  #learn-press-profile #profile-nav {
1889
  overflow-x: scroll;
@@ -1946,7 +1681,6 @@ body div.entry-content > div.learnpress {
1946
  display: none;
1947
  }
1948
  }
1949
-
1950
  @media (max-width: 560px) {
1951
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li {
1952
  max-width: 80px;
@@ -1958,20 +1692,17 @@ body div.entry-content > div.learnpress {
1958
  margin-left: 0;
1959
  }
1960
  }
1961
-
1962
  #learn-press-profile #profile-content {
1963
  float: right;
1964
  width: calc(100% - 300px);
1965
  margin-bottom: 60px;
1966
  padding-top: 58px;
1967
  }
1968
-
1969
  @media (max-width: 990px) {
1970
  #learn-press-profile #profile-content {
1971
  width: 100%;
1972
  }
1973
  }
1974
-
1975
  @media (max-width: 767px) {
1976
  #learn-press-profile #profile-content .learn-press-tabs .learn-press-tabs__nav {
1977
  display: block;
@@ -1992,24 +1723,19 @@ body div.entry-content > div.learnpress {
1992
  padding-left: 25px;
1993
  }
1994
  }
1995
-
1996
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course {
1997
  margin: 0 0 40px 0;
1998
  }
1999
-
2000
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content {
2001
  padding: 20px 20px 12px 20px;
2002
  }
2003
-
2004
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content .course-categories,
2005
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content .course-instructor {
2006
  margin-bottom: 14px;
2007
  }
2008
-
2009
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content .course-categories {
2010
  padding: 0;
2011
  }
2012
-
2013
  #learn-press-profile #profile-content .lp-button {
2014
  display: block;
2015
  margin: 0 auto 52px auto;
@@ -2021,36 +1747,29 @@ body div.entry-content > div.learnpress {
2021
  -moz-border-radius: 9px;
2022
  border-radius: 9px;
2023
  }
2024
-
2025
  #learn-press-profile #profile-content .lp-button:hover {
2026
  border-color: var(--lp-primary-color);
2027
  }
2028
-
2029
  #learn-press-profile #profile-content #profile-content-orders .profile-orders .profile-heading {
2030
  display: none;
2031
  }
2032
-
2033
  #learn-press-profile #profile-content #profile-content-orders .profile-orders table {
2034
  margin-top: 0;
2035
  }
2036
-
2037
  #learn-press-profile #profile-content #profile-content-orders .column-order-actions a {
2038
  margin-right: 6px;
2039
  }
2040
-
2041
  #learn-press-profile #dashboard-general-statistic {
2042
  margin-bottom: 55px;
2043
  padding-bottom: 20px;
2044
  border-bottom: 1px solid #ddd;
2045
  }
2046
-
2047
  #learn-press-profile .dashboard-general-statistic__row {
2048
  display: flex;
2049
  margin: 0 -15px;
2050
  justify-content: center;
2051
  flex-wrap: wrap;
2052
  }
2053
-
2054
  #learn-press-profile .dashboard-general-statistic__row .statistic-box {
2055
  width: 270px;
2056
  margin: 0 15px 40px 15px;
@@ -2060,20 +1779,17 @@ body div.entry-content > div.learnpress {
2060
  background: #f9fafc;
2061
  text-align: center;
2062
  }
2063
-
2064
  @media (max-width: 990px) {
2065
  #learn-press-profile .dashboard-general-statistic__row .statistic-box {
2066
  width: 45%;
2067
  }
2068
  }
2069
-
2070
  @media (max-width: 767px) {
2071
  #learn-press-profile .dashboard-general-statistic__row .statistic-box {
2072
  width: 100%;
2073
  margin: 0 15px 20px 15px;
2074
  }
2075
  }
2076
-
2077
  #learn-press-profile .dashboard-general-statistic__row .statistic-box .statistic-box__text {
2078
  margin: 0 0 7px 0;
2079
  padding: 0;
@@ -2082,30 +1798,24 @@ body div.entry-content > div.learnpress {
2082
  font-weight: 400;
2083
  line-height: 1;
2084
  }
2085
-
2086
  #learn-press-profile .dashboard-general-statistic__row .statistic-box .statistic-box__number {
2087
  color: #333;
2088
  font-size: 18px;
2089
  font-weight: 500;
2090
  line-height: 1;
2091
  }
2092
-
2093
  #learn-press-profile .dashboard-general-statistic__row .statistic-box:hover {
2094
  background: #eaeaea;
2095
  }
2096
-
2097
  #learn-press-profile .dashboard-general-statistic__row[data-col="2"] .statistic-box {
2098
  width: 50%;
2099
  }
2100
-
2101
  #learn-press-profile .dashboard-general-statistic__row[data-col="4"] .statistic-box {
2102
  width: 25%;
2103
  }
2104
-
2105
  #learn-press-profile .dashboard-general-statistic__row[data-col="5"] .statistic-box {
2106
  width: 20%;
2107
  }
2108
-
2109
  #learn-press-profile .profile-courses > h3 {
2110
  margin-top: 0;
2111
  margin-bottom: 36px;
@@ -2117,108 +1827,93 @@ body div.entry-content > div.learnpress {
2117
  }
2118
 
2119
  #learn-press-profile-basic-information .form-field,
2120
- form[name="profile-change-password"] .form-field {
2121
  margin: 0 10px 24px 10px;
2122
  }
2123
-
2124
  #learn-press-profile-basic-information .form-field > label,
2125
- form[name="profile-change-password"] .form-field > label {
2126
  margin: 0 0 12px 0;
2127
  color: #333;
2128
  font-size: 16px;
2129
  font-weight: 500;
2130
  font-style: italic;
2131
  }
2132
-
2133
  #learn-press-profile-basic-information .form-field .form-field-input input,
2134
- form[name="profile-change-password"] .form-field .form-field-input input {
2135
  height: 43px;
2136
  padding: 8px 20px;
2137
  font-weight: 400;
2138
  }
2139
-
2140
- #learn-press-profile-basic-information .form-field .form-field-input input[type="password"],
2141
- form[name="profile-change-password"] .form-field .form-field-input input[type="password"] {
2142
  padding: 8px 20px;
2143
  }
2144
-
2145
  #learn-press-profile-basic-information .form-field .form-field-input textarea,
2146
- form[name="profile-change-password"] .form-field .form-field-input textarea {
2147
  padding: 9px 20px 16px 20px;
2148
  font-weight: 300;
2149
  line-height: 24px;
2150
  }
2151
-
2152
  #learn-press-profile-basic-information .form-field .form-field-input input,
2153
  #learn-press-profile-basic-information .form-field .form-field-input textarea,
2154
- form[name="profile-change-password"] .form-field .form-field-input input,
2155
- form[name="profile-change-password"] .form-field .form-field-input textarea {
2156
  border: 1px solid #ccc;
2157
  color: #999;
2158
  font-size: 14px;
2159
  font-style: italic;
2160
  }
2161
-
2162
  #learn-press-profile-basic-information .form-field .form-field-input input:focus,
2163
  #learn-press-profile-basic-information .form-field .form-field-input textarea:focus,
2164
- form[name="profile-change-password"] .form-field .form-field-input input:focus,
2165
- form[name="profile-change-password"] .form-field .form-field-input textarea:focus {
2166
  border-color: var(--lp-primary-color);
2167
  outline: 0;
2168
  color: #222;
2169
  }
2170
-
2171
  #learn-press-profile-basic-information .form-field .form-field-input ::placeholder,
2172
- form[name="profile-change-password"] .form-field .form-field-input ::placeholder {
2173
  opacity: 1;
2174
  color: #999;
2175
  }
2176
-
2177
  #learn-press-profile-basic-information .form-field .form-field-input :-ms-input-placeholder,
2178
- form[name="profile-change-password"] .form-field .form-field-input :-ms-input-placeholder {
2179
  color: #999;
2180
  }
2181
-
2182
  #learn-press-profile-basic-information .form-field .form-field-input ::-ms-input-placeholder,
2183
- form[name="profile-change-password"] .form-field .form-field-input ::-ms-input-placeholder {
2184
  color: #999;
2185
  }
2186
-
2187
  #learn-press-profile-basic-information .form-field .form-field-input .description,
2188
- form[name="profile-change-password"] .form-field .form-field-input .description {
2189
  margin-top: 15px;
2190
  }
2191
-
2192
  @media (max-width: 767px) {
2193
  #learn-press-profile-basic-information .form-field,
2194
- form[name="profile-change-password"] .form-field {
2195
  margin: 0 0 24px 0;
2196
  }
2197
  }
2198
-
2199
  #learn-press-profile-basic-information .form-field__50,
2200
- form[name="profile-change-password"] .form-field__50 {
2201
  float: left;
2202
  width: calc(50% - 20px);
2203
  margin-right: 10px;
2204
  }
2205
-
2206
  @media (max-width: 767px) {
2207
  #learn-press-profile-basic-information .form-field__50,
2208
- form[name="profile-change-password"] .form-field__50 {
2209
  float: unset;
2210
  width: 100%;
2211
  margin: 0 0 24px 0;
2212
  }
2213
  }
2214
-
2215
  #learn-press-profile-basic-information .form-field__clear,
2216
- form[name="profile-change-password"] .form-field__clear {
2217
  clear: both;
2218
  }
2219
-
2220
  #learn-press-profile-basic-information button,
2221
- form[name="profile-change-password"] button {
2222
  padding: 16px 24px;
2223
  border: 0;
2224
  border-radius: 3px;
@@ -2228,28 +1923,24 @@ form[name="profile-change-password"] button {
2228
  font-weight: 400;
2229
  line-height: 1;
2230
  }
2231
-
2232
  #learn-press-profile-basic-information button:hover,
2233
- form[name="profile-change-password"] button:hover {
2234
  opacity: 0.5;
2235
  background: var(--lp-primary-color);
2236
  }
2237
-
2238
  #learn-press-profile-basic-information p,
2239
- form[name="profile-change-password"] p {
2240
  margin: 0;
2241
  }
2242
 
2243
  #learn-press-profile-basic-information .form-fields {
2244
  margin: 0 -10px;
2245
  }
2246
-
2247
  #learn-press-profile-basic-information .form-fields::after {
2248
  display: block;
2249
  clear: both;
2250
  content: "";
2251
  }
2252
-
2253
  @media (max-width: 767px) {
2254
  #learn-press-profile-basic-information .form-fields {
2255
  margin: 0;
@@ -2260,16 +1951,13 @@ form[name="profile-change-password"] p {
2260
  position: relative;
2261
  margin-bottom: 50px;
2262
  }
2263
-
2264
  #lp-user-edit-avatar img {
2265
  vertical-align: top;
2266
  }
2267
-
2268
  #lp-user-edit-avatar .lp-avatar-preview {
2269
  position: relative;
2270
  margin: 0 auto;
2271
  }
2272
-
2273
  #lp-user-edit-avatar .lp-avatar-crop-image {
2274
  overflow: hidden;
2275
  position: absolute;
@@ -2278,14 +1966,12 @@ form[name="profile-change-password"] p {
2278
  height: 100%;
2279
  background: #ddd;
2280
  }
2281
-
2282
  #lp-user-edit-avatar .lp-avatar-crop-image .crop-container {
2283
  overflow: hidden;
2284
  position: absolute;
2285
  width: 100%;
2286
  height: 100%;
2287
  }
2288
-
2289
  #lp-user-edit-avatar .lp-avatar-crop-image .crop-container img {
2290
  position: absolute;
2291
  left: 0 !important;
@@ -2295,7 +1981,6 @@ form[name="profile-change-password"] p {
2295
  vertical-align: middle;
2296
  transform: translateX(-50%);
2297
  }
2298
-
2299
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls {
2300
  position: absolute;
2301
  bottom: 0;
@@ -2303,7 +1988,6 @@ form[name="profile-change-password"] p {
2303
  height: 40px;
2304
  opacity: 0;
2305
  }
2306
-
2307
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls::before {
2308
  display: block;
2309
  width: 100%;
@@ -2311,7 +1995,6 @@ form[name="profile-change-password"] p {
2311
  background: rgba(255, 255, 255, 0.53);
2312
  content: "";
2313
  }
2314
-
2315
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-zoom {
2316
  position: absolute;
2317
  top: 50%;
@@ -2319,7 +2002,6 @@ form[name="profile-change-password"] p {
2319
  left: 20px;
2320
  margin-top: -1px;
2321
  }
2322
-
2323
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-zoom .ui-slider {
2324
  position: absolute;
2325
  width: 100%;
@@ -2327,7 +2009,6 @@ form[name="profile-change-password"] p {
2327
  background: #6d6d6d;
2328
  cursor: move;
2329
  }
2330
-
2331
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-zoom .ui-slider .ui-slider-handle {
2332
  position: absolute;
2333
  width: 20px;
@@ -2337,7 +2018,6 @@ form[name="profile-change-password"] p {
2337
  border-radius: 50%;
2338
  background: #ffb608;
2339
  }
2340
-
2341
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-save-upload,
2342
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-cancel-upload {
2343
  position: absolute;
@@ -2353,17 +2033,14 @@ form[name="profile-change-password"] p {
2353
  text-align: center;
2354
  cursor: pointer;
2355
  }
2356
-
2357
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-save-upload:hover,
2358
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-cancel-upload:hover {
2359
  opacity: 1;
2360
  }
2361
-
2362
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-save-upload {
2363
  right: 40px;
2364
  color: #3db748;
2365
  }
2366
-
2367
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area {
2368
  position: absolute;
2369
  top: 0;
@@ -2373,7 +2050,6 @@ form[name="profile-change-password"] p {
2373
  transform: translateX(-50%);
2374
  pointer-events: none;
2375
  }
2376
-
2377
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::before, #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::after {
2378
  display: block;
2379
  position: absolute;
@@ -2384,37 +2060,30 @@ form[name="profile-change-password"] p {
2384
  background: #000;
2385
  content: "";
2386
  }
2387
-
2388
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::before {
2389
  left: -2px;
2390
  transform: translateX(-100%);
2391
  }
2392
-
2393
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::after {
2394
  left: 100%;
2395
  margin-left: 2px;
2396
  }
2397
-
2398
  #lp-user-edit-avatar:hover .lp-crop-controls {
2399
  opacity: 1;
2400
  }
2401
-
2402
  #lp-user-edit-avatar .profile-picture {
2403
  display: none;
2404
  width: 100%;
2405
  margin-right: -100%;
2406
  }
2407
-
2408
  #lp-user-edit-avatar .profile-picture img {
2409
  width: 100%;
2410
  height: 100%;
2411
  border-radius: 0;
2412
  }
2413
-
2414
  #lp-user-edit-avatar .profile-picture.profile-avatar-current {
2415
  display: block;
2416
  }
2417
-
2418
  #lp-user-edit-avatar #lp-avatar-actions {
2419
  display: flex;
2420
  top: 50%;
@@ -2423,7 +2092,6 @@ form[name="profile-change-password"] p {
2423
  text-align: center;
2424
  justify-content: center;
2425
  }
2426
-
2427
  #lp-user-edit-avatar #lp-avatar-actions a {
2428
  display: inline-block;
2429
  z-index: 10;
@@ -2439,25 +2107,21 @@ form[name="profile-change-password"] p {
2439
  text-align: center;
2440
  flex: 0 0 auto;
2441
  }
2442
-
2443
  #lp-user-edit-avatar #lp-avatar-actions a i {
2444
  margin-right: 6px;
2445
  font-size: 14px;
2446
  }
2447
-
2448
  #lp-user-edit-avatar #lp-avatar-actions a#lp-remove-upload-photo {
2449
  display: none;
2450
  margin-left: 10px;
2451
  }
2452
-
2453
- #lp-user-edit-avatar[data-custom="yes"] #lp-avatar-actions #lp-remove-upload-photo {
2454
  display: block;
2455
  }
2456
 
2457
  .recover-order__title {
2458
  margin-bottom: 5px;
2459
  }
2460
-
2461
  .recover-order__description {
2462
  margin-bottom: 20px;
2463
  color: #999;
@@ -2468,13 +2132,11 @@ form[name="profile-change-password"] p {
2468
  div.order-recover {
2469
  display: flex;
2470
  }
2471
-
2472
  div.order-recover > .button-recover-order {
2473
  margin: 0;
2474
  margin-left: 20px;
2475
  flex: 0 0 auto;
2476
  }
2477
-
2478
  div.order-recover > .button-recover-order.loading::before {
2479
  display: inline-block;
2480
  margin-right: 5px;
@@ -2483,8 +2145,7 @@ div.order-recover > .button-recover-order.loading::before {
2483
  content: "\f110";
2484
  animation: lp-rotating 1s linear infinite;
2485
  }
2486
-
2487
- div.order-recover input[type="text"] {
2488
  width: 100%;
2489
  height: 43px;
2490
  margin-right: 10px;
@@ -2502,7 +2163,6 @@ div.order-recover input[type="text"] {
2502
  .learn-press-profile-course__progress .lp_profile_course_progress {
2503
  border: 1px solid #eee;
2504
  }
2505
-
2506
  .learn-press-profile-course__progress .lp_profile_course_progress__item {
2507
  display: grid;
2508
  align-items: center;
@@ -2511,7 +2171,6 @@ div.order-recover input[type="text"] {
2511
  grid-template-columns: 90px 1fr 80px 140px 140px;
2512
  column-gap: 20px;
2513
  }
2514
-
2515
  .learn-press-profile-course__progress .lp_profile_course_progress__header {
2516
  background-color: #eee;
2517
  }
@@ -2534,17 +2193,14 @@ div.order-recover input[type="text"] {
2534
  background: #eee;
2535
  list-style: none !important;
2536
  }
2537
-
2538
  .learn-press-profile-course__tab__inner > li {
2539
  list-style: none;
2540
  }
2541
-
2542
  .learn-press-profile-course__tab__inner a {
2543
  display: inline-block;
2544
  padding: 15px 30px;
2545
  font-weight: 600;
2546
  }
2547
-
2548
  .learn-press-profile-course__tab__inner a.active {
2549
  border-top: 4px solid var(--lp-primary-color);
2550
  color: var(--lp-primary-color);
@@ -2557,7 +2213,6 @@ div.order-recover input[type="text"] {
2557
  padding: 0;
2558
  list-style: none;
2559
  }
2560
-
2561
  .learn-press-course-tab-filters .learn-press-filters a.active {
2562
  color: var(--lp-primary-color);
2563
  }
@@ -2566,19 +2221,15 @@ div.order-recover input[type="text"] {
2566
  display: none;
2567
  padding-top: 56px;
2568
  }
2569
-
2570
  #learn-press-course-tabs .course-tab-panels .course-tab-panel.active {
2571
  display: block;
2572
  }
2573
-
2574
  #learn-press-course-tabs .course-tab-panels .course-tab-panel.course-tab-panel-instructor, #learn-press-course-tabs .course-tab-panels .course-tab-panel.course-tab-panel-faqs {
2575
  padding-top: 60px;
2576
  }
2577
-
2578
  #learn-press-course-tabs .course-tab-panels .course-tab-panel.course-tab-panel-reviews {
2579
  padding: 56px 0 0 0;
2580
  }
2581
-
2582
  #learn-press-course-tabs .course-tab-panels .course-tab-panel .course-description h4 {
2583
  margin-top: 0;
2584
  margin-bottom: 1.125rem;
@@ -2586,20 +2237,17 @@ div.order-recover input[type="text"] {
2586
  font-size: 18px;
2587
  font-weight: 500;
2588
  }
2589
-
2590
  #learn-press-course-tabs .course-tab-panels .course-tab-panel .course-description p {
2591
  color: #666;
2592
  font-size: 16px;
2593
  font-weight: 300;
2594
  line-height: 26px;
2595
  }
2596
-
2597
  #learn-press-course-tabs .course-tab-panels .course-tab-panel .course-description img {
2598
  max-width: 100%;
2599
  height: auto;
2600
  vertical-align: middle;
2601
  }
2602
-
2603
  #learn-press-course-tabs.show-all .course-tab-panel {
2604
  margin-bottom: 40px;
2605
  }
@@ -2608,27 +2256,23 @@ div.order-recover input[type="text"] {
2608
  display: flex;
2609
  margin-bottom: 40px;
2610
  }
2611
-
2612
  @media (max-width: 767px) {
2613
  #learn-press-course .lp-course-author {
2614
  flex-direction: column;
2615
  padding: 0 15px;
2616
  }
2617
  }
2618
-
2619
  #learn-press-course .lp-course-author .course-author__pull-left {
2620
  margin-right: 30px;
2621
  text-align: center;
2622
  align-items: center;
2623
  }
2624
-
2625
  @media (max-width: 767px) {
2626
  #learn-press-course .lp-course-author .course-author__pull-left {
2627
  margin-right: 0;
2628
  margin-bottom: 30px;
2629
  }
2630
  }
2631
-
2632
  #learn-press-course .lp-course-author .course-author__pull-left img {
2633
  width: 100%;
2634
  max-width: 96px;
@@ -2637,22 +2281,18 @@ div.order-recover input[type="text"] {
2637
  object-fit: cover;
2638
  object-position: center;
2639
  }
2640
-
2641
  #learn-press-course .lp-course-author .course-author__pull-right {
2642
  flex: 1;
2643
  }
2644
-
2645
  @media (max-width: 767px) {
2646
  #learn-press-course .lp-course-author .course-author__pull-right {
2647
  width: 100%;
2648
  text-align: center;
2649
  }
2650
  }
2651
-
2652
  #learn-press-course .lp-course-author .course-author__pull-right .author-title {
2653
  margin-bottom: 18px;
2654
  }
2655
-
2656
  #learn-press-course .lp-course-author .course-author__pull-right .author-title a {
2657
  color: #333;
2658
  box-shadow: none;
@@ -2660,25 +2300,21 @@ div.order-recover input[type="text"] {
2660
  font-weight: 500;
2661
  text-transform: capitalize;
2662
  }
2663
-
2664
  #learn-press-course .lp-course-author .course-author__pull-right .author-title a:hover {
2665
  color: var(--lp-primary-color);
2666
  }
2667
-
2668
  #learn-press-course .lp-course-author .course-author__pull-right .author-description {
2669
  color: #666;
2670
  font-size: 16px;
2671
  font-weight: 300;
2672
  line-height: 26px;
2673
  }
2674
-
2675
  #learn-press-course .lp-course-author .author-socials {
2676
  display: grid;
2677
  grid-template-columns: repeat(4, 33px);
2678
  gap: 10px;
2679
  justify-content: center;
2680
  }
2681
-
2682
  #learn-press-course .lp-course-author .author-socials > a {
2683
  display: inline-block;
2684
  width: 33px;
@@ -2694,28 +2330,23 @@ div.order-recover input[type="text"] {
2694
  vertical-align: middle;
2695
  transition: all 0.3s;
2696
  }
2697
-
2698
  #learn-press-course .lp-course-author .author-socials > a:hover {
2699
  border-color: var(--lp-primary-color);
2700
  color: #fff;
2701
  background: var(--lp-primary-color);
2702
  }
2703
-
2704
  #learn-press-course .lp-course-author .author-socials .fa-googleplus::before {
2705
  content: "\f0d5";
2706
  }
2707
-
2708
  #learn-press-course div.lp-list-co-instructor {
2709
  display: grid;
2710
  grid-template-columns: repeat(2, 1fr);
2711
  gap: 40px;
2712
  }
2713
-
2714
  #learn-press-course div.lp-list-co-instructor__item {
2715
  display: flex;
2716
  column-gap: 30px;
2717
  }
2718
-
2719
  @media (max-width: 767px) {
2720
  #learn-press-course div.lp-list-co-instructor__item {
2721
  align-items: center;
@@ -2725,63 +2356,51 @@ div.order-recover input[type="text"] {
2725
  row-gap: 10px;
2726
  }
2727
  }
2728
-
2729
  #learn-press-course div.lp-list-co-instructor__avatar > img {
2730
  width: 100%;
2731
  max-width: 96px;
2732
  border-radius: 999px;
2733
  }
2734
-
2735
  #learn-press-course div.lp-list-co-instructor__bio {
2736
  flex: 1;
2737
  }
2738
-
2739
  #learn-press-course div.lp-list-co-instructor__bio__top > a {
2740
  font-size: 18px;
2741
  font-weight: 600;
2742
  }
2743
-
2744
  #learn-press-course div.lp-list-co-instructor__bio__description {
2745
  font-size: 1rem;
2746
  }
2747
-
2748
  #learn-press-course .course-price {
2749
  margin-bottom: 10px;
2750
  }
2751
-
2752
  #learn-press-course .course-price .origin-price,
2753
  #learn-press-course .course-price .price {
2754
  vertical-align: middle;
2755
  }
2756
-
2757
  #learn-press-course .course-price .origin-price {
2758
  margin-right: 10px;
2759
  font-size: 18px;
2760
  font-style: italic;
2761
  text-decoration: line-through;
2762
  }
2763
-
2764
  #learn-press-course .course-price .price {
2765
  font-size: 24px;
2766
  }
2767
-
2768
  #learn-press-course .lp-course-buttons {
2769
  margin-bottom: 20px;
2770
  }
2771
-
2772
  #learn-press-course .course-featured-review .featured-review__title {
2773
  margin-top: 0;
2774
  margin-bottom: 6px;
2775
  font-size: 18px;
2776
  font-weight: 500;
2777
  }
2778
-
2779
  #learn-press-course .course-featured-review .featured-review__stars {
2780
  padding-bottom: 12px;
2781
  color: var(--lp-primary-color);
2782
  font-size: 16px;
2783
  }
2784
-
2785
  #learn-press-course .course-featured-review .featured-review__content {
2786
  position: relative;
2787
  color: #666;
@@ -2790,7 +2409,6 @@ div.order-recover input[type="text"] {
2790
  font-style: italic;
2791
  line-height: 24px;
2792
  }
2793
-
2794
  #learn-press-course .course-featured-review .featured-review__content::after {
2795
  position: absolute;
2796
  top: -42px;
@@ -2803,7 +2421,6 @@ div.order-recover input[type="text"] {
2803
  content: "‘‘";
2804
  transform: rotate(180deg);
2805
  }
2806
-
2807
  #learn-press-course .course-tags a {
2808
  display: inline-block;
2809
  padding: 3px 5px;
@@ -2828,7 +2445,6 @@ ul.learn-press-nav-tabs {
2828
  background: #f1f2f8;
2829
  list-style: none;
2830
  }
2831
-
2832
  ul.learn-press-nav-tabs .course-nav {
2833
  float: left;
2834
  position: relative;
@@ -2837,7 +2453,6 @@ ul.learn-press-nav-tabs .course-nav {
2837
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
2838
  list-style: none;
2839
  }
2840
-
2841
  ul.learn-press-nav-tabs .course-nav:first-child.active::after {
2842
  position: absolute;
2843
  top: -1px;
@@ -2847,11 +2462,9 @@ ul.learn-press-nav-tabs .course-nav:first-child.active::after {
2847
  background: #fff;
2848
  content: "";
2849
  }
2850
-
2851
  ul.learn-press-nav-tabs .course-nav:last-child {
2852
  border-right: 0;
2853
  }
2854
-
2855
  ul.learn-press-nav-tabs .course-nav:last-child.active::after {
2856
  position: absolute;
2857
  top: -1px;
@@ -2861,11 +2474,9 @@ ul.learn-press-nav-tabs .course-nav:last-child.active::after {
2861
  background: #fff;
2862
  content: "";
2863
  }
2864
-
2865
  ul.learn-press-nav-tabs .course-nav.active {
2866
  border-bottom: 0;
2867
  }
2868
-
2869
  ul.learn-press-nav-tabs .course-nav.active::before {
2870
  position: absolute;
2871
  top: -1px;
@@ -2875,11 +2486,9 @@ ul.learn-press-nav-tabs .course-nav.active::before {
2875
  background: var(--lp-primary-color);
2876
  content: "";
2877
  }
2878
-
2879
  ul.learn-press-nav-tabs .course-nav.active label {
2880
  color: var(--lp-primary-color);
2881
  }
2882
-
2883
  ul.learn-press-nav-tabs .course-nav a {
2884
  display: inline-block;
2885
  padding: 10px 20px;
@@ -2889,28 +2498,23 @@ ul.learn-press-nav-tabs .course-nav a {
2889
  -moz-box-shadow: none;
2890
  box-shadow: none;
2891
  }
2892
-
2893
  ul.learn-press-nav-tabs .course-nav a:focus {
2894
  -webkit-box-shadow: none;
2895
  -moz-box-shadow: none;
2896
  box-shadow: none;
2897
  }
2898
-
2899
  ul.learn-press-nav-tabs[data-tabs] .course-nav {
2900
  flex: 1;
2901
  }
2902
-
2903
  ul.learn-press-nav-tabs[data-tabs] .course-nav a {
2904
  width: 100%;
2905
  text-align: center;
2906
  }
2907
-
2908
  ul.learn-press-nav-tabs::after {
2909
  display: block;
2910
  clear: both;
2911
  content: "";
2912
  }
2913
-
2914
  @media (max-width: 767px) {
2915
  ul.learn-press-nav-tabs {
2916
  display: grid;
@@ -2931,25 +2535,20 @@ ul.learn-press-nav-tabs::after {
2931
  background: #fff;
2932
  list-style: none;
2933
  }
2934
-
2935
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section {
2936
  margin: 0;
2937
  padding: 0 0 42px 0;
2938
  }
2939
-
2940
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section:last-child {
2941
  padding: 0;
2942
  }
2943
-
2944
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section.section-empty .section-header {
2945
  margin-bottom: 20px;
2946
  }
2947
-
2948
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section.section-empty .learn-press-message {
2949
  margin-right: 15px;
2950
  margin-left: 15px;
2951
  }
2952
-
2953
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header {
2954
  display: table;
2955
  width: 100%;
@@ -2961,11 +2560,9 @@ ul.learn-press-nav-tabs::after {
2961
  -moz-box-sizing: border-box;
2962
  box-sizing: border-box;
2963
  }
2964
-
2965
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-left {
2966
  vertical-align: top;
2967
  }
2968
-
2969
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-left .section-title {
2970
  padding: 0;
2971
  color: #666;
@@ -2974,12 +2571,10 @@ ul.learn-press-nav-tabs::after {
2974
  letter-spacing: 0;
2975
  text-transform: capitalize;
2976
  }
2977
-
2978
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title,
2979
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-desc {
2980
  margin: 0 0 10px 0;
2981
  }
2982
-
2983
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title {
2984
  position: relative;
2985
  margin-bottom: 0;
@@ -2989,7 +2584,6 @@ ul.learn-press-nav-tabs::after {
2989
  font-weight: normal;
2990
  line-height: 1;
2991
  }
2992
-
2993
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title span.show-desc {
2994
  display: inline-block;
2995
  position: absolute;
@@ -2999,24 +2593,20 @@ ul.learn-press-nav-tabs::after {
2999
  height: 20px;
3000
  transform: translate(0, -50%);
3001
  }
3002
-
3003
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title span.show-desc::before {
3004
  font-family: "Font Awesome 5 Free";
3005
  font-size: 18px;
3006
  font-weight: 900;
3007
  content: "\f107";
3008
  }
3009
-
3010
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title span.show-desc:hover::before {
3011
  border-top-color: #ccc;
3012
  }
3013
-
3014
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-desc {
3015
  margin: 0;
3016
  font-size: 14px;
3017
  font-style: italic;
3018
  }
3019
-
3020
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-meta {
3021
  display: block;
3022
  padding-top: 17px;
@@ -3026,13 +2616,11 @@ ul.learn-press-nav-tabs::after {
3026
  vertical-align: middle;
3027
  white-space: nowrap;
3028
  }
3029
-
3030
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content {
3031
  margin: 0 0 15px 0;
3032
  padding: 0;
3033
  list-style: none;
3034
  }
3035
-
3036
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item {
3037
  display: flex;
3038
  position: relative;
@@ -3042,7 +2630,6 @@ ul.learn-press-nav-tabs::after {
3042
  font-size: 14px;
3043
  transition: padding-left linear 0.15s;
3044
  }
3045
-
3046
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item > span {
3047
  display: flex;
3048
  width: 28px;
@@ -3051,7 +2638,6 @@ ul.learn-press-nav-tabs::after {
3051
  font-weight: 300;
3052
  align-items: center;
3053
  }
3054
-
3055
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link {
3056
  display: table;
3057
  width: calc(100% - 28px);
@@ -3060,11 +2646,9 @@ ul.learn-press-nav-tabs::after {
3060
  box-shadow: none;
3061
  line-height: 1.5;
3062
  }
3063
-
3064
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link:hover .item-name {
3065
  color: var(--lp-primary-color);
3066
  }
3067
-
3068
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link::before {
3069
  display: table-cell;
3070
  display: table-cell;
@@ -3078,7 +2662,6 @@ ul.learn-press-nav-tabs::after {
3078
  vertical-align: middle;
3079
  transition: left linear 0.15s;
3080
  }
3081
-
3082
  @media (max-width: 767px) {
3083
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link .course-item-meta {
3084
  display: flex;
@@ -3089,7 +2672,6 @@ ul.learn-press-nav-tabs::after {
3089
  margin-bottom: 5px;
3090
  }
3091
  }
3092
-
3093
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-icon,
3094
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-name {
3095
  display: table-cell;
@@ -3099,16 +2681,13 @@ ul.learn-press-nav-tabs::after {
3099
  font-weight: 600;
3100
  vertical-align: middle;
3101
  }
3102
-
3103
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-icon::before {
3104
  font-size: 18px;
3105
  }
3106
-
3107
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-icon.icon-lock {
3108
  float: right;
3109
  margin-top: 15px;
3110
  }
3111
-
3112
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta {
3113
  display: table-cell;
3114
  padding: 10px 0;
@@ -3116,7 +2695,6 @@ ul.learn-press-nav-tabs::after {
3116
  vertical-align: middle;
3117
  white-space: nowrap;
3118
  }
3119
-
3120
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .item-meta {
3121
  display: inline-block;
3122
  height: 23px;
@@ -3129,23 +2707,18 @@ ul.learn-press-nav-tabs::after {
3129
  text-align: center;
3130
  vertical-align: middle;
3131
  }
3132
-
3133
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .item-meta.final-quiz {
3134
  background: #14c4ff;
3135
  }
3136
-
3137
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .item-meta.trans {
3138
  padding: 0;
3139
  }
3140
-
3141
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .count-questions {
3142
  background: #9672cf;
3143
  }
3144
-
3145
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .duration {
3146
  background: #c0c0c0;
3147
  }
3148
-
3149
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .course-item-status {
3150
  padding: 0;
3151
  color: #999;
@@ -3156,7 +2729,6 @@ ul.learn-press-nav-tabs::after {
3156
  -moz-box-sizing: border-box;
3157
  box-sizing: border-box;
3158
  }
3159
-
3160
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .course-item-status::before {
3161
  font-family: "Font Awesome 5 Free";
3162
  font-size: 14px;
@@ -3165,23 +2737,18 @@ ul.learn-press-nav-tabs::after {
3165
  text-transform: lowercase;
3166
  content: "\f00c";
3167
  }
3168
-
3169
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_quiz .section-item-link::before {
3170
  content: "\f059";
3171
  }
3172
-
3173
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_lesson .section-item-link::before {
3174
  content: "\f15b";
3175
  }
3176
-
3177
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_lesson.course-item-type-video .section-item-link::before {
3178
  content: "\f03d";
3179
  }
3180
-
3181
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_lesson.course-item-type-audio .section-item-link::before {
3182
  content: "\f028";
3183
  }
3184
-
3185
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.item-preview .course-item-preview {
3186
  background: #00adff;
3187
  font-style: normal;
@@ -3189,32 +2756,26 @@ ul.learn-press-nav-tabs::after {
3189
  -moz-border-radius: 3px;
3190
  border-radius: 3px;
3191
  }
3192
-
3193
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.item-preview .course-item-preview::before {
3194
  color: #fff;
3195
  vertical-align: baseline;
3196
  content: attr(data-preview);
3197
  }
3198
-
3199
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.item-locked .course-item-status::before {
3200
  color: var(--lp-secondary-color);
3201
  content: "\f023";
3202
  }
3203
-
3204
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status {
3205
  padding-top: 1px;
3206
  }
3207
-
3208
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.status-completed .course-item-status::before, #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.status-evaluated .course-item-status::before {
3209
  color: #3bb54a;
3210
  }
3211
-
3212
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.item-failed .course-item-status::before, #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.failed .course-item-status::before {
3213
  border-color: #f02425;
3214
  color: #f02425;
3215
  content: "\f00d";
3216
  }
3217
-
3218
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item::before {
3219
  position: absolute;
3220
  top: 50%;
@@ -3225,34 +2786,27 @@ ul.learn-press-nav-tabs::after {
3225
  content: "";
3226
  transition: height linear 0.15s, top linear 0.15s;
3227
  }
3228
-
3229
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current {
3230
  padding-left: 10px;
3231
  background: #f9f9f9;
3232
  }
3233
-
3234
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current a::before {
3235
  left: 10px;
3236
  }
3237
-
3238
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current::before {
3239
  top: 0;
3240
  height: 100%;
3241
  }
3242
-
3243
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-item-link {
3244
  color: #777;
3245
  text-decoration: none;
3246
  }
3247
-
3248
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-desc {
3249
  color: #999;
3250
  }
3251
-
3252
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-title.c + .section-desc {
3253
  display: block;
3254
  }
3255
-
3256
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-title.c span.show-desc::before {
3257
  -webkit-transform: rotate(180deg);
3258
  -moz-transform: rotate(180deg);
@@ -3261,7 +2815,6 @@ ul.learn-press-nav-tabs::after {
3261
  transform: rotate(180deg);
3262
  top: 0;
3263
  }
3264
-
3265
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .item-meta.duration {
3266
  background: #d9e0f1;
3267
  }
@@ -3270,7 +2823,6 @@ body.course-item-popupx {
3270
  overflow: hidden;
3271
  _opacity: 0;
3272
  }
3273
-
3274
  body.course-item-popupx #learn-press-course-curriculum {
3275
  overflow: auto;
3276
  position: fixed;
@@ -3282,24 +2834,19 @@ body.course-item-popupx #learn-press-course-curriculum {
3282
  border-right: 1px solid #ddd;
3283
  background: #fff;
3284
  }
3285
-
3286
  body.course-item-popupx #learn-press-course-curriculum .section-header {
3287
  padding: 0 15px;
3288
  }
3289
-
3290
  body.course-item-popupx #learn-press-course-curriculum .section-header .section-desc {
3291
  margin: -10px 0 5px;
3292
  }
3293
-
3294
  body.course-item-popupx #learn-press-course-curriculum .course-item {
3295
  padding-right: 15px;
3296
  padding-left: 15px;
3297
  }
3298
-
3299
  body.course-item-popupx #learn-press-course-curriculum .course-item a::before {
3300
  left: 15px;
3301
  }
3302
-
3303
  body.course-item-popupx #learn-press-content-item {
3304
  overflow: hidden;
3305
  position: fixed;
@@ -3310,25 +2857,20 @@ body.course-item-popupx #learn-press-content-item {
3310
  left: 400px;
3311
  background: #fff;
3312
  }
3313
-
3314
  body.course-item-popupx #learn-press-content-item .content-item-wrap {
3315
  max-width: 900px;
3316
  margin: 10px auto;
3317
  }
3318
-
3319
  body.course-item-popupx #learn-press-content-item .course-item-title {
3320
  font-size: 1.4rem;
3321
  }
3322
-
3323
  body.course-item-popupx #learn-press-content-item .content-question-summary .review-heading {
3324
  text-align: center;
3325
  }
3326
-
3327
  body.course-item-popupx #learn-press-content-item .content-question-summary .question-title {
3328
  margin-bottom: 10px;
3329
  font-size: 1.2rem;
3330
  }
3331
-
3332
  body.course-item-popupx #content-item-nav {
3333
  position: fixed;
3334
  z-index: 99999;
@@ -3339,45 +2881,36 @@ body.course-item-popupx #content-item-nav {
3339
  border-top: 1px solid #ddd;
3340
  background: #f5f5f5;
3341
  }
3342
-
3343
  body.course-item-popupx #content-item-nav .content-item-nav-wrap {
3344
  max-width: 900px;
3345
  margin: 10px auto;
3346
  }
3347
-
3348
  body.course-item-popupx #content-item-nav button {
3349
  height: 40px;
3350
  padding: 0 20px;
3351
  line-height: 40px;
3352
  }
3353
-
3354
  body.course-item-popupx .comment-form-textarea {
3355
  -webkit-box-sizing: border-box;
3356
  -moz-box-sizing: border-box;
3357
  box-sizing: border-box;
3358
  }
3359
-
3360
  body.course-item-popupx.wpadminbar #learn-press-course-curriculum,
3361
  body.course-item-popupx.wpadminbar #learn-press-content-item {
3362
  top: 92px;
3363
  }
3364
-
3365
  body.course-item-popupx.wpadminbar #course-item-content-header {
3366
  top: 32px;
3367
  }
3368
-
3369
  body.course-item-popupx.wpadminbar .content-item-description {
3370
  margin-bottom: 20px;
3371
  }
3372
-
3373
  body.course-item-popupx .content-item-summary {
3374
  margin-bottom: 50px;
3375
  }
3376
-
3377
  body.course-item-popupx .content-item-summary > h3 {
3378
  margin-bottom: 20px;
3379
  }
3380
-
3381
  body.course-item-popupx .content-item-summary.content-item-video .entry-video {
3382
  position: absolute;
3383
  top: 0;
@@ -3386,36 +2919,30 @@ body.course-item-popupx .content-item-summary.content-item-video .entry-video {
3386
  background: #000;
3387
  line-height: 1;
3388
  }
3389
-
3390
  body.course-item-popupx .content-item-summary.content-item-video .entry-video iframe {
3391
  width: 100%;
3392
  max-width: 900px;
3393
  margin-bottom: 0;
3394
  vertical-align: top;
3395
  }
3396
-
3397
  body.course-item-popupx .learn-press-content-protected-message {
3398
  margin-bottom: 50px;
3399
  padding: 20px;
3400
  background: #ffe0e0;
3401
  }
3402
-
3403
  body.course-item-popupx.content-only #learn-press-content-item {
3404
  z-index: 9999999;
3405
  top: 0;
3406
  bottom: 0;
3407
  left: 0;
3408
  }
3409
-
3410
  body.course-item-popupx.content-only #learn-press-content-item #course-item-content-header,
3411
  body.course-item-popupx.content-only #learn-press-content-item #course-item-content-footer {
3412
  display: none;
3413
  }
3414
-
3415
  body.course-item-popupx.content-only #learn-press-content-item .content-item-scrollable {
3416
  bottom: 0;
3417
  }
3418
-
3419
  body #ifr-course-item {
3420
  position: absolute;
3421
  z-index: 999999;
@@ -3425,12 +2952,10 @@ body #ifr-course-item {
3425
  height: 100%;
3426
  background: #fff;
3427
  }
3428
-
3429
  body.full-screen-content-item #course-item-content-header .toggle-content-item::before {
3430
  font: 28px/60px "Font Awesome 5 Free";
3431
  content: "\f066";
3432
  }
3433
-
3434
  body .content-item-summary .form-button-finish-course,
3435
  body .lp-quiz-buttons .form-button-finish-course {
3436
  float: right;
@@ -3442,15 +2967,12 @@ body .lp-quiz-buttons .form-button-finish-course {
3442
  top: 2px;
3443
  font-family: "Font Awesome 5 Free";
3444
  }
3445
-
3446
  #wpadminbar #wp-admin-bar-edit-lp_quiz .ab-item::before {
3447
  content: "\f017";
3448
  }
3449
-
3450
  #wpadminbar #wp-admin-bar-edit-lp_lesson .ab-item::before {
3451
  content: "\f15c";
3452
  }
3453
-
3454
  #wpadminbar #wp-admin-bar-edit-lp_question .ab-item::before {
3455
  content: "\f29c";
3456
  }
@@ -3459,15 +2981,12 @@ body .lp-quiz-buttons .form-button-finish-course {
3459
  overflow: hidden;
3460
  opacity: 0;
3461
  }
3462
-
3463
  .scroll-wrapper .scroll-element {
3464
  background: transparent;
3465
  }
3466
-
3467
  .scroll-wrapper .scroll-element.scroll-y.scroll-scrolly_visible {
3468
  transition: opacity 0.25s;
3469
  }
3470
-
3471
  .scroll-wrapper:hover .scroll-element.scroll-y.scroll-scrolly_visible {
3472
  opacity: 0.7;
3473
  }
@@ -3479,7 +2998,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3479
  .learn-press-course-results-progress {
3480
  margin-right: -4%;
3481
  }
3482
-
3483
  .learn-press-course-results-progress .items-progress,
3484
  .learn-press-course-results-progress .course-progress {
3485
  float: left;
@@ -3487,12 +3005,10 @@ body .lp-quiz-buttons .form-button-finish-course {
3487
  margin-right: 4%;
3488
  margin-bottom: 30px;
3489
  }
3490
-
3491
  .learn-press-course-results-progress .items-progress .items-progress__heading,
3492
  .learn-press-course-results-progress .course-progress .items-progress__heading {
3493
  margin-bottom: 10px;
3494
  }
3495
-
3496
  .learn-press-course-results-progress .items-progress .lp-progress-bar,
3497
  .learn-press-course-results-progress .course-progress .lp-progress-bar {
3498
  overflow: hidden;
@@ -3500,7 +3016,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3500
  height: 10px;
3501
  border-radius: 5px;
3502
  }
3503
-
3504
  .learn-press-course-results-progress .items-progress .lp-progress-bar .lp-progress-value,
3505
  .learn-press-course-results-progress .course-progress .lp-progress-bar .lp-progress-value {
3506
  position: absolute;
@@ -3509,17 +3024,14 @@ body .lp-quiz-buttons .form-button-finish-course {
3509
  margin-left: -100%;
3510
  border-radius: 5px;
3511
  }
3512
-
3513
  .learn-press-course-results-progress .items-progress .lp-course-status .grade.failed,
3514
  .learn-press-course-results-progress .course-progress .lp-course-status .grade.failed {
3515
  background: #f00;
3516
  }
3517
-
3518
  .learn-press-course-results-progress .items-progress .lp-course-status .grade.passed,
3519
  .learn-press-course-results-progress .course-progress .lp-course-status .grade.passed {
3520
  background: #3eadff;
3521
  }
3522
-
3523
  .learn-press-course-results-progress::after {
3524
  display: block;
3525
  clear: both;
@@ -3545,7 +3057,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3545
  border-bottom: 1px solid #ddd;
3546
  background: #e7f7ff;
3547
  }
3548
-
3549
  #course-item-content-header .course-item-search {
3550
  float: left;
3551
  position: relative;
@@ -3553,7 +3064,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3553
  width: 400px;
3554
  padding: 15px;
3555
  }
3556
-
3557
  #course-item-content-header .course-item-search input {
3558
  float: left;
3559
  width: 385px;
@@ -3565,13 +3075,11 @@ body .lp-quiz-buttons .form-button-finish-course {
3565
  box-shadow: none;
3566
  font-style: italic;
3567
  }
3568
-
3569
  #course-item-content-header .course-item-search input:focus {
3570
  outline: none;
3571
  color: #777;
3572
  box-shadow: none;
3573
  }
3574
-
3575
  #course-item-content-header .course-item-search button {
3576
  position: absolute;
3577
  z-index: 99;
@@ -3585,16 +3093,13 @@ body .lp-quiz-buttons .form-button-finish-course {
3585
  font-size: 15px;
3586
  line-height: 30px;
3587
  }
3588
-
3589
  #course-item-content-header .course-item-search button::after {
3590
  font-family: "Font Awesome 5 Free";
3591
  content: "\f002";
3592
  }
3593
-
3594
  #course-item-content-header .course-item-search.has-keyword button::after {
3595
  content: "\f00d";
3596
  }
3597
-
3598
  #course-item-content-header .course-title {
3599
  float: left;
3600
  clear: none;
@@ -3604,21 +3109,17 @@ body .lp-quiz-buttons .form-button-finish-course {
3604
  font-size: 1.4rem;
3605
  line-height: 60px;
3606
  }
3607
-
3608
  #course-item-content-header .course-title a {
3609
  box-shadow: none;
3610
  }
3611
-
3612
  #course-item-content-header .course-title::before {
3613
  display: none;
3614
  content: "";
3615
  }
3616
-
3617
  #course-item-content-header .form-button.lp-button-back {
3618
  float: right;
3619
  margin-right: 15px;
3620
  }
3621
-
3622
  #course-item-content-header .toggle-content-item {
3623
  display: inline-block;
3624
  float: right;
@@ -3627,7 +3128,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3627
  border-left: 1px solid #ddd;
3628
  text-align: center;
3629
  }
3630
-
3631
  #course-item-content-header .toggle-content-item::before {
3632
  font: 28px/60px "Font Awesome 5 Free";
3633
  content: "\f065";
@@ -3640,7 +3140,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3640
  padding: 15px;
3641
  border-top: 1px solid #ddd;
3642
  }
3643
-
3644
  #course-item-content-footer button,
3645
  #course-item-content-footer .lp-button {
3646
  height: 35px;
@@ -3659,7 +3158,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3659
  .lp-course-progress {
3660
  position: relative;
3661
  }
3662
-
3663
  .lp-course-progress .lp-passing-conditional {
3664
  position: absolute;
3665
  top: 0;
@@ -3678,32 +3176,25 @@ body .lp-quiz-buttons .form-button-finish-course {
3678
  display: flex;
3679
  margin-bottom: 40px;
3680
  }
3681
-
3682
  .course-meta .course-meta__pull-left,
3683
  .course-meta .course-meta__pull-right {
3684
  display: flex;
3685
  }
3686
-
3687
  .course-meta .course-meta__pull-left {
3688
  flex: 1;
3689
  }
3690
-
3691
  .course-meta .course-meta__pull-left .meta-item {
3692
  margin-right: 10px;
3693
  }
3694
-
3695
  .course-meta .course-meta__pull-right {
3696
  flex: 0 0 50%;
3697
  }
3698
-
3699
  .course-meta .course-meta__pull-right .meta-item {
3700
  margin-left: 10px;
3701
  }
3702
-
3703
  .course-meta.course-meta-primary .meta-item {
3704
  flex: 1;
3705
  }
3706
-
3707
  .course-meta.two-columns .course-meta {
3708
  flex: 1;
3709
  }
@@ -3713,7 +3204,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3713
  border: 1px solid rgba(204, 204, 204, 0.3);
3714
  border-radius: 5px;
3715
  }
3716
-
3717
  .course-extra-box__title {
3718
  --extra-height: 54px;
3719
  display: flex;
@@ -3727,7 +3217,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3727
  font-weight: 600;
3728
  cursor: pointer;
3729
  }
3730
-
3731
  .course-extra-box__title::after {
3732
  position: absolute;
3733
  top: 0;
@@ -3737,11 +3226,9 @@ body .lp-quiz-buttons .form-button-finish-course {
3737
  line-height: var(--extra-height);
3738
  content: "\f0d7";
3739
  }
3740
-
3741
  .course-extra-box__content {
3742
  display: none;
3743
  }
3744
-
3745
  .course-extra-box__content-inner {
3746
  -webkit-animation-name: course-extra-box__content-inner-transform;
3747
  animation-name: course-extra-box__content-inner-transform;
@@ -3754,17 +3241,14 @@ body .lp-quiz-buttons .form-button-finish-course {
3754
  -webkit-animation-direction: normal;
3755
  animation-direction: normal;
3756
  }
3757
-
3758
  .course-extra-box__content ul,
3759
  .course-extra-box__content li {
3760
  list-style: none;
3761
  }
3762
-
3763
  .course-extra-box__content ul {
3764
  margin: 0;
3765
  padding: 0;
3766
  }
3767
-
3768
  .course-extra-box__content li {
3769
  margin: 0;
3770
  padding: 22px 38px 14px;
@@ -3773,7 +3257,6 @@ body .lp-quiz-buttons .form-button-finish-course {
3773
  font-size: 16px;
3774
  font-weight: 300;
3775
  }
3776
-
3777
  .course-extra-box__content li::before {
3778
  margin-right: 8px;
3779
  color: var(--lp-primary-color);
@@ -3781,28 +3264,23 @@ body .lp-quiz-buttons .form-button-finish-course {
3781
  font-weight: 900;
3782
  content: "\f00c";
3783
  }
3784
-
3785
  .course-extra-box__content li:last-child {
3786
  border-bottom: 0;
3787
  }
3788
-
3789
  .course-extra-box:last-child {
3790
  margin-bottom: 60px;
3791
  }
3792
-
3793
  .course-extra-box.active .course-extra-box__title::after {
3794
  content: "\f0d8";
3795
  }
3796
 
3797
- input[name="course-extra-box-ratio"] {
3798
  display: none;
3799
  }
3800
-
3801
- input[name="course-extra-box-ratio"]:checked + .course-extra-box .course-extra-box__content {
3802
  display: block;
3803
  }
3804
-
3805
- input[name="course-extra-box-ratio"]:checked + .course-extra-box .course-extra-box__content .course-extra-box__content-inner {
3806
  transform: scale(1);
3807
  }
3808
 
@@ -3818,7 +3296,6 @@ input[name="course-extra-box-ratio"]:checked + .course-extra-box .course-extra-b
3818
  transform: translateX(0%);
3819
  }
3820
  }
3821
-
3822
  @keyframes course-extra-box__content-inner-transform {
3823
  from {
3824
  opacity: 0;
@@ -3831,23 +3308,19 @@ input[name="course-extra-box-ratio"]:checked + .course-extra-box .course-extra-b
3831
  transform: translateX(0%);
3832
  }
3833
  }
3834
-
3835
  .course-tab-panel-faqs {
3836
  padding-top: 64px;
3837
  }
3838
-
3839
  @media (max-width: 767px) {
3840
  .course-tab-panel-faqs {
3841
  padding: 0 15px;
3842
  }
3843
  }
3844
-
3845
  .course-tab-panel-faqs .course-faqs-box {
3846
  margin-bottom: 20px;
3847
  border: 1px solid rgba(204, 204, 204, 0.6);
3848
  border-radius: 5px;
3849
  }
3850
-
3851
  .course-tab-panel-faqs .course-faqs-box__title {
3852
  display: block;
3853
  position: relative;
@@ -3858,7 +3331,6 @@ input[name="course-extra-box-ratio"]:checked + .course-extra-box .course-extra-b
3858
  line-height: 1.7;
3859
  cursor: pointer;
3860
  }
3861
-
3862
  .course-tab-panel-faqs .course-faqs-box__title::after {
3863
  position: absolute;
3864
  top: 50%;
@@ -3870,11 +3342,9 @@ input[name="course-extra-box-ratio"]:checked + .course-extra-box .course-extra-b
3870
  content: "\f078";
3871
  transform: translateY(-50%);
3872
  }
3873
-
3874
  .course-tab-panel-faqs .course-faqs-box .course-faqs-box__content {
3875
  display: none;
3876
  }
3877
-
3878
  .course-tab-panel-faqs .course-faqs-box .course-faqs-box__content .course-faqs-box__content-inner {
3879
  padding: 0 28px 33px 28px;
3880
  color: #666;
@@ -3892,36 +3362,29 @@ input[name="course-extra-box-ratio"]:checked + .course-extra-box .course-extra-b
3892
  -webkit-animation-direction: normal;
3893
  animation-direction: normal;
3894
  }
3895
-
3896
  .course-tab-panel-faqs .course-faqs-box:last-child {
3897
  margin-bottom: 40px;
3898
  }
3899
-
3900
  .course-tab-panel-faqs .course-faqs-box:hover {
3901
  background: rgba(241, 242, 248, 0.4);
3902
  }
3903
-
3904
  .course-tab-panel-faqs .course-faqs-box:hover .course-faqs-box__title {
3905
  color: var(--lp-primary-color);
3906
  }
3907
 
3908
- input[name="course-faqs-box-ratio"] {
3909
  display: none;
3910
  }
3911
-
3912
- input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box__content {
3913
  display: block;
3914
  }
3915
-
3916
- input[name="course-faqs-box-ratio"]:checked + .course-faqs-box {
3917
  background: rgba(241, 242, 248, 0.4);
3918
  }
3919
-
3920
- input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box__title {
3921
  color: var(--lp-primary-color);
3922
  }
3923
-
3924
- input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box__title::after {
3925
  content: "\f077";
3926
  }
3927
 
@@ -3937,7 +3400,6 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
3937
  transform: translateX(0%);
3938
  }
3939
  }
3940
-
3941
  @keyframes course-faqs-box__content-inner-transform {
3942
  from {
3943
  opacity: 0;
@@ -3950,7 +3412,6 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
3950
  transform: translateX(0%);
3951
  }
3952
  }
3953
-
3954
  /***********/
3955
  @media screen and (max-width: 1300px) {
3956
  body.course-item-popup #course-item-content-header .course-item-search {
@@ -3969,15 +3430,14 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
3969
  width: 40px;
3970
  }
3971
  body.course-item-popup #content-item-nav,
3972
- body.course-item-popup #learn-press-content-item,
3973
- body.course-item-popup #course-item-content-footer {
3974
  left: 300px;
3975
  }
3976
  body.course-item-popup .section-desc {
3977
  display: none;
3978
  }
3979
  }
3980
-
3981
  @media screen and (max-width: 1200px) {
3982
  body.course-item-popupx #course-item-content-header .course-item-search {
3983
  width: 300px;
@@ -3992,16 +3452,15 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
3992
  width: 300px;
3993
  }
3994
  body.course-item-popupx #content-item-nav,
3995
- body.course-item-popupx #learn-press-content-item,
3996
- body.course-item-popupx #course-item-content-footer {
3997
  left: 300px;
3998
  }
3999
  body.course-item-popupx #learn-press-content-item .content-item-nav-wrap,
4000
- body.course-item-popupx #learn-press-content-item .content-item-wrap {
4001
  width: 90%;
4002
  }
4003
  }
4004
-
4005
  @media screen and (max-width: 768px) {
4006
  body.course-item-popup #course-item-content-header .course-item-search {
4007
  width: 200px;
@@ -4016,33 +3475,33 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4016
  width: 200px;
4017
  }
4018
  body.course-item-popup #content-item-nav,
4019
- body.course-item-popup #learn-press-content-item,
4020
- body.course-item-popup #course-item-content-footer {
4021
  left: 200px;
4022
  }
4023
  body.course-item-popup #learn-press-content-item .content-item-nav-wrap,
4024
- body.course-item-popup #learn-press-content-item .content-item-wrap {
4025
  width: 90%;
4026
  }
4027
  body.course-item-popup.wpadminbar #learn-press-content-item,
4028
- body.course-item-popup.wpadminbar #learn-press-course-curriculum {
4029
  top: 106px;
4030
  }
4031
  body.course-item-popup.wpadminbar #course-item-content-header {
4032
  top: 46px;
4033
  }
 
4034
  .learn-press-course-results-progress {
4035
  margin-right: 0%;
4036
  }
4037
  .learn-press-course-results-progress .items-progress,
4038
- .learn-press-course-results-progress .course-progress {
4039
  float: none;
4040
  width: 100%;
4041
  margin-right: 0%;
4042
  margin-bottom: 20px;
4043
  }
4044
  }
4045
-
4046
  .lp-quiz-buttons {
4047
  margin-bottom: 20px;
4048
  display: block;
@@ -4054,35 +3513,29 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4054
  margin-bottom: 30px;
4055
  background: #e7f7ff;
4056
  }
4057
-
4058
  .quiz-progress .progress-items {
4059
  display: flex;
4060
  }
4061
-
4062
  .quiz-progress .progress-items .progress-item {
4063
  position: relative;
4064
  color: #777;
4065
  font-size: 15px;
4066
  flex: 1;
4067
  }
4068
-
4069
  .quiz-progress .progress-items .progress-item .progress-number,
4070
  .quiz-progress .progress-items .progress-item .progress-label {
4071
  display: block;
4072
  line-height: 1;
4073
  text-align: center;
4074
  }
4075
-
4076
  .quiz-progress .progress-items .progress-item .progress-number {
4077
  margin: 15px 0 10px 0;
4078
  font-size: 20px;
4079
  }
4080
-
4081
  .quiz-progress .progress-items .progress-item .progress-label {
4082
  margin-bottom: 15px;
4083
  font-size: 14px;
4084
  }
4085
-
4086
  .quiz-progress .progress-items .progress-item i {
4087
  display: none;
4088
  float: left;
@@ -4094,7 +3547,6 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4094
  line-height: 60px;
4095
  text-align: center;
4096
  }
4097
-
4098
  .quiz-progress .progress-items .progress-item::after {
4099
  display: block;
4100
  clear: both;
@@ -4106,7 +3558,6 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4106
  padding: 0;
4107
  list-style: none;
4108
  }
4109
-
4110
  .answer-options .answer-option {
4111
  display: flex;
4112
  overflow: hidden;
@@ -4126,17 +3577,14 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4126
  -o-transition: background linear 0.25s;
4127
  transition: background linear 0.25s;
4128
  }
4129
-
4130
  .answer-options .answer-option .option-title {
4131
  display: table-cell;
4132
  font-size: smaller;
4133
  }
4134
-
4135
  .answer-options .answer-option .option-title .option-title-content {
4136
  display: inline-block;
4137
  vertical-align: middle;
4138
  }
4139
-
4140
  .answer-options .answer-option .option-title::before {
4141
  position: absolute;
4142
  top: 0;
@@ -4151,9 +3599,8 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4151
  -o-transition: background linear 0.25s;
4152
  transition: background linear 0.25s;
4153
  }
4154
-
4155
- .answer-options .answer-option input[type="checkbox"],
4156
- .answer-options .answer-option input[type="radio"] {
4157
  -webkit-appearance: initial;
4158
  -moz-appearance: initial;
4159
  position: relative;
@@ -4168,14 +3615,12 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4168
  -moz-border-radius: 4px;
4169
  border-radius: 4px;
4170
  }
4171
-
4172
- .answer-options .answer-option input[type="checkbox"]:focus,
4173
- .answer-options .answer-option input[type="radio"]:focus {
4174
  outline: none;
4175
  }
4176
-
4177
- .answer-options .answer-option input[type="checkbox"]::after,
4178
- .answer-options .answer-option input[type="radio"]::after {
4179
  position: absolute;
4180
  top: 15px;
4181
  left: 9px;
@@ -4187,92 +3632,74 @@ input[name="course-faqs-box-ratio"]:checked + .course-faqs-box .course-faqs-box_
4187
  font-weight: 900;
4188
  content: "\f00c";
4189
  }
4190
-
4191
- .answer-options .answer-option input[type="checkbox"]:checked ~ .option-title .option-title-content,
4192
- .answer-options .answer-option input[type="radio"]:checked ~ .option-title .option-title-content {
4193
  position: relative;
4194
  }
4195
-
4196
- .answer-options .answer-option input[type="checkbox"]:checked ~ .option-title::before,
4197
- .answer-options .answer-option input[type="radio"]:checked ~ .option-title::before {
4198
  background: #00adff;
4199
  }
4200
-
4201
- .answer-options .answer-option input[type="checkbox"]:checked::after,
4202
- .answer-options .answer-option input[type="radio"]:checked::after {
4203
  opacity: 1;
4204
  }
4205
-
4206
- .answer-options .answer-option input[type="radio"] {
4207
  -webkit-border-radius: 50%;
4208
  -moz-border-radius: 50%;
4209
  border-radius: 50%;
4210
  }
4211
-
4212
- .answer-options .answer-option input[type="radio"]::before {
4213
  border-radius: 50%;
4214
  }
4215
-
4216
  .answer-options .answer-option .option-title {
4217
  margin: 0;
4218
  }
4219
-
4220
  .answer-options .answer-option:hover {
4221
  background: #e1f5ff;
4222
  }
4223
-
4224
  .answer-options .answer-option.answer-correct {
4225
  background: #e1f5ff;
4226
  }
4227
-
4228
- .answer-options .answer-option.answer-correct input[type="radio"]:checked ~ .option-title::before,
4229
- .answer-options .answer-option.answer-correct input[type="checkbox"]:checked ~ .option-title::before {
4230
  background: #e1f5ff;
4231
  }
4232
-
4233
- .answer-options .answer-option.answered-correct input[type="radio"]:checked ~ .option-title::before,
4234
- .answer-options .answer-option.answered-correct input[type="checkbox"]:checked ~ .option-title::before {
4235
  background: #00adff;
4236
  }
4237
-
4238
- .answer-options .answer-option.answered-wrong input[type="radio"]::before, .answer-options .answer-option.answered-wrong input[type="radio"]::after,
4239
- .answer-options .answer-option.answered-wrong input[type="checkbox"]::before,
4240
- .answer-options .answer-option.answered-wrong input[type="checkbox"]::after {
4241
  border-color: #f00;
4242
  }
4243
-
4244
- .answer-options .answer-option.answered-wrong input[type="radio"]:checked ~ .option-title::before,
4245
- .answer-options .answer-option.answered-wrong input[type="checkbox"]:checked ~ .option-title::before {
4246
  background: #f00;
4247
  }
4248
 
4249
  button[data-counter] {
4250
  position: relative;
4251
  }
4252
-
4253
  button[data-counter]::after {
4254
  padding-left: 5px;
4255
  content: "(+" attr(data-counter) ")";
4256
  }
4257
-
4258
  .quiz-result {
4259
  max-width: 320px;
4260
  margin: 20px auto 48px;
4261
  text-align: center;
4262
  }
4263
-
4264
  .quiz-result .result-heading {
4265
  display: none;
4266
  }
4267
-
4268
  .quiz-result.passed .result-message {
4269
  background: #3bb54a;
4270
  }
4271
-
4272
  .quiz-result.passed .result-message::after {
4273
  content: "\f00c";
4274
  }
4275
-
4276
  .quiz-result .result-message {
4277
  margin-bottom: 30px;
4278
  padding: 10px 0;
@@ -4284,20 +3711,17 @@ button[data-counter]::after {
4284
  -moz-border-radius: 4px;
4285
  border-radius: 4px;
4286
  }
4287
-
4288
  .quiz-result .result-message::after {
4289
  margin-left: 10px;
4290
  font-family: "Font Awesome 5 Free";
4291
  font-weight: 900;
4292
  content: "\f00d";
4293
  }
4294
-
4295
  .quiz-result .result-grade .result-achieved,
4296
  .quiz-result .result-grade .result-require {
4297
  display: inline-block;
4298
  margin: 0 auto;
4299
  }
4300
-
4301
  .quiz-result .result-grade .result-achieved {
4302
  padding-bottom: 7px;
4303
  border-bottom: 1px solid #999;
@@ -4306,7 +3730,6 @@ button[data-counter]::after {
4306
  font-weight: 500;
4307
  line-height: 1;
4308
  }
4309
-
4310
  .quiz-result .result-grade .result-require {
4311
  display: block;
4312
  padding-top: 5px;
@@ -4315,11 +3738,9 @@ button[data-counter]::after {
4315
  font-weight: 400;
4316
  line-height: 1;
4317
  }
4318
-
4319
  .quiz-result .result-grade .result-message {
4320
  font-size: 14px;
4321
  }
4322
-
4323
  .quiz-result.failed {
4324
  /*.result-achieved {
4325
  color: #c55757;
@@ -4330,40 +3751,33 @@ button[data-counter]::after {
4330
  }
4331
  }*/
4332
  }
4333
-
4334
  .quiz-result.passed .result-achieved {
4335
  color: #04adff;
4336
  }
4337
-
4338
  .quiz-result.passed .result-message strong {
4339
  color: #04adff;
4340
  }
4341
-
4342
  .quiz-result .result-statistic {
4343
  margin: 0;
4344
  padding: 0;
4345
  text-align: left;
4346
  list-style: none;
4347
  }
4348
-
4349
  .quiz-result .result-statistic .result-statistic-field {
4350
  display: flex;
4351
  margin: 0;
4352
  }
4353
-
4354
  .quiz-result .result-statistic .result-statistic-field span,
4355
  .quiz-result .result-statistic .result-statistic-field p {
4356
  margin: 0;
4357
  flex: 1;
4358
  }
4359
-
4360
  .quiz-result .result-statistic .result-statistic-field span {
4361
  color: #666;
4362
  font-size: 16px;
4363
  font-weight: 400;
4364
  line-height: 35px;
4365
  }
4366
-
4367
  .quiz-result .result-statistic .result-statistic-field span::before {
4368
  display: inline-block;
4369
  width: 15px;
@@ -4373,7 +3787,6 @@ button[data-counter]::after {
4373
  font-size: 16px;
4374
  font-weight: 900;
4375
  }
4376
-
4377
  .quiz-result .result-statistic .result-statistic-field p {
4378
  color: #333;
4379
  font-size: 16px;
@@ -4381,32 +3794,26 @@ button[data-counter]::after {
4381
  line-height: 35px;
4382
  text-align: right;
4383
  }
4384
-
4385
  .quiz-result .result-statistic .result-statistic-field.result-time-spend label::before {
4386
  font-weight: 400;
4387
  content: "\f017";
4388
  }
4389
-
4390
  .quiz-result .result-statistic .result-statistic-field.result-point label::before {
4391
  font-weight: 400;
4392
  content: "\f005";
4393
  }
4394
-
4395
  .quiz-result .result-statistic .result-statistic-field.result-questions label::before {
4396
  font-weight: 400;
4397
  content: "\f059";
4398
  }
4399
-
4400
  .quiz-result .result-statistic .result-statistic-field.result-questions-correct label::before {
4401
  color: #3db748;
4402
  content: "\f00c";
4403
  }
4404
-
4405
  .quiz-result .result-statistic .result-statistic-field.result-questions-wrong label::before {
4406
  color: #f02425;
4407
  content: "\f00d";
4408
  }
4409
-
4410
  .quiz-result .result-statistic .result-statistic-field.result-questions-skipped label::before {
4411
  color: #ddd;
4412
  content: "\f2f5";
@@ -4420,7 +3827,6 @@ button[data-counter]::after {
4420
  left: 0;
4421
  margin: 0 0 35px 0;
4422
  }
4423
-
4424
  .quiz-status > div {
4425
  display: flex;
4426
  box-sizing: border-box;
@@ -4434,7 +3840,6 @@ button[data-counter]::after {
4434
  justify-content: center;
4435
  align-items: center;
4436
  }
4437
-
4438
  @media (max-width: 480px) {
4439
  .quiz-status > div {
4440
  display: block;
@@ -4442,18 +3847,15 @@ button[data-counter]::after {
4442
  text-align: center;
4443
  }
4444
  }
4445
-
4446
  .quiz-status > div > div {
4447
  display: flex;
4448
  flex-direction: row-reverse;
4449
  flex: 0 0 50%;
4450
  align-items: center;
4451
  }
4452
-
4453
  .quiz-status > div .current-point {
4454
  display: none;
4455
  }
4456
-
4457
  .quiz-status .questions-index {
4458
  display: inline-block;
4459
  color: #666;
@@ -4461,12 +3863,10 @@ button[data-counter]::after {
4461
  font-weight: 400;
4462
  line-height: 26px;
4463
  }
4464
-
4465
  .quiz-status .questions-index span {
4466
  color: #333;
4467
  font-weight: 500;
4468
  }
4469
-
4470
  .quiz-status .countdown {
4471
  position: relative;
4472
  min-width: 120px;
@@ -4479,7 +3879,6 @@ button[data-counter]::after {
4479
  line-height: 1;
4480
  text-align: center;
4481
  }
4482
-
4483
  .quiz-status .countdown .fas {
4484
  position: absolute;
4485
  top: 50%;
@@ -4488,13 +3887,11 @@ button[data-counter]::after {
4488
  font-size: 14px;
4489
  transform: translateY(-50%);
4490
  }
4491
-
4492
  .quiz-status .countdown .clock {
4493
  display: none;
4494
  width: 40px;
4495
  height: 40px;
4496
  }
4497
-
4498
  .quiz-status .countdown .clock::before {
4499
  position: absolute;
4500
  width: 40px;
@@ -4506,7 +3903,6 @@ button[data-counter]::after {
4506
  -moz-box-sizing: border-box;
4507
  box-sizing: border-box;
4508
  }
4509
-
4510
  .quiz-status .countdown .clock .circle-progress-bar {
4511
  display: inline-block;
4512
  position: relative;
@@ -4514,17 +3910,14 @@ button[data-counter]::after {
4514
  height: 40px;
4515
  stroke: #5383f7;
4516
  }
4517
-
4518
  .quiz-status .countdown .clock .circle-progress-bar .circle-progress-bar__circle {
4519
  transition: 0.35s stroke-dashoffset;
4520
  transform: rotate(-90deg);
4521
  transform-origin: 50% 50%;
4522
  }
4523
-
4524
  .quiz-status .countdown .clock.x .circle-progress-bar__circle {
4525
  stroke: #f00;
4526
  }
4527
-
4528
  .quiz-status .submit-quiz button {
4529
  margin: 0 0 0 10px;
4530
  border: none;
@@ -4532,11 +3925,9 @@ button[data-counter]::after {
4532
  background: #fff;
4533
  text-transform: uppercase;
4534
  }
4535
-
4536
  .quiz-status .submit-quiz button:hover {
4537
  background: var(--lp-secondary-color);
4538
  }
4539
-
4540
  .quiz-status.submitting .submit-quiz button {
4541
  background: #ddd;
4542
  }
@@ -4545,13 +3936,11 @@ button[data-counter]::after {
4545
  text-align: center;
4546
  list-style: none;
4547
  }
4548
-
4549
  .question-numbers li {
4550
  display: inline-block;
4551
  position: relative;
4552
  margin-bottom: 3px;
4553
  }
4554
-
4555
  .question-numbers li a {
4556
  display: block;
4557
  min-width: 20px;
@@ -4563,46 +3952,37 @@ button[data-counter]::after {
4563
  font-size: 12px;
4564
  line-height: 1;
4565
  }
4566
-
4567
  .question-numbers li a span {
4568
  vertical-align: middle;
4569
  }
4570
-
4571
  .question-numbers li a:hover {
4572
  border: 1px solid #3880a2;
4573
  color: #fff;
4574
  background: #00adff;
4575
  }
4576
-
4577
  .question-numbers li.current a {
4578
  border-color: #3880a2;
4579
  color: #fff !important;
4580
  background: #00adff;
4581
  }
4582
-
4583
  .question-numbers li.current.skipped::after {
4584
  background: #fff;
4585
  }
4586
-
4587
  .question-numbers li.answered a::after {
4588
  margin-left: 3px;
4589
  font-family: "Font Awesome 5 Free";
4590
  font-size: 8px;
4591
  vertical-align: middle;
4592
  }
4593
-
4594
  .question-numbers li.answered.answered-wrong a {
4595
  color: #f00;
4596
  }
4597
-
4598
  .question-numbers li.answered.answered-true a {
4599
  color: #00adff;
4600
  }
4601
-
4602
  .question-numbers li.answered.answered-true.current a {
4603
  color: #fff;
4604
  }
4605
-
4606
  .question-numbers li.skipped::after {
4607
  position: absolute;
4608
  bottom: 3px;
@@ -4622,7 +4002,6 @@ button[data-counter]::after {
4622
  list-style: none;
4623
  flex-flow: row wrap;
4624
  }
4625
-
4626
  @media (max-width: 768px) {
4627
  .quiz-intro {
4628
  padding-right: 10px;
@@ -4630,19 +4009,16 @@ button[data-counter]::after {
4630
  justify-content: space-between;
4631
  }
4632
  }
4633
-
4634
  .quiz-intro-item {
4635
  display: flex;
4636
  margin: 0 40px 0 0;
4637
  align-items: center;
4638
  }
4639
-
4640
  @media (max-width: 768px) {
4641
  .quiz-intro-item {
4642
  margin: 0 20px 0 0;
4643
  }
4644
  }
4645
-
4646
  .quiz-intro-item::before {
4647
  position: relative;
4648
  top: -2px;
@@ -4652,31 +4028,24 @@ button[data-counter]::after {
4652
  font-size: 16px;
4653
  font-weight: 900;
4654
  }
4655
-
4656
  .quiz-intro-item--passing-grade {
4657
  order: 2;
4658
  }
4659
-
4660
  .quiz-intro-item--passing-grade::before {
4661
  content: "\f012";
4662
  }
4663
-
4664
  .quiz-intro-item--questions-count {
4665
  order: 1;
4666
  }
4667
-
4668
  .quiz-intro-item--questions-count::before {
4669
  content: "\f12e";
4670
  }
4671
-
4672
  .quiz-intro-item--duration {
4673
  order: 2;
4674
  }
4675
-
4676
  .quiz-intro-item--duration::before {
4677
  content: "\f017";
4678
  }
4679
-
4680
  .quiz-intro-item__title {
4681
  margin: 0;
4682
  padding: 0 8px 0 0;
@@ -4685,7 +4054,6 @@ button[data-counter]::after {
4685
  font-weight: 300;
4686
  line-height: 1.7;
4687
  }
4688
-
4689
  .quiz-intro-item__content {
4690
  color: #222;
4691
  font-size: 16px;
@@ -4699,7 +4067,7 @@ button[data-counter]::after {
4699
  background: #f5f5f5;
4700
  }
4701
 
4702
- .redo-quiz button[type="submit"] {
4703
  content: attr(data-counter);
4704
  }
4705
 
@@ -4709,7 +4077,6 @@ button[data-counter]::after {
4709
  height: 300px;
4710
  border-color: #ddd;
4711
  }
4712
-
4713
  .circle-bar::before {
4714
  position: absolute;
4715
  z-index: 0;
@@ -4722,7 +4089,6 @@ button[data-counter]::after {
4722
  border-radius: 50%;
4723
  content: "";
4724
  }
4725
-
4726
  .circle-bar .before,
4727
  .circle-bar .after {
4728
  position: absolute;
@@ -4735,20 +4101,17 @@ button[data-counter]::after {
4735
  border: 10px solid #14c4ff;
4736
  border-radius: 50%;
4737
  }
4738
-
4739
  .circle-bar .before {
4740
  border-bottom-color: transparent;
4741
  border-left-color: transparent;
4742
  transform: rotate(45deg);
4743
  }
4744
-
4745
  .circle-bar .after {
4746
  border-color: #14c4ff;
4747
  border-top-color: transparent;
4748
  border-right-color: transparent;
4749
  transform: rotate(45deg);
4750
  }
4751
-
4752
  .circle-bar.bg50 .after {
4753
  z-index: 10;
4754
  border-bottom-color: inherit;
@@ -4781,7 +4144,6 @@ button[data-counter]::after {
4781
  justify-content: center;
4782
  align-items: center;
4783
  }
4784
-
4785
  .quiz-result .result-grade::before,
4786
  .quiz-result .result-grade svg {
4787
  position: absolute;
@@ -4794,14 +4156,12 @@ button[data-counter]::after {
4794
  -moz-border-radius: 50%;
4795
  border-radius: 50%;
4796
  }
4797
-
4798
  .quiz-result .result-grade::before {
4799
  box-sizing: border-box;
4800
  padding: 30px;
4801
  border: 10px solid #ccc;
4802
  content: "";
4803
  }
4804
-
4805
  .quiz-result .result-grade svg {
4806
  -webkit-transform: rotate(-90deg);
4807
  -moz-transform: rotate(-90deg);
@@ -4809,11 +4169,9 @@ button[data-counter]::after {
4809
  -o-transform: rotate(-90deg);
4810
  transform: rotate(-90deg);
4811
  }
4812
-
4813
  .quiz-result .result-grade svg circle {
4814
  stroke: var(--lp-primary-color);
4815
  }
4816
-
4817
  .quiz-result.passed .result-grade svg {
4818
  -webkit-transform: rotate(-90deg);
4819
  -moz-transform: rotate(-90deg);
@@ -4821,11 +4179,9 @@ button[data-counter]::after {
4821
  -o-transform: rotate(-90deg);
4822
  transform: rotate(-90deg);
4823
  }
4824
-
4825
  .quiz-result.passed .result-grade .result-achieved {
4826
  color: #333;
4827
  }
4828
-
4829
  .quiz-result.passed .result-grade .result-message strong {
4830
  color: #4caf50;
4831
  }
@@ -4839,9 +4195,8 @@ button[data-counter]::after {
4839
  _border: 2px solid #d9e0f1;
4840
  background: #fff;
4841
  }
4842
-
4843
- .question .answer-option input[type="radio"],
4844
- .question .answer-option input[type="checkbox"] {
4845
  position: absolute;
4846
  top: 50%;
4847
  margin: -19px 0 0 10px;
@@ -4850,38 +4205,31 @@ button[data-counter]::after {
4850
  -moz-border-radius: 4px;
4851
  border-radius: 4px;
4852
  }
4853
-
4854
- .question .answer-option input[type="radio"]::after,
4855
- .question .answer-option input[type="checkbox"]::after {
4856
  border-color: #d9e0f1;
4857
  }
4858
-
4859
- .question .answer-option input[type="radio"]:disabled,
4860
- .question .answer-option input[type="checkbox"]:disabled {
4861
  border-color: #ddd;
4862
  background: #f9f9f9;
4863
  }
4864
-
4865
- .question .answer-option input[type="radio"]:disabled::after,
4866
- .question .answer-option input[type="checkbox"]:disabled::after {
4867
  border-color: #ddd;
4868
  }
4869
-
4870
- .question .answer-option input[type="radio"]:checked:not(:disabled)::after,
4871
- .question .answer-option input[type="checkbox"]:checked:not(:disabled)::after {
4872
  border-color: #99aee4;
4873
  }
4874
-
4875
- .question .answer-option input[type="radio"] {
4876
  -webkit-border-radius: 50%;
4877
  -moz-border-radius: 50%;
4878
  border-radius: 50%;
4879
  }
4880
-
4881
- .question .answer-option input[type="radio"]::before {
4882
  border-radius: 50%;
4883
  }
4884
-
4885
  .question .answer-option .option-title {
4886
  display: flex;
4887
  width: 100%;
@@ -4897,29 +4245,23 @@ button[data-counter]::after {
4897
  -moz-border-radius: 4px;
4898
  border-radius: 4px;
4899
  }
4900
-
4901
  .question .answer-option .option-title::after {
4902
  display: inline-block;
4903
  visibility: hidden !important;
4904
  content: ".";
4905
  }
4906
-
4907
  .question .answer-option .option-title:hover {
4908
  background: #f9f9f9;
4909
  }
4910
-
4911
  .question .answer-option .option-title::before {
4912
  display: none;
4913
  }
4914
-
4915
  .question .answer-option.answer-correct .option-title {
4916
  border-color: #4caf50;
4917
  }
4918
-
4919
  .question .answer-option.answered-wrong .option-title {
4920
  border-color: #ff6423;
4921
  }
4922
-
4923
  .question .question-title {
4924
  display: block;
4925
  margin-top: 0;
@@ -4929,13 +4271,11 @@ button[data-counter]::after {
4929
  font-weight: normal;
4930
  font-weight: 500;
4931
  }
4932
-
4933
  .question .question-title .edit-link {
4934
  float: right;
4935
  font-size: 14px;
4936
  font-weight: normal;
4937
  }
4938
-
4939
  .question .question-content {
4940
  margin-bottom: 30px;
4941
  color: #666;
@@ -4943,17 +4283,14 @@ button[data-counter]::after {
4943
  font-weight: 300;
4944
  line-height: 26px;
4945
  }
4946
-
4947
  .question .question-content img {
4948
  width: 100%;
4949
  max-width: 100%;
4950
  }
4951
-
4952
  .question .question-response {
4953
  margin-bottom: 10px;
4954
  font-size: 14px;
4955
  }
4956
-
4957
  .question .question-response .label {
4958
  display: inline-block;
4959
  margin: 0 5px 0 0;
@@ -4962,24 +4299,19 @@ button[data-counter]::after {
4962
  color: #fff;
4963
  line-height: 1;
4964
  }
4965
-
4966
  .question .question-response .point {
4967
  display: inline-block;
4968
  }
4969
-
4970
  .question .question-response.correct .label {
4971
  background: #4caf50;
4972
  }
4973
-
4974
  .question .question-response.incorrect .label {
4975
  background: #ff6423;
4976
  }
4977
-
4978
  .question .question-index {
4979
  display: inline-block;
4980
  margin: 0 5px 0 0;
4981
  }
4982
-
4983
  .question .btn-show-hint {
4984
  position: relative;
4985
  margin: 0 0 0 10px;
@@ -4990,13 +4322,11 @@ button[data-counter]::after {
4990
  font-size: 0;
4991
  text-decoration: none;
4992
  }
4993
-
4994
  .question .btn-show-hint::before {
4995
  font-family: "Font Awesome 5 Free";
4996
  font-size: 18px;
4997
  content: "\f059";
4998
  }
4999
-
5000
  .question .btn-show-hint:hover span {
5001
  position: absolute;
5002
  bottom: 100%;
@@ -5012,15 +4342,12 @@ button[data-counter]::after {
5012
  white-space: nowrap;
5013
  text-transform: none;
5014
  }
5015
-
5016
  .question.question-fill_in_blanks .blanks .blank-input-wrap {
5017
  display: inline-block;
5018
  }
5019
-
5020
  .question.question-fill_in_blanks .blanks .blank-block {
5021
  margin-bottom: 20px;
5022
  }
5023
-
5024
  .question.question-fill_in_blanks .blanks .blank-input {
5025
  display: inline-block;
5026
  width: auto;
@@ -5032,27 +4359,22 @@ button[data-counter]::after {
5032
  text-align: center;
5033
  white-space: nowrap;
5034
  }
5035
-
5036
  .question.question-fill_in_blanks .blanks .blank-input br {
5037
  display: none;
5038
  }
5039
-
5040
  .question.question-fill_in_blanks .blanks .blank-input > * {
5041
  display: inline;
5042
  white-space: nowrap;
5043
  }
5044
-
5045
  .question.question-fill_in_blanks .blanks .blank-select {
5046
  display: inline-block;
5047
  height: 30px;
5048
  margin-left: 4px;
5049
  padding: 1px;
5050
  }
5051
-
5052
  .question.question-fill_in_blanks .blanks .blank-fills {
5053
  display: inline-block;
5054
  }
5055
-
5056
  .question.question-fill_in_blanks .blanks .blank-fills code {
5057
  margin: 0 5px;
5058
  padding: 0 6px;
@@ -5062,15 +4384,12 @@ button[data-counter]::after {
5062
  -moz-border-radius: 4px;
5063
  border-radius: 4px;
5064
  }
5065
-
5066
  .question.question-fill_in_blanks .blanks.ordered {
5067
  list-style-position: inside;
5068
  }
5069
-
5070
  .question.question-fill_in_blanks .blanks.one-paragraph {
5071
  line-height: 3;
5072
  }
5073
-
5074
  .lp-sort-bg label.option-title {
5075
  background: rgba(255, 182, 6, 0.68) !important;
5076
  }
@@ -5086,7 +4405,6 @@ button[data-counter]::after {
5086
  color: #FFF;
5087
  padding: 10px;
5088
  }
5089
-
5090
  .learn-press-message.fixed[data-delay-in] {
5091
  display: none;
5092
  }
@@ -5100,21 +4418,17 @@ body.learnpress-page.twentysixteen #primary .lp-entry-content {
5100
  width: auto;
5101
  margin: 0 15%;
5102
  }
5103
-
5104
  body.learnpress-page.twentyfifteen .course-summary-sidebar .widget {
5105
  width: 100%;
5106
  padding: 0;
5107
  }
5108
-
5109
  body.learnpress-page.twentysixteen .entry-footer {
5110
  display: none;
5111
  }
5112
-
5113
  body.learnpress-page.twentysixteen .lp-entry-content {
5114
  float: none;
5115
  width: auto;
5116
  }
5117
-
5118
  body.learnpress-page.twentyseventeen #primary article.type-page {
5119
  width: 100%;
5120
  }
@@ -5135,7 +4449,6 @@ body.learnpress-page.twentyseventeen #primary article.type-page {
5135
  width: auto;
5136
  }
5137
  }
5138
-
5139
  body.twentyseventeen.learnpress-page #primary article.page .entry-header,
5140
  body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
5141
  width: 100%;
@@ -5144,12 +4457,11 @@ body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
5144
 
5145
  @media screen and (min-width: 48em) {
5146
  body.twentyseventeen.learnpress-page #primary article.page .entry-header,
5147
- body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
5148
  width: 100%;
5149
  float: none;
5150
  }
5151
  }
5152
-
5153
  .learn-press-tip {
5154
  display: none;
5155
  margin: 0 5px;
@@ -5160,16 +4472,13 @@ body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
5160
  vertical-align: baseline;
5161
  cursor: pointer;
5162
  }
5163
-
5164
  .learn-press-tip.ready {
5165
  display: inline-block;
5166
  }
5167
-
5168
  .learn-press-tip::before {
5169
  font-family: "Font Awesome 5 Free";
5170
  content: "\f059";
5171
  }
5172
-
5173
  .learn-press-tip:hover {
5174
  opacity: 0.8;
5175
  }
@@ -5188,11 +4497,9 @@ body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
5188
  -moz-border-radius: 3px;
5189
  border-radius: 3px;
5190
  }
5191
-
5192
  .learn-press-tip-floating > * {
5193
  font-size: 12px;
5194
  }
5195
-
5196
  .learn-press-tip-floating .close {
5197
  display: inline-block;
5198
  position: absolute;
@@ -5210,16 +4517,13 @@ body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
5210
  -moz-border-radius: 50%;
5211
  border-radius: 50%;
5212
  }
5213
-
5214
  .learn-press-tip-floating .close::before {
5215
  font-family: "Font Awesome 5 Free";
5216
  content: "\f00d";
5217
  }
5218
-
5219
  .learn-press-tip-floating p {
5220
  margin: 0;
5221
  }
5222
-
5223
  .learn-press-tip-floating::before {
5224
  position: absolute;
5225
  bottom: -6px;
@@ -5236,16 +4540,13 @@ body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
5236
  body.lp-preview.admin-bar #learn-press-content-item {
5237
  top: 32px !important;
5238
  }
5239
-
5240
  body.lp-preview #learn-press-course-curriculum {
5241
  display: none;
5242
  }
5243
-
5244
  body.lp-preview #learn-press-content-item {
5245
  top: 0 !important;
5246
  left: 0 !important;
5247
  }
5248
-
5249
  body.lp-preview #course-item-content-header {
5250
  display: none;
5251
  }
@@ -5268,7 +4569,6 @@ body.lp-preview #course-item-content-header {
5268
  transform: rotate(360deg);
5269
  }
5270
  }
5271
-
5272
  @keyframes rotating4 {
5273
  from {
5274
  -ms-transform: rotate(0deg);
@@ -5285,7 +4585,6 @@ body.lp-preview #course-item-content-header {
5285
  transform: rotate(360deg);
5286
  }
5287
  }
5288
-
5289
  @-webkit-keyframes animation4 {
5290
  from {
5291
  left: -40%;
@@ -5296,7 +4595,6 @@ body.lp-preview #course-item-content-header {
5296
  width: 10%;
5297
  }
5298
  }
5299
-
5300
  @keyframes animation4 {
5301
  from {
5302
  left: -40%;
@@ -5307,7 +4605,6 @@ body.lp-preview #course-item-content-header {
5307
  width: 10%;
5308
  }
5309
  }
5310
-
5311
  #popup_container {
5312
  opacity: 0;
5313
  transform: scale(0.5);
@@ -5316,7 +4613,6 @@ body.lp-preview #course-item-content-header {
5316
  body.confirm #popup_overlay {
5317
  z-index: 999998 !important;
5318
  }
5319
-
5320
  body.confirm #popup_container {
5321
  z-index: 999999 !important;
5322
  max-width: 90% !important;
@@ -5328,11 +4624,9 @@ body.confirm #popup_container {
5328
  -moz-border-radius: 3px;
5329
  border-radius: 3px;
5330
  }
5331
-
5332
  body.confirm #popup_container #popup_title {
5333
  display: none !important;
5334
  }
5335
-
5336
  body.confirm #popup_container #popup_message {
5337
  margin: -10px;
5338
  background: #FFF;
@@ -5341,28 +4635,23 @@ body.confirm #popup_container #popup_message {
5341
  -moz-border-radius: 3px;
5342
  border-radius: 3px;
5343
  }
5344
-
5345
  body.confirm #popup_container .close {
5346
  position: absolute;
5347
  top: 3px;
5348
  right: 10px;
5349
  }
5350
-
5351
  body.confirm #popup_container #popup_panel {
5352
  margin-top: 20px;
5353
  text-align: center;
5354
  }
5355
-
5356
- body.confirm #popup_container #popup_panel button, body.confirm #popup_container #popup_panel input[type="button"], body.confirm #popup_container #popup_panel input[type="submit"] {
5357
  height: 30px;
5358
  line-height: 30px;
5359
  padding: 0 25px;
5360
  }
5361
-
5362
  body.confirm #popup_container #popup_cancel {
5363
  display: none;
5364
  }
5365
-
5366
  body.confirm #popup_container.ready {
5367
  opacity: 1;
5368
  transform: scale(1);
@@ -5380,7 +4669,6 @@ a {
5380
  max-width: 100%;
5381
  margin: 0 auto;
5382
  }
5383
-
5384
  @media (max-width: 1024px) {
5385
  .lp-content-area {
5386
  padding-right: 15px;
@@ -5398,7 +4686,6 @@ a {
5398
  .lp-archive-courses.loading ul.learn-press-courses {
5399
  position: relative;
5400
  }
5401
-
5402
  .lp-archive-courses.loading ul.learn-press-courses::after {
5403
  position: absolute;
5404
  z-index: 3;
@@ -5413,7 +4700,6 @@ a {
5413
  content: "";
5414
  animation: lp-skeleton-loading 1.4s ease infinite;
5415
  }
5416
-
5417
  .lp-archive-courses.loading ul.learn-press-courses::before {
5418
  position: absolute;
5419
  z-index: 2;
@@ -5425,21 +4711,18 @@ a {
5425
  background: #fff;
5426
  content: "";
5427
  }
5428
-
5429
- .lp-archive-courses form[name="search-course"] {
5430
  position: relative;
5431
  margin-bottom: 20px;
5432
  }
5433
-
5434
- .lp-archive-courses form[name="search-course"] .search-course-input {
5435
  width: 100%;
5436
  padding: 12px;
5437
  -webkit-box-sizing: border-box;
5438
  -moz-box-sizing: border-box;
5439
  box-sizing: border-box;
5440
  }
5441
-
5442
- .lp-archive-courses form[name="search-course"] .search-course-button {
5443
  position: absolute;
5444
  top: 1px;
5445
  right: 1px;
@@ -5448,24 +4731,20 @@ a {
5448
  padding: 15px;
5449
  line-height: 1px;
5450
  }
5451
-
5452
  .lp-archive-courses .learn-press-courses-header {
5453
  float: left;
5454
  padding-top: 4px;
5455
  }
5456
-
5457
  .lp-archive-courses .learn-press-courses-header h1 {
5458
  margin: 0;
5459
  font-size: 30px;
5460
  font-weight: 600;
5461
  }
5462
-
5463
  @media (max-width: 767px) {
5464
  .lp-archive-courses .learn-press-courses-header {
5465
  margin-bottom: 20px;
5466
  }
5467
  }
5468
-
5469
  .lp-archive-courses .learn-press-courses {
5470
  clear: both;
5471
  margin: 0 -15px 0 -15px;
@@ -5480,14 +4759,12 @@ a {
5480
  -webkit-flex-wrap: wrap;
5481
  flex-wrap: wrap;
5482
  }
5483
-
5484
  .lp-archive-courses .learn-press-courses .course {
5485
  width: 25%;
5486
  margin: 0 0 60px 0;
5487
  box-shadow: none;
5488
  list-style: none;
5489
  }
5490
-
5491
  .lp-archive-courses .learn-press-courses .course .course-item {
5492
  display: flex;
5493
  flex-direction: column;
@@ -5495,12 +4772,10 @@ a {
5495
  height: 100%;
5496
  transition: all 0.3s;
5497
  }
5498
-
5499
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail {
5500
  overflow: hidden;
5501
  position: relative;
5502
  }
5503
-
5504
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .lp-badge.featured {
5505
  position: absolute;
5506
  z-index: 100;
@@ -5510,12 +4785,10 @@ a {
5510
  text-align: center;
5511
  transform: rotate(-45deg);
5512
  }
5513
-
5514
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail a {
5515
  display: block;
5516
  overflow: hidden;
5517
  }
5518
-
5519
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail .thumbnail {
5520
  margin: 0;
5521
  padding: 0;
@@ -5523,7 +4796,6 @@ a {
5523
  border-radius: unset;
5524
  line-height: unset;
5525
  }
5526
-
5527
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail .thumbnail::before {
5528
  position: absolute;
5529
  z-index: 1;
@@ -5536,7 +4808,6 @@ a {
5536
  content: "";
5537
  transition: all 0.3s;
5538
  }
5539
-
5540
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail .thumbnail img {
5541
  display: block;
5542
  width: 100%;
@@ -5544,7 +4815,6 @@ a {
5544
  transition: all 0.5s ease;
5545
  transform: scale(1);
5546
  }
5547
-
5548
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist {
5549
  position: absolute;
5550
  z-index: 2;
@@ -5554,54 +4824,42 @@ a {
5554
  color: #fff;
5555
  cursor: pointer;
5556
  }
5557
-
5558
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist::before {
5559
  font-family: "Font Awesome 5 Free";
5560
  font-weight: 900;
5561
  content: "\f004";
5562
  }
5563
-
5564
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist .course-wishlist__btn {
5565
  display: none;
5566
  }
5567
-
5568
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist:hover {
5569
  color: var(--lp-primary-color);
5570
  }
5571
-
5572
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail:hover::before {
5573
  opacity: 1;
5574
  }
5575
-
5576
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail:hover .course-thumbnail a img {
5577
  transform: scale(1.05);
5578
  }
5579
-
5580
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail:hover .course-wishlist {
5581
  opacity: 1;
5582
  }
5583
-
5584
  .lp-archive-courses .learn-press-courses .course .course-item:hover .course-thumbnail .thumbnail::before {
5585
  opacity: 1;
5586
  }
5587
-
5588
  .lp-archive-courses .learn-press-courses .course .course-item:hover .course-thumbnail a img {
5589
  transform: scale(1.05);
5590
  }
5591
-
5592
  .lp-archive-courses .learn-press-courses .course .course-item:hover .course-wishlist {
5593
  opacity: 1;
5594
  }
5595
-
5596
  .lp-archive-courses .learn-press-courses .course .course-item .course-wishlist.filled {
5597
  opacity: 1;
5598
  }
5599
-
5600
  .lp-archive-courses .learn-press-courses .course .course-item .course-content {
5601
  position: relative;
5602
  border-top: 0;
5603
  }
5604
-
5605
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink {
5606
  display: -webkit-box;
5607
  clear: both;
@@ -5617,13 +4875,11 @@ a {
5617
  -moz-box-shadow: none;
5618
  box-shadow: none;
5619
  }
5620
-
5621
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink:focus {
5622
  -webkit-box-shadow: none;
5623
  -moz-box-shadow: none;
5624
  box-shadow: none;
5625
  }
5626
-
5627
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink .course-title {
5628
  margin: 0;
5629
  padding: 0;
@@ -5632,29 +4888,24 @@ a {
5632
  font-weight: 600;
5633
  line-height: 24px;
5634
  }
5635
-
5636
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink .course-title:hover {
5637
  color: var(--lp-primary-color);
5638
  }
5639
-
5640
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-review {
5641
  display: none;
5642
  }
5643
-
5644
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories,
5645
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-tags {
5646
  display: block;
5647
  font-size: 14px;
5648
  font-weight: 300;
5649
  }
5650
-
5651
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories {
5652
  float: left;
5653
  position: relative;
5654
  margin-right: 10px;
5655
  margin-bottom: 16px;
5656
  }
5657
-
5658
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories a {
5659
  display: inline-block;
5660
  display: none;
@@ -5662,18 +4913,15 @@ a {
5662
  color: #fff;
5663
  text-decoration: none;
5664
  }
5665
-
5666
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories a:first-child {
5667
  display: block;
5668
  margin-left: 0;
5669
  padding: 2px 16px;
5670
  background: var(--lp-primary-color);
5671
  }
5672
-
5673
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories a:hover {
5674
  color: #333;
5675
  }
5676
-
5677
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories::after {
5678
  position: absolute;
5679
  top: 50%;
@@ -5685,7 +4933,6 @@ a {
5685
  content: "";
5686
  transform: translate(0, -50%);
5687
  }
5688
-
5689
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-instructor {
5690
  float: left;
5691
  margin-bottom: 16px;
@@ -5694,36 +4941,29 @@ a {
5694
  line-height: 25px;
5695
  text-transform: capitalize;
5696
  }
5697
-
5698
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-instructor a {
5699
  color: #059de9;
5700
  }
5701
-
5702
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-instructor a:hover {
5703
  color: var(--lp-primary-color);
5704
  }
5705
-
5706
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info {
5707
  color: #666;
5708
  font-size: 14px;
5709
  font-weight: 300;
5710
  }
5711
-
5712
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info > span {
5713
  display: block;
5714
  }
5715
-
5716
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price {
5717
  float: right;
5718
  }
5719
-
5720
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price .origin-price,
5721
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price .price {
5722
  color: #333;
5723
  font-size: 16px;
5724
  font-weight: 600;
5725
  }
5726
-
5727
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price .origin-price {
5728
  margin-right: 10px;
5729
  color: #666;
@@ -5731,17 +4971,14 @@ a {
5731
  font-weight: 300;
5732
  text-decoration: line-through;
5733
  }
5734
-
5735
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-instructor {
5736
  float: right;
5737
  }
5738
-
5739
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info::after {
5740
  display: block;
5741
  clear: both;
5742
  content: "";
5743
  }
5744
-
5745
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-excerpt {
5746
  display: -webkit-box;
5747
  overflow: hidden;
@@ -5753,16 +4990,13 @@ a {
5753
  -webkit-line-clamp: 2;
5754
  -webkit-box-orient: vertical;
5755
  }
5756
-
5757
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .separator {
5758
  display: none;
5759
  }
5760
-
5761
- .lp-archive-courses .learn-press-courses[data-layout="list"] {
5762
  margin: 0;
5763
  }
5764
-
5765
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course {
5766
  display: flex;
5767
  width: 100%;
5768
  padding: 24px;
@@ -5771,89 +5005,75 @@ a {
5771
  flex-wrap: wrap;
5772
  justify-content: flex-end;
5773
  }
5774
-
5775
  @media (max-width: 767px) {
5776
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course {
5777
  padding: 15px;
5778
  }
5779
  }
5780
-
5781
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item {
5782
  display: flex;
5783
  flex-direction: row;
5784
  width: 100%;
5785
  border: unset;
5786
  justify-content: space-between;
5787
  }
5788
-
5789
  @media (max-width: 767px) {
5790
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item {
5791
  flex-direction: column;
5792
  }
5793
  }
5794
-
5795
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-wrap-thumbnail {
5796
  float: left;
5797
  width: 35.8%;
5798
  }
5799
-
5800
  @media (max-width: 767px) {
5801
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-wrap-thumbnail {
5802
  width: 100%;
5803
  }
5804
  }
5805
-
5806
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content {
5807
  float: right;
5808
- width: calc(100% - 35.8% - 76px);
5809
  padding-top: 5px;
5810
  }
5811
-
5812
  @media (max-width: 1200px) {
5813
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content {
5814
- width: calc(100% - 35.8% - 40px);
5815
  }
5816
  }
5817
-
5818
  @media (max-width: 1200px) {
5819
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content {
5820
- width: calc(100% - 35.8% - 25px);
5821
  }
5822
  }
5823
-
5824
  @media (max-width: 767px) {
5825
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content {
5826
  width: 100%;
5827
  padding-top: 20px;
5828
  }
5829
  }
5830
-
5831
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-categories a {
5832
  position: relative;
5833
  padding: 2px 20px 2px 15px;
5834
  -webkit-clip-path: polygon(0% 0%, 100% 0, 88% 50%, 100% 100%, 0% 100%);
5835
  clip-path: polygon(0% 0%, 100% 0, 88% 50%, 100% 100%, 0% 100%);
5836
  }
5837
-
5838
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-permalink {
5839
  overflow: hidden;
5840
  height: 25px;
5841
  margin-bottom: 5px;
5842
  -webkit-line-clamp: 1;
5843
  }
5844
-
5845
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-permalink .course-title {
5846
  color: #333;
5847
  font-size: 18px;
5848
  font-weight: 600;
5849
  line-height: 24px;
5850
  }
5851
-
5852
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-permalink .course-title:hover {
5853
  color: var(--lp-primary-color);
5854
  }
5855
-
5856
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta {
5857
  display: flex;
5858
  padding-top: 12px;
5859
  padding-bottom: 18px;
@@ -5861,19 +5081,16 @@ a {
5861
  font-size: 14px;
5862
  font-weight: 400;
5863
  }
5864
-
5865
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item {
5866
  padding-right: 28px;
5867
  text-transform: capitalize;
5868
  }
5869
-
5870
  @media (max-width: 1024px) {
5871
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item {
5872
  padding-right: 20px;
5873
  }
5874
  }
5875
-
5876
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item::before {
5877
  position: relative;
5878
  top: -1px;
5879
  margin-right: 8px;
@@ -5881,45 +5098,37 @@ a {
5881
  font-family: "Font Awesome 5 Free";
5882
  font-weight: 900;
5883
  }
5884
-
5885
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item-level::before {
5886
  content: "\f012";
5887
  }
5888
-
5889
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item-duration::before {
5890
  content: "\f017";
5891
  }
5892
-
5893
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item-lesson::before {
5894
  content: "\f0c5";
5895
  }
5896
-
5897
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item-quiz::before {
5898
  content: "\f12e";
5899
  }
5900
-
5901
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item-student::before {
5902
  content: "\f501";
5903
  }
5904
-
5905
  @media (max-width: 815px) {
5906
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta {
5907
  display: grid;
5908
  grid-template-columns: repeat(2, 1fr);
5909
  grid-gap: 15px;
5910
  }
5911
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta .meta-item {
5912
  padding-right: 15px;
5913
  }
5914
  }
5915
-
5916
  @media (max-width: 767px) {
5917
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-wrap-meta {
5918
  grid-template-columns: repeat(3, 1fr);
5919
  }
5920
  }
5921
-
5922
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-tags a {
5923
  margin: 0 10px 10px 0;
5924
  padding: 3px 5px;
5925
  border-radius: 3px;
@@ -5927,33 +5136,27 @@ a {
5927
  background: #e4a2a2;
5928
  line-height: 1;
5929
  }
5930
-
5931
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-footer {
5932
  float: left;
5933
  margin-right: 20px;
5934
  }
5935
-
5936
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-footer .course-students {
5937
  display: none;
5938
  }
5939
-
5940
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-footer .course-price {
5941
  float: unset;
5942
  }
5943
-
5944
  @media (max-width: 767px) {
5945
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-footer {
5946
  margin-bottom: 30px;
5947
  }
5948
  }
5949
-
5950
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-readmore {
5951
  float: right;
5952
  position: relative;
5953
  right: 4px;
5954
  }
5955
-
5956
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-readmore a {
5957
  padding: 9px 24px;
5958
  border-radius: 3px;
5959
  color: #fff;
@@ -5961,41 +5164,35 @@ a {
5961
  font-weight: 400;
5962
  line-height: 1;
5963
  transition: all 0.3s;
 
5964
  }
5965
-
5966
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-readmore a:hover {
5967
  opacity: 0.5;
5968
  background: var(--lp-primary-color);
5969
  }
5970
-
5971
  @media (max-width: 767px) {
5972
- .lp-archive-courses .learn-press-courses[data-layout="list"] .course .course-item .course-content .course-readmore {
5973
  display: flex;
5974
  float: unset;
5975
  clear: both;
5976
  }
5977
  }
5978
-
5979
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course {
5980
  padding: 0 15px;
5981
  }
5982
-
5983
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item:hover {
5984
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.2);
5985
  }
5986
-
5987
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content {
5988
  padding: 15px 20px 12px 20px;
5989
  border: 1px solid #f0f0f0;
5990
  border-top: 0;
5991
  flex-grow: 1;
5992
  }
5993
-
5994
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-instructor {
5995
  margin-bottom: 7px;
5996
  }
5997
-
5998
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-categories {
5999
  float: right;
6000
  position: absolute;
6001
  z-index: 1;
@@ -6003,49 +5200,40 @@ a {
6003
  right: -1px;
6004
  margin-right: 0;
6005
  }
6006
-
6007
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-categories::after {
6008
  display: none;
6009
  }
6010
-
6011
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-categories a {
6012
  position: relative;
6013
  margin: 0;
6014
  padding: 2px 12px 2px 22px;
6015
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 12px 50%);
6016
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 12px 50%);
6017
  }
6018
-
6019
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-permalink {
6020
  height: 48px;
6021
  margin-bottom: 20px;
6022
  }
6023
-
6024
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-wrap-meta {
6025
  display: none;
6026
  }
6027
-
6028
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-info {
6029
  display: flex;
6030
  flex-direction: column;
6031
  flex-grow: 1;
6032
  }
6033
-
6034
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-info .course-excerpt {
6035
  display: none;
6036
  }
6037
-
6038
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-info .course-footer {
6039
  padding-top: 18px;
6040
  border-top: 1px solid rgba(153, 153, 153, 0.2);
6041
  }
6042
-
6043
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-info .course-footer .course-students {
6044
  float: left;
6045
  text-transform: capitalize;
6046
  }
6047
-
6048
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-info .course-footer .course-students::before {
6049
  position: relative;
6050
  top: -1px;
6051
  margin-right: 8px;
@@ -6054,27 +5242,22 @@ a {
6054
  font-weight: 900;
6055
  content: "\f501";
6056
  }
6057
-
6058
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course .course-item .course-content .course-info .course-readmore {
6059
  display: none;
6060
  }
6061
-
6062
  @media (max-width: 992px) {
6063
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course {
6064
  width: 50%;
6065
  }
6066
  }
6067
-
6068
  @media (max-width: 767px) {
6069
- .lp-archive-courses .learn-press-courses[data-layout="grid"] .course {
6070
  width: 100%;
6071
  }
6072
  }
6073
-
6074
  .lp-archive-courses .learn-press-courses[data-size="3"] .course {
6075
  width: 33.3333%;
6076
  }
6077
-
6078
  @media (max-width: 767px) {
6079
  .lp-archive-courses .learn-press-courses[data-size="3"] .course {
6080
  width: 100%;
@@ -6086,7 +5269,6 @@ a {
6086
  float: right;
6087
  margin-bottom: 48px;
6088
  }
6089
-
6090
  @media (max-width: 767px) {
6091
  .lp-courses-bar {
6092
  flex-direction: row;
@@ -6094,7 +5276,6 @@ a {
6094
  justify-content: space-between;
6095
  }
6096
  }
6097
-
6098
  .lp-courses-bar .search-courses {
6099
  position: relative;
6100
  width: 306px;
@@ -6103,8 +5284,7 @@ a {
6103
  line-height: 1;
6104
  flex: 1;
6105
  }
6106
-
6107
- .lp-courses-bar .search-courses input[type="text"] {
6108
  width: 100%;
6109
  height: 44px;
6110
  padding: 6px 32px 6px 18px;
@@ -6115,12 +5295,10 @@ a {
6115
  font-style: italic;
6116
  line-height: 1;
6117
  }
6118
-
6119
- .lp-courses-bar .search-courses input[type="text"]:focus {
6120
  border-color: var(--lp-primary-color);
6121
  outline: 0;
6122
  }
6123
-
6124
  .lp-courses-bar .search-courses button {
6125
  position: absolute;
6126
  top: 50%;
@@ -6135,12 +5313,10 @@ a {
6135
  line-height: 1;
6136
  transform: translate(0, -50%);
6137
  }
6138
-
6139
  .lp-courses-bar .search-courses button:focus {
6140
  border: 0;
6141
  outline: 0;
6142
  }
6143
-
6144
  .lp-courses-bar .search-courses button.loading > i::before {
6145
  display: inline-block;
6146
  font-family: "Font Awesome 5 Free";
@@ -6150,25 +5326,20 @@ a {
6150
  -moz-animation: lp-rotating 1s linear infinite;
6151
  animation: lp-rotating 1s linear infinite;
6152
  }
6153
-
6154
  .lp-courses-bar .search-courses ::-webkit-input-placeholder {
6155
  color: #999;
6156
  }
6157
-
6158
  .lp-courses-bar .search-courses :-ms-input-placeholder {
6159
  color: #999;
6160
  }
6161
-
6162
  .lp-courses-bar .search-courses ::placeholder {
6163
  color: #999;
6164
  }
6165
-
6166
  @media (max-width: 767px) {
6167
  .lp-courses-bar .search-courses {
6168
  width: 100%;
6169
  }
6170
  }
6171
-
6172
  .lp-courses-bar .switch-layout {
6173
  display: flex;
6174
  height: 44px;
@@ -6178,11 +5349,9 @@ a {
6178
  align-items: center;
6179
  justify-content: center;
6180
  }
6181
-
6182
- .lp-courses-bar .switch-layout input[type="radio"] {
6183
  display: none;
6184
  }
6185
-
6186
  .lp-courses-bar .switch-layout .switch-btn {
6187
  display: block;
6188
  width: 40px;
@@ -6196,7 +5365,6 @@ a {
6196
  text-align: center;
6197
  cursor: pointer;
6198
  }
6199
-
6200
  .lp-courses-bar .switch-layout .switch-btn::before {
6201
  display: inline-block;
6202
  margin: 8px 6px;
@@ -6205,96 +5373,83 @@ a {
6205
  font-weight: 900;
6206
  line-height: 1;
6207
  }
6208
-
6209
  .lp-courses-bar .switch-layout .switch-btn.grid::before {
6210
  content: "\f00a";
6211
  }
6212
-
6213
  .lp-courses-bar .switch-layout .switch-btn.list {
6214
  margin-left: 3px;
6215
  }
6216
-
6217
  .lp-courses-bar .switch-layout .switch-btn.list::before {
6218
  content: "\f03a";
6219
  }
6220
 
6221
- input[type="radio"]:nth-child(1):checked ~ .switch-btn:nth-child(2) {
6222
  background: #f5f5f5;
6223
  }
6224
-
6225
- input[type="radio"]:nth-child(1):checked ~ .switch-btn:nth-child(2)::before {
6226
  color: var(--lp-primary-color);
6227
  }
6228
 
6229
- input[type="radio"]:nth-child(3):checked ~ .switch-btn:nth-child(4) {
6230
  background: #f5f5f5;
6231
  }
6232
-
6233
- input[type="radio"]:nth-child(3):checked ~ .switch-btn:nth-child(4)::before {
6234
  color: var(--lp-primary-color);
6235
  }
6236
 
6237
- input[type="radio"]:nth-child(5):checked ~ .switch-btn:nth-child(6) {
6238
  background: #f5f5f5;
6239
  }
6240
-
6241
- input[type="radio"]:nth-child(5):checked ~ .switch-btn:nth-child(6)::before {
6242
  color: var(--lp-primary-color);
6243
  }
6244
 
6245
- input[type="radio"]:nth-child(7):checked ~ .switch-btn:nth-child(8) {
6246
  background: #f5f5f5;
6247
  }
6248
-
6249
- input[type="radio"]:nth-child(7):checked ~ .switch-btn:nth-child(8)::before {
6250
  color: var(--lp-primary-color);
6251
  }
6252
 
6253
- input[type="radio"]:nth-child(9):checked ~ .switch-btn:nth-child(10) {
6254
  background: #f5f5f5;
6255
  }
6256
-
6257
- input[type="radio"]:nth-child(9):checked ~ .switch-btn:nth-child(10)::before {
6258
  color: var(--lp-primary-color);
6259
  }
6260
 
6261
- input[type="radio"]:nth-child(11):checked ~ .switch-btn:nth-child(12) {
6262
  background: #f5f5f5;
6263
  }
6264
-
6265
- input[type="radio"]:nth-child(11):checked ~ .switch-btn:nth-child(12)::before {
6266
  color: var(--lp-primary-color);
6267
  }
6268
 
6269
- input[type="radio"]:nth-child(13):checked ~ .switch-btn:nth-child(14) {
6270
  background: #f5f5f5;
6271
  }
6272
-
6273
- input[type="radio"]:nth-child(13):checked ~ .switch-btn:nth-child(14)::before {
6274
  color: var(--lp-primary-color);
6275
  }
6276
 
6277
- input[type="radio"]:nth-child(15):checked ~ .switch-btn:nth-child(16) {
6278
  background: #f5f5f5;
6279
  }
6280
-
6281
- input[type="radio"]:nth-child(15):checked ~ .switch-btn:nth-child(16)::before {
6282
  color: var(--lp-primary-color);
6283
  }
6284
 
6285
- input[type="radio"]:nth-child(17):checked ~ .switch-btn:nth-child(18) {
6286
  background: #f5f5f5;
6287
  }
6288
-
6289
- input[type="radio"]:nth-child(17):checked ~ .switch-btn:nth-child(18)::before {
6290
  color: var(--lp-primary-color);
6291
  }
6292
 
6293
- input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20) {
6294
  background: #f5f5f5;
6295
  }
6296
-
6297
- input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6298
  color: var(--lp-primary-color);
6299
  }
6300
 
@@ -6310,11 +5465,9 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6310
  color: #fff;
6311
  background: var(--lp-secondary-color);
6312
  }
6313
-
6314
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left {
6315
  width: 70%;
6316
  }
6317
-
6318
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-title {
6319
  margin-bottom: 42px;
6320
  color: #fff;
@@ -6322,19 +5475,15 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6322
  font-weight: 500;
6323
  line-height: 1;
6324
  }
6325
-
6326
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta.course-meta-primary {
6327
  margin-bottom: 36px;
6328
  }
6329
-
6330
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta.course-meta-primary .course-meta__pull-left .meta-item-categories::before {
6331
  font-weight: 400;
6332
  }
6333
-
6334
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta.course-meta-secondary {
6335
  margin-bottom: 0;
6336
  }
6337
-
6338
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item {
6339
  display: flex;
6340
  height: 46px;
@@ -6343,27 +5492,22 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6343
  font-weight: 300;
6344
  text-transform: capitalize;
6345
  }
6346
-
6347
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item span {
6348
  padding-right: 4px;
6349
  }
6350
-
6351
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item:last-child {
6352
  margin-right: 0;
6353
  }
6354
-
6355
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item::before {
6356
  margin-right: 8px;
6357
  color: var(--lp-primary-color);
6358
  font-family: "Font Awesome 5 Free";
6359
  font-weight: 900;
6360
  }
6361
-
6362
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__image {
6363
  margin-right: 10px;
6364
  flex: 0 0 46px;
6365
  }
6366
-
6367
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__image img {
6368
  overflow: hidden;
6369
  position: relative;
@@ -6371,7 +5515,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6371
  height: 46px;
6372
  border-radius: 50%;
6373
  }
6374
-
6375
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value label {
6376
  margin: 0;
6377
  color: #999;
@@ -6379,84 +5522,67 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6379
  font-weight: 300;
6380
  line-height: 1.5;
6381
  }
6382
-
6383
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value > div {
6384
  line-height: 1.5;
6385
  }
6386
-
6387
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value > div a {
6388
  color: #fff;
6389
  font-size: 16px;
6390
  font-weight: 400;
6391
  text-transform: capitalize;
6392
  }
6393
-
6394
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value > div a:hover {
6395
  color: var(--lp-primary-color);
6396
  }
6397
-
6398
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories {
6399
  align-items: center;
6400
  }
6401
-
6402
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories::before {
6403
  margin-right: 10px;
6404
  font-size: 36px;
6405
  content: "\f02e";
6406
  }
6407
-
6408
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories .meta-item__value div span {
6409
  padding: 0 5px;
6410
  }
6411
-
6412
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories .meta-item__value div a:hover {
6413
  color: var(--lp-primary-color);
6414
  }
6415
-
6416
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-review .meta-item__value {
6417
  display: flex;
6418
  flex-direction: column-reverse;
6419
  justify-content: flex-end;
6420
  align-items: flex-end;
6421
  }
6422
-
6423
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-review .meta-item__value .review-stars-rated {
6424
  margin-bottom: 0;
6425
  line-height: 1;
6426
  }
6427
-
6428
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-duration::before {
6429
  content: "\f017";
6430
  }
6431
-
6432
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-level::before {
6433
  content: "\f012";
6434
  }
6435
-
6436
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-lesson::before {
6437
  content: "\f0c5";
6438
  }
6439
-
6440
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-quiz::before {
6441
  content: "\f12e";
6442
  }
6443
-
6444
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-student::before {
6445
  content: "\f501";
6446
  }
6447
-
6448
  @media (max-width: 1024px) {
6449
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item {
6450
  margin-right: 30px;
6451
  }
6452
  }
6453
-
6454
  @media (max-width: 767px) {
6455
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item {
6456
  margin-right: 0;
6457
  }
6458
  }
6459
-
6460
  @media (max-width: 767px) {
6461
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left {
6462
  display: grid;
@@ -6464,97 +5590,80 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6464
  grid-gap: 20px;
6465
  }
6466
  }
6467
-
6468
  @media (max-width: 768px) {
6469
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left {
6470
  width: 100%;
6471
  }
6472
  }
6473
-
6474
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area {
6475
  display: flex;
6476
  flex-direction: row;
6477
  }
6478
-
6479
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .entry-content-left {
6480
  width: calc(100% - 300px);
6481
  max-width: 100%;
6482
  margin: 0;
6483
  padding-right: 40px;
6484
  }
6485
-
6486
  @media (max-width: 768px) {
6487
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .entry-content-left {
6488
  width: 100%;
6489
  padding-right: 0;
6490
  }
6491
  }
6492
-
6493
  @media (max-width: 767px) {
6494
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .entry-content-left {
6495
  width: 100%;
6496
  margin-bottom: 30px;
6497
  }
6498
  }
6499
-
6500
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar {
6501
  width: 300px;
6502
  max-width: 100%;
6503
  margin-top: -272px;
6504
  }
6505
-
6506
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner {
6507
  width: 300px;
6508
  }
6509
-
6510
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .course-sidebar-top {
6511
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.05);
6512
  }
6513
-
6514
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .course-sidebar-secondary {
6515
  margin-top: 30px;
6516
  padding: 0;
6517
  }
6518
-
6519
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist {
6520
  color: #fff;
6521
  background: transparent !important;
6522
  font-size: 0;
6523
  }
6524
-
6525
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist.on, .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist:hover {
6526
  color: var(--lp-primary-color);
6527
  }
6528
-
6529
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist::before {
6530
  font-family: "Font Awesome 5 Free";
6531
  font-size: 26px;
6532
  font-weight: 900;
6533
  content: "\f004";
6534
  }
6535
-
6536
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div {
6537
  overflow: hidden;
6538
  padding: 20px;
6539
  background: #fff;
6540
  }
6541
-
6542
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div ul {
6543
  list-style: none;
6544
  }
6545
-
6546
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div ul li a {
6547
  color: #666;
6548
  font-size: 16px;
6549
  font-weight: 300;
6550
  line-height: 24px;
6551
  }
6552
-
6553
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div ul li a:hover {
6554
  color: var(--lp-primary-color);
6555
  box-shadow: unset;
6556
  }
6557
-
6558
  @media (max-width: 768px) {
6559
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar {
6560
  width: 100%;
@@ -6564,14 +5673,12 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6564
  width: 100%;
6565
  }
6566
  }
6567
-
6568
  @media (max-width: 767px) {
6569
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar {
6570
  width: 100%;
6571
  padding-left: 0;
6572
  }
6573
  }
6574
-
6575
  @media (max-width: 768px) {
6576
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area {
6577
  flex-direction: column;
@@ -6582,12 +5689,10 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6582
  padding: 20px;
6583
  background: #f7f7f7;
6584
  }
6585
-
6586
  .lp_allow_repuchase_select > ul {
6587
  padding: 0;
6588
  list-style: none;
6589
  }
6590
-
6591
  .lp_allow_repuchase_select > a {
6592
  display: inline-block;
6593
  margin-top: 10px;
@@ -6599,73 +5704,59 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6599
  margin-bottom: 35px;
6600
  background: #fff;
6601
  }
6602
-
6603
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-price {
6604
  text-align: center;
6605
  }
6606
-
6607
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-price .origin-price {
6608
  color: #666;
6609
  font-size: 18px;
6610
  font-weight: 300;
6611
  font-style: unset;
6612
  }
6613
-
6614
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-price .price {
6615
  color: #333;
6616
  font-size: 26px;
6617
  font-weight: 500;
6618
  }
6619
-
6620
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .media-preview {
6621
  overflow: hidden;
6622
  position: relative;
6623
  margin: -20px -20px 40px;
6624
  }
6625
-
6626
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .media-preview img {
6627
  max-width: 100%;
6628
  height: auto;
6629
  vertical-align: top;
6630
  }
6631
-
6632
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons {
6633
  margin-bottom: 34px;
6634
  }
6635
-
6636
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons > * {
6637
  margin-bottom: 10px;
6638
  }
6639
-
6640
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons > *:last-child {
6641
  margin-bottom: 0;
6642
  }
6643
-
6644
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons form,
6645
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button {
6646
  width: 100%;
6647
  text-decoration: none;
6648
  }
6649
-
6650
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button {
6651
  font-weight: 500;
6652
  }
6653
-
6654
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button:hover {
6655
  border-color: var(--lp-primary-color);
6656
  }
6657
-
6658
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button.button-enroll-course {
6659
  border-color: var(--lp-primary-color);
6660
  color: #fff;
6661
  background: var(--lp-primary-color);
6662
  }
6663
-
6664
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button.button-enroll-course:hover {
6665
  opacity: 0.5;
6666
  background: var(--lp-primary-color);
6667
  }
6668
-
6669
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button.button-enroll-course.loading::before {
6670
  display: inline-block;
6671
  font-family: "Font Awesome 5 Free";
@@ -6673,7 +5764,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6673
  content: "\f110";
6674
  animation: lp-rotating 1s linear infinite;
6675
  }
6676
-
6677
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button ~ .lp-enroll-notice {
6678
  margin-top: 20px;
6679
  padding: 20px;
@@ -6682,17 +5772,14 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6682
  font-size: 15px;
6683
  line-height: 1.4;
6684
  }
6685
-
6686
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button ~ .lp-enroll-notice.error {
6687
  border-color: #d85554;
6688
  }
6689
-
6690
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time {
6691
  margin-bottom: 28px;
6692
  padding-bottom: 8px;
6693
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
6694
  }
6695
-
6696
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time .course-time-row {
6697
  display: flex;
6698
  color: #666;
@@ -6700,19 +5787,16 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6700
  font-weight: 300;
6701
  justify-content: space-between;
6702
  }
6703
-
6704
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time .course-time-row strong {
6705
  color: #333;
6706
  font-weight: 500;
6707
  }
6708
-
6709
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time .course-time-row time {
6710
  color: #666;
6711
  font-size: 16px;
6712
  font-weight: 300;
6713
  line-height: 24px;
6714
  }
6715
-
6716
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress,
6717
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress {
6718
  display: flex;
@@ -6722,7 +5806,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6722
  justify-content: space-between;
6723
  flex-wrap: wrap;
6724
  }
6725
-
6726
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress__heading,
6727
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress__heading {
6728
  margin: 0;
@@ -6733,7 +5816,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6733
  font-weight: 500;
6734
  flex: 1 1 auto;
6735
  }
6736
-
6737
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress .number,
6738
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress .number {
6739
  display: block;
@@ -6744,13 +5826,11 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6744
  line-height: 16px;
6745
  text-align: right;
6746
  }
6747
-
6748
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress .learn-press-progress,
6749
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress .learn-press-progress {
6750
  clear: both;
6751
  width: 100%;
6752
  }
6753
-
6754
  #learn-press-course .course-summary-sidebar .course-sidebar-preview > *:last-child {
6755
  margin-bottom: 0;
6756
  }
@@ -6758,16 +5838,13 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6758
  .learnpress-page .lp-button.secondary {
6759
  background: #9198ab;
6760
  }
6761
-
6762
  .learnpress-page .lp-button.secondary:hover {
6763
  background: #9ba6c5;
6764
  }
6765
-
6766
  .learnpress-page .lp-button:disabled, .learnpress-page .lp-button[disabled] {
6767
  background: #ddd;
6768
  pointer-events: none;
6769
  }
6770
-
6771
  .learnpress-page:hover {
6772
  text-decoration: none;
6773
  }
@@ -6781,7 +5858,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6781
  font-weight: normal;
6782
  line-height: 1;
6783
  }
6784
-
6785
  #learn-press-course-curriculum .section-title span.show-desc {
6786
  display: inline-block;
6787
  position: absolute;
@@ -6791,14 +5867,12 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6791
  height: 20px;
6792
  transform: translate(0, -50%);
6793
  }
6794
-
6795
  #learn-press-course-curriculum .section-title span.show-desc::before {
6796
  font-family: "Font Awesome 5 Free";
6797
  font-size: 18px;
6798
  font-weight: 900;
6799
  content: "\f107";
6800
  }
6801
-
6802
  #learn-press-course-curriculum .section-title span.show-desc:hover::before {
6803
  border-top-color: #ccc;
6804
  }
@@ -6813,7 +5887,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6813
  left: 0;
6814
  background: #fff;
6815
  }
6816
-
6817
  #popup-course .back-course {
6818
  padding-left: 30px;
6819
  padding-right: 30px;
@@ -6821,11 +5894,9 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6821
  background: rgba(255, 255, 255, 0.1);
6822
  color: #fff;
6823
  }
6824
-
6825
  #popup-course .back-course:hover {
6826
  background: rgba(255, 255, 255, 0.15);
6827
  }
6828
-
6829
  @media (max-width: 768px) {
6830
  #popup-course .back-course {
6831
  background: transparent;
@@ -6839,7 +5910,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6839
  opacity: 1;
6840
  }
6841
  }
6842
-
6843
  #popup-course #popup-header {
6844
  display: flex;
6845
  position: fixed;
@@ -6855,7 +5925,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6855
  -o-transition: left 0.25s;
6856
  transition: left 0.25s;
6857
  }
6858
-
6859
  #popup-course #popup-header .popup-header__inner {
6860
  display: flex;
6861
  width: 792px;
@@ -6863,7 +5932,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6863
  justify-content: space-between;
6864
  align-items: center;
6865
  }
6866
-
6867
  @media (max-width: 1024px) {
6868
  #popup-course #popup-header .popup-header__inner {
6869
  width: 100%;
@@ -6871,20 +5939,17 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6871
  padding-left: 15px;
6872
  }
6873
  }
6874
-
6875
  @media (max-width: 767px) {
6876
  #popup-course #popup-header .popup-header__inner {
6877
  flex-direction: column;
6878
  }
6879
  }
6880
-
6881
  #popup-course #popup-header .popup-header__inner .course-title {
6882
  margin: 0;
6883
  padding: 0;
6884
  line-height: 70px;
6885
  letter-spacing: unset;
6886
  }
6887
-
6888
  #popup-course #popup-header .popup-header__inner .course-title a {
6889
  display: -webkit-box;
6890
  overflow: hidden;
@@ -6895,43 +5960,36 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6895
  -webkit-line-clamp: 1;
6896
  -webkit-box-orient: vertical;
6897
  }
6898
-
6899
  #popup-course #popup-header .popup-header__inner .course-title a:hover {
6900
  color: var(--lp-primary-color);
6901
  }
6902
-
6903
  @media (max-width: 768px) {
6904
  #popup-course #popup-header .popup-header__inner .course-title {
6905
  flex: 1;
6906
  }
6907
  }
6908
-
6909
  #popup-course #popup-header .popup-header__inner .items-progress {
6910
  display: flex;
6911
  justify-content: center;
6912
  align-items: center;
6913
  }
6914
-
6915
  @media (max-width: 768px) {
6916
  #popup-course #popup-header .popup-header__inner .items-progress {
6917
  flex: 1;
6918
  }
6919
  }
6920
-
6921
  @media (max-width: 767px) {
6922
  #popup-course #popup-header .popup-header__inner .items-progress {
6923
  padding-bottom: 20px;
6924
  justify-content: end;
6925
  }
6926
  }
6927
-
6928
  #popup-course #popup-header .popup-header__inner .items-progress .number {
6929
  padding-right: 10px;
6930
  color: #fff;
6931
  font-size: 14px;
6932
  font-weight: 300;
6933
  }
6934
-
6935
  #popup-course #popup-header .lp-button {
6936
  display: flex;
6937
  position: relative;
@@ -6946,28 +6004,22 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6946
  line-height: 40px;
6947
  align-items: center;
6948
  }
6949
-
6950
  #popup-course #popup-header .lp-button:hover {
6951
  opacity: 0.8;
6952
  }
6953
-
6954
  #popup-course #popup-header .lp-button-back {
6955
  float: right;
6956
  margin: 9px 10px;
6957
  }
6958
-
6959
  #popup-course #popup-header .lp-button-back button::before, #popup-course #popup-header .lp-button-back button::after {
6960
  content: "";
6961
  }
6962
-
6963
  #popup-course #popup-header .lp-button-back button::before {
6964
  border: 1px solid #ddd;
6965
  }
6966
-
6967
  #popup-course #popup-header .lp-button-back button::after {
6968
  border: 1px solid #ddd;
6969
  }
6970
-
6971
  #popup-course #popup-sidebar {
6972
  overflow: auto;
6973
  position: relative;
@@ -6979,15 +6031,13 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
6979
  -o-transition: 0.25s;
6980
  transition: 0.25s;
6981
  }
6982
-
6983
  #popup-course #popup-sidebar .search-course {
6984
  display: flex;
6985
  position: relative;
6986
  height: 70px;
6987
  background: #f9fafc;
6988
  }
6989
-
6990
- #popup-course #popup-sidebar .search-course input[name="s"] {
6991
  display: block;
6992
  width: 100%;
6993
  margin: 6px 0;
@@ -7002,52 +6052,40 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7002
  -moz-box-sizing: border-box;
7003
  box-sizing: border-box;
7004
  }
7005
-
7006
- #popup-course #popup-sidebar .search-course input[name="s"]::-webkit-input-placeholder {
7007
  color: #999;
7008
  }
7009
-
7010
- #popup-course #popup-sidebar .search-course input[name="s"]::-moz-placeholder {
7011
  color: #999;
7012
  }
7013
-
7014
- #popup-course #popup-sidebar .search-course input[name="s"]:-ms-input-placeholder {
7015
  color: #999;
7016
  }
7017
-
7018
- #popup-course #popup-sidebar .search-course input[name="s"]:-moz-placeholder {
7019
  color: #999;
7020
  }
7021
-
7022
- #popup-course #popup-sidebar .search-course input[name="s"]::placeholder {
7023
  color: #999;
7024
  }
7025
-
7026
- #popup-course #popup-sidebar .search-course input[name="s"]::-webkit-input-placeholder {
7027
  font-style: italic;
7028
  }
7029
-
7030
- #popup-course #popup-sidebar .search-course input[name="s"]::-moz-placeholder {
7031
  font-style: italic;
7032
  }
7033
-
7034
- #popup-course #popup-sidebar .search-course input[name="s"]:-ms-input-placeholder {
7035
  font-style: italic;
7036
  }
7037
-
7038
- #popup-course #popup-sidebar .search-course input[name="s"]:-moz-placeholder {
7039
  font-style: italic;
7040
  }
7041
-
7042
- #popup-course #popup-sidebar .search-course input[name="s"]::placeholder {
7043
  font-style: italic;
7044
  }
7045
-
7046
- #popup-course #popup-sidebar .search-course input[name="s"]:focus {
7047
  outline: 0;
7048
  color: #222;
7049
  }
7050
-
7051
  #popup-course #popup-sidebar .search-course button {
7052
  position: absolute;
7053
  top: 0;
@@ -7060,7 +6098,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7060
  background: transparent;
7061
  line-height: 1px;
7062
  }
7063
-
7064
  #popup-course #popup-sidebar .search-course button::before {
7065
  color: #666;
7066
  font-family: "Font Awesome 5 Free";
@@ -7068,15 +6105,12 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7068
  font-weight: 900;
7069
  content: "\f002";
7070
  }
7071
-
7072
  #popup-course #popup-sidebar .search-course button.clear {
7073
  display: none;
7074
  }
7075
-
7076
  #popup-course #popup-sidebar .search-course button.clear::before {
7077
  content: "\f00d";
7078
  }
7079
-
7080
  #popup-course #popup-sidebar .search-course .search-results {
7081
  display: none;
7082
  overflow: auto;
@@ -7091,19 +6125,16 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7091
  border-right: 1px solid #d9e0f1;
7092
  background: #fbfcff;
7093
  }
7094
-
7095
  #popup-course #popup-sidebar .search-course .search-results .search-results__item {
7096
  border-bottom: 1px solid #d9e0f1;
7097
  background: #fff;
7098
  }
7099
-
7100
  #popup-course #popup-sidebar .search-course .search-results .search-results__item img {
7101
  position: absolute;
7102
  left: 10px;
7103
  width: 40px;
7104
  height: 40px;
7105
  }
7106
-
7107
  #popup-course #popup-sidebar .search-course .search-results .search-results__item a {
7108
  display: -webkit-box;
7109
  overflow: hidden;
@@ -7116,11 +6147,9 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7116
  -webkit-line-clamp: 1;
7117
  -webkit-box-orient: vertical;
7118
  }
7119
-
7120
  #popup-course #popup-sidebar .search-course .search-results .search-results__item:hover {
7121
  background: #d9e0f1;
7122
  }
7123
-
7124
  #popup-course #popup-sidebar .search-course .search-results .search-results__item-title {
7125
  overflow: hidden;
7126
  margin: 0 0 -2px 0;
@@ -7128,33 +6157,27 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7128
  font-size: 16px;
7129
  font-weight: normal;
7130
  }
7131
-
7132
  #popup-course #popup-sidebar .search-course .search-results .search-results__item-author {
7133
  font-size: 12px;
7134
  }
7135
-
7136
  #popup-course #popup-sidebar .search-course .search-results .course-price {
7137
  position: absolute;
7138
  right: 10px;
7139
  bottom: 10px;
7140
  font-size: 12px;
7141
  }
7142
-
7143
  #popup-course #popup-sidebar .search-course .search-results .course-price .origin-price {
7144
  font-size: smaller;
7145
  text-decoration: line-through;
7146
  }
7147
-
7148
  #popup-course #popup-sidebar .search-course .search-results .search-results__not-found {
7149
  padding: 10px;
7150
  color: #777;
7151
  }
7152
-
7153
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination {
7154
  padding: 10px;
7155
  text-align: center;
7156
  }
7157
-
7158
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination a,
7159
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination span {
7160
  display: inline-block;
@@ -7167,24 +6190,19 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7167
  line-height: 1;
7168
  cursor: pointer;
7169
  }
7170
-
7171
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination span {
7172
  color: #999;
7173
  background: #d9e0f1;
7174
  }
7175
-
7176
  #popup-course #popup-sidebar .search-course.searching .search-results {
7177
  display: block;
7178
  }
7179
-
7180
  #popup-course #popup-sidebar .search-course.searching .clear {
7181
  display: block;
7182
  }
7183
-
7184
  #popup-course #popup-sidebar .search-course.searching button {
7185
  display: none;
7186
  }
7187
-
7188
  #popup-course #popup-sidebar .search-course.searching::after {
7189
  position: absolute;
7190
  z-index: 1;
@@ -7197,7 +6215,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7197
  border-bottom-color: #fff;
7198
  content: "";
7199
  }
7200
-
7201
  #popup-course #popup-sidebar .course-curriculum {
7202
  overflow: auto;
7203
  position: absolute;
@@ -7205,12 +6222,10 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7205
  bottom: 0;
7206
  width: 475px;
7207
  }
7208
-
7209
  #popup-course #popup-sidebar .course-curriculum .section {
7210
  position: relative;
7211
  padding: 0 0 4px 0;
7212
  }
7213
-
7214
  #popup-course #popup-sidebar .course-curriculum .section .circle-progress {
7215
  display: inline-block;
7216
  position: absolute;
@@ -7222,7 +6237,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7222
  border: 3px solid #d9e0f1;
7223
  border-radius: 50%;
7224
  }
7225
-
7226
  #popup-course #popup-sidebar .course-curriculum .section .section-header {
7227
  position: sticky;
7228
  z-index: 1000;
@@ -7230,60 +6244,49 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7230
  height: 94px;
7231
  padding: 38px 20px 20px 20px;
7232
  }
7233
-
7234
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-title {
7235
  padding: 0 0 4px 0;
7236
  color: #000;
7237
  font-size: 20px;
7238
  font-weight: 500;
7239
  }
7240
-
7241
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-title .show-desc::before {
7242
  font-family: "Font Awesome 5 Free";
7243
  font-size: 18px;
7244
  font-weight: 900;
7245
  content: "\f0d7";
7246
  }
7247
-
7248
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-toggle {
7249
  justify-content: flex-end;
7250
  flex: 0;
7251
  }
7252
-
7253
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-toggle i {
7254
  color: #666;
7255
  }
7256
-
7257
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-meta {
7258
  padding-top: 6px;
7259
  padding-bottom: 0;
7260
  }
7261
-
7262
  #popup-course #popup-sidebar .course-curriculum .section .section-content {
7263
  margin-bottom: 0;
7264
  }
7265
-
7266
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item {
7267
  height: 60px;
7268
  margin-bottom: 4px;
7269
  padding: 0 20px;
7270
  background: #f9fafc;
7271
  }
7272
-
7273
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item > span {
7274
  display: none;
7275
  }
7276
-
7277
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link {
7278
  height: 60px;
7279
  line-height: 1;
7280
  }
7281
-
7282
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link::before {
7283
  padding: 12px 0;
7284
  vertical-align: unset;
7285
  }
7286
-
7287
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .item-name {
7288
  display: block;
7289
  width: 100%;
@@ -7291,14 +6294,12 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7291
  font-size: 14px;
7292
  font-weight: 500;
7293
  }
7294
-
7295
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta {
7296
  display: block;
7297
  width: 100%;
7298
  padding: 6px 0 0 0;
7299
  text-align: left;
7300
  }
7301
-
7302
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta {
7303
  padding: 0;
7304
  color: #999;
@@ -7306,54 +6307,43 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7306
  font-size: 12px;
7307
  line-height: 1.5;
7308
  }
7309
-
7310
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta:first-child {
7311
  margin-left: 0;
7312
  padding-left: 17px;
7313
  }
7314
-
7315
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta::before {
7316
  font-size: 12px;
7317
  }
7318
-
7319
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta.course-item-status {
7320
  position: absolute;
7321
  top: 50%;
7322
  right: 18px;
7323
  margin-top: -10px;
7324
  }
7325
-
7326
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item::before {
7327
  top: -1px;
7328
  bottom: -1px;
7329
  height: auto;
7330
  background: transparent;
7331
  }
7332
-
7333
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item::after {
7334
  content: "";
7335
  }
7336
-
7337
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.current {
7338
  background: #eaeaea;
7339
  }
7340
-
7341
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.item-preview .section-item-link .course-item-meta .item-meta::before {
7342
  color: #999;
7343
  }
7344
-
7345
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.has-status.failed .section-item-link .course-item-meta .trans {
7346
  color: #f02425;
7347
  }
7348
-
7349
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.status-completed .section-item-link .course-item-meta .trans {
7350
  color: #3bb54a;
7351
  }
7352
-
7353
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .section-header {
7354
  margin: 0;
7355
  }
7356
-
7357
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message {
7358
  margin: 0;
7359
  padding: 10px;
@@ -7363,7 +6353,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7363
  background: #f5f5f5;
7364
  font-size: 14px;
7365
  }
7366
-
7367
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message::before, #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message::after {
7368
  position: absolute;
7369
  z-index: 9999;
@@ -7379,7 +6368,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7379
  -moz-border-radius: 0;
7380
  border-radius: 0;
7381
  }
7382
-
7383
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message::after {
7384
  z-index: 9998;
7385
  top: -20px;
@@ -7387,14 +6375,12 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7387
  border-width: 10px;
7388
  border-bottom-color: #d9e0f1;
7389
  }
7390
-
7391
  #popup-course #popup-content {
7392
  overflow: auto;
7393
  position: relative;
7394
  margin: 70px 0 50px 0;
7395
  flex: 1;
7396
  }
7397
-
7398
  #popup-course #popup-content .lp-button {
7399
  position: relative;
7400
  margin: 0 10px 0 0;
@@ -7402,16 +6388,13 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7402
  border-color: var(--lp-secondary-color);
7403
  font-size: 14px;
7404
  }
7405
-
7406
  #popup-course #popup-content .lp-button.instant-check .instant-check__icon {
7407
  margin-right: 5px;
7408
  }
7409
-
7410
  #popup-course #popup-content .lp-button.instant-check .instant-check__icon::before {
7411
  font-family: "Font Awesome 5 Free";
7412
  content: "\f058";
7413
  }
7414
-
7415
  #popup-course #popup-content .lp-button.instant-check .instant-check__info {
7416
  visibility: hidden;
7417
  position: absolute;
@@ -7424,7 +6407,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7424
  white-space: nowrap;
7425
  text-transform: none;
7426
  }
7427
-
7428
  #popup-course #popup-content .lp-button.instant-check:hover .instant-check__info {
7429
  visibility: visible;
7430
  position: absolute;
@@ -7437,21 +6419,17 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7437
  background: #eee;
7438
  white-space: nowrap;
7439
  }
7440
-
7441
  #popup-course #popup-content .lp-button.instant-check.loading .instant-check__icon {
7442
  display: inline-block;
7443
  animation: lp-rotating 1s linear infinite;
7444
  }
7445
-
7446
  #popup-course #popup-content .lp-button.instant-check.loading .instant-check__icon::before {
7447
  font-weight: 800;
7448
  content: "\f110";
7449
  }
7450
-
7451
  #popup-course #popup-content .lp-button:hover {
7452
  border-color: var(--lp-primary-color);
7453
  }
7454
-
7455
  #popup-course #popup-content .lp-button.completed {
7456
  display: flex;
7457
  flex-direction: row-reverse;
@@ -7464,25 +6442,21 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7464
  align-items: center;
7465
  justify-content: center;
7466
  }
7467
-
7468
  #popup-course #popup-content .lp-button.completed i {
7469
  margin-left: 9px;
7470
  font-size: 14px;
7471
  }
7472
-
7473
  #popup-course #popup-content #learn-press-content-item .content-item-wrap {
7474
  width: 792px;
7475
  max-width: 100%;
7476
  margin: 0 auto;
7477
  padding: 50px 0 80px 0;
7478
  }
7479
-
7480
  @media (max-width: 1024px) {
7481
  #popup-course #popup-content #learn-press-content-item .content-item-wrap {
7482
  width: 100%;
7483
  }
7484
  }
7485
-
7486
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .course-item-title {
7487
  margin-top: 0;
7488
  margin-bottom: 24px;
@@ -7490,20 +6464,17 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7490
  font-size: 30px;
7491
  font-weight: 600;
7492
  }
7493
-
7494
  @media (max-width: 1024px) {
7495
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .course-item-title {
7496
  padding-right: 15px;
7497
  padding-left: 15px;
7498
  }
7499
  }
7500
-
7501
  @media (max-width: 767px) {
7502
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .course-item-title {
7503
  text-align: center;
7504
  }
7505
  }
7506
-
7507
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description h2,
7508
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description h3,
7509
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description h4,
@@ -7514,7 +6485,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7514
  font-size: 18px;
7515
  letter-spacing: unset;
7516
  }
7517
-
7518
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description p {
7519
  margin: 0 0 18px 0;
7520
  color: #666;
@@ -7522,17 +6492,14 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7522
  font-weight: 300;
7523
  line-height: 26px;
7524
  }
7525
-
7526
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description img {
7527
  max-width: 100%;
7528
  height: auto;
7529
  vertical-align: middle;
7530
  }
7531
-
7532
  #popup-course #popup-content #learn-press-quiz-app {
7533
  margin-bottom: 40px;
7534
  }
7535
-
7536
  #popup-course #popup-content #learn-press-quiz-app .quiz-content {
7537
  margin-bottom: 40px;
7538
  color: #666;
@@ -7540,31 +6507,26 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7540
  font-weight: 300;
7541
  line-height: 26px;
7542
  }
7543
-
7544
  #popup-course #popup-content #learn-press-quiz-app .quiz-content img {
7545
  max-width: 100%;
7546
  height: auto;
7547
  vertical-align: middle;
7548
  }
7549
-
7550
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons {
7551
  display: flex;
7552
  justify-content: center;
7553
  text-align: center;
7554
  }
7555
-
7556
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .button-right .lp-button {
7557
  margin: 0 0 0 15px;
7558
  }
7559
-
7560
- #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type="question-nav"] {
7561
  margin: 0;
7562
  border: 1px solid #d9e0f1;
7563
  color: #777;
7564
  background: #fbfcff;
7565
  }
7566
-
7567
- #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type="question-nav"]::before {
7568
  display: inline-block;
7569
  width: 15px;
7570
  height: 15px;
@@ -7578,8 +6540,7 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7578
  -o-transform: rotate(-45deg);
7579
  transform: rotate(-45deg);
7580
  }
7581
-
7582
- #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type="question-nav"].prev::before {
7583
  margin-left: 7px;
7584
  -webkit-transform: rotate(135deg);
7585
  -moz-transform: rotate(135deg);
@@ -7587,28 +6548,22 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7587
  -o-transform: rotate(135deg);
7588
  transform: rotate(135deg);
7589
  }
7590
-
7591
- #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type="question-nav"].next {
7592
  margin-left: -1px;
7593
  }
7594
-
7595
- #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type="question-nav"].next::before {
7596
  margin-right: 7px;
7597
  }
7598
-
7599
- #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type="question-nav"]:hover {
7600
  background: #fff;
7601
  }
7602
-
7603
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center {
7604
  display: block;
7605
  text-align: center;
7606
  }
7607
-
7608
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center .button-left {
7609
  text-align: center;
7610
  }
7611
-
7612
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center .button-left.fixed {
7613
  position: fixed;
7614
  z-index: 99999;
@@ -7619,30 +6574,24 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7619
  margin-left: 237px;
7620
  transform: translateX(-50%);
7621
  }
7622
-
7623
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center .button-left.nav-center {
7624
  height: 50px;
7625
  margin-left: 0 !important;
7626
  }
7627
-
7628
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.infinity).is-first .prev {
7629
  display: none;
7630
  }
7631
-
7632
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.infinity).is-last .next {
7633
  display: none;
7634
  }
7635
-
7636
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.is-first):not(.is-last) .prev {
7637
  border-top-right-radius: 0;
7638
  border-bottom-right-radius: 0;
7639
  }
7640
-
7641
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.is-first):not(.is-last) .next {
7642
  border-top-left-radius: 0;
7643
  border-bottom-left-radius: 0;
7644
  }
7645
-
7646
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination {
7647
  height: 33px;
7648
  margin-top: 1px;
@@ -7650,11 +6599,9 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7650
  background: #fff;
7651
  text-align: center;
7652
  }
7653
-
7654
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links {
7655
  text-align: center;
7656
  }
7657
-
7658
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers {
7659
  display: inline-block;
7660
  margin: 0;
@@ -7666,7 +6613,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7666
  line-height: 1;
7667
  cursor: pointer;
7668
  }
7669
-
7670
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers.next, #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers.prev {
7671
  display: inline-block;
7672
  padding: 8px;
@@ -7676,19 +6622,15 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7676
  text-decoration: none;
7677
  text-transform: none;
7678
  }
7679
-
7680
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers.current, #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers:hover {
7681
  color: var(--lp-primary-color);
7682
  }
7683
-
7684
  #popup-course #popup-content.fixed-quiz-status .quiz-status {
7685
  background: var(--lp-primary-color);
7686
  }
7687
-
7688
  #popup-course #popup-content.fixed-quiz-status .quiz-status > div {
7689
  padding: 0;
7690
  }
7691
-
7692
  #popup-course #popup-footer {
7693
  position: fixed;
7694
  z-index: 999;
@@ -7706,24 +6648,20 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7706
  -o-transition: left 0.25s;
7707
  transition: left 0.25s;
7708
  }
7709
-
7710
  @media (max-width: 1024px) {
7711
  #popup-course #popup-footer {
7712
  width: 100%;
7713
  padding: 0 15px;
7714
  }
7715
  }
7716
-
7717
  #popup-course #popup-footer .course-item-nav {
7718
  justify-content: space-between;
7719
  }
7720
-
7721
  #popup-course #popup-footer .course-item-nav .prev,
7722
  #popup-course #popup-footer .course-item-nav .next {
7723
  display: flex;
7724
  line-height: 50px;
7725
  }
7726
-
7727
  #popup-course #popup-footer .course-item-nav .prev a,
7728
  #popup-course #popup-footer .course-item-nav .next a {
7729
  display: block;
@@ -7731,7 +6669,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7731
  font-size: 16px;
7732
  font-weight: 300;
7733
  }
7734
-
7735
  #popup-course #popup-footer .course-item-nav .prev::before,
7736
  #popup-course #popup-footer .course-item-nav .next::before {
7737
  color: #999;
@@ -7739,32 +6676,26 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7739
  font-size: 12px;
7740
  font-weight: 900;
7741
  }
7742
-
7743
  #popup-course #popup-footer .course-item-nav .prev:hover a, #popup-course #popup-footer .course-item-nav .prev:hover::before,
7744
  #popup-course #popup-footer .course-item-nav .next:hover a,
7745
  #popup-course #popup-footer .course-item-nav .next:hover::before {
7746
  color: var(--lp-primary-color);
7747
  }
7748
-
7749
  #popup-course #popup-footer .course-item-nav .next {
7750
  flex-direction: row-reverse;
7751
  }
7752
-
7753
  #popup-course #popup-footer .course-item-nav .next::before {
7754
  margin-left: 10px;
7755
  content: "\f0da";
7756
  }
7757
-
7758
  #popup-course #popup-footer .course-item-nav .prev::before {
7759
  margin-right: 10px;
7760
  content: "\f0d9";
7761
  }
7762
-
7763
  #popup-course #popup-footer .course-item-nav .prev .course-item-nav__name {
7764
  right: auto;
7765
  left: -30px;
7766
  }
7767
-
7768
  #popup-course #popup-footer .course-item-nav .course-item-nav__name {
7769
  display: none;
7770
  position: absolute;
@@ -7778,21 +6709,17 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7778
  font-weight: 300;
7779
  line-height: 1;
7780
  }
7781
-
7782
  #popup-course #popup-footer .course-item-nav .next:hover .course-item-nav__name,
7783
  #popup-course #popup-footer .course-item-nav .prev:hover .course-item-nav__name {
7784
  display: block;
7785
  }
7786
-
7787
  #popup-course #popup-footer .course-item-nav .prev .course-item-nav__name::before {
7788
  right: auto;
7789
  left: 5px;
7790
  }
7791
-
7792
- #popup-course #popup-footer .course-item-nav[data-nav="next"] {
7793
  justify-content: flex-end;
7794
  }
7795
-
7796
  #popup-course #sidebar-toggle {
7797
  display: inline-block;
7798
  position: absolute;
@@ -7809,11 +6736,9 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7809
  -webkit-appearance: none;
7810
  border: none;
7811
  }
7812
-
7813
  #popup-course #sidebar-toggle:after {
7814
  display: none;
7815
  }
7816
-
7817
  #popup-course #sidebar-toggle::before {
7818
  display: inline-block;
7819
  position: absolute;
@@ -7827,18 +6752,15 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7827
  transition: 0.25s;
7828
  transform: translate(-50%, -50%);
7829
  }
7830
-
7831
  #popup-course #sidebar-toggle:focus {
7832
  border: 0;
7833
  outline: 0;
7834
  }
7835
-
7836
  #popup-course .lp-quiz-buttons .complete-quiz,
7837
  #popup-course .lp-quiz-buttons .back-quiz,
7838
  #popup-course .lp-quiz-buttons .review-quiz {
7839
  float: right;
7840
  }
7841
-
7842
  #popup-course .quiz-results,
7843
  #popup-course .quiz-content,
7844
  #popup-course .quiz-questions,
@@ -7846,7 +6768,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7846
  #popup-course .quiz-attempts {
7847
  margin-bottom: 60px;
7848
  }
7849
-
7850
  #popup-course .quiz-result .result-grade {
7851
  display: flex;
7852
  flex-direction: column;
@@ -7858,7 +6779,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7858
  justify-content: center;
7859
  align-items: center;
7860
  }
7861
-
7862
  #popup-course .quiz-result .result-grade::before,
7863
  #popup-course .quiz-result .result-grade svg {
7864
  position: absolute;
@@ -7871,14 +6791,12 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7871
  -moz-border-radius: 50%;
7872
  border-radius: 50%;
7873
  }
7874
-
7875
  #popup-course .quiz-result .result-grade::before {
7876
  box-sizing: border-box;
7877
  padding: 30px;
7878
  border: 10px solid #ccc;
7879
  content: "";
7880
  }
7881
-
7882
  #popup-course .quiz-result .result-grade svg {
7883
  -webkit-transform: rotate(-90deg);
7884
  -moz-transform: rotate(-90deg);
@@ -7886,11 +6804,9 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7886
  -o-transform: rotate(-90deg);
7887
  transform: rotate(-90deg);
7888
  }
7889
-
7890
  #popup-course .quiz-result .result-grade svg circle {
7891
  stroke: var(--lp-primary-color);
7892
  }
7893
-
7894
  #popup-course .quiz-result.passed .result-grade svg {
7895
  -webkit-transform: rotate(-90deg);
7896
  -moz-transform: rotate(-90deg);
@@ -7898,19 +6814,15 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7898
  -o-transform: rotate(-90deg);
7899
  transform: rotate(-90deg);
7900
  }
7901
-
7902
  #popup-course .quiz-result.passed .result-grade .result-achieved {
7903
  color: #333;
7904
  }
7905
-
7906
  #popup-course .quiz-result.passed .result-grade .result-message strong {
7907
  color: #4caf50;
7908
  }
7909
-
7910
  #popup-course .quiz-questions .question {
7911
  margin-bottom: 60px;
7912
  }
7913
-
7914
  #popup-course .quiz-questions .lp-fib-content {
7915
  margin-bottom: 20px;
7916
  padding: 20px;
@@ -7918,38 +6830,31 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7918
  border-radius: 6px;
7919
  line-height: 1.6;
7920
  }
7921
-
7922
  #popup-course .quiz-questions .lp-fib-content .lp-fib-input {
7923
  display: inline-block;
7924
  width: auto;
7925
  max-width: none;
7926
  }
7927
-
7928
  #popup-course .quiz-questions .lp-fib-content .lp-fib-input > input {
7929
  height: 36px;
7930
  padding: 6px 16px;
7931
  border: 1px solid #222;
7932
  line-height: 36px;
7933
  }
7934
-
7935
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered {
7936
  padding: 0 10px;
7937
  background: #ececec;
7938
  white-space: nowrap;
7939
  }
7940
-
7941
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered.fail {
7942
  border: 2px solid #d85554;
7943
  }
7944
-
7945
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered.fail .lp-fib-answered__answer {
7946
  text-decoration: line-through;
7947
  }
7948
-
7949
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered.correct {
7950
  border: 2px solid #00adff;
7951
  }
7952
-
7953
  #popup-course .quiz-questions .lp-fib-note {
7954
  display: flex;
7955
  margin-left: 10px;
@@ -7957,29 +6862,25 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7957
  font-weight: 400;
7958
  align-items: center;
7959
  }
7960
-
7961
  #popup-course .quiz-questions .lp-fib-note > span {
7962
  display: inline-block;
7963
  width: 20px;
7964
  height: 20px;
7965
  margin: 0 5px 0 0;
7966
  }
7967
-
7968
  #popup-course .quiz-questions .lp-sorting-choice__check-answer {
7969
  padding: 5px 20px;
7970
  border: 2px solid #059601;
7971
  border-radius: 5px;
7972
  font-size: 1rem;
7973
  }
7974
-
7975
  #popup-course .question .answer-option {
7976
  padding: 0;
7977
  _border: 2px solid #d9e0f1;
7978
  background: #fff;
7979
  }
7980
-
7981
- #popup-course .question .answer-option input[type="radio"],
7982
- #popup-course .question .answer-option input[type="checkbox"] {
7983
  position: absolute;
7984
  top: 50%;
7985
  margin: -19px 0 0 10px;
@@ -7988,38 +6889,31 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
7988
  -moz-border-radius: 4px;
7989
  border-radius: 4px;
7990
  }
7991
-
7992
- #popup-course .question .answer-option input[type="radio"]::after,
7993
- #popup-course .question .answer-option input[type="checkbox"]::after {
7994
  border-color: #d9e0f1;
7995
  }
7996
-
7997
- #popup-course .question .answer-option input[type="radio"]:disabled,
7998
- #popup-course .question .answer-option input[type="checkbox"]:disabled {
7999
  border-color: #ddd;
8000
  background: #f9f9f9;
8001
  }
8002
-
8003
- #popup-course .question .answer-option input[type="radio"]:disabled::after,
8004
- #popup-course .question .answer-option input[type="checkbox"]:disabled::after {
8005
  border-color: #ddd;
8006
  }
8007
-
8008
- #popup-course .question .answer-option input[type="radio"]:checked:not(:disabled)::after,
8009
- #popup-course .question .answer-option input[type="checkbox"]:checked:not(:disabled)::after {
8010
  border-color: #99aee4;
8011
  }
8012
-
8013
- #popup-course .question .answer-option input[type="radio"] {
8014
  -webkit-border-radius: 50%;
8015
  -moz-border-radius: 50%;
8016
  border-radius: 50%;
8017
  }
8018
-
8019
- #popup-course .question .answer-option input[type="radio"]::before {
8020
  border-radius: 50%;
8021
  }
8022
-
8023
  #popup-course .question .answer-option .option-title {
8024
  display: flex;
8025
  width: 100%;
@@ -8035,29 +6929,23 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8035
  -moz-border-radius: 4px;
8036
  border-radius: 4px;
8037
  }
8038
-
8039
  #popup-course .question .answer-option .option-title::after {
8040
  display: inline-block;
8041
  visibility: hidden !important;
8042
  content: ".";
8043
  }
8044
-
8045
  #popup-course .question .answer-option .option-title:hover {
8046
  background: #f9f9f9;
8047
  }
8048
-
8049
  #popup-course .question .answer-option .option-title::before {
8050
  display: none;
8051
  }
8052
-
8053
  #popup-course .question .answer-option.answer-correct .option-title {
8054
  border-color: #4caf50;
8055
  }
8056
-
8057
  #popup-course .question .answer-option.answered-wrong .option-title {
8058
  border-color: #ff6423;
8059
  }
8060
-
8061
  #popup-course .question .question-title {
8062
  display: block;
8063
  margin-top: 0;
@@ -8067,13 +6955,11 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8067
  font-weight: normal;
8068
  font-weight: 500;
8069
  }
8070
-
8071
  #popup-course .question .question-title .edit-link {
8072
  float: right;
8073
  font-size: 14px;
8074
  font-weight: normal;
8075
  }
8076
-
8077
  #popup-course .question .question-content {
8078
  margin-bottom: 30px;
8079
  color: #666;
@@ -8081,7 +6967,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8081
  font-weight: 300;
8082
  line-height: 26px;
8083
  }
8084
-
8085
  #popup-course .question .question-response {
8086
  display: flex;
8087
  align-items: center;
@@ -8089,7 +6974,6 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8089
  margin-bottom: 10px;
8090
  font-size: 14px;
8091
  }
8092
-
8093
  #popup-course .question .question-response .label {
8094
  display: inline-block;
8095
  margin: 0 5px 0 0;
@@ -8098,24 +6982,19 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8098
  color: #fff;
8099
  line-height: 1;
8100
  }
8101
-
8102
  #popup-course .question .question-response .point {
8103
  display: inline-block;
8104
  }
8105
-
8106
  #popup-course .question .question-response.correct .label {
8107
  background: #4caf50;
8108
  }
8109
-
8110
  #popup-course .question .question-response.incorrect .label {
8111
  background: #ff6423;
8112
  }
8113
-
8114
  #popup-course .question .question-index {
8115
  display: inline-block;
8116
  margin: 0 5px 0 0;
8117
  }
8118
-
8119
  #popup-course .question .btn-show-hint {
8120
  position: relative;
8121
  margin: 0 0 0 10px;
@@ -8127,13 +7006,11 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8127
  font-size: 0;
8128
  text-decoration: none;
8129
  }
8130
-
8131
  #popup-course .question .btn-show-hint::before {
8132
  font-family: "Font Awesome 5 Free";
8133
  font-size: 18px;
8134
  content: "\f059";
8135
  }
8136
-
8137
  #popup-course .question .btn-show-hint:hover span {
8138
  position: absolute;
8139
  bottom: 100%;
@@ -8149,15 +7026,12 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8149
  white-space: nowrap;
8150
  text-transform: none;
8151
  }
8152
-
8153
  #popup-course .question.question-fill_in_blanks .blanks .blank-input-wrap {
8154
  display: inline-block;
8155
  }
8156
-
8157
  #popup-course .question.question-fill_in_blanks .blanks .blank-block {
8158
  margin-bottom: 20px;
8159
  }
8160
-
8161
  #popup-course .question.question-fill_in_blanks .blanks .blank-input {
8162
  display: inline-block;
8163
  width: auto;
@@ -8169,27 +7043,22 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8169
  text-align: center;
8170
  white-space: nowrap;
8171
  }
8172
-
8173
  #popup-course .question.question-fill_in_blanks .blanks .blank-input br {
8174
  display: none;
8175
  }
8176
-
8177
  #popup-course .question.question-fill_in_blanks .blanks .blank-input > * {
8178
  display: inline;
8179
  white-space: nowrap;
8180
  }
8181
-
8182
  #popup-course .question.question-fill_in_blanks .blanks .blank-select {
8183
  display: inline-block;
8184
  height: 30px;
8185
  margin-left: 4px;
8186
  padding: 1px;
8187
  }
8188
-
8189
  #popup-course .question.question-fill_in_blanks .blanks .blank-fills {
8190
  display: inline-block;
8191
  }
8192
-
8193
  #popup-course .question.question-fill_in_blanks .blanks .blank-fills code {
8194
  margin: 0 5px;
8195
  padding: 0 6px;
@@ -8199,23 +7068,18 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8199
  -moz-border-radius: 4px;
8200
  border-radius: 4px;
8201
  }
8202
-
8203
  #popup-course .question.question-fill_in_blanks .blanks.ordered {
8204
  list-style-position: inside;
8205
  }
8206
-
8207
  #popup-course .question.question-fill_in_blanks .blanks.one-paragraph {
8208
  line-height: 3;
8209
  }
8210
-
8211
  #popup-course .scrollbar-light > .scroll-element {
8212
  z-index: 9999;
8213
  }
8214
-
8215
  #popup-course .scrollbar-light > .scroll-element.scroll-y {
8216
  display: none;
8217
  }
8218
-
8219
  #popup-course .scrollbar-light > .scroll-element.scroll-y .scroll-bar {
8220
  -webkit-box-sizing: border-box;
8221
  -moz-box-sizing: border-box;
@@ -8225,23 +7089,18 @@ input[type="radio"]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
8225
  body.admin-bar #popup-course {
8226
  top: 32px;
8227
  }
8228
-
8229
  body.lp-sidebar-toggle__close #popup-course > #sidebar-toggle {
8230
  left: 0;
8231
  }
8232
-
8233
  body.lp-sidebar-toggle__close #popup-course > #sidebar-toggle::before {
8234
  content: "\f0da";
8235
  }
8236
-
8237
  body.lp-sidebar-toggle__close #popup-course #popup-sidebar {
8238
  flex: 0 0 0;
8239
  }
8240
-
8241
  body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggle__close #popup-course #popup-footer {
8242
  left: 0;
8243
  }
8244
-
8245
  @media (max-width: 768px) {
8246
  body:not(.lp-sidebar-toggle__open) #popup-course > #sidebar-toggle {
8247
  left: 0;
@@ -8269,18 +7128,18 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8269
  width: 300px;
8270
  }
8271
  #popup-course #popup-header,
8272
- #popup-course #popup-footer {
8273
  left: 300px;
8274
  }
8275
  #popup-course #sidebar-toggle {
8276
  left: 299px;
8277
  }
8278
  }
8279
-
8280
  @media screen and (max-width: 782px) {
8281
  body.admin-bar #popup-course {
8282
  top: 46px;
8283
  }
 
8284
  #popup-course #popup-sidebar {
8285
  flex-basis: 250px;
8286
  }
@@ -8288,7 +7147,7 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8288
  width: 250px;
8289
  }
8290
  #popup-course #popup-header,
8291
- #popup-course #popup-footer {
8292
  left: 250px;
8293
  }
8294
  #popup-course #sidebar-toggle {
@@ -8298,14 +7157,13 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8298
  flex-basis: 0;
8299
  }
8300
  #popup-course #sidebar-toggle:checked ~ #popup-footer,
8301
- #popup-course #sidebar-toggle:checked ~ #popup-header {
8302
  left: 0;
8303
  }
8304
  #popup-course .course-item-meta .item-meta.count-questions, #popup-course .course-item-meta .item-meta.duration {
8305
  display: none;
8306
  }
8307
  }
8308
-
8309
  .lp-overlay {
8310
  display: none;
8311
  position: fixed;
@@ -8325,7 +7183,6 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8325
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header {
8326
  padding: 2em;
8327
  }
8328
-
8329
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
8330
  font-size: 1.4em;
8331
  }
@@ -8343,7 +7200,6 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8343
  align-items: center;
8344
  justify-content: center;
8345
  }
8346
-
8347
  .lp-modal-dialog .lp-modal-content {
8348
  display: inline-block;
8349
  overflow: hidden;
@@ -8356,38 +7212,31 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8356
  background: white;
8357
  color: black;
8358
  }
8359
-
8360
  .lp-modal-dialog .lp-modal-content .lp-modal-header {
8361
  background: #7c60d9;
8362
  border-bottom: 1px solid #eee;
8363
  padding: 1em;
8364
  }
8365
-
8366
  .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
8367
  margin: 0;
8368
  color: white;
8369
  font-size: inherit;
8370
  }
8371
-
8372
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content {
8373
  max-height: 500px;
8374
  overflow: auto;
8375
  }
8376
-
8377
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h3, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h2, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content .pd-2em {
8378
  padding: 0 2em;
8379
  }
8380
-
8381
  .lp-modal-dialog .lp-modal-header {
8382
  padding: 0 20px;
8383
  }
8384
-
8385
  .lp-modal-dialog .lp-modal-footer {
8386
  padding: 10px 20px;
8387
  background-color: #f9fafb;
8388
  text-align: right;
8389
  }
8390
-
8391
  .lp-modal-dialog .btn-yes {
8392
  color: #fff;
8393
  background-color: #7c60d9;
@@ -8418,7 +7267,6 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8418
  -moz-border-radius: 4px;
8419
  border-radius: 4px;
8420
  }
8421
-
8422
  #lp-modal-window #lp-modal-content {
8423
  margin: 0 0 24px 0;
8424
  color: #333;
@@ -8427,36 +7275,30 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8427
  line-height: 26px;
8428
  text-align: center;
8429
  }
8430
-
8431
  #lp-modal-window #lp-modal-content > * {
8432
  margin: 0 0 0.5em;
8433
  }
8434
-
8435
  #lp-modal-window #lp-modal-content #lp-modal-buttons {
8436
  display: flex;
8437
  flex-direction: row-reverse;
8438
  align-items: center;
8439
  justify-content: center;
8440
  }
8441
-
8442
  #lp-modal-window #lp-modal-buttons {
8443
  display: flex;
8444
  flex-direction: row-reverse;
8445
  align-items: center;
8446
  justify-content: center;
8447
  }
8448
-
8449
  #lp-modal-window #lp-modal-buttons .lp-button {
8450
  position: relative;
8451
  margin: 0 10px 0 10px;
8452
  }
8453
-
8454
  .learn-press-comments {
8455
  width: 792px;
8456
  max-width: 100%;
8457
  margin: 0 auto;
8458
  }
8459
-
8460
  @media (max-width: 1024px) {
8461
  .learn-press-comments {
8462
  width: 100%;
@@ -8470,7 +7312,6 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8470
  height: 6px;
8471
  border-radius: 3px;
8472
  }
8473
-
8474
  .learn-press-progress .learn-press-progress__active {
8475
  position: absolute;
8476
  z-index: 1;
@@ -8485,7 +7326,6 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8485
  -o-transition: 0.5s;
8486
  transition: 0.5s;
8487
  }
8488
-
8489
  .learn-press-progress::before {
8490
  display: block;
8491
  position: absolute;
@@ -8500,34 +7340,27 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8500
  .course-curriculum .section-header .section-left {
8501
  display: flex;
8502
  }
8503
-
8504
  .course-curriculum .section-header .section-left .section-title {
8505
  flex: 1;
8506
  }
8507
-
8508
  .course-curriculum .section-header .section-left .section-toggle {
8509
  flex: 0 0 40px;
8510
  align-items: center;
8511
  text-align: center;
8512
  cursor: pointer;
8513
  }
8514
-
8515
  .course-curriculum .section-header .section-left .section-toggle .fa-caret-down {
8516
  display: none;
8517
  }
8518
-
8519
  .course-curriculum .section-header .learn-press-progress {
8520
  width: 80px;
8521
  }
8522
-
8523
  .course-curriculum .section.closed .section-toggle .fa-caret-down {
8524
  display: block;
8525
  }
8526
-
8527
  .course-curriculum .section.closed .section-toggle .fa-caret-up {
8528
  display: none;
8529
  }
8530
-
8531
  .course-curriculum .section.closed .section-content {
8532
  overflow: hidden;
8533
  height: 0;
@@ -8538,7 +7371,6 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8538
  padding: 0;
8539
  list-style: none;
8540
  }
8541
-
8542
  .lp-skeleton-animation > li {
8543
  width: 100%;
8544
  height: 16px;
@@ -8558,11 +7390,10 @@ body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggl
8558
  background-position: 0 50%;
8559
  }
8560
  }
8561
-
8562
- input[type="text"],
8563
- input[type="email"],
8564
- input[type="number"],
8565
- input[type="password"] {
8566
  -webkit-box-sizing: border-box;
8567
  -moz-box-sizing: border-box;
8568
  box-sizing: border-box;
@@ -8574,7 +7405,6 @@ input[type="password"] {
8574
  body {
8575
  background: #fff;
8576
  }
8577
-
8578
  body.learnpress-page {
8579
  overflow-x: hidden;
8580
  }
@@ -8583,7 +7413,6 @@ body.learnpress-page {
8583
  margin-right: -1000px;
8584
  margin-left: -1000px;
8585
  }
8586
-
8587
  .wrap-fullwidth a:focus,
8588
  .wrap-fullwidth button:focus,
8589
  .wrap-fullwidth input:focus,
@@ -8591,40 +7420,32 @@ body.learnpress-page {
8591
  border: 0;
8592
  outline: 0;
8593
  }
8594
-
8595
  .wrap-fullwidth a:hover {
8596
  text-decoration: none;
8597
  }
8598
-
8599
  .wrap-fullwidth p {
8600
  word-break: break-word;
8601
  }
8602
-
8603
  .wrap-fullwidth p:last-child {
8604
  margin-bottom: 0;
8605
  }
8606
-
8607
  .wrap-fullwidth label {
8608
  display: block;
8609
  margin: 0;
8610
  outline: none;
8611
  }
8612
-
8613
  .wrap-fullwidth img {
8614
  max-width: 100%;
8615
  height: auto;
8616
  }
8617
-
8618
  .wrap-fullwidth form {
8619
  margin: 0;
8620
  }
8621
-
8622
  .wrap-fullwidth .col-full {
8623
  box-sizing: border-box;
8624
  max-width: 100%;
8625
  padding: 0;
8626
  }
8627
-
8628
  .wrap-fullwidth .col-full .woocommerce-breadcrumb {
8629
  display: none;
8630
  }
@@ -8653,7 +7474,6 @@ footer {
8653
  padding: 0;
8654
  list-style: none;
8655
  }
8656
-
8657
  .lp-form-fields .form-field {
8658
  margin: 0 0 20px 0;
8659
  list-style: none;
@@ -8664,7 +7484,6 @@ footer {
8664
  max-width: 90%;
8665
  margin: 0 auto;
8666
  }
8667
-
8668
  .lp-content-wrap > h2 {
8669
  margin-top: 0;
8670
  margin-bottom: 26px;
@@ -8683,34 +7502,28 @@ footer {
8683
  font-weight: 500;
8684
  list-style: none;
8685
  }
8686
-
8687
  .learn-press-breadcrumb li {
8688
  display: inline-block;
8689
  margin: 0;
8690
  }
8691
-
8692
  .learn-press-breadcrumb li a {
8693
  color: #666;
8694
  font-weight: 300;
8695
  }
8696
-
8697
  .learn-press-breadcrumb li a:hover {
8698
  color: var(--lp-primary-color);
8699
  }
8700
-
8701
  .learn-press-breadcrumb i {
8702
  margin: 0 5px;
8703
  color: #666;
8704
  font-size: 12px;
8705
  }
8706
-
8707
  @media (max-width: 1024px) {
8708
  .learn-press-breadcrumb {
8709
  padding-right: 15px;
8710
  padding-left: 15px;
8711
  }
8712
  }
8713
-
8714
  .learn-press-breadcrumb a {
8715
  color: #666;
8716
  font-weight: 300;
@@ -8743,14 +7556,12 @@ footer {
8743
  -o-transition: all 0.25s;
8744
  transition: all 0.25s;
8745
  }
8746
-
8747
  .learnpress-page .lp-button.large,
8748
  .learnpress-page #lp-button.large {
8749
  height: 52px;
8750
  padding: 18px 30px;
8751
  font-size: 18px;
8752
  }
8753
-
8754
  .learnpress-page .lp-button.gray,
8755
  .learnpress-page #lp-button.gray {
8756
  position: absolute;
@@ -8760,31 +7571,26 @@ footer {
8760
  padding: 0;
8761
  border: 0;
8762
  }
8763
-
8764
  .learnpress-page .lp-button.gray:hover,
8765
  .learnpress-page #lp-button.gray:hover {
8766
  background: transparent;
8767
  text-decoration: none;
8768
  }
8769
-
8770
  .learnpress-page .lp-button.gray:focus,
8771
  .learnpress-page #lp-button.gray:focus {
8772
  border: 0;
8773
  outline: 0;
8774
  }
8775
-
8776
  .learnpress-page .lp-button:hover,
8777
  .learnpress-page #lp-button:hover {
8778
  border-color: var(--lp-primary-color);
8779
  color: #fff;
8780
  background: var(--lp-primary-color);
8781
  }
8782
-
8783
  .learnpress-page .lp-button.btn-ajax-off .icon,
8784
  .learnpress-page #lp-button.btn-ajax-off .icon {
8785
  display: none;
8786
  }
8787
-
8788
  .learnpress-page .lp-button.btn-ajax-on .icon,
8789
  .learnpress-page #lp-button.btn-ajax-on .icon {
8790
  display: inline-block;
@@ -8793,12 +7599,10 @@ footer {
8793
  -moz-animation: lp-rotating 1s linear infinite;
8794
  animation: lp-rotating 1s linear infinite;
8795
  }
8796
-
8797
  .learnpress-page .lp-button:focus,
8798
  .learnpress-page #lp-button:focus {
8799
  outline: 0;
8800
  }
8801
-
8802
  .learnpress-page .lp-button.loading::before,
8803
  .learnpress-page #lp-button.loading::before {
8804
  display: inline-block;
@@ -8807,7 +7611,6 @@ footer {
8807
  content: "\f110";
8808
  animation: lp-rotating 1s linear infinite;
8809
  }
8810
-
8811
  .learnpress-page .rwmb-field .description {
8812
  margin-top: 8px;
8813
  color: #999;
@@ -8824,7 +7627,6 @@ footer {
8824
  font-size: 15px;
8825
  line-height: 1.4;
8826
  }
8827
-
8828
  .lp-ajax-message.error {
8829
  border-color: #d85554;
8830
  }
@@ -8832,7 +7634,6 @@ footer {
8832
  .course-meta {
8833
  margin-bottom: 14px;
8834
  }
8835
-
8836
  .course-meta .course-students::before {
8837
  font-family: "Font Awesome 5 Free";
8838
  content: "";
@@ -8841,7 +7642,6 @@ footer {
8841
  #learn-press-course-tabs {
8842
  margin-bottom: 40px;
8843
  }
8844
-
8845
  #learn-press-course-tabs.course-tabs {
8846
  margin-top: 54px;
8847
  }
@@ -8859,7 +7659,6 @@ footer {
8859
  .learn-press-progress {
8860
  position: relative;
8861
  }
8862
-
8863
  .learn-press-progress .progress-bg {
8864
  overflow: hidden;
8865
  position: relative;
@@ -8869,7 +7668,6 @@ footer {
8869
  -moz-border-radius: 5px;
8870
  border-radius: 5px;
8871
  }
8872
-
8873
  .learn-press-progress .progress-bg .progress-active {
8874
  position: absolute;
8875
  left: 50%;
@@ -8895,7 +7693,6 @@ footer {
8895
  .table-orders {
8896
  font-size: 16px;
8897
  }
8898
-
8899
  .table-orders th,
8900
  .table-orders td {
8901
  padding: 5px 10px;
@@ -8909,7 +7706,6 @@ footer {
8909
  padding-bottom: 20px;
8910
  text-align: center;
8911
  }
8912
-
8913
  .learn-press-pagination .page-numbers {
8914
  display: inline-block;
8915
  margin: 0;
@@ -8919,13 +7715,11 @@ footer {
8919
  background: transparent;
8920
  list-style: none;
8921
  }
8922
-
8923
  .learn-press-pagination .page-numbers > li {
8924
  display: inline-block;
8925
  margin: 0;
8926
  padding: 0 14px;
8927
  }
8928
-
8929
  .learn-press-pagination .page-numbers > li .page-numbers {
8930
  float: unset;
8931
  padding: 0;
@@ -8934,12 +7728,10 @@ footer {
8934
  font-size: 16px;
8935
  font-weight: 300;
8936
  }
8937
-
8938
  .learn-press-pagination .page-numbers > li .page-numbers.current {
8939
  color: var(--lp-primary-color);
8940
  font-weight: 400;
8941
  }
8942
-
8943
  .learn-press-pagination .page-numbers > li .page-numbers:hover {
8944
  color: var(--lp-primary-color);
8945
  }
@@ -8949,17 +7741,14 @@ ul.list-table-nav {
8949
  margin-left: 0;
8950
  list-style: none;
8951
  }
8952
-
8953
  ul.list-table-nav .nav-text {
8954
  text-align: left;
8955
  flex: 1;
8956
  }
8957
-
8958
  ul.list-table-nav .nav-pages {
8959
  text-align: right;
8960
  flex: 1;
8961
  }
8962
-
8963
  ul.list-table-nav .nav-pages .learn-press-pagination {
8964
  display: inline-block;
8965
  margin-bottom: 0;
@@ -8994,23 +7783,19 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
8994
  .course-item-nav {
8995
  display: flex;
8996
  }
8997
-
8998
  .course-item-nav .prev,
8999
  .course-item-nav .next {
9000
  /* flex: 1;*/
9001
  }
9002
-
9003
  .course-item-nav .prev span,
9004
  .course-item-nav .next span {
9005
  display: block;
9006
  font-weight: bold;
9007
  }
9008
-
9009
  .course-item-nav .prev a,
9010
  .course-item-nav .next a {
9011
  color: #999;
9012
  }
9013
-
9014
  .course-item-nav .next {
9015
  text-align: right;
9016
  }
@@ -9019,7 +7804,6 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9019
  margin-right: 0;
9020
  margin-left: 0;
9021
  }
9022
-
9023
  .content-item-wrap #comments #comment {
9024
  -webkit-box-sizing: border-box;
9025
  -moz-box-sizing: border-box;
@@ -9029,12 +7813,10 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9029
  .course-summary .course-summary-sidebar {
9030
  position: relative;
9031
  }
9032
-
9033
  .course-summary .course-summary-sidebar.slide-down .course-summary-sidebar__inner {
9034
  position: fixed;
9035
  top: 0;
9036
  }
9037
-
9038
  .course-summary .course-summary-sidebar.slide-top .course-summary-sidebar__inner {
9039
  position: absolute;
9040
  }
@@ -9042,16 +7824,13 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9042
  .course-graduation span {
9043
  color: #999;
9044
  }
9045
-
9046
  .course-graduation .icon {
9047
  margin-right: 5px;
9048
  font-size: 20px;
9049
  }
9050
-
9051
  .course-graduation.passed .icon {
9052
  color: #059601;
9053
  }
9054
-
9055
  .course-graduation.error .icon {
9056
  color: #d85554;
9057
  }
@@ -9070,11 +7849,9 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9070
  align-items: center;
9071
  justify-content: center;
9072
  }
9073
-
9074
  .lp-badge::before, .lp-badge::after {
9075
  content: "";
9076
  }
9077
-
9078
  .lp-badge::before {
9079
  display: inline-block;
9080
  position: relative;
@@ -9083,7 +7860,6 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9083
  font-weight: bold;
9084
  line-height: 1;
9085
  }
9086
-
9087
  .lp-badge.featured-course {
9088
  position: absolute;
9089
  z-index: 1;
@@ -9094,18 +7870,16 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9094
  text-align: center;
9095
  transform: rotate(-45deg);
9096
  }
9097
-
9098
  .lp-badge.featured-course::before {
9099
  font-size: 12px;
9100
  text-transform: uppercase;
9101
  content: attr(data-text);
9102
  }
9103
 
9104
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"],
9105
  #learn-press-course-tabs .course-tab-panel {
9106
  display: none;
9107
  }
9108
-
9109
  #learn-press-course-tabs .course-nav label {
9110
  display: block;
9111
  margin: 0;
@@ -9116,120 +7890,93 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9116
  text-transform: capitalize;
9117
  cursor: pointer;
9118
  }
9119
-
9120
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(1):checked ~ .course-tab-panels .course-tab-panel:nth-child(1) {
9121
  display: block;
9122
  }
9123
-
9124
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(1):checked ~ .learn-press-nav-tabs .course-nav:nth-child(1) {
9125
  border-bottom: 0;
9126
  }
9127
-
9128
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(1):checked ~ .learn-press-nav-tabs .course-nav:nth-child(1) label {
9129
  color: var(--lp-primary-color);
9130
  background: #fff;
9131
  }
9132
-
9133
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(2):checked ~ .course-tab-panels .course-tab-panel:nth-child(2) {
9134
  display: block;
9135
  }
9136
-
9137
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(2):checked ~ .learn-press-nav-tabs .course-nav:nth-child(2) {
9138
  border-bottom: 0;
9139
  }
9140
-
9141
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(2):checked ~ .learn-press-nav-tabs .course-nav:nth-child(2) label {
9142
  color: var(--lp-primary-color);
9143
  background: #fff;
9144
  }
9145
-
9146
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(3):checked ~ .course-tab-panels .course-tab-panel:nth-child(3) {
9147
  display: block;
9148
  }
9149
-
9150
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(3):checked ~ .learn-press-nav-tabs .course-nav:nth-child(3) {
9151
  border-bottom: 0;
9152
  }
9153
-
9154
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(3):checked ~ .learn-press-nav-tabs .course-nav:nth-child(3) label {
9155
  color: var(--lp-primary-color);
9156
  background: #fff;
9157
  }
9158
-
9159
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(4):checked ~ .course-tab-panels .course-tab-panel:nth-child(4) {
9160
  display: block;
9161
  }
9162
-
9163
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(4):checked ~ .learn-press-nav-tabs .course-nav:nth-child(4) {
9164
  border-bottom: 0;
9165
  }
9166
-
9167
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(4):checked ~ .learn-press-nav-tabs .course-nav:nth-child(4) label {
9168
  color: var(--lp-primary-color);
9169
  background: #fff;
9170
  }
9171
-
9172
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(5):checked ~ .course-tab-panels .course-tab-panel:nth-child(5) {
9173
  display: block;
9174
  }
9175
-
9176
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(5):checked ~ .learn-press-nav-tabs .course-nav:nth-child(5) {
9177
  border-bottom: 0;
9178
  }
9179
-
9180
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(5):checked ~ .learn-press-nav-tabs .course-nav:nth-child(5) label {
9181
  color: var(--lp-primary-color);
9182
  background: #fff;
9183
  }
9184
-
9185
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(6):checked ~ .course-tab-panels .course-tab-panel:nth-child(6) {
9186
  display: block;
9187
  }
9188
-
9189
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(6):checked ~ .learn-press-nav-tabs .course-nav:nth-child(6) {
9190
  border-bottom: 0;
9191
  }
9192
-
9193
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(6):checked ~ .learn-press-nav-tabs .course-nav:nth-child(6) label {
9194
  color: var(--lp-primary-color);
9195
  background: #fff;
9196
  }
9197
-
9198
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(7):checked ~ .course-tab-panels .course-tab-panel:nth-child(7) {
9199
  display: block;
9200
  }
9201
-
9202
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(7):checked ~ .learn-press-nav-tabs .course-nav:nth-child(7) {
9203
  border-bottom: 0;
9204
  }
9205
-
9206
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(7):checked ~ .learn-press-nav-tabs .course-nav:nth-child(7) label {
9207
  color: var(--lp-primary-color);
9208
  background: #fff;
9209
  }
9210
-
9211
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(8):checked ~ .course-tab-panels .course-tab-panel:nth-child(8) {
9212
  display: block;
9213
  }
9214
-
9215
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(8):checked ~ .learn-press-nav-tabs .course-nav:nth-child(8) {
9216
  border-bottom: 0;
9217
  }
9218
-
9219
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(8):checked ~ .learn-press-nav-tabs .course-nav:nth-child(8) label {
9220
  color: var(--lp-primary-color);
9221
  background: #fff;
9222
  }
9223
-
9224
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(9):checked ~ .course-tab-panels .course-tab-panel:nth-child(9) {
9225
  display: block;
9226
  }
9227
-
9228
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(9):checked ~ .learn-press-nav-tabs .course-nav:nth-child(9) {
9229
  border-bottom: 0;
9230
  }
9231
-
9232
- #learn-press-course-tabs input[name="learn-press-course-tab-radio"]:nth-child(9):checked ~ .learn-press-nav-tabs .course-nav:nth-child(9) label {
9233
  color: var(--lp-primary-color);
9234
  background: #fff;
9235
  }
@@ -9243,7 +7990,6 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9243
  width: 48%;
9244
  }
9245
  }
9246
-
9247
  @media screen and (max-width: 600px) {
9248
  ul.learn-press-courses {
9249
  margin-right: 0;
@@ -9253,3 +7999,6 @@ ul.list-table-nav .nav-pages .learn-press-pagination {
9253
  margin-right: 0;
9254
  }
9255
  }
 
 
 
14
  transform: rotate(360deg);
15
  }
16
  }
 
17
  @keyframes rotating4 {
18
  from {
19
  -ms-transform: rotate(0deg);
30
  transform: rotate(360deg);
31
  }
32
  }
 
33
  @-webkit-keyframes animation4 {
34
  from {
35
  left: -40%;
40
  width: 10%;
41
  }
42
  }
 
43
  @keyframes animation4 {
44
  from {
45
  left: -40%;
50
  width: 10%;
51
  }
52
  }
 
53
  .learn-press-message {
54
  position: relative;
55
  margin: 0 0 20px 0;
59
  border-bottom-left-radius: 5px;
60
  background: #f5f5f5;
61
  }
 
62
  .learn-press-message.icon {
63
  padding-left: 45px;
64
  }
 
65
  .learn-press-message.icon::before {
66
  background: #00adff;
67
  }
 
68
  .learn-press-message.icon::after {
69
  position: absolute;
70
  top: 50%;
83
  vertical-align: baseline;
84
  content: "\f129";
85
  }
 
86
  .learn-press-message::before, .learn-press-message::after {
87
  position: absolute;
88
  top: 0;
89
  content: "";
90
  }
 
91
  .learn-press-message::before {
92
  right: 20px;
93
  width: 20px;
94
  height: 30px;
95
  background: #00adff;
96
  }
 
97
  .learn-press-message::after {
98
  top: 10px;
99
  right: 20px;
102
  border: 10px solid transparent;
103
  border-bottom-color: #f5f5f5;
104
  }
 
105
  .learn-press-message.error {
106
  border-top: 5px solid #d85554;
107
  }
 
108
  .learn-press-message.error::before {
109
  background: #d85554;
110
  }
 
111
  .learn-press-message.error.icon::before {
112
  background: #d85554;
113
  }
 
114
  .learn-press-message.error.icon::after {
115
  background: #d85554;
116
  content: "\f00d";
117
  }
 
118
  .learn-press-message.warning {
119
  border-top: 5px solid #ffc107;
120
  }
 
121
  .learn-press-message.warning::before {
122
  background: #ffc107;
123
  }
 
124
  .learn-press-message.warning.icon::before {
125
  background: #ffc107;
126
  }
 
127
  .learn-press-message.warning.icon::after {
128
  background: #ffc107;
129
  content: "\f00d";
130
  }
 
131
  .learn-press-message.success {
132
  border-top: 5px solid #059601;
133
  }
 
134
  .learn-press-message.success::before {
135
  background: #059601;
136
  }
 
137
  .learn-press-message.success.icon::before {
138
  background: #059601;
139
  }
 
140
  .learn-press-message.success.icon::after {
141
  background: #059601;
142
  content: "\f129";
158
  transform: rotate(360deg);
159
  }
160
  }
 
161
  @-webkit-keyframes lp-rotating {
162
  from {
163
  -webkit-transform: rotate(0deg);
168
  transform: rotate(360deg);
169
  }
170
  }
 
171
  .ajaxload {
172
  display: inline-block;
173
  position: relative;
182
  -moz-animation: lp-rotating 1s linear infinite;
183
  animation: lp-rotating 1s linear infinite;
184
  }
 
185
  .ajaxload::after {
186
  -webkit-border-radius: 50%;
187
  -moz-border-radius: 50%;
203
  width: 32px;
204
  height: 32px;
205
  }
 
206
  .lp-ajaxload-style-1::before, .lp-ajaxload-style-1::after {
207
  position: absolute;
208
  top: 0;
212
  border: 3px solid #ddd;
213
  content: "";
214
  }
 
215
  .lp-ajaxload-style-1::after {
216
  clip: rect(0, 32px, 16px, 16px);
217
  border-color: #2fa7ff;
227
  margin-bottom: 34px;
228
  background: #f1f2f8;
229
  }
 
230
  .learn-press-tabs .learn-press-tabs__checker {
231
  display: none;
232
  }
 
233
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1) {
234
  border-bottom: 0;
235
  background: #fff;
236
  }
 
237
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1) label {
238
  color: #ffb606;
239
  }
 
240
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1) label a {
241
  color: #ffb606;
242
  }
 
243
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1)::before {
244
  background: #ffb606;
245
  }
 
246
  .learn-press-tabs .learn-press-tabs__checker:nth-child(1):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(1)::after {
247
  background: #fff;
248
  }
 
249
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2) {
250
  border-bottom: 0;
251
  background: #fff;
252
  }
 
253
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2) label {
254
  color: #ffb606;
255
  }
 
256
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2) label a {
257
  color: #ffb606;
258
  }
 
259
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2)::before {
260
  background: #ffb606;
261
  }
 
262
  .learn-press-tabs .learn-press-tabs__checker:nth-child(2):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(2)::after {
263
  background: #fff;
264
  }
 
265
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3) {
266
  border-bottom: 0;
267
  background: #fff;
268
  }
 
269
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3) label {
270
  color: #ffb606;
271
  }
 
272
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3) label a {
273
  color: #ffb606;
274
  }
 
275
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3)::before {
276
  background: #ffb606;
277
  }
 
278
  .learn-press-tabs .learn-press-tabs__checker:nth-child(3):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(3)::after {
279
  background: #fff;
280
  }
 
281
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4) {
282
  border-bottom: 0;
283
  background: #fff;
284
  }
 
285
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4) label {
286
  color: #ffb606;
287
  }
 
288
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4) label a {
289
  color: #ffb606;
290
  }
 
291
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4)::before {
292
  background: #ffb606;
293
  }
 
294
  .learn-press-tabs .learn-press-tabs__checker:nth-child(4):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(4)::after {
295
  background: #fff;
296
  }
 
297
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5) {
298
  border-bottom: 0;
299
  background: #fff;
300
  }
 
301
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5) label {
302
  color: #ffb606;
303
  }
 
304
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5) label a {
305
  color: #ffb606;
306
  }
 
307
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5)::before {
308
  background: #ffb606;
309
  }
 
310
  .learn-press-tabs .learn-press-tabs__checker:nth-child(5):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(5)::after {
311
  background: #fff;
312
  }
 
313
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6) {
314
  border-bottom: 0;
315
  background: #fff;
316
  }
 
317
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6) label {
318
  color: #ffb606;
319
  }
 
320
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6) label a {
321
  color: #ffb606;
322
  }
 
323
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6)::before {
324
  background: #ffb606;
325
  }
 
326
  .learn-press-tabs .learn-press-tabs__checker:nth-child(6):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(6)::after {
327
  background: #fff;
328
  }
 
329
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7) {
330
  border-bottom: 0;
331
  background: #fff;
332
  }
 
333
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7) label {
334
  color: #ffb606;
335
  }
 
336
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7) label a {
337
  color: #ffb606;
338
  }
 
339
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7)::before {
340
  background: #ffb606;
341
  }
 
342
  .learn-press-tabs .learn-press-tabs__checker:nth-child(7):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(7)::after {
343
  background: #fff;
344
  }
 
345
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8) {
346
  border-bottom: 0;
347
  background: #fff;
348
  }
 
349
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8) label {
350
  color: #ffb606;
351
  }
 
352
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8) label a {
353
  color: #ffb606;
354
  }
 
355
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8)::before {
356
  background: #ffb606;
357
  }
 
358
  .learn-press-tabs .learn-press-tabs__checker:nth-child(8):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(8)::after {
359
  background: #fff;
360
  }
 
361
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9) {
362
  border-bottom: 0;
363
  background: #fff;
364
  }
 
365
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9) label {
366
  color: #ffb606;
367
  }
 
368
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9) label a {
369
  color: #ffb606;
370
  }
 
371
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9)::before {
372
  background: #ffb606;
373
  }
 
374
  .learn-press-tabs .learn-press-tabs__checker:nth-child(9):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(9)::after {
375
  background: #fff;
376
  }
 
377
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10) {
378
  border-bottom: 0;
379
  background: #fff;
380
  }
 
381
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10) label {
382
  color: #ffb606;
383
  }
 
384
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10) label a {
385
  color: #ffb606;
386
  }
 
387
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10)::before {
388
  background: #ffb606;
389
  }
 
390
  .learn-press-tabs .learn-press-tabs__checker:nth-child(10):checked ~ .learn-press-tabs__nav .learn-press-tabs__tab:nth-child(10)::after {
391
  background: #fff;
392
  }
 
393
  .learn-press-tabs .learn-press-tabs__nav {
394
  display: flex;
395
  margin: 0;
397
  border: 1px solid #e5e7f2;
398
  list-style: none;
399
  }
 
400
  .learn-press-tabs .learn-press-tabs__tab {
401
  position: relative;
402
  margin: 0;
404
  background: #f1f2f8;
405
  list-style: none;
406
  }
 
407
  .learn-press-tabs .learn-press-tabs__tab:last-child {
408
  border-right: 0;
409
  }
 
410
  .learn-press-tabs .learn-press-tabs__tab > label {
411
  display: block;
412
  margin: 0;
417
  text-transform: capitalize;
418
  cursor: pointer;
419
  }
 
420
  .learn-press-tabs .learn-press-tabs__tab > label a {
421
  color: #333;
422
  }
 
423
  .learn-press-tabs .learn-press-tabs__tab > label a:focus {
424
  outline: 0;
425
  text-decoration: none;
426
  }
 
427
  @media (max-width: 767px) {
428
  .learn-press-tabs .learn-press-tabs__tab > label {
429
  padding: 20px 50px 14px 50px;
430
  }
431
  }
 
432
  .learn-press-tabs .learn-press-tabs__tab::before {
433
  position: absolute;
434
  top: -1px;
438
  background: transparent;
439
  content: "";
440
  }
 
441
  .learn-press-tabs .learn-press-tabs__tab::after {
442
  position: absolute;
443
  bottom: -1px;
447
  background: transparent;
448
  content: "";
449
  }
 
450
  .learn-press-tabs .learn-press-tabs__tab:first-child.active label {
451
  position: relative;
452
  }
 
453
  .learn-press-tabs .learn-press-tabs__tab:first-child.active label::before {
454
  position: absolute;
455
  top: 0;
459
  background: #fff;
460
  content: "";
461
  }
 
462
  .learn-press-tabs.stretch .learn-press-tabs__tab {
463
  flex: 1;
464
  }
 
465
  .learn-press-tabs.stretch .learn-press-tabs__tab > label {
466
  padding: 18px 10px;
467
  }
472
  margin-left: 0;
473
  list-style: none;
474
  }
 
475
  @media (max-width: 767px) {
476
  .learn-press-filters {
477
  display: grid;
479
  grid-gap: 15px;
480
  }
481
  }
 
482
  .learn-press-filters > li {
483
  margin: 0;
484
  font-size: 16px;
485
  line-height: 24px;
486
  }
 
487
  .learn-press-filters > li > a,
488
  .learn-press-filters > li > span {
489
  display: inline-block;
490
  font-weight: 600;
491
  }
 
492
  .learn-press-filters > li > span.count {
493
  font-weight: 400;
494
  }
 
495
  .learn-press-filters > li > span.count::before, .learn-press-filters > li > span.count::after {
496
  display: inline-block;
497
  }
 
498
  .learn-press-filters > li > span.count::before {
499
  content: "(";
500
  }
 
501
  .learn-press-filters > li > span.count::after {
502
  content: ")";
503
  }
 
504
  .learn-press-filters > li span {
505
  color: #ffb606;
506
  }
 
507
  .learn-press-filters > li span + span {
508
  color: #ffb606;
509
  }
 
510
  .learn-press-filters > li span + span::before, .learn-press-filters > li span + span::after {
511
  color: #ffb606;
512
  }
 
513
  .learn-press-filters > li a {
514
  color: #333;
515
  }
 
516
  .learn-press-filters > li a + span {
517
  color: #333;
518
  }
 
519
  .learn-press-filters > li a + span::before, .learn-press-filters > li a + span::after {
520
  color: #333;
521
  }
 
522
  .learn-press-filters > li::after {
523
  margin: 0 35px;
524
  color: #ccc;
525
  content: "|";
526
  }
 
527
  @media (max-width: 767px) {
528
  .learn-press-filters > li::after {
529
  display: none;
530
  }
531
  }
 
532
  .learn-press-filters > li:last-child::after {
533
  display: none;
534
  }
541
  width: calc(50% - 30px);
542
  margin: 0 15px 40px 15px;
543
  }
 
544
  .lp-checkout-form__before .lp-checkout-block h4,
545
  .lp-checkout-form__after .lp-checkout-block h4 {
546
  margin-top: 0;
550
  font-weight: 600;
551
  line-height: 1;
552
  }
 
553
  @media (max-width: 815px) {
554
  .lp-checkout-form__before,
555
+ .lp-checkout-form__after {
556
  width: 100%;
557
  margin: 0 0 40px 0;
558
  }
561
  .lp-checkout-form__before {
562
  float: right;
563
  }
 
564
  .lp-checkout-form__before #checkout-order {
565
  width: 100%;
566
  }
568
  #learn-press-checkout-form .lp-checkout-form__after {
569
  float: left;
570
  }
 
571
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields {
572
  padding: 0 0 14px 0;
573
  }
574
+ #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:not([type=checkbox]) {
 
575
  width: 100%;
576
  height: 43px;
577
  padding: 0 22px;
583
  font-style: italic;
584
  line-height: 43px;
585
  }
586
+ #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:not([type=checkbox]):focus {
 
587
  border-color: var(--lp-primary-color);
588
  outline: 0;
589
  color: #222;
590
  }
 
591
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input ::placeholder {
592
  opacity: 1;
593
  color: #999;
594
  }
 
595
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input :-ms-input-placeholder {
596
  color: #999;
597
  }
 
598
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input ::-ms-input-placeholder {
599
  color: #999;
600
  }
 
601
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:-webkit-autofill,
602
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:-webkit-autofill:hover,
603
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-form-fields .form-field .rwmb-input input:-webkit-autofill:focus {
604
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
605
  -webkit-text-fill-color: #999 !important;
606
  }
 
607
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember {
608
  letter-spacing: 0;
609
  }
 
610
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label {
611
  width: auto;
612
  color: #666;
614
  font-weight: 300;
615
  line-height: 26px;
616
  }
617
+ #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label input[type=checkbox] {
 
618
  position: relative;
619
  top: 3px;
620
  width: 19px;
624
  cursor: pointer;
625
  -webkit-appearance: none;
626
  }
627
+ #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label input[type=checkbox]:focus {
 
628
  outline: 0;
629
  }
630
+ #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember label input[type=checkbox]:checked::after {
 
631
  position: absolute;
632
  top: 2px;
633
  left: 2px;
638
  line-height: 1;
639
  content: "\f00c";
640
  }
 
641
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember a {
642
  color: #666;
643
  font-size: 16px;
646
  text-decoration: underline;
647
  text-decoration-color: #ccc;
648
  }
 
649
  #learn-press-checkout-form .lp-checkout-form__after .lp-checkout-block .lp-checkout-remember a:hover {
650
  color: var(--lp-primary-color);
651
  text-decoration-color: var(--lp-primary-color);
654
  #learn-press-checkout-form {
655
  margin: 0 -15px;
656
  }
 
657
  @media (max-width: 815px) {
658
  #learn-press-checkout-form {
659
  display: flex;
661
  margin: 0;
662
  }
663
  }
 
664
  #learn-press-checkout-form #btn-checkout-account-switch-to-guest {
665
  margin-bottom: 60px;
666
  }
 
667
  #learn-press-checkout-form .description {
668
  float: left;
669
  }
 
670
  #learn-press-checkout-form a {
671
  color: #41abec;
672
  }
 
673
  #learn-press-checkout-form a label {
674
  display: inline-block;
675
  color: inherit;
676
  font-weight: normal;
677
  cursor: pointer;
678
  }
 
679
  #learn-press-checkout-form a:hover {
680
  color: #ffb606;
681
  }
 
682
  #learn-press-checkout-form #checkout-account-guest {
683
  width: 100%;
684
  margin-bottom: 35px;
685
  padding-bottom: 19px;
686
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
687
  }
 
688
  #learn-press-checkout-form #checkout-account-guest .lp-form-fields,
689
  #learn-press-checkout-form #checkout-account-guest .form-field {
690
  margin-bottom: 0;
691
  padding-bottom: 0;
692
  }
 
693
  #learn-press-checkout-form div.lp-guest-checkout-output {
694
  margin-top: 10px;
695
  padding: 8px 20px;
698
  font-size: 16px;
699
  transition: all 0.2s ease;
700
  }
 
701
  #learn-press-checkout-form label.lp-guest-checkout-output {
702
  margin-top: 10px;
703
  cursor: pointer;
704
  user-select: none;
705
  }
 
706
  #learn-press-checkout-form .lp-guest-checkout-notice {
707
  margin: 30px 0 0 0;
708
  }
 
709
  #learn-press-checkout-form .lp-guest-switch-login {
710
  margin-top: 1em;
711
  color: #666;
712
  font-size: 16px;
713
  font-weight: 400;
714
  }
715
+ #learn-press-checkout-form input[name=checkout-account-switch-form] {
 
716
  display: none;
717
  }
718
+ #learn-press-checkout-form input[name=checkout-account-switch-form]:not(:checked) + .lp-checkout-block {
 
719
  display: none;
720
  overflow: hidden;
721
  height: 0;
724
  border: 0;
725
  opacity: 0;
726
  }
727
+ #learn-press-checkout-form input[name=checkout-account-switch-form]:not(:checked) + .lp-checkout-block > * {
 
728
  overflow: hidden;
729
  height: 0;
730
  }
731
+ #learn-press-checkout-form input[name=checkout-account-switch-form]:checked + .lp-checkout-block {
 
732
  display: block;
733
  overflow: auto;
734
  height: auto;
735
  }
736
+ #learn-press-checkout-form input[name=checkout-account-switch-form][value=guest]:checked ~ #btn-checkout-account-switch-to-guest {
 
737
  display: none;
738
  }
 
739
  #learn-press-checkout-form::after {
740
  display: block;
741
  clear: both;
742
  content: "";
743
  }
 
744
  #learn-press-checkout-form:focus {
745
  outline: 0;
746
  }
750
  border: 1px solid #ccc;
751
  border-radius: 4px;
752
  }
 
753
  #checkout-order .lp-checkout-order__inner table {
754
  width: 100%;
755
  margin: 0;
756
  border: 0;
757
  }
 
758
  #checkout-order .lp-checkout-order__inner td,
759
  #checkout-order .lp-checkout-order__inner th {
760
  box-sizing: content-box;
767
  text-align: left;
768
  vertical-align: inherit;
769
  }
 
770
  #checkout-order .lp-checkout-order__inner td:last-child,
771
  #checkout-order .lp-checkout-order__inner th:last-child {
772
  padding-right: 0;
773
  }
 
774
  #checkout-order .lp-checkout-order__inner .course-thumbnail {
775
  width: 100px;
776
  padding: 20px 13px 18px 0;
777
  }
 
778
  #checkout-order .lp-checkout-order__inner .course-thumbnail > img {
779
  width: 100px;
780
  max-width: 100% !important;
781
  height: auto !important;
782
  }
 
783
  #checkout-order .lp-checkout-order__inner .course-name {
784
  font-size: 16px;
785
  font-weight: 600;
786
  line-height: 26px;
787
  }
 
788
  #checkout-order .lp-checkout-order__inner .course-name a {
789
  display: -webkit-box;
790
  overflow: hidden;
792
  -webkit-line-clamp: 1;
793
  -webkit-box-orient: vertical;
794
  }
 
795
  #checkout-order .lp-checkout-order__inner .course-name a:hover {
796
  color: var(--lp-primary-color);
797
  }
 
798
  #checkout-order .lp-checkout-order__inner .col-number {
799
  min-width: 50px;
800
  color: #666;
803
  line-height: 26px;
804
  text-align: right;
805
  }
 
806
  #checkout-order .lp-checkout-order__inner .order-total > th {
807
  padding: 24px 20px 24px 0;
808
  }
 
809
  #checkout-order .lp-checkout-order__inner .order-total .col-number {
810
  color: #333;
811
  font-size: 26px;
812
  }
 
813
  #checkout-order .lp-checkout-order__inner tfoot .cart-subtotal {
814
  color: #666;
815
  font-size: 16px;
816
  font-weight: 600;
817
  line-height: 26px;
818
  }
 
819
  #checkout-order .lp-checkout-order__inner tfoot .cart-subtotal > th {
820
  padding: 20px 20px 17px 0;
821
  }
 
822
  #checkout-order .lp-checkout-order__inner tfoot .order-total th {
823
  color: #333;
824
  font-size: 16px;
825
  font-weight: 600;
826
  line-height: 26px;
827
  }
 
828
  #checkout-order .lp-checkout-order__inner tfoot tr:last-child {
829
  border-width: 0;
830
  }
 
831
  #checkout-order .lp-checkout-order__inner tfoot tr:last-child td,
832
  #checkout-order .lp-checkout-order__inner tfoot tr:last-child th {
833
  border-width: 0;
840
  padding-bottom: 19px;
841
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
842
  }
 
843
  #checkout-account-register .form-field .rwmb-label,
844
  #checkout-account-register .form-field .rwmb-input .description,
845
  #checkout-account-login .form-field .rwmb-label,
846
  #checkout-account-login .form-field .rwmb-input .description {
847
  display: none;
848
  }
 
849
  #checkout-account-register .lp-checkout-remember label,
850
  #checkout-account-login .lp-checkout-remember label {
851
  display: inline-block;
852
  /*font-weight: normal;
853
+ color: inherit;*/
854
  }
 
855
  #checkout-account-register .lp-checkout-remember a,
856
  #checkout-account-login .lp-checkout-remember a {
857
  float: right;
858
  }
 
859
  #checkout-account-register .lp-checkout-sign-in-link,
860
  #checkout-account-register .lp-checkout-sign-up-link,
861
  #checkout-account-login .lp-checkout-sign-in-link,
866
  font-size: 16px;
867
  font-weight: 400;
868
  }
 
869
  #checkout-account-register .lp-checkout-sign-in-link a,
870
  #checkout-account-register .lp-checkout-sign-up-link a,
871
  #checkout-account-login .lp-checkout-sign-in-link a,
874
  color: #41abec;
875
  cursor: pointer;
876
  }
 
877
  #checkout-account-register .lp-checkout-sign-in-link a:hover,
878
  #checkout-account-register .lp-checkout-sign-up-link a:hover,
879
  #checkout-account-login .lp-checkout-sign-in-link a:hover,
880
  #checkout-account-login .lp-checkout-sign-up-link a:hover {
881
  color: var(--lp-primary-color);
882
  }
 
883
  #checkout-account-register .lp-checkout-sign-in-link a label,
884
  #checkout-account-register .lp-checkout-sign-up-link a label,
885
  #checkout-account-login .lp-checkout-sign-in-link a label,
895
  width: 100%;
896
  margin-bottom: 25px;
897
  }
 
898
  #checkout-payment h4 {
899
  margin-bottom: 24px;
900
  }
 
901
  #checkout-payment .secure-connection {
902
  float: right;
903
  margin-top: 5px;
905
  font-size: 12px;
906
  font-weight: normal;
907
  }
 
908
  #checkout-payment .secure-connection i {
909
  margin-right: 5px;
910
  color: #ccc;
911
  font-size: 18px;
912
  }
 
913
  @media (max-width: 767px) {
914
  #checkout-payment .secure-connection {
915
  margin-top: 0;
916
  }
917
  }
 
918
  #checkout-payment .payment-methods {
919
  margin: 0 0 24px 0;
920
  padding: 0;
921
  list-style: none;
922
  }
 
923
  #checkout-payment .payment-methods .lp-payment-method {
924
  position: relative;
925
  margin: 0;
926
  }
 
927
  #checkout-payment .payment-methods .lp-payment-method > label {
928
  display: flex;
929
  align-items: center;
930
  }
 
931
  #checkout-payment .payment-methods .lp-payment-method .gateway-input,
932
  #checkout-payment .payment-methods .lp-payment-method .gateway-icon {
933
  vertical-align: middle;
934
  }
 
935
  #checkout-payment .payment-methods .lp-payment-method .gateway-icon {
936
  max-height: 32px;
937
  }
 
938
  #checkout-payment .payment-methods .lp-payment-method .gateway-input {
939
  position: relative;
940
  width: 20px;
947
  -moz-border-radius: 50%;
948
  border-radius: 50%;
949
  }
 
950
  #checkout-payment .payment-methods .lp-payment-method .gateway-input::before {
951
  position: absolute;
952
  top: 50%;
959
  -moz-border-radius: 50%;
960
  border-radius: 50%;
961
  }
 
962
  #checkout-payment .payment-methods .lp-payment-method .gateway-input:checked::before {
963
  content: "";
964
  }
 
965
  #checkout-payment .payment-methods .lp-payment-method .gateway-input:focus {
966
  outline: 0;
967
  }
 
968
  #checkout-payment #checkout-order-action button {
969
  width: 100%;
970
  border-color: var(--lp-primary-color);
972
  background: var(--lp-primary-color);
973
  font-weight: 500;
974
  }
 
975
  #checkout-payment #checkout-order-action button:hover {
976
  border-color: var(--lp-primary-color);
977
  opacity: 0.5;
978
  background: var(--lp-primary-color);
979
  }
 
980
  #checkout-payment #checkout-order-action button.loading::before {
981
  display: inline-block;
982
  font-family: "Font Awesome 5 Free";
993
  font-weight: 300;
994
  line-height: 26px;
995
  }
 
996
  .lp-terms-and-conditions a {
997
  color: #41abec;
998
  }
 
999
  .lp-terms-and-conditions a:hover {
1000
  color: var(--lp-primary-color);
1001
  }
1013
  padding: 0;
1014
  list-style: none;
1015
  }
 
1016
  #learn-press-checkout .payment-methods .lp-payment-method {
1017
  margin-bottom: 20px;
1018
  }
 
1019
  #learn-press-checkout .payment-methods .lp-payment-method > label {
1020
  display: flex;
1021
  flex-flow: row nowrap;
1024
  line-height: 40px;
1025
  cursor: pointer;
1026
  }
 
1027
  #learn-press-checkout .payment-methods .lp-payment-method > label img {
1028
  vertical-align: middle;
1029
  }
 
1030
  #learn-press-checkout .payment-methods .lp-payment-method.selected > label {
1031
  background: #d4d4d4;
1032
  }
 
1033
  #learn-press-checkout .payment-methods .payment-method-form {
1034
  display: none;
1035
  padding: 15px 20px;
1036
  border-top: 1px solid #ddd;
1037
  background: #f9f9f9;
1038
  }
 
1039
  #learn-press-checkout-login,
1040
  #learn-press-checkout-register {
1041
  margin-bottom: 1.5em;
1053
  #checkout-form-register {
1054
  _display: none;
1055
  }
 
1056
  #checkout-form-login .learn-press-form-register,
1057
  #checkout-form-login .learn-press-form-login,
1058
  #checkout-form-register .learn-press-form-register,
1063
  #checkout-guest-email {
1064
  margin: 0 0 20px 0;
1065
  }
 
1066
  #checkout-guest-email .form-heading {
1067
  margin: 0;
1068
  }
1071
  margin: 0;
1072
  list-style: none;
1073
  }
 
1074
  #checkout-guest-email #checkout-existing-account,
1075
  #checkout-guest-email #checkout-new-account {
1076
  display: none;
1077
  margin: 0;
1078
  }
 
1079
  #checkout-guest-email.email-exists #checkout-existing-account {
1080
  display: block;
1081
  }
 
1082
  #checkout-guest-email.email-exists #checkout-new-account {
1083
  display: none;
1084
  }
1087
  width: 100%;
1088
  margin-bottom: 20px;
1089
  }
 
1090
  .lp-list-table th,
1091
  .lp-list-table td {
1092
  padding: 20px;
1097
  line-height: 1;
1098
  text-align: left;
1099
  }
 
1100
  @media (max-width: 767px) {
1101
  .lp-list-table th,
1102
+ .lp-list-table td {
1103
  padding: 15px;
1104
  }
1105
  }
 
1106
  .lp-list-table thead {
1107
  box-sizing: border-box;
1108
  border: 1px solid #e5e7f2;
1109
  }
 
1110
  .lp-list-table thead tr th {
1111
  height: 60px;
1112
  border-bottom: none;
1114
  background: #f1f2f8;
1115
  font-size: 18px;
1116
  }
 
1117
  .lp-list-table tbody,
1118
  .lp-list-table tfoot {
1119
  box-sizing: border-box;
1120
  border: 1px solid rgba(204, 204, 204, 0.3);
1121
  border-top: 0;
1122
  }
 
1123
  .lp-list-table tbody tr td,
1124
  .lp-list-table tbody tr th,
1125
  .lp-list-table tfoot tr td,
1130
  font-size: 16px;
1131
  font-weight: 300;
1132
  }
 
1133
  .lp-list-table tbody tr td a,
1134
  .lp-list-table tbody tr th a,
1135
  .lp-list-table tfoot tr td a,
1138
  color: #666;
1139
  text-decoration: none;
1140
  }
 
1141
  .lp-list-table tbody tr td a:hover,
1142
  .lp-list-table tbody tr th a:hover,
1143
  .lp-list-table tfoot tr td a:hover,
1144
  .lp-list-table tfoot tr th a:hover {
1145
  color: var(--lp-primary-color);
1146
  }
 
1147
  .lp-list-table tbody tr .column-status .result-percent,
1148
  .lp-list-table tfoot tr .column-status .result-percent {
1149
  font-weight: 500;
1150
  }
 
1151
  .lp-list-table tbody tr .column-status .lp-label,
1152
  .lp-list-table tfoot tr .column-status .lp-label {
1153
  font-weight: 600;
1154
  }
 
1155
  .lp-list-table tbody tr:nth-child(odd),
1156
  .lp-list-table tfoot tr:nth-child(odd) {
1157
  background: #f5f5f5;
1158
  }
 
1159
  .lp-list-table .list-table-nav td {
1160
  font-size: 14px;
1161
  }
 
1162
  .lp-list-table .list-table-nav td.nav-text {
1163
  text-align: left;
1164
  }
 
1165
  .lp-list-table .list-table-nav td.nav-pages {
1166
  text-align: right;
1167
  }
 
1168
  .lp-list-table .list-table-nav td.nav-pages .learn-press-pagination {
1169
  text-align: right;
1170
  }
 
1171
  .lp-list-table .list-table-nav td.nav-pages .page-numbers {
1172
  margin-bottom: 0;
1173
  }
1185
  padding: 0;
1186
  list-style: none;
1187
  }
 
1188
  .learn-press-form .form-fields .form-field {
1189
  margin: 0 0 20px 0;
1190
  }
 
1191
  .learn-press-form .form-fields .form-field label {
1192
  display: block;
1193
  margin: 0 0 10px 0;
1194
  }
1195
+ .learn-press-form .form-fields .form-field input[type=text],
1196
+ .learn-press-form .form-fields .form-field input[type=email],
1197
+ .learn-press-form .form-fields .form-field input[type=number],
1198
+ .learn-press-form .form-fields .form-field input[type=password],
 
1199
  .learn-press-form .form-fields .form-field textarea {
1200
  width: 100%;
1201
  padding: 8px;
1203
  -moz-box-sizing: border-box;
1204
  box-sizing: border-box;
1205
  }
 
1206
  .learn-press-form .form-fields .form-field .description {
1207
  margin-top: 10px;
1208
  font-size: 14px;
1209
  font-style: italic;
1210
  line-height: 1.4;
1211
  }
 
1212
  .learn-press-form .form-fields .form-field .asterisk {
1213
  color: #f00;
1214
  }
1224
  border-radius: 6px;
1225
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
1226
  }
 
1227
  .learn-press-form-login h3,
1228
  .learn-press-form-register h3 {
1229
  margin-bottom: 20px;
1230
  font-size: 28px;
1231
  line-height: 1.4;
1232
  }
 
1233
  .learn-press-form-login .form-fields .form-field label,
1234
  .learn-press-form-register .form-fields .form-field label {
1235
  font-size: 16px;
1236
  font-weight: 400;
1237
  user-select: none;
1238
  }
1239
+ .learn-press-form-login .form-fields .form-field input[type=text],
1240
+ .learn-press-form-login .form-fields .form-field input[type=password],
1241
+ .learn-press-form-login .form-fields .form-field input[type=tel],
1242
+ .learn-press-form-login .form-fields .form-field input[type=url],
1243
+ .learn-press-form-login .form-fields .form-field input[type=number],
1244
+ .learn-press-form-register .form-fields .form-field input[type=text],
1245
+ .learn-press-form-register .form-fields .form-field input[type=password],
1246
+ .learn-press-form-register .form-fields .form-field input[type=tel],
1247
+ .learn-press-form-register .form-fields .form-field input[type=url],
1248
+ .learn-press-form-register .form-fields .form-field input[type=number] {
 
1249
  height: 42px;
1250
  border: 1px solid #bbb;
1251
  border-radius: 4px;
1252
  line-height: 42px;
1253
  }
1254
+ .learn-press-form-login .form-fields .form-field input[type=text]:focus,
1255
+ .learn-press-form-login .form-fields .form-field input[type=password]:focus,
1256
+ .learn-press-form-login .form-fields .form-field input[type=tel]:focus,
1257
+ .learn-press-form-login .form-fields .form-field input[type=url]:focus,
1258
+ .learn-press-form-login .form-fields .form-field input[type=number]:focus,
1259
+ .learn-press-form-register .form-fields .form-field input[type=text]:focus,
1260
+ .learn-press-form-register .form-fields .form-field input[type=password]:focus,
1261
+ .learn-press-form-register .form-fields .form-field input[type=tel]:focus,
1262
+ .learn-press-form-register .form-fields .form-field input[type=url]:focus,
1263
+ .learn-press-form-register .form-fields .form-field input[type=number]:focus {
 
1264
  border: none;
1265
  outline: 2px solid transparent !important;
1266
  outline-offset: 2px;
1267
  box-shadow: 0 0 0 2px #666 !important;
1268
  }
 
1269
  .learn-press-form-login .form-fields .form-field.required label::after,
1270
  .learn-press-form-register .form-fields .form-field.required label::after {
1271
+ content: " *";
1272
  display: inline;
1273
  }
1274
+ .learn-press-form-login form[name=learn-press-login] > p > label,
1275
+ .learn-press-form-register form[name=learn-press-login] > p > label {
 
1276
  color: #666;
1277
  font-size: 16px;
1278
  cursor: pointer;
1279
  user-select: none;
1280
  }
1281
+ .learn-press-form-login form[name=learn-press-login] > p > a,
1282
+ .learn-press-form-register form[name=learn-press-login] > p > a {
 
1283
  color: #666;
1284
  font-size: 16px;
1285
  line-height: 1;
1286
  }
1287
+ .learn-press-form-login form[name=learn-press-login] > p:last-child,
1288
+ .learn-press-form-register form[name=learn-press-login] > p:last-child {
 
1289
  margin-bottom: 0;
1290
  }
1291
+ .learn-press-form-login button[type=submit],
1292
+ .learn-press-form-register button[type=submit] {
 
1293
  width: 100%;
1294
  height: 50px;
1295
  border-radius: 3px;
1306
  .required label {
1307
  font-weight: bold;
1308
  }
 
1309
  .required label:after {
1310
+ content: " *";
1311
  display: inline;
1312
  }
1313
 
1317
  justify-content: center;
1318
  position: relative;
1319
  }
1320
+ .lp-password-input input[type=password] {
 
1321
  padding-right: 2.5rem;
1322
  }
 
1323
  .lp-password-input input::-ms-reveal {
1324
  display: none;
1325
  }
 
1326
  .lp-password-input .lp-show-password-input {
1327
  position: absolute;
1328
  top: 8px;
1329
  right: 10px;
1330
  cursor: pointer;
1331
  }
 
1332
  .lp-password-input .lp-show-password-input::after {
1333
  font-family: "Font Awesome 5 Free";
1334
  font-weight: 900;
1335
  content: "\f06e";
1336
  }
 
1337
  .lp-password-input .lp-show-password-input.display-password::after {
1338
  color: #585858;
1339
  content: "\f070";
1349
  max-width: 500px;
1350
  margin: 0 auto;
1351
  }
1352
+ .become-teacher-form .form-field input[type=text],
1353
+ .become-teacher-form .form-field input[type=email],
1354
+ .become-teacher-form .form-field input[type=number],
1355
+ .become-teacher-form .form-field input[type=password] {
 
1356
  width: 100%;
1357
  }
1358
 
1366
  position: relative;
1367
  background: #fff;
1368
  }
 
1369
  #learn-press-profile .lp-user-profile-avatar img {
1370
  position: relative;
1371
  width: 100%;
1372
  height: auto;
1373
  border-radius: unset;
1374
  }
 
1375
  #learn-press-profile .lp-user-profile-socials {
1376
  display: flex;
1377
  position: relative;
1382
  -ms-flex-wrap: wrap;
1383
  flex-wrap: wrap;
1384
  }
 
1385
  #learn-press-profile .lp-user-profile-socials a {
1386
  display: inline-block;
1387
  width: 40px;
1397
  -moz-border-radius: 50%;
1398
  border-radius: 50%;
1399
  }
 
1400
  #learn-press-profile .lp-user-profile-socials a:hover {
1401
  border-color: var(--lp-primary-color);
1402
  color: #fff;
1403
  background: var(--lp-primary-color);
1404
  }
 
1405
  #learn-press-profile .wrapper-profile-header {
1406
  color: #fff;
1407
  background: var(--lp-secondary-color);
1408
  }
 
1409
  #learn-press-profile .wrapper-profile-header .lp-profile-content-area {
1410
  position: relative;
1411
  min-height: 345px;
1412
  padding-top: 50px;
1413
  }
 
1414
  #learn-press-profile .wrapper-profile-header .lp-profile-left {
1415
  position: absolute;
1416
  bottom: 0;
1421
  border-bottom: 0;
1422
  background: #fff;
1423
  }
 
1424
  #learn-press-profile .wrapper-profile-header .lp-profile-right {
1425
  margin-left: 270px;
1426
  padding-right: 15px;
1427
  padding-left: 35px;
1428
  }
 
1429
  #learn-press-profile .wrapper-profile-header .lp-profile-right .lp-profile-username {
1430
  padding-bottom: 18px;
1431
  font-size: 18px;
1432
  font-weight: 500;
1433
  text-transform: capitalize;
1434
  }
 
1435
  #learn-press-profile .wrapper-profile-header .lp-profile-right .lp-profile-user-bio {
1436
  font-size: 16px;
1437
  font-weight: 300;
1438
  line-height: 26px;
1439
  }
 
1440
  @media (max-width: 990px) {
1441
  #learn-press-profile .wrapper-profile-header .lp-profile-content-area {
1442
  min-height: inherit;
1452
  margin-left: 0;
1453
  }
1454
  }
 
1455
  @media (max-width: 768px) {
1456
  #learn-press-profile .wrapper-profile-header .lp-profile-left {
1457
  width: 220px;
1470
  line-height: 36px;
1471
  }
1472
  }
 
1473
  @media (max-width: 500px) {
1474
  #learn-press-profile .wrapper-profile-header .lp-profile-left {
1475
  float: none;
1481
  text-align: center;
1482
  }
1483
  }
 
1484
  #learn-press-profile #profile-sidebar {
1485
  float: left;
1486
  width: 270px;
1489
  border-top: 0;
1490
  background: #fff;
1491
  }
 
1492
  @media (max-width: 990px) {
1493
  #learn-press-profile #profile-sidebar {
1494
  width: 100%;
1498
  max-width: 150px;
1499
  }
1500
  }
 
1501
  #learn-press-profile #profile-nav .lp-profile-nav-tabs {
1502
  margin: 0;
1503
  padding: 0;
1504
  list-style: none;
1505
  }
 
1506
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li {
1507
  position: relative;
1508
  margin: 0;
1509
  border-top: 1px solid rgba(204, 204, 204, 0.3);
1510
  }
 
1511
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li a {
1512
  display: block;
1513
  padding: 0 20px;
1516
  font-weight: 500;
1517
  line-height: 53px;
1518
  }
 
1519
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li > a {
1520
  padding: 0 20px 0 52px;
1521
  }
 
1522
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li > a > i {
1523
  display: inline-block;
1524
  position: absolute;
1529
  line-height: 52px;
1530
  text-align: left;
1531
  }
 
1532
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li > a::after {
1533
  float: right;
1534
  margin-right: 4px;
1538
  font-weight: 900;
1539
  content: "\f054";
1540
  }
 
1541
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li ul li {
1542
  margin: 0;
1543
  }
 
1544
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li ul li a {
1545
  border-bottom: 1px solid #f9f9f9;
1546
  }
 
1547
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li ul li a:hover {
1548
  color: var(--lp-primary-color);
1549
  background: #fff;
1550
  }
1551
+ #learn-press-profile #profile-nav .lp-profile-nav-tabs > li ul li:hover > a i {
1552
+ color: var(--lp-primary-color);
1553
+ background: #fff;
1554
+ }
1555
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.active > a::after, #learn-press-profile #profile-nav .lp-profile-nav-tabs > li:hover > a::after {
1556
  content: "\f053";
1557
  }
 
1558
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.active a {
1559
  padding-left: 52px;
1560
  }
 
1561
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li:last-child {
1562
  border-bottom-right-radius: 4px;
1563
  border-bottom-left-radius: 4px;
1564
  }
 
1565
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.wishlist > a::before {
1566
  position: absolute;
1567
  left: 25px;
1571
  font-weight: 900;
1572
  content: "\f004";
1573
  }
 
1574
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.wishlist:hover a::before {
1575
  color: #fff;
1576
  }
 
1577
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li.logout > a::after {
1578
  display: none;
1579
  }
 
1580
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li > a {
1581
  box-sizing: border-box;
1582
  height: 53px;
1583
  }
 
1584
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li > ul {
1585
  display: none;
1586
  position: absolute;
1594
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.05);
1595
  list-style: none;
1596
  }
 
1597
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover {
1598
  background: var(--lp-primary-color);
1599
  }
 
1600
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > a, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > a {
1601
  color: #fff;
1602
  }
 
1603
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > a i, #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > a::after, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > a i, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > a::after {
1604
  color: #fff;
1605
  }
 
1606
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul, #learn-press-profile #profile-nav .lp-profile-nav-tabs li:hover > ul {
1607
  display: block;
1608
  }
 
1609
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul {
1610
  position: relative;
1611
  left: 0;
1612
  }
 
1613
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul .active {
1614
  background: #fff;
1615
  }
 
1616
  #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul .active > a {
1617
  color: #ffb606;
1618
  }
1619
+ #learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul .active > a i {
1620
+ color: #ffb606;
1621
+ }
1622
  @media (max-width: 990px) {
1623
  #learn-press-profile #profile-nav {
1624
  overflow-x: scroll;
1681
  display: none;
1682
  }
1683
  }
 
1684
  @media (max-width: 560px) {
1685
  #learn-press-profile #profile-nav .lp-profile-nav-tabs > li {
1686
  max-width: 80px;
1692
  margin-left: 0;
1693
  }
1694
  }
 
1695
  #learn-press-profile #profile-content {
1696
  float: right;
1697
  width: calc(100% - 300px);
1698
  margin-bottom: 60px;
1699
  padding-top: 58px;
1700
  }
 
1701
  @media (max-width: 990px) {
1702
  #learn-press-profile #profile-content {
1703
  width: 100%;
1704
  }
1705
  }
 
1706
  @media (max-width: 767px) {
1707
  #learn-press-profile #profile-content .learn-press-tabs .learn-press-tabs__nav {
1708
  display: block;
1723
  padding-left: 25px;
1724
  }
1725
  }
 
1726
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course {
1727
  margin: 0 0 40px 0;
1728
  }
 
1729
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content {
1730
  padding: 20px 20px 12px 20px;
1731
  }
 
1732
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content .course-categories,
1733
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content .course-instructor {
1734
  margin-bottom: 14px;
1735
  }
 
1736
  #learn-press-profile #profile-content .lp-archive-courses ul.learn-press-courses .course .course-item .course-content .course-categories {
1737
  padding: 0;
1738
  }
 
1739
  #learn-press-profile #profile-content .lp-button {
1740
  display: block;
1741
  margin: 0 auto 52px auto;
1747
  -moz-border-radius: 9px;
1748
  border-radius: 9px;
1749
  }
 
1750
  #learn-press-profile #profile-content .lp-button:hover {
1751
  border-color: var(--lp-primary-color);
1752
  }
 
1753
  #learn-press-profile #profile-content #profile-content-orders .profile-orders .profile-heading {
1754
  display: none;
1755
  }
 
1756
  #learn-press-profile #profile-content #profile-content-orders .profile-orders table {
1757
  margin-top: 0;
1758
  }
 
1759
  #learn-press-profile #profile-content #profile-content-orders .column-order-actions a {
1760
  margin-right: 6px;
1761
  }
 
1762
  #learn-press-profile #dashboard-general-statistic {
1763
  margin-bottom: 55px;
1764
  padding-bottom: 20px;
1765
  border-bottom: 1px solid #ddd;
1766
  }
 
1767
  #learn-press-profile .dashboard-general-statistic__row {
1768
  display: flex;
1769
  margin: 0 -15px;
1770
  justify-content: center;
1771
  flex-wrap: wrap;
1772
  }
 
1773
  #learn-press-profile .dashboard-general-statistic__row .statistic-box {
1774
  width: 270px;
1775
  margin: 0 15px 40px 15px;
1779
  background: #f9fafc;
1780
  text-align: center;
1781
  }
 
1782
  @media (max-width: 990px) {
1783
  #learn-press-profile .dashboard-general-statistic__row .statistic-box {
1784
  width: 45%;
1785
  }
1786
  }
 
1787
  @media (max-width: 767px) {
1788
  #learn-press-profile .dashboard-general-statistic__row .statistic-box {
1789
  width: 100%;
1790
  margin: 0 15px 20px 15px;
1791
  }
1792
  }
 
1793
  #learn-press-profile .dashboard-general-statistic__row .statistic-box .statistic-box__text {
1794
  margin: 0 0 7px 0;
1795
  padding: 0;
1798
  font-weight: 400;
1799
  line-height: 1;
1800
  }
 
1801
  #learn-press-profile .dashboard-general-statistic__row .statistic-box .statistic-box__number {
1802
  color: #333;
1803
  font-size: 18px;
1804
  font-weight: 500;
1805
  line-height: 1;
1806
  }
 
1807
  #learn-press-profile .dashboard-general-statistic__row .statistic-box:hover {
1808
  background: #eaeaea;
1809
  }
 
1810
  #learn-press-profile .dashboard-general-statistic__row[data-col="2"] .statistic-box {
1811
  width: 50%;
1812
  }
 
1813
  #learn-press-profile .dashboard-general-statistic__row[data-col="4"] .statistic-box {
1814
  width: 25%;
1815
  }
 
1816
  #learn-press-profile .dashboard-general-statistic__row[data-col="5"] .statistic-box {
1817
  width: 20%;
1818
  }
 
1819
  #learn-press-profile .profile-courses > h3 {
1820
  margin-top: 0;
1821
  margin-bottom: 36px;
1827
  }
1828
 
1829
  #learn-press-profile-basic-information .form-field,
1830
+ form[name=profile-change-password] .form-field {
1831
  margin: 0 10px 24px 10px;
1832
  }
 
1833
  #learn-press-profile-basic-information .form-field > label,
1834
+ form[name=profile-change-password] .form-field > label {
1835
  margin: 0 0 12px 0;
1836
  color: #333;
1837
  font-size: 16px;
1838
  font-weight: 500;
1839
  font-style: italic;
1840
  }
 
1841
  #learn-press-profile-basic-information .form-field .form-field-input input,
1842
+ form[name=profile-change-password] .form-field .form-field-input input {
1843
  height: 43px;
1844
  padding: 8px 20px;
1845
  font-weight: 400;
1846
  }
1847
+ #learn-press-profile-basic-information .form-field .form-field-input input[type=password],
1848
+ form[name=profile-change-password] .form-field .form-field-input input[type=password] {
 
1849
  padding: 8px 20px;
1850
  }
 
1851
  #learn-press-profile-basic-information .form-field .form-field-input textarea,
1852
+ form[name=profile-change-password] .form-field .form-field-input textarea {
1853
  padding: 9px 20px 16px 20px;
1854
  font-weight: 300;
1855
  line-height: 24px;
1856
  }
 
1857
  #learn-press-profile-basic-information .form-field .form-field-input input,
1858
  #learn-press-profile-basic-information .form-field .form-field-input textarea,
1859
+ form[name=profile-change-password] .form-field .form-field-input input,
1860
+ form[name=profile-change-password] .form-field .form-field-input textarea {
1861
  border: 1px solid #ccc;
1862
  color: #999;
1863
  font-size: 14px;
1864
  font-style: italic;
1865
  }
 
1866
  #learn-press-profile-basic-information .form-field .form-field-input input:focus,
1867
  #learn-press-profile-basic-information .form-field .form-field-input textarea:focus,
1868
+ form[name=profile-change-password] .form-field .form-field-input input:focus,
1869
+ form[name=profile-change-password] .form-field .form-field-input textarea:focus {
1870
  border-color: var(--lp-primary-color);
1871
  outline: 0;
1872
  color: #222;
1873
  }
 
1874
  #learn-press-profile-basic-information .form-field .form-field-input ::placeholder,
1875
+ form[name=profile-change-password] .form-field .form-field-input ::placeholder {
1876
  opacity: 1;
1877
  color: #999;
1878
  }
 
1879
  #learn-press-profile-basic-information .form-field .form-field-input :-ms-input-placeholder,
1880
+ form[name=profile-change-password] .form-field .form-field-input :-ms-input-placeholder {
1881
  color: #999;
1882
  }
 
1883
  #learn-press-profile-basic-information .form-field .form-field-input ::-ms-input-placeholder,
1884
+ form[name=profile-change-password] .form-field .form-field-input ::-ms-input-placeholder {
1885
  color: #999;
1886
  }
 
1887
  #learn-press-profile-basic-information .form-field .form-field-input .description,
1888
+ form[name=profile-change-password] .form-field .form-field-input .description {
1889
  margin-top: 15px;
1890
  }
 
1891
  @media (max-width: 767px) {
1892
  #learn-press-profile-basic-information .form-field,
1893
+ form[name=profile-change-password] .form-field {
1894
  margin: 0 0 24px 0;
1895
  }
1896
  }
 
1897
  #learn-press-profile-basic-information .form-field__50,
1898
+ form[name=profile-change-password] .form-field__50 {
1899
  float: left;
1900
  width: calc(50% - 20px);
1901
  margin-right: 10px;
1902
  }
 
1903
  @media (max-width: 767px) {
1904
  #learn-press-profile-basic-information .form-field__50,
1905
+ form[name=profile-change-password] .form-field__50 {
1906
  float: unset;
1907
  width: 100%;
1908
  margin: 0 0 24px 0;
1909
  }
1910
  }
 
1911
  #learn-press-profile-basic-information .form-field__clear,
1912
+ form[name=profile-change-password] .form-field__clear {
1913
  clear: both;
1914
  }
 
1915
  #learn-press-profile-basic-information button,
1916
+ form[name=profile-change-password] button {
1917
  padding: 16px 24px;
1918
  border: 0;
1919
  border-radius: 3px;
1923
  font-weight: 400;
1924
  line-height: 1;
1925
  }
 
1926
  #learn-press-profile-basic-information button:hover,
1927
+ form[name=profile-change-password] button:hover {
1928
  opacity: 0.5;
1929
  background: var(--lp-primary-color);
1930
  }
 
1931
  #learn-press-profile-basic-information p,
1932
+ form[name=profile-change-password] p {
1933
  margin: 0;
1934
  }
1935
 
1936
  #learn-press-profile-basic-information .form-fields {
1937
  margin: 0 -10px;
1938
  }
 
1939
  #learn-press-profile-basic-information .form-fields::after {
1940
  display: block;
1941
  clear: both;
1942
  content: "";
1943
  }
 
1944
  @media (max-width: 767px) {
1945
  #learn-press-profile-basic-information .form-fields {
1946
  margin: 0;
1951
  position: relative;
1952
  margin-bottom: 50px;
1953
  }
 
1954
  #lp-user-edit-avatar img {
1955
  vertical-align: top;
1956
  }
 
1957
  #lp-user-edit-avatar .lp-avatar-preview {
1958
  position: relative;
1959
  margin: 0 auto;
1960
  }
 
1961
  #lp-user-edit-avatar .lp-avatar-crop-image {
1962
  overflow: hidden;
1963
  position: absolute;
1966
  height: 100%;
1967
  background: #ddd;
1968
  }
 
1969
  #lp-user-edit-avatar .lp-avatar-crop-image .crop-container {
1970
  overflow: hidden;
1971
  position: absolute;
1972
  width: 100%;
1973
  height: 100%;
1974
  }
 
1975
  #lp-user-edit-avatar .lp-avatar-crop-image .crop-container img {
1976
  position: absolute;
1977
  left: 0 !important;
1981
  vertical-align: middle;
1982
  transform: translateX(-50%);
1983
  }
 
1984
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls {
1985
  position: absolute;
1986
  bottom: 0;
1988
  height: 40px;
1989
  opacity: 0;
1990
  }
 
1991
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls::before {
1992
  display: block;
1993
  width: 100%;
1995
  background: rgba(255, 255, 255, 0.53);
1996
  content: "";
1997
  }
 
1998
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-zoom {
1999
  position: absolute;
2000
  top: 50%;
2002
  left: 20px;
2003
  margin-top: -1px;
2004
  }
 
2005
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-zoom .ui-slider {
2006
  position: absolute;
2007
  width: 100%;
2009
  background: #6d6d6d;
2010
  cursor: move;
2011
  }
 
2012
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-zoom .ui-slider .ui-slider-handle {
2013
  position: absolute;
2014
  width: 20px;
2018
  border-radius: 50%;
2019
  background: #ffb608;
2020
  }
 
2021
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-save-upload,
2022
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-cancel-upload {
2023
  position: absolute;
2033
  text-align: center;
2034
  cursor: pointer;
2035
  }
 
2036
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-save-upload:hover,
2037
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-cancel-upload:hover {
2038
  opacity: 1;
2039
  }
 
2040
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-controls .lp-save-upload {
2041
  right: 40px;
2042
  color: #3db748;
2043
  }
 
2044
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area {
2045
  position: absolute;
2046
  top: 0;
2050
  transform: translateX(-50%);
2051
  pointer-events: none;
2052
  }
 
2053
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::before, #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::after {
2054
  display: block;
2055
  position: absolute;
2060
  background: #000;
2061
  content: "";
2062
  }
 
2063
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::before {
2064
  left: -2px;
2065
  transform: translateX(-100%);
2066
  }
 
2067
  #lp-user-edit-avatar .lp-avatar-crop-image .lp-crop-area::after {
2068
  left: 100%;
2069
  margin-left: 2px;
2070
  }
 
2071
  #lp-user-edit-avatar:hover .lp-crop-controls {
2072
  opacity: 1;
2073
  }
 
2074
  #lp-user-edit-avatar .profile-picture {
2075
  display: none;
2076
  width: 100%;
2077
  margin-right: -100%;
2078
  }
 
2079
  #lp-user-edit-avatar .profile-picture img {
2080
  width: 100%;
2081
  height: 100%;
2082
  border-radius: 0;
2083
  }
 
2084
  #lp-user-edit-avatar .profile-picture.profile-avatar-current {
2085
  display: block;
2086
  }
 
2087
  #lp-user-edit-avatar #lp-avatar-actions {
2088
  display: flex;
2089
  top: 50%;
2092
  text-align: center;
2093
  justify-content: center;
2094
  }
 
2095
  #lp-user-edit-avatar #lp-avatar-actions a {
2096
  display: inline-block;
2097
  z-index: 10;
2107
  text-align: center;
2108
  flex: 0 0 auto;
2109
  }
 
2110
  #lp-user-edit-avatar #lp-avatar-actions a i {
2111
  margin-right: 6px;
2112
  font-size: 14px;
2113
  }
 
2114
  #lp-user-edit-avatar #lp-avatar-actions a#lp-remove-upload-photo {
2115
  display: none;
2116
  margin-left: 10px;
2117
  }
2118
+ #lp-user-edit-avatar[data-custom=yes] #lp-avatar-actions #lp-remove-upload-photo {
 
2119
  display: block;
2120
  }
2121
 
2122
  .recover-order__title {
2123
  margin-bottom: 5px;
2124
  }
 
2125
  .recover-order__description {
2126
  margin-bottom: 20px;
2127
  color: #999;
2132
  div.order-recover {
2133
  display: flex;
2134
  }
 
2135
  div.order-recover > .button-recover-order {
2136
  margin: 0;
2137
  margin-left: 20px;
2138
  flex: 0 0 auto;
2139
  }
 
2140
  div.order-recover > .button-recover-order.loading::before {
2141
  display: inline-block;
2142
  margin-right: 5px;
2145
  content: "\f110";
2146
  animation: lp-rotating 1s linear infinite;
2147
  }
2148
+ div.order-recover input[type=text] {
 
2149
  width: 100%;
2150
  height: 43px;
2151
  margin-right: 10px;
2163
  .learn-press-profile-course__progress .lp_profile_course_progress {
2164
  border: 1px solid #eee;
2165
  }
 
2166
  .learn-press-profile-course__progress .lp_profile_course_progress__item {
2167
  display: grid;
2168
  align-items: center;
2171
  grid-template-columns: 90px 1fr 80px 140px 140px;
2172
  column-gap: 20px;
2173
  }
 
2174
  .learn-press-profile-course__progress .lp_profile_course_progress__header {
2175
  background-color: #eee;
2176
  }
2193
  background: #eee;
2194
  list-style: none !important;
2195
  }
 
2196
  .learn-press-profile-course__tab__inner > li {
2197
  list-style: none;
2198
  }
 
2199
  .learn-press-profile-course__tab__inner a {
2200
  display: inline-block;
2201
  padding: 15px 30px;
2202
  font-weight: 600;
2203
  }
 
2204
  .learn-press-profile-course__tab__inner a.active {
2205
  border-top: 4px solid var(--lp-primary-color);
2206
  color: var(--lp-primary-color);
2213
  padding: 0;
2214
  list-style: none;
2215
  }
 
2216
  .learn-press-course-tab-filters .learn-press-filters a.active {
2217
  color: var(--lp-primary-color);
2218
  }
2221
  display: none;
2222
  padding-top: 56px;
2223
  }
 
2224
  #learn-press-course-tabs .course-tab-panels .course-tab-panel.active {
2225
  display: block;
2226
  }
 
2227
  #learn-press-course-tabs .course-tab-panels .course-tab-panel.course-tab-panel-instructor, #learn-press-course-tabs .course-tab-panels .course-tab-panel.course-tab-panel-faqs {
2228
  padding-top: 60px;
2229
  }
 
2230
  #learn-press-course-tabs .course-tab-panels .course-tab-panel.course-tab-panel-reviews {
2231
  padding: 56px 0 0 0;
2232
  }
 
2233
  #learn-press-course-tabs .course-tab-panels .course-tab-panel .course-description h4 {
2234
  margin-top: 0;
2235
  margin-bottom: 1.125rem;
2237
  font-size: 18px;
2238
  font-weight: 500;
2239
  }
 
2240
  #learn-press-course-tabs .course-tab-panels .course-tab-panel .course-description p {
2241
  color: #666;
2242
  font-size: 16px;
2243
  font-weight: 300;
2244
  line-height: 26px;
2245
  }
 
2246
  #learn-press-course-tabs .course-tab-panels .course-tab-panel .course-description img {
2247
  max-width: 100%;
2248
  height: auto;
2249
  vertical-align: middle;
2250
  }
 
2251
  #learn-press-course-tabs.show-all .course-tab-panel {
2252
  margin-bottom: 40px;
2253
  }
2256
  display: flex;
2257
  margin-bottom: 40px;
2258
  }
 
2259
  @media (max-width: 767px) {
2260
  #learn-press-course .lp-course-author {
2261
  flex-direction: column;
2262
  padding: 0 15px;
2263
  }
2264
  }
 
2265
  #learn-press-course .lp-course-author .course-author__pull-left {
2266
  margin-right: 30px;
2267
  text-align: center;
2268
  align-items: center;
2269
  }
 
2270
  @media (max-width: 767px) {
2271
  #learn-press-course .lp-course-author .course-author__pull-left {
2272
  margin-right: 0;
2273
  margin-bottom: 30px;
2274
  }
2275
  }
 
2276
  #learn-press-course .lp-course-author .course-author__pull-left img {
2277
  width: 100%;
2278
  max-width: 96px;
2281
  object-fit: cover;
2282
  object-position: center;
2283
  }
 
2284
  #learn-press-course .lp-course-author .course-author__pull-right {
2285
  flex: 1;
2286
  }
 
2287
  @media (max-width: 767px) {
2288
  #learn-press-course .lp-course-author .course-author__pull-right {
2289
  width: 100%;
2290
  text-align: center;
2291
  }
2292
  }
 
2293
  #learn-press-course .lp-course-author .course-author__pull-right .author-title {
2294
  margin-bottom: 18px;
2295
  }
 
2296
  #learn-press-course .lp-course-author .course-author__pull-right .author-title a {
2297
  color: #333;
2298
  box-shadow: none;
2300
  font-weight: 500;
2301
  text-transform: capitalize;
2302
  }
 
2303
  #learn-press-course .lp-course-author .course-author__pull-right .author-title a:hover {
2304
  color: var(--lp-primary-color);
2305
  }
 
2306
  #learn-press-course .lp-course-author .course-author__pull-right .author-description {
2307
  color: #666;
2308
  font-size: 16px;
2309
  font-weight: 300;
2310
  line-height: 26px;
2311
  }
 
2312
  #learn-press-course .lp-course-author .author-socials {
2313
  display: grid;
2314
  grid-template-columns: repeat(4, 33px);
2315
  gap: 10px;
2316
  justify-content: center;
2317
  }
 
2318
  #learn-press-course .lp-course-author .author-socials > a {
2319
  display: inline-block;
2320
  width: 33px;
2330
  vertical-align: middle;
2331
  transition: all 0.3s;
2332
  }
 
2333
  #learn-press-course .lp-course-author .author-socials > a:hover {
2334
  border-color: var(--lp-primary-color);
2335
  color: #fff;
2336
  background: var(--lp-primary-color);
2337
  }
 
2338
  #learn-press-course .lp-course-author .author-socials .fa-googleplus::before {
2339
  content: "\f0d5";
2340
  }
 
2341
  #learn-press-course div.lp-list-co-instructor {
2342
  display: grid;
2343
  grid-template-columns: repeat(2, 1fr);
2344
  gap: 40px;
2345
  }
 
2346
  #learn-press-course div.lp-list-co-instructor__item {
2347
  display: flex;
2348
  column-gap: 30px;
2349
  }
 
2350
  @media (max-width: 767px) {
2351
  #learn-press-course div.lp-list-co-instructor__item {
2352
  align-items: center;
2356
  row-gap: 10px;
2357
  }
2358
  }
 
2359
  #learn-press-course div.lp-list-co-instructor__avatar > img {
2360
  width: 100%;
2361
  max-width: 96px;
2362
  border-radius: 999px;
2363
  }
 
2364
  #learn-press-course div.lp-list-co-instructor__bio {
2365
  flex: 1;
2366
  }
 
2367
  #learn-press-course div.lp-list-co-instructor__bio__top > a {
2368
  font-size: 18px;
2369
  font-weight: 600;
2370
  }
 
2371
  #learn-press-course div.lp-list-co-instructor__bio__description {
2372
  font-size: 1rem;
2373
  }
 
2374
  #learn-press-course .course-price {
2375
  margin-bottom: 10px;
2376
  }
 
2377
  #learn-press-course .course-price .origin-price,
2378
  #learn-press-course .course-price .price {
2379
  vertical-align: middle;
2380
  }
 
2381
  #learn-press-course .course-price .origin-price {
2382
  margin-right: 10px;
2383
  font-size: 18px;
2384
  font-style: italic;
2385
  text-decoration: line-through;
2386
  }
 
2387
  #learn-press-course .course-price .price {
2388
  font-size: 24px;
2389
  }
 
2390
  #learn-press-course .lp-course-buttons {
2391
  margin-bottom: 20px;
2392
  }
 
2393
  #learn-press-course .course-featured-review .featured-review__title {
2394
  margin-top: 0;
2395
  margin-bottom: 6px;
2396
  font-size: 18px;
2397
  font-weight: 500;
2398
  }
 
2399
  #learn-press-course .course-featured-review .featured-review__stars {
2400
  padding-bottom: 12px;
2401
  color: var(--lp-primary-color);
2402
  font-size: 16px;
2403
  }
 
2404
  #learn-press-course .course-featured-review .featured-review__content {
2405
  position: relative;
2406
  color: #666;
2409
  font-style: italic;
2410
  line-height: 24px;
2411
  }
 
2412
  #learn-press-course .course-featured-review .featured-review__content::after {
2413
  position: absolute;
2414
  top: -42px;
2421
  content: "‘‘";
2422
  transform: rotate(180deg);
2423
  }
 
2424
  #learn-press-course .course-tags a {
2425
  display: inline-block;
2426
  padding: 3px 5px;
2445
  background: #f1f2f8;
2446
  list-style: none;
2447
  }
 
2448
  ul.learn-press-nav-tabs .course-nav {
2449
  float: left;
2450
  position: relative;
2453
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
2454
  list-style: none;
2455
  }
 
2456
  ul.learn-press-nav-tabs .course-nav:first-child.active::after {
2457
  position: absolute;
2458
  top: -1px;
2462
  background: #fff;
2463
  content: "";
2464
  }
 
2465
  ul.learn-press-nav-tabs .course-nav:last-child {
2466
  border-right: 0;
2467
  }
 
2468
  ul.learn-press-nav-tabs .course-nav:last-child.active::after {
2469
  position: absolute;
2470
  top: -1px;
2474
  background: #fff;
2475
  content: "";
2476
  }
 
2477
  ul.learn-press-nav-tabs .course-nav.active {
2478
  border-bottom: 0;
2479
  }
 
2480
  ul.learn-press-nav-tabs .course-nav.active::before {
2481
  position: absolute;
2482
  top: -1px;
2486
  background: var(--lp-primary-color);
2487
  content: "";
2488
  }
 
2489
  ul.learn-press-nav-tabs .course-nav.active label {
2490
  color: var(--lp-primary-color);
2491
  }
 
2492
  ul.learn-press-nav-tabs .course-nav a {
2493
  display: inline-block;
2494
  padding: 10px 20px;
2498
  -moz-box-shadow: none;
2499
  box-shadow: none;
2500
  }
 
2501
  ul.learn-press-nav-tabs .course-nav a:focus {
2502
  -webkit-box-shadow: none;
2503
  -moz-box-shadow: none;
2504
  box-shadow: none;
2505
  }
 
2506
  ul.learn-press-nav-tabs[data-tabs] .course-nav {
2507
  flex: 1;
2508
  }
 
2509
  ul.learn-press-nav-tabs[data-tabs] .course-nav a {
2510
  width: 100%;
2511
  text-align: center;
2512
  }
 
2513
  ul.learn-press-nav-tabs::after {
2514
  display: block;
2515
  clear: both;
2516
  content: "";
2517
  }
 
2518
  @media (max-width: 767px) {
2519
  ul.learn-press-nav-tabs {
2520
  display: grid;
2535
  background: #fff;
2536
  list-style: none;
2537
  }
 
2538
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section {
2539
  margin: 0;
2540
  padding: 0 0 42px 0;
2541
  }
 
2542
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section:last-child {
2543
  padding: 0;
2544
  }
 
2545
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section.section-empty .section-header {
2546
  margin-bottom: 20px;
2547
  }
 
2548
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section.section-empty .learn-press-message {
2549
  margin-right: 15px;
2550
  margin-left: 15px;
2551
  }
 
2552
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header {
2553
  display: table;
2554
  width: 100%;
2560
  -moz-box-sizing: border-box;
2561
  box-sizing: border-box;
2562
  }
 
2563
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-left {
2564
  vertical-align: top;
2565
  }
 
2566
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-left .section-title {
2567
  padding: 0;
2568
  color: #666;
2571
  letter-spacing: 0;
2572
  text-transform: capitalize;
2573
  }
 
2574
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title,
2575
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-desc {
2576
  margin: 0 0 10px 0;
2577
  }
 
2578
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title {
2579
  position: relative;
2580
  margin-bottom: 0;
2584
  font-weight: normal;
2585
  line-height: 1;
2586
  }
 
2587
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title span.show-desc {
2588
  display: inline-block;
2589
  position: absolute;
2593
  height: 20px;
2594
  transform: translate(0, -50%);
2595
  }
 
2596
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title span.show-desc::before {
2597
  font-family: "Font Awesome 5 Free";
2598
  font-size: 18px;
2599
  font-weight: 900;
2600
  content: "\f107";
2601
  }
 
2602
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-title span.show-desc:hover::before {
2603
  border-top-color: #ccc;
2604
  }
 
2605
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-desc {
2606
  margin: 0;
2607
  font-size: 14px;
2608
  font-style: italic;
2609
  }
 
2610
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-header .section-meta {
2611
  display: block;
2612
  padding-top: 17px;
2616
  vertical-align: middle;
2617
  white-space: nowrap;
2618
  }
 
2619
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content {
2620
  margin: 0 0 15px 0;
2621
  padding: 0;
2622
  list-style: none;
2623
  }
 
2624
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item {
2625
  display: flex;
2626
  position: relative;
2630
  font-size: 14px;
2631
  transition: padding-left linear 0.15s;
2632
  }
 
2633
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item > span {
2634
  display: flex;
2635
  width: 28px;
2638
  font-weight: 300;
2639
  align-items: center;
2640
  }
 
2641
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link {
2642
  display: table;
2643
  width: calc(100% - 28px);
2646
  box-shadow: none;
2647
  line-height: 1.5;
2648
  }
 
2649
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link:hover .item-name {
2650
  color: var(--lp-primary-color);
2651
  }
 
2652
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link::before {
2653
  display: table-cell;
2654
  display: table-cell;
2662
  vertical-align: middle;
2663
  transition: left linear 0.15s;
2664
  }
 
2665
  @media (max-width: 767px) {
2666
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link .course-item-meta {
2667
  display: flex;
2672
  margin-bottom: 5px;
2673
  }
2674
  }
 
2675
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-icon,
2676
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-name {
2677
  display: table-cell;
2681
  font-weight: 600;
2682
  vertical-align: middle;
2683
  }
 
2684
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-icon::before {
2685
  font-size: 18px;
2686
  }
 
2687
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .item-icon.icon-lock {
2688
  float: right;
2689
  margin-top: 15px;
2690
  }
 
2691
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta {
2692
  display: table-cell;
2693
  padding: 10px 0;
2695
  vertical-align: middle;
2696
  white-space: nowrap;
2697
  }
 
2698
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .item-meta {
2699
  display: inline-block;
2700
  height: 23px;
2707
  text-align: center;
2708
  vertical-align: middle;
2709
  }
 
2710
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .item-meta.final-quiz {
2711
  background: #14c4ff;
2712
  }
 
2713
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .item-meta.trans {
2714
  padding: 0;
2715
  }
 
2716
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .count-questions {
2717
  background: #9672cf;
2718
  }
 
2719
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .duration {
2720
  background: #c0c0c0;
2721
  }
 
2722
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .course-item-status {
2723
  padding: 0;
2724
  color: #999;
2729
  -moz-box-sizing: border-box;
2730
  box-sizing: border-box;
2731
  }
 
2732
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .course-item-status::before {
2733
  font-family: "Font Awesome 5 Free";
2734
  font-size: 14px;
2737
  text-transform: lowercase;
2738
  content: "\f00c";
2739
  }
 
2740
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_quiz .section-item-link::before {
2741
  content: "\f059";
2742
  }
 
2743
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_lesson .section-item-link::before {
2744
  content: "\f15b";
2745
  }
 
2746
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_lesson.course-item-type-video .section-item-link::before {
2747
  content: "\f03d";
2748
  }
 
2749
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.course-item-lp_lesson.course-item-type-audio .section-item-link::before {
2750
  content: "\f028";
2751
  }
 
2752
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.item-preview .course-item-preview {
2753
  background: #00adff;
2754
  font-style: normal;
2756
  -moz-border-radius: 3px;
2757
  border-radius: 3px;
2758
  }
 
2759
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.item-preview .course-item-preview::before {
2760
  color: #fff;
2761
  vertical-align: baseline;
2762
  content: attr(data-preview);
2763
  }
 
2764
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.item-locked .course-item-status::before {
2765
  color: var(--lp-secondary-color);
2766
  content: "\f023";
2767
  }
 
2768
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status {
2769
  padding-top: 1px;
2770
  }
 
2771
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.status-completed .course-item-status::before, #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.status-evaluated .course-item-status::before {
2772
  color: #3bb54a;
2773
  }
 
2774
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.item-failed .course-item-status::before, #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.has-status.failed .course-item-status::before {
2775
  border-color: #f02425;
2776
  color: #f02425;
2777
  content: "\f00d";
2778
  }
 
2779
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item::before {
2780
  position: absolute;
2781
  top: 50%;
2786
  content: "";
2787
  transition: height linear 0.15s, top linear 0.15s;
2788
  }
 
2789
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current {
2790
  padding-left: 10px;
2791
  background: #f9f9f9;
2792
  }
 
2793
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current a::before {
2794
  left: 10px;
2795
  }
 
2796
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current::before {
2797
  top: 0;
2798
  height: 100%;
2799
  }
 
2800
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-item-link {
2801
  color: #777;
2802
  text-decoration: none;
2803
  }
 
2804
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-desc {
2805
  color: #999;
2806
  }
 
2807
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-title.c + .section-desc {
2808
  display: block;
2809
  }
 
2810
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-title.c span.show-desc::before {
2811
  -webkit-transform: rotate(180deg);
2812
  -moz-transform: rotate(180deg);
2815
  transform: rotate(180deg);
2816
  top: 0;
2817
  }
 
2818
  #learn-press-course-curriculum.course-curriculum ul.curriculum-sections .item-meta.duration {
2819
  background: #d9e0f1;
2820
  }
2823
  overflow: hidden;
2824
  _opacity: 0;
2825
  }
 
2826
  body.course-item-popupx #learn-press-course-curriculum {
2827
  overflow: auto;
2828
  position: fixed;
2834
  border-right: 1px solid #ddd;
2835
  background: #fff;
2836
  }
 
2837
  body.course-item-popupx #learn-press-course-curriculum .section-header {
2838
  padding: 0 15px;
2839
  }
 
2840
  body.course-item-popupx #learn-press-course-curriculum .section-header .section-desc {
2841
  margin: -10px 0 5px;
2842
  }
 
2843
  body.course-item-popupx #learn-press-course-curriculum .course-item {
2844
  padding-right: 15px;
2845
  padding-left: 15px;
2846
  }
 
2847
  body.course-item-popupx #learn-press-course-curriculum .course-item a::before {
2848
  left: 15px;
2849
  }
 
2850
  body.course-item-popupx #learn-press-content-item {
2851
  overflow: hidden;
2852
  position: fixed;
2857
  left: 400px;
2858
  background: #fff;
2859
  }
 
2860
  body.course-item-popupx #learn-press-content-item .content-item-wrap {
2861
  max-width: 900px;
2862
  margin: 10px auto;
2863
  }
 
2864
  body.course-item-popupx #learn-press-content-item .course-item-title {
2865
  font-size: 1.4rem;
2866
  }
 
2867
  body.course-item-popupx #learn-press-content-item .content-question-summary .review-heading {
2868
  text-align: center;
2869
  }
 
2870
  body.course-item-popupx #learn-press-content-item .content-question-summary .question-title {
2871
  margin-bottom: 10px;
2872
  font-size: 1.2rem;
2873
  }
 
2874
  body.course-item-popupx #content-item-nav {
2875
  position: fixed;
2876
  z-index: 99999;
2881
  border-top: 1px solid #ddd;
2882
  background: #f5f5f5;
2883
  }
 
2884
  body.course-item-popupx #content-item-nav .content-item-nav-wrap {
2885
  max-width: 900px;
2886
  margin: 10px auto;
2887
  }
 
2888
  body.course-item-popupx #content-item-nav button {
2889
  height: 40px;
2890
  padding: 0 20px;
2891
  line-height: 40px;
2892
  }
 
2893
  body.course-item-popupx .comment-form-textarea {
2894
  -webkit-box-sizing: border-box;
2895
  -moz-box-sizing: border-box;
2896
  box-sizing: border-box;
2897
  }
 
2898
  body.course-item-popupx.wpadminbar #learn-press-course-curriculum,
2899
  body.course-item-popupx.wpadminbar #learn-press-content-item {
2900
  top: 92px;
2901
  }
 
2902
  body.course-item-popupx.wpadminbar #course-item-content-header {
2903
  top: 32px;
2904
  }
 
2905
  body.course-item-popupx.wpadminbar .content-item-description {
2906
  margin-bottom: 20px;
2907
  }
 
2908
  body.course-item-popupx .content-item-summary {
2909
  margin-bottom: 50px;
2910
  }
 
2911
  body.course-item-popupx .content-item-summary > h3 {
2912
  margin-bottom: 20px;
2913
  }
 
2914
  body.course-item-popupx .content-item-summary.content-item-video .entry-video {
2915
  position: absolute;
2916
  top: 0;
2919
  background: #000;
2920
  line-height: 1;
2921
  }
 
2922
  body.course-item-popupx .content-item-summary.content-item-video .entry-video iframe {
2923
  width: 100%;
2924
  max-width: 900px;
2925
  margin-bottom: 0;
2926
  vertical-align: top;
2927
  }
 
2928
  body.course-item-popupx .learn-press-content-protected-message {
2929
  margin-bottom: 50px;
2930
  padding: 20px;
2931
  background: #ffe0e0;
2932
  }
 
2933
  body.course-item-popupx.content-only #learn-press-content-item {
2934
  z-index: 9999999;
2935
  top: 0;
2936
  bottom: 0;
2937
  left: 0;
2938
  }
 
2939
  body.course-item-popupx.content-only #learn-press-content-item #course-item-content-header,
2940
  body.course-item-popupx.content-only #learn-press-content-item #course-item-content-footer {
2941
  display: none;
2942
  }
 
2943
  body.course-item-popupx.content-only #learn-press-content-item .content-item-scrollable {
2944
  bottom: 0;
2945
  }
 
2946
  body #ifr-course-item {
2947
  position: absolute;
2948
  z-index: 999999;
2952
  height: 100%;
2953
  background: #fff;
2954
  }
 
2955
  body.full-screen-content-item #course-item-content-header .toggle-content-item::before {
2956
  font: 28px/60px "Font Awesome 5 Free";
2957
  content: "\f066";
2958
  }
 
2959
  body .content-item-summary .form-button-finish-course,
2960
  body .lp-quiz-buttons .form-button-finish-course {
2961
  float: right;
2967
  top: 2px;
2968
  font-family: "Font Awesome 5 Free";
2969
  }
 
2970
  #wpadminbar #wp-admin-bar-edit-lp_quiz .ab-item::before {
2971
  content: "\f017";
2972
  }
 
2973
  #wpadminbar #wp-admin-bar-edit-lp_lesson .ab-item::before {
2974
  content: "\f15c";
2975
  }
 
2976
  #wpadminbar #wp-admin-bar-edit-lp_question .ab-item::before {
2977
  content: "\f29c";
2978
  }
2981
  overflow: hidden;
2982
  opacity: 0;
2983
  }
 
2984
  .scroll-wrapper .scroll-element {
2985
  background: transparent;
2986
  }
 
2987
  .scroll-wrapper .scroll-element.scroll-y.scroll-scrolly_visible {
2988
  transition: opacity 0.25s;
2989
  }
 
2990
  .scroll-wrapper:hover .scroll-element.scroll-y.scroll-scrolly_visible {
2991
  opacity: 0.7;
2992
  }
2998
  .learn-press-course-results-progress {
2999
  margin-right: -4%;
3000
  }
 
3001
  .learn-press-course-results-progress .items-progress,
3002
  .learn-press-course-results-progress .course-progress {
3003
  float: left;
3005
  margin-right: 4%;
3006
  margin-bottom: 30px;
3007
  }
 
3008
  .learn-press-course-results-progress .items-progress .items-progress__heading,
3009
  .learn-press-course-results-progress .course-progress .items-progress__heading {
3010
  margin-bottom: 10px;
3011
  }
 
3012
  .learn-press-course-results-progress .items-progress .lp-progress-bar,
3013
  .learn-press-course-results-progress .course-progress .lp-progress-bar {
3014
  overflow: hidden;
3016
  height: 10px;
3017
  border-radius: 5px;
3018
  }
 
3019
  .learn-press-course-results-progress .items-progress .lp-progress-bar .lp-progress-value,
3020
  .learn-press-course-results-progress .course-progress .lp-progress-bar .lp-progress-value {
3021
  position: absolute;
3024
  margin-left: -100%;
3025
  border-radius: 5px;
3026
  }
 
3027
  .learn-press-course-results-progress .items-progress .lp-course-status .grade.failed,
3028
  .learn-press-course-results-progress .course-progress .lp-course-status .grade.failed {
3029
  background: #f00;
3030
  }
 
3031
  .learn-press-course-results-progress .items-progress .lp-course-status .grade.passed,
3032
  .learn-press-course-results-progress .course-progress .lp-course-status .grade.passed {
3033
  background: #3eadff;
3034
  }
 
3035
  .learn-press-course-results-progress::after {
3036
  display: block;
3037
  clear: both;
3057
  border-bottom: 1px solid #ddd;
3058
  background: #e7f7ff;
3059
  }
 
3060
  #course-item-content-header .course-item-search {
3061
  float: left;
3062
  position: relative;
3064
  width: 400px;
3065
  padding: 15px;
3066
  }
 
3067
  #course-item-content-header .course-item-search input {
3068
  float: left;
3069
  width: 385px;
3075
  box-shadow: none;
3076
  font-style: italic;
3077
  }
 
3078
  #course-item-content-header .course-item-search input:focus {
3079
  outline: none;
3080
  color: #777;
3081
  box-shadow: none;
3082
  }
 
3083
  #course-item-content-header .course-item-search button {
3084
  position: absolute;
3085
  z-index: 99;
3093
  font-size: 15px;
3094
  line-height: 30px;
3095
  }
 
3096
  #course-item-content-header .course-item-search button::after {
3097
  font-family: "Font Awesome 5 Free";
3098
  content: "\f002";
3099
  }
 
3100
  #course-item-content-header .course-item-search.has-keyword button::after {
3101
  content: "\f00d";
3102
  }
 
3103
  #course-item-content-header .course-title {
3104
  float: left;
3105
  clear: none;
3109
  font-size: 1.4rem;
3110
  line-height: 60px;
3111
  }
 
3112
  #course-item-content-header .course-title a {
3113
  box-shadow: none;
3114
  }
 
3115
  #course-item-content-header .course-title::before {
3116
  display: none;
3117
  content: "";
3118
  }
 
3119
  #course-item-content-header .form-button.lp-button-back {
3120
  float: right;
3121
  margin-right: 15px;
3122
  }
 
3123
  #course-item-content-header .toggle-content-item {
3124
  display: inline-block;
3125
  float: right;
3128
  border-left: 1px solid #ddd;
3129
  text-align: center;
3130
  }
 
3131
  #course-item-content-header .toggle-content-item::before {
3132
  font: 28px/60px "Font Awesome 5 Free";
3133
  content: "\f065";
3140
  padding: 15px;
3141
  border-top: 1px solid #ddd;
3142
  }
 
3143
  #course-item-content-footer button,
3144
  #course-item-content-footer .lp-button {
3145
  height: 35px;
3158
  .lp-course-progress {
3159
  position: relative;
3160
  }
 
3161
  .lp-course-progress .lp-passing-conditional {
3162
  position: absolute;
3163
  top: 0;
3176
  display: flex;
3177
  margin-bottom: 40px;
3178
  }
 
3179
  .course-meta .course-meta__pull-left,
3180
  .course-meta .course-meta__pull-right {
3181
  display: flex;
3182
  }
 
3183
  .course-meta .course-meta__pull-left {
3184
  flex: 1;
3185
  }
 
3186
  .course-meta .course-meta__pull-left .meta-item {
3187
  margin-right: 10px;
3188
  }
 
3189
  .course-meta .course-meta__pull-right {
3190
  flex: 0 0 50%;
3191
  }
 
3192
  .course-meta .course-meta__pull-right .meta-item {
3193
  margin-left: 10px;
3194
  }
 
3195
  .course-meta.course-meta-primary .meta-item {
3196
  flex: 1;
3197
  }
 
3198
  .course-meta.two-columns .course-meta {
3199
  flex: 1;
3200
  }
3204
  border: 1px solid rgba(204, 204, 204, 0.3);
3205
  border-radius: 5px;
3206
  }
 
3207
  .course-extra-box__title {
3208
  --extra-height: 54px;
3209
  display: flex;
3217
  font-weight: 600;
3218
  cursor: pointer;
3219
  }
 
3220
  .course-extra-box__title::after {
3221
  position: absolute;
3222
  top: 0;
3226
  line-height: var(--extra-height);
3227
  content: "\f0d7";
3228
  }
 
3229
  .course-extra-box__content {
3230
  display: none;
3231
  }
 
3232
  .course-extra-box__content-inner {
3233
  -webkit-animation-name: course-extra-box__content-inner-transform;
3234
  animation-name: course-extra-box__content-inner-transform;
3241
  -webkit-animation-direction: normal;
3242
  animation-direction: normal;
3243
  }
 
3244
  .course-extra-box__content ul,
3245
  .course-extra-box__content li {
3246
  list-style: none;
3247
  }
 
3248
  .course-extra-box__content ul {
3249
  margin: 0;
3250
  padding: 0;
3251
  }
 
3252
  .course-extra-box__content li {
3253
  margin: 0;
3254
  padding: 22px 38px 14px;
3257
  font-size: 16px;
3258
  font-weight: 300;
3259
  }
 
3260
  .course-extra-box__content li::before {
3261
  margin-right: 8px;
3262
  color: var(--lp-primary-color);
3264
  font-weight: 900;
3265
  content: "\f00c";
3266
  }
 
3267
  .course-extra-box__content li:last-child {
3268
  border-bottom: 0;
3269
  }
 
3270
  .course-extra-box:last-child {
3271
  margin-bottom: 60px;
3272
  }
 
3273
  .course-extra-box.active .course-extra-box__title::after {
3274
  content: "\f0d8";
3275
  }
3276
 
3277
+ input[name=course-extra-box-ratio] {
3278
  display: none;
3279
  }
3280
+ input[name=course-extra-box-ratio]:checked + .course-extra-box .course-extra-box__content {
 
3281
  display: block;
3282
  }
3283
+ input[name=course-extra-box-ratio]:checked + .course-extra-box .course-extra-box__content .course-extra-box__content-inner {
 
3284
  transform: scale(1);
3285
  }
3286
 
3296
  transform: translateX(0%);
3297
  }
3298
  }
 
3299
  @keyframes course-extra-box__content-inner-transform {
3300
  from {
3301
  opacity: 0;
3308
  transform: translateX(0%);
3309
  }
3310
  }
 
3311
  .course-tab-panel-faqs {
3312
  padding-top: 64px;
3313
  }
 
3314
  @media (max-width: 767px) {
3315
  .course-tab-panel-faqs {
3316
  padding: 0 15px;
3317
  }
3318
  }
 
3319
  .course-tab-panel-faqs .course-faqs-box {
3320
  margin-bottom: 20px;
3321
  border: 1px solid rgba(204, 204, 204, 0.6);
3322
  border-radius: 5px;
3323
  }
 
3324
  .course-tab-panel-faqs .course-faqs-box__title {
3325
  display: block;
3326
  position: relative;
3331
  line-height: 1.7;
3332
  cursor: pointer;
3333
  }
 
3334
  .course-tab-panel-faqs .course-faqs-box__title::after {
3335
  position: absolute;
3336
  top: 50%;
3342
  content: "\f078";
3343
  transform: translateY(-50%);
3344
  }
 
3345
  .course-tab-panel-faqs .course-faqs-box .course-faqs-box__content {
3346
  display: none;
3347
  }
 
3348
  .course-tab-panel-faqs .course-faqs-box .course-faqs-box__content .course-faqs-box__content-inner {
3349
  padding: 0 28px 33px 28px;
3350
  color: #666;
3362
  -webkit-animation-direction: normal;
3363
  animation-direction: normal;
3364
  }
 
3365
  .course-tab-panel-faqs .course-faqs-box:last-child {
3366
  margin-bottom: 40px;
3367
  }
 
3368
  .course-tab-panel-faqs .course-faqs-box:hover {
3369
  background: rgba(241, 242, 248, 0.4);
3370
  }
 
3371
  .course-tab-panel-faqs .course-faqs-box:hover .course-faqs-box__title {
3372
  color: var(--lp-primary-color);
3373
  }
3374
 
3375
+ input[name=course-faqs-box-ratio] {
3376
  display: none;
3377
  }
3378
+ input[name=course-faqs-box-ratio]:checked + .course-faqs-box .course-faqs-box__content {
 
3379
  display: block;
3380
  }
3381
+ input[name=course-faqs-box-ratio]:checked + .course-faqs-box {
 
3382
  background: rgba(241, 242, 248, 0.4);
3383
  }
3384
+ input[name=course-faqs-box-ratio]:checked + .course-faqs-box .course-faqs-box__title {
 
3385
  color: var(--lp-primary-color);
3386
  }
3387
+ input[name=course-faqs-box-ratio]:checked + .course-faqs-box .course-faqs-box__title::after {
 
3388
  content: "\f077";
3389
  }
3390
 
3400
  transform: translateX(0%);
3401
  }
3402
  }
 
3403
  @keyframes course-faqs-box__content-inner-transform {
3404
  from {
3405
  opacity: 0;
3412
  transform: translateX(0%);
3413
  }
3414
  }
 
3415
  /***********/
3416
  @media screen and (max-width: 1300px) {
3417
  body.course-item-popup #course-item-content-header .course-item-search {
3430
  width: 40px;
3431
  }
3432
  body.course-item-popup #content-item-nav,
3433
+ body.course-item-popup #learn-press-content-item,
3434
+ body.course-item-popup #course-item-content-footer {
3435
  left: 300px;
3436
  }
3437
  body.course-item-popup .section-desc {
3438
  display: none;
3439
  }
3440
  }
 
3441
  @media screen and (max-width: 1200px) {
3442
  body.course-item-popupx #course-item-content-header .course-item-search {
3443
  width: 300px;
3452
  width: 300px;
3453
  }
3454
  body.course-item-popupx #content-item-nav,
3455
+ body.course-item-popupx #learn-press-content-item,
3456
+ body.course-item-popupx #course-item-content-footer {
3457
  left: 300px;
3458
  }
3459
  body.course-item-popupx #learn-press-content-item .content-item-nav-wrap,
3460
+ body.course-item-popupx #learn-press-content-item .content-item-wrap {
3461
  width: 90%;
3462
  }
3463
  }
 
3464
  @media screen and (max-width: 768px) {
3465
  body.course-item-popup #course-item-content-header .course-item-search {
3466
  width: 200px;
3475
  width: 200px;
3476
  }
3477
  body.course-item-popup #content-item-nav,
3478
+ body.course-item-popup #learn-press-content-item,
3479
+ body.course-item-popup #course-item-content-footer {
3480
  left: 200px;
3481
  }
3482
  body.course-item-popup #learn-press-content-item .content-item-nav-wrap,
3483
+ body.course-item-popup #learn-press-content-item .content-item-wrap {
3484
  width: 90%;
3485
  }
3486
  body.course-item-popup.wpadminbar #learn-press-content-item,
3487
+ body.course-item-popup.wpadminbar #learn-press-course-curriculum {
3488
  top: 106px;
3489
  }
3490
  body.course-item-popup.wpadminbar #course-item-content-header {
3491
  top: 46px;
3492
  }
3493
+
3494
  .learn-press-course-results-progress {
3495
  margin-right: 0%;
3496
  }
3497
  .learn-press-course-results-progress .items-progress,
3498
+ .learn-press-course-results-progress .course-progress {
3499
  float: none;
3500
  width: 100%;
3501
  margin-right: 0%;
3502
  margin-bottom: 20px;
3503
  }
3504
  }
 
3505
  .lp-quiz-buttons {
3506
  margin-bottom: 20px;
3507
  display: block;
3513
  margin-bottom: 30px;
3514
  background: #e7f7ff;
3515
  }
 
3516
  .quiz-progress .progress-items {
3517
  display: flex;
3518
  }
 
3519
  .quiz-progress .progress-items .progress-item {
3520
  position: relative;
3521
  color: #777;
3522
  font-size: 15px;
3523
  flex: 1;
3524
  }
 
3525
  .quiz-progress .progress-items .progress-item .progress-number,
3526
  .quiz-progress .progress-items .progress-item .progress-label {
3527
  display: block;
3528
  line-height: 1;
3529
  text-align: center;
3530
  }
 
3531
  .quiz-progress .progress-items .progress-item .progress-number {
3532
  margin: 15px 0 10px 0;
3533
  font-size: 20px;
3534
  }
 
3535
  .quiz-progress .progress-items .progress-item .progress-label {
3536
  margin-bottom: 15px;
3537
  font-size: 14px;
3538
  }
 
3539
  .quiz-progress .progress-items .progress-item i {
3540
  display: none;
3541
  float: left;
3547
  line-height: 60px;
3548
  text-align: center;
3549
  }
 
3550
  .quiz-progress .progress-items .progress-item::after {
3551
  display: block;
3552
  clear: both;
3558
  padding: 0;
3559
  list-style: none;
3560
  }
 
3561
  .answer-options .answer-option {
3562
  display: flex;
3563
  overflow: hidden;
3577
  -o-transition: background linear 0.25s;
3578
  transition: background linear 0.25s;
3579
  }
 
3580
  .answer-options .answer-option .option-title {
3581
  display: table-cell;
3582
  font-size: smaller;
3583
  }
 
3584
  .answer-options .answer-option .option-title .option-title-content {
3585
  display: inline-block;
3586
  vertical-align: middle;
3587
  }
 
3588
  .answer-options .answer-option .option-title::before {
3589
  position: absolute;
3590
  top: 0;
3599
  -o-transition: background linear 0.25s;
3600
  transition: background linear 0.25s;
3601
  }
3602
+ .answer-options .answer-option input[type=checkbox],
3603
+ .answer-options .answer-option input[type=radio] {
 
3604
  -webkit-appearance: initial;
3605
  -moz-appearance: initial;
3606
  position: relative;
3615
  -moz-border-radius: 4px;
3616
  border-radius: 4px;
3617
  }
3618
+ .answer-options .answer-option input[type=checkbox]:focus,
3619
+ .answer-options .answer-option input[type=radio]:focus {
 
3620
  outline: none;
3621
  }
3622
+ .answer-options .answer-option input[type=checkbox]::after,
3623
+ .answer-options .answer-option input[type=radio]::after {
 
3624
  position: absolute;
3625
  top: 15px;
3626
  left: 9px;
3632
  font-weight: 900;
3633
  content: "\f00c";
3634
  }
3635
+ .answer-options .answer-option input[type=checkbox]:checked ~ .option-title .option-title-content,
3636
+ .answer-options .answer-option input[type=radio]:checked ~ .option-title .option-title-content {
 
3637
  position: relative;
3638
  }
3639
+ .answer-options .answer-option input[type=checkbox]:checked ~ .option-title::before,
3640
+ .answer-options .answer-option input[type=radio]:checked ~ .option-title::before {
 
3641
  background: #00adff;
3642
  }
3643
+ .answer-options .answer-option input[type=checkbox]:checked::after,
3644
+ .answer-options .answer-option input[type=radio]:checked::after {
 
3645
  opacity: 1;
3646
  }
3647
+ .answer-options .answer-option input[type=radio] {
 
3648
  -webkit-border-radius: 50%;
3649
  -moz-border-radius: 50%;
3650
  border-radius: 50%;
3651
  }
3652
+ .answer-options .answer-option input[type=radio]::before {
 
3653
  border-radius: 50%;
3654
  }
 
3655
  .answer-options .answer-option .option-title {
3656
  margin: 0;
3657
  }
 
3658
  .answer-options .answer-option:hover {
3659
  background: #e1f5ff;
3660
  }
 
3661
  .answer-options .answer-option.answer-correct {
3662
  background: #e1f5ff;
3663
  }
3664
+ .answer-options .answer-option.answer-correct input[type=radio]:checked ~ .option-title::before,
3665
+ .answer-options .answer-option.answer-correct input[type=checkbox]:checked ~ .option-title::before {
 
3666
  background: #e1f5ff;
3667
  }
3668
+ .answer-options .answer-option.answered-correct input[type=radio]:checked ~ .option-title::before,
3669
+ .answer-options .answer-option.answered-correct input[type=checkbox]:checked ~ .option-title::before {
 
3670
  background: #00adff;
3671
  }
3672
+ .answer-options .answer-option.answered-wrong input[type=radio]::before, .answer-options .answer-option.answered-wrong input[type=radio]::after,
3673
+ .answer-options .answer-option.answered-wrong input[type=checkbox]::before,
3674
+ .answer-options .answer-option.answered-wrong input[type=checkbox]::after {
 
3675
  border-color: #f00;
3676
  }
3677
+ .answer-options .answer-option.answered-wrong input[type=radio]:checked ~ .option-title::before,
3678
+ .answer-options .answer-option.answered-wrong input[type=checkbox]:checked ~ .option-title::before {
 
3679
  background: #f00;
3680
  }
3681
 
3682
  button[data-counter] {
3683
  position: relative;
3684
  }
 
3685
  button[data-counter]::after {
3686
  padding-left: 5px;
3687
  content: "(+" attr(data-counter) ")";
3688
  }
 
3689
  .quiz-result {
3690
  max-width: 320px;
3691
  margin: 20px auto 48px;
3692
  text-align: center;
3693
  }
 
3694
  .quiz-result .result-heading {
3695
  display: none;
3696
  }
 
3697
  .quiz-result.passed .result-message {
3698
  background: #3bb54a;
3699
  }
 
3700
  .quiz-result.passed .result-message::after {
3701
  content: "\f00c";
3702
  }
 
3703
  .quiz-result .result-message {
3704
  margin-bottom: 30px;
3705
  padding: 10px 0;
3711
  -moz-border-radius: 4px;
3712
  border-radius: 4px;
3713
  }
 
3714
  .quiz-result .result-message::after {
3715
  margin-left: 10px;
3716
  font-family: "Font Awesome 5 Free";
3717
  font-weight: 900;
3718
  content: "\f00d";
3719
  }
 
3720
  .quiz-result .result-grade .result-achieved,
3721
  .quiz-result .result-grade .result-require {
3722
  display: inline-block;
3723
  margin: 0 auto;
3724
  }
 
3725
  .quiz-result .result-grade .result-achieved {
3726
  padding-bottom: 7px;
3727
  border-bottom: 1px solid #999;
3730
  font-weight: 500;
3731
  line-height: 1;
3732
  }
 
3733
  .quiz-result .result-grade .result-require {
3734
  display: block;
3735
  padding-top: 5px;
3738
  font-weight: 400;
3739
  line-height: 1;
3740
  }
 
3741
  .quiz-result .result-grade .result-message {
3742
  font-size: 14px;
3743
  }
 
3744
  .quiz-result.failed {
3745
  /*.result-achieved {
3746
  color: #c55757;
3751
  }
3752
  }*/
3753
  }
 
3754
  .quiz-result.passed .result-achieved {
3755
  color: #04adff;
3756
  }
 
3757
  .quiz-result.passed .result-message strong {
3758
  color: #04adff;
3759
  }
 
3760
  .quiz-result .result-statistic {
3761
  margin: 0;
3762
  padding: 0;
3763
  text-align: left;
3764
  list-style: none;
3765
  }
 
3766
  .quiz-result .result-statistic .result-statistic-field {
3767
  display: flex;
3768
  margin: 0;
3769
  }
 
3770
  .quiz-result .result-statistic .result-statistic-field span,
3771
  .quiz-result .result-statistic .result-statistic-field p {
3772
  margin: 0;
3773
  flex: 1;
3774
  }
 
3775
  .quiz-result .result-statistic .result-statistic-field span {
3776
  color: #666;
3777
  font-size: 16px;
3778
  font-weight: 400;
3779
  line-height: 35px;
3780
  }
 
3781
  .quiz-result .result-statistic .result-statistic-field span::before {
3782
  display: inline-block;
3783
  width: 15px;
3787
  font-size: 16px;
3788
  font-weight: 900;
3789
  }
 
3790
  .quiz-result .result-statistic .result-statistic-field p {
3791
  color: #333;
3792
  font-size: 16px;
3794
  line-height: 35px;
3795
  text-align: right;
3796
  }
 
3797
  .quiz-result .result-statistic .result-statistic-field.result-time-spend label::before {
3798
  font-weight: 400;
3799
  content: "\f017";
3800
  }
 
3801
  .quiz-result .result-statistic .result-statistic-field.result-point label::before {
3802
  font-weight: 400;
3803
  content: "\f005";
3804
  }
 
3805
  .quiz-result .result-statistic .result-statistic-field.result-questions label::before {
3806
  font-weight: 400;
3807
  content: "\f059";
3808
  }
 
3809
  .quiz-result .result-statistic .result-statistic-field.result-questions-correct label::before {
3810
  color: #3db748;
3811
  content: "\f00c";
3812
  }
 
3813
  .quiz-result .result-statistic .result-statistic-field.result-questions-wrong label::before {
3814
  color: #f02425;
3815
  content: "\f00d";
3816
  }
 
3817
  .quiz-result .result-statistic .result-statistic-field.result-questions-skipped label::before {
3818
  color: #ddd;
3819
  content: "\f2f5";
3827
  left: 0;
3828
  margin: 0 0 35px 0;
3829
  }
 
3830
  .quiz-status > div {
3831
  display: flex;
3832
  box-sizing: border-box;
3840
  justify-content: center;
3841
  align-items: center;
3842
  }
 
3843
  @media (max-width: 480px) {
3844
  .quiz-status > div {
3845
  display: block;
3847
  text-align: center;
3848
  }
3849
  }
 
3850
  .quiz-status > div > div {
3851
  display: flex;
3852
  flex-direction: row-reverse;
3853
  flex: 0 0 50%;
3854
  align-items: center;
3855
  }
 
3856
  .quiz-status > div .current-point {
3857
  display: none;
3858
  }
 
3859
  .quiz-status .questions-index {
3860
  display: inline-block;
3861
  color: #666;
3863
  font-weight: 400;
3864
  line-height: 26px;
3865
  }
 
3866
  .quiz-status .questions-index span {
3867
  color: #333;
3868
  font-weight: 500;
3869
  }
 
3870
  .quiz-status .countdown {
3871
  position: relative;
3872
  min-width: 120px;
3879
  line-height: 1;
3880
  text-align: center;
3881
  }
 
3882
  .quiz-status .countdown .fas {
3883
  position: absolute;
3884
  top: 50%;
3887
  font-size: 14px;
3888
  transform: translateY(-50%);
3889
  }
 
3890
  .quiz-status .countdown .clock {
3891
  display: none;
3892
  width: 40px;
3893
  height: 40px;
3894
  }
 
3895
  .quiz-status .countdown .clock::before {
3896
  position: absolute;
3897
  width: 40px;
3903
  -moz-box-sizing: border-box;
3904
  box-sizing: border-box;
3905
  }
 
3906
  .quiz-status .countdown .clock .circle-progress-bar {
3907
  display: inline-block;
3908
  position: relative;
3910
  height: 40px;
3911
  stroke: #5383f7;
3912
  }
 
3913
  .quiz-status .countdown .clock .circle-progress-bar .circle-progress-bar__circle {
3914
  transition: 0.35s stroke-dashoffset;
3915
  transform: rotate(-90deg);
3916
  transform-origin: 50% 50%;
3917
  }
 
3918
  .quiz-status .countdown .clock.x .circle-progress-bar__circle {
3919
  stroke: #f00;
3920
  }
 
3921
  .quiz-status .submit-quiz button {
3922
  margin: 0 0 0 10px;
3923
  border: none;
3925
  background: #fff;
3926
  text-transform: uppercase;
3927
  }
 
3928
  .quiz-status .submit-quiz button:hover {
3929
  background: var(--lp-secondary-color);
3930
  }
 
3931
  .quiz-status.submitting .submit-quiz button {
3932
  background: #ddd;
3933
  }
3936
  text-align: center;
3937
  list-style: none;
3938
  }
 
3939
  .question-numbers li {
3940
  display: inline-block;
3941
  position: relative;
3942
  margin-bottom: 3px;
3943
  }
 
3944
  .question-numbers li a {
3945
  display: block;
3946
  min-width: 20px;
3952
  font-size: 12px;
3953
  line-height: 1;
3954
  }
 
3955
  .question-numbers li a span {
3956
  vertical-align: middle;
3957
  }
 
3958
  .question-numbers li a:hover {
3959
  border: 1px solid #3880a2;
3960
  color: #fff;
3961
  background: #00adff;
3962
  }
 
3963
  .question-numbers li.current a {
3964
  border-color: #3880a2;
3965
  color: #fff !important;
3966
  background: #00adff;
3967
  }
 
3968
  .question-numbers li.current.skipped::after {
3969
  background: #fff;
3970
  }
 
3971
  .question-numbers li.answered a::after {
3972
  margin-left: 3px;
3973
  font-family: "Font Awesome 5 Free";
3974
  font-size: 8px;
3975
  vertical-align: middle;
3976
  }
 
3977
  .question-numbers li.answered.answered-wrong a {
3978
  color: #f00;
3979
  }
 
3980
  .question-numbers li.answered.answered-true a {
3981
  color: #00adff;
3982
  }
 
3983
  .question-numbers li.answered.answered-true.current a {
3984
  color: #fff;
3985
  }
 
3986
  .question-numbers li.skipped::after {
3987
  position: absolute;
3988
  bottom: 3px;
4002
  list-style: none;
4003
  flex-flow: row wrap;
4004
  }
 
4005
  @media (max-width: 768px) {
4006
  .quiz-intro {
4007
  padding-right: 10px;
4009
  justify-content: space-between;
4010
  }
4011
  }
 
4012
  .quiz-intro-item {
4013
  display: flex;
4014
  margin: 0 40px 0 0;
4015
  align-items: center;
4016
  }
 
4017
  @media (max-width: 768px) {
4018
  .quiz-intro-item {
4019
  margin: 0 20px 0 0;
4020
  }
4021
  }
 
4022
  .quiz-intro-item::before {
4023
  position: relative;
4024
  top: -2px;
4028
  font-size: 16px;
4029
  font-weight: 900;
4030
  }
 
4031
  .quiz-intro-item--passing-grade {
4032
  order: 2;
4033
  }
 
4034
  .quiz-intro-item--passing-grade::before {
4035
  content: "\f012";
4036
  }
 
4037
  .quiz-intro-item--questions-count {
4038
  order: 1;
4039
  }
 
4040
  .quiz-intro-item--questions-count::before {
4041
  content: "\f12e";
4042
  }
 
4043
  .quiz-intro-item--duration {
4044
  order: 2;
4045
  }
 
4046
  .quiz-intro-item--duration::before {
4047
  content: "\f017";
4048
  }
 
4049
  .quiz-intro-item__title {
4050
  margin: 0;
4051
  padding: 0 8px 0 0;
4054
  font-weight: 300;
4055
  line-height: 1.7;
4056
  }
 
4057
  .quiz-intro-item__content {
4058
  color: #222;
4059
  font-size: 16px;
4067
  background: #f5f5f5;
4068
  }
4069
 
4070
+ .redo-quiz button[type=submit] {
4071
  content: attr(data-counter);
4072
  }
4073
 
4077
  height: 300px;
4078
  border-color: #ddd;
4079
  }
 
4080
  .circle-bar::before {
4081
  position: absolute;
4082
  z-index: 0;
4089
  border-radius: 50%;
4090
  content: "";
4091
  }
 
4092
  .circle-bar .before,
4093
  .circle-bar .after {
4094
  position: absolute;
4101
  border: 10px solid #14c4ff;
4102
  border-radius: 50%;
4103
  }
 
4104
  .circle-bar .before {
4105
  border-bottom-color: transparent;
4106
  border-left-color: transparent;
4107
  transform: rotate(45deg);
4108
  }
 
4109
  .circle-bar .after {
4110
  border-color: #14c4ff;
4111
  border-top-color: transparent;
4112
  border-right-color: transparent;
4113
  transform: rotate(45deg);
4114
  }
 
4115
  .circle-bar.bg50 .after {
4116
  z-index: 10;
4117
  border-bottom-color: inherit;
4144
  justify-content: center;
4145
  align-items: center;
4146
  }
 
4147
  .quiz-result .result-grade::before,
4148
  .quiz-result .result-grade svg {
4149
  position: absolute;
4156
  -moz-border-radius: 50%;
4157
  border-radius: 50%;
4158
  }
 
4159
  .quiz-result .result-grade::before {
4160
  box-sizing: border-box;
4161
  padding: 30px;
4162
  border: 10px solid #ccc;
4163
  content: "";
4164
  }
 
4165
  .quiz-result .result-grade svg {
4166
  -webkit-transform: rotate(-90deg);
4167
  -moz-transform: rotate(-90deg);
4169
  -o-transform: rotate(-90deg);
4170
  transform: rotate(-90deg);
4171
  }
 
4172
  .quiz-result .result-grade svg circle {
4173
  stroke: var(--lp-primary-color);
4174
  }
 
4175
  .quiz-result.passed .result-grade svg {
4176
  -webkit-transform: rotate(-90deg);
4177
  -moz-transform: rotate(-90deg);
4179
  -o-transform: rotate(-90deg);
4180
  transform: rotate(-90deg);
4181
  }
 
4182
  .quiz-result.passed .result-grade .result-achieved {
4183
  color: #333;
4184
  }
 
4185
  .quiz-result.passed .result-grade .result-message strong {
4186
  color: #4caf50;
4187
  }
4195
  _border: 2px solid #d9e0f1;
4196
  background: #fff;
4197
  }
4198
+ .question .answer-option input[type=radio],
4199
+ .question .answer-option input[type=checkbox] {
 
4200
  position: absolute;
4201
  top: 50%;
4202
  margin: -19px 0 0 10px;
4205
  -moz-border-radius: 4px;
4206
  border-radius: 4px;
4207
  }
4208
+ .question .answer-option input[type=radio]::after,
4209
+ .question .answer-option input[type=checkbox]::after {
 
4210
  border-color: #d9e0f1;
4211
  }
4212
+ .question .answer-option input[type=radio]:disabled,
4213
+ .question .answer-option input[type=checkbox]:disabled {
 
4214
  border-color: #ddd;
4215
  background: #f9f9f9;
4216
  }
4217
+ .question .answer-option input[type=radio]:disabled::after,
4218
+ .question .answer-option input[type=checkbox]:disabled::after {
 
4219
  border-color: #ddd;
4220
  }
4221
+ .question .answer-option input[type=radio]:checked:not(:disabled)::after,
4222
+ .question .answer-option input[type=checkbox]:checked:not(:disabled)::after {
 
4223
  border-color: #99aee4;
4224
  }
4225
+ .question .answer-option input[type=radio] {
 
4226
  -webkit-border-radius: 50%;
4227
  -moz-border-radius: 50%;
4228
  border-radius: 50%;
4229
  }
4230
+ .question .answer-option input[type=radio]::before {
 
4231
  border-radius: 50%;
4232
  }
 
4233
  .question .answer-option .option-title {
4234
  display: flex;
4235
  width: 100%;
4245
  -moz-border-radius: 4px;
4246
  border-radius: 4px;
4247
  }
 
4248
  .question .answer-option .option-title::after {
4249
  display: inline-block;
4250
  visibility: hidden !important;
4251
  content: ".";
4252
  }
 
4253
  .question .answer-option .option-title:hover {
4254
  background: #f9f9f9;
4255
  }
 
4256
  .question .answer-option .option-title::before {
4257
  display: none;
4258
  }
 
4259
  .question .answer-option.answer-correct .option-title {
4260
  border-color: #4caf50;
4261
  }
 
4262
  .question .answer-option.answered-wrong .option-title {
4263
  border-color: #ff6423;
4264
  }
 
4265
  .question .question-title {
4266
  display: block;
4267
  margin-top: 0;
4271
  font-weight: normal;
4272
  font-weight: 500;
4273
  }
 
4274
  .question .question-title .edit-link {
4275
  float: right;
4276
  font-size: 14px;
4277
  font-weight: normal;
4278
  }
 
4279
  .question .question-content {
4280
  margin-bottom: 30px;
4281
  color: #666;
4283
  font-weight: 300;
4284
  line-height: 26px;
4285
  }
 
4286
  .question .question-content img {
4287
  width: 100%;
4288
  max-width: 100%;
4289
  }
 
4290
  .question .question-response {
4291
  margin-bottom: 10px;
4292
  font-size: 14px;
4293
  }
 
4294
  .question .question-response .label {
4295
  display: inline-block;
4296
  margin: 0 5px 0 0;
4299
  color: #fff;
4300
  line-height: 1;
4301
  }
 
4302
  .question .question-response .point {
4303
  display: inline-block;
4304
  }
 
4305
  .question .question-response.correct .label {
4306
  background: #4caf50;
4307
  }
 
4308
  .question .question-response.incorrect .label {
4309
  background: #ff6423;
4310
  }
 
4311
  .question .question-index {
4312
  display: inline-block;
4313
  margin: 0 5px 0 0;
4314
  }
 
4315
  .question .btn-show-hint {
4316
  position: relative;
4317
  margin: 0 0 0 10px;
4322
  font-size: 0;
4323
  text-decoration: none;
4324
  }
 
4325
  .question .btn-show-hint::before {
4326
  font-family: "Font Awesome 5 Free";
4327
  font-size: 18px;
4328
  content: "\f059";
4329
  }
 
4330
  .question .btn-show-hint:hover span {
4331
  position: absolute;
4332
  bottom: 100%;
4342
  white-space: nowrap;
4343
  text-transform: none;
4344
  }
 
4345
  .question.question-fill_in_blanks .blanks .blank-input-wrap {
4346
  display: inline-block;
4347
  }
 
4348
  .question.question-fill_in_blanks .blanks .blank-block {
4349
  margin-bottom: 20px;
4350
  }
 
4351
  .question.question-fill_in_blanks .blanks .blank-input {
4352
  display: inline-block;
4353
  width: auto;
4359
  text-align: center;
4360
  white-space: nowrap;
4361
  }
 
4362
  .question.question-fill_in_blanks .blanks .blank-input br {
4363
  display: none;
4364
  }
 
4365
  .question.question-fill_in_blanks .blanks .blank-input > * {
4366
  display: inline;
4367
  white-space: nowrap;
4368
  }
 
4369
  .question.question-fill_in_blanks .blanks .blank-select {
4370
  display: inline-block;
4371
  height: 30px;
4372
  margin-left: 4px;
4373
  padding: 1px;
4374
  }
 
4375
  .question.question-fill_in_blanks .blanks .blank-fills {
4376
  display: inline-block;
4377
  }
 
4378
  .question.question-fill_in_blanks .blanks .blank-fills code {
4379
  margin: 0 5px;
4380
  padding: 0 6px;
4384
  -moz-border-radius: 4px;
4385
  border-radius: 4px;
4386
  }
 
4387
  .question.question-fill_in_blanks .blanks.ordered {
4388
  list-style-position: inside;
4389
  }
 
4390
  .question.question-fill_in_blanks .blanks.one-paragraph {
4391
  line-height: 3;
4392
  }
 
4393
  .lp-sort-bg label.option-title {
4394
  background: rgba(255, 182, 6, 0.68) !important;
4395
  }
4405
  color: #FFF;
4406
  padding: 10px;
4407
  }
 
4408
  .learn-press-message.fixed[data-delay-in] {
4409
  display: none;
4410
  }
4418
  width: auto;
4419
  margin: 0 15%;
4420
  }
 
4421
  body.learnpress-page.twentyfifteen .course-summary-sidebar .widget {
4422
  width: 100%;
4423
  padding: 0;
4424
  }
 
4425
  body.learnpress-page.twentysixteen .entry-footer {
4426
  display: none;
4427
  }
 
4428
  body.learnpress-page.twentysixteen .lp-entry-content {
4429
  float: none;
4430
  width: auto;
4431
  }
 
4432
  body.learnpress-page.twentyseventeen #primary article.type-page {
4433
  width: 100%;
4434
  }
4449
  width: auto;
4450
  }
4451
  }
 
4452
  body.twentyseventeen.learnpress-page #primary article.page .entry-header,
4453
  body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
4454
  width: 100%;
4457
 
4458
  @media screen and (min-width: 48em) {
4459
  body.twentyseventeen.learnpress-page #primary article.page .entry-header,
4460
+ body.twentyseventeen.learnpress-page #primary article.page .lp-entry-content {
4461
  width: 100%;
4462
  float: none;
4463
  }
4464
  }
 
4465
  .learn-press-tip {
4466
  display: none;
4467
  margin: 0 5px;
4472
  vertical-align: baseline;
4473
  cursor: pointer;
4474
  }
 
4475
  .learn-press-tip.ready {
4476
  display: inline-block;
4477
  }
 
4478
  .learn-press-tip::before {
4479
  font-family: "Font Awesome 5 Free";
4480
  content: "\f059";
4481
  }
 
4482
  .learn-press-tip:hover {
4483
  opacity: 0.8;
4484
  }
4497
  -moz-border-radius: 3px;
4498
  border-radius: 3px;
4499
  }
 
4500
  .learn-press-tip-floating > * {
4501
  font-size: 12px;
4502
  }
 
4503
  .learn-press-tip-floating .close {
4504
  display: inline-block;
4505
  position: absolute;
4517
  -moz-border-radius: 50%;
4518
  border-radius: 50%;
4519
  }
 
4520
  .learn-press-tip-floating .close::before {
4521
  font-family: "Font Awesome 5 Free";
4522
  content: "\f00d";
4523
  }
 
4524
  .learn-press-tip-floating p {
4525
  margin: 0;
4526
  }
 
4527
  .learn-press-tip-floating::before {
4528
  position: absolute;
4529
  bottom: -6px;
4540
  body.lp-preview.admin-bar #learn-press-content-item {
4541
  top: 32px !important;
4542
  }
 
4543
  body.lp-preview #learn-press-course-curriculum {
4544
  display: none;
4545
  }
 
4546
  body.lp-preview #learn-press-content-item {
4547
  top: 0 !important;
4548
  left: 0 !important;
4549
  }
 
4550
  body.lp-preview #course-item-content-header {
4551
  display: none;
4552
  }
4569
  transform: rotate(360deg);
4570
  }
4571
  }
 
4572
  @keyframes rotating4 {
4573
  from {
4574
  -ms-transform: rotate(0deg);
4585
  transform: rotate(360deg);
4586
  }
4587
  }
 
4588
  @-webkit-keyframes animation4 {
4589
  from {
4590
  left: -40%;
4595
  width: 10%;
4596
  }
4597
  }
 
4598
  @keyframes animation4 {
4599
  from {
4600
  left: -40%;
4605
  width: 10%;
4606
  }
4607
  }
 
4608
  #popup_container {
4609
  opacity: 0;
4610
  transform: scale(0.5);
4613
  body.confirm #popup_overlay {
4614
  z-index: 999998 !important;
4615
  }
 
4616
  body.confirm #popup_container {
4617
  z-index: 999999 !important;
4618
  max-width: 90% !important;
4624
  -moz-border-radius: 3px;
4625
  border-radius: 3px;
4626
  }
 
4627
  body.confirm #popup_container #popup_title {
4628
  display: none !important;
4629
  }
 
4630
  body.confirm #popup_container #popup_message {
4631
  margin: -10px;
4632
  background: #FFF;
4635
  -moz-border-radius: 3px;
4636
  border-radius: 3px;
4637
  }
 
4638
  body.confirm #popup_container .close {
4639
  position: absolute;
4640
  top: 3px;
4641
  right: 10px;
4642
  }
 
4643
  body.confirm #popup_container #popup_panel {
4644
  margin-top: 20px;
4645
  text-align: center;
4646
  }
4647
+ body.confirm #popup_container #popup_panel button, body.confirm #popup_container #popup_panel input[type=button], body.confirm #popup_container #popup_panel input[type=submit] {
 
4648
  height: 30px;
4649
  line-height: 30px;
4650
  padding: 0 25px;
4651
  }
 
4652
  body.confirm #popup_container #popup_cancel {
4653
  display: none;
4654
  }
 
4655
  body.confirm #popup_container.ready {
4656
  opacity: 1;
4657
  transform: scale(1);
4669
  max-width: 100%;
4670
  margin: 0 auto;
4671
  }
 
4672
  @media (max-width: 1024px) {
4673
  .lp-content-area {
4674
  padding-right: 15px;
4686
  .lp-archive-courses.loading ul.learn-press-courses {
4687
  position: relative;
4688
  }
 
4689
  .lp-archive-courses.loading ul.learn-press-courses::after {
4690
  position: absolute;
4691
  z-index: 3;
4700
  content: "";
4701
  animation: lp-skeleton-loading 1.4s ease infinite;
4702
  }
 
4703
  .lp-archive-courses.loading ul.learn-press-courses::before {
4704
  position: absolute;
4705
  z-index: 2;
4711
  background: #fff;
4712
  content: "";
4713
  }
4714
+ .lp-archive-courses form[name=search-course] {
 
4715
  position: relative;
4716
  margin-bottom: 20px;
4717
  }
4718
+ .lp-archive-courses form[name=search-course] .search-course-input {
 
4719
  width: 100%;
4720
  padding: 12px;
4721
  -webkit-box-sizing: border-box;
4722
  -moz-box-sizing: border-box;
4723
  box-sizing: border-box;
4724
  }
4725
+ .lp-archive-courses form[name=search-course] .search-course-button {
 
4726
  position: absolute;
4727
  top: 1px;
4728
  right: 1px;
4731
  padding: 15px;
4732
  line-height: 1px;
4733
  }
 
4734
  .lp-archive-courses .learn-press-courses-header {
4735
  float: left;
4736
  padding-top: 4px;
4737
  }
 
4738
  .lp-archive-courses .learn-press-courses-header h1 {
4739
  margin: 0;
4740
  font-size: 30px;
4741
  font-weight: 600;
4742
  }
 
4743
  @media (max-width: 767px) {
4744
  .lp-archive-courses .learn-press-courses-header {
4745
  margin-bottom: 20px;
4746
  }
4747
  }
 
4748
  .lp-archive-courses .learn-press-courses {
4749
  clear: both;
4750
  margin: 0 -15px 0 -15px;
4759
  -webkit-flex-wrap: wrap;
4760
  flex-wrap: wrap;
4761
  }
 
4762
  .lp-archive-courses .learn-press-courses .course {
4763
  width: 25%;
4764
  margin: 0 0 60px 0;
4765
  box-shadow: none;
4766
  list-style: none;
4767
  }
 
4768
  .lp-archive-courses .learn-press-courses .course .course-item {
4769
  display: flex;
4770
  flex-direction: column;
4772
  height: 100%;
4773
  transition: all 0.3s;
4774
  }
 
4775
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail {
4776
  overflow: hidden;
4777
  position: relative;
4778
  }
 
4779
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .lp-badge.featured {
4780
  position: absolute;
4781
  z-index: 100;
4785
  text-align: center;
4786
  transform: rotate(-45deg);
4787
  }
 
4788
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail a {
4789
  display: block;
4790
  overflow: hidden;
4791
  }
 
4792
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail .thumbnail {
4793
  margin: 0;
4794
  padding: 0;
4796
  border-radius: unset;
4797
  line-height: unset;
4798
  }
 
4799
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail .thumbnail::before {
4800
  position: absolute;
4801
  z-index: 1;
4808
  content: "";
4809
  transition: all 0.3s;
4810
  }
 
4811
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-thumbnail .thumbnail img {
4812
  display: block;
4813
  width: 100%;
4815
  transition: all 0.5s ease;
4816
  transform: scale(1);
4817
  }
 
4818
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist {
4819
  position: absolute;
4820
  z-index: 2;
4824
  color: #fff;
4825
  cursor: pointer;
4826
  }
 
4827
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist::before {
4828
  font-family: "Font Awesome 5 Free";
4829
  font-weight: 900;
4830
  content: "\f004";
4831
  }
 
4832
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist .course-wishlist__btn {
4833
  display: none;
4834
  }
 
4835
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail .course-wishlist:hover {
4836
  color: var(--lp-primary-color);
4837
  }
 
4838
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail:hover::before {
4839
  opacity: 1;
4840
  }
 
4841
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail:hover .course-thumbnail a img {
4842
  transform: scale(1.05);
4843
  }
 
4844
  .lp-archive-courses .learn-press-courses .course .course-item .course-wrap-thumbnail:hover .course-wishlist {
4845
  opacity: 1;
4846
  }
 
4847
  .lp-archive-courses .learn-press-courses .course .course-item:hover .course-thumbnail .thumbnail::before {
4848
  opacity: 1;
4849
  }
 
4850
  .lp-archive-courses .learn-press-courses .course .course-item:hover .course-thumbnail a img {
4851
  transform: scale(1.05);
4852
  }
 
4853
  .lp-archive-courses .learn-press-courses .course .course-item:hover .course-wishlist {
4854
  opacity: 1;
4855
  }
 
4856
  .lp-archive-courses .learn-press-courses .course .course-item .course-wishlist.filled {
4857
  opacity: 1;
4858
  }
 
4859
  .lp-archive-courses .learn-press-courses .course .course-item .course-content {
4860
  position: relative;
4861
  border-top: 0;
4862
  }
 
4863
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink {
4864
  display: -webkit-box;
4865
  clear: both;
4875
  -moz-box-shadow: none;
4876
  box-shadow: none;
4877
  }
 
4878
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink:focus {
4879
  -webkit-box-shadow: none;
4880
  -moz-box-shadow: none;
4881
  box-shadow: none;
4882
  }
 
4883
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink .course-title {
4884
  margin: 0;
4885
  padding: 0;
4888
  font-weight: 600;
4889
  line-height: 24px;
4890
  }
 
4891
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-permalink .course-title:hover {
4892
  color: var(--lp-primary-color);
4893
  }
 
4894
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-review {
4895
  display: none;
4896
  }
 
4897
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories,
4898
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-tags {
4899
  display: block;
4900
  font-size: 14px;
4901
  font-weight: 300;
4902
  }
 
4903
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories {
4904
  float: left;
4905
  position: relative;
4906
  margin-right: 10px;
4907
  margin-bottom: 16px;
4908
  }
 
4909
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories a {
4910
  display: inline-block;
4911
  display: none;
4913
  color: #fff;
4914
  text-decoration: none;
4915
  }
 
4916
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories a:first-child {
4917
  display: block;
4918
  margin-left: 0;
4919
  padding: 2px 16px;
4920
  background: var(--lp-primary-color);
4921
  }
 
4922
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories a:hover {
4923
  color: #333;
4924
  }
 
4925
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-categories::after {
4926
  position: absolute;
4927
  top: 50%;
4933
  content: "";
4934
  transform: translate(0, -50%);
4935
  }
 
4936
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-instructor {
4937
  float: left;
4938
  margin-bottom: 16px;
4941
  line-height: 25px;
4942
  text-transform: capitalize;
4943
  }
 
4944
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-instructor a {
4945
  color: #059de9;
4946
  }
 
4947
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-instructor a:hover {
4948
  color: var(--lp-primary-color);
4949
  }
 
4950
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info {
4951
  color: #666;
4952
  font-size: 14px;
4953
  font-weight: 300;
4954
  }
 
4955
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info > span {
4956
  display: block;
4957
  }
 
4958
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price {
4959
  float: right;
4960
  }
 
4961
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price .origin-price,
4962
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price .price {
4963
  color: #333;
4964
  font-size: 16px;
4965
  font-weight: 600;
4966
  }
 
4967
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-price .origin-price {
4968
  margin-right: 10px;
4969
  color: #666;
4971
  font-weight: 300;
4972
  text-decoration: line-through;
4973
  }
 
4974
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info .course-instructor {
4975
  float: right;
4976
  }
 
4977
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-info::after {
4978
  display: block;
4979
  clear: both;
4980
  content: "";
4981
  }
 
4982
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .course-excerpt {
4983
  display: -webkit-box;
4984
  overflow: hidden;
4990
  -webkit-line-clamp: 2;
4991
  -webkit-box-orient: vertical;
4992
  }
 
4993
  .lp-archive-courses .learn-press-courses .course .course-item .course-content .separator {
4994
  display: none;
4995
  }
4996
+ .lp-archive-courses .learn-press-courses[data-layout=list] {
 
4997
  margin: 0;
4998
  }
4999
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course {
 
5000
  display: flex;
5001
  width: 100%;
5002
  padding: 24px;
5005
  flex-wrap: wrap;
5006
  justify-content: flex-end;
5007
  }
 
5008
  @media (max-width: 767px) {
5009
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course {
5010
  padding: 15px;
5011
  }
5012
  }
5013
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item {
 
5014
  display: flex;
5015
  flex-direction: row;
5016
  width: 100%;
5017
  border: unset;
5018
  justify-content: space-between;
5019
  }
 
5020
  @media (max-width: 767px) {
5021
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item {
5022
  flex-direction: column;
5023
  }
5024
  }
5025
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-wrap-thumbnail {
 
5026
  float: left;
5027
  width: 35.8%;
5028
  }
 
5029
  @media (max-width: 767px) {
5030
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-wrap-thumbnail {
5031
  width: 100%;
5032
  }
5033
  }
5034
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content {
 
5035
  float: right;
5036
+ width: calc(64.2% - 76px);
5037
  padding-top: 5px;
5038
  }
 
5039
  @media (max-width: 1200px) {
5040
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content {
5041
+ width: calc(64.2% - 40px);
5042
  }
5043
  }
 
5044
  @media (max-width: 1200px) {
5045
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content {
5046
+ width: calc(64.2% - 25px);
5047
  }
5048
  }
 
5049
  @media (max-width: 767px) {
5050
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content {
5051
  width: 100%;
5052
  padding-top: 20px;
5053
  }
5054
  }
5055
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-categories a {
 
5056
  position: relative;
5057
  padding: 2px 20px 2px 15px;
5058
  -webkit-clip-path: polygon(0% 0%, 100% 0, 88% 50%, 100% 100%, 0% 100%);
5059
  clip-path: polygon(0% 0%, 100% 0, 88% 50%, 100% 100%, 0% 100%);
5060
  }
5061
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-permalink {
 
5062
  overflow: hidden;
5063
  height: 25px;
5064
  margin-bottom: 5px;
5065
  -webkit-line-clamp: 1;
5066
  }
5067
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-permalink .course-title {
 
5068
  color: #333;
5069
  font-size: 18px;
5070
  font-weight: 600;
5071
  line-height: 24px;
5072
  }
5073
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-permalink .course-title:hover {
 
5074
  color: var(--lp-primary-color);
5075
  }
5076
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta {
 
5077
  display: flex;
5078
  padding-top: 12px;
5079
  padding-bottom: 18px;
5081
  font-size: 14px;
5082
  font-weight: 400;
5083
  }
5084
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item {
 
5085
  padding-right: 28px;
5086
  text-transform: capitalize;
5087
  }
 
5088
  @media (max-width: 1024px) {
5089
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item {
5090
  padding-right: 20px;
5091
  }
5092
  }
5093
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item::before {
 
5094
  position: relative;
5095
  top: -1px;
5096
  margin-right: 8px;
5098
  font-family: "Font Awesome 5 Free";
5099
  font-weight: 900;
5100
  }
5101
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item-level::before {
 
5102
  content: "\f012";
5103
  }
5104
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item-duration::before {
 
5105
  content: "\f017";
5106
  }
5107
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item-lesson::before {
 
5108
  content: "\f0c5";
5109
  }
5110
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item-quiz::before {
 
5111
  content: "\f12e";
5112
  }
5113
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item-student::before {
 
5114
  content: "\f501";
5115
  }
 
5116
  @media (max-width: 815px) {
5117
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta {
5118
  display: grid;
5119
  grid-template-columns: repeat(2, 1fr);
5120
  grid-gap: 15px;
5121
  }
5122
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta .meta-item {
5123
  padding-right: 15px;
5124
  }
5125
  }
 
5126
  @media (max-width: 767px) {
5127
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-wrap-meta {
5128
  grid-template-columns: repeat(3, 1fr);
5129
  }
5130
  }
5131
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-tags a {
 
5132
  margin: 0 10px 10px 0;
5133
  padding: 3px 5px;
5134
  border-radius: 3px;
5136
  background: #e4a2a2;
5137
  line-height: 1;
5138
  }
5139
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-footer {
 
5140
  float: left;
5141
  margin-right: 20px;
5142
  }
5143
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-footer .course-students {
 
5144
  display: none;
5145
  }
5146
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-footer .course-price {
 
5147
  float: unset;
5148
  }
 
5149
  @media (max-width: 767px) {
5150
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-footer {
5151
  margin-bottom: 30px;
5152
  }
5153
  }
5154
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-readmore {
 
5155
  float: right;
5156
  position: relative;
5157
  right: 4px;
5158
  }
5159
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-readmore a {
 
5160
  padding: 9px 24px;
5161
  border-radius: 3px;
5162
  color: #fff;
5164
  font-weight: 400;
5165
  line-height: 1;
5166
  transition: all 0.3s;
5167
+ display: block;
5168
  }
5169
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-readmore a:hover {
 
5170
  opacity: 0.5;
5171
  background: var(--lp-primary-color);
5172
  }
 
5173
  @media (max-width: 767px) {
5174
+ .lp-archive-courses .learn-press-courses[data-layout=list] .course .course-item .course-content .course-readmore {
5175
  display: flex;
5176
  float: unset;
5177
  clear: both;
5178
  }
5179
  }
5180
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course {
 
5181
  padding: 0 15px;
5182
  }
5183
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item:hover {
 
5184
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.2);
5185
  }
5186
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content {
 
5187
  padding: 15px 20px 12px 20px;
5188
  border: 1px solid #f0f0f0;
5189
  border-top: 0;
5190
  flex-grow: 1;
5191
  }
5192
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-instructor {
 
5193
  margin-bottom: 7px;
5194
  }
5195
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-categories {
 
5196
  float: right;
5197
  position: absolute;
5198
  z-index: 1;
5200
  right: -1px;
5201
  margin-right: 0;
5202
  }
5203
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-categories::after {
 
5204
  display: none;
5205
  }
5206
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-categories a {
 
5207
  position: relative;
5208
  margin: 0;
5209
  padding: 2px 12px 2px 22px;
5210
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 12px 50%);
5211
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 12px 50%);
5212
  }
5213
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-permalink {
 
5214
  height: 48px;
5215
  margin-bottom: 20px;
5216
  }
5217
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-wrap-meta {
 
5218
  display: none;
5219
  }
5220
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-info {
 
5221
  display: flex;
5222
  flex-direction: column;
5223
  flex-grow: 1;
5224
  }
5225
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-info .course-excerpt {
 
5226
  display: none;
5227
  }
5228
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-info .course-footer {
 
5229
  padding-top: 18px;
5230
  border-top: 1px solid rgba(153, 153, 153, 0.2);
5231
  }
5232
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-info .course-footer .course-students {
 
5233
  float: left;
5234
  text-transform: capitalize;
5235
  }
5236
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-info .course-footer .course-students::before {
 
5237
  position: relative;
5238
  top: -1px;
5239
  margin-right: 8px;
5242
  font-weight: 900;
5243
  content: "\f501";
5244
  }
5245
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course .course-item .course-content .course-info .course-readmore {
 
5246
  display: none;
5247
  }
 
5248
  @media (max-width: 992px) {
5249
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course {
5250
  width: 50%;
5251
  }
5252
  }
 
5253
  @media (max-width: 767px) {
5254
+ .lp-archive-courses .learn-press-courses[data-layout=grid] .course {
5255
  width: 100%;
5256
  }
5257
  }
 
5258
  .lp-archive-courses .learn-press-courses[data-size="3"] .course {
5259
  width: 33.3333%;
5260
  }
 
5261
  @media (max-width: 767px) {
5262
  .lp-archive-courses .learn-press-courses[data-size="3"] .course {
5263
  width: 100%;
5269
  float: right;
5270
  margin-bottom: 48px;
5271
  }
 
5272
  @media (max-width: 767px) {
5273
  .lp-courses-bar {
5274
  flex-direction: row;
5276
  justify-content: space-between;
5277
  }
5278
  }
 
5279
  .lp-courses-bar .search-courses {
5280
  position: relative;
5281
  width: 306px;
5284
  line-height: 1;
5285
  flex: 1;
5286
  }
5287
+ .lp-courses-bar .search-courses input[type=text] {
 
5288
  width: 100%;
5289
  height: 44px;
5290
  padding: 6px 32px 6px 18px;
5295
  font-style: italic;
5296
  line-height: 1;
5297
  }
5298
+ .lp-courses-bar .search-courses input[type=text]:focus {
 
5299
  border-color: var(--lp-primary-color);
5300
  outline: 0;
5301
  }
 
5302
  .lp-courses-bar .search-courses button {
5303
  position: absolute;
5304
  top: 50%;
5313
  line-height: 1;
5314
  transform: translate(0, -50%);
5315
  }
 
5316
  .lp-courses-bar .search-courses button:focus {
5317
  border: 0;
5318
  outline: 0;
5319
  }
 
5320
  .lp-courses-bar .search-courses button.loading > i::before {
5321
  display: inline-block;
5322
  font-family: "Font Awesome 5 Free";
5326
  -moz-animation: lp-rotating 1s linear infinite;
5327
  animation: lp-rotating 1s linear infinite;
5328
  }
 
5329
  .lp-courses-bar .search-courses ::-webkit-input-placeholder {
5330
  color: #999;
5331
  }
 
5332
  .lp-courses-bar .search-courses :-ms-input-placeholder {
5333
  color: #999;
5334
  }
 
5335
  .lp-courses-bar .search-courses ::placeholder {
5336
  color: #999;
5337
  }
 
5338
  @media (max-width: 767px) {
5339
  .lp-courses-bar .search-courses {
5340
  width: 100%;
5341
  }
5342
  }
 
5343
  .lp-courses-bar .switch-layout {
5344
  display: flex;
5345
  height: 44px;
5349
  align-items: center;
5350
  justify-content: center;
5351
  }
5352
+ .lp-courses-bar .switch-layout input[type=radio] {
 
5353
  display: none;
5354
  }
 
5355
  .lp-courses-bar .switch-layout .switch-btn {
5356
  display: block;
5357
  width: 40px;
5365
  text-align: center;
5366
  cursor: pointer;
5367
  }
 
5368
  .lp-courses-bar .switch-layout .switch-btn::before {
5369
  display: inline-block;
5370
  margin: 8px 6px;
5373
  font-weight: 900;
5374
  line-height: 1;
5375
  }
 
5376
  .lp-courses-bar .switch-layout .switch-btn.grid::before {
5377
  content: "\f00a";
5378
  }
 
5379
  .lp-courses-bar .switch-layout .switch-btn.list {
5380
  margin-left: 3px;
5381
  }
 
5382
  .lp-courses-bar .switch-layout .switch-btn.list::before {
5383
  content: "\f03a";
5384
  }
5385
 
5386
+ input[type=radio]:nth-child(1):checked ~ .switch-btn:nth-child(2) {
5387
  background: #f5f5f5;
5388
  }
5389
+ input[type=radio]:nth-child(1):checked ~ .switch-btn:nth-child(2)::before {
 
5390
  color: var(--lp-primary-color);
5391
  }
5392
 
5393
+ input[type=radio]:nth-child(3):checked ~ .switch-btn:nth-child(4) {
5394
  background: #f5f5f5;
5395
  }
5396
+ input[type=radio]:nth-child(3):checked ~ .switch-btn:nth-child(4)::before {
 
5397
  color: var(--lp-primary-color);
5398
  }
5399
 
5400
+ input[type=radio]:nth-child(5):checked ~ .switch-btn:nth-child(6) {
5401
  background: #f5f5f5;
5402
  }
5403
+ input[type=radio]:nth-child(5):checked ~ .switch-btn:nth-child(6)::before {
 
5404
  color: var(--lp-primary-color);
5405
  }
5406
 
5407
+ input[type=radio]:nth-child(7):checked ~ .switch-btn:nth-child(8) {
5408
  background: #f5f5f5;
5409
  }
5410
+ input[type=radio]:nth-child(7):checked ~ .switch-btn:nth-child(8)::before {
 
5411
  color: var(--lp-primary-color);
5412
  }
5413
 
5414
+ input[type=radio]:nth-child(9):checked ~ .switch-btn:nth-child(10) {
5415
  background: #f5f5f5;
5416
  }
5417
+ input[type=radio]:nth-child(9):checked ~ .switch-btn:nth-child(10)::before {
 
5418
  color: var(--lp-primary-color);
5419
  }
5420
 
5421
+ input[type=radio]:nth-child(11):checked ~ .switch-btn:nth-child(12) {
5422
  background: #f5f5f5;
5423
  }
5424
+ input[type=radio]:nth-child(11):checked ~ .switch-btn:nth-child(12)::before {
 
5425
  color: var(--lp-primary-color);
5426
  }
5427
 
5428
+ input[type=radio]:nth-child(13):checked ~ .switch-btn:nth-child(14) {
5429
  background: #f5f5f5;
5430
  }
5431
+ input[type=radio]:nth-child(13):checked ~ .switch-btn:nth-child(14)::before {
 
5432
  color: var(--lp-primary-color);
5433
  }
5434
 
5435
+ input[type=radio]:nth-child(15):checked ~ .switch-btn:nth-child(16) {
5436
  background: #f5f5f5;
5437
  }
5438
+ input[type=radio]:nth-child(15):checked ~ .switch-btn:nth-child(16)::before {
 
5439
  color: var(--lp-primary-color);
5440
  }
5441
 
5442
+ input[type=radio]:nth-child(17):checked ~ .switch-btn:nth-child(18) {
5443
  background: #f5f5f5;
5444
  }
5445
+ input[type=radio]:nth-child(17):checked ~ .switch-btn:nth-child(18)::before {
 
5446
  color: var(--lp-primary-color);
5447
  }
5448
 
5449
+ input[type=radio]:nth-child(19):checked ~ .switch-btn:nth-child(20) {
5450
  background: #f5f5f5;
5451
  }
5452
+ input[type=radio]:nth-child(19):checked ~ .switch-btn:nth-child(20)::before {
 
5453
  color: var(--lp-primary-color);
5454
  }
5455
 
5465
  color: #fff;
5466
  background: var(--lp-secondary-color);
5467
  }
 
5468
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left {
5469
  width: 70%;
5470
  }
 
5471
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-title {
5472
  margin-bottom: 42px;
5473
  color: #fff;
5475
  font-weight: 500;
5476
  line-height: 1;
5477
  }
 
5478
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta.course-meta-primary {
5479
  margin-bottom: 36px;
5480
  }
 
5481
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta.course-meta-primary .course-meta__pull-left .meta-item-categories::before {
5482
  font-weight: 400;
5483
  }
 
5484
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta.course-meta-secondary {
5485
  margin-bottom: 0;
5486
  }
 
5487
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item {
5488
  display: flex;
5489
  height: 46px;
5492
  font-weight: 300;
5493
  text-transform: capitalize;
5494
  }
 
5495
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item span {
5496
  padding-right: 4px;
5497
  }
 
5498
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item:last-child {
5499
  margin-right: 0;
5500
  }
 
5501
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item::before {
5502
  margin-right: 8px;
5503
  color: var(--lp-primary-color);
5504
  font-family: "Font Awesome 5 Free";
5505
  font-weight: 900;
5506
  }
 
5507
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__image {
5508
  margin-right: 10px;
5509
  flex: 0 0 46px;
5510
  }
 
5511
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__image img {
5512
  overflow: hidden;
5513
  position: relative;
5515
  height: 46px;
5516
  border-radius: 50%;
5517
  }
 
5518
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value label {
5519
  margin: 0;
5520
  color: #999;
5522
  font-weight: 300;
5523
  line-height: 1.5;
5524
  }
 
5525
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value > div {
5526
  line-height: 1.5;
5527
  }
 
5528
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value > div a {
5529
  color: #fff;
5530
  font-size: 16px;
5531
  font-weight: 400;
5532
  text-transform: capitalize;
5533
  }
 
5534
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item .meta-item__value > div a:hover {
5535
  color: var(--lp-primary-color);
5536
  }
 
5537
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories {
5538
  align-items: center;
5539
  }
 
5540
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories::before {
5541
  margin-right: 10px;
5542
  font-size: 36px;
5543
  content: "\f02e";
5544
  }
 
5545
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories .meta-item__value div span {
5546
  padding: 0 5px;
5547
  }
 
5548
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-categories .meta-item__value div a:hover {
5549
  color: var(--lp-primary-color);
5550
  }
 
5551
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-review .meta-item__value {
5552
  display: flex;
5553
  flex-direction: column-reverse;
5554
  justify-content: flex-end;
5555
  align-items: flex-end;
5556
  }
 
5557
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-review .meta-item__value .review-stars-rated {
5558
  margin-bottom: 0;
5559
  line-height: 1;
5560
  }
 
5561
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-duration::before {
5562
  content: "\f017";
5563
  }
 
5564
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-level::before {
5565
  content: "\f012";
5566
  }
 
5567
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-lesson::before {
5568
  content: "\f0c5";
5569
  }
 
5570
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-quiz::before {
5571
  content: "\f12e";
5572
  }
 
5573
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item.meta-item-student::before {
5574
  content: "\f501";
5575
  }
 
5576
  @media (max-width: 1024px) {
5577
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item {
5578
  margin-right: 30px;
5579
  }
5580
  }
 
5581
  @media (max-width: 767px) {
5582
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left .meta-item {
5583
  margin-right: 0;
5584
  }
5585
  }
 
5586
  @media (max-width: 767px) {
5587
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left .course-meta .course-meta__pull-left {
5588
  display: grid;
5590
  grid-gap: 20px;
5591
  }
5592
  }
 
5593
  @media (max-width: 768px) {
5594
  .lp-archive-courses .course-summary .course-summary-content .course-detail-info .course-info-left {
5595
  width: 100%;
5596
  }
5597
  }
 
5598
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area {
5599
  display: flex;
5600
  flex-direction: row;
5601
  }
 
5602
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .entry-content-left {
5603
  width: calc(100% - 300px);
5604
  max-width: 100%;
5605
  margin: 0;
5606
  padding-right: 40px;
5607
  }
 
5608
  @media (max-width: 768px) {
5609
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .entry-content-left {
5610
  width: 100%;
5611
  padding-right: 0;
5612
  }
5613
  }
 
5614
  @media (max-width: 767px) {
5615
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .entry-content-left {
5616
  width: 100%;
5617
  margin-bottom: 30px;
5618
  }
5619
  }
 
5620
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar {
5621
  width: 300px;
5622
  max-width: 100%;
5623
  margin-top: -272px;
5624
  }
 
5625
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner {
5626
  width: 300px;
5627
  }
 
5628
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .course-sidebar-top {
5629
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.05);
5630
  }
 
5631
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .course-sidebar-secondary {
5632
  margin-top: 30px;
5633
  padding: 0;
5634
  }
 
5635
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist {
5636
  color: #fff;
5637
  background: transparent !important;
5638
  font-size: 0;
5639
  }
 
5640
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist.on, .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist:hover {
5641
  color: var(--lp-primary-color);
5642
  }
 
5643
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner .learn-press-course-wishlist::before {
5644
  font-family: "Font Awesome 5 Free";
5645
  font-size: 26px;
5646
  font-weight: 900;
5647
  content: "\f004";
5648
  }
 
5649
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div {
5650
  overflow: hidden;
5651
  padding: 20px;
5652
  background: #fff;
5653
  }
 
5654
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div ul {
5655
  list-style: none;
5656
  }
 
5657
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div ul li a {
5658
  color: #666;
5659
  font-size: 16px;
5660
  font-weight: 300;
5661
  line-height: 24px;
5662
  }
 
5663
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar .course-summary-sidebar__inner > div ul li a:hover {
5664
  color: var(--lp-primary-color);
5665
  box-shadow: unset;
5666
  }
 
5667
  @media (max-width: 768px) {
5668
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar {
5669
  width: 100%;
5673
  width: 100%;
5674
  }
5675
  }
 
5676
  @media (max-width: 767px) {
5677
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area .course-summary-sidebar {
5678
  width: 100%;
5679
  padding-left: 0;
5680
  }
5681
  }
 
5682
  @media (max-width: 768px) {
5683
  .lp-archive-courses .course-summary .course-summary-content .lp-entry-content.lp-content-area {
5684
  flex-direction: column;
5689
  padding: 20px;
5690
  background: #f7f7f7;
5691
  }
 
5692
  .lp_allow_repuchase_select > ul {
5693
  padding: 0;
5694
  list-style: none;
5695
  }
 
5696
  .lp_allow_repuchase_select > a {
5697
  display: inline-block;
5698
  margin-top: 10px;
5704
  margin-bottom: 35px;
5705
  background: #fff;
5706
  }
 
5707
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-price {
5708
  text-align: center;
5709
  }
 
5710
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-price .origin-price {
5711
  color: #666;
5712
  font-size: 18px;
5713
  font-weight: 300;
5714
  font-style: unset;
5715
  }
 
5716
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-price .price {
5717
  color: #333;
5718
  font-size: 26px;
5719
  font-weight: 500;
5720
  }
 
5721
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .media-preview {
5722
  overflow: hidden;
5723
  position: relative;
5724
  margin: -20px -20px 40px;
5725
  }
 
5726
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .media-preview img {
5727
  max-width: 100%;
5728
  height: auto;
5729
  vertical-align: top;
5730
  }
 
5731
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons {
5732
  margin-bottom: 34px;
5733
  }
 
5734
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons > * {
5735
  margin-bottom: 10px;
5736
  }
 
5737
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons > *:last-child {
5738
  margin-bottom: 0;
5739
  }
 
5740
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons form,
5741
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button {
5742
  width: 100%;
5743
  text-decoration: none;
5744
  }
 
5745
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button {
5746
  font-weight: 500;
5747
  }
 
5748
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button:hover {
5749
  border-color: var(--lp-primary-color);
5750
  }
 
5751
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button.button-enroll-course {
5752
  border-color: var(--lp-primary-color);
5753
  color: #fff;
5754
  background: var(--lp-primary-color);
5755
  }
 
5756
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button.button-enroll-course:hover {
5757
  opacity: 0.5;
5758
  background: var(--lp-primary-color);
5759
  }
 
5760
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button.button-enroll-course.loading::before {
5761
  display: inline-block;
5762
  font-family: "Font Awesome 5 Free";
5764
  content: "\f110";
5765
  animation: lp-rotating 1s linear infinite;
5766
  }
 
5767
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button ~ .lp-enroll-notice {
5768
  margin-top: 20px;
5769
  padding: 20px;
5772
  font-size: 15px;
5773
  line-height: 1.4;
5774
  }
 
5775
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .lp-course-buttons button ~ .lp-enroll-notice.error {
5776
  border-color: #d85554;
5777
  }
 
5778
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time {
5779
  margin-bottom: 28px;
5780
  padding-bottom: 8px;
5781
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
5782
  }
 
5783
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time .course-time-row {
5784
  display: flex;
5785
  color: #666;
5787
  font-weight: 300;
5788
  justify-content: space-between;
5789
  }
 
5790
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time .course-time-row strong {
5791
  color: #333;
5792
  font-weight: 500;
5793
  }
 
5794
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-time .course-time-row time {
5795
  color: #666;
5796
  font-size: 16px;
5797
  font-weight: 300;
5798
  line-height: 24px;
5799
  }
 
5800
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress,
5801
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress {
5802
  display: flex;
5806
  justify-content: space-between;
5807
  flex-wrap: wrap;
5808
  }
 
5809
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress__heading,
5810
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress__heading {
5811
  margin: 0;
5816
  font-weight: 500;
5817
  flex: 1 1 auto;
5818
  }
 
5819
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress .number,
5820
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress .number {
5821
  display: block;
5826
  line-height: 16px;
5827
  text-align: right;
5828
  }
 
5829
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .items-progress .learn-press-progress,
5830
  #learn-press-course .course-summary-sidebar .course-sidebar-preview .course-results-progress .course-progress .learn-press-progress {
5831
  clear: both;
5832
  width: 100%;
5833
  }
 
5834
  #learn-press-course .course-summary-sidebar .course-sidebar-preview > *:last-child {
5835
  margin-bottom: 0;
5836
  }
5838
  .learnpress-page .lp-button.secondary {
5839
  background: #9198ab;
5840
  }
 
5841
  .learnpress-page .lp-button.secondary:hover {
5842
  background: #9ba6c5;
5843
  }
 
5844
  .learnpress-page .lp-button:disabled, .learnpress-page .lp-button[disabled] {
5845
  background: #ddd;
5846
  pointer-events: none;
5847
  }
 
5848
  .learnpress-page:hover {
5849
  text-decoration: none;
5850
  }
5858
  font-weight: normal;
5859
  line-height: 1;
5860
  }
 
5861
  #learn-press-course-curriculum .section-title span.show-desc {
5862
  display: inline-block;
5863
  position: absolute;
5867
  height: 20px;
5868
  transform: translate(0, -50%);
5869
  }
 
5870
  #learn-press-course-curriculum .section-title span.show-desc::before {
5871
  font-family: "Font Awesome 5 Free";
5872
  font-size: 18px;
5873
  font-weight: 900;
5874
  content: "\f107";
5875
  }
 
5876
  #learn-press-course-curriculum .section-title span.show-desc:hover::before {
5877
  border-top-color: #ccc;
5878
  }
5887
  left: 0;
5888
  background: #fff;
5889
  }
 
5890
  #popup-course .back-course {
5891
  padding-left: 30px;
5892
  padding-right: 30px;
5894
  background: rgba(255, 255, 255, 0.1);
5895
  color: #fff;
5896
  }
 
5897
  #popup-course .back-course:hover {
5898
  background: rgba(255, 255, 255, 0.15);
5899
  }
 
5900
  @media (max-width: 768px) {
5901
  #popup-course .back-course {
5902
  background: transparent;
5910
  opacity: 1;
5911
  }
5912
  }
 
5913
  #popup-course #popup-header {
5914
  display: flex;
5915
  position: fixed;
5925
  -o-transition: left 0.25s;
5926
  transition: left 0.25s;
5927
  }
 
5928
  #popup-course #popup-header .popup-header__inner {
5929
  display: flex;
5930
  width: 792px;
5932
  justify-content: space-between;
5933
  align-items: center;
5934
  }
 
5935
  @media (max-width: 1024px) {
5936
  #popup-course #popup-header .popup-header__inner {
5937
  width: 100%;
5939
  padding-left: 15px;
5940
  }
5941
  }
 
5942
  @media (max-width: 767px) {
5943
  #popup-course #popup-header .popup-header__inner {
5944
  flex-direction: column;
5945
  }
5946
  }
 
5947
  #popup-course #popup-header .popup-header__inner .course-title {
5948
  margin: 0;
5949
  padding: 0;
5950
  line-height: 70px;
5951
  letter-spacing: unset;
5952
  }
 
5953
  #popup-course #popup-header .popup-header__inner .course-title a {
5954
  display: -webkit-box;
5955
  overflow: hidden;
5960
  -webkit-line-clamp: 1;
5961
  -webkit-box-orient: vertical;
5962
  }
 
5963
  #popup-course #popup-header .popup-header__inner .course-title a:hover {
5964
  color: var(--lp-primary-color);
5965
  }
 
5966
  @media (max-width: 768px) {
5967
  #popup-course #popup-header .popup-header__inner .course-title {
5968
  flex: 1;
5969
  }
5970
  }
 
5971
  #popup-course #popup-header .popup-header__inner .items-progress {
5972
  display: flex;
5973
  justify-content: center;
5974
  align-items: center;
5975
  }
 
5976
  @media (max-width: 768px) {
5977
  #popup-course #popup-header .popup-header__inner .items-progress {
5978
  flex: 1;
5979
  }
5980
  }
 
5981
  @media (max-width: 767px) {
5982
  #popup-course #popup-header .popup-header__inner .items-progress {
5983
  padding-bottom: 20px;
5984
  justify-content: end;
5985
  }
5986
  }
 
5987
  #popup-course #popup-header .popup-header__inner .items-progress .number {
5988
  padding-right: 10px;
5989
  color: #fff;
5990
  font-size: 14px;
5991
  font-weight: 300;
5992
  }
 
5993
  #popup-course #popup-header .lp-button {
5994
  display: flex;
5995
  position: relative;
6004
  line-height: 40px;
6005
  align-items: center;
6006
  }
 
6007
  #popup-course #popup-header .lp-button:hover {
6008
  opacity: 0.8;
6009
  }
 
6010
  #popup-course #popup-header .lp-button-back {
6011
  float: right;
6012
  margin: 9px 10px;
6013
  }
 
6014
  #popup-course #popup-header .lp-button-back button::before, #popup-course #popup-header .lp-button-back button::after {
6015
  content: "";
6016
  }
 
6017
  #popup-course #popup-header .lp-button-back button::before {
6018
  border: 1px solid #ddd;
6019
  }
 
6020
  #popup-course #popup-header .lp-button-back button::after {
6021
  border: 1px solid #ddd;
6022
  }
 
6023
  #popup-course #popup-sidebar {
6024
  overflow: auto;
6025
  position: relative;
6031
  -o-transition: 0.25s;
6032
  transition: 0.25s;
6033
  }
 
6034
  #popup-course #popup-sidebar .search-course {
6035
  display: flex;
6036
  position: relative;
6037
  height: 70px;
6038
  background: #f9fafc;
6039
  }
6040
+ #popup-course #popup-sidebar .search-course input[name=s] {
 
6041
  display: block;
6042
  width: 100%;
6043
  margin: 6px 0;
6052
  -moz-box-sizing: border-box;
6053
  box-sizing: border-box;
6054
  }
6055
+ #popup-course #popup-sidebar .search-course input[name=s]::-webkit-input-placeholder {
 
6056
  color: #999;
6057
  }
6058
+ #popup-course #popup-sidebar .search-course input[name=s]::-moz-placeholder {
 
6059
  color: #999;
6060
  }
6061
+ #popup-course #popup-sidebar .search-course input[name=s]:-ms-input-placeholder {
 
6062
  color: #999;
6063
  }
6064
+ #popup-course #popup-sidebar .search-course input[name=s]:-moz-placeholder {
 
6065
  color: #999;
6066
  }
6067
+ #popup-course #popup-sidebar .search-course input[name=s]::placeholder {
 
6068
  color: #999;
6069
  }
6070
+ #popup-course #popup-sidebar .search-course input[name=s]::-webkit-input-placeholder {
 
6071
  font-style: italic;
6072
  }
6073
+ #popup-course #popup-sidebar .search-course input[name=s]::-moz-placeholder {
 
6074
  font-style: italic;
6075
  }
6076
+ #popup-course #popup-sidebar .search-course input[name=s]:-ms-input-placeholder {
 
6077
  font-style: italic;
6078
  }
6079
+ #popup-course #popup-sidebar .search-course input[name=s]:-moz-placeholder {
 
6080
  font-style: italic;
6081
  }
6082
+ #popup-course #popup-sidebar .search-course input[name=s]::placeholder {
 
6083
  font-style: italic;
6084
  }
6085
+ #popup-course #popup-sidebar .search-course input[name=s]:focus {
 
6086
  outline: 0;
6087
  color: #222;
6088
  }
 
6089
  #popup-course #popup-sidebar .search-course button {
6090
  position: absolute;
6091
  top: 0;
6098
  background: transparent;
6099
  line-height: 1px;
6100
  }
 
6101
  #popup-course #popup-sidebar .search-course button::before {
6102
  color: #666;
6103
  font-family: "Font Awesome 5 Free";
6105
  font-weight: 900;
6106
  content: "\f002";
6107
  }
 
6108
  #popup-course #popup-sidebar .search-course button.clear {
6109
  display: none;
6110
  }
 
6111
  #popup-course #popup-sidebar .search-course button.clear::before {
6112
  content: "\f00d";
6113
  }
 
6114
  #popup-course #popup-sidebar .search-course .search-results {
6115
  display: none;
6116
  overflow: auto;
6125
  border-right: 1px solid #d9e0f1;
6126
  background: #fbfcff;
6127
  }
 
6128
  #popup-course #popup-sidebar .search-course .search-results .search-results__item {
6129
  border-bottom: 1px solid #d9e0f1;
6130
  background: #fff;
6131
  }
 
6132
  #popup-course #popup-sidebar .search-course .search-results .search-results__item img {
6133
  position: absolute;
6134
  left: 10px;
6135
  width: 40px;
6136
  height: 40px;
6137
  }
 
6138
  #popup-course #popup-sidebar .search-course .search-results .search-results__item a {
6139
  display: -webkit-box;
6140
  overflow: hidden;
6147
  -webkit-line-clamp: 1;
6148
  -webkit-box-orient: vertical;
6149
  }
 
6150
  #popup-course #popup-sidebar .search-course .search-results .search-results__item:hover {
6151
  background: #d9e0f1;
6152
  }
 
6153
  #popup-course #popup-sidebar .search-course .search-results .search-results__item-title {
6154
  overflow: hidden;
6155
  margin: 0 0 -2px 0;
6157
  font-size: 16px;
6158
  font-weight: normal;
6159
  }
 
6160
  #popup-course #popup-sidebar .search-course .search-results .search-results__item-author {
6161
  font-size: 12px;
6162
  }
 
6163
  #popup-course #popup-sidebar .search-course .search-results .course-price {
6164
  position: absolute;
6165
  right: 10px;
6166
  bottom: 10px;
6167
  font-size: 12px;
6168
  }
 
6169
  #popup-course #popup-sidebar .search-course .search-results .course-price .origin-price {
6170
  font-size: smaller;
6171
  text-decoration: line-through;
6172
  }
 
6173
  #popup-course #popup-sidebar .search-course .search-results .search-results__not-found {
6174
  padding: 10px;
6175
  color: #777;
6176
  }
 
6177
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination {
6178
  padding: 10px;
6179
  text-align: center;
6180
  }
 
6181
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination a,
6182
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination span {
6183
  display: inline-block;
6190
  line-height: 1;
6191
  cursor: pointer;
6192
  }
 
6193
  #popup-course #popup-sidebar .search-course .search-results .search-results__pagination span {
6194
  color: #999;
6195
  background: #d9e0f1;
6196
  }
 
6197
  #popup-course #popup-sidebar .search-course.searching .search-results {
6198
  display: block;
6199
  }
 
6200
  #popup-course #popup-sidebar .search-course.searching .clear {
6201
  display: block;
6202
  }
 
6203
  #popup-course #popup-sidebar .search-course.searching button {
6204
  display: none;
6205
  }
 
6206
  #popup-course #popup-sidebar .search-course.searching::after {
6207
  position: absolute;
6208
  z-index: 1;
6215
  border-bottom-color: #fff;
6216
  content: "";
6217
  }
 
6218
  #popup-course #popup-sidebar .course-curriculum {
6219
  overflow: auto;
6220
  position: absolute;
6222
  bottom: 0;
6223
  width: 475px;
6224
  }
 
6225
  #popup-course #popup-sidebar .course-curriculum .section {
6226
  position: relative;
6227
  padding: 0 0 4px 0;
6228
  }
 
6229
  #popup-course #popup-sidebar .course-curriculum .section .circle-progress {
6230
  display: inline-block;
6231
  position: absolute;
6237
  border: 3px solid #d9e0f1;
6238
  border-radius: 50%;
6239
  }
 
6240
  #popup-course #popup-sidebar .course-curriculum .section .section-header {
6241
  position: sticky;
6242
  z-index: 1000;
6244
  height: 94px;
6245
  padding: 38px 20px 20px 20px;
6246
  }
 
6247
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-title {
6248
  padding: 0 0 4px 0;
6249
  color: #000;
6250
  font-size: 20px;
6251
  font-weight: 500;
6252
  }
 
6253
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-title .show-desc::before {
6254
  font-family: "Font Awesome 5 Free";
6255
  font-size: 18px;
6256
  font-weight: 900;
6257
  content: "\f0d7";
6258
  }
 
6259
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-toggle {
6260
  justify-content: flex-end;
6261
  flex: 0;
6262
  }
 
6263
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-left .section-toggle i {
6264
  color: #666;
6265
  }
 
6266
  #popup-course #popup-sidebar .course-curriculum .section .section-header .section-meta {
6267
  padding-top: 6px;
6268
  padding-bottom: 0;
6269
  }
 
6270
  #popup-course #popup-sidebar .course-curriculum .section .section-content {
6271
  margin-bottom: 0;
6272
  }
 
6273
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item {
6274
  height: 60px;
6275
  margin-bottom: 4px;
6276
  padding: 0 20px;
6277
  background: #f9fafc;
6278
  }
 
6279
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item > span {
6280
  display: none;
6281
  }
 
6282
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link {
6283
  height: 60px;
6284
  line-height: 1;
6285
  }
 
6286
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link::before {
6287
  padding: 12px 0;
6288
  vertical-align: unset;
6289
  }
 
6290
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .item-name {
6291
  display: block;
6292
  width: 100%;
6294
  font-size: 14px;
6295
  font-weight: 500;
6296
  }
 
6297
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta {
6298
  display: block;
6299
  width: 100%;
6300
  padding: 6px 0 0 0;
6301
  text-align: left;
6302
  }
 
6303
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta {
6304
  padding: 0;
6305
  color: #999;
6307
  font-size: 12px;
6308
  line-height: 1.5;
6309
  }
 
6310
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta:first-child {
6311
  margin-left: 0;
6312
  padding-left: 17px;
6313
  }
 
6314
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta::before {
6315
  font-size: 12px;
6316
  }
 
6317
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item .section-item-link .course-item-meta .item-meta.course-item-status {
6318
  position: absolute;
6319
  top: 50%;
6320
  right: 18px;
6321
  margin-top: -10px;
6322
  }
 
6323
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item::before {
6324
  top: -1px;
6325
  bottom: -1px;
6326
  height: auto;
6327
  background: transparent;
6328
  }
 
6329
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item::after {
6330
  content: "";
6331
  }
 
6332
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.current {
6333
  background: #eaeaea;
6334
  }
 
6335
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.item-preview .section-item-link .course-item-meta .item-meta::before {
6336
  color: #999;
6337
  }
 
6338
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.has-status.failed .section-item-link .course-item-meta .trans {
6339
  color: #f02425;
6340
  }
 
6341
  #popup-course #popup-sidebar .course-curriculum .section .section-content .course-item.status-completed .section-item-link .course-item-meta .trans {
6342
  color: #3bb54a;
6343
  }
 
6344
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .section-header {
6345
  margin: 0;
6346
  }
 
6347
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message {
6348
  margin: 0;
6349
  padding: 10px;
6353
  background: #f5f5f5;
6354
  font-size: 14px;
6355
  }
 
6356
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message::before, #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message::after {
6357
  position: absolute;
6358
  z-index: 9999;
6368
  -moz-border-radius: 0;
6369
  border-radius: 0;
6370
  }
 
6371
  #popup-course #popup-sidebar .course-curriculum .section.section-empty .learn-press-message::after {
6372
  z-index: 9998;
6373
  top: -20px;
6375
  border-width: 10px;
6376
  border-bottom-color: #d9e0f1;
6377
  }
 
6378
  #popup-course #popup-content {
6379
  overflow: auto;
6380
  position: relative;
6381
  margin: 70px 0 50px 0;
6382
  flex: 1;
6383
  }
 
6384
  #popup-course #popup-content .lp-button {
6385
  position: relative;
6386
  margin: 0 10px 0 0;
6388
  border-color: var(--lp-secondary-color);
6389
  font-size: 14px;
6390
  }
 
6391
  #popup-course #popup-content .lp-button.instant-check .instant-check__icon {
6392
  margin-right: 5px;
6393
  }
 
6394
  #popup-course #popup-content .lp-button.instant-check .instant-check__icon::before {
6395
  font-family: "Font Awesome 5 Free";
6396
  content: "\f058";
6397
  }
 
6398
  #popup-course #popup-content .lp-button.instant-check .instant-check__info {
6399
  visibility: hidden;
6400
  position: absolute;
6407
  white-space: nowrap;
6408
  text-transform: none;
6409
  }
 
6410
  #popup-course #popup-content .lp-button.instant-check:hover .instant-check__info {
6411
  visibility: visible;
6412
  position: absolute;
6419
  background: #eee;
6420
  white-space: nowrap;
6421
  }
 
6422
  #popup-course #popup-content .lp-button.instant-check.loading .instant-check__icon {
6423
  display: inline-block;
6424
  animation: lp-rotating 1s linear infinite;
6425
  }
 
6426
  #popup-course #popup-content .lp-button.instant-check.loading .instant-check__icon::before {
6427
  font-weight: 800;
6428
  content: "\f110";
6429
  }
 
6430
  #popup-course #popup-content .lp-button:hover {
6431
  border-color: var(--lp-primary-color);
6432
  }
 
6433
  #popup-course #popup-content .lp-button.completed {
6434
  display: flex;
6435
  flex-direction: row-reverse;
6442
  align-items: center;
6443
  justify-content: center;
6444
  }
 
6445
  #popup-course #popup-content .lp-button.completed i {
6446
  margin-left: 9px;
6447
  font-size: 14px;
6448
  }
 
6449
  #popup-course #popup-content #learn-press-content-item .content-item-wrap {
6450
  width: 792px;
6451
  max-width: 100%;
6452
  margin: 0 auto;
6453
  padding: 50px 0 80px 0;
6454
  }
 
6455
  @media (max-width: 1024px) {
6456
  #popup-course #popup-content #learn-press-content-item .content-item-wrap {
6457
  width: 100%;
6458
  }
6459
  }
 
6460
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .course-item-title {
6461
  margin-top: 0;
6462
  margin-bottom: 24px;
6464
  font-size: 30px;
6465
  font-weight: 600;
6466
  }
 
6467
  @media (max-width: 1024px) {
6468
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .course-item-title {
6469
  padding-right: 15px;
6470
  padding-left: 15px;
6471
  }
6472
  }
 
6473
  @media (max-width: 767px) {
6474
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .course-item-title {
6475
  text-align: center;
6476
  }
6477
  }
 
6478
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description h2,
6479
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description h3,
6480
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description h4,
6485
  font-size: 18px;
6486
  letter-spacing: unset;
6487
  }
 
6488
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description p {
6489
  margin: 0 0 18px 0;
6490
  color: #666;
6492
  font-weight: 300;
6493
  line-height: 26px;
6494
  }
 
6495
  #popup-course #popup-content #learn-press-content-item .content-item-wrap .content-item-summary .content-item-description img {
6496
  max-width: 100%;
6497
  height: auto;
6498
  vertical-align: middle;
6499
  }
 
6500
  #popup-course #popup-content #learn-press-quiz-app {
6501
  margin-bottom: 40px;
6502
  }
 
6503
  #popup-course #popup-content #learn-press-quiz-app .quiz-content {
6504
  margin-bottom: 40px;
6505
  color: #666;
6507
  font-weight: 300;
6508
  line-height: 26px;
6509
  }
 
6510
  #popup-course #popup-content #learn-press-quiz-app .quiz-content img {
6511
  max-width: 100%;
6512
  height: auto;
6513
  vertical-align: middle;
6514
  }
 
6515
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons {
6516
  display: flex;
6517
  justify-content: center;
6518
  text-align: center;
6519
  }
 
6520
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .button-right .lp-button {
6521
  margin: 0 0 0 15px;
6522
  }
6523
+ #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type=question-nav] {
 
6524
  margin: 0;
6525
  border: 1px solid #d9e0f1;
6526
  color: #777;
6527
  background: #fbfcff;
6528
  }
6529
+ #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type=question-nav]::before {
 
6530
  display: inline-block;
6531
  width: 15px;
6532
  height: 15px;
6540
  -o-transform: rotate(-45deg);
6541
  transform: rotate(-45deg);
6542
  }
6543
+ #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type=question-nav].prev::before {
 
6544
  margin-left: 7px;
6545
  -webkit-transform: rotate(135deg);
6546
  -moz-transform: rotate(135deg);
6548
  -o-transform: rotate(135deg);
6549
  transform: rotate(135deg);
6550
  }
6551
+ #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type=question-nav].next {
 
6552
  margin-left: -1px;
6553
  }
6554
+ #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type=question-nav].next::before {
 
6555
  margin-right: 7px;
6556
  }
6557
+ #popup-course #popup-content #learn-press-quiz-app .quiz-buttons .lp-button[data-type=question-nav]:hover {
 
6558
  background: #fff;
6559
  }
 
6560
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center {
6561
  display: block;
6562
  text-align: center;
6563
  }
 
6564
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center .button-left {
6565
  text-align: center;
6566
  }
 
6567
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center .button-left.fixed {
6568
  position: fixed;
6569
  z-index: 99999;
6574
  margin-left: 237px;
6575
  transform: translateX(-50%);
6576
  }
 
6577
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons.align-center .button-left.nav-center {
6578
  height: 50px;
6579
  margin-left: 0 !important;
6580
  }
 
6581
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.infinity).is-first .prev {
6582
  display: none;
6583
  }
 
6584
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.infinity).is-last .next {
6585
  display: none;
6586
  }
 
6587
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.is-first):not(.is-last) .prev {
6588
  border-top-right-radius: 0;
6589
  border-bottom-right-radius: 0;
6590
  }
 
6591
  #popup-course #popup-content #learn-press-quiz-app .quiz-buttons:not(.is-first):not(.is-last) .next {
6592
  border-top-left-radius: 0;
6593
  border-bottom-left-radius: 0;
6594
  }
 
6595
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination {
6596
  height: 33px;
6597
  margin-top: 1px;
6599
  background: #fff;
6600
  text-align: center;
6601
  }
 
6602
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links {
6603
  text-align: center;
6604
  }
 
6605
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers {
6606
  display: inline-block;
6607
  margin: 0;
6613
  line-height: 1;
6614
  cursor: pointer;
6615
  }
 
6616
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers.next, #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers.prev {
6617
  display: inline-block;
6618
  padding: 8px;
6622
  text-decoration: none;
6623
  text-transform: none;
6624
  }
 
6625
  #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers.current, #popup-course #popup-content #learn-press-quiz-app .questions-pagination .nav-links .page-numbers:hover {
6626
  color: var(--lp-primary-color);
6627
  }
 
6628
  #popup-course #popup-content.fixed-quiz-status .quiz-status {
6629
  background: var(--lp-primary-color);
6630
  }
 
6631
  #popup-course #popup-content.fixed-quiz-status .quiz-status > div {
6632
  padding: 0;
6633
  }
 
6634
  #popup-course #popup-footer {
6635
  position: fixed;
6636
  z-index: 999;
6648
  -o-transition: left 0.25s;
6649
  transition: left 0.25s;
6650
  }
 
6651
  @media (max-width: 1024px) {
6652
  #popup-course #popup-footer {
6653
  width: 100%;
6654
  padding: 0 15px;
6655
  }
6656
  }
 
6657
  #popup-course #popup-footer .course-item-nav {
6658
  justify-content: space-between;
6659
  }
 
6660
  #popup-course #popup-footer .course-item-nav .prev,
6661
  #popup-course #popup-footer .course-item-nav .next {
6662
  display: flex;
6663
  line-height: 50px;
6664
  }
 
6665
  #popup-course #popup-footer .course-item-nav .prev a,
6666
  #popup-course #popup-footer .course-item-nav .next a {
6667
  display: block;
6669
  font-size: 16px;
6670
  font-weight: 300;
6671
  }
 
6672
  #popup-course #popup-footer .course-item-nav .prev::before,
6673
  #popup-course #popup-footer .course-item-nav .next::before {
6674
  color: #999;
6676
  font-size: 12px;
6677
  font-weight: 900;
6678
  }
 
6679
  #popup-course #popup-footer .course-item-nav .prev:hover a, #popup-course #popup-footer .course-item-nav .prev:hover::before,
6680
  #popup-course #popup-footer .course-item-nav .next:hover a,
6681
  #popup-course #popup-footer .course-item-nav .next:hover::before {
6682
  color: var(--lp-primary-color);
6683
  }
 
6684
  #popup-course #popup-footer .course-item-nav .next {
6685
  flex-direction: row-reverse;
6686
  }
 
6687
  #popup-course #popup-footer .course-item-nav .next::before {
6688
  margin-left: 10px;
6689
  content: "\f0da";
6690
  }
 
6691
  #popup-course #popup-footer .course-item-nav .prev::before {
6692
  margin-right: 10px;
6693
  content: "\f0d9";
6694
  }
 
6695
  #popup-course #popup-footer .course-item-nav .prev .course-item-nav__name {
6696
  right: auto;
6697
  left: -30px;
6698
  }
 
6699
  #popup-course #popup-footer .course-item-nav .course-item-nav__name {
6700
  display: none;
6701
  position: absolute;
6709
  font-weight: 300;
6710
  line-height: 1;
6711
  }
 
6712
  #popup-course #popup-footer .course-item-nav .next:hover .course-item-nav__name,
6713
  #popup-course #popup-footer .course-item-nav .prev:hover .course-item-nav__name {
6714
  display: block;
6715
  }
 
6716
  #popup-course #popup-footer .course-item-nav .prev .course-item-nav__name::before {
6717
  right: auto;
6718
  left: 5px;
6719
  }
6720
+ #popup-course #popup-footer .course-item-nav[data-nav=next] {
 
6721
  justify-content: flex-end;
6722
  }
 
6723
  #popup-course #sidebar-toggle {
6724
  display: inline-block;
6725
  position: absolute;
6736
  -webkit-appearance: none;
6737
  border: none;
6738
  }
 
6739
  #popup-course #sidebar-toggle:after {
6740
  display: none;
6741
  }
 
6742
  #popup-course #sidebar-toggle::before {
6743
  display: inline-block;
6744
  position: absolute;
6752
  transition: 0.25s;
6753
  transform: translate(-50%, -50%);
6754
  }
 
6755
  #popup-course #sidebar-toggle:focus {
6756
  border: 0;
6757
  outline: 0;
6758
  }
 
6759
  #popup-course .lp-quiz-buttons .complete-quiz,
6760
  #popup-course .lp-quiz-buttons .back-quiz,
6761
  #popup-course .lp-quiz-buttons .review-quiz {
6762
  float: right;
6763
  }
 
6764
  #popup-course .quiz-results,
6765
  #popup-course .quiz-content,
6766
  #popup-course .quiz-questions,
6768
  #popup-course .quiz-attempts {
6769
  margin-bottom: 60px;
6770
  }
 
6771
  #popup-course .quiz-result .result-grade {
6772
  display: flex;
6773
  flex-direction: column;
6779
  justify-content: center;
6780
  align-items: center;
6781
  }
 
6782
  #popup-course .quiz-result .result-grade::before,
6783
  #popup-course .quiz-result .result-grade svg {
6784
  position: absolute;
6791
  -moz-border-radius: 50%;
6792
  border-radius: 50%;
6793
  }
 
6794
  #popup-course .quiz-result .result-grade::before {
6795
  box-sizing: border-box;
6796
  padding: 30px;
6797
  border: 10px solid #ccc;
6798
  content: "";
6799
  }
 
6800
  #popup-course .quiz-result .result-grade svg {
6801
  -webkit-transform: rotate(-90deg);
6802
  -moz-transform: rotate(-90deg);
6804
  -o-transform: rotate(-90deg);
6805
  transform: rotate(-90deg);
6806
  }
 
6807
  #popup-course .quiz-result .result-grade svg circle {
6808
  stroke: var(--lp-primary-color);
6809
  }
 
6810
  #popup-course .quiz-result.passed .result-grade svg {
6811
  -webkit-transform: rotate(-90deg);
6812
  -moz-transform: rotate(-90deg);
6814
  -o-transform: rotate(-90deg);
6815
  transform: rotate(-90deg);
6816
  }
 
6817
  #popup-course .quiz-result.passed .result-grade .result-achieved {
6818
  color: #333;
6819
  }
 
6820
  #popup-course .quiz-result.passed .result-grade .result-message strong {
6821
  color: #4caf50;
6822
  }
 
6823
  #popup-course .quiz-questions .question {
6824
  margin-bottom: 60px;
6825
  }
 
6826
  #popup-course .quiz-questions .lp-fib-content {
6827
  margin-bottom: 20px;
6828
  padding: 20px;
6830
  border-radius: 6px;
6831
  line-height: 1.6;
6832
  }
 
6833
  #popup-course .quiz-questions .lp-fib-content .lp-fib-input {
6834
  display: inline-block;
6835
  width: auto;
6836
  max-width: none;
6837
  }
 
6838
  #popup-course .quiz-questions .lp-fib-content .lp-fib-input > input {
6839
  height: 36px;
6840
  padding: 6px 16px;
6841
  border: 1px solid #222;
6842
  line-height: 36px;
6843
  }
 
6844
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered {
6845
  padding: 0 10px;
6846
  background: #ececec;
6847
  white-space: nowrap;
6848
  }
 
6849
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered.fail {
6850
  border: 2px solid #d85554;
6851
  }
 
6852
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered.fail .lp-fib-answered__answer {
6853
  text-decoration: line-through;
6854
  }
 
6855
  #popup-course .quiz-questions .lp-fib-content .lp-fib-answered.correct {
6856
  border: 2px solid #00adff;
6857
  }
 
6858
  #popup-course .quiz-questions .lp-fib-note {
6859
  display: flex;
6860
  margin-left: 10px;
6862
  font-weight: 400;
6863
  align-items: center;
6864
  }
 
6865
  #popup-course .quiz-questions .lp-fib-note > span {
6866
  display: inline-block;
6867
  width: 20px;
6868
  height: 20px;
6869
  margin: 0 5px 0 0;
6870
  }
 
6871
  #popup-course .quiz-questions .lp-sorting-choice__check-answer {
6872
  padding: 5px 20px;
6873
  border: 2px solid #059601;
6874
  border-radius: 5px;
6875
  font-size: 1rem;
6876
  }
 
6877
  #popup-course .question .answer-option {
6878
  padding: 0;
6879
  _border: 2px solid #d9e0f1;
6880
  background: #fff;
6881
  }
6882
+ #popup-course .question .answer-option input[type=radio],
6883
+ #popup-course .question .answer-option input[type=checkbox] {
 
6884
  position: absolute;
6885
  top: 50%;
6886
  margin: -19px 0 0 10px;
6889
  -moz-border-radius: 4px;
6890
  border-radius: 4px;
6891
  }
6892
+ #popup-course .question .answer-option input[type=radio]::after,
6893
+ #popup-course .question .answer-option input[type=checkbox]::after {
 
6894
  border-color: #d9e0f1;
6895
  }
6896
+ #popup-course .question .answer-option input[type=radio]:disabled,
6897
+ #popup-course .question .answer-option input[type=checkbox]:disabled {
 
6898
  border-color: #ddd;
6899
  background: #f9f9f9;
6900
  }
6901
+ #popup-course .question .answer-option input[type=radio]:disabled::after,
6902
+ #popup-course .question .answer-option input[type=checkbox]:disabled::after {
 
6903
  border-color: #ddd;
6904
  }
6905
+ #popup-course .question .answer-option input[type=radio]:checked:not(:disabled)::after,
6906
+ #popup-course .question .answer-option input[type=checkbox]:checked:not(:disabled)::after {
 
6907
  border-color: #99aee4;
6908
  }
6909
+ #popup-course .question .answer-option input[type=radio] {
 
6910
  -webkit-border-radius: 50%;
6911
  -moz-border-radius: 50%;
6912
  border-radius: 50%;
6913
  }
6914
+ #popup-course .question .answer-option input[type=radio]::before {
 
6915
  border-radius: 50%;
6916
  }
 
6917
  #popup-course .question .answer-option .option-title {
6918
  display: flex;
6919
  width: 100%;
6929
  -moz-border-radius: 4px;
6930
  border-radius: 4px;
6931
  }
 
6932
  #popup-course .question .answer-option .option-title::after {
6933
  display: inline-block;
6934
  visibility: hidden !important;
6935
  content: ".";
6936
  }
 
6937
  #popup-course .question .answer-option .option-title:hover {
6938
  background: #f9f9f9;
6939
  }
 
6940
  #popup-course .question .answer-option .option-title::before {
6941
  display: none;
6942
  }
 
6943
  #popup-course .question .answer-option.answer-correct .option-title {
6944
  border-color: #4caf50;
6945
  }
 
6946
  #popup-course .question .answer-option.answered-wrong .option-title {
6947
  border-color: #ff6423;
6948
  }
 
6949
  #popup-course .question .question-title {
6950
  display: block;
6951
  margin-top: 0;
6955
  font-weight: normal;
6956
  font-weight: 500;
6957
  }
 
6958
  #popup-course .question .question-title .edit-link {
6959
  float: right;
6960
  font-size: 14px;
6961
  font-weight: normal;
6962
  }
 
6963
  #popup-course .question .question-content {
6964
  margin-bottom: 30px;
6965
  color: #666;
6967
  font-weight: 300;
6968
  line-height: 26px;
6969
  }
 
6970
  #popup-course .question .question-response {
6971
  display: flex;
6972
  align-items: center;
6974
  margin-bottom: 10px;
6975
  font-size: 14px;
6976
  }
 
6977
  #popup-course .question .question-response .label {
6978
  display: inline-block;
6979
  margin: 0 5px 0 0;
6982
  color: #fff;
6983
  line-height: 1;
6984
  }
 
6985
  #popup-course .question .question-response .point {
6986
  display: inline-block;
6987
  }
 
6988
  #popup-course .question .question-response.correct .label {
6989
  background: #4caf50;
6990
  }
 
6991
  #popup-course .question .question-response.incorrect .label {
6992
  background: #ff6423;
6993
  }
 
6994
  #popup-course .question .question-index {
6995
  display: inline-block;
6996
  margin: 0 5px 0 0;
6997
  }
 
6998
  #popup-course .question .btn-show-hint {
6999
  position: relative;
7000
  margin: 0 0 0 10px;
7006
  font-size: 0;
7007
  text-decoration: none;
7008
  }
 
7009
  #popup-course .question .btn-show-hint::before {
7010
  font-family: "Font Awesome 5 Free";
7011
  font-size: 18px;
7012
  content: "\f059";
7013
  }
 
7014
  #popup-course .question .btn-show-hint:hover span {
7015
  position: absolute;
7016
  bottom: 100%;
7026
  white-space: nowrap;
7027
  text-transform: none;
7028
  }
 
7029
  #popup-course .question.question-fill_in_blanks .blanks .blank-input-wrap {
7030
  display: inline-block;
7031
  }
 
7032
  #popup-course .question.question-fill_in_blanks .blanks .blank-block {
7033
  margin-bottom: 20px;
7034
  }
 
7035
  #popup-course .question.question-fill_in_blanks .blanks .blank-input {
7036
  display: inline-block;
7037
  width: auto;
7043
  text-align: center;
7044
  white-space: nowrap;
7045
  }
 
7046
  #popup-course .question.question-fill_in_blanks .blanks .blank-input br {
7047
  display: none;
7048
  }
 
7049
  #popup-course .question.question-fill_in_blanks .blanks .blank-input > * {
7050
  display: inline;
7051
  white-space: nowrap;
7052
  }
 
7053
  #popup-course .question.question-fill_in_blanks .blanks .blank-select {
7054
  display: inline-block;
7055
  height: 30px;
7056
  margin-left: 4px;
7057
  padding: 1px;
7058
  }
 
7059
  #popup-course .question.question-fill_in_blanks .blanks .blank-fills {
7060
  display: inline-block;
7061
  }
 
7062
  #popup-course .question.question-fill_in_blanks .blanks .blank-fills code {
7063
  margin: 0 5px;
7064
  padding: 0 6px;
7068
  -moz-border-radius: 4px;
7069
  border-radius: 4px;
7070
  }
 
7071
  #popup-course .question.question-fill_in_blanks .blanks.ordered {
7072
  list-style-position: inside;
7073
  }
 
7074
  #popup-course .question.question-fill_in_blanks .blanks.one-paragraph {
7075
  line-height: 3;
7076
  }
 
7077
  #popup-course .scrollbar-light > .scroll-element {
7078
  z-index: 9999;
7079
  }
 
7080
  #popup-course .scrollbar-light > .scroll-element.scroll-y {
7081
  display: none;
7082
  }
 
7083
  #popup-course .scrollbar-light > .scroll-element.scroll-y .scroll-bar {
7084
  -webkit-box-sizing: border-box;
7085
  -moz-box-sizing: border-box;
7089
  body.admin-bar #popup-course {
7090
  top: 32px;
7091
  }
 
7092
  body.lp-sidebar-toggle__close #popup-course > #sidebar-toggle {
7093
  left: 0;
7094
  }
 
7095
  body.lp-sidebar-toggle__close #popup-course > #sidebar-toggle::before {
7096
  content: "\f0da";
7097
  }
 
7098
  body.lp-sidebar-toggle__close #popup-course #popup-sidebar {
7099
  flex: 0 0 0;
7100
  }
 
7101
  body.lp-sidebar-toggle__close #popup-course #popup-header, body.lp-sidebar-toggle__close #popup-course #popup-footer {
7102
  left: 0;
7103
  }
 
7104
  @media (max-width: 768px) {
7105
  body:not(.lp-sidebar-toggle__open) #popup-course > #sidebar-toggle {
7106
  left: 0;
7128
  width: 300px;
7129
  }
7130
  #popup-course #popup-header,
7131
+ #popup-course #popup-footer {
7132
  left: 300px;
7133
  }
7134
  #popup-course #sidebar-toggle {
7135
  left: 299px;
7136
  }
7137
  }
 
7138
  @media screen and (max-width: 782px) {
7139
  body.admin-bar #popup-course {
7140
  top: 46px;
7141
  }
7142
+
7143
  #popup-course #popup-sidebar {
7144
  flex-basis: 250px;
7145
  }
7147
  width: 250px;
7148
  }
7149
  #popup-course #popup-header,
7150
+ #popup-course #popup-footer {
7151
  left: 250px;
7152
  }
7153
  #popup-course #sidebar-toggle {
7157
  flex-basis: 0;
7158
  }
7159
  #popup-course #sidebar-toggle:checked ~ #popup-footer,
7160
+ #popup-course #sidebar-toggle:checked ~ #popup-header {
7161
  left: 0;
7162
  }
7163
  #popup-course .course-item-meta .item-meta.count-questions, #popup-course .course-item-meta .item-meta.duration {
7164
  display: none;
7165
  }
7166
  }
 
7167
  .lp-overlay {
7168
  display: none;
7169
  position: fixed;
7183
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header {
7184
  padding: 2em;
7185
  }
 
7186
  .wp-admin .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
7187
  font-size: 1.4em;
7188
  }
7200
  align-items: center;
7201
  justify-content: center;
7202
  }
 
7203
  .lp-modal-dialog .lp-modal-content {
7204
  display: inline-block;
7205
  overflow: hidden;
7212
  background: white;
7213
  color: black;
7214
  }
 
7215
  .lp-modal-dialog .lp-modal-content .lp-modal-header {
7216
  background: #7c60d9;
7217
  border-bottom: 1px solid #eee;
7218
  padding: 1em;
7219
  }
 
7220
  .lp-modal-dialog .lp-modal-content .lp-modal-header h3 {
7221
  margin: 0;
7222
  color: white;
7223
  font-size: inherit;
7224
  }
 
7225
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content {
7226
  max-height: 500px;
7227
  overflow: auto;
7228
  }
 
7229
  .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h3, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content h2, .lp-modal-dialog .lp-modal-content .lp-modal-body .main-content .pd-2em {
7230
  padding: 0 2em;
7231
  }
 
7232
  .lp-modal-dialog .lp-modal-header {
7233
  padding: 0 20px;
7234
  }
 
7235
  .lp-modal-dialog .lp-modal-footer {
7236
  padding: 10px 20px;
7237
  background-color: #f9fafb;
7238
  text-align: right;
7239
  }
 
7240
  .lp-modal-dialog .btn-yes {
7241
  color: #fff;
7242
  background-color: #7c60d9;
7267
  -moz-border-radius: 4px;
7268
  border-radius: 4px;
7269
  }
 
7270
  #lp-modal-window #lp-modal-content {
7271
  margin: 0 0 24px 0;
7272
  color: #333;
7275
  line-height: 26px;
7276
  text-align: center;
7277
  }
 
7278
  #lp-modal-window #lp-modal-content > * {
7279
  margin: 0 0 0.5em;
7280
  }
 
7281
  #lp-modal-window #lp-modal-content #lp-modal-buttons {
7282
  display: flex;
7283
  flex-direction: row-reverse;
7284
  align-items: center;
7285
  justify-content: center;
7286
  }
 
7287
  #lp-modal-window #lp-modal-buttons {
7288
  display: flex;
7289
  flex-direction: row-reverse;
7290
  align-items: center;
7291
  justify-content: center;
7292
  }
 
7293
  #lp-modal-window #lp-modal-buttons .lp-button {
7294
  position: relative;
7295
  margin: 0 10px 0 10px;
7296
  }
 
7297
  .learn-press-comments {
7298
  width: 792px;
7299
  max-width: 100%;
7300
  margin: 0 auto;
7301
  }
 
7302
  @media (max-width: 1024px) {
7303
  .learn-press-comments {
7304
  width: 100%;
7312
  height: 6px;
7313
  border-radius: 3px;
7314
  }
 
7315
  .learn-press-progress .learn-press-progress__active {
7316
  position: absolute;
7317
  z-index: 1;
7326
  -o-transition: 0.5s;
7327
  transition: 0.5s;
7328
  }
 
7329
  .learn-press-progress::before {
7330
  display: block;
7331
  position: absolute;
7340
  .course-curriculum .section-header .section-left {
7341
  display: flex;
7342
  }
 
7343
  .course-curriculum .section-header .section-left .section-title {
7344
  flex: 1;
7345
  }
 
7346
  .course-curriculum .section-header .section-left .section-toggle {
7347
  flex: 0 0 40px;
7348
  align-items: center;
7349
  text-align: center;
7350
  cursor: pointer;
7351
  }
 
7352
  .course-curriculum .section-header .section-left .section-toggle .fa-caret-down {
7353
  display: none;
7354
  }
 
7355
  .course-curriculum .section-header .learn-press-progress {
7356
  width: 80px;
7357
  }
 
7358
  .course-curriculum .section.closed .section-toggle .fa-caret-down {
7359
  display: block;
7360
  }
 
7361
  .course-curriculum .section.closed .section-toggle .fa-caret-up {
7362
  display: none;
7363
  }
 
7364
  .course-curriculum .section.closed .section-content {
7365
  overflow: hidden;
7366
  height: 0;
7371
  padding: 0;
7372
  list-style: none;
7373
  }
 
7374
  .lp-skeleton-animation > li {
7375
  width: 100%;
7376
  height: 16px;
7390
  background-position: 0 50%;
7391
  }
7392
  }
7393
+ input[type=text],
7394
+ input[type=email],
7395
+ input[type=number],
7396
+ input[type=password] {
 
7397
  -webkit-box-sizing: border-box;
7398
  -moz-box-sizing: border-box;
7399
  box-sizing: border-box;
7405
  body {
7406
  background: #fff;
7407
  }
 
7408
  body.learnpress-page {
7409
  overflow-x: hidden;
7410
  }
7413
  margin-right: -1000px;
7414
  margin-left: -1000px;
7415
  }
 
7416
  .wrap-fullwidth a:focus,
7417
  .wrap-fullwidth button:focus,
7418
  .wrap-fullwidth input:focus,
7420
  border: 0;
7421
  outline: 0;
7422
  }
 
7423
  .wrap-fullwidth a:hover {
7424
  text-decoration: none;
7425
  }
 
7426
  .wrap-fullwidth p {
7427
  word-break: break-word;
7428
  }
 
7429
  .wrap-fullwidth p:last-child {
7430
  margin-bottom: 0;
7431
  }
 
7432
  .wrap-fullwidth label {
7433
  display: block;
7434
  margin: 0;
7435
  outline: none;
7436
  }
 
7437
  .wrap-fullwidth img {
7438
  max-width: 100%;
7439
  height: auto;
7440
  }
 
7441
  .wrap-fullwidth form {
7442
  margin: 0;
7443
  }
 
7444
  .wrap-fullwidth .col-full {
7445
  box-sizing: border-box;
7446
  max-width: 100%;
7447
  padding: 0;
7448
  }
 
7449
  .wrap-fullwidth .col-full .woocommerce-breadcrumb {
7450
  display: none;
7451
  }
7474
  padding: 0;
7475
  list-style: none;
7476
  }
 
7477
  .lp-form-fields .form-field {
7478
  margin: 0 0 20px 0;
7479
  list-style: none;
7484
  max-width: 90%;
7485
  margin: 0 auto;
7486
  }
 
7487
  .lp-content-wrap > h2 {
7488
  margin-top: 0;
7489
  margin-bottom: 26px;
7502
  font-weight: 500;
7503
  list-style: none;
7504
  }
 
7505
  .learn-press-breadcrumb li {
7506
  display: inline-block;
7507
  margin: 0;
7508
  }
 
7509
  .learn-press-breadcrumb li a {
7510
  color: #666;
7511
  font-weight: 300;
7512
  }
 
7513
  .learn-press-breadcrumb li a:hover {
7514
  color: var(--lp-primary-color);
7515
  }
 
7516
  .learn-press-breadcrumb i {
7517
  margin: 0 5px;
7518
  color: #666;
7519
  font-size: 12px;
7520
  }
 
7521
  @media (max-width: 1024px) {
7522
  .learn-press-breadcrumb {
7523
  padding-right: 15px;
7524
  padding-left: 15px;
7525
  }
7526
  }
 
7527
  .learn-press-breadcrumb a {
7528
  color: #666;
7529
  font-weight: 300;
7556
  -o-transition: all 0.25s;
7557
  transition: all 0.25s;
7558
  }
 
7559
  .learnpress-page .lp-button.large,
7560
  .learnpress-page #lp-button.large {
7561
  height: 52px;
7562
  padding: 18px 30px;
7563
  font-size: 18px;
7564
  }
 
7565
  .learnpress-page .lp-button.gray,
7566
  .learnpress-page #lp-button.gray {
7567
  position: absolute;
7571
  padding: 0;
7572
  border: 0;
7573
  }
 
7574
  .learnpress-page .lp-button.gray:hover,
7575
  .learnpress-page #lp-button.gray:hover {
7576
  background: transparent;
7577
  text-decoration: none;
7578
  }
 
7579
  .learnpress-page .lp-button.gray:focus,
7580
  .learnpress-page #lp-button.gray:focus {
7581
  border: 0;
7582
  outline: 0;
7583
  }
 
7584
  .learnpress-page .lp-button:hover,
7585
  .learnpress-page #lp-button:hover {
7586
  border-color: var(--lp-primary-color);
7587
  color: #fff;
7588
  background: var(--lp-primary-color);
7589
  }
 
7590
  .learnpress-page .lp-button.btn-ajax-off .icon,
7591
  .learnpress-page #lp-button.btn-ajax-off .icon {
7592
  display: none;
7593
  }
 
7594
  .learnpress-page .lp-button.btn-ajax-on .icon,
7595
  .learnpress-page #lp-button.btn-ajax-on .icon {
7596
  display: inline-block;
7599
  -moz-animation: lp-rotating 1s linear infinite;
7600
  animation: lp-rotating 1s linear infinite;
7601
  }
 
7602
  .learnpress-page .lp-button:focus,
7603
  .learnpress-page #lp-button:focus {
7604
  outline: 0;
7605
  }
 
7606
  .learnpress-page .lp-button.loading::before,
7607
  .learnpress-page #lp-button.loading::before {
7608
  display: inline-block;
7611
  content: "\f110";
7612
  animation: lp-rotating 1s linear infinite;
7613
  }
 
7614
  .learnpress-page .rwmb-field .description {
7615
  margin-top: 8px;
7616
  color: #999;
7627
  font-size: 15px;
7628
  line-height: 1.4;
7629
  }
 
7630
  .lp-ajax-message.error {
7631
  border-color: #d85554;
7632
  }
7634
  .course-meta {
7635
  margin-bottom: 14px;
7636
  }
 
7637
  .course-meta .course-students::before {
7638
  font-family: "Font Awesome 5 Free";
7639
  content: "";
7642
  #learn-press-course-tabs {
7643
  margin-bottom: 40px;
7644
  }
 
7645
  #learn-press-course-tabs.course-tabs {
7646
  margin-top: 54px;
7647
  }
7659
  .learn-press-progress {
7660
  position: relative;
7661
  }
 
7662
  .learn-press-progress .progress-bg {
7663
  overflow: hidden;
7664
  position: relative;
7668
  -moz-border-radius: 5px;
7669
  border-radius: 5px;
7670
  }
 
7671
  .learn-press-progress .progress-bg .progress-active {
7672
  position: absolute;
7673
  left: 50%;
7693
  .table-orders {
7694
  font-size: 16px;
7695
  }
 
7696
  .table-orders th,
7697
  .table-orders td {
7698
  padding: 5px 10px;
7706
  padding-bottom: 20px;
7707
  text-align: center;
7708
  }
 
7709
  .learn-press-pagination .page-numbers {
7710
  display: inline-block;
7711
  margin: 0;
7715
  background: transparent;
7716
  list-style: none;
7717
  }
 
7718
  .learn-press-pagination .page-numbers > li {
7719
  display: inline-block;
7720
  margin: 0;
7721
  padding: 0 14px;
7722
  }
 
7723
  .learn-press-pagination .page-numbers > li .page-numbers {
7724
  float: unset;
7725
  padding: 0;
7728
  font-size: 16px;
7729
  font-weight: 300;
7730
  }
 
7731
  .learn-press-pagination .page-numbers > li .page-numbers.current {
7732
  color: var(--lp-primary-color);
7733
  font-weight: 400;
7734
  }
 
7735
  .learn-press-pagination .page-numbers > li .page-numbers:hover {
7736
  color: var(--lp-primary-color);
7737
  }
7741
  margin-left: 0;
7742
  list-style: none;
7743
  }
 
7744
  ul.list-table-nav .nav-text {
7745
  text-align: left;
7746
  flex: 1;
7747
  }
 
7748
  ul.list-table-nav .nav-pages {
7749
  text-align: right;
7750
  flex: 1;
7751
  }
 
7752
  ul.list-table-nav .nav-pages .learn-press-pagination {
7753
  display: inline-block;
7754
  margin-bottom: 0;
7783
  .course-item-nav {
7784
  display: flex;
7785
  }
 
7786
  .course-item-nav .prev,
7787
  .course-item-nav .next {
7788
  /* flex: 1;*/
7789
  }
 
7790
  .course-item-nav .prev span,
7791
  .course-item-nav .next span {
7792
  display: block;
7793
  font-weight: bold;
7794
  }
 
7795
  .course-item-nav .prev a,
7796
  .course-item-nav .next a {
7797
  color: #999;
7798
  }
 
7799
  .course-item-nav .next {
7800
  text-align: right;
7801
  }
7804
  margin-right: 0;
7805
  margin-left: 0;
7806
  }
 
7807
  .content-item-wrap #comments #comment {
7808
  -webkit-box-sizing: border-box;
7809
  -moz-box-sizing: border-box;
7813
  .course-summary .course-summary-sidebar {
7814
  position: relative;
7815
  }
 
7816
  .course-summary .course-summary-sidebar.slide-down .course-summary-sidebar__inner {
7817
  position: fixed;
7818
  top: 0;
7819
  }
 
7820
  .course-summary .course-summary-sidebar.slide-top .course-summary-sidebar__inner {
7821
  position: absolute;
7822
  }
7824
  .course-graduation span {
7825
  color: #999;
7826
  }
 
7827
  .course-graduation .icon {
7828
  margin-right: 5px;
7829
  font-size: 20px;
7830
  }
 
7831
  .course-graduation.passed .icon {
7832
  color: #059601;
7833
  }
 
7834
  .course-graduation.error .icon {
7835
  color: #d85554;
7836
  }
7849
  align-items: center;
7850
  justify-content: center;
7851
  }
 
7852
  .lp-badge::before, .lp-badge::after {
7853
  content: "";
7854
  }
 
7855
  .lp-badge::before {
7856
  display: inline-block;
7857
  position: relative;
7860
  font-weight: bold;
7861
  line-height: 1;
7862
  }
 
7863
  .lp-badge.featured-course {
7864
  position: absolute;
7865
  z-index: 1;
7870
  text-align: center;
7871
  transform: rotate(-45deg);
7872
  }
 
7873
  .lp-badge.featured-course::before {
7874
  font-size: 12px;
7875
  text-transform: uppercase;
7876
  content: attr(data-text);
7877
  }
7878
 
7879
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio],
7880
  #learn-press-course-tabs .course-tab-panel {
7881
  display: none;
7882
  }
 
7883
  #learn-press-course-tabs .course-nav label {
7884
  display: block;
7885
  margin: 0;
7890
  text-transform: capitalize;
7891
  cursor: pointer;
7892
  }
7893
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(1):checked ~ .course-tab-panels .course-tab-panel:nth-child(1) {
 
7894
  display: block;
7895
  }
7896
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(1):checked ~ .learn-press-nav-tabs .course-nav:nth-child(1) {
 
7897
  border-bottom: 0;
7898
  }
7899
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(1):checked ~ .learn-press-nav-tabs .course-nav:nth-child(1) label {
 
7900
  color: var(--lp-primary-color);
7901
  background: #fff;
7902
  }
7903
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(2):checked ~ .course-tab-panels .course-tab-panel:nth-child(2) {
 
7904
  display: block;
7905
  }
7906
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(2):checked ~ .learn-press-nav-tabs .course-nav:nth-child(2) {
 
7907
  border-bottom: 0;
7908
  }
7909
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(2):checked ~ .learn-press-nav-tabs .course-nav:nth-child(2) label {
 
7910
  color: var(--lp-primary-color);
7911
  background: #fff;
7912
  }
7913
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(3):checked ~ .course-tab-panels .course-tab-panel:nth-child(3) {
 
7914
  display: block;
7915
  }
7916
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(3):checked ~ .learn-press-nav-tabs .course-nav:nth-child(3) {
 
7917
  border-bottom: 0;
7918
  }
7919
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(3):checked ~ .learn-press-nav-tabs .course-nav:nth-child(3) label {
 
7920
  color: var(--lp-primary-color);
7921
  background: #fff;
7922
  }
7923
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(4):checked ~ .course-tab-panels .course-tab-panel:nth-child(4) {
 
7924
  display: block;
7925
  }
7926
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(4):checked ~ .learn-press-nav-tabs .course-nav:nth-child(4) {
 
7927
  border-bottom: 0;
7928
  }
7929
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(4):checked ~ .learn-press-nav-tabs .course-nav:nth-child(4) label {
 
7930
  color: var(--lp-primary-color);
7931
  background: #fff;
7932
  }
7933
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(5):checked ~ .course-tab-panels .course-tab-panel:nth-child(5) {
 
7934
  display: block;
7935
  }
7936
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(5):checked ~ .learn-press-nav-tabs .course-nav:nth-child(5) {
 
7937
  border-bottom: 0;
7938
  }
7939
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(5):checked ~ .learn-press-nav-tabs .course-nav:nth-child(5) label {
 
7940
  color: var(--lp-primary-color);
7941
  background: #fff;
7942
  }
7943
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(6):checked ~ .course-tab-panels .course-tab-panel:nth-child(6) {
 
7944
  display: block;
7945
  }
7946
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(6):checked ~ .learn-press-nav-tabs .course-nav:nth-child(6) {
 
7947
  border-bottom: 0;
7948
  }
7949
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(6):checked ~ .learn-press-nav-tabs .course-nav:nth-child(6) label {
 
7950
  color: var(--lp-primary-color);
7951
  background: #fff;
7952
  }
7953
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(7):checked ~ .course-tab-panels .course-tab-panel:nth-child(7) {
 
7954
  display: block;
7955
  }
7956
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(7):checked ~ .learn-press-nav-tabs .course-nav:nth-child(7) {
 
7957
  border-bottom: 0;
7958
  }
7959
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(7):checked ~ .learn-press-nav-tabs .course-nav:nth-child(7) label {
 
7960
  color: var(--lp-primary-color);
7961
  background: #fff;
7962
  }
7963
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(8):checked ~ .course-tab-panels .course-tab-panel:nth-child(8) {
 
7964
  display: block;
7965
  }
7966
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(8):checked ~ .learn-press-nav-tabs .course-nav:nth-child(8) {
 
7967
  border-bottom: 0;
7968
  }
7969
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(8):checked ~ .learn-press-nav-tabs .course-nav:nth-child(8) label {
 
7970
  color: var(--lp-primary-color);
7971
  background: #fff;
7972
  }
7973
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(9):checked ~ .course-tab-panels .course-tab-panel:nth-child(9) {
 
7974
  display: block;
7975
  }
7976
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(9):checked ~ .learn-press-nav-tabs .course-nav:nth-child(9) {
 
7977
  border-bottom: 0;
7978
  }
7979
+ #learn-press-course-tabs input[name=learn-press-course-tab-radio]:nth-child(9):checked ~ .learn-press-nav-tabs .course-nav:nth-child(9) label {
 
7980
  color: var(--lp-primary-color);
7981
  background: #fff;
7982
  }
7990
  width: 48%;
7991
  }
7992
  }
 
7993
  @media screen and (max-width: 600px) {
7994
  ul.learn-press-courses {
7995
  margin-right: 0;
7999
  margin-right: 0;
8000
  }
8001
  }
8002
+ .course-price:empty {
8003
+ display: none !important;
8004
+ }
assets/css/widgets.css CHANGED
@@ -14,7 +14,6 @@
14
  transform: rotate(360deg);
15
  }
16
  }
17
-
18
  @keyframes rotating4 {
19
  from {
20
  -ms-transform: rotate(0deg);
@@ -31,7 +30,6 @@
31
  transform: rotate(360deg);
32
  }
33
  }
34
-
35
  @-webkit-keyframes animation4 {
36
  from {
37
  left: -40%;
@@ -42,7 +40,6 @@
42
  width: 10%;
43
  }
44
  }
45
-
46
  @keyframes animation4 {
47
  from {
48
  left: -40%;
@@ -53,13 +50,11 @@
53
  width: 10%;
54
  }
55
  }
56
-
57
  .lp-skeleton-animation {
58
  margin: 0;
59
  padding: 0;
60
  list-style: none;
61
  }
62
-
63
  .lp-skeleton-animation > li {
64
  width: 100%;
65
  height: 16px;
@@ -79,28 +74,23 @@
79
  background-position: 0 50%;
80
  }
81
  }
82
-
83
  .learnpress.widget {
84
  max-width: 400px;
85
  margin-bottom: 30px;
86
  }
87
-
88
  .learnpress.widget .widgettitle {
89
  margin-top: 0;
90
  margin-bottom: 2px;
91
  font-size: 18px;
92
  font-weight: 600;
93
  }
94
-
95
  .learnpress.widget .learnpress-widget-wrapper {
96
  margin-top: 15px;
97
  }
98
-
99
  .learnpress.widget h3 {
100
  margin-bottom: 20px;
101
  font-size: 16px;
102
  }
103
-
104
  .learnpress.widget a {
105
  text-decoration: none;
106
  }
@@ -112,29 +102,24 @@
112
  .learnpress-widget-wrapper .lp-widget-course {
113
  margin: 0 0 30px 0;
114
  }
115
-
116
  .learnpress-widget-wrapper .lp-widget-course__image img {
117
  max-width: 100%;
118
  height: auto;
119
  }
120
-
121
  .learnpress-widget-wrapper .lp-widget-course__title {
122
  margin-bottom: 20px;
123
  font-size: 16px;
124
  font-weight: 600;
125
  }
126
-
127
  .learnpress-widget-wrapper .lp-widget-course__content {
128
  margin: 0;
129
  padding: 15px;
130
  border: 1px solid #eee;
131
  border-top: none;
132
  }
133
-
134
  .learnpress-widget-wrapper .lp-widget-course__title {
135
  margin: 5px 0 15px 0;
136
  }
137
-
138
  .learnpress-widget-wrapper .lp-widget-course__meta {
139
  display: grid;
140
  margin: 15px 0 0 0;
@@ -143,32 +128,26 @@
143
  justify-content: space-between;
144
  align-items: center;
145
  }
146
-
147
  .learnpress-widget-wrapper .lp-widget-course__description {
148
  color: #666;
149
  font-size: 15px;
150
  }
151
-
152
  .learnpress-widget-wrapper .lp-widget-course__price {
153
  color: #444;
154
  font-size: 15px;
155
  font-weight: 600;
156
  }
157
-
158
  .learnpress-widget-wrapper .lp-widget-course__instructor {
159
  display: flex;
160
  align-items: center;
161
  }
162
-
163
  .learnpress-widget-wrapper .lp-widget-course__instructor__avatar {
164
  margin-right: 5px;
165
  }
166
-
167
  .learnpress-widget-wrapper .lp-widget-course__instructor__avatar img {
168
  width: 20px;
169
  border-radius: 20px;
170
  }
171
-
172
  .learnpress-widget-wrapper .lp-widget-course__instructor > a {
173
  color: #777;
174
  font-size: 15px;
@@ -180,13 +159,11 @@
180
  padding: 20px;
181
  border: 1px solid #eee;
182
  }
183
-
184
  .learnpress.widget_course_progress .course-results-progress,
185
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress {
186
  margin-top: 10px;
187
  font-size: 14px;
188
  }
189
-
190
  .learnpress.widget_course_progress .course-results-progress .items-progress,
191
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .items-progress {
192
  display: flex;
@@ -194,22 +171,18 @@
194
  justify-content: space-between;
195
  align-items: center;
196
  }
197
-
198
  .learnpress.widget_course_progress .course-results-progress .items-progress__heading,
199
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .items-progress__heading {
200
  font-weight: 400;
201
  }
202
-
203
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress,
204
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress {
205
  width: 100%;
206
  }
207
-
208
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress,
209
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress {
210
  position: relative;
211
  }
212
-
213
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg,
214
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg {
215
  overflow: hidden;
@@ -220,7 +193,6 @@
220
  -moz-border-radius: 5px;
221
  border-radius: 5px;
222
  }
223
-
224
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg .progress-active,
225
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg .progress-active {
226
  position: absolute;
@@ -233,7 +205,6 @@
233
  -moz-border-radius: 5px;
234
  border-radius: 5px;
235
  }
236
-
237
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .lp-passing-conditional,
238
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .lp-passing-conditional {
239
  position: absolute;
@@ -251,19 +222,16 @@
251
  border: 1px solid #eee;
252
  line-height: 1;
253
  }
254
-
255
  .learnpress.widget_course_info .lp_widget_course_info h3,
256
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info h3 {
257
  margin-bottom: 15px;
258
  }
259
-
260
  .learnpress.widget_course_info .lp_widget_course_info ul,
261
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul {
262
  margin: 0;
263
  padding: 0;
264
  font-size: 14px;
265
  }
266
-
267
  .learnpress.widget_course_info .lp_widget_course_info ul li,
268
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul li {
269
  display: flex;
@@ -272,12 +240,10 @@
272
  margin-bottom: 5px;
273
  line-height: 1;
274
  }
275
-
276
  .learnpress.widget_course_info .lp_widget_course_info ul li span,
277
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul li span {
278
  font-size: 14px;
279
  }
280
-
281
  .learnpress.widget_course_info .lp_widget_course_info ul label,
282
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul label {
283
  font-size: 14px;
@@ -290,13 +256,11 @@
290
  border: 1px solid #eee;
291
  line-height: 1;
292
  }
293
-
294
  .learnpress.widget_course_extra .lp-widget-course-extra h3,
295
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra h3 {
296
  margin-bottom: 20px;
297
  font-size: 16px;
298
  }
299
-
300
  .learnpress.widget_course_extra .lp-widget-course-extra__content h4.course-extras__title,
301
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content h4.course-extras__title {
302
  margin: 0;
@@ -304,40 +268,33 @@
304
  font-size: 14px;
305
  font-weight: 600;
306
  }
307
-
308
  .learnpress.widget_course_extra .lp-widget-course-extra__content ul,
309
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content ul {
310
  margin: 0;
311
  padding: 0;
312
  font-size: 14px;
313
  }
314
-
315
  .learnpress.widget_course_extra .lp-widget-course-extra__content ul li,
316
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content ul li {
317
  margin-bottom: 10px;
318
  }
319
-
320
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras,
321
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras {
322
  display: block;
323
  }
324
-
325
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content,
326
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content {
327
  color: #777;
328
  font-size: 14px;
329
  }
330
-
331
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul,
332
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul {
333
  list-style: none;
334
  }
335
-
336
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ol,
337
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ol {
338
  list-style-position: inside;
339
  }
340
-
341
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul li,
342
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ol li,
343
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul li,
@@ -345,14 +302,12 @@
345
  position: relative;
346
  border: none;
347
  }
348
-
349
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li,
350
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ol li,
351
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li,
352
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ol li {
353
  padding-left: 20px;
354
  }
355
-
356
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li::before,
357
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ol li::before,
358
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li::before,
@@ -369,14 +324,12 @@
369
  content: "";
370
  transform: rotate(-54deg) translateY(-50%);
371
  }
372
-
373
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li,
374
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ol li,
375
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li,
376
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ol li {
377
  padding-left: 20px;
378
  }
379
-
380
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li::before,
381
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ol li::before,
382
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li::before,
@@ -400,13 +353,11 @@
400
  padding-top: 10px;
401
  border-top: 1px solid #eee;
402
  }
403
-
404
  .learnpress.widget_course_featured .lp-widget-featured-courses__footer__link,
405
  .elementor-widget-wp-widget-learnpress_widget_course_featured .lp-widget-featured-courses__footer__link {
406
  font-size: 16px;
407
  line-height: 1;
408
  }
409
-
410
  .learnpress.widget_course_featured .lp-widget-featured-courses__footer__link::before,
411
  .elementor-widget-wp-widget-learnpress_widget_course_featured .lp-widget-featured-courses__footer__link::before {
412
  content: "←";
@@ -418,13 +369,11 @@
418
  padding-top: 10px;
419
  border-top: 1px solid #eee;
420
  }
421
-
422
  .learnpress.widget_course_popular .lp-widget-popular-courses__footer__link,
423
  .elementor-widget-wp-widget-learnpress_widget_course_popular .lp-widget-popular-courses__footer__link {
424
  font-size: 16px;
425
  line-height: 1;
426
  }
427
-
428
  .learnpress.widget_course_popular .lp-widget-popular-courses__footer__link::before,
429
  .elementor-widget-wp-widget-learnpress_widget_course_popular .lp-widget-popular-courses__footer__link::before {
430
  content: "←";
@@ -436,14 +385,12 @@
436
  padding-top: 10px;
437
  border-top: 1px solid #eee;
438
  }
439
-
440
  .learnpress.widget_course_recent .lp-widget-recent-courses__footer__link,
441
  .elementor-widget-wp-widget-learnpress_widget_course_recent .lp-widget-recent-courses__footer__link {
442
  font-size: 16px;
443
  line-height: 1;
444
  }
445
-
446
  .learnpress.widget_course_recent .lp-widget-recent-courses__footer__link::before,
447
  .elementor-widget-wp-widget-learnpress_widget_course_recent .lp-widget-recent-courses__footer__link::before {
448
  content: "←";
449
- }
14
  transform: rotate(360deg);
15
  }
16
  }
 
17
  @keyframes rotating4 {
18
  from {
19
  -ms-transform: rotate(0deg);
30
  transform: rotate(360deg);
31
  }
32
  }
 
33
  @-webkit-keyframes animation4 {
34
  from {
35
  left: -40%;
40
  width: 10%;
41
  }
42
  }
 
43
  @keyframes animation4 {
44
  from {
45
  left: -40%;
50
  width: 10%;
51
  }
52
  }
 
53
  .lp-skeleton-animation {
54
  margin: 0;
55
  padding: 0;
56
  list-style: none;
57
  }
 
58
  .lp-skeleton-animation > li {
59
  width: 100%;
60
  height: 16px;
74
  background-position: 0 50%;
75
  }
76
  }
 
77
  .learnpress.widget {
78
  max-width: 400px;
79
  margin-bottom: 30px;
80
  }
 
81
  .learnpress.widget .widgettitle {
82
  margin-top: 0;
83
  margin-bottom: 2px;
84
  font-size: 18px;
85
  font-weight: 600;
86
  }
 
87
  .learnpress.widget .learnpress-widget-wrapper {
88
  margin-top: 15px;
89
  }
 
90
  .learnpress.widget h3 {
91
  margin-bottom: 20px;
92
  font-size: 16px;
93
  }
 
94
  .learnpress.widget a {
95
  text-decoration: none;
96
  }
102
  .learnpress-widget-wrapper .lp-widget-course {
103
  margin: 0 0 30px 0;
104
  }
 
105
  .learnpress-widget-wrapper .lp-widget-course__image img {
106
  max-width: 100%;
107
  height: auto;
108
  }
 
109
  .learnpress-widget-wrapper .lp-widget-course__title {
110
  margin-bottom: 20px;
111
  font-size: 16px;
112
  font-weight: 600;
113
  }
 
114
  .learnpress-widget-wrapper .lp-widget-course__content {
115
  margin: 0;
116
  padding: 15px;
117
  border: 1px solid #eee;
118
  border-top: none;
119
  }
 
120
  .learnpress-widget-wrapper .lp-widget-course__title {
121
  margin: 5px 0 15px 0;
122
  }
 
123
  .learnpress-widget-wrapper .lp-widget-course__meta {
124
  display: grid;
125
  margin: 15px 0 0 0;
128
  justify-content: space-between;
129
  align-items: center;
130
  }
 
131
  .learnpress-widget-wrapper .lp-widget-course__description {
132
  color: #666;
133
  font-size: 15px;
134
  }
 
135
  .learnpress-widget-wrapper .lp-widget-course__price {
136
  color: #444;
137
  font-size: 15px;
138
  font-weight: 600;
139
  }
 
140
  .learnpress-widget-wrapper .lp-widget-course__instructor {
141
  display: flex;
142
  align-items: center;
143
  }
 
144
  .learnpress-widget-wrapper .lp-widget-course__instructor__avatar {
145
  margin-right: 5px;
146
  }
 
147
  .learnpress-widget-wrapper .lp-widget-course__instructor__avatar img {
148
  width: 20px;
149
  border-radius: 20px;
150
  }
 
151
  .learnpress-widget-wrapper .lp-widget-course__instructor > a {
152
  color: #777;
153
  font-size: 15px;
159
  padding: 20px;
160
  border: 1px solid #eee;
161
  }
 
162
  .learnpress.widget_course_progress .course-results-progress,
163
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress {
164
  margin-top: 10px;
165
  font-size: 14px;
166
  }
 
167
  .learnpress.widget_course_progress .course-results-progress .items-progress,
168
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .items-progress {
169
  display: flex;
171
  justify-content: space-between;
172
  align-items: center;
173
  }
 
174
  .learnpress.widget_course_progress .course-results-progress .items-progress__heading,
175
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .items-progress__heading {
176
  font-weight: 400;
177
  }
 
178
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress,
179
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress {
180
  width: 100%;
181
  }
 
182
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress,
183
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress {
184
  position: relative;
185
  }
 
186
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg,
187
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg {
188
  overflow: hidden;
193
  -moz-border-radius: 5px;
194
  border-radius: 5px;
195
  }
 
196
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg .progress-active,
197
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .progress-bg .progress-active {
198
  position: absolute;
205
  -moz-border-radius: 5px;
206
  border-radius: 5px;
207
  }
 
208
  .learnpress.widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .lp-passing-conditional,
209
  .elementor-widget-wp-widget-learnpress_widget_course_progress .course-results-progress .lp-course-progress.learn-press-progress .lp-passing-conditional {
210
  position: absolute;
222
  border: 1px solid #eee;
223
  line-height: 1;
224
  }
 
225
  .learnpress.widget_course_info .lp_widget_course_info h3,
226
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info h3 {
227
  margin-bottom: 15px;
228
  }
 
229
  .learnpress.widget_course_info .lp_widget_course_info ul,
230
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul {
231
  margin: 0;
232
  padding: 0;
233
  font-size: 14px;
234
  }
 
235
  .learnpress.widget_course_info .lp_widget_course_info ul li,
236
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul li {
237
  display: flex;
240
  margin-bottom: 5px;
241
  line-height: 1;
242
  }
 
243
  .learnpress.widget_course_info .lp_widget_course_info ul li span,
244
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul li span {
245
  font-size: 14px;
246
  }
 
247
  .learnpress.widget_course_info .lp_widget_course_info ul label,
248
  .elementor-widget-wp-widget-learnpress_widget_course_info .lp_widget_course_info ul label {
249
  font-size: 14px;
256
  border: 1px solid #eee;
257
  line-height: 1;
258
  }
 
259
  .learnpress.widget_course_extra .lp-widget-course-extra h3,
260
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra h3 {
261
  margin-bottom: 20px;
262
  font-size: 16px;
263
  }
 
264
  .learnpress.widget_course_extra .lp-widget-course-extra__content h4.course-extras__title,
265
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content h4.course-extras__title {
266
  margin: 0;
268
  font-size: 14px;
269
  font-weight: 600;
270
  }
 
271
  .learnpress.widget_course_extra .lp-widget-course-extra__content ul,
272
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content ul {
273
  margin: 0;
274
  padding: 0;
275
  font-size: 14px;
276
  }
 
277
  .learnpress.widget_course_extra .lp-widget-course-extra__content ul li,
278
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content ul li {
279
  margin-bottom: 10px;
280
  }
 
281
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras,
282
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras {
283
  display: block;
284
  }
 
285
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content,
286
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content {
287
  color: #777;
288
  font-size: 14px;
289
  }
 
290
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul,
291
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul {
292
  list-style: none;
293
  }
 
294
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ol,
295
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ol {
296
  list-style-position: inside;
297
  }
 
298
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul li,
299
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ol li,
300
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras .course-extras__content ul li,
302
  position: relative;
303
  border: none;
304
  }
 
305
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li,
306
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ol li,
307
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li,
308
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ol li {
309
  padding-left: 20px;
310
  }
 
311
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li::before,
312
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ol li::before,
313
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-checks ul li::before,
324
  content: "";
325
  transform: rotate(-54deg) translateY(-50%);
326
  }
 
327
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li,
328
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ol li,
329
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li,
330
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ol li {
331
  padding-left: 20px;
332
  }
 
333
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li::before,
334
  .learnpress.widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ol li::before,
335
  .elementor-widget-wp-widget-learnpress_widget_course_extra .lp-widget-course-extra__content .course-extras.style-radios ul li::before,
353
  padding-top: 10px;
354
  border-top: 1px solid #eee;
355
  }
 
356
  .learnpress.widget_course_featured .lp-widget-featured-courses__footer__link,
357
  .elementor-widget-wp-widget-learnpress_widget_course_featured .lp-widget-featured-courses__footer__link {
358
  font-size: 16px;
359
  line-height: 1;
360
  }
 
361
  .learnpress.widget_course_featured .lp-widget-featured-courses__footer__link::before,
362
  .elementor-widget-wp-widget-learnpress_widget_course_featured .lp-widget-featured-courses__footer__link::before {
363
  content: "←";
369
  padding-top: 10px;
370
  border-top: 1px solid #eee;
371
  }
 
372
  .learnpress.widget_course_popular .lp-widget-popular-courses__footer__link,
373
  .elementor-widget-wp-widget-learnpress_widget_course_popular .lp-widget-popular-courses__footer__link {
374
  font-size: 16px;
375
  line-height: 1;
376
  }
 
377
  .learnpress.widget_course_popular .lp-widget-popular-courses__footer__link::before,
378
  .elementor-widget-wp-widget-learnpress_widget_course_popular .lp-widget-popular-courses__footer__link::before {
379
  content: "←";
385
  padding-top: 10px;
386
  border-top: 1px solid #eee;
387
  }
 
388
  .learnpress.widget_course_recent .lp-widget-recent-courses__footer__link,
389
  .elementor-widget-wp-widget-learnpress_widget_course_recent .lp-widget-recent-courses__footer__link {
390
  font-size: 16px;
391
  line-height: 1;
392
  }
 
393
  .learnpress.widget_course_recent .lp-widget-recent-courses__footer__link::before,
394
  .elementor-widget-wp-widget-learnpress_widget_course_recent .lp-widget-recent-courses__footer__link::before {
395
  content: "←";
396
+ }
assets/js/admin/partial/meta-box-order.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){"use strict";window.$Vue=window.$Vue||Vue,jQuery((function(){var t=e(".list-order-items").find("tbody"),o=e("#list-users"),r=function(e,t){return _.template(e,{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g})(t)},s={template:"#tmpl-order-advanced-list-item",onRemove(){0===this.$el.children().length&&this.$el.append('<li class="user-guest">'+d.i18n_guest+"</li>"),console.log(this.$el)},onAdd(){this.$el.find(".user-guest").remove()}},d=lpMetaBoxOrderSettings;o.length&&(o.LP("AdvancedList",s),d.users&&_.forEach(d.users,(function(e,t){o.LP("AdvancedList","add",[r(d.userTextFormat,e),t])}))),t.on("click",".remove-order-item",(function(o){o.preventDefault();const r=e(this).closest("tr"),s=r.data("item_id");r.remove(),0===t.children(":not(.no-order-items)").length&&t.find(".no-order-items").show(),$Vue.http.post(window.location.href,{order_id:e("#post_ID").val(),items:[s],"lp-ajax":"remove_items_from_order"},{emulateJSON:!0,params:{}}).then((function(t){const o=LP.parseJSON(t.body||t.bodyText);e(".order-subtotal").html(o.order_data.subtotal_html),e(".order-total").html(o.order_data.total_html)}))})),e(".order-date.date-picker-backendorder").on("change",(function(){const t=this.value.split("-");["aa","mm","jj"].forEach((function(o,r){e('input[name="'+o+'"]').val(t[r])}))})).datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0,select(){console.log(arguments)}}),e("#learn-press-add-order-item").on("click",(function(){LP.$modalSearchItems.open({data:{postType:"lp_course",context:"order-items",contextId:e("#post_ID").val(),exclude:e(".list-order-items tbody").children(".order-item-row").map((function(){return e(this).data("id")})).get(),show:!0},callbacks:{addItems(){$Vue.http.post(window.location.href,{order_id:this.contextId,items:this.selected,"lp-ajax":"add_items_to_order"},{emulateJSON:!0,params:{}}).then((function(o){const r=LP.parseJSON(o.body||o.bodyText),s=t.find(".no-order-items").hide();e(r.item_html).insertBefore(s),e(".order-subtotal").html(r.order_data.subtotal_html),e(".order-total").html(r.order_data.total_html)})),this.close()}}})})),e(document).on("click",".change-user",(function(t){t.preventDefault(),LP.$modalSearchUsers.open({data:{context:"order-items",contextId:e("#post_ID").val(),show:!0,multiple:"yes"===e(this).data("multiple"),exclude:e("#list-users").children().map((function(){return e(this).data("id")})).get(),textFormat:d.userTextFormat},callbacks:{addUsers(t){if(this.multiple){o.length||((o=e(LP.template("tmpl-order-data-user")({multiple:!0}))).LP("AdvancedList",s),e(".order-data-user").replaceWith(o));for(let e=0;e<this.selected.length;e++)o.LP("AdvancedList","add",[r(this.textFormat,this.selected[e]),this.selected[e].id])}else{const t=LP.template("tmpl-order-data-user")({name:r(this.textFormat,this.selected[0]),id:this.selected[0].id});e(".order-data-user").replaceWith(t)}this.close()}}})}))}))}(jQuery);
1
+ !function(e){"use strict";window.$Vue=window.$Vue||Vue,jQuery((function(){var t=e(".list-order-items").find("tbody"),o=e("#list-users"),r=function(e,t){return _.template(e,{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g})(t)},s={template:"#tmpl-order-advanced-list-item",onRemove(){0===this.$el.children().length&&this.$el.append('<li class="user-guest">'+d.i18n_guest+"</li>"),console.log(this.$el)},onAdd(){this.$el.find(".user-guest").remove()}},d=lpMetaBoxOrderSettings;o.length&&(o.LP("AdvancedList",s),d.users&&_.forEach(d.users,(function(e,t){o.LP("AdvancedList","add",[r(d.userTextFormat,e),t])}))),t.on("click",".remove-order-item",(function(o){o.preventDefault();const r=e(this).closest("tr"),s=r.data("item_id");r.remove(),0===t.children(":not(.no-order-items)").length&&t.find(".no-order-items").show(),$Vue.http.post(window.location.href,{order_id:e("#post_ID").val(),items:[s],"lp-ajax":"remove_items_from_order",remove_nonce:e(this).closest(".order-item-row").data("remove_nonce")},{emulateJSON:!0,params:{}}).then((function(t){const o=LP.parseJSON(t.body||t.bodyText);e(".order-subtotal").html(o.order_data.subtotal_html),e(".order-total").html(o.order_data.total_html)}))})),e(".order-date.date-picker-backendorder").on("change",(function(){const t=this.value.split("-");["aa","mm","jj"].forEach((function(o,r){e('input[name="'+o+'"]').val(t[r])}))})).datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0,select(){console.log(arguments)}}),e("#learn-press-add-order-item").on("click",(function(){LP.$modalSearchItems.open({data:{postType:"lp_course",context:"order-items",contextId:e("#post_ID").val(),exclude:e(".list-order-items tbody").children(".order-item-row").map((function(){return e(this).data("id")})).get(),show:!0},callbacks:{addItems(){$Vue.http.post(window.location.href,{order_id:this.contextId,items:this.selected,"lp-ajax":"add_items_to_order"},{emulateJSON:!0,params:{}}).then((function(o){const r=LP.parseJSON(o.body||o.bodyText),s=t.find(".no-order-items").hide();e(r.item_html).insertBefore(s),e(".order-subtotal").html(r.order_data.subtotal_html),e(".order-total").html(r.order_data.total_html)})),this.close()}}})})),e(document).on("click",".change-user",(function(t){t.preventDefault(),LP.$modalSearchUsers.open({data:{context:"order-items",contextId:e("#post_ID").val(),show:!0,multiple:"yes"===e(this).data("multiple"),exclude:e("#list-users").children().map((function(){return e(this).data("id")})).get(),textFormat:d.userTextFormat},callbacks:{addUsers(t){if(this.multiple){o.length||((o=e(LP.template("tmpl-order-data-user")({multiple:!0}))).LP("AdvancedList",s),e(".order-data-user").replaceWith(o));for(let e=0;e<this.selected.length;e++)o.LP("AdvancedList","add",[r(this.textFormat,this.selected[e]),this.selected[e].id])}else{const t=LP.template("tmpl-order-data-user")({name:r(this.textFormat,this.selected[0]),id:this.selected[0].id});e(".order-data-user").replaceWith(t)}this.close()}}})}))}))}(jQuery);
assets/js/dist/admin/editor/course.js CHANGED
@@ -212,7 +212,19 @@ var CourseCurriculum = {
212
  type: 'remove-section-item',
213
  section_id: payload.section_id,
214
  item_id: id
215
- }).then(function () {
 
 
 
 
 
 
 
 
 
 
 
 
216
  context.commit('REMOVE_SECTION_ITEM', payload);
217
  });
218
  },
@@ -224,8 +236,18 @@ var CourseCurriculum = {
224
  type: 'delete-section-item',
225
  section_id: payload.section_id,
226
  item_id: id
227
- }).then(function () {
228
- context.commit('REMOVE_SECTION_ITEM', payload);
 
 
 
 
 
 
 
 
 
 
229
  });
230
  },
231
  newSectionItem: function newSectionItem(context, payload) {
@@ -706,6 +728,11 @@ var CourseCurriculum = {
706
  });
707
 
708
  if (index !== -1) {
 
 
 
 
 
709
  if (item.temp_id) {
710
  items[index].id = item.temp_id;
711
  } else {
212
  type: 'remove-section-item',
213
  section_id: payload.section_id,
214
  item_id: id
215
+ }).then(function (rs) {
216
+ var _rs$body = rs.body,
217
+ data = _rs$body.data,
218
+ success = _rs$body.success;
219
+
220
+ if (success) {
221
+ context.commit('REMOVE_SECTION_ITEM', payload);
222
+ } else {
223
+ alert(data);
224
+ payload.oldId = id;
225
+ context.commit('REMOVE_SECTION_ITEM', payload);
226
+ }
227
+
228
  context.commit('REMOVE_SECTION_ITEM', payload);
229
  });
230
  },
236
  type: 'delete-section-item',
237
  section_id: payload.section_id,
238
  item_id: id
239
+ }).then(function (rs) {
240
+ var _rs$body2 = rs.body,
241
+ data = _rs$body2.data,
242
+ success = _rs$body2.success;
243
+
244
+ if (success) {
245
+ context.commit('REMOVE_SECTION_ITEM', payload);
246
+ } else {
247
+ alert(data);
248
+ payload.oldId = id;
249
+ context.commit('REMOVE_SECTION_ITEM', payload);
250
+ }
251
  });
252
  },
253
  newSectionItem: function newSectionItem(context, payload) {
728
  });
729
 
730
  if (index !== -1) {
731
+ if (payload.oldId !== undefined) {
732
+ items[index].id = payload.oldId;
733
+ return;
734
+ }
735
+
736
  if (item.temp_id) {
737
  items[index].id = item.temp_id;
738
  } else {
assets/js/dist/admin/editor/course.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=11)}({0:function(t,e,n){"use strict";function i(t){var e=window.jQuery||jQuery,n=Vue.http;t=e.extend({ns:"LPRequest",store:!1},t||{});var i=null;LP.Request=function(o){return i=e("#publishing-action"),o.id=t.store.getters.id,o.nonce=t.store.getters.nonce,o["lp-ajax"]=t.store.getters.action,o.code=t.store.getters.code,i.find("#publish").addClass("disabled"),i.find(".spinner").addClass("is-active"),i.addClass("code-"+o.code),n.post(t.store.getters.urlAjax,o,{emulateJSON:!0,params:{namespace:t.ns,code:o.code}})},n.interceptors.push((function(e,n){e.params.namespace===t.ns?(t.store.dispatch("newRequest"),n((function(n){jQuery.isPlainObject(n.body)||(n.body=LP.parseJSON(n.body)),n.body.success||!1?t.store.dispatch("requestCompleted","successful"):t.store.dispatch("requestCompleted","failed"),i.removeClass("code-"+e.params.code),i.attr("class")||(i.find("#publish").removeClass("disabled"),i.find(".spinner").removeClass("is-active"))}))):n()}))}n.d(e,"a",(function(){return i}))},1:function(t,e,n){"use strict";var i=window.jQuery||jQuery;e.a=function(t){return{namespaced:!0,state:i.extend({},t),getters:{all:function(t){return t}}}}},11:function(t,e,n){"use strict";n.r(e);var i=n(0),o={status:function(t){return t.status},pagination:function(t){return t.pagination},items:function(t,e){return t.items.map((function(t){var n=e.addedItems.find((function(e){return t.id===e.id}));return t.added=!!n,t}))},addedItems:function(t){return t.addedItems},isOpen:function(t){return t.open},types:function(t){return t.types},section:function(t){return t.sectionId}},s={TOGGLE:function(t){t.open=!t.open},SET_SECTION:function(t,e){t.sectionId=e},SET_LIST_ITEMS:function(t,e){t.items=e},ADD_ITEM:function(t,e){t.addedItems.push(e)},REMOVE_ADDED_ITEM:function(t,e){t.addedItems.forEach((function(n,i){n.id===e.id&&t.addedItems.splice(i,1)}))},RESET:function(t){t.addedItems=[],t.items=[]},UPDATE_PAGINATION:function(t,e){t.pagination=e},SEARCH_ITEMS_REQUEST:function(t){t.status="loading"},SEARCH_ITEMS_SUCCESS:function(t){t.status="successful"},SEARCH_ITEMS_FAILURE:function(t){t.status="failed"}},c={toggle:function(t){t.commit("TOGGLE")},open:function(t,e){t.commit("SET_SECTION",e),t.commit("RESET"),t.commit("TOGGLE")},searchItems:function(t,e){t.commit("SEARCH_ITEMS_REQUEST"),LP.Request({type:"search-items",query:e.query,item_type:e.type,page:e.page,exclude:JSON.stringify([])}).then((function(e){var n=e.body;if(n.success){var i=n.data;t.commit("SET_LIST_ITEMS",i.items),t.commit("UPDATE_PAGINATION",i.pagination),t.commit("SEARCH_ITEMS_SUCCESS")}}),(function(e){t.commit("SEARCH_ITEMS_FAILURE"),console.error(e)}))},addItem:function(t,e){t.commit("ADD_ITEM",e)},removeItem:function(t,e){t.commit("REMOVE_ADDED_ITEM",e)},addItemsToSection:function(t){var e=t.getters.addedItems;e.length>0&&LP.Request({type:"add-items-to-section",section_id:t.getters.section,items:JSON.stringify(e)}).then((function(e){var n=e.body;if(n.success){t.commit("TOGGLE");var i=n.data;t.commit("ss/UPDATE_SECTION_ITEMS",{section_id:t.getters.section,items:i},{root:!0})}}),(function(t){console.error(t)}))}},u=window.jQuery||jQuery,r=function(t){var e=u.extend({},t.chooseItems);return e.sectionId=!1,e.pagination="",e.status="",{namespaced:!0,state:e,getters:o,mutations:s,actions:c}},d=window.jQuery||jQuery,a={toggleAllSections:function(t){t.getters.isHiddenAllSections?t.commit("OPEN_ALL_SECTIONS"):t.commit("CLOSE_ALL_SECTIONS"),LP.Request({type:"hidden-sections",hidden:t.getters.hiddenSections})},updateSectionsOrder:function(t,e){LP.Request({type:"sort-sections",order:JSON.stringify(e)}).then((function(e){var n=e.body.data;t.commit("SORT_SECTION",n)}),(function(t){console.error(t)}))},toggleSection:function(t,e){e.open?t.commit("CLOSE_SECTION",e):t.commit("OPEN_SECTION",e),LP.Request({type:"hidden-sections",hidden:t.getters.hiddenSections})},updateSection:function(t,e){t.commit("UPDATE_SECTION_REQUEST",e.id),LP.Request({type:"update-section",section:JSON.stringify(e)}).then((function(){t.commit("UPDATE_SECTION_SUCCESS",e.id)})).catch((function(){t.commit("UPDATE_SECTION_FAILURE",e.id)}))},removeSection:function(t,e){t.commit("REMOVE_SECTION",e.index),LP.Request({type:"remove-section",section_id:e.section.id}).then((function(t){t.body}),(function(t){console.error(t)}))},newSection:function(t,e){var n={type:"new-section",section_name:e,temp_id:LP.uniqueId()};t.commit("ADD_NEW_SECTION",{id:n.temp_id,items:[],open:!1,title:n.section_name}),LP.Request(n).then((function(e){var n=e.body;if(n.success){var i=d.extend({},n.data,{open:!0});t.commit("ADD_NEW_SECTION",i)}}),(function(t){console.error(t)}))},updateSectionItem:function(t,e){t.commit("UPDATE_SECTION_ITEM_REQUEST",e.item.id),LP.Request({type:"update-section-item",section_id:e.section_id,item:JSON.stringify(e.item)}).then((function(n){t.commit("UPDATE_SECTION_ITEM_SUCCESS",e.item.id);var i=n.body;if(i.success){var o=i.data;t.commit("UPDATE_SECTION_ITEM",{section_id:e.section_id,item:o})}}),(function(n){t.commit("UPDATE_SECTION_ITEM_FAILURE",e.item.id),console.error(n)}))},removeSectionItem:function(t,e){var n=e.item.id;t.commit("REMOVE_SECTION_ITEM",e),e.item.temp_id=0,LP.Request({type:"remove-section-item",section_id:e.section_id,item_id:n}).then((function(){t.commit("REMOVE_SECTION_ITEM",e)}))},deleteSectionItem:function(t,e){var n=e.item.id;t.commit("REMOVE_SECTION_ITEM",e),e.item.temp_id=0,LP.Request({type:"delete-section-item",section_id:e.section_id,item_id:n}).then((function(){t.commit("REMOVE_SECTION_ITEM",e)}))},newSectionItem:function(t,e){t.commit("APPEND_EMPTY_ITEM_TO_SECTION",e),LP.Request({type:"new-section-item",section_id:e.section_id,item:JSON.stringify(e.item)}).then((function(n){var i=n.body;if(i.success){var o={};d.each(i.data,(function(t,e){o[e.old_id?e.old_id:e.id]=e})),t.commit("UPDATE_ITEM_SECTION_BY_ID",{section_id:e.section_id,items:o})}}),(function(t){console.error(t)}))},updateSectionItems:function(t,e){var n=t.state;LP.Request({type:"update-section-items",section_id:e.section_id,items:JSON.stringify(e.items),last_section:n.sections[n.sections.length-1]===e.section_id}).then((function(t){t.body.success}),(function(t){console.error(t)}))}},E={SORT_SECTION:function(t,e){t.sections=t.sections.map((function(t){return t.order=e[t.id],t}))},SET_SECTIONS:function(t,e){t.sections=e},ADD_NEW_SECTION:function(t,e){var n;void 0===e.open&&(e.open=!0),e.temp_id&&t.sections.map((function(t,i){if(e.temp_id==t.id)return n=i,!1})),void 0!==n?$Vue.set(t.sections,n,e):t.sections.push(e)},ADD_EMPTY_SECTION:function(t,e){e.open=!0,t.sections.push(e)},REMOVE_SECTION:function(t,e){t.sections.splice(e,1)},REMOVE_SECTION_ITEM:function(t,e){var n=t.sections.find((function(t){return t.id===e.section_id})).items||[],i=e.item,o=-1;n.forEach((function(t,e){t.id===i.id&&(o=e)})),-1!==o&&(i.temp_id?n[o].id=i.temp_id:n.splice(o,1))},UPDATE_SECTION_ITEMS:function(t,e){var n=t.sections.find((function(t){return parseInt(t.id)===parseInt(e.section_id)}));n&&(n.items=e.items)},UPDATE_SECTION_ITEM:function(t,e){},CLOSE_SECTION:function(t,e){t.sections.forEach((function(n,i){e.id===n.id&&(t.sections[i].open=!1)}))},OPEN_SECTION:function(t,e){t.sections.forEach((function(n,i){e.id===n.id&&(t.sections[i].open=!0)}))},OPEN_ALL_SECTIONS:function(t){t.sections=t.sections.map((function(t){return t.open=!0,t}))},CLOSE_ALL_SECTIONS:function(t){t.sections=t.sections.map((function(t){return t.open=!1,t}))},UPDATE_SECTION_REQUEST:function(t,e){$Vue.set(t.statusUpdateSection,e,"updating")},UPDATE_SECTION_SUCCESS:function(t,e){$Vue.set(t.statusUpdateSection,e,"successful")},UPDATE_SECTION_FAILURE:function(t,e){$Vue.set(t.statusUpdateSection,e,"failed")},UPDATE_SECTION_ITEM_REQUEST:function(t,e){$Vue.set(t.statusUpdateSectionItem,e,"updating")},UPDATE_SECTION_ITEM_SUCCESS:function(t,e){$Vue.set(t.statusUpdateSectionItem,e,"successful")},UPDATE_SECTION_ITEM_FAILURE:function(t,e){$Vue.set(t.statusUpdateSectionItem,e,"failed")},APPEND_EMPTY_ITEM_TO_SECTION:function(t,e){var n=t.sections.find((function(t){return parseInt(t.id)===parseInt(e.section_id)}));n&&n.items.push({id:e.item.id,title:e.item.title,type:"empty-item"})},UPDATE_ITEM_SECTION_BY_ID:function(t,e){var n=t.sections.find((function(t){return parseInt(t.id)===parseInt(e.section_id)}));if(n)for(var i=0;i<n.items.length;i++)try{if(!n.items[i])continue;var o=n.items[i].id;o&&e.items[o]&&$Vue.set(n.items,i,e.items[o])}catch(t){console.log(t)}}},m={sections:function(t){return t.sections||[]},urlEdit:function(t){return t.urlEdit},hiddenSections:function(t){return t.sections.filter((function(t){return!t.open})).map((function(t){return parseInt(t.id)}))},isHiddenAllSections:function(t,e){var n=e.sections;return e.hiddenSections.length===n.length},statusUpdateSection:function(t){return t.statusUpdateSection},statusUpdateSectionItem:function(t){return t.statusUpdateSectionItem}},f=window.jQuery,_=function(t){var e=f.extend({},t.sections);return e.statusUpdateSection={},e.statusUpdateSectionItem={},e.sections=e.sections.map((function(t){var n=e.hidden_sections.find((function(e){return parseInt(t.id)===parseInt(e)}));return t.open=!n,t})),{namespaced:!0,state:e,getters:m,mutations:E,actions:a}},S=n(1),T={heartbeat:function(t){return t.heartbeat},action:function(t){return t.action},id:function(t){return t.course_id},autoDraft:function(t){return t.auto_draft},disable_curriculum:function(t){return t.disable_curriculum},status:function(t){return t.status||"error"},currentRequest:function(t){return t.countCurrentRequest||0},urlAjax:function(t){return t.ajax},nonce:function(t){return t.nonce}},p={UPDATE_HEART_BEAT:function(t,e){t.heartbeat=!!e},UPDATE_AUTO_DRAFT_STATUS:function(t,e){t.auto_draft=e},UPDATE_STATUS:function(t,e){t.status=e},INCREASE_NUMBER_REQUEST:function(t){t.countCurrentRequest++},DECREASE_NUMBER_REQUEST:function(t){t.countCurrentRequest--}},I={heartbeat:function(t){LP.Request({type:"heartbeat"}).then((function(e){var n=e.body;t.commit("UPDATE_HEART_BEAT",!!n.success)}),(function(e){t.commit("UPDATE_HEART_BEAT",!1)}))},draftCourse:function(t,e){t.getters.autoDraft&&LP.Request({type:"draft-course",course:JSON.stringify(e)}).then((function(e){e.body.success&&t.commit("UPDATE_AUTO_DRAFT_STATUS",!1)}))},newRequest:function(t){t.commit("INCREASE_NUMBER_REQUEST"),t.commit("UPDATE_STATUS","loading"),window.onbeforeunload=function(){return""}},requestCompleted:function(t,e){t.commit("DECREASE_NUMBER_REQUEST"),0===t.getters.currentRequest&&(t.commit("UPDATE_STATUS",e),window.onbeforeunload=null)}},l=window.jQuery,O=function(t){var e=l.extend({},t.root);return e.status="success",e.heartbeat=!0,e.countCurrentRequest=0,{state:e,getters:T,mutations:p,actions:I,modules:{ci:r(t),i18n:Object(S.a)(t.i18n),ss:_(t)}}};window.$Vue=window.$Vue||Vue,window.$Vuex=window.$Vuex||Vuex,(0,window.jQuery)(document).ready((function(){window.LP_Curriculum_Store=new $Vuex.Store(O(lpAdminCourseEditorSettings)),Object(i.a)({ns:"LPCurriculumRequest",store:LP_Curriculum_Store}),setTimeout((function(){window.LP_Course_Editor=new $Vue({el:"#admin-editor-lp_course",template:"<lp-course-editor></lp-course-editor>"})}),100)}))}});
1
+ !function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=11)}({0:function(t,e,n){"use strict";function i(t){var e=window.jQuery||jQuery,n=Vue.http;t=e.extend({ns:"LPRequest",store:!1},t||{});var i=null;LP.Request=function(o){return i=e("#publishing-action"),o.id=t.store.getters.id,o.nonce=t.store.getters.nonce,o["lp-ajax"]=t.store.getters.action,o.code=t.store.getters.code,i.find("#publish").addClass("disabled"),i.find(".spinner").addClass("is-active"),i.addClass("code-"+o.code),n.post(t.store.getters.urlAjax,o,{emulateJSON:!0,params:{namespace:t.ns,code:o.code}})},n.interceptors.push((function(e,n){e.params.namespace===t.ns?(t.store.dispatch("newRequest"),n((function(n){jQuery.isPlainObject(n.body)||(n.body=LP.parseJSON(n.body)),n.body.success||!1?t.store.dispatch("requestCompleted","successful"):t.store.dispatch("requestCompleted","failed"),i.removeClass("code-"+e.params.code),i.attr("class")||(i.find("#publish").removeClass("disabled"),i.find(".spinner").removeClass("is-active"))}))):n()}))}n.d(e,"a",(function(){return i}))},1:function(t,e,n){"use strict";var i=window.jQuery||jQuery;e.a=function(t){return{namespaced:!0,state:i.extend({},t),getters:{all:function(t){return t}}}}},11:function(t,e,n){"use strict";n.r(e);var i=n(0),o={status:function(t){return t.status},pagination:function(t){return t.pagination},items:function(t,e){return t.items.map((function(t){var n=e.addedItems.find((function(e){return t.id===e.id}));return t.added=!!n,t}))},addedItems:function(t){return t.addedItems},isOpen:function(t){return t.open},types:function(t){return t.types},section:function(t){return t.sectionId}},s={TOGGLE:function(t){t.open=!t.open},SET_SECTION:function(t,e){t.sectionId=e},SET_LIST_ITEMS:function(t,e){t.items=e},ADD_ITEM:function(t,e){t.addedItems.push(e)},REMOVE_ADDED_ITEM:function(t,e){t.addedItems.forEach((function(n,i){n.id===e.id&&t.addedItems.splice(i,1)}))},RESET:function(t){t.addedItems=[],t.items=[]},UPDATE_PAGINATION:function(t,e){t.pagination=e},SEARCH_ITEMS_REQUEST:function(t){t.status="loading"},SEARCH_ITEMS_SUCCESS:function(t){t.status="successful"},SEARCH_ITEMS_FAILURE:function(t){t.status="failed"}},c={toggle:function(t){t.commit("TOGGLE")},open:function(t,e){t.commit("SET_SECTION",e),t.commit("RESET"),t.commit("TOGGLE")},searchItems:function(t,e){t.commit("SEARCH_ITEMS_REQUEST"),LP.Request({type:"search-items",query:e.query,item_type:e.type,page:e.page,exclude:JSON.stringify([])}).then((function(e){var n=e.body;if(n.success){var i=n.data;t.commit("SET_LIST_ITEMS",i.items),t.commit("UPDATE_PAGINATION",i.pagination),t.commit("SEARCH_ITEMS_SUCCESS")}}),(function(e){t.commit("SEARCH_ITEMS_FAILURE"),console.error(e)}))},addItem:function(t,e){t.commit("ADD_ITEM",e)},removeItem:function(t,e){t.commit("REMOVE_ADDED_ITEM",e)},addItemsToSection:function(t){var e=t.getters.addedItems;e.length>0&&LP.Request({type:"add-items-to-section",section_id:t.getters.section,items:JSON.stringify(e)}).then((function(e){var n=e.body;if(n.success){t.commit("TOGGLE");var i=n.data;t.commit("ss/UPDATE_SECTION_ITEMS",{section_id:t.getters.section,items:i},{root:!0})}}),(function(t){console.error(t)}))}},u=window.jQuery||jQuery,r=function(t){var e=u.extend({},t.chooseItems);return e.sectionId=!1,e.pagination="",e.status="",{namespaced:!0,state:e,getters:o,mutations:s,actions:c}},d=window.jQuery||jQuery,a={toggleAllSections:function(t){t.getters.isHiddenAllSections?t.commit("OPEN_ALL_SECTIONS"):t.commit("CLOSE_ALL_SECTIONS"),LP.Request({type:"hidden-sections",hidden:t.getters.hiddenSections})},updateSectionsOrder:function(t,e){LP.Request({type:"sort-sections",order:JSON.stringify(e)}).then((function(e){var n=e.body.data;t.commit("SORT_SECTION",n)}),(function(t){console.error(t)}))},toggleSection:function(t,e){e.open?t.commit("CLOSE_SECTION",e):t.commit("OPEN_SECTION",e),LP.Request({type:"hidden-sections",hidden:t.getters.hiddenSections})},updateSection:function(t,e){t.commit("UPDATE_SECTION_REQUEST",e.id),LP.Request({type:"update-section",section:JSON.stringify(e)}).then((function(){t.commit("UPDATE_SECTION_SUCCESS",e.id)})).catch((function(){t.commit("UPDATE_SECTION_FAILURE",e.id)}))},removeSection:function(t,e){t.commit("REMOVE_SECTION",e.index),LP.Request({type:"remove-section",section_id:e.section.id}).then((function(t){t.body}),(function(t){console.error(t)}))},newSection:function(t,e){var n={type:"new-section",section_name:e,temp_id:LP.uniqueId()};t.commit("ADD_NEW_SECTION",{id:n.temp_id,items:[],open:!1,title:n.section_name}),LP.Request(n).then((function(e){var n=e.body;if(n.success){var i=d.extend({},n.data,{open:!0});t.commit("ADD_NEW_SECTION",i)}}),(function(t){console.error(t)}))},updateSectionItem:function(t,e){t.commit("UPDATE_SECTION_ITEM_REQUEST",e.item.id),LP.Request({type:"update-section-item",section_id:e.section_id,item:JSON.stringify(e.item)}).then((function(n){t.commit("UPDATE_SECTION_ITEM_SUCCESS",e.item.id);var i=n.body;if(i.success){var o=i.data;t.commit("UPDATE_SECTION_ITEM",{section_id:e.section_id,item:o})}}),(function(n){t.commit("UPDATE_SECTION_ITEM_FAILURE",e.item.id),console.error(n)}))},removeSectionItem:function(t,e){var n=e.item.id;t.commit("REMOVE_SECTION_ITEM",e),e.item.temp_id=0,LP.Request({type:"remove-section-item",section_id:e.section_id,item_id:n}).then((function(i){var o=i.body,s=o.data;o.success||(alert(s),e.oldId=n),t.commit("REMOVE_SECTION_ITEM",e),t.commit("REMOVE_SECTION_ITEM",e)}))},deleteSectionItem:function(t,e){var n=e.item.id;t.commit("REMOVE_SECTION_ITEM",e),e.item.temp_id=0,LP.Request({type:"delete-section-item",section_id:e.section_id,item_id:n}).then((function(i){var o=i.body,s=o.data;o.success||(alert(s),e.oldId=n),t.commit("REMOVE_SECTION_ITEM",e)}))},newSectionItem:function(t,e){t.commit("APPEND_EMPTY_ITEM_TO_SECTION",e),LP.Request({type:"new-section-item",section_id:e.section_id,item:JSON.stringify(e.item)}).then((function(n){var i=n.body;if(i.success){var o={};d.each(i.data,(function(t,e){o[e.old_id?e.old_id:e.id]=e})),t.commit("UPDATE_ITEM_SECTION_BY_ID",{section_id:e.section_id,items:o})}}),(function(t){console.error(t)}))},updateSectionItems:function(t,e){var n=t.state;LP.Request({type:"update-section-items",section_id:e.section_id,items:JSON.stringify(e.items),last_section:n.sections[n.sections.length-1]===e.section_id}).then((function(t){t.body.success}),(function(t){console.error(t)}))}},E={SORT_SECTION:function(t,e){t.sections=t.sections.map((function(t){return t.order=e[t.id],t}))},SET_SECTIONS:function(t,e){t.sections=e},ADD_NEW_SECTION:function(t,e){var n;void 0===e.open&&(e.open=!0),e.temp_id&&t.sections.map((function(t,i){if(e.temp_id==t.id)return n=i,!1})),void 0!==n?$Vue.set(t.sections,n,e):t.sections.push(e)},ADD_EMPTY_SECTION:function(t,e){e.open=!0,t.sections.push(e)},REMOVE_SECTION:function(t,e){t.sections.splice(e,1)},REMOVE_SECTION_ITEM:function(t,e){var n=t.sections.find((function(t){return t.id===e.section_id})).items||[],i=e.item,o=-1;if(n.forEach((function(t,e){t.id===i.id&&(o=e)})),-1!==o){if(void 0!==e.oldId)return void(n[o].id=e.oldId);i.temp_id?n[o].id=i.temp_id:n.splice(o,1)}},UPDATE_SECTION_ITEMS:function(t,e){var n=t.sections.find((function(t){return parseInt(t.id)===parseInt(e.section_id)}));n&&(n.items=e.items)},UPDATE_SECTION_ITEM:function(t,e){},CLOSE_SECTION:function(t,e){t.sections.forEach((function(n,i){e.id===n.id&&(t.sections[i].open=!1)}))},OPEN_SECTION:function(t,e){t.sections.forEach((function(n,i){e.id===n.id&&(t.sections[i].open=!0)}))},OPEN_ALL_SECTIONS:function(t){t.sections=t.sections.map((function(t){return t.open=!0,t}))},CLOSE_ALL_SECTIONS:function(t){t.sections=t.sections.map((function(t){return t.open=!1,t}))},UPDATE_SECTION_REQUEST:function(t,e){$Vue.set(t.statusUpdateSection,e,"updating")},UPDATE_SECTION_SUCCESS:function(t,e){$Vue.set(t.statusUpdateSection,e,"successful")},UPDATE_SECTION_FAILURE:function(t,e){$Vue.set(t.statusUpdateSection,e,"failed")},UPDATE_SECTION_ITEM_REQUEST:function(t,e){$Vue.set(t.statusUpdateSectionItem,e,"updating")},UPDATE_SECTION_ITEM_SUCCESS:function(t,e){$Vue.set(t.statusUpdateSectionItem,e,"successful")},UPDATE_SECTION_ITEM_FAILURE:function(t,e){$Vue.set(t.statusUpdateSectionItem,e,"failed")},APPEND_EMPTY_ITEM_TO_SECTION:function(t,e){var n=t.sections.find((function(t){return parseInt(t.id)===parseInt(e.section_id)}));n&&n.items.push({id:e.item.id,title:e.item.title,type:"empty-item"})},UPDATE_ITEM_SECTION_BY_ID:function(t,e){var n=t.sections.find((function(t){return parseInt(t.id)===parseInt(e.section_id)}));if(n)for(var i=0;i<n.items.length;i++)try{if(!n.items[i])continue;var o=n.items[i].id;o&&e.items[o]&&$Vue.set(n.items,i,e.items[o])}catch(t){console.log(t)}}},m={sections:function(t){return t.sections||[]},urlEdit:function(t){return t.urlEdit},hiddenSections:function(t){return t.sections.filter((function(t){return!t.open})).map((function(t){return parseInt(t.id)}))},isHiddenAllSections:function(t,e){var n=e.sections;return e.hiddenSections.length===n.length},statusUpdateSection:function(t){return t.statusUpdateSection},statusUpdateSectionItem:function(t){return t.statusUpdateSectionItem}},f=window.jQuery,_=function(t){var e=f.extend({},t.sections);return e.statusUpdateSection={},e.statusUpdateSectionItem={},e.sections=e.sections.map((function(t){var n=e.hidden_sections.find((function(e){return parseInt(t.id)===parseInt(e)}));return t.open=!n,t})),{namespaced:!0,state:e,getters:m,mutations:E,actions:a}},S=n(1),T={heartbeat:function(t){return t.heartbeat},action:function(t){return t.action},id:function(t){return t.course_id},autoDraft:function(t){return t.auto_draft},disable_curriculum:function(t){return t.disable_curriculum},status:function(t){return t.status||"error"},currentRequest:function(t){return t.countCurrentRequest||0},urlAjax:function(t){return t.ajax},nonce:function(t){return t.nonce}},p={UPDATE_HEART_BEAT:function(t,e){t.heartbeat=!!e},UPDATE_AUTO_DRAFT_STATUS:function(t,e){t.auto_draft=e},UPDATE_STATUS:function(t,e){t.status=e},INCREASE_NUMBER_REQUEST:function(t){t.countCurrentRequest++},DECREASE_NUMBER_REQUEST:function(t){t.countCurrentRequest--}},I={heartbeat:function(t){LP.Request({type:"heartbeat"}).then((function(e){var n=e.body;t.commit("UPDATE_HEART_BEAT",!!n.success)}),(function(e){t.commit("UPDATE_HEART_BEAT",!1)}))},draftCourse:function(t,e){t.getters.autoDraft&&LP.Request({type:"draft-course",course:JSON.stringify(e)}).then((function(e){e.body.success&&t.commit("UPDATE_AUTO_DRAFT_STATUS",!1)}))},newRequest:function(t){t.commit("INCREASE_NUMBER_REQUEST"),t.commit("UPDATE_STATUS","loading"),window.onbeforeunload=function(){return""}},requestCompleted:function(t,e){t.commit("DECREASE_NUMBER_REQUEST"),0===t.getters.currentRequest&&(t.commit("UPDATE_STATUS",e),window.onbeforeunload=null)}},l=window.jQuery,O=function(t){var e=l.extend({},t.root);return e.status="success",e.heartbeat=!0,e.countCurrentRequest=0,{state:e,getters:T,mutations:p,actions:I,modules:{ci:r(t),i18n:Object(S.a)(t.i18n),ss:_(t)}}};window.$Vue=window.$Vue||Vue,window.$Vuex=window.$Vuex||Vuex,(0,window.jQuery)(document).ready((function(){window.LP_Curriculum_Store=new $Vuex.Store(O(lpAdminCourseEditorSettings)),Object(i.a)({ns:"LPCurriculumRequest",store:LP_Curriculum_Store}),setTimeout((function(){window.LP_Course_Editor=new $Vue({el:"#admin-editor-lp_course",template:"<lp-course-editor></lp-course-editor>"})}),100)}))}});
assets/js/dist/admin/pages/dashboard.js CHANGED
@@ -98,7 +98,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
98
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
99
 
100
  document.addEventListener('DOMContentLoaded', function (event) {
101
- var elements = document.querySelector('ul.lp-order-statuses');
102
 
103
  var getResponse = /*#__PURE__*/function () {
104
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ele) {
98
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
99
 
100
  document.addEventListener('DOMContentLoaded', function (event) {
101
+ var elements = document.querySelector('ul.lp_append_data');
102
 
103
  var getResponse = /*#__PURE__*/function () {
104
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ele) {
assets/js/dist/admin/pages/dashboard.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=8)}({8:function(e,t){function r(e,t,r,n,o,a,u){try{var i=e[a](u),c=i.value}catch(e){return void r(e)}i.done?t(c):Promise.resolve(c).then(n,o)}document.addEventListener("DOMContentLoaded",(function(e){var t=document.querySelector("ul.lp-order-statuses");(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,wp.apiFetch({path:wp.url.addQueryArgs("lp/v1/orders/statistic"),method:"GET"});case 3:"success"===(r=e.sent).status&&r.data?t.innerHTML=r.data:t.innerHTML='<div class="lp-ajax-message error" style="display:block">'.concat(r.message&&r.message,"</div>"),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),t.innerHTML+='<div class="lp-ajax-message error" style="display:block">'.concat(e.t0.message&&e.t0.message,"</div>");case 10:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,n=arguments;return new Promise((function(o,a){var u=e.apply(t,n);function i(e){r(u,o,a,i,c,"next",e)}function c(e){r(u,o,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}})()(t)}))}});
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}({8:function(e,t){function n(e,t,n,r,o,a,u){try{var i=e[a](u),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,o)}document.addEventListener("DOMContentLoaded",(function(e){var t=document.querySelector("ul.lp_append_data");(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,wp.apiFetch({path:wp.url.addQueryArgs("lp/v1/orders/statistic"),method:"GET"});case 3:"success"===(n=e.sent).status&&n.data?t.innerHTML=n.data:t.innerHTML='<div class="lp-ajax-message error" style="display:block">'.concat(n.message&&n.message,"</div>"),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),t.innerHTML+='<div class="lp-ajax-message error" style="display:block">'.concat(e.t0.message&&e.t0.message,"</div>");case 10:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,r=arguments;return new Promise((function(o,a){var u=e.apply(t,r);function i(e){n(u,o,a,i,c,"next",e)}function c(e){n(u,o,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}})()(t)}))}});
assets/js/dist/admin/pages/tools.js CHANGED
@@ -886,7 +886,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
886
 
887
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
888
 
889
- function _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
890
 
891
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
892
 
886
 
887
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
888
 
889
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
890
 
891
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
892
 
assets/js/dist/admin/pages/tools.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}({13:function(e,t,n){"use strict";n.r(t);var r=jQuery,a=null,l={elLPOverlay:null,elMainContent:null,elTitle:null,elBtnYes:null,elBtnNo:null,elFooter:null,elCalledModal:null,callBackYes:null,instance:null,init:function(){return!!this.instance||(this.elLPOverlay=r(".lp-overlay"),!!this.elLPOverlay.length&&(a=this.elLPOverlay,this.elMainContent=a.find(".main-content"),this.elTitle=a.find(".modal-title"),this.elBtnYes=a.find(".btn-yes"),this.elBtnNo=a.find(".btn-no"),this.elFooter=a.find(".lp-modal-footer"),r(document).on("click",".close, .btn-no",(function(){a.hide()})),r(document).on("click",".btn-yes",(function(e){e.preventDefault(),e.stopPropagation(),"function"==typeof l.callBackYes&&l.callBackYes()})),this.instance=this,!0))},setElCalledModal:function(e){this.elCalledModal=e},setContentModal:function(e,t){this.elMainContent.html(e),"function"==typeof t&&t()},setTitleModal:function(e){this.elTitle.html(e)}},o=l,s=function(e,t,n){wp.apiFetch({path:e,method:"POST",data:t}).then((function(e){"function"==typeof n.success&&n.success(e)})).catch((function(e){"function"==typeof n.error&&n.error(e)})).then((function(){"function"==typeof n.completed&&n.completed()}))},i=jQuery,c=i("#lp-tool-upgrade-db"),u=function(){var e=0,t=c.find(".wrapper-terms-upgrade"),n=c.find(".wrapper-lp-status-upgrade"),r=c.find(".wrapper-lp-upgrade-message"),a=null;if(t.length){o.setContentModal(t.html());var l=o.elLPOverlay.find(".terms-upgrade"),u=l.find("input[name=lp-agree-term]"),d=l.find(".error"),p=i("input[name=message-when-upgrading]").val();a=function(){return d.hide(),d.removeClass("learn-press-message"),u.is(":checked")?(s("/lp/v1/database/agree_terms",{agree_terms:1},{}),o.elFooter.find(".learn-press-notice").remove(),o.elFooter.prepend('<span class="learn-press-notice">'+p+"</span>"),o.setContentModal(n.html()),!0):(d.show(),d.addClass("learn-press-message"),o.elMainContent.animate({scrollTop:d.offset().top}),!1)}}else o.setContentModal(n.html()),a=function(){return!0};o.setTitleModal(c.find("h2").html()),o.elBtnYes.text("Upgrade"),o.elBtnYes.show(),o.elBtnNo.text("close"),o.callBackYes=function(){if(a()){e=1,o.elBtnYes.hide(),o.elBtnNo.hide();var t=o.elLPOverlay.find(".lp-group-step"),n=c.find(".lp-item-step"),l=[];i.each(n,(function(e,t){var n=i(t);if(!n.hasClass("completed")){var r=n.find("input").val();l.push(r)}}));var u={steps:l,step:l[0]},d=null,p=function(e,n){(d=t.find("input[value="+e+"]").closest(".lp-item-step")).addClass("running"),100===n&&d.removeClass("running").addClass("completed"),d.find(".progress-bar").css("width",n+"%"),d.find(".percent").text(n+"%")};p(l[0],.1);var f={success:function(n){var a,l;p(u.step,n.percent),u.step!==n.name&&p(n.name,.1),a=u.step,l=(d=t.find("input[value="+a+"]").closest(".lp-item-step")).offset().top-o.elMainContent.offset().top+o.elMainContent.scrollTop(),o.elMainContent.stop().animate({scrollTop:l},600),"success"===n.status?(u.step=n.name,u.data=n.data,setTimeout((function(){s("/lp/v1/database/upgrade",u,f)}),800)):"finished"===n.status?(e=0,d.removeClass("running").addClass("completed"),setTimeout((function(){o.setContentModal(r.html())}),1e3),o.elFooter.find(".learn-press-notice").remove(),o.elBtnNo.show(),o.elBtnNo.on("click",(function(){window.location.reload()}))):(e=0,o.elFooter.find(".learn-press-notice").remove(),d.removeClass("running").addClass("error"),o.setContentModal(r.html(),(function(){o.elBtnYes.text("Retry").show(),o.callBackYes=function(){window.location.href=lpGlobalSettings.siteurl+"/wp-admin/admin.php?page=learn-press-tools&tab=database&action=upgrade-db"},o.elBtnNo.show(),n.message||(n.message="Upgrade not success! Please clear cache, restart sever then retry or contact to LP to help"),o.elMainContent.find(".learn-press-message").addClass("error").html(n.message)})))},error:function(t){e=0,o.setContentModal(r.html(),(function(){o.elBtnYes.text("Retry").show(),o.callBackYes=function(){window.location.location="wp-admin/admin.php?page=learn-press-tools&tab=database&action=upgrade-db"},o.elBtnNo.show(),t.message||(t.message="Upgrade not success! Something wrong. Please clear cache, restart sever then retry or contact to LP to help"),o.elMainContent.find(".learn-press-message").addClass("error").html(t.message)}))},completed:function(){}};s("/lp/v1/database/upgrade",u,f)}},window.onbeforeunload=function(){if(e)return"LP is upgrading Database. Are you want to reload page?"},window.onclose=function(){if(e)return"LP is upgrading Database. Are you want to close page?"}},d=function(){if(c.length&&o.init()){var e=i(".wrapper-lp-status-upgrade"),t=window.location.search,n=new URLSearchParams(t).get("action");"upgrade-db"===n&&(o.elLPOverlay.show(),o.setTitleModal(c.find("h2").html()),o.setContentModal(i(".wrapper-lp-loading").html())),s("/lp/v1/database/get_steps",{},{success:function(t){var r=t.steps_completed,a=t.steps_default;if(void 0===r||void 0===a)return console.log("invalid steps_completed and steps_default"),!1;var l="";for(var s in a){var c=a[s],d=c.steps;for(var p in l='<div class="lp-group-step">',l+="<h3>"+c.label+"</h3>",d){var f=d[p],m="";void 0!==r[p]&&(m="completed"),l+='<div class="lp-item-step '+m+'">',l+='<div class="lp-item-step-left"><input type="hidden" name="lp_steps_upgrade_db[]" value="'+f.name+'" /></div>',l+='<div class="lp-item-step-right">',l+='<label for=""><strong></strong>'+f.label+"</label>",l+='<div class="description">'+f.description+"</div>",l+='<div class="percent"></div>',l+='<span class="progress-bar"></span>',l+="</div>",l+="</div>"}l+="</div>",e.append(l);var h=i(".lp-btn-upgrade-db");"upgrade-db"===n&&u(),h.on("click",(function(){o.elLPOverlay.show(),u()}))}},error:function(e){},completed:function(){}})}},p=function(){var e=document.querySelector("#lp-tool-create-indexes-tables");e&&e.querySelector(".lp-btn-create-indexes").addEventListener("click",(function(t){t.preventDefault();var n=e.querySelector(".wrapper-lp-loading");if(o.init()){o.elLPOverlay.show(),o.setContentModal(n.innerHTML),o.setTitleModal(e.querySelector("h2").textContent),o.elBtnYes[0].style.display="inline-block",o.elBtnYes[0].textContent="Run",o.elBtnNo[0].textContent="Close";var r={success:function(e){e.status,e.message;var t=e.data,n=t.tables,r=t.table,a=document.querySelector(".example-lp-group-step");o.setContentModal(a.innerHTML);var l=o.elLPOverlay[0].querySelector(".lp-group-step "),i=function(e,t){var n=l.querySelector("input[value="+e+"]").closest(".lp-item-step");n.classList.add("running"),100===t&&(n.classList.remove("running"),n.classList.add("completed")),n.querySelector(".progress-bar").style.width=t};for(var c in n){var u=o.elLPOverlay[0].querySelector(".lp-item-step").cloneNode(!0),d=u.querySelector("input");u.querySelector("label").textContent="Table: ".concat(c),d.value=c,l.append(u)}o.callBackYes=function(){var e="/lp/v1/admin/tools/create-indexs",t={tables:n,table:r};o.elBtnNo[0].style.display="none",o.elBtnYes[0].style.display="none",i(r,.1);var a={success:function(n){var r,c,u=n.status,d=n.message,p=n.data,f=p.table,m=p.percent;i(t.table,m),void 0!==f&&(t.table!==f&&(i(f,.1),r=f,c=l.querySelector("input[value="+r+"]").closest(".lp-item-step").offsetTop-o.elMainContent[0].offsetTop+o.elMainContent[0].scrollTop,o.elMainContent.stop().animate({scrollTop:c},600)),t.table=f),"success"===u?setTimeout((function(){s(e,t,a)}),2e3):"finished"===u?(console.log("finished"),o.elBtnNo[0].style.display="inline-block",o.elBtnNo[0].textContent="Finish"):console.log(d)},error:function(e){console.log(e)},completed:function(){}};s(e,t,a)}},error:function(e){},completed:function(){}};s("/lp/v1/admin/tools/list-tables-indexs",{},r)}}))},f=function(){var e=document.querySelector("#lp-tool-re-upgrade-db");if(e){var t="lp/v1/database/check-db-valid-re-upgrade";s(t,{},{success:function(n){if(n.data.can_re_upgrade){e.style.display="block";var r=e.querySelector(".lp-btn-re-upgrade-db"),a=e.querySelector(".learn-press-message");r.addEventListener("click",(function(){confirm("Are you want to Re Upgrade!")&&s(t="lp/v1/database/del-tb-lp-upgrade-db",{},{success:function(e){var t=e.status,n=(e.message,e.data.url);"success"===t&&void 0!==n&&(window.location.href=n)},error:function(e){a.classList.add("error"),a.textContent=e.message,a.style.display="block"}})}))}},error:function(e){}})}},m=function(){var e=document.querySelector("#lp-tool-clean-database");e&&e.querySelector(".lp-btn-clean-db").addEventListener("click",(function(t){t.preventDefault();var n=document.querySelector("#tools-select__id"),r=n.querySelectorAll("ul li input"),a=Array.prototype.slice.call(r).some((function(e){return e.checked})),l=e.querySelector(".tools-prepare__message");if(0==a)return l.style.display="block",void(l.textContent="You must choose at least one table to take this action");l.style.display="none";var i=e.querySelector(".wrapper-lp-loading");if(o.init()){o.elLPOverlay.show(),o.setContentModal(i.innerHTML),o.setTitleModal(e.querySelector("h2").textContent),o.elBtnYes[0].style.display="inline-block",o.elBtnYes[0].textContent="Run",o.elBtnNo[0].textContent="Close";var c=new Array;n.querySelectorAll("ul li input:checked").forEach((function(e){c.push(e.value)}));var u=c[0],d=i.querySelector(".progressbar__item").getAttribute("data-total"),p=document.querySelector(".lp-modal-body .main-content").querySelector(".lp-tool__message");if(d<=0)return o.elBtnYes[0].style.display="none",p.textContent="There is no data that need to be repaired in the chosen tables",void(p.style.display="block");o.callBackYes=function(){if(0!=confirm("The modified data is impossible to be restored. Please backup your website before doing this.")){var e=document.querySelector(".lp-modal-body .main-content"),t=e.querySelector(".lp-tool__message");t.textContent="This action is in processing. Don't close this page",t.style.display="block";var n="/lp/v1/admin/tools/clean-tables",r={tables:u,itemtotal:d};o.elBtnNo[0].style.display="none",o.elBtnYes[0].style.display="none";var a={success:function(t){var l=t.status,i=t.message,c=t.data,u=c.processed,p=c.percent,f=e.querySelector(".progressbar__item"),m=f.querySelector(".progressbar__rows"),h=f.querySelector(".progressbar__percent"),v=f.querySelector(".progressbar__value");if(console.log(l),"success"===l)setTimeout((function(){s(n,r,a)}),2e3),m.textContent=u+" / "+d,h.textContent="( "+p+"% )",v.style.width=p+"%";else if("finished"===l){m.textContent=d+" / "+d,h.textContent="( 100% )";var y=document.querySelector(".lp-modal-body .main-content").querySelector(".lp-tool__message");y.textContent="Process has been completed. Press click the finish button to close this popup",y.style.color="white",y.style.background="green",v.style.width="100%",o.elBtnNo[0].style.display="inline-block",o.elBtnNo[0].textContent="Finish",o.elBtnNo[0].addEventListener("click",(function(){location.reload()}))}else console.log(i)},error:function(e){console.log(e)},completed:function(){}};s(n,r,a)}}}}))};function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=C(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,l=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw l}}}}function v(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t,n,r,a,l,o){try{var s=e[l](o),i=s.value}catch(e){return void n(e)}s.done?t(i):Promise.resolve(i).then(r,a)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var l=e.apply(t,n);function o(e){y(l,r,a,o,s,"next",e)}function s(e){y(l,r,a,o,s,"throw",e)}o(void 0)}))}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,a,l=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return l}(e,t)||C(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=wp.i18n.__,S=wp.components,_=S.TextControl,k=S.Button,B=S.Spinner,R=S.CheckboxControl,E=S.Notice,M=wp.element,T=M.useState,q=M.useEffect,P=wp.url.addQueryArgs,A=function(){var e=b(T(!1),2),t=e[0],n=e[1],r=b(T(""),2),a=r[0],l=r[1],o=b(T([]),2),s=o[0],i=o[1],c=b(T([]),2),u=c[0],d=c[1],p=b(T([]),2),f=p[0],m=p[1],y=b(T(!1),2),C=y[0],w=y[1];q((function(){S(a)}),[a]);var S=function(){var e=g(regeneratorRuntime.mark((function e(r){var a,l,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,r&&!t){e.next=5;break}return m([]),i([]),e.abrupt("return");case 5:if(!(r.length<3)){e.next=9;break}return m([{status:"error",message:"Please enter at least 3 characters to searching course."}]),i([]),e.abrupt("return");case 9:return n(!0),e.next=12,wp.apiFetch({path:P("lp/v1/admin/tools/reset-data/search-courses",{s:r}),method:"GET"});case 12:a=e.sent,l=a.status,o=a.data,n(!1),"success"===l?(i(o),m([])):(m([{status:"error",message:a.message||"LearnPress: Search Course Fail!"}]),i([])),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),console.log(e.t0.message);case 21:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(t){return e.apply(this,arguments)}}();var M=function(){var e=g(regeneratorRuntime.mark((function e(){var t,n,r,a,l,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==u.length){e.next=3;break}return m([{status:"error",message:"Please chooce Course for reset data!"}]),e.abrupt("return");case 3:if(confirm("Are you sure to reset course progress of all users enrolled this course?")){e.next=5;break}return e.abrupt("return");case 5:t=[],e.prev=6,w(!0),n=h(u),e.prev=9,n.s();case 11:if((r=n.n()).done){e.next=20;break}return a=r.value,e.next=15,wp.apiFetch({path:P("lp/v1/admin/tools/reset-data/reset-courses",{courseId:a}),method:"GET"});case 15:l=e.sent,o=l.status,l.data,s=l.message,t.push({status:o,message:s||"Course #".concat(a," reset successfully!")});case 18:e.next=11;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(9),n.e(e.t0);case 25:return e.prev=25,n.f(),e.finish(25);case 28:w(!1),e.next=34;break;case 31:e.prev=31,e.t1=e.catch(6),t.push({status:"error",message:e.t1.message||"LearnPress Error: Reset Course Data."});case 34:m(t);case 35:case"end":return e.stop()}}),e,null,[[6,31],[9,22,25,28]])})));return function(){return e.apply(this,arguments)}}();return React.createElement(React.Fragment,null,React.createElement("h2",null,x("Reset course progress","learnpress")),React.createElement("div",{className:"description"},React.createElement("p",null,x("This action will reset progress of a course for all users have enrolled.","learnpress")),React.createElement("p",null,x("Search results only show course have user data.","learnpress")),React.createElement("div",null,React.createElement(_,{placeholder:x("Search course by name","learnpress"),value:a,onChange:function(e){return l(e)},style:{width:300}}))),t&&React.createElement(B,null),s.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"lp-reset-course_progress",style:{border:"1px solid #eee"}},React.createElement("div",null,React.createElement("div",{style:{background:"#eee"}},React.createElement("div",null,React.createElement(R,{checked:u.length===s.length,onChange:function(){u.length===s.length?d([]):d(s.map((function(e){return e.id})))},style:{margin:0}})),React.createElement("div",null,x("ID","learnpress")),React.createElement("div",null,x("Name","learnpress")),React.createElement("div",null,x("Students","learnpress")))),React.createElement("div",{style:{height:"100%",maxHeight:200,overflow:"auto"}},s.map((function(e){return React.createElement("div",{style:{borderTop:"1px solid #eee"},key:e.id},React.createElement("div",null,React.createElement(R,{checked:u.includes(e.id),onChange:function(){return function(e){var t=v(u);if(t.includes(e)){var n=t.indexOf(e);n>-1&&t.splice(n,1)}else t.push(e);d(t)}(e.id)}})),React.createElement("div",null,"#",e.id),React.createElement("div",null,e.title),React.createElement("div",null,e.students))})))),C?React.createElement(B,null):React.createElement(k,{isPrimary:!0,onClick:function(){return M()},style:{marginTop:10,height:30}},x("Reset now","learnpress"))),f.length>0&&f.map((function(e,t){return React.createElement(E,{status:e.status,key:t,isDismissible:!1},e.message)})),React.createElement("style",null,"\t\t\t\t.lp-reset-course_progress .components-base-control__field {\t\t\t\t\tmargin: 0;\t\t\t\t}\t\t\t\t.components-notice{\t\t\t\t\tmargin-left: 0;\t\t\t\t}\t\t\t\t.lp-reset-course_progress > div > div{\t\t\t\t\tdisplay: grid;\t\t\t\t\tgrid-template-columns: 80px 50px 1fr 80px;\t\t\t\t\talign-items: center;\t\t\t\t}\t\t\t\t.lp-reset-course_progress > div > div > div{\t\t\t\t\tmaegin: 0;\t\t\t\t\tpadding: 8px 10px;\t\t\t\t}\t\t\t\t"))};function L(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var j,N,Y,F,D,I,U,G,H=function(){document.querySelectorAll("#learn-press-reset-course-users").length>0&&wp.element.render(React.createElement(A,null),L(document.querySelectorAll("#learn-press-reset-course-users"))[0])};j=jQuery,N=j(document),Y=!1,F=function(e){e.preventDefault();var t=j(this);Y||confirm(lpGlobalSettings.i18n.confirm_install_sample_data)&&(t.addClass("disabled").html(t.data("installing-text")),j(".lp-install-sample__response").remove(),Y=!0,j.ajax({url:t.attr("href"),data:j(".lp-install-sample__options").serializeJSON(),success:function(e){t.removeClass("disabled").html(t.data("text")),Y=!1,j(e).insertBefore(t.parent())},error:function(){t.removeClass("disabled").html(t.data("text")),Y=!1,j(response).insertBefore(t.parent())}}))},D=function(e){e.preventDefault();var t=j(this);Y||confirm(lpGlobalSettings.i18n.confirm_uninstall_sample_data)&&(t.addClass("disabled").html(t.data("uninstalling-text")),Y=!0,j.ajax({url:t.attr("href"),success:function(e){t.removeClass("disabled").html(t.data("text")),Y=!1,j(e).insertBefore(t.parent())},error:function(){t.removeClass("disabled").html(t.data("text")),Y=!1,j(response).insertBefore(t.parent())}}))},I=function(e){e.preventDefault();var t=j(this);t.hasClass("disabled")||(t.addClass("disabled").html(t.data("cleaning-text")),j.ajax({url:t.attr("href"),data:{},success:function(e){t.removeClass("disabled").html(t.data("text"))},error:function(){t.removeClass("disabled").html(t.data("text"))}}))},U=function(){j.ajax({url:"admin.php?page=lp-toggle-hard-cache-option",data:{v:this.checked?"yes":"no"},success:function(e){},error:function(){}})},G=function(e){e.preventDefault(),j(".lp-install-sample__options").toggleClass("hide-if-js")},j((function(){d(),p(),f(),H(),m(),N.on("click",".lp-install-sample__install",F).on("click",".lp-install-sample__uninstall",D).on("click","#learn-press-clear-cache",I).on("click",'input[name="enable_hard_cache"]',U).on("click",".lp-install-sample__toggle-options",G)}))}});
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}({13:function(e,t,n){"use strict";n.r(t);var r=jQuery,a=null,l={elLPOverlay:null,elMainContent:null,elTitle:null,elBtnYes:null,elBtnNo:null,elFooter:null,elCalledModal:null,callBackYes:null,instance:null,init:function(){return!!this.instance||(this.elLPOverlay=r(".lp-overlay"),!!this.elLPOverlay.length&&(a=this.elLPOverlay,this.elMainContent=a.find(".main-content"),this.elTitle=a.find(".modal-title"),this.elBtnYes=a.find(".btn-yes"),this.elBtnNo=a.find(".btn-no"),this.elFooter=a.find(".lp-modal-footer"),r(document).on("click",".close, .btn-no",(function(){a.hide()})),r(document).on("click",".btn-yes",(function(e){e.preventDefault(),e.stopPropagation(),"function"==typeof l.callBackYes&&l.callBackYes()})),this.instance=this,!0))},setElCalledModal:function(e){this.elCalledModal=e},setContentModal:function(e,t){this.elMainContent.html(e),"function"==typeof t&&t()},setTitleModal:function(e){this.elTitle.html(e)}},o=l,s=function(e,t,n){wp.apiFetch({path:e,method:"POST",data:t}).then((function(e){"function"==typeof n.success&&n.success(e)})).catch((function(e){"function"==typeof n.error&&n.error(e)})).then((function(){"function"==typeof n.completed&&n.completed()}))},i=jQuery,c=i("#lp-tool-upgrade-db"),u=function(){var e=0,t=c.find(".wrapper-terms-upgrade"),n=c.find(".wrapper-lp-status-upgrade"),r=c.find(".wrapper-lp-upgrade-message"),a=null;if(t.length){o.setContentModal(t.html());var l=o.elLPOverlay.find(".terms-upgrade"),u=l.find("input[name=lp-agree-term]"),d=l.find(".error"),p=i("input[name=message-when-upgrading]").val();a=function(){return d.hide(),d.removeClass("learn-press-message"),u.is(":checked")?(s("/lp/v1/database/agree_terms",{agree_terms:1},{}),o.elFooter.find(".learn-press-notice").remove(),o.elFooter.prepend('<span class="learn-press-notice">'+p+"</span>"),o.setContentModal(n.html()),!0):(d.show(),d.addClass("learn-press-message"),o.elMainContent.animate({scrollTop:d.offset().top}),!1)}}else o.setContentModal(n.html()),a=function(){return!0};o.setTitleModal(c.find("h2").html()),o.elBtnYes.text("Upgrade"),o.elBtnYes.show(),o.elBtnNo.text("close"),o.callBackYes=function(){if(a()){e=1,o.elBtnYes.hide(),o.elBtnNo.hide();var t=o.elLPOverlay.find(".lp-group-step"),n=c.find(".lp-item-step"),l=[];i.each(n,(function(e,t){var n=i(t);if(!n.hasClass("completed")){var r=n.find("input").val();l.push(r)}}));var u={steps:l,step:l[0]},d=null,p=function(e,n){(d=t.find("input[value="+e+"]").closest(".lp-item-step")).addClass("running"),100===n&&d.removeClass("running").addClass("completed"),d.find(".progress-bar").css("width",n+"%"),d.find(".percent").text(n+"%")};p(l[0],.1);var f={success:function(n){var a,l;p(u.step,n.percent),u.step!==n.name&&p(n.name,.1),a=u.step,l=(d=t.find("input[value="+a+"]").closest(".lp-item-step")).offset().top-o.elMainContent.offset().top+o.elMainContent.scrollTop(),o.elMainContent.stop().animate({scrollTop:l},600),"success"===n.status?(u.step=n.name,u.data=n.data,setTimeout((function(){s("/lp/v1/database/upgrade",u,f)}),800)):"finished"===n.status?(e=0,d.removeClass("running").addClass("completed"),setTimeout((function(){o.setContentModal(r.html())}),1e3),o.elFooter.find(".learn-press-notice").remove(),o.elBtnNo.show(),o.elBtnNo.on("click",(function(){window.location.reload()}))):(e=0,o.elFooter.find(".learn-press-notice").remove(),d.removeClass("running").addClass("error"),o.setContentModal(r.html(),(function(){o.elBtnYes.text("Retry").show(),o.callBackYes=function(){window.location.href=lpGlobalSettings.siteurl+"/wp-admin/admin.php?page=learn-press-tools&tab=database&action=upgrade-db"},o.elBtnNo.show(),n.message||(n.message="Upgrade not success! Please clear cache, restart sever then retry or contact to LP to help"),o.elMainContent.find(".learn-press-message").addClass("error").html(n.message)})))},error:function(t){e=0,o.setContentModal(r.html(),(function(){o.elBtnYes.text("Retry").show(),o.callBackYes=function(){window.location.location="wp-admin/admin.php?page=learn-press-tools&tab=database&action=upgrade-db"},o.elBtnNo.show(),t.message||(t.message="Upgrade not success! Something wrong. Please clear cache, restart sever then retry or contact to LP to help"),o.elMainContent.find(".learn-press-message").addClass("error").html(t.message)}))},completed:function(){}};s("/lp/v1/database/upgrade",u,f)}},window.onbeforeunload=function(){if(e)return"LP is upgrading Database. Are you want to reload page?"},window.onclose=function(){if(e)return"LP is upgrading Database. Are you want to close page?"}},d=function(){if(c.length&&o.init()){var e=i(".wrapper-lp-status-upgrade"),t=window.location.search,n=new URLSearchParams(t).get("action");"upgrade-db"===n&&(o.elLPOverlay.show(),o.setTitleModal(c.find("h2").html()),o.setContentModal(i(".wrapper-lp-loading").html())),s("/lp/v1/database/get_steps",{},{success:function(t){var r=t.steps_completed,a=t.steps_default;if(void 0===r||void 0===a)return console.log("invalid steps_completed and steps_default"),!1;var l="";for(var s in a){var c=a[s],d=c.steps;for(var p in l='<div class="lp-group-step">',l+="<h3>"+c.label+"</h3>",d){var f=d[p],m="";void 0!==r[p]&&(m="completed"),l+='<div class="lp-item-step '+m+'">',l+='<div class="lp-item-step-left"><input type="hidden" name="lp_steps_upgrade_db[]" value="'+f.name+'" /></div>',l+='<div class="lp-item-step-right">',l+='<label for=""><strong></strong>'+f.label+"</label>",l+='<div class="description">'+f.description+"</div>",l+='<div class="percent"></div>',l+='<span class="progress-bar"></span>',l+="</div>",l+="</div>"}l+="</div>",e.append(l);var h=i(".lp-btn-upgrade-db");"upgrade-db"===n&&u(),h.on("click",(function(){o.elLPOverlay.show(),u()}))}},error:function(e){},completed:function(){}})}},p=function(){var e=document.querySelector("#lp-tool-create-indexes-tables");e&&e.querySelector(".lp-btn-create-indexes").addEventListener("click",(function(t){t.preventDefault();var n=e.querySelector(".wrapper-lp-loading");if(o.init()){o.elLPOverlay.show(),o.setContentModal(n.innerHTML),o.setTitleModal(e.querySelector("h2").textContent),o.elBtnYes[0].style.display="inline-block",o.elBtnYes[0].textContent="Run",o.elBtnNo[0].textContent="Close";var r={success:function(e){e.status,e.message;var t=e.data,n=t.tables,r=t.table,a=document.querySelector(".example-lp-group-step");o.setContentModal(a.innerHTML);var l=o.elLPOverlay[0].querySelector(".lp-group-step "),i=function(e,t){var n=l.querySelector("input[value="+e+"]").closest(".lp-item-step");n.classList.add("running"),100===t&&(n.classList.remove("running"),n.classList.add("completed")),n.querySelector(".progress-bar").style.width=t};for(var c in n){var u=o.elLPOverlay[0].querySelector(".lp-item-step").cloneNode(!0),d=u.querySelector("input");u.querySelector("label").textContent="Table: ".concat(c),d.value=c,l.append(u)}o.callBackYes=function(){var e="/lp/v1/admin/tools/create-indexs",t={tables:n,table:r};o.elBtnNo[0].style.display="none",o.elBtnYes[0].style.display="none",i(r,.1);var a={success:function(n){var r,c,u=n.status,d=n.message,p=n.data,f=p.table,m=p.percent;i(t.table,m),void 0!==f&&(t.table!==f&&(i(f,.1),r=f,c=l.querySelector("input[value="+r+"]").closest(".lp-item-step").offsetTop-o.elMainContent[0].offsetTop+o.elMainContent[0].scrollTop,o.elMainContent.stop().animate({scrollTop:c},600)),t.table=f),"success"===u?setTimeout((function(){s(e,t,a)}),2e3):"finished"===u?(console.log("finished"),o.elBtnNo[0].style.display="inline-block",o.elBtnNo[0].textContent="Finish"):console.log(d)},error:function(e){console.log(e)},completed:function(){}};s(e,t,a)}},error:function(e){},completed:function(){}};s("/lp/v1/admin/tools/list-tables-indexs",{},r)}}))},f=function(){var e=document.querySelector("#lp-tool-re-upgrade-db");if(e){var t="lp/v1/database/check-db-valid-re-upgrade";s(t,{},{success:function(n){if(n.data.can_re_upgrade){e.style.display="block";var r=e.querySelector(".lp-btn-re-upgrade-db"),a=e.querySelector(".learn-press-message");r.addEventListener("click",(function(){confirm("Are you want to Re Upgrade!")&&s(t="lp/v1/database/del-tb-lp-upgrade-db",{},{success:function(e){var t=e.status,n=(e.message,e.data.url);"success"===t&&void 0!==n&&(window.location.href=n)},error:function(e){a.classList.add("error"),a.textContent=e.message,a.style.display="block"}})}))}},error:function(e){}})}},m=function(){var e=document.querySelector("#lp-tool-clean-database");e&&e.querySelector(".lp-btn-clean-db").addEventListener("click",(function(t){t.preventDefault();var n=document.querySelector("#tools-select__id"),r=n.querySelectorAll("ul li input"),a=Array.prototype.slice.call(r).some((function(e){return e.checked})),l=e.querySelector(".tools-prepare__message");if(0==a)return l.style.display="block",void(l.textContent="You must choose at least one table to take this action");l.style.display="none";var i=e.querySelector(".wrapper-lp-loading");if(o.init()){o.elLPOverlay.show(),o.setContentModal(i.innerHTML),o.setTitleModal(e.querySelector("h2").textContent),o.elBtnYes[0].style.display="inline-block",o.elBtnYes[0].textContent="Run",o.elBtnNo[0].textContent="Close";var c=new Array;n.querySelectorAll("ul li input:checked").forEach((function(e){c.push(e.value)}));var u=c[0],d=i.querySelector(".progressbar__item").getAttribute("data-total"),p=document.querySelector(".lp-modal-body .main-content").querySelector(".lp-tool__message");if(d<=0)return o.elBtnYes[0].style.display="none",p.textContent="There is no data that need to be repaired in the chosen tables",void(p.style.display="block");o.callBackYes=function(){if(0!=confirm("The modified data is impossible to be restored. Please backup your website before doing this.")){var e=document.querySelector(".lp-modal-body .main-content"),t=e.querySelector(".lp-tool__message");t.textContent="This action is in processing. Don't close this page",t.style.display="block";var n="/lp/v1/admin/tools/clean-tables",r={tables:u,itemtotal:d};o.elBtnNo[0].style.display="none",o.elBtnYes[0].style.display="none";var a={success:function(t){var l=t.status,i=t.message,c=t.data,u=c.processed,p=c.percent,f=e.querySelector(".progressbar__item"),m=f.querySelector(".progressbar__rows"),h=f.querySelector(".progressbar__percent"),v=f.querySelector(".progressbar__value");if(console.log(l),"success"===l)setTimeout((function(){s(n,r,a)}),2e3),m.textContent=u+" / "+d,h.textContent="( "+p+"% )",v.style.width=p+"%";else if("finished"===l){m.textContent=d+" / "+d,h.textContent="( 100% )";var y=document.querySelector(".lp-modal-body .main-content").querySelector(".lp-tool__message");y.textContent="Process has been completed. Press click the finish button to close this popup",y.style.color="white",y.style.background="green",v.style.width="100%",o.elBtnNo[0].style.display="inline-block",o.elBtnNo[0].textContent="Finish",o.elBtnNo[0].addEventListener("click",(function(){location.reload()}))}else console.log(i)},error:function(e){console.log(e)},completed:function(){}};s(n,r,a)}}}}))};function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=C(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,l=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw l}}}}function v(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t,n,r,a,l,o){try{var s=e[l](o),i=s.value}catch(e){return void n(e)}s.done?t(i):Promise.resolve(i).then(r,a)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var l=e.apply(t,n);function o(e){y(l,r,a,o,s,"next",e)}function s(e){y(l,r,a,o,s,"throw",e)}o(void 0)}))}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,l=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return l}(e,t)||C(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=wp.i18n.__,S=wp.components,_=S.TextControl,k=S.Button,B=S.Spinner,R=S.CheckboxControl,E=S.Notice,M=wp.element,T=M.useState,q=M.useEffect,P=wp.url.addQueryArgs,A=function(){var e=b(T(!1),2),t=e[0],n=e[1],r=b(T(""),2),a=r[0],l=r[1],o=b(T([]),2),s=o[0],i=o[1],c=b(T([]),2),u=c[0],d=c[1],p=b(T([]),2),f=p[0],m=p[1],y=b(T(!1),2),C=y[0],w=y[1];q((function(){S(a)}),[a]);var S=function(){var e=g(regeneratorRuntime.mark((function e(r){var a,l,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,r&&!t){e.next=5;break}return m([]),i([]),e.abrupt("return");case 5:if(!(r.length<3)){e.next=9;break}return m([{status:"error",message:"Please enter at least 3 characters to searching course."}]),i([]),e.abrupt("return");case 9:return n(!0),e.next=12,wp.apiFetch({path:P("lp/v1/admin/tools/reset-data/search-courses",{s:r}),method:"GET"});case 12:a=e.sent,l=a.status,o=a.data,n(!1),"success"===l?(i(o),m([])):(m([{status:"error",message:a.message||"LearnPress: Search Course Fail!"}]),i([])),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),console.log(e.t0.message);case 21:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(t){return e.apply(this,arguments)}}();var M=function(){var e=g(regeneratorRuntime.mark((function e(){var t,n,r,a,l,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==u.length){e.next=3;break}return m([{status:"error",message:"Please chooce Course for reset data!"}]),e.abrupt("return");case 3:if(confirm("Are you sure to reset course progress of all users enrolled this course?")){e.next=5;break}return e.abrupt("return");case 5:t=[],e.prev=6,w(!0),n=h(u),e.prev=9,n.s();case 11:if((r=n.n()).done){e.next=20;break}return a=r.value,e.next=15,wp.apiFetch({path:P("lp/v1/admin/tools/reset-data/reset-courses",{courseId:a}),method:"GET"});case 15:l=e.sent,o=l.status,l.data,s=l.message,t.push({status:o,message:s||"Course #".concat(a," reset successfully!")});case 18:e.next=11;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(9),n.e(e.t0);case 25:return e.prev=25,n.f(),e.finish(25);case 28:w(!1),e.next=34;break;case 31:e.prev=31,e.t1=e.catch(6),t.push({status:"error",message:e.t1.message||"LearnPress Error: Reset Course Data."});case 34:m(t);case 35:case"end":return e.stop()}}),e,null,[[6,31],[9,22,25,28]])})));return function(){return e.apply(this,arguments)}}();return React.createElement(React.Fragment,null,React.createElement("h2",null,x("Reset course progress","learnpress")),React.createElement("div",{className:"description"},React.createElement("p",null,x("This action will reset progress of a course for all users have enrolled.","learnpress")),React.createElement("p",null,x("Search results only show course have user data.","learnpress")),React.createElement("div",null,React.createElement(_,{placeholder:x("Search course by name","learnpress"),value:a,onChange:function(e){return l(e)},style:{width:300}}))),t&&React.createElement(B,null),s.length>0&&React.createElement(React.Fragment,null,React.createElement("div",{className:"lp-reset-course_progress",style:{border:"1px solid #eee"}},React.createElement("div",null,React.createElement("div",{style:{background:"#eee"}},React.createElement("div",null,React.createElement(R,{checked:u.length===s.length,onChange:function(){u.length===s.length?d([]):d(s.map((function(e){return e.id})))},style:{margin:0}})),React.createElement("div",null,x("ID","learnpress")),React.createElement("div",null,x("Name","learnpress")),React.createElement("div",null,x("Students","learnpress")))),React.createElement("div",{style:{height:"100%",maxHeight:200,overflow:"auto"}},s.map((function(e){return React.createElement("div",{style:{borderTop:"1px solid #eee"},key:e.id},React.createElement("div",null,React.createElement(R,{checked:u.includes(e.id),onChange:function(){return function(e){var t=v(u);if(t.includes(e)){var n=t.indexOf(e);n>-1&&t.splice(n,1)}else t.push(e);d(t)}(e.id)}})),React.createElement("div",null,"#",e.id),React.createElement("div",null,e.title),React.createElement("div",null,e.students))})))),C?React.createElement(B,null):React.createElement(k,{isPrimary:!0,onClick:function(){return M()},style:{marginTop:10,height:30}},x("Reset now","learnpress"))),f.length>0&&f.map((function(e,t){return React.createElement(E,{status:e.status,key:t,isDismissible:!1},e.message)})),React.createElement("style",null,"\t\t\t\t.lp-reset-course_progress .components-base-control__field {\t\t\t\t\tmargin: 0;\t\t\t\t}\t\t\t\t.components-notice{\t\t\t\t\tmargin-left: 0;\t\t\t\t}\t\t\t\t.lp-reset-course_progress > div > div{\t\t\t\t\tdisplay: grid;\t\t\t\t\tgrid-template-columns: 80px 50px 1fr 80px;\t\t\t\t\talign-items: center;\t\t\t\t}\t\t\t\t.lp-reset-course_progress > div > div > div{\t\t\t\t\tmaegin: 0;\t\t\t\t\tpadding: 8px 10px;\t\t\t\t}\t\t\t\t"))};function L(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var j,N,Y,F,D,I,U,G,H=function(){document.querySelectorAll("#learn-press-reset-course-users").length>0&&wp.element.render(React.createElement(A,null),L(document.querySelectorAll("#learn-press-reset-course-users"))[0])};j=jQuery,N=j(document),Y=!1,F=function(e){e.preventDefault();var t=j(this);Y||confirm(lpGlobalSettings.i18n.confirm_install_sample_data)&&(t.addClass("disabled").html(t.data("installing-text")),j(".lp-install-sample__response").remove(),Y=!0,j.ajax({url:t.attr("href"),data:j(".lp-install-sample__options").serializeJSON(),success:function(e){t.removeClass("disabled").html(t.data("text")),Y=!1,j(e).insertBefore(t.parent())},error:function(){t.removeClass("disabled").html(t.data("text")),Y=!1,j(response).insertBefore(t.parent())}}))},D=function(e){e.preventDefault();var t=j(this);Y||confirm(lpGlobalSettings.i18n.confirm_uninstall_sample_data)&&(t.addClass("disabled").html(t.data("uninstalling-text")),Y=!0,j.ajax({url:t.attr("href"),success:function(e){t.removeClass("disabled").html(t.data("text")),Y=!1,j(e).insertBefore(t.parent())},error:function(){t.removeClass("disabled").html(t.data("text")),Y=!1,j(response).insertBefore(t.parent())}}))},I=function(e){e.preventDefault();var t=j(this);t.hasClass("disabled")||(t.addClass("disabled").html(t.data("cleaning-text")),j.ajax({url:t.attr("href"),data:{},success:function(e){t.removeClass("disabled").html(t.data("text"))},error:function(){t.removeClass("disabled").html(t.data("text"))}}))},U=function(){j.ajax({url:"admin.php?page=lp-toggle-hard-cache-option",data:{v:this.checked?"yes":"no"},success:function(e){},error:function(){}})},G=function(e){e.preventDefault(),j(".lp-install-sample__options").toggleClass("hide-if-js")},j((function(){d(),p(),f(),H(),m(),N.on("click",".lp-install-sample__install",F).on("click",".lp-install-sample__uninstall",D).on("click","#learn-press-clear-cache",I).on("click",'input[name="enable_hard_cache"]',U).on("click",".lp-install-sample__toggle-options",G)}))}});
assets/js/dist/frontend/question-types.js CHANGED
@@ -174,7 +174,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
174
 
175
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
176
 
177
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
178
 
179
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
180
 
@@ -481,7 +481,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
481
 
482
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
483
 
484
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
485
 
486
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
487
 
@@ -512,14 +512,15 @@ var QuestionFillInBlanks = /*#__PURE__*/function (_QuestionBase) {
512
 
513
  _defineProperty(_assertThisInitialized(_this), "updateFibAnswer", function () {
514
  var allFIBs = document.querySelectorAll('.lp-fib-input > input');
515
- var answered = {};
 
516
 
517
  _toConsumableArray(allFIBs).map(function (ele) {
518
  ele.addEventListener('input', function (e) {
519
- _this.setAnswered(answered, ele.dataset.id, e.target.value);
520
  });
521
  ele.addEventListener('paste', function (e) {
522
- _this.setAnswered(answered, ele.dataset.id, e.target.value);
523
  });
524
  });
525
  });
@@ -571,12 +572,57 @@ var QuestionFillInBlanks = /*#__PURE__*/function (_QuestionBase) {
571
  }), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Incorrect', 'learnpress')));
572
  });
573
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
574
  return _this;
575
  }
576
 
577
  _createClass(QuestionFillInBlanks, [{
578
  key: "componentDidMount",
579
  value: function componentDidMount() {
 
 
 
 
 
 
 
 
 
 
 
 
580
  this.updateFibAnswer();
581
  }
582
  }, {
@@ -589,13 +635,15 @@ var QuestionFillInBlanks = /*#__PURE__*/function (_QuestionBase) {
589
  }, {
590
  key: "render",
591
  value: function render() {
 
 
592
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
593
  className: "lp-fib-content"
594
  }, this.getOptions().map(function (option) {
595
  return /*#__PURE__*/React.createElement("div", {
596
  key: "blank-".concat(option.uid),
597
  dangerouslySetInnerHTML: {
598
- __html: option.title || option.value
599
  }
600
  });
601
  })), !this.isDefaultType() && this.getWarningMessage(), this.getCorrectLabel());
@@ -645,7 +693,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
645
 
646
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
647
 
648
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
649
 
650
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
651
 
@@ -765,7 +813,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
765
 
766
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
767
 
768
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
769
 
770
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
771
 
@@ -858,7 +906,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
858
 
859
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
860
 
861
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
862
 
863
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
864
 
@@ -964,7 +1012,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
964
 
965
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
966
 
967
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
968
 
969
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
970
 
174
 
175
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
176
 
177
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
178
 
179
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
180
 
481
 
482
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
483
 
484
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
485
 
486
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
487
 
512
 
513
  _defineProperty(_assertThisInitialized(_this), "updateFibAnswer", function () {
514
  var allFIBs = document.querySelectorAll('.lp-fib-input > input');
515
+ var answered = _this.props.answered;
516
+ var answereds = answered || {};
517
 
518
  _toConsumableArray(allFIBs).map(function (ele) {
519
  ele.addEventListener('input', function (e) {
520
+ _this.setAnswered(answereds, ele.dataset.id, e.target.value);
521
  });
522
  ele.addEventListener('paste', function (e) {
523
+ _this.setAnswered(answereds, ele.dataset.id, e.target.value);
524
  });
525
  });
526
  });
572
  }), Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Incorrect', 'learnpress')));
573
  });
574
 
575
+ _defineProperty(_assertThisInitialized(_this), "convertInputField", function (option) {
576
+ var title = option.title;
577
+ var answers = option === null || option === void 0 ? void 0 : option.answers;
578
+ option.ids.map(function (id, index) {
579
+ var textReplace = '{{FIB_' + id + '}}';
580
+ var elContent = '';
581
+ var answerID = answers ? answers === null || answers === void 0 ? void 0 : answers[id] : undefined;
582
+
583
+ if (answerID) {
584
+ var _answerID$correct;
585
+
586
+ // If is answered,
587
+ elContent += "<span class=\"lp-fib-answered ".concat(answerID !== null && answerID !== void 0 && answerID.isCorrect ? 'correct' : 'fail', "\">");
588
+
589
+ if (!(answerID !== null && answerID !== void 0 && answerID.isCorrect)) {
590
+ var _answerID$answer;
591
+
592
+ elContent += "<span class=\"lp-fib-answered__answer\">".concat((_answerID$answer = answerID === null || answerID === void 0 ? void 0 : answerID.answer) !== null && _answerID$answer !== void 0 ? _answerID$answer : '', "</span> \u2192 ");
593
+ }
594
+
595
+ elContent += "<span class=\"lp-fib-answered__fill\">".concat((_answerID$correct = answerID === null || answerID === void 0 ? void 0 : answerID.correct) !== null && _answerID$correct !== void 0 ? _answerID$correct : '', "</span>");
596
+ elContent += '</span>';
597
+ } else {
598
+ elContent += '<div class="lp-fib-input" style="display: inline-block; width: auto;">';
599
+ elContent += '<input type="text" data-id="' + id + '" value="" />';
600
+ elContent += '</div>';
601
+ }
602
+
603
+ title = title.replace(textReplace, elContent);
604
+ });
605
+ return title;
606
+ });
607
+
608
  return _this;
609
  }
610
 
611
  _createClass(QuestionFillInBlanks, [{
612
  key: "componentDidMount",
613
  value: function componentDidMount() {
614
+ var answered = this.props.answered;
615
+
616
+ if (answered) {
617
+ var allFIBs = document.querySelectorAll('.lp-fib-input > input');
618
+
619
+ _toConsumableArray(allFIBs).map(function (ele) {
620
+ if (answered[ele.dataset.id]) {
621
+ ele.value = answered[ele.dataset.id];
622
+ }
623
+ });
624
+ }
625
+
626
  this.updateFibAnswer();
627
  }
628
  }, {
635
  }, {
636
  key: "render",
637
  value: function render() {
638
+ var _this2 = this;
639
+
640
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
641
  className: "lp-fib-content"
642
  }, this.getOptions().map(function (option) {
643
  return /*#__PURE__*/React.createElement("div", {
644
  key: "blank-".concat(option.uid),
645
  dangerouslySetInnerHTML: {
646
+ __html: _this2.convertInputField(option) || option.value
647
  }
648
  });
649
  })), !this.isDefaultType() && this.getWarningMessage(), this.getCorrectLabel());
693
 
694
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
695
 
696
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
697
 
698
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
699
 
813
 
814
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
815
 
816
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
817
 
818
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
819
 
906
 
907
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
908
 
909
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
910
 
911
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
912
 
1012
 
1013
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1014
 
1015
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1016
 
1017
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1018
 
assets/js/dist/frontend/question-types.min.js CHANGED
@@ -1 +1 @@
1
- this.LP=this.LP||{},this.LP.questionTypes=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=22)}({0:function(e,t){e.exports=window.wp.i18n},1:function(e,t){e.exports=window.wp.data},22:function(e,t,r){"use strict";r.r(t),r.d(t,"QuestionBase",(function(){return v})),r.d(t,"SingleChoice",(function(){return E})),r.d(t,"MultipleChoices",(function(){return U})),r.d(t,"TrueOrFalse",(function(){return Y})),r.d(t,"FillInBlanks",(function(){return fe}));var n=r(3),o=r(4),i=r(1),u=r(0);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=b(e);if(t){var o=b(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=lodash,m=h.isArray,v=(h.get,h.set,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(c,e);var t,r,n,o=l(c);function c(e){var t;a(this,c),d(y(t=o.apply(this,arguments)),"prepare",(function(e,t){var r=e.question;return r&&r.id!==t.questionId?{options:t.self.parseOptions(r.options)}:null})),d(y(t),"setInputRef",(function(e,r){t.inputs||(t.inputs={}),t.inputs[r]=e})),d(y(t),"maybeShowCorrectAnswer",(function(){var e=t.props,r=e.status,n=e.isCheckedAnswer,o=e.showCorrectReview,i=e.isReviewing;return"completed"===r&&o||n&&!i})),d(y(t),"maybeDisabledOption",(function(e){var r=t.props,n=(r.answered,r.status);return r.isCheckedAnswer||"started"!==n})),d(y(t),"setAnswerChecked",(function(){return function(e){var r=t.props,n=r.updateUserQuestionAnswers,o=r.question;if("started"!==r.status)return Object(u.__)("LP Error: can not set answers","learnpress");var i=t.$wrap.find(".option-check"),c=[],a="multi_choice"!==o.type;i.each((function(e,t){if(t.checked&&(c.push(t.value),a))return!1})),n(o.id,a?c[0]:c)}})),d(y(t),"maybeCheckedAnswer",(function(e){var r=t.props.answered;return m(r)?!!r.find((function(t){return t==e})):e==r})),d(y(t),"getOptionType",(function(e,t){var r="radio";switch(e){case"multi_choice":r="checkbox"}return r})),d(y(t),"isDefaultType",(function(){return t.props.supportOptions})),d(y(t),"getWarningMessage",(function(){return React.createElement(React.Fragment,null,Object(u.__)("Render function should be overwritten from base.","learnpress"))})),d(y(t),"getOptionClass",(function(e){t.props.answered;return["answer-option"]})),d(y(t),"parseOptions",(function(e){return e&&(e=m(e)?e:JSON.parse(CryptoJS.AES.decrypt(e.data,e.key,{format:CryptoJSAesJson}).toString(CryptoJS.enc.Utf8)),e=m(e)?e:JSON.parse(e)),e||[]})),d(y(t),"getOptions",(function(){return t.state.options||[]})),d(y(t),"isCorrect",(function(){var e,r,n,o=t.props.answered;if(!o)return!1;for(e=0,n=t.getOptions();e<n.length;e++)if("yes"===(r=n[e]).isTrue&&o==r.value)return!0;return!1})),d(y(t),"isChecked",(function(){var e=t.props.question;return Object(i.select)("learnpress/quiz").isCheckedAnswer(e.id)})),d(y(t),"getCorrectLabel",(function(){var e=t.props,r=(e.status,e.answered,e.question),n=(LP.config.isQuestionCorrect[r.type]||t.isCorrect).call(y(t));return t.maybeShowCorrectAnswer()&&React.createElement("div",{className:"question-response"+(n?" correct":" incorrect")},React.createElement("span",{className:"label"},n?Object(u.__)("Correct","learnpress"):Object(u.__)("Incorrect","learnpress")),React.createElement("span",{className:"point"},sprintf(Object(u.__)("%d/%d point","learnpress"),n?r.point:0,r.point)))}));var r=e.question;return t.state={optionClass:["answer-option"],questionId:0,options:r?t.parseOptions(r.options):[],self:y(t)},e.$wrap&&(t.$wrap=e.$wrap),t}return t=c,n=[{key:"getDerivedStateFromProps",value:function(e,t){return t.self.prepare(e,t)}}],(r=[{key:"componentDidMount",value:function(){var e=this.prepare(this.props,this.state);e&&this.setState(e)}},{key:"render",value:function(){var e=this,t=this.props,r=t.question,n=t.status;return React.createElement("div",{className:"question-answers"},this.isDefaultType()&&React.createElement("ul",{id:"answer-options-".concat(r.id),className:"answer-options"},this.getOptions().map((function(t){var o="learn-press-answer-option-".concat(t.uid);return React.createElement("li",{className:e.getOptionClass(t).join(" "),key:"answer-option-".concat(t.uid)},React.createElement("input",{type:e.getOptionType(r.type,t),className:"option-check",name:"started"===n?"learn-press-question-".concat(r.id):"",id:o,ref:function(r){e.setInputRef(r,t.value)},onChange:e.setAnswerChecked(),disabled:e.maybeDisabledOption(t),checked:e.maybeCheckedAnswer(t.value),value:"started"===n?t.value:""}),React.createElement("label",{htmlFor:o,className:"option-title",dangerouslySetInnerHTML:{__html:t.title||t.value}}))}))),!this.isDefaultType()&&this.getWarningMessage(),this.getCorrectLabel())}}])&&s(t.prototype,r),n&&s(t,n),c}(n.Component));function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=A(e);if(t){var o=A(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return R(this,r)}}function R(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(r,e);var t=S(r);function r(){var e;j(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return C(P(e=t.call.apply(t,[this].concat(o))),"getOptionClass",(function(t){var r=e.props.answered,n=O(e.state.optionClass);return e.maybeShowCorrectAnswer()&&("yes"===t.isTrue&&n.push("answer-correct"),r&&("yes"===t.isTrue?r===t.value&&n.push("answered-correct"):r===t.value&&n.push("answered-wrong"))),n})),e}return r}(v);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=B(e);if(t){var o=B(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return M(this,r)}}function M(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?N(e):t}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var F=lodash.isBoolean,U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(r,e);var t=L(r);function r(){var e;q(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return D(N(e=t.call.apply(t,[this].concat(o))),"isCorrect",(function(){var t,r,n,o=e.props.answered;if(F(o)||!o)return!1;for(t=0,n=e.getOptions();t<n.length;t++)if("yes"===(r=n[t]).isTrue){if(-1===o.indexOf(r.value))return!1}else if(-1!==o.indexOf(r.value))return!1;return!0})),D(N(e),"getOptionClass",(function(t){var r=e.props.answered,n=k(e.state.optionClass);return e.maybeShowCorrectAnswer()&&("yes"===t.isTrue&&n.push("answer-correct"),r&&("yes"===t.isTrue?-1!==r.indexOf(t.value)&&n.push("answered-correct"):-1!==r.indexOf(t.value)&&n.push("answered-wrong"))),n})),e}return r}(v);function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e){return function(e){if(Array.isArray(e))return J(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=V(e);if(t){var o=V(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return G(this,r)}}function G(e,t){return!t||"object"!==$(t)&&"function"!=typeof t?K(e):t}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W(e,t)}(r,e);var t=z(r);function r(){var e;H(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return X(K(e=t.call.apply(t,[this].concat(o))),"getOptionClass",(function(t){var r=e.props.answered,n=Q(e.state.optionClass);return e.maybeShowCorrectAnswer()&&("yes"===t.isTrue&&n.push("answer-correct"),r&&("yes"===t.isTrue?r===t.value&&n.push("answered-correct"):r===t.value&&n.push("answered-wrong"))),n})),e}return r}(v);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e){return function(e){if(Array.isArray(e))return te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return te(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ae(e);if(t){var o=ae(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ue(this,r)}}function ue(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?ce(e):t}function ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(i,e);var t,r,n,o=ie(i);function i(){var e;re(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return se(ce(e=o.call.apply(o,[this].concat(r))),"updateFibAnswer",(function(){var t=document.querySelectorAll(".lp-fib-input > input"),r={};ee(t).map((function(t){t.addEventListener("input",(function(n){e.setAnswered(r,t.dataset.id,n.target.value)})),t.addEventListener("paste",(function(n){e.setAnswered(r,t.dataset.id,n.target.value)}))}))})),se(ce(e),"setAnswered",(function(t,r,n){var o=e.props,i=o.updateUserQuestionAnswers,u=o.question;if("started"!==o.status)return"LP Error: can not set answers";var c=Object.assign(t,se({},r,n));i(u.id,c)})),se(ce(e),"getCorrectLabel",(function(){var t=e.props,r=t.question,n=t.mark,o=n||0;return n&&(Number.isInteger(n)||(o=n.toFixed(2))),e.maybeShowCorrectAnswer()&&React.createElement("div",{className:"question-response correct"},React.createElement("span",{className:"label"},Object(u.__)("Points","learnpress")),React.createElement("span",{className:"point"},"".concat(o,"/").concat(r.point," ").concat(Object(u.__)("point","learnpress"))),React.createElement("span",{className:"lp-fib-note"},React.createElement("span",{style:{background:"#00adff"}}),Object(u.__)("Correct","learnpress")),React.createElement("span",{className:"lp-fib-note"},React.createElement("span",{style:{background:"#d85554"}}),Object(u.__)("Incorrect","learnpress")))})),e}return t=i,(r=[{key:"componentDidMount",value:function(){this.updateFibAnswer()}},{key:"componentDidUpdate",value:function(e){e.answered||this.updateFibAnswer()}},{key:"render",value:function(){return React.createElement(React.Fragment,null,React.createElement("div",{className:"lp-fib-content"},this.getOptions().map((function(e){return React.createElement("div",{key:"blank-".concat(e.uid),dangerouslySetInnerHTML:{__html:e.title||e.value}})}))),!this.isDefaultType()&&this.getWarningMessage(),this.getCorrectLabel())}}])&&ne(t.prototype,r),n&&ne(t,n),i}(v);function le(e){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function he(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=we(e);if(t){var o=we(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return me(this,r)}}function me(e,t){return!t||"object"!==le(t)&&"function"!=typeof t?ve(e):t}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ge=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}(i,e);var t,r,n,o=he(i);function i(){var e;ye(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Oe(ve(e=o.call.apply(o,[this].concat(r))),"getQuestion",(function(){var t=e.props.question;return LP.Hook.applyFilters("question-types",{single_choice:LP.questionTypes.SingleChoice,multi_choice:LP.questionTypes.MultipleChoices,true_or_false:LP.questionTypes.TrueOrFalse,fill_in_blanks:LP.questionTypes.FillInBlanks})[t.type]})),e}return t=i,(r=[{key:"render",value:function(){var e=this.props,t=e.question,r=e.supportOptions,n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props);n.supportOptions=-1!==r.indexOf(t.type);var o=this.getQuestion()||function(){return React.createElement("div",{className:"question-types",dangerouslySetInnerHTML:{__html:Object(u.sprintf)(Object(u.__)("Question <code>%s</code> invalid!","learnpress"),t.type)}})};return React.createElement(React.Fragment,null,React.createElement(o,n))}}])&&be(t.prototype,r),n&&be(t,n),i}(n.Component),je=Object(o.compose)(Object(i.withSelect)((function(e,t){var r=t.question.id,n=e("learnpress/quiz"),o=n.getData,i=n.isCheckedAnswer;return{supportOptions:o("supportOptions"),isCheckedAnswer:i(r),keyPressed:o("keyPressed"),showCorrectReview:o("showCorrectReview"),isReviewing:"reviewing"===o("mode")}})),Object(i.withDispatch)((function(){return{}})))(ge);t.default=je},3:function(e,t){e.exports=window.wp.element},4:function(e,t){e.exports=window.wp.compose}});
1
+ this.LP=this.LP||{},this.LP.questionTypes=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=22)}({0:function(e,t){e.exports=window.wp.i18n},1:function(e,t){e.exports=window.wp.data},22:function(e,t,r){"use strict";r.r(t),r.d(t,"QuestionBase",(function(){return v})),r.d(t,"SingleChoice",(function(){return E})),r.d(t,"MultipleChoices",(function(){return U})),r.d(t,"TrueOrFalse",(function(){return Y})),r.d(t,"FillInBlanks",(function(){return fe}));var n=r(3),o=r(4),i=r(1),u=r(0);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=b(e);if(t){var o=b(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=lodash,m=h.isArray,v=(h.get,h.set,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(c,e);var t,r,n,o=l(c);function c(e){var t;a(this,c),d(y(t=o.apply(this,arguments)),"prepare",(function(e,t){var r=e.question;return r&&r.id!==t.questionId?{options:t.self.parseOptions(r.options)}:null})),d(y(t),"setInputRef",(function(e,r){t.inputs||(t.inputs={}),t.inputs[r]=e})),d(y(t),"maybeShowCorrectAnswer",(function(){var e=t.props,r=e.status,n=e.isCheckedAnswer,o=e.showCorrectReview,i=e.isReviewing;return"completed"===r&&o||n&&!i})),d(y(t),"maybeDisabledOption",(function(e){var r=t.props,n=(r.answered,r.status);return r.isCheckedAnswer||"started"!==n})),d(y(t),"setAnswerChecked",(function(){return function(e){var r=t.props,n=r.updateUserQuestionAnswers,o=r.question;if("started"!==r.status)return Object(u.__)("LP Error: can not set answers","learnpress");var i=t.$wrap.find(".option-check"),c=[],a="multi_choice"!==o.type;i.each((function(e,t){if(t.checked&&(c.push(t.value),a))return!1})),n(o.id,a?c[0]:c)}})),d(y(t),"maybeCheckedAnswer",(function(e){var r=t.props.answered;return m(r)?!!r.find((function(t){return t==e})):e==r})),d(y(t),"getOptionType",(function(e,t){var r="radio";switch(e){case"multi_choice":r="checkbox"}return r})),d(y(t),"isDefaultType",(function(){return t.props.supportOptions})),d(y(t),"getWarningMessage",(function(){return React.createElement(React.Fragment,null,Object(u.__)("Render function should be overwritten from base.","learnpress"))})),d(y(t),"getOptionClass",(function(e){t.props.answered;return["answer-option"]})),d(y(t),"parseOptions",(function(e){return e&&(e=m(e)?e:JSON.parse(CryptoJS.AES.decrypt(e.data,e.key,{format:CryptoJSAesJson}).toString(CryptoJS.enc.Utf8)),e=m(e)?e:JSON.parse(e)),e||[]})),d(y(t),"getOptions",(function(){return t.state.options||[]})),d(y(t),"isCorrect",(function(){var e,r,n,o=t.props.answered;if(!o)return!1;for(e=0,n=t.getOptions();e<n.length;e++)if("yes"===(r=n[e]).isTrue&&o==r.value)return!0;return!1})),d(y(t),"isChecked",(function(){var e=t.props.question;return Object(i.select)("learnpress/quiz").isCheckedAnswer(e.id)})),d(y(t),"getCorrectLabel",(function(){var e=t.props,r=(e.status,e.answered,e.question),n=(LP.config.isQuestionCorrect[r.type]||t.isCorrect).call(y(t));return t.maybeShowCorrectAnswer()&&React.createElement("div",{className:"question-response"+(n?" correct":" incorrect")},React.createElement("span",{className:"label"},n?Object(u.__)("Correct","learnpress"):Object(u.__)("Incorrect","learnpress")),React.createElement("span",{className:"point"},sprintf(Object(u.__)("%d/%d point","learnpress"),n?r.point:0,r.point)))}));var r=e.question;return t.state={optionClass:["answer-option"],questionId:0,options:r?t.parseOptions(r.options):[],self:y(t)},e.$wrap&&(t.$wrap=e.$wrap),t}return t=c,n=[{key:"getDerivedStateFromProps",value:function(e,t){return t.self.prepare(e,t)}}],(r=[{key:"componentDidMount",value:function(){var e=this.prepare(this.props,this.state);e&&this.setState(e)}},{key:"render",value:function(){var e=this,t=this.props,r=t.question,n=t.status;return React.createElement("div",{className:"question-answers"},this.isDefaultType()&&React.createElement("ul",{id:"answer-options-".concat(r.id),className:"answer-options"},this.getOptions().map((function(t){var o="learn-press-answer-option-".concat(t.uid);return React.createElement("li",{className:e.getOptionClass(t).join(" "),key:"answer-option-".concat(t.uid)},React.createElement("input",{type:e.getOptionType(r.type,t),className:"option-check",name:"started"===n?"learn-press-question-".concat(r.id):"",id:o,ref:function(r){e.setInputRef(r,t.value)},onChange:e.setAnswerChecked(),disabled:e.maybeDisabledOption(t),checked:e.maybeCheckedAnswer(t.value),value:"started"===n?t.value:""}),React.createElement("label",{htmlFor:o,className:"option-title",dangerouslySetInnerHTML:{__html:t.title||t.value}}))}))),!this.isDefaultType()&&this.getWarningMessage(),this.getCorrectLabel())}}])&&s(t.prototype,r),n&&s(t,n),c}(n.Component));function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=A(e);if(t){var o=A(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return R(this,r)}}function R(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return P(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(r,e);var t=S(r);function r(){var e;j(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return C(P(e=t.call.apply(t,[this].concat(o))),"getOptionClass",(function(t){var r=e.props.answered,n=O(e.state.optionClass);return e.maybeShowCorrectAnswer()&&("yes"===t.isTrue&&n.push("answer-correct"),r&&("yes"===t.isTrue?r===t.value&&n.push("answered-correct"):r===t.value&&n.push("answered-wrong"))),n})),e}return r}(v);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=N(e);if(t){var o=N(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return L(this,r)}}function L(e,t){if(t&&("object"===T(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return M(e)}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var F=lodash.isBoolean,U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(r,e);var t=D(r);function r(){var e;q(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return B(M(e=t.call.apply(t,[this].concat(o))),"isCorrect",(function(){var t,r,n,o=e.props.answered;if(F(o)||!o)return!1;for(t=0,n=e.getOptions();t<n.length;t++)if("yes"===(r=n[t]).isTrue){if(-1===o.indexOf(r.value))return!1}else if(-1!==o.indexOf(r.value))return!1;return!0})),B(M(e),"getOptionClass",(function(t){var r=e.props.answered,n=k(e.state.optionClass);return e.maybeShowCorrectAnswer()&&("yes"===t.isTrue&&n.push("answer-correct"),r&&("yes"===t.isTrue?-1!==r.indexOf(t.value)&&n.push("answered-correct"):-1!==r.indexOf(t.value)&&n.push("answered-wrong"))),n})),e}return r}(v);function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e){return function(e){if(Array.isArray(e))return J(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=V(e);if(t){var o=V(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return G(this,r)}}function G(e,t){if(t&&("object"===$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return K(e)}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W(e,t)}(r,e);var t=z(r);function r(){var e;H(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return X(K(e=t.call.apply(t,[this].concat(o))),"getOptionClass",(function(t){var r=e.props.answered,n=Q(e.state.optionClass);return e.maybeShowCorrectAnswer()&&("yes"===t.isTrue&&n.push("answer-correct"),r&&("yes"===t.isTrue?r===t.value&&n.push("answered-correct"):r===t.value&&n.push("answered-wrong"))),n})),e}return r}(v);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e){return function(e){if(Array.isArray(e))return te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return te(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ae(e);if(t){var o=ae(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ue(this,r)}}function ue(e,t){if(t&&("object"===Z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ce(e)}function ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(i,e);var t,r,n,o=ie(i);function i(){var e;re(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return se(ce(e=o.call.apply(o,[this].concat(r))),"updateFibAnswer",(function(){var t=document.querySelectorAll(".lp-fib-input > input"),r=e.props.answered||{};ee(t).map((function(t){t.addEventListener("input",(function(n){e.setAnswered(r,t.dataset.id,n.target.value)})),t.addEventListener("paste",(function(n){e.setAnswered(r,t.dataset.id,n.target.value)}))}))})),se(ce(e),"setAnswered",(function(t,r,n){var o=e.props,i=o.updateUserQuestionAnswers,u=o.question;if("started"!==o.status)return"LP Error: can not set answers";var c=Object.assign(t,se({},r,n));i(u.id,c)})),se(ce(e),"getCorrectLabel",(function(){var t=e.props,r=t.question,n=t.mark,o=n||0;return n&&(Number.isInteger(n)||(o=n.toFixed(2))),e.maybeShowCorrectAnswer()&&React.createElement("div",{className:"question-response correct"},React.createElement("span",{className:"label"},Object(u.__)("Points","learnpress")),React.createElement("span",{className:"point"},"".concat(o,"/").concat(r.point," ").concat(Object(u.__)("point","learnpress"))),React.createElement("span",{className:"lp-fib-note"},React.createElement("span",{style:{background:"#00adff"}}),Object(u.__)("Correct","learnpress")),React.createElement("span",{className:"lp-fib-note"},React.createElement("span",{style:{background:"#d85554"}}),Object(u.__)("Incorrect","learnpress")))})),se(ce(e),"convertInputField",(function(e){var t=e.title,r=null==e?void 0:e.answers;return e.ids.map((function(e,n){var o="{{FIB_"+e+"}}",i="",u=r?null==r?void 0:r[e]:void 0;if(u){var c,a;if(i+='<span class="lp-fib-answered '.concat(null!=u&&u.isCorrect?"correct":"fail",'">'),null==u||!u.isCorrect)i+='<span class="lp-fib-answered__answer">'.concat(null!==(a=null==u?void 0:u.answer)&&void 0!==a?a:"","</span> → ");i+='<span class="lp-fib-answered__fill">'.concat(null!==(c=null==u?void 0:u.correct)&&void 0!==c?c:"","</span>"),i+="</span>"}else i+='<div class="lp-fib-input" style="display: inline-block; width: auto;">',i+='<input type="text" data-id="'+e+'" value="" />',i+="</div>";t=t.replace(o,i)})),t})),e}return t=i,(r=[{key:"componentDidMount",value:function(){var e=this.props.answered;e&&ee(document.querySelectorAll(".lp-fib-input > input")).map((function(t){e[t.dataset.id]&&(t.value=e[t.dataset.id])})),this.updateFibAnswer()}},{key:"componentDidUpdate",value:function(e){e.answered||this.updateFibAnswer()}},{key:"render",value:function(){var e=this;return React.createElement(React.Fragment,null,React.createElement("div",{className:"lp-fib-content"},this.getOptions().map((function(t){return React.createElement("div",{key:"blank-".concat(t.uid),dangerouslySetInnerHTML:{__html:e.convertInputField(t)||t.value}})}))),!this.isDefaultType()&&this.getWarningMessage(),this.getCorrectLabel())}}])&&ne(t.prototype,r),n&&ne(t,n),i}(v);function le(e){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function he(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=we(e);if(t){var o=we(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return me(this,r)}}function me(e,t){if(t&&("object"===le(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ve(e)}function ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ge=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}(i,e);var t,r,n,o=he(i);function i(){var e;ye(this,i);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Oe(ve(e=o.call.apply(o,[this].concat(r))),"getQuestion",(function(){var t=e.props.question;return LP.Hook.applyFilters("question-types",{single_choice:LP.questionTypes.SingleChoice,multi_choice:LP.questionTypes.MultipleChoices,true_or_false:LP.questionTypes.TrueOrFalse,fill_in_blanks:LP.questionTypes.FillInBlanks})[t.type]})),e}return t=i,(r=[{key:"render",value:function(){var e=this.props,t=e.question,r=e.supportOptions,n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.props);n.supportOptions=-1!==r.indexOf(t.type);var o=this.getQuestion()||function(){return React.createElement("div",{className:"question-types",dangerouslySetInnerHTML:{__html:Object(u.sprintf)(Object(u.__)("Question <code>%s</code> invalid!","learnpress"),t.type)}})};return React.createElement(React.Fragment,null,React.createElement(o,n))}}])&&be(t.prototype,r),n&&be(t,n),i}(n.Component),je=Object(o.compose)(Object(i.withSelect)((function(e,t){var r=t.question.id,n=e("learnpress/quiz"),o=n.getData,i=n.isCheckedAnswer;return{supportOptions:o("supportOptions"),isCheckedAnswer:i(r),keyPressed:o("keyPressed"),showCorrectReview:o("showCorrectReview"),isReviewing:"reviewing"===o("mode")}})),Object(i.withDispatch)((function(){return{}})))(ge);t.default=je},3:function(e,t){e.exports=window.wp.element},4:function(e,t){e.exports=window.wp.compose}});
assets/js/dist/frontend/quiz.js CHANGED
@@ -283,7 +283,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
283
 
284
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
285
 
286
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
287
 
288
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
289
 
@@ -411,7 +411,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
411
 
412
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
413
 
414
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
415
 
416
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
417
 
@@ -529,7 +529,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
529
 
530
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
531
 
532
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
533
 
534
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
535
 
@@ -1240,7 +1240,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
1240
 
1241
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1242
 
1243
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
1244
 
1245
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1246
 
@@ -1474,7 +1474,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
1474
 
1475
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1476
 
1477
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
1478
 
1479
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1480
 
@@ -1764,7 +1764,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
1764
 
1765
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1766
 
1767
- function _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
1768
 
1769
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
1770
 
@@ -2215,7 +2215,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
2215
 
2216
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
2217
 
2218
- function _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2219
 
2220
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2221
 
@@ -2342,7 +2342,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
2342
 
2343
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2344
 
2345
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
2346
 
2347
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2348
 
@@ -2396,6 +2396,12 @@ var Quiz = /*#__PURE__*/function (_Component) {
2396
  settings.currentPage = 1;
2397
  settings.numPages = chunks.length;
2398
  settings.pages = chunks;
 
 
 
 
 
 
2399
  setQuizData(settings);
2400
  }
2401
  }, {
@@ -2929,13 +2935,18 @@ var setItemStatus = function setItemStatus(item, status) {
2929
  };
2930
 
2931
  var updateUserQuestionAnswer = function updateUserQuestionAnswer(state, action) {
2932
- var answered = state.answered;
 
2933
 
2934
  var newAnswer = _objectSpread(_objectSpread({}, answered[action.questionId] || {}), {}, {
2935
  answered: action.answers,
2936
  temp: true
2937
  });
2938
 
 
 
 
 
2939
  return _objectSpread(_objectSpread({}, state), {}, {
2940
  answered: _objectSpread(_objectSpread({}, state.answered), {}, _defineProperty({}, action.questionId, newAnswer))
2941
  });
@@ -2999,6 +3010,7 @@ var checkAnswer = function checkAnswer(state, action) {
2999
  };
3000
 
3001
  var submitQuiz = function submitQuiz(state, action) {
 
3002
  var questions = state.questions.map(function (question) {
3003
  var newArgs = {};
3004
 
283
 
284
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
285
 
286
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
287
 
288
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
289
 
411
 
412
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
413
 
414
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
415
 
416
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
417
 
529
 
530
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
531
 
532
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
533
 
534
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
535
 
1240
 
1241
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1242
 
1243
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1244
 
1245
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1246
 
1474
 
1475
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1476
 
1477
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1478
 
1479
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1480
 
1764
 
1765
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1766
 
1767
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
1768
 
1769
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
1770
 
2215
 
2216
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
2217
 
2218
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2219
 
2220
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2221
 
2342
 
2343
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2344
 
2345
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
2346
 
2347
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2348
 
2396
  settings.currentPage = 1;
2397
  settings.numPages = chunks.length;
2398
  settings.pages = chunks;
2399
+ var answered = settings.id ? localStorage.getItem("LP_Quiz_".concat(settings.id, "_Answered")) : false;
2400
+
2401
+ if (answered) {
2402
+ settings.answered = JSON.parse(answered);
2403
+ }
2404
+
2405
  setQuizData(settings);
2406
  }
2407
  }, {
2935
  };
2936
 
2937
  var updateUserQuestionAnswer = function updateUserQuestionAnswer(state, action) {
2938
+ var answered = state.answered,
2939
+ id = state.id;
2940
 
2941
  var newAnswer = _objectSpread(_objectSpread({}, answered[action.questionId] || {}), {}, {
2942
  answered: action.answers,
2943
  temp: true
2944
  });
2945
 
2946
+ if (id) {
2947
+ localStorage.setItem("LP_Quiz_".concat(id, "_Answered"), JSON.stringify(_objectSpread(_objectSpread({}, state.answered), {}, _defineProperty({}, action.questionId, newAnswer))));
2948
+ }
2949
+
2950
  return _objectSpread(_objectSpread({}, state), {}, {
2951
  answered: _objectSpread(_objectSpread({}, state.answered), {}, _defineProperty({}, action.questionId, newAnswer))
2952
  });
3010
  };
3011
 
3012
  var submitQuiz = function submitQuiz(state, action) {
3013
+ localStorage.removeItem("LP_Quiz_".concat(state.id, "_Answered"));
3014
  var questions = state.questions.map(function (question) {
3015
  var newArgs = {};
3016
 
assets/js/dist/frontend/quiz.min.js CHANGED
@@ -3,4 +3,4 @@ this.LP=this.LP||{},this.LP.quiz=function(e){var t={};function n(r){if(t[r])retu
3
  Copyright (c) 2018 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var u in r)n.call(r,u)&&r[u]&&e.push(u);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return Rn}));var r={};n.r(r),n.d(r,"setQuizData",(function(){return wt})),n.d(r,"setCurrentQuestion",(function(){return Ot})),n.d(r,"setCurrentPage",(function(){return _t})),n.d(r,"__requestBeforeStartQuiz",(function(){return St})),n.d(r,"__requestStartQuizSuccess",(function(){return qt})),n.d(r,"startQuiz",(function(){return jt})),n.d(r,"__requestSubmitQuiz",(function(){return Rt})),n.d(r,"__requestSubmitQuizSuccess",(function(){return Pt})),n.d(r,"submitQuiz",(function(){return Et})),n.d(r,"updateUserQuestionAnswers",(function(){return zt})),n.d(r,"__requestShowHintSuccess",(function(){return kt})),n.d(r,"showHint",(function(){return Qt})),n.d(r,"__requestCheckAnswerSuccess",(function(){return It})),n.d(r,"checkAnswer",(function(){return At})),n.d(r,"markQuestionRendered",(function(){return Ct})),n.d(r,"setQuizMode",(function(){return Nt})),n.d(r,"sendKey",(function(){return Tt}));var o={};n.r(o),n.d(o,"getQuestionOptions",(function(){return Lt})),n.d(o,"getItemStatus",(function(){return Ut})),n.d(o,"getProp",(function(){return Ht})),n.d(o,"getQuizAttempts",(function(){return Ft})),n.d(o,"getQuizAnswered",(function(){return Bt})),n.d(o,"getQuestions",(function(){return Jt})),n.d(o,"getData",(function(){return Gt})),n.d(o,"getDefaultRestArgs",(function(){return Kt})),n.d(o,"getQuestionAnswered",(function(){return Wt})),n.d(o,"getQuestionMark",(function(){return $t})),n.d(o,"getCurrentQuestion",(function(){return Zt})),n.d(o,"getQuestion",(function(){return Yt})),n.d(o,"isCheckedAnswer",(function(){return Vt})),n.d(o,"isCorrect",(function(){return Xt})),n.d(o,"getQuestionsSelectedAnswers",(function(){return en})),n.d(o,"getUserMark",(function(){return tn}));var i=n(3),a=n(4),u=n(1),s=function(){var e=Object(u.select)("learnpress/quiz").getData("content");return React.createElement("div",{className:"quiz-content",dangerouslySetInnerHTML:{__html:e}})},c=n(0),l=function(e){var t;if(e>86400)t=(e-e%86400)/86400,e%=86400;else if(86400==e)return"24:00";var n=new Date(1e3*e).toUTCString().match(/\d{2}:\d{2}:\d{2}/)[0].split(":");return t&&(n[0]=parseInt(n[0])+24*t),n.join(":")},f=LP.Hook,p=function(){var e=function(e){return Object(u.select)("learnpress/quiz").getData(e)},t=f.applyFilters("quiz-meta-fields",{duration:{title:Object(c.__)("Duration:","learnpress"),name:"duration",content:l(e("duration"))||"--"},passingGrade:{title:Object(c.__)("Passing grade:","learnpress"),name:"passing-grade",content:e("passingGrade")||"--"},questionsCount:{title:Object(c.__)("Questions:","learnpress"),name:"questions-count",content:e("questionIds")?e("questionIds").length:0}});return t&&React.createElement(React.Fragment,null,React.createElement("ul",{className:"quiz-intro"},Object.values(t).map((function(e,t){var n=e.name||t;return React.createElement("li",{key:"quiz-intro-field-".concat(t),className:"quiz-intro-item quiz-intro-item--".concat(n)},React.createElement("div",{className:"quiz-intro-item__title",dangerouslySetInnerHTML:{__html:e.title}}),React.createElement("span",{className:"quiz-intro-item__content",dangerouslySetInnerHTML:{__html:e.content}}))}))))};function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return b(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(i,e);var t,n,r,o=w(i);function i(){var e;h(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return q(_(e=o.call.apply(o,[this].concat(n))),"startQuiz",(function(t){t&&t.preventDefault();var n=document.querySelector(".lp-button.start");n&&n.setAttribute("disabled","disabled");var r=e.props,o=r.startQuiz;if("completed"===r.status){var i=Object(u.select)("learnpress/modal"),a=i.confirm,s=i.isOpen;if("no"===a(Object(c.__)("Are you sure you want to retake quiz?","learnpress"),e.startQuiz))return void(!s()&&n&&n.removeAttribute("disabled"))}if("1"==lpQuizSettings.checkNorequizenroll){window.localStorage.removeItem("quiz_start_"+lpQuizSettings.id),window.localStorage.setItem("quiz_start_"+lpQuizSettings.id,Date.now());var l=window.localStorage.getItem("quiz_retake_"+lpQuizSettings.id);l>=1?window.localStorage.setItem("quiz_retake_"+lpQuizSettings.id,parseInt(l)+1):window.localStorage.setItem("quiz_retake_"+lpQuizSettings.id,1),window.localStorage.removeItem("quiz_userdata_"+lpQuizSettings.id)}o()})),q(_(e),"nav",(function(t){return function(n){var r=e.props,o=r.questionNav,i=r.currentPage,a=r.numPages,u=r.setCurrentPage;switch(t){case"prev":i>1?i-=1:i="infinity"===o?a:1;break;default:i<a?i+=1:i="infinity"===o?1:a}u(i)}})),q(_(e),"moveTo",(function(t){return function(n){n.preventDefault();var r=e.props,o=r.numPages,i=r.setCurrentPage;t<1||t>o||i(t)}})),q(_(e),"isLast",(function(){var t=e.props;return t.currentPage===t.numPages})),q(_(e),"isFirst",(function(){return 1===e.props.currentPage})),q(_(e),"submit",(function(){var t=e.props.submitQuiz;"no"!==(0,Object(u.select)("learnpress/modal").confirm)(Object(c.__)("Are you sure to submit quiz?","learnpress"),e.submit)&&t()})),q(_(e),"setQuizMode",(function(t){return function(){(0,e.props.setQuizMode)(t)}})),q(_(e),"isReviewing",(function(){return e.props.isReviewing})),e}return t=i,(n=[{key:"pageNumbers",value:function(e){var t=this,n=this.props,r=n.numPages,o=n.currentPage;if(r<2)return"";(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({numPages:r,currentPage:o,midSize:1,endSize:1,prevNext:!0},e||{})).endSize<1&&(e.endSize=1),e.midSize<0&&(e.midSize=1);var i=m(Array(r).keys()),a=!1;return React.createElement("div",{className:"nav-links"},e.prevNext&&!this.isFirst()&&React.createElement("button",{className:"page-numbers prev","data-type":"question-navx",onClick:this.nav("prev")},Object(c.__)("Prev","learnpress")),i.map((function(n){return(n+=1)===e.currentPage?(a=!0,React.createElement("span",{key:"page-number-".concat(n),className:"page-numbers current"},n)):n<=e.endSize||e.currentPage&&n>=e.currentPage-e.midSize&&n<=e.currentPage+e.midSize||n>e.numPages-e.endSize?(a=!0,React.createElement("button",{key:"page-number-".concat(n),className:"page-numbers",onClick:t.moveTo(n)},n)):a?(a=!1,React.createElement("span",{key:"page-number-".concat(n),className:"page-numbers dots"},"…")):""})),e.prevNext&&!this.isLast()&&React.createElement("button",{className:"page-numbers next","data-type":"question-navx",onClick:this.nav("next")},Object(c.__)("Next","learnpress")))}},{key:"render",value:function(){var e=this.props,t=e.status,n=e.questionNav,r=e.isReviewing,o=e.showReview,i=e.numPages,a=(e.question,e.questionsPerPage,e.canRetry),u=e.retakeNumber,s=["quiz-buttons"];("started"===t||r)&&s.push("align-center"),"questionNav"===n&&s.push("infinity"),this.isFirst()&&s.push("is-first"),this.isLast()&&s.push("is-last");var l=document.querySelector("#popup-sidebar"),f=document.querySelector("#learn-press-quiz-app"),p="";p="started"===t||r?{marginLeft:l&&l.offsetWidth/2,width:f&&f.offsetWidth}:null;var d=" fixed";return"no"==lpQuizSettings.navigationPosition&&(d=" nav-center"),React.createElement(React.Fragment,null,React.createElement("div",{className:s.join(" ")},React.createElement("div",{className:"button-left"+("started"===t||r?d:""),style:p},("completed"===t&&a||-1!==["","viewed"].indexOf(t))&&!r&&React.createElement("button",{className:"lp-button start",onClick:this.startQuiz},"completed"===t?"".concat(Object(c.__)("Retake","learnpress")).concat(u?" (".concat(u,")"):""):Object(c.__)("Start","learnpress")),("started"===t||r)&&i>1&&React.createElement(React.Fragment,null,React.createElement("div",{className:"questions-pagination"},this.pageNumbers()))),React.createElement("div",{className:"button-right"},"started"===t&&React.createElement(React.Fragment,null,("infinity"===n||this.isLast())&&!r&&React.createElement("button",{className:"lp-button submit-quiz",onClick:this.submit},Object(c.__)("Finish Quiz","learnpress"))),r&&o&&React.createElement("button",{className:"lp-button back-quiz",onClick:this.setQuizMode("")},Object(c.__)("Result","learnpress")),"completed"===t&&o&&!r&&React.createElement("button",{className:"lp-button review-quiz",onClick:this.setQuizMode("reviewing")},Object(c.__)("Review","learnpress")))),this.props.message&&!0!==this.props.success&&React.createElement("div",{className:"learn-press-message error"},this.props.message))}}])&&g(t.prototype,n),r&&g(t,r),i}(i.Component),R=Object(a.compose)(Object(u.withSelect)((function(e){var t=e("learnpress/quiz").getData;return{status:t("status"),showCheck:t("instantCheck"),checkedQuestions:t("checkedQuestions"),hintedQuestions:t("hintedQuestions"),questionsPerPage:t("questionsPerPage")}})))((function(e){var t=e.showCheck,n=e.checkedQuestions,r=e.hintedQuestions,o=e.question,i=e.status,a=e.type,u=e.Button;if("started"!==i)return!1;var s=React.createElement(u,{question:o});switch(a){case"hint":return r?!!o.hasHint&&(-1===r.indexOf(o.id)&&s):s;case"check":return!!t&&(n?-1===n.indexOf(o.id)&&s:s)}})),P=Object(a.compose)([Object(u.withSelect)((function(e){var t=e("learnpress/quiz"),n=t.getData,r=t.getCurrentQuestion,o={id:n("id"),status:n("status"),questionIds:n("questionIds"),questionNav:n("questionNav"),isReviewing:n("reviewQuestions")&&"reviewing"===n("mode"),showReview:n("reviewQuestions"),showCheck:n("instantCheck"),checkedQuestions:n("checkedQuestions"),hintedQuestions:n("hintedQuestions"),numPages:n("numPages"),pages:n("pages"),currentPage:n("currentPage"),questionsPerPage:n("questionsPerPage"),pageNumbers:n("pageNumbers"),keyPressed:n("keyPressed"),canRetry:n("retakeCount")>0&&n("retaken")<n("retakeCount"),retakeNumber:n("retakeCount")>0&&n("retaken")<n("retakeCount")?n("retakeCount")-n("retaken"):null,message:n("messageResponse")||!1,success:void 0===n("successResponse")||n("successResponse")};if(1===o.questionsPerPage&&(o.question=r("object")),"1"==lpQuizSettings.checkNorequizenroll){var i=window.localStorage.getItem("quiz_retake_"+lpQuizSettings.id);n("retakeCount")>i?(o.retakeNumber=n("retakeCount")-i,o.canRetry=!0):o.canRetry=!1}return o})),Object(u.withDispatch)((function(e,t){t.id;var n=e("learnpress/quiz"),r=n.startQuiz,o=n.setCurrentQuestion,i=n.submitQuiz,a=n.setQuizMode,u=n.showHint,s=n.checkAnswer;return{startQuiz:r,setCurrentQuestion:o,setQuizMode:a,setCurrentPage:n.setCurrentPage,submitQuiz:function(e){i(e)},showHint:function(e){u(e)},checkAnswer:function(e){s(e)}}}))])(j);function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(i,e);var t,n,r,o=I(i);function i(){var e;z(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return T(C(e=o.call.apply(o,[this].concat(n))),"showHint",(function(){var t=e.props,n=t.showHint,r=t.question;n(r.id,!r.showHint)})),e}return t=i,(n=[{key:"render",value:function(){return this.props.question.hint?React.createElement("button",{className:"btn-show-hint",onClick:this.showHint},React.createElement("span",null,Object(c.__)("Hint","learnpress"))):""}}])&&k(t.prototype,n),r&&k(t,r),i}(i.Component),D=Object(a.compose)(Object(u.withDispatch)((function(e,t){t.id;var n=e("learnpress/quiz").showHint;return{showHint:function(e,t){n(e,t)}}})))(x),M=n(13),L=n.n(M);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=W(e);if(t){var o=W(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return G(this,n)}}function G(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?K(e):t}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}(i,e);var t,n,r,o=J(i);function i(){var e;return H(this,i),$(K(e=o.apply(this,arguments)),"checkAnswer",(function(){var t=e.props,n=t.checkAnswer,r=t.question;t.answered&&(n(r.id),e.setState({loading:!0}))})),e.state={loading:!1},e}return t=i,(n=[{key:"render",value:function(){var e=this.props.answered;return React.createElement(React.Fragment,null,React.createElement("button",{className:L()("lp-button","instant-check",{loading:this.state.loading,disable:!e}),onClick:this.checkAnswer},React.createElement("span",{className:"instant-check__icon"}),Object(c.__)("Check answer","learnpress"),!e&&React.createElement("div",{className:"instant-check__info",dangerouslySetInnerHTML:{__html:Object(c.__)("You need to answer the question before check answer.","learnpress")}})))}}])&&F(t.prototype,n),r&&F(t,r),i}(i.Component),Y=Object(a.compose)(Object(u.withSelect)((function(e,t){var n=t.question.id;return{answered:(0,e("learnpress/quiz").getQuestionAnswered)(n)}})),Object(u.withDispatch)((function(e,t){t.id;var n=e("learnpress/quiz").checkAnswer;return{checkAnswer:function(e){n(e)}}})))(Z),V=function(e){var t=e.question,n={"instant-check":function(){return React.createElement(R,{type:"check",Button:Y,question:t})},hint:function(){return React.createElement(R,{type:"hint",Button:D,question:t})}};return React.createElement(React.Fragment,null,LP.config.questionFooterButtons().map((function(e){return React.createElement(i.Fragment,{key:"button-".concat(e)},n[e]&&n[e]())})))};function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=se(e);if(t){var o=se(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ae(this,n)}}function ae(e,t){return!t||"object"!==X(t)&&"function"!=typeof t?ue(e):t}function ue(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le=window.jQuery,fe=lodash,pe=(fe.uniqueId,fe.isArray),de=(fe.isNumber,fe.bind,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(a,e);var t,n,r,o=ie(a);function a(){var e;return ne(this,a),ce(ue(e=o.apply(this,arguments)),"setRef",(function(t){e.$wrap=le(t)})),ce(ue(e),"parseOptions",(function(e){return e&&(e=pe(e)?e:JSON.parse(CryptoJS.AES.decrypt(e.data,e.key,{format:CryptoJSAesJson}).toString(CryptoJS.enc.Utf8)),e=pe(e)?e:JSON.parse(e)),e||[]})),ce(ue(e),"getWrapperClass",(function(){var t=e.props,n=t.question,r=(t.answered,["question","question-"+n.type]),o=e.parseOptions(n.options);return o.length&&void 0!==o[0].isTrue&&r.push("question-answered"),r})),ce(ue(e),"getEditLink",(function(){var t=e.props,n=t.question,r=t.editPermalink;return r?r.replace(/post=(.*[0-9])/,"post=".concat(n.id)):""})),ce(ue(e),"editPermalink",(function(e){return Object(c.sprintf)('<a href="%s">%s</a>',e,Object(c.__)("Edit","learnpress"))})),e.state={time:null,showHint:!1},e.$wrap=null,e}return t=a,(n=[{key:"componentDidMount",value:function(e){var t=this.props,n=t.question,r=t.isCurrent,o=t.markQuestionRendered;return r&&o(n.id),this.state.time||this.setState({time:new Date}),LP.Hook.doAction("lp-question-compatible-builder"),"undefined"!=typeof MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub]),e}},{key:"render",value:function(){var e=this,t=this.props,n=t.question,r=t.isShow,o=t.isShowIndex,a=(t.isShowHint,t.status),u=LP.questionTypes.default,s=this.getEditLink();s&&jQuery("#wp-admin-bar-edit-lp_question").find(".ab-item").attr("href",s);var l={index:function(){return o?React.createElement("span",{className:"question-index"},o,"."):""},title:function(){return React.createElement("span",{dangerouslySetInnerHTML:{__html:n.title}})},hint:function(){return React.createElement(D,{question:n})},"edit-permalink":function(){return s&&React.createElement("span",{dangerouslySetInnerHTML:{__html:e.editPermalink(s)},className:"edit-link"})}},f={title:function(){return React.createElement("h4",{className:"question-title"},LP.config.questionTitleParts().map((function(e){return React.createElement(i.Fragment,{key:"title-part-".concat(e)},l[e]&&l[e]())})))},content:function(){return React.createElement("div",{className:"question-content",dangerouslySetInnerHTML:{__html:n.content}})},"answer-options":function(){return e.$wrap&&React.createElement(u,te(te({},e.props),{},{$wrap:e.$wrap}))},explanation:function(){return n.explanation&&React.createElement(React.Fragment,null,React.createElement("div",{className:"question-explanation-content"},React.createElement("strong",{className:"explanation-title"},Object(c.__)("Explanation","learnpress"),":"),React.createElement("div",{dangerouslySetInnerHTML:{__html:n.explanation}})))},hint:function(){return n.hint&&!n.explanation&&n.showHint&&React.createElement(React.Fragment,null,React.createElement("div",{className:"question-hint-content"},React.createElement("strong",{className:"hint-title"},Object(c.__)("Hint","learnpress"),":"),React.createElement("div",{dangerouslySetInnerHTML:{__html:n.hint}})))},buttons:function(){return"started"===a&&React.createElement(V,{question:n})}},p=LP.config.questionBlocks();return React.createElement(React.Fragment,null,React.createElement("div",{className:this.getWrapperClass().join(" "),style:{display:r?"":"none"},"data-id":n.id,ref:this.setRef},p.map((function(e){return React.createElement(i.Fragment,{key:"block-".concat(e)},f[e]?f[e]():"")}))))}}])&&re(t.prototype,n),r&&re(t,r),a}(i.Component)),me=Object(a.compose)([Object(u.withSelect)((function(e,t){var n=t.question.id,r=e("learnpress/quiz"),o=r.getData,i=r.getQuestionAnswered,a=r.getQuestionMark;return{status:o("status"),questions:o("question"),answered:i(n),questionsRendered:o("questionsRendered"),editPermalink:o("editPermalink"),numPages:o("numPages"),mark:a(n)||""}})),Object(u.withDispatch)((function(e){var t=e("learnpress/quiz"),n=t.updateUserQuestionAnswers;return{markQuestionRendered:t.markQuestionRendered,updateUserQuestionAnswers:n}}))])(de);function be(e){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var o=_e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return we(this,n)}}function we(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?Oe(e):t}function Oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,r,o=ve(i);function i(e){var t;return ye(this,i),Se(Oe(t=o.apply(this,arguments)),"startQuiz",(function(e){e.preventDefault(),(0,t.props.startQuiz)()})),Se(Oe(t),"isInVisibleRange",(function(e,n){var r=t.props,o=r.currentPage,i=r.questionsPerPage;return o===Math.ceil(n/i)})),Se(Oe(t),"nav",(function(e){var n=t.props.sendKey;switch(e.keyCode){case 37:return n("left");case 38:return;case 39:return n("right");case 40:return;default:e.keyCode>=49&&e.keyCode<=57&&n(e.keyCode-48)}})),t.needToTop=!1,t.state={isReviewing:null,currentPage:0,self:Oe(t)},t}return t=i,r=[{key:"getDerivedStateFromProps",value:function(e,t){for(var n=["isReviewing","currentPage"],r={},o=0;o<n.length;o++)e[n[o]]!==t[n[o]]&&(r[n[o]]=e[n[o]]);return Object.values(r).length?(t.self.needToTop=!0,r):null}}],(n=[{key:"componentDidUpdate",value:function(){this.needToTop&&(jQuery("#popup-content").animate({scrollTop:0}).find(".content-item-scrollable:last").animate({scrollTop:0}),this.needToTop=!1)}},{key:"render",value:function(){var e=this,t=this.props,n=t.status,r=t.currentQuestion,o=t.questions,i=t.questionsRendered,a=t.isReviewing,u=t.questionsPerPage,s=!0;return"completed"!==n||a||(s=!1),React.createElement(React.Fragment,null,React.createElement("div",{tabIndex:100,onKeyUp:this.nav},React.createElement("div",{className:"quiz-questions",style:{display:s?"":"none"}},o.map((function(t,n){var o=!u&&r===t.id,a=i&&-1!==i.indexOf(t.id),s=e.isInVisibleRange(t.id,n+1);return a||!a||s?React.createElement(me,{key:"loop-question-".concat(t.id),isCurrent:o,isShow:s,isShowIndex:!!u&&n+1,questionsPerPage:u,question:t}):""})))))}}])&&he(t.prototype,n),r&&he(t,r),i}(i.Component),je=Object(a.compose)(Object(u.withSelect)((function(e,t,n){var r=e("learnpress/quiz"),o=r.getData,i=r.getQuestions;return{status:o("status"),currentQuestion:o("currentQuestion"),questions:i(),questionsRendered:o("questionsRendered"),isReviewing:"reviewing"===o("mode"),numPages:o("numPages"),currentPage:o("currentPage"),questionsPerPage:o("questionsPerPage")||1}})),Object(u.withDispatch)((function(e){var t=e("learnpress/quiz");return{startQuiz:t.startQuiz,sendKey:t.sendKey}})))(qe);var Re=function(){var e=Object(u.select)("learnpress/quiz").getData("attempts")||[],t=e&&!!e.length;return!!t&&React.createElement(React.Fragment,null,React.createElement("div",{className:"quiz-attempts"},React.createElement("h4",{className:"attempts-heading"},Object(c.__)("Last Attempted","learnpress")),t&&React.createElement("table",null,React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",{className:"quiz-attempts__questions"},Object(c.__)("Questions","learnpress")),React.createElement("th",{className:"quiz-attempts__spend"},Object(c.__)("Time spend","learnpress")),React.createElement("th",{className:"quiz-attempts__marks"},Object(c.__)("Marks","learnpress")),React.createElement("th",{className:"quiz-attempts__grade"},Object(c.__)("Passing grade","learnpress")),React.createElement("th",{className:"quiz-attempts__result"},Object(c.__)("Result","learnpress")))),React.createElement("tbody",null,e.map((function(e,t){if("1"==lpQuizSettings.checkNorequizenroll){var n=window.localStorage.getItem("quiz_start_"+lpQuizSettings.id),r=window.localStorage.getItem("quiz_end_"+lpQuizSettings.id);n&&r&&(e.timeSpend=function(e,t){var n=new Object,r=t-e;n.days=Math.floor(r/1e3/60/60/24),r-=1e3*n.days*60*60*24,n.hours=Math.floor(r/1e3/60/60),r-=1e3*n.hours*60*60,n.minutes=Math.floor(r/1e3/60),r-=1e3*n.minutes*60,n.seconds=Math.floor(r/1e3);var o="00";n.days>0&&(o=String(n.days));1==o.length&&(o="0"+o);var i="00";n.minutes>0&&(i=String(n.minutes));1==i.length&&(i="0"+i);var a="00";n.seconds>0&&(a=String(n.seconds));1==a.length&&(a="0"+a);var u=o+":"+i+":"+a;return n.duration=u,n}(n,r).duration)}return React.createElement("tr",{key:"attempt-".concat(t)},React.createElement("td",{className:"quiz-attempts__questions"},"".concat(e.questionCorrect," / ").concat(e.questionCount)),React.createElement("td",{className:"quiz-attempts__spend"},e.timeSpend||"--"),React.createElement("td",{className:"quiz-attempts__marks"},"".concat(e.userMark," / ").concat(e.mark)),React.createElement("td",{className:"quiz-attempts__grade"},e.passingGrade||"-"),React.createElement("td",{className:"quiz-attempts__result"},"".concat(parseFloat(e.result).toFixed(2),"%")," ",React.createElement("span",null,e.graduationText)))}))))))};function Pe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ee(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ze=function(){var e=Object(u.select)("learnpress/quiz").getData,t=Object(u.dispatch)("learnpress/quiz").submitQuiz,n=e("totalTime")?e("totalTime"):e("duration"),r=e("endTime"),o=new Date(r.replace(/-/g,"/")),a=new Date,s=(new Date).getTimezoneOffset(),c=parseInt(o.getTime()/1e3-(a.getTime()/1e3+60*s)),l=Pe(Object(i.useState)(c>0?c:0),2),f=l[0],p=l[1];Object(i.useEffect)((function(){var e=setInterval((function(){var n=f;(n-=1)>0?p(n):(clearInterval(e),t())}),1e3);return function(){return clearInterval(e)}}),[f]);return React.createElement("div",{className:"countdown"},React.createElement("i",{className:"fas fa-stopwatch"}),React.createElement("span",null,function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":",r=[];return n<3600?(r.push((f-f%60)/60),r.push(f%60)):n&&(r.push((f-f%3600)/3600),e=f%3600,r.push((e-e%60)/60),r.push(e%60)),r.map((function(e){return e<10?"0".concat(e):e})).join(t)}()))},ke=n(9);function Qe(e){return function(e){if(Array.isArray(e))return Ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ae(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(e,t)||Ae(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ne=lodash.debounce,Te=function(){var e=Ie(Object(i.useState)(0),2),t=e[0],n=e[1],r=Ie(Object(i.useState)(!1),2),o=r[0],a=r[1],s=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("id")}),[]),l=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("results")}),[]),f=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("passingGrade")}),[]),p=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("submitting")}),[]);Object(i.useEffect)((function(){m();var e="";if(e=l.graduation?l.graduation:l.result>=v.replace(/[^0-9\.]+/g,"")?"passed":"failed"){var t=document.querySelector(".course-curriculum .course-item.course-item-".concat(s));t&&(t.classList.remove("failed","passed"),t.classList.add("has-status","status-completed",e))}var n=Qe(document.querySelectorAll("#popup-header .items-progress"))[0];if(n){var r=n.querySelector(".items-completed");if(r){parseInt(r.textContent);var o=document.querySelectorAll("#popup-sidebar .course-curriculum .course-item.status-completed");r.textContent=parseInt(o.length)}}}),[l]),Object(i.useEffect)((function(){void 0!==p&&d()}),[p]);var d=function(){var e=document.querySelectorAll(".popup-header__inner");e.length>0&&0===e[0].querySelectorAll("form.form-button-finish-course").length&&Object(ke.a)(e[0])},m=function(){n(0),a(!1),jQuery.easing._customEasing=function(e,t,n,r,o){return r*Math.sqrt(1-(t=t/o-1)*t)+n},Ne((function(){var e=jQuery("<span />").css({width:1,height:1}).appendTo(document.body);e.css("left",0).animate({left:l.result},{duration:1500,step:function(e,t){n(e)},done:function(){a(!0),e.remove(),jQuery("#quizResultGrade").css({transform:"scale(1.3)",transition:"all 0.25s"}),Ne((function(){jQuery("#quizResultGrade").css({transform:"scale(1)"})}),500)()},easing:"_customEasing"})}),l.result>0?1e3:10)()},b=t;Number.isInteger(t)||(b=parseFloat(t).toFixed(2));var y=190*Math.PI,h=y-b/100*y,g={strokeDasharray:"".concat(y," ").concat(y),strokeDashoffset:h},v=l.passingGrade||f,w="";w=l.graduation?l.graduation:b>=v.replace(/[^0-9\.]+/g,"")?"passed":"failed";var O="";O=l.graduationText?l.graduationText:"passed"===w?Object(c.__)("Passed","learnpress"):Object(c.__)("Failed","learnpress");var _=["quiz-result",w];if("1"==lpQuizSettings.checkNorequizenroll){var S=window.localStorage.getItem("quiz_start_"+s),q=window.localStorage.getItem("quiz_end_"+s);S&&q&&(l.timeSpend=function(e,t){var n=new Object,r=t-e;n.days=Math.floor(r/1e3/60/60/24),r-=1e3*n.days*60*60*24,n.hours=Math.floor(r/1e3/60/60),r-=1e3*n.hours*60*60,n.minutes=Math.floor(r/1e3/60),r-=1e3*n.minutes*60,n.seconds=Math.floor(r/1e3);var o="00";n.days>0&&(o=String(n.days));1==o.length&&(o="0"+o);var i="00";n.minutes>0&&(i=String(n.minutes));1==i.length&&(i="0"+i);var a="00";n.seconds>0&&(a=String(n.seconds));1==a.length&&(a="0"+a);var u=o+":"+i+":"+a;return n.duration=u,n}(S,q).duration)}return React.createElement("div",{className:_.join(" ")},React.createElement("h3",{className:"result-heading"},Object(c.__)("Your Result","learnpress")),React.createElement("div",{id:"quizResultGrade",className:"result-grade"},React.createElement("svg",{className:"circle-progress-bar",width:200,height:200},React.createElement("circle",{className:"circle-progress-bar__circle",stroke:"",strokeWidth:10,style:g,fill:"transparent",r:95,cx:100,cy:100})),React.createElement("span",{className:"result-achieved"},"".concat(b,"%")),React.createElement("span",{className:"result-require"},v||"-")),o&&React.createElement("p",{className:"result-message"},O),React.createElement("ul",{className:"result-statistic"},React.createElement("li",{className:"result-statistic-field result-time-spend"},React.createElement("span",null,Object(c.__)("Time spend","learnpress")),React.createElement("p",null,l.timeSpend)),React.createElement("li",{className:"result-statistic-field result-point"},React.createElement("span",null,Object(c.__)("Point","learnpress")),React.createElement("p",null,l.userMark," / ",l.mark)),React.createElement("li",{className:"result-statistic-field result-questions"},React.createElement("span",null,Object(c.__)("Questions","learnpress")),React.createElement("p",null,l.questionCount)),React.createElement("li",{className:"result-statistic-field result-questions-correct"},React.createElement("span",null,Object(c.__)("Correct","learnpress")),React.createElement("p",null,l.questionCorrect)),React.createElement("li",{className:"result-statistic-field result-questions-wrong"},React.createElement("span",null,Object(c.__)("Wrong","learnpress")),React.createElement("p",null,l.questionWrong)),React.createElement("li",{className:"result-statistic-field result-questions-skipped"},React.createElement("span",null,Object(c.__)("Skipped","learnpress")),React.createElement("p",null,l.questionEmpty))))},xe=jQuery,De=lodash.debounce,Me=function(){var e=Object(u.dispatch)("learnpress/quiz").submitQuiz;Object(i.useEffect)((function(){var e=xe("#popup-content");if(e.length){var t=e.find(".content-item-scrollable:eq(1)"),n=e.find(".content-item-wrap"),r=e.find(".quiz-status"),o=r.offset().top-92,i=!1,a="-"+n.css("margin-left");xe(window).on("resize.refresh-quiz-stauts-bar",De((function(){a="-"+n.css("margin-left"),r.css({"margin-left":a,"margin-right":a})}),100)).trigger("resize.refresh-quiz-stauts-bar"),t.on("scroll",(function(){if(t.scrollTop()>=o){if(i)return;i=!0}else{if(!i)return;i=!1}i?e.addClass("fixed-quiz-status"):e.removeClass("fixed-quiz-status")}))}}),[]);var t=Object(u.select)("learnpress/quiz"),n=t.getData,r=t.getUserMark,o=n("currentPage"),a=n("questionsPerPage"),s=n("questionIds").length,l=n("submitting"),f=n("totalTime"),p=n("duration"),d=r(),m=["quiz-status"],b=(o-1)*a+1,y=b+a-1,h="";return y=Math.min(y,s),l&&m.push("submitting"),h=y<s?a>1?Object(c.sprintf)(Object(c.__)("Question <span>%d to %d of %d</span>","learnpress"),b,y,s):Object(c.sprintf)(Object(c.__)("Question <span>%d of %d</span>","learnpress"),b,s):Object(c.sprintf)(Object(c.__)("Question <span>%d to %d</span>","learnpress"),b,y),React.createElement("div",{className:m.join(" ")},React.createElement("div",null,React.createElement("div",{className:"questions-index",dangerouslySetInnerHTML:{__html:h}}),React.createElement("div",{className:"current-point"},Object(c.sprintf)(Object(c.__)("Earned Point: %s","learnpress"),d)),React.createElement("div",null,React.createElement("div",{className:"submit-quiz"},React.createElement("button",{className:"lp-button",id:"button-submit-quiz",onClick:function t(){"no"!==(0,Object(u.select)("learnpress/modal").confirm)(Object(c.__)("Are you sure to submit quiz?","learnpress"),t)&&e()}},l?Object(c.__)("Submitting...","learnpress"):Object(c.__)("Finish Quiz","learnpress"))),f&&p&&React.createElement(ze,null))))};function Le(e){return function(e){if(Array.isArray(e))return Ue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ue(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){Be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Je=lodash,Ge=(Je.omit,Je.flow),Ke=Je.isArray,We=Je.chunk,$e=(LP.camelCaseDashObjectKeys,LP.localStorage),Ze=$e.get,Ye=$e.set,Ve={},Xe=function(e,t){var n=Fe(Fe({},e.answered[t.questionId]||{}),{},{answered:t.answers,temp:!0});return Fe(Fe({},e),{},{answered:Fe(Fe({},e.answered),{},Be({},t.questionId,n))})},et=function(e,t){var n=e.questionsRendered;return Ke(n)?(n.push(t.questionId),Fe(Fe({},e),{},{questionsRendered:Le(n)})):Fe(Fe({},e),{},{questionsRendered:[t.questionId]})},tt=function(e,t){return t.currentPage&&Ye("Q".concat(e.id,".currentPage"),t.currentPage),Fe(Fe({},e),t)},nt=function(e,t){var n=e.questions.map((function(e){return e.id==t.questionId?Fe(Fe({},e),{},{showHint:t.showHint}):e}));return Fe(Fe({},e),{},{questions:Le(n)})},rt=function(e,t){var n=e.questions.map((function(e){if(e.id!==t.questionId)return e;var n={explanation:t.explanation};return t.options&&(n.options=t.options),Fe(Fe({},e),n)}));return Fe(Fe({},e),{},{questions:Le(n),answered:Fe(Fe({},e.answered),{},Be({},t.questionId,t.result)),checkedQuestions:[].concat(Le(e.checkedQuestions),[t.questionId])})},ot=function(e,t){var n=e.questions.map((function(n){var r={};return e.reviewQuestions&&(t.results.questions[n.id].explanation&&(r.explanation=t.results.questions[n.id].explanation),t.results.questions[n.id].options&&(r.options=t.results.questions[n.id].options)),Fe(Fe({},n),r)}));return tt(e,Fe(Fe({submitting:!1,currentPage:1},t.results),{},{questions:Le(n)}))},it=function(e,t){var n=void 0!==t.results.success&&t.results.success,r=t.results.message||!1;return tt(e,Fe(Fe({checkedQuestions:[],hintedQuestions:[],mode:"",currentPage:1},t.results.results),{},{successResponse:n,messageResponse:r}))},at=Ge(u.combineReducers,(function(e){return function(t,n){return e(t,n)}}),(function(e){return function(t,n){return e(t,n)}}),(function(e){return function(t,n){return e(t,n)}}))({a:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{a:1};return e},b:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{b:2};return e}}),ut=Object(u.combineReducers)({blocks:at,userQuiz:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ve,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_QUIZ_DATA":1>t.data.questionsPerPage&&(t.data.questionsPerPage=1);var n=We(e.questionIds||t.data.questionIds,t.data.questionsPerPage);return t.data.numPages=n.length,t.data.pages=n,Fe(Fe(Fe({},e),t.data),{},{currentPage:Ze("Q".concat(t.data.id,".currentPage"))||t.data.currentPage});case"SUBMIT_QUIZ":return Fe(Fe({},e),{},{submitting:!0});case"START_QUIZ":case"START_QUIZ_SUCCESS":return it(e,t);case"SET_CURRENT_QUESTION":return Ye("Q".concat(e.id,".currentQuestion"),t.questionId),Fe(Fe({},e),{},{currentQuestion:t.questionId});case"SET_CURRENT_PAGE":return Ye("Q".concat(e.id,".currentPage"),t.currentPage),Fe(Fe({},e),{},{currentPage:t.currentPage});case"SUBMIT_QUIZ_SUCCESS":return ot(e,t);case"UPDATE_USER_QUESTION_ANSWERS":return"started"===e.status?Xe(e,t):e;case"MARK_QUESTION_RENDERED":return et(e,t);case"SET_QUIZ_MODE":return"reviewing"==t.mode?tt(e,{mode:t.mode}):Fe(Fe({},e),{},{mode:t.mode});case"SET_QUESTION_HINT":return nt(e,t);case"CHECK_ANSWER":return rt(e,t);case"SEND_KEY":return Fe(Fe({},e),{},{keyPressed:t.keyPressed})}return e}}),st=n(10);function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var lt=regeneratorRuntime.mark(Et),ft=regeneratorRuntime.mark(Qt),pt=regeneratorRuntime.mark(At);function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e){return function(e){if(Array.isArray(e))return bt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return bt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yt(){var e=[].slice.call(arguments,2),t=Object(u.dispatch)(arguments[0]),n=arguments[1];t[n].apply(t,mt(e))}var ht=LP,gt=ht.camelCaseDashObjectKeys,vt=ht.Hook;function wt(e,t){return t="string"==typeof e?dt({},e,t):e,"1"==lpQuizSettings.checkNorequizenroll&&null!==window.localStorage.getItem("quiz_userdata_"+lpQuizSettings.id)&&(t=JSON.parse(window.localStorage.getItem("quiz_userdata_"+lpQuizSettings.id))),{type:"SET_QUIZ_DATA",data:gt(t)}}function Ot(e){return{type:"SET_CURRENT_QUESTION",questionId:e}}function _t(e){return{type:"SET_CURRENT_PAGE",currentPage:e}}function St(e,t,n){return{type:"BEFORE_START_QUIZ"}}function qt(e,t,n,r){return vt.doAction("quiz-started",e,t,n,r),{type:"START_QUIZ_SUCCESS",quizId:t,courseId:n,userId:r,results:e}}var jt=regeneratorRuntime.mark((function e(){var t,n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Object(u.select)("learnpress/quiz").getDefaultRestArgs(),n=t.itemId,r=t.courseId,!0===vt.applyFilters("before-start-quiz",!0,n,r)){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,Object(st.apiFetch)({path:"lp/v1/users/start-quiz",method:"POST",data:{item_id:n,course_id:r}});case 6:return o=e.sent,o=vt.applyFilters("request-start-quiz-response",o,n,r),e.next=10,yt("learnpress/quiz","__requestStartQuizSuccess",gt(o),n,r);case 10:case"end":return e.stop()}}),e)}));function Rt(){return{type:"SUBMIT_QUIZ"}}function Pt(e,t,n){return vt.doAction("quiz-submitted",e,t,n),{type:"SUBMIT_QUIZ_SUCCESS",results:e}}function Et(){var e,t,n,r,o,i,a,s;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(e=Object(u.select)("learnpress/quiz"),t=e.getDefaultRestArgs,n=e.getQuestionsSelectedAnswers,r=t(),o=r.itemId,i=r.courseId,!0===vt.applyFilters("before-submit-quiz",!0)){c.next=5;break}return c.abrupt("return");case 5:return a=n(),c.next=8,Object(st.apiFetch)({path:"lp/v1/users/submit-quiz",method:"POST",data:{item_id:o,course_id:i,answered:a}});case 8:if(s=c.sent,"1"==lpQuizSettings.checkNorequizenroll&&(window.localStorage.removeItem("quiz_end_"+lpQuizSettings.id),window.localStorage.setItem("quiz_end_"+lpQuizSettings.id,Date.now())),!(s=vt.applyFilters("request-submit-quiz-response",s,o,i)).success){c.next=14;break}return c.next=14,yt("learnpress/quiz","__requestSubmitQuizSuccess",gt(s.results),o,i);case 14:"1"==lpQuizSettings.checkNorequizenroll&&localStorage.setItem("quiz_userdata_"+lpQuizSettings.id,JSON.stringify(Object(u.select)("learnpress/quiz").getData()));case 15:case"end":return c.stop()}}),lt)}function zt(e,t,n){return{type:"UPDATE_USER_QUESTION_ANSWERS",questionId:e,answers:t}}function kt(e,t){return{type:"SET_QUESTION_HINT",questionId:e,showHint:t}}function Qt(e,t){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,yt("learnpress/quiz","__requestShowHintSuccess",e,t);case 2:case"end":return n.stop()}}),ft)}function It(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(n),!0).forEach((function(t){dt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:"CHECK_ANSWER",questionId:e},t)}function At(e){var t,n,r,o,i,a,s;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=Object(u.select)("learnpress/quiz"),n=t.getDefaultRestArgs,r=t.getQuestionAnswered,o=n(),i=o.itemId,a=o.courseId,c.next=4,Object(st.apiFetch)({path:"lp/v1/users/check-answer",method:"POST",data:{item_id:i,course_id:a,question_id:e,answered:r(e)||""}});case 4:return s=c.sent,c.next=7,yt("learnpress/quiz","__requestCheckAnswerSuccess",e,gt(s));case 7:case"end":return c.stop()}}),pt)}function Ct(e){return{type:"MARK_QUESTION_RENDERED",questionId:e}}function Nt(e){return{type:"SET_QUIZ_MODE",mode:e}}function Tt(e){return setTimeout((function(){yt("learnpress/quiz","sendKey","")}),300),{type:"SEND_KEY",keyPressed:e}}var xt=lodash,Dt=xt.get,Mt=xt.isArray,Lt=function(e,t){console.time("parseOptions");var n=Yt(e,t).options;return n=Mt(n)?n:JSON.parse(CryptoJS.AES.decrypt(n.data,n.key,{format:CryptoJSAesJson}).toString(CryptoJS.enc.Utf8)),n=Mt(n)?n:JSON.parse(n),console.timeEnd("parseOptions"),n};function Ut(e,t){var n=Object(u.select)("course-learner/user").getItemById(t);return n?Dt(n,"userSettings.status"):""}function Ht(e,t,n){return e[t]||n}function Ft(e,t){var n=Object(u.select)("course-learner/user").getItemById(t);return n?Dt(n,"userSettings.attempts"):[]}function Bt(e,t){var n=Object(u.select)("course-learner/user").getItemById(t);return n?Dt(n,"userSettings.answered",{}):{}}function Jt(e){var t=e.userQuiz,n=Dt(t,"questions");return n?Object.values(n):[]}function Gt(e,t){var n=e.userQuiz;return t?Dt(n,t):n}function Kt(e){var t=e.userQuiz;return{itemId:t.id,courseId:t.courseId}}function Wt(e,t){var n=e.userQuiz;return Dt(n,"answered.".concat(t,".answered"))||void 0}function $t(e,t){var n=e.userQuiz;return Dt(n,"answered.".concat(t,".mark"))||void 0}function Zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Dt(e,"userQuiz.questionsPerPage")||1;if(n>1)return!1;var r=Dt(e,"userQuiz.currentPage")||1;return Dt(e,"object"===t?"userQuiz.questions[".concat(r-1,"]"):"userQuiz.questionIds[".concat(r-1,"]"))}var Yt=function(e,t){e.userQuiz;return Object(u.select)("learnpress/quiz").getQuestions().find((function(e){return e.id==t}))};function Vt(e,t){return-1!==(Dt(e,"userQuiz.checkedQuestions")||[]).indexOf(t)}function Xt(e,t){}var en=function(e,t){var n=Dt(e,"userQuiz.answered"),r={};for(var o in n)if(n.hasOwnProperty(o))if("1"==lpQuizSettings.checknorequizenroll){if(t&&o===t)return n[o].answered;r[o]=n[o].answered}else if(n[o].temp||n[o].blanks){if(t&&o===t)return n[o].answered;r[o]=n[o].answered}return r};function tn(e){var t=e.userQuiz||{},n=t.answered,r=t.negativeMarking,o=t.questions,i=t.checkedQuestions,a=0,u=function(e){if(!n.hasOwnProperty(e))return s=e,"continue";e=parseInt(e);var t,u=n[e],c=u.questionMark?u.questionMark:(t=o.find((function(t){return s=e,t.id===e})),s=e,t?t.point:0);i.indexOf(e);if(u.temp)return s=e,"continue";r?u.answered&&(a=u.correct?a+u.mark:a-c):u.answered&&u.correct&&(a+=u.mark),s=e};for(var s in n)u(s);return a>0?a:0}var nn=n(7),rn=n.n(nn),on={ENROLL_COURSE_X:function(e,t){}};var an=function(e){var t=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},n={getState:e.getState,dispatch:function(){return t.apply(void 0,arguments)}};return t=rn()(on)(n)(e.dispatch),e.dispatch=t,e};function un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cn=LP.dataControls.controls,ln=Object(u.registerStore)("learnpress/quiz",{reducer:ut,selectors:o,actions:r,controls:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},cn)});an(ln);function fn(e){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mn(e,t){return(mn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gn(e);if(t){var o=gn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yn(this,n)}}function yn(e,t){return!t||"object"!==fn(t)&&"function"!=typeof t?hn(e):t}function hn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e){return(gn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wn=lodash.chunk,On=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mn(e,t)}(i,e);var t,n,r,o=bn(i);function i(e){var t;return pn(this,i),vn(hn(t=o.apply(this,arguments)),"startQuiz",(function(e){t.props.startQuiz()})),t.state={currentPage:1,numPages:0,pages:[]},t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.settings,n=e.setQuizData,r=t.question_ids,o=t.questions_per_page,i=wn(r,o);t.currentPage=1,t.numPages=i.length,t.pages=i,n(t)}},{key:"render",value:function(){var e=this.props,t=e.status,n=e.isReviewing,r=-1!==["","completed","viewed"].indexOf(t)||!t,o=-1!==["","viewed",void 0].indexOf(t)||!t;return void 0!==t&&React.createElement(React.Fragment,null,React.createElement("div",null,!n&&"completed"===t&&React.createElement(Te,null),!n&&o&&React.createElement(p,null),!n&&o&&React.createElement(s,null),"started"===t&&React.createElement(Me,null),(-1!==["completed","started"].indexOf(t)||n)&&React.createElement(je,null),React.createElement(P,null),r&&!n&&React.createElement(Re,null)))}}])&&dn(t.prototype,n),r&&dn(t,r),i}(i.Component),_n=Object(a.compose)([Object(u.withSelect)((function(e){var t=e("learnpress/quiz"),n=t.getQuestions,r=t.getData;return{questions:n(),status:r("status"),store:r(),answered:r("answered"),isReviewing:"reviewing"===r("mode"),questionIds:r("questionIds"),checkCount:r("instantCheck"),questionsPerPage:r("questionsPerPage")||1}})),Object(u.withDispatch)((function(e){var t=e("learnpress/quiz");return{setQuizData:t.setQuizData,startQuiz:t.startQuiz}}))])(On);n(11);function Sn(e){return function(e){if(Array.isArray(e))return qn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jn=LP.modal.default,Rn=(t.default=_n,function(e,t){wp.element.render(React.createElement(jn,null,React.createElement(_n,{settings:t})),Sn(document.querySelectorAll(e))[0]),LP.Hook.doAction("lp-quiz-compatible-builder")})}]);
3
  Copyright (c) 2018 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var u in r)n.call(r,u)&&r[u]&&e.push(u);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return Rn}));var r={};n.r(r),n.d(r,"setQuizData",(function(){return wt})),n.d(r,"setCurrentQuestion",(function(){return Ot})),n.d(r,"setCurrentPage",(function(){return _t})),n.d(r,"__requestBeforeStartQuiz",(function(){return St})),n.d(r,"__requestStartQuizSuccess",(function(){return qt})),n.d(r,"startQuiz",(function(){return jt})),n.d(r,"__requestSubmitQuiz",(function(){return Rt})),n.d(r,"__requestSubmitQuizSuccess",(function(){return Et})),n.d(r,"submitQuiz",(function(){return Pt})),n.d(r,"updateUserQuestionAnswers",(function(){return zt})),n.d(r,"__requestShowHintSuccess",(function(){return kt})),n.d(r,"showHint",(function(){return Qt})),n.d(r,"__requestCheckAnswerSuccess",(function(){return It})),n.d(r,"checkAnswer",(function(){return At})),n.d(r,"markQuestionRendered",(function(){return Ct})),n.d(r,"setQuizMode",(function(){return Nt})),n.d(r,"sendKey",(function(){return Tt}));var o={};n.r(o),n.d(o,"getQuestionOptions",(function(){return Lt})),n.d(o,"getItemStatus",(function(){return Ut})),n.d(o,"getProp",(function(){return Ht})),n.d(o,"getQuizAttempts",(function(){return Ft})),n.d(o,"getQuizAnswered",(function(){return Bt})),n.d(o,"getQuestions",(function(){return Jt})),n.d(o,"getData",(function(){return Gt})),n.d(o,"getDefaultRestArgs",(function(){return Kt})),n.d(o,"getQuestionAnswered",(function(){return Wt})),n.d(o,"getQuestionMark",(function(){return $t})),n.d(o,"getCurrentQuestion",(function(){return Zt})),n.d(o,"getQuestion",(function(){return Yt})),n.d(o,"isCheckedAnswer",(function(){return Vt})),n.d(o,"isCorrect",(function(){return Xt})),n.d(o,"getQuestionsSelectedAnswers",(function(){return en})),n.d(o,"getUserMark",(function(){return tn}));var i=n(3),a=n(4),u=n(1),s=function(){var e=Object(u.select)("learnpress/quiz").getData("content");return React.createElement("div",{className:"quiz-content",dangerouslySetInnerHTML:{__html:e}})},c=n(0),l=function(e){var t;if(e>86400)t=(e-e%86400)/86400,e%=86400;else if(86400==e)return"24:00";var n=new Date(1e3*e).toUTCString().match(/\d{2}:\d{2}:\d{2}/)[0].split(":");return t&&(n[0]=parseInt(n[0])+24*t),n.join(":")},f=LP.Hook,p=function(){var e=function(e){return Object(u.select)("learnpress/quiz").getData(e)},t=f.applyFilters("quiz-meta-fields",{duration:{title:Object(c.__)("Duration:","learnpress"),name:"duration",content:l(e("duration"))||"--"},passingGrade:{title:Object(c.__)("Passing grade:","learnpress"),name:"passing-grade",content:e("passingGrade")||"--"},questionsCount:{title:Object(c.__)("Questions:","learnpress"),name:"questions-count",content:e("questionIds")?e("questionIds").length:0}});return t&&React.createElement(React.Fragment,null,React.createElement("ul",{className:"quiz-intro"},Object.values(t).map((function(e,t){var n=e.name||t;return React.createElement("li",{key:"quiz-intro-field-".concat(t),className:"quiz-intro-item quiz-intro-item--".concat(n)},React.createElement("div",{className:"quiz-intro-item__title",dangerouslySetInnerHTML:{__html:e.title}}),React.createElement("span",{className:"quiz-intro-item__content",dangerouslySetInnerHTML:{__html:e.content}}))}))))};function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(i,e);var t,n,r,o=w(i);function i(){var e;h(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return q(_(e=o.call.apply(o,[this].concat(n))),"startQuiz",(function(t){t&&t.preventDefault();var n=document.querySelector(".lp-button.start");n&&n.setAttribute("disabled","disabled");var r=e.props,o=r.startQuiz;if("completed"===r.status){var i=Object(u.select)("learnpress/modal"),a=i.confirm,s=i.isOpen;if("no"===a(Object(c.__)("Are you sure you want to retake quiz?","learnpress"),e.startQuiz))return void(!s()&&n&&n.removeAttribute("disabled"))}if("1"==lpQuizSettings.checkNorequizenroll){window.localStorage.removeItem("quiz_start_"+lpQuizSettings.id),window.localStorage.setItem("quiz_start_"+lpQuizSettings.id,Date.now());var l=window.localStorage.getItem("quiz_retake_"+lpQuizSettings.id);l>=1?window.localStorage.setItem("quiz_retake_"+lpQuizSettings.id,parseInt(l)+1):window.localStorage.setItem("quiz_retake_"+lpQuizSettings.id,1),window.localStorage.removeItem("quiz_userdata_"+lpQuizSettings.id)}o()})),q(_(e),"nav",(function(t){return function(n){var r=e.props,o=r.questionNav,i=r.currentPage,a=r.numPages,u=r.setCurrentPage;switch(t){case"prev":i>1?i-=1:i="infinity"===o?a:1;break;default:i<a?i+=1:i="infinity"===o?1:a}u(i)}})),q(_(e),"moveTo",(function(t){return function(n){n.preventDefault();var r=e.props,o=r.numPages,i=r.setCurrentPage;t<1||t>o||i(t)}})),q(_(e),"isLast",(function(){var t=e.props;return t.currentPage===t.numPages})),q(_(e),"isFirst",(function(){return 1===e.props.currentPage})),q(_(e),"submit",(function(){var t=e.props.submitQuiz;"no"!==(0,Object(u.select)("learnpress/modal").confirm)(Object(c.__)("Are you sure to submit quiz?","learnpress"),e.submit)&&t()})),q(_(e),"setQuizMode",(function(t){return function(){(0,e.props.setQuizMode)(t)}})),q(_(e),"isReviewing",(function(){return e.props.isReviewing})),e}return t=i,(n=[{key:"pageNumbers",value:function(e){var t=this,n=this.props,r=n.numPages,o=n.currentPage;if(r<2)return"";(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({numPages:r,currentPage:o,midSize:1,endSize:1,prevNext:!0},e||{})).endSize<1&&(e.endSize=1),e.midSize<0&&(e.midSize=1);var i=m(Array(r).keys()),a=!1;return React.createElement("div",{className:"nav-links"},e.prevNext&&!this.isFirst()&&React.createElement("button",{className:"page-numbers prev","data-type":"question-navx",onClick:this.nav("prev")},Object(c.__)("Prev","learnpress")),i.map((function(n){return(n+=1)===e.currentPage?(a=!0,React.createElement("span",{key:"page-number-".concat(n),className:"page-numbers current"},n)):n<=e.endSize||e.currentPage&&n>=e.currentPage-e.midSize&&n<=e.currentPage+e.midSize||n>e.numPages-e.endSize?(a=!0,React.createElement("button",{key:"page-number-".concat(n),className:"page-numbers",onClick:t.moveTo(n)},n)):a?(a=!1,React.createElement("span",{key:"page-number-".concat(n),className:"page-numbers dots"},"…")):""})),e.prevNext&&!this.isLast()&&React.createElement("button",{className:"page-numbers next","data-type":"question-navx",onClick:this.nav("next")},Object(c.__)("Next","learnpress")))}},{key:"render",value:function(){var e=this.props,t=e.status,n=e.questionNav,r=e.isReviewing,o=e.showReview,i=e.numPages,a=(e.question,e.questionsPerPage,e.canRetry),u=e.retakeNumber,s=["quiz-buttons"];("started"===t||r)&&s.push("align-center"),"questionNav"===n&&s.push("infinity"),this.isFirst()&&s.push("is-first"),this.isLast()&&s.push("is-last");var l=document.querySelector("#popup-sidebar"),f=document.querySelector("#learn-press-quiz-app"),p="";p="started"===t||r?{marginLeft:l&&l.offsetWidth/2,width:f&&f.offsetWidth}:null;var d=" fixed";return"no"==lpQuizSettings.navigationPosition&&(d=" nav-center"),React.createElement(React.Fragment,null,React.createElement("div",{className:s.join(" ")},React.createElement("div",{className:"button-left"+("started"===t||r?d:""),style:p},("completed"===t&&a||-1!==["","viewed"].indexOf(t))&&!r&&React.createElement("button",{className:"lp-button start",onClick:this.startQuiz},"completed"===t?"".concat(Object(c.__)("Retake","learnpress")).concat(u?" (".concat(u,")"):""):Object(c.__)("Start","learnpress")),("started"===t||r)&&i>1&&React.createElement(React.Fragment,null,React.createElement("div",{className:"questions-pagination"},this.pageNumbers()))),React.createElement("div",{className:"button-right"},"started"===t&&React.createElement(React.Fragment,null,("infinity"===n||this.isLast())&&!r&&React.createElement("button",{className:"lp-button submit-quiz",onClick:this.submit},Object(c.__)("Finish Quiz","learnpress"))),r&&o&&React.createElement("button",{className:"lp-button back-quiz",onClick:this.setQuizMode("")},Object(c.__)("Result","learnpress")),"completed"===t&&o&&!r&&React.createElement("button",{className:"lp-button review-quiz",onClick:this.setQuizMode("reviewing")},Object(c.__)("Review","learnpress")))),this.props.message&&!0!==this.props.success&&React.createElement("div",{className:"learn-press-message error"},this.props.message))}}])&&g(t.prototype,n),r&&g(t,r),i}(i.Component),R=Object(a.compose)(Object(u.withSelect)((function(e){var t=e("learnpress/quiz").getData;return{status:t("status"),showCheck:t("instantCheck"),checkedQuestions:t("checkedQuestions"),hintedQuestions:t("hintedQuestions"),questionsPerPage:t("questionsPerPage")}})))((function(e){var t=e.showCheck,n=e.checkedQuestions,r=e.hintedQuestions,o=e.question,i=e.status,a=e.type,u=e.Button;if("started"!==i)return!1;var s=React.createElement(u,{question:o});switch(a){case"hint":return r?!!o.hasHint&&(-1===r.indexOf(o.id)&&s):s;case"check":return!!t&&(n?-1===n.indexOf(o.id)&&s:s)}})),E=Object(a.compose)([Object(u.withSelect)((function(e){var t=e("learnpress/quiz"),n=t.getData,r=t.getCurrentQuestion,o={id:n("id"),status:n("status"),questionIds:n("questionIds"),questionNav:n("questionNav"),isReviewing:n("reviewQuestions")&&"reviewing"===n("mode"),showReview:n("reviewQuestions"),showCheck:n("instantCheck"),checkedQuestions:n("checkedQuestions"),hintedQuestions:n("hintedQuestions"),numPages:n("numPages"),pages:n("pages"),currentPage:n("currentPage"),questionsPerPage:n("questionsPerPage"),pageNumbers:n("pageNumbers"),keyPressed:n("keyPressed"),canRetry:n("retakeCount")>0&&n("retaken")<n("retakeCount"),retakeNumber:n("retakeCount")>0&&n("retaken")<n("retakeCount")?n("retakeCount")-n("retaken"):null,message:n("messageResponse")||!1,success:void 0===n("successResponse")||n("successResponse")};if(1===o.questionsPerPage&&(o.question=r("object")),"1"==lpQuizSettings.checkNorequizenroll){var i=window.localStorage.getItem("quiz_retake_"+lpQuizSettings.id);n("retakeCount")>i?(o.retakeNumber=n("retakeCount")-i,o.canRetry=!0):o.canRetry=!1}return o})),Object(u.withDispatch)((function(e,t){t.id;var n=e("learnpress/quiz"),r=n.startQuiz,o=n.setCurrentQuestion,i=n.submitQuiz,a=n.setQuizMode,u=n.showHint,s=n.checkAnswer;return{startQuiz:r,setCurrentQuestion:o,setQuizMode:a,setCurrentPage:n.setCurrentPage,submitQuiz:function(e){i(e)},showHint:function(e){u(e)},checkAnswer:function(e){s(e)}}}))])(j);function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return A(this,n)}}function A(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return C(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(i,e);var t,n,r,o=I(i);function i(){var e;z(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return T(C(e=o.call.apply(o,[this].concat(n))),"showHint",(function(){var t=e.props,n=t.showHint,r=t.question;n(r.id,!r.showHint)})),e}return t=i,(n=[{key:"render",value:function(){return this.props.question.hint?React.createElement("button",{className:"btn-show-hint",onClick:this.showHint},React.createElement("span",null,Object(c.__)("Hint","learnpress"))):""}}])&&k(t.prototype,n),r&&k(t,r),i}(i.Component),D=Object(a.compose)(Object(u.withDispatch)((function(e,t){t.id;var n=e("learnpress/quiz").showHint;return{showHint:function(e,t){n(e,t)}}})))(x),M=n(13),L=n.n(M);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=W(e);if(t){var o=W(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return G(this,n)}}function G(e,t){if(t&&("object"===U(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return K(e)}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}(i,e);var t,n,r,o=J(i);function i(){var e;return H(this,i),$(K(e=o.apply(this,arguments)),"checkAnswer",(function(){var t=e.props,n=t.checkAnswer,r=t.question;t.answered&&(n(r.id),e.setState({loading:!0}))})),e.state={loading:!1},e}return t=i,(n=[{key:"render",value:function(){var e=this.props.answered;return React.createElement(React.Fragment,null,React.createElement("button",{className:L()("lp-button","instant-check",{loading:this.state.loading,disable:!e}),onClick:this.checkAnswer},React.createElement("span",{className:"instant-check__icon"}),Object(c.__)("Check answer","learnpress"),!e&&React.createElement("div",{className:"instant-check__info",dangerouslySetInnerHTML:{__html:Object(c.__)("You need to answer the question before check answer.","learnpress")}})))}}])&&F(t.prototype,n),r&&F(t,r),i}(i.Component),Y=Object(a.compose)(Object(u.withSelect)((function(e,t){var n=t.question.id;return{answered:(0,e("learnpress/quiz").getQuestionAnswered)(n)}})),Object(u.withDispatch)((function(e,t){t.id;var n=e("learnpress/quiz").checkAnswer;return{checkAnswer:function(e){n(e)}}})))(Z),V=function(e){var t=e.question,n={"instant-check":function(){return React.createElement(R,{type:"check",Button:Y,question:t})},hint:function(){return React.createElement(R,{type:"hint",Button:D,question:t})}};return React.createElement(React.Fragment,null,LP.config.questionFooterButtons().map((function(e){return React.createElement(i.Fragment,{key:"button-".concat(e)},n[e]&&n[e]())})))};function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ie(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=se(e);if(t){var o=se(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ae(this,n)}}function ae(e,t){if(t&&("object"===X(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ue(e)}function ue(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le=window.jQuery,fe=lodash,pe=(fe.uniqueId,fe.isArray),de=(fe.isNumber,fe.bind,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oe(e,t)}(a,e);var t,n,r,o=ie(a);function a(){var e;return ne(this,a),ce(ue(e=o.apply(this,arguments)),"setRef",(function(t){e.$wrap=le(t)})),ce(ue(e),"parseOptions",(function(e){return e&&(e=pe(e)?e:JSON.parse(CryptoJS.AES.decrypt(e.data,e.key,{format:CryptoJSAesJson}).toString(CryptoJS.enc.Utf8)),e=pe(e)?e:JSON.parse(e)),e||[]})),ce(ue(e),"getWrapperClass",(function(){var t=e.props,n=t.question,r=(t.answered,["question","question-"+n.type]),o=e.parseOptions(n.options);return o.length&&void 0!==o[0].isTrue&&r.push("question-answered"),r})),ce(ue(e),"getEditLink",(function(){var t=e.props,n=t.question,r=t.editPermalink;return r?r.replace(/post=(.*[0-9])/,"post=".concat(n.id)):""})),ce(ue(e),"editPermalink",(function(e){return Object(c.sprintf)('<a href="%s">%s</a>',e,Object(c.__)("Edit","learnpress"))})),e.state={time:null,showHint:!1},e.$wrap=null,e}return t=a,(n=[{key:"componentDidMount",value:function(e){var t=this.props,n=t.question,r=t.isCurrent,o=t.markQuestionRendered;return r&&o(n.id),this.state.time||this.setState({time:new Date}),LP.Hook.doAction("lp-question-compatible-builder"),"undefined"!=typeof MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub]),e}},{key:"render",value:function(){var e=this,t=this.props,n=t.question,r=t.isShow,o=t.isShowIndex,a=(t.isShowHint,t.status),u=LP.questionTypes.default,s=this.getEditLink();s&&jQuery("#wp-admin-bar-edit-lp_question").find(".ab-item").attr("href",s);var l={index:function(){return o?React.createElement("span",{className:"question-index"},o,"."):""},title:function(){return React.createElement("span",{dangerouslySetInnerHTML:{__html:n.title}})},hint:function(){return React.createElement(D,{question:n})},"edit-permalink":function(){return s&&React.createElement("span",{dangerouslySetInnerHTML:{__html:e.editPermalink(s)},className:"edit-link"})}},f={title:function(){return React.createElement("h4",{className:"question-title"},LP.config.questionTitleParts().map((function(e){return React.createElement(i.Fragment,{key:"title-part-".concat(e)},l[e]&&l[e]())})))},content:function(){return React.createElement("div",{className:"question-content",dangerouslySetInnerHTML:{__html:n.content}})},"answer-options":function(){return e.$wrap&&React.createElement(u,te(te({},e.props),{},{$wrap:e.$wrap}))},explanation:function(){return n.explanation&&React.createElement(React.Fragment,null,React.createElement("div",{className:"question-explanation-content"},React.createElement("strong",{className:"explanation-title"},Object(c.__)("Explanation","learnpress"),":"),React.createElement("div",{dangerouslySetInnerHTML:{__html:n.explanation}})))},hint:function(){return n.hint&&!n.explanation&&n.showHint&&React.createElement(React.Fragment,null,React.createElement("div",{className:"question-hint-content"},React.createElement("strong",{className:"hint-title"},Object(c.__)("Hint","learnpress"),":"),React.createElement("div",{dangerouslySetInnerHTML:{__html:n.hint}})))},buttons:function(){return"started"===a&&React.createElement(V,{question:n})}},p=LP.config.questionBlocks();return React.createElement(React.Fragment,null,React.createElement("div",{className:this.getWrapperClass().join(" "),style:{display:r?"":"none"},"data-id":n.id,ref:this.setRef},p.map((function(e){return React.createElement(i.Fragment,{key:"block-".concat(e)},f[e]?f[e]():"")}))))}}])&&re(t.prototype,n),r&&re(t,r),a}(i.Component)),me=Object(a.compose)([Object(u.withSelect)((function(e,t){var n=t.question.id,r=e("learnpress/quiz"),o=r.getData,i=r.getQuestionAnswered,a=r.getQuestionMark;return{status:o("status"),questions:o("question"),answered:i(n),questionsRendered:o("questionsRendered"),editPermalink:o("editPermalink"),numPages:o("numPages"),mark:a(n)||""}})),Object(u.withDispatch)((function(e){var t=e("learnpress/quiz"),n=t.updateUserQuestionAnswers;return{markQuestionRendered:t.markQuestionRendered,updateUserQuestionAnswers:n}}))])(de);function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var o=_e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return we(this,n)}}function we(e,t){if(t&&("object"===ye(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Oe(e)}function Oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(i,e);var t,n,r,o=ve(i);function i(e){var t;return be(this,i),Se(Oe(t=o.apply(this,arguments)),"startQuiz",(function(e){e.preventDefault(),(0,t.props.startQuiz)()})),Se(Oe(t),"isInVisibleRange",(function(e,n){var r=t.props,o=r.currentPage,i=r.questionsPerPage;return o===Math.ceil(n/i)})),Se(Oe(t),"nav",(function(e){var n=t.props.sendKey;switch(e.keyCode){case 37:return n("left");case 38:return;case 39:return n("right");case 40:return;default:e.keyCode>=49&&e.keyCode<=57&&n(e.keyCode-48)}})),t.needToTop=!1,t.state={isReviewing:null,currentPage:0,self:Oe(t)},t}return t=i,r=[{key:"getDerivedStateFromProps",value:function(e,t){for(var n=["isReviewing","currentPage"],r={},o=0;o<n.length;o++)e[n[o]]!==t[n[o]]&&(r[n[o]]=e[n[o]]);return Object.values(r).length?(t.self.needToTop=!0,r):null}}],(n=[{key:"componentDidUpdate",value:function(){this.needToTop&&(jQuery("#popup-content").animate({scrollTop:0}).find(".content-item-scrollable:last").animate({scrollTop:0}),this.needToTop=!1)}},{key:"render",value:function(){var e=this,t=this.props,n=t.status,r=t.currentQuestion,o=t.questions,i=t.questionsRendered,a=t.isReviewing,u=t.questionsPerPage,s=!0;return"completed"!==n||a||(s=!1),React.createElement(React.Fragment,null,React.createElement("div",{tabIndex:100,onKeyUp:this.nav},React.createElement("div",{className:"quiz-questions",style:{display:s?"":"none"}},o.map((function(t,n){var o=!u&&r===t.id,a=i&&-1!==i.indexOf(t.id),s=e.isInVisibleRange(t.id,n+1);return a||!a||s?React.createElement(me,{key:"loop-question-".concat(t.id),isCurrent:o,isShow:s,isShowIndex:!!u&&n+1,questionsPerPage:u,question:t}):""})))))}}])&&he(t.prototype,n),r&&he(t,r),i}(i.Component),je=Object(a.compose)(Object(u.withSelect)((function(e,t,n){var r=e("learnpress/quiz"),o=r.getData,i=r.getQuestions;return{status:o("status"),currentQuestion:o("currentQuestion"),questions:i(),questionsRendered:o("questionsRendered"),isReviewing:"reviewing"===o("mode"),numPages:o("numPages"),currentPage:o("currentPage"),questionsPerPage:o("questionsPerPage")||1}})),Object(u.withDispatch)((function(e){var t=e("learnpress/quiz");return{startQuiz:t.startQuiz,sendKey:t.sendKey}})))(qe);var Re=function(){var e=Object(u.select)("learnpress/quiz").getData("attempts")||[],t=e&&!!e.length;return!!t&&React.createElement(React.Fragment,null,React.createElement("div",{className:"quiz-attempts"},React.createElement("h4",{className:"attempts-heading"},Object(c.__)("Last Attempted","learnpress")),t&&React.createElement("table",null,React.createElement("thead",null,React.createElement("tr",null,React.createElement("th",{className:"quiz-attempts__questions"},Object(c.__)("Questions","learnpress")),React.createElement("th",{className:"quiz-attempts__spend"},Object(c.__)("Time spend","learnpress")),React.createElement("th",{className:"quiz-attempts__marks"},Object(c.__)("Marks","learnpress")),React.createElement("th",{className:"quiz-attempts__grade"},Object(c.__)("Passing grade","learnpress")),React.createElement("th",{className:"quiz-attempts__result"},Object(c.__)("Result","learnpress")))),React.createElement("tbody",null,e.map((function(e,t){if("1"==lpQuizSettings.checkNorequizenroll){var n=window.localStorage.getItem("quiz_start_"+lpQuizSettings.id),r=window.localStorage.getItem("quiz_end_"+lpQuizSettings.id);n&&r&&(e.timeSpend=function(e,t){var n=new Object,r=t-e;n.days=Math.floor(r/1e3/60/60/24),r-=1e3*n.days*60*60*24,n.hours=Math.floor(r/1e3/60/60),r-=1e3*n.hours*60*60,n.minutes=Math.floor(r/1e3/60),r-=1e3*n.minutes*60,n.seconds=Math.floor(r/1e3);var o="00";n.days>0&&(o=String(n.days));1==o.length&&(o="0"+o);var i="00";n.minutes>0&&(i=String(n.minutes));1==i.length&&(i="0"+i);var a="00";n.seconds>0&&(a=String(n.seconds));1==a.length&&(a="0"+a);var u=o+":"+i+":"+a;return n.duration=u,n}(n,r).duration)}return React.createElement("tr",{key:"attempt-".concat(t)},React.createElement("td",{className:"quiz-attempts__questions"},"".concat(e.questionCorrect," / ").concat(e.questionCount)),React.createElement("td",{className:"quiz-attempts__spend"},e.timeSpend||"--"),React.createElement("td",{className:"quiz-attempts__marks"},"".concat(e.userMark," / ").concat(e.mark)),React.createElement("td",{className:"quiz-attempts__grade"},e.passingGrade||"-"),React.createElement("td",{className:"quiz-attempts__result"},"".concat(parseFloat(e.result).toFixed(2),"%")," ",React.createElement("span",null,e.graduationText)))}))))))};function Ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ze=function(){var e=Object(u.select)("learnpress/quiz").getData,t=Object(u.dispatch)("learnpress/quiz").submitQuiz,n=e("totalTime")?e("totalTime"):e("duration"),r=e("endTime"),o=new Date(r.replace(/-/g,"/")),a=new Date,s=(new Date).getTimezoneOffset(),c=parseInt(o.getTime()/1e3-(a.getTime()/1e3+60*s)),l=Ee(Object(i.useState)(c>0?c:0),2),f=l[0],p=l[1];Object(i.useEffect)((function(){var e=setInterval((function(){var n=f;(n-=1)>0?p(n):(clearInterval(e),t())}),1e3);return function(){return clearInterval(e)}}),[f]);return React.createElement("div",{className:"countdown"},React.createElement("i",{className:"fas fa-stopwatch"}),React.createElement("span",null,function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":",r=[];return n<3600?(r.push((f-f%60)/60),r.push(f%60)):n&&(r.push((f-f%3600)/3600),e=f%3600,r.push((e-e%60)/60),r.push(e%60)),r.map((function(e){return e<10?"0".concat(e):e})).join(t)}()))},ke=n(9);function Qe(e){return function(e){if(Array.isArray(e))return Ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ae(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(e,t)||Ae(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ne=lodash.debounce,Te=function(){var e=Ie(Object(i.useState)(0),2),t=e[0],n=e[1],r=Ie(Object(i.useState)(!1),2),o=r[0],a=r[1],s=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("id")}),[]),l=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("results")}),[]),f=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("passingGrade")}),[]),p=Object(u.useSelect)((function(e){return e("learnpress/quiz").getData("submitting")}),[]);Object(i.useEffect)((function(){m();var e="";if(e=l.graduation?l.graduation:l.result>=v.replace(/[^0-9\.]+/g,"")?"passed":"failed"){var t=document.querySelector(".course-curriculum .course-item.course-item-".concat(s));t&&(t.classList.remove("failed","passed"),t.classList.add("has-status","status-completed",e))}var n=Qe(document.querySelectorAll("#popup-header .items-progress"))[0];if(n){var r=n.querySelector(".items-completed");if(r){parseInt(r.textContent);var o=document.querySelectorAll("#popup-sidebar .course-curriculum .course-item.status-completed");r.textContent=parseInt(o.length)}}}),[l]),Object(i.useEffect)((function(){void 0!==p&&d()}),[p]);var d=function(){var e=document.querySelectorAll(".popup-header__inner");e.length>0&&0===e[0].querySelectorAll("form.form-button-finish-course").length&&Object(ke.a)(e[0])},m=function(){n(0),a(!1),jQuery.easing._customEasing=function(e,t,n,r,o){return r*Math.sqrt(1-(t=t/o-1)*t)+n},Ne((function(){var e=jQuery("<span />").css({width:1,height:1}).appendTo(document.body);e.css("left",0).animate({left:l.result},{duration:1500,step:function(e,t){n(e)},done:function(){a(!0),e.remove(),jQuery("#quizResultGrade").css({transform:"scale(1.3)",transition:"all 0.25s"}),Ne((function(){jQuery("#quizResultGrade").css({transform:"scale(1)"})}),500)()},easing:"_customEasing"})}),l.result>0?1e3:10)()},y=t;Number.isInteger(t)||(y=parseFloat(t).toFixed(2));var b=190*Math.PI,h=b-y/100*b,g={strokeDasharray:"".concat(b," ").concat(b),strokeDashoffset:h},v=l.passingGrade||f,w="";w=l.graduation?l.graduation:y>=v.replace(/[^0-9\.]+/g,"")?"passed":"failed";var O="";O=l.graduationText?l.graduationText:"passed"===w?Object(c.__)("Passed","learnpress"):Object(c.__)("Failed","learnpress");var _=["quiz-result",w];if("1"==lpQuizSettings.checkNorequizenroll){var S=window.localStorage.getItem("quiz_start_"+s),q=window.localStorage.getItem("quiz_end_"+s);S&&q&&(l.timeSpend=function(e,t){var n=new Object,r=t-e;n.days=Math.floor(r/1e3/60/60/24),r-=1e3*n.days*60*60*24,n.hours=Math.floor(r/1e3/60/60),r-=1e3*n.hours*60*60,n.minutes=Math.floor(r/1e3/60),r-=1e3*n.minutes*60,n.seconds=Math.floor(r/1e3);var o="00";n.days>0&&(o=String(n.days));1==o.length&&(o="0"+o);var i="00";n.minutes>0&&(i=String(n.minutes));1==i.length&&(i="0"+i);var a="00";n.seconds>0&&(a=String(n.seconds));1==a.length&&(a="0"+a);var u=o+":"+i+":"+a;return n.duration=u,n}(S,q).duration)}return React.createElement("div",{className:_.join(" ")},React.createElement("h3",{className:"result-heading"},Object(c.__)("Your Result","learnpress")),React.createElement("div",{id:"quizResultGrade",className:"result-grade"},React.createElement("svg",{className:"circle-progress-bar",width:200,height:200},React.createElement("circle",{className:"circle-progress-bar__circle",stroke:"",strokeWidth:10,style:g,fill:"transparent",r:95,cx:100,cy:100})),React.createElement("span",{className:"result-achieved"},"".concat(y,"%")),React.createElement("span",{className:"result-require"},v||"-")),o&&React.createElement("p",{className:"result-message"},O),React.createElement("ul",{className:"result-statistic"},React.createElement("li",{className:"result-statistic-field result-time-spend"},React.createElement("span",null,Object(c.__)("Time spend","learnpress")),React.createElement("p",null,l.timeSpend)),React.createElement("li",{className:"result-statistic-field result-point"},React.createElement("span",null,Object(c.__)("Point","learnpress")),React.createElement("p",null,l.userMark," / ",l.mark)),React.createElement("li",{className:"result-statistic-field result-questions"},React.createElement("span",null,Object(c.__)("Questions","learnpress")),React.createElement("p",null,l.questionCount)),React.createElement("li",{className:"result-statistic-field result-questions-correct"},React.createElement("span",null,Object(c.__)("Correct","learnpress")),React.createElement("p",null,l.questionCorrect)),React.createElement("li",{className:"result-statistic-field result-questions-wrong"},React.createElement("span",null,Object(c.__)("Wrong","learnpress")),React.createElement("p",null,l.questionWrong)),React.createElement("li",{className:"result-statistic-field result-questions-skipped"},React.createElement("span",null,Object(c.__)("Skipped","learnpress")),React.createElement("p",null,l.questionEmpty))))},xe=jQuery,De=lodash.debounce,Me=function(){var e=Object(u.dispatch)("learnpress/quiz").submitQuiz;Object(i.useEffect)((function(){var e=xe("#popup-content");if(e.length){var t=e.find(".content-item-scrollable:eq(1)"),n=e.find(".content-item-wrap"),r=e.find(".quiz-status"),o=r.offset().top-92,i=!1,a="-"+n.css("margin-left");xe(window).on("resize.refresh-quiz-stauts-bar",De((function(){a="-"+n.css("margin-left"),r.css({"margin-left":a,"margin-right":a})}),100)).trigger("resize.refresh-quiz-stauts-bar"),t.on("scroll",(function(){if(t.scrollTop()>=o){if(i)return;i=!0}else{if(!i)return;i=!1}i?e.addClass("fixed-quiz-status"):e.removeClass("fixed-quiz-status")}))}}),[]);var t=Object(u.select)("learnpress/quiz"),n=t.getData,r=t.getUserMark,o=n("currentPage"),a=n("questionsPerPage"),s=n("questionIds").length,l=n("submitting"),f=n("totalTime"),p=n("duration"),d=r(),m=["quiz-status"],y=(o-1)*a+1,b=y+a-1,h="";return b=Math.min(b,s),l&&m.push("submitting"),h=b<s?a>1?Object(c.sprintf)(Object(c.__)("Question <span>%d to %d of %d</span>","learnpress"),y,b,s):Object(c.sprintf)(Object(c.__)("Question <span>%d of %d</span>","learnpress"),y,s):Object(c.sprintf)(Object(c.__)("Question <span>%d to %d</span>","learnpress"),y,b),React.createElement("div",{className:m.join(" ")},React.createElement("div",null,React.createElement("div",{className:"questions-index",dangerouslySetInnerHTML:{__html:h}}),React.createElement("div",{className:"current-point"},Object(c.sprintf)(Object(c.__)("Earned Point: %s","learnpress"),d)),React.createElement("div",null,React.createElement("div",{className:"submit-quiz"},React.createElement("button",{className:"lp-button",id:"button-submit-quiz",onClick:function t(){"no"!==(0,Object(u.select)("learnpress/modal").confirm)(Object(c.__)("Are you sure to submit quiz?","learnpress"),t)&&e()}},l?Object(c.__)("Submitting...","learnpress"):Object(c.__)("Finish Quiz","learnpress"))),f&&p&&React.createElement(ze,null))))};function Le(e){return function(e){if(Array.isArray(e))return Ue(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ue(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){Be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Je=lodash,Ge=(Je.omit,Je.flow),Ke=Je.isArray,We=Je.chunk,$e=(LP.camelCaseDashObjectKeys,LP.localStorage),Ze=$e.get,Ye=$e.set,Ve={},Xe=function(e,t){var n=e.answered,r=e.id,o=Fe(Fe({},n[t.questionId]||{}),{},{answered:t.answers,temp:!0});return r&&localStorage.setItem("LP_Quiz_".concat(r,"_Answered"),JSON.stringify(Fe(Fe({},e.answered),{},Be({},t.questionId,o)))),Fe(Fe({},e),{},{answered:Fe(Fe({},e.answered),{},Be({},t.questionId,o))})},et=function(e,t){var n=e.questionsRendered;return Ke(n)?(n.push(t.questionId),Fe(Fe({},e),{},{questionsRendered:Le(n)})):Fe(Fe({},e),{},{questionsRendered:[t.questionId]})},tt=function(e,t){return t.currentPage&&Ye("Q".concat(e.id,".currentPage"),t.currentPage),Fe(Fe({},e),t)},nt=function(e,t){var n=e.questions.map((function(e){return e.id==t.questionId?Fe(Fe({},e),{},{showHint:t.showHint}):e}));return Fe(Fe({},e),{},{questions:Le(n)})},rt=function(e,t){var n=e.questions.map((function(e){if(e.id!==t.questionId)return e;var n={explanation:t.explanation};return t.options&&(n.options=t.options),Fe(Fe({},e),n)}));return Fe(Fe({},e),{},{questions:Le(n),answered:Fe(Fe({},e.answered),{},Be({},t.questionId,t.result)),checkedQuestions:[].concat(Le(e.checkedQuestions),[t.questionId])})},ot=function(e,t){localStorage.removeItem("LP_Quiz_".concat(e.id,"_Answered"));var n=e.questions.map((function(n){var r={};return e.reviewQuestions&&(t.results.questions[n.id].explanation&&(r.explanation=t.results.questions[n.id].explanation),t.results.questions[n.id].options&&(r.options=t.results.questions[n.id].options)),Fe(Fe({},n),r)}));return tt(e,Fe(Fe({submitting:!1,currentPage:1},t.results),{},{questions:Le(n)}))},it=function(e,t){var n=void 0!==t.results.success&&t.results.success,r=t.results.message||!1;return tt(e,Fe(Fe({checkedQuestions:[],hintedQuestions:[],mode:"",currentPage:1},t.results.results),{},{successResponse:n,messageResponse:r}))},at=Ge(u.combineReducers,(function(e){return function(t,n){return e(t,n)}}),(function(e){return function(t,n){return e(t,n)}}),(function(e){return function(t,n){return e(t,n)}}))({a:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{a:1};return e},b:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{b:2};return e}}),ut=Object(u.combineReducers)({blocks:at,userQuiz:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ve,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_QUIZ_DATA":1>t.data.questionsPerPage&&(t.data.questionsPerPage=1);var n=We(e.questionIds||t.data.questionIds,t.data.questionsPerPage);return t.data.numPages=n.length,t.data.pages=n,Fe(Fe(Fe({},e),t.data),{},{currentPage:Ze("Q".concat(t.data.id,".currentPage"))||t.data.currentPage});case"SUBMIT_QUIZ":return Fe(Fe({},e),{},{submitting:!0});case"START_QUIZ":case"START_QUIZ_SUCCESS":return it(e,t);case"SET_CURRENT_QUESTION":return Ye("Q".concat(e.id,".currentQuestion"),t.questionId),Fe(Fe({},e),{},{currentQuestion:t.questionId});case"SET_CURRENT_PAGE":return Ye("Q".concat(e.id,".currentPage"),t.currentPage),Fe(Fe({},e),{},{currentPage:t.currentPage});case"SUBMIT_QUIZ_SUCCESS":return ot(e,t);case"UPDATE_USER_QUESTION_ANSWERS":return"started"===e.status?Xe(e,t):e;case"MARK_QUESTION_RENDERED":return et(e,t);case"SET_QUIZ_MODE":return"reviewing"==t.mode?tt(e,{mode:t.mode}):Fe(Fe({},e),{},{mode:t.mode});case"SET_QUESTION_HINT":return nt(e,t);case"CHECK_ANSWER":return rt(e,t);case"SEND_KEY":return Fe(Fe({},e),{},{keyPressed:t.keyPressed})}return e}}),st=n(10);function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var lt=regeneratorRuntime.mark(Pt),ft=regeneratorRuntime.mark(Qt),pt=regeneratorRuntime.mark(At);function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e){return function(e){if(Array.isArray(e))return yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return yt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bt(){var e=[].slice.call(arguments,2),t=Object(u.dispatch)(arguments[0]),n=arguments[1];t[n].apply(t,mt(e))}var ht=LP,gt=ht.camelCaseDashObjectKeys,vt=ht.Hook;function wt(e,t){return t="string"==typeof e?dt({},e,t):e,"1"==lpQuizSettings.checkNorequizenroll&&null!==window.localStorage.getItem("quiz_userdata_"+lpQuizSettings.id)&&(t=JSON.parse(window.localStorage.getItem("quiz_userdata_"+lpQuizSettings.id))),{type:"SET_QUIZ_DATA",data:gt(t)}}function Ot(e){return{type:"SET_CURRENT_QUESTION",questionId:e}}function _t(e){return{type:"SET_CURRENT_PAGE",currentPage:e}}function St(e,t,n){return{type:"BEFORE_START_QUIZ"}}function qt(e,t,n,r){return vt.doAction("quiz-started",e,t,n,r),{type:"START_QUIZ_SUCCESS",quizId:t,courseId:n,userId:r,results:e}}var jt=regeneratorRuntime.mark((function e(){var t,n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Object(u.select)("learnpress/quiz").getDefaultRestArgs(),n=t.itemId,r=t.courseId,!0===vt.applyFilters("before-start-quiz",!0,n,r)){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,Object(st.apiFetch)({path:"lp/v1/users/start-quiz",method:"POST",data:{item_id:n,course_id:r}});case 6:return o=e.sent,o=vt.applyFilters("request-start-quiz-response",o,n,r),e.next=10,bt("learnpress/quiz","__requestStartQuizSuccess",gt(o),n,r);case 10:case"end":return e.stop()}}),e)}));function Rt(){return{type:"SUBMIT_QUIZ"}}function Et(e,t,n){return vt.doAction("quiz-submitted",e,t,n),{type:"SUBMIT_QUIZ_SUCCESS",results:e}}function Pt(){var e,t,n,r,o,i,a,s;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(e=Object(u.select)("learnpress/quiz"),t=e.getDefaultRestArgs,n=e.getQuestionsSelectedAnswers,r=t(),o=r.itemId,i=r.courseId,!0===vt.applyFilters("before-submit-quiz",!0)){c.next=5;break}return c.abrupt("return");case 5:return a=n(),c.next=8,Object(st.apiFetch)({path:"lp/v1/users/submit-quiz",method:"POST",data:{item_id:o,course_id:i,answered:a}});case 8:if(s=c.sent,"1"==lpQuizSettings.checkNorequizenroll&&(window.localStorage.removeItem("quiz_end_"+lpQuizSettings.id),window.localStorage.setItem("quiz_end_"+lpQuizSettings.id,Date.now())),!(s=vt.applyFilters("request-submit-quiz-response",s,o,i)).success){c.next=14;break}return c.next=14,bt("learnpress/quiz","__requestSubmitQuizSuccess",gt(s.results),o,i);case 14:"1"==lpQuizSettings.checkNorequizenroll&&localStorage.setItem("quiz_userdata_"+lpQuizSettings.id,JSON.stringify(Object(u.select)("learnpress/quiz").getData()));case 15:case"end":return c.stop()}}),lt)}function zt(e,t,n){return{type:"UPDATE_USER_QUESTION_ANSWERS",questionId:e,answers:t}}function kt(e,t){return{type:"SET_QUESTION_HINT",questionId:e,showHint:t}}function Qt(e,t){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,bt("learnpress/quiz","__requestShowHintSuccess",e,t);case 2:case"end":return n.stop()}}),ft)}function It(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(n),!0).forEach((function(t){dt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:"CHECK_ANSWER",questionId:e},t)}function At(e){var t,n,r,o,i,a,s;return regeneratorRuntime.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=Object(u.select)("learnpress/quiz"),n=t.getDefaultRestArgs,r=t.getQuestionAnswered,o=n(),i=o.itemId,a=o.courseId,c.next=4,Object(st.apiFetch)({path:"lp/v1/users/check-answer",method:"POST",data:{item_id:i,course_id:a,question_id:e,answered:r(e)||""}});case 4:return s=c.sent,c.next=7,bt("learnpress/quiz","__requestCheckAnswerSuccess",e,gt(s));case 7:case"end":return c.stop()}}),pt)}function Ct(e){return{type:"MARK_QUESTION_RENDERED",questionId:e}}function Nt(e){return{type:"SET_QUIZ_MODE",mode:e}}function Tt(e){return setTimeout((function(){bt("learnpress/quiz","sendKey","")}),300),{type:"SEND_KEY",keyPressed:e}}var xt=lodash,Dt=xt.get,Mt=xt.isArray,Lt=function(e,t){console.time("parseOptions");var n=Yt(e,t).options;return n=Mt(n)?n:JSON.parse(CryptoJS.AES.decrypt(n.data,n.key,{format:CryptoJSAesJson}).toString(CryptoJS.enc.Utf8)),n=Mt(n)?n:JSON.parse(n),console.timeEnd("parseOptions"),n};function Ut(e,t){var n=Object(u.select)("course-learner/user").getItemById(t);return n?Dt(n,"userSettings.status"):""}function Ht(e,t,n){return e[t]||n}function Ft(e,t){var n=Object(u.select)("course-learner/user").getItemById(t);return n?Dt(n,"userSettings.attempts"):[]}function Bt(e,t){var n=Object(u.select)("course-learner/user").getItemById(t);return n?Dt(n,"userSettings.answered",{}):{}}function Jt(e){var t=e.userQuiz,n=Dt(t,"questions");return n?Object.values(n):[]}function Gt(e,t){var n=e.userQuiz;return t?Dt(n,t):n}function Kt(e){var t=e.userQuiz;return{itemId:t.id,courseId:t.courseId}}function Wt(e,t){var n=e.userQuiz;return Dt(n,"answered.".concat(t,".answered"))||void 0}function $t(e,t){var n=e.userQuiz;return Dt(n,"answered.".concat(t,".mark"))||void 0}function Zt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Dt(e,"userQuiz.questionsPerPage")||1;if(n>1)return!1;var r=Dt(e,"userQuiz.currentPage")||1;return Dt(e,"object"===t?"userQuiz.questions[".concat(r-1,"]"):"userQuiz.questionIds[".concat(r-1,"]"))}var Yt=function(e,t){e.userQuiz;return Object(u.select)("learnpress/quiz").getQuestions().find((function(e){return e.id==t}))};function Vt(e,t){return-1!==(Dt(e,"userQuiz.checkedQuestions")||[]).indexOf(t)}function Xt(e,t){}var en=function(e,t){var n=Dt(e,"userQuiz.answered"),r={};for(var o in n)if(n.hasOwnProperty(o))if("1"==lpQuizSettings.checknorequizenroll){if(t&&o===t)return n[o].answered;r[o]=n[o].answered}else if(n[o].temp||n[o].blanks){if(t&&o===t)return n[o].answered;r[o]=n[o].answered}return r};function tn(e){var t=e.userQuiz||{},n=t.answered,r=t.negativeMarking,o=t.questions,i=t.checkedQuestions,a=0,u=function(e){if(!n.hasOwnProperty(e))return s=e,"continue";e=parseInt(e);var t,u=n[e],c=u.questionMark?u.questionMark:(t=o.find((function(t){return s=e,t.id===e})),s=e,t?t.point:0);i.indexOf(e);if(u.temp)return s=e,"continue";r?u.answered&&(a=u.correct?a+u.mark:a-c):u.answered&&u.correct&&(a+=u.mark),s=e};for(var s in n)u(s);return a>0?a:0}var nn=n(7),rn=n.n(nn),on={ENROLL_COURSE_X:function(e,t){}};var an=function(e){var t=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},n={getState:e.getState,dispatch:function(){return t.apply(void 0,arguments)}};return t=rn()(on)(n)(e.dispatch),e.dispatch=t,e};function un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cn=LP.dataControls.controls,ln=Object(u.registerStore)("learnpress/quiz",{reducer:ut,selectors:o,actions:r,controls:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},cn)});an(ln);function fn(e){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mn(e,t){return(mn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gn(e);if(t){var o=gn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bn(this,n)}}function bn(e,t){if(t&&("object"===fn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return hn(e)}function hn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e){return(gn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wn=lodash.chunk,On=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mn(e,t)}(i,e);var t,n,r,o=yn(i);function i(e){var t;return pn(this,i),vn(hn(t=o.apply(this,arguments)),"startQuiz",(function(e){t.props.startQuiz()})),t.state={currentPage:1,numPages:0,pages:[]},t}return t=i,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.settings,n=e.setQuizData,r=t.question_ids,o=t.questions_per_page,i=wn(r,o);t.currentPage=1,t.numPages=i.length,t.pages=i;var a=!!t.id&&localStorage.getItem("LP_Quiz_".concat(t.id,"_Answered"));a&&(t.answered=JSON.parse(a)),n(t)}},{key:"render",value:function(){var e=this.props,t=e.status,n=e.isReviewing,r=-1!==["","completed","viewed"].indexOf(t)||!t,o=-1!==["","viewed",void 0].indexOf(t)||!t;return void 0!==t&&React.createElement(React.Fragment,null,React.createElement("div",null,!n&&"completed"===t&&React.createElement(Te,null),!n&&o&&React.createElement(p,null),!n&&o&&React.createElement(s,null),"started"===t&&React.createElement(Me,null),(-1!==["completed","started"].indexOf(t)||n)&&React.createElement(je,null),React.createElement(E,null),r&&!n&&React.createElement(Re,null)))}}])&&dn(t.prototype,n),r&&dn(t,r),i}(i.Component),_n=Object(a.compose)([Object(u.withSelect)((function(e){var t=e("learnpress/quiz"),n=t.getQuestions,r=t.getData;return{questions:n(),status:r("status"),store:r(),answered:r("answered"),isReviewing:"reviewing"===r("mode"),questionIds:r("questionIds"),checkCount:r("instantCheck"),questionsPerPage:r("questionsPerPage")||1}})),Object(u.withDispatch)((function(e){var t=e("learnpress/quiz");return{setQuizData:t.setQuizData,startQuiz:t.startQuiz}}))])(On);n(11);function Sn(e){return function(e){if(Array.isArray(e))return qn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jn=LP.modal.default,Rn=(t.default=_n,function(e,t){wp.element.render(React.createElement(jn,null,React.createElement(_n,{settings:t})),Sn(document.querySelectorAll(e))[0]),LP.Hook.doAction("lp-quiz-compatible-builder")})}]);
assets/js/dist/frontend/single-course.js CHANGED
@@ -759,7 +759,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
759
 
760
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
761
 
762
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
763
 
764
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
765
 
759
 
760
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
761
 
762
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
763
 
764
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
765
 
assets/js/dist/frontend/single-course.min.js CHANGED
@@ -1 +1 @@
1
- this.LP=this.LP||{},this.LP.singleCourse=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}({15:function(e,t){!function(){e.exports=this.LP.quiz}()},16:function(e,t){},2:function(e,t,n){"use strict";var r=jQuery,o=null,i={elLPOverlay:null,elMainContent:null,elTitle:null,elBtnYes:null,elBtnNo:null,elFooter:null,elCalledModal:null,callBackYes:null,instance:null,init:function(){return!!this.instance||(this.elLPOverlay=r(".lp-overlay"),!!this.elLPOverlay.length&&(o=this.elLPOverlay,this.elMainContent=o.find(".main-content"),this.elTitle=o.find(".modal-title"),this.elBtnYes=o.find(".btn-yes"),this.elBtnNo=o.find(".btn-no"),this.elFooter=o.find(".lp-modal-footer"),r(document).on("click",".close, .btn-no",(function(){o.hide()})),r(document).on("click",".btn-yes",(function(e){e.preventDefault(),e.stopPropagation(),"function"==typeof i.callBackYes&&i.callBackYes()})),this.instance=this,!0))},setElCalledModal:function(e){this.elCalledModal=e},setContentModal:function(e,t){this.elMainContent.html(e),"function"==typeof t&&t()},setTitleModal:function(e){this.elTitle.html(e)}};t.a=i},26:function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return g})),n.d(t,"initCourseTabs",(function(){return S})),n.d(t,"initCourseSidebar",(function(){return L})),n.d(t,"enrollCourse",(function(){return k}));var r=n(3),o=(n(15),n(16),n(8));function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(i,e);var t,n,r,o=c(i);function i(){return a(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){return React.createElement(React.Fragment,null)}}])&&s(t.prototype,n),r&&s(t,r),i}(r.Component);document.addEventListener("DOMContentLoaded",(function(){Object(o.a)()}));n(5);var p=n(6),v=n(2);function m(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,s,"next",e)}function s(e){h(i,r,o,a,s,"throw",e)}a(void 0)}))}}t.default=f;var g=function(){wp.element.render(React.createElement(f,null))},w=jQuery,S=function(){w("#learn-press-course-tabs").on("change",'input[name="learn-press-course-tab-radio"]',(function(e){var t=w('input[name="learn-press-course-tab-radio"]:checked').val();LP.Cookies.set("course-tab",t),w('label[for="'+w(e.target).attr("id")+'"]').closest("li").addClass("active").siblings().removeClass("active")}))},L=function(){var e=w(".course-summary-sidebar");if(e.length){var t=w(window),n=e.children(),r=e.offset(),o=e.height(),i=n.height(),a=32;t.on("scroll.fixed-course-sidebar",(function(){var s=t.scrollTop()-r.top+a;if(s<0)return e.removeClass("slide-top slide-down"),void n.css("top","");s>o-i?(e.removeClass("slide-down").addClass("slide-top"),n.css("top",o-i)):(e.removeClass("slide-top").addClass("slide-down"),n.css("top",a))})).trigger("scroll.fixed-course-sidebar")}},k=function(){var e=document.querySelectorAll("form.enroll-course");e.length>0&&e.forEach((function(e){var t=function(){var t=b(regeneratorRuntime.mark((function t(n,r){var o,i,a,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,wp.apiFetch({path:"lp/v1/courses/enroll-course",method:"POST",data:{id:n}});case 3:o=t.sent,r.classList.remove("loading"),r.disabled=!1,i=o.status,a=o.data.redirect,(s=o.message)&&i&&(r.style.display="none",e.innerHTML+='<div class="lp-enroll-notice '.concat(i,'">').concat(s,"</div>"),a&&(window.location.href=a)),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),form.innerHTML+='<div class="lp-enroll-notice error">'.concat(t.t0.message&&t.t0.message,"</div>");case 13:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e,n){return t.apply(this,arguments)}}();e.addEventListener("submit",(function(n){n.preventDefault();var r=e.querySelector("input[name=enroll-course]").value,o=e.querySelector("button.button-enroll-course");o.classList.add("loading"),o.disabled=!0,t(r,o)}))})),null!==document.querySelector(".course-detail-info")&&window.addEventListener("pageshow",(function(e){(e.persisted||void 0!==window.performance&&"back_forward"==String(window.performance.getEntriesByType("navigation")[0].type))&&location.reload()}))},_=function(){var e=document.querySelectorAll(".lp-form-retake-course");e.length&&e.forEach((function(e){var t=e.querySelector(".button-retake-course"),n=e.querySelector("[name=retake-course]").value,r=e.querySelector(".lp-ajax-message");e.addEventListener("submit",(function(e){e.preventDefault()})),t.addEventListener("click",(function(e){var o;e.preventDefault(),t.classList.add("loading"),t.disabled=!0,o=t,wp.apiFetch({path:"/lp/v1/courses/retake-course",method:"POST",data:{id:n}}).then((function(e){var t=e.status,n=e.message,i=e.data;r.innerHTML=n,null!=t&&"success"===t?(o.style.display="none",setTimeout((function(){window.location.replace(i.url_redirect)}),1e3)):r.classList.add("error")})).catch((function(e){r.classList.add("error"),r.innerHTML="error: "+e.message})).then((function(){o.classList.remove("loading"),o.disabled=!1,r.style.display="block"}))}))}))};w(window).on("load",(function(){var e,t;w("#popup-course"),w("#learn-press-course-curriculum");m(document.querySelectorAll(".course-extra-box")).map((function(e){var t=e.querySelector(".course-extra-box__title");t.addEventListener("click",(function(){var n=t.nextElementSibling,r=document.querySelector(".course-extra-box.active");r&&!e.classList.contains("active")&&(r.classList.remove("active"),r.querySelector(".course-extra-box__content").style.display="none"),e.classList.contains("active")?(e.classList.remove("active"),n.style.display="none"):(e.classList.add("active"),n.style.display="block")}))})),S(),L(),k(),(e=document.querySelectorAll("form.purchase-course")).length>0&&e.forEach((function(e){var t=function(){document.querySelectorAll(".lp_allow_repuchase_select").forEach((function(t){for(var r=t.querySelectorAll("[name=_lp_allow_repurchase_type]"),o=0,i=r.length;o<i;o++)if(r[o].checked){var a=r[o].value,s=e.querySelector("input[name=purchase-course]").value,l=e.querySelector("button.button-purchase-course");l.classList.add("loading"),l.disabled=!0,n(s,l,a);break}}))},n=function(){var n=b(regeneratorRuntime.mark((function n(r,o){var i,a,s,l,c,u,d,f,p,m=arguments;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=m.length>2&&void 0!==m[2]&&m[2],n.prev=1,n.next=4,wp.apiFetch({path:"lp/v1/courses/purchase-course",method:"POST",data:{id:r,repurchaseType:i}});case 4:if(a=n.sent,o&&(o.classList.remove("loading"),o.disabled=!1),s=a.status,l=a.data,c=l.redirect,u=l.type,d=l.html,f=l.titlePopup,p=a.message,"allow_repurchase"!==u||"success"!==s){n.next=17;break}if(e.querySelector(".lp_allow_repuchase_select")){n.next=15;break}if(v.a.init()){n.next=11;break}return n.abrupt("return");case 11:v.a.elLPOverlay.show(),v.a.setTitleModal(f||""),v.a.setContentModal(d),v.a.callBackYes=function(){v.a.elLPOverlay.hide(),t()};case 15:n.next=18;break;case 17:p&&s&&(e.innerHTML+='<div class="lp-enroll-notice '.concat(s,'">').concat(p,"</div>"),"success"===s&&c&&(window.location.href=c));case 18:n.next=23;break;case 20:n.prev=20,n.t0=n.catch(1),e.innerHTML+='<div class="lp-enroll-notice error">'.concat(n.t0.message&&n.t0.message,"</div>");case 23:case"end":return n.stop()}}),n,null,[[1,20]])})));return function(e,t){return n.apply(this,arguments)}}();e.addEventListener("submit",(function(t){t.preventDefault();var r=e.querySelector("input[name=purchase-course]").value,o=e.querySelector("button.button-purchase-course");o.classList.add("loading"),o.disabled=!0,n(r,o)}))})),_(),function(){var e=document.querySelectorAll(".lp-course-progress-wrapper");if(e.length){if("IntersectionObserver"in window){var t=new IntersectionObserver((function(e,r){e.forEach((function(e){if(e.isIntersecting){var r=e.target;setTimeout((function(){n(r)}),600),t.unobserve(r)}}))}));m(e).map((function(e){return t.observe(e)}))}var n=function(){var e=b(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiFetch({path:"lp/v1/lazy-load/course-progress",method:"POST",data:{courseId:lpGlobalSettings.post_id||"",userId:lpGlobalSettings.user_id||""}});case 2:n=e.sent,r=n.data,t.innerHTML=r;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}}(),null!=(t=document.querySelector("form.continue-course"))&&function(){var e=b(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiFetch({path:"lp/v1/courses/continue-course",method:"POST",data:{courseId:lpGlobalSettings.post_id||"",userId:lpGlobalSettings.user_id||""}});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()(t).then((function(e){"success"===e.status&&(t.style.display="block",t.action=e.data)})),p.a.init()}))},3:function(e,t){e.exports=window.wp.element},5:function(e,t){e.exports=window.wp.url},6:function(e,t,n){"use strict";var r=n(2),o=(jQuery,{elBtnFinishCourse:null,elBtnCompleteItem:null,init:function(){r.a.init()&&void 0!==lpGlobalSettings&&"yes"===lpGlobalSettings.option_enable_popup_confirm_finish&&(this.elBtnFinishCourse=document.querySelectorAll(".lp-btn-finish-course"),this.elBtnCompleteItem=document.querySelector(".lp-btn-complete-item"),this.elBtnCompleteItem&&this.elBtnCompleteItem.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}})),this.elBtnFinishCourse&&this.elBtnFinishCourse.forEach((function(e){return e.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}}))})))}});t.a=o},8:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return a}));var i=jQuery,a=(lodash.throttle,function(){var e=document.querySelector("#sidebar-toggle");e&&(i(window).innerWidth()<=768||LP.Cookies.get("sidebar-toggle")?e.setAttribute("checked","checked"):e.removeAttribute("checked"),document.querySelector("#popup-course").addEventListener("click",(function(e){var t;"sidebar-toggle"===e.target.id&&(LP.Cookies.set("sidebar-toggle",!!e.target.checked),t=LP.Cookies.get("sidebar-toggle"),i("body").removeClass("lp-sidebar-toggle__open"),i("body").removeClass("lp-sidebar-toggle__close"),t?i("body").addClass("lp-sidebar-toggle__close"):i("body").addClass("lp-sidebar-toggle__open"))}))),i("#learn-press-course-curriculum").find(".section-desc").each((function(e,t){var n=i('<span class="show-desc"></span>').on("click",(function(){r.toggleClass("c")})),r=i(t).siblings(".section-title").append(n)})),i(".section").each((function(){var e=i(this);e.find(".section-left").on("click",(function(){var t=e.toggleClass("closed").hasClass("closed"),n=LP.Cookies.get("closed-section-"+lpGlobalSettings.post_id)||[],o=parseInt(e.data("section-id")),i=n.findIndex((function(e){return e==o}));t?n.push(parseInt(e.data("section-id"))):n.splice(i,1),LP.Cookies.remove("closed-section-(.*)"),LP.Cookies.set("closed-section-"+lpGlobalSettings.post_id,r(new Set(n)))}))}))})}});
1
+ this.LP=this.LP||{},this.LP.singleCourse=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}({15:function(e,t){!function(){e.exports=this.LP.quiz}()},16:function(e,t){},2:function(e,t,n){"use strict";var r=jQuery,o=null,i={elLPOverlay:null,elMainContent:null,elTitle:null,elBtnYes:null,elBtnNo:null,elFooter:null,elCalledModal:null,callBackYes:null,instance:null,init:function(){return!!this.instance||(this.elLPOverlay=r(".lp-overlay"),!!this.elLPOverlay.length&&(o=this.elLPOverlay,this.elMainContent=o.find(".main-content"),this.elTitle=o.find(".modal-title"),this.elBtnYes=o.find(".btn-yes"),this.elBtnNo=o.find(".btn-no"),this.elFooter=o.find(".lp-modal-footer"),r(document).on("click",".close, .btn-no",(function(){o.hide()})),r(document).on("click",".btn-yes",(function(e){e.preventDefault(),e.stopPropagation(),"function"==typeof i.callBackYes&&i.callBackYes()})),this.instance=this,!0))},setElCalledModal:function(e){this.elCalledModal=e},setContentModal:function(e,t){this.elMainContent.html(e),"function"==typeof t&&t()},setTitleModal:function(e){this.elTitle.html(e)}};t.a=i},26:function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return g})),n.d(t,"initCourseTabs",(function(){return S})),n.d(t,"initCourseSidebar",(function(){return L})),n.d(t,"enrollCourse",(function(){return k}));var r=n(3),o=(n(15),n(16),n(8));function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(i,e);var t,n,r,o=l(i);function i(){return a(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"render",value:function(){return React.createElement(React.Fragment,null)}}])&&s(t.prototype,n),r&&s(t,r),i}(r.Component);document.addEventListener("DOMContentLoaded",(function(){Object(o.a)()}));n(5);var p=n(6),v=n(2);function m(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,s,"next",e)}function s(e){h(i,r,o,a,s,"throw",e)}a(void 0)}))}}t.default=f;var g=function(){wp.element.render(React.createElement(f,null))},w=jQuery,S=function(){w("#learn-press-course-tabs").on("change",'input[name="learn-press-course-tab-radio"]',(function(e){var t=w('input[name="learn-press-course-tab-radio"]:checked').val();LP.Cookies.set("course-tab",t),w('label[for="'+w(e.target).attr("id")+'"]').closest("li").addClass("active").siblings().removeClass("active")}))},L=function(){var e=w(".course-summary-sidebar");if(e.length){var t=w(window),n=e.children(),r=e.offset(),o=e.height(),i=n.height(),a=32;t.on("scroll.fixed-course-sidebar",(function(){var s=t.scrollTop()-r.top+a;if(s<0)return e.removeClass("slide-top slide-down"),void n.css("top","");s>o-i?(e.removeClass("slide-down").addClass("slide-top"),n.css("top",o-i)):(e.removeClass("slide-top").addClass("slide-down"),n.css("top",a))})).trigger("scroll.fixed-course-sidebar")}},k=function(){var e=document.querySelectorAll("form.enroll-course");e.length>0&&e.forEach((function(e){var t=function(){var t=b(regeneratorRuntime.mark((function t(n,r){var o,i,a,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,wp.apiFetch({path:"lp/v1/courses/enroll-course",method:"POST",data:{id:n}});case 3:o=t.sent,r.classList.remove("loading"),r.disabled=!1,i=o.status,a=o.data.redirect,(s=o.message)&&i&&(r.style.display="none",e.innerHTML+='<div class="lp-enroll-notice '.concat(i,'">').concat(s,"</div>"),a&&(window.location.href=a)),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),form.innerHTML+='<div class="lp-enroll-notice error">'.concat(t.t0.message&&t.t0.message,"</div>");case 13:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e,n){return t.apply(this,arguments)}}();e.addEventListener("submit",(function(n){n.preventDefault();var r=e.querySelector("input[name=enroll-course]").value,o=e.querySelector("button.button-enroll-course");o.classList.add("loading"),o.disabled=!0,t(r,o)}))})),null!==document.querySelector(".course-detail-info")&&window.addEventListener("pageshow",(function(e){(e.persisted||void 0!==window.performance&&"back_forward"==String(window.performance.getEntriesByType("navigation")[0].type))&&location.reload()}))},_=function(){var e=document.querySelectorAll(".lp-form-retake-course");e.length&&e.forEach((function(e){var t=e.querySelector(".button-retake-course"),n=e.querySelector("[name=retake-course]").value,r=e.querySelector(".lp-ajax-message");e.addEventListener("submit",(function(e){e.preventDefault()})),t.addEventListener("click",(function(e){var o;e.preventDefault(),t.classList.add("loading"),t.disabled=!0,o=t,wp.apiFetch({path:"/lp/v1/courses/retake-course",method:"POST",data:{id:n}}).then((function(e){var t=e.status,n=e.message,i=e.data;r.innerHTML=n,null!=t&&"success"===t?(o.style.display="none",setTimeout((function(){window.location.replace(i.url_redirect)}),1e3)):r.classList.add("error")})).catch((function(e){r.classList.add("error"),r.innerHTML="error: "+e.message})).then((function(){o.classList.remove("loading"),o.disabled=!1,r.style.display="block"}))}))}))};w(window).on("load",(function(){var e,t;w("#popup-course"),w("#learn-press-course-curriculum");m(document.querySelectorAll(".course-extra-box")).map((function(e){var t=e.querySelector(".course-extra-box__title");t.addEventListener("click",(function(){var n=t.nextElementSibling,r=document.querySelector(".course-extra-box.active");r&&!e.classList.contains("active")&&(r.classList.remove("active"),r.querySelector(".course-extra-box__content").style.display="none"),e.classList.contains("active")?(e.classList.remove("active"),n.style.display="none"):(e.classList.add("active"),n.style.display="block")}))})),S(),L(),k(),(e=document.querySelectorAll("form.purchase-course")).length>0&&e.forEach((function(e){var t=function(){document.querySelectorAll(".lp_allow_repuchase_select").forEach((function(t){for(var r=t.querySelectorAll("[name=_lp_allow_repurchase_type]"),o=0,i=r.length;o<i;o++)if(r[o].checked){var a=r[o].value,s=e.querySelector("input[name=purchase-course]").value,c=e.querySelector("button.button-purchase-course");c.classList.add("loading"),c.disabled=!0,n(s,c,a);break}}))},n=function(){var n=b(regeneratorRuntime.mark((function n(r,o){var i,a,s,c,l,u,d,f,p,m=arguments;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=m.length>2&&void 0!==m[2]&&m[2],n.prev=1,n.next=4,wp.apiFetch({path:"lp/v1/courses/purchase-course",method:"POST",data:{id:r,repurchaseType:i}});case 4:if(a=n.sent,o&&(o.classList.remove("loading"),o.disabled=!1),s=a.status,c=a.data,l=c.redirect,u=c.type,d=c.html,f=c.titlePopup,p=a.message,"allow_repurchase"!==u||"success"!==s){n.next=17;break}if(e.querySelector(".lp_allow_repuchase_select")){n.next=15;break}if(v.a.init()){n.next=11;break}return n.abrupt("return");case 11:v.a.elLPOverlay.show(),v.a.setTitleModal(f||""),v.a.setContentModal(d),v.a.callBackYes=function(){v.a.elLPOverlay.hide(),t()};case 15:n.next=18;break;case 17:p&&s&&(e.innerHTML+='<div class="lp-enroll-notice '.concat(s,'">').concat(p,"</div>"),"success"===s&&l&&(window.location.href=l));case 18:n.next=23;break;case 20:n.prev=20,n.t0=n.catch(1),e.innerHTML+='<div class="lp-enroll-notice error">'.concat(n.t0.message&&n.t0.message,"</div>");case 23:case"end":return n.stop()}}),n,null,[[1,20]])})));return function(e,t){return n.apply(this,arguments)}}();e.addEventListener("submit",(function(t){t.preventDefault();var r=e.querySelector("input[name=purchase-course]").value,o=e.querySelector("button.button-purchase-course");o.classList.add("loading"),o.disabled=!0,n(r,o)}))})),_(),function(){var e=document.querySelectorAll(".lp-course-progress-wrapper");if(e.length){if("IntersectionObserver"in window){var t=new IntersectionObserver((function(e,r){e.forEach((function(e){if(e.isIntersecting){var r=e.target;setTimeout((function(){n(r)}),600),t.unobserve(r)}}))}));m(e).map((function(e){return t.observe(e)}))}var n=function(){var e=b(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiFetch({path:"lp/v1/lazy-load/course-progress",method:"POST",data:{courseId:lpGlobalSettings.post_id||"",userId:lpGlobalSettings.user_id||""}});case 2:n=e.sent,r=n.data,t.innerHTML=r;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}}(),null!=(t=document.querySelector("form.continue-course"))&&function(){var e=b(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiFetch({path:"lp/v1/courses/continue-course",method:"POST",data:{courseId:lpGlobalSettings.post_id||"",userId:lpGlobalSettings.user_id||""}});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()(t).then((function(e){"success"===e.status&&(t.style.display="block",t.action=e.data)})),p.a.init()}))},3:function(e,t){e.exports=window.wp.element},5:function(e,t){e.exports=window.wp.url},6:function(e,t,n){"use strict";var r=n(2),o=(jQuery,{elBtnFinishCourse:null,elBtnCompleteItem:null,init:function(){r.a.init()&&void 0!==lpGlobalSettings&&"yes"===lpGlobalSettings.option_enable_popup_confirm_finish&&(this.elBtnFinishCourse=document.querySelectorAll(".lp-btn-finish-course"),this.elBtnCompleteItem=document.querySelector(".lp-btn-complete-item"),this.elBtnCompleteItem&&this.elBtnCompleteItem.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}})),this.elBtnFinishCourse&&this.elBtnFinishCourse.forEach((function(e){return e.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}}))})))}});t.a=o},8:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return a}));var i=jQuery,a=(lodash.throttle,function(){var e=document.querySelector("#sidebar-toggle");e&&(i(window).innerWidth()<=768||LP.Cookies.get("sidebar-toggle")?e.setAttribute("checked","checked"):e.removeAttribute("checked"),document.querySelector("#popup-course").addEventListener("click",(function(e){var t;"sidebar-toggle"===e.target.id&&(LP.Cookies.set("sidebar-toggle",!!e.target.checked),t=LP.Cookies.get("sidebar-toggle"),i("body").removeClass("lp-sidebar-toggle__open"),i("body").removeClass("lp-sidebar-toggle__close"),t?i("body").addClass("lp-sidebar-toggle__close"):i("body").addClass("lp-sidebar-toggle__open"))}))),i("#learn-press-course-curriculum").find(".section-desc").each((function(e,t){var n=i('<span class="show-desc"></span>').on("click",(function(){r.toggleClass("c")})),r=i(t).siblings(".section-title").append(n)})),i(".section").each((function(){var e=i(this);e.find(".section-left").on("click",(function(){var t=e.toggleClass("closed").hasClass("closed"),n=LP.Cookies.get("closed-section-"+lpGlobalSettings.post_id)||[],o=parseInt(e.data("section-id")),i=n.findIndex((function(e){return e==o}));t?n.push(parseInt(e.data("section-id"))):n.splice(i,1),LP.Cookies.remove("closed-section-(.*)"),LP.Cookies.set("closed-section-"+lpGlobalSettings.post_id,r(new Set(n)))}))}))})}});
assets/js/dist/frontend/single-curriculum.js CHANGED
@@ -670,7 +670,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
670
 
671
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
672
 
673
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
674
 
675
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
676
 
670
 
671
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
672
 
673
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
674
 
675
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
676
 
assets/js/dist/frontend/single-curriculum.min.js CHANGED
@@ -1 +1 @@
1
- this.LP=this.LP||{},this.LP.singleCurriculum=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([,,function(e,t,n){"use strict";var r=jQuery,o=null,i={elLPOverlay:null,elMainContent:null,elTitle:null,elBtnYes:null,elBtnNo:null,elFooter:null,elCalledModal:null,callBackYes:null,instance:null,init:function(){return!!this.instance||(this.elLPOverlay=r(".lp-overlay"),!!this.elLPOverlay.length&&(o=this.elLPOverlay,this.elMainContent=o.find(".main-content"),this.elTitle=o.find(".modal-title"),this.elBtnYes=o.find(".btn-yes"),this.elBtnNo=o.find(".btn-no"),this.elFooter=o.find(".lp-modal-footer"),r(document).on("click",".close, .btn-no",(function(){o.hide()})),r(document).on("click",".btn-yes",(function(e){e.preventDefault(),e.stopPropagation(),"function"==typeof i.callBackYes&&i.callBackYes()})),this.instance=this,!0))},setElCalledModal:function(e){this.elCalledModal=e},setContentModal:function(e,t){this.elMainContent.html(e),"function"==typeof t&&t()},setTitleModal:function(e){this.elTitle.html(e)}};t.a=i},function(e,t){e.exports=window.wp.element},,function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";var r=n(2),o=(jQuery,{elBtnFinishCourse:null,elBtnCompleteItem:null,init:function(){r.a.init()&&void 0!==lpGlobalSettings&&"yes"===lpGlobalSettings.option_enable_popup_confirm_finish&&(this.elBtnFinishCourse=document.querySelectorAll(".lp-btn-finish-course"),this.elBtnCompleteItem=document.querySelector(".lp-btn-complete-item"),this.elBtnCompleteItem&&this.elBtnCompleteItem.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}})),this.elBtnFinishCourse&&this.elBtnFinishCourse.forEach((function(e){return e.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}}))})))}});t.a=o},,function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return l}));var i=jQuery,l=(lodash.throttle,function(){var e=document.querySelector("#sidebar-toggle");e&&(i(window).innerWidth()<=768||LP.Cookies.get("sidebar-toggle")?e.setAttribute("checked","checked"):e.removeAttribute("checked"),document.querySelector("#popup-course").addEventListener("click",(function(e){var t;"sidebar-toggle"===e.target.id&&(LP.Cookies.set("sidebar-toggle",!!e.target.checked),t=LP.Cookies.get("sidebar-toggle"),i("body").removeClass("lp-sidebar-toggle__open"),i("body").removeClass("lp-sidebar-toggle__close"),t?i("body").addClass("lp-sidebar-toggle__close"):i("body").addClass("lp-sidebar-toggle__open"))}))),i("#learn-press-course-curriculum").find(".section-desc").each((function(e,t){var n=i('<span class="show-desc"></span>').on("click",(function(){r.toggleClass("c")})),r=i(t).siblings(".section-title").append(n)})),i(".section").each((function(){var e=i(this);e.find(".section-left").on("click",(function(){var t=e.toggleClass("closed").hasClass("closed"),n=LP.Cookies.get("closed-section-"+lpGlobalSettings.post_id)||[],o=parseInt(e.data("section-id")),i=n.findIndex((function(e){return e==o}));t?n.push(parseInt(e.data("section-id"))):n.splice(i,1),LP.Cookies.remove("closed-section-(.*)"),LP.Cookies.set("closed-section-"+lpGlobalSettings.post_id,r(new Set(n)))}))}))})},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return a}));var r=n(5),o=n(6);function i(e,t,n,r,o,i,l){try{var c=e[i](l),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(){var e=document.querySelectorAll(".popup-header__inner");if(e.length&&null===document.querySelector("#learn-press-quiz-app div.quiz-result")&&0===e[0].querySelectorAll("form.form-button-finish-course").length&&"IntersectionObserver"in window){var t=new IntersectionObserver((function(e,n){e.forEach((function(e){if(e.isIntersecting){var n=e.target;a(n),t.unobserve(n)}}))}));l(e).map((function(e){return t.observe(e)}))}},a=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiFetch({path:Object(r.addQueryArgs)("lp/v1/lazy-load/items-progress",{courseId:lpGlobalSettings.post_id||"",userId:lpGlobalSettings.user_id||""}),method:"GET"});case 2:n=e.sent,i=n.data,t.innerHTML+=i,o.a.init();case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var l=e.apply(t,n);function c(e){i(l,r,o,c,u,"next",e)}function u(e){i(l,r,o,c,u,"throw",e)}c(void 0)}))});return function(e){return t.apply(this,arguments)}}()},,function(e,t){function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}LP.Hook.addAction("lp-compatible-builder",(function(){LP.Hook.removeAction("lp-compatible-builder"),"undefined"!=typeof elementorFrontend&&n(document.querySelectorAll("#popup-content"))[0].addEventListener("scroll",(function(){Waypoint.refreshAll(),window.dispatchEvent(new Event("resize"))})),"undefined"!=typeof vc_js&&"undefined"!=typeof VcWaypoint&&n(document.querySelectorAll("#popup-content"))[0].addEventListener("scroll",(function(){VcWaypoint.refreshAll()}))})),LP.Hook.addAction("lp-quiz-compatible-builder",(function(){return LP.Hook.removeAction("lp-quiz-compatible-builder"),LP.Hook.doAction("lp-compatible-builder"),"undefined"!=typeof elementorFrontend?window.elementorFrontend.init():"undefined"!=typeof vc_js?("undefined"!=typeof vc_round_charts&&vc_round_charts(),"undefined"!=typeof vc_pieChart&&vc_pieChart(),"undefined"!=typeof vc_line_charts&&vc_line_charts(),window.vc_js()):void 0})),LP.Hook.addAction("lp-question-compatible-builder",(function(){return LP.Hook.removeAction("lp-question-compatible-builder"),LP.Hook.removeAction("lp-quiz-compatible-builder"),LP.Hook.doAction("lp-compatible-builder"),"undefined"!=typeof elementorFrontend?window.elementorFrontend.init():"undefined"!=typeof vc_js?("undefined"!=typeof vc_round_charts&&vc_round_charts(),"undefined"!=typeof vc_pieChart&&vc_pieChart(),"undefined"!=typeof vc_line_charts&&vc_line_charts(),window.vc_js()):void 0}))},,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return g}));var r=n(3),o=n(8),i=jQuery,l=n(9);n(11);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}jQuery;var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(i,e);var t,n,r,o=f(i);function i(){return u(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"checkCourseDurationExpire",value:function(){var e=document.getElementsByName("lp-course-timestamp-remaining");if(e.length){var t=e[0].value;t<86400&&setTimeout((function(){window.location.reload(!0)}),1e3*t)}}},{key:"render",value:function(){return React.createElement("div",null)}}])&&a(t.prototype,n),r&&a(t,r),i}(r.Component),y=m;document.addEventListener("DOMContentLoaded",(function(){LP.Hook.doAction("lp-compatible-builder"),function(){var e=document.querySelector("#popup-course"),t=document.querySelector("#learn-press-course-curriculum");if(e&&t){var n=t.querySelector(".curriculum-sections"),r=e.querySelector(".search-course"),o=e.querySelector('.search-course input[type="text"]');if(!o||!n||!r)return;var i=n.querySelectorAll("li.section"),l=n.querySelectorAll("li.course-item"),c=[];l.forEach((function(e){var t=e.dataset.id,n=e.querySelector(".item-name");c.push({id:t,name:n?n.textContent.toLowerCase():""})}));var u=function(e){e.preventDefault();var t=o.value;r.classList.add("searching"),t||r.classList.remove("searching");var n=[];c.forEach((function(e){t&&!e.name.match(t.toLowerCase())||(n.push(e.id),l.forEach((function(e){-1!==n.indexOf(e.dataset.id)?e.classList.remove("hide-if-js"):e.classList.add("hide-if-js")})))})),i.forEach((function(e){var t=e.querySelectorAll(".course-item"),r=[];t.forEach((function(e){n.includes(e.dataset.id)&&r.push(e.dataset.id)})),0===r.length?e.classList.add("hide-if-js"):e.classList.remove("hide-if-js")}))},a=r.querySelector(".clear");a&&a.addEventListener("click",(function(e){e.preventDefault(),o.value="",u(e)})),r.addEventListener("submit",u),o.addEventListener("keyup",u)}}(),Object(o.a)(),i(".learn-press-progress").each((function(){var e=i(this).find(".learn-press-progress__active"),t=e.data("value");void 0!==t&&e.css("left",-(100-parseInt(t))+"%")})),Object(l.b)(),(new m).checkCourseDurationExpire()}));var v=n(6),h=(n(2),jQuery),b={init:function(){this.scrollToItemViewing=function(){var e=h(".viewing-course-item");if(e.length){var t=h("#learn-press-course-curriculum"),n=(h("#popup-sidebar").outerHeight(),h(".section-title").outerHeight(),h(".section-header").outerHeight()),r=new RegExp("^viewing-course-item-([0-9].*)"),o=e.attr("class").split(/\s+/),i=0;if(h.each(o,(function(e,t){var n=r.exec(t);if(n)return i=n[1],!1})),0===i)return;var l=h(".course-item-"+i),c=(l.offset().top,l.offset().top-t.offset().top+t.scrollTop());t.animate({scrollTop:c-n},800)}},this.scrollToItemViewing()}},g=(jQuery,t.default=y,function(){wp.element.render(React.createElement(y,null),document.getElementById("learn-press-course-curriculum"))});document.addEventListener("DOMContentLoaded",(function(e){LP.Hook.doAction("course-ready"),v.a.init(),b.init()}))}]);
1
+ this.LP=this.LP||{},this.LP.singleCurriculum=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([,,function(e,t,n){"use strict";var r=jQuery,o=null,i={elLPOverlay:null,elMainContent:null,elTitle:null,elBtnYes:null,elBtnNo:null,elFooter:null,elCalledModal:null,callBackYes:null,instance:null,init:function(){return!!this.instance||(this.elLPOverlay=r(".lp-overlay"),!!this.elLPOverlay.length&&(o=this.elLPOverlay,this.elMainContent=o.find(".main-content"),this.elTitle=o.find(".modal-title"),this.elBtnYes=o.find(".btn-yes"),this.elBtnNo=o.find(".btn-no"),this.elFooter=o.find(".lp-modal-footer"),r(document).on("click",".close, .btn-no",(function(){o.hide()})),r(document).on("click",".btn-yes",(function(e){e.preventDefault(),e.stopPropagation(),"function"==typeof i.callBackYes&&i.callBackYes()})),this.instance=this,!0))},setElCalledModal:function(e){this.elCalledModal=e},setContentModal:function(e,t){this.elMainContent.html(e),"function"==typeof t&&t()},setTitleModal:function(e){this.elTitle.html(e)}};t.a=i},function(e,t){e.exports=window.wp.element},,function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";var r=n(2),o=(jQuery,{elBtnFinishCourse:null,elBtnCompleteItem:null,init:function(){r.a.init()&&void 0!==lpGlobalSettings&&"yes"===lpGlobalSettings.option_enable_popup_confirm_finish&&(this.elBtnFinishCourse=document.querySelectorAll(".lp-btn-finish-course"),this.elBtnCompleteItem=document.querySelector(".lp-btn-complete-item"),this.elBtnCompleteItem&&this.elBtnCompleteItem.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}})),this.elBtnFinishCourse&&this.elBtnFinishCourse.forEach((function(e){return e.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest("form");r.a.elLPOverlay.show(),r.a.setTitleModal(t.dataset.title),r.a.setContentModal('<div class="pd-2em">'+t.dataset.confirm+"</div>"),r.a.callBackYes=function(){t.submit()}}))})))}});t.a=o},,function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return l}));var i=jQuery,l=(lodash.throttle,function(){var e=document.querySelector("#sidebar-toggle");e&&(i(window).innerWidth()<=768||LP.Cookies.get("sidebar-toggle")?e.setAttribute("checked","checked"):e.removeAttribute("checked"),document.querySelector("#popup-course").addEventListener("click",(function(e){var t;"sidebar-toggle"===e.target.id&&(LP.Cookies.set("sidebar-toggle",!!e.target.checked),t=LP.Cookies.get("sidebar-toggle"),i("body").removeClass("lp-sidebar-toggle__open"),i("body").removeClass("lp-sidebar-toggle__close"),t?i("body").addClass("lp-sidebar-toggle__close"):i("body").addClass("lp-sidebar-toggle__open"))}))),i("#learn-press-course-curriculum").find(".section-desc").each((function(e,t){var n=i('<span class="show-desc"></span>').on("click",(function(){r.toggleClass("c")})),r=i(t).siblings(".section-title").append(n)})),i(".section").each((function(){var e=i(this);e.find(".section-left").on("click",(function(){var t=e.toggleClass("closed").hasClass("closed"),n=LP.Cookies.get("closed-section-"+lpGlobalSettings.post_id)||[],o=parseInt(e.data("section-id")),i=n.findIndex((function(e){return e==o}));t?n.push(parseInt(e.data("section-id"))):n.splice(i,1),LP.Cookies.remove("closed-section-(.*)"),LP.Cookies.set("closed-section-"+lpGlobalSettings.post_id,r(new Set(n)))}))}))})},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return a}));var r=n(5),o=n(6);function i(e,t,n,r,o,i,l){try{var c=e[i](l),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=function(){var e=document.querySelectorAll(".popup-header__inner");if(e.length&&null===document.querySelector("#learn-press-quiz-app div.quiz-result")&&0===e[0].querySelectorAll("form.form-button-finish-course").length&&"IntersectionObserver"in window){var t=new IntersectionObserver((function(e,n){e.forEach((function(e){if(e.isIntersecting){var n=e.target;a(n),t.unobserve(n)}}))}));l(e).map((function(e){return t.observe(e)}))}},a=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wp.apiFetch({path:Object(r.addQueryArgs)("lp/v1/lazy-load/items-progress",{courseId:lpGlobalSettings.post_id||"",userId:lpGlobalSettings.user_id||""}),method:"GET"});case 2:n=e.sent,i=n.data,t.innerHTML+=i,o.a.init();case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var l=e.apply(t,n);function c(e){i(l,r,o,c,u,"next",e)}function u(e){i(l,r,o,c,u,"throw",e)}c(void 0)}))});return function(e){return t.apply(this,arguments)}}()},,function(e,t){function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}LP.Hook.addAction("lp-compatible-builder",(function(){LP.Hook.removeAction("lp-compatible-builder"),"undefined"!=typeof elementorFrontend&&n(document.querySelectorAll("#popup-content"))[0].addEventListener("scroll",(function(){Waypoint.refreshAll(),window.dispatchEvent(new Event("resize"))})),"undefined"!=typeof vc_js&&"undefined"!=typeof VcWaypoint&&n(document.querySelectorAll("#popup-content"))[0].addEventListener("scroll",(function(){VcWaypoint.refreshAll()}))})),LP.Hook.addAction("lp-quiz-compatible-builder",(function(){return LP.Hook.removeAction("lp-quiz-compatible-builder"),LP.Hook.doAction("lp-compatible-builder"),"undefined"!=typeof elementorFrontend?window.elementorFrontend.init():"undefined"!=typeof vc_js?("undefined"!=typeof vc_round_charts&&vc_round_charts(),"undefined"!=typeof vc_pieChart&&vc_pieChart(),"undefined"!=typeof vc_line_charts&&vc_line_charts(),window.vc_js()):void 0})),LP.Hook.addAction("lp-question-compatible-builder",(function(){return LP.Hook.removeAction("lp-question-compatible-builder"),LP.Hook.removeAction("lp-quiz-compatible-builder"),LP.Hook.doAction("lp-compatible-builder"),"undefined"!=typeof elementorFrontend?window.elementorFrontend.init():"undefined"!=typeof vc_js?("undefined"!=typeof vc_round_charts&&vc_round_charts(),"undefined"!=typeof vc_pieChart&&vc_pieChart(),"undefined"!=typeof vc_line_charts&&vc_line_charts(),window.vc_js()):void 0}))},,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"init",(function(){return g}));var r=n(3),o=n(8),i=jQuery,l=n(9);n(11);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}jQuery;var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(i,e);var t,n,r,o=f(i);function i(){return u(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"checkCourseDurationExpire",value:function(){var e=document.getElementsByName("lp-course-timestamp-remaining");if(e.length){var t=e[0].value;t<86400&&setTimeout((function(){window.location.reload(!0)}),1e3*t)}}},{key:"render",value:function(){return React.createElement("div",null)}}])&&a(t.prototype,n),r&&a(t,r),i}(r.Component),m=y;document.addEventListener("DOMContentLoaded",(function(){LP.Hook.doAction("lp-compatible-builder"),function(){var e=document.querySelector("#popup-course"),t=document.querySelector("#learn-press-course-curriculum");if(e&&t){var n=t.querySelector(".curriculum-sections"),r=e.querySelector(".search-course"),o=e.querySelector('.search-course input[type="text"]');if(!o||!n||!r)return;var i=n.querySelectorAll("li.section"),l=n.querySelectorAll("li.course-item"),c=[];l.forEach((function(e){var t=e.dataset.id,n=e.querySelector(".item-name");c.push({id:t,name:n?n.textContent.toLowerCase():""})}));var u=function(e){e.preventDefault();var t=o.value;r.classList.add("searching"),t||r.classList.remove("searching");var n=[];c.forEach((function(e){t&&!e.name.match(t.toLowerCase())||(n.push(e.id),l.forEach((function(e){-1!==n.indexOf(e.dataset.id)?e.classList.remove("hide-if-js"):e.classList.add("hide-if-js")})))})),i.forEach((function(e){var t=e.querySelectorAll(".course-item"),r=[];t.forEach((function(e){n.includes(e.dataset.id)&&r.push(e.dataset.id)})),0===r.length?e.classList.add("hide-if-js"):e.classList.remove("hide-if-js")}))},a=r.querySelector(".clear");a&&a.addEventListener("click",(function(e){e.preventDefault(),o.value="",u(e)})),r.addEventListener("submit",u),o.addEventListener("keyup",u)}}(),Object(o.a)(),i(".learn-press-progress").each((function(){var e=i(this).find(".learn-press-progress__active"),t=e.data("value");void 0!==t&&e.css("left",-(100-parseInt(t))+"%")})),Object(l.b)(),(new y).checkCourseDurationExpire()}));var v=n(6),h=(n(2),jQuery),b={init:function(){this.scrollToItemViewing=function(){var e=h(".viewing-course-item");if(e.length){var t=h("#learn-press-course-curriculum"),n=(h("#popup-sidebar").outerHeight(),h(".section-title").outerHeight(),h(".section-header").outerHeight()),r=new RegExp("^viewing-course-item-([0-9].*)"),o=e.attr("class").split(/\s+/),i=0;if(h.each(o,(function(e,t){var n=r.exec(t);if(n)return i=n[1],!1})),0===i)return;var l=h(".course-item-"+i),c=(l.offset().top,l.offset().top-t.offset().top+t.scrollTop());t.animate({scrollTop:c-n},800)}},this.scrollToItemViewing()}},g=(jQuery,t.default=m,function(){wp.element.render(React.createElement(m,null),document.getElementById("learn-press-course-curriculum"))});document.addEventListener("DOMContentLoaded",(function(e){LP.Hook.doAction("course-ready"),v.a.init(),b.init()}))}]);
assets/js/frontend/courses.min.js CHANGED
@@ -1 +1 @@
1
- const lpArchiveAddQueryArgs=(e,t)=>{const r=new URL(e);return Object.keys(t).forEach(e=>{r.searchParams.append(e,t[e])}),r},lpArchiveCourse=()=>{const e=document.querySelectorAll(".lp-archive-course-skeleton");if(e.length&&"IntersectionObserver"in window){const t=new IntersectionObserver((e,r)=>{e.forEach(e=>{if(e.isIntersecting){const r=e.target;if(!lpArchiveSkeleton)return;lpArchiveRequestCourse(lpArchiveSkeleton),t.unobserve(r)}})});[...e].map(e=>t.observe(e))}};let skeleton,skeletonClone,isLoading=!1;const lpArchiveRequestCourse=e=>{const t=lpGlobalSettings.lp_rest_url,r=lpGlobalSettings.user_id||"";if(!t)return;const s=document.querySelector(".lp-archive-courses"),o=s&&s.querySelector("div.lp-archive-courses .lp-content-area"),n=o&&o.querySelector("ul.learn-press-courses");n&&(isLoading||(isLoading=!0,skeletonClone?n.innerHTML=skeletonClone:(skeleton=document.querySelector(".lp-archive-course-skeleton"),skeletonClone=skeleton.outerHTML),fetch(lpArchiveAddQueryArgs(t+"lp/v1/courses/archive-course",{...e,userID:r}),{method:"GET",headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(e=>{void 0!==e.data.content&&n&&(n.innerHTML=e.data.content||"");const t=e.data.pagination;if(lpArchiveSearchCourse(),void 0!==t){const e=(new DOMParser).parseFromString(t,"text/html").querySelector(".learn-press-pagination"),r=document.querySelector(".learn-press-pagination");r&&r.remove(),e&&(n.after(e),lpArchivePaginationCourse())}}).catch(e=>{n.innerHTML+=`<div class="lp-ajax-message error" style="display:block">${e.message||"Error: Query lp/v1/courses/archive-course"}</div>`}).finally(()=>{isLoading=!1,skeleton&&skeleton.remove(),jQuery("form.search-courses button").removeClass("loading"),LPArchiveCourseInit(),s.scrollIntoView()})))},lpArchiveSearchCourse=()=>{document.querySelectorAll("form.search-courses").forEach(e=>{const t=e.querySelector('input[name="s"]'),r=e.getAttribute("action"),s=e.querySelector('[name="post_type"]').value||"",o=e.querySelector('[name="taxonomy"]').value||"",n=e.querySelector('[name="term_id"]').value||"",c=e.querySelector('[type="submit"]');t.addEventListener("keyup",e=>{e.preventDefault();const t=e.target.value;if(!t||t&&t.length>2){c.classList.add("loading"),lpArchiveRequestCourse({...lpArchiveSkeleton,s:t});const e=lpArchiveAddQueryArgs(r,{post_type:s,taxonomy:o,term_id:n,s:t});window.history.pushState("","",e)}}),e.addEventListener("submit",t=>{t.preventDefault();const r=e.querySelector('input[name="s"]');r&&r.dispatchEvent(new Event("keyup"))})})},lpArchivePaginationCourse=()=>{const e=document.querySelectorAll(".lp-archive-courses .learn-press-pagination .page-numbers");e.length>0&&e.forEach(t=>t.addEventListener("click",r=>{r.preventDefault(),r.stopPropagation();const s=r.currentTarget.getAttribute("href");if(s){const o=new URL(s),n={};o.searchParams.forEach((e,t)=>{n[t]=e});const c=[...e].filter(e=>e.classList.contains("current")),l=r.currentTarget.textContent||t.classList.contains("next")&&parseInt(c[0].textContent)+1||t.classList.contains("prev")&&parseInt(c[0].textContent)-1;lpArchiveRequestCourse({...n,paged:l}),window.history.pushState("","",s)}}))},lpArchiveGridListCourse=()=>{const e=LP.Cookies.get("courses-layout"),t=document.querySelectorAll('.lp-courses-bar .switch-layout [name="lp-switch-layout-btn"]');t.length>0&&[...t].map(t=>t.value===e&&(t.checked=!0))},lpArchiveGridListCourseHandle=()=>{const e=document.querySelectorAll('.lp-archive-courses input[name="lp-switch-layout-btn"]');e.length>0&&e.forEach(e=>e.addEventListener("change",e=>{e.preventDefault();const t=e.target.value;if(t){const e=document.querySelector(".lp-archive-courses .learn-press-courses[data-layout]");e&&(e.dataset.layout=t),LP.Cookies.set("courses-layout",t)}}))};function LPArchiveCourseInit(){lpArchiveCourse(),lpArchiveGridListCourseHandle(),lpArchiveGridListCourse()}LPArchiveCourseInit();
1
+ const lpArchiveAddQueryArgs=(e,t)=>{const r=new URL(e);return Object.keys(t).forEach(e=>{r.searchParams.append(e,t[e])}),r},lpArchiveCourse=()=>{const e=document.querySelectorAll(".lp-archive-course-skeleton");if(e.length&&"IntersectionObserver"in window){const t=new IntersectionObserver((e,r)=>{e.forEach(e=>{if(e.isIntersecting){const r=e.target;if(!lpArchiveSkeleton)return;lpArchiveRequestCourse(lpArchiveSkeleton),t.unobserve(r)}})});[...e].map(e=>t.observe(e))}};let skeleton,skeletonClone,isLoading=!1,firstLoad=1;const lpArchiveRequestCourse=e=>{const t=lpGlobalSettings.lp_rest_url,r=lpGlobalSettings.user_id||"";if(!t)return;const s=document.querySelector(".lp-archive-courses"),o=s&&s.querySelector("div.lp-archive-courses .lp-content-area"),n=o&&o.querySelector("ul.learn-press-courses");if(!n)return;if(isLoading)return;isLoading=!0,skeletonClone?n.innerHTML=skeletonClone:(skeleton=document.querySelector(".lp-archive-course-skeleton"),skeletonClone=skeleton.outerHTML);const c=lpArchiveAddQueryArgs(t+"lp/v1/courses/archive-course",{...e,userID:r});wp.apiFetch({path:"lp/v1/courses/archive-course"+c.search,method:"GET"}).then(e=>{void 0!==e.data.content&&n&&(n.innerHTML=e.data.content||"");const t=e.data.pagination;if(lpArchiveSearchCourse(),void 0!==t){const e=(new DOMParser).parseFromString(t,"text/html").querySelector(".learn-press-pagination"),r=document.querySelector(".learn-press-pagination");r&&r.remove(),e&&(n.after(e),lpArchivePaginationCourse())}}).catch(e=>{n.innerHTML+=`<div class="lp-ajax-message error" style="display:block">${e.message||"Error: Query lp/v1/courses/archive-course"}</div>`}).finally(()=>{isLoading=!1,skeleton&&skeleton.remove(),jQuery("form.search-courses button").removeClass("loading"),firstLoad?firstLoad=0:s.scrollIntoView()})},lpArchiveSearchCourse=()=>{document.querySelectorAll("form.search-courses").forEach(e=>{const t=e.querySelector('input[name="s"]'),r=e.getAttribute("action"),s=e.querySelector('[name="post_type"]').value||"",o=e.querySelector('[name="taxonomy"]').value||"",n=e.querySelector('[name="term_id"]').value||"",c=e.querySelector('[type="submit"]');t.addEventListener("keyup",e=>{e.preventDefault();const t=e.target.value;if(!t||t&&t.length>2){c.classList.add("loading"),lpArchiveRequestCourse({...lpArchiveSkeleton,s:t});const e=lpArchiveAddQueryArgs(r,{post_type:s,taxonomy:o,term_id:n,s:t});window.history.pushState("","",e)}}),e.addEventListener("submit",t=>{t.preventDefault();const r=e.querySelector('input[name="s"]');r&&r.dispatchEvent(new Event("keyup"))})})},lpArchivePaginationCourse=()=>{const e=document.querySelectorAll(".lp-archive-courses .learn-press-pagination .page-numbers");e.length>0&&e.forEach(t=>t.addEventListener("click",r=>{r.preventDefault(),r.stopPropagation();const s=r.currentTarget.getAttribute("href");if(s){const o=new URL(s),n={};o.searchParams.forEach((e,t)=>{n[t]=e});const c=[...e].filter(e=>e.classList.contains("current")),a=r.currentTarget.textContent||t.classList.contains("next")&&parseInt(c[0].textContent)+1||t.classList.contains("prev")&&parseInt(c[0].textContent)-1;lpArchiveRequestCourse({...n,paged:a}),window.history.pushState("","",s)}}))},lpArchiveGridListCourse=()=>{const e=LP.Cookies.get("courses-layout"),t=document.querySelectorAll('.lp-courses-bar .switch-layout [name="lp-switch-layout-btn"]');t.length>0&&[...t].map(t=>t.value===e&&(t.checked=!0))},lpArchiveGridListCourseHandle=()=>{const e=document.querySelectorAll('.lp-archive-courses input[name="lp-switch-layout-btn"]');e.length>0&&e.forEach(e=>e.addEventListener("change",e=>{e.preventDefault();const t=e.target.value;if(t){const e=document.querySelector(".lp-archive-courses .learn-press-courses[data-layout]");e&&(e.dataset.layout=t),LP.Cookies.set("courses-layout",t)}}))};function LPArchiveCourseInit(){lpArchiveCourse(),lpArchiveGridListCourseHandle(),lpArchiveGridListCourse()}LPArchiveCourseInit();
assets/js/vendor/chart.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,function(){"use strict";const r="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function l(e,i,t){const a=t||(t=>Array.prototype.slice.call(t));let n=!1,o;return function(...t){o=a(t),n||(n=!0,r.call(window,()=>{n=!1,e.apply(i,o)}))}}function s(t,e){let i;return function(){return e?(clearTimeout(i),i=setTimeout(t,e)):t(),e}}const f=t=>"start"===t?"left":"end"===t?"right":"center",T=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,R=(t,e,i)=>"right"===t?i:"center"===t?(e+i)/2:e;var h=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,i,a,t){const n=i.listeners[t],o=i.duration;n.forEach(t=>t({chart:e,initial:i.initial,numSteps:o,currentStep:Math.min(a-i.start,o)}))}_refresh(){const t=this;t._request||(t._running=!0,t._request=r.call(window,()=>{t._update(),t._request=null,t._running&&t._refresh()}))}_update(r=Date.now()){const s=this;let l=0;s._charts.forEach((a,n)=>{if(a.running&&a.items.length){const o=a.items;let t,e=o.length-1,i=!1;for(;0<=e;--e)t=o[e],t._active?(t._total>a.duration&&(a.duration=t._total),t.tick(r),i=!0):(o[e]=o[o.length-1],o.pop());i&&(n.draw(),s._notify(n,a,r,"progress")),o.length||(a.running=!1,s._notify(n,a,r,"complete"),a.initial=!1),l+=o.length}}),s._lastDate=r,0===l&&(s._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return 0<this._getAnims(t).items.length}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((t,e)=>Math.max(t,e._duration),0),this._refresh())}running(t){if(!this._running)return!1;t=this._charts.get(t);return!!(t&&t.running&&t.items.length)}stop(e){const i=this._charts.get(e);if(i&&i.items.length){const a=i.items;let t=a.length-1;for(;0<=t;--t)a[t].cancel();i.items=[],this._notify(e,i,Date.now(),"complete")}}remove(t){return this._charts.delete(t)}};const o={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},e="0123456789ABCDEF",i=t=>e[15&t],a=t=>e[(240&t)>>4]+e[15&t],n=t=>(240&t)>>4==(15&t);function c(t){return t+.5|0}const d=(t,e,i)=>Math.max(Math.min(t,i),e);function u(t){return d(c(2.55*t),0,255)}function g(t){return d(c(255*t),0,255)}function p(t){return d(c(t/2.55)/100,0,1)}function m(t){return d(c(100*t),0,100)}const x=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,b=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function v(i,t,a){const n=t*Math.min(a,1-a),e=(t,e=(t+i/30)%12)=>a-n*Math.max(Math.min(e-3,9-e,1),-1);return[e(0),e(8),e(4)]}function _(i,a,n){i=(t,e=(t+i/60)%6)=>n-n*a*Math.max(Math.min(e,4-e,1),0);return[i(5),i(3),i(1)]}function y(t,e,i){const a=v(t,1,.5);let n;for(1<e+i&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)a[n]*=1-e-i,a[n]+=e;return a}function w(t){var e=t.r/255,i=t.g/255,a=t.b/255,n=Math.max(e,i,a),o=Math.min(e,i,a),t=(n+o)/2;let r,s,l;return n!==o&&(l=n-o,s=.5<t?l/(2-n-o):l/(n+o),r=n===e?(i-a)/l+(i<a?6:0):n===i?(a-e)/l+2:(e-i)/l+4,r=60*r+.5),[0|r,s||0,t]}function M(t,e,i,a){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,a)).map(g)}function k(t,e,i){return M(v,t,e,i)}function S(t){return(t%360+360)%360}const P={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},D={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let C;function O(e,i,a){if(e){let t=w(e);t[i]=Math.max(0,Math.min(t[i]+t[i]*a,0===i?360:1)),t=k(t),e.r=t[0],e.g=t[1],e.b=t[2]}}function A(t,e){return t&&Object.assign(e||{},t)}function L(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?3<=t.length&&(e={r:t[0],g:t[1],b:t[2],a:255},3<t.length&&(e.a=g(t[3]))):(e=A(t,{r:0,g:0,b:0,a:1})).a=g(e.a),e}function E(t){return("r"===t.charAt(0)?function(t){t=x.exec(t);let e,i,a,n=255;if(t){if(t[7]!==e){const o=+t[7];n=255&(t[8]?u(o):255*o)}return e=+t[1],i=+t[3],a=+t[5],e=255&(t[2]?u(e):e),i=255&(t[4]?u(i):i),a=255&(t[6]?u(a):a),{r:e,g:i,b:a,a:n}}}:function(t){var e=b.exec(t);let i,a=255;if(e){void 0!==e[5]&&(a=(e[6]?u:g)(+e[5]));var n=S(+e[2]),o=+e[3]/100,t=+e[4]/100;return{r:(i="hwb"===e[1]?M(y,n,o,t):"hsv"===e[1]?M(_,n,o,t):k(n,o,t))[0],g:i[1],b:i[2],a:a}}})(t)}class I{constructor(t){if(t instanceof I)return t;var e,i,a=typeof t;let n;"object"==a?n=L(t):"string"==a&&(a=(e=t).length,"#"===e[0]&&(4===a||5===a?i={r:255&17*o[e[1]],g:255&17*o[e[2]],b:255&17*o[e[3]],a:5===a?17*o[e[4]]:255}:7!==a&&9!==a||(i={r:o[e[1]]<<4|o[e[2]],g:o[e[3]]<<4|o[e[4]],b:o[e[5]]<<4|o[e[6]],a:9===a?o[e[7]]<<4|o[e[8]]:255})),n=i||(i=t,C||(C=function(){const t={},e=Object.keys(D),i=Object.keys(P);let a,n,o,r,s;for(a=0;a<e.length;a++){for(r=s=e[a],n=0;n<i.length;n++)o=i[n],s=s.replace(o,P[o]);o=parseInt(D[r],16),t[s]=[o>>16&255,o>>8&255,255&o]}return t}(),C.transparent=[0,0,0,0]),(i=C[i.toLowerCase()])&&{r:i[0],g:i[1],b:i[2],a:4===i.length?i[3]:255})||E(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=A(this._rgb);return t&&(t.a=p(t.a)),t}set rgb(t){this._rgb=L(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${p(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):this._rgb;var t}hexString(){return this._valid?(t=this._rgb,e=t,e=n(e.r)&&n(e.g)&&n(e.b)&&n(e.a)?i:a,t&&"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):"")):this._rgb;var t,e}hslString(){return this._valid?function(t){if(t){var e=w(t),i=e[0],a=m(e[1]),e=m(e[2]);return t.a<255?`hsla(${i}, ${a}%, ${e}%, ${p(t.a)})`:`hsl(${i}, ${a}%, ${e}%)`}}(this._rgb):this._rgb}mix(t,e){if(t){const a=this.rgb,n=t.rgb;var i=void 0===e?.5:e,t=2*i-1,e=a.a-n.a,t=(1+(t*e==-1?t:(t+e)/(1+t*e)))/2,e=1-t;a.r=255&t*a.r+e*n.r+.5,a.g=255&t*a.g+e*n.g+.5,a.b=255&t*a.b+e*n.b+.5,a.a=i*a.a+(1-i)*n.a,this.rgb=a}return this}clone(){return new I(this.rgb)}alpha(t){return this._rgb.a=g(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=c(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return O(this._rgb,2,t),this}darken(t){return O(this._rgb,2,-t),this}saturate(t){return O(this._rgb,1,t),this}desaturate(t){return O(this._rgb,1,-t),this}rotate(t){return e=this._rgb,i=t,(t=w(e))[0]=S(t[0]+i),t=k(t),e.r=t[0],e.g=t[1],e.b=t[2],this;var e,i}}function z(t){return new I(t)}const F=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function V(t){return F(t)?t:z(t)}function B(t){return F(t)?t:z(t).saturate(.5).darken(.1).hexString()}function t(){}const W=function(){let t=0;return function(){return t++}}();function H(t){return null==t}function N(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function j(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const $=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function Y(t,e){return $(t)?t:e}function U(t,e){return void 0===t?e:t}const X=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,q=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function K(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function G(t,e,i,a){let n,o,r;if(N(t))if(o=t.length,a)for(n=o-1;0<=n;n--)e.call(i,t[n],n);else for(n=0;n<o;n++)e.call(i,t[n],n);else if(j(t))for(r=Object.keys(t),o=r.length,n=0;n<o;n++)e.call(i,t[r[n]],r[n])}function Z(t,e){let i,a,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,a=t.length;i<a;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function Q(e){if(N(e))return e.map(Q);if(j(e)){const i=Object.create(null),a=Object.keys(e),n=a.length;let t=0;for(;t<n;++t)i[a[t]]=Q(e[a[t]]);return i}return e}function J(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function tt(t,e,i,a){var n;J(t)&&(n=e[t],i=i[t],j(n)&&j(i)?et(n,i,a):e[t]=Q(i))}function et(i,a,n){const e=N(a)?a:[a],o=e.length;if(!j(i))return i;const r=(n=n||{}).merger||tt;for(let t=0;t<o;++t)if(j(a=e[t])){const o=Object.keys(a);for(let t=0,e=o.length;t<e;++t)r(o[t],i,a,n)}return i}function it(t,e){return et(t,e,{merger:at})}function at(t,e,i){var a;J(t)&&(a=e[t],i=i[t],j(a)&&j(i)?it(a,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Q(i)))}function nt(t,e){e=t.indexOf(".",e);return-1===e?t.length:e}function ot(t,e){if(""===e)return t;let i=0,a=nt(e,i);for(;t&&a>i;)t=t[e.substr(i,a-i)],i=a+1,a=nt(e,i);return t}function rt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const st=t=>void 0!==t,lt=t=>"function"==typeof t,ht=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0},ct=Object.create(null),dt=Object.create(null);function ut(i,t){if(!t)return i;var a=t.split(".");for(let t=0,e=a.length;t<e;++t){var n=a[t];i=i[n]||(i[n]=Object.create(null))}return i}function gt(t,e,i){return"string"==typeof e?et(ut(t,e),i):et(ut(t,""),e)}var ft=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>B(e.backgroundColor),this.hoverBorderColor=(t,e)=>B(e.borderColor),this.hoverColor=(t,e)=>B(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.describe(t)}set(t,e){return gt(this,t,e)}get(t){return ut(this,t)}describe(t,e){return gt(dt,t,e)}override(t,e){return gt(ct,t,e)}route(t,e,i,a){const n=ut(this,t),o=ut(this,i),r="_"+e;Object.defineProperties(n,{[r]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){var t=this[r],e=o[a];return j(t)?Object.assign({},e,t):U(t,e)},set(t){this[r]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});const pt=Math.PI,mt=2*pt,xt=mt+pt,bt=Number.POSITIVE_INFINITY,vt=pt/180,_t=pt/2,yt=pt/4,wt=2*pt/3,Mt=Math.log10,kt=Math.sign;function St(t){var e=Math.pow(10,Math.floor(Mt(t))),t=t/e;return(t<=1?1:t<=2?2:t<=5?5:10)*e}function Pt(t){const e=[],i=Math.sqrt(t);let a;for(a=1;a<i;a++)t%a==0&&(e.push(a),e.push(t/a));return i===(0|i)&&e.push(i),e.sort((t,e)=>t-e).pop(),e}function Dt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Ct(t,e,i){return Math.abs(t-e)<i}function Ot(t,e){var i=Math.round(t);return i-e<=t&&t<=i+e}function At(t,e,i){let a,n,o;for(a=0,n=t.length;a<n;a++)o=t[a][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Tt(t){return t*(pt/180)}function Rt(t){return t*(180/pt)}function Lt(i){if($(i)){let t=1,e=0;for(;Math.round(i*t)/t!==i;)t*=10,e++;return e}}function Et(t,e){var i=e.x-t.x,e=e.y-t.y,t=Math.sqrt(i*i+e*e);let a=Math.atan2(e,i);return a<-.5*pt&&(a+=mt),{angle:a,distance:t}}function It(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function zt(t,e){return(t-e+xt)%mt-pt}function Ft(t){return(t%mt+mt)%mt}function Vt(t,e,i){var a=Ft(t),n=Ft(e),o=Ft(i),r=Ft(n-a),t=Ft(o-a),e=Ft(a-n),i=Ft(a-o);return a===n||a===o||t<r&&e<i}function Bt(t,e,i){return Math.max(e,Math.min(i,t))}function Wt(t){return Bt(t,-32768,32767)}function Ht(t){return!t||H(t.size)||H(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Nt(t,e,i,a,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),a=o>a?o:a}function jt(t,e,i,a){let n=(a=a||{}).data=a.data||{},o=a.garbageCollect=a.garbageCollect||[];a.font!==e&&(n=a.data={},o=a.garbageCollect=[],a.font=e),t.save(),t.font=e;let r=0;var s=i.length;let l,h,c,d,u;for(l=0;l<s;l++)if(null!=(d=i[l])&&!0!==N(d))r=Nt(t,n,o,r,d);else if(N(d))for(h=0,c=d.length;h<c;h++)null==(u=d[h])||N(u)||(r=Nt(t,n,o,r,u));t.restore();var g=o.length/2;if(g>i.length){for(l=0;l<g;l++)delete n[o[l]];o.splice(0,g)}return r}function $t(t,e,i){t=t.currentDevicePixelRatio,i=0!==i?Math.max(i/2,.5):0;return Math.round((e-i)*t)/t+i}function Yt(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function Ut(t,e,i,a){let n,o,r,s,l;const h=e.pointStyle,c=e.rotation,d=e.radius;let u=(c||0)*vt;if(h&&"object"==typeof h&&("[object HTMLImageElement]"===(n=h.toString())||"[object HTMLCanvasElement]"===n))return t.save(),t.translate(i,a),t.rotate(u),t.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),void t.restore();if(!(isNaN(d)||d<=0)){switch(t.beginPath(),h){default:t.arc(i,a,d,0,mt),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(u)*d,a-Math.cos(u)*d),u+=wt,t.lineTo(i+Math.sin(u)*d,a-Math.cos(u)*d),u+=wt,t.lineTo(i+Math.sin(u)*d,a-Math.cos(u)*d),t.closePath();break;case"rectRounded":l=.516*d,s=d-l,o=Math.cos(u+yt)*s,r=Math.sin(u+yt)*s,t.arc(i-o,a-r,l,u-pt,u-_t),t.arc(i+r,a-o,l,u-_t,u),t.arc(i+o,a+r,l,u,u+_t),t.arc(i-r,a+o,l,u+_t,u+pt),t.closePath();break;case"rect":if(!c){s=Math.SQRT1_2*d,t.rect(i-s,a-s,2*s,2*s);break}u+=yt;case"rectRot":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+r,a-o),t.lineTo(i+o,a+r),t.lineTo(i-r,a+o),t.closePath();break;case"crossRot":u+=yt;case"cross":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r),t.moveTo(i+r,a-o),t.lineTo(i-r,a+o);break;case"star":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r),t.moveTo(i+r,a-o),t.lineTo(i-r,a+o),u+=yt,o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r),t.moveTo(i+r,a-o),t.lineTo(i-r,a+o);break;case"line":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r);break;case"dash":t.moveTo(i,a),t.lineTo(i+Math.cos(u)*d,a+Math.sin(u)*d)}t.fill(),0<e.borderWidth&&t.stroke()}}function Xt(t,e,i){return i=i||.5,t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function qt(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Kt(t){t.restore()}function Gt(t,e,i,a,n){if(!e)return t.lineTo(i.x,i.y);if("middle"===n){const a=(e.x+i.x)/2;t.lineTo(a,e.y),t.lineTo(a,i.y)}else"after"===n!=!!a?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function Zt(t,e,i,a){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(a?e.cp1x:e.cp2x,a?e.cp1y:e.cp2y,a?i.cp2x:i.cp1x,a?i.cp2y:i.cp1y,i.x,i.y)}function Qt(t,e,i,a,n,o={}){const r=N(e)?e:[e],s=0<o.strokeWidth&&""!==o.strokeColor;let l,h;for(t.save(),o.translation&&t.translate(o.translation[0],o.translation[1]),H(o.rotation)||t.rotate(o.rotation),t.font=n.string,o.color&&(t.fillStyle=o.color),o.textAlign&&(t.textAlign=o.textAlign),o.textBaseline&&(t.textBaseline=o.textBaseline),l=0;l<r.length;++l){if(h=r[l],s&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),H(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(h,i,a,o.maxWidth)),t.fillText(h,i,a,o.maxWidth),o.strikethrough||o.underline){const e=t.measureText(h),n=i-e.actualBoundingBoxLeft,r=i+e.actualBoundingBoxRight,s=a-e.actualBoundingBoxAscent,l=a+e.actualBoundingBoxDescent,c=o.strikethrough?(s+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(n,c),t.lineTo(r,c),t.stroke()}a+=n.lineHeight}t.restore()}function Jt(t,e){var{x:i,y:a,w:n,h:o,radius:e}=e;t.arc(i+e.topLeft,a+e.topLeft,e.topLeft,-_t,pt,!0),t.lineTo(i,a+o-e.bottomLeft),t.arc(i+e.bottomLeft,a+o-e.bottomLeft,e.bottomLeft,pt,_t,!0),t.lineTo(i+n-e.bottomRight,a+o),t.arc(i+n-e.bottomRight,a+o-e.bottomRight,e.bottomRight,_t,0,!0),t.lineTo(i+n,a+e.topRight),t.arc(i+n-e.topRight,a+e.topRight,e.topRight,0,-_t,!0),t.lineTo(i+e.topLeft,a)}function te(e,i,t){t=t||(t=>e[t]<i);let a,n=e.length-1,o=0;for(;1<n-o;)t(a=o+n>>1)?o=a:n=a;return{lo:o,hi:n}}const ee=(e,i,a)=>te(e,a,t=>e[t][i]<a),ie=(e,i,a)=>te(e,a,t=>e[t][i]>=a);function ae(t,e,i){let a=0,n=t.length;for(;a<n&&t[a]<e;)a++;for(;n>a&&t[n-1]>i;)n--;return 0<a||n<t.length?t.slice(a,n):t}const ne=["push","pop","shift","splice","unshift"];function oe(n,t){n._chartjs?n._chartjs.listeners.push(t):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),ne.forEach(t=>{const i="_onData"+rt(t),a=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...e){var t=a.apply(this,e);return n._chartjs.listeners.forEach(t=>{"function"==typeof t[i]&&t[i](...e)}),t}})}))}function re(e,t){var i=e._chartjs;if(i){const a=i.listeners,n=a.indexOf(t);-1!==n&&a.splice(n,1),0<a.length||(ne.forEach(t=>{delete e[t]}),delete e._chartjs)}}function se(t){const e=new Set;let i,a;for(i=0,a=t.length;i<a;++i)e.add(t[i]);if(e.size===a)return t;const n=[];return e.forEach(t=>{n.push(t)}),n}function le(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function he(t,e,i){let a;return"string"==typeof t?(a=parseInt(t,10),-1!==t.indexOf("%")&&(a=a/100*e.parentNode[i])):a=t,a}const ce=t=>window.getComputedStyle(t,null);function de(t,e){return ce(t).getPropertyValue(e)}const ue=["top","right","bottom","left"];function ge(e,i,a){const n={};a=a?"-"+a:"";for(let t=0;t<4;t++){var o=ue[t];n[o]=parseFloat(e[i+"-"+o+a])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function fe(t,e){var{canvas:i,currentDevicePixelRatio:a}=e,n=ce(i),o="border-box"===n.boxSizing,r=ge(n,"padding"),s=ge(n,"border","width"),{x:l,y:h,box:n}=function(t,e){var i=t.native||t,a=i.touches,n=a&&a.length?a[0]:i,{offsetX:t,offsetY:a}=n;let o,r,s=!1;if(i=i.target,!(0<t||0<a)||i&&i.shadowRoot){const l=e.getBoundingClientRect();o=n.clientX-l.left,r=n.clientY-l.top,s=!0}else o=t,r=a;return{x:o,y:r,box:s}}(t,i),t=r.left+(n&&s.left),n=r.top+(n&&s.top);let{width:c,height:d}=e;return o&&(c-=r.width+s.width,d-=r.height+s.height),{x:Math.round((l-t)/c*i.width/a),y:Math.round((h-n)/d*i.height/a)}}const pe=t=>Math.round(10*t)/10;function me(t,e,i,a){var n=ce(t),o=ge(n,"margin"),r=he(n.maxWidth,t,"clientWidth")||bt,s=he(n.maxHeight,t,"clientHeight")||bt,i=function(t,e,i){let a,n;if(void 0===e||void 0===i){const o=le(t);if(o){const t=o.getBoundingClientRect(),r=ce(o),s=ge(r,"border","width"),l=ge(r,"padding");e=t.width-l.width-s.width,i=t.height-l.height-s.height,a=he(r.maxWidth,o,"clientWidth"),n=he(r.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:a||bt,maxHeight:n||bt}}(t,e,i);let{width:l,height:h}=i;if("content-box"===n.boxSizing){const t=ge(n,"border","width"),e=ge(n,"padding");l-=e.width+t.width,h-=e.height+t.height}return l=Math.max(0,l-o.width),h=Math.max(0,a?Math.floor(l/a):h-o.height),l=pe(Math.min(l,r,i.maxWidth)),h=pe(Math.min(h,s,i.maxHeight)),l&&!h&&(h=pe(l/2)),{width:l,height:h}}function xe(t,e,i){const a=t.currentDevicePixelRatio=e||1,{canvas:n,width:o,height:r}=t;n.height=r*a,n.width=o*a,t.ctx.setTransform(a,0,0,a,0,0),n.style&&(i||!n.style.height&&!n.style.width)&&(n.style.height=r+"px",n.style.width=o+"px")}var be=function(){let t=!1;try{var e={get passive(){return!(t=!0)}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function ve(t,e){const i=de(t,e),a=i&&i.match(/^(\d+)(\.\d+)?px$/);return a?+a[1]:void 0}function _e(t,e){return"native"in t?{x:t.x,y:t.y}:fe(t,e)}function ye(t,i,a,n,o){var r=t.getSortedVisibleDatasetMetas(),s=a[i];for(let t=0,e=r.length;t<e;++t){const{index:a,data:l}=r[t],{lo:h,hi:c}=function(t,e,i,a){const{controller:n,data:o,_sorted:r}=t,s=n._cachedMeta.iScale;if(s&&e===s.axis&&r&&o.length){const t=s._reversePixels?ie:ee;if(!a)return t(o,e,i);if(n._sharedOptions){const a=o[0],n="function"==typeof a.getRange&&a.getRange(e);if(n){const a=t(o,e,i-n),r=t(o,e,i+n);return{lo:a.lo,hi:r.hi}}}}return{lo:0,hi:o.length-1}}(r[t],i,s,o);for(let t=h;t<=c;++t){const i=l[t];i.skip||n(i,a,t)}}}function we(t,a,e,n){const o=[];return Xt(a,t.chartArea,t._minPadding)&&ye(t,e,a,function(t,e,i){t.inRange(a.x,a.y,n)&&o.push({element:t,datasetIndex:e,index:i})},!0),o}function Me(t,n,e,o,r){const s=function(t){const a=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,e){var i=a?Math.abs(t.x-e.x):0,e=n?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(e,2))}}(e);let l=Number.POSITIVE_INFINITY,h=[];return Xt(n,t.chartArea,t._minPadding)&&ye(t,e,n,function(t,e,i){var a;o&&!t.inRange(n.x,n.y,r)||(a=t.getCenterPoint(r),(a=s(n,a))<l?(h=[{element:t,datasetIndex:e,index:i}],l=a):a===l&&h.push({element:t,datasetIndex:e,index:i}))}),h}function ke(t,e,i,l){const h=_e(e,t),c=[],d=i.axis,u="x"===d?"inXRange":"inYRange";let g=!1;return function(){var i,a,n,o,r,s=t.getSortedVisibleDatasetMetas();for(let t=0,e=s.length;t<e;++t){({index:i,data:a}=s[t]);for(let t=0,e=a.length;t<e;++t)(r=a[t]).skip||(n=r,o=i,r=t,n[u](h[d],l)&&c.push({element:n,datasetIndex:o,index:r}),n.inRange(h.x,h.y,l)&&(g=!0))}}(),i.intersect&&!g?[]:c}var Se={modes:{index(t,e,i,a){const n=_e(e,t),o=i.axis||"x",r=i.intersect?we(t,n,o,a):Me(t,n,o,!1,a),s=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach(t=>{var e=r[0].index,i=t.data[e];i&&!i.skip&&s.push({element:i,datasetIndex:t.index,index:e})}),s):[]},dataset(t,e,i,a){var n=_e(e,t),e=i.axis||"xy";let o=i.intersect?we(t,n,e,a):Me(t,n,e,!1,a);if(0<o.length){const r=o[0].datasetIndex,i=t.getDatasetMeta(r).data;o=[];for(let t=0;t<i.length;++t)o.push({element:i[t],datasetIndex:r,index:t})}return o},point:(t,e,i,a)=>we(t,_e(e,t),i.axis||"xy",a),nearest:(t,e,i,a)=>Me(t,_e(e,t),i.axis||"xy",i.intersect,a),x:(t,e,i,a)=>(i.axis="x",ke(t,e,i,a)),y:(t,e,i,a)=>(i.axis="y",ke(t,e,i,a))}};const Pe=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),De=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Ce(t,e){var i=(""+t).match(Pe);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}function Oe(e,i){const t={},a=j(i),n=a?Object.keys(i):i,o=j(e)?a?t=>U(e[t],e[i[t]]):t=>e[t]:()=>e;for(const e of n)t[e]=+o(e)||0;return t}function Ae(t){return Oe(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Te(t){return Oe(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Re(t){const e=Ae(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Le(t,e){e=e||ft.font;let i=U((t=t||{}).size,e.size);"string"==typeof i&&(i=parseInt(i,10));let a=U(t.style,e.style);a&&!(""+a).match(De)&&(console.warn('Invalid font style specified: "'+a+'"'),a="");const n={family:U(t.family,e.family),lineHeight:Ce(U(t.lineHeight,e.lineHeight),i),size:i,style:a,weight:U(t.weight,e.weight),string:""};return n.string=Ht(n),n}function Ee(t,e,i,a){let n,o,r,s=!0;for(n=0,o=t.length;n<o;++n)if(r=t[n],void 0!==r&&(void 0!==e&&"function"==typeof r&&(r=r(e),s=!1),void 0!==i&&N(r)&&(r=r[i%r.length],s=!1),void 0!==r))return a&&!s&&(a.cacheable=!1),r}function Ie(t,e){var{min:i,max:t}=t;return{min:i-Math.abs(q(e,i)),max:t+q(e,t)}}const ze=["left","top","right","bottom"];function Fe(t,e){return t.filter(t=>t.pos===e)}function Ve(t,e){return t.filter(t=>-1===ze.indexOf(t.pos)&&t.box.axis===e)}function Be(t,a){return t.sort((t,e)=>{var i=a?e:t,e=a?t:e;return i.weight===e.weight?i.index-e.index:i.weight-e.weight})}function We(t,e,i,a){return Math.max(t[i],e[i])+Math.max(t[a],e[a])}function He(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Ne(t,i){const a=i.maxPadding;return function(t){const e={left:0,top:0,right:0,bottom:0};return t.forEach(t=>{e[t]=Math.max(i[t],a[t])}),e}(t?["left","right"]:["top","bottom"])}function je(t,e,i){const a=[];let n,o,r,s,l,h;for(n=0,o=t.length,l=0;n<o;++n){r=t[n],s=r.box,s.update(r.width||e.w,r.height||e.h,Ne(r.horizontal,e));const{same:o,other:c}=function(t,e,i){const a=i.box,n=t.maxPadding;j(i.pos)||(i.size&&(t[i.pos]-=i.size),i.size=i.horizontal?a.height:a.width,t[i.pos]+=i.size),a.getPadding&&He(n,a.getPadding());var o=Math.max(0,e.outerWidth-We(n,t,"left","right")),r=Math.max(0,e.outerHeight-We(n,t,"top","bottom")),s=o!==t.w,e=r!==t.h;return t.w=o,t.h=r,i.horizontal?{same:s,other:e}:{same:e,other:s}}(e,i,r);l|=o&&a.length,h=h||c,s.fullSize||a.push(r)}return l&&je(a,e,i)||h}function $e(t,e,i){var a=i.padding;let n,o,r,s,l=e.x,h=e.y;for(n=0,o=t.length;n<o;++n)r=t[n],s=r.box,r.horizontal?(s.left=(s.fullSize?a:e).left,s.right=s.fullSize?i.outerWidth-a.right:e.left+e.w,s.top=h,s.bottom=h+s.height,s.width=s.right-s.left,h=s.bottom):(s.left=l,s.right=l+s.width,s.top=(s.fullSize?a:e).top,s.bottom=s.fullSize?i.outerHeight-a.right:e.top+e.h,s.height=s.bottom-s.top,l=s.right);e.x=l,e.y=h}ft.set("layout",{padding:{top:0,right:0,bottom:0,left:0}});var Ye={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){e=t.boxes?t.boxes.indexOf(e):-1;-1!==e&&t.boxes.splice(e,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(l,t,e,i){if(l){const n=Re(l.options.layout.padding),o=t-n.width,r=e-n.height,s=function(){const t=function(t){const e=[];let i,a,n;for(i=0,a=(t||[]).length;i<a;++i)n=t[i],e.push({index:i,box:n,pos:n.position,horizontal:n.isHorizontal(),weight:n.weight});return e}(l.boxes),e=Be(t.filter(t=>t.box.fullSize),!0),i=Be(Fe(t,"left"),!0),a=Be(Fe(t,"right")),n=Be(Fe(t,"top"),!0),o=Be(Fe(t,"bottom")),r=Ve(t,"x"),s=Ve(t,"y");return{fullSize:e,leftAndTop:i.concat(n),rightAndBottom:a.concat(s).concat(o).concat(r),chartArea:Fe(t,"chartArea"),vertical:i.concat(a).concat(s),horizontal:n.concat(o).concat(r)}}(),h=s.vertical,c=s.horizontal;G(l.boxes,t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()});var a=h.reduce((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1,0)||1,e=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/a,hBoxMaxHeight:r/2}),a=Object.assign({},n);He(a,Re(i));const d=Object.assign({maxPadding:a,w:o,h:r,x:n.left,y:n.top},n);!function(t,e){let i,a,n;for(i=0,a=t.length;i<a;++i)n=t[i],n.horizontal?(n.width=n.box.fullSize&&e.availableWidth,n.height=e.hBoxMaxHeight):(n.width=e.vBoxMaxWidth,n.height=n.box.fullSize&&e.availableHeight)}(h.concat(c),e),je(s.fullSize,d,e),je(h,d,e),je(c,d,e)&&je(h,d,e),function(i){const a=i.maxPadding;function t(t){var e=Math.max(a[t]-i[t],0);return i[t]+=e,e}i.y+=t("top"),i.x+=t("left"),t("right"),t("bottom")}(d),$e(s.leftAndTop,d,e),d.x+=d.w,d.y+=d.h,$e(s.rightAndBottom,d,e),l.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},G(s.chartArea,t=>{const e=t.box;Object.assign(e,l.chartArea),e.update(d.w,d.h)})}}};class Ue{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,a){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,a?Math.floor(e/a):i)}}isAttached(t){return!0}}class Xe extends Ue{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}}const qe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ke=t=>null===t||""===t,Ge=!!be&&{passive:!0};function Ze(t,e,n){const i=t.canvas,o=i&&le(i)||i,a=new MutationObserver(t=>{const a=le(o);t.forEach(e=>{for(let t=0;t<e.addedNodes.length;t++){var i=e.addedNodes[t];i!==o&&i!==a||n(e.target)}})});return a.observe(document,{childList:!0,subtree:!0}),a}function Qe(t,e,i){const a=t.canvas,n=a&&le(a);if(n){const o=new MutationObserver(t=>{t.forEach(e=>{for(let t=0;t<e.removedNodes.length;t++)if(e.removedNodes[t]===a){i();break}})});return o.observe(n,{childList:!0}),o}}const Je=new Map;let ti=0;function ei(){const i=window.devicePixelRatio;i!==ti&&(ti=i,Je.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function ii(t,e,a){const i=t.canvas,n=i&&le(i);if(n){const r=l((t,e)=>{var i=n.clientWidth;a(t,e),i<n.clientWidth&&a()},window),s=new ResizeObserver(t=>{var e=t[0],t=e.contentRect.width,e=e.contentRect.height;0===t&&0===e||r(t,e)});return s.observe(n),o=t,t=r,Je.size||window.addEventListener("resize",ei),Je.set(o,t),s;var o}}function ai(t,e,i){i&&i.disconnect(),"resize"===e&&(t=t,Je.delete(t),Je.size||window.removeEventListener("resize",ei))}function ni(e,t,i){var a=e.canvas,n=l(t=>{null!==e.ctx&&i(function(t,e){var i=qe[t.type]||t.type,{x:a,y:n}=fe(t,e);return{type:i,chart:e,native:t,x:void 0!==a?a:null,y:void 0!==n?n:null}}(t,e))},e,t=>{t=t[0];return[t,t.offsetX,t.offsetY]});return a.addEventListener(t,n,Ge),n}class oi extends Ue{acquireContext(t,e){var i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,a=t.getAttribute("height"),n=t.getAttribute("width");if(t.$chartjs={initial:{height:a,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Ke(n)){const e=ve(t,"width");void 0!==e&&(t.width=e)}if(Ke(a))if(""===t.style.height)t.height=t.width/(e||2);else{const e=ve(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const i=t.canvas;if(!i.$chartjs)return!1;const a=i.$chartjs.initial;["height","width"].forEach(t=>{var e=a[t];H(e)?i.removeAttribute(t):i.setAttribute(t,e)});const e=a.style||{};return Object.keys(e).forEach(t=>{i.style[t]=e[t]}),i.width=i.width,delete i.$chartjs,!0}addEventListener(t,e,i){this.removeEventListener(t,e);const a=t.$proxies||(t.$proxies={}),n={attach:Ze,detach:Qe,resize:ii}[e]||ni;a[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),a=i[e];a&&(({attach:ai,detach:ai,resize:ai}[e]||function(t,e,i){t.canvas.removeEventListener(e,i,Ge)})(t,e,a),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,a){return me(t,e,i,a)}isAttached(t){t=le(t);return!(!t||!le(t))}}var ri=Object.freeze({__proto__:null,BasePlatform:Ue,BasicPlatform:Xe,DomPlatform:oi});const si=t=>0===t||1===t,li=(t,e,i)=>-Math.pow(2,10*--t)*Math.sin((t-e)*mt/i),hi=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*mt/i)+1,ci={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>--t*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-(--t*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>--t*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*_t),easeOutSine:t=>Math.sin(t*_t),easeInOutSine:t=>-.5*(Math.cos(pt*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>si(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>1<=t?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1- --t*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>si(t)?t:li(t,.075,.3),easeOutElastic:t=>si(t)?t:hi(t,.075,.3),easeInOutElastic(t){return si(t)?t:t<.5?.5*li(2*t,.1125,.45):.5+.5*hi(2*t-1,.1125,.45)},easeInBack(t){return t*t*(2.70158*t-1.70158)},easeOutBack(t){return--t*t*(2.70158*t+1.70158)+1},easeInOutBack(t){let 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:t=>1-ci.easeOutBounce(1-t),easeOutBounce(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*ci.easeInBounce(2*t):.5*ci.easeOutBounce(2*t-1)+.5},di="transparent",ui={boolean:(t,e,i)=>.5<i?e:t,color(t,e,i){const a=V(t||di),n=a.valid&&V(e||di);return n&&n.valid?n.mix(a,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class gi{constructor(t,e,i,a){var n=e[i];a=Ee([t.to,a,n,t.from]);n=Ee([t.from,n,a]);this._active=!0,this._fn=t.fn||ui[t.type||typeof n],this._easing=ci[t.easing]||ci.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=n,this._to=a,this._promises=void 0}active(){return this._active}update(t,e,i){var a,n,o,r=this;r._active&&(r._notify(!1),a=r._target[r._prop],n=i-r._start,o=r._duration-n,r._start=i,r._duration=Math.floor(Math.max(o,t.duration)),r._total+=n,r._loop=!!t.loop,r._to=Ee([t.to,e,a,t.from]),r._from=Ee([t.from,a,e]))}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){var e=this,i=t-e._start,a=e._duration,n=e._prop,o=e._from,r=e._loop,t=e._to;let s;if(e._active=o!==t&&(r||i<a),!e._active)return e._target[n]=t,void e._notify(!0);i<0?e._target[n]=o:(s=i/a%2,s=r&&1<s?2-s:s,s=e._easing(Math.min(1,Math.max(0,s))),e._target[n]=e._fn(o,t,s))}wait(){const i=this._promises||(this._promises=[]);return new Promise((t,e)=>{i.push({res:t,rej:e})})}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}ft.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const fi=Object.keys(ft.animation);ft.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),ft.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),ft.describe("animations",{_fallback:"animation"}),ft.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class pi{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(a){if(j(a)){const n=this._properties;Object.getOwnPropertyNames(a).forEach(e=>{const t=a[e];if(j(t)){const i={};for(const a of fi)i[a]=t[a];(N(t.properties)&&t.properties||[e]).forEach(t=>{t!==e&&n.has(t)||n.set(t,i)})}})}}_animateOptions(t,e){const i=e.options,a=function(e,i){if(i){let t=e.options;if(t)return t.$shared&&(e.options=t=Object.assign({},t,{$shared:!1,$animations:{}})),t;e.options=i}}(t,i);if(!a)return[];e=this._createAnimations(a,i);return i.$shared&&function(e,t){const i=[],a=Object.keys(t);for(let t=0;t<a.length;t++){const n=e[a[t]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)}(t.options.$animations,i).then(()=>{t.options=i},()=>{}),e}_createAnimations(e,i){const a=this._properties,n=[],o=e.$animations||(e.$animations={}),t=Object.keys(i),r=Date.now();let s;for(s=t.length-1;0<=s;--s){const c=t[s];if("$"!==c.charAt(0))if("options"!==c){var l=i[c];let t=o[c];var h=a.get(c);if(t){if(h&&t.active()){t.update(h,l,r);continue}t.cancel()}h&&h.duration?(o[c]=t=new gi(h,e,c,l),n.push(t)):e[c]=l}else n.push(...this._animateOptions(e,i))}return n}update(t,e){if(0!==this._properties.size){var i=this._createAnimations(t,e);return i.length?(h.add(this._chart,i),!0):void 0}Object.assign(t,e)}}function mi(t,e){var i=t&&t.options||{},a=i.reverse,t=void 0===i.min?e:0,e=void 0===i.max?e:0;return{start:a?e:t,end:a?t:e}}function xi(t,e){const i=[],a=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=a.length;n<o;++n)i.push(a[n].index);return i}function bi(t,e,i,a){var n=t.keys,o="single"===a.mode;let r,s,l,h;if(null!==e){for(r=0,s=n.length;r<s;++r){if((l=+n[r])===i){if(a.all)continue;break}h=t.values[l],$(h)&&(o||0===e||kt(e)===kt(h))&&(e+=h)}return e}}function vi(t,e){t=t&&t.options.stacked;return t||void 0===t&&void 0!==e.stack}function _i(t,e,i){for(const a of e.getMatchingVisibleMetas("bar").reverse()){const e=t[a.index];if(i&&0<e||!i&&e<0)return a.index}return null}function yi(t,e){const{chart:i,_cachedMeta:a}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:r,index:s}=a,l=o.axis,h=r.axis,c=(u=o,t=a,`${u.id}.${r.id}.${t.stack||t.type}`),d=e.length;var u;let g;for(let t=0;t<d;++t){const i=e[t],{[l]:a,[h]:o}=i;g=(i._stacks||(i._stacks={}))[h]=function(t,e,i){const a=t[e]||(t[e]={});return a[i]||(a[i]={})}(n,c,a),g[s]=o,g._top=_i(g,r,!0),g._bottom=_i(g,r,!1)}}function wi(t,e){const i=t.scales;return Object.keys(i).filter(t=>i[t].axis===e).shift()}function Mi(t,e){for(const i of e=e||t._parsed){const e=i._stacks;if(!e||void 0===e[t.vScale.id]||void 0===e[t.vScale.id][t.index])return;delete e[t.vScale.id][t.index]}}const ki=t=>"reset"===t||"none"===t,Si=(t,e)=>e?t:Object.assign({},t);class Pi{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=vi(t.vScale,t),this.addElements()}updateIndex(t){this.index=t}linkScales(){const t=this,e=t.chart,i=t._cachedMeta,a=t.getDataset(),n=(t,e,i,a)=>"x"===t?e:"r"===t?a:i,o=i.xAxisID=U(a.xAxisID,wi(e,"x")),r=i.yAxisID=U(a.yAxisID,wi(e,"y")),s=i.rAxisID=U(a.rAxisID,wi(e,"r")),l=i.indexAxis,h=i.iAxisID=n(l,o,r,s),c=i.vAxisID=n(l,r,o,s);i.xScale=t.getScaleForId(o),i.yScale=t.getScaleForId(r),i.rScale=t.getScaleForId(s),i.iScale=t.getScaleForId(h),i.vScale=t.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){var e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){var t=this._cachedMeta;this._data&&re(this._data,this),t._stacked&&Mi(t)}_dataCheck(){const t=this,e=t.getDataset(),i=e.data||(e.data=[]);j(i)?t._data=function(t){const e=Object.keys(t),i=new Array(e.length);let a,n,o;for(a=0,n=e.length;a<n;++a)o=e[a],i[a]={x:o,y:t[o]};return i}(i):t._data!==i&&(t._data&&(re(t._data,t),Mi(t._cachedMeta)),i&&Object.isExtensible(i)&&oe(i,t),t._data=i)}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this,i=e._cachedMeta,a=e.getDataset();let n=!1;e._dataCheck(),i._stacked=vi(i.vScale,i),i.stack!==a.stack&&(n=!0,Mi(i),i.stack=a.stack),e._resyncElements(t),n&&yi(e,i._parsed)}configure(){const t=this,e=t.chart.config,i=e.datasetScopeKeys(t._type),a=e.getOptionScopes(t.getDataset(),i,!0);t.options=e.createResolver(a,t.getContext()),t._parsing=t.options.parsing}parse(t,e){const i=this,{_cachedMeta:a,_data:n}=i,{iScale:o,_stacked:r}=a,s=o.axis;let l,h,c,d=0===t&&e===n.length||a._sorted,u=0<t&&a._parsed[t-1];if(!1===i._parsing)a._parsed=n,a._sorted=!0,c=n;else{c=N(n[t])?i.parseArrayData(a,n,t,e):j(n[t])?i.parseObjectData(a,n,t,e):i.parsePrimitiveData(a,n,t,e);const o=()=>null===h[s]||u&&h[s]<u[s];for(l=0;l<e;++l)a._parsed[l+t]=h=c[l],d&&(o()&&(d=!1),u=h);a._sorted=d}r&&yi(i,c)}parsePrimitiveData(t,e,i,a){const{iScale:n,vScale:o}=t,r=n.axis,s=o.axis,l=n.getLabels(),h=n===o,c=new Array(a);let d,u,g;for(d=0,u=a;d<u;++d)g=d+i,c[d]={[r]:h||n.parse(l[g],g),[s]:o.parse(e[g],g)};return c}parseArrayData(t,e,i,a){const{xScale:n,yScale:o}=t,r=new Array(a);let s,l,h,c;for(s=0,l=a;s<l;++s)c=e[h=s+i],r[s]={x:n.parse(c[0],h),y:o.parse(c[1],h)};return r}parseObjectData(t,e,i,a){const{xScale:n,yScale:o}=t,{xAxisKey:r="x",yAxisKey:s="y"}=this._parsing,l=new Array(a);let h,c,d,u;for(h=0,c=a;h<c;++h)u=e[d=h+i],l[h]={x:n.parse(ot(u,r),d),y:o.parse(ot(u,s),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){var a=this.chart,n=this._cachedMeta,o=e[t.axis];return bi({keys:xi(a,!0),values:e._stacks[t.axis]},o,n.index,{mode:i})}updateRangeFromParsed(t,e,i,a){var n=i[e.axis];let o=null===n?NaN:n;e=a&&i._stacks[e.axis];a&&e&&(a.values=e,t.min=Math.min(t.min,o),t.max=Math.max(t.max,o),o=bi(a,n,this._cachedMeta.index,{all:!0})),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const i=this,a=i._cachedMeta,n=a._parsed,o=a._sorted&&t===a.iScale,r=n.length,s=i._getOtherScale(t),l=e&&a._stacked&&{keys:xi(i.chart,!0),values:null},h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(){var{min:t,max:e,minDefined:i,maxDefined:a}=s.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:a?e:Number.POSITIVE_INFINITY}}();let u,g,f,p;function m(){return f=n[u],g=f[t.axis],p=f[s.axis],!$(g)||c>p||d<p}for(u=0;u<r&&(m()||(i.updateRangeFromParsed(h,t,f,l),!o));++u);if(o)for(u=r-1;0<=u;--u)if(!m()){i.updateRangeFromParsed(h,t,f,l);break}return h}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let a,n,o;for(a=0,n=e.length;a<n;++a)o=e[a][t.axis],$(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,a=e.vScale,n=this.getParsed(t);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:a?""+a.getLabelForValue(n[a.axis]):""}}_update(t){const e=this,i=e._cachedMeta;e.configure(),e._cachedDataOpts={},e.update(t||"default"),i._clip=function(t){let e,i,a,n;return j(t)?(e=t.top,i=t.right,a=t.bottom,n=t.left):e=i=a=n=t,{top:e,right:i,bottom:a,left:n}}(U(e.options.clip,function(t,e,i){if(!1===i)return!1;t=mi(t,i),i=mi(e,i);return{top:i.end,right:t.end,bottom:i.start,left:t.start}}(i.xScale,i.yScale,e.getMaxOverflow())))}update(t){}draw(){const t=this,e=t._ctx,i=t.chart,a=t._cachedMeta,n=a.data||[],o=i.chartArea,r=[],s=t._drawStart||0,l=t._drawCount||n.length-s;let h;for(a.dataset&&a.dataset.draw(e,o,s,l),h=s;h<s+l;++h){const t=n[h];t.active?r.push(t):t.draw(e,o)}for(h=0;h<r.length;++h)r[h].draw(e,o)}getStyle(t,e){e=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(e):this.resolveDataElementOptions(t||0,e)}getContext(t,e,i){var a,n,o,r=this,s=r.getDataset();let l;if(0<=t&&t<r._cachedMeta.data.length){const e=r._cachedMeta.data[t];l=e.$context||(e.$context=(a=r.getContext(),n=t,o=e,Object.assign(Object.create(a),{active:!1,dataIndex:n,parsed:void 0,raw:void 0,element:o,index:n,mode:"default",type:"data"}))),l.parsed=r.getParsed(t),l.raw=s.data[t]}else l=r.$context||(r.$context=(t=r.chart.getContext(),r=r.index,Object.assign(Object.create(t),{active:!1,dataset:void 0,datasetIndex:r,index:r,mode:"default",type:"dataset"}))),l.dataset=s;return l.active=!!e,l.mode=i,l}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const a=this,n="active"===e,o=a._cachedDataOpts,r=t+"-"+e,s=o[r],l=a.enableOptionSharing&&st(i);if(s)return Si(s,l);const h=a.chart.config,c=h.datasetElementScopeKeys(a._type,t),d=n?[t+"Hover","hover",t,""]:[t,""],u=h.getOptionScopes(a.getDataset(),c),g=Object.keys(ft.elements[t]),f=h.resolveNamedOptions(u,g,()=>a.getContext(i,n),d);return f.$shared&&(f.$shared=l,o[r]=Object.freeze(Si(f,l))),f}_resolveAnimations(t,e,i){const a=this,n=a.chart,o=a._cachedDataOpts,r="animation-"+e,s=o[r];if(s)return s;let l;if(!1!==n.options.animation){const n=a.chart.config,o=n.datasetAnimationScopeKeys(a._type,e),r=n.getOptionScopes(a.getDataset(),o);l=n.createResolver(r,a.getContext(t,i,e))}e=new pi(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(e)),e}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||ki(t)||this.chart._animationsDisabled}updateElement(t,e,i,a){ki(a)?Object.assign(t,i):this._resolveAnimations(e,a).update(t,i)}updateSharedOptions(t,e,i){t&&!ki(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,a){t.active=a;var n=this.getStyle(e,a);this._resolveAnimations(e,i,a).update(t,{options:!a&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){var e=this,i=e._cachedMeta.data.length,a=e._data.length;i<a?e._insertElements(i,a-i,t):a<i&&e._removeElements(a,i-a);i=Math.min(a,i);i&&e.parse(0,i)}_insertElements(t,e,i=!0){const a=this,n=a._cachedMeta,o=n.data,r=t+e;let s;var l=t=>{for(t.length+=e,s=t.length-1;s>=r;s--)t[s]=t[s-e]};for(l(o),s=t;s<r;++s)o[s]=new a.dataElementType;a._parsing&&l(n._parsed),a.parse(t,e),i&&a.updateElements(o,t,e,"reset")}updateElements(t,e,i,a){}_removeElements(t,e){const i=this._cachedMeta;var a;this._parsing&&(a=i._parsed.splice(t,e),i._stacked&&Mi(i,a)),i.data.splice(t,e)}_onDataPush(){var t=arguments.length;this._insertElements(this.getDataset().data.length-t,t)}_onDataPop(){this._removeElements(this._cachedMeta.data.length-1,1)}_onDataShift(){this._removeElements(0,1)}_onDataSplice(t,e){this._removeElements(t,e),this._insertElements(t,arguments.length-2)}_onDataUnshift(){this._insertElements(0,arguments.length)}}Pi.defaults={},Pi.prototype.datasetElementType=null,Pi.prototype.dataElementType=null;class Di{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){var{x:e,y:t}=this.getProps(["x","y"],t);return{x:e,y:t}}hasValue(){return Dt(this.x)&&Dt(this.y)}getProps(t,e){const i=this,a=this.$animations;if(!e||!a)return i;const n={};return t.forEach(t=>{n[t]=a[t]&&a[t].active()?a[t]._to:i[t]}),n}}Di.defaults={},Di.defaultRoutes=void 0;const Ci=new Map;function Oi(t,e,n){return function(t,e){e=n||{};var i=t+JSON.stringify(e);let a=Ci.get(i);return a||(a=new Intl.NumberFormat(t,e),Ci.set(i,a)),a}(e).format(t)}const Ai={values:t=>N(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";var a=this.chart.options.locale;let n,o=t;if(1<i.length){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||1e15<e)&&(n="scientific"),o=function(t){let e=3<i.length?i[2].value-i[1].value:i[1].value-i[0].value;return 1<Math.abs(e)&&t!==Math.floor(t)&&(e=t-Math.floor(t)),e}(t)}var r=Mt(Math.abs(o)),r=Math.max(Math.min(-1*Math.floor(r),20),0),r={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(r,this.options.ticks.format),Oi(t,a,r)},logarithmic(t,e,i){if(0===t)return"0";var a=t/Math.pow(10,Math.floor(Mt(t)));return 1==a||2==a||5==a?Ai.numeric.call(this,t,e,i):""}};var Ti={formatters:Ai};function Ri(t,i){const e=t.options.ticks,a=e.maxTicksLimit||(c=(h=t).options.offset,t=h._tickSize(),c=h._length/t+(c?0:1),t=h._maxLength/t,Math.floor(Math.min(c,t))),n=e.major.enabled?function(t){const e=[];let i,a;for(i=0,a=t.length;i<a;i++)t[i].major&&e.push(i);return e}(i):[],o=n.length,r=n[0],s=n[o-1],l=[];var h,c;if(o>a)return function(t,e,i,a){let n,o=0,r=i[0];for(a=Math.ceil(a),n=0;n<t.length;n++)n===r&&(e.push(t[n]),o++,r=i[o*a])}(i,l,n,o/a),l;var d=function(t,i,e){var t=function(t){var e=t.length;let i,a;if(e<2)return!1;for(a=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==a)return!1;return a}(t),a=i.length/e;if(!t)return Math.max(a,1);var n=Pt(t);for(let t=0,e=n.length-1;t<e;t++){const i=n[t];if(i>a)return i}return Math.max(a,1)}(n,i,a);if(0<o){let t,e;const a=1<o?Math.round((s-r)/(o-1)):null;for(Li(i,l,d,H(a)?0:r-a,r),t=0,e=o-1;t<e;t++)Li(i,l,d,n[t],n[t+1]);return Li(i,l,d,s,H(a)?i.length:s+a),l}return Li(i,l,d),l}function Li(t,e,i,a,n){var o=U(a,0),r=Math.min(U(n,t.length),t.length);let s,l,h,c=0;for(i=Math.ceil(i),n&&(i=(s=n-a)/Math.floor(s/i)),h=o;h<0;)c++,h=Math.round(o+c*i);for(l=Math.max(o,0);l<r;l++)l===h&&(e.push(t[l]),c++,h=Math.round(o+c*i))}ft.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ti.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),ft.route("scale.ticks","color","","color"),ft.route("scale.grid","color","","borderColor"),ft.route("scale.grid","borderColor","","borderColor"),ft.route("scale.title","color","","color"),ft.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),ft.describe("scales",{_fallback:"scale"});const Ei=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function Ii(t,e){const i=[],a=t.length/e,n=t.length;let o=0;for(;o<n;o+=a)i.push(t[Math.floor(o)]);return i}function zi(t){return t.drawTicks?t.tickLength:0}function Fi(t,e){if(!t.display)return 0;var i=Le(t.font,e),e=Re(t.padding);return(N(t.text)?t.text.length:1)*i.lineHeight+e.height}class Vi extends Di{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){var e=this;e.options=t.setContext(e.getContext()),e.axis=t.axis,e._userMin=e.parse(t.min),e._userMax=e.parse(t.max),e._suggestedMin=e.parse(t.suggestedMin),e._suggestedMax=e.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){var{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:a}=this,t=Y(t,Number.POSITIVE_INFINITY),e=Y(e,Number.NEGATIVE_INFINITY),i=Y(i,Number.POSITIVE_INFINITY),a=Y(a,Number.NEGATIVE_INFINITY);return{min:Y(t,i),max:Y(e,a),minDefined:$(t),maxDefined:$(e)}}getMinMax(i){let a,{min:n,max:o,minDefined:r,maxDefined:s}=this.getUserBounds();if(r&&s)return{min:n,max:o};const l=this.getMatchingVisibleMetas();for(let t=0,e=l.length;t<e;++t)a=l[t].controller.getMinMax(this,i),r||(n=Math.min(n,a.min)),s||(o=Math.max(o,a.max));return{min:Y(n,Y(o,n)),max:Y(o,Y(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){K(this.options.beforeUpdate,[this])}update(t,e,i){var a=this,n=a.options.ticks,o=n.sampleSize;a.beforeUpdate(),a.maxWidth=t,a.maxHeight=e,a._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),a.ticks=null,a._labelSizes=null,a._gridLineItems=null,a._labelItems=null,a.beforeSetDimensions(),a.setDimensions(),a.afterSetDimensions(),a._maxLength=a.isHorizontal()?a.width+i.left+i.right:a.height+i.top+i.bottom,a._dataLimitsCached||(a.beforeDataLimits(),a.determineDataLimits(),a.afterDataLimits(),a._range=Ie(a,a.options.grace),a._dataLimitsCached=!0),a.beforeBuildTicks(),a.ticks=a.buildTicks()||[],a.afterBuildTicks();i=o<a.ticks.length;a._convertTicksToLabels(i?Ii(a.ticks,o):a.ticks),a.configure(),a.beforeCalculateLabelRotation(),a.calculateLabelRotation(),a.afterCalculateLabelRotation(),n.display&&(n.autoSkip||"auto"===n.source)&&(a.ticks=Ri(a,a.ticks),a._labelSizes=null),i&&a._convertTicksToLabels(a.ticks),a.beforeFit(),a.fit(),a.afterFit(),a.afterUpdate()}configure(){var t=this;let e,i,a=t.options.reverse;t.isHorizontal()?(e=t.left,i=t.right):(e=t.top,i=t.bottom,a=!a),t._startPixel=e,t._endPixel=i,t._reversePixels=a,t._length=i-e,t._alignToPixels=t.options.alignToPixels}afterUpdate(){K(this.options.afterUpdate,[this])}beforeSetDimensions(){K(this.options.beforeSetDimensions,[this])}setDimensions(){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(){K(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),K(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){K(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){var e=this.options.ticks;let i,a,n;for(i=0,a=t.length;i<a;i++)n=t[i],n.label=K(e.callback,[n.value,i,t],this);for(i=0;i<a;i++)H(t[i].label)&&(t.splice(i,1),a--,i--)}afterTickToLabelConversion(){K(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){K(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){var t,e,i,a,n=this,o=n.options,r=o.ticks,s=n.ticks.length,l=r.minRotation||0,h=r.maxRotation;let c,d,u,g=l;!n._isVisible()||!r.display||h<=l||s<=1||!n.isHorizontal()?n.labelRotation=l:(e=(t=n._getLabelSizes()).widest.width,i=t.highest.height,a=Bt(n.chart.width-e,0,n.maxWidth),(o.offset?n.maxWidth/s:a/(s-1))<e+6&&(c=a/(s-(o.offset?.5:1)),d=n.maxHeight-zi(o.grid)-r.padding-Fi(o.title,n.chart.options.font),u=Math.sqrt(e*e+i*i),g=Rt(Math.min(Math.asin(Math.min((t.highest.height+6)/c,1)),Math.asin(Math.min(d/u,1))-Math.asin(i/u))),g=Math.max(l,Math.min(h,g))),n.labelRotation=g)}afterCalculateLabelRotation(){K(this.options.afterCalculateLabelRotation,[this])}beforeFit(){K(this.options.beforeFit,[this])}fit(){const t=this,e={width:0,height:0},{chart:i,options:{ticks:a,title:n,grid:o}}=t,r=t._isVisible(),s=t.isHorizontal();if(r){const r=Fi(n,i.options.font);if(s?(e.width=t.maxWidth,e.height=zi(o)+r):(e.height=t.maxHeight,e.width=zi(o)+r),a.display&&t.ticks.length){const{first:i,last:n,widest:o,highest:r}=t._getLabelSizes(),l=2*a.padding,h=Tt(t.labelRotation),c=Math.cos(h),d=Math.sin(h);if(s){const i=a.mirror?0:d*o.width+c*r.height;e.height=Math.min(t.maxHeight,e.height+i+l)}else{const i=a.mirror?0:c*o.width+d*r.height;e.width=Math.min(t.maxWidth,e.width+i+l)}t._calculatePadding(i,n,d,c)}}t._handleMargins(),s?(t.width=t._length=i.width-t._margins.left-t._margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=i.height-t._margins.top-t._margins.bottom)}_calculatePadding(i,a,n,o){const r=this,{ticks:{align:s,padding:l},position:h}=r.options,c=0!==r.labelRotation,d="top"!==h&&"x"===r.axis;if(r.isHorizontal()){const h=r.getPixelForTick(0)-r.left,u=r.right-r.getPixelForTick(r.ticks.length-1);let t=0,e=0;c?e=d?(t=o*i.width,n*a.height):(t=n*i.height,o*a.width):"start"===s?e=a.width:"end"===s?t=i.width:(t=i.width/2,e=a.width/2),r.paddingLeft=Math.max((t-h+l)*r.width/(r.width-h),0),r.paddingRight=Math.max((e-u+l)*r.width/(r.width-u),0)}else{let t=a.height/2,e=i.height/2;"start"===s?(t=0,e=i.height):"end"===s&&(t=a.height,e=0),r.paddingTop=t+l,r.paddingBottom=e+l}}_handleMargins(){var t=this;t._margins&&(t._margins.left=Math.max(t.paddingLeft,t._margins.left),t._margins.top=Math.max(t.paddingTop,t._margins.top),t._margins.right=Math.max(t.paddingRight,t._margins.right),t._margins.bottom=Math.max(t.paddingBottom,t._margins.bottom))}afterFit(){K(this.options.afterFit,[this])}isHorizontal(){var{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t),this.afterTickToLabelConversion()}_getLabelSizes(){var e=this;let i=e._labelSizes;if(!i){var a=e.options.ticks.sampleSize;let t=e.ticks;a<t.length&&(t=Ii(t,a)),e._labelSizes=i=e._computeLabelSizes(t,t.length)}return i}_computeLabelSizes(t,e){const{ctx:i,_longestTextCache:a}=this,n=[],o=[];let r,s,l,h,c,d,u,g,f,p,m,x=0,b=0;for(r=0;r<e;++r){if(h=t[r].label,c=this._resolveTickFontOptions(r),i.font=d=c.string,u=a[d]=a[d]||{data:{},gc:[]},g=c.lineHeight,f=p=0,H(h)||N(h)){if(N(h))for(s=0,l=h.length;s<l;++s)H(m=h[s])||N(m)||(f=Nt(i,u.data,u.gc,f,m),p+=g)}else f=Nt(i,u.data,u.gc,f,h),p=g;n.push(f),o.push(p),x=Math.max(f,x),b=Math.max(p,b)}var v;w=a,v=e,G(w,t=>{const e=t.gc,i=e.length/2;let a;if(v<i){for(a=0;a<i;++a)delete t.data[e[a]];e.splice(0,i)}});var _=n.indexOf(x),y=o.indexOf(b),w=t=>({width:n[t]||0,height:o[t]||0});return{first:w(0),last:w(e-1),widest:w(_),highest:w(y),widths:n,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){var e=this;e._reversePixels&&(t=1-t);t=e._startPixel+t*e._length;return Wt(e._alignToPixels?$t(e.chart,t,0):t)}getDecimalForPixel(t){t=(t-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){var{min:t,max:e}=this;return t<0&&e<0?e:0<t&&0<e?t:0}getContext(t){var e,i,a=this,n=a.ticks||[];if(0<=t&&t<n.length){const i=n[t];return i.$context||(i.$context=(e=a.getContext(),n=t,t=i,Object.assign(Object.create(e),{tick:t,index:n,type:"tick"})))}return a.$context||(a.$context=(i=a.chart.getContext(),a=a,Object.assign(Object.create(i),{scale:a,type:"scale"})))}_tickSize(){var t=this.options.ticks,e=Tt(this.labelRotation),i=Math.abs(Math.cos(e)),a=Math.abs(Math.sin(e)),n=this._getLabelSizes(),e=t.autoSkipPadding||0,t=n?n.widest.width+e:0,e=n?n.highest.height+e:0;return this.isHorizontal()?t*a<e*i?t/i:e/a:e*a<t*i?e/i:t/a}_isVisible(){var t=this.options.display;return"auto"!==t?!!t:0<this.getMatchingVisibleMetas().length}_computeGridLineItems(t){const e=this,i=e.axis,a=e.chart,n=e.options,{grid:o,position:r}=n,s=o.offset,l=e.isHorizontal(),h=e.ticks.length+(s?1:0),c=zi(o),d=[],u=o.setContext(e.getContext()),g=u.drawBorder?u.borderWidth:0,f=g/2,p=function(t){return $t(a,t,g)};let m,x,b,v,_,y,w,M,k,S,P,D;if("top"===r)m=p(e.bottom),y=e.bottom-c,M=m-f,S=p(t.top)+f,D=t.bottom;else if("bottom"===r)m=p(e.top),S=t.top,D=p(t.bottom)-f,y=m+f,M=e.top+c;else if("left"===r)m=p(e.right),_=e.right-c,w=m-f,k=p(t.left)+f,P=t.right;else if("right"===r)m=p(e.left),k=t.left,P=p(t.right)-f,_=m+f,w=e.left+c;else if("x"===i){if("center"===r)m=p((t.top+t.bottom)/2+.5);else if(j(r)){const t=Object.keys(r)[0],i=r[t];m=p(e.chart.scales[t].getPixelForValue(i))}S=t.top,D=t.bottom,y=m+f,M=y+c}else if("y"===i){if("center"===r)m=p((t.left+t.right)/2);else if(j(r)){const t=Object.keys(r)[0],i=r[t];m=p(e.chart.scales[t].getPixelForValue(i))}_=m-f,w=_-c,k=t.left,P=t.right}for(x=0;x<h;++x){const t=o.setContext(e.getContext(x)),i=t.lineWidth,n=t.color,r=o.borderDash||[],h=t.borderDashOffset,c=t.tickWidth,u=t.tickColor,g=t.tickBorderDash||[],f=t.tickBorderDashOffset;void 0!==(b=function(t,e,i){var a=t.ticks.length,n=Math.min(e,a-1),o=t._startPixel,r=t._endPixel;let s,l=t.getPixelForTick(n);if(!(i&&(s=1===a?Math.max(l-o,r-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(n-1))/2,l+=n<e?s:-s,l<o-1e-6||l>r+1e-6)))return l}(e,x,s))&&(v=$t(a,b,i),l?_=w=k=P=v:y=M=S=D=v,d.push({tx1:_,ty1:y,tx2:w,ty2:M,x1:k,y1:S,x2:P,y2:D,width:i,color:n,borderDash:r,borderDashOffset:h,tickWidth:c,tickColor:u,tickBorderDash:g,tickBorderDashOffset:f}))}return e._ticksLength=h,e._borderValue=m,d}_computeLabelItems(a){const n=this,o=n.axis,r=n.options,{position:t,ticks:e}=r,s=n.isHorizontal(),l=n.ticks,{align:h,crossAlign:c,padding:d,mirror:u}=e,i=zi(r.grid),g=i+d,f=u?-d:g,p=-Tt(n.labelRotation),m=[];let x,b,v,_,y,w,M,k,S,P,D,C="middle";if("top"===t)y=n.bottom-f,w=n._getXAxisLabelAlignment();else if("bottom"===t)y=n.top+f,w=n._getXAxisLabelAlignment();else if("left"===t){const a=n._getYAxisLabelAlignment(i);w=a.textAlign,_=a.x}else if("right"===t){const a=n._getYAxisLabelAlignment(i);w=a.textAlign,_=a.x}else if("x"===o){if("center"===t)y=(a.top+a.bottom)/2+g;else if(j(t)){const a=Object.keys(t)[0],o=t[a];y=n.chart.scales[a].getPixelForValue(o)+g}w=n._getXAxisLabelAlignment()}else if("y"===o){if("center"===t)_=(a.left+a.right)/2-g;else if(j(t)){const a=Object.keys(t)[0],o=t[a];_=n.chart.scales[a].getPixelForValue(o)}w=n._getYAxisLabelAlignment(i).textAlign}"y"===o&&("start"===h?C="top":"end"===h&&(C="bottom"));var O=n._getLabelSizes();for(x=0,b=l.length;x<b;++x){v=l[x].label;const a=e.setContext(n.getContext(x));M=n.getPixelForTick(x)+e.labelOffset,S=(k=n._resolveTickFontOptions(x)).lineHeight;const o=(P=N(v)?v.length:1)/2,r=a.color,h=a.textStrokeColor,d=a.textStrokeWidth;let i;if(s?(_=M,D="top"===t?"near"===c||0!=p?-P*S+S/2:"center"===c?-O.highest.height/2-o*S+S:-O.highest.height+S/2:"near"===c||0!=p?S/2:"center"===c?O.highest.height/2-o*S:O.highest.height-P*S,u&&(D*=-1)):(y=M,D=(1-P)*S/2),a.showLabelBackdrop){const n=Re(a.backdropPadding),o=O.heights[x],r=O.widths[x];let t=y+D-n.top,e=_-n.left;switch(C){case"middle":t-=o/2;break;case"bottom":t-=o}switch(w){case"center":e-=r/2;break;case"right":e-=r}i={left:e,top:t,width:r+n.width,height:o+n.height,color:a.backdropColor}}m.push({rotation:p,label:v,font:k,color:r,strokeColor:h,strokeWidth:d,textOffset:D,textAlign:w,textBaseline:C,translation:[_,y],backdrop:i})}return m}_getXAxisLabelAlignment(){var{position:t,ticks:e}=this.options;if(-Tt(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align&&(i="right"),i}_getYAxisLabelAlignment(t){var e=this,{position:i,ticks:{crossAlign:a,mirror:n,padding:o}}=e.options,r=t+o,t=e._getLabelSizes().widest.width;let s,l;return"left"===i?n?(s="left",l=e.right+o):(l=e.right-r,"near"===a?s="right":"center"===a?(s="center",l-=t/2):(s="left",l=e.left)):"right"===i?n?(s="right",l=e.left+o):(l=e.left+r,"near"===a?s="left":"center"===a?(s="center",l+=t/2):(s="right",l=e.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){var t=this;if(!t.options.ticks.mirror){var e=t.chart,i=t.options.position;return"left"===i||"right"===i?{top:0,left:t.left,bottom:e.height,right:t.right}:"top"===i||"bottom"===i?{top:t.top,left:0,bottom:t.bottom,right:e.width}:void 0}}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:a,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,a,n,o),t.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;var i=this.ticks.findIndex(t=>t.value===e);return 0<=i?t.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this,i=e.options.grid,a=e.ctx,n=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));let o,r;var s=(t,e,i)=>{i.width&&i.color&&(a.save(),a.lineWidth=i.width,a.strokeStyle=i.color,a.setLineDash(i.borderDash||[]),a.lineDashOffset=i.borderDashOffset,a.beginPath(),a.moveTo(t.x,t.y),a.lineTo(e.x,e.y),a.stroke(),a.restore())};if(i.display)for(o=0,r=n.length;o<r;++o){const t=n[o];i.drawOnChartArea&&s({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),i.drawTicks&&s({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const n=this,{chart:o,ctx:r,options:{grid:s}}=n,l=s.setContext(n.getContext()),h=s.drawBorder?l.borderWidth:0;if(h){var c=s.setContext(n.getContext(0)).lineWidth,d=n._borderValue;let t,e,i,a;n.isHorizontal()?(t=$t(o,n.left,h)-h/2,e=$t(o,n.right,c)+c/2,i=a=d):(i=$t(o,n.top,h)-h/2,a=$t(o,n.bottom,c)+c/2,t=e=d),r.save(),r.lineWidth=l.borderWidth,r.strokeStyle=l.borderColor,r.beginPath(),r.moveTo(t,i),r.lineTo(e,a),r.stroke(),r.restore()}}drawLabels(i){const a=this;if(a.options.ticks.display){const o=a.ctx,r=a._computeLabelArea();r&&qt(o,r);var n=a._labelItems||(a._labelItems=a._computeLabelItems(i));let t,e;for(t=0,e=n.length;t<e;++t){const i=n[t],a=i.font,r=i.label;i.backdrop&&(o.fillStyle=i.backdrop.color,o.fillRect(i.backdrop.left,i.backdrop.top,i.backdrop.width,i.backdrop.height)),Qt(o,r,0,i.textOffset,a,i)}r&&Kt(o)}}drawTitle(){var{ctx:e,options:{position:i,title:a,reverse:n}}=this;if(a.display){var o=Le(a.font),r=Re(a.padding),s=a.align;let t=o.lineHeight/2;"bottom"===i?(t+=r.bottom,N(a.text)&&(t+=o.lineHeight*(a.text.length-1))):t+=r.top;var{titleX:l,titleY:h,maxWidth:c,rotation:r}=function(t,e,i,a){var{top:n,left:o,bottom:r,right:s}=t;let l,h,c,d=0;return t.isHorizontal()?(h=T(a,o,s),c=Ei(t,i,e),l=s-o):(h=Ei(t,i,e),c=T(a,r,n),d="left"===i?-_t:_t),{titleX:h,titleY:c,maxWidth:l,rotation:d}}(this,t,i,s);Qt(e,a.text,0,0,o,{color:a.color,maxWidth:c,rotation:r,textAlign:function(t,e,i){let a=f(t);return(i&&"right"!==e||!i&&"right"===e)&&(a="left"===(e=a)?"right":"right"===e?"left":e),a}(s,i,n),textBaseline:"middle",translation:[l,h]})}}draw(t){var e=this;e._isVisible()&&(e.drawBackground(),e.drawGrid(t),e.drawBorder(),e.drawTitle(),e.drawLabels(t))}_layers(){const e=this,t=e.options,i=t.ticks&&t.ticks.z||0,a=t.grid&&t.grid.z||0;return e._isVisible()&&e.draw===Vi.prototype.draw?[{z:a,draw(t){e.drawBackground(),e.drawGrid(t),e.drawTitle()}},{z:a+1,draw(){e.drawBorder()}},{z:i,draw(t){e.drawLabels(t)}}]:[{z:i,draw(t){e.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",a=[];let n,o;for(n=0,o=e.length;n<o;++n){const o=e[n];o[i]!==this.id||t&&o.type!==t||a.push(o)}return a}_resolveTickFontOptions(t){return Le(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){var t=this._resolveTickFontOptions(0).lineHeight;return this.isHorizontal()?this.width/t/.7:this.height/t}}function Bi(i,o=[""],e=i,a,n=()=>i[0]){st(a)||(a=Ki("_fallback",i));var t={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:e,_fallback:a,_getTarget:n,override:t=>Bi([t,...i],o,e,a)};return new Proxy(t,{deleteProperty:(t,e)=>(delete t[e],delete t._keys,delete i[0][e],!0),get:(t,e)=>$i(t,e,()=>function(t,e,i){var a;for(const n of o)if(a=Ki(Ni(n,t),e),st(a))return ji(t,a)?Xi(e,i,t,a):a}(e,i,t)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(i[0]),has:(t,e)=>Gi(t).includes(e),ownKeys:t=>Gi(t),set:(t,e,i)=>((t._storage||(t._storage=n()))[e]=i,delete t[e],delete t._keys,!0)})}function Wi(a,e,i,n){var t={_cacheable:!1,_proxy:a,_context:e,_subProxy:i,_stack:new Set,_descriptors:Hi(a,n),setContext:t=>Wi(a,t,i,n),override:t=>Wi(a.override(t),e,i,n)};return new Proxy(t,{deleteProperty:(t,e)=>(delete t[e],delete a[e],!0),get:(t,e,i)=>$i(t,e,()=>function(s,t,e){const{_proxy:i,_context:a,_subProxy:n,_descriptors:o}=s;let r=i[t];return lt(r)&&o.isScriptable(t)&&(r=function(t,e,i){const{_proxy:a,_context:n,_subProxy:o,_stack:r}=s;if(r.has(t))throw new Error("Recursion detected: "+[...r].join("->")+"->"+t);return r.add(t),e=e(n,o||i),r.delete(t),e=j(e)?Xi(a._scopes,a,t,e):e}(t,r,e)),N(r)&&r.length&&(r=function(t,e,i,a){const{_proxy:n,_context:o,_subProxy:r,_descriptors:s}=i;if(st(o.index)&&a(t))e=e[o.index%e.length];else if(j(e[0])){const i=e,a=n._scopes.filter(t=>t!==i);e=[];for(const l of i){const i=Xi(a,n,t,l);e.push(Wi(i,o,r&&r[t],s))}}return e}(t,r,s,o.isIndexable)),ji(t,r)&&(r=Wi(r,a,n&&n[t],o)),r}(t,e,i)),getOwnPropertyDescriptor:(t,e)=>t._descriptors.allKeys?Reflect.has(a,e)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(a,e),getPrototypeOf:()=>Reflect.getPrototypeOf(a),has:(t,e)=>Reflect.has(a,e),ownKeys:()=>Reflect.ownKeys(a),set:(t,e,i)=>(a[e]=i,delete t[e],!0)})}function Hi(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:a=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:a,isScriptable:lt(i)?i:()=>i,isIndexable:lt(a)?a:()=>a}}const Ni=(t,e)=>t?t+rt(e):e,ji=(t,e)=>j(e)&&"adapters"!==t;function $i(t,e,i){let a=t[e];return st(a)||(a=i(),st(a)&&(t[e]=a)),a}function Yi(t,e,i){return lt(t)?t(e,i):t}const Ui=(t,e)=>!0===t?e:"string"==typeof t?ot(e,t):void 0;function Xi(t,e,i,a){const n=e._rootScopes,o=Yi(e._fallback,i,a),r=[...t,...n],s=new Set;s.add(a);a=qi(s,r,i,o||i);return null!==a&&(!st(o)||o===i||null!==(a=qi(s,r,o,a)))&&Bi([...s],[""],n,o,()=>{const t=e._getTarget();return i in t||(t[i]={}),t[i]})}function qi(t,e,i,a){for(;i;)i=function(t,e,i,a){for(const o of e){const e=Ui(i,o);if(e){t.add(e);var n=Yi(e._fallback,i,e);if(st(n)&&n!==i&&n!==a)return n}else if(!1===e&&st(a)&&i!==a)return null}return!1}(t,e,i,a);return i}function Ki(t,e){for(const i of e)if(i){const e=i[t];if(st(e))return e}}function Gi(t){let e=t._keys;return e=e||(t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter(t=>!t.startsWith("_")))e.add(t);return[...e]}(t._scopes)),e}const Zi=Number.EPSILON||1e-14,Qi=(t,e)=>e<t.length&&!t[e].skip&&t[e];function Ji(t,e,i,a){var n=t.skip?e:t,o=e,t=i.skip?e:i,e=It(o,n),i=It(t,o);let r=e/(e+i),s=i/(e+i);r=isNaN(r)?0:r,s=isNaN(s)?0:s;i=a*r,a*=s;return{previous:{x:o.x-i*(t.x-n.x),y:o.y-i*(t.y-n.y)},next:{x:o.x+a*(t.x-n.x),y:o.y+a*(t.y-n.y)}}}function ta(t){const e=t.length,i=Array(e).fill(0),a=Array(e);let n,o,r,s=Qi(t,0);for(n=0;n<e;++n)if(o=r,r=s,s=Qi(t,n+1),r){if(s){const t=s.x-r.x;i[n]=0!=t?(s.y-r.y)/t:0}a[n]=o?s?kt(i[n-1])!==kt(i[n])?0:(i[n-1]+i[n])/2:i[n-1]:i[n]}!function(e,i,a){var n=e.length;let o,r,s,l,h,c=Qi(e,0);for(let t=0;t<n-1;++t)h=c,c=Qi(e,t+1),h&&c&&(Ct(i[t],0,Zi)?a[t]=a[t+1]=0:(o=a[t]/i[t],r=a[t+1]/i[t],(l=Math.pow(o,2)+Math.pow(r,2))<=9||(s=3/Math.sqrt(l),a[t]=o*s*i[t],a[t+1]=r*s*i[t])))}(t,i,a),function(e,i){const a=e.length;let n,o,r,s=Qi(e,0);for(let t=0;t<a;++t)if(o=r,r=s,s=Qi(e,t+1),r){const{x:a,y:l}=r;o&&(n=(a-o.x)/3,r.cp1x=a-n,r.cp1y=l-n*i[t]),s&&(n=(s.x-a)/3,r.cp2x=a+n,r.cp2y=l+n*i[t])}}(t,a)}function ea(t,e,i){return Math.max(Math.min(t,i),e)}function ia(e,i,t,a){let n,o,r,s;if(i.spanGaps&&(e=e.filter(t=>!t.skip)),"monotone"===i.cubicInterpolationMode)ta(e);else{let t=a?e[e.length-1]:e[0];for(n=0,o=e.length;n<o;++n)r=e[n],s=Ji(t,r,e[Math.min(n+1,o-(a?0:1))%o],i.tension),r.cp1x=s.previous.x,r.cp1y=s.previous.y,r.cp2x=s.next.x,r.cp2y=s.next.y,t=r}i.capBezierPoints&&function(t,e){let i,a,n,o,r,s=Xt(t[0],e);for(i=0,a=t.length;i<a;++i)r=o,o=s,s=i<a-1&&Xt(t[i+1],e),o&&(n=t[i],r&&(n.cp1x=ea(n.cp1x,e.left,e.right),n.cp1y=ea(n.cp1y,e.top,e.bottom)),s&&(n.cp2x=ea(n.cp2x,e.left,e.right),n.cp2y=ea(n.cp2y,e.top,e.bottom)))}(e,t)}function aa(t,e,i,a){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function na(t,e,i,a){return{x:t.x+i*(e.x-t.x),y:("middle"===a?i<.5?t:e:"after"===a?i<1?t:e:0<i?e:t).y}}function oa(t,e,i,a){var n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},t=aa(t,n,i),n=aa(n,o,i),e=aa(o,e,i),t=aa(t,n,i),e=aa(n,e,i);return aa(t,e,i)}function ra(t,e,i){return t?(a=e,n=i,{x:t=>a+a+n-t,setWidth(t){n=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t};var a,n}function sa(t,e){let i,a;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,a=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=a)}function la(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ha(t){return"angle"===t?{between:Vt,compare:zt,normalize:Ft}:{between:(t,e,i)=>t>=Math.min(e,i)&&t<=Math.max(i,e),compare:(t,e)=>t-e,normalize:t=>t}}function ca({start:t,end:e,count:i,loop:a,style:n}){return{start:t%i,end:e%i,loop:a&&(e-t+1)%i==0,style:n}}function da(t,i,g){if(!g)return[t];const{property:a,start:n,end:o}=g,r=i.length,{compare:s,between:l,normalize:h}=ha(a),{start:c,end:d,loop:u,style:f}=function(t,e){const{property:i,start:a,end:n}=g,{between:o,normalize:r}=ha(i),s=e.length;let l,h,{start:c,end:d,loop:u}=t;if(u){for(c+=s,d+=s,l=0,h=s;l<h&&o(r(e[c%s][i]),a,n);++l)c--,d--;c%=s,d%=s}return d<c&&(d+=s),{start:c,end:d,loop:u,style:t.style}}(t,i),p=[];let m,x,b,v=!1,_=null;for(let t=c,e=c;t<=d;++t)(x=i[t%r]).skip||(m=h(x[a]),v=l(m,n,o),null===_&&(v||l(n,b,m)&&0!==s(n,b))&&(_=0===s(m,n)?t:e),null===_||v&&0!==s(o,m)&&!l(o,b,m)||(p.push(ca({start:_,end:t,loop:u,count:r,style:f})),_=null),e=t,b=m);return null!==_&&p.push(ca({start:_,end:d,loop:u,count:r,style:f})),p}function ua(e,i){const a=[],n=e.segments;for(let t=0;t<n.length;t++){var o=da(n[t],e.points,i);o.length&&a.push(...o)}return a}function ga(t,e){var i=t.points,o=t.options.spanGaps,a=i.length;if(!a)return[];var n=!!t._loop,{start:r,end:s}=function(t,e,i){let a=0,n=e-1;if(i&&!o)for(;a<e&&!t[a].skip;)a++;for(;a<e&&t[a].skip;)a++;for(a%=e,i&&(n+=a);n>a&&t[n%e].skip;)n--;return n%=e,{start:a,end:n}}(i,a,n);return fa(!0===o?[{start:r,end:s,loop:n}]:function(t,e,i,a){const n=t.length,o=[];let r,s=e,l=t[e];for(r=e+1;r<=i;++r){const i=t[r%n];i.skip||i.stop?l.skip||(a=!1,o.push({start:e%n,end:(r-1)%n,loop:a}),e=s=i.stop?r:null):(s=r,l.skip&&(e=r)),l=i}return null!==s&&o.push({start:e%n,end:s%n,loop:a}),o}(i,r,s<r?s+a:s,!!t._fullLoop&&0===r&&s===a-1),i,e)}function fa(t,e,i){return i&&i.setContext&&e?function(a,n){const o=a.length,r=[];let s=t[0].start,l=s;for(const u of t){let t,e,i=a[s%o];for(l=s+1;l<=u.end;l++){var h=a[l%o];e={backgroundColor:(d=n.setContext({type:"segment",p0:i,p1:h})).backgroundColor,borderCapStyle:d.borderCapStyle,borderDash:d.borderDash,borderDashOffset:d.borderDashOffset,borderJoinStyle:d.borderJoinStyle,borderWidth:d.borderWidth,borderColor:d.borderColor},c=e,(d=t)&&JSON.stringify(c)!==JSON.stringify(d)&&(r.push({start:s,end:l-1,loop:u.loop,style:t}),t=e,s=l-1),i=h,t=e}s<l-1&&(r.push({start:s,end:l-1,loop:u.loop,style:e}),s=l-1)}var c,d;return r}(e,i):t}var pa=Object.freeze({__proto__:null,easingEffects:ci,color:V,getHoverColor:B,noop:t,uid:W,isNullOrUndef:H,isArray:N,isObject:j,isFinite:$,finiteOrDefault:Y,valueOrDefault:U,toPercentage:X,toDimension:q,callback:K,each:G,_elementsEqual:Z,clone:Q,_merger:tt,merge:et,mergeIf:it,_mergerIf:at,_deprecated:function(t,e,i,a){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+a+'" instead')},resolveObjectKey:ot,_capitalize:rt,defined:st,isFunction:lt,setsEqual:ht,toFontString:Ht,_measureText:Nt,_longestText:jt,_alignPixel:$t,clearCanvas:Yt,drawPoint:Ut,_isPointInArea:Xt,clipArea:qt,unclipArea:Kt,_steppedLineTo:Gt,_bezierCurveTo:Zt,renderText:Qt,addRoundedRectPath:Jt,_lookup:te,_lookupByKey:ee,_rlookupByKey:ie,_filterBetween:ae,listenArrayEvents:oe,unlistenArrayEvents:re,_arrayUnique:se,_createResolver:Bi,_attachContext:Wi,_descriptors:Hi,splineCurve:Ji,splineCurveMonotone:ta,_updateBezierControlPoints:ia,_getParentNode:le,getStyle:de,getRelativePosition:fe,getMaximumSize:me,retinaScale:xe,supportsEventListenerOptions:be,readUsedSize:ve,fontString:function(t,e,i){return e+" "+t+"px "+i},requestAnimFrame:r,throttled:l,debounce:s,_toLeftRightCenter:f,_alignStartEnd:T,_textX:R,_pointInLine:aa,_steppedInterpolation:na,_bezierInterpolation:oa,formatNumber:Oi,toLineHeight:Ce,_readValueToProps:Oe,toTRBL:Ae,toTRBLCorners:Te,toPadding:Re,toFont:Le,resolve:Ee,_addGrace:Ie,PI:pt,TAU:mt,PITAU:xt,INFINITY:bt,RAD_PER_DEG:vt,HALF_PI:_t,QUARTER_PI:yt,TWO_THIRDS_PI:wt,log10:Mt,sign:kt,niceNum:St,_factorize:Pt,isNumber:Dt,almostEquals:Ct,almostWhole:Ot,_setMinAndMaxByKey:At,toRadians:Tt,toDegrees:Rt,_decimalPlaces:Lt,getAngleFromPoint:Et,distanceBetweenPoints:It,_angleDiff:zt,_normalizeAngle:Ft,_angleBetween:Vt,_limitValue:Bt,_int16Range:Wt,getRtlAdapter:ra,overrideTextDirection:sa,restoreTextDirection:la,_boundSegment:da,_boundSegments:ua,_computeSegments:ga});class ma{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){var e,i,s,l,a=Object.getPrototypeOf(t);let n;"id"in(i=a)&&"defaults"in i&&(n=this.register(a));const o=this.items,r=t.id,h=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+t);return r in o||(o[r]=t,e=t,i=h,a=n,a=et(Object.create(null),[a?ft.get(a):{},ft.get(i),e.defaults]),ft.set(i,a),e.defaultRoutes&&(s=i,l=e.defaultRoutes,Object.keys(l).forEach(t=>{const e=t.split("."),i=e.pop(),a=[s].concat(e).join("."),n=l[t].split("."),o=n.pop(),r=n.join(".");ft.route(a,i,r,o)})),e.descriptors&&ft.describe(i,e.descriptors),this.override&&ft.override(t.id,t.overrides)),h}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,a=this.scope;i in e&&delete e[i],a&&i in ft[a]&&(delete ft[a][i],this.override&&delete ct[i])}}var xa=new class{constructor(){this.controllers=new ma(Pi,"datasets",!0),this.elements=new ma(Di,"elements"),this.plugins=new ma(Object,"plugins"),this.scales=new ma(Vi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(i,t,a){const n=this;[...t].forEach(t=>{const e=a||n._getRegistryForType(t);a||e.isForType(t)||e===n.plugins&&t.id?n._exec(i,e,t):G(t,t=>{var e=a||n._getRegistryForType(t);n._exec(i,e,t)})})}_exec(t,e,i){var a=rt(t);K(i["before"+a],[],i),e[t](i),K(i["after"+a],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(t,e,i){e=e.get(t);if(void 0===e)throw new Error('"'+t+'" is not a registered '+i+".");return e}};class ba{constructor(){this._init=[]}notify(t,e,i,a){var n=this;"beforeInit"===e&&(n._init=n._createDescriptors(t,!0),n._notify(n._init,t,"install"));a=a?n._descriptors(t).filter(a):n._descriptors(t),i=n._notify(a,t,e,i);return"destroy"===e&&(n._notify(a,t,"stop"),n._notify(n._init,t,"uninstall")),i}_notify(t,e,i,a){a=a||{};for(const n of t){const t=n.plugin;if(!1===K(t[i],[e,a,n.options],t)&&a.cancelable)return!1}return!0}invalidate(){H(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;var e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){var i=t&&t.config,a=U(i.options&&i.options.plugins,{}),i=function(t){const e=[],i=Object.keys(xa.plugins.items);for(let t=0;t<i.length;t++)e.push(xa.getPlugin(i[t]));var a=t.plugins||[];for(let t=0;t<a.length;t++){const i=a[t];-1===e.indexOf(i)&&e.push(i)}return e}(i);return!1!==a||e?function(e,i,a,n){const o=[],r=e.getContext();for(let t=0;t<i.length;t++){var s=i[t],l=(l=a[s.id],n||!1!==l?!0===l?{}:l:null);null!==l&&o.push({plugin:s,options:function(t,e,i,a){e=t.pluginScopeKeys(e),e=t.getOptionScopes(i,e);return t.createResolver(e,a,[""],{scriptable:!1,indexable:!1,allKeys:!0})}(e.config,s,l,r)})}var l;return o}(t,i,a,e):[]}_notifyStateChanges(t){var e=this._oldCache||[],i=this._cache,a=(t,i)=>t.filter(e=>!i.some(t=>e.plugin.id===t.plugin.id));this._notify(a(e,i),t,"stop"),this._notify(a(i,e),t,"start")}}function va(t,e){var i=ft.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function _a(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(e=e.position)||"bottom"===e?"x":"left"===e||"right"===e?"y":void 0)||t.charAt(0).toLowerCase()}function ya(t){const e=t.options||(t.options={});e.plugins=U(e.plugins,{}),e.scales=function(e,i){const o=ct[e.type]||{scales:{}},r=i.scales||{},s=va(e.type,i),l=Object.create(null),h=Object.create(null);return Object.keys(r).forEach(t=>{const e=r[t],i=_a(t,e),a=i===s?"_index_":"_value_",n=o.scales||{};l[i]=l[i]||t,h[t]=it(Object.create(null),[{axis:i},e,n[i],n[a]])}),e.data.datasets.forEach(a=>{const t=a.type||e.type,n=a.indexAxis||va(t,i),o=(ct[t]||{}).scales||{};Object.keys(o).forEach(t=>{var e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,n),i=a[e+"AxisID"]||l[e]||e;h[i]=h[i]||Object.create(null),it(h[i],[{axis:e},r[i],o[t]])})}),Object.keys(h).forEach(t=>{t=h[t];it(t,[ft.scales[t.type],ft.scale])}),h}(t,e)}function wa(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Ma=new Map,ka=new Set;function Sa(t,e){let i=Ma.get(t);return i||(i=e(),Ma.set(t,i),ka.add(i)),i}const Pa=(t,e,i)=>{i=ot(e,i);void 0!==i&&t.add(i)};class Da{constructor(t){this._config=((t=(t=t)||{}).data=wa(t.data),ya(t),t),this._scopeCache=new Map,this._resolverCache=new Map}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=wa(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){var t=this._config;this.clearCache(),ya(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Sa(t,()=>[["datasets."+t,""]])}datasetAnimationScopeKeys(t,e){return Sa(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,"transitions."+e],["datasets."+t,""]])}datasetElementScopeKeys(t,e){return Sa(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,"datasets."+t,"elements."+e,""]])}pluginScopeKeys(t){const e=t.id;return Sa(`${this.type}-plugin-${e}`,()=>[["plugins."+e,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const i=this._scopeCache;let a=i.get(t);return a&&!e||(a=new Map,i.set(t,a)),a}getOptionScopes(e,t,i){const{options:a,type:n}=this,o=this._cachedScopes(e,i),r=o.get(t);if(r)return r;const s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>Pa(s,e,t))),t.forEach(t=>Pa(s,a,t)),t.forEach(t=>Pa(s,ct[n]||{},t)),t.forEach(t=>Pa(s,ft,t)),t.forEach(t=>Pa(s,dt,t))});i=[...s];return ka.has(t)&&o.set(t,i),i}chartOptionScopes(){var{options:t,type:e}=this;return[t,ct[e]||{},ft.datasets[e]||{},{type:e},ft,dt]}resolveNamedOptions(t,e,i,a=[""]){const n={$shared:!0},{resolver:o,subPrefixes:r}=Ca(this._resolverCache,t,a);let s=o;!function(t,e){const{isScriptable:i,isIndexable:a}=Hi(t);for(const n of e)if(i(n)&&lt(t[n])||a(n)&&N(t[n]))return 1}(o,e)||(n.$shared=!1,s=Wi(o,i=lt(i)?i():i,this.createResolver(t,i,r)));for(const t of e)n[t]=s[t];return n}createResolver(t,e,i=[""],a){var{resolver:i}=Ca(this._resolverCache,t,i);return j(e)?Wi(i,e,void 0,a):i}}function Ca(t,e,i){let a=t.get(e);a||(a=new Map,t.set(e,a));t=i.join();let n=a.get(t);return n||(n={resolver:Bi(e,i),subPrefixes:i.filter(t=>!t.toLowerCase().includes("hover"))},a.set(t,n)),n}const Oa=["top","bottom","left","right","chartArea"];function Aa(t,e){return"top"===t||"bottom"===t||-1===Oa.indexOf(t)&&"x"===e}function Ta(i,a){return function(t,e){return t[i]===e[i]?t[a]-e[a]:t[i]-e[i]}}function Ra(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),K(i&&i.onComplete,[t],e)}function La(t){var e=t.chart,i=e.options.animation;K(i&&i.onProgress,[t],e)}function Ea(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Ia(t){return Ea()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t=t&&t.canvas?t.canvas:t}const za={},Fa=t=>{const e=Ia(t);return Object.values(za).filter(t=>t.canvas===e).pop()};class Va{constructor(t,e){var i=this;this.config=e=new Da(e);var a=Ia(t),n=Fa(a);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas can be reused.");var o=e.createResolver(e.chartOptionScopes(),i.getContext());this.platform=i._initializePlatform(a,e);t=i.platform.acquireContext(a,o.aspectRatio),n=t&&t.canvas,e=n&&n.height,a=n&&n.width;this.id=W(),this.ctx=t,this.canvas=n,this.width=a,this.height=e,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._sortedMetasets=[],this.scales={},this.scale=void 0,this._plugins=new ba,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=s(()=>this.update("resize"),o.resizeDelay||0),za[i.id]=i,t&&n?(h.listen(i,"complete",Ra),h.listen(i,"progress",La),i._initialize(),i.attached&&i.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){var{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:a,_aspectRatio:n}=this;return H(t)?e&&n?n:a?i/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){var t=this;return t.notifyPlugins("beforeInit"),t.options.responsive?t.resize():xe(t,t.options.devicePixelRatio),t.bindEvents(),t.notifyPlugins("afterInit"),t}_initializePlatform(t,e){return new(e.platform||(!Ea()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Xe:oi))}clear(){return Yt(this.canvas,this.ctx),this}stop(){return h.stop(this),this}resize(t,e){h.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){var i=this,a=i.options,n=i.canvas,o=a.maintainAspectRatio&&i.aspectRatio,t=i.platform.getMaximumSize(n,t,e,o),e=i.currentDevicePixelRatio,o=a.devicePixelRatio||i.platform.getDevicePixelRatio();i.width===t.width&&i.height===t.height&&e===o||(i.width=t.width,i.height=t.height,i._aspectRatio=i.aspectRatio,xe(i,o,!0),i.notifyPlugins("resize",{size:t}),K(a.onResize,[i,t],i),i.attached&&i._doResize()&&i.render())}ensureScalesHaveIDs(){G(this.options.scales||{},(t,e)=>{t.id=e})}buildOrUpdateScales(){const r=this,s=r.options,a=s.scales,l=r.scales,h=Object.keys(l).reduce((t,e)=>(t[e]=!1,t),{});let t=[];a&&(t=t.concat(Object.keys(a).map(t=>{var e=a[t],i=_a(t,e),t="r"===i,i="x"===i;return{options:e,dposition:t?"chartArea":i?"bottom":"left",dtype:t?"radialLinear":i?"category":"linear"}}))),G(t,t=>{const e=t.options,i=e.id,a=_a(i,e),n=U(e.type,t.dtype);void 0!==e.position&&Aa(e.position,a)===Aa(t.dposition)||(e.position=t.dposition),h[i]=!0;let o=null;i in l&&l[i].type===n?o=l[i]:(o=new(xa.getScale(n))({id:i,type:n,ctx:r.ctx,chart:r}),l[o.id]=o),o.init(e,s)}),G(h,(t,e)=>{t||delete l[e]}),G(l,t=>{Ye.configure(r,t,t.options),Ye.addBox(r,t)})}_updateMetasetIndex(t,e){const i=this._metasets,a=t.index;a!==e&&(i[a]=i[e],(i[e]=t).index=e)}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(e<i){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(Ta("order","index"))}_removeUnreferencedMetasets(){const i=this,{_metasets:t,data:{datasets:a}}=i;t.length>a.length&&delete i._stacks,t.forEach((e,t)=>{0===a.filter(t=>t===e._dataset).length&&i._destroyDatasetMeta(t)})}buildOrUpdateControllers(){const e=this,i=[],a=e.data.datasets;let n,o;for(e._removeUnreferencedMetasets(),n=0,o=a.length;n<o;n++){const o=a[n];let t=e.getDatasetMeta(n);var r=o.type||e.config.type;if(t.type&&t.type!==r&&(e._destroyDatasetMeta(n),t=e.getDatasetMeta(n)),t.type=r,t.indexAxis=o.indexAxis||va(r,e.options),t.order=o.order||0,e._updateMetasetIndex(t,n),t.label=""+o.label,t.visible=e.isDatasetVisible(n),t.controller)t.controller.updateIndex(n),t.controller.linkScales();else{const a=xa.getController(r),{datasetElementType:o,dataElementType:s}=ft.datasets[r];Object.assign(a.prototype,{dataElementType:xa.getElement(s),datasetElementType:o&&xa.getElement(o)}),t.controller=new a(e,n),i.push(t.controller)}}return e._updateMetasets(),i}_resetElements(){const i=this;G(i.data.datasets,(t,e)=>{i.getDatasetMeta(e).controller.reset()},i)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const a=this,n=a.config;n.update(),a._options=n.createResolver(n.chartOptionScopes(),a.getContext()),G(a.scales,t=>{Ye.removeBox(a,t)});var o=a._animationsDisabled=!a.options.animation;a.ensureScalesHaveIDs(),a.buildOrUpdateScales();const r=new Set(Object.keys(a._listeners)),e=new Set(a.options.events);if(ht(r,e)||(a.unbindEvents(),a.bindEvents()),a._plugins.invalidate(),!1!==a.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})){const s=a.buildOrUpdateControllers();a.notifyPlugins("beforeElementsUpdate");let i=0;for(let t=0,e=a.data.datasets.length;t<e;t++){const{controller:n}=a.getDatasetMeta(t),r=!o&&-1===s.indexOf(n);n.buildOrUpdateElements(r),i=Math.max(+n.getMaxOverflow(),i)}a._minPadding=i,a._updateLayout(i),o||G(s,t=>{t.reset()}),a._updateDatasets(t),a.notifyPlugins("afterUpdate",{mode:t}),a._layers.sort(Ta("z","_idx")),a._lastEvent&&a._eventHandler(a._lastEvent,!0),a.render()}}_updateLayout(t){const e=this;if(!1!==e.notifyPlugins("beforeLayout",{cancelable:!0})){Ye.update(e,e.width,e.height,t);const i=e.chartArea,a=i.width<=0||i.height<=0;e._layers=[],G(e.boxes,t=>{a&&"chartArea"===t.position||(t.configure&&t.configure(),e._layers.push(...t._layers()))},e),e._layers.forEach((t,e)=>{t._idx=e}),e.notifyPlugins("afterLayout")}}_updateDatasets(i){var a="function"==typeof i;if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:i,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this._updateDataset(t,a?i({datasetIndex:t}):i);this.notifyPlugins("afterDatasetsUpdate",{mode:i})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),a={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",a)&&(i.controller._update(e),a.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",a))}render(){var t=this;!1!==t.notifyPlugins("beforeRender",{cancelable:!0})&&(h.has(t)?t.attached&&!h.running(t)&&h.start(t):(t.draw(),Ra({chart:t})))}draw(){var t=this;let e;if(t._resizeBeforeDraw){const{width:e,height:i}=t._resizeBeforeDraw;t._resize(e,i),t._resizeBeforeDraw=null}if(t.clear(),!(t.width<=0||t.height<=0)&&!1!==t.notifyPlugins("beforeDraw",{cancelable:!0})){const i=t._layers;for(e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(t.chartArea);for(t._drawDatasets();e<i.length;++e)i[e].draw(t.chartArea);t.notifyPlugins("afterDraw")}}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let a,n;for(a=0,n=e.length;a<n;++a){const n=e[a];t&&!n.visible||i.push(n)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1!==this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})){var e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;0<=t;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}}_drawDataset(t){const e=this,i=e.ctx,a=t._clip,n=e.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==e.notifyPlugins("beforeDatasetDraw",o)&&(qt(i,{left:!1===a.left?0:n.left-a.left,right:!1===a.right?e.width:n.right+a.right,top:!1===a.top?0:n.top-a.top,bottom:!1===a.bottom?e.height:n.bottom+a.bottom}),t.controller.draw(),Kt(i),o.cancelable=!1,e.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(t,e,i,a){const n=Se.modes[e];return"function"==typeof n?n(this,t,i,a):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let a=i.filter(t=>t&&t._dataset===e).pop();return a=a||(i[t]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1}),a}getContext(){return this.$context||(this.$context={chart:this,type:"chart"})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){var e=this.data.datasets[t];if(!e)return!1;t=this.getDatasetMeta(t);return"boolean"==typeof t.hidden?!t.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateDatasetVisibility(e,t){const i=t?"show":"hide",a=this.getDatasetMeta(e),n=a.controller._resolveAnimations(void 0,i);this.setDatasetVisibility(e,t),n.update(a,{visible:t}),this.update(t=>t.datasetIndex===e?i:void 0)}hide(t){this._updateDatasetVisibility(t,!1)}show(t){this._updateDatasetVisibility(t,!0)}_destroyDatasetMeta(t){const e=this._metasets&&this._metasets[t];e&&e.controller&&(e.controller._destroy(),delete this._metasets[t])}destroy(){var t=this,{canvas:e,ctx:i}=t;let a,n;for(t.stop(),h.remove(t),a=0,n=t.data.datasets.length;a<n;++a)t._destroyDatasetMeta(a);t.config.clearCache(),e&&(t.unbindEvents(),Yt(e,i),t.platform.releaseContext(i),t.canvas=null,t.ctx=null),t.notifyPlugins("destroy"),delete za[t.id]}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){const a=this,i=a._listeners,n=a.platform,e=(t,e)=>{n.addEventListener(a,t,e),i[t]=e},o=(t,e)=>{i[t]&&(n.removeEventListener(a,t,e),delete i[t])};let r=function(t,e,i){t.offsetX=e,t.offsetY=i,a._eventHandler(t)};if(G(a.options.events,t=>e(t,r)),a.options.responsive){let t;r=(t,e)=>{a.canvas&&a.resize(t,e)};const s=()=>{o("attach",s),a.attached=!0,a.resize(),e("resize",r),e("detach",t)};t=()=>{a.attached=!1,o("resize",r),e("attach",s)},(n.isAttached(a.canvas)?s:t)()}else a.attached=!0}unbindEvents(){const i=this,t=i._listeners;t&&(i._listeners={},G(t,(t,e)=>{i.platform.removeEventListener(i,e,t)}))}updateHoverStyle(t,e,i){var a=i?"set":"remove";let n,o,r,s;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+a+"DatasetHoverStyle"]()),r=0,s=t.length;r<s;++r){const e=(o=t[r])&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[a+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const a=this,e=a._active||[],i=t.map(({datasetIndex:t,index:e})=>{var i=a.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}});Z(i,e)||(a._active=i,a._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){var a=this.options.hover,n=(t,i)=>t.filter(e=>!i.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),o=n(e,t),e=i?t:n(t,e);o.length&&this.updateHoverStyle(o,a.mode,!1),e.length&&a.mode&&this.updateHoverStyle(e,a.mode,!0)}_eventHandler(e,t){const i=this,a={event:e,replay:t,cancelable:!0},n=t=>(t.options.events||this.options.events).includes(e.type);if(!1!==i.notifyPlugins("beforeEvent",a,n)){t=i._handleEvent(e,t);return a.cancelable=!1,i.notifyPlugins("afterEvent",a,n),(t||a.changed)&&i.render(),i}}_handleEvent(t,e){var i=this,{_active:a=[],options:n}=i,o=n.hover;let r=[],s,l=null;return"mouseout"!==t.type&&(r=i.getElementsAtEventForMode(t,o.mode,o,e),l="click"===t.type?i._lastEvent:t),i._lastEvent=null,Xt(t,i.chartArea,i._minPadding)&&(K(n.onHover,[t,r,i],i),"mouseup"!==t.type&&"click"!==t.type&&"contextmenu"!==t.type||K(n.onClick,[t,r,i],i)),((s=!Z(r,a))||e)&&(i._active=r,i._updateHoverStyles(r,a,e)),i._lastEvent=l,s}}const Ba=()=>G(Va.instances,t=>t._plugins.invalidate());function Wa(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}Object.defineProperties(Va,{defaults:{enumerable:!0,value:ft},instances:{enumerable:!0,value:za},overrides:{enumerable:!0,value:ct},registry:{enumerable:!0,value:xa},version:{enumerable:!0,value:"3.2.1"},getChart:{enumerable:!0,value:Fa},register:{enumerable:!0,value:(...t)=>{xa.add(...t),Ba()}},unregister:{enumerable:!0,value:(...t)=>{xa.remove(...t),Ba()}}});class Ha{constructor(t){this.options=t||{}}formats(){return Wa()}parse(t,e){return Wa()}format(t,e){return Wa()}add(t,e,i){return Wa()}diff(t,e,i){return Wa()}startOf(t,e,i){return Wa()}endOf(t,e){return Wa()}}Ha.override=function(t){Object.assign(Ha.prototype,t)};var Na={_date:Ha};function ja(t,e,i,a){return N(t)?function(t,e,i,a){var n=i.parse(t[0],a),o=i.parse(t[1],a),t=Math.min(n,o),a=Math.max(n,o);let r=t,s=a;Math.abs(t)>Math.abs(a)&&(r=a,s=t),e[i.axis]=s,e._custom={barStart:r,barEnd:s,start:n,end:o,min:t,max:a}}(t,e,i,a):e[i.axis]=i.parse(t,a),e}function $a(t,e,i,a){const n=t.iScale,o=t.vScale,r=n.getLabels(),s=n===o,l=[];let h,c,d,u;for(c=(h=i)+a;h<c;++h)u=e[h],d={},d[n.axis]=s||n.parse(r[h],h),l.push(ja(u,d,o,h));return l}function Ya(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}class Ua extends Pi{parsePrimitiveData(t,e,i,a){return $a(t,e,i,a)}parseArrayData(t,e,i,a){return $a(t,e,i,a)}parseObjectData(t,e,i,a){const{iScale:n,vScale:o}=t,{xAxisKey:r="x",yAxisKey:s="y"}=this._parsing,l="x"===n.axis?r:s,h="x"===o.axis?r:s,c=[];let d,u,g,f;for(u=(d=i)+a;d<u;++d)f=e[d],g={},g[n.axis]=n.parse(ot(f,l),d),c.push(ja(ot(f,h),g,o,d));return c}updateRangeFromParsed(t,e,i,a){super.updateRangeFromParsed(t,e,i,a);i=i._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:a}=e,n=this.getParsed(t),o=n._custom,r=Ya(o)?"["+o.start+", "+o.end+"]":""+a.getLabelForValue(n[a.axis]);return{label:""+i.getLabelForValue(n[i.axis]),value:r}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){var e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(e,i,a,n){const o=this,r="reset"===n,s=o._cachedMeta.vScale,l=s.getBasePixel(),h=s.isHorizontal(),c=o._getRuler(),t=o.resolveDataElementOptions(i,n),d=o.getSharedOptions(t),u=o.includeOptions(n,d);o.updateSharedOptions(d,n,t);for(let t=i;t<i+a;t++){const i=o.getParsed(t),a=r||H(i[s.axis])?{base:l,head:l}:o._calculateBarValuePixels(t),g=o._calculateBarIndexPixels(t,c),f=(i._stacks||{})[s.axis],p={horizontal:h,base:a.base,enableBorderRadius:!f||Ya(i._custom)||o.index===f._top||o.index===f._bottom,x:h?a.head:g.center,y:h?g.center:a.head,height:h?g.size:void 0,width:h?void 0:g.size};u&&(p.options=d||o.resolveDataElementOptions(t,n)),o.updateElement(e[t],t,p,n)}}_getStacks(t,e){const i=this._cachedMeta.iScale,a=i.getMatchingVisibleMetas(this._type),n=i.options.stacked,o=a.length,r=[];let s,l;for(s=0;s<o;++s){if(l=a[s],void 0!==e){const t=l.controller.getParsed(e)[l.controller._cachedMeta.vScale.axis];if(H(t)||isNaN(t))continue}if((!1===n||-1===r.indexOf(l.stack)||void 0===n&&void 0===l.stack)&&r.push(l.stack),l.index===t)break}return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const a=this._getStacks(t,i),n=void 0!==e?a.indexOf(e):-1;return-1===n?a.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,a=[];let n,o;for(n=0,o=e.data.length;n<o;++n)a.push(i.getPixelForValue(this.getParsed(n)[i.axis],n));var r=t.barThickness;return{min:r||function(t){var e=function(a){if(!a._cache.$bar){const n=a.getMatchingVisibleMetas("bar");let i=[];for(let t=0,e=n.length;t<e;t++)i=i.concat(n[t].controller.getAllParsedValues(a));a._cache.$bar=se(i.sort((t,e)=>t-e))}return a._cache.$bar}(t);let i,a,n,o,r=t._length;var s=()=>{32767!==n&&-32768!==n&&(st(o)&&(r=Math.min(r,Math.abs(n-o)||r)),o=n)};for(i=0,a=e.length;i<a;++i)n=t.getPixelForValue(e[i]),s();for(o=void 0,i=0,a=t.ticks.length;i<a;++i)n=t.getPixelForTick(i),s();return r}(i),pixels:a,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:r?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{vScale:e,_stacked:i}=this._cachedMeta,{base:a,minBarLength:n}=this.options,o=this.getParsed(t),r=o._custom,s=Ya(r);let l,h,c=o[e.axis],d=0,u=i?this.applyStack(e,o,i):c;u!==c&&(d=u-c,u=c),s&&(c=r.barStart,u=r.barEnd-r.barStart,0!==c&&kt(c)!==kt(r.barEnd)&&(d=0),d+=c);var g=H(a)||s?d:a;let f=e.getPixelForValue(g);l=this.chart.getDataVisibility(t)?e.getPixelForValue(d+u):f,h=l-f,void 0!==n&&Math.abs(h)<n&&(h=h<0?-n:n,0===c&&(f-=h/2),l=f+h);t=a||0;if(f===e.getPixelForValue(t)){const p=e.getLineWidthForValue(t)/2;0<h?(f+=p,h-=p):h<0&&(f-=p,h+=p)}return{size:h,base:f,head:l,center:l+h/2}}_calculateBarIndexPixels(t,e){const i=this,a=e.scale,n=i.options,o=n.skipNull,r=U(n.maxBarThickness,1/0);let s,l;if(e.grouped){const a=o?i._getStackCount(t):e.stackCount,h=("flex"===n.barThickness?function(t,e,i,a){var n=e.pixels,o=n[t];let r=0<t?n[t-1]:null,s=t<n.length-1?n[t+1]:null;t=i.categoryPercentage;null===r&&(r=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-r);o-=(o-Math.min(r,s))/2*t;return{chunk:Math.abs(s-r)/2*t/a,ratio:i.barPercentage,start:o}}:function(t,e,i,a){var n=i.barThickness;let o,r;return r=H(n)?(o=e.min*i.categoryPercentage,i.barPercentage):(o=n*a,1),{chunk:o/a,ratio:r,start:e.pixels[t]-o/2}})(t,e,n,a),c=i._getStackIndex(i.index,i._cachedMeta.stack,o?t:void 0);s=h.start+h.chunk*c+h.chunk/2,l=Math.min(r,h.chunk*h.ratio)}else s=a.getPixelForValue(i.getParsed(t)[a.axis],t),l=Math.min(r,e.min*e.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}}draw(){const t=this.chart,e=this._cachedMeta,i=e.vScale,a=e.data,n=a.length;let o=0;for(qt(t.ctx,t.chartArea);o<n;++o)null!==this.getParsed(o)[i.axis]&&a[o].draw(this._ctx);Kt(t.ctx)}}Ua.id="bar",Ua.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Ua.overrides={interaction:{mode:"index"},scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Xa extends Pi{initialize(){this.enableOptionSharing=!0,super.initialize()}parseObjectData(t,e,i,a){const{xScale:n,yScale:o}=t,{xAxisKey:r="x",yAxisKey:s="y"}=this._parsing,l=[];let h,c,d;for(c=(h=i)+a;h<c;++h)d=e[h],l.push({x:n.parse(ot(d,r),h),y:o.parse(ot(d,s),h),_custom:d&&d.r&&+d.r});return l}getMaxOverflow(){const{data:e,_parsed:i}=this._cachedMeta;let a=0;for(let t=e.length-1;0<=t;--t)a=Math.max(a,e[t].size()/2,i[t]._custom);return 0<a&&a}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:a}=e,n=this.getParsed(t),o=i.getLabelForValue(n.x),r=a.getLabelForValue(n.y),s=n._custom;return{label:e.label,value:"("+o+", "+r+(s?", "+s:"")+")"}}update(t){var e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(e,i,a,n){const o=this,r="reset"===n,{xScale:s,yScale:l}=o._cachedMeta,t=o.resolveDataElementOptions(i,n),h=o.getSharedOptions(t),c=o.includeOptions(n,h);for(let t=i;t<i+a;t++){const i=e[t],a=!r&&o.getParsed(t),h=r?s.getPixelForDecimal(.5):s.getPixelForValue(a.x),d=r?l.getBasePixel():l.getPixelForValue(a.y),u={x:h,y:d,skip:isNaN(h)||isNaN(d)};c&&(u.options=o.resolveDataElementOptions(t,n),r&&(u.options.radius=0)),o.updateElement(i,t,u,n)}o.updateSharedOptions(h,n,t)}resolveDataElementOptions(t,e){var i=this.getParsed(t);let a=super.resolveDataElementOptions(t,e);a.$shared&&(a=Object.assign({},a,{$shared:!1}));t=a.radius;return"active"!==e&&(a.radius=0),a.radius+=U(i&&i._custom,t),a}}Xa.id="bubble",Xa.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Xa.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class qa extends Pi{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,a=this._cachedMeta;let n,o;for(o=(n=t)+e;n<o;++n)a._parsed[n]=+i[n]}_getRotation(){return Tt(this.options.rotation-90)}_getCircumference(){return Tt(this.options.circumference)}_getRotationExtents(){let e=mt,i=-mt;for(let t=0;t<this.chart.data.datasets.length;++t)if(this.chart.isDatasetVisible(t)){const a=this.chart.getDatasetMeta(t).controller,n=a._getRotation(),o=a._getCircumference();e=Math.min(e,n),i=Math.max(i,n+o)}return{rotation:e,circumference:i-e}}update(t){const e=this,i=e.chart,{chartArea:a}=i,n=e._cachedMeta,o=n.data,r=e.getMaxBorderWidth()+e.getMaxOffset(o),s=Math.max((Math.min(a.width,a.height)-r)/2,0),l=Math.min(X(e.options.cutout,s),1),h=e._getRingWeight(e.index),{circumference:c,rotation:d}=e._getRotationExtents(),{ratioX:u,ratioY:g,offsetX:f,offsetY:p}=function(t,e,a){let i=1,n=1,o=0,r=0;if(e<mt){const s=t,l=s+e,h=Math.cos(s),c=Math.sin(s),d=Math.cos(l),u=Math.sin(l),g=(t,e,i)=>Vt(t,s,l)?1:Math.max(e,e*a,i,i*a),f=(t,e,i)=>Vt(t,s,l)?-1:Math.min(e,e*a,i,i*a),p=g(0,h,d),m=g(_t,c,u),x=f(pt,h,d),b=f(pt+_t,c,u);i=(p-x)/2,n=(m-b)/2,o=-(p+x)/2,r=-(m+b)/2}return{ratioX:i,ratioY:n,offsetX:o,offsetY:r}}(d,c,l),m=(a.width-r)/u,x=(a.height-r)/g,b=Math.max(Math.min(m,x)/2,0),v=q(e.options.radius,b),_=(v-Math.max(v*l,0))/e._getVisibleDatasetWeightTotal();e.offsetX=f*v,e.offsetY=p*v,n.total=e.calculateTotal(),e.outerRadius=v-_*e._getRingWeightOffset(e.index),e.innerRadius=Math.max(e.outerRadius-_*h,0),e.updateElements(o,0,o.length,t)}_circumference(t,e){var i=this.options,a=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===a._parsed[t]?0:this.calculateCircumference(a._parsed[t]*n/mt)}updateElements(t,e,i,a){const n=this,o="reset"===a,r=n.chart,s=r.chartArea,l=r.options.animation,h=(s.left+s.right)/2,c=(s.top+s.bottom)/2,d=o&&l.animateScale,u=d?0:n.innerRadius,g=d?0:n.outerRadius,f=n.resolveDataElementOptions(e,a),p=n.getSharedOptions(f),m=n.includeOptions(a,p);let x,b=n._getRotation();for(x=0;x<e;++x)b+=n._circumference(x,o);for(x=e;x<e+i;++x){const e=n._circumference(x,o),i=t[x],r={x:h+n.offsetX,y:c+n.offsetY,startAngle:b,endAngle:b+e,circumference:e,outerRadius:g,innerRadius:u};m&&(r.options=p||n.resolveDataElementOptions(x,a)),b+=e,n.updateElement(i,x,r,a)}n.updateSharedOptions(p,a,f)}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,a=0;for(i=0;i<e.length;i++){const e=t._parsed[i];null!==e&&!isNaN(e)&&this.chart.getDataVisibility(i)&&(a+=Math.abs(e))}return a}calculateCircumference(t){var e=this._cachedMeta.total;return 0<e&&!isNaN(t)?mt*(Math.abs(t)/e):0}getLabelAndValue(t){var e=this._cachedMeta,i=this.chart,a=i.data.labels||[],i=Oi(e._parsed[t],i.options.locale);return{label:a[t]||"",value:i}}getMaxBorderWidth(t){let e=0;const i=this.chart;let a,n,o,r,s;if(!t)for(a=0,n=i.data.datasets.length;a<n;++a)if(i.isDatasetVisible(a)){t=(o=i.getDatasetMeta(a)).data,r=o.controller,r!==this&&r.configure();break}if(!t)return 0;for(a=0,n=t.length;a<n;++a)"inner"!==(s=r.resolveDataElementOptions(a)).borderAlign&&(e=Math.max(e,s.borderWidth||0,s.hoverBorderWidth||0));return e}getMaxOffset(i){let a=0;for(let t=0,e=i.length;t<e;++t){const i=this.resolveDataElementOptions(t);a=Math.max(a,i.offset||0,i.hoverOffset||0)}return a}_getRingWeightOffset(e){let i=0;for(let t=0;t<e;++t)this.chart.isDatasetVisible(t)&&(i+=this._getRingWeight(t));return i}_getRingWeight(t){return Math.max(U(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}qa.id="doughnut",qa.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",indexAxis:"r"},qa.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(a){const t=a.data;return t.labels.length&&t.datasets.length?t.labels.map((t,e)=>{var i=a.getDatasetMeta(0).controller.getStyle(e);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:!a.getDataVisibility(e),index:e}}):[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;t=": "+t.formattedValue;return N(e)?(e=e.slice(),e[0]+=t):e+=t,e}}}}};class Ka extends Pi{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this,i=e._cachedMeta,{dataset:a,data:n=[],_dataset:o}=i,r=e.chart._animationsDisabled;let{start:s,count:l}=function(t,e,i){var a=e.length;let n=0,o=a;if(t._sorted){const{iScale:r,_parsed:s}=t,l=r.axis,{min:h,max:c,minDefined:d,maxDefined:u}=r.getUserBounds();d&&(n=Bt(Math.min(ee(s,r.axis,h).lo,i?a:ee(e,l,r.getPixelForValue(h)).lo),0,a-1)),o=u?Bt(Math.max(ee(s,r.axis,c).hi+1,i?0:ee(e,l,r.getPixelForValue(c)).hi+1),n,a)-n:a-n}return{start:n,count:o}}(i,n,r);e._drawStart=s,e._drawCount=l,function(t){var{xScale:e,yScale:i,_scaleRanges:a}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!a)return t._scaleRanges=n,1;i=a.xmin!==e.min||a.xmax!==e.max||a.ymin!==i.min||a.ymax!==i.max;return Object.assign(a,n),i}(i)&&(s=0,l=n.length),a._decimated=!!o._decimated,a.points=n;const h=e.resolveDatasetElementOptions(t);e.options.showLine||(h.borderWidth=0),h.segment=e.options.segment,e.updateElement(a,void 0,{animated:!r,options:h},t),e.updateElements(n,s,l,t)}updateElements(e,i,a,n){const o=this,r="reset"===n,{xScale:s,yScale:l,_stacked:h}=o._cachedMeta,t=o.resolveDataElementOptions(i,n),c=o.getSharedOptions(t),d=o.includeOptions(n,c),u=o.options.spanGaps,g=Dt(u)?u:Number.POSITIVE_INFINITY,f=o.chart._animationsDisabled||r||"none"===n;let p=0<i&&o.getParsed(i-1);for(let t=i;t<i+a;++t){const i=e[t],a=o.getParsed(t),u=f?i:{},m=H(a.y),x=u.x=s.getPixelForValue(a.x,t),b=u.y=r||m?l.getBasePixel():l.getPixelForValue(h?o.applyStack(l,a,h):a.y,t);u.skip=isNaN(x)||isNaN(b)||m,u.stop=0<t&&a.x-p.x>g,u.parsed=a,d&&(u.options=c||o.resolveDataElementOptions(t,n)),f||o.updateElement(i,t,u,n),p=a}o.updateSharedOptions(c,n,t)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,a=t.data||[];if(!a.length)return i;var n=a[0].size(this.resolveDataElementOptions(0)),o=a[a.length-1].size(this.resolveDataElementOptions(a.length-1));return Math.max(i,n,o)/2}draw(){this._cachedMeta.dataset.updateControlPoints(this.chart.chartArea),super.draw()}}Ka.id="line",Ka.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Ka.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Ga extends Pi{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}update(t){var e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this,e=t.chart,i=e.chartArea,a=e.options,n=Math.min(i.right-i.left,i.bottom-i.top),o=Math.max(n/2,0),r=(o-Math.max(a.cutoutPercentage?o/100*a.cutoutPercentage:1,0))/e.getVisibleDatasetCount();t.outerRadius=o-r*t.index,t.innerRadius=t.outerRadius-r}updateElements(a,n,t,o){const r=this,s="reset"===o,l=r.chart,h=r.getDataset(),c=l.options.animation,d=r._cachedMeta.rScale,u=d.xCenter,g=d.yCenter,f=d.getIndexAngle(0)-.5*pt;let p,m=f;var x=360/r.countVisibleElements();for(p=0;p<n;++p)m+=r._computeAngle(p,o,x);for(p=n;p<n+t;p++){const n=a[p];let t=m,e=m+r._computeAngle(p,o,x),i=l.getDataVisibility(p)?d.getDistanceFromCenterForValue(h.data[p]):0;m=e,s&&(c.animateScale&&(i=0),c.animateRotate&&(t=e=f));var b={x:u,y:g,innerRadius:0,outerRadius:i,startAngle:t,endAngle:e,options:r.resolveDataElementOptions(p,o)};r.updateElement(n,p,b,o)}}countVisibleElements(){const i=this.getDataset(),t=this._cachedMeta;let a=0;return t.data.forEach((t,e)=>{!isNaN(i.data[e])&&this.chart.getDataVisibility(e)&&a++}),a}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?Tt(this.resolveDataElementOptions(t,e).angle||i):0}}Ga.id="polarArea",Ga.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Ga.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(a){const t=a.data;return t.labels.length&&t.datasets.length?t.labels.map((t,e)=>{var i=a.getDatasetMeta(0).controller.getStyle(e);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:!a.getDataVisibility(e),index:e}}):[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Za extends qa{}Za.id="pie",Za.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Qa extends Pi{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}update(t){const e=this,i=e._cachedMeta,a=i.dataset,n=i.data||[],o=i.iScale.getLabels();if(a.points=n,"resize"!==t){const i=e.resolveDatasetElementOptions(t);e.options.showLine||(i.borderWidth=0);var r={_loop:!0,_fullLoop:o.length===n.length,options:i};e.updateElement(a,void 0,r,t)}e.updateElements(n,0,n.length,t)}updateElements(e,i,a,n){const o=this.getDataset(),r=this._cachedMeta.rScale,s="reset"===n;for(let t=i;t<i+a;t++){const i=e[t],a=this.resolveDataElementOptions(t,n),l=r.getPointPositionForValue(t,o.data[t]),h=s?r.xCenter:l.x,c=s?r.yCenter:l.y,d={x:h,y:c,angle:l.angle,skip:isNaN(h)||isNaN(c),options:a};this.updateElement(i,t,d,n)}}}Qa.id="radar",Qa.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},Qa.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Ja extends Ka{}Ja.id="scatter",Ja.defaults={showLine:!1,fill:!1},Ja.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var tn=Object.freeze({__proto__:null,BarController:Ua,BubbleController:Xa,DoughnutController:qa,LineController:Ka,PolarAreaController:Ga,PieController:Za,RadarController:Qa,ScatterController:Ja});function en(t,e){var{startAngle:i,endAngle:a,pixelMargin:n,x:o,y:r,outerRadius:s,innerRadius:l}=e,e=n/s;t.beginPath(),t.arc(o,r,s,i-e,a+e),n<l?t.arc(o,r,l,a+(e=n/l),i-e,!0):t.arc(o,r,n,a+_t,i-_t),t.closePath(),t.clip()}function an(t,e,i,a){return{x:i+t*Math.cos(e),y:a+t*Math.sin(e)}}function nn(t,e){var{x:i,y:a,startAngle:n,endAngle:o,pixelMargin:r}=e,s=Math.max(e.outerRadius-r,0),l=e.innerRadius+r,{outerStart:h,outerEnd:c,innerStart:d,innerEnd:u}=function(t,e,i,a){t=Oe(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const n=(i-e)/2,o=Math.min(n,a*e/2),r=t=>{var e=(i-Math.min(n,t))*a/2;return Bt(t,0,Math.min(n,e))};return{outerStart:r(t.outerStart),outerEnd:r(t.outerEnd),innerStart:Bt(t.innerStart,0,o),innerEnd:Bt(t.innerEnd,0,o)}}(e,l,s,o-n),g=s-h,f=s-c,p=n+h/g,m=o-c/f,x=l+d,b=l+u,r=n+d/x,e=o-u/b;if(t.beginPath(),t.arc(i,a,s,p,m),0<c){const v=an(f,m,i,a);t.arc(v.x,v.y,c,m,o+_t)}m=an(b,o,i,a);if(t.lineTo(m.x,m.y),0<u){const v=an(b,e,i,a);t.arc(v.x,v.y,u,o+_t,e+Math.PI)}if(t.arc(i,a,l,o-u/l,n+d/l,!0),0<d){const v=an(x,r,i,a);t.arc(v.x,v.y,d,r+Math.PI,n-_t)}r=an(g,n,i,a);if(t.lineTo(r.x,r.y),0<h){const v=an(g,p,i,a);t.arc(v.x,v.y,h,n-_t,p)}t.closePath()}function on(t,e){var{options:i}=e,a="inner"===i.borderAlign;i.borderWidth&&(a?(t.lineWidth=2*i.borderWidth,t.lineJoin="round"):(t.lineWidth=i.borderWidth,t.lineJoin="bevel"),e.fullCircles&&function(t,e,i){var{x:a,y:n,startAngle:o,endAngle:r,pixelMargin:s}=e,l=Math.max(e.outerRadius-s,0),s=e.innerRadius+s;let h;for(i&&(e.endAngle=e.startAngle+mt,en(t,e),e.endAngle=r,e.endAngle===e.startAngle&&(e.endAngle+=mt,e.fullCircles--)),t.beginPath(),t.arc(a,n,s,o+mt,o,!0),h=0;h<e.fullCircles;++h)t.stroke();for(t.beginPath(),t.arc(a,n,l,o,o+mt),h=0;h<e.fullCircles;++h)t.stroke()}(t,e,a),a&&en(t,e),nn(t,e),t.stroke())}class rn extends Di{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){var{angle:a,distance:n}=Et(this.getProps(["x","y"],i),{x:t,y:e}),{startAngle:o,endAngle:r,innerRadius:t,outerRadius:e,circumference:i}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i);return(i>=mt||Vt(a,o,r))&&t<=n&&n<=e}getCenterPoint(t){var{x:e,y:i,startAngle:a,endAngle:n,innerRadius:o,outerRadius:t}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),n=(a+n)/2,t=(o+t)/2;return{x:e+Math.cos(n)*t,y:i+Math.sin(n)*t}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const e=this,i=e.options,a=i.offset||0;if(e.pixelMargin="inner"===i.borderAlign?.33:0,e.fullCircles=Math.floor(e.circumference/mt),!(0===e.circumference||e.innerRadius<0||e.outerRadius<0)){if(t.save(),a&&e.circumference<mt){const i=(e.startAngle+e.endAngle)/2;t.translate(Math.cos(i)*a,Math.sin(i)*a)}t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,function(e,i){if(i.fullCircles){i.endAngle=i.startAngle+mt,nn(e,i);for(let t=0;t<i.fullCircles;++t)e.fill()}isNaN(i.circumference)||(i.endAngle=i.startAngle+i.circumference%mt),nn(e,i),e.fill()}(t,e),on(t,e),t.restore()}}}function sn(t,e,i=e){t.lineCap=U(i.borderCapStyle,e.borderCapStyle),t.setLineDash(U(i.borderDash,e.borderDash)),t.lineDashOffset=U(i.borderDashOffset,e.borderDashOffset),t.lineJoin=U(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=U(i.borderWidth,e.borderWidth),t.strokeStyle=U(i.borderColor,e.borderColor)}function ln(t,e,i){t.lineTo(i.x,i.y)}function hn(t,e,i={}){var a=t.length,{start:n=0,end:o=a-1}=i,{start:r,end:s}=e,t=Math.max(n,r),i=Math.min(o,s);return{count:a,start:t,loop:e.loop,ilen:i<t&&!(n<r&&o<r||s<n&&s<o)?a+i-t:i-t}}function cn(t,e,i,a){const{points:n,options:o}=e,{count:r,start:s,loop:l,ilen:h}=hn(n,i,a),c=o.stepped?Gt:o.tension||"monotone"===o.cubicInterpolationMode?Zt:ln;let d,u,g,{move:f=!0,reverse:p}=a||{};for(d=0;d<=h;++d)u=n[(s+(p?h-d:d))%r],u.skip||(f?(t.moveTo(u.x,u.y),f=!1):c(t,g,u,p,o.stepped),g=u);return l&&(u=n[(s+(p?h:0))%r],c(t,g,u,p,o.stepped)),!!l}function dn(t,e,i,a){const n=e.points,{count:o,start:r,ilen:s}=hn(n,i,a),{move:l=!0,reverse:h}=a||{};let c,d,u,g,f,p,m=0,x=0;var b=t=>(r+(h?s-t:t))%o,v=()=>{g!==f&&(t.lineTo(m,f),t.lineTo(m,g),t.lineTo(m,p))};for(l&&(d=n[b(0)],t.moveTo(d.x,d.y)),c=0;c<=s;++c)if(d=n[b(c)],!d.skip){const e=d.x,i=d.y,a=0|e;a===u?(i<g?g=i:i>f&&(f=i),m=(x*m+e)/++x):(v(),t.lineTo(e,i),u=a,x=0,g=f=i),p=i}v()}function un(t){var e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?cn:dn}rn.id="arc",rn.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,angle:void 0},rn.defaultRoutes={backgroundColor:"backgroundColor"};const gn="function"==typeof Path2D;class fn extends Di{constructor(t){super(),this.animated=!0,this.options=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,t&&Object.assign(this,t)}updateControlPoints(t){var e,i=this.options;!i.tension&&"monotone"!==i.cubicInterpolationMode||i.stepped||this._pointsUpdated||(e=i.spanGaps?this._loop:this._fullLoop,ia(this._points,i,t,e),this._pointsUpdated=!0)}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=ga(this,this.options.segment))}first(){var t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){var t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(i,a){const n=this,o=n.options,r=i[a],s=n.points,l=ua(n,{property:a,start:r,end:r});if(l.length){const h=[],c=o.stepped?na:o.tension||"monotone"===o.cubicInterpolationMode?oa:aa;let e,t;for(e=0,t=l.length;e<t;++e){const{start:n,end:t}=l[e],d=s[n],u=s[t];if(d!==u){const g=c(d,u,Math.abs((r-d[a])/(u[a]-d[a])),o.stepped);g[a]=i[a],h.push(g)}else h.push(d)}return 1===h.length?h[0]:h}}pathSegment(t,e,i){return un(this)(t,this,e,i)}path(t,e,i){const a=this.segments,n=un(this);let o=this._loop;e=e||0,i=i||this.points.length-e;for(const r of a)o&=n(t,this,r,{start:e,end:e+i-1});return!!o}draw(t,e,i,a){var n,o=this.options||{};(this.points||[]).length&&o.borderWidth&&(t.save(),n=t,o=this,i=i,a=a,(gn&&1===o.segments.length?function(t,e,i,a){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,a)&&n.closePath()),sn(t,e.options),t.stroke(n)}:function(t,e,i,a){const{segments:n,options:o}=e,r=un(e);for(const s of n)sn(t,o,s.style),t.beginPath(),r(t,e,s,{start:i,end:i+a-1})&&t.closePath(),t.stroke()})(n,o,i,a),t.restore(),this.animated&&(this._pointsUpdated=!1,this._path=void 0))}}function pn(t,e,i,a){var n=t.options,{[i]:i}=t.getProps([i],a);return Math.abs(e-i)<n.radius+n.hitRadius}fn.id="line",fn.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},fn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},fn.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class mn extends Di{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){var a=this.options,{x:n,y:i}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-i,2)<Math.pow(a.hitRadius+a.radius,2)}inXRange(t,e){return pn(this,t,"x",e)}inYRange(t,e){return pn(this,t,"y",e)}getCenterPoint(t){var{x:e,y:t}=this.getProps(["x","y"],t);return{x:e,y:t}}size(t){var e=(t=t||this.options||{}).radius||0;return 2*((e=Math.max(e,e&&t.hoverRadius||0))+(e&&t.borderWidth||0))}draw(t){var e=this.options;this.skip||e.radius<.1||(t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,Ut(t,e,this.x,this.y))}getRange(){var t=this.options||{};return t.radius+t.hitRadius}}function xn(t,e){var{x:i,y:a,base:n,width:o,height:e}=t.getProps(["x","y","base","width","height"],e);let r,s,l,h,c;return h=t.horizontal?(c=e/2,r=Math.min(i,n),s=Math.max(i,n),l=a-c,a+c):(c=o/2,r=i-c,s=i+c,l=Math.min(a,n),Math.max(a,n)),{left:r,top:l,right:s,bottom:h}}function bn(t){let e=t.options.borderSkipped;const i={};return e&&(e=t.horizontal?vn(e,"left","right",t.base>t.x):vn(e,"bottom","top",t.base<t.y),i[e]=!0),i}function vn(t,e,i,a){return t=a?_n(t=t===e?i:t===i?e:t,i,e):_n(t,e,i)}function _n(t,e,i){return"start"===t?e:"end"===t?i:t}function yn(t,e,i,a){return t?0:Math.max(Math.min(e,a),i)}function wn(t,e,i,a){var n=null===e,o=null===i,a=t&&!(n&&o)&&xn(t,a);return a&&(n||e>=a.left&&e<=a.right)&&(o||i>=a.top&&i<=a.bottom)}function Mn(t,e){t.rect(e.x,e.y,e.w,e.h)}mn.id="point",mn.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},mn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class kn extends Di{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,t&&Object.assign(this,t)}draw(t){const e=this.options,{inner:i,outer:a}=(h=xn(o=this),c=h.right-h.left,d=h.bottom-h.top,u=c/2,s=d/2,l=(r=o).options.borderWidth,r=bn(r),l=Ae(l),u={t:yn(r.top,l.top,0,s),r:yn(r.right,l.right,0,u),b:yn(r.bottom,l.bottom,0,s),l:yn(r.left,l.left,0,u)},o=function(t,e,i){var{enableBorderRadius:a}=t.getProps(["enableBorderRadius"]),n=t.options.borderRadius,o=Te(n),i=Math.min(e,i),t=bn(t),n=a||j(n);return{topLeft:yn(!n||t.top||t.left,o.topLeft,0,i),topRight:yn(!n||t.top||t.right,o.topRight,0,i),bottomLeft:yn(!n||t.bottom||t.left,o.bottomLeft,0,i),bottomRight:yn(!n||t.bottom||t.right,o.bottomRight,0,i)}}(o,c/2,d/2),{outer:{x:h.left,y:h.top,w:c,h:d,radius:o},inner:{x:h.left+u.l,y:h.top+u.t,w:c-u.l-u.r,h:d-u.t-u.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(u.t,u.l)),topRight:Math.max(0,o.topRight-Math.max(u.t,u.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(u.b,u.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(u.b,u.r))}}}),n=(u=a.radius).topLeft||u.topRight||u.bottomLeft||u.bottomRight?Jt:Mn;var o,r,s,l,h,c,d,u;t.save(),a.w===i.w&&a.h===i.h||(t.beginPath(),n(t,a),t.clip(),n(t,i),t.fillStyle=e.borderColor,t.fill("evenodd")),t.beginPath(),n(t,i),t.fillStyle=e.backgroundColor,t.fill(),t.restore()}inRange(t,e,i){return wn(this,t,e,i)}inXRange(t,e){return wn(this,t,null,e)}inYRange(t,e){return wn(this,null,t,e)}getCenterPoint(t){var{x:e,y:i,base:a,horizontal:t}=this.getProps(["x","y","base","horizontal"],t);return{x:t?(e+a)/2:e,y:t?i:(i+a)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}kn.id="bar",kn.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},kn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Sn=Object.freeze({__proto__:null,ArcElement:rn,LineElement:fn,PointElement:mn,BarElement:kn});function Pn(t){var e;t._decimated&&(e=t._data,delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e}))}function Dn(t){t.data.datasets.forEach(t=>{Pn(t)})}var Cn={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(i,t,w)=>{if(w.enabled){const r=i.width;i.data.datasets.forEach((a,t)=>{var{_data:n,indexAxis:e}=a,h=i.getDatasetMeta(t),o=n||a.data;if("y"!==Ee([e,i.options.indexAxis])&&"line"===h.type){e=i.scales[h.xAxisID];if(("linear"===e.type||"time"===e.type)&&!i.options.parsing){let t,{start:e,count:i}=function(t){var e=t.length;let i,a=0;const{iScale:n}=h,{min:o,max:r,minDefined:s,maxDefined:l}=n.getUserBounds();return s&&(a=Bt(ee(t,n.axis,o).lo,0,e-1)),i=l?Bt(ee(t,n.axis,r).hi+1,a,e)-a:e-a,{start:a,count:i}}(o);if(i<=4*r)Pn(a);else{switch(H(n)&&(a._data=o,delete a.data,Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),w.algorithm){case"lttb":t=function(a,n,o,t){var e=w.samples||t;if(o<=e)return a.slice(n,n+o);const r=[],s=(o-2)/(e-2);let l=0;const h=n+o-1;let c,d,u,g,f,p=n;for(r[l++]=a[p],c=0;c<e-2;c++){let t,e=0,i=0;const h=Math.floor((c+1)*s)+1+n,_=Math.min(Math.floor((c+2)*s)+1,o)+n,y=_-h;for(t=h;t<_;t++)e+=a[t].x,i+=a[t].y;e/=y,i/=y;var m=Math.floor(c*s)+1+n,x=Math.floor((c+1)*s)+1+n,{x:b,y:v}=a[p];for(u=-1,t=m;t<x;t++)(g=.5*Math.abs((b-e)*(a[t].y-v)-(b-a[t].x)*(i-v)))>u&&(u=g,d=a[t],f=t);r[l++]=d,p=f}return r[l++]=a[h],r}(o,e,i,r);break;case"min-max":t=function(t,e,i,a){let n,o,r,s,l,h,c,d,u,g,f=0,p=0;const m=[],x=e+i-1,b=t[e].x,v=t[x].x-b;for(n=e;n<e+i;++n){r=((o=t[n]).x-b)/v*a,s=o.y;const e=0|r;if(e===l)s<u?(u=s,h=n):s>g&&(g=s,c=n),f=(p*f+o.x)/++p;else{const i=n-1;if(!H(h)&&!H(c)){const e=Math.min(h,c),a=Math.max(h,c);e!==d&&e!==i&&m.push({...t[e],x:f}),a!==d&&a!==i&&m.push({...t[a],x:f})}0<n&&i!==d&&m.push(t[i]),m.push(o),l=e,p=0,u=g=s,h=c=d=n}}return m}(o,e,i,r);break;default:throw new Error(`Unsupported decimation algorithm '${w.algorithm}'`)}a._decimated=t}}}})}else Dn(i)},destroy(t){Dn(t)}};class On{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){var{x:a,y:n,radius:o}=this;return e=e||{start:0,end:mt},t.arc(a,n,o,e.end,e.start,!0),!i.bounds}interpolate(t){var{x:e,y:i,radius:a}=this,t=t.angle;return{x:e+Math.cos(t)*a,y:i+Math.sin(t)*a,angle:t}}}function An(t){const{chart:e,scale:i,index:a,line:n}=t,o=[],r=n.segments,s=n.points,l=function(t,e){const i=[],a=t.getSortedVisibleDatasetMetas();for(let t=0;t<a.length;t++){var n=a[t];if(n.index===e)break;Tn(n)&&i.unshift(n.dataset)}return i}(e,a);l.push(Rn({x:null,y:i.bottom},n));for(let t=0;t<r.length;t++){const e=r[t];for(let t=e.start;t<=e.end;t++)!function(e,i,a){const n=[];for(let t=0;t<a.length;t++){var{first:o,last:r,point:s}=function(t,e,i){const a=t.interpolate(e,i);if(!a)return{};var n=a[i],o=t.segments,r=t.points;let s=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],a=r[e.start][i],h=r[e.end][i];if(n>=a&&n<=h){s=n===a,l=n===h;break}}return{first:s,last:l,point:a}}(a[t],i,"x");if(!(!s||o&&r))if(o)n.unshift(s);else if(e.push(s),!r)break}e.push(...n)}(o,s[t],l)}return new fn({points:o,options:{}})}const Tn=t=>"line"===t.type&&!t.hidden;function Rn(e,t){let i=[],a=!1;return i=N(e)?(a=!0,e):function(t){const{x:i=null,y:a=null}=e||{},n=t.points,o=[];return t.segments.forEach(t=>{var e=n[t.start],t=n[t.end];null!==a?(o.push({x:e.x,y:a}),o.push({x:t.x,y:a})):null!==i&&(o.push({x:i,y:e.y}),o.push({x:i,y:t.y}))}),o}(t),i.length?new fn({points:i,options:{tension:0},_loop:a,_fullLoop:a}):null}function Ln(t,e,i){t.beginPath(),e.path(t),t.lineTo(e.last().x,i),t.lineTo(e.first().x,i),t.closePath(),t.clip()}function En(i,a,n,t){if(!t){let t=a[i],e=n[i];return"angle"===i&&(t=Ft(t),e=Ft(e)),{property:i,start:t,end:e}}}function In(t,e,i,a){return t&&e?a(t[i],e[i]):t?t[i]:e?e[i]:0}function zn(t,e,i,a){a=e.interpolate(i,a);a&&t.lineTo(a.x,a.y)}function Fn(t,e){const{line:i,target:a,property:n,color:o,scale:r}=e,s=function(t,e,i){const a=t.segments,n=t.points,o=e.points,r=[];for(const t of a){const a=En(i,n[t.start],n[t.end],t.loop);if(e.segments){var s=ua(e,a);for(const e of s){var l=En(i,o[e.start],o[e.end],e.loop),h=da(t,n,l);for(const t of h)r.push({source:t,target:e,start:{[i]:In(a,l,"start",Math.max)},end:{[i]:In(a,l,"end",Math.min)}})}}else r.push({source:t,target:a,start:n[t.start],end:n[t.end]})}return r}(i,a,n);for(const{source:e,target:c,start:d,end:u}of s){const{style:{backgroundColor:s=o}={}}=e;t.save(),t.fillStyle=s,function(t,e,i){var{top:a,bottom:n}=e.chart.chartArea,{property:o,start:e,end:i}=i||{};"x"===o&&(t.beginPath(),t.rect(e,a,i-e,n-a),t.clip())}(t,r,En(n,d,u)),t.beginPath();var l=!!i.pathSegment(t,e);l?t.closePath():zn(t,a,u,n);var h=!!a.pathSegment(t,c,{move:l,reverse:!0}),h=l&&h;h||zn(t,a,d,n),t.closePath(),t.fill(h?"evenodd":"nonzero"),t.restore()}}function Vn(t,e,i){var a=function(t){var e,i,{chart:a,fill:n,line:o}=t;if($(n))return i=n,(a=(e=a).getDatasetMeta(i))&&e.isDatasetVisible(i)?a.dataset:null;if("stack"===n)return An(t);var c,t=(((c=t).scale||{}).getPointPositionForValue?function(){const{scale:t,fill:e}=c,i=t.options,a=t.getLabels().length,n=[],o=i.reverse?t.max:t.min,r=i.reverse?t.min:t.max;let s,l,h;if(h="start"===e?o:"end"===e?r:j(e)?e.value:t.getBaseValue(),i.grid.circular)return l=t.getPointPositionForValue(0,o),new On({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(h)});for(s=0;s<a;++s)n.push(t.getPointPositionForValue(s,h));return n}:function(){const{scale:t={},fill:e}=c;let i,a=null;return"start"===e?a=t.bottom:"end"===e?a=t.top:j(e)?a=t.getPixelForValue(e.value):t.getBasePixel&&(a=t.getBasePixel()),$(a)?{x:(i=t.isHorizontal())?a:null,y:i?null:a}:null})();return t instanceof On?t:Rn(t,o)}(e),{line:n,scale:o,axis:r}=e,s=n.options,e=s.fill,s=s.backgroundColor,{above:e=s,below:s=s}=e||{};a&&n.points.length&&(qt(t,i),function(t,e){var{line:i,target:a,above:n,below:o,area:r,scale:s}=e,e=i._loop?"angle":e.axis;t.save(),"x"===e&&o!==n&&(Ln(t,a,r.top),Fn(t,{line:i,target:a,color:n,scale:s,property:e}),t.restore(),t.save(),Ln(t,a,r.bottom)),Fn(t,{line:i,target:a,color:o,scale:s,property:e}),t.restore()}(t,{line:n,target:a,above:e,below:s,area:i,scale:o,axis:r}),Kt(t))}var Bn={id:"filler",afterDatasetsUpdate(t,e,i){const a=(t.data.datasets||[]).length,n=[];let o,r,s,l;for(r=0;r<a;++r)o=t.getDatasetMeta(r),s=o.dataset,l=null,s&&s.options&&s instanceof fn&&(l={visible:t.isDatasetVisible(r),index:r,fill:function(a,t,e){var i=function(){var t=a.options,e=t.fill;let i=U(e&&e.target,e);return void 0===i&&(i=!!t.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}();if(j(i))return!isNaN(i.value)&&i;let n=parseFloat(i);return $(n)&&Math.floor(n)===n?("-"!==i[0]&&"+"!==i[0]||(n=t+n),!(n===t||n<0||n>=e)&&n):0<=["origin","start","end","stack"].indexOf(i)&&i}(s,r,a),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=l,n.push(l);for(r=0;r<a;++r)l=n[r],l&&!1!==l.fill&&(l.fill=function(t,e,i){let a=t[e].fill;const n=[e];var o;if(!i)return a;for(;!1!==a&&-1===n.indexOf(a);){if(!$(a))return a;if(!(o=t[a]))return!1;if(o.visible)return a;n.push(a),a=o.fill}return!1}(n,r,i.propagate))},beforeDraw(e,t,i){var a="beforeDraw"===i.drawTime,n=e.getSortedVisibleDatasetMetas(),o=e.chartArea;for(let t=n.length-1;0<=t;--t){const i=n[t].$filler;i&&(i.line.updateControlPoints(o),a&&Vn(e.ctx,i,o))}},beforeDatasetsDraw(e,t,i){if("beforeDatasetsDraw"===i.drawTime){var a=e.getSortedVisibleDatasetMetas();for(let t=a.length-1;0<=t;--t){const i=a[t].$filler;i&&Vn(e.ctx,i,e.chartArea)}}},beforeDatasetDraw(t,e,i){e=e.meta.$filler;e&&!1!==e.fill&&"beforeDatasetDraw"===i.drawTime&&Vn(t.ctx,e,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Wn=(t,e)=>{let{boxHeight:i=e,boxWidth:a=e}=t;return t.usePointStyle&&(i=Math.min(i,e),a=Math.min(a,e)),{boxWidth:a,boxHeight:i,itemHeight:Math.max(e,i)}};class Hn extends Di{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){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)}buildLabels(){const i=this,a=i.options.labels||{};let t=K(a.generateLabels,[i.chart],i)||[];a.filter&&(t=t.filter(t=>a.filter(t,i.chart.data))),a.sort&&(t=t.sort((t,e)=>a.sort(t,e,i.chart.data))),i.options.reverse&&t.reverse(),i.legendItems=t}fit(){const i=this,{options:a,ctx:n}=i;if(a.display){var o=a.labels,r=Le(o.font),s=r.size,l=i._computeTitleHeight(),{boxWidth:h,itemHeight:o}=Wn(o,s);let t,e;n.font=r.string,i.isHorizontal()?(t=i.maxWidth,e=i._fitRows(l,s,h,o)+10):(e=i.maxHeight,t=i._fitCols(l,s,h,o)+10),i.width=Math.min(t,a.maxWidth||i.maxWidth),i.height=Math.min(e,a.maxHeight||i.maxHeight)}else i.width=i.height=0}_fitRows(t,i,a,n){const{ctx:o,maxWidth:r,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],h=this.lineWidths=[0],c=n+s;let d=t;o.textAlign="left",o.textBaseline="middle";let u=-1,g=-c;return this.legendItems.forEach((t,e)=>{t=a+i/2+o.measureText(t.text).width;(0===e||h[h.length-1]+t+2*s>r)&&(d+=c,h[h.length-(0<e?0:1)]=0,g+=c,u++),l[e]={left:0,top:g,row:u,width:t,height:n},h[h.length-1]+=t+s}),d}_fitCols(t,i,a,n){const{ctx:o,maxHeight:e,options:{labels:{padding:r}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],h=e-t;let c=r,d=0,u=0,g=0,f=0,p=0;return this.legendItems.forEach((t,e)=>{t=a+i/2+o.measureText(t.text).width;0<e&&u+i+2*r>h&&(c+=d+r,l.push({width:d,height:u}),g+=d+r,p++,f=0,d=u=0),d=Math.max(d,t),u+=i+r,s[e]={left:g,top:f,col:p,width:t,height:n},f+=n+r}),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){var i=this;if(i.options.display){var a=i._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r}}}=i;if(this.isHorizontal()){let t=0,e=T(o,i.left+r,i.right-i.lineWidths[t]);for(const s of n)t!==s.row&&(t=s.row,e=T(o,i.left+r,i.right-i.lineWidths[t])),s.top+=i.top+a+r,s.left=e,e+=s.width+r}else{let t=0,e=T(o,i.top+a+r,i.bottom-i.columnSizes[t].height);for(const l of n)l.col!==t&&(t=l.col,e=T(o,i.top+a+r,i.bottom-i.columnSizes[t].height)),l.top=e,l.left+=i.left+r,e+=l.height+r}}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){var t;this.options.display&&(qt(t=this.ctx,this),this._draw(),Kt(t))}_draw(){const d=this,{options:t,columnSizes:u,lineWidths:g,ctx:f}=d,{align:p,labels:m}=t,x=ft.color,b=ra(t.rtl,d.left,d.width),v=Le(m.font),{color:_,padding:y}=m,w=v.size,M=w/2;let k;d.drawTitle(),f.textAlign=b.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.font=v.string;const{boxWidth:S,boxHeight:P,itemHeight:D}=Wn(m,w),C=d.isHorizontal(),O=this._computeTitleHeight();k=C?{x:T(p,d.left+y,d.right-g[0]),y:d.top+y+O,line:0}:{x:d.left+y,y:T(p,d.top+O+y,d.bottom-u[0].height),line:0},sa(d.ctx,t.textDirection);const A=D+y;d.legendItems.forEach((t,e)=>{f.strokeStyle=t.fontColor||_,f.fillStyle=t.fontColor||_;var i,a,n,o,r=f.measureText(t.text).width,s=b.textAlign(t.textAlign||(t.textAlign=m.textAlign)),l=S+w/2+r;let h=k.x,c=k.y;b.setWidth(d.width),C?0<e&&h+l+y>d.right&&(c=k.y+=A,k.line++,h=k.x=T(p,d.left+y,d.right-g[k.line])):0<e&&c+A>d.bottom&&(h=k.x=h+u[k.line].width+y,k.line++,c=k.y=T(p,d.top+O+y,d.bottom-u[k.line].height)),i=b.x(h),a=c,n=t,isNaN(S)||S<=0||isNaN(P)||P<0||(f.save(),o=U(n.lineWidth,1),f.fillStyle=U(n.fillStyle,x),f.lineCap=U(n.lineCap,"butt"),f.lineDashOffset=U(n.lineDashOffset,0),f.lineJoin=U(n.lineJoin,"miter"),f.lineWidth=o,f.strokeStyle=U(n.strokeStyle,x),f.setLineDash(U(n.lineDash,[])),m.usePointStyle?(r={radius:S*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},e=b.xPlus(i,S/2),Ut(f,r,e,a+M)):(a=a+Math.max((w-P)/2,0),i=b.leftForLtr(i,S),n=Te(n.borderRadius),f.beginPath(),Object.values(n).some(t=>0!==t)?Jt(f,{x:i,y:a,w:S,h:P,radius:n}):f.rect(i,a,S,P),f.fill(),0!==o&&f.stroke()),f.restore()),h=R(s,h+S+M,d.right),o=b.x(h),s=c,t=t,Qt(f,t.text,o,s+D/2,v,{strikethrough:t.hidden,textAlign:t.textAlign}),C?k.x+=l+y:k.y+=A}),la(d.ctx,t.textDirection)}drawTitle(){const a=this,n=a.options,o=n.title,r=Le(o.font),s=Re(o.padding);if(o.display){const h=ra(n.rtl,a.left,a.width),c=a.ctx,d=o.position,u=r.size/2,g=s.top+u;let t,e=a.left,i=a.width;if(this.isHorizontal())i=Math.max(...a.lineWidths),t=a.top+g,e=T(n.align,e,a.right-i);else{const o=a.columnSizes.reduce((t,e)=>Math.max(t,e.height),0);t=g+T(n.align,a.top,a.bottom-o-n.labels.padding-a._computeTitleHeight())}var l=T(d,e,e+i);c.textAlign=h.textAlign(f(d)),c.textBaseline="middle",c.strokeStyle=o.color,c.fillStyle=o.color,c.font=r.string,Qt(c,o.text,l,t,r)}}_computeTitleHeight(){var t=this.options.title,e=Le(t.font),i=Re(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,a,n;if(t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom)for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(t>=(a=n[i]).left&&t<=a.left+a.width&&e>=a.top&&e<=a.top+a.height)return this.legendItems[i];return null}handleEvent(t){var e,i,a,n=this,o=n.options;("mousemove"===(a=t.type)&&(o.onHover||o.onLeave)||o.onClick&&("click"===a||"mouseup"===a))&&(e=n._getLegendItemAt(t.x,t.y),"mousemove"===t.type?(a=null!==(i=n._hoveredItem)&&null!==e&&i.datasetIndex===e.datasetIndex&&i.index===e.index,i&&!a&&K(o.onLeave,[t,i,n],n),(n._hoveredItem=e)&&!a&&K(o.onHover,[t,e,n],n)):e&&K(o.onClick,[t,e,n],n))}}var Nn={id:"legend",_element:Hn,start(t,e,i){var a=t.legend=new Hn({ctx:t.ctx,options:i,chart:t});Ye.configure(t,a,i),Ye.addBox(t,a)},stop(t){Ye.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const a=t.legend;Ye.configure(t,a,i),a.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const a=e.datasetIndex,n=i.chart;n.isDatasetVisible(a)?(n.hide(a),e.hidden=!0):(n.show(a),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const a=t.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:s}}=t.legend.options;return t._getSortedDatasetMetas().map(t=>{var e=t.controller.getStyle(n?0:void 0),i=Re(e.borderWidth);return{text:a[t.index].label,fillStyle:e.backgroundColor,fontColor:s,hidden:!t.visible,lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:(i.width+i.height)/4,strokeStyle:e.borderColor,pointStyle:o||e.pointStyle,rotation:e.rotation,textAlign:r||e.textAlign,borderRadius:0,datasetIndex:t.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class jn extends Di{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){var i=this,a=i.options;i.left=0,i.top=0,a.display?(i.width=i.right=t,i.height=i.bottom=e,e=N(a.text)?a.text.length:1,i._padding=Re(a.padding),a=e*Le(a.font).lineHeight+i._padding.height,i.isHorizontal()?i.height=a:i.width=a):i.width=i.height=i.right=i.bottom=0}isHorizontal(){var t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){var{top:e,left:i,bottom:a,right:n,options:o}=this,r=o.align;let s,l,h,c=0;return s=this.isHorizontal()?(l=T(r,i,n),h=e+t,n-i):(c="left"===o.position?(l=i+t,h=T(r,a,e),-.5*pt):(l=n-t,h=T(r,e,a),.5*pt),a-e),{titleX:l,titleY:h,maxWidth:s,rotation:c}}draw(){var t,e,i,a,n,o=this.ctx,r=this.options;r.display&&(n=(t=Le(r.font)).lineHeight/2+this._padding.top,{titleX:e,titleY:i,maxWidth:a,rotation:n}=this._drawArgs(n),Qt(o,r.text,0,0,t,{color:r.color,maxWidth:a,rotation:n,textAlign:f(r.align),textBaseline:"middle",translation:[e,i]}))}}var $n={id:"title",_element:jn,start(t,e,i){var a;a=t,t=i,i=new jn({ctx:a.ctx,options:t,chart:a}),Ye.configure(a,i,t),Ye.addBox(a,i),a.titleBlock=i},stop(t){var e=t.titleBlock;Ye.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const a=t.titleBlock;Ye.configure(t,a,i),a.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Yn={average(t){if(!t.length)return!1;let e,i,a=0,n=0,o=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();a+=t.x,n+=t.y,++o}}return{x:a/o,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,a,n,o=e.x,r=e.y,s=Number.POSITIVE_INFINITY;for(i=0,a=t.length;i<a;++i){const a=t[i].element;if(a&&a.hasValue()){const t=It(e,a.getCenterPoint());t<s&&(s=t,n=a)}}if(n){const t=n.tooltipPosition();o=t.x,r=t.y}return{x:o,y:r}}};function Un(t,e){return e&&(N(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Xn(t){return("string"==typeof t||t instanceof String)&&-1<t.indexOf("\n")?t.split("\n"):t}function qn(t,e){const i=t._chart.ctx,{body:a,footer:n,title:o}=t,{boxWidth:r,boxHeight:s}=e,l=Le(e.bodyFont),h=Le(e.titleFont),c=Le(e.footerFont),d=o.length,u=n.length,g=a.length,f=Re(e.padding);let p=f.height,m=0,x=a.reduce((t,e)=>t+e.before.length+e.lines.length+e.after.length,0);x+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),x&&(p+=g*(e.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(x-g)*l.lineHeight+(x-1)*e.bodySpacing),u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let b=0;const v=function(t){m=Math.max(m,i.measureText(t).width+b)};return i.save(),i.font=h.string,G(t.title,v),i.font=l.string,G(t.beforeBody.concat(t.afterBody),v),b=e.displayColors?r+2:0,G(a,t=>{G(t.before,v),G(t.lines,v),G(t.after,v)}),b=0,i.font=c.string,G(t.footer,v),i.restore(),m+=f.width,{width:m,height:p}}function Kn(i,t,a){var e=t.yAlign||function(){var{y:t,height:e}=a;return t<e/2?"top":t>i.height-e/2?"bottom":"center"}();return{xAlign:t.xAlign||function(n,o,r,t){var{x:e,width:i}=r,{width:a,chartArea:{left:s,right:l}}=n;let h="center";return"center"===t?h=e<=(s+l)/2?"left":"right":e<=i/2?h="left":a-i/2<=e&&(h="right"),function(t){var{x:e,width:i}=r,a=o.caretSize+o.caretPadding;return"left"===t&&e+i+a>n.width||"right"===t&&e-i-a<0}(h)&&(h="center"),h}(i,t,a,e),yAlign:e}}function Gn(t,i,e,a){var{caretSize:n,caretPadding:o,cornerRadius:t}=t,{xAlign:r,yAlign:s}=e,l=n+o,t=t+o;let h=function(){let{x:t,width:e}=i;return"right"===r?t-=e:"center"===r&&(t-=e/2),t}();o=function(){let{y:t,height:e}=i;return"top"===s?t+=l:t-="bottom"===s?e+l:e/2,t}();return"center"===s?"left"===r?h+=l:"right"===r&&(h-=l):"left"===r?h-=t:"right"===r&&(h+=t),{x:Bt(h,0,a.width-i.width),y:Bt(o,0,a.height-i.height)}}function Zn(t,e,i){i=Re(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function Qn(t){return Un([],Xn(t))}function Jn(t,e){e=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return e?t.override(e):t}class to extends Di{constructor(t){super(),this.opacity=0,this._active=[],this._chart=t._chart,this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){var t=this._cachedAnimations;if(t)return t;var e=this._chart,t=this.options.setContext(this.getContext()),e=t.enabled&&e.options.animation&&t.animations,t=new pi(this._chart,e);return e._cacheable&&(this._cachedAnimations=Object.freeze(t)),t}getContext(){var t,e;return this.$context||(this.$context=(t=this._chart.getContext(),e=this._tooltipItems,Object.assign(Object.create(t),{tooltip:this,tooltipItems:e,type:"tooltip"})))}getTitle(t,e){const{callbacks:i}=e,a=i.beforeTitle.apply(this,[t]),n=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);t=Un(t=[],Xn(a));return t=Un(t,Xn(n)),t=Un(t,Xn(o))}getBeforeBody(t,e){return Qn(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const a=this,{callbacks:n}=e,o=[];return G(t,t=>{const e={before:[],lines:[],after:[]},i=Jn(n,t);Un(e.before,Xn(i.beforeLabel.call(a,t))),Un(e.lines,i.label.call(a,t)),Un(e.after,Xn(i.afterLabel.call(a,t))),o.push(e)}),o}getAfterBody(t,e){return Qn(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,a=i.beforeFooter.apply(this,[t]),n=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);t=Un(t=[],Xn(a));return t=Un(t,Xn(n)),t=Un(t,Xn(o))}_createItems(a){const i=this,t=i._active,n=i._chart.data,o=[],r=[],s=[];let e,l,h=[];for(e=0,l=t.length;e<l;++e)h.push(function(t,e){const{element:i,datasetIndex:a,index:n}=e,o=t.getDatasetMeta(a).controller,{label:r,value:s}=o.getLabelAndValue(n);return{chart:t,label:r,parsed:o.getParsed(n),raw:t.data.datasets[a].data[n],formattedValue:s,dataset:o.getDataset(),dataIndex:n,datasetIndex:a,element:i}}(i._chart,t[e]));return a.filter&&(h=h.filter((t,e,i)=>a.filter(t,e,i,n))),a.itemSort&&(h=h.sort((t,e)=>a.itemSort(t,e,n))),G(h,t=>{const e=Jn(a.callbacks,t);o.push(e.labelColor.call(i,t)),r.push(e.labelPointStyle.call(i,t)),s.push(e.labelTextColor.call(i,t))}),i.labelColors=o,i.labelPointStyles=r,i.labelTextColors=s,i.dataPoints=h,h}update(t,e){const i=this,a=i.options.setContext(i.getContext()),n=i._active;let o,r=[];if(n.length){const t=Yn[a.position].call(i,n,i._eventPosition);r=i._createItems(a),i.title=i.getTitle(r,a),i.beforeBody=i.getBeforeBody(r,a),i.body=i.getBody(r,a),i.afterBody=i.getAfterBody(r,a),i.footer=i.getFooter(r,a);const e=i._size=qn(i,a),s=Object.assign({},t,e),l=Kn(i._chart,a,s),h=Gn(a,s,l,i._chart);i.xAlign=l.xAlign,i.yAlign=l.yAlign,o={opacity:1,x:h.x,y:h.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==i.opacity&&(o={opacity:0});i._tooltipItems=r,i.$context=void 0,o&&i._resolveAnimations().update(i,o),t&&a.external&&a.external.call(i,{chart:i._chart,tooltip:i,replay:e})}drawCaret(t,e,i,a){a=this.getCaretPosition(t,i,a);e.lineTo(a.x1,a.y1),e.lineTo(a.x2,a.y2),e.lineTo(a.x3,a.y3)}getCaretPosition(t,e,i){var{xAlign:a,yAlign:n}=this,{cornerRadius:o,caretSize:r}=i,{x:s,y:i}=t,{width:t,height:e}=e;let l,h,c,d,u,g;return"center"===n?(u=i+e/2,g="left"===a?(l=s,h=l-r,d=u+r,u-r):(l=s+t,h=l+r,d=u-r,u+r),c=l):(h="left"===a?s+o+r:"right"===a?s+t-o-r:this.caretX,c="top"===n?(d=i,u=d-r,l=h-r,h+r):(d=i+e,u=d+r,l=h+r,h-r),g=d),{x1:l,x2:h,x3:c,y1:d,y2:u,y3:g}}drawTitle(t,e,i){var a=this.title,n=a.length;let o,r,s;if(n){const l=ra(i.rtl,this.x,this.width);for(t.x=Zn(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=Le(i.titleFont),r=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,s=0;s<n;++s)e.fillText(a[s],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+r,s+1===n&&(t.y+=i.titleMarginBottom-r)}}_drawColorBox(t,e,i,a,n){const o=this,r=o.labelColors[i],s=o.labelPointStyles[i],{boxHeight:l,boxWidth:h}=n,c=Le(n.bodyFont),d=Zn(o,"left",n),u=a.x(d),g=l<c.lineHeight?(c.lineHeight-l)/2:0,f=e.y+g;if(n.usePointStyle){const e={radius:Math.min(h,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},i=a.leftForLtr(u,h)+h/2,o=f+l/2;t.strokeStyle=n.multiKeyBackground,t.fillStyle=n.multiKeyBackground,Ut(t,e,i,o),t.strokeStyle=r.borderColor,t.fillStyle=r.backgroundColor,Ut(t,e,i,o)}else{t.lineWidth=r.borderWidth||1,t.strokeStyle=r.borderColor,t.setLineDash(r.borderDash||[]),t.lineDashOffset=r.borderDashOffset||0;const e=a.leftForLtr(u,h),i=a.leftForLtr(a.xPlus(u,1),h-2),o=Te(r.borderRadius);Object.values(o).some(t=>0!==t)?(t.beginPath(),t.fillStyle=n.multiKeyBackground,Jt(t,{x:e,y:f,w:h,h:l,radius:o}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),Jt(t,{x:i,y:f+1,w:h-2,h:l-2,radius:o}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,f,h,l),t.strokeRect(e,f,h,l),t.fillStyle=r.backgroundColor,t.fillRect(i,f+1,h-2,l-2))}t.fillStyle=o.labelTextColors[i]}drawBody(e,i,t){const{body:a}=this,{bodySpacing:n,bodyAlign:o,displayColors:r,boxHeight:s,boxWidth:l}=t,h=Le(t.bodyFont);let c=h.lineHeight,d=0;const u=ra(t.rtl,this.x,this.width),g=function(t){i.fillText(t,u.x(e.x+d),e.y+c/2),e.y+=c+n},f=u.textAlign(o);let p,m,x,b,v,_,y;for(i.textAlign=o,i.textBaseline="middle",i.font=h.string,e.x=Zn(this,f,t),i.fillStyle=t.bodyColor,G(this.beforeBody,g),d=r&&"right"!==f?"center"===o?l/2+1:l+2:0,b=0,_=a.length;b<_;++b){for(p=a[b],m=this.labelTextColors[b],i.fillStyle=m,G(p.before,g),x=p.lines,r&&x.length&&(this._drawColorBox(i,e,b,u,t),c=Math.max(h.lineHeight,s)),v=0,y=x.length;v<y;++v)g(x[v]),c=h.lineHeight;G(p.after,g)}d=0,c=h.lineHeight,G(this.afterBody,g),e.y-=n}drawFooter(t,e,i){var a=this.footer,n=a.length;let o,r;if(n){const s=ra(i.rtl,this.x,this.width);for(t.x=Zn(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=s.textAlign(i.footerAlign),e.textBaseline="middle",o=Le(i.footerFont),e.fillStyle=i.footerColor,e.font=o.string,r=0;r<n;++r)e.fillText(a[r],s.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+i.footerSpacing}}drawBackground(t,e,i,a){var{xAlign:n,yAlign:o}=this,{x:r,y:s}=t,{width:l,height:h}=i,c=a.cornerRadius;e.fillStyle=a.backgroundColor,e.strokeStyle=a.borderColor,e.lineWidth=a.borderWidth,e.beginPath(),e.moveTo(r+c,s),"top"===o&&this.drawCaret(t,e,i,a),e.lineTo(r+l-c,s),e.quadraticCurveTo(r+l,s,r+l,s+c),"center"===o&&"right"===n&&this.drawCaret(t,e,i,a),e.lineTo(r+l,s+h-c),e.quadraticCurveTo(r+l,s+h,r+l-c,s+h),"bottom"===o&&this.drawCaret(t,e,i,a),e.lineTo(r+c,s+h),e.quadraticCurveTo(r,s+h,r,s+h-c),"center"===o&&"left"===n&&this.drawCaret(t,e,i,a),e.lineTo(r,s+c),e.quadraticCurveTo(r,s,r+c,s),e.closePath(),e.fill(),0<a.borderWidth&&e.stroke()}_updateAnimationTarget(t){const e=this,i=e._chart,a=e.$animations,n=a&&a.x,o=a&&a.y;if(n||o){const a=Yn[t.position].call(e,e._active,e._eventPosition);var r,s;a&&(r=e._size=qn(e,t),s=Gn(t,s=Object.assign({},a,e._size),t=Kn(i,t,s),i),n._to===s.x&&o._to===s.y||(e.xAlign=t.xAlign,e.yAlign=t.yAlign,e.width=r.width,e.height=r.height,e.caretX=a.x,e.caretY=a.y,e._resolveAnimations().update(e,s)))}}draw(t){var e=this,i=e.options.setContext(e.getContext());let a=e.opacity;if(a){e._updateAnimationTarget(i);const r={width:e.width,height:e.height},s={x:e.x,y:e.y};a=Math.abs(a)<.001?0:a;var n=Re(i.padding),o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;i.enabled&&o&&(t.save(),t.globalAlpha=a,e.drawBackground(s,t,r,i),sa(t,i.textDirection),s.y+=n.top,e.drawTitle(s,t,i),e.drawBody(s,t,i),e.drawFooter(s,t,i),la(t,i.textDirection),t.restore())}}getActiveElements(){return this._active||[]}setActiveElements(t,e){const a=this,i=a._active,n=t.map(({datasetIndex:t,index:e})=>{var i=a._chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}),o=!Z(i,n),r=a._positionChanged(n,e);(o||r)&&(a._active=n,a._eventPosition=e,a.update(!0))}handleEvent(t,e){var i=this.options,a=this._active||[];let n,o=[];"mouseout"!==t.type&&(o=this._chart.getElementsAtEventForMode(t,i.mode,i,e),i.reverse&&o.reverse());var r=this._positionChanged(o,t);return(n=e||!Z(o,a)||r)&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),n}_positionChanged(t,e){var{caretX:i,caretY:a,options:n}=this,e=Yn[n.position].call(this,t,e);return!1!==e&&(i!==e.x||a!==e.y)}}to.positioners=Yn;be={id:"tooltip",_element:to,positioners:Yn,afterInit(t,e,i){i&&(t.tooltip=new to({_chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip,i={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",i)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i))},afterEvent(t,e){var i;t.tooltip&&(i=e.replay,t.tooltip.handleEvent(e.event,i)&&(e.changed=!0))},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:t,title(t){if(0<t.length){var e=t[0],i=e.chart.data.labels,t=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(0<t&&e.dataIndex<t)return i[e.dataIndex]}return""},afterTitle:t,beforeBody:t,beforeLabel:t,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");t=t.formattedValue;return H(t)||(e+=t),e},labelColor(t){t=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){t=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:t,afterBody:t,beforeFooter:t,footer:t,afterFooter:t}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},$n=Object.freeze({__proto__:null,Decimation:Cn,Filler:Bn,Legend:Nn,Title:$n,Tooltip:be});class eo extends Vi{constructor(t){super(t),this._startValue=void 0,this._valueRange=0}parse(t,e){if(H(t))return null;var i,a,n,o,r,s=this.getLabels();return e=e=isFinite(e)&&s[e]===t?e:(n=U(e,a=t),-1===(r=(i=s).indexOf(a))?(o=n,"string"==typeof(t=a)?i.push(t)-1:isNaN(t)?null:o):r!==i.lastIndexOf(a)?n:r),s=s.length-1,null===e?null:Bt(Math.round(e),0,s)}determineDataLimits(){var{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:a}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(a=this.getLabels().length-1)),this.min=i,this.max=a}buildTicks(){const e=this.min,i=this.max,t=this.options.offset,a=[];let n=this.getLabels();n=0===e&&i===n.length-1?n:n.slice(e,i+1),this._valueRange=Math.max(n.length-(t?0:1),1),this._startValue=this.min-(t?.5:0);for(let t=e;t<=i;t++)a.push({value:t});return a}getLabelForValue(t){var e=this.getLabels();return 0<=t&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return null===(t="number"!=typeof t?this.parse(t):t)?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}eo.id="category",eo.defaults={ticks:{callback:eo.prototype.getLabelForValue}};class io extends Vi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return H(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const t=this,{beginAtZero:e,stacked:i}=t.options,{minDefined:a,maxDefined:n}=t.getUserBounds();let{min:o,max:r}=t;var s=t=>o=a?o:t,l=t=>r=n?r:t;if(e||i){const t=kt(o),e=kt(r);t<0&&e<0?l(0):0<t&&0<e&&s(0)}o===r&&(l(r+1),e||s(o-1)),t.min=o,t.max=r}getTickLimit(){let t,{maxTicksLimit:e,stepSize:i}=this.options.ticks;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this.computeTickLimit(),e=e||11),e&&(t=Math.min(e,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){var M=this,k=M.options,S=k.ticks,P=M.getTickLimit(),P=Math.max(2,P);const t=function(){const t=[],{step:e,min:i,max:a,precision:n,count:o,maxTicks:r,maxDigits:s,horizontal:l}={maxTicks:P,min:k.min,max:k.max,precision:S.precision,step:S.stepSize,count:S.count,maxDigits:M._maxDigits(),horizontal:M.isHorizontal()},h=e||1,c=r-1,{min:d,max:u}=M._range||M,g=!H(i),f=!H(a),p=!H(o),m=(u-d)/s;let x,b,v,_,y=St((u-d)/c/h)*h;if(y<1e-14&&!g&&!f)return[{value:d},{value:u}];_=Math.ceil(u/y)-Math.floor(d/y),_>c&&(y=St(_*y/c/h)*h),H(n)||(x=Math.pow(10,n),y=Math.ceil(y*x)/x),b=Math.floor(d/y)*y,v=Math.ceil(u/y)*y,g&&f&&e&&Ot((a-i)/e,y/1e3)?(_=Math.min((a-i)/y,r),y=(a-i)/_,b=i,v=a):p?(b=g?i:b,v=f?a:v,_=o-1,y=(v-b)/_):(_=(v-b)/y,_=Ct(_,Math.round(_),y/1e3)?Math.round(_):Math.ceil(_)),x=Math.pow(10,H(n)?Lt(y):n),b=Math.round(b*x)/x,v=Math.round(v*x)/x;let w=0;for(g&&(t.push({value:i}),b<=i&&w++,Ct(Math.round((b+w*y)*x)/x,i,m*(l?(""+i).length:1))&&w++);w<_;++w)t.push({value:Math.round((b+w*y)*x)/x});return f?Ct(t[t.length-1].value,a,m*(l?(""+a).length:1))?t[t.length-1].value=a:t.push({value:a}):t.push({value:v}),t}();return"ticks"===k.bounds&&At(t,M,"value"),k.reverse?(t.reverse(),M.start=M.max,M.end=M.min):(M.start=M.min,M.end=M.max),t}configure(){const t=this,e=t.ticks;let i=t.min,a=t.max;if(super.configure(),t.options.offset&&e.length){const t=(a-i)/Math.max(e.length-1,1)/2;i-=t,a+=t}t._startValue=i,t._endValue=a,t._valueRange=a-i}getLabelForValue(t){return Oi(t,this.chart.options.locale)}}class ao extends io{determineDataLimits(){var{min:t,max:e}=this.getMinMax(!0);this.min=$(t)?t:0,this.max=$(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){if(this.isHorizontal())return Math.ceil(this.width/40);var t=this._resolveTickFontOptions(0);return Math.ceil(this.height/t.lineHeight)}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function no(t){return 1==t/Math.pow(10,Math.floor(Mt(t)))}ao.id="linear",ao.defaults={ticks:{callback:Ti.formatters.numeric}};class oo extends Vi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){e=io.prototype.parse.apply(this,[t,e]);if(0!==e)return $(e)&&0<e?e:null;this._zero=!0}determineDataLimits(){var{min:t,max:e}=this.getMinMax(!0);this.min=$(t)?Math.max(0,t):null,this.max=$(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:i}=this.getUserBounds();let a=this.min,n=this.max;var t=t=>a=e?a:t,o=t=>n=i?n:t,r=(t,e)=>Math.pow(10,Math.floor(Mt(t))+e);a===n&&(a<=0?(t(1),o(10)):(t(r(a,-1)),o(r(n,1)))),a<=0&&t(r(n,-1)),n<=0&&o(r(a,1)),this._zero&&this.min!==this._suggestedMin&&a===r(this.min,0)&&t(r(a,-1)),this.min=a,this.max=n}buildTicks(){const t=this,e=t.options,i=function(t,e){const i=Math.floor(Mt(e.max)),a=Math.ceil(e.max/Math.pow(10,i)),n=[];let o=Y(t.min,Math.pow(10,Math.floor(Mt(e.min)))),r=Math.floor(Mt(o)),s=Math.floor(o/Math.pow(10,r)),l=r<0?Math.pow(10,Math.abs(r)):1;for(;n.push({value:o,major:no(o)}),++s,10===s&&(s=1,++r,l=0<=r?1:l),o=Math.round(s*Math.pow(10,r)*l)/l,r<i||r===i&&s<a;);t=Y(t.max,o);return n.push({value:t,major:no(o)}),n}({min:t._userMin,max:t._userMax},t);return"ticks"===e.bounds&&At(i,t,"value"),e.reverse?(i.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i}getLabelForValue(t){return void 0===t?"0":Oi(t,this.chart.options.locale)}configure(){var t=this.min;super.configure(),this._startValue=Mt(t),this._valueRange=Mt(this.max)-Mt(t)}getPixelForValue(t){return null===(t=void 0===t||0===t?this.min:t)||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Mt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){t=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+t*this._valueRange)}}function ro(t){var e=t.ticks;if(e.display&&t.display){const t=Re(e.backdropPadding);return U(e.font&&e.font.size,ft.font.size)+t.height}return 0}function so(t,e,i,a,n){return t===a||t===n?{start:e-i/2,end:e+i/2}:t<a||n<t?{start:e-i,end:e}:{start:e,end:e+i}}function lo(e,i,t,a){const{ctx:n}=e;if(t)n.arc(e.xCenter,e.yCenter,i,0,mt);else{var o=e.getPointPosition(0,i);n.moveTo(o.x,o.y);for(let t=1;t<a;t++)o=e.getPointPosition(t,i),n.lineTo(o.x,o.y)}}function ho(t){return Dt(t)?t:0}oo.id="logarithmic",oo.defaults={ticks:{callback:Ti.formatters.logarithmic,major:{enabled:!0}}};class co extends io{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=ro(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2}determineDataLimits(){var{min:t,max:e}=this.getMinMax(!1);this.min=$(t)&&!isNaN(t)?t:0,this.max=$(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/ro(this.options))}generateTickLabels(t){const i=this;io.prototype.generateTickLabels.call(i,t),i._pointLabels=i.getLabels().map((t,e)=>{e=K(i.options.pointLabels.callback,[t,e],i);return e||0===e?e:""})}fit(){var t=this.options;t.display&&t.pointLabels.display?function(t){const e={l:0,r:t.width,t:0,b:t.height-t.paddingTop},i={};let a,n,o;const r=[],s=[],l=t.getLabels().length;for(a=0;a<l;a++){const l=t.options.pointLabels.setContext(t.getContext(a));s[a]=l.padding,o=t.getPointPosition(a,t.drawingArea+s[a]);const f=Le(l.font);t.ctx.font=f.string,h=t.ctx,c=f.lineHeight,n=N(d=t._pointLabels[a])?{w:jt(h,h.font,d),h:d.length*c}:{w:h.measureText(d).width,h:c},r[a]=n;const p=t.getIndexAngle(a),m=Rt(p),b=so(m,o.x,n.w,0,180),v=so(m,o.y,n.h,90,270);b.start<e.l&&(e.l=b.start,i.l=p),b.end>e.r&&(e.r=b.end,i.r=p),v.start<e.t&&(e.t=v.start,i.t=p),v.end>e.b&&(e.b=v.end,i.b=p)}var h,c,d,u,g;t._setReductions(t.drawingArea,e,i),t._pointLabelItems=[];const f=t.options,p=ro(f),m=t.getDistanceFromCenterForValue(f.ticks.reverse?t.min:t.max);for(a=0;a<l;a++){const e=0===a?p/2:0,i=t.getPointPosition(a,m+e+s[a]),n=Rt(t.getIndexAngle(a)),o=r[a];u=n,x=o,g=i,90===u||270===u?g.y-=x.h/2:(270<u||u<90)&&(g.y-=x.h);const l=0===(x=n)||180===x?"center":x<180?"left":"right";var x="left"==l?i.x:"center"==l?i.x-o.w/2:i.x-o.w;const c=x+o.w;t._pointLabelItems[a]={x:i.x,y:i.y,textAlign:l,left:x,top:i.y,right:c,bottom:i.y+o.h}}}(this):this.setCenterPoint(0,0,0,0)}_setReductions(t,e,i){var a=e.l/Math.sin(i.l),n=Math.max(e.r-this.width,0)/Math.sin(i.r),o=-e.t/Math.cos(i.t),i=-Math.max(e.b-(this.height-this.paddingTop),0)/Math.cos(i.b),a=ho(a),n=ho(n),o=ho(o),i=ho(i);this.drawingArea=Math.max(t/2,Math.min(Math.floor(t-(a+n)/2),Math.floor(t-(o+i)/2))),this.setCenterPoint(a,n,o,i)}setCenterPoint(t,e,i,a){var n=this,e=n.width-e-n.drawingArea,t=t+n.drawingArea,i=i+n.drawingArea,a=n.height-n.paddingTop-a-n.drawingArea;n.xCenter=Math.floor((t+e)/2+n.left),n.yCenter=Math.floor((i+a)/2+n.top+n.paddingTop)}getIndexAngle(t){return Ft(t*(mt/this.getLabels().length)+Tt(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(H(t))return NaN;var e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(H(t))return NaN;t/=this.drawingArea/(this.max-this.min);return this.options.reverse?this.max-t:this.min+t}getPointPosition(t,e){t=this.getIndexAngle(t)-_t;return{x:Math.cos(t)*e+this.xCenter,y:Math.sin(t)*e+this.yCenter,angle:t}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){var{left:e,top:i,right:a,bottom:t}=this._pointLabelItems[t];return{left:e,top:i,right:a,bottom:t}}drawBackground(){var{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),lo(this,this.getDistanceFromCenterForValue(this._endValue),e,this.getLabels().length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const i=this,t=i.ctx,e=i.options,{angleLines:a,grid:n}=e,o=i.getLabels().length;let r,s,l;if(e.pointLabels.display&&function(e,i){const{ctx:a,options:{pointLabels:n}}=e;for(let t=i-1;0<=t;t--){const i=n.setContext(e.getContext(t)),o=Le(i.font),{x:r,y:s,textAlign:l,left:h,top:c,right:d,bottom:u}=e._pointLabelItems[t],{backdropColor:g}=i;if(!H(g)){const e=Re(i.backdropPadding);a.fillStyle=g,a.fillRect(h-e.left,c-e.top,d-h+e.width,u-c+e.height)}Qt(a,e._pointLabels[t],r,s+o.lineHeight/2,o,{color:i.color,textAlign:l,textBaseline:"middle"})}}(i,o),n.display&&i.ticks.forEach((t,e)=>{0!==e&&(s=i.getDistanceFromCenterForValue(t.value),e=n.setContext(i.getContext(e-1)),function(t,e,i,a){const n=t.ctx,o=e.circular,{color:r,lineWidth:s}=e;!o&&!a||!r||!s||i<0||(n.save(),n.strokeStyle=r,n.lineWidth=s,n.setLineDash(e.borderDash),n.lineDashOffset=e.borderDashOffset,n.beginPath(),lo(t,i,o,a),n.closePath(),n.stroke(),n.restore())}(i,e,s,o))}),a.display){for(t.save(),r=i.getLabels().length-1;0<=r;r--){const n=a.setContext(i.getContext(r)),{color:o,lineWidth:h}=n;h&&o&&(t.lineWidth=h,t.strokeStyle=o,t.setLineDash(n.borderDash),t.lineDashOffset=n.borderDashOffset,s=i.getDistanceFromCenterForValue(e.ticks.reverse?i.min:i.max),l=i.getPointPosition(r,s),t.beginPath(),t.moveTo(i.xCenter,i.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const r=this,s=r.ctx,l=r.options,h=l.ticks;if(h.display){var t=r.getIndexAngle(0);let n,o;s.save(),s.translate(r.xCenter,r.yCenter),s.rotate(t),s.textAlign="center",s.textBaseline="middle",r.ticks.forEach((t,e)=>{if(0!==e||l.reverse){var i=h.setContext(r.getContext(e)),a=Le(i.font);if(n=r.getDistanceFromCenterForValue(r.ticks[e].value),i.showLabelBackdrop){o=s.measureText(t.label).width,s.fillStyle=i.backdropColor;const r=Re(i.backdropPadding);s.fillRect(-o/2-r.left,-n-a.size/2-r.top,o+r.width,a.size+r.height)}Qt(s,t.label,0,-n,a,{color:i.color})}}),s.restore()}}drawTitle(){}}co.id="radialLinear",co.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ti.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5}},co.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};const uo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!(co.descriptors={angleLines:{_fallback:"grid"}}),size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},go=Object.keys(uo);function fo(t,e){return t-e}function po(t,e){if(H(e))return null;const i=t._adapter,{parser:a,round:n,isoWeekday:o}=t._parseOpts;let r=e;return"function"==typeof a&&(r=a(r)),$(r)||(r="string"==typeof a?i.parse(r,a):i.parse(r)),null===r?null:(n&&(r="week"!==n||!Dt(o)&&!0!==o?i.startOf(r,n):i.startOf(r,"isoWeek",o)),+r)}function mo(e,i,a,n){const o=go.length;for(let t=go.indexOf(e);t<o-1;++t){const e=uo[go[t]],o=e.steps||Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((a-i)/(o*e.size))<=n)return go[t]}return go[o-1]}function xo(t,e,i){var a,n;i?i.length&&({lo:a,hi:n}=te(i,e),t[i[a]>=e?i[a]:i[n]]=!0):t[e]=!0}function bo(t,e,i){const a=[],n={},o=e.length;let r,s;for(r=0;r<o;++r)s=e[r],n[s]=r,a.push({value:s,major:!1});return 0!==o&&i?function(t,e,i,a){const n=t._adapter,o=+n.startOf(e[0].value,a),r=e[e.length-1].value;let s,l;for(s=o;s<=r;s=+n.add(s,1,a))0<=(l=i[s])&&(e[l].major=!0);return e}(t,a,n,i):a}class vo extends Vi{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),a=this._adapter=new Na._date(t.adapters.date);it(i.displayFormats,a.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:po(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:a,max:n,minDefined:o,maxDefined:r}=this.getUserBounds();function s(t){o||isNaN(t.min)||(a=Math.min(a,t.min)),r||isNaN(t.max)||(n=Math.max(n,t.max))}o&&r||(s(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||s(this.getMinMax(!1))),a=$(a)&&!isNaN(a)?a:+e.startOf(Date.now(),i),n=$(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(a,n-1),this.max=Math.max(a+1,n)}_getLabelBounds(){var t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){var t=this,e=t.options,i=e.time,a=e.ticks,n="labels"===a.source?t.getLabelTimestamps():t._generate();"ticks"===e.bounds&&n.length&&(t.min=t._userMin||n[0],t.max=t._userMax||n[n.length-1]);const o=t.min,r=ae(n,o,t.max);return t._unit=i.unit||(a.autoSkip?mo(i.minUnit,t.min,t.max,t._getLabelCapacity(o)):function(e,i,a,n,o){for(let t=go.length-1;t>=go.indexOf(a);t--){const a=go[t];if(uo[a].common&&e._adapter.diff(o,n,a)>=i-1)return a}return go[a?go.indexOf(a):0]}(t,r.length,i.minUnit,t.min,t.max)),t._majorUnit=a.major.enabled&&"year"!==t._unit?function(i){for(let t=go.indexOf(i)+1,e=go.length;t<e;++t)if(uo[go[t]].common)return go[t]}(t._unit):void 0,t.initOffsets(n),e.reverse&&r.reverse(),bo(t,r,t._majorUnit)}initOffsets(t){let e,i,a=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),a=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);t=t.length<3?.5:.25;a=Bt(a,0,t),n=Bt(n,0,t),this._offsets={start:a,end:n,factor:1/(a+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,a=this.options,n=a.time,o=n.unit||mo(n.minUnit,e,i,this._getLabelCapacity(e)),r=U(n.stepSize,1),s="week"===o&&n.isoWeekday,l=Dt(s)||!0===s,h={};let c,d,u=e;if(l&&(u=+t.startOf(u,"isoWeek",s)),u=+t.startOf(u,l?"day":o),t.diff(i,e,o)>1e5*r)throw new Error(e+" and "+i+" are too far apart with stepSize of "+r+" "+o);var g="data"===a.ticks.source&&this.getDataTimestamps();for(c=u,d=0;c<i;c=+t.add(c,r,o),d++)xo(h,c,g);return c!==i&&"ticks"!==a.bounds&&1!==d||xo(h,c,g),Object.keys(h).sort((t,e)=>t-e).map(t=>+t)}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,a){var n=this.options,o=n.time.displayFormats,r=this._unit,s=this._majorUnit,l=r&&o[r],r=s&&o[s],o=i[e],o=s&&r&&o&&o.major,l=this._adapter.format(t,a||(o?r:l)),n=n.ticks.callback;return n?K(n,[l,e,i],this):l}generateTickLabels(t){let e,i,a;for(e=0,i=t.length;e<i;++e)a=t[e],a.label=this._tickFormatFunction(a.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){var e=this._offsets,t=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+t)*e.factor)}getValueForPixel(t){var e=this._offsets,e=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+e*(this.max-this.min)}_getLabelSize(t){var e=this.options.ticks,i=this.ctx.measureText(t).width,a=Tt(this.isHorizontal()?e.maxRotation:e.minRotation),t=Math.cos(a),e=Math.sin(a),a=this._resolveTickFontOptions(0).size;return{w:i*t+a*e,h:i*e+a*t}}_getLabelCapacity(t){var e=this.options.time,i=e.displayFormats,i=i[e.unit]||i.millisecond,i=this._tickFormatFunction(t,0,bo(this,[t],this._majorUnit),i),i=this._getLabelSize(i),i=Math.floor(this.isHorizontal()?this.width/i.w:this.height/i.h)-1;return 0<i?i:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(t=0,e=a.length;t<e;++t)i=i.concat(a[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;var a=this.getLabels();for(e=0,i=a.length;e<i;++e)t.push(po(this,a[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return se(t.sort(fo))}}function _o(t,e,i){let a,n,o,r;if(i)a=Math.floor(e),n=Math.ceil(e),o=t[a],r=t[n];else{const i=te(t,e);o=i.lo,r=i.hi,a=t[o],n=t[r]}t=n-a;return t?o+(r-o)*(e-a)/t:o}vo.id="time",vo.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class yo extends vo{constructor(t){super(t),this._table=[],this._maxIndex=void 0}initOffsets(){var t=this._getTimestampsForTable();this._table=this.buildLookupTable(t),this._maxIndex=this._table.length-1,super.initOffsets(t)}buildLookupTable(t){var{min:e,max:i}=this;if(!t.length)return[{time:e,pos:0},{time:i,pos:1}];const a=[e];let n,o,r;for(n=0,o=t.length;n<o;++n)e<(r=t[n])&&r<i&&a.push(r);return a.push(i),a}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getPixelForValue(t,e){var i=this._offsets,t=this._normalized&&0<this._maxIndex&&!H(e)?e/this._maxIndex:this.getDecimalForValue(t);return this.getPixelForDecimal((i.start+t)*i.factor)}getDecimalForValue(t){return _o(this._table,t)/this._maxIndex}getValueForPixel(t){var e=this._offsets,e=this.getDecimalForPixel(t)/e.factor-e.end;return _o(this._table,e*this._maxIndex,!0)}}yo.id="timeseries",yo.defaults=vo.defaults;be=Object.freeze({__proto__:null,CategoryScale:eo,LinearScale:ao,LogarithmicScale:oo,RadialLinearScale:co,TimeScale:vo,TimeSeriesScale:yo});return Va.register(tn,be,Sn,$n),Va.helpers={...pa},Va._adapters=Na,Va.Animation=gi,Va.Animations=pi,Va.animator=h,Va.controllers=xa.controllers.items,Va.DatasetController=Pi,Va.Element=Di,Va.elements=Sn,Va.Interaction=Se,Va.layouts=Ye,Va.platforms=ri,Va.Scale=Vi,Va.Ticks=Ti,Object.assign(Va,tn,be,Sn,$n,ri),Va.Chart=Va,"undefined"!=typeof window&&(window.Chart=Va),Va});
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,function(){"use strict";const r="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function l(e,i,t){const a=t||(t=>Array.prototype.slice.call(t));let n=!1,o;return function(...t){o=a(t),n||(n=!0,r.call(window,()=>{n=!1,e.apply(i,o)}))}}function s(t,e){let i;return function(){return e?(clearTimeout(i),i=setTimeout(t,e)):t(),e}}const f=t=>"start"===t?"left":"end"===t?"right":"center",T=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2,R=(t,e,i)=>"right"===t?i:"center"===t?(e+i)/2:e;var h=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,i,a,t){const n=i.listeners[t],o=i.duration;n.forEach(t=>t({chart:e,initial:i.initial,numSteps:o,currentStep:Math.min(a-i.start,o)}))}_refresh(){const t=this;t._request||(t._running=!0,t._request=r.call(window,()=>{t._update(),t._request=null,t._running&&t._refresh()}))}_update(r=Date.now()){const s=this;let l=0;s._charts.forEach((a,n)=>{if(a.running&&a.items.length){const o=a.items;let t,e=o.length-1,i=!1;for(;0<=e;--e)t=o[e],t._active?(t._total>a.duration&&(a.duration=t._total),t.tick(r),i=!0):(o[e]=o[o.length-1],o.pop());i&&(n.draw(),s._notify(n,a,r,"progress")),o.length||(a.running=!1,s._notify(n,a,r,"complete"),a.initial=!1),l+=o.length}}),s._lastDate=r,0===l&&(s._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return 0<this._getAnims(t).items.length}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((t,e)=>Math.max(t,e._duration),0),this._refresh())}running(t){if(!this._running)return!1;t=this._charts.get(t);return!!(t&&t.running&&t.items.length)}stop(e){const i=this._charts.get(e);if(i&&i.items.length){const a=i.items;let t=a.length-1;for(;0<=t;--t)a[t].cancel();i.items=[],this._notify(e,i,Date.now(),"complete")}}remove(t){return this._charts.delete(t)}};const o={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},e="0123456789ABCDEF",i=t=>e[15&t],a=t=>e[(240&t)>>4]+e[15&t],n=t=>(240&t)>>4==(15&t);function c(t){return t+.5|0}const d=(t,e,i)=>Math.max(Math.min(t,i),e);function u(t){return d(c(2.55*t),0,255)}function g(t){return d(c(255*t),0,255)}function p(t){return d(c(t/2.55)/100,0,1)}function m(t){return d(c(100*t),0,100)}const x=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,b=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function v(i,t,a){const n=t*Math.min(a,1-a),e=(t,e=(t+i/30)%12)=>a-n*Math.max(Math.min(e-3,9-e,1),-1);return[e(0),e(8),e(4)]}function _(i,a,n){i=(t,e=(t+i/60)%6)=>n-n*a*Math.max(Math.min(e,4-e,1),0);return[i(5),i(3),i(1)]}function y(t,e,i){const a=v(t,1,.5);let n;for(1<e+i&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)a[n]*=1-e-i,a[n]+=e;return a}function w(t){var e=t.r/255,i=t.g/255,a=t.b/255,n=Math.max(e,i,a),o=Math.min(e,i,a),t=(n+o)/2;let r,s,l;return n!==o&&(l=n-o,s=.5<t?l/(2-n-o):l/(n+o),r=n===e?(i-a)/l+(i<a?6:0):n===i?(a-e)/l+2:(e-i)/l+4,r=60*r+.5),[0|r,s||0,t]}function M(t,e,i,a){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,a)).map(g)}function k(t,e,i){return M(v,t,e,i)}function S(t){return(t%360+360)%360}const P={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},D={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let C;function O(e,i,a){if(e){let t=w(e);t[i]=Math.max(0,Math.min(t[i]+t[i]*a,0===i?360:1)),t=k(t),e.r=t[0],e.g=t[1],e.b=t[2]}}function A(t,e){return t&&Object.assign(e||{},t)}function L(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?3<=t.length&&(e={r:t[0],g:t[1],b:t[2],a:255},3<t.length&&(e.a=g(t[3]))):(e=A(t,{r:0,g:0,b:0,a:1})).a=g(e.a),e}function E(t){return("r"===t.charAt(0)?function(t){t=x.exec(t);let e,i,a,n=255;if(t){if(t[7]!==e){const o=+t[7];n=255&(t[8]?u(o):255*o)}return e=+t[1],i=+t[3],a=+t[5],e=255&(t[2]?u(e):e),i=255&(t[4]?u(i):i),a=255&(t[6]?u(a):a),{r:e,g:i,b:a,a:n}}}:function(t){var e=b.exec(t);let i,a=255;if(e){void 0!==e[5]&&(a=(e[6]?u:g)(+e[5]));var n=S(+e[2]),o=+e[3]/100,t=+e[4]/100;return{r:(i="hwb"===e[1]?M(y,n,o,t):"hsv"===e[1]?M(_,n,o,t):k(n,o,t))[0],g:i[1],b:i[2],a:a}}})(t)}class I{constructor(t){if(t instanceof I)return t;var e,i,a=typeof t;let n;"object"==a?n=L(t):"string"==a&&(a=(e=t).length,"#"===e[0]&&(4===a||5===a?i={r:255&17*o[e[1]],g:255&17*o[e[2]],b:255&17*o[e[3]],a:5===a?17*o[e[4]]:255}:7!==a&&9!==a||(i={r:o[e[1]]<<4|o[e[2]],g:o[e[3]]<<4|o[e[4]],b:o[e[5]]<<4|o[e[6]],a:9===a?o[e[7]]<<4|o[e[8]]:255})),n=i||(i=t,C||(C=function(){const t={},e=Object.keys(D),i=Object.keys(P);let a,n,o,r,s;for(a=0;a<e.length;a++){for(r=s=e[a],n=0;n<i.length;n++)o=i[n],s=s.replace(o,P[o]);o=parseInt(D[r],16),t[s]=[o>>16&255,o>>8&255,255&o]}return t}(),C.transparent=[0,0,0,0]),(i=C[i.toLowerCase()])&&{r:i[0],g:i[1],b:i[2],a:4===i.length?i[3]:255})||E(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=A(this._rgb);return t&&(t.a=p(t.a)),t}set rgb(t){this._rgb=L(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${p(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):this._rgb;var t}hexString(){return this._valid?(t=this._rgb,e=t,e=n(e.r)&&n(e.g)&&n(e.b)&&n(e.a)?i:a,t&&"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):"")):this._rgb;var t,e}hslString(){return this._valid?function(t){if(t){var e=w(t),i=e[0],a=m(e[1]),e=m(e[2]);return t.a<255?`hsla(${i}, ${a}%, ${e}%, ${p(t.a)})`:`hsl(${i}, ${a}%, ${e}%)`}}(this._rgb):this._rgb}mix(t,e){if(t){const a=this.rgb,n=t.rgb;var i=void 0===e?.5:e,t=2*i-1,e=a.a-n.a,t=(1+(t*e==-1?t:(t+e)/(1+t*e)))/2,e=1-t;a.r=255&t*a.r+e*n.r+.5,a.g=255&t*a.g+e*n.g+.5,a.b=255&t*a.b+e*n.b+.5,a.a=i*a.a+(1-i)*n.a,this.rgb=a}return this}clone(){return new I(this.rgb)}alpha(t){return this._rgb.a=g(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=c(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return O(this._rgb,2,t),this}darken(t){return O(this._rgb,2,-t),this}saturate(t){return O(this._rgb,1,t),this}desaturate(t){return O(this._rgb,1,-t),this}rotate(t){return e=this._rgb,i=t,(t=w(e))[0]=S(t[0]+i),t=k(t),e.r=t[0],e.g=t[1],e.b=t[2],this;var e,i}}function z(t){return new I(t)}const F=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function V(t){return F(t)?t:z(t)}function B(t){return F(t)?t:z(t).saturate(.5).darken(.1).hexString()}function t(){}const W=function(){let t=0;return function(){return t++}}();function H(t){return null==t}function N(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function j(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const Y=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function $(t,e){return Y(t)?t:e}function U(t,e){return void 0===t?e:t}const X=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,q=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function K(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function G(t,e,i,a){let n,o,r;if(N(t))if(o=t.length,a)for(n=o-1;0<=n;n--)e.call(i,t[n],n);else for(n=0;n<o;n++)e.call(i,t[n],n);else if(j(t))for(r=Object.keys(t),o=r.length,n=0;n<o;n++)e.call(i,t[r[n]],r[n])}function Z(t,e){let i,a,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,a=t.length;i<a;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function Q(e){if(N(e))return e.map(Q);if(j(e)){const i=Object.create(null),a=Object.keys(e),n=a.length;let t=0;for(;t<n;++t)i[a[t]]=Q(e[a[t]]);return i}return e}function J(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function tt(t,e,i,a){var n;J(t)&&(n=e[t],i=i[t],j(n)&&j(i)?et(n,i,a):e[t]=Q(i))}function et(i,a,n){const e=N(a)?a:[a],o=e.length;if(!j(i))return i;const r=(n=n||{}).merger||tt;for(let t=0;t<o;++t)if(j(a=e[t])){const o=Object.keys(a);for(let t=0,e=o.length;t<e;++t)r(o[t],i,a,n)}return i}function it(t,e){return et(t,e,{merger:at})}function at(t,e,i){var a;J(t)&&(a=e[t],i=i[t],j(a)&&j(i)?it(a,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Q(i)))}function nt(t,e){e=t.indexOf(".",e);return-1===e?t.length:e}function ot(t,e){if(""===e)return t;let i=0,a=nt(e,i);for(;t&&a>i;)t=t[e.substr(i,a-i)],i=a+1,a=nt(e,i);return t}function rt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const st=t=>void 0!==t,lt=t=>"function"==typeof t,ht=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0},ct=Object.create(null),dt=Object.create(null);function ut(i,t){if(!t)return i;var a=t.split(".");for(let t=0,e=a.length;t<e;++t){var n=a[t];i=i[n]||(i[n]=Object.create(null))}return i}function gt(t,e,i){return"string"==typeof e?et(ut(t,e),i):et(ut(t,""),e)}var ft=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>B(e.backgroundColor),this.hoverBorderColor=(t,e)=>B(e.borderColor),this.hoverColor=(t,e)=>B(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.describe(t)}set(t,e){return gt(this,t,e)}get(t){return ut(this,t)}describe(t,e){return gt(dt,t,e)}override(t,e){return gt(ct,t,e)}route(t,e,i,a){const n=ut(this,t),o=ut(this,i),r="_"+e;Object.defineProperties(n,{[r]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){var t=this[r],e=o[a];return j(t)?Object.assign({},e,t):U(t,e)},set(t){this[r]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});const pt=Math.PI,mt=2*pt,xt=mt+pt,bt=Number.POSITIVE_INFINITY,vt=pt/180,_t=pt/2,yt=pt/4,wt=2*pt/3,Mt=Math.log10,kt=Math.sign;function St(t){var e=Math.pow(10,Math.floor(Mt(t))),t=t/e;return(t<=1?1:t<=2?2:t<=5?5:10)*e}function Pt(t){const e=[],i=Math.sqrt(t);let a;for(a=1;a<i;a++)t%a==0&&(e.push(a),e.push(t/a));return i===(0|i)&&e.push(i),e.sort((t,e)=>t-e).pop(),e}function Dt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Ct(t,e,i){return Math.abs(t-e)<i}function Ot(t,e){var i=Math.round(t);return i-e<=t&&t<=i+e}function At(t,e,i){let a,n,o;for(a=0,n=t.length;a<n;a++)o=t[a][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function Tt(t){return t*(pt/180)}function Rt(t){return t*(180/pt)}function Lt(i){if(Y(i)){let t=1,e=0;for(;Math.round(i*t)/t!==i;)t*=10,e++;return e}}function Et(t,e){var i=e.x-t.x,e=e.y-t.y,t=Math.sqrt(i*i+e*e);let a=Math.atan2(e,i);return a<-.5*pt&&(a+=mt),{angle:a,distance:t}}function It(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function zt(t,e){return(t-e+xt)%mt-pt}function Ft(t){return(t%mt+mt)%mt}function Vt(t,e,i){var a=Ft(t),n=Ft(e),o=Ft(i),r=Ft(n-a),t=Ft(o-a),e=Ft(a-n),i=Ft(a-o);return a===n||a===o||t<r&&e<i}function Bt(t,e,i){return Math.max(e,Math.min(i,t))}function Wt(t){return Bt(t,-32768,32767)}function Ht(t){return!t||H(t.size)||H(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Nt(t,e,i,a,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),a=o>a?o:a}function jt(t,e,i,a){let n=(a=a||{}).data=a.data||{},o=a.garbageCollect=a.garbageCollect||[];a.font!==e&&(n=a.data={},o=a.garbageCollect=[],a.font=e),t.save(),t.font=e;let r=0;var s=i.length;let l,h,c,d,u;for(l=0;l<s;l++)if(null!=(d=i[l])&&!0!==N(d))r=Nt(t,n,o,r,d);else if(N(d))for(h=0,c=d.length;h<c;h++)null==(u=d[h])||N(u)||(r=Nt(t,n,o,r,u));t.restore();var g=o.length/2;if(g>i.length){for(l=0;l<g;l++)delete n[o[l]];o.splice(0,g)}return r}function Yt(t,e,i){t=t.currentDevicePixelRatio,i=0!==i?Math.max(i/2,.5):0;return Math.round((e-i)*t)/t+i}function $t(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function Ut(t,e,i,a){let n,o,r,s,l;const h=e.pointStyle,c=e.rotation,d=e.radius;let u=(c||0)*vt;if(h&&"object"==typeof h&&("[object HTMLImageElement]"===(n=h.toString())||"[object HTMLCanvasElement]"===n))return t.save(),t.translate(i,a),t.rotate(u),t.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),void t.restore();if(!(isNaN(d)||d<=0)){switch(t.beginPath(),h){default:t.arc(i,a,d,0,mt),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(u)*d,a-Math.cos(u)*d),u+=wt,t.lineTo(i+Math.sin(u)*d,a-Math.cos(u)*d),u+=wt,t.lineTo(i+Math.sin(u)*d,a-Math.cos(u)*d),t.closePath();break;case"rectRounded":l=.516*d,s=d-l,o=Math.cos(u+yt)*s,r=Math.sin(u+yt)*s,t.arc(i-o,a-r,l,u-pt,u-_t),t.arc(i+r,a-o,l,u-_t,u),t.arc(i+o,a+r,l,u,u+_t),t.arc(i-r,a+o,l,u+_t,u+pt),t.closePath();break;case"rect":if(!c){s=Math.SQRT1_2*d,t.rect(i-s,a-s,2*s,2*s);break}u+=yt;case"rectRot":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+r,a-o),t.lineTo(i+o,a+r),t.lineTo(i-r,a+o),t.closePath();break;case"crossRot":u+=yt;case"cross":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r),t.moveTo(i+r,a-o),t.lineTo(i-r,a+o);break;case"star":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r),t.moveTo(i+r,a-o),t.lineTo(i-r,a+o),u+=yt,o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r),t.moveTo(i+r,a-o),t.lineTo(i-r,a+o);break;case"line":o=Math.cos(u)*d,r=Math.sin(u)*d,t.moveTo(i-o,a-r),t.lineTo(i+o,a+r);break;case"dash":t.moveTo(i,a),t.lineTo(i+Math.cos(u)*d,a+Math.sin(u)*d)}t.fill(),0<e.borderWidth&&t.stroke()}}function Xt(t,e,i){return i=i||.5,t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function qt(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Kt(t){t.restore()}function Gt(t,e,i,a,n){if(!e)return t.lineTo(i.x,i.y);if("middle"===n){const a=(e.x+i.x)/2;t.lineTo(a,e.y),t.lineTo(a,i.y)}else"after"===n!=!!a?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function Zt(t,e,i,a){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(a?e.cp1x:e.cp2x,a?e.cp1y:e.cp2y,a?i.cp2x:i.cp1x,a?i.cp2y:i.cp1y,i.x,i.y)}function Qt(t,e,i,a,n,o={}){const r=N(e)?e:[e],s=0<o.strokeWidth&&""!==o.strokeColor;let l,h;for(t.save(),o.translation&&t.translate(o.translation[0],o.translation[1]),H(o.rotation)||t.rotate(o.rotation),t.font=n.string,o.color&&(t.fillStyle=o.color),o.textAlign&&(t.textAlign=o.textAlign),o.textBaseline&&(t.textBaseline=o.textBaseline),l=0;l<r.length;++l){if(h=r[l],s&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),H(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(h,i,a,o.maxWidth)),t.fillText(h,i,a,o.maxWidth),o.strikethrough||o.underline){const e=t.measureText(h),n=i-e.actualBoundingBoxLeft,r=i+e.actualBoundingBoxRight,s=a-e.actualBoundingBoxAscent,l=a+e.actualBoundingBoxDescent,c=o.strikethrough?(s+l)/2:l;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(n,c),t.lineTo(r,c),t.stroke()}a+=n.lineHeight}t.restore()}function Jt(t,e){var{x:i,y:a,w:n,h:o,radius:e}=e;t.arc(i+e.topLeft,a+e.topLeft,e.topLeft,-_t,pt,!0),t.lineTo(i,a+o-e.bottomLeft),t.arc(i+e.bottomLeft,a+o-e.bottomLeft,e.bottomLeft,pt,_t,!0),t.lineTo(i+n-e.bottomRight,a+o),t.arc(i+n-e.bottomRight,a+o-e.bottomRight,e.bottomRight,_t,0,!0),t.lineTo(i+n,a+e.topRight),t.arc(i+n-e.topRight,a+e.topRight,e.topRight,0,-_t,!0),t.lineTo(i+e.topLeft,a)}function te(e,i,t){t=t||(t=>e[t]<i);let a,n=e.length-1,o=0;for(;1<n-o;)t(a=o+n>>1)?o=a:n=a;return{lo:o,hi:n}}const ee=(e,i,a)=>te(e,a,t=>e[t][i]<a),ie=(e,i,a)=>te(e,a,t=>e[t][i]>=a);function ae(t,e,i){let a=0,n=t.length;for(;a<n&&t[a]<e;)a++;for(;n>a&&t[n-1]>i;)n--;return 0<a||n<t.length?t.slice(a,n):t}const ne=["push","pop","shift","splice","unshift"];function oe(n,t){n._chartjs?n._chartjs.listeners.push(t):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),ne.forEach(t=>{const i="_onData"+rt(t),a=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...e){var t=a.apply(this,e);return n._chartjs.listeners.forEach(t=>{"function"==typeof t[i]&&t[i](...e)}),t}})}))}function re(e,t){var i=e._chartjs;if(i){const a=i.listeners,n=a.indexOf(t);-1!==n&&a.splice(n,1),0<a.length||(ne.forEach(t=>{delete e[t]}),delete e._chartjs)}}function se(t){const e=new Set;let i,a;for(i=0,a=t.length;i<a;++i)e.add(t[i]);if(e.size===a)return t;const n=[];return e.forEach(t=>{n.push(t)}),n}function le(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function he(t,e,i){let a;return"string"==typeof t?(a=parseInt(t,10),-1!==t.indexOf("%")&&(a=a/100*e.parentNode[i])):a=t,a}const ce=t=>window.getComputedStyle(t,null);function de(t,e){return ce(t).getPropertyValue(e)}const ue=["top","right","bottom","left"];function ge(e,i,a){const n={};a=a?"-"+a:"";for(let t=0;t<4;t++){var o=ue[t];n[o]=parseFloat(e[i+"-"+o+a])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function fe(t,e){var{canvas:i,currentDevicePixelRatio:a}=e,n=ce(i),o="border-box"===n.boxSizing,r=ge(n,"padding"),s=ge(n,"border","width"),{x:l,y:h,box:n}=function(t,e){var i=t.native||t,a=i.touches,n=a&&a.length?a[0]:i,{offsetX:t,offsetY:a}=n;let o,r,s=!1;if(i=i.target,!(0<t||0<a)||i&&i.shadowRoot){const l=e.getBoundingClientRect();o=n.clientX-l.left,r=n.clientY-l.top,s=!0}else o=t,r=a;return{x:o,y:r,box:s}}(t,i),t=r.left+(n&&s.left),n=r.top+(n&&s.top);let{width:c,height:d}=e;return o&&(c-=r.width+s.width,d-=r.height+s.height),{x:Math.round((l-t)/c*i.width/a),y:Math.round((h-n)/d*i.height/a)}}const pe=t=>Math.round(10*t)/10;function me(t,e,i,a){var n=ce(t),o=ge(n,"margin"),r=he(n.maxWidth,t,"clientWidth")||bt,s=he(n.maxHeight,t,"clientHeight")||bt,i=function(t,e,i){let a,n;if(void 0===e||void 0===i){const o=le(t);if(o){const t=o.getBoundingClientRect(),r=ce(o),s=ge(r,"border","width"),l=ge(r,"padding");e=t.width-l.width-s.width,i=t.height-l.height-s.height,a=he(r.maxWidth,o,"clientWidth"),n=he(r.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:a||bt,maxHeight:n||bt}}(t,e,i);let{width:l,height:h}=i;if("content-box"===n.boxSizing){const t=ge(n,"border","width"),e=ge(n,"padding");l-=e.width+t.width,h-=e.height+t.height}return l=Math.max(0,l-o.width),h=Math.max(0,a?Math.floor(l/a):h-o.height),l=pe(Math.min(l,r,i.maxWidth)),h=pe(Math.min(h,s,i.maxHeight)),l&&!h&&(h=pe(l/2)),{width:l,height:h}}function xe(t,e,i){const a=t.currentDevicePixelRatio=e||1,{canvas:n,width:o,height:r}=t;n.height=r*a,n.width=o*a,t.ctx.setTransform(a,0,0,a,0,0),n.style&&(i||!n.style.height&&!n.style.width)&&(n.style.height=r+"px",n.style.width=o+"px")}var be=function(){let t=!1;try{var e={get passive(){return!(t=!0)}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function ve(t,e){const i=de(t,e),a=i&&i.match(/^(\d+)(\.\d+)?px$/);return a?+a[1]:void 0}function _e(t,e){return"native"in t?{x:t.x,y:t.y}:fe(t,e)}function ye(t,i,a,n,o){var r=t.getSortedVisibleDatasetMetas(),s=a[i];for(let t=0,e=r.length;t<e;++t){const{index:a,data:l}=r[t],{lo:h,hi:c}=function(t,e,i,a){const{controller:n,data:o,_sorted:r}=t,s=n._cachedMeta.iScale;if(s&&e===s.axis&&r&&o.length){const t=s._reversePixels?ie:ee;if(!a)return t(o,e,i);if(n._sharedOptions){const a=o[0],n="function"==typeof a.getRange&&a.getRange(e);if(n){const a=t(o,e,i-n),r=t(o,e,i+n);return{lo:a.lo,hi:r.hi}}}}return{lo:0,hi:o.length-1}}(r[t],i,s,o);for(let t=h;t<=c;++t){const i=l[t];i.skip||n(i,a,t)}}}function we(t,a,e,n){const o=[];return Xt(a,t.chartArea,t._minPadding)&&ye(t,e,a,function(t,e,i){t.inRange(a.x,a.y,n)&&o.push({element:t,datasetIndex:e,index:i})},!0),o}function Me(t,n,e,o,r){const s=function(t){const a=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,e){var i=a?Math.abs(t.x-e.x):0,e=n?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(e,2))}}(e);let l=Number.POSITIVE_INFINITY,h=[];return Xt(n,t.chartArea,t._minPadding)&&ye(t,e,n,function(t,e,i){var a;o&&!t.inRange(n.x,n.y,r)||(a=t.getCenterPoint(r),(a=s(n,a))<l?(h=[{element:t,datasetIndex:e,index:i}],l=a):a===l&&h.push({element:t,datasetIndex:e,index:i}))}),h}function ke(t,e,i,l){const h=_e(e,t),c=[],d=i.axis,u="x"===d?"inXRange":"inYRange";let g=!1;return function(){var i,a,n,o,r,s=t.getSortedVisibleDatasetMetas();for(let t=0,e=s.length;t<e;++t){({index:i,data:a}=s[t]);for(let t=0,e=a.length;t<e;++t)(r=a[t]).skip||(n=r,o=i,r=t,n[u](h[d],l)&&c.push({element:n,datasetIndex:o,index:r}),n.inRange(h.x,h.y,l)&&(g=!0))}}(),i.intersect&&!g?[]:c}var Se={modes:{index(t,e,i,a){const n=_e(e,t),o=i.axis||"x",r=i.intersect?we(t,n,o,a):Me(t,n,o,!1,a),s=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach(t=>{var e=r[0].index,i=t.data[e];i&&!i.skip&&s.push({element:i,datasetIndex:t.index,index:e})}),s):[]},dataset(t,e,i,a){var n=_e(e,t),e=i.axis||"xy";let o=i.intersect?we(t,n,e,a):Me(t,n,e,!1,a);if(0<o.length){const r=o[0].datasetIndex,i=t.getDatasetMeta(r).data;o=[];for(let t=0;t<i.length;++t)o.push({element:i[t],datasetIndex:r,index:t})}return o},point:(t,e,i,a)=>we(t,_e(e,t),i.axis||"xy",a),nearest:(t,e,i,a)=>Me(t,_e(e,t),i.axis||"xy",i.intersect,a),x:(t,e,i,a)=>(i.axis="x",ke(t,e,i,a)),y:(t,e,i,a)=>(i.axis="y",ke(t,e,i,a))}};const Pe=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),De=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Ce(t,e){var i=(""+t).match(Pe);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}function Oe(e,i){const t={},a=j(i),n=a?Object.keys(i):i,o=j(e)?a?t=>U(e[t],e[i[t]]):t=>e[t]:()=>e;for(const e of n)t[e]=+o(e)||0;return t}function Ae(t){return Oe(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Te(t){return Oe(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Re(t){const e=Ae(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Le(t,e){e=e||ft.font;let i=U((t=t||{}).size,e.size);"string"==typeof i&&(i=parseInt(i,10));let a=U(t.style,e.style);a&&!(""+a).match(De)&&(console.warn('Invalid font style specified: "'+a+'"'),a="");const n={family:U(t.family,e.family),lineHeight:Ce(U(t.lineHeight,e.lineHeight),i),size:i,style:a,weight:U(t.weight,e.weight),string:""};return n.string=Ht(n),n}function Ee(t,e,i,a){let n,o,r,s=!0;for(n=0,o=t.length;n<o;++n)if(r=t[n],void 0!==r&&(void 0!==e&&"function"==typeof r&&(r=r(e),s=!1),void 0!==i&&N(r)&&(r=r[i%r.length],s=!1),void 0!==r))return a&&!s&&(a.cacheable=!1),r}function Ie(t,e){var{min:i,max:t}=t;return{min:i-Math.abs(q(e,i)),max:t+q(e,t)}}const ze=["left","top","right","bottom"];function Fe(t,e){return t.filter(t=>t.pos===e)}function Ve(t,e){return t.filter(t=>-1===ze.indexOf(t.pos)&&t.box.axis===e)}function Be(t,a){return t.sort((t,e)=>{var i=a?e:t,e=a?t:e;return i.weight===e.weight?i.index-e.index:i.weight-e.weight})}function We(t,e,i,a){return Math.max(t[i],e[i])+Math.max(t[a],e[a])}function He(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Ne(t,i){const a=i.maxPadding;return function(t){const e={left:0,top:0,right:0,bottom:0};return t.forEach(t=>{e[t]=Math.max(i[t],a[t])}),e}(t?["left","right"]:["top","bottom"])}function je(t,e,i){const a=[];let n,o,r,s,l,h;for(n=0,o=t.length,l=0;n<o;++n){r=t[n],s=r.box,s.update(r.width||e.w,r.height||e.h,Ne(r.horizontal,e));const{same:o,other:c}=function(t,e,i){const a=i.box,n=t.maxPadding;j(i.pos)||(i.size&&(t[i.pos]-=i.size),i.size=i.horizontal?a.height:a.width,t[i.pos]+=i.size),a.getPadding&&He(n,a.getPadding());var o=Math.max(0,e.outerWidth-We(n,t,"left","right")),r=Math.max(0,e.outerHeight-We(n,t,"top","bottom")),s=o!==t.w,e=r!==t.h;return t.w=o,t.h=r,i.horizontal?{same:s,other:e}:{same:e,other:s}}(e,i,r);l|=o&&a.length,h=h||c,s.fullSize||a.push(r)}return l&&je(a,e,i)||h}function Ye(t,e,i){var a=i.padding;let n,o,r,s,l=e.x,h=e.y;for(n=0,o=t.length;n<o;++n)r=t[n],s=r.box,r.horizontal?(s.left=(s.fullSize?a:e).left,s.right=s.fullSize?i.outerWidth-a.right:e.left+e.w,s.top=h,s.bottom=h+s.height,s.width=s.right-s.left,h=s.bottom):(s.left=l,s.right=l+s.width,s.top=(s.fullSize?a:e).top,s.bottom=s.fullSize?i.outerHeight-a.right:e.top+e.h,s.height=s.bottom-s.top,l=s.right);e.x=l,e.y=h}ft.set("layout",{padding:{top:0,right:0,bottom:0,left:0}});var $e={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){e=t.boxes?t.boxes.indexOf(e):-1;-1!==e&&t.boxes.splice(e,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(l,t,e,i){if(l){const n=Re(l.options.layout.padding),o=t-n.width,r=e-n.height,s=function(){const t=function(t){const e=[];let i,a,n;for(i=0,a=(t||[]).length;i<a;++i)n=t[i],e.push({index:i,box:n,pos:n.position,horizontal:n.isHorizontal(),weight:n.weight});return e}(l.boxes),e=Be(t.filter(t=>t.box.fullSize),!0),i=Be(Fe(t,"left"),!0),a=Be(Fe(t,"right")),n=Be(Fe(t,"top"),!0),o=Be(Fe(t,"bottom")),r=Ve(t,"x"),s=Ve(t,"y");return{fullSize:e,leftAndTop:i.concat(n),rightAndBottom:a.concat(s).concat(o).concat(r),chartArea:Fe(t,"chartArea"),vertical:i.concat(a).concat(s),horizontal:n.concat(o).concat(r)}}(),h=s.vertical,c=s.horizontal;G(l.boxes,t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()});var a=h.reduce((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1,0)||1,e=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/a,hBoxMaxHeight:r/2}),a=Object.assign({},n);He(a,Re(i));const d=Object.assign({maxPadding:a,w:o,h:r,x:n.left,y:n.top},n);!function(t,e){let i,a,n;for(i=0,a=t.length;i<a;++i)n=t[i],n.horizontal?(n.width=n.box.fullSize&&e.availableWidth,n.height=e.hBoxMaxHeight):(n.width=e.vBoxMaxWidth,n.height=n.box.fullSize&&e.availableHeight)}(h.concat(c),e),je(s.fullSize,d,e),je(h,d,e),je(c,d,e)&&je(h,d,e),function(i){const a=i.maxPadding;function t(t){var e=Math.max(a[t]-i[t],0);return i[t]+=e,e}i.y+=t("top"),i.x+=t("left"),t("right"),t("bottom")}(d),Ye(s.leftAndTop,d,e),d.x+=d.w,d.y+=d.h,Ye(s.rightAndBottom,d,e),l.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},G(s.chartArea,t=>{const e=t.box;Object.assign(e,l.chartArea),e.update(d.w,d.h)})}}};class Ue{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,a){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,a?Math.floor(e/a):i)}}isAttached(t){return!0}}class Xe extends Ue{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}}const qe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ke=t=>null===t||""===t,Ge=!!be&&{passive:!0};function Ze(t,e,n){const i=t.canvas,o=i&&le(i)||i,a=new MutationObserver(t=>{const a=le(o);t.forEach(e=>{for(let t=0;t<e.addedNodes.length;t++){var i=e.addedNodes[t];i!==o&&i!==a||n(e.target)}})});return a.observe(document,{childList:!0,subtree:!0}),a}function Qe(t,e,i){const a=t.canvas,n=a&&le(a);if(n){const o=new MutationObserver(t=>{t.forEach(e=>{for(let t=0;t<e.removedNodes.length;t++)if(e.removedNodes[t]===a){i();break}})});return o.observe(n,{childList:!0}),o}}const Je=new Map;let ti=0;function ei(){const i=window.devicePixelRatio;i!==ti&&(ti=i,Je.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function ii(t,e,a){const i=t.canvas,n=i&&le(i);if(n){const r=l((t,e)=>{var i=n.clientWidth;a(t,e),i<n.clientWidth&&a()},window),s=new ResizeObserver(t=>{var e=t[0],t=e.contentRect.width,e=e.contentRect.height;0===t&&0===e||r(t,e)});return s.observe(n),o=t,t=r,Je.size||window.addEventListener("resize",ei),Je.set(o,t),s;var o}}function ai(t,e,i){i&&i.disconnect(),"resize"===e&&(t=t,Je.delete(t),Je.size||window.removeEventListener("resize",ei))}function ni(e,t,i){var a=e.canvas,n=l(t=>{null!==e.ctx&&i(function(t,e){var i=qe[t.type]||t.type,{x:a,y:n}=fe(t,e);return{type:i,chart:e,native:t,x:void 0!==a?a:null,y:void 0!==n?n:null}}(t,e))},e,t=>{t=t[0];return[t,t.offsetX,t.offsetY]});return a.addEventListener(t,n,Ge),n}class oi extends Ue{acquireContext(t,e){var i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,a=t.getAttribute("height"),n=t.getAttribute("width");if(t.$chartjs={initial:{height:a,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",Ke(n)){const e=ve(t,"width");void 0!==e&&(t.width=e)}if(Ke(a))if(""===t.style.height)t.height=t.width/(e||2);else{const e=ve(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const i=t.canvas;if(!i.$chartjs)return!1;const a=i.$chartjs.initial;["height","width"].forEach(t=>{var e=a[t];H(e)?i.removeAttribute(t):i.setAttribute(t,e)});const e=a.style||{};return Object.keys(e).forEach(t=>{i.style[t]=e[t]}),i.width=i.width,delete i.$chartjs,!0}addEventListener(t,e,i){this.removeEventListener(t,e);const a=t.$proxies||(t.$proxies={}),n={attach:Ze,detach:Qe,resize:ii}[e]||ni;a[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),a=i[e];a&&(({attach:ai,detach:ai,resize:ai}[e]||function(t,e,i){t.canvas.removeEventListener(e,i,Ge)})(t,e,a),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,a){return me(t,e,i,a)}isAttached(t){t=le(t);return!(!t||!le(t))}}var ri=Object.freeze({__proto__:null,BasePlatform:Ue,BasicPlatform:Xe,DomPlatform:oi});const si=t=>0===t||1===t,li=(t,e,i)=>-Math.pow(2,10*--t)*Math.sin((t-e)*mt/i),hi=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*mt/i)+1,ci={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>--t*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-(--t*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>--t*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*_t),easeOutSine:t=>Math.sin(t*_t),easeInOutSine:t=>-.5*(Math.cos(pt*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>si(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>1<=t?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1- --t*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>si(t)?t:li(t,.075,.3),easeOutElastic:t=>si(t)?t:hi(t,.075,.3),easeInOutElastic(t){return si(t)?t:t<.5?.5*li(2*t,.1125,.45):.5+.5*hi(2*t-1,.1125,.45)},easeInBack(t){return t*t*(2.70158*t-1.70158)},easeOutBack(t){return--t*t*(2.70158*t+1.70158)+1},easeInOutBack(t){let 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:t=>1-ci.easeOutBounce(1-t),easeOutBounce(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*ci.easeInBounce(2*t):.5*ci.easeOutBounce(2*t-1)+.5},di="transparent",ui={boolean:(t,e,i)=>.5<i?e:t,color(t,e,i){const a=V(t||di),n=a.valid&&V(e||di);return n&&n.valid?n.mix(a,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class gi{constructor(t,e,i,a){var n=e[i];a=Ee([t.to,a,n,t.from]);n=Ee([t.from,n,a]);this._active=!0,this._fn=t.fn||ui[t.type||typeof n],this._easing=ci[t.easing]||ci.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=n,this._to=a,this._promises=void 0}active(){return this._active}update(t,e,i){var a,n,o,r=this;r._active&&(r._notify(!1),a=r._target[r._prop],n=i-r._start,o=r._duration-n,r._start=i,r._duration=Math.floor(Math.max(o,t.duration)),r._total+=n,r._loop=!!t.loop,r._to=Ee([t.to,e,a,t.from]),r._from=Ee([t.from,a,e]))}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){var e=this,i=t-e._start,a=e._duration,n=e._prop,o=e._from,r=e._loop,t=e._to;let s;if(e._active=o!==t&&(r||i<a),!e._active)return e._target[n]=t,void e._notify(!0);i<0?e._target[n]=o:(s=i/a%2,s=r&&1<s?2-s:s,s=e._easing(Math.min(1,Math.max(0,s))),e._target[n]=e._fn(o,t,s))}wait(){const i=this._promises||(this._promises=[]);return new Promise((t,e)=>{i.push({res:t,rej:e})})}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}ft.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const fi=Object.keys(ft.animation);ft.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),ft.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),ft.describe("animations",{_fallback:"animation"}),ft.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class pi{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(a){if(j(a)){const n=this._properties;Object.getOwnPropertyNames(a).forEach(e=>{const t=a[e];if(j(t)){const i={};for(const a of fi)i[a]=t[a];(N(t.properties)&&t.properties||[e]).forEach(t=>{t!==e&&n.has(t)||n.set(t,i)})}})}}_animateOptions(t,e){const i=e.options,a=function(e,i){if(i){let t=e.options;if(t)return t.$shared&&(e.options=t=Object.assign({},t,{$shared:!1,$animations:{}})),t;e.options=i}}(t,i);if(!a)return[];e=this._createAnimations(a,i);return i.$shared&&function(e,t){const i=[],a=Object.keys(t);for(let t=0;t<a.length;t++){const n=e[a[t]];n&&n.active()&&i.push(n.wait())}return Promise.all(i)}(t.options.$animations,i).then(()=>{t.options=i},()=>{}),e}_createAnimations(e,i){const a=this._properties,n=[],o=e.$animations||(e.$animations={}),t=Object.keys(i),r=Date.now();let s;for(s=t.length-1;0<=s;--s){const c=t[s];if("$"!==c.charAt(0))if("options"!==c){var l=i[c];let t=o[c];var h=a.get(c);if(t){if(h&&t.active()){t.update(h,l,r);continue}t.cancel()}h&&h.duration?(o[c]=t=new gi(h,e,c,l),n.push(t)):e[c]=l}else n.push(...this._animateOptions(e,i))}return n}update(t,e){if(0!==this._properties.size){var i=this._createAnimations(t,e);return i.length?(h.add(this._chart,i),!0):void 0}Object.assign(t,e)}}function mi(t,e){var i=t&&t.options||{},a=i.reverse,t=void 0===i.min?e:0,e=void 0===i.max?e:0;return{start:a?e:t,end:a?t:e}}function xi(t,e){const i=[],a=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=a.length;n<o;++n)i.push(a[n].index);return i}function bi(t,e,i,a){var n=t.keys,o="single"===a.mode;let r,s,l,h;if(null!==e){for(r=0,s=n.length;r<s;++r){if((l=+n[r])===i){if(a.all)continue;break}h=t.values[l],Y(h)&&(o||0===e||kt(e)===kt(h))&&(e+=h)}return e}}function vi(t,e){t=t&&t.options.stacked;return t||void 0===t&&void 0!==e.stack}function _i(t,e,i){for(const a of e.getMatchingVisibleMetas("bar").reverse()){const e=t[a.index];if(i&&0<e||!i&&e<0)return a.index}return null}function yi(t,e){const{chart:i,_cachedMeta:a}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:r,index:s}=a,l=o.axis,h=r.axis,c=(u=o,t=a,`${u.id}.${r.id}.`+(t.stack||t.type)),d=e.length;var u;let g;for(let t=0;t<d;++t){const i=e[t],{[l]:a,[h]:o}=i;g=(i._stacks||(i._stacks={}))[h]=function(t,e,i){const a=t[e]||(t[e]={});return a[i]||(a[i]={})}(n,c,a),g[s]=o,g._top=_i(g,r,!0),g._bottom=_i(g,r,!1)}}function wi(t,e){const i=t.scales;return Object.keys(i).filter(t=>i[t].axis===e).shift()}function Mi(t,e){for(const i of e=e||t._parsed){const e=i._stacks;if(!e||void 0===e[t.vScale.id]||void 0===e[t.vScale.id][t.index])return;delete e[t.vScale.id][t.index]}}const ki=t=>"reset"===t||"none"===t,Si=(t,e)=>e?t:Object.assign({},t);class Pi{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=vi(t.vScale,t),this.addElements()}updateIndex(t){this.index=t}linkScales(){const t=this,e=t.chart,i=t._cachedMeta,a=t.getDataset(),n=(t,e,i,a)=>"x"===t?e:"r"===t?a:i,o=i.xAxisID=U(a.xAxisID,wi(e,"x")),r=i.yAxisID=U(a.yAxisID,wi(e,"y")),s=i.rAxisID=U(a.rAxisID,wi(e,"r")),l=i.indexAxis,h=i.iAxisID=n(l,o,r,s),c=i.vAxisID=n(l,r,o,s);i.xScale=t.getScaleForId(o),i.yScale=t.getScaleForId(r),i.rScale=t.getScaleForId(s),i.iScale=t.getScaleForId(h),i.vScale=t.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){var e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){var t=this._cachedMeta;this._data&&re(this._data,this),t._stacked&&Mi(t)}_dataCheck(){const t=this,e=t.getDataset(),i=e.data||(e.data=[]);j(i)?t._data=function(t){const e=Object.keys(t),i=new Array(e.length);let a,n,o;for(a=0,n=e.length;a<n;++a)o=e[a],i[a]={x:o,y:t[o]};return i}(i):t._data!==i&&(t._data&&(re(t._data,t),Mi(t._cachedMeta)),i&&Object.isExtensible(i)&&oe(i,t),t._data=i)}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this,i=e._cachedMeta,a=e.getDataset();let n=!1;e._dataCheck(),i._stacked=vi(i.vScale,i),i.stack!==a.stack&&(n=!0,Mi(i),i.stack=a.stack),e._resyncElements(t),n&&yi(e,i._parsed)}configure(){const t=this,e=t.chart.config,i=e.datasetScopeKeys(t._type),a=e.getOptionScopes(t.getDataset(),i,!0);t.options=e.createResolver(a,t.getContext()),t._parsing=t.options.parsing}parse(t,e){const i=this,{_cachedMeta:a,_data:n}=i,{iScale:o,_stacked:r}=a,s=o.axis;let l,h,c,d=0===t&&e===n.length||a._sorted,u=0<t&&a._parsed[t-1];if(!1===i._parsing)a._parsed=n,a._sorted=!0,c=n;else{c=N(n[t])?i.parseArrayData(a,n,t,e):j(n[t])?i.parseObjectData(a,n,t,e):i.parsePrimitiveData(a,n,t,e);const o=()=>null===h[s]||u&&h[s]<u[s];for(l=0;l<e;++l)a._parsed[l+t]=h=c[l],d&&(o()&&(d=!1),u=h);a._sorted=d}r&&yi(i,c)}parsePrimitiveData(t,e,i,a){const{iScale:n,vScale:o}=t,r=n.axis,s=o.axis,l=n.getLabels(),h=n===o,c=new Array(a);let d,u,g;for(d=0,u=a;d<u;++d)g=d+i,c[d]={[r]:h||n.parse(l[g],g),[s]:o.parse(e[g],g)};return c}parseArrayData(t,e,i,a){const{xScale:n,yScale:o}=t,r=new Array(a);let s,l,h,c;for(s=0,l=a;s<l;++s)c=e[h=s+i],r[s]={x:n.parse(c[0],h),y:o.parse(c[1],h)};return r}parseObjectData(t,e,i,a){const{xScale:n,yScale:o}=t,{xAxisKey:r="x",yAxisKey:s="y"}=this._parsing,l=new Array(a);let h,c,d,u;for(h=0,c=a;h<c;++h)u=e[d=h+i],l[h]={x:n.parse(ot(u,r),d),y:o.parse(ot(u,s),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){var a=this.chart,n=this._cachedMeta,o=e[t.axis];return bi({keys:xi(a,!0),values:e._stacks[t.axis]},o,n.index,{mode:i})}updateRangeFromParsed(t,e,i,a){var n=i[e.axis];let o=null===n?NaN:n;e=a&&i._stacks[e.axis];a&&e&&(a.values=e,t.min=Math.min(t.min,o),t.max=Math.max(t.max,o),o=bi(a,n,this._cachedMeta.index,{all:!0})),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const i=this,a=i._cachedMeta,n=a._parsed,o=a._sorted&&t===a.iScale,r=n.length,s=i._getOtherScale(t),l=e&&a._stacked&&{keys:xi(i.chart,!0),values:null},h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(){var{min:t,max:e,minDefined:i,maxDefined:a}=s.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:a?e:Number.POSITIVE_INFINITY}}();let u,g,f,p;function m(){return f=n[u],g=f[t.axis],p=f[s.axis],!Y(g)||c>p||d<p}for(u=0;u<r&&(m()||(i.updateRangeFromParsed(h,t,f,l),!o));++u);if(o)for(u=r-1;0<=u;--u)if(!m()){i.updateRangeFromParsed(h,t,f,l);break}return h}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let a,n,o;for(a=0,n=e.length;a<n;++a)o=e[a][t.axis],Y(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,a=e.vScale,n=this.getParsed(t);return{label:i?""+i.getLabelForValue(n[i.axis]):"",value:a?""+a.getLabelForValue(n[a.axis]):""}}_update(t){const e=this,i=e._cachedMeta;e.configure(),e._cachedDataOpts={},e.update(t||"default"),i._clip=function(t){let e,i,a,n;return j(t)?(e=t.top,i=t.right,a=t.bottom,n=t.left):e=i=a=n=t,{top:e,right:i,bottom:a,left:n}}(U(e.options.clip,function(t,e,i){if(!1===i)return!1;t=mi(t,i),i=mi(e,i);return{top:i.end,right:t.end,bottom:i.start,left:t.start}}(i.xScale,i.yScale,e.getMaxOverflow())))}update(t){}draw(){const t=this,e=t._ctx,i=t.chart,a=t._cachedMeta,n=a.data||[],o=i.chartArea,r=[],s=t._drawStart||0,l=t._drawCount||n.length-s;let h;for(a.dataset&&a.dataset.draw(e,o,s,l),h=s;h<s+l;++h){const t=n[h];t.active?r.push(t):t.draw(e,o)}for(h=0;h<r.length;++h)r[h].draw(e,o)}getStyle(t,e){e=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(e):this.resolveDataElementOptions(t||0,e)}getContext(t,e,i){var a,n,o,r=this,s=r.getDataset();let l;if(0<=t&&t<r._cachedMeta.data.length){const e=r._cachedMeta.data[t];l=e.$context||(e.$context=(a=r.getContext(),n=t,o=e,Object.assign(Object.create(a),{active:!1,dataIndex:n,parsed:void 0,raw:void 0,element:o,index:n,mode:"default",type:"data"}))),l.parsed=r.getParsed(t),l.raw=s.data[t]}else l=r.$context||(r.$context=(t=r.chart.getContext(),r=r.index,Object.assign(Object.create(t),{active:!1,dataset:void 0,datasetIndex:r,index:r,mode:"default",type:"dataset"}))),l.dataset=s;return l.active=!!e,l.mode=i,l}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const a=this,n="active"===e,o=a._cachedDataOpts,r=t+"-"+e,s=o[r],l=a.enableOptionSharing&&st(i);if(s)return Si(s,l);const h=a.chart.config,c=h.datasetElementScopeKeys(a._type,t),d=n?[t+"Hover","hover",t,""]:[t,""],u=h.getOptionScopes(a.getDataset(),c),g=Object.keys(ft.elements[t]),f=h.resolveNamedOptions(u,g,()=>a.getContext(i,n),d);return f.$shared&&(f.$shared=l,o[r]=Object.freeze(Si(f,l))),f}_resolveAnimations(t,e,i){const a=this,n=a.chart,o=a._cachedDataOpts,r="animation-"+e,s=o[r];if(s)return s;let l;if(!1!==n.options.animation){const n=a.chart.config,o=n.datasetAnimationScopeKeys(a._type,e),r=n.getOptionScopes(a.getDataset(),o);l=n.createResolver(r,a.getContext(t,i,e))}e=new pi(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(e)),e}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||ki(t)||this.chart._animationsDisabled}updateElement(t,e,i,a){ki(a)?Object.assign(t,i):this._resolveAnimations(e,a).update(t,i)}updateSharedOptions(t,e,i){t&&!ki(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,a){t.active=a;var n=this.getStyle(e,a);this._resolveAnimations(e,i,a).update(t,{options:!a&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){var e=this,i=e._cachedMeta.data.length,a=e._data.length;i<a?e._insertElements(i,a-i,t):a<i&&e._removeElements(a,i-a);i=Math.min(a,i);i&&e.parse(0,i)}_insertElements(t,e,i=!0){const a=this,n=a._cachedMeta,o=n.data,r=t+e;let s;var l=t=>{for(t.length+=e,s=t.length-1;s>=r;s--)t[s]=t[s-e]};for(l(o),s=t;s<r;++s)o[s]=new a.dataElementType;a._parsing&&l(n._parsed),a.parse(t,e),i&&a.updateElements(o,t,e,"reset")}updateElements(t,e,i,a){}_removeElements(t,e){const i=this._cachedMeta;var a;this._parsing&&(a=i._parsed.splice(t,e),i._stacked&&Mi(i,a)),i.data.splice(t,e)}_onDataPush(){var t=arguments.length;this._insertElements(this.getDataset().data.length-t,t)}_onDataPop(){this._removeElements(this._cachedMeta.data.length-1,1)}_onDataShift(){this._removeElements(0,1)}_onDataSplice(t,e){this._removeElements(t,e),this._insertElements(t,arguments.length-2)}_onDataUnshift(){this._insertElements(0,arguments.length)}}Pi.defaults={},Pi.prototype.datasetElementType=null,Pi.prototype.dataElementType=null;class Di{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){var{x:e,y:t}=this.getProps(["x","y"],t);return{x:e,y:t}}hasValue(){return Dt(this.x)&&Dt(this.y)}getProps(t,e){const i=this,a=this.$animations;if(!e||!a)return i;const n={};return t.forEach(t=>{n[t]=a[t]&&a[t].active()?a[t]._to:i[t]}),n}}Di.defaults={},Di.defaultRoutes=void 0;const Ci=new Map;function Oi(t,e,n){return function(t,e){e=n||{};var i=t+JSON.stringify(e);let a=Ci.get(i);return a||(a=new Intl.NumberFormat(t,e),Ci.set(i,a)),a}(e).format(t)}const Ai={values:t=>N(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";var a=this.chart.options.locale;let n,o=t;if(1<i.length){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||1e15<e)&&(n="scientific"),o=function(t){let e=3<i.length?i[2].value-i[1].value:i[1].value-i[0].value;return 1<Math.abs(e)&&t!==Math.floor(t)&&(e=t-Math.floor(t)),e}(t)}var r=Mt(Math.abs(o)),r=Math.max(Math.min(-1*Math.floor(r),20),0),r={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(r,this.options.ticks.format),Oi(t,a,r)},logarithmic(t,e,i){if(0===t)return"0";var a=t/Math.pow(10,Math.floor(Mt(t)));return 1==a||2==a||5==a?Ai.numeric.call(this,t,e,i):""}};var Ti={formatters:Ai};function Ri(t,i){const e=t.options.ticks,a=e.maxTicksLimit||(c=(h=t).options.offset,t=h._tickSize(),c=h._length/t+(c?0:1),t=h._maxLength/t,Math.floor(Math.min(c,t))),n=e.major.enabled?function(t){const e=[];let i,a;for(i=0,a=t.length;i<a;i++)t[i].major&&e.push(i);return e}(i):[],o=n.length,r=n[0],s=n[o-1],l=[];var h,c;if(o>a)return function(t,e,i,a){let n,o=0,r=i[0];for(a=Math.ceil(a),n=0;n<t.length;n++)n===r&&(e.push(t[n]),o++,r=i[o*a])}(i,l,n,o/a),l;var d=function(t,i,e){var t=function(t){var e=t.length;let i,a;if(e<2)return!1;for(a=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==a)return!1;return a}(t),a=i.length/e;if(!t)return Math.max(a,1);var n=Pt(t);for(let t=0,e=n.length-1;t<e;t++){const i=n[t];if(i>a)return i}return Math.max(a,1)}(n,i,a);if(0<o){let t,e;const a=1<o?Math.round((s-r)/(o-1)):null;for(Li(i,l,d,H(a)?0:r-a,r),t=0,e=o-1;t<e;t++)Li(i,l,d,n[t],n[t+1]);return Li(i,l,d,s,H(a)?i.length:s+a),l}return Li(i,l,d),l}function Li(t,e,i,a,n){var o=U(a,0),r=Math.min(U(n,t.length),t.length);let s,l,h,c=0;for(i=Math.ceil(i),n&&(i=(s=n-a)/Math.floor(s/i)),h=o;h<0;)c++,h=Math.round(o+c*i);for(l=Math.max(o,0);l<r;l++)l===h&&(e.push(t[l]),c++,h=Math.round(o+c*i))}ft.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ti.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),ft.route("scale.ticks","color","","color"),ft.route("scale.grid","color","","borderColor"),ft.route("scale.grid","borderColor","","borderColor"),ft.route("scale.title","color","","color"),ft.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),ft.describe("scales",{_fallback:"scale"});const Ei=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function Ii(t,e){const i=[],a=t.length/e,n=t.length;let o=0;for(;o<n;o+=a)i.push(t[Math.floor(o)]);return i}function zi(t){return t.drawTicks?t.tickLength:0}function Fi(t,e){if(!t.display)return 0;var i=Le(t.font,e),e=Re(t.padding);return(N(t.text)?t.text.length:1)*i.lineHeight+e.height}class Vi extends Di{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){var e=this;e.options=t.setContext(e.getContext()),e.axis=t.axis,e._userMin=e.parse(t.min),e._userMax=e.parse(t.max),e._suggestedMin=e.parse(t.suggestedMin),e._suggestedMax=e.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){var{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:a}=this,t=$(t,Number.POSITIVE_INFINITY),e=$(e,Number.NEGATIVE_INFINITY),i=$(i,Number.POSITIVE_INFINITY),a=$(a,Number.NEGATIVE_INFINITY);return{min:$(t,i),max:$(e,a),minDefined:Y(t),maxDefined:Y(e)}}getMinMax(i){let a,{min:n,max:o,minDefined:r,maxDefined:s}=this.getUserBounds();if(r&&s)return{min:n,max:o};const l=this.getMatchingVisibleMetas();for(let t=0,e=l.length;t<e;++t)a=l[t].controller.getMinMax(this,i),r||(n=Math.min(n,a.min)),s||(o=Math.max(o,a.max));return{min:$(n,$(o,n)),max:$(o,$(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){K(this.options.beforeUpdate,[this])}update(t,e,i){var a=this,n=a.options.ticks,o=n.sampleSize;a.beforeUpdate(),a.maxWidth=t,a.maxHeight=e,a._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),a.ticks=null,a._labelSizes=null,a._gridLineItems=null,a._labelItems=null,a.beforeSetDimensions(),a.setDimensions(),a.afterSetDimensions(),a._maxLength=a.isHorizontal()?a.width+i.left+i.right:a.height+i.top+i.bottom,a._dataLimitsCached||(a.beforeDataLimits(),a.determineDataLimits(),a.afterDataLimits(),a._range=Ie(a,a.options.grace),a._dataLimitsCached=!0),a.beforeBuildTicks(),a.ticks=a.buildTicks()||[],a.afterBuildTicks();i=o<a.ticks.length;a._convertTicksToLabels(i?Ii(a.ticks,o):a.ticks),a.configure(),a.beforeCalculateLabelRotation(),a.calculateLabelRotation(),a.afterCalculateLabelRotation(),n.display&&(n.autoSkip||"auto"===n.source)&&(a.ticks=Ri(a,a.ticks),a._labelSizes=null),i&&a._convertTicksToLabels(a.ticks),a.beforeFit(),a.fit(),a.afterFit(),a.afterUpdate()}configure(){var t=this;let e,i,a=t.options.reverse;t.isHorizontal()?(e=t.left,i=t.right):(e=t.top,i=t.bottom,a=!a),t._startPixel=e,t._endPixel=i,t._reversePixels=a,t._length=i-e,t._alignToPixels=t.options.alignToPixels}afterUpdate(){K(this.options.afterUpdate,[this])}beforeSetDimensions(){K(this.options.beforeSetDimensions,[this])}setDimensions(){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(){K(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),K(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){K(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){var e=this.options.ticks;let i,a,n;for(i=0,a=t.length;i<a;i++)n=t[i],n.label=K(e.callback,[n.value,i,t],this);for(i=0;i<a;i++)H(t[i].label)&&(t.splice(i,1),a--,i--)}afterTickToLabelConversion(){K(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){K(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){var t,e,i,a,n=this,o=n.options,r=o.ticks,s=n.ticks.length,l=r.minRotation||0,h=r.maxRotation;let c,d,u,g=l;!n._isVisible()||!r.display||h<=l||s<=1||!n.isHorizontal()?n.labelRotation=l:(e=(t=n._getLabelSizes()).widest.width,i=t.highest.height,a=Bt(n.chart.width-e,0,n.maxWidth),(o.offset?n.maxWidth/s:a/(s-1))<e+6&&(c=a/(s-(o.offset?.5:1)),d=n.maxHeight-zi(o.grid)-r.padding-Fi(o.title,n.chart.options.font),u=Math.sqrt(e*e+i*i),g=Rt(Math.min(Math.asin(Math.min((t.highest.height+6)/c,1)),Math.asin(Math.min(d/u,1))-Math.asin(i/u))),g=Math.max(l,Math.min(h,g))),n.labelRotation=g)}afterCalculateLabelRotation(){K(this.options.afterCalculateLabelRotation,[this])}beforeFit(){K(this.options.beforeFit,[this])}fit(){const t=this,e={width:0,height:0},{chart:i,options:{ticks:a,title:n,grid:o}}=t,r=t._isVisible(),s=t.isHorizontal();if(r){const r=Fi(n,i.options.font);if(s?(e.width=t.maxWidth,e.height=zi(o)+r):(e.height=t.maxHeight,e.width=zi(o)+r),a.display&&t.ticks.length){const{first:i,last:n,widest:o,highest:r}=t._getLabelSizes(),l=2*a.padding,h=Tt(t.labelRotation),c=Math.cos(h),d=Math.sin(h);if(s){const i=a.mirror?0:d*o.width+c*r.height;e.height=Math.min(t.maxHeight,e.height+i+l)}else{const i=a.mirror?0:c*o.width+d*r.height;e.width=Math.min(t.maxWidth,e.width+i+l)}t._calculatePadding(i,n,d,c)}}t._handleMargins(),s?(t.width=t._length=i.width-t._margins.left-t._margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=i.height-t._margins.top-t._margins.bottom)}_calculatePadding(i,a,n,o){const r=this,{ticks:{align:s,padding:l},position:h}=r.options,c=0!==r.labelRotation,d="top"!==h&&"x"===r.axis;if(r.isHorizontal()){const h=r.getPixelForTick(0)-r.left,u=r.right-r.getPixelForTick(r.ticks.length-1);let t=0,e=0;c?e=d?(t=o*i.width,n*a.height):(t=n*i.height,o*a.width):"start"===s?e=a.width:"end"===s?t=i.width:(t=i.width/2,e=a.width/2),r.paddingLeft=Math.max((t-h+l)*r.width/(r.width-h),0),r.paddingRight=Math.max((e-u+l)*r.width/(r.width-u),0)}else{let t=a.height/2,e=i.height/2;"start"===s?(t=0,e=i.height):"end"===s&&(t=a.height,e=0),r.paddingTop=t+l,r.paddingBottom=e+l}}_handleMargins(){var t=this;t._margins&&(t._margins.left=Math.max(t.paddingLeft,t._margins.left),t._margins.top=Math.max(t.paddingTop,t._margins.top),t._margins.right=Math.max(t.paddingRight,t._margins.right),t._margins.bottom=Math.max(t.paddingBottom,t._margins.bottom))}afterFit(){K(this.options.afterFit,[this])}isHorizontal(){var{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t),this.afterTickToLabelConversion()}_getLabelSizes(){var e=this;let i=e._labelSizes;if(!i){var a=e.options.ticks.sampleSize;let t=e.ticks;a<t.length&&(t=Ii(t,a)),e._labelSizes=i=e._computeLabelSizes(t,t.length)}return i}_computeLabelSizes(t,e){const{ctx:i,_longestTextCache:a}=this,n=[],o=[];let r,s,l,h,c,d,u,g,f,p,m,x=0,b=0;for(r=0;r<e;++r){if(h=t[r].label,c=this._resolveTickFontOptions(r),i.font=d=c.string,u=a[d]=a[d]||{data:{},gc:[]},g=c.lineHeight,f=p=0,H(h)||N(h)){if(N(h))for(s=0,l=h.length;s<l;++s)H(m=h[s])||N(m)||(f=Nt(i,u.data,u.gc,f,m),p+=g)}else f=Nt(i,u.data,u.gc,f,h),p=g;n.push(f),o.push(p),x=Math.max(f,x),b=Math.max(p,b)}var v;w=a,v=e,G(w,t=>{const e=t.gc,i=e.length/2;let a;if(v<i){for(a=0;a<i;++a)delete t.data[e[a]];e.splice(0,i)}});var _=n.indexOf(x),y=o.indexOf(b),w=t=>({width:n[t]||0,height:o[t]||0});return{first:w(0),last:w(e-1),widest:w(_),highest:w(y),widths:n,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){var e=this;e._reversePixels&&(t=1-t);t=e._startPixel+t*e._length;return Wt(e._alignToPixels?Yt(e.chart,t,0):t)}getDecimalForPixel(t){t=(t-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){var{min:t,max:e}=this;return t<0&&e<0?e:0<t&&0<e?t:0}getContext(t){var e,i,a=this,n=a.ticks||[];if(0<=t&&t<n.length){const i=n[t];return i.$context||(i.$context=(e=a.getContext(),n=t,t=i,Object.assign(Object.create(e),{tick:t,index:n,type:"tick"})))}return a.$context||(a.$context=(i=a.chart.getContext(),a=a,Object.assign(Object.create(i),{scale:a,type:"scale"})))}_tickSize(){var t=this.options.ticks,e=Tt(this.labelRotation),i=Math.abs(Math.cos(e)),a=Math.abs(Math.sin(e)),n=this._getLabelSizes(),e=t.autoSkipPadding||0,t=n?n.widest.width+e:0,e=n?n.highest.height+e:0;return this.isHorizontal()?t*a<e*i?t/i:e/a:e*a<t*i?e/i:t/a}_isVisible(){var t=this.options.display;return"auto"!==t?!!t:0<this.getMatchingVisibleMetas().length}_computeGridLineItems(t){function e(t){return Yt(n,t,f)}const i=this,a=i.axis,n=i.chart,o=i.options,{grid:r,position:s}=o,l=r.offset,h=i.isHorizontal(),c=i.ticks.length+(l?1:0),d=zi(r),u=[],g=r.setContext(i.getContext()),f=g.drawBorder?g.borderWidth:0,p=f/2;let m,x,b,v,_,y,w,M,k,S,P,D;if("top"===s)m=e(i.bottom),y=i.bottom-d,M=m-p,S=e(t.top)+p,D=t.bottom;else if("bottom"===s)m=e(i.top),S=t.top,D=e(t.bottom)-p,y=m+p,M=i.top+d;else if("left"===s)m=e(i.right),_=i.right-d,w=m-p,k=e(t.left)+p,P=t.right;else if("right"===s)m=e(i.left),k=t.left,P=e(t.right)-p,_=m+p,w=i.left+d;else if("x"===a){if("center"===s)m=e((t.top+t.bottom)/2+.5);else if(j(s)){const t=Object.keys(s)[0],a=s[t];m=e(i.chart.scales[t].getPixelForValue(a))}S=t.top,D=t.bottom,y=m+p,M=y+d}else if("y"===a){if("center"===s)m=e((t.left+t.right)/2);else if(j(s)){const t=Object.keys(s)[0],a=s[t];m=e(i.chart.scales[t].getPixelForValue(a))}_=m-p,w=_-d,k=t.left,P=t.right}for(x=0;x<c;++x){const t=r.setContext(i.getContext(x)),a=t.lineWidth,o=t.color,s=r.borderDash||[],c=t.borderDashOffset,d=t.tickWidth,g=t.tickColor,f=t.tickBorderDash||[],p=t.tickBorderDashOffset;void 0!==(b=function(t,e,i){var a=t.ticks.length,n=Math.min(e,a-1),o=t._startPixel,r=t._endPixel;let s,l=t.getPixelForTick(n);if(!(i&&(s=1===a?Math.max(l-o,r-l):0===e?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(n-1))/2,l+=n<e?s:-s,l<o-1e-6||l>r+1e-6)))return l}(i,x,l))&&(v=Yt(n,b,a),h?_=w=k=P=v:y=M=S=D=v,u.push({tx1:_,ty1:y,tx2:w,ty2:M,x1:k,y1:S,x2:P,y2:D,width:a,color:o,borderDash:s,borderDashOffset:c,tickWidth:d,tickColor:g,tickBorderDash:f,tickBorderDashOffset:p}))}return i._ticksLength=c,i._borderValue=m,u}_computeLabelItems(a){const n=this,o=n.axis,r=n.options,{position:t,ticks:e}=r,s=n.isHorizontal(),l=n.ticks,{align:h,crossAlign:c,padding:d,mirror:u}=e,i=zi(r.grid),g=i+d,f=u?-d:g,p=-Tt(n.labelRotation),m=[];let x,b,v,_,y,w,M,k,S,P,D,C="middle";if("top"===t)y=n.bottom-f,w=n._getXAxisLabelAlignment();else if("bottom"===t)y=n.top+f,w=n._getXAxisLabelAlignment();else if("left"===t){const a=n._getYAxisLabelAlignment(i);w=a.textAlign,_=a.x}else if("right"===t){const a=n._getYAxisLabelAlignment(i);w=a.textAlign,_=a.x}else if("x"===o){if("center"===t)y=(a.top+a.bottom)/2+g;else if(j(t)){const a=Object.keys(t)[0],o=t[a];y=n.chart.scales[a].getPixelForValue(o)+g}w=n._getXAxisLabelAlignment()}else if("y"===o){if("center"===t)_=(a.left+a.right)/2-g;else if(j(t)){const a=Object.keys(t)[0],o=t[a];_=n.chart.scales[a].getPixelForValue(o)}w=n._getYAxisLabelAlignment(i).textAlign}"y"===o&&("start"===h?C="top":"end"===h&&(C="bottom"));var O=n._getLabelSizes();for(x=0,b=l.length;x<b;++x){v=l[x].label;const a=e.setContext(n.getContext(x));M=n.getPixelForTick(x)+e.labelOffset,S=(k=n._resolveTickFontOptions(x)).lineHeight;const o=(P=N(v)?v.length:1)/2,r=a.color,h=a.textStrokeColor,d=a.textStrokeWidth;let i;if(s?(_=M,D="top"===t?"near"===c||0!=p?-P*S+S/2:"center"===c?-O.highest.height/2-o*S+S:-O.highest.height+S/2:"near"===c||0!=p?S/2:"center"===c?O.highest.height/2-o*S:O.highest.height-P*S,u&&(D*=-1)):(y=M,D=(1-P)*S/2),a.showLabelBackdrop){const n=Re(a.backdropPadding),o=O.heights[x],r=O.widths[x];let t=y+D-n.top,e=_-n.left;switch(C){case"middle":t-=o/2;break;case"bottom":t-=o}switch(w){case"center":e-=r/2;break;case"right":e-=r}i={left:e,top:t,width:r+n.width,height:o+n.height,color:a.backdropColor}}m.push({rotation:p,label:v,font:k,color:r,strokeColor:h,strokeWidth:d,textOffset:D,textAlign:w,textBaseline:C,translation:[_,y],backdrop:i})}return m}_getXAxisLabelAlignment(){var{position:t,ticks:e}=this.options;if(-Tt(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align&&(i="right"),i}_getYAxisLabelAlignment(t){var e=this,{position:i,ticks:{crossAlign:a,mirror:n,padding:o}}=e.options,r=t+o,t=e._getLabelSizes().widest.width;let s,l;return"left"===i?n?(s="left",l=e.right+o):(l=e.right-r,"near"===a?s="right":"center"===a?(s="center",l-=t/2):(s="left",l=e.left)):"right"===i?n?(s="right",l=e.left+o):(l=e.left+r,"near"===a?s="left":"center"===a?(s="center",l+=t/2):(s="right",l=e.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){var t=this;if(!t.options.ticks.mirror){var e=t.chart,i=t.options.position;return"left"===i||"right"===i?{top:0,left:t.left,bottom:e.height,right:t.right}:"top"===i||"bottom"===i?{top:t.top,left:0,bottom:t.bottom,right:e.width}:void 0}}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:a,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,a,n,o),t.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;var i=this.ticks.findIndex(t=>t.value===e);return 0<=i?t.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this,i=e.options.grid,a=e.ctx,n=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));let o,r;var s=(t,e,i)=>{i.width&&i.color&&(a.save(),a.lineWidth=i.width,a.strokeStyle=i.color,a.setLineDash(i.borderDash||[]),a.lineDashOffset=i.borderDashOffset,a.beginPath(),a.moveTo(t.x,t.y),a.lineTo(e.x,e.y),a.stroke(),a.restore())};if(i.display)for(o=0,r=n.length;o<r;++o){const t=n[o];i.drawOnChartArea&&s({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),i.drawTicks&&s({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const n=this,{chart:o,ctx:r,options:{grid:s}}=n,l=s.setContext(n.getContext()),h=s.drawBorder?l.borderWidth:0;if(h){var c=s.setContext(n.getContext(0)).lineWidth,d=n._borderValue;let t,e,i,a;n.isHorizontal()?(t=Yt(o,n.left,h)-h/2,e=Yt(o,n.right,c)+c/2,i=a=d):(i=Yt(o,n.top,h)-h/2,a=Yt(o,n.bottom,c)+c/2,t=e=d),r.save(),r.lineWidth=l.borderWidth,r.strokeStyle=l.borderColor,r.beginPath(),r.moveTo(t,i),r.lineTo(e,a),r.stroke(),r.restore()}}drawLabels(i){const a=this;if(a.options.ticks.display){const o=a.ctx,r=a._computeLabelArea();r&&qt(o,r);var n=a._labelItems||(a._labelItems=a._computeLabelItems(i));let t,e;for(t=0,e=n.length;t<e;++t){const i=n[t],a=i.font,r=i.label;i.backdrop&&(o.fillStyle=i.backdrop.color,o.fillRect(i.backdrop.left,i.backdrop.top,i.backdrop.width,i.backdrop.height)),Qt(o,r,0,i.textOffset,a,i)}r&&Kt(o)}}drawTitle(){var{ctx:e,options:{position:i,title:a,reverse:n}}=this;if(a.display){var o=Le(a.font),r=Re(a.padding),s=a.align;let t=o.lineHeight/2;"bottom"===i?(t+=r.bottom,N(a.text)&&(t+=o.lineHeight*(a.text.length-1))):t+=r.top;var{titleX:l,titleY:h,maxWidth:c,rotation:r}=function(t,e,i,a){var{top:n,left:o,bottom:r,right:s}=t;let l,h,c,d=0;return t.isHorizontal()?(h=T(a,o,s),c=Ei(t,i,e),l=s-o):(h=Ei(t,i,e),c=T(a,r,n),d="left"===i?-_t:_t),{titleX:h,titleY:c,maxWidth:l,rotation:d}}(this,t,i,s);Qt(e,a.text,0,0,o,{color:a.color,maxWidth:c,rotation:r,textAlign:function(t,e,i){let a=f(t);return(i&&"right"!==e||!i&&"right"===e)&&(a="left"===(e=a)?"right":"right"===e?"left":e),a}(s,i,n),textBaseline:"middle",translation:[l,h]})}}draw(t){var e=this;e._isVisible()&&(e.drawBackground(),e.drawGrid(t),e.drawBorder(),e.drawTitle(),e.drawLabels(t))}_layers(){const e=this,t=e.options,i=t.ticks&&t.ticks.z||0,a=t.grid&&t.grid.z||0;return e._isVisible()&&e.draw===Vi.prototype.draw?[{z:a,draw(t){e.drawBackground(),e.drawGrid(t),e.drawTitle()}},{z:a+1,draw(){e.drawBorder()}},{z:i,draw(t){e.drawLabels(t)}}]:[{z:i,draw(t){e.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",a=[];let n,o;for(n=0,o=e.length;n<o;++n){const o=e[n];o[i]!==this.id||t&&o.type!==t||a.push(o)}return a}_resolveTickFontOptions(t){return Le(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){var t=this._resolveTickFontOptions(0).lineHeight;return this.isHorizontal()?this.width/t/.7:this.height/t}}function Bi(i,o=[""],e=i,a,n=()=>i[0]){st(a)||(a=Ki("_fallback",i));var t={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:e,_fallback:a,_getTarget:n,override:t=>Bi([t,...i],o,e,a)};return new Proxy(t,{deleteProperty:(t,e)=>(delete t[e],delete t._keys,delete i[0][e],!0),get:(t,e)=>Yi(t,e,()=>function(t,e,i){var a;for(const n of o)if(a=Ki(Ni(n,t),e),st(a))return ji(t,a)?Xi(e,i,t,a):a}(e,i,t)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(i[0]),has:(t,e)=>Gi(t).includes(e),ownKeys:t=>Gi(t),set:(t,e,i)=>((t._storage||(t._storage=n()))[e]=i,delete t[e],delete t._keys,!0)})}function Wi(a,e,i,n){var t={_cacheable:!1,_proxy:a,_context:e,_subProxy:i,_stack:new Set,_descriptors:Hi(a,n),setContext:t=>Wi(a,t,i,n),override:t=>Wi(a.override(t),e,i,n)};return new Proxy(t,{deleteProperty:(t,e)=>(delete t[e],delete a[e],!0),get:(t,e,i)=>Yi(t,e,()=>function(s,t,e){const{_proxy:i,_context:a,_subProxy:n,_descriptors:o}=s;let r=i[t];return lt(r)&&o.isScriptable(t)&&(r=function(t,e,i){const{_proxy:a,_context:n,_subProxy:o,_stack:r}=s;if(r.has(t))throw new Error("Recursion detected: "+[...r].join("->")+"->"+t);return r.add(t),e=e(n,o||i),r.delete(t),e=j(e)?Xi(a._scopes,a,t,e):e}(t,r,e)),N(r)&&r.length&&(r=function(t,e,i,a){const{_proxy:n,_context:o,_subProxy:r,_descriptors:s}=i;if(st(o.index)&&a(t))e=e[o.index%e.length];else if(j(e[0])){const i=e,a=n._scopes.filter(t=>t!==i);e=[];for(const l of i){const i=Xi(a,n,t,l);e.push(Wi(i,o,r&&r[t],s))}}return e}(t,r,s,o.isIndexable)),ji(t,r)&&(r=Wi(r,a,n&&n[t],o)),r}(t,e,i)),getOwnPropertyDescriptor:(t,e)=>t._descriptors.allKeys?Reflect.has(a,e)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(a,e),getPrototypeOf:()=>Reflect.getPrototypeOf(a),has:(t,e)=>Reflect.has(a,e),ownKeys:()=>Reflect.ownKeys(a),set:(t,e,i)=>(a[e]=i,delete t[e],!0)})}function Hi(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:a=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:a,isScriptable:lt(i)?i:()=>i,isIndexable:lt(a)?a:()=>a}}const Ni=(t,e)=>t?t+rt(e):e,ji=(t,e)=>j(e)&&"adapters"!==t;function Yi(t,e,i){let a=t[e];return st(a)||(a=i(),st(a)&&(t[e]=a)),a}function $i(t,e,i){return lt(t)?t(e,i):t}function Ui(t,e,i,a){for(const r of e){const e=(n=i,o=r,!0===n?o:"string"==typeof n?ot(o,n):void 0);if(e){t.add(e);n=$i(e._fallback,i,e);if(st(n)&&n!==i&&n!==a)return n}else if(!1===e&&st(a)&&i!==a)return null}var n,o;return!1}function Xi(t,e,i,a){const n=e._rootScopes,o=$i(e._fallback,i,a),r=[...t,...n],s=new Set;s.add(a);a=qi(s,r,i,o||i);return null!==a&&(!st(o)||o===i||null!==(a=qi(s,r,o,a)))&&Bi([...s],[""],n,o,()=>{const t=e._getTarget();return i in t||(t[i]={}),t[i]})}function qi(t,e,i,a){for(;i;)i=Ui(t,e,i,a);return i}function Ki(t,e){for(const i of e)if(i){const e=i[t];if(st(e))return e}}function Gi(t){let e=t._keys;return e=e||(t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter(t=>!t.startsWith("_")))e.add(t);return[...e]}(t._scopes)),e}const Zi=Number.EPSILON||1e-14,Qi=(t,e)=>e<t.length&&!t[e].skip&&t[e];function Ji(t,e,i,a){var n=t.skip?e:t,o=e,t=i.skip?e:i,e=It(o,n),i=It(t,o);let r=e/(e+i),s=i/(e+i);r=isNaN(r)?0:r,s=isNaN(s)?0:s;i=a*r,a*=s;return{previous:{x:o.x-i*(t.x-n.x),y:o.y-i*(t.y-n.y)},next:{x:o.x+a*(t.x-n.x),y:o.y+a*(t.y-n.y)}}}function ta(t){const e=t.length,i=Array(e).fill(0),a=Array(e);let n,o,r,s=Qi(t,0);for(n=0;n<e;++n)if(o=r,r=s,s=Qi(t,n+1),r){if(s){const t=s.x-r.x;i[n]=0!=t?(s.y-r.y)/t:0}a[n]=o?s?kt(i[n-1])!==kt(i[n])?0:(i[n-1]+i[n])/2:i[n-1]:i[n]}!function(e,i,a){var n=e.length;let o,r,s,l,h,c=Qi(e,0);for(let t=0;t<n-1;++t)h=c,c=Qi(e,t+1),h&&c&&(Ct(i[t],0,Zi)?a[t]=a[t+1]=0:(o=a[t]/i[t],r=a[t+1]/i[t],(l=Math.pow(o,2)+Math.pow(r,2))<=9||(s=3/Math.sqrt(l),a[t]=o*s*i[t],a[t+1]=r*s*i[t])))}(t,i,a),function(e,i){const a=e.length;let n,o,r,s=Qi(e,0);for(let t=0;t<a;++t)if(o=r,r=s,s=Qi(e,t+1),r){const{x:a,y:l}=r;o&&(n=(a-o.x)/3,r.cp1x=a-n,r.cp1y=l-n*i[t]),s&&(n=(s.x-a)/3,r.cp2x=a+n,r.cp2y=l+n*i[t])}}(t,a)}function ea(t,e,i){return Math.max(Math.min(t,i),e)}function ia(e,i,t,a){let n,o,r,s;if(i.spanGaps&&(e=e.filter(t=>!t.skip)),"monotone"===i.cubicInterpolationMode)ta(e);else{let t=a?e[e.length-1]:e[0];for(n=0,o=e.length;n<o;++n)r=e[n],s=Ji(t,r,e[Math.min(n+1,o-(a?0:1))%o],i.tension),r.cp1x=s.previous.x,r.cp1y=s.previous.y,r.cp2x=s.next.x,r.cp2y=s.next.y,t=r}i.capBezierPoints&&function(t,e){let i,a,n,o,r,s=Xt(t[0],e);for(i=0,a=t.length;i<a;++i)r=o,o=s,s=i<a-1&&Xt(t[i+1],e),o&&(n=t[i],r&&(n.cp1x=ea(n.cp1x,e.left,e.right),n.cp1y=ea(n.cp1y,e.top,e.bottom)),s&&(n.cp2x=ea(n.cp2x,e.left,e.right),n.cp2y=ea(n.cp2y,e.top,e.bottom)))}(e,t)}function aa(t,e,i,a){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function na(t,e,i,a){return{x:t.x+i*(e.x-t.x),y:("middle"===a?i<.5?t:e:"after"===a?i<1?t:e:0<i?e:t).y}}function oa(t,e,i,a){var n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},t=aa(t,n,i),n=aa(n,o,i),e=aa(o,e,i),t=aa(t,n,i),e=aa(n,e,i);return aa(t,e,i)}function ra(t,e,i){return t?(a=e,n=i,{x:t=>a+a+n-t,setWidth(t){n=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t};var a,n}function sa(t,e){let i,a;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,a=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=a)}function la(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ha(t){return"angle"===t?{between:Vt,compare:zt,normalize:Ft}:{between:(t,e,i)=>t>=Math.min(e,i)&&t<=Math.max(i,e),compare:(t,e)=>t-e,normalize:t=>t}}function ca({start:t,end:e,count:i,loop:a,style:n}){return{start:t%i,end:e%i,loop:a&&(e-t+1)%i==0,style:n}}function da(t,i,g){if(!g)return[t];const{property:a,start:n,end:o}=g,r=i.length,{compare:s,between:l,normalize:h}=ha(a),{start:c,end:d,loop:u,style:f}=function(t,e){const{property:i,start:a,end:n}=g,{between:o,normalize:r}=ha(i),s=e.length;let l,h,{start:c,end:d,loop:u}=t;if(u){for(c+=s,d+=s,l=0,h=s;l<h&&o(r(e[c%s][i]),a,n);++l)c--,d--;c%=s,d%=s}return d<c&&(d+=s),{start:c,end:d,loop:u,style:t.style}}(t,i),p=[];let m,x,b,v,_=null;for(let t=c,e=c;t<=d;++t)(x=i[t%r]).skip||(m=h(x[a]),v=l(m,n,o),null===_&&(v||l(n,b,m)&&0!==s(n,b))&&(_=0===s(m,n)?t:e),null===_||v&&0!==s(o,m)&&!l(o,b,m)||(p.push(ca({start:_,end:t,loop:u,count:r,style:f})),_=null),e=t,b=m);return null!==_&&p.push(ca({start:_,end:d,loop:u,count:r,style:f})),p}function ua(e,i){const a=[],n=e.segments;for(let t=0;t<n.length;t++){var o=da(n[t],e.points,i);o.length&&a.push(...o)}return a}function ga(t,e){var i=t.points,o=t.options.spanGaps,a=i.length;if(!a)return[];var n=!!t._loop,{start:r,end:s}=function(t,e,i){let a=0,n=e-1;if(i&&!o)for(;a<e&&!t[a].skip;)a++;for(;a<e&&t[a].skip;)a++;for(a%=e,i&&(n+=a);n>a&&t[n%e].skip;)n--;return n%=e,{start:a,end:n}}(i,a,n);return fa(!0===o?[{start:r,end:s,loop:n}]:function(t,e,i,a){const n=t.length,o=[];let r,s=e,l=t[e];for(r=e+1;r<=i;++r){const i=t[r%n];i.skip||i.stop?l.skip||(a=!1,o.push({start:e%n,end:(r-1)%n,loop:a}),e=s=i.stop?r:null):(s=r,l.skip&&(e=r)),l=i}return null!==s&&o.push({start:e%n,end:s%n,loop:a}),o}(i,r,s<r?s+a:s,!!t._fullLoop&&0===r&&s===a-1),i,e)}function fa(t,e,i){return i&&i.setContext&&e?function(a,n){const o=a.length,r=[];let s=t[0].start,l=s;for(const u of t){let t,e,i=a[s%o];for(l=s+1;l<=u.end;l++){var h=a[l%o];e={backgroundColor:(d=n.setContext({type:"segment",p0:i,p1:h})).backgroundColor,borderCapStyle:d.borderCapStyle,borderDash:d.borderDash,borderDashOffset:d.borderDashOffset,borderJoinStyle:d.borderJoinStyle,borderWidth:d.borderWidth,borderColor:d.borderColor},c=e,(d=t)&&JSON.stringify(c)!==JSON.stringify(d)&&(r.push({start:s,end:l-1,loop:u.loop,style:t}),t=e,s=l-1),i=h,t=e}s<l-1&&(r.push({start:s,end:l-1,loop:u.loop,style:e}),s=l-1)}var c,d;return r}(e,i):t}var pa=Object.freeze({__proto__:null,easingEffects:ci,color:V,getHoverColor:B,noop:t,uid:W,isNullOrUndef:H,isArray:N,isObject:j,isFinite:Y,finiteOrDefault:$,valueOrDefault:U,toPercentage:X,toDimension:q,callback:K,each:G,_elementsEqual:Z,clone:Q,_merger:tt,merge:et,mergeIf:it,_mergerIf:at,_deprecated:function(t,e,i,a){void 0!==e&&console.warn(t+': "'+i+'" is deprecated. Please use "'+a+'" instead')},resolveObjectKey:ot,_capitalize:rt,defined:st,isFunction:lt,setsEqual:ht,toFontString:Ht,_measureText:Nt,_longestText:jt,_alignPixel:Yt,clearCanvas:$t,drawPoint:Ut,_isPointInArea:Xt,clipArea:qt,unclipArea:Kt,_steppedLineTo:Gt,_bezierCurveTo:Zt,renderText:Qt,addRoundedRectPath:Jt,_lookup:te,_lookupByKey:ee,_rlookupByKey:ie,_filterBetween:ae,listenArrayEvents:oe,unlistenArrayEvents:re,_arrayUnique:se,_createResolver:Bi,_attachContext:Wi,_descriptors:Hi,splineCurve:Ji,splineCurveMonotone:ta,_updateBezierControlPoints:ia,_getParentNode:le,getStyle:de,getRelativePosition:fe,getMaximumSize:me,retinaScale:xe,supportsEventListenerOptions:be,readUsedSize:ve,fontString:function(t,e,i){return e+" "+t+"px "+i},requestAnimFrame:r,throttled:l,debounce:s,_toLeftRightCenter:f,_alignStartEnd:T,_textX:R,_pointInLine:aa,_steppedInterpolation:na,_bezierInterpolation:oa,formatNumber:Oi,toLineHeight:Ce,_readValueToProps:Oe,toTRBL:Ae,toTRBLCorners:Te,toPadding:Re,toFont:Le,resolve:Ee,_addGrace:Ie,PI:pt,TAU:mt,PITAU:xt,INFINITY:bt,RAD_PER_DEG:vt,HALF_PI:_t,QUARTER_PI:yt,TWO_THIRDS_PI:wt,log10:Mt,sign:kt,niceNum:St,_factorize:Pt,isNumber:Dt,almostEquals:Ct,almostWhole:Ot,_setMinAndMaxByKey:At,toRadians:Tt,toDegrees:Rt,_decimalPlaces:Lt,getAngleFromPoint:Et,distanceBetweenPoints:It,_angleDiff:zt,_normalizeAngle:Ft,_angleBetween:Vt,_limitValue:Bt,_int16Range:Wt,getRtlAdapter:ra,overrideTextDirection:sa,restoreTextDirection:la,_boundSegment:da,_boundSegments:ua,_computeSegments:ga});class ma{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){var e,i,s,l,a=Object.getPrototypeOf(t);let n;"id"in(i=a)&&"defaults"in i&&(n=this.register(a));const o=this.items,r=t.id,h=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+t);return r in o||(o[r]=t,e=t,i=h,a=n,a=et(Object.create(null),[a?ft.get(a):{},ft.get(i),e.defaults]),ft.set(i,a),e.defaultRoutes&&(s=i,l=e.defaultRoutes,Object.keys(l).forEach(t=>{const e=t.split("."),i=e.pop(),a=[s].concat(e).join("."),n=l[t].split("."),o=n.pop(),r=n.join(".");ft.route(a,i,r,o)})),e.descriptors&&ft.describe(i,e.descriptors),this.override&&ft.override(t.id,t.overrides)),h}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,a=this.scope;i in e&&delete e[i],a&&i in ft[a]&&(delete ft[a][i],this.override&&delete ct[i])}}var xa=new class{constructor(){this.controllers=new ma(Pi,"datasets",!0),this.elements=new ma(Di,"elements"),this.plugins=new ma(Object,"plugins"),this.scales=new ma(Vi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(i,t,a){const n=this;[...t].forEach(t=>{const e=a||n._getRegistryForType(t);a||e.isForType(t)||e===n.plugins&&t.id?n._exec(i,e,t):G(t,t=>{var e=a||n._getRegistryForType(t);n._exec(i,e,t)})})}_exec(t,e,i){var a=rt(t);K(i["before"+a],[],i),e[t](i),K(i["after"+a],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(t,e,i){e=e.get(t);if(void 0===e)throw new Error('"'+t+'" is not a registered '+i+".");return e}};class ba{constructor(){this._init=[]}notify(t,e,i,a){var n=this;"beforeInit"===e&&(n._init=n._createDescriptors(t,!0),n._notify(n._init,t,"install"));a=a?n._descriptors(t).filter(a):n._descriptors(t),i=n._notify(a,t,e,i);return"destroy"===e&&(n._notify(a,t,"stop"),n._notify(n._init,t,"uninstall")),i}_notify(t,e,i,a){a=a||{};for(const n of t){const t=n.plugin;if(!1===K(t[i],[e,a,n.options],t)&&a.cancelable)return!1}return!0}invalidate(){H(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;var e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){var i=t&&t.config,a=U(i.options&&i.options.plugins,{}),i=function(t){const e=[],i=Object.keys(xa.plugins.items);for(let t=0;t<i.length;t++)e.push(xa.getPlugin(i[t]));var a=t.plugins||[];for(let t=0;t<a.length;t++){const i=a[t];-1===e.indexOf(i)&&e.push(i)}return e}(i);return!1!==a||e?function(e,i,a,n){const o=[],r=e.getContext();for(let t=0;t<i.length;t++){var s=i[t],l=(l=a[s.id],n||!1!==l?!0===l?{}:l:null);null!==l&&o.push({plugin:s,options:function(t,e,i,a){e=t.pluginScopeKeys(e),e=t.getOptionScopes(i,e);return t.createResolver(e,a,[""],{scriptable:!1,indexable:!1,allKeys:!0})}(e.config,s,l,r)})}var l;return o}(t,i,a,e):[]}_notifyStateChanges(t){var e=this._oldCache||[],i=this._cache,a=(t,i)=>t.filter(e=>!i.some(t=>e.plugin.id===t.plugin.id));this._notify(a(e,i),t,"stop"),this._notify(a(i,e),t,"start")}}function va(t,e){var i=ft.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function _a(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(e=e.position)||"bottom"===e?"x":"left"===e||"right"===e?"y":void 0)||t.charAt(0).toLowerCase()}function ya(t){const e=t.options||(t.options={});e.plugins=U(e.plugins,{}),e.scales=function(e,i){const o=ct[e.type]||{scales:{}},r=i.scales||{},s=va(e.type,i),l=Object.create(null),h=Object.create(null);return Object.keys(r).forEach(t=>{const e=r[t],i=_a(t,e),a=i===s?"_index_":"_value_",n=o.scales||{};l[i]=l[i]||t,h[t]=it(Object.create(null),[{axis:i},e,n[i],n[a]])}),e.data.datasets.forEach(a=>{const t=a.type||e.type,n=a.indexAxis||va(t,i),o=(ct[t]||{}).scales||{};Object.keys(o).forEach(t=>{var e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,n),i=a[e+"AxisID"]||l[e]||e;h[i]=h[i]||Object.create(null),it(h[i],[{axis:e},r[i],o[t]])})}),Object.keys(h).forEach(t=>{t=h[t];it(t,[ft.scales[t.type],ft.scale])}),h}(t,e)}function wa(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Ma=new Map,ka=new Set;function Sa(t,e){let i=Ma.get(t);return i||(i=e(),Ma.set(t,i),ka.add(i)),i}const Pa=(t,e,i)=>{i=ot(e,i);void 0!==i&&t.add(i)};class Da{constructor(t){this._config=((t=(t=t)||{}).data=wa(t.data),ya(t),t),this._scopeCache=new Map,this._resolverCache=new Map}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=wa(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){var t=this._config;this.clearCache(),ya(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Sa(t,()=>[["datasets."+t,""]])}datasetAnimationScopeKeys(t,e){return Sa(t+".transition."+e,()=>[[`datasets.${t}.transitions.`+e,"transitions."+e],["datasets."+t,""]])}datasetElementScopeKeys(t,e){return Sa(t+"-"+e,()=>[[`datasets.${t}.elements.`+e,"datasets."+t,"elements."+e,""]])}pluginScopeKeys(t){const e=t.id;return Sa(this.type+"-plugin-"+e,()=>[["plugins."+e,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const i=this._scopeCache;let a=i.get(t);return a&&!e||(a=new Map,i.set(t,a)),a}getOptionScopes(e,t,i){const{options:a,type:n}=this,o=this._cachedScopes(e,i),r=o.get(t);if(r)return r;const s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>Pa(s,e,t))),t.forEach(t=>Pa(s,a,t)),t.forEach(t=>Pa(s,ct[n]||{},t)),t.forEach(t=>Pa(s,ft,t)),t.forEach(t=>Pa(s,dt,t))});i=[...s];return ka.has(t)&&o.set(t,i),i}chartOptionScopes(){var{options:t,type:e}=this;return[t,ct[e]||{},ft.datasets[e]||{},{type:e},ft,dt]}resolveNamedOptions(t,e,i,a=[""]){const n={$shared:!0},{resolver:o,subPrefixes:r}=Ca(this._resolverCache,t,a);let s=o;!function(t,e){const{isScriptable:i,isIndexable:a}=Hi(t);for(const n of e)if(i(n)&&lt(t[n])||a(n)&&N(t[n]))return 1}(o,e)||(n.$shared=!1,s=Wi(o,i=lt(i)?i():i,this.createResolver(t,i,r)));for(const t of e)n[t]=s[t];return n}createResolver(t,e,i=[""],a){var i=Ca(this._resolverCache,t,i)["resolver"];return j(e)?Wi(i,e,void 0,a):i}}function Ca(t,e,i){let a=t.get(e);a||(a=new Map,t.set(e,a));t=i.join();let n=a.get(t);return n||(n={resolver:Bi(e,i),subPrefixes:i.filter(t=>!t.toLowerCase().includes("hover"))},a.set(t,n)),n}const Oa=["top","bottom","left","right","chartArea"];function Aa(t,e){return"top"===t||"bottom"===t||-1===Oa.indexOf(t)&&"x"===e}function Ta(i,a){return function(t,e){return t[i]===e[i]?t[a]-e[a]:t[i]-e[i]}}function Ra(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),K(i&&i.onComplete,[t],e)}function La(t){var e=t.chart,i=e.options.animation;K(i&&i.onProgress,[t],e)}function Ea(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Ia(t){return Ea()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t=t&&t.canvas?t.canvas:t}const za={},Fa=t=>{const e=Ia(t);return Object.values(za).filter(t=>t.canvas===e).pop()};class Va{constructor(t,e){var i=this;this.config=e=new Da(e);var a=Ia(t),n=Fa(a);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas can be reused.");var o=e.createResolver(e.chartOptionScopes(),i.getContext());this.platform=i._initializePlatform(a,e);t=i.platform.acquireContext(a,o.aspectRatio),n=t&&t.canvas,e=n&&n.height,a=n&&n.width;this.id=W(),this.ctx=t,this.canvas=n,this.width=a,this.height=e,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._sortedMetasets=[],this.scales={},this.scale=void 0,this._plugins=new ba,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=s(()=>this.update("resize"),o.resizeDelay||0),za[i.id]=i,t&&n?(h.listen(i,"complete",Ra),h.listen(i,"progress",La),i._initialize(),i.attached&&i.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){var{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:a,_aspectRatio:n}=this;return H(t)?e&&n?n:a?i/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){var t=this;return t.notifyPlugins("beforeInit"),t.options.responsive?t.resize():xe(t,t.options.devicePixelRatio),t.bindEvents(),t.notifyPlugins("afterInit"),t}_initializePlatform(t,e){return new(e.platform||(!Ea()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Xe:oi))}clear(){return $t(this.canvas,this.ctx),this}stop(){return h.stop(this),this}resize(t,e){h.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){var i=this,a=i.options,n=i.canvas,o=a.maintainAspectRatio&&i.aspectRatio,t=i.platform.getMaximumSize(n,t,e,o),e=i.currentDevicePixelRatio,o=a.devicePixelRatio||i.platform.getDevicePixelRatio();i.width===t.width&&i.height===t.height&&e===o||(i.width=t.width,i.height=t.height,i._aspectRatio=i.aspectRatio,xe(i,o,!0),i.notifyPlugins("resize",{size:t}),K(a.onResize,[i,t],i),i.attached&&i._doResize()&&i.render())}ensureScalesHaveIDs(){G(this.options.scales||{},(t,e)=>{t.id=e})}buildOrUpdateScales(){const r=this,s=r.options,a=s.scales,l=r.scales,h=Object.keys(l).reduce((t,e)=>(t[e]=!1,t),{});let t=[];a&&(t=t.concat(Object.keys(a).map(t=>{var e=a[t],i=_a(t,e),t="r"===i,i="x"===i;return{options:e,dposition:t?"chartArea":i?"bottom":"left",dtype:t?"radialLinear":i?"category":"linear"}}))),G(t,t=>{const e=t.options,i=e.id,a=_a(i,e),n=U(e.type,t.dtype);void 0!==e.position&&Aa(e.position,a)===Aa(t.dposition)||(e.position=t.dposition),h[i]=!0;let o=null;i in l&&l[i].type===n?o=l[i]:(o=new(xa.getScale(n))({id:i,type:n,ctx:r.ctx,chart:r}),l[o.id]=o),o.init(e,s)}),G(h,(t,e)=>{t||delete l[e]}),G(l,t=>{$e.configure(r,t,t.options),$e.addBox(r,t)})}_updateMetasetIndex(t,e){const i=this._metasets,a=t.index;a!==e&&(i[a]=i[e],(i[e]=t).index=e)}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(e<i){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(Ta("order","index"))}_removeUnreferencedMetasets(){const i=this,{_metasets:t,data:{datasets:a}}=i;t.length>a.length&&delete i._stacks,t.forEach((e,t)=>{0===a.filter(t=>t===e._dataset).length&&i._destroyDatasetMeta(t)})}buildOrUpdateControllers(){const e=this,i=[],a=e.data.datasets;let n,o;for(e._removeUnreferencedMetasets(),n=0,o=a.length;n<o;n++){const o=a[n];let t=e.getDatasetMeta(n);var r=o.type||e.config.type;if(t.type&&t.type!==r&&(e._destroyDatasetMeta(n),t=e.getDatasetMeta(n)),t.type=r,t.indexAxis=o.indexAxis||va(r,e.options),t.order=o.order||0,e._updateMetasetIndex(t,n),t.label=""+o.label,t.visible=e.isDatasetVisible(n),t.controller)t.controller.updateIndex(n),t.controller.linkScales();else{const a=xa.getController(r),{datasetElementType:o,dataElementType:s}=ft.datasets[r];Object.assign(a.prototype,{dataElementType:xa.getElement(s),datasetElementType:o&&xa.getElement(o)}),t.controller=new a(e,n),i.push(t.controller)}}return e._updateMetasets(),i}_resetElements(){const i=this;G(i.data.datasets,(t,e)=>{i.getDatasetMeta(e).controller.reset()},i)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const a=this,n=a.config;n.update(),a._options=n.createResolver(n.chartOptionScopes(),a.getContext()),G(a.scales,t=>{$e.removeBox(a,t)});var o=a._animationsDisabled=!a.options.animation;a.ensureScalesHaveIDs(),a.buildOrUpdateScales();const r=new Set(Object.keys(a._listeners)),e=new Set(a.options.events);if(ht(r,e)||(a.unbindEvents(),a.bindEvents()),a._plugins.invalidate(),!1!==a.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})){const s=a.buildOrUpdateControllers();a.notifyPlugins("beforeElementsUpdate");let i=0;for(let t=0,e=a.data.datasets.length;t<e;t++){const n=a.getDatasetMeta(t)["controller"],r=!o&&-1===s.indexOf(n);n.buildOrUpdateElements(r),i=Math.max(+n.getMaxOverflow(),i)}a._minPadding=i,a._updateLayout(i),o||G(s,t=>{t.reset()}),a._updateDatasets(t),a.notifyPlugins("afterUpdate",{mode:t}),a._layers.sort(Ta("z","_idx")),a._lastEvent&&a._eventHandler(a._lastEvent,!0),a.render()}}_updateLayout(t){const e=this;if(!1!==e.notifyPlugins("beforeLayout",{cancelable:!0})){$e.update(e,e.width,e.height,t);const i=e.chartArea,a=i.width<=0||i.height<=0;e._layers=[],G(e.boxes,t=>{a&&"chartArea"===t.position||(t.configure&&t.configure(),e._layers.push(...t._layers()))},e),e._layers.forEach((t,e)=>{t._idx=e}),e.notifyPlugins("afterLayout")}}_updateDatasets(i){var a="function"==typeof i;if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:i,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this._updateDataset(t,a?i({datasetIndex:t}):i);this.notifyPlugins("afterDatasetsUpdate",{mode:i})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),a={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",a)&&(i.controller._update(e),a.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",a))}render(){var t=this;!1!==t.notifyPlugins("beforeRender",{cancelable:!0})&&(h.has(t)?t.attached&&!h.running(t)&&h.start(t):(t.draw(),Ra({chart:t})))}draw(){var t=this;let e;if(t._resizeBeforeDraw){const{width:e,height:i}=t._resizeBeforeDraw;t._resize(e,i),t._resizeBeforeDraw=null}if(t.clear(),!(t.width<=0||t.height<=0)&&!1!==t.notifyPlugins("beforeDraw",{cancelable:!0})){const i=t._layers;for(e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(t.chartArea);for(t._drawDatasets();e<i.length;++e)i[e].draw(t.chartArea);t.notifyPlugins("afterDraw")}}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let a,n;for(a=0,n=e.length;a<n;++a){const n=e[a];t&&!n.visible||i.push(n)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1!==this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})){var e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;0<=t;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}}_drawDataset(t){const e=this,i=e.ctx,a=t._clip,n=e.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==e.notifyPlugins("beforeDatasetDraw",o)&&(qt(i,{left:!1===a.left?0:n.left-a.left,right:!1===a.right?e.width:n.right+a.right,top:!1===a.top?0:n.top-a.top,bottom:!1===a.bottom?e.height:n.bottom+a.bottom}),t.controller.draw(),Kt(i),o.cancelable=!1,e.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(t,e,i,a){const n=Se.modes[e];return"function"==typeof n?n(this,t,i,a):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let a=i.filter(t=>t&&t._dataset===e).pop();return a=a||(i[t]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1}),a}getContext(){return this.$context||(this.$context={chart:this,type:"chart"})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){var e=this.data.datasets[t];if(!e)return!1;t=this.getDatasetMeta(t);return"boolean"==typeof t.hidden?!t.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateDatasetVisibility(e,t){const i=t?"show":"hide",a=this.getDatasetMeta(e),n=a.controller._resolveAnimations(void 0,i);this.setDatasetVisibility(e,t),n.update(a,{visible:t}),this.update(t=>t.datasetIndex===e?i:void 0)}hide(t){this._updateDatasetVisibility(t,!1)}show(t){this._updateDatasetVisibility(t,!0)}_destroyDatasetMeta(t){const e=this._metasets&&this._metasets[t];e&&e.controller&&(e.controller._destroy(),delete this._metasets[t])}destroy(){var t=this,{canvas:e,ctx:i}=t;let a,n;for(t.stop(),h.remove(t),a=0,n=t.data.datasets.length;a<n;++a)t._destroyDatasetMeta(a);t.config.clearCache(),e&&(t.unbindEvents(),$t(e,i),t.platform.releaseContext(i),t.canvas=null,t.ctx=null),t.notifyPlugins("destroy"),delete za[t.id]}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){const a=this,i=a._listeners,n=a.platform,e=(t,e)=>{n.addEventListener(a,t,e),i[t]=e},o=(t,e)=>{i[t]&&(n.removeEventListener(a,t,e),delete i[t])};let r=function(t,e,i){t.offsetX=e,t.offsetY=i,a._eventHandler(t)};if(G(a.options.events,t=>e(t,r)),a.options.responsive){let t;r=(t,e)=>{a.canvas&&a.resize(t,e)};const s=()=>{o("attach",s),a.attached=!0,a.resize(),e("resize",r),e("detach",t)};t=()=>{a.attached=!1,o("resize",r),e("attach",s)},(n.isAttached(a.canvas)?s:t)()}else a.attached=!0}unbindEvents(){const i=this,t=i._listeners;t&&(i._listeners={},G(t,(t,e)=>{i.platform.removeEventListener(i,e,t)}))}updateHoverStyle(t,e,i){var a=i?"set":"remove";let n,o,r,s;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+a+"DatasetHoverStyle"]()),r=0,s=t.length;r<s;++r){const e=(o=t[r])&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[a+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const a=this,e=a._active||[],i=t.map(({datasetIndex:t,index:e})=>{var i=a.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}});Z(i,e)||(a._active=i,a._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){var a=this.options.hover,n=(t,i)=>t.filter(e=>!i.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),o=n(e,t),e=i?t:n(t,e);o.length&&this.updateHoverStyle(o,a.mode,!1),e.length&&a.mode&&this.updateHoverStyle(e,a.mode,!0)}_eventHandler(e,t){const i=this,a={event:e,replay:t,cancelable:!0},n=t=>(t.options.events||this.options.events).includes(e.type);if(!1!==i.notifyPlugins("beforeEvent",a,n)){t=i._handleEvent(e,t);return a.cancelable=!1,i.notifyPlugins("afterEvent",a,n),(t||a.changed)&&i.render(),i}}_handleEvent(t,e){var i=this,{_active:a=[],options:n}=i,o=n.hover;let r=[],s,l=null;return"mouseout"!==t.type&&(r=i.getElementsAtEventForMode(t,o.mode,o,e),l="click"===t.type?i._lastEvent:t),i._lastEvent=null,Xt(t,i.chartArea,i._minPadding)&&(K(n.onHover,[t,r,i],i),"mouseup"!==t.type&&"click"!==t.type&&"contextmenu"!==t.type||K(n.onClick,[t,r,i],i)),((s=!Z(r,a))||e)&&(i._active=r,i._updateHoverStyles(r,a,e)),i._lastEvent=l,s}}const Ba=()=>G(Va.instances,t=>t._plugins.invalidate());function Wa(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}Object.defineProperties(Va,{defaults:{enumerable:!0,value:ft},instances:{enumerable:!0,value:za},overrides:{enumerable:!0,value:ct},registry:{enumerable:!0,value:xa},version:{enumerable:!0,value:"3.2.1"},getChart:{enumerable:!0,value:Fa},register:{enumerable:!0,value:(...t)=>{xa.add(...t),Ba()}},unregister:{enumerable:!0,value:(...t)=>{xa.remove(...t),Ba()}}});class Ha{constructor(t){this.options=t||{}}formats(){return Wa()}parse(t,e){return Wa()}format(t,e){return Wa()}add(t,e,i){return Wa()}diff(t,e,i){return Wa()}startOf(t,e,i){return Wa()}endOf(t,e){return Wa()}}Ha.override=function(t){Object.assign(Ha.prototype,t)};var Na={_date:Ha};function ja(t,e,i,a){return N(t)?function(t,e,i,a){var n=i.parse(t[0],a),o=i.parse(t[1],a),t=Math.min(n,o),a=Math.max(n,o);let r=t,s=a;Math.abs(t)>Math.abs(a)&&(r=a,s=t),e[i.axis]=s,e._custom={barStart:r,barEnd:s,start:n,end:o,min:t,max:a}}(t,e,i,a):e[i.axis]=i.parse(t,a),e}function Ya(t,e,i,a){const n=t.iScale,o=t.vScale,r=n.getLabels(),s=n===o,l=[];let h,c,d,u;for(c=(h=i)+a;h<c;++h)u=e[h],d={},d[n.axis]=s||n.parse(r[h],h),l.push(ja(u,d,o,h));return l}function $a(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}class Ua extends Pi{parsePrimitiveData(t,e,i,a){return Ya(t,e,i,a)}parseArrayData(t,e,i,a){return Ya(t,e,i,a)}parseObjectData(t,e,i,a){const{iScale:n,vScale:o}=t,{xAxisKey:r="x",yAxisKey:s="y"}=this._parsing,l="x"===n.axis?r:s,h="x"===o.axis?r:s,c=[];let d,u,g,f;for(u=(d=i)+a;d<u;++d)f=e[d],g={},g[n.axis]=n.parse(ot(f,l),d),c.push(ja(ot(f,h),g,o,d));return c}updateRangeFromParsed(t,e,i,a){super.updateRangeFromParsed(t,e,i,a);i=i._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:a}=e,n=this.getParsed(t),o=n._custom,r=$a(o)?"["+o.start+", "+o.end+"]":""+a.getLabelForValue(n[a.axis]);return{label:""+i.getLabelForValue(n[i.axis]),value:r}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){var e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(e,i,a,n){const o=this,r="reset"===n,s=o._cachedMeta.vScale,l=s.getBasePixel(),h=s.isHorizontal(),c=o._getRuler(),t=o.resolveDataElementOptions(i,n),d=o.getSharedOptions(t),u=o.includeOptions(n,d);o.updateSharedOptions(d,n,t);for(let t=i;t<i+a;t++){const i=o.getParsed(t),a=r||H(i[s.axis])?{base:l,head:l}:o._calculateBarValuePixels(t),g=o._calculateBarIndexPixels(t,c),f=(i._stacks||{})[s.axis],p={horizontal:h,base:a.base,enableBorderRadius:!f||$a(i._custom)||o.index===f._top||o.index===f._bottom,x:h?a.head:g.center,y:h?g.center:a.head,height:h?g.size:void 0,width:h?void 0:g.size};u&&(p.options=d||o.resolveDataElementOptions(t,n)),o.updateElement(e[t],t,p,n)}}_getStacks(t,e){const i=this._cachedMeta.iScale,a=i.getMatchingVisibleMetas(this._type),n=i.options.stacked,o=a.length,r=[];let s,l;for(s=0;s<o;++s){if(l=a[s],void 0!==e){const t=l.controller.getParsed(e)[l.controller._cachedMeta.vScale.axis];if(H(t)||isNaN(t))continue}if((!1===n||-1===r.indexOf(l.stack)||void 0===n&&void 0===l.stack)&&r.push(l.stack),l.index===t)break}return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const a=this._getStacks(t,i),n=void 0!==e?a.indexOf(e):-1;return-1===n?a.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,a=[];let n,o;for(n=0,o=e.data.length;n<o;++n)a.push(i.getPixelForValue(this.getParsed(n)[i.axis],n));var r=t.barThickness;return{min:r||function(t){var e=function(a){if(!a._cache.$bar){const n=a.getMatchingVisibleMetas("bar");let i=[];for(let t=0,e=n.length;t<e;t++)i=i.concat(n[t].controller.getAllParsedValues(a));a._cache.$bar=se(i.sort((t,e)=>t-e))}return a._cache.$bar}(t);let i,a,n,o,r=t._length;var s=()=>{32767!==n&&-32768!==n&&(st(o)&&(r=Math.min(r,Math.abs(n-o)||r)),o=n)};for(i=0,a=e.length;i<a;++i)n=t.getPixelForValue(e[i]),s();for(o=void 0,i=0,a=t.ticks.length;i<a;++i)n=t.getPixelForTick(i),s();return r}(i),pixels:a,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:r?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{vScale:e,_stacked:i}=this._cachedMeta,{base:a,minBarLength:n}=this.options,o=this.getParsed(t),r=o._custom,s=$a(r);let l,h,c=o[e.axis],d=0,u=i?this.applyStack(e,o,i):c;u!==c&&(d=u-c,u=c),s&&(c=r.barStart,u=r.barEnd-r.barStart,0!==c&&kt(c)!==kt(r.barEnd)&&(d=0),d+=c);var g=H(a)||s?d:a;let f=e.getPixelForValue(g);l=this.chart.getDataVisibility(t)?e.getPixelForValue(d+u):f,h=l-f,void 0!==n&&Math.abs(h)<n&&(h=h<0?-n:n,0===c&&(f-=h/2),l=f+h);t=a||0;if(f===e.getPixelForValue(t)){const p=e.getLineWidthForValue(t)/2;0<h?(f+=p,h-=p):h<0&&(f-=p,h+=p)}return{size:h,base:f,head:l,center:l+h/2}}_calculateBarIndexPixels(t,e){const i=this,a=e.scale,n=i.options,o=n.skipNull,r=U(n.maxBarThickness,1/0);let s,l;if(e.grouped){const a=o?i._getStackCount(t):e.stackCount,h=("flex"===n.barThickness?function(t,e,i,a){var n=e.pixels,o=n[t];let r=0<t?n[t-1]:null,s=t<n.length-1?n[t+1]:null;t=i.categoryPercentage;null===r&&(r=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-r);o-=(o-Math.min(r,s))/2*t;return{chunk:Math.abs(s-r)/2*t/a,ratio:i.barPercentage,start:o}}:function(t,e,i,a){var n=i.barThickness;let o,r;return r=H(n)?(o=e.min*i.categoryPercentage,i.barPercentage):(o=n*a,1),{chunk:o/a,ratio:r,start:e.pixels[t]-o/2}})(t,e,n,a),c=i._getStackIndex(i.index,i._cachedMeta.stack,o?t:void 0);s=h.start+h.chunk*c+h.chunk/2,l=Math.min(r,h.chunk*h.ratio)}else s=a.getPixelForValue(i.getParsed(t)[a.axis],t),l=Math.min(r,e.min*e.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}}draw(){const t=this.chart,e=this._cachedMeta,i=e.vScale,a=e.data,n=a.length;let o=0;for(qt(t.ctx,t.chartArea);o<n;++o)null!==this.getParsed(o)[i.axis]&&a[o].draw(this._ctx);Kt(t.ctx)}}Ua.id="bar",Ua.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Ua.overrides={interaction:{mode:"index"},scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Xa extends Pi{initialize(){this.enableOptionSharing=!0,super.initialize()}parseObjectData(t,e,i,a){const{xScale:n,yScale:o}=t,{xAxisKey:r="x",yAxisKey:s="y"}=this._parsing,l=[];let h,c,d;for(c=(h=i)+a;h<c;++h)d=e[h],l.push({x:n.parse(ot(d,r),h),y:o.parse(ot(d,s),h),_custom:d&&d.r&&+d.r});return l}getMaxOverflow(){const{data:e,_parsed:i}=this._cachedMeta;let a=0;for(let t=e.length-1;0<=t;--t)a=Math.max(a,e[t].size()/2,i[t]._custom);return 0<a&&a}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:a}=e,n=this.getParsed(t),o=i.getLabelForValue(n.x),r=a.getLabelForValue(n.y),s=n._custom;return{label:e.label,value:"("+o+", "+r+(s?", "+s:"")+")"}}update(t){var e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(e,i,a,n){const o=this,r="reset"===n,{xScale:s,yScale:l}=o._cachedMeta,t=o.resolveDataElementOptions(i,n),h=o.getSharedOptions(t),c=o.includeOptions(n,h);for(let t=i;t<i+a;t++){const i=e[t],a=!r&&o.getParsed(t),h=r?s.getPixelForDecimal(.5):s.getPixelForValue(a.x),d=r?l.getBasePixel():l.getPixelForValue(a.y),u={x:h,y:d,skip:isNaN(h)||isNaN(d)};c&&(u.options=o.resolveDataElementOptions(t,n),r&&(u.options.radius=0)),o.updateElement(i,t,u,n)}o.updateSharedOptions(h,n,t)}resolveDataElementOptions(t,e){var i=this.getParsed(t);let a=super.resolveDataElementOptions(t,e);a.$shared&&(a=Object.assign({},a,{$shared:!1}));t=a.radius;return"active"!==e&&(a.radius=0),a.radius+=U(i&&i._custom,t),a}}Xa.id="bubble",Xa.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Xa.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class qa extends Pi{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,a=this._cachedMeta;let n,o;for(o=(n=t)+e;n<o;++n)a._parsed[n]=+i[n]}_getRotation(){return Tt(this.options.rotation-90)}_getCircumference(){return Tt(this.options.circumference)}_getRotationExtents(){let e=mt,i=-mt;for(let t=0;t<this.chart.data.datasets.length;++t)if(this.chart.isDatasetVisible(t)){const a=this.chart.getDatasetMeta(t).controller,n=a._getRotation(),o=a._getCircumference();e=Math.min(e,n),i=Math.max(i,n+o)}return{rotation:e,circumference:i-e}}update(t){const e=this,i=e.chart,a=i["chartArea"],n=e._cachedMeta,o=n.data,r=e.getMaxBorderWidth()+e.getMaxOffset(o),s=Math.max((Math.min(a.width,a.height)-r)/2,0),l=Math.min(X(e.options.cutout,s),1),h=e._getRingWeight(e.index),{circumference:c,rotation:d}=e._getRotationExtents(),{ratioX:u,ratioY:g,offsetX:f,offsetY:p}=function(t,e,a){let i=1,n=1,o=0,r=0;if(e<mt){const s=t,l=s+e,h=Math.cos(s),c=Math.sin(s),d=Math.cos(l),u=Math.sin(l),g=(t,e,i)=>Vt(t,s,l)?1:Math.max(e,e*a,i,i*a),f=(t,e,i)=>Vt(t,s,l)?-1:Math.min(e,e*a,i,i*a),p=g(0,h,d),m=g(_t,c,u),x=f(pt,h,d),b=f(pt+_t,c,u);i=(p-x)/2,n=(m-b)/2,o=-(p+x)/2,r=-(m+b)/2}return{ratioX:i,ratioY:n,offsetX:o,offsetY:r}}(d,c,l),m=(a.width-r)/u,x=(a.height-r)/g,b=Math.max(Math.min(m,x)/2,0),v=q(e.options.radius,b),_=(v-Math.max(v*l,0))/e._getVisibleDatasetWeightTotal();e.offsetX=f*v,e.offsetY=p*v,n.total=e.calculateTotal(),e.outerRadius=v-_*e._getRingWeightOffset(e.index),e.innerRadius=Math.max(e.outerRadius-_*h,0),e.updateElements(o,0,o.length,t)}_circumference(t,e){var i=this.options,a=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===a._parsed[t]?0:this.calculateCircumference(a._parsed[t]*n/mt)}updateElements(t,e,i,a){const n=this,o="reset"===a,r=n.chart,s=r.chartArea,l=r.options.animation,h=(s.left+s.right)/2,c=(s.top+s.bottom)/2,d=o&&l.animateScale,u=d?0:n.innerRadius,g=d?0:n.outerRadius,f=n.resolveDataElementOptions(e,a),p=n.getSharedOptions(f),m=n.includeOptions(a,p);let x,b=n._getRotation();for(x=0;x<e;++x)b+=n._circumference(x,o);for(x=e;x<e+i;++x){const e=n._circumference(x,o),i=t[x],r={x:h+n.offsetX,y:c+n.offsetY,startAngle:b,endAngle:b+e,circumference:e,outerRadius:g,innerRadius:u};m&&(r.options=p||n.resolveDataElementOptions(x,a)),b+=e,n.updateElement(i,x,r,a)}n.updateSharedOptions(p,a,f)}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,a=0;for(i=0;i<e.length;i++){const e=t._parsed[i];null!==e&&!isNaN(e)&&this.chart.getDataVisibility(i)&&(a+=Math.abs(e))}return a}calculateCircumference(t){var e=this._cachedMeta.total;return 0<e&&!isNaN(t)?mt*(Math.abs(t)/e):0}getLabelAndValue(t){var e=this._cachedMeta,i=this.chart,a=i.data.labels||[],i=Oi(e._parsed[t],i.options.locale);return{label:a[t]||"",value:i}}getMaxBorderWidth(t){let e=0;const i=this.chart;let a,n,o,r,s;if(!t)for(a=0,n=i.data.datasets.length;a<n;++a)if(i.isDatasetVisible(a)){t=(o=i.getDatasetMeta(a)).data,r=o.controller,r!==this&&r.configure();break}if(!t)return 0;for(a=0,n=t.length;a<n;++a)"inner"!==(s=r.resolveDataElementOptions(a)).borderAlign&&(e=Math.max(e,s.borderWidth||0,s.hoverBorderWidth||0));return e}getMaxOffset(i){let a=0;for(let t=0,e=i.length;t<e;++t){const i=this.resolveDataElementOptions(t);a=Math.max(a,i.offset||0,i.hoverOffset||0)}return a}_getRingWeightOffset(e){let i=0;for(let t=0;t<e;++t)this.chart.isDatasetVisible(t)&&(i+=this._getRingWeight(t));return i}_getRingWeight(t){return Math.max(U(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}qa.id="doughnut",qa.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",indexAxis:"r"},qa.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(a){const t=a.data;return t.labels.length&&t.datasets.length?t.labels.map((t,e)=>{var i=a.getDatasetMeta(0).controller.getStyle(e);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:!a.getDataVisibility(e),index:e}}):[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;t=": "+t.formattedValue;return N(e)?(e=e.slice(),e[0]+=t):e+=t,e}}}}};class Ka extends Pi{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this,i=e._cachedMeta,{dataset:a,data:n=[],_dataset:o}=i,r=e.chart._animationsDisabled;let{start:s,count:l}=function(t,e,i){var a=e.length;let n=0,o=a;if(t._sorted){const{iScale:r,_parsed:s}=t,l=r.axis,{min:h,max:c,minDefined:d,maxDefined:u}=r.getUserBounds();d&&(n=Bt(Math.min(ee(s,r.axis,h).lo,i?a:ee(e,l,r.getPixelForValue(h)).lo),0,a-1)),o=u?Bt(Math.max(ee(s,r.axis,c).hi+1,i?0:ee(e,l,r.getPixelForValue(c)).hi+1),n,a)-n:a-n}return{start:n,count:o}}(i,n,r);e._drawStart=s,e._drawCount=l,function(t){var{xScale:e,yScale:i,_scaleRanges:a}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!a)return t._scaleRanges=n,1;i=a.xmin!==e.min||a.xmax!==e.max||a.ymin!==i.min||a.ymax!==i.max;return Object.assign(a,n),i}(i)&&(s=0,l=n.length),a._decimated=!!o._decimated,a.points=n;const h=e.resolveDatasetElementOptions(t);e.options.showLine||(h.borderWidth=0),h.segment=e.options.segment,e.updateElement(a,void 0,{animated:!r,options:h},t),e.updateElements(n,s,l,t)}updateElements(e,i,a,n){const o=this,r="reset"===n,{xScale:s,yScale:l,_stacked:h}=o._cachedMeta,t=o.resolveDataElementOptions(i,n),c=o.getSharedOptions(t),d=o.includeOptions(n,c),u=o.options.spanGaps,g=Dt(u)?u:Number.POSITIVE_INFINITY,f=o.chart._animationsDisabled||r||"none"===n;let p=0<i&&o.getParsed(i-1);for(let t=i;t<i+a;++t){const i=e[t],a=o.getParsed(t),u=f?i:{},m=H(a.y),x=u.x=s.getPixelForValue(a.x,t),b=u.y=r||m?l.getBasePixel():l.getPixelForValue(h?o.applyStack(l,a,h):a.y,t);u.skip=isNaN(x)||isNaN(b)||m,u.stop=0<t&&a.x-p.x>g,u.parsed=a,d&&(u.options=c||o.resolveDataElementOptions(t,n)),f||o.updateElement(i,t,u,n),p=a}o.updateSharedOptions(c,n,t)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,a=t.data||[];if(!a.length)return i;var n=a[0].size(this.resolveDataElementOptions(0)),o=a[a.length-1].size(this.resolveDataElementOptions(a.length-1));return Math.max(i,n,o)/2}draw(){this._cachedMeta.dataset.updateControlPoints(this.chart.chartArea),super.draw()}}Ka.id="line",Ka.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Ka.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Ga extends Pi{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}update(t){var e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this,e=t.chart,i=e.chartArea,a=e.options,n=Math.min(i.right-i.left,i.bottom-i.top),o=Math.max(n/2,0),r=(o-Math.max(a.cutoutPercentage?o/100*a.cutoutPercentage:1,0))/e.getVisibleDatasetCount();t.outerRadius=o-r*t.index,t.innerRadius=t.outerRadius-r}updateElements(a,n,t,o){const r=this,s="reset"===o,l=r.chart,h=r.getDataset(),c=l.options.animation,d=r._cachedMeta.rScale,u=d.xCenter,g=d.yCenter,f=d.getIndexAngle(0)-.5*pt;let p,m=f;var x=360/r.countVisibleElements();for(p=0;p<n;++p)m+=r._computeAngle(p,o,x);for(p=n;p<n+t;p++){const n=a[p];let t=m,e=m+r._computeAngle(p,o,x),i=l.getDataVisibility(p)?d.getDistanceFromCenterForValue(h.data[p]):0;m=e,s&&(c.animateScale&&(i=0),c.animateRotate&&(t=e=f));var b={x:u,y:g,innerRadius:0,outerRadius:i,startAngle:t,endAngle:e,options:r.resolveDataElementOptions(p,o)};r.updateElement(n,p,b,o)}}countVisibleElements(){const i=this.getDataset(),t=this._cachedMeta;let a=0;return t.data.forEach((t,e)=>{!isNaN(i.data[e])&&this.chart.getDataVisibility(e)&&a++}),a}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?Tt(this.resolveDataElementOptions(t,e).angle||i):0}}Ga.id="polarArea",Ga.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Ga.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(a){const t=a.data;return t.labels.length&&t.datasets.length?t.labels.map((t,e)=>{var i=a.getDatasetMeta(0).controller.getStyle(e);return{text:t,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:!a.getDataVisibility(e),index:e}}):[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Za extends qa{}Za.id="pie",Za.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Qa extends Pi{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}update(t){const e=this,i=e._cachedMeta,a=i.dataset,n=i.data||[],o=i.iScale.getLabels();if(a.points=n,"resize"!==t){const i=e.resolveDatasetElementOptions(t);e.options.showLine||(i.borderWidth=0);var r={_loop:!0,_fullLoop:o.length===n.length,options:i};e.updateElement(a,void 0,r,t)}e.updateElements(n,0,n.length,t)}updateElements(e,i,a,n){const o=this.getDataset(),r=this._cachedMeta.rScale,s="reset"===n;for(let t=i;t<i+a;t++){const i=e[t],a=this.resolveDataElementOptions(t,n),l=r.getPointPositionForValue(t,o.data[t]),h=s?r.xCenter:l.x,c=s?r.yCenter:l.y,d={x:h,y:c,angle:l.angle,skip:isNaN(h)||isNaN(c),options:a};this.updateElement(i,t,d,n)}}}Qa.id="radar",Qa.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},Qa.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Ja extends Ka{}Ja.id="scatter",Ja.defaults={showLine:!1,fill:!1},Ja.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var tn=Object.freeze({__proto__:null,BarController:Ua,BubbleController:Xa,DoughnutController:qa,LineController:Ka,PolarAreaController:Ga,PieController:Za,RadarController:Qa,ScatterController:Ja});function en(t,e){var{startAngle:i,endAngle:a,pixelMargin:n,x:o,y:r,outerRadius:s,innerRadius:l}=e,e=n/s;t.beginPath(),t.arc(o,r,s,i-e,a+e),n<l?t.arc(o,r,l,a+(e=n/l),i-e,!0):t.arc(o,r,n,a+_t,i-_t),t.closePath(),t.clip()}function an(t,e,i,a){return{x:i+t*Math.cos(e),y:a+t*Math.sin(e)}}function nn(t,e){var{x:i,y:a,startAngle:n,endAngle:o,pixelMargin:r}=e,s=Math.max(e.outerRadius-r,0),l=e.innerRadius+r,{outerStart:h,outerEnd:c,innerStart:d,innerEnd:u}=function(t,e,i,a){t=Oe(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const n=(i-e)/2,o=Math.min(n,a*e/2),r=t=>{var e=(i-Math.min(n,t))*a/2;return Bt(t,0,Math.min(n,e))};return{outerStart:r(t.outerStart),outerEnd:r(t.outerEnd),innerStart:Bt(t.innerStart,0,o),innerEnd:Bt(t.innerEnd,0,o)}}(e,l,s,o-n),g=s-h,f=s-c,p=n+h/g,m=o-c/f,x=l+d,b=l+u,r=n+d/x,e=o-u/b;if(t.beginPath(),t.arc(i,a,s,p,m),0<c){const v=an(f,m,i,a);t.arc(v.x,v.y,c,m,o+_t)}m=an(b,o,i,a);if(t.lineTo(m.x,m.y),0<u){const v=an(b,e,i,a);t.arc(v.x,v.y,u,o+_t,e+Math.PI)}if(t.arc(i,a,l,o-u/l,n+d/l,!0),0<d){const v=an(x,r,i,a);t.arc(v.x,v.y,d,r+Math.PI,n-_t)}r=an(g,n,i,a);if(t.lineTo(r.x,r.y),0<h){const v=an(g,p,i,a);t.arc(v.x,v.y,h,n-_t,p)}t.closePath()}function on(t,e){var i=e["options"],a="inner"===i.borderAlign;i.borderWidth&&(a?(t.lineWidth=2*i.borderWidth,t.lineJoin="round"):(t.lineWidth=i.borderWidth,t.lineJoin="bevel"),e.fullCircles&&function(t,e,i){var{x:a,y:n,startAngle:o,endAngle:r,pixelMargin:s}=e,l=Math.max(e.outerRadius-s,0),s=e.innerRadius+s;let h;for(i&&(e.endAngle=e.startAngle+mt,en(t,e),e.endAngle=r,e.endAngle===e.startAngle&&(e.endAngle+=mt,e.fullCircles--)),t.beginPath(),t.arc(a,n,s,o+mt,o,!0),h=0;h<e.fullCircles;++h)t.stroke();for(t.beginPath(),t.arc(a,n,l,o,o+mt),h=0;h<e.fullCircles;++h)t.stroke()}(t,e,a),a&&en(t,e),nn(t,e),t.stroke())}class rn extends Di{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){var{angle:a,distance:n}=Et(this.getProps(["x","y"],i),{x:t,y:e}),{startAngle:o,endAngle:r,innerRadius:t,outerRadius:e,circumference:i}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i);return(i>=mt||Vt(a,o,r))&&t<=n&&n<=e}getCenterPoint(t){var{x:e,y:i,startAngle:a,endAngle:n,innerRadius:o,outerRadius:t}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),n=(a+n)/2,t=(o+t)/2;return{x:e+Math.cos(n)*t,y:i+Math.sin(n)*t}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const e=this,i=e.options,a=i.offset||0;if(e.pixelMargin="inner"===i.borderAlign?.33:0,e.fullCircles=Math.floor(e.circumference/mt),!(0===e.circumference||e.innerRadius<0||e.outerRadius<0)){if(t.save(),a&&e.circumference<mt){const i=(e.startAngle+e.endAngle)/2;t.translate(Math.cos(i)*a,Math.sin(i)*a)}t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,function(e,i){if(i.fullCircles){i.endAngle=i.startAngle+mt,nn(e,i);for(let t=0;t<i.fullCircles;++t)e.fill()}isNaN(i.circumference)||(i.endAngle=i.startAngle+i.circumference%mt),nn(e,i),e.fill()}(t,e),on(t,e),t.restore()}}}function sn(t,e,i=e){t.lineCap=U(i.borderCapStyle,e.borderCapStyle),t.setLineDash(U(i.borderDash,e.borderDash)),t.lineDashOffset=U(i.borderDashOffset,e.borderDashOffset),t.lineJoin=U(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=U(i.borderWidth,e.borderWidth),t.strokeStyle=U(i.borderColor,e.borderColor)}function ln(t,e,i){t.lineTo(i.x,i.y)}function hn(t,e,i={}){var a=t.length,{start:n=0,end:o=a-1}=i,{start:r,end:s}=e,t=Math.max(n,r),i=Math.min(o,s);return{count:a,start:t,loop:e.loop,ilen:i<t&&!(n<r&&o<r||s<n&&s<o)?a+i-t:i-t}}function cn(t,e,i,a){const{points:n,options:o}=e,{count:r,start:s,loop:l,ilen:h}=hn(n,i,a),c=o.stepped?Gt:o.tension||"monotone"===o.cubicInterpolationMode?Zt:ln;let d,u,g,{move:f=!0,reverse:p}=a||{};for(d=0;d<=h;++d)u=n[(s+(p?h-d:d))%r],u.skip||(f?(t.moveTo(u.x,u.y),f=!1):c(t,g,u,p,o.stepped),g=u);return l&&(u=n[(s+(p?h:0))%r],c(t,g,u,p,o.stepped)),!!l}function dn(t,e,i,a){const n=e.points,{count:o,start:r,ilen:s}=hn(n,i,a),{move:l=!0,reverse:h}=a||{};let c,d,u,g,f,p,m=0,x=0;var b=t=>(r+(h?s-t:t))%o,v=()=>{g!==f&&(t.lineTo(m,f),t.lineTo(m,g),t.lineTo(m,p))};for(l&&(d=n[b(0)],t.moveTo(d.x,d.y)),c=0;c<=s;++c)if(d=n[b(c)],!d.skip){const e=d.x,i=d.y,a=0|e;a===u?(i<g?g=i:i>f&&(f=i),m=(x*m+e)/++x):(v(),t.lineTo(e,i),u=a,x=0,g=f=i),p=i}v()}function un(t){var e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?cn:dn}rn.id="arc",rn.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,angle:void 0},rn.defaultRoutes={backgroundColor:"backgroundColor"};const gn="function"==typeof Path2D;class fn extends Di{constructor(t){super(),this.animated=!0,this.options=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,t&&Object.assign(this,t)}updateControlPoints(t){var e,i=this.options;!i.tension&&"monotone"!==i.cubicInterpolationMode||i.stepped||this._pointsUpdated||(e=i.spanGaps?this._loop:this._fullLoop,ia(this._points,i,t,e),this._pointsUpdated=!0)}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=ga(this,this.options.segment))}first(){var t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){var t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(i,a){const n=this,o=n.options,r=i[a],s=n.points,l=ua(n,{property:a,start:r,end:r});if(l.length){const h=[],c=o.stepped?na:o.tension||"monotone"===o.cubicInterpolationMode?oa:aa;let e,t;for(e=0,t=l.length;e<t;++e){const{start:n,end:t}=l[e],d=s[n],u=s[t];if(d!==u){const g=c(d,u,Math.abs((r-d[a])/(u[a]-d[a])),o.stepped);g[a]=i[a],h.push(g)}else h.push(d)}return 1===h.length?h[0]:h}}pathSegment(t,e,i){return un(this)(t,this,e,i)}path(t,e,i){const a=this.segments,n=un(this);let o=this._loop;e=e||0,i=i||this.points.length-e;for(const r of a)o&=n(t,this,r,{start:e,end:e+i-1});return!!o}draw(t,e,i,a){var n,o=this.options||{};(this.points||[]).length&&o.borderWidth&&(t.save(),n=t,o=this,i=i,a=a,(gn&&1===o.segments.length?function(t,e,i,a){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,a)&&n.closePath()),sn(t,e.options),t.stroke(n)}:function(t,e,i,a){const{segments:n,options:o}=e,r=un(e);for(const s of n)sn(t,o,s.style),t.beginPath(),r(t,e,s,{start:i,end:i+a-1})&&t.closePath(),t.stroke()})(n,o,i,a),t.restore(),this.animated&&(this._pointsUpdated=!1,this._path=void 0))}}function pn(t,e,i,a){var n=t.options,{[i]:i}=t.getProps([i],a);return Math.abs(e-i)<n.radius+n.hitRadius}fn.id="line",fn.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},fn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},fn.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class mn extends Di{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){var a=this.options,{x:n,y:i}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-i,2)<Math.pow(a.hitRadius+a.radius,2)}inXRange(t,e){return pn(this,t,"x",e)}inYRange(t,e){return pn(this,t,"y",e)}getCenterPoint(t){var{x:e,y:t}=this.getProps(["x","y"],t);return{x:e,y:t}}size(t){var e=(t=t||this.options||{}).radius||0;return 2*((e=Math.max(e,e&&t.hoverRadius||0))+(e&&t.borderWidth||0))}draw(t){var e=this.options;this.skip||e.radius<.1||(t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,Ut(t,e,this.x,this.y))}getRange(){var t=this.options||{};return t.radius+t.hitRadius}}function xn(t,e){var{x:i,y:a,base:n,width:o,height:e}=t.getProps(["x","y","base","width","height"],e);let r,s,l,h,c;return h=t.horizontal?(c=e/2,r=Math.min(i,n),s=Math.max(i,n),l=a-c,a+c):(c=o/2,r=i-c,s=i+c,l=Math.min(a,n),Math.max(a,n)),{left:r,top:l,right:s,bottom:h}}function bn(t){let e=t.options.borderSkipped;const i={};return e&&(e=t.horizontal?vn(e,"left","right",t.base>t.x):vn(e,"bottom","top",t.base<t.y),i[e]=!0),i}function vn(t,e,i,a){return t=a?_n(t=t===e?i:t===i?e:t,i,e):_n(t,e,i)}function _n(t,e,i){return"start"===t?e:"end"===t?i:t}function yn(t,e,i,a){return t?0:Math.max(Math.min(e,a),i)}function wn(t,e,i,a){var n=null===e,o=null===i,a=t&&!(n&&o)&&xn(t,a);return a&&(n||e>=a.left&&e<=a.right)&&(o||i>=a.top&&i<=a.bottom)}function Mn(t,e){t.rect(e.x,e.y,e.w,e.h)}mn.id="point",mn.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},mn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class kn extends Di{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,t&&Object.assign(this,t)}draw(t){const e=this.options,{inner:i,outer:a}=(c=xn(o=this),d=c.right-c.left,u=c.bottom-c.top,l=d/2,g=u/2,h=(s=o).options.borderWidth,s=bn(s),h=Ae(h),f={t:yn(s.top,h.top,0,g),r:yn(s.right,h.right,0,l),b:yn(s.bottom,h.bottom,0,g),l:yn(s.left,h.left,0,l)},r=d/2,g=u/2,h=(s=o).getProps(["enableBorderRadius"]).enableBorderRadius,l=s.options.borderRadius,o=Te(l),g=Math.min(r,g),s=bn(s),g={topLeft:yn(!(l=h||j(l))||s.top||s.left,o.topLeft,0,g),topRight:yn(!l||s.top||s.right,o.topRight,0,g),bottomLeft:yn(!l||s.bottom||s.left,o.bottomLeft,0,g),bottomRight:yn(!l||s.bottom||s.right,o.bottomRight,0,g)},{outer:{x:c.left,y:c.top,w:d,h:u,radius:g},inner:{x:c.left+f.l,y:c.top+f.t,w:d-f.l-f.r,h:u-f.t-f.b,radius:{topLeft:Math.max(0,g.topLeft-Math.max(f.t,f.l)),topRight:Math.max(0,g.topRight-Math.max(f.t,f.r)),bottomLeft:Math.max(0,g.bottomLeft-Math.max(f.b,f.l)),bottomRight:Math.max(0,g.bottomRight-Math.max(f.b,f.r))}}}),n=(f=a.radius).topLeft||f.topRight||f.bottomLeft||f.bottomRight?Jt:Mn;var o,r,s,l,h,c,d,u,g,f;t.save(),a.w===i.w&&a.h===i.h||(t.beginPath(),n(t,a),t.clip(),n(t,i),t.fillStyle=e.borderColor,t.fill("evenodd")),t.beginPath(),n(t,i),t.fillStyle=e.backgroundColor,t.fill(),t.restore()}inRange(t,e,i){return wn(this,t,e,i)}inXRange(t,e){return wn(this,t,null,e)}inYRange(t,e){return wn(this,null,t,e)}getCenterPoint(t){var{x:e,y:i,base:a,horizontal:t}=this.getProps(["x","y","base","horizontal"],t);return{x:t?(e+a)/2:e,y:t?i:(i+a)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}kn.id="bar",kn.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},kn.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Sn=Object.freeze({__proto__:null,ArcElement:rn,LineElement:fn,PointElement:mn,BarElement:kn});function Pn(t){var e;t._decimated&&(e=t._data,delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e}))}function Dn(t){t.data.datasets.forEach(t=>{Pn(t)})}var Cn={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(i,t,w)=>{if(w.enabled){const r=i.width;i.data.datasets.forEach((a,t)=>{var{_data:n,indexAxis:e}=a,h=i.getDatasetMeta(t),o=n||a.data;if("y"!==Ee([e,i.options.indexAxis])&&"line"===h.type){e=i.scales[h.xAxisID];if(("linear"===e.type||"time"===e.type)&&!i.options.parsing){let t,{start:e,count:i}=function(t){var e=t.length;let i,a=0;const n=h["iScale"],{min:o,max:r,minDefined:s,maxDefined:l}=n.getUserBounds();return s&&(a=Bt(ee(t,n.axis,o).lo,0,e-1)),i=l?Bt(ee(t,n.axis,r).hi+1,a,e)-a:e-a,{start:a,count:i}}(o);if(i<=4*r)Pn(a);else{switch(H(n)&&(a._data=o,delete a.data,Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),w.algorithm){case"lttb":t=function(a,n,o,t){var e=w.samples||t;if(o<=e)return a.slice(n,n+o);const r=[],s=(o-2)/(e-2);let l=0;const h=n+o-1;let c,d,u,g,f,p=n;for(r[l++]=a[p],c=0;c<e-2;c++){let t,e=0,i=0;const h=Math.floor((c+1)*s)+1+n,_=Math.min(Math.floor((c+2)*s)+1,o)+n,y=_-h;for(t=h;t<_;t++)e+=a[t].x,i+=a[t].y;e/=y,i/=y;var m=Math.floor(c*s)+1+n,x=Math.floor((c+1)*s)+1+n,{x:b,y:v}=a[p];for(u=-1,t=m;t<x;t++)(g=.5*Math.abs((b-e)*(a[t].y-v)-(b-a[t].x)*(i-v)))>u&&(u=g,d=a[t],f=t);r[l++]=d,p=f}return r[l++]=a[h],r}(o,e,i,r);break;case"min-max":t=function(t,e,i,a){let n,o,r,s,l,h,c,d,u,g,f=0,p=0;const m=[],x=e+i-1,b=t[e].x,v=t[x].x-b;for(n=e;n<e+i;++n){r=((o=t[n]).x-b)/v*a,s=o.y;const e=0|r;if(e===l)s<u?(u=s,h=n):s>g&&(g=s,c=n),f=(p*f+o.x)/++p;else{const i=n-1;if(!H(h)&&!H(c)){const e=Math.min(h,c),a=Math.max(h,c);e!==d&&e!==i&&m.push({...t[e],x:f}),a!==d&&a!==i&&m.push({...t[a],x:f})}0<n&&i!==d&&m.push(t[i]),m.push(o),l=e,p=0,u=g=s,h=c=d=n}}return m}(o,e,i,r);break;default:throw new Error(`Unsupported decimation algorithm '${w.algorithm}'`)}a._decimated=t}}}})}else Dn(i)},destroy(t){Dn(t)}};class On{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){var{x:a,y:n,radius:o}=this;return e=e||{start:0,end:mt},t.arc(a,n,o,e.end,e.start,!0),!i.bounds}interpolate(t){var{x:e,y:i,radius:a}=this,t=t.angle;return{x:e+Math.cos(t)*a,y:i+Math.sin(t)*a,angle:t}}}function An(t){const{chart:e,scale:i,index:a,line:n}=t,o=[],r=n.segments,s=n.points,l=function(t,e){const i=[],a=t.getSortedVisibleDatasetMetas();for(let t=0;t<a.length;t++){var n=a[t];if(n.index===e)break;Tn(n)&&i.unshift(n.dataset)}return i}(e,a);l.push(Rn({x:null,y:i.bottom},n));for(let t=0;t<r.length;t++){const e=r[t];for(let t=e.start;t<=e.end;t++)!function(e,i,a){const n=[];for(let t=0;t<a.length;t++){var{first:o,last:r,point:s}=function(t,e,i){const a=t.interpolate(e,i);if(!a)return{};var n=a[i],o=t.segments,r=t.points;let s=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],a=r[e.start][i],h=r[e.end][i];if(n>=a&&n<=h){s=n===a,l=n===h;break}}return{first:s,last:l,point:a}}(a[t],i,"x");if(!(!s||o&&r))if(o)n.unshift(s);else if(e.push(s),!r)break}e.push(...n)}(o,s[t],l)}return new fn({points:o,options:{}})}const Tn=t=>"line"===t.type&&!t.hidden;function Rn(e,t){let i=[],a=!1;return i=N(e)?(a=!0,e):function(t){const{x:i=null,y:a=null}=e||{},n=t.points,o=[];return t.segments.forEach(t=>{var e=n[t.start],t=n[t.end];null!==a?(o.push({x:e.x,y:a}),o.push({x:t.x,y:a})):null!==i&&(o.push({x:i,y:e.y}),o.push({x:i,y:t.y}))}),o}(t),i.length?new fn({points:i,options:{tension:0},_loop:a,_fullLoop:a}):null}function Ln(t,e,i){t.beginPath(),e.path(t),t.lineTo(e.last().x,i),t.lineTo(e.first().x,i),t.closePath(),t.clip()}function En(i,a,n,t){if(!t){let t=a[i],e=n[i];return"angle"===i&&(t=Ft(t),e=Ft(e)),{property:i,start:t,end:e}}}function In(t,e,i,a){return t&&e?a(t[i],e[i]):t?t[i]:e?e[i]:0}function zn(t,e,i,a){a=e.interpolate(i,a);a&&t.lineTo(a.x,a.y)}function Fn(t,e){const{line:i,target:a,property:n,color:o,scale:r}=e,s=function(t,e,i){const a=t.segments,n=t.points,o=e.points,r=[];for(const t of a){const a=En(i,n[t.start],n[t.end],t.loop);if(e.segments){var s=ua(e,a);for(const e of s){var l=En(i,o[e.start],o[e.end],e.loop),h=da(t,n,l);for(const t of h)r.push({source:t,target:e,start:{[i]:In(a,l,"start",Math.max)},end:{[i]:In(a,l,"end",Math.min)}})}}else r.push({source:t,target:a,start:n[t.start],end:n[t.end]})}return r}(i,a,n);for(const{source:e,target:c,start:d,end:u}of s){const{style:{backgroundColor:s=o}={}}=e;t.save(),t.fillStyle=s,function(t,e,i){var{top:a,bottom:n}=e.chart.chartArea,{property:o,start:e,end:i}=i||{};"x"===o&&(t.beginPath(),t.rect(e,a,i-e,n-a),t.clip())}(t,r,En(n,d,u)),t.beginPath();var l=!!i.pathSegment(t,e);l?t.closePath():zn(t,a,u,n);var h=!!a.pathSegment(t,c,{move:l,reverse:!0}),h=l&&h;h||zn(t,a,d,n),t.closePath(),t.fill(h?"evenodd":"nonzero"),t.restore()}}function Vn(t,e,i){var a=function(t){var e,i,{chart:a,fill:n,line:o}=t;if(Y(n))return i=n,(a=(e=a).getDatasetMeta(i))&&e.isDatasetVisible(i)?a.dataset:null;if("stack"===n)return An(t);var c,t=(((c=t).scale||{}).getPointPositionForValue?function(){const{scale:t,fill:e}=c,i=t.options,a=t.getLabels().length,n=[],o=i.reverse?t.max:t.min,r=i.reverse?t.min:t.max;let s,l,h;if(h="start"===e?o:"end"===e?r:j(e)?e.value:t.getBaseValue(),i.grid.circular)return l=t.getPointPositionForValue(0,o),new On({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(h)});for(s=0;s<a;++s)n.push(t.getPointPositionForValue(s,h));return n}:function(){const{scale:t={},fill:e}=c;let i,a=null;return"start"===e?a=t.bottom:"end"===e?a=t.top:j(e)?a=t.getPixelForValue(e.value):t.getBasePixel&&(a=t.getBasePixel()),Y(a)?{x:(i=t.isHorizontal())?a:null,y:i?null:a}:null})();return t instanceof On?t:Rn(t,o)}(e),{line:n,scale:o,axis:r}=e,s=n.options,e=s.fill,s=s.backgroundColor,{above:e=s,below:s=s}=e||{};a&&n.points.length&&(qt(t,i),function(t,e){var{line:i,target:a,above:n,below:o,area:r,scale:s}=e,e=i._loop?"angle":e.axis;t.save(),"x"===e&&o!==n&&(Ln(t,a,r.top),Fn(t,{line:i,target:a,color:n,scale:s,property:e}),t.restore(),t.save(),Ln(t,a,r.bottom)),Fn(t,{line:i,target:a,color:o,scale:s,property:e}),t.restore()}(t,{line:n,target:a,above:e,below:s,area:i,scale:o,axis:r}),Kt(t))}var Bn={id:"filler",afterDatasetsUpdate(t,e,i){const a=(t.data.datasets||[]).length,n=[];let o,r,s,l;for(r=0;r<a;++r)o=t.getDatasetMeta(r),s=o.dataset,l=null,s&&s.options&&s instanceof fn&&(l={visible:t.isDatasetVisible(r),index:r,fill:function(a,t,e){var i=function(){var t=a.options,e=t.fill;let i=U(e&&e.target,e);return void 0===i&&(i=!!t.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}();if(j(i))return!isNaN(i.value)&&i;let n=parseFloat(i);return Y(n)&&Math.floor(n)===n?("-"!==i[0]&&"+"!==i[0]||(n=t+n),!(n===t||n<0||n>=e)&&n):0<=["origin","start","end","stack"].indexOf(i)&&i}(s,r,a),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=l,n.push(l);for(r=0;r<a;++r)l=n[r],l&&!1!==l.fill&&(l.fill=function(t,e,i){let a=t[e].fill;const n=[e];var o;if(!i)return a;for(;!1!==a&&-1===n.indexOf(a);){if(!Y(a))return a;if(!(o=t[a]))return!1;if(o.visible)return a;n.push(a),a=o.fill}return!1}(n,r,i.propagate))},beforeDraw(e,t,i){var a="beforeDraw"===i.drawTime,n=e.getSortedVisibleDatasetMetas(),o=e.chartArea;for(let t=n.length-1;0<=t;--t){const i=n[t].$filler;i&&(i.line.updateControlPoints(o),a&&Vn(e.ctx,i,o))}},beforeDatasetsDraw(e,t,i){if("beforeDatasetsDraw"===i.drawTime){var a=e.getSortedVisibleDatasetMetas();for(let t=a.length-1;0<=t;--t){const i=a[t].$filler;i&&Vn(e.ctx,i,e.chartArea)}}},beforeDatasetDraw(t,e,i){e=e.meta.$filler;e&&!1!==e.fill&&"beforeDatasetDraw"===i.drawTime&&Vn(t.ctx,e,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Wn=(t,e)=>{let{boxHeight:i=e,boxWidth:a=e}=t;return t.usePointStyle&&(i=Math.min(i,e),a=Math.min(a,e)),{boxWidth:a,boxHeight:i,itemHeight:Math.max(e,i)}};class Hn extends Di{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){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)}buildLabels(){const i=this,a=i.options.labels||{};let t=K(a.generateLabels,[i.chart],i)||[];a.filter&&(t=t.filter(t=>a.filter(t,i.chart.data))),a.sort&&(t=t.sort((t,e)=>a.sort(t,e,i.chart.data))),i.options.reverse&&t.reverse(),i.legendItems=t}fit(){const i=this,{options:a,ctx:n}=i;if(a.display){var o=a.labels,r=Le(o.font),s=r.size,l=i._computeTitleHeight(),{boxWidth:h,itemHeight:o}=Wn(o,s);let t,e;n.font=r.string,i.isHorizontal()?(t=i.maxWidth,e=i._fitRows(l,s,h,o)+10):(e=i.maxHeight,t=i._fitCols(l,s,h,o)+10),i.width=Math.min(t,a.maxWidth||i.maxWidth),i.height=Math.min(e,a.maxHeight||i.maxHeight)}else i.width=i.height=0}_fitRows(t,i,a,n){const{ctx:o,maxWidth:r,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],h=this.lineWidths=[0],c=n+s;let d=t;o.textAlign="left",o.textBaseline="middle";let u=-1,g=-c;return this.legendItems.forEach((t,e)=>{t=a+i/2+o.measureText(t.text).width;(0===e||h[h.length-1]+t+2*s>r)&&(d+=c,h[h.length-(0<e?0:1)]=0,g+=c,u++),l[e]={left:0,top:g,row:u,width:t,height:n},h[h.length-1]+=t+s}),d}_fitCols(t,i,a,n){const{ctx:o,maxHeight:e,options:{labels:{padding:r}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],h=e-t;let c=r,d=0,u=0,g=0,f=0,p=0;return this.legendItems.forEach((t,e)=>{t=a+i/2+o.measureText(t.text).width;0<e&&u+i+2*r>h&&(c+=d+r,l.push({width:d,height:u}),g+=d+r,p++,f=0,d=u=0),d=Math.max(d,t),u+=i+r,s[e]={left:g,top:f,col:p,width:t,height:n},f+=n+r}),c+=d,l.push({width:d,height:u}),c}adjustHitBoxes(){var i=this;if(i.options.display){var a=i._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r}}}=i;if(this.isHorizontal()){let t=0,e=T(o,i.left+r,i.right-i.lineWidths[t]);for(const s of n)t!==s.row&&(t=s.row,e=T(o,i.left+r,i.right-i.lineWidths[t])),s.top+=i.top+a+r,s.left=e,e+=s.width+r}else{let t=0,e=T(o,i.top+a+r,i.bottom-i.columnSizes[t].height);for(const l of n)l.col!==t&&(t=l.col,e=T(o,i.top+a+r,i.bottom-i.columnSizes[t].height)),l.top=e,l.left+=i.left+r,e+=l.height+r}}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){var t;this.options.display&&(qt(t=this.ctx,this),this._draw(),Kt(t))}_draw(){const d=this,{options:t,columnSizes:u,lineWidths:g,ctx:f}=d,{align:p,labels:m}=t,x=ft.color,b=ra(t.rtl,d.left,d.width),v=Le(m.font),{color:_,padding:y}=m,w=v.size,M=w/2;let k;d.drawTitle(),f.textAlign=b.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.font=v.string;const{boxWidth:S,boxHeight:P,itemHeight:D}=Wn(m,w),C=d.isHorizontal(),O=this._computeTitleHeight();k=C?{x:T(p,d.left+y,d.right-g[0]),y:d.top+y+O,line:0}:{x:d.left+y,y:T(p,d.top+O+y,d.bottom-u[0].height),line:0},sa(d.ctx,t.textDirection);const A=D+y;d.legendItems.forEach((t,e)=>{f.strokeStyle=t.fontColor||_,f.fillStyle=t.fontColor||_;var i,a,n,o,r=f.measureText(t.text).width,s=b.textAlign(t.textAlign||(t.textAlign=m.textAlign)),l=S+w/2+r;let h=k.x,c=k.y;b.setWidth(d.width),C?0<e&&h+l+y>d.right&&(c=k.y+=A,k.line++,h=k.x=T(p,d.left+y,d.right-g[k.line])):0<e&&c+A>d.bottom&&(h=k.x=h+u[k.line].width+y,k.line++,c=k.y=T(p,d.top+O+y,d.bottom-u[k.line].height)),i=b.x(h),a=c,n=t,isNaN(S)||S<=0||isNaN(P)||P<0||(f.save(),o=U(n.lineWidth,1),f.fillStyle=U(n.fillStyle,x),f.lineCap=U(n.lineCap,"butt"),f.lineDashOffset=U(n.lineDashOffset,0),f.lineJoin=U(n.lineJoin,"miter"),f.lineWidth=o,f.strokeStyle=U(n.strokeStyle,x),f.setLineDash(U(n.lineDash,[])),m.usePointStyle?(r={radius:S*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},e=b.xPlus(i,S/2),Ut(f,r,e,a+M)):(a=a+Math.max((w-P)/2,0),i=b.leftForLtr(i,S),n=Te(n.borderRadius),f.beginPath(),Object.values(n).some(t=>0!==t)?Jt(f,{x:i,y:a,w:S,h:P,radius:n}):f.rect(i,a,S,P),f.fill(),0!==o&&f.stroke()),f.restore()),h=R(s,h+S+M,d.right),o=b.x(h),s=c,t=t,Qt(f,t.text,o,s+D/2,v,{strikethrough:t.hidden,textAlign:t.textAlign}),C?k.x+=l+y:k.y+=A}),la(d.ctx,t.textDirection)}drawTitle(){const a=this,n=a.options,o=n.title,r=Le(o.font),s=Re(o.padding);if(o.display){const h=ra(n.rtl,a.left,a.width),c=a.ctx,d=o.position,u=r.size/2,g=s.top+u;let t,e=a.left,i=a.width;if(this.isHorizontal())i=Math.max(...a.lineWidths),t=a.top+g,e=T(n.align,e,a.right-i);else{const o=a.columnSizes.reduce((t,e)=>Math.max(t,e.height),0);t=g+T(n.align,a.top,a.bottom-o-n.labels.padding-a._computeTitleHeight())}var l=T(d,e,e+i);c.textAlign=h.textAlign(f(d)),c.textBaseline="middle",c.strokeStyle=o.color,c.fillStyle=o.color,c.font=r.string,Qt(c,o.text,l,t,r)}}_computeTitleHeight(){var t=this.options.title,e=Le(t.font),i=Re(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,a,n;if(t>=this.left&&t<=this.right&&e>=this.top&&e<=this.bottom)for(n=this.legendHitBoxes,i=0;i<n.length;++i)if(t>=(a=n[i]).left&&t<=a.left+a.width&&e>=a.top&&e<=a.top+a.height)return this.legendItems[i];return null}handleEvent(t){var e,i,a,n=this,o=n.options;("mousemove"===(a=t.type)&&(o.onHover||o.onLeave)||o.onClick&&("click"===a||"mouseup"===a))&&(e=n._getLegendItemAt(t.x,t.y),"mousemove"===t.type?(a=null!==(i=n._hoveredItem)&&null!==e&&i.datasetIndex===e.datasetIndex&&i.index===e.index,i&&!a&&K(o.onLeave,[t,i,n],n),(n._hoveredItem=e)&&!a&&K(o.onHover,[t,e,n],n)):e&&K(o.onClick,[t,e,n],n))}}var Nn={id:"legend",_element:Hn,start(t,e,i){var a=t.legend=new Hn({ctx:t.ctx,options:i,chart:t});$e.configure(t,a,i),$e.addBox(t,a)},stop(t){$e.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const a=t.legend;$e.configure(t,a,i),a.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const a=e.datasetIndex,n=i.chart;n.isDatasetVisible(a)?(n.hide(a),e.hidden=!0):(n.show(a),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const a=t.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:s}}=t.legend.options;return t._getSortedDatasetMetas().map(t=>{var e=t.controller.getStyle(n?0:void 0),i=Re(e.borderWidth);return{text:a[t.index].label,fillStyle:e.backgroundColor,fontColor:s,hidden:!t.visible,lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:(i.width+i.height)/4,strokeStyle:e.borderColor,pointStyle:o||e.pointStyle,rotation:e.rotation,textAlign:r||e.textAlign,borderRadius:0,datasetIndex:t.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class jn extends Di{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){var i=this,a=i.options;i.left=0,i.top=0,a.display?(i.width=i.right=t,i.height=i.bottom=e,e=N(a.text)?a.text.length:1,i._padding=Re(a.padding),a=e*Le(a.font).lineHeight+i._padding.height,i.isHorizontal()?i.height=a:i.width=a):i.width=i.height=i.right=i.bottom=0}isHorizontal(){var t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){var{top:e,left:i,bottom:a,right:n,options:o}=this,r=o.align;let s,l,h,c=0;return s=this.isHorizontal()?(l=T(r,i,n),h=e+t,n-i):(c="left"===o.position?(l=i+t,h=T(r,a,e),-.5*pt):(l=n-t,h=T(r,e,a),.5*pt),a-e),{titleX:l,titleY:h,maxWidth:s,rotation:c}}draw(){var t,e,i,a,n,o=this.ctx,r=this.options;r.display&&(n=(t=Le(r.font)).lineHeight/2+this._padding.top,{titleX:e,titleY:i,maxWidth:a,rotation:n}=this._drawArgs(n),Qt(o,r.text,0,0,t,{color:r.color,maxWidth:a,rotation:n,textAlign:f(r.align),textBaseline:"middle",translation:[e,i]}))}}var Yn={id:"title",_element:jn,start(t,e,i){var a;a=t,t=i,i=new jn({ctx:a.ctx,options:t,chart:a}),$e.configure(a,i,t),$e.addBox(a,i),a.titleBlock=i},stop(t){var e=t.titleBlock;$e.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const a=t.titleBlock;$e.configure(t,a,i),a.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const $n={average(t){if(!t.length)return!1;let e,i,a=0,n=0,o=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();a+=t.x,n+=t.y,++o}}return{x:a/o,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,a,n,o=e.x,r=e.y,s=Number.POSITIVE_INFINITY;for(i=0,a=t.length;i<a;++i){const a=t[i].element;if(a&&a.hasValue()){const t=It(e,a.getCenterPoint());t<s&&(s=t,n=a)}}if(n){const t=n.tooltipPosition();o=t.x,r=t.y}return{x:o,y:r}}};function Un(t,e){return e&&(N(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Xn(t){return("string"==typeof t||t instanceof String)&&-1<t.indexOf("\n")?t.split("\n"):t}function qn(t,e){const i=t._chart.ctx,{body:a,footer:n,title:o}=t,{boxWidth:r,boxHeight:s}=e,l=Le(e.bodyFont),h=Le(e.titleFont),c=Le(e.footerFont),d=o.length,u=n.length,g=a.length,f=Re(e.padding);let p=f.height,m=0,x=a.reduce((t,e)=>t+e.before.length+e.lines.length+e.after.length,0);x+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*h.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),x&&(p+=g*(e.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(x-g)*l.lineHeight+(x-1)*e.bodySpacing),u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let b=0;function v(t){m=Math.max(m,i.measureText(t).width+b)}return i.save(),i.font=h.string,G(t.title,v),i.font=l.string,G(t.beforeBody.concat(t.afterBody),v),b=e.displayColors?r+2:0,G(a,t=>{G(t.before,v),G(t.lines,v),G(t.after,v)}),b=0,i.font=c.string,G(t.footer,v),i.restore(),m+=f.width,{width:m,height:p}}function Kn(i,t,a){var e=t.yAlign||function(){var{y:t,height:e}=a;return t<e/2?"top":t>i.height-e/2?"bottom":"center"}();return{xAlign:t.xAlign||function(n,o,r,t){var{x:e,width:i}=r,{width:a,chartArea:{left:s,right:l}}=n;let h="center";return"center"===t?h=e<=(s+l)/2?"left":"right":e<=i/2?h="left":a-i/2<=e&&(h="right"),function(t){var{x:e,width:i}=r,a=o.caretSize+o.caretPadding;return"left"===t&&e+i+a>n.width||"right"===t&&e-i-a<0}(h)&&(h="center"),h}(i,t,a,e),yAlign:e}}function Gn(t,i,e,a){var{caretSize:n,caretPadding:o,cornerRadius:t}=t,{xAlign:r,yAlign:s}=e,l=n+o,t=t+o;let h=function(){let{x:t,width:e}=i;return"right"===r?t-=e:"center"===r&&(t-=e/2),t}();o=function(){let{y:t,height:e}=i;return"top"===s?t+=l:t-="bottom"===s?e+l:e/2,t}();return"center"===s?"left"===r?h+=l:"right"===r&&(h-=l):"left"===r?h-=t:"right"===r&&(h+=t),{x:Bt(h,0,a.width-i.width),y:Bt(o,0,a.height-i.height)}}function Zn(t,e,i){i=Re(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function Qn(t){return Un([],Xn(t))}function Jn(t,e){e=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return e?t.override(e):t}class to extends Di{constructor(t){super(),this.opacity=0,this._active=[],this._chart=t._chart,this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){var t=this._cachedAnimations;if(t)return t;var e=this._chart,t=this.options.setContext(this.getContext()),e=t.enabled&&e.options.animation&&t.animations,t=new pi(this._chart,e);return e._cacheable&&(this._cachedAnimations=Object.freeze(t)),t}getContext(){var t,e;return this.$context||(this.$context=(t=this._chart.getContext(),e=this._tooltipItems,Object.assign(Object.create(t),{tooltip:this,tooltipItems:e,type:"tooltip"})))}getTitle(t,e){const i=e["callbacks"],a=i.beforeTitle.apply(this,[t]),n=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);t=Un(t=[],Xn(a));return t=Un(t,Xn(n)),t=Un(t,Xn(o))}getBeforeBody(t,e){return Qn(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const a=this,n=e["callbacks"],o=[];return G(t,t=>{const e={before:[],lines:[],after:[]},i=Jn(n,t);Un(e.before,Xn(i.beforeLabel.call(a,t))),Un(e.lines,i.label.call(a,t)),Un(e.after,Xn(i.afterLabel.call(a,t))),o.push(e)}),o}getAfterBody(t,e){return Qn(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const i=e["callbacks"],a=i.beforeFooter.apply(this,[t]),n=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);t=Un(t=[],Xn(a));return t=Un(t,Xn(n)),t=Un(t,Xn(o))}_createItems(a){const i=this,t=i._active,n=i._chart.data,o=[],r=[],s=[];let e,l,h=[];for(e=0,l=t.length;e<l;++e)h.push(function(t,e){const{element:i,datasetIndex:a,index:n}=e,o=t.getDatasetMeta(a).controller,{label:r,value:s}=o.getLabelAndValue(n);return{chart:t,label:r,parsed:o.getParsed(n),raw:t.data.datasets[a].data[n],formattedValue:s,dataset:o.getDataset(),dataIndex:n,datasetIndex:a,element:i}}(i._chart,t[e]));return a.filter&&(h=h.filter((t,e,i)=>a.filter(t,e,i,n))),a.itemSort&&(h=h.sort((t,e)=>a.itemSort(t,e,n))),G(h,t=>{const e=Jn(a.callbacks,t);o.push(e.labelColor.call(i,t)),r.push(e.labelPointStyle.call(i,t)),s.push(e.labelTextColor.call(i,t))}),i.labelColors=o,i.labelPointStyles=r,i.labelTextColors=s,i.dataPoints=h,h}update(t,e){const i=this,a=i.options.setContext(i.getContext()),n=i._active;let o,r=[];if(n.length){const t=$n[a.position].call(i,n,i._eventPosition);r=i._createItems(a),i.title=i.getTitle(r,a),i.beforeBody=i.getBeforeBody(r,a),i.body=i.getBody(r,a),i.afterBody=i.getAfterBody(r,a),i.footer=i.getFooter(r,a);const e=i._size=qn(i,a),s=Object.assign({},t,e),l=Kn(i._chart,a,s),h=Gn(a,s,l,i._chart);i.xAlign=l.xAlign,i.yAlign=l.yAlign,o={opacity:1,x:h.x,y:h.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==i.opacity&&(o={opacity:0});i._tooltipItems=r,i.$context=void 0,o&&i._resolveAnimations().update(i,o),t&&a.external&&a.external.call(i,{chart:i._chart,tooltip:i,replay:e})}drawCaret(t,e,i,a){a=this.getCaretPosition(t,i,a);e.lineTo(a.x1,a.y1),e.lineTo(a.x2,a.y2),e.lineTo(a.x3,a.y3)}getCaretPosition(t,e,i){var{xAlign:a,yAlign:n}=this,{cornerRadius:o,caretSize:r}=i,{x:s,y:i}=t,{width:t,height:e}=e;let l,h,c,d,u,g;return"center"===n?(u=i+e/2,g="left"===a?(l=s,h=l-r,d=u+r,u-r):(l=s+t,h=l+r,d=u-r,u+r),c=l):(h="left"===a?s+o+r:"right"===a?s+t-o-r:this.caretX,c="top"===n?(d=i,u=d-r,l=h-r,h+r):(d=i+e,u=d+r,l=h+r,h-r),g=d),{x1:l,x2:h,x3:c,y1:d,y2:u,y3:g}}drawTitle(t,e,i){var a=this.title,n=a.length;let o,r,s;if(n){const l=ra(i.rtl,this.x,this.width);for(t.x=Zn(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=Le(i.titleFont),r=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,s=0;s<n;++s)e.fillText(a[s],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+r,s+1===n&&(t.y+=i.titleMarginBottom-r)}}_drawColorBox(t,e,i,a,n){const o=this,r=o.labelColors[i],s=o.labelPointStyles[i],{boxHeight:l,boxWidth:h}=n,c=Le(n.bodyFont),d=Zn(o,"left",n),u=a.x(d),g=l<c.lineHeight?(c.lineHeight-l)/2:0,f=e.y+g;if(n.usePointStyle){const e={radius:Math.min(h,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},i=a.leftForLtr(u,h)+h/2,o=f+l/2;t.strokeStyle=n.multiKeyBackground,t.fillStyle=n.multiKeyBackground,Ut(t,e,i,o),t.strokeStyle=r.borderColor,t.fillStyle=r.backgroundColor,Ut(t,e,i,o)}else{t.lineWidth=r.borderWidth||1,t.strokeStyle=r.borderColor,t.setLineDash(r.borderDash||[]),t.lineDashOffset=r.borderDashOffset||0;const e=a.leftForLtr(u,h),i=a.leftForLtr(a.xPlus(u,1),h-2),o=Te(r.borderRadius);Object.values(o).some(t=>0!==t)?(t.beginPath(),t.fillStyle=n.multiKeyBackground,Jt(t,{x:e,y:f,w:h,h:l,radius:o}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),Jt(t,{x:i,y:f+1,w:h-2,h:l-2,radius:o}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,f,h,l),t.strokeRect(e,f,h,l),t.fillStyle=r.backgroundColor,t.fillRect(i,f+1,h-2,l-2))}t.fillStyle=o.labelTextColors[i]}drawBody(e,i,t){const a=this["body"],{bodySpacing:n,bodyAlign:o,displayColors:r,boxHeight:s,boxWidth:l}=t,h=Le(t.bodyFont);let c=h.lineHeight,d=0;function u(t){i.fillText(t,g.x(e.x+d),e.y+c/2),e.y+=c+n}const g=ra(t.rtl,this.x,this.width),f=g.textAlign(o);let p,m,x,b,v,_,y;for(i.textAlign=o,i.textBaseline="middle",i.font=h.string,e.x=Zn(this,f,t),i.fillStyle=t.bodyColor,G(this.beforeBody,u),d=r&&"right"!==f?"center"===o?l/2+1:l+2:0,b=0,_=a.length;b<_;++b){for(p=a[b],m=this.labelTextColors[b],i.fillStyle=m,G(p.before,u),x=p.lines,r&&x.length&&(this._drawColorBox(i,e,b,g,t),c=Math.max(h.lineHeight,s)),v=0,y=x.length;v<y;++v)u(x[v]),c=h.lineHeight;G(p.after,u)}d=0,c=h.lineHeight,G(this.afterBody,u),e.y-=n}drawFooter(t,e,i){var a=this.footer,n=a.length;let o,r;if(n){const s=ra(i.rtl,this.x,this.width);for(t.x=Zn(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=s.textAlign(i.footerAlign),e.textBaseline="middle",o=Le(i.footerFont),e.fillStyle=i.footerColor,e.font=o.string,r=0;r<n;++r)e.fillText(a[r],s.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+i.footerSpacing}}drawBackground(t,e,i,a){var{xAlign:n,yAlign:o}=this,{x:r,y:s}=t,{width:l,height:h}=i,c=a.cornerRadius;e.fillStyle=a.backgroundColor,e.strokeStyle=a.borderColor,e.lineWidth=a.borderWidth,e.beginPath(),e.moveTo(r+c,s),"top"===o&&this.drawCaret(t,e,i,a),e.lineTo(r+l-c,s),e.quadraticCurveTo(r+l,s,r+l,s+c),"center"===o&&"right"===n&&this.drawCaret(t,e,i,a),e.lineTo(r+l,s+h-c),e.quadraticCurveTo(r+l,s+h,r+l-c,s+h),"bottom"===o&&this.drawCaret(t,e,i,a),e.lineTo(r+c,s+h),e.quadraticCurveTo(r,s+h,r,s+h-c),"center"===o&&"left"===n&&this.drawCaret(t,e,i,a),e.lineTo(r,s+c),e.quadraticCurveTo(r,s,r+c,s),e.closePath(),e.fill(),0<a.borderWidth&&e.stroke()}_updateAnimationTarget(t){const e=this,i=e._chart,a=e.$animations,n=a&&a.x,o=a&&a.y;if(n||o){const a=$n[t.position].call(e,e._active,e._eventPosition);var r,s;a&&(r=e._size=qn(e,t),s=Gn(t,s=Object.assign({},a,e._size),t=Kn(i,t,s),i),n._to===s.x&&o._to===s.y||(e.xAlign=t.xAlign,e.yAlign=t.yAlign,e.width=r.width,e.height=r.height,e.caretX=a.x,e.caretY=a.y,e._resolveAnimations().update(e,s)))}}draw(t){var e=this,i=e.options.setContext(e.getContext());let a=e.opacity;if(a){e._updateAnimationTarget(i);const r={width:e.width,height:e.height},s={x:e.x,y:e.y};a=Math.abs(a)<.001?0:a;var n=Re(i.padding),o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;i.enabled&&o&&(t.save(),t.globalAlpha=a,e.drawBackground(s,t,r,i),sa(t,i.textDirection),s.y+=n.top,e.drawTitle(s,t,i),e.drawBody(s,t,i),e.drawFooter(s,t,i),la(t,i.textDirection),t.restore())}}getActiveElements(){return this._active||[]}setActiveElements(t,e){const a=this,i=a._active,n=t.map(({datasetIndex:t,index:e})=>{var i=a._chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}),o=!Z(i,n),r=a._positionChanged(n,e);(o||r)&&(a._active=n,a._eventPosition=e,a.update(!0))}handleEvent(t,e){var i=this.options,a=this._active||[];let n,o=[];"mouseout"!==t.type&&(o=this._chart.getElementsAtEventForMode(t,i.mode,i,e),i.reverse&&o.reverse());var r=this._positionChanged(o,t);return(n=e||!Z(o,a)||r)&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),n}_positionChanged(t,e){var{caretX:i,caretY:a,options:n}=this,e=$n[n.position].call(this,t,e);return!1!==e&&(i!==e.x||a!==e.y)}}to.positioners=$n;be={id:"tooltip",_element:to,positioners:$n,afterInit(t,e,i){i&&(t.tooltip=new to({_chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip,i={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",i)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i))},afterEvent(t,e){var i;t.tooltip&&(i=e.replay,t.tooltip.handleEvent(e.event,i)&&(e.changed=!0))},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:t,title(t){if(0<t.length){var e=t[0],i=e.chart.data.labels,t=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(0<t&&e.dataIndex<t)return i[e.dataIndex]}return""},afterTitle:t,beforeBody:t,beforeLabel:t,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");t=t.formattedValue;return H(t)||(e+=t),e},labelColor(t){t=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){t=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:t,afterBody:t,beforeFooter:t,footer:t,afterFooter:t}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Yn=Object.freeze({__proto__:null,Decimation:Cn,Filler:Bn,Legend:Nn,Title:Yn,Tooltip:be});class eo extends Vi{constructor(t){super(t),this._startValue=void 0,this._valueRange=0}parse(t,e){if(H(t))return null;var i,a,n,o,r,s=this.getLabels();return e=e=isFinite(e)&&s[e]===t?e:(n=U(e,a=t),-1===(r=(i=s).indexOf(a))?(o=n,"string"==typeof(t=a)?i.push(t)-1:isNaN(t)?null:o):r!==i.lastIndexOf(a)?n:r),s=s.length-1,null===e?null:Bt(Math.round(e),0,s)}determineDataLimits(){var{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:a}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(a=this.getLabels().length-1)),this.min=i,this.max=a}buildTicks(){const e=this.min,i=this.max,t=this.options.offset,a=[];let n=this.getLabels();n=0===e&&i===n.length-1?n:n.slice(e,i+1),this._valueRange=Math.max(n.length-(t?0:1),1),this._startValue=this.min-(t?.5:0);for(let t=e;t<=i;t++)a.push({value:t});return a}getLabelForValue(t){var e=this.getLabels();return 0<=t&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return null===(t="number"!=typeof t?this.parse(t):t)?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}eo.id="category",eo.defaults={ticks:{callback:eo.prototype.getLabelForValue}};class io extends Vi{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return H(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const t=this,{beginAtZero:e,stacked:i}=t.options,{minDefined:a,maxDefined:n}=t.getUserBounds();let{min:o,max:r}=t;var s=t=>o=a?o:t,l=t=>r=n?r:t;if(e||i){const t=kt(o),e=kt(r);t<0&&e<0?l(0):0<t&&0<e&&s(0)}o===r&&(l(r+1),e||s(o-1)),t.min=o,t.max=r}getTickLimit(){let t,{maxTicksLimit:e,stepSize:i}=this.options.ticks;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this.computeTickLimit(),e=e||11),e&&(t=Math.min(e,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){var M=this,k=M.options,S=k.ticks,P=M.getTickLimit(),P=Math.max(2,P);const t=function(){const t=[],{step:e,min:i,max:a,precision:n,count:o,maxTicks:r,maxDigits:s,horizontal:l}={maxTicks:P,min:k.min,max:k.max,precision:S.precision,step:S.stepSize,count:S.count,maxDigits:M._maxDigits(),horizontal:M.isHorizontal()},h=e||1,c=r-1,{min:d,max:u}=M._range||M,g=!H(i),f=!H(a),p=!H(o),m=(u-d)/s;let x,b,v,_,y=St((u-d)/c/h)*h;if(y<1e-14&&!g&&!f)return[{value:d},{value:u}];_=Math.ceil(u/y)-Math.floor(d/y),_>c&&(y=St(_*y/c/h)*h),H(n)||(x=Math.pow(10,n),y=Math.ceil(y*x)/x),b=Math.floor(d/y)*y,v=Math.ceil(u/y)*y,g&&f&&e&&Ot((a-i)/e,y/1e3)?(_=Math.min((a-i)/y,r),y=(a-i)/_,b=i,v=a):p?(b=g?i:b,v=f?a:v,_=o-1,y=(v-b)/_):(_=(v-b)/y,_=Ct(_,Math.round(_),y/1e3)?Math.round(_):Math.ceil(_)),x=Math.pow(10,H(n)?Lt(y):n),b=Math.round(b*x)/x,v=Math.round(v*x)/x;let w=0;for(g&&(t.push({value:i}),b<=i&&w++,Ct(Math.round((b+w*y)*x)/x,i,m*(l?(""+i).length:1))&&w++);w<_;++w)t.push({value:Math.round((b+w*y)*x)/x});return f?Ct(t[t.length-1].value,a,m*(l?(""+a).length:1))?t[t.length-1].value=a:t.push({value:a}):t.push({value:v}),t}();return"ticks"===k.bounds&&At(t,M,"value"),k.reverse?(t.reverse(),M.start=M.max,M.end=M.min):(M.start=M.min,M.end=M.max),t}configure(){const t=this,e=t.ticks;let i=t.min,a=t.max;if(super.configure(),t.options.offset&&e.length){const t=(a-i)/Math.max(e.length-1,1)/2;i-=t,a+=t}t._startValue=i,t._endValue=a,t._valueRange=a-i}getLabelForValue(t){return Oi(t,this.chart.options.locale)}}class ao extends io{determineDataLimits(){var{min:t,max:e}=this.getMinMax(!0);this.min=Y(t)?t: