Auto Post Thumbnail - Version 3.9.0

Version Description

  • New appearance of the plugin pages.
  • Add: Logging the generation process.
  • Fixed: generation fixes.
  • Other minor fixes
Download this release

Release Info

Developer webtemyk
Plugin Icon 128x128 Auto Post Thumbnail
Version 3.9.0
Comparing to
See all releases

Code changes from version 3.8.1 to 3.9.0

Files changed (116) hide show
  1. admin/assets/css/generate.css +239 -0
  2. admin/assets/css/generate.less +287 -0
  3. admin/assets/css/license-manager.css +3 -2
  4. admin/assets/css/settings.css +59 -22
  5. admin/assets/css/style.css +12 -5
  6. admin/assets/css/tabs.css +1 -1
  7. admin/assets/img/Spinner-1s-33px.gif +0 -0
  8. admin/assets/img/bg.jpg +0 -0
  9. admin/assets/img/fon.jpg +0 -0
  10. admin/assets/img/logo.jpg +0 -0
  11. admin/assets/js/Chart.min.js +10 -0
  12. admin/assets/js/generate.js +377 -0
  13. admin/assets/js/license-manager.js +1 -1
  14. admin/assets/js/upload-font.js +2 -2
  15. admin/class-page-logger.php +242 -0
  16. admin/class-page.php +278 -0
  17. admin/class-wapt-activation.php +2 -2
  18. admin/class-wapt-page.php +0 -90
  19. admin/pages/about.php +17 -2
  20. admin/pages/generate.php +61 -17
  21. admin/pages/image.php +461 -0
  22. admin/pages/license.php +16 -11
  23. admin/pages/log.php +102 -0
  24. admin/pages/settings.php +66 -442
  25. admin/views/tab-generate.php +216 -0
  26. admin/views/tab-license.php +7 -7
  27. admin/views/tab-main.php +0 -302
  28. admin/views/tab-settings.php +0 -156
  29. auto-post-thumbnail.php +12 -10
  30. includes/class-apt.php +127 -42
  31. includes/{class-wapt-plugin.php → class-plugin.php} +27 -7
  32. includes/class-post-images.php +10 -0
  33. includes/class.generate-result.php +164 -0
  34. includes/controls/class.color.php +4 -3
  35. includes/controls/class.fonts.php +1 -1
  36. includes/controls/class.mediabutton.php +1 -1
  37. includes/image-search/class-google-images.php +3 -0
  38. languages/apt-ru_RU.mo +0 -0
  39. languages/apt-ru_RU.po +311 -149
  40. languages/apt.pot +283 -135
  41. libs/factory/adverts/boot.php +13 -13
  42. libs/factory/adverts/includes/class-base.php +6 -6
  43. libs/factory/adverts/includes/class-dashboard-widget.php +4 -4
  44. libs/factory/adverts/includes/class-rest-request.php +4 -4
  45. libs/factory/adverts/langs/{wbcr_factory_adverts_123-ru_RU.mo → wbcr_factory_adverts_127-ru_RU.mo} +0 -0
  46. libs/factory/adverts/langs/{wbcr_factory_adverts_123-ru_RU.po → wbcr_factory_adverts_127-ru_RU.po} +0 -0
  47. libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css +1 -1
  48. libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css +1 -1
  49. libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css +1 -1
  50. libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css +2 -2
  51. libs/factory/bootstrap/assets/css-min/bootstrap.datetimepicker.min.css +15 -0
  52. libs/factory/bootstrap/assets/css-min/bootstrap.ectoplasm.min.css +1 -1
  53. libs/factory/bootstrap/assets/css-min/bootstrap.form-group.min.css +1 -1
  54. libs/factory/bootstrap/assets/css-min/bootstrap.form-metabox.min.css +11 -0
  55. libs/factory/bootstrap/assets/css-min/bootstrap.light.min.css +1 -1
  56. libs/factory/bootstrap/assets/css-min/bootstrap.midnight.min.css +1 -1
  57. libs/factory/bootstrap/assets/css-min/bootstrap.ocean.min.css +1 -1
  58. libs/factory/bootstrap/assets/css-min/bootstrap.separator.min.css +1 -1
  59. libs/factory/bootstrap/assets/css-min/bootstrap.sunrise.min.css +1 -1
  60. libs/factory/bootstrap/assets/css-min/bootstrap.tab.min.css +11 -0
  61. libs/factory/bootstrap/assets/css-min/bootstrap.wp-editor.min.css +11 -0
  62. libs/factory/bootstrap/assets/css-min/control.checkbox.min.css +1 -1
  63. libs/factory/bootstrap/assets/css-min/control.color-and-opacity.min.css +11 -0
  64. libs/factory/bootstrap/assets/css-min/control.color.min.css +11 -0
  65. libs/factory/bootstrap/assets/css-min/control.dropdown-and-colors.min.css +11 -0
  66. libs/factory/bootstrap/assets/css-min/control.dropdown.min.css +1 -1
  67. libs/factory/bootstrap/assets/css-min/control.fonts.min.css +11 -0
  68. libs/factory/bootstrap/assets/css-min/control.list.min.css +11 -0
  69. libs/factory/bootstrap/assets/css-min/control.multiple-textbox.min.css +1 -1
  70. libs/factory/bootstrap/assets/css-min/control.pattern.min.css +11 -0
  71. libs/factory/bootstrap/assets/css-min/control.radio-colors.min.css +11 -0
  72. libs/factory/bootstrap/assets/css-min/holder.conrol-group.min.css +11 -0
  73. libs/factory/bootstrap/assets/css-min/holder.more-link.min.css +1 -1
  74. libs/factory/bootstrap/assets/css-min/plugin.chosen.min.css +21 -0
  75. libs/factory/bootstrap/assets/css-min/plugin.gradient-picker.min.css +11 -0
  76. libs/factory/bootstrap/assets/css-min/plugin.nouislider.min.css +11 -0
  77. libs/factory/bootstrap/assets/css-min/plugin.paddings-editor.min.css +11 -0
  78. libs/factory/bootstrap/assets/images/chosen-sprite.png +0 -0
  79. libs/factory/bootstrap/assets/images/chosen-sprite@2x.png +0 -0
  80. libs/factory/bootstrap/assets/images/color_picker_pattern.jpg +0 -0
  81. libs/factory/bootstrap/assets/images/drop-menu_arrow.png +0 -0
  82. libs/factory/bootstrap/assets/images/no-pattern-background-control.png +0 -0
  83. libs/factory/bootstrap/assets/js-min/bootstrap.accordion.min.js +10 -0
  84. libs/factory/bootstrap/assets/js-min/bootstrap.affix.min.js +10 -0
  85. libs/factory/bootstrap/assets/js-min/bootstrap.alert.min.js +10 -0
  86. libs/factory/bootstrap/assets/js-min/bootstrap.button.min.js +10 -0
  87. libs/factory/bootstrap/assets/js-min/bootstrap.carousel.min.js +10 -0
  88. libs/factory/bootstrap/assets/js-min/bootstrap.collapse.min.js +10 -0
  89. libs/factory/bootstrap/assets/js-min/bootstrap.datepicker.min.js +17 -0
  90. libs/factory/bootstrap/assets/js-min/bootstrap.datetimepicker.min.js +18 -0
  91. libs/factory/bootstrap/assets/js-min/bootstrap.dropdown.min.js +1 -1
  92. libs/factory/bootstrap/assets/js-min/bootstrap.modal.min.js +10 -0
  93. libs/factory/bootstrap/assets/js-min/bootstrap.popover.min.js +10 -0
  94. libs/factory/bootstrap/assets/js-min/bootstrap.scrollspy.min.js +10 -0
  95. libs/factory/bootstrap/assets/js-min/bootstrap.tab.min.js +10 -0
  96. libs/factory/bootstrap/assets/js-min/bootstrap.transition.min.js +10 -0
  97. libs/factory/bootstrap/assets/js-min/control.checkbox.min.js +1 -1
  98. libs/factory/bootstrap/assets/js-min/control.color-and-opacity.min.js +10 -0
  99. libs/factory/bootstrap/assets/js-min/control.color.min.js +10 -0
  100. libs/factory/bootstrap/assets/js-min/control.dropdown-and-colors.min.js +10 -0
  101. libs/factory/bootstrap/assets/js-min/control.dropdown.min.js +1 -1
  102. libs/factory/bootstrap/assets/js-min/control.fonts.min.js +10 -0
  103. libs/factory/bootstrap/assets/js-min/control.gradient.min.js +10 -0
  104. libs/factory/bootstrap/assets/js-min/control.integer.min.js +10 -0
  105. libs/factory/bootstrap/assets/js-min/control.list.min.js +1 -1
  106. libs/factory/bootstrap/assets/js-min/control.multiple-textbox.min.js +1 -1
  107. libs/factory/bootstrap/assets/js-min/control.pattern.min.js +10 -0
  108. libs/factory/bootstrap/assets/js-min/global.color-functions.min.js +10 -0
  109. libs/factory/bootstrap/assets/js-min/holder.conrol-group.min.js +10 -0
  110. libs/factory/bootstrap/assets/js-min/holder.more-link.min.js +10 -0
  111. libs/factory/bootstrap/assets/js-min/plugin.chosen.min.js +21 -0
  112. libs/factory/bootstrap/assets/js-min/plugin.color.min.js +10 -0
  113. libs/factory/bootstrap/assets/js-min/plugin.ddslick.min.js +10 -0
  114. libs/factory/bootstrap/assets/js-min/plugin.gradient-picker.min.js +10 -0
  115. libs/factory/bootstrap/assets/js-min/plugin.iris.min.js +13 -0
  116. libs/factory/bootstrap/assets/js-min/plugin.moment-with-locales.min.js +212 -0
admin/assets/css/generate.css ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #wapt-generate-page .wapt-statistic-row {
2
+ padding: 10px 20px;
3
+ }
4
+ #wapt-generate-page .wapt-generate-statistic {
5
+ display: flex;
6
+ justify-content: space-between;
7
+ }
8
+ #wapt-generate-page .wapt-chart-container {
9
+ position: relative;
10
+ }
11
+ #wapt-generate-page .wapt-chart-percent {
12
+ position: absolute;
13
+ left: 50px;
14
+ top: 65px;
15
+ line-height: 1;
16
+ text-align: center;
17
+ font-size: 45px;
18
+ font-weight: bold;
19
+ color: #afafaf;
20
+ }
21
+ #wapt-generate-page #wapt-overview-chart-legend {
22
+ overflow: hidden;
23
+ }
24
+ #wapt-generate-page #wapt-overview-chart-legend .wapt-doughnut-legend li {
25
+ display: inline-block;
26
+ position: relative;
27
+ margin-bottom: 15px;
28
+ border-radius: 5px;
29
+ padding: 3px 8px 2px 31px;
30
+ font-size: 11px;
31
+ cursor: default;
32
+ -webkit-transition: background-color 200ms ease-in-out;
33
+ -moz-transition: background-color 200ms ease-in-out;
34
+ -o-transition: background-color 200ms ease-in-out;
35
+ transition: background-color 200ms ease-in-out;
36
+ }
37
+ #wapt-generate-page #wapt-overview-chart-legend .wapt-doughnut-legend li span {
38
+ display: block;
39
+ position: absolute;
40
+ left: 0;
41
+ top: 0;
42
+ width: 25px;
43
+ height: 25px;
44
+ border-radius: 50%;
45
+ }
46
+ #wapt-generate-page #wapt-overview-chart-legend span.wapt-num {
47
+ display: inline !important;
48
+ position: inherit !important;
49
+ font-weight: bold;
50
+ }
51
+ #wapt-generate-page .wapt-chart-percent span {
52
+ font-size: 20px;
53
+ vertical-align: super;
54
+ }
55
+ #wapt-generate-page .wapt-global-phrase {
56
+ width: 180px;
57
+ padding-top: 20px;
58
+ font-size: 14px;
59
+ text-align: center;
60
+ }
61
+ #wapt-generate-page .wapt-total-percent {
62
+ color: #8CC152;
63
+ font-weight: bold;
64
+ }
65
+ #wapt-generate-page .wapt-generate-button {
66
+ min-width: 150px;
67
+ padding: 12px 30px;
68
+ background: #c9deb2;
69
+ color: #586549;
70
+ border: 0;
71
+ box-shadow: none;
72
+ font-size: 14px;
73
+ text-transform: uppercase !important;
74
+ font-weight: bold;
75
+ border-radius: 4px;
76
+ outline: none;
77
+ }
78
+ #wapt-generate-page .wapt-generate-button:active {
79
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
80
+ }
81
+ #wapt-generate-page .wapt-generate-button:disabled {
82
+ background: #e2edd6;
83
+ color: #a5b295;
84
+ }
85
+ #wapt-generate-page .wapt-generate-button.wapt-running {
86
+ color: #a57b3c;
87
+ background: #fdd599 url("../img/Spinner-1s-33px.gif") 10px center no-repeat;
88
+ padding-left: 50px;
89
+ }
90
+ #wapt-generate-page .wapt-unset-button {
91
+ min-width: 150px;
92
+ padding: 12px 30px;
93
+ color: #586549;
94
+ border: 1px solid #c9deb2;
95
+ box-shadow: none;
96
+ font-size: 14px;
97
+ text-transform: uppercase !important;
98
+ font-weight: bold;
99
+ border-radius: 4px;
100
+ outline: none;
101
+ }
102
+ #wapt-generate-page .wapt-unset-button:active {
103
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
104
+ }
105
+ #wapt-generate-page .wapt-unset-button:disabled {
106
+ background: #e2edd6;
107
+ color: #a5b295;
108
+ }
109
+ #wapt-generate-page .wapt-unset-button.wapt-running {
110
+ color: #a57b3c;
111
+ background: #fdd599 url("../img/Spinner-1s-33px.gif") 10px center no-repeat;
112
+ padding-left: 50px;
113
+ }
114
+ #wapt-generate-page .wapt-statistic-message {
115
+ padding: 10px 0;
116
+ }
117
+ #wapt-generate-page .wapt-genpostthumbsbar {
118
+ margin: 10px;
119
+ border: 0;
120
+ }
121
+ #wapt-generate-page .wapt-fillters-form {
122
+ width: 100%;
123
+ padding: 0 20px;
124
+ display: flex;
125
+ flex-direction: column;
126
+ justify-content: space-between;
127
+ }
128
+ #wapt-generate-page .wapt-fillters-form .wapt-filter-row {
129
+ padding: 5px 0;
130
+ }
131
+ #wapt-generate-page .wapt-fillters-form .wapt-statistic-buttons-wrap {
132
+ padding: 0 20px;
133
+ }
134
+ #wapt-generate-page .wapt-generation-progress {
135
+ margin-left: 0 !important;
136
+ margin-right: 0 !important;
137
+ }
138
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container {
139
+ height: 25em;
140
+ }
141
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table {
142
+ display: flex;
143
+ flex-flow: column;
144
+ height: 100%;
145
+ width: 100%;
146
+ table-layout: fixed;
147
+ box-sizing: border-box;
148
+ border-spacing: 3px;
149
+ background: #fff;
150
+ border-top: 2px dashed #cac9c9;
151
+ }
152
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table thead {
153
+ /* head takes the height it requires,
154
+ and it's not scaled when table is resized */
155
+ flex: 0 0 auto;
156
+ width: calc(100% - 0.9em);
157
+ }
158
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table tbody {
159
+ /* body takes all the remaining available space */
160
+ flex: 1 1 auto;
161
+ display: block;
162
+ overflow-y: scroll;
163
+ }
164
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table tbody tr {
165
+ width: 100%;
166
+ }
167
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table th,
168
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table td {
169
+ padding: 16px 10px;
170
+ text-align: center;
171
+ }
172
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table th.wapt-image-td,
173
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table td.wapt-image-td {
174
+ width: 150px;
175
+ }
176
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table th.wapt-title-td,
177
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table td.wapt-title-td {
178
+ width: 30%;
179
+ word-break: break-word;
180
+ }
181
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table th {
182
+ background: #f3f3f3;
183
+ color: #777777;
184
+ box-shadow: 0 1px 0 #d8d8d8;
185
+ }
186
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table th:nth-child(2n+1) {
187
+ background: #f9f9f9;
188
+ }
189
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table tr.wapt-error {
190
+ background-color: #ffe9e9 !important;
191
+ }
192
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table thead,
193
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table tbody tr {
194
+ display: table;
195
+ table-layout: fixed;
196
+ }
197
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container table tbody tr {
198
+ width: 100%;
199
+ word-break: break-all;
200
+ }
201
+ #wapt-generate-page .wapt-generation-progress .wapt-table-container .flash {
202
+ -moz-animation: flash 1s ease-out;
203
+ -webkit-animation: flash 1s ease-out;
204
+ -ms-animation: flash 1s ease-out;
205
+ animation: flash 1s ease-out;
206
+ }
207
+ @-webkit-keyframes flash {
208
+ 0% {
209
+ background-color: transparent;
210
+ }
211
+ 30% {
212
+ background-color: #fffade;
213
+ }
214
+ 100% {
215
+ background-color: transparent;
216
+ }
217
+ }
218
+ @-moz-keyframes flash {
219
+ 0% {
220
+ background-color: transparent;
221
+ }
222
+ 30% {
223
+ background-color: #fffade;
224
+ }
225
+ 100% {
226
+ background-color: transparent;
227
+ }
228
+ }
229
+ @-ms-keyframes flash {
230
+ 0% {
231
+ background-color: transparent;
232
+ }
233
+ 30% {
234
+ background-color: #fffade;
235
+ }
236
+ 100% {
237
+ background-color: transparent;
238
+ }
239
+ }
admin/assets/css/generate.less ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #wapt-generate-page {
2
+
3
+ .wapt-statistic-row {
4
+ padding: 10px 20px;
5
+ }
6
+
7
+ .wapt-generate-statistic {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ }
11
+
12
+ .wapt-chart-container {
13
+ position: relative;
14
+ }
15
+
16
+ .wapt-chart-percent {
17
+ position: absolute;
18
+ left: 50px;
19
+ top: 65px;
20
+ line-height: 1;
21
+ text-align: center;
22
+ font-size: 45px;
23
+ font-weight: bold;
24
+ color: #afafaf;
25
+ }
26
+
27
+ #wapt-overview-chart-legend {
28
+ overflow: hidden;
29
+
30
+ .wapt-doughnut-legend {
31
+ li {
32
+ display: inline-block;
33
+ position: relative;
34
+ margin-bottom: 15px;
35
+ border-radius: 5px;
36
+ padding: 3px 8px 2px 31px;
37
+ font-size: 11px;
38
+ cursor: default;
39
+ -webkit-transition: background-color 200ms ease-in-out;
40
+ -moz-transition: background-color 200ms ease-in-out;
41
+ -o-transition: background-color 200ms ease-in-out;
42
+ transition: background-color 200ms ease-in-out;
43
+ }
44
+
45
+ li span {
46
+ display: block;
47
+ position: absolute;
48
+ left: 0;
49
+ top: 0;
50
+ width: 25px;
51
+ height: 25px;
52
+ border-radius: 50%;
53
+ }
54
+
55
+ }
56
+
57
+ span.wapt-num {
58
+ display: inline !important;
59
+ position: inherit !important;
60
+ font-weight: bold;
61
+ }
62
+ }
63
+
64
+ .wapt-chart-percent span {
65
+ font-size: 20px;
66
+ vertical-align: super;
67
+ }
68
+
69
+ .wapt-global-phrase {
70
+ width: 180px;
71
+ padding-top: 20px;
72
+ font-size: 14px;
73
+ text-align: center;
74
+ }
75
+
76
+ .wapt-total-percent {
77
+ color: #8CC152;
78
+ font-weight: bold;
79
+ }
80
+
81
+ .wapt-generate-button {
82
+ min-width: 150px;
83
+ padding: 12px 30px;
84
+ background: #c9deb2;
85
+ color: #586549;
86
+ border: 0;
87
+ box-shadow: none;
88
+ font-size: 14px;
89
+ text-transform: uppercase !important;
90
+ font-weight: bold;
91
+ border-radius: 4px;
92
+ outline: none;
93
+
94
+ &:active {
95
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
96
+ }
97
+
98
+ &:disabled {
99
+ background: lighten(#c9deb2, 10%);
100
+ color: lighten(#586549, 30%);
101
+ }
102
+
103
+ &.wapt-running {
104
+ color: #a57b3c;
105
+ background: #fdd599 url("../img/Spinner-1s-33px.gif") 10px center no-repeat;
106
+ padding-left: 50px;
107
+ }
108
+ }
109
+
110
+ .wapt-unset-button {
111
+ min-width: 150px;
112
+ padding: 12px 30px;
113
+ color: #586549;
114
+ border: 1px solid #c9deb2;
115
+ box-shadow: none;
116
+ font-size: 14px;
117
+ text-transform: uppercase !important;
118
+ font-weight: bold;
119
+ border-radius: 4px;
120
+ outline: none;
121
+
122
+ &:active {
123
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
124
+ }
125
+
126
+ &:disabled {
127
+ background: lighten(#c9deb2, 10%);
128
+ color: lighten(#586549, 30%);
129
+ }
130
+
131
+ &.wapt-running {
132
+ color: #a57b3c;
133
+ background: #fdd599 url("../img/Spinner-1s-33px.gif") 10px center no-repeat;
134
+ padding-left: 50px;
135
+ }
136
+ }
137
+
138
+ .wapt-statistic-message {
139
+ padding: 10px 0;
140
+ }
141
+
142
+ .wapt-genpostthumbsbar {
143
+ margin: 10px;
144
+ border: 0;
145
+ }
146
+
147
+ .wapt-fillters-form {
148
+ width: 100%;
149
+ padding: 0 20px;
150
+ display: flex;
151
+ flex-direction: column;
152
+ justify-content: space-between;
153
+
154
+ .wapt-filter-row {
155
+ padding: 5px 0;
156
+ }
157
+
158
+ .wapt-statistic-buttons-wrap {
159
+ padding: 0 20px;
160
+ }
161
+ }
162
+
163
+ .wapt-generation-progress {
164
+ margin-left: 0 !important;
165
+ margin-right: 0 !important;
166
+
167
+ .wapt-table-container {
168
+ height: 25em;
169
+
170
+ table {
171
+ display: flex;
172
+ flex-flow: column;
173
+ height: 100%;
174
+ width: 100%;
175
+ table-layout: fixed;
176
+ box-sizing: border-box;
177
+ border-spacing: 3px;
178
+ background: #fff;
179
+ border-top: 2px dashed #cac9c9;
180
+ }
181
+
182
+ table thead {
183
+ /* head takes the height it requires,
184
+ and it's not scaled when table is resized */
185
+ flex: 0 0 auto;
186
+ width: calc(100% - 0.9em);
187
+ }
188
+
189
+ table tbody {
190
+ /* body takes all the remaining available space */
191
+ flex: 1 1 auto;
192
+ display: block;
193
+ overflow-y: scroll;
194
+ }
195
+
196
+ table tbody tr {
197
+ width: 100%;
198
+ }
199
+
200
+ table th,
201
+ table td {
202
+ padding: 16px 10px;
203
+ text-align: center;
204
+
205
+ &.wapt-image-td {
206
+ width: 150px;
207
+ }
208
+
209
+ &.wapt-title-td {
210
+ width: 30%;
211
+ word-break: break-word;
212
+ }
213
+ }
214
+
215
+ table th {
216
+ background: #f3f3f3;
217
+ color: #777777;
218
+ box-shadow: 0 1px 0 #d8d8d8;
219
+ }
220
+
221
+ table th:nth-child(2n+1) {
222
+ background: #f9f9f9;
223
+ }
224
+
225
+ table tr.wapt-error {
226
+ background-color: #ffe9e9 !important;
227
+ }
228
+
229
+ table thead,
230
+ table tbody tr {
231
+ display: table;
232
+ table-layout: fixed;
233
+ }
234
+
235
+ table tbody tr {
236
+ width: 100%;
237
+ word-break: break-all;
238
+
239
+ }
240
+
241
+ .flash {
242
+ -moz-animation: flash 1s ease-out;
243
+ -webkit-animation: flash 1s ease-out;
244
+ -ms-animation: flash 1s ease-out;
245
+ animation: flash 1s ease-out;
246
+ }
247
+
248
+ @-webkit-keyframes flash {
249
+ 0% {
250
+ background-color: transparent;
251
+ }
252
+ 30% {
253
+ background-color: #fffade;
254
+ }
255
+ 100% {
256
+ background-color: transparent;
257
+ }
258
+ }
259
+
260
+ @-moz-keyframes flash {
261
+ 0% {
262
+ background-color: transparent;
263
+ }
264
+ 30% {
265
+ background-color: #fffade;
266
+ }
267
+
268
+ 100% {
269
+ background-color: transparent;
270
+ }
271
+ }
272
+
273
+ @-ms-keyframes flash {
274
+ 0% {
275
+ background-color: transparent;
276
+ }
277
+ 30% {
278
+ background-color: #fffade;
279
+ }
280
+ 100% {
281
+ background-color: transparent;
282
+ }
283
+ }
284
+
285
+ }
286
+ }
287
+ }
admin/assets/css/license-manager.css CHANGED
@@ -22,7 +22,7 @@
22
  .onp-page-wrap {
23
  max-width: 720px;
24
  margin: auto;
25
- margin-top: 40px;
26
  font-size: 14px;
27
  line-height: 170%;
28
  }
@@ -340,7 +340,8 @@
340
  }
341
 
342
  #license-manager .license-key-wrap {
343
- padding-right: 110px;
 
344
  }
345
 
346
  #license-key {
22
  .onp-page-wrap {
23
  max-width: 720px;
24
  margin: auto;
25
+ padding-top: 40px;
26
  font-size: 14px;
27
  line-height: 170%;
28
  }
340
  }
341
 
342
  #license-manager .license-key-wrap {
343
+ /*padding-right: 110px;*/
344
+ display: flex;
345
  }
346
 
347
  #license-key {
admin/assets/css/settings.css CHANGED
@@ -1,8 +1,10 @@
1
- .wapt-footer {
 
2
  padding: 0px 30px;
3
  }
4
 
5
- .factory-bootstrap-445 .factory-ajax-loader {
 
6
  width: 120px !important;
7
  background: url("../img/ajax-loader-line.gif") no-repeat center center !important;
8
  background-size: contain !important;
@@ -12,18 +14,21 @@
12
  top: 5px;
13
  }
14
 
15
- .factory-bootstrap-445 select.form-control {
 
16
  display: inline;
17
  background: #fff 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%;
18
  background-size: 16px 16px !important;
19
  }
20
 
21
- .factory-from-control-integer input {
 
22
  width: 80px;
23
  font-size: 16px !important;
24
  }
25
 
26
- .factory-bootstrap-445 .btn-default.active, .factory-bootstrap-445 .btn-default:active {
 
27
  text-shadow: none;
28
  color: #fff !important;
29
  background-color: #33aad5 !important;
@@ -35,47 +40,56 @@
35
  border-color: #0074a2 !important;
36
  }
37
 
38
- div.control-group input, div.control-group select {
 
39
  box-shadow: 1px 1px 5px -2px #8e8d8d !important;
40
  border: 1px solid #ccc !important;
41
  }
42
 
43
- select#wapt_font {
 
44
  border-radius: 3px 0px 0px 3px !important;
45
  }
46
 
47
- div.control-group select optgroup {
 
48
  background-color: #e4e4e4;
49
  }
50
 
51
- div.control-group .btn-group {
 
52
  border: 0 !important;
53
  }
54
 
55
- .factory-control-text-align-vertical .btn {
 
56
  width: 60%;
57
  display: block !important;
58
  border-radius: 0 !important;
59
  }
60
 
61
- .wapt-image-preview-title {
 
62
  text-align: center;
63
  vertical-align: middle;
64
  }
65
 
66
- .wapt-image-preview {
67
- background-color: #e8e8e8;
 
68
  padding: 10px 20px 30px 20px;
69
  }
70
 
71
- .wapt-image-preview img {
72
- padding: 5px;
73
- border: 1px solid #ccc !important;
 
74
  border-radius: 5px !important;
75
  box-shadow: 1px 1px 5px -2px #8e8d8d !important;
76
  }
77
 
78
- .wapt-form-color {
 
79
  background-color: #f1f1f1;
80
  }
81
 
@@ -85,7 +99,8 @@ span.wapt-icon-pro,
85
  .wapt-icon-pro button.factory-off:after,
86
  .wapt-icon-pro-item button.factory-google:after,
87
  .wapt-icon-pro-item button.factory-find_google:after,
88
- .wapt-icon-pro ~ div.wapt-upload-div button.wapt-upload-button:after {
 
89
  display: inline-block;
90
  position: absolute;
91
  content: 'PRO';
@@ -104,16 +119,19 @@ span.wapt-icon-pro,
104
  z-index: 11;
105
  }
106
 
107
- .wapt-icon-pro ~ div.wapt-upload-div button.wapt-upload-button:after {
 
108
  position: initial;
109
  }
110
 
111
- .wapt-icon-pro input[class*="factory-"] ~ span.factory-units:before {
 
112
  right: auto;
113
  left: 0;
114
  }
115
 
116
- span.wapt-icon-pro {
 
117
  position: initial;
118
  }
119
 
@@ -124,11 +142,30 @@ span.wapt-icon-pro {
124
  .wapt-icon-pro input[type="checkbox"],
125
  .wapt-icon-pro ~ div.wapt-upload-div button.wapt-upload-button,
126
  .wapt-icon-pro-item button[class*="factory-google"],
127
- .wapt-icon-pro-item button[class*="factory-find_google"] {
 
128
  pointer-events: none;
129
  cursor: not-allowed;
130
  opacity: .65;
131
  filter: alpha(opacity=65);
132
  -webkit-box-shadow: none !important;
133
  box-shadow: none !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  }
1
+ .wapt-footer
2
+ {
3
  padding: 0px 30px;
4
  }
5
 
6
+ .factory-bootstrap-449 .factory-ajax-loader
7
+ {
8
  width: 120px !important;
9
  background: url("../img/ajax-loader-line.gif") no-repeat center center !important;
10
  background-size: contain !important;
14
  top: 5px;
15
  }
16
 
17
+ .factory-bootstrap-449 select.form-control
18
+ {
19
  display: inline;
20
  background: #fff 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%;
21
  background-size: 16px 16px !important;
22
  }
23
 
24
+ .factory-from-control-integer input
25
+ {
26
  width: 80px;
27
  font-size: 16px !important;
28
  }
29
 
30
+ .factory-bootstrap-449 .btn-default.active, .factory-bootstrap-449 .btn-default:active
31
+ {
32
  text-shadow: none;
33
  color: #fff !important;
34
  background-color: #33aad5 !important;
40
  border-color: #0074a2 !important;
41
  }
42
 
43
+ div.control-group input, div.control-group select
44
+ {
45
  box-shadow: 1px 1px 5px -2px #8e8d8d !important;
46
  border: 1px solid #ccc !important;
47
  }
48
 
49
+ select#wapt_font
50
+ {
51
  border-radius: 3px 0px 0px 3px !important;
52
  }
53
 
54
+ div.control-group select optgroup
55
+ {
56
  background-color: #e4e4e4;
57
  }
58
 
59
+ div.control-group .btn-group
60
+ {
61
  border: 0 !important;
62
  }
63
 
64
+ .factory-control-text-align-vertical .btn
65
+ {
66
  width: 60%;
67
  display: block !important;
68
  border-radius: 0 !important;
69
  }
70
 
71
+ .wapt-image-preview-title
72
+ {
73
  text-align: center;
74
  vertical-align: middle;
75
  }
76
 
77
+ .wapt-image-preview
78
+ {
79
+ /*background-color: #e8e8e8;*/
80
  padding: 10px 20px 30px 20px;
81
  }
82
 
83
+ .wapt-image-preview img
84
+ {
85
+ /*padding: 5px;
86
+ border: 1px solid #ccc !important;*/
87
  border-radius: 5px !important;
88
  box-shadow: 1px 1px 5px -2px #8e8d8d !important;
89
  }
90
 
91
+ .wapt-form-color
92
+ {
93
  background-color: #f1f1f1;
94
  }
95
 
99
  .wapt-icon-pro button.factory-off:after,
100
  .wapt-icon-pro-item button.factory-google:after,
101
  .wapt-icon-pro-item button.factory-find_google:after,
102
+ .wapt-icon-pro ~ div.wapt-upload-div button.wapt-upload-button:after
103
+ {
104
  display: inline-block;
105
  position: absolute;
106
  content: 'PRO';
119
  z-index: 11;
120
  }
121
 
122
+ .wapt-icon-pro ~ div.wapt-upload-div button.wapt-upload-button:after
123
+ {
124
  position: initial;
125
  }
126
 
127
+ .wapt-icon-pro input[class*="factory-"] ~ span.factory-units:before
128
+ {
129
  right: auto;
130
  left: 0;
131
  }
132
 
133
+ span.wapt-icon-pro
134
+ {
135
  position: initial;
136
  }
137
 
142
  .wapt-icon-pro input[type="checkbox"],
143
  .wapt-icon-pro ~ div.wapt-upload-div button.wapt-upload-button,
144
  .wapt-icon-pro-item button[class*="factory-google"],
145
+ .wapt-icon-pro-item button[class*="factory-find_google"]
146
+ {
147
  pointer-events: none;
148
  cursor: not-allowed;
149
  opacity: .65;
150
  filter: alpha(opacity=65);
151
  -webkit-box-shadow: none !important;
152
  box-shadow: none !important;
153
+ }
154
+
155
+ .factory-bootstrap-449 .factory-color .factory-background, .factory-bootstrap-449 .factory-color .factory-pattern
156
+ {
157
+ width: 30px;
158
+ height: 30px;
159
+ }
160
+
161
+ .factory-bootstrap-449 .factory-color .factory-color-hex
162
+ {
163
+ width: 70px;
164
+ font-family: Monospace, serif;
165
+ }
166
+
167
+ .iris-picker
168
+ {
169
+ position: absolute !important;
170
+ z-index: 5;
171
  }
admin/assets/css/style.css CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  .apt_pro_advertisement
2
  {
3
  float: right;
@@ -218,11 +230,6 @@ input {
218
  /*Filters block*/
219
  .apt-filter-row
220
  {
221
- background: #ffffff;
222
- padding: 20px 10px 20px 10px;
223
- margin: 10px 0px 10px 0px !important;
224
- border: 1px solid #0085ba;
225
- border-radius: 10px;
226
  }
227
 
228
  .apt-filter-input
1
+ .wapt-logo-title
2
+ {
3
+ display: inline-block;
4
+ background: transparent url('../img/logo.jpg') no-repeat center center;
5
+ background-size: contain;
6
+ height: 50px;
7
+ width: 50px;
8
+ vertical-align: middle;
9
+ border-radius: 5px;
10
+ margin-right: 10px;
11
+ }
12
+
13
  .apt_pro_advertisement
14
  {
15
  float: right;
230
  /*Filters block*/
231
  .apt-filter-row
232
  {
 
 
 
 
 
233
  }
234
 
235
  .apt-filter-input
admin/assets/css/tabs.css CHANGED
@@ -153,7 +153,7 @@ a:active, a:focus {
153
  .content section {
154
 
155
  /*padding: 1em 2em;*/
156
- max-width: 1230px;
157
  margin: 0 auto;
158
  }
159
 
153
  .content section {
154
 
155
  /*padding: 1em 2em;*/
156
+ /*max-width: 1230px;*/
157
  margin: 0 auto;
158
  }
159
 
admin/assets/img/Spinner-1s-33px.gif ADDED
Binary file
admin/assets/img/bg.jpg DELETED
Binary file
admin/assets/img/fon.jpg DELETED
Binary file
admin/assets/img/logo.jpg ADDED
Binary file
admin/assets/js/Chart.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Chart.js
3
+ * http://chartjs.org/
4
+ * Version: 2.7.1
5
+ *
6
+ * Copyright 2017 Nick Downie
7
+ * Released under the MIT license
8
+ * https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
9
+ */
10
+ window.apthumb=window.apthumb||{};!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window.apthumb:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}}(function(){return function t(e,n,i){function a(r,l){if(!n[r]){if(!e[r]){var s="function"==typeof require&&require;if(!l&&s)return s(r,!0);if(o)return o(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[r]={exports:{}};e[r][0].call(d.exports,function(t){var n=e[r][1][t];return a(n||t)},d,d.exports,t,e,n,i)}return n[r].exports}for(var o="function"==typeof require&&require,r=0;r<i.length;r++)a(i[r]);return a}({1:[function(t,e,n){},{}],2:[function(t,e,n){function i(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(a=0;a<e.length;a++)e[a]=parseInt(i[a]+i[a],16)}else if(i=t.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(a=0;a<e.length;a++)e[a]=parseInt(i.slice(2*a,2*a+2),16)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<e.length;a++)e[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=c[i[1]]))return}for(var a=0;a<e.length;a++)e[a]=u(e[a],0,255);return n=n||0==n?u(n,0,1):1,e[3]=n,e}}function a(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function o(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[u(parseInt(e[1]),0,360),u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}}}function r(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function s(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function u(t,e,n){return Math.min(Math.max(e,t),n)}function d(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var c=t(6);e.exports={getRgba:i,getHsla:a,getRgb:function(t){var e=i(t);return e&&e.slice(0,3)},getHsl:function(t){var e=a(t);return e&&e.slice(0,3)},getHwb:o,getAlpha:function(t){var e=i(t);return e?e[3]:(e=a(t))?e[3]:(e=o(t))?e[3]:void 0},hexString:function(t){return"#"+d(t[0])+d(t[1])+d(t[2])},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?r(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:r,percentString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:l,hslString:function(t,e){return e<1||t[3]&&t[3]<1?s(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:s,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return h[t.slice(0,3)]}};var h={};for(var f in c)h[c[f]]=f},{6:6}],3:[function(t,e,n){var i=t(5),a=t(2),o=function(t){if(t instanceof o)return t;if(!(this instanceof o))return new o(t);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var e;"string"==typeof t?(e=a.getRgba(t))?this.setValues("rgb",e):(e=a.getHsla(t))?this.setValues("hsl",e):(e=a.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e))};o.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return a.hexString(this.values.rgb)},rgbString:function(){return a.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return a.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return a.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return a.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return a.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return a.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return a.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,a=void 0===e?.5:e,o=2*a-1,r=n.alpha()-i.alpha(),l=((o*r==-1?o:(o+r)/(1+o*r))+1)/2,s=1-l;return this.rgb(l*n.red()+s*i.red(),l*n.green()+s*i.green(),l*n.blue()+s*i.blue()).alpha(n.alpha()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new o,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(t=i[r],"[object Array]"===(e={}.toString.call(t))?a[r]=t.slice(0):"[object Number]"===e?a[r]=t:console.error("unexpected color value:",t));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},o.prototype.setValues=function(t,e){var n,a=this.values,o=this.spaces,r=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)a[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)a[t][n]=e[t.charAt(n)];l=e.a}else if(void 0!==e[o[t][0]]){var s=o[t];for(n=0;n<t.length;n++)a[t][n]=e[s[n]];l=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===l?a.alpha:l)),"alpha"===t)return!1;var u;for(n=0;n<t.length;n++)u=Math.max(0,Math.min(r[t][n],a[t][n])),a[t][n]=Math.round(u);for(var d in o)d!==t&&(a[d]=i[t][d](a[t]));return!0},o.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},o.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.apthumb.Color=o),e.exports=o},{2:2,5:5}],4:[function(t,e,n){function i(t){var e,n,i,a=t[0]/255,o=t[1]/255,r=t[2]/255,l=Math.min(a,o,r),s=Math.max(a,o,r),u=s-l;return s==l?e=0:a==s?e=(o-r)/u:o==s?e=2+(r-a)/u:r==s&&(e=4+(a-o)/u),(e=Math.min(60*e,360))<0&&(e+=360),i=(l+s)/2,n=s==l?0:i<=.5?u/(s+l):u/(2-s-l),[e,100*n,100*i]}function a(t){var e,n,i,a=t[0],o=t[1],r=t[2],l=Math.min(a,o,r),s=Math.max(a,o,r),u=s-l;return n=0==s?0:u/s*1e3/10,s==l?e=0:a==s?e=(o-r)/u:o==s?e=2+(r-a)/u:r==s&&(e=4+(a-o)/u),(e=Math.min(60*e,360))<0&&(e+=360),i=s/255*1e3/10,[e,n,i]}function o(t){var e=t[0],n=t[1],a=t[2];return[i(t)[0],100*(1/255*Math.min(e,Math.min(n,a))),100*(a=1-1/255*Math.max(e,Math.max(n,a)))]}function l(t){var e,n,i,a,o=t[0]/255,r=t[1]/255,l=t[2]/255;return a=Math.min(1-o,1-r,1-l),e=(1-o-a)/(1-a)||0,n=(1-r-a)/(1-a)||0,i=(1-l-a)/(1-a)||0,[100*e,100*n,100*i,100*a]}function s(t){return C[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function d(t){var e,n,i,a=u(t),o=a[0],r=a[1],l=a[2];return o/=95.047,r/=100,l/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,e=116*r-16,n=500*(o-r),i=200*(r-l),[e,n,i]}function c(t){var e,n,i,a,o,r=t[0]/360,l=t[1]/100,s=t[2]/100;if(0==l)return o=255*s,[o,o,o];e=2*s-(n=s<.5?s*(1+l):s+l-s*l),a=[0,0,0];for(var u=0;u<3;u++)(i=r+1/3*-(u-1))<0&&i++,i>1&&i--,o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*o;return a}function h(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,o=e-Math.floor(e),r=255*i*(1-n),l=255*i*(1-n*o),s=255*i*(1-n*(1-o)),i=255*i;switch(a){case 0:return[i,s,r];case 1:return[l,i,r];case 2:return[r,i,s];case 3:return[r,l,i];case 4:return[s,r,i];case 5:return[i,r,l]}}function f(t){var e,n,i,a,o=t[0]/360,l=t[1]/100,s=t[2]/100,u=l+s;switch(u>1&&(l/=u,s/=u),e=Math.floor(6*o),n=1-s,i=6*o-e,0!=(1&e)&&(i=1-i),a=l+i*(n-l),e){default:case 6:case 0:r=n,g=a,b=l;break;case 1:r=a,g=n,b=l;break;case 2:r=l,g=n,b=a;break;case 3:r=l,g=a,b=n;break;case 4:r=a,g=l,b=n;break;case 5:r=n,g=l,b=a}return[255*r,255*g,255*b]}function p(t){var e,n,i,a=t[0]/100,o=t[1]/100,r=t[2]/100,l=t[3]/100;return e=1-Math.min(1,a*(1-l)+l),n=1-Math.min(1,o*(1-l)+l),i=1-Math.min(1,r*(1-l)+l),[255*e,255*n,255*i]}function v(t){var e,n,i,a=t[0]/100,o=t[1]/100,r=t[2]/100;return e=3.2406*a+-1.5372*o+-.4986*r,n=-.9689*a+1.8758*o+.0415*r,i=.0557*a+-.204*o+1.057*r,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]}function m(t){var e,n,i,a=t[0],o=t[1],r=t[2];return a/=95.047,o/=100,r/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,e=116*o-16,n=500*(a-o),i=200*(o-r),[e,n,i]}function x(t){var e,n,i,a,o=t[0],r=t[1],l=t[2];return o<=8?a=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),a=Math.pow(n/100,1/3)),e=e/95.047<=.008856?e=95.047*(r/500+a-16/116)/7.787:95.047*Math.pow(r/500+a,3),i=i/108.883<=.008859?i=108.883*(a-l/200-16/116)/7.787:108.883*Math.pow(a-l/200,3),[e,n,i]}function y(t){var e,n,i,a=t[0],o=t[1],r=t[2];return e=Math.atan2(r,o),(n=360*e/2/Math.PI)<0&&(n+=360),i=Math.sqrt(o*o+r*r),[a,i,n]}function k(t){return v(x(t))}function w(t){var e,n,i,a=t[0],o=t[1];return i=t[2]/360*2*Math.PI,e=o*Math.cos(i),n=o*Math.sin(i),[a,e,n]}function M(t){return S[t]}e.exports={rgb2hsl:i,rgb2hsv:a,rgb2hwb:o,rgb2cmyk:l,rgb2keyword:s,rgb2xyz:u,rgb2lab:d,rgb2lch:function(t){return y(d(t))},hsl2rgb:c,hsl2hsv:function(t){var e,n,i=t[0],a=t[1]/100,o=t[2]/100;return 0===o?[0,0,0]:(o*=2,a*=o<=1?o:2-o,n=(o+a)/2,e=2*a/(o+a),[i,100*e,100*n])},hsl2hwb:function(t){return o(c(t))},hsl2cmyk:function(t){return l(c(t))},hsl2keyword:function(t){return s(c(t))},hsv2rgb:h,hsv2hsl:function(t){var e,n,i=t[0],a=t[1]/100,o=t[2]/100;return n=(2-a)*o,e=a*o,e/=n<=1?n:2-n,e=e||0,n/=2,[i,100*e,100*n]},hsv2hwb:function(t){return o(h(t))},hsv2cmyk:function(t){return l(h(t))},hsv2keyword:function(t){return s(h(t))},hwb2rgb:f,hwb2hsl:function(t){return i(f(t))},hwb2hsv:function(t){return a(f(t))},hwb2cmyk:function(t){return l(f(t))},hwb2keyword:function(t){return s(f(t))},cmyk2rgb:p,cmyk2hsl:function(t){return i(p(t))},cmyk2hsv:function(t){return a(p(t))},cmyk2hwb:function(t){return o(p(t))},cmyk2keyword:function(t){return s(p(t))},keyword2rgb:M,keyword2hsl:function(t){return i(M(t))},keyword2hsv:function(t){return a(M(t))},keyword2hwb:function(t){return o(M(t))},keyword2cmyk:function(t){return l(M(t))},keyword2lab:function(t){return d(M(t))},keyword2xyz:function(t){return u(M(t))},xyz2rgb:v,xyz2lab:m,xyz2lch:function(t){return y(m(t))},lab2xyz:x,lab2rgb:k,lab2lch:y,lch2lab:w,lch2xyz:function(t){return x(w(t))},lch2rgb:function(t){return k(w(t))}};var S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},C={};for(var _ in S)C[JSON.stringify(S[_])]=_},{}],5:[function(t,e,n){var i=t(4),a=function(){return new u};for(var o in i){a[o+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(o);var r=/(\w+)2(\w+)/.exec(o),l=r[1],s=r[2];(a[l]=a[l]||{})[s]=a[o]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var a=0;a<n.length;a++)n[a]=Math.round(n[a]);return n}}(o)}var u=function(){this.convs={}};u.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},u.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},u.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,i=this.convs[n];e=a[n][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){u.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=a},{4:4}],6:[function(t,e,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(t,e,n){var i=t(29)();i.helpers=t(45),t(27)(i),i.defaults=t(25),i.Element=t(26),i.elements=t(40),i.Interaction=t(28),i.platform=t(48),t(31)(i),t(22)(i),t(23)(i),t(24)(i),t(30)(i),t(33)(i),t(32)(i),t(35)(i),t(54)(i),t(52)(i),t(53)(i),t(55)(i),t(56)(i),t(57)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var a=[];a.push(t(49)(i),t(50)(i),t(51)(i)),i.plugins.register(a),i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.apthumb.Chart=i),i.canvasHelpers=i.helpers.canvas},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,35:35,40:40,45:45,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t){t.Line=function(e,n){return n.type="line",new t(e,n)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t){t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},{}],15:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:a.Rectangle,initialize:function(){var e,n=this;t.DatasetController.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0},update:function(t){var e,n,i=this,a=i.getMeta().data;for(i._ruler=i.getRuler(),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t)},updateElement:function(t,e,n){var i=this,a=i.chart,r=i.getMeta(),l=i.getDataset(),s=t.custom||{},u=a.options.elements.rectangle;t._xScale=i.getScaleForId(r.xAxisID),t._yScale=i.getScaleForId(r.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:l.label,label:a.data.labels[e],borderSkipped:s.borderSkipped?s.borderSkipped:u.borderSkipped,backgroundColor:s.backgroundColor?s.backgroundColor:o.valueAtIndexOrDefault(l.backgroundColor,e,u.backgroundColor),borderColor:s.borderColor?s.borderColor:o.valueAtIndexOrDefault(l.borderColor,e,u.borderColor),borderWidth:s.borderWidth?s.borderWidth:o.valueAtIndexOrDefault(l.borderWidth,e,u.borderWidth)},i.updateElementGeometry(t,e,n),t.pivot()},updateElementGeometry:function(t,e,n){var i=this,a=t._model,o=i.getValueScale(),r=o.getBasePixel(),l=o.isHorizontal(),s=i._ruler||i.getRuler(),u=i.calculateBarValuePixels(i.index,e),d=i.calculateBarIndexPixels(i.index,e,s);a.horizontal=l,a.base=n?r:u.base,a.x=l?n?r:u.head:d.center,a.y=l?d.center:n?r:u.head,a.height=l?d.size:void 0,a.width=l?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},getStackCount:function(t){var e,n,i=this,a=i.chart,o=i.getIndexScale().options.stacked,r=void 0===t?a.data.datasets.length:t+1,l=[];for(e=0;e<r;++e)(n=a.getDatasetMeta(e)).bar&&a.isDatasetVisible(e)&&(!1===o||!0===o&&-1===l.indexOf(n.stack)||void 0===o&&(void 0===n.stack||-1===l.indexOf(n.stack)))&&l.push(n.stack);return l.length},getStackIndex:function(t){return this.getStackCount(t)-1},getRuler:function(){var t,e,n=this,i=n.getIndexScale(),a=n.getStackCount(),o=n.index,r=[],l=i.isHorizontal(),s=l?i.left:i.top,u=s+(l?i.width:i.height);for(t=0,e=n.getMeta().data.length;t<e;++t)r.push(i.getPixelForValue(null,t,o));return{pixels:r,start:s,end:u,stackCount:a,scale:i}},calculateBarValuePixels:function(t,e){var n,i,a,o,r,l,s=this,u=s.chart,d=s.getMeta(),c=s.getValueScale(),h=u.data.datasets,f=c.getRightValue(h[t].data[e]),g=c.options.stacked,p=d.stack,v=0;if(g||void 0===g&&void 0!==p)for(n=0;n<t;++n)(i=u.getDatasetMeta(n)).bar&&i.stack===p&&i.controller.getValueScaleId()===c.id&&u.isDatasetVisible(n)&&(a=c.getRightValue(h[n].data[e]),(f<0&&a<0||f>=0&&a>0)&&(v+=a));return o=c.getPixelForValue(v),r=c.getPixelForValue(v+f),l=(r-o)/2,{size:l,base:o,head:r,center:r+l/2}},calculateBarIndexPixels:function(t,e,n){var i,a,r,l,s,u,d=this,c=n.scale.options,h=d.getStackIndex(t),f=n.pixels,g=f[e],p=f.length,v=n.start,m=n.end;return 1===p?(i=g>v?g-v:m-g,a=g<m?m-g:g-v):(e>0&&(i=(g-f[e-1])/2,e===p-1&&(a=i)),e<p-1&&(a=(f[e+1]-g)/2,0===e&&(i=a))),r=i*c.categoryPercentage,l=a*c.categoryPercentage,s=(r+l)/n.stackCount,u=s*c.barPercentage,u=Math.min(o.valueOrDefault(c.barThickness,u),o.valueOrDefault(c.maxBarThickness,1/0)),g-=r,g+=s*h,g+=(s-u)/2,{size:u,base:g,head:g+u,center:g+u/2}},draw:function(){var t=this,e=t.chart,n=t.getValueScale(),i=t.getMeta().data,a=t.getDataset(),r=i.length,l=0;for(o.canvas.clipArea(e.ctx,e.chartArea);l<r;++l)isNaN(n.getRightValue(a.data[l]))||i[l].draw();o.canvas.unclipArea(e.ctx)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:o.valueAtIndexOrDefault(e.hoverBackgroundColor,n,o.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:o.valueAtIndexOrDefault(e.hoverBorderColor,n,o.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:o.valueAtIndexOrDefault(e.hoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model,r=this.chart.options.elements.rectangle;a.backgroundColor=i.backgroundColor?i.backgroundColor:o.valueAtIndexOrDefault(e.backgroundColor,n,r.backgroundColor),a.borderColor=i.borderColor?i.borderColor:o.valueAtIndexOrDefault(e.borderColor,n,r.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:o.valueAtIndexOrDefault(e.borderWidth,n,r.borderWidth)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:a.Point,update:function(t){var e=this,n=e.getMeta().data;o.each(n,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,a=i.getMeta(),o=t.custom||{},r=i.getScaleForId(a.xAxisID),l=i.getScaleForId(a.yAxisID),s=i._resolveElementOptions(t,e),u=i.getDataset().data[e],d=i.index,c=n?r.getPixelForDecimal(.5):r.getPixelForValue("object"==typeof u?u:NaN,e,d),h=n?l.getBasePixel():l.getPixelForValue(u,e,d);t._xScale=r,t._yScale=l,t._options=s,t._datasetIndex=d,t._index=e,t._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,radius:n?0:s.radius,skip:o.skip||isNaN(c)||isNaN(h),x:c,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=o.valueOrDefault(n.hoverBackgroundColor,o.getHoverColor(n.backgroundColor)),e.borderColor=o.valueOrDefault(n.hoverBorderColor,o.getHoverColor(n.borderColor)),e.borderWidth=o.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},removeHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=n.backgroundColor,e.borderColor=n.borderColor,e.borderWidth=n.borderWidth,e.radius=n.radius},_resolveElementOptions:function(t,e){var n,i,a,r=this,l=r.chart,s=l.data.datasets[r.index],u=t.custom||{},d=l.options.elements.point,c=o.options.resolve,h=s.data[e],f={},g={chart:l,dataIndex:e,dataset:s,datasetIndex:r.index},p=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=p.length;n<i;++n)f[a=p[n]]=c([u[a],s[a],d[a]],g,e);return f.radius=c([u.radius,h?h.r:void 0,s.radius,d.radius],g,e),f}})}},{25:25,40:40,45:45}],17:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var o=0;o<i[0].data.length;++o)e.push('<li><span style="background-color:'+i[0].backgroundColor[o]+'"></span>'),a[o]&&e.push(a[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var a=t.getDatasetMeta(0),r=e.datasets[0],l=a.data[i],s=l&&l.custom||{},u=o.valueAtIndexOrDefault,d=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:u(r.backgroundColor,i,d.backgroundColor),strokeStyle:s.borderColor?s.borderColor:u(r.borderColor,i,d.borderColor),lineWidth:s.borderWidth?s.borderWidth:u(r.borderWidth,i,d.borderWidth),hidden:isNaN(r.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,a,o=e.index,r=this.chart;for(n=0,i=(r.data.datasets||[]).length;n<i;++n)(a=r.getDatasetMeta(n)).data[o]&&(a.data[o].hidden=!a.data[o].hidden);r.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return o.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),i._set("pie",o.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:a.Arc,linkScales:o.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e=this,n=e.chart,i=n.chartArea,a=n.options,r=a.elements.arc,l=i.right-i.left-r.borderWidth,s=i.bottom-i.top-r.borderWidth,u=Math.min(l,s),d={x:0,y:0},c=e.getMeta(),h=a.cutoutPercentage,f=a.circumference;if(f<2*Math.PI){var g=a.rotation%(2*Math.PI),p=(g+=2*Math.PI*(g>=Math.PI?-1:g<-Math.PI?1:0))+f,v={x:Math.cos(g),y:Math.sin(g)},m={x:Math.cos(p),y:Math.sin(p)},b=g<=0&&p>=0||g<=2*Math.PI&&2*Math.PI<=p,x=g<=.5*Math.PI&&.5*Math.PI<=p||g<=2.5*Math.PI&&2.5*Math.PI<=p,y=g<=-Math.PI&&-Math.PI<=p||g<=Math.PI&&Math.PI<=p,k=g<=.5*-Math.PI&&.5*-Math.PI<=p||g<=1.5*Math.PI&&1.5*Math.PI<=p,w=h/100,M={x:y?-1:Math.min(v.x*(v.x<0?1:w),m.x*(m.x<0?1:w)),y:k?-1:Math.min(v.y*(v.y<0?1:w),m.y*(m.y<0?1:w))},S={x:b?1:Math.max(v.x*(v.x>0?1:w),m.x*(m.x>0?1:w)),y:x?1:Math.max(v.y*(v.y>0?1:w),m.y*(m.y>0?1:w))},C={width:.5*(S.x-M.x),height:.5*(S.y-M.y)};u=Math.min(l/C.width,s/C.height),d={x:-.5*(S.x+M.x),y:-.5*(S.y+M.y)}}n.borderWidth=e.getMaxBorderWidth(c.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(h?n.outerRadius/100*h:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=d.x*n.outerRadius,n.offsetY=d.y*n.outerRadius,c.total=e.calculateTotal(),e.outerRadius=n.outerRadius-n.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-n.radiusLength,0),o.each(c.data,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,a=i.chart,r=a.chartArea,l=a.options,s=l.animation,u=(r.left+r.right)/2,d=(r.top+r.bottom)/2,c=l.rotation,h=l.rotation,f=i.getDataset(),g=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(f.data[e])*(l.circumference/(2*Math.PI)),p=n&&s.animateScale?0:i.innerRadius,v=n&&s.animateScale?0:i.outerRadius,m=o.valueAtIndexOrDefault;o.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+a.offsetX,y:d+a.offsetY,startAngle:c,endAngle:h,circumference:g,outerRadius:v,innerRadius:p,label:m(f.label,e,a.data.labels[e])}});var b=t._model;this.removeHoverStyle(t),n&&s.animateRotate||(b.startAngle=0===e?l.rotation:i.getMeta().data[e-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return o.each(n.data,function(n,a){t=e.data[a],isNaN(t)||n.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(t/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,a=this.index,o=t.length,r=0;r<o;r++)e=t[r]._model?t[r]._model.borderWidth:0,i=(n=t[r]._chart?t[r]._chart.config.data.datasets[a].hoverBorderWidth:0)>(i=e>i?e:i)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function e(t,e){return o.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,update:function(t){var n,i,a,r=this,l=r.getMeta(),s=l.dataset,u=l.data||[],d=r.chart.options,c=d.elements.line,h=r.getScaleForId(l.yAxisID),f=r.getDataset(),g=e(f,d);for(g&&(a=s.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),s._scale=h,s._datasetIndex=r.index,s._children=u,s._model={spanGaps:f.spanGaps?f.spanGaps:d.spanGaps,tension:a.tension?a.tension:o.valueOrDefault(f.lineTension,c.tension),backgroundColor:a.backgroundColor?a.backgroundColor:f.backgroundColor||c.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:f.borderWidth||c.borderWidth,borderColor:a.borderColor?a.borderColor:f.borderColor||c.borderColor,borderCapStyle:a.borderCapStyle?a.borderCapStyle:f.borderCapStyle||c.borderCapStyle,borderDash:a.borderDash?a.borderDash:f.borderDash||c.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:f.borderDashOffset||c.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:f.borderJoinStyle||c.borderJoinStyle,fill:a.fill?a.fill:void 0!==f.fill?f.fill:c.fill,steppedLine:a.steppedLine?a.steppedLine:o.valueOrDefault(f.steppedLine,c.stepped),cubicInterpolationMode:a.cubicInterpolationMode?a.cubicInterpolationMode:o.valueOrDefault(f.cubicInterpolationMode,c.cubicInterpolationMode)},s.pivot()),n=0,i=u.length;n<i;++n)r.updateElement(u[n],n,t);for(g&&0!==s._model.tension&&r.updateBezierControlPoints(),n=0,i=u.length;n<i;++n)u[n].pivot()},getPointBackgroundColor:function(t,e){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),a=t.custom||{};return a.backgroundColor?n=a.backgroundColor:i.pointBackgroundColor?n=o.valueAtIndexOrDefault(i.pointBackgroundColor,e,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(t,e){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),a=t.custom||{};return a.borderColor?n=a.borderColor:i.pointBorderColor?n=o.valueAtIndexOrDefault(i.pointBorderColor,e,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(t,e){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),a=t.custom||{};return isNaN(a.borderWidth)?!isNaN(i.pointBorderWidth)||o.isArray(i.pointBorderWidth)?n=o.valueAtIndexOrDefault(i.pointBorderWidth,e,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=a.borderWidth,n},updateElement:function(t,e,n){var i,a,r=this,l=r.getMeta(),s=t.custom||{},u=r.getDataset(),d=r.index,c=u.data[e],h=r.getScaleForId(l.yAxisID),f=r.getScaleForId(l.xAxisID),g=r.chart.options.elements.point;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),i=f.getPixelForValue("object"==typeof c?c:NaN,e,d),a=n?h.getBasePixel():r.calculatePointY(c,e,d),t._xScale=f,t._yScale=h,t._datasetIndex=d,t._index=e,t._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:s.radius||o.valueAtIndexOrDefault(u.pointRadius,e,g.radius),pointStyle:s.pointStyle||o.valueAtIndexOrDefault(u.pointStyle,e,g.pointStyle),backgroundColor:r.getPointBackgroundColor(t,e),borderColor:r.getPointBorderColor(t,e),borderWidth:r.getPointBorderWidth(t,e),tension:l.dataset._model?l.dataset._model.tension:0,steppedLine:!!l.dataset._model&&l.dataset._model.steppedLine,hitRadius:s.hitRadius||o.valueAtIndexOrDefault(u.pointHitRadius,e,g.hitRadius)}},calculatePointY:function(t,e,n){var i,a,o,r=this,l=r.chart,s=r.getMeta(),u=r.getScaleForId(s.yAxisID),d=0,c=0;if(u.options.stacked){for(i=0;i<n;i++)if(a=l.data.datasets[i],"line"===(o=l.getDatasetMeta(i)).type&&o.yAxisID===u.id&&l.isDatasetVisible(i)){var h=Number(u.getRightValue(a.data[e]));h<0?c+=h||0:d+=h||0}var f=Number(u.getRightValue(t));return f<0?u.getPixelForValue(c+f):u.getPixelForValue(d+f)}return u.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,a,r=this,l=r.getMeta(),s=r.chart.chartArea,u=l.data||[];if(l.dataset._model.spanGaps&&(u=u.filter(function(t){return!t._model.skip})),"monotone"===l.dataset._model.cubicInterpolationMode)o.splineCurveMonotone(u);else for(e=0,n=u.length;e<n;++e)i=u[e]._model,a=o.splineCurve(o.previousItem(u,e)._model,i,o.nextItem(u,e)._model,l.dataset._model.tension),i.controlPointPreviousX=a.previous.x,i.controlPointPreviousY=a.previous.y,i.controlPointNextX=a.next.x,i.controlPointNextY=a.next.y;if(r.chart.options.elements.line.capBezierPoints)for(e=0,n=u.length;e<n;++e)(i=u[e]._model).controlPointPreviousX=t(i.controlPointPreviousX,s.left,s.right),i.controlPointPreviousY=t(i.controlPointPreviousY,s.top,s.bottom),i.controlPointNextX=t(i.controlPointNextX,s.left,s.right),i.controlPointNextY=t(i.controlPointNextY,s.top,s.bottom)},draw:function(){var t=this,n=t.chart,i=t.getMeta(),a=i.data||[],r=n.chartArea,l=a.length,s=0;for(o.canvas.clipArea(n.ctx,r),e(t.getDataset(),n.options)&&i.dataset.draw(),o.canvas.unclipArea(n.ctx);s<l;++s)a[s].draw(r)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model;a.radius=i.hoverRadius||o.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor||o.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,o.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor||o.valueAtIndexOrDefault(e.pointHoverBorderColor,n,o.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth||o.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(t){var e=this,n=e.chart.data.datasets[t._datasetIndex],i=t._index,a=t.custom||{},r=t._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),r.radius=a.radius||o.valueAtIndexOrDefault(n.pointRadius,i,e.chart.options.elements.point.radius),r.backgroundColor=e.getPointBackgroundColor(t,i),r.borderColor=e.getPointBorderColor(t,i),r.borderWidth=e.getPointBorderWidth(t,i)}})}},{25:25,40:40,45:45}],19:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,a=n.labels;if(i.length)for(var o=0;o<i[0].data.length;++o)e.push('<li><span style="background-color:'+i[0].backgroundColor[o]+'"></span>'),a[o]&&e.push(a[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(n,i){var a=t.getDatasetMeta(0),r=e.datasets[0],l=a.data[i].custom||{},s=o.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:l.backgroundColor?l.backgroundColor:s(r.backgroundColor,i,u.backgroundColor),strokeStyle:l.borderColor?l.borderColor:s(r.borderColor,i,u.borderColor),lineWidth:l.borderWidth?l.borderWidth:s(r.borderWidth,i,u.borderWidth),hidden:isNaN(r.data[i])||a.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,a,o=e.index,r=this.chart;for(n=0,i=(r.data.datasets||[]).length;n<i;++n)(a=r.getDatasetMeta(n)).data[o].hidden=!a.data[o].hidden;r.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:a.Arc,linkScales:o.noop,update:function(t){var e=this,n=e.chart,i=n.chartArea,a=e.getMeta(),r=n.options,l=r.elements.arc,s=Math.min(i.right-i.left,i.bottom-i.top);n.outerRadius=Math.max((s-l.borderWidth/2)/2,0),n.innerRadius=Math.max(r.cutoutPercentage?n.outerRadius/100*r.cutoutPercentage:1,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),e.outerRadius=n.outerRadius-n.radiusLength*e.index,e.innerRadius=e.outerRadius-n.radiusLength,a.count=e.countVisibleElements(),o.each(a.data,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){for(var i=this,a=i.chart,r=i.getDataset(),l=a.options,s=l.animation,u=a.scale,d=a.data.labels,c=i.calculateCircumference(r.data[e]),h=u.xCenter,f=u.yCenter,g=0,p=i.getMeta(),v=0;v<e;++v)isNaN(r.data[v])||p.data[v].hidden||++g;var m=l.startAngle,b=t.hidden?0:u.getDistanceFromCenterForValue(r.data[e]),x=m+c*g,y=x+(t.hidden?0:c),k=s.animateScale?0:u.getDistanceFromCenterForValue(r.data[e]);o.extend(t,{_datasetIndex:i.index,_index:e,_scale:u,_model:{x:h,y:f,innerRadius:0,outerRadius:n?k:b,startAngle:n&&s.animateRotate?m:x,endAngle:n&&s.animateRotate?m:y,label:o.valueAtIndexOrDefault(d,e,d[e])}}),i.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return o.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||n++}),n},calculateCircumference:function(t){var e=this.getMeta().count;return e>0&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:a.Line,dataElementType:a.Point,linkScales:o.noop,update:function(t){var e=this,n=e.getMeta(),i=n.dataset,a=n.data,r=i.custom||{},l=e.getDataset(),s=e.chart.options.elements.line,u=e.chart.scale;void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o.extend(n.dataset,{_datasetIndex:e.index,_scale:u,_children:a,_loop:!0,_model:{tension:r.tension?r.tension:o.valueOrDefault(l.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:l.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:l.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:l.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==l.fill?l.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:l.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:l.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:l.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:l.borderJoinStyle||s.borderJoinStyle}}),n.dataset.pivot(),o.each(a,function(n,i){e.updateElement(n,i,t)},e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,a=t.custom||{},r=i.getDataset(),l=i.chart.scale,s=i.chart.options.elements.point,u=l.getPointPositionForValue(e,r.data[e]);void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),void 0!==r.hitRadius&&void 0===r.pointHitRadius&&(r.pointHitRadius=r.hitRadius),o.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{x:n?l.xCenter:u.x,y:n?l.yCenter:u.y,tension:a.tension?a.tension:o.valueOrDefault(r.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:o.valueAtIndexOrDefault(r.pointRadius,e,s.radius),backgroundColor:a.backgroundColor?a.backgroundColor:o.valueAtIndexOrDefault(r.pointBackgroundColor,e,s.backgroundColor),borderColor:a.borderColor?a.borderColor:o.valueAtIndexOrDefault(r.pointBorderColor,e,s.borderColor),borderWidth:a.borderWidth?a.borderWidth:o.valueAtIndexOrDefault(r.pointBorderWidth,e,s.borderWidth),pointStyle:a.pointStyle?a.pointStyle:o.valueAtIndexOrDefault(r.pointStyle,e,s.pointStyle),hitRadius:a.hitRadius?a.hitRadius:o.valueAtIndexOrDefault(r.pointHitRadius,e,s.hitRadius)}}),t._model.skip=a.skip?a.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();o.each(e.data,function(n,i){var a=n._model,r=o.splineCurve(o.previousItem(e.data,i,!0)._model,a,o.nextItem(e.data,i,!0)._model,a.tension);a.controlPointPreviousX=Math.max(Math.min(r.previous.x,t.right),t.left),a.controlPointPreviousY=Math.max(Math.min(r.previous.y,t.bottom),t.top),a.controlPointNextX=Math.max(Math.min(r.next.x,t.right),t.left),a.controlPointNextY=Math.max(Math.min(r.next.y,t.bottom),t.top),n.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model;a.radius=n.hoverRadius?n.hoverRadius:o.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:o.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,o.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor?n.hoverBorderColor:o.valueAtIndexOrDefault(e.pointHoverBorderColor,i,o.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:o.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,a=t._model,r=this.chart.options.elements.point;a.radius=n.radius?n.radius:o.valueAtIndexOrDefault(e.pointRadius,i,r.radius),a.backgroundColor=n.backgroundColor?n.backgroundColor:o.valueAtIndexOrDefault(e.pointBackgroundColor,i,r.backgroundColor),a.borderColor=n.borderColor?n.borderColor:o.valueAtIndexOrDefault(e.pointBorderColor,i,r.borderColor),a.borderWidth=n.borderWidth?n.borderWidth:o.valueAtIndexOrDefault(e.pointBorderWidth,i,r.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,n){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:o.noop,onComplete:o.noop}}),e.exports=function(t){t.Animation=a.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var a,o,r=this.animations;for(e.chart=t,i||(t.animating=!0),a=0,o=r.length;a<o;++a)if(r[a].chart===t)return void(r[a]=e);r.push(e),1===r.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=o.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=o.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;t.dropFrames>1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,a=0;a<i.length;)n=(e=i[a]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),o.callback(e.render,[n,e],n),o.callback(e.onAnimationProgress,[e],n),e.currentStep>=e.numSteps?(o.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,n){"use strict";var i=t(25),a=t(45),o=t(28),r=t(48);e.exports=function(t){function e(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=a.configMerge(i.global,i[t.type],t.options||{}),t}function n(t){var e=t.options;e.scale?t.scale.options=e.scale:e.scales&&e.scales.xAxes.concat(e.scales.yAxes).forEach(function(e){t.scales[e.id].options=e}),t.tooltip._options=e.tooltips}function l(t){return"top"===t||"bottom"===t}var s=t.plugins;t.types={},t.instances={},t.controllers={},a.extend(t.prototype,{construct:function(n,i){var o=this;i=e(i);var l=r.acquireContext(n,i),s=l&&l.canvas,u=s&&s.height,d=s&&s.width;o.id=a.uid(),o.ctx=l,o.canvas=s,o.config=i,o.width=d,o.height=u,o.aspectRatio=u?d/u:null,o.options=i.options,o._bufferedRender=!1,o.chart=o,o.controller=o,t.instances[o.id]=o,Object.defineProperty(o,"data",{get:function(){return o.config.data},set:function(t){o.config.data=t}}),l&&s?(o.initialize(),o.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return s.notify(t,"beforeInit"),a.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildScales(),t.initToolTip(),s.notify(t,"afterInit"),t},clear:function(){return a.canvas.clear(this),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,o=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(a.getMaximumWidth(i))),l=Math.max(0,Math.floor(o?r/o:a.getMaximumHeight(i)));if((e.width!==r||e.height!==l)&&(i.width=e.width=r,i.height=e.height=l,i.style.width=r+"px",i.style.height=l+"px",a.retinaScale(e,n.devicePixelRatio),!t)){var u={width:r,height:l};s.notify(e,"resize",[u]),e.options.onResize&&e.options.onResize(e,u),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;a.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),a.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildScales:function(){var e=this,n=e.options,i=e.scales={},o=[];n.scales&&(o=o.concat((n.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(n.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),n.scale&&o.push({options:n.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(o,function(n){var o=n.options,r=a.valueOrDefault(o.type,n.dtype),s=t.scaleService.getScaleConstructor(r);if(s){l(o.position)!==l(n.dposition)&&(o.position=n.dposition);var u=new s({id:o.id,options:o,ctx:e.ctx,chart:e});i[u.id]=u,u.mergeTicksOptions(),n.isDefault&&(e.scale=u)}}),t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return a.each(e.data.datasets,function(a,o){var r=e.getDatasetMeta(o),l=a.type||e.config.type;if(r.type&&r.type!==l&&(e.destroyDatasetMeta(o),r=e.getDatasetMeta(o)),r.type=l,n.push(r.type),r.controller)r.controller.updateIndex(o);else{var s=t.controllers[r.type];if(void 0===s)throw new Error('"'+r.type+'" is not a chart type.');r.controller=new s(e,o),i.push(r.controller)}},e),i},resetElements:function(){var t=this;a.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n(e),!1!==s.notify(e,"beforeUpdate")){e.tooltip._data=e.data;var i=e.buildOrUpdateControllers();a.each(e.data.datasets,function(t,n){e.getDatasetMeta(n).controller.buildOrUpdateElements()},e),e.updateLayout(),a.each(i,function(t){t.reset()}),e.updateDatasets(),e.tooltip.initialize(),e.lastActive=[],s.notify(e,"afterUpdate"),e._bufferedRender?e._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:e.render(t)}},updateLayout:function(){var e=this;!1!==s.notify(e,"beforeLayout")&&(t.layoutService.update(this,this.width,this.height),s.notify(e,"afterScaleUpdate"),s.notify(e,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==s.notify(t,"beforeDatasetsUpdate")){for(var e=0,n=t.data.datasets.length;e<n;++e)t.updateDataset(e);s.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this,n=e.getDatasetMeta(t),i={meta:n,index:t};!1!==s.notify(e,"beforeDatasetUpdate",[i])&&(n.controller.update(),s.notify(e,"afterDatasetUpdate",[i]))},render:function(e){var n=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var i=e.duration,o=e.lazy;if(!1!==s.notify(n,"beforeRender")){var r=n.options.animation,l=function(t){s.notify(n,"afterRender"),a.callback(r&&r.onComplete,[t],n)};if(r&&(void 0!==i&&0!==i||void 0===i&&0!==r.duration)){var u=new t.Animation({numSteps:(i||r.duration)/16.66,easing:e.easing||r.easing,render:function(t,e){var n=a.easing.effects[e.easing],i=e.currentStep,o=i/e.numSteps;t.draw(n(o),o,i)},onAnimationProgress:r.onProgress,onAnimationComplete:l});t.animationService.addAnimation(n,u,i,o)}else n.draw(),l(new t.Animation({numSteps:0,chart:n}));return n}},draw:function(t){var e=this;e.clear(),a.isNullOrUndef(t)&&(t=1),e.transition(t),!1!==s.notify(e,"beforeDraw",[t])&&(a.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),s.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=this,n=0,i=(e.data.datasets||[]).length;n<i;++n)e.isDatasetVisible(n)&&e.getDatasetMeta(n).controller.transition(t);e.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==s.notify(e,"beforeDatasetsDraw",[t])){for(var n=(e.data.datasets||[]).length-1;n>=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);s.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,i=n.getDatasetMeta(t),a={meta:i,index:t,easingValue:e};!1!==s.notify(n,"beforeDatasetDraw",[a])&&(i.controller.draw(e),s.notify(n,"afterDatasetDraw",[a]))},_drawTooltip:function(t){var e=this,n=e.tooltip,i={tooltip:n,easingValue:t};!1!==s.notify(e,"beforeTooltipDraw",[i])&&(n.draw(),s.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return o.modes.single(this,t)},getElementsAtEvent:function(t){return o.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return o.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=o.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return o.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var e,n,i=this,o=i.canvas;for(i.stop(),e=0,n=i.data.datasets.length;e<n;++e)i.destroyDatasetMeta(e);o&&(i.unbindEvents(),a.canvas.clear(i),r.releaseContext(i.ctx),i.canvas=null,i.ctx=null),s.notify(i,"destroy"),delete t.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new t.Tooltip({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};a.each(t.options.events,function(i){r.addEventListener(t,i,n),e[i]=n}),t.options.responsive&&(n=function(){t.resize()},r.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,a.each(e,function(e,n){r.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var i,a,o,r=n?"setHoverStyle":"removeHoverStyle";for(a=0,o=t.length;a<o;++a)(i=t[a])&&this.getDatasetMeta(i._datasetIndex).controller[r](i)},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==s.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);i|=n&&n.handleEvent(t),s.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render(e.options.hover.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e=this,n=e.options||{},i=n.hover,o=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,i.mode,i),a.callback(n.onHover||n.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,i.mode,!1),e.active.length&&i.mode&&e.updateHoverStyle(e.active,i.mode,!0),o=!a.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,o}}),t.Controller=t}},{25:25,28:28,45:45,48:48}],24:[function(t,e,n){"use strict";var i=t(45);e.exports=function(t){function e(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),a.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),a=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),o=a.apply(this,e);return i.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),o}})}))}function n(t,e){var n=t._chartjs;if(n){var i=n.listeners,o=i.indexOf(e);-1!==o&&i.splice(o,1),i.length>0||(a.forEach(function(e){delete t[e]}),delete t._chartjs)}}var a=["push","pop","shift","splice","unshift"];t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null===e.xAxisID&&(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null===e.yAxisID&&(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),a=n.getDataset().data||[],o=i.data;for(t=0,e=a.length;t<e;++t)o[t]=o[t]||n.createMetaData(t);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,i=t.getDataset(),a=i.data||(i.data=[]);t._data!==a&&(t._data&&n(t._data,t),e(a,t),t._data=a),t.resyncElements()},update:i.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,a=0;a<i;++a)n[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],a=t._index,o=t.custom||{},r=i.valueAtIndexOrDefault,l=t._model;l.backgroundColor=o.backgroundColor?o.backgroundColor:r(n.backgroundColor,a,e.backgroundColor),l.borderColor=o.borderColor?o.borderColor:r(n.borderColor,a,e.borderColor),l.borderWidth=o.borderWidth?o.borderWidth:r(n.borderWidth,a,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,a=t.custom||{},o=i.valueAtIndexOrDefault,r=i.getHoverColor,l=t._model;l.backgroundColor=a.hoverBackgroundColor?a.hoverBackgroundColor:o(e.hoverBackgroundColor,n,r(l.backgroundColor)),l.borderColor=a.hoverBorderColor?a.hoverBorderColor:o(e.hoverBorderColor,n,r(l.borderColor)),l.borderWidth=a.hoverBorderWidth?a.hoverBorderWidth:o(e.hoverBorderWidth,n,l.borderWidth)},resyncElements:function(){var t=this,e=t.getMeta(),n=t.getDataset().data,i=e.data.length,a=n.length;a<i?e.data.splice(a,i-a):a>i&&t.insertElements(i,a-i)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=i.inherits}},{45:45}],25:[function(t,e,n){"use strict";var i=t(45);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{45:45}],26:[function(t,e,n){"use strict";function i(t,e,n,i){var o,r,l,s,u,d,c,h,f,g=Object.keys(n);for(o=0,r=g.length;o<r;++o)if(l=g[o],d=n[l],e.hasOwnProperty(l)||(e[l]=d),(s=e[l])!==d&&"_"!==l[0]){if(t.hasOwnProperty(l)||(t[l]=s),u=t[l],(c=typeof d)===typeof u)if("string"===c){if((h=a(u)).valid&&(f=a(d)).valid){e[l]=f.mix(h,i).rgbString();continue}}else if("number"===c&&isFinite(u)&&isFinite(d)){e[l]=u+(d-u)*i;continue}e[l]=d}}var a=t(3),o=t(45),r=function(t){o.extend(this,t),this.initialize.apply(this,arguments)};o.extend(r.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=o.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,a=e._start,o=e._view;return n&&1!==t?(o||(o=e._view={}),a||(a=e._start={}),i(a,o,n,t),e):(e._view=n,e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return o.isNumber(this._model.x)&&o.isNumber(this._model.y)}}),r.extend=o.inherits,e.exports=r},{3:3,45:45}],27:[function(t,e,n){"use strict";var i=t(3),a=t(25),o=t(45);e.exports=function(t){function e(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function n(t){return void 0!==t&&null!==t&&"none"!==t}function r(t,i,a){var o=document.defaultView,r=t.parentNode,l=o.getComputedStyle(t)[i],s=o.getComputedStyle(r)[i],u=n(l),d=n(s),c=Number.POSITIVE_INFINITY;return u||d?Math.min(u?e(l,t,a):c,d?e(s,r,a):c):"none"}o.configMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,a){var r=n[e]||{},l=i[e];"scales"===e?n[e]=o.scaleMerge(r,l):"scale"===e?n[e]=o.merge(r,[t.scaleService.getScaleDefaults(l.type),l]):o._merger(e,n,i,a)}})},o.scaleMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,a){if("xAxes"===e||"yAxes"===e){var r,l,s,u=i[e].length;for(n[e]||(n[e]=[]),r=0;r<u;++r)s=i[e][r],l=o.valueOrDefault(s.type,"xAxes"===e?"category":"linear"),r>=n[e].length&&n[e].push({}),!n[e][r].type||s.type&&s.type!==n[e][r].type?o.merge(n[e][r],[t.scaleService.getScaleDefaults(l),s]):o.merge(n[e][r],s)}else o._merger(e,n,i,a)}})},o.where=function(t,e){if(o.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return o.each(t,function(t){e(t)&&n.push(t)}),n},o.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i<a;++i)if(e.call(n,t[i],i,t))return i;return-1},o.findNextWhere=function(t,e,n){o.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var a=t[i];if(e(a))return a}},o.findPreviousWhere=function(t,e,n){o.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var a=t[i];if(e(a))return a}},o.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},o.almostEquals=function(t,e,n){return Math.abs(t-e)<n},o.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&n+e>t},o.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},o.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},o.log10=Math.log10?function(t){return Math.log10(t)}:function(t){return Math.log(t)/Math.LN10},o.toRadians=function(t){return t*(Math.PI/180)},o.toDegrees=function(t){return t*(180/Math.PI)},o.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:a}},o.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o.aliasPixel=function(t){return t%2==0?0:.5},o.splineCurve=function(t,e,n,i){var a=t.skip?e:t,o=e,r=n.skip?e:n,l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),s=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),u=l/(l+s),d=s/(l+s),c=i*(u=isNaN(u)?0:u),h=i*(d=isNaN(d)?0:d);return{previous:{x:o.x-c*(r.x-a.x),y:o.y-c*(r.y-a.y)},next:{x:o.x+h*(r.x-a.x),y:o.y+h*(r.y-a.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(t){var e,n,i,a,r=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),l=r.length;for(e=0;e<l;++e)if(!(i=r[e]).model.skip){if(n=e>0?r[e-1]:null,(a=e<l-1?r[e+1]:null)&&!a.model.skip){var s=a.model.x-i.model.x;i.deltaK=0!==s?(a.model.y-i.model.y)/s:0}!n||n.model.skip?i.mK=i.deltaK:!a||a.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}var u,d,c,h;for(e=0;e<l-1;++e)i=r[e],a=r[e+1],i.model.skip||a.model.skip||(o.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(u=i.mK/i.deltaK,d=a.mK/i.deltaK,(h=Math.pow(u,2)+Math.pow(d,2))<=9||(c=3/Math.sqrt(h),i.mK=u*c*i.deltaK,a.mK=d*c*i.deltaK)));var f;for(e=0;e<l;++e)(i=r[e]).model.skip||(n=e>0?r[e-1]:null,a=e<l-1?r[e+1]:null,n&&!n.model.skip&&(f=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-f,i.model.controlPointPreviousY=i.model.y-f*i.mK),a&&!a.model.skip&&(f=(a.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+f,i.model.controlPointNextY=i.model.y+f*i.mK))},o.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},o.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},o.niceNum=function(t,e){var n=Math.floor(o.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},o.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},o.getRelativePosition=function(t,e){var n,i,a=t.originalEvent||t,r=t.currentTarget||t.srcElement,l=r.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var u=parseFloat(o.getStyle(r,"padding-left")),d=parseFloat(o.getStyle(r,"padding-top")),c=parseFloat(o.getStyle(r,"padding-right")),h=parseFloat(o.getStyle(r,"padding-bottom")),f=l.right-l.left-u-c,g=l.bottom-l.top-d-h;return n=Math.round((n-l.left-u)/f*r.width/e.currentDevicePixelRatio),i=Math.round((i-l.top-d)/g*r.height/e.currentDevicePixelRatio),{x:n,y:i}},o.getConstraintWidth=function(t){return r(t,"max-width","clientWidth")},o.getConstraintHeight=function(t){return r(t,"max-height","clientHeight")},o.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(o.getStyle(e,"padding-left"),10),i=parseInt(o.getStyle(e,"padding-right"),10),a=e.clientWidth-n-i,r=o.getConstraintWidth(t);return isNaN(r)?a:Math.min(a,r)},o.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(o.getStyle(e,"padding-top"),10),i=parseInt(o.getStyle(e,"padding-bottom"),10),a=e.clientHeight-n-i,r=o.getConstraintHeight(t);return isNaN(r)?a:Math.min(a,r)},o.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},o.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,a=t.height,o=t.width;i.height=a*n,i.width=o*n,t.ctx.scale(n,n),i.style.height=a+"px",i.style.width=o+"px"}},o.fontString=function(t,e,n){return e+" "+t+"px "+n},o.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},r=i.garbageCollect=[],i.font=e),t.font=e;var l=0;o.each(n,function(e){void 0!==e&&null!==e&&!0!==o.isArray(e)?l=o.measureText(t,a,r,l,e):o.isArray(e)&&o.each(e,function(e){void 0===e||null===e||o.isArray(e)||(l=o.measureText(t,a,r,l,e))})});var s=r.length/2;if(s>n.length){for(var u=0;u<s;u++)delete a[r[u]];r.splice(0,s)}return l},o.measureText=function(t,e,n,i,a){var o=e[a];return o||(o=e[a]=t.measureText(a).width,n.push(a)),o>i&&(i=o),i},o.numberOfLabelLines=function(t){var e=1;return o.each(t,function(t){o.isArray(t)&&t.length>e&&(e=t.length)}),e},o.color=i?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},o.getHoverColor=function(t){return t instanceof CanvasPattern?t:o.color(t).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(t,e,n){"use strict";function i(t,e){return t.native?{x:t.x,y:t.y}:u.getRelativePosition(t,e)}function a(t,e){var n,i,a,o,r;for(i=0,o=t.data.datasets.length;i<o;++i)if(t.isDatasetVisible(i))for(a=0,r=(n=t.getDatasetMeta(i)).data.length;a<r;++a){var l=n.data[a];l._view.skip||e(l)}}function o(t,e){var n=[];return a(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function r(t,e,n,i){var o=Number.POSITIVE_INFINITY,r=[];return a(t,function(t){if(!n||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),l=i(e,a);l<o?(r=[t],o=l):l===o&&r.push(t)}}),r}function l(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var a=e?Math.abs(t.x-i.x):0,o=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(o,2))}}function s(t,e,n){var a=i(e,t);n.axis=n.axis||"x";var s=l(n.axis),u=n.intersect?o(t,a):r(t,a,!1,s),d=[];return u.length?(t.data.datasets.forEach(function(e,n){if(t.isDatasetVisible(n)){var i=t.getDatasetMeta(n).data[u[0]._index];i&&!i._view.skip&&d.push(i)}}),d):[]}var u=t(45);e.exports={modes:{single:function(t,e){var n=i(e,t),o=[];return a(t,function(t){if(t.inRange(n.x,n.y))return o.push(t),o}),o.slice(0,1)},label:s,index:s,dataset:function(t,e,n){var a=i(e,t);n.axis=n.axis||"xy";var s=l(n.axis),u=n.intersect?o(t,a):r(t,a,!1,s);return u.length>0&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return s(t,e,{intersect:!1})},point:function(t,e){return o(t,i(e,t))},nearest:function(t,e,n){var a=i(e,t);n.axis=n.axis||"xy";var o=l(n.axis),s=r(t,a,n.intersect,o);return s.length>1&&s.sort(function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n}),s.slice(0,1)},x:function(t,e,n){var o=i(e,t),r=[],l=!1;return a(t,function(t){t.inXRange(o.x)&&r.push(t),t.inRange(o.x,o.y)&&(l=!0)}),n.intersect&&!l&&(r=[]),r},y:function(t,e,n){var o=i(e,t),r=[],l=!1;return a(t,function(t){t.inYRange(o.y)&&r.push(t),t.inRange(o.x,o.y)&&(l=!0)}),n.intersect&&!l&&(r=[]),r}}}},{45:45}],29:[function(t,e,n){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t,t}},{25:25}],30:[function(t,e,n){"use strict";var i=t(45);e.exports=function(t){function e(t,e){return i.where(t,function(t){return t.position===e})}function n(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,n){var i=e?n:t,a=e?t:n;return i.weight===a.weight?i._tmpIndex_-a._tmpIndex_:i.weight-a.weight}),t.forEach(function(t){delete t._tmpIndex_})}t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],o=a.length,r=0;r<o;++r)i=a[r],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,a,o){function r(t){var e=i.findNextWhere(_,function(e){return e.box===t});if(e)if(t.isHorizontal()){var n={left:Math.max(T,D),right:Math.max(F,I),top:0,bottom:0};t.update(t.fullWidth?x:S,y/2,n)}else t.update(e.minSize.width,C)}function l(t){t.isHorizontal()?(t.left=t.fullWidth?d:T,t.right=t.fullWidth?a-c:T+S,t.top=V,t.bottom=V+t.height,V=t.bottom):(t.left=N,t.right=N+t.width,t.top=O,t.bottom=O+C,N=t.right)}if(t){var s=t.options.layout||{},u=i.options.toPadding(s.padding),d=u.left,c=u.right,h=u.top,f=u.bottom,g=e(t.boxes,"left"),p=e(t.boxes,"right"),v=e(t.boxes,"top"),m=e(t.boxes,"bottom"),b=e(t.boxes,"chartArea");n(g,!0),n(p,!1),n(v,!0),n(m,!1);var x=a-d-c,y=o-h-f,k=y/2,w=(a-x/2)/(g.length+p.length),M=(o-k)/(v.length+m.length),S=x,C=y,_=[];i.each(g.concat(p,v,m),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?x:S,M),C-=e.height):(e=t.update(w,k),S-=e.width),_.push({horizontal:n,minSize:e,box:t})});var D=0,I=0,P=0,A=0;i.each(v.concat(m),function(t){if(t.getPadding){var e=t.getPadding();D=Math.max(D,e.left),I=Math.max(I,e.right)}}),i.each(g.concat(p),function(t){if(t.getPadding){var e=t.getPadding();P=Math.max(P,e.top),A=Math.max(A,e.bottom)}});var T=d,F=c,O=h,R=f;i.each(g.concat(p),r),i.each(g,function(t){T+=t.width}),i.each(p,function(t){F+=t.width}),i.each(v.concat(m),r),i.each(v,function(t){O+=t.height}),i.each(m,function(t){R+=t.height}),i.each(g.concat(p),function(t){var e=i.findNextWhere(_,function(e){return e.box===t}),n={left:0,right:0,top:O,bottom:R};e&&t.update(e.minSize.width,C,n)}),T=d,F=c,O=h,R=f,i.each(g,function(t){T+=t.width}),i.each(p,function(t){F+=t.width}),i.each(v,function(t){O+=t.height}),i.each(m,function(t){R+=t.height});var L=Math.max(D-T,0);T+=L,F+=Math.max(I-F,0);var z=Math.max(P-O,0);O+=z,R+=Math.max(A-R,0);var B=o-O-R,W=a-T-F;W===S&&B===C||(i.each(g,function(t){t.height=B}),i.each(p,function(t){t.height=B}),i.each(v,function(t){t.fullWidth||(t.width=W)}),i.each(m,function(t){t.fullWidth||(t.width=W)}),C=B,S=W);var N=d+L,V=h+z;i.each(g.concat(v),l),N+=S,V+=C,i.each(p,l),i.each(m,l),t.chartArea={left:T,top:O,right:T+S,bottom:O+C},i.each(b,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(S,C)})}}}}},{45:45}],31:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{plugins:{}}),e.exports=function(t){t.plugins={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,a,o,r,l,s=this.descriptors(t),u=s.length;for(i=0;i<u;++i)if(a=s[i],o=a.plugin,"function"==typeof(l=o[e])&&((r=[t].concat(n||[])).push(a.options),!1===l.apply(o,r)))return!1;return!0},descriptors:function(t){var e=t._plugins||(t._plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],a=[],r=t&&t.config||{},l=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach(function(t){if(-1===n.indexOf(t)){var e=t.id,r=l[e];!1!==r&&(!0===r&&(r=o.clone(i.global.plugins[e])),n.push(t),a.push({plugin:t,options:r||{}}))}}),e.descriptors=a,e.id=this._cacheId,a}},t.pluginService=t.plugins,t.PluginBase=a.extend({})}},{25:25,26:26,45:45}],32:[function(t,e,n){"use strict";function i(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(t[e].label);return i}function a(t,e,n){var i=t.getPixelForTick(e);return n&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}var o=t(25),r=t(26),l=t(45),s=t(34);o._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:s.formatters.values,minor:{},major:{}}}),e.exports=function(t){function e(t,e,n){return l.isArray(e)?l.longestText(t,n,e):t.measureText(e).width}function n(t){var e=l.valueOrDefault,n=o.global,i=e(t.fontSize,n.defaultFontSize),a=e(t.fontStyle,n.defaultFontStyle),r=e(t.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:r,font:l.fontString(i,a,r)}}function s(t){return l.options.toLineHeight(l.valueOrDefault(t.lineHeight,1.2),l.valueOrDefault(t.fontSize,o.global.defaultFontSize))}t.Scale=r.extend({getPadding:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1});for(var e in t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){l.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,a,o,r,s,u,d=this;for(d.beforeUpdate(),d.maxWidth=t,d.maxHeight=e,d.margins=l.extend({left:0,right:0,top:0,bottom:0},n),d.longestTextCache=d.longestTextCache||{},d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d.beforeBuildTicks(),s=d.buildTicks()||[],d.afterBuildTicks(),d.beforeTickToLabelConversion(),o=d.convertTicksToLabels(s)||d.ticks,d.afterTickToLabelConversion(),d.ticks=o,i=0,a=o.length;i<a;++i)r=o[i],(u=s[i])?u.label=r:s.push(u={label:r,major:!1});return d._ticks=s,d.beforeCalculateTickRotation(),d.calculateTickRotation(),d.afterCalculateTickRotation(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:function(){l.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){l.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){l.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){l.callback(this.options.beforeDataLimits,[this])},determineDataLimits:l.noop,afterDataLimits:function(){l.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){l.callback(this.options.beforeBuildTicks,[this])},buildTicks:l.noop,afterBuildTicks:function(){l.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){l.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){l.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){l.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,a=t.options.ticks,o=i(t._ticks),r=n(a);e.font=r.font;var s=a.minRotation||0;if(o.length&&t.options.display&&t.isHorizontal())for(var u,d=l.longestText(e,r.font,o,t.longestTextCache),c=d,h=t.getPixelForTick(1)-t.getPixelForTick(0)-6;c>h&&s<a.maxRotation;){var f=l.toRadians(s);if(u=Math.cos(f),Math.sin(f)*d>t.maxHeight){s--;break}s++,c=u*d}t.labelRotation=s},afterCalculateTickRotation:function(){l.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){l.callback(this.options.beforeFit,[this])},fit:function(){var t=this,a=t.minSize={width:0,height:0},o=i(t._ticks),r=t.options,u=r.ticks,d=r.scaleLabel,c=r.gridLines,h=r.display,f=t.isHorizontal(),g=n(u),p=r.gridLines.tickMarkLength;if(a.width=f?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&c.drawTicks?p:0,a.height=f?h&&c.drawTicks?p:0:t.maxHeight,d.display&&h){var v=s(d)+l.options.toPadding(d.padding).height;f?a.height+=v:a.width+=v}if(u.display&&h){var m=l.longestText(t.ctx,g.font,o,t.longestTextCache),b=l.numberOfLabelLines(o),x=.5*g.size,y=t.options.ticks.padding;if(f){t.longestLabelWidth=m;var k=l.toRadians(t.labelRotation),w=Math.cos(k),M=Math.sin(k)*m+g.size*b+x*(b-1)+x;a.height=Math.min(t.maxHeight,a.height+M+y),t.ctx.font=g.font;var S=e(t.ctx,o[0],g.font),C=e(t.ctx,o[o.length-1],g.font);0!==t.labelRotation?(t.paddingLeft="bottom"===r.position?w*S+3:w*x+3,t.paddingRight="bottom"===r.position?w*x+3:w*C+3):(t.paddingLeft=S/2+3,t.paddingRight=C/2+3)}else u.mirror?m=0:m+=y+x,a.width=Math.min(t.maxWidth,a.width+m),t.paddingTop=g.size/2,t.paddingBottom=g.size/2}t.handleMargins(),t.width=a.width,t.height=a.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){l.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(l.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:l.noop,getPixelForValue:l.noop,getValueForPixel:l.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),a=i*t+e.paddingLeft;n&&(a+=i/2);var o=e.left+Math.round(a);return o+=e.isFullWidth()?e.margins.left:0}var r=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(r/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,i=e.left+Math.round(n);return i+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,i,a,o=this,r=o.isHorizontal(),s=o.options.ticks.minor,u=t.length,d=l.toRadians(o.labelRotation),c=Math.cos(d),h=o.longestLabelWidth*c,f=[];for(s.maxTicksLimit&&(a=s.maxTicksLimit),r&&(e=!1,(h+s.autoSkipPadding)*u>o.width-(o.paddingLeft+o.paddingRight)&&(e=1+Math.floor((h+s.autoSkipPadding)*u/(o.width-(o.paddingLeft+o.paddingRight)))),a&&u>a&&(e=Math.max(e,Math.floor(u/a)))),n=0;n<u;n++)i=t[n],(e>1&&n%e>0||n%e==0&&n+e>=u)&&n!==u-1&&delete i.label,f.push(i);return f},draw:function(t){var e=this,i=e.options;if(i.display){var r=e.ctx,u=o.global,d=i.ticks.minor,c=i.ticks.major||d,h=i.gridLines,f=i.scaleLabel,g=0!==e.labelRotation,p=e.isHorizontal(),v=d.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),m=l.valueOrDefault(d.fontColor,u.defaultFontColor),b=n(d),x=l.valueOrDefault(c.fontColor,u.defaultFontColor),y=n(c),k=h.drawTicks?h.tickMarkLength:0,w=l.valueOrDefault(f.fontColor,u.defaultFontColor),M=n(f),S=l.options.toPadding(f.padding),C=l.toRadians(e.labelRotation),_=[],D="right"===i.position?e.left:e.right-k,I="right"===i.position?e.left+k:e.right,P="bottom"===i.position?e.top:e.bottom-k,A="bottom"===i.position?e.top+k:e.bottom;if(l.each(v,function(n,o){if(!l.isNullOrUndef(n.label)){var r,s,c,f,m=n.label;o===e.zeroLineIndex&&i.offset===h.offsetGridLines?(r=h.zeroLineWidth,s=h.zeroLineColor,c=h.zeroLineBorderDash,f=h.zeroLineBorderDashOffset):(r=l.valueAtIndexOrDefault(h.lineWidth,o),s=l.valueAtIndexOrDefault(h.color,o),c=l.valueOrDefault(h.borderDash,u.borderDash),f=l.valueOrDefault(h.borderDashOffset,u.borderDashOffset));var b,x,y,w,M,S,T,F,O,R,L="middle",z="middle",B=d.padding;if(p){var W=k+B;"bottom"===i.position?(z=g?"middle":"top",L=g?"right":"center",R=e.top+W):(z=g?"middle":"bottom",L=g?"left":"center",R=e.bottom-W);var N=a(e,o,h.offsetGridLines&&v.length>1);N<e.left&&(s="rgba(0,0,0,0)"),N+=l.aliasPixel(r),O=e.getPixelForTick(o)+d.labelOffset,b=y=M=T=N,x=P,w=A,S=t.top,F=t.bottom}else{var V,E="left"===i.position;d.mirror?(L=E?"left":"right",V=B):(L=E?"right":"left",V=k+B),O=E?e.right-V:e.left+V;var H=a(e,o,h.offsetGridLines&&v.length>1);H<e.top&&(s="rgba(0,0,0,0)"),H+=l.aliasPixel(r),R=e.getPixelForTick(o)+d.labelOffset,b=D,y=I,M=t.left,T=t.right,x=w=S=F=H}_.push({tx1:b,ty1:x,tx2:y,ty2:w,x1:M,y1:S,x2:T,y2:F,labelX:O,labelY:R,glWidth:r,glColor:s,glBorderDash:c,glBorderDashOffset:f,rotation:-1*C,label:m,major:n.major,textBaseline:z,textAlign:L})}}),l.each(_,function(t){if(h.display&&(r.save(),r.lineWidth=t.glWidth,r.strokeStyle=t.glColor,r.setLineDash&&(r.setLineDash(t.glBorderDash),r.lineDashOffset=t.glBorderDashOffset),r.beginPath(),h.drawTicks&&(r.moveTo(t.tx1,t.ty1),r.lineTo(t.tx2,t.ty2)),h.drawOnChartArea&&(r.moveTo(t.x1,t.y1),r.lineTo(t.x2,t.y2)),r.stroke(),r.restore()),d.display){r.save(),r.translate(t.labelX,t.labelY),r.rotate(t.rotation),r.font=t.major?y.font:b.font,r.fillStyle=t.major?x:m,r.textBaseline=t.textBaseline,r.textAlign=t.textAlign;var e=t.label;if(l.isArray(e))for(var n=0,i=0;n<e.length;++n)r.fillText(""+e[n],0,i),i+=1.5*b.size;else r.fillText(e,0,0);r.restore()}}),f.display){var T,F,O=0,R=s(f)/2;if(p)T=e.left+(e.right-e.left)/2,F="bottom"===i.position?e.bottom-R-S.bottom:e.top+R+S.top;else{var L="left"===i.position;T=L?e.left+R+S.top:e.right-R-S.top,F=e.top+(e.bottom-e.top)/2,O=L?-.5*Math.PI:.5*Math.PI}r.save(),r.translate(T,F),r.rotate(O),r.textAlign="center",r.textBaseline="middle",r.fillStyle=w,r.font=M.font,r.fillText(f.labelString,0,0),r.restore()}if(h.drawBorder){r.lineWidth=l.valueAtIndexOrDefault(h.lineWidth,0),r.strokeStyle=l.valueAtIndexOrDefault(h.color,0);var z=e.left,B=e.right,W=e.top,N=e.bottom,V=l.aliasPixel(r.lineWidth);p?(W=N="top"===i.position?e.bottom:e.top,W+=V,N+=V):(z=B="left"===i.position?e.right:e.left,z+=V,B+=V),r.beginPath(),r.moveTo(z,W),r.lineTo(B,N),r.stroke()}}}})}},{25:25,26:26,34:34,45:45}],33:[function(t,e,n){"use strict";var i=t(25),a=t(45);e.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=a.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?a.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){var n=this;n.defaults.hasOwnProperty(t)&&(n.defaults[t]=a.extend(n.defaults[t],e))},addScalesToLayout:function(e){a.each(e.scales,function(n){n.fullWidth=n.options.fullWidth,n.position=n.options.position,n.weight=n.options.weight,t.layoutService.addBox(e,n)})}}}},{25:25,45:45}],34:[function(t,e,n){"use strict";var i=t(45);e.exports={generators:{linear:function(t,e){var n,a=[];if(t.stepSize&&t.stepSize>0)n=t.stepSize;else{var o=i.niceNum(e.max-e.min,!1);n=i.niceNum(o/(t.maxTicks-1),!0)}var r=Math.floor(e.min/n)*n,l=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&i.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(r=t.min,l=t.max);var s=(l-r)/n;s=i.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s),a.push(void 0!==t.min?t.min:r);for(var u=1;u<s;++u)a.push(r+u*n);return a.push(void 0!==t.max?t.max:l),a},logarithmic:function(t,e){var n,a,o=[],r=i.valueOrDefault,l=r(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),s=Math.floor(i.log10(e.max)),u=Math.ceil(e.max/Math.pow(10,s));0===l?(n=Math.floor(i.log10(e.minNotZero)),a=Math.floor(e.minNotZero/Math.pow(10,n)),o.push(l),l=a*Math.pow(10,n)):(n=Math.floor(i.log10(l)),a=Math.floor(l/Math.pow(10,n)));do{o.push(l),10===++a&&(a=1,++n),l=a*Math.pow(10,n)}while(n<s||n===s&&a<u);var d=r(t.max,l);return o.push(d),o}},formatters:{values:function(t){return i.isArray(t)?t:""+t},linear:function(t,e,n){var a=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(a)>1&&t!==Math.floor(t)&&(a=t-Math.floor(t));var o=i.log10(Math.abs(a)),r="";if(0!==t){var l=-1*Math.floor(o);l=Math.max(Math.min(l,20),0),r=t.toFixed(l)}else r="0";return r},logarithmic:function(t,e,n){var a=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===a||2===a||5===a||0===e||e===n.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:o.noop,title:function(t,e){var n="",i=e.labels,a=i?i.length:0;if(t.length>0){var o=t[0];o.xLabel?n=o.xLabel:a>0&&o.index<a&&(n=i[o.index])}return n},afterTitle:o.noop,beforeBody:o.noop,beforeLabel:o.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),n+=t.yLabel},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:o.noop,afterBody:o.noop,beforeFooter:o.noop,footer:o.noop,afterFooter:o.noop}}}),e.exports=function(t){function e(t,e){var n=o.color(t);return n.alpha(e*n.alpha()).rgbaString()}function n(t,e){return e&&(o.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function r(t){var e=t._xScale,n=t._yScale||t._scale,i=t._index,a=t._datasetIndex;return{xLabel:e?e.getLabelForIndex(i,a):"",yLabel:n?n.getLabelForIndex(i,a):"",index:i,datasetIndex:a,x:t._model.x,y:t._model.y}}function l(t){var e=i.global,n=o.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:n(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:n(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:n(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n(t.titleFontStyle,e.defaultFontStyle),titleFontSize:n(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:n(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n(t.footerFontStyle,e.defaultFontStyle),footerFontSize:n(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function s(t,e){var n=t._chart.ctx,i=2*e.yPadding,a=0,r=e.body,l=r.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);l+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,u=e.footer.length,d=e.titleFontSize,c=e.bodyFontSize,h=e.footerFontSize;i+=s*d,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=l*c,i+=l?(l-1)*e.bodySpacing:0,i+=u?e.footerMarginTop:0,i+=u*h,i+=u?(u-1)*e.footerSpacing:0;var f=0,g=function(t){a=Math.max(a,n.measureText(t).width+f)};return n.font=o.fontString(d,e._titleFontStyle,e._titleFontFamily),o.each(e.title,g),n.font=o.fontString(c,e._bodyFontStyle,e._bodyFontFamily),o.each(e.beforeBody.concat(e.afterBody),g),f=e.displayColors?c+2:0,o.each(r,function(t){o.each(t.before,g),o.each(t.lines,g),o.each(t.after,g)}),f=0,n.font=o.fontString(h,e._footerFontStyle,e._footerFontFamily),o.each(e.footer,g),a+=2*e.xPadding,{width:a,height:i}}function u(t,e){var n=t._model,i=t._chart,a=t._chart.chartArea,o="center",r="center";n.y<e.height?r="top":n.y>i.height-e.height&&(r="bottom");var l,s,u,d,c,h=(a.left+a.right)/2,f=(a.top+a.bottom)/2;"center"===r?(l=function(t){return t<=h},s=function(t){return t>h}):(l=function(t){return t<=e.width/2},s=function(t){return t>=i.width-e.width/2}),u=function(t){return t+e.width>i.width},d=function(t){return t-e.width<0},c=function(t){return t<=f?"top":"bottom"},l(n.x)?(o="left",u(n.x)&&(o="center",r=c(n.y))):s(n.x)&&(o="right",d(n.x)&&(o="center",r=c(n.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:o,yAlign:g.yAlign?g.yAlign:r}}function d(t,e,n){var i=t.x,a=t.y,o=t.caretSize,r=t.caretPadding,l=t.cornerRadius,s=n.xAlign,u=n.yAlign,d=o+r,c=l+r;return"right"===s?i-=e.width:"center"===s&&(i-=e.width/2),"top"===u?a+=d:a-="bottom"===u?e.height+d:e.height/2,"center"===u?"left"===s?i+=d:"right"===s&&(i-=d):"left"===s?i-=c:"right"===s&&(i+=c),{x:i,y:a}}t.Tooltip=a.extend({initialize:function(){this._model=l(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options.callbacks,i=e.beforeTitle.apply(t,arguments),a=e.title.apply(t,arguments),o=e.afterTitle.apply(t,arguments),r=[];return r=n(r,i),r=n(r,a),r=n(r,o)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return o.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,e){var i=this,a=i._options.callbacks,r=[];return o.each(t,function(t){var o={before:[],lines:[],after:[]};n(o.before,a.beforeLabel.call(i,t,e)),n(o.lines,a.label.call(i,t,e)),n(o.after,a.afterLabel.call(i,t,e)),r.push(o)}),r},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return o.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this,e=t._options.callbacks,i=e.beforeFooter.apply(t,arguments),a=e.footer.apply(t,arguments),o=e.afterFooter.apply(t,arguments),r=[];return r=n(r,i),r=n(r,a),r=n(r,o)},update:function(e){var n,i,a=this,c=a._options,h=a._model,f=a._model=l(c),g=a._active,p=a._data,v={xAlign:h.xAlign,yAlign:h.yAlign},m={x:h.x,y:h.y},b={width:h.width,height:h.height},x={x:h.caretX,y:h.caretY};if(g.length){f.opacity=1;var y=[],k=[];x=t.Tooltip.positioners[c.position].call(a,g,a._eventPosition);var w=[];for(n=0,i=g.length;n<i;++n)w.push(r(g[n]));c.filter&&(w=w.filter(function(t){return c.filter(t,p)})),c.itemSort&&(w=w.sort(function(t,e){return c.itemSort(t,e,p)})),o.each(w,function(t){y.push(c.callbacks.labelColor.call(a,t,a._chart)),k.push(c.callbacks.labelTextColor.call(a,t,a._chart))}),f.title=a.getTitle(w,p),f.beforeBody=a.getBeforeBody(w,p),f.body=a.getBody(w,p),f.afterBody=a.getAfterBody(w,p),f.footer=a.getFooter(w,p),f.x=Math.round(x.x),f.y=Math.round(x.y),f.caretPadding=c.caretPadding,f.labelColors=y,f.labelTextColors=k,f.dataPoints=w,m=d(f,b=s(this,f),v=u(this,b))}else f.opacity=0;return f.xAlign=v.xAlign,f.yAlign=v.yAlign,f.x=m.x,f.y=m.y,f.width=b.width,f.height=b.height,f.caretX=x.x,f.caretY=x.y,a._model=f,e&&c.custom&&c.custom.call(a,f),a},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,o,r,l,s,u=n.caretSize,d=n.cornerRadius,c=n.xAlign,h=n.yAlign,f=t.x,g=t.y,p=e.width,v=e.height;if("center"===h)l=g+v/2,"left"===c?(a=(i=f)-u,o=i,r=l+u,s=l-u):(a=(i=f+p)+u,o=i,r=l-u,s=l+u);else if("left"===c?(i=(a=f+d+u)-u,o=a+u):"right"===c?(i=(a=f+p-d-u)-u,o=a+u):(i=(a=f+p/2)-u,o=a+u),"top"===h)l=(r=g)-u,s=r;else{l=(r=g+v)+u,s=r;var m=o;o=i,i=m}return{x1:i,x2:a,x3:o,y1:r,y2:l,y3:s}},drawTitle:function(t,n,i,a){var r=n.title;if(r.length){i.textAlign=n._titleAlign,i.textBaseline="top";var l=n.titleFontSize,s=n.titleSpacing;i.fillStyle=e(n.titleFontColor,a),i.font=o.fontString(l,n._titleFontStyle,n._titleFontFamily);var u,d;for(u=0,d=r.length;u<d;++u)i.fillText(r[u],t.x,t.y),t.y+=l+s,u+1===r.length&&(t.y+=n.titleMarginBottom-s)}},drawBody:function(t,n,i,a){var r=n.bodyFontSize,l=n.bodySpacing,s=n.body;i.textAlign=n._bodyAlign,i.textBaseline="top",i.font=o.fontString(r,n._bodyFontStyle,n._bodyFontFamily);var u=0,d=function(e){i.fillText(e,t.x+u,t.y),t.y+=r+l};i.fillStyle=e(n.bodyFontColor,a),o.each(n.beforeBody,d);var c=n.displayColors;u=c?r+2:0,o.each(s,function(l,s){var u=e(n.labelTextColors[s],a);i.fillStyle=u,o.each(l.before,d),o.each(l.lines,function(o){c&&(i.fillStyle=e(n.legendColorBackground,a),i.fillRect(t.x,t.y,r,r),i.lineWidth=1,i.strokeStyle=e(n.labelColors[s].borderColor,a),i.strokeRect(t.x,t.y,r,r),i.fillStyle=e(n.labelColors[s].backgroundColor,a),i.fillRect(t.x+1,t.y+1,r-2,r-2),i.fillStyle=u),d(o)}),o.each(l.after,d)}),u=0,o.each(n.afterBody,d),t.y-=l},drawFooter:function(t,n,i,a){var r=n.footer;r.length&&(t.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=e(n.footerFontColor,a),i.font=o.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),o.each(r,function(e){i.fillText(e,t.x,t.y),t.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,n,i,a,o){i.fillStyle=e(n.backgroundColor,o),i.strokeStyle=e(n.borderColor,o),i.lineWidth=n.borderWidth;var r=n.xAlign,l=n.yAlign,s=t.x,u=t.y,d=a.width,c=a.height,h=n.cornerRadius;i.beginPath(),i.moveTo(s+h,u),"top"===l&&this.drawCaret(t,a),i.lineTo(s+d-h,u),i.quadraticCurveTo(s+d,u,s+d,u+h),"center"===l&&"right"===r&&this.drawCaret(t,a),i.lineTo(s+d,u+c-h),i.quadraticCurveTo(s+d,u+c,s+d-h,u+c),"bottom"===l&&this.drawCaret(t,a),i.lineTo(s+h,u+c),i.quadraticCurveTo(s,u+c,s,u+c-h),"center"===l&&"left"===r&&this.drawCaret(t,a),i.lineTo(s,u+h),i.quadraticCurveTo(s,u,s+h,u),i.closePath(),i.fill(),n.borderWidth>0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(this.drawBackground(i,e,t,n,a),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,a),this.drawBody(i,e,t,a),this.drawFooter(i,e,t,a))}},handleEvent:function(t){var e=this,n=e._options,i=!1;if(e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),!(i=!o.arrayEquals(e._active,e._lastActive)))return!1;if(e._lastActive=e._active,n.enabled||n.custom){e._eventPosition={x:t.x,y:t.y};var a=e._model;e.update(!0),e.pivot(),i|=a.x!==e._model.x||a.y!==e._model.y}return i}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,a=0,o=0;for(e=0,n=t.length;e<n;++e){var r=t[e];if(r&&r.hasValue()){var l=r.tooltipPosition();i+=l.x,a+=l.y,++o}}return{x:Math.round(i/o),y:Math.round(a/o)}},nearest:function(t,e){var n,i,a,r=e.x,l=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var u=t[n];if(u&&u.hasValue()){var d=u.getCenterPoint(),c=o.distanceBetweenPoints(e,d);c<s&&(s=c,a=u)}}if(a){var h=a.tooltipPosition();r=h.x,l=h.y}return{x:r,y:l}}}}},{25:25,26:26,45:45}],36:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=a.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=o.getAngleFromPoint(n,{x:t,y:e}),a=i.angle,r=i.distance,l=n.startAngle,s=n.endAngle;s<l;)s+=2*Math.PI;for(;a>s;)a-=2*Math.PI;for(;a<l;)a+=2*Math.PI;var u=a>=l&&a<=s,d=r>=n.innerRadius&&r<=n.outerRadius;return u&&d}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45),r=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:r.defaultColor,borderWidth:3,borderColor:r.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=a.extend({draw:function(){var t,e,n,i,a=this,l=a._view,s=a._chart.ctx,u=l.spanGaps,d=a._children.slice(),c=r.elements.line,h=-1;for(a._loop&&d.length&&d.push(d[0]),s.save(),s.lineCap=l.borderCapStyle||c.borderCapStyle,s.setLineDash&&s.setLineDash(l.borderDash||c.borderDash),s.lineDashOffset=l.borderDashOffset||c.borderDashOffset,s.lineJoin=l.borderJoinStyle||c.borderJoinStyle,s.lineWidth=l.borderWidth||c.borderWidth,s.strokeStyle=l.borderColor||r.defaultColor,s.beginPath(),h=-1,t=0;t<d.length;++t)e=d[t],n=o.previousItem(d,t),i=e._view,0===t?i.skip||(s.moveTo(i.x,i.y),h=t):(n=-1===h?n:d[h],i.skip||(h!==t-1&&!u||-1===h?s.moveTo(i.x,i.y):o.canvas.lineTo(s,n._view,e._view),h=t));s.stroke(),s.restore()}})},{25:25,26:26,45:45}],38:[function(t,e,n){"use strict";function i(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hitRadius,2)}var a=t(25),o=t(26),r=t(45),l=a.global.defaultColor;a._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:l,borderColor:l,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=o.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:i,inXRange:i,inYRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.y,2)<Math.pow(e.radius+e.hitRadius,2)},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._model,i=this._chart.ctx,o=e.pointStyle,s=e.radius,u=e.x,d=e.y,c=r.color,h=0;e.skip||(i.strokeStyle=e.borderColor||l,i.lineWidth=r.valueOrDefault(e.borderWidth,a.global.elements.point.borderWidth),i.fillStyle=e.backgroundColor||l,void 0!==t&&(n.x<t.left||1.01*t.right<n.x||n.y<t.top||1.01*t.bottom<n.y)&&(n.x<t.left?h=(u-n.x)/(t.left-n.x):1.01*t.right<n.x?h=(n.x-u)/(n.x-t.right):n.y<t.top?h=(d-n.y)/(t.top-n.y):1.01*t.bottom<n.y&&(h=(n.y-d)/(n.y-t.bottom)),h=Math.round(100*h)/100,i.strokeStyle=c(i.strokeStyle).alpha(h).rgbString(),i.fillStyle=c(i.fillStyle).alpha(h).rgbString()),r.canvas.drawPoint(i,o,s,u,d))}})},{25:25,26:26,45:45}],39:[function(t,e,n){"use strict";function i(t){return void 0!==t._view.width}function a(t){var e,n,a,o,r=t._view;if(i(t)){var l=r.width/2;e=r.x-l,n=r.x+l,a=Math.min(r.y,r.base),o=Math.max(r.y,r.base)}else{var s=r.height/2;e=Math.min(r.x,r.base),n=Math.max(r.x,r.base),a=r.y-s,o=r.y+s}return{left:e,top:a,right:n,bottom:o}}var o=t(25),r=t(26);o._set("global",{elements:{rectangle:{backgroundColor:o.global.defaultColor,borderColor:o.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=r.extend({draw:function(){function t(t){return m[(b+t)%4]}var e,n,i,a,o,r,l,s=this._chart.ctx,u=this._view,d=u.borderWidth;if(u.horizontal?(e=u.base,n=u.x,i=u.y-u.height/2,a=u.y+u.height/2,o=n>e?1:-1,r=1,l=u.borderSkipped||"left"):(e=u.x-u.width/2,n=u.x+u.width/2,i=u.y,o=1,r=(a=u.base)>i?1:-1,l=u.borderSkipped||"bottom"),d){var c=Math.min(Math.abs(e-n),Math.abs(i-a)),h=(d=d>c?c:d)/2,f=e+("left"!==l?h*o:0),g=n+("right"!==l?-h*o:0),p=i+("top"!==l?h*r:0),v=a+("bottom"!==l?-h*r:0);f!==g&&(i=p,a=v),p!==v&&(e=f,n=g)}s.beginPath(),s.fillStyle=u.backgroundColor,s.strokeStyle=u.borderColor,s.lineWidth=d;var m=[[e,a],[e,i],[n,i],[n,a]],b=["bottom","left","top","right"].indexOf(l,0);-1===b&&(b=0);var x=t(0);s.moveTo(x[0],x[1]);for(var y=1;y<4;y++)x=t(y),s.lineTo(x[0],x[1]);s.fill(),d&&s.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=a(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){var n=this;if(!n._view)return!1;var o=a(n);return i(n)?t>=o.left&&t<=o.right:e>=o.top&&e<=o.bottom},inXRange:function(t){var e=a(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=a(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return i(this)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,n){"use strict";var i=t(42),n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,o){if(o){var r=Math.min(o,i/2),l=Math.min(o,a/2);t.moveTo(e+r,n),t.lineTo(e+i-r,n),t.quadraticCurveTo(e+i,n,e+i,n+l),t.lineTo(e+i,n+a-l),t.quadraticCurveTo(e+i,n+a,e+i-r,n+a),t.lineTo(e+r,n+a),t.quadraticCurveTo(e,n+a,e,n+a-l),t.lineTo(e,n+l),t.quadraticCurveTo(e,n,e+r,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a){var o,r,l,s,u,d;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,a,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(r=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-r/2,a+u/3),t.lineTo(i+r/2,a+u/3),t.lineTo(i,a-2*u/3),t.closePath(),t.fill();break;case"rect":d=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-d,a-d,2*d,2*d),t.strokeRect(i-d,a-d,2*d,2*d);break;case"rectRounded":var c=n/Math.SQRT2,h=i-c,f=a-c,g=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,h,f,g,g,n/2),t.closePath(),t.fill();break;case"rectRot":d=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-d,a),t.lineTo(i,a+d),t.lineTo(i+d,a),t.lineTo(i,a-d),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"crossRot":t.beginPath(),l=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-l,a-s),t.lineTo(i+l,a+s),t.moveTo(i-l,a+s),t.lineTo(i+l,a-s),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,a+n),t.lineTo(i,a-n),t.moveTo(i-n,a),t.lineTo(i+n,a),l=Math.cos(Math.PI/4)*n,s=Math.sin(Math.PI/4)*n,t.moveTo(i-l,a-s),t.lineTo(i+l,a+s),t.moveTo(i-l,a+s),t.lineTo(i+l,a-s),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,a),t.lineTo(i+n,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,a),t.lineTo(i+n,a),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}};i.clear=n.clear,i.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments),t.closePath()}},{42:42}],42:[function(t,e,n){"use strict";var i={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||void 0===t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return i.valueOrDefault(i.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,a){var o,r,l;if(i.isArray(t))if(r=t.length,a)for(o=r-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;o<r;o++)e.call(n,t[o],o);else if(i.isObject(t))for(r=(l=Object.keys(t)).length,o=0;o<r;o++)e.call(n,t[l[o]],l[o])},arrayEquals:function(t,e){var n,a,o,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,a=t.length;n<a;++n)if(o=t[n],r=e[n],o instanceof Array&&r instanceof Array){if(!i.arrayEquals(o,r))return!1}else if(o!==r)return!1;return!0},clone:function(t){if(i.isArray(t))return t.map(i.clone);if(i.isObject(t)){for(var e={},n=Object.keys(t),a=n.length,o=0;o<a;++o)e[n[o]]=i.clone(t[n[o]]);return e}return t},_merger:function(t,e,n,a){var o=e[t],r=n[t];i.isObject(o)&&i.isObject(r)?i.merge(o,r,a):e[t]=i.clone(r)},_mergerIf:function(t,e,n){var a=e[t],o=n[t];i.isObject(a)&&i.isObject(o)?i.mergeIf(a,o):e.hasOwnProperty(t)||(e[t]=i.clone(o))},merge:function(t,e,n){var a,o,r,l,s,u=i.isArray(e)?e:[e],d=u.length;if(!i.isObject(t))return t;for(a=(n=n||{}).merger||i._merger,o=0;o<d;++o)if(e=u[o],i.isObject(e))for(s=0,l=(r=Object.keys(e)).length;s<l;++s)a(r[s],t,e,n);return t},mergeIf:function(t,e){return i.merge(t,e,{merger:i._mergerIf})},extend:function(t){for(var e=1,n=arguments.length;e<n;++e)i.each(arguments[e],function(e,n){t[n]=e});return t},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},a=function(){this.constructor=n};return a.prototype=e.prototype,n.prototype=new a,n.extend=i.inherits,t&&i.extend(n.prototype,t),n.__super__=e.prototype,n}};e.exports=i,i.callCallback=i.callback,i.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},i.getValueOrDefault=i.valueOrDefault,i.getValueAtIndexOrDefault=i.valueAtIndexOrDefault},{}],43:[function(t,e,n){"use strict";var i=t(42),a={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};e.exports={effects:a},i.easingEffects=a},{42:42}],44:[function(t,e,n){"use strict";var i=t(42);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,a,o;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,a=+t.bottom||0,o=+t.left||0):e=n=a=o=+t||0,{top:e,right:n,bottom:a,left:o,height:e+a,width:o+n}},resolve:function(t,e,n){var a,o,r;for(a=0,o=t.length;a<o;++a)if(void 0!==(r=t[a])&&(void 0!==e&&"function"==typeof r&&(r=r(e)),void 0!==n&&i.isArray(r)&&(r=r[n]),void 0!==r))return r}}},{42:42}],45:[function(t,e,n){"use strict";e.exports=t(42),e.exports.easing=t(43),e.exports.canvas=t(41),e.exports.options=t(44)},{41:41,42:42,43:43,44:44}],46:[function(t,e,n){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],47:[function(t,e,n){"use strict";function i(t,e){var n=v.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function a(t,e){var n=t.style,a=t.getAttribute("height"),o=t.getAttribute("width");if(t[m]={initial:{height:a,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===o||""===o){var r=i(t,"width");void 0!==r&&(t.width=r)}if(null===a||""===a)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var l=i(t,"height");void 0!==r&&(t.height=l)}return t}function o(t,e,n){t.addEventListener(e,n,M)}function r(t,e,n){t.removeEventListener(e,n,M)}function l(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function s(t,e){var n=w[t.type]||t.type,i=v.getRelativePosition(t,e);return l(n,e,i.x,i.y,t)}function u(t,e){var n=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,v.requestAnimFrame.call(window,function(){n=!1,t.apply(e,i)}))}}function d(t){var e=document.createElement("div"),n=b+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=n,e.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=e.childNodes[0],r=e.childNodes[1];e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var l=function(){e._reset(),t()};return o(a,"scroll",l.bind(a,"expand")),o(r,"scroll",l.bind(r,"shrink")),e}function c(t,e){var n=t[m]||(t[m]={}),i=n.renderProxy=function(t){t.animationName===y&&e()};v.each(k,function(e){o(t,e,i)}),n.reflow=!!t.offsetParent,t.classList.add(x)}function h(t){var e=t[m]||{},n=e.renderProxy;n&&(v.each(k,function(e){r(t,e,n)}),delete e.renderProxy),t.classList.remove(x)}function f(t,e,n){var i=t[m]||(t[m]={}),a=i.resizer=d(u(function(){if(i.resizer)return e(l("resize",n))}));c(t,function(){if(i.resizer){var e=t.parentNode;e&&e!==a.parentNode&&e.insertBefore(a,e.firstChild),a._reset()}})}function g(t){var e=t[m]||{},n=e.resizer;delete e.resizer,h(t),n&&n.parentNode&&n.parentNode.removeChild(n)}function p(t,e){var n=t._style||document.createElement("style");t._style||(t._style=n,e="/* Chart.js */\n"+e,n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(e))}var v=t(45),m="$chartjs",b="chartjs-",x=b+"render-monitor",y=b+"render-animation",k=["animationstart","webkitAnimationStart"],w={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},M=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t="from{opacity:0.99}to{opacity:1}";p(this,"@-webkit-keyframes "+y+"{"+t+"}@keyframes "+y+"{"+t+"}."+x+"{-webkit-animation:"+y+" 0.001s;animation:"+y+" 0.001s;}")},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(a(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[m]){var n=e[m].initial;["height","width"].forEach(function(t){var i=n[t];v.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),v.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[m]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=n[m]||(n[m]={});o(i,e,(a.proxies||(a.proxies={}))[t.id+"_"+e]=function(e){n(s(e,t))})}else f(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=((n[m]||{}).proxies||{})[t.id+"_"+e];a&&r(i,e,a)}else g(i)}},v.addEvent=o,v.removeEvent=r},{45:45}],48:[function(t,e,n){"use strict";var i=t(45),a=t(46),o=t(47),r=o._enabled?o:a;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},r)},{45:45,46:46,47:47}],49:[function(t,e,n){"use strict";var i=t(25),a=t(40),o=t(45);i._set("global",{plugins:{filler:{propagate:!0}}}),e.exports=function(){function t(t,e,n){var i,a=t._model||{},o=a.fill;if(void 0===o&&(o=!!a.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function e(t){var e,n=t.el._model||{},i=t.el._scale||{},a=t.fill,o=null;if(isFinite(a))return null;if("start"===a?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePosition?o=i.getBasePosition():i.getBasePixel&&(o=i.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return e=i.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}function n(t,e,n){var i,a=t[e].fill,o=[e];if(!n)return a;for(;!1!==a&&-1===o.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;o.push(a),a=i.fill}return!1}function r(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),d[n](t))}function l(t){return t&&!t.skip}function s(t,e,n,i,a){var r;if(i&&a){for(t.moveTo(e[0].x,e[0].y),r=1;r<i;++r)o.canvas.lineTo(t,e[r-1],e[r]);for(t.lineTo(n[a-1].x,n[a-1].y),r=a-1;r>0;--r)o.canvas.lineTo(t,n[r],n[r-1],!0)}}function u(t,e,n,i,a,o){var r,u,d,c,h,f,g,p=e.length,v=i.spanGaps,m=[],b=[],x=0,y=0;for(t.beginPath(),r=0,u=p+!!o;r<u;++r)h=n(c=e[d=r%p]._view,d,i),f=l(c),g=l(h),f&&g?(x=m.push(c),y=b.push(h)):x&&y&&(v?(f&&m.push(c),g&&b.push(h)):(s(t,m,b,x,y),x=y=0,m=[],b=[]));s(t,m,b,x,y),t.closePath(),t.fillStyle=a,t.fill()}var d={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),a=i&&n.isDatasetVisible(e)&&i.dataset._children||[],o=a.length||0;return o?function(t,e){return e<o&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};return{id:"filler",afterDatasetsUpdate:function(i,o){var l,s,u,d,c=(i.data.datasets||[]).length,h=o.propagate,f=[];for(s=0;s<c;++s)d=null,(u=(l=i.getDatasetMeta(s)).dataset)&&u._model&&u instanceof a.Line&&(d={visible:i.isDatasetVisible(s),fill:t(u,s,c),chart:i,el:u}),l.$filler=d,f.push(d);for(s=0;s<c;++s)(d=f[s])&&(d.fill=n(f,s,h),d.boundary=e(d),d.mapper=r(d))},beforeDatasetDraw:function(t,e){var n=e.meta.$filler;if(n){var a=t.ctx,r=n.el,l=r._view,s=r._children||[],d=n.mapper,c=l.backgroundColor||i.global.defaultColor;d&&c&&s.length&&(o.canvas.clipArea(a,t.chartArea),u(a,s,d,l,c,r._loop),o.canvas.unclipArea(a))}}}}},{25:25,40:40,45:45}],50:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return o.isArray(e.datasets)?e.datasets.map(function(e,n){return{text:e.label,fillStyle:o.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:n}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}}),e.exports=function(t){function e(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function n(e,n){var i=new t.Legend({ctx:e.ctx,options:n,chart:e});r.configure(e,i,n),r.addBox(e,i),e.legend=i}var r=t.layoutService,l=o.noop;return t.Legend=a.extend({initialize:function(t){o.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:l,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:l,beforeSetDimensions:l,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:l,beforeBuildLabels:l,buildLabels:function(){var t=this,e=t.options.labels||{},n=o.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:l,beforeFit:l,fit:function(){var t=this,n=t.options,a=n.labels,r=n.display,l=t.ctx,s=i.global,u=o.valueOrDefault,d=u(a.fontSize,s.defaultFontSize),c=u(a.fontStyle,s.defaultFontStyle),h=u(a.fontFamily,s.defaultFontFamily),f=o.fontString(d,c,h),g=t.legendHitBoxes=[],p=t.minSize,v=t.isHorizontal();if(v?(p.width=t.maxWidth,p.height=r?10:0):(p.width=r?10:0,p.height=t.maxHeight),r)if(l.font=f,v){var m=t.lineWidths=[0],b=t.legendItems.length?d+a.padding:0;l.textAlign="left",l.textBaseline="top",o.each(t.legendItems,function(n,i){var o=e(a,d)+d/2+l.measureText(n.text).width;m[m.length-1]+o+a.padding>=t.width&&(b+=d+a.padding,m[m.length]=t.left),g[i]={left:0,top:0,width:o,height:d},m[m.length-1]+=o+a.padding}),p.height+=b}else{var x=a.padding,y=t.columnWidths=[],k=a.padding,w=0,M=0,S=d+x;o.each(t.legendItems,function(t,n){var i=e(a,d)+d/2+l.measureText(t.text).width;M+S>p.height&&(k+=w+a.padding,y.push(w),w=0,M=0),w=Math.max(w,i),M+=S,g[n]={left:0,top:0,width:i,height:d}}),k+=w,y.push(w),p.width+=k}t.width=p.width,t.height=p.height},afterFit:l,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,n=t.options,a=n.labels,r=i.global,l=r.elements.line,s=t.width,u=t.lineWidths;if(n.display){var d,c=t.ctx,h=o.valueOrDefault,f=h(a.fontColor,r.defaultFontColor),g=h(a.fontSize,r.defaultFontSize),p=h(a.fontStyle,r.defaultFontStyle),v=h(a.fontFamily,r.defaultFontFamily),m=o.fontString(g,p,v);c.textAlign="left",c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=m;var b=e(a,g),x=t.legendHitBoxes,y=function(t,e,i){if(!(isNaN(b)||b<=0)){c.save(),c.fillStyle=h(i.fillStyle,r.defaultColor),c.lineCap=h(i.lineCap,l.borderCapStyle),c.lineDashOffset=h(i.lineDashOffset,l.borderDashOffset),c.lineJoin=h(i.lineJoin,l.borderJoinStyle),c.lineWidth=h(i.lineWidth,l.borderWidth),c.strokeStyle=h(i.strokeStyle,r.defaultColor);var a=0===h(i.lineWidth,l.borderWidth);if(c.setLineDash&&c.setLineDash(h(i.lineDash,l.borderDash)),n.labels&&n.labels.usePointStyle){var s=g*Math.SQRT2/2,u=s/Math.SQRT2,d=t+u,f=e+u;o.canvas.drawPoint(c,i.pointStyle,s,d,f)}else a||c.strokeRect(t,e,b,g),c.fillRect(t,e,b,g);c.restore()}},k=function(t,e,n,i){var a=g/2,o=b+a+t,r=e+a;c.fillText(n.text,o,r),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(o,r),c.lineTo(o+i,r),c.stroke())},w=t.isHorizontal();d=w?{x:t.left+(s-u[0])/2,y:t.top+a.padding,line:0}:{x:t.left+a.padding,y:t.top+a.padding,line:0};var M=g+a.padding;o.each(t.legendItems,function(e,n){var i=c.measureText(e.text).width,o=b+g/2+i,r=d.x,l=d.y;w?r+o>=s&&(l=d.y+=M,d.line++,r=d.x=t.left+(s-u[d.line])/2):l+M>t.bottom&&(r=d.x=r+t.columnWidths[d.line]+a.padding,l=d.y=t.top+a.padding,d.line++),y(r,l,e),x[n].left=r,x[n].top=l,k(r,l,e,i),w?d.x+=o+a.padding:d.y+=M})}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var o=t.x,r=t.y;if(o>=e.left&&o<=e.right&&r>=e.top&&r<=e.bottom)for(var l=e.legendHitBoxes,s=0;s<l.length;++s){var u=l[s];if(o>=u.left&&o<=u.left+u.width&&r>=u.top&&r<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[s]),a=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[s]),a=!0;break}}}return a}}),{id:"legend",beforeInit:function(t){var e=t.options.legend;e&&n(t,e)},beforeUpdate:function(t){var e=t.options.legend,a=t.legend;e?(o.mergeIf(e,i.global.legend),a?(r.configure(t,a,e),a.options=e):n(t,e)):a&&(r.removeBox(t,a),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}}},{25:25,26:26,45:45}],51:[function(t,e,n){"use strict";var i=t(25),a=t(26),o=t(45);i._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),e.exports=function(t){function e(e,i){var a=new t.Title({ctx:e.ctx,options:i,chart:e});n.configure(e,a,i),n.addBox(e,a),e.titleBlock=a}var n=t.layoutService,r=o.noop;return t.Title=a.extend({initialize:function(t){var e=this;o.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:r,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:r,beforeSetDimensions:r,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:r,afterBuildLabels:r,beforeFit:r,fit:function(){var t=this,e=o.valueOrDefault,n=t.options,a=n.display,r=e(n.fontSize,i.global.defaultFontSize),l=t.minSize,s=o.isArray(n.text)?n.text.length:1,u=o.options.toLineHeight(n.lineHeight,r),d=a?s*u+2*n.padding:0;t.isHorizontal()?(l.width=t.maxWidth,l.height=d):(l.width=d,l.height=t.maxHeight),t.width=l.width,t.height=l.height},afterFit:r,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=o.valueOrDefault,a=t.options,r=i.global;if(a.display){var l,s,u,d=n(a.fontSize,r.defaultFontSize),c=n(a.fontStyle,r.defaultFontStyle),h=n(a.fontFamily,r.defaultFontFamily),f=o.fontString(d,c,h),g=o.options.toLineHeight(a.lineHeight,d),p=g/2+a.padding,v=0,m=t.top,b=t.left,x=t.bottom,y=t.right;e.fillStyle=n(a.fontColor,r.defaultFontColor),e.font=f,t.isHorizontal()?(s=b+(y-b)/2,u=m+p,l=y-b):(s="left"===a.position?b+p:y-p,u=m+(x-m)/2,l=x-m,v=Math.PI*("left"===a.position?-.5:.5)),e.save(),e.translate(s,u),e.rotate(v),e.textAlign="center",e.textBaseline="middle";var k=a.text;if(o.isArray(k))for(var w=0,M=0;M<k.length;++M)e.fillText(k[M],0,w,l),w+=g;else e.fillText(k,0,0,l);e.restore()}}}),{id:"title",beforeInit:function(t){var n=t.options.title;n&&e(t,n)},beforeUpdate:function(a){var r=a.options.title,l=a.titleBlock;r?(o.mergeIf(r,i.global.title),l?(n.configure(a,l,r),l.options=r):e(a,r)):l&&(t.layoutService.removeBox(a,l),delete a.titleBlock)}}}},{25:25,26:26,45:45}],52:[function(t,e,n){"use strict";e.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t=this,e=t.getLabels();t.minIndex=0,t.maxIndex=e.length-1;var n;void 0!==t.options.ticks.min&&(n=e.indexOf(t.options.ticks.min),t.minIndex=-1!==n?n:t.minIndex),void 0!==t.options.ticks.max&&(n=e.indexOf(t.options.ticks.max),t.maxIndex=-1!==n?n:t.maxIndex),t.min=e[t.minIndex],t.max=e[t.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,a=n.isHorizontal();return i.yLabels&&!a?n.getRightValue(i.datasets[e].data[t]):n.ticks[t-n.minIndex]},getPixelForValue:function(t,e){var n,i=this,a=i.options.offset,o=Math.max(i.maxIndex+1-i.minIndex-(a?0:1),1);if(void 0!==t&&null!==t&&(n=i.isHorizontal()?t.x:t.y),void 0!==n||void 0!==t&&isNaN(e)){var r=i.getLabels();t=n||t;var l=r.indexOf(t);e=-1!==l?l:e}if(i.isHorizontal()){var s=i.width/o,u=s*(e-i.minIndex);return a&&(u+=s/2),i.left+Math.round(u)}var d=i.height/o,c=d*(e-i.minIndex);return a&&(c+=d/2),i.top+Math.round(c)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,n=e.options.offset,i=Math.max(e._ticks.length-(n?0:1),1),a=e.isHorizontal(),o=(a?e.width:e.height)/i;return t-=a?e.left:e.top,n&&(t-=o/2),(t<=0?0:Math.round(t/o))+e.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},{}],53:[function(t,e,n){"use strict";var i=t(25),a=t(45),o=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:o.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){function t(t){return r?t.xAxisID===e.id:t.yAxisID===e.id}var e=this,n=e.options,i=e.chart,o=i.data.datasets,r=e.isHorizontal();e.min=null,e.max=null;var l=n.stacked;if(void 0===l&&a.each(o,function(e,n){if(!l){var a=i.getDatasetMeta(n);i.isDatasetVisible(n)&&t(a)&&void 0!==a.stack&&(l=!0)}}),n.stacked||l){var s={};a.each(o,function(o,r){var l=i.getDatasetMeta(r),u=[l.type,void 0===n.stacked&&void 0===l.stack?r:"",l.stack].join(".");void 0===s[u]&&(s[u]={positiveValues:[],negativeValues:[]});var d=s[u].positiveValues,c=s[u].negativeValues;i.isDatasetVisible(r)&&t(l)&&a.each(o.data,function(t,i){var a=+e.getRightValue(t);isNaN(a)||l.data[i].hidden||(d[i]=d[i]||0,c[i]=c[i]||0,n.relativePoints?d[i]=100:a<0?c[i]+=a:d[i]+=a)})}),a.each(s,function(t){var n=t.positiveValues.concat(t.negativeValues),i=a.min(n),o=a.max(n);e.min=null===e.min?i:Math.min(e.min,i),e.max=null===e.max?o:Math.max(e.max,o)})}else a.each(o,function(n,o){var r=i.getDatasetMeta(o);i.isDatasetVisible(o)&&t(r)&&a.each(n.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||r.data[n].hidden||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i))})});e.min=isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=isFinite(e.max)&&!isNaN(e.max)?e.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this,n=e.options.ticks;if(e.isHorizontal())t=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(e.width/50));else{var o=a.valueOrDefault(n.fontSize,i.global.defaultFontSize);t=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(e.height/(2*o)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,n=this,i=n.start,a=+n.getRightValue(t),o=n.end-i;return n.isHorizontal()?(e=n.left+n.width/o*(a-i),Math.round(e)):(e=n.bottom-n.height/o*(a-i),Math.round(e))},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),i=n?e.width:e.height,a=(n?t-e.left:e.bottom-t)/i;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},{25:25,34:34,45:45}],54:[function(t,e,n){"use strict";var i=t(45),a=t(34);e.exports=function(t){var e=i.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=i.sign(t.min),a=i.sign(t.max);n<0&&a<0?t.max=0:n>0&&a>0&&(t.min=0)}var o=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),o!==r&&t.min>=t.max&&(o?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),o={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=a.generators.linear(o,t);t.handleDirectionalChanges(),t.max=i.max(r),t.min=i.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{34:34,45:45}],55:[function(t,e,n){"use strict";var i=t(45),a=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.logarithmic}},n=t.Scale.extend({determineDataLimits:function(){function t(t){return s?t.xAxisID===e.id:t.yAxisID===e.id}var e=this,n=e.options,a=n.ticks,o=e.chart,r=o.data.datasets,l=i.valueOrDefault,s=e.isHorizontal();e.min=null,e.max=null,e.minNotZero=null;var u=n.stacked;if(void 0===u&&i.each(r,function(e,n){if(!u){var i=o.getDatasetMeta(n);o.isDatasetVisible(n)&&t(i)&&void 0!==i.stack&&(u=!0)}}),n.stacked||u){var d={};i.each(r,function(a,r){var l=o.getDatasetMeta(r),s=[l.type,void 0===n.stacked&&void 0===l.stack?r:"",l.stack].join(".");o.isDatasetVisible(r)&&t(l)&&(void 0===d[s]&&(d[s]=[]),i.each(a.data,function(t,i){var a=d[s],o=+e.getRightValue(t);isNaN(o)||l.data[i].hidden||(a[i]=a[i]||0,n.relativePoints?a[i]=100:a[i]+=o)}))}),i.each(d,function(t){var n=i.min(t),a=i.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?a:Math.max(e.max,a)})}else i.each(r,function(n,a){var r=o.getDatasetMeta(a);o.isDatasetVisible(a)&&t(r)&&i.each(n.data,function(t,n){var i=+e.getRightValue(t);isNaN(i)||r.data[n].hidden||(null===e.min?e.min=i:i<e.min&&(e.min=i),null===e.max?e.max=i:i>e.max&&(e.max=i),0!==i&&(null===e.minNotZero||i<e.minNotZero)&&(e.minNotZero=i))})});e.min=l(a.min,e.min),e.max=l(a.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(i.log10(e.min))-1),e.max=Math.pow(10,Math.floor(i.log10(e.max))+1)):(e.min=1,e.max=10))},buildTicks:function(){var t=this,e=t.options.ticks,n={min:e.min,max:e.max},o=t.ticks=a.generators.logarithmic(n,t);t.isHorizontal()||o.reverse(),t.max=i.max(o),t.min=i.min(o),e.reverse?(o.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),t.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},getPixelForValue:function(t){var e,n,a,o=this,r=o.start,l=+o.getRightValue(t),s=o.options.ticks;return o.isHorizontal()?(a=i.log10(o.end)-i.log10(r),0===l?n=o.left:(e=o.width,n=o.left+e/a*(i.log10(l)-i.log10(r)))):(e=o.height,0!==r||s.reverse?0===o.end&&s.reverse?(a=i.log10(o.start)-i.log10(o.minNotZero),n=l===o.end?o.top:l===o.minNotZero?o.top+.02*e:o.top+.02*e+.98*e/a*(i.log10(l)-i.log10(o.minNotZero))):0===l?n=s.reverse?o.top:o.bottom:(a=i.log10(o.end)-i.log10(r),e=o.height,n=o.bottom-e/a*(i.log10(l)-i.log10(r))):(a=i.log10(o.end)-i.log10(o.minNotZero),n=l===r?o.bottom:l===o.minNotZero?o.bottom-.02*e:o.bottom-.02*e-.98*e/a*(i.log10(l)-i.log10(o.minNotZero)))),n},getValueForPixel:function(t){var e,n,a=this,o=i.log10(a.end)-i.log10(a.start);return a.isHorizontal()?(n=a.width,e=a.start*Math.pow(10,(t-a.left)*o/n)):(n=a.height,e=Math.pow(10,(a.bottom-t)*o/n)/a.start),e}});t.scaleService.registerScaleType("logarithmic",n,e)}},{34:34,45:45}],56:[function(t,e,n){"use strict";var i=t(25),a=t(45),o=t(34);e.exports=function(t){function e(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function n(t){var e=t.options.pointLabels,n=a.valueOrDefault(e.fontSize,v.defaultFontSize),i=a.valueOrDefault(e.fontStyle,v.defaultFontStyle),o=a.valueOrDefault(e.fontFamily,v.defaultFontFamily);return{size:n,style:i,family:o,font:a.fontString(n,i,o)}}function r(t,e,n){return a.isArray(n)?{w:a.longestText(t,t.font,n),h:n.length*e+1.5*(n.length-1)*e}:{w:t.measureText(n).width,h:e}}function l(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:t<i||t>a?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function s(t){var i,o,s,u=n(t),d=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},h={};t.ctx.font=u.font,t._pointLabelSizes=[];var f=e(t);for(i=0;i<f;i++){s=t.getPointPosition(i,d),o=r(t.ctx,u.size,t.pointLabels[i]||""),t._pointLabelSizes[i]=o;var g=t.getIndexAngle(i),p=a.toDegrees(g)%360,v=l(p,s.x,o.w,0,180),m=l(p,s.y,o.h,90,270);v.start<c.l&&(c.l=v.start,h.l=g),v.end>c.r&&(c.r=v.end,h.r=g),m.start<c.t&&(c.t=m.start,h.t=g),m.end>c.b&&(c.b=m.end,h.b=g)}t.setReductions(d,c,h)}function u(t){var e=Math.min(t.height/2,t.width/2);t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0)}function d(t){return 0===t||180===t?"center":t<180?"left":"right"}function c(t,e,n,i){if(a.isArray(e))for(var o=n.y,r=1.5*i,l=0;l<e.length;++l)t.fillText(e[l],n.x,o),o+=r;else t.fillText(e,n.x,n.y)}function h(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function f(t){var i=t.ctx,o=a.valueOrDefault,r=t.options,l=r.angleLines,s=r.pointLabels;i.lineWidth=l.lineWidth,i.strokeStyle=l.color;var u=t.getDistanceFromCenterForValue(r.ticks.reverse?t.min:t.max),f=n(t);i.textBaseline="top";for(var g=e(t)-1;g>=0;g--){if(l.display){var p=t.getPointPosition(g,u);i.beginPath(),i.moveTo(t.xCenter,t.yCenter),i.lineTo(p.x,p.y),i.stroke(),i.closePath()}if(s.display){var m=t.getPointPosition(g,u+5),b=o(s.fontColor,v.defaultFontColor);i.font=f.font,i.fillStyle=b;var x=t.getIndexAngle(g),y=a.toDegrees(x);i.textAlign=d(y),h(y,t._pointLabelSizes[g],m),c(i,t.pointLabels[g]||"",m,f.size)}}}function g(t,n,i,o){var r=t.ctx;if(r.strokeStyle=a.valueAtIndexOrDefault(n.color,o-1),r.lineWidth=a.valueAtIndexOrDefault(n.lineWidth,o-1),t.options.gridLines.circular)r.beginPath(),r.arc(t.xCenter,t.yCenter,i,0,2*Math.PI),r.closePath(),r.stroke();else{var l=e(t);if(0===l)return;r.beginPath();var s=t.getPointPosition(0,i);r.moveTo(s.x,s.y);for(var u=1;u<l;u++)s=t.getPointPosition(u,i),r.lineTo(s.x,s.y);r.closePath(),r.stroke()}}function p(t){return a.isNumber(t)?t:0}var v=i.global,m={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:o.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},b=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var i=a.min([t.height,t.width]),o=a.valueOrDefault(n.fontSize,v.defaultFontSize);t.drawingArea=e.display?i/2-(o/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;a.each(e.data.datasets,function(o,r){if(e.isDatasetVisible(r)){var l=e.getDatasetMeta(r);a.each(o.data,function(e,a){var o=+t.getRightValue(e);isNaN(o)||l.data[a].hidden||(n=Math.min(o,n),i=Math.max(o,i))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=a.valueOrDefault(t.fontSize,v.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){this.options.pointLabels.display?s(this):u(this)},setReductions:function(t,e,n){var i=this,a=e.l/Math.sin(n.l),o=Math.max(e.r-i.width,0)/Math.sin(n.r),r=-e.t/Math.cos(n.t),l=-Math.max(e.b-i.height,0)/Math.cos(n.b);a=p(a),o=p(o),r=p(r),l=p(l),i.drawingArea=Math.min(Math.round(t-(a+o)/2),Math.round(t-(r+l)/2)),i.setCenterPoint(a,o,r,l)},setCenterPoint:function(t,e,n,i){var a=this,o=a.width-e-a.drawingArea,r=t+a.drawingArea,l=n+a.drawingArea,s=a.height-i-a.drawingArea;a.xCenter=Math.round((r+o)/2+a.left),a.yCenter=Math.round((l+s)/2+a.top)},getIndexAngle:function(t){return t*(2*Math.PI/e(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this,i=n.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(i)*e)+n.xCenter,y:Math.round(Math.sin(i)*e)+n.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this,e=t.min,n=t.max;return t.getPointPositionForValue(0,t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},draw:function(){var t=this,e=t.options,n=e.gridLines,i=e.ticks,o=a.valueOrDefault;if(e.display){var r=t.ctx,l=this.getIndexAngle(0),s=o(i.fontSize,v.defaultFontSize),u=o(i.fontStyle,v.defaultFontStyle),d=o(i.fontFamily,v.defaultFontFamily),c=a.fontString(s,u,d);a.each(t.ticks,function(e,a){if(a>0||i.reverse){var u=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]);if(n.display&&0!==a&&g(t,n,u,a),i.display){var d=o(i.fontColor,v.defaultFontColor);if(r.font=c,r.save(),r.translate(t.xCenter,t.yCenter),r.rotate(l),i.showLabelBackdrop){var h=r.measureText(e).width;r.fillStyle=i.backdropColor,r.fillRect(-h/2-i.backdropPaddingX,-u-s/2-i.backdropPaddingY,h+2*i.backdropPaddingX,s+2*i.backdropPaddingY)}r.textAlign="center",r.textBaseline="middle",r.fillStyle=d,r.fillText(e,0,-u),r.restore()}}}),(e.angleLines.display||e.pointLabels.display)&&f(t)}}});t.scaleService.registerScaleType("radialLinear",b,m)}},{25:25,34:34,45:45}],57:[function(t,e,n){"use strict";function i(t,e){return t-e}function a(t){var e,n,i,a={},o=[];for(e=0,n=t.length;e<n;++e)a[i=t[e]]||(a[i]=!0,o.push(i));return o}function o(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var a,o,r,l,s,u=[],d=[e];for(a=0,o=t.length;a<o;++a)(l=t[a])>e&&l<n&&d.push(l);for(d.push(n),a=0,o=d.length;a<o;++a)s=d[a+1],r=d[a-1],l=d[a],void 0!==r&&void 0!==s&&Math.round((s+r)/2)===l||u.push({time:l,pos:a/(o-1)});return u}function r(t,e,n){for(var i,a,o,r=0,l=t.length-1;r>=0&&r<=l;){if(i=r+l>>1,a=t[i-1]||null,o=t[i],!a)return{lo:null,hi:o};if(o[e]<n)r=i+1;else{if(!(a[e]>n))return{lo:a,hi:o};l=i-1}}return{lo:o,hi:null}}function l(t,e,n,i){var a=r(t,e,n),o=a.lo?a.hi?a.lo:t[t.length-2]:t[0],l=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=l[e]-o[e],u=s?(n-o[e])/s:0,d=(l[i]-o[i])*u;return o[i]+d}function s(t,e){var n=e.parser,i=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof i?m(t,i):(t instanceof m||(t=m(t)),t.isValid()?t:"function"==typeof i?i(t):t)}function u(t,e){if(x.isNullOrUndef(t))return null;var n=e.options.time,i=s(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function d(t,e,n,i){var a,o,r,l=e-t,s=w[n],u=s.size,d=s.steps;if(!d)return Math.ceil(l/((i||1)*u));for(a=0,o=d.length;a<o&&(r=d[a],!(Math.ceil(l/(u*r))<=i));++a);return r}function c(t,e,n,i){var a,o,r,l=M.length;for(a=M.indexOf(t);a<l-1;++a)if(o=w[M[a]],r=o.steps?o.steps[o.steps.length-1]:k,o.common&&Math.ceil((n-e)/(r*o.size))<=i)return M[a];return M[l-1]}function h(t,e,n,i){var a,o,r=m.duration(m(i).diff(m(n)));for(a=M.length-1;a>=M.indexOf(e);a--)if(o=M[a],w[o].common&&r.as(o)>=t.length)return o;return M[e?M.indexOf(e):0]}function f(t){for(var e=M.indexOf(t)+1,n=M.length;e<n;++e)if(w[M[e]].common)return M[e]}function g(t,e,n,i){var a,o=i.time,r=o.unit||c(o.minUnit,t,e,n),l=f(r),s=x.valueOrDefault(o.stepSize,o.unitStepSize),u="week"===r&&o.isoWeekday,h=i.ticks.major.enabled,g=w[r],p=m(t),v=m(e),b=[];for(s||(s=d(t,e,r,n)),u&&(p=p.isoWeekday(u),v=v.isoWeekday(u)),p=p.startOf(u?"day":r),(v=v.startOf(u?"day":r))<e&&v.add(1,r),a=m(p),h&&l&&!u&&!o.round&&(a.startOf(l),a.add(~~((p-a)/(g.size*s))*s,r));a<v;a.add(s,r))b.push(+a);return b.push(+a),b}function p(t,e,n,i,a){var o,r,s=0,u=0;return a.offset&&e.length&&(a.time.min||(o=e.length>1?e[1]:i,r=e[0],s=(l(t,"time",o,"pos")-l(t,"time",r,"pos"))/2),a.time.max||(o=e[e.length-1],r=e.length>1?e[e.length-2]:n,u=(l(t,"time",o,"pos")-l(t,"time",r,"pos"))/2)),{left:s,right:u}}function v(t,e){var n,i,a,o,r=[];for(n=0,i=t.length;n<i;++n)a=t[n],o=!!e&&a===+m(a).startOf(e),r.push({value:a,major:o});return r}var m=t(1);m="function"==typeof m?m:window.moment;var b=t(25),x=t(45),y=Number.MIN_SAFE_INTEGER||-9007199254740991,k=Number.MAX_SAFE_INTEGER||9007199254740991,w={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},M=Object.keys(w);e.exports=function(t){var e=t.Scale.extend({initialize:function(){if(!m)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),t.Scale.prototype.initialize.call(this)},update:function(){var e=this,n=e.options;return n.time&&n.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),t.Scale.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),t.Scale.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var t,e,n,o,r,l,s=this,d=s.chart,c=s.options.time,h=k,f=y,g=[],p=[],v=[];for(t=0,n=d.data.labels.length;t<n;++t)v.push(u(d.data.labels[t],s));for(t=0,n=(d.data.datasets||[]).length;t<n;++t)if(d.isDatasetVisible(t))if(r=d.data.datasets[t].data,x.isObject(r[0]))for(p[t]=[],e=0,o=r.length;e<o;++e)l=u(r[e],s),g.push(l),p[t][e]=l;else g.push.apply(g,v),p[t]=v.slice(0);else p[t]=[];v.length&&(v=a(v).sort(i),h=Math.min(h,v[0]),f=Math.max(f,v[v.length-1])),g.length&&(g=a(g).sort(i),h=Math.min(h,g[0]),f=Math.max(f,g[g.length-1])),h=u(c.min,s)||h,f=u(c.max,s)||f,h=h===k?+m().startOf("day"):h,f=f===y?+m().endOf("day")+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._horizontal=s.isHorizontal(),s._table=[],s._timestamps={data:g,datasets:p,labels:v}},buildTicks:function(){var t,e,n,i=this,a=i.min,r=i.max,l=i.options,s=l.time,d=[],c=[];switch(l.ticks.source){case"data":d=i._timestamps.data;break;case"labels":d=i._timestamps.labels;break;case"auto":default:d=g(a,r,i.getLabelCapacity(a),l)}for("ticks"===l.bounds&&d.length&&(a=d[0],r=d[d.length-1]),a=u(s.min,i)||a,r=u(s.max,i)||r,t=0,e=d.length;t<e;++t)(n=d[t])>=a&&n<=r&&c.push(n);return i.min=a,i.max=r,i._unit=s.unit||h(c,s.minUnit,i.min,i.max),i._majorUnit=f(i._unit),i._table=o(i._timestamps.data,a,r,l.distribution),i._offsets=p(i._table,c,a,r,l),v(c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,a=n.options.time,o=i.labels&&t<i.labels.length?i.labels[t]:"",r=i.datasets[e].data[t];return x.isObject(r)&&(o=n.getRightValue(r)),a.tooltipFormat&&(o=s(o,a).format(a.tooltipFormat)),o},tickFormatFunction:function(t,e,n,i){var a=this,o=a.options,r=t.valueOf(),l=o.time.displayFormats,s=l[a._unit],u=a._majorUnit,d=l[u],c=t.clone().startOf(u).valueOf(),h=o.ticks.major,f=h.enabled&&u&&d&&r===c,g=t.format(i||(f?d:s)),p=f?h:o.ticks.minor,v=x.valueOrDefault(p.callback,p.userCallback);return v?v(g,e,n):g},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(m(t[e].value),e,t));return i},getPixelForOffset:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=l(e._table,"time",t,"pos");return i+n*(e._offsets.left+a)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,n){var i=this,a=null;if(void 0!==e&&void 0!==n&&(a=i._timestamps.datasets[n][e]),null===a&&(a=u(t,i)),null!==a)return i.getPixelForOffset(a)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,a=(n?(t-i)/n:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,o=l(e._table,"pos",a,"time");return m(o)},getLabelWidth:function(t){var e=this,n=e.options.ticks,i=e.ctx.measureText(t).width,a=x.toRadians(n.maxRotation),o=Math.cos(a),r=Math.sin(a);return i*o+x.valueOrDefault(n.fontSize,b.global.defaultFontSize)*r},getLabelCapacity:function(t){var e=this,n=e.options.time.displayFormats.millisecond,i=e.tickFormatFunction(m(t),0,[],n),a=e.getLabelWidth(i),o=e.isHorizontal()?e.width:e.height;return Math.floor(o/a)}});t.scaleService.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,25:25,45:45}]},{},[7])(7)});
admin/assets/js/generate.js ADDED
@@ -0,0 +1,377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(function ($) {
2
+ var chart = $('#wapt-main-chart');
3
+ var ctx = document.getElementById('wapt-main-chart');
4
+ window.wapt_chart = new window.apthumb.Chart(ctx, {
5
+ type: 'doughnut',
6
+ data: {
7
+ datasets: [
8
+ {
9
+ data: [
10
+ chart.attr('data-no_featured_image'),
11
+ chart.attr('data-w_featured_image'),
12
+ chart.attr('data-errors'),
13
+ ],
14
+ backgroundColor: [
15
+ '#d6d6d6',
16
+ '#8bc34a',
17
+ '#f1b1b6',
18
+ ],
19
+ borderWidth: 0,
20
+ label: 'Dataset 1'
21
+ }
22
+ ]
23
+ },
24
+ options: {
25
+ legend: {
26
+ display: false
27
+ },
28
+ events: [],
29
+ animation: {
30
+ easing: 'easeOutBounce'
31
+ },
32
+ responsive: false,
33
+ cutoutPercentage: 80
34
+ }
35
+ });
36
+
37
+ var bulkGeneration = {
38
+ inprogress: false,
39
+ rt_images: [],
40
+ rt_total: 0,
41
+ rt_count: 1,
42
+ rt_percent: 0,
43
+ posted_count: 0,
44
+ genpostthumbsbar: $("#genpostthumbsbar"),
45
+
46
+ init: function () {
47
+ this.startGenButton = $('#generate-post-thumbnails');
48
+ this.startUnsetButton = $('#delete-post-thumbnails');
49
+
50
+ this.registerEvents();
51
+ },
52
+
53
+ registerEvents: function () {
54
+ var self = this;
55
+
56
+ this.startGenButton.on('click', function () {
57
+ self.generate();
58
+
59
+ return false;
60
+ });
61
+ this.startUnsetButton.on('click', function () {
62
+ self.unSetImages();
63
+
64
+ return false;
65
+ });
66
+ },
67
+
68
+ button_running: function (selector) {
69
+ if (selector.hasClass('wapt-running')) {
70
+ selector.removeClass('wapt-running');
71
+ this.startGenButton.removeAttr('disabled');
72
+ this.startUnsetButton.removeAttr('disabled');
73
+ } else {
74
+ selector.addClass('wapt-running');
75
+ this.startGenButton.attr('disabled', 'disabled');
76
+ this.startUnsetButton.attr('disabled', 'disabled');
77
+ }
78
+ },
79
+
80
+ /**
81
+ * Start generation
82
+ */
83
+ generate: function () {
84
+ var self = this;
85
+ this.inprogress = true;
86
+
87
+ self.rt_images = [];
88
+ this.button_running(this.startGenButton);
89
+
90
+ this.genpostthumbsbar.show();
91
+ progressbar = this.genpostthumbsbar.progressbar();
92
+ progressbar.find( ".ui-progressbar-value" ).css({
93
+ "background": '#c9deb2',
94
+ });
95
+ progressbar.find( ".ui-widget-content" ).css({
96
+ "border": '0',
97
+ });
98
+
99
+ $("#genpostthumbsbar-percent").html("1%");
100
+
101
+ var get_posts_data = {
102
+ action: "get-posts-ids",
103
+ withThumb: 0,
104
+ _ajax_nonce: wapt.nonce_get_posts
105
+ };
106
+
107
+ if (wapt.is_premium) {
108
+ $.extend(get_posts_data, {
109
+ poststatus: $("#filter_poststatus").val(),
110
+ posttype: $("#filter_posttype").val(),
111
+ date_start: $("#filter_startdate").val(),
112
+ date_end: $("#filter_enddate").val(),
113
+ category: $("#filter_postcategory").val()
114
+ });
115
+ }
116
+
117
+
118
+ $.post("admin-ajax.php", get_posts_data, function (ids) {
119
+ if (ids === '' || ids === 0) {
120
+ setTimeout(function () {
121
+ self.genpostthumbsbar.hide();
122
+ self.genpostthumbsbar.progressbar("value", 0);
123
+ self.button_running(self.startGenButton);
124
+ noticeId = $.wbcr_factory_templates_101.app.showNotice("<p><strong>" + wapt.i8n_processed_posts + " 0</strong></p>", 'success');
125
+ }, 500);
126
+ return;
127
+ }
128
+
129
+ self.rt_images = JSON.parse("[" + ids + "]");
130
+
131
+ self.rt_total = self.rt_images.length;
132
+ self.rt_count = 1;
133
+ self.rt_percent = 0;
134
+ self.posted_count = 0;
135
+
136
+ self.genPostThumb(self.rt_images.shift());
137
+ });
138
+
139
+ },
140
+
141
+ /**
142
+ * Start unset images
143
+ */
144
+ unSetImages: function () {
145
+ var self = this;
146
+ this.inprogress = true;
147
+
148
+ if (!confirm('Are sure to delete thumbnails from posts?'))
149
+ return;
150
+
151
+ self.rt_images = [];
152
+
153
+ this.button_running(this.startUnsetButton);
154
+
155
+ this.genpostthumbsbar.show();
156
+ this.genpostthumbsbar.progressbar();
157
+ $("#genpostthumbsbar-percent").html("1%");
158
+
159
+ var get_posts_ids_data = {
160
+ action: "get-posts-ids",
161
+ withThumb: 1,
162
+ _ajax_nonce: wapt.nonce_get_posts
163
+ };
164
+ if (wapt.is_premium) {
165
+ $.extend(get_posts_ids_data, {
166
+ poststatus: $("#filter_poststatus").val(),
167
+ posttype: $("#filter_posttype").val(),
168
+ date_start: $("#filter_startdate").val(),
169
+ date_end: $("#filter_enddate").val(),
170
+ category: $("#filter_postcategory").val()
171
+ });
172
+ }
173
+
174
+
175
+ $.post("admin-ajax.php", get_posts_ids_data, function (ids) {
176
+ self.rt_images = JSON.parse("[" + ids + "]");
177
+
178
+ self.rt_total = self.rt_images.length;
179
+ self.rt_count = 1;
180
+ self.rt_percent = 0;
181
+ self.posted_count = 0;
182
+
183
+ self.delPostThumb(self.rt_images.shift());
184
+ });
185
+
186
+ },
187
+
188
+ delPostThumb: function (id) {
189
+ var self = this;
190
+ $.post("admin-ajax.php", {
191
+ action: "delete_post_thumbnails",
192
+ id: id,
193
+ _ajax_nonce: wapt.nonce_del_post_thumbs
194
+ }, function (posted) {
195
+ if (Boolean(posted)) {
196
+ self.posted_count++;
197
+ }
198
+ self.rt_percent = (self.rt_count / self.rt_total) * 100;
199
+ self.genpostthumbsbar.progressbar("value", self.rt_percent);
200
+ $("#genpostthumbsbar-percent").html(Math.round(self.rt_percent) + "%");
201
+ self.rt_count++;
202
+
203
+ if (self.rt_images.length) {
204
+ self.delPostThumb(self.rt_images.shift());
205
+ } else {
206
+ setTimeout(function () {
207
+ self.genpostthumbsbar.hide();
208
+ self.genpostthumbsbar.progressbar("value", 0);
209
+ self.button_running(self.startUnsetButton);
210
+
211
+ noticeId = $.wbcr_factory_templates_101.app.showNotice(wapt.i8n_processed_posts + self.rt_total + "<br>" + wapt.i8n_del_images + self.posted_count, 'success');
212
+ }, 500);
213
+ }
214
+ });
215
+ },
216
+
217
+ genPostThumb: function (id) {
218
+ var self = this;
219
+
220
+ $.post("admin-ajax.php", {
221
+ action: "generatepostthumbnail",
222
+ id: id,
223
+ _ajax_nonce: wapt.nonce_gen_post_thumbs
224
+ }, function (response) {
225
+ if (response.success) {
226
+ self.posted_count++;
227
+ }
228
+
229
+ self.rt_percent = (self.rt_count / self.rt_total) * 100;
230
+ self.genpostthumbsbar.progressbar("value", self.rt_percent);
231
+ $("#genpostthumbsbar-percent").html(Math.round(self.rt_percent) + "% (" + self.rt_count + "/" + self.rt_total + ")");
232
+ self.rt_count++;
233
+
234
+ if (response.data) {
235
+ self.updateLog(response.data);
236
+ }
237
+
238
+ if (self.rt_images.length) {
239
+ self.genPostThumb(self.rt_images.shift());
240
+ } else {
241
+ setTimeout(function () {
242
+ //self.genpostthumbsbar.hide();
243
+ //self.genpostthumbsbar.progressbar("value", 0);
244
+ self.button_running(self.startGenButton);
245
+
246
+ noticeId = $.wbcr_factory_templates_101.app.showNotice(wapt.i8n_processed_posts + self.rt_total + "<br>" + wapt.i8n_set_images + self.posted_count, 'success');
247
+ }, 500);
248
+ }
249
+ });
250
+ },
251
+
252
+ showMessage: function (text) {
253
+ var contanier = $('.wapt-page-statistic'),
254
+ message;
255
+
256
+ if (contanier.find('.wapt-statistic-message').length) {
257
+ message = contanier.find('.wapt-statistic-message');
258
+ } else {
259
+ message = $('<div>');
260
+ message.addClass('wapt-statistic-message');
261
+ contanier.append(message);
262
+ }
263
+
264
+ message.html(text);
265
+ },
266
+
267
+ destroyMessages: function () {
268
+ $('.wapt-page-statistic').find('.wapt-statistic-message').empty();
269
+ },
270
+
271
+ updateLog: function (new_item_data) {
272
+ var self = this;
273
+
274
+ var limit = 100,
275
+ tableEl = $('.wapt-generation-progress .wapt-table');
276
+
277
+ if (!tableEl.length || !new_item_data) {
278
+ return;
279
+ }
280
+
281
+ // если таблица была пустая
282
+ if ($('.wapt-table-container-empty').length) {
283
+ $('.wapt-table-container-empty').addClass('wapt-table-container').removeClass('wapt-table-container-empty');
284
+ if (tableEl.find('tbody').length) {
285
+ tableEl.find('tbody').empty();
286
+ }
287
+ }
288
+
289
+ $.each(new_item_data, function (index, value) {
290
+ var trEl = $('<tr>'),
291
+ tdEl = $('<td>');
292
+
293
+ if (tableEl.find('.wapt-row-id-' + value.post_id).length) {
294
+ tableEl.find('.wapt-row-id-' + value.post_id).remove();
295
+ }
296
+
297
+ trEl.addClass('flash').addClass('wapt-table-item').addClass('wapt-row-id-' + value.post_id);
298
+
299
+ if ('error' === value.type) {
300
+ trEl.addClass('wapt-error');
301
+ }
302
+
303
+ var preview = $('<img height="50" src="' + value.thumbnail_url + '" alt="">'),
304
+ previewUrl = $('<a href="' + value.url + '" target="_blank">' + value.title + '</a>');
305
+
306
+ tableEl.prepend(trEl);
307
+
308
+ if (value.error_msg) {
309
+ var colspan = '3';
310
+ trEl.append(tdEl.clone().addClass('wapt-image-td').append(''));
311
+ trEl.append(tdEl.clone().addClass('wapt-title-td').append(previewUrl));
312
+ trEl.append(tdEl.clone().text(''));
313
+ trEl.append(tdEl.clone().text(value.type));
314
+ trEl.addClass('wapt-error').append(tdEl.clone().text(value.error_msg));
315
+ } else {
316
+ trEl.append(tdEl.clone().addClass('wapt-image-td').append(preview));
317
+ trEl.append(tdEl.clone().addClass('wapt-title-td').append(previewUrl));
318
+ trEl.append(tdEl.clone().text(value.image_size));
319
+ trEl.append(tdEl.clone().text(value.type));
320
+ trEl.append(tdEl.clone().text(value.status));
321
+ }
322
+ });
323
+
324
+ if (tableEl.find('tr').length > limit) {
325
+ var diff = tableEl.find('tr').length - limit;
326
+
327
+ for (var i = 0; i < diff; i++) {
328
+ tableEl.find('tr:last').remove();
329
+ }
330
+ }
331
+ }
332
+
333
+ };
334
+
335
+ $(document).ready(function () {
336
+ bulkGeneration.init();
337
+ $('[data-toggle="tooltip"]').tooltip();
338
+ });
339
+
340
+ var ajaxUrl = ajaxurl;
341
+ var ai_data;
342
+
343
+ function redraw_statistics(statistic) {
344
+ $('#wapt-main-chart').attr('data-unoptimized', statistic.unoptimized)
345
+ .attr('data-optimized', statistic.optimized)
346
+ .attr('data-errors', statistic.error);
347
+ $('#wapt-total-optimized-attachments').text(statistic.optimized); // optimized
348
+ $('#wapt-original-size').text(bytesToSize(statistic.original_size));
349
+ $('#wapt-optimized-size').text(bytesToSize(statistic.optimized_size));
350
+ $('#wapt-total-optimized-attachments-pct').text(statistic.save_size_percent + '%');
351
+ $('#wapt-overview-chart-percent').html(statistic.optimized_percent + '<span>%</span>');
352
+ $('.wapt-total-percent').text(statistic.optimized_percent + '%');
353
+ $('#wapt-optimized-bar').css('width', statistic.percent_line + '%');
354
+
355
+ $('#wapt-unoptimized-num').text(statistic.unoptimized);
356
+ $('#wapt-optimized-num').text(statistic.optimized);
357
+ $('#wapt-error-num').text(statistic.error);
358
+
359
+ var credits = $('.wapt-premium-user-balance');
360
+ if (credits.attr('data-server') !== "server_5") {
361
+ credits.text(statistic.credits);
362
+ }
363
+
364
+ if ($('.wapt-statistic-nav li.active').length) {
365
+ $('.wapt-statistic-nav li.active').find('span.wapt-statistic-tab-percent').text(statistic.optimized_percent + '%');
366
+ }
367
+
368
+ window.wio_chart.data.datasets[0].data[0] = statistic.unoptimized; // unoptimized
369
+ window.wio_chart.data.datasets[0].data[1] = statistic.optimized; // optimized
370
+ window.wio_chart.data.datasets[0].data[2] = statistic.error; // errors
371
+ window.wio_chart.update();
372
+ if ($('#wapt-overview-chart-percent').text() == '100%') {
373
+ window.onbeforeunload = null;
374
+ }
375
+ }
376
+
377
+ });
admin/assets/js/license-manager.js CHANGED
@@ -55,7 +55,7 @@ jQuery(function ($) {
55
  }
56
 
57
  if (response.data && response.data.message) {
58
- alert(response.data.message);
59
 
60
  window.location.reload();
61
  }
55
  }
56
 
57
  if (response.data && response.data.message) {
58
+ $.wbcr_factory_templates_101.app.showNotice(response.data.message, 'success');
59
 
60
  window.location.reload();
61
  }
admin/assets/js/upload-font.js CHANGED
@@ -1,10 +1,10 @@
1
  jQuery(function ($) {
2
 
3
- var $element = $(".factory-bootstrap-445 .factory-wapt-fonts");
4
  var upload_button = $('#wapt-upload-button');
5
  var upload_loader = $('#wapt-upload-loader');
6
 
7
- $element.factoryBootstrap445_dropdownControl();
8
 
9
  upload_button.on('click', function (e) {
10
  e.preventDefault();
1
  jQuery(function ($) {
2
 
3
+ var $element = $(".factory-bootstrap-449 .factory-wapt-fonts");
4
  var upload_button = $('#wapt-upload-button');
5
  var upload_loader = $('#wapt-upload-loader');
6
 
7
+ $element.factoryBootstrap449_dropdownControl();
8
 
9
  upload_button.on('click', function (e) {
10
  e.preventDefault();
admin/class-page-logger.php ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use WBCR\Factory_Templates_101\ImpressiveLite;
4
+
5
+ /**
6
+ * Class of plugin page. Must be registered in file admin/class-prefix-page.php
7
+ *
8
+ * @author Artem Prihodko <webtemyk@yandex.ru>
9
+ * @copyright (c) 2021, Webcraftic
10
+ * @see ImpressiveLite
11
+ *
12
+ * @version 1.0.0
13
+ */
14
+
15
+ // Exit if accessed directly
16
+ if ( ! defined( 'ABSPATH' ) ) {
17
+ exit;
18
+ }
19
+
20
+ class WAPT_Page_Logger extends Wbcr_FactoryLogger114_Lite {
21
+
22
+ /**
23
+ * Name of the template to get content of. It will be based on plugins /admin/views/ dir.
24
+ * /admin/views/tab-{$template_name}.php
25
+ *
26
+ * @var string
27
+ */
28
+ public $template_name = "log";
29
+
30
+ /**
31
+ * @var string
32
+ */
33
+ public $custom_target = "admin.php";
34
+
35
+ /**
36
+ * {@inheritdoc}
37
+ */
38
+ public $show_right_sidebar_in_options = false;
39
+
40
+ /**
41
+ * {@inheritdoc}
42
+ */
43
+ public $show_search_options_form = false;
44
+
45
+ /**
46
+ * Show this page in tabs?
47
+ * default: true
48
+ */
49
+ public $show_menu_tab = true;
50
+
51
+ /**
52
+ * Title for tab in menu
53
+ */
54
+ public $menu_tab_title;
55
+
56
+ public function __construct( $plugin ) {
57
+ $this->menu_tab_title = $this->menu_tab_title ?? $this->menu_title;
58
+
59
+ parent::__construct( $plugin );
60
+ }
61
+
62
+ /**
63
+ * Render and return content of the template.
64
+ * /admin/views/tab-{$template_name}.php
65
+ *
66
+ * @return mixed Content of the page
67
+ */
68
+ public function render( $name = '' ) {
69
+ if ( $name == '' ) {
70
+ $name = $this->template_name;
71
+ }
72
+ ob_start();
73
+ if ( is_callable( $name ) ) {
74
+ echo call_user_func( $name );
75
+ } elseif ( strpos( $name, DIRECTORY_SEPARATOR ) !== false && ( is_file( $name ) || is_file( $name . '.php' ) ) ) {
76
+ if ( is_file( $name ) ) {
77
+ $path = $name;
78
+ } else {
79
+ $path = $name . '.php';
80
+ }
81
+ } else {
82
+ $path = WAPT_PLUGIN_DIR . "/admin/views/tab-{$name}.php";
83
+ }
84
+ if ( ! is_file( $path ) ) {
85
+ return '';
86
+ }
87
+ include $path;
88
+ $content = ob_get_contents();
89
+ ob_end_clean();
90
+
91
+ return $content;
92
+ }
93
+
94
+ public function assets( $scripts, $styles ) {
95
+ parent::assets( $scripts, $styles );
96
+
97
+ $this->scripts->request( [
98
+ 'control.checkbox',
99
+ 'control.dropdown',
100
+ 'control.integer',
101
+ 'plugin.nouislider',
102
+ 'bootstrap.dropdown'
103
+ ], 'bootstrap' );
104
+
105
+ $this->styles->request( [
106
+ 'bootstrap.core',
107
+ 'bootstrap.form-group',
108
+ 'bootstrap.separator',
109
+ 'control.dropdown',
110
+ 'control.checkbox',
111
+ 'control.integer',
112
+ 'plugin.nouislider',
113
+ ], 'bootstrap' );
114
+ }
115
+
116
+ /**
117
+ * Show rendered template - $template_name
118
+ */
119
+ public function showPageContent() {
120
+ parent::showPageContent();
121
+ }
122
+
123
+ public function getPluginSlug() {
124
+ $plugin_slug = $this->plugin->getPluginInfoAttr( 'updates_settings' );
125
+
126
+ return $plugin_slug['slug'] ?? WAPT_PLUGIN_SLUG;
127
+ }
128
+
129
+ /**
130
+ * @param string $position
131
+ *
132
+ * @return mixed|void
133
+ */
134
+ protected function getPageWidgets( $position = 'bottom' ) {
135
+ $widgets = [];
136
+
137
+ if ( $position == 'bottom' ) {
138
+ $widgets['rating_widget'] = $this->getRatingWidget( [] );
139
+ $widgets['support_widget'] = $this->getSupportWidget();
140
+ }
141
+
142
+ /**
143
+ * @since 3.8.2 - добавлен
144
+ */
145
+ $widgets = apply_filters( 'wbcr/factory/pages/impressive_lite/widgets', $widgets, $position, $this->plugin, $this );
146
+
147
+ return $widgets;
148
+ }
149
+
150
+ /**
151
+ * Создает html разметку виджета рейтинга
152
+ *
153
+ * @param array $args
154
+ *
155
+ * @author Artem Prihodko <webtemyk@yandex.ru>
156
+ */
157
+ public function showRatingWidget( array $args ) {
158
+ $plugin_slug = $this->getPluginSlug();
159
+
160
+ if ( ! isset( $args[0] ) || empty( $args[0] ) ) {
161
+ $page_url = "https://wordpress.org/support/plugin/{$plugin_slug}/reviews/#new-post";
162
+ } else {
163
+ $page_url = $args[0];
164
+ }
165
+
166
+ $page_url = apply_filters( 'wbcr_factory_pages_448_implite_rating_widget_url', $page_url, $this->plugin->getPluginName(), $this->getResultId() );
167
+
168
+ ?>
169
+ <div class="wbcr-factory-sidebar-widget">
170
+ <p>
171
+ <strong><?php _e( 'Do you want the plugin to improved and update?', 'wbcr_factory_templates_101' ); ?></strong>
172
+ </p>
173
+ <p><?php _e( 'Help the author, leave a review on wordpress.org. Thanks to feedback, I will know that the plugin is really useful to you and is needed.', 'wbcr_factory_templates_101' ); ?></p>
174
+ <p><?php _e( 'And also write your ideas on how to extend or improve the plugin.', 'wbcr_factory_templates_101' ); ?></p>
175
+ <p>
176
+ <i class="wbcr-factory-icon-5stars"></i>
177
+ <a href="<?php echo $page_url; ?>" title="Go rate us" target="_blank">
178
+ <strong><?php _e( 'Go rate us and push ideas', 'wbcr_factory_templates_101' ); ?></strong>
179
+ </a>
180
+ </p>
181
+ </div>
182
+ <?php
183
+ }
184
+
185
+ /**
186
+ * Создает html разметку виджета поддержки
187
+ *
188
+ * @author @author Artem Prihodko <webtemyk@yandex.ru>
189
+ */
190
+ public function showSupportWidget() {
191
+ $plugin_slug = $this->getPluginSlug();
192
+
193
+ $free_support_url = "https://wordpress.org/support/plugin/{$plugin_slug}";
194
+ $hot_support_url = $this->plugin->get_support()->get_contacts_url();
195
+
196
+ ?>
197
+ <div id="wbcr-clr-support-widget" class="wbcr-factory-sidebar-widget">
198
+ <p><strong><?php _e( 'Having Issues?', 'wbcr_factory_templates_101' ); ?></strong></p>
199
+ <div class="wbcr-clr-support-widget-body">
200
+ <p>
201
+ <?php _e( 'We provide free support for this plugin. If you are pushed with a problem, just create a new ticket. We will definitely help you!', 'wbcr_factory_templates_101' ); ?>
202
+ </p>
203
+ <ul>
204
+ <li><span class="dashicons dashicons-sos"></span>
205
+ <a href="<?php echo $free_support_url; ?>" target="_blank"
206
+ rel="noopener"><?php _e( 'Get starting free support', 'wbcr_factory_templates_101' ); ?></a>
207
+ </li>
208
+ <li style="margin-top: 15px;background: #fff4f1;padding: 10px;color: #a58074;">
209
+ <span class="dashicons dashicons-warning"></span>
210
+ <?php printf( __( 'If you find a php error or a vulnerability in plugin, you can <a href="%s" target="_blank" rel="noopener">create ticket</a> in hot support that we responded instantly.', 'wbcr_factory_templates_101' ), $hot_support_url ); ?>
211
+ </li>
212
+ </ul>
213
+ </div>
214
+ </div>
215
+ <?php
216
+ }
217
+
218
+ /**
219
+ * @return string
220
+ */
221
+ public function getMenuSubTitle() {
222
+ $menu_title = $this->menu_tab_title ?? $this->menu_title ?? $this->page_title;
223
+
224
+ return apply_filters( 'wbcr/factory/pages/impressive_lite/menu_title', $menu_title, $this->plugin->getPluginName(), $this->id );
225
+ }
226
+
227
+ public static function instruction( $title, $html ) {
228
+ $return = "<div class='form-group form-group-textbox'>
229
+ <label for='' class='col-sm-4 control-label'>{$title}</label>
230
+ <div class='control-group col-sm-8'>
231
+ <div class='help-block'>
232
+ {$html}
233
+ </div>
234
+ </div>
235
+ </div>";
236
+
237
+ return $return;
238
+ }
239
+
240
+ }
241
+
242
+
admin/class-page.php ADDED
@@ -0,0 +1,278 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use WBCR\Factory_Templates_101\ImpressiveLite;
4
+
5
+ /**
6
+ * Class of plugin page. Must be registered in file admin/class-prefix-page.php
7
+ *
8
+ * @author Artem Prihodko <webtemyk@yandex.ru>
9
+ * @copyright (c) 2021, Webcraftic
10
+ * @see ImpressiveLite
11
+ *
12
+ * @version 1.0.0
13
+ */
14
+
15
+ // Exit if accessed directly
16
+ if ( ! defined( 'ABSPATH' ) ) {
17
+ exit;
18
+ }
19
+
20
+ class WAPT_Page extends ImpressiveLite {
21
+
22
+ /**
23
+ * Name of the template to get content of. It will be based on plugins /admin/views/ dir.
24
+ * /admin/views/tab-{$template_name}.php
25
+ *
26
+ * @var string
27
+ */
28
+ public $template_name = "main";
29
+
30
+ /**
31
+ * @var string
32
+ */
33
+ public $custom_target = "admin.php";
34
+
35
+ /**
36
+ * {@inheritdoc}
37
+ */
38
+ public $show_right_sidebar_in_options = false;
39
+
40
+ /**
41
+ * {@inheritdoc}
42
+ */
43
+ public $show_search_options_form = false;
44
+
45
+ /**
46
+ * Show this page in tabs?
47
+ * default: true
48
+ */
49
+ public $show_menu_tab = true;
50
+
51
+ /**
52
+ * Title for tab in menu
53
+ */
54
+ public $menu_tab_title;
55
+
56
+ public function __construct( $plugin ) {
57
+ $this->menu_tab_title = $this->menu_tab_title ?? $this->menu_title;
58
+
59
+ parent::__construct( $plugin );
60
+ }
61
+
62
+ /**
63
+ * Render and return content of the template.
64
+ * /admin/views/tab-{$template_name}.php
65
+ *
66
+ * @return mixed Content of the page
67
+ */
68
+ public function render( $name = '', $data = [] ) {
69
+ if ( $name == '' ) {
70
+ $name = $this->template_name;
71
+ }
72
+ ob_start();
73
+ if ( is_callable( $name ) ) {
74
+ echo call_user_func( $name );
75
+ } elseif ( strpos( $name, DIRECTORY_SEPARATOR ) !== false && ( is_file( $name ) || is_file( $name . '.php' ) ) ) {
76
+ if ( is_file( $name ) ) {
77
+ $path = $name;
78
+ } else {
79
+ $path = $name . '.php';
80
+ }
81
+ } else {
82
+ $path = WAPT_PLUGIN_DIR . "/admin/views/tab-{$name}.php";
83
+ }
84
+ if ( ! is_file( $path ) ) {
85
+ return '';
86
+ }
87
+ include $path;
88
+ $content = ob_get_contents();
89
+ ob_end_clean();
90
+
91
+ return $content;
92
+ }
93
+
94
+ public function assets( $scripts, $styles ) {
95
+ parent::assets( $scripts, $styles );
96
+
97
+ $this->scripts->request( [
98
+ 'control.checkbox',
99
+ 'control.dropdown',
100
+ 'control.integer',
101
+ 'plugin.nouislider',
102
+ 'bootstrap.dropdown'
103
+ ], 'bootstrap' );
104
+
105
+ $this->styles->request( [
106
+ 'bootstrap.core',
107
+ 'bootstrap.form-group',
108
+ 'bootstrap.separator',
109
+ 'control.dropdown',
110
+ 'control.checkbox',
111
+ 'control.integer',
112
+ 'plugin.nouislider',
113
+ ], 'bootstrap' );
114
+ }
115
+
116
+ public function getPluginTitle() {
117
+ $logo = "<div class='wapt-logo-title'>&nbsp;</div>";
118
+
119
+ return $logo . $this->plugin->getPluginTitle();
120
+ }
121
+
122
+ /**
123
+ * Show rendered template - $template_name
124
+ */
125
+ public function showPageContent() {
126
+ echo $this->render();
127
+ }
128
+
129
+ public function getPluginSlug() {
130
+ $plugin_slug = $this->plugin->getPluginInfoAttr( 'updates_settings' );
131
+
132
+ return $plugin_slug['slug'] ?? WAPT_PLUGIN_SLUG;
133
+ }
134
+
135
+ /**
136
+ * Get list of post types
137
+ *
138
+ * @return array
139
+ */
140
+ public function getPostTypes() {
141
+ $args = [ 'public' => true ];
142
+ if ( $this->plugin->isNetworkActive() ) {
143
+ $args['_builtin'] = true;
144
+ }
145
+ $types = get_post_types( $args, 'objects' );
146
+
147
+ $post_types = [];
148
+ foreach ( $types as $type_name => $type ) {
149
+ if ( $type_name == 'attachment' ) {
150
+ continue;
151
+ }
152
+
153
+ $post_types[] = [ $type_name, $type->label ];
154
+ }
155
+
156
+ return $post_types;
157
+ }
158
+
159
+ /**
160
+ * @param string $position
161
+ *
162
+ * @return mixed|void
163
+ */
164
+ protected function getPageWidgets( $position = 'bottom' ) {
165
+ $widgets = [];
166
+
167
+ if ( $position == 'bottom' ) {
168
+ $widgets['rating_widget'] = $this->getRatingWidget( [] );
169
+ $widgets['support_widget'] = $this->getSupportWidget();
170
+ }
171
+
172
+ /**
173
+ * @since 3.8.2 - добавлен
174
+ */
175
+ $widgets = apply_filters( 'wbcr/factory/pages/impressive_lite/widgets', $widgets, $position, $this->plugin, $this );
176
+
177
+ return $widgets;
178
+ }
179
+
180
+ /**
181
+ * Создает html разметку виджета рейтинга
182
+ *
183
+ * @param array $args
184
+ *
185
+ * @author Artem Prihodko <webtemyk@yandex.ru>
186
+ */
187
+ public function showRatingWidget( array $args ) {
188
+ $plugin_slug = $this->getPluginSlug();
189
+
190
+ if ( ! isset( $args[0] ) || empty( $args[0] ) ) {
191
+ $page_url = "https://wordpress.org/support/plugin/{$plugin_slug}/reviews/#new-post";
192
+ } else {
193
+ $page_url = $args[0];
194
+ }
195
+
196
+ $page_url = apply_filters( 'wbcr_factory_pages_448_implite_rating_widget_url', $page_url, $this->plugin->getPluginName(), $this->getResultId() );
197
+
198
+ ?>
199
+ <div class="wbcr-factory-sidebar-widget">
200
+ <p>
201
+ <strong><?php _e( 'Do you want the plugin to improved and update?', 'wbcr_factory_templates_101' ); ?></strong>
202
+ </p>
203
+ <p><?php _e( 'Help the author, leave a review on wordpress.org. Thanks to feedback, I will know that the plugin is really useful to you and is needed.', 'wbcr_factory_templates_101' ); ?></p>
204
+ <p><?php _e( 'And also write your ideas on how to extend or improve the plugin.', 'wbcr_factory_templates_101' ); ?></p>
205
+ <p>
206
+ <i class="wbcr-factory-icon-5stars"></i>
207
+ <a href="<?php echo $page_url; ?>" title="Go rate us" target="_blank">
208
+ <strong><?php _e( 'Go rate us and push ideas', 'wbcr_factory_templates_101' ); ?></strong>
209
+ </a>
210
+ </p>
211
+ </div>
212
+ <?php
213
+ }
214
+
215
+ /**
216
+ * Создает html разметку виджета поддержки
217
+ *
218
+ * @author @author Artem Prihodko <webtemyk@yandex.ru>
219
+ */
220
+ public function showSupportWidget() {
221
+ $plugin_slug = $this->getPluginSlug();
222
+
223
+ $free_support_url = "https://wordpress.org/support/plugin/{$plugin_slug}";
224
+ $hot_support_url = $this->plugin->get_support()->get_contacts_url();
225
+
226
+ ?>
227
+ <div id="wbcr-clr-support-widget" class="wbcr-factory-sidebar-widget">
228
+ <p><strong><?php _e( 'Having Issues?', 'wbcr_factory_templates_101' ); ?></strong></p>
229
+ <div class="wbcr-clr-support-widget-body">
230
+ <p>
231
+ <?php _e( 'We provide free support for this plugin. If you are pushed with a problem, just create a new ticket. We will definitely help you!', 'wbcr_factory_templates_101' ); ?>
232
+ </p>
233
+ <ul>
234
+ <li><span class="dashicons dashicons-sos"></span>
235
+ <a href="<?php echo $free_support_url; ?>" target="_blank"
236
+ rel="noopener"><?php _e( 'Get starting free support', 'wbcr_factory_templates_101' ); ?></a>
237
+ </li>
238
+ <li style="margin-top: 15px;background: #fff4f1;padding: 10px;color: #a58074;">
239
+ <span class="dashicons dashicons-warning"></span>
240
+ <?php printf( __( 'If you find a php error or a vulnerability in plugin, you can <a href="%s" target="_blank" rel="noopener">create ticket</a> in hot support that we responded instantly.', 'wbcr_factory_templates_101' ), $hot_support_url ); ?>
241
+ </li>
242
+ </ul>
243
+ </div>
244
+ </div>
245
+ <?php
246
+ }
247
+
248
+ /**
249
+ * @return string
250
+ */
251
+ public function getMenuSubTitle() {
252
+ $menu_title = $this->menu_tab_title ?? $this->menu_title ?? $this->page_title;
253
+
254
+ return apply_filters( 'wbcr/factory/pages/impressive_lite/menu_title', $menu_title, $this->plugin->getPluginName(), $this->id );
255
+ }
256
+
257
+ public static function instruction( $title, $html ) {
258
+ $return = "<div class='form-group form-group-textbox'>
259
+ <label for='' class='col-sm-4 control-label'>{$title}</label>
260
+ <div class='control-group col-sm-8'>
261
+ <div class='help-block'>
262
+ {$html}
263
+ </div>
264
+ </div>
265
+ </div>";
266
+
267
+ return $return;
268
+ }
269
+
270
+ public static function group_header( $title, $description ) {
271
+ $return = "<div class='wbcr-factory-page-group-header'><strong>{$title}</strong><p>{$description}</p></div>";
272
+
273
+ return $return;
274
+ }
275
+
276
+ }
277
+
278
+
admin/class-wapt-activation.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Webcraftic <wordpress.webraftic@gmail.com>
6
  * @copyright (c) 02.12.2018, Webcraftic
7
- * @see Wbcr_Factory445_Activator
8
  *
9
  * @version 1.0.1
10
  */
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  exit;
15
  }
16
 
17
- class WAPT_Activation extends Wbcr_Factory445_Activator {
18
 
19
  /**
20
  * Method is executed during the activation of the plugin.
4
  *
5
  * @author Webcraftic <wordpress.webraftic@gmail.com>
6
  * @copyright (c) 02.12.2018, Webcraftic
7
+ * @see Wbcr_Factory449_Activator
8
  *
9
  * @version 1.0.1
10
  */
14
  exit;
15
  }
16
 
17
+ class WAPT_Activation extends Wbcr_Factory449_Activator {
18
 
19
  /**
20
  * Method is executed during the activation of the plugin.
admin/class-wapt-page.php DELETED
@@ -1,90 +0,0 @@
1
- <?php
2
- /**
3
- * Class of plugin page. Must be registered in file admin/class-prefix-page.php
4
- *
5
- * @author Webcraftic <wordpress.webraftic@gmail.com>
6
- * @copyright (c) 02.12.2018, Webcraftic
7
- * @see Wbcr_FactoryPages444_AdminPage
8
- *
9
- * @version 1.0.0
10
- */
11
-
12
- // Exit if accessed directly
13
- if ( ! defined( 'ABSPATH' ) ) {
14
- exit;
15
- }
16
-
17
- class WAPT_Page extends Wbcr_FactoryPages444_AdminPage {
18
-
19
- /**
20
- * Name of the template to get content of. It will be based on plugins /admin/views/ dir.
21
- * /admin/views/tab-{$template_name}.php
22
- *
23
- * @var string
24
- */
25
- public $template_name = "main";
26
-
27
- /**
28
- * Render and return content of the template.
29
- * /admin/views/tab-{$template_name}.php
30
- *
31
- * @return mixed Content of the page
32
- */
33
- public function render( $name = '' ) {
34
- if ( $name == '' ) {
35
- $name = $this->template_name;
36
- }
37
- ob_start();
38
- if ( is_callable( $name ) ) {
39
- echo call_user_func( $name );
40
- } elseif ( strpos( $name, DIRECTORY_SEPARATOR ) !== false && ( is_file( $name ) || is_file( $name . '.php' ) ) ) {
41
- if ( is_file( $name ) ) {
42
- $path = $name;
43
- } else {
44
- $path = $name . '.php';
45
- }
46
- } else {
47
- $path = WAPT_PLUGIN_DIR . "/admin/views/tab-{$name}.php";
48
- }
49
- if ( ! is_file( $path ) ) {
50
- return '';
51
- }
52
- include $path;
53
- $content = ob_get_contents();
54
- ob_end_clean();
55
-
56
- return $content;
57
- }
58
-
59
- public function assets( $scripts, $styles ) {
60
- $this->scripts->request( 'jquery' );
61
-
62
- $this->scripts->request( [
63
- 'control.checkbox',
64
- 'control.dropdown',
65
- 'control.integer',
66
- 'plugin.nouislider',
67
- 'bootstrap.dropdown'
68
- ], 'bootstrap' );
69
-
70
- $this->styles->request( [
71
- 'bootstrap.core',
72
- 'bootstrap.form-group',
73
- 'bootstrap.separator',
74
- 'control.dropdown',
75
- 'control.checkbox',
76
- 'control.integer',
77
- 'plugin.nouislider',
78
- ], 'bootstrap' );
79
- }
80
-
81
- /**
82
- * Show rendered template - $template_name
83
- */
84
- public function indexAction() {
85
- echo $this->render();
86
- }
87
-
88
- }
89
-
90
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/pages/about.php CHANGED
@@ -5,7 +5,7 @@ if ( ! defined( 'ABSPATH' ) ) {
5
  exit;
6
  }
7
 
8
- require_once WAPT_PLUGIN_DIR . '/admin/class-wapt-page.php';
9
 
10
  /**
11
  * The page Settings.
@@ -23,6 +23,16 @@ class WAPT_About extends WAPT_Page {
23
  */
24
  public $type = 'page';
25
 
 
 
 
 
 
 
 
 
 
 
26
  /**
27
  * Menu icon (only if a page is placed as a main menu).
28
  * For example: '~/assets/img/menu-icon.png'
@@ -34,7 +44,12 @@ class WAPT_About extends WAPT_Page {
34
  /**
35
  * @var string
36
  */
37
- public $page_menu_dashicon;
 
 
 
 
 
38
 
39
  /**
40
  * @param WAPT_Plugin $plugin
5
  exit;
6
  }
7
 
8
+ require_once WAPT_PLUGIN_DIR . '/admin/class-page.php';
9
 
10
  /**
11
  * The page Settings.
23
  */
24
  public $type = 'page';
25
 
26
+ /**
27
+ * @var int
28
+ */
29
+ public $page_menu_position = 1000;
30
+
31
+ /**
32
+ * @var bool
33
+ */
34
+ public $internal = false;
35
+
36
  /**
37
  * Menu icon (only if a page is placed as a main menu).
38
  * For example: '~/assets/img/menu-icon.png'
44
  /**
45
  * @var string
46
  */
47
+ public $page_menu_dashicon = "dashicons-info-outline";
48
+
49
+ /**
50
+ * {@inheritdoc}
51
+ */
52
+ public $show_menu_tab = false;
53
 
54
  /**
55
  * @param WAPT_Plugin $plugin
admin/pages/generate.php CHANGED
@@ -5,7 +5,7 @@ if ( ! defined( 'ABSPATH' ) ) {
5
  exit;
6
  }
7
 
8
- require_once WAPT_PLUGIN_DIR . '/admin/class-wapt-page.php';
9
 
10
  /**
11
  * The page Settings.
@@ -20,12 +20,21 @@ class WAPT_Generate extends WAPT_Page {
20
  * Mainly used to navigate between pages.
21
  *
22
  * @since 1.0.0
23
- * @see FactoryPages444_AdminPage
24
  *
25
  * @var string
26
  */
27
  public $id;
28
 
 
 
 
 
 
 
 
 
 
29
  /**
30
  * Menu icon (only if a page is placed as a main menu).
31
  * For example: '~/assets/img/menu-icon.png'
@@ -46,6 +55,11 @@ class WAPT_Generate extends WAPT_Page {
46
  */
47
  public $menu_position = 58;
48
 
 
 
 
 
 
49
  /**
50
  * Menu type. Set it to add the page to the specified type menu.
51
  * For example: 'post'
@@ -67,12 +81,6 @@ class WAPT_Generate extends WAPT_Page {
67
  */
68
  public $menu_title;
69
 
70
- /**
71
- * If set, an extra sub menu will be created with another title.
72
- * @var string
73
- */
74
- public $menu_sub_title;
75
-
76
  /**
77
  *
78
  * @var
@@ -89,18 +97,22 @@ class WAPT_Generate extends WAPT_Page {
89
  /**
90
  * @var int
91
  */
92
- public $page_menu_position = 20;
93
 
94
 
95
  /**
96
  * @param WAPT_Plugin $plugin
97
  */
98
  public function __construct( $plugin ) {
99
- $this->id = $plugin->getPrefix() . "generate";
100
- $this->menu_title = __( 'Auto Featured Image', 'apt' );
101
- $this->menu_sub_title = __( 'Generate featured images', 'apt' );
102
- $this->menu_icon = WAPT_PLUGIN_URL . '/admin/assets/img/apt.png';
103
- $this->template_name = "main";
 
 
 
 
104
 
105
  parent::__construct( $plugin );
106
 
@@ -112,16 +124,48 @@ class WAPT_Generate extends WAPT_Page {
112
  *
113
  * @return void
114
  * @since 1.0.0
115
- * @see FactoryPages444_AdminPage
116
  *
117
  */
118
  public function assets( $scripts, $styles ) {
119
  parent::assets( $scripts, $styles );
120
 
121
- wp_enqueue_style( 'jquery-ui-genpostthumbs', WAPT_PLUGIN_URL . '/admin/assets/jquery-ui/jquery-ui.min.css', [], '1.7.2' );
122
- wp_enqueue_script( 'jquery-progress', WAPT_PLUGIN_URL . '/admin/assets/jquery-ui/jquery-ui.progressbar.min.js', [], false, true );
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
 
124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  }
126
 
127
  }
5
  exit;
6
  }
7
 
8
+ require_once WAPT_PLUGIN_DIR . '/admin/class-page.php';
9
 
10
  /**
11
  * The page Settings.
20
  * Mainly used to navigate between pages.
21
  *
22
  * @since 1.0.0
23
+ * @see FactoryPages448_AdminPage
24
  *
25
  * @var string
26
  */
27
  public $id;
28
 
29
+ /**
30
+ * Тип страницы
31
+ * options - предназначена для создании страниц с набором опций и настроек.
32
+ * page - произвольный контент, любой html код
33
+ *
34
+ * @var string
35
+ */
36
+ public $type = 'page';
37
+
38
  /**
39
  * Menu icon (only if a page is placed as a main menu).
40
  * For example: '~/assets/img/menu-icon.png'
55
  */
56
  public $menu_position = 58;
57
 
58
+ /**
59
+ * @var bool
60
+ */
61
+ public $internal = false;
62
+
63
  /**
64
  * Menu type. Set it to add the page to the specified type menu.
65
  * For example: 'post'
81
  */
82
  public $menu_title;
83
 
 
 
 
 
 
 
84
  /**
85
  *
86
  * @var
97
  /**
98
  * @var int
99
  */
100
+ public $page_menu_position = 100;
101
 
102
 
103
  /**
104
  * @param WAPT_Plugin $plugin
105
  */
106
  public function __construct( $plugin ) {
107
+ $this->id = $plugin->getPrefix() . "generate";
108
+ $this->menu_title = __( 'Auto Featured Image', 'apt' );
109
+
110
+ $this->menu_sub_title = __( 'Generate images', 'apt' );
111
+ $this->menu_tab_title = __( 'Generate images', 'apt' );
112
+ $this->page_title = __( 'Generate images', 'apt' );
113
+
114
+ $this->menu_icon = WAPT_PLUGIN_URL . '/admin/assets/img/apt.png';
115
+ $this->template_name = "generate";
116
 
117
  parent::__construct( $plugin );
118
 
124
  *
125
  * @return void
126
  * @since 1.0.0
127
+ * @see FactoryPages448_AdminPage
128
  *
129
  */
130
  public function assets( $scripts, $styles ) {
131
  parent::assets( $scripts, $styles );
132
 
133
+ wp_enqueue_style( 'jquery-ui-genpostthumbs', WAPT_PLUGIN_URL . '/admin/assets/jquery-ui/jquery-ui.min.css', [ 'jquery' ], WAPT_PLUGIN_VERSION );
134
+ wp_enqueue_style( 'wapt-generate', WAPT_PLUGIN_URL . '/admin/assets/css/generate.css', [], WAPT_PLUGIN_VERSION );
135
+ wp_enqueue_script( 'jquery-progress', WAPT_PLUGIN_URL . '/admin/assets/jquery-ui/jquery-ui.progressbar.min.js', [ 'jquery' ], WAPT_PLUGIN_VERSION, true );
136
+ wp_enqueue_script( 'wapt-chart', WAPT_PLUGIN_URL . '/admin/assets/js/Chart.min.js', [ 'jquery' ], WAPT_PLUGIN_VERSION, true );
137
+ wp_enqueue_script( 'wapt-generate', WAPT_PLUGIN_URL . '/admin/assets/js/generate.js', [ 'jquery' ], WAPT_PLUGIN_VERSION, true );
138
+ wp_localize_script( 'wapt-generate', 'wapt', [
139
+ 'is_premium' => $this->plugin->is_premium(),
140
+ 'nonce_get_posts' => wp_create_nonce( 'get-posts' ),
141
+ 'nonce_gen_post_thumbs' => wp_create_nonce( 'generate-post-thumbnails' ),
142
+ 'nonce_del_post_thumbs' => wp_create_nonce( 'delete-post-thumbnails' ),
143
+ 'i8n_processed_posts' => esc_html__( 'All done! Processed posts: ', 'apt' ),
144
+ 'i8n_set_images' => esc_html__( 'Set featured image in posts: ', 'apt' ),
145
+ 'i8n_del_images' => esc_html__( 'Unset featured image in posts: ', 'apt' ),
146
+ 'i8n_delete_images' => esc_html__( 'Delete featured image in posts: ', 'apt' ),
147
+ ] );
148
 
149
+ }
150
 
151
+ /**
152
+ * Show rendered template - $template_name
153
+ */
154
+ public function showPageContent() {
155
+ $no_featured = $this->plugin->apt->get_posts_count();
156
+ $w_featured = $this->plugin->apt->get_posts_count( true );
157
+ $percent = ceil( $w_featured / ( $no_featured + $w_featured ) * 100 );
158
+
159
+ $data = [
160
+ 'stats' => [
161
+ 'no_featured_image' => $no_featured,
162
+ 'w_featured_image' => $w_featured,
163
+ 'featured_image_percent' => $percent,
164
+ 'error' => 0,
165
+ ],
166
+ 'log' => $this->plugin->getPopulateOption( 'generation_log', [] ),
167
+ ];
168
+ echo $this->render( $this->template_name, $data );
169
  }
170
 
171
  }
admin/pages/image.php ADDED
@@ -0,0 +1,461 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ use WBCR\APT\AutoPostThumbnails;
4
+
5
+ // Exit if accessed directly
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit;
8
+ }
9
+
10
+ require_once WAPT_PLUGIN_DIR . '/admin/class-page.php';
11
+
12
+ /**
13
+ * The page Settings.
14
+ *
15
+ * @since 1.0.0
16
+ */
17
+ class WAPT_ImageSettings extends WAPT_Page {
18
+
19
+ /**
20
+ * Тип страницы
21
+ * options - предназначена для создании страниц с набором опций и настроек.
22
+ * page - произвольный контент, любой html код
23
+ *
24
+ * @var string
25
+ */
26
+ public $type = 'options';
27
+
28
+ /**
29
+ * @var bool
30
+ */
31
+ public $internal = false;
32
+
33
+ /**
34
+ * @var int
35
+ */
36
+ public $page_menu_position = 200;
37
+
38
+ /**
39
+ * Menu icon (only if a page is placed as a main menu).
40
+ * For example: '~/assets/img/menu-icon.png'
41
+ * For example dashicons: '\f321'
42
+ *
43
+ * @var string
44
+ */
45
+ public $menu_icon = '';
46
+
47
+ /**
48
+ * @var string
49
+ */
50
+ public $page_menu_dashicon = 'dashicons-cover-image';
51
+
52
+ /**
53
+ * {@inheritdoc}
54
+ */
55
+ public $show_menu_tab = true;
56
+
57
+ /**
58
+ * {@inheritdoc}
59
+ */
60
+ public $show_right_sidebar_in_options = true;
61
+
62
+ /**
63
+ * @var array
64
+ */
65
+ public $post_types;
66
+
67
+ /**
68
+ * @param WAPT_Plugin $plugin
69
+ */
70
+ public function __construct( $plugin ) {
71
+ $this->id = $plugin->getPrefix() . "image";
72
+ $this->menu_target = $plugin->getPrefix() . "generate-" . $plugin->getPluginName();
73
+ $this->page_title = __( 'Image generation settings', 'apt' );
74
+ $this->menu_title = __( 'Image', 'apt' );
75
+ $this->capabilitiy = "manage_options";
76
+ $this->template_name = "settings";
77
+
78
+ add_action( 'wbcr_factory_forms_446_register_controls', function () {
79
+ $colorControls = array(
80
+ [
81
+ 'type' => 'wapt-color',
82
+ 'class' => 'Wapt_FactoryForms_ColorControl',
83
+ 'include' => WAPT_PLUGIN_DIR . '/includes/controls/class.color.php'
84
+ ],
85
+ [
86
+ 'type' => 'wapt-mediabutton',
87
+ 'class' => 'Wapt_FactoryForms_MediaButtonControl',
88
+ 'include' => WAPT_PLUGIN_DIR . '/includes/controls/class.mediabutton.php'
89
+ ],
90
+ [
91
+ 'type' => 'wapt-fonts',
92
+ 'class' => 'Wapt_FactoryForms_FontsControl',
93
+ 'include' => WAPT_PLUGIN_DIR . '/includes/controls/class.fonts.php'
94
+ ],
95
+ );
96
+ $this->plugin->forms->registerControls( $colorControls );
97
+ } );
98
+
99
+ //add_filter( 'wbcr/factory/pages/impressive-lite/widgets', [ $this, '' ], 10, 4 );
100
+
101
+ $this->plugin = $plugin;
102
+ $this->post_types = $this->getPostTypes();
103
+
104
+ parent::__construct( $plugin );
105
+ }
106
+
107
+ /**
108
+ * Enqueue page assets
109
+ *
110
+ * @return void
111
+ * @since 3.8.1
112
+ * @see Wbcr_FactoryPages448_AdminPage
113
+ *
114
+ */
115
+ public function assets( $scripts, $styles ) {
116
+ parent::assets( $scripts, $styles );
117
+
118
+ $this->scripts->request( [
119
+ 'control.list',
120
+ 'control.color',
121
+ 'plugin.color',
122
+ 'plugin.iris',
123
+ ], 'bootstrap' );
124
+
125
+ $this->styles->request( [
126
+ 'control.list',
127
+ 'control.color',
128
+ ], 'bootstrap' );
129
+
130
+ $this->scripts->add( WAPT_PLUGIN_URL . '/admin/assets/js/settings.js', [ 'jquery' ], 'wapt-settings-script', WAPT_PLUGIN_VERSION );
131
+ $this->styles->add( WAPT_PLUGIN_URL . '/admin/assets/css/settings.css', [], 'wapt-settings-style', WAPT_PLUGIN_VERSION );
132
+ }
133
+
134
+ protected function isShowRightSidebar() {
135
+ return $this->show_right_sidebar_in_options;
136
+ }
137
+
138
+ public function showRightSidebar() {
139
+ ?>
140
+ <div id="wapt-image-preview" class="wapt-image-preview">
141
+ <div class="wapt-image-preview-title"><h3><?php echo __( 'Post thumbnail preview', 'apt' ); ?></h3></div>
142
+ <?php
143
+ $format = WAPT_Plugin::app()->getOption( "image-type", "jpg" );
144
+ switch ( $format ) {
145
+ case 'png':
146
+ $format = 'png';
147
+ break;
148
+ case 'jpg':
149
+ case 'jpeg':
150
+ default:
151
+ $format = 'jpg';
152
+ break;
153
+ }
154
+
155
+ $posts = get_posts( array( 'numberposts' => 0, ) );
156
+ $id = rand( 0, count( $posts ) - 1 );
157
+ if ( count( $posts ) !== 0 ) {
158
+ $txt = $posts[ $id ]->post_title;
159
+ } else {
160
+ $txt = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas aliquet turpis quis ex elementum malesuada';
161
+ }
162
+
163
+ $image = apply_filters( 'wapt/generate/image', AutoPostThumbnails::generate_image_with_text( $txt ), $txt );
164
+
165
+ $image->save( WAPT_PLUGIN_DIR . "/preview.{$format}", 100, $format );
166
+ ?>
167
+ <img src="<?php echo WAPT_PLUGIN_URL . "/preview.{$format}?" . time(); ?>"
168
+ width="100%" alt="">
169
+ </div>
170
+ <?php
171
+ }
172
+
173
+ /**
174
+ * Returns options for the Basic Settings screen.
175
+ *
176
+ * @return array
177
+ * @since 3.6.2
178
+ */
179
+ public function getPageOptions() {
180
+
181
+ $is_premium = WAPT_Plugin::app()->is_premium();
182
+ $pro = $is_premium ? '' : "<br><span class='wapt-icon-pro wapt-icon-pro-span'>PRO</span>";
183
+ $layout_columns = [
184
+ 'column-left' => 4,
185
+ 'column-right' => 8,
186
+ ];
187
+
188
+ $options = [];
189
+
190
+ $options[] = [
191
+ 'type' => 'html',
192
+ 'html' => $this->group_header( __( 'Background settings', 'apt' ), '' ),
193
+ ];
194
+
195
+ $options[] = [
196
+ 'type' => 'dropdown',
197
+ 'way' => 'buttons',
198
+ 'name' => 'background-type',
199
+ 'data' => [
200
+ [ 'color', __( 'Color', 'apt' ) ],
201
+ [ 'image', __( 'Image', 'apt' ) ],
202
+ ],
203
+ 'default' => 'color',
204
+ 'title' => __( 'Background type', 'apt' ),
205
+ 'hint' => __( 'Select the background type for the featured image', 'apt' ),
206
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
207
+ ];
208
+
209
+ $options[] = [
210
+ 'type' => 'color',
211
+ 'name' => 'background-color',
212
+ 'default' => '#ff6262',
213
+ 'title' => __( 'Background color for the image', 'apt' ),
214
+ 'hint' => __( 'Set the background color for the featured image', 'apt' ),
215
+ 'layout' => $layout_columns,
216
+ ];
217
+
218
+ if ( $is_premium ) {
219
+ $options[] = [
220
+ 'type' => 'wapt-mediabutton',
221
+ 'name' => 'background-image',
222
+ 'text' => __( 'Select image', 'apt' ),
223
+ 'title' => __( 'Background image', 'apt' ),
224
+ 'hint' => __( 'Set the background image. Only JPG or PNG', 'apt' ),
225
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
226
+ 'layout' => $layout_columns,
227
+ ];
228
+ }
229
+
230
+ $options[] = [
231
+ 'type' => 'dropdown',
232
+ 'way' => 'buttons',
233
+ 'name' => 'image-type',
234
+ 'data' => [
235
+ [ 'jpg', __( 'JPEG', 'apt' ) ],
236
+ [ 'png', __( 'PNG', 'apt' ) ],
237
+ ],
238
+ 'default' => 'jpg',
239
+ 'title' => __( 'Image format', 'apt' ),
240
+ 'hint' => __( 'Set format to save images', 'apt' ),
241
+ ];
242
+
243
+ $options[] = [
244
+ 'type' => 'integer',
245
+ 'way' => 'text',
246
+ 'name' => 'image-width',
247
+ 'units' => 'px',
248
+ 'default' => 800,
249
+ 'title' => __( 'Image size: width', 'apt' ),
250
+ 'hint' => __( 'Set width of the image for the featured image', 'apt' )
251
+ ];
252
+
253
+ $options[] = [
254
+ 'type' => 'integer',
255
+ 'way' => 'text',
256
+ 'name' => 'image-height',
257
+ 'units' => 'px',
258
+ 'default' => 600,
259
+ 'title' => __( 'Image size: height', 'apt' ),
260
+ 'hint' => __( 'Set height of the image for the featured image', 'apt' )
261
+ ];
262
+
263
+
264
+ //----------------------------------------------------------------------
265
+ $options[] = [
266
+ 'type' => 'html',
267
+ 'html' => $this->group_header( __( 'Font settings', 'apt' ), '' ),
268
+ ];
269
+
270
+ $options[] = [
271
+ 'type' => 'wapt-fonts',
272
+ 'name' => 'font',
273
+ 'data' => AutoPostThumbnails::get_fonts(),
274
+ 'empty' => '',
275
+ 'title' => __( 'Font name', 'apt' ),
276
+ 'hint' => __( 'Select a font for the text in the featured image', 'apt' ),
277
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
278
+ 'layout' => $layout_columns,
279
+ ];
280
+
281
+ $options[] = [
282
+ 'type' => 'integer',
283
+ 'way' => 'text',
284
+ 'name' => 'font-size',
285
+ 'units' => 'pt',
286
+ 'default' => 25,
287
+ 'title' => __( 'Font size', 'apt' ),
288
+ 'hint' => __( 'Set the font size for the featured image', 'apt' )
289
+ ];
290
+
291
+ $options[] = [
292
+ 'type' => 'wapt-color',
293
+ 'name' => 'font-color',
294
+ 'title' => __( 'Font color', 'apt' ),
295
+ 'hint' => __( 'Set the font color for the featured image', 'apt' ),
296
+ 'layout' => $layout_columns,
297
+ ];
298
+
299
+ //----------------------------------------------------------------------
300
+ $options[] = [
301
+ 'type' => 'html',
302
+ 'html' => $this->group_header( __( 'Text settings', 'apt' ), '' ),
303
+ ];
304
+
305
+ $options[] = [
306
+ 'type' => 'checkbox',
307
+ 'way' => 'buttons',
308
+ 'name' => 'shadow',
309
+ 'default' => '0',
310
+ 'title' => __( 'Text shadow', 'apt' ),
311
+ 'hint' => __( 'Use text shadow?', 'apt' ),
312
+ 'eventsOn' => [
313
+ 'show' => '.factory-control-shadow-color'
314
+ ],
315
+ 'eventsOff' => [
316
+ 'hide' => '.factory-control-shadow-color'
317
+ ],
318
+ ];
319
+
320
+ $options[] = [
321
+ 'type' => 'wapt-color',
322
+ 'name' => 'shadow-color',
323
+ 'title' => __( 'Shadow color', 'apt' ),
324
+ 'hint' => __( 'Set the shadow color for the text', 'apt' ),
325
+ 'layout' => $layout_columns,
326
+ ];
327
+
328
+ $options[] = [
329
+ 'type' => 'dropdown',
330
+ 'way' => 'buttons',
331
+ 'name' => 'text-transform',
332
+ 'data' => [
333
+ [ 'no', __( 'No transform', 'apt' ) ],
334
+ [ 'upper', __( 'Uppercase', 'apt' ) ],
335
+ [ 'lower', __( 'Lowercase', 'apt' ) ],
336
+ ],
337
+ 'default' => 'no',
338
+ 'title' => __( 'Text transform', 'apt' ),
339
+ 'hint' => __( 'Select type of text transformation', 'apt' )
340
+ ];
341
+
342
+ $options[] = [
343
+ 'type' => 'integer',
344
+ 'way' => 'text',
345
+ 'name' => 'text-crop',
346
+ 'units' => __( 'chars', 'apt' ),
347
+ 'default' => 50,
348
+ 'title' => __( 'Text length', 'apt' ),
349
+ 'hint' => __( 'Set the maximum text length', 'apt' )
350
+ ];
351
+
352
+ $options[] = [
353
+ 'type' => 'integer',
354
+ 'way' => 'text',
355
+ 'name' => 'text-line-spacing',
356
+ 'range' => array( 0, 3 ),
357
+ 'default' => 1.5,
358
+ 'title' => __( 'Line spacing', 'apt' ),
359
+ 'hint' => __( 'Set the line spacing', 'apt' )
360
+ ];
361
+
362
+ //----------------------------------------------------------------------
363
+ $options[] = [
364
+ 'type' => 'html',
365
+ 'html' => $this->group_header( __( 'Alignment', 'apt' ), '' ),
366
+ ];
367
+
368
+ $options[] = [
369
+ 'type' => 'dropdown',
370
+ 'way' => 'buttons',
371
+ 'name' => 'text-align-horizontal',
372
+ 'data' => [
373
+ [ 'left', __( 'Left', 'apt' ) ],
374
+ [ 'center', __( 'Center', 'apt' ) ],
375
+ [ 'right', __( 'Right', 'apt' ) ],
376
+ ],
377
+ 'default' => 'center',
378
+ 'title' => __( 'Horizontal text alignment', 'apt' ) . $pro,
379
+ 'hint' => __( 'Select how to horizontally align the text on the image', 'apt' ),
380
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
381
+ ];
382
+
383
+ $options[] = [
384
+ 'type' => 'dropdown',
385
+ 'way' => 'buttons',
386
+ 'name' => 'text-align-vertical',
387
+ 'data' => [
388
+ [ 'top', __( 'Top', 'apt' ) ],
389
+ [ 'center', __( 'Center', 'apt' ) ],
390
+ [ 'bottom', __( 'Bottom', 'apt' ) ],
391
+ ],
392
+ 'default' => 'center',
393
+ 'title' => __( 'Vertical text alignment', 'apt' ) . $pro,
394
+ 'hint' => __( 'Select how to vertically align the text on the image', 'apt' ),
395
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
396
+ ];
397
+
398
+ //----------------------------------------------------------------------
399
+ $options[] = [
400
+ 'type' => 'html',
401
+ 'html' => $this->group_header( __( 'Padding', 'apt' ), '' ),
402
+ ];
403
+
404
+ $options[] = [
405
+ 'type' => 'integer',
406
+ 'way' => 'text',
407
+ 'name' => 'text-padding-tb',
408
+ 'units' => __( 'px', 'apt' ),
409
+ 'default' => 15,
410
+ 'title' => __( 'Top/bottom text padding', 'apt' ) . $pro,
411
+ 'hint' => __( 'Padding at the top and bottom of the text', 'apt' ),
412
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
413
+ ];
414
+
415
+ $options[] = [
416
+ 'type' => 'integer',
417
+ 'way' => 'text',
418
+ 'name' => 'text-padding-lr',
419
+ 'units' => __( 'px', 'apt' ),
420
+ 'default' => 15,
421
+ 'title' => __( 'Left/right text padding', 'apt' ) . $pro,
422
+ 'hint' => __( 'Padding at the left and right of the text', 'apt' ),
423
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
424
+ ];
425
+
426
+ //----------------------------------------------------------------------
427
+ $options[] = [
428
+ 'type' => 'html',
429
+ 'html' => $this->group_header( __( 'Addition of text', 'apt' ), '' ),
430
+ ];
431
+
432
+ $options[] = [
433
+ 'type' => 'textbox',
434
+ 'name' => 'before-text',
435
+ 'default' => '',
436
+ 'title' => __( 'String before text', 'apt' ) . $pro,
437
+ 'hint' => __( 'Additional string before text. For a line break, use <b>[br]</b>', 'apt' ),
438
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
439
+ 'htmlAttrs' => ( ! $is_premium ) ? [ 'disabled' => 'disabled' ] : [],
440
+ ];
441
+
442
+ $options[] = [
443
+ 'type' => 'textbox',
444
+ 'name' => 'after-text',
445
+ 'default' => '',
446
+ 'title' => __( 'String after text', 'apt' ) . $pro,
447
+ 'hint' => __( 'Additional string after text. For a line break, use <b>[br]</b>', 'apt' ),
448
+ 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
449
+ 'htmlAttrs' => ( ! $is_premium ) ? [ 'disabled' => 'disabled' ] : [],
450
+ ];
451
+
452
+ $form_options[] = [
453
+ 'type' => 'form-group',
454
+ 'items' => $options,
455
+ //'cssClass' => 'postbox'
456
+ ];
457
+
458
+ return $form_options;
459
+ }
460
+
461
+ }
admin/pages/license.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
 
3
  // Exit if accessed directly
4
- use WBCR\Factory_445\Premium\Interfaces\License;
5
- use WBCR\Factory_445\Premium\Provider;
6
 
7
  if ( ! defined( 'ABSPATH' ) ) {
8
  exit;
@@ -16,30 +16,35 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  class WAPT_License extends WAPT_Page {
17
 
18
  /**
19
- * {@inheritdoc}
20
  */
21
- public $type = "page";
22
 
23
  /**
24
- * {@inheritdoc}
25
  */
26
- public $page_menu_dashicon = 'dashicons-admin-network';
27
 
28
  /**
29
  * {@inheritdoc}
30
  */
31
- public $show_right_sidebar_in_options = false;
32
 
33
  /**
34
  * {@inheritdoc}
35
  */
36
- public $page_menu_position = 0;
37
 
38
  /**
39
  * {@inheritdoc}
40
  */
41
  public $available_for_multisite = true;
42
 
 
 
 
 
 
43
  /**
44
  * @var string Name of the paid plan.
45
  */
@@ -87,10 +92,8 @@ class WAPT_License extends WAPT_Page {
87
  public function __construct( $plugin ) {
88
  $this->plugin = $plugin;
89
 
90
- parent::__construct( $plugin );
91
-
92
  $this->id = 'license';
93
- $this->menu_title = __( 'License', 'insert-php' );
94
  $this->page_title = __( 'License of APT', 'apt' );
95
  $this->template_name = "license";
96
  $this->menu_target = $plugin->getPrefix() . "generate-" . $plugin->getPluginName();
@@ -101,6 +104,8 @@ class WAPT_License extends WAPT_Page {
101
  $this->is_premium_active = $this->premium->is_active();
102
  $this->premium_has_subscription = $this->premium->has_paid_subscription();
103
  $this->premium_license = $this->premium->get_license();
 
 
104
  }
105
 
106
  /**
1
  <?php
2
 
3
  // Exit if accessed directly
4
+ use WBCR\Factory_449\Premium\Interfaces\License;
5
+ use WBCR\Factory_449\Premium\Provider;
6
 
7
  if ( ! defined( 'ABSPATH' ) ) {
8
  exit;
16
  class WAPT_License extends WAPT_Page {
17
 
18
  /**
19
+ * @var int
20
  */
21
+ public $page_menu_position = 900;
22
 
23
  /**
24
+ * @var bool
25
  */
26
+ public $internal = false;
27
 
28
  /**
29
  * {@inheritdoc}
30
  */
31
+ public $type = "page";
32
 
33
  /**
34
  * {@inheritdoc}
35
  */
36
+ public $page_menu_dashicon = 'dashicons-admin-network';
37
 
38
  /**
39
  * {@inheritdoc}
40
  */
41
  public $available_for_multisite = true;
42
 
43
+ /**
44
+ * {@inheritdoc}
45
+ */
46
+ public $show_menu_tab = false;
47
+
48
  /**
49
  * @var string Name of the paid plan.
50
  */
92
  public function __construct( $plugin ) {
93
  $this->plugin = $plugin;
94
 
 
 
95
  $this->id = 'license';
96
+ $this->menu_title = '<span style="color:#f18500">' . __( 'License', 'apt' ) . '</span>';
97
  $this->page_title = __( 'License of APT', 'apt' );
98
  $this->template_name = "license";
99
  $this->menu_target = $plugin->getPrefix() . "generate-" . $plugin->getPluginName();
104
  $this->is_premium_active = $this->premium->is_active();
105
  $this->premium_has_subscription = $this->premium->has_paid_subscription();
106
  $this->premium_license = $this->premium->get_license();
107
+
108
+ parent::__construct( $plugin );
109
  }
110
 
111
  /**
admin/pages/log.php ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Exit if accessed directly
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
+ require_once WAPT_PLUGIN_DIR . '/admin/class-page-logger.php';
8
+
9
+ /**
10
+ * Класс отвечает за работу страницы логов.
11
+ *
12
+ * @author Eugene Jokerov <jokerov@gmail.com>
13
+ * @author Alexander Teshabaev <sasha.tesh@gmail.com>
14
+ * @copyright (c) 2018, Webcraftic
15
+ * @version 1.0
16
+ */
17
+ class WAPT_Log extends WAPT_Page_Logger {
18
+
19
+ /**
20
+ * {@inheritdoc}
21
+ */
22
+ public $id;
23
+
24
+ /**
25
+ * Тип страницы
26
+ * options - предназначена для создании страниц с набором опций и настроек.
27
+ * page - произвольный контент, любой html код
28
+ *
29
+ * @var string
30
+ */
31
+ public $type = 'page';
32
+
33
+ /**
34
+ * @var string
35
+ */
36
+ public $page_menu_dashicon = 'dashicons-list-view';
37
+
38
+ /**
39
+ * Menu position (only if a page is placed as a main menu).
40
+ * @link http://codex.wordpress.org/Function_Reference/add_menu_page
41
+ * @var string
42
+ */
43
+ public $menu_position = 58;
44
+
45
+ /**
46
+ * @var bool
47
+ */
48
+ public $internal = false;
49
+
50
+ /**
51
+ * Заголовок страницы, также использует в меню, как название закладки
52
+ *
53
+ * @var bool
54
+ */
55
+ public $show_page_title = true;
56
+
57
+ /**
58
+ * @var int
59
+ */
60
+ public $page_menu_position = 300;
61
+
62
+ /**
63
+ * {@inheritdoc}
64
+ */
65
+ public $available_for_multisite = false;
66
+
67
+ /**
68
+ * {@inheritdoc}
69
+ */
70
+ public $show_right_sidebar_in_options = false;
71
+
72
+ /**
73
+ * @param WAPT_Plugin $plugin
74
+ */
75
+ public function __construct( WAPT_Plugin $plugin ) {
76
+ $this->id = 'log';
77
+ $this->menu_target = $plugin->getPrefix() . "generate-" . $plugin->getPluginName();
78
+ $this->page_title = __( 'Plugin logs', 'apt' );
79
+ $this->menu_title = $this->getMenuTitle();
80
+
81
+ $this->plugin = $plugin;
82
+
83
+ parent::__construct( $plugin );
84
+ }
85
+
86
+ /**
87
+ * {@inheritdoc}
88
+ */
89
+ public function getMenuTitle() {
90
+ return __( 'Logs', 'apt' );
91
+ }
92
+
93
+ /**
94
+ * {@inheritdoc}
95
+ *
96
+ * @return void
97
+ * @since 1.0.0
98
+ */
99
+ public function assets( $scripts, $styles ) {
100
+ parent::assets( $scripts, $styles );
101
+ }
102
+ }
admin/pages/settings.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  exit;
8
  }
9
 
10
- require_once WAPT_PLUGIN_DIR . '/admin/class-wapt-page.php';
11
 
12
  /**
13
  * The page Settings.
@@ -25,6 +25,16 @@ class WAPT_Settings extends WAPT_Page {
25
  */
26
  public $type = 'options';
27
 
 
 
 
 
 
 
 
 
 
 
28
  /**
29
  * Menu icon (only if a page is placed as a main menu).
30
  * For example: '~/assets/img/menu-icon.png'
@@ -37,41 +47,32 @@ class WAPT_Settings extends WAPT_Page {
37
  /**
38
  * @var string
39
  */
40
- public $page_menu_dashicon = '';
 
 
 
 
 
 
 
 
 
 
41
 
42
  /**
43
  * @param WAPT_Plugin $plugin
44
  */
45
  public function __construct( $plugin ) {
46
- $this->id = $plugin->getPrefix() . "settings";
47
- $this->menu_target = $plugin->getPrefix() . "generate-" . $plugin->getPluginName();
48
- $this->page_title = __( 'Settings of APT', 'apt' );
49
- $this->menu_title = __( 'Settings', 'apt' );
50
- $this->capabilitiy = "manage_options";
51
- $this->template_name = "settings";
52
-
53
- add_action( 'wbcr_factory_forms_442_register_controls', function () {
54
- $colorControls = array(
55
- [
56
- 'type' => 'wapt-color',
57
- 'class' => 'Wapt_FactoryForms_ColorControl',
58
- 'include' => WAPT_PLUGIN_DIR . '/includes/controls/class.color.php'
59
- ],
60
- [
61
- 'type' => 'wapt-mediabutton',
62
- 'class' => 'Wapt_FactoryForms_MediaButtonControl',
63
- 'include' => WAPT_PLUGIN_DIR . '/includes/controls/class.mediabutton.php'
64
- ],
65
- [
66
- 'type' => 'wapt-fonts',
67
- 'class' => 'Wapt_FactoryForms_FontsControl',
68
- 'include' => WAPT_PLUGIN_DIR . '/includes/controls/class.fonts.php'
69
- ],
70
- );
71
- $this->plugin->forms->registerControls( $colorControls );
72
- } );
73
-
74
- $this->plugin = $plugin;
75
 
76
  parent::__construct( $plugin );
77
  }
@@ -81,7 +82,7 @@ class WAPT_Settings extends WAPT_Page {
81
  *
82
  * @return void
83
  * @since 3.8.1
84
- * @see Wbcr_FactoryPages444_AdminPage
85
  *
86
  */
87
  public function assets( $scripts, $styles ) {
@@ -89,11 +90,18 @@ class WAPT_Settings extends WAPT_Page {
89
 
90
  $this->scripts->request( [
91
  'control.list',
 
 
92
  ], 'bootstrap' );
93
 
94
  $this->styles->request( [
95
- 'control.list'
 
 
96
  ], 'bootstrap' );
 
 
 
97
  }
98
 
99
  /**
@@ -102,18 +110,15 @@ class WAPT_Settings extends WAPT_Page {
102
  * @return array
103
  * @since 3.6.2
104
  */
105
- public function getOptions_general() {
106
  $is_premium = WAPT_Plugin::app()->is_premium();
 
107
 
108
  $options = [];
109
 
110
  $options[] = [
111
  'type' => 'html',
112
- 'html' => '<h3 style="margin-left:0">' . __( 'General', 'apt' ) . '</h3>'
113
- ];
114
-
115
- $options[] = [
116
- 'type' => 'separator'
117
  ];
118
 
119
  $options[] = [
@@ -147,6 +152,16 @@ class WAPT_Settings extends WAPT_Page {
147
  'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro-item' ] : [],
148
  ];
149
 
 
 
 
 
 
 
 
 
 
 
150
  $options[] = [
151
  'type' => 'checkbox',
152
  'way' => 'buttons',
@@ -156,44 +171,10 @@ class WAPT_Settings extends WAPT_Page {
156
  'hint' => __( 'Delete settings when removing the plugin', 'apt' )
157
  ];
158
 
159
- return $options;
160
- }
161
-
162
- /**
163
- * Returns options for the Basic Settings screen.
164
- *
165
- * @return array
166
- * @since 3.8.1
167
- */
168
- public function getOptions_import() {
169
- $is_premium = WAPT_Plugin::app()->is_premium();
170
- $pro = $is_premium ? '' : "<br><span class='wapt-icon-pro wapt-icon-pro-span'>PRO</span>";
171
-
172
- $args = [ 'public' => true ];
173
-
174
- if ( $this->plugin->isNetworkActive() ) {
175
- $args['_builtin'] = true;
176
- }
177
- $types = get_post_types( $args, 'objects' );
178
-
179
- $post_types = [];
180
- foreach ( $types as $type_name => $type ) {
181
- if ( $type_name == 'attachment' ) {
182
- continue;
183
- }
184
-
185
- $post_types[] = [ $type_name, $type->label ];
186
- }
187
-
188
- $options = [];
189
-
190
  $options[] = [
191
  'type' => 'html',
192
- 'html' => '<h3 style="margin-left:0">' . __( 'Images import settings', 'apt' ) . '</h3>'
193
- ];
194
-
195
- $options[] = [
196
- 'type' => 'separator'
197
  ];
198
 
199
  $options[] = [
@@ -210,7 +191,7 @@ class WAPT_Settings extends WAPT_Page {
210
  'type' => 'list',
211
  'way' => 'checklist',
212
  'name' => 'import_post_types',
213
- 'data' => $post_types,
214
  'default' => '',
215
  'title' => __( 'Import for post types', 'apt' ) . $pro,
216
  'hint' => __( "What types of posts to import images for", 'apt' ),
@@ -218,335 +199,22 @@ class WAPT_Settings extends WAPT_Page {
218
  'htmlAttrs' => ( ! $is_premium ) ? [ 'disabled' => 'disabled' ] : [],
219
  ];
220
 
221
- return $options;
222
- }
223
-
224
- /**
225
- * Returns options for the Basic Settings screen.
226
- *
227
- * @return array
228
- * @since 3.6.2
229
- */
230
- public function getOptions_image() {
231
-
232
- $is_premium = WAPT_Plugin::app()->is_premium();
233
- $pro = $is_premium ? '' : "<br><span class='wapt-icon-pro wapt-icon-pro-span'>PRO</span>";
234
-
235
- $options = [];
236
-
237
- $options[] = [
238
- 'type' => 'html',
239
- 'html' => '<h3 style="margin-left:0">' . __( 'Background settings', 'apt' ) . '</h3>'
240
- ];
241
-
242
- $options[] = [
243
- 'type' => 'separator'
244
- ];
245
-
246
- $options[] = [
247
- 'type' => 'dropdown',
248
- 'way' => 'buttons',
249
- 'name' => 'background-type',
250
- 'data' => [
251
- [ 'color', __( 'Color', 'apt' ) ],
252
- [ 'image', __( 'Image', 'apt' ) ],
253
- ],
254
- 'default' => 'color',
255
- 'title' => __( 'Background type', 'apt' ),
256
- 'hint' => __( 'Select the background type for the featured image', 'apt' ),
257
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
258
- ];
259
-
260
- $options[] = [
261
- 'type' => 'wapt-color',
262
- 'name' => 'background-color',
263
- 'default' => '#ff6262',
264
- 'title' => __( 'Background color for the image', 'apt' ),
265
- 'hint' => __( 'Set the background color for the featured image', 'apt' )
266
- ];
267
-
268
- if ( $is_premium ) {
269
- $options[] = [
270
- 'type' => 'wapt-mediabutton',
271
- 'name' => 'background-image',
272
- 'text' => __( 'Select image', 'apt' ),
273
- 'title' => __( 'Background image', 'apt' ),
274
- 'hint' => __( 'Set the background image. Only JPG or PNG', 'apt' ),
275
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
276
- ];
277
- }
278
-
279
- $options[] = [
280
- 'type' => 'dropdown',
281
- 'way' => 'buttons',
282
- 'name' => 'image-type',
283
- 'data' => [
284
- [ 'jpg', __( 'JPEG', 'apt' ) ],
285
- [ 'png', __( 'PNG', 'apt' ) ],
286
- ],
287
- 'default' => 'jpg',
288
- 'title' => __( 'Image format', 'apt' ),
289
- 'hint' => __( 'Set format to save images', 'apt' ),
290
- ];
291
-
292
- $options[] = [
293
- 'type' => 'integer',
294
- 'way' => 'text',
295
- 'name' => 'image-width',
296
- 'units' => 'px',
297
- 'default' => 800,
298
- 'title' => __( 'Image size: width', 'apt' ),
299
- 'hint' => __( 'Set width of the image for the featured image', 'apt' )
300
- ];
301
-
302
- $options[] = [
303
- 'type' => 'integer',
304
- 'way' => 'text',
305
- 'name' => 'image-height',
306
- 'units' => 'px',
307
- 'default' => 600,
308
- 'title' => __( 'Image size: height', 'apt' ),
309
- 'hint' => __( 'Set height of the image for the featured image', 'apt' )
310
- ];
311
-
312
-
313
- //----------------------------------------------------------------------
314
- $options[] = [
315
- 'type' => 'html',
316
- 'html' => '<h3 style="margin-left:0">' . __( 'Font settings', 'apt' ) . '</h3>'
317
- ];
318
-
319
- $options[] = [
320
- 'type' => 'separator'
321
- ];
322
-
323
- $options[] = [
324
- 'type' => 'wapt-fonts',
325
- 'name' => 'font',
326
- 'data' => AutoPostThumbnails::get_fonts(),
327
- 'empty' => '',
328
- 'title' => __( 'Font name', 'apt' ),
329
- 'hint' => __( 'Select a font for the text in the featured image', 'apt' ),
330
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
331
- ];
332
-
333
- $options[] = [
334
- 'type' => 'integer',
335
- 'way' => 'text',
336
- 'name' => 'font-size',
337
- 'units' => 'pt',
338
- 'default' => 25,
339
- 'title' => __( 'Font size', 'apt' ),
340
- 'hint' => __( 'Set the font size for the featured image', 'apt' )
341
- ];
342
-
343
- $options[] = [
344
- 'type' => 'wapt-color',
345
- 'name' => 'font-color',
346
- 'title' => __( 'Font color', 'apt' ),
347
- 'hint' => __( 'Set the font color for the featured image', 'apt' )
348
- ];
349
-
350
- //----------------------------------------------------------------------
351
- $options[] = [
352
- 'type' => 'html',
353
- 'html' => '<h3 style="margin-left:0">' . __( 'Text settings', 'apt' ) . '</h3>'
354
- ];
355
-
356
- $options[] = [
357
- 'type' => 'separator'
358
- ];
359
-
360
- $options[] = [
361
- 'type' => 'checkbox',
362
- 'way' => 'buttons',
363
- 'name' => 'shadow',
364
- 'default' => '0',
365
- 'title' => __( 'Text shadow', 'apt' ),
366
- 'hint' => __( 'Use text shadow?', 'apt' ),
367
- 'eventsOn' => [
368
- 'show' => '.factory-control-shadow-color'
369
- ],
370
- 'eventsOff' => [
371
- 'hide' => '.factory-control-shadow-color'
372
- ],
373
- ];
374
-
375
- $options[] = [
376
- 'type' => 'wapt-color',
377
- 'name' => 'shadow-color',
378
- 'title' => __( 'Shadow color', 'apt' ),
379
- 'hint' => __( 'Set the shadow color for the text', 'apt' )
380
- ];
381
-
382
- $options[] = [
383
- 'type' => 'dropdown',
384
- 'way' => 'buttons',
385
- 'name' => 'text-transform',
386
- 'data' => [
387
- [ 'no', __( 'No transform', 'apt' ) ],
388
- [ 'upper', __( 'Uppercase', 'apt' ) ],
389
- [ 'lower', __( 'Lowercase', 'apt' ) ],
390
- ],
391
- 'default' => 'no',
392
- 'title' => __( 'Text transform', 'apt' ),
393
- 'hint' => __( 'Select type of text transformation', 'apt' )
394
- ];
395
-
396
- $options[] = [
397
- 'type' => 'integer',
398
- 'way' => 'text',
399
- 'name' => 'text-crop',
400
- 'units' => __( 'chars', 'apt' ),
401
- 'default' => 50,
402
- 'title' => __( 'Text length', 'apt' ),
403
- 'hint' => __( 'Set the maximum text length', 'apt' )
404
- ];
405
-
406
- $options[] = [
407
- 'type' => 'integer',
408
- 'way' => 'text',
409
- 'name' => 'text-line-spacing',
410
- 'range' => array( 0, 3 ),
411
- 'default' => 1.5,
412
- 'title' => __( 'Line spacing', 'apt' ),
413
- 'hint' => __( 'Set the line spacing', 'apt' )
414
- ];
415
-
416
- //----------------------------------------------------------------------
417
- $options[] = [
418
- 'type' => 'html',
419
- 'html' => '<h3 style="margin-left:0">' . __( 'Alignment', 'apt' ) . '</h3>'
420
- ];
421
-
422
- $options[] = [
423
- 'type' => 'separator'
424
- ];
425
-
426
- $options[] = [
427
- 'type' => 'dropdown',
428
- 'way' => 'buttons',
429
- 'name' => 'text-align-horizontal',
430
- 'data' => [
431
- [ 'left', __( 'Left', 'apt' ) ],
432
- [ 'center', __( 'Center', 'apt' ) ],
433
- [ 'right', __( 'Right', 'apt' ) ],
434
- ],
435
- 'default' => 'center',
436
- 'title' => __( 'Horizontal text alignment', 'apt' ) . $pro,
437
- 'hint' => __( 'Select how to horizontally align the text on the image', 'apt' ),
438
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
439
- ];
440
-
441
- $options[] = [
442
- 'type' => 'dropdown',
443
- 'way' => 'buttons',
444
- 'name' => 'text-align-vertical',
445
- 'data' => [
446
- [ 'top', __( 'Top', 'apt' ) ],
447
- [ 'center', __( 'Center', 'apt' ) ],
448
- [ 'bottom', __( 'Bottom', 'apt' ) ],
449
- ],
450
- 'default' => 'center',
451
- 'title' => __( 'Vertical text alignment', 'apt' ) . $pro,
452
- 'hint' => __( 'Select how to vertically align the text on the image', 'apt' ),
453
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
454
- ];
455
-
456
- //----------------------------------------------------------------------
457
- $options[] = [
458
- 'type' => 'html',
459
- 'html' => '<h3 style="margin-left:0">' . __( 'Padding', 'apt' ) . '</h3>'
460
- ];
461
-
462
- $options[] = [
463
- 'type' => 'separator'
464
- ];
465
-
466
- $options[] = [
467
- 'type' => 'integer',
468
- 'way' => 'text',
469
- 'name' => 'text-padding-tb',
470
- 'units' => __( 'px', 'apt' ),
471
- 'default' => 15,
472
- 'title' => __( 'Top/bottom text padding', 'apt' ) . $pro,
473
- 'hint' => __( 'Padding at the top and bottom of the text', 'apt' ),
474
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
475
- ];
476
-
477
- $options[] = [
478
- 'type' => 'integer',
479
- 'way' => 'text',
480
- 'name' => 'text-padding-lr',
481
- 'units' => __( 'px', 'apt' ),
482
- 'default' => 15,
483
- 'title' => __( 'Left/right text padding', 'apt' ) . $pro,
484
- 'hint' => __( 'Padding at the left and right of the text', 'apt' ),
485
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
486
- ];
487
-
488
- //----------------------------------------------------------------------
489
- $options[] = [
490
- 'type' => 'html',
491
- 'html' => '<h3 style="margin-left:0">' . __( 'Addition of text', 'apt' ) . '</h3>'
492
- ];
493
-
494
- $options[] = [
495
- 'type' => 'separator'
496
- ];
497
-
498
- $options[] = [
499
- 'type' => 'textbox',
500
- 'name' => 'before-text',
501
- 'default' => '',
502
- 'title' => __( 'String before text', 'apt' ) . $pro,
503
- 'hint' => __( 'Additional string before text. For a line break, use <b>[br]</b>', 'apt' ),
504
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
505
- 'htmlAttrs' => ( ! $is_premium ) ? [ 'disabled' => 'disabled' ] : [],
506
- ];
507
-
508
- $options[] = [
509
- 'type' => 'textbox',
510
- 'name' => 'after-text',
511
- 'default' => '',
512
- 'title' => __( 'String after text', 'apt' ) . $pro,
513
- 'hint' => __( 'Additional string after text. For a line break, use <b>[br]</b>', 'apt' ),
514
- 'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro' ] : [],
515
- 'htmlAttrs' => ( ! $is_premium ) ? [ 'disabled' => 'disabled' ] : [],
516
- ];
517
-
518
- return $options;
519
- }
520
-
521
- /**
522
- * Returns options for the Basic Settings screen.
523
- *
524
- * @return array
525
- * @since 3.6.2
526
- */
527
- public function getOptions_api() {
528
-
529
- $options = [];
530
-
531
  $options[] = [
532
  'type' => 'html',
533
- 'html' => '<h3 style="margin-left:0">API Settings</h3>'
534
  ];
535
 
536
  /* GOOGLE */
537
  $options[] = [
538
  'type' => 'html',
539
- 'html' => '<h3 style="margin-left:0">Google API</h3><p><a href="https://www.youtube.com/watch?v=Bxy8Yqp5XX0" target="_blank" rel="noopener">' . __( 'How to get google api key & custom search engine id', 'apt' ) . '</a></p>'
540
- ];
541
-
542
- $options[] = [
543
- 'type' => 'separator'
544
  ];
545
 
546
  $options[] = [
547
  'type' => 'hidden',
548
  'name' => 'ajax_nonce',
549
- 'value' => wp_create_nonce( 'check-api-key' )
550
  ];
551
 
552
  // Текстовое поле
@@ -568,56 +236,12 @@ class WAPT_Settings extends WAPT_Page {
568
 
569
  $options = apply_filters( 'wapt/settings/form_options', $options );
570
 
571
- $options[] = [
572
- 'type' => 'separator'
 
 
573
  ];
574
 
575
- return $options;
576
- }
577
-
578
- public function indexAction() {
579
- wp_enqueue_style( 'wapt-tabs-style', WAPT_PLUGIN_URL . '/admin/assets/css/tabs.css', array(), WAPT_PLUGIN_VERSION );
580
- wp_enqueue_style( 'wapt-settings-style', WAPT_PLUGIN_URL . '/admin/assets/css/settings.css', array(), WAPT_PLUGIN_VERSION );
581
- wp_enqueue_script( 'wapt-settings-script', WAPT_PLUGIN_URL . '/admin/assets/js/settings.js', [], WAPT_PLUGIN_VERSION, true );
582
- // creating a form
583
- global $form;
584
- $form = new Wbcr_FactoryForms442_Form( [
585
- 'scope' => substr( $this->plugin->getPrefix(), 0, - 1 ),
586
- 'name' => 'setting'
587
- ], $this->plugin );
588
-
589
- $form->setProvider( new Wbcr_FactoryForms442_OptionsValueProvider( $this->plugin ) );
590
-
591
- $wapt_tab = WAPT_Plugin::app()->request->get( 'apt_tab', '' );
592
- switch ( $wapt_tab ) {
593
- case 'general':
594
- $form->add( $this->getOptions_general() );
595
- break;
596
- case 'import':
597
- $form->add( $this->getOptions_import() );
598
- break;
599
- case 'img_generation':
600
- $form->add( $this->getOptions_image() );
601
- break;
602
- case 'api':
603
- $form->add( $this->getOptions_api() );
604
- break;
605
- default:
606
- $form->add( $this->getOptions_general() );
607
- break;
608
- }
609
-
610
- $wapt_saved = WAPT_Plugin::app()->request->post( $this->plugin->getPrefix() . 'saved', '' );
611
- if ( ! empty( $wapt_saved ) ) {
612
- $wapt_nonce = WAPT_Plugin::app()->request->post( $this->plugin->getPrefix() . 'nonce', '' );
613
- if ( ! wp_verify_nonce( $wapt_nonce, $this->plugin->getPrefix() . 'settings_form' ) ) {
614
- wp_die( 'Permission error. You can not edit this page.' );
615
- }
616
- $form->save();
617
-
618
- do_action( 'wapt/settings/after_form_save' );
619
- }
620
-
621
- parent::indexAction();
622
  }
623
  }
7
  exit;
8
  }
9
 
10
+ require_once WAPT_PLUGIN_DIR . '/admin/class-page.php';
11
 
12
  /**
13
  * The page Settings.
25
  */
26
  public $type = 'options';
27
 
28
+ /**
29
+ * @var bool
30
+ */
31
+ public $internal = false;
32
+
33
+ /**
34
+ * @var int
35
+ */
36
+ public $page_menu_position = 200;
37
+
38
  /**
39
  * Menu icon (only if a page is placed as a main menu).
40
  * For example: '~/assets/img/menu-icon.png'
47
  /**
48
  * @var string
49
  */
50
+ public $page_menu_dashicon = 'dashicons-admin-settings';
51
+
52
+ /**
53
+ * {@inheritdoc}
54
+ */
55
+ public $show_menu_tab = true;
56
+
57
+ /**
58
+ * @var array
59
+ */
60
+ public $post_types;
61
 
62
  /**
63
  * @param WAPT_Plugin $plugin
64
  */
65
  public function __construct( $plugin ) {
66
+ $this->id = $plugin->getPrefix() . "settings";
67
+ $this->menu_target = $plugin->getPrefix() . "generate-" . $plugin->getPluginName();
68
+ $this->page_title = __( 'Settings of APT', 'apt' );
69
+ $this->menu_title = __( 'Settings', 'apt' );
70
+ $this->page_menu_short_description = __( 'General settings', 'apt' );
71
+ $this->capabilitiy = "manage_options";
72
+ $this->template_name = "settings";
73
+
74
+ $this->plugin = $plugin;
75
+ $this->post_types = $this->getPostTypes();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  parent::__construct( $plugin );
78
  }
82
  *
83
  * @return void
84
  * @since 3.8.1
85
+ * @see Wbcr_FactoryPages448_AdminPage
86
  *
87
  */
88
  public function assets( $scripts, $styles ) {
90
 
91
  $this->scripts->request( [
92
  'control.list',
93
+ 'bootstrap.accordion',
94
+ 'bootstrap.tab',
95
  ], 'bootstrap' );
96
 
97
  $this->styles->request( [
98
+ 'control.list',
99
+ 'bootstrap.accordion',
100
+ 'bootstrap.tab',
101
  ], 'bootstrap' );
102
+
103
+ $this->scripts->add( WAPT_PLUGIN_URL . '/admin/assets/js/settings.js', [ 'jquery' ], 'wapt-settings-script', WAPT_PLUGIN_VERSION );
104
+ $this->styles->add( WAPT_PLUGIN_URL . '/admin/assets/css/settings.css', [], 'wapt-settings-style', WAPT_PLUGIN_VERSION );
105
  }
106
 
107
  /**
110
  * @return array
111
  * @since 3.6.2
112
  */
113
+ public function getPageOptions() {
114
  $is_premium = WAPT_Plugin::app()->is_premium();
115
+ $pro = $is_premium ? '' : "<br><span class='wapt-icon-pro wapt-icon-pro-span'>PRO</span>";
116
 
117
  $options = [];
118
 
119
  $options[] = [
120
  'type' => 'html',
121
+ 'html' => $this->group_header( __( 'General', 'apt' ), __( 'Basic plugin settings', 'apt' ) ),
 
 
 
 
122
  ];
123
 
124
  $options[] = [
152
  'cssClass' => ( ! $is_premium ) ? [ 'wapt-icon-pro-item' ] : [],
153
  ];
154
 
155
+ $options[] = [
156
+ 'type' => 'list',
157
+ 'way' => 'checklist',
158
+ 'name' => 'auto_post_types',
159
+ 'data' => $this->post_types,
160
+ 'default' => 'post,page',
161
+ 'title' => __( 'Generate for post types', 'apt' ),
162
+ 'hint' => __( "What types of posts to generate images for", 'apt' ),
163
+ ];
164
+
165
  $options[] = [
166
  'type' => 'checkbox',
167
  'way' => 'buttons',
171
  'hint' => __( 'Delete settings when removing the plugin', 'apt' )
172
  ];
173
 
174
+ /* ------------------ IMPORT SETTINGS -----------------------*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  $options[] = [
176
  'type' => 'html',
177
+ 'html' => $this->group_header( __( 'Import', 'apt' ), __( 'Images import settings', 'apt' ) ),
 
 
 
 
178
  ];
179
 
180
  $options[] = [
191
  'type' => 'list',
192
  'way' => 'checklist',
193
  'name' => 'import_post_types',
194
+ 'data' => $this->post_types,
195
  'default' => '',
196
  'title' => __( 'Import for post types', 'apt' ) . $pro,
197
  'hint' => __( "What types of posts to import images for", 'apt' ),
199
  'htmlAttrs' => ( ! $is_premium ) ? [ 'disabled' => 'disabled' ] : [],
200
  ];
201
 
202
+ /* ------------------ API SETTINGS -----------------------*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  $options[] = [
204
  'type' => 'html',
205
+ 'html' => $this->group_header( __( 'Google API', 'apt' ), __( 'Settings connecting to the Google API service', 'apt' ) ),
206
  ];
207
 
208
  /* GOOGLE */
209
  $options[] = [
210
  'type' => 'html',
211
+ 'html' => $this->instruction( __( 'Google API', 'apt' ), '<a href="https://www.youtube.com/watch?v=Bxy8Yqp5XX0" target="_blank" rel="noopener">' . __( 'How to get google api key & custom search engine id', 'apt' ) . '</a>' ),
 
 
 
 
212
  ];
213
 
214
  $options[] = [
215
  'type' => 'hidden',
216
  'name' => 'ajax_nonce',
217
+ 'value' => ''//wp_create_nonce( 'check-api-key' )
218
  ];
219
 
220
  // Текстовое поле
236
 
237
  $options = apply_filters( 'wapt/settings/form_options', $options );
238
 
239
+ $form_options[] = [
240
+ 'type' => 'form-group',
241
+ 'items' => $options,
242
+ //'cssClass' => 'postbox'
243
  ];
244
 
245
+ return $form_options;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  }
247
  }
admin/views/tab-generate.php ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @var array $data
4
+ */
5
+
6
+ $stats = $data['stats'] ?? [];
7
+ $log = $data['log'] ?? [];
8
+ ?>
9
+
10
+ <div class="wrap" id="wapt-generate-page">
11
+ <div class="factory-bootstrap-449 factory-fontawesome-000">
12
+ <div class="row wapt-statistic-row">
13
+ <div class="wapt-generate-statistic">
14
+ <div class="wapt-chart-container">
15
+ <canvas id="wapt-main-chart" width="180" height="180"
16
+ data-no_featured_image="<?php echo esc_attr( $stats['no_featured_image'] ); ?>"
17
+ data-w_featured_image="<?php echo esc_attr( $stats['w_featured_image'] ); ?>"
18
+ data-errors="<?php echo esc_attr( $stats['error'] ); ?>"
19
+ style="display: block;">
20
+ </canvas>
21
+ <div id="wapt-overview-chart-percent"
22
+ class="wapt-chart-percent"><?php echo trim( esc_attr( $stats['featured_image_percent'] ) ); ?>
23
+ <span>%</span>
24
+ </div>
25
+ <p class="wapt-global-phrase">
26
+ <span class="wapt-total-percent"><?php echo esc_attr( $stats['featured_image_percent'] ); ?>%</span>
27
+ <?php _e( 'of your posts have a featured image', 'apt' ); ?>
28
+ </p>
29
+ </div>
30
+ <div class="wapt-fillters-form">
31
+ <div class="wapt-row0">
32
+ <div class="row">
33
+ <div id="wapt-overview-chart-legend">
34
+ <ul class="wapt-doughnut-legend">
35
+ <li>
36
+ <span style="background-color:#d6d6d6"></span>
37
+ <?php echo __( 'Without featured image', 'apt' ); ?> -
38
+ <span class="wapt-num" id="wapt-unset-num"><?php echo $stats['no_featured_image']; ?></span>
39
+ </li>
40
+ <li>
41
+ <span style="background-color:#8bc34a"></span>
42
+ <?php echo __( 'With featured image', 'apt' ); ?> -
43
+ <span class="wapt-num" id="wapt-generated-num"><?php echo $stats['w_featured_image']; ?></span>
44
+ </li>
45
+ </ul>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ <div class="wapt-row1">
50
+ <?php
51
+ if ( \WAPT_Plugin::app()->is_premium() ) {
52
+ do_action( 'wapt/filter_form_print' );
53
+ } else {
54
+ $stati = get_post_stati( array(
55
+ '_builtin' => true,
56
+ "show_in_admin_status_list" => true
57
+ ), 'objects' );
58
+
59
+ $post_types = get_post_types( array(
60
+ 'public' => true,
61
+ 'publicly_queryable' => 1
62
+ ), 'objects', 'or' );
63
+ unset( $post_types['attachment'] ); // удалим attachment
64
+
65
+ $categories = get_categories( array(
66
+ 'taxonomy' => 'category',
67
+ 'type' => 'post',
68
+ 'orderby' => 'name',
69
+ 'order' => 'ASC',
70
+ ) );
71
+ ?>
72
+ <div class="row wapt-filter-row">
73
+ <div class="col-md-2">
74
+ <label for="filter_posttype"
75
+ class="apt-filter-label"><?php esc_html_e( 'Post type', 'apt' ) ?></label>
76
+ </div>
77
+ <div class="col-md-10">
78
+ <select name="filter_posttype" id="filter_posttype" class="apt-filter-input">
79
+ <option value="post"><?= __( 'Posts', 'apt' ); ?></option>
80
+ <option value="page"><?= __( 'Pages', 'apt' ); ?></option>
81
+ </select>
82
+ </div>
83
+ </div>
84
+
85
+ <div class="row wapt-filter-row wapt-pro-row">
86
+ <div class="col-md-2">
87
+ <label for="filter_poststatus"
88
+ class="apt-filter-label"><?php esc_html_e( 'Post status', 'aptp' ) ?></label>
89
+ </div>
90
+ <div class="col-md-10">
91
+ <select name="filter_poststatus" id="filter_poststatus" class="apt-filter-input"
92
+ tabindex="-1">
93
+ <option value="">&nbsp;</option>
94
+ <?php
95
+ foreach ( $stati as $status ) {
96
+ echo '<option value="' . $status->name . '">' . $status->label . '</option>';
97
+ }
98
+ ?>
99
+ </select><span>&nbsp;</span>
100
+ </div>
101
+ </div>
102
+
103
+ <div class="row wapt-filter-row wapt-pro-row">
104
+ <div class="col-md-2">
105
+ <label for="filter_postcategory"
106
+ class="apt-filter-label"><?php esc_html_e( 'Post category', 'aptp' ) ?></label>
107
+ </div>
108
+ <div class="col-md-10">
109
+ <select name="filter_postcategory" id="filter_postcategory" class="apt-filter-input"
110
+ tabindex="-1">
111
+ <option value="">&nbsp;</option>
112
+ <?php
113
+ foreach ( $categories as $cat ) {
114
+ echo '<option value="' . $cat->term_id . '">' . $cat->name . ' (' . $cat->count . ')</option>';
115
+ }
116
+ ?>
117
+ </select><span>&nbsp;</span>
118
+ </div>
119
+ </div>
120
+
121
+ <div class="row wapt-filter-row wapt-pro-row">
122
+ <div class="col-md-2">
123
+ <label for="filter_startdate"
124
+ class="apt-filter-label"><?php esc_html_e( 'Date from', 'aptp' ) ?></label>
125
+ </div>
126
+ <div class="col-md-10">
127
+ <input type="text" name="filter_startdate" id="filter_startdate"
128
+ class="apt-filter-input datepicker" tabindex="-1"><span>&nbsp;</span>
129
+ <label for="filter_enddate"
130
+ class="apt-filter-label"><?php esc_html_e( 'to', 'aptp' ) ?></label>
131
+ <input type="text" name="filter_enddate" id="filter_enddate"
132
+ class="apt-filter-input datepicker" tabindex="-1"><span>&nbsp;</span>
133
+ </div>
134
+ </div>
135
+ <?php } ?>
136
+ </div>
137
+ <div class="wapt-row2">
138
+ <div class="row wapt-filter-row">
139
+ <div class="wapt-statistic-buttons-wrap">
140
+ <div>
141
+ <button class="hide-if-no-js wapt-generate-button"
142
+ name="generate-post-thumbnails"
143
+ id="generate-post-thumbnails">
144
+ <?php esc_attr_e( 'Generate Featured images', 'apt' ) ?>
145
+ </button>&nbsp;
146
+ <button class="hide-if-no-js wapt-unset-button"
147
+ name="delete-post-thumbnails"
148
+ id="delete-post-thumbnails">
149
+ <?php esc_attr_e( 'Delete Featured images', 'apt' ) ?>
150
+ </button>
151
+ </div>
152
+
153
+ </div>
154
+ </div>
155
+ </div>
156
+
157
+ </div>
158
+ </div>
159
+ <div id="genpostthumbsbar" class="wapt-genpostthumbsbar"
160
+ style="position:relative;height:40px;display: none;">
161
+ <div id="genpostthumbsbar-percent"
162
+ style="position:absolute;left:50%;top:50%;margin-left:-25px;height:25px;margin-top:-9px;font-weight:bold;text-align:center;"></div>
163
+ </div>
164
+ <div class="wapt-statistic-message">
165
+ <p><?php _e( 'Note: Thumbnails won\'t be generated for posts that already have post thumbnail or <strong><em>skip_post_thumb</em></strong> custom meta field.', 'apt' ) ?></p>
166
+ </div>
167
+ </div>
168
+ <div class="row wapt-generation-progress">
169
+ <div class="wbcr-factory-page-group-header" style="margin-bottom:0;">
170
+ <strong><?php echo __( 'Generation log', 'apt' ); ?></strong>
171
+ <p><?php echo __( 'Generation log shows the last 100 generated images.', 'apt' ); ?></p>
172
+ </div>
173
+ <div class="wapt-table-container">
174
+ <table class="wapt-table">
175
+ <thead>
176
+ <tr>
177
+ <th class="wapt-image-td"></th>
178
+ <th class="wapt-title-td"><?php echo __( 'Post title', 'apt' ); ?></th>
179
+ <th><?php echo __( 'Image size', 'apt' ); ?></th>
180
+ <th><?php echo __( 'Generation type', 'apt' ); ?></th>
181
+ <th><?php echo __( 'Status', 'apt' ); ?></th>
182
+ </tr>
183
+ </thead>
184
+ <tbody>
185
+ <?php foreach ( $log as $item ):
186
+ if ( $item['error_msg'] ):?>
187
+ <tr class="flash wapt-table-item wapt-row-id-<?= $item['post_id']; ?> wapt-error">
188
+ <td class="wapt-image-td"></td>
189
+ <td class="wapt-title-td">
190
+ <a href="<?= $item['url']; ?>" target="_blank"><?= $item['title']; ?></a>
191
+ </td>
192
+ <td></td>
193
+ <td><?= $item['type']; ?></td>
194
+ <td><?= $item['error_msg']; ?></td>
195
+ </tr>
196
+ <?php else: ?>
197
+ <tr class="flash wapt-table-item wapt-row-id-<?= $item['post_id']; ?>">
198
+ <td class="wapt-image-td">
199
+ <img height="50" src="<?= $item['thumbnail_url']; ?>" alt="<?= $item['title']; ?>">
200
+ </td>
201
+ <td class="wapt-title-td">
202
+ <a href="<?= $item['url']; ?>" target="_blank">
203
+ <?= $item['title']; ?></a>
204
+ </td>
205
+ <td><?= $item['image_size']; ?></td>
206
+ <td><?= $item['type']; ?></td>
207
+ <td><?= $item['status']; ?></td>
208
+ </tr>
209
+ <?php endif; ?>
210
+ <?php endforeach; ?>
211
+ </tbody>
212
+ </table>
213
+ </div>
214
+ </div>
215
+ </div>
216
+ </div>
admin/views/tab-license.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="wrap">
2
- <div class="factory-bootstrap-445 factory-fontawesome-000">
3
  <?php wp_nonce_field( 'license' ); ?>
4
  <div id="wapt-license-wrapper"
5
  data-loader="<?php echo WAPT_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
@@ -115,19 +115,19 @@
115
  <div class="license-input">
116
  <form action="" method="post">
117
  <?php if ( $this->is_premium ): ?>
118
- <p><?php _e( 'Have a key to activate the premium version? Paste it here:', 'apt' ) ?><p>
119
- <?php else: ?>
120
  <p><?php _e( 'Have a key to activate the plugin? Paste it here:', 'apt' ) ?>
121
  <p>
122
  <?php endif; ?>
 
 
 
123
  <button data-action="activate" class="btn btn-default wapt-control-btn"
124
  type="button"
125
  id="license-submit">
126
- <?php _e( 'Submit Key', 'apt' ) ?>
127
  </button>
128
- <div class="license-key-wrap">
129
- <input type="text" id="license-key" name="licensekey" value=""
130
- class="form-control"/>
131
  </div>
132
  <?php if ( $this->is_premium ): ?>
133
  <p style="margin-top: 10px;">
1
  <div class="wrap">
2
+ <div class="factory-bootstrap-449 factory-fontawesome-000">
3
  <?php wp_nonce_field( 'license' ); ?>
4
  <div id="wapt-license-wrapper"
5
  data-loader="<?php echo WAPT_PLUGIN_URL . '/admin/assets/img/loader.gif'; ?>"
115
  <div class="license-input">
116
  <form action="" method="post">
117
  <?php if ( $this->is_premium ): ?>
118
+ <p><?php _e( 'Have a key to activate the premium version? Paste it here:', 'apt' ) ?><p>
119
+ <?php else: ?>
120
  <p><?php _e( 'Have a key to activate the plugin? Paste it here:', 'apt' ) ?>
121
  <p>
122
  <?php endif; ?>
123
+ <div class="license-key-wrap">
124
+ <input type="text" id="license-key" name="licensekey" value=""
125
+ class="form-control"/>
126
  <button data-action="activate" class="btn btn-default wapt-control-btn"
127
  type="button"
128
  id="license-submit">
129
+ <?php _e( 'Submit Key', 'apt' ) ?>
130
  </button>
 
 
 
131
  </div>
132
  <?php if ( $this->is_premium ): ?>
133
  <p style="margin-top: 10px;">
admin/views/tab-main.php DELETED
@@ -1,302 +0,0 @@
1
- <div class="wrap">
2
- <h2><?php esc_html_e( 'Generate Featured images for posts', 'apt' ) ?></h2>
3
- <div class="factory-bootstrap-445 factory-fontawesome-000">
4
- <div class="row">
5
- <div class="col-md-9">
6
-
7
- <div class="row wrap apt-filter-row">
8
- <?php
9
- if ( \WAPT_Plugin::app()->is_premium() ) {
10
- do_action( 'wapt/filter_form_print' );
11
- } else {
12
- $stati = get_post_stati( array(
13
- '_builtin' => true,
14
- "show_in_admin_status_list" => true
15
- ), 'objects' );
16
-
17
- $post_types = get_post_types( array(
18
- 'public' => true,
19
- 'publicly_queryable' => 1
20
- ), 'objects', 'or' );
21
- unset( $post_types['attachment'] ); // удалим attachment
22
-
23
- $categories = get_categories( array(
24
- 'taxonomy' => 'category',
25
- 'type' => 'post',
26
- 'orderby' => 'name',
27
- 'order' => 'ASC',
28
- ) );
29
- ?>
30
- <div class="row">
31
- <div class="col-md-2">
32
- <label for="filter_posttype"
33
- class="apt-filter-label"><?php esc_html_e( 'Post type', 'aptp' ) ?></label>
34
- </div>
35
- <div class="col-md-10">
36
- <select name="filter_posttype" id="filter_posttype" class="apt-filter-input">
37
- <option value="post"><?= __( 'Posts', 'apt' ); ?></option>
38
- <option value="page"><?= __( 'Pages', 'apt' ); ?></option>
39
- </select>
40
- </div>
41
- </div>
42
-
43
- <div class="col-md-12">&nbsp;</div>
44
-
45
- <div class="row wapt-pro-row">
46
- <div class="col-md-2">
47
- <label for="filter_poststatus"
48
- class="apt-filter-label"><?php esc_html_e( 'Post status', 'aptp' ) ?></label>
49
- </div>
50
- <div class="col-md-10">
51
- <select name="filter_poststatus" id="filter_poststatus" class="apt-filter-input"
52
- tabindex="-1">
53
- <option value="">&nbsp;</option>
54
- <?php
55
- foreach ( $stati as $status ) {
56
- echo '<option value="' . $status->name . '">' . $status->label . '</option>';
57
- }
58
- ?>
59
- </select><span>&nbsp;</span>
60
- </div>
61
- </div>
62
-
63
- <div class="col-md-12">&nbsp;</div>
64
-
65
- <div class="row wapt-pro-row">
66
- <div class="col-md-2">
67
- <label for="filter_postcategory"
68
- class="apt-filter-label"><?php esc_html_e( 'Post category', 'aptp' ) ?></label>
69
- </div>
70
- <div class="col-md-10">
71
- <select name="filter_postcategory" id="filter_postcategory" class="apt-filter-input"
72
- tabindex="-1">
73
- <option value="">&nbsp;</option>
74
- <?php
75
- foreach ( $categories as $cat ) {
76
- echo '<option value="' . $cat->term_id . '">' . $cat->name . ' (' . $cat->count . ')</option>';
77
- }
78
- ?>
79
- </select><span>&nbsp;</span>
80
- </div>
81
- </div>
82
-
83
- <div class="col-md-12">&nbsp;</div>
84
-
85
- <div class="row wapt-pro-row">
86
- <div class="col-md-2">
87
- <label for="filter_startdate"
88
- class="apt-filter-label"><?php esc_html_e( 'Date from', 'aptp' ) ?></label>
89
- </div>
90
- <div class="col-md-10">
91
- <input type="text" name="filter_startdate" id="filter_startdate"
92
- class="apt-filter-input datepicker" tabindex="-1"><span>&nbsp;</span>
93
- <label for="filter_enddate"
94
- class="apt-filter-label"><?php esc_html_e( 'to', 'aptp' ) ?></label>
95
- <input type="text" name="filter_enddate" id="filter_enddate"
96
- class="apt-filter-input datepicker" tabindex="-1"><span>&nbsp;</span>
97
- </div>
98
- </div>
99
- <?php } ?>
100
- <div class="col-md-12">&nbsp;</div>
101
-
102
- <div class="row">
103
- <div class="col-md-12">
104
- <button class="button button-primary button-large hide-if-no-js"
105
- name="generate-post-thumbnails"
106
- id="generate-post-thumbnails">
107
- <?php esc_attr_e( 'Generate Featured images', 'apt' ) ?>
108
- </button>&nbsp;
109
- <button class="button button-danger button-large hide-if-no-js"
110
- name="delete-post-thumbnails"
111
- id="delete-post-thumbnails">
112
- <?php esc_attr_e( 'Delete Featured images', 'apt' ) ?>
113
- </button>
114
- </div>
115
- </div>
116
-
117
- <div class="col-md-12">&nbsp;</div>
118
-
119
- <div class="col-md-12">
120
- <div id="genpostthumbsbar" style="position:relative;height:40px;display: none;">
121
- <div id="genpostthumbsbar-percent"
122
- style="position:absolute;left:50%;top:50%;margin-left:-25px;height:25px;margin-top:-9px;font-weight:bold;text-align:center;"></div>
123
- </div>
124
- </div>
125
- </div>
126
- <div class="wrap genpostthumbs">
127
- <p>
128
- <div id="message" class="updated fade" style="display:none"></div>
129
- </p>
130
- <p><?php _e( 'Note: Thumbnails won\'t be generated for posts that already have post thumbnail or <strong><em>skip_post_thumb</em></strong> custom meta field.', 'apt' ) ?></p>
131
- <noscript><p>
132
- <em><?php esc_html_e( 'You must enable Javascript in order to proceed!', 'apt' ) ?></em>
133
- </p>
134
- </noscript>
135
- <!-- esc_html_e( 'We are generating post thumbnails. Please be patient!', 'apt' ); -->
136
- <script type="text/javascript">
137
- // <![CDATA[
138
- jQuery(document).ready(function ($) {
139
- jQuery('#generate-post-thumbnails').on('click', function (event) {
140
- rt_images = [];
141
-
142
- $("#generate-post-thumbnails").attr('disabled', '');
143
- $("#delete-post-thumbnails").attr('disabled', '');
144
- $("#message").hide();
145
- $("#genpostthumbsbar").show();
146
- $("#genpostthumbsbar").progressbar();
147
- $("#genpostthumbsbar-percent").html("1%");
148
-
149
- $.post("admin-ajax.php", {
150
- action: "get-posts-ids",
151
- withThumb: 0,
152
- <?php
153
- if(\WAPT_Plugin::app()->is_premium()) { ?>
154
- poststatus: $("#filter_poststatus").val(),
155
- posttype: $("#filter_posttype").val(),
156
- date_start: $("#filter_startdate").val(),
157
- date_end: $("#filter_enddate").val(),
158
- category: $("#filter_postcategory").val(),
159
- <?php } ?>
160
- _ajax_nonce: '<?php echo wp_create_nonce( 'get-posts' ); ?>'
161
- }, function (ids) {
162
- if (ids === '' || ids == 0) {
163
- setTimeout(function () {
164
- $("#genpostthumbsbar").hide();
165
- $("#genpostthumbsbar").progressbar("value", 0);
166
- $("#generate-post-thumbnails").removeAttr('disabled');
167
- $("#delete-post-thumbnails").removeAttr('disabled');
168
- $("#message").html("<p><strong><?php echo esc_html__( 'Processed posts:', 'apt' ); ?> 0</strong></p>");
169
- $("#message").show();
170
- }, 500);
171
- return;
172
- }
173
-
174
- rt_images = JSON.parse("[" + ids + "]");
175
-
176
- var rt_total = rt_images.length;
177
- var rt_count = 1;
178
- var rt_percent = 0;
179
- var posted_count = 0;
180
-
181
- function genPostThumb(id) {
182
- $.post("admin-ajax.php", {
183
- action: "generatepostthumbnail",
184
- id: id,
185
- _ajax_nonce: '<?php echo wp_create_nonce( 'generate-post-thumbnails' ); ?>'
186
- }, function (posted) {
187
- if (Number(posted) !== 0) {
188
- posted_count++;
189
- }
190
- rt_percent = (rt_count / rt_total) * 100;
191
- $("#genpostthumbsbar").progressbar("value", rt_percent);
192
- $("#genpostthumbsbar-percent").html(Math.round(rt_percent) + "% (" + rt_count + "/" + rt_total + ")");
193
- rt_count = rt_count + 1;
194
-
195
- if (rt_images.length) {
196
- genPostThumb(rt_images.shift());
197
- } else {
198
- setTimeout(function () {
199
- $("#genpostthumbsbar").hide();
200
- $("#genpostthumbsbar").progressbar("value", 0);
201
- $("#generate-post-thumbnails").removeAttr('disabled');
202
- $("#delete-post-thumbnails").removeAttr('disabled');
203
- $("#message").html("<p><strong><?php echo esc_html__( 'All done! Processed posts:', 'apt' ); ?> " + rt_total + "<br><?php echo esc_html__( 'Set featured image in posts:', 'apt' ); ?> " + posted_count + "</strong></p>");
204
- $("#message").show();
205
- }, 500);
206
- }
207
- });
208
- }
209
-
210
- genPostThumb(rt_images.shift());
211
- });
212
- });
213
- //delete thumbnails
214
- jQuery('#delete-post-thumbnails').on('click', function (event) {
215
- if (!confirm('Are sure to delete thumbnails from posts?'))
216
- return;
217
-
218
- rt_images = [];
219
-
220
- $("#generate-post-thumbnails").hide();
221
- $("#delete-post-thumbnails").hide();
222
- $("#genpostthumbsbar").show();
223
- $("#genpostthumbsbar").progressbar();
224
- $("#genpostthumbsbar-percent").html("1%");
225
-
226
- $.post("admin-ajax.php", {
227
- action: "get-posts-ids",
228
- withThumb: 1,
229
- <?php
230
- if(\WAPT_Plugin::app()->is_premium()) { ?>
231
- poststatus: $("#filter_poststatus").val(),
232
- posttype: $("#filter_posttype").val(),
233
- date_start: $("#filter_startdate").val(),
234
- date_end: $("#filter_enddate").val(),
235
- category: $("#filter_postcategory").val(),
236
- <?php } ?>
237
- _ajax_nonce: '<?php echo wp_create_nonce( 'get-posts' ); ?>'
238
- }, function (ids) {
239
- rt_images = JSON.parse("[" + ids + "]");
240
-
241
- var rt_total = rt_images.length;
242
- var rt_count = 1;
243
- var rt_percent = 0;
244
- var posted_count = 0;
245
-
246
- function delPostThumb(id) {
247
- $.post("admin-ajax.php", {
248
- action: "delete_post_thumbnails",
249
- id: id,
250
- _ajax_nonce: '<?php echo wp_create_nonce( 'delete-post-thumbnails' ); ?>'
251
- }, function (posted) {
252
- if (Boolean(posted)) {
253
- posted_count++;
254
- }
255
- rt_percent = (rt_count / rt_total) * 100;
256
- $("#genpostthumbsbar").progressbar("value", rt_percent);
257
- $("#genpostthumbsbar-percent").html(Math.round(rt_percent) + "%");
258
- rt_count = rt_count + 1;
259
-
260
- if (rt_images.length) {
261
- delPostThumb(rt_images.shift());
262
- } else {
263
- $("#genpostthumbsbar").hide();
264
- $("#generate-post-thumbnails").removeAttr('disabled');
265
- $("#delete-post-thumbnails").removeAttr('disabled');
266
- $("#message").html("<p><strong><?php echo esc_html__( 'All done! Processed posts:', 'apt' ); ?> " + rt_total + "<br><?php echo esc_html__( 'Delete featured image in posts:', 'apt' ); ?> " + posted_count + "</strong></p>");
267
- $("#message").show();
268
- }
269
- });
270
- }
271
-
272
- delPostThumb(rt_images.shift());
273
- });
274
- });
275
- });
276
- // ]]>
277
- </script>
278
- </div>
279
- </div>
280
- <div class="col-md-3">
281
- <div style="padding:20px">
282
- <?php WAPT_Plugin::app()->get_adverts_manager()->render_placement( 'right_sidebar' ); ?>
283
- </div>
284
- <div id="wbcr-clr-support-widget" class="wbcr-factory-sidebar-widget">
285
- <p><strong>Having Issues?</strong></p>
286
- <div class="wbcr-clr-support-widget-body">
287
- <p>
288
- We provide free support for this plugin. If you are pushed with a problem, just create a new
289
- ticket.
290
- We will definitely help you! </p>
291
- <ul>
292
- <li><span class="dashicons dashicons-sos"></span>
293
- <a href="https://forum.webcraftic.com" target="_blank" rel="noopener">Get starting free
294
- support</a>
295
- </li>
296
- </ul>
297
- </div>
298
- </div>
299
- </div>
300
- </div>
301
- </div>
302
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/tab-settings.php DELETED
@@ -1,156 +0,0 @@
1
- <?php
2
- use WBCR\APT\AutoPostThumbnails;
3
- global $form;
4
-
5
- $current_url = admin_url( 'admin.php?page=wapt_settings-' . WAPT_Plugin::app()->getPluginName() );
6
- $current_tab = 'general';
7
- $TABS = array(
8
- 'general' => array(
9
- 'current' => false,
10
- 'caption' => __( 'General', 'apt' ),
11
- 'icon' => 'icon-general',
12
- 'url' => $current_url . "&apt_tab=general",
13
- ),
14
- 'import' => array(
15
- 'current' => false,
16
- 'caption' => __( 'Import images', 'apt' ),
17
- 'icon' => 'icon-import',
18
- 'url' => $current_url . "&apt_tab=import",
19
- ),
20
- 'img_generation' => array(
21
- 'current' => false,
22
- 'caption' => __( 'Image generation', 'apt' ),
23
- 'icon' => 'icon-image',
24
- 'url' => $current_url . "&apt_tab=img_generation",
25
- ),
26
- 'api' => array(
27
- 'current' => false,
28
- 'caption' => __( 'API', 'apt' ),
29
- 'icon' => 'icon-api',
30
- 'url' => $current_url . "&apt_tab=api",
31
- ),
32
- );
33
- if ( isset( $_GET['apt_tab'] ) && ! empty( $_GET['apt_tab'] ) ) {
34
- $current_tab = htmlspecialchars( $_GET['apt_tab'] );
35
- $current_url .= "&apt_tab={$current_tab}";
36
- $TABS[ $current_tab ]['current'] = true;
37
- } else {
38
- $current_tab = 'general';
39
- $current_url .= "&apt_tab={$current_tab}";
40
- $TABS[ $current_tab ]['current'] = true;
41
- }
42
- ?>
43
- <div class="wapt-container">
44
- <div class="wapt-page-title">
45
- <h1><?php _e( 'Settings of', 'apt' ) ?>&nbsp;<?php echo WAPT_Plugin::app()->getPluginTitle() . " " . WAPT_Plugin::app()->getPluginVersion(); ?></h1>
46
- </div>
47
- <div id="tabs" class="tabs">
48
- <nav>
49
- <ul>
50
- <?php
51
- foreach ( $TABS as $key => $tab ) {
52
- if ( $tab['current'] ) {
53
- echo "<li class='tab-current'>";
54
- } else {
55
- echo "<li>";
56
- }
57
- echo "<a href='{$tab['url']}' class='{$tab['icon']}'><span>{$tab['caption']}</span></a>";
58
- echo "</li>";
59
- }
60
- ?>
61
- </ul>
62
- </nav>
63
- <div class="content">
64
- <section id="section-<?php echo $current_tab; ?>">
65
- <div class="wrap">
66
- <div class="factory-bootstrap-445 factory-fontawesome-000">
67
- <div class="row">
68
- <div class="col-md-8">
69
- <form method="post" class="form-horizontal">
70
- <?php if ( ! empty( $wbcr_saved ) ) { ?>
71
- <div id="message" class="alert alert-success">
72
- <p><?php _e( 'The settings have been updated successfully!', 'insert-php' ) ?></p>
73
- </div>
74
- <?php } ?>
75
- <div>
76
- <?php $form->html(); ?>
77
- </div>
78
- <div class="form-group form-horizontal">
79
-
80
- <div class="control-group controls col-sm-10">
81
- <?php wp_nonce_field( $this->plugin->getPrefix() . 'settings_form', $this->plugin->getPrefix() . 'nonce' ); ?>
82
- <input name="<?php echo $this->plugin->getPrefix() . 'saved' ?>"
83
- class="btn btn-primary" type="submit"
84
- value="<?php _e( 'Save settings', 'insert-php' ) ?>"/>
85
- </div>
86
- </div>
87
- </form>
88
- </div>
89
- <div class="col-md-4">
90
- <?php if ( $current_tab == 'img_generation' ) { ?>
91
- <div id="wapt-image-preview" class="wapt-image-preview">
92
- <div class="wapt-image-preview-title"><h3>Post thumbnail preview</h3></div>
93
- <?php
94
- $format = WAPT_Plugin::app()->getOption( "image-type", "jpg" );
95
- switch ( $format ) {
96
- case 'png':
97
- $format = 'png';
98
- break;
99
- case 'jpg':
100
- case 'jpeg':
101
- default:
102
- $format = 'jpg';
103
- break;
104
- }
105
-
106
- $posts = get_posts( array( 'numberposts' => 0, ) );
107
- $id = rand( 0, count( $posts ) - 1 );
108
- if ( count( $posts ) !== 0 ) {
109
- $txt = $posts[ $id ]->post_title;
110
- } else {
111
- $txt = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas aliquet turpis quis ex elementum malesuada';
112
- }
113
-
114
- $image = apply_filters( 'wapt/generate/image', AutoPostThumbnails::generate_image_with_text( $txt ), $txt );
115
-
116
- $image->save( WAPT_PLUGIN_DIR . "/preview.{$format}", 100, $format );
117
- ?>
118
- <img src="<?php echo WAPT_PLUGIN_URL . "/preview.{$format}?" . time(); ?>"
119
- width="100%" alt="">
120
- </div>
121
- <?php } ?>
122
-
123
- <?php if ( ! WAPT_Plugin::app()->is_premium() ) { ?>
124
- <div id="wapt-dashboard-widget" class="wapt-right-widget">
125
- <div style="padding:20px">
126
- <?php WAPT_Plugin::app()->get_adverts_manager()->render_placement( 'right_sidebar' ); ?>
127
- </div>
128
- </div>
129
- <?php } ?>
130
- </div>
131
- </div>
132
- </div>
133
- </div>
134
- </section>
135
- </div><!-- /content -->
136
- </div><!-- /tabs -->
137
- <div class="row wapt-footer">
138
- <div class="col-md-6">
139
- <div id="wbcr-clr-support-widget" class="wbcr-factory-sidebar-widget">
140
- <p><strong>Having Issues?</strong></p>
141
- <div class="wbcr-clr-support-widget-body">
142
- <p>
143
- We provide free support for this plugin. If you are pushed with a problem, just create a new
144
- ticket. We will definitely help you! </p>
145
- <ul>
146
- <li><span class="dashicons dashicons-sos"></span>
147
- <a href="https://forum.webcraftic.com" target="_blank" rel="noopener">Get starting free
148
- support</a>
149
- </li>
150
- </ul>
151
- </div>
152
- </div>
153
- </div>
154
- </div>
155
-
156
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
auto-post-thumbnail.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Auto Featured Image (Auto Post Thumbnail)
4
  Plugin URI: https://cm-wp.com/apt
5
  Description: Automatically generate the Featured Image from the first image in post or any custom post type only if Featured Image is not set manually. Featured Image Generation From Title. Native image search for Elementor, Gutenberg, Classic Editor.
6
- Version: 3.8.1
7
  Author: Creative Motion <support@cm-wp.com>
8
  Author URI: https://cm-wp.com
9
  Text Domain: apt
@@ -47,7 +47,7 @@ $plugin_info = array(
47
  'pages_map' => array(
48
  'features' => 'features',
49
  'pricing' => 'pricing',
50
- 'support' => '',
51
  'docs' => 'docs',
52
  )
53
  ),
@@ -89,16 +89,18 @@ $plugin_info = array(
89
  ),
90
 
91
  'load_factory_modules' => array(
92
- array( 'libs/factory/bootstrap', 'factory_bootstrap_445', 'admin' ),
93
- array( 'libs/factory/forms', 'factory_forms_442', 'admin' ),
94
- array( 'libs/factory/pages', 'factory_pages_444', 'admin' ),
95
- array( 'libs/factory/freemius', 'factory_freemius_133', 'all' ),
96
- array( 'libs/factory/adverts', 'factory_adverts_123', 'admin' ),
97
- array( 'libs/factory/feedback', 'factory_feedback_109', 'admin' ),
 
 
98
  )
99
  );
100
 
101
- $wapt_compatibility = new Wbcr_Factory445_Requirements( __FILE__, array_merge( $plugin_info, array(
102
  'plugin_already_activate' => defined( 'WAPT_PLUGIN_ACTIVE' ),
103
  'required_php_version' => '7.0',
104
  'required_wp_version' => '4.8.0',
@@ -136,7 +138,7 @@ require_once( WAPT_PLUGIN_DIR . '/libs/factory/core/boot.php' );
136
 
137
  require_once( WAPT_PLUGIN_DIR . '/includes/class-apt.php' );
138
  require_once( WAPT_PLUGIN_DIR . '/includes/class-post-images.php' );
139
- require_once( WAPT_PLUGIN_DIR . '/includes/class-wapt-plugin.php' );
140
  require_once( WAPT_PLUGIN_DIR . '/includes/class-wapt-image.php' );
141
 
142
  require_once( WAPT_PLUGIN_DIR . '/includes/image-search/boot.php' );
3
  Plugin Name: Auto Featured Image (Auto Post Thumbnail)
4
  Plugin URI: https://cm-wp.com/apt
5
  Description: Automatically generate the Featured Image from the first image in post or any custom post type only if Featured Image is not set manually. Featured Image Generation From Title. Native image search for Elementor, Gutenberg, Classic Editor.
6
+ Version: 3.9.0
7
  Author: Creative Motion <support@cm-wp.com>
8
  Author URI: https://cm-wp.com
9
  Text Domain: apt
47
  'pages_map' => array(
48
  'features' => 'features',
49
  'pricing' => 'pricing',
50
+ 'support' => 'support',
51
  'docs' => 'docs',
52
  )
53
  ),
89
  ),
90
 
91
  'load_factory_modules' => array(
92
+ array( 'libs/factory/bootstrap', 'factory_bootstrap_449', 'admin' ),
93
+ array( 'libs/factory/forms', 'factory_forms_446', 'admin' ),
94
+ array( 'libs/factory/pages', 'factory_pages_448', 'admin' ),
95
+ array( 'libs/factory/templates', 'factory_templates_101', 'admin' ),
96
+ array( 'libs/factory/freemius', 'factory_freemius_137', 'all' ),
97
+ array( 'libs/factory/adverts', 'factory_adverts_127', 'admin' ),
98
+ array( 'libs/factory/feedback', 'factory_feedback_111', 'admin' ),
99
+ array( 'libs/factory/logger', 'factory_logger_114', 'all' ),
100
  )
101
  );
102
 
103
+ $wapt_compatibility = new Wbcr_Factory449_Requirements( __FILE__, array_merge( $plugin_info, array(
104
  'plugin_already_activate' => defined( 'WAPT_PLUGIN_ACTIVE' ),
105
  'required_php_version' => '7.0',
106
  'required_wp_version' => '4.8.0',
138
 
139
  require_once( WAPT_PLUGIN_DIR . '/includes/class-apt.php' );
140
  require_once( WAPT_PLUGIN_DIR . '/includes/class-post-images.php' );
141
+ require_once( WAPT_PLUGIN_DIR . '/includes/class-plugin.php' );
142
  require_once( WAPT_PLUGIN_DIR . '/includes/class-wapt-image.php' );
143
 
144
  require_once( WAPT_PLUGIN_DIR . '/includes/image-search/boot.php' );
includes/class-apt.php CHANGED
@@ -17,6 +17,11 @@ class AutoPostThumbnails {
17
  */
18
  public static $instance;
19
 
 
 
 
 
 
20
  /**
21
  * После какой по счёту колонки вставлять новую (если 0, то в самом начале)
22
  *
@@ -43,11 +48,14 @@ class AutoPostThumbnails {
43
  */
44
  public $is_in_medialibrary = false;
45
 
 
 
46
  /**
47
  * AutoPostThumbnails constructor.
48
  */
49
  public function __construct() {
50
  $this->numberOfColumn = 4;
 
51
 
52
  $this->sources = [
53
  'google' => WAPT_PLUGIN_SLUG,
@@ -92,9 +100,11 @@ class AutoPostThumbnails {
92
  * Initiate all required hooks.
93
  */
94
  private function init() {
95
- $is_auto_generate = \WAPT_Plugin::app()->getOption( 'auto_generation' );
96
- $is_auto_upload = \WAPT_Plugin::app()->getOption( 'auto_upload_images' );
97
- $allowed_post_types = explode( ',', \WAPT_Plugin::app()->getOption( 'import_post_types', 'posts' ) );
 
 
98
 
99
  add_filter( 'mime_types', [ $this, 'allow_upload_webp' ] );
100
 
@@ -102,17 +112,19 @@ class AutoPostThumbnails {
102
  add_filter( 'wp_insert_post_data', [ $this, 'auto_upload' ], 10, 2 );
103
 
104
  // This hook handle update post via rest api. for example Wordpress mobile apps
105
- foreach ( $allowed_post_types as $post_type ) {
106
- add_action( "rest_after_insert_{$post_type}", [ $this, 'auto_upload' ], 10, 1 );
107
  }
108
  }
109
 
110
  if ( $is_auto_generate ) {
111
  //add_action( 'publish_post', [ $this, 'publish_post' ], 10, 1 );
112
  add_action( 'save_post', [ $this, 'publish_post' ], 10, 3 );
 
113
  // This hook handle update post via rest api. for example Wordpress mobile apps
114
- add_action( 'rest_after_insert_post', [ $this, 'rest_after_insert' ], 10, 3 );
115
- add_action( 'rest_after_insert_page', [ $this, 'rest_after_insert' ], 10, 3 );
 
116
  // This hook will now handle all sort publishing including posts, custom types, scheduled posts, etc.
117
  add_action( 'transition_post_status', [ $this, 'check_required_transition' ], 10, 3 );
118
  } else {
@@ -161,6 +173,9 @@ class AutoPostThumbnails {
161
  check_ajax_referer( 'get-posts' );
162
 
163
  $generate = \WAPT_Plugin::app()->getOption( "generate_autoimage", 'find' );
 
 
 
164
  switch ( $generate ) {
165
  case 'generate':
166
  case 'both':
@@ -179,7 +194,7 @@ class AutoPostThumbnails {
179
  $status = $_POST['poststatus'];
180
  $category = $_POST['category'];
181
  $date_start = $_POST['date_start'] ? \DateTime::createFromFormat( 'd.m.Y', $_POST['date_start'] )->format( 'd.m.Y' ) : 0;
182
- $date_end = $_POST['date_end'] ? \DateTime::createFromFormat( 'd.m.Y', $_POST['date_end'] )->format( 'd.m.Y' ) : 0;
183
  // Get id's of the posts that satisfy the filters
184
  $query = $this->get_posts_query( $has_thumb, $type, $status, $category, $date_start, $date_end );
185
  } else {
@@ -191,8 +206,9 @@ class AutoPostThumbnails {
191
  // Generate the list of IDs
192
  $ids = [];
193
  foreach ( $query->posts as $post ) {
 
194
  //если запрошены посты без тамбнеила, значит пользователь хочет сгенерировать их
195
- if ( ! $has_thumb ) {
196
  $images = new \WBCR\APT\PostImages( $post->ID );
197
  if ( ( $images->is_images() && $images->count_images() ) || $auto_generate ) {
198
  $ids[] = $post->ID;
@@ -200,13 +216,17 @@ class AutoPostThumbnails {
200
  } else //иначе он хочет удалить тамбнэйлы
201
  {
202
  $ids[] = $post->ID;
203
- }
204
  }
205
  $ids = implode( ',', $ids );
206
- echo $ids;
207
  } else {
208
- echo "0";
209
  }
 
 
 
 
210
  die( - 1 );
211
  }
212
 
@@ -222,19 +242,25 @@ class AutoPostThumbnails {
222
  check_ajax_referer( 'generate-post-thumbnails' );
223
  if ( isset( $_POST['id'] ) && ! empty( $_POST['id'] ) ) {
224
  $id = intval( $_POST['id'] );
225
-
226
  if ( empty( $id ) ) {
227
- die( '-1' );
228
  }
229
-
230
  set_time_limit( 60 );
231
 
232
- // Pass on the id to our 'publish' callback function.
233
- echo (int) $this->publish_post( $id );
 
234
 
235
- die( - 1 );
 
 
 
 
 
 
236
  }
237
- die( - 1 );
 
238
  }
239
 
240
  /**
@@ -309,7 +335,18 @@ class AutoPostThumbnails {
309
  *
310
  * @return WP_Query
311
  */
312
- public function get_posts_query( $has_thumb = false, $type = 'post', $status = 'publish', $category = 0, $date_start = 0, $date_end = 0 ) {
 
 
 
 
 
 
 
 
 
 
 
313
 
314
  $q_status = $status ? $status : 'any';
315
  $q_type = $type ? $type : 'any';
@@ -328,20 +365,27 @@ class AutoPostThumbnails {
328
  if ( $category ) {
329
  $args['cat'] = $category;
330
  }
331
- if ( $date_start && $date_start ) {
332
  $args['date_query'][] = array( 'after' => $date_start, 'before' => $date_end, 'inclusive' => true, );
333
  }
334
  $query = new WP_Query( $args );
335
 
336
- // $query = "SELECT * FROM {$wpdb->posts} p WHERE {$q_status_type}
337
- // {$q_date} AND (
338
- // p.ID NOT IN (
339
- // SELECT DISTINCT post_id FROM {$wpdb->postmeta} WHERE meta_key IN ('_thumbnail_id', 'skip_post_thumb')
340
- // ) OR {$q_without_thumb} EXISTS (SELECT p2.ID FROM {$wpdb->posts} p2 WHERE p2.ID = (SELECT meta_value FROM {$wpdb->postmeta} WHERE meta_key = '_thumbnail_id' AND post_id = p.ID) AND p2.post_type = 'attachment'))";
341
 
342
  return $query;
343
  }
344
 
 
 
 
 
 
 
 
 
 
 
 
345
  /**
346
  * Get thumbnail id for image
347
  *
@@ -400,30 +444,44 @@ class AutoPostThumbnails {
400
  * @param \WP_Post $post
401
  * @param bool $update
402
  *
403
- * @return int
404
  * @throws Exception
405
  */
406
  public function publish_post( $post_id, $post = null, $update = true ) {
407
  global $wpdb;
408
 
 
 
 
409
  if ( ! $post ) {
410
  $post = get_post( $post_id );
411
  if ( ! $post ) {
412
- return 0;
 
 
413
  }
414
  }
415
 
416
  if ( ! $update ) {
417
- return 0;
 
418
  }
 
 
 
 
 
 
 
419
  // First check whether Post Thumbnail is already set for this post.
420
  $_thumbnail_id = get_post_meta( $post_id, '_thumbnail_id', true );
421
  if ( $_thumbnail_id && $wpdb->get_var( "SELECT ID FROM {$wpdb->posts} WHERE id = '" . esc_sql( $_thumbnail_id ) . "' AND post_type = 'attachment'" ) || get_post_meta( $post_id, 'skip_post_thumb', true ) ) {
422
- return 0;
 
 
423
  }
424
 
425
- $thumb_id = 0;
426
- $autoimage = \WAPT_Plugin::app()->getOption( "generate_autoimage", 'find' );
427
 
428
  $images = new \WBCR\APT\PostImages( $post_id );
429
  if ( ( $images->is_images() && $images->count_images() ) && $autoimage !== 'generate' && $autoimage !== 'google' ) {
@@ -432,7 +490,10 @@ class AutoPostThumbnails {
432
  $thumb_id = $this->get_thumbnail_id( $image );
433
  // If we succeed in generating thumb, let's update post meta
434
  if ( $thumb_id ) {
 
435
  update_post_meta( $post_id, '_thumbnail_id', $thumb_id );
 
 
436
  } else {
437
  if ( \WAPT_Plugin::app()->is_premium() ) {
438
  $thumb_id = apply_filters( 'wapt/generate_post_thumb', $image, $post_id );
@@ -443,7 +504,8 @@ class AutoPostThumbnails {
443
  }
444
  }
445
 
446
- return $thumb_id;
 
447
  }
448
  } else {
449
  // создаём свою картинку с заголовком на цветном фоне
@@ -453,22 +515,25 @@ class AutoPostThumbnails {
453
  if ( $thumb_id ) {
454
  update_post_meta( $post_id, '_thumbnail_id', $thumb_id );
455
 
456
- return $thumb_id;
457
  }
458
  } else if ( $autoimage == 'google' || $autoimage == 'find_google' ) {
459
  $response = ( new GoogleImages() )->search( $post->post_title, 1 );
460
  if ( ! empty( $response->images ) ) {
 
461
  $thumb_id = apply_filters( 'wapt/download_from_google', 0, $response->images, $post_id );
462
  }
463
  if ( $thumb_id ) {
464
  update_post_meta( $post_id, '_thumbnail_id', $thumb_id );
 
465
 
466
- return $thumb_id;
467
  }
 
468
  }
469
  }
470
 
471
- return $thumb_id;
472
  }
473
 
474
  /**
@@ -477,10 +542,15 @@ class AutoPostThumbnails {
477
  * @param \WP_Post|array $post
478
  * @param array $postarr
479
  */
480
- public function auto_upload( $data, $postarr ) {
481
  $allowed_post_types = explode( ',', \WAPT_Plugin::app()->getOption( 'import_post_types', '' ) );
482
 
483
- if ( isset( $data['post_type'] ) && in_array( $data['post_type'], $allowed_post_types ) ) {
 
 
 
 
 
484
  $data = apply_filters( 'wapt/upload_and_replace_post_images', $data );
485
  }
486
 
@@ -547,7 +617,10 @@ class AutoPostThumbnails {
547
  */
548
  public function generate_post_thumb( $image, $title, $post_id ) {
549
  // Get the URL now for further processing
550
- $imageUrl = $image;
 
 
 
551
  $imageTitle = $title;
552
 
553
  // Get the file name
@@ -1189,6 +1262,8 @@ class AutoPostThumbnails {
1189
  * @return integer $thumb_id
1190
  */
1191
  public function generate_and_attachment( $post_id ) {
 
 
1192
  $format = \WAPT_Plugin::app()->getOption( "image-type", "jpg" );
1193
  switch ( $format ) {
1194
  case 'png':
@@ -1204,23 +1279,33 @@ class AutoPostThumbnails {
1204
  }
1205
  $post = get_post( $post_id, 'OBJECT' );
1206
  $uploads = wp_upload_dir( current_time( 'mysql' ) );
 
1207
 
1208
  // Generate unique file name
1209
- $slug = wp_unique_post_slug( sanitize_title( $post->post_title ), $post->ID, $post->post_status, $post->post_type, $post->post_parent );
1210
  $filename = wp_unique_filename( $uploads['path'], "{$slug}_{$post_id}.{$extension}" );
1211
  $file_path = "{$uploads['path']}/{$filename}";
1212
 
 
 
1213
  // Move the file to the uploads dir
1214
- $image = apply_filters( 'wapt/generate/image', $this->generate_image_with_text( $post->post_title, $uploads['path'] . "/$filename", $extension ), $post->post_title, $uploads['path'] . "/$filename", $extension );
 
 
 
1215
 
1216
  $thumb_id = self::insert_attachment( $post, $file_path, $mime_type );
1217
 
1218
  if ( ! is_wp_error( $thumb_id ) ) {
 
 
 
1219
  return $thumb_id;
 
 
1220
  }
1221
 
1222
  return 0;
1223
-
1224
  }
1225
 
1226
  /**
17
  */
18
  public static $instance;
19
 
20
+ /**
21
+ * @var \WAPT_Plugin
22
+ */
23
+ private $plugin;
24
+
25
  /**
26
  * После какой по счёту колонки вставлять новую (если 0, то в самом начале)
27
  *
48
  */
49
  public $is_in_medialibrary = false;
50
 
51
+ public $allowed_generate_post_types;
52
+
53
  /**
54
  * AutoPostThumbnails constructor.
55
  */
56
  public function __construct() {
57
  $this->numberOfColumn = 4;
58
+ $this->plugin = \WAPT_Plugin::app();
59
 
60
  $this->sources = [
61
  'google' => WAPT_PLUGIN_SLUG,
100
  * Initiate all required hooks.
101
  */
102
  private function init() {
103
+ $is_auto_generate = \WAPT_Plugin::app()->getOption( 'auto_generation', true );
104
+ $is_auto_upload = \WAPT_Plugin::app()->getOption( 'auto_upload_images' );
105
+ $allowed_import_post_types = explode( ',', \WAPT_Plugin::app()->getOption( 'import_post_types', 'post' ) );
106
+
107
+ $this->allowed_generate_post_types = explode( ',', \WAPT_Plugin::app()->getOption( 'auto_post_types', 'post,page' ) );
108
 
109
  add_filter( 'mime_types', [ $this, 'allow_upload_webp' ] );
110
 
112
  add_filter( 'wp_insert_post_data', [ $this, 'auto_upload' ], 10, 2 );
113
 
114
  // This hook handle update post via rest api. for example Wordpress mobile apps
115
+ foreach ( $allowed_import_post_types as $post_type ) {
116
+ add_action( "rest_after_insert_{$post_type}", [ $this, 'auto_upload' ], 10, 2 );
117
  }
118
  }
119
 
120
  if ( $is_auto_generate ) {
121
  //add_action( 'publish_post', [ $this, 'publish_post' ], 10, 1 );
122
  add_action( 'save_post', [ $this, 'publish_post' ], 10, 3 );
123
+
124
  // This hook handle update post via rest api. for example Wordpress mobile apps
125
+ foreach ( $this->allowed_generate_post_types as $post_type ) {
126
+ add_action( "rest_after_insert_{$post_type}", [ $this, 'rest_after_insert' ], 10, 3 );
127
+ }
128
  // This hook will now handle all sort publishing including posts, custom types, scheduled posts, etc.
129
  add_action( 'transition_post_status', [ $this, 'check_required_transition' ], 10, 3 );
130
  } else {
173
  check_ajax_referer( 'get-posts' );
174
 
175
  $generate = \WAPT_Plugin::app()->getOption( "generate_autoimage", 'find' );
176
+
177
+ $this->plugin->logger->info( "START generate in mode: {$generate}" );
178
+
179
  switch ( $generate ) {
180
  case 'generate':
181
  case 'both':
194
  $status = $_POST['poststatus'];
195
  $category = $_POST['category'];
196
  $date_start = $_POST['date_start'] ? \DateTime::createFromFormat( 'd.m.Y', $_POST['date_start'] )->format( 'd.m.Y' ) : 0;
197
+ $date_end = $_POST['date_end'] ? \DateTime::createFromFormat( 'd.m.Y', $_POST['date_end'] )->setTime( 23, 59 )->format( 'd.m.Y H:i' ) : 0;
198
  // Get id's of the posts that satisfy the filters
199
  $query = $this->get_posts_query( $has_thumb, $type, $status, $category, $date_start, $date_end );
200
  } else {
206
  // Generate the list of IDs
207
  $ids = [];
208
  foreach ( $query->posts as $post ) {
209
+ $ids[] = $post->ID;
210
  //если запрошены посты без тамбнеила, значит пользователь хочет сгенерировать их
211
+ /*if ( ! $has_thumb ) {
212
  $images = new \WBCR\APT\PostImages( $post->ID );
213
  if ( ( $images->is_images() && $images->count_images() ) || $auto_generate ) {
214
  $ids[] = $post->ID;
216
  } else //иначе он хочет удалить тамбнэйлы
217
  {
218
  $ids[] = $post->ID;
219
+ }*/
220
  }
221
  $ids = implode( ',', $ids );
222
+
223
  } else {
224
+ $ids = "0";
225
  }
226
+ echo $ids;
227
+
228
+ $this->plugin->logger->info( "Queried posts IDs: {$ids}" );
229
+
230
  die( - 1 );
231
  }
232
 
242
  check_ajax_referer( 'generate-post-thumbnails' );
243
  if ( isset( $_POST['id'] ) && ! empty( $_POST['id'] ) ) {
244
  $id = intval( $_POST['id'] );
 
245
  if ( empty( $id ) ) {
246
+ die( '-2' );
247
  }
 
248
  set_time_limit( 60 );
249
 
250
+ $this->plugin->logger->info( "--Start processing post ID = {$id}" );
251
+ $result = $this->publish_post( $id );
252
+ $this->plugin->logger->info( "--End processing post ID = {$id}" );
253
 
254
+ $thumb_id = $result->thumbnail_id;
255
+
256
+ if ( $thumb_id ) {
257
+ wp_send_json_success( $result->getData( true ) );
258
+ } else {
259
+ wp_send_json_error( $result->getData( true ) );
260
+ }
261
  }
262
+
263
+ die( '-3' );
264
  }
265
 
266
  /**
335
  *
336
  * @return WP_Query
337
  */
338
+ public function get_posts_query( $has_thumb = false, $type = 'post', $status = 'publish', $category = 0, $date_start = 0, $date_end = 0, $is_log = true ) {
339
+
340
+ if ( $is_log ) {
341
+ $this->plugin->logger->info( "Posts query: " . var_export( [
342
+ 'has_thumb' => $has_thumb,
343
+ 'type' => $type,
344
+ 'status' => $status,
345
+ 'category' => $category,
346
+ 'date_start' => $date_start,
347
+ 'date_end' => $date_end,
348
+ ], true ) );
349
+ }
350
 
351
  $q_status = $status ? $status : 'any';
352
  $q_type = $type ? $type : 'any';
365
  if ( $category ) {
366
  $args['cat'] = $category;
367
  }
368
+ if ( $date_start && $date_end ) {
369
  $args['date_query'][] = array( 'after' => $date_start, 'before' => $date_end, 'inclusive' => true, );
370
  }
371
  $query = new WP_Query( $args );
372
 
373
+ //$this->plugin->logger->debug( "Posts SQL: " . $query->request );
 
 
 
 
374
 
375
  return $query;
376
  }
377
 
378
+ /**
379
+ * Return sql query, which allows to receive all the posts without thumbnails
380
+ *
381
+ * @return int
382
+ */
383
+ public function get_posts_count( $has_thumb = false, $type = 'post', $status = 'publish', $category = 0, $date_start = 0, $date_end = 0 ) {
384
+ $query = $this->get_posts_query( $has_thumb, $type, $status, $category, $date_start, $date_end, false );
385
+
386
+ return $query->found_posts;
387
+ }
388
+
389
  /**
390
  * Get thumbnail id for image
391
  *
444
  * @param \WP_Post $post
445
  * @param bool $update
446
  *
447
+ * @return GenerateResult
448
  * @throws Exception
449
  */
450
  public function publish_post( $post_id, $post = null, $update = true ) {
451
  global $wpdb;
452
 
453
+ $autoimage = \WAPT_Plugin::app()->getOption( "generate_autoimage", 'find' );
454
+ $generation = new GenerateResult( $post_id, $autoimage );
455
+
456
  if ( ! $post ) {
457
  $post = get_post( $post_id );
458
  if ( ! $post ) {
459
+ $this->plugin->logger->warning( "The post was not found (post ID = {$post_id})" );
460
+
461
+ return $generation->result( __( "The post was not found", 'apt' ) );
462
  }
463
  }
464
 
465
  if ( ! $update ) {
466
+ return $generation->result();
467
+
468
  }
469
+
470
+ if ( ! in_array( $post->post_type, $this->allowed_generate_post_types ) ) {
471
+ $this->plugin->logger->warning( "The post type ({$post->post_type}) is not allowed for generation in settings" );
472
+
473
+ return $generation->result( __( "The post type is not allowed for generation in settings", 'apt' ) );
474
+ }
475
+
476
  // First check whether Post Thumbnail is already set for this post.
477
  $_thumbnail_id = get_post_meta( $post_id, '_thumbnail_id', true );
478
  if ( $_thumbnail_id && $wpdb->get_var( "SELECT ID FROM {$wpdb->posts} WHERE id = '" . esc_sql( $_thumbnail_id ) . "' AND post_type = 'attachment'" ) || get_post_meta( $post_id, 'skip_post_thumb', true ) ) {
479
+ $this->plugin->logger->warning( "The post ({$post_id}) has already been assigned a featured image" );
480
+
481
+ return $generation->result( __( "The post has already been assigned a featured image", 'apt' ) );
482
  }
483
 
484
+ $thumb_id = 0;
 
485
 
486
  $images = new \WBCR\APT\PostImages( $post_id );
487
  if ( ( $images->is_images() && $images->count_images() ) && $autoimage !== 'generate' && $autoimage !== 'google' ) {
490
  $thumb_id = $this->get_thumbnail_id( $image );
491
  // If we succeed in generating thumb, let's update post meta
492
  if ( $thumb_id ) {
493
+ $this->plugin->logger->info( "An attachment ({$thumb_id}) was found in the text of the post." );
494
  update_post_meta( $post_id, '_thumbnail_id', $thumb_id );
495
+ $this->plugin->logger->info( "Featured image ($thumb_id) is set for post ($post_id)" );
496
+
497
  } else {
498
  if ( \WAPT_Plugin::app()->is_premium() ) {
499
  $thumb_id = apply_filters( 'wapt/generate_post_thumb', $image, $post_id );
504
  }
505
  }
506
 
507
+ return $generation->result( '', $thumb_id );
508
+
509
  }
510
  } else {
511
  // создаём свою картинку с заголовком на цветном фоне
515
  if ( $thumb_id ) {
516
  update_post_meta( $post_id, '_thumbnail_id', $thumb_id );
517
 
518
+ return $generation->result( '', $thumb_id );
519
  }
520
  } else if ( $autoimage == 'google' || $autoimage == 'find_google' ) {
521
  $response = ( new GoogleImages() )->search( $post->post_title, 1 );
522
  if ( ! empty( $response->images ) ) {
523
+ $this->plugin->logger->info( "Google image search results = " . var_export( $response->images, true ) );
524
  $thumb_id = apply_filters( 'wapt/download_from_google', 0, $response->images, $post_id );
525
  }
526
  if ( $thumb_id ) {
527
  update_post_meta( $post_id, '_thumbnail_id', $thumb_id );
528
+ $this->plugin->logger->info( "Successful download from google. Attachment ID = {$thumb_id}" );
529
 
530
+ return $generation->result( '', $thumb_id );
531
  }
532
+ $this->plugin->logger->error( "Error download from google. " . var_export( $thumb_id, true ) );
533
  }
534
  }
535
 
536
+ return $generation->result( __( "No images found or generated", 'apt' ) );
537
  }
538
 
539
  /**
542
  * @param \WP_Post|array $post
543
  * @param array $postarr
544
  */
545
+ public function auto_upload( $data, $postarr = [] ) {
546
  $allowed_post_types = explode( ',', \WAPT_Plugin::app()->getOption( 'import_post_types', '' ) );
547
 
548
+ if ( $data instanceof \WP_Post ) {
549
+ $post_type = $data->post_type ?? '';
550
+ } else {
551
+ $post_type = $data['post_type'] ?? '';
552
+ }
553
+ if ( $post_type && in_array( $post_type, $allowed_post_types ) ) {
554
  $data = apply_filters( 'wapt/upload_and_replace_post_images', $data );
555
  }
556
 
617
  */
618
  public function generate_post_thumb( $image, $title, $post_id ) {
619
  // Get the URL now for further processing
620
+ $imageUrl = $image;
621
+ if ( $imageUrl === wp_make_link_relative( $imageUrl ) ) {
622
+ $imageUrl = home_url( $imageUrl );
623
+ }
624
  $imageTitle = $title;
625
 
626
  // Get the file name
1262
  * @return integer $thumb_id
1263
  */
1264
  public function generate_and_attachment( $post_id ) {
1265
+ $this->plugin->logger->info( "Start generate attachment for post ID = {$post_id}" );
1266
+
1267
  $format = \WAPT_Plugin::app()->getOption( "image-type", "jpg" );
1268
  switch ( $format ) {
1269
  case 'png':
1279
  }
1280
  $post = get_post( $post_id, 'OBJECT' );
1281
  $uploads = wp_upload_dir( current_time( 'mysql' ) );
1282
+ $title = apply_filters( 'wapt/generate/title', $post->post_title, $post_id );
1283
 
1284
  // Generate unique file name
1285
+ $slug = wp_unique_post_slug( sanitize_title( $title ), $post->ID, $post->post_status, $post->post_type, $post->post_parent );
1286
  $filename = wp_unique_filename( $uploads['path'], "{$slug}_{$post_id}.{$extension}" );
1287
  $file_path = "{$uploads['path']}/{$filename}";
1288
 
1289
+ $this->plugin->logger->info( "Generated file path = {$file_path}" );
1290
+
1291
  // Move the file to the uploads dir
1292
+ $image = apply_filters( 'wapt/generate/image', false, $title, $uploads['path'] . "/$filename", $extension );
1293
+ if ( ! $image ) {
1294
+ $image = apply_filters( 'wapt/generate/image', $this->generate_image_with_text( $title, $uploads['path'] . "/$filename", $extension ), $title, $uploads['path'] . "/$filename", $extension );
1295
+ }
1296
 
1297
  $thumb_id = self::insert_attachment( $post, $file_path, $mime_type );
1298
 
1299
  if ( ! is_wp_error( $thumb_id ) ) {
1300
+ $this->plugin->logger->info( "Successful generate attachment ID = {$thumb_id}" );
1301
+ $this->plugin->logger->info( "End generate attachment for post ID = {$post_id}" );
1302
+
1303
  return $thumb_id;
1304
+ } else {
1305
+ $this->plugin->logger->error( "Error generate attachment: " . var_export( $thumb_id, true ) );
1306
  }
1307
 
1308
  return 0;
 
1309
  }
1310
 
1311
  /**
includes/{class-wapt-plugin.php → class-plugin.php} RENAMED
@@ -15,11 +15,11 @@ if ( ! defined( 'ABSPATH' ) ) {
15
  * @copyright (c) 2018 Webraftic Ltd
16
  * @version 1.0
17
  */
18
- class WAPT_Plugin extends Wbcr_Factory445_Plugin {
19
 
20
  /**
21
  * @see self::app()
22
- * @var Wbcr_Factory445_Plugin
23
  */
24
  private static $app;
25
 
@@ -63,6 +63,7 @@ class WAPT_Plugin extends Wbcr_Factory445_Plugin {
63
  }
64
 
65
  if ( $this->doing_rest_api() ) {
 
66
  $this->apt = \WBCR\APT\AutoPostThumbnails::instance();
67
  }
68
 
@@ -72,7 +73,7 @@ class WAPT_Plugin extends Wbcr_Factory445_Plugin {
72
  /**
73
  * Статический метод для быстрого доступа к интерфейсу плагина.
74
  *
75
- * @return Wbcr_Factory445_Plugin
76
  */
77
  public static function app() {
78
  return self::$app;
@@ -106,15 +107,19 @@ class WAPT_Plugin extends Wbcr_Factory445_Plugin {
106
  */
107
  private function register_pages() {
108
  self::app()->registerPage( 'WAPT_Generate', WAPT_PLUGIN_DIR . '/admin/pages/generate.php' );
109
- self::app()->registerPage( 'WAPT_License', WAPT_PLUGIN_DIR . '/admin/pages/license.php' );
110
  self::app()->registerPage( 'WAPT_Settings', WAPT_PLUGIN_DIR . '/admin/pages/settings.php' );
 
 
 
111
  self::app()->registerPage( 'WAPT_About', WAPT_PLUGIN_DIR . '/admin/pages/about.php' );
112
  }
113
 
114
  /**
115
  */
116
  private function admin_scripts() {
117
- $this->register_pages();
 
 
118
 
119
  //------ ACTIONS ------
120
  add_action( 'admin_init', [ $this, 'redirect_to_about_page' ] );
@@ -148,6 +153,21 @@ class WAPT_Plugin extends Wbcr_Factory445_Plugin {
148
  add_action( 'admin_notices', [ $this, 'update_admin_notice' ] );
149
 
150
  add_filter( 'plugin_action_links_' . WAPT_PLUGIN_BASENAME, [ $this, 'plugin_action_link' ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  }
152
 
153
  /**
@@ -229,7 +249,7 @@ class WAPT_Plugin extends Wbcr_Factory445_Plugin {
229
  if ( $need_show_about && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) && ! ( defined( 'DOING_CRON' ) && DOING_CRON ) ) {
230
  try {
231
  $redirect_url = '';
232
- if ( class_exists( 'Wbcr_FactoryPages444' ) ) {
233
  $redirect_url = admin_url( "admin.php?page=wapt_about-wbcr_apt&wapt_about_page_viewed=1" );
234
  }
235
  if ( $redirect_url ) {
@@ -383,7 +403,7 @@ class WAPT_Plugin extends Wbcr_Factory445_Plugin {
383
  do_action( 'wapt/upload_and_replace_post_images', $post_id );
384
  break;
385
  case 'apt_generate_thumb':
386
- $thumb = $this->apt->publish_post( $post_id );
387
  break;
388
  case 'apt_delete_thumb':
389
  delete_post_thumbnail( $post_id );
15
  * @copyright (c) 2018 Webraftic Ltd
16
  * @version 1.0
17
  */
18
+ class WAPT_Plugin extends Wbcr_Factory449_Plugin {
19
 
20
  /**
21
  * @see self::app()
22
+ * @var Wbcr_Factory449_Plugin
23
  */
24
  private static $app;
25
 
63
  }
64
 
65
  if ( $this->doing_rest_api() ) {
66
+ require_once WAPT_PLUGIN_DIR . "/includes/class.generate-result.php";
67
  $this->apt = \WBCR\APT\AutoPostThumbnails::instance();
68
  }
69
 
73
  /**
74
  * Статический метод для быстрого доступа к интерфейсу плагина.
75
  *
76
+ * @return Wbcr_Factory449_Plugin
77
  */
78
  public static function app() {
79
  return self::$app;
107
  */
108
  private function register_pages() {
109
  self::app()->registerPage( 'WAPT_Generate', WAPT_PLUGIN_DIR . '/admin/pages/generate.php' );
 
110
  self::app()->registerPage( 'WAPT_Settings', WAPT_PLUGIN_DIR . '/admin/pages/settings.php' );
111
+ self::app()->registerPage( 'WAPT_ImageSettings', WAPT_PLUGIN_DIR . '/admin/pages/image.php' );
112
+ self::app()->registerPage( 'WAPT_License', WAPT_PLUGIN_DIR . '/admin/pages/license.php' );
113
+ self::app()->registerPage( 'WAPT_Log', WAPT_PLUGIN_DIR . '/admin/pages/log.php' );
114
  self::app()->registerPage( 'WAPT_About', WAPT_PLUGIN_DIR . '/admin/pages/about.php' );
115
  }
116
 
117
  /**
118
  */
119
  private function admin_scripts() {
120
+ require_once WAPT_PLUGIN_DIR . "/includes/class.generate-result.php";
121
+
122
+ //$this->register_pages();
123
 
124
  //------ ACTIONS ------
125
  add_action( 'admin_init', [ $this, 'redirect_to_about_page' ] );
153
  add_action( 'admin_notices', [ $this, 'update_admin_notice' ] );
154
 
155
  add_filter( 'plugin_action_links_' . WAPT_PLUGIN_BASENAME, [ $this, 'plugin_action_link' ] );
156
+
157
+ add_action( 'plugins_loaded', [ $this, 'plugins_loaded' ] );
158
+ }
159
+
160
+ /**
161
+ * Выполняет php сценарии, когда все Wordpress плагины будут загружены
162
+ *
163
+ * @throws \Exception
164
+ * @since 1.0.0
165
+ * @author Alexander Kovalev <alex.kovalevv@gmail.com>
166
+ */
167
+ public function plugins_loaded() {
168
+ if ( is_admin() ) {
169
+ $this->register_pages();
170
+ }
171
  }
172
 
173
  /**
249
  if ( $need_show_about && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) && ! ( defined( 'DOING_CRON' ) && DOING_CRON ) ) {
250
  try {
251
  $redirect_url = '';
252
+ if ( class_exists( 'Wbcr_FactoryPages448' ) ) {
253
  $redirect_url = admin_url( "admin.php?page=wapt_about-wbcr_apt&wapt_about_page_viewed=1" );
254
  }
255
  if ( $redirect_url ) {
403
  do_action( 'wapt/upload_and_replace_post_images', $post_id );
404
  break;
405
  case 'apt_generate_thumb':
406
+ $this->apt->publish_post( $post_id );
407
  break;
408
  case 'apt_delete_thumb':
409
  delete_post_thumbnail( $post_id );
includes/class-post-images.php CHANGED
@@ -12,6 +12,11 @@ if ( ! defined( 'ABSPATH' ) ) {
12
 
13
  class PostImages {
14
 
 
 
 
 
 
15
  /**
16
  * @var WP_Post
17
  */
@@ -28,6 +33,8 @@ class PostImages {
28
  * @param WP_Post|int|string $post Post object or post ID or post content
29
  */
30
  public function __construct( $post = null ) {
 
 
31
  if ( is_numeric( $post ) ) {
32
  $post = get_post( $post, 'OBJECT' );
33
  $this->post = $post;
@@ -58,6 +65,8 @@ class PostImages {
58
  preg_match_all( '/<\s*img .*?src\s*=\s*[\"\']?([^\"\'> ]*).*?>/i', $post_content, $matches );
59
 
60
  if ( count( $matches ) ) {
 
 
61
  foreach ( $matches[0] as $key => $image ) {
62
  $title = '';
63
  preg_match_all( '/<\s*img [^\>]*title\s*=\s*[\"\']?([^\"\'> ]*)/i', $image, $matchesTitle );
@@ -75,6 +84,7 @@ class PostImages {
75
  }
76
 
77
  $this->images = $images;
 
78
  }
79
 
80
  /**
12
 
13
  class PostImages {
14
 
15
+ /**
16
+ * @var \WAPT_Plugin
17
+ */
18
+ private $plugin;
19
+
20
  /**
21
  * @var WP_Post
22
  */
33
  * @param WP_Post|int|string $post Post object or post ID or post content
34
  */
35
  public function __construct( $post = null ) {
36
+ $this->plugin = \WAPT_Plugin::app();
37
+
38
  if ( is_numeric( $post ) ) {
39
  $post = get_post( $post, 'OBJECT' );
40
  $this->post = $post;
65
  preg_match_all( '/<\s*img .*?src\s*=\s*[\"\']?([^\"\'> ]*).*?>/i', $post_content, $matches );
66
 
67
  if ( count( $matches ) ) {
68
+ //$this->plugin->logger->debug( "Found from regex: " . var_export( $matches[0], true ) );
69
+
70
  foreach ( $matches[0] as $key => $image ) {
71
  $title = '';
72
  preg_match_all( '/<\s*img [^\>]*title\s*=\s*[\"\']?([^\"\'> ]*)/i', $image, $matchesTitle );
84
  }
85
 
86
  $this->images = $images;
87
+ $this->plugin->logger->debug( "Found images: " . var_export( $images, true ) );
88
  }
89
 
90
  /**
includes/class.generate-result.php ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WBCR\APT;
4
+
5
+ // Exit if accessed directly
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit;
8
+ }
9
+
10
+ class GenerateResult {
11
+
12
+ /**
13
+ * @var int
14
+ */
15
+ private $post_id;
16
+
17
+ /**
18
+ * @var int
19
+ */
20
+ public $thumbnail_id;
21
+
22
+ /**
23
+ * @var string
24
+ */
25
+ private $generate_method;
26
+
27
+ /**
28
+ * @var string
29
+ */
30
+ public $status;
31
+
32
+ /**
33
+ * @var string
34
+ */
35
+ public $message;
36
+
37
+ /**
38
+ * @var array
39
+ */
40
+ private $methods;
41
+
42
+ /**
43
+ * GenerateResult constructor.
44
+ *
45
+ * @param int $post_id
46
+ * @param string $generate_method
47
+ */
48
+ public function __construct( $post_id, $generate_method = '' ) {
49
+ $this->methods = [
50
+ 'find' => __( 'Find in post', 'apt' ),
51
+ 'generate' => __( 'Generate from title', 'apt' ),
52
+ 'both' => __( 'Find or generate', 'apt' ),
53
+ 'google' => __( 'Google', 'apt' ),
54
+ 'find_google' => __( 'Find or Google', 'apt' ),
55
+ ];
56
+
57
+ $this->post_id = $post_id;
58
+ $this->generate_method = $this->getMethod( $generate_method );
59
+ }
60
+
61
+ /**
62
+ * Set the result data.
63
+ *
64
+ * @param string $message
65
+ * @param int $thumbnail_id
66
+ * @param string $status
67
+ */
68
+ public function setResult( $message = '', $thumbnail_id = 0, $status = '' ) {
69
+
70
+ $this->thumbnail_id = $thumbnail_id;
71
+ $this->status = ! empty( $status ) ? $status : __( 'Done', 'apt' );
72
+ $this->message = $message;
73
+ }
74
+
75
+ /**
76
+ * Return self with result data.
77
+ *
78
+ * @param string $message
79
+ * @param int $thumbnail_id
80
+ * @param string $status
81
+ *
82
+ * @return self
83
+ */
84
+ public function result( $message = '', $thumbnail_id = 0, $status = '' ) {
85
+ $this->setResult( $message, $thumbnail_id, $status );
86
+
87
+ return $this;
88
+ }
89
+
90
+ /**
91
+ * @param $method
92
+ *
93
+ * @return string
94
+ */
95
+ private function getMethod( $method ) {
96
+ return $this->methods[ $method ] ?? '';
97
+ }
98
+
99
+ /**
100
+ * @return string
101
+ */
102
+ public function get_generate_method() {
103
+ return $this->generate_method;
104
+ }
105
+
106
+ private function get_file_size( $url ) {
107
+ $path = '';
108
+ $parsed_url = parse_url( $url );
109
+ if ( empty( $parsed_url['path'] ) ) {
110
+ return '';
111
+ }
112
+ $file = ABSPATH . ltrim( $parsed_url['path'], '/' );
113
+ if ( file_exists( $file ) ) {
114
+ $bytes = filesize( $file );
115
+ $s = array( 'b', 'Kb', 'Mb', 'Gb' );
116
+ $e = floor( log( $bytes ) / log( 1024 ) );
117
+
118
+ return sprintf( '%d ' . $s[ $e ], ( $bytes / pow( 1024, floor( $e ) ) ) );
119
+ }
120
+
121
+ return '';
122
+
123
+ }
124
+
125
+ /**
126
+ * @return array
127
+ */
128
+ public function getData( $write_to_log = false ) {
129
+ if ( $this->thumbnail_id ) {
130
+ $data = [
131
+ [
132
+ 'post_id' => $this->post_id,
133
+ 'thumbnail_url' => wp_get_attachment_image_url( $this->thumbnail_id, 'thumbnail' ),
134
+ 'url' => get_permalink( $this->post_id ),
135
+ 'title' => get_post( $this->post_id )->post_title,
136
+ 'image_size' => $this->get_file_size( wp_get_attachment_image_url( $this->thumbnail_id, 'full' ) ),
137
+ 'type' => $this->get_generate_method(),
138
+ 'status' => $this->status,
139
+ ],
140
+ ];
141
+ } else {
142
+ $data = [
143
+ [
144
+ 'post_id' => $this->post_id,
145
+ 'url' => get_permalink( $this->post_id ),
146
+ 'title' => get_post( $this->post_id )->post_title,
147
+ 'type' => $this->get_generate_method(),
148
+ 'status' => $this->status,
149
+ 'error_msg' => $this->message,
150
+ ]
151
+ ];
152
+ }
153
+
154
+ if ( $write_to_log ) {
155
+ $log = \WAPT_Plugin::app()->getPopulateOption( 'generation_log', [] );
156
+ if ( count( $log ) > 100 ) {
157
+ $log = array_slice( $log, 0, 100 );
158
+ }
159
+ \WAPT_Plugin::app()->updatePopulateOption( 'generation_log', array_merge( $data, $log ) );
160
+ }
161
+
162
+ return $data;
163
+ }
164
+ }
includes/controls/class.color.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
 
20
  if ( ! class_exists( 'Wapt_FactoryForms_ColorControl' ) ) {
21
 
22
- class Wapt_FactoryForms_ColorControl extends Wbcr_FactoryForms442_Control {
23
 
24
  public $type = 'wapt-color';
25
 
@@ -39,14 +39,15 @@ if ( ! class_exists( 'Wapt_FactoryForms_ColorControl' ) ) {
39
  ?>
40
  <script src="<?php echo WAPT_PLUGIN_URL; ?>/admin/assets/js/jscolor.js"></script>
41
  <style>
42
- .wapt-jscolor {
 
43
  padding: 15px !important;
44
  font-size: 16px !important;
45
  cursor: pointer;
46
  }
47
  </style>
48
  <div <?php $this->attrs() ?>>
49
- <input type="text" readonly id="<?php echo $name; ?>" name="<?php echo $name; ?>"
50
  class="factory-input-text jscolor wapt-jscolor" value="<?php echo $value; ?>">
51
  </div>
52
  <?php
19
 
20
  if ( ! class_exists( 'Wapt_FactoryForms_ColorControl' ) ) {
21
 
22
+ class Wapt_FactoryForms_ColorControl extends Wbcr_FactoryForms446_Control {
23
 
24
  public $type = 'wapt-color';
25
 
39
  ?>
40
  <script src="<?php echo WAPT_PLUGIN_URL; ?>/admin/assets/js/jscolor.js"></script>
41
  <style>
42
+ .wapt-jscolor
43
+ {
44
  padding: 15px !important;
45
  font-size: 16px !important;
46
  cursor: pointer;
47
  }
48
  </style>
49
  <div <?php $this->attrs() ?>>
50
+ <input type="text" id="<?php echo $name; ?>" name="<?php echo $name; ?>"
51
  class="factory-input-text jscolor wapt-jscolor" value="<?php echo $value; ?>">
52
  </div>
53
  <?php
includes/controls/class.fonts.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
22
 
23
  if ( ! class_exists( 'Wapt_FactoryForms_FontsControl' ) ) {
24
 
25
- class Wapt_FactoryForms_FontsControl extends Wbcr_FactoryForms442_DropdownControl {
26
 
27
  public $type = 'wapt-fonts';
28
 
22
 
23
  if ( ! class_exists( 'Wapt_FactoryForms_FontsControl' ) ) {
24
 
25
+ class Wapt_FactoryForms_FontsControl extends Wbcr_FactoryForms446_DropdownControl {
26
 
27
  public $type = 'wapt-fonts';
28
 
includes/controls/class.mediabutton.php CHANGED
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
20
 
21
  if ( ! class_exists( 'Wapt_FactoryForms_MediaButtonControl' ) ) {
22
 
23
- class Wapt_FactoryForms_MediaButtonControl extends Wbcr_FactoryForms442_Control {
24
 
25
  public $type = 'wapt-mediabutton';
26
 
20
 
21
  if ( ! class_exists( 'Wapt_FactoryForms_MediaButtonControl' ) ) {
22
 
23
+ class Wapt_FactoryForms_MediaButtonControl extends Wbcr_FactoryForms446_Control {
24
 
25
  public $type = 'wapt-mediabutton';
26
 
includes/image-search/class-google-images.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  namespace WBCR\APT;
3
 
4
  use WAPT_Plugin, Exception;
@@ -65,6 +66,7 @@ class GoogleImages implements ImageSearch {
65
 
66
  if ( ! WAPT_Plugin::app()->premium->is_active() && ! WAPT_Plugin::app()->premium->is_activate() ) {
67
  if ( $limit['count'] < 1 ) {
 
68
  throw new Exception( sprintf( __( 'You have reached the limit at the moment. Try again in an 1 hour or <a href="%s">Upgrade to Premium</a>', 'apt' ), WAPT_Plugin::app()->get_support()->get_pricing_url( true, 'license_page' ) ) );
69
  }
70
  $limit['count'] --;
@@ -76,6 +78,7 @@ class GoogleImages implements ImageSearch {
76
 
77
  $response = wp_remote_get( $url, [ 'timeout' => 100 ] );
78
  if ( is_wp_error( $response ) ) {
 
79
  throw new Exception( 'Error: ' . $response->get_error_message() );
80
  }
81
 
1
  <?php
2
+
3
  namespace WBCR\APT;
4
 
5
  use WAPT_Plugin, Exception;
66
 
67
  if ( ! WAPT_Plugin::app()->premium->is_active() && ! WAPT_Plugin::app()->premium->is_activate() ) {
68
  if ( $limit['count'] < 1 ) {
69
+ WAPT_Plugin::app()->logger->warning( __( 'You have reached the limit at the moment. Try again in an 1 hour', 'apt' ) );
70
  throw new Exception( sprintf( __( 'You have reached the limit at the moment. Try again in an 1 hour or <a href="%s">Upgrade to Premium</a>', 'apt' ), WAPT_Plugin::app()->get_support()->get_pricing_url( true, 'license_page' ) ) );
71
  }
72
  $limit['count'] --;
78
 
79
  $response = wp_remote_get( $url, [ 'timeout' => 100 ] );
80
  if ( is_wp_error( $response ) ) {
81
+ WAPT_Plugin::app()->logger->error( 'Google search error: ' . $response->get_error_message() );
82
  throw new Exception( 'Error: ' . $response->get_error_message() );
83
  }
84
 
languages/apt-ru_RU.mo CHANGED
Binary file
languages/apt-ru_RU.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Auto Featured Image\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-07-23 08:21+0000\n"
6
- "PO-Revision-Date: 2021-02-12 10:46+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Русский\n"
9
  "Language: ru_RU\n"
@@ -24,60 +24,58 @@ msgstr ""
24
  "<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Узнать больше</a> о "
25
  "премиум версии и получить лицензионный ключ!"
26
 
27
- #: admin/pages/about.php:46
28
  msgid "About"
29
  msgstr "О плагине"
30
 
31
- #: admin/pages/about.php:45
32
  msgid "About APT"
33
  msgstr "О плагине Auto Featured Image"
34
 
35
  #: admin/views/tab-license.php:11
36
  #, php-format
37
  msgid "Activate %s"
38
- msgstr ""
39
 
40
  #: admin/views/tab-license.php:84
41
  msgid "active sites"
42
  msgstr "активных сайтов"
43
 
44
- #: admin/pages/settings.php:100
45
  msgid "Add featured image when saving a post"
46
  msgstr "Добавлять featured image во время сохранения поста"
47
 
48
- #: includes/class-apt.php:931
49
  msgid "Add from APT"
50
  msgstr "Добавить через APT"
51
 
52
- #: admin/pages/settings.php:379
53
  msgid "Addition of text"
54
  msgstr "Добавление текста"
55
 
56
- #: admin/pages/settings.php:401
57
  msgid "Additional string after text. For a line break, use <b>[br]</b>"
58
  msgstr ""
59
  "Дополнительный текст после текста. Для переноса строки используйте <b>[br]"
60
  "</b>"
61
 
62
- #: admin/pages/settings.php:391
63
  msgid "Additional string before text. For a line break, use <b>[br]</b>"
64
  msgstr ""
65
  "Дополнительный текст перед текстом. Для переноса строки используйте <b>[br]"
66
  "</b>"
67
 
68
- #: admin/pages/settings.php:307
69
  msgid "Alignment"
70
  msgstr "Выравнивание"
71
 
72
- #: admin/views/tab-main.php:191 admin/views/tab-main.php:254
73
- msgid "All done! Processed posts:"
 
 
74
  msgstr "Завершено! Обработано постов: "
75
 
76
- #: admin/views/tab-settings.php:21
77
- msgid "API"
78
- msgstr "API"
79
-
80
- #: admin/pages/settings.php:444
81
  msgid "API key for Google"
82
  msgstr "API ключ Google"
83
 
@@ -85,8 +83,8 @@ msgstr "API ключ Google"
85
  msgid "API key is missing. Add it in APT settings"
86
  msgstr "Ключ API не задан. Добавьте его в настройках Auto Featured Image"
87
 
88
- #: auto-post-thumbnail.php:42 includes/class-apt.php:957
89
- #: admin/pages/generate.php:100
90
  msgid "Auto Featured Image"
91
  msgstr "Auto Featured Image"
92
 
@@ -94,11 +92,15 @@ msgstr "Auto Featured Image"
94
  msgid "Auto Featured Image (Auto Post Thumbnail)"
95
  msgstr "Auto Featured Image (Auto Post Thumbnail)"
96
 
97
- #: includes/class-apt.php:931
98
  msgid "Auto Featured Images"
99
  msgstr "Auto Featured Images"
100
 
101
- #: admin/pages/settings.php:102
 
 
 
 
102
  msgid "Automatically add featured image when saving a post"
103
  msgstr "Автоматически добавлять featured image во время сохранения поста"
104
 
@@ -114,27 +116,27 @@ msgstr ""
114
  "избранное изображение из заголовка. Нативный поиск изображений в фотобанках "
115
  "для Elementor, Gutenberg, Classic Editor."
116
 
117
- #: admin/pages/settings.php:174
118
  msgid "Background color for the image"
119
  msgstr "Цвет фона"
120
 
121
- #: admin/pages/settings.php:183
122
  msgid "Background image"
123
  msgstr "Фоновое изображение"
124
 
125
- #: admin/pages/settings.php:149
126
  msgid "Background settings"
127
  msgstr "Настройки фона"
128
 
129
- #: admin/pages/settings.php:165
130
  msgid "Background type"
131
  msgstr "Тип фона"
132
 
133
- #: admin/pages/settings.php:112
134
- msgid "Both"
135
- msgstr "Оба способа"
136
 
137
- #: admin/pages/settings.php:336
138
  msgid "Bottom"
139
  msgstr "Внизу"
140
 
@@ -149,23 +151,19 @@ msgstr ""
149
  "этой странице</a> авторизуйтесь при помощи e-mail который указывали при "
150
  "покупке."
151
 
152
- #: admin/pages/settings.php:320 admin/pages/settings.php:335
153
  msgid "Center"
154
  msgstr "По центру"
155
 
156
- #: includes/class-apt.php:206 includes/class-apt.php:914
157
  msgid "Change featured image"
158
  msgstr "Изменить изображение"
159
 
160
- #: admin/pages/settings.php:288
161
  msgid "chars"
162
  msgstr "символов"
163
 
164
- #. Author URI of the plugin
165
- msgid "cm-wp.com"
166
- msgstr "cm-wp.com"
167
-
168
- #: admin/pages/settings.php:161
169
  msgid "Color"
170
  msgstr "Цвет"
171
 
@@ -174,18 +172,22 @@ msgid "Commercial and derived use"
174
  msgstr "Коммерческое и производное использование"
175
 
176
  #. Author of the plugin
177
- msgid "Creativemotion <support@cm-wp.com>"
 
 
178
  msgstr "Creativemotion <support@cm-wp.com>"
179
 
180
  #: admin/views/tab-license.php:105
181
  msgid "day(s)"
182
  msgstr "дней"
183
 
184
- #: admin/views/tab-main.php:254
185
- msgid "Delete featured image in posts:"
 
 
186
  msgstr "Убраны изображения из постов:"
187
 
188
- #: admin/views/tab-main.php:112
189
  msgid "Delete Featured images"
190
  msgstr "Убрать изображения"
191
 
@@ -193,7 +195,7 @@ msgstr "Убрать изображения"
193
  msgid "Delete Key"
194
  msgstr "Удалить ключ"
195
 
196
- #: admin/pages/settings.php:126 admin/pages/settings.php:128
197
  msgid "Delete settings when removing the plugin"
198
  msgstr "Удалять настройки при удалении плагина"
199
 
@@ -201,67 +203,104 @@ msgstr "Удалять настройки при удалении плагина
201
  msgid "domain"
202
  msgstr "домен"
203
 
 
 
 
 
204
  #: admin/views/tab-license.php:94
205
  msgid "EXPIRED!"
206
  msgstr "ИСТЕКЛО!"
207
 
208
- #: includes/class-wapt-plugin.php:218
209
  msgid "Featured Image"
210
  msgstr "Изображение"
211
 
212
- #: admin/pages/settings.php:115
213
  msgid "Featured image"
214
  msgstr "Избранное изображение"
215
 
216
- #: admin/pages/settings.php:110
217
  msgid "Find in post"
218
  msgstr "Искать в посте"
219
 
220
- #: admin/pages/settings.php:234
 
 
 
 
 
 
 
 
221
  msgid "Font color"
222
  msgstr "Цвет шрифта"
223
 
224
- #: admin/pages/settings.php:216
225
  msgid "Font name"
226
  msgstr "Шрифт"
227
 
228
- #: admin/pages/settings.php:204
229
  msgid "Font settings"
230
  msgstr "Настройки шрифта"
231
 
232
- #: admin/pages/settings.php:227
233
  msgid "Font size"
234
  msgstr "Размер шрифта"
235
 
236
- #: admin/views/tab-settings.php:9
237
  msgid "General"
238
  msgstr "Основные"
239
 
240
- #: includes/class-wapt-plugin.php:276
 
 
 
 
241
  msgid "Generate"
242
  msgstr "Генерировать"
243
 
244
- #: includes/class-wapt-plugin.php:141
245
  msgid "Generate featured image"
246
  msgstr "Генерировать изображение"
247
 
248
- #: admin/views/tab-main.php:107
249
  msgid "Generate Featured images"
250
  msgstr "Сгенерировать изображения"
251
 
252
- #: admin/pages/generate.php:101
253
- msgid "Generate featured images"
254
- msgstr "Генератор изображений"
255
-
256
- #: admin/views/tab-main.php:2
257
- msgid "Generate Featured images for posts"
258
- msgstr "Генератор изображений для постов"
259
 
260
- #: admin/pages/settings.php:111
261
  msgid "Generate from title"
262
  msgstr "Генерировать из заголовка"
263
 
264
- #: admin/pages/settings.php:452
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
265
  msgid "Google Custom Search Engine ID"
266
  msgstr "Google Custom Search Engine ID"
267
 
@@ -273,60 +312,107 @@ msgstr "Есть ключ для активации плагина? Вставь
273
  msgid "Have a key to activate the premium version? Paste it here:"
274
  msgstr "Есть ключ для активации премиум версии? Вставьте его сюда:"
275
 
276
- #: admin/pages/settings.php:324
277
  msgid "Horizontal text alignment"
278
  msgstr "Горизонтальное выравнивание"
279
 
280
- #: admin/pages/settings.php:116
281
  msgid ""
282
  "How to generate featured image:\n"
283
  "\t\t\t\t\t\t\t<br> <b>Find in post:</b> search for the first image in the "
284
  "post text\n"
285
  "\t\t\t\t\t\t\t<br> <b>Generate from title:</b> created from the title on a "
286
  "colored background\n"
287
- "\t\t\t\t\t\t\t<br> <b>Both:</b> find an image in the post text, if it is not "
288
- "present, generate it from the title"
 
 
 
 
289
  msgstr ""
290
- "Как генерировать featured image:\n"
291
- "\t\t\t\t\t\t\t<br> <b>Искать в посте:</b> искать первое изображение в тексте "
292
- "поста\n"
293
- "\t\t\t\t\t\t\t<br> <b>Генерировать из заголовка:</b> создать изображение с "
294
- "текстом из заголовка на цветном фоне\n"
295
- "\t\t\t\t\t\t\t<br> <b>Оба способа:</b> искать первое изображение в тексте "
296
- "поста, если его нет в тексте, тогда генерировать из заголовка"
297
-
298
- #: admin/pages/settings.php:427
 
 
299
  msgid "How to get google api key & custom search engine id"
300
  msgstr "Как получить Google API key и Custom Search Engine ID"
301
 
 
 
 
 
302
  #. URI of the plugin
303
  msgid "https://cm-wp.com/apt"
304
  msgstr "https://cm-wp.com/apt"
305
 
306
- #: includes/class-apt.php:810 admin/pages/settings.php:162
 
307
  msgid "Image"
308
  msgstr "Изображение"
309
 
310
- #: admin/pages/settings.php:198
311
  msgid "Image format"
312
  msgstr "Формат изображения"
313
 
314
- #: admin/views/tab-settings.php:15
315
- msgid "Image generation"
316
- msgstr "Изображение"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
 
318
- #: admin/pages/settings.php:194
 
 
 
 
 
 
 
 
 
 
 
 
319
  msgid "JPEG"
320
  msgstr "JPEG"
321
 
322
- #: admin/pages/settings.php:319
323
  msgid "Left"
324
  msgstr "Слева"
325
 
326
- #: admin/pages/settings.php:371
327
  msgid "Left/right text padding"
328
  msgstr "Левый/правый отступ"
329
 
 
 
 
 
330
  #: admin/ajax/check-license.php:38
331
  msgid ""
332
  "License key is empty or license key too long (license key is 32 characters "
@@ -335,7 +421,7 @@ msgstr ""
335
  "Лицензионный ключ пуст или слишком длинный (длина лицензионного ключа "
336
  "составляет 32 символа)"
337
 
338
- #: admin/pages/license.php:94
339
  msgid "License of APT"
340
  msgstr "Лицензия Auto Featured Image"
341
 
@@ -343,11 +429,15 @@ msgstr "Лицензия Auto Featured Image"
343
  msgid "Licensing action not passed or this action is prohibited!"
344
  msgstr "Licensing action not passed or this action is prohibited!"
345
 
346
- #: admin/pages/settings.php:300
347
  msgid "Line spacing"
348
  msgstr "Межстрочный интервал"
349
 
350
- #: admin/pages/settings.php:277
 
 
 
 
351
  msgid "Lowercase"
352
  msgstr "строчные"
353
 
@@ -359,15 +449,19 @@ msgstr "Следующая"
359
  msgid "No hits"
360
  msgstr "Нет результатов"
361
 
362
- #: includes/class-apt.php:911
363
  msgid "No image"
364
  msgstr "Нет изображений"
365
 
366
- #: admin/pages/settings.php:275
 
 
 
 
367
  msgid "No transform"
368
  msgstr "Нет"
369
 
370
- #: admin/views/tab-main.php:130
371
  msgid ""
372
  "Note: Thumbnails won't be generated for posts that already have post "
373
  "thumbnail or <strong><em>skip_post_thumb</em></strong> custom meta field."
@@ -380,19 +474,23 @@ msgstr ""
380
  msgid "of"
381
  msgstr "из"
382
 
383
- #: admin/pages/settings.php:347
 
 
 
 
384
  msgid "Padding"
385
  msgstr "Отступы"
386
 
387
- #: admin/pages/settings.php:372
388
  msgid "Padding at the left and right of the text"
389
  msgstr "Отступ слева и справа от текста"
390
 
391
- #: admin/pages/settings.php:361
392
  msgid "Padding at the top and bottom of the text"
393
  msgstr "Отступ сверху и снизу от текста"
394
 
395
- #: admin/views/tab-main.php:38
396
  msgid "Pages"
397
  msgstr "Страницы"
398
 
@@ -404,11 +502,27 @@ msgstr "тариф"
404
  msgid "please update the key"
405
  msgstr ""
406
 
407
- #: admin/pages/settings.php:195
 
 
 
 
408
  msgid "PNG"
409
  msgstr "PNG"
410
 
411
- #: admin/views/tab-main.php:37
 
 
 
 
 
 
 
 
 
 
 
 
412
  msgid "Posts"
413
  msgstr "Посты"
414
 
@@ -416,7 +530,7 @@ msgstr "Посты"
416
  msgid "Prev"
417
  msgstr "Предыдущая"
418
 
419
- #: includes/class-wapt-plugin.php:187
420
  msgid "Processed posts: "
421
  msgstr "Обработано постов:"
422
 
@@ -428,7 +542,7 @@ msgid ""
428
  "type of a license."
429
  msgstr ""
430
 
431
- #: admin/pages/settings.php:358 admin/pages/settings.php:369
432
  msgid "px"
433
  msgstr "px"
434
 
@@ -436,7 +550,7 @@ msgstr "px"
436
  msgid "remained"
437
  msgstr "осталось"
438
 
439
- #: admin/pages/settings.php:321
440
  msgid "Right"
441
  msgstr "Справа"
442
 
@@ -448,95 +562,109 @@ msgstr "Поиск"
448
  msgid "Search..."
449
  msgstr "Запрос для поиска"
450
 
451
- #: admin/pages/settings.php:217
452
  msgid "Select a font for the text in the featured image"
453
  msgstr "Шрифт текста на изображении поста"
454
 
455
- #: admin/pages/settings.php:325
456
  msgid "Select how to horizontally align the text on the image"
457
  msgstr "Горизонтальное выравнивание текста на изображении поста"
458
 
459
- #: admin/pages/settings.php:340
460
  msgid "Select how to vertically align the text on the image"
461
  msgstr "Вертикальное выравнивание текста на изображении поста"
462
 
463
- #: admin/pages/settings.php:182
464
  msgid "Select image"
465
  msgstr "Выбрать изображение"
466
 
467
- #: admin/pages/settings.php:166
468
  msgid "Select the background type for the featured image"
469
  msgstr "Тип фона для изображения поста"
470
 
471
- #: admin/pages/settings.php:281
472
  msgid "Select type of text transformation"
473
  msgstr "Выберите тип преобразования текста"
474
 
475
- #: admin/views/tab-main.php:191
476
- msgid "Set featured image in posts:"
 
 
477
  msgstr "Добавлены изображения в посты:"
478
 
479
- #: admin/pages/settings.php:199
480
  msgid "Set format to save images"
481
  msgstr "В каком формате сохранять изображения поста"
482
 
483
- #: admin/pages/settings.php:175
 
 
 
 
484
  msgid "Set the background color for the featured image"
485
  msgstr "Цвет фона для изображения поста"
486
 
487
- #: admin/pages/settings.php:184
488
  msgid "Set the background image. Only JPG or PNG"
489
  msgstr "Изображение для фона. Только JPG или PNG"
490
 
491
- #: admin/pages/settings.php:235
492
  msgid "Set the font color for the featured image"
493
  msgstr "Цвет шрифта на изображении поста"
494
 
495
- #: admin/pages/settings.php:228
496
  msgid "Set the font size for the featured image"
497
  msgstr "Размер шрифта на изображении поста"
498
 
499
- #: admin/pages/settings.php:301
500
  msgid "Set the line spacing"
501
  msgstr "Интервал между строками текста (коэффициент от размера шрифта)"
502
 
503
- #: admin/pages/settings.php:291
504
  msgid "Set the maximum text length"
505
  msgstr "Максимальная длинна текста (обрезается по словам)"
506
 
507
- #: admin/pages/settings.php:267
508
  msgid "Set the shadow color for the text"
509
  msgstr "Цвет тени для текста"
510
 
511
- #: admin/pages/settings.php:47
 
 
 
 
512
  msgid "Settings"
513
  msgstr "Настройки"
514
 
515
- #: admin/views/tab-settings.php:38
516
- msgid "Settings of"
517
- msgstr "Настройки"
518
 
519
- #: admin/pages/settings.php:46
520
  msgid "Settings of APT"
521
  msgstr "Настройки Auto Featured Image"
522
 
523
- #: admin/pages/settings.php:266
524
  msgid "Shadow color"
525
  msgstr "Цвет тени"
526
 
527
- #: includes/class-apt.php:1307
528
  msgid "Standard"
529
  msgstr "Стандартные"
530
 
531
- #: admin/pages/settings.php:400
 
 
 
 
532
  msgid "String after text"
533
  msgstr "Текст после"
534
 
535
- #: admin/pages/settings.php:390
536
  msgid "String before text"
537
  msgstr "Текст до"
538
 
539
- #: admin/views/tab-license.php:126
540
  msgid "Submit Key"
541
  msgstr "Отправить ключ"
542
 
@@ -548,19 +676,19 @@ msgstr "Подписка успешно отменена"
548
  msgid "Synchronization"
549
  msgstr "Синхронизация"
550
 
551
- #: admin/pages/settings.php:290
552
  msgid "Text length"
553
  msgstr "Длина текста"
554
 
555
- #: admin/pages/settings.php:241
556
  msgid "Text settings"
557
  msgstr "Настройки текста"
558
 
559
- #: admin/pages/settings.php:253
560
  msgid "Text shadow"
561
  msgstr "Тень"
562
 
563
- #: admin/pages/settings.php:280
564
  msgid "Text transform"
565
  msgstr "Преобразование текста"
566
 
@@ -572,11 +700,23 @@ msgstr "Ваша лицензия была обновлена"
572
  msgid "The license is deactivated"
573
  msgstr "Ваша лицензия деактивирована"
574
 
575
- #: includes/class-apt.php:409
 
 
 
 
 
 
 
 
 
 
 
 
576
  msgid "This plugin has been automatically deactivated."
577
  msgstr "Этот плагин был автоматически деактивирован."
578
 
579
- #: includes/class-apt.php:1251
580
  #, php-format
581
  msgid ""
582
  "To download images from Google, specify Google API keys in the <a href='%s'>"
@@ -585,7 +725,7 @@ msgstr ""
585
  "Чтобы загружать изображения из Google, укажите ключи API Google в <a "
586
  "href='%s'>настройках</a>."
587
 
588
- #: includes/class-wapt-plugin.php:197
589
  msgid ""
590
  "To use premium features, update the <b>Auto Featured Image Premium</b> "
591
  "plugin!"
@@ -593,35 +733,43 @@ msgstr ""
593
  "Чтобы пользоваться премиум функциями, обновите плагин <b>Auto Featured Image "
594
  "Premium</b>!"
595
 
596
- #: admin/pages/settings.php:334
597
  msgid "Top"
598
  msgstr "Вверху"
599
 
600
- #: admin/pages/settings.php:360
601
  msgid "Top/bottom text padding"
602
  msgstr "Верхний/нижний отступ"
603
 
604
- #: includes/class-wapt-plugin.php:142
605
  msgid "Unset featured image"
606
  msgstr "Убрать изображение"
607
 
 
 
 
 
608
  #: admin/views/tab-license.php:22
609
  msgid "Upgrade to Premium"
610
  msgstr "Обновить до Премиум"
611
 
612
- #: includes/class-apt.php:1322
 
 
 
 
613
  msgid "Uploaded"
614
  msgstr "Загруженные"
615
 
616
- #: admin/pages/settings.php:276
617
  msgid "Uppercase"
618
  msgstr "ЗАГЛАВНЫЕ"
619
 
620
- #: includes/class-apt.php:205
621
  msgid "Use as thumbnail"
622
  msgstr "Применить изображение"
623
 
624
- #: admin/pages/settings.php:254
625
  msgid "Use text shadow?"
626
  msgstr "Рисовать тень для текста?"
627
 
@@ -629,34 +777,52 @@ msgstr "Рисовать тень для текста?"
629
  msgid "version"
630
  msgstr "версия"
631
 
632
- #: admin/pages/settings.php:339
633
  msgid "Vertical text alignment"
634
  msgstr "Вертикальное выравнивание"
635
 
636
- #: includes/class-apt.php:1279
 
 
 
 
 
 
 
 
637
  #, php-format
638
  msgid ""
639
  "What's new in version 3.7.0? Find out from <a href='%s'>the article</a> on "
640
  "our website."
641
  msgstr ""
 
 
642
 
643
- #: includes/class-wapt-plugin.php:219
 
 
 
 
644
  msgid "With image"
645
  msgstr "С изображением"
646
 
647
- #: includes/class-wapt-plugin.php:262
648
  msgid "Without featured image"
649
  msgstr "Без изображения"
650
 
651
- #: includes/class-wapt-plugin.php:220
652
  msgid "Without image"
653
  msgstr "Без изображения"
654
 
655
- #: admin/pages/settings.php:453
656
  msgid "You can get API key after registration on the site"
657
  msgstr "Вы можете получить API ключ на сайте"
658
 
659
- #: includes/image-search/class-google-images.php:62
 
 
 
 
660
  #, php-format
661
  msgid ""
662
  "You have reached the limit at the moment. Try again in an 1 hour or <a "
@@ -665,10 +831,6 @@ msgstr ""
665
  "На данный момент Вы достигли лимита запросов. Повторите попытку через 1 час "
666
  "или <a href=\"%s\">обновите до Premium</a>"
667
 
668
- #: admin/views/tab-main.php:132
669
- msgid "You must enable Javascript in order to proceed!"
670
- msgstr "Вам нужно включить JavaScript чтобы продолжить!"
671
-
672
  #: admin/views/tab-license.php:58
673
  msgid ""
674
  "You use a paid subscription for the plugin updates. In case you don’t want "
3
  "Project-Id-Version: Auto Featured Image\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-07-23 08:21+0000\n"
6
+ "PO-Revision-Date: 2021-07-07 12:31+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Русский\n"
9
  "Language: ru_RU\n"
24
  "<a href=\"%s\" target=\"_blank\" rel=\"noopener\">Узнать больше</a> о "
25
  "премиум версии и получить лицензионный ключ!"
26
 
27
+ #: admin/pages/about.php:61
28
  msgid "About"
29
  msgstr "О плагине"
30
 
31
+ #: admin/pages/about.php:60
32
  msgid "About APT"
33
  msgstr "О плагине Auto Featured Image"
34
 
35
  #: admin/views/tab-license.php:11
36
  #, php-format
37
  msgid "Activate %s"
38
+ msgstr "Активировать %s"
39
 
40
  #: admin/views/tab-license.php:84
41
  msgid "active sites"
42
  msgstr "активных сайтов"
43
 
44
+ #: admin/pages/settings.php:128
45
  msgid "Add featured image when saving a post"
46
  msgstr "Добавлять featured image во время сохранения поста"
47
 
48
+ #: includes/class-plugin.php:263
49
  msgid "Add from APT"
50
  msgstr "Добавить через APT"
51
 
52
+ #: admin/pages/image.php:419
53
  msgid "Addition of text"
54
  msgstr "Добавление текста"
55
 
56
+ #: admin/pages/image.php:437
57
  msgid "Additional string after text. For a line break, use <b>[br]</b>"
58
  msgstr ""
59
  "Дополнительный текст после текста. Для переноса строки используйте <b>[br]"
60
  "</b>"
61
 
62
+ #: admin/pages/image.php:427
63
  msgid "Additional string before text. For a line break, use <b>[br]</b>"
64
  msgstr ""
65
  "Дополнительный текст перед текстом. Для переноса строки используйте <b>[br]"
66
  "</b>"
67
 
68
+ #: admin/pages/image.php:355
69
  msgid "Alignment"
70
  msgstr "Выравнивание"
71
 
72
+ #: admin/pages/generate.php:143
73
+ #, fuzzy
74
+ #| msgid "All done! Processed posts:"
75
+ msgid "All done! Processed posts: "
76
  msgstr "Завершено! Обработано постов: "
77
 
78
+ #: admin/pages/settings.php:224
 
 
 
 
79
  msgid "API key for Google"
80
  msgstr "API ключ Google"
81
 
83
  msgid "API key is missing. Add it in APT settings"
84
  msgstr "Ключ API не задан. Добавьте его в настройках Auto Featured Image"
85
 
86
+ #: auto-post-thumbnail.php:42 includes/class-plugin.php:351
87
+ #: admin/pages/generate.php:108
88
  msgid "Auto Featured Image"
89
  msgstr "Auto Featured Image"
90
 
92
  msgid "Auto Featured Image (Auto Post Thumbnail)"
93
  msgstr "Auto Featured Image (Auto Post Thumbnail)"
94
 
95
+ #: includes/class-plugin.php:263
96
  msgid "Auto Featured Images"
97
  msgstr "Auto Featured Images"
98
 
99
+ #: admin/pages/settings.php:184
100
+ msgid "Auto images import"
101
+ msgstr "Автоимпорт изображений в медиабиблиотеку"
102
+
103
+ #: admin/pages/settings.php:130
104
  msgid "Automatically add featured image when saving a post"
105
  msgstr "Автоматически добавлять featured image во время сохранения поста"
106
 
116
  "избранное изображение из заголовка. Нативный поиск изображений в фотобанках "
117
  "для Elementor, Gutenberg, Classic Editor."
118
 
119
+ #: admin/pages/image.php:203
120
  msgid "Background color for the image"
121
  msgstr "Цвет фона"
122
 
123
+ #: admin/pages/image.php:213
124
  msgid "Background image"
125
  msgstr "Фоновое изображение"
126
 
127
+ #: admin/pages/image.php:182
128
  msgid "Background settings"
129
  msgstr "Настройки фона"
130
 
131
+ #: admin/pages/image.php:194
132
  msgid "Background type"
133
  msgstr "Тип фона"
134
 
135
+ #: admin/pages/settings.php:121
136
+ msgid "Basic plugin settings"
137
+ msgstr "Основные настройки"
138
 
139
+ #: admin/pages/image.php:380
140
  msgid "Bottom"
141
  msgstr "Внизу"
142
 
151
  "этой странице</a> авторизуйтесь при помощи e-mail который указывали при "
152
  "покупке."
153
 
154
+ #: admin/pages/image.php:364 admin/pages/image.php:379
155
  msgid "Center"
156
  msgstr "По центру"
157
 
158
+ #: includes/class-apt.php:810 includes/class-plugin.php:195
159
  msgid "Change featured image"
160
  msgstr "Изменить изображение"
161
 
162
+ #: admin/pages/image.php:336
163
  msgid "chars"
164
  msgstr "символов"
165
 
166
+ #: admin/pages/image.php:190
 
 
 
 
167
  msgid "Color"
168
  msgstr "Цвет"
169
 
172
  msgstr "Коммерческое и производное использование"
173
 
174
  #. Author of the plugin
175
+ #, fuzzy
176
+ #| msgid "Creativemotion <support@cm-wp.com>"
177
+ msgid "Creative Motion <support@cm-wp.com>"
178
  msgstr "Creativemotion <support@cm-wp.com>"
179
 
180
  #: admin/views/tab-license.php:105
181
  msgid "day(s)"
182
  msgstr "дней"
183
 
184
+ #: admin/pages/generate.php:146
185
+ #, fuzzy
186
+ #| msgid "Delete featured image in posts:"
187
+ msgid "Delete featured image in posts: "
188
  msgstr "Убраны изображения из постов:"
189
 
190
+ #: admin/views/tab-generate.php:149
191
  msgid "Delete Featured images"
192
  msgstr "Убрать изображения"
193
 
195
  msgid "Delete Key"
196
  msgstr "Удалить ключ"
197
 
198
+ #: admin/pages/settings.php:169 admin/pages/settings.php:171
199
  msgid "Delete settings when removing the plugin"
200
  msgstr "Удалять настройки при удалении плагина"
201
 
203
  msgid "domain"
204
  msgstr "домен"
205
 
206
+ #: includes/class.generate-result.php:71
207
+ msgid "Done"
208
+ msgstr "Успешно"
209
+
210
  #: admin/views/tab-license.php:94
211
  msgid "EXPIRED!"
212
  msgstr "ИСТЕКЛО!"
213
 
214
+ #: includes/class-plugin.php:448
215
  msgid "Featured Image"
216
  msgstr "Изображение"
217
 
218
+ #: admin/pages/settings.php:145
219
  msgid "Featured image"
220
  msgstr "Избранное изображение"
221
 
222
+ #: includes/class.generate-result.php:50 admin/pages/settings.php:138
223
  msgid "Find in post"
224
  msgstr "Искать в посте"
225
 
226
+ #: includes/class.generate-result.php:52 admin/pages/settings.php:140
227
+ msgid "Find or generate"
228
+ msgstr "Найти или сгенерировать"
229
+
230
+ #: includes/class.generate-result.php:54 admin/pages/settings.php:142
231
+ msgid "Find or Google"
232
+ msgstr "Найти или Google"
233
+
234
+ #: admin/pages/image.php:284
235
  msgid "Font color"
236
  msgstr "Цвет шрифта"
237
 
238
+ #: admin/pages/image.php:265
239
  msgid "Font name"
240
  msgstr "Шрифт"
241
 
242
+ #: admin/pages/image.php:257
243
  msgid "Font settings"
244
  msgstr "Настройки шрифта"
245
 
246
+ #: admin/pages/image.php:277
247
  msgid "Font size"
248
  msgstr "Размер шрифта"
249
 
250
+ #: admin/pages/settings.php:121
251
  msgid "General"
252
  msgstr "Основные"
253
 
254
+ #: admin/pages/settings.php:70
255
+ msgid "General settings"
256
+ msgstr "Настройки"
257
+
258
+ #: includes/class-plugin.php:503
259
  msgid "Generate"
260
  msgstr "Генерировать"
261
 
262
+ #: includes/class-plugin.php:371
263
  msgid "Generate featured image"
264
  msgstr "Генерировать изображение"
265
 
266
+ #: admin/views/tab-generate.php:144
267
  msgid "Generate Featured images"
268
  msgstr "Сгенерировать изображения"
269
 
270
+ #: admin/pages/settings.php:161
271
+ msgid "Generate for post types"
272
+ msgstr "Генерировать для типов постов"
 
 
 
 
273
 
274
+ #: includes/class.generate-result.php:51 admin/pages/settings.php:139
275
  msgid "Generate from title"
276
  msgstr "Генерировать из заголовка"
277
 
278
+ #: admin/pages/generate.php:110 admin/pages/generate.php:111
279
+ #: admin/pages/generate.php:112
280
+ msgid "Generate images"
281
+ msgstr "Генератор "
282
+
283
+ #: admin/views/tab-generate.php:170
284
+ msgid "Generation log"
285
+ msgstr "Лог генерации"
286
+
287
+ #: admin/views/tab-generate.php:171
288
+ msgid "Generation log shows the last 100 generated images."
289
+ msgstr "Лог генерации показывает последние 100 сгенерированных изображений"
290
+
291
+ #: admin/views/tab-generate.php:180
292
+ msgid "Generation type"
293
+ msgstr "Тип генерации"
294
+
295
+ #: includes/class.generate-result.php:53 admin/pages/settings.php:141
296
+ msgid "Google"
297
+ msgstr "Google"
298
+
299
+ #: admin/pages/settings.php:205 admin/pages/settings.php:211
300
+ msgid "Google API"
301
+ msgstr "Google API"
302
+
303
+ #: admin/pages/settings.php:232
304
  msgid "Google Custom Search Engine ID"
305
  msgstr "Google Custom Search Engine ID"
306
 
312
  msgid "Have a key to activate the premium version? Paste it here:"
313
  msgstr "Есть ключ для активации премиум версии? Вставьте его сюда:"
314
 
315
+ #: admin/pages/image.php:368
316
  msgid "Horizontal text alignment"
317
  msgstr "Горизонтальное выравнивание"
318
 
319
+ #: admin/pages/settings.php:146
320
  msgid ""
321
  "How to generate featured image:\n"
322
  "\t\t\t\t\t\t\t<br> <b>Find in post:</b> search for the first image in the "
323
  "post text\n"
324
  "\t\t\t\t\t\t\t<br> <b>Generate from title:</b> created from the title on a "
325
  "colored background\n"
326
+ "\t\t\t\t\t\t\t<br> <b>Find or generate:</b> find an image in the post text, "
327
+ "if it is not present, generate it from the title\n"
328
+ "\t\t\t\t\t\t\t<br> <b>Google:</b> search for an image by title of the post "
329
+ "in Google\n"
330
+ "\t\t\t\t\t\t\t<br> <b>Find or Google:</b> find an image in the post text, if "
331
+ "it is not present, search for an image by title of the post in Google"
332
  msgstr ""
333
+ "Как генерировать изображения:\n"
334
+ "<br> <b>Найти в посте:</b> искать первое изображение в тексте поста\n"
335
+ "<br> <b>Генерировать из заголовка:</b> создать изображение из заголовка "
336
+ "поста на цветном фоне\n"
337
+ "<br> <b>Найти или сгенерировать:</b> искать первое изображение в тексте "
338
+ "поста, если его нет сгенерировать из заголовка\n"
339
+ "<br> <b>Google:</b> искать изображение в Google по заголовку поста\n"
340
+ "<br> <b>Найти или Google:</b> искать первое изображение в тексте поста, если "
341
+ "его нет, искать изображение в Google по заголовку поста"
342
+
343
+ #: admin/pages/settings.php:211
344
  msgid "How to get google api key & custom search engine id"
345
  msgstr "Как получить Google API key и Custom Search Engine ID"
346
 
347
+ #. Author URI of the plugin
348
+ msgid "https://cm-wp.com"
349
+ msgstr "https://cm-wp.com"
350
+
351
  #. URI of the plugin
352
  msgid "https://cm-wp.com/apt"
353
  msgstr "https://cm-wp.com/apt"
354
 
355
+ #: includes/class-plugin.php:324 admin/pages/image.php:74
356
+ #: admin/pages/image.php:191
357
  msgid "Image"
358
  msgstr "Изображение"
359
 
360
+ #: admin/pages/image.php:229
361
  msgid "Image format"
362
  msgstr "Формат изображения"
363
 
364
+ #: admin/pages/image.php:73
365
+ msgid "Image generation settings"
366
+ msgstr "Настройки генерации изображений"
367
+
368
+ #: admin/views/tab-generate.php:179
369
+ msgid "Image size"
370
+ msgstr "Размер изображения"
371
+
372
+ #: admin/pages/image.php:249
373
+ msgid "Image size: height"
374
+ msgstr "Размер изображения: высота"
375
+
376
+ #: admin/pages/image.php:239
377
+ msgid "Image size: width"
378
+ msgstr "Размер изображения: ширина"
379
+
380
+ #: admin/pages/settings.php:177
381
+ msgid "Images import settings"
382
+ msgstr "Настройки импорта изображений в медиабиблиотеку"
383
+
384
+ #: admin/pages/settings.php:177
385
+ msgid "Import"
386
+ msgstr "Импорт изображений"
387
 
388
+ #: admin/pages/settings.php:196
389
+ msgid "Import for post types"
390
+ msgstr "Импортировать для типов постов"
391
+
392
+ #: admin/pages/settings.php:186
393
+ msgid ""
394
+ "Import post images to the media library and replacing them in the text when "
395
+ "saving the post"
396
+ msgstr ""
397
+ "Импортировать изображения в медиабиблиотеку и заменить их в тексте при "
398
+ "сохранении сообщения"
399
+
400
+ #: admin/pages/image.php:225
401
  msgid "JPEG"
402
  msgstr "JPEG"
403
 
404
+ #: admin/pages/image.php:363
405
  msgid "Left"
406
  msgstr "Слева"
407
 
408
+ #: admin/pages/image.php:411
409
  msgid "Left/right text padding"
410
  msgstr "Левый/правый отступ"
411
 
412
+ #: admin/pages/license.php:96
413
+ msgid "License"
414
+ msgstr "Лицензия"
415
+
416
  #: admin/ajax/check-license.php:38
417
  msgid ""
418
  "License key is empty or license key too long (license key is 32 characters "
421
  "Лицензионный ключ пуст или слишком длинный (длина лицензионного ключа "
422
  "составляет 32 символа)"
423
 
424
+ #: admin/pages/license.php:97
425
  msgid "License of APT"
426
  msgstr "Лицензия Auto Featured Image"
427
 
429
  msgid "Licensing action not passed or this action is prohibited!"
430
  msgstr "Licensing action not passed or this action is prohibited!"
431
 
432
+ #: admin/pages/image.php:348
433
  msgid "Line spacing"
434
  msgstr "Межстрочный интервал"
435
 
436
+ #: admin/pages/log.php:90
437
+ msgid "Logs"
438
+ msgstr "Логи"
439
+
440
+ #: admin/pages/image.php:325
441
  msgid "Lowercase"
442
  msgstr "строчные"
443
 
449
  msgid "No hits"
450
  msgstr "Нет результатов"
451
 
452
+ #: includes/class-apt.php:807
453
  msgid "No image"
454
  msgstr "Нет изображений"
455
 
456
+ #: includes/class-apt.php:536
457
+ msgid "No images found or generated"
458
+ msgstr "Изображения не найдены или не сгенерированы"
459
+
460
+ #: admin/pages/image.php:323
461
  msgid "No transform"
462
  msgstr "Нет"
463
 
464
+ #: admin/views/tab-generate.php:165
465
  msgid ""
466
  "Note: Thumbnails won't be generated for posts that already have post "
467
  "thumbnail or <strong><em>skip_post_thumb</em></strong> custom meta field."
474
  msgid "of"
475
  msgstr "из"
476
 
477
+ #: admin/views/tab-generate.php:27
478
+ msgid "of your posts have a featured image"
479
+ msgstr "постов имеют изображение"
480
+
481
+ #: admin/pages/image.php:391
482
  msgid "Padding"
483
  msgstr "Отступы"
484
 
485
+ #: admin/pages/image.php:412
486
  msgid "Padding at the left and right of the text"
487
  msgstr "Отступ слева и справа от текста"
488
 
489
+ #: admin/pages/image.php:401
490
  msgid "Padding at the top and bottom of the text"
491
  msgstr "Отступ сверху и снизу от текста"
492
 
493
+ #: admin/views/tab-generate.php:80
494
  msgid "Pages"
495
  msgstr "Страницы"
496
 
502
  msgid "please update the key"
503
  msgstr ""
504
 
505
+ #: admin/pages/log.php:78
506
+ msgid "Plugin logs"
507
+ msgstr "Логи плагина"
508
+
509
+ #: admin/pages/image.php:226
510
  msgid "PNG"
511
  msgstr "PNG"
512
 
513
+ #: admin/pages/image.php:131
514
+ msgid "Post thumbnail preview"
515
+ msgstr "Предварительный просмотр изображения"
516
+
517
+ #: admin/views/tab-generate.php:178
518
+ msgid "Post title"
519
+ msgstr "Пост"
520
+
521
+ #: admin/views/tab-generate.php:75
522
+ msgid "Post type"
523
+ msgstr "Тип поста"
524
+
525
+ #: admin/views/tab-generate.php:79
526
  msgid "Posts"
527
  msgstr "Посты"
528
 
530
  msgid "Prev"
531
  msgstr "Предыдущая"
532
 
533
+ #: includes/class-plugin.php:418
534
  msgid "Processed posts: "
535
  msgstr "Обработано постов:"
536
 
542
  "type of a license."
543
  msgstr ""
544
 
545
+ #: admin/pages/image.php:398 admin/pages/image.php:409
546
  msgid "px"
547
  msgstr "px"
548
 
550
  msgid "remained"
551
  msgstr "осталось"
552
 
553
+ #: admin/pages/image.php:365
554
  msgid "Right"
555
  msgstr "Справа"
556
 
562
  msgid "Search..."
563
  msgstr "Запрос для поиска"
564
 
565
+ #: admin/pages/image.php:266
566
  msgid "Select a font for the text in the featured image"
567
  msgstr "Шрифт текста на изображении поста"
568
 
569
+ #: admin/pages/image.php:369
570
  msgid "Select how to horizontally align the text on the image"
571
  msgstr "Горизонтальное выравнивание текста на изображении поста"
572
 
573
+ #: admin/pages/image.php:384
574
  msgid "Select how to vertically align the text on the image"
575
  msgstr "Вертикальное выравнивание текста на изображении поста"
576
 
577
+ #: admin/pages/image.php:212
578
  msgid "Select image"
579
  msgstr "Выбрать изображение"
580
 
581
+ #: admin/pages/image.php:195
582
  msgid "Select the background type for the featured image"
583
  msgstr "Тип фона для изображения поста"
584
 
585
+ #: admin/pages/image.php:329
586
  msgid "Select type of text transformation"
587
  msgstr "Выберите тип преобразования текста"
588
 
589
+ #: admin/pages/generate.php:144
590
+ #, fuzzy
591
+ #| msgid "Set featured image in posts:"
592
+ msgid "Set featured image in posts: "
593
  msgstr "Добавлены изображения в посты:"
594
 
595
+ #: admin/pages/image.php:230
596
  msgid "Set format to save images"
597
  msgstr "В каком формате сохранять изображения поста"
598
 
599
+ #: admin/pages/image.php:250
600
+ msgid "Set height of the image for the featured image"
601
+ msgstr "Установите высоту изображения для выбранного изображения"
602
+
603
+ #: admin/pages/image.php:204
604
  msgid "Set the background color for the featured image"
605
  msgstr "Цвет фона для изображения поста"
606
 
607
+ #: admin/pages/image.php:214
608
  msgid "Set the background image. Only JPG or PNG"
609
  msgstr "Изображение для фона. Только JPG или PNG"
610
 
611
+ #: admin/pages/image.php:285
612
  msgid "Set the font color for the featured image"
613
  msgstr "Цвет шрифта на изображении поста"
614
 
615
+ #: admin/pages/image.php:278
616
  msgid "Set the font size for the featured image"
617
  msgstr "Размер шрифта на изображении поста"
618
 
619
+ #: admin/pages/image.php:349
620
  msgid "Set the line spacing"
621
  msgstr "Интервал между строками текста (коэффициент от размера шрифта)"
622
 
623
+ #: admin/pages/image.php:339
624
  msgid "Set the maximum text length"
625
  msgstr "Максимальная длинна текста (обрезается по словам)"
626
 
627
+ #: admin/pages/image.php:314
628
  msgid "Set the shadow color for the text"
629
  msgstr "Цвет тени для текста"
630
 
631
+ #: admin/pages/image.php:240
632
+ msgid "Set width of the image for the featured image"
633
+ msgstr "Установите ширину изображения для выбранного изображения"
634
+
635
+ #: admin/pages/settings.php:69
636
  msgid "Settings"
637
  msgstr "Настройки"
638
 
639
+ #: admin/pages/settings.php:205
640
+ msgid "Settings connecting to the Google API service"
641
+ msgstr "Настройки подключения к Google API"
642
 
643
+ #: admin/pages/settings.php:68
644
  msgid "Settings of APT"
645
  msgstr "Настройки Auto Featured Image"
646
 
647
+ #: admin/pages/image.php:313
648
  msgid "Shadow color"
649
  msgstr "Цвет тени"
650
 
651
+ #: includes/class-apt.php:1141
652
  msgid "Standard"
653
  msgstr "Стандартные"
654
 
655
+ #: admin/views/tab-generate.php:181
656
+ msgid "Status"
657
+ msgstr "Статус"
658
+
659
+ #: admin/pages/image.php:436
660
  msgid "String after text"
661
  msgstr "Текст после"
662
 
663
+ #: admin/pages/image.php:426
664
  msgid "String before text"
665
  msgstr "Текст до"
666
 
667
+ #: admin/views/tab-license.php:129
668
  msgid "Submit Key"
669
  msgstr "Отправить ключ"
670
 
676
  msgid "Synchronization"
677
  msgstr "Синхронизация"
678
 
679
+ #: admin/pages/image.php:338
680
  msgid "Text length"
681
  msgstr "Длина текста"
682
 
683
+ #: admin/pages/image.php:292
684
  msgid "Text settings"
685
  msgstr "Настройки текста"
686
 
687
+ #: admin/pages/image.php:300
688
  msgid "Text shadow"
689
  msgstr "Тень"
690
 
691
+ #: admin/pages/image.php:328
692
  msgid "Text transform"
693
  msgstr "Преобразование текста"
694
 
700
  msgid "The license is deactivated"
701
  msgstr "Ваша лицензия деактивирована"
702
 
703
+ #: includes/class-apt.php:481
704
+ msgid "The post has already been assigned a featured image"
705
+ msgstr "Посту уже назначено изображение"
706
+
707
+ #: includes/class-apt.php:473
708
+ msgid "The post type is not allowed for generation in settings"
709
+ msgstr "Тип записи не разрешен для генерации в настройках"
710
+
711
+ #: includes/class-apt.php:461
712
+ msgid "The post was not found"
713
+ msgstr "Пост не найден"
714
+
715
+ #: includes/class-plugin.php:282
716
  msgid "This plugin has been automatically deactivated."
717
  msgstr "Этот плагин был автоматически деактивирован."
718
 
719
+ #: includes/class-apt.php:1110
720
  #, php-format
721
  msgid ""
722
  "To download images from Google, specify Google API keys in the <a href='%s'>"
725
  "Чтобы загружать изображения из Google, укажите ключи API Google в <a "
726
  "href='%s'>настройках</a>."
727
 
728
+ #: includes/class-plugin.php:428
729
  msgid ""
730
  "To use premium features, update the <b>Auto Featured Image Premium</b> "
731
  "plugin!"
733
  "Чтобы пользоваться премиум функциями, обновите плагин <b>Auto Featured Image "
734
  "Premium</b>!"
735
 
736
+ #: admin/pages/image.php:378
737
  msgid "Top"
738
  msgstr "Вверху"
739
 
740
+ #: admin/pages/image.php:400
741
  msgid "Top/bottom text padding"
742
  msgstr "Верхний/нижний отступ"
743
 
744
+ #: includes/class-plugin.php:372
745
  msgid "Unset featured image"
746
  msgstr "Убрать изображение"
747
 
748
+ #: admin/pages/generate.php:145
749
+ msgid "Unset featured image in posts: "
750
+ msgstr "Удалено изображение в постах: "
751
+
752
  #: admin/views/tab-license.php:22
753
  msgid "Upgrade to Premium"
754
  msgstr "Обновить до Премиум"
755
 
756
+ #: includes/class-plugin.php:373
757
+ msgid "Upload post images"
758
+ msgstr "Импортировать изображения"
759
+
760
+ #: includes/class-apt.php:1156
761
  msgid "Uploaded"
762
  msgstr "Загруженные"
763
 
764
+ #: admin/pages/image.php:324
765
  msgid "Uppercase"
766
  msgstr "ЗАГЛАВНЫЕ"
767
 
768
+ #: includes/class-plugin.php:194
769
  msgid "Use as thumbnail"
770
  msgstr "Применить изображение"
771
 
772
+ #: admin/pages/image.php:301
773
  msgid "Use text shadow?"
774
  msgstr "Рисовать тень для текста?"
775
 
777
  msgid "version"
778
  msgstr "версия"
779
 
780
+ #: admin/pages/image.php:383
781
  msgid "Vertical text alignment"
782
  msgstr "Вертикальное выравнивание"
783
 
784
+ #: admin/pages/settings.php:162
785
+ msgid "What types of posts to generate images for"
786
+ msgstr "Для каких типов постов генерировать изображения"
787
+
788
+ #: admin/pages/settings.php:197
789
+ msgid "What types of posts to import images for"
790
+ msgstr "Для каких типов постов импортировать изображения"
791
+
792
+ #: includes/class-plugin.php:297
793
  #, php-format
794
  msgid ""
795
  "What's new in version 3.7.0? Find out from <a href='%s'>the article</a> on "
796
  "our website."
797
  msgstr ""
798
+ "Что нового в версии 3.7.0? Узнайте об этом <a href='%s'>в статье</a> на "
799
+ "нашем веб-сайте."
800
 
801
+ #: admin/views/tab-generate.php:42
802
+ msgid "With featured image"
803
+ msgstr "С изображением"
804
+
805
+ #: includes/class-plugin.php:448
806
  msgid "With image"
807
  msgstr "С изображением"
808
 
809
+ #: includes/class-plugin.php:489 admin/views/tab-generate.php:37
810
  msgid "Without featured image"
811
  msgstr "Без изображения"
812
 
813
+ #: includes/class-plugin.php:448
814
  msgid "Without image"
815
  msgstr "Без изображения"
816
 
817
+ #: admin/pages/settings.php:233
818
  msgid "You can get API key after registration on the site"
819
  msgstr "Вы можете получить API ключ на сайте"
820
 
821
+ #: includes/image-search/class-google-images.php:69
822
+ msgid "You have reached the limit at the moment. Try again in an 1 hour"
823
+ msgstr "На данный момент вы достигли лимита. Повторите попытку через 1 час"
824
+
825
+ #: includes/image-search/class-google-images.php:70
826
  #, php-format
827
  msgid ""
828
  "You have reached the limit at the moment. Try again in an 1 hour or <a "
831
  "На данный момент Вы достигли лимита запросов. Повторите попытку через 1 час "
832
  "или <a href=\"%s\">обновите до Premium</a>"
833
 
 
 
 
 
834
  #: admin/views/tab-license.php:58
835
  msgid ""
836
  "You use a paid subscription for the plugin updates. In case you don’t want "
languages/apt.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Auto Featured Image\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2021-02-10 12:52+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
@@ -22,11 +22,11 @@ msgid ""
22
  "premium version and get the license key to activate it now!"
23
  msgstr ""
24
 
25
- #: admin/pages/about.php:46
26
  msgid "About"
27
  msgstr ""
28
 
29
- #: admin/pages/about.php:45
30
  msgid "About APT"
31
  msgstr ""
32
 
@@ -39,39 +39,35 @@ msgstr ""
39
  msgid "active sites"
40
  msgstr ""
41
 
42
- #: admin/pages/settings.php:100
43
  msgid "Add featured image when saving a post"
44
  msgstr ""
45
 
46
- #: includes/class-apt.php:931
47
  msgid "Add from APT"
48
  msgstr ""
49
 
50
- #: admin/pages/settings.php:379
51
  msgid "Addition of text"
52
  msgstr ""
53
 
54
- #: admin/pages/settings.php:401
55
  msgid "Additional string after text. For a line break, use <b>[br]</b>"
56
  msgstr ""
57
 
58
- #: admin/pages/settings.php:391
59
  msgid "Additional string before text. For a line break, use <b>[br]</b>"
60
  msgstr ""
61
 
62
- #: admin/pages/settings.php:307
63
  msgid "Alignment"
64
  msgstr ""
65
 
66
- #: admin/views/tab-main.php:191 admin/views/tab-main.php:254
67
- msgid "All done! Processed posts:"
68
  msgstr ""
69
 
70
- #: admin/views/tab-settings.php:21
71
- msgid "API"
72
- msgstr ""
73
-
74
- #: admin/pages/settings.php:444
75
  msgid "API key for Google"
76
  msgstr ""
77
 
@@ -79,8 +75,8 @@ msgstr ""
79
  msgid "API key is missing. Add it in APT settings"
80
  msgstr ""
81
 
82
- #: auto-post-thumbnail.php:42 includes/class-apt.php:957
83
- #: admin/pages/generate.php:100
84
  msgid "Auto Featured Image"
85
  msgstr ""
86
 
@@ -88,11 +84,15 @@ msgstr ""
88
  msgid "Auto Featured Image (Auto Post Thumbnail)"
89
  msgstr ""
90
 
91
- #: includes/class-apt.php:931
92
  msgid "Auto Featured Images"
93
  msgstr ""
94
 
95
- #: admin/pages/settings.php:102
 
 
 
 
96
  msgid "Automatically add featured image when saving a post"
97
  msgstr ""
98
 
@@ -104,27 +104,27 @@ msgid ""
104
  "Classic Editor."
105
  msgstr ""
106
 
107
- #: admin/pages/settings.php:174
108
  msgid "Background color for the image"
109
  msgstr ""
110
 
111
- #: admin/pages/settings.php:183
112
  msgid "Background image"
113
  msgstr ""
114
 
115
- #: admin/pages/settings.php:149
116
  msgid "Background settings"
117
  msgstr ""
118
 
119
- #: admin/pages/settings.php:165
120
  msgid "Background type"
121
  msgstr ""
122
 
123
- #: admin/pages/settings.php:112
124
- msgid "Both"
125
  msgstr ""
126
 
127
- #: admin/pages/settings.php:336
128
  msgid "Bottom"
129
  msgstr ""
130
 
@@ -136,23 +136,19 @@ msgid ""
136
  "purchase."
137
  msgstr ""
138
 
139
- #: admin/pages/settings.php:320 admin/pages/settings.php:335
140
  msgid "Center"
141
  msgstr ""
142
 
143
- #: includes/class-apt.php:206 includes/class-apt.php:914
144
  msgid "Change featured image"
145
  msgstr ""
146
 
147
- #: admin/pages/settings.php:288
148
  msgid "chars"
149
  msgstr ""
150
 
151
- #. Author URI of the plugin
152
- msgid "cm-wp.com"
153
- msgstr ""
154
-
155
- #: admin/pages/settings.php:161
156
  msgid "Color"
157
  msgstr ""
158
 
@@ -161,18 +157,18 @@ msgid "Commercial and derived use"
161
  msgstr ""
162
 
163
  #. Author of the plugin
164
- msgid "Creativemotion <support@cm-wp.com>"
165
  msgstr ""
166
 
167
  #: admin/views/tab-license.php:105
168
  msgid "day(s)"
169
  msgstr ""
170
 
171
- #: admin/views/tab-main.php:254
172
- msgid "Delete featured image in posts:"
173
  msgstr ""
174
 
175
- #: admin/views/tab-main.php:112
176
  msgid "Delete Featured images"
177
  msgstr ""
178
 
@@ -180,7 +176,7 @@ msgstr ""
180
  msgid "Delete Key"
181
  msgstr ""
182
 
183
- #: admin/pages/settings.php:126 admin/pages/settings.php:128
184
  msgid "Delete settings when removing the plugin"
185
  msgstr ""
186
 
@@ -188,67 +184,104 @@ msgstr ""
188
  msgid "domain"
189
  msgstr ""
190
 
 
 
 
 
191
  #: admin/views/tab-license.php:94
192
  msgid "EXPIRED!"
193
  msgstr ""
194
 
195
- #: includes/class-wapt-plugin.php:218
196
  msgid "Featured Image"
197
  msgstr ""
198
 
199
- #: admin/pages/settings.php:115
200
  msgid "Featured image"
201
  msgstr ""
202
 
203
- #: admin/pages/settings.php:110
204
  msgid "Find in post"
205
  msgstr ""
206
 
207
- #: admin/pages/settings.php:234
 
 
 
 
 
 
 
 
208
  msgid "Font color"
209
  msgstr ""
210
 
211
- #: admin/pages/settings.php:216
212
  msgid "Font name"
213
  msgstr ""
214
 
215
- #: admin/pages/settings.php:204
216
  msgid "Font settings"
217
  msgstr ""
218
 
219
- #: admin/pages/settings.php:227
220
  msgid "Font size"
221
  msgstr ""
222
 
223
- #: admin/views/tab-settings.php:9
224
  msgid "General"
225
  msgstr ""
226
 
227
- #: includes/class-wapt-plugin.php:276
 
 
 
 
228
  msgid "Generate"
229
  msgstr ""
230
 
231
- #: includes/class-wapt-plugin.php:141
232
  msgid "Generate featured image"
233
  msgstr ""
234
 
235
- #: admin/views/tab-main.php:107
236
  msgid "Generate Featured images"
237
  msgstr ""
238
 
239
- #: admin/pages/generate.php:101
240
- msgid "Generate featured images"
241
  msgstr ""
242
 
243
- #: admin/views/tab-main.php:2
244
- msgid "Generate Featured images for posts"
245
  msgstr ""
246
 
247
- #: admin/pages/settings.php:111
248
- msgid "Generate from title"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  msgstr ""
250
 
251
- #: admin/pages/settings.php:452
252
  msgid "Google Custom Search Engine ID"
253
  msgstr ""
254
 
@@ -260,60 +293,103 @@ msgstr ""
260
  msgid "Have a key to activate the premium version? Paste it here:"
261
  msgstr ""
262
 
263
- #: admin/pages/settings.php:324
264
  msgid "Horizontal text alignment"
265
  msgstr ""
266
 
267
- #: admin/pages/settings.php:116
268
  msgid ""
269
  "How to generate featured image:\n"
270
  "\t\t\t\t\t\t\t<br> <b>Find in post:</b> search for the first image in the "
271
  "post text\n"
272
  "\t\t\t\t\t\t\t<br> <b>Generate from title:</b> created from the title on a "
273
  "colored background\n"
274
- "\t\t\t\t\t\t\t<br> <b>Both:</b> find an image in the post text, if it is not "
275
- "present, generate it from the title"
 
 
 
 
276
  msgstr ""
277
 
278
- #: admin/pages/settings.php:427
279
  msgid "How to get google api key & custom search engine id"
280
  msgstr ""
281
 
 
 
 
 
282
  #. URI of the plugin
283
  msgid "https://cm-wp.com/apt"
284
  msgstr ""
285
 
286
- #: includes/class-apt.php:810 admin/pages/settings.php:162
 
287
  msgid "Image"
288
  msgstr ""
289
 
290
- #: admin/pages/settings.php:198
291
  msgid "Image format"
292
  msgstr ""
293
 
294
- #: admin/views/tab-settings.php:15
295
- msgid "Image generation"
 
 
 
 
296
  msgstr ""
297
 
298
- #: admin/pages/settings.php:194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
  msgid "JPEG"
300
  msgstr ""
301
 
302
- #: admin/pages/settings.php:319
303
  msgid "Left"
304
  msgstr ""
305
 
306
- #: admin/pages/settings.php:371
307
  msgid "Left/right text padding"
308
  msgstr ""
309
 
 
 
 
 
310
  #: admin/ajax/check-license.php:38
311
  msgid ""
312
  "License key is empty or license key too long (license key is 32 characters "
313
  "long)"
314
  msgstr ""
315
 
316
- #: admin/pages/license.php:94
317
  msgid "License of APT"
318
  msgstr ""
319
 
@@ -321,11 +397,15 @@ msgstr ""
321
  msgid "Licensing action not passed or this action is prohibited!"
322
  msgstr ""
323
 
324
- #: admin/pages/settings.php:300
325
  msgid "Line spacing"
326
  msgstr ""
327
 
328
- #: admin/pages/settings.php:277
 
 
 
 
329
  msgid "Lowercase"
330
  msgstr ""
331
 
@@ -337,15 +417,19 @@ msgstr ""
337
  msgid "No hits"
338
  msgstr ""
339
 
340
- #: includes/class-apt.php:911
341
  msgid "No image"
342
  msgstr ""
343
 
344
- #: admin/pages/settings.php:275
 
 
 
 
345
  msgid "No transform"
346
  msgstr ""
347
 
348
- #: admin/views/tab-main.php:130
349
  msgid ""
350
  "Note: Thumbnails won't be generated for posts that already have post "
351
  "thumbnail or <strong><em>skip_post_thumb</em></strong> custom meta field."
@@ -355,19 +439,23 @@ msgstr ""
355
  msgid "of"
356
  msgstr ""
357
 
358
- #: admin/pages/settings.php:347
 
 
 
 
359
  msgid "Padding"
360
  msgstr ""
361
 
362
- #: admin/pages/settings.php:372
363
  msgid "Padding at the left and right of the text"
364
  msgstr ""
365
 
366
- #: admin/pages/settings.php:361
367
  msgid "Padding at the top and bottom of the text"
368
  msgstr ""
369
 
370
- #: admin/views/tab-main.php:38
371
  msgid "Pages"
372
  msgstr ""
373
 
@@ -379,11 +467,27 @@ msgstr ""
379
  msgid "please update the key"
380
  msgstr ""
381
 
382
- #: admin/pages/settings.php:195
 
 
 
 
383
  msgid "PNG"
384
  msgstr ""
385
 
386
- #: admin/views/tab-main.php:37
 
 
 
 
 
 
 
 
 
 
 
 
387
  msgid "Posts"
388
  msgstr ""
389
 
@@ -391,7 +495,7 @@ msgstr ""
391
  msgid "Prev"
392
  msgstr ""
393
 
394
- #: includes/class-wapt-plugin.php:187
395
  msgid "Processed posts: "
396
  msgstr ""
397
 
@@ -403,7 +507,7 @@ msgid ""
403
  "type of a license."
404
  msgstr ""
405
 
406
- #: admin/pages/settings.php:358 admin/pages/settings.php:369
407
  msgid "px"
408
  msgstr ""
409
 
@@ -411,7 +515,7 @@ msgstr ""
411
  msgid "remained"
412
  msgstr ""
413
 
414
- #: admin/pages/settings.php:321
415
  msgid "Right"
416
  msgstr ""
417
 
@@ -423,95 +527,107 @@ msgstr ""
423
  msgid "Search..."
424
  msgstr ""
425
 
426
- #: admin/pages/settings.php:217
427
  msgid "Select a font for the text in the featured image"
428
  msgstr ""
429
 
430
- #: admin/pages/settings.php:325
431
  msgid "Select how to horizontally align the text on the image"
432
  msgstr ""
433
 
434
- #: admin/pages/settings.php:340
435
  msgid "Select how to vertically align the text on the image"
436
  msgstr ""
437
 
438
- #: admin/pages/settings.php:182
439
  msgid "Select image"
440
  msgstr ""
441
 
442
- #: admin/pages/settings.php:166
443
  msgid "Select the background type for the featured image"
444
  msgstr ""
445
 
446
- #: admin/pages/settings.php:281
447
  msgid "Select type of text transformation"
448
  msgstr ""
449
 
450
- #: admin/views/tab-main.php:191
451
- msgid "Set featured image in posts:"
452
  msgstr ""
453
 
454
- #: admin/pages/settings.php:199
455
  msgid "Set format to save images"
456
  msgstr ""
457
 
458
- #: admin/pages/settings.php:175
 
 
 
 
459
  msgid "Set the background color for the featured image"
460
  msgstr ""
461
 
462
- #: admin/pages/settings.php:184
463
  msgid "Set the background image. Only JPG or PNG"
464
  msgstr ""
465
 
466
- #: admin/pages/settings.php:235
467
  msgid "Set the font color for the featured image"
468
  msgstr ""
469
 
470
- #: admin/pages/settings.php:228
471
  msgid "Set the font size for the featured image"
472
  msgstr ""
473
 
474
- #: admin/pages/settings.php:301
475
  msgid "Set the line spacing"
476
  msgstr ""
477
 
478
- #: admin/pages/settings.php:291
479
  msgid "Set the maximum text length"
480
  msgstr ""
481
 
482
- #: admin/pages/settings.php:267
483
  msgid "Set the shadow color for the text"
484
  msgstr ""
485
 
486
- #: admin/pages/settings.php:47
 
 
 
 
487
  msgid "Settings"
488
  msgstr ""
489
 
490
- #: admin/views/tab-settings.php:38
491
- msgid "Settings of"
492
  msgstr ""
493
 
494
- #: admin/pages/settings.php:46
495
  msgid "Settings of APT"
496
  msgstr ""
497
 
498
- #: admin/pages/settings.php:266
499
  msgid "Shadow color"
500
  msgstr ""
501
 
502
- #: includes/class-apt.php:1307
503
  msgid "Standard"
504
  msgstr ""
505
 
506
- #: admin/pages/settings.php:400
 
 
 
 
507
  msgid "String after text"
508
  msgstr ""
509
 
510
- #: admin/pages/settings.php:390
511
  msgid "String before text"
512
  msgstr ""
513
 
514
- #: admin/views/tab-license.php:126
515
  msgid "Submit Key"
516
  msgstr ""
517
 
@@ -523,19 +639,19 @@ msgstr ""
523
  msgid "Synchronization"
524
  msgstr ""
525
 
526
- #: admin/pages/settings.php:290
527
  msgid "Text length"
528
  msgstr ""
529
 
530
- #: admin/pages/settings.php:241
531
  msgid "Text settings"
532
  msgstr ""
533
 
534
- #: admin/pages/settings.php:253
535
  msgid "Text shadow"
536
  msgstr ""
537
 
538
- #: admin/pages/settings.php:280
539
  msgid "Text transform"
540
  msgstr ""
541
 
@@ -547,52 +663,72 @@ msgstr ""
547
  msgid "The license is deactivated"
548
  msgstr ""
549
 
550
- #: includes/class-apt.php:409
 
 
 
 
 
 
 
 
 
 
 
 
551
  msgid "This plugin has been automatically deactivated."
552
  msgstr ""
553
 
554
- #: includes/class-apt.php:1251
555
  #, php-format
556
  msgid ""
557
  "To download images from Google, specify Google API keys in the <a href='%s'>"
558
  "settings</a>."
559
  msgstr ""
560
 
561
- #: includes/class-wapt-plugin.php:197
562
  msgid ""
563
  "To use premium features, update the <b>Auto Featured Image Premium</b> "
564
  "plugin!"
565
  msgstr ""
566
 
567
- #: admin/pages/settings.php:334
568
  msgid "Top"
569
  msgstr ""
570
 
571
- #: admin/pages/settings.php:360
572
  msgid "Top/bottom text padding"
573
  msgstr ""
574
 
575
- #: includes/class-wapt-plugin.php:142
576
  msgid "Unset featured image"
577
  msgstr ""
578
 
 
 
 
 
579
  #: admin/views/tab-license.php:22
580
  msgid "Upgrade to Premium"
581
  msgstr ""
582
 
583
- #: includes/class-apt.php:1322
 
 
 
 
584
  msgid "Uploaded"
585
  msgstr ""
586
 
587
- #: admin/pages/settings.php:276
588
  msgid "Uppercase"
589
  msgstr ""
590
 
591
- #: includes/class-apt.php:205
592
  msgid "Use as thumbnail"
593
  msgstr ""
594
 
595
- #: admin/pages/settings.php:254
596
  msgid "Use text shadow?"
597
  msgstr ""
598
 
@@ -600,44 +736,56 @@ msgstr ""
600
  msgid "version"
601
  msgstr ""
602
 
603
- #: admin/pages/settings.php:339
604
  msgid "Vertical text alignment"
605
  msgstr ""
606
 
607
- #: includes/class-apt.php:1279
 
 
 
 
 
 
 
 
608
  #, php-format
609
  msgid ""
610
  "What's new in version 3.7.0? Find out from <a href='%s'>the article</a> on "
611
  "our website."
612
  msgstr ""
613
 
614
- #: includes/class-wapt-plugin.php:219
 
 
 
 
615
  msgid "With image"
616
  msgstr ""
617
 
618
- #: includes/class-wapt-plugin.php:262
619
  msgid "Without featured image"
620
  msgstr ""
621
 
622
- #: includes/class-wapt-plugin.php:220
623
  msgid "Without image"
624
  msgstr ""
625
 
626
- #: admin/pages/settings.php:453
627
  msgid "You can get API key after registration on the site"
628
  msgstr ""
629
 
630
- #: includes/image-search/class-google-images.php:62
 
 
 
 
631
  #, php-format
632
  msgid ""
633
  "You have reached the limit at the moment. Try again in an 1 hour or <a "
634
  "href=\"%s\">Upgrade to Premium</a>"
635
  msgstr ""
636
 
637
- #: admin/views/tab-main.php:132
638
- msgid "You must enable Javascript in order to proceed!"
639
- msgstr ""
640
-
641
  #: admin/views/tab-license.php:58
642
  msgid ""
643
  "You use a paid subscription for the plugin updates. In case you don’t want "
3
  msgstr ""
4
  "Project-Id-Version: Auto Featured Image\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2021-07-07 12:30+0000\n"
7
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
  "Language-Team: \n"
22
  "premium version and get the license key to activate it now!"
23
  msgstr ""
24
 
25
+ #: admin/pages/about.php:61
26
  msgid "About"
27
  msgstr ""
28
 
29
+ #: admin/pages/about.php:60
30
  msgid "About APT"
31
  msgstr ""
32
 
39
  msgid "active sites"
40
  msgstr ""
41
 
42
+ #: admin/pages/settings.php:128
43
  msgid "Add featured image when saving a post"
44
  msgstr ""
45
 
46
+ #: includes/class-plugin.php:263
47
  msgid "Add from APT"
48
  msgstr ""
49
 
50
+ #: admin/pages/image.php:419
51
  msgid "Addition of text"
52
  msgstr ""
53
 
54
+ #: admin/pages/image.php:437
55
  msgid "Additional string after text. For a line break, use <b>[br]</b>"
56
  msgstr ""
57
 
58
+ #: admin/pages/image.php:427
59
  msgid "Additional string before text. For a line break, use <b>[br]</b>"
60
  msgstr ""
61
 
62
+ #: admin/pages/image.php:355
63
  msgid "Alignment"
64
  msgstr ""
65
 
66
+ #: admin/pages/generate.php:143
67
+ msgid "All done! Processed posts: "
68
  msgstr ""
69
 
70
+ #: admin/pages/settings.php:224
 
 
 
 
71
  msgid "API key for Google"
72
  msgstr ""
73
 
75
  msgid "API key is missing. Add it in APT settings"
76
  msgstr ""
77
 
78
+ #: auto-post-thumbnail.php:42 includes/class-plugin.php:351
79
+ #: admin/pages/generate.php:108
80
  msgid "Auto Featured Image"
81
  msgstr ""
82
 
84
  msgid "Auto Featured Image (Auto Post Thumbnail)"
85
  msgstr ""
86
 
87
+ #: includes/class-plugin.php:263
88
  msgid "Auto Featured Images"
89
  msgstr ""
90
 
91
+ #: admin/pages/settings.php:184
92
+ msgid "Auto images import"
93
+ msgstr ""
94
+
95
+ #: admin/pages/settings.php:130
96
  msgid "Automatically add featured image when saving a post"
97
  msgstr ""
98
 
104
  "Classic Editor."
105
  msgstr ""
106
 
107
+ #: admin/pages/image.php:203
108
  msgid "Background color for the image"
109
  msgstr ""
110
 
111
+ #: admin/pages/image.php:213
112
  msgid "Background image"
113
  msgstr ""
114
 
115
+ #: admin/pages/image.php:182
116
  msgid "Background settings"
117
  msgstr ""
118
 
119
+ #: admin/pages/image.php:194
120
  msgid "Background type"
121
  msgstr ""
122
 
123
+ #: admin/pages/settings.php:121
124
+ msgid "Basic plugin settings"
125
  msgstr ""
126
 
127
+ #: admin/pages/image.php:380
128
  msgid "Bottom"
129
  msgstr ""
130
 
136
  "purchase."
137
  msgstr ""
138
 
139
+ #: admin/pages/image.php:364 admin/pages/image.php:379
140
  msgid "Center"
141
  msgstr ""
142
 
143
+ #: includes/class-apt.php:810 includes/class-plugin.php:195
144
  msgid "Change featured image"
145
  msgstr ""
146
 
147
+ #: admin/pages/image.php:336
148
  msgid "chars"
149
  msgstr ""
150
 
151
+ #: admin/pages/image.php:190
 
 
 
 
152
  msgid "Color"
153
  msgstr ""
154
 
157
  msgstr ""
158
 
159
  #. Author of the plugin
160
+ msgid "Creative Motion <support@cm-wp.com>"
161
  msgstr ""
162
 
163
  #: admin/views/tab-license.php:105
164
  msgid "day(s)"
165
  msgstr ""
166
 
167
+ #: admin/pages/generate.php:146
168
+ msgid "Delete featured image in posts: "
169
  msgstr ""
170
 
171
+ #: admin/views/tab-generate.php:149
172
  msgid "Delete Featured images"
173
  msgstr ""
174
 
176
  msgid "Delete Key"
177
  msgstr ""
178
 
179
+ #: admin/pages/settings.php:169 admin/pages/settings.php:171
180
  msgid "Delete settings when removing the plugin"
181
  msgstr ""
182
 
184
  msgid "domain"
185
  msgstr ""
186
 
187
+ #: includes/class.generate-result.php:71
188
+ msgid "Done"
189
+ msgstr ""
190
+
191
  #: admin/views/tab-license.php:94
192
  msgid "EXPIRED!"
193
  msgstr ""
194
 
195
+ #: includes/class-plugin.php:448
196
  msgid "Featured Image"
197
  msgstr ""
198
 
199
+ #: admin/pages/settings.php:145
200
  msgid "Featured image"
201
  msgstr ""
202
 
203
+ #: includes/class.generate-result.php:50 admin/pages/settings.php:138
204
  msgid "Find in post"
205
  msgstr ""
206
 
207
+ #: includes/class.generate-result.php:52 admin/pages/settings.php:140
208
+ msgid "Find or generate"
209
+ msgstr ""
210
+
211
+ #: includes/class.generate-result.php:54 admin/pages/settings.php:142
212
+ msgid "Find or Google"
213
+ msgstr ""
214
+
215
+ #: admin/pages/image.php:284
216
  msgid "Font color"
217
  msgstr ""
218
 
219
+ #: admin/pages/image.php:265
220
  msgid "Font name"
221
  msgstr ""
222
 
223
+ #: admin/pages/image.php:257
224
  msgid "Font settings"
225
  msgstr ""
226
 
227
+ #: admin/pages/image.php:277
228
  msgid "Font size"
229
  msgstr ""
230
 
231
+ #: admin/pages/settings.php:121
232
  msgid "General"
233
  msgstr ""
234
 
235
+ #: admin/pages/settings.php:70
236
+ msgid "General settings"
237
+ msgstr ""
238
+
239
+ #: includes/class-plugin.php:503
240
  msgid "Generate"
241
  msgstr ""
242
 
243
+ #: includes/class-plugin.php:371
244
  msgid "Generate featured image"
245
  msgstr ""
246
 
247
+ #: admin/views/tab-generate.php:144
248
  msgid "Generate Featured images"
249
  msgstr ""
250
 
251
+ #: admin/pages/settings.php:161
252
+ msgid "Generate for post types"
253
  msgstr ""
254
 
255
+ #: includes/class.generate-result.php:51 admin/pages/settings.php:139
256
+ msgid "Generate from title"
257
  msgstr ""
258
 
259
+ #: admin/pages/generate.php:110 admin/pages/generate.php:111
260
+ #: admin/pages/generate.php:112
261
+ msgid "Generate images"
262
+ msgstr ""
263
+
264
+ #: admin/views/tab-generate.php:170
265
+ msgid "Generation log"
266
+ msgstr ""
267
+
268
+ #: admin/views/tab-generate.php:171
269
+ msgid "Generation log shows the last 100 generated images."
270
+ msgstr ""
271
+
272
+ #: admin/views/tab-generate.php:180
273
+ msgid "Generation type"
274
+ msgstr ""
275
+
276
+ #: includes/class.generate-result.php:53 admin/pages/settings.php:141
277
+ msgid "Google"
278
+ msgstr ""
279
+
280
+ #: admin/pages/settings.php:205 admin/pages/settings.php:211
281
+ msgid "Google API"
282
  msgstr ""
283
 
284
+ #: admin/pages/settings.php:232
285
  msgid "Google Custom Search Engine ID"
286
  msgstr ""
287
 
293
  msgid "Have a key to activate the premium version? Paste it here:"
294
  msgstr ""
295
 
296
+ #: admin/pages/image.php:368
297
  msgid "Horizontal text alignment"
298
  msgstr ""
299
 
300
+ #: admin/pages/settings.php:146
301
  msgid ""
302
  "How to generate featured image:\n"
303
  "\t\t\t\t\t\t\t<br> <b>Find in post:</b> search for the first image in the "
304
  "post text\n"
305
  "\t\t\t\t\t\t\t<br> <b>Generate from title:</b> created from the title on a "
306
  "colored background\n"
307
+ "\t\t\t\t\t\t\t<br> <b>Find or generate:</b> find an image in the post text, "
308
+ "if it is not present, generate it from the title\n"
309
+ "\t\t\t\t\t\t\t<br> <b>Google:</b> search for an image by title of the post "
310
+ "in Google\n"
311
+ "\t\t\t\t\t\t\t<br> <b>Find or Google:</b> find an image in the post text, if "
312
+ "it is not present, search for an image by title of the post in Google"
313
  msgstr ""
314
 
315
+ #: admin/pages/settings.php:211
316
  msgid "How to get google api key & custom search engine id"
317
  msgstr ""
318
 
319
+ #. Author URI of the plugin
320
+ msgid "https://cm-wp.com"
321
+ msgstr ""
322
+
323
  #. URI of the plugin
324
  msgid "https://cm-wp.com/apt"
325
  msgstr ""
326
 
327
+ #: includes/class-plugin.php:324 admin/pages/image.php:74
328
+ #: admin/pages/image.php:191
329
  msgid "Image"
330
  msgstr ""
331
 
332
+ #: admin/pages/image.php:229
333
  msgid "Image format"
334
  msgstr ""
335
 
336
+ #: admin/pages/image.php:73
337
+ msgid "Image generation settings"
338
+ msgstr ""
339
+
340
+ #: admin/views/tab-generate.php:179
341
+ msgid "Image size"
342
  msgstr ""
343
 
344
+ #: admin/pages/image.php:249
345
+ msgid "Image size: height"
346
+ msgstr ""
347
+
348
+ #: admin/pages/image.php:239
349
+ msgid "Image size: width"
350
+ msgstr ""
351
+
352
+ #: admin/pages/settings.php:177
353
+ msgid "Images import settings"
354
+ msgstr ""
355
+
356
+ #: admin/pages/settings.php:177
357
+ msgid "Import"
358
+ msgstr ""
359
+
360
+ #: admin/pages/settings.php:196
361
+ msgid "Import for post types"
362
+ msgstr ""
363
+
364
+ #: admin/pages/settings.php:186
365
+ msgid ""
366
+ "Import post images to the media library and replacing them in the text when "
367
+ "saving the post"
368
+ msgstr ""
369
+
370
+ #: admin/pages/image.php:225
371
  msgid "JPEG"
372
  msgstr ""
373
 
374
+ #: admin/pages/image.php:363
375
  msgid "Left"
376
  msgstr ""
377
 
378
+ #: admin/pages/image.php:411
379
  msgid "Left/right text padding"
380
  msgstr ""
381
 
382
+ #: admin/pages/license.php:96
383
+ msgid "License"
384
+ msgstr ""
385
+
386
  #: admin/ajax/check-license.php:38
387
  msgid ""
388
  "License key is empty or license key too long (license key is 32 characters "
389
  "long)"
390
  msgstr ""
391
 
392
+ #: admin/pages/license.php:97
393
  msgid "License of APT"
394
  msgstr ""
395
 
397
  msgid "Licensing action not passed or this action is prohibited!"
398
  msgstr ""
399
 
400
+ #: admin/pages/image.php:348
401
  msgid "Line spacing"
402
  msgstr ""
403
 
404
+ #: admin/pages/log.php:90
405
+ msgid "Logs"
406
+ msgstr ""
407
+
408
+ #: admin/pages/image.php:325
409
  msgid "Lowercase"
410
  msgstr ""
411
 
417
  msgid "No hits"
418
  msgstr ""
419
 
420
+ #: includes/class-apt.php:807
421
  msgid "No image"
422
  msgstr ""
423
 
424
+ #: includes/class-apt.php:536
425
+ msgid "No images found or generated"
426
+ msgstr ""
427
+
428
+ #: admin/pages/image.php:323
429
  msgid "No transform"
430
  msgstr ""
431
 
432
+ #: admin/views/tab-generate.php:165
433
  msgid ""
434
  "Note: Thumbnails won't be generated for posts that already have post "
435
  "thumbnail or <strong><em>skip_post_thumb</em></strong> custom meta field."
439
  msgid "of"
440
  msgstr ""
441
 
442
+ #: admin/views/tab-generate.php:27
443
+ msgid "of your posts have a featured image"
444
+ msgstr ""
445
+
446
+ #: admin/pages/image.php:391
447
  msgid "Padding"
448
  msgstr ""
449
 
450
+ #: admin/pages/image.php:412
451
  msgid "Padding at the left and right of the text"
452
  msgstr ""
453
 
454
+ #: admin/pages/image.php:401
455
  msgid "Padding at the top and bottom of the text"
456
  msgstr ""
457
 
458
+ #: admin/views/tab-generate.php:80
459
  msgid "Pages"
460
  msgstr ""
461
 
467
  msgid "please update the key"
468
  msgstr ""
469
 
470
+ #: admin/pages/log.php:78
471
+ msgid "Plugin logs"
472
+ msgstr ""
473
+
474
+ #: admin/pages/image.php:226
475
  msgid "PNG"
476
  msgstr ""
477
 
478
+ #: admin/pages/image.php:131
479
+ msgid "Post thumbnail preview"
480
+ msgstr ""
481
+
482
+ #: admin/views/tab-generate.php:178
483
+ msgid "Post title"
484
+ msgstr ""
485
+
486
+ #: admin/views/tab-generate.php:75
487
+ msgid "Post type"
488
+ msgstr ""
489
+
490
+ #: admin/views/tab-generate.php:79
491
  msgid "Posts"
492
  msgstr ""
493
 
495
  msgid "Prev"
496
  msgstr ""
497
 
498
+ #: includes/class-plugin.php:418
499
  msgid "Processed posts: "
500
  msgstr ""
501
 
507
  "type of a license."
508
  msgstr ""
509
 
510
+ #: admin/pages/image.php:398 admin/pages/image.php:409
511
  msgid "px"
512
  msgstr ""
513
 
515
  msgid "remained"
516
  msgstr ""
517
 
518
+ #: admin/pages/image.php:365
519
  msgid "Right"
520
  msgstr ""
521
 
527
  msgid "Search..."
528
  msgstr ""
529
 
530
+ #: admin/pages/image.php:266
531
  msgid "Select a font for the text in the featured image"
532
  msgstr ""
533
 
534
+ #: admin/pages/image.php:369
535
  msgid "Select how to horizontally align the text on the image"
536
  msgstr ""
537
 
538
+ #: admin/pages/image.php:384
539
  msgid "Select how to vertically align the text on the image"
540
  msgstr ""
541
 
542
+ #: admin/pages/image.php:212
543
  msgid "Select image"
544
  msgstr ""
545
 
546
+ #: admin/pages/image.php:195
547
  msgid "Select the background type for the featured image"
548
  msgstr ""
549
 
550
+ #: admin/pages/image.php:329
551
  msgid "Select type of text transformation"
552
  msgstr ""
553
 
554
+ #: admin/pages/generate.php:144
555
+ msgid "Set featured image in posts: "
556
  msgstr ""
557
 
558
+ #: admin/pages/image.php:230
559
  msgid "Set format to save images"
560
  msgstr ""
561
 
562
+ #: admin/pages/image.php:250
563
+ msgid "Set height of the image for the featured image"
564
+ msgstr ""
565
+
566
+ #: admin/pages/image.php:204
567
  msgid "Set the background color for the featured image"
568
  msgstr ""
569
 
570
+ #: admin/pages/image.php:214
571
  msgid "Set the background image. Only JPG or PNG"
572
  msgstr ""
573
 
574
+ #: admin/pages/image.php:285
575
  msgid "Set the font color for the featured image"
576
  msgstr ""
577
 
578
+ #: admin/pages/image.php:278
579
  msgid "Set the font size for the featured image"
580
  msgstr ""
581
 
582
+ #: admin/pages/image.php:349
583
  msgid "Set the line spacing"
584
  msgstr ""
585
 
586
+ #: admin/pages/image.php:339
587
  msgid "Set the maximum text length"
588
  msgstr ""
589
 
590
+ #: admin/pages/image.php:314
591
  msgid "Set the shadow color for the text"
592
  msgstr ""
593
 
594
+ #: admin/pages/image.php:240
595
+ msgid "Set width of the image for the featured image"
596
+ msgstr ""
597
+
598
+ #: admin/pages/settings.php:69
599
  msgid "Settings"
600
  msgstr ""
601
 
602
+ #: admin/pages/settings.php:205
603
+ msgid "Settings connecting to the Google API service"
604
  msgstr ""
605
 
606
+ #: admin/pages/settings.php:68
607
  msgid "Settings of APT"
608
  msgstr ""
609
 
610
+ #: admin/pages/image.php:313
611
  msgid "Shadow color"
612
  msgstr ""
613
 
614
+ #: includes/class-apt.php:1141
615
  msgid "Standard"
616
  msgstr ""
617
 
618
+ #: admin/views/tab-generate.php:181
619
+ msgid "Status"
620
+ msgstr ""
621
+
622
+ #: admin/pages/image.php:436
623
  msgid "String after text"
624
  msgstr ""
625
 
626
+ #: admin/pages/image.php:426
627
  msgid "String before text"
628
  msgstr ""
629
 
630
+ #: admin/views/tab-license.php:129
631
  msgid "Submit Key"
632
  msgstr ""
633
 
639
  msgid "Synchronization"
640
  msgstr ""
641
 
642
+ #: admin/pages/image.php:338
643
  msgid "Text length"
644
  msgstr ""
645
 
646
+ #: admin/pages/image.php:292
647
  msgid "Text settings"
648
  msgstr ""
649
 
650
+ #: admin/pages/image.php:300
651
  msgid "Text shadow"
652
  msgstr ""
653
 
654
+ #: admin/pages/image.php:328
655
  msgid "Text transform"
656
  msgstr ""
657
 
663
  msgid "The license is deactivated"
664
  msgstr ""
665
 
666
+ #: includes/class-apt.php:481
667
+ msgid "The post has already been assigned a featured image"
668
+ msgstr ""
669
+
670
+ #: includes/class-apt.php:473
671
+ msgid "The post type is not allowed for generation in settings"
672
+ msgstr ""
673
+
674
+ #: includes/class-apt.php:461
675
+ msgid "The post was not found"
676
+ msgstr ""
677
+
678
+ #: includes/class-plugin.php:282
679
  msgid "This plugin has been automatically deactivated."
680
  msgstr ""
681
 
682
+ #: includes/class-apt.php:1110
683
  #, php-format
684
  msgid ""
685
  "To download images from Google, specify Google API keys in the <a href='%s'>"
686
  "settings</a>."
687
  msgstr ""
688
 
689
+ #: includes/class-plugin.php:428
690
  msgid ""
691
  "To use premium features, update the <b>Auto Featured Image Premium</b> "
692
  "plugin!"
693
  msgstr ""
694
 
695
+ #: admin/pages/image.php:378
696
  msgid "Top"
697
  msgstr ""
698
 
699
+ #: admin/pages/image.php:400
700
  msgid "Top/bottom text padding"
701
  msgstr ""
702
 
703
+ #: includes/class-plugin.php:372
704
  msgid "Unset featured image"
705
  msgstr ""
706
 
707
+ #: admin/pages/generate.php:145
708
+ msgid "Unset featured image in posts: "
709
+ msgstr ""
710
+
711
  #: admin/views/tab-license.php:22
712
  msgid "Upgrade to Premium"
713
  msgstr ""
714
 
715
+ #: includes/class-plugin.php:373
716
+ msgid "Upload post images"
717
+ msgstr ""
718
+
719
+ #: includes/class-apt.php:1156
720
  msgid "Uploaded"
721
  msgstr ""
722
 
723
+ #: admin/pages/image.php:324
724
  msgid "Uppercase"
725
  msgstr ""
726
 
727
+ #: includes/class-plugin.php:194
728
  msgid "Use as thumbnail"
729
  msgstr ""
730
 
731
+ #: admin/pages/image.php:301
732
  msgid "Use text shadow?"
733
  msgstr ""
734
 
736
  msgid "version"
737
  msgstr ""
738
 
739
+ #: admin/pages/image.php:383
740
  msgid "Vertical text alignment"
741
  msgstr ""
742
 
743
+ #: admin/pages/settings.php:162
744
+ msgid "What types of posts to generate images for"
745
+ msgstr ""
746
+
747
+ #: admin/pages/settings.php:197
748
+ msgid "What types of posts to import images for"
749
+ msgstr ""
750
+
751
+ #: includes/class-plugin.php:297
752
  #, php-format
753
  msgid ""
754
  "What's new in version 3.7.0? Find out from <a href='%s'>the article</a> on "
755
  "our website."
756
  msgstr ""
757
 
758
+ #: admin/views/tab-generate.php:42
759
+ msgid "With featured image"
760
+ msgstr ""
761
+
762
+ #: includes/class-plugin.php:448
763
  msgid "With image"
764
  msgstr ""
765
 
766
+ #: includes/class-plugin.php:489 admin/views/tab-generate.php:37
767
  msgid "Without featured image"
768
  msgstr ""
769
 
770
+ #: includes/class-plugin.php:448
771
  msgid "Without image"
772
  msgstr ""
773
 
774
+ #: admin/pages/settings.php:233
775
  msgid "You can get API key after registration on the site"
776
  msgstr ""
777
 
778
+ #: includes/image-search/class-google-images.php:69
779
+ msgid "You have reached the limit at the moment. Try again in an 1 hour"
780
+ msgstr ""
781
+
782
+ #: includes/image-search/class-google-images.php:70
783
  #, php-format
784
  msgid ""
785
  "You have reached the limit at the moment. Try again in an 1 hour or <a "
786
  "href=\"%s\">Upgrade to Premium</a>"
787
  msgstr ""
788
 
 
 
 
 
789
  #: admin/views/tab-license.php:58
790
  msgid ""
791
  "You use a paid subscription for the plugin updates. In case you don’t want "
libs/factory/adverts/boot.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- use WBCR\Factory_Adverts_123\Base;
4
 
5
  /**
6
  * Factory Adverts
@@ -12,7 +12,7 @@ use WBCR\Factory_Adverts_123\Base;
12
  * @package factory-ad-inserter
13
  * @copyright (c) 2019, Webcraftic Ltd
14
  *
15
- * @version 1.2.3
16
  */
17
 
18
  // Exit if accessed directly
@@ -20,31 +20,31 @@ if( !defined('ABSPATH') ) {
20
  exit;
21
  }
22
 
23
- if( defined('FACTORY_ADVERTS_123_LOADED') || (defined('FACTORY_ADVERTS_BLOCK') && FACTORY_ADVERTS_BLOCK) ) {
24
  return;
25
  }
26
 
27
  # Устанавливаем константу, что модуль уже загружен
28
- define('FACTORY_ADVERTS_123_LOADED', true);
29
 
30
  # Устанавливаем версию модуля
31
- define('FACTORY_ADVERTS_123_VERSION', '1.2.3');
32
 
33
  # Регистрируем тектовый домен, для интернализации интерфейса модуля
34
- load_plugin_textdomain('wbcr_factory_adverts_123', false, dirname(plugin_basename(__FILE__)) . '/langs');
35
 
36
  # Устанавливаем директорию модуля
37
- define('FACTORY_ADVERTS_123_DIR', dirname(__FILE__));
38
 
39
  # Устанавливаем url модуля
40
- define('FACTORY_ADVERTS_123_URL', plugins_url(null, __FILE__));
41
 
42
- require_once(FACTORY_ADVERTS_123_DIR . '/includes/class-rest-request.php');
43
- require_once(FACTORY_ADVERTS_123_DIR . '/includes/class-base.php');
44
 
45
  /**
46
- * @param Wbcr_Factory445_Plugin $plugin
47
  */
48
- add_action('wbcr_factory_adverts_123_plugin_created', function ($plugin) {
49
- $plugin->set_adverts_manager("WBCR\Factory_Adverts_123\Base");
50
  });
1
  <?php
2
 
3
+ use WBCR\Factory_Adverts_127\Base;
4
 
5
  /**
6
  * Factory Adverts
12
  * @package factory-ad-inserter
13
  * @copyright (c) 2019, Webcraftic Ltd
14
  *
15
+ * @version 1.2.4
16
  */
17
 
18
  // Exit if accessed directly
20
  exit;
21
  }
22
 
23
+ if( defined('FACTORY_ADVERTS_127_LOADED') || (defined('FACTORY_ADVERTS_BLOCK') && FACTORY_ADVERTS_BLOCK) ) {
24
  return;
25
  }
26
 
27
  # Устанавливаем константу, что модуль уже загружен
28
+ define('FACTORY_ADVERTS_127_LOADED', true);
29
 
30
  # Устанавливаем версию модуля
31
+ define('FACTORY_ADVERTS_127_VERSION', '1.2.7');
32
 
33
  # Регистрируем тектовый домен, для интернализации интерфейса модуля
34
+ load_plugin_textdomain('wbcr_factory_adverts_127', false, dirname(plugin_basename(__FILE__)) . '/langs');
35
 
36
  # Устанавливаем директорию модуля
37
+ define('FACTORY_ADVERTS_127_DIR', dirname(__FILE__));
38
 
39
  # Устанавливаем url модуля
40
+ define('FACTORY_ADVERTS_127_URL', plugins_url(null, __FILE__));
41
 
42
+ require_once(FACTORY_ADVERTS_127_DIR . '/includes/class-rest-request.php');
43
+ require_once(FACTORY_ADVERTS_127_DIR . '/includes/class-base.php');
44
 
45
  /**
46
+ * @param Wbcr_Factory449_Plugin $plugin
47
  */
48
+ add_action('wbcr_factory_adverts_127_plugin_created', function ($plugin) {
49
+ $plugin->set_adverts_manager("WBCR\Factory_Adverts_127\Base");
50
  });
libs/factory/adverts/includes/class-base.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace WBCR\Factory_Adverts_123;
4
 
5
  // Exit if accessed directly
6
  if ( ! defined( 'ABSPATH' ) ) {
@@ -28,7 +28,7 @@ class Base {
28
  *
29
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
30
  * @since 1.0.1
31
- * @var \Wbcr_Factory445_Plugin
32
  */
33
  private $plugin;
34
 
@@ -53,7 +53,7 @@ class Base {
53
  *
54
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
55
  * @since 1.0.1
56
- * @var \WBCR\Factory_Adverts_123\Creative_Motion_API
57
  */
58
  private $api;
59
 
@@ -82,9 +82,9 @@ class Base {
82
  *
83
  * @since 1.0.0 Added
84
  *
85
- * @param \Wbcr_Factory445_Plugin $plugin
86
  */
87
- public function __construct( \Wbcr_Factory445_Plugin $plugin, $settings ) {
88
  $this->plugin = $plugin;
89
 
90
  $this->settings = wp_parse_args( $settings, [
@@ -257,7 +257,7 @@ class Base {
257
  $content = $this->get_debug_message( 'dashboard_widget' );
258
  }
259
 
260
- require_once FACTORY_ADVERTS_123_DIR . '/includes/class-dashboard-widget.php';
261
  new Dashboard_Widget( $this->plugin, $content );
262
  }
263
  }
1
  <?php
2
 
3
+ namespace WBCR\Factory_Adverts_127;
4
 
5
  // Exit if accessed directly
6
  if ( ! defined( 'ABSPATH' ) ) {
28
  *
29
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
30
  * @since 1.0.1
31
+ * @var \Wbcr_Factory449_Plugin
32
  */
33
  private $plugin;
34
 
53
  *
54
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
55
  * @since 1.0.1
56
+ * @var \WBCR\Factory_Adverts_127\Creative_Motion_API
57
  */
58
  private $api;
59
 
82
  *
83
  * @since 1.0.0 Added
84
  *
85
+ * @param \Wbcr_Factory449_Plugin $plugin
86
  */
87
+ public function __construct( \Wbcr_Factory449_Plugin $plugin, $settings ) {
88
  $this->plugin = $plugin;
89
 
90
  $this->settings = wp_parse_args( $settings, [
257
  $content = $this->get_debug_message( 'dashboard_widget' );
258
  }
259
 
260
+ require_once FACTORY_ADVERTS_127_DIR . '/includes/class-dashboard-widget.php';
261
  new Dashboard_Widget( $this->plugin, $content );
262
  }
263
  }
libs/factory/adverts/includes/class-dashboard-widget.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace WBCR\Factory_Adverts_123;
4
 
5
  // Exit if accessed directly
6
  if ( ! defined( 'ABSPATH' ) ) {
@@ -35,7 +35,7 @@ class Dashboard_Widget {
35
  *
36
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
37
  * @since 1.0.1
38
- * @var \Wbcr_Factory445_Plugin
39
  */
40
  private $plugin;
41
 
@@ -46,10 +46,10 @@ class Dashboard_Widget {
46
  *
47
  * @since 1.0.0 Added
48
  *
49
- * @param \Wbcr_Factory445_Plugin $plugin
50
  * @param string $content
51
  */
52
- public function __construct( \Wbcr_Factory445_Plugin $plugin, $content ) {
53
 
54
  $this->plugin = $plugin;
55
  $this->content = $content;
1
  <?php
2
 
3
+ namespace WBCR\Factory_Adverts_127;
4
 
5
  // Exit if accessed directly
6
  if ( ! defined( 'ABSPATH' ) ) {
35
  *
36
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
37
  * @since 1.0.1
38
+ * @var \Wbcr_Factory449_Plugin
39
  */
40
  private $plugin;
41
 
46
  *
47
  * @since 1.0.0 Added
48
  *
49
+ * @param \Wbcr_Factory449_Plugin $plugin
50
  * @param string $content
51
  */
52
+ public function __construct( \Wbcr_Factory449_Plugin $plugin, $content ) {
53
 
54
  $this->plugin = $plugin;
55
  $this->content = $content;
libs/factory/adverts/includes/class-rest-request.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- namespace WBCR\Factory_Adverts_123;
4
 
5
  // Exit if accessed directly
6
  if( !defined('ABSPATH') ) {
@@ -65,7 +65,7 @@ class Creative_Motion_API {
65
  *
66
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
67
  * @since 1.0.1
68
- * @var \Wbcr_Factory445_Plugin
69
  */
70
  private $plugin;
71
 
@@ -75,11 +75,11 @@ class Creative_Motion_API {
75
  *
76
  * Variable initialization.
77
  *
78
- * @param \Wbcr_Factory445_Plugin $plugin_name
79
  * @since 1.0.0 Added
80
  *
81
  */
82
- public function __construct(\Wbcr_Factory445_Plugin $plugin)
83
  {
84
  $this->plugin = $plugin;
85
  }
1
  <?php
2
 
3
+ namespace WBCR\Factory_Adverts_127;
4
 
5
  // Exit if accessed directly
6
  if( !defined('ABSPATH') ) {
65
  *
66
  * @author Alexander Kovalev <alex.kovalevv@gmail.com>
67
  * @since 1.0.1
68
+ * @var \Wbcr_Factory449_Plugin
69
  */
70
  private $plugin;
71
 
75
  *
76
  * Variable initialization.
77
  *
78
+ * @param \Wbcr_Factory449_Plugin $plugin_name
79
  * @since 1.0.0 Added
80
  *
81
  */
82
+ public function __construct(\Wbcr_Factory449_Plugin $plugin)
83
  {
84
  $this->plugin = $plugin;
85
  }
libs/factory/adverts/langs/{wbcr_factory_adverts_123-ru_RU.mo → wbcr_factory_adverts_127-ru_RU.mo} RENAMED
File without changes
libs/factory/adverts/langs/{wbcr_factory_adverts_123-ru_RU.po → wbcr_factory_adverts_127-ru_RU.po} RENAMED
File without changes
libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .factory-accordion{margin:0 0 30px;border-top:1px solid #DDD;border-right:1px solid #DDD;border-left:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.factory-bootstrap-445 .factory-accordion>h3{border-bottom:1px solid #DDD;cursor:pointer;padding:8px 15px;margin:0}.factory-bootstrap-445 .factory-accordion>div{display:none;margin:0;border-bottom:1px solid #DDD}.factory-bootstrap-445 .factory-accordion-item{display:none}.factory-bootstrap-445 .inner-factory-accordion-item{padding:10px 0}.factory-bootstrap-445 .factory-accordion>h3.active:hover{cursor:default}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .factory-accordion{margin:0 0 30px;border-top:1px solid #DDD;border-right:1px solid #DDD;border-left:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.factory-bootstrap-449 .factory-accordion>h3{border-bottom:1px solid #DDD;cursor:pointer;padding:8px 15px;margin:0}.factory-bootstrap-449 .factory-accordion>div{display:none;margin:0;border-bottom:1px solid #DDD}.factory-bootstrap-449 .factory-accordion-item{display:none}.factory-bootstrap-449 .inner-factory-accordion-item{padding:10px 0}.factory-bootstrap-449 .factory-accordion>h3.active:hover{cursor:default}
libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .btn-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:active{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-445 .btn-primary:disabled,.factory-bootstrap-445 .btn-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.factory-bootstrap-445 .btn-group .btn.active.value{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{background-color:#e1a948;border-color:#d39323}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .btn-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:active{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-449 .btn-primary:disabled,.factory-bootstrap-449 .btn-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.factory-bootstrap-449 .btn-group .btn.active.value{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{background-color:#e1a948;border-color:#d39323}
libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .btn-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:active{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-445 .btn-primary:disabled,.factory-bootstrap-445 .btn-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.factory-bootstrap-445 .btn-group .btn.active.value{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{background-color:#c7a589;border-color:#b78a66}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .btn-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:active{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-449 .btn-primary:disabled,.factory-bootstrap-449 .btn-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.factory-bootstrap-449 .btn-group .btn.active.value{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{background-color:#c7a589;border-color:#b78a66}
libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css CHANGED
@@ -8,7 +8,7 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 article,.factory-bootstrap-445 aside,.factory-bootstrap-445 details,.factory-bootstrap-445 figcaption,.factory-bootstrap-445 figure,.factory-bootstrap-445 footer,.factory-bootstrap-445 header,.factory-bootstrap-445 hgroup,.factory-bootstrap-445 main,.factory-bootstrap-445 nav,.factory-bootstrap-445 section,.factory-bootstrap-445 summary{display:block}.factory-bootstrap-445 audio,.factory-bootstrap-445 canvas,.factory-bootstrap-445 video{display:inline-block}.factory-bootstrap-445 audio:not([controls]){display:none;height:0}.factory-bootstrap-445 [hidden],.factory-bootstrap-445 template{display:none}.factory-bootstrap-445 body{margin:0}.factory-bootstrap-445 a{background:0 0}.factory-bootstrap-445 a:focus{outline:thin dotted}.factory-bootstrap-445 a:active,.factory-bootstrap-445 a:hover{outline:0}.factory-bootstrap-445 h1{margin:.67em 0}.factory-bootstrap-445 b,.factory-bootstrap-445 strong{font-weight:700}.factory-bootstrap-445 dfn{font-style:italic}.factory-bootstrap-445 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-445 mark{color:#000;background:#ff0}.factory-bootstrap-445 code,.factory-bootstrap-445 kbd,.factory-bootstrap-445 pre,.factory-bootstrap-445 samp{font-size:1em}.factory-bootstrap-445 pre{white-space:pre-wrap}.factory-bootstrap-445 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-445 sub,.factory-bootstrap-445 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-445 sup{top:-.5em}.factory-bootstrap-445 sub{bottom:-.25em}.factory-bootstrap-445 img{border:0}.factory-bootstrap-445 svg:not(:root){overflow:hidden}.factory-bootstrap-445 figure{margin:0}.factory-bootstrap-445 button,.factory-bootstrap-445 input,.factory-bootstrap-445 select,.factory-bootstrap-445 textarea{margin:0}.factory-bootstrap-445 button,.factory-bootstrap-445 select{text-transform:none}.factory-bootstrap-445 select{padding-right:4px!important}.factory-bootstrap-445 button,.factory-bootstrap-445 input[type=reset],.factory-bootstrap-445 input[type=submit],html .factory-bootstrap-445 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-445 button[disabled],html .factory-bootstrap-445 input[disabled]{cursor:default}.factory-bootstrap-445 input[type=checkbox],.factory-bootstrap-445 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-445 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-445 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-445 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-445 button::-moz-focus-inner,.factory-bootstrap-445 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-445 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-445 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-445 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-445 a,.factory-bootstrap-445 a:visited{text-decoration:underline}.factory-bootstrap-445 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-445 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-445 a[href^="javascript:"]:after,.factory-bootstrap-445 a[href^="#"]:after{content:""}.factory-bootstrap-445 blockquote,.factory-bootstrap-445 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-445 thead{display:table-header-group}.factory-bootstrap-445 img,.factory-bootstrap-445 tr{page-break-inside:avoid}.factory-bootstrap-445 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-445 h2,.factory-bootstrap-445 h3,.factory-bootstrap-445 p{orphans:3;widows:3}.factory-bootstrap-445 h2,.factory-bootstrap-445 h3{page-break-after:avoid}.factory-bootstrap-445 select{background:#fff!important}.factory-bootstrap-445 .navbar{display:none}.factory-bootstrap-445 .table td,.factory-bootstrap-445 .table th{background-color:#fff!important}.factory-bootstrap-445 .btn>.caret,.factory-bootstrap-445 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-445 .label{border:1px solid #000}.factory-bootstrap-445 .table{border-collapse:collapse!important}.factory-bootstrap-445 .table-bordered td,.factory-bootstrap-445 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-445 *,.factory-bootstrap-445 :after,.factory-bootstrap-445 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-445{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-445 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-445 button,.factory-bootstrap-445 input,.factory-bootstrap-445 select,.factory-bootstrap-445 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-445 img{vertical-align:middle}.factory-bootstrap-445 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-445 .img-rounded{border-radius:6px}.factory-bootstrap-445 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-445 .img-circle{border-radius:50%}.factory-bootstrap-445 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-445 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-445 .h1,.factory-bootstrap-445 .h2,.factory-bootstrap-445 .h3,.factory-bootstrap-445 .h4,.factory-bootstrap-445 .h5,.factory-bootstrap-445 .h6,.factory-bootstrap-445 h1,.factory-bootstrap-445 h2,.factory-bootstrap-445 h3,.factory-bootstrap-445 h4,.factory-bootstrap-445 h5,.factory-bootstrap-445 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-445 .h1 .small,.factory-bootstrap-445 .h1 small,.factory-bootstrap-445 .h2 .small,.factory-bootstrap-445 .h2 small,.factory-bootstrap-445 .h3 .small,.factory-bootstrap-445 .h3 small,.factory-bootstrap-445 .h4 .small,.factory-bootstrap-445 .h4 small,.factory-bootstrap-445 .h5 .small,.factory-bootstrap-445 .h5 small,.factory-bootstrap-445 .h6 .small,.factory-bootstrap-445 .h6 small,.factory-bootstrap-445 h1 .small,.factory-bootstrap-445 h1 small,.factory-bootstrap-445 h2 .small,.factory-bootstrap-445 h2 small,.factory-bootstrap-445 h3 .small,.factory-bootstrap-445 h3 small,.factory-bootstrap-445 h4 .small,.factory-bootstrap-445 h4 small,.factory-bootstrap-445 h5 .small,.factory-bootstrap-445 h5 small,.factory-bootstrap-445 h6 .small,.factory-bootstrap-445 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-445 h1,.factory-bootstrap-445 h2,.factory-bootstrap-445 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-445 h1 .small,.factory-bootstrap-445 h1 small,.factory-bootstrap-445 h2 .small,.factory-bootstrap-445 h2 small,.factory-bootstrap-445 h3 .small,.factory-bootstrap-445 h3 small{font-size:65%}.factory-bootstrap-445 h4,.factory-bootstrap-445 h5,.factory-bootstrap-445 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-445 h4 .small,.factory-bootstrap-445 h4 small,.factory-bootstrap-445 h5 .small,.factory-bootstrap-445 h5 small,.factory-bootstrap-445 h6 .small,.factory-bootstrap-445 h6 small{font-size:75%}.factory-bootstrap-445 .h1,.factory-bootstrap-445 h1{font-size:36px}.factory-bootstrap-445 .h2,.factory-bootstrap-445 h2{font-size:30px}.factory-bootstrap-445 .h3,.factory-bootstrap-445 h3{font-size:24px}.factory-bootstrap-445 .h4,.factory-bootstrap-445 h4{font-size:18px}.factory-bootstrap-445 .h5,.factory-bootstrap-445 h5{font-size:14px}.factory-bootstrap-445 .h6,.factory-bootstrap-445 h6{font-size:12px}.factory-bootstrap-445 p{margin:0 0 10px}.factory-bootstrap-445 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-445 .small,.factory-bootstrap-445 small{font-size:85%}.factory-bootstrap-445 cite{font-style:normal}.factory-bootstrap-445 .text-muted{color:#999}.factory-bootstrap-445 .text-primary{color:#428bca}.factory-bootstrap-445 .text-primary:hover{color:#3071a9}.factory-bootstrap-445 .text-warning{color:#8a6d3b}.factory-bootstrap-445 .text-warning:hover{color:#66512c}.factory-bootstrap-445 .text-danger{color:#a94442}.factory-bootstrap-445 .text-danger:hover{color:#843534}.factory-bootstrap-445 .text-success{color:#3c763d}.factory-bootstrap-445 .text-success:hover{color:#2b542c}.factory-bootstrap-445 .text-info{color:#31708f}.factory-bootstrap-445 .text-info:hover{color:#245269}.factory-bootstrap-445 .text-left{text-align:left}.factory-bootstrap-445 .text-right{text-align:right}.factory-bootstrap-445 .text-center{text-align:center}.factory-bootstrap-445 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-445 ol,.factory-bootstrap-445 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-445 ol ol,.factory-bootstrap-445 ol ul,.factory-bootstrap-445 ul ol,.factory-bootstrap-445 ul ul{margin-bottom:0}.factory-bootstrap-445 .list-inline,.factory-bootstrap-445 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-445 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-445 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-445 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-445 dd,.factory-bootstrap-445 dt{line-height:1.428571429}.factory-bootstrap-445 dt{font-weight:700}.factory-bootstrap-445 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-445 abbr[data-original-title],.factory-bootstrap-445 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-445 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-445 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-445 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-445 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-445 blockquote .small,.factory-bootstrap-445 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-445 blockquote .small:before,.factory-bootstrap-445 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-445 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-445 blockquote.pull-right .small,.factory-bootstrap-445 blockquote.pull-right p,.factory-bootstrap-445 blockquote.pull-right small{text-align:right}.factory-bootstrap-445 blockquote.pull-right .small:before,.factory-bootstrap-445 blockquote.pull-right small:before{content:''}.factory-bootstrap-445 blockquote.pull-right .small:after,.factory-bootstrap-445 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-445 blockquote:after,.factory-bootstrap-445 blockquote:before{content:""}.factory-bootstrap-445 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-445 code,.factory-bootstrap-445 kbd,.factory-bootstrap-445 pre,.factory-bootstrap-445 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-445 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-445 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-445 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-445 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-445 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-445 .container:after,.factory-bootstrap-445 .container:before{display:table;content:" "}.factory-bootstrap-445 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-445 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-445 .row:after,.factory-bootstrap-445 .row:before{display:table;content:" "}.factory-bootstrap-445 .row:after{clear:both}.factory-bootstrap-445 .col-lg-1,.factory-bootstrap-445 .col-lg-10,.factory-bootstrap-445 .col-lg-11,.factory-bootstrap-445 .col-lg-12,.factory-bootstrap-445 .col-lg-2,.factory-bootstrap-445 .col-lg-3,.factory-bootstrap-445 .col-lg-4,.factory-bootstrap-445 .col-lg-5,.factory-bootstrap-445 .col-lg-6,.factory-bootstrap-445 .col-lg-7,.factory-bootstrap-445 .col-lg-8,.factory-bootstrap-445 .col-lg-9,.factory-bootstrap-445 .col-md-1,.factory-bootstrap-445 .col-md-10,.factory-bootstrap-445 .col-md-11,.factory-bootstrap-445 .col-md-12,.factory-bootstrap-445 .col-md-2,.factory-bootstrap-445 .col-md-3,.factory-bootstrap-445 .col-md-4,.factory-bootstrap-445 .col-md-5,.factory-bootstrap-445 .col-md-6,.factory-bootstrap-445 .col-md-7,.factory-bootstrap-445 .col-md-8,.factory-bootstrap-445 .col-md-9,.factory-bootstrap-445 .col-sm-1,.factory-bootstrap-445 .col-sm-10,.factory-bootstrap-445 .col-sm-11,.factory-bootstrap-445 .col-sm-12,.factory-bootstrap-445 .col-sm-2,.factory-bootstrap-445 .col-sm-3,.factory-bootstrap-445 .col-sm-4,.factory-bootstrap-445 .col-sm-5,.factory-bootstrap-445 .col-sm-6,.factory-bootstrap-445 .col-sm-7,.factory-bootstrap-445 .col-sm-8,.factory-bootstrap-445 .col-sm-9,.factory-bootstrap-445 .col-xs-1,.factory-bootstrap-445 .col-xs-10,.factory-bootstrap-445 .col-xs-11,.factory-bootstrap-445 .col-xs-12,.factory-bootstrap-445 .col-xs-2,.factory-bootstrap-445 .col-xs-3,.factory-bootstrap-445 .col-xs-4,.factory-bootstrap-445 .col-xs-5,.factory-bootstrap-445 .col-xs-6,.factory-bootstrap-445 .col-xs-7,.factory-bootstrap-445 .col-xs-8,.factory-bootstrap-445 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-445 .col-xs-1,.factory-bootstrap-445 .col-xs-10,.factory-bootstrap-445 .col-xs-11,.factory-bootstrap-445 .col-xs-12,.factory-bootstrap-445 .col-xs-2,.factory-bootstrap-445 .col-xs-3,.factory-bootstrap-445 .col-xs-4,.factory-bootstrap-445 .col-xs-5,.factory-bootstrap-445 .col-xs-6,.factory-bootstrap-445 .col-xs-7,.factory-bootstrap-445 .col-xs-8,.factory-bootstrap-445 .col-xs-9{float:left}.factory-bootstrap-445 .col-xs-12{width:100%}.factory-bootstrap-445 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-445 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-445 .col-xs-9{width:75%}.factory-bootstrap-445 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-445 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-445 .col-xs-6{width:50%}.factory-bootstrap-445 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-445 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-445 .col-xs-3{width:25%}.factory-bootstrap-445 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-445 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-445 .col-xs-pull-12{right:100%}.factory-bootstrap-445 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-445 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-445 .col-xs-pull-9{right:75%}.factory-bootstrap-445 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-445 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-445 .col-xs-pull-6{right:50%}.factory-bootstrap-445 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-445 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-445 .col-xs-pull-3{right:25%}.factory-bootstrap-445 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-445 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-445 .col-xs-pull-0{right:0}.factory-bootstrap-445 .col-xs-push-12{left:100%}.factory-bootstrap-445 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-445 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-445 .col-xs-push-9{left:75%}.factory-bootstrap-445 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-445 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-445 .col-xs-push-6{left:50%}.factory-bootstrap-445 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-445 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-445 .col-xs-push-3{left:25%}.factory-bootstrap-445 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-445 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-445 .col-xs-push-0{left:0}.factory-bootstrap-445 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-445 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-445 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-445 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-445 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-445 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-445 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-445 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-445 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-445 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-445 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-445 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-445 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-445 table{max-width:100%;background-color:transparent}.factory-bootstrap-445 th{text-align:left}.factory-bootstrap-445 .table{width:100%;margin-bottom:20px}.factory-bootstrap-445 .table>tbody>tr>td,.factory-bootstrap-445 .table>tbody>tr>th,.factory-bootstrap-445 .table>tfoot>tr>td,.factory-bootstrap-445 .table>tfoot>tr>th,.factory-bootstrap-445 .table>thead>tr>td,.factory-bootstrap-445 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-445 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-445 .table>caption+thead>tr:first-child>td,.factory-bootstrap-445 .table>caption+thead>tr:first-child>th,.factory-bootstrap-445 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-445 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-445 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-445 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-445 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-445 .table .table{background-color:#fff}.factory-bootstrap-445 .table-condensed>tbody>tr>td,.factory-bootstrap-445 .table-condensed>tbody>tr>th,.factory-bootstrap-445 .table-condensed>tfoot>tr>td,.factory-bootstrap-445 .table-condensed>tfoot>tr>th,.factory-bootstrap-445 .table-condensed>thead>tr>td,.factory-bootstrap-445 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-445 .table-bordered,.factory-bootstrap-445 .table-bordered>tbody>tr>td,.factory-bootstrap-445 .table-bordered>tbody>tr>th,.factory-bootstrap-445 .table-bordered>tfoot>tr>td,.factory-bootstrap-445 .table-bordered>tfoot>tr>th,.factory-bootstrap-445 .table-bordered>thead>tr>td,.factory-bootstrap-445 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-445 .table-bordered>thead>tr>td,.factory-bootstrap-445 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-445 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-445 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-445 .table-hover>tbody>tr:hover>td,.factory-bootstrap-445 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-445 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-445 table td[class*=col-],.factory-bootstrap-445 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-445 .table>tbody>.active>td,.factory-bootstrap-445 .table>tbody>.active>th,.factory-bootstrap-445 .table>tbody>tr>.active,.factory-bootstrap-445 .table>tfoot>.active>td,.factory-bootstrap-445 .table>tfoot>.active>th,.factory-bootstrap-445 .table>tfoot>tr>.active,.factory-bootstrap-445 .table>thead>.active>td,.factory-bootstrap-445 .table>thead>.active>th,.factory-bootstrap-445 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-445 .table-hover>tbody>.active:hover>td,.factory-bootstrap-445 .table-hover>tbody>.active:hover>th,.factory-bootstrap-445 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-445 .table>tbody>.success>td,.factory-bootstrap-445 .table>tbody>.success>th,.factory-bootstrap-445 .table>tbody>tr>.success,.factory-bootstrap-445 .table>tfoot>.success>td,.factory-bootstrap-445 .table>tfoot>.success>th,.factory-bootstrap-445 .table>tfoot>tr>.success,.factory-bootstrap-445 .table>thead>.success>td,.factory-bootstrap-445 .table>thead>.success>th,.factory-bootstrap-445 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-445 .table-hover>tbody>.success:hover>td,.factory-bootstrap-445 .table-hover>tbody>.success:hover>th,.factory-bootstrap-445 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-445 .table>tbody>.danger>td,.factory-bootstrap-445 .table>tbody>.danger>th,.factory-bootstrap-445 .table>tbody>tr>.danger,.factory-bootstrap-445 .table>tfoot>.danger>td,.factory-bootstrap-445 .table>tfoot>.danger>th,.factory-bootstrap-445 .table>tfoot>tr>.danger,.factory-bootstrap-445 .table>thead>.danger>td,.factory-bootstrap-445 .table>thead>.danger>th,.factory-bootstrap-445 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-445 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-445 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-445 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-445 .table>tbody>.warning>td,.factory-bootstrap-445 .table>tbody>.warning>th,.factory-bootstrap-445 .table>tbody>tr>.warning,.factory-bootstrap-445 .table>tfoot>.warning>td,.factory-bootstrap-445 .table>tfoot>.warning>th,.factory-bootstrap-445 .table>tfoot>tr>.warning,.factory-bootstrap-445 .table>thead>.warning>td,.factory-bootstrap-445 .table>thead>.warning>th,.factory-bootstrap-445 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-445 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-445 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-445 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-445 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-445 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-445 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-445 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-445 input[type=checkbox],.factory-bootstrap-445 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-445 input[type=file]{display:block}.factory-bootstrap-445 select[multiple],.factory-bootstrap-445 select[size]{height:auto}.factory-bootstrap-445 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-445 input[type=checkbox]:focus,.factory-bootstrap-445 input[type=file]:focus,.factory-bootstrap-445 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-445 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-445 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-445 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-445 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-445 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-445 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-445 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-445 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-445 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-445 .form-control[disabled],.factory-bootstrap-445 .form-control[readonly],.factory-bootstrap-445 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-445 textarea.form-control{height:auto}.factory-bootstrap-445 .form-group{margin-bottom:15px}.factory-bootstrap-445 .checkbox,.factory-bootstrap-445 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-445 .checkbox label,.factory-bootstrap-445 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-445 .checkbox input[type=checkbox],.factory-bootstrap-445 .checkbox-inline input[type=checkbox],.factory-bootstrap-445 .radio input[type=radio],.factory-bootstrap-445 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-445 .checkbox+.checkbox,.factory-bootstrap-445 .radio+.radio{margin-top:-5px}.factory-bootstrap-445 .checkbox-inline,.factory-bootstrap-445 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-445 .checkbox-inline+.checkbox-inline,.factory-bootstrap-445 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-445 .checkbox-inline[disabled],.factory-bootstrap-445 .checkbox[disabled],.factory-bootstrap-445 .radio-inline[disabled],.factory-bootstrap-445 .radio[disabled],.factory-bootstrap-445 fieldset[disabled] .checkbox,.factory-bootstrap-445 fieldset[disabled] .checkbox-inline,.factory-bootstrap-445 fieldset[disabled] .radio,.factory-bootstrap-445 fieldset[disabled] .radio-inline,.factory-bootstrap-445 fieldset[disabled] input[type=checkbox],.factory-bootstrap-445 fieldset[disabled] input[type=radio],.factory-bootstrap-445 input[type=checkbox][disabled],.factory-bootstrap-445 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-445 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-445 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-445 textarea.input-sm{height:auto}.factory-bootstrap-445 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-445 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-445 textarea.input-lg{height:auto}.factory-bootstrap-445 .has-warning .checkbox,.factory-bootstrap-445 .has-warning .checkbox-inline,.factory-bootstrap-445 .has-warning .control-label,.factory-bootstrap-445 .has-warning .help-block,.factory-bootstrap-445 .has-warning .radio,.factory-bootstrap-445 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-445 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-445 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-445 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-445 .has-error .checkbox,.factory-bootstrap-445 .has-error .checkbox-inline,.factory-bootstrap-445 .has-error .control-label,.factory-bootstrap-445 .has-error .help-block,.factory-bootstrap-445 .has-error .radio,.factory-bootstrap-445 .has-error .radio-inline{color:#a94442}.factory-bootstrap-445 .controls{display:block}.factory-bootstrap-445 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-445 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-445 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-445 .has-success .checkbox,.factory-bootstrap-445 .has-success .checkbox-inline,.factory-bootstrap-445 .has-success .control-label,.factory-bootstrap-445 .has-success .help-block,.factory-bootstrap-445 .has-success .radio,.factory-bootstrap-445 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-445 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-445 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-445 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-445 .form-control-static{margin-bottom:0}.factory-bootstrap-445 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-445 .form-horizontal .checkbox,.factory-bootstrap-445 .form-horizontal .checkbox-inline,.factory-bootstrap-445 .form-horizontal .control-label,.factory-bootstrap-445 .form-horizontal .radio,.factory-bootstrap-445 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-445 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-445 .form-horizontal .checkbox,.factory-bootstrap-445 .form-horizontal .radio{min-height:27px}.factory-bootstrap-445 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-445 .form-horizontal .form-group:after,.factory-bootstrap-445 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-445 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-445 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-445 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-445 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-445 .btn{text-decoration:none}.factory-bootstrap-445 .btn:focus,.factory-bootstrap-445 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-445 .btn.disabled,.factory-bootstrap-445 .btn[disabled],.factory-bootstrap-445 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-445 .btn-default.active,.factory-bootstrap-445 .btn-default:active,.factory-bootstrap-445 .btn-default:focus,.factory-bootstrap-445 .btn-default:hover,.factory-bootstrap-445 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-445 .btn-default.active,.factory-bootstrap-445 .btn-default:active,.factory-bootstrap-445 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-445 .btn-default.disabled,.factory-bootstrap-445 .btn-default.disabled.active,.factory-bootstrap-445 .btn-default.disabled:active,.factory-bootstrap-445 .btn-default.disabled:focus,.factory-bootstrap-445 .btn-default.disabled:hover,.factory-bootstrap-445 .btn-default[disabled],.factory-bootstrap-445 .btn-default[disabled].active,.factory-bootstrap-445 .btn-default[disabled]:active,.factory-bootstrap-445 .btn-default[disabled]:focus,.factory-bootstrap-445 .btn-default[disabled]:hover,.factory-bootstrap-445 fieldset[disabled] .btn-default,.factory-bootstrap-445 fieldset[disabled] .btn-default.active,.factory-bootstrap-445 fieldset[disabled] .btn-default:active,.factory-bootstrap-445 fieldset[disabled] .btn-default:focus,.factory-bootstrap-445 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-445 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-445 .btn-primary.active,.factory-bootstrap-445 .btn-primary:active,.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover,.factory-bootstrap-445 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-445 .btn-primary.active,.factory-bootstrap-445 .btn-primary:active,.factory-bootstrap-445 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-445 .btn-primary.disabled,.factory-bootstrap-445 .btn-primary.disabled.active,.factory-bootstrap-445 .btn-primary.disabled:active,.factory-bootstrap-445 .btn-primary.disabled:focus,.factory-bootstrap-445 .btn-primary.disabled:hover,.factory-bootstrap-445 .btn-primary[disabled],.factory-bootstrap-445 .btn-primary[disabled].active,.factory-bootstrap-445 .btn-primary[disabled]:active,.factory-bootstrap-445 .btn-primary[disabled]:focus,.factory-bootstrap-445 .btn-primary[disabled]:hover,.factory-bootstrap-445 fieldset[disabled] .btn-primary,.factory-bootstrap-445 fieldset[disabled] .btn-primary.active,.factory-bootstrap-445 fieldset[disabled] .btn-primary:active,.factory-bootstrap-445 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-445 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-445 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-445 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-445 .btn-warning.active,.factory-bootstrap-445 .btn-warning:active,.factory-bootstrap-445 .btn-warning:focus,.factory-bootstrap-445 .btn-warning:hover,.factory-bootstrap-445 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-445 .btn-warning.active,.factory-bootstrap-445 .btn-warning:active,.factory-bootstrap-445 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-445 .btn-warning.disabled,.factory-bootstrap-445 .btn-warning.disabled.active,.factory-bootstrap-445 .btn-warning.disabled:active,.factory-bootstrap-445 .btn-warning.disabled:focus,.factory-bootstrap-445 .btn-warning.disabled:hover,.factory-bootstrap-445 .btn-warning[disabled],.factory-bootstrap-445 .btn-warning[disabled].active,.factory-bootstrap-445 .btn-warning[disabled]:active,.factory-bootstrap-445 .btn-warning[disabled]:focus,.factory-bootstrap-445 .btn-warning[disabled]:hover,.factory-bootstrap-445 fieldset[disabled] .btn-warning,.factory-bootstrap-445 fieldset[disabled] .btn-warning.active,.factory-bootstrap-445 fieldset[disabled] .btn-warning:active,.factory-bootstrap-445 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-445 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-445 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-445 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-445 .btn-success.active,.factory-bootstrap-445 .btn-success:active,.factory-bootstrap-445 .btn-success:focus,.factory-bootstrap-445 .btn-success:hover,.factory-bootstrap-445 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-445 .btn-success.active,.factory-bootstrap-445 .btn-success:active,.factory-bootstrap-445 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-445 .btn-success.disabled,.factory-bootstrap-445 .btn-success.disabled.active,.factory-bootstrap-445 .btn-success.disabled:active,.factory-bootstrap-445 .btn-success.disabled:focus,.factory-bootstrap-445 .btn-success.disabled:hover,.factory-bootstrap-445 .btn-success[disabled],.factory-bootstrap-445 .btn-success[disabled].active,.factory-bootstrap-445 .btn-success[disabled]:active,.factory-bootstrap-445 .btn-success[disabled]:focus,.factory-bootstrap-445 .btn-success[disabled]:hover,.factory-bootstrap-445 fieldset[disabled] .btn-success,.factory-bootstrap-445 fieldset[disabled] .btn-success.active,.factory-bootstrap-445 fieldset[disabled] .btn-success:active,.factory-bootstrap-445 fieldset[disabled] .btn-success:focus,.factory-bootstrap-445 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-445 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-445 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-445 .btn-info.active,.factory-bootstrap-445 .btn-info:active,.factory-bootstrap-445 .btn-info:focus,.factory-bootstrap-445 .btn-info:hover,.factory-bootstrap-445 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-445 .btn-info.active,.factory-bootstrap-445 .btn-info:active,.factory-bootstrap-445 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-445 .btn-info.disabled,.factory-bootstrap-445 .btn-info.disabled.active,.factory-bootstrap-445 .btn-info.disabled:active,.factory-bootstrap-445 .btn-info.disabled:focus,.factory-bootstrap-445 .btn-info.disabled:hover,.factory-bootstrap-445 .btn-info[disabled],.factory-bootstrap-445 .btn-info[disabled].active,.factory-bootstrap-445 .btn-info[disabled]:active,.factory-bootstrap-445 .btn-info[disabled]:focus,.factory-bootstrap-445 .btn-info[disabled]:hover,.factory-bootstrap-445 fieldset[disabled] .btn-info,.factory-bootstrap-445 fieldset[disabled] .btn-info.active,.factory-bootstrap-445 fieldset[disabled] .btn-info:active,.factory-bootstrap-445 fieldset[disabled] .btn-info:focus,.factory-bootstrap-445 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-445 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-445 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-445 .btn-link,.factory-bootstrap-445 .btn-link:active,.factory-bootstrap-445 .btn-link[disabled],.factory-bootstrap-445 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-445 .btn-link,.factory-bootstrap-445 .btn-link:active,.factory-bootstrap-445 .btn-link:focus,.factory-bootstrap-445 .btn-link:hover{border-color:transparent}.factory-bootstrap-445 .btn-link:focus,.factory-bootstrap-445 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-445 .btn-link[disabled]:focus,.factory-bootstrap-445 .btn-link[disabled]:hover,.factory-bootstrap-445 fieldset[disabled] .btn-link:focus,.factory-bootstrap-445 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-445 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-445 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-445 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-445 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-445 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-445 input[type=button].btn-block,.factory-bootstrap-445 input[type=reset].btn-block,.factory-bootstrap-445 input[type=submit].btn-block{width:100%}.factory-bootstrap-445 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-445 .fade.in{opacity:1}.factory-bootstrap-445 .collapse{display:none}.factory-bootstrap-445 .collapse.in{display:block}.factory-bootstrap-445 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-445 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-445 .glyphicon:empty{width:1em}.factory-bootstrap-445 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-445 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-445 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-445 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-445 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-445 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-445 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-445 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-445 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-445 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-445 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-445 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-445 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-445 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-445 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-445 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-445 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-445 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-445 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-445 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-445 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-445 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-445 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-445 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-445 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-445 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-445 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-445 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-445 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-445 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-445 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-445 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-445 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-445 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-445 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-445 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-445 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-445 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-445 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-445 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-445 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-445 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-445 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-445 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-445 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-445 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-445 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-445 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-445 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-445 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-445 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-445 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-445 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-445 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-445 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-445 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-445 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-445 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-445 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-445 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-445 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-445 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-445 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-445 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-445 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-445 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-445 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-445 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-445 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-445 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-445 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-445 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-445 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-445 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-445 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-445 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-445 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-445 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-445 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-445 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-445 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-445 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-445 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-445 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-445 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-445 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-445 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-445 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-445 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-445 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-445 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-445 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-445 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-445 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-445 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-445 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-445 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-445 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-445 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-445 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-445 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-445 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-445 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-445 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-445 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-445 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-445 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-445 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-445 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-445 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-445 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-445 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-445 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-445 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-445 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-445 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-445 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-445 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-445 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-445 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-445 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-445 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-445 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-445 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-445 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-445 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-445 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-445 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-445 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-445 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-445 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-445 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-445 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-445 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-445 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-445 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-445 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-445 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-445 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-445 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-445 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-445 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-445 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-445 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-445 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-445 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-445 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-445 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-445 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-445 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-445 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-445 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-445 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-445 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-445 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-445 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-445 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-445 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-445 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-445 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-445 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-445 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-445 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-445 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-445 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-445 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-445 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-445 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-445 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-445 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-445 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-445 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-445 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-445 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-445 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-445 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-445 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-445 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-445 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-445 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-445 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-445 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-445 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-445 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-445 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-445 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-445 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-445 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-445 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-445 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-445 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-445 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-445 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-445 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-445 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-445 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-445 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-445 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-445 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-445 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-445 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-445 .dropdown{position:relative}.factory-bootstrap-445 .dropdown-toggle:focus{outline:0}.factory-bootstrap-445 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-445 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-445 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-445 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-445 .dropdown-menu>li>a:focus,.factory-bootstrap-445 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-445 .dropdown-menu>.active>a,.factory-bootstrap-445 .dropdown-menu>.active>a:focus,.factory-bootstrap-445 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-445 .dropdown-menu>.disabled>a,.factory-bootstrap-445 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-445 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-445 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-445 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-445 .open>.dropdown-menu{display:block}.factory-bootstrap-445 .open>a{outline:0}.factory-bootstrap-445 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-445 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-445 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-445 .dropup .caret,.factory-bootstrap-445 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-445 .dropup .dropdown-menu,.factory-bootstrap-445 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-445 .btn-group,.factory-bootstrap-445 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-445 .btn-group-vertical>.btn,.factory-bootstrap-445 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-445 .btn-group-vertical>.btn.active,.factory-bootstrap-445 .btn-group-vertical>.btn:active,.factory-bootstrap-445 .btn-group-vertical>.btn:focus,.factory-bootstrap-445 .btn-group-vertical>.btn:hover,.factory-bootstrap-445 .btn-group>.btn.active,.factory-bootstrap-445 .btn-group>.btn:active,.factory-bootstrap-445 .btn-group>.btn:focus,.factory-bootstrap-445 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-445 .btn-group-vertical>.btn:focus,.factory-bootstrap-445 .btn-group>.btn:focus{outline:0}.factory-bootstrap-445 .btn-group .btn+.btn,.factory-bootstrap-445 .btn-group .btn+.btn-group,.factory-bootstrap-445 .btn-group .btn-group+.btn,.factory-bootstrap-445 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-445 .btn-toolbar:after,.factory-bootstrap-445 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-445 .btn-toolbar:after{clear:both}.factory-bootstrap-445 .btn-toolbar .btn-group{float:left}.factory-bootstrap-445 .btn-toolbar>.btn+.btn,.factory-bootstrap-445 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-445 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-445 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-445 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-445 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-445 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-445 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-445 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-445 .btn-group>.btn-group{float:left}.factory-bootstrap-445 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-445 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-445 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-445 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-445 .btn-group .dropdown-toggle:active,.factory-bootstrap-445 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-445 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-445 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-445 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-445 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-445 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-445 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-445 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-445 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-445 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-445 .btn .caret{margin-left:0}.factory-bootstrap-445 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-445 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-445 .btn-group-vertical>.btn,.factory-bootstrap-445 .btn-group-vertical>.btn-group,.factory-bootstrap-445 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-445 .btn-group-vertical>.btn-group:after,.factory-bootstrap-445 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-445 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-445 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-445 .btn-group-vertical>.btn+.btn,.factory-bootstrap-445 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-445 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-445 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-445 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-445 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-445 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-445 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-445 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-445 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-445 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-445 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-445 .btn-group-justified>.btn,.factory-bootstrap-445 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-445 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-445 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-445 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-445 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-445 .input-group-lg>.form-control,.factory-bootstrap-445 .input-group-lg>.input-group-addon,.factory-bootstrap-445 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-445 select.input-group-lg>.form-control,.factory-bootstrap-445 select.input-group-lg>.input-group-addon,.factory-bootstrap-445 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-445 textarea.input-group-lg>.form-control,.factory-bootstrap-445 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-445 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-445 .input-group-sm>.form-control,.factory-bootstrap-445 .input-group-sm>.input-group-addon,.factory-bootstrap-445 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-445 select.input-group-sm>.form-control,.factory-bootstrap-445 select.input-group-sm>.input-group-addon,.factory-bootstrap-445 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-445 textarea.input-group-sm>.form-control,.factory-bootstrap-445 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-445 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-445 .input-group .form-control,.factory-bootstrap-445 .input-group-addon,.factory-bootstrap-445 .input-group-btn{display:table-cell}.factory-bootstrap-445 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-445 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-445 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-445 .input-group-addon,.factory-bootstrap-445 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-445 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-445 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-445 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-445 .input-group-addon input[type=checkbox],.factory-bootstrap-445 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-445 .input-group .form-control:first-child,.factory-bootstrap-445 .input-group-addon:first-child,.factory-bootstrap-445 .input-group-btn:first-child>.btn,.factory-bootstrap-445 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-445 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-445 .input-group-addon:first-child{border-right:0}.factory-bootstrap-445 .input-group .form-control:last-child,.factory-bootstrap-445 .input-group-addon:last-child,.factory-bootstrap-445 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-445 .input-group-btn:last-child>.btn,.factory-bootstrap-445 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-445 .input-group-addon:last-child{border-left:0}.factory-bootstrap-445 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-445 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-445 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-445 .input-group-btn>.btn{position:relative}.factory-bootstrap-445 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-445 .input-group-btn>.btn:active,.factory-bootstrap-445 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-445 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-445 .nav:after,.factory-bootstrap-445 .nav:before{display:table;content:" "}.factory-bootstrap-445 .nav:after{clear:both}.factory-bootstrap-445 .nav>li{position:relative;display:block}.factory-bootstrap-445 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-445 .nav>li>a:focus,.factory-bootstrap-445 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-445 .nav>li.disabled>a{color:#999}.factory-bootstrap-445 .nav>li.disabled>a:focus,.factory-bootstrap-445 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-445 .nav .open>a,.factory-bootstrap-445 .nav .open>a:focus,.factory-bootstrap-445 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-445 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-445 .nav>li>a>img{max-width:none}.factory-bootstrap-445 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-445 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-445 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-445 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-445 .nav-tabs>li.active>a,.factory-bootstrap-445 .nav-tabs>li.active>a:focus,.factory-bootstrap-445 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-445 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-445 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-445 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-445 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-445 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-445 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-445 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-445 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-445 .nav-pills>li{float:left}.factory-bootstrap-445 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-445 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-445 .nav-pills>li.active>a,.factory-bootstrap-445 .nav-pills>li.active>a:focus,.factory-bootstrap-445 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-445 .nav-stacked>li{float:none}.factory-bootstrap-445 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-445 .nav-justified{width:100%}.factory-bootstrap-445 .nav-justified>li{float:none}.factory-bootstrap-445 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-445 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-445 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-445 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-445 .nav-tabs-justified>.active>a,.factory-bootstrap-445 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-445 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-445 .tab-content>.tab-pane{display:none}.factory-bootstrap-445 .tab-content>.active{display:block}.factory-bootstrap-445 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-445 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-445 .navbar:after,.factory-bootstrap-445 .navbar:before{display:table;content:" "}.factory-bootstrap-445 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-445 .navbar-header:after,.factory-bootstrap-445 .navbar-header:before{display:table;content:" "}.factory-bootstrap-445 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-445 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-445 .navbar-collapse:after,.factory-bootstrap-445 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-445 .navbar-collapse:after{clear:both}.factory-bootstrap-445 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-445 .container>.navbar-collapse,.factory-bootstrap-445 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-445 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-445 .navbar-fixed-bottom,.factory-bootstrap-445 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-445 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-445 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-445 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-445 .navbar-brand:focus,.factory-bootstrap-445 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-445 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-445 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-445 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-445 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-445 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-445 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-445 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-445 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-445 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-445 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-445 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-445 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-445 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-445 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-445 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-445 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-445 .navbar-default .navbar-brand:focus,.factory-bootstrap-445 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-445 .navbar-default .navbar-nav>li>a,.factory-bootstrap-445 .navbar-default .navbar-text{color:#777}.factory-bootstrap-445 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-445 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-445 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-445 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-445 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-445 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-445 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-445 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-445 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-445 .navbar-default .navbar-toggle:focus,.factory-bootstrap-445 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-445 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-445 .navbar-default .navbar-collapse,.factory-bootstrap-445 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-445 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-445 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-445 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-445 .navbar-default .navbar-link{color:#777}.factory-bootstrap-445 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-445 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-445 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-445 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-445 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-445 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-445 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-445 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-445 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-445 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-445 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-445 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-445 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-445 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-445 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-445 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-445 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-445 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-445 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-445 .navbar-inverse .navbar-collapse,.factory-bootstrap-445 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-445 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-445 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-445 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-445 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-445 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-445 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-445 .breadcrumb>li{display:inline-block}.factory-bootstrap-445 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-445 .breadcrumb>.active{color:#999}.factory-bootstrap-445 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-445 .pagination>li{display:inline}.factory-bootstrap-445 .pagination>li>a,.factory-bootstrap-445 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-445 .pagination>li:first-child>a,.factory-bootstrap-445 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-445 .pagination>li:last-child>a,.factory-bootstrap-445 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-445 .pagination>li>a:focus,.factory-bootstrap-445 .pagination>li>a:hover,.factory-bootstrap-445 .pagination>li>span:focus,.factory-bootstrap-445 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-445 .pagination>.disabled>a,.factory-bootstrap-445 .pagination>.disabled>a:focus,.factory-bootstrap-445 .pagination>.disabled>a:hover,.factory-bootstrap-445 .pagination>.disabled>span,.factory-bootstrap-445 .pagination>.disabled>span:focus,.factory-bootstrap-445 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-445 .pagination-lg>li>a,.factory-bootstrap-445 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-445 .pagination-lg>li:first-child>a,.factory-bootstrap-445 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-445 .pagination-lg>li:last-child>a,.factory-bootstrap-445 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-445 .pagination-sm>li>a,.factory-bootstrap-445 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-445 .pagination-sm>li:first-child>a,.factory-bootstrap-445 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-445 .pagination-sm>li:last-child>a,.factory-bootstrap-445 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-445 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-445 .pager:after,.factory-bootstrap-445 .pager:before{display:table;content:" "}.factory-bootstrap-445 .pager:after{clear:both}.factory-bootstrap-445 .pager li{display:inline}.factory-bootstrap-445 .pager li>a,.factory-bootstrap-445 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-445 .pager li>a:focus,.factory-bootstrap-445 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-445 .pager .next>a,.factory-bootstrap-445 .pager .next>span{float:right}.factory-bootstrap-445 .pager .previous>a,.factory-bootstrap-445 .pager .previous>span{float:left}.factory-bootstrap-445 .pager .disabled>a,.factory-bootstrap-445 .pager .disabled>a:focus,.factory-bootstrap-445 .pager .disabled>a:hover,.factory-bootstrap-445 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-445 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-445 .label[href]:focus,.factory-bootstrap-445 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-445 .label:empty{display:none}.factory-bootstrap-445 .btn .label{position:relative;top:-1px}.factory-bootstrap-445 .label-default{background-color:#999}.factory-bootstrap-445 .label-default[href]:focus,.factory-bootstrap-445 .label-default[href]:hover{background-color:gray}.factory-bootstrap-445 .label-primary{background-color:#428bca}.factory-bootstrap-445 .label-primary[href]:focus,.factory-bootstrap-445 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-445 .label-success{background-color:#5cb85c}.factory-bootstrap-445 .label-success[href]:focus,.factory-bootstrap-445 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-445 .label-info{background-color:#5bc0de}.factory-bootstrap-445 .label-info[href]:focus,.factory-bootstrap-445 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-445 .label-warning{background-color:#f0ad4e}.factory-bootstrap-445 .label-warning[href]:focus,.factory-bootstrap-445 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-445 .label-danger{background-color:#d9534f}.factory-bootstrap-445 .label-danger[href]:focus,.factory-bootstrap-445 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-445 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-445 .badge:empty{display:none}.factory-bootstrap-445 .btn .badge{position:relative;top:-1px}.factory-bootstrap-445 a.badge:focus,.factory-bootstrap-445 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-445 .nav-pills>.active>a>.badge,.factory-bootstrap-445 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-445 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-445 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-445 .jumbotron .h1,.factory-bootstrap-445 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-445 .jumbotron p{line-height:1.4}.factory-bootstrap-445 .container .jumbotron{border-radius:6px}.factory-bootstrap-445 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-445 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-445 .thumbnail a>img,.factory-bootstrap-445 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-445 a.thumbnail.active,.factory-bootstrap-445 a.thumbnail:focus,.factory-bootstrap-445 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-445 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-445 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-445 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-445 .alert .alert-link{font-weight:700}.factory-bootstrap-445 .alert>p,.factory-bootstrap-445 .alert>ul{margin-bottom:0}.factory-bootstrap-445 .alert>p+p{margin-top:5px}.factory-bootstrap-445 .alert-dismissable{padding-right:35px}.factory-bootstrap-445 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-445 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-445 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-445 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-445 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-445 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-445 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-445 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-445 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-445 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-445 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-445 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-445 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-445 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-445 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-445 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-445 .media,.factory-bootstrap-445 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-445 .media,.factory-bootstrap-445 .media .media{margin-top:15px}.factory-bootstrap-445 .media:first-child{margin-top:0}.factory-bootstrap-445 .media-object{display:block}.factory-bootstrap-445 .media-heading{margin:0 0 5px}.factory-bootstrap-445 .media>.pull-left{margin-right:10px}.factory-bootstrap-445 .media>.pull-right{margin-left:10px}.factory-bootstrap-445 .media-list{padding-left:0;list-style:none}.factory-bootstrap-445 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-445 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-445 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-445 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-445 .list-group-item>.badge{float:right}.factory-bootstrap-445 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-445 a.list-group-item{color:#555}.factory-bootstrap-445 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-445 a.list-group-item:focus,.factory-bootstrap-445 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-445 a.list-group-item.active,.factory-bootstrap-445 a.list-group-item.active:focus,.factory-bootstrap-445 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-445 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-445 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-445 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-445 a.list-group-item.active .list-group-item-text,.factory-bootstrap-445 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-445 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-445 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-445 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-445 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-445 .panel-body{padding:15px}.factory-bootstrap-445 .panel-body:after,.factory-bootstrap-445 .panel-body:before{display:table;content:" "}.factory-bootstrap-445 .panel-body:after{clear:both}.factory-bootstrap-445 .panel>.list-group{margin-bottom:0}.factory-bootstrap-445 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-445 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-445 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-445 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-445 .panel>.table,.factory-bootstrap-445 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-445 .panel>.panel-body+.table,.factory-bootstrap-445 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-445 .panel>.table>tbody:first-child td,.factory-bootstrap-445 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-445 .panel>.table-bordered,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-445 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-445 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-445 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-445 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-445 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-445 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-445 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-445 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-445 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-445 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-445 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-445 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-445 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-445 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-445 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-445 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-445 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-445 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-445 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-445 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-445 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-445 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-445 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-445 .panel-title>a{color:inherit}.factory-bootstrap-445 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-445 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-445 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-445 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-445 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-445 .panel-group .panel-footer{border-top:0}.factory-bootstrap-445 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-445 .panel-default{border-color:#ddd}.factory-bootstrap-445 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-445 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-445 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-445 .panel-primary{border-color:#428bca}.factory-bootstrap-445 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-445 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-445 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-445 .panel-success{border-color:#d6e9c6}.factory-bootstrap-445 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-445 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-445 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-445 .panel-warning{border-color:#faebcc}.factory-bootstrap-445 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-445 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-445 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-445 .panel-danger{border-color:#ebccd1}.factory-bootstrap-445 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-445 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-445 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-445 .panel-info{border-color:#bce8f1}.factory-bootstrap-445 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-445 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-445 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-445 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-445 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-445 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-445 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-445 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-445 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-445 .close:focus,.factory-bootstrap-445 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-445 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-445 .modal-open{overflow:hidden}.factory-bootstrap-445 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-445 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-445 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-445 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-445 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-445 .modal-backdrop,.factory-bootstrap-445-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-445 .modal-backdrop.fade,.factory-bootstrap-445-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-445 .modal-backdrop.in,.factory-bootstrap-445-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-445 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-445 .modal-header .close{margin-top:-2px}.factory-bootstrap-445 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-445 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-445 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-445 .modal-footer:after,.factory-bootstrap-445 .modal-footer:before{display:table;content:" "}.factory-bootstrap-445 .modal-footer:after{clear:both}.factory-bootstrap-445 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-445 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-445 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-445 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-445 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-445 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-445 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-445 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-445 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-445 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-445 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-445 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-445 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-445 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-445 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-445 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-445 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-445 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-445 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-445 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-445 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-445 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-445 .popover.top{margin-top:-10px}.factory-bootstrap-445 .popover.right{margin-left:10px}.factory-bootstrap-445 .popover.bottom{margin-top:10px}.factory-bootstrap-445 .popover.left{margin-left:-10px}.factory-bootstrap-445 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-445 .popover-content{padding:9px 14px}.factory-bootstrap-445 .popover .arrow,.factory-bootstrap-445 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-445 .popover .arrow{border-width:11px}.factory-bootstrap-445 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-445 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-445 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-445 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-445 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-445 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-445 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-445 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-445 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-445 .carousel{position:relative}.factory-bootstrap-445 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-445 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-445 .carousel-inner>.item>a>img,.factory-bootstrap-445 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-445 .carousel-inner>.active,.factory-bootstrap-445 .carousel-inner>.next,.factory-bootstrap-445 .carousel-inner>.prev{display:block}.factory-bootstrap-445 .carousel-inner>.active{left:0}.factory-bootstrap-445 .carousel-inner>.next,.factory-bootstrap-445 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-445 .carousel-inner>.next{left:100%}.factory-bootstrap-445 .carousel-inner>.prev{left:-100%}.factory-bootstrap-445 .carousel-inner>.next.left,.factory-bootstrap-445 .carousel-inner>.prev.right{left:0}.factory-bootstrap-445 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-445 .carousel-inner>.active.right{left:100%}.factory-bootstrap-445 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-445 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-445 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-445 .carousel-control:focus,.factory-bootstrap-445 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-445 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-445 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-445 .carousel-control .icon-next,.factory-bootstrap-445 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-445 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-445 .carousel-control .icon-prev{left:50%}.factory-bootstrap-445 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-445 .carousel-control .icon-next{right:50%}.factory-bootstrap-445 .carousel-control .icon-next,.factory-bootstrap-445 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-445 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-445 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-445 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-445 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-445 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-445 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-445 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-445 .clearfix:after,.factory-bootstrap-445 .clearfix:before{display:table;content:" "}.factory-bootstrap-445 .clearfix:after{clear:both}.factory-bootstrap-445 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-445 .pull-right{float:right!important}.factory-bootstrap-445 .pull-left{float:left!important}.factory-bootstrap-445 .hide{display:none!important}.factory-bootstrap-445 .show{display:block!important}.factory-bootstrap-445 .invisible{visibility:hidden}.factory-bootstrap-445 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-445 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-445 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-445 .visible-lg,.factory-bootstrap-445 .visible-md,.factory-bootstrap-445 .visible-sm,.factory-bootstrap-445 .visible-xs,.factory-bootstrap-445 td.visible-lg,.factory-bootstrap-445 td.visible-md,.factory-bootstrap-445 td.visible-sm,.factory-bootstrap-445 td.visible-xs,.factory-bootstrap-445 th.visible-lg,.factory-bootstrap-445 th.visible-md,.factory-bootstrap-445 th.visible-sm,.factory-bootstrap-445 th.visible-xs,.factory-bootstrap-445 tr.visible-lg,.factory-bootstrap-445 tr.visible-md,.factory-bootstrap-445 tr.visible-sm,.factory-bootstrap-445 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-445 .hidden-xs{display:block!important}.factory-bootstrap-445 table.hidden-xs{display:table}.factory-bootstrap-445 tr.hidden-xs{display:table-row!important}.factory-bootstrap-445 td.hidden-xs,.factory-bootstrap-445 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-445 .hidden-sm{display:block!important}.factory-bootstrap-445 table.hidden-sm{display:table}.factory-bootstrap-445 tr.hidden-sm{display:table-row!important}.factory-bootstrap-445 td.hidden-sm,.factory-bootstrap-445 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-445 .hidden-md{display:block!important}.factory-bootstrap-445 table.hidden-md{display:table}.factory-bootstrap-445 tr.hidden-md{display:table-row!important}.factory-bootstrap-445 td.hidden-md,.factory-bootstrap-445 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-445 .hidden-lg{display:block!important}.factory-bootstrap-445 table.hidden-lg{display:table}.factory-bootstrap-445 tr.hidden-lg{display:table-row!important}.factory-bootstrap-445 td.hidden-lg,.factory-bootstrap-445 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-445 .hidden-lg.hidden-xs,.factory-bootstrap-445 td.hidden-lg.hidden-xs,.factory-bootstrap-445 th.hidden-lg.hidden-xs,.factory-bootstrap-445 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-445 .hidden-lg.hidden-sm,.factory-bootstrap-445 td.hidden-lg.hidden-sm,.factory-bootstrap-445 th.hidden-lg.hidden-sm,.factory-bootstrap-445 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-445 .hidden-lg.hidden-md,.factory-bootstrap-445 td.hidden-lg.hidden-md,.factory-bootstrap-445 th.hidden-lg.hidden-md,.factory-bootstrap-445 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-445 .hidden-lg,.factory-bootstrap-445 td.hidden-lg,.factory-bootstrap-445 th.hidden-lg,.factory-bootstrap-445 tr.hidden-lg{display:none!important}}.factory-bootstrap-445 .visible-print,.factory-bootstrap-445 td.visible-print,.factory-bootstrap-445 th.visible-print,.factory-bootstrap-445 tr.visible-print{display:none!important}@media print{.factory-bootstrap-445 .visible-print{display:block!important}.factory-bootstrap-445 table.visible-print{display:table}.factory-bootstrap-445 tr.visible-print{display:table-row!important}.factory-bootstrap-445 td.visible-print,.factory-bootstrap-445 th.visible-print{display:table-cell!important}.factory-bootstrap-445 .hidden-print,.factory-bootstrap-445 td.hidden-print,.factory-bootstrap-445 th.hidden-print,.factory-bootstrap-445 tr.hidden-print{display:none!important}}/*!
12
  * Factory Default Bootstrap Theme
13
  *
14
  * The code is based on Bootstrap v2.1.1
@@ -22,4 +22,4 @@
22
  *
23
  * @package factory-bootstrap
24
  * @since 1.0.0
25
- */.factory-bootstrap-445 .btn-danger,.factory-bootstrap-445 .btn-default,.factory-bootstrap-445 .btn-info,.factory-bootstrap-445 .btn-primary,.factory-bootstrap-445 .btn-success,.factory-bootstrap-445 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-445 .btn-danger.active,.factory-bootstrap-445 .btn-danger:active,.factory-bootstrap-445 .btn-default.active,.factory-bootstrap-445 .btn-default:active,.factory-bootstrap-445 .btn-info.active,.factory-bootstrap-445 .btn-info:active,.factory-bootstrap-445 .btn-primary.active,.factory-bootstrap-445 .btn-primary:active,.factory-bootstrap-445 .btn-success.active,.factory-bootstrap-445 .btn-success:active,.factory-bootstrap-445 .btn-warning.active,.factory-bootstrap-445 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-445 .btn.active,.factory-bootstrap-445 .btn:active{background-image:none}.factory-bootstrap-445 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-445 .btn-default.active,.factory-bootstrap-445 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-445 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-445 .btn-gold:focus,.factory-bootstrap-445 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-445 .btn-gold.active,.factory-bootstrap-445 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-445 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-445 .btn-primary.active,.factory-bootstrap-445 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-445 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-445 .btn-success:focus,.factory-bootstrap-445 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-445 .btn-success.active,.factory-bootstrap-445 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-445 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-445 .btn-warning:focus,.factory-bootstrap-445 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-445 .btn-warning.active,.factory-bootstrap-445 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-445 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-445 .btn-danger.active,.factory-bootstrap-445 .btn-danger:active,.factory-bootstrap-445 .btn-danger:focus,.factory-bootstrap-445 .btn-danger:hover,.factory-bootstrap-445 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-445 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-445 .btn-info:focus,.factory-bootstrap-445 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-445 .btn-info.active,.factory-bootstrap-445 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-445 .img-thumbnail,.factory-bootstrap-445 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-445 .dropdown-menu>li>a:focus,.factory-bootstrap-445 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-445 .dropdown-menu>.active>a,.factory-bootstrap-445 .dropdown-menu>.active>a:focus,.factory-bootstrap-445 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-445 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-445 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-445 .navbar-brand,.factory-bootstrap-445 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-445 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-445 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-445 .navbar-inverse .navbar-brand,.factory-bootstrap-445 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-445 .navbar-fixed-bottom,.factory-bootstrap-445 .navbar-fixed-top,.factory-bootstrap-445 .navbar-static-top{border-radius:0}.factory-bootstrap-445 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-445 .alert .actions{padding-top:10px}.factory-bootstrap-445 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-445 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-445 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-445 .alert-normal,.factory-bootstrap-445 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-445 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-445 .alert-danger a:not(.btn),.factory-bootstrap-445 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-445 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-445 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-445 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-445 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-445 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-445 .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.factory-bootstrap-445 .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-445 .list-group-item.active,.factory-bootstrap-445 .list-group-item.active:focus,.factory-bootstrap-445 .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.factory-bootstrap-445 .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-445 .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-445 .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-445 .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.factory-bootstrap-445 .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.factory-bootstrap-445 .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.factory-bootstrap-445 .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.factory-bootstrap-445 .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.factory-bootstrap-445 .factory-after{margin-left:7px;display:inline-block}.factory-bootstrap-445 .factory-hidden{display:none}.factory-bootstrap-445 .factory-ajax-loader{width:25px;height:25px;background:url(../assets/images/loader-sm-tr.gif)}.factory-control-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:5px;padding:4px 10px 3px;max-width:500px;display:inline-block}.factory-control-error i{margin:0 7px 0 1px}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 article,.factory-bootstrap-449 aside,.factory-bootstrap-449 details,.factory-bootstrap-449 figcaption,.factory-bootstrap-449 figure,.factory-bootstrap-449 footer,.factory-bootstrap-449 header,.factory-bootstrap-449 hgroup,.factory-bootstrap-449 main,.factory-bootstrap-449 nav,.factory-bootstrap-449 section,.factory-bootstrap-449 summary{display:block}.factory-bootstrap-449 audio,.factory-bootstrap-449 canvas,.factory-bootstrap-449 video{display:inline-block}.factory-bootstrap-449 audio:not([controls]){display:none;height:0}.factory-bootstrap-449 [hidden],.factory-bootstrap-449 template{display:none}.factory-bootstrap-449 body{margin:0}.factory-bootstrap-449 a{background:0 0}.factory-bootstrap-449 a:focus{outline:thin dotted}.factory-bootstrap-449 a:active,.factory-bootstrap-449 a:hover{outline:0}.factory-bootstrap-449 h1{margin:.67em 0}.factory-bootstrap-449 b,.factory-bootstrap-449 strong{font-weight:700}.factory-bootstrap-449 dfn{font-style:italic}.factory-bootstrap-449 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-449 mark{color:#000;background:#ff0}.factory-bootstrap-449 code,.factory-bootstrap-449 kbd,.factory-bootstrap-449 pre,.factory-bootstrap-449 samp{font-size:1em}.factory-bootstrap-449 pre{white-space:pre-wrap}.factory-bootstrap-449 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-449 sub,.factory-bootstrap-449 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-449 sup{top:-.5em}.factory-bootstrap-449 sub{bottom:-.25em}.factory-bootstrap-449 img{border:0}.factory-bootstrap-449 svg:not(:root){overflow:hidden}.factory-bootstrap-449 figure{margin:0}.factory-bootstrap-449 button,.factory-bootstrap-449 input,.factory-bootstrap-449 select,.factory-bootstrap-449 textarea{margin:0}.factory-bootstrap-449 button,.factory-bootstrap-449 select{text-transform:none}.factory-bootstrap-449 select{padding-right:4px!important}.factory-bootstrap-449 button,.factory-bootstrap-449 input[type=reset],.factory-bootstrap-449 input[type=submit],html .factory-bootstrap-449 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-449 button[disabled],html .factory-bootstrap-449 input[disabled]{cursor:default}.factory-bootstrap-449 input[type=checkbox],.factory-bootstrap-449 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-449 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-449 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-449 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-449 button::-moz-focus-inner,.factory-bootstrap-449 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-449 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-449 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-449 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-449 a,.factory-bootstrap-449 a:visited{text-decoration:underline}.factory-bootstrap-449 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-449 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-449 a[href^="javascript:"]:after,.factory-bootstrap-449 a[href^="#"]:after{content:""}.factory-bootstrap-449 blockquote,.factory-bootstrap-449 pre{border:1px solid #999;page-break-inside:avoid}.factory-bootstrap-449 thead{display:table-header-group}.factory-bootstrap-449 img,.factory-bootstrap-449 tr{page-break-inside:avoid}.factory-bootstrap-449 img{max-width:100%!important}@page{margin:2cm .5cm}.factory-bootstrap-449 h2,.factory-bootstrap-449 h3,.factory-bootstrap-449 p{orphans:3;widows:3}.factory-bootstrap-449 h2,.factory-bootstrap-449 h3{page-break-after:avoid}.factory-bootstrap-449 select{background:#fff!important}.factory-bootstrap-449 .navbar{display:none}.factory-bootstrap-449 .table td,.factory-bootstrap-449 .table th{background-color:#fff!important}.factory-bootstrap-449 .btn>.caret,.factory-bootstrap-449 .dropup>.btn>.caret{border-top-color:#000!important}.factory-bootstrap-449 .label{border:1px solid #000}.factory-bootstrap-449 .table{border-collapse:collapse!important}.factory-bootstrap-449 .table-bordered td,.factory-bootstrap-449 .table-bordered th{border:1px solid #ddd!important}}.factory-bootstrap-449 *,.factory-bootstrap-449 :after,.factory-bootstrap-449 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html .factory-bootstrap-449{-webkit-tap-highlight-color:rgba(0,0,0,0)}.factory-bootstrap-449 body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}.factory-bootstrap-449 button,.factory-bootstrap-449 input,.factory-bootstrap-449 select,.factory-bootstrap-449 textarea{font-family:inherit;font-size:inherit;line-height:inherit}.factory-bootstrap-449 img{vertical-align:middle}.factory-bootstrap-449 .img-responsive{display:block;height:auto;max-width:100%}.factory-bootstrap-449 .img-rounded{border-radius:6px}.factory-bootstrap-449 .img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-449 .img-circle{border-radius:50%}.factory-bootstrap-449 hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.factory-bootstrap-449 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.factory-bootstrap-449 .h1,.factory-bootstrap-449 .h2,.factory-bootstrap-449 .h3,.factory-bootstrap-449 .h4,.factory-bootstrap-449 .h5,.factory-bootstrap-449 .h6,.factory-bootstrap-449 h1,.factory-bootstrap-449 h2,.factory-bootstrap-449 h3,.factory-bootstrap-449 h4,.factory-bootstrap-449 h5,.factory-bootstrap-449 h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}.factory-bootstrap-449 .h1 .small,.factory-bootstrap-449 .h1 small,.factory-bootstrap-449 .h2 .small,.factory-bootstrap-449 .h2 small,.factory-bootstrap-449 .h3 .small,.factory-bootstrap-449 .h3 small,.factory-bootstrap-449 .h4 .small,.factory-bootstrap-449 .h4 small,.factory-bootstrap-449 .h5 .small,.factory-bootstrap-449 .h5 small,.factory-bootstrap-449 .h6 .small,.factory-bootstrap-449 .h6 small,.factory-bootstrap-449 h1 .small,.factory-bootstrap-449 h1 small,.factory-bootstrap-449 h2 .small,.factory-bootstrap-449 h2 small,.factory-bootstrap-449 h3 .small,.factory-bootstrap-449 h3 small,.factory-bootstrap-449 h4 .small,.factory-bootstrap-449 h4 small,.factory-bootstrap-449 h5 .small,.factory-bootstrap-449 h5 small,.factory-bootstrap-449 h6 .small,.factory-bootstrap-449 h6 small{font-weight:400;line-height:1;color:#999}.factory-bootstrap-449 h1,.factory-bootstrap-449 h2,.factory-bootstrap-449 h3{margin-top:20px;margin-bottom:10px}.factory-bootstrap-449 h1 .small,.factory-bootstrap-449 h1 small,.factory-bootstrap-449 h2 .small,.factory-bootstrap-449 h2 small,.factory-bootstrap-449 h3 .small,.factory-bootstrap-449 h3 small{font-size:65%}.factory-bootstrap-449 h4,.factory-bootstrap-449 h5,.factory-bootstrap-449 h6{margin-top:10px;margin-bottom:10px}.factory-bootstrap-449 h4 .small,.factory-bootstrap-449 h4 small,.factory-bootstrap-449 h5 .small,.factory-bootstrap-449 h5 small,.factory-bootstrap-449 h6 .small,.factory-bootstrap-449 h6 small{font-size:75%}.factory-bootstrap-449 .h1,.factory-bootstrap-449 h1{font-size:36px}.factory-bootstrap-449 .h2,.factory-bootstrap-449 h2{font-size:30px}.factory-bootstrap-449 .h3,.factory-bootstrap-449 h3{font-size:24px}.factory-bootstrap-449 .h4,.factory-bootstrap-449 h4{font-size:18px}.factory-bootstrap-449 .h5,.factory-bootstrap-449 h5{font-size:14px}.factory-bootstrap-449 .h6,.factory-bootstrap-449 h6{font-size:12px}.factory-bootstrap-449 p{margin:0 0 10px}.factory-bootstrap-449 .lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.factory-bootstrap-449 .small,.factory-bootstrap-449 small{font-size:85%}.factory-bootstrap-449 cite{font-style:normal}.factory-bootstrap-449 .text-muted{color:#999}.factory-bootstrap-449 .text-primary{color:#428bca}.factory-bootstrap-449 .text-primary:hover{color:#3071a9}.factory-bootstrap-449 .text-warning{color:#8a6d3b}.factory-bootstrap-449 .text-warning:hover{color:#66512c}.factory-bootstrap-449 .text-danger{color:#a94442}.factory-bootstrap-449 .text-danger:hover{color:#843534}.factory-bootstrap-449 .text-success{color:#3c763d}.factory-bootstrap-449 .text-success:hover{color:#2b542c}.factory-bootstrap-449 .text-info{color:#31708f}.factory-bootstrap-449 .text-info:hover{color:#245269}.factory-bootstrap-449 .text-left{text-align:left}.factory-bootstrap-449 .text-right{text-align:right}.factory-bootstrap-449 .text-center{text-align:center}.factory-bootstrap-449 .page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}.factory-bootstrap-449 ol,.factory-bootstrap-449 ul{margin-top:0;margin-bottom:10px}.factory-bootstrap-449 ol ol,.factory-bootstrap-449 ol ul,.factory-bootstrap-449 ul ol,.factory-bootstrap-449 ul ul{margin-bottom:0}.factory-bootstrap-449 .list-inline,.factory-bootstrap-449 .list-unstyled{padding-left:0;list-style:none}.factory-bootstrap-449 .list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.factory-bootstrap-449 .list-inline>li:first-child{padding-left:0}.factory-bootstrap-449 dl{margin-top:0;margin-bottom:20px}.factory-bootstrap-449 dd,.factory-bootstrap-449 dt{line-height:1.428571429}.factory-bootstrap-449 dt{font-weight:700}.factory-bootstrap-449 dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:after,.dl-horizontal dd:before{display:table;content:" "}.dl-horizontal dd:after{clear:both}}.factory-bootstrap-449 abbr[data-original-title],.factory-bootstrap-449 abbr[title]{cursor:help;border-bottom:1px dotted #999}.factory-bootstrap-449 .initialism{font-size:90%;text-transform:uppercase}.factory-bootstrap-449 blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}.factory-bootstrap-449 blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}.factory-bootstrap-449 blockquote p:last-child{margin-bottom:0}.factory-bootstrap-449 blockquote .small,.factory-bootstrap-449 blockquote small{display:block;line-height:1.428571429;color:#999}.factory-bootstrap-449 blockquote .small:before,.factory-bootstrap-449 blockquote small:before{content:'\2014 \00A0'}.factory-bootstrap-449 blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}.factory-bootstrap-449 blockquote.pull-right .small,.factory-bootstrap-449 blockquote.pull-right p,.factory-bootstrap-449 blockquote.pull-right small{text-align:right}.factory-bootstrap-449 blockquote.pull-right .small:before,.factory-bootstrap-449 blockquote.pull-right small:before{content:''}.factory-bootstrap-449 blockquote.pull-right .small:after,.factory-bootstrap-449 blockquote.pull-right small:after{content:'\00A0 \2014'}.factory-bootstrap-449 blockquote:after,.factory-bootstrap-449 blockquote:before{content:""}.factory-bootstrap-449 address{margin-bottom:20px;font-style:normal;line-height:1.428571429}.factory-bootstrap-449 code,.factory-bootstrap-449 kbd,.factory-bootstrap-449 pre,.factory-bootstrap-449 samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.factory-bootstrap-449 code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}.factory-bootstrap-449 pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-449 pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.factory-bootstrap-449 .pre-scrollable{max-height:340px;overflow-y:scroll}.factory-bootstrap-449 .container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.factory-bootstrap-449 .container:after,.factory-bootstrap-449 .container:before{display:table;content:" "}.factory-bootstrap-449 .container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.factory-bootstrap-449 .row{margin-right:-15px;margin-left:-15px}.factory-bootstrap-449 .row:after,.factory-bootstrap-449 .row:before{display:table;content:" "}.factory-bootstrap-449 .row:after{clear:both}.factory-bootstrap-449 .col-lg-1,.factory-bootstrap-449 .col-lg-10,.factory-bootstrap-449 .col-lg-11,.factory-bootstrap-449 .col-lg-12,.factory-bootstrap-449 .col-lg-2,.factory-bootstrap-449 .col-lg-3,.factory-bootstrap-449 .col-lg-4,.factory-bootstrap-449 .col-lg-5,.factory-bootstrap-449 .col-lg-6,.factory-bootstrap-449 .col-lg-7,.factory-bootstrap-449 .col-lg-8,.factory-bootstrap-449 .col-lg-9,.factory-bootstrap-449 .col-md-1,.factory-bootstrap-449 .col-md-10,.factory-bootstrap-449 .col-md-11,.factory-bootstrap-449 .col-md-12,.factory-bootstrap-449 .col-md-2,.factory-bootstrap-449 .col-md-3,.factory-bootstrap-449 .col-md-4,.factory-bootstrap-449 .col-md-5,.factory-bootstrap-449 .col-md-6,.factory-bootstrap-449 .col-md-7,.factory-bootstrap-449 .col-md-8,.factory-bootstrap-449 .col-md-9,.factory-bootstrap-449 .col-sm-1,.factory-bootstrap-449 .col-sm-10,.factory-bootstrap-449 .col-sm-11,.factory-bootstrap-449 .col-sm-12,.factory-bootstrap-449 .col-sm-2,.factory-bootstrap-449 .col-sm-3,.factory-bootstrap-449 .col-sm-4,.factory-bootstrap-449 .col-sm-5,.factory-bootstrap-449 .col-sm-6,.factory-bootstrap-449 .col-sm-7,.factory-bootstrap-449 .col-sm-8,.factory-bootstrap-449 .col-sm-9,.factory-bootstrap-449 .col-xs-1,.factory-bootstrap-449 .col-xs-10,.factory-bootstrap-449 .col-xs-11,.factory-bootstrap-449 .col-xs-12,.factory-bootstrap-449 .col-xs-2,.factory-bootstrap-449 .col-xs-3,.factory-bootstrap-449 .col-xs-4,.factory-bootstrap-449 .col-xs-5,.factory-bootstrap-449 .col-xs-6,.factory-bootstrap-449 .col-xs-7,.factory-bootstrap-449 .col-xs-8,.factory-bootstrap-449 .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.factory-bootstrap-449 .col-xs-1,.factory-bootstrap-449 .col-xs-10,.factory-bootstrap-449 .col-xs-11,.factory-bootstrap-449 .col-xs-12,.factory-bootstrap-449 .col-xs-2,.factory-bootstrap-449 .col-xs-3,.factory-bootstrap-449 .col-xs-4,.factory-bootstrap-449 .col-xs-5,.factory-bootstrap-449 .col-xs-6,.factory-bootstrap-449 .col-xs-7,.factory-bootstrap-449 .col-xs-8,.factory-bootstrap-449 .col-xs-9{float:left}.factory-bootstrap-449 .col-xs-12{width:100%}.factory-bootstrap-449 .col-xs-11{width:91.66666666666666%}.factory-bootstrap-449 .col-xs-10{width:83.33333333333334%}.factory-bootstrap-449 .col-xs-9{width:75%}.factory-bootstrap-449 .col-xs-8{width:66.66666666666666%}.factory-bootstrap-449 .col-xs-7{width:58.333333333333336%}.factory-bootstrap-449 .col-xs-6{width:50%}.factory-bootstrap-449 .col-xs-5{width:41.66666666666667%}.factory-bootstrap-449 .col-xs-4{width:33.33333333333333%}.factory-bootstrap-449 .col-xs-3{width:25%}.factory-bootstrap-449 .col-xs-2{width:16.666666666666664%}.factory-bootstrap-449 .col-xs-1{width:8.333333333333332%}.factory-bootstrap-449 .col-xs-pull-12{right:100%}.factory-bootstrap-449 .col-xs-pull-11{right:91.66666666666666%}.factory-bootstrap-449 .col-xs-pull-10{right:83.33333333333334%}.factory-bootstrap-449 .col-xs-pull-9{right:75%}.factory-bootstrap-449 .col-xs-pull-8{right:66.66666666666666%}.factory-bootstrap-449 .col-xs-pull-7{right:58.333333333333336%}.factory-bootstrap-449 .col-xs-pull-6{right:50%}.factory-bootstrap-449 .col-xs-pull-5{right:41.66666666666667%}.factory-bootstrap-449 .col-xs-pull-4{right:33.33333333333333%}.factory-bootstrap-449 .col-xs-pull-3{right:25%}.factory-bootstrap-449 .col-xs-pull-2{right:16.666666666666664%}.factory-bootstrap-449 .col-xs-pull-1{right:8.333333333333332%}.factory-bootstrap-449 .col-xs-pull-0{right:0}.factory-bootstrap-449 .col-xs-push-12{left:100%}.factory-bootstrap-449 .col-xs-push-11{left:91.66666666666666%}.factory-bootstrap-449 .col-xs-push-10{left:83.33333333333334%}.factory-bootstrap-449 .col-xs-push-9{left:75%}.factory-bootstrap-449 .col-xs-push-8{left:66.66666666666666%}.factory-bootstrap-449 .col-xs-push-7{left:58.333333333333336%}.factory-bootstrap-449 .col-xs-push-6{left:50%}.factory-bootstrap-449 .col-xs-push-5{left:41.66666666666667%}.factory-bootstrap-449 .col-xs-push-4{left:33.33333333333333%}.factory-bootstrap-449 .col-xs-push-3{left:25%}.factory-bootstrap-449 .col-xs-push-2{left:16.666666666666664%}.factory-bootstrap-449 .col-xs-push-1{left:8.333333333333332%}.factory-bootstrap-449 .col-xs-push-0{left:0}.factory-bootstrap-449 .col-xs-offset-12{margin-left:100%}.factory-bootstrap-449 .col-xs-offset-11{margin-left:91.66666666666666%}.factory-bootstrap-449 .col-xs-offset-10{margin-left:83.33333333333334%}.factory-bootstrap-449 .col-xs-offset-9{margin-left:75%}.factory-bootstrap-449 .col-xs-offset-8{margin-left:66.66666666666666%}.factory-bootstrap-449 .col-xs-offset-7{margin-left:58.333333333333336%}.factory-bootstrap-449 .col-xs-offset-6{margin-left:50%}.factory-bootstrap-449 .col-xs-offset-5{margin-left:41.66666666666667%}.factory-bootstrap-449 .col-xs-offset-4{margin-left:33.33333333333333%}.factory-bootstrap-449 .col-xs-offset-3{margin-left:25%}.factory-bootstrap-449 .col-xs-offset-2{margin-left:16.666666666666664%}.factory-bootstrap-449 .col-xs-offset-1{margin-left:8.333333333333332%}.factory-bootstrap-449 .col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}.factory-bootstrap-449 table{max-width:100%;background-color:transparent}.factory-bootstrap-449 th{text-align:left}.factory-bootstrap-449 .table{width:100%;margin-bottom:20px}.factory-bootstrap-449 .table>tbody>tr>td,.factory-bootstrap-449 .table>tbody>tr>th,.factory-bootstrap-449 .table>tfoot>tr>td,.factory-bootstrap-449 .table>tfoot>tr>th,.factory-bootstrap-449 .table>thead>tr>td,.factory-bootstrap-449 .table>thead>tr>th{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.factory-bootstrap-449 .table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.factory-bootstrap-449 .table>caption+thead>tr:first-child>td,.factory-bootstrap-449 .table>caption+thead>tr:first-child>th,.factory-bootstrap-449 .table>colgroup+thead>tr:first-child>td,.factory-bootstrap-449 .table>colgroup+thead>tr:first-child>th,.factory-bootstrap-449 .table>thead:first-child>tr:first-child>td,.factory-bootstrap-449 .table>thead:first-child>tr:first-child>th{border-top:0}.factory-bootstrap-449 .table>tbody+tbody{border-top:2px solid #ddd}.factory-bootstrap-449 .table .table{background-color:#fff}.factory-bootstrap-449 .table-condensed>tbody>tr>td,.factory-bootstrap-449 .table-condensed>tbody>tr>th,.factory-bootstrap-449 .table-condensed>tfoot>tr>td,.factory-bootstrap-449 .table-condensed>tfoot>tr>th,.factory-bootstrap-449 .table-condensed>thead>tr>td,.factory-bootstrap-449 .table-condensed>thead>tr>th{padding:5px}.factory-bootstrap-449 .table-bordered,.factory-bootstrap-449 .table-bordered>tbody>tr>td,.factory-bootstrap-449 .table-bordered>tbody>tr>th,.factory-bootstrap-449 .table-bordered>tfoot>tr>td,.factory-bootstrap-449 .table-bordered>tfoot>tr>th,.factory-bootstrap-449 .table-bordered>thead>tr>td,.factory-bootstrap-449 .table-bordered>thead>tr>th{border:1px solid #ddd}.factory-bootstrap-449 .table-bordered>thead>tr>td,.factory-bootstrap-449 .table-bordered>thead>tr>th{border-bottom-width:2px}.factory-bootstrap-449 .table-striped>tbody>tr:nth-child(odd)>td,.factory-bootstrap-449 .table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.factory-bootstrap-449 .table-hover>tbody>tr:hover>td,.factory-bootstrap-449 .table-hover>tbody>tr:hover>th{background-color:#f5f5f5}.factory-bootstrap-449 table col[class*=col-]{position:static;display:table-column;float:none}.factory-bootstrap-449 table td[class*=col-],.factory-bootstrap-449 table th[class*=col-]{display:table-cell;float:none}.factory-bootstrap-449 .table>tbody>.active>td,.factory-bootstrap-449 .table>tbody>.active>th,.factory-bootstrap-449 .table>tbody>tr>.active,.factory-bootstrap-449 .table>tfoot>.active>td,.factory-bootstrap-449 .table>tfoot>.active>th,.factory-bootstrap-449 .table>tfoot>tr>.active,.factory-bootstrap-449 .table>thead>.active>td,.factory-bootstrap-449 .table>thead>.active>th,.factory-bootstrap-449 .table>thead>tr>.active{background-color:#f5f5f5}.factory-bootstrap-449 .table-hover>tbody>.active:hover>td,.factory-bootstrap-449 .table-hover>tbody>.active:hover>th,.factory-bootstrap-449 .table-hover>tbody>tr>.active:hover{background-color:#e8e8e8}.factory-bootstrap-449 .table>tbody>.success>td,.factory-bootstrap-449 .table>tbody>.success>th,.factory-bootstrap-449 .table>tbody>tr>.success,.factory-bootstrap-449 .table>tfoot>.success>td,.factory-bootstrap-449 .table>tfoot>.success>th,.factory-bootstrap-449 .table>tfoot>tr>.success,.factory-bootstrap-449 .table>thead>.success>td,.factory-bootstrap-449 .table>thead>.success>th,.factory-bootstrap-449 .table>thead>tr>.success{background-color:#dff0d8}.factory-bootstrap-449 .table-hover>tbody>.success:hover>td,.factory-bootstrap-449 .table-hover>tbody>.success:hover>th,.factory-bootstrap-449 .table-hover>tbody>tr>.success:hover{background-color:#d0e9c6}.factory-bootstrap-449 .table>tbody>.danger>td,.factory-bootstrap-449 .table>tbody>.danger>th,.factory-bootstrap-449 .table>tbody>tr>.danger,.factory-bootstrap-449 .table>tfoot>.danger>td,.factory-bootstrap-449 .table>tfoot>.danger>th,.factory-bootstrap-449 .table>tfoot>tr>.danger,.factory-bootstrap-449 .table>thead>.danger>td,.factory-bootstrap-449 .table>thead>.danger>th,.factory-bootstrap-449 .table>thead>tr>.danger{background-color:#f2dede}.factory-bootstrap-449 .table-hover>tbody>.danger:hover>td,.factory-bootstrap-449 .table-hover>tbody>.danger:hover>th,.factory-bootstrap-449 .table-hover>tbody>tr>.danger:hover{background-color:#ebcccc}.factory-bootstrap-449 .table>tbody>.warning>td,.factory-bootstrap-449 .table>tbody>.warning>th,.factory-bootstrap-449 .table>tbody>tr>.warning,.factory-bootstrap-449 .table>tfoot>.warning>td,.factory-bootstrap-449 .table>tfoot>.warning>th,.factory-bootstrap-449 .table>tfoot>tr>.warning,.factory-bootstrap-449 .table>thead>.warning>td,.factory-bootstrap-449 .table>thead>.warning>th,.factory-bootstrap-449 .table>thead>tr>.warning{background-color:#fcf8e3}.factory-bootstrap-449 .table-hover>tbody>.warning:hover>td,.factory-bootstrap-449 .table-hover>tbody>.warning:hover>th,.factory-bootstrap-449 .table-hover>tbody>tr>.warning:hover{background-color:#faf2cc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.factory-bootstrap-449 fieldset{padding:0;margin:0;border:0}.factory-bootstrap-449 legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-449 label{display:inline-block;margin-bottom:5px;font-weight:700}.factory-bootstrap-449 input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-449 input[type=checkbox],.factory-bootstrap-449 input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.factory-bootstrap-449 input[type=file]{display:block}.factory-bootstrap-449 select[multiple],.factory-bootstrap-449 select[size]{height:auto}.factory-bootstrap-449 select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}.factory-bootstrap-449 input[type=checkbox]:focus,.factory-bootstrap-449 input[type=file]:focus,.factory-bootstrap-449 input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-449 input[type=number]::-webkit-inner-spin-button,.factory-bootstrap-449 input[type=number]::-webkit-outer-spin-button{height:auto}.factory-bootstrap-449 output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.factory-bootstrap-449 .form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.factory-bootstrap-449 .form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-449 .form-control:-moz-placeholder{color:#999}.factory-bootstrap-449 .form-control::-moz-placeholder{color:#999;opacity:1}.factory-bootstrap-449 .form-control:-ms-input-placeholder{color:#999}.factory-bootstrap-449 .form-control::-webkit-input-placeholder{color:#999}.factory-bootstrap-449 .form-control[disabled],.factory-bootstrap-449 .form-control[readonly],.factory-bootstrap-449 fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}.factory-bootstrap-449 textarea.form-control{height:auto}.factory-bootstrap-449 .form-group{margin-bottom:15px}.factory-bootstrap-449 .checkbox,.factory-bootstrap-449 .radio{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.factory-bootstrap-449 .checkbox label,.factory-bootstrap-449 .radio label{display:inline;margin-bottom:0;font-weight:400;cursor:pointer}.factory-bootstrap-449 .checkbox input[type=checkbox],.factory-bootstrap-449 .checkbox-inline input[type=checkbox],.factory-bootstrap-449 .radio input[type=radio],.factory-bootstrap-449 .radio-inline input[type=radio]{float:left;margin-left:-20px}.factory-bootstrap-449 .checkbox+.checkbox,.factory-bootstrap-449 .radio+.radio{margin-top:-5px}.factory-bootstrap-449 .checkbox-inline,.factory-bootstrap-449 .radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.factory-bootstrap-449 .checkbox-inline+.checkbox-inline,.factory-bootstrap-449 .radio-inline+.radio-inline{margin-top:0;margin-left:10px}.factory-bootstrap-449 .checkbox-inline[disabled],.factory-bootstrap-449 .checkbox[disabled],.factory-bootstrap-449 .radio-inline[disabled],.factory-bootstrap-449 .radio[disabled],.factory-bootstrap-449 fieldset[disabled] .checkbox,.factory-bootstrap-449 fieldset[disabled] .checkbox-inline,.factory-bootstrap-449 fieldset[disabled] .radio,.factory-bootstrap-449 fieldset[disabled] .radio-inline,.factory-bootstrap-449 fieldset[disabled] input[type=checkbox],.factory-bootstrap-449 fieldset[disabled] input[type=radio],.factory-bootstrap-449 input[type=checkbox][disabled],.factory-bootstrap-449 input[type=radio][disabled]{cursor:not-allowed}.factory-bootstrap-449 .input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-449 select.input-sm{height:30px;line-height:30px}.factory-bootstrap-449 textarea.input-sm{height:auto}.factory-bootstrap-449 .input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-449 select.input-lg{height:46px;line-height:46px}.factory-bootstrap-449 textarea.input-lg{height:auto}.factory-bootstrap-449 .has-warning .checkbox,.factory-bootstrap-449 .has-warning .checkbox-inline,.factory-bootstrap-449 .has-warning .control-label,.factory-bootstrap-449 .has-warning .help-block,.factory-bootstrap-449 .has-warning .radio,.factory-bootstrap-449 .has-warning .radio-inline{color:#8a6d3b}.factory-bootstrap-449 .has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-449 .has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.factory-bootstrap-449 .has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.factory-bootstrap-449 .has-error .checkbox,.factory-bootstrap-449 .has-error .checkbox-inline,.factory-bootstrap-449 .has-error .control-label,.factory-bootstrap-449 .has-error .help-block,.factory-bootstrap-449 .has-error .radio,.factory-bootstrap-449 .has-error .radio-inline{color:#a94442}.factory-bootstrap-449 .controls{display:block}.factory-bootstrap-449 .has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-449 .has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.factory-bootstrap-449 .has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.factory-bootstrap-449 .has-success .checkbox,.factory-bootstrap-449 .has-success .checkbox-inline,.factory-bootstrap-449 .has-success .control-label,.factory-bootstrap-449 .has-success .help-block,.factory-bootstrap-449 .has-success .radio,.factory-bootstrap-449 .has-success .radio-inline{color:#3c763d}.factory-bootstrap-449 .has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-449 .has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.factory-bootstrap-449 .has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.factory-bootstrap-449 .form-control-static{margin-bottom:0}.factory-bootstrap-449 .help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373;font-weight:400}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .checkbox,.form-inline .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{float:none;margin-left:0}}.factory-bootstrap-449 .form-horizontal .checkbox,.factory-bootstrap-449 .form-horizontal .checkbox-inline,.factory-bootstrap-449 .form-horizontal .control-label,.factory-bootstrap-449 .form-horizontal .radio,.factory-bootstrap-449 .form-horizontal .radio-inline{position:relative;padding-top:7px;margin-top:0;margin-bottom:0}.factory-bootstrap-449 .form-horizontal .control-label{max-width:200px}.factory-bootstrap-449 .form-horizontal .checkbox,.factory-bootstrap-449 .form-horizontal .radio{min-height:27px}.factory-bootstrap-449 .form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.factory-bootstrap-449 .form-horizontal .form-group:after,.factory-bootstrap-449 .form-horizontal .form-group:before{display:table;content:" "}.factory-bootstrap-449 .form-horizontal .form-group:after{clear:both}.factory-bootstrap-449 .form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.factory-bootstrap-449 .btn{display:inline-block;padding:5px 12px;margin-bottom:0;font-size:13px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:3px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.factory-bootstrap-449 .btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.factory-bootstrap-449 .btn{text-decoration:none}.factory-bootstrap-449 .btn:focus,.factory-bootstrap-449 .btn:hover{color:#333;text-decoration:none}.factory-bootstrap-449 .btn.disabled,.factory-bootstrap-449 .btn[disabled],.factory-bootstrap-449 fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-449 .btn-default.active,.factory-bootstrap-449 .btn-default:active,.factory-bootstrap-449 .btn-default:focus,.factory-bootstrap-449 .btn-default:hover,.factory-bootstrap-449 .open .dropdown-toggle.btn-default{background:#fafafa;border-color:#999;color:#222}.factory-bootstrap-449 .btn-default.active,.factory-bootstrap-449 .btn-default:active,.factory-bootstrap-449 .open .dropdown-toggle.btn-default{background-image:none}.factory-bootstrap-449 .btn-default.disabled,.factory-bootstrap-449 .btn-default.disabled.active,.factory-bootstrap-449 .btn-default.disabled:active,.factory-bootstrap-449 .btn-default.disabled:focus,.factory-bootstrap-449 .btn-default.disabled:hover,.factory-bootstrap-449 .btn-default[disabled],.factory-bootstrap-449 .btn-default[disabled].active,.factory-bootstrap-449 .btn-default[disabled]:active,.factory-bootstrap-449 .btn-default[disabled]:focus,.factory-bootstrap-449 .btn-default[disabled]:hover,.factory-bootstrap-449 fieldset[disabled] .btn-default,.factory-bootstrap-449 fieldset[disabled] .btn-default.active,.factory-bootstrap-449 fieldset[disabled] .btn-default:active,.factory-bootstrap-449 fieldset[disabled] .btn-default:focus,.factory-bootstrap-449 fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.factory-bootstrap-449 .btn-default .badge{color:#fff;background-color:#fff}.factory-bootstrap-449 .btn-primary.active,.factory-bootstrap-449 .btn-primary:active,.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover,.factory-bootstrap-449 .open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.factory-bootstrap-449 .btn-primary.active,.factory-bootstrap-449 .btn-primary:active,.factory-bootstrap-449 .open .dropdown-toggle.btn-primary{background-image:none}.factory-bootstrap-449 .btn-primary.disabled,.factory-bootstrap-449 .btn-primary.disabled.active,.factory-bootstrap-449 .btn-primary.disabled:active,.factory-bootstrap-449 .btn-primary.disabled:focus,.factory-bootstrap-449 .btn-primary.disabled:hover,.factory-bootstrap-449 .btn-primary[disabled],.factory-bootstrap-449 .btn-primary[disabled].active,.factory-bootstrap-449 .btn-primary[disabled]:active,.factory-bootstrap-449 .btn-primary[disabled]:focus,.factory-bootstrap-449 .btn-primary[disabled]:hover,.factory-bootstrap-449 fieldset[disabled] .btn-primary,.factory-bootstrap-449 fieldset[disabled] .btn-primary.active,.factory-bootstrap-449 fieldset[disabled] .btn-primary:active,.factory-bootstrap-449 fieldset[disabled] .btn-primary:focus,.factory-bootstrap-449 fieldset[disabled] .btn-primary:hover{background-color:#428bca;border-color:#357ebd}.factory-bootstrap-449 .btn-primary .badge{color:#428bca;background-color:#fff}.factory-bootstrap-449 .btn-warning{color:#fff;background-color:#f0ad4e}.factory-bootstrap-449 .btn-warning.active,.factory-bootstrap-449 .btn-warning:active,.factory-bootstrap-449 .btn-warning:focus,.factory-bootstrap-449 .btn-warning:hover,.factory-bootstrap-449 .open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.factory-bootstrap-449 .btn-warning.active,.factory-bootstrap-449 .btn-warning:active,.factory-bootstrap-449 .open .dropdown-toggle.btn-warning{background-image:none}.factory-bootstrap-449 .btn-warning.disabled,.factory-bootstrap-449 .btn-warning.disabled.active,.factory-bootstrap-449 .btn-warning.disabled:active,.factory-bootstrap-449 .btn-warning.disabled:focus,.factory-bootstrap-449 .btn-warning.disabled:hover,.factory-bootstrap-449 .btn-warning[disabled],.factory-bootstrap-449 .btn-warning[disabled].active,.factory-bootstrap-449 .btn-warning[disabled]:active,.factory-bootstrap-449 .btn-warning[disabled]:focus,.factory-bootstrap-449 .btn-warning[disabled]:hover,.factory-bootstrap-449 fieldset[disabled] .btn-warning,.factory-bootstrap-449 fieldset[disabled] .btn-warning.active,.factory-bootstrap-449 fieldset[disabled] .btn-warning:active,.factory-bootstrap-449 fieldset[disabled] .btn-warning:focus,.factory-bootstrap-449 fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.factory-bootstrap-449 .btn-warning .badge{color:#f0ad4e;background-color:#fff}.factory-bootstrap-449 .btn-success{color:#fff;background-color:#5cb85c}.factory-bootstrap-449 .btn-success.active,.factory-bootstrap-449 .btn-success:active,.factory-bootstrap-449 .btn-success:focus,.factory-bootstrap-449 .btn-success:hover,.factory-bootstrap-449 .open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.factory-bootstrap-449 .btn-success.active,.factory-bootstrap-449 .btn-success:active,.factory-bootstrap-449 .open .dropdown-toggle.btn-success{background-image:none}.factory-bootstrap-449 .btn-success.disabled,.factory-bootstrap-449 .btn-success.disabled.active,.factory-bootstrap-449 .btn-success.disabled:active,.factory-bootstrap-449 .btn-success.disabled:focus,.factory-bootstrap-449 .btn-success.disabled:hover,.factory-bootstrap-449 .btn-success[disabled],.factory-bootstrap-449 .btn-success[disabled].active,.factory-bootstrap-449 .btn-success[disabled]:active,.factory-bootstrap-449 .btn-success[disabled]:focus,.factory-bootstrap-449 .btn-success[disabled]:hover,.factory-bootstrap-449 fieldset[disabled] .btn-success,.factory-bootstrap-449 fieldset[disabled] .btn-success.active,.factory-bootstrap-449 fieldset[disabled] .btn-success:active,.factory-bootstrap-449 fieldset[disabled] .btn-success:focus,.factory-bootstrap-449 fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.factory-bootstrap-449 .btn-success .badge{color:#5cb85c;background-color:#fff}.factory-bootstrap-449 .btn-info{color:#fff;background-color:#5bc0de}.factory-bootstrap-449 .btn-info.active,.factory-bootstrap-449 .btn-info:active,.factory-bootstrap-449 .btn-info:focus,.factory-bootstrap-449 .btn-info:hover,.factory-bootstrap-449 .open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.factory-bootstrap-449 .btn-info.active,.factory-bootstrap-449 .btn-info:active,.factory-bootstrap-449 .open .dropdown-toggle.btn-info{background-image:none}.factory-bootstrap-449 .btn-info.disabled,.factory-bootstrap-449 .btn-info.disabled.active,.factory-bootstrap-449 .btn-info.disabled:active,.factory-bootstrap-449 .btn-info.disabled:focus,.factory-bootstrap-449 .btn-info.disabled:hover,.factory-bootstrap-449 .btn-info[disabled],.factory-bootstrap-449 .btn-info[disabled].active,.factory-bootstrap-449 .btn-info[disabled]:active,.factory-bootstrap-449 .btn-info[disabled]:focus,.factory-bootstrap-449 .btn-info[disabled]:hover,.factory-bootstrap-449 fieldset[disabled] .btn-info,.factory-bootstrap-449 fieldset[disabled] .btn-info.active,.factory-bootstrap-449 fieldset[disabled] .btn-info:active,.factory-bootstrap-449 fieldset[disabled] .btn-info:focus,.factory-bootstrap-449 fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.factory-bootstrap-449 .btn-info .badge{color:#5bc0de;background-color:#fff}.factory-bootstrap-449 .btn-link{font-weight:400;color:#428bca;cursor:pointer;border-radius:0}.factory-bootstrap-449 .btn-link,.factory-bootstrap-449 .btn-link:active,.factory-bootstrap-449 .btn-link[disabled],.factory-bootstrap-449 fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-449 .btn-link,.factory-bootstrap-449 .btn-link:active,.factory-bootstrap-449 .btn-link:focus,.factory-bootstrap-449 .btn-link:hover{border-color:transparent}.factory-bootstrap-449 .btn-link:focus,.factory-bootstrap-449 .btn-link:hover{color:#2a6496;text-decoration:underline;background-color:transparent}.factory-bootstrap-449 .btn-link[disabled]:focus,.factory-bootstrap-449 .btn-link[disabled]:hover,.factory-bootstrap-449 fieldset[disabled] .btn-link:focus,.factory-bootstrap-449 fieldset[disabled] .btn-link:hover{color:#999;text-decoration:none}.factory-bootstrap-449 .btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-449 .btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-449 .btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-449 .btn-block{display:block;width:100%;padding-right:0;padding-left:0}.factory-bootstrap-449 .btn-block+.btn-block{margin-top:5px}.factory-bootstrap-449 input[type=button].btn-block,.factory-bootstrap-449 input[type=reset].btn-block,.factory-bootstrap-449 input[type=submit].btn-block{width:100%}.factory-bootstrap-449 .fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.factory-bootstrap-449 .fade.in{opacity:1}.factory-bootstrap-449 .collapse{display:none}.factory-bootstrap-449 .collapse.in{display:block}.factory-bootstrap-449 .collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular) format('svg')}.factory-bootstrap-449 .glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.factory-bootstrap-449 .glyphicon:empty{width:1em}.factory-bootstrap-449 .glyphicon-asterisk:before{content:"\2a"}.factory-bootstrap-449 .glyphicon-plus:before{content:"\2b"}.factory-bootstrap-449 .glyphicon-euro:before{content:"\20ac"}.factory-bootstrap-449 .glyphicon-minus:before{content:"\2212"}.factory-bootstrap-449 .glyphicon-cloud:before{content:"\2601"}.factory-bootstrap-449 .glyphicon-envelope:before{content:"\2709"}.factory-bootstrap-449 .glyphicon-pencil:before{content:"\270f"}.factory-bootstrap-449 .glyphicon-glass:before{content:"\e001"}.factory-bootstrap-449 .glyphicon-music:before{content:"\e002"}.factory-bootstrap-449 .glyphicon-search:before{content:"\e003"}.factory-bootstrap-449 .glyphicon-heart:before{content:"\e005"}.factory-bootstrap-449 .glyphicon-star:before{content:"\e006"}.factory-bootstrap-449 .glyphicon-star-empty:before{content:"\e007"}.factory-bootstrap-449 .glyphicon-user:before{content:"\e008"}.factory-bootstrap-449 .glyphicon-film:before{content:"\e009"}.factory-bootstrap-449 .glyphicon-th-large:before{content:"\e010"}.factory-bootstrap-449 .glyphicon-th:before{content:"\e011"}.factory-bootstrap-449 .glyphicon-th-list:before{content:"\e012"}.factory-bootstrap-449 .glyphicon-ok:before{content:"\e013"}.factory-bootstrap-449 .glyphicon-remove:before{content:"\e014"}.factory-bootstrap-449 .glyphicon-zoom-in:before{content:"\e015"}.factory-bootstrap-449 .glyphicon-zoom-out:before{content:"\e016"}.factory-bootstrap-449 .glyphicon-off:before{content:"\e017"}.factory-bootstrap-449 .glyphicon-signal:before{content:"\e018"}.factory-bootstrap-449 .glyphicon-cog:before{content:"\e019"}.factory-bootstrap-449 .glyphicon-trash:before{content:"\e020"}.factory-bootstrap-449 .glyphicon-home:before{content:"\e021"}.factory-bootstrap-449 .glyphicon-file:before{content:"\e022"}.factory-bootstrap-449 .glyphicon-time:before{content:"\e023"}.factory-bootstrap-449 .glyphicon-road:before{content:"\e024"}.factory-bootstrap-449 .glyphicon-download-alt:before{content:"\e025"}.factory-bootstrap-449 .glyphicon-download:before{content:"\e026"}.factory-bootstrap-449 .glyphicon-upload:before{content:"\e027"}.factory-bootstrap-449 .glyphicon-inbox:before{content:"\e028"}.factory-bootstrap-449 .glyphicon-play-circle:before{content:"\e029"}.factory-bootstrap-449 .glyphicon-repeat:before{content:"\e030"}.factory-bootstrap-449 .glyphicon-refresh:before{content:"\e031"}.factory-bootstrap-449 .glyphicon-list-alt:before{content:"\e032"}.factory-bootstrap-449 .glyphicon-lock:before{content:"\e033"}.factory-bootstrap-449 .glyphicon-flag:before{content:"\e034"}.factory-bootstrap-449 .glyphicon-headphones:before{content:"\e035"}.factory-bootstrap-449 .glyphicon-volume-off:before{content:"\e036"}.factory-bootstrap-449 .glyphicon-volume-down:before{content:"\e037"}.factory-bootstrap-449 .glyphicon-volume-up:before{content:"\e038"}.factory-bootstrap-449 .glyphicon-qrcode:before{content:"\e039"}.factory-bootstrap-449 .glyphicon-barcode:before{content:"\e040"}.factory-bootstrap-449 .glyphicon-tag:before{content:"\e041"}.factory-bootstrap-449 .glyphicon-tags:before{content:"\e042"}.factory-bootstrap-449 .glyphicon-book:before{content:"\e043"}.factory-bootstrap-449 .glyphicon-bookmark:before{content:"\e044"}.factory-bootstrap-449 .glyphicon-print:before{content:"\e045"}.factory-bootstrap-449 .glyphicon-camera:before{content:"\e046"}.factory-bootstrap-449 .glyphicon-font:before{content:"\e047"}.factory-bootstrap-449 .glyphicon-bold:before{content:"\e048"}.factory-bootstrap-449 .glyphicon-italic:before{content:"\e049"}.factory-bootstrap-449 .glyphicon-text-height:before{content:"\e050"}.factory-bootstrap-449 .glyphicon-text-width:before{content:"\e051"}.factory-bootstrap-449 .glyphicon-align-left:before{content:"\e052"}.factory-bootstrap-449 .glyphicon-align-center:before{content:"\e053"}.factory-bootstrap-449 .glyphicon-align-right:before{content:"\e054"}.factory-bootstrap-449 .glyphicon-align-justify:before{content:"\e055"}.factory-bootstrap-449 .glyphicon-list:before{content:"\e056"}.factory-bootstrap-449 .glyphicon-indent-left:before{content:"\e057"}.factory-bootstrap-449 .glyphicon-indent-right:before{content:"\e058"}.factory-bootstrap-449 .glyphicon-facetime-video:before{content:"\e059"}.factory-bootstrap-449 .glyphicon-picture:before{content:"\e060"}.factory-bootstrap-449 .glyphicon-map-marker:before{content:"\e062"}.factory-bootstrap-449 .glyphicon-adjust:before{content:"\e063"}.factory-bootstrap-449 .glyphicon-tint:before{content:"\e064"}.factory-bootstrap-449 .glyphicon-edit:before{content:"\e065"}.factory-bootstrap-449 .glyphicon-share:before{content:"\e066"}.factory-bootstrap-449 .glyphicon-check:before{content:"\e067"}.factory-bootstrap-449 .glyphicon-move:before{content:"\e068"}.factory-bootstrap-449 .glyphicon-step-backward:before{content:"\e069"}.factory-bootstrap-449 .glyphicon-fast-backward:before{content:"\e070"}.factory-bootstrap-449 .glyphicon-backward:before{content:"\e071"}.factory-bootstrap-449 .glyphicon-play:before{content:"\e072"}.factory-bootstrap-449 .glyphicon-pause:before{content:"\e073"}.factory-bootstrap-449 .glyphicon-stop:before{content:"\e074"}.factory-bootstrap-449 .glyphicon-forward:before{content:"\e075"}.factory-bootstrap-449 .glyphicon-fast-forward:before{content:"\e076"}.factory-bootstrap-449 .glyphicon-step-forward:before{content:"\e077"}.factory-bootstrap-449 .glyphicon-eject:before{content:"\e078"}.factory-bootstrap-449 .glyphicon-chevron-left:before{content:"\e079"}.factory-bootstrap-449 .glyphicon-chevron-right:before{content:"\e080"}.factory-bootstrap-449 .glyphicon-plus-sign:before{content:"\e081"}.factory-bootstrap-449 .glyphicon-minus-sign:before{content:"\e082"}.factory-bootstrap-449 .glyphicon-remove-sign:before{content:"\e083"}.factory-bootstrap-449 .glyphicon-ok-sign:before{content:"\e084"}.factory-bootstrap-449 .glyphicon-question-sign:before{content:"\e085"}.factory-bootstrap-449 .glyphicon-info-sign:before{content:"\e086"}.factory-bootstrap-449 .glyphicon-screenshot:before{content:"\e087"}.factory-bootstrap-449 .glyphicon-remove-circle:before{content:"\e088"}.factory-bootstrap-449 .glyphicon-ok-circle:before{content:"\e089"}.factory-bootstrap-449 .glyphicon-ban-circle:before{content:"\e090"}.factory-bootstrap-449 .glyphicon-arrow-left:before{content:"\e091"}.factory-bootstrap-449 .glyphicon-arrow-right:before{content:"\e092"}.factory-bootstrap-449 .glyphicon-arrow-up:before{content:"\e093"}.factory-bootstrap-449 .glyphicon-arrow-down:before{content:"\e094"}.factory-bootstrap-449 .glyphicon-share-alt:before{content:"\e095"}.factory-bootstrap-449 .glyphicon-resize-full:before{content:"\e096"}.factory-bootstrap-449 .glyphicon-resize-small:before{content:"\e097"}.factory-bootstrap-449 .glyphicon-exclamation-sign:before{content:"\e101"}.factory-bootstrap-449 .glyphicon-gift:before{content:"\e102"}.factory-bootstrap-449 .glyphicon-leaf:before{content:"\e103"}.factory-bootstrap-449 .glyphicon-fire:before{content:"\e104"}.factory-bootstrap-449 .glyphicon-eye-open:before{content:"\e105"}.factory-bootstrap-449 .glyphicon-eye-close:before{content:"\e106"}.factory-bootstrap-449 .glyphicon-warning-sign:before{content:"\e107"}.factory-bootstrap-449 .glyphicon-plane:before{content:"\e108"}.factory-bootstrap-449 .glyphicon-calendar:before{content:"\e109"}.factory-bootstrap-449 .glyphicon-random:before{content:"\e110"}.factory-bootstrap-449 .glyphicon-comment:before{content:"\e111"}.factory-bootstrap-449 .glyphicon-magnet:before{content:"\e112"}.factory-bootstrap-449 .glyphicon-chevron-up:before{content:"\e113"}.factory-bootstrap-449 .glyphicon-chevron-down:before{content:"\e114"}.factory-bootstrap-449 .glyphicon-retweet:before{content:"\e115"}.factory-bootstrap-449 .glyphicon-shopping-cart:before{content:"\e116"}.factory-bootstrap-449 .glyphicon-folder-close:before{content:"\e117"}.factory-bootstrap-449 .glyphicon-folder-open:before{content:"\e118"}.factory-bootstrap-449 .glyphicon-resize-vertical:before{content:"\e119"}.factory-bootstrap-449 .glyphicon-resize-horizontal:before{content:"\e120"}.factory-bootstrap-449 .glyphicon-hdd:before{content:"\e121"}.factory-bootstrap-449 .glyphicon-bullhorn:before{content:"\e122"}.factory-bootstrap-449 .glyphicon-bell:before{content:"\e123"}.factory-bootstrap-449 .glyphicon-certificate:before{content:"\e124"}.factory-bootstrap-449 .glyphicon-thumbs-up:before{content:"\e125"}.factory-bootstrap-449 .glyphicon-thumbs-down:before{content:"\e126"}.factory-bootstrap-449 .glyphicon-hand-right:before{content:"\e127"}.factory-bootstrap-449 .glyphicon-hand-left:before{content:"\e128"}.factory-bootstrap-449 .glyphicon-hand-up:before{content:"\e129"}.factory-bootstrap-449 .glyphicon-hand-down:before{content:"\e130"}.factory-bootstrap-449 .glyphicon-circle-arrow-right:before{content:"\e131"}.factory-bootstrap-449 .glyphicon-circle-arrow-left:before{content:"\e132"}.factory-bootstrap-449 .glyphicon-circle-arrow-up:before{content:"\e133"}.factory-bootstrap-449 .glyphicon-circle-arrow-down:before{content:"\e134"}.factory-bootstrap-449 .glyphicon-globe:before{content:"\e135"}.factory-bootstrap-449 .glyphicon-wrench:before{content:"\e136"}.factory-bootstrap-449 .glyphicon-tasks:before{content:"\e137"}.factory-bootstrap-449 .glyphicon-filter:before{content:"\e138"}.factory-bootstrap-449 .glyphicon-briefcase:before{content:"\e139"}.factory-bootstrap-449 .glyphicon-fullscreen:before{content:"\e140"}.factory-bootstrap-449 .glyphicon-dashboard:before{content:"\e141"}.factory-bootstrap-449 .glyphicon-paperclip:before{content:"\e142"}.factory-bootstrap-449 .glyphicon-heart-empty:before{content:"\e143"}.factory-bootstrap-449 .glyphicon-link:before{content:"\e144"}.factory-bootstrap-449 .glyphicon-phone:before{content:"\e145"}.factory-bootstrap-449 .glyphicon-pushpin:before{content:"\e146"}.factory-bootstrap-449 .glyphicon-usd:before{content:"\e148"}.factory-bootstrap-449 .glyphicon-gbp:before{content:"\e149"}.factory-bootstrap-449 .glyphicon-sort:before{content:"\e150"}.factory-bootstrap-449 .glyphicon-sort-by-alphabet:before{content:"\e151"}.factory-bootstrap-449 .glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.factory-bootstrap-449 .glyphicon-sort-by-order:before{content:"\e153"}.factory-bootstrap-449 .glyphicon-sort-by-order-alt:before{content:"\e154"}.factory-bootstrap-449 .glyphicon-sort-by-attributes:before{content:"\e155"}.factory-bootstrap-449 .glyphicon-sort-by-attributes-alt:before{content:"\e156"}.factory-bootstrap-449 .glyphicon-unchecked:before{content:"\e157"}.factory-bootstrap-449 .glyphicon-expand:before{content:"\e158"}.factory-bootstrap-449 .glyphicon-collapse-down:before{content:"\e159"}.factory-bootstrap-449 .glyphicon-collapse-up:before{content:"\e160"}.factory-bootstrap-449 .glyphicon-log-in:before{content:"\e161"}.factory-bootstrap-449 .glyphicon-flash:before{content:"\e162"}.factory-bootstrap-449 .glyphicon-log-out:before{content:"\e163"}.factory-bootstrap-449 .glyphicon-new-window:before{content:"\e164"}.factory-bootstrap-449 .glyphicon-record:before{content:"\e165"}.factory-bootstrap-449 .glyphicon-save:before{content:"\e166"}.factory-bootstrap-449 .glyphicon-open:before{content:"\e167"}.factory-bootstrap-449 .glyphicon-saved:before{content:"\e168"}.factory-bootstrap-449 .glyphicon-import:before{content:"\e169"}.factory-bootstrap-449 .glyphicon-export:before{content:"\e170"}.factory-bootstrap-449 .glyphicon-send:before{content:"\e171"}.factory-bootstrap-449 .glyphicon-floppy-disk:before{content:"\e172"}.factory-bootstrap-449 .glyphicon-floppy-saved:before{content:"\e173"}.factory-bootstrap-449 .glyphicon-floppy-remove:before{content:"\e174"}.factory-bootstrap-449 .glyphicon-floppy-save:before{content:"\e175"}.factory-bootstrap-449 .glyphicon-floppy-open:before{content:"\e176"}.factory-bootstrap-449 .glyphicon-credit-card:before{content:"\e177"}.factory-bootstrap-449 .glyphicon-transfer:before{content:"\e178"}.factory-bootstrap-449 .glyphicon-cutlery:before{content:"\e179"}.factory-bootstrap-449 .glyphicon-header:before{content:"\e180"}.factory-bootstrap-449 .glyphicon-compressed:before{content:"\e181"}.factory-bootstrap-449 .glyphicon-earphone:before{content:"\e182"}.factory-bootstrap-449 .glyphicon-phone-alt:before{content:"\e183"}.factory-bootstrap-449 .glyphicon-tower:before{content:"\e184"}.factory-bootstrap-449 .glyphicon-stats:before{content:"\e185"}.factory-bootstrap-449 .glyphicon-sd-video:before{content:"\e186"}.factory-bootstrap-449 .glyphicon-hd-video:before{content:"\e187"}.factory-bootstrap-449 .glyphicon-subtitles:before{content:"\e188"}.factory-bootstrap-449 .glyphicon-sound-stereo:before{content:"\e189"}.factory-bootstrap-449 .glyphicon-sound-dolby:before{content:"\e190"}.factory-bootstrap-449 .glyphicon-sound-5-1:before{content:"\e191"}.factory-bootstrap-449 .glyphicon-sound-6-1:before{content:"\e192"}.factory-bootstrap-449 .glyphicon-sound-7-1:before{content:"\e193"}.factory-bootstrap-449 .glyphicon-copyright-mark:before{content:"\e194"}.factory-bootstrap-449 .glyphicon-registration-mark:before{content:"\e195"}.factory-bootstrap-449 .glyphicon-cloud-download:before{content:"\e197"}.factory-bootstrap-449 .glyphicon-cloud-upload:before{content:"\e198"}.factory-bootstrap-449 .glyphicon-tree-conifer:before{content:"\e199"}.factory-bootstrap-449 .glyphicon-tree-deciduous:before{content:"\e200"}.factory-bootstrap-449 .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.factory-bootstrap-449 .dropdown{position:relative}.factory-bootstrap-449 .dropdown-toggle:focus{outline:0}.factory-bootstrap-449 .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.factory-bootstrap-449 .dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-449 .dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-449 .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429;color:#333;white-space:nowrap}.factory-bootstrap-449 .dropdown-menu>li>a:focus,.factory-bootstrap-449 .dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.factory-bootstrap-449 .dropdown-menu>.active>a,.factory-bootstrap-449 .dropdown-menu>.active>a:focus,.factory-bootstrap-449 .dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.factory-bootstrap-449 .dropdown-menu>.disabled>a,.factory-bootstrap-449 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-449 .dropdown-menu>.disabled>a:hover{color:#999}.factory-bootstrap-449 .dropdown-menu>.disabled>a:focus,.factory-bootstrap-449 .dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-449 .open>.dropdown-menu{display:block}.factory-bootstrap-449 .open>a{outline:0}.factory-bootstrap-449 .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.factory-bootstrap-449 .dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.factory-bootstrap-449 .pull-right>.dropdown-menu{right:0;left:auto}.factory-bootstrap-449 .dropup .caret,.factory-bootstrap-449 .navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.factory-bootstrap-449 .dropup .dropdown-menu,.factory-bootstrap-449 .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.factory-bootstrap-449 .btn-group,.factory-bootstrap-449 .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.factory-bootstrap-449 .btn-group-vertical>.btn,.factory-bootstrap-449 .btn-group>.btn{position:relative;float:left}.factory-bootstrap-449 .btn-group-vertical>.btn.active,.factory-bootstrap-449 .btn-group-vertical>.btn:active,.factory-bootstrap-449 .btn-group-vertical>.btn:focus,.factory-bootstrap-449 .btn-group-vertical>.btn:hover,.factory-bootstrap-449 .btn-group>.btn.active,.factory-bootstrap-449 .btn-group>.btn:active,.factory-bootstrap-449 .btn-group>.btn:focus,.factory-bootstrap-449 .btn-group>.btn:hover{z-index:2}.factory-bootstrap-449 .btn-group-vertical>.btn:focus,.factory-bootstrap-449 .btn-group>.btn:focus{outline:0}.factory-bootstrap-449 .btn-group .btn+.btn,.factory-bootstrap-449 .btn-group .btn+.btn-group,.factory-bootstrap-449 .btn-group .btn-group+.btn,.factory-bootstrap-449 .btn-group .btn-group+.btn-group{margin-left:-1px}.factory-bootstrap-449 .btn-toolbar:after,.factory-bootstrap-449 .btn-toolbar:before{display:table;content:" "}.factory-bootstrap-449 .btn-toolbar:after{clear:both}.factory-bootstrap-449 .btn-toolbar .btn-group{float:left}.factory-bootstrap-449 .btn-toolbar>.btn+.btn,.factory-bootstrap-449 .btn-toolbar>.btn+.btn-group,.factory-bootstrap-449 .btn-toolbar>.btn-group+.btn,.factory-bootstrap-449 .btn-toolbar>.btn-group+.btn-group{margin-left:5px}.factory-bootstrap-449 .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.factory-bootstrap-449 .btn-group>.btn:first-child{margin-left:0}.factory-bootstrap-449 .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-449 .btn-group>.btn:last-child:not(:first-child),.factory-bootstrap-449 .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-449 .btn-group>.btn-group{float:left}.factory-bootstrap-449 .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-449 .btn-group>.btn-group:first-child>.btn:last-child,.factory-bootstrap-449 .btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-449 .btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-449 .btn-group .dropdown-toggle:active,.factory-bootstrap-449 .btn-group.open .dropdown-toggle{outline:0}.factory-bootstrap-449 .btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-449 .btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-449 .btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-449 .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.factory-bootstrap-449 .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.factory-bootstrap-449 .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.factory-bootstrap-449 .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-449 .btn-group{border:4px solid #f9f9f9;border-radius:4px}.factory-bootstrap-449 .btn-group .btn.active.value{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-449 .btn .caret{margin-left:0}.factory-bootstrap-449 .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.factory-bootstrap-449 .dropup .btn-lg .caret{border-width:0 5px 5px}.factory-bootstrap-449 .btn-group-vertical>.btn,.factory-bootstrap-449 .btn-group-vertical>.btn-group,.factory-bootstrap-449 .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.factory-bootstrap-449 .btn-group-vertical>.btn-group:after,.factory-bootstrap-449 .btn-group-vertical>.btn-group:before{display:table;content:" "}.factory-bootstrap-449 .btn-group-vertical>.btn-group:after{clear:both}.factory-bootstrap-449 .btn-group-vertical>.btn-group>.btn{float:none}.factory-bootstrap-449 .btn-group-vertical>.btn+.btn,.factory-bootstrap-449 .btn-group-vertical>.btn+.btn-group,.factory-bootstrap-449 .btn-group-vertical>.btn-group+.btn,.factory-bootstrap-449 .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.factory-bootstrap-449 .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-449 .btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-449 .btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.factory-bootstrap-449 .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.factory-bootstrap-449 .btn-group-vertical>.btn-group:first-child>.btn:last-child,.factory-bootstrap-449 .btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-449 .btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-449 .btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.factory-bootstrap-449 .btn-group-justified>.btn,.factory-bootstrap-449 .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.factory-bootstrap-449 .btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=checkbox],[data-toggle=buttons]>.btn>input[type=radio]{display:none}.factory-bootstrap-449 .input-group{position:relative;display:table;border-collapse:separate}.factory-bootstrap-449 .input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.factory-bootstrap-449 .input-group .form-control{width:100%;margin-bottom:0}.factory-bootstrap-449 .input-group-lg>.form-control,.factory-bootstrap-449 .input-group-lg>.input-group-addon,.factory-bootstrap-449 .input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.factory-bootstrap-449 select.input-group-lg>.form-control,.factory-bootstrap-449 select.input-group-lg>.input-group-addon,.factory-bootstrap-449 select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}.factory-bootstrap-449 textarea.input-group-lg>.form-control,.factory-bootstrap-449 textarea.input-group-lg>.input-group-addon,.factory-bootstrap-449 textarea.input-group-lg>.input-group-btn>.btn{height:auto}.factory-bootstrap-449 .input-group-sm>.form-control,.factory-bootstrap-449 .input-group-sm>.input-group-addon,.factory-bootstrap-449 .input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.factory-bootstrap-449 select.input-group-sm>.form-control,.factory-bootstrap-449 select.input-group-sm>.input-group-addon,.factory-bootstrap-449 select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}.factory-bootstrap-449 textarea.input-group-sm>.form-control,.factory-bootstrap-449 textarea.input-group-sm>.input-group-addon,.factory-bootstrap-449 textarea.input-group-sm>.input-group-btn>.btn{height:auto}.factory-bootstrap-449 .input-group .form-control,.factory-bootstrap-449 .input-group-addon,.factory-bootstrap-449 .input-group-btn{display:table-cell}.factory-bootstrap-449 .input-group .form-control:not(:first-child):not(:last-child),.factory-bootstrap-449 .input-group-addon:not(:first-child):not(:last-child),.factory-bootstrap-449 .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.factory-bootstrap-449 .input-group-addon,.factory-bootstrap-449 .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.factory-bootstrap-449 .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.factory-bootstrap-449 .input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.factory-bootstrap-449 .input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.factory-bootstrap-449 .input-group-addon input[type=checkbox],.factory-bootstrap-449 .input-group-addon input[type=radio]{margin-top:0}.factory-bootstrap-449 .input-group .form-control:first-child,.factory-bootstrap-449 .input-group-addon:first-child,.factory-bootstrap-449 .input-group-btn:first-child>.btn,.factory-bootstrap-449 .input-group-btn:first-child>.dropdown-toggle,.factory-bootstrap-449 .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-449 .input-group-addon:first-child{border-right:0}.factory-bootstrap-449 .input-group .form-control:last-child,.factory-bootstrap-449 .input-group-addon:last-child,.factory-bootstrap-449 .input-group-btn:first-child>.btn:not(:first-child),.factory-bootstrap-449 .input-group-btn:last-child>.btn,.factory-bootstrap-449 .input-group-btn:last-child>.dropdown-toggle{border-bottom-left-radius:0;border-top-left-radius:0}.factory-bootstrap-449 .input-group-addon:last-child{border-left:0}.factory-bootstrap-449 .input-group-btn{position:relative;white-space:nowrap}.factory-bootstrap-449 .input-group-btn:first-child>.btn{margin-right:-1px}.factory-bootstrap-449 .input-group-btn:last-child>.btn{margin-left:-1px}.factory-bootstrap-449 .input-group-btn>.btn{position:relative}.factory-bootstrap-449 .input-group-btn>.btn+.btn{margin-left:-4px}.factory-bootstrap-449 .input-group-btn>.btn:active,.factory-bootstrap-449 .input-group-btn>.btn:hover{z-index:2}.factory-bootstrap-449 .nav{padding-left:0;margin-bottom:0;list-style:none}.factory-bootstrap-449 .nav:after,.factory-bootstrap-449 .nav:before{display:table;content:" "}.factory-bootstrap-449 .nav:after{clear:both}.factory-bootstrap-449 .nav>li{position:relative;display:block}.factory-bootstrap-449 .nav>li>a{position:relative;display:block;padding:10px 15px}.factory-bootstrap-449 .nav>li>a:focus,.factory-bootstrap-449 .nav>li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-449 .nav>li.disabled>a{color:#999}.factory-bootstrap-449 .nav>li.disabled>a:focus,.factory-bootstrap-449 .nav>li.disabled>a:hover{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.factory-bootstrap-449 .nav .open>a,.factory-bootstrap-449 .nav .open>a:focus,.factory-bootstrap-449 .nav .open>a:hover{background-color:#eee;border-color:#428bca}.factory-bootstrap-449 .nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.factory-bootstrap-449 .nav>li>a>img{max-width:none}.factory-bootstrap-449 .nav-tabs{border-bottom:1px solid #ddd}.factory-bootstrap-449 .nav-tabs>li{float:left;margin-bottom:-1px}.factory-bootstrap-449 .nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.factory-bootstrap-449 .nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.factory-bootstrap-449 .nav-tabs>li.active>a,.factory-bootstrap-449 .nav-tabs>li.active>a:focus,.factory-bootstrap-449 .nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.factory-bootstrap-449 .nav-tabs.nav-justified{width:100%;border-bottom:0}.factory-bootstrap-449 .nav-tabs.nav-justified>li{float:none}.factory-bootstrap-449 .nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-449 .nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-449 .nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-449 .nav-tabs.nav-justified>.active>a,.factory-bootstrap-449 .nav-tabs.nav-justified>.active>a:focus,.factory-bootstrap-449 .nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-449 .nav-pills>li{float:left}.factory-bootstrap-449 .nav-pills>li>a{border-radius:4px}.factory-bootstrap-449 .nav-pills>li+li{margin-left:2px}.factory-bootstrap-449 .nav-pills>li.active>a,.factory-bootstrap-449 .nav-pills>li.active>a:focus,.factory-bootstrap-449 .nav-pills>li.active>a:hover{color:#fff;background-color:#428bca}.factory-bootstrap-449 .nav-stacked>li{float:none}.factory-bootstrap-449 .nav-stacked>li+li{margin-top:2px;margin-left:0}.factory-bootstrap-449 .nav-justified{width:100%}.factory-bootstrap-449 .nav-justified>li{float:none}.factory-bootstrap-449 .nav-justified>li>a{margin-bottom:5px;text-align:center}.factory-bootstrap-449 .nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.factory-bootstrap-449 .nav-tabs-justified{border-bottom:0}.factory-bootstrap-449 .nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.factory-bootstrap-449 .nav-tabs-justified>.active>a,.factory-bootstrap-449 .nav-tabs-justified>.active>a:focus,.factory-bootstrap-449 .nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.factory-bootstrap-449 .tab-content>.tab-pane{display:none}.factory-bootstrap-449 .tab-content>.active{display:block}.factory-bootstrap-449 .nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-449 .navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.factory-bootstrap-449 .navbar:after,.factory-bootstrap-449 .navbar:before{display:table;content:" "}.factory-bootstrap-449 .navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.factory-bootstrap-449 .navbar-header:after,.factory-bootstrap-449 .navbar-header:before{display:table;content:" "}.factory-bootstrap-449 .navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.factory-bootstrap-449 .navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.factory-bootstrap-449 .navbar-collapse:after,.factory-bootstrap-449 .navbar-collapse:before{display:table;content:" "}.factory-bootstrap-449 .navbar-collapse:after{clear:both}.factory-bootstrap-449 .navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.factory-bootstrap-449 .container>.navbar-collapse,.factory-bootstrap-449 .container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.factory-bootstrap-449 .navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.factory-bootstrap-449 .navbar-fixed-bottom,.factory-bootstrap-449 .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.factory-bootstrap-449 .navbar-fixed-top{top:0;border-width:0 0 1px}.factory-bootstrap-449 .navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.factory-bootstrap-449 .navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px}.factory-bootstrap-449 .navbar-brand:focus,.factory-bootstrap-449 .navbar-brand:hover{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.factory-bootstrap-449 .navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.factory-bootstrap-449 .navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.factory-bootstrap-449 .navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.factory-bootstrap-449 .navbar-nav{margin:7.5px -15px}.factory-bootstrap-449 .navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.factory-bootstrap-449 .navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{float:none;margin-left:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.factory-bootstrap-449 .navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-449 .navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.factory-bootstrap-449 .navbar-nav.pull-right>li>.dropdown-menu,.factory-bootstrap-449 .navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.factory-bootstrap-449 .navbar-btn{margin-top:8px;margin-bottom:8px}.factory-bootstrap-449 .navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.factory-bootstrap-449 .navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.factory-bootstrap-449 .navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.factory-bootstrap-449 .navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.factory-bootstrap-449 .navbar-default .navbar-brand{color:#777}.factory-bootstrap-449 .navbar-default .navbar-brand:focus,.factory-bootstrap-449 .navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.factory-bootstrap-449 .navbar-default .navbar-nav>li>a,.factory-bootstrap-449 .navbar-default .navbar-text{color:#777}.factory-bootstrap-449 .navbar-default .navbar-nav>li>a:focus,.factory-bootstrap-449 .navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.factory-bootstrap-449 .navbar-default .navbar-nav>.active>a,.factory-bootstrap-449 .navbar-default .navbar-nav>.active>a:focus,.factory-bootstrap-449 .navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.factory-bootstrap-449 .navbar-default .navbar-nav>.disabled>a,.factory-bootstrap-449 .navbar-default .navbar-nav>.disabled>a:focus,.factory-bootstrap-449 .navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.factory-bootstrap-449 .navbar-default .navbar-toggle{border-color:#ddd}.factory-bootstrap-449 .navbar-default .navbar-toggle:focus,.factory-bootstrap-449 .navbar-default .navbar-toggle:hover{background-color:#ddd}.factory-bootstrap-449 .navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.factory-bootstrap-449 .navbar-default .navbar-collapse,.factory-bootstrap-449 .navbar-default .navbar-form{border-color:#e7e7e7}.factory-bootstrap-449 .navbar-default .navbar-nav>.open>a,.factory-bootstrap-449 .navbar-default .navbar-nav>.open>a:focus,.factory-bootstrap-449 .navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.factory-bootstrap-449 .navbar-default .navbar-link{color:#777}.factory-bootstrap-449 .navbar-default .navbar-link:hover{color:#333}.factory-bootstrap-449 .navbar-inverse{background-color:#222;border-color:#080808}.factory-bootstrap-449 .navbar-inverse .navbar-brand{color:#999}.factory-bootstrap-449 .navbar-inverse .navbar-brand:focus,.factory-bootstrap-449 .navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.factory-bootstrap-449 .navbar-inverse .navbar-nav>li>a,.factory-bootstrap-449 .navbar-inverse .navbar-text{color:#999}.factory-bootstrap-449 .navbar-inverse .navbar-nav>li>a:focus,.factory-bootstrap-449 .navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.factory-bootstrap-449 .navbar-inverse .navbar-nav>.active>a,.factory-bootstrap-449 .navbar-inverse .navbar-nav>.active>a:focus,.factory-bootstrap-449 .navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.factory-bootstrap-449 .navbar-inverse .navbar-nav>.disabled>a,.factory-bootstrap-449 .navbar-inverse .navbar-nav>.disabled>a:focus,.factory-bootstrap-449 .navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.factory-bootstrap-449 .navbar-inverse .navbar-toggle{border-color:#333}.factory-bootstrap-449 .navbar-inverse .navbar-toggle:focus,.factory-bootstrap-449 .navbar-inverse .navbar-toggle:hover{background-color:#333}.factory-bootstrap-449 .navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.factory-bootstrap-449 .navbar-inverse .navbar-collapse,.factory-bootstrap-449 .navbar-inverse .navbar-form{border-color:#101010}.factory-bootstrap-449 .navbar-inverse .navbar-nav>.open>a,.factory-bootstrap-449 .navbar-inverse .navbar-nav>.open>a:focus,.factory-bootstrap-449 .navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.factory-bootstrap-449 .navbar-inverse .navbar-link{color:#999}.factory-bootstrap-449 .navbar-inverse .navbar-link:hover{color:#fff}.factory-bootstrap-449 .breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.factory-bootstrap-449 .breadcrumb>li{display:inline-block}.factory-bootstrap-449 .breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.factory-bootstrap-449 .breadcrumb>.active{color:#999}.factory-bootstrap-449 .pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.factory-bootstrap-449 .pagination>li{display:inline}.factory-bootstrap-449 .pagination>li>a,.factory-bootstrap-449 .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-449 .pagination>li:first-child>a,.factory-bootstrap-449 .pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.factory-bootstrap-449 .pagination>li:last-child>a,.factory-bootstrap-449 .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.factory-bootstrap-449 .pagination>li>a:focus,.factory-bootstrap-449 .pagination>li>a:hover,.factory-bootstrap-449 .pagination>li>span:focus,.factory-bootstrap-449 .pagination>li>span:hover{background-color:#eee}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#1e8cbe;border-color:#0074a2}.factory-bootstrap-449 .pagination>.disabled>a,.factory-bootstrap-449 .pagination>.disabled>a:focus,.factory-bootstrap-449 .pagination>.disabled>a:hover,.factory-bootstrap-449 .pagination>.disabled>span,.factory-bootstrap-449 .pagination>.disabled>span:focus,.factory-bootstrap-449 .pagination>.disabled>span:hover{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.factory-bootstrap-449 .pagination-lg>li>a,.factory-bootstrap-449 .pagination-lg>li>span{padding:10px 16px;font-size:18px}.factory-bootstrap-449 .pagination-lg>li:first-child>a,.factory-bootstrap-449 .pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.factory-bootstrap-449 .pagination-lg>li:last-child>a,.factory-bootstrap-449 .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.factory-bootstrap-449 .pagination-sm>li>a,.factory-bootstrap-449 .pagination-sm>li>span{padding:5px 10px;font-size:12px}.factory-bootstrap-449 .pagination-sm>li:first-child>a,.factory-bootstrap-449 .pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.factory-bootstrap-449 .pagination-sm>li:last-child>a,.factory-bootstrap-449 .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.factory-bootstrap-449 .pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.factory-bootstrap-449 .pager:after,.factory-bootstrap-449 .pager:before{display:table;content:" "}.factory-bootstrap-449 .pager:after{clear:both}.factory-bootstrap-449 .pager li{display:inline}.factory-bootstrap-449 .pager li>a,.factory-bootstrap-449 .pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.factory-bootstrap-449 .pager li>a:focus,.factory-bootstrap-449 .pager li>a:hover{text-decoration:none;background-color:#eee}.factory-bootstrap-449 .pager .next>a,.factory-bootstrap-449 .pager .next>span{float:right}.factory-bootstrap-449 .pager .previous>a,.factory-bootstrap-449 .pager .previous>span{float:left}.factory-bootstrap-449 .pager .disabled>a,.factory-bootstrap-449 .pager .disabled>a:focus,.factory-bootstrap-449 .pager .disabled>a:hover,.factory-bootstrap-449 .pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.factory-bootstrap-449 .label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.factory-bootstrap-449 .label[href]:focus,.factory-bootstrap-449 .label[href]:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-449 .label:empty{display:none}.factory-bootstrap-449 .btn .label{position:relative;top:-1px}.factory-bootstrap-449 .label-default{background-color:#999}.factory-bootstrap-449 .label-default[href]:focus,.factory-bootstrap-449 .label-default[href]:hover{background-color:gray}.factory-bootstrap-449 .label-primary{background-color:#428bca}.factory-bootstrap-449 .label-primary[href]:focus,.factory-bootstrap-449 .label-primary[href]:hover{background-color:#3071a9}.factory-bootstrap-449 .label-success{background-color:#5cb85c}.factory-bootstrap-449 .label-success[href]:focus,.factory-bootstrap-449 .label-success[href]:hover{background-color:#449d44}.factory-bootstrap-449 .label-info{background-color:#5bc0de}.factory-bootstrap-449 .label-info[href]:focus,.factory-bootstrap-449 .label-info[href]:hover{background-color:#31b0d5}.factory-bootstrap-449 .label-warning{background-color:#f0ad4e}.factory-bootstrap-449 .label-warning[href]:focus,.factory-bootstrap-449 .label-warning[href]:hover{background-color:#ec971f}.factory-bootstrap-449 .label-danger{background-color:#d9534f}.factory-bootstrap-449 .label-danger[href]:focus,.factory-bootstrap-449 .label-danger[href]:hover{background-color:#c9302c}.factory-bootstrap-449 .badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.factory-bootstrap-449 .badge:empty{display:none}.factory-bootstrap-449 .btn .badge{position:relative;top:-1px}.factory-bootstrap-449 a.badge:focus,.factory-bootstrap-449 a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.factory-bootstrap-449 .nav-pills>.active>a>.badge,.factory-bootstrap-449 a.list-group-item.active>.badge{color:#428bca;background-color:#fff}.factory-bootstrap-449 .nav-pills>li>a>.badge{margin-left:3px}.factory-bootstrap-449 .jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.factory-bootstrap-449 .jumbotron .h1,.factory-bootstrap-449 .jumbotron h1{line-height:1;color:inherit}.factory-bootstrap-449 .jumbotron p{line-height:1.4}.factory-bootstrap-449 .container .jumbotron{border-radius:6px}.factory-bootstrap-449 .jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.factory-bootstrap-449 .thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.factory-bootstrap-449 .thumbnail a>img,.factory-bootstrap-449 .thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}.factory-bootstrap-449 a.thumbnail.active,.factory-bootstrap-449 a.thumbnail:focus,.factory-bootstrap-449 a.thumbnail:hover{border-color:#428bca}.factory-bootstrap-449 .thumbnail .caption{padding:9px;color:#333}.factory-bootstrap-449 .alert{border:1px solid transparent;border-radius:4px}.factory-bootstrap-449 .alert h4{margin-top:0;color:inherit}.factory-bootstrap-449 .alert .alert-link{font-weight:700}.factory-bootstrap-449 .alert>p,.factory-bootstrap-449 .alert>ul{margin-bottom:0}.factory-bootstrap-449 .alert>p+p{margin-top:5px}.factory-bootstrap-449 .alert-dismissable{padding-right:35px}.factory-bootstrap-449 .alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.factory-bootstrap-449 .alert-info{color:#31708f;background-color:#d9edf7}.factory-bootstrap-449 .alert-info hr{border-top-color:#a6e1ec}.factory-bootstrap-449 .alert-info .alert-link{color:#245269}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.factory-bootstrap-449 .progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.factory-bootstrap-449 .progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#2ea2cc;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.factory-bootstrap-449 .progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.factory-bootstrap-449 .progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.factory-bootstrap-449 .progress-bar-success{background-color:#5cb85c}.factory-bootstrap-449 .progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-449 .progress-bar-info{background-color:#5bc0de}.factory-bootstrap-449 .progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-449 .progress-bar-warning{background-color:#f0ad4e}.factory-bootstrap-449 .progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-449 .progress-bar-danger{background-color:#d9534f}.factory-bootstrap-449 .progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.factory-bootstrap-449 .media,.factory-bootstrap-449 .media-body{overflow:hidden;zoom:1}.factory-bootstrap-449 .media,.factory-bootstrap-449 .media .media{margin-top:15px}.factory-bootstrap-449 .media:first-child{margin-top:0}.factory-bootstrap-449 .media-object{display:block}.factory-bootstrap-449 .media-heading{margin:0 0 5px}.factory-bootstrap-449 .media>.pull-left{margin-right:10px}.factory-bootstrap-449 .media>.pull-right{margin-left:10px}.factory-bootstrap-449 .media-list{padding-left:0;list-style:none}.factory-bootstrap-449 .list-group{padding-left:0;margin-bottom:20px}.factory-bootstrap-449 .list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.factory-bootstrap-449 .list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.factory-bootstrap-449 .list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.factory-bootstrap-449 .list-group-item>.badge{float:right}.factory-bootstrap-449 .list-group-item>.badge+.badge{margin-right:5px}.factory-bootstrap-449 a.list-group-item{color:#555}.factory-bootstrap-449 a.list-group-item .list-group-item-heading{color:#333}.factory-bootstrap-449 a.list-group-item:focus,.factory-bootstrap-449 a.list-group-item:hover{text-decoration:none;background-color:#f5f5f5}.factory-bootstrap-449 a.list-group-item.active,.factory-bootstrap-449 a.list-group-item.active:focus,.factory-bootstrap-449 a.list-group-item.active:hover{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-449 a.list-group-item.active .list-group-item-heading,.factory-bootstrap-449 a.list-group-item.active:focus .list-group-item-heading,.factory-bootstrap-449 a.list-group-item.active:hover .list-group-item-heading{color:inherit}.factory-bootstrap-449 a.list-group-item.active .list-group-item-text,.factory-bootstrap-449 a.list-group-item.active:focus .list-group-item-text,.factory-bootstrap-449 a.list-group-item.active:hover .list-group-item-text{color:#e1edf7}.factory-bootstrap-449 .list-group-item-heading{margin-top:0;margin-bottom:5px}.factory-bootstrap-449 .list-group-item-text{margin-bottom:0;line-height:1.3}.factory-bootstrap-449 .panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.factory-bootstrap-449 .panel-body{padding:15px}.factory-bootstrap-449 .panel-body:after,.factory-bootstrap-449 .panel-body:before{display:table;content:" "}.factory-bootstrap-449 .panel-body:after{clear:both}.factory-bootstrap-449 .panel>.list-group{margin-bottom:0}.factory-bootstrap-449 .panel>.list-group .list-group-item{border-width:1px 0}.factory-bootstrap-449 .panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.factory-bootstrap-449 .panel>.list-group .list-group-item:last-child{border-bottom:0}.factory-bootstrap-449 .panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.factory-bootstrap-449 .panel>.table,.factory-bootstrap-449 .panel>.table-responsive>.table{margin-bottom:0}.factory-bootstrap-449 .panel>.panel-body+.table,.factory-bootstrap-449 .panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.factory-bootstrap-449 .panel>.table>tbody:first-child td,.factory-bootstrap-449 .panel>.table>tbody:first-child th{border-top:0}.factory-bootstrap-449 .panel>.table-bordered,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered{border:0}.factory-bootstrap-449 .panel>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-449 .panel>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-449 .panel>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-449 .panel>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-449 .panel>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-449 .panel>.table-bordered>thead>tr>th:first-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.factory-bootstrap-449 .panel>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-449 .panel>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-449 .panel>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-449 .panel>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-449 .panel>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-449 .panel>.table-bordered>thead>tr>th:last-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.factory-bootstrap-449 .panel>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-449 .panel>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-449 .panel>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-449 .panel>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-449 .panel>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-449 .panel>.table-bordered>thead>tr:last-child>th,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.factory-bootstrap-449 .panel>.table-responsive>.table-bordered>thead>tr:last-child>th{border-bottom:0}.factory-bootstrap-449 .panel>.table-responsive{margin-bottom:0;border:0}.factory-bootstrap-449 .panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.factory-bootstrap-449 .panel-heading>.dropdown .dropdown-toggle{color:inherit}.factory-bootstrap-449 .panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.factory-bootstrap-449 .panel-title>a{color:inherit}.factory-bootstrap-449 .panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.factory-bootstrap-449 .panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.factory-bootstrap-449 .panel-group .panel+.panel{margin-top:5px}.factory-bootstrap-449 .panel-group .panel-heading{border-bottom:0}.factory-bootstrap-449 .panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.factory-bootstrap-449 .panel-group .panel-footer{border-top:0}.factory-bootstrap-449 .panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.factory-bootstrap-449 .panel-default{border-color:#ddd}.factory-bootstrap-449 .panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.factory-bootstrap-449 .panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.factory-bootstrap-449 .panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.factory-bootstrap-449 .panel-primary{border-color:#428bca}.factory-bootstrap-449 .panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.factory-bootstrap-449 .panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.factory-bootstrap-449 .panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.factory-bootstrap-449 .panel-success{border-color:#d6e9c6}.factory-bootstrap-449 .panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.factory-bootstrap-449 .panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.factory-bootstrap-449 .panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.factory-bootstrap-449 .panel-warning{border-color:#faebcc}.factory-bootstrap-449 .panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.factory-bootstrap-449 .panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.factory-bootstrap-449 .panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.factory-bootstrap-449 .panel-danger{border-color:#ebccd1}.factory-bootstrap-449 .panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.factory-bootstrap-449 .panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.factory-bootstrap-449 .panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.factory-bootstrap-449 .panel-info{border-color:#bce8f1}.factory-bootstrap-449 .panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.factory-bootstrap-449 .panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.factory-bootstrap-449 .panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.factory-bootstrap-449 .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.factory-bootstrap-449 .well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.factory-bootstrap-449 .well-lg{padding:24px;border-radius:6px}.factory-bootstrap-449 .well-sm{padding:9px;border-radius:3px}.factory-bootstrap-449 .close{float:right;font-size:14px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.3;filter:alpha(opacity=30)}.factory-bootstrap-449 .alert .close{position:relative;top:-8px;right:-7px}.factory-bootstrap-449 .close:focus,.factory-bootstrap-449 .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-449 button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.factory-bootstrap-449 .modal-open{overflow:hidden}.factory-bootstrap-449 .modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll;width:auto;margin-left:0;background-color:transparent;border:0}.factory-bootstrap-449 .modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.factory-bootstrap-449 .modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.factory-bootstrap-449 .modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.factory-bootstrap-449 .modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box}.factory-bootstrap-449 .modal-backdrop,.factory-bootstrap-449-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.factory-bootstrap-449 .modal-backdrop.fade,.factory-bootstrap-449-modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.factory-bootstrap-449 .modal-backdrop.in,.factory-bootstrap-449-modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-449 .modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.factory-bootstrap-449 .modal-header .close{margin-top:-2px}.factory-bootstrap-449 .modal-title{margin:0;line-height:1.428571429}.factory-bootstrap-449 .modal-body{position:relative;padding:20px;max-height:none}.factory-bootstrap-449 .modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.factory-bootstrap-449 .modal-footer:after,.factory-bootstrap-449 .modal-footer:before{display:table;content:" "}.factory-bootstrap-449 .modal-footer:after{clear:both}.factory-bootstrap-449 .modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.factory-bootstrap-449 .modal-footer .btn-group .btn+.btn{margin-left:-1px}.factory-bootstrap-449 .modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.factory-bootstrap-449 .modal-dialog{width:600px;margin:30px auto}.factory-bootstrap-449 .modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}}.factory-bootstrap-449 .tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.factory-bootstrap-449 .tooltip.in{opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-449 .tooltip.top{padding:5px 0;margin-top:-3px}.factory-bootstrap-449 .tooltip.right{padding:0 5px;margin-left:3px}.factory-bootstrap-449 .tooltip.bottom{padding:5px 0;margin-top:3px}.factory-bootstrap-449 .tooltip.left{padding:0 5px;margin-left:-3px}.factory-bootstrap-449 .tooltip-inner{width:400px;padding:15px 20px;color:#fff;text-align:left;text-decoration:none;background-color:#673ab7;border-radius:3px}.factory-bootstrap-449 .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-449 .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-449 .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-449 .tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#673ab7;border-width:5px 5px 0}.factory-bootstrap-449 .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#673ab7;border-width:5px 5px 5px 0}.factory-bootstrap-449 .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#673ab7;border-width:5px 0 5px 5px}.factory-bootstrap-449 .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-449 .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-449 .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#673ab7;border-width:0 5px 5px}.factory-bootstrap-449 .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);background-clip:padding-box}.factory-bootstrap-449 .popover.top{margin-top:-10px}.factory-bootstrap-449 .popover.right{margin-left:10px}.factory-bootstrap-449 .popover.bottom{margin-top:10px}.factory-bootstrap-449 .popover.left{margin-left:-10px}.factory-bootstrap-449 .popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.factory-bootstrap-449 .popover-content{padding:9px 14px}.factory-bootstrap-449 .popover .arrow,.factory-bootstrap-449 .popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.factory-bootstrap-449 .popover .arrow{border-width:11px}.factory-bootstrap-449 .popover .arrow:after{border-width:10px;content:""}.factory-bootstrap-449 .popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.factory-bootstrap-449 .popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.factory-bootstrap-449 .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.factory-bootstrap-449 .popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.factory-bootstrap-449 .popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);border-top-width:0}.factory-bootstrap-449 .popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.factory-bootstrap-449 .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,.25);border-right-width:0}.factory-bootstrap-449 .popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.factory-bootstrap-449 .carousel{position:relative}.factory-bootstrap-449 .carousel-inner{position:relative;width:100%;overflow:hidden}.factory-bootstrap-449 .carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.factory-bootstrap-449 .carousel-inner>.item>a>img,.factory-bootstrap-449 .carousel-inner>.item>img{display:block;height:auto;max-width:100%;line-height:1}.factory-bootstrap-449 .carousel-inner>.active,.factory-bootstrap-449 .carousel-inner>.next,.factory-bootstrap-449 .carousel-inner>.prev{display:block}.factory-bootstrap-449 .carousel-inner>.active{left:0}.factory-bootstrap-449 .carousel-inner>.next,.factory-bootstrap-449 .carousel-inner>.prev{position:absolute;top:0;width:100%}.factory-bootstrap-449 .carousel-inner>.next{left:100%}.factory-bootstrap-449 .carousel-inner>.prev{left:-100%}.factory-bootstrap-449 .carousel-inner>.next.left,.factory-bootstrap-449 .carousel-inner>.prev.right{left:0}.factory-bootstrap-449 .carousel-inner>.active.left{left:-100%}.factory-bootstrap-449 .carousel-inner>.active.right{left:100%}.factory-bootstrap-449 .carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5;filter:alpha(opacity=50)}.factory-bootstrap-449 .carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.factory-bootstrap-449 .carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.factory-bootstrap-449 .carousel-control:focus,.factory-bootstrap-449 .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.factory-bootstrap-449 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-449 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-449 .carousel-control .icon-next,.factory-bootstrap-449 .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.factory-bootstrap-449 .carousel-control .glyphicon-chevron-left,.factory-bootstrap-449 .carousel-control .icon-prev{left:50%}.factory-bootstrap-449 .carousel-control .glyphicon-chevron-right,.factory-bootstrap-449 .carousel-control .icon-next{right:50%}.factory-bootstrap-449 .carousel-control .icon-next,.factory-bootstrap-449 .carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.factory-bootstrap-449 .carousel-control .icon-prev:before{content:'\2039'}.factory-bootstrap-449 .carousel-control .icon-next:before{content:'\203a'}.factory-bootstrap-449 .carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.factory-bootstrap-449 .carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.factory-bootstrap-449 .carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.factory-bootstrap-449 .carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.factory-bootstrap-449 .carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.factory-bootstrap-449 .clearfix:after,.factory-bootstrap-449 .clearfix:before{display:table;content:" "}.factory-bootstrap-449 .clearfix:after{clear:both}.factory-bootstrap-449 .center-block{display:block;margin-right:auto;margin-left:auto}.factory-bootstrap-449 .pull-right{float:right!important}.factory-bootstrap-449 .pull-left{float:left!important}.factory-bootstrap-449 .hide{display:none!important}.factory-bootstrap-449 .show{display:block!important}.factory-bootstrap-449 .invisible{visibility:hidden}.factory-bootstrap-449 .text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.factory-bootstrap-449 .hidden{display:none!important;visibility:hidden!important}.factory-bootstrap-449 .affix{position:fixed}@-ms-viewport{width:device-width}.factory-bootstrap-449 .visible-lg,.factory-bootstrap-449 .visible-md,.factory-bootstrap-449 .visible-sm,.factory-bootstrap-449 .visible-xs,.factory-bootstrap-449 td.visible-lg,.factory-bootstrap-449 td.visible-md,.factory-bootstrap-449 td.visible-sm,.factory-bootstrap-449 td.visible-xs,.factory-bootstrap-449 th.visible-lg,.factory-bootstrap-449 th.visible-md,.factory-bootstrap-449 th.visible-sm,.factory-bootstrap-449 th.visible-xs,.factory-bootstrap-449 tr.visible-lg,.factory-bootstrap-449 tr.visible-md,.factory-bootstrap-449 tr.visible-sm,.factory-bootstrap-449 tr.visible-xs{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}td.visible-xs.visible-sm,th.visible-xs.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}td.visible-xs.visible-md,th.visible-xs.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}td.visible-xs.visible-lg,th.visible-xs.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}td.visible-sm.visible-xs,th.visible-sm.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}td.visible-sm.visible-md,th.visible-sm.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}td.visible-sm.visible-lg,th.visible-sm.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}td.visible-md.visible-xs,th.visible-md.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}td.visible-md.visible-sm,th.visible-md.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}td.visible-md.visible-lg,th.visible-md.visible-lg{display:table-cell!important}}@media (max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}td.visible-lg.visible-xs,th.visible-lg.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}td.visible-lg.visible-sm,th.visible-lg.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}td.visible-lg.visible-md,th.visible-lg.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}.factory-bootstrap-449 .hidden-xs{display:block!important}.factory-bootstrap-449 table.hidden-xs{display:table}.factory-bootstrap-449 tr.hidden-xs{display:table-row!important}.factory-bootstrap-449 td.hidden-xs,.factory-bootstrap-449 th.hidden-xs{display:table-cell!important}@media (max-width:767px){.hidden-xs,td.hidden-xs,th.hidden-xs,tr.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,td.hidden-xs.hidden-md,th.hidden-xs.hidden-md,tr.hidden-xs.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg{display:none!important}}.factory-bootstrap-449 .hidden-sm{display:block!important}.factory-bootstrap-449 table.hidden-sm{display:table}.factory-bootstrap-449 tr.hidden-sm{display:table-row!important}.factory-bootstrap-449 td.hidden-sm,.factory-bootstrap-449 th.hidden-sm{display:table-cell!important}@media (max-width:767px){.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm,td.hidden-sm,th.hidden-sm,tr.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,td.hidden-sm.hidden-md,th.hidden-sm.hidden-md,tr.hidden-sm.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg{display:none!important}}.factory-bootstrap-449 .hidden-md{display:block!important}.factory-bootstrap-449 table.hidden-md{display:table}.factory-bootstrap-449 tr.hidden-md{display:table-row!important}.factory-bootstrap-449 td.hidden-md,.factory-bootstrap-449 th.hidden-md{display:table-cell!important}@media (max-width:767px){.hidden-md.hidden-xs,td.hidden-md.hidden-xs,th.hidden-md.hidden-xs,tr.hidden-md.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,td.hidden-md.hidden-sm,th.hidden-md.hidden-sm,tr.hidden-md.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md,td.hidden-md,th.hidden-md,tr.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-md.hidden-lg,td.hidden-md.hidden-lg,th.hidden-md.hidden-lg,tr.hidden-md.hidden-lg{display:none!important}}.factory-bootstrap-449 .hidden-lg{display:block!important}.factory-bootstrap-449 table.hidden-lg{display:table}.factory-bootstrap-449 tr.hidden-lg{display:table-row!important}.factory-bootstrap-449 td.hidden-lg,.factory-bootstrap-449 th.hidden-lg{display:table-cell!important}@media (max-width:767px){.factory-bootstrap-449 .hidden-lg.hidden-xs,.factory-bootstrap-449 td.hidden-lg.hidden-xs,.factory-bootstrap-449 th.hidden-lg.hidden-xs,.factory-bootstrap-449 tr.hidden-lg.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.factory-bootstrap-449 .hidden-lg.hidden-sm,.factory-bootstrap-449 td.hidden-lg.hidden-sm,.factory-bootstrap-449 th.hidden-lg.hidden-sm,.factory-bootstrap-449 tr.hidden-lg.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.factory-bootstrap-449 .hidden-lg.hidden-md,.factory-bootstrap-449 td.hidden-lg.hidden-md,.factory-bootstrap-449 th.hidden-lg.hidden-md,.factory-bootstrap-449 tr.hidden-lg.hidden-md{display:none!important}}@media (min-width:1200px){.factory-bootstrap-449 .hidden-lg,.factory-bootstrap-449 td.hidden-lg,.factory-bootstrap-449 th.hidden-lg,.factory-bootstrap-449 tr.hidden-lg{display:none!important}}.factory-bootstrap-449 .visible-print,.factory-bootstrap-449 td.visible-print,.factory-bootstrap-449 th.visible-print,.factory-bootstrap-449 tr.visible-print{display:none!important}@media print{.factory-bootstrap-449 .visible-print{display:block!important}.factory-bootstrap-449 table.visible-print{display:table}.factory-bootstrap-449 tr.visible-print{display:table-row!important}.factory-bootstrap-449 td.visible-print,.factory-bootstrap-449 th.visible-print{display:table-cell!important}.factory-bootstrap-449 .hidden-print,.factory-bootstrap-449 td.hidden-print,.factory-bootstrap-449 th.hidden-print,.factory-bootstrap-449 tr.hidden-print{display:none!important}}/*!
12
  * Factory Default Bootstrap Theme
13
  *
14
  * The code is based on Bootstrap v2.1.1
22
  *
23
  * @package factory-bootstrap
24
  * @since 1.0.0
25
+ */.factory-bootstrap-449 .btn-danger,.factory-bootstrap-449 .btn-default,.factory-bootstrap-449 .btn-info,.factory-bootstrap-449 .btn-primary,.factory-bootstrap-449 .btn-success,.factory-bootstrap-449 .btn-warning{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.factory-bootstrap-449 .btn-danger.active,.factory-bootstrap-449 .btn-danger:active,.factory-bootstrap-449 .btn-default.active,.factory-bootstrap-449 .btn-default:active,.factory-bootstrap-449 .btn-info.active,.factory-bootstrap-449 .btn-info:active,.factory-bootstrap-449 .btn-primary.active,.factory-bootstrap-449 .btn-primary:active,.factory-bootstrap-449 .btn-success.active,.factory-bootstrap-449 .btn-success:active,.factory-bootstrap-449 .btn-warning.active,.factory-bootstrap-449 .btn-warning:active{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.1);box-shadow:inset 0 1px 1px rgba(0,0,0,.1)}.factory-bootstrap-449 .btn.active,.factory-bootstrap-449 .btn:active{background-image:none}.factory-bootstrap-449 .btn-default{color:#555;border-color:#ccc;background:#f7f7f7;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);vertical-align:top}.factory-bootstrap-449 .btn-default.active,.factory-bootstrap-449 .btn-default:active{background-color:#fff;border-color:#dbdbdb}.factory-bootstrap-449 .btn-gold{font-weight:700;padding:7px 12px;cursor:pointer;line-height:16px;display:inline-block;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;box-shadow:#e3e3e3 0 1px 1px;-moz-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);-webkit-box-shadow:0 1px 1px rgba(000,000,000,.1),inset 0 1px 1px rgba(255,255,255,.7);text-shadow:1px 1px 0 #ffe8b2;color:#7c5d1b;border:1px solid #d6a437;background:#feeb80}.factory-bootstrap-449 .btn-gold:focus,.factory-bootstrap-449 .btn-gold:hover{background:#fef0a1}.factory-bootstrap-449 .btn-gold.active,.factory-bootstrap-449 .btn-gold:active{background:#fef0a1;-webkit-box-shadow:inset 0 3px 8px 0 #f8ba36;box-shadow:inset 0 3px 8px 0 #f8ba36}.factory-bootstrap-449 .btn-primary{background:#2ea2cc;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#1e8cbe;border-color:#0074a2;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6);box-shadow:inset 0 1px 0 rgba(120,200,230,.6);color:#fff}.factory-bootstrap-449 .btn-primary.active,.factory-bootstrap-449 .btn-primary:active{background-color:#2d6ca2;border-color:#2b669a}.factory-bootstrap-449 .btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);background-repeat:repeat-x;border-color:#3e8f3e;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-449 .btn-success:focus,.factory-bootstrap-449 .btn-success:hover{background-color:#419641;background-position:0 -15px}.factory-bootstrap-449 .btn-success.active,.factory-bootstrap-449 .btn-success:active{background-color:#419641;border-color:#3e8f3e}.factory-bootstrap-449 .btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);background-repeat:repeat-x;border-color:#e38d13;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-449 .btn-warning:focus,.factory-bootstrap-449 .btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.factory-bootstrap-449 .btn-warning.active,.factory-bootstrap-449 .btn-warning:active{background-color:#eb9316;border-color:#e38d13}.factory-bootstrap-449 .btn-danger{color:#fff;background:#d9534f;border-color:#d43f3a}.factory-bootstrap-449 .btn-danger.active,.factory-bootstrap-449 .btn-danger:active,.factory-bootstrap-449 .btn-danger:focus,.factory-bootstrap-449 .btn-danger:hover,.factory-bootstrap-449 .open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.factory-bootstrap-449 .btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);background-repeat:repeat-x;border-color:#28a4c9;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-449 .btn-info:focus,.factory-bootstrap-449 .btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.factory-bootstrap-449 .btn-info.active,.factory-bootstrap-449 .btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.factory-bootstrap-449 .img-thumbnail,.factory-bootstrap-449 .thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-449 .dropdown-menu>li>a:focus,.factory-bootstrap-449 .dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-449 .dropdown-menu>.active>a,.factory-bootstrap-449 .dropdown-menu>.active>a:focus,.factory-bootstrap-449 .dropdown-menu>.active>a:hover{background-color:#357ebd;background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-449 .navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);background-repeat:repeat-x;border-radius:4px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.factory-bootstrap-449 .navbar-default .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f3f3f3 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f3f3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.factory-bootstrap-449 .navbar-brand,.factory-bootstrap-449 .navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.factory-bootstrap-449 .navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.factory-bootstrap-449 .navbar-inverse .navbar-nav>.active>a{background-image:-webkit-linear-gradient(top,#222 0,#282828 100%);background-image:linear-gradient(to bottom,#222 0,#282828 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.factory-bootstrap-449 .navbar-inverse .navbar-brand,.factory-bootstrap-449 .navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-449 .navbar-fixed-bottom,.factory-bootstrap-449 .navbar-fixed-top,.factory-bootstrap-449 .navbar-static-top{border-radius:0}.factory-bootstrap-449 .alert{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-449 .alert .actions{padding-top:10px}.factory-bootstrap-449 .alert-success{color:#3c763d;background-color:#dff0d8;border-bottom:2px solid #c8e5bc}.factory-bootstrap-449 .alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);background-repeat:repeat-x;border-color:#9acfea;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0)}.factory-bootstrap-449 .alert{text-shadow:none;box-shadow:none;margin:0;margin-top:10px;margin-bottom:10px;padding:10px}.factory-bootstrap-449 .alert-normal,.factory-bootstrap-449 .alert-warning{background:#fcf8e3;color:#8a6d3b;border:1px solid #b8823b}.factory-bootstrap-449 .alert-danger{background:#cf4944;color:#fff;border-bottom:2px solid #b23e3a}.factory-bootstrap-449 .alert-danger a:not(.btn),.factory-bootstrap-449 .alert-error a:not(.btn){color:#fff}.factory-bootstrap-449 .progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0)}.factory-bootstrap-449 .progress-bar{background-image:-webkit-linear-gradient(top,#428bca 0,#3071a9 100%);background-image:linear-gradient(to bottom,#428bca 0,#3071a9 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0)}.factory-bootstrap-449 .progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0)}.factory-bootstrap-449 .progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0)}.factory-bootstrap-449 .progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0)}.factory-bootstrap-449 .progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0)}.factory-bootstrap-449 .list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.factory-bootstrap-449 .list-group-item.active,.factory-bootstrap-449 .list-group-item.active:focus,.factory-bootstrap-449 .list-group-item.active:hover{text-shadow:0 -1px 0 #3071a9;background-image:-webkit-linear-gradient(top,#428bca 0,#3278b3 100%);background-image:linear-gradient(to bottom,#428bca 0,#3278b3 100%);background-repeat:repeat-x;border-color:#3278b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0)}.factory-bootstrap-449 .panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.factory-bootstrap-449 .panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0)}.factory-bootstrap-449 .panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#428bca 0,#357ebd 100%);background-image:linear-gradient(to bottom,#428bca 0,#357ebd 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0)}.factory-bootstrap-449 .panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0)}.factory-bootstrap-449 .panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0)}.factory-bootstrap-449 .panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.factory-bootstrap-449 .panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0)}.factory-bootstrap-449 .well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);background-repeat:repeat-x;border-color:#dcdcdc;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}.factory-bootstrap-449 .factory-after{margin-left:7px;display:inline-block}.factory-bootstrap-449 .factory-hidden{display:none}.factory-bootstrap-449 .factory-ajax-loader{width:25px;height:25px;background:url(../assets/images/loader-sm-tr.gif)}.factory-control-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:5px;padding:4px 10px 3px;max-width:500px;display:inline-block}.factory-control-error i{margin:0 7px 0 1px}
libs/factory/bootstrap/assets/css-min/bootstrap.datetimepicker.min.css ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ /*!
12
+ * Datetimepicker for Bootstrap 3
13
+ * version : 4.17.47
14
+ * https://github.com/Eonasdan/bootstrap-datetimepicker/
15
+ */.factory-bootstrap-449 .bootstrap-datetimepicker-widget{list-style:none}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu{display:block;margin:2px 0;padding:4px;width:19em}@media (min-width:768px){.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:992px){.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:1200px){.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu:after,.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu:before{content:'';display:inline-block;position:absolute}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);top:-7px;left:7px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;top:-6px;left:8px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.top:before{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,.2);bottom:-7px;left:6px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.top:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;bottom:-6px;left:7px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before{left:auto;right:6px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after{left:auto;right:7px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .list-unstyled{margin:0}.factory-bootstrap-449 .bootstrap-datetimepicker-widget a[data-action]{padding:6px 0}.factory-bootstrap-449 .bootstrap-datetimepicker-widget a[data-action]:active{box-shadow:none}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .timepicker-hour,.factory-bootstrap-449 .bootstrap-datetimepicker-widget .timepicker-minute,.factory-bootstrap-449 .bootstrap-datetimepicker-widget .timepicker-second{width:54px;font-weight:700;font-size:1.2em;margin:0}.factory-bootstrap-449 .bootstrap-datetimepicker-widget button[data-action]{padding:6px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Increment Hours"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Increment Minutes"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Decrement Hours"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Decrement Minutes"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=showHours]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Show Hours"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Show Minutes"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Toggle AM/PM"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=clear]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Clear the picker"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .btn[data-action=today]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Set the date to today"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .picker-switch{text-align:center}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .picker-switch::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Toggle Date and Time Screens"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .picker-switch td{padding:0;margin:0;height:auto;width:auto;line-height:inherit}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .picker-switch td span{line-height:2.5;height:2.5em;width:100%}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table{width:100%;margin:0}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table th{text-align:center;border-radius:4px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table th{height:20px;line-height:20px;width:20px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table th.picker-switch{width:145px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table th.disabled,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table th.disabled:hover{background:0 0;color:#777;cursor:not-allowed}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table th.prev::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Previous Month"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table th.next::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0;content:"Next Month"}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table thead tr:first-child th{cursor:pointer}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table thead tr:first-child th:hover{background:#eee}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td{height:54px;line-height:54px;width:54px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.cw{font-size:.8em;height:20px;line-height:20px;color:#777}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.day{height:20px;line-height:20px;width:20px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.day:hover,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.hour:hover,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.minute:hover,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.second:hover{background:#eee;cursor:pointer}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.new,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.old{color:#777}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.today{position:relative}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.today:before{content:'';display:inline-block;border:solid transparent;border-width:0 0 7px 7px;border-bottom-color:#337ab7;border-top-color:rgba(0,0,0,.2);position:absolute;bottom:4px;right:4px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.active,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.active:hover{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.active.today:before{border-bottom-color:#fff}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.disabled,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td.disabled:hover{background:0 0;color:#777;cursor:not-allowed}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td span{display:inline-block;width:54px;height:54px;line-height:54px;margin:2px 1.5px;cursor:pointer;border-radius:4px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td span:hover{background:#eee}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td span.active{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td span.old{color:#777}.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td span.disabled,.factory-bootstrap-449 .bootstrap-datetimepicker-widget table td span.disabled:hover{background:0 0;color:#777;cursor:not-allowed}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.usetwentyfour td.hour{height:27px;line-height:27px}.factory-bootstrap-449 .bootstrap-datetimepicker-widget.wider{width:21em}.factory-bootstrap-449 .bootstrap-datetimepicker-widget .datepicker-decades .decade{line-height:1.8em!important}.factory-bootstrap-449 .input-group.date .input-group-addon{cursor:pointer}.factory-bootstrap-449 .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
libs/factory/bootstrap/assets/css-min/bootstrap.ectoplasm.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .btn-primary{background:#a3b745;border-color:#839237;color:#fff;-webkit-box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#89993a;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 1px 0 #b7c669,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #b7c669,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:active{background:#89993a;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-445 .btn-primary:disabled,.factory-bootstrap-445 .btn-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.factory-bootstrap-445 .btn-group .btn.active.value{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{background-color:#a3b745;border-color:#839237}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .btn-primary{background:#a3b745;border-color:#839237;color:#fff;-webkit-box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #c0cd7b,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#89993a;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 1px 0 #b7c669,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #b7c669,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:active{background:#89993a;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-449 .btn-primary:disabled,.factory-bootstrap-449 .btn-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.factory-bootstrap-449 .btn-group .btn.active.value{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{background-color:#a3b745;border-color:#839237}
libs/factory/bootstrap/assets/css-min/bootstrap.form-group.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .factory-form-group .factory-legend{padding:9px 12px;background-color:#f9f9f9}.factory-bootstrap-445 .factory-form-group .factory-title{font-weight:700;font-size:14px;line-height:14px;color:#555;margin:0}.factory-bootstrap-445 .factory-form-group .factory-hint-icon{display:block;width:16px;height:16px;line-height:13px;padding:0;font-size:11px;text-align:center;position:absolute;top:-5px;right:-3px;color:#fff;background:#E91E63;border-radius:3px}.factory-bootstrap-445 .factory-form-group .factory-hint-icon.factory-hint-icon-green{background:#8bc34a}.factory-bootstrap-445 .factory-form-group .factory-hint-icon.factory-hint-icon-grey{background:#9e9e9e}.factory-bootstrap-445 .factory-form-group .factory-hint-icon.factory-hint-icon-red{background:#E91E63}.factory-bootstrap-445 .factory-form-group .factory-hint{margin:0;font-size:12px;line-height:16px;margin-top:6px}.factory-bootstrap-445 .factory-form-group+.factory-form-group{margin-top:30px}.factory-bootstrap-445 .factory-form-group legend+.control-group{margin-top:0}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .factory-form-group .factory-legend{padding:9px 12px;background-color:#f9f9f9}.factory-bootstrap-449 .factory-form-group .factory-title{font-weight:700;font-size:14px;line-height:14px;color:#555;margin:0}.factory-bootstrap-449 .factory-form-group .factory-hint-icon{display:block;width:16px;height:16px;line-height:13px;padding:0;font-size:11px;text-align:center;position:absolute;top:-5px;right:-3px;color:#fff;background:#E91E63;border-radius:3px}.factory-bootstrap-449 .factory-form-group .factory-hint-icon.factory-hint-icon-green{background:#8bc34a}.factory-bootstrap-449 .factory-form-group .factory-hint-icon.factory-hint-icon-grey{background:#9e9e9e}.factory-bootstrap-449 .factory-form-group .factory-hint-icon.factory-hint-icon-red{background:#E91E63}.factory-bootstrap-449 .factory-form-group .factory-hint{margin:0;font-size:12px;line-height:16px;margin-top:6px}.factory-bootstrap-449 .factory-form-group+.factory-form-group{margin-top:30px}.factory-bootstrap-449 .factory-form-group legend+.control-group{margin-top:0}
libs/factory/bootstrap/assets/css-min/bootstrap.form-metabox.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-form-metabox{padding:15px 10px 10px}.factory-form-metabox .control-group:last-child{margin-bottom:0}#side-sortables .factory-bootstrap-449 .control-label{float:left;width:100%;text-align:left;position:relative;top:1px}#side-sortables .factory-bootstrap-449 .control-icon{float:left;margin:0 6px 0 0}#side-sortables .factory-bootstrap-449 input{float:right;position:relative;top:-25px}#side-sortables .factory-bootstrap-449 .col-sm-10{margin:0;width:100%}#side-sortables .factory-bootstrap-449 .form-group{float:none;width:auto;overflow:auto;margin-bottom:0;border-top:1px solid #f7f7f7;padding-top:15px;margin-top:15px}#side-sortables .factory-bootstrap-449 .form-group:first-child{border-top:0;padding-top:0;margin-top:0}
libs/factory/bootstrap/assets/css-min/bootstrap.light.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .btn-primary{background:#04a4cc;border-color:#037c9a;color:#fff;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#0384a4;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:active{background:#0384a4;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-445 .btn-primary:disabled,.factory-bootstrap-445 .btn-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.factory-bootstrap-445 .btn-group .btn.active.value{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{background-color:#04a4cc;border-color:#037c9a}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .btn-primary{background:#04a4cc;border-color:#037c9a;color:#fff;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#0384a4;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:active{background:#0384a4;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-449 .btn-primary:disabled,.factory-bootstrap-449 .btn-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.factory-bootstrap-449 .btn-group .btn.active.value{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{background-color:#04a4cc;border-color:#037c9a}
libs/factory/bootstrap/assets/css-min/bootstrap.midnight.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .btn-primary{background:#e14d43;border-color:#d02a21;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#d92c23;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8756f,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8756f,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:active{background:#d92c23;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-445 .btn-primary:disabled,.factory-bootstrap-445 .btn-primary[disabled]{color:#d1c7c7!important;background:#d92c23!important;border-color:#ba251e!important;text-shadow:none!important}.factory-bootstrap-445 .btn-group .btn.active.value{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{background-color:#e14d43;border-color:#d02a21}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .btn-primary{background:#e14d43;border-color:#d02a21;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8a85,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#d92c23;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8756f,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8756f,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:active{background:#d92c23;border-color:#ba251e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-449 .btn-primary:disabled,.factory-bootstrap-449 .btn-primary[disabled]{color:#d1c7c7!important;background:#d92c23!important;border-color:#ba251e!important;text-shadow:none!important}.factory-bootstrap-449 .btn-group .btn.active.value{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{background-color:#e14d43;border-color:#d02a21}
libs/factory/bootstrap/assets/css-min/bootstrap.ocean.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .btn-primary{background:#9ebaa0;border-color:#80a583;color:#fff;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#86a988;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bccfbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #bccfbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:active{background:#86a988;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-445 .btn-primary:disabled,.factory-bootstrap-445 .btn-primary[disabled]{color:#c7d1c8!important;background:#86a988!important;border-color:#719a74!important;text-shadow:none!important}.factory-bootstrap-445 .btn-group .btn.active.value{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{background-color:#9ebaa0;border-color:#80a583}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .btn-primary{background:#9ebaa0;border-color:#80a583;color:#fff;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#86a988;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bccfbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #bccfbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:active{background:#86a988;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-449 .btn-primary:disabled,.factory-bootstrap-449 .btn-primary[disabled]{color:#c7d1c8!important;background:#86a988!important;border-color:#719a74!important;text-shadow:none!important}.factory-bootstrap-449 .btn-group .btn.active.value{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{background-color:#9ebaa0;border-color:#80a583}
libs/factory/bootstrap/assets/css-min/bootstrap.separator.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .factory-separator{border-bottom:1px solid #f9f9f9;border-top:1px solid #d1d1d1;margin-bottom:25px}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .factory-separator{border-bottom:1px solid #f9f9f9;border-top:1px solid #d1d1d1;margin-bottom:25px}
libs/factory/bootstrap/assets/css-min/bootstrap.sunrise.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .btn-primary{background:#dd823b;border-color:#c36822;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:focus,.factory-bootstrap-445 .btn-primary:hover{background:#cc6c23;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e59d66,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e59d66,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-445 .btn-primary:active{background:#cc6c23;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-445 .btn-primary:disabled,.factory-bootstrap-445 .btn-primary[disabled]{color:#d1cbc7!important;background:#cc6c23!important;border-color:#ad5c1e!important;text-shadow:none!important}.factory-bootstrap-445 .btn-group .btn.active.value{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}.factory-bootstrap-445 .pagination>.active>a,.factory-bootstrap-445 .pagination>.active>a:focus,.factory-bootstrap-445 .pagination>.active>a:hover,.factory-bootstrap-445 .pagination>.active>span,.factory-bootstrap-445 .pagination>.active>span:focus,.factory-bootstrap-445 .pagination>.active>span:hover{background-color:#dd823b;border-color:#c36822}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .btn-primary{background:#dd823b;border-color:#c36822;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ab7c,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:focus,.factory-bootstrap-449 .btn-primary:hover{background:#cc6c23;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e59d66,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e59d66,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-449 .btn-primary:active{background:#cc6c23;border-color:#ad5c1e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-449 .btn-primary:disabled,.factory-bootstrap-449 .btn-primary[disabled]{color:#d1cbc7!important;background:#cc6c23!important;border-color:#ad5c1e!important;text-shadow:none!important}.factory-bootstrap-449 .btn-group .btn.active.value{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}.factory-bootstrap-449 .pagination>.active>a,.factory-bootstrap-449 .pagination>.active>a:focus,.factory-bootstrap-449 .pagination>.active>a:hover,.factory-bootstrap-449 .pagination>.active>span,.factory-bootstrap-449 .pagination>.active>span:focus,.factory-bootstrap-449 .pagination>.active>span:hover{background-color:#dd823b;border-color:#c36822}
libs/factory/bootstrap/assets/css-min/bootstrap.tab.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-tab{overflow:hidden;margin-bottom:25px}.factory-bootstrap-449 .factory-tab .form-group{overflow:hidden}.factory-bootstrap-449 .factory-tab+.form-group{margin-top:30px}.factory-bootstrap-449 .nav-tabs a{text-decoration:none}.factory-bootstrap-449 .factory-align-horizontal .nav-tabs{border-bottom:0}.factory-bootstrap-449 .factory-align-vertical .factory-headers{float:left;width:150px}.factory-bootstrap-449 .factory-align-vertical .factory-headers .nav-tabs{border-bottom:0;display:block;margin:0;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.factory-bootstrap-449 .factory-tab .factory-bodies{background-color:#fff;-webkit-border-radius:0 3px 3px;-moz-border-radius:0 3px 3px;border-radius:0 3px 3px;border:1px solid #DDD;padding:30px 15px 25px 10px}.factory-bootstrap-449 .factory-align-vertical .factory-bodies{min-height:250px;margin-left:150px}.factory-bootstrap-449 .factory-align-vertical .factory-bodies .actory-tab-item{clear:both}.factory-bootstrap-449 .form-horizontal .factory-align-vertical .form-group{margin-left:-5px}.factory-bootstrap-449 .factory-align-vertical .nav-tabs li{float:none}.factory-bootstrap-449 .factory-align-vertical .nav-tabs li a{margin-right:-1px;margin-bottom:0;position:relative;z-index:10;padding:10px 0 9px 15px;-webkit-border-radius:3px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius:3px;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;border-radius:3px;border-top-right-radius:0;border-bottom-right-radius:0}.factory-bootstrap-449 .factory-align-vertical .nav-tabs>.active>a{border:1px solid #DDD!important;border-right:1px solid #fff!important}.factory-bootstrap-449 .factory-align-vertical .nav-tabs>li a:hover{color:#21759B;z-index:5;border-color:transparent}.factory-bootstrap-449 .factory-align-vertical .control-label{width:20%;max-width:140px}.factory-bootstrap-449 .factory-align-vertical .control-group{width:80%}.factory-bootstrap-449 .factory-align-vertical .control-group input[type=text],.factory-bootstrap-449 .factory-align-vertical .control-group textarea{width:90%}
libs/factory/bootstrap/assets/css-min/bootstrap.wp-editor.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .wp-editor-wrap *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-449 .wp-editor-wrap .button,.factory-bootstrap-449 .wp-editor-wrap input,.factory-bootstrap-449 .wp-editor-wrap textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.factory-bootstrap-449 .switch-html,.factory-bootstrap-449 .switch-tmce{color:#777}.factory-bootstrap-449 .html-active .switch-html,.factory-bootstrap-449 .tmce-active .switch-tmce{color:#555}.factory-bootstrap-449 .switch-html:hover,.factory-bootstrap-449 .switch-tmce:hover{color:#777}
libs/factory/bootstrap/assets/css-min/control.checkbox.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- #side-sortables .factory-bootstrap-445 .factory-buttons-way{float:right;position:relative;top:-25px;left:5px;border:3px solid #f9f9f9;border-radius:4px}.factory-bootstrap-445 .factory-checkbox-disabled button,.factory-bootstrap-445 .factory-checkbox-disabled input{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-445 .factory-buttons-way{border:3px solid #f9f9f9;border-radius:4px}.factory-bootstrap-445 .factory-buttons-way button{padding-left:10px;padding-right:10px}.factory-bootstrap-445 .factory-buttons-way .factory-on.active{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-445 .factory-checkbox-tumbler-hint{margin-top:5px}.factory-bootstrap-445 .factory-checkbox-tumbler-hint .factory-tumbler-content{display:inline-block;background-color:#ffd;padding:1px 5px}.admin-color-light .factory-bootstrap-445 .factory-buttons-way .factory-on.active{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.admin-color-blue .factory-bootstrap-445 .factory-buttons-way .factory-on.active{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.admin-color-coffee .factory-bootstrap-445 .factory-buttons-way .factory-on.active{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.admin-color-ectoplasm .factory-bootstrap-445 .factory-buttons-way .factory-on.active{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.admin-color-midnight .factory-bootstrap-445 .factory-buttons-way .factory-on.active{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.admin-color-ocean .factory-bootstrap-445 .factory-buttons-way .factory-on.active{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.admin-color-sunrise .factory-bootstrap-445 .factory-buttons-way .factory-on.active{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}
8
  */
9
 
10
 
11
+ #side-sortables .factory-bootstrap-449 .factory-buttons-way{float:right;position:relative;top:-25px;left:5px;border:3px solid #f9f9f9;border-radius:4px}.factory-bootstrap-449 .factory-checkbox-disabled button,.factory-bootstrap-449 .factory-checkbox-disabled input{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.factory-bootstrap-449 .factory-buttons-way{border:3px solid #f9f9f9;border-radius:4px}.factory-bootstrap-449 .factory-buttons-way button{padding-left:10px;padding-right:10px}.factory-bootstrap-449 .factory-buttons-way .factory-on.active{text-shadow:none;color:#fff;background-color:#33aad5;-webkit-box-shadow:inset 0 1px 1px #0074a2;box-shadow:inset 0 1px 3px #0074a2;border-top:1px solid #0074a2;border-bottom:1px solid #0074a2;border-left:1px solid #0074a2}.factory-bootstrap-449 .factory-checkbox-tumbler-hint{margin-top:5px}.factory-bootstrap-449 .factory-checkbox-tumbler-hint .factory-tumbler-content{display:inline-block;background-color:#ffd;padding:1px 5px}.admin-color-light .factory-bootstrap-449 .factory-buttons-way .factory-on.active{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.admin-color-blue .factory-bootstrap-449 .factory-buttons-way .factory-on.active{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.admin-color-coffee .factory-bootstrap-449 .factory-buttons-way .factory-on.active{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.admin-color-ectoplasm .factory-bootstrap-449 .factory-buttons-way .factory-on.active{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.admin-color-midnight .factory-bootstrap-449 .factory-buttons-way .factory-on.active{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.admin-color-ocean .factory-bootstrap-449 .factory-buttons-way .factory-on.active{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.admin-color-sunrise .factory-bootstrap-449 .factory-buttons-way .factory-on.active{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}
libs/factory/bootstrap/assets/css-min/control.color-and-opacity.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-control-row{padding-left:105px;position:relative}.factory-bootstrap-449 .factory-control-row .factory-color-wrap{position:absolute;left:0;top:0}.factory-bootstrap-449 .factory-control-row .factory-opacity-wrap{width:100%}.factory-bootstrap-449 .iris-picker{margin-top:10px}
libs/factory/bootstrap/assets/css-min/control.color.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-color{position:relative}.factory-bootstrap-449 .factory-color .factory-color-hex{display:inline-block;width:65px;text-align:left;vertical-align:top;border-top-right-radius:3px;border-bottom-right-radius:3px;border-radius:3px;z-index:1;position:relative;margin-left:26px;border-top-left-radius:0;border-bottom-left-radius:0}.factory-bootstrap-449 .factory-color .factory-background,.factory-bootstrap-449 .factory-color .factory-pattern{cursor:pointer;height:26px;width:26px;position:absolute;border-radius:5px;background:transparent url(../../assets/images/color_picker_pattern.jpg) center center repeat;-moz-box-sizing:border-box;box-sizing:border-box;border-bottom:2px solid rgba(0,0,0,.34);z-index:1;border-top-right-radius:0!important;border-bottom-right-radius:0!important}.factory-bootstrap-449 .factory-color .factory-background{z-index:2;border-radius:3px}
libs/factory/bootstrap/assets/css-min/control.dropdown-and-colors.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-dropdown-and-colors .factory-colors-wrap,.factory-bootstrap-449 .factory-dropdown-and-colors .factory-dropdown-wrap{display:inline-block}.factory-bootstrap-449 .factory-dropdown-and-colors .factory-dropdown-wrap{min-width:200px;max-width:300px}
libs/factory/bootstrap/assets/css-min/control.dropdown.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .fa{margin-right:6px;position:relative}.factory-bootstrap-445 .factory-dropdown.factory-buttons-way{border:0;border-radius:0}.factory-bootstrap-445 .factory-hints .factory-hint{margin-top:5px;display:inline-block;background-color:#ffd;padding:1px 5px}.admin-color-light .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .active{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.admin-color-blue .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .active{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.admin-color-coffee .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .active{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.admin-color-ectoplasm .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .active{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.admin-color-midnight .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .active{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.admin-color-ocean .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .active{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.admin-color-sunrise .factory-bootstrap-445 .factory-dropdown.factory-buttons-way .active{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}.factory-bootstrap-445 .factory-dropdown.factory-ddslick-way .dd-select{background-color:#fff!important}.factory-bootstrap-445 .factory-dropdown.factory-ddslick-way label{margin-bottom:1px}.factory-bootstrap-445 .factory-dropdown.factory-ddslick-way .dd-option,.factory-bootstrap-445 .factory-dropdown.factory-ddslick-way .dd-selected{padding:8px 12px 8px 11px!important}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .fa{margin-right:6px;position:relative}.factory-bootstrap-449 .factory-dropdown.factory-buttons-way{border:0;border-radius:0}.factory-bootstrap-449 .factory-hints .factory-hint{margin-top:5px;display:inline-block;background-color:#ffd;padding:1px 5px}.admin-color-light .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .active{background-color:#04a4cc;-webkit-box-shadow:inset 0 1px 2px #037c9a;box-shadow:inset 0 1px 2px #037c9a;border-top:1px solid #037c9a;border-bottom:1px solid #037c9a;border-left:1px solid #037c9a}.admin-color-blue .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .active{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.admin-color-coffee .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .active{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.admin-color-ectoplasm .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .active{background-color:#a3b745;-webkit-box-shadow:inset 0 1px 2px #839237;box-shadow:inset 0 1px 2px #839237;border-top:1px solid #839237;border-bottom:1px solid #839237;border-left:1px solid #839237}.admin-color-midnight .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .active{background-color:#e14d43;-webkit-box-shadow:inset 0 1px 2px #d02a21;box-shadow:inset 0 1px 2px #d02a21;border-top:1px solid #d02a21;border-bottom:1px solid #d02a21;border-left:1px solid #d02a21}.admin-color-ocean .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .active{background-color:#9ebaa0;-webkit-box-shadow:inset 0 1px 2px #80a583;box-shadow:inset 0 1px 2px #80a583;border-top:1px solid #80a583;border-bottom:1px solid #80a583;border-left:1px solid #80a583}.admin-color-sunrise .factory-bootstrap-449 .factory-dropdown.factory-buttons-way .active{background-color:#dd823b;-webkit-box-shadow:inset 0 1px 2px #c36822;box-shadow:inset 0 1px 2px #c36822;border-top:1px solid #c36822;border-bottom:1px solid #c36822;border-left:1px solid #c36822}.factory-bootstrap-449 .factory-dropdown.factory-ddslick-way .dd-select{background-color:#fff!important}.factory-bootstrap-449 .factory-dropdown.factory-ddslick-way label{margin-bottom:1px}.factory-bootstrap-449 .factory-dropdown.factory-ddslick-way .dd-option,.factory-bootstrap-449 .factory-dropdown.factory-ddslick-way .dd-selected{padding:8px 12px 8px 11px!important}
libs/factory/bootstrap/assets/css-min/control.fonts.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-font .factory-control-row{padding:0;vertical-align:top}.factory-bootstrap-449 .factory-font .factory-color-wrap{position:static;display:inline-block;vertical-align:top}.factory-bootstrap-449 .factory-font .factory-size-wrap{display:inline-block;width:70px;vertical-align:top}.factory-bootstrap-449 .iris-picker{margin-top:10px}.factory-bootstrap-449 .factory-font .factory-family-wrap{padding-bottom:10px}.factory-bootstrap-449 .factory-font .chosen-results{max-height:150px}
libs/factory/bootstrap/assets/css-min/control.list.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-list li input{margin:0 5px 0 0;position:relative;top:1px;outline:0!important}.factory-bootstrap-449 .factory-list li span{vertical-align:bottom;line-height:100%}.factory-bootstrap-449 .factory-list .factory-error{position:relative;display:inline-block}.factory-bootstrap-449 .factory-list .factory-error i{color:#f47665;margin:0 7px 0 1px;cursor:help}.factory-bootstrap-449 .factory-list .factory-error-text{display:none;position:absolute;width:300px}.factory-bootstrap-449 .factory-list .factory-error-text,.factory-bootstrap-449 .factory-list-error{background-color:rgba(0,0,0,.8);white-space:normal;z-index:10;padding:10px 12px 12px;font-weight:400;line-height:150%;border-radius:4px;color:#fff;font-size:13px;margin-top:2px}.factory-bootstrap-449 .factory-list-error{padding:5px 10px;max-width:500px;display:inline-block}.factory-bootstrap-449 .factory-list-error i{margin:0 7px 0 1px}.factory-bootstrap-449 .factory-list .factory-error-text a{color:#fff;font-weight:700}.factory-bootstrap-449 .factory-list .factory-has-error:hover .factory-error-text{display:block}.factory-bootstrap-449 .factory-list .factory-has-error{cursor:default}.opanda-connect-buttons .opanda-has-error .opanda-error{display:inline-block}.factory-bootstrap-449 .factory-checklist-way.factory-empty{font-style:italic;margin-top:7px}
libs/factory/bootstrap/assets/css-min/control.multiple-textbox.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .factory-mtextbox-item{position:relative;margin-bottom:5px}.factory-bootstrap-445 .factory-mtextbox-item input,.factory-mtextbox-remove-item{display:inline-block}.factory-bootstrap-445 .factory-mtextbox-item .factory-mtextbox-remove-item{position:absolute;top:0;right:0;bottom:0;width:40px;border-radius:0 3px 3px 0;outline:0}.factory-bootstrap-445 .factory-mtextbox-item .factory-mtextbox-remove-item:focus,.factory-bootstrap-445 .factory-mtextbox-item .factory-mtextbox-remove-item:hover{box-shadow:none;outline:0}.factory-bootstrap-445 .factory-mtextbox-add-item{display:block;margin-top:10px}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .factory-mtextbox-item{position:relative;margin-bottom:5px}.factory-bootstrap-449 .factory-mtextbox-item input,.factory-mtextbox-remove-item{display:inline-block}.factory-bootstrap-449 .factory-mtextbox-item .factory-mtextbox-remove-item{position:absolute;top:0;right:0;bottom:0;width:40px;border-radius:0 3px 3px 0;outline:0}.factory-bootstrap-449 .factory-mtextbox-item .factory-mtextbox-remove-item:focus,.factory-bootstrap-449 .factory-mtextbox-item .factory-mtextbox-remove-item:hover{box-shadow:none;outline:0}.factory-bootstrap-449 .factory-mtextbox-add-item{display:block;margin-top:10px}
libs/factory/bootstrap/assets/css-min/control.pattern.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-pattern .factory-pattern-controls{vertical-align:middle}.factory-bootstrap-449 .factory-pattern .factory-preview-wrap{display:inline-block;vertical-align:middle}.factory-bootstrap-449 .factory-pattern .factory-preview{width:100px;height:26px;background:transparent url(../assets/assets/images/color_picker_pattern.jpg) repeat;border:0;border-radius:3px;cursor:pointer;-moz-box-sizing:border-box;box-sizing:border-box;border-bottom:2px solid rgba(0,0,0,.34)!important;position:relative}.factory-bootstrap-449 .factory-pattern .factory-preview.factory-empty{background:transparent url(../assets/assets/images/color_picker_pattern.jpg) repeat!important}.factory-bootstrap-449 .factory-pattern .factory-preview span{position:absolute;top:0;left:76px;background:#111;width:26px;height:26px;border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;-webkit-border-radius:0 3px 3px 0;z-index:99;border-bottom:2px solid #000}.factory-bootstrap-449 .factory-pattern .factory-preview span:hover{background:#161616}.factory-bootstrap-449 .factory-pattern .factory-preview span:after{content:'';width:0;height:0;border:transparent solid 5px;border-top-color:#96a6a6;position:absolute;top:10px;right:7px;z-index:1}.factory-bootstrap-449 .factory-pattern.factory-patterns-panel-active .factory-preview span:after{border-top-color:transparent;border-bottom-color:#96a6a6;top:4px}.factory-bootstrap-449 .factory-pattern .factory-color-panel{padding:10px;margin-top:10px;background:rgba(255,255,255,.04);border-radius:3px;display:none}.factory-bootstrap-449 .factory-pattern.factory-color-panel-active .factory-color-panel{display:block}.factory-bootstrap-449 .factory-pattern .factory-color-label{margin-right:5px}.factory-bootstrap-449 .factory-pattern .factory-color,.factory-bootstrap-449 .factory-pattern .factory-color-label{display:inline-block;vertical-align:middle}.factory-bootstrap-449 .factory-pattern .factory-color-panel .factory-hint{margin-top:7px}.factory-bootstrap-449 .factory-pattern .factory-patterns-panel{display:none;margin-top:10px;padding:2px 0 0;border-top:1px solid #272727;overflow:visible}.factory-bootstrap-449 .factory-pattern .factory-patterns-group{clear:both;padding:2px 0 0;border-bottom:1px solid #272727;padding-bottom:10px}.factory-bootstrap-449 .factory-pattern .factory-patterns-group-title{margin-top:10px}.factory-bootstrap-449 .factory-pattern .factory-patterns-row{padding-top:10px}.factory-bootstrap-449 .factory-pattern.factory-patterns-panel-active .factory-patterns-panel{display:block}.factory-bootstrap-449 .factory-pattern .factory-patterns-item,.factory-bootstrap-449 .factory-pattern .factory-patterns-item div{width:46px;height:46px}.factory-bootstrap-449 .factory-pattern .factory-patterns-item{display:inline-block;cursor:pointer;position:relative;vertical-align:top}.factory-bootstrap-449 .factory-pattern .factory-patterns-item+.factory-patterns-item{margin-left:10px}.factory-bootstrap-449 .factory-pattern .factory-patterns-item div{position:absolute;border-radius:100%;border:4px solid #333}.factory-bootstrap-449 .factory-pattern .factory-patterns-item:hover .factory-pattern-holder{width:64px;height:64px;top:-10px;left:-10px;border:1px solid #333;z-index:10}.factory-bootstrap-449 .factory-pattern .factory-no-preview{background:#2f2f2f;line-height:46px;border-radius:100%;text-align:center;font-size:20px}.factory-bootstrap-449 .factory-pattern .factory-no-preview:hover{background:#333}.factory-bootstrap-449 .factory-pattern .factory-button .fa{font-size:14px;margin-right:1px}.factory-bootstrap-449 .factory-pattern .factory-button span{position:relative;top:-1px}.factory-bootstrap-449 .factory-pattern .factory-button+.factory-button{margin-left:3px}.factory-bootstrap-449 .factory-pattern .factory-change-color-btn{margin-left:5px}
libs/factory/bootstrap/assets/css-min/control.radio-colors.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-from-radio-label,.factory-bootstrap-449 .factory-from-radio-label>span{-webkit-transition:all .3s;-moz-transition:all .3s;-o-transition:all .3s;transition:all .3s}.factory-bootstrap-449 .factory-from-radio-label{position:relative;width:30px;height:30px;border-radius:3px;background-color:#fff;border:1px solid rgba(0,0,0,.1)}.factory-bootstrap-449 .factory-from-radio-label:hover{background-color:#f5f2f2;border:1px solid rgba(0,0,0,.2)}.factory-bootstrap-449 .factory-from-radio-label>span{display:block;position:absolute;top:2px;left:2px;right:2px;bottom:2px;text-indent:-9999px;background-color:#fff}.factory-bootstrap-449 .factory-from-radio-label .factory-radio-color:checked+span{border:5px solid #fff}.factory-bootstrap-449 .factory-radio-color{opacity:0}
libs/factory/bootstrap/assets/css-min/holder.conrol-group.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-control-group .factory-header{margin-bottom:7px;display:block}.factory-control-group-nav{width:284px;margin:10px 8px}.factory-control-group-nav li{display:inline-block;padding:8px 15px;margin:0;background-color:#444;color:#fff;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;cursor:pointer}.factory-control-group-nav li.current{background-color:#222}.factory-control-group-item{display:none}.factory-control-group-item.current{display:block}
libs/factory/bootstrap/assets/css-min/holder.more-link.min.css CHANGED
@@ -8,4 +8,4 @@
8
  */
9
 
10
 
11
- .factory-bootstrap-445 .factory-more-link-content{border-top:1px dashed #DDD;padding-top:25px;width:100%;padding-right:20px;position:relative}.factory-bootstrap-445 .factory-tab .factory-more-link-show{display:inline-block;text-decoration:none;border-bottom:1px dotted #21759b;position:relative}.factory-bootstrap-445 .factory-tab .factory-more-link-show:hover{border-color:#d54e21}.factory-bootstrap-445 .factory-tab .factory-more-link-hide{position:absolute;margin-top:-35px;background-color:#fff;padding:0 5px;right:20px;color:#bbb;text-decoration:none}.factory-bootstrap-445 .factory-tab .factory-more-link-hide:hover{color:#999}
8
  */
9
 
10
 
11
+ .factory-bootstrap-449 .factory-more-link-content{border-top:1px dashed #DDD;padding-top:25px;width:100%;padding-right:20px;position:relative}.factory-bootstrap-449 .factory-tab .factory-more-link-show{display:inline-block;text-decoration:none;border-bottom:1px dotted #21759b;position:relative}.factory-bootstrap-449 .factory-tab .factory-more-link-show:hover{border-color:#d54e21}.factory-bootstrap-449 .factory-tab .factory-more-link-hide{position:absolute;margin-top:-35px;background-color:#fff;padding:0 5px;right:20px;color:#bbb;text-decoration:none}.factory-bootstrap-449 .factory-tab .factory-more-link-hide:hover{color:#999}
libs/factory/bootstrap/assets/css-min/plugin.chosen.min.css ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ /*!
12
+ Chosen, a Select Box Enhancer for jQuery and Prototype
13
+ by Patrick Filler for Harvest, http://getharvest.com
14
+
15
+ Version 1.1.0
16
+ Full source at https://github.com/harvesthq/chosen
17
+ Copyright (c) 2011 Harvest http://getharvest.com
18
+
19
+ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
20
+ This file is generated by `grunt build`, do not edit it by hand.
21
+ */.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:23px;border:1px solid #aaa;border-radius:5px;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px;-moz-box-sizing:border-box;box-sizing:border-box}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(../../images/chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover,.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(../../images/chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:#fff url(../../images/chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:5px;height:15px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#666;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-field .default{color:#999}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(../../images/chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:0 0}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close,.chosen-disabled .chosen-single{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl .chosen-drop,.chosen-rtl.chosen-container-single-nosearch .chosen-search{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(../../images/chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span,.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container-single .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-rtl .chosen-search input[type=text]{background-image:url(../../images/chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
libs/factory/bootstrap/assets/css-min/plugin.gradient-picker.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-gradient-picker-wrap{margin-bottom:20px}.factory-bootstrap-449 .gradientPicker-preview{width:100%;height:30px;border-radius:3px;background:transparent url(../../assets/images/color_picker_pattern.jpg) repeat}.factory-bootstrap-449 .factory-color-picker-container{display:none;padding-top:15px}.factory-bootstrap-449 .factory-point,.factory-bootstrap-449 .factory-point-color{position:absolute;width:10px;height:10px;border:0;font-size:0;border-radius:50% 50% 100% 100%;-moz-border-radius:50% 50% 100% 100%;-webkit-border-radius:50% 50% 100% 100%;cursor:pointer;overflow:hidden}.factory-bootstrap-449 .factory-point-color{border-radius:0}.factory-bootstrap-449 .factory-point{background:transparent url(../../assets/images/color_picker_pattern.jpg) repeat}.factory-bootstrap-449 .factory-current-point{-ms-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.factory-bootstrap-449 .factory-points{position:relative;height:10px;width:100%;cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAWCAYAAADAQbwGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ1JREFUeNq8VAEKwCAITOn%2FX3ZzTBCxUicTBsvsOO9EIKJhAwCe5H0H4xBvLQgOegV8yZ8AZwJHc8zKI4c53bk6IGNqMH3GCJuMlkeG4p4G1e5Lq1KXatmCM7AdrbLLq7FC0agycx7oXOmk8%2FY%2FPNjRR7s6ZFHFqY5AcasLFDPtpAC7WH7aNkxgO9gdLNv3oWdKiKXX7r8bu6rlJcAA9ZRfMt5oHoIAAAAASUVORK5CYII%3D) 5 0,pointer}.factory-bootstrap-449 .gradientPicker-iris-wrap{display:none;position:absolute;left:0;top:78px;width:212px;height:212px;background:#111;border:1px solid #222;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;z-index:9999}.factory-bootstrap-449 .gradientPicker-iris-wrap .iris-border,.factory-bootstrap-449 .gradientPicker-iris-wrap .iris-picker{border:0;background:#111}.factory-bootstrap-449 .gradientPicker-pallets{padding:8px 0 3px;margin-bottom:10px;border-bottom:1px solid #323232;border-top:1px solid #323232;font-size:0;line-height:0;text-align:center}.factory-bootstrap-449 .factory-preset-gradient,.factory-bootstrap-449 .factory-secondary-color{width:22px;height:22px;border-radius:100%}.factory-bootstrap-449 .factory-preset-gradient{display:inline-block;cursor:pointer;margin-bottom:3px;position:relative}.factory-bootstrap-449 .factory-preset-gradient:hover{opacity:.9}.factory-bootstrap-449 .factory-preset-gradient+.factory-preset-gradient{margin-left:5px}.factory-bootstrap-449 .factory-secondary-color-wrap{width:11px;height:22px;position:absolute;overflow:hidden;right:0}.factory-bootstrap-449 .factory-secondary-color{position:absolute;left:-11px;background-color:red}.factory-bootstrap-449 .gradientPicker-filldirection{width:200px;margin-top:5px}.factory-bootstrap-449 .gradientPicker-ptConfig .color-chooser{float:left}.factory-bootstrap-449 .factory-color-picker-container .factory-slider{padding-left:75px;padding-right:60px;position:relative}.factory-bootstrap-449 .factory-color-picker-container .factory-color-hex{top:0;left:0;position:absolute;width:65px}
libs/factory/bootstrap/assets/css-min/plugin.nouislider.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-user-select:none;-ms-touch-action:none;-ms-user-select:none;-moz-user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-base{width:100%;height:100%;position:relative}.noUi-origin{position:absolute;right:0;top:0;left:0;bottom:0}.noUi-handle{position:relative;z-index:1}.noUi-stacking .noUi-handle{z-index:10}.noUi-stacking+.noUi-origin{*z-index:-1}.noUi-state-tap .noUi-origin{-webkit-transition:left .3s,top .3s;transition:left .3s,top .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;left:-17px;top:-6px}.noUi-horizontal.noUi-extended{padding:0 15px}.noUi-horizontal.noUi-extended .noUi-origin{right:-15px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;left:-6px;top:-17px}.noUi-vertical.noUi-extended{padding:15px 0}.noUi-vertical.noUi-extended .noUi-origin{bottom:-15px}.noUi-background{background:#FAFAFA;box-shadow:inset 0 1px 1px #f0f0f0}.noUi-connect{background:#3FB8AF;box-shadow:inset 0 0 3px rgba(51,51,51,.45);-webkit-transition:background 450ms;transition:background 450ms}.noUi-origin{border-radius:2px}.noUi-target{border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-target.noUi-connect{box-shadow:inset 0 0 3px rgba(51,51,51,.45),0 3px 6px -5px #BBB}.noUi-dragable{cursor:w-resize}.noUi-vertical .noUi-dragable{cursor:n-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect,[disabled].noUi-connect{background:#B8B8B8}[disabled] .noUi-handle{cursor:not-allowed}
libs/factory/bootstrap/assets/css-min/plugin.paddings-editor.min.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+
11
+ .factory-bootstrap-449 .factory-paddings-editor{padding-left:135px;height:90px;position:relative}.factory-bootstrap-449 .factory-paddings-editor .factory-rectangle{width:120px;height:90px;border-radius:10px;background-color:#a6b6b6;overflow:hidden;cursor:pointer;-moz-box-sizing:content-box;box-sizing:content-box;position:absolute;top:0;left:0}.factory-bootstrap-449 .factory-paddings-editor .factory-side{width:100%;height:100%;position:absolute}.factory-bootstrap-449 .factory-paddings-editor .factory-side-center{width:30px;height:30px;border-radius:100%;background-color:#bac9c9;position:absolute;top:30px;left:45px;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-449 .factory-paddings-editor .factory-side-center:hover{background-color:#c0cece}.factory-bootstrap-449 .factory-paddings-editor .factory-side-center.factory-active{background-color:#829595}.factory-bootstrap-449 .factory-paddings-editor .factory-side-top{height:30px;top:0;left:0}.factory-bootstrap-449 .factory-paddings-editor .factory-side-right{width:45px;top:0;right:0}.factory-bootstrap-449 .factory-paddings-editor .factory-side-bottom{height:30px;bottom:0;left:0}.factory-bootstrap-449 .factory-paddings-editor .factory-side-left{width:45px;top:0;left:0}.factory-bootstrap-449 .factory-paddings-editor .factory-rectangle .factory-visible-value{color:#1b1f1f;background-color:rgba(255,255,255,.3);border-radius:3px;padding:2px;line-height:13px;display:inline-block}.factory-bootstrap-449 .factory-paddings-editor .factory-rectangle .factory-side.factory-active .factory-visible-value{background-color:rgba(255,255,255,.3);border-radius:3px;padding:2px;line-height:13px;display:inline-block}.factory-bootstrap-449 .factory-paddings-editor .factory-visible-value em{font-style:normal}.factory-bootstrap-449 .factory-paddings-editor .factory-side-bottom,.factory-bootstrap-449 .factory-paddings-editor .factory-side-top{text-align:center;line-height:30px}.factory-bootstrap-449 .factory-paddings-editor .factory-side-left,.factory-bootstrap-449 .factory-paddings-editor .factory-side-right{line-height:90px;text-align:center}.factory-bootstrap-449 .factory-paddings-editor .factory-slider-container{font-style:italic}.factory-bootstrap-449 .factory-paddings-editor .factory-slider{padding-right:0;margin-top:7px}
libs/factory/bootstrap/assets/images/chosen-sprite.png ADDED
Binary file
libs/factory/bootstrap/assets/images/chosen-sprite@2x.png ADDED
Binary file
libs/factory/bootstrap/assets/images/color_picker_pattern.jpg ADDED
Binary file
libs/factory/bootstrap/assets/images/drop-menu_arrow.png ADDED
Binary file
libs/factory/bootstrap/assets/images/no-pattern-background-control.png ADDED
Binary file
libs/factory/bootstrap/assets/js-min/bootstrap.accordion.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a,b,c,d){"use strict";a.fn.factoryBootstrap449_accordion=function(){return this.each(function(){var b=a(this),c=!1;a("."+b.attr("class")+" > div:first").show(),a("."+b.attr("class")+" > div:first").add("."+b.attr("class")+" > h3:first").addClass("active"),a("."+b.attr("class")+" > h3").on("click",function(){var d=a(this),e=d.next();return d.hasClass("active")||c||(c=!0,d.parent().children("div").slideUp(500),a("."+b.attr("class")+" > h3").removeClass("active"),d.addClass("active"),e.addClass("active").slideDown({duration:500,complete:function(){c=!1,b.trigger("shown.bs.accordion",[d])},progress:function(){b.trigger("progress.bs.accordion",[d])}})),!1})})},a(function(){a(".factory-bootstrap-449 .factory-accordion").factoryBootstrap449_accordion()})}(jQuery,window,document);
libs/factory/bootstrap/assets/js-min/bootstrap.affix.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.alert.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.button.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.carousel.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.collapse.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},a.fn.factoryBootstrap449_collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.factoryBootstrap449_collapse.Constructor=b,a(document).on("click.bs.collapse.data-api","[data-toggle=factory-collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=factory-collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.datepicker.min.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ /*!
11
+ * Datepicker for Bootstrap v1.5.0-dev (https://github.com/eternicode/bootstrap-datepicker)
12
+ *
13
+ * Copyright 2012 Stefan Petre
14
+ * Improvements by Andrew Rowls
15
+ * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
16
+ */
17
+ !function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(a){return function(){return this[a].apply(this,arguments)}}function g(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function h(b){var c={};if(p[b]||(b=b.split("-")[0],p[b])){var d=p[b];return a.each(o,function(a,b){b in d&&(c[b]=d[b])}),c}}var i=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;d>c;c++)if(this[c].valueOf()===b)return c;return-1},remove:function(a){this.splice(a,1)},replace:function(b){b&&(a.isArray(b)||(b=[b]),this.clear(),this.push.apply(this,b))},clear:function(){this.length=0},copy:function(){var a=new i;return a.replace(this),a}};return function(){var c=[];return c.push.apply(c,arguments),a.extend(c,b),c}}(),j=function(b,c){this._process_options(c),this.dates=new i,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=a(b),this.isInline=!1,this.isInput=this.element.is("input"),this.component=this.element.hasClass("date")?this.element.find(".add-on, .input-group-addon, .btn"):!1,this.hasInput=this.component&&this.element.find("input").length,this.component&&0===this.component.length&&(this.component=!1),this.picker=a(q.template),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.viewMode=this.o.startView,this.o.calendarWeeks&&this.picker.find("tfoot .today, tfoot .clear").attr("colspan",function(a,b){return parseInt(b)+1}),this._allow_update=!1,this.setStartDate(this._o.startDate),this.setEndDate(this._o.endDate),this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled),this.setDatesDisabled(this.o.datesDisabled),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),this.isInline&&this.show()};j.prototype={constructor:j,_process_options:function(e){this._o=a.extend({},this._o,e);var f=this.o=a.extend({},this._o),g=f.language;switch(p[g]||(g=g.split("-")[0],p[g]||(g=n.language)),f.language=g,f.startView){case 2:case"decade":f.startView=2;break;case 1:case"year":f.startView=1;break;default:f.startView=0}switch(f.minViewMode){case 1:case"months":f.minViewMode=1;break;case 2:case"years":f.minViewMode=2;break;default:f.minViewMode=0}f.startView=Math.max(f.startView,f.minViewMode),f.multidate!==!0&&(f.multidate=Number(f.multidate)||!1,f.multidate!==!1&&(f.multidate=Math.max(0,f.multidate))),f.multidateSeparator=String(f.multidateSeparator),f.weekStart%=7,f.weekEnd=(f.weekStart+6)%7;var h=q.parseFormat(f.format);if(f.startDate!==-(1/0)&&(f.startDate?f.startDate instanceof Date?f.startDate=this._local_to_utc(this._zero_time(f.startDate)):f.startDate=q.parseDate(f.startDate,h,f.language):f.startDate=-(1/0)),f.endDate!==1/0&&(f.endDate?f.endDate instanceof Date?f.endDate=this._local_to_utc(this._zero_time(f.endDate)):f.endDate=q.parseDate(f.endDate,h,f.language):f.endDate=1/0),f.daysOfWeekDisabled=f.daysOfWeekDisabled||[],a.isArray(f.daysOfWeekDisabled)||(f.daysOfWeekDisabled=f.daysOfWeekDisabled.split(/[,\s]*/)),f.daysOfWeekDisabled=a.map(f.daysOfWeekDisabled,function(a){return parseInt(a,10)}),f.datesDisabled=f.datesDisabled||[],!a.isArray(f.datesDisabled)){var i=[];i.push(q.parseDate(f.datesDisabled,h,f.language)),f.datesDisabled=i}f.datesDisabled=a.map(f.datesDisabled,function(a){return q.parseDate(a,h,f.language)});var j=String(f.orientation).toLowerCase().split(/\s+/g),k=f.orientation.toLowerCase();if(j=a.grep(j,function(a){return/^auto|left|right|top|bottom$/.test(a)}),f.orientation={x:"auto",y:"auto"},k&&"auto"!==k)if(1===j.length)switch(j[0]){case"top":case"bottom":f.orientation.y=j[0];break;case"left":case"right":f.orientation.x=j[0]}else k=a.grep(j,function(a){return/^left|right$/.test(a)}),f.orientation.x=k[0]||"auto",k=a.grep(j,function(a){return/^top|bottom$/.test(a)}),f.orientation.y=k[0]||"auto";else;if(f.defaultViewDate){var l=f.defaultViewDate.year||(new Date).getFullYear(),m=f.defaultViewDate.month||0,o=f.defaultViewDate.day||1;f.defaultViewDate=c(l,m,o)}else f.defaultViewDate=d();f.showOnFocus=f.showOnFocus!==b?f.showOnFocus:!0},_events:[],_secondaryEvents:[],_applyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(d=b,e=a[f][1]):3===a[f].length&&(d=a[f][1],e=a[f][2]),c.on(e,d)},_unapplyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(e=b,d=a[f][1]):3===a[f].length&&(e=a[f][1],d=a[f][2]),c.off(d,e)},_buildEvents:function(){var b={keyup:a.proxy(function(b){-1===a.inArray(b.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:a.proxy(this.keydown,this),paste:a.proxy(this.paste,this)};this.o.showOnFocus===!0&&(b.focus=a.proxy(this.show,this)),this.isInput?this._events=[[this.element,b]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),b],[this.component,{click:a.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:a.proxy(this.show,this)}]],this._events.push([this.element,"*",{blur:a.proxy(function(a){this._focused_from=a.target},this)}],[this.element,{blur:a.proxy(function(a){this._focused_from=a.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":a.proxy(function(a){this.update(a.date)},this)}]),this._secondaryEvents=[[this.picker,{click:a.proxy(this.click,this)}],[a(window),{resize:a.proxy(this.place,this)}],[a(document),{mousedown:a.proxy(function(b){this.element.is(b.target)||this.element.find(b.target).length||this.picker.is(b.target)||this.picker.find(b.target).length||a(this.picker).hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(b,c){var d=c||this.dates.get(-1),e=this._utc_to_local(d);this.element.trigger({type:b,date:e,dates:a.map(this.dates,this._utc_to_local),format:a.proxy(function(a,b){0===arguments.length?(a=this.dates.length-1,b=this.o.format):"string"==typeof a&&(b=a,a=this.dates.length-1),b=b||this.o.format;var c=this.dates.get(a);return q.formatDate(c,b,this.o.language)},this)})},show:function(){return this.element.attr("readonly")&&this.o.enableOnReadonly===!1?void 0:(this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&a(this.element).blur(),this)},hide:function(){return this.isInline?this:this.picker.is(":visible")?(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this._trigger("hide"),this):this},remove:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(b){var c;if(b.originalEvent.clipboardData&&b.originalEvent.clipboardData.types&&-1!==a.inArray("text/plain",b.originalEvent.clipboardData.types))c=b.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;c=window.clipboardData.getData("Text")}this.setDate(c),this.update(),b.preventDefault()},_utc_to_local:function(a){return a&&new Date(a.getTime()+6e4*a.getTimezoneOffset())},_local_to_utc:function(a){return a&&new Date(a.getTime()-6e4*a.getTimezoneOffset())},_zero_time:function(a){return a&&new Date(a.getFullYear(),a.getMonth(),a.getDate())},_zero_utc_time:function(a){return a&&new Date(Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()))},getDates:function(){return a.map(this.dates,this._utc_to_local)},getUTCDates:function(){return a.map(this.dates,function(a){return new Date(a)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var a=this.dates.get(-1);return"undefined"!=typeof a?new Date(a):null},clearDates:function(){var a;this.isInput?a=this.element:this.component&&(a=this.element.find("input")),a&&a.val("").change(),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,b),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,a.map(b,this._utc_to_local)),this._trigger("changeDate"),this.setValue(),this},setDate:f("setDates"),setUTCDate:f("setUTCDates"),setValue:function(){var a=this.getFormattedDate();return this.isInput?this.element.val(a).change():this.component&&this.element.find("input").val(a).change(),this},getFormattedDate:function(c){c===b&&(c=this.o.format);var d=this.o.language;return a.map(this.dates,function(a){return q.formatDate(a,c,d)}).join(this.o.multidateSeparator)},setStartDate:function(a){return this._process_options({startDate:a}),this.update(),this.updateNavArrows(),this},setEndDate:function(a){return this._process_options({endDate:a}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(a){return this._process_options({daysOfWeekDisabled:a}),this.update(),this.updateNavArrows(),this},setDatesDisabled:function(a){this._process_options({datesDisabled:a}),this.update(),this.updateNavArrows()},place:function(){if(this.isInline)return this;var b=this.picker.outerWidth(),c=this.picker.outerHeight(),d=10,e=a(this.o.container).width(),f=a(this.o.container).height(),g=a(this.o.container).scrollTop(),h=a(this.o.container).offset(),i=[];this.element.parents().each(function(){var b=a(this).css("z-index");"auto"!==b&&0!==b&&i.push(parseInt(b))});var j=Math.max.apply(Math,i)+10,k=this.component?this.component.parent().offset():this.element.offset(),l=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),m=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),n=k.left-h.left,o=k.top-h.top;this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(n-=b-m)):k.left<0?(this.picker.addClass("datepicker-orient-left"),n-=k.left-d):n+b>e?(this.picker.addClass("datepicker-orient-right"),n=k.left+m-b):this.picker.addClass("datepicker-orient-left");var p,q,r=this.o.orientation.y;if("auto"===r&&(p=-g+o-c,q=g+f-(o+l+c),r=Math.max(p,q)===q?"top":"bottom"),this.picker.addClass("datepicker-orient-"+r),"top"===r?o+=l:o-=c+parseInt(this.picker.css("padding-top")),this.o.rtl){var s=e-(n+m);this.picker.css({top:o,right:s,zIndex:j})}else this.picker.css({top:o,left:n,zIndex:j});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return q.parseDate(a,this.o.format,this.o.language)},this)),c=a.grep(c,a.proxy(function(a){return a<this.o.startDate||a>this.o.endDate||!a},this),!0),this.dates.replace(c),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate&&(this.viewDate=new Date(this.o.endDate)),d?this.setValue():c.length&&String(b)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&b.length&&this._trigger("clearDate"),this.fill(),this},fillDow:function(){var a=this.o.weekStart,b="<tr>";if(this.o.calendarWeeks){this.picker.find(".datepicker-days thead tr:first-child .datepicker-switch").attr("colspan",function(a,b){return parseInt(b)+1});var c='<th class="cw">&#160;</th>';b+=c}for(;a<this.o.weekStart+7;)b+='<th class="dow">'+p[this.o.language].daysMin[a++%7]+"</th>";b+="</tr>",this.picker.find(".datepicker-days thead").append(b)},fillMonths:function(){for(var a="",b=0;12>b;)a+='<span class="month">'+p[this.o.language].monthsShort[b++]+"</span>";this.picker.find(".datepicker-months td").html(a)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],d=this.viewDate.getUTCFullYear(),f=this.viewDate.getUTCMonth(),g=new Date;return b.getUTCFullYear()<d||b.getUTCFullYear()===d&&b.getUTCMonth()<f?c.push("old"):(b.getUTCFullYear()>d||b.getUTCFullYear()===d&&b.getUTCMonth()>f)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&b.getUTCFullYear()===g.getFullYear()&&b.getUTCMonth()===g.getMonth()&&b.getUTCDate()===g.getDate()&&c.push("today"),-1!==this.dates.contains(b)&&c.push("active"),(b.valueOf()<this.o.startDate||b.valueOf()>this.o.endDate||-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekDisabled))&&c.push("disabled"),this.o.datesDisabled.length>0&&a.grep(this.o.datesDisabled,function(a){return e(b,a)}).length>0&&c.push("disabled","disabled-date"),this.range&&(b>this.range[0]&&b<this.range[this.range.length-1]&&c.push("range"),-1!==a.inArray(b.valueOf(),this.range)&&c.push("selected")),c},fill:function(){var d,e=new Date(this.viewDate),f=e.getUTCFullYear(),g=e.getUTCMonth(),h=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),i=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),j=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,k=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,l=p[this.o.language].today||p.en.today||"",m=p[this.o.language].clear||p.en.clear||"";if(!isNaN(f)&&!isNaN(g)){this.picker.find(".datepicker-days thead .datepicker-switch").text(p[this.o.language].months[g]+" "+f),this.picker.find("tfoot .today").text(l).toggle(this.o.todayBtn!==!1),this.picker.find("tfoot .clear").text(m).toggle(this.o.clearBtn!==!1),this.updateNavArrows(),this.fillMonths();var n=c(f,g-1,28),o=q.getDaysInMonth(n.getUTCFullYear(),n.getUTCMonth());n.setUTCDate(o),n.setUTCDate(o-(n.getUTCDay()-this.o.weekStart+7)%7);var r=new Date(n);r.setUTCDate(r.getUTCDate()+42),r=r.valueOf();for(var s,t=[];n.valueOf()<r;){if(n.getUTCDay()===this.o.weekStart&&(t.push("<tr>"),this.o.calendarWeeks)){var u=new Date(+n+(this.o.weekStart-n.getUTCDay()-7)%7*864e5),v=new Date(Number(u)+(11-u.getUTCDay())%7*864e5),w=new Date(Number(w=c(v.getUTCFullYear(),0,1))+(11-w.getUTCDay())%7*864e5),x=(v-w)/864e5/7+1;t.push('<td class="cw">'+x+"</td>")}if(s=this.getClassNames(n),s.push("day"),this.o.beforeShowDay!==a.noop){var y=this.o.beforeShowDay(this._utc_to_local(n));y===b?y={}:"boolean"==typeof y?y={enabled:y}:"string"==typeof y&&(y={classes:y}),y.enabled===!1&&s.push("disabled"),y.classes&&(s=s.concat(y.classes.split(/\s+/))),y.tooltip&&(d=y.tooltip)}s=a.unique(s),t.push('<td class="'+s.join(" ")+'"'+(d?' title="'+d+'"':"")+">"+n.getUTCDate()+"</td>"),d=null,n.getUTCDay()===this.o.weekEnd&&t.push("</tr>"),n.setUTCDate(n.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(t.join(""));var z=this.picker.find(".datepicker-months").find("th:eq(1)").text(f).end().find("span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===f&&z.eq(b.getUTCMonth()).addClass("active")}),(h>f||f>j)&&z.addClass("disabled"),f===h&&z.slice(0,i).addClass("disabled"),f===j&&z.slice(k+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var A=this;a.each(z,function(b,c){if(!a(c).hasClass("disabled")){var d=new Date(f,b,1),e=A.o.beforeShowMonth(d);e===!1&&a(c).addClass("disabled")}})}t="",f=10*parseInt(f/10,10);var B=this.picker.find(".datepicker-years").find("th:eq(1)").text(f+"-"+(f+9)).end().find("td");f-=1;for(var C,D=a.map(this.dates,function(a){return a.getUTCFullYear()}),E=-1;11>E;E++)C=["year"],-1===E?C.push("old"):10===E&&C.push("new"),-1!==a.inArray(f,D)&&C.push("active"),(h>f||f>j)&&C.push("disabled"),t+='<span class="'+C.join(" ")+'">'+f+"</span>",f+=1;B.html(t)}},updateNavArrows:function(){if(this._allow_update){var a=new Date(this.viewDate),b=a.getUTCFullYear(),c=a.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-(1/0)&&b<=this.o.startDate.getUTCFullYear()&&c<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&b>=this.o.endDate.getUTCFullYear()&&c>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.o.startDate!==-(1/0)&&b<=this.o.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&b>=this.o.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(b){b.preventDefault();var d,e,f,g=a(b.target).closest("span, td, th");if(1===g.length)switch(g[0].nodeName.toLowerCase()){case"th":switch(g[0].className){case"datepicker-switch":this.showMode(1);break;case"prev":case"next":var h=q.modes[this.viewMode].navStep*("prev"===g[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,h),this._trigger("changeMonth",this.viewDate);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,h),1===this.viewMode&&this._trigger("changeYear",this.viewDate)}this.fill();break;case"today":var i=new Date;i=c(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0),this.showMode(-2);var j="linked"===this.o.todayBtn?null:"view";this._setDate(i,j);break;case"clear":this.clearDates()}break;case"span":g.hasClass("disabled")||(this.viewDate.setUTCDate(1),g.hasClass("month")?(f=1,e=g.parent().find("span").index(g),d=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(e),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode?(this._setDate(c(d,e,f)),this.showMode()):this.showMode(-1)):(f=1,e=0,d=parseInt(g.text(),10)||0,this.viewDate.setUTCFullYear(d),this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(c(d,e,f)),this.showMode(-1)),this.fill());break;case"td":g.hasClass("day")&&!g.hasClass("disabled")&&(f=parseInt(g.text(),10)||1,d=this.viewDate.getUTCFullYear(),e=this.viewDate.getUTCMonth(),g.hasClass("old")?0===e?(e=11,d-=1):e-=1:g.hasClass("new")&&(11===e?(e=0,d+=1):e+=1),this._setDate(c(d,e,f)))}this.picker.is(":visible")&&this._focused_from&&a(this._focused_from).focus(),delete this._focused_from},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),-1!==b?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):this.o.multidate===!1?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),b&&"view"!==b||(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate");var c;this.isInput?c=this.element:this.component&&(c=this.element.find("input")),c&&c.change(),!this.o.autoclose||b&&"date"!==b||this.hide()},moveMonth:function(a,c){if(!a)return b;if(!c)return a;var d,e,f=new Date(a.valueOf()),g=f.getUTCDate(),h=f.getUTCMonth(),i=Math.abs(c);if(c=c>0?1:-1,1===i)e=-1===c?function(){return f.getUTCMonth()===h}:function(){return f.getUTCMonth()!==d},d=h+c,f.setUTCMonth(d),(0>d||d>11)&&(d=(d+12)%12);else{for(var j=0;i>j;j++)f=this.moveMonth(f,c);d=f.getUTCMonth(),f.setUTCDate(g),e=function(){return d!==f.getUTCMonth()}}for(;e();)f.setUTCDate(--g),f.setUTCMonth(d);return f},moveYear:function(a,b){return this.moveMonth(a,12*b)},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void((40===a.keyCode||27===a.keyCode)&&this.show());var b,c,e,f=!1,g=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault();break;case 37:case 39:if(!this.o.keyboardNavigation)break;b=37===a.keyCode?-1:1,a.ctrlKey?(c=this.moveYear(this.dates.get(-1)||d(),b),e=this.moveYear(g,b),this._trigger("changeYear",this.viewDate)):a.shiftKey?(c=this.moveMonth(this.dates.get(-1)||d(),b),e=this.moveMonth(g,b),this._trigger("changeMonth",this.viewDate)):(c=new Date(this.dates.get(-1)||d()),c.setUTCDate(c.getUTCDate()+b),e=new Date(g),e.setUTCDate(g.getUTCDate()+b)),this.dateWithinRange(e)&&(this.focusDate=this.viewDate=e,this.setValue(),this.fill(),a.preventDefault());break;case 38:case 40:if(!this.o.keyboardNavigation)break;b=38===a.keyCode?-1:1,a.ctrlKey?(c=this.moveYear(this.dates.get(-1)||d(),b),e=this.moveYear(g,b),this._trigger("changeYear",this.viewDate)):a.shiftKey?(c=this.moveMonth(this.dates.get(-1)||d(),b),e=this.moveMonth(g,b),this._trigger("changeMonth",this.viewDate)):(c=new Date(this.dates.get(-1)||d()),c.setUTCDate(c.getUTCDate()+7*b),e=new Date(g),e.setUTCDate(g.getUTCDate()+7*b)),this.dateWithinRange(e)&&(this.focusDate=this.viewDate=e,this.setValue(),this.fill(),a.preventDefault());break;case 32:break;case 13:g=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(g),f=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),"function"==typeof a.stopPropagation?a.stopPropagation():a.cancelBubble=!0,this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}if(f){this.dates.length?this._trigger("changeDate"):this._trigger("clearDate");var h;this.isInput?h=this.element:this.component&&(h=this.element.find("input")),h&&h.change()}},showMode:function(a){a&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(2,this.viewMode+a))),this.picker.children("div").hide().filter(".datepicker-"+q.modes[this.viewMode].clsName).css("display","block"),this.updateNavArrows()}};var k=function(b,c){this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,m.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a(b).data("datepicker")}),this.updateDates()};k.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},dateUpdated:function(b){if(!this.updating){this.updating=!0;var c=a(b.target).data("datepicker"),d=c.getUTCDate(),e=a.inArray(b.target,this.inputs),f=e-1,g=e+1,h=this.inputs.length;if(-1!==e){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b.setUTCDate(d)}),d<this.dates[f])for(;f>=0&&d<this.dates[f];)this.pickers[f--].setUTCDate(d);else if(d>this.dates[g])for(;h>g&&d>this.dates[g];)this.pickers[g++].setUTCDate(d);this.updateDates(),delete this.updating}}},remove:function(){a.map(this.pickers,function(a){a.remove()}),delete this.element.data().datepicker}};var l=a.fn.datepicker,m=function(c){var d=Array.apply(null,arguments);d.shift();var e;return this.each(function(){var f=a(this),i=f.data("datepicker"),l="object"==typeof c&&c;if(!i){var m=g(this,"date"),o=a.extend({},n,m,l),p=h(o.language),q=a.extend({},n,p,m,l);if(f.hasClass("input-daterange")||q.inputs){var r={inputs:q.inputs||f.find("input").toArray()};f.data("datepicker",i=new k(this,a.extend(q,r)))}else f.data("datepicker",i=new j(this,q))}return"string"==typeof c&&"function"==typeof i[c]&&(e=i[c].apply(i,d),e!==b)?!1:void 0}),e!==b?e:this};a.fn.datepicker=m;var n=a.fn.datepicker.defaults={autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,container:"body",immediateUpdates:!1},o=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=j;var p=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear"},ru:{days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],daysShort:["Вск","Пнд","Втр","Срд","Чтв","Птн","Суб"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня",clear:"Очистить",format:"dd/mm/yyyy",weekStart:1,monthsTitle:"Месяцы"}},q={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(a){return a%4===0&&a%100!==0||a%400===0},getDaysInMonth:function(a,b){return[31,q.isLeapYear(a)?29:28,31,30,31,30,31,31,30,31,30,31][b]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(a){var b=a.replace(this.validParts,"\x00").split("\x00"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(d,e,f){function g(){var a=this.slice(0,m[k].length),b=m[k].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!d)return b;if(d instanceof Date)return d;"string"==typeof e&&(e=q.parseFormat(e));var h,i,k,l=/([\-+]\d+)([dmwy])/,m=d.match(/([\-+]\d+)([dmwy])/g);if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(d)){for(d=new Date,k=0;k<m.length;k++)switch(h=l.exec(m[k]),i=parseInt(h[1]),h[2]){case"d":d.setUTCDate(d.getUTCDate()+i);break;case"m":d=j.prototype.moveMonth.call(j.prototype,d,i);break;case"w":d.setUTCDate(d.getUTCDate()+7*i);break;case"y":d=j.prototype.moveYear.call(j.prototype,d,i)}return c(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate(),0,0,0)}m=d&&d.match(this.nonpunctuation)||[],d=new Date;var n,o,r={},s=["yyyy","yy","M","MM","m","mm","d","dd"],t={yyyy:function(a,b){return a.setUTCFullYear(b)},yy:function(a,b){return a.setUTCFullYear(2e3+b)},m:function(a,b){if(isNaN(a))return a;for(b-=1;0>b;)b+=12;for(b%=12,a.setUTCMonth(b);a.getUTCMonth()!==b;)a.setUTCDate(a.getUTCDate()-1);return a},d:function(a,b){return a.setUTCDate(b)}};t.M=t.MM=t.mm=t.m,t.dd=t.d,d=c(d.getFullYear(),d.getMonth(),d.getDate(),0,0,0);var u=e.parts.slice();if(m.length!==u.length&&(u=a(u).filter(function(b,c){return-1!==a.inArray(c,s)}).toArray()),m.length===u.length){var v;for(k=0,v=u.length;v>k;k++){if(n=parseInt(m[k],10),h=u[k],isNaN(n))switch(h){case"MM":o=a(p[f].months).filter(g),n=a.inArray(o[0],p[f].months)+1;break;case"M":o=a(p[f].monthsShort).filter(g),n=a.inArray(o[0],p[f].monthsShort)+1}r[h]=n}var w,x;for(k=0;k<s.length;k++)x=s[k],x in r&&!isNaN(r[x])&&(w=new Date(d),t[x](w,r[x]),isNaN(w)||(d=w))}return d},formatDate:function(b,c,d){if(!b)return"";"string"==typeof c&&(c=q.parseFormat(c));var e={d:b.getUTCDate(),D:p[d].daysShort[b.getUTCDay()],DD:p[d].days[b.getUTCDay()],m:b.getUTCMonth()+1,M:p[d].monthsShort[b.getUTCMonth()],MM:p[d].months[b.getUTCMonth()],yy:b.getUTCFullYear().toString().substring(2),yyyy:b.getUTCFullYear()};e.dd=(e.d<10?"0":"")+e.d,e.mm=(e.m<10?"0":"")+e.m,b=[];for(var f=a.extend([],c.separators),g=0,h=c.parts.length;h>=g;g++)f.length&&b.push(f.shift()),b.push(e[c.parts[g]]);return b.join("")},headTemplate:'<thead><tr><th class="prev">&#171;</th><th colspan="5" class="datepicker-switch"></th><th class="next">&#187;</th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};q.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+q.headTemplate+"<tbody></tbody>"+q.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+q.headTemplate+q.contTemplate+q.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+q.headTemplate+q.contTemplate+q.footTemplate+"</table></div></div>",a.fn.datepicker.DPGlobal=q,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=l,this},a.fn.datepicker.version="1.4.1-dev",a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),m.call(c,"show"))}),a(function(){m.call(a('[data-provide="datepicker-inline"]'))})}(window.jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.datetimepicker.min.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ /*! version : 4.17.47
11
+ =========================================================
12
+ bootstrap-datetimejs
13
+ https://github.com/Eonasdan/bootstrap-datetimepicker
14
+ Copyright (c) 2015 Jonathan Peterson
15
+ =========================================================
16
+ */
17
+ !function(a){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],a);else if("object"==typeof exports)module.exports=a(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";a(jQuery,moment)}}(function(a,b){"use strict";if(!b)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var c=function(c,d){var e,f,g,h,i,j,k,l={},m=!0,n=!1,o=!1,p=0,q=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],r=["days","months","years","decades"],s=["top","bottom","auto"],t=["left","right","auto"],u=["default","top","bottom"],v={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},w={},x=function(){return void 0!==b.tz&&void 0!==d.timeZone&&null!==d.timeZone&&""!==d.timeZone},y=function(a){var c;return c=void 0===a||null===a?b():b.isDate(a)||b.isMoment(a)?b(a):x()?b.tz(a,j,d.useStrict,d.timeZone):b(a,j,d.useStrict),x()&&c.tz(d.timeZone),c},z=function(a){if("string"!=typeof a||a.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(a){case"y":return-1!==i.indexOf("Y");case"M":return-1!==i.indexOf("M");case"d":return-1!==i.toLowerCase().indexOf("d");case"h":case"H":return-1!==i.toLowerCase().indexOf("h");case"m":return-1!==i.indexOf("m");case"s":return-1!==i.indexOf("s");default:return!1}},A=function(){return z("h")||z("m")||z("s")},B=function(){return z("y")||z("M")||z("d")},C=function(){var b=a("<thead>").append(a("<tr>").append(a("<th>").addClass("prev").attr("data-action","previous").append(a("<span>").addClass(d.icons.previous))).append(a("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",d.calendarWeeks?"6":"5")).append(a("<th>").addClass("next").attr("data-action","next").append(a("<span>").addClass(d.icons.next)))),c=a("<tbody>").append(a("<tr>").append(a("<td>").attr("colspan",d.calendarWeeks?"8":"7")));return[a("<div>").addClass("datepicker-days").append(a("<table>").addClass("table-condensed").append(b).append(a("<tbody>"))),a("<div>").addClass("datepicker-months").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-years").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-decades").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone()))]},D=function(){var b=a("<tr>"),c=a("<tr>"),e=a("<tr>");return z("h")&&(b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:d.tooltips.pickHour}).attr("data-action","showHours"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(a("<span>").addClass(d.icons.down))))),z("m")&&(z("h")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:d.tooltips.pickMinute}).attr("data-action","showMinutes"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(a("<span>").addClass(d.icons.down))))),z("s")&&(z("m")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:d.tooltips.pickSecond}).attr("data-action","showSeconds"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(a("<span>").addClass(d.icons.down))))),h||(b.append(a("<td>").addClass("separator")),c.append(a("<td>").append(a("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:d.tooltips.togglePeriod}))),e.append(a("<td>").addClass("separator"))),a("<div>").addClass("timepicker-picker").append(a("<table>").addClass("table-condensed").append([b,c,e]))},E=function(){var b=a("<div>").addClass("timepicker-hours").append(a("<table>").addClass("table-condensed")),c=a("<div>").addClass("timepicker-minutes").append(a("<table>").addClass("table-condensed")),d=a("<div>").addClass("timepicker-seconds").append(a("<table>").addClass("table-condensed")),e=[D()];return z("h")&&e.push(b),z("m")&&e.push(c),z("s")&&e.push(d),e},F=function(){var b=[];return d.showTodayButton&&b.push(a("<td>").append(a("<a>").attr({"data-action":"today",title:d.tooltips.today}).append(a("<span>").addClass(d.icons.today)))),!d.sideBySide&&B()&&A()&&b.push(a("<td>").append(a("<a>").attr({"data-action":"togglePicker",title:d.tooltips.selectTime}).append(a("<span>").addClass(d.icons.time)))),d.showClear&&b.push(a("<td>").append(a("<a>").attr({"data-action":"clear",title:d.tooltips.clear}).append(a("<span>").addClass(d.icons.clear)))),d.showClose&&b.push(a("<td>").append(a("<a>").attr({"data-action":"close",title:d.tooltips.close}).append(a("<span>").addClass(d.icons.close)))),a("<table>").addClass("table-condensed").append(a("<tbody>").append(a("<tr>").append(b)))},G=function(){var b=a("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),c=a("<div>").addClass("datepicker").append(C()),e=a("<div>").addClass("timepicker").append(E()),f=a("<ul>").addClass("list-unstyled"),g=a("<li>").addClass("picker-switch"+(d.collapse?" accordion-toggle":"")).append(F());return d.inline&&b.removeClass("dropdown-menu"),h&&b.addClass("usetwentyfour"),z("s")&&!h&&b.addClass("wider"),d.sideBySide&&B()&&A()?(b.addClass("timepicker-sbs"),"top"===d.toolbarPlacement&&b.append(g),b.append(a("<div>").addClass("row").append(c.addClass("col-md-6")).append(e.addClass("col-md-6"))),"bottom"===d.toolbarPlacement&&b.append(g),b):("top"===d.toolbarPlacement&&f.append(g),B()&&f.append(a("<li>").addClass(d.collapse&&A()?"collapse in":"").append(c)),"default"===d.toolbarPlacement&&f.append(g),A()&&f.append(a("<li>").addClass(d.collapse&&B()?"collapse":"").append(e)),"bottom"===d.toolbarPlacement&&f.append(g),b.append(f))},H=function(){var b,e={};return b=c.is("input")||d.inline?c.data():c.find("input").data(),b.dateOptions&&b.dateOptions instanceof Object&&(e=a.extend(!0,e,b.dateOptions)),a.each(d,function(a){var c="date"+a.charAt(0).toUpperCase()+a.slice(1);void 0!==b[c]&&(e[a]=b[c])}),e},I=function(){var b,e=(n||c).position(),f=(n||c).offset(),g=d.widgetPositioning.vertical,h=d.widgetPositioning.horizontal;if(d.widgetParent)b=d.widgetParent.append(o);else if(c.is("input"))b=c.after(o).parent();else{if(d.inline)return void(b=c.append(o));b=c,c.children().first().after(o)}if("auto"===g&&(g=f.top+1.5*o.height()>=a(window).height()+a(window).scrollTop()&&o.height()+c.outerHeight()<f.top?"top":"bottom"),"auto"===h&&(h=b.width()<f.left+o.outerWidth()/2&&f.left+o.outerWidth()>a(window).width()?"right":"left"),"top"===g?o.addClass("top").removeClass("bottom"):o.addClass("bottom").removeClass("top"),"right"===h?o.addClass("pull-right"):o.removeClass("pull-right"),"static"===b.css("position")&&(b=b.parents().filter(function(){return"static"!==a(this).css("position")}).first()),0===b.length)throw new Error("datetimepicker component should be placed within a non-static positioned container");o.css({top:"top"===g?"auto":e.top+c.outerHeight(),bottom:"top"===g?b.outerHeight()-(b===c?0:e.top):"auto",left:"left"===h?b===c?0:e.left:"auto",right:"left"===h?"auto":b.outerWidth()-c.outerWidth()-(b===c?0:e.left)})},J=function(a){"dp.change"===a.type&&(a.date&&a.date.isSame(a.oldDate)||!a.date&&!a.oldDate)||c.trigger(a)},K=function(a){"y"===a&&(a="YYYY"),J({type:"dp.update",change:a,viewDate:f.clone()})},L=function(a){o&&(a&&(k=Math.max(p,Math.min(3,k+a))),o.find(".datepicker > div").hide().filter(".datepicker-"+q[k].clsName).show())},M=function(){var b=a("<tr>"),c=f.clone().startOf("w").startOf("d");for(d.calendarWeeks===!0&&b.append(a("<th>").addClass("cw").text("#"));c.isBefore(f.clone().endOf("w"));)b.append(a("<th>").addClass("dow").text(c.format("dd"))),c.add(1,"d");o.find(".datepicker-days thead").append(b)},N=function(a){return d.disabledDates[a.format("YYYY-MM-DD")]===!0},O=function(a){return d.enabledDates[a.format("YYYY-MM-DD")]===!0},P=function(a){return d.disabledHours[a.format("H")]===!0},Q=function(a){return d.enabledHours[a.format("H")]===!0},R=function(b,c){if(!b.isValid())return!1;if(d.disabledDates&&"d"===c&&N(b))return!1;if(d.enabledDates&&"d"===c&&!O(b))return!1;if(d.minDate&&b.isBefore(d.minDate,c))return!1;if(d.maxDate&&b.isAfter(d.maxDate,c))return!1;if(d.daysOfWeekDisabled&&"d"===c&&-1!==d.daysOfWeekDisabled.indexOf(b.day()))return!1;if(d.disabledHours&&("h"===c||"m"===c||"s"===c)&&P(b))return!1;if(d.enabledHours&&("h"===c||"m"===c||"s"===c)&&!Q(b))return!1;if(d.disabledTimeIntervals&&("h"===c||"m"===c||"s"===c)){var e=!1;if(a.each(d.disabledTimeIntervals,function(){return b.isBetween(this[0],this[1])?(e=!0,!1):void 0}),e)return!1}return!0},S=function(){for(var b=[],c=f.clone().startOf("y").startOf("d");c.isSame(f,"y");)b.push(a("<span>").attr("data-action","selectMonth").addClass("month").text(c.format("MMM"))),c.add(1,"M");o.find(".datepicker-months td").empty().append(b)},T=function(){var b=o.find(".datepicker-months"),c=b.find("th"),g=b.find("tbody").find("span");c.eq(0).find("span").attr("title",d.tooltips.prevYear),c.eq(1).attr("title",d.tooltips.selectYear),c.eq(2).find("span").attr("title",d.tooltips.nextYear),b.find(".disabled").removeClass("disabled"),R(f.clone().subtract(1,"y"),"y")||c.eq(0).addClass("disabled"),c.eq(1).text(f.year()),R(f.clone().add(1,"y"),"y")||c.eq(2).addClass("disabled"),g.removeClass("active"),e.isSame(f,"y")&&!m&&g.eq(e.month()).addClass("active"),g.each(function(b){R(f.clone().month(b),"M")||a(this).addClass("disabled")})},U=function(){var a=o.find(".datepicker-years"),b=a.find("th"),c=f.clone().subtract(5,"y"),g=f.clone().add(6,"y"),h="";for(b.eq(0).find("span").attr("title",d.tooltips.prevDecade),b.eq(1).attr("title",d.tooltips.selectDecade),b.eq(2).find("span").attr("title",d.tooltips.nextDecade),a.find(".disabled").removeClass("disabled"),d.minDate&&d.minDate.isAfter(c,"y")&&b.eq(0).addClass("disabled"),b.eq(1).text(c.year()+"-"+g.year()),d.maxDate&&d.maxDate.isBefore(g,"y")&&b.eq(2).addClass("disabled");!c.isAfter(g,"y");)h+='<span data-action="selectYear" class="year'+(c.isSame(e,"y")&&!m?" active":"")+(R(c,"y")?"":" disabled")+'">'+c.year()+"</span>",c.add(1,"y");a.find("td").html(h)},V=function(){var a,c=o.find(".datepicker-decades"),g=c.find("th"),h=b({y:f.year()-f.year()%100-1}),i=h.clone().add(100,"y"),j=h.clone(),k=!1,l=!1,m="";for(g.eq(0).find("span").attr("title",d.tooltips.prevCentury),g.eq(2).find("span").attr("title",d.tooltips.nextCentury),c.find(".disabled").removeClass("disabled"),(h.isSame(b({y:1900}))||d.minDate&&d.minDate.isAfter(h,"y"))&&g.eq(0).addClass("disabled"),g.eq(1).text(h.year()+"-"+i.year()),(h.isSame(b({y:2e3}))||d.maxDate&&d.maxDate.isBefore(i,"y"))&&g.eq(2).addClass("disabled");!h.isAfter(i,"y");)a=h.year()+12,k=d.minDate&&d.minDate.isAfter(h,"y")&&d.minDate.year()<=a,l=d.maxDate&&d.maxDate.isAfter(h,"y")&&d.maxDate.year()<=a,m+='<span data-action="selectDecade" class="decade'+(e.isAfter(h)&&e.year()<=a?" active":"")+(R(h,"y")||k||l?"":" disabled")+'" data-selection="'+(h.year()+6)+'">'+(h.year()+1)+" - "+(h.year()+12)+"</span>",h.add(12,"y");m+="<span></span><span></span><span></span>",c.find("td").html(m),g.eq(1).text(j.year()+1+"-"+h.year())},W=function(){var b,c,g,h=o.find(".datepicker-days"),i=h.find("th"),j=[],k=[];if(B()){for(i.eq(0).find("span").attr("title",d.tooltips.prevMonth),i.eq(1).attr("title",d.tooltips.selectMonth),i.eq(2).find("span").attr("title",d.tooltips.nextMonth),h.find(".disabled").removeClass("disabled"),i.eq(1).text(f.format(d.dayViewHeaderFormat)),R(f.clone().subtract(1,"M"),"M")||i.eq(0).addClass("disabled"),R(f.clone().add(1,"M"),"M")||i.eq(2).addClass("disabled"),b=f.clone().startOf("M").startOf("w").startOf("d"),g=0;42>g;g++)0===b.weekday()&&(c=a("<tr>"),d.calendarWeeks&&c.append('<td class="cw">'+b.week()+"</td>"),j.push(c)),k=["day"],b.isBefore(f,"M")&&k.push("old"),b.isAfter(f,"M")&&k.push("new"),b.isSame(e,"d")&&!m&&k.push("active"),R(b,"d")||k.push("disabled"),b.isSame(y(),"d")&&k.push("today"),(0===b.day()||6===b.day())&&k.push("weekend"),J({type:"dp.classify",date:b,classNames:k}),c.append('<td data-action="selectDay" data-day="'+b.format("L")+'" class="'+k.join(" ")+'">'+b.date()+"</td>"),b.add(1,"d");h.find("tbody").empty().append(j),T(),U(),V()}},X=function(){var b=o.find(".timepicker-hours table"),c=f.clone().startOf("d"),d=[],e=a("<tr>");for(f.hour()>11&&!h&&c.hour(12);c.isSame(f,"d")&&(h||f.hour()<12&&c.hour()<12||f.hour()>11);)c.hour()%4===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectHour" class="hour'+(R(c,"h")?"":" disabled")+'">'+c.format(h?"HH":"hh")+"</td>"),c.add(1,"h");b.empty().append(d)},Y=function(){for(var b=o.find(".timepicker-minutes table"),c=f.clone().startOf("h"),e=[],g=a("<tr>"),h=1===d.stepping?5:d.stepping;f.isSame(c,"h");)c.minute()%(4*h)===0&&(g=a("<tr>"),e.push(g)),g.append('<td data-action="selectMinute" class="minute'+(R(c,"m")?"":" disabled")+'">'+c.format("mm")+"</td>"),c.add(h,"m");b.empty().append(e)},Z=function(){for(var b=o.find(".timepicker-seconds table"),c=f.clone().startOf("m"),d=[],e=a("<tr>");f.isSame(c,"m");)c.second()%20===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectSecond" class="second'+(R(c,"s")?"":" disabled")+'">'+c.format("ss")+"</td>"),c.add(5,"s");b.empty().append(d)},$=function(){var a,b,c=o.find(".timepicker span[data-time-component]");h||(a=o.find(".timepicker [data-action=togglePeriod]"),b=e.clone().add(e.hours()>=12?-12:12,"h"),a.text(e.format("A")),R(b,"h")?a.removeClass("disabled"):a.addClass("disabled")),c.filter("[data-time-component=hours]").text(e.format(h?"HH":"hh")),c.filter("[data-time-component=minutes]").text(e.format("mm")),c.filter("[data-time-component=seconds]").text(e.format("ss")),X(),Y(),Z()},_=function(){o&&(W(),$())},aa=function(a){var b=m?null:e;if(!a)return m=!0,g.val(""),c.data("date",""),J({type:"dp.change",date:!1,oldDate:b}),void _();if(a=a.clone().locale(d.locale),x()&&a.tz(d.timeZone),1!==d.stepping)for(a.minutes(Math.round(a.minutes()/d.stepping)*d.stepping).seconds(0);d.minDate&&a.isBefore(d.minDate);)a.add(d.stepping,"minutes");R(a)?(e=a,f=e.clone(),g.val(e.format(i)),c.data("date",e.format(i)),m=!1,_(),J({type:"dp.change",date:e.clone(),oldDate:b})):(d.keepInvalid?J({type:"dp.change",date:a,oldDate:b}):g.val(m?"":e.format(i)),J({type:"dp.error",date:a,oldDate:b}))},ba=function(){var b=!1;return o?(o.find(".collapse").each(function(){var c=a(this).data("collapse");return c&&c.transitioning?(b=!0,!1):!0}),b?l:(n&&n.hasClass("btn")&&n.toggleClass("active"),o.hide(),a(window).off("resize",I),o.off("click","[data-action]"),o.off("mousedown",!1),o.remove(),o=!1,J({type:"dp.hide",date:e.clone()}),g.blur(),f=e.clone(),l)):l},ca=function(){aa(null)},da=function(a){return void 0===d.parseInputDate?(!b.isMoment(a)||a instanceof Date)&&(a=y(a)):a=d.parseInputDate(a),a},ea={next:function(){var a=q[k].navFnc;f.add(q[k].navStep,a),W(),K(a)},previous:function(){var a=q[k].navFnc;f.subtract(q[k].navStep,a),W(),K(a)},pickerSwitch:function(){L(1)},selectMonth:function(b){var c=a(b.target).closest("tbody").find("span").index(a(b.target));f.month(c),k===p?(aa(e.clone().year(f.year()).month(f.month())),d.inline||ba()):(L(-1),W()),K("M")},selectYear:function(b){var c=parseInt(a(b.target).text(),10)||0;f.year(c),k===p?(aa(e.clone().year(f.year())),d.inline||ba()):(L(-1),W()),K("YYYY")},selectDecade:function(b){var c=parseInt(a(b.target).data("selection"),10)||0;f.year(c),k===p?(aa(e.clone().year(f.year())),d.inline||ba()):(L(-1),W()),K("YYYY")},selectDay:function(b){var c=f.clone();a(b.target).is(".old")&&c.subtract(1,"M"),a(b.target).is(".new")&&c.add(1,"M"),aa(c.date(parseInt(a(b.target).text(),10))),A()||d.keepOpen||d.inline||ba()},incrementHours:function(){var a=e.clone().add(1,"h");R(a,"h")&&aa(a)},incrementMinutes:function(){var a=e.clone().add(d.stepping,"m");R(a,"m")&&aa(a)},incrementSeconds:function(){var a=e.clone().add(1,"s");R(a,"s")&&aa(a)},decrementHours:function(){var a=e.clone().subtract(1,"h");R(a,"h")&&aa(a)},decrementMinutes:function(){var a=e.clone().subtract(d.stepping,"m");R(a,"m")&&aa(a)},decrementSeconds:function(){var a=e.clone().subtract(1,"s");R(a,"s")&&aa(a)},togglePeriod:function(){aa(e.clone().add(e.hours()>=12?-12:12,"h"))},togglePicker:function(b){var c,e=a(b.target),f=e.closest("ul"),g=f.find(".in"),h=f.find(".collapse:not(.in)");if(g&&g.length){if(c=g.data("collapse"),c&&c.transitioning)return;g.collapse?(g.collapse("hide"),h.collapse("show")):(g.removeClass("in"),h.addClass("in")),e.is("span")?e.toggleClass(d.icons.time+" "+d.icons.date):e.find("span").toggleClass(d.icons.time+" "+d.icons.date)}},showPicker:function(){o.find(".timepicker > div:not(.timepicker-picker)").hide(),o.find(".timepicker .timepicker-picker").show()},showHours:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-hours").show()},showMinutes:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-seconds").show()},selectHour:function(b){var c=parseInt(a(b.target).text(),10);h||(e.hours()>=12?12!==c&&(c+=12):12===c&&(c=0)),aa(e.clone().hours(c)),ea.showPicker.call(l)},selectMinute:function(b){aa(e.clone().minutes(parseInt(a(b.target).text(),10))),ea.showPicker.call(l)},selectSecond:function(b){aa(e.clone().seconds(parseInt(a(b.target).text(),10))),ea.showPicker.call(l)},clear:ca,today:function(){var a=y();R(a,"d")&&aa(a)},close:ba},fa=function(b){return a(b.currentTarget).is(".disabled")?!1:(ea[a(b.currentTarget).data("action")].apply(l,arguments),!1)},ga=function(){var b,c={year:function(a){return a.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(a){return a.date(1).hours(0).seconds(0).minutes(0)},day:function(a){return a.hours(0).seconds(0).minutes(0)},hour:function(a){return a.seconds(0).minutes(0)},minute:function(a){return a.seconds(0)}};return g.prop("disabled")||!d.ignoreReadonly&&g.prop("readonly")||o?l:(void 0!==g.val()&&0!==g.val().trim().length?aa(da(g.val().trim())):m&&d.useCurrent&&(d.inline||g.is("input")&&0===g.val().trim().length)&&(b=y(),"string"==typeof d.useCurrent&&(b=c[d.useCurrent](b)),aa(b)),o=G(),M(),S(),o.find(".timepicker-hours").hide(),o.find(".timepicker-minutes").hide(),o.find(".timepicker-seconds").hide(),_(),L(),a(window).on("resize",I),o.on("click","[data-action]",fa),o.on("mousedown",!1),n&&n.hasClass("btn")&&n.toggleClass("active"),I(),o.show(),d.focusOnShow&&!g.is(":focus")&&g.focus(),J({type:"dp.show"}),l)},ha=function(){return o?ba():ga()},ia=function(a){var b,c,e,f,g=null,h=[],i={},j=a.which,k="p";w[j]=k;for(b in w)w.hasOwnProperty(b)&&w[b]===k&&(h.push(b),parseInt(b,10)!==j&&(i[b]=!0));for(b in d.keyBinds)if(d.keyBinds.hasOwnProperty(b)&&"function"==typeof d.keyBinds[b]&&(e=b.split(" "),e.length===h.length&&v[j]===e[e.length-1])){for(f=!0,c=e.length-2;c>=0;c--)if(!(v[e[c]]in i)){f=!1;break}if(f){g=d.keyBinds[b];break}}g&&(g.call(l,o),a.stopPropagation(),a.preventDefault())},ja=function(a){w[a.which]="r",a.stopPropagation(),a.preventDefault()},ka=function(b){var c=a(b.target).val().trim(),d=c?da(c):null;return aa(d),b.stopImmediatePropagation(),!1},la=function(){g.on({change:ka,blur:d.debug?"":ba,keydown:ia,keyup:ja,focus:d.allowInputToggle?ga:""}),c.is("input")?g.on({focus:ga}):n&&(n.on("click",ha),n.on("mousedown",!1))},ma=function(){g.off({change:ka,blur:blur,keydown:ia,keyup:ja,focus:d.allowInputToggle?ba:""}),c.is("input")?g.off({focus:ga}):n&&(n.off("click",ha),n.off("mousedown",!1))},na=function(b){var c={};return a.each(b,function(){var a=da(this);a.isValid()&&(c[a.format("YYYY-MM-DD")]=!0)}),Object.keys(c).length?c:!1},oa=function(b){var c={};return a.each(b,function(){c[this]=!0}),Object.keys(c).length?c:!1},pa=function(){var a=d.format||"L LT";i=a.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){var b=e.localeData().longDateFormat(a)||a;return b.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){return e.localeData().longDateFormat(a)||a})}),j=d.extraFormats?d.extraFormats.slice():[],j.indexOf(a)<0&&j.indexOf(i)<0&&j.push(i),h=i.toLowerCase().indexOf("a")<1&&i.replace(/\[.*?\]/g,"").indexOf("h")<1,z("y")&&(p=2),z("M")&&(p=1),z("d")&&(p=0),k=Math.max(p,k),m||aa(e)};if(l.destroy=function(){ba(),ma(),c.removeData("DateTimePicker"),c.removeData("date")},l.toggle=ha,l.show=ga,l.hide=ba,l.disable=function(){return ba(),n&&n.hasClass("btn")&&n.addClass("disabled"),g.prop("disabled",!0),l},l.enable=function(){return n&&n.hasClass("btn")&&n.removeClass("disabled"),g.prop("disabled",!1),l},l.ignoreReadonly=function(a){if(0===arguments.length)return d.ignoreReadonly;if("boolean"!=typeof a)throw new TypeError("ignoreReadonly () expects a boolean parameter");return d.ignoreReadonly=a,l},l.options=function(b){if(0===arguments.length)return a.extend(!0,{},d);if(!(b instanceof Object))throw new TypeError("options() options parameter should be an object");return a.extend(!0,d,b),a.each(d,function(a,b){if(void 0===l[a])throw new TypeError("option "+a+" is not recognized!");l[a](b)}),l},l.date=function(a){if(0===arguments.length)return m?null:e.clone();if(!(null===a||"string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return aa(null===a?null:da(a)),l},l.format=function(a){if(0===arguments.length)return d.format;if("string"!=typeof a&&("boolean"!=typeof a||a!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+a);return d.format=a,i&&pa(),l},l.timeZone=function(a){if(0===arguments.length)return d.timeZone;if("string"!=typeof a)throw new TypeError("newZone() expects a string parameter");return d.timeZone=a,l},l.dayViewHeaderFormat=function(a){if(0===arguments.length)return d.dayViewHeaderFormat;if("string"!=typeof a)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return d.dayViewHeaderFormat=a,l},l.extraFormats=function(a){if(0===arguments.length)return d.extraFormats;if(a!==!1&&!(a instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return d.extraFormats=a,j&&pa(),l},l.disabledDates=function(b){if(0===arguments.length)return d.disabledDates?a.extend({},d.disabledDates):d.disabledDates;if(!b)return d.disabledDates=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return d.disabledDates=na(b),d.enabledDates=!1,_(),l},l.enabledDates=function(b){if(0===arguments.length)return d.enabledDates?a.extend({},d.enabledDates):d.enabledDates;if(!b)return d.enabledDates=!1,_(),l;if(!(b instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return d.enabledDates=na(b),d.disabledDates=!1,_(),l},l.daysOfWeekDisabled=function(a){if(0===arguments.length)return d.daysOfWeekDisabled.splice(0);if("boolean"==typeof a&&!a)return d.daysOfWeekDisabled=!1,_(),l;if(!(a instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(d.daysOfWeekDisabled=a.reduce(function(a,b){return b=parseInt(b,10),b>6||0>b||isNaN(b)?a:(-1===a.indexOf(b)&&a.push(b),a)},[]).sort(),d.useCurrent&&!d.keepInvalid){for(var b=0;!R(e,"d");){if(e.add(1,"d"),31===b)throw"Tried 31 times to find a valid date";b++}aa(e)}return _(),l},l.maxDate=function(a){if(0===arguments.length)return d.maxDate?d.maxDate.clone():d.maxDate;if("boolean"==typeof a&&a===!1)return d.maxDate=!1,_(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=y());var b=da(a);if(!b.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+a);if(d.minDate&&b.isBefore(d.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+b.format(i));return d.maxDate=b,d.useCurrent&&!d.keepInvalid&&e.isAfter(a)&&aa(d.maxDate),f.isAfter(b)&&(f=b.clone().subtract(d.stepping,"m")),_(),l},l.minDate=function(a){if(0===arguments.length)return d.minDate?d.minDate.clone():d.minDate;if("boolean"==typeof a&&a===!1)return d.minDate=!1,_(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=y());var b=da(a);if(!b.isValid())throw new TypeError("minDate() Could not parse date parameter: "+a);if(d.maxDate&&b.isAfter(d.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+b.format(i));return d.minDate=b,d.useCurrent&&!d.keepInvalid&&e.isBefore(a)&&aa(d.minDate),f.isBefore(b)&&(f=b.clone().add(d.stepping,"m")),_(),l},l.defaultDate=function(a){if(0===arguments.length)return d.defaultDate?d.defaultDate.clone():d.defaultDate;if(!a)return d.defaultDate=!1,l;"string"==typeof a&&(a="now"===a||"moment"===a?y():y(a));var b=da(a);if(!b.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+a);if(!R(b))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return d.defaultDate=b,(d.defaultDate&&d.inline||""===g.val().trim())&&aa(d.defaultDate),l},l.locale=function(a){if(0===arguments.length)return d.locale;if(!b.localeData(a))throw new TypeError("locale() locale "+a+" is not loaded from moment locales!");return d.locale=a,e.locale(d.locale),f.locale(d.locale),i&&pa(),o&&(ba(),ga()),l},l.stepping=function(a){return 0===arguments.length?d.stepping:(a=parseInt(a,10),(isNaN(a)||1>a)&&(a=1),d.stepping=a,l)},l.useCurrent=function(a){var b=["year","month","day","hour","minute"];if(0===arguments.length)return d.useCurrent;if("boolean"!=typeof a&&"string"!=typeof a)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof a&&-1===b.indexOf(a.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+b.join(", "));return d.useCurrent=a,l},l.collapse=function(a){if(0===arguments.length)return d.collapse;if("boolean"!=typeof a)throw new TypeError("collapse() expects a boolean parameter");return d.collapse===a?l:(d.collapse=a,o&&(ba(),ga()),l)},l.icons=function(b){if(0===arguments.length)return a.extend({},d.icons);if(!(b instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return a.extend(d.icons,b),o&&(ba(),ga()),l},l.tooltips=function(b){if(0===arguments.length)return a.extend({},d.tooltips);if(!(b instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return a.extend(d.tooltips,b),o&&(ba(),ga()),l},l.useStrict=function(a){if(0===arguments.length)return d.useStrict;if("boolean"!=typeof a)throw new TypeError("useStrict() expects a boolean parameter");return d.useStrict=a,l},l.sideBySide=function(a){if(0===arguments.length)return d.sideBySide;if("boolean"!=typeof a)throw new TypeError("sideBySide() expects a boolean parameter");return d.sideBySide=a,o&&(ba(),ga()),l},l.viewMode=function(a){if(0===arguments.length)return d.viewMode;if("string"!=typeof a)throw new TypeError("viewMode() expects a string parameter");if(-1===r.indexOf(a))throw new TypeError("viewMode() parameter must be one of ("+r.join(", ")+") value");return d.viewMode=a,k=Math.max(r.indexOf(a),p),L(),l},l.toolbarPlacement=function(a){if(0===arguments.length)return d.toolbarPlacement;if("string"!=typeof a)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===u.indexOf(a))throw new TypeError("toolbarPlacement() parameter must be one of ("+u.join(", ")+") value");return d.toolbarPlacement=a,o&&(ba(),ga()),l},l.widgetPositioning=function(b){if(0===arguments.length)return a.extend({},d.widgetPositioning);if("[object Object]"!=={}.toString.call(b))throw new TypeError("widgetPositioning() expects an object variable");if(b.horizontal){if("string"!=typeof b.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(b.horizontal=b.horizontal.toLowerCase(),-1===t.indexOf(b.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+t.join(", ")+")");d.widgetPositioning.horizontal=b.horizontal}if(b.vertical){if("string"!=typeof b.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(b.vertical=b.vertical.toLowerCase(),-1===s.indexOf(b.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+s.join(", ")+")");d.widgetPositioning.vertical=b.vertical}return _(),l},l.calendarWeeks=function(a){if(0===arguments.length)return d.calendarWeeks;if("boolean"!=typeof a)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return d.calendarWeeks=a,_(),l},l.showTodayButton=function(a){if(0===arguments.length)return d.showTodayButton;if("boolean"!=typeof a)throw new TypeError("showTodayButton() expects a boolean parameter");return d.showTodayButton=a,o&&(ba(),ga()),l},l.showClear=function(a){if(0===arguments.length)return d.showClear;if("boolean"!=typeof a)throw new TypeError("showClear() expects a boolean parameter");return d.showClear=a,o&&(ba(),ga()),l},l.widgetParent=function(b){if(0===arguments.length)return d.widgetParent;if("string"==typeof b&&(b=a(b)),null!==b&&"string"!=typeof b&&!(b instanceof a))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return d.widgetParent=b,o&&(ba(),ga()),l},l.keepOpen=function(a){if(0===arguments.length)return d.keepOpen;if("boolean"!=typeof a)throw new TypeError("keepOpen() expects a boolean parameter");return d.keepOpen=a,l},l.focusOnShow=function(a){if(0===arguments.length)return d.focusOnShow;if("boolean"!=typeof a)throw new TypeError("focusOnShow() expects a boolean parameter");return d.focusOnShow=a,l},l.inline=function(a){if(0===arguments.length)return d.inline;if("boolean"!=typeof a)throw new TypeError("inline() expects a boolean parameter");return d.inline=a,l},l.clear=function(){return ca(),l},l.keyBinds=function(a){return 0===arguments.length?d.keyBinds:(d.keyBinds=a,l)},l.getMoment=function(a){return y(a)},l.debug=function(a){if("boolean"!=typeof a)throw new TypeError("debug() expects a boolean parameter");return d.debug=a,l},l.allowInputToggle=function(a){if(0===arguments.length)return d.allowInputToggle;if("boolean"!=typeof a)throw new TypeError("allowInputToggle() expects a boolean parameter");return d.allowInputToggle=a,l},l.showClose=function(a){if(0===arguments.length)return d.showClose;if("boolean"!=typeof a)throw new TypeError("showClose() expects a boolean parameter");return d.showClose=a,l},l.keepInvalid=function(a){if(0===arguments.length)return d.keepInvalid;if("boolean"!=typeof a)throw new TypeError("keepInvalid() expects a boolean parameter");
18
+ return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)return d.datepickerInput;if("string"!=typeof a)throw new TypeError("datepickerInput() expects a string parameter");return d.datepickerInput=a,l},l.parseInputDate=function(a){if(0===arguments.length)return d.parseInputDate;if("function"!=typeof a)throw new TypeError("parseInputDate() sholud be as function");return d.parseInputDate=a,l},l.disabledTimeIntervals=function(b){if(0===arguments.length)return d.disabledTimeIntervals?a.extend({},d.disabledTimeIntervals):d.disabledTimeIntervals;if(!b)return d.disabledTimeIntervals=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return d.disabledTimeIntervals=b,_(),l},l.disabledHours=function(b){if(0===arguments.length)return d.disabledHours?a.extend({},d.disabledHours):d.disabledHours;if(!b)return d.disabledHours=!1,_(),l;if(!(b instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(d.disabledHours=oa(b),d.enabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!R(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}aa(e)}return _(),l},l.enabledHours=function(b){if(0===arguments.length)return d.enabledHours?a.extend({},d.enabledHours):d.enabledHours;if(!b)return d.enabledHours=!1,_(),l;if(!(b instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(d.enabledHours=oa(b),d.disabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!R(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}aa(e)}return _(),l},l.viewDate=function(a){if(0===arguments.length)return f.clone();if(!a)return f=e.clone(),l;if(!("string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return f=da(a),K(),l},c.is("input"))g=c;else if(g=c.find(d.datepickerInput),0===g.length)g=c.find("input");else if(!g.is("input"))throw new Error('CSS class "'+d.datepickerInput+'" cannot be applied to non input element');if(c.hasClass("input-group")&&(n=0===c.find(".datepickerbutton").length?c.find(".input-group-addon"):c.find(".datepickerbutton")),!d.inline&&!g.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return e=y(),f=e.clone(),a.extend(!0,d,H()),l.options(d),pa(),la(),g.prop("disabled")&&l.disable(),g.is("input")&&0!==g.val().trim().length?aa(da(g.val().trim())):d.defaultDate&&void 0===g.attr("placeholder")&&aa(d.defaultDate),d.inline&&ga(),l};return a.fn.factoryBootstrap449_DatetimePickerControl=function(b){b=b||{};var d,e=Array.prototype.slice.call(arguments,1),f=!0,g=["destroy","hide","show","toggle"];if("object"==typeof b)return this.each(function(){var d,e=a(this);e.data("DateTimePicker")||(d=a.extend(!0,{},a.fn.factoryBootstrap449_DatetimePickerControl.defaults,b),e.data("DateTimePicker",c(e,d)))});if("string"==typeof b)return this.each(function(){var c=a(this),g=c.data("DateTimePicker");if(!g)throw new Error('bootstrap-datetimepicker("'+b+'") method was called on an element that is not using DateTimePicker');d=g[b].apply(g,e),f=d===g}),f||a.inArray(b,g)>-1?this:d;throw new TypeError("Invalid arguments for DateTimePicker: "+b)},a.fn.factoryBootstrap449_DatetimePickerControl.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:b.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"fa fa-clock-o",date:"fa fa-calendar",up:"fa fa-arrow-up",down:"fa fa-arrow-down",previous:"fa fa-arrow-left",next:"fa fa-arrow-right",today:"fa fa-thumb-tack",clear:"fa fa-trash",close:"fa fa-times"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().subtract(7,"d")):this.date(b.clone().add(this.stepping(),"m"))}},down:function(a){if(!a)return void this.show();var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().add(7,"d")):this.date(b.clone().subtract(this.stepping(),"m"))},"control up":function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().subtract(1,"y")):this.date(b.clone().add(1,"h"))}},"control down":function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().add(1,"y")):this.date(b.clone().subtract(1,"h"))}},left:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().subtract(1,"d"))}},right:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().add(1,"d"))}},pageUp:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().subtract(1,"M"))}},pageDown:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(a){a&&a.find(".timepicker").is(":visible")&&a.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},"delete":function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},a.fn.factoryBootstrap449_DatetimePickerControl}),function(a){a(function(){a(".factory-bootstrap-449 .factory-datetimepicker").factoryBootstrap449_DatetimePickerControl(),a(".factory-bootstrap-449 .factory-datetimepicker-range-0").factoryBootstrap449_DatetimePickerControl(),a(".factory-bootstrap-449 .factory-datetimepicker-range-1").factoryBootstrap449_DatetimePickerControl({useCurrent:!1}),a(".factory-bootstrap-449 .factory-datetimepicker-range-0").on("dp.change",function(b){a(".factory-bootstrap-449 .factory-datetimepicker-range-1").data("DateTimePicker").minDate(b.date)}),a(".factory-bootstrap-449 .factory-datetimepicker-range-1").on("dp.change",function(b){a(".factory-bootstrap-449 .factory-datetimepicker-range-0").data("DateTimePicker").maxDate(b.date)})})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.dropdown.min.js CHANGED
@@ -7,4 +7,4 @@
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
- +function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=factory-dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}},a.fn.factoryBootstrap445_dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.factoryBootstrap445_dropdown.Constructor=f,a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery);
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
+ +function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=factory-dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}},a.fn.factoryBootstrap449_dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.factoryBootstrap449_dropdown.Constructor=f,a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.modal.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="factory-bootstrap-449-modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.factoryBootstrap449_modal;a.fn.factoryBootstrap449_modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.factoryBootstrap449_modal.Constructor=b,a.fn.factoryBootstrap449_modal.noConflict=function(){return a.fn.factoryBootstrap449_modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="factory-modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("factory-modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.factoryBootstrap449_modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.popover.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.scrollspy.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(a(c).is("body")?window:c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.tab.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery);
libs/factory/bootstrap/assets/js-min/bootstrap.transition.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ +function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()}),a(function(){a(function(){a.support.transition=b()})})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.checkbox.min.js CHANGED
@@ -7,4 +7,4 @@
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
- !function(a){var b=function(b){var c=this;this.$element=a(b),this.$result=this.$element.find(".factory-result"),this.$on=this.$element.find(".factory-on"),this.$off=this.$element.find(".factory-off");var d=this.$element.is(".factory-tumbler"),e=this.$element.is(".factory-has-tumbler-hint"),f=this.$element.data("tumbler-function"),g=this.$element.data("tumbler-delay");g||(g=3e3),this.callByPath=function(a,b){for(var c=a.split("."),d=window,e=0;e<c.length;e++)d=d[c[e]];d.apply(d,b)},this.$on.click(function(){return c.$off.removeClass("active"),c.$on.addClass("active"),d?setTimeout(function(){c.$on.removeClass("active"),c.$off.addClass("active");var a=e?c.$element.next():null;f?c.callByPath(f,[c.$element,a]):e&&(c.$element.next().fadeIn(300),setTimeout(function(){c.$element.next().fadeOut(500)},g))},300):(c.$result.prop("checked",!0),c.$result.val(1),c.$result.trigger("change")),!1}),this.$off.click(function(){return c.$on.removeClass("active"),c.$off.addClass("active"),d?setTimeout(function(){c.$off.removeClass("active"),c.$on.addClass("active");var a=e?c.$element.next():null;f?c.callByPath(f,[c.$element,a]):e&&(c.$element.next().fadeIn(300),setTimeout(function(){c.$element.next().fadeOut(500)},g))},300):(c.$result.prop("checked",!1),c.$result.val(0),c.$result.trigger("change")),!1}),this.hashCode=function(a){var b=0;if(!a||0===a.length)return b;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d,b&=b}return b=b.toString(16),b=b.replace("-","")},this.executeEvents=function(a){(void 0!==window.__factory_checkbox_control_events_off_data||void 0!==window.__factory_checkbox_control_events_on_data)&&(a.change(function(){c.eventsProcess(a)}),c.eventsProcess(a))},this.eventsProcess=function(b){var d=b.attr("name"),e=b.prop("checked"),f=window.__factory_checkbox_control_events_on_data[d],g=window.__factory_checkbox_control_events_off_data[d];if(f||g){var h,i;void 0===window.__factory_checkbox_control_detach_elements&&(window.__factory_checkbox_control_detach_elements={}),h=window.__factory_checkbox_control_detach_elements,i=e?f:g;for(var j in i)if(i.hasOwnProperty(j)){var k,l=i[j];a.isArray(l)||(k=c.hashCode(d+l));var m;switch(j){case"hide":"string"==typeof l&&a(l).hide(0);break;case"show":"string"==typeof l&&a(l).fadeIn(200);break;case"detach":"string"==typeof l&&a(l).each(function(b){h[k]||(h[k]={}),h[k][b]||(h[k][b]={}),h[k][b].recovery_contanier=a(this).parent(),h[k][b].element=a(this).clone(!0),a(this).remove()});break;case"recovery":if(h[k]){for(var n in h[k])h[k].hasOwnProperty(n)&&h[k][n].recovery_contanier&&h[k][n].element&&h[k][n].recovery_contanier.append(h[k][n].element);delete h[k]}break;case"removeClasses":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&l[m]&&a(m).removeClass(l[m]);break;case"addClasses":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&l[m]&&a(m).addClass(l[m]);break;case"setValue":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&void 0!==l[m]&&null!==l[m]&&a(m).val(l[m])}}}},this.executeEvents(this.$result)};a.fn.factoryBootstrap445_checkboxControl=function(c){if("string"==typeof c){var d=a(this).data("factory.checkbox.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.checkbox.control");d||c.data("factory.checkbox.control",d=new b(this))})},a.fn.factoryBootstrap445_checkboxControl.Constructor=b,a(function(){a(".factory-bootstrap-445 .factory-checkbox.factory-buttons-way").factoryBootstrap445_checkboxControl(),a(".factory-bootstrap-445 .factory-checkbox").not(".factory-buttons-way").click(function(){a(this).prop("checked")?a(this).val(1):a(this).val(0)})})}(jQuery);
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
+ !function(a){var b=function(b){var c=this;this.$element=a(b),this.$result=this.$element.find(".factory-result"),this.$on=this.$element.find(".factory-on"),this.$off=this.$element.find(".factory-off");var d=this.$element.is(".factory-tumbler"),e=this.$element.is(".factory-has-tumbler-hint"),f=this.$element.data("tumbler-function"),g=this.$element.data("tumbler-delay");g||(g=3e3),this.callByPath=function(a,b){for(var c=a.split("."),d=window,e=0;e<c.length;e++)d=d[c[e]];d.apply(d,b)},this.$on.click(function(){return c.$off.removeClass("active"),c.$on.addClass("active"),d?setTimeout(function(){c.$on.removeClass("active"),c.$off.addClass("active");var a=e?c.$element.next():null;f?c.callByPath(f,[c.$element,a]):e&&(c.$element.next().fadeIn(300),setTimeout(function(){c.$element.next().fadeOut(500)},g))},300):(c.$result.prop("checked",!0),c.$result.val(1),c.$result.trigger("change")),!1}),this.$off.click(function(){return c.$on.removeClass("active"),c.$off.addClass("active"),d?setTimeout(function(){c.$off.removeClass("active"),c.$on.addClass("active");var a=e?c.$element.next():null;f?c.callByPath(f,[c.$element,a]):e&&(c.$element.next().fadeIn(300),setTimeout(function(){c.$element.next().fadeOut(500)},g))},300):(c.$result.prop("checked",!1),c.$result.val(0),c.$result.trigger("change")),!1}),this.hashCode=function(a){var b=0;if(!a||0===a.length)return b;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d,b&=b}return b=b.toString(16),b=b.replace("-","")},this.executeEvents=function(a){(void 0!==window.__factory_checkbox_control_events_off_data||void 0!==window.__factory_checkbox_control_events_on_data)&&(a.change(function(){c.eventsProcess(a)}),c.eventsProcess(a))},this.eventsProcess=function(b){var d=b.attr("name"),e=b.prop("checked"),f=window.__factory_checkbox_control_events_on_data[d],g=window.__factory_checkbox_control_events_off_data[d];if(f||g){var h,i;void 0===window.__factory_checkbox_control_detach_elements&&(window.__factory_checkbox_control_detach_elements={}),h=window.__factory_checkbox_control_detach_elements,i=e?f:g;for(var j in i)if(i.hasOwnProperty(j)){var k,l=i[j];a.isArray(l)||(k=c.hashCode(d+l));var m;switch(j){case"hide":"string"==typeof l&&a(l).hide(0);break;case"show":"string"==typeof l&&a(l).fadeIn(200);break;case"detach":"string"==typeof l&&a(l).each(function(b){h[k]||(h[k]={}),h[k][b]||(h[k][b]={}),h[k][b].recovery_contanier=a(this).parent(),h[k][b].element=a(this).clone(!0),a(this).remove()});break;case"recovery":if(h[k]){for(var n in h[k])h[k].hasOwnProperty(n)&&h[k][n].recovery_contanier&&h[k][n].element&&h[k][n].recovery_contanier.append(h[k][n].element);delete h[k]}break;case"removeClasses":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&l[m]&&a(m).removeClass(l[m]);break;case"addClasses":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&l[m]&&a(m).addClass(l[m]);break;case"setValue":if("object"==typeof l)for(m in l)l.hasOwnProperty(m)&&void 0!==l[m]&&null!==l[m]&&a(m).val(l[m])}}}},this.executeEvents(this.$result)};a.fn.factoryBootstrap449_checkboxControl=function(c){if("string"==typeof c){var d=a(this).data("factory.checkbox.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.checkbox.control");d||c.data("factory.checkbox.control",d=new b(this))})},a.fn.factoryBootstrap449_checkboxControl.Constructor=b,a(function(){a(".factory-bootstrap-449 .factory-checkbox.factory-buttons-way").factoryBootstrap449_checkboxControl(),a(".factory-bootstrap-449 .factory-checkbox").not(".factory-buttons-way").click(function(){a(this).prop("checked")?a(this).val(1):a(this).val(0)})})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.color-and-opacity.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a,b){a(function(){a(function(){a(".factory-bootstrap-449 .factory-color-and-opacity").each(function(){var b=a(this),c=b.find(".factory-color"),d=b.find(".factory-integer");d.change(function(){var a=d.find(".factory-result").val()/100;c.find(".factory-background").css("opacity",a)}),d.change(),d.on("click.color.factory",function(a){a.stopPropagation()})})})})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.color.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){a.widget("factoryBootstrap449.colorControl",{_create:function(){this.$element=this.element,this.$picker=this.$element.find(".factory-color-hex"),this.$preview=this.$element.find(".factory-preview"),this.$background=this.$element.find(".factory-background"),this._init()},_init:function(b){var c=this,d={width:216,palettes:["#16a086","#27ae61","#2a80b9","#8f44ad","#2d3e50","#f49c14","#c1392b","#bec3c7"],hide:!0,change:function(a,b){c.$background.css({background:b.color.toString()}),c.$element.trigger("change.color.factory",[b.color.toString()]),c.$element.trigger("updated.color.factory",[b.color.toString()])}},e=this.$element.data("picker-target");e&&(d.target=a(e)),this.$picker.factoryBootstrap449_iris(d),this.$picker.off("focus"),a(document).on("click.color.factory",function(){c.$picker.factoryBootstrap449_iris("hide")}),this.$picker.add(this.$background).on("click.color.factory",function(a){a.stopPropagation(),c.$picker.factoryBootstrap449_iris("show")})},togglePicker:function(){this.$element.hasClass("factory-picker-active")?this.hidePicker():this.showPicker()},hidePicker:function(){this.$element.removeClass("factory-picker-active"),this.$picker.factoryBootstrap449_iris("hide")},showPicker:function(){this.$element.addClass("factory-picker-active"),this.$picker.factoryBootstrap449_iris("show")},getValue:function(){return this.$picker.val()},setValue:function(a,b){this.$picker.val(a),b&&self.$picker.trigger("change")}}),a(function(){a.widget.bridge("factoryBootstrap449_colorControl",a.factoryBootstrap449.colorControl),a(".factory-bootstrap-449 .factory-color").factoryBootstrap449_colorControl({})})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.dropdown-and-colors.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){var b=function(b){var c=a(b),d=c.find(".factory-colors-inner-wrap");c.find("select").change(function(){var b=c.find("select option:selected"),e=b.data("colors"),f=d.data("radio-name");if(f&&e){d.html("");for(var g=0;g<e.length;g++){var h=e[g],i=a('<span class="factory-form-radio-item"><label class="factory-from-radio-label"><input type="radio" name="'+f+'" class="factory-radio-color" value="'+h[0]+'" checked="checked"><span style="background-color:'+h[1]+'"></span></label></span>');d.append(i)}}})};a.fn.factoryBootstrap449_dropdownAndColors=function(c){if("string"==typeof c){var d=a(this).data("factory.dropdownAndColors.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.dropdownAndColors.control");d||c.data("factory.dropdownAndColors.control",d=new b(this))})},a.fn.factoryBootstrap449_dropdownAndColors.Constructor=b,a(function(){a(".factory-bootstrap-449 .factory-dropdown-and-colors").factoryBootstrap449_dropdownAndColors()})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.dropdown.min.js CHANGED
@@ -7,4 +7,4 @@
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
- !function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name")||this.$element.attr("name"),this.hashCode=function(a){var b=0;if(!a||0===a.length)return b;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d,b&=b}return b=b.toString(16),b=b.replace("-","")},this.executeEvents=function(a){void 0!==window.factory_dropdown_control_events_data&&(a.change(function(){c.eventsProcess(a)}),c.eventsProcess(a))},this.eventsProcess=function(b){var d=b.attr("name"),e=b.val(),f=window.factory_dropdown_control_events_data[d];if(f&&f[e]){var g;void 0===window.__factory_dropdown_control_detach_elements&&(window.__factory_dropdown_control_detach_elements={}),g=window.__factory_dropdown_control_detach_elements;for(var h in f[e])if(f[e].hasOwnProperty(h)){var i,j=f[e][h];switch(a.isArray(j)||(i=c.hashCode(d+j)),h){case"hide":"string"==typeof j&&a(j).hide(0);break;case"show":"string"==typeof j&&a(j).fadeIn(200);break;case"detach":"string"==typeof j&&a(j).each(function(b){g[i]||(g[i]={}),g[i][b]||(g[i][b]={}),g[i][b].recovery_contanier=a(this).parent(),g[i][b].element=a(this).clone(!0),a(this).remove()});break;case"recovery":if(g[i]){for(var k in g[i])g[i].hasOwnProperty(k)&&g[i][k].recovery_contanier&&g[i][k].element&&g[i][k].recovery_contanier.append(g[i][k].element);delete g[i]}break;case"removeClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).removeClass(j[l]);break;case"addClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).addClass(j[l])}}}},"buttons"===this.way)this.$result=this.$element.find(".factory-result"),this.$hints=this.$element.find(".factory-hints"),this.$buttons=this.$element.find(".btn"),c.executeEvents(this.$result),this.$buttons.click(function(){var b=a(this).data("value");return c.$buttons.removeClass("active"),a(this).addClass("active"),c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+b).fadeIn(),c.$result.val(b),c.$result.trigger("change"),!1});else if("ddslick"===this.way){c.executeEvents(c.$element.find(".factory-result"));var d=window["factory_"+this.name+"_data"],e=this.$element.find(".factory-ddslick"),f=this.$element.data("width")||300,g=this.$element.data("align")||"right";a(d).each(function(){return this.imageHoverSrc?void(a("<img/>")[0].src=this.imageHoverSrc):!0}),e.ddslick({data:d,width:f,imagePosition:g,selectText:"- select -",onSelected:function(a){a.selectedData.imageHoverSrc&&c.$element.find(".dd-selected-image").attr("src",a.selectedData.imageHoverSrc);var b=c.$element.find(".factory-result").val(a.selectedData.value);b.change()}})}else{c.executeEvents(this.$element),this.$hints=this.$element.next(),this.$hints.hasClass("factory-hints")&&(this.$element.change(function(){return c.updateHints(),!1}),this.updateHints=function(){var a=c.$element.val();c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+a).show()},c.updateHints()),this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(a){console&&console.log&&console.log(a.responseText),c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length)for(var d in a){var e=a[d];c.addListItem(e)}else this.$element.append("<option>"+b.emptyList+"</li>");this.$element.trigger("factory-loaded")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<option />").attr("value",b.value).text(b.title).appendTo(this.$element),e=c.getAjaxData();e.selected&&e.selected==b.value&&d.attr("selected","selected")},this.showError=function(b){this.clearList();var d=a("<div class='factory-control-error'></div>").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),e=c.getAjaxData();this.$element.append("<option>"+e.emptyList+"</li>"),this.$element.after(d),this.$element.addClass("factory-has-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var h=this.$element.data("ajax");h&&this.loadData()}};a.fn.factoryBootstrap445_dropdownControl=function(c){if("string"==typeof c){var d=a(this).data("factory.dropdown.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.dropdown.control");d||c.data("factory.dropdown.control",d=new b(this))})},a.fn.factoryBootstrap445_dropdownControl.Constructor=b,a(function(){a(".factory-bootstrap-445 .factory-dropdown").factoryBootstrap445_dropdownControl()})}(jQuery);
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
+ !function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name")||this.$element.attr("name"),this.hashCode=function(a){var b=0;if(!a||0===a.length)return b;for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d,b&=b}return b=b.toString(16),b=b.replace("-","")},this.executeEvents=function(a){void 0!==window.factory_dropdown_control_events_data&&(a.change(function(){c.eventsProcess(a)}),c.eventsProcess(a))},this.eventsProcess=function(b){var d=b.attr("name"),e=b.val(),f=window.factory_dropdown_control_events_data[d];if(f&&f[e]){var g;void 0===window.__factory_dropdown_control_detach_elements&&(window.__factory_dropdown_control_detach_elements={}),g=window.__factory_dropdown_control_detach_elements;for(var h in f[e])if(f[e].hasOwnProperty(h)){var i,j=f[e][h];switch(a.isArray(j)||(i=c.hashCode(d+j)),h){case"hide":"string"==typeof j&&a(j).hide(0);break;case"show":"string"==typeof j&&a(j).fadeIn(200);break;case"detach":"string"==typeof j&&a(j).each(function(b){g[i]||(g[i]={}),g[i][b]||(g[i][b]={}),g[i][b].recovery_contanier=a(this).parent(),g[i][b].element=a(this).clone(!0),a(this).remove()});break;case"recovery":if(g[i]){for(var k in g[i])g[i].hasOwnProperty(k)&&g[i][k].recovery_contanier&&g[i][k].element&&g[i][k].recovery_contanier.append(g[i][k].element);delete g[i]}break;case"removeClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).removeClass(j[l]);break;case"addClasses":if("object"==typeof j)for(var l in j)j.hasOwnProperty(l)&&j[l]&&a(l).addClass(j[l])}}}},"buttons"===this.way)this.$result=this.$element.find(".factory-result"),this.$hints=this.$element.find(".factory-hints"),this.$buttons=this.$element.find(".btn"),c.executeEvents(this.$result),this.$buttons.click(function(){var b=a(this).data("value");return c.$buttons.removeClass("active"),a(this).addClass("active"),c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+b).fadeIn(),c.$result.val(b),c.$result.trigger("change"),!1});else if("ddslick"===this.way){c.executeEvents(c.$element.find(".factory-result"));var d=window["factory_"+this.name+"_data"],e=this.$element.find(".factory-ddslick"),f=this.$element.data("width")||300,g=this.$element.data("align")||"right";a(d).each(function(){return this.imageHoverSrc?void(a("<img/>")[0].src=this.imageHoverSrc):!0}),e.ddslick({data:d,width:f,imagePosition:g,selectText:"- select -",onSelected:function(a){a.selectedData.imageHoverSrc&&c.$element.find(".dd-selected-image").attr("src",a.selectedData.imageHoverSrc);var b=c.$element.find(".factory-result").val(a.selectedData.value);b.change()}})}else{c.executeEvents(this.$element),this.$hints=this.$element.next(),this.$hints.hasClass("factory-hints")&&(this.$element.change(function(){return c.updateHints(),!1}),this.updateHints=function(){var a=c.$element.val();c.$hints.find(".factory-hint").hide(),c.$hints.find(".factory-hint-"+a).show()},c.updateHints()),this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(a){console&&console.log&&console.log(a.responseText),c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length)for(var d in a){var e=a[d];c.addListItem(e)}else this.$element.append("<option>"+b.emptyList+"</li>");this.$element.trigger("factory-loaded")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<option />").attr("value",b.value).text(b.title).appendTo(this.$element),e=c.getAjaxData();e.selected&&e.selected==b.value&&d.attr("selected","selected")},this.showError=function(b){this.clearList();var d=a("<div class='factory-control-error'></div>").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),e=c.getAjaxData();this.$element.append("<option>"+e.emptyList+"</li>"),this.$element.after(d),this.$element.addClass("factory-has-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var h=this.$element.data("ajax");h&&this.loadData()}};a.fn.factoryBootstrap449_dropdownControl=function(c){if("string"==typeof c){var d=a(this).data("factory.dropdown.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.dropdown.control");d||c.data("factory.dropdown.control",d=new b(this))})},a.fn.factoryBootstrap449_dropdownControl.Constructor=b,a(function(){a(".factory-bootstrap-449 .factory-dropdown").factoryBootstrap449_dropdownControl()})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.fonts.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){a.widget("factoryBootstrap449.fontControl",{_create:function(){this.$element=this.element,this.$family=this.$element.find(".factory-family-wrap select"),this.$googleFontData=this.$element.find(".factory-google-font-data"),this.fontSelectorName=this.$family.attr("name"),this.googleFontsOptions={frameName:this.element.data("google-fonts-frame-name")},this.googleFontsOptions.frameName||(this.googleFontsOptions.frameName="preview"),this._initUI(),this._bindEvents()},_initUI:function(){this.$family.chosen()},_bindEvents:function(){var a=this;this.$family.change(function(b){var c=a._getCurrentOption(),d=c.data("google-font");if(d){var e=c.data("family"),f=c.data("variants").split(","),g=c.data("subsets").split(",");a._loadGoogleFont(e,f,g)}else a.$googleFontData.val("")})},_getCurrentOption:function(){var a=this.$family.val();return this._getOptionByValue(a)},_getOptionByValue:function(a){var b=this.$family.find("option[value='"+a+"']");return b},_loadGoogleFont:function(b,c,d){var c=this._filterGoogleFontVariantsBeforeLoading(b,c,d),d=this._filterGoogleFontSubsetsBeforeLoading(b,c,d);this.$googleFontData.val(this._encode64(JSON.stringify({name:b,styles:c,subsets:d})));var e=this._getTargetToLoadGoogleFont(),f=this.fontSelectorName+"-font-loader",g=e.find("#"+f);e.find("#"+f).length>0&&g.remove();var h="http://fonts.googleapis.com/css";c&&c.length&&(b=b+":"+c.join(",")),h=h+"?family="+b,d&&d.length&&(h=h+"&subset="+d.join(",")),a('<link id="'+f+'" rel="stylesheet" type="text/css" href="'+h+'" >').appendTo(e)},_filterGoogleFontVariantsBeforeLoading:function(b,c,d){var e=this;return a(document).trigger("factory-filter-google-font-variants",[c,e.$element,b,d]),c},_filterGoogleFontSubsetsBeforeLoading:function(b,c,d){var e=this;return a(document).trigger("factory-filter-google-font-subsets",[d,e.$element,c,d]),d},_getTargetToLoadGoogleFont:function(){var b=this.googleFontsOptions.frameName,c=a("head");if(b){var d=a('iframe[name="'+b+'"]');if(0===d.length)return console.error("The preview container not found.");c=d.contents().find("head")}return c},_base64KeyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_encode64:function(a){a=escape(a);var b,c,d,e,f,g="",h="",i="",j=0;do b=a.charCodeAt(j++),c=a.charCodeAt(j++),h=a.charCodeAt(j++),d=b>>2,e=(3&b)<<4|c>>4,f=(15&c)<<2|h>>6,i=63&h,isNaN(c)?f=i=64:isNaN(h)&&(i=64),g=g+this._base64KeyStr.charAt(d)+this._base64KeyStr.charAt(e)+this._base64KeyStr.charAt(f)+this._base64KeyStr.charAt(i),b=c=h="",d=e=f=i="";while(j<a.length);return g}}),a(function(){a.widget.bridge("factoryBootstrap449_fontControl",a.factoryBootstrap449.fontControl),a(".factory-bootstrap-449 .factory-font").factoryBootstrap449_fontControl({})})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.gradient.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){var b=function(b){this.$element=a(b),this.$picker=this.$element.find(".factory-gradient-picker"),this.$result=this.$element.find(".factory-result"),this.init()};b.prototype.init=function(){var a=this,b=this.$element.data("directions"),c=this.$element.data("points"),d=c?c.split(","):[];this.$picker.gradientPicker({change:function(b,c){a.$result.val(c).trigger("keyup")},fillDirection:b,controlPoints:d})},a.fn.factoryBootstrap449_gradientControl=function(c){return this.each(function(){var d=a(this),e=d.data("factory.gradient-control");e||d.data("factory.gradient-control",e=new b(this)),"string"==typeof c&&e[c].call(e)})},a.fn.factoryBootstrap449_gradientControl.Constructor=b,a(function(){a(".factory-bootstrap-449 .factory-gradient").factoryBootstrap449_gradientControl()})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.integer.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){var b=function(b){this.$element=a(b),this.$element.hasClass("factory-has-slider")&&this.createSlider()};b.prototype.createSlider=function(){var a=this,b=this.$element.find(".factory-slider-container");this.$bar=b.find(".factory-bar"),this.$result=b.find(".factory-result"),this.$visibleValue=b.find(".factory-visible-value"),this.units=b.data("units"),this.rangeStart=b.data("range-start"),this.rangeEnd=b.data("range-end"),this.step=b.data("step"),this.step||(this.step=1);var c=this.$result.val();this.$bar.noUiSlider({start:parseInt(c),range:{min:a.rangeStart,max:a.rangeEnd},connect:"lower",step:a.step}),this.$bar.on("slide set",function(){a.setValue(parseInt(a.$bar.val()))})},b.prototype.setValue=function(a,b){this.$result.val(a),this.$visibleValue.length>0&&(this.units?this.$visibleValue.text(a+this.units):this.$visibleValue.text(a)),b&&this.$bar.noUiSlider({start:a},!0),this.$result.trigger("keyup"),this.$element.trigger("change")},b.prototype.getValue=function(){return this.$result.val()},b.prototype.api=function(){return this},a.fn.factoryBootstrap449_integerControl=function(c){if("string"==typeof c){var d=a(this).data("factory.integer-control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.integer-control");d||c.data("factory.integer-control",d=new b(this))})},a.fn.factoryBootstrap449_integerControl.Constructor=b,a(function(){a(".factory-bootstrap-449 .factory-integer").factoryBootstrap449_integerControl()})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.list.min.js CHANGED
@@ -7,4 +7,4 @@
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
- !function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name"),"checklist"===this.way){this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(){c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length){this.$element.removeClass("factory-empty");for(var d in a){var e=a[d];c.addListItem(e)}}else this.$element.addClass("factory-empty"),this.$element.append("<li>"+b.emptyList+"</li>")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<li>"),e=a("<label>").attr("for","factory-checklist-"+c.name+"-"+b.value).appendTo(d),f=a("<span>").appendTo(e),g=a("<input />").attr("type","checkbox").attr("name",c.name+"[]").val(b.value).attr("id","factory-checklist-"+c.name+"-"+b.value).appendTo(f),h=(a("<span>"+b.title+"</span>").appendTo(e),c.getAjaxData());h.selected.length&&a.inArray(b.value,h.selected)>=0&&g.attr("checked","checked"),this.$element.append(d)},this.showError=function(b){this.$element.html("").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),this.$element.addClass("factory-list-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var d=this.$element.data("ajax");d&&this.loadData()}};a.fn.factoryBootstrap445_listControl=function(c){if("string"==typeof c){var d=a(this).data("factory.list.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.list.control");d||c.data("factory.list.control",d=new b(this))})},a.fn.factoryBootstrap445_listControl.Constructor=b,a(function(){a(".factory-bootstrap-445 .factory-list").factoryBootstrap445_listControl()})}(jQuery);
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
+ !function(a){var b=function(b){var c=this;if(this.$element=a(b),this.way=this.$element.data("way"),this.name=this.$element.data("name"),"checklist"===this.way){this.getAjaxData=function(){var a=c.$element.data("ajax-data-id");return window[a]},this.loadData=function(){var b=c.getAjaxData();a.ajax({url:b.url,data:b.data,dataType:"json",success:function(a){return a.error?c.showError(a.error):void c.fill(a.items)},error:function(){c.showError("Unexpected error occurred during the ajax request.")},complete:function(){c.removeLoader()}})},this.fill=function(a){this.clearList();var b=c.getAjaxData();if(a&&a.length){this.$element.removeClass("factory-empty");for(var d in a){var e=a[d];c.addListItem(e)}}else this.$element.addClass("factory-empty"),this.$element.append("<li>"+b.emptyList+"</li>")},this.clearList=function(){this.$element.html("")},this.addListItem=function(b){var d=a("<li>"),e=a("<label>").attr("for","factory-checklist-"+c.name+"-"+b.value).appendTo(d),f=a("<span>").appendTo(e),g=a("<input />").attr("type","checkbox").attr("name",c.name+"[]").val(b.value).attr("id","factory-checklist-"+c.name+"-"+b.value).appendTo(f),h=(a("<span>"+b.title+"</span>").appendTo(e),c.getAjaxData());h.selected.length&&a.inArray(b.value,h.selected)>=0&&g.attr("checked","checked"),this.$element.append(d)},this.showError=function(b){this.$element.html("").append(a("<i class='fa fa-exclamation-triangle'></i>")).append(b),this.$element.addClass("factory-list-error")},this.removeLoader=function(){this.$element.removeClass("factory-hidden");var b=c.getAjaxData();a(b.loader).remove()};var d=this.$element.data("ajax");d&&this.loadData()}};a.fn.factoryBootstrap449_listControl=function(c){if("string"==typeof c){var d=a(this).data("factory.list.control");return d?d[c]():null}return this.each(function(){var c=a(this),d=c.data("factory.list.control");d||c.data("factory.list.control",d=new b(this))})},a.fn.factoryBootstrap449_listControl.Constructor=b,a(function(){a(".factory-bootstrap-449 .factory-list").factoryBootstrap449_listControl()})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.multiple-textbox.min.js CHANGED
@@ -7,4 +7,4 @@
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
- !function(a){"use strict";var b=function(b){this.$element=a(b);var c=a(".factory-mtextbox-item",this.$element).eq(0).clone(!0);a(".factory-mtextbox-add-item",this.$element).on("click",function(){var b=a(this).closest(".factory-multiple-textbox-group").find(".factory-mtextbox-items"),d=c.clone(!0),e=a('<button class="btn btn-default btn-small factory-mtextbox-remove-item"><i class="fa fa-times" aria-hidden="true"></i></button>');return b.append(d.append(e)),d.find('input[type="text"]').val("").focus(),!1}),a(document).on("click",".factory-mtextbox-remove-item",function(){return a(this).closest(".factory-mtextbox-item").remove(),!1})};a.fn.factoryBootstrap445_MultipleTextboxControl=function(){return this.each(function(){new b(this)})},a(function(){a(".factory-bootstrap-445 .factory-multiple-textbox-group").factoryBootstrap445_MultipleTextboxControl()})}(jQuery);
7
  * Support: http://webcraftic.com/contact-us/
8
  */
9
 
10
+ !function(a){"use strict";var b=function(b){this.$element=a(b);var c=a(".factory-mtextbox-item",this.$element).eq(0).clone(!0);a(".factory-mtextbox-add-item",this.$element).on("click",function(){var b=a(this).closest(".factory-multiple-textbox-group").find(".factory-mtextbox-items"),d=c.clone(!0),e=a('<button class="btn btn-default btn-small factory-mtextbox-remove-item"><i class="fa fa-times" aria-hidden="true"></i></button>');return b.append(d.append(e)),d.find('input[type="text"]').val("").focus(),!1}),a(document).on("click",".factory-mtextbox-remove-item",function(){return a(this).closest(".factory-mtextbox-item").remove(),!1})};a.fn.factoryBootstrap449_MultipleTextboxControl=function(){return this.each(function(){new b(this)})},a(function(){a(".factory-bootstrap-449 .factory-multiple-textbox-group").factoryBootstrap449_MultipleTextboxControl()})}(jQuery);
libs/factory/bootstrap/assets/js-min/control.pattern.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){a.widget("factoryBootstrap449.patternControl",{_create:function(){this.$element=this.element,this.$preview=this.$element.find(".factory-preview"),this.$patternResult=this.$element.find(".factory-pattern-result"),this.$colorResult=this.$element.find(".factory-color-result"),this.$patterns=this.$element.find(".factory-patterns-panel"),this.$patternItems=this.$element.find(".factory-patterns-item"),this.$btnUpload=this.$element.find(".factory-upload-btn"),this.$btnChangeColor=this.$element.find(".factory-change-color-btn"),this.$colorPanel=this.$element.find(".factory-color-panel"),this.$colorContol=this.$element.find(".factory-color"),this._initMainPanel(),this._initColorPickerPanel(),this._initPatternsPanel()},_initMainPanel:function(){var a=this;this.$preview.on("click",function(){return a.togglePatternsPanel(),!1}),this.$btnChangeColor.on("click",function(){return a.toggleColorPanel(),!1})},togglePatternsPanel:function(){this.$element.hasClass("factory-patterns-panel-active")?this.hidePatternsPanel():this.showPatternsPanel()},hidePatternsPanel:function(){this.$element.removeClass("factory-patterns-panel-active")},showPatternsPanel:function(){this.$element.addClass("factory-patterns-panel-active")},hasColor:function(){return this.$element.hasClass("factory-color-panel-active")},toggleColorPanel:function(){this.hasColor()?this.hideColorPanel():this.showColorPanel()},hideColorPanel:function(){this.$element.removeClass("factory-color-panel-active"),this.$btnChangeColor.removeClass("button-active"),this.$colorResult.val(""),this.$colorResult.trigger("change"),this.$element.trigger("change")},showColorPanel:function(){this.$element.addClass("factory-color-panel-active"),this.$btnChangeColor.addClass("button-active"),this.$colorResult.val(this.$colorContol.factoryBootstrap449_colorControl("getValue")),this.$colorResult.trigger("change"),this.$element.trigger("change")},_initColorPickerPanel:function(){var a=this;this.$colorContol.bind("updated.color.factory",function(b,c){return a.$colorResult.val(c),!1})},_initPatternsPanel:function(){var b=this,c=!0,d=wp.media.editor.send.attachment;this.$btnUpload.on("click",function(){return c=!0,wp.media.editor.send.attachment=function(a,e){return c?(b.$preview.css({background:"url("+e.url+") repeat",border:"0",fontSize:"0"}),void b.$patternResult.attr("value",e.url).trigger("change")):d.apply(this,[a,e])},wp.media.editor.open(b.$btnUpload),a(".add_media").on("click",function(){c=!1}),!1}),this.$patternItems.on("click",function(){if(a(this).data("pattern")){var c=a(this).data("pattern");b.$preview.removeClass("factory-empty"),b.$preview.css({background:"url("+c+") repeat"}),b.$patternResult.attr("value",c).trigger("change")}})}}),a(function(){a.widget.bridge("factoryBootstrap449_patternControl",a.factoryBootstrap449.patternControl),a(".factory-bootstrap-449 .factory-pattern").factoryBootstrap449_patternControl({})})}(jQuery);
libs/factory/bootstrap/assets/js-min/global.color-functions.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ function hexToRgb(a){var b=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;a=a.replace(b,function(a,b,c,d){return b+b+c+c+d+d});var c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return c?{r:parseInt(c[1],16),g:parseInt(c[2],16),b:parseInt(c[3],16)}:null}function rgb2hex(a){return a=a.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/),"#"+("0"+parseInt(a[1],10).toString(16)).slice(-2)+("0"+parseInt(a[2],10).toString(16)).slice(-2)+("0"+parseInt(a[3],10).toString(16)).slice(-2)}
libs/factory/bootstrap/assets/js-min/holder.conrol-group.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){a(document).ready(function(){a(".factory-control-group-nav-label").on("click",function(){var b=a(this).parents(".factory-control-group");return a(this).hasClass("active")||(a(".factory-control-group-nav-label",b).add(".factory-control-group-item",b).removeClass("current"),a(".factory-control-is-active",b).val(0),a(this).add(a("."+a(this).data("control-id"),b)).addClass("current"),b.children('input[type="hidden"]').val(a(this).data("control-name")).trigger("change"),a(".factory-control-is-active",a("."+a(this).data("control-id"),b)).val(1)),!1})})}(jQuery);
libs/factory/bootstrap/assets/js-min/holder.more-link.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a,b,c,d){"use strict";var e="factoryBootstrap449_moreLink";a.fn[e]=function(b,c){return this.each(function(){var b=a(this);b.find(".factory-more-link-show").click(function(){return a(a(this).attr("href")).fadeIn(),a(this).hide(),!1}),b.find(".factory-more-link-hide").click(function(){var b=a(a(this).attr("href"));return b.fadeOut(300,function(){b.parents(".factory-more-link").find(".factory-more-link-show").show()}),!1})})},a(function(){a(".factory-bootstrap-449 .factory-more-link").factoryBootstrap449_moreLink()})}(jQuery,window,document);
libs/factory/bootstrap/assets/js-min/plugin.chosen.min.js ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ /*!
11
+ Chosen, a Select Box Enhancer for jQuery and Prototype
12
+ by Patrick Filler for Harvest, http://getharvest.com
13
+
14
+ Version 1.1.0
15
+ Full source at https://github.com/harvesthq/chosen
16
+ Copyright (c) 2011 Harvest http://getharvest.com
17
+
18
+ MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
19
+ This file is generated by `grunt build`, do not edit it by hand.
20
+ */
21
+ (function(){var a,b,c,d,e,f={}.hasOwnProperty,g=function(a,b){function c(){this.constructor=a}for(var d in b)f.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};d=function(){function a(){this.options_index=0,this.parsed=[]}return a.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},a.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),children:0,disabled:a.disabled}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},a.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},a.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&amp;"})):a},a}(),d.select_to_array=function(a){var b,c,e,f,g;for(c=new d,g=a.childNodes,e=0,f=g.length;f>e;e++)b=g[e],c.add_node(b);return c.parsed},b=function(){function a(b,c){this.form_field=b,this.options=null!=c?c:{},a.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return a.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0},a.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||a.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||a.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||a.default_no_result_text},a.prototype.mouse_enter=function(){return this.mouse_on_container=!0},a.prototype.mouse_leave=function(){return this.mouse_on_container=!1},a.prototype.input_focus=function(a){var b=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return b.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},a.prototype.input_blur=function(a){var b=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return b.blur_test()},100))},a.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(c.text));return b},a.prototype.result_add_option=function(a){var b,c;return a.search_match&&this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,this.outerHTML(c)):""},a.prototype.result_add_group=function(a){var b;return(a.search_match||a.group_match)&&a.active_options>0?(b=document.createElement("li"),b.className="group-result",b.innerHTML=a.search_text,this.outerHTML(b)):""},a.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},a.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},a.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},a.prototype.results_search=function(a){return this.results_showing?this.winnow_results():this.results_show()},a.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;for(this.no_results_clear(),e=0,g=this.get_search_text(),a=g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),d=this.search_contains?"":"^",c=new RegExp(d+a,"i"),j=new RegExp(a,"i"),m=this.results_data,k=0,l=m.length;l>k;k++)b=m[k],b.search_match=!1,f=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(f=this.results_data[b.group_array_index],0===f.active_options&&f.search_match&&(e+=1),f.active_options+=1),(!b.group||this.group_search)&&(b.search_text=b.group?b.label:b.html,b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(e+=1),b.search_match?(g.length&&(h=b.search_text.search(j),i=b.search_text.substr(0,h+g.length)+"</em>"+b.search_text.substr(h+g.length),b.search_text=i.substr(0,h)+"<em>"+i.substr(h)),null!=f&&(f.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>e&&g.length?(this.update_results_content(""),this.no_results(g)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},a.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},a.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},a.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},a.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},a.prototype.clipboard_event_checker=function(a){var b=this;return setTimeout(function(){return b.results_search()},50)},a.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},a.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},a.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},a.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},a.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},a.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},a.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},a.default_multiple_text="Select Some Options",a.default_single_text="Select an Option",a.default_no_result_text="No results match",a}(),a=jQuery,a.fn.extend({chosen:function(d){return b.browser_is_supported()?this.each(function(b){var e,f;e=a(this),f=e.data("chosen"),"destroy"===d&&f?f.destroy():f||e.data("chosen",new c(this,d))}):this}}),c=function(b){function c(){return e=c.__super__.constructor.apply(this,arguments)}return g(c,b),c.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},c.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",c),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'):this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},c.prototype.register_observers=function(){var a=this;return this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},c.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},c.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},c.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},c.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},c.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},c.prototype.blur_test=function(a){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},c.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},c.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},c.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},c.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=d.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},c.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},c.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},c.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},c.prototype.update_results_content=function(a){return this.search_results.html(a)},c.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},c.prototype.set_tab_index=function(a){var b;return this.form_field.tabIndex?(b=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=b):void 0},c.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},c.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},c.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},c.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},c.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},c.prototype.choice_build=function(b){var c,d,e=this;return c=a("<li />",{"class":"search-choice"}).html("<span>"+b.html+"</span>"),b.disabled?c.addClass("search-choice-disabled"):(d=a("<a />",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},c.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},c.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},c.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},c.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},c.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(c.text),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},c.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(a)},c.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},c.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},c.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html()},c.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},c.prototype.no_results=function(b){var c;return c=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},c.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},c.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},c.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},c.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},c.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},c.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},c.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("<div />",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},c}(b)}).call(this);
libs/factory/bootstrap/assets/js-min/plugin.color.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a,b){var c=function(a,b){return this instanceof c?this._init(a,b):new c(a,b)};c.fn=c.prototype={_color:0,_alpha:1,error:!1,_hsl:{h:0,s:0,l:0},_hsv:{h:0,s:0,v:0},_hSpace:"hsl",_init:function(a){var c="noop";switch(typeof a){case"object":return a.a!==b&&this.a(a.a),c=a.r!==b?"fromRgb":a.l!==b?"fromHsl":a.v!==b?"fromHsv":c,this[c](a);case"string":return this.fromCSS(a);case"number":return this.fromInt(parseInt(a,10))}return this},_error:function(){return this.error=!0,this},clone:function(){for(var a=new c(this.toInt()),b=["_alpha","_hSpace","_hsl","_hsv","error"],d=b.length-1;d>=0;d--)a[b[d]]=this[b[d]];return a},setHSpace:function(a){return this._hSpace="hsv"===a?a:"hsl",this},noop:function(){return this},fromCSS:function(a){var b,c=/^(rgb|hs(l|v))a?\(/;if(this.error=!1,a=a.replace(/^\s+/,"").replace(/\s+$/,"").replace(/;$/,""),a.match(c)&&a.match(/\)$/)){if(b=a.replace(/(\s|%)/g,"").replace(c,"").replace(/,?\);?$/,"").split(","),b.length<3)return this._error();if(4===b.length&&(this.a(parseFloat(b.pop())),this.error))return this;for(var d=b.length-1;d>=0;d--)if(b[d]=parseInt(b[d],10),isNaN(b[d]))return this._error();return a.match(/^rgb/)?this.fromRgb({r:b[0],g:b[1],b:b[2]}):a.match(/^hsv/)?this.fromHsv({h:b[0],s:b[1],v:b[2]}):this.fromHsl({h:b[0],s:b[1],l:b[2]})}return this.fromHex(a)},fromRgb:function(a,c){return"object"!=typeof a||a.r===b||a.g===b||a.b===b?this._error():(this.error=!1,this.fromInt(parseInt((a.r<<16)+(a.g<<8)+a.b,10),c))},fromHex:function(a){return a=a.replace(/^#/,"").replace(/^0x/,""),3===a.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),this.error=!/^[0-9A-F]{6}$/i.test(a),this.fromInt(parseInt(a,16))},fromHsl:function(a){var c,d,e,f,g,h,i,j;return"object"!=typeof a||a.h===b||a.s===b||a.l===b?this._error():(this._hsl=a,this._hSpace="hsl",h=a.h/360,i=a.s/100,j=a.l/100,0===i?c=d=e=j:(f=.5>j?j*(1+i):j+i-j*i,g=2*j-f,c=this.hue2rgb(g,f,h+1/3),d=this.hue2rgb(g,f,h),e=this.hue2rgb(g,f,h-1/3)),this.fromRgb({r:255*c,g:255*d,b:255*e},!0))},fromHsv:function(a){var c,d,e,f,g,h,i,j,k,l,m;if("object"!=typeof a||a.h===b||a.s===b||a.v===b)return this._error();switch(this._hsv=a,this._hSpace="hsv",c=a.h/360,d=a.s/100,e=a.v/100,i=Math.floor(6*c),j=6*c-i,k=e*(1-d),l=e*(1-j*d),m=e*(1-(1-j)*d),i%6){case 0:f=e,g=m,h=k;break;case 1:f=l,g=e,h=k;break;case 2:f=k,g=e,h=m;break;case 3:f=k,g=l,h=e;break;case 4:f=m,g=k,h=e;break;case 5:f=e,g=k,h=l}return this.fromRgb({r:255*f,g:255*g,b:255*h},!0)},fromInt:function(a,c){return this._color=parseInt(a,10),isNaN(this._color)&&(this._color=0),this._color>16777215?this._color=16777215:this._color<0&&(this._color=0),c===b&&(this._hsv.h=this._hsv.s=this._hsl.h=this._hsl.s=0),this},hue2rgb:function(a,b,c){return 0>c&&(c+=1),c>1&&(c-=1),1/6>c?a+6*(b-a)*c:.5>c?b:2/3>c?a+(b-a)*(2/3-c)*6:a},toString:function(){var a=parseInt(this._color,10).toString(16);if(this.error)return"";if(a.length<6)for(var b=6-a.length-1;b>=0;b--)a="0"+a;return"#"+a},toCSS:function(a,b){switch(a=a||"hex",b=parseFloat(b||this._alpha),a){case"rgb":case"rgba":var c=this.toRgb();return 1>b?"rgba( "+c.r+", "+c.g+", "+c.b+", "+b+" )":"rgb( "+c.r+", "+c.g+", "+c.b+" )";case"hsl":case"hsla":var d=this.toHsl();return 1>b?"hsla( "+d.h+", "+d.s+"%, "+d.l+"%, "+b+" )":"hsl( "+d.h+", "+d.s+"%, "+d.l+"% )";default:return this.toString()}},toRgb:function(){return{r:255&this._color>>16,g:255&this._color>>8,b:255&this._color}},toHsl:function(){var a,b,c=this.toRgb(),d=c.r/255,e=c.g/255,f=c.b/255,g=Math.max(d,e,f),h=Math.min(d,e,f),i=(g+h)/2;if(g===h)a=b=0;else{var j=g-h;switch(b=i>.5?j/(2-g-h):j/(g+h),g){case d:a=(e-f)/j+(f>e?6:0);break;case e:a=(f-d)/j+2;break;case f:a=(d-e)/j+4}a/=6}return a=Math.round(360*a),0===a&&this._hsl.h!==a&&(a=this._hsl.h),b=Math.round(100*b),0===b&&this._hsl.s&&(b=this._hsl.s),{h:a,s:b,l:Math.round(100*i)}},toHsv:function(){var a,b,c=this.toRgb(),d=c.r/255,e=c.g/255,f=c.b/255,g=Math.max(d,e,f),h=Math.min(d,e,f),i=g,j=g-h;if(b=0===g?0:j/g,g===h)a=b=0;else{switch(g){case d:a=(e-f)/j+(f>e?6:0);break;case e:a=(f-d)/j+2;break;case f:a=(d-e)/j+4}a/=6}return a=Math.round(360*a),0===a&&this._hsv.h!==a&&(a=this._hsv.h),b=Math.round(100*b),0===b&&this._hsv.s&&(b=this._hsv.s),{h:a,s:b,v:Math.round(100*i)}},toInt:function(){return this._color},toIEOctoHex:function(){var a=this.toString(),b=parseInt(255*this._alpha,10).toString(16);return 1===b.length&&(b="0"+b),"#"+b+a.replace(/^#/,"")},toLuminosity:function(){var a=this.toRgb();return.2126*Math.pow(a.r/255,2.2)+.7152*Math.pow(a.g/255,2.2)+.0722*Math.pow(a.b/255,2.2)},getDistanceLuminosityFrom:function(a){if(!(a instanceof c))throw"getDistanceLuminosityFrom requires a Color object";var b=this.toLuminosity(),d=a.toLuminosity();return b>d?(b+.05)/(d+.05):(d+.05)/(b+.05)},getMaxContrastColor:function(){var a=this.toLuminosity(),b=a>=.5?"000000":"ffffff";return new c(b)},getReadableContrastingColor:function(a,d){if(!a instanceof c)return this;var e=d===b?5:d,f=a.getDistanceLuminosityFrom(this),g=a.getMaxContrastColor(),h=g.getDistanceLuminosityFrom(a);if(e>=h)return g;if(f>=e)return this;for(var i=0===g.toInt()?-1:1;e>f&&(this.l(i,!0),f=this.getDistanceLuminosityFrom(a),0!==this._color&&16777215!==this._color););return this},a:function(a){if(a===b)return this._alpha;var c=parseFloat(a);return isNaN(c)?this._error():(this._alpha=c,this)},darken:function(a){return a=a||5,this.l(-a,!0)},lighten:function(a){return a=a||5,this.l(a,!0)},saturate:function(a){return a=a||15,this.s(a,!0)},desaturate:function(a){return a=a||15,this.s(-a,!0)},toGrayscale:function(){return this.setHSpace("hsl").s(0)},getComplement:function(){return this.h(180,!0)},getSplitComplement:function(a){a=a||1;var b=180+30*a;return this.h(b,!0)},getAnalog:function(a){a=a||1;var b=30*a;return this.h(b,!0)},getTetrad:function(a){a=a||1;var b=60*a;return this.h(b,!0)},getTriad:function(a){a=a||1;var b=120*a;return this.h(b,!0)},_partial:function(a){var c=d[a];return function(d,e){var f=this._spaceFunc("to",c.space);return d===b?f[a]:(e===!0&&(d=f[a]+d),c.mod&&(d%=c.mod),c.range&&(d=d<c.range[0]?c.range[0]:d>c.range[1]?c.range[1]:d),f[a]=d,this._spaceFunc("from",c.space,f))}},_spaceFunc:function(a,b,c){var d=b||this._hSpace,e=a+d.charAt(0).toUpperCase()+d.substr(1);return this[e](c)}};var d={h:{mod:360},s:{range:[0,100]},l:{space:"hsl",range:[0,100]},v:{space:"hsv",range:[0,100]},r:{space:"rgb",range:[0,255]},g:{space:"rgb",range:[0,255]},b:{space:"rgb",range:[0,255]}};for(var e in d)d.hasOwnProperty(e)&&(c.fn[e]=c.fn._partial(e));"object"==typeof exports?module.exports=c:a.Color=c}(this);
libs/factory/bootstrap/assets/js-min/plugin.ddslick.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a){function b(a,b){var c=a.data("ddslick"),f=a.find(".dd-selected"),g=f.siblings(".dd-selected-value"),h=(a.find(".dd-options"),f.siblings(".dd-pointer"),a.find(".dd-option").eq(b)),i=h.closest("li"),j=c.settings,k=c.settings.data[b];a.find(".dd-option").removeClass("dd-option-selected"),h.addClass("dd-option-selected"),c.selectedIndex=b,c.selectedItem=i,c.selectedData=k,j.showSelectedHTML?f.html((k.imageSrc?'<img class="dd-selected-image'+("right"==j.imagePosition?" dd-image-right":"")+'" src="'+k.imageSrc+'" />':"")+(k.text?'<label class="dd-selected-text">'+k.text+"</label>":"")+(k.description?'<small class="dd-selected-description dd-desc'+(j.truncateDescription?" dd-selected-description-truncated":"")+'" >'+k.description+"</small>":"")):f.html(k.text),g.val(k.value),c.original.val(k.value),a.data("ddslick",c),d(a),e(a),"function"==typeof j.onSelected&&j.onSelected.call(this,c)}function c(b){var c=b.find(".dd-select"),d=c.siblings(".dd-options"),e=c.find(".dd-pointer"),g=d.is(":visible");a(".dd-click-off-close").not(d).slideUp(50),a(".dd-pointer").removeClass("dd-pointer-up"),g?(d.slideUp("fast"),e.removeClass("dd-pointer-up")):(d.slideDown("fast"),e.addClass("dd-pointer-up")),f(b)}function d(a){a.find(".dd-options").slideUp(50),a.find(".dd-pointer").removeClass("dd-pointer-up").removeClass("dd-pointer-up")}function e(a){var b=a.find(".dd-select").css("height"),c=a.find(".dd-selected-description"),d=a.find(".dd-selected-image");c.length<=0&&d.length>0&&a.find(".dd-selected-text").css("lineHeight",b)}function f(b){b.find(".dd-option").each(function(){var c=a(this),d=c.css("height"),e=c.find(".dd-option-description"),f=b.find(".dd-option-image");e.length<=0&&f.length>0&&c.find(".dd-option-text").css("lineHeight",d)})}a.fn.ddslick=function(b){return g[b]?g[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?void a.error("Method "+b+" does not exists."):g.init.apply(this,arguments)};var g={},h={data:[],keepJSONItemsOnTop:!1,width:260,height:null,background:"#eee",selectText:"",defaultSelectedIndex:null,truncateDescription:!0,imagePosition:"left",showSelectedHTML:!0,clickOffToClose:!0,onSelected:function(){}},i='<div class="dd-select"><input class="dd-selected-value" type="hidden" /><a class="dd-selected"></a><span class="dd-pointer dd-pointer-down"></span></div>',j='<ul class="dd-options"></ul>',k='<style id="css-ddslick" type="text/css">.dd-select{ border-radius:2px; border:solid 1px #ccc; position:relative; cursor:pointer;}.dd-desc { color:#aaa; display:block; overflow: hidden; font-weight:normal; line-height: 1.4em; }.dd-selected{ overflow:hidden; display:block; padding:10px; font-weight:bold;}.dd-pointer{ width:0; height:0; position:absolute; right:10px; top:50%; margin-top:-3px;}.dd-pointer-down{ border:solid 5px transparent; border-top:solid 5px #000; }.dd-pointer-up{border:solid 5px transparent !important; border-bottom:solid 5px #000 !important; margin-top:-8px;}.dd-options{ border:solid 1px #ccc; border-top:none; list-style:none; box-shadow:0px 1px 5px #ddd; display:none; position:absolute; z-index:2000; margin:0; padding:0;background:#fff; overflow:auto;}.dd-option{ padding:10px; display:block; border-bottom:solid 1px #ddd; overflow:hidden; text-decoration:none; color:#333; cursor:pointer;-webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out;-o-transition: all 0.25s ease-in-out;-ms-transition: all 0.25s ease-in-out; }.dd-options > li:last-child > .dd-option{ border-bottom:none;}.dd-option:hover{ background:#f3f3f3; color:#000;}.dd-selected-description-truncated { text-overflow: ellipsis; white-space:nowrap; }.dd-option-selected { background:#f6f6f6; }.dd-option-image, .dd-selected-image { vertical-align:middle; float:left; margin-right:5px; max-width:64px;}.dd-image-right { float:right; margin-right:15px; margin-left:5px;}.dd-container{ position:relative;}​ .dd-selected-text { font-weight:bold}​</style>';a("#css-ddslick").length<=0&&a(k).appendTo("head"),g.init=function(d){var d=a.extend({},h,d);return this.each(function(){var e=a(this),f=e.data("ddslick");if(!f){var g=[];d.data;e.find("option").each(function(){var b=a(this),c=b.data();g.push({text:a.trim(b.text()),value:b.val(),selected:b.is(":selected"),description:c.description,imageSrc:c.imagesrc})}),d.keepJSONItemsOnTop?a.merge(d.data,g):d.data=a.merge(g,d.data);var h=e,k=a('<div id="'+e.attr("id")+'"></div>');e.replaceWith(k),e=k,e.addClass("dd-container").append(i).append(j);var g=e.find(".dd-select"),l=e.find(".dd-options");l.css({width:d.width}),g.css({width:d.width,background:d.background}),e.css({width:d.width}),null!=d.height&&l.css({height:d.height,overflow:"auto"}),a.each(d.data,function(a,b){b.selected&&(d.defaultSelectedIndex=a),l.append('<li><a class="dd-option">'+(b.value?' <input class="dd-option-value" type="hidden" value="'+b.value+'" />':"")+(b.imageSrc?' <img class="dd-option-image'+("right"==d.imagePosition?" dd-image-right":"")+'" src="'+b.imageSrc+'" />':"")+(b.text?' <label class="dd-option-text">'+b.text+"</label>":"")+(b.description?' <small class="dd-option-description dd-desc">'+b.description+"</small>":"")+"</a></li>")});var m={settings:d,original:h,selectedIndex:-1,selectedItem:null,selectedData:null};if(e.data("ddslick",m),d.selectText.length>0&&null==d.defaultSelectedIndex)e.find(".dd-selected").html(d.selectText);else{var n=null!=d.defaultSelectedIndex&&d.defaultSelectedIndex>=0&&d.defaultSelectedIndex<d.data.length?d.defaultSelectedIndex:0;b(e,n)}e.find(".dd-select").on("click.ddslick",function(){c(e)}),e.find(".dd-option").on("click.ddslick",function(){b(e,a(this).closest("li").index())}),d.clickOffToClose&&(l.addClass("dd-click-off-close"),e.on("click.ddslick",function(a){a.stopPropagation()}),a("body").on("click",function(){a(".dd-click-off-close").slideUp(50).siblings(".dd-select").find(".dd-pointer").removeClass("dd-pointer-up")}))}})},g.select=function(c){return this.each(function(){c.index&&b(a(this),c.index)})},g.open=function(){return this.each(function(){var b=a(this),d=b.data("ddslick");d&&c(b)})},g.close=function(){return this.each(function(){var b=a(this),c=b.data("ddslick");c&&d(b)})},g.destroy=function(){return this.each(function(){var b=a(this),c=b.data("ddslick");if(c){var d=c.original;b.removeData("ddslick").unbind(".ddslick").replaceWith(d)}})}}(jQuery);
libs/factory/bootstrap/assets/js-min/plugin.gradient-picker.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function($){function ctrlPtComparator(a,b){return a.position-b.position}function bind(a,b){return"function"==typeof a.bind?a.bind(b):function(){a.apply(b,arguments)}}function GradientSelection(a,b){var c=this;this.$el=a,this.$presets=this.$el.find(".gradientPicker-pallets"),this.$presetsItems=this.$presets.find(".factory-preset-gradient"),this.$preview=this.$el.find(".gradientPicker-preview"),this.$pointsContainer=this.$el.find(".factory-points"),this.$colorPickerContainer=this.$el.find(".factory-color-picker-container"),this.$colorPicker=this.$el.find(".factory-color-picker"),this.$colorHex=this.$el.find(".factory-color-hex"),this.$opacitySliderContainer=this.$el.find(".factory-slider-container"),this.$opacitySlider=this.$el.find(".factory-bar"),this.$el.css("position","relative"),this.opts=b,this._createPresetGradients(),this._createPreview(),this._createColorPicker(),this._createDirectionDropdown(),this.controlPoints=[],b.controlPoints=b.controlPoints||[];for(var d=0;d<b.controlPoints.length;++d){var e=this.createCtrlPt(b.controlPoints[d]);this.controlPoints.push(e)}0===this.controlPoints.length&&(this.controlPoints.push(this.createCtrlPt(this.$presetsItems.data("primary")+" 0% 1")),this.controlPoints.push(this.createCtrlPt(this.$presetsItems.data("secondary")+" 100% 1"))),$(document).on("click.gp.factory",function(){c.hideColorPicker()}),this.$colorPickerContainer.on("click.gp.factory",function(a){a.stopPropagation()}),this.$pointsContainer.on("click.gp.factory",function(a){a.stopPropagation(),c.placePoint(a)}),this.updatePreview()}function ControlPoint(a,b,c){var d=this;if(this.parent=a,this.$container=a.$pointsContainer,this.$el=$('<span class="factory-point"></span>'),this.$pointColor=$('<span class="factory-point-color"></span>').appendTo(this.$el),this.$container.append(this.$el),"string"==typeof b?(b=b.split(" "),this.position=parseFloat(b[1])/100,this.color=b[0],this.opacity=b[2]):(this.position=b.position,this.color=b.color,this.opacity=b.opacity),this.outerWidth=this.$el.outerWidth(),this.$pointColor.css({"background-color":d.color,opacity:d.opacity}),"horizontal"===c){var e=(d.$container.width()-this.$el.outerWidth())*this.position;this.$el.css("left",e)}else{var f=(d.$container.height()-this.$el.outerHeight())*this.position;this.$el.css("top",f)}this.drag=bind(this.drag,this),this.stop=bind(this.stop,this),this.$el.disableSelection().css("webkit-user-select","none").draggable({axis:"horizontal"===c?"x":"y",drag:this.drag,stop:this.stop,containment:d.$container,cancel:null}),this.$el.on("click.gp.factory",function(a){d.parent.currentPoint===d?d.parent.hideColorPicker(d):d.parent.showColorPicker(d),a.stopPropagation()})}$.event.special.destroyed||($.event.special.destroyed={remove:function(a){a.handler&&a.handler()}});var agent=window.navigator.userAgent,browserPrefix=["-webkit-","-moz-","-ms-"],x,y=0;GradientSelection.prototype={_createPresetGradients:function(){var a=this;this.$presetsItems.each(function(){var a=$(this),b=$('<span class="factory-secondary-color-wrap"></span>').appendTo(a),c=$('<span class="factory-secondary-color"></span>').appendTo(b);a.css("background",a.data("primary")),c.css("background",a.data("secondary"))}),this.$presetsItems.click(function(){var b=$(this).data("primary"),c=$(this).data("secondary");a.setGradient([b+" 0% 1",c+" 100% 1"])})},_createPreview:function(){var a=this.$preview[0];a.width=0===a.clientWidth?210:a.clientWidth,a.height=0===a.clientHeight?30:a.clientHeight,this.g2d=a.getContext("2d")},_createColorPicker:function(){var a=this;this.$colorPicker.factoryBootstrap449_iris({width:217,palettes:["#16a086","#27ae61","#2a80b9","#8f44ad","#2d3e50","#f49c14","#c1392b","#bec3c7"],hide:!0,change:function(b,c){a.currentPoint.updateColor(c.color.toString()),a._colorLock||a.$colorHex.val(c.color.toString())}}),a.$colorHex.on("change paste keyup",function(){a._colorLock=!0,a.$colorPicker.factoryBootstrap449_iris("color",a.$colorHex.val()),a._cancelColorLock()}),this.$opacitySlider.noUiSlider({start:100,range:{min:0,max:100},step:1}),this.$opacitySlider.on("slide",function(){var b=parseInt(a.$opacitySlider.val()),c=b+"%";a.$opacitySliderContainer.find(".factory-visible-value").text(c),a.currentPoint.updateOpacity(b/100)}),this.$opacitySlider.on("set",function(){a.$result.val(a.getValue()),a.$result.trigger("change")})},_repeatColorLock:!1,_colorLock:!1,_colorLockTimer:!1,_cancelColorLock:function(a){var b=this;return b._colorLockTimer&&!a?(this._repeatColorLock=!0,!1):void(this._colorLockTimer=setTimeout(function(){return b._repeatColorLock?(b._repeatColorLock=!1,b._cancelColorLock(!0),!1):(b._colorLock=!1,b._colorLockTimer=!1,void(b._repeatColorLock=!1))},500))},_createDirectionDropdown:function(){var a=this,b=factory&&factory.res&&factory.res.resVertical||"vertical",c=factory&&factory.res&&factory.res.resHorizontal||"horizontal";this.$directionDropdown=$('<select class="gradientPicker-filldirection"><option value="vertical"'+("top"===a.opts.fillDirection?" selected":"")+">"+b+'</option><option value="horizontal"'+("left"===a.opts.fillDirection?" selected":"")+">"+c+"</option></select>"),this.$el.append(this.$directionDropdown),this.$directionDropdown.chosen(),this.$directionDropdown.change(function(){a.setGradientDirection($(this).val())})},showColorPicker:function(a){this.currentPoint=a,$(".factory-current-point").removeClass("factory-current-point"),a.$el.addClass("factory-current-point"),this.$colorPickerContainer.show(),this.$colorPicker.factoryBootstrap449_iris("show"),this.$colorPicker.factoryBootstrap449_iris("option","color",a.color),this.$opacitySlider.val(100*a.opacity),this.$opacitySlider.trigger("slide")},hideColorPicker:function(){$(".factory-current-point").removeClass("factory-current-point"),this.currentPoint=!1,this.$colorPickerContainer.hide()},isColorPickerShown:function(){return this.currentPoint},docClicked:function(){$(".gradientPicker-iris-wrap").hide(),$(".gradientPicker-ctrlPt").removeClass("open")},createCtrlPt:function(a){return new ControlPoint(this,a,this.opts.orientation)},updateOptions:function(a,b){if($.extend(this.opts,a),b){this.controlPoints=[],this.$pointsContainer.html("");for(var c=0;c<this.opts.controlPoints.length;++c){var d=this.createCtrlPt(this.opts.controlPoints[c]);this.controlPoints.push(d)}}switch(this.updatePreview(),this.opts.fillDirection){case"top":fillDirectCheck="horizontal";break;case"left":fillDirectCheck="vertical";break;default:fillDirectCheck=!1}fillDirectCheck&&$(".gradientPicker-filldirection",this.$el).find('option[value="'+fillDirectCheck+'"]').prop("selected",!0)},updatePreview:function(){var a=[];if(this.controlPoints.sort(ctrlPtComparator),this.g2d.clearRect(0,0,this.g2d.canvas.width,this.g2d.canvas.height),"horizontal"===this.opts.orientation)for(var b=this.g2d.createLinearGradient(0,0,this.g2d.canvas.width,0),c=0;c<this.controlPoints.length;++c){var d=this.controlPoints[c];b.addColorStop(d.position,"rgba("+hexToRgb(d.color).r+","+hexToRgb(d.color).g+","+hexToRgb(d.color).b+", "+d.opacity+")"),a.push({position:d.position,color:d.color,opacity:d.opacity})}if(this.g2d.fillStyle=b,this.g2d.fillRect(0,0,this.g2d.canvas.width,this.g2d.canvas.height),this.opts.generateStyles)var e=this._generatePreviewStyles();this.opts.change(a,e)},removeControlPoint:function(a){var b=this.controlPoints.indexOf(a);-1!=b&&(this.controlPoints.splice(b,1),a.$el.remove())},placePoint:function(a){a.stopPropagation();var b=$(a.target).offset(),c=a.pageX-b.left,d=a.pageY-b.top,e=this.g2d.getImageData(c,d,1,1),f="rgb("+e.data[0]+","+e.data[1]+","+e.data[2]+")",g=1/255*e.data[3],h=this.createCtrlPt({position:c/this.g2d.canvas.width,color:rgb2hex(f),opacity:g});this.controlPoints.push(h),this.controlPoints.sort(ctrlPtComparator),this.showColorPicker(h)},setGradient:function(a){this.updateOptions({controlPoints:a},!0),this.updatePreview()},setGradientDirection:function(a){switch(a){case"horizontal":this.updateOptions({type:"linear",fillDirection:"top"},!1);break;case"vertical":this.updateOptions({type:"linear",fillDirection:"left"},!1)}},_generatePreviewStyles:function(){var a={};a.filldirection=this.opts.fillDirection,a.color_points=[];for(var b=0;b<this.controlPoints.length;++b){var c=this.controlPoints[b];a.color_points.push(c.color+" "+(100*c.position|0)+"% "+c.opacity)}return JSON.stringify(a)},_genPalletsBackground:function(a,b){return cssRules="linear-gradient(90deg, "+a+" 0%, "+b+" 100%)",agent.indexOf("WebKit")>=0?crossBrowserRule=browserPrefix[0]+cssRules:agent.indexOf("Mozilla")>=0?crossBrowserRule=browserPrefix[1]+cssRules:agent.indexOf("Microsoft")>=0?crossBrowserRule=browserPrefix[2]+cssRules:crossBrowserRule=cssRules,crossBrowserRule}},ControlPoint.prototype={updateColor:function(a){this.color=a,this.$pointColor.css("background-color",a),this.parent.updatePreview()},updateOpacity:function(a){this.opacity=a,this.$pointColor.css("opacity",a),this.parent.updatePreview()},drag:function(e,ui){var stopPointPosition=eval(this.$el.parent().offset().top+this.$el.parent().height()+20);e.pageY>stopPointPosition&&this.remove();var left=ui.position.left;this.position=left/(this.$container.width()-this.outerWidth),this.parent.updatePreview()},stop:function(){this.parent.updatePreview()},remove:function(){this.parent.removeControlPoint(this),this.parent.hideColorPicker(),this.parent.updatePreview()}};var methods={init:function(a){a=$.extend({controlPoints:["#FFF 0% 1","#000 100% 1"],orientation:"horizontal",type:"linear",fillDirection:"left",generateStyles:!0,change:function(){}},a),this.each(function(){var b=$(this),c=new GradientSelection(b,a);b.data("gradientPicker-sel",c)})},update:function(a){this.each(function(){var b=$(this),c=b.data("gradientPicker-sel");null!=c&&c.updateOptions(a,!0)})}};$.fn.gradientPicker=function(a,b){"string"==typeof a&&"init"!==a?methods[a].call(this,b):(b=a,methods.init.call(this,b))}}(jQuery);
libs/factory/bootstrap/assets/js-min/plugin.iris.min.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ /*! Iris Color Picker - v1.0.4 - 2013-11-18
11
+ * https://github.com/Automattic/Iris
12
+ * Copyright (c) 2013 Matt Wiebe; Licensed GPLv2 */
13
+ !function(a,b){function c(){var b,c;j?k="filter":(b=a('<div id="iris-gradtest" />'),c="linear-gradient(top,#fff,#000)",a.each(l,function(a,d){return b.css("backgroundImage",d+c),b.css("backgroundImage").match("gradient")?(k=a,!1):void 0}),k===!1&&(b.css("background","-webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#000))"),b.css("backgroundImage").match("gradient")&&(k="webkit")),b.remove())}function d(b,c){return b="top"===b?"top":"left",c=a.isArray(c)?c:Array.prototype.slice.call(arguments,1),"webkit"===k?f(b,c):l[k]+"linear-gradient("+b+", "+c.join(", ")+")"}function e(b,c){var d,e,f,h,i,j,k,l,m;b="top"===b?"top":"left",c=a.isArray(c)?c:Array.prototype.slice.call(arguments,1),d="top"===b?0:1,e=a(this),f=c.length-1,h="filter",i=1===d?"left":"top",j=1===d?"right":"bottom",k=1===d?"height":"width",l='<div class="iris-ie-gradient-shim" style="position:absolute;'+k+":100%;"+i+":%start%;"+j+":%end%;"+h+':%filter%;" data-color:"%color%"></div>',m="","static"===e.css("position")&&e.css({position:"relative"}),c=g(c),a.each(c,function(a,b){var e,g,h;return a===f?!1:(e=c[a+1],void(b.stop!==e.stop&&(g=100-parseFloat(e.stop)+"%",b.octoHex=new Color(b.color).toIEOctoHex(),e.octoHex=new Color(e.color).toIEOctoHex(),h="progid:DXImageTransform.Microsoft.Gradient(GradientType="+d+", StartColorStr='"+b.octoHex+"', EndColorStr='"+e.octoHex+"')",m+=l.replace("%start%",b.stop).replace("%end%",g).replace("%filter%",h))))}),e.find(".iris-ie-gradient-shim").remove(),a(m).prependTo(e)}function f(b,c){var d=[];return b="top"===b?"0% 0%,0% 100%,":"0% 100%,100% 100%,",c=g(c),a.each(c,function(a,b){d.push("color-stop("+parseFloat(b.stop)/100+", "+b.color+")")}),"-webkit-gradient(linear,"+b+d.join(",")+")"}function g(b){var c=[],d=[],e=[],f=b.length-1;return a.each(b,function(a,b){var e=b,f=!1,g=b.match(/1?[0-9]{1,2}%$/);g&&(e=b.replace(/\s?1?[0-9]{1,2}%$/,""),f=g.shift()),c.push(e),d.push(f)}),d[0]===!1&&(d[0]="0%"),d[f]===!1&&(d[f]="100%"),d=h(d),a.each(d,function(a){e[a]={color:c[a],stop:d[a]}}),e}function h(b){var c,d,e,f,g=0,i=b.length-1,j=0,k=!1;if(b.length<=2||a.inArray(!1,b)<0)return b;for(;j<b.length-1;)k||b[j]!==!1?k&&b[j]!==!1&&(i=j,j=b.length):(g=j-1,k=!0),j++;for(d=i-g,f=parseInt(b[g].replace("%"),10),c=(parseFloat(b[i].replace("%"))-f)/d,j=g+1,e=1;i>j;)b[j]=f+e*c+"%",e++,j++;return h(b)}var i,j,k,l,m,n,o,p,q;return i='<div class="iris-picker"><div class="iris-picker-inner"><div class="iris-square"><a class="iris-square-value" href="#"><span class="iris-square-handle ui-slider-handle"></span></a><div class="iris-square-inner iris-square-horiz"></div><div class="iris-square-inner iris-square-vert"></div></div><div class="iris-slider iris-strip"><div class="iris-slider-offset"></div></div></div></div>',o=navigator.userAgent.toLowerCase(),p="Microsoft Internet Explorer"===navigator.appName,q=p?parseFloat(o.match(/msie ([0-9]{1,}[\.0-9]{0,})/)[1]):0,j=p&&10>q,k=!1,l=["-moz-","-webkit-","-o-","-ms-"],m='.iris-picker{display:block;position:relative}.iris-picker,.iris-picker *{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input+.iris-picker{margin-top:4px}.iris-error{background-color:#ffafaf}.iris-border{border-radius:3px;border:1px solid #aaa;width:200px;background-color:#fff}.iris-picker-inner{position:absolute;top:0;right:0;left:0;bottom:0}.iris-border .iris-picker-inner{top:10px;right:10px;left:10px;bottom:10px}.iris-picker .iris-square-inner{position:absolute;left:0;right:0;top:0;bottom:0}.iris-picker .iris-square,.iris-picker .iris-slider,.iris-picker .iris-square-inner,.iris-picker .iris-palette{border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.4);height:100%;width:12.5%;float:left;margin-right:5%}.iris-picker .iris-square{width:76%;margin-right:10%;position:relative}.iris-picker .iris-square-inner{width:auto;margin:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-square-inner,.iris-ie-9 .iris-palette{box-shadow:none;border-radius:0}.iris-ie-9 .iris-square,.iris-ie-9 .iris-slider,.iris-ie-9 .iris-palette{outline:1px solid rgba(0,0,0,.1)}.iris-ie-lt9 .iris-square,.iris-ie-lt9 .iris-slider,.iris-ie-lt9 .iris-square-inner,.iris-ie-lt9 .iris-palette{outline:1px solid #aaa}.iris-ie-lt9 .iris-square .ui-slider-handle{outline:1px solid #aaa;background-color:#fff;-ms-filter:"alpha(Opacity=30)"}.iris-ie-lt9 .iris-square .iris-square-handle{background:0;border:3px solid #fff;-ms-filter:"alpha(Opacity=50)"}.iris-picker .iris-strip{margin-right:0;position:relative}.iris-picker .iris-strip .ui-slider-handle{position:absolute;background:0;margin:0;right:-3px;left:-3px;border:4px solid #aaa;border-width:4px 3px;width:auto;height:6px;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2);opacity:.9;z-index:5;cursor:ns-resize}.iris-strip .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.iris-picker .iris-slider-offset{position:absolute;top:11px;left:0;right:0;bottom:-3px;width:auto;height:auto;background:transparent;border:0;top:none;border-radius:0}.iris-picker .iris-square-handle{background:transparent;border:5px solid #aaa;border-radius:50%;border-color:rgba(128,128,128,.5);box-shadow:none;width:12px;height:12px;position:absolute;left:-10px;top:-10px;cursor:move;opacity:1;z-index:10}.iris-picker .ui-state-focus .iris-square-handle{opacity:.8}.iris-picker .iris-square-handle:hover{border-color:#999}.iris-picker .iris-square-value:focus .iris-square-handle{box-shadow:0 0 2px rgba(0,0,0,.75);opacity:.8}.iris-picker .iris-square-handle:hover::after{border-color:#fff}.iris-picker .iris-square-handle::after{position:absolute;bottom:-4px;right:-4px;left:-4px;top:-4px;border:3px solid #f9f9f9;border-color:rgba(255,255,255,.8);border-radius:50%;content:" "}.iris-picker .iris-square-value{width:8px;height:8px;position:absolute}.iris-ie-lt9 .iris-square-value,.iris-mozilla .iris-square-value{width:1px;height:1px}.iris-palette-container{position:absolute;bottom:0;left:0;margin:0;padding:0}.iris-border .iris-palette-container{left:10px;bottom:10px}.iris-picker .iris-palette{margin:0;cursor:pointer}',j&&7>=q?(a.fn.iris=a.noop,void(a.support.iris=!1)):(a.support.factoryBootstrap449_iris=!0,a.fn.factoryBootstrap449_gradient=function(){var b=arguments;return this.each(function(){j?e.apply(this,b):a(this).css("backgroundImage",d.apply(this,b))})},a.fn.factoryBootstrap449_raninbowGradient=function(b,c){var d,e,f,g;for(b=b||"top",d=a.extend({},{s:100,l:50},c),e="hsl(%h%,"+d.s+"%,"+d.l+"%)",f=0,g=[];360>=f;)g.push(e.replace("%h%",f)),f+=30;return this.each(function(){a(this).factoryBootstrap449_gradient(b,g)})},n={options:{color:!1,mode:"hsl",controls:{horiz:"s",vert:"l",strip:"h"},hide:!0,border:!0,target:!1,width:200,palettes:!1},_color:"",_palettes:["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"],_inited:!1,_defaultHSLControls:{horiz:"s",vert:"l",strip:"h"},_defaultHSVControls:{horiz:"h",vert:"v",strip:"s"},_scale:{h:360,s:100,l:100,v:100},_create:function(){var b=this,d=b.element,e=b.options.color||d.val();k===!1&&c(),d.is("input")?(b.options.target?b.picker=a(i).appendTo(b.options.target):b.picker=a(i).insertAfter(d),b._addInputListeners(d)):(d.append(i),b.picker=d.find(".iris-picker")),p?9===q?b.picker.addClass("iris-ie-9"):8>=q&&b.picker.addClass("iris-ie-lt9"):o.indexOf("compatible")<0&&o.indexOf("khtml")<0&&o.match(/mozilla/)&&b.picker.addClass("iris-mozilla"),b.options.palettes&&b._addPalettes(),b._color=new Color(e).setHSpace(b.options.mode),b.options.color=b._color.toString(),b.controls={square:b.picker.find(".iris-square"),squareDrag:b.picker.find(".iris-square-value"),horiz:b.picker.find(".iris-square-horiz"),vert:b.picker.find(".iris-square-vert"),strip:b.picker.find(".iris-strip"),stripSlider:b.picker.find(".iris-strip .iris-slider-offset")},"hsv"===b.options.mode&&b._has("l",b.options.controls)?b.options.controls=b._defaultHSVControls:"hsl"===b.options.mode&&b._has("v",b.options.controls)&&(b.options.controls=b._defaultHSLControls),b.hue=b._color.h(),b.options.hide&&b.picker.hide(),b.options.border&&b.picker.addClass("iris-border"),b._initControls(),b.active="external",b._dimensions(),b._change()},_has:function(b,c){var d=!1;return a.each(c,function(a,c){return b===c?(d=!0,!1):void 0}),d},_addPalettes:function(){var b=a('<div class="iris-palette-container" />'),c=a('<a class="iris-palette" tabindex="0" />'),d=a.isArray(this.options.palettes)?this.options.palettes:this._palettes;this.picker.find(".iris-palette-container").length&&(b=this.picker.find(".iris-palette-container").detach().html("")),a.each(d,function(a,d){c.clone().data("color",d).css("backgroundColor",d).appendTo(b).height(10).width(10)}),this.picker.append(b)},_paint:function(){var a=this;a._paintDimension("top","strip"),a._paintDimension("top","vert"),a._paintDimension("left","horiz")},_paintDimension:function(a,b){var c,d=this,e=d._color,f=d.options.mode,g=d._getHSpaceColor(),h=d.controls[b],i=d.options.controls;if(b!==d.active&&("square"!==d.active||"strip"===b))switch(i[b]){case"h":if("hsv"===f){switch(g=e.clone(),b){case"horiz":g[i.vert](100);break;case"vert":g[i.horiz](100);break;case"strip":g.setHSpace("hsl")}c=g.toHsl()}else c="strip"===b?{s:g.s,l:g.l}:{s:100,l:g.l};h.factoryBootstrap449_raninbowGradient(a,c);break;case"s":"hsv"===f?"vert"===b?c=[e.clone().a(0).s(0).toCSS("rgba"),e.clone().a(1).s(0).toCSS("rgba")]:"strip"===b?c=[e.clone().s(100).toCSS("hsl"),e.clone().s(0).toCSS("hsl")]:"horiz"===b&&(c=["#fff","hsl("+g.h+",100%,50%)"]):c="vert"===b&&"h"===d.options.controls.horiz?["hsla(0, 0%, "+g.l+"%, 0)","hsla(0, 0%, "+g.l+"%, 1)"]:["hsl("+g.h+",0%,50%)","hsl("+g.h+",100%,50%)"],h.factoryBootstrap449_gradient(a,c);break;case"l":c="strip"===b?["hsl("+g.h+",100%,100%)","hsl("+g.h+", "+g.s+"%,50%)","hsl("+g.h+",100%,0%)"]:["#fff","rgba(255,255,255,0) 50%","rgba(0,0,0,0) 50%","rgba(0,0,0,1)"],h.factoryBootstrap449_gradient(a,c);break;case"v":c="strip"===b?[e.clone().v(100).toCSS(),e.clone().v(0).toCSS()]:["rgba(0,0,0,0)","#000"],h.factoryBootstrap449_gradient(a,c)}},_getHSpaceColor:function(){return"hsv"===this.options.mode?this._color.toHsv():this._color.toHsl()},_dimensions:function(b){var c,d,e,f,g=this,h=g.options,i=g.controls,j=i.square,k=g.picker.find(".iris-strip"),l="77.5%",m="12%",n=20,o=h.border?h.width-n:h.width,p=a.isArray(h.palettes)?h.palettes.length:g._palettes.length;return b&&(j.css("width",""),k.css("width",""),g.picker.css({width:"",height:""})),l=o*(parseFloat(l)/100),m=o*(parseFloat(m)/100),c=h.border?l+n:l,j.width(l).height(l),k.height(l).width(m),g.picker.css({width:h.width,height:c}),h.palettes?(d=2*l/100,f=l-(p-1)*d,e=f/p,g.picker.find(".iris-palette").each(function(b){var c=0===b?0:d;a(this).css({width:e,height:e,marginLeft:c})}),g.picker.css("paddingBottom",e+d),void k.height(e+d+l)):g.picker.css("paddingBottom","")},_addInputListeners:function(a){var b=this,c=100,d=function(c){var d=new Color(a.val()),e=a.val().replace(/^#/,"");a.removeClass("iris-error"),d.error?""!==e&&a.addClass("iris-error"):d.toString()!==b._color.toString()&&("keyup"===c.type&&e.match(/^[0-9a-fA-F]{3}$/)||b._setOption("color",d.toString()))};a.on("change",d).on("keyup",b._debounce(d,c)),b.options.hide&&a.one("focus",function(){b.show()})},_initControls:function(){var b=this,c=b.controls,d=c.square,e=b.options.controls,f=b._scale[e.strip];c.stripSlider.slider({orientation:"vertical",max:f,slide:function(a,c){b.active="strip","h"===e.strip&&(c.value=f-c.value),b._color[e.strip](c.value),b._change.apply(b,arguments)}}),c.squareDrag.draggable({containment:"parent",zIndex:1e3,cursor:"move",drag:function(a,c){b._squareDrag(a,c)},start:function(){d.addClass("iris-dragging"),a(this).addClass("ui-state-focus")},stop:function(){d.removeClass("iris-dragging"),a(this).removeClass("ui-state-focus")}}).on("mousedown mouseup",function(c){var d="ui-state-focus";c.preventDefault(),"mousedown"===c.type?(b.picker.find("."+d).removeClass(d).blur(),a(this).addClass(d).focus()):a(this).removeClass(d)}).on("keydown",function(a){var d=c.square,e=c.squareDrag,f=e.position(),g=b.options.width/100;switch(a.altKey&&(g*=10),a.keyCode){case 37:f.left-=g;break;case 38:f.top-=g;break;case 39:f.left+=g;break;case 40:f.top+=g;break;default:return!0}f.left=Math.max(0,Math.min(f.left,d.width())),f.top=Math.max(0,Math.min(f.top,d.height())),e.css(f),b._squareDrag(a,{position:f}),a.preventDefault()}),d.mousedown(function(c){var d,e;1===c.which&&a(c.target).is("div")&&(d=b.controls.square.offset(),e={top:c.pageY-d.top,left:c.pageX-d.left},c.preventDefault(),b._squareDrag(c,{position:e}),c.target=b.controls.squareDrag.get(0),b.controls.squareDrag.css(e).trigger(c))}),b.options.palettes&&b._paletteListeners()},_paletteListeners:function(){var b=this;b.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){b._color.fromCSS(a(this).data("color")),b.active="external",b._change()}).on("keydown.palette",".iris-palette",function(b){return 13!==b.keyCode&&32!==b.keyCode?!0:(b.stopPropagation(),void a(this).click())})},_squareDrag:function(a,b){var c=this,d=c.options.controls,e=c._squareDimensions(),f=Math.round((e.h-b.position.top)/e.h*c._scale[d.vert]),g=c._scale[d.horiz]-Math.round((e.w-b.position.left)/e.w*c._scale[d.horiz]);c._color[d.horiz](g)[d.vert](f),c.active="square",c._change.apply(c,arguments)},_setOption:function(b,c){var d,e,f,g=this,h=g.options[b],i=!1;switch(g.options[b]=c,b){case"color":c=""+c,d=c.replace(/^#/,""),e=new Color(c).setHSpace(g.options.mode),e.error?g.options[b]=h:(g._color=e,g.options.color=g.options[b]=g._color.toString(),g.active="external",g._change());break;case"palettes":i=!0,c?g._addPalettes():g.picker.find(".iris-palette-container").remove(),h||g._paletteListeners();break;case"width":i=!0;break;case"border":i=!0,f=c?"addClass":"removeClass",g.picker[f]("iris-border");break;case"mode":case"controls":if(h===c)return;return f=g.element,h=g.options,h.hide=!g.picker.is(":visible"),g.destroy(),g.picker.remove(),a(g.element).iris(h)}i&&g._dimensions(!0)},_squareDimensions:function(a){var c,d,e=this.controls.square;return a!==b&&e.data("dimensions")?e.data("dimensions"):(d=this.controls.squareDrag,c={w:e.width(),h:e.height()},e.data("dimensions",c),c)},_isNonHueControl:function(a,b){return"square"===a&&"h"===this.options.controls.strip?!0:"external"===b||"h"===b&&"strip"===a?!1:!0},_change:function(){var b=this,c=b.controls,d=b._getHSpaceColor(),e=["square","strip"],f=b.options.controls,g=f[b.active]||"external",h=b.hue;"strip"===b.active?e=[]:"external"!==b.active&&e.pop(),a.each(e,function(a,e){var g,h,i;if(e!==b.active)switch(e){case"strip":g="h"===f.strip?b._scale[f.strip]-d[f.strip]:d[f.strip],c.stripSlider.slider("value",g);break;case"square":h=b._squareDimensions(),i={left:d[f.horiz]/b._scale[f.horiz]*h.w,top:h.h-d[f.vert]/b._scale[f.vert]*h.h},b.controls.squareDrag.css(i)}}),d.h!==h&&b._isNonHueControl(b.active,g)&&b._color.h(h),b.hue=b._color.h(),b.options.color=b._color.toString(),b._inited&&b._trigger("change",{type:b.active},{color:b._color}),b.element.is(":input")&&!b._color.error&&(b.element.removeClass("iris-error"),b.element.val()!==b._color.toString()&&b.element.val(b._color.toString())),b._paint(),b._inited=!0,b.active=!1},_debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},show:function(){this.picker.show()},hide:function(){this.picker.hide()},toggle:function(){this.picker.toggle()},color:function(a){return a===!0?this._color.clone():a===b?this._color.toString():void this.option("color",a)}},a.widget("a8c.factoryBootstrap449_iris",n),void a('<style id="iris-css">'+m+"</style>").appendTo("head"))}(jQuery);
libs/factory/bootstrap/assets/js-min/plugin.moment-with-locales.min.js ADDED
@@ -0,0 +1,526 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap generator - v1.0.1, 2021-02-04
3
+ * Webcraftic factory build
4
+ *
5
+ * Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
6
+ * Site: http://webcraftic.com
7
+ * Support: http://webcraftic.com/contact-us/
8
+ */
9
+
10
+ !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return ze.apply(null,arguments)}function b(a){ze=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function e(a){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(a).length;var b;for(b in a)if(a.hasOwnProperty(b))return!1;return!0}function f(a){return void 0===a}function g(a){return"number"==typeof a||"[object Number]"===Object.prototype.toString.call(a)}function h(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function i(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function j(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function k(a,b){for(var c in b)j(b,c)&&(a[c]=b[c]);return j(b,"toString")&&(a.toString=b.toString),j(b,"valueOf")&&(a.valueOf=b.valueOf),a}function l(a,b,c,d){return yb(a,b,c,d,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function n(a){return null==a._pf&&(a._pf=m()),a._pf}function o(a){if(null==a._isValid){var b=n(a),c=Ae.call(b.parsedDateParts,function(a){return null!=a}),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.weekdayMismatch&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function p(a){var b=l(NaN);return null!=a?k(n(b),a):n(b).userInvalidated=!0,b}function q(a,b){var c,d,e;if(f(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),f(b._i)||(a._i=b._i),f(b._f)||(a._f=b._f),f(b._l)||(a._l=b._l),f(b._strict)||(a._strict=b._strict),f(b._tzm)||(a._tzm=b._tzm),f(b._isUTC)||(a._isUTC=b._isUTC),f(b._offset)||(a._offset=b._offset),f(b._pf)||(a._pf=n(b)),f(b._locale)||(a._locale=b._locale),Be.length>0)for(c=0;c<Be.length;c++)d=Be[c],e=b[d],f(e)||(a[d]=e);return a}function r(b){q(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ce===!1&&(Ce=!0,a.updateOffset(this),Ce=!1)}function s(a){return a instanceof r||null!=a&&null!=a._isAMomentObject}function t(a){return 0>a?Math.ceil(a)||0:Math.floor(a)}function u(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=t(b)),c}function v(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&u(a[d])!==u(b[d]))&&g++;return g+f}function w(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function x(b,c){var d=!0;return k(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){e+="\n["+g+"] ";for(var h in arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}w(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)},c)}function y(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),De[b]||(w(c),De[b]=!0)}function z(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function A(a){var b,c;for(c in a)b=a[c],z(b)?this[c]=b:this["_"+c]=b;this._config=a,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function B(a,b){var c,e=k({},a);for(c in b)j(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},k(e[c],a[c]),k(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)j(a,c)&&!j(b,c)&&d(a[c])&&(e[c]=k({},e[c]));return e}function C(a){null!=a&&this.set(a)}function D(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return z(d)?d.call(b,c):d}function E(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function F(){return this._invalidDate}function G(a){return this._ordinal.replace("%d",a)}function H(a,b,c,d){var e=this._relativeTime[c];return z(e)?e(a,b,c,d):e.replace(/%d/i,a)}function I(a,b){var c=this._relativeTime[a>0?"future":"past"];return z(c)?c(b):c.replace(/%s/i,b)}function J(a,b){var c=a.toLowerCase();Le[c]=Le[c+"s"]=Le[b]=a}function K(a){return"string"==typeof a?Le[a]||Le[a.toLowerCase()]:void 0}function L(a){var b,c,d={};for(c in a)j(a,c)&&(b=K(c),b&&(d[b]=a[c]));return d}function M(a,b){Me[a]=b}function N(a){var b=[];for(var c in a)b.push({unit:c,priority:Me[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function O(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function P(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Qe[a]=e),b&&(Qe[b[0]]=function(){return O(e.apply(this,arguments),b[1],b[2])}),c&&(Qe[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function Q(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function R(a){var b,c,d=a.match(Ne);for(b=0,c=d.length;c>b;b++)Qe[d[b]]?d[b]=Qe[d[b]]:d[b]=Q(d[b]);return function(b){var e,f="";for(e=0;c>e;e++)f+=z(d[e])?d[e].call(b,a):d[e];return f}}function S(a,b){return a.isValid()?(b=T(b,a.localeData()),Pe[b]=Pe[b]||R(b),Pe[b](a)):a.localeData().invalidDate()}function T(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Oe.lastIndex=0;d>=0&&Oe.test(a);)a=a.replace(Oe,c),Oe.lastIndex=0,d-=1;return a}function U(a,b,c){gf[a]=z(b)?b:function(a,d){return a&&c?c:b}}function V(a,b){return j(gf,a)?gf[a](b._strict,b._locale):new RegExp(W(a))}function W(a){return X(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function X(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Y(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),g(b)&&(d=function(a,c){c[b]=u(a)}),c=0;c<a.length;c++)hf[a[c]]=d}function Z(a,b){Y(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function $(a,b,c){null!=b&&j(hf,a)&&hf[a](b,c._a,c,a)}function _(a){return aa(a)?366:365}function aa(a){return a%4===0&&a%100!==0||a%400===0}function ba(){return aa(this.year())}function ca(b,c){return function(d){return null!=d?(ea(this,b,d),a.updateOffset(this,c),this):da(this,b)}}function da(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function ea(a,b,c){a.isValid()&&!isNaN(c)&&("FullYear"===b&&aa(a.year())&&1===a.month()&&29===a.date()?a._d["set"+(a._isUTC?"UTC":"")+b](c,a.month(),ia(c,a.month())):a._d["set"+(a._isUTC?"UTC":"")+b](c))}function fa(a){return a=K(a),z(this[a])?this[a]():this}function ga(a,b){if("object"==typeof a){a=L(a);for(var c=N(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else if(a=K(a),z(this[a]))return this[a](b);return this}function ha(a,b){return(a%b+b)%b}function ia(a,b){if(isNaN(a)||isNaN(b))return NaN;var c=ha(b,12);return a+=(b-c)/12,1===c?aa(a)?29:28:31-c%7%2}function ja(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||uf).test(b)?"format":"standalone"][a.month()]:c(this._months)?this._months:this._months.standalone}function ka(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[uf.test(b)?"format":"standalone"][a.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function la(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;12>d;++d)f=l([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=sf.call(this._shortMonthsParse,g),-1!==e?e:null):(e=sf.call(this._longMonthsParse,g),-1!==e?e:null):"MMM"===b?(e=sf.call(this._shortMonthsParse,g),-1!==e?e:(e=sf.call(this._longMonthsParse,g),-1!==e?e:null)):(e=sf.call(this._longMonthsParse,g),-1!==e?e:(e=sf.call(this._shortMonthsParse,g),-1!==e?e:null))}function ma(a,b,c){var d,e,f;if(this._monthsParseExact)return la.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12>d;d++){if(e=l([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function na(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=u(b);else if(b=a.localeData().monthsParse(b),!g(b))return a;return c=Math.min(a.date(),ia(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function oa(b){return null!=b?(na(this,b),a.updateOffset(this,!0),this):da(this,"Month")}function pa(){return ia(this.year(),this.month())}function qa(a){return this._monthsParseExact?(j(this,"_monthsRegex")||sa.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(j(this,"_monthsShortRegex")||(this._monthsShortRegex=xf),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function ra(a){return this._monthsParseExact?(j(this,"_monthsRegex")||sa.call(this),a?this._monthsStrictRegex:this._monthsRegex):(j(this,"_monthsRegex")||(this._monthsRegex=yf),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function sa(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;12>b;b++)c=l([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;12>b;b++)d[b]=X(d[b]),e[b]=X(e[b]);for(b=0;24>b;b++)f[b]=X(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function ta(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 100>a&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function ua(a){var b=new Date(Date.UTC.apply(null,arguments));return 100>a&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function va(a,b,c){var d=7+b-c,e=(7+ua(a,0,d).getUTCDay()-b)%7;return-e+d-1}function wa(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=va(a,d,e),j=1+7*(b-1)+h+i;return 0>=j?(f=a-1,g=_(f)+j):j>_(a)?(f=a+1,g=j-_(a)):(f=a,g=j),{year:f,dayOfYear:g}}function xa(a,b,c){var d,e,f=va(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return 1>g?(e=a.year()-1,d=g+ya(e,b,c)):g>ya(a.year(),b,c)?(d=g-ya(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function ya(a,b,c){var d=va(a,b,c),e=va(a+1,b,c);return(_(a)-d+e)/7}function za(a){return xa(a,this._week.dow,this._week.doy).week}function Aa(){return this._week.dow}function Ba(){return this._week.doy}function Ca(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Da(a){var b=xa(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function Ea(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function Fa(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Ga(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:c(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ha(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort}function Ia(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin}function Ja(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;7>d;++d)f=l([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=sf.call(this._weekdaysParse,g),-1!==e?e:null):"ddd"===b?(e=sf.call(this._shortWeekdaysParse,g),-1!==e?e:null):(e=sf.call(this._minWeekdaysParse,g),-1!==e?e:null):"dddd"===b?(e=sf.call(this._weekdaysParse,g),-1!==e?e:(e=sf.call(this._shortWeekdaysParse,g),-1!==e?e:(e=sf.call(this._minWeekdaysParse,g),-1!==e?e:null))):"ddd"===b?(e=sf.call(this._shortWeekdaysParse,g),-1!==e?e:(e=sf.call(this._weekdaysParse,g),-1!==e?e:(e=sf.call(this._minWeekdaysParse,g),-1!==e?e:null))):(e=sf.call(this._minWeekdaysParse,g),-1!==e?e:(e=sf.call(this._weekdaysParse,g),-1!==e?e:(e=sf.call(this._shortWeekdaysParse,g),-1!==e?e:null)))}function Ka(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ja.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;7>d;d++){if(e=l([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function La(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Ea(a,this.localeData()),this.add(a-b,"d")):b}function Ma(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Na(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=Fa(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7}function Oa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Ra.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(j(this,"_weekdaysRegex")||(this._weekdaysRegex=Df),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function Pa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Ra.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(j(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ef),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Qa(a){return this._weekdaysParseExact?(j(this,"_weekdaysRegex")||Ra.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(j(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ff),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ra(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],j=[];for(b=0;7>b;b++)c=l([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),j.push(d),j.push(e),j.push(f);for(g.sort(a),h.sort(a),i.sort(a),j.sort(a),b=0;7>b;b++)h[b]=X(h[b]),i[b]=X(i[b]),j[b]=X(j[b]);this._weekdaysRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Sa(){return this.hours()%12||12}function Ta(){return this.hours()||24}function Ua(a,b){P(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Va(a,b){return b._meridiemParse}function Wa(a){return"p"===(a+"").toLowerCase().charAt(0)}function Xa(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Ya(a){return a?a.toLowerCase().replace("_","-"):a}function Za(a){for(var b,c,d,e,f=0;f<a.length;){for(e=Ya(a[f]).split("-"),b=e.length,c=Ya(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=$a(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function $a(a){var b=null;if(!Kf[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Gf._abbr;var c=require;c("./locale/"+a),_a(b)}catch(d){}return Kf[a]}function _a(a,b){var c;return a&&(c=f(b)?cb(a):ab(a,b),c&&(Gf=c)),Gf._abbr}function ab(a,b){if(null!==b){var c=Jf;if(b.abbr=a,null!=Kf[a])y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=Kf[a]._config;else if(null!=b.parentLocale){if(null==Kf[b.parentLocale])return Lf[b.parentLocale]||(Lf[b.parentLocale]=[]),Lf[b.parentLocale].push({name:a,config:b}),null;c=Kf[b.parentLocale]._config}return Kf[a]=new C(B(c,b)),Lf[a]&&Lf[a].forEach(function(a){ab(a.name,a.config)}),_a(a),Kf[a]}return delete Kf[a],null}function bb(a,b){if(null!=b){var c,d,e=Jf;d=$a(a),null!=d&&(e=d._config),b=B(e,b),c=new C(b),c.parentLocale=Kf[a],Kf[a]=c,_a(a)}else null!=Kf[a]&&(null!=Kf[a].parentLocale?Kf[a]=Kf[a].parentLocale:null!=Kf[a]&&delete Kf[a]);return Kf[a]}function cb(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Gf;if(!c(a)){if(b=$a(a))return b;a=[a]}return Za(a)}function db(){return Ee(Kf)}function eb(a){var b,c=a._a;return c&&-2===n(a).overflow&&(b=c[kf]<0||c[kf]>11?kf:c[lf]<1||c[lf]>ia(c[jf],c[kf])?lf:c[mf]<0||c[mf]>24||24===c[mf]&&(0!==c[nf]||0!==c[of]||0!==c[pf])?mf:c[nf]<0||c[nf]>59?nf:c[of]<0||c[of]>59?of:c[pf]<0||c[pf]>999?pf:-1,n(a)._overflowDayOfYear&&(jf>b||b>lf)&&(b=lf),n(a)._overflowWeeks&&-1===b&&(b=qf),n(a)._overflowWeekday&&-1===b&&(b=rf),n(a).overflow=b),a}function fb(a,b,c){return null!=a?a:null!=b?b:c}function gb(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function hb(a){var b,c,d,e,f=[];if(!a._d){for(d=gb(a),a._w&&null==a._a[lf]&&null==a._a[kf]&&ib(a),null!=a._dayOfYear&&(e=fb(a._a[jf],d[jf]),(a._dayOfYear>_(e)||0===a._dayOfYear)&&(n(a)._overflowDayOfYear=!0),c=ua(e,0,a._dayOfYear),a._a[kf]=c.getUTCMonth(),a._a[lf]=c.getUTCDate()),b=0;3>b&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;7>b;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[mf]&&0===a._a[nf]&&0===a._a[of]&&0===a._a[pf]&&(a._nextDay=!0,a._a[mf]=0),a._d=(a._useUTC?ua:ta).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[mf]=24),a._w&&"undefined"!=typeof a._w.d&&a._w.d!==a._d.getDay()&&(n(a).weekdayMismatch=!0)}}function ib(a){var b,c,d,e,f,g,h,i;if(b=a._w,null!=b.GG||null!=b.W||null!=b.E)f=1,g=4,c=fb(b.GG,a._a[jf],xa(zb(),1,4).year),d=fb(b.W,1),e=fb(b.E,1),(1>e||e>7)&&(i=!0);else{f=a._locale._week.dow,g=a._locale._week.doy;var j=xa(zb(),f,g);c=fb(b.gg,a._a[jf],j.year),d=fb(b.w,j.week),null!=b.d?(e=b.d,(0>e||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f}1>d||d>ya(c,f,g)?n(a)._overflowWeeks=!0:null!=i?n(a)._overflowWeekday=!0:(h=wa(c,d,e,f,g),a._a[jf]=h.year,a._dayOfYear=h.dayOfYear)}function jb(a){var b,c,d,e,f,g,h=a._i,i=Mf.exec(h)||Nf.exec(h);if(i){for(n(a).iso=!0,b=0,c=Pf.length;c>b;b++)if(Pf[b][1].exec(i[1])){e=Pf[b][0],d=Pf[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Qf.length;c>b;b++)if(Qf[b][1].exec(i[3])){f=(i[2]||" ")+Qf[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!Of.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),rb(a)}else a._isValid=!1}function kb(a,b,c,d,e,f){var g=[lb(a),wf.indexOf(b),parseInt(c,10),parseInt(d,10),parseInt(e,10)];return f&&g.push(parseInt(f,10)),g}function lb(a){var b=parseInt(a,10);return 49>=b?2e3+b:999>=b?1900+b:b}function mb(a){return a.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function nb(a,b,c){if(a){var d=Bf.indexOf(a),e=new Date(b[0],b[1],b[2]).getDay();if(d!==e)return n(c).weekdayMismatch=!0,c._isValid=!1,!1}return!0}function ob(a,b,c){if(a)return Tf[a];if(b)return 0;var d=parseInt(c,10),e=d%100,f=(d-e)/100;return 60*f+e}function pb(a){var b=Sf.exec(mb(a._i));if(b){var c=kb(b[4],b[3],b[2],b[5],b[6],b[7]);if(!nb(b[1],c,a))return;a._a=c,a._tzm=ob(b[8],b[9],b[10]),a._d=ua.apply(null,a._a),a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),n(a).rfc2822=!0}else a._isValid=!1}function qb(b){var c=Rf.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(jb(b),void(b._isValid===!1&&(delete b._isValid,pb(b),b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b)))))}function rb(b){if(b._f===a.ISO_8601)return void jb(b);if(b._f===a.RFC_2822)return void pb(b);b._a=[],n(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=T(b._f,b._locale).match(Ne)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(V(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&n(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Qe[f]?(d?n(b).empty=!1:n(b).unusedTokens.push(f),$(f,d,b)):b._strict&&!d&&n(b).unusedTokens.push(f);n(b).charsLeftOver=i-j,h.length>0&&n(b).unusedInput.push(h),b._a[mf]<=12&&n(b).bigHour===!0&&b._a[mf]>0&&(n(b).bigHour=void 0),n(b).parsedDateParts=b._a.slice(0),n(b).meridiem=b._meridiem,b._a[mf]=sb(b._locale,b._a[mf],b._meridiem),hb(b),eb(b)}function sb(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function tb(a){var b,c,d,e,f;if(0===a._f.length)return n(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=q({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],rb(b),o(b)&&(f+=n(b).charsLeftOver,f+=10*n(b).unusedTokens.length,n(b).score=f,(null==d||d>f)&&(d=f,c=b));k(a,c||b)}function ub(a){if(!a._d){var b=L(a._i);a._a=i([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),hb(a)}}function vb(a){var b=new r(eb(wb(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function wb(a){var b=a._i,d=a._f;return a._locale=a._locale||cb(a._l),null===b||void 0===d&&""===b?p({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),s(b)?new r(eb(b)):(h(b)?a._d=b:c(d)?tb(a):d?rb(a):xb(a),o(a)||(a._d=null),a))}function xb(b){var e=b._i;f(e)?b._d=new Date(a.now()):h(e)?b._d=new Date(e.valueOf()):"string"==typeof e?qb(b):c(e)?(b._a=i(e.slice(0),function(a){return parseInt(a,10)}),hb(b)):d(e)?ub(b):g(e)?b._d=new Date(e):a.createFromInputFallback(b)}function yb(a,b,f,g,h){var i={};return(f===!0||f===!1)&&(g=f,f=void 0),(d(a)&&e(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,vb(i)}function zb(a,b,c,d){return yb(a,b,c,d,!1)}function Ab(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return zb();for(d=b[0],e=1;e<b.length;++e)(!b[e].isValid()||b[e][a](d))&&(d=b[e]);return d}function Bb(){var a=[].slice.call(arguments,0);return Ab("isBefore",a)}function Cb(){var a=[].slice.call(arguments,0);return Ab("isAfter",a)}function Db(a){for(var b in a)if(-1===sf.call(Xf,b)||null!=a[b]&&isNaN(a[b]))return!1;for(var c=!1,d=0;d<Xf.length;++d)if(a[Xf[d]]){if(c)return!1;parseFloat(a[Xf[d]])!==u(a[Xf[d]])&&(c=!0)}return!0}function Eb(){return this._isValid}function Fb(){return Yb(NaN)}function Gb(a){var b=L(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._isValid=Db(b),this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=cb(),this._bubble()}function Hb(a){return a instanceof Gb}function Ib(a){return 0>a?-1*Math.round(-1*a):Math.round(a)}function Jb(a,b){P(a,0,0,function(){var a=this.utcOffset(),c="+";return 0>a&&(a=-a,c="-"),c+O(~~(a/60),2)+b+O(~~a%60,2)})}function Kb(a,b){var c=(b||"").match(a);if(null===c)return null;var d=c[c.length-1]||[],e=(d+"").match(Yf)||["-",0,0],f=+(60*e[1])+u(e[2]);return 0===f?0:"+"===e[0]?f:-f}function Lb(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(s(b)||h(b)?b.valueOf():zb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):zb(b).local()}function Mb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Nb(b,c,d){var e,f=this._offset||0;if(!this.isValid())return null!=b?this:NaN;if(null!=b){if("string"==typeof b){if(b=Kb(df,b),null===b)return this}else Math.abs(b)<16&&!d&&(b=60*b);return!this._isUTC&&c&&(e=Mb(this)),this._offset=b,this._isUTC=!0,null!=e&&this.add(e,"m"),f!==b&&(!c||this._changeInProgress?bc(this,Yb(b-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?f:Mb(this)}function Ob(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Pb(a){return this.utcOffset(0,a)}function Qb(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Mb(this),"m")),this}function Rb(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var a=Kb(cf,this._i);null!=a?this.utcOffset(a):this.utcOffset(0,!0)}return this}function Sb(a){return this.isValid()?(a=a?zb(a).utcOffset():0,(this.utcOffset()-a)%60===0):!1}function Tb(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ub(){if(!f(this._isDSTShifted))return this._isDSTShifted;var a={};if(q(a,this),a=wb(a),a._a){var b=a._isUTC?l(a._a):zb(a._a);this._isDSTShifted=this.isValid()&&v(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Vb(){return this.isValid()?!this._isUTC:!1}function Wb(){return this.isValid()?this._isUTC:!1}function Xb(){return this.isValid()?this._isUTC&&0===this._offset:!1}function Yb(a,b){var c,d,e,f=a,h=null;return Hb(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:g(a)?(f={},b?f[b]=a:f.milliseconds=a):(h=Zf.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:u(h[lf])*c,h:u(h[mf])*c,m:u(h[nf])*c,s:u(h[of])*c,ms:u(Ib(1e3*h[pf]))*c}):(h=$f.exec(a))?(c="-"===h[1]?-1:("+"===h[1],1),f={y:Zb(h[2],c),M:Zb(h[3],c),w:Zb(h[4],c),d:Zb(h[5],c),h:Zb(h[6],c),m:Zb(h[7],c),s:Zb(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=_b(zb(f.from),zb(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new Gb(f),Hb(a)&&j(a,"_locale")&&(d._locale=a._locale),d}function Zb(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function $b(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function _b(a,b){var c;return a.isValid()&&b.isValid()?(b=Lb(b,a),a.isBefore(b)?c=$b(a,b):(c=$b(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function ac(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(y(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Yb(c,d),bc(this,e,a),this}}function bc(b,c,d,e){var f=c._milliseconds,g=Ib(c._days),h=Ib(c._months);b.isValid()&&(e=null==e?!0:e,h&&na(b,da(b,"Month")+h*d),g&&ea(b,"Date",da(b,"Date")+g*d),f&&b._d.setTime(b._d.valueOf()+f*d),e&&a.updateOffset(b,g||h))}function cc(a,b){var c=a.diff(b,"days",!0);return-6>c?"sameElse":-1>c?"lastWeek":0>c?"lastDay":1>c?"sameDay":2>c?"nextDay":7>c?"nextWeek":"sameElse"}function dc(b,c){var d=b||zb(),e=Lb(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(z(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,zb(d)))}function ec(){return new r(this)}function fc(a,b){var c=s(a)?a:zb(a);return this.isValid()&&c.isValid()?(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf()):!1}function gc(a,b){var c=s(a)?a:zb(a);return this.isValid()&&c.isValid()?(b=K(f(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf()):!1}function hc(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function ic(a,b){var c,d=s(a)?a:zb(a);return this.isValid()&&d.isValid()?(b=K(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf())):!1}function jc(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function kc(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function lc(a,b,c){var d,e,f;if(!this.isValid())return NaN;if(d=Lb(a,this),!d.isValid())return NaN;switch(e=6e4*(d.utcOffset()-this.utcOffset()),b=K(b)){case"year":f=mc(this,d)/12;break;case"month":f=mc(this,d);break;case"quarter":f=mc(this,d)/3;break;case"second":f=(this-d)/1e3;break;case"minute":f=(this-d)/6e4;break;case"hour":f=(this-d)/36e5;break;case"day":f=(this-d-e)/864e5;break;case"week":f=(this-d-e)/6048e5;break;default:f=this-d}return c?f:t(f)}function mc(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return 0>b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function nc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function oc(){if(!this.isValid())return null;var a=this.clone().utc();return a.year()<0||a.year()>9999?S(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):z(Date.prototype.toISOString)?this.toDate().toISOString():S(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function pc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var a="moment",b="";this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",b="Z");var c="["+a+'("]',d=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",e="-MM-DD[T]HH:mm:ss.SSS",f=b+'[")]';return this.format(c+d+e+f)}function qc(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=S(this,b);return this.localeData().postformat(c)}function rc(a,b){return this.isValid()&&(s(a)&&a.isValid()||zb(a).isValid())?Yb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function sc(a){return this.from(zb(),a)}function tc(a,b){return this.isValid()&&(s(a)&&a.isValid()||zb(a).isValid())?Yb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function uc(a){return this.to(zb(),a)}function vc(a){var b;return void 0===a?this._locale._abbr:(b=cb(a),null!=b&&(this._locale=b),this)}function wc(){return this._locale}function xc(a){switch(a=K(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function yc(a){return a=K(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function zc(){return this._d.valueOf()-6e4*(this._offset||0)}function Ac(){
11
+ return Math.floor(this.valueOf()/1e3)}function Bc(){return new Date(this.valueOf())}function Cc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function Dc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function Ec(){return this.isValid()?this.toISOString():null}function Fc(){return o(this)}function Gc(){return k({},n(this))}function Hc(){return n(this).overflow}function Ic(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Jc(a,b){P(0,[a,a.length],0,b)}function Kc(a){return Oc.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Lc(a){return Oc.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Mc(){return ya(this.year(),1,4)}function Nc(){var a=this.localeData()._week;return ya(this.year(),a.dow,a.doy)}function Oc(a,b,c,d,e){var f;return null==a?xa(this,d,e).year:(f=ya(a,d,e),b>f&&(b=f),Pc.call(this,a,b,c,d,e))}function Pc(a,b,c,d,e){var f=wa(a,b,c,d,e),g=ua(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Qc(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Rc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function Sc(a,b){b[pf]=u(1e3*("0."+a))}function Tc(){return this._isUTC?"UTC":""}function Uc(){return this._isUTC?"Coordinated Universal Time":""}function Vc(a){return zb(1e3*a)}function Wc(){return zb.apply(null,arguments).parseZone()}function Xc(a){return a}function Yc(a,b,c,d){var e=cb(),f=l().set(d,b);return e[c](f,a)}function Zc(a,b,c){if(g(a)&&(b=a,a=void 0),a=a||"",null!=b)return Yc(a,b,c,"month");var d,e=[];for(d=0;12>d;d++)e[d]=Yc(a,d,c,"month");return e}function $c(a,b,c,d){"boolean"==typeof a?(g(b)&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,g(b)&&(c=b,b=void 0),b=b||"");var e=cb(),f=a?e._week.dow:0;if(null!=c)return Yc(b,(c+f)%7,d,"day");var h,i=[];for(h=0;7>h;h++)i[h]=Yc(b,(h+f)%7,d,"day");return i}function _c(a,b){return Zc(a,b,"months")}function ad(a,b){return Zc(a,b,"monthsShort")}function bd(a,b,c){return $c(a,b,c,"weekdays")}function cd(a,b,c){return $c(a,b,c,"weekdaysShort")}function dd(a,b,c){return $c(a,b,c,"weekdaysMin")}function ed(){var a=this._data;return this._milliseconds=jg(this._milliseconds),this._days=jg(this._days),this._months=jg(this._months),a.milliseconds=jg(a.milliseconds),a.seconds=jg(a.seconds),a.minutes=jg(a.minutes),a.hours=jg(a.hours),a.months=jg(a.months),a.years=jg(a.years),this}function fd(a,b,c,d){var e=Yb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function gd(a,b){return fd(this,a,b,1)}function hd(a,b){return fd(this,a,b,-1)}function id(a){return 0>a?Math.floor(a):Math.ceil(a)}function jd(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||0>=f&&0>=g&&0>=h||(f+=864e5*id(ld(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=t(f/1e3),i.seconds=a%60,b=t(a/60),i.minutes=b%60,c=t(b/60),i.hours=c%24,g+=t(c/24),e=t(kd(g)),h+=e,g-=id(ld(e)),d=t(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function kd(a){return 4800*a/146097}function ld(a){return 146097*a/4800}function md(a){if(!this.isValid())return NaN;var b,c,d=this._milliseconds;if(a=K(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+kd(b),"month"===a?c:c/12;switch(b=this._days+Math.round(ld(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function nd(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12):NaN}function od(a){return function(){return this.as(a)}}function pd(){return Yb(this)}function qd(a){return a=K(a),this.isValid()?this[a+"s"]():NaN}function rd(a){return function(){return this.isValid()?this._data[a]:NaN}}function sd(){return t(this.days()/7)}function td(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function ud(a,b,c){var d=Yb(a).abs(),e=zg(d.as("s")),f=zg(d.as("m")),g=zg(d.as("h")),h=zg(d.as("d")),i=zg(d.as("M")),j=zg(d.as("y")),k=e<=Ag.ss&&["s",e]||e<Ag.s&&["ss",e]||1>=f&&["m"]||f<Ag.m&&["mm",f]||1>=g&&["h"]||g<Ag.h&&["hh",g]||1>=h&&["d"]||h<Ag.d&&["dd",h]||1>=i&&["M"]||i<Ag.M&&["MM",i]||1>=j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,td.apply(null,k)}function vd(a){return void 0===a?zg:"function"==typeof a?(zg=a,!0):!1}function wd(a,b){return void 0===Ag[a]?!1:void 0===b?Ag[a]:(Ag[a]=b,"s"===a&&(Ag.ss=b-1),!0)}function xd(a){if(!this.isValid())return this.localeData().invalidDate();var b=this.localeData(),c=ud(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function yd(a){return(a>0)-(0>a)||+a}function zd(){if(!this.isValid())return this.localeData().invalidDate();var a,b,c,d=Bg(this._milliseconds)/1e3,e=Bg(this._days),f=Bg(this._months);a=t(d/60),b=t(a/60),d%=60,a%=60,c=t(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d?d.toFixed(3).replace(/\.?0+$/,""):"",m=this.asSeconds();if(!m)return"P0D";var n=0>m?"-":"",o=yd(this._months)!==yd(m)?"-":"",p=yd(this._days)!==yd(m)?"-":"",q=yd(this._milliseconds)!==yd(m)?"-":"";return n+"P"+(g?o+g+"Y":"")+(h?o+h+"M":"")+(i?p+i+"D":"")+(j||k||l?"T":"")+(j?q+j+"H":"")+(k?q+k+"M":"")+(l?q+l+"S":"")}
12
+ //! moment.js locale configuration
13
+ //! locale : Belarusian [be]
14
+ //! author : Dmitry Demidov : https://github.com/demidov91
15
+ //! author: Praleska: http://praleska.pro/
16
+ //! Author : Menelion Elensúle : https://github.com/Oire
17
+ function Ad(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&4>=b%10&&(10>b%100||b%100>=20)?c[1]:c[2]}function Bd(a,b,c){var d={mm:b?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:b?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===c?b?"хвіліна":"хвіліну":"h"===c?b?"гадзіна":"гадзіну":a+" "+Ad(d[c],+a)}
18
+ //! moment.js locale configuration
19
+ //! locale : Breton [br]
20
+ //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
21
+ function Cd(a,b,c){var d={mm:"munutenn",MM:"miz",dd:"devezh"};return a+" "+Fd(d[c],a)}function Dd(a){switch(Ed(a)){case 1:case 3:case 4:case 5:case 9:return a+" bloaz";default:return a+" vloaz"}}function Ed(a){return a>9?Ed(a%10):a}function Fd(a,b){return 2===b?Gd(a):a}function Gd(a){var b={m:"v",b:"v",d:"z"};return void 0===b[a.charAt(0)]?a:b[a.charAt(0)]+a.substring(1)}
22
+ //! moment.js locale configuration
23
+ //! locale : Bosnian [bs]
24
+ //! author : Nedim Cholich : https://github.com/frontyard
25
+ //! based on (hr) translation by Bojan Marković
26
+ function Hd(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}function Id(a){return a>1&&5>a&&1!==~~(a/10)}function Jd(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekund":"pár sekundami";case"m":return b?"minuta":d?"minutu":"minutou";case"mm":return b||d?e+(Id(a)?"minuty":"minut"):e+"minutami";case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(Id(a)?"hodiny":"hodin"):e+"hodinami";case"d":return b||d?"den":"dnem";case"dd":return b||d?e+(Id(a)?"dny":"dní"):e+"dny";case"M":return b||d?"měsíc":"měsícem";case"MM":return b||d?e+(Id(a)?"měsíce":"měsíců"):e+"měsíci";case"y":return b||d?"rok":"rokem";case"yy":return b||d?e+(Id(a)?"roky":"let"):e+"lety"}}
27
+ //! moment.js locale configuration
28
+ //! locale : German (Austria) [de-at]
29
+ //! author : lluchs : https://github.com/lluchs
30
+ //! author: Menelion Elensúle: https://github.com/Oire
31
+ //! author : Martin Groller : https://github.com/MadMG
32
+ //! author : Mikolaj Dadela : https://github.com/mik01aj
33
+ function Kd(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}
34
+ //! moment.js locale configuration
35
+ //! locale : German (Switzerland) [de-ch]
36
+ //! author : sschueller : https://github.com/sschueller
37
+ function Ld(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}
38
+ //! moment.js locale configuration
39
+ //! locale : German [de]
40
+ //! author : lluchs : https://github.com/lluchs
41
+ //! author: Menelion Elensúle: https://github.com/Oire
42
+ //! author : Mikolaj Dadela : https://github.com/mik01aj
43
+ function Md(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}
44
+ //! moment.js locale configuration
45
+ //! locale : Estonian [et]
46
+ //! author : Henry Kehlmann : https://github.com/madhenry
47
+ //! improvements : Illimar Tambek : https://github.com/ragulka
48
+ function Nd(a,b,c,d){var e={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[a+" minuti",a+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[a+" tunni",a+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[a+" kuu",a+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[a+" aasta",a+" aastat"]};return b?e[c][2]?e[c][2]:e[c][1]:d?e[c][0]:e[c][1]}function Od(a,b,c,d){var e="";switch(c){case"s":return d?"muutaman sekunnin":"muutama sekunti";case"m":return d?"minuutin":"minuutti";case"mm":e=d?"minuutin":"minuuttia";break;case"h":return d?"tunnin":"tunti";case"hh":e=d?"tunnin":"tuntia";break;case"d":return d?"päivän":"päivä";case"dd":e=d?"päivän":"päivää";break;case"M":return d?"kuukauden":"kuukausi";case"MM":e=d?"kuukauden":"kuukautta";break;case"y":return d?"vuoden":"vuosi";case"yy":e=d?"vuoden":"vuotta"}return e=Pd(a,d)+" "+e}function Pd(a,b){return 10>a?b?kh[a]:jh[a]:a}
49
+ //! moment.js locale configuration
50
+ //! locale : Konkani Latin script [gom-latn]
51
+ //! author : The Discoverer : https://github.com/WikiDiscoverer
52
+ function Qd(a,b,c,d){var e={s:["thodde secondanim","thodde second"],m:["eka mintan","ek minute"],mm:[a+" mintanim",a+" mintam"],h:["eka horan","ek hor"],hh:[a+" horanim",a+" hor"],d:["eka disan","ek dis"],dd:[a+" disanim",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineanim",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsanim",a+" vorsam"]};return b?e[c][0]:e[c][1]}
53
+ //! moment.js locale configuration
54
+ //! locale : Croatian [hr]
55
+ //! author : Bojan Marković : https://github.com/bmarkovic
56
+ function Rd(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}function Sd(a,b,c,d){var e=a;switch(c){case"s":return d||b?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(d||b?" perc":" perce");case"mm":return e+(d||b?" perc":" perce");case"h":return"egy"+(d||b?" óra":" órája");case"hh":return e+(d||b?" óra":" órája");case"d":return"egy"+(d||b?" nap":" napja");case"dd":return e+(d||b?" nap":" napja");case"M":return"egy"+(d||b?" hónap":" hónapja");case"MM":return e+(d||b?" hónap":" hónapja");case"y":return"egy"+(d||b?" év":" éve");case"yy":return e+(d||b?" év":" éve")}return""}function Td(a){return(a?"":"[múlt] ")+"["+wh[this.day()]+"] LT[-kor]"}
57
+ //! moment.js locale configuration
58
+ //! locale : Icelandic [is]
59
+ //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
60
+ function Ud(a){return a%100===11?!0:a%10===1?!1:!0}function Vd(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return b?"mínúta":"mínútu";case"mm":return Ud(a)?e+(b||d?"mínútur":"mínútum"):b?e+"mínúta":e+"mínútu";case"hh":return Ud(a)?e+(b||d?"klukkustundir":"klukkustundum"):e+"klukkustund";case"d":return b?"dagur":d?"dag":"degi";case"dd":return Ud(a)?b?e+"dagar":e+(d?"daga":"dögum"):b?e+"dagur":e+(d?"dag":"degi");case"M":return b?"mánuður":d?"mánuð":"mánuði";case"MM":return Ud(a)?b?e+"mánuðir":e+(d?"mánuði":"mánuðum"):b?e+"mánuður":e+(d?"mánuð":"mánuði");case"y":return b||d?"ár":"ári";case"yy":return Ud(a)?e+(b||d?"ár":"árum"):e+(b||d?"ár":"ári")}}
61
+ //! moment.js locale configuration
62
+ //! locale : Luxembourgish [lb]
63
+ //! author : mweimerskirch : https://github.com/mweimerskirch
64
+ //! author : David Raison : https://github.com/kwisatz
65
+ function Wd(a,b,c,d){var e={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?e[c][0]:e[c][1]}function Xd(a){var b=a.substr(0,a.indexOf(" "));return Zd(b)?"a "+a:"an "+a}function Yd(a){var b=a.substr(0,a.indexOf(" "));return Zd(b)?"viru "+a:"virun "+a}function Zd(a){if(a=parseInt(a,10),isNaN(a))return!1;if(0>a)return!0;if(10>a)return a>=4&&7>=a?!0:!1;if(100>a){var b=a%10,c=a/10;return Zd(0===b?c:b)}if(1e4>a){for(;a>=10;)a/=10;return Zd(a)}return a/=1e3,Zd(a)}function $d(a,b,c,d){return b?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"}function _d(a,b,c,d){return b?be(c)[0]:d?be(c)[1]:be(c)[2]}function ae(a){return a%10===0||a>10&&20>a}function be(a){return Bh[a].split("_")}function ce(a,b,c,d){var e=a+" ";return 1===a?e+_d(a,b,c[0],d):b?e+(ae(a)?be(c)[1]:be(c)[0]):d?e+be(c)[1]:e+(ae(a)?be(c)[1]:be(c)[2])}function de(a,b,c){return c?b%10===1&&b%100!==11?a[2]:a[3]:b%10===1&&b%100!==11?a[0]:a[1]}function ee(a,b,c){return a+" "+de(Ch[c],a,b)}function fe(a,b,c){return de(Ch[c],a,b)}function ge(a,b){return b?"dažas sekundes":"dažām sekundēm"}function he(a,b,c,d){var e="";if(b)switch(c){case"s":e="काही सेकंद";break;case"m":e="एक मिनिट";break;case"mm":e="%d मिनिटे";break;case"h":e="एक तास";break;case"hh":e="%d तास";break;case"d":e="एक दिवस";break;case"dd":e="%d दिवस";break;case"M":e="एक महिना";break;case"MM":e="%d महिने";break;case"y":e="एक वर्ष";break;case"yy":e="%d वर्षे"}else switch(c){case"s":e="काही सेकंदां";break;case"m":e="एका मिनिटा";break;case"mm":e="%d मिनिटां";break;case"h":e="एका तासा";break;case"hh":e="%d तासां";break;case"d":e="एका दिवसा";break;case"dd":e="%d दिवसां";break;case"M":e="एका महिन्या";break;case"MM":e="%d महिन्यां";break;case"y":e="एका वर्षा";break;case"yy":e="%d वर्षां"}return e.replace(/%d/i,a)}function ie(a){return 5>a%10&&a%10>1&&~~(a/10)%10!==1}function je(a,b,c){var d=a+" ";switch(c){case"m":return b?"minuta":"minutę";case"mm":return d+(ie(a)?"minuty":"minut");case"h":return b?"godzina":"godzinę";case"hh":return d+(ie(a)?"godziny":"godzin");case"MM":return d+(ie(a)?"miesiące":"miesięcy");case"yy":return d+(ie(a)?"lata":"lat")}}
66
+ //! moment.js locale configuration
67
+ //! locale : Romanian [ro]
68
+ //! author : Vlad Gurdiga : https://github.com/gurdiga
69
+ //! author : Valentin Agachi : https://github.com/avaly
70
+ function ke(a,b,c){var d={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},e=" ";return(a%100>=20||a>=100&&a%100===0)&&(e=" de "),a+e+d[c]}
71
+ //! moment.js locale configuration
72
+ //! locale : Russian [ru]
73
+ //! author : Viktorminator : https://github.com/Viktorminator
74
+ //! Author : Menelion Elensúle : https://github.com/Oire
75
+ //! author : Коренберг Марк : https://github.com/socketpair
76
+ function le(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&4>=b%10&&(10>b%100||b%100>=20)?c[1]:c[2]}function me(a,b,c){var d={mm:b?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===c?b?"минута":"минуту":a+" "+le(d[c],+a)}function ne(a){return a>1&&5>a}function oe(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"pár sekúnd":"pár sekundami";case"m":return b?"minúta":d?"minútu":"minútou";case"mm":return b||d?e+(ne(a)?"minúty":"minút"):e+"minútami";case"h":return b?"hodina":d?"hodinu":"hodinou";case"hh":return b||d?e+(ne(a)?"hodiny":"hodín"):e+"hodinami";case"d":return b||d?"deň":"dňom";case"dd":return b||d?e+(ne(a)?"dni":"dní"):e+"dňami";case"M":return b||d?"mesiac":"mesiacom";case"MM":return b||d?e+(ne(a)?"mesiace":"mesiacov"):e+"mesiacmi";case"y":return b||d?"rok":"rokom";case"yy":return b||d?e+(ne(a)?"roky":"rokov"):e+"rokmi"}}
77
+ //! moment.js locale configuration
78
+ //! locale : Slovenian [sl]
79
+ //! author : Robert Sedovšek : https://github.com/sedovsek
80
+ function pe(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nekaj sekund":"nekaj sekundami";case"m":return b?"ena minuta":"eno minuto";case"mm":return e+=1===a?b?"minuta":"minuto":2===a?b||d?"minuti":"minutama":5>a?b||d?"minute":"minutami":b||d?"minut":"minutami";case"h":return b?"ena ura":"eno uro";case"hh":return e+=1===a?b?"ura":"uro":2===a?b||d?"uri":"urama":5>a?b||d?"ure":"urami":b||d?"ur":"urami";case"d":return b||d?"en dan":"enim dnem";case"dd":return e+=1===a?b||d?"dan":"dnem":2===a?b||d?"dni":"dnevoma":b||d?"dni":"dnevi";case"M":return b||d?"en mesec":"enim mesecem";case"MM":return e+=1===a?b||d?"mesec":"mesecem":2===a?b||d?"meseca":"mesecema":5>a?b||d?"mesece":"meseci":b||d?"mesecev":"meseci";case"y":return b||d?"eno leto":"enim letom";case"yy":return e+=1===a?b||d?"leto":"letom":2===a?b||d?"leti":"letoma":5>a?b||d?"leta":"leti":b||d?"let":"leti"}}function qe(a){var b=a;return b=-1!==a.indexOf("jaj")?b.slice(0,-3)+"leS":-1!==a.indexOf("jar")?b.slice(0,-3)+"waQ":-1!==a.indexOf("DIS")?b.slice(0,-3)+"nem":b+" pIq"}function re(a){var b=a;return b=-1!==a.indexOf("jaj")?b.slice(0,-3)+"Hu’":-1!==a.indexOf("jar")?b.slice(0,-3)+"wen":-1!==a.indexOf("DIS")?b.slice(0,-3)+"ben":b+" ret"}function se(a,b,c,d){var e=te(a);switch(c){case"mm":return e+" tup";case"hh":return e+" rep";case"dd":return e+" jaj";case"MM":return e+" jar";case"yy":return e+" DIS"}}function te(a){var b=Math.floor(a%1e3/100),c=Math.floor(a%100/10),d=a%10,e="";return b>0&&(e+=di[b]+"vatlh"),c>0&&(e+=(""!==e?" ":"")+di[c]+"maH"),d>0&&(e+=(""!==e?" ":"")+di[d]),""===e?"pagh":e}function ue(a,b,c,d){var e={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[a+" míuts",""+a+" míuts"],h:["'n þora","'iensa þora"],hh:[a+" þoras",""+a+" þoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",""+a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",""+a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",""+a+" ars"]};return d?e[c][0]:b?e[c][0]:e[c][1]}
81
+ //! moment.js locale configuration
82
+ //! locale : Ukrainian [uk]
83
+ //! author : zemlanin : https://github.com/zemlanin
84
+ //! Author : Menelion Elensúle : https://github.com/Oire
85
+ function ve(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&4>=b%10&&(10>b%100||b%100>=20)?c[1]:c[2]}function we(a,b,c){var d={mm:b?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:b?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===c?b?"хвилина":"хвилину":"h"===c?b?"година":"годину":a+" "+ve(d[c],+a)}function xe(a,b){var c={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};if(!a)return c.nominative;var d=/(\[[ВвУу]\]) ?dddd/.test(b)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(b)?"genitive":"nominative";return c[d][a.day()]}function ye(a){return function(){return a+"о"+(11===this.hours()?"б":"")+"] LT"}}var ze,Ae;Ae=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;c>d;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var Be=a.momentProperties=[],Ce=!1,De={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var Ee;Ee=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)j(a,b)&&c.push(b);return c};var Fe={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ge={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},He="Invalid date",Ie="%d",Je=/\d{1,2}/,Ke={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Le={},Me={},Ne=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Oe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pe={},Qe={},Re=/\d/,Se=/\d\d/,Te=/\d{3}/,Ue=/\d{4}/,Ve=/[+-]?\d{6}/,We=/\d\d?/,Xe=/\d\d\d\d?/,Ye=/\d\d\d\d\d\d?/,Ze=/\d{1,3}/,$e=/\d{1,4}/,_e=/[+-]?\d{1,6}/,af=/\d+/,bf=/[+-]?\d+/,cf=/Z|[+-]\d\d:?\d\d/gi,df=/Z|[+-]\d\d(?::?\d\d)?/gi,ef=/[+-]?\d+(\.\d{1,3})?/,ff=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,gf={},hf={},jf=0,kf=1,lf=2,mf=3,nf=4,of=5,pf=6,qf=7,rf=8;P("Y",0,0,function(){var a=this.year();return 9999>=a?""+a:"+"+a}),P(0,["YY",2],0,function(){return this.year()%100}),P(0,["YYYY",4],0,"year"),P(0,["YYYYY",5],0,"year"),P(0,["YYYYYY",6,!0],0,"year"),J("year","y"),M("year",1),U("Y",bf),U("YY",We,Se),U("YYYY",$e,Ue),U("YYYYY",_e,Ve),U("YYYYYY",_e,Ve),Y(["YYYYY","YYYYYY"],jf),Y("YYYY",function(b,c){c[jf]=2===b.length?a.parseTwoDigitYear(b):u(b)}),Y("YY",function(b,c){c[jf]=a.parseTwoDigitYear(b)}),Y("Y",function(a,b){b[jf]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return u(a)+(u(a)>68?1900:2e3)};var sf,tf=ca("FullYear",!0);sf=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1},P("M",["MM",2],"Mo",function(){return this.month()+1}),P("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),P("MMMM",0,0,function(a){return this.localeData().months(this,a)}),J("month","M"),M("month",8),U("M",We),U("MM",We,Se),U("MMM",function(a,b){return b.monthsShortRegex(a)}),U("MMMM",function(a,b){return b.monthsRegex(a)}),Y(["M","MM"],function(a,b){b[kf]=u(a)-1}),Y(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[kf]=e:n(c).invalidMonth=a});var uf=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vf="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),wf="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),xf=ff,yf=ff;P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),J("week","w"),J("isoWeek","W"),M("week",5),M("isoWeek",5),U("w",We),U("ww",We,Se),U("W",We),U("WW",We,Se),Z(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=u(a)});var zf={dow:0,doy:6};P("d",0,"do","day"),P("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),P("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),P("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),J("day","d"),J("weekday","e"),J("isoWeekday","E"),M("day",11),M("weekday",11),M("isoWeekday",11),U("d",We),U("e",We),U("E",We),U("dd",function(a,b){return b.weekdaysMinRegex(a)}),U("ddd",function(a,b){return b.weekdaysShortRegex(a)}),U("dddd",function(a,b){return b.weekdaysRegex(a)}),Z(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:n(c).invalidWeekday=a}),Z(["d","e","E"],function(a,b,c,d){b[d]=u(a)});var Af="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Cf="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Df=ff,Ef=ff,Ff=ff;P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Sa),P("k",["kk",2],0,Ta),P("hmm",0,0,function(){return""+Sa.apply(this)+O(this.minutes(),2)}),P("hmmss",0,0,function(){return""+Sa.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)}),P("Hmm",0,0,function(){return""+this.hours()+O(this.minutes(),2)}),P("Hmmss",0,0,function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)}),Ua("a",!0),Ua("A",!1),J("hour","h"),M("hour",13),U("a",Va),U("A",Va),U("H",We),U("h",We),U("k",We),U("HH",We,Se),U("hh",We,Se),U("kk",We,Se),U("hmm",Xe),U("hmmss",Ye),U("Hmm",Xe),U("Hmmss",Ye),Y(["H","HH"],mf),Y(["k","kk"],function(a,b,c){var d=u(a);b[mf]=24===d?0:d}),Y(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),Y(["h","hh"],function(a,b,c){b[mf]=u(a),n(c).bigHour=!0}),Y("hmm",function(a,b,c){var d=a.length-2;b[mf]=u(a.substr(0,d)),b[nf]=u(a.substr(d)),n(c).bigHour=!0}),Y("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[mf]=u(a.substr(0,d)),b[nf]=u(a.substr(d,2)),b[of]=u(a.substr(e)),n(c).bigHour=!0}),Y("Hmm",function(a,b,c){var d=a.length-2;b[mf]=u(a.substr(0,d)),b[nf]=u(a.substr(d))}),Y("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[mf]=u(a.substr(0,d)),b[nf]=u(a.substr(d,2)),b[of]=u(a.substr(e))});var Gf,Hf=/[ap]\.?m?\.?/i,If=ca("Hours",!0),Jf={calendar:Fe,longDateFormat:Ge,invalidDate:He,ordinal:Ie,dayOfMonthOrdinalParse:Je,relativeTime:Ke,months:vf,monthsShort:wf,week:zf,weekdays:Af,weekdaysMin:Cf,weekdaysShort:Bf,meridiemParse:Hf},Kf={},Lf={},Mf=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Nf=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Of=/Z|[+-]\d\d(?::?\d\d)?/,Pf=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Qf=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Rf=/^\/?Date\((\-?\d+)/i,Sf=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Tf={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};a.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Uf=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=zb.apply(null,arguments);return this.isValid()&&a.isValid()?this>a?this:a:p()}),Vf=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=zb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:p()}),Wf=function(){return Date.now?Date.now():+new Date},Xf=["year","quarter","month","week","day","hour","minute","second","millisecond"];Jb("Z",":"),Jb("ZZ",""),U("Z",df),U("ZZ",df),Y(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Kb(df,a)});var Yf=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var Zf=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,$f=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Yb.fn=Gb.prototype,Yb.invalid=Fb;var _f=ac(1,"add"),ag=ac(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var bg=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});P(0,["gg",2],0,function(){return this.weekYear()%100}),P(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Jc("gggg","weekYear"),Jc("ggggg","weekYear"),Jc("GGGG","isoWeekYear"),Jc("GGGGG","isoWeekYear"),J("weekYear","gg"),J("isoWeekYear","GG"),M("weekYear",1),M("isoWeekYear",1),U("G",bf),U("g",bf),U("GG",We,Se),U("gg",We,Se),U("GGGG",$e,Ue),U("gggg",$e,Ue),U("GGGGG",_e,Ve),U("ggggg",_e,Ve),Z(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=u(a)}),Z(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),P("Q",0,"Qo","quarter"),J("quarter","Q"),M("quarter",7),U("Q",Re),Y("Q",function(a,b){b[kf]=3*(u(a)-1)}),P("D",["DD",2],"Do","date"),J("date","D"),M("date",9),U("D",We),U("DD",We,Se),U("Do",function(a,b){return a?b._dayOfMonthOrdinalParse||b._ordinalParse:b._dayOfMonthOrdinalParseLenient}),Y(["D","DD"],lf),Y("Do",function(a,b){b[lf]=u(a.match(We)[0],10)});var cg=ca("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),J("dayOfYear","DDD"),M("dayOfYear",4),U("DDD",Ze),U("DDDD",Te),Y(["DDD","DDDD"],function(a,b,c){c._dayOfYear=u(a)}),P("m",["mm",2],0,"minute"),J("minute","m"),M("minute",14),U("m",We),U("mm",We,Se),Y(["m","mm"],nf);var dg=ca("Minutes",!1);P("s",["ss",2],0,"second"),J("second","s"),M("second",15),U("s",We),U("ss",We,Se),Y(["s","ss"],of);var eg=ca("Seconds",!1);P("S",0,0,function(){return~~(this.millisecond()/100)}),P(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,function(){return 10*this.millisecond()}),P(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),P(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),P(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),P(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),P(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),J("millisecond","ms"),M("millisecond",16),U("S",Ze,Re),U("SS",Ze,Se),U("SSS",Ze,Te);var fg;for(fg="SSSS";fg.length<=9;fg+="S")U(fg,af);for(fg="S";fg.length<=9;fg+="S")Y(fg,Sc);var gg=ca("Milliseconds",!1);P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");var hg=r.prototype;hg.add=_f,hg.calendar=dc,hg.clone=ec,hg.diff=lc,hg.endOf=yc,hg.format=qc,hg.from=rc,hg.fromNow=sc,hg.to=tc,hg.toNow=uc,hg.get=fa,hg.invalidAt=Hc,hg.isAfter=fc,hg.isBefore=gc,hg.isBetween=hc,hg.isSame=ic,hg.isSameOrAfter=jc,hg.isSameOrBefore=kc,hg.isValid=Fc,hg.lang=bg,hg.locale=vc,hg.localeData=wc,hg.max=Vf,hg.min=Uf,hg.parsingFlags=Gc,hg.set=ga,hg.startOf=xc,hg.subtract=ag,hg.toArray=Cc,hg.toObject=Dc,hg.toDate=Bc,hg.toISOString=oc,hg.inspect=pc,hg.toJSON=Ec,hg.toString=nc,hg.unix=Ac,hg.valueOf=zc,hg.creationData=Ic,hg.year=tf,hg.isLeapYear=ba,hg.weekYear=Kc,hg.isoWeekYear=Lc,hg.quarter=hg.quarters=Qc,hg.month=oa,hg.daysInMonth=pa,hg.week=hg.weeks=Ca,hg.isoWeek=hg.isoWeeks=Da,hg.weeksInYear=Nc,hg.isoWeeksInYear=Mc,hg.date=cg,hg.day=hg.days=La,hg.weekday=Ma,hg.isoWeekday=Na,hg.dayOfYear=Rc,hg.hour=hg.hours=If,hg.minute=hg.minutes=dg,hg.second=hg.seconds=eg,hg.millisecond=hg.milliseconds=gg,hg.utcOffset=Nb,hg.utc=Pb,hg.local=Qb,hg.parseZone=Rb,hg.hasAlignedHourOffset=Sb,hg.isDST=Tb,hg.isLocal=Vb,hg.isUtcOffset=Wb,hg.isUtc=Xb,hg.isUTC=Xb,hg.zoneAbbr=Tc,hg.zoneName=Uc,hg.dates=x("dates accessor is deprecated. Use date instead.",cg),hg.months=x("months accessor is deprecated. Use month instead",oa),hg.years=x("years accessor is deprecated. Use year instead",tf),hg.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ob),hg.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ub);var ig=C.prototype;ig.calendar=D,ig.longDateFormat=E,ig.invalidDate=F,ig.ordinal=G,ig.preparse=Xc,ig.postformat=Xc,ig.relativeTime=H,ig.pastFuture=I,ig.set=A,ig.months=ja,ig.monthsShort=ka,ig.monthsParse=ma,ig.monthsRegex=ra,ig.monthsShortRegex=qa,ig.week=za,ig.firstDayOfYear=Ba,ig.firstDayOfWeek=Aa,ig.weekdays=Ga,ig.weekdaysMin=Ia,ig.weekdaysShort=Ha,ig.weekdaysParse=Ka,ig.weekdaysRegex=Oa,ig.weekdaysShortRegex=Pa,ig.weekdaysMinRegex=Qa,ig.isPM=Wa,ig.meridiem=Xa,_a("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===u(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",_a),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",cb);var jg=Math.abs,kg=od("ms"),lg=od("s"),mg=od("m"),ng=od("h"),og=od("d"),pg=od("w"),qg=od("M"),rg=od("y"),sg=rd("milliseconds"),tg=rd("seconds"),ug=rd("minutes"),vg=rd("hours"),wg=rd("days"),xg=rd("months"),yg=rd("years"),zg=Math.round,Ag={ss:44,s:45,m:45,h:22,d:26,M:11},Bg=Math.abs,Cg=Gb.prototype;Cg.isValid=Eb,Cg.abs=ed,Cg.add=gd,Cg.subtract=hd,Cg.as=md,Cg.asMilliseconds=kg,Cg.asSeconds=lg,Cg.asMinutes=mg,Cg.asHours=ng,Cg.asDays=og,Cg.asWeeks=pg,Cg.asMonths=qg,Cg.asYears=rg,Cg.valueOf=nd,Cg._bubble=jd,Cg.clone=pd,Cg.get=qd,Cg.milliseconds=sg,Cg.seconds=tg,Cg.minutes=ug,Cg.hours=vg,Cg.days=wg,Cg.weeks=sd,Cg.months=xg,Cg.years=yg,Cg.humanize=xd,Cg.toISOString=zd,Cg.toString=zd,Cg.toJSON=zd,Cg.locale=vc,Cg.localeData=wc,Cg.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zd),Cg.lang=bg,P("X",0,0,"unix"),P("x",0,0,"valueOf"),U("x",bf),U("X",ef),Y("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),Y("x",function(a,b,c){c._d=new Date(u(a))}),
86
+ //! moment.js
87
+ //! version : 2.19.2
88
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
89
+ //! license : MIT
90
+ //! momentjs.com
91
+ a.version="2.19.2",b(zb),a.fn=hg,a.min=Bb,a.max=Cb,a.now=Wf,a.utc=l,a.unix=Vc,a.months=_c,a.isDate=h,a.locale=_a,a.invalid=p,a.duration=Yb,a.isMoment=s,a.weekdays=bd,a.parseZone=Wc,a.localeData=cb,a.isDuration=Hb,a.monthsShort=ad,a.weekdaysMin=dd,a.defineLocale=ab,a.updateLocale=bb,a.locales=db,a.weekdaysShort=cd,a.normalizeUnits=K,a.relativeTimeRounding=vd,a.relativeTimeThreshold=wd,a.calendarFormat=cc,a.prototype=hg,
92
+ //! moment.js locale configuration
93
+ //! locale : Afrikaans [af]
94
+ //! author : Werner Mollentze : https://github.com/wernerm
95
+ a.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(a){return/^nm$/i.test(a)},meridiem:function(a,b,c){return 12>a?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}}),
96
+ //! moment.js locale configuration
97
+ //! locale : Arabic (Algeria) [ar-dz]
98
+ //! author : Noureddine LOUAHEDJ : https://github.com/noureddineme
99
+ a.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}}),
100
+ //! moment.js locale configuration
101
+ //! locale : Arabic (Kuwait) [ar-kw]
102
+ //! author : Nusret Parlak: https://github.com/nusretparlak
103
+ a.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});
104
+ //! moment.js locale configuration
105
+ //! locale : Arabic (Lybia) [ar-ly]
106
+ //! author : Ali Hmer: https://github.com/kikoanis
107
+ var Dg={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},Eg=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&10>=a%100?3:a%100>=11?4:5},Fg={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Gg=function(a){return function(b,c,d,e){var f=Eg(b),g=Fg[a][Eg(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},Hg=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];a.defineLocale("ar-ly",{months:Hg,monthsShort:Hg,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return 12>a?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Gg("s"),m:Gg("m"),mm:Gg("m"),h:Gg("h"),hh:Gg("h"),d:Gg("d"),dd:Gg("d"),M:Gg("M"),MM:Gg("M"),y:Gg("y"),yy:Gg("y")},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Dg[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}}),
108
+ //! moment.js locale configuration
109
+ //! locale : Arabic (Morocco) [ar-ma]
110
+ //! author : ElFadili Yassine : https://github.com/ElFadiliY
111
+ //! author : Abdel Said : https://github.com/abdelsaid
112
+ a.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});
113
+ //! moment.js locale configuration
114
+ //! locale : Arabic (Saudi Arabia) [ar-sa]
115
+ //! author : Suhail Alkowaileet : https://github.com/xsoh
116
+ var Ig={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},Jg={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};a.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return 12>a?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return Jg[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Ig[a]}).replace(/,/g,"،")},week:{dow:0,doy:6}}),
117
+ //! moment.js locale configuration
118
+ //! locale : Arabic (Tunisia) [ar-tn]
119
+ //! author : Nader Toukabri : https://github.com/naderio
120
+ a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});
121
+ //! moment.js locale configuration
122
+ //! locale : Arabic [ar]
123
+ //! author : Abdel Said: https://github.com/abdelsaid
124
+ //! author : Ahmed Elkhatib
125
+ //! author : forabi https://github.com/forabi
126
+ var Kg={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},Lg={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},Mg=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&10>=a%100?3:a%100>=11?4:5},Ng={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},Og=function(a){return function(b,c,d,e){var f=Mg(b),g=Ng[a][Mg(b)];return 2===f&&(g=g[c?0:1]),g.replace(/%d/i,b)}},Pg=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"];a.defineLocale("ar",{months:Pg,monthsShort:Pg,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return 12>a?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:Og("s"),m:Og("m"),mm:Og("m"),h:Og("h"),hh:Og("h"),d:Og("d"),dd:Og("d"),M:Og("M"),MM:Og("M"),y:Og("y"),yy:Og("y")},preparse:function(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return Lg[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return Kg[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}});
127
+ //! moment.js locale configuration
128
+ //! locale : Azerbaijani [az]
129
+ //! author : topchiyev : https://github.com/topchiyev
130
+ var Qg={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};a.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(a){return/^(gündüz|axşam)$/.test(a)},meridiem:function(a,b,c){return 4>a?"gecə":12>a?"səhər":17>a?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(a){if(0===a)return a+"-ıncı";var b=a%10,c=a%100-b,d=a>=100?100:null;return a+(Qg[b]||Qg[c]||Qg[d])},week:{dow:1,doy:7}}),a.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:Bd,mm:Bd,h:Bd,hh:Bd,d:"дзень",dd:Bd,M:"месяц",MM:Bd,y:"год",yy:Bd},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(a){return/^(дня|вечара)$/.test(a)},meridiem:function(a,b,c){return 4>a?"ночы":12>a?"раніцы":17>a?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a%10!==2&&a%10!==3||a%100===12||a%100===13?a+"-ы":a+"-і";case"D":return a+"-га";default:return a}},week:{dow:1,doy:7}}),
131
+ //! moment.js locale configuration
132
+ //! locale : Bulgarian [bg]
133
+ //! author : Krasen Borisov : https://github.com/kraz
134
+ a.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&20>c?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}}),
135
+ //! moment.js locale configuration
136
+ //! locale : Bambara [bm]
137
+ //! author : Estelle Comment : https://github.com/estellecomment
138
+ a.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});
139
+ //! moment.js locale configuration
140
+ //! locale : Bengali [bn]
141
+ //! author : Kaushik Gandhi : https://github.com/kaushikgandhi
142
+ var Rg={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},Sg={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};a.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(a){return a.replace(/[১২৩৪৫৬৭৮৯০]/g,function(a){return Sg[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Rg[a]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(a,b){return 12===a&&(a=0),"রাত"===b&&a>=4||"দুপুর"===b&&5>a||"বিকাল"===b?a+12:a},meridiem:function(a,b,c){return 4>a?"রাত":10>a?"সকাল":17>a?"দুপুর":20>a?"বিকাল":"রাত"},week:{dow:0,doy:6}});
143
+ //! moment.js locale configuration
144
+ //! locale : Tibetan [bo]
145
+ //! author : Thupten N. Chakrishar : https://github.com/vajradog
146
+ var Tg={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},Ug={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(a){return a.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(a){return Ug[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return Tg[a]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(a,b){return 12===a&&(a=0),"མཚན་མོ"===b&&a>=4||"ཉིན་གུང"===b&&5>a||"དགོང་དག"===b?a+12:a},meridiem:function(a,b,c){return 4>a?"མཚན་མོ":10>a?"ཞོགས་ཀས":17>a?"ཉིན་གུང":20>a?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}}),a.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:Cd,h:"un eur",hh:"%d eur",d:"un devezh",dd:Cd,M:"ur miz",MM:Cd,y:"ur bloaz",yy:Dd},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(a){var b=1===a?"añ":"vet";return a+b},week:{dow:1,doy:4}}),a.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:Hd,mm:Hd,h:Hd,hh:Hd,d:"dan",dd:Hd,M:"mjesec",MM:Hd,y:"godinu",yy:Hd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}}),
147
+ //! moment.js locale configuration
148
+ //! locale : Catalan [ca]
149
+ //! author : Juan G. Hurtado : https://github.com/juanghurtado
150
+ a.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(a,b){var c=1===a?"r":2===a?"n":3===a?"r":4===a?"t":"è";return("w"===b||"W"===b)&&(c="a"),a+c},week:{dow:1,doy:4}});
151
+ //! moment.js locale configuration
152
+ //! locale : Czech [cs]
153
+ //! author : petrbela : https://github.com/petrbela
154
+ var Vg="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),Wg="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");a.defineLocale("cs",{months:Vg,monthsShort:Wg,monthsParse:function(a,b){var c,d=[];for(c=0;12>c;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(Vg,Wg),shortMonthsParse:function(a){var b,c=[];for(b=0;12>b;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(Wg),longMonthsParse:function(a){var b,c=[];for(b=0;12>b;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(Vg),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:Jd,m:Jd,mm:Jd,h:Jd,hh:Jd,d:Jd,dd:Jd,M:Jd,MM:Jd,y:Jd,yy:Jd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),
155
+ //! moment.js locale configuration
156
+ //! locale : Chuvash [cv]
157
+ //! author : Anatoly Mironov : https://github.com/mirontoli
158
+ a.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(a){var b=/сехет$/i.exec(a)?"рен":/ҫул$/i.exec(a)?"тан":"ран";return a+b},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}}),
159
+ //! moment.js locale configuration
160
+ //! locale : Welsh [cy]
161
+ //! author : Robert Allen : https://github.com/robgallen
162
+ //! author : https://github.com/ryangreaves
163
+ a.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var b=a,c="",d=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return b>20?c=40===b||50===b||60===b||80===b||100===b?"fed":"ain":b>0&&(c=d[b]),a+c},week:{dow:1,doy:4}}),
164
+ //! moment.js locale configuration
165
+ //! locale : Danish [da]
166
+ //! author : Ulrik Nielsen : https://github.com/mrbase
167
+ a.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Kd,mm:"%d Minuten",h:Kd,hh:"%d Stunden",d:Kd,dd:Kd,M:Kd,MM:Kd,y:Kd,yy:Kd},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH.mm",LLLL:"dddd, D. MMMM YYYY HH.mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Ld,mm:"%d Minuten",h:Ld,hh:"%d Stunden",d:Ld,dd:Ld,M:Ld,MM:Ld,y:Ld,yy:Ld},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}}),a.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:Md,mm:"%d Minuten",h:Md,hh:"%d Stunden",d:Md,dd:Md,M:Md,MM:Md,y:Md,yy:Md},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});
168
+ //! moment.js locale configuration
169
+ //! locale : Maldivian [dv]
170
+ //! author : Jawish Hameed : https://github.com/jawish
171
+ var Xg=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],Yg=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];a.defineLocale("dv",{months:Xg,monthsShort:Xg,weekdays:Yg,weekdaysShort:Yg,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(a){return"މފ"===a},meridiem:function(a,b,c){return 12>a?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:7,doy:12}}),
172
+ //! moment.js locale configuration
173
+ //! locale : Greek [el]
174
+ //! author : Aggelos Karalias : https://github.com/mehiel
175
+ a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(a,b){return a?"string"==typeof b&&/D/.test(b.substring(0,b.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(a,b,c){return a>11?c?"μμ":"ΜΜ":c?"πμ":"ΠΜ"},isPM:function(a){return"μ"===(a+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(a,b){var c=this._calendarEl[a],d=b&&b.hours();return z(c)&&(c=c.apply(b)),c.replace("{}",d%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}}),
176
+ //! moment.js locale configuration
177
+ //! locale : English (Australia) [en-au]
178
+ //! author : Jared Morse : https://github.com/jarcoal
179
+ a.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}),
180
+ //! moment.js locale configuration
181
+ //! locale : English (Canada) [en-ca]
182
+ //! author : Jonathan Abourbih : https://github.com/jonbca
183
+ a.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),
184
+ //! moment.js locale configuration
185
+ //! locale : English (United Kingdom) [en-gb]
186
+ //! author : Chris Gedrim : https://github.com/chrisgedrim
187
+ a.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}),
188
+ //! moment.js locale configuration
189
+ //! locale : English (Ireland) [en-ie]
190
+ //! author : Chris Cartlidge : https://github.com/chriscartlidge
191
+ a.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}),
192
+ //! moment.js locale configuration
193
+ //! locale : English (New Zealand) [en-nz]
194
+ //! author : Luke McGregor : https://github.com/lukemcgregor
195
+ a.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}}),
196
+ //! moment.js locale configuration
197
+ //! locale : Esperanto [eo]
198
+ //! author : Colin Dean : https://github.com/colindean
199
+ //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
200
+ //! comment : miestasmia corrected the translation by colindean
201
+ a.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(a){return"p"===a.charAt(0).toLowerCase()},meridiem:function(a,b,c){return a>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});
202
+ //! moment.js locale configuration
203
+ //! locale : Spanish (Dominican Republic) [es-do]
204
+ var Zg="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),$g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_g=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],ah=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?$g[a.month()]:Zg[a.month()]:Zg},monthsRegex:ah,monthsShortRegex:ah,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_g,longMonthsParse:_g,shortMonthsParse:_g,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});
205
+ //! moment.js locale configuration
206
+ //! locale : Spanish(United State) [es-us]
207
+ //! author : bustta : https://github.com/bustta
208
+ var bh="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),ch="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");a.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?ch[a.month()]:bh[a.month()]:bh},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY H:mm",LLLL:"dddd, MMMM [de] D [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});
209
+ //! moment.js locale configuration
210
+ //! locale : Spanish [es]
211
+ //! author : Julio Napurí : https://github.com/julionc
212
+ var dh="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),eh="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),fh=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],gh=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,b){return a?/-MMM-/.test(b)?eh[a.month()]:dh[a.month()]:dh},monthsRegex:gh,monthsShortRegex:gh,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:fh,longMonthsParse:fh,shortMonthsParse:fh,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:func