Version Description
Added more security enhancements
Download this release
Release Info
Developer | galdub |
Plugin | Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty |
Version | 2.8.5 |
Comparing to | |
See all releases |
Code changes from version 2.8.4 to 2.8.5
- admin/assets/css/cht-style.css +5671 -5671
- admin/assets/js/animation.json +1 -0
- admin/assets/js/cht-scripts.js +2534 -2050
- admin/assets/js/cht-scripts.min.js +1 -1
- admin/assets/js/lottie-player.js +77 -0
- admin/chaty-timezone.php +309 -242
- admin/class-admin-base.php +0 -1343
admin/assets/css/cht-style.css
CHANGED
@@ -1,5672 +1,5672 @@
|
|
1 |
-
.btn-help, .btn-help:active, .btn-help:hover, .btn-save, .btn-save-sticky a, .icon:after, i {
|
2 |
-
color: #fff
|
3 |
-
}
|
4 |
-
|
5 |
-
body, i {
|
6 |
-
-webkit-font-smoothing: antialiased
|
7 |
-
}
|
8 |
-
|
9 |
-
.main .channels-selected__item .btn-cancel:focus, .main .channels-selected__item.disabled .btn-cancel:focus, .main .channels-selected__item.disabled input:focus, button:focus, input:focus {
|
10 |
-
outline: 0
|
11 |
-
}
|
12 |
-
|
13 |
-
.easy-modal ul, .upgrade-block ul {
|
14 |
-
list-style-image: url(../images/icon-check-purple.svg);
|
15 |
-
columns: 2
|
16 |
-
}
|
17 |
-
|
18 |
-
.btn-red, .link-back {
|
19 |
-
text-decoration: none
|
20 |
-
}
|
21 |
-
|
22 |
-
.btn-file, .kv-file-content, .preview .page, .switch-preview {
|
23 |
-
overflow: hidden
|
24 |
-
}
|
25 |
-
|
26 |
-
@font-face {
|
27 |
-
font-family: icomoon;
|
28 |
-
src: url(../fonts/icomoon.ttf?qh3c2u) format('truetype'), url(../fonts/icomoon.woff?qh3c2u) format('woff'), url(../fonts/icomoon.svg?qh3c2u#icomoon) format('svg');
|
29 |
-
font-weight: 400;
|
30 |
-
font-style: normal
|
31 |
-
}
|
32 |
-
|
33 |
-
i {
|
34 |
-
font-family: icomoon;
|
35 |
-
speak: none;
|
36 |
-
font-style: normal;
|
37 |
-
font-weight: 400;
|
38 |
-
font-variant: normal;
|
39 |
-
text-transform: none;
|
40 |
-
line-height: 1;
|
41 |
-
-moz-osx-font-smoothing: grayscale
|
42 |
-
}
|
43 |
-
|
44 |
-
.easy-modal__bottom, .plan_date, body, button, input {
|
45 |
-
font-family: Rubik, sans-serif
|
46 |
-
}
|
47 |
-
|
48 |
-
.icon-chat-base:before {
|
49 |
-
content: "\e901"
|
50 |
-
}
|
51 |
-
|
52 |
-
.icon-chat-db:before {
|
53 |
-
content: "\e903"
|
54 |
-
}
|
55 |
-
|
56 |
-
.icon-chat-bubble:before {
|
57 |
-
content: "\e900"
|
58 |
-
}
|
59 |
-
|
60 |
-
.icon-chat-smile:before {
|
61 |
-
content: "\e904"
|
62 |
-
}
|
63 |
-
|
64 |
-
.icon-upload:before {
|
65 |
-
content: "\e902"
|
66 |
-
}
|
67 |
-
|
68 |
-
.icon-phone:before {
|
69 |
-
content: "\f095"
|
70 |
-
}
|
71 |
-
|
72 |
-
.icon-whatsapp:before {
|
73 |
-
content: "\f232"
|
74 |
-
}
|
75 |
-
|
76 |
-
*, :after, :before {
|
77 |
-
box-sizing: border-box
|
78 |
-
}
|
79 |
-
|
80 |
-
input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
|
81 |
-
appearance: none;
|
82 |
-
-webkit-appearance: none;
|
83 |
-
margin: 0
|
84 |
-
}
|
85 |
-
|
86 |
-
.container, .ml-auto {
|
87 |
-
margin-left: auto
|
88 |
-
}
|
89 |
-
|
90 |
-
.container {
|
91 |
-
width: 100%;
|
92 |
-
padding-right: 15px;
|
93 |
-
padding-left: 15px;
|
94 |
-
margin-right: auto
|
95 |
-
}
|
96 |
-
|
97 |
-
.col-12 {
|
98 |
-
flex: 0 0 100%;
|
99 |
-
max-width: 100%
|
100 |
-
}
|
101 |
-
|
102 |
-
.text-center {
|
103 |
-
text-align: center
|
104 |
-
}
|
105 |
-
|
106 |
-
.text-primary {
|
107 |
-
color: #a886cd
|
108 |
-
}
|
109 |
-
|
110 |
-
.align-top {
|
111 |
-
align-self: flex-start
|
112 |
-
}
|
113 |
-
|
114 |
-
.custom-control {
|
115 |
-
display: inline-block;
|
116 |
-
color: #5d5c5c;
|
117 |
-
margin-bottom: 0;
|
118 |
-
cursor: pointer;
|
119 |
-
min-height: 22px;
|
120 |
-
line-height: 22px;
|
121 |
-
padding-left: 20px;
|
122 |
-
position: relative
|
123 |
-
}
|
124 |
-
|
125 |
-
.custom-control .custom-control-input {
|
126 |
-
position: absolute;
|
127 |
-
z-index: -1;
|
128 |
-
opacity: 0
|
129 |
-
}
|
130 |
-
|
131 |
-
.custom-control .custom-control-input.js-upload:disabled ~ .custom-control-label:before {
|
132 |
-
background: rgba(0, 0, 0, .1)
|
133 |
-
}
|
134 |
-
|
135 |
-
.custom-control .custom-control-input:disabled ~ i {
|
136 |
-
opacity: .5
|
137 |
-
}
|
138 |
-
|
139 |
-
.custom-control + .custom-control {
|
140 |
-
margin-left: 16px
|
141 |
-
}
|
142 |
-
|
143 |
-
.custom-control.custom-checkbox .custom-control-label {
|
144 |
-
position: static
|
145 |
-
}
|
146 |
-
|
147 |
-
.custom-control.custom-checkbox .custom-control-label:before {
|
148 |
-
content: '';
|
149 |
-
transition: all .2s;
|
150 |
-
position: absolute;
|
151 |
-
top: 3px;
|
152 |
-
left: 0;
|
153 |
-
display: block;
|
154 |
-
width: 15px;
|
155 |
-
height: 15px;
|
156 |
-
line-height: 15px;
|
157 |
-
text-align: center;
|
158 |
-
background-color: #FFF;
|
159 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
160 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
161 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
162 |
-
border-radius: 3px;
|
163 |
-
background-position: center;
|
164 |
-
background-repeat: no-repeat;
|
165 |
-
background-size: 15px
|
166 |
-
}
|
167 |
-
|
168 |
-
.color-picker-btn, .custom-control.custom-radio .custom-control-label::before {
|
169 |
-
-webkit-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
170 |
-
-moz-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1)
|
171 |
-
}
|
172 |
-
|
173 |
-
.custom-control.custom-checkbox .custom-control-label::after {
|
174 |
-
display: none
|
175 |
-
}
|
176 |
-
|
177 |
-
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label:before {
|
178 |
-
background-image: url(../images/icon-check.svg);
|
179 |
-
background-color: transparent
|
180 |
-
}
|
181 |
-
|
182 |
-
.custom-control.custom-radio {
|
183 |
-
padding-left: 27px
|
184 |
-
}
|
185 |
-
|
186 |
-
.custom-control.custom-radio .custom-control-label {
|
187 |
-
position: static
|
188 |
-
}
|
189 |
-
|
190 |
-
.custom-control.custom-radio .custom-control-label:before {
|
191 |
-
content: '';
|
192 |
-
transition: all .2s;
|
193 |
-
position: absolute;
|
194 |
-
top: 0;
|
195 |
-
left: 0;
|
196 |
-
display: block;
|
197 |
-
width: 22px;
|
198 |
-
height: 22px;
|
199 |
-
background-color: #FFF;
|
200 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
201 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
202 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
203 |
-
border-radius: 50%;
|
204 |
-
border: 5px solid #fff
|
205 |
-
}
|
206 |
-
|
207 |
-
.custom-control.custom-radio .custom-control-label:after {
|
208 |
-
display: none
|
209 |
-
}
|
210 |
-
|
211 |
-
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label:before {
|
212 |
-
background: #a886cd
|
213 |
-
}
|
214 |
-
|
215 |
-
.custom-control.custom-radio + label:before {
|
216 |
-
display: none;
|
217 |
-
}
|
218 |
-
|
219 |
-
.position-pro {
|
220 |
-
background: rgba(168, 134, 205, .1);
|
221 |
-
border-radius: 4px;
|
222 |
-
display: flex;
|
223 |
-
padding: 6px 0;
|
224 |
-
transition: all .2s;
|
225 |
-
margin-top: 11px;
|
226 |
-
flex-wrap: wrap
|
227 |
-
}
|
228 |
-
|
229 |
-
.position-pro > div {
|
230 |
-
flex: 0 0 auto;
|
231 |
-
padding: 6px 15px
|
232 |
-
}
|
233 |
-
|
234 |
-
.position-pro > div > label:first-child {
|
235 |
-
display: block;
|
236 |
-
margin-bottom: 10px
|
237 |
-
}
|
238 |
-
|
239 |
-
.position-pro > div .custom-control-group {
|
240 |
-
background: #FFF;
|
241 |
-
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
242 |
-
border-radius: 5px;
|
243 |
-
display: flex;
|
244 |
-
align-items: center;
|
245 |
-
width: 150px;
|
246 |
-
height: 34px
|
247 |
-
}
|
248 |
-
|
249 |
-
.position-pro > div .custom-control-group .custom-control {
|
250 |
-
width: 75px;
|
251 |
-
padding: 0;
|
252 |
-
margin: 0 !important
|
253 |
-
}
|
254 |
-
|
255 |
-
.position-pro > div .custom-control-group .custom-control .custom-control-label {
|
256 |
-
width: 100%;
|
257 |
-
color: #E0E0E0;
|
258 |
-
height: 34px;
|
259 |
-
display: flex;
|
260 |
-
align-items: center;
|
261 |
-
padding: 6px 7px
|
262 |
-
}
|
263 |
-
|
264 |
-
.position-pro > div .custom-control-group .custom-control .custom-control-label:before {
|
265 |
-
content: none
|
266 |
-
}
|
267 |
-
|
268 |
-
.position-pro > div .custom-control-group .custom-control .custom-control-input:checked + .custom-control-label {
|
269 |
-
color: #a886cd;
|
270 |
-
box-shadow: inset 0 3px 7px rgba(0, 0, 0, .08)
|
271 |
-
}
|
272 |
-
|
273 |
-
.position-pro > div .custom-control-group .custom-control .custom-control-input:checked + .custom-control-label path {
|
274 |
-
fill: #a886cd
|
275 |
-
}
|
276 |
-
|
277 |
-
.icon:not(.active):not(:hover) .color-element, .main .channels-icons > .icon:not(.active):not(:hover) .color-element {
|
278 |
-
fill: #BDBDBD
|
279 |
-
}
|
280 |
-
.icon:not(.active):not(:hover) .slack-path, .main .channels-icons > .icon:not(.active):not(:hover) .slack-path {
|
281 |
-
fill: #ffffff !important;
|
282 |
-
}
|
283 |
-
|
284 |
-
.position-pro > div .custom-control-group .custom-control:first-child .custom-control-label {
|
285 |
-
border-radius: 5px 0 0 5px;
|
286 |
-
text-align: left
|
287 |
-
}
|
288 |
-
|
289 |
-
.position-pro > div .custom-control-group .custom-control:first-child .custom-control-label svg {
|
290 |
-
margin-right: 5px
|
291 |
-
}
|
292 |
-
|
293 |
-
.position-pro > div .custom-control-group .custom-control:last-child .custom-control-label {
|
294 |
-
border-radius: 0 5px 5px 0;
|
295 |
-
display: flex;
|
296 |
-
justify-content: flex-end
|
297 |
-
}
|
298 |
-
|
299 |
-
.position-pro > div .custom-control-group .custom-control:last-child .custom-control-label svg {
|
300 |
-
margin-left: 5px
|
301 |
-
}
|
302 |
-
|
303 |
-
.btn-red, .color-picker-box .color-picker-radio label + label {
|
304 |
-
margin-left: 12px
|
305 |
-
}
|
306 |
-
|
307 |
-
.position-pro input {
|
308 |
-
background: #FFF;
|
309 |
-
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
310 |
-
-webkit-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
311 |
-
-moz-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
312 |
-
border-radius: 5px;
|
313 |
-
border: 0;
|
314 |
-
line-height: 24px;
|
315 |
-
padding: 5px 7px;
|
316 |
-
width: 60px;
|
317 |
-
margin-right: 3px
|
318 |
-
}
|
319 |
-
|
320 |
-
.color-picker-box {
|
321 |
-
background: #FFF;
|
322 |
-
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
323 |
-
-webkit-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
324 |
-
-moz-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
325 |
-
border-radius: 4px;
|
326 |
-
width: 330px;
|
327 |
-
display: none;
|
328 |
-
position: relative
|
329 |
-
}
|
330 |
-
|
331 |
-
.color-picker-box .color-picker-radio {
|
332 |
-
display: flex;
|
333 |
-
padding: 6px 8px 10px;
|
334 |
-
border-bottom: 1px solid rgba(130, 130, 130, .1)
|
335 |
-
}
|
336 |
-
|
337 |
-
.color-picker-box .color-picker-radio label {
|
338 |
-
border-radius: 50%;
|
339 |
-
width: 28px;
|
340 |
-
height: 28px;
|
341 |
-
position: relative;
|
342 |
-
cursor: pointer;
|
343 |
-
font-size: 0
|
344 |
-
}
|
345 |
-
|
346 |
-
.color-picker-box .color-picker-radio label span {
|
347 |
-
display: block;
|
348 |
-
width: 28px;
|
349 |
-
height: 28px;
|
350 |
-
vertical-align: top;
|
351 |
-
opacity: 0;
|
352 |
-
transition: all .2s;
|
353 |
-
background-position: center;
|
354 |
-
background-repeat: no-repeat;
|
355 |
-
background-image: url(../images/icon-check-white.svg)
|
356 |
-
}
|
357 |
-
|
358 |
-
.color-picker-box .color-picker-radio label input {
|
359 |
-
position: absolute;
|
360 |
-
z-index: -1;
|
361 |
-
opacity: 0
|
362 |
-
}
|
363 |
-
|
364 |
-
.color-picker-box .color-picker-radio label input:checked + span {
|
365 |
-
opacity: 1
|
366 |
-
}
|
367 |
-
|
368 |
-
.btn-help span, .color-picker-box .color-picker-custom a {
|
369 |
-
margin-left: 5px
|
370 |
-
}
|
371 |
-
|
372 |
-
.color-picker-box .color-picker-custom {
|
373 |
-
padding: 10px 8px 16px
|
374 |
-
}
|
375 |
-
|
376 |
-
.color-picker-box .color-picker-custom > div {
|
377 |
-
display: flex;
|
378 |
-
align-items: center
|
379 |
-
}
|
380 |
-
|
381 |
-
.color-picker-box .color-picker-custom > div + div {
|
382 |
-
margin-top: 10px
|
383 |
-
}
|
384 |
-
|
385 |
-
.color-picker-box .color-picker-custom .circle {
|
386 |
-
color: #FF6376;
|
387 |
-
background: #FFF;
|
388 |
-
border: 1px solid #D0D0D0;
|
389 |
-
border-radius: 50%;
|
390 |
-
width: 28px;
|
391 |
-
height: 28px;
|
392 |
-
align-items: center;
|
393 |
-
justify-content: center;
|
394 |
-
display: flex;
|
395 |
-
margin-right: 3px;
|
396 |
-
font-size: 14px
|
397 |
-
}
|
398 |
-
|
399 |
-
a, a:focus {
|
400 |
-
color: #a886cd
|
401 |
-
}
|
402 |
-
|
403 |
-
body, button {
|
404 |
-
font-size: 17px;
|
405 |
-
font-family: Rubik, sans-serif
|
406 |
-
}
|
407 |
-
|
408 |
-
.color-picker-box .color-picker-custom input {
|
409 |
-
background: #FFF;
|
410 |
-
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
411 |
-
border-radius: 5px;
|
412 |
-
border: 0;
|
413 |
-
line-height: 24px;
|
414 |
-
padding: 5px 7px;
|
415 |
-
height: 34px;
|
416 |
-
width: 180px
|
417 |
-
}
|
418 |
-
|
419 |
-
.color-picker-btn {
|
420 |
-
background-color: #FFF;
|
421 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
422 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
423 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
424 |
-
border-radius: 4px;
|
425 |
-
border: 0;
|
426 |
-
padding: 6px 8px;
|
427 |
-
line-height: 17px
|
428 |
-
}
|
429 |
-
|
430 |
-
.color-picker-btn .circle {
|
431 |
-
display: inline-block;
|
432 |
-
vertical-align: top;
|
433 |
-
width: 15px;
|
434 |
-
height: 15px;
|
435 |
-
border-radius: 50%;
|
436 |
-
margin: 1px 4px 1px 0
|
437 |
-
}
|
438 |
-
|
439 |
-
.color-picker-btn svg {
|
440 |
-
transition: all .2s;
|
441 |
-
margin-left: 8px
|
442 |
-
}
|
443 |
-
|
444 |
-
.color-picker-btn-close {
|
445 |
-
background-color: transparent;
|
446 |
-
border: 0;
|
447 |
-
padding: 5px;
|
448 |
-
line-height: 17px;
|
449 |
-
position: absolute;
|
450 |
-
right: 0;
|
451 |
-
top: 0
|
452 |
-
}
|
453 |
-
|
454 |
-
.color-picker-btn-close svg {
|
455 |
-
transform: rotate(180deg)
|
456 |
-
}
|
457 |
-
|
458 |
-
.switch {
|
459 |
-
display: flex;
|
460 |
-
align-items: center;
|
461 |
-
margin-bottom: 0;
|
462 |
-
position: relative;
|
463 |
-
flex: 0 0 auto
|
464 |
-
}
|
465 |
-
|
466 |
-
.switch input[type=checkbox] {
|
467 |
-
pointer-events: none;
|
468 |
-
opacity: 0;
|
469 |
-
position: absolute;
|
470 |
-
top: 0;
|
471 |
-
right: 0;
|
472 |
-
z-index: -1;
|
473 |
-
width: 0;
|
474 |
-
height: 0
|
475 |
-
}
|
476 |
-
|
477 |
-
.switch input[type=checkbox]:checked + .switch__styled {
|
478 |
-
background: #a886cd;
|
479 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
480 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
481 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
482 |
-
}
|
483 |
-
|
484 |
-
.switch input[type=checkbox]:checked + .switch__styled:after {
|
485 |
-
left: 40px;
|
486 |
-
background: #ffffff;
|
487 |
-
}
|
488 |
-
|
489 |
-
.form-group .switch {
|
490 |
-
height: 42px
|
491 |
-
}
|
492 |
-
|
493 |
-
.switch__styled {
|
494 |
-
background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
|
495 |
-
margin: 0 8px;
|
496 |
-
display: inline-block;
|
497 |
-
height: 34px;
|
498 |
-
width: 72px;
|
499 |
-
border-radius: 17px;
|
500 |
-
position: relative;
|
501 |
-
transition: all .2s;
|
502 |
-
cursor: pointer;
|
503 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
504 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
505 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
506 |
-
background: #cfbde4;
|
507 |
-
}
|
508 |
-
|
509 |
-
.switch__styled:after {
|
510 |
-
content: '';
|
511 |
-
position: absolute;
|
512 |
-
left: 2px;
|
513 |
-
top: 2px;
|
514 |
-
height: 30px;
|
515 |
-
width: 30px;
|
516 |
-
border-radius: 50%;
|
517 |
-
background-color: #fff;
|
518 |
-
transition: all .2s;
|
519 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
520 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
521 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
522 |
-
}
|
523 |
-
|
524 |
-
.switch.custom-switch {
|
525 |
-
margin-right: auto;
|
526 |
-
margin-left: 30px
|
527 |
-
}
|
528 |
-
|
529 |
-
.switch.custom-switch .switch__styled {
|
530 |
-
background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
|
531 |
-
box-shadow: 0 4px 14px rgba(0, 0, 0, .15)
|
532 |
-
}
|
533 |
-
|
534 |
-
body {
|
535 |
-
background-image: url(../images/bg.svg);
|
536 |
-
background-position: 155px 30px;
|
537 |
-
background-repeat: no-repeat;
|
538 |
-
background-size: calc(100% - 150px) auto;
|
539 |
-
background-attachment: fixed;
|
540 |
-
color: #4F4F4F;
|
541 |
-
}
|
542 |
-
|
543 |
-
button {
|
544 |
-
cursor: pointer
|
545 |
-
}
|
546 |
-
|
547 |
-
button#collapse-button {
|
548 |
-
font-size: 13px
|
549 |
-
}
|
550 |
-
|
551 |
-
input {
|
552 |
-
font-family: Rubik, sans-serif;
|
553 |
-
font-size: 17px
|
554 |
-
}
|
555 |
-
|
556 |
-
#cht-form input[type=submit] {
|
557 |
-
opacity: 0;
|
558 |
-
position: absolute
|
559 |
-
}
|
560 |
-
|
561 |
-
a:focus {
|
562 |
-
box-shadow: none
|
563 |
-
}
|
564 |
-
|
565 |
-
::-webkit-input-placeholder {
|
566 |
-
color: #E0E0E0
|
567 |
-
}
|
568 |
-
|
569 |
-
::-moz-placeholder {
|
570 |
-
color: #E0E0E0
|
571 |
-
}
|
572 |
-
|
573 |
-
:-ms-input-placeholder {
|
574 |
-
color: #E0E0E0
|
575 |
-
}
|
576 |
-
|
577 |
-
:-moz-placeholder {
|
578 |
-
color: #E0E0E0
|
579 |
-
}
|
580 |
-
|
581 |
-
.section {
|
582 |
-
padding: 30px 15px;
|
583 |
-
position: relative
|
584 |
-
}
|
585 |
-
|
586 |
-
.section + .section {
|
587 |
-
border-top: 2px solid rgba(130, 130, 130, .1)
|
588 |
-
}
|
589 |
-
|
590 |
-
.section.one {
|
591 |
-
max-width: 680px
|
592 |
-
}
|
593 |
-
|
594 |
-
.chaty-text-color {
|
595 |
-
position: relative;
|
596 |
-
}
|
597 |
-
|
598 |
-
.chaty-text-color .wp-picker-holder {
|
599 |
-
position: absolute;
|
600 |
-
z-index: 101;
|
601 |
-
}
|
602 |
-
|
603 |
-
.chaty-text-color span.wp-color-result-text {
|
604 |
-
display: none;
|
605 |
-
}
|
606 |
-
|
607 |
-
.section-title {
|
608 |
-
font-family: Oswald, sans-serif;
|
609 |
-
font-size: 30px;
|
610 |
-
color: #000;
|
611 |
-
line-height: 44px;
|
612 |
-
margin-bottom: 30px;
|
613 |
-
font-weight: 400;
|
614 |
-
margin-top: 0;
|
615 |
-
display: flex
|
616 |
-
}
|
617 |
-
|
618 |
-
.section-title strong {
|
619 |
-
margin: 0 14px 0 0;
|
620 |
-
text-align: right;
|
621 |
-
font-weight: 700
|
622 |
-
}
|
623 |
-
|
624 |
-
.main {
|
625 |
-
background-color: #fff;
|
626 |
-
border-radius: 9px;
|
627 |
-
position: relative
|
628 |
-
}
|
629 |
-
|
630 |
-
.main .channels-icons {
|
631 |
-
display: flex;
|
632 |
-
flex-wrap: wrap;
|
633 |
-
width: 540px;
|
634 |
-
margin: 0 auto;
|
635 |
-
max-width: 100%;
|
636 |
-
}
|
637 |
-
|
638 |
-
.main .channels-icons > .icon {
|
639 |
-
padding: 0 6px;
|
640 |
-
margin: 0 0;
|
641 |
-
width: 60px;
|
642 |
-
height: 55px;
|
643 |
-
}
|
644 |
-
|
645 |
-
.main .channels-icons > .icon .color-element {
|
646 |
-
transition: all .2s
|
647 |
-
}
|
648 |
-
|
649 |
-
.main .channels-icons > .icon:not(.active) svg {
|
650 |
-
cursor: pointer
|
651 |
-
}
|
652 |
-
.main .channels-selected {
|
653 |
-
padding-top: 20px;
|
654 |
-
position: relative;
|
655 |
-
min-height: 120px
|
656 |
-
}
|
657 |
-
|
658 |
-
.main .channels-selected__item {
|
659 |
-
display: flex;
|
660 |
-
align-items: center;
|
661 |
-
flex-wrap: wrap;
|
662 |
-
position: relative;
|
663 |
-
}
|
664 |
-
|
665 |
-
.chaty-default-settings {
|
666 |
-
display: flex;
|
667 |
-
align-items: center;
|
668 |
-
flex-wrap: wrap;
|
669 |
-
position: relative;
|
670 |
-
padding-bottom: 15px;
|
671 |
-
}
|
672 |
-
|
673 |
-
.channels-selected-list li {
|
674 |
-
display: block;
|
675 |
-
max-width: 640px;
|
676 |
-
padding: 15px;
|
677 |
-
background: #EFF6F6;
|
678 |
-
-webkit-border-radius: 10px;
|
679 |
-
-moz-border-radius: 10px;
|
680 |
-
border-radius: 10px;
|
681 |
-
margin-bottom: 15px;
|
682 |
-
}
|
683 |
-
li#chaty-social-Poptin {
|
684 |
-
padding: 15px 15px 25px 15px;
|
685 |
-
}
|
686 |
-
|
687 |
-
|
688 |
-
.main .channels-selected__item .icon {
|
689 |
-
margin-right: 5px;
|
690 |
-
cursor: pointer;
|
691 |
-
width: 50px;
|
692 |
-
/* background: #49E670;*/
|
693 |
-
border-radius: 100%;
|
694 |
-
height: 50px;
|
695 |
-
text-align: center;
|
696 |
-
vertical-align: middle
|
697 |
-
}
|
698 |
-
.main .channels-selected__item .icon.inline-message {
|
699 |
-
display: inline-block;
|
700 |
-
vertical-align: middle;
|
701 |
-
width: auto;
|
702 |
-
height: auto;
|
703 |
-
line-height: 1;
|
704 |
-
}
|
705 |
-
.main .channels-selected__item .icon > i {
|
706 |
-
font-size: 30px;
|
707 |
-
line-height: 50px
|
708 |
-
}
|
709 |
-
|
710 |
-
.main .channels-selected__item .btn-cancel {
|
711 |
-
position: absolute;
|
712 |
-
right: -15px;
|
713 |
-
top: -15px;
|
714 |
-
transform: translate(50%, -50%);
|
715 |
-
background: linear-gradient(0deg, #333, #333), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
|
716 |
-
border-radius: 50%;
|
717 |
-
width: 22px;
|
718 |
-
height: 22px;
|
719 |
-
display: flex;
|
720 |
-
align-items: center;
|
721 |
-
justify-content: center;
|
722 |
-
padding: 0;
|
723 |
-
border: 0;
|
724 |
-
z-index: 1;
|
725 |
-
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
726 |
-
cursor: pointer
|
727 |
-
}
|
728 |
-
|
729 |
-
.main .channels-selected__item .input-example {
|
730 |
-
font-size: 13px;
|
731 |
-
padding-top: 0px;
|
732 |
-
line-height: 14px;
|
733 |
-
color: #444;
|
734 |
-
opacity: .8;
|
735 |
-
position: absolute;
|
736 |
-
left: calc(50px + 16px + 7px);
|
737 |
-
top: 50px;
|
738 |
-
max-width: 350px;
|
739 |
-
}
|
740 |
-
|
741 |
-
.chaty-settings a {
|
742 |
-
text-decoration: none;
|
743 |
-
display: inline-block;
|
744 |
-
color: #fff;
|
745 |
-
margin-left: 15px;
|
746 |
-
height: 26px;
|
747 |
-
background: #A785CB;
|
748 |
-
text-align: center;
|
749 |
-
vertical-align: middle;
|
750 |
-
-webkit-border-radius: 18px;
|
751 |
-
-moz-border-radius: 18px;
|
752 |
-
border-radius: 18px;
|
753 |
-
font-size: 10px;
|
754 |
-
line-height: 26px;
|
755 |
-
padding: 0 5px;
|
756 |
-
}
|
757 |
-
|
758 |
-
.move-icon img {
|
759 |
-
width: 10px;
|
760 |
-
margin-right: 5px;
|
761 |
-
margin-top: 8px;
|
762 |
-
cursor: move;
|
763 |
-
}
|
764 |
-
.chaty-settings a .dashicons {
|
765 |
-
|
766 |
-
}
|
767 |
-
.chaty-settings a .dashicons, .chaty-settings a .dashicons-before:before {
|
768 |
-
font-size: 16px;
|
769 |
-
line-height: 26px;
|
770 |
-
display: inline-block;
|
771 |
-
margin: 0;
|
772 |
-
text-align: center;
|
773 |
-
}
|
774 |
-
|
775 |
-
.main .channels-selected__item.disabled .icon {
|
776 |
-
cursor: default
|
777 |
-
}
|
778 |
-
|
779 |
-
.main .channels-selected__item.disabled .icon .color-element {
|
780 |
-
fill: #E9E9E9
|
781 |
-
}
|
782 |
-
|
783 |
-
.main .channels-selected__item.disabled input {
|
784 |
-
box-shadow: 0 4px 14px rgba(179, 179, 179, .15);
|
785 |
-
color: #E9E9E9
|
786 |
-
}
|
787 |
-
|
788 |
-
.main .channels-selected__item.disabled input::-webkit-input-placeholder {
|
789 |
-
color: #E9E9E9
|
790 |
-
}
|
791 |
-
|
792 |
-
.main .channels-selected__item.disabled input::-moz-placeholder {
|
793 |
-
color: #E9E9E9
|
794 |
-
}
|
795 |
-
|
796 |
-
.main .channels-selected__item.disabled input:-ms-input-placeholder {
|
797 |
-
color: #E9E9E9
|
798 |
-
}
|
799 |
-
|
800 |
-
.main .channels-selected__item.disabled input:-moz-placeholder {
|
801 |
-
color: #E9E9E9
|
802 |
-
}
|
803 |
-
|
804 |
-
.main .channels-selected__item.disabled .btn-cancel {
|
805 |
-
cursor: default;
|
806 |
-
background: linear-gradient(0deg, #CFCFCF, #CFCFCF), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%)
|
807 |
-
}
|
808 |
-
|
809 |
-
.btn-help, .btn-save-sticky, .channels__view, .icon:not(.active) svg {
|
810 |
-
cursor: pointer
|
811 |
-
}
|
812 |
-
|
813 |
-
.main .channels-selected__item.disabled .input-example {
|
814 |
-
color: #E9E9E9
|
815 |
-
}
|
816 |
-
|
817 |
-
.main #positionPro {
|
818 |
-
margin-left: -122px
|
819 |
-
}
|
820 |
-
|
821 |
-
.main .form-horizontal__item {
|
822 |
-
display: flex;
|
823 |
-
flex-wrap: wrap
|
824 |
-
}
|
825 |
-
|
826 |
-
.main .form-horizontal__item.active + .form-horizontal__item {
|
827 |
-
padding-top: 30px
|
828 |
-
}
|
829 |
-
.main .form-horizontal__item:not(.o-channel) + .form-horizontal__item {
|
830 |
-
padding-top: 30px
|
831 |
-
}
|
832 |
-
|
833 |
-
.main .form-horizontal__item-label {
|
834 |
-
flex: 0 0 135px;
|
835 |
-
margin: 0 14px 0 0;
|
836 |
-
text-align: right;
|
837 |
-
font-weight: 700
|
838 |
-
}
|
839 |
-
|
840 |
-
.header, .main .form-horizontal__item.flex-center {
|
841 |
-
align-items: center
|
842 |
-
}
|
843 |
-
|
844 |
-
.main .form-horizontal__item > div > input {
|
845 |
-
background: #FFF;
|
846 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
847 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
848 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
849 |
-
border-radius: 5px;
|
850 |
-
border: 0;
|
851 |
-
line-height: 24px;
|
852 |
-
padding: 5px 7px
|
853 |
-
}
|
854 |
-
|
855 |
-
.main .form-horizontal__item > div > input.widget-size__input {
|
856 |
-
width: 47px;
|
857 |
-
height: 34px;
|
858 |
-
text-align: center
|
859 |
-
}
|
860 |
-
|
861 |
-
.icon {
|
862 |
-
border-radius: 50%;
|
863 |
-
vertical-align: top;
|
864 |
-
font-size: 0;
|
865 |
-
position: relative
|
866 |
-
}
|
867 |
-
.icon.label-tooltip {
|
868 |
-
font-size: 12px;
|
869 |
-
font-weight: normal;
|
870 |
-
color: #72777c;
|
871 |
-
}
|
872 |
-
.icon:after, .icon:before {
|
873 |
-
position: absolute;
|
874 |
-
opacity: 0;
|
875 |
-
pointer-events: none;
|
876 |
-
left: 50%
|
877 |
-
}
|
878 |
-
|
879 |
-
.icon:after {
|
880 |
-
text-align: center;
|
881 |
-
content: "" attr(data-label) "";
|
882 |
-
font-size: 11px;
|
883 |
-
top: 0;
|
884 |
-
transform: translate(-50%, calc(-100% - 6px));
|
885 |
-
padding: 0 20px;
|
886 |
-
line-height: 23px;
|
887 |
-
min-width: 90px;
|
888 |
-
white-space: nowrap;
|
889 |
-
background-color: #333;
|
890 |
-
box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
|
891 |
-
border-radius: 6px;
|
892 |
-
font-style: normal;
|
893 |
-
}
|
894 |
-
|
895 |
-
.icon.label-tooltip:after {
|
896 |
-
width: 250px;
|
897 |
-
white-space: normal;
|
898 |
-
line-height: 16px;
|
899 |
-
padding: 10px;
|
900 |
-
}
|
901 |
-
|
902 |
-
.btn-save:after, .icon:before, .popover:after {
|
903 |
-
content: ''
|
904 |
-
}
|
905 |
-
|
906 |
-
.icon:before {
|
907 |
-
top: -8px;
|
908 |
-
transform: translateX(-50%);
|
909 |
-
height: 10px;
|
910 |
-
width: 10px;
|
911 |
-
border-width: 10px 5px 0;
|
912 |
-
border-style: solid;
|
913 |
-
border-color: #333 transparent transparent
|
914 |
-
}
|
915 |
-
|
916 |
-
.icon.tooltip-show:after, .icon.tooltip-show:before, .icon:hover:not(.tooltip-show):after, .icon:hover:not(.tooltip-show):before {
|
917 |
-
opacity: 1;
|
918 |
-
pointer-events: auto
|
919 |
-
}
|
920 |
-
|
921 |
-
.chaty-help-form, .disabled {
|
922 |
-
pointer-events: none
|
923 |
-
}
|
924 |
-
|
925 |
-
.icon .color-element {
|
926 |
-
transition: all .2s
|
927 |
-
}
|
928 |
-
|
929 |
-
.icon.no-tooltip:after, .icon.no-tooltip:before {
|
930 |
-
content: none !important
|
931 |
-
}
|
932 |
-
|
933 |
-
.icon.icon-sm svg {
|
934 |
-
width: 48px;
|
935 |
-
height: 48px
|
936 |
-
}
|
937 |
-
|
938 |
-
.icon.icon-md svg {
|
939 |
-
width: 50px;
|
940 |
-
height: 50px;
|
941 |
-
cursor: move;
|
942 |
-
}
|
943 |
-
|
944 |
-
.icon.icon-xs svg {
|
945 |
-
width: 30px;
|
946 |
-
height: 30px
|
947 |
-
}
|
948 |
-
|
949 |
-
.preview.mobiel-view .icon.icon-xs svg {
|
950 |
-
width: 24px;
|
951 |
-
height: 24px
|
952 |
-
}
|
953 |
-
.preview.mobiel-view .social-item-box {
|
954 |
-
margin: 0;
|
955 |
-
}
|
956 |
-
.preview.mobiel-view .tooltip .tooltiptext {
|
957 |
-
min-height: 24px;
|
958 |
-
line-height: 24px;
|
959 |
-
height: 24px;
|
960 |
-
bottom: 3px;
|
961 |
-
}
|
962 |
-
.preview.mobiel-view .tooltip .tooltiptext span {
|
963 |
-
height: 24px;
|
964 |
-
min-height: 24px;
|
965 |
-
line-height: 24px;
|
966 |
-
}
|
967 |
-
.preview.mobiel-view .chaty-widget .icon:before {
|
968 |
-
top: calc(100% - 17px);
|
969 |
-
}
|
970 |
-
.preview.mobiel-view span.social-tooltip {
|
971 |
-
padding: 0px 10px;
|
972 |
-
}
|
973 |
-
.preview.mobiel-view span.social-tooltip:after {
|
974 |
-
top: 6px;
|
975 |
-
}
|
976 |
-
|
977 |
-
.btn-save {
|
978 |
-
border: 0;
|
979 |
-
text-transform: uppercase;
|
980 |
-
line-height: 24px;
|
981 |
-
font-weight: 700;
|
982 |
-
position: relative;
|
983 |
-
max-width: 100%;
|
984 |
-
margin-top: 40px;
|
985 |
-
height: 50px;
|
986 |
-
width: 274px;
|
987 |
-
border-radius: 25px;
|
988 |
-
padding: 14px 15px 12px;
|
989 |
-
background-image: url(../images/rocket.svg);
|
990 |
-
background-color: #FF6624;
|
991 |
-
background-position: left bottom;
|
992 |
-
background-repeat: no-repeat;
|
993 |
-
box-shadow: 0 3px 10px 1px rgba(255, 90, 116, .5)
|
994 |
-
}
|
995 |
-
|
996 |
-
.btn-save:after {
|
997 |
-
position: absolute;
|
998 |
-
z-index: -1;
|
999 |
-
top: 30px;
|
1000 |
-
left: 50%;
|
1001 |
-
transform: translateX(-50%);
|
1002 |
-
width: 238.1px;
|
1003 |
-
height: 30.81px;
|
1004 |
-
background: linear-gradient(97.71deg, #FF6624 9.04%, #FF6376 91.56%), linear-gradient(104.36deg, #6371DB 20.37%, #FF89C4 72.52%);
|
1005 |
-
opacity: .77;
|
1006 |
-
filter: blur(19px);
|
1007 |
-
border-radius: 9px
|
1008 |
-
}
|
1009 |
-
|
1010 |
-
.btn-help, .remove-chaty-widget-sticky, .preview-help-btn {
|
1011 |
-
text-align: center;
|
1012 |
-
padding-top: 10px;
|
1013 |
-
position: absolute;
|
1014 |
-
background: #03e78b;
|
1015 |
-
border-radius: 7px 7px 0 0;
|
1016 |
-
right: 0;
|
1017 |
-
top: 60px;
|
1018 |
-
transform: rotate(-90deg);
|
1019 |
-
transform-origin: bottom right;
|
1020 |
-
border: 0;
|
1021 |
-
height: 42px;
|
1022 |
-
width: 102px;
|
1023 |
-
text-transform: uppercase;
|
1024 |
-
font-weight: 700
|
1025 |
-
}
|
1026 |
-
|
1027 |
-
.btn-help span {
|
1028 |
-
display: inline-block;
|
1029 |
-
width: 27px;
|
1030 |
-
height: 27px;
|
1031 |
-
border: 2px solid #fff;
|
1032 |
-
border-radius: 100%
|
1033 |
-
}
|
1034 |
-
.preview-help-btn {
|
1035 |
-
display: none;
|
1036 |
-
color: #fff;
|
1037 |
-
text-decoration: none;
|
1038 |
-
}
|
1039 |
-
.btn-save-sticky {
|
1040 |
-
padding: 10px 0 11px;
|
1041 |
-
top: 20px;
|
1042 |
-
background: #FF6624;
|
1043 |
-
right: 0;
|
1044 |
-
border-radius: 7px 0 0 7px;
|
1045 |
-
position: absolute;
|
1046 |
-
border: 0;
|
1047 |
-
height: 69px;
|
1048 |
-
width: 42px;
|
1049 |
-
text-transform: uppercase;
|
1050 |
-
color: #fff;
|
1051 |
-
font-weight: 700;
|
1052 |
-
font-size: 11px
|
1053 |
-
}
|
1054 |
-
|
1055 |
-
.btn-save-sticky span {
|
1056 |
-
text-align: center;
|
1057 |
-
display: inline-block;
|
1058 |
-
margin-bottom: 4px;
|
1059 |
-
height: 15px;
|
1060 |
-
line-height: 13px
|
1061 |
-
}
|
1062 |
-
|
1063 |
-
input.channels__input.border-red {
|
1064 |
-
border-color: #dd0000;
|
1065 |
-
}
|
1066 |
-
.chaty-setting-col > div > *.mail-merge-tags {
|
1067 |
-
display: block;
|
1068 |
-
}
|
1069 |
-
.mail-merge-tags span {
|
1070 |
-
display: inline-block;
|
1071 |
-
background: #a886cd;
|
1072 |
-
color: #fff;
|
1073 |
-
font-size: 14px;
|
1074 |
-
padding: 0 5px;
|
1075 |
-
margin: 4px 4px 0 0;
|
1076 |
-
border-radius: 5px;
|
1077 |
-
}
|
1078 |
-
.pre-message-whatsapp {
|
1079 |
-
position: relative;
|
1080 |
-
}
|
1081 |
-
.pre-message-whatsapp button {
|
1082 |
-
position: absolute;
|
1083 |
-
border: none;
|
1084 |
-
top: 5px;
|
1085 |
-
right: 5px;
|
1086 |
-
background: transparent;
|
1087 |
-
display:none;
|
1088 |
-
}
|
1089 |
-
.pre-message-whatsapp button svg {
|
1090 |
-
fill: #a5a5a5;
|
1091 |
-
}
|
1092 |
-
.disable-message.label-tooltip.icon {
|
1093 |
-
height: auto !important;
|
1094 |
-
}
|
1095 |
-
@media (min-width: 1281px) {
|
1096 |
-
.btn-save-sticky {
|
1097 |
-
left: calc(50vw - 480px + 1050px / 12 * 7 + 475px);
|
1098 |
-
top: 161px;
|
1099 |
-
right: auto;
|
1100 |
-
border-radius: 0 7px 7px 0;
|
1101 |
-
position: fixed
|
1102 |
-
}
|
1103 |
-
|
1104 |
-
body.has-premio-box .btn-save-sticky {
|
1105 |
-
top: 320px
|
1106 |
-
}
|
1107 |
-
|
1108 |
-
body.has-premio-box .btn-help {
|
1109 |
-
top: 455px;
|
1110 |
-
}
|
1111 |
-
html[dir=rtl] .btn-save-sticky {
|
1112 |
-
left: calc(50vw - 480px + 1050px / 12 * 7 + 295px)
|
1113 |
-
}
|
1114 |
-
|
1115 |
-
html[dir=rtl] .btn-help {
|
1116 |
-
left: calc(50vw - 480px + 1050px / 12 * 7 + 193px)
|
1117 |
-
}
|
1118 |
-
}
|
1119 |
-
|
1120 |
-
.popover {
|
1121 |
-
flex: 0 0 auto;
|
1122 |
-
background: #FFF;
|
1123 |
-
border-radius: 4px;
|
1124 |
-
line-height: 33px;
|
1125 |
-
padding: 0 5px;
|
1126 |
-
position: relative;
|
1127 |
-
box-shadow: 0 1px 14px rgba(156, 117, 198, .4), 0 2px 4px rgba(0, 0, 0, .15);
|
1128 |
-
margin: 0 0 20px 0;
|
1129 |
-
text-align: center;
|
1130 |
-
max-width: 635px;
|
1131 |
-
}
|
1132 |
-
|
1133 |
-
.popover:after {
|
1134 |
-
position: absolute;
|
1135 |
-
top: -7px;
|
1136 |
-
left: 40px;
|
1137 |
-
width: 20px;
|
1138 |
-
height: 7px;
|
1139 |
-
background-image: url(../images/arrow.png);
|
1140 |
-
background-position: center;
|
1141 |
-
background-size: contain;
|
1142 |
-
background-repeat: no-repeat;
|
1143 |
-
display: none;
|
1144 |
-
}
|
1145 |
-
|
1146 |
-
.easy-modal {
|
1147 |
-
display: none;
|
1148 |
-
width: 515px;
|
1149 |
-
max-width: calc(100vw - 30px);
|
1150 |
-
box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
|
1151 |
-
border-radius: 6px;
|
1152 |
-
background-color: #fff;
|
1153 |
-
top: 50% !important;
|
1154 |
-
transform: translateY(-50%)
|
1155 |
-
}
|
1156 |
-
|
1157 |
-
.easy-modal .money-guaranteed svg, .upgrade-block .money-guaranteed svg {
|
1158 |
-
width: 15px;
|
1159 |
-
vertical-align: text-bottom
|
1160 |
-
}
|
1161 |
-
|
1162 |
-
.easy-modal .money-guaranteed {
|
1163 |
-
color: #a886cd;
|
1164 |
-
font-size: 17px;
|
1165 |
-
line-height: 24px;
|
1166 |
-
margin-bottom: 20px
|
1167 |
-
}
|
1168 |
-
|
1169 |
-
.easy-modal .easy-modal-inner {
|
1170 |
-
position: relative;
|
1171 |
-
padding: 20px 50px
|
1172 |
-
}
|
1173 |
-
|
1174 |
-
.easy-modal .easy-modal-close {
|
1175 |
-
position: absolute;
|
1176 |
-
right: 0;
|
1177 |
-
top: 0;
|
1178 |
-
padding: 7px;
|
1179 |
-
line-height: 12px;
|
1180 |
-
background-color: transparent;
|
1181 |
-
border: 0
|
1182 |
-
}
|
1183 |
-
|
1184 |
-
.easy-modal h2 {
|
1185 |
-
font-family: Rubik;
|
1186 |
-
font-weight: 700;
|
1187 |
-
font-size: 27px;
|
1188 |
-
margin-bottom: 13px;
|
1189 |
-
text-align: center;
|
1190 |
-
margin-top: 0
|
1191 |
-
}
|
1192 |
-
|
1193 |
-
.easy-modal .udner-title {
|
1194 |
-
font-size: 17px
|
1195 |
-
}
|
1196 |
-
|
1197 |
-
.easy-modal .udner-title span {
|
1198 |
-
font-size: 15px;
|
1199 |
-
display: block;
|
1200 |
-
color: #bdbdbd
|
1201 |
-
}
|
1202 |
-
|
1203 |
-
.easy-modal p {
|
1204 |
-
text-align: center;
|
1205 |
-
margin: 0 auto 10px
|
1206 |
-
}
|
1207 |
-
|
1208 |
-
.easy-modal ul {
|
1209 |
-
margin-bottom: 17px;
|
1210 |
-
line-height: 27px;
|
1211 |
-
list-style-position: inside;
|
1212 |
-
text-align: left
|
1213 |
-
}
|
1214 |
-
|
1215 |
-
.easy-modal .easy-modal-link {
|
1216 |
-
font-size: 15px;
|
1217 |
-
text-decoration-line: underline;
|
1218 |
-
color: #828282;
|
1219 |
-
display: inline-block;
|
1220 |
-
margin-top: 7px
|
1221 |
-
}
|
1222 |
-
|
1223 |
-
.easy-modal .form-horizontal__item {
|
1224 |
-
margin-bottom: 50px;
|
1225 |
-
justify-content: center;
|
1226 |
-
text-align: center
|
1227 |
-
}
|
1228 |
-
|
1229 |
-
.easy-modal .user-name, .easy-modal .user-role {
|
1230 |
-
margin: 0;
|
1231 |
-
font-size: 13px
|
1232 |
-
}
|
1233 |
-
|
1234 |
-
.easy-modal .form-horizontal__item > div {
|
1235 |
-
flex: 0 0 auto
|
1236 |
-
}
|
1237 |
-
|
1238 |
-
.easy-modal .user-name {
|
1239 |
-
font-weight: 700;
|
1240 |
-
color: #828282;
|
1241 |
-
text-align: left
|
1242 |
-
}
|
1243 |
-
|
1244 |
-
.link-back, .link-back:hover {
|
1245 |
-
color: #fff
|
1246 |
-
}
|
1247 |
-
|
1248 |
-
.easy-modal .user-photo {
|
1249 |
-
float: left;
|
1250 |
-
margin-right: 5px
|
1251 |
-
}
|
1252 |
-
|
1253 |
-
.link-back {
|
1254 |
-
display: inline-block;
|
1255 |
-
border: 1px solid #fff;
|
1256 |
-
border-radius: 60px;
|
1257 |
-
font-size: 17px;
|
1258 |
-
line-height: 20px;
|
1259 |
-
text-align: center;
|
1260 |
-
padding: 7px 46px
|
1261 |
-
}
|
1262 |
-
|
1263 |
-
.upgrade-wrap {
|
1264 |
-
max-width: 962px;
|
1265 |
-
margin: 13px auto
|
1266 |
-
}
|
1267 |
-
|
1268 |
-
.upgrade-block {
|
1269 |
-
background-color: #fff;
|
1270 |
-
border-radius: 9px;
|
1271 |
-
padding: 48px 0 67px;
|
1272 |
-
margin-top: 21px
|
1273 |
-
}
|
1274 |
-
|
1275 |
-
.upgrade-block .easy-modal-inner {
|
1276 |
-
max-width: 600px;
|
1277 |
-
margin: 0 auto;
|
1278 |
-
direction: ltr !important;
|
1279 |
-
}
|
1280 |
-
|
1281 |
-
.upgrade-block h2 {
|
1282 |
-
font-family: Rubik;
|
1283 |
-
font-weight: 700;
|
1284 |
-
font-size: 27px;
|
1285 |
-
margin-bottom: 5px;
|
1286 |
-
text-align: center;
|
1287 |
-
margin-top: 0;
|
1288 |
-
line-height: 33px
|
1289 |
-
}
|
1290 |
-
|
1291 |
-
.upgrade-block .udner-title {
|
1292 |
-
font-size: 17px
|
1293 |
-
}
|
1294 |
-
|
1295 |
-
.upgrade-block .udner-title span {
|
1296 |
-
font-size: 15px;
|
1297 |
-
display: block;
|
1298 |
-
color: #bdbdbd
|
1299 |
-
}
|
1300 |
-
|
1301 |
-
.form-horizontal__item .chaty-widget .icon, .upgrade-block ul {
|
1302 |
-
display: inline-block
|
1303 |
-
}
|
1304 |
-
|
1305 |
-
.upgrade-block p {
|
1306 |
-
text-align: center;
|
1307 |
-
margin: 0 auto 10px
|
1308 |
-
}
|
1309 |
-
|
1310 |
-
.upgrade-block ul {
|
1311 |
-
margin-bottom: 17px;
|
1312 |
-
line-height: 27px;
|
1313 |
-
list-style-position: inside;
|
1314 |
-
text-align: left
|
1315 |
-
}
|
1316 |
-
|
1317 |
-
.upgrade-block .easy-modal-link {
|
1318 |
-
font-size: 15px;
|
1319 |
-
text-decoration-line: underline;
|
1320 |
-
color: #828282;
|
1321 |
-
display: inline-block;
|
1322 |
-
margin-top: 7px
|
1323 |
-
}
|
1324 |
-
|
1325 |
-
.upgrade-block .form-horizontal__item {
|
1326 |
-
margin-bottom: 50px;
|
1327 |
-
justify-content: center;
|
1328 |
-
text-align: center
|
1329 |
-
}
|
1330 |
-
img.payment-img {
|
1331 |
-
margin: 10px 0;
|
1332 |
-
}
|
1333 |
-
.upgrade-block .form-horizontal__item > div {
|
1334 |
-
flex: 0 0 auto
|
1335 |
-
}
|
1336 |
-
|
1337 |
-
.upgrade-block .user-name {
|
1338 |
-
font-weight: 700;
|
1339 |
-
color: #828282;
|
1340 |
-
margin: 0;
|
1341 |
-
text-align: left;
|
1342 |
-
font-size: 13px
|
1343 |
-
}
|
1344 |
-
|
1345 |
-
.upgrade-block .user-role {
|
1346 |
-
margin: 0;
|
1347 |
-
font-size: 13px
|
1348 |
-
}
|
1349 |
-
|
1350 |
-
.upgrade-block .user-photo {
|
1351 |
-
float: left;
|
1352 |
-
margin-right: 5px
|
1353 |
-
}
|
1354 |
-
|
1355 |
-
.upgrade-block .money-guaranteed {
|
1356 |
-
color: #a886cd;
|
1357 |
-
font-size: 12px;
|
1358 |
-
line-height: 18px;
|
1359 |
-
margin-bottom: 30px;
|
1360 |
-
position: relative;
|
1361 |
-
z-index: 10;
|
1362 |
-
top: -10px
|
1363 |
-
}
|
1364 |
-
|
1365 |
-
.easy-modal.modal-upgrade {
|
1366 |
-
width: 560px
|
1367 |
-
}
|
1368 |
-
|
1369 |
-
.easy-modal.modal-upgrade .easy-modal-inner {
|
1370 |
-
padding: 20px 0 0
|
1371 |
-
}
|
1372 |
-
|
1373 |
-
.modal__wrap {
|
1374 |
-
padding: 0 5px;
|
1375 |
-
text-align: center
|
1376 |
-
}
|
1377 |
-
|
1378 |
-
.form-horizontal__item .chaty-widget {
|
1379 |
-
position: static;
|
1380 |
-
flex: 0 0 250px !important
|
1381 |
-
}
|
1382 |
-
|
1383 |
-
.form-horizontal__item .chaty-widget .icon svg {
|
1384 |
-
width: 62px;
|
1385 |
-
height: 62px
|
1386 |
-
}
|
1387 |
-
|
1388 |
-
.form-horizontal__item .chaty-widget .icon:after {
|
1389 |
-
z-index: 10;
|
1390 |
-
content: "" attr(data-label) "";
|
1391 |
-
font-size: 17px;
|
1392 |
-
left: 0;
|
1393 |
-
top: 50%;
|
1394 |
-
transform: translate(calc(-100% - 6px), -50%);
|
1395 |
-
white-space: nowrap;
|
1396 |
-
padding: 16px 25px;
|
1397 |
-
line-height: 21px;
|
1398 |
-
width: auto;
|
1399 |
-
color: #333;
|
1400 |
-
background-color: #fff;
|
1401 |
-
box-shadow: 0 1.93px 7.74px rgba(0, 0, 0, .15);
|
1402 |
-
border-radius: 10px
|
1403 |
-
}
|
1404 |
-
|
1405 |
-
#toplevel_page_chaty-app img, .btn-red:hover, .text_update {
|
1406 |
-
color: #fff
|
1407 |
-
}
|
1408 |
-
|
1409 |
-
.form-horizontal__item .chaty-widget .icon:before {
|
1410 |
-
content: '';
|
1411 |
-
left: -8px;
|
1412 |
-
top: 50%;
|
1413 |
-
transform: translateY(-50%);
|
1414 |
-
height: 10px;
|
1415 |
-
width: 10px;
|
1416 |
-
z-index: 11;
|
1417 |
-
border-width: 5px 0 5px 10px;
|
1418 |
-
border-style: solid;
|
1419 |
-
border-color: transparent transparent transparent #fff
|
1420 |
-
}
|
1421 |
-
|
1422 |
-
.btn-red, .btn-white {
|
1423 |
-
z-index: 100;
|
1424 |
-
line-height: 27px;
|
1425 |
-
box-shadow: 0 4px 4px rgba(0, 0, 0, .11);
|
1426 |
-
vertical-align: top;
|
1427 |
-
position: relative;
|
1428 |
-
color: #fff
|
1429 |
-
}
|
1430 |
-
|
1431 |
-
.btn-red:hover, .btn-red:focus {
|
1432 |
-
color: #fff
|
1433 |
-
}
|
1434 |
-
|
1435 |
-
.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before {
|
1436 |
-
right: -8px;
|
1437 |
-
left: auto;
|
1438 |
-
border-width: 5px 10px 5px 0;
|
1439 |
-
border-color: transparent #fff transparent transparent
|
1440 |
-
}
|
1441 |
-
|
1442 |
-
.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:after {
|
1443 |
-
right: 0;
|
1444 |
-
left: auto;
|
1445 |
-
transform: translate(calc(100% + 6px), -50%)
|
1446 |
-
}
|
1447 |
-
|
1448 |
-
.header {
|
1449 |
-
display: flex;
|
1450 |
-
padding: 3px 0;
|
1451 |
-
margin-bottom: 9px
|
1452 |
-
}
|
1453 |
-
|
1454 |
-
.btn-red, .tooltip {
|
1455 |
-
display: inline-block
|
1456 |
-
}
|
1457 |
-
|
1458 |
-
.btn-white {
|
1459 |
-
background-color: transparent;
|
1460 |
-
border: 1px solid #FFF;
|
1461 |
-
border-radius: 19px;
|
1462 |
-
display: inline-block;
|
1463 |
-
padding: 3px 20px;
|
1464 |
-
text-transform: uppercase;
|
1465 |
-
font-weight: bold;
|
1466 |
-
text-decoration: none;
|
1467 |
-
}
|
1468 |
-
.btn-white, .btn-white:hover, .btn-white:focus {
|
1469 |
-
color: #ffffff;
|
1470 |
-
}
|
1471 |
-
|
1472 |
-
.btn-red {
|
1473 |
-
border: 0;
|
1474 |
-
text-transform: uppercase;
|
1475 |
-
font-weight: 700;
|
1476 |
-
background-color: #FF6624;
|
1477 |
-
padding: 6px 20px 4px;
|
1478 |
-
border-radius: 19px
|
1479 |
-
}
|
1480 |
-
|
1481 |
-
.btn-red svg {
|
1482 |
-
vertical-align: text-top;
|
1483 |
-
margin-left: 5px
|
1484 |
-
}
|
1485 |
-
|
1486 |
-
.btn-red:hover {
|
1487 |
-
color: #fff
|
1488 |
-
}
|
1489 |
-
|
1490 |
-
.text_update {
|
1491 |
-
color: #fff;
|
1492 |
-
top: 2px;
|
1493 |
-
position: relative;
|
1494 |
-
margin: 0;
|
1495 |
-
font-size: 10px;
|
1496 |
-
left: 15px
|
1497 |
-
}
|
1498 |
-
|
1499 |
-
.sticky-wrapper {
|
1500 |
-
position: absolute;
|
1501 |
-
right: 0;
|
1502 |
-
top: -370px;
|
1503 |
-
width: calc(320px);
|
1504 |
-
z-index: 99
|
1505 |
-
}
|
1506 |
-
|
1507 |
-
.tooltip {
|
1508 |
-
position: relative
|
1509 |
-
}
|
1510 |
-
|
1511 |
-
|
1512 |
-
.chaty-widget-icons-left .tooltip .tooltiptext, .chaty-widget-icons-right .tooltip .tooltiptext {
|
1513 |
-
white-space: pre-wrap;
|
1514 |
-
display: flex;
|
1515 |
-
width: 250px;
|
1516 |
-
min-height: 30px;
|
1517 |
-
color: #000;
|
1518 |
-
text-align: center;
|
1519 |
-
padding: 0px;
|
1520 |
-
bottom: 0;
|
1521 |
-
position: absolute;
|
1522 |
-
z-index: 35;
|
1523 |
-
font-size: 12px;
|
1524 |
-
line-height: 30px
|
1525 |
-
}
|
1526 |
-
|
1527 |
-
.tooltip .tooltiptext span {
|
1528 |
-
background-color: #fff;
|
1529 |
-
padding: 0px 15px;
|
1530 |
-
display: inline-block;
|
1531 |
-
vertical-align: middle;
|
1532 |
-
line-height: 30px;
|
1533 |
-
height: 30px;
|
1534 |
-
float: right;
|
1535 |
-
margin: 0;
|
1536 |
-
border-radius: 5px;
|
1537 |
-
}
|
1538 |
-
.chaty-widget-icons-left .tooltip .tooltiptext span {
|
1539 |
-
float: left;
|
1540 |
-
}
|
1541 |
-
|
1542 |
-
.tooltip:hover .tooltiptext {
|
1543 |
-
visibility: visible
|
1544 |
-
}
|
1545 |
-
|
1546 |
-
.chaty-widget-icons-right .tooltip .tooltiptext {
|
1547 |
-
justify-content: center;
|
1548 |
-
align-items: center;
|
1549 |
-
right: 41px;
|
1550 |
-
}
|
1551 |
-
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 {
|
1552 |
-
|
1553 |
-
}
|
1554 |
-
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 {
|
1555 |
-
height: auto;
|
1556 |
-
top: -3px;
|
1557 |
-
}
|
1558 |
-
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 span {
|
1559 |
-
height: auto;
|
1560 |
-
line-height: 16px;
|
1561 |
-
padding-top: 2px;
|
1562 |
-
padding-bottom: 2px;
|
1563 |
-
}
|
1564 |
-
|
1565 |
-
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2 {
|
1566 |
-
height: auto;
|
1567 |
-
top: -3px;
|
1568 |
-
}
|
1569 |
-
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2 span {
|
1570 |
-
height: auto;
|
1571 |
-
line-height: 16px;
|
1572 |
-
padding-top: 2px;
|
1573 |
-
padding-bottom: 2px;
|
1574 |
-
}
|
1575 |
-
|
1576 |
-
.mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext {
|
1577 |
-
right: 35px
|
1578 |
-
}
|
1579 |
-
|
1580 |
-
.chaty-widget-icons-left .tooltip .tooltiptext {
|
1581 |
-
align-items: center;
|
1582 |
-
justify-content: center;
|
1583 |
-
left: 43px;
|
1584 |
-
line-height: 36px;
|
1585 |
-
}
|
1586 |
-
|
1587 |
-
.mobiel-view .chaty-widget-icons-left .tooltip .tooltiptext {
|
1588 |
-
left: 37px
|
1589 |
-
}
|
1590 |
-
|
1591 |
-
.update-nag {
|
1592 |
-
display: block !important
|
1593 |
-
}
|
1594 |
-
|
1595 |
-
.notice, div.error, div.updated {
|
1596 |
-
display: none !important
|
1597 |
-
}
|
1598 |
-
.notice.premio-notice {
|
1599 |
-
display: block !important
|
1600 |
-
}
|
1601 |
-
div#setting-error-settings_updated {
|
1602 |
-
display: none !important
|
1603 |
-
}
|
1604 |
-
|
1605 |
-
.domain__input, .domain__label {
|
1606 |
-
max-width: 342px;
|
1607 |
-
display: block
|
1608 |
-
}
|
1609 |
-
|
1610 |
-
.domain {
|
1611 |
-
background: rgba(168, 134, 205, .1);
|
1612 |
-
border-radius: 4px;
|
1613 |
-
text-align: left;
|
1614 |
-
margin: 0 0 10px;
|
1615 |
-
padding: 10px 20px
|
1616 |
-
}
|
1617 |
-
|
1618 |
-
.domain__label {
|
1619 |
-
font-size: 17px;
|
1620 |
-
font-weight: 700;
|
1621 |
-
margin: 0 auto 6px
|
1622 |
-
}
|
1623 |
-
|
1624 |
-
.domain__input {
|
1625 |
-
height: 34px;
|
1626 |
-
background: #FFF;
|
1627 |
-
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
1628 |
-
border-radius: 5px;
|
1629 |
-
border: none;
|
1630 |
-
width: 100%;
|
1631 |
-
margin: 0 auto
|
1632 |
-
}
|
1633 |
-
|
1634 |
-
.upg {
|
1635 |
-
background: 0 0;
|
1636 |
-
border: none;
|
1637 |
-
text-align: center;
|
1638 |
-
width: 270px;
|
1639 |
-
padding: 0
|
1640 |
-
}
|
1641 |
-
|
1642 |
-
.upg img, .upg svg {
|
1643 |
-
width: 100%
|
1644 |
-
}
|
1645 |
-
|
1646 |
-
.valid_domain {
|
1647 |
-
transition-property: margin-top;
|
1648 |
-
transition-delay: .3s;
|
1649 |
-
color: red;
|
1650 |
-
display: none
|
1651 |
-
}
|
1652 |
-
|
1653 |
-
.payments {
|
1654 |
-
margin-bottom: 5px
|
1655 |
-
}
|
1656 |
-
|
1657 |
-
.easy-modal__bottom {
|
1658 |
-
padding: 10px 10px 0;
|
1659 |
-
text-align: left;
|
1660 |
-
font-family: Rubik, sans-serif;
|
1661 |
-
color: #828282;
|
1662 |
-
position: relative
|
1663 |
-
}
|
1664 |
-
|
1665 |
-
.easy-modal__bottom .quote {
|
1666 |
-
position: absolute;
|
1667 |
-
left: 65px;
|
1668 |
-
top: -4px
|
1669 |
-
}
|
1670 |
-
|
1671 |
-
.easy-modal__bottom:before {
|
1672 |
-
content: '';
|
1673 |
-
display: block;
|
1674 |
-
position: absolute;
|
1675 |
-
left: 0;
|
1676 |
-
top: 0;
|
1677 |
-
width: 100%;
|
1678 |
-
background: rgba(130, 130, 130, .1);
|
1679 |
-
height: 2px
|
1680 |
-
}
|
1681 |
-
|
1682 |
-
.easy-modal__bottom .easy-modal__bottom-p {
|
1683 |
-
text-align: left;
|
1684 |
-
font-weight: 300;
|
1685 |
-
position: relative;
|
1686 |
-
margin-bottom: 10px;
|
1687 |
-
font-size: 14px;
|
1688 |
-
line-height: 17px
|
1689 |
-
}
|
1690 |
-
|
1691 |
-
.easy-modal__bottom .easy-modal__bottom-p p {
|
1692 |
-
text-align: left;
|
1693 |
-
margin: 6px 0 0;
|
1694 |
-
line-height: 15px
|
1695 |
-
}
|
1696 |
-
html[dir=rtl] body {
|
1697 |
-
background-position: 0
|
1698 |
-
}
|
1699 |
-
|
1700 |
-
html[dir=rtl] input[type=radio]:checked:before {
|
1701 |
-
text-indent: -1px
|
1702 |
-
}
|
1703 |
-
|
1704 |
-
|
1705 |
-
/*New Widget Page css*/
|
1706 |
-
.chaty-new-widget-wrap {
|
1707 |
-
border-radius: 10px;
|
1708 |
-
padding: 10px;
|
1709 |
-
margin: 40px auto 0 auto;
|
1710 |
-
background-size: auto 100%;
|
1711 |
-
width: 100%;
|
1712 |
-
max-width: 776px;
|
1713 |
-
background: #fff url("../images/bg.png") right bottom no-repeat;
|
1714 |
-
font-family: 'Poppins';
|
1715 |
-
line-height: 20px;
|
1716 |
-
}
|
1717 |
-
|
1718 |
-
.chaty-new-widget-wrap h2 {
|
1719 |
-
font-style: normal;
|
1720 |
-
font-weight: 600;
|
1721 |
-
font-size: 20px;
|
1722 |
-
line-height: 30px;
|
1723 |
-
color: #1E1E1E;
|
1724 |
-
margin: 15px 0;
|
1725 |
-
}
|
1726 |
-
.chaty-features ul {
|
1727 |
-
margin: 0;
|
1728 |
-
padding: 0;
|
1729 |
-
}
|
1730 |
-
.chaty-features ul li {
|
1731 |
-
margin: 0;
|
1732 |
-
width: 33.33%;
|
1733 |
-
float: left;
|
1734 |
-
padding: 10px;
|
1735 |
-
}
|
1736 |
-
.chaty-feature {
|
1737 |
-
margin: 30px 0 0 0;
|
1738 |
-
background: #FFFFFF;
|
1739 |
-
border: 1px solid #605DEC;
|
1740 |
-
box-sizing: border-box;
|
1741 |
-
border-radius: 4px;
|
1742 |
-
padding: 30px 15px 10px 15px;
|
1743 |
-
min-height: 186px;
|
1744 |
-
position: relative;
|
1745 |
-
}
|
1746 |
-
.chaty-feature.second {
|
1747 |
-
min-height: 155px;
|
1748 |
-
}
|
1749 |
-
.feature-title {
|
1750 |
-
font-family: Poppins;
|
1751 |
-
font-style: normal;
|
1752 |
-
font-weight: bold;
|
1753 |
-
font-size: 13px;
|
1754 |
-
line-height: 18px;
|
1755 |
-
color: #1E1E1E;
|
1756 |
-
}
|
1757 |
-
.feature-description {
|
1758 |
-
font-family: Poppins;
|
1759 |
-
font-style: normal;
|
1760 |
-
font-weight: normal;
|
1761 |
-
font-size: 13px;
|
1762 |
-
line-height: 18px;
|
1763 |
-
color: #1E1E1E;
|
1764 |
-
}
|
1765 |
-
a.new-upgrade-button {
|
1766 |
-
height: 40px;
|
1767 |
-
background: #605DEC;
|
1768 |
-
border-radius: 100px;
|
1769 |
-
border: solid 1px #605DEC;
|
1770 |
-
display: inline-block;
|
1771 |
-
text-align: center;
|
1772 |
-
color: #fff;
|
1773 |
-
line-height: 40px;
|
1774 |
-
margin: 10px 0 10px 10px;
|
1775 |
-
padding: 0 25px;
|
1776 |
-
text-decoration: none;
|
1777 |
-
text-transform: uppercase;
|
1778 |
-
}
|
1779 |
-
a.new-demo-button {
|
1780 |
-
height: 40px;
|
1781 |
-
color: #605DEC;
|
1782 |
-
border: solid 1px #605DEC;
|
1783 |
-
border-radius: 100px;
|
1784 |
-
display: inline-block;
|
1785 |
-
text-align: center;
|
1786 |
-
background: #fff;
|
1787 |
-
line-height: 40px;
|
1788 |
-
margin: 10px 0 10px 10px;
|
1789 |
-
padding: 0 25px;
|
1790 |
-
text-decoration: none;
|
1791 |
-
width: 165px;
|
1792 |
-
}
|
1793 |
-
.analytics-popup {
|
1794 |
-
display: none;
|
1795 |
-
}
|
1796 |
-
.analytics-overlay {
|
1797 |
-
width: 100%;
|
1798 |
-
height: 100%;
|
1799 |
-
position: fixed;
|
1800 |
-
top: 0;
|
1801 |
-
left: 0;
|
1802 |
-
background: rgba(0,0,0,0.5);
|
1803 |
-
z-index: 10001;
|
1804 |
-
}
|
1805 |
-
.analytics-popup-content {
|
1806 |
-
position: fixed;
|
1807 |
-
top: 50%;
|
1808 |
-
left: 0;
|
1809 |
-
right: 0;
|
1810 |
-
margin: 0 auto;
|
1811 |
-
/* background: #fff; */
|
1812 |
-
z-index: 11011;
|
1813 |
-
width: auto;
|
1814 |
-
max-width: 100%;
|
1815 |
-
max-height: 100%;
|
1816 |
-
padding: 15px;
|
1817 |
-
border-radius: 5px;
|
1818 |
-
text-align: center;
|
1819 |
-
-webkit-transform: translate(0px, -50%);
|
1820 |
-
transform: translate(0px, -50%);
|
1821 |
-
height: 80vh;
|
1822 |
-
}
|
1823 |
-
.analytics-popup-content .popup-data {
|
1824 |
-
position: relative;
|
1825 |
-
display: inline-block;
|
1826 |
-
height: 80vh;
|
1827 |
-
}
|
1828 |
-
.analytics-popup-content .popup-data img {
|
1829 |
-
width: auto;
|
1830 |
-
max-width: 100%;
|
1831 |
-
height: auto;
|
1832 |
-
max-height: 100%;
|
1833 |
-
}
|
1834 |
-
.analytics-popup-content .close-popup {
|
1835 |
-
position: absolute;
|
1836 |
-
right: -20px;
|
1837 |
-
top: -20px;
|
1838 |
-
}
|
1839 |
-
.analytics-popup-content .close-popup a {
|
1840 |
-
text-decoration: none;
|
1841 |
-
width: 20px;
|
1842 |
-
height: 20px;
|
1843 |
-
border-radius: 50%;
|
1844 |
-
background: #4e4e4e;
|
1845 |
-
color: #fff;
|
1846 |
-
text-align: center;
|
1847 |
-
display: block;
|
1848 |
-
/* font-size: 12px; */
|
1849 |
-
}
|
1850 |
-
.chaty-feature.analytics {
|
1851 |
-
min-height: 115px;
|
1852 |
-
}
|
1853 |
-
.chaty-feature-top {
|
1854 |
-
width: 50px;
|
1855 |
-
height: 50px;
|
1856 |
-
border: solid 1px #605dec;
|
1857 |
-
border-radius: 50%;
|
1858 |
-
position: absolute;
|
1859 |
-
left: 0;
|
1860 |
-
right: 0;
|
1861 |
-
margin: 0 auto;
|
1862 |
-
top: -25px;
|
1863 |
-
background: #fff;
|
1864 |
-
z-index: 11;
|
1865 |
-
padding: 10px;
|
1866 |
-
}
|
1867 |
-
.chaty-feature-top img {
|
1868 |
-
width: 100%;
|
1869 |
-
height: auto;
|
1870 |
-
}
|
1871 |
-
|
1872 |
-
.trigger-block {
|
1873 |
-
padding: 0px;
|
1874 |
-
background: #f6f3fa;
|
1875 |
-
margin-bottom: 4px;
|
1876 |
-
-webkit-border-radius: 4px;
|
1877 |
-
-moz-border-radius: 4px;
|
1878 |
-
border-radius: 4px;
|
1879 |
-
position: relative;
|
1880 |
-
flex: calc(100% - 152px);
|
1881 |
-
max-width: 360px;
|
1882 |
-
}
|
1883 |
-
.chaty-switch {
|
1884 |
-
display: inline-block;
|
1885 |
-
height: 34px;
|
1886 |
-
position: relative;
|
1887 |
-
padding: 0 0 0 60px !important;
|
1888 |
-
line-height: 24px !important;
|
1889 |
-
width: 100% !important;
|
1890 |
-
}
|
1891 |
-
|
1892 |
-
.chaty-switch input {
|
1893 |
-
display:none;
|
1894 |
-
}
|
1895 |
-
|
1896 |
-
.chaty-slider {
|
1897 |
-
background-color: #cfbde4;
|
1898 |
-
bottom: 0;
|
1899 |
-
cursor: pointer;
|
1900 |
-
left: 0;
|
1901 |
-
position: absolute;
|
1902 |
-
right: 0;
|
1903 |
-
top: 0;
|
1904 |
-
transition: .4s;
|
1905 |
-
width: 50px;
|
1906 |
-
height: 24px;
|
1907 |
-
}
|
1908 |
-
|
1909 |
-
.chaty-slider:before {
|
1910 |
-
background-color: #fff;
|
1911 |
-
bottom: 4px;
|
1912 |
-
content: "";
|
1913 |
-
height: 16px;
|
1914 |
-
left: 4px;
|
1915 |
-
position: absolute;
|
1916 |
-
transition: .2s;
|
1917 |
-
width: 16px;
|
1918 |
-
}
|
1919 |
-
.chaty-slider:after {
|
1920 |
-
content: "off";
|
1921 |
-
color: #fff;
|
1922 |
-
display: inline-block;
|
1923 |
-
padding: 0 0 0 25px;
|
1924 |
-
font-size: 14px;
|
1925 |
-
line-height: 24px;
|
1926 |
-
position: absolute;
|
1927 |
-
left: 0;
|
1928 |
-
top: 0;
|
1929 |
-
}
|
1930 |
-
.trigger-block-input {
|
1931 |
-
font-size: 14px;
|
1932 |
-
}
|
1933 |
-
.trigger-block-input input {
|
1934 |
-
width: 50px;
|
1935 |
-
}
|
1936 |
-
|
1937 |
-
input:checked + .chaty-slider {
|
1938 |
-
background-color: #a886cd;
|
1939 |
-
}
|
1940 |
-
|
1941 |
-
input:checked + .chaty-slider:before {
|
1942 |
-
transform: translateX(26px);
|
1943 |
-
}
|
1944 |
-
input:checked + .chaty-slider:after {
|
1945 |
-
padding: 0 0 0 8px;
|
1946 |
-
content: "on";
|
1947 |
-
}
|
1948 |
-
input:disabled + .chaty-slider {
|
1949 |
-
background: #e2e2e2;
|
1950 |
-
}
|
1951 |
-
|
1952 |
-
.chaty-slider.round {
|
1953 |
-
border-radius: 34px;
|
1954 |
-
}
|
1955 |
-
|
1956 |
-
.chaty-slider.round:before {
|
1957 |
-
border-radius: 50%;
|
1958 |
-
}
|
1959 |
-
.trigger-option-block {
|
1960 |
-
padding: 10px;
|
1961 |
-
border-bottom: solid 1px #eee2ff;
|
1962 |
-
}
|
1963 |
-
.trigger-option-block:last-child {
|
1964 |
-
border-bottom: none;
|
1965 |
-
}
|
1966 |
-
.gmt-data {
|
1967 |
-
display: none;
|
1968 |
-
}
|
1969 |
-
.chaty-date-time-option:first-child .gmt-data {
|
1970 |
-
display: block;
|
1971 |
-
}
|
1972 |
-
.chaty-date-time-option {
|
1973 |
-
padding: 5px;
|
1974 |
-
background: #f6f3fa;
|
1975 |
-
margin-bottom: 4px;
|
1976 |
-
-webkit-border-radius: 4px;
|
1977 |
-
-moz-border-radius: 4px;
|
1978 |
-
border-radius: 4px;
|
1979 |
-
position: relative;
|
1980 |
-
}
|
1981 |
-
.chaty-date-time-option.last {
|
1982 |
-
margin-bottom: 15px;
|
1983 |
-
}
|
1984 |
-
.date-time-content > * {
|
1985 |
-
vertical-align: middle;
|
1986 |
-
display: inline-block;
|
1987 |
-
}
|
1988 |
-
.day-select {
|
1989 |
-
width: 25%;
|
1990 |
-
display: inline-block;
|
1991 |
-
padding-right: 5px;
|
1992 |
-
}
|
1993 |
-
.date-time-content select, .date-time-content input {
|
1994 |
-
width: 100%;
|
1995 |
-
height: 36px;
|
1996 |
-
line-height: 36px;
|
1997 |
-
padding: 0 10px;
|
1998 |
-
-webkit-border-radius: 4px;
|
1999 |
-
-moz-border-radius: 4px;
|
2000 |
-
border-radius: 4px;
|
2001 |
-
}
|
2002 |
-
.day-label {
|
2003 |
-
width: 50px;
|
2004 |
-
padding-right: 5px;
|
2005 |
-
text-align: right;
|
2006 |
-
}
|
2007 |
-
.day-time {
|
2008 |
-
width: 10%;
|
2009 |
-
padding-right: 5px;
|
2010 |
-
}
|
2011 |
-
/*.day-buttons {
|
2012 |
-
width: calc(100% - 71% - 47px);
|
2013 |
-
display: inline-block;
|
2014 |
-
text-align: right;
|
2015 |
-
float: right;
|
2016 |
-
}*/
|
2017 |
-
.day-buttons a {
|
2018 |
-
background: #bd2a00;
|
2019 |
-
text-align: center;
|
2020 |
-
display: inline-block;
|
2021 |
-
line-height: 36px;
|
2022 |
-
-webkit-border-radius: 4px;
|
2023 |
-
-moz-border-radius: 4px;
|
2024 |
-
border-radius: 4px;
|
2025 |
-
width: 36px;
|
2026 |
-
height: 36px;
|
2027 |
-
}
|
2028 |
-
.main .form-horizontal__item.hide-show-button {
|
2029 |
-
display: none;
|
2030 |
-
}
|
2031 |
-
.main .form-horizontal__item.hide-show-button.active {
|
2032 |
-
display: flex;
|
2033 |
-
}
|
2034 |
-
.custom-chaty-image {
|
2035 |
-
display: none;
|
2036 |
-
}
|
2037 |
-
.chaty-channels .social-item-box .custom-chaty-image {
|
2038 |
-
display: none;
|
2039 |
-
}
|
2040 |
-
.chaty-channels .social-item-box .custom-chaty-image img {
|
2041 |
-
width: 30px;
|
2042 |
-
height: 30px;
|
2043 |
-
object-fit: cover;
|
2044 |
-
border-radius: 50%;
|
2045 |
-
}
|
2046 |
-
.chaty-channels .social-item-box.img-active .custom-chaty-image {
|
2047 |
-
display: block;
|
2048 |
-
}
|
2049 |
-
.chaty-channels .social-item-box .custom-chaty-image, .chaty-channels .social-item-box .default-chaty-icon {
|
2050 |
-
width: 30px;
|
2051 |
-
height: 30px;
|
2052 |
-
cursor: pointer;
|
2053 |
-
}
|
2054 |
-
.chaty-channels .social-item-box.img-active .default-chaty-icon {
|
2055 |
-
display: none;
|
2056 |
-
}
|
2057 |
-
.social-item-box {
|
2058 |
-
display: block;
|
2059 |
-
height: 30px;
|
2060 |
-
margin: 0 0 5px 0;
|
2061 |
-
position: relative;
|
2062 |
-
}
|
2063 |
-
#iconWidget {
|
2064 |
-
cursor: pointer;
|
2065 |
-
}
|
2066 |
-
.chaty-channels {
|
2067 |
-
display: none;
|
2068 |
-
}
|
2069 |
-
.chaty-widget.active .chaty-channels, .chaty-widget.hover:hover .chaty-channels {
|
2070 |
-
display: block;
|
2071 |
-
}
|
2072 |
-
.preview .page .chaty-widget i.chaty-close-icon, .preview .page .chaty-widget.active.hide-arrow i.chaty-close-icon {
|
2073 |
-
display: none !important;
|
2074 |
-
}
|
2075 |
-
.preview .page .chaty-widget.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon, .preview .page .chaty-widget.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon {
|
2076 |
-
display: block !important;
|
2077 |
-
}
|
2078 |
-
.preview .page .chaty-widget.active:not(.has-single) i#iconWidget, .preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget {
|
2079 |
-
display: none !important;
|
2080 |
-
}
|
2081 |
-
.preview .page .chaty-widget.active:not(.has-single) .tooltiptext {
|
2082 |
-
display: none !important;
|
2083 |
-
}
|
2084 |
-
.preview .page .chaty-widget.active:not(.has-single) .icon:before {
|
2085 |
-
display: none !important;
|
2086 |
-
}
|
2087 |
-
span.social-tooltip {
|
2088 |
-
position: absolute;
|
2089 |
-
right: 100%;
|
2090 |
-
background: #fff;
|
2091 |
-
padding: 0px 10px;
|
2092 |
-
color: #4f4f4f;
|
2093 |
-
top: 0;
|
2094 |
-
z-index: 1001;
|
2095 |
-
font-size: 12px;
|
2096 |
-
margin: 0 10px 0 0;
|
2097 |
-
border-radius: 5px;
|
2098 |
-
display: none;
|
2099 |
-
}
|
2100 |
-
.social-item-box:hover span.social-tooltip {
|
2101 |
-
display: block;
|
2102 |
-
}
|
2103 |
-
|
2104 |
-
span.social-tooltip:after {
|
2105 |
-
content: "";
|
2106 |
-
border-width: 5px 0 5px 10px;
|
2107 |
-
border-style: solid;
|
2108 |
-
border-color: transparent transparent transparent #fff;
|
2109 |
-
position: absolute;
|
2110 |
-
top: 6px;
|
2111 |
-
right: -9px;
|
2112 |
-
}
|
2113 |
-
.chaty-widget-icons-left span.social-tooltip {
|
2114 |
-
margin: 0 0 0 14px;
|
2115 |
-
left: 100%;
|
2116 |
-
right: auto;
|
2117 |
-
}
|
2118 |
-
.chaty-widget-icons-left span.social-tooltip:after {
|
2119 |
-
content: "";
|
2120 |
-
border-style: solid;
|
2121 |
-
border-width: 5px 10px 5px 0;
|
2122 |
-
border-color: transparent #fff transparent transparent;
|
2123 |
-
position: absolute;
|
2124 |
-
top: 12px;
|
2125 |
-
right: 100%;
|
2126 |
-
}
|
2127 |
-
.chaty-date-time-option input[readonly] {
|
2128 |
-
background: #ffffff;
|
2129 |
-
}
|
2130 |
-
.upgrade-upload-btn .upgrade-link {
|
2131 |
-
display: none !important;
|
2132 |
-
}
|
2133 |
-
.upgrade-upload-btn:hover .upgrade-link {
|
2134 |
-
display: block !important;;
|
2135 |
-
}
|
2136 |
-
.upgrade-upload-btn:hover .form-group, .upgrade-upload-btn:hover .custom-control-label {
|
2137 |
-
opacity:0.5;
|
2138 |
-
filter: blur(2px);
|
2139 |
-
-o-filter: blur(2px);
|
2140 |
-
-ms-filter: blur(2px);
|
2141 |
-
-moz-filter: blur(2px);
|
2142 |
-
-webkit-filter: blur(2px);
|
2143 |
-
}
|
2144 |
-
|
2145 |
-
.read-only {
|
2146 |
-
position: absolute;
|
2147 |
-
width: 1px;
|
2148 |
-
height: 1px;
|
2149 |
-
padding: 0;
|
2150 |
-
margin: -1px;
|
2151 |
-
overflow: hidden;
|
2152 |
-
clip: rect(0,0,0,0);
|
2153 |
-
border: 0;
|
2154 |
-
}
|
2155 |
-
select.chaty-select:disabled, textarea.test_textarea:disabled {
|
2156 |
-
background: #eee;
|
2157 |
-
border: solid 1px #ddd;
|
2158 |
-
color: #32373c;
|
2159 |
-
font-size: 14px;
|
2160 |
-
}
|
2161 |
-
.widget-icon__block .custom-control.custom-radio.add-border {
|
2162 |
-
border-right: 1px solid #fff;
|
2163 |
-
}
|
2164 |
-
.upgrade-upload-btn:hover .form-group, .upgrade-upload-btn:hover .custom-control-label {
|
2165 |
-
opacity: 0.5;
|
2166 |
-
filter: blur(2px);
|
2167 |
-
-o-filter: blur(2px);
|
2168 |
-
-ms-filter: blur(2px);
|
2169 |
-
-moz-filter: blur(2px);
|
2170 |
-
-webkit-filter: blur(2px);
|
2171 |
-
}
|
2172 |
-
.widget-icon__wrap a.upgrade-link {
|
2173 |
-
display: block;
|
2174 |
-
font-size: 16px;
|
2175 |
-
text-align: center;
|
2176 |
-
padding-left: 0;
|
2177 |
-
position: absolute;
|
2178 |
-
bottom: 35px;
|
2179 |
-
right: 0;
|
2180 |
-
width: 70px;
|
2181 |
-
text-decoration: none;
|
2182 |
-
text-align: center;
|
2183 |
-
left: 0;
|
2184 |
-
margin: 0 auto;
|
2185 |
-
}
|
2186 |
-
.upgrade-upload-btn:hover .upgrade-link {
|
2187 |
-
display: block !important;
|
2188 |
-
}
|
2189 |
-
.chaty-option-box {
|
2190 |
-
flex: calc(100% - 152px);
|
2191 |
-
}
|
2192 |
-
.chaty-data-and-time-rules {
|
2193 |
-
display: none;
|
2194 |
-
}
|
2195 |
-
.hover.chaty-widget:hover .tooltiptext{
|
2196 |
-
display: none !important;
|
2197 |
-
}
|
2198 |
-
.preview .page .hover.chaty-widget:hover .icon:before {
|
2199 |
-
display: none !important;
|
2200 |
-
}
|
2201 |
-
span.header-tooltip {
|
2202 |
-
position: relative;
|
2203 |
-
display: inline-block;
|
2204 |
-
}
|
2205 |
-
span.header-tooltip span.dashicons.dashicons-editor-help {
|
2206 |
-
display: inline-block;
|
2207 |
-
cursor: pointer;
|
2208 |
-
}
|
2209 |
-
span.header-tooltip-text {
|
2210 |
-
display: none;
|
2211 |
-
position: absolute;
|
2212 |
-
bottom: 140%;
|
2213 |
-
left: 0;
|
2214 |
-
width: 250px;
|
2215 |
-
left: -110px;
|
2216 |
-
font-size: 12px;
|
2217 |
-
font-weight: normal;
|
2218 |
-
line-height: 16px;
|
2219 |
-
background: #000;
|
2220 |
-
padding: 5px;
|
2221 |
-
border-radius: 5px;
|
2222 |
-
color: #fff;
|
2223 |
-
}
|
2224 |
-
span.header-tooltip-text:before {
|
2225 |
-
content: "";
|
2226 |
-
top: 100%;
|
2227 |
-
transform: translateX(-50%);
|
2228 |
-
height: 10px;
|
2229 |
-
width: 10px;
|
2230 |
-
border-width: 10px 5px 0;
|
2231 |
-
border-style: solid;
|
2232 |
-
border-color: #333 transparent transparent;
|
2233 |
-
position: absolute;
|
2234 |
-
left: 0;
|
2235 |
-
right: 0;
|
2236 |
-
margin: 0 auto;
|
2237 |
-
}
|
2238 |
-
span.header-tooltip:hover span.header-tooltip-text {
|
2239 |
-
display: block;
|
2240 |
-
}
|
2241 |
-
|
2242 |
-
/* animation */
|
2243 |
-
.chaty-animation-pulse {
|
2244 |
-
animation: chaty-animation-pulse 1s forwards;
|
2245 |
-
}
|
2246 |
-
|
2247 |
-
.chaty-animation-jump {
|
2248 |
-
animation: chaty-animation-jump 1s forwards cubic-bezier(.84,-0.54,.31,1.19);
|
2249 |
-
}
|
2250 |
-
|
2251 |
-
.chaty-animation-waggle {
|
2252 |
-
animation: chaty-animation-waggle 1s forwards ease-out;
|
2253 |
-
}
|
2254 |
-
|
2255 |
-
.chaty-animation-sheen {
|
2256 |
-
position: relative;
|
2257 |
-
overflow: hidden;
|
2258 |
-
}
|
2259 |
-
|
2260 |
-
.chaty-animation-sheen:after {
|
2261 |
-
animation: chaty-animation-sheen 1.5s forwards;
|
2262 |
-
content: '';
|
2263 |
-
position: absolute;
|
2264 |
-
top: 0;
|
2265 |
-
right: 0;
|
2266 |
-
bottom: 0;
|
2267 |
-
left: 0;
|
2268 |
-
background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5) 50%, transparent);
|
2269 |
-
transform: rotateZ(60deg) translate(-1em, 4em);
|
2270 |
-
}
|
2271 |
-
|
2272 |
-
.chaty-animation-spin {
|
2273 |
-
animation: chaty-animation-spin 1s forwards cubic-bezier(.56,-0.35,.22,1.5);
|
2274 |
-
}
|
2275 |
-
|
2276 |
-
.chaty-animation-fade {
|
2277 |
-
animation: chaty-animation-fade 1s forwards;
|
2278 |
-
}
|
2279 |
-
a.upgrade-link {
|
2280 |
-
line-height: 24px;
|
2281 |
-
display: block;
|
2282 |
-
padding: 10px 10px;
|
2283 |
-
text-decoration: none;
|
2284 |
-
}
|
2285 |
-
a.upgrade-link strong {
|
2286 |
-
text-decoration: underline;
|
2287 |
-
}
|
2288 |
-
@keyframes chaty-animation-pulse {
|
2289 |
-
0% {
|
2290 |
-
background-color: orange;
|
2291 |
-
}
|
2292 |
-
25% {
|
2293 |
-
background-color: red;
|
2294 |
-
}
|
2295 |
-
50% {
|
2296 |
-
background-color: orange;
|
2297 |
-
}
|
2298 |
-
75% {
|
2299 |
-
background-color: red;
|
2300 |
-
}
|
2301 |
-
}
|
2302 |
-
|
2303 |
-
@keyframes chaty-animation-jump {
|
2304 |
-
0% {
|
2305 |
-
transform: none;
|
2306 |
-
}
|
2307 |
-
50% {
|
2308 |
-
transform: translateY(-0.8em);
|
2309 |
-
}
|
2310 |
-
}
|
2311 |
-
|
2312 |
-
@keyframes chaty-animation-waggle {
|
2313 |
-
0% {
|
2314 |
-
transform: none;
|
2315 |
-
}
|
2316 |
-
50% {
|
2317 |
-
transform: rotateZ(-20deg) scale(1.2);
|
2318 |
-
}
|
2319 |
-
60% {
|
2320 |
-
transform: rotateZ(25deg) scale(1.2);
|
2321 |
-
}
|
2322 |
-
67.5% {
|
2323 |
-
transform: rotateZ(-15deg) scale(1.2);
|
2324 |
-
}
|
2325 |
-
75% {
|
2326 |
-
transform: rotateZ(15deg) scale(1.2);
|
2327 |
-
}
|
2328 |
-
82.5% {
|
2329 |
-
transform: rotateZ(-12deg) scale(1.2);
|
2330 |
-
}
|
2331 |
-
85% {
|
2332 |
-
transform: rotateZ(0) scale(1.2);
|
2333 |
-
}
|
2334 |
-
100% {
|
2335 |
-
transform: rotateZ(0) scale(1);
|
2336 |
-
}
|
2337 |
-
}
|
2338 |
-
|
2339 |
-
@keyframes chaty-animation-sheen {
|
2340 |
-
100% {
|
2341 |
-
transform: rotateZ(60deg) translate(0, -4em);
|
2342 |
-
}
|
2343 |
-
}
|
2344 |
-
|
2345 |
-
@keyframes chaty-animation-spin {
|
2346 |
-
50% {
|
2347 |
-
transform: rotateZ(-20deg);
|
2348 |
-
animation-timing-function: ease;
|
2349 |
-
}
|
2350 |
-
100% {
|
2351 |
-
transform: rotateZ(360deg);
|
2352 |
-
}
|
2353 |
-
}
|
2354 |
-
|
2355 |
-
@keyframes chaty-animation-fade {
|
2356 |
-
25% {
|
2357 |
-
opacity: 0.25;
|
2358 |
-
}
|
2359 |
-
50% {
|
2360 |
-
opacity: 1;
|
2361 |
-
}
|
2362 |
-
75% {
|
2363 |
-
opacity: 0.25;
|
2364 |
-
}
|
2365 |
-
100% {
|
2366 |
-
opacity: 1;
|
2367 |
-
}
|
2368 |
-
}
|
2369 |
-
|
2370 |
-
/* new animations */
|
2371 |
-
.chaty-animation-shockwave:after {
|
2372 |
-
content: "";
|
2373 |
-
position: absolute;
|
2374 |
-
top: 0;
|
2375 |
-
left: 0;
|
2376 |
-
bottom: 0;
|
2377 |
-
right: 0;
|
2378 |
-
border-radius: 50%;
|
2379 |
-
-webkit-animation: chaty-animation-shockwave 1s 0.65s ease-out infinite;
|
2380 |
-
animation: chaty-animation-shockwave 1s 0.65s ease-out infinite;
|
2381 |
-
}
|
2382 |
-
.chaty-animation-shockwave:before {
|
2383 |
-
content: "";
|
2384 |
-
position: absolute;
|
2385 |
-
top: 0;
|
2386 |
-
left: 0;
|
2387 |
-
bottom: 0;
|
2388 |
-
right: 0;
|
2389 |
-
border-radius: 50%;
|
2390 |
-
-webkit-animation: chaty-animation-shockwave 1s 0.5s ease-out infinite;
|
2391 |
-
animation: chaty-animation-shockwave 1s 0.5s ease-out infinite;
|
2392 |
-
}
|
2393 |
-
@-webkit-keyframes chaty-animation-shockwave {
|
2394 |
-
0% {
|
2395 |
-
transform: scale(1);
|
2396 |
-
box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
|
2397 |
-
}
|
2398 |
-
95% {
|
2399 |
-
box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
|
2400 |
-
}
|
2401 |
-
100% {
|
2402 |
-
transform: scale(2.25);
|
2403 |
-
}
|
2404 |
-
}
|
2405 |
-
@keyframes chaty-animation-shockwave {
|
2406 |
-
0% {
|
2407 |
-
transform: scale(1);
|
2408 |
-
box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
|
2409 |
-
}
|
2410 |
-
95% {
|
2411 |
-
box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
|
2412 |
-
}
|
2413 |
-
100% {
|
2414 |
-
transform: scale(2.25);
|
2415 |
-
}
|
2416 |
-
}
|
2417 |
-
|
2418 |
-
@keyframes chaty-animation-shockwave {
|
2419 |
-
0% {
|
2420 |
-
transform: scale(1);
|
2421 |
-
box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
|
2422 |
-
}
|
2423 |
-
95% {
|
2424 |
-
box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
|
2425 |
-
}
|
2426 |
-
100% {
|
2427 |
-
transform: scale(2.25);
|
2428 |
-
}
|
2429 |
-
}
|
2430 |
-
.chaty-animation-blink {
|
2431 |
-
-webkit-animation: chaty-animation-blink 1.33s ease-out infinite;
|
2432 |
-
animation: chaty-animation-blink 1.33s ease-out infinite;
|
2433 |
-
}
|
2434 |
-
|
2435 |
-
@-webkit-keyframes chaty-animation-blink {
|
2436 |
-
0% {
|
2437 |
-
opacity: 1;
|
2438 |
-
}
|
2439 |
-
20% {
|
2440 |
-
opacity: 0.5;
|
2441 |
-
}
|
2442 |
-
100% {
|
2443 |
-
opacity: 1;
|
2444 |
-
}
|
2445 |
-
}
|
2446 |
-
|
2447 |
-
@keyframes chaty-animation-blink {
|
2448 |
-
0% {
|
2449 |
-
opacity: 1;
|
2450 |
-
}
|
2451 |
-
20% {
|
2452 |
-
opacity: 0.5;
|
2453 |
-
}
|
2454 |
-
100% {
|
2455 |
-
opacity: 1;
|
2456 |
-
}
|
2457 |
-
}
|
2458 |
-
|
2459 |
-
.chaty-animation-pulse-icon {
|
2460 |
-
|
2461 |
-
-webkit-animation: chaty-animation-pulse-icon 0.4s ease infinite alternate;
|
2462 |
-
animation: chaty-animation-pulse-icon 0.4s ease infinite alternate;
|
2463 |
-
}
|
2464 |
-
|
2465 |
-
@-webkit-keyframes chaty-animation-pulse-icon {
|
2466 |
-
0% {
|
2467 |
-
transform: scale(1);
|
2468 |
-
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
|
2469 |
-
border-radius: 50%;
|
2470 |
-
}
|
2471 |
-
100% {
|
2472 |
-
transform: scale(1.1);
|
2473 |
-
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
|
2474 |
-
border-radius: 45%;
|
2475 |
-
}
|
2476 |
-
}
|
2477 |
-
|
2478 |
-
@keyframes chaty-animation-pulse-icon {
|
2479 |
-
0% {
|
2480 |
-
transform: scale(1);
|
2481 |
-
border-radius: 50%;
|
2482 |
-
}
|
2483 |
-
100% {
|
2484 |
-
transform: scale(1.1);
|
2485 |
-
border-radius: 45%;
|
2486 |
-
}
|
2487 |
-
}
|
2488 |
-
|
2489 |
-
@keyframes chaty-animation-pulse {
|
2490 |
-
0% {
|
2491 |
-
background-color: orange
|
2492 |
-
}
|
2493 |
-
25% {
|
2494 |
-
background-color: red
|
2495 |
-
}
|
2496 |
-
50% {
|
2497 |
-
background-color: orange
|
2498 |
-
}
|
2499 |
-
75% {
|
2500 |
-
background-color: red
|
2501 |
-
}
|
2502 |
-
}
|
2503 |
-
|
2504 |
-
.start-now, .start-now:after {
|
2505 |
-
animation-delay: 0s;
|
2506 |
-
}
|
2507 |
-
|
2508 |
-
|
2509 |
-
@media (min-width: 576px) {
|
2510 |
-
.container {
|
2511 |
-
max-width: 540px
|
2512 |
-
}
|
2513 |
-
}
|
2514 |
-
|
2515 |
-
@media (min-width: 768px) {
|
2516 |
-
.container {
|
2517 |
-
max-width: 720px
|
2518 |
-
}
|
2519 |
-
|
2520 |
-
.modal__wrap {
|
2521 |
-
padding: 0
|
2522 |
-
}
|
2523 |
-
|
2524 |
-
.domain {
|
2525 |
-
margin: 0 0 10px;
|
2526 |
-
padding: 20px 60px 26px
|
2527 |
-
}
|
2528 |
-
}
|
2529 |
-
|
2530 |
-
.channels__view {
|
2531 |
-
display: inline-block;
|
2532 |
-
color: #444444;
|
2533 |
-
margin-bottom: 0;
|
2534 |
-
line-height: 14px;
|
2535 |
-
padding-left: 17px;
|
2536 |
-
position: relative;
|
2537 |
-
font-size: 14px;
|
2538 |
-
margin-left: 10px
|
2539 |
-
}
|
2540 |
-
|
2541 |
-
.channels__view-check {
|
2542 |
-
position: absolute;
|
2543 |
-
z-index: -1;
|
2544 |
-
opacity: 0
|
2545 |
-
}
|
2546 |
-
|
2547 |
-
.channels__view-check:checked ~ .channels__view-txt:before {
|
2548 |
-
/*background-image: url(../images/icon-check.svg);
|
2549 |
-
background-color: transparent*/
|
2550 |
-
background: #a785cb;
|
2551 |
-
color: #fff;
|
2552 |
-
}
|
2553 |
-
|
2554 |
-
.channels__view-check:checked ~ .channels__view-txt:after {
|
2555 |
-
color: #fff;
|
2556 |
-
content: "\f147";
|
2557 |
-
font-family: dashicons;
|
2558 |
-
line-height: 1;
|
2559 |
-
position: absolute;
|
2560 |
-
top: 0;
|
2561 |
-
left: 0;
|
2562 |
-
}
|
2563 |
-
|
2564 |
-
.channels__view-txt:before {
|
2565 |
-
content: '';
|
2566 |
-
transition: all .2s;
|
2567 |
-
position: absolute;
|
2568 |
-
top: 0;
|
2569 |
-
left: 0;
|
2570 |
-
display: block;
|
2571 |
-
width: 14px;
|
2572 |
-
height: 14px;
|
2573 |
-
line-height: 14px;
|
2574 |
-
text-align: center;
|
2575 |
-
border: solid 2px #a785cb;
|
2576 |
-
-webkit-border-radius: 2px;
|
2577 |
-
-moz-border-radius: 2px;
|
2578 |
-
border-radius: 2px;
|
2579 |
-
}
|
2580 |
-
|
2581 |
-
.file-input, .widget-icon__block .custom-control.custom-radio .custom-control-label {
|
2582 |
-
position: relative
|
2583 |
-
}
|
2584 |
-
|
2585 |
-
.channels__input {
|
2586 |
-
padding: 9px 7px;
|
2587 |
-
border: 0;
|
2588 |
-
line-height: 24px;
|
2589 |
-
background: #FFF;
|
2590 |
-
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
2591 |
-
border-radius: 9px;
|
2592 |
-
width: 291px
|
2593 |
-
}
|
2594 |
-
.channels__input.transparent {
|
2595 |
-
background: 0 0;
|
2596 |
-
box-shadow: none;
|
2597 |
-
}
|
2598 |
-
.channels__input-box {
|
2599 |
-
position: relative;
|
2600 |
-
margin-right: 5px
|
2601 |
-
}
|
2602 |
-
|
2603 |
-
.widget-icon__block [class^=icon-] {
|
2604 |
-
display: block;
|
2605 |
-
border-radius: 100%;
|
2606 |
-
text-align: center;
|
2607 |
-
width: 40px;
|
2608 |
-
height: 40px;
|
2609 |
-
line-height: 40px;
|
2610 |
-
font-size: 20px;
|
2611 |
-
margin: 0 auto 6px
|
2612 |
-
}
|
2613 |
-
|
2614 |
-
.widget-icon__block [class^=icon-] svg {
|
2615 |
-
color: #fff
|
2616 |
-
}
|
2617 |
-
|
2618 |
-
.widget-icon__block .icon-upload {
|
2619 |
-
background: 0 0;
|
2620 |
-
color: #a886cd
|
2621 |
-
}
|
2622 |
-
|
2623 |
-
.widget-icon__block .custom-control.custom-radio {
|
2624 |
-
text-align: center;
|
2625 |
-
margin: 0;
|
2626 |
-
padding: 22px 8px 22px;
|
2627 |
-
vertical-align: bottom;
|
2628 |
-
text-decoration: none;
|
2629 |
-
max-width: 70px;
|
2630 |
-
}
|
2631 |
-
|
2632 |
-
label.widget-icon__wrap.has-pro .custom-control.custom-radio {
|
2633 |
-
padding: 22px 8px 44px;
|
2634 |
-
}
|
2635 |
-
|
2636 |
-
.widget-icon__block .custom-control.custom-radio .custom-control-label:before {
|
2637 |
-
transform: translateX(-50%);
|
2638 |
-
left: 50%
|
2639 |
-
}
|
2640 |
-
|
2641 |
-
.widget-icon__block .custom-control.custom-radio.add-border {
|
2642 |
-
border-right: 1px solid #fff
|
2643 |
-
}
|
2644 |
-
|
2645 |
-
label.widget-icon__wrap.has-free {
|
2646 |
-
position: relative;
|
2647 |
-
}
|
2648 |
-
|
2649 |
-
.widget-icon__wrap.has-free .custom-control.custom-radio {
|
2650 |
-
text-align: center;
|
2651 |
-
margin: 0;
|
2652 |
-
padding: 22px 8px 42px;
|
2653 |
-
vertical-align: bottom;
|
2654 |
-
text-decoration: none;
|
2655 |
-
}
|
2656 |
-
|
2657 |
-
.widget-icon__wrap.has-pro .custom-control.custom-radio {
|
2658 |
-
border: none;
|
2659 |
-
}
|
2660 |
-
|
2661 |
-
.widget-icon__wrap {
|
2662 |
-
background: rgba(168, 134, 205, .1);
|
2663 |
-
padding: 0;
|
2664 |
-
border-radius: 4px;
|
2665 |
-
flex: none;
|
2666 |
-
font-size: 0;
|
2667 |
-
margin-bottom: 25px;
|
2668 |
-
position: relative
|
2669 |
-
}
|
2670 |
-
|
2671 |
-
@media (min-width: 768px) {
|
2672 |
-
.widget-icon__block [class^=icon-] {
|
2673 |
-
width: 54px;
|
2674 |
-
height: 54px;
|
2675 |
-
font-size: 28px;
|
2676 |
-
line-height: 54px
|
2677 |
-
}
|
2678 |
-
|
2679 |
-
.widget-icon__block [class^=icon-] svg {
|
2680 |
-
width: 100%
|
2681 |
-
}
|
2682 |
-
|
2683 |
-
.widget-icon__block .custom-control.custom-radio:first-child {
|
2684 |
-
padding-left: 20px;
|
2685 |
-
max-width: 90px;
|
2686 |
-
}
|
2687 |
-
|
2688 |
-
.widget-icon__block .custom-control.custom-radio:last-child {
|
2689 |
-
padding-right: 20px
|
2690 |
-
}
|
2691 |
-
}
|
2692 |
-
|
2693 |
-
@media (max-width: 767px) {
|
2694 |
-
.main .form-horizontal__item > .widget-icon__wrap {
|
2695 |
-
display: flex;
|
2696 |
-
justify-content: space-between
|
2697 |
-
}
|
2698 |
-
|
2699 |
-
.main .form-horizontal__item > .widget-icon__wrap .custom-control {
|
2700 |
-
margin: 0;
|
2701 |
-
flex: 1;
|
2702 |
-
text-align: center
|
2703 |
-
}
|
2704 |
-
}
|
2705 |
-
|
2706 |
-
.file-input {
|
2707 |
-
width: 40px;
|
2708 |
-
height: 44px;
|
2709 |
-
display: block
|
2710 |
-
}
|
2711 |
-
|
2712 |
-
.file-input input[type=file] {
|
2713 |
-
top: 0;
|
2714 |
-
left: 0;
|
2715 |
-
min-width: 100%;
|
2716 |
-
min-height: 100%;
|
2717 |
-
text-align: right;
|
2718 |
-
opacity: 0;
|
2719 |
-
background: none;
|
2720 |
-
cursor: pointer;
|
2721 |
-
display: block;
|
2722 |
-
position: absolute
|
2723 |
-
}
|
2724 |
-
|
2725 |
-
.btn-file, .form-group, .kv-file-content {
|
2726 |
-
position: relative
|
2727 |
-
}
|
2728 |
-
|
2729 |
-
.form-group:hover :not(.file-input-new) .file-browse {
|
2730 |
-
display: block;
|
2731 |
-
z-index: 10
|
2732 |
-
}
|
2733 |
-
|
2734 |
-
.file-actions, .file-browse, .file-browse span, .file-drop-zone-title, .file-footer-caption, .file-preview-status {
|
2735 |
-
display: none
|
2736 |
-
}
|
2737 |
-
|
2738 |
-
.form-group:hover :not(.file-input-new) .file-browse .icon-upload {
|
2739 |
-
background: rgba(0, 0, 0, .5)
|
2740 |
-
}
|
2741 |
-
|
2742 |
-
.kv-file-content {
|
2743 |
-
width: 40px;
|
2744 |
-
height: 40px;
|
2745 |
-
background: #fff;
|
2746 |
-
border-radius: 100%;
|
2747 |
-
text-align: center;
|
2748 |
-
margin: 0 auto
|
2749 |
-
}
|
2750 |
-
|
2751 |
-
.kv-file-content img {
|
2752 |
-
width: auto;
|
2753 |
-
height: auto;
|
2754 |
-
max-width: 100%;
|
2755 |
-
max-height: 100%
|
2756 |
-
}
|
2757 |
-
|
2758 |
-
.file-preview {
|
2759 |
-
position: absolute
|
2760 |
-
}
|
2761 |
-
|
2762 |
-
.file-preview-thumbnails {
|
2763 |
-
width: 54px;
|
2764 |
-
height: 54px;
|
2765 |
-
border-radius: 100%;
|
2766 |
-
position: absolute;
|
2767 |
-
left: 0;
|
2768 |
-
top: 0
|
2769 |
-
}
|
2770 |
-
|
2771 |
-
.file-preview-frame {
|
2772 |
-
position: absolute;
|
2773 |
-
left: 0;
|
2774 |
-
top: 0;
|
2775 |
-
right: 0;
|
2776 |
-
z-index: 10
|
2777 |
-
}
|
2778 |
-
|
2779 |
-
.file-preview-frame.file-preview-initial {
|
2780 |
-
z-index: 0
|
2781 |
-
}
|
2782 |
-
|
2783 |
-
.file-input-new .file-browse {
|
2784 |
-
display: block
|
2785 |
-
}
|
2786 |
-
|
2787 |
-
.file-input-new .file-browse span {
|
2788 |
-
display: block;
|
2789 |
-
color: #a886cd;
|
2790 |
-
text-decoration: underline;
|
2791 |
-
position: absolute;
|
2792 |
-
bottom: 0;
|
2793 |
-
left: 0;
|
2794 |
-
right: 0
|
2795 |
-
}
|
2796 |
-
|
2797 |
-
.file-input-new .file-browse:hover span {
|
2798 |
-
text-decoration: none
|
2799 |
-
}
|
2800 |
-
|
2801 |
-
@media (min-width: 768px) {
|
2802 |
-
.kv-file-content {
|
2803 |
-
width: 54px;
|
2804 |
-
height: 54px
|
2805 |
-
}
|
2806 |
-
|
2807 |
-
.file-input {
|
2808 |
-
width: 54px;
|
2809 |
-
height: 60px
|
2810 |
-
}
|
2811 |
-
}
|
2812 |
-
|
2813 |
-
.preview {
|
2814 |
-
width: 337px;
|
2815 |
-
z-index: 99;
|
2816 |
-
height: 373px;
|
2817 |
-
margin-right: 15px;
|
2818 |
-
float: right;
|
2819 |
-
z-index: 1001;
|
2820 |
-
}
|
2821 |
-
|
2822 |
-
body.has-premio-box .preview {
|
2823 |
-
top: 320px;
|
2824 |
-
}
|
2825 |
-
|
2826 |
-
.preview.mobiel-view .page {
|
2827 |
-
width: 202px
|
2828 |
-
}
|
2829 |
-
|
2830 |
-
.preview.mobiel-view .page .chaty-widget .icon i {
|
2831 |
-
width: 24px;
|
2832 |
-
height: 24px;
|
2833 |
-
font-size: 12px;
|
2834 |
-
line-height: 24px
|
2835 |
-
}
|
2836 |
-
|
2837 |
-
.is-sticky .preview {
|
2838 |
-
left: calc(50vw - 480px + 960px / 12 * 7 + 140px)
|
2839 |
-
}
|
2840 |
-
|
2841 |
-
.preview h2 {
|
2842 |
-
text-align: center;
|
2843 |
-
font-weight: 700;
|
2844 |
-
line-height: normal;
|
2845 |
-
font-size: 17px;
|
2846 |
-
color: #4F4F4F;
|
2847 |
-
margin-bottom: 5px
|
2848 |
-
}
|
2849 |
-
|
2850 |
-
.preview .page {
|
2851 |
-
background-color: #F2F2F2;
|
2852 |
-
box-shadow: 0 4px 35px rgba(0, 0, 0, .05);
|
2853 |
-
border-radius: 5px;
|
2854 |
-
position: relative;
|
2855 |
-
height: 234px;
|
2856 |
-
margin: 0 auto
|
2857 |
-
}
|
2858 |
-
|
2859 |
-
.preview .page .page-header {
|
2860 |
-
display: flex;
|
2861 |
-
align-items: center;
|
2862 |
-
background: #FFF;
|
2863 |
-
border-radius: 5px 5px 0 0;
|
2864 |
-
height: 16px
|
2865 |
-
}
|
2866 |
-
|
2867 |
-
.preview .page .page-header .circle {
|
2868 |
-
margin-left: 9px;
|
2869 |
-
width: 6px;
|
2870 |
-
height: 6px;
|
2871 |
-
background: linear-gradient(153.19deg, #6371DB 7.06%, #FF89C4 90.47%), #FFE663;
|
2872 |
-
box-shadow: 0 4px 35px rgba(0, 0, 0, .05);
|
2873 |
-
border-radius: 50%
|
2874 |
-
}
|
2875 |
-
|
2876 |
-
.preview .page .page-header svg:last-child {
|
2877 |
-
margin-left: auto;
|
2878 |
-
margin-top: 7px;
|
2879 |
-
margin-right: -7px
|
2880 |
-
}
|
2881 |
-
|
2882 |
-
.preview .page .chaty-widget {
|
2883 |
-
position: absolute;
|
2884 |
-
left: auto
|
2885 |
-
}
|
2886 |
-
|
2887 |
-
.preview .page .chaty-widget .icon:after {
|
2888 |
-
z-index: 10;
|
2889 |
-
content: '';
|
2890 |
-
font-size: 13px;
|
2891 |
-
top: 13px;
|
2892 |
-
white-space: nowrap;
|
2893 |
-
padding: 0;
|
2894 |
-
line-height: 0;
|
2895 |
-
width: auto;
|
2896 |
-
color: #333;
|
2897 |
-
background-color: #fff;
|
2898 |
-
box-shadow: 0 1.93px 7.74px rgba(0, 0, 0, .15);
|
2899 |
-
border-radius: 0;
|
2900 |
-
right: 0;
|
2901 |
-
left: auto;
|
2902 |
-
transform: translate(calc(100% + 6px), -50%)
|
2903 |
-
}
|
2904 |
-
|
2905 |
-
.preview .page .chaty-widget .icon:before {
|
2906 |
-
content: '';
|
2907 |
-
right: -18px;
|
2908 |
-
left: auto;
|
2909 |
-
top: calc(100% - 20px);
|
2910 |
-
/*transform: translateY(-50%);*/
|
2911 |
-
height: 10px;
|
2912 |
-
width: 10px;
|
2913 |
-
z-index: 11;
|
2914 |
-
border-style: solid;
|
2915 |
-
border-width: 5px 10px 5px 0;
|
2916 |
-
border-color: transparent #fff transparent transparent
|
2917 |
-
}
|
2918 |
-
.preview .page .chaty-widget.hide-arrow .icon:before, .preview .page .chaty-widget.hide_arrow .icon:before {
|
2919 |
-
display: none;
|
2920 |
-
}
|
2921 |
-
|
2922 |
-
.preview .page .chaty-widget .icon i {
|
2923 |
-
width: 30px;
|
2924 |
-
height: 30px;
|
2925 |
-
font-size: 18px;
|
2926 |
-
display: block;
|
2927 |
-
border-radius: 100%;
|
2928 |
-
line-height: 30px;
|
2929 |
-
text-align: center;
|
2930 |
-
overflow: hidden
|
2931 |
-
}
|
2932 |
-
|
2933 |
-
.preview .page .chaty-widget .icon i.icon-chat-image {
|
2934 |
-
background: 0 0
|
2935 |
-
}
|
2936 |
-
|
2937 |
-
.preview .page .chaty-widget .icon i.icon-chat-image img {
|
2938 |
-
display: block;
|
2939 |
-
background: #a886cd
|
2940 |
-
}
|
2941 |
-
|
2942 |
-
.preview .page .chaty-widget .icon i svg {
|
2943 |
-
fill: #fff;
|
2944 |
-
width: 100%;
|
2945 |
-
height: 100%
|
2946 |
-
}
|
2947 |
-
|
2948 |
-
.preview .page .chaty-widget .icon i img {
|
2949 |
-
width: auto;
|
2950 |
-
height: auto;
|
2951 |
-
max-width: 100%;
|
2952 |
-
max-height: 100%;
|
2953 |
-
border-radius: 50%;
|
2954 |
-
}
|
2955 |
-
.preview .page .chaty-widget.has-single .icon i#iconWidget {
|
2956 |
-
position: relative;
|
2957 |
-
overflow: inherit;
|
2958 |
-
}
|
2959 |
-
.mobiel-view .preview .page .chaty-widget .icon i {
|
2960 |
-
width: 23px;
|
2961 |
-
height: 23px;
|
2962 |
-
font-size: 13px;
|
2963 |
-
line-height: 23px
|
2964 |
-
}
|
2965 |
-
|
2966 |
-
.preview .page .chaty-widget[style*="left: auto;"] .icon:before {
|
2967 |
-
right: auto;
|
2968 |
-
left: -8px;
|
2969 |
-
border-width: 5px 0 5px 10px;
|
2970 |
-
border-style: solid;
|
2971 |
-
border-color: transparent transparent transparent #fff
|
2972 |
-
}
|
2973 |
-
|
2974 |
-
.preview .page .chaty-widget[style*="left: auto;"] .icon:after {
|
2975 |
-
left: 0;
|
2976 |
-
right: auto;
|
2977 |
-
transform: translate(calc(-100% - 6px), -50%)
|
2978 |
-
}
|
2979 |
-
|
2980 |
-
.switch-preview {
|
2981 |
-
display: flex;
|
2982 |
-
width: 160px;
|
2983 |
-
border-radius: 5px;
|
2984 |
-
margin: 15px auto 0;
|
2985 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
2986 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
2987 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
2988 |
-
background: #fff
|
2989 |
-
}
|
2990 |
-
|
2991 |
-
.easy-modal-open, .switch-preview__input[type=radio], .switch-preview__label input {
|
2992 |
-
display: none
|
2993 |
-
}
|
2994 |
-
|
2995 |
-
.switch-preview__label {
|
2996 |
-
flex: 1;
|
2997 |
-
text-align: center;
|
2998 |
-
line-height: 30px
|
2999 |
-
}
|
3000 |
-
|
3001 |
-
.switch-preview__input[type=radio], .switch-preview__label input {
|
3002 |
-
display: none
|
3003 |
-
}
|
3004 |
-
|
3005 |
-
.switch-preview__input[type=radio]:checked + label {
|
3006 |
-
background: #a886cd;
|
3007 |
-
color: #fff
|
3008 |
-
}
|
3009 |
-
|
3010 |
-
html[dir=rtl] .preview {
|
3011 |
-
right: auto
|
3012 |
-
}
|
3013 |
-
|
3014 |
-
html[dir=rtl] .is-sticky .preview {
|
3015 |
-
left: calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px)
|
3016 |
-
}
|
3017 |
-
|
3018 |
-
|
3019 |
-
|
3020 |
-
.easy-modal-open {
|
3021 |
-
display: none;
|
3022 |
-
}
|
3023 |
-
|
3024 |
-
a.pro-plugin-url {
|
3025 |
-
color: #fff;
|
3026 |
-
background: #7474d9;
|
3027 |
-
display: inline-block;
|
3028 |
-
margin-bottom: 25px;
|
3029 |
-
text-decoration: none;
|
3030 |
-
-moz-border-radius: 25px;
|
3031 |
-
-webkit-border-radius: 25px;
|
3032 |
-
font-size: 24px;
|
3033 |
-
border-radius: 25px;
|
3034 |
-
padding: 15px 45px;
|
3035 |
-
}
|
3036 |
-
|
3037 |
-
.test_textarea {
|
3038 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3039 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3040 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3041 |
-
border-radius: 5px;
|
3042 |
-
-webkit-border-radius: 5px;
|
3043 |
-
-moz-border-radius: 5px;
|
3044 |
-
padding: 10px;
|
3045 |
-
height: 70px;
|
3046 |
-
border: solid 1px #f6f6f6;
|
3047 |
-
width: 100%;
|
3048 |
-
max-width: 350px;
|
3049 |
-
}
|
3050 |
-
|
3051 |
-
.license-key {
|
3052 |
-
border: 1px solid #ccc;
|
3053 |
-
background: #FFFFFF;
|
3054 |
-
width: 100%;
|
3055 |
-
max-width: 350px;
|
3056 |
-
margin: 10px 0 20px;
|
3057 |
-
}
|
3058 |
-
|
3059 |
-
.license-key .license-key-header {
|
3060 |
-
border-bottom: 1px solid #ccc;
|
3061 |
-
padding: 15px 12px;
|
3062 |
-
font-weight: 600;
|
3063 |
-
background: #f9f9f9;
|
3064 |
-
color: #23282d;
|
3065 |
-
}
|
3066 |
-
|
3067 |
-
.license-key .license-key-content {
|
3068 |
-
padding: 15px 12px;
|
3069 |
-
background: #ffffff;
|
3070 |
-
}
|
3071 |
-
|
3072 |
-
.license-key .license-key-content input[type="text"] {
|
3073 |
-
width: 100%;
|
3074 |
-
font-size: 14px;
|
3075 |
-
font-weight: normal;
|
3076 |
-
}
|
3077 |
-
|
3078 |
-
.license-key .license-key-footer {
|
3079 |
-
border-top: 1px solid #ccc;
|
3080 |
-
padding: 15px 12px;
|
3081 |
-
background: #f9f9f9;
|
3082 |
-
}
|
3083 |
-
|
3084 |
-
.license-key .license-key-message {
|
3085 |
-
margin: 10px 0 0 0;
|
3086 |
-
min-height: 40px;
|
3087 |
-
}
|
3088 |
-
|
3089 |
-
.license-key .button-secondary {
|
3090 |
-
font-weight: normal;
|
3091 |
-
}
|
3092 |
-
|
3093 |
-
.testimonial-error-message, .testimonial-success-message {
|
3094 |
-
background: #fff;
|
3095 |
-
margin: 10px 0 0 0;
|
3096 |
-
padding: 10px 10px 10px 10px;
|
3097 |
-
border-left: solid 3px #dd4b39;
|
3098 |
-
}
|
3099 |
-
|
3100 |
-
.testimonial-success-message {
|
3101 |
-
border-left: solid 3px #00a65a;
|
3102 |
-
}
|
3103 |
-
|
3104 |
-
.save-testimonial-license-key {
|
3105 |
-
text-align: center;
|
3106 |
-
}
|
3107 |
-
|
3108 |
-
.remove-testimonial-license-key {
|
3109 |
-
width: 128px;
|
3110 |
-
text-align: center
|
3111 |
-
}
|
3112 |
-
|
3113 |
-
.test-error-message {
|
3114 |
-
color: #dc3232
|
3115 |
-
}
|
3116 |
-
|
3117 |
-
.hide-this-table, .lean-overlay {
|
3118 |
-
display: none !important
|
3119 |
-
}
|
3120 |
-
|
3121 |
-
span.expired-message {
|
3122 |
-
color: #a00000;
|
3123 |
-
font-size: 18px;
|
3124 |
-
}
|
3125 |
-
|
3126 |
-
.wrap.wrap-licenses {
|
3127 |
-
background: #fff;
|
3128 |
-
padding: 10px 25px 25px
|
3129 |
-
}
|
3130 |
-
|
3131 |
-
.chaty-help-btn {
|
3132 |
-
position: fixed;
|
3133 |
-
right: 20px;
|
3134 |
-
bottom: 20px;
|
3135 |
-
z-index: 1001
|
3136 |
-
}
|
3137 |
-
|
3138 |
-
.chaty-help-btn a {
|
3139 |
-
display: block;
|
3140 |
-
border: 3px solid #FFF;
|
3141 |
-
width: 50px;
|
3142 |
-
height: 50px;
|
3143 |
-
-webkit-border-radius: 50%;
|
3144 |
-
-moz-border-radius: 50%;
|
3145 |
-
border-radius: 50%;
|
3146 |
-
position: relative
|
3147 |
-
}
|
3148 |
-
|
3149 |
-
.chaty-help-btn a img {
|
3150 |
-
width: 100%;
|
3151 |
-
height: auto;
|
3152 |
-
display: block;
|
3153 |
-
-webkit-border-radius: 50%;
|
3154 |
-
-moz-border-radius: 50%;
|
3155 |
-
border-radius: 50%
|
3156 |
-
}
|
3157 |
-
|
3158 |
-
.chaty-help-form {
|
3159 |
-
position: fixed;
|
3160 |
-
right: 85px;
|
3161 |
-
border: 1px solid #e9edf0;
|
3162 |
-
bottom: 25px;
|
3163 |
-
background: #fff;
|
3164 |
-
-webkit-border-radius: 10px;
|
3165 |
-
-moz-border-radius: 10px;
|
3166 |
-
border-radius: 10px;
|
3167 |
-
width: 320px;
|
3168 |
-
z-index: 1001;
|
3169 |
-
direction: ltr;
|
3170 |
-
opacity: 0;
|
3171 |
-
transition: .4s;
|
3172 |
-
-webkit-transition: .4s;
|
3173 |
-
-moz-transition: .4s
|
3174 |
-
}
|
3175 |
-
|
3176 |
-
.chaty-help-form.active {
|
3177 |
-
opacity: 1;
|
3178 |
-
pointer-events: inherit
|
3179 |
-
}
|
3180 |
-
|
3181 |
-
.chaty-help-header {
|
3182 |
-
background: #f4f4f4;
|
3183 |
-
border-bottom: solid 1px #e9edf0;
|
3184 |
-
padding: 5px 20px;
|
3185 |
-
-webkit-border-radius: 10px;
|
3186 |
-
-moz-border-radius: 10px;
|
3187 |
-
border-radius: 10px 10px 0 0;
|
3188 |
-
font-size: 16px;
|
3189 |
-
text-align: right
|
3190 |
-
}
|
3191 |
-
|
3192 |
-
.chaty-help-header b {
|
3193 |
-
float: left
|
3194 |
-
}
|
3195 |
-
|
3196 |
-
.chaty-help-content {
|
3197 |
-
margin-bottom: 10px;
|
3198 |
-
padding: 20px 20px 10px
|
3199 |
-
}
|
3200 |
-
|
3201 |
-
.chaty-help-form p {
|
3202 |
-
margin: 0 0 1em
|
3203 |
-
}
|
3204 |
-
|
3205 |
-
.chaty-form-field {
|
3206 |
-
margin-bottom: 10px
|
3207 |
-
}
|
3208 |
-
|
3209 |
-
.chaty-form-field input, .chaty-form-field textarea {
|
3210 |
-
-webkit-border-radius: 5px;
|
3211 |
-
-moz-border-radius: 5px;
|
3212 |
-
border-radius: 5px;
|
3213 |
-
padding: 5px;
|
3214 |
-
width: 100%;
|
3215 |
-
box-sizing: border-box;
|
3216 |
-
border: 1px solid #c5c5c5
|
3217 |
-
}
|
3218 |
-
|
3219 |
-
.chaty-form-field textarea {
|
3220 |
-
height: 70px
|
3221 |
-
}
|
3222 |
-
|
3223 |
-
.chaty-help-button {
|
3224 |
-
border: none;
|
3225 |
-
padding: 8px 0;
|
3226 |
-
width: 100%;
|
3227 |
-
background: #ff6624;
|
3228 |
-
color: #fff;
|
3229 |
-
border-radius: 18px
|
3230 |
-
}
|
3231 |
-
|
3232 |
-
.chaty-help-form .error-message {
|
3233 |
-
font-weight: 400;
|
3234 |
-
font-size: 14px
|
3235 |
-
}
|
3236 |
-
|
3237 |
-
.chaty-help-form input.input-error, .chaty-help-form textarea.input-error {
|
3238 |
-
border-color: #dc3232
|
3239 |
-
}
|
3240 |
-
|
3241 |
-
.chaty-help-btn span.tooltiptext {
|
3242 |
-
position: absolute;
|
3243 |
-
background: #000;
|
3244 |
-
font-size: 12px;
|
3245 |
-
color: #fff;
|
3246 |
-
top: -35px;
|
3247 |
-
width: 140%;
|
3248 |
-
text-align: center;
|
3249 |
-
left: -20%;
|
3250 |
-
border-radius: 5px;
|
3251 |
-
direction: ltr
|
3252 |
-
}
|
3253 |
-
|
3254 |
-
p.error-p, p.success-p {
|
3255 |
-
margin: 0;
|
3256 |
-
font-size: 14px;
|
3257 |
-
text-align: center
|
3258 |
-
}
|
3259 |
-
|
3260 |
-
.chaty-help-btn span.tooltiptext:after {
|
3261 |
-
bottom: -9px;
|
3262 |
-
content: "";
|
3263 |
-
transform: translateX(-50%);
|
3264 |
-
height: 10px;
|
3265 |
-
width: 10px;
|
3266 |
-
border-width: 10px 5px 0;
|
3267 |
-
border-style: solid;
|
3268 |
-
border-color: #000 transparent transparent;
|
3269 |
-
left: 50%;
|
3270 |
-
position: absolute
|
3271 |
-
}
|
3272 |
-
|
3273 |
-
p.success-p {
|
3274 |
-
color: green
|
3275 |
-
}
|
3276 |
-
|
3277 |
-
p.error-p {
|
3278 |
-
color: #dc3232
|
3279 |
-
}
|
3280 |
-
|
3281 |
-
html[dir=rtl] .chaty-help-btn {
|
3282 |
-
left: 20px;
|
3283 |
-
right: auto
|
3284 |
-
}
|
3285 |
-
|
3286 |
-
html[dir=rtl] .chaty-help-form {
|
3287 |
-
left: 85px;
|
3288 |
-
right: auto
|
3289 |
-
}
|
3290 |
-
|
3291 |
-
#rpt_container {
|
3292 |
-
margin-top: 24px;
|
3293 |
-
width: 100%
|
3294 |
-
}
|
3295 |
-
|
3296 |
-
select.form-fonts, select.chaty-select {
|
3297 |
-
width: 360px;
|
3298 |
-
max-width: 100%;
|
3299 |
-
border: none;
|
3300 |
-
color: #32373c;
|
3301 |
-
outline: 0;
|
3302 |
-
padding: 5px 7px;
|
3303 |
-
line-height: 26px;
|
3304 |
-
background-color: #ffffff;
|
3305 |
-
border-radius: 5px;
|
3306 |
-
height: 36px;
|
3307 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3308 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3309 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3310 |
-
}
|
3311 |
-
select.chaty-select:disabled, textarea.test_textarea:disabled {
|
3312 |
-
background: #eee;
|
3313 |
-
border: solid 1px #ddd;
|
3314 |
-
color: #32373c;
|
3315 |
-
}
|
3316 |
-
.icon.label-tooltip {
|
3317 |
-
font-size: 12px;
|
3318 |
-
font-weight: normal;
|
3319 |
-
color: #72777c;
|
3320 |
-
display: inline-block;
|
3321 |
-
height: 24px !important;
|
3322 |
-
width: auto !important;
|
3323 |
-
}
|
3324 |
-
.icon.label-tooltip:after {
|
3325 |
-
width: 250px;
|
3326 |
-
white-space: normal;
|
3327 |
-
line-height: 16px;
|
3328 |
-
padding: 10px;
|
3329 |
-
}
|
3330 |
-
|
3331 |
-
p.udner-title strong {
|
3332 |
-
font-size: 40px;
|
3333 |
-
padding-bottom: 30px;
|
3334 |
-
display: block;
|
3335 |
-
color: #b97fcf
|
3336 |
-
}
|
3337 |
-
.channels-selected-list li {
|
3338 |
-
display: block;
|
3339 |
-
max-width: 640px;
|
3340 |
-
padding: 15px;
|
3341 |
-
background: #EFF6F6;
|
3342 |
-
-webkit-border-radius: 10px;
|
3343 |
-
-moz-border-radius: 10px;
|
3344 |
-
border-radius: 10px;
|
3345 |
-
margin-bottom: 15px;
|
3346 |
-
}
|
3347 |
-
.chaty-settings a {
|
3348 |
-
text-decoration: none;
|
3349 |
-
display: inline-block;
|
3350 |
-
color: #fff;
|
3351 |
-
margin-left: 15px;
|
3352 |
-
height: 26px;
|
3353 |
-
background: #A785CB;
|
3354 |
-
text-align: center;
|
3355 |
-
vertical-align: middle;
|
3356 |
-
-webkit-border-radius: 18px;
|
3357 |
-
-moz-border-radius: 18px;
|
3358 |
-
border-radius: 18px;
|
3359 |
-
font-size: 10px;
|
3360 |
-
line-height: 26px;
|
3361 |
-
padding: 0 5px;
|
3362 |
-
}
|
3363 |
-
.chaty-settings a .dashicons, .chaty-settings a .dashicons-before:before {
|
3364 |
-
font-size: 16px;
|
3365 |
-
line-height: 26px;
|
3366 |
-
display: inline-block;
|
3367 |
-
margin: 0;
|
3368 |
-
text-align: center;
|
3369 |
-
}
|
3370 |
-
.move-icon {
|
3371 |
-
display: inline-block;
|
3372 |
-
vertical-align: middle;
|
3373 |
-
}
|
3374 |
-
.move-icon img {
|
3375 |
-
width: 10px;
|
3376 |
-
margin-right: 5px;
|
3377 |
-
margin-top: 8px;
|
3378 |
-
cursor: move;
|
3379 |
-
}
|
3380 |
-
.chaty-default-settings > * {
|
3381 |
-
display: inline-block;
|
3382 |
-
vertical-align: middle;
|
3383 |
-
}
|
3384 |
-
.chaty-default-settings {
|
3385 |
-
display: flex;
|
3386 |
-
align-items: center;
|
3387 |
-
flex-wrap: wrap;
|
3388 |
-
position: relative;
|
3389 |
-
padding-bottom: 15px;
|
3390 |
-
}
|
3391 |
-
.chaty-advance-settings {
|
3392 |
-
width: 100%;
|
3393 |
-
border: solid 1px #a785cb;
|
3394 |
-
margin: 20px 0 0 0;
|
3395 |
-
padding: 10px;
|
3396 |
-
-webkit-border-radius: 5px;
|
3397 |
-
-moz-border-radius: 5px;
|
3398 |
-
border-radius: 5px;
|
3399 |
-
background: #f2f2f2;
|
3400 |
-
display: none;
|
3401 |
-
min-height: 70px;
|
3402 |
-
position: relative;
|
3403 |
-
}
|
3404 |
-
.chaty-setting-col > * {
|
3405 |
-
display: inline-block;
|
3406 |
-
padding: 0 0 10px 0;
|
3407 |
-
vertical-align: top;
|
3408 |
-
line-height: 36px;
|
3409 |
-
}
|
3410 |
-
.chaty-setting-col > label {
|
3411 |
-
width: 170px;
|
3412 |
-
}
|
3413 |
-
.chaty-setting-col .channels__view {
|
3414 |
-
margin: 0;
|
3415 |
-
padding: 0;
|
3416 |
-
}
|
3417 |
-
.chaty-setting-col input[type=text], select.channel-select-input {
|
3418 |
-
width: 300px;
|
3419 |
-
height: 36px;
|
3420 |
-
line-height: 36px;
|
3421 |
-
padding: 0 10px;
|
3422 |
-
-webkit-border-radius: 4px;
|
3423 |
-
-moz-border-radius: 4px;
|
3424 |
-
border-radius: 4px;
|
3425 |
-
font-family: Rubik,sans-serif;
|
3426 |
-
font-size: 17px;
|
3427 |
-
}
|
3428 |
-
.sp-replacer.sp-light {
|
3429 |
-
padding: 0;
|
3430 |
-
-webkit-border-radius: 4px;
|
3431 |
-
-moz-border-radius: 4px;
|
3432 |
-
border-radius: 4px;
|
3433 |
-
border: none;
|
3434 |
-
}
|
3435 |
-
.chaty-setting-col a.upload-chaty-icon {
|
3436 |
-
background: #a886cd;
|
3437 |
-
color: #fff;
|
3438 |
-
text-decoration: none;
|
3439 |
-
line-height: 36px;
|
3440 |
-
padding: 0 10px;
|
3441 |
-
-webkit-border-radius: 4px;
|
3442 |
-
-moz-border-radius: 4px;
|
3443 |
-
border-radius: 4px;
|
3444 |
-
display: inline-block;
|
3445 |
-
}
|
3446 |
-
.chaty-setting-col a.upload-chaty-icon span {
|
3447 |
-
line-height: 40px;
|
3448 |
-
}
|
3449 |
-
.chaty-setting-col input[type='text'].chaty-color-field {
|
3450 |
-
width: 40px;
|
3451 |
-
}
|
3452 |
-
.chaty-setting-col input[type='text']:read-only {
|
3453 |
-
background: #fff;
|
3454 |
-
}
|
3455 |
-
.chaty-pro-feature {
|
3456 |
-
position: absolute;
|
3457 |
-
left: 0;
|
3458 |
-
width: 100%;
|
3459 |
-
text-align: center;
|
3460 |
-
top: 0;
|
3461 |
-
height: 100%;
|
3462 |
-
vertical-align: middle;
|
3463 |
-
background: rgba(255,255,255,0.4);
|
3464 |
-
-webkit-border-radius: 5px;
|
3465 |
-
-moz-border-radius: 5px;
|
3466 |
-
border-radius: 5px;
|
3467 |
-
display: none;
|
3468 |
-
}
|
3469 |
-
.chaty-advance-settings:hover .chaty-pro-feature, .chaty-date-time-option:hover .chaty-pro-feature {
|
3470 |
-
display: inline-block;
|
3471 |
-
width: 170px;
|
3472 |
-
margin: 0 auto;
|
3473 |
-
left: 0;
|
3474 |
-
right: 0;
|
3475 |
-
}
|
3476 |
-
/*.chaty-advance-settings:hover .chaty-setting-col {
|
3477 |
-
filter: blur(2px);
|
3478 |
-
-o-filter: blur(2px);
|
3479 |
-
-ms-filter: blur(2px);
|
3480 |
-
-moz-filter: blur(2px);
|
3481 |
-
-webkit-filter: blur(2px);
|
3482 |
-
}*/
|
3483 |
-
.chaty-pro-feature a {
|
3484 |
-
text-decoration: none;
|
3485 |
-
background: #ff6624;
|
3486 |
-
color: #fff;
|
3487 |
-
padding: 0px 10px;
|
3488 |
-
line-height: 36px;
|
3489 |
-
display: inline-block;
|
3490 |
-
top: 50%;
|
3491 |
-
position: absolute;
|
3492 |
-
left: 0;
|
3493 |
-
right: 0;
|
3494 |
-
width: 180px;
|
3495 |
-
margin: -20px auto 0;
|
3496 |
-
-webkit-border-radius: 5px;
|
3497 |
-
-moz-border-radius: 5px;
|
3498 |
-
border-radius: 5px;
|
3499 |
-
}
|
3500 |
-
.chaty-pro-feature a:hover {
|
3501 |
-
background: #a886cd;
|
3502 |
-
}
|
3503 |
-
a#upload_qr_code {
|
3504 |
-
background: #fff;
|
3505 |
-
display: inline-block;
|
3506 |
-
height: 40px;
|
3507 |
-
width: 40px;
|
3508 |
-
text-align: center;
|
3509 |
-
line-height: 40px;
|
3510 |
-
text-decoration: none;
|
3511 |
-
}
|
3512 |
-
a#upload_qr_code span {
|
3513 |
-
line-height: 36px;
|
3514 |
-
}
|
3515 |
-
.cls-btn-settings, .close-btn-set {
|
3516 |
-
opacity: 0;
|
3517 |
-
visibility: hidden;
|
3518 |
-
pointer-events: none;
|
3519 |
-
}
|
3520 |
-
.cls-btn-settings.active, .close-btn-set.active {
|
3521 |
-
opacity: 1;
|
3522 |
-
visibility: visible;
|
3523 |
-
pointer-events: auto;
|
3524 |
-
}
|
3525 |
-
.chaty-settings.cls-btn {
|
3526 |
-
margin-left: 164px;
|
3527 |
-
}
|
3528 |
-
.section2 {
|
3529 |
-
padding: 25px 15px 30px;
|
3530 |
-
border-top: 2px solid rgba(130, 130, 130, .1);
|
3531 |
-
}
|
3532 |
-
#chaty-social-close {
|
3533 |
-
display: none;
|
3534 |
-
}
|
3535 |
-
#chaty-social-Facebook_Messenger .chaty-default-settings {
|
3536 |
-
padding-bottom: 25px;
|
3537 |
-
}
|
3538 |
-
ul#channels-selected-list {
|
3539 |
-
margin: 0;
|
3540 |
-
padding: 0;
|
3541 |
-
}
|
3542 |
-
.channels-selected-list li.ui-chaty-state-hl {
|
3543 |
-
border: dashed 1px #6972da;
|
3544 |
-
min-height: 95px;
|
3545 |
-
}
|
3546 |
-
.viber-help {
|
3547 |
-
position: absolute;
|
3548 |
-
right: 43px;
|
3549 |
-
bottom: -4px;
|
3550 |
-
font-size: 12px;
|
3551 |
-
color: #665cac;
|
3552 |
-
text-decoration: underline;
|
3553 |
-
cursor: pointer;
|
3554 |
-
}
|
3555 |
-
.viber-help span.help-text {
|
3556 |
-
position: absolute;
|
3557 |
-
width: 210px;
|
3558 |
-
left: -80%;
|
3559 |
-
text-align: center;
|
3560 |
-
background: #000;
|
3561 |
-
padding: 5px;
|
3562 |
-
color: #fff;
|
3563 |
-
font-size: 12px;
|
3564 |
-
bottom: 20px;
|
3565 |
-
z-index: 101;
|
3566 |
-
-webkit-border-radius: 4px;
|
3567 |
-
-moz-border-radius: 4px;
|
3568 |
-
border-radius: 4px;
|
3569 |
-
display: none;
|
3570 |
-
}
|
3571 |
-
.viber-help:hover span {
|
3572 |
-
display: block;
|
3573 |
-
}
|
3574 |
-
a.create-rule {
|
3575 |
-
background: #ff6624;
|
3576 |
-
text-decoration: none;
|
3577 |
-
padding: 5px 20px;
|
3578 |
-
color: #fff;
|
3579 |
-
-webkit-border-radius: 5px;
|
3580 |
-
-moz-border-radius: 5px;
|
3581 |
-
border-radius: 5px;
|
3582 |
-
display: inline-block;
|
3583 |
-
}
|
3584 |
-
a.create-rule.remove-rules {
|
3585 |
-
background: #7e8993;
|
3586 |
-
color: #fff;
|
3587 |
-
display: inline-block;
|
3588 |
-
}
|
3589 |
-
.chaty-pro-block {
|
3590 |
-
position: relative;
|
3591 |
-
}
|
3592 |
-
.chaty-pro-block:hover .chaty-pro-feature {
|
3593 |
-
display: inline-block;
|
3594 |
-
}
|
3595 |
-
.chaty-settings.cls-btn span {
|
3596 |
-
padding-left: 2px;
|
3597 |
-
}
|
3598 |
-
|
3599 |
-
.chaty-page-option {
|
3600 |
-
padding: 5px;
|
3601 |
-
background: #f6f3fa;
|
3602 |
-
margin-bottom: 15px;
|
3603 |
-
-webkit-border-radius: 4px;
|
3604 |
-
-moz-border-radius: 4px;
|
3605 |
-
border-radius: 4px;
|
3606 |
-
position: relative;
|
3607 |
-
}
|
3608 |
-
.url-select {
|
3609 |
-
width: 17%;
|
3610 |
-
display: inline-block;
|
3611 |
-
padding-right: 5px;
|
3612 |
-
}
|
3613 |
-
.url-content > * {
|
3614 |
-
vertical-align: middle;
|
3615 |
-
}
|
3616 |
-
.url-option {
|
3617 |
-
width: 20%;
|
3618 |
-
display: inline-block;
|
3619 |
-
padding-right: 5px;
|
3620 |
-
}
|
3621 |
-
.url-box {
|
3622 |
-
width: 25%;
|
3623 |
-
display: inline-block;
|
3624 |
-
padding-right: 0px;
|
3625 |
-
text-align: right;
|
3626 |
-
}
|
3627 |
-
.url-values {
|
3628 |
-
width: calc(37% - 46px);
|
3629 |
-
display: inline-block;
|
3630 |
-
padding-right: 5px;
|
3631 |
-
}
|
3632 |
-
.url-buttons, .day-buttons {
|
3633 |
-
width: 36px;
|
3634 |
-
display: inline-block;
|
3635 |
-
float: right;
|
3636 |
-
padding: 0;
|
3637 |
-
}
|
3638 |
-
.url-buttons {
|
3639 |
-
padding: 2px 0 0 0;
|
3640 |
-
}
|
3641 |
-
span.chaty-url {
|
3642 |
-
font-size: 12px;
|
3643 |
-
line-height: 12px;
|
3644 |
-
}
|
3645 |
-
.url-content .remove-chaty {
|
3646 |
-
background: #bd2a00;
|
3647 |
-
text-align: center;
|
3648 |
-
display: block;
|
3649 |
-
line-height: 36px;
|
3650 |
-
-webkit-border-radius: 4px;
|
3651 |
-
-moz-border-radius: 4px;
|
3652 |
-
border-radius: 4px;
|
3653 |
-
}
|
3654 |
-
.url-content select, .url-content input {
|
3655 |
-
width: 100%;
|
3656 |
-
height: 36px;
|
3657 |
-
line-height: 36px;
|
3658 |
-
padding: 0 10px;
|
3659 |
-
-webkit-border-radius: 4px;
|
3660 |
-
-moz-border-radius: 4px;
|
3661 |
-
border-radius: 4px;
|
3662 |
-
}
|
3663 |
-
.chaty-option-box .page-options:hover .chaty-page-option {
|
3664 |
-
/*filter: blur(2px);
|
3665 |
-
-o-filter: blur(2px);
|
3666 |
-
-ms-filter: blur(2px);
|
3667 |
-
-moz-filter: blur(2px);
|
3668 |
-
-webkit-filter: blur(2px);*/
|
3669 |
-
}
|
3670 |
-
.page-options {
|
3671 |
-
position: relative;
|
3672 |
-
display: none;
|
3673 |
-
}
|
3674 |
-
.chaty-option-box .page-options:hover .chaty-pro-feature {
|
3675 |
-
display: block;
|
3676 |
-
width: 170px;
|
3677 |
-
margin: 0 auto;
|
3678 |
-
left: 0;
|
3679 |
-
right: 0;
|
3680 |
-
}
|
3681 |
-
.preview {
|
3682 |
-
position: fixed;
|
3683 |
-
top: 190px;
|
3684 |
-
width: 337px;
|
3685 |
-
height: 290px;
|
3686 |
-
bottom: auto;
|
3687 |
-
}
|
3688 |
-
.preview-section-chaty {
|
3689 |
-
position: static;
|
3690 |
-
width: 352px;
|
3691 |
-
height: 320px;
|
3692 |
-
display: block;
|
3693 |
-
vertical-align: baseline;
|
3694 |
-
float: right;
|
3695 |
-
}
|
3696 |
-
select.multiple-options {
|
3697 |
-
max-width: 100%;
|
3698 |
-
}
|
3699 |
-
.updates-form-form {
|
3700 |
-
min-height: calc(100vh - 280px);
|
3701 |
-
}
|
3702 |
-
.popup-form-content {
|
3703 |
-
background: #ffffff;
|
3704 |
-
min-height: 100px;
|
3705 |
-
width: 450px;
|
3706 |
-
text-align: center;
|
3707 |
-
margin-top: 50px;
|
3708 |
-
border: solid 1px #c1c1c1;
|
3709 |
-
}
|
3710 |
-
.updates-content-buttons button {
|
3711 |
-
margin: 10px 3px !important;
|
3712 |
-
float: left;
|
3713 |
-
}
|
3714 |
-
.updates-content-buttons a span {
|
3715 |
-
-webkit-animation: fa-spin 0.75s infinite linear;
|
3716 |
-
animation: fa-spin 0.75s infinite linear;
|
3717 |
-
}
|
3718 |
-
.updates-content-buttons a:hover, .updates-content-buttons a:focus {
|
3719 |
-
color: #ffffff;
|
3720 |
-
background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
|
3721 |
-
}
|
3722 |
-
.updates-content-buttons a:focus {
|
3723 |
-
outline: 0;
|
3724 |
-
box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50,100,150,.4);
|
3725 |
-
}
|
3726 |
-
.updates-content-buttons button.form-cancel-btn {
|
3727 |
-
float: right !important;
|
3728 |
-
}
|
3729 |
-
.form-submit-btn {
|
3730 |
-
background-color: #3085d6;
|
3731 |
-
}
|
3732 |
-
.updates-content-buttons a span {
|
3733 |
-
-webkit-animation: fa-spin 0.75s infinite linear;
|
3734 |
-
animation: fa-spin 0.75s infinite linear;
|
3735 |
-
}
|
3736 |
-
.add-update-folder-title {
|
3737 |
-
font-size: 20px;
|
3738 |
-
line-height: 30px;
|
3739 |
-
padding: 20px 20px 0;
|
3740 |
-
}
|
3741 |
-
.folder-form-input {
|
3742 |
-
padding: 10px 20px;
|
3743 |
-
}
|
3744 |
-
.folder-form-input input {
|
3745 |
-
width: 100%;
|
3746 |
-
transition: border-color .3s,box-shadow .3s;
|
3747 |
-
border: 1px solid #d9d9d9;
|
3748 |
-
border-radius: .1875em;
|
3749 |
-
font-size: 1.125em;
|
3750 |
-
box-shadow: inset 0 1px 1px rgba(0,0,0,.06);
|
3751 |
-
box-sizing: border-box;
|
3752 |
-
height: 2.625em;
|
3753 |
-
margin: 1em auto;
|
3754 |
-
}
|
3755 |
-
.updates-content-buttons {
|
3756 |
-
background: #c1c1c1;
|
3757 |
-
padding: 0 20px;
|
3758 |
-
}
|
3759 |
-
.notice.chaty-notice {
|
3760 |
-
display: block !important;
|
3761 |
-
}
|
3762 |
-
.preview .h2 {
|
3763 |
-
padding: 40px 0 10px 0;
|
3764 |
-
text-align: center;
|
3765 |
-
font-weight: bold;
|
3766 |
-
}
|
3767 |
-
.pro-features {
|
3768 |
-
position: relative;
|
3769 |
-
display: inline-flex;
|
3770 |
-
}
|
3771 |
-
.pro-item {
|
3772 |
-
position: relative;
|
3773 |
-
}
|
3774 |
-
.pro-button {
|
3775 |
-
display: none;
|
3776 |
-
position: absolute;
|
3777 |
-
width: 100%;
|
3778 |
-
top: 0;
|
3779 |
-
left: 0;
|
3780 |
-
height: 100%;
|
3781 |
-
line-height: 36px;
|
3782 |
-
text-align: center;
|
3783 |
-
}
|
3784 |
-
.pro-button a {
|
3785 |
-
/*display: inline-block;
|
3786 |
-
background: #fb8a58;
|
3787 |
-
color: #fff;
|
3788 |
-
text-decoration: none;
|
3789 |
-
padding: 0 6px;
|
3790 |
-
border-radius: 4px;
|
3791 |
-
font-size: 12px;
|
3792 |
-
height: 26px;
|
3793 |
-
line-height: 26px;*/
|
3794 |
-
display: block;
|
3795 |
-
line-height: 36px;
|
3796 |
-
}
|
3797 |
-
.pro-features:hover .pro-item {
|
3798 |
-
opacity:0.25;
|
3799 |
-
filter: blur(2px);
|
3800 |
-
-o-filter: blur(2px);
|
3801 |
-
-ms-filter: blur(2px);
|
3802 |
-
-moz-filter: blur(2px);
|
3803 |
-
-webkit-filter: blur(2px);
|
3804 |
-
}
|
3805 |
-
.pro-features:hover .pro-button {
|
3806 |
-
display: block;
|
3807 |
-
}
|
3808 |
-
.sp-replacer.sp-light {
|
3809 |
-
padding: 0;
|
3810 |
-
-webkit-border-radius: 4px;
|
3811 |
-
-moz-border-radius: 4px;
|
3812 |
-
border-radius: 4px;
|
3813 |
-
border: none;
|
3814 |
-
}
|
3815 |
-
.sp-preview {
|
3816 |
-
padding: 0;
|
3817 |
-
margin: 0;
|
3818 |
-
height: 36px;
|
3819 |
-
width: 36px;
|
3820 |
-
border: none;
|
3821 |
-
-webkit-border-radius: 4px;
|
3822 |
-
-moz-border-radius: 4px;
|
3823 |
-
border-radius: 4px;
|
3824 |
-
}
|
3825 |
-
.sp-preview-inner {
|
3826 |
-
-webkit-border-radius: 4px;
|
3827 |
-
-moz-border-radius: 4px;
|
3828 |
-
border-radius: 4px;
|
3829 |
-
}
|
3830 |
-
.sp-dd {
|
3831 |
-
display: none;
|
3832 |
-
}
|
3833 |
-
span.facustom-icon {
|
3834 |
-
display: block;
|
3835 |
-
width: 50px;
|
3836 |
-
height: 50px;
|
3837 |
-
font-size: 30px;
|
3838 |
-
line-height: 50px;
|
3839 |
-
-webkit-border-radius: 50%;
|
3840 |
-
-moz-border-radius: 50%;
|
3841 |
-
border-radius: 50%;
|
3842 |
-
}
|
3843 |
-
span.default-chaty-icon .facustom-icon {
|
3844 |
-
display: none;
|
3845 |
-
}
|
3846 |
-
span.default-chaty-icon.has-fa-icon .facustom-icon {
|
3847 |
-
display: block;
|
3848 |
-
}
|
3849 |
-
span.default-chaty-icon.has-fa-icon svg {
|
3850 |
-
display: none;
|
3851 |
-
}
|
3852 |
-
.preview .page .chaty-widget span.facustom-icon {
|
3853 |
-
width: 30px;
|
3854 |
-
height: 30px;
|
3855 |
-
line-height: 30px;
|
3856 |
-
font-size: 20px;
|
3857 |
-
}
|
3858 |
-
.preview .page .chaty-widget span.facustom-icon i {
|
3859 |
-
line-height: 30px;
|
3860 |
-
font-size: 18px;
|
3861 |
-
}
|
3862 |
-
.preview.mobiel-view .page .chaty-widget span.facustom-icon {
|
3863 |
-
width: 24px;
|
3864 |
-
height: 24px;
|
3865 |
-
line-height: 24px;
|
3866 |
-
font-size: 12px;
|
3867 |
-
}
|
3868 |
-
.preview.mobiel-view .page .chaty-widget svg {
|
3869 |
-
width: 24px;
|
3870 |
-
height: 24px;
|
3871 |
-
}
|
3872 |
-
.preview.mobiel-view .page .chaty-widget span.facustom-icon i {
|
3873 |
-
line-height: 24px;
|
3874 |
-
font-size: 14px;
|
3875 |
-
}
|
3876 |
-
.preview.mobiel-view .page .chaty-widget .social-item-box {
|
3877 |
-
height: 24px;
|
3878 |
-
margin: 0 0 4px 0;
|
3879 |
-
}
|
3880 |
-
label.custom-control.custom-radio:before {
|
3881 |
-
display: none;
|
3882 |
-
}
|
3883 |
-
.channels-selected-list li#chaty-social-Poptin {
|
3884 |
-
padding-bottom: 30px;
|
3885 |
-
}
|
3886 |
-
|
3887 |
-
/* Only for Free */
|
3888 |
-
.chaty-popup {
|
3889 |
-
position: fixed;
|
3890 |
-
width: 100%;
|
3891 |
-
height: 100%;
|
3892 |
-
top: 0;
|
3893 |
-
left: 0;
|
3894 |
-
z-index: 100001;
|
3895 |
-
background: rgba(0,0,0,0.75);
|
3896 |
-
}
|
3897 |
-
.chaty-popup-box {
|
3898 |
-
padding: 0px;
|
3899 |
-
width: 600px;
|
3900 |
-
max-width: 100%;
|
3901 |
-
margin: auto;
|
3902 |
-
top: 50%;
|
3903 |
-
position: absolute;
|
3904 |
-
left: 0;
|
3905 |
-
right: 0;
|
3906 |
-
border-radius: 5px;
|
3907 |
-
transform: translate(0, -50%);
|
3908 |
-
-webkit-transform: translate(0, -50%);
|
3909 |
-
-moz-transform: translate(0, -50%);
|
3910 |
-
text-align: center;
|
3911 |
-
background: #fcfcfc;
|
3912 |
-
}
|
3913 |
-
.chaty-popup-header {
|
3914 |
-
padding: 15px;
|
3915 |
-
font-size: 20px;
|
3916 |
-
border-bottom: solid 1px #e6e6e6;
|
3917 |
-
}
|
3918 |
-
.chaty-popup-content {
|
3919 |
-
background: #ffffff;
|
3920 |
-
padding: 15px;
|
3921 |
-
}
|
3922 |
-
.chaty-popup-content iframe {
|
3923 |
-
margin: 30px 0;
|
3924 |
-
}
|
3925 |
-
.chaty-popup-footer {
|
3926 |
-
padding: 10px 15px;
|
3927 |
-
border-top: solid 1px #e6e6e6;
|
3928 |
-
}
|
3929 |
-
.chaty-popup-footer button {
|
3930 |
-
border: solid 1px #00c478;
|
3931 |
-
padding: 5px 10px;
|
3932 |
-
border-radius: 4px;
|
3933 |
-
background: #00c478;
|
3934 |
-
color: #fff;
|
3935 |
-
}
|
3936 |
-
button.btn.btn-default {
|
3937 |
-
background: #fff;
|
3938 |
-
color: #333;
|
3939 |
-
border: solid 1px #333;
|
3940 |
-
outline: none;
|
3941 |
-
box-shadow: none;
|
3942 |
-
}
|
3943 |
-
.close-chaty-popup {
|
3944 |
-
|
3945 |
-
}
|
3946 |
-
.country-option-box {
|
3947 |
-
position: relative;
|
3948 |
-
}
|
3949 |
-
.country-option-box:hover .country-list-box {
|
3950 |
-
filter: blur(2px);
|
3951 |
-
-o-filter: blur(2px);
|
3952 |
-
-ms-filter: blur(2px);
|
3953 |
-
-moz-filter: blur(2px);
|
3954 |
-
-webkit-filter: blur(2px);
|
3955 |
-
}
|
3956 |
-
.country-option-box:hover .chaty-pro-feature {
|
3957 |
-
display: block;
|
3958 |
-
}
|
3959 |
-
.custom-css {
|
3960 |
-
-webkit-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
3961 |
-
-moz-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
3962 |
-
box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
3963 |
-
border-radius: 5px;
|
3964 |
-
-webkit-border-radius: 5px;
|
3965 |
-
-moz-border-radius: 5px;
|
3966 |
-
padding: 10px;
|
3967 |
-
height: 70px;
|
3968 |
-
border: solid 1px #f6f6f6;
|
3969 |
-
width: 360px;
|
3970 |
-
max-width: 100%;
|
3971 |
-
}
|
3972 |
-
.close-chaty-popup span {
|
3973 |
-
line-height: 20px;
|
3974 |
-
}
|
3975 |
-
.close-chaty-popup {
|
3976 |
-
margin: 0;
|
3977 |
-
padding: 0;
|
3978 |
-
background: 0 0;
|
3979 |
-
border: none;
|
3980 |
-
float: right;
|
3981 |
-
background: #000;
|
3982 |
-
border-radius: 50%;
|
3983 |
-
color: #fff;
|
3984 |
-
text-align: center;
|
3985 |
-
width: 24px;
|
3986 |
-
height: 24px;
|
3987 |
-
}
|
3988 |
-
|
3989 |
-
.css-option-box {
|
3990 |
-
width: 350px;
|
3991 |
-
max-width: 100%;
|
3992 |
-
}
|
3993 |
-
.chaty-channel .advanced-settings {
|
3994 |
-
display: none;
|
3995 |
-
width: 100%;
|
3996 |
-
}
|
3997 |
-
.chaty-channel[data-channel='Whatsapp'] .advanced-settings.Whatsapp-settings,
|
3998 |
-
.chaty-channel[data-channel='Email'] .advanced-settings.Email-settings,
|
3999 |
-
.chaty-channel[data-channel='WeChat'] .advanced-settings.WeChat-settings,
|
4000 |
-
.chaty-channel[data-channel='Link'] .advanced-settings.Link-settings,
|
4001 |
-
.chaty-channel[data-channel='Linkedin'] .advanced-settings.Linkedin-settings,
|
4002 |
-
.chaty-channel[data-channel='Custom_Link'] .advanced-settings.Custom_Link-settings,
|
4003 |
-
.chaty-channel[data-channel='Custom_Link_3'] .advanced-settings.Custom_Link_3-settings,
|
4004 |
-
.chaty-channel[data-channel='Custom_Link_4'] .advanced-settings.Custom_Link_4-settings,
|
4005 |
-
.chaty-channel[data-channel='Custom_Link_5'] .advanced-settings.Custom_Link_5-settings,
|
4006 |
-
.chaty-channel[data-channel='Contact_Us'] .advanced-settings.Contact_Us-settings {
|
4007 |
-
display: block;
|
4008 |
-
}
|
4009 |
-
.preview .page .chaty-widget.horizontal.chaty-widget-icons-left #iconWidget,
|
4010 |
-
.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-close-icon {
|
4011 |
-
float: left;
|
4012 |
-
}
|
4013 |
-
.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-channels {
|
4014 |
-
float: right;
|
4015 |
-
}
|
4016 |
-
.chaty-widget.horizontal.chaty-widget-icons-left .social-item-box {
|
4017 |
-
margin: 0 0 0 5px;
|
4018 |
-
vertical-align: bottom;
|
4019 |
-
}
|
4020 |
-
.chaty-widget.horizontal span.social-tooltip {
|
4021 |
-
right: auto;
|
4022 |
-
left: auto;
|
4023 |
-
transform: translate(calc(-50% + 15px), -150%);
|
4024 |
-
top: 0;
|
4025 |
-
margin: 0 auto;
|
4026 |
-
}
|
4027 |
-
.chaty-widget.horizontal span.social-tooltip:after {
|
4028 |
-
top: 100%;
|
4029 |
-
left: 0;
|
4030 |
-
right: 0;
|
4031 |
-
margin: 0px auto;
|
4032 |
-
transform: rotate(-90deg);
|
4033 |
-
width: 10px;
|
4034 |
-
height: 10px;
|
4035 |
-
}
|
4036 |
-
.chaty-widget.horizontal.chaty-widget-icons-left span.social-tooltip:after {
|
4037 |
-
transform: rotate(90deg);
|
4038 |
-
}
|
4039 |
-
.ui-sortable-handle {
|
4040 |
-
touch-action: inherit !important;
|
4041 |
-
}
|
4042 |
-
.chaty-widget.horizontal .social-item-box {
|
4043 |
-
display: inline-block;
|
4044 |
-
margin: 0 5px 0px 0;
|
4045 |
-
vertical-align: bottom;
|
4046 |
-
}
|
4047 |
-
.chaty-widget.active.horizontal .chaty-channels, .chaty-widget.hover.horizontal:hover .chaty-channels {
|
4048 |
-
display: inline-block;
|
4049 |
-
}
|
4050 |
-
.preview .page .chaty-widget.active:not(.has-single) i#iconWidget, .preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget {
|
4051 |
-
display: none!important;
|
4052 |
-
}
|
4053 |
-
.preview .page .chaty-widget.horizontal.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon, .preview .page .chaty-widget.horizontal.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon {
|
4054 |
-
display: inline-block!important;
|
4055 |
-
vertical-align: bottom;
|
4056 |
-
}
|
4057 |
-
.ui-sortable-handle {
|
4058 |
-
touch-action: inherit !important;
|
4059 |
-
}
|
4060 |
-
.form-horizontal__item.o-channel {
|
4061 |
-
display: none;
|
4062 |
-
}
|
4063 |
-
.form-horizontal__item.o-channel.active {
|
4064 |
-
display: flex;
|
4065 |
-
}
|
4066 |
-
.font-section {
|
4067 |
-
margin-top: 30px;
|
4068 |
-
}
|
4069 |
-
.font-section.active {
|
4070 |
-
margin: 0;
|
4071 |
-
}
|
4072 |
-
|
4073 |
-
|
4074 |
-
.form-horizontal__item .cht-input {
|
4075 |
-
max-width: 100%;
|
4076 |
-
width: 350px;
|
4077 |
-
}
|
4078 |
-
body *.form-horizontal__item *.cht-input:disabled {
|
4079 |
-
background: #eee;
|
4080 |
-
border: solid 1px #ddd;
|
4081 |
-
color: #32373c;
|
4082 |
-
font-size: 14px;
|
4083 |
-
}
|
4084 |
-
.form-horizontal__item .sp-replacer.sp-light.sp-disabled .sp-preview-inner {
|
4085 |
-
background: #eee !important;
|
4086 |
-
border: solid 1px #ddd;
|
4087 |
-
}
|
4088 |
-
.form-horizontal__item .sp-replacer.sp-light {
|
4089 |
-
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
4090 |
-
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
4091 |
-
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
4092 |
-
}
|
4093 |
-
.switch input[type=checkbox]:disabled + .switch__styled {
|
4094 |
-
background: #e2e2e2 !important;
|
4095 |
-
}
|
4096 |
-
.form-horizontal__item .sp-replacer.sp-light .sp-preview {
|
4097 |
-
margin: 0;
|
4098 |
-
}
|
4099 |
-
.main .form-horizontal__item.pending-message-items {
|
4100 |
-
display: none;
|
4101 |
-
}
|
4102 |
-
.main .form-horizontal__item.pending-message-items.active {
|
4103 |
-
display: flex;
|
4104 |
-
}
|
4105 |
-
span.pop-number {
|
4106 |
-
position: absolute;
|
4107 |
-
top: -6px;
|
4108 |
-
right: -6px;
|
4109 |
-
font-size: 10px;
|
4110 |
-
border-radius: 50%;
|
4111 |
-
line-height: 12px;
|
4112 |
-
padding: 2px;
|
4113 |
-
min-width: 16px;
|
4114 |
-
min-height: 16px;
|
4115 |
-
text-align: center;
|
4116 |
-
}
|
4117 |
-
.disable-message.label-tooltip.icon {
|
4118 |
-
font-size: 17px;
|
4119 |
-
}
|
4120 |
-
.cta-action-radio .disable-message {
|
4121 |
-
display: inline-block;
|
4122 |
-
margin-left: 10px;
|
4123 |
-
}
|
4124 |
-
.custom-control.custom-radio .custom-control-input:checked:disabled ~ .custom-control-label:before {
|
4125 |
-
background: #e2e2e2 !important;
|
4126 |
-
}
|
4127 |
-
.preview .page .chaty-widget .icon i#iconWidget {
|
4128 |
-
position: relative;
|
4129 |
-
overflow: inherit;
|
4130 |
-
}
|
4131 |
-
.disable-message.label-tooltip .sp-replacer.sp-light {
|
4132 |
-
pointer-events: none;
|
4133 |
-
}
|
4134 |
-
|
4135 |
-
.chaty-popup {
|
4136 |
-
display: none;
|
4137 |
-
}
|
4138 |
-
.chaty-popup-outer {
|
4139 |
-
position: fixed;
|
4140 |
-
width: 100%;
|
4141 |
-
height: 100%;
|
4142 |
-
background: rgba(0,0,0,0.4);
|
4143 |
-
left: 0;
|
4144 |
-
top: 0;
|
4145 |
-
z-index: 1010;
|
4146 |
-
}
|
4147 |
-
.chaty-popup-inner {
|
4148 |
-
position: fixed;
|
4149 |
-
height: auto;
|
4150 |
-
left: 0;
|
4151 |
-
top: 50%;
|
4152 |
-
right: 0;
|
4153 |
-
margin: 0 auto;
|
4154 |
-
width: 480px;
|
4155 |
-
max-width: 100%;
|
4156 |
-
z-index: 1012;
|
4157 |
-
-webkit-transform: translate(0px, -50%);
|
4158 |
-
-moz-transform: translate(0px, -50%);
|
4159 |
-
transform: translate(0px, -50%);
|
4160 |
-
font-weight: normal;
|
4161 |
-
}
|
4162 |
-
.chaty-popup .chaty-popup-content {
|
4163 |
-
position: relative;
|
4164 |
-
padding: 0;
|
4165 |
-
margin: 0;
|
4166 |
-
top: 0;
|
4167 |
-
width: 100%;
|
4168 |
-
}
|
4169 |
-
.chaty-popup-close {
|
4170 |
-
position: absolute;
|
4171 |
-
width: 20px;
|
4172 |
-
height: 20px;
|
4173 |
-
right: 4px;
|
4174 |
-
top: 4px;
|
4175 |
-
z-index: 110;
|
4176 |
-
}
|
4177 |
-
.chaty-popup-close a {
|
4178 |
-
display: block;
|
4179 |
-
width: 20px;
|
4180 |
-
height: 20px;
|
4181 |
-
padding: 4px;
|
4182 |
-
box-sizing: border-box;
|
4183 |
-
vertical-align: top;
|
4184 |
-
line-height: 12px;
|
4185 |
-
}
|
4186 |
-
.chaty-popup-close svg {
|
4187 |
-
width: 100%;
|
4188 |
-
height: 100%;
|
4189 |
-
}
|
4190 |
-
.chaty-popup-header {
|
4191 |
-
padding: 10px;
|
4192 |
-
border-bottom: solid 1px #e8e8e8;
|
4193 |
-
font-weight: bold;
|
4194 |
-
text-align: center;
|
4195 |
-
font-size: 20px;
|
4196 |
-
}
|
4197 |
-
.chaty-popup-body {
|
4198 |
-
padding: 40px 20px;
|
4199 |
-
text-align: center;
|
4200 |
-
}
|
4201 |
-
.chaty-popup-footer {
|
4202 |
-
padding: 15px 10px;
|
4203 |
-
text-align: center;
|
4204 |
-
border-top: solid 1px #e8e8e8;
|
4205 |
-
}
|
4206 |
-
.chaty-popup-footer button {
|
4207 |
-
border: solid 1px #00c478;
|
4208 |
-
padding: 5px 10px;
|
4209 |
-
border-radius: 4px;
|
4210 |
-
background: #00c478;
|
4211 |
-
color: #fff;
|
4212 |
-
}
|
4213 |
-
.chaty-popup-footer button.btn.btn-default {
|
4214 |
-
background: #fff;
|
4215 |
-
color: #333;
|
4216 |
-
border: solid 1px #333;
|
4217 |
-
outline: 0;
|
4218 |
-
box-shadow: none;
|
4219 |
-
}
|
4220 |
-
.gtm-select {
|
4221 |
-
width: 27%;
|
4222 |
-
}
|
4223 |
-
.color-setting {
|
4224 |
-
width: 100%;
|
4225 |
-
max-width: 500px;
|
4226 |
-
padding: 30px 0;
|
4227 |
-
}
|
4228 |
-
.color-box {
|
4229 |
-
display: flex;
|
4230 |
-
}
|
4231 |
-
.clr-setting {
|
4232 |
-
flex: 1;
|
4233 |
-
}
|
4234 |
-
.main .single-channel-setting {
|
4235 |
-
display: none;
|
4236 |
-
}
|
4237 |
-
.main .single-channel-setting.active {
|
4238 |
-
display: flex;
|
4239 |
-
}
|
4240 |
-
|
4241 |
-
.chaty-table {
|
4242 |
-
width: 100%;
|
4243 |
-
margin: 10px auto 3px;
|
4244 |
-
background: #ffffff;
|
4245 |
-
padding: 15px 20px 20px;
|
4246 |
-
border-radius: 9px;
|
4247 |
-
position: relative;
|
4248 |
-
}
|
4249 |
-
.chaty-table table {
|
4250 |
-
width: 100%;
|
4251 |
-
border-collapse: collapse;
|
4252 |
-
border-top: 1px solid #AEAEAE;
|
4253 |
-
border-left: 1px solid #AEAEAE;
|
4254 |
-
}
|
4255 |
-
.chaty-table table thead th {
|
4256 |
-
background-color: #44467F;
|
4257 |
-
color: #fff;
|
4258 |
-
text-align: left;
|
4259 |
-
padding: 15px 12px;
|
4260 |
-
border-right: 1px solid #AEAEAE;
|
4261 |
-
border-bottom: 1px solid #605DEC;
|
4262 |
-
}
|
4263 |
-
.chaty-table table tbody td {
|
4264 |
-
text-align: left;
|
4265 |
-
border-right: 1px solid #AEAEAE;
|
4266 |
-
border-bottom: 1px solid #AEAEAE;
|
4267 |
-
padding: 15px 12px;
|
4268 |
-
}
|
4269 |
-
.fix-width {
|
4270 |
-
width: 100px;
|
4271 |
-
text-align: center !important;
|
4272 |
-
}
|
4273 |
-
.chaty-actions a {
|
4274 |
-
color: #44467f;
|
4275 |
-
text-decoration: none;
|
4276 |
-
font-weight: normal;
|
4277 |
-
display: inline-block;
|
4278 |
-
}
|
4279 |
-
.chaty-actions .icon.label-tooltip:after {
|
4280 |
-
width: auto;
|
4281 |
-
}
|
4282 |
-
td.chaty-actions {
|
4283 |
-
text-align: center !important
|
4284 |
-
}
|
4285 |
-
.cht-tooltip {
|
4286 |
-
display: inline-block;
|
4287 |
-
position: relative;
|
4288 |
-
}
|
4289 |
-
.cht-tooltip:after, .cht-tooltip:before {
|
4290 |
-
position: absolute;
|
4291 |
-
opacity: 0;
|
4292 |
-
pointer-events: none;
|
4293 |
-
left: 50%;
|
4294 |
-
content: "";
|
4295 |
-
color: #ffffff;
|
4296 |
-
}
|
4297 |
-
.cht-tooltip:before {
|
4298 |
-
top: -8px;
|
4299 |
-
transform: translateX(-50%);
|
4300 |
-
height: 10px;
|
4301 |
-
width: 10px;
|
4302 |
-
border-width: 10px 5px 0;
|
4303 |
-
border-style: solid;
|
4304 |
-
border-color: #333 transparent transparent;
|
4305 |
-
}
|
4306 |
-
.cht-tooltip:after {
|
4307 |
-
text-align: center;
|
4308 |
-
content: "" attr(data-title) "";
|
4309 |
-
font-size: 11px;
|
4310 |
-
top: 0;
|
4311 |
-
transform: translate(-50%, calc(-100% - 6px));
|
4312 |
-
padding: 0 20px;
|
4313 |
-
line-height: 23px;
|
4314 |
-
min-width: 90px;
|
4315 |
-
white-space: nowrap;
|
4316 |
-
background-color: #333;
|
4317 |
-
box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
|
4318 |
-
border-radius: 6px;
|
4319 |
-
}
|
4320 |
-
.cht-tooltip:hover:not(.tooltip-show):after, .cht-tooltip:hover:not(.tooltip-show):before {
|
4321 |
-
opacity: 1;
|
4322 |
-
pointer-events: auto;
|
4323 |
-
}
|
4324 |
-
.chaty-table .chaty-switch {
|
4325 |
-
display: block;
|
4326 |
-
height: 24px;
|
4327 |
-
position: relative;
|
4328 |
-
padding: 0 0 0 40px !important;
|
4329 |
-
line-height: 24px;
|
4330 |
-
width: 40px !important;
|
4331 |
-
margin: 0 auto;
|
4332 |
-
}
|
4333 |
-
a.cht-add-new-widget {
|
4334 |
-
background-color: #fff;
|
4335 |
-
line-height: initial;
|
4336 |
-
color: #44467F;
|
4337 |
-
font-weight: 500;
|
4338 |
-
padding: 8px 14px;
|
4339 |
-
border-radius: 25px;
|
4340 |
-
border: 1px solid #44467F;
|
4341 |
-
text-decoration: none;
|
4342 |
-
margin: 0;
|
4343 |
-
display: inline-block;
|
4344 |
-
}
|
4345 |
-
.pull-right {
|
4346 |
-
float: right;
|
4347 |
-
}
|
4348 |
-
.chaty-table-header span {
|
4349 |
-
display: inline-block;
|
4350 |
-
font-size: 24px;
|
4351 |
-
line-height: 38px;
|
4352 |
-
}
|
4353 |
-
.chaty-table-header {
|
4354 |
-
padding: 0 0 15px 0;
|
4355 |
-
}
|
4356 |
-
@media (min-width: 1281px) {
|
4357 |
-
.btn-help, .remove-chaty-widget-sticky {
|
4358 |
-
transform: rotate(90deg);
|
4359 |
-
position: fixed;
|
4360 |
-
left: calc(50vw - 480px + 1050px / 12 * 7 + 372px);
|
4361 |
-
top: 306px;
|
4362 |
-
right: auto
|
4363 |
-
}
|
4364 |
-
}
|
4365 |
-
|
4366 |
-
@media (min-width: 576px) {
|
4367 |
-
.container {
|
4368 |
-
max-width: 540px
|
4369 |
-
}
|
4370 |
-
}
|
4371 |
-
|
4372 |
-
@media (min-width: 768px) {
|
4373 |
-
.container {
|
4374 |
-
max-width: 1070px;
|
4375 |
-
width: 100%;
|
4376 |
-
}
|
4377 |
-
|
4378 |
-
.modal__wrap {
|
4379 |
-
padding: 0
|
4380 |
-
}
|
4381 |
-
|
4382 |
-
.domain {
|
4383 |
-
margin: 0 0 10px;
|
4384 |
-
padding: 20px 60px 26px
|
4385 |
-
}
|
4386 |
-
}
|
4387 |
-
|
4388 |
-
@media (min-width: 1280px) {
|
4389 |
-
/*.btn-save-sticky {
|
4390 |
-
left: calc(50vw - 480px + 1050px / 12 * 7 + 469px);
|
4391 |
-
top: 161px;
|
4392 |
-
right: auto;
|
4393 |
-
border-radius: 0 7px 7px 0;
|
4394 |
-
position: fixed
|
4395 |
-
}
|
4396 |
-
|
4397 |
-
html[dir=rtl] .btn-save-sticky {
|
4398 |
-
left: calc(50vw - 480px + 1050px / 12 * 7 + 295px)
|
4399 |
-
}
|
4400 |
-
|
4401 |
-
html[dir=rtl] .btn-help, html[dir=rtl] .remove-chaty-widget-sticky {
|
4402 |
-
left: calc(50vw - 480px + 1050px / 12 * 7 + 193px)
|
4403 |
-
}*/
|
4404 |
-
}
|
4405 |
-
|
4406 |
-
.trigger-block span.dashicons.dashicons-editor-help {
|
4407 |
-
width: 20px;
|
4408 |
-
height: 24px;
|
4409 |
-
line-height: 25px;
|
4410 |
-
color: #7e8993;
|
4411 |
-
}
|
4412 |
-
.traffic-active, .traffic-options-box.active .traffic-default {
|
4413 |
-
display: none;
|
4414 |
-
}
|
4415 |
-
.traffic-options-box.active .traffic-active {
|
4416 |
-
display: block;
|
4417 |
-
}
|
4418 |
-
.traffic-custom-rules {
|
4419 |
-
padding: 5px 10px;
|
4420 |
-
}
|
4421 |
-
.custom-rule-title {
|
4422 |
-
font-weight: bold;
|
4423 |
-
font-size: 14px;
|
4424 |
-
}
|
4425 |
-
.custom-traffic-rule > * {
|
4426 |
-
display: inline-block;
|
4427 |
-
vertical-align: middle;
|
4428 |
-
box-sizing: border-box;
|
4429 |
-
}
|
4430 |
-
.custom-traffic-rule > *.traffic-option {
|
4431 |
-
width: 120px;
|
4432 |
-
padding: 0 5px 0 0;
|
4433 |
-
}
|
4434 |
-
.traffic-action {
|
4435 |
-
width: 36px;
|
4436 |
-
}
|
4437 |
-
a.remove-traffic-option {
|
4438 |
-
background: #bd2a00;
|
4439 |
-
text-align: center;
|
4440 |
-
display: block;
|
4441 |
-
line-height: 36px;
|
4442 |
-
-webkit-border-radius: 4px;
|
4443 |
-
-moz-border-radius: 4px;
|
4444 |
-
border-radius: 4px;
|
4445 |
-
}
|
4446 |
-
.traffic-url {
|
4447 |
-
width: calc(100% - 165px);
|
4448 |
-
padding: 0 5px 0 0;
|
4449 |
-
}
|
4450 |
-
.traffic-url input {
|
4451 |
-
width: 100%;
|
4452 |
-
}
|
4453 |
-
.custom-traffic-rule > *.traffic-option select {
|
4454 |
-
height: 36px;
|
4455 |
-
width: 100%;
|
4456 |
-
}
|
4457 |
-
.custom-traffic-rule {
|
4458 |
-
padding: 5px 0;
|
4459 |
-
border-bottom: solid 1px #eee2ff;
|
4460 |
-
}
|
4461 |
-
.custom-traffic-rule:last-child {
|
4462 |
-
border: none;
|
4463 |
-
}
|
4464 |
-
.custom-traffic-rule:first-child .remove-traffic-option {
|
4465 |
-
display: none;
|
4466 |
-
}
|
4467 |
-
.traffic-rule-actions {
|
4468 |
-
padding: 5px 10px 8px;
|
4469 |
-
border-top: solid 1px #eee2ff;
|
4470 |
-
}
|
4471 |
-
.chaty-setting-col > div > * {
|
4472 |
-
display: inline-block;
|
4473 |
-
padding: 0 10px 0 0;
|
4474 |
-
vertical-align: middle;
|
4475 |
-
}
|
4476 |
-
.chaty-setting-col > div > *.chaty-setting-textarea {
|
4477 |
-
width: 310px;
|
4478 |
-
max-width: 100%;
|
4479 |
-
height: 100px;
|
4480 |
-
padding: 5px;
|
4481 |
-
}
|
4482 |
-
.chaty-setting-col > div > .channels__view {
|
4483 |
-
padding: 0;
|
4484 |
-
margin: 0;
|
4485 |
-
}
|
4486 |
-
span.icon.label-tooltip.support-tooltip {
|
4487 |
-
display: inline-block;
|
4488 |
-
margin: 0;
|
4489 |
-
padding: 0 3px;
|
4490 |
-
width: auto;
|
4491 |
-
font-style: italic;
|
4492 |
-
height: auto;
|
4493 |
-
}
|
4494 |
-
.chaty-setting-col > label {
|
4495 |
-
width: 170px;
|
4496 |
-
}
|
4497 |
-
.chaty-setting-col > label.full-width {
|
4498 |
-
width: 100%;
|
4499 |
-
}
|
4500 |
-
.chaty-setting-col .wp-color-result-text {
|
4501 |
-
display: none;
|
4502 |
-
}
|
4503 |
-
.whatsapp-welcome-message {
|
4504 |
-
display: none;
|
4505 |
-
background: rgba(168,134,205,.1);
|
4506 |
-
padding: 15px 15px 10px 15px;
|
4507 |
-
border-radius: 10px;
|
4508 |
-
border: solid 1px #e1c4ff;
|
4509 |
-
width: 100%;
|
4510 |
-
}
|
4511 |
-
.whatsapp-welcome-message.active {
|
4512 |
-
display: block;
|
4513 |
-
}
|
4514 |
-
.form-field-setting-col {
|
4515 |
-
padding: 10px;
|
4516 |
-
background: #eff6f6;
|
4517 |
-
border: solid 1px #d2d2d2;
|
4518 |
-
border-radius: 5px;
|
4519 |
-
margin: 0 0 10px 0;
|
4520 |
-
}
|
4521 |
-
.field-settings, .email-settings, .redirect_action-settings, .close_form_after-settings {
|
4522 |
-
display: none;
|
4523 |
-
}
|
4524 |
-
.field-settings.active, .redirect_action-settings.active, .close_form_after-settings.active {
|
4525 |
-
display: block;
|
4526 |
-
}
|
4527 |
-
.email-settings.active {
|
4528 |
-
padding: 15px 0 0 0;
|
4529 |
-
display: block;
|
4530 |
-
}
|
4531 |
-
.no-margin {
|
4532 |
-
margin: 0 !important;
|
4533 |
-
}
|
4534 |
-
.no-padding {
|
4535 |
-
padding: 0 !important;
|
4536 |
-
}
|
4537 |
-
.left-section {
|
4538 |
-
float: left;
|
4539 |
-
text-align: left;
|
4540 |
-
}
|
4541 |
-
.right-section {
|
4542 |
-
float: right;
|
4543 |
-
width: 50%;
|
4544 |
-
text-align: right;
|
4545 |
-
}
|
4546 |
-
.inline-block {
|
4547 |
-
display: inline-block;
|
4548 |
-
vertical-align: top;
|
4549 |
-
}
|
4550 |
-
.form-field-title {
|
4551 |
-
font-weight: bold;
|
4552 |
-
padding: 0 0 10px 0;
|
4553 |
-
font-size: 18px;
|
4554 |
-
}
|
4555 |
-
.chaty-separator {
|
4556 |
-
margin: 0 0 10px 0;
|
4557 |
-
height: 1px;
|
4558 |
-
width: 100%;
|
4559 |
-
background: #d2d2d2;
|
4560 |
-
}
|
4561 |
-
input[type=search].search-input, select.search-input {
|
4562 |
-
height: 30px;
|
4563 |
-
float: left;
|
4564 |
-
width: 170px;
|
4565 |
-
font-weight: normal;
|
4566 |
-
}
|
4567 |
-
.date-range {
|
4568 |
-
display: none;
|
4569 |
-
padding: 5px 0 0 0;
|
4570 |
-
}
|
4571 |
-
.date-range.active {
|
4572 |
-
display: block;
|
4573 |
-
}
|
4574 |
-
.lead-search-box {
|
4575 |
-
float: right;
|
4576 |
-
}
|
4577 |
-
.leads-buttons {
|
4578 |
-
padding: 20px 0;
|
4579 |
-
}
|
4580 |
-
a#wpappp_export_to_csv {
|
4581 |
-
background: #FF6624;
|
4582 |
-
display: inline-block;
|
4583 |
-
text-align: center;
|
4584 |
-
padding: 8px 15px;
|
4585 |
-
color: #fff;
|
4586 |
-
text-decoration: none;
|
4587 |
-
border-radius: 4px;
|
4588 |
-
}
|
4589 |
-
input#chaty_delete_all_leads {
|
4590 |
-
background: #3c3c3c;
|
4591 |
-
color: #fff;
|
4592 |
-
padding: 10px 15px;
|
4593 |
-
border: none;
|
4594 |
-
border-radius: 4px;
|
4595 |
-
cursor: pointer;
|
4596 |
-
}
|
4597 |
-
.responstable {
|
4598 |
-
border-collapse: collapse;
|
4599 |
-
width: 100%;
|
4600 |
-
border: 1px solid #ccd0d4;
|
4601 |
-
margin-top: 30px;
|
4602 |
-
font-size: 14px;
|
4603 |
-
}
|
4604 |
-
.responstable td {
|
4605 |
-
border: none;
|
4606 |
-
padding: 8px;
|
4607 |
-
font-size: 14px;
|
4608 |
-
}
|
4609 |
-
.responstable tr:last-child {
|
4610 |
-
border-bottom: 1px solid #ccd0d4;
|
4611 |
-
}
|
4612 |
-
.responstable th {
|
4613 |
-
text-align: left;
|
4614 |
-
background-color: #ffffff;
|
4615 |
-
border-bottom: 1px solid #ccd0d4;
|
4616 |
-
border-top: 1px solid #ccd0d4;
|
4617 |
-
color: #32373c;
|
4618 |
-
font-weight: 400;
|
4619 |
-
padding: 12px 8px;
|
4620 |
-
font-size: 14px;
|
4621 |
-
}
|
4622 |
-
.responstable th.text-center {
|
4623 |
-
text-align: center;
|
4624 |
-
width: 80px;
|
4625 |
-
}
|
4626 |
-
.responstable tr:nth-child(even){background-color: #f9f9f9;}
|
4627 |
-
.remove-record {
|
4628 |
-
color: #333;
|
4629 |
-
text-decoration: none;
|
4630 |
-
}
|
4631 |
-
a.url {
|
4632 |
-
color: #333;
|
4633 |
-
text-decoration: none;
|
4634 |
-
}
|
4635 |
-
.no-record-message {
|
4636 |
-
margin: 100px 0 0;
|
4637 |
-
text-align: center;
|
4638 |
-
padding: 50px;
|
4639 |
-
border: solid 1px #dd0000;
|
4640 |
-
background: #ffeaea;
|
4641 |
-
color: #dd0000;
|
4642 |
-
}
|
4643 |
-
.custom-pagination {
|
4644 |
-
float: right;
|
4645 |
-
margin: 25px 0 0 0;
|
4646 |
-
}
|
4647 |
-
.custom-pagination ul {
|
4648 |
-
margin: 0;
|
4649 |
-
padding: 0;
|
4650 |
-
display: block;
|
4651 |
-
}
|
4652 |
-
.custom-pagination ul li {
|
4653 |
-
display: block;
|
4654 |
-
float: left;
|
4655 |
-
margin: 0 0 0 4px;
|
4656 |
-
}
|
4657 |
-
.custom-pagination ul li a, .custom-pagination ul li > span {
|
4658 |
-
display: block;
|
4659 |
-
padding: 2px 10px;
|
4660 |
-
text-decoration: none;
|
4661 |
-
color: #333;
|
4662 |
-
font-size: 14px;
|
4663 |
-
border-radius: 3px;
|
4664 |
-
background: #ffffff;
|
4665 |
-
border: solid 1px #e3e3e3;
|
4666 |
-
}
|
4667 |
-
.custom-pagination ul li a .dashicons {
|
4668 |
-
font-size: 14px;
|
4669 |
-
height: 14px;
|
4670 |
-
width: 14px;
|
4671 |
-
text-align: center;
|
4672 |
-
line-height: 22px;
|
4673 |
-
}
|
4674 |
-
.custom-pagination ul li a.next, .custom-pagination ul li a.prev {
|
4675 |
-
padding: 2px 8px;
|
4676 |
-
}
|
4677 |
-
.custom-pagination ul li > span {
|
4678 |
-
background: #f3f5f6;
|
4679 |
-
}
|
4680 |
-
.main .channels-icons > .icon.chat-channel-Contact_Us {
|
4681 |
-
width: 120px;
|
4682 |
-
line-height: 48px;
|
4683 |
-
text-align: center;
|
4684 |
-
}
|
4685 |
-
|
4686 |
-
.main .channels-icons > .icon.chat-channel-Contact_Us span.icon-box {
|
4687 |
-
display: block;
|
4688 |
-
height: 48px;
|
4689 |
-
border-radius: 24px;
|
4690 |
-
background: #bdbdbd;
|
4691 |
-
padding: 0;
|
4692 |
-
transition: all .2s;
|
4693 |
-
cursor: pointer;
|
4694 |
-
margin: 0;
|
4695 |
-
padding: 0;
|
4696 |
-
}
|
4697 |
-
.main .channels-icons > .icon.chat-channel-Contact_Us.active span.icon-box, .main .channels-icons > .icon.chat-channel-Contact_Us:hover span.icon-box {
|
4698 |
-
background: rgb(37, 57, 116);
|
4699 |
-
}
|
4700 |
-
.main .channels-icons > .icon.chat-channel-Contact_Us span.icon-box span {
|
4701 |
-
display: inline-block;
|
4702 |
-
vertical-align: top;
|
4703 |
-
font-size: 14px;
|
4704 |
-
padding: 0;
|
4705 |
-
margin: 0;
|
4706 |
-
color: #fff;
|
4707 |
-
}
|
4708 |
-
.main .channels-icons > .icon.chat-channel-Contact_Us span.icon-box svg {
|
4709 |
-
display: none;
|
4710 |
-
}
|
4711 |
-
.chaty-new-widget-row.no-records {
|
4712 |
-
border: 1px solid #605dec;
|
4713 |
-
margin: 10px;
|
4714 |
-
padding: 10px;
|
4715 |
-
text-align: center;
|
4716 |
-
border-radius: 5px;
|
4717 |
-
color: #1e1e1e;
|
4718 |
-
font-weight: 400;
|
4719 |
-
}
|
4720 |
-
.no-records-title {
|
4721 |
-
font-style: normal;
|
4722 |
-
font-weight: 600;
|
4723 |
-
font-size: 20px;
|
4724 |
-
line-height: 30px;
|
4725 |
-
color: #1E1E1E;
|
4726 |
-
margin: 15px 0;
|
4727 |
-
text-align: center;
|
4728 |
-
}
|
4729 |
-
.extra-chaty-settings {
|
4730 |
-
padding: 10px 0 0 70px;
|
4731 |
-
}
|
4732 |
-
.html-tooltip {
|
4733 |
-
position: relative;
|
4734 |
-
display: inline-block;
|
4735 |
-
}
|
4736 |
-
.html-tooltip .tooltip-text {
|
4737 |
-
visibility: hidden;
|
4738 |
-
width: 300px;
|
4739 |
-
background-color: #333;
|
4740 |
-
color: #fff;
|
4741 |
-
text-align: center;
|
4742 |
-
border-radius: 6px;
|
4743 |
-
padding: 10px;
|
4744 |
-
position: absolute;
|
4745 |
-
z-index: 1201;
|
4746 |
-
bottom: 125%;
|
4747 |
-
left: 50%;
|
4748 |
-
margin-left: -150px;
|
4749 |
-
opacity: 0;
|
4750 |
-
transition: opacity 0.3s;
|
4751 |
-
font-size: 12px;
|
4752 |
-
line-height: 18px;
|
4753 |
-
top: 100%;
|
4754 |
-
height: 454px;
|
4755 |
-
}
|
4756 |
-
.html-tooltip.no-position .tooltip-text {
|
4757 |
-
height: auto;
|
4758 |
-
}
|
4759 |
-
.html-tooltip .tooltip-text:after {
|
4760 |
-
content: "";
|
4761 |
-
position: absolute;
|
4762 |
-
top: -10px;
|
4763 |
-
left: 50%;
|
4764 |
-
margin-left: -5px;
|
4765 |
-
border-width: 5px;
|
4766 |
-
border-style: solid;
|
4767 |
-
border-color: #333 transparent transparent transparent;
|
4768 |
-
transform: rotate(180deg);
|
4769 |
-
-webkit-transform: rotate(180deg);
|
4770 |
-
}
|
4771 |
-
.html-tooltip:hover .tooltip-text {
|
4772 |
-
visibility: visible;
|
4773 |
-
opacity: 1;
|
4774 |
-
}
|
4775 |
-
.html-tooltip .tooltip-text img {
|
4776 |
-
width: 100%;
|
4777 |
-
height: auto;
|
4778 |
-
display: block;
|
4779 |
-
margin: 10px 0 0 0;
|
4780 |
-
}
|
4781 |
-
.html-tooltip.top .tooltip-text {
|
4782 |
-
top: auto;
|
4783 |
-
bottom: 100%;
|
4784 |
-
}
|
4785 |
-
.html-tooltip.top .tooltip-text:after {
|
4786 |
-
top: 100%;
|
4787 |
-
transform: rotate(0deg);
|
4788 |
-
-webkit-transform: rotate(0deg);
|
4789 |
-
}
|
4790 |
-
.html-tooltip.side .tooltip-text {
|
4791 |
-
bottom: 125%;
|
4792 |
-
left: 100%;
|
4793 |
-
margin-left: 0;
|
4794 |
-
top: 5px;
|
4795 |
-
transform: translateY(-50%);
|
4796 |
-
-webkit-transform: translateY(-50%);
|
4797 |
-
}
|
4798 |
-
.html-tooltip.side .tooltip-text:after {
|
4799 |
-
top: 50%;
|
4800 |
-
left: -5px;
|
4801 |
-
transform: rotate(180deg);
|
4802 |
-
-webkit-transform: rotate(90deg);
|
4803 |
-
}
|
4804 |
-
.html-tooltip.side .tooltip-text.hide-arrow:after {
|
4805 |
-
display: none;
|
4806 |
-
}
|
4807 |
-
body *.full-width {
|
4808 |
-
width: 100%;
|
4809 |
-
display: block;
|
4810 |
-
padding: 0 0 5px 0;
|
4811 |
-
line-height: 24px;
|
4812 |
-
}
|
4813 |
-
.chaty-setting-textarea {
|
4814 |
-
width: 100%;
|
4815 |
-
height: 100px;
|
4816 |
-
border-radius: 0;
|
4817 |
-
border: solid 1px #dadce3;
|
4818 |
-
}
|
4819 |
-
.popover .upgrade-link.active {
|
4820 |
-
animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
|
4821 |
-
transform: translate3d(0, 0, 0);
|
4822 |
-
backface-visibility: hidden;
|
4823 |
-
perspective: 1000px;
|
4824 |
-
}
|
4825 |
-
|
4826 |
-
.date-schedule {
|
4827 |
-
padding: 10px;
|
4828 |
-
background: #f6f3fa;
|
4829 |
-
margin-bottom: 4px;
|
4830 |
-
-webkit-border-radius: 4px;
|
4831 |
-
-moz-border-radius: 4px;
|
4832 |
-
border-radius: 4px;
|
4833 |
-
position: relative;
|
4834 |
-
flex: calc(100% - 152px);
|
4835 |
-
max-width: 350px;
|
4836 |
-
}
|
4837 |
-
.date-time-box input[type="text"] {
|
4838 |
-
width: 100%;
|
4839 |
-
}
|
4840 |
-
.date-schedule label {
|
4841 |
-
display: block;
|
4842 |
-
font-size: 16px;
|
4843 |
-
padding: 0 0 2px 0;
|
4844 |
-
}
|
4845 |
-
.date-time-box {
|
4846 |
-
padding-top: 8px;
|
4847 |
-
}
|
4848 |
-
.date-select-option {
|
4849 |
-
width: 49%;
|
4850 |
-
float: left;
|
4851 |
-
}
|
4852 |
-
.time-select-option {
|
4853 |
-
width: 49%;
|
4854 |
-
float: right;
|
4855 |
-
}
|
4856 |
-
.date-schedule-box, #date-schedule.active .date-schedule-button {
|
4857 |
-
display: none;
|
4858 |
-
}
|
4859 |
-
#date-schedule.active .date-schedule-box {
|
4860 |
-
display: block;
|
4861 |
-
}
|
4862 |
-
a#remove-date-rule {
|
4863 |
-
margin-top: 5px;
|
4864 |
-
}
|
4865 |
-
.chaty-popup-input input {
|
4866 |
-
width: 100%;
|
4867 |
-
margin: 10px 0 0 0;
|
4868 |
-
width: calc(100% - 36px);
|
4869 |
-
}
|
4870 |
-
button#delete-widget-btn {
|
4871 |
-
background: #ff0000;
|
4872 |
-
border-color: #ff0000;
|
4873 |
-
}
|
4874 |
-
.chaty-setting-col>div span.supported-tags {
|
4875 |
-
display: flex;
|
4876 |
-
font-size: 12px;
|
4877 |
-
line-height: 1.4;
|
4878 |
-
}
|
4879 |
-
.select2-box {
|
4880 |
-
width: 100%;
|
4881 |
-
height: 36px;
|
4882 |
-
}
|
4883 |
-
.date-schedule {
|
4884 |
-
position: relative;
|
4885 |
-
}
|
4886 |
-
.date-schedule:hover .chaty-pro-feature {
|
4887 |
-
display: block;
|
4888 |
-
}
|
4889 |
-
.sr-only {
|
4890 |
-
position: absolute;
|
4891 |
-
width: 1px;
|
4892 |
-
height: 1px;
|
4893 |
-
padding: 0;
|
4894 |
-
margin: -1px;
|
4895 |
-
overflow: hidden;
|
4896 |
-
clip: rect(0,0,0,0);
|
4897 |
-
border: 0;
|
4898 |
-
}
|
4899 |
-
|
4900 |
-
.chaty-updates-form {
|
4901 |
-
width: 768px;
|
4902 |
-
padding: 70px 40px;
|
4903 |
-
box-shadow: 0px 20px 25px rgb(0 0 0 / 10%), 0px 10px 10px rgb(0 0 0 / 4%);
|
4904 |
-
display: flex;
|
4905 |
-
margin: 100px auto 0;
|
4906 |
-
font-family: Rubik, sans-serif;
|
4907 |
-
}
|
4908 |
-
.update-title {
|
4909 |
-
font-style: normal;
|
4910 |
-
font-weight: 500;
|
4911 |
-
font-size: 26px;
|
4912 |
-
line-height: 150%;
|
4913 |
-
align-items: center;
|
4914 |
-
color: #334155;
|
4915 |
-
}
|
4916 |
-
.updates-form-form-left {
|
4917 |
-
padding: 50px 20px 50px 0;
|
4918 |
-
}
|
4919 |
-
.updates-form-form-right p {
|
4920 |
-
font-style: normal;
|
4921 |
-
font-weight: normal;
|
4922 |
-
font-size: 14px;
|
4923 |
-
line-height: 150%;
|
4924 |
-
position: relative;
|
4925 |
-
padding: 0 0 20px 0;
|
4926 |
-
color: #475569;
|
4927 |
-
margin: 40px 0;
|
4928 |
-
}
|
4929 |
-
.updates-form-form-right p:after {
|
4930 |
-
content: "";
|
4931 |
-
border: 1px solid #3C85F7;
|
4932 |
-
position: absolute;
|
4933 |
-
bottom: 5px;
|
4934 |
-
left: 0;
|
4935 |
-
width: 90px;
|
4936 |
-
}
|
4937 |
-
.updates-form {
|
4938 |
-
display: flex;
|
4939 |
-
}
|
4940 |
-
.update-form-input {
|
4941 |
-
position: relative;
|
4942 |
-
}
|
4943 |
-
.update-form-input input {
|
4944 |
-
width: 320px;
|
4945 |
-
background: #F4F4F5;
|
4946 |
-
border: 1px solid #F4F4F5;
|
4947 |
-
box-sizing: border-box;
|
4948 |
-
border-radius: 4px;
|
4949 |
-
height: 40px;
|
4950 |
-
line-height: 40px;
|
4951 |
-
padding: 0 50px 0 40px;
|
4952 |
-
font-size: 13px;
|
4953 |
-
box-sizing: border-box;
|
4954 |
-
color: #334155;
|
4955 |
-
}
|
4956 |
-
.update-form-input .form-submit-btn {
|
4957 |
-
background: #3C85F7;
|
4958 |
-
border-radius: 4px;
|
4959 |
-
border: none;
|
4960 |
-
color: #fff;
|
4961 |
-
font-style: normal;
|
4962 |
-
font-weight: 500;
|
4963 |
-
font-size: 13px;
|
4964 |
-
line-height: 150%;
|
4965 |
-
height: 34px;
|
4966 |
-
padding: 0 10px;
|
4967 |
-
position: absolute;
|
4968 |
-
right: 3px;
|
4969 |
-
top: 3px;
|
4970 |
-
}
|
4971 |
-
.updates-form .form-cancel-btn.no {
|
4972 |
-
margin: 0 0 0 3px;
|
4973 |
-
background: transparent;
|
4974 |
-
border: none;
|
4975 |
-
color: #64748B;
|
4976 |
-
font-size: 13px;
|
4977 |
-
line-height: 40px;
|
4978 |
-
padding: 0 0 0 5px;
|
4979 |
-
}
|
4980 |
-
.updates-form .form-cancel-btn.no:hover {
|
4981 |
-
color: #334155;
|
4982 |
-
}
|
4983 |
-
.mail-icon {
|
4984 |
-
position: absolute;
|
4985 |
-
top: 8px;
|
4986 |
-
left: 10px;
|
4987 |
-
}
|
4988 |
-
.update-notice {
|
4989 |
-
margin: 50px 0 0 0;
|
4990 |
-
font-size: 12px;
|
4991 |
-
padding: 0 110px 0 0;
|
4992 |
-
line-height: 150%;
|
4993 |
-
color: #64748B;
|
4994 |
-
}
|
4995 |
-
@keyframes shake {
|
4996 |
-
10%, 90% {
|
4997 |
-
transform: translate3d(-1px, 0, 0);
|
4998 |
-
}
|
4999 |
-
|
5000 |
-
20%, 80% {
|
5001 |
-
transform: translate3d(2px, 0, 0);
|
5002 |
-
}
|
5003 |
-
|
5004 |
-
30%, 50%, 70% {
|
5005 |
-
transform: translate3d(-4px, 0, 0);
|
5006 |
-
}
|
5007 |
-
|
5008 |
-
40%, 60% {
|
5009 |
-
transform: translate3d(4px, 0, 0);
|
5010 |
-
}
|
5011 |
-
}
|
5012 |
-
@media screen and (max-width: 1280px) {
|
5013 |
-
|
5014 |
-
}
|
5015 |
-
|
5016 |
-
@media (min-width: 768px) {
|
5017 |
-
.widget-icon__block [class^=icon-] {
|
5018 |
-
width: 54px;
|
5019 |
-
height: 54px;
|
5020 |
-
font-size: 28px;
|
5021 |
-
line-height: 54px
|
5022 |
-
}
|
5023 |
-
|
5024 |
-
.widget-icon__block [class^=icon-] svg {
|
5025 |
-
width: 100%
|
5026 |
-
}
|
5027 |
-
|
5028 |
-
.widget-icon__block .custom-control.custom-radio:first-child {
|
5029 |
-
padding-left: 20px;
|
5030 |
-
max-width: 90px;
|
5031 |
-
}
|
5032 |
-
|
5033 |
-
.widget-icon__block .custom-control.custom-radio:last-child {
|
5034 |
-
padding-right: 20px
|
5035 |
-
}
|
5036 |
-
}
|
5037 |
-
|
5038 |
-
@media (max-width: 767px) {
|
5039 |
-
.main .form-horizontal__item > .widget-icon__wrap {
|
5040 |
-
display: flex;
|
5041 |
-
justify-content: space-between
|
5042 |
-
}
|
5043 |
-
|
5044 |
-
.main .form-horizontal__item > .widget-icon__wrap .custom-control {
|
5045 |
-
margin: 0;
|
5046 |
-
flex: 1;
|
5047 |
-
text-align: center
|
5048 |
-
}
|
5049 |
-
}
|
5050 |
-
|
5051 |
-
@media (min-width: 768px) {
|
5052 |
-
.kv-file-content {
|
5053 |
-
width: 54px;
|
5054 |
-
height: 54px
|
5055 |
-
}
|
5056 |
-
|
5057 |
-
.file-input {
|
5058 |
-
width: 54px;
|
5059 |
-
height: 60px
|
5060 |
-
}
|
5061 |
-
}
|
5062 |
-
.chaty-checkbox {
|
5063 |
-
position: relative;
|
5064 |
-
line-height: 36px;
|
5065 |
-
}
|
5066 |
-
.chaty-checkbox > span {
|
5067 |
-
position: relative;
|
5068 |
-
border: solid 2px #a785cb;
|
5069 |
-
display: inline-block;
|
5070 |
-
width: 16px;
|
5071 |
-
height: 16px;
|
5072 |
-
border-radius: 2px;
|
5073 |
-
vertical-align: middle;
|
5074 |
-
}
|
5075 |
-
.chaty-checkbox input:checked + span {
|
5076 |
-
background: #a785cb;
|
5077 |
-
}
|
5078 |
-
.chaty-checkbox input:checked + span:before {
|
5079 |
-
color: #fff;
|
5080 |
-
content: "\f147";
|
5081 |
-
font-family: dashicons;
|
5082 |
-
line-height: 1;
|
5083 |
-
position: absolute;
|
5084 |
-
top: -2px;
|
5085 |
-
left: -3px;
|
5086 |
-
display: block;
|
5087 |
-
}
|
5088 |
-
.icon.label-tooltip.inline-tooltip {
|
5089 |
-
display: inline-block;
|
5090 |
-
width: 24px;
|
5091 |
-
padding: 0;
|
5092 |
-
margin: 0;
|
5093 |
-
height: 24px;
|
5094 |
-
vertical-align: middle;
|
5095 |
-
line-height: 34px;
|
5096 |
-
}
|
5097 |
-
html[dir='rtl'] .iti--container {
|
5098 |
-
margin-left: 503px;
|
5099 |
-
}
|
5100 |
-
.toast-message {
|
5101 |
-
position: fixed;
|
5102 |
-
right: -110%;
|
5103 |
-
top: 50px;
|
5104 |
-
-webkit-box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
|
5105 |
-
box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
|
5106 |
-
background: #fff;
|
5107 |
-
padding: 10px 20px;
|
5108 |
-
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
|
5109 |
-
border-left: solid 4px #00cc33;
|
5110 |
-
transition: all 0.5s linear;
|
5111 |
-
z-index: 10001;
|
5112 |
-
}
|
5113 |
-
.toast-message.active {
|
5114 |
-
right: 20px;
|
5115 |
-
}
|
5116 |
-
html[dir='rtl'] .toast-message {
|
5117 |
-
left: -110%;
|
5118 |
-
right: auto;
|
5119 |
-
}
|
5120 |
-
html[dir='rtl'] .toast-message.active {
|
5121 |
-
left: 20px;
|
5122 |
-
}
|
5123 |
-
.toast-message-title {
|
5124 |
-
margin-bottom: 8px;
|
5125 |
-
color: rgba(0,0,0,.85);
|
5126 |
-
font-size: 16px;
|
5127 |
-
line-height: 24px;
|
5128 |
-
}
|
5129 |
-
.toast-close-btn {
|
5130 |
-
position: absolute;
|
5131 |
-
right: 10px;
|
5132 |
-
top: 14px;
|
5133 |
-
width: 16px;
|
5134 |
-
height: 16px;
|
5135 |
-
}
|
5136 |
-
.toast-close-btn a {
|
5137 |
-
display: block;
|
5138 |
-
position: relative;
|
5139 |
-
}
|
5140 |
-
.toast-close-btn a:after, .toast-close-btn a:before {
|
5141 |
-
content: "";
|
5142 |
-
position: absolute;
|
5143 |
-
width: 12px;
|
5144 |
-
height: 2px;
|
5145 |
-
background-color: #000000;
|
5146 |
-
display: block;
|
5147 |
-
border-radius: 2px;
|
5148 |
-
transform: rotate(45deg);
|
5149 |
-
top: 7px;
|
5150 |
-
left: 2px;
|
5151 |
-
}
|
5152 |
-
.toast-close-btn a:after {
|
5153 |
-
transform: rotate(-45deg);
|
5154 |
-
}
|
5155 |
-
.toast-message-body {
|
5156 |
-
font-size: 14px;
|
5157 |
-
color: rgba(0,0,0,.8);
|
5158 |
-
}
|
5159 |
-
@media screen and (max-width: 1280px) {
|
5160 |
-
.preview {
|
5161 |
-
top: 180px;
|
5162 |
-
}
|
5163 |
-
.chaty-sticky-buttons {
|
5164 |
-
position: fixed;
|
5165 |
-
right: 0;
|
5166 |
-
top: 179px;
|
5167 |
-
z-index: 601;
|
5168 |
-
}
|
5169 |
-
.preview-section-chaty {
|
5170 |
-
display: none;
|
5171 |
-
z-index: 1001;
|
5172 |
-
position: fixed;
|
5173 |
-
left: 0;
|
5174 |
-
right: 0;
|
5175 |
-
margin: 0 auto;
|
5176 |
-
}
|
5177 |
-
.preview-section-chaty.active, .preview-section-overlay.active {
|
5178 |
-
display: block;
|
5179 |
-
}
|
5180 |
-
.preview-section-overlay {
|
5181 |
-
position: fixed;
|
5182 |
-
background: rgba(0,0,0,0.6);
|
5183 |
-
top: 0;
|
5184 |
-
left: 0;
|
5185 |
-
width: 100%;
|
5186 |
-
height: 100vh;
|
5187 |
-
z-index: 999;
|
5188 |
-
display: none;
|
5189 |
-
float: none;
|
5190 |
-
width: 100%;
|
5191 |
-
}
|
5192 |
-
.preview-help-btn {
|
5193 |
-
display: block;
|
5194 |
-
top: 177px !important;
|
5195 |
-
background: #a785cb;
|
5196 |
-
padding: 0;
|
5197 |
-
line-height: 42px;
|
5198 |
-
height: 42px;
|
5199 |
-
width: 110px;
|
5200 |
-
}
|
5201 |
-
a.remove-chaty-widget-sticky {
|
5202 |
-
top: 302px !important;
|
5203 |
-
}
|
5204 |
-
.preview-help-btn:hover, .preview-help-btn:focus {
|
5205 |
-
color: #ffffff;
|
5206 |
-
}
|
5207 |
-
.preview {
|
5208 |
-
position: relative;
|
5209 |
-
top: 0 !important;;
|
5210 |
-
margin: 0 auto !important;
|
5211 |
-
left: 0;
|
5212 |
-
right: 0;
|
5213 |
-
float: none;
|
5214 |
-
}
|
5215 |
-
.preview.mobiel-view .page {
|
5216 |
-
width: 202px;
|
5217 |
-
height: 300px;
|
5218 |
-
}
|
5219 |
-
.container {
|
5220 |
-
/*max-width: 720px;*/
|
5221 |
-
}
|
5222 |
-
.btn-save-sticky {
|
5223 |
-
top: 20px !important;
|
5224 |
-
position: absolute;
|
5225 |
-
}
|
5226 |
-
.btn-help {
|
5227 |
-
top: 60px !important;
|
5228 |
-
position: absolute;
|
5229 |
-
}
|
5230 |
-
}
|
5231 |
-
@media screen and (max-width: 1180px) {
|
5232 |
-
.section.one {
|
5233 |
-
max-width: inherit;
|
5234 |
-
}
|
5235 |
-
.main .channels-icons {
|
5236 |
-
max-width: 600px;
|
5237 |
-
text-align: center;
|
5238 |
-
margin: 0;
|
5239 |
-
width: 100%;
|
5240 |
-
}
|
5241 |
-
.main .channels-icons > .icon {
|
5242 |
-
display: inline-block;
|
5243 |
-
vertical-align: middle;
|
5244 |
-
text-align: center;
|
5245 |
-
float: none;
|
5246 |
-
margin: 0;
|
5247 |
-
padding: 2px 4px 0;
|
5248 |
-
width: 58px;
|
5249 |
-
height: 58px;
|
5250 |
-
}
|
5251 |
-
.container {
|
5252 |
-
max-width: 1180px;
|
5253 |
-
padding: 0 20px 0 10px;
|
5254 |
-
}
|
5255 |
-
.chaty-settings.cls-btn {
|
5256 |
-
margin-left: 137px;
|
5257 |
-
}
|
5258 |
-
.chaty-settings.cls-btn span {
|
5259 |
-
padding-left: 0px;
|
5260 |
-
}
|
5261 |
-
}
|
5262 |
-
@media screen and (max-width: 960px) {
|
5263 |
-
.chaty-default-settings > * {
|
5264 |
-
display: inline-block;
|
5265 |
-
vertical-align: middle;
|
5266 |
-
}
|
5267 |
-
.chaty-default-settings .move-icon {
|
5268 |
-
width: 15px;
|
5269 |
-
}
|
5270 |
-
.channels-selected__item .icon span.custom-chaty-image, .channels-selected__item .icon span.custom-chaty-image img {
|
5271 |
-
width: 40px;
|
5272 |
-
height: 40px;
|
5273 |
-
}
|
5274 |
-
.chaty-default-settings .icon {
|
5275 |
-
width: 40px;
|
5276 |
-
}
|
5277 |
-
.chaty-default-settings .channels__device-box {
|
5278 |
-
width: 135px;
|
5279 |
-
}
|
5280 |
-
.chaty-default-settings .channels__device-box .channels__view {
|
5281 |
-
margin: 0;
|
5282 |
-
}
|
5283 |
-
.chaty-settings {
|
5284 |
-
width: 94px;
|
5285 |
-
text-align: center;
|
5286 |
-
}
|
5287 |
-
.chaty-default-settings .icon.icon-md svg, .main .channels-selected__item .icon {
|
5288 |
-
width: 40px;
|
5289 |
-
height: 40px;
|
5290 |
-
cursor: move;
|
5291 |
-
}
|
5292 |
-
.chaty-default-settings {
|
5293 |
-
display: block;
|
5294 |
-
width: 100%;
|
5295 |
-
padding-bottom: 0;
|
5296 |
-
}
|
5297 |
-
.chaty-default-settings .channels__input-box input {
|
5298 |
-
width: 100%;
|
5299 |
-
}
|
5300 |
-
.chaty-default-settings .channels__input-box {
|
5301 |
-
width: calc(100% - 310px);
|
5302 |
-
}
|
5303 |
-
.viber-help {
|
5304 |
-
top: 50px;
|
5305 |
-
bottom: auto;
|
5306 |
-
}
|
5307 |
-
.day-buttons {
|
5308 |
-
width: calc(100% - 71% - 102px);
|
5309 |
-
}
|
5310 |
-
.url-values {
|
5311 |
-
width: calc(37% - 52px);
|
5312 |
-
}
|
5313 |
-
body {
|
5314 |
-
background: #af7dd0 url(../images/bg.svg) no-repeat;
|
5315 |
-
}
|
5316 |
-
.modal-dialog.modal-lg {
|
5317 |
-
display: none;
|
5318 |
-
}
|
5319 |
-
}
|
5320 |
-
@media screen and (max-width: 830px) {
|
5321 |
-
.chaty-features ul li {
|
5322 |
-
width: 100%;
|
5323 |
-
text-align: center;
|
5324 |
-
}
|
5325 |
-
.demo-buttons {
|
5326 |
-
text-align: center;
|
5327 |
-
}
|
5328 |
-
.chaty-feature, .chaty-feature.second, .chaty-feature.analytics {
|
5329 |
-
min-height: inherit;
|
5330 |
-
}
|
5331 |
-
.chaty-updates-form {
|
5332 |
-
display: block;
|
5333 |
-
width: 92%;
|
5334 |
-
margin: 100px 4% 0
|
5335 |
-
}
|
5336 |
-
.updates-form-form-left {
|
5337 |
-
width: 100%;
|
5338 |
-
text-align: center;
|
5339 |
-
padding: 0 0 20px 0;
|
5340 |
-
}
|
5341 |
-
.updates-form {
|
5342 |
-
display: block;
|
5343 |
-
}
|
5344 |
-
.update-form-input, .update-form-input input {
|
5345 |
-
width: 100%;
|
5346 |
-
}
|
5347 |
-
.update-form-skip-button {
|
5348 |
-
text-align: center;
|
5349 |
-
}
|
5350 |
-
.updates-form .form-cancel-btn.no {
|
5351 |
-
padding:0;
|
5352 |
-
margin: 0;
|
5353 |
-
}
|
5354 |
-
.update-notice {
|
5355 |
-
padding: 0;
|
5356 |
-
}
|
5357 |
-
}
|
5358 |
-
@media screen and (max-width: 680px) {
|
5359 |
-
#wpbody-content {
|
5360 |
-
padding-right: 10px;
|
5361 |
-
}
|
5362 |
-
.date-option {
|
5363 |
-
width: 100%;
|
5364 |
-
margin: 0;
|
5365 |
-
padding: 0 0 10px 0;
|
5366 |
-
}
|
5367 |
-
.custom-search-box {
|
5368 |
-
max-width: 100%;
|
5369 |
-
}
|
5370 |
-
.chaty-default-settings > * {
|
5371 |
-
display: inline-block;
|
5372 |
-
vertical-align: top;
|
5373 |
-
}
|
5374 |
-
.section-title {
|
5375 |
-
font-size: 20px;
|
5376 |
-
margin: 0 0 15px 0;
|
5377 |
-
}
|
5378 |
-
.chaty-default-settings .channels__input-box {
|
5379 |
-
width: calc(100% - 75px);
|
5380 |
-
}
|
5381 |
-
.viber-help {
|
5382 |
-
position: relative;
|
5383 |
-
top: auto;
|
5384 |
-
left: auto;
|
5385 |
-
right: auto;
|
5386 |
-
padding: 5px 0 0 0;
|
5387 |
-
width: 100%;
|
5388 |
-
}
|
5389 |
-
.chaty-default-settings .channels__device-box {
|
5390 |
-
width: calc(100% - 102px);
|
5391 |
-
text-align: left;
|
5392 |
-
padding: 10px 0 0 0;
|
5393 |
-
}
|
5394 |
-
.chaty-settings {
|
5395 |
-
padding: 10px 0 0 0;
|
5396 |
-
}
|
5397 |
-
.help-section {
|
5398 |
-
display: block;
|
5399 |
-
width: 100%;
|
5400 |
-
text-align: left;
|
5401 |
-
}
|
5402 |
-
.extra-chaty-settings {
|
5403 |
-
padding: 10px 0 0;
|
5404 |
-
}
|
5405 |
-
.chaty-setting-col input[type='text'], select.channel-select-input, .chaty-setting-col input[type='number'] {
|
5406 |
-
width: 100%;
|
5407 |
-
}
|
5408 |
-
.chaty-default-settings .channels__device-box .channels__view {
|
5409 |
-
margin: 0 15px 0 0;
|
5410 |
-
}
|
5411 |
-
.chaty-setting-col > * {
|
5412 |
-
display: block;
|
5413 |
-
}
|
5414 |
-
.main .form-horizontal__item-label {
|
5415 |
-
display: block;
|
5416 |
-
width: 100%;
|
5417 |
-
flex: auto;
|
5418 |
-
text-align: left;
|
5419 |
-
padding: 0 0 5px 0;
|
5420 |
-
}
|
5421 |
-
select.form-fonts, select.chaty-select, button.chaty-input-button {
|
5422 |
-
width: 100%;
|
5423 |
-
}
|
5424 |
-
.country-option-box {
|
5425 |
-
width: 100%;
|
5426 |
-
}
|
5427 |
-
.form-horizontal__item > div {
|
5428 |
-
display: block;
|
5429 |
-
width: 100%;
|
5430 |
-
}
|
5431 |
-
.day-select {
|
5432 |
-
width: 100%;
|
5433 |
-
padding-bottom: 10px;
|
5434 |
-
}
|
5435 |
-
.chaty-date-time-option .day-time {
|
5436 |
-
width: calc(50% - 78px);
|
5437 |
-
padding-bottom: 0px;
|
5438 |
-
}
|
5439 |
-
.chaty-date-time-option .day-buttons {
|
5440 |
-
width: 36px;
|
5441 |
-
padding-bottom: 0;
|
5442 |
-
}
|
5443 |
-
.chaty-date-time-option .time-data {
|
5444 |
-
display: none;
|
5445 |
-
}
|
5446 |
-
.chaty-date-time-option.first .time-data {
|
5447 |
-
display: inline-block;
|
5448 |
-
}
|
5449 |
-
.chaty-date-time-option.first .day-time {
|
5450 |
-
width: calc(50% - 58px);
|
5451 |
-
padding-bottom: 10px;
|
5452 |
-
}
|
5453 |
-
.chaty-date-time-option.first .day-buttons {
|
5454 |
-
width: calc(50% - 7px);
|
5455 |
-
vertical-align: top;
|
5456 |
-
}
|
5457 |
-
.url-content > * {
|
5458 |
-
float: left;
|
5459 |
-
}
|
5460 |
-
.url-select, .url-option, .url-box {
|
5461 |
-
width: 50%;
|
5462 |
-
word-break: break-all;
|
5463 |
-
padding: 0 2px;
|
5464 |
-
}
|
5465 |
-
.url-values {
|
5466 |
-
width: calc(50% - 36px);
|
5467 |
-
}
|
5468 |
-
.url-box, .url-values, .url-buttons {
|
5469 |
-
padding-top: 5px;
|
5470 |
-
}
|
5471 |
-
.url-values {
|
5472 |
-
padding-left: 2px;
|
5473 |
-
}
|
5474 |
-
.url-buttons {
|
5475 |
-
padding-right: 2px;
|
5476 |
-
}
|
5477 |
-
.chaty-cls-setting .chaty-default-settings .channels__input-box {
|
5478 |
-
width: calc(100% - 108px);
|
5479 |
-
}
|
5480 |
-
.chaty-cls-setting .chaty-settings.cls-btn {
|
5481 |
-
margin-left: 0;
|
5482 |
-
padding: 0;
|
5483 |
-
}
|
5484 |
-
.chaty-cls-setting .input-example {
|
5485 |
-
display: none;
|
5486 |
-
}
|
5487 |
-
.chaty-cls-setting .input-example.active {
|
5488 |
-
display: block;
|
5489 |
-
position: relative;
|
5490 |
-
top: 4px;
|
5491 |
-
}
|
5492 |
-
.custom-css, .css-option-box {
|
5493 |
-
width: 100%;
|
5494 |
-
}
|
5495 |
-
.main .channels-selected__item .input-example {
|
5496 |
-
left: 0;
|
5497 |
-
top: 40px;
|
5498 |
-
position: static;
|
5499 |
-
width: 100%;
|
5500 |
-
text-align: left;
|
5501 |
-
margin-top: 10px;
|
5502 |
-
}
|
5503 |
-
.viber-help span.help-text {
|
5504 |
-
left: -40px;
|
5505 |
-
}
|
5506 |
-
.form-horizontal__item span.header-tooltip-text {
|
5507 |
-
width: 210px;
|
5508 |
-
left: -10px;
|
5509 |
-
}
|
5510 |
-
.form-horizontal__item span.header-tooltip-text:before {
|
5511 |
-
left: 20px;
|
5512 |
-
right: auto;
|
5513 |
-
}
|
5514 |
-
.main #positionPro {
|
5515 |
-
margin-left: 0;
|
5516 |
-
}
|
5517 |
-
}
|
5518 |
-
@media screen and (max-width: 600px) {
|
5519 |
-
|
5520 |
-
.url-content > * {
|
5521 |
-
width: 100%;
|
5522 |
-
padding: 0 0 5px 0;
|
5523 |
-
text-align: left;
|
5524 |
-
}
|
5525 |
-
.url-content > .url-buttons {
|
5526 |
-
padding: 0;
|
5527 |
-
}
|
5528 |
-
a.remove-chaty-widget-sticky {
|
5529 |
-
top: 290px;
|
5530 |
-
}
|
5531 |
-
.pro-features {
|
5532 |
-
position: relative;
|
5533 |
-
display: block;
|
5534 |
-
}
|
5535 |
-
.chaty-setting-col .pro-features.upload-image {
|
5536 |
-
display: inline-block;
|
5537 |
-
}
|
5538 |
-
.btn-red, .btn-white {
|
5539 |
-
font-size: 14px;
|
5540 |
-
margin: 2px 0;
|
5541 |
-
float: right;
|
5542 |
-
}
|
5543 |
-
.update-nag {
|
5544 |
-
display: none !important;
|
5545 |
-
}
|
5546 |
-
.chaty-new-widget-row {
|
5547 |
-
display: block;
|
5548 |
-
}
|
5549 |
-
.chaty-new-widget-left {
|
5550 |
-
width: 100%;
|
5551 |
-
float: none;
|
5552 |
-
}
|
5553 |
-
.chaty-new-widget-right {
|
5554 |
-
width: 100%;
|
5555 |
-
float: none;
|
5556 |
-
padding: 20px 0 0 0;
|
5557 |
-
}
|
5558 |
-
.chaty-new-widget-left img {
|
5559 |
-
max-width: 100%;
|
5560 |
-
}
|
5561 |
-
.chaty-new-widget-wrap {
|
5562 |
-
margin: 40px 10px 0 0;
|
5563 |
-
}
|
5564 |
-
.btn-save-sticky {
|
5565 |
-
top: 70px;
|
5566 |
-
}
|
5567 |
-
.btn-help {
|
5568 |
-
top: 113px;
|
5569 |
-
height: 32px;
|
5570 |
-
line-height: 34px;
|
5571 |
-
padding: 0;
|
5572 |
-
display: inline-block;
|
5573 |
-
vertical-align: middle;
|
5574 |
-
width: 100px;
|
5575 |
-
}
|
5576 |
-
.btn-help span {
|
5577 |
-
width: 18px;
|
5578 |
-
height: 18px;
|
5579 |
-
line-height: 18px;
|
5580 |
-
font-size: 11px;
|
5581 |
-
}
|
5582 |
-
.preview-help-btn {
|
5583 |
-
top: 172px !important;
|
5584 |
-
line-height: 32px;
|
5585 |
-
height: 32px;
|
5586 |
-
width: 110px;
|
5587 |
-
}
|
5588 |
-
a.remove-chaty-widget-sticky {
|
5589 |
-
padding: 0;
|
5590 |
-
height: 32px;
|
5591 |
-
line-height: 32px;
|
5592 |
-
top: 292px !important;
|
5593 |
-
}
|
5594 |
-
.ml-auto {
|
5595 |
-
display: none;
|
5596 |
-
}
|
5597 |
-
.mobile-message {
|
5598 |
-
display: block;
|
5599 |
-
}
|
5600 |
-
header.header {
|
5601 |
-
display: block;
|
5602 |
-
}
|
5603 |
-
.mobile-button {
|
5604 |
-
display: block;
|
5605 |
-
margin: 10px 0 0 0px;
|
5606 |
-
float: right;
|
5607 |
-
}
|
5608 |
-
.icon:not(.active):hover:before, .icon:not(.active):hover:after {
|
5609 |
-
opacity: 0;
|
5610 |
-
pointer-events: auto;
|
5611 |
-
}
|
5612 |
-
.icon:not(.active):hover .color-element, .main .channels-icons > .icon:not(.active):hover .color-element {
|
5613 |
-
fill: #BDBDBD;
|
5614 |
-
}
|
5615 |
-
.icon:not(.active) .color-element, .main .channels-icons > .icon:not(.active) .color-element {
|
5616 |
-
fill: #BDBDBD;
|
5617 |
-
}
|
5618 |
-
.container {
|
5619 |
-
padding-left: 6px;
|
5620 |
-
}
|
5621 |
-
.btn-save-sticky {
|
5622 |
-
font-size: 10px;
|
5623 |
-
width: 32px;
|
5624 |
-
height: 65px;
|
5625 |
-
padding: 10px 0 7px;
|
5626 |
-
text-align: center;
|
5627 |
-
}
|
5628 |
-
.btn-save-sticky svg {
|
5629 |
-
width: 25px;
|
5630 |
-
margin: 0 auto;
|
5631 |
-
}
|
5632 |
-
.btn-save-sticky span {
|
5633 |
-
font-size: 10px;
|
5634 |
-
line-height: 10px;
|
5635 |
-
height: 10px;
|
5636 |
-
}
|
5637 |
-
}
|
5638 |
-
@media screen and (max-width: 480px) {
|
5639 |
-
.btn-red, .btn-white {
|
5640 |
-
font-size: 12px;
|
5641 |
-
width: 180px;
|
5642 |
-
text-align: center;
|
5643 |
-
}
|
5644 |
-
.btn-red svg {
|
5645 |
-
width: 12px;
|
5646 |
-
vertical-align: middle;
|
5647 |
-
}
|
5648 |
-
span.expired-message {
|
5649 |
-
color: #a00000;
|
5650 |
-
font-size: 13px;
|
5651 |
-
display: block;
|
5652 |
-
padding: 0 0 10px 0;
|
5653 |
-
}
|
5654 |
-
a.renew-button {
|
5655 |
-
float: right;
|
5656 |
-
}
|
5657 |
-
p.plan_date {
|
5658 |
-
font-size: 14px;
|
5659 |
-
}
|
5660 |
-
}
|
5661 |
-
@media screen and (max-width: 400px) {
|
5662 |
-
.btn-red, .btn-white {
|
5663 |
-
font-size: 10px;
|
5664 |
-
width: 160px;
|
5665 |
-
text-align: center;
|
5666 |
-
padding: 5px 0;
|
5667 |
-
}
|
5668 |
-
.chaty-help-btn {
|
5669 |
-
right: 20px;
|
5670 |
-
bottom: 5px;
|
5671 |
-
}
|
5672 |
}
|
1 |
+
.btn-help, .btn-help:active, .btn-help:hover, .btn-save, .btn-save-sticky a, .icon:after, i {
|
2 |
+
color: #fff
|
3 |
+
}
|
4 |
+
|
5 |
+
body, i {
|
6 |
+
-webkit-font-smoothing: antialiased
|
7 |
+
}
|
8 |
+
|
9 |
+
.main .channels-selected__item .btn-cancel:focus, .main .channels-selected__item.disabled .btn-cancel:focus, .main .channels-selected__item.disabled input:focus, button:focus, input:focus {
|
10 |
+
outline: 0
|
11 |
+
}
|
12 |
+
|
13 |
+
.easy-modal ul, .upgrade-block ul {
|
14 |
+
list-style-image: url(../images/icon-check-purple.svg);
|
15 |
+
columns: 2
|
16 |
+
}
|
17 |
+
|
18 |
+
.btn-red, .link-back {
|
19 |
+
text-decoration: none
|
20 |
+
}
|
21 |
+
|
22 |
+
.btn-file, .kv-file-content, .preview .page, .switch-preview {
|
23 |
+
overflow: hidden
|
24 |
+
}
|
25 |
+
|
26 |
+
@font-face {
|
27 |
+
font-family: icomoon;
|
28 |
+
src: url(../fonts/icomoon.ttf?qh3c2u) format('truetype'), url(../fonts/icomoon.woff?qh3c2u) format('woff'), url(../fonts/icomoon.svg?qh3c2u#icomoon) format('svg');
|
29 |
+
font-weight: 400;
|
30 |
+
font-style: normal
|
31 |
+
}
|
32 |
+
|
33 |
+
i {
|
34 |
+
font-family: icomoon;
|
35 |
+
speak: none;
|
36 |
+
font-style: normal;
|
37 |
+
font-weight: 400;
|
38 |
+
font-variant: normal;
|
39 |
+
text-transform: none;
|
40 |
+
line-height: 1;
|
41 |
+
-moz-osx-font-smoothing: grayscale
|
42 |
+
}
|
43 |
+
|
44 |
+
.easy-modal__bottom, .plan_date, body, button, input {
|
45 |
+
font-family: Rubik, sans-serif
|
46 |
+
}
|
47 |
+
|
48 |
+
.icon-chat-base:before {
|
49 |
+
content: "\e901"
|
50 |
+
}
|
51 |
+
|
52 |
+
.icon-chat-db:before {
|
53 |
+
content: "\e903"
|
54 |
+
}
|
55 |
+
|
56 |
+
.icon-chat-bubble:before {
|
57 |
+
content: "\e900"
|
58 |
+
}
|
59 |
+
|
60 |
+
.icon-chat-smile:before {
|
61 |
+
content: "\e904"
|
62 |
+
}
|
63 |
+
|
64 |
+
.icon-upload:before {
|
65 |
+
content: "\e902"
|
66 |
+
}
|
67 |
+
|
68 |
+
.icon-phone:before {
|
69 |
+
content: "\f095"
|
70 |
+
}
|
71 |
+
|
72 |
+
.icon-whatsapp:before {
|
73 |
+
content: "\f232"
|
74 |
+
}
|
75 |
+
|
76 |
+
*, :after, :before {
|
77 |
+
box-sizing: border-box
|
78 |
+
}
|
79 |
+
|
80 |
+
input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
|
81 |
+
appearance: none;
|
82 |
+
-webkit-appearance: none;
|
83 |
+
margin: 0
|
84 |
+
}
|
85 |
+
|
86 |
+
.container, .ml-auto {
|
87 |
+
margin-left: auto
|
88 |
+
}
|
89 |
+
|
90 |
+
.container {
|
91 |
+
width: 100%;
|
92 |
+
padding-right: 15px;
|
93 |
+
padding-left: 15px;
|
94 |
+
margin-right: auto
|
95 |
+
}
|
96 |
+
|
97 |
+
.col-12 {
|
98 |
+
flex: 0 0 100%;
|
99 |
+
max-width: 100%
|
100 |
+
}
|
101 |
+
|
102 |
+
.text-center {
|
103 |
+
text-align: center
|
104 |
+
}
|
105 |
+
|
106 |
+
.text-primary {
|
107 |
+
color: #a886cd
|
108 |
+
}
|
109 |
+
|
110 |
+
.align-top {
|
111 |
+
align-self: flex-start
|
112 |
+
}
|
113 |
+
|
114 |
+
.custom-control {
|
115 |
+
display: inline-block;
|
116 |
+
color: #5d5c5c;
|
117 |
+
margin-bottom: 0;
|
118 |
+
cursor: pointer;
|
119 |
+
min-height: 22px;
|
120 |
+
line-height: 22px;
|
121 |
+
padding-left: 20px;
|
122 |
+
position: relative
|
123 |
+
}
|
124 |
+
|
125 |
+
.custom-control .custom-control-input {
|
126 |
+
position: absolute;
|
127 |
+
z-index: -1;
|
128 |
+
opacity: 0
|
129 |
+
}
|
130 |
+
|
131 |
+
.custom-control .custom-control-input.js-upload:disabled ~ .custom-control-label:before {
|
132 |
+
background: rgba(0, 0, 0, .1)
|
133 |
+
}
|
134 |
+
|
135 |
+
.custom-control .custom-control-input:disabled ~ i {
|
136 |
+
opacity: .5
|
137 |
+
}
|
138 |
+
|
139 |
+
.custom-control + .custom-control {
|
140 |
+
margin-left: 16px
|
141 |
+
}
|
142 |
+
|
143 |
+
.custom-control.custom-checkbox .custom-control-label {
|
144 |
+
position: static
|
145 |
+
}
|
146 |
+
|
147 |
+
.custom-control.custom-checkbox .custom-control-label:before {
|
148 |
+
content: '';
|
149 |
+
transition: all .2s;
|
150 |
+
position: absolute;
|
151 |
+
top: 3px;
|
152 |
+
left: 0;
|
153 |
+
display: block;
|
154 |
+
width: 15px;
|
155 |
+
height: 15px;
|
156 |
+
line-height: 15px;
|
157 |
+
text-align: center;
|
158 |
+
background-color: #FFF;
|
159 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
160 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
161 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
162 |
+
border-radius: 3px;
|
163 |
+
background-position: center;
|
164 |
+
background-repeat: no-repeat;
|
165 |
+
background-size: 15px
|
166 |
+
}
|
167 |
+
|
168 |
+
.color-picker-btn, .custom-control.custom-radio .custom-control-label::before {
|
169 |
+
-webkit-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
170 |
+
-moz-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1)
|
171 |
+
}
|
172 |
+
|
173 |
+
.custom-control.custom-checkbox .custom-control-label::after {
|
174 |
+
display: none
|
175 |
+
}
|
176 |
+
|
177 |
+
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label:before {
|
178 |
+
background-image: url(../images/icon-check.svg);
|
179 |
+
background-color: transparent
|
180 |
+
}
|
181 |
+
|
182 |
+
.custom-control.custom-radio {
|
183 |
+
padding-left: 27px
|
184 |
+
}
|
185 |
+
|
186 |
+
.custom-control.custom-radio .custom-control-label {
|
187 |
+
position: static
|
188 |
+
}
|
189 |
+
|
190 |
+
.custom-control.custom-radio .custom-control-label:before {
|
191 |
+
content: '';
|
192 |
+
transition: all .2s;
|
193 |
+
position: absolute;
|
194 |
+
top: 0;
|
195 |
+
left: 0;
|
196 |
+
display: block;
|
197 |
+
width: 22px;
|
198 |
+
height: 22px;
|
199 |
+
background-color: #FFF;
|
200 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
201 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
202 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
203 |
+
border-radius: 50%;
|
204 |
+
border: 5px solid #fff
|
205 |
+
}
|
206 |
+
|
207 |
+
.custom-control.custom-radio .custom-control-label:after {
|
208 |
+
display: none
|
209 |
+
}
|
210 |
+
|
211 |
+
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label:before {
|
212 |
+
background: #a886cd
|
213 |
+
}
|
214 |
+
|
215 |
+
.custom-control.custom-radio + label:before {
|
216 |
+
display: none;
|
217 |
+
}
|
218 |
+
|
219 |
+
.position-pro {
|
220 |
+
background: rgba(168, 134, 205, .1);
|
221 |
+
border-radius: 4px;
|
222 |
+
display: flex;
|
223 |
+
padding: 6px 0;
|
224 |
+
transition: all .2s;
|
225 |
+
margin-top: 11px;
|
226 |
+
flex-wrap: wrap
|
227 |
+
}
|
228 |
+
|
229 |
+
.position-pro > div {
|
230 |
+
flex: 0 0 auto;
|
231 |
+
padding: 6px 15px
|
232 |
+
}
|
233 |
+
|
234 |
+
.position-pro > div > label:first-child {
|
235 |
+
display: block;
|
236 |
+
margin-bottom: 10px
|
237 |
+
}
|
238 |
+
|
239 |
+
.position-pro > div .custom-control-group {
|
240 |
+
background: #FFF;
|
241 |
+
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
242 |
+
border-radius: 5px;
|
243 |
+
display: flex;
|
244 |
+
align-items: center;
|
245 |
+
width: 150px;
|
246 |
+
height: 34px
|
247 |
+
}
|
248 |
+
|
249 |
+
.position-pro > div .custom-control-group .custom-control {
|
250 |
+
width: 75px;
|
251 |
+
padding: 0;
|
252 |
+
margin: 0 !important
|
253 |
+
}
|
254 |
+
|
255 |
+
.position-pro > div .custom-control-group .custom-control .custom-control-label {
|
256 |
+
width: 100%;
|
257 |
+
color: #E0E0E0;
|
258 |
+
height: 34px;
|
259 |
+
display: flex;
|
260 |
+
align-items: center;
|
261 |
+
padding: 6px 7px
|
262 |
+
}
|
263 |
+
|
264 |
+
.position-pro > div .custom-control-group .custom-control .custom-control-label:before {
|
265 |
+
content: none
|
266 |
+
}
|
267 |
+
|
268 |
+
.position-pro > div .custom-control-group .custom-control .custom-control-input:checked + .custom-control-label {
|
269 |
+
color: #a886cd;
|
270 |
+
box-shadow: inset 0 3px 7px rgba(0, 0, 0, .08)
|
271 |
+
}
|
272 |
+
|
273 |
+
.position-pro > div .custom-control-group .custom-control .custom-control-input:checked + .custom-control-label path {
|
274 |
+
fill: #a886cd
|
275 |
+
}
|
276 |
+
|
277 |
+
.icon:not(.active):not(:hover) .color-element, .main .channels-icons > .icon:not(.active):not(:hover) .color-element {
|
278 |
+
fill: #BDBDBD
|
279 |
+
}
|
280 |
+
.icon:not(.active):not(:hover) .slack-path, .main .channels-icons > .icon:not(.active):not(:hover) .slack-path {
|
281 |
+
fill: #ffffff !important;
|
282 |
+
}
|
283 |
+
|
284 |
+
.position-pro > div .custom-control-group .custom-control:first-child .custom-control-label {
|
285 |
+
border-radius: 5px 0 0 5px;
|
286 |
+
text-align: left
|
287 |
+
}
|
288 |
+
|
289 |
+
.position-pro > div .custom-control-group .custom-control:first-child .custom-control-label svg {
|
290 |
+
margin-right: 5px
|
291 |
+
}
|
292 |
+
|
293 |
+
.position-pro > div .custom-control-group .custom-control:last-child .custom-control-label {
|
294 |
+
border-radius: 0 5px 5px 0;
|
295 |
+
display: flex;
|
296 |
+
justify-content: flex-end
|
297 |
+
}
|
298 |
+
|
299 |
+
.position-pro > div .custom-control-group .custom-control:last-child .custom-control-label svg {
|
300 |
+
margin-left: 5px
|
301 |
+
}
|
302 |
+
|
303 |
+
.btn-red, .color-picker-box .color-picker-radio label + label {
|
304 |
+
margin-left: 12px
|
305 |
+
}
|
306 |
+
|
307 |
+
.position-pro input {
|
308 |
+
background: #FFF;
|
309 |
+
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
310 |
+
-webkit-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
311 |
+
-moz-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
312 |
+
border-radius: 5px;
|
313 |
+
border: 0;
|
314 |
+
line-height: 24px;
|
315 |
+
padding: 5px 7px;
|
316 |
+
width: 60px;
|
317 |
+
margin-right: 3px
|
318 |
+
}
|
319 |
+
|
320 |
+
.color-picker-box {
|
321 |
+
background: #FFF;
|
322 |
+
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
323 |
+
-webkit-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
324 |
+
-moz-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
|
325 |
+
border-radius: 4px;
|
326 |
+
width: 330px;
|
327 |
+
display: none;
|
328 |
+
position: relative
|
329 |
+
}
|
330 |
+
|
331 |
+
.color-picker-box .color-picker-radio {
|
332 |
+
display: flex;
|
333 |
+
padding: 6px 8px 10px;
|
334 |
+
border-bottom: 1px solid rgba(130, 130, 130, .1)
|
335 |
+
}
|
336 |
+
|
337 |
+
.color-picker-box .color-picker-radio label {
|
338 |
+
border-radius: 50%;
|
339 |
+
width: 28px;
|
340 |
+
height: 28px;
|
341 |
+
position: relative;
|
342 |
+
cursor: pointer;
|
343 |
+
font-size: 0
|
344 |
+
}
|
345 |
+
|
346 |
+
.color-picker-box .color-picker-radio label span {
|
347 |
+
display: block;
|
348 |
+
width: 28px;
|
349 |
+
height: 28px;
|
350 |
+
vertical-align: top;
|
351 |
+
opacity: 0;
|
352 |
+
transition: all .2s;
|
353 |
+
background-position: center;
|
354 |
+
background-repeat: no-repeat;
|
355 |
+
background-image: url(../images/icon-check-white.svg)
|
356 |
+
}
|
357 |
+
|
358 |
+
.color-picker-box .color-picker-radio label input {
|
359 |
+
position: absolute;
|
360 |
+
z-index: -1;
|
361 |
+
opacity: 0
|
362 |
+
}
|
363 |
+
|
364 |
+
.color-picker-box .color-picker-radio label input:checked + span {
|
365 |
+
opacity: 1
|
366 |
+
}
|
367 |
+
|
368 |
+
.btn-help span, .color-picker-box .color-picker-custom a {
|
369 |
+
margin-left: 5px
|
370 |
+
}
|
371 |
+
|
372 |
+
.color-picker-box .color-picker-custom {
|
373 |
+
padding: 10px 8px 16px
|
374 |
+
}
|
375 |
+
|
376 |
+
.color-picker-box .color-picker-custom > div {
|
377 |
+
display: flex;
|
378 |
+
align-items: center
|
379 |
+
}
|
380 |
+
|
381 |
+
.color-picker-box .color-picker-custom > div + div {
|
382 |
+
margin-top: 10px
|
383 |
+
}
|
384 |
+
|
385 |
+
.color-picker-box .color-picker-custom .circle {
|
386 |
+
color: #FF6376;
|
387 |
+
background: #FFF;
|
388 |
+
border: 1px solid #D0D0D0;
|
389 |
+
border-radius: 50%;
|
390 |
+
width: 28px;
|
391 |
+
height: 28px;
|
392 |
+
align-items: center;
|
393 |
+
justify-content: center;
|
394 |
+
display: flex;
|
395 |
+
margin-right: 3px;
|
396 |
+
font-size: 14px
|
397 |
+
}
|
398 |
+
|
399 |
+
a, a:focus {
|
400 |
+
color: #a886cd
|
401 |
+
}
|
402 |
+
|
403 |
+
body, button {
|
404 |
+
font-size: 17px;
|
405 |
+
font-family: Rubik, sans-serif
|
406 |
+
}
|
407 |
+
|
408 |
+
.color-picker-box .color-picker-custom input {
|
409 |
+
background: #FFF;
|
410 |
+
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
411 |
+
border-radius: 5px;
|
412 |
+
border: 0;
|
413 |
+
line-height: 24px;
|
414 |
+
padding: 5px 7px;
|
415 |
+
height: 34px;
|
416 |
+
width: 180px
|
417 |
+
}
|
418 |
+
|
419 |
+
.color-picker-btn {
|
420 |
+
background-color: #FFF;
|
421 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
422 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
423 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
424 |
+
border-radius: 4px;
|
425 |
+
border: 0;
|
426 |
+
padding: 6px 8px;
|
427 |
+
line-height: 17px
|
428 |
+
}
|
429 |
+
|
430 |
+
.color-picker-btn .circle {
|
431 |
+
display: inline-block;
|
432 |
+
vertical-align: top;
|
433 |
+
width: 15px;
|
434 |
+
height: 15px;
|
435 |
+
border-radius: 50%;
|
436 |
+
margin: 1px 4px 1px 0
|
437 |
+
}
|
438 |
+
|
439 |
+
.color-picker-btn svg {
|
440 |
+
transition: all .2s;
|
441 |
+
margin-left: 8px
|
442 |
+
}
|
443 |
+
|
444 |
+
.color-picker-btn-close {
|
445 |
+
background-color: transparent;
|
446 |
+
border: 0;
|
447 |
+
padding: 5px;
|
448 |
+
line-height: 17px;
|
449 |
+
position: absolute;
|
450 |
+
right: 0;
|
451 |
+
top: 0
|
452 |
+
}
|
453 |
+
|
454 |
+
.color-picker-btn-close svg {
|
455 |
+
transform: rotate(180deg)
|
456 |
+
}
|
457 |
+
|
458 |
+
.switch {
|
459 |
+
display: flex;
|
460 |
+
align-items: center;
|
461 |
+
margin-bottom: 0;
|
462 |
+
position: relative;
|
463 |
+
flex: 0 0 auto
|
464 |
+
}
|
465 |
+
|
466 |
+
.switch input[type=checkbox] {
|
467 |
+
pointer-events: none;
|
468 |
+
opacity: 0;
|
469 |
+
position: absolute;
|
470 |
+
top: 0;
|
471 |
+
right: 0;
|
472 |
+
z-index: -1;
|
473 |
+
width: 0;
|
474 |
+
height: 0
|
475 |
+
}
|
476 |
+
|
477 |
+
.switch input[type=checkbox]:checked + .switch__styled {
|
478 |
+
background: #a886cd;
|
479 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
480 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
481 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
482 |
+
}
|
483 |
+
|
484 |
+
.switch input[type=checkbox]:checked + .switch__styled:after {
|
485 |
+
left: 40px;
|
486 |
+
background: #ffffff;
|
487 |
+
}
|
488 |
+
|
489 |
+
.form-group .switch {
|
490 |
+
height: 42px
|
491 |
+
}
|
492 |
+
|
493 |
+
.switch__styled {
|
494 |
+
background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
|
495 |
+
margin: 0 8px;
|
496 |
+
display: inline-block;
|
497 |
+
height: 34px;
|
498 |
+
width: 72px;
|
499 |
+
border-radius: 17px;
|
500 |
+
position: relative;
|
501 |
+
transition: all .2s;
|
502 |
+
cursor: pointer;
|
503 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
504 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
505 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
506 |
+
background: #cfbde4;
|
507 |
+
}
|
508 |
+
|
509 |
+
.switch__styled:after {
|
510 |
+
content: '';
|
511 |
+
position: absolute;
|
512 |
+
left: 2px;
|
513 |
+
top: 2px;
|
514 |
+
height: 30px;
|
515 |
+
width: 30px;
|
516 |
+
border-radius: 50%;
|
517 |
+
background-color: #fff;
|
518 |
+
transition: all .2s;
|
519 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
520 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
521 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
522 |
+
}
|
523 |
+
|
524 |
+
.switch.custom-switch {
|
525 |
+
margin-right: auto;
|
526 |
+
margin-left: 30px
|
527 |
+
}
|
528 |
+
|
529 |
+
.switch.custom-switch .switch__styled {
|
530 |
+
background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%), #fff;
|
531 |
+
box-shadow: 0 4px 14px rgba(0, 0, 0, .15)
|
532 |
+
}
|
533 |
+
|
534 |
+
body {
|
535 |
+
background-image: url(../images/bg.svg);
|
536 |
+
background-position: 155px 30px;
|
537 |
+
background-repeat: no-repeat;
|
538 |
+
background-size: calc(100% - 150px) auto;
|
539 |
+
background-attachment: fixed;
|
540 |
+
color: #4F4F4F;
|
541 |
+
}
|
542 |
+
|
543 |
+
button {
|
544 |
+
cursor: pointer
|
545 |
+
}
|
546 |
+
|
547 |
+
button#collapse-button {
|
548 |
+
font-size: 13px
|
549 |
+
}
|
550 |
+
|
551 |
+
input {
|
552 |
+
font-family: Rubik, sans-serif;
|
553 |
+
font-size: 17px
|
554 |
+
}
|
555 |
+
|
556 |
+
#cht-form input[type=submit] {
|
557 |
+
opacity: 0;
|
558 |
+
position: absolute
|
559 |
+
}
|
560 |
+
|
561 |
+
a:focus {
|
562 |
+
box-shadow: none
|
563 |
+
}
|
564 |
+
|
565 |
+
::-webkit-input-placeholder {
|
566 |
+
color: #E0E0E0
|
567 |
+
}
|
568 |
+
|
569 |
+
::-moz-placeholder {
|
570 |
+
color: #E0E0E0
|
571 |
+
}
|
572 |
+
|
573 |
+
:-ms-input-placeholder {
|
574 |
+
color: #E0E0E0
|
575 |
+
}
|
576 |
+
|
577 |
+
:-moz-placeholder {
|
578 |
+
color: #E0E0E0
|
579 |
+
}
|
580 |
+
|
581 |
+
.section {
|
582 |
+
padding: 30px 15px;
|
583 |
+
position: relative
|
584 |
+
}
|
585 |
+
|
586 |
+
.section + .section {
|
587 |
+
border-top: 2px solid rgba(130, 130, 130, .1)
|
588 |
+
}
|
589 |
+
|
590 |
+
.section.one {
|
591 |
+
max-width: 680px
|
592 |
+
}
|
593 |
+
|
594 |
+
.chaty-text-color {
|
595 |
+
position: relative;
|
596 |
+
}
|
597 |
+
|
598 |
+
.chaty-text-color .wp-picker-holder {
|
599 |
+
position: absolute;
|
600 |
+
z-index: 101;
|
601 |
+
}
|
602 |
+
|
603 |
+
.chaty-text-color span.wp-color-result-text {
|
604 |
+
display: none;
|
605 |
+
}
|
606 |
+
|
607 |
+
.section-title {
|
608 |
+
font-family: Oswald, sans-serif;
|
609 |
+
font-size: 30px;
|
610 |
+
color: #000;
|
611 |
+
line-height: 44px;
|
612 |
+
margin-bottom: 30px;
|
613 |
+
font-weight: 400;
|
614 |
+
margin-top: 0;
|
615 |
+
display: flex
|
616 |
+
}
|
617 |
+
|
618 |
+
.section-title strong {
|
619 |
+
margin: 0 14px 0 0;
|
620 |
+
text-align: right;
|
621 |
+
font-weight: 700
|
622 |
+
}
|
623 |
+
|
624 |
+
.main {
|
625 |
+
background-color: #fff;
|
626 |
+
border-radius: 9px;
|
627 |
+
position: relative
|
628 |
+
}
|
629 |
+
|
630 |
+
.main .channels-icons {
|
631 |
+
display: flex;
|
632 |
+
flex-wrap: wrap;
|
633 |
+
width: 540px;
|
634 |
+
margin: 0 auto;
|
635 |
+
max-width: 100%;
|
636 |
+
}
|
637 |
+
|
638 |
+
.main .channels-icons > .icon {
|
639 |
+
padding: 0 6px;
|
640 |
+
margin: 0 0;
|
641 |
+
width: 60px;
|
642 |
+
height: 55px;
|
643 |
+
}
|
644 |
+
|
645 |
+
.main .channels-icons > .icon .color-element {
|
646 |
+
transition: all .2s
|
647 |
+
}
|
648 |
+
|
649 |
+
.main .channels-icons > .icon:not(.active) svg {
|
650 |
+
cursor: pointer
|
651 |
+
}
|
652 |
+
.main .channels-selected {
|
653 |
+
padding-top: 20px;
|
654 |
+
position: relative;
|
655 |
+
min-height: 120px
|
656 |
+
}
|
657 |
+
|
658 |
+
.main .channels-selected__item {
|
659 |
+
display: flex;
|
660 |
+
align-items: center;
|
661 |
+
flex-wrap: wrap;
|
662 |
+
position: relative;
|
663 |
+
}
|
664 |
+
|
665 |
+
.chaty-default-settings {
|
666 |
+
display: flex;
|
667 |
+
align-items: center;
|
668 |
+
flex-wrap: wrap;
|
669 |
+
position: relative;
|
670 |
+
padding-bottom: 15px;
|
671 |
+
}
|
672 |
+
|
673 |
+
.channels-selected-list li {
|
674 |
+
display: block;
|
675 |
+
max-width: 640px;
|
676 |
+
padding: 15px;
|
677 |
+
background: #EFF6F6;
|
678 |
+
-webkit-border-radius: 10px;
|
679 |
+
-moz-border-radius: 10px;
|
680 |
+
border-radius: 10px;
|
681 |
+
margin-bottom: 15px;
|
682 |
+
}
|
683 |
+
li#chaty-social-Poptin {
|
684 |
+
padding: 15px 15px 25px 15px;
|
685 |
+
}
|
686 |
+
|
687 |
+
|
688 |
+
.main .channels-selected__item .icon {
|
689 |
+
margin-right: 5px;
|
690 |
+
cursor: pointer;
|
691 |
+
width: 50px;
|
692 |
+
/* background: #49E670;*/
|
693 |
+
border-radius: 100%;
|
694 |
+
height: 50px;
|
695 |
+
text-align: center;
|
696 |
+
vertical-align: middle
|
697 |
+
}
|
698 |
+
.main .channels-selected__item .icon.inline-message {
|
699 |
+
display: inline-block;
|
700 |
+
vertical-align: middle;
|
701 |
+
width: auto;
|
702 |
+
height: auto;
|
703 |
+
line-height: 1;
|
704 |
+
}
|
705 |
+
.main .channels-selected__item .icon > i {
|
706 |
+
font-size: 30px;
|
707 |
+
line-height: 50px
|
708 |
+
}
|
709 |
+
|
710 |
+
.main .channels-selected__item .btn-cancel {
|
711 |
+
position: absolute;
|
712 |
+
right: -15px;
|
713 |
+
top: -15px;
|
714 |
+
transform: translate(50%, -50%);
|
715 |
+
background: linear-gradient(0deg, #333, #333), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);
|
716 |
+
border-radius: 50%;
|
717 |
+
width: 22px;
|
718 |
+
height: 22px;
|
719 |
+
display: flex;
|
720 |
+
align-items: center;
|
721 |
+
justify-content: center;
|
722 |
+
padding: 0;
|
723 |
+
border: 0;
|
724 |
+
z-index: 1;
|
725 |
+
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
726 |
+
cursor: pointer
|
727 |
+
}
|
728 |
+
|
729 |
+
.main .channels-selected__item .input-example {
|
730 |
+
font-size: 13px;
|
731 |
+
padding-top: 0px;
|
732 |
+
line-height: 14px;
|
733 |
+
color: #444;
|
734 |
+
opacity: .8;
|
735 |
+
position: absolute;
|
736 |
+
left: calc(50px + 16px + 7px);
|
737 |
+
top: 50px;
|
738 |
+
max-width: 350px;
|
739 |
+
}
|
740 |
+
|
741 |
+
.chaty-settings a {
|
742 |
+
text-decoration: none;
|
743 |
+
display: inline-block;
|
744 |
+
color: #fff;
|
745 |
+
margin-left: 15px;
|
746 |
+
height: 26px;
|
747 |
+
background: #A785CB;
|
748 |
+
text-align: center;
|
749 |
+
vertical-align: middle;
|
750 |
+
-webkit-border-radius: 18px;
|
751 |
+
-moz-border-radius: 18px;
|
752 |
+
border-radius: 18px;
|
753 |
+
font-size: 10px;
|
754 |
+
line-height: 26px;
|
755 |
+
padding: 0 5px;
|
756 |
+
}
|
757 |
+
|
758 |
+
.move-icon img {
|
759 |
+
width: 10px;
|
760 |
+
margin-right: 5px;
|
761 |
+
margin-top: 8px;
|
762 |
+
cursor: move;
|
763 |
+
}
|
764 |
+
.chaty-settings a .dashicons {
|
765 |
+
|
766 |
+
}
|
767 |
+
.chaty-settings a .dashicons, .chaty-settings a .dashicons-before:before {
|
768 |
+
font-size: 16px;
|
769 |
+
line-height: 26px;
|
770 |
+
display: inline-block;
|
771 |
+
margin: 0;
|
772 |
+
text-align: center;
|
773 |
+
}
|
774 |
+
|
775 |
+
.main .channels-selected__item.disabled .icon {
|
776 |
+
cursor: default
|
777 |
+
}
|
778 |
+
|
779 |
+
.main .channels-selected__item.disabled .icon .color-element {
|
780 |
+
fill: #E9E9E9
|
781 |
+
}
|
782 |
+
|
783 |
+
.main .channels-selected__item.disabled input {
|
784 |
+
box-shadow: 0 4px 14px rgba(179, 179, 179, .15);
|
785 |
+
color: #E9E9E9
|
786 |
+
}
|
787 |
+
|
788 |
+
.main .channels-selected__item.disabled input::-webkit-input-placeholder {
|
789 |
+
color: #E9E9E9
|
790 |
+
}
|
791 |
+
|
792 |
+
.main .channels-selected__item.disabled input::-moz-placeholder {
|
793 |
+
color: #E9E9E9
|
794 |
+
}
|
795 |
+
|
796 |
+
.main .channels-selected__item.disabled input:-ms-input-placeholder {
|
797 |
+
color: #E9E9E9
|
798 |
+
}
|
799 |
+
|
800 |
+
.main .channels-selected__item.disabled input:-moz-placeholder {
|
801 |
+
color: #E9E9E9
|
802 |
+
}
|
803 |
+
|
804 |
+
.main .channels-selected__item.disabled .btn-cancel {
|
805 |
+
cursor: default;
|
806 |
+
background: linear-gradient(0deg, #CFCFCF, #CFCFCF), linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%)
|
807 |
+
}
|
808 |
+
|
809 |
+
.btn-help, .btn-save-sticky, .channels__view, .icon:not(.active) svg {
|
810 |
+
cursor: pointer
|
811 |
+
}
|
812 |
+
|
813 |
+
.main .channels-selected__item.disabled .input-example {
|
814 |
+
color: #E9E9E9
|
815 |
+
}
|
816 |
+
|
817 |
+
.main #positionPro {
|
818 |
+
margin-left: -122px
|
819 |
+
}
|
820 |
+
|
821 |
+
.main .form-horizontal__item {
|
822 |
+
display: flex;
|
823 |
+
flex-wrap: wrap
|
824 |
+
}
|
825 |
+
|
826 |
+
.main .form-horizontal__item.active + .form-horizontal__item {
|
827 |
+
padding-top: 30px
|
828 |
+
}
|
829 |
+
.main .form-horizontal__item:not(.o-channel) + .form-horizontal__item {
|
830 |
+
padding-top: 30px
|
831 |
+
}
|
832 |
+
|
833 |
+
.main .form-horizontal__item-label {
|
834 |
+
flex: 0 0 135px;
|
835 |
+
margin: 0 14px 0 0;
|
836 |
+
text-align: right;
|
837 |
+
font-weight: 700
|
838 |
+
}
|
839 |
+
|
840 |
+
.header, .main .form-horizontal__item.flex-center {
|
841 |
+
align-items: center
|
842 |
+
}
|
843 |
+
|
844 |
+
.main .form-horizontal__item > div > input {
|
845 |
+
background: #FFF;
|
846 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
847 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
848 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
849 |
+
border-radius: 5px;
|
850 |
+
border: 0;
|
851 |
+
line-height: 24px;
|
852 |
+
padding: 5px 7px
|
853 |
+
}
|
854 |
+
|
855 |
+
.main .form-horizontal__item > div > input.widget-size__input {
|
856 |
+
width: 47px;
|
857 |
+
height: 34px;
|
858 |
+
text-align: center
|
859 |
+
}
|
860 |
+
|
861 |
+
.icon {
|
862 |
+
border-radius: 50%;
|
863 |
+
vertical-align: top;
|
864 |
+
font-size: 0;
|
865 |
+
position: relative
|
866 |
+
}
|
867 |
+
.icon.label-tooltip {
|
868 |
+
font-size: 12px;
|
869 |
+
font-weight: normal;
|
870 |
+
color: #72777c;
|
871 |
+
}
|
872 |
+
.icon:after, .icon:before {
|
873 |
+
position: absolute;
|
874 |
+
opacity: 0;
|
875 |
+
pointer-events: none;
|
876 |
+
left: 50%
|
877 |
+
}
|
878 |
+
|
879 |
+
.icon:after {
|
880 |
+
text-align: center;
|
881 |
+
content: "" attr(data-label) "";
|
882 |
+
font-size: 11px;
|
883 |
+
top: 0;
|
884 |
+
transform: translate(-50%, calc(-100% - 6px));
|
885 |
+
padding: 0 20px;
|
886 |
+
line-height: 23px;
|
887 |
+
min-width: 90px;
|
888 |
+
white-space: nowrap;
|
889 |
+
background-color: #333;
|
890 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
|
891 |
+
border-radius: 6px;
|
892 |
+
font-style: normal;
|
893 |
+
}
|
894 |
+
|
895 |
+
.icon.label-tooltip:after {
|
896 |
+
width: 250px;
|
897 |
+
white-space: normal;
|
898 |
+
line-height: 16px;
|
899 |
+
padding: 10px;
|
900 |
+
}
|
901 |
+
|
902 |
+
.btn-save:after, .icon:before, .popover:after {
|
903 |
+
content: ''
|
904 |
+
}
|
905 |
+
|
906 |
+
.icon:before {
|
907 |
+
top: -8px;
|
908 |
+
transform: translateX(-50%);
|
909 |
+
height: 10px;
|
910 |
+
width: 10px;
|
911 |
+
border-width: 10px 5px 0;
|
912 |
+
border-style: solid;
|
913 |
+
border-color: #333 transparent transparent
|
914 |
+
}
|
915 |
+
|
916 |
+
.icon.tooltip-show:after, .icon.tooltip-show:before, .icon:hover:not(.tooltip-show):after, .icon:hover:not(.tooltip-show):before {
|
917 |
+
opacity: 1;
|
918 |
+
pointer-events: auto
|
919 |
+
}
|
920 |
+
|
921 |
+
.chaty-help-form, .disabled {
|
922 |
+
pointer-events: none
|
923 |
+
}
|
924 |
+
|
925 |
+
.icon .color-element {
|
926 |
+
transition: all .2s
|
927 |
+
}
|
928 |
+
|
929 |
+
.icon.no-tooltip:after, .icon.no-tooltip:before {
|
930 |
+
content: none !important
|
931 |
+
}
|
932 |
+
|
933 |
+
.icon.icon-sm svg {
|
934 |
+
width: 48px;
|
935 |
+
height: 48px
|
936 |
+
}
|
937 |
+
|
938 |
+
.icon.icon-md svg {
|
939 |
+
width: 50px;
|
940 |
+
height: 50px;
|
941 |
+
cursor: move;
|
942 |
+
}
|
943 |
+
|
944 |
+
.icon.icon-xs svg {
|
945 |
+
width: 30px;
|
946 |
+
height: 30px
|
947 |
+
}
|
948 |
+
|
949 |
+
.preview.mobiel-view .icon.icon-xs svg {
|
950 |
+
width: 24px;
|
951 |
+
height: 24px
|
952 |
+
}
|
953 |
+
.preview.mobiel-view .social-item-box {
|
954 |
+
margin: 0;
|
955 |
+
}
|
956 |
+
.preview.mobiel-view .tooltip .tooltiptext {
|
957 |
+
min-height: 24px;
|
958 |
+
line-height: 24px;
|
959 |
+
height: 24px;
|
960 |
+
bottom: 3px;
|
961 |
+
}
|
962 |
+
.preview.mobiel-view .tooltip .tooltiptext span {
|
963 |
+
height: 24px;
|
964 |
+
min-height: 24px;
|
965 |
+
line-height: 24px;
|
966 |
+
}
|
967 |
+
.preview.mobiel-view .chaty-widget .icon:before {
|
968 |
+
top: calc(100% - 17px);
|
969 |
+
}
|
970 |
+
.preview.mobiel-view span.social-tooltip {
|
971 |
+
padding: 0px 10px;
|
972 |
+
}
|
973 |
+
.preview.mobiel-view span.social-tooltip:after {
|
974 |
+
top: 6px;
|
975 |
+
}
|
976 |
+
|
977 |
+
.btn-save {
|
978 |
+
border: 0;
|
979 |
+
text-transform: uppercase;
|
980 |
+
line-height: 24px;
|
981 |
+
font-weight: 700;
|
982 |
+
position: relative;
|
983 |
+
max-width: 100%;
|
984 |
+
margin-top: 40px;
|
985 |
+
height: 50px;
|
986 |
+
width: 274px;
|
987 |
+
border-radius: 25px;
|
988 |
+
padding: 14px 15px 12px;
|
989 |
+
background-image: url(../images/rocket.svg);
|
990 |
+
background-color: #FF6624;
|
991 |
+
background-position: left bottom;
|
992 |
+
background-repeat: no-repeat;
|
993 |
+
box-shadow: 0 3px 10px 1px rgba(255, 90, 116, .5)
|
994 |
+
}
|
995 |
+
|
996 |
+
.btn-save:after {
|
997 |
+
position: absolute;
|
998 |
+
z-index: -1;
|
999 |
+
top: 30px;
|
1000 |
+
left: 50%;
|
1001 |
+
transform: translateX(-50%);
|
1002 |
+
width: 238.1px;
|
1003 |
+
height: 30.81px;
|
1004 |
+
background: linear-gradient(97.71deg, #FF6624 9.04%, #FF6376 91.56%), linear-gradient(104.36deg, #6371DB 20.37%, #FF89C4 72.52%);
|
1005 |
+
opacity: .77;
|
1006 |
+
filter: blur(19px);
|
1007 |
+
border-radius: 9px
|
1008 |
+
}
|
1009 |
+
|
1010 |
+
.btn-help, .remove-chaty-widget-sticky, .preview-help-btn {
|
1011 |
+
text-align: center;
|
1012 |
+
padding-top: 10px;
|
1013 |
+
position: absolute;
|
1014 |
+
background: #03e78b;
|
1015 |
+
border-radius: 7px 7px 0 0;
|
1016 |
+
right: 0;
|
1017 |
+
top: 60px;
|
1018 |
+
transform: rotate(-90deg);
|
1019 |
+
transform-origin: bottom right;
|
1020 |
+
border: 0;
|
1021 |
+
height: 42px;
|
1022 |
+
width: 102px;
|
1023 |
+
text-transform: uppercase;
|
1024 |
+
font-weight: 700
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
.btn-help span {
|
1028 |
+
display: inline-block;
|
1029 |
+
width: 27px;
|
1030 |
+
height: 27px;
|
1031 |
+
border: 2px solid #fff;
|
1032 |
+
border-radius: 100%
|
1033 |
+
}
|
1034 |
+
.preview-help-btn {
|
1035 |
+
display: none;
|
1036 |
+
color: #fff;
|
1037 |
+
text-decoration: none;
|
1038 |
+
}
|
1039 |
+
.btn-save-sticky {
|
1040 |
+
padding: 10px 0 11px;
|
1041 |
+
top: 20px;
|
1042 |
+
background: #FF6624;
|
1043 |
+
right: 0;
|
1044 |
+
border-radius: 7px 0 0 7px;
|
1045 |
+
position: absolute;
|
1046 |
+
border: 0;
|
1047 |
+
height: 69px;
|
1048 |
+
width: 42px;
|
1049 |
+
text-transform: uppercase;
|
1050 |
+
color: #fff;
|
1051 |
+
font-weight: 700;
|
1052 |
+
font-size: 11px
|
1053 |
+
}
|
1054 |
+
|
1055 |
+
.btn-save-sticky span {
|
1056 |
+
text-align: center;
|
1057 |
+
display: inline-block;
|
1058 |
+
margin-bottom: 4px;
|
1059 |
+
height: 15px;
|
1060 |
+
line-height: 13px
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
input.channels__input.border-red {
|
1064 |
+
border-color: #dd0000;
|
1065 |
+
}
|
1066 |
+
.chaty-setting-col > div > *.mail-merge-tags {
|
1067 |
+
display: block;
|
1068 |
+
}
|
1069 |
+
.mail-merge-tags span {
|
1070 |
+
display: inline-block;
|
1071 |
+
background: #a886cd;
|
1072 |
+
color: #fff;
|
1073 |
+
font-size: 14px;
|
1074 |
+
padding: 0 5px;
|
1075 |
+
margin: 4px 4px 0 0;
|
1076 |
+
border-radius: 5px;
|
1077 |
+
}
|
1078 |
+
.pre-message-whatsapp {
|
1079 |
+
position: relative;
|
1080 |
+
}
|
1081 |
+
.pre-message-whatsapp button {
|
1082 |
+
position: absolute;
|
1083 |
+
border: none;
|
1084 |
+
top: 5px;
|
1085 |
+
right: 5px;
|
1086 |
+
background: transparent;
|
1087 |
+
display:none;
|
1088 |
+
}
|
1089 |
+
.pre-message-whatsapp button svg {
|
1090 |
+
fill: #a5a5a5;
|
1091 |
+
}
|
1092 |
+
.disable-message.label-tooltip.icon {
|
1093 |
+
height: auto !important;
|
1094 |
+
}
|
1095 |
+
@media (min-width: 1281px) {
|
1096 |
+
.btn-save-sticky {
|
1097 |
+
left: calc(50vw - 480px + 1050px / 12 * 7 + 475px);
|
1098 |
+
top: 161px;
|
1099 |
+
right: auto;
|
1100 |
+
border-radius: 0 7px 7px 0;
|
1101 |
+
position: fixed
|
1102 |
+
}
|
1103 |
+
|
1104 |
+
body.has-premio-box .btn-save-sticky {
|
1105 |
+
top: 320px
|
1106 |
+
}
|
1107 |
+
|
1108 |
+
body.has-premio-box .btn-help {
|
1109 |
+
top: 455px;
|
1110 |
+
}
|
1111 |
+
html[dir=rtl] .btn-save-sticky {
|
1112 |
+
left: calc(50vw - 480px + 1050px / 12 * 7 + 295px)
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
html[dir=rtl] .btn-help {
|
1116 |
+
left: calc(50vw - 480px + 1050px / 12 * 7 + 193px)
|
1117 |
+
}
|
1118 |
+
}
|
1119 |
+
|
1120 |
+
.popover {
|
1121 |
+
flex: 0 0 auto;
|
1122 |
+
background: #FFF;
|
1123 |
+
border-radius: 4px;
|
1124 |
+
line-height: 33px;
|
1125 |
+
padding: 0 5px;
|
1126 |
+
position: relative;
|
1127 |
+
box-shadow: 0 1px 14px rgba(156, 117, 198, .4), 0 2px 4px rgba(0, 0, 0, .15);
|
1128 |
+
margin: 0 0 20px 0;
|
1129 |
+
text-align: center;
|
1130 |
+
max-width: 635px;
|
1131 |
+
}
|
1132 |
+
|
1133 |
+
.popover:after {
|
1134 |
+
position: absolute;
|
1135 |
+
top: -7px;
|
1136 |
+
left: 40px;
|
1137 |
+
width: 20px;
|
1138 |
+
height: 7px;
|
1139 |
+
background-image: url(../images/arrow.png);
|
1140 |
+
background-position: center;
|
1141 |
+
background-size: contain;
|
1142 |
+
background-repeat: no-repeat;
|
1143 |
+
display: none;
|
1144 |
+
}
|
1145 |
+
|
1146 |
+
.easy-modal {
|
1147 |
+
display: none;
|
1148 |
+
width: 515px;
|
1149 |
+
max-width: calc(100vw - 30px);
|
1150 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
|
1151 |
+
border-radius: 6px;
|
1152 |
+
background-color: #fff;
|
1153 |
+
top: 50% !important;
|
1154 |
+
transform: translateY(-50%)
|
1155 |
+
}
|
1156 |
+
|
1157 |
+
.easy-modal .money-guaranteed svg, .upgrade-block .money-guaranteed svg {
|
1158 |
+
width: 15px;
|
1159 |
+
vertical-align: text-bottom
|
1160 |
+
}
|
1161 |
+
|
1162 |
+
.easy-modal .money-guaranteed {
|
1163 |
+
color: #a886cd;
|
1164 |
+
font-size: 17px;
|
1165 |
+
line-height: 24px;
|
1166 |
+
margin-bottom: 20px
|
1167 |
+
}
|
1168 |
+
|
1169 |
+
.easy-modal .easy-modal-inner {
|
1170 |
+
position: relative;
|
1171 |
+
padding: 20px 50px
|
1172 |
+
}
|
1173 |
+
|
1174 |
+
.easy-modal .easy-modal-close {
|
1175 |
+
position: absolute;
|
1176 |
+
right: 0;
|
1177 |
+
top: 0;
|
1178 |
+
padding: 7px;
|
1179 |
+
line-height: 12px;
|
1180 |
+
background-color: transparent;
|
1181 |
+
border: 0
|
1182 |
+
}
|
1183 |
+
|
1184 |
+
.easy-modal h2 {
|
1185 |
+
font-family: Rubik;
|
1186 |
+
font-weight: 700;
|
1187 |
+
font-size: 27px;
|
1188 |
+
margin-bottom: 13px;
|
1189 |
+
text-align: center;
|
1190 |
+
margin-top: 0
|
1191 |
+
}
|
1192 |
+
|
1193 |
+
.easy-modal .udner-title {
|
1194 |
+
font-size: 17px
|
1195 |
+
}
|
1196 |
+
|
1197 |
+
.easy-modal .udner-title span {
|
1198 |
+
font-size: 15px;
|
1199 |
+
display: block;
|
1200 |
+
color: #bdbdbd
|
1201 |
+
}
|
1202 |
+
|
1203 |
+
.easy-modal p {
|
1204 |
+
text-align: center;
|
1205 |
+
margin: 0 auto 10px
|
1206 |
+
}
|
1207 |
+
|
1208 |
+
.easy-modal ul {
|
1209 |
+
margin-bottom: 17px;
|
1210 |
+
line-height: 27px;
|
1211 |
+
list-style-position: inside;
|
1212 |
+
text-align: left
|
1213 |
+
}
|
1214 |
+
|
1215 |
+
.easy-modal .easy-modal-link {
|
1216 |
+
font-size: 15px;
|
1217 |
+
text-decoration-line: underline;
|
1218 |
+
color: #828282;
|
1219 |
+
display: inline-block;
|
1220 |
+
margin-top: 7px
|
1221 |
+
}
|
1222 |
+
|
1223 |
+
.easy-modal .form-horizontal__item {
|
1224 |
+
margin-bottom: 50px;
|
1225 |
+
justify-content: center;
|
1226 |
+
text-align: center
|
1227 |
+
}
|
1228 |
+
|
1229 |
+
.easy-modal .user-name, .easy-modal .user-role {
|
1230 |
+
margin: 0;
|
1231 |
+
font-size: 13px
|
1232 |
+
}
|
1233 |
+
|
1234 |
+
.easy-modal .form-horizontal__item > div {
|
1235 |
+
flex: 0 0 auto
|
1236 |
+
}
|
1237 |
+
|
1238 |
+
.easy-modal .user-name {
|
1239 |
+
font-weight: 700;
|
1240 |
+
color: #828282;
|
1241 |
+
text-align: left
|
1242 |
+
}
|
1243 |
+
|
1244 |
+
.link-back, .link-back:hover {
|
1245 |
+
color: #fff
|
1246 |
+
}
|
1247 |
+
|
1248 |
+
.easy-modal .user-photo {
|
1249 |
+
float: left;
|
1250 |
+
margin-right: 5px
|
1251 |
+
}
|
1252 |
+
|
1253 |
+
.link-back {
|
1254 |
+
display: inline-block;
|
1255 |
+
border: 1px solid #fff;
|
1256 |
+
border-radius: 60px;
|
1257 |
+
font-size: 17px;
|
1258 |
+
line-height: 20px;
|
1259 |
+
text-align: center;
|
1260 |
+
padding: 7px 46px
|
1261 |
+
}
|
1262 |
+
|
1263 |
+
.upgrade-wrap {
|
1264 |
+
max-width: 962px;
|
1265 |
+
margin: 13px auto
|
1266 |
+
}
|
1267 |
+
|
1268 |
+
.upgrade-block {
|
1269 |
+
background-color: #fff;
|
1270 |
+
border-radius: 9px;
|
1271 |
+
padding: 48px 0 67px;
|
1272 |
+
margin-top: 21px
|
1273 |
+
}
|
1274 |
+
|
1275 |
+
.upgrade-block .easy-modal-inner {
|
1276 |
+
max-width: 600px;
|
1277 |
+
margin: 0 auto;
|
1278 |
+
direction: ltr !important;
|
1279 |
+
}
|
1280 |
+
|
1281 |
+
.upgrade-block h2 {
|
1282 |
+
font-family: Rubik;
|
1283 |
+
font-weight: 700;
|
1284 |
+
font-size: 27px;
|
1285 |
+
margin-bottom: 5px;
|
1286 |
+
text-align: center;
|
1287 |
+
margin-top: 0;
|
1288 |
+
line-height: 33px
|
1289 |
+
}
|
1290 |
+
|
1291 |
+
.upgrade-block .udner-title {
|
1292 |
+
font-size: 17px
|
1293 |
+
}
|
1294 |
+
|
1295 |
+
.upgrade-block .udner-title span {
|
1296 |
+
font-size: 15px;
|
1297 |
+
display: block;
|
1298 |
+
color: #bdbdbd
|
1299 |
+
}
|
1300 |
+
|
1301 |
+
.form-horizontal__item .chaty-widget .icon, .upgrade-block ul {
|
1302 |
+
display: inline-block
|
1303 |
+
}
|
1304 |
+
|
1305 |
+
.upgrade-block p {
|
1306 |
+
text-align: center;
|
1307 |
+
margin: 0 auto 10px
|
1308 |
+
}
|
1309 |
+
|
1310 |
+
.upgrade-block ul {
|
1311 |
+
margin-bottom: 17px;
|
1312 |
+
line-height: 27px;
|
1313 |
+
list-style-position: inside;
|
1314 |
+
text-align: left
|
1315 |
+
}
|
1316 |
+
|
1317 |
+
.upgrade-block .easy-modal-link {
|
1318 |
+
font-size: 15px;
|
1319 |
+
text-decoration-line: underline;
|
1320 |
+
color: #828282;
|
1321 |
+
display: inline-block;
|
1322 |
+
margin-top: 7px
|
1323 |
+
}
|
1324 |
+
|
1325 |
+
.upgrade-block .form-horizontal__item {
|
1326 |
+
margin-bottom: 50px;
|
1327 |
+
justify-content: center;
|
1328 |
+
text-align: center
|
1329 |
+
}
|
1330 |
+
img.payment-img {
|
1331 |
+
margin: 10px 0;
|
1332 |
+
}
|
1333 |
+
.upgrade-block .form-horizontal__item > div {
|
1334 |
+
flex: 0 0 auto
|
1335 |
+
}
|
1336 |
+
|
1337 |
+
.upgrade-block .user-name {
|
1338 |
+
font-weight: 700;
|
1339 |
+
color: #828282;
|
1340 |
+
margin: 0;
|
1341 |
+
text-align: left;
|
1342 |
+
font-size: 13px
|
1343 |
+
}
|
1344 |
+
|
1345 |
+
.upgrade-block .user-role {
|
1346 |
+
margin: 0;
|
1347 |
+
font-size: 13px
|
1348 |
+
}
|
1349 |
+
|
1350 |
+
.upgrade-block .user-photo {
|
1351 |
+
float: left;
|
1352 |
+
margin-right: 5px
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
.upgrade-block .money-guaranteed {
|
1356 |
+
color: #a886cd;
|
1357 |
+
font-size: 12px;
|
1358 |
+
line-height: 18px;
|
1359 |
+
margin-bottom: 30px;
|
1360 |
+
position: relative;
|
1361 |
+
z-index: 10;
|
1362 |
+
top: -10px
|
1363 |
+
}
|
1364 |
+
|
1365 |
+
.easy-modal.modal-upgrade {
|
1366 |
+
width: 560px
|
1367 |
+
}
|
1368 |
+
|
1369 |
+
.easy-modal.modal-upgrade .easy-modal-inner {
|
1370 |
+
padding: 20px 0 0
|
1371 |
+
}
|
1372 |
+
|
1373 |
+
.modal__wrap {
|
1374 |
+
padding: 0 5px;
|
1375 |
+
text-align: center
|
1376 |
+
}
|
1377 |
+
|
1378 |
+
.form-horizontal__item .chaty-widget {
|
1379 |
+
position: static;
|
1380 |
+
flex: 0 0 250px !important
|
1381 |
+
}
|
1382 |
+
|
1383 |
+
.form-horizontal__item .chaty-widget .icon svg {
|
1384 |
+
width: 62px;
|
1385 |
+
height: 62px
|
1386 |
+
}
|
1387 |
+
|
1388 |
+
.form-horizontal__item .chaty-widget .icon:after {
|
1389 |
+
z-index: 10;
|
1390 |
+
content: "" attr(data-label) "";
|
1391 |
+
font-size: 17px;
|
1392 |
+
left: 0;
|
1393 |
+
top: 50%;
|
1394 |
+
transform: translate(calc(-100% - 6px), -50%);
|
1395 |
+
white-space: nowrap;
|
1396 |
+
padding: 16px 25px;
|
1397 |
+
line-height: 21px;
|
1398 |
+
width: auto;
|
1399 |
+
color: #333;
|
1400 |
+
background-color: #fff;
|
1401 |
+
box-shadow: 0 1.93px 7.74px rgba(0, 0, 0, .15);
|
1402 |
+
border-radius: 10px
|
1403 |
+
}
|
1404 |
+
|
1405 |
+
#toplevel_page_chaty-app img, .btn-red:hover, .text_update {
|
1406 |
+
color: #fff
|
1407 |
+
}
|
1408 |
+
|
1409 |
+
.form-horizontal__item .chaty-widget .icon:before {
|
1410 |
+
content: '';
|
1411 |
+
left: -8px;
|
1412 |
+
top: 50%;
|
1413 |
+
transform: translateY(-50%);
|
1414 |
+
height: 10px;
|
1415 |
+
width: 10px;
|
1416 |
+
z-index: 11;
|
1417 |
+
border-width: 5px 0 5px 10px;
|
1418 |
+
border-style: solid;
|
1419 |
+
border-color: transparent transparent transparent #fff
|
1420 |
+
}
|
1421 |
+
|
1422 |
+
.btn-red, .btn-white {
|
1423 |
+
z-index: 100;
|
1424 |
+
line-height: 27px;
|
1425 |
+
box-shadow: 0 4px 4px rgba(0, 0, 0, .11);
|
1426 |
+
vertical-align: top;
|
1427 |
+
position: relative;
|
1428 |
+
color: #fff
|
1429 |
+
}
|
1430 |
+
|
1431 |
+
.btn-red:hover, .btn-red:focus {
|
1432 |
+
color: #fff
|
1433 |
+
}
|
1434 |
+
|
1435 |
+
.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before {
|
1436 |
+
right: -8px;
|
1437 |
+
left: auto;
|
1438 |
+
border-width: 5px 10px 5px 0;
|
1439 |
+
border-color: transparent #fff transparent transparent
|
1440 |
+
}
|
1441 |
+
|
1442 |
+
.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:after {
|
1443 |
+
right: 0;
|
1444 |
+
left: auto;
|
1445 |
+
transform: translate(calc(100% + 6px), -50%)
|
1446 |
+
}
|
1447 |
+
|
1448 |
+
.header {
|
1449 |
+
display: flex;
|
1450 |
+
padding: 3px 0;
|
1451 |
+
margin-bottom: 9px
|
1452 |
+
}
|
1453 |
+
|
1454 |
+
.btn-red, .tooltip {
|
1455 |
+
display: inline-block
|
1456 |
+
}
|
1457 |
+
|
1458 |
+
.btn-white {
|
1459 |
+
background-color: transparent;
|
1460 |
+
border: 1px solid #FFF;
|
1461 |
+
border-radius: 19px;
|
1462 |
+
display: inline-block;
|
1463 |
+
padding: 3px 20px;
|
1464 |
+
text-transform: uppercase;
|
1465 |
+
font-weight: bold;
|
1466 |
+
text-decoration: none;
|
1467 |
+
}
|
1468 |
+
.btn-white, .btn-white:hover, .btn-white:focus {
|
1469 |
+
color: #ffffff;
|
1470 |
+
}
|
1471 |
+
|
1472 |
+
.btn-red {
|
1473 |
+
border: 0;
|
1474 |
+
text-transform: uppercase;
|
1475 |
+
font-weight: 700;
|
1476 |
+
background-color: #FF6624;
|
1477 |
+
padding: 6px 20px 4px;
|
1478 |
+
border-radius: 19px
|
1479 |
+
}
|
1480 |
+
|
1481 |
+
.btn-red svg {
|
1482 |
+
vertical-align: text-top;
|
1483 |
+
margin-left: 5px
|
1484 |
+
}
|
1485 |
+
|
1486 |
+
.btn-red:hover {
|
1487 |
+
color: #fff
|
1488 |
+
}
|
1489 |
+
|
1490 |
+
.text_update {
|
1491 |
+
color: #fff;
|
1492 |
+
top: 2px;
|
1493 |
+
position: relative;
|
1494 |
+
margin: 0;
|
1495 |
+
font-size: 10px;
|
1496 |
+
left: 15px
|
1497 |
+
}
|
1498 |
+
|
1499 |
+
.sticky-wrapper {
|
1500 |
+
position: absolute;
|
1501 |
+
right: 0;
|
1502 |
+
top: -370px;
|
1503 |
+
width: calc(320px);
|
1504 |
+
z-index: 99
|
1505 |
+
}
|
1506 |
+
|
1507 |
+
.tooltip {
|
1508 |
+
position: relative
|
1509 |
+
}
|
1510 |
+
|
1511 |
+
|
1512 |
+
.chaty-widget-icons-left .tooltip .tooltiptext, .chaty-widget-icons-right .tooltip .tooltiptext {
|
1513 |
+
white-space: pre-wrap;
|
1514 |
+
display: flex;
|
1515 |
+
width: 250px;
|
1516 |
+
min-height: 30px;
|
1517 |
+
color: #000;
|
1518 |
+
text-align: center;
|
1519 |
+
padding: 0px;
|
1520 |
+
bottom: 0;
|
1521 |
+
position: absolute;
|
1522 |
+
z-index: 35;
|
1523 |
+
font-size: 12px;
|
1524 |
+
line-height: 30px
|
1525 |
+
}
|
1526 |
+
|
1527 |
+
.tooltip .tooltiptext span {
|
1528 |
+
background-color: #fff;
|
1529 |
+
padding: 0px 15px;
|
1530 |
+
display: inline-block;
|
1531 |
+
vertical-align: middle;
|
1532 |
+
line-height: 30px;
|
1533 |
+
height: 30px;
|
1534 |
+
float: right;
|
1535 |
+
margin: 0;
|
1536 |
+
border-radius: 5px;
|
1537 |
+
}
|
1538 |
+
.chaty-widget-icons-left .tooltip .tooltiptext span {
|
1539 |
+
float: left;
|
1540 |
+
}
|
1541 |
+
|
1542 |
+
.tooltip:hover .tooltiptext {
|
1543 |
+
visibility: visible
|
1544 |
+
}
|
1545 |
+
|
1546 |
+
.chaty-widget-icons-right .tooltip .tooltiptext {
|
1547 |
+
justify-content: center;
|
1548 |
+
align-items: center;
|
1549 |
+
right: 41px;
|
1550 |
+
}
|
1551 |
+
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 {
|
1552 |
+
|
1553 |
+
}
|
1554 |
+
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 {
|
1555 |
+
height: auto;
|
1556 |
+
top: -3px;
|
1557 |
+
}
|
1558 |
+
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-1 span {
|
1559 |
+
height: auto;
|
1560 |
+
line-height: 16px;
|
1561 |
+
padding-top: 2px;
|
1562 |
+
padding-bottom: 2px;
|
1563 |
+
}
|
1564 |
+
|
1565 |
+
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2 {
|
1566 |
+
height: auto;
|
1567 |
+
top: -3px;
|
1568 |
+
}
|
1569 |
+
.chaty-widget-icons-right .tooltip .tooltiptext.has-multiline.line-2 span {
|
1570 |
+
height: auto;
|
1571 |
+
line-height: 16px;
|
1572 |
+
padding-top: 2px;
|
1573 |
+
padding-bottom: 2px;
|
1574 |
+
}
|
1575 |
+
|
1576 |
+
.mobiel-view .chaty-widget-icons-right .tooltip .tooltiptext {
|
1577 |
+
right: 35px
|
1578 |
+
}
|
1579 |
+
|
1580 |
+
.chaty-widget-icons-left .tooltip .tooltiptext {
|
1581 |
+
align-items: center;
|
1582 |
+
justify-content: center;
|
1583 |
+
left: 43px;
|
1584 |
+
line-height: 36px;
|
1585 |
+
}
|
1586 |
+
|
1587 |
+
.mobiel-view .chaty-widget-icons-left .tooltip .tooltiptext {
|
1588 |
+
left: 37px
|
1589 |
+
}
|
1590 |
+
|
1591 |
+
.update-nag {
|
1592 |
+
display: block !important
|
1593 |
+
}
|
1594 |
+
|
1595 |
+
.notice, div.error, div.updated {
|
1596 |
+
display: none !important
|
1597 |
+
}
|
1598 |
+
.notice.premio-notice {
|
1599 |
+
display: block !important
|
1600 |
+
}
|
1601 |
+
div#setting-error-settings_updated {
|
1602 |
+
display: none !important
|
1603 |
+
}
|
1604 |
+
|
1605 |
+
.domain__input, .domain__label {
|
1606 |
+
max-width: 342px;
|
1607 |
+
display: block
|
1608 |
+
}
|
1609 |
+
|
1610 |
+
.domain {
|
1611 |
+
background: rgba(168, 134, 205, .1);
|
1612 |
+
border-radius: 4px;
|
1613 |
+
text-align: left;
|
1614 |
+
margin: 0 0 10px;
|
1615 |
+
padding: 10px 20px
|
1616 |
+
}
|
1617 |
+
|
1618 |
+
.domain__label {
|
1619 |
+
font-size: 17px;
|
1620 |
+
font-weight: 700;
|
1621 |
+
margin: 0 auto 6px
|
1622 |
+
}
|
1623 |
+
|
1624 |
+
.domain__input {
|
1625 |
+
height: 34px;
|
1626 |
+
background: #FFF;
|
1627 |
+
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
1628 |
+
border-radius: 5px;
|
1629 |
+
border: none;
|
1630 |
+
width: 100%;
|
1631 |
+
margin: 0 auto
|
1632 |
+
}
|
1633 |
+
|
1634 |
+
.upg {
|
1635 |
+
background: 0 0;
|
1636 |
+
border: none;
|
1637 |
+
text-align: center;
|
1638 |
+
width: 270px;
|
1639 |
+
padding: 0
|
1640 |
+
}
|
1641 |
+
|
1642 |
+
.upg img, .upg svg {
|
1643 |
+
width: 100%
|
1644 |
+
}
|
1645 |
+
|
1646 |
+
.valid_domain {
|
1647 |
+
transition-property: margin-top;
|
1648 |
+
transition-delay: .3s;
|
1649 |
+
color: red;
|
1650 |
+
display: none
|
1651 |
+
}
|
1652 |
+
|
1653 |
+
.payments {
|
1654 |
+
margin-bottom: 5px
|
1655 |
+
}
|
1656 |
+
|
1657 |
+
.easy-modal__bottom {
|
1658 |
+
padding: 10px 10px 0;
|
1659 |
+
text-align: left;
|
1660 |
+
font-family: Rubik, sans-serif;
|
1661 |
+
color: #828282;
|
1662 |
+
position: relative
|
1663 |
+
}
|
1664 |
+
|
1665 |
+
.easy-modal__bottom .quote {
|
1666 |
+
position: absolute;
|
1667 |
+
left: 65px;
|
1668 |
+
top: -4px
|
1669 |
+
}
|
1670 |
+
|
1671 |
+
.easy-modal__bottom:before {
|
1672 |
+
content: '';
|
1673 |
+
display: block;
|
1674 |
+
position: absolute;
|
1675 |
+
left: 0;
|
1676 |
+
top: 0;
|
1677 |
+
width: 100%;
|
1678 |
+
background: rgba(130, 130, 130, .1);
|
1679 |
+
height: 2px
|
1680 |
+
}
|
1681 |
+
|
1682 |
+
.easy-modal__bottom .easy-modal__bottom-p {
|
1683 |
+
text-align: left;
|
1684 |
+
font-weight: 300;
|
1685 |
+
position: relative;
|
1686 |
+
margin-bottom: 10px;
|
1687 |
+
font-size: 14px;
|
1688 |
+
line-height: 17px
|
1689 |
+
}
|
1690 |
+
|
1691 |
+
.easy-modal__bottom .easy-modal__bottom-p p {
|
1692 |
+
text-align: left;
|
1693 |
+
margin: 6px 0 0;
|
1694 |
+
line-height: 15px
|
1695 |
+
}
|
1696 |
+
html[dir=rtl] body {
|
1697 |
+
background-position: 0
|
1698 |
+
}
|
1699 |
+
|
1700 |
+
html[dir=rtl] input[type=radio]:checked:before {
|
1701 |
+
text-indent: -1px
|
1702 |
+
}
|
1703 |
+
|
1704 |
+
|
1705 |
+
/*New Widget Page css*/
|
1706 |
+
.chaty-new-widget-wrap {
|
1707 |
+
border-radius: 10px;
|
1708 |
+
padding: 10px;
|
1709 |
+
margin: 40px auto 0 auto;
|
1710 |
+
background-size: auto 100%;
|
1711 |
+
width: 100%;
|
1712 |
+
max-width: 776px;
|
1713 |
+
background: #fff url("../images/bg.png") right bottom no-repeat;
|
1714 |
+
font-family: 'Poppins';
|
1715 |
+
line-height: 20px;
|
1716 |
+
}
|
1717 |
+
|
1718 |
+
.chaty-new-widget-wrap h2 {
|
1719 |
+
font-style: normal;
|
1720 |
+
font-weight: 600;
|
1721 |
+
font-size: 20px;
|
1722 |
+
line-height: 30px;
|
1723 |
+
color: #1E1E1E;
|
1724 |
+
margin: 15px 0;
|
1725 |
+
}
|
1726 |
+
.chaty-features ul {
|
1727 |
+
margin: 0;
|
1728 |
+
padding: 0;
|
1729 |
+
}
|
1730 |
+
.chaty-features ul li {
|
1731 |
+
margin: 0;
|
1732 |
+
width: 33.33%;
|
1733 |
+
float: left;
|
1734 |
+
padding: 10px;
|
1735 |
+
}
|
1736 |
+
.chaty-feature {
|
1737 |
+
margin: 30px 0 0 0;
|
1738 |
+
background: #FFFFFF;
|
1739 |
+
border: 1px solid #605DEC;
|
1740 |
+
box-sizing: border-box;
|
1741 |
+
border-radius: 4px;
|
1742 |
+
padding: 30px 15px 10px 15px;
|
1743 |
+
min-height: 186px;
|
1744 |
+
position: relative;
|
1745 |
+
}
|
1746 |
+
.chaty-feature.second {
|
1747 |
+
min-height: 155px;
|
1748 |
+
}
|
1749 |
+
.feature-title {
|
1750 |
+
font-family: Poppins;
|
1751 |
+
font-style: normal;
|
1752 |
+
font-weight: bold;
|
1753 |
+
font-size: 13px;
|
1754 |
+
line-height: 18px;
|
1755 |
+
color: #1E1E1E;
|
1756 |
+
}
|
1757 |
+
.feature-description {
|
1758 |
+
font-family: Poppins;
|
1759 |
+
font-style: normal;
|
1760 |
+
font-weight: normal;
|
1761 |
+
font-size: 13px;
|
1762 |
+
line-height: 18px;
|
1763 |
+
color: #1E1E1E;
|
1764 |
+
}
|
1765 |
+
a.new-upgrade-button {
|
1766 |
+
height: 40px;
|
1767 |
+
background: #605DEC;
|
1768 |
+
border-radius: 100px;
|
1769 |
+
border: solid 1px #605DEC;
|
1770 |
+
display: inline-block;
|
1771 |
+
text-align: center;
|
1772 |
+
color: #fff;
|
1773 |
+
line-height: 40px;
|
1774 |
+
margin: 10px 0 10px 10px;
|
1775 |
+
padding: 0 25px;
|
1776 |
+
text-decoration: none;
|
1777 |
+
text-transform: uppercase;
|
1778 |
+
}
|
1779 |
+
a.new-demo-button {
|
1780 |
+
height: 40px;
|
1781 |
+
color: #605DEC;
|
1782 |
+
border: solid 1px #605DEC;
|
1783 |
+
border-radius: 100px;
|
1784 |
+
display: inline-block;
|
1785 |
+
text-align: center;
|
1786 |
+
background: #fff;
|
1787 |
+
line-height: 40px;
|
1788 |
+
margin: 10px 0 10px 10px;
|
1789 |
+
padding: 0 25px;
|
1790 |
+
text-decoration: none;
|
1791 |
+
width: 165px;
|
1792 |
+
}
|
1793 |
+
.analytics-popup {
|
1794 |
+
display: none;
|
1795 |
+
}
|
1796 |
+
.analytics-overlay {
|
1797 |
+
width: 100%;
|
1798 |
+
height: 100%;
|
1799 |
+
position: fixed;
|
1800 |
+
top: 0;
|
1801 |
+
left: 0;
|
1802 |
+
background: rgba(0,0,0,0.5);
|
1803 |
+
z-index: 10001;
|
1804 |
+
}
|
1805 |
+
.analytics-popup-content {
|
1806 |
+
position: fixed;
|
1807 |
+
top: 50%;
|
1808 |
+
left: 0;
|
1809 |
+
right: 0;
|
1810 |
+
margin: 0 auto;
|
1811 |
+
/* background: #fff; */
|
1812 |
+
z-index: 11011;
|
1813 |
+
width: auto;
|
1814 |
+
max-width: 100%;
|
1815 |
+
max-height: 100%;
|
1816 |
+
padding: 15px;
|
1817 |
+
border-radius: 5px;
|
1818 |
+
text-align: center;
|
1819 |
+
-webkit-transform: translate(0px, -50%);
|
1820 |
+
transform: translate(0px, -50%);
|
1821 |
+
height: 80vh;
|
1822 |
+
}
|
1823 |
+
.analytics-popup-content .popup-data {
|
1824 |
+
position: relative;
|
1825 |
+
display: inline-block;
|
1826 |
+
height: 80vh;
|
1827 |
+
}
|
1828 |
+
.analytics-popup-content .popup-data img {
|
1829 |
+
width: auto;
|
1830 |
+
max-width: 100%;
|
1831 |
+
height: auto;
|
1832 |
+
max-height: 100%;
|
1833 |
+
}
|
1834 |
+
.analytics-popup-content .close-popup {
|
1835 |
+
position: absolute;
|
1836 |
+
right: -20px;
|
1837 |
+
top: -20px;
|
1838 |
+
}
|
1839 |
+
.analytics-popup-content .close-popup a {
|
1840 |
+
text-decoration: none;
|
1841 |
+
width: 20px;
|
1842 |
+
height: 20px;
|
1843 |
+
border-radius: 50%;
|
1844 |
+
background: #4e4e4e;
|
1845 |
+
color: #fff;
|
1846 |
+
text-align: center;
|
1847 |
+
display: block;
|
1848 |
+
/* font-size: 12px; */
|
1849 |
+
}
|
1850 |
+
.chaty-feature.analytics {
|
1851 |
+
min-height: 115px;
|
1852 |
+
}
|
1853 |
+
.chaty-feature-top {
|
1854 |
+
width: 50px;
|
1855 |
+
height: 50px;
|
1856 |
+
border: solid 1px #605dec;
|
1857 |
+
border-radius: 50%;
|
1858 |
+
position: absolute;
|
1859 |
+
left: 0;
|
1860 |
+
right: 0;
|
1861 |
+
margin: 0 auto;
|
1862 |
+
top: -25px;
|
1863 |
+
background: #fff;
|
1864 |
+
z-index: 11;
|
1865 |
+
padding: 10px;
|
1866 |
+
}
|
1867 |
+
.chaty-feature-top img {
|
1868 |
+
width: 100%;
|
1869 |
+
height: auto;
|
1870 |
+
}
|
1871 |
+
|
1872 |
+
.trigger-block {
|
1873 |
+
padding: 0px;
|
1874 |
+
background: #f6f3fa;
|
1875 |
+
margin-bottom: 4px;
|
1876 |
+
-webkit-border-radius: 4px;
|
1877 |
+
-moz-border-radius: 4px;
|
1878 |
+
border-radius: 4px;
|
1879 |
+
position: relative;
|
1880 |
+
flex: calc(100% - 152px);
|
1881 |
+
max-width: 360px;
|
1882 |
+
}
|
1883 |
+
.chaty-switch {
|
1884 |
+
display: inline-block;
|
1885 |
+
height: 34px;
|
1886 |
+
position: relative;
|
1887 |
+
padding: 0 0 0 60px !important;
|
1888 |
+
line-height: 24px !important;
|
1889 |
+
width: 100% !important;
|
1890 |
+
}
|
1891 |
+
|
1892 |
+
.chaty-switch input {
|
1893 |
+
display:none;
|
1894 |
+
}
|
1895 |
+
|
1896 |
+
.chaty-slider {
|
1897 |
+
background-color: #cfbde4;
|
1898 |
+
bottom: 0;
|
1899 |
+
cursor: pointer;
|
1900 |
+
left: 0;
|
1901 |
+
position: absolute;
|
1902 |
+
right: 0;
|
1903 |
+
top: 0;
|
1904 |
+
transition: .4s;
|
1905 |
+
width: 50px;
|
1906 |
+
height: 24px;
|
1907 |
+
}
|
1908 |
+
|
1909 |
+
.chaty-slider:before {
|
1910 |
+
background-color: #fff;
|
1911 |
+
bottom: 4px;
|
1912 |
+
content: "";
|
1913 |
+
height: 16px;
|
1914 |
+
left: 4px;
|
1915 |
+
position: absolute;
|
1916 |
+
transition: .2s;
|
1917 |
+
width: 16px;
|
1918 |
+
}
|
1919 |
+
.chaty-slider:after {
|
1920 |
+
content: "off";
|
1921 |
+
color: #fff;
|
1922 |
+
display: inline-block;
|
1923 |
+
padding: 0 0 0 25px;
|
1924 |
+
font-size: 14px;
|
1925 |
+
line-height: 24px;
|
1926 |
+
position: absolute;
|
1927 |
+
left: 0;
|
1928 |
+
top: 0;
|
1929 |
+
}
|
1930 |
+
.trigger-block-input {
|
1931 |
+
font-size: 14px;
|
1932 |
+
}
|
1933 |
+
.trigger-block-input input {
|
1934 |
+
width: 50px;
|
1935 |
+
}
|
1936 |
+
|
1937 |
+
input:checked + .chaty-slider {
|
1938 |
+
background-color: #a886cd;
|
1939 |
+
}
|
1940 |
+
|
1941 |
+
input:checked + .chaty-slider:before {
|
1942 |
+
transform: translateX(26px);
|
1943 |
+
}
|
1944 |
+
input:checked + .chaty-slider:after {
|
1945 |
+
padding: 0 0 0 8px;
|
1946 |
+
content: "on";
|
1947 |
+
}
|
1948 |
+
input:disabled + .chaty-slider {
|
1949 |
+
background: #e2e2e2;
|
1950 |
+
}
|
1951 |
+
|
1952 |
+
.chaty-slider.round {
|
1953 |
+
border-radius: 34px;
|
1954 |
+
}
|
1955 |
+
|
1956 |
+
.chaty-slider.round:before {
|
1957 |
+
border-radius: 50%;
|
1958 |
+
}
|
1959 |
+
.trigger-option-block {
|
1960 |
+
padding: 10px;
|
1961 |
+
border-bottom: solid 1px #eee2ff;
|
1962 |
+
}
|
1963 |
+
.trigger-option-block:last-child {
|
1964 |
+
border-bottom: none;
|
1965 |
+
}
|
1966 |
+
.gmt-data {
|
1967 |
+
display: none;
|
1968 |
+
}
|
1969 |
+
.chaty-date-time-option:first-child .gmt-data {
|
1970 |
+
display: block;
|
1971 |
+
}
|
1972 |
+
.chaty-date-time-option {
|
1973 |
+
padding: 5px;
|
1974 |
+
background: #f6f3fa;
|
1975 |
+
margin-bottom: 4px;
|
1976 |
+
-webkit-border-radius: 4px;
|
1977 |
+
-moz-border-radius: 4px;
|
1978 |
+
border-radius: 4px;
|
1979 |
+
position: relative;
|
1980 |
+
}
|
1981 |
+
.chaty-date-time-option.last {
|
1982 |
+
margin-bottom: 15px;
|
1983 |
+
}
|
1984 |
+
.date-time-content > * {
|
1985 |
+
vertical-align: middle;
|
1986 |
+
display: inline-block;
|
1987 |
+
}
|
1988 |
+
.day-select {
|
1989 |
+
width: 25%;
|
1990 |
+
display: inline-block;
|
1991 |
+
padding-right: 5px;
|
1992 |
+
}
|
1993 |
+
.date-time-content select, .date-time-content input {
|
1994 |
+
width: 100%;
|
1995 |
+
height: 36px;
|
1996 |
+
line-height: 36px;
|
1997 |
+
padding: 0 10px;
|
1998 |
+
-webkit-border-radius: 4px;
|
1999 |
+
-moz-border-radius: 4px;
|
2000 |
+
border-radius: 4px;
|
2001 |
+
}
|
2002 |
+
.day-label {
|
2003 |
+
width: 50px;
|
2004 |
+
padding-right: 5px;
|
2005 |
+
text-align: right;
|
2006 |
+
}
|
2007 |
+
.day-time {
|
2008 |
+
width: 10%;
|
2009 |
+
padding-right: 5px;
|
2010 |
+
}
|
2011 |
+
/*.day-buttons {
|
2012 |
+
width: calc(100% - 71% - 47px);
|
2013 |
+
display: inline-block;
|
2014 |
+
text-align: right;
|
2015 |
+
float: right;
|
2016 |
+
}*/
|
2017 |
+
.day-buttons a {
|
2018 |
+
background: #bd2a00;
|
2019 |
+
text-align: center;
|
2020 |
+
display: inline-block;
|
2021 |
+
line-height: 36px;
|
2022 |
+
-webkit-border-radius: 4px;
|
2023 |
+
-moz-border-radius: 4px;
|
2024 |
+
border-radius: 4px;
|
2025 |
+
width: 36px;
|
2026 |
+
height: 36px;
|
2027 |
+
}
|
2028 |
+
.main .form-horizontal__item.hide-show-button {
|
2029 |
+
display: none;
|
2030 |
+
}
|
2031 |
+
.main .form-horizontal__item.hide-show-button.active {
|
2032 |
+
display: flex;
|
2033 |
+
}
|
2034 |
+
.custom-chaty-image {
|
2035 |
+
display: none;
|
2036 |
+
}
|
2037 |
+
.chaty-channels .social-item-box .custom-chaty-image {
|
2038 |
+
display: none;
|
2039 |
+
}
|
2040 |
+
.chaty-channels .social-item-box .custom-chaty-image img {
|
2041 |
+
width: 30px;
|
2042 |
+
height: 30px;
|
2043 |
+
object-fit: cover;
|
2044 |
+
border-radius: 50%;
|
2045 |
+
}
|
2046 |
+
.chaty-channels .social-item-box.img-active .custom-chaty-image {
|
2047 |
+
display: block;
|
2048 |
+
}
|
2049 |
+
.chaty-channels .social-item-box .custom-chaty-image, .chaty-channels .social-item-box .default-chaty-icon {
|
2050 |
+
width: 30px;
|
2051 |
+
height: 30px;
|
2052 |
+
cursor: pointer;
|
2053 |
+
}
|
2054 |
+
.chaty-channels .social-item-box.img-active .default-chaty-icon {
|
2055 |
+
display: none;
|
2056 |
+
}
|
2057 |
+
.social-item-box {
|
2058 |
+
display: block;
|
2059 |
+
height: 30px;
|
2060 |
+
margin: 0 0 5px 0;
|
2061 |
+
position: relative;
|
2062 |
+
}
|
2063 |
+
#iconWidget {
|
2064 |
+
cursor: pointer;
|
2065 |
+
}
|
2066 |
+
.chaty-channels {
|
2067 |
+
display: none;
|
2068 |
+
}
|
2069 |
+
.chaty-widget.active .chaty-channels, .chaty-widget.hover:hover .chaty-channels {
|
2070 |
+
display: block;
|
2071 |
+
}
|
2072 |
+
.preview .page .chaty-widget i.chaty-close-icon, .preview .page .chaty-widget.active.hide-arrow i.chaty-close-icon {
|
2073 |
+
display: none !important;
|
2074 |
+
}
|
2075 |
+
.preview .page .chaty-widget.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon, .preview .page .chaty-widget.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon {
|
2076 |
+
display: block !important;
|
2077 |
+
}
|
2078 |
+
.preview .page .chaty-widget.active:not(.has-single) i#iconWidget, .preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget {
|
2079 |
+
display: none !important;
|
2080 |
+
}
|
2081 |
+
.preview .page .chaty-widget.active:not(.has-single) .tooltiptext {
|
2082 |
+
display: none !important;
|
2083 |
+
}
|
2084 |
+
.preview .page .chaty-widget.active:not(.has-single) .icon:before {
|
2085 |
+
display: none !important;
|
2086 |
+
}
|
2087 |
+
span.social-tooltip {
|
2088 |
+
position: absolute;
|
2089 |
+
right: 100%;
|
2090 |
+
background: #fff;
|
2091 |
+
padding: 0px 10px;
|
2092 |
+
color: #4f4f4f;
|
2093 |
+
top: 0;
|
2094 |
+
z-index: 1001;
|
2095 |
+
font-size: 12px;
|
2096 |
+
margin: 0 10px 0 0;
|
2097 |
+
border-radius: 5px;
|
2098 |
+
display: none;
|
2099 |
+
}
|
2100 |
+
.social-item-box:hover span.social-tooltip {
|
2101 |
+
display: block;
|
2102 |
+
}
|
2103 |
+
|
2104 |
+
span.social-tooltip:after {
|
2105 |
+
content: "";
|
2106 |
+
border-width: 5px 0 5px 10px;
|
2107 |
+
border-style: solid;
|
2108 |
+
border-color: transparent transparent transparent #fff;
|
2109 |
+
position: absolute;
|
2110 |
+
top: 6px;
|
2111 |
+
right: -9px;
|
2112 |
+
}
|
2113 |
+
.chaty-widget-icons-left span.social-tooltip {
|
2114 |
+
margin: 0 0 0 14px;
|
2115 |
+
left: 100%;
|
2116 |
+
right: auto;
|
2117 |
+
}
|
2118 |
+
.chaty-widget-icons-left span.social-tooltip:after {
|
2119 |
+
content: "";
|
2120 |
+
border-style: solid;
|
2121 |
+
border-width: 5px 10px 5px 0;
|
2122 |
+
border-color: transparent #fff transparent transparent;
|
2123 |
+
position: absolute;
|
2124 |
+
top: 12px;
|
2125 |
+
right: 100%;
|
2126 |
+
}
|
2127 |
+
.chaty-date-time-option input[readonly] {
|
2128 |
+
background: #ffffff;
|
2129 |
+
}
|
2130 |
+
.upgrade-upload-btn .upgrade-link {
|
2131 |
+
display: none !important;
|
2132 |
+
}
|
2133 |
+
.upgrade-upload-btn:hover .upgrade-link {
|
2134 |
+
display: block !important;;
|
2135 |
+
}
|
2136 |
+
.upgrade-upload-btn:hover .form-group, .upgrade-upload-btn:hover .custom-control-label {
|
2137 |
+
opacity:0.5;
|
2138 |
+
filter: blur(2px);
|
2139 |
+
-o-filter: blur(2px);
|
2140 |
+
-ms-filter: blur(2px);
|
2141 |
+
-moz-filter: blur(2px);
|
2142 |
+
-webkit-filter: blur(2px);
|
2143 |
+
}
|
2144 |
+
|
2145 |
+
.read-only {
|
2146 |
+
position: absolute;
|
2147 |
+
width: 1px;
|
2148 |
+
height: 1px;
|
2149 |
+
padding: 0;
|
2150 |
+
margin: -1px;
|
2151 |
+
overflow: hidden;
|
2152 |
+
clip: rect(0,0,0,0);
|
2153 |
+
border: 0;
|
2154 |
+
}
|
2155 |
+
select.chaty-select:disabled, textarea.test_textarea:disabled {
|
2156 |
+
background: #eee;
|
2157 |
+
border: solid 1px #ddd;
|
2158 |
+
color: #32373c;
|
2159 |
+
font-size: 14px;
|
2160 |
+
}
|
2161 |
+
.widget-icon__block .custom-control.custom-radio.add-border {
|
2162 |
+
border-right: 1px solid #fff;
|
2163 |
+
}
|
2164 |
+
.upgrade-upload-btn:hover .form-group, .upgrade-upload-btn:hover .custom-control-label {
|
2165 |
+
opacity: 0.5;
|
2166 |
+
filter: blur(2px);
|
2167 |
+
-o-filter: blur(2px);
|
2168 |
+
-ms-filter: blur(2px);
|
2169 |
+
-moz-filter: blur(2px);
|
2170 |
+
-webkit-filter: blur(2px);
|
2171 |
+
}
|
2172 |
+
.widget-icon__wrap a.upgrade-link {
|
2173 |
+
display: block;
|
2174 |
+
font-size: 16px;
|
2175 |
+
text-align: center;
|
2176 |
+
padding-left: 0;
|
2177 |
+
position: absolute;
|
2178 |
+
bottom: 35px;
|
2179 |
+
right: 0;
|
2180 |
+
width: 70px;
|
2181 |
+
text-decoration: none;
|
2182 |
+
text-align: center;
|
2183 |
+
left: 0;
|
2184 |
+
margin: 0 auto;
|
2185 |
+
}
|
2186 |
+
.upgrade-upload-btn:hover .upgrade-link {
|
2187 |
+
display: block !important;
|
2188 |
+
}
|
2189 |
+
.chaty-option-box {
|
2190 |
+
flex: calc(100% - 152px);
|
2191 |
+
}
|
2192 |
+
.chaty-data-and-time-rules {
|
2193 |
+
display: none;
|
2194 |
+
}
|
2195 |
+
.hover.chaty-widget:hover .tooltiptext{
|
2196 |
+
display: none !important;
|
2197 |
+
}
|
2198 |
+
.preview .page .hover.chaty-widget:hover .icon:before {
|
2199 |
+
display: none !important;
|
2200 |
+
}
|
2201 |
+
span.header-tooltip {
|
2202 |
+
position: relative;
|
2203 |
+
display: inline-block;
|
2204 |
+
}
|
2205 |
+
span.header-tooltip span.dashicons.dashicons-editor-help {
|
2206 |
+
display: inline-block;
|
2207 |
+
cursor: pointer;
|
2208 |
+
}
|
2209 |
+
span.header-tooltip-text {
|
2210 |
+
display: none;
|
2211 |
+
position: absolute;
|
2212 |
+
bottom: 140%;
|
2213 |
+
left: 0;
|
2214 |
+
width: 250px;
|
2215 |
+
left: -110px;
|
2216 |
+
font-size: 12px;
|
2217 |
+
font-weight: normal;
|
2218 |
+
line-height: 16px;
|
2219 |
+
background: #000;
|
2220 |
+
padding: 5px;
|
2221 |
+
border-radius: 5px;
|
2222 |
+
color: #fff;
|
2223 |
+
}
|
2224 |
+
span.header-tooltip-text:before {
|
2225 |
+
content: "";
|
2226 |
+
top: 100%;
|
2227 |
+
transform: translateX(-50%);
|
2228 |
+
height: 10px;
|
2229 |
+
width: 10px;
|
2230 |
+
border-width: 10px 5px 0;
|
2231 |
+
border-style: solid;
|
2232 |
+
border-color: #333 transparent transparent;
|
2233 |
+
position: absolute;
|
2234 |
+
left: 0;
|
2235 |
+
right: 0;
|
2236 |
+
margin: 0 auto;
|
2237 |
+
}
|
2238 |
+
span.header-tooltip:hover span.header-tooltip-text {
|
2239 |
+
display: block;
|
2240 |
+
}
|
2241 |
+
|
2242 |
+
/* animation */
|
2243 |
+
.chaty-animation-pulse {
|
2244 |
+
animation: chaty-animation-pulse 1s forwards;
|
2245 |
+
}
|
2246 |
+
|
2247 |
+
.chaty-animation-jump {
|
2248 |
+
animation: chaty-animation-jump 1s forwards cubic-bezier(.84,-0.54,.31,1.19);
|
2249 |
+
}
|
2250 |
+
|
2251 |
+
.chaty-animation-waggle {
|
2252 |
+
animation: chaty-animation-waggle 1s forwards ease-out;
|
2253 |
+
}
|
2254 |
+
|
2255 |
+
.chaty-animation-sheen {
|
2256 |
+
position: relative;
|
2257 |
+
overflow: hidden;
|
2258 |
+
}
|
2259 |
+
|
2260 |
+
.chaty-animation-sheen:after {
|
2261 |
+
animation: chaty-animation-sheen 1.5s forwards;
|
2262 |
+
content: '';
|
2263 |
+
position: absolute;
|
2264 |
+
top: 0;
|
2265 |
+
right: 0;
|
2266 |
+
bottom: 0;
|
2267 |
+
left: 0;
|
2268 |
+
background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5) 50%, transparent);
|
2269 |
+
transform: rotateZ(60deg) translate(-1em, 4em);
|
2270 |
+
}
|
2271 |
+
|
2272 |
+
.chaty-animation-spin {
|
2273 |
+
animation: chaty-animation-spin 1s forwards cubic-bezier(.56,-0.35,.22,1.5);
|
2274 |
+
}
|
2275 |
+
|
2276 |
+
.chaty-animation-fade {
|
2277 |
+
animation: chaty-animation-fade 1s forwards;
|
2278 |
+
}
|
2279 |
+
a.upgrade-link {
|
2280 |
+
line-height: 24px;
|
2281 |
+
display: block;
|
2282 |
+
padding: 10px 10px;
|
2283 |
+
text-decoration: none;
|
2284 |
+
}
|
2285 |
+
a.upgrade-link strong {
|
2286 |
+
text-decoration: underline;
|
2287 |
+
}
|
2288 |
+
@keyframes chaty-animation-pulse {
|
2289 |
+
0% {
|
2290 |
+
background-color: orange;
|
2291 |
+
}
|
2292 |
+
25% {
|
2293 |
+
background-color: red;
|
2294 |
+
}
|
2295 |
+
50% {
|
2296 |
+
background-color: orange;
|
2297 |
+
}
|
2298 |
+
75% {
|
2299 |
+
background-color: red;
|
2300 |
+
}
|
2301 |
+
}
|
2302 |
+
|
2303 |
+
@keyframes chaty-animation-jump {
|
2304 |
+
0% {
|
2305 |
+
transform: none;
|
2306 |
+
}
|
2307 |
+
50% {
|
2308 |
+
transform: translateY(-0.8em);
|
2309 |
+
}
|
2310 |
+
}
|
2311 |
+
|
2312 |
+
@keyframes chaty-animation-waggle {
|
2313 |
+
0% {
|
2314 |
+
transform: none;
|
2315 |
+
}
|
2316 |
+
50% {
|
2317 |
+
transform: rotateZ(-20deg) scale(1.2);
|
2318 |
+
}
|
2319 |
+
60% {
|
2320 |
+
transform: rotateZ(25deg) scale(1.2);
|
2321 |
+
}
|
2322 |
+
67.5% {
|
2323 |
+
transform: rotateZ(-15deg) scale(1.2);
|
2324 |
+
}
|
2325 |
+
75% {
|
2326 |
+
transform: rotateZ(15deg) scale(1.2);
|
2327 |
+
}
|
2328 |
+
82.5% {
|
2329 |
+
transform: rotateZ(-12deg) scale(1.2);
|
2330 |
+
}
|
2331 |
+
85% {
|
2332 |
+
transform: rotateZ(0) scale(1.2);
|
2333 |
+
}
|
2334 |
+
100% {
|
2335 |
+
transform: rotateZ(0) scale(1);
|
2336 |
+
}
|
2337 |
+
}
|
2338 |
+
|
2339 |
+
@keyframes chaty-animation-sheen {
|
2340 |
+
100% {
|
2341 |
+
transform: rotateZ(60deg) translate(0, -4em);
|
2342 |
+
}
|
2343 |
+
}
|
2344 |
+
|
2345 |
+
@keyframes chaty-animation-spin {
|
2346 |
+
50% {
|
2347 |
+
transform: rotateZ(-20deg);
|
2348 |
+
animation-timing-function: ease;
|
2349 |
+
}
|
2350 |
+
100% {
|
2351 |
+
transform: rotateZ(360deg);
|
2352 |
+
}
|
2353 |
+
}
|
2354 |
+
|
2355 |
+
@keyframes chaty-animation-fade {
|
2356 |
+
25% {
|
2357 |
+
opacity: 0.25;
|
2358 |
+
}
|
2359 |
+
50% {
|
2360 |
+
opacity: 1;
|
2361 |
+
}
|
2362 |
+
75% {
|
2363 |
+
opacity: 0.25;
|
2364 |
+
}
|
2365 |
+
100% {
|
2366 |
+
opacity: 1;
|
2367 |
+
}
|
2368 |
+
}
|
2369 |
+
|
2370 |
+
/* new animations */
|
2371 |
+
.chaty-animation-shockwave:after {
|
2372 |
+
content: "";
|
2373 |
+
position: absolute;
|
2374 |
+
top: 0;
|
2375 |
+
left: 0;
|
2376 |
+
bottom: 0;
|
2377 |
+
right: 0;
|
2378 |
+
border-radius: 50%;
|
2379 |
+
-webkit-animation: chaty-animation-shockwave 1s 0.65s ease-out infinite;
|
2380 |
+
animation: chaty-animation-shockwave 1s 0.65s ease-out infinite;
|
2381 |
+
}
|
2382 |
+
.chaty-animation-shockwave:before {
|
2383 |
+
content: "";
|
2384 |
+
position: absolute;
|
2385 |
+
top: 0;
|
2386 |
+
left: 0;
|
2387 |
+
bottom: 0;
|
2388 |
+
right: 0;
|
2389 |
+
border-radius: 50%;
|
2390 |
+
-webkit-animation: chaty-animation-shockwave 1s 0.5s ease-out infinite;
|
2391 |
+
animation: chaty-animation-shockwave 1s 0.5s ease-out infinite;
|
2392 |
+
}
|
2393 |
+
@-webkit-keyframes chaty-animation-shockwave {
|
2394 |
+
0% {
|
2395 |
+
transform: scale(1);
|
2396 |
+
box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
|
2397 |
+
}
|
2398 |
+
95% {
|
2399 |
+
box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
|
2400 |
+
}
|
2401 |
+
100% {
|
2402 |
+
transform: scale(2.25);
|
2403 |
+
}
|
2404 |
+
}
|
2405 |
+
@keyframes chaty-animation-shockwave {
|
2406 |
+
0% {
|
2407 |
+
transform: scale(1);
|
2408 |
+
box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
|
2409 |
+
}
|
2410 |
+
95% {
|
2411 |
+
box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
|
2412 |
+
}
|
2413 |
+
100% {
|
2414 |
+
transform: scale(2.25);
|
2415 |
+
}
|
2416 |
+
}
|
2417 |
+
|
2418 |
+
@keyframes chaty-animation-shockwave {
|
2419 |
+
0% {
|
2420 |
+
transform: scale(1);
|
2421 |
+
box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
|
2422 |
+
}
|
2423 |
+
95% {
|
2424 |
+
box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
|
2425 |
+
}
|
2426 |
+
100% {
|
2427 |
+
transform: scale(2.25);
|
2428 |
+
}
|
2429 |
+
}
|
2430 |
+
.chaty-animation-blink {
|
2431 |
+
-webkit-animation: chaty-animation-blink 1.33s ease-out infinite;
|
2432 |
+
animation: chaty-animation-blink 1.33s ease-out infinite;
|
2433 |
+
}
|
2434 |
+
|
2435 |
+
@-webkit-keyframes chaty-animation-blink {
|
2436 |
+
0% {
|
2437 |
+
opacity: 1;
|
2438 |
+
}
|
2439 |
+
20% {
|
2440 |
+
opacity: 0.5;
|
2441 |
+
}
|
2442 |
+
100% {
|
2443 |
+
opacity: 1;
|
2444 |
+
}
|
2445 |
+
}
|
2446 |
+
|
2447 |
+
@keyframes chaty-animation-blink {
|
2448 |
+
0% {
|
2449 |
+
opacity: 1;
|
2450 |
+
}
|
2451 |
+
20% {
|
2452 |
+
opacity: 0.5;
|
2453 |
+
}
|
2454 |
+
100% {
|
2455 |
+
opacity: 1;
|
2456 |
+
}
|
2457 |
+
}
|
2458 |
+
|
2459 |
+
.chaty-animation-pulse-icon {
|
2460 |
+
|
2461 |
+
-webkit-animation: chaty-animation-pulse-icon 0.4s ease infinite alternate;
|
2462 |
+
animation: chaty-animation-pulse-icon 0.4s ease infinite alternate;
|
2463 |
+
}
|
2464 |
+
|
2465 |
+
@-webkit-keyframes chaty-animation-pulse-icon {
|
2466 |
+
0% {
|
2467 |
+
transform: scale(1);
|
2468 |
+
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
|
2469 |
+
border-radius: 50%;
|
2470 |
+
}
|
2471 |
+
100% {
|
2472 |
+
transform: scale(1.1);
|
2473 |
+
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
|
2474 |
+
border-radius: 45%;
|
2475 |
+
}
|
2476 |
+
}
|
2477 |
+
|
2478 |
+
@keyframes chaty-animation-pulse-icon {
|
2479 |
+
0% {
|
2480 |
+
transform: scale(1);
|
2481 |
+
border-radius: 50%;
|
2482 |
+
}
|
2483 |
+
100% {
|
2484 |
+
transform: scale(1.1);
|
2485 |
+
border-radius: 45%;
|
2486 |
+
}
|
2487 |
+
}
|
2488 |
+
|
2489 |
+
@keyframes chaty-animation-pulse {
|
2490 |
+
0% {
|
2491 |
+
background-color: orange
|
2492 |
+
}
|
2493 |
+
25% {
|
2494 |
+
background-color: red
|
2495 |
+
}
|
2496 |
+
50% {
|
2497 |
+
background-color: orange
|
2498 |
+
}
|
2499 |
+
75% {
|
2500 |
+
background-color: red
|
2501 |
+
}
|
2502 |
+
}
|
2503 |
+
|
2504 |
+
.start-now, .start-now:after {
|
2505 |
+
animation-delay: 0s;
|
2506 |
+
}
|
2507 |
+
|
2508 |
+
|
2509 |
+
@media (min-width: 576px) {
|
2510 |
+
.container {
|
2511 |
+
max-width: 540px
|
2512 |
+
}
|
2513 |
+
}
|
2514 |
+
|
2515 |
+
@media (min-width: 768px) {
|
2516 |
+
.container {
|
2517 |
+
max-width: 720px
|
2518 |
+
}
|
2519 |
+
|
2520 |
+
.modal__wrap {
|
2521 |
+
padding: 0
|
2522 |
+
}
|
2523 |
+
|
2524 |
+
.domain {
|
2525 |
+
margin: 0 0 10px;
|
2526 |
+
padding: 20px 60px 26px
|
2527 |
+
}
|
2528 |
+
}
|
2529 |
+
|
2530 |
+
.channels__view {
|
2531 |
+
display: inline-block;
|
2532 |
+
color: #444444;
|
2533 |
+
margin-bottom: 0;
|
2534 |
+
line-height: 14px;
|
2535 |
+
padding-left: 17px;
|
2536 |
+
position: relative;
|
2537 |
+
font-size: 14px;
|
2538 |
+
margin-left: 10px
|
2539 |
+
}
|
2540 |
+
|
2541 |
+
.channels__view-check {
|
2542 |
+
position: absolute;
|
2543 |
+
z-index: -1;
|
2544 |
+
opacity: 0
|
2545 |
+
}
|
2546 |
+
|
2547 |
+
.channels__view-check:checked ~ .channels__view-txt:before {
|
2548 |
+
/*background-image: url(../images/icon-check.svg);
|
2549 |
+
background-color: transparent*/
|
2550 |
+
background: #a785cb;
|
2551 |
+
color: #fff;
|
2552 |
+
}
|
2553 |
+
|
2554 |
+
.channels__view-check:checked ~ .channels__view-txt:after {
|
2555 |
+
color: #fff;
|
2556 |
+
content: "\f147";
|
2557 |
+
font-family: dashicons;
|
2558 |
+
line-height: 1;
|
2559 |
+
position: absolute;
|
2560 |
+
top: 0;
|
2561 |
+
left: 0;
|
2562 |
+
}
|
2563 |
+
|
2564 |
+
.channels__view-txt:before {
|
2565 |
+
content: '';
|
2566 |
+
transition: all .2s;
|
2567 |
+
position: absolute;
|
2568 |
+
top: 0;
|
2569 |
+
left: 0;
|
2570 |
+
display: block;
|
2571 |
+
width: 14px;
|
2572 |
+
height: 14px;
|
2573 |
+
line-height: 14px;
|
2574 |
+
text-align: center;
|
2575 |
+
border: solid 2px #a785cb;
|
2576 |
+
-webkit-border-radius: 2px;
|
2577 |
+
-moz-border-radius: 2px;
|
2578 |
+
border-radius: 2px;
|
2579 |
+
}
|
2580 |
+
|
2581 |
+
.file-input, .widget-icon__block .custom-control.custom-radio .custom-control-label {
|
2582 |
+
position: relative
|
2583 |
+
}
|
2584 |
+
|
2585 |
+
.channels__input {
|
2586 |
+
padding: 9px 7px;
|
2587 |
+
border: 0;
|
2588 |
+
line-height: 24px;
|
2589 |
+
background: #FFF;
|
2590 |
+
box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
|
2591 |
+
border-radius: 9px;
|
2592 |
+
width: 291px
|
2593 |
+
}
|
2594 |
+
.channels__input.transparent {
|
2595 |
+
background: 0 0;
|
2596 |
+
box-shadow: none;
|
2597 |
+
}
|
2598 |
+
.channels__input-box {
|
2599 |
+
position: relative;
|
2600 |
+
margin-right: 5px
|
2601 |
+
}
|
2602 |
+
|
2603 |
+
.widget-icon__block [class^=icon-] {
|
2604 |
+
display: block;
|
2605 |
+
border-radius: 100%;
|
2606 |
+
text-align: center;
|
2607 |
+
width: 40px;
|
2608 |
+
height: 40px;
|
2609 |
+
line-height: 40px;
|
2610 |
+
font-size: 20px;
|
2611 |
+
margin: 0 auto 6px
|
2612 |
+
}
|
2613 |
+
|
2614 |
+
.widget-icon__block [class^=icon-] svg {
|
2615 |
+
color: #fff
|
2616 |
+
}
|
2617 |
+
|
2618 |
+
.widget-icon__block .icon-upload {
|
2619 |
+
background: 0 0;
|
2620 |
+
color: #a886cd
|
2621 |
+
}
|
2622 |
+
|
2623 |
+
.widget-icon__block .custom-control.custom-radio {
|
2624 |
+
text-align: center;
|
2625 |
+
margin: 0;
|
2626 |
+
padding: 22px 8px 22px;
|
2627 |
+
vertical-align: bottom;
|
2628 |
+
text-decoration: none;
|
2629 |
+
max-width: 70px;
|
2630 |
+
}
|
2631 |
+
|
2632 |
+
label.widget-icon__wrap.has-pro .custom-control.custom-radio {
|
2633 |
+
padding: 22px 8px 44px;
|
2634 |
+
}
|
2635 |
+
|
2636 |
+
.widget-icon__block .custom-control.custom-radio .custom-control-label:before {
|
2637 |
+
transform: translateX(-50%);
|
2638 |
+
left: 50%
|
2639 |
+
}
|
2640 |
+
|
2641 |
+
.widget-icon__block .custom-control.custom-radio.add-border {
|
2642 |
+
border-right: 1px solid #fff
|
2643 |
+
}
|
2644 |
+
|
2645 |
+
label.widget-icon__wrap.has-free {
|
2646 |
+
position: relative;
|
2647 |
+
}
|
2648 |
+
|
2649 |
+
.widget-icon__wrap.has-free .custom-control.custom-radio {
|
2650 |
+
text-align: center;
|
2651 |
+
margin: 0;
|
2652 |
+
padding: 22px 8px 42px;
|
2653 |
+
vertical-align: bottom;
|
2654 |
+
text-decoration: none;
|
2655 |
+
}
|
2656 |
+
|
2657 |
+
.widget-icon__wrap.has-pro .custom-control.custom-radio {
|
2658 |
+
border: none;
|
2659 |
+
}
|
2660 |
+
|
2661 |
+
.widget-icon__wrap {
|
2662 |
+
background: rgba(168, 134, 205, .1);
|
2663 |
+
padding: 0;
|
2664 |
+
border-radius: 4px;
|
2665 |
+
flex: none;
|
2666 |
+
font-size: 0;
|
2667 |
+
margin-bottom: 25px;
|
2668 |
+
position: relative
|
2669 |
+
}
|
2670 |
+
|
2671 |
+
@media (min-width: 768px) {
|
2672 |
+
.widget-icon__block [class^=icon-] {
|
2673 |
+
width: 54px;
|
2674 |
+
height: 54px;
|
2675 |
+
font-size: 28px;
|
2676 |
+
line-height: 54px
|
2677 |
+
}
|
2678 |
+
|
2679 |
+
.widget-icon__block [class^=icon-] svg {
|
2680 |
+
width: 100%
|
2681 |
+
}
|
2682 |
+
|
2683 |
+
.widget-icon__block .custom-control.custom-radio:first-child {
|
2684 |
+
padding-left: 20px;
|
2685 |
+
max-width: 90px;
|
2686 |
+
}
|
2687 |
+
|
2688 |
+
.widget-icon__block .custom-control.custom-radio:last-child {
|
2689 |
+
padding-right: 20px
|
2690 |
+
}
|
2691 |
+
}
|
2692 |
+
|
2693 |
+
@media (max-width: 767px) {
|
2694 |
+
.main .form-horizontal__item > .widget-icon__wrap {
|
2695 |
+
display: flex;
|
2696 |
+
justify-content: space-between
|
2697 |
+
}
|
2698 |
+
|
2699 |
+
.main .form-horizontal__item > .widget-icon__wrap .custom-control {
|
2700 |
+
margin: 0;
|
2701 |
+
flex: 1;
|
2702 |
+
text-align: center
|
2703 |
+
}
|
2704 |
+
}
|
2705 |
+
|
2706 |
+
.file-input {
|
2707 |
+
width: 40px;
|
2708 |
+
height: 44px;
|
2709 |
+
display: block
|
2710 |
+
}
|
2711 |
+
|
2712 |
+
.file-input input[type=file] {
|
2713 |
+
top: 0;
|
2714 |
+
left: 0;
|
2715 |
+
min-width: 100%;
|
2716 |
+
min-height: 100%;
|
2717 |
+
text-align: right;
|
2718 |
+
opacity: 0;
|
2719 |
+
background: none;
|
2720 |
+
cursor: pointer;
|
2721 |
+
display: block;
|
2722 |
+
position: absolute
|
2723 |
+
}
|
2724 |
+
|
2725 |
+
.btn-file, .form-group, .kv-file-content {
|
2726 |
+
position: relative
|
2727 |
+
}
|
2728 |
+
|
2729 |
+
.form-group:hover :not(.file-input-new) .file-browse {
|
2730 |
+
display: block;
|
2731 |
+
z-index: 10
|
2732 |
+
}
|
2733 |
+
|
2734 |
+
.file-actions, .file-browse, .file-browse span, .file-drop-zone-title, .file-footer-caption, .file-preview-status {
|
2735 |
+
display: none
|
2736 |
+
}
|
2737 |
+
|
2738 |
+
.form-group:hover :not(.file-input-new) .file-browse .icon-upload {
|
2739 |
+
background: rgba(0, 0, 0, .5)
|
2740 |
+
}
|
2741 |
+
|
2742 |
+
.kv-file-content {
|
2743 |
+
width: 40px;
|
2744 |
+
height: 40px;
|
2745 |
+
background: #fff;
|
2746 |
+
border-radius: 100%;
|
2747 |
+
text-align: center;
|
2748 |
+
margin: 0 auto
|
2749 |
+
}
|
2750 |
+
|
2751 |
+
.kv-file-content img {
|
2752 |
+
width: auto;
|
2753 |
+
height: auto;
|
2754 |
+
max-width: 100%;
|
2755 |
+
max-height: 100%
|
2756 |
+
}
|
2757 |
+
|
2758 |
+
.file-preview {
|
2759 |
+
position: absolute
|
2760 |
+
}
|
2761 |
+
|
2762 |
+
.file-preview-thumbnails {
|
2763 |
+
width: 54px;
|
2764 |
+
height: 54px;
|
2765 |
+
border-radius: 100%;
|
2766 |
+
position: absolute;
|
2767 |
+
left: 0;
|
2768 |
+
top: 0
|
2769 |
+
}
|
2770 |
+
|
2771 |
+
.file-preview-frame {
|
2772 |
+
position: absolute;
|
2773 |
+
left: 0;
|
2774 |
+
top: 0;
|
2775 |
+
right: 0;
|
2776 |
+
z-index: 10
|
2777 |
+
}
|
2778 |
+
|
2779 |
+
.file-preview-frame.file-preview-initial {
|
2780 |
+
z-index: 0
|
2781 |
+
}
|
2782 |
+
|
2783 |
+
.file-input-new .file-browse {
|
2784 |
+
display: block
|
2785 |
+
}
|
2786 |
+
|
2787 |
+
.file-input-new .file-browse span {
|
2788 |
+
display: block;
|
2789 |
+
color: #a886cd;
|
2790 |
+
text-decoration: underline;
|
2791 |
+
position: absolute;
|
2792 |
+
bottom: 0;
|
2793 |
+
left: 0;
|
2794 |
+
right: 0
|
2795 |
+
}
|
2796 |
+
|
2797 |
+
.file-input-new .file-browse:hover span {
|
2798 |
+
text-decoration: none
|
2799 |
+
}
|
2800 |
+
|
2801 |
+
@media (min-width: 768px) {
|
2802 |
+
.kv-file-content {
|
2803 |
+
width: 54px;
|
2804 |
+
height: 54px
|
2805 |
+
}
|
2806 |
+
|
2807 |
+
.file-input {
|
2808 |
+
width: 54px;
|
2809 |
+
height: 60px
|
2810 |
+
}
|
2811 |
+
}
|
2812 |
+
|
2813 |
+
.preview {
|
2814 |
+
width: 337px;
|
2815 |
+
z-index: 99;
|
2816 |
+
height: 373px;
|
2817 |
+
margin-right: 15px;
|
2818 |
+
float: right;
|
2819 |
+
z-index: 1001;
|
2820 |
+
}
|
2821 |
+
|
2822 |
+
body.has-premio-box .preview {
|
2823 |
+
top: 320px;
|
2824 |
+
}
|
2825 |
+
|
2826 |
+
.preview.mobiel-view .page {
|
2827 |
+
width: 202px
|
2828 |
+
}
|
2829 |
+
|
2830 |
+
.preview.mobiel-view .page .chaty-widget .icon i {
|
2831 |
+
width: 24px;
|
2832 |
+
height: 24px;
|
2833 |
+
font-size: 12px;
|
2834 |
+
line-height: 24px
|
2835 |
+
}
|
2836 |
+
|
2837 |
+
.is-sticky .preview {
|
2838 |
+
left: calc(50vw - 480px + 960px / 12 * 7 + 140px)
|
2839 |
+
}
|
2840 |
+
|
2841 |
+
.preview h2 {
|
2842 |
+
text-align: center;
|
2843 |
+
font-weight: 700;
|
2844 |
+
line-height: normal;
|
2845 |
+
font-size: 17px;
|
2846 |
+
color: #4F4F4F;
|
2847 |
+
margin-bottom: 5px
|
2848 |
+
}
|
2849 |
+
|
2850 |
+
.preview .page {
|
2851 |
+
background-color: #F2F2F2;
|
2852 |
+
box-shadow: 0 4px 35px rgba(0, 0, 0, .05);
|
2853 |
+
border-radius: 5px;
|
2854 |
+
position: relative;
|
2855 |
+
height: 234px;
|
2856 |
+
margin: 0 auto
|
2857 |
+
}
|
2858 |
+
|
2859 |
+
.preview .page .page-header {
|
2860 |
+
display: flex;
|
2861 |
+
align-items: center;
|
2862 |
+
background: #FFF;
|
2863 |
+
border-radius: 5px 5px 0 0;
|
2864 |
+
height: 16px
|
2865 |
+
}
|
2866 |
+
|
2867 |
+
.preview .page .page-header .circle {
|
2868 |
+
margin-left: 9px;
|
2869 |
+
width: 6px;
|
2870 |
+
height: 6px;
|
2871 |
+
background: linear-gradient(153.19deg, #6371DB 7.06%, #FF89C4 90.47%), #FFE663;
|
2872 |
+
box-shadow: 0 4px 35px rgba(0, 0, 0, .05);
|
2873 |
+
border-radius: 50%
|
2874 |
+
}
|
2875 |
+
|
2876 |
+
.preview .page .page-header svg:last-child {
|
2877 |
+
margin-left: auto;
|
2878 |
+
margin-top: 7px;
|
2879 |
+
margin-right: -7px
|
2880 |
+
}
|
2881 |
+
|
2882 |
+
.preview .page .chaty-widget {
|
2883 |
+
position: absolute;
|
2884 |
+
left: auto
|
2885 |
+
}
|
2886 |
+
|
2887 |
+
.preview .page .chaty-widget .icon:after {
|
2888 |
+
z-index: 10;
|
2889 |
+
content: '';
|
2890 |
+
font-size: 13px;
|
2891 |
+
top: 13px;
|
2892 |
+
white-space: nowrap;
|
2893 |
+
padding: 0;
|
2894 |
+
line-height: 0;
|
2895 |
+
width: auto;
|
2896 |
+
color: #333;
|
2897 |
+
background-color: #fff;
|
2898 |
+
box-shadow: 0 1.93px 7.74px rgba(0, 0, 0, .15);
|
2899 |
+
border-radius: 0;
|
2900 |
+
right: 0;
|
2901 |
+
left: auto;
|
2902 |
+
transform: translate(calc(100% + 6px), -50%)
|
2903 |
+
}
|
2904 |
+
|
2905 |
+
.preview .page .chaty-widget .icon:before {
|
2906 |
+
content: '';
|
2907 |
+
right: -18px;
|
2908 |
+
left: auto;
|
2909 |
+
top: calc(100% - 20px);
|
2910 |
+
/*transform: translateY(-50%);*/
|
2911 |
+
height: 10px;
|
2912 |
+
width: 10px;
|
2913 |
+
z-index: 11;
|
2914 |
+
border-style: solid;
|
2915 |
+
border-width: 5px 10px 5px 0;
|
2916 |
+
border-color: transparent #fff transparent transparent
|
2917 |
+
}
|
2918 |
+
.preview .page .chaty-widget.hide-arrow .icon:before, .preview .page .chaty-widget.hide_arrow .icon:before {
|
2919 |
+
display: none;
|
2920 |
+
}
|
2921 |
+
|
2922 |
+
.preview .page .chaty-widget .icon i {
|
2923 |
+
width: 30px;
|
2924 |
+
height: 30px;
|
2925 |
+
font-size: 18px;
|
2926 |
+
display: block;
|
2927 |
+
border-radius: 100%;
|
2928 |
+
line-height: 30px;
|
2929 |
+
text-align: center;
|
2930 |
+
overflow: hidden
|
2931 |
+
}
|
2932 |
+
|
2933 |
+
.preview .page .chaty-widget .icon i.icon-chat-image {
|
2934 |
+
background: 0 0
|
2935 |
+
}
|
2936 |
+
|
2937 |
+
.preview .page .chaty-widget .icon i.icon-chat-image img {
|
2938 |
+
display: block;
|
2939 |
+
background: #a886cd
|
2940 |
+
}
|
2941 |
+
|
2942 |
+
.preview .page .chaty-widget .icon i svg {
|
2943 |
+
fill: #fff;
|
2944 |
+
width: 100%;
|
2945 |
+
height: 100%
|
2946 |
+
}
|
2947 |
+
|
2948 |
+
.preview .page .chaty-widget .icon i img {
|
2949 |
+
width: auto;
|
2950 |
+
height: auto;
|
2951 |
+
max-width: 100%;
|
2952 |
+
max-height: 100%;
|
2953 |
+
border-radius: 50%;
|
2954 |
+
}
|
2955 |
+
.preview .page .chaty-widget.has-single .icon i#iconWidget {
|
2956 |
+
position: relative;
|
2957 |
+
overflow: inherit;
|
2958 |
+
}
|
2959 |
+
.mobiel-view .preview .page .chaty-widget .icon i {
|
2960 |
+
width: 23px;
|
2961 |
+
height: 23px;
|
2962 |
+
font-size: 13px;
|
2963 |
+
line-height: 23px
|
2964 |
+
}
|
2965 |
+
|
2966 |
+
.preview .page .chaty-widget[style*="left: auto;"] .icon:before {
|
2967 |
+
right: auto;
|
2968 |
+
left: -8px;
|
2969 |
+
border-width: 5px 0 5px 10px;
|
2970 |
+
border-style: solid;
|
2971 |
+
border-color: transparent transparent transparent #fff
|
2972 |
+
}
|
2973 |
+
|
2974 |
+
.preview .page .chaty-widget[style*="left: auto;"] .icon:after {
|
2975 |
+
left: 0;
|
2976 |
+
right: auto;
|
2977 |
+
transform: translate(calc(-100% - 6px), -50%)
|
2978 |
+
}
|
2979 |
+
|
2980 |
+
.switch-preview {
|
2981 |
+
display: flex;
|
2982 |
+
width: 160px;
|
2983 |
+
border-radius: 5px;
|
2984 |
+
margin: 15px auto 0;
|
2985 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
2986 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
2987 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1) inset;
|
2988 |
+
background: #fff
|
2989 |
+
}
|
2990 |
+
|
2991 |
+
.easy-modal-open, .switch-preview__input[type=radio], .switch-preview__label input {
|
2992 |
+
display: none
|
2993 |
+
}
|
2994 |
+
|
2995 |
+
.switch-preview__label {
|
2996 |
+
flex: 1;
|
2997 |
+
text-align: center;
|
2998 |
+
line-height: 30px
|
2999 |
+
}
|
3000 |
+
|
3001 |
+
.switch-preview__input[type=radio], .switch-preview__label input {
|
3002 |
+
display: none
|
3003 |
+
}
|
3004 |
+
|
3005 |
+
.switch-preview__input[type=radio]:checked + label {
|
3006 |
+
background: #a886cd;
|
3007 |
+
color: #fff
|
3008 |
+
}
|
3009 |
+
|
3010 |
+
html[dir=rtl] .preview {
|
3011 |
+
right: auto
|
3012 |
+
}
|
3013 |
+
|
3014 |
+
html[dir=rtl] .is-sticky .preview {
|
3015 |
+
left: calc(50vw - 480px + 960px / 12 * 7 + 84px - 175px)
|
3016 |
+
}
|
3017 |
+
|
3018 |
+
|
3019 |
+
|
3020 |
+
.easy-modal-open {
|
3021 |
+
display: none;
|
3022 |
+
}
|
3023 |
+
|
3024 |
+
a.pro-plugin-url {
|
3025 |
+
color: #fff;
|
3026 |
+
background: #7474d9;
|
3027 |
+
display: inline-block;
|
3028 |
+
margin-bottom: 25px;
|
3029 |
+
text-decoration: none;
|
3030 |
+
-moz-border-radius: 25px;
|
3031 |
+
-webkit-border-radius: 25px;
|
3032 |
+
font-size: 24px;
|
3033 |
+
border-radius: 25px;
|
3034 |
+
padding: 15px 45px;
|
3035 |
+
}
|
3036 |
+
|
3037 |
+
.test_textarea {
|
3038 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3039 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3040 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3041 |
+
border-radius: 5px;
|
3042 |
+
-webkit-border-radius: 5px;
|
3043 |
+
-moz-border-radius: 5px;
|
3044 |
+
padding: 10px;
|
3045 |
+
height: 70px;
|
3046 |
+
border: solid 1px #f6f6f6;
|
3047 |
+
width: 100%;
|
3048 |
+
max-width: 350px;
|
3049 |
+
}
|
3050 |
+
|
3051 |
+
.license-key {
|
3052 |
+
border: 1px solid #ccc;
|
3053 |
+
background: #FFFFFF;
|
3054 |
+
width: 100%;
|
3055 |
+
max-width: 350px;
|
3056 |
+
margin: 10px 0 20px;
|
3057 |
+
}
|
3058 |
+
|
3059 |
+
.license-key .license-key-header {
|
3060 |
+
border-bottom: 1px solid #ccc;
|
3061 |
+
padding: 15px 12px;
|
3062 |
+
font-weight: 600;
|
3063 |
+
background: #f9f9f9;
|
3064 |
+
color: #23282d;
|
3065 |
+
}
|
3066 |
+
|
3067 |
+
.license-key .license-key-content {
|
3068 |
+
padding: 15px 12px;
|
3069 |
+
background: #ffffff;
|
3070 |
+
}
|
3071 |
+
|
3072 |
+
.license-key .license-key-content input[type="text"] {
|
3073 |
+
width: 100%;
|
3074 |
+
font-size: 14px;
|
3075 |
+
font-weight: normal;
|
3076 |
+
}
|
3077 |
+
|
3078 |
+
.license-key .license-key-footer {
|
3079 |
+
border-top: 1px solid #ccc;
|
3080 |
+
padding: 15px 12px;
|
3081 |
+
background: #f9f9f9;
|
3082 |
+
}
|
3083 |
+
|
3084 |
+
.license-key .license-key-message {
|
3085 |
+
margin: 10px 0 0 0;
|
3086 |
+
min-height: 40px;
|
3087 |
+
}
|
3088 |
+
|
3089 |
+
.license-key .button-secondary {
|
3090 |
+
font-weight: normal;
|
3091 |
+
}
|
3092 |
+
|
3093 |
+
.testimonial-error-message, .testimonial-success-message {
|
3094 |
+
background: #fff;
|
3095 |
+
margin: 10px 0 0 0;
|
3096 |
+
padding: 10px 10px 10px 10px;
|
3097 |
+
border-left: solid 3px #dd4b39;
|
3098 |
+
}
|
3099 |
+
|
3100 |
+
.testimonial-success-message {
|
3101 |
+
border-left: solid 3px #00a65a;
|
3102 |
+
}
|
3103 |
+
|
3104 |
+
.save-testimonial-license-key {
|
3105 |
+
text-align: center;
|
3106 |
+
}
|
3107 |
+
|
3108 |
+
.remove-testimonial-license-key {
|
3109 |
+
width: 128px;
|
3110 |
+
text-align: center
|
3111 |
+
}
|
3112 |
+
|
3113 |
+
.test-error-message {
|
3114 |
+
color: #dc3232
|
3115 |
+
}
|
3116 |
+
|
3117 |
+
.hide-this-table, .lean-overlay {
|
3118 |
+
display: none !important
|
3119 |
+
}
|
3120 |
+
|
3121 |
+
span.expired-message {
|
3122 |
+
color: #a00000;
|
3123 |
+
font-size: 18px;
|
3124 |
+
}
|
3125 |
+
|
3126 |
+
.wrap.wrap-licenses {
|
3127 |
+
background: #fff;
|
3128 |
+
padding: 10px 25px 25px
|
3129 |
+
}
|
3130 |
+
|
3131 |
+
.chaty-help-btn {
|
3132 |
+
position: fixed;
|
3133 |
+
right: 20px;
|
3134 |
+
bottom: 20px;
|
3135 |
+
z-index: 1001
|
3136 |
+
}
|
3137 |
+
|
3138 |
+
.chaty-help-btn a {
|
3139 |
+
display: block;
|
3140 |
+
border: 3px solid #FFF;
|
3141 |
+
width: 50px;
|
3142 |
+
height: 50px;
|
3143 |
+
-webkit-border-radius: 50%;
|
3144 |
+
-moz-border-radius: 50%;
|
3145 |
+
border-radius: 50%;
|
3146 |
+
position: relative
|
3147 |
+
}
|
3148 |
+
|
3149 |
+
.chaty-help-btn a img {
|
3150 |
+
width: 100%;
|
3151 |
+
height: auto;
|
3152 |
+
display: block;
|
3153 |
+
-webkit-border-radius: 50%;
|
3154 |
+
-moz-border-radius: 50%;
|
3155 |
+
border-radius: 50%
|
3156 |
+
}
|
3157 |
+
|
3158 |
+
.chaty-help-form {
|
3159 |
+
position: fixed;
|
3160 |
+
right: 85px;
|
3161 |
+
border: 1px solid #e9edf0;
|
3162 |
+
bottom: 25px;
|
3163 |
+
background: #fff;
|
3164 |
+
-webkit-border-radius: 10px;
|
3165 |
+
-moz-border-radius: 10px;
|
3166 |
+
border-radius: 10px;
|
3167 |
+
width: 320px;
|
3168 |
+
z-index: 1001;
|
3169 |
+
direction: ltr;
|
3170 |
+
opacity: 0;
|
3171 |
+
transition: .4s;
|
3172 |
+
-webkit-transition: .4s;
|
3173 |
+
-moz-transition: .4s
|
3174 |
+
}
|
3175 |
+
|
3176 |
+
.chaty-help-form.active {
|
3177 |
+
opacity: 1;
|
3178 |
+
pointer-events: inherit
|
3179 |
+
}
|
3180 |
+
|
3181 |
+
.chaty-help-header {
|
3182 |
+
background: #f4f4f4;
|
3183 |
+
border-bottom: solid 1px #e9edf0;
|
3184 |
+
padding: 5px 20px;
|
3185 |
+
-webkit-border-radius: 10px;
|
3186 |
+
-moz-border-radius: 10px;
|
3187 |
+
border-radius: 10px 10px 0 0;
|
3188 |
+
font-size: 16px;
|
3189 |
+
text-align: right
|
3190 |
+
}
|
3191 |
+
|
3192 |
+
.chaty-help-header b {
|
3193 |
+
float: left
|
3194 |
+
}
|
3195 |
+
|
3196 |
+
.chaty-help-content {
|
3197 |
+
margin-bottom: 10px;
|
3198 |
+
padding: 20px 20px 10px
|
3199 |
+
}
|
3200 |
+
|
3201 |
+
.chaty-help-form p {
|
3202 |
+
margin: 0 0 1em
|
3203 |
+
}
|
3204 |
+
|
3205 |
+
.chaty-form-field {
|
3206 |
+
margin-bottom: 10px
|
3207 |
+
}
|
3208 |
+
|
3209 |
+
.chaty-form-field input, .chaty-form-field textarea {
|
3210 |
+
-webkit-border-radius: 5px;
|
3211 |
+
-moz-border-radius: 5px;
|
3212 |
+
border-radius: 5px;
|
3213 |
+
padding: 5px;
|
3214 |
+
width: 100%;
|
3215 |
+
box-sizing: border-box;
|
3216 |
+
border: 1px solid #c5c5c5
|
3217 |
+
}
|
3218 |
+
|
3219 |
+
.chaty-form-field textarea {
|
3220 |
+
height: 70px
|
3221 |
+
}
|
3222 |
+
|
3223 |
+
.chaty-help-button {
|
3224 |
+
border: none;
|
3225 |
+
padding: 8px 0;
|
3226 |
+
width: 100%;
|
3227 |
+
background: #ff6624;
|
3228 |
+
color: #fff;
|
3229 |
+
border-radius: 18px
|
3230 |
+
}
|
3231 |
+
|
3232 |
+
.chaty-help-form .error-message {
|
3233 |
+
font-weight: 400;
|
3234 |
+
font-size: 14px
|
3235 |
+
}
|
3236 |
+
|
3237 |
+
.chaty-help-form input.input-error, .chaty-help-form textarea.input-error {
|
3238 |
+
border-color: #dc3232
|
3239 |
+
}
|
3240 |
+
|
3241 |
+
.chaty-help-btn span.tooltiptext {
|
3242 |
+
position: absolute;
|
3243 |
+
background: #000;
|
3244 |
+
font-size: 12px;
|
3245 |
+
color: #fff;
|
3246 |
+
top: -35px;
|
3247 |
+
width: 140%;
|
3248 |
+
text-align: center;
|
3249 |
+
left: -20%;
|
3250 |
+
border-radius: 5px;
|
3251 |
+
direction: ltr
|
3252 |
+
}
|
3253 |
+
|
3254 |
+
p.error-p, p.success-p {
|
3255 |
+
margin: 0;
|
3256 |
+
font-size: 14px;
|
3257 |
+
text-align: center
|
3258 |
+
}
|
3259 |
+
|
3260 |
+
.chaty-help-btn span.tooltiptext:after {
|
3261 |
+
bottom: -9px;
|
3262 |
+
content: "";
|
3263 |
+
transform: translateX(-50%);
|
3264 |
+
height: 10px;
|
3265 |
+
width: 10px;
|
3266 |
+
border-width: 10px 5px 0;
|
3267 |
+
border-style: solid;
|
3268 |
+
border-color: #000 transparent transparent;
|
3269 |
+
left: 50%;
|
3270 |
+
position: absolute
|
3271 |
+
}
|
3272 |
+
|
3273 |
+
p.success-p {
|
3274 |
+
color: green
|
3275 |
+
}
|
3276 |
+
|
3277 |
+
p.error-p {
|
3278 |
+
color: #dc3232
|
3279 |
+
}
|
3280 |
+
|
3281 |
+
html[dir=rtl] .chaty-help-btn {
|
3282 |
+
left: 20px;
|
3283 |
+
right: auto
|
3284 |
+
}
|
3285 |
+
|
3286 |
+
html[dir=rtl] .chaty-help-form {
|
3287 |
+
left: 85px;
|
3288 |
+
right: auto
|
3289 |
+
}
|
3290 |
+
|
3291 |
+
#rpt_container {
|
3292 |
+
margin-top: 24px;
|
3293 |
+
width: 100%
|
3294 |
+
}
|
3295 |
+
|
3296 |
+
select.form-fonts, select.chaty-select {
|
3297 |
+
width: 360px;
|
3298 |
+
max-width: 100%;
|
3299 |
+
border: none;
|
3300 |
+
color: #32373c;
|
3301 |
+
outline: 0;
|
3302 |
+
padding: 5px 7px;
|
3303 |
+
line-height: 26px;
|
3304 |
+
background-color: #ffffff;
|
3305 |
+
border-radius: 5px;
|
3306 |
+
height: 36px;
|
3307 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3308 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3309 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
3310 |
+
}
|
3311 |
+
select.chaty-select:disabled, textarea.test_textarea:disabled {
|
3312 |
+
background: #eee;
|
3313 |
+
border: solid 1px #ddd;
|
3314 |
+
color: #32373c;
|
3315 |
+
}
|
3316 |
+
.icon.label-tooltip {
|
3317 |
+
font-size: 12px;
|
3318 |
+
font-weight: normal;
|
3319 |
+
color: #72777c;
|
3320 |
+
display: inline-block;
|
3321 |
+
height: 24px !important;
|
3322 |
+
width: auto !important;
|
3323 |
+
}
|
3324 |
+
.icon.label-tooltip:after {
|
3325 |
+
width: 250px;
|
3326 |
+
white-space: normal;
|
3327 |
+
line-height: 16px;
|
3328 |
+
padding: 10px;
|
3329 |
+
}
|
3330 |
+
|
3331 |
+
p.udner-title strong {
|
3332 |
+
font-size: 40px;
|
3333 |
+
padding-bottom: 30px;
|
3334 |
+
display: block;
|
3335 |
+
color: #b97fcf
|
3336 |
+
}
|
3337 |
+
.channels-selected-list li {
|
3338 |
+
display: block;
|
3339 |
+
max-width: 640px;
|
3340 |
+
padding: 15px;
|
3341 |
+
background: #EFF6F6;
|
3342 |
+
-webkit-border-radius: 10px;
|
3343 |
+
-moz-border-radius: 10px;
|
3344 |
+
border-radius: 10px;
|
3345 |
+
margin-bottom: 15px;
|
3346 |
+
}
|
3347 |
+
.chaty-settings a {
|
3348 |
+
text-decoration: none;
|
3349 |
+
display: inline-block;
|
3350 |
+
color: #fff;
|
3351 |
+
margin-left: 15px;
|
3352 |
+
height: 26px;
|
3353 |
+
background: #A785CB;
|
3354 |
+
text-align: center;
|
3355 |
+
vertical-align: middle;
|
3356 |
+
-webkit-border-radius: 18px;
|
3357 |
+
-moz-border-radius: 18px;
|
3358 |
+
border-radius: 18px;
|
3359 |
+
font-size: 10px;
|
3360 |
+
line-height: 26px;
|
3361 |
+
padding: 0 5px;
|
3362 |
+
}
|
3363 |
+
.chaty-settings a .dashicons, .chaty-settings a .dashicons-before:before {
|
3364 |
+
font-size: 16px;
|
3365 |
+
line-height: 26px;
|
3366 |
+
display: inline-block;
|
3367 |
+
margin: 0;
|
3368 |
+
text-align: center;
|
3369 |
+
}
|
3370 |
+
.move-icon {
|
3371 |
+
display: inline-block;
|
3372 |
+
vertical-align: middle;
|
3373 |
+
}
|
3374 |
+
.move-icon img {
|
3375 |
+
width: 10px;
|
3376 |
+
margin-right: 5px;
|
3377 |
+
margin-top: 8px;
|
3378 |
+
cursor: move;
|
3379 |
+
}
|
3380 |
+
.chaty-default-settings > * {
|
3381 |
+
display: inline-block;
|
3382 |
+
vertical-align: middle;
|
3383 |
+
}
|
3384 |
+
.chaty-default-settings {
|
3385 |
+
display: flex;
|
3386 |
+
align-items: center;
|
3387 |
+
flex-wrap: wrap;
|
3388 |
+
position: relative;
|
3389 |
+
padding-bottom: 15px;
|
3390 |
+
}
|
3391 |
+
.chaty-advance-settings {
|
3392 |
+
width: 100%;
|
3393 |
+
border: solid 1px #a785cb;
|
3394 |
+
margin: 20px 0 0 0;
|
3395 |
+
padding: 10px;
|
3396 |
+
-webkit-border-radius: 5px;
|
3397 |
+
-moz-border-radius: 5px;
|
3398 |
+
border-radius: 5px;
|
3399 |
+
background: #f2f2f2;
|
3400 |
+
display: none;
|
3401 |
+
min-height: 70px;
|
3402 |
+
position: relative;
|
3403 |
+
}
|
3404 |
+
.chaty-setting-col > * {
|
3405 |
+
display: inline-block;
|
3406 |
+
padding: 0 0 10px 0;
|
3407 |
+
vertical-align: top;
|
3408 |
+
line-height: 36px;
|
3409 |
+
}
|
3410 |
+
.chaty-setting-col > label {
|
3411 |
+
width: 170px;
|
3412 |
+
}
|
3413 |
+
.chaty-setting-col .channels__view {
|
3414 |
+
margin: 0;
|
3415 |
+
padding: 0;
|
3416 |
+
}
|
3417 |
+
.chaty-setting-col input[type=text], select.channel-select-input {
|
3418 |
+
width: 300px;
|
3419 |
+
height: 36px;
|
3420 |
+
line-height: 36px;
|
3421 |
+
padding: 0 10px;
|
3422 |
+
-webkit-border-radius: 4px;
|
3423 |
+
-moz-border-radius: 4px;
|
3424 |
+
border-radius: 4px;
|
3425 |
+
font-family: Rubik,sans-serif;
|
3426 |
+
font-size: 17px;
|
3427 |
+
}
|
3428 |
+
.sp-replacer.sp-light {
|
3429 |
+
padding: 0;
|
3430 |
+
-webkit-border-radius: 4px;
|
3431 |
+
-moz-border-radius: 4px;
|
3432 |
+
border-radius: 4px;
|
3433 |
+
border: none;
|
3434 |
+
}
|
3435 |
+
.chaty-setting-col a.upload-chaty-icon {
|
3436 |
+
background: #a886cd;
|
3437 |
+
color: #fff;
|
3438 |
+
text-decoration: none;
|
3439 |
+
line-height: 36px;
|
3440 |
+
padding: 0 10px;
|
3441 |
+
-webkit-border-radius: 4px;
|
3442 |
+
-moz-border-radius: 4px;
|
3443 |
+
border-radius: 4px;
|
3444 |
+
display: inline-block;
|
3445 |
+
}
|
3446 |
+
.chaty-setting-col a.upload-chaty-icon span {
|
3447 |
+
line-height: 40px;
|
3448 |
+
}
|
3449 |
+
.chaty-setting-col input[type='text'].chaty-color-field {
|
3450 |
+
width: 40px;
|
3451 |
+
}
|
3452 |
+
.chaty-setting-col input[type='text']:read-only {
|
3453 |
+
background: #fff;
|
3454 |
+
}
|
3455 |
+
.chaty-pro-feature {
|
3456 |
+
position: absolute;
|
3457 |
+
left: 0;
|
3458 |
+
width: 100%;
|
3459 |
+
text-align: center;
|
3460 |
+
top: 0;
|
3461 |
+
height: 100%;
|
3462 |
+
vertical-align: middle;
|
3463 |
+
background: rgba(255,255,255,0.4);
|
3464 |
+
-webkit-border-radius: 5px;
|
3465 |
+
-moz-border-radius: 5px;
|
3466 |
+
border-radius: 5px;
|
3467 |
+
display: none;
|
3468 |
+
}
|
3469 |
+
.chaty-advance-settings:hover .chaty-pro-feature, .chaty-date-time-option:hover .chaty-pro-feature {
|
3470 |
+
display: inline-block;
|
3471 |
+
width: 170px;
|
3472 |
+
margin: 0 auto;
|
3473 |
+
left: 0;
|
3474 |
+
right: 0;
|
3475 |
+
}
|
3476 |
+
/*.chaty-advance-settings:hover .chaty-setting-col {
|
3477 |
+
filter: blur(2px);
|
3478 |
+
-o-filter: blur(2px);
|
3479 |
+
-ms-filter: blur(2px);
|
3480 |
+
-moz-filter: blur(2px);
|
3481 |
+
-webkit-filter: blur(2px);
|
3482 |
+
}*/
|
3483 |
+
.chaty-pro-feature a {
|
3484 |
+
text-decoration: none;
|
3485 |
+
background: #ff6624;
|
3486 |
+
color: #fff;
|
3487 |
+
padding: 0px 10px;
|
3488 |
+
line-height: 36px;
|
3489 |
+
display: inline-block;
|
3490 |
+
top: 50%;
|
3491 |
+
position: absolute;
|
3492 |
+
left: 0;
|
3493 |
+
right: 0;
|
3494 |
+
width: 180px;
|
3495 |
+
margin: -20px auto 0;
|
3496 |
+
-webkit-border-radius: 5px;
|
3497 |
+
-moz-border-radius: 5px;
|
3498 |
+
border-radius: 5px;
|
3499 |
+
}
|
3500 |
+
.chaty-pro-feature a:hover {
|
3501 |
+
background: #a886cd;
|
3502 |
+
}
|
3503 |
+
a#upload_qr_code {
|
3504 |
+
background: #fff;
|
3505 |
+
display: inline-block;
|
3506 |
+
height: 40px;
|
3507 |
+
width: 40px;
|
3508 |
+
text-align: center;
|
3509 |
+
line-height: 40px;
|
3510 |
+
text-decoration: none;
|
3511 |
+
}
|
3512 |
+
a#upload_qr_code span {
|
3513 |
+
line-height: 36px;
|
3514 |
+
}
|
3515 |
+
.cls-btn-settings, .close-btn-set {
|
3516 |
+
opacity: 0;
|
3517 |
+
visibility: hidden;
|
3518 |
+
pointer-events: none;
|
3519 |
+
}
|
3520 |
+
.cls-btn-settings.active, .close-btn-set.active {
|
3521 |
+
opacity: 1;
|
3522 |
+
visibility: visible;
|
3523 |
+
pointer-events: auto;
|
3524 |
+
}
|
3525 |
+
.chaty-settings.cls-btn {
|
3526 |
+
margin-left: 164px;
|
3527 |
+
}
|
3528 |
+
.section2 {
|
3529 |
+
padding: 25px 15px 30px;
|
3530 |
+
border-top: 2px solid rgba(130, 130, 130, .1);
|
3531 |
+
}
|
3532 |
+
#chaty-social-close {
|
3533 |
+
display: none;
|
3534 |
+
}
|
3535 |
+
#chaty-social-Facebook_Messenger .chaty-default-settings {
|
3536 |
+
padding-bottom: 25px;
|
3537 |
+
}
|
3538 |
+
ul#channels-selected-list {
|
3539 |
+
margin: 0;
|
3540 |
+
padding: 0;
|
3541 |
+
}
|
3542 |
+
.channels-selected-list li.ui-chaty-state-hl {
|
3543 |
+
border: dashed 1px #6972da;
|
3544 |
+
min-height: 95px;
|
3545 |
+
}
|
3546 |
+
.viber-help {
|
3547 |
+
position: absolute;
|
3548 |
+
right: 43px;
|
3549 |
+
bottom: -4px;
|
3550 |
+
font-size: 12px;
|
3551 |
+
color: #665cac;
|
3552 |
+
text-decoration: underline;
|
3553 |
+
cursor: pointer;
|
3554 |
+
}
|
3555 |
+
.viber-help span.help-text {
|
3556 |
+
position: absolute;
|
3557 |
+
width: 210px;
|
3558 |
+
left: -80%;
|
3559 |
+
text-align: center;
|
3560 |
+
background: #000;
|
3561 |
+
padding: 5px;
|
3562 |
+
color: #fff;
|
3563 |
+
font-size: 12px;
|
3564 |
+
bottom: 20px;
|
3565 |
+
z-index: 101;
|
3566 |
+
-webkit-border-radius: 4px;
|
3567 |
+
-moz-border-radius: 4px;
|
3568 |
+
border-radius: 4px;
|
3569 |
+
display: none;
|
3570 |
+
}
|
3571 |
+
.viber-help:hover span {
|
3572 |
+
display: block;
|
3573 |
+
}
|
3574 |
+
a.create-rule {
|
3575 |
+
background: #ff6624;
|
3576 |
+
text-decoration: none;
|
3577 |
+
padding: 5px 20px;
|
3578 |
+
color: #fff;
|
3579 |
+
-webkit-border-radius: 5px;
|
3580 |
+
-moz-border-radius: 5px;
|
3581 |
+
border-radius: 5px;
|
3582 |
+
display: inline-block;
|
3583 |
+
}
|
3584 |
+
a.create-rule.remove-rules {
|
3585 |
+
background: #7e8993;
|
3586 |
+
color: #fff;
|
3587 |
+
display: inline-block;
|
3588 |
+
}
|
3589 |
+
.chaty-pro-block {
|
3590 |
+
position: relative;
|
3591 |
+
}
|
3592 |
+
.chaty-pro-block:hover .chaty-pro-feature {
|
3593 |
+
display: inline-block;
|
3594 |
+
}
|
3595 |
+
.chaty-settings.cls-btn span {
|
3596 |
+
padding-left: 2px;
|
3597 |
+
}
|
3598 |
+
|
3599 |
+
.chaty-page-option {
|
3600 |
+
padding: 5px;
|
3601 |
+
background: #f6f3fa;
|
3602 |
+
margin-bottom: 15px;
|
3603 |
+
-webkit-border-radius: 4px;
|
3604 |
+
-moz-border-radius: 4px;
|
3605 |
+
border-radius: 4px;
|
3606 |
+
position: relative;
|
3607 |
+
}
|
3608 |
+
.url-select {
|
3609 |
+
width: 17%;
|
3610 |
+
display: inline-block;
|
3611 |
+
padding-right: 5px;
|
3612 |
+
}
|
3613 |
+
.url-content > * {
|
3614 |
+
vertical-align: middle;
|
3615 |
+
}
|
3616 |
+
.url-option {
|
3617 |
+
width: 20%;
|
3618 |
+
display: inline-block;
|
3619 |
+
padding-right: 5px;
|
3620 |
+
}
|
3621 |
+
.url-box {
|
3622 |
+
width: 25%;
|
3623 |
+
display: inline-block;
|
3624 |
+
padding-right: 0px;
|
3625 |
+
text-align: right;
|
3626 |
+
}
|
3627 |
+
.url-values {
|
3628 |
+
width: calc(37% - 46px);
|
3629 |
+
display: inline-block;
|
3630 |
+
padding-right: 5px;
|
3631 |
+
}
|
3632 |
+
.url-buttons, .day-buttons {
|
3633 |
+
width: 36px;
|
3634 |
+
display: inline-block;
|
3635 |
+
float: right;
|
3636 |
+
padding: 0;
|
3637 |
+
}
|
3638 |
+
.url-buttons {
|
3639 |
+
padding: 2px 0 0 0;
|
3640 |
+
}
|
3641 |
+
span.chaty-url {
|
3642 |
+
font-size: 12px;
|
3643 |
+
line-height: 12px;
|
3644 |
+
}
|
3645 |
+
.url-content .remove-chaty {
|
3646 |
+
background: #bd2a00;
|
3647 |
+
text-align: center;
|
3648 |
+
display: block;
|
3649 |
+
line-height: 36px;
|
3650 |
+
-webkit-border-radius: 4px;
|
3651 |
+
-moz-border-radius: 4px;
|
3652 |
+
border-radius: 4px;
|
3653 |
+
}
|
3654 |
+
.url-content select, .url-content input {
|
3655 |
+
width: 100%;
|
3656 |
+
height: 36px;
|
3657 |
+
line-height: 36px;
|
3658 |
+
padding: 0 10px;
|
3659 |
+
-webkit-border-radius: 4px;
|
3660 |
+
-moz-border-radius: 4px;
|
3661 |
+
border-radius: 4px;
|
3662 |
+
}
|
3663 |
+
.chaty-option-box .page-options:hover .chaty-page-option {
|
3664 |
+
/*filter: blur(2px);
|
3665 |
+
-o-filter: blur(2px);
|
3666 |
+
-ms-filter: blur(2px);
|
3667 |
+
-moz-filter: blur(2px);
|
3668 |
+
-webkit-filter: blur(2px);*/
|
3669 |
+
}
|
3670 |
+
.page-options {
|
3671 |
+
position: relative;
|
3672 |
+
display: none;
|
3673 |
+
}
|
3674 |
+
.chaty-option-box .page-options:hover .chaty-pro-feature {
|
3675 |
+
display: block;
|
3676 |
+
width: 170px;
|
3677 |
+
margin: 0 auto;
|
3678 |
+
left: 0;
|
3679 |
+
right: 0;
|
3680 |
+
}
|
3681 |
+
.preview {
|
3682 |
+
position: fixed;
|
3683 |
+
top: 190px;
|
3684 |
+
width: 337px;
|
3685 |
+
height: 290px;
|
3686 |
+
bottom: auto;
|
3687 |
+
}
|
3688 |
+
.preview-section-chaty {
|
3689 |
+
position: static;
|
3690 |
+
width: 352px;
|
3691 |
+
height: 320px;
|
3692 |
+
display: block;
|
3693 |
+
vertical-align: baseline;
|
3694 |
+
float: right;
|
3695 |
+
}
|
3696 |
+
select.multiple-options {
|
3697 |
+
max-width: 100%;
|
3698 |
+
}
|
3699 |
+
.updates-form-form {
|
3700 |
+
min-height: calc(100vh - 280px);
|
3701 |
+
}
|
3702 |
+
.popup-form-content {
|
3703 |
+
background: #ffffff;
|
3704 |
+
min-height: 100px;
|
3705 |
+
width: 450px;
|
3706 |
+
text-align: center;
|
3707 |
+
margin-top: 50px;
|
3708 |
+
border: solid 1px #c1c1c1;
|
3709 |
+
}
|
3710 |
+
.updates-content-buttons button {
|
3711 |
+
margin: 10px 3px !important;
|
3712 |
+
float: left;
|
3713 |
+
}
|
3714 |
+
.updates-content-buttons a span {
|
3715 |
+
-webkit-animation: fa-spin 0.75s infinite linear;
|
3716 |
+
animation: fa-spin 0.75s infinite linear;
|
3717 |
+
}
|
3718 |
+
.updates-content-buttons a:hover, .updates-content-buttons a:focus {
|
3719 |
+
color: #ffffff;
|
3720 |
+
background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
|
3721 |
+
}
|
3722 |
+
.updates-content-buttons a:focus {
|
3723 |
+
outline: 0;
|
3724 |
+
box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50,100,150,.4);
|
3725 |
+
}
|
3726 |
+
.updates-content-buttons button.form-cancel-btn {
|
3727 |
+
float: right !important;
|
3728 |
+
}
|
3729 |
+
.form-submit-btn {
|
3730 |
+
background-color: #3085d6;
|
3731 |
+
}
|
3732 |
+
.updates-content-buttons a span {
|
3733 |
+
-webkit-animation: fa-spin 0.75s infinite linear;
|
3734 |
+
animation: fa-spin 0.75s infinite linear;
|
3735 |
+
}
|
3736 |
+
.add-update-folder-title {
|
3737 |
+
font-size: 20px;
|
3738 |
+
line-height: 30px;
|
3739 |
+
padding: 20px 20px 0;
|
3740 |
+
}
|
3741 |
+
.folder-form-input {
|
3742 |
+
padding: 10px 20px;
|
3743 |
+
}
|
3744 |
+
.folder-form-input input {
|
3745 |
+
width: 100%;
|
3746 |
+
transition: border-color .3s,box-shadow .3s;
|
3747 |
+
border: 1px solid #d9d9d9;
|
3748 |
+
border-radius: .1875em;
|
3749 |
+
font-size: 1.125em;
|
3750 |
+
box-shadow: inset 0 1px 1px rgba(0,0,0,.06);
|
3751 |
+
box-sizing: border-box;
|
3752 |
+
height: 2.625em;
|
3753 |
+
margin: 1em auto;
|
3754 |
+
}
|
3755 |
+
.updates-content-buttons {
|
3756 |
+
background: #c1c1c1;
|
3757 |
+
padding: 0 20px;
|
3758 |
+
}
|
3759 |
+
.notice.chaty-notice {
|
3760 |
+
display: block !important;
|
3761 |
+
}
|
3762 |
+
.preview .h2 {
|
3763 |
+
padding: 40px 0 10px 0;
|
3764 |
+
text-align: center;
|
3765 |
+
font-weight: bold;
|
3766 |
+
}
|
3767 |
+
.pro-features {
|
3768 |
+
position: relative;
|
3769 |
+
display: inline-flex;
|
3770 |
+
}
|
3771 |
+
.pro-item {
|
3772 |
+
position: relative;
|
3773 |
+
}
|
3774 |
+
.pro-button {
|
3775 |
+
display: none;
|
3776 |
+
position: absolute;
|
3777 |
+
width: 100%;
|
3778 |
+
top: 0;
|
3779 |
+
left: 0;
|
3780 |
+
height: 100%;
|
3781 |
+
line-height: 36px;
|
3782 |
+
text-align: center;
|
3783 |
+
}
|
3784 |
+
.pro-button a {
|
3785 |
+
/*display: inline-block;
|
3786 |
+
background: #fb8a58;
|
3787 |
+
color: #fff;
|
3788 |
+
text-decoration: none;
|
3789 |
+
padding: 0 6px;
|
3790 |
+
border-radius: 4px;
|
3791 |
+
font-size: 12px;
|
3792 |
+
height: 26px;
|
3793 |
+
line-height: 26px;*/
|
3794 |
+
display: block;
|
3795 |
+
line-height: 36px;
|
3796 |
+
}
|
3797 |
+
.pro-features:hover .pro-item {
|
3798 |
+
opacity:0.25;
|
3799 |
+
filter: blur(2px);
|
3800 |
+
-o-filter: blur(2px);
|
3801 |
+
-ms-filter: blur(2px);
|
3802 |
+
-moz-filter: blur(2px);
|
3803 |
+
-webkit-filter: blur(2px);
|
3804 |
+
}
|
3805 |
+
.pro-features:hover .pro-button {
|
3806 |
+
display: block;
|
3807 |
+
}
|
3808 |
+
.sp-replacer.sp-light {
|
3809 |
+
padding: 0;
|
3810 |
+
-webkit-border-radius: 4px;
|
3811 |
+
-moz-border-radius: 4px;
|
3812 |
+
border-radius: 4px;
|
3813 |
+
border: none;
|
3814 |
+
}
|
3815 |
+
.sp-preview {
|
3816 |
+
padding: 0;
|
3817 |
+
margin: 0;
|
3818 |
+
height: 36px;
|
3819 |
+
width: 36px;
|
3820 |
+
border: none;
|
3821 |
+
-webkit-border-radius: 4px;
|
3822 |
+
-moz-border-radius: 4px;
|
3823 |
+
border-radius: 4px;
|
3824 |
+
}
|
3825 |
+
.sp-preview-inner {
|
3826 |
+
-webkit-border-radius: 4px;
|
3827 |
+
-moz-border-radius: 4px;
|
3828 |
+
border-radius: 4px;
|
3829 |
+
}
|
3830 |
+
.sp-dd {
|
3831 |
+
display: none;
|
3832 |
+
}
|
3833 |
+
span.facustom-icon {
|
3834 |
+
display: block;
|
3835 |
+
width: 50px;
|
3836 |
+
height: 50px;
|
3837 |
+
font-size: 30px;
|
3838 |
+
line-height: 50px;
|
3839 |
+
-webkit-border-radius: 50%;
|
3840 |
+
-moz-border-radius: 50%;
|
3841 |
+
border-radius: 50%;
|
3842 |
+
}
|
3843 |
+
span.default-chaty-icon .facustom-icon {
|
3844 |
+
display: none;
|
3845 |
+
}
|
3846 |
+
span.default-chaty-icon.has-fa-icon .facustom-icon {
|
3847 |
+
display: block;
|
3848 |
+
}
|
3849 |
+
span.default-chaty-icon.has-fa-icon svg {
|
3850 |
+
display: none;
|
3851 |
+
}
|
3852 |
+
.preview .page .chaty-widget span.facustom-icon {
|
3853 |
+
width: 30px;
|
3854 |
+
height: 30px;
|
3855 |
+
line-height: 30px;
|
3856 |
+
font-size: 20px;
|
3857 |
+
}
|
3858 |
+
.preview .page .chaty-widget span.facustom-icon i {
|
3859 |
+
line-height: 30px;
|
3860 |
+
font-size: 18px;
|
3861 |
+
}
|
3862 |
+
.preview.mobiel-view .page .chaty-widget span.facustom-icon {
|
3863 |
+
width: 24px;
|
3864 |
+
height: 24px;
|
3865 |
+
line-height: 24px;
|
3866 |
+
font-size: 12px;
|
3867 |
+
}
|
3868 |
+
.preview.mobiel-view .page .chaty-widget svg {
|
3869 |
+
width: 24px;
|
3870 |
+
height: 24px;
|
3871 |
+
}
|
3872 |
+
.preview.mobiel-view .page .chaty-widget span.facustom-icon i {
|
3873 |
+
line-height: 24px;
|
3874 |
+
font-size: 14px;
|
3875 |
+
}
|
3876 |
+
.preview.mobiel-view .page .chaty-widget .social-item-box {
|
3877 |
+
height: 24px;
|
3878 |
+
margin: 0 0 4px 0;
|
3879 |
+
}
|
3880 |
+
label.custom-control.custom-radio:before {
|
3881 |
+
display: none;
|
3882 |
+
}
|
3883 |
+
.channels-selected-list li#chaty-social-Poptin {
|
3884 |
+
padding-bottom: 30px;
|
3885 |
+
}
|
3886 |
+
|
3887 |
+
/* Only for Free */
|
3888 |
+
.chaty-popup {
|
3889 |
+
position: fixed;
|
3890 |
+
width: 100%;
|
3891 |
+
height: 100%;
|
3892 |
+
top: 0;
|
3893 |
+
left: 0;
|
3894 |
+
z-index: 100001;
|
3895 |
+
background: rgba(0,0,0,0.75);
|
3896 |
+
}
|
3897 |
+
.chaty-popup-box {
|
3898 |
+
padding: 0px;
|
3899 |
+
width: 600px;
|
3900 |
+
max-width: 100%;
|
3901 |
+
margin: auto;
|
3902 |
+
top: 50%;
|
3903 |
+
position: absolute;
|
3904 |
+
left: 0;
|
3905 |
+
right: 0;
|
3906 |
+
border-radius: 5px;
|
3907 |
+
transform: translate(0, -50%);
|
3908 |
+
-webkit-transform: translate(0, -50%);
|
3909 |
+
-moz-transform: translate(0, -50%);
|
3910 |
+
text-align: center;
|
3911 |
+
background: #fcfcfc;
|
3912 |
+
}
|
3913 |
+
.chaty-popup-header {
|
3914 |
+
padding: 15px;
|
3915 |
+
font-size: 20px;
|
3916 |
+
border-bottom: solid 1px #e6e6e6;
|
3917 |
+
}
|
3918 |
+
.chaty-popup-content {
|
3919 |
+
background: #ffffff;
|
3920 |
+
padding: 15px;
|
3921 |
+
}
|
3922 |
+
.chaty-popup-content iframe {
|
3923 |
+
margin: 30px 0;
|
3924 |
+
}
|
3925 |
+
.chaty-popup-footer {
|
3926 |
+
padding: 10px 15px;
|
3927 |
+
border-top: solid 1px #e6e6e6;
|
3928 |
+
}
|
3929 |
+
.chaty-popup-footer button {
|
3930 |
+
border: solid 1px #00c478;
|
3931 |
+
padding: 5px 10px;
|
3932 |
+
border-radius: 4px;
|
3933 |
+
background: #00c478;
|
3934 |
+
color: #fff;
|
3935 |
+
}
|
3936 |
+
button.btn.btn-default {
|
3937 |
+
background: #fff;
|
3938 |
+
color: #333;
|
3939 |
+
border: solid 1px #333;
|
3940 |
+
outline: none;
|
3941 |
+
box-shadow: none;
|
3942 |
+
}
|
3943 |
+
.close-chaty-popup {
|
3944 |
+
|
3945 |
+
}
|
3946 |
+
.country-option-box {
|
3947 |
+
position: relative;
|
3948 |
+
}
|
3949 |
+
.country-option-box:hover .country-list-box {
|
3950 |
+
filter: blur(2px);
|
3951 |
+
-o-filter: blur(2px);
|
3952 |
+
-ms-filter: blur(2px);
|
3953 |
+
-moz-filter: blur(2px);
|
3954 |
+
-webkit-filter: blur(2px);
|
3955 |
+
}
|
3956 |
+
.country-option-box:hover .chaty-pro-feature {
|
3957 |
+
display: block;
|
3958 |
+
}
|
3959 |
+
.custom-css {
|
3960 |
+
-webkit-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
3961 |
+
-moz-box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
3962 |
+
box-shadow: 0 0 15px 0 rgba(234, 234, 234, 1);
|
3963 |
+
border-radius: 5px;
|
3964 |
+
-webkit-border-radius: 5px;
|
3965 |
+
-moz-border-radius: 5px;
|
3966 |
+
padding: 10px;
|
3967 |
+
height: 70px;
|
3968 |
+
border: solid 1px #f6f6f6;
|
3969 |
+
width: 360px;
|
3970 |
+
max-width: 100%;
|
3971 |
+
}
|
3972 |
+
.close-chaty-popup span {
|
3973 |
+
line-height: 20px;
|
3974 |
+
}
|
3975 |
+
.close-chaty-popup {
|
3976 |
+
margin: 0;
|
3977 |
+
padding: 0;
|
3978 |
+
background: 0 0;
|
3979 |
+
border: none;
|
3980 |
+
float: right;
|
3981 |
+
background: #000;
|
3982 |
+
border-radius: 50%;
|
3983 |
+
color: #fff;
|
3984 |
+
text-align: center;
|
3985 |
+
width: 24px;
|
3986 |
+
height: 24px;
|
3987 |
+
}
|
3988 |
+
|
3989 |
+
.css-option-box {
|
3990 |
+
width: 350px;
|
3991 |
+
max-width: 100%;
|
3992 |
+
}
|
3993 |
+
.chaty-channel .advanced-settings {
|
3994 |
+
display: none;
|
3995 |
+
width: 100%;
|
3996 |
+
}
|
3997 |
+
.chaty-channel[data-channel='Whatsapp'] .advanced-settings.Whatsapp-settings,
|
3998 |
+
.chaty-channel[data-channel='Email'] .advanced-settings.Email-settings,
|
3999 |
+
.chaty-channel[data-channel='WeChat'] .advanced-settings.WeChat-settings,
|
4000 |
+
.chaty-channel[data-channel='Link'] .advanced-settings.Link-settings,
|
4001 |
+
.chaty-channel[data-channel='Linkedin'] .advanced-settings.Linkedin-settings,
|
4002 |
+
.chaty-channel[data-channel='Custom_Link'] .advanced-settings.Custom_Link-settings,
|
4003 |
+
.chaty-channel[data-channel='Custom_Link_3'] .advanced-settings.Custom_Link_3-settings,
|
4004 |
+
.chaty-channel[data-channel='Custom_Link_4'] .advanced-settings.Custom_Link_4-settings,
|
4005 |
+
.chaty-channel[data-channel='Custom_Link_5'] .advanced-settings.Custom_Link_5-settings,
|
4006 |
+
.chaty-channel[data-channel='Contact_Us'] .advanced-settings.Contact_Us-settings {
|
4007 |
+
display: block;
|
4008 |
+
}
|
4009 |
+
.preview .page .chaty-widget.horizontal.chaty-widget-icons-left #iconWidget,
|
4010 |
+
.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-close-icon {
|
4011 |
+
float: left;
|
4012 |
+
}
|
4013 |
+
.preview .page .chaty-widget.horizontal.chaty-widget-icons-left .chaty-channels {
|
4014 |
+
float: right;
|
4015 |
+
}
|
4016 |
+
.chaty-widget.horizontal.chaty-widget-icons-left .social-item-box {
|
4017 |
+
margin: 0 0 0 5px;
|
4018 |
+
vertical-align: bottom;
|
4019 |
+
}
|
4020 |
+
.chaty-widget.horizontal span.social-tooltip {
|
4021 |
+
right: auto;
|
4022 |
+
left: auto;
|
4023 |
+
transform: translate(calc(-50% + 15px), -150%);
|
4024 |
+
top: 0;
|
4025 |
+
margin: 0 auto;
|
4026 |
+
}
|
4027 |
+
.chaty-widget.horizontal span.social-tooltip:after {
|
4028 |
+
top: 100%;
|
4029 |
+
left: 0;
|
4030 |
+
right: 0;
|
4031 |
+
margin: 0px auto;
|
4032 |
+
transform: rotate(-90deg);
|
4033 |
+
width: 10px;
|
4034 |
+
height: 10px;
|
4035 |
+
}
|
4036 |
+
.chaty-widget.horizontal.chaty-widget-icons-left span.social-tooltip:after {
|
4037 |
+
transform: rotate(90deg);
|
4038 |
+
}
|
4039 |
+
.ui-sortable-handle {
|
4040 |
+
touch-action: inherit !important;
|
4041 |
+
}
|
4042 |
+
.chaty-widget.horizontal .social-item-box {
|
4043 |
+
display: inline-block;
|
4044 |
+
margin: 0 5px 0px 0;
|
4045 |
+
vertical-align: bottom;
|
4046 |
+
}
|
4047 |
+
.chaty-widget.active.horizontal .chaty-channels, .chaty-widget.hover.horizontal:hover .chaty-channels {
|
4048 |
+
display: inline-block;
|
4049 |
+
}
|
4050 |
+
.preview .page .chaty-widget.active:not(.has-single) i#iconWidget, .preview .page .chaty-widget.hover:hover:not(.has-single) i#iconWidget {
|
4051 |
+
display: none!important;
|
4052 |
+
}
|
4053 |
+
.preview .page .chaty-widget.horizontal.active:not(.has-single):not(.hide-arrow) i.chaty-close-icon, .preview .page .chaty-widget.horizontal.hover:hover:not(.has-single):not(.hide-arrow) i.chaty-close-icon {
|
4054 |
+
display: inline-block!important;
|
4055 |
+
vertical-align: bottom;
|
4056 |
+
}
|
4057 |
+
.ui-sortable-handle {
|
4058 |
+
touch-action: inherit !important;
|
4059 |
+
}
|
4060 |
+
.form-horizontal__item.o-channel {
|
4061 |
+
display: none;
|
4062 |
+
}
|
4063 |
+
.form-horizontal__item.o-channel.active {
|
4064 |
+
display: flex;
|
4065 |
+
}
|
4066 |
+
.font-section {
|
4067 |
+
margin-top: 30px;
|
4068 |
+
}
|
4069 |
+
.font-section.active {
|
4070 |
+
margin: 0;
|
4071 |
+
}
|
4072 |
+
|
4073 |
+
|
4074 |
+
.form-horizontal__item .cht-input {
|
4075 |
+
max-width: 100%;
|
4076 |
+
width: 350px;
|
4077 |
+
}
|
4078 |
+
body *.form-horizontal__item *.cht-input:disabled {
|
4079 |
+
background: #eee;
|
4080 |
+
border: solid 1px #ddd;
|
4081 |
+
color: #32373c;
|
4082 |
+
font-size: 14px;
|
4083 |
+
}
|
4084 |
+
.form-horizontal__item .sp-replacer.sp-light.sp-disabled .sp-preview-inner {
|
4085 |
+
background: #eee !important;
|
4086 |
+
border: solid 1px #ddd;
|
4087 |
+
}
|
4088 |
+
.form-horizontal__item .sp-replacer.sp-light {
|
4089 |
+
-webkit-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
4090 |
+
-moz-box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
4091 |
+
box-shadow: 0px 0px 15px 0px rgba(234, 234, 234, 1);
|
4092 |
+
}
|
4093 |
+
.switch input[type=checkbox]:disabled + .switch__styled {
|
4094 |
+
background: #e2e2e2 !important;
|
4095 |
+
}
|
4096 |
+
.form-horizontal__item .sp-replacer.sp-light .sp-preview {
|
4097 |
+
margin: 0;
|
4098 |
+
}
|
4099 |
+
.main .form-horizontal__item.pending-message-items {
|
4100 |
+
display: none;
|
4101 |
+
}
|
4102 |
+
.main .form-horizontal__item.pending-message-items.active {
|
4103 |
+
display: flex;
|
4104 |
+
}
|
4105 |
+
span.pop-number {
|
4106 |
+
position: absolute;
|
4107 |
+
top: -6px;
|
4108 |
+
right: -6px;
|
4109 |
+
font-size: 10px;
|
4110 |
+
border-radius: 50%;
|
4111 |
+
line-height: 12px;
|
4112 |
+
padding: 2px;
|
4113 |
+
min-width: 16px;
|
4114 |
+
min-height: 16px;
|
4115 |
+
text-align: center;
|
4116 |
+
}
|
4117 |
+
.disable-message.label-tooltip.icon {
|
4118 |
+
font-size: 17px;
|
4119 |
+
}
|
4120 |
+
.cta-action-radio .disable-message {
|
4121 |
+
display: inline-block;
|
4122 |
+
margin-left: 10px;
|
4123 |
+
}
|
4124 |
+
.custom-control.custom-radio .custom-control-input:checked:disabled ~ .custom-control-label:before {
|
4125 |
+
background: #e2e2e2 !important;
|
4126 |
+
}
|
4127 |
+
.preview .page .chaty-widget .icon i#iconWidget {
|
4128 |
+
position: relative;
|
4129 |
+
overflow: inherit;
|
4130 |
+
}
|
4131 |
+
.disable-message.label-tooltip .sp-replacer.sp-light {
|
4132 |
+
pointer-events: none;
|
4133 |
+
}
|
4134 |
+
|
4135 |
+
.chaty-popup {
|
4136 |
+
display: none;
|
4137 |
+
}
|
4138 |
+
.chaty-popup-outer {
|
4139 |
+
position: fixed;
|
4140 |
+
width: 100%;
|
4141 |
+
height: 100%;
|
4142 |
+
background: rgba(0,0,0,0.4);
|
4143 |
+
left: 0;
|
4144 |
+
top: 0;
|
4145 |
+
z-index: 1010;
|
4146 |
+
}
|
4147 |
+
.chaty-popup-inner {
|
4148 |
+
position: fixed;
|
4149 |
+
height: auto;
|
4150 |
+
left: 0;
|
4151 |
+
top: 50%;
|
4152 |
+
right: 0;
|
4153 |
+
margin: 0 auto;
|
4154 |
+
width: 480px;
|
4155 |
+
max-width: 100%;
|
4156 |
+
z-index: 1012;
|
4157 |
+
-webkit-transform: translate(0px, -50%);
|
4158 |
+
-moz-transform: translate(0px, -50%);
|
4159 |
+
transform: translate(0px, -50%);
|
4160 |
+
font-weight: normal;
|
4161 |
+
}
|
4162 |
+
.chaty-popup .chaty-popup-content {
|
4163 |
+
position: relative;
|
4164 |
+
padding: 0;
|
4165 |
+
margin: 0;
|
4166 |
+
top: 0;
|
4167 |
+
width: 100%;
|
4168 |
+
}
|
4169 |
+
.chaty-popup-close {
|
4170 |
+
position: absolute;
|
4171 |
+
width: 20px;
|
4172 |
+
height: 20px;
|
4173 |
+
right: 4px;
|
4174 |
+
top: 4px;
|
4175 |
+
z-index: 110;
|
4176 |
+
}
|
4177 |
+
.chaty-popup-close a {
|
4178 |
+
display: block;
|
4179 |
+
width: 20px;
|
4180 |
+
height: 20px;
|
4181 |
+
padding: 4px;
|
4182 |
+
box-sizing: border-box;
|
4183 |
+
vertical-align: top;
|
4184 |
+
line-height: 12px;
|
4185 |
+
}
|
4186 |
+
.chaty-popup-close svg {
|
4187 |
+
width: 100%;
|
4188 |
+
height: 100%;
|
4189 |
+
}
|
4190 |
+
.chaty-popup-header {
|
4191 |
+
padding: 10px;
|
4192 |
+
border-bottom: solid 1px #e8e8e8;
|
4193 |
+
font-weight: bold;
|
4194 |
+
text-align: center;
|
4195 |
+
font-size: 20px;
|
4196 |
+
}
|
4197 |
+
.chaty-popup-body {
|
4198 |
+
padding: 40px 20px;
|
4199 |
+
text-align: center;
|
4200 |
+
}
|
4201 |
+
.chaty-popup-footer {
|
4202 |
+
padding: 15px 10px;
|
4203 |
+
text-align: center;
|
4204 |
+
border-top: solid 1px #e8e8e8;
|
4205 |
+
}
|
4206 |
+
.chaty-popup-footer button {
|
4207 |
+
border: solid 1px #00c478;
|
4208 |
+
padding: 5px 10px;
|
4209 |
+
border-radius: 4px;
|
4210 |
+
background: #00c478;
|
4211 |
+
color: #fff;
|
4212 |
+
}
|
4213 |
+
.chaty-popup-footer button.btn.btn-default {
|
4214 |
+
background: #fff;
|
4215 |
+
color: #333;
|
4216 |
+
border: solid 1px #333;
|
4217 |
+
outline: 0;
|
4218 |
+
box-shadow: none;
|
4219 |
+
}
|
4220 |
+
.gtm-select {
|
4221 |
+
width: 27%;
|
4222 |
+
}
|
4223 |
+
.color-setting {
|
4224 |
+
width: 100%;
|
4225 |
+
max-width: 500px;
|
4226 |
+
padding: 30px 0;
|
4227 |
+
}
|
4228 |
+
.color-box {
|
4229 |
+
display: flex;
|
4230 |
+
}
|
4231 |
+
.clr-setting {
|
4232 |
+
flex: 1;
|
4233 |
+
}
|
4234 |
+
.main .single-channel-setting {
|
4235 |
+
display: none;
|
4236 |
+
}
|
4237 |
+
.main .single-channel-setting.active {
|
4238 |
+
display: flex;
|
4239 |
+
}
|
4240 |
+
|
4241 |
+
.chaty-table {
|
4242 |
+
width: 100%;
|
4243 |
+
margin: 10px auto 3px;
|
4244 |
+
background: #ffffff;
|
4245 |
+
padding: 15px 20px 20px;
|
4246 |
+
border-radius: 9px;
|
4247 |
+
position: relative;
|
4248 |
+
}
|
4249 |
+
.chaty-table table {
|
4250 |
+
width: 100%;
|
4251 |
+
border-collapse: collapse;
|
4252 |
+
border-top: 1px solid #AEAEAE;
|
4253 |
+
border-left: 1px solid #AEAEAE;
|
4254 |
+
}
|
4255 |
+
.chaty-table table thead th {
|
4256 |
+
background-color: #44467F;
|
4257 |
+
color: #fff;
|
4258 |
+
text-align: left;
|
4259 |
+
padding: 15px 12px;
|
4260 |
+
border-right: 1px solid #AEAEAE;
|
4261 |
+
border-bottom: 1px solid #605DEC;
|
4262 |
+
}
|
4263 |
+
.chaty-table table tbody td {
|
4264 |
+
text-align: left;
|
4265 |
+
border-right: 1px solid #AEAEAE;
|
4266 |
+
border-bottom: 1px solid #AEAEAE;
|
4267 |
+
padding: 15px 12px;
|
4268 |
+
}
|
4269 |
+
.fix-width {
|
4270 |
+
width: 100px;
|
4271 |
+
text-align: center !important;
|
4272 |
+
}
|
4273 |
+
.chaty-actions a {
|
4274 |
+
color: #44467f;
|
4275 |
+
text-decoration: none;
|
4276 |
+
font-weight: normal;
|
4277 |
+
display: inline-block;
|
4278 |
+
}
|
4279 |
+
.chaty-actions .icon.label-tooltip:after {
|
4280 |
+
width: auto;
|
4281 |
+
}
|
4282 |
+
td.chaty-actions {
|
4283 |
+
text-align: center !important
|
4284 |
+
}
|
4285 |
+
.cht-tooltip {
|
4286 |
+
display: inline-block;
|
4287 |
+
position: relative;
|
4288 |
+
}
|
4289 |
+
.cht-tooltip:after, .cht-tooltip:before {
|
4290 |
+
position: absolute;
|
4291 |
+
opacity: 0;
|
4292 |
+
pointer-events: none;
|
4293 |
+
left: 50%;
|
4294 |
+
content: "";
|
4295 |
+
color: #ffffff;
|
4296 |
+
}
|
4297 |
+
.cht-tooltip:before {
|
4298 |
+
top: -8px;
|
4299 |
+
transform: translateX(-50%);
|
4300 |
+
height: 10px;
|
4301 |
+
width: 10px;
|
4302 |
+
border-width: 10px 5px 0;
|
4303 |
+
border-style: solid;
|
4304 |
+
border-color: #333 transparent transparent;
|
4305 |
+
}
|
4306 |
+
.cht-tooltip:after {
|
4307 |
+
text-align: center;
|
4308 |
+
content: "" attr(data-title) "";
|
4309 |
+
font-size: 11px;
|
4310 |
+
top: 0;
|
4311 |
+
transform: translate(-50%, calc(-100% - 6px));
|
4312 |
+
padding: 0 20px;
|
4313 |
+
line-height: 23px;
|
4314 |
+
min-width: 90px;
|
4315 |
+
white-space: nowrap;
|
4316 |
+
background-color: #333;
|
4317 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
|
4318 |
+
border-radius: 6px;
|
4319 |
+
}
|
4320 |
+
.cht-tooltip:hover:not(.tooltip-show):after, .cht-tooltip:hover:not(.tooltip-show):before {
|
4321 |
+
opacity: 1;
|
4322 |
+
pointer-events: auto;
|
4323 |
+
}
|
4324 |
+
.chaty-table .chaty-switch {
|
4325 |
+
display: block;
|
4326 |
+
height: 24px;
|
4327 |
+
position: relative;
|
4328 |
+
padding: 0 0 0 40px !important;
|
4329 |
+
line-height: 24px;
|
4330 |
+
width: 40px !important;
|
4331 |
+
margin: 0 auto;
|
4332 |
+
}
|
4333 |
+
a.cht-add-new-widget {
|
4334 |
+
background-color: #fff;
|
4335 |
+
line-height: initial;
|
4336 |
+
color: #44467F;
|
4337 |
+
font-weight: 500;
|
4338 |
+
padding: 8px 14px;
|
4339 |
+
border-radius: 25px;
|
4340 |
+
border: 1px solid #44467F;
|
4341 |
+
text-decoration: none;
|
4342 |
+
margin: 0;
|
4343 |
+
display: inline-block;
|
4344 |
+
}
|
4345 |
+
.pull-right {
|
4346 |
+
float: right;
|
4347 |
+
}
|
4348 |
+
.chaty-table-header span {
|
4349 |
+
display: inline-block;
|
4350 |
+
font-size: 24px;
|
4351 |
+
line-height: 38px;
|
4352 |
+
}
|
4353 |
+
.chaty-table-header {
|
4354 |
+
padding: 0 0 15px 0;
|
4355 |
+
}
|
4356 |
+
@media (min-width: 1281px) {
|
4357 |
+
.btn-help, .remove-chaty-widget-sticky {
|
4358 |
+
transform: rotate(90deg);
|
4359 |
+
position: fixed;
|
4360 |
+
left: calc(50vw - 480px + 1050px / 12 * 7 + 372px);
|
4361 |
+
top: 306px;
|
4362 |
+
right: auto
|
4363 |
+
}
|
4364 |
+
}
|
4365 |
+
|
4366 |
+
@media (min-width: 576px) {
|
4367 |
+
.container {
|
4368 |
+
max-width: 540px
|
4369 |
+
}
|
4370 |
+
}
|
4371 |
+
|
4372 |
+
@media (min-width: 768px) {
|
4373 |
+
.container {
|
4374 |
+
max-width: 1070px;
|
4375 |
+
width: 100%;
|
4376 |
+
}
|
4377 |
+
|
4378 |
+
.modal__wrap {
|
4379 |
+
padding: 0
|
4380 |
+
}
|
4381 |
+
|
4382 |
+
.domain {
|
4383 |
+
margin: 0 0 10px;
|
4384 |
+
padding: 20px 60px 26px
|
4385 |
+
}
|
4386 |
+
}
|
4387 |
+
|
4388 |
+
@media (min-width: 1280px) {
|
4389 |
+
/*.btn-save-sticky {
|
4390 |
+
left: calc(50vw - 480px + 1050px / 12 * 7 + 469px);
|
4391 |
+
top: 161px;
|
4392 |
+
right: auto;
|
4393 |
+
border-radius: 0 7px 7px 0;
|
4394 |
+
position: fixed
|
4395 |
+
}
|
4396 |
+
|
4397 |
+
html[dir=rtl] .btn-save-sticky {
|
4398 |
+
left: calc(50vw - 480px + 1050px / 12 * 7 + 295px)
|
4399 |
+
}
|
4400 |
+
|
4401 |
+
html[dir=rtl] .btn-help, html[dir=rtl] .remove-chaty-widget-sticky {
|
4402 |
+
left: calc(50vw - 480px + 1050px / 12 * 7 + 193px)
|
4403 |
+
}*/
|
4404 |
+
}
|
4405 |
+
|
4406 |
+
.trigger-block span.dashicons.dashicons-editor-help {
|
4407 |
+
width: 20px;
|
4408 |
+
height: 24px;
|
4409 |
+
line-height: 25px;
|
4410 |
+
color: #7e8993;
|
4411 |
+
}
|
4412 |
+
.traffic-active, .traffic-options-box.active .traffic-default {
|
4413 |
+
display: none;
|
4414 |
+
}
|
4415 |
+
.traffic-options-box.active .traffic-active {
|
4416 |
+
display: block;
|
4417 |
+
}
|
4418 |
+
.traffic-custom-rules {
|
4419 |
+
padding: 5px 10px;
|
4420 |
+
}
|
4421 |
+
.custom-rule-title {
|
4422 |
+
font-weight: bold;
|
4423 |
+
font-size: 14px;
|
4424 |
+
}
|
4425 |
+
.custom-traffic-rule > * {
|
4426 |
+
display: inline-block;
|
4427 |
+
vertical-align: middle;
|
4428 |
+
box-sizing: border-box;
|
4429 |
+
}
|
4430 |
+
.custom-traffic-rule > *.traffic-option {
|
4431 |
+
width: 120px;
|
4432 |
+
padding: 0 5px 0 0;
|
4433 |
+
}
|
4434 |
+
.traffic-action {
|
4435 |
+
width: 36px;
|
4436 |
+
}
|
4437 |
+
a.remove-traffic-option {
|
4438 |
+
background: #bd2a00;
|
4439 |
+
text-align: center;
|
4440 |
+
display: block;
|
4441 |
+
line-height: 36px;
|
4442 |
+
-webkit-border-radius: 4px;
|
4443 |
+
-moz-border-radius: 4px;
|
4444 |
+
border-radius: 4px;
|
4445 |
+
}
|
4446 |
+
.traffic-url {
|
4447 |
+
width: calc(100% - 165px);
|
4448 |
+
padding: 0 5px 0 0;
|
4449 |
+
}
|
4450 |
+
.traffic-url input {
|
4451 |
+
width: 100%;
|
4452 |
+
}
|
4453 |
+
.custom-traffic-rule > *.traffic-option select {
|
4454 |
+
height: 36px;
|
4455 |
+
width: 100%;
|
4456 |
+
}
|
4457 |
+
.custom-traffic-rule {
|
4458 |
+
padding: 5px 0;
|
4459 |
+
border-bottom: solid 1px #eee2ff;
|
4460 |
+
}
|
4461 |
+
.custom-traffic-rule:last-child {
|
4462 |
+
border: none;
|
4463 |
+
}
|
4464 |
+
.custom-traffic-rule:first-child .remove-traffic-option {
|
4465 |
+
display: none;
|
4466 |
+
}
|
4467 |
+
.traffic-rule-actions {
|
4468 |
+
padding: 5px 10px 8px;
|
4469 |
+
border-top: solid 1px #eee2ff;
|
4470 |
+
}
|
4471 |
+
.chaty-setting-col > div > * {
|
4472 |
+
display: inline-block;
|
4473 |
+
padding: 0 10px 0 0;
|
4474 |
+
vertical-align: middle;
|
4475 |
+
}
|
4476 |
+
.chaty-setting-col > div > *.chaty-setting-textarea {
|
4477 |
+
width: 310px;
|
4478 |
+
max-width: 100%;
|
4479 |
+
height: 100px;
|
4480 |
+
padding: 5px;
|
4481 |
+
}
|
4482 |
+
.chaty-setting-col > div > .channels__view {
|
4483 |
+
padding: 0;
|
4484 |
+
margin: 0;
|
4485 |
+
}
|
4486 |
+
span.icon.label-tooltip.support-tooltip {
|
4487 |
+
display: inline-block;
|
4488 |
+
margin: 0;
|
4489 |
+
padding: 0 3px;
|
4490 |
+
width: auto;
|
4491 |
+
font-style: italic;
|
4492 |
+
height: auto;
|
4493 |
+
}
|
4494 |
+
.chaty-setting-col > label {
|
4495 |
+
width: 170px;
|
4496 |
+
}
|
4497 |
+
.chaty-setting-col > label.full-width {
|
4498 |
+
width: 100%;
|
4499 |
+
}
|
4500 |
+
.chaty-setting-col .wp-color-result-text {
|
4501 |
+
display: none;
|
4502 |
+
}
|
4503 |
+
.whatsapp-welcome-message {
|
4504 |
+
display: none;
|
4505 |
+
background: rgba(168,134,205,.1);
|
4506 |
+
padding: 15px 15px 10px 15px;
|
4507 |
+
border-radius: 10px;
|
4508 |
+
border: solid 1px #e1c4ff;
|
4509 |
+
width: 100%;
|
4510 |
+
}
|
4511 |
+
.whatsapp-welcome-message.active {
|
4512 |
+
display: block;
|
4513 |
+
}
|
4514 |
+
.form-field-setting-col {
|
4515 |
+
padding: 10px;
|
4516 |
+
background: #eff6f6;
|
4517 |
+
border: solid 1px #d2d2d2;
|
4518 |
+
border-radius: 5px;
|
4519 |
+
margin: 0 0 10px 0;
|
4520 |
+
}
|
4521 |
+
.field-settings, .email-settings, .redirect_action-settings, .close_form_after-settings {
|
4522 |
+
display: none;
|
4523 |
+
}
|
4524 |
+
.field-settings.active, .redirect_action-settings.active, .close_form_after-settings.active {
|
4525 |
+
display: block;
|
4526 |
+
}
|
4527 |
+
.email-settings.active {
|
4528 |
+
padding: 15px 0 0 0;
|
4529 |
+
display: block;
|
4530 |
+
}
|
4531 |
+
.no-margin {
|
4532 |
+
margin: 0 !important;
|
4533 |
+
}
|
4534 |
+
.no-padding {
|
4535 |
+
padding: 0 !important;
|
4536 |
+
}
|
4537 |
+
.left-section {
|
4538 |
+
float: left;
|
4539 |
+
text-align: left;
|
4540 |
+
}
|
4541 |
+
.right-section {
|
4542 |
+
float: right;
|
4543 |
+
width: 50%;
|
4544 |
+
text-align: right;
|
4545 |
+
}
|
4546 |
+
.inline-block {
|
4547 |
+
display: inline-block;
|
4548 |
+
vertical-align: top;
|
4549 |
+
}
|
4550 |
+
.form-field-title {
|
4551 |
+
font-weight: bold;
|
4552 |
+
padding: 0 0 10px 0;
|
4553 |
+
font-size: 18px;
|
4554 |
+
}
|
4555 |
+
.chaty-separator {
|
4556 |
+
margin: 0 0 10px 0;
|
4557 |
+
height: 1px;
|
4558 |
+
width: 100%;
|
4559 |
+
background: #d2d2d2;
|
4560 |
+
}
|
4561 |
+
input[type=search].search-input, select.search-input {
|
4562 |
+
height: 30px;
|
4563 |
+
float: left;
|
4564 |
+
width: 170px;
|
4565 |
+
font-weight: normal;
|
4566 |
+
}
|
4567 |
+
.date-range {
|
4568 |
+
display: none;
|
4569 |
+
padding: 5px 0 0 0;
|
4570 |
+
}
|
4571 |
+
.date-range.active {
|
4572 |
+
display: block;
|
4573 |
+
}
|
4574 |
+
.lead-search-box {
|
4575 |
+
float: right;
|
4576 |
+
}
|
4577 |
+
.leads-buttons {
|
4578 |
+
padding: 20px 0;
|
4579 |
+
}
|
4580 |
+
a#wpappp_export_to_csv {
|
4581 |
+
background: #FF6624;
|
4582 |
+
display: inline-block;
|
4583 |
+
text-align: center;
|
4584 |
+
padding: 8px 15px;
|
4585 |
+
color: #fff;
|
4586 |
+
text-decoration: none;
|
4587 |
+
border-radius: 4px;
|
4588 |
+
}
|
4589 |
+
input#chaty_delete_all_leads {
|
4590 |
+
background: #3c3c3c;
|
4591 |
+
color: #fff;
|
4592 |
+
padding: 10px 15px;
|
4593 |
+
border: none;
|
4594 |
+
border-radius: 4px;
|
4595 |
+
cursor: pointer;
|
4596 |
+
}
|
4597 |
+
.responstable {
|
4598 |
+
border-collapse: collapse;
|
4599 |
+
width: 100%;
|
4600 |
+
border: 1px solid #ccd0d4;
|
4601 |
+
margin-top: 30px;
|
4602 |
+
font-size: 14px;
|
4603 |
+
}
|
4604 |
+
.responstable td {
|
4605 |
+
border: none;
|
4606 |
+
padding: 8px;
|
4607 |
+
font-size: 14px;
|
4608 |
+
}
|
4609 |
+
.responstable tr:last-child {
|
4610 |
+
border-bottom: 1px solid #ccd0d4;
|
4611 |
+
}
|
4612 |
+
.responstable th {
|
4613 |
+
text-align: left;
|
4614 |
+
background-color: #ffffff;
|
4615 |
+
border-bottom: 1px solid #ccd0d4;
|
4616 |
+
border-top: 1px solid #ccd0d4;
|
4617 |
+
color: #32373c;
|
4618 |
+
font-weight: 400;
|
4619 |
+
padding: 12px 8px;
|
4620 |
+
font-size: 14px;
|
4621 |
+
}
|
4622 |
+
.responstable th.text-center {
|
4623 |
+
text-align: center;
|
4624 |
+
width: 80px;
|
4625 |
+
}
|
4626 |
+
.responstable tr:nth-child(even){background-color: #f9f9f9;}
|
4627 |
+
.remove-record {
|
4628 |
+
color: #333;
|
4629 |
+
text-decoration: none;
|
4630 |
+
}
|
4631 |
+
a.url {
|
4632 |
+
color: #333;
|
4633 |
+
text-decoration: none;
|
4634 |
+
}
|
4635 |
+
.no-record-message {
|
4636 |
+
margin: 100px 0 0;
|
4637 |
+
text-align: center;
|
4638 |
+
padding: 50px;
|
4639 |
+
border: solid 1px #dd0000;
|
4640 |
+
background: #ffeaea;
|
4641 |
+
color: #dd0000;
|
4642 |
+
}
|
4643 |
+
.custom-pagination {
|
4644 |
+
float: right;
|
4645 |
+
margin: 25px 0 0 0;
|
4646 |
+
}
|
4647 |
+
.custom-pagination ul {
|
4648 |
+
margin: 0;
|
4649 |
+
padding: 0;
|
4650 |
+
display: block;
|
4651 |
+
}
|
4652 |
+
.custom-pagination ul li {
|
4653 |
+
display: block;
|
4654 |
+
float: left;
|
4655 |
+
margin: 0 0 0 4px;
|
4656 |
+
}
|
4657 |
+
.custom-pagination ul li a, .custom-pagination ul li > span {
|
4658 |
+
display: block;
|
4659 |
+
padding: 2px 10px;
|
4660 |
+
text-decoration: none;
|
4661 |
+
color: #333;
|
4662 |
+
font-size: 14px;
|
4663 |
+
border-radius: 3px;
|
4664 |
+
background: #ffffff;
|
4665 |
+
border: solid 1px #e3e3e3;
|
4666 |
+
}
|
4667 |
+
.custom-pagination ul li a .dashicons {
|
4668 |
+
font-size: 14px;
|
4669 |
+
height: 14px;
|
4670 |
+
width: 14px;
|
4671 |
+
text-align: center;
|
4672 |
+
line-height: 22px;
|
4673 |
+
}
|
4674 |
+
.custom-pagination ul li a.next, .custom-pagination ul li a.prev {
|
4675 |
+
padding: 2px 8px;
|
4676 |
+
}
|
4677 |
+
.custom-pagination ul li > span {
|
4678 |
+
background: #f3f5f6;
|
4679 |
+
}
|
4680 |
+
.main .channels-icons > .icon.chat-channel-Contact_Us {
|
4681 |
+
width: 120px;
|
4682 |
+
line-height: 48px;
|
4683 |
+
text-align: center;
|
4684 |
+
}
|
4685 |
+
|
4686 |
+
.main .channels-icons > .icon.chat-channel-Contact_Us span.icon-box {
|
4687 |
+
display: block;
|
4688 |
+
height: 48px;
|
4689 |
+
border-radius: 24px;
|
4690 |
+
background: #bdbdbd;
|
4691 |
+
padding: 0;
|
4692 |
+
transition: all .2s;
|
4693 |
+
cursor: pointer;
|
4694 |
+
margin: 0;
|
4695 |
+
padding: 0;
|
4696 |
+
}
|
4697 |
+
.main .channels-icons > .icon.chat-channel-Contact_Us.active span.icon-box, .main .channels-icons > .icon.chat-channel-Contact_Us:hover span.icon-box {
|
4698 |
+
background: rgb(37, 57, 116);
|
4699 |
+
}
|
4700 |
+
.main .channels-icons > .icon.chat-channel-Contact_Us span.icon-box span {
|
4701 |
+
display: inline-block;
|
4702 |
+
vertical-align: top;
|
4703 |
+
font-size: 14px;
|
4704 |
+
padding: 0;
|
4705 |
+
margin: 0;
|
4706 |
+
color: #fff;
|
4707 |
+
}
|
4708 |
+
.main .channels-icons > .icon.chat-channel-Contact_Us span.icon-box svg {
|
4709 |
+
display: none;
|
4710 |
+
}
|
4711 |
+
.chaty-new-widget-row.no-records {
|
4712 |
+
border: 1px solid #605dec;
|
4713 |
+
margin: 10px;
|
4714 |
+
padding: 10px;
|
4715 |
+
text-align: center;
|
4716 |
+
border-radius: 5px;
|
4717 |
+
color: #1e1e1e;
|
4718 |
+
font-weight: 400;
|
4719 |
+
}
|
4720 |
+
.no-records-title {
|
4721 |
+
font-style: normal;
|
4722 |
+
font-weight: 600;
|
4723 |
+
font-size: 20px;
|
4724 |
+
line-height: 30px;
|
4725 |
+
color: #1E1E1E;
|
4726 |
+
margin: 15px 0;
|
4727 |
+
text-align: center;
|
4728 |
+
}
|
4729 |
+
.extra-chaty-settings {
|
4730 |
+
padding: 10px 0 0 70px;
|
4731 |
+
}
|
4732 |
+
.html-tooltip {
|
4733 |
+
position: relative;
|
4734 |
+
display: inline-block;
|
4735 |
+
}
|
4736 |
+
.html-tooltip .tooltip-text {
|
4737 |
+
visibility: hidden;
|
4738 |
+
width: 300px;
|
4739 |
+
background-color: #333;
|
4740 |
+
color: #fff;
|
4741 |
+
text-align: center;
|
4742 |
+
border-radius: 6px;
|
4743 |
+
padding: 10px;
|
4744 |
+
position: absolute;
|
4745 |
+
z-index: 1201;
|
4746 |
+
bottom: 125%;
|
4747 |
+
left: 50%;
|
4748 |
+
margin-left: -150px;
|
4749 |
+
opacity: 0;
|
4750 |
+
transition: opacity 0.3s;
|
4751 |
+
font-size: 12px;
|
4752 |
+
line-height: 18px;
|
4753 |
+
top: 100%;
|
4754 |
+
height: 454px;
|
4755 |
+
}
|
4756 |
+
.html-tooltip.no-position .tooltip-text {
|
4757 |
+
height: auto;
|
4758 |
+
}
|
4759 |
+
.html-tooltip .tooltip-text:after {
|
4760 |
+
content: "";
|
4761 |
+
position: absolute;
|
4762 |
+
top: -10px;
|
4763 |
+
left: 50%;
|
4764 |
+
margin-left: -5px;
|
4765 |
+
border-width: 5px;
|
4766 |
+
border-style: solid;
|
4767 |
+
border-color: #333 transparent transparent transparent;
|
4768 |
+
transform: rotate(180deg);
|
4769 |
+
-webkit-transform: rotate(180deg);
|
4770 |
+
}
|
4771 |
+
.html-tooltip:hover .tooltip-text {
|
4772 |
+
visibility: visible;
|
4773 |
+
opacity: 1;
|
4774 |
+
}
|
4775 |
+
.html-tooltip .tooltip-text img {
|
4776 |
+
width: 100%;
|
4777 |
+
height: auto;
|
4778 |
+
display: block;
|
4779 |
+
margin: 10px 0 0 0;
|
4780 |
+
}
|
4781 |
+
.html-tooltip.top .tooltip-text {
|
4782 |
+
top: auto;
|
4783 |
+
bottom: 100%;
|
4784 |
+
}
|
4785 |
+
.html-tooltip.top .tooltip-text:after {
|
4786 |
+
top: 100%;
|
4787 |
+
transform: rotate(0deg);
|
4788 |
+
-webkit-transform: rotate(0deg);
|
4789 |
+
}
|
4790 |
+
.html-tooltip.side .tooltip-text {
|
4791 |
+
bottom: 125%;
|
4792 |
+
left: 100%;
|
4793 |
+
margin-left: 0;
|
4794 |
+
top: 5px;
|
4795 |
+
transform: translateY(-50%);
|
4796 |
+
-webkit-transform: translateY(-50%);
|
4797 |
+
}
|
4798 |
+
.html-tooltip.side .tooltip-text:after {
|
4799 |
+
top: 50%;
|
4800 |
+
left: -5px;
|
4801 |
+
transform: rotate(180deg);
|
4802 |
+
-webkit-transform: rotate(90deg);
|
4803 |
+
}
|
4804 |
+
.html-tooltip.side .tooltip-text.hide-arrow:after {
|
4805 |
+
display: none;
|
4806 |
+
}
|
4807 |
+
body *.full-width {
|
4808 |
+
width: 100%;
|
4809 |
+
display: block;
|
4810 |
+
padding: 0 0 5px 0;
|
4811 |
+
line-height: 24px;
|
4812 |
+
}
|
4813 |
+
.chaty-setting-textarea {
|
4814 |
+
width: 100%;
|
4815 |
+
height: 100px;
|
4816 |
+
border-radius: 0;
|
4817 |
+
border: solid 1px #dadce3;
|
4818 |
+
}
|
4819 |
+
.popover .upgrade-link.active {
|
4820 |
+
animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
|
4821 |
+
transform: translate3d(0, 0, 0);
|
4822 |
+
backface-visibility: hidden;
|
4823 |
+
perspective: 1000px;
|
4824 |
+
}
|
4825 |
+
|
4826 |
+
.date-schedule {
|
4827 |
+
padding: 10px;
|
4828 |
+
background: #f6f3fa;
|
4829 |
+
margin-bottom: 4px;
|
4830 |
+
-webkit-border-radius: 4px;
|
4831 |
+
-moz-border-radius: 4px;
|
4832 |
+
border-radius: 4px;
|
4833 |
+
position: relative;
|
4834 |
+
flex: calc(100% - 152px);
|
4835 |
+
max-width: 350px;
|
4836 |
+
}
|
4837 |
+
.date-time-box input[type="text"] {
|
4838 |
+
width: 100%;
|
4839 |
+
}
|
4840 |
+
.date-schedule label {
|
4841 |
+
display: block;
|
4842 |
+
font-size: 16px;
|
4843 |
+
padding: 0 0 2px 0;
|
4844 |
+
}
|
4845 |
+
.date-time-box {
|
4846 |
+
padding-top: 8px;
|
4847 |
+
}
|
4848 |
+
.date-select-option {
|
4849 |
+
width: 49%;
|
4850 |
+
float: left;
|
4851 |
+
}
|
4852 |
+
.time-select-option {
|
4853 |
+
width: 49%;
|
4854 |
+
float: right;
|
4855 |
+
}
|
4856 |
+
.date-schedule-box, #date-schedule.active .date-schedule-button {
|
4857 |
+
display: none;
|
4858 |
+
}
|
4859 |
+
#date-schedule.active .date-schedule-box {
|
4860 |
+
display: block;
|
4861 |
+
}
|
4862 |
+
a#remove-date-rule {
|
4863 |
+
margin-top: 5px;
|
4864 |
+
}
|
4865 |
+
.chaty-popup-input input {
|
4866 |
+
width: 100%;
|
4867 |
+
margin: 10px 0 0 0;
|
4868 |
+
width: calc(100% - 36px);
|
4869 |
+
}
|
4870 |
+
button#delete-widget-btn {
|
4871 |
+
background: #ff0000;
|
4872 |
+
border-color: #ff0000;
|
4873 |
+
}
|
4874 |
+
.chaty-setting-col>div span.supported-tags {
|
4875 |
+
display: flex;
|
4876 |
+
font-size: 12px;
|
4877 |
+
line-height: 1.4;
|
4878 |
+
}
|
4879 |
+
.select2-box {
|
4880 |
+
width: 100%;
|
4881 |
+
height: 36px;
|
4882 |
+
}
|
4883 |
+
.date-schedule {
|
4884 |
+
position: relative;
|
4885 |
+
}
|
4886 |
+
.date-schedule:hover .chaty-pro-feature {
|
4887 |
+
display: block;
|
4888 |
+
}
|
4889 |
+
.sr-only {
|
4890 |
+
position: absolute;
|
4891 |
+
width: 1px;
|
4892 |
+
height: 1px;
|
4893 |
+
padding: 0;
|
4894 |
+
margin: -1px;
|
4895 |
+
overflow: hidden;
|
4896 |
+
clip: rect(0,0,0,0);
|
4897 |
+
border: 0;
|
4898 |
+
}
|
4899 |
+
|
4900 |
+
.chaty-updates-form {
|
4901 |
+
width: 768px;
|
4902 |
+
padding: 70px 40px;
|
4903 |
+
box-shadow: 0px 20px 25px rgb(0 0 0 / 10%), 0px 10px 10px rgb(0 0 0 / 4%);
|
4904 |
+
display: flex;
|
4905 |
+
margin: 100px auto 0;
|
4906 |
+
font-family: Rubik, sans-serif;
|
4907 |
+
}
|
4908 |
+
.update-title {
|
4909 |
+
font-style: normal;
|
4910 |
+
font-weight: 500;
|
4911 |
+
font-size: 26px;
|
4912 |
+
line-height: 150%;
|
4913 |
+
align-items: center;
|
4914 |
+
color: #334155;
|
4915 |
+
}
|
4916 |
+
.updates-form-form-left {
|
4917 |
+
padding: 50px 20px 50px 0;
|
4918 |
+
}
|
4919 |
+
.updates-form-form-right p {
|
4920 |
+
font-style: normal;
|
4921 |
+
font-weight: normal;
|
4922 |
+
font-size: 14px;
|
4923 |
+
line-height: 150%;
|
4924 |
+
position: relative;
|
4925 |
+
padding: 0 0 20px 0;
|
4926 |
+
color: #475569;
|
4927 |
+
margin: 40px 0;
|
4928 |
+
}
|
4929 |
+
.updates-form-form-right p:after {
|
4930 |
+
content: "";
|
4931 |
+
border: 1px solid #3C85F7;
|
4932 |
+
position: absolute;
|
4933 |
+
bottom: 5px;
|
4934 |
+
left: 0;
|
4935 |
+
width: 90px;
|
4936 |
+
}
|
4937 |
+
.updates-form {
|
4938 |
+
display: flex;
|
4939 |
+
}
|
4940 |
+
.update-form-input {
|
4941 |
+
position: relative;
|
4942 |
+
}
|
4943 |
+
.update-form-input input {
|
4944 |
+
width: 320px;
|
4945 |
+
background: #F4F4F5;
|
4946 |
+
border: 1px solid #F4F4F5;
|
4947 |
+
box-sizing: border-box;
|
4948 |
+
border-radius: 4px;
|
4949 |
+
height: 40px;
|
4950 |
+
line-height: 40px;
|
4951 |
+
padding: 0 50px 0 40px;
|
4952 |
+
font-size: 13px;
|
4953 |
+
box-sizing: border-box;
|
4954 |
+
color: #334155;
|
4955 |
+
}
|
4956 |
+
.update-form-input .form-submit-btn {
|
4957 |
+
background: #3C85F7;
|
4958 |
+
border-radius: 4px;
|
4959 |
+
border: none;
|
4960 |
+
color: #fff;
|
4961 |
+
font-style: normal;
|
4962 |
+
font-weight: 500;
|
4963 |
+
font-size: 13px;
|
4964 |
+
line-height: 150%;
|
4965 |
+
height: 34px;
|
4966 |
+
padding: 0 10px;
|
4967 |
+
position: absolute;
|
4968 |
+
right: 3px;
|
4969 |
+
top: 3px;
|
4970 |
+
}
|
4971 |
+
.updates-form .form-cancel-btn.no {
|
4972 |
+
margin: 0 0 0 3px;
|
4973 |
+
background: transparent;
|
4974 |
+
border: none;
|
4975 |
+
color: #64748B;
|
4976 |
+
font-size: 13px;
|
4977 |
+
line-height: 40px;
|
4978 |
+
padding: 0 0 0 5px;
|
4979 |
+
}
|
4980 |
+
.updates-form .form-cancel-btn.no:hover {
|
4981 |
+
color: #334155;
|
4982 |
+
}
|
4983 |
+
.mail-icon {
|
4984 |
+
position: absolute;
|
4985 |
+
top: 8px;
|
4986 |
+
left: 10px;
|
4987 |
+
}
|
4988 |
+
.update-notice {
|
4989 |
+
margin: 50px 0 0 0;
|
4990 |
+
font-size: 12px;
|
4991 |
+
padding: 0 110px 0 0;
|
4992 |
+
line-height: 150%;
|
4993 |
+
color: #64748B;
|
4994 |
+
}
|
4995 |
+
@keyframes shake {
|
4996 |
+
10%, 90% {
|
4997 |
+
transform: translate3d(-1px, 0, 0);
|
4998 |
+
}
|
4999 |
+
|
5000 |
+
20%, 80% {
|
5001 |
+
transform: translate3d(2px, 0, 0);
|
5002 |
+
}
|
5003 |
+
|
5004 |
+
30%, 50%, 70% {
|
5005 |
+
transform: translate3d(-4px, 0, 0);
|
5006 |
+
}
|
5007 |
+
|
5008 |
+
40%, 60% {
|
5009 |
+
transform: translate3d(4px, 0, 0);
|
5010 |
+
}
|
5011 |
+
}
|
5012 |
+
@media screen and (max-width: 1280px) {
|
5013 |
+
|
5014 |
+
}
|
5015 |
+
|
5016 |
+
@media (min-width: 768px) {
|
5017 |
+
.widget-icon__block [class^=icon-] {
|
5018 |
+
width: 54px;
|
5019 |
+
height: 54px;
|
5020 |
+
font-size: 28px;
|
5021 |
+
line-height: 54px
|
5022 |
+
}
|
5023 |
+
|
5024 |
+
.widget-icon__block [class^=icon-] svg {
|
5025 |
+
width: 100%
|
5026 |
+
}
|
5027 |
+
|
5028 |
+
.widget-icon__block .custom-control.custom-radio:first-child {
|
5029 |
+
padding-left: 20px;
|
5030 |
+
max-width: 90px;
|
5031 |
+
}
|
5032 |
+
|
5033 |
+
.widget-icon__block .custom-control.custom-radio:last-child {
|
5034 |
+
padding-right: 20px
|
5035 |
+
}
|
5036 |
+
}
|
5037 |
+
|
5038 |
+
@media (max-width: 767px) {
|
5039 |
+
.main .form-horizontal__item > .widget-icon__wrap {
|
5040 |
+
display: flex;
|
5041 |
+
justify-content: space-between
|
5042 |
+
}
|
5043 |
+
|
5044 |
+
.main .form-horizontal__item > .widget-icon__wrap .custom-control {
|
5045 |
+
margin: 0;
|
5046 |
+
flex: 1;
|
5047 |
+
text-align: center
|
5048 |
+
}
|
5049 |
+
}
|
5050 |
+
|
5051 |
+
@media (min-width: 768px) {
|
5052 |
+
.kv-file-content {
|
5053 |
+
width: 54px;
|
5054 |
+
height: 54px
|
5055 |
+
}
|
5056 |
+
|
5057 |
+
.file-input {
|
5058 |
+
width: 54px;
|
5059 |
+
height: 60px
|
5060 |
+
}
|
5061 |
+
}
|
5062 |
+
.chaty-checkbox {
|
5063 |
+
position: relative;
|
5064 |
+
line-height: 36px;
|
5065 |
+
}
|
5066 |
+
.chaty-checkbox > span {
|
5067 |
+
position: relative;
|
5068 |
+
border: solid 2px #a785cb;
|
5069 |
+
display: inline-block;
|
5070 |
+
width: 16px;
|
5071 |
+
height: 16px;
|
5072 |
+
border-radius: 2px;
|
5073 |
+
vertical-align: middle;
|
5074 |
+
}
|
5075 |
+
.chaty-checkbox input:checked + span {
|
5076 |
+
background: #a785cb;
|
5077 |
+
}
|
5078 |
+
.chaty-checkbox input:checked + span:before {
|
5079 |
+
color: #fff;
|
5080 |
+
content: "\f147";
|
5081 |
+
font-family: dashicons;
|
5082 |
+
line-height: 1;
|
5083 |
+
position: absolute;
|
5084 |
+
top: -2px;
|
5085 |
+
left: -3px;
|
5086 |
+
display: block;
|
5087 |
+
}
|
5088 |
+
.icon.label-tooltip.inline-tooltip {
|
5089 |
+
display: inline-block;
|
5090 |
+
width: 24px;
|
5091 |
+
padding: 0;
|
5092 |
+
margin: 0;
|
5093 |
+
height: 24px;
|
5094 |
+
vertical-align: middle;
|
5095 |
+
line-height: 34px;
|
5096 |
+
}
|
5097 |
+
html[dir='rtl'] .iti--container {
|
5098 |
+
margin-left: 503px;
|
5099 |
+
}
|
5100 |
+
.toast-message {
|
5101 |
+
position: fixed;
|
5102 |
+
right: -110%;
|
5103 |
+
top: 50px;
|
5104 |
+
-webkit-box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
|
5105 |
+
box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%), 0 9px 28px 8px rgb(0 0 0 / 5%);
|
5106 |
+
background: #fff;
|
5107 |
+
padding: 10px 20px;
|
5108 |
+
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
|
5109 |
+
border-left: solid 4px #00cc33;
|
5110 |
+
transition: all 0.5s linear;
|
5111 |
+
z-index: 10001;
|
5112 |
+
}
|
5113 |
+
.toast-message.active {
|
5114 |
+
right: 20px;
|
5115 |
+
}
|
5116 |
+
html[dir='rtl'] .toast-message {
|
5117 |
+
left: -110%;
|
5118 |
+
right: auto;
|
5119 |
+
}
|
5120 |
+
html[dir='rtl'] .toast-message.active {
|
5121 |
+
left: 20px;
|
5122 |
+
}
|
5123 |
+
.toast-message-title {
|
5124 |
+
margin-bottom: 8px;
|
5125 |
+
color: rgba(0,0,0,.85);
|
5126 |
+
font-size: 16px;
|
5127 |
+
line-height: 24px;
|
5128 |
+
}
|
5129 |
+
.toast-close-btn {
|
5130 |
+
position: absolute;
|
5131 |
+
right: 10px;
|
5132 |
+
top: 14px;
|
5133 |
+
width: 16px;
|
5134 |
+
height: 16px;
|
5135 |
+
}
|
5136 |
+
.toast-close-btn a {
|
5137 |
+
display: block;
|
5138 |
+
position: relative;
|
5139 |
+
}
|
5140 |
+
.toast-close-btn a:after, .toast-close-btn a:before {
|
5141 |
+
content: "";
|
5142 |
+
position: absolute;
|
5143 |
+
width: 12px;
|
5144 |
+
height: 2px;
|
5145 |
+
background-color: #000000;
|
5146 |
+
display: block;
|
5147 |
+
border-radius: 2px;
|
5148 |
+
transform: rotate(45deg);
|
5149 |
+
top: 7px;
|
5150 |
+
left: 2px;
|
5151 |
+
}
|
5152 |
+
.toast-close-btn a:after {
|
5153 |
+
transform: rotate(-45deg);
|
5154 |
+
}
|
5155 |
+
.toast-message-body {
|
5156 |
+
font-size: 14px;
|
5157 |
+
color: rgba(0,0,0,.8);
|
5158 |
+
}
|
5159 |
+
@media screen and (max-width: 1280px) {
|
5160 |
+
.preview {
|
5161 |
+
top: 180px;
|
5162 |
+
}
|
5163 |
+
.chaty-sticky-buttons {
|
5164 |
+
position: fixed;
|
5165 |
+
right: 0;
|
5166 |
+
top: 179px;
|
5167 |
+
z-index: 601;
|
5168 |
+
}
|
5169 |
+
.preview-section-chaty {
|
5170 |
+
display: none;
|
5171 |
+
z-index: 1001;
|
5172 |
+
position: fixed;
|
5173 |
+
left: 0;
|
5174 |
+
right: 0;
|
5175 |
+
margin: 0 auto;
|
5176 |
+
}
|
5177 |
+
.preview-section-chaty.active, .preview-section-overlay.active {
|
5178 |
+
display: block;
|
5179 |
+
}
|
5180 |
+
.preview-section-overlay {
|
5181 |
+
position: fixed;
|
5182 |
+
background: rgba(0,0,0,0.6);
|
5183 |
+
top: 0;
|
5184 |
+
left: 0;
|
5185 |
+
width: 100%;
|
5186 |
+
height: 100vh;
|
5187 |
+
z-index: 999;
|
5188 |
+
display: none;
|
5189 |
+
float: none;
|
5190 |
+
width: 100%;
|
5191 |
+
}
|
5192 |
+
.preview-help-btn {
|
5193 |
+
display: block;
|
5194 |
+
top: 177px !important;
|
5195 |
+
background: #a785cb;
|
5196 |
+
padding: 0;
|
5197 |
+
line-height: 42px;
|
5198 |
+
height: 42px;
|
5199 |
+
width: 110px;
|
5200 |
+
}
|
5201 |
+
a.remove-chaty-widget-sticky {
|
5202 |
+
top: 302px !important;
|
5203 |
+
}
|
5204 |
+
.preview-help-btn:hover, .preview-help-btn:focus {
|
5205 |
+
color: #ffffff;
|
5206 |
+
}
|
5207 |
+
.preview {
|
5208 |
+
position: relative;
|
5209 |
+
top: 0 !important;;
|
5210 |
+
margin: 0 auto !important;
|
5211 |
+
left: 0;
|
5212 |
+
right: 0;
|
5213 |
+
float: none;
|
5214 |
+
}
|
5215 |
+
.preview.mobiel-view .page {
|
5216 |
+
width: 202px;
|
5217 |
+
height: 300px;
|
5218 |
+
}
|
5219 |
+
.container {
|
5220 |
+
/*max-width: 720px;*/
|
5221 |
+
}
|
5222 |
+
.btn-save-sticky {
|
5223 |
+
top: 20px !important;
|
5224 |
+
position: absolute;
|
5225 |
+
}
|
5226 |
+
.btn-help {
|
5227 |
+
top: 60px !important;
|
5228 |
+
position: absolute;
|
5229 |
+
}
|
5230 |
+
}
|
5231 |
+
@media screen and (max-width: 1180px) {
|
5232 |
+
.section.one {
|
5233 |
+
max-width: inherit;
|
5234 |
+
}
|
5235 |
+
.main .channels-icons {
|
5236 |
+
max-width: 600px;
|
5237 |
+
text-align: center;
|
5238 |
+
margin: 0;
|
5239 |
+
width: 100%;
|
5240 |
+
}
|
5241 |
+
.main .channels-icons > .icon {
|
5242 |
+
display: inline-block;
|
5243 |
+
vertical-align: middle;
|
5244 |
+
text-align: center;
|
5245 |
+
float: none;
|
5246 |
+
margin: 0;
|
5247 |
+
padding: 2px 4px 0;
|
5248 |
+
width: 58px;
|
5249 |
+
height: 58px;
|
5250 |
+
}
|
5251 |
+
.container {
|
5252 |
+
max-width: 1180px;
|
5253 |
+
padding: 0 20px 0 10px;
|
5254 |
+
}
|
5255 |
+
.chaty-settings.cls-btn {
|
5256 |
+
margin-left: 137px;
|
5257 |
+
}
|
5258 |
+
.chaty-settings.cls-btn span {
|
5259 |
+
padding-left: 0px;
|
5260 |
+
}
|
5261 |
+
}
|
5262 |
+
@media screen and (max-width: 960px) {
|
5263 |
+
.chaty-default-settings > * {
|
5264 |
+
display: inline-block;
|
5265 |
+
vertical-align: middle;
|
5266 |
+
}
|
5267 |
+
.chaty-default-settings .move-icon {
|
5268 |
+
width: 15px;
|
5269 |
+
}
|
5270 |
+
.channels-selected__item .icon span.custom-chaty-image, .channels-selected__item .icon span.custom-chaty-image img {
|
5271 |
+
width: 40px;
|
5272 |
+
height: 40px;
|
5273 |
+
}
|
5274 |
+
.chaty-default-settings .icon {
|
5275 |
+
width: 40px;
|
5276 |
+
}
|
5277 |
+
.chaty-default-settings .channels__device-box {
|
5278 |
+
width: 135px;
|
5279 |
+
}
|
5280 |
+
.chaty-default-settings .channels__device-box .channels__view {
|
5281 |
+
margin: 0;
|
5282 |
+
}
|
5283 |
+
.chaty-settings {
|
5284 |
+
width: 94px;
|
5285 |
+
text-align: center;
|
5286 |
+
}
|
5287 |
+
.chaty-default-settings .icon.icon-md svg, .main .channels-selected__item .icon {
|
5288 |
+
width: 40px;
|
5289 |
+
height: 40px;
|
5290 |
+
cursor: move;
|
5291 |
+
}
|
5292 |
+
.chaty-default-settings {
|
5293 |
+
display: block;
|
5294 |
+
width: 100%;
|
5295 |
+
padding-bottom: 0;
|
5296 |
+
}
|
5297 |
+
.chaty-default-settings .channels__input-box input {
|
5298 |
+
width: 100%;
|
5299 |
+
}
|
5300 |
+
.chaty-default-settings .channels__input-box {
|
5301 |
+
width: calc(100% - 310px);
|
5302 |
+
}
|
5303 |
+
.viber-help {
|
5304 |
+
top: 50px;
|
5305 |
+
bottom: auto;
|
5306 |
+
}
|
5307 |
+
.day-buttons {
|
5308 |
+
width: calc(100% - 71% - 102px);
|
5309 |
+
}
|
5310 |
+
.url-values {
|
5311 |
+
width: calc(37% - 52px);
|
5312 |
+
}
|
5313 |
+
body {
|
5314 |
+
background: #af7dd0 url(../images/bg.svg) no-repeat;
|
5315 |
+
}
|
5316 |
+
.modal-dialog.modal-lg {
|
5317 |
+
display: none;
|
5318 |
+
}
|
5319 |
+
}
|
5320 |
+
@media screen and (max-width: 830px) {
|
5321 |
+
.chaty-features ul li {
|
5322 |
+
width: 100%;
|
5323 |
+
text-align: center;
|
5324 |
+
}
|
5325 |
+
.demo-buttons {
|
5326 |
+
text-align: center;
|
5327 |
+
}
|
5328 |
+
.chaty-feature, .chaty-feature.second, .chaty-feature.analytics {
|
5329 |
+
min-height: inherit;
|
5330 |
+
}
|
5331 |
+
.chaty-updates-form {
|
5332 |
+
display: block;
|
5333 |
+
width: 92%;
|
5334 |
+
margin: 100px 4% 0
|
5335 |
+
}
|
5336 |
+
.updates-form-form-left {
|
5337 |
+
width: 100%;
|
5338 |
+
text-align: center;
|
5339 |
+
padding: 0 0 20px 0;
|
5340 |
+
}
|
5341 |
+
.updates-form {
|
5342 |
+
display: block;
|
5343 |
+
}
|
5344 |
+
.update-form-input, .update-form-input input {
|
5345 |
+
width: 100%;
|
5346 |
+
}
|
5347 |
+
.update-form-skip-button {
|
5348 |
+
text-align: center;
|
5349 |
+
}
|
5350 |
+
.updates-form .form-cancel-btn.no {
|
5351 |
+
padding:0;
|
5352 |
+
margin: 0;
|
5353 |
+
}
|
5354 |
+
.update-notice {
|
5355 |
+
padding: 0;
|
5356 |
+
}
|
5357 |
+
}
|
5358 |
+
@media screen and (max-width: 680px) {
|
5359 |
+
#wpbody-content {
|
5360 |
+
padding-right: 10px;
|
5361 |
+
}
|
5362 |
+
.date-option {
|
5363 |
+
width: 100%;
|
5364 |
+
margin: 0;
|
5365 |
+
padding: 0 0 10px 0;
|
5366 |
+
}
|
5367 |
+
.custom-search-box {
|
5368 |
+
max-width: 100%;
|
5369 |
+
}
|
5370 |
+
.chaty-default-settings > * {
|
5371 |
+
display: inline-block;
|
5372 |
+
vertical-align: top;
|
5373 |
+
}
|
5374 |
+
.section-title {
|
5375 |
+
font-size: 20px;
|
5376 |
+
margin: 0 0 15px 0;
|
5377 |
+
}
|
5378 |
+
.chaty-default-settings .channels__input-box {
|
5379 |
+
width: calc(100% - 75px);
|
5380 |
+
}
|
5381 |
+
.viber-help {
|
5382 |
+
position: relative;
|
5383 |
+
top: auto;
|
5384 |
+
left: auto;
|
5385 |
+
right: auto;
|
5386 |
+
padding: 5px 0 0 0;
|
5387 |
+
width: 100%;
|
5388 |
+
}
|
5389 |
+
.chaty-default-settings .channels__device-box {
|
5390 |
+
width: calc(100% - 102px);
|
5391 |
+
text-align: left;
|
5392 |
+
padding: 10px 0 0 0;
|
5393 |
+
}
|
5394 |
+
.chaty-settings {
|
5395 |
+
padding: 10px 0 0 0;
|
5396 |
+
}
|
5397 |
+
.help-section {
|
5398 |
+
display: block;
|
5399 |
+
width: 100%;
|
5400 |
+
text-align: left;
|
5401 |
+
}
|
5402 |
+
.extra-chaty-settings {
|
5403 |
+
padding: 10px 0 0;
|
5404 |
+
}
|
5405 |
+
.chaty-setting-col input[type='text'], select.channel-select-input, .chaty-setting-col input[type='number'] {
|
5406 |
+
width: 100%;
|
5407 |
+
}
|
5408 |
+
.chaty-default-settings .channels__device-box .channels__view {
|
5409 |
+
margin: 0 15px 0 0;
|
5410 |
+
}
|
5411 |
+
.chaty-setting-col > * {
|
5412 |
+
display: block;
|
5413 |
+
}
|
5414 |
+
.main .form-horizontal__item-label {
|
5415 |
+
display: block;
|
5416 |
+
width: 100%;
|
5417 |
+
flex: auto;
|
5418 |
+
text-align: left;
|
5419 |
+
padding: 0 0 5px 0;
|
5420 |
+
}
|
5421 |
+
select.form-fonts, select.chaty-select, button.chaty-input-button {
|
5422 |
+
width: 100%;
|
5423 |
+
}
|
5424 |
+
.country-option-box {
|
5425 |
+
width: 100%;
|
5426 |
+
}
|
5427 |
+
.form-horizontal__item > div {
|
5428 |
+
display: block;
|
5429 |
+
width: 100%;
|
5430 |
+
}
|
5431 |
+
.day-select {
|
5432 |
+
width: 100%;
|
5433 |
+
padding-bottom: 10px;
|
5434 |
+
}
|
5435 |
+
.chaty-date-time-option .day-time {
|
5436 |
+
width: calc(50% - 78px);
|
5437 |
+
padding-bottom: 0px;
|
5438 |
+
}
|
5439 |
+
.chaty-date-time-option .day-buttons {
|
5440 |
+
width: 36px;
|
5441 |
+
padding-bottom: 0;
|
5442 |
+
}
|
5443 |
+
.chaty-date-time-option .time-data {
|
5444 |
+
display: none;
|
5445 |
+
}
|
5446 |
+
.chaty-date-time-option.first .time-data {
|
5447 |
+
display: inline-block;
|
5448 |
+
}
|
5449 |
+
.chaty-date-time-option.first .day-time {
|
5450 |
+
width: calc(50% - 58px);
|
5451 |
+
padding-bottom: 10px;
|
5452 |
+
}
|
5453 |
+
.chaty-date-time-option.first .day-buttons {
|
5454 |
+
width: calc(50% - 7px);
|
5455 |
+
vertical-align: top;
|
5456 |
+
}
|
5457 |
+
.url-content > * {
|
5458 |
+
float: left;
|
5459 |
+
}
|
5460 |
+
.url-select, .url-option, .url-box {
|
5461 |
+
width: 50%;
|
5462 |
+
word-break: break-all;
|
5463 |
+
padding: 0 2px;
|
5464 |
+
}
|
5465 |
+
.url-values {
|
5466 |
+
width: calc(50% - 36px);
|
5467 |
+
}
|
5468 |
+
.url-box, .url-values, .url-buttons {
|
5469 |
+
padding-top: 5px;
|
5470 |
+
}
|
5471 |
+
.url-values {
|
5472 |
+
padding-left: 2px;
|
5473 |
+
}
|
5474 |
+
.url-buttons {
|
5475 |
+
padding-right: 2px;
|
5476 |
+
}
|
5477 |
+
.chaty-cls-setting .chaty-default-settings .channels__input-box {
|
5478 |
+
width: calc(100% - 108px);
|
5479 |
+
}
|
5480 |
+
.chaty-cls-setting .chaty-settings.cls-btn {
|
5481 |
+
margin-left: 0;
|
5482 |
+
padding: 0;
|
5483 |
+
}
|
5484 |
+
.chaty-cls-setting .input-example {
|
5485 |
+
display: none;
|
5486 |
+
}
|
5487 |
+
.chaty-cls-setting .input-example.active {
|
5488 |
+
display: block;
|
5489 |
+
position: relative;
|
5490 |
+
top: 4px;
|
5491 |
+
}
|
5492 |
+
.custom-css, .css-option-box {
|
5493 |
+
width: 100%;
|
5494 |
+
}
|
5495 |
+
.main .channels-selected__item .input-example {
|
5496 |
+
left: 0;
|
5497 |
+
top: 40px;
|
5498 |
+
position: static;
|
5499 |
+
width: 100%;
|
5500 |
+
text-align: left;
|
5501 |
+
margin-top: 10px;
|
5502 |
+
}
|
5503 |
+
.viber-help span.help-text {
|
5504 |
+
left: -40px;
|
5505 |
+
}
|
5506 |
+
.form-horizontal__item span.header-tooltip-text {
|
5507 |
+
width: 210px;
|
5508 |
+
left: -10px;
|
5509 |
+
}
|
5510 |
+
.form-horizontal__item span.header-tooltip-text:before {
|
5511 |
+
left: 20px;
|
5512 |
+
right: auto;
|
5513 |
+
}
|
5514 |
+
.main #positionPro {
|
5515 |
+
margin-left: 0;
|
5516 |
+
}
|
5517 |
+
}
|
5518 |
+
@media screen and (max-width: 600px) {
|
5519 |
+
|
5520 |
+
.url-content > * {
|
5521 |
+
width: 100%;
|
5522 |
+
padding: 0 0 5px 0;
|
5523 |
+
text-align: left;
|
5524 |
+
}
|
5525 |
+
.url-content > .url-buttons {
|
5526 |
+
padding: 0;
|
5527 |
+
}
|
5528 |
+
a.remove-chaty-widget-sticky {
|
5529 |
+
top: 290px;
|
5530 |
+
}
|
5531 |
+
.pro-features {
|
5532 |
+
position: relative;
|
5533 |
+
display: block;
|
5534 |
+
}
|
5535 |
+
.chaty-setting-col .pro-features.upload-image {
|
5536 |
+
display: inline-block;
|
5537 |
+
}
|
5538 |
+
.btn-red, .btn-white {
|
5539 |
+
font-size: 14px;
|
5540 |
+
margin: 2px 0;
|
5541 |
+
float: right;
|
5542 |
+
}
|
5543 |
+
.update-nag {
|
5544 |
+
display: none !important;
|
5545 |
+
}
|
5546 |
+
.chaty-new-widget-row {
|
5547 |
+
display: block;
|
5548 |
+
}
|
5549 |
+
.chaty-new-widget-left {
|
5550 |
+
width: 100%;
|
5551 |
+
float: none;
|
5552 |
+
}
|
5553 |
+
.chaty-new-widget-right {
|
5554 |
+
width: 100%;
|
5555 |
+
float: none;
|
5556 |
+
padding: 20px 0 0 0;
|
5557 |
+
}
|
5558 |
+
.chaty-new-widget-left img {
|
5559 |
+
max-width: 100%;
|
5560 |
+
}
|
5561 |
+
.chaty-new-widget-wrap {
|
5562 |
+
margin: 40px 10px 0 0;
|
5563 |
+
}
|
5564 |
+
.btn-save-sticky {
|
5565 |
+
top: 70px;
|
5566 |
+
}
|
5567 |
+
.btn-help {
|
5568 |
+
top: 113px;
|
5569 |
+
height: 32px;
|
5570 |
+
line-height: 34px;
|
5571 |
+
padding: 0;
|
5572 |
+
display: inline-block;
|
5573 |
+
vertical-align: middle;
|
5574 |
+
width: 100px;
|
5575 |
+
}
|
5576 |
+
.btn-help span {
|
5577 |
+
width: 18px;
|
5578 |
+
height: 18px;
|
5579 |
+
line-height: 18px;
|
5580 |
+
font-size: 11px;
|
5581 |
+
}
|
5582 |
+
.preview-help-btn {
|
5583 |
+
top: 172px !important;
|
5584 |
+
line-height: 32px;
|
5585 |
+
height: 32px;
|
5586 |
+
width: 110px;
|
5587 |
+
}
|
5588 |
+
a.remove-chaty-widget-sticky {
|
5589 |
+
padding: 0;
|
5590 |
+
height: 32px;
|
5591 |
+
line-height: 32px;
|
5592 |
+
top: 292px !important;
|
5593 |
+
}
|
5594 |
+
.ml-auto {
|
5595 |
+
display: none;
|
5596 |
+
}
|
5597 |
+
.mobile-message {
|
5598 |
+
display: block;
|
5599 |
+
}
|
5600 |
+
header.header {
|
5601 |
+
display: block;
|
5602 |
+
}
|
5603 |
+
.mobile-button {
|
5604 |
+
display: block;
|
5605 |
+
margin: 10px 0 0 0px;
|
5606 |
+
float: right;
|
5607 |
+
}
|
5608 |
+
.icon:not(.active):hover:before, .icon:not(.active):hover:after {
|
5609 |
+
opacity: 0;
|
5610 |
+
pointer-events: auto;
|
5611 |
+
}
|
5612 |
+
.icon:not(.active):hover .color-element, .main .channels-icons > .icon:not(.active):hover .color-element {
|
5613 |
+
fill: #BDBDBD;
|
5614 |
+
}
|
5615 |
+
.icon:not(.active) .color-element, .main .channels-icons > .icon:not(.active) .color-element {
|
5616 |
+
fill: #BDBDBD;
|
5617 |
+
}
|
5618 |
+
.container {
|
5619 |
+
padding-left: 6px;
|
5620 |
+
}
|
5621 |
+
.btn-save-sticky {
|
5622 |
+
font-size: 10px;
|
5623 |
+
width: 32px;
|
5624 |
+
height: 65px;
|
5625 |
+
padding: 10px 0 7px;
|
5626 |
+
text-align: center;
|
5627 |
+
}
|
5628 |
+
.btn-save-sticky svg {
|
5629 |
+
width: 25px;
|
5630 |
+
margin: 0 auto;
|
5631 |
+
}
|
5632 |
+
.btn-save-sticky span {
|
5633 |
+
font-size: 10px;
|
5634 |
+
line-height: 10px;
|
5635 |
+
height: 10px;
|
5636 |
+
}
|
5637 |
+
}
|
5638 |
+
@media screen and (max-width: 480px) {
|
5639 |
+
.btn-red, .btn-white {
|
5640 |
+
font-size: 12px;
|
5641 |
+
width: 180px;
|
5642 |
+
text-align: center;
|
5643 |
+
}
|
5644 |
+
.btn-red svg {
|
5645 |
+
width: 12px;
|
5646 |
+
vertical-align: middle;
|
5647 |
+
}
|
5648 |
+
span.expired-message {
|
5649 |
+
color: #a00000;
|
5650 |
+
font-size: 13px;
|
5651 |
+
display: block;
|
5652 |
+
padding: 0 0 10px 0;
|
5653 |
+
}
|
5654 |
+
a.renew-button {
|
5655 |
+
float: right;
|
5656 |
+
}
|
5657 |
+
p.plan_date {
|
5658 |
+
font-size: 14px;
|
5659 |
+
}
|
5660 |
+
}
|
5661 |
+
@media screen and (max-width: 400px) {
|
5662 |
+
.btn-red, .btn-white {
|
5663 |
+
font-size: 10px;
|
5664 |
+
width: 160px;
|
5665 |
+
text-align: center;
|
5666 |
+
padding: 5px 0;
|
5667 |
+
}
|
5668 |
+
.chaty-help-btn {
|
5669 |
+
right: 20px;
|
5670 |
+
bottom: 5px;
|
5671 |
+
}
|
5672 |
}
|
admin/assets/js/animation.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"v":"5.7.3","fr":30,"ip":0,"op":215,"w":800,"h":800,"nm":"sandtime","ddd":0,"assets":[{"id":"image_0","w":304,"h":263,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAAEHCAYAAAAphBrmAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAN+klEQVR4nO3dT05bWRbH8d8hjipSD4pI2GpGRa0g1PARtQpW0O4VtLOCdu3AWUE7OzAraLICzCAg9aRhBQWjSCESeGbUjk8PeFSM2+B/7737/nw/syTGOZXBr86979z7TCX37y/+5/GGWu76i6Q/ha4HqCTXpUyXkvpR3fpJfa0l9UVF8OmL79qGWuZqSvopdD1AVbn00VxHUcN663xPpQJs0tm178vVkqkp6cfQ9QAVNZDUHdbUPXhtt8v+cGUDbNLpV2/aWE3CDAhm4FJnr27dZX6IAJtwfOObr/6rppuaJv01dD1ABZ1opFa0bZeLfJgAe8LZZ9/xmpomtcV+GZClgZtae1t2NO+DBNgCPn3x3Q2pzRITyJDr3bxNfgJsCQ9LTJnakt6ErgcovTkhRoCt6Oyz7/hLtc3VEl0ZkJ5nQowAWxNdGZC6wdi1/7Zh59N/QIAliL0yIDVXw5p2p2fFCLAUHN/45g8jtXiCCSTHTR/2tqw9+XsEWMpOv3rTXG1Jv4auBSi8kX6enBHbCFhKJext2VFUt32N9LNch7o/OgFgFS/UmfwlHVjGjm9889VIbUktsbwEljfRhRFgAZ198ZZMHRFkwOJch1HDWhIBlgtn174vqSP2yYBFDKK6bUoEWK5MjGH8PXQtQM4dRHXrs4mfI28bdh41rDWx4Q9gBr+fteQpZB5F23b5EGRu+iCeXAKPmGtXYglZCBNPLttiwh+QJEV1MwKsQAgy4DsCrKAIMkCSdECAFRhBhoojwMqAIENFEWBlEt9N1mWODBVBgJXR2Wff0Qt1CDKUHAFWZmeffUc19cQRJZTTAYOsJRZt22VUt31JB5JOApcDJI4OrEK4/QIlwxKyis6uvSOeWKL4WEJWUVS3zrCmnficJVBYdGAVx0Y/CowlJO7FLx/piv0xFAcBhsfYH0OBsAeGx6K6dTTSrksfQ9cCzEMHhifFd/X3xLIS+UQHhqdFdetHdduR9D5wKcBMBBjmipeVP4tpfuQMS0gsJZ7m74pNfoTHEhLLiRrWG9a0wyY/8oAODCtjdgyB0YFhdXtbdjSsaZcjSQiFDgyJYOQCAdCBIRlR3fp0Y8gaHRgSF3djR+JJJdJFB4bkxd0YTyqROjowpIq5MaSIDgzpihrW00i7YoofKSDAkLqJl4twphKJIsCQmahuHd2/IekqcCkoCQIMmfpj3IINfiSATXwEc3rtbZP+GboOFBab+Ahnr27dsesXsaTEiggwBPW2YefDGk8psRoCDMEdvLZbnlJiFQQYciOqW8dNf5M0CF0LioEAQ67sbdnR2LUv6SJ0Lcg/Agy5E++L7TNqgXkYo0CunX71rrn+EboO5BJjFMi3vS1ry/UudB3IJwIMuRc1rBfPi7G5j0cIMBTC24adx7dasLmPPxBgKIxo2y6HNZ5Q4jsCDIUSD73uynUYuhaER4ChkKKGtQgxEGAorDjEeEJZYQQYCi1qWI8Qqy4CDIVHiFUXAYZSYFasmggwlMbbhp3HB8EJsYogwFAqhFi1EGAoHUKsOggwlBIhVg0EGEqLECs/AgylRoiVGwGG0iPEyosAQyW8bdi5m1qh60CyCDBUxt6WHTGxXy4EGCqFY0flQoChcqKG9dz0IXQdWB8BhkqKXxbCfWIFR4ChsqKGtSSdhK4DqyPAUGnDmprijv3CIsBQaQev7VYjNcWMWCERYKi8aNsu40FXFAwBBih+7yTjFYVDgAGxeEaMJ5MFQoABE+Ink2zqFwQBBkyJ3/7Npn4BEGDAlIPXdiupGboOzEeAATNEdetLeh+6DjyPAAOeENWtIyb1c40AA54RT+qzH5ZTBBjwjIPXdstFiPlFgAFz7G3ZEdfv5BMBBizg7oU6kq5C14HHCDBgAfFoRSt0HXiMAAMWFNWtz1IyXwgwYAksJfOFAAOWwFIyXwgwYElR3foufQxdBwgwYCV3NbXEgGtwBBiwgoPXdutSJ3QdVWehCwCK7OzazyW9CV1HRR3QgQHraYcuoMoIMGANbOiHRYABa7IRXVgoBBiwpmjbLnkZSBgEGJCA4Uu1xVhF5ggwIAHxhH43dB1VQ4ABCRnW1BVdWKYIMCAhdGHZI8CABNGFZYsAAxJEF5YtAgxI2ki90CVUBQEGJIy5sGyMXbcc5gZScPbZd1TT76HrKLOobkYHBqQg2rZL8Vbv1BFgQErc2MxPGwEGpGRvy47EC0BSRYAB6eqFLqCkLiQCDEgXIxVpuZUIMCBV0bZdcuFheggwIGXmOgpdQ+m4LiUCDEjd8CUBljgjwIBMHLy2Wybz00GAARnwDbqwhPUlAgzIRDwTxjU7CSPAgIx43DVgfcOaziUCDMgMTyOTE9+7RoABWeFpZGL+OCRPgAEZibuGi9B1FJ3HU/gSAQZkjS5sTab7/S+JAAOy1g9dQOHFU/gSAQZkKqpbP3QNhWcEGBASN7WuYfJ/AgQYkL1+6AIK7NEFkQQYkDG375vQWI7r8b8dAQZk7O4FHdiqjAADwornwbgrfzX9yV8QYEAA00shLObhDOQDAgwIYHophIVcPZyBfECAAQGwkb+8WV0rAQYE4OPvw5hYWH/6NwgwIIC3DaMDW5I7AQbkCU8ilzAr9AkwIJzL0AUUyMzjVwQYEAgb+YvzJ64hIsCAQMx1O/9TkGbvf0kEGBCOs4Rc0OCphx4EGBCKEWCLeO5tTgQYgFx77m1OBBgQyPS5Psz23NucCDAgkOlzfZjp4rl/JwIMQG651HvuzwkwALn11PjEAwIMQF5dzTszSoABYfGGoie4zX8JMAEGIJd8/Pz+l0SAAcinuctHiQADkEMudRf5HAEGIHdsNH//SyLAAOTPSbRtl4t8kAADkC8+f/P+AQEGhPVr6AJyZvDc2cdpBBiA/HAdLXNGlAADkBvjBZ8+PiDAAOTFxbKvmyPAgEDOPvtO6BpyxZfrviQCDAinpp3QJeTIIGpYb9kfIsAA5MHS3ZdEgAHhOB3Yg2GNAAOKxQgwSZLrcNXrtQkwIBA3bYauIRe+qbPqjxJgQCDm2g1dQ3Cuw0XPPc5CgAHh0IHZ4uceZyHAgHDehC4gsJOobv11voAAAwJgiFWSVt/7ekCAASEwxLp29yURYEAo+6ELCGnsaifxPQQYEEKVh1hdh8se2n4KAQaEUOUh1jXmvqYRYEAY1byJdc25r2kEGJCxT1+8qgOsg+HLZPa+HhBgQMY2VNkJ/O6qZx6fQoAB2dsPXUAAV1HdOkl/KQEGZM2q14G5Jbt0fGBpfCmA2Y5vfPPVSDeh68jYSVS3/TS+mA4MyNAP3yq3fBxopFZaX06AAdnaD11AxrpJjk1MI8CADJlXKsAu0ti4n0SAARk5vvFNVesKnVQ27icRYEBGqrT/5aYPSdw2MQ8BBmTExmqGriEjV3cvkjvv+BwCDMiKVaYDayU9cf8UAgzIQHz+8afQdaQtq6XjAwIMyMCGVWL5eLG3Zalv3E8iwIBslD7Axp7ewOpTCDAgZfELPEo9PuHSb0ndsroMAgxImdfK3X259HGvbt0QfzcBBqTMlP3SKkNXd7Vw/33cRgGk6Oyz76im30PXkZax65cQS8cHdGBAmgJ2J2kLte81iQAD0tUKXUAqXIeh9r0mEWBASko8vHqR9Ms5VkWAASnZyOA2hgAGGqmZ1VGheQgwIC0lnL4fu/bTvKBwWQQYkIKzL96S9GPoOhLlehd6034aAQakwUq3ef8+algvdBHTmAMDEla62S/XYdSwVugyZqEDA5KW0WV+GTnJa3hJBBiQqOMb3yzR5v3FMOfnOAkwIEE/3L8DsQyb9xfDmvbzMi7xFAIMSJCVY/brqgjhJRFgQGJOv3pTxZ+8H4w9P4Oq8xBgQELMC999Dcau/bzNej2HAAMScHbt+5J+DV3HGgoXXhIBBiTCi733VcjwkhhkBdZW8MHVwoaXRAcGrK+4g6tXRQ4viQ4MWEuBu69CzHnNQwcGrKOY3VcpwkuiAwNWVsTuy6WPdzW1yhBeklQLXQBQWEXrvlyHezk+mL0KOjBgBUXrvlz6LQ8v4Ugae2DACrymooTBQK53ZQwviQ4MWFo8dX8cuo4FFHrGaxF0YMDyOqELWMDFsKadMoeXxCY+sJTTr96U5/zMY46vgE4aHRiwBPNc730N5HpXlfCS6MCAhZ1ee1v5ve/rYuxqlX3JOI1NfGABxze++WqkS+XxumjX4fCl2mUZTl0GHRiwgB++qaP8hddArnYe39eYFTowYI6cDq1eaKRmtG2XoQsJiQ4MmKemXugSpryP6tYJXUQeEGDAM3I2NlHJjfrnsIQEnhBv3J8rH08e6bpmoAMDnhBv3IcOr5Oxq03XNRsdGDDDpy++u2H6T8ASBi51ynoIOyl0YMAMGxZw477Cc13LIsCAKfHE/ZsAf/WFpHbUsH6Av7uQWEICE+KZr3NlO7R6JVenygOpq6IDAybdz3xlFV4DSd1hTV2Wi6shwIBYvHTMZObLTR/uXqhDcK2HJSSgDJeOrkN9U6fqR4CSQgcGSOkvHQmuVBBgqLwUl44DuY4IrvSwhESlpbR0ZHM+I3RgqLZkl46MQ2SMAENlJbZ0dB3K1IvqDKBmjSUkKimBs45Xknoaqcf+Vjh0YKic4xvf3BitdNbxflOebis3CDBUTnxNzsJnHV36aK6j4UsdsSmfLywhUSmnX71prn/N+xyhVQwEGCpjzsjE/fJQ6hNaxcESEtXx/yMTF9J9aLGnVUwEGCrh7No7kjbd9EFS/+6F+nRZAAAAAAAAAAAAKfkfpKAAWj/M0ssAAAAASUVORK5CYII=","e":1},{"id":"image_1","w":304,"h":263,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAAEHCAYAAAAphBrmAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAMn0lEQVR4nO3dTXLbRh6G8bchVyU7iyV5bWVJZxH6BOGcYHSD0CcY5QRhbiCfYKQTjHyCoU5gciFzS60jF8UdXRWjsyAoUzQ/QBBg4w88v5U/RKhXT3U3G4BTTu7GvhV9Vcs7tZxXK6/rAqgAp5GkkWL1mq9cL7/L7uFu7FsuVsdJ55Je5zQmABXnnT64WDfNU3e1z3UyBezTgz930oWcft3nlwOovYmky2mky7cN97jrh3cKWLJMvCRcAHI28VL3zYm73OVDqQM2/Oy7kv7YdVQAkJrXrY7UaTbcKM2Pbw3Yx7E//jFWT9Ivew4NANKYeK/Om1N3s+0Ho03/eTf2rR9j9UW8ABzOS+f0v+GD72z7wbUzsLuxb0WzmdfLHAcGAOl5vdv0TeXKgCXLxr44GgEgtA0RW7mETPa8iBeA8Jwu78Z+5eH47wKWfNvInheAsngZxbr5OPbHy//xLGBJ5TgqAaBsXv8Qq7v8j8/2wIYPvschVQClFemnxTNiTzOwTw/+nHgBKLWlWdhTwJx0cfDBAMBufhuO/dn8L5GU7H0x+wJgwcIsLJIkF6sTaiwAsKPz+R9mAVv4BwAouZfDv3xbkqLk6ASHVgGY4aPZpCuKvvL4ZwC2zB9bH3lHwAAYk3zpGPECDgBWbXweGACU1fAv3yZgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzCJgAMwiYADMImAAzIrkdBZ6EACQRSTpMfQgACCLSJ6AAbCJPTAAZhEwAGYRMABmETAAJsUv9EjAAJj0c8P1CRgAsyI5jUIPAgCyiCQCBsAmlpAALBpIBAyARckdRJFi9QIPBQAyYQYGwJ7ky8cofsHN3ADMGUlS9HPD9QMPBAAyYQkJwJ5k734WMK/bkGMBgCyYgQEwZ/pCfSkJmHdiHwyAGW8bLjkHJsnxXHwAVixsec2WkBxmBWCEj75NuCJp9mCwcMMBgPSc/7blFUmzB4OFGw4A7MB/e4LO4reQg8OPBAB2tCpgngcbAjCg+cr15n9+CtjiuhIASup+8S/fZmAEDEDJLZ9Z/TYDOyJgAMpteaX4FLBmw40kTQ49IABIbenM6vN7IVlGAiix+T2Qc88D5jiRD6C07uf3QM49Cxgb+QDKatVDJ54F7MsRMzAAJeW/79OzgCXTM07kAygdH20JWIJlJIDSWXXP9vcBWzFNA4Cg1jz2/vuAsQ8GoGS8082qf/8uYMmBVvbBAJTGqv0vac1LPbyYhQEojcm6ZxaufisR+2AASsJvOGC/MmBvTt3K9SYAHJqLV+9/SRveC+mdPhQzHABIb3qUIWAsIwGUwGD5/sdFawPmovXVA4BD8NLVpv9fGzCOUwAIbd3xibn1S0htrx8AFOh+2ysfNwaMZSSAULy292djwFhGAgjFR9tXgBsDJrGMBBDE1uWjlCJgLCMBHJqXLtP83NaANRtutO5RFgBQhLQTp60BS1xlHwoA7MDrNtl/3ypVwJKj/LwzEsAhXKX9wVQBS47ysxcGoGiTTfc+Lku7hJRilpEACnez6d7HZakD1nzlepLus4wIANKIo3TfPs6ln4FJkld3p58HgPQGac5+LdopYGzmAyiM3232Je0YMDbzARRk0jx1V7t+aLcl5OwT3Z0/AwCb7Tz7kjIErNlwIx43DSBP0x037+d2n4FJcl+z/TIAWOF6l6MTi1zW3zh88D05/Zr18wAgSYr0U9pbh77/aEZp7xYHgA2us8ZL2iNgybsjOdgKILs97/DJHDBJHGwFkJ3XbXKHT2aZ98Dmhp/9SNLrfa8DoGZi/WvfgO03A5OYhQHYXQ6zLymHGZgkDT/7vqRf8rgWgOqLI73d9b7HVfafgUlSrItcrgOgDq7ziJeU0wxM4lwYgJT2OPf1/aXywl4YgO32Ove1LLeAJRty13ldD0DlTKZRvttN+c3AZlfr5no9AFVymfWex3VyDVgyNfwzz2sCqIT75onr5n3RfGdgenosBrcYAXjifTEnFXIP2NuGeyxqsAAM8rpN7p3OXe4Bk5Ibvb1ui7g2AFMmOlKnqIsXEjBJKnLQAMy4zPPYxLLCAsaGPlB7gyI27hfldhJ/He6TBGoqh6dNbFPcEjIRRywlgbrx0vui4yUdIGDJTZssJYH6uP9yoEPthS8h51hKAjVxgKXjXOEzsDmWkkD1HWrpOHewgLGUBCpv8ObEHfQQ+8GWkHM8NwyopryesrqLg83AnswOuE4O/nsBFMZLvx86XlKAgDUbbuQ9+2FAVXinD29OXJAXXR9+BqbZvZJeeh/idwPI1f0XF25CcvA9sEUcrQBsC7HvtSjIDGzht5+L/TDApFD7XouCBqzZcCPFOg85BgCZXIfa91oUdgam2ctAvPR76HEASG2Q98s5sgq6B7Zo+NlfSfot9DgAbDRRpFaRz/jaRfAZ2FxS9EHocQBYL47ULku8pBIF7G3DPU4jtcWmPlBOXu9Cb9ovK03ApFnEYiIGlNGfzVN3FXoQy0qzB7Zo+JdvK9L/Q48DgCTpunniOqEHsUopAyZJwwffkdN/Q48DqDWv2+apa4cexjqlWkIuap66K45XAEENpkflPqdZ2hnYHMcrgCAG00jttw33GHogm5Q+YBIRAw7sfhqpVfZ4SSVeQi5KNhCvQ48DqIFJHOncQrwkIzOwOWZiQKEmcaR22c56bWIqYBIRAwpiLl6SwYBJRAzImcl4SUYDJhExICdm4yUZ2cRfhY19YG/3luMlGZ6BzTETAzIxcc5rG7MzsLnmietwYh/YSSXiJVUgYJL05sRdyutd6HEAZeedPlQlXlIFlpCLPj34c+d0Jell6LEAJVTap0pkVamASdLd2LeiWD0RMeCJl34vw0s48laJJeSinxuuP410Jh5PDUjSRF7vqhgvqYIzsLmPY3/8g9eV8/p36LEAgZg+45VGZQM2N/zsu5L+CD0O4MAq803jJpUPmMTmPmqncpv161RuD2yVN6fuJnlZCPtiqLKJvN7VJV5STQImPW3ut8XtR6imQRypXcY3BxWpFkvIZckLQy7FkhLVcD2NdFH1/a5VahkwSRqO/Zli3Uj6JfRYgIwm8rqo26xrUW0DNse3lDBqoEjnzYYbhR5ISLUPmPT0It0rSa9DjwVI4c/mieuGHkQZ1GYTf5PmK9ebRmp56X3osQAbDOJIb4nXN8zAljAbQ0kx61qBGdgSZmMoFa9bZl3rMQPb4G7sW9FXXcrp19BjQe1MvNSt6k3YeSFgKXz67C+c1BXnxnAYtT3XtSsCltLHsT/+IVbXSf8JPRZU1kCxLpqvXC/0QKwgYDtiWYkC3MurW+cDqVkRsIz4thI5mEi6nEa6ZLmYDQHbU3JfZVeEDDvw0vsvkbqEaz8ELCeEDCldK1K37rcA5YWA5YyQYQ3CVQACVhBCBs32uG4IV3EIWMGGD74jqcO3lrXC5vyBELADSb617Ej6LfRYUBiOQxwYATuw5EGKHUkX4mR/VVwr1hUHUA+PgAU0fPAdH+mcd1eadC/pSpGu2N8Kh4CVwMKsrCM2/ctstinPbKs0CFjJ3I19y8XquFnMWGKWgHf64GLdTI90w6Z8uRCwEkteyHsuqS1mZgdFtGwgYEYszMza4k1KRZgtD716RMsOAmbQcOzPfKxzObWdV1ssNbMaaLan1WNPyyYCVgHJGbO2vNocmN1o4KWevHpfjtRjlmUfAaugZLnZdlJL9d0/m8irL6eeYvWmL9QnWNVDwGrg49gf//i3WorUlnSmWdiqtI92L6+RnHreq++O1OdsVj0QsBobjv2Z/taZIrW9dOy8WnI6VjnjNpFX30d6dF59eY3kNWLvqt4IGFZ6mrVJ8pFaTjqWJO/UcvHsz5Ikp5ayfongdfvsr059Jz1KkvfqO69HvdCI2RQAoHL+AWPVYGoSj/9tAAAAAElFTkSuQmCC","e":1},{"id":"image_2","w":412,"h":259,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZwAAAEDCAYAAAABcbKvAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAIeElEQVR4nO3dO5IjSR3AYdVDrZ7ZXYMgAosDYGKux2m4D0fgBlyBU3AGbGB7JNVDGG10aLo1XZmVD1Xo+07wN1Txi8zKSjUv//rH33ZN++cdUMzx5T9/HIfj72vPAaX84de//q5/jc3lL7WHgUdyPv62u1zm2mNAUW3tAeDRnE8vYsNDEhwobDi91B4BqhAcKGgah904nGuPAVUIDhR0Pv5WewSoRnCgkMtl3p1tp/HABAcKOZ++1R4BqhIcKOT87X+1R4CqBAcKGM7H3TxPtceAqgQHCnAUGgQHspvnaTecj7XHgOoEBzLz7gZeCQ5k5nQavBIcyMi9afBGcCAjNwvAG8GBTMbhtJvGofYYcDcEBzIZvLuBK4IDGbg3Dd4THMjg9M27G/ie4EAGbhaA9wQHEnNvGnxMcCCx89HNAvARwYGE5nnyF9Jwg+BAQu5Ng9sEBxJ5PQrt2xu4RXAgkeF8dG8a/IDgQCKnl//WHgHumuBAAuNwchQaPiE4kIB70+BzggMruTcNlhEcWMnJNFhGcGAl96bBMoIDK0zj4E/WYCHBgRWsbmA5wYEVhvOx9giwGYIDkaZx8O0NBBAciGR1A2EEByKNg+BACMGBCJfL7HQaBBIciGA7DcIJDkSY/KsnBBMciDAOp9ojwOYIDgSa58lxaIggOBDI6gbiCA4Emp1OgyiCA4GmSXAghuBAoNEJNYgiOBDAx54QT3AggO00iCc4EGCeHIeGWIIDAWYrHIgmOBDAB58QT3AggEMDEE9wYKHLZa49Amya4MBCVjewjuAAUITgwELTNNYeATZNcGChy+wdDqwhOAAUITiwlFNqsIrgwELuUYN1BAeAIgQHgCIEB4AiBAeAIgQHgCIEB4AiBAeAIgQHgCIEB4AiBAcWatu+9giwaYIDCzVtV3sE2DTBAaAIwQGgCMGBhfr9U+0RYNMEB4AiBAcWajun1GANwYGFWqfUYBXBgQBdv689AmyW4ECApmlqjwCbJTgQoOsPtUeAzRIcCNB23uNALMGBAA4OQDzBgQD93pYaxBIcCOSkGsQRHAjUdYIDMQQHArVWOBBFcCBQ37vEE2IIDgTq+v2uaTw6EMpTAxH8VQGEExyI0DkeDcEEByLsn55rjwCbIzgQoW07tw5AIMGBSFY5EEZwIFIvOBBEcCBSvz84Hg0BPC2wgm01WE5wYIX94UvtEWAzBAdW6PcHp9VgIcGBlWyrwTKCAys9ffm59giwCYIDK7Vt5241WEBwIIH94WvtEeDuCQ4ksH969k0OfMITAgk0TevwAHxCcCARV93AjwkOJGJbDX7M0wEJ2VaD2wQHErKtBrcJDiTkexy4TXAgoaZpRQduEBxIrOsPtUeAuyQ4kJgVDnxMcCCxfm+FAx8RHMjAKgfeExzIwHsceE9wIIOu39ceAe6O4EAGggPvCQ5k0LZd7RHg7ggOZOLgAFwTHMikbfvaI8BdERzIpLGtBlcEBzJxcACuCQ5k0jRN7RHgrggOZGKFA9cEBzLxd9NwzRMBQBGCAxn5FgfeCA4ARQgOAEUIDgBFCA4ARQgOZOSP2OCN4ABQhOAAUITgQEbzNNQeAe6G4EBGl8tcewS4G4IDQBGCA0ARggNAEYIDGU3jWHsEuBuCAxk5NABvBAeAIgQHMhmHU+0R4K4IDgBFCA5kMg7n2iPAXREcyMWBAbgiOJDJ5B41uCI4kIlvcOCa4EAGl8vsGxz4juBABtNoOw2+JziQgRNq8J7gQAb+eA3eExzIwAoH3hMcSGwaBwcG4AOCA4mNo9UNfERwILHJpZ3wIcGBxLy/gY8JDiQ0Difvb+AGwYGExvOx9ghwtwQHEhoEB24SHEhkGofdPE+1x4C7JTiQyHB6qT0C3DXBgURsp8GPCQ4kMA4n22nwCcGBBIbTt9ojwN0THEjAdhp8TnBgpfPpxceesIDgwEo+9oRlBAdWcncaLCM4sMJwPtpOg4UEB1awnQbLCQ6sMPrvG1hMcCCSu9MgjOBAJH8lDWEEByL5K2kIIzgQyXFoCCM4EGGeJ8ehIZDgQASn0yCc4ECEeRxqjwCbIzgQYZoEB0IJDkRwYADCCQ4E8rEnxBEcCDRPY+0RYJMEBwLZToM4ggOhfH8DUQQHAjmhBnEEBwJdLpfaI8AmCQ4Emnz0CVEEB4AiBAcCWN1APMGBAG6IhniCA0ARggNAEYIDAdwyAPEEB4AiBAeAIgQHgCIEB4AiBAeAIgQHgCIEB4AiBAeAIgQHAjStRwZieXogQNf1tUeAzRIcAIoQHACKEBwI0NpSg2iCAwHatqs9AmyW4ABQhOBAoH7/VHsE2CTBAaAIwYFAXX+oPQJskuBAILcNQBxPDgRy2wDEERwI1PX72iPAJgkOBGqa1vc4EEFwIELbCQ6EEhyI4KQahBMciOA9DoQTHIjgtgEIJzgQoWlaqxwIJDgQqesEB0IIDkTqn55rjwCbIjgQyXscCCM4EMl7HAgjOLBCv7etBksJDqyw9x4HFhMcWKHr9+5Vg4UEB1ayyoFlBAdW2h++1h4BNkFwYCXbarCM4EACttXgc4IDCTx9+bn2CHD3BAcSaNvOzQPwCcGBRBwegB8THEjk6fB11zQeKbjF0wEJPT3/VHsEuFuCAwk9PdtWg1sEBxJq22735F0OfEhwILHD119qjwB3SXAgMasc+JjgQAYOD8B7ggMZdP3eKge+IziQiXc5cE1wIBPvcuCa4EBGVjnwRnAgI6sceCM4kJlVDrwSHMjMKgdeCQ4UYJUDggNFWOWA4EAxVjk8OsGBQtq22x1cecMDExwo6PD1F/8KysPyy4eCmqZ1sScPS3CgsMOXn6xyeEh9s5v/Pu92/6w9CDyMptnt94dfx2n4U+1R2O2apjm2bf/v2nM8gv8D1Ty0GHGhDVUAAAAASUVORK5CYII=","e":1},{"id":"image_3","w":304,"h":263,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAAEHCAYAAAAphBrmAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAOIElEQVR4nO3dTXITWRaG4e8KEdbMJqJMBCM7egP21NQAsQK0A9QrQL2BRrWCcq2gxArKtQKJgZVDzAraHjlCcoRhBkHC6YHTIFSylZIy782f9xkVBptTFdFfn3vy6KYEAAAAAAAAVJsLXQDgw3hq/3Wmf0ka6atGR0/ceeiasDkCDLUwvLadVqyRpIPkSxcyjSSNPj3UyfNH7kOw4rA2Agy1cTqxw4bTuzt++71JAzONfn3szrwWhrURYKiV8dR6Tvp9yR+7MKcT+6YBYVZsBBhqZzy1Eye9SPnHCbMCI8BQO8k87FzS9orf+t6kgYt1wkOAYiDAUEvR1NqShut+v0l/y2nw9Bd3kl1VWBUBhtoaX9mxM73a8MdcSBoo1oCuzD8CDLW1YLViM6Y3choc7bpRJj8PSxFgqLUlqxXreivT4OixG2T8czGHAEPtRVPrS3qdw4++kKlPkOWHAAMkRVM7U1ZHyX+6MOn4c1MDNv6z1QhdAFAE30zdHH/8npN+b8U6H0+tl+PfUzt0YEAix6PkPI6WGSHAgBk5HyXnXZhTj12y9XGEBGbkfJSct+dMf0VTGyWLtVgRHRgwJ6MF19WZ3nx6qB6D/vTowIA5nx+or5sNe7+cXrZinSezOKRABwYssOlnJTPwXlKPrf77EWDAHVa8dicX5vTH5wfqc6xcjCMkcAcXqyfpY9AaTK9asc7HV9YJWUdR0YEB90h5g6sXJv39uaku3dgPBBiwhOfdsGU+mlOX3bEbHCGB5Yr08Z9tZ/ormthgeG07oYsJjQ4MSKEIA/0FLr6ZOnW+q58ODEghGegXzV7D6V2d98bowICUPH7Yex1vPzXVqduAnwADUtrgbUa+fPxmatfpSMkREkjp+SP3QVbIo+St7YbTuzrdOUYHBqwomtq5pL3QddzL9OboseuGLiNvdGDAiswVugu74fQymtpZ1Vct6MCANURTG0l6FrqOFCo9F6MDA9bTD11AStsNp1E0sW7oQvJABwasqURd2A3Tv6t2Dz8dGLC+fugCVuL0ZzSxQegyskQHBmygdF2YVKknlHRgwGb6oQtYmdPL8dROqvCEkg4M2FApu7Ab7z811S7zx4/owIDN9UMXsKaDVqxRmTsxOjAgAyXuwqQSd2J0YEAGzOk4dA0bKG0nRgcGZKQUn5G8X+k6MTowICtW2lnYrdJ1YnRgQIaiqX1Qce8LS6s0nRgdGJCtMs/Cbh20Yo1CF5EGAQZkKdYgdAkZOSjDx44IMCBDR0/cuUxvQteRCaeXRQ8xAgzImqtMF3b7saPCXuDIEB/IQQVWKn5W0Kt46MCAHFg1hvk/OP15OrHD0GXMI8CAHHxuVugYmWg4jaJL2w9dxywCDMhB8gq2agzzf9hWU4W6hocAA3JiDZ2EriEHB1sFWhVhiA/kqHLD/B9+O9p1/dBF0IEBOTJXyS5Mkl6Pr6wTuggCDMiRfSvOcStrzjQIPdQnwIAcJS+UvQhdR0621QzbYRJgQM4qfIyUpIPxlQXbeSPAgJxV+RgpSc70KtQ8jKeQgAcVfhp56+OnpvZ93yFGBwZ4UPFjpCRtt2L//44EGOCBs8oHmCQ9831zBUdIwJOKXDe9zEfFOjx64s59/GV0YIAnpnJc07whr6sVBBjgSU2OkZJ04OsoSYABvnytRQcmSXJS38eWPgEGeJLMhaq6lT9vWx7uRCPAAI9qsE4x61k0sW6efwEBBvg1Cl2AV07HeV6ASIABHrkvOgtdg2fbrS/5vR+APTDAsxp8rGiR50e7bpT1D6UDA3yzmh0jb/Tz+KEEGOCZudodI6WcBvoEGOCZUy0DTHLqZz3QJ8AAz/KYBZXEXitWphv6BBgQxvvQBQTSy7ILI8CAAEw6D11DINtbX7Mb6BNgQAC1nYPp5grqrD4nSYABYYxCFxDUg2y6MAIMCOCbyevd8YXj9DKLLowAAwJI3hdZbxl0YQQYEE5drtZZLIMujAADwjkPXUBwG3ZhBBgQihFgm3ZhBBgQiiPAJElNddf9VgIMCMRU8yeRP6y9nU+AAYHUeZl1zvZWvF4XRoABCM5pvQ95E2BAKDEzsBl74yvrrPpNBBgQSPKaNdyy1Y+RBBiAQnDSi1VXKggwAIVhD1ebhRFgAArDrXiMJMCAsOp6M+tdtlcZ5hNgQFgss85boQsjwAAUipNepN3MJ8AAFE7azXwCDEDhOBFgAMrrIM1OGAEGoJCsqaVPIwkwIKzD0AUUVZpjJAEGhLUduoACW3qMJMAAFNayYyQBBqDI2vf9pvNUBIA5w2vbacW6Dl1H0X1q6tHzR27hJxbowIBAWjED/DS2vt7dhRFgAArNfbt7DkaAAYGY01pv4qkdRwcGFI4zjpAp7Z1ObOF/KwIMCIQOLD13RxdGgAGB0IGtpL3oiwQYEA4dWEqOAAMK5yB0ASWyvWgORoABAaz6+jBIjQUffCfAgBCa2g9dQgm1579AgAFhtEMXUDqODgwoBOMesHUczL/sgwADAnDiCLmO+c+PEmCAZ0kXwRPI9bRnf0GAAZ5xC8X65o/eBBjgXzt0AWU1f/QmwAD/2qELKLGfjt4EGOAfR8gNzG7kE2CAR8n/+HgT0QZc48cxkgADPLrrWhikN3uLBwEGeOS0/G3TuN/sk0gCDPAk2f96FrqOsnMz1xARYIAn971dByv5/n8CBBjgyX1v18F6CDDAF0eAZSWaWlsiwAAvxlfWEesTmSPAAA84Pmbr9kkkAQb4wPExU7dPIgkwIGccH7N3+05NAgzIGcfH7N1u4xNgQI6G17Yjp5eh66gqAgzI0VasbugaKoojJJA3J/VC11BRBxIBBuQmWbbcC11HlRFgQF6M42PeCDAgB9Gl7TO8zx8BBuShSfeVt+jS9l3oIoCqGV7bTivWuVhezdtzOjAgY61YPRFeXhBgQPZYnfCEAAMyFE2sK7ovbwgwIEtO/dAl1AkBBmRkPLWeWFz1iqeQQAZ48hgETyGBLPDkMQwCDNhQ8r5HnjwGQIABG2p90bHovoIgwIAN8JnHsAgwYBNNDUKXUGcEGLCm5GUdz5b+QeSGAAPWMLy2HWc6Dl1H3RFgwBqStQmWVgNjkRVY0enEDhtO70LXARZZgZU1HIP7oiDAgBVEU+sreSMOwuMICaTE0bFwOEICaXF0LB4CDEiBo2MxcYQEluDoWFgcIYH7DK9tp+F0EroOLEaAAfdIbppgYbWgCDDgDtHEutw0UWwEGLDA6cQO5fisY9ERYMCcZO41EJcUFh4BBszZijUQKxOlQIABM8ZT6znpReg6kE4zdAFAUURTa0v6PXQdSI8ODFAytBf7XmVDgKH2GNqXFwGG2mvFOhFD+1IiwFBr0cQG4sUcpcUQH7WV3DDBpn2J0YGhlqKJdSW9Dl0HNkOAoXbGV9aR05+h68DmCDDUyunEDp1xs2pVEGCojeRiwpFYl6gMAgy1QHhVE08hUXnRpe2L8KokOjBU2vDadtTUiQivSiLAUFnDa9tpxRqJLfvKIsBQSYRXPRBgqBzCqz4IMFTK6cQOCa/64CkkKoNVifqhA0MlEF71RICh9Aiv+iLAUGrRxLqEV30xA0NpJW/O5laJGqMDQylFU+sTXqADQ+kk10BzkyoIMJRHsqB6Iu6wR4IAQylEl7Yv3h6EOQQYCu90Yodch4NFGOKj0FiTwH3owFBY4ys7lulV6DpQXAQYCmd4bTtbsQbO9CJ0LSg2AgyFcjqxw0asgRjWIwVmYCiMmXkX4YVU6MBQCMy7sA4CDEF9vz3V6LqwOo6QCCaaWrsV61wcGbEmAgxBRFPrSxqK/S5sgCMkvIoubT95TyNdFzZGBwZvxlfWUVNnIryQETow5G54bTutLzqWcQUOskWAIVfJYuqJnPZC14Lq4QiJ3ERT6zec3kmEF/JBB4bMMaiHL3RgyNR4aj0G9fCFDgyZSLqugbjuGR7RgWFjM10X4QWv6MCwNrouhEYHhrVEU+urqf+J8EJAdGBYSTS1tqRjMaRHARBgSGV4bTtbX9Xnzi4UCQGGpcZX1nE31zxzcwQKhQDDnb4P6Y05F4qJAMM/JLek9iS9Dl0LcB8CDD9JjovH4vOLKAECDJI4LqKcCLCa4+kiyowAq7Hx1HouVl88XURJEWA1lCyjDsScCyVHgNXI6cQOG07H4uM/qAgCrAaiS9vXA/XluJMe1UKAVdjMPldPzLlQQQRYBX0PrpjgQrURYBUTTayrmyeLDOhReQRYRUQT68oRXKgXAqzkCC7UGQFWUgQXILnQBWA1BBdw41NTjwiwkiC4gJ8d7TrHEbLgCC5gobcSM7BCGl7bTuuLOgQXsJg5nUkEWKH8tIDqWEAF7jGSGOIXQnRp+/ZQPWfqis15YJmPR7tuR6IDC+p0YocNqSenl85CVwOUhOnk9h8JsADGV9Zxpp641gZYndPgxz/CCwbzQCbeHu269u0v6MBy9n2+FavLYB7YWH/2FwRYTqKpte3mHq4XzLeAzZn099NdN5r9GgGWoeG17WzF6rqb4NrjfA5k5uPnprrzXyTAMvD9aWKsjliDADJnTt3nj9yH+a8TYGuaGcr3JB2ErgeosN+e/uJOFv0Gp5wVzexu0W0BeTO9OXrsunf9NgGWwvxsK3Q9QC0sCS+JALvX+Mo6MnWd9CJ0LUCdmPSfp7vueNmfI8DmnE7s0DXU5XOJQBAXkrpHc+sSdyHAlCybNtXhiAiEY05/fH6g/qKnjXepbYDNzLW64ikiEI7pjb6qf/TEna/6rbUKsNvVB3PqMNcCgrqQNFCswTrBdavyATbTaXXE7Q9AKG9lOjenMzONfn3szkIXBABB/R8w3XnxBaSCRQAAAABJRU5ErkJggg==","e":1},{"id":"image_4","w":304,"h":263,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAAEHCAYAAAAphBrmAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAMIUlEQVR4nO3dQVIbSRaH8X8WEwE7IOxeo1liL8AnaM0JzJzAmhO05gSjOUHTJxj5BvgG4gTghdEW1oYQ7OwIU28WlLAMCKqkqsp6pe+3ajc2ytUXL1OpUhDwjPHEOvqhjiRZov0gbUmSSVvBtL/0CwSdSzqf/tFMp8F0LUm7v4XR0r8frRZiLwBxTQN1HydTV5IU9Hvclf3is0zXFnQapOtp5AgcCNiKOJnY1sYP7StRV1JHpk7DIrWoC5nOFTQy06mt6fztdjiNvSjUg4C11PirdZWoa0H72VZvJ/aaamU6tqBTmUZhTae72+E89pJQPgLWAicT21q/VVdB3SB1Je3FXlMDXUgayTTSmkYErR0ImFPTCUvSgQjWIu6D9m1NR++2w3XsBaE4AubEycS2Nm51YIkOwt1B+2bsNbXMZ5OGlmjEGZofBKzBxhPrWKoDBXWD6X3s9ayQC5OOLNGQmDUbAWuY6aQlqdeSdwm9I2YNRsAa4uzSDpSox6TVaJ9NGoZER7wJ0AwELKJsi9gPUk+cabliQZ+UavjmdTiKvZZVRsAiGF9aT2wR2+JC0lCJhkxl9SNgNTmZ2NZGqr7upq3VulS6Oj4q1ZCPONWHgFVsPLGOUg0kfYi9FtTEdCxpuPs6DGMvpe0IWEXGX61ra+pzKL/SLmQaELLqELCSjb9aV0EDzrcw48Kkw++Jhtz4LxcBKwnhQg43Jg3evAqHsRfSFgRsSYQLC2BrWRICtiAO51GCCzP1uUu2OAJW0MnEttZTDYL0R+y1oCVMxzINuH5RHAEr4OzK+kEaiFvzqMbHb4n6HPTnR8ByyJ69dSieu4Xq3Ug63H0VBrEX4gEBe0Z2e/5QnHOhfp+Vqs+28nkEbI7xpfUUdCi2i4jIpL++JxqwrXwaAXtgPLGObjXkWgQa5MZMPd6tfIyAzeCQHk1mQZ++B/WYxn4iYGLqgitMYzNWPmCcdcEprlxohQN2MrGtddOQp0XAsYs00cEqP6s/ib2AGL5MbH8j1SnxgnM7SaqT8ZUNYi8klpWbwLKD+j9jrwMolen425oOVm1LuTIBY8uIFXCTJuqu0pZyJbaQ2ZZxRLzQcptJqpOzK+vHXkhdWj+B8S4jVtTH3VehF3sRVWt1wLLDzf/EXgcQyedvibptPhdrZcD4EDZwr9XnYq0LWBavkXj0DTB1I1O/jY+wblXAvkxsP7mLF+ddwEOmf7UtYq0JGPECcmnV4X4rrlGML62XpDoR8QJe8mF8ZcPYiyiL+wksuybxv9jrAFxpyc191wEjXsBS3F+zcLuFHF/ZgHgBS9nbSDU6mdhW7IUsyuUElu3hueMFlMPtJOYuYMQLqITLiLkKGPECKuUuYm7OwLLPNRIvoDruzsRcTGC82wjUys0k1vgJjHgBtdvLPk/ceI0OGPECotnzcGO/sVvI7LONJ7HXAay4Rn92spET2MwHswHE9aHJj6hu3ASWPc/rXHwwG2iOhj6Kp1EB42GEQHOlid417cmujdpCZo+BJl5AAyWpRuOJdWKvY1ZjAsZFVaDxNpXqqEkXXRsRsPGl9cS3BwEe7K2bhrEXMRU9YF8mtp99byMAB4LpfbZjii7qIT6H9oBfZvrnm9fhKOYaok5g2ShKvACHQtAw9qF+tICdXVk/mN7Hen0AS9tUqtWbwL5MbD9If8Z4bQCl2ju7smhn2LWfgWXnXqeSdup+bQDViHUeVvsElp17ES+gRULQMMb9sFoDNr60HudeQCttbtzWfx5WW8DGE+tw3wtosaDf635yRX0T2K2G4gkTQKsFaVDn1YpaAnZ2ZX0F/V7HawGIqtarFZUHbDyxTpAGVb8OgMbYq2srWf0ExtYRWDl1bSUrDVj2pRxsHYHVs5kNL5Wq7CIrj4YGUPWjqCubwLKnqxIvYJUFHVZ5wbWSgI2/Wlc8XRWAtJkNM5WoZgJLuLAK4N6HbKgpXekBy94+5RlfAH4K1VylKvUQn4N7AHNVcKBf6gS2nmog4gXgKUGDsg/0SwtYduP+j7J+H4DW2dlIVeoN/fImsJSPCwF4Ub/MKayUgHFtAkBOm+slDjulHOKPL23ER4YA5Jbo77vb4Xz5X7Ok8VfrEi8AhZQ0hS2/hazofgeAVvtQxtMqlgoY0xeAhZUwhS03gTF9AVjc0lPYwgFj+gKwtCWnsIUDZmvlXkgDsJKWmsIWCth4Yh2+3xFAKVL1Fv2ni01g3LoHUJ6Fb+cXDlj2Qty6B1CWzfUFp7DCASv7w5gAELRYVxbZQvYWeSEAeMbO2aUdFP1HhQI2vrSepJ2iLwIAL0qKD0dFJ7DCLwAAeQTT+6JXKnIHbDyxDhdXAVTJCp6x5w5Y0V8MAEWFgru83AEr+osBYAGbRQ7zcwUs+4V8WQeA6hU4zM83gS3w7gAALCKY3ue9mf9iwE4mtsXnHgHUKe/N/BcDtnGrwpfLAGAZec/c82whc/0iACjRXp47Yc8GjLtfAGKx9OXd37MBy/MLAKAKebaRz28hg7olrQUAinpxGzk3YLz7CCC2l3aBcwPGu48AonthFzg3YJYQMABxvXSpdW7AgnH+BSC+9dv5LXoyYOOv1hWffQTQACHM3w0+PYElTF8AGqM77wfztpCcfwFoip0vE9t/6gePApYdmO1VviQAyCmkT09hjwL23IEZAEQx5zrF4y0kt+8BNMy8WxGPAhaeOTADgEg2nzoHe+oQn/MvAI2T3Or5gGX3vwCgeZ443koe/OnRXwCAhnh+ArPw+C8AQEPsPfxc5C8BC0bAADTXxo9fG3UfsKxsO7WvCADyenDMdR+wh2UDgKZ5eMyVzPxXt+7FAEARwdSZ/fPsGdgvPwCABvrlnurPgBkBA9B8szfyfwaM738E4EC4/TlsJVL2BbYA4ECYOci/m8B+sH0E4IM9DJglXKEA4ENIdX8bP5GkIM392iIAaJSZ8/q7LSRfoQbAobnfCwkATTV99NddwLhCAcAhJjAA7kzfeEy4AwbAm+kbjwl3wAB4Y/cBAwBnpg9fTbjECsCrhEusANwJbCEB+LUnSYkxgQFwKuGbiAB4xRYSgFsEDIBL44l1CBgAn36IgAHwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXCLgAFwi4ABcIuAAXArUdBW7EUAwCKYwAC4lch0HXsRALAIJjAALn37m04TCzqNvRAAKOrddrhOJJ3HXggAFGI6lqTEEo0iLwUACpnuHJO32+FU0k3k9QBAfnY3eE0P8Y/irQQACrl58zocSdOApRrGXA0AFHA/cCWStPtbGEm6iLUaAMhtZuD6eQ/MNIiwFADIz3ScDVySpDD7s/GVnUvaqXlJAJBPqn/MBix58MNezcsBgFws6NNsvKQHAdv9LYws6FOtqwKAl918D48HrEefhcz+Egf6ABrDTL132+HRgyceBezddrhOEx2Iy60AmuG/03tfD4Wn/qckfZnYfpJqJGmzqlUBwAs+7r4KvXk/nBswiYgBiOrZeEkvPA/s7XY4TRN1xZkYgBqZ9O+X4iXleKDh2+1w+i3RPu9OAqjBhVL9482rcJjnLz+7hXzo7NIOQtBQbCkBlMykv74nGjz1buM8hQImSScT29pI1ZfUFyEDsLyPSjTY3Q7nRf9h4YDNGl9azxIdBNP7ZX4PgJVzYdJRSHS4SLimlgrY1MnEttZv1VVQN5j2FdQRn6kEMGU6VtC5SaeWaJQ9SBUAVtf/ATjIpwwivtYFAAAAAElFTkSuQmCC","e":1},{"id":"image_5","w":348,"h":53,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVwAAAA1CAYAAAANmlMKAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAGRklEQVR4nO3dPWxbVRQH8P+57yMJKbFDU9pKQCsEbEgsTP0gMAUQkIGhCAkq5kolwMKHWlQ1ExKtqFiQEGzQBUVCbC0NtBJCDIhKzGUHNU6wa9d+9x4G+9mxYyd2if2e7f9vif3etXOmf47Ou+9F0IPscx8eQqX8rooeU1c53MtniYhGgphIxP9TTHglt7p8vqePdrMoO//+2y4qvuPsnYfvrUIiohEkRr0gc9OIf2ptdfnGjsu3O3n/kaVjIvY7Z0tzu1chEdFoEfFggpk/ZPbAfG5lKddxXacTmePvfmkr/77Vn/KIiEaP8Sat+Pe/vr66fLndea/dwZmjp2+4qPBKf0sjIhotqpGBu/vqnide1uKtaz+1nt8SuDNHT99wtnhkMOUREY0ahYsKz7YL3aaRwszx985C7cfxe+NN7/jVxpuCSNtGORWcLULVdrGu0PGc2lJX30FEVCdGp6Yeeebvqx9cjw/58Yvs4oVsUPKXkqmsf4y/8x+Ne6WuDHWV5mNq4WyxZV1LYKuFs6W+1UVEKaBO7pb/+R5ANj5UD9yg5F8EkEmirmElJoSYcMtxL5jp6Xtag7u5K3dNAe6izp04EaWLi/KZ2WfPfLt27dwJoDZSOLBw4bCFfyvZ0qhXzpaAWjBvDun6eISdNFHixATO2/fY3tzKUs4HACv+29Cky6JeGW+y8XqH0cnmcLZRHsCmUQeDmahv1FWMrK+fB3DKBwBVLHZ1yxkNrW7DOR5ZxB1zHMrt5tVE1B1nC68BOCX7Xvj8KTj3e9IF0XCIg1ddGc6VG4HMnRxEHYl48B58YtZX1Xl2t9StxoXC6bZ3zcQdcnVsUb3gxzCmcadq4d+xL/pGNcvxLe2WeFzRbmzhokJ921zcGXPXBY0L1ehpX4H5pAuh8RCHcOu2uXhMYaM8VGvjCgYxjRh1lT3+zsuI+iseU7R2xerKcLZU74irP3nhjoaUcz4Dl1JLTAjPhFs6YhcV4GwRzpWgtsgtbTQ0GLg0dIw/vaUbZgjTMGDg0kjYNoRtgeMISgUGLo2sRghX/2FJYyZcgIvy7IJp4Bi4NDbazYRdVICN8rUQ5s4I6i8GLo211lEEA5j6iYFLtEnHAI42OIKg/42BS7SNRgDvr98ZZ6MNuCjPi3DUMwYuUZdEPHjBTH0G7GwJLsrDVtbY/VJXGLhE98h4kzDeJPyJuWr3W9modb8FPqyH2mLgEu0CEQ9eOAsvnAUA2Hr4cvRADQxcoj5oHT3YyjovvBEDl6jf4tEDsL/+JDQbbcBWNpIujQaMgUs0QGJCeGHYNHpwtgBbWefoYQwwcIkSFI8egsmDjV0PtQtvNHoYuEQpsWXXA/f8jhwGLlEKddzzy+53qDFwiYZAu+6Xs9/hw8AlGjKbu99g8iDUlesX33jTRboxcImGnJgQ/sQc4uf+8oln6cXAJRoxm594tnn8wIeuJ8yYyBdgVYFnkq6FiHZf68W3+o0XtQDm/HdwxAR534nkRDXpWohoAOo3XqB64wUDeHBE/N98EVkFA5doLDGAB0PEQ3Sf94MAwNzCpb8EOJR0UUSULgzg3eEFmdvrP3+y1wcAEaxAcTrpoogoXbbrgNUWeRGuS8ab/gao7VLwNLpo4TNwiWhbWwK4vguiyG1oHYgJnGYyHwGAxAf3LVz6GsCbSRVFRKOhKYBtcezHEMHkgctr186dADYFbnbxQjYo+X8ByCRVGBGNHnXl6rMgxrALNv6e9Y3rn2br7+MXuZWlnAKLyZRFRKNKTFi7DXk/JqYfxVTmSUzseRzh1EPwJ+aa/i39SBGjE+HcS02HWtfsW/jsJCBfDawoIiJUn4imtgjnat3wEHfCIh6CqYNnb189c67peLvFDF0iSoNGCJfhbAFqS6l/OE+nsAU6BC4APPj8pUVVfA3OdIkoRVQtNJ4Ju1J9q1oaiJkom2DmjfXV5cttz2/34dqFtIvg7gUiSjl1ZairVHdGaO1n7Vi/iXgw/syv8sCBhdzKUq7jum6+bG7h0rwAJ8HgJaIh5GwJUAsb5Wvvqx3x/+6MxagXZG4a8U+trS7f2HF5L9+dXbyQDe/681A8pcD8PRdJRJQizt6dgkaewnlqy1MAoFoJ1UVh61oRsWLCX8Sb+PH2lQ+/6OX3/AfkebDf6V7WoAAAAABJRU5ErkJggg==","e":1},{"id":"image_6","w":348,"h":54,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVwAAAA2CAYAAACLDiGkAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAFwklEQVR4nO3dT2gcZRgG8Oebmd0kNU021BQDioWqV3vwaDFUwSiIOQhFUfQo1EP9V5RCWoVKwWDF2puHXjwoiD2UKqWV0NqTl+LBi4IteihtaZp1N5nMzPu9HnZmupvm3ya7mZ3d53dJdma6eU8P77zzzVeDJo2+eGoPrOwxMLsUGG/23xMRdRoriwPQyFWNimqjIgCohunv94gocN1xi1eNmu9nZ4792szfMeu5qDR5olT0vYMWeMsAjzbzB4iIsmbFB1QgUSX+XK39jKqb+2LjiOsNXnAUh2YvT/++5uWrnUyCVoGDAIY3VxkRUfuoDaA2hJUFqMY/42NtZxx1vcHzc5emJ1a9bKUTtdGBPQ3gyVbXRkS0UaoCFR8SVaAaQm2w+U61RYzTt2Dc/lfKlz4/t+z55Q7ufOHkpCpOg10tEWXIig+VBVgbwEoVKj5UJeuyVmccdYs7Xp2bOfbdfaeWHojD9setqYyIqMZG1YZxQKd0rRuyQug2BG48RpgBO1siaqN7nasPG1VqD7W6jXG0MPDIntmLh9OHaV7DBbWZLcOWiFpGbQArfq1rlWq+O9dmqDUS3L4IYDQ55Ca/7Jw4eRTA/gzKIqIuYqMqJCwjCm4h9G8gWrwJCedqM9itWDHQQdSG27Y9/vwO/9rln4B4pFCaPFEq+N41sLsloiaoSjp77anutQnGKUT/XTlVAAAHAIq+x3W2RLQmtQEkmEWw8C8WK3/CL/+BYP46osWbDNsVqA29kX1Tx4F4hhu/QUZE1CBZ4ypShY0qPTcSaBUbVl8D8JF5aOLELoH3d9YFEVH2rCSrBuIlWgzYljDGhbvziRFP4I5nXQwRZYMd7NZQFXjz4dNevOsXEfUABmx2VO1zHrdYJOpe91YRVLv3BYOcUBsOemtfRkR5YqMqJJnDcuVA57DWY+AS5ZzaABKW04Dt+M1dehgDlyhn6scEEs5xDpsjDFyiHEiWa0lU5pggxxi4RB0o6WJrAcvVBN2CgUvUIdjFdj8GLlGGkoddnMX2BgYu0RZKXzyIypCwnHU5tMUYuERtZsWv7QcblfniQY9j4BK1gYRlPvCi+zBwiVpAVWDTkOXLB7Q8Bi7RBqWrCsJZjgpoXRi4ROuUdrHcaYs2iIFLtIr6lw/YxdJmMXCJ6nCnLWonBi71NAYsbSUGLvUMtUHtQRc346aMMHCpa9W2MFzgf4hIHYOBS10hDVfrQ2WB3St1JAYu5Q7DlfKKgUsdy4ofz10XoNbnWIByj4FLmVMbQG0IiSpQDdMdtYi6iuNEHgyuQvFM1rVQ90v2GEg61mTVAFEvME6h4hnFXc26EuoaDaEad6sqPjdzoZ5njPebZ4EZAxzJuhjKh+T2X20Aa4Nap6rCUCVahTEuPMe9YgBgdOLkXQDDGddEHSCZndY6VGGgErWAWxiqzF2a3p48NDsD4M0sC6L2suIDKuntPoA0TKHCWSpRG7nu9h+AZJWC43wJaxm4OZOEKABIVKk7Hj/hZ5ASZc44BRT7ho4CgEkOPjjx1RkD83JmVfWwZC6aSG7n409pRwqAy6WIcqYwMHZ29pdPXgLq1uF6kIMCbxyc5a5bfYeZSB4mNR5rnH8uDVgi6k6utz3UodIbyWdTf7I0/vHXVvwDyWfHHQDgrPqFjlOEcYqtrrNl6m+1V5Pehi+DD4yIqFnGuOgb3P367fMffJseW3rR0N73/rJRZffWlkZE1D2McVEYGDty5+LUpw3Hl7uYoUtEtDHGuChsG5u+c2Hqw6Xnlp0XlC9/8ZhbLJ1pf2lERN3DcfulMDB2ZLmwBVbocBPD44f3a1T9xsr8YHvKIyLKP2NcuIXS9cIDD0/eOnfg6orXrefLRvZNHZew8raNKlzBQEQUS4LW6xt55/b5Q2fXvL6ZLx999rO9oVTeV5WnVPwdME7/xkslIsofAzPvOMV/4PRf6Osbnr7x87vXsq6JiIiW+B/kj8IOVismegAAAABJRU5ErkJggg==","e":1}],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":30,"s":[180]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":105,"s":[180]},{"t":135,"s":[360]}],"ix":10},"p":{"a":0,"k":[400,400,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":2,"nm":"bayangan atas","parent":1,"refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":25,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,-126.409,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":2,"nm":"kaca atas 3","parent":1,"refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":15,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,-126.409,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":2,"nm":"kaca atas 2","parent":1,"td":1,"refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,-126.409,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[87,87,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":2,"nm":"pasir 3","parent":1,"tt":1,"refId":"image_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":40,"s":[9.906,-394.792,0],"to":[0,43,0],"ti":[0,-43,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":95,"s":[9.906,-136.792,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":135,"s":[9.906,-136.792,0],"to":[0,42.833,0],"ti":[0,-42.833,0]},{"t":195,"s":[9.906,120.208,0]}],"ix":2},"a":{"a":0,"k":[205.621,129.458,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"Wave Warp","np":10,"mn":"ADBE Wave Warp","ix":1,"en":1,"ef":[{"ty":7,"nm":"Wave Type","mn":"ADBE Wave Warp-0001","ix":1,"v":{"a":0,"k":1,"ix":1}},{"ty":0,"nm":"Wave Height","mn":"ADBE Wave Warp-0002","ix":2,"v":{"a":0,"k":4,"ix":2}},{"ty":0,"nm":"Wave Width","mn":"ADBE Wave Warp-0003","ix":3,"v":{"a":0,"k":45.7,"ix":3}},{"ty":0,"nm":"Direction","mn":"ADBE Wave Warp-0004","ix":4,"v":{"a":0,"k":90,"ix":4}},{"ty":7,"nm":"Wave Speed","mn":"ADBE Wave Warp-0005","ix":5,"v":{"a":0,"k":1,"ix":5}},{"ty":7,"nm":"Pinning","mn":"ADBE Wave Warp-0006","ix":6,"v":{"a":0,"k":1,"ix":6}},{"ty":0,"nm":"Phase","mn":"ADBE Wave Warp-0007","ix":7,"v":{"a":0,"k":0,"ix":7}},{"ty":7,"nm":"Antialiasing (Best Quality)","mn":"ADBE Wave Warp-0008","ix":8,"v":{"a":0,"k":1,"ix":8}}]}],"ip":40,"op":215,"st":10,"bm":0},{"ddd":0,"ind":6,"ty":2,"nm":"bayangan bawah","parent":1,"refId":"image_3","sr":1,"ks":{"o":{"a":0,"k":25,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.453,127.582,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":2,"nm":"kaca bawah 3","parent":1,"refId":"image_4","sr":1,"ks":{"o":{"a":0,"k":15,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,127.263,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":2,"nm":"kaca bawah 6","parent":1,"td":1,"refId":"image_4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,127.263,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[87,87,100],"ix":6}},"ao":0,"ip":150,"op":215,"st":5,"bm":0},{"ddd":0,"ind":9,"ty":2,"nm":"pasir 7","parent":1,"tt":1,"refId":"image_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":150,"s":[3.621,373.208,0],"to":[0,-39,0],"ti":[0,39,0]},{"t":205,"s":[3.621,139.208,0]}],"ix":2},"a":{"a":0,"k":[205.621,129.458,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"Wave Warp","np":10,"mn":"ADBE Wave Warp","ix":1,"en":1,"ef":[{"ty":7,"nm":"Wave Type","mn":"ADBE Wave Warp-0001","ix":1,"v":{"a":0,"k":1,"ix":1}},{"ty":0,"nm":"Wave Height","mn":"ADBE Wave Warp-0002","ix":2,"v":{"a":0,"k":4,"ix":2}},{"ty":0,"nm":"Wave Width","mn":"ADBE Wave Warp-0003","ix":3,"v":{"a":0,"k":45.7,"ix":3}},{"ty":0,"nm":"Direction","mn":"ADBE Wave Warp-0004","ix":4,"v":{"a":0,"k":90,"ix":4}},{"ty":7,"nm":"Wave Speed","mn":"ADBE Wave Warp-0005","ix":5,"v":{"a":0,"k":1,"ix":5}},{"ty":7,"nm":"Pinning","mn":"ADBE Wave Warp-0006","ix":6,"v":{"a":0,"k":1,"ix":6}},{"ty":0,"nm":"Phase","mn":"ADBE Wave Warp-0007","ix":7,"v":{"a":0,"k":0,"ix":7}},{"ty":7,"nm":"Antialiasing (Best Quality)","mn":"ADBE Wave Warp-0008","ix":8,"v":{"a":0,"k":1,"ix":8}}]}],"ip":150,"op":215,"st":5,"bm":0},{"ddd":0,"ind":10,"ty":2,"nm":"kaca bawah 2","parent":1,"td":1,"refId":"image_4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,127.263,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[87,87,100],"ix":6}},"ao":0,"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":2,"nm":"pasir","parent":1,"tt":1,"refId":"image_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":30,"s":[9.906,129.208,0],"to":[0,-41,0],"ti":[0,41,0]},{"t":90,"s":[9.906,-116.792,0]}],"ix":2},"a":{"a":0,"k":[205.621,129.458,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"Wave Warp","np":10,"mn":"ADBE Wave Warp","ix":1,"en":1,"ef":[{"ty":7,"nm":"Wave Type","mn":"ADBE Wave Warp-0001","ix":1,"v":{"a":0,"k":1,"ix":1}},{"ty":0,"nm":"Wave Height","mn":"ADBE Wave Warp-0002","ix":2,"v":{"a":0,"k":4,"ix":2}},{"ty":0,"nm":"Wave Width","mn":"ADBE Wave Warp-0003","ix":3,"v":{"a":0,"k":45.7,"ix":3}},{"ty":0,"nm":"Direction","mn":"ADBE Wave Warp-0004","ix":4,"v":{"a":0,"k":90,"ix":4}},{"ty":7,"nm":"Wave Speed","mn":"ADBE Wave Warp-0005","ix":5,"v":{"a":0,"k":1,"ix":5}},{"ty":7,"nm":"Pinning","mn":"ADBE Wave Warp-0006","ix":6,"v":{"a":0,"k":1,"ix":6}},{"ty":0,"nm":"Phase","mn":"ADBE Wave Warp-0007","ix":7,"v":{"a":0,"k":0,"ix":7}},{"ty":7,"nm":"Antialiasing (Best Quality)","mn":"ADBE Wave Warp-0008","ix":8,"v":{"a":0,"k":1,"ix":8}}]}],"ip":0,"op":90,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Shape Layer 2","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[406.188,515.52,0],"ix":2},"a":{"a":0,"k":[7.688,120.52,0],"ix":1},"s":{"a":0,"k":[208.387,98.468,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[19.375,261.039],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":7.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":true},{"ty":"fl","c":{"a":0,"k":[0.913635014553,0.918151975146,0.920471011891,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[7.688,120.52],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":135,"op":215,"st":30,"bm":0},{"ddd":0,"ind":13,"ty":2,"nm":"pasir 5","tt":1,"refId":"image_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":180,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":135,"s":[367.094,254.792,0],"to":[0,43.167,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":150,"s":[367.094,513.791,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":195,"s":[367.094,513.791,0],"to":[0,0,0],"ti":[0,-43.167,0]},{"t":210,"s":[367.094,546.792,0]}],"ix":2},"a":{"a":0,"k":[205.621,129.458,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"Wave Warp","np":10,"mn":"ADBE Wave Warp","ix":1,"en":1,"ef":[{"ty":7,"nm":"Wave Type","mn":"ADBE Wave Warp-0001","ix":1,"v":{"a":0,"k":1,"ix":1}},{"ty":0,"nm":"Wave Height","mn":"ADBE Wave Warp-0002","ix":2,"v":{"a":0,"k":4,"ix":2}},{"ty":0,"nm":"Wave Width","mn":"ADBE Wave Warp-0003","ix":3,"v":{"a":0,"k":45.7,"ix":3}},{"ty":0,"nm":"Direction","mn":"ADBE Wave Warp-0004","ix":4,"v":{"a":0,"k":90,"ix":4}},{"ty":7,"nm":"Wave Speed","mn":"ADBE Wave Warp-0005","ix":5,"v":{"a":0,"k":1,"ix":5}},{"ty":7,"nm":"Pinning","mn":"ADBE Wave Warp-0006","ix":6,"v":{"a":0,"k":1,"ix":6}},{"ty":0,"nm":"Phase","mn":"ADBE Wave Warp-0007","ix":7,"v":{"a":0,"k":0,"ix":7}},{"ty":7,"nm":"Antialiasing (Best Quality)","mn":"ADBE Wave Warp-0008","ix":8,"v":{"a":0,"k":1,"ix":8}}]}],"ip":135,"op":215,"st":105,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Shape Layer 3","parent":1,"td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":-180,"ix":10},"p":{"a":0,"k":[3.812,-112.52,0],"ix":2},"a":{"a":0,"k":[7.688,120.52,0],"ix":1},"s":{"a":0,"k":[208.387,98.468,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[19.375,261.039],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":7.5,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":true},{"ty":"fl","c":{"a":0,"k":[0.913635014553,0.918151975146,0.920471011891,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[7.688,120.52],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":30,"op":105,"st":0,"bm":0},{"ddd":0,"ind":15,"ty":2,"nm":"pasir 4","parent":1,"tt":1,"refId":"image_2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":30,"s":[32.906,145.208,0],"to":[0,-43.167,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":45,"s":[32.906,-113.791,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[32.906,-113.791,0],"to":[0,0,0],"ti":[0,43.167,0]},{"t":105,"s":[32.906,-143.792,0]}],"ix":2},"a":{"a":0,"k":[205.621,129.458,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"Wave Warp","np":10,"mn":"ADBE Wave Warp","ix":1,"en":1,"ef":[{"ty":7,"nm":"Wave Type","mn":"ADBE Wave Warp-0001","ix":1,"v":{"a":0,"k":1,"ix":1}},{"ty":0,"nm":"Wave Height","mn":"ADBE Wave Warp-0002","ix":2,"v":{"a":0,"k":4,"ix":2}},{"ty":0,"nm":"Wave Width","mn":"ADBE Wave Warp-0003","ix":3,"v":{"a":0,"k":45.7,"ix":3}},{"ty":0,"nm":"Direction","mn":"ADBE Wave Warp-0004","ix":4,"v":{"a":0,"k":90,"ix":4}},{"ty":7,"nm":"Wave Speed","mn":"ADBE Wave Warp-0005","ix":5,"v":{"a":0,"k":1,"ix":5}},{"ty":7,"nm":"Pinning","mn":"ADBE Wave Warp-0006","ix":6,"v":{"a":0,"k":1,"ix":6}},{"ty":0,"nm":"Phase","mn":"ADBE Wave Warp-0007","ix":7,"v":{"a":0,"k":0,"ix":7}},{"ty":7,"nm":"Antialiasing (Best Quality)","mn":"ADBE Wave Warp-0008","ix":8,"v":{"a":0,"k":1,"ix":8}}]}],"ip":30,"op":105,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":2,"nm":"kayu atas","parent":1,"refId":"image_5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.08,-296.861,0],"ix":2},"a":{"a":0,"k":[173.862,26.498,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":17,"ty":2,"nm":"kaca bawah","parent":1,"refId":"image_4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,127.263,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":2,"nm":"kaca atas","parent":1,"refId":"image_1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.165,-126.409,0],"ix":2},"a":{"a":0,"k":[151.686,131.085,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0},{"ddd":0,"ind":19,"ty":2,"nm":"kayu bawah","parent":1,"refId":"image_6","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[5.08,296.942,0],"ix":2},"a":{"a":0,"k":[173.862,26.579,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":215,"st":0,"bm":0}],"markers":[]}
|
admin/assets/js/cht-scripts.js
CHANGED
@@ -1,2051 +1,2535 @@
|
|
1 |
-
/**
|
2 |
-
* easyModal.js v1.3.2
|
3 |
-
* A minimal jQuery modal that works with your CSS.
|
4 |
-
* Author: Flavius Matis - http://flaviusmatis.github.com/
|
5 |
-
* URL: https://github.com/flaviusmatis/easyModal.js
|
6 |
-
*
|
7 |
-
* Copyright 2012, Flavius Matis
|
8 |
-
* Released under the MIT license.
|
9 |
-
* http://flaviusmatis.github.com/license.html
|
10 |
-
*/
|
11 |
-
|
12 |
-
/* jslint browser: true */
|
13 |
-
/* global jQuery */
|
14 |
-
|
15 |
-
jQuery(
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
return
|
64 |
-
}
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
}
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
$(
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
(
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
}
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
}
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
}
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
}
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
jQuery(
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
if (
|
1250 |
-
|
1251 |
-
}
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
jQuery(
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
}
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
}
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
}
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
}
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
jQuery(
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
}
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
jQuery(
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
var
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
jQuery(
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
jQuery(
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
}
|
1745 |
-
|
1746 |
-
|
1747 |
-
jQuery(
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
}
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
function
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
}
|
1852 |
-
|
1853 |
-
|
1854 |
-
|
1855 |
-
|
1856 |
-
|
1857 |
-
|
1858 |
-
|
1859 |
-
|
1860 |
-
|
1861 |
-
|
1862 |
-
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
}
|
1875 |
-
|
1876 |
-
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
1905 |
-
|
1906 |
-
|
1907 |
-
|
1908 |
-
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
|
1913 |
-
}
|
1914 |
-
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
}
|
1930 |
-
|
1931 |
-
|
1932 |
-
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
|
1954 |
-
|
1955 |
-
|
1956 |
-
|
1957 |
-
|
1958 |
-
|
1959 |
-
|
1960 |
-
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
1967 |
-
|
1968 |
-
|
1969 |
-
|
1970 |
-
|
1971 |
-
|
1972 |
-
|
1973 |
-
|
1974 |
-
|
1975 |
-
|
1976 |
-
function
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
jQuery(
|
1989 |
-
|
1990 |
-
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
|
1995 |
-
|
1996 |
-
|
1997 |
-
|
1998 |
-
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
|
2007 |
-
|
2008 |
-
|
2009 |
-
|
2010 |
-
|
2011 |
-
|
2012 |
-
|
2013 |
-
|
2014 |
-
|
2015 |
-
|
2016 |
-
|
2017 |
-
|
2018 |
-
|
2019 |
-
|
2020 |
-
|
2021 |
-
|
2022 |
-
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
}
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2051 |
}
|
1 |
+
/**
|
2 |
+
* easyModal.js v1.3.2
|
3 |
+
* A minimal jQuery modal that works with your CSS.
|
4 |
+
* Author: Flavius Matis - http://flaviusmatis.github.com/
|
5 |
+
* URL: https://github.com/flaviusmatis/easyModal.js
|
6 |
+
*
|
7 |
+
* Copyright 2012, Flavius Matis
|
8 |
+
* Released under the MIT license.
|
9 |
+
* http://flaviusmatis.github.com/license.html
|
10 |
+
*/
|
11 |
+
|
12 |
+
/* jslint browser: true */
|
13 |
+
/* global jQuery */
|
14 |
+
|
15 |
+
jQuery(
|
16 |
+
function ($) {
|
17 |
+
'use strict';
|
18 |
+
var chatyError;
|
19 |
+
var forceSubmit = false;
|
20 |
+
var whatsappStatus = false;
|
21 |
+
var phoneStatus = false;
|
22 |
+
var fbStatus = false;
|
23 |
+
var smsStatus = false;
|
24 |
+
var viberStatus = false;
|
25 |
+
var phoneNumberStatus = false;
|
26 |
+
function checkForDevices()
|
27 |
+
{
|
28 |
+
$(".chaty-popup").hide();
|
29 |
+
if ($("#cht-form .js-chanel-desktop").length == 0 || $("#cht-form .js-chanel-mobile").length == 0) {
|
30 |
+
$("#no-device-popup").show();
|
31 |
+
return false;
|
32 |
+
} else if ($("#cht-form .js-chanel-desktop:checked").length == 0 && $("#cht-form .js-chanel-mobile:checked").length == 0) {
|
33 |
+
$("#device-popup").show();
|
34 |
+
return false;
|
35 |
+
} else {
|
36 |
+
var inputError = 0;
|
37 |
+
$("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").each(
|
38 |
+
function () {
|
39 |
+
if (jQuery.trim($(this).val()) == "") {
|
40 |
+
inputError++;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
);
|
44 |
+
if (inputError == $("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").length) {
|
45 |
+
if (!$("#chaty-social-Contact_Us").length) {
|
46 |
+
$("#no-device-value").show();
|
47 |
+
return false;
|
48 |
+
}
|
49 |
+
}
|
50 |
+
}//end if
|
51 |
+
|
52 |
+
return checkForTriggers();
|
53 |
+
}
|
54 |
+
|
55 |
+
function checkForTriggers()
|
56 |
+
{
|
57 |
+
$(".chaty-popup").hide();
|
58 |
+
if (!$("#trigger_on_time").is(":checked") && !$("#chaty_trigger_on_exit").is(":checked") && !$("#chaty_trigger_on_scroll").is(":checked")) {
|
59 |
+
$("#trigger-popup").show();
|
60 |
+
return false;
|
61 |
+
}
|
62 |
+
|
63 |
+
return checkForStatus();
|
64 |
+
}
|
65 |
+
|
66 |
+
function checkForStatus()
|
67 |
+
{
|
68 |
+
$(".chaty-popup").hide();
|
69 |
+
if (!$(".cht_active").is(":checked")) {
|
70 |
+
$("#status-popup").show();
|
71 |
+
return false;
|
72 |
+
}
|
73 |
+
|
74 |
+
forceSubmit = true;
|
75 |
+
$("#cht-form").trigger("submit");
|
76 |
+
return true;
|
77 |
+
}
|
78 |
+
function checkPreSettings()
|
79 |
+
{
|
80 |
+
if (!whatsappStatus) {
|
81 |
+
whatsappStatus = true;
|
82 |
+
var phoneNumberReg = /^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4,6}$/;
|
83 |
+
if ($("#cht-form #Whatsapp").length && $("#cht-form #Whatsapp").val() != "") {
|
84 |
+
var InputVal = jQuery.trim($("#cht-form #Whatsapp").val());
|
85 |
+
chatyError = check_for_number_chaty(InputVal, "Whatsapp");
|
86 |
+
if (chatyError) {
|
87 |
+
$("#custom-message-popup .chaty-popup-header").text("Whatsapp number is not valid");
|
88 |
+
$("#custom-message-popup .chaty-popup-body").text("Seems like the WhatsApp number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?");
|
89 |
+
$("#custom-message-popup").show();
|
90 |
+
return false;
|
91 |
+
}
|
92 |
+
}
|
93 |
+
} else if (!phoneStatus) {
|
94 |
+
phoneStatus = true;
|
95 |
+
if ($("#cht-form #Phone").length && $("#cht-form #Phone").val() != "") {
|
96 |
+
var InputVal = jQuery.trim($("#cht-form #Phone").val());
|
97 |
+
chatyError = check_for_number_chaty(InputVal, "Phone");
|
98 |
+
if (chatyError) {
|
99 |
+
$("#custom-message-popup .chaty-popup-header").text("Phone number is not valid");
|
100 |
+
$("#custom-message-popup .chaty-popup-body").text("Seems like the phone number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?");
|
101 |
+
$("#custom-message-popup").show();
|
102 |
+
return false;
|
103 |
+
}
|
104 |
+
}
|
105 |
+
} else if (!fbStatus) {
|
106 |
+
fbStatus = true;
|
107 |
+
if ($("#cht-form #Facebook_Messenger").length && $("#cht-form #Facebook_Messenger").val() != "") {
|
108 |
+
var faceBookMeReg = /(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/;
|
109 |
+
var faceBookReg = /(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/;
|
110 |
+
var InputVal = jQuery.trim($("#Facebook_Messenger").val());
|
111 |
+
$("#cht-form #Facebook_Messenger").val(InputVal);
|
112 |
+
if (!faceBookReg.test(InputVal) && !faceBookMeReg.test(InputVal)) {
|
113 |
+
$("#custom-message-popup .chaty-popup-header").text("Facebook page's URL is not valid");
|
114 |
+
$("#custom-message-popup .chaty-popup-body").text("Please make sure your Facebook page's URL looks like, <br/>https://m.me/YOURPAGE");
|
115 |
+
$("#custom-message-popup").show();
|
116 |
+
return false;
|
117 |
+
}
|
118 |
+
}
|
119 |
+
} else if (!smsStatus) {
|
120 |
+
smsStatus = true;
|
121 |
+
if ($("#cht-form #SMS").length && $("#cht-form #SMS").val() != "") {
|
122 |
+
var InputVal = jQuery.trim($("#cht-form #SMS").val());
|
123 |
+
chatyError = check_for_number_chaty(InputVal, "SMS");
|
124 |
+
if (chatyError) {
|
125 |
+
$("#custom-message-popup .chaty-popup-header").text("SMS number is not valid");
|
126 |
+
$("#custom-message-popup .chaty-popup-body").text("Seems like the SMS number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?");
|
127 |
+
$("#custom-message-popup").show();
|
128 |
+
return false;
|
129 |
+
}
|
130 |
+
}
|
131 |
+
} else if (!viberStatus) {
|
132 |
+
viberStatus = true;
|
133 |
+
if ($("#cht-form #Viber").length && $("#cht-form #Viber").val() != "") {
|
134 |
+
var InputVal = jQuery.trim($("#cht-form #Viber").val());
|
135 |
+
chatyError = check_for_number_chaty(InputVal, "Viber");
|
136 |
+
if (chatyError) {
|
137 |
+
$("#custom-message-popup .chaty-popup-header").text("Viber number is not valid");
|
138 |
+
$("#custom-message-popup .chaty-popup-body").text("Seems like the Viber number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?");
|
139 |
+
$("#custom-message-popup").show();
|
140 |
+
return false;
|
141 |
+
}
|
142 |
+
}
|
143 |
+
} else if (!phoneNumberStatus) {
|
144 |
+
phoneNumberStatus = true;
|
145 |
+
if ($("#channels-selected-list .phone-number").length) {
|
146 |
+
$("#channels-selected-list .phone-number").each(
|
147 |
+
function () {
|
148 |
+
if (jQuery.trim($(this).val()) != '') {
|
149 |
+
var inputLen = (jQuery.trim($(this).val())).length;
|
150 |
+
if (inputLen > 13) {
|
151 |
+
$("#custom-message-popup .chaty-popup-header").text($(this).data("label") + " number is not valid");
|
152 |
+
$("#custom-message-popup .chaty-popup-body").text("Seems like the " + $(this).data("label") + " number you're trying to enter isn't valid. Would you like to publish it anyway?");
|
153 |
+
$("#custom-message-popup").show();
|
154 |
+
return false;
|
155 |
+
}
|
156 |
+
}
|
157 |
+
}
|
158 |
+
);
|
159 |
+
}
|
160 |
+
}//end if
|
161 |
+
|
162 |
+
return checkForDevices();
|
163 |
+
}
|
164 |
+
$(document).ready(
|
165 |
+
function () {
|
166 |
+
|
167 |
+
jQuery(document).on(
|
168 |
+
"click",
|
169 |
+
"#update-chaty-traffic-source-rule",
|
170 |
+
function (e) {
|
171 |
+
jQuery(".traffic-options-box").addClass("active");
|
172 |
+
jQuery("#chaty_traffic_source").val("yes");
|
173 |
+
}
|
174 |
+
);
|
175 |
+
jQuery(document).on(
|
176 |
+
"click",
|
177 |
+
"#remove-traffic-rules",
|
178 |
+
function (e) {
|
179 |
+
jQuery(".traffic-options-box").removeClass("active");
|
180 |
+
jQuery("#chaty_traffic_source").val("no");
|
181 |
+
}
|
182 |
+
);
|
183 |
+
jQuery(document).on(
|
184 |
+
"click",
|
185 |
+
".remove-traffic-option",
|
186 |
+
function (e) {
|
187 |
+
jQuery(this).closest(".custom-traffic-rule").remove();
|
188 |
+
}
|
189 |
+
);
|
190 |
+
|
191 |
+
$(document).on(
|
192 |
+
"click",
|
193 |
+
".chaty-switch-toggle",
|
194 |
+
function () {
|
195 |
+
setTimeout(
|
196 |
+
function () {
|
197 |
+
$(".chaty-field-setting").each(
|
198 |
+
function () {
|
199 |
+
if ($(this).is(":checked")) {
|
200 |
+
$(this).closest(".field-setting-col").find(".field-settings").addClass("active");
|
201 |
+
} else {
|
202 |
+
$(this).closest(".field-setting-col").find(".field-settings").removeClass("active");
|
203 |
+
}
|
204 |
+
}
|
205 |
+
);
|
206 |
+
},
|
207 |
+
100
|
208 |
+
);
|
209 |
+
}
|
210 |
+
);
|
211 |
+
|
212 |
+
$(document).on(
|
213 |
+
"change",
|
214 |
+
".chaty-close_form_after-setting",
|
215 |
+
function () {
|
216 |
+
setTimeout(
|
217 |
+
function () {
|
218 |
+
$(".chaty-close_form_after-setting").each(
|
219 |
+
function () {
|
220 |
+
if ($(this).is(":checked")) {
|
221 |
+
$(this).closest(".form-field-setting-col").find(".close_form_after-settings").addClass("active");
|
222 |
+
} else {
|
223 |
+
$(this).closest(".form-field-setting-col").find(".close_form_after-settings").removeClass("active");
|
224 |
+
}
|
225 |
+
}
|
226 |
+
);
|
227 |
+
},
|
228 |
+
100
|
229 |
+
);
|
230 |
+
}
|
231 |
+
);
|
232 |
+
|
233 |
+
if ($("#channel_input_Whatsapp").length) {
|
234 |
+
cht_settings.channel_settings['Whatsapp'] = document.querySelector("#channel_input_Whatsapp");
|
235 |
+
window.intlTelInput(
|
236 |
+
cht_settings.channel_settings['Whatsapp'],
|
237 |
+
{
|
238 |
+
dropdownContainer: document.body,
|
239 |
+
formatOnDisplay: true,
|
240 |
+
hiddenInput: "full_number",
|
241 |
+
initialCountry: "auto",
|
242 |
+
nationalMode: false,
|
243 |
+
utilsScript: cht_settings.plugin_url + "admin/assets/js/utils.js",
|
244 |
+
}
|
245 |
+
);
|
246 |
+
}
|
247 |
+
|
248 |
+
if ($(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").length) {
|
249 |
+
$(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").each(
|
250 |
+
function () {
|
251 |
+
var dataSlag = $(this).closest("li.chaty-channel").data("id");
|
252 |
+
if (dataSlag != undefined) {
|
253 |
+
if ($("#channel_input_" + dataSlag).length) {
|
254 |
+
cht_settings.channel_settings[dataSlag] = document.querySelector("#channel_input_" + dataSlag);
|
255 |
+
window.intlTelInput(
|
256 |
+
cht_settings.channel_settings[dataSlag],
|
257 |
+
{
|
258 |
+
dropdownContainer: document.body,
|
259 |
+
formatOnDisplay: true,
|
260 |
+
hiddenInput: "full_number",
|
261 |
+
initialCountry: "auto",
|
262 |
+
nationalMode: false,
|
263 |
+
utilsScript: cht_settings.plugin_url + "admin/assets/js/utils.js",
|
264 |
+
}
|
265 |
+
);
|
266 |
+
}
|
267 |
+
}
|
268 |
+
}
|
269 |
+
);
|
270 |
+
}//end if
|
271 |
+
|
272 |
+
$(document).on(
|
273 |
+
"change",
|
274 |
+
".chaty-redirect-setting",
|
275 |
+
function () {
|
276 |
+
setTimeout(
|
277 |
+
function () {
|
278 |
+
$(".chaty-redirect-setting").each(
|
279 |
+
function () {
|
280 |
+
if ($(this).is(":checked")) {
|
281 |
+
$(this).closest(".form-field-setting-col").find(".redirect_action-settings").addClass("active");
|
282 |
+
} else {
|
283 |
+
$(this).closest(".form-field-setting-col").find(".redirect_action-settings").removeClass("active");
|
284 |
+
}
|
285 |
+
}
|
286 |
+
);
|
287 |
+
},
|
288 |
+
100
|
289 |
+
);
|
290 |
+
}
|
291 |
+
);
|
292 |
+
|
293 |
+
$(document).on(
|
294 |
+
"click",
|
295 |
+
".email-setting",
|
296 |
+
function () {
|
297 |
+
setTimeout(
|
298 |
+
function () {
|
299 |
+
$(".email-setting-field").each(
|
300 |
+
function () {
|
301 |
+
if ($(this).is(":checked")) {
|
302 |
+
$(this).closest(".form-field-setting-col").find(".email-settings").addClass("active");
|
303 |
+
} else {
|
304 |
+
$(this).closest(".form-field-setting-col").find(".email-settings").removeClass("active");
|
305 |
+
}
|
306 |
+
}
|
307 |
+
);
|
308 |
+
},
|
309 |
+
100
|
310 |
+
);
|
311 |
+
}
|
312 |
+
);
|
313 |
+
$(document).on(
|
314 |
+
"click",
|
315 |
+
".chaty-embedded-window",
|
316 |
+
function () {
|
317 |
+
setTimeout(
|
318 |
+
function () {
|
319 |
+
$(".embedded_window-checkbox").each(
|
320 |
+
function () {
|
321 |
+
if ($(this).is(":checked")) {
|
322 |
+
$(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").addClass("active");
|
323 |
+
} else {
|
324 |
+
$(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").removeClass("active");
|
325 |
+
}
|
326 |
+
}
|
327 |
+
);
|
328 |
+
},
|
329 |
+
300
|
330 |
+
);
|
331 |
+
}
|
332 |
+
);
|
333 |
+
|
334 |
+
jQuery("input[name='switchPreview']:checked").trigger("change");
|
335 |
+
|
336 |
+
$(document).on(
|
337 |
+
"change",
|
338 |
+
"#cht-form input",
|
339 |
+
function () {
|
340 |
+
whatsappStatus = false;
|
341 |
+
phoneStatus = false;
|
342 |
+
fbStatus = false;
|
343 |
+
smsStatus = false;
|
344 |
+
viberStatus = false;
|
345 |
+
phoneNumberStatus = false;
|
346 |
+
}
|
347 |
+
);
|
348 |
+
$("#cht-form").on(
|
349 |
+
"submit",
|
350 |
+
function () {
|
351 |
+
if (forceSubmit) {
|
352 |
+
return true;
|
353 |
+
}
|
354 |
+
|
355 |
+
set_social_channel_order();
|
356 |
+
var errorCount = 0;
|
357 |
+
if ($("#chaty-page-options .cht-required").length) {
|
358 |
+
$("#chaty-page-options .cht-required").each(
|
359 |
+
function () {
|
360 |
+
if (jQuery.trim($(this).val()) == "") {
|
361 |
+
$(this).addClass("cht-input-error");
|
362 |
+
errorCount++;
|
363 |
+
}
|
364 |
+
}
|
365 |
+
);
|
366 |
+
}
|
367 |
+
|
368 |
+
if ($(".chaty-data-and-time-rules .cht-required").length) {
|
369 |
+
$(".chaty-data-and-time-rules .cht-required").each(
|
370 |
+
function () {
|
371 |
+
if (jQuery.trim($(this).val()) == "") {
|
372 |
+
$(this).addClass("cht-input-error");
|
373 |
+
errorCount++;
|
374 |
+
}
|
375 |
+
}
|
376 |
+
);
|
377 |
+
}
|
378 |
+
|
379 |
+
if (errorCount == 0) {
|
380 |
+
return checkPreSettings();
|
381 |
+
} else {
|
382 |
+
$(".cht-input-error:first").focus();
|
383 |
+
return false;
|
384 |
+
}
|
385 |
+
}
|
386 |
+
);
|
387 |
+
$(".close-chaty-popup-btn").on(
|
388 |
+
"click",
|
389 |
+
function (e) {
|
390 |
+
e.stopPropagation();
|
391 |
+
$(".chaty-popup").hide();
|
392 |
+
if ($(this).hasClass("channel-setting-btn")) {
|
393 |
+
$("body, html").animate(
|
394 |
+
{
|
395 |
+
scrollTop: ($("#channel-list").offset().top - 125)
|
396 |
+
},
|
397 |
+
250
|
398 |
+
);
|
399 |
+
} else if ($(this).hasClass("select-trigger-btn")) {
|
400 |
+
$("body, html").animate(
|
401 |
+
{
|
402 |
+
scrollTop: ($("#trigger-setting").offset().top - 50)
|
403 |
+
},
|
404 |
+
250
|
405 |
+
);
|
406 |
+
} else if ($(this).hasClass("change-status-btn")) {
|
407 |
+
$("body, html").animate(
|
408 |
+
{
|
409 |
+
scrollTop: ($("#launch-section").offset().top - 100)
|
410 |
+
},
|
411 |
+
250
|
412 |
+
);
|
413 |
+
}//end if
|
414 |
+
}
|
415 |
+
);
|
416 |
+
$(".chaty-popup-inner").on(
|
417 |
+
"click",
|
418 |
+
function (e) {
|
419 |
+
e.stopPropagation();
|
420 |
+
}
|
421 |
+
);
|
422 |
+
$(".chaty-popup-outer").on(
|
423 |
+
"click",
|
424 |
+
function (e) {
|
425 |
+
$(".chaty-popup").hide();
|
426 |
+
}
|
427 |
+
);
|
428 |
+
$(".check-for-numbers").on(
|
429 |
+
"click",
|
430 |
+
function () {
|
431 |
+
checkPreSettings();
|
432 |
+
}
|
433 |
+
);
|
434 |
+
$(".check-for-device").on(
|
435 |
+
"click",
|
436 |
+
function () {
|
437 |
+
checkForDevices();
|
438 |
+
}
|
439 |
+
);
|
440 |
+
$(".check-for-triggers").on(
|
441 |
+
"click",
|
442 |
+
function () {
|
443 |
+
checkForTriggers();
|
444 |
+
}
|
445 |
+
);
|
446 |
+
$(".check-for-status").on(
|
447 |
+
"click",
|
448 |
+
function () {
|
449 |
+
checkForStatus();
|
450 |
+
}
|
451 |
+
);
|
452 |
+
$(".change-status-and-save").on(
|
453 |
+
"click",
|
454 |
+
function () {
|
455 |
+
$(".cht_active").prop("checked", true);
|
456 |
+
forceSubmit = true;
|
457 |
+
$(".chaty-popup").hide();
|
458 |
+
$("#cht-form").trigger("submit");
|
459 |
+
}
|
460 |
+
);
|
461 |
+
$(".status-and-save").on(
|
462 |
+
"click",
|
463 |
+
function () {
|
464 |
+
$(".cht_active").prop("checked", false);
|
465 |
+
forceSubmit = true;
|
466 |
+
$(".chaty-popup").hide();
|
467 |
+
$("#cht-form").trigger("submit");
|
468 |
+
}
|
469 |
+
);
|
470 |
+
$(document).on(
|
471 |
+
"click",
|
472 |
+
".preview-section-chaty",
|
473 |
+
function (e) {
|
474 |
+
e.stopPropagation();
|
475 |
+
}
|
476 |
+
);
|
477 |
+
$(document).on(
|
478 |
+
"click",
|
479 |
+
".preview-section-overlay",
|
480 |
+
function () {
|
481 |
+
$(".preview-help-btn").removeClass("active");
|
482 |
+
$(".preview-section-chaty").removeClass("active");
|
483 |
+
$(".preview-section-overlay").removeClass("active");
|
484 |
+
}
|
485 |
+
);
|
486 |
+
$(document).on(
|
487 |
+
"click",
|
488 |
+
".preview-help-btn",
|
489 |
+
function (e) {
|
490 |
+
e.preventDefault();
|
491 |
+
if ($(this).hasClass("active")) {
|
492 |
+
$(this).removeClass("active");
|
493 |
+
$(".preview-section-chaty").removeClass("active");
|
494 |
+
$(".preview-section-overlay").removeClass("active");
|
495 |
+
} else {
|
496 |
+
$(this).addClass("active");
|
497 |
+
$(".preview-section-chaty").addClass("active");
|
498 |
+
$(".preview-section-overlay").addClass("active");
|
499 |
+
}
|
500 |
+
|
501 |
+
return false;
|
502 |
+
}
|
503 |
+
);
|
504 |
+
jQuery(document).on(
|
505 |
+
"click",
|
506 |
+
"#create-date-rule",
|
507 |
+
function (e) {
|
508 |
+
jQuery("#date-schedule").addClass("active");
|
509 |
+
jQuery("#cht_date_rules").val("yes");
|
510 |
+
}
|
511 |
+
);
|
512 |
+
jQuery(document).on(
|
513 |
+
"click",
|
514 |
+
"#remove-date-rule",
|
515 |
+
function (e) {
|
516 |
+
jQuery("#date-schedule").removeClass("active");
|
517 |
+
jQuery("#cht_date_rules").val("no");
|
518 |
+
}
|
519 |
+
);
|
520 |
+
}
|
521 |
+
);
|
522 |
+
}
|
523 |
+
);
|
524 |
+
|
525 |
+
function check_for_number_chaty(phoneNumber, validationFor)
|
526 |
+
{
|
527 |
+
if (phoneNumber != "") {
|
528 |
+
if (phoneNumber[0] == "+") {
|
529 |
+
phoneNumber = phoneNumber.substr(1, phoneNumber.length)
|
530 |
+
}
|
531 |
+
|
532 |
+
if (validationFor == "Phone") {
|
533 |
+
if (phoneNumber[0] == "*") {
|
534 |
+
phoneNumber = phoneNumber.substr(1, phoneNumber.length)
|
535 |
+
}
|
536 |
+
}
|
537 |
+
|
538 |
+
if (isNaN(phoneNumber)) {
|
539 |
+
return true;
|
540 |
+
}
|
541 |
+
}
|
542 |
+
|
543 |
+
return false;
|
544 |
+
|
545 |
+
}
|
546 |
+
|
547 |
+
(function ($) {
|
548 |
+
var closeAction = 0;
|
549 |
+
|
550 |
+
jQuery(window).on(
|
551 |
+
'popstate',
|
552 |
+
function (event) {
|
553 |
+
window.onbeforeunload = null;
|
554 |
+
if (window.history && window.history.pushState) {
|
555 |
+
window.history.back();
|
556 |
+
}
|
557 |
+
}
|
558 |
+
);
|
559 |
+
|
560 |
+
jQuery(document).ready(
|
561 |
+
function () {
|
562 |
+
if (!jQuery(".chaty-table").length) {
|
563 |
+
jQuery('body input, body .icon, body textarea, body .btn-cancel:not(.close-btn-set) ').on(
|
564 |
+
"click",
|
565 |
+
function (event) {
|
566 |
+
window.onbeforeunload = function (e) {
|
567 |
+
e = e || window.event;
|
568 |
+
e.preventDefault = true;
|
569 |
+
e.cancelBubble = true;
|
570 |
+
e.returnValue = 'Your beautiful goodbye message';
|
571 |
+
};
|
572 |
+
}
|
573 |
+
);
|
574 |
+
}
|
575 |
+
|
576 |
+
jQuery(document).on(
|
577 |
+
'submit',
|
578 |
+
'form',
|
579 |
+
function (event) {
|
580 |
+
window.onbeforeunload = null;
|
581 |
+
}
|
582 |
+
);
|
583 |
+
|
584 |
+
jQuery(document).on(
|
585 |
+
'change',
|
586 |
+
'.channel-select-input',
|
587 |
+
function (event) {
|
588 |
+
var selChannel = $(this).closest("li").attr("data-id");
|
589 |
+
jQuery.ajax(
|
590 |
+
{
|
591 |
+
type: 'POST',
|
592 |
+
url: ajaxurl,
|
593 |
+
dataType: 'json',
|
594 |
+
data: {
|
595 |
+
social: jQuery(this).val(),
|
596 |
+
channel: selChannel,
|
597 |
+
action: 'get_chaty_settings'
|
598 |
+
},
|
599 |
+
success: function (response) {
|
600 |
+
if (response.status == 1) {
|
601 |
+
if (response.data.slug == "Whatsapp") {
|
602 |
+
if ($("#channel_input_" + response.channel).length) {
|
603 |
+
cht_settings.channel_settings[response.channel] = document.querySelector("#channel_input_" + response.channel);
|
604 |
+
window.intlTelInput(
|
605 |
+
cht_settings.channel_settings[response.channel],
|
606 |
+
{
|
607 |
+
dropdownContainer: document.body,
|
608 |
+
formatOnDisplay: true,
|
609 |
+
hiddenInput: "full_number",
|
610 |
+
initialCountry: "auto",
|
611 |
+
nationalMode: false,
|
612 |
+
utilsScript: cht_settings.plugin_url + "admin/assets/js/utils.js",
|
613 |
+
}
|
614 |
+
);
|
615 |
+
}
|
616 |
+
} else {
|
617 |
+
$("#chaty-social-" + response.channel + " .channels__input-box").html("<input type='text' class='channels__input' name='cht_social_" + response.channel + "[value]' id='channel_input_" + response.channel + "' />");
|
618 |
+
}
|
619 |
+
|
620 |
+
jQuery(".custom-icon-" + response.channel + " svg").html(response.data.svg);
|
621 |
+
jQuery("#chaty-social-" + response.channel).attr("data-channel", response.data.slug);
|
622 |
+
jQuery("#chaty-social-" + response.channel).find(".sp-preview-inner").css("background-color", response.data.color);
|
623 |
+
jQuery("#chaty-social-" + response.channel).find(".chaty-color-field").val(response.data.color);
|
624 |
+
jQuery("#chaty-social-" + response.channel).find(".channels__input").attr("placeholder", response.data.placeholder);
|
625 |
+
jQuery("#chaty-social-" + response.channel).find(".channel-example").text(response.data.example);
|
626 |
+
jQuery("#chaty-social-" + response.channel).find(".chaty-title").val(response.data.title);
|
627 |
+
jQuery("#chaty-social-" + response.channel).find(".icon").attr("data-title", response.data.title);
|
628 |
+
jQuery("#chaty-social-" + response.channel).find(".chaty-color-field").trigger("change");
|
629 |
+
jQuery(".help-section").html("");
|
630 |
+
if (response.data.help_link != "") {
|
631 |
+
jQuery(".help-section").html('<div class="viber-help"><a target="_blank" href="' + response.data.help_link + '">' + response.data.help_title + '</a></div>');
|
632 |
+
} else if (response.data.help_text != "") {
|
633 |
+
jQuery(".help-section").html('<div class="viber-help"><span class="help-text">' + response.data.help_text + '</span><span class="help-title">' + response.data.help_title + '</span></div>');
|
634 |
+
}
|
635 |
+
}//end if
|
636 |
+
}
|
637 |
+
}
|
638 |
+
)
|
639 |
+
}
|
640 |
+
);
|
641 |
+
|
642 |
+
jQuery(document).on(
|
643 |
+
"click",
|
644 |
+
"#chaty_icons_view",
|
645 |
+
function (e) {
|
646 |
+
jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal");
|
647 |
+
jQuery(".page-body .chaty-widget").addClass(jQuery(this).val());
|
648 |
+
}
|
649 |
+
);
|
650 |
+
|
651 |
+
jQuery('.upg').on(
|
652 |
+
"click",
|
653 |
+
function (event) {
|
654 |
+
jQuery('.valid_domain_input').val(jQuery('.valid_domain_input').val().replace(' ', ''));
|
655 |
+
if (!/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(jQuery('.valid_domain_input').val())) {
|
656 |
+
event.preventDefault();
|
657 |
+
jQuery('.valid_domain').fadeIn().css(
|
658 |
+
{
|
659 |
+
display: 'block'
|
660 |
+
}
|
661 |
+
);
|
662 |
+
}
|
663 |
+
}
|
664 |
+
);
|
665 |
+
jQuery('.del_token').on(
|
666 |
+
"click",
|
667 |
+
function (event) {
|
668 |
+
$.ajax(
|
669 |
+
{
|
670 |
+
type: 'POST',
|
671 |
+
url: ajaxurl,
|
672 |
+
data: {
|
673 |
+
action: 'del_token',
|
674 |
+
nonce_code: cht_nonce_ajax.cht_nonce
|
675 |
+
},
|
676 |
+
success: function (bool) {
|
677 |
+
location.reload();
|
678 |
+
},
|
679 |
+
error: function (xhr, status, error) {}
|
680 |
+
}
|
681 |
+
);
|
682 |
+
}
|
683 |
+
);
|
684 |
+
|
685 |
+
jQuery(document).on(
|
686 |
+
"blur",
|
687 |
+
"#channels-selected-list > li:not(#chaty-social-close) .channels__input",
|
688 |
+
function () {
|
689 |
+
if (jQuery(this).hasClass("border-red") && jQuery(this).val() != "") {
|
690 |
+
jQuery(this).removeClass("border-red");
|
691 |
+
}
|
692 |
+
}
|
693 |
+
);
|
694 |
+
|
695 |
+
var count_click = 1000000003;
|
696 |
+
jQuery('.show_up').on(
|
697 |
+
"click",
|
698 |
+
function () {
|
699 |
+
count_click += 10;
|
700 |
+
jQuery('#upgrade-modal').css(
|
701 |
+
{
|
702 |
+
'z-index': count_click,
|
703 |
+
display: 'block',
|
704 |
+
'margin-left': '-258px'
|
705 |
+
}
|
706 |
+
);
|
707 |
+
}
|
708 |
+
);
|
709 |
+
|
710 |
+
(function colorPicker()
|
711 |
+
{
|
712 |
+
jQuery('.color-picker-btn, .color-picker-btn-close, .color-picker-custom button').on(
|
713 |
+
'click',
|
714 |
+
function (e) {
|
715 |
+
e.preventDefault();
|
716 |
+
|
717 |
+
jQuery('.color-picker-box').toggle();
|
718 |
+
jQuery('.color-picker-btn').toggle();
|
719 |
+
}
|
720 |
+
);
|
721 |
+
|
722 |
+
jQuery('.color-picker-radio input').on(
|
723 |
+
"change",
|
724 |
+
function () {
|
725 |
+
var $this = jQuery(this);
|
726 |
+
jQuery('.color-picker-custom input[name="cht_custom_color"]').val('');
|
727 |
+
jQuery('.color-picker-custom .circle').html('?').css(
|
728 |
+
{
|
729 |
+
'background-color': '#fff'
|
730 |
+
}
|
731 |
+
);
|
732 |
+
if ($this.prop('checked')) {
|
733 |
+
jQuery('.color-picker-radio input').prop('checked', false);
|
734 |
+
$this.prop('checked', true);
|
735 |
+
var color = $this.val();
|
736 |
+
var title = $this.prop('title');
|
737 |
+
} else {
|
738 |
+
color = jQuery('.color-picker-custom input').val();
|
739 |
+
title = 'Custom';
|
740 |
+
}
|
741 |
+
|
742 |
+
if (color != "") {
|
743 |
+
var hashExists = color.indexOf("#");
|
744 |
+
if (hashExists == -1) {
|
745 |
+
color = "#" + color;
|
746 |
+
}
|
747 |
+
}
|
748 |
+
|
749 |
+
jQuery('.color-picker-btn .circle').css({backgroundColor: color});
|
750 |
+
jQuery('.color-picker-btn .text').text(title);
|
751 |
+
jQuery('#chaty-social-close ellipse').attr("fill", color);
|
752 |
+
}
|
753 |
+
);
|
754 |
+
|
755 |
+
jQuery('.color-picker-custom input').on(
|
756 |
+
"change",
|
757 |
+
function () {
|
758 |
+
jQuery('.color-picker-radio input').prop('checked', false);
|
759 |
+
|
760 |
+
var $this = jQuery(this);
|
761 |
+
|
762 |
+
var color = $this.val();
|
763 |
+
|
764 |
+
if (color != "") {
|
765 |
+
var hashExists = color.indexOf("#");
|
766 |
+
if (hashExists == -1) {
|
767 |
+
color = "#" + color;
|
768 |
+
}
|
769 |
+
}
|
770 |
+
|
771 |
+
jQuery('.color-picker-btn .circle').css({backgroundColor: color});
|
772 |
+
jQuery('.color-picker-btn .text').text('Custom');
|
773 |
+
jQuery('#chaty-social-close ellipse').attr("fill", color);
|
774 |
+
}
|
775 |
+
);
|
776 |
+
}());
|
777 |
+
|
778 |
+
(function customSelect()
|
779 |
+
{
|
780 |
+
jQuery('[name="cht_position"]').on(
|
781 |
+
"change",
|
782 |
+
function () {
|
783 |
+
if (jQuery('#positionCustom').prop('checked')) {
|
784 |
+
jQuery('#positionPro').show();
|
785 |
+
} else {
|
786 |
+
jQuery('#positionPro').hide();
|
787 |
+
}
|
788 |
+
}
|
789 |
+
);
|
790 |
+
}());
|
791 |
+
|
792 |
+
/**
|
793 |
+
* add Token
|
794 |
+
*/
|
795 |
+
|
796 |
+
var AddTokenBtn = jQuery('.update_token');
|
797 |
+
|
798 |
+
AddTokenBtn.on(
|
799 |
+
'click',
|
800 |
+
function (e) {
|
801 |
+
e.preventDefault();
|
802 |
+
var token = jQuery('input[name="cht_token"]').val();
|
803 |
+
|
804 |
+
$.ajax(
|
805 |
+
{
|
806 |
+
type: 'POST',
|
807 |
+
url: ajaxurl,
|
808 |
+
data: {
|
809 |
+
action: 'add_token',
|
810 |
+
nonce_code: cht_nonce_ajax.cht_nonce,
|
811 |
+
token: token
|
812 |
+
},
|
813 |
+
beforeSend: function (xhr) {},
|
814 |
+
success: function (bool) {
|
815 |
+
if (bool) {
|
816 |
+
alert('Your pro plan is activated');
|
817 |
+
location.reload();
|
818 |
+
} else {
|
819 |
+
alert('You`ve entered a wrong token');
|
820 |
+
}
|
821 |
+
},
|
822 |
+
error: function (xhr, status, error) {}
|
823 |
+
}
|
824 |
+
);
|
825 |
+
}
|
826 |
+
);
|
827 |
+
jQuery('textarea[name=cht_cta]').on(
|
828 |
+
"keyup",
|
829 |
+
function (event) {
|
830 |
+
var socialIconText = jQuery(this).val();
|
831 |
+
socialIconText = socialIconText.replace(
|
832 |
+
/[\u00A0-\u9999<>\&]/gim,
|
833 |
+
function (i) {
|
834 |
+
return '&#' + i.charCodeAt(0) + ';';
|
835 |
+
}
|
836 |
+
);
|
837 |
+
jQuery('.tooltiptext span').html(socialIconText);
|
838 |
+
if (jQuery(this).val().length == 0) {
|
839 |
+
jQuery('.cta').hide(200);
|
840 |
+
jQuery('.tooltiptext span').hide(200);
|
841 |
+
} else {
|
842 |
+
jQuery('.cta').show(300);
|
843 |
+
jQuery('.tooltiptext span').show(200);
|
844 |
+
var temp = jQuery(".tooltiptext span").html();
|
845 |
+
count = (temp.match(/\n/g) || []).length;
|
846 |
+
if (count > 0) {
|
847 |
+
jQuery('.tooltiptext').addClass("has-multiline").removeClass("line-1").removeClass("line-2").removeClass("line-3").addClass("line-" + count);
|
848 |
+
} else {
|
849 |
+
jQuery('.tooltiptext').removeClass("has-multiline");
|
850 |
+
}
|
851 |
+
}
|
852 |
+
}
|
853 |
+
);
|
854 |
+
jQuery('textarea[name=cht_cta]').trigger("keyup");
|
855 |
+
}
|
856 |
+
);
|
857 |
+
}(jQuery));
|
858 |
+
|
859 |
+
(function ($) {
|
860 |
+
jQuery(document).ready(
|
861 |
+
function () {
|
862 |
+
(function preview()
|
863 |
+
{
|
864 |
+
(function previewColor()
|
865 |
+
{
|
866 |
+
jQuery('.color-picker-radio input').on(
|
867 |
+
"change",
|
868 |
+
function () {
|
869 |
+
var $this = jQuery(this);
|
870 |
+
|
871 |
+
if ($this.prop('checked')) {
|
872 |
+
var color = $this.val();
|
873 |
+
} else {
|
874 |
+
color = jQuery('.color-picker-custom input').val();
|
875 |
+
}
|
876 |
+
|
877 |
+
detectIcon();
|
878 |
+
}
|
879 |
+
);
|
880 |
+
|
881 |
+
jQuery('.color-picker-custom input').on(
|
882 |
+
"change",
|
883 |
+
function () {
|
884 |
+
var $this = jQuery(this);
|
885 |
+
|
886 |
+
var color = $this.val();
|
887 |
+
|
888 |
+
detectIcon();
|
889 |
+
}
|
890 |
+
);
|
891 |
+
|
892 |
+
jQuery(document).on(
|
893 |
+
"change",
|
894 |
+
"#chaty_default_state",
|
895 |
+
function () {
|
896 |
+
|
897 |
+
detectIcon();
|
898 |
+
}
|
899 |
+
);
|
900 |
+
|
901 |
+
jQuery('#cht_close_button, #trigger_on_time, #chaty_trigger_on_scroll').on(
|
902 |
+
"click",
|
903 |
+
function () {
|
904 |
+
detectIcon();
|
905 |
+
}
|
906 |
+
);
|
907 |
+
}());
|
908 |
+
|
909 |
+
(function previewTooltip()
|
910 |
+
{
|
911 |
+
var $widgetTooltip = jQuery('#widgetTooltip');
|
912 |
+
var $icon = jQuery('.preview .page .icon');
|
913 |
+
|
914 |
+
function tooltipToggle()
|
915 |
+
{
|
916 |
+
if (jQuery('[name=cht_cta]').length) {
|
917 |
+
if (jQuery('[name=cht_cta]').val().length >= 1) {
|
918 |
+
$icon.removeClass('no-tooltip');
|
919 |
+
} else {
|
920 |
+
$icon.addClass('no-tooltip');
|
921 |
+
}
|
922 |
+
}
|
923 |
+
}
|
924 |
+
|
925 |
+
tooltipToggle();
|
926 |
+
|
927 |
+
$widgetTooltip.on(
|
928 |
+
"change",
|
929 |
+
function () {
|
930 |
+
tooltipToggle();
|
931 |
+
}
|
932 |
+
);
|
933 |
+
}());
|
934 |
+
|
935 |
+
function previewPosition()
|
936 |
+
{
|
937 |
+
var $inputPosBot = jQuery('#positionBottom');
|
938 |
+
var $inputPosSide = jQuery('#positionSide');
|
939 |
+
var $chatyWidget = jQuery('.preview .page .chaty-widget');
|
940 |
+
var customSpace = '7px';
|
941 |
+
|
942 |
+
var value = jQuery('[name="cht_position"]:checked').val();
|
943 |
+
|
944 |
+
if (value === 'right') {
|
945 |
+
$chatyWidget.css({right: customSpace, left: 'auto', bottom: '7px'});
|
946 |
+
} else if (value === 'left') {
|
947 |
+
$chatyWidget.css({left: customSpace, right: 'auto', bottom: '7px'});
|
948 |
+
} else if (value === 'custom') {
|
949 |
+
if ($inputPosBot.val()) {
|
950 |
+
var positionBottom = $inputPosBot.val() + 'px';
|
951 |
+
} else {
|
952 |
+
positionBottom = customSpace;
|
953 |
+
}
|
954 |
+
|
955 |
+
if ($inputPosSide.val()) {
|
956 |
+
var positionSide = $inputPosSide.val() + 'px';
|
957 |
+
} else {
|
958 |
+
positionSide = customSpace;
|
959 |
+
}
|
960 |
+
|
961 |
+
$inputPosBot.on(
|
962 |
+
"change",
|
963 |
+
function () {
|
964 |
+
positionBottom = jQuery('#positionBottom').val() + 'px';
|
965 |
+
|
966 |
+
$chatyWidget.css({bottom: positionBottom});
|
967 |
+
}
|
968 |
+
);
|
969 |
+
|
970 |
+
$inputPosSide.on(
|
971 |
+
"change",
|
972 |
+
function () {
|
973 |
+
var valueCustom = jQuery('[name="positionSide"]:checked').val();
|
974 |
+
positionSide = jQuery(this).val() + 'px';
|
975 |
+
|
976 |
+
if (valueCustom === 'right') {
|
977 |
+
jQuery('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
|
978 |
+
jQuery('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
|
979 |
+
$chatyWidget.css({right: positionSide, left: 'auto'});
|
980 |
+
} else if (valueCustom === 'left') {
|
981 |
+
jQuery('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
|
982 |
+
jQuery('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
|
983 |
+
$chatyWidget.css({left: positionSide, right: 'auto'});
|
984 |
+
}
|
985 |
+
}
|
986 |
+
);
|
987 |
+
|
988 |
+
jQuery('[name="positionSide"]').on(
|
989 |
+
"change",
|
990 |
+
function () {
|
991 |
+
var valueCustom = jQuery('[name="positionSide"]:checked').val();
|
992 |
+
|
993 |
+
if (valueCustom === 'right') {
|
994 |
+
jQuery('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
|
995 |
+
jQuery('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
|
996 |
+
$chatyWidget.css({right: positionSide, left: 'auto'});
|
997 |
+
} else if (valueCustom === 'left') {
|
998 |
+
jQuery('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
|
999 |
+
jQuery('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
|
1000 |
+
$chatyWidget.css({left: positionSide, right: 'auto'});
|
1001 |
+
}
|
1002 |
+
}
|
1003 |
+
);
|
1004 |
+
}//end if
|
1005 |
+
}
|
1006 |
+
|
1007 |
+
previewPosition();
|
1008 |
+
|
1009 |
+
jQuery('input[name="cht_position"]').on(
|
1010 |
+
"change",
|
1011 |
+
function () {
|
1012 |
+
var valueCustom = jQuery('[name="cht_position"]:checked').val();
|
1013 |
+
|
1014 |
+
if (valueCustom === 'right') {
|
1015 |
+
jQuery('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left');
|
1016 |
+
jQuery('.page-body .chaty-widget ').addClass('chaty-widget-icons-right');
|
1017 |
+
} else if (valueCustom === 'left') {
|
1018 |
+
jQuery('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right');
|
1019 |
+
jQuery('.page-body .chaty-widget ').addClass('chaty-widget-icons-left');
|
1020 |
+
}
|
1021 |
+
|
1022 |
+
previewPosition();
|
1023 |
+
}
|
1024 |
+
);
|
1025 |
+
}());
|
1026 |
+
jQuery('.popover').hide();
|
1027 |
+
two_soc();
|
1028 |
+
|
1029 |
+
var socialIcon = jQuery('.channels-icons > .icon-sm');
|
1030 |
+
|
1031 |
+
var socialInputsContainer = jQuery('.social-inputs');
|
1032 |
+
|
1033 |
+
var click = 0;
|
1034 |
+
jQuery('input[name=cht_custom_color]').on(
|
1035 |
+
"keyup",
|
1036 |
+
function (event) {
|
1037 |
+
var color = jQuery(this).val();
|
1038 |
+
jQuery('.circle').html('');
|
1039 |
+
if (color != "") {
|
1040 |
+
var hashExists = color.indexOf("#");
|
1041 |
+
if (hashExists == -1) {
|
1042 |
+
color = "#" + color;
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
jQuery('.color-picker-custom .circle').css(
|
1046 |
+
{
|
1047 |
+
'background-color': color
|
1048 |
+
}
|
1049 |
+
);
|
1050 |
+
}
|
1051 |
+
|
1052 |
+
if (jQuery(this).val().length < 1) {
|
1053 |
+
jQuery('.color-picker-custom .circle').html('?');
|
1054 |
+
}
|
1055 |
+
}
|
1056 |
+
);
|
1057 |
+
socialIcon.on(
|
1058 |
+
'click',
|
1059 |
+
function () {
|
1060 |
+
++click;
|
1061 |
+
two_soc();
|
1062 |
+
|
1063 |
+
var $this = jQuery(this);
|
1064 |
+
|
1065 |
+
var social = $this.data('social');
|
1066 |
+
|
1067 |
+
var socialItem = socialInputsContainer.find('.social-form-group');
|
1068 |
+
|
1069 |
+
if ($this.hasClass('active')) {
|
1070 |
+
var del = ',' + jQuery(this).attr('data-social');
|
1071 |
+
|
1072 |
+
var newlocaldata = jQuery('.add_slug').val();
|
1073 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1074 |
+
jQuery('.add_slug').val(newlocaldata);
|
1075 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1076 |
+
jQuery('.add_slug').val(newlocaldata);
|
1077 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1078 |
+
jQuery('.add_slug').val(newlocaldata);
|
1079 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1080 |
+
|
1081 |
+
jQuery('.add_slug').val(newlocaldata);
|
1082 |
+
|
1083 |
+
$this.toggleClass('active');
|
1084 |
+
return;
|
1085 |
+
}
|
1086 |
+
|
1087 |
+
socialIcon.addClass('disabled');
|
1088 |
+
icon = jQuery(this).data('social');
|
1089 |
+
|
1090 |
+
if (jQuery('.add_slug').val().indexOf(icon) == '1' && jQuery('.add_slug').val() != '') {
|
1091 |
+
var del = ',' + icon;
|
1092 |
+
var newlocaldata = jQuery('.add_slug').val();
|
1093 |
+
|
1094 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1095 |
+
jQuery('.add_slug').val(newlocaldata);
|
1096 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1097 |
+
jQuery('.add_slug').val(newlocaldata);
|
1098 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1099 |
+
jQuery('.add_slug').val(newlocaldata);
|
1100 |
+
} else {
|
1101 |
+
jQuery('.add_slug').val(jQuery('.add_slug').val() + ',' + jQuery(this).attr('data-social'));
|
1102 |
+
}
|
1103 |
+
|
1104 |
+
/* if(jQuery('section').is("#pro")){
|
1105 |
+
|
1106 |
+
}else if(click >='3'){
|
1107 |
+
// alert(click);
|
1108 |
+
jQuery('.popover').show().effect( "shake", {times:3}, 600 );
|
1109 |
+
click = jQuery('.channels-selected__item.free').length;
|
1110 |
+
return;
|
1111 |
+
|
1112 |
+
|
1113 |
+
} */
|
1114 |
+
|
1115 |
+
if (!jQuery('section').is('#pro') && jQuery('.channels-icons > .icon.active').length >= 2) {
|
1116 |
+
socialIcon.removeClass('disabled');
|
1117 |
+
jQuery('.popover').show();
|
1118 |
+
jQuery('.popover .upgrade-link').addClass("active");
|
1119 |
+
setTimeout(
|
1120 |
+
function () {
|
1121 |
+
jQuery('.popover .upgrade-link').removeClass("active");
|
1122 |
+
},
|
1123 |
+
1000
|
1124 |
+
);
|
1125 |
+
return;
|
1126 |
+
}
|
1127 |
+
|
1128 |
+
$this.toggleClass('active');
|
1129 |
+
|
1130 |
+
if (jQuery('section').is('#pro')) {
|
1131 |
+
var token = 'pro';
|
1132 |
+
} else {
|
1133 |
+
var token = 'free';
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
$.ajax(
|
1137 |
+
{
|
1138 |
+
type: 'POST',
|
1139 |
+
dataType: 'json',
|
1140 |
+
url: ajaxurl,
|
1141 |
+
data: {
|
1142 |
+
action: 'choose_social',
|
1143 |
+
social: social,
|
1144 |
+
nonce_code: cht_nonce_ajax.cht_nonce,
|
1145 |
+
version: token,
|
1146 |
+
widget_index: jQuery("#widget_index").val()
|
1147 |
+
},
|
1148 |
+
beforeSend: function (xhr) {},
|
1149 |
+
success: function (data) {
|
1150 |
+
var item = jQuery(data);
|
1151 |
+
var itemName = item.find('.icon').data('title');
|
1152 |
+
var itemChannel = item.data('channel');
|
1153 |
+
|
1154 |
+
if (!jQuery('.channels-selected div[data-social="' + itemName + '"]').length) {
|
1155 |
+
jQuery('#chaty-social-close').before(item);
|
1156 |
+
if (jQuery("#chaty-social-" + social + " .chaty-whatsapp-setting-textarea").length) {
|
1157 |
+
editorId = jQuery("#chaty-social-" + social + " .chaty-whatsapp-setting-textarea").attr("id");
|
1158 |
+
tinymce.execCommand('mceAddEditor', true, editorId);
|
1159 |
+
}
|
1160 |
+
}
|
1161 |
+
|
1162 |
+
socialIcon.removeClass('disabled');
|
1163 |
+
$("#iconWidget").show();
|
1164 |
+
detectIcon();
|
1165 |
+
two_soc();
|
1166 |
+
set_social_channel_order();
|
1167 |
+
check_for_chaty_close_button();
|
1168 |
+
|
1169 |
+
jQuery('.chaty-color-field').spectrum(
|
1170 |
+
{
|
1171 |
+
chooseText: "Submit",
|
1172 |
+
preferredFormat: "hex",
|
1173 |
+
showInput: true,
|
1174 |
+
cancelText: "Cancel",
|
1175 |
+
showAlpha: true,
|
1176 |
+
move: function (color) {
|
1177 |
+
jQuery(this).val(color.toRgbString());
|
1178 |
+
chaty_set_bg_color();
|
1179 |
+
jQuery("input[name='switchPreview']:checked").trigger("change");
|
1180 |
+
},
|
1181 |
+
change: function (color) {
|
1182 |
+
jQuery(this).val(color.toRgbString());
|
1183 |
+
chaty_set_bg_color();
|
1184 |
+
jQuery("input[name='switchPreview']:checked").trigger("change");
|
1185 |
+
}
|
1186 |
+
}
|
1187 |
+
);
|
1188 |
+
check_for_chaty_close_button();
|
1189 |
+
|
1190 |
+
if (social == "Whatsapp") {
|
1191 |
+
if ($("#channel_input_Whatsapp").length) {
|
1192 |
+
cht_settings.channel_settings['Whatsapp'] = document.querySelector("#channel_input_Whatsapp");
|
1193 |
+
window.intlTelInput(
|
1194 |
+
cht_settings.channel_settings['Whatsapp'],
|
1195 |
+
{
|
1196 |
+
dropdownContainer: document.body,
|
1197 |
+
formatOnDisplay: true,
|
1198 |
+
hiddenInput: "full_number",
|
1199 |
+
initialCountry: "auto",
|
1200 |
+
nationalMode: false,
|
1201 |
+
utilsScript: cht_settings.plugin_url + "admin/assets/js/utils.js",
|
1202 |
+
}
|
1203 |
+
);
|
1204 |
+
}
|
1205 |
+
}
|
1206 |
+
|
1207 |
+
if (jQuery(".custom-channel-Whatsapp").length) {
|
1208 |
+
jQuery(".custom-channel-Whatsapp").each(
|
1209 |
+
function () {
|
1210 |
+
if (!jQuery(this).closest(".iti__flag-container").length) {
|
1211 |
+
var dataChannel = jQuery(this).closest("li.chaty-channel").data("id");
|
1212 |
+
if (jQuery("#channel_input_" + dataChannel).length) {
|
1213 |
+
cht_settings.channel_settings[dataChannel] = document.querySelector("#channel_input_" + dataChannel);
|
1214 |
+
window.intlTelInput(
|
1215 |
+
cht_settings.channel_settings[dataChannel],
|
1216 |
+
{
|
1217 |
+
dropdownContainer: document.body,
|
1218 |
+
formatOnDisplay: true,
|
1219 |
+
hiddenInput: "full_number",
|
1220 |
+
initialCountry: "auto",
|
1221 |
+
nationalMode: false,
|
1222 |
+
utilsScript: cht_settings.plugin_url + "admin/assets/js/utils.js",
|
1223 |
+
}
|
1224 |
+
);
|
1225 |
+
}
|
1226 |
+
}
|
1227 |
+
}
|
1228 |
+
);
|
1229 |
+
}//end if
|
1230 |
+
},
|
1231 |
+
error: function (xhr, status, error) {}
|
1232 |
+
}
|
1233 |
+
);
|
1234 |
+
|
1235 |
+
two_soc();
|
1236 |
+
}
|
1237 |
+
);
|
1238 |
+
|
1239 |
+
/**
|
1240 |
+
* Cancel Btn
|
1241 |
+
*/
|
1242 |
+
var cancelBtn = jQuery('body');
|
1243 |
+
|
1244 |
+
cancelBtn.on(
|
1245 |
+
'click',
|
1246 |
+
'.icon, .btn-cancel:not(.close-btn-set)',
|
1247 |
+
function (e) {
|
1248 |
+
|
1249 |
+
if (jQuery(this).hasClass("close-btn-set")) {
|
1250 |
+
return;
|
1251 |
+
}
|
1252 |
+
|
1253 |
+
e.preventDefault();
|
1254 |
+
|
1255 |
+
if (jQuery(this).hasClass('icon') && jQuery(this).hasClass('active')) {
|
1256 |
+
return;
|
1257 |
+
}
|
1258 |
+
|
1259 |
+
icon = jQuery(this).data('social');
|
1260 |
+
if (jQuery(this).hasClass('btn-cancel')) {
|
1261 |
+
jQuery('.icon.active[data-social^="' + icon + '"]').removeClass('active');
|
1262 |
+
|
1263 |
+
var del = ',' + icon;
|
1264 |
+
var newlocaldata = jQuery('.add_slug').val();
|
1265 |
+
newlocaldata = newlocaldata.replace(del, '');
|
1266 |
+
|
1267 |
+
jQuery('.add_slug').val(newlocaldata);
|
1268 |
+
}
|
1269 |
+
|
1270 |
+
var del_item = jQuery('#chaty-social-' + icon);
|
1271 |
+
del_item.remove();
|
1272 |
+
|
1273 |
+
var item = jQuery(this).parent('.channels-selected__item');
|
1274 |
+
|
1275 |
+
var social = jQuery(this).data('social');
|
1276 |
+
|
1277 |
+
// $.ajax({
|
1278 |
+
// type: 'POST',
|
1279 |
+
// dataType: 'json',
|
1280 |
+
// url: ajaxurl,
|
1281 |
+
// data: {
|
1282 |
+
// action: 'remove_social',
|
1283 |
+
// nonce_code: cht_nonce_ajax.cht_nonce,
|
1284 |
+
// social: social,
|
1285 |
+
// widget_index: jQuery("#widget_index").val()
|
1286 |
+
// },
|
1287 |
+
// beforeSend: function (xhr) {
|
1288 |
+
//
|
1289 |
+
// },
|
1290 |
+
// success: function (bool) {
|
1291 |
+
// if (bool) {
|
1292 |
+
// item.closest("li").remove();
|
1293 |
+
// del_item.remove();
|
1294 |
+
//
|
1295 |
+
//
|
1296 |
+
// jQuery('.icon-sm').each(function () {
|
1297 |
+
// if (jQuery(this).data('social') === social) {
|
1298 |
+
// jQuery(this).removeClass('active');
|
1299 |
+
// }
|
1300 |
+
// });
|
1301 |
+
// set_social_channel_order();
|
1302 |
+
// }
|
1303 |
+
// check_for_chaty_close_button();
|
1304 |
+
// },
|
1305 |
+
// error: function (xhr, status, error) {
|
1306 |
+
//
|
1307 |
+
// }
|
1308 |
+
// });
|
1309 |
+
detectIcon();
|
1310 |
+
two_soc();
|
1311 |
+
set_social_channel_order();
|
1312 |
+
check_for_chaty_close_button();
|
1313 |
+
}
|
1314 |
+
);
|
1315 |
+
|
1316 |
+
function two_soc()
|
1317 |
+
{
|
1318 |
+
if (jQuery('section').is('#pro')) {
|
1319 |
+
return;
|
1320 |
+
}
|
1321 |
+
|
1322 |
+
if (jQuery('.channels-selected__item').length <= 1) {
|
1323 |
+
jQuery('.channels-selected__item').hide();
|
1324 |
+
jQuery('.popover').hide();
|
1325 |
+
} else if (jQuery('.channels-selected__item').length >= 2) {
|
1326 |
+
jQuery('.channels-selected__item').show();
|
1327 |
+
}
|
1328 |
+
}
|
1329 |
+
|
1330 |
+
jQuery('.btn-help').on(
|
1331 |
+
"click",
|
1332 |
+
function (event) {
|
1333 |
+
window.open(
|
1334 |
+
'https://premio.io/help/chaty/',
|
1335 |
+
'_blank'
|
1336 |
+
// <- This is what makes it open in a new window.
|
1337 |
+
);
|
1338 |
+
}
|
1339 |
+
);
|
1340 |
+
|
1341 |
+
var freeCustomInput = jQuery('.free-custom-radio, .free-custom-checkbox');
|
1342 |
+
|
1343 |
+
freeCustomInput.on(
|
1344 |
+
'click',
|
1345 |
+
function (e) {
|
1346 |
+
e.preventDefault();
|
1347 |
+
}
|
1348 |
+
);
|
1349 |
+
var chatyCta = jQuery('[name=cht_cta]');
|
1350 |
+
var toolTip = jQuery('.preview .tooltip-show');
|
1351 |
+
|
1352 |
+
chatyCta.on(
|
1353 |
+
"keyup",
|
1354 |
+
function () {
|
1355 |
+
var $icon = jQuery('.preview .page .icon');
|
1356 |
+
if (chatyCta.val().length >= 1) {
|
1357 |
+
$icon.removeClass('no-tooltip');
|
1358 |
+
} else {
|
1359 |
+
$icon.addClass('no-tooltip');
|
1360 |
+
}
|
1361 |
+
|
1362 |
+
toolTip.attr('data-title', chatyCta.val());
|
1363 |
+
}
|
1364 |
+
);
|
1365 |
+
|
1366 |
+
var baseIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' + ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' + ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' + ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' + ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' + ' </svg>',
|
1367 |
+
defaultIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' + ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' + ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' + ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' + ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' + ' </svg>',
|
1368 |
+
iconBlock = document.getElementById('iconWidget'),
|
1369 |
+
desktopIcon,
|
1370 |
+
mobileIcon,
|
1371 |
+
colorFill = jQuery('.color-picker-radio input:checked').val();
|
1372 |
+
|
1373 |
+
jQuery('#testUpload').on(
|
1374 |
+
'change',
|
1375 |
+
function () {
|
1376 |
+
if (this.value.length > 0) {
|
1377 |
+
document.querySelector('.js-upload').disabled = false;
|
1378 |
+
} else {
|
1379 |
+
document.querySelector('.js-upload').disabled = true;
|
1380 |
+
document.getElementById('uploadInput').checked = false;
|
1381 |
+
}
|
1382 |
+
}
|
1383 |
+
);
|
1384 |
+
|
1385 |
+
jQuery(document).on(
|
1386 |
+
"keyup",
|
1387 |
+
"textarea.test_textarea",
|
1388 |
+
function () {
|
1389 |
+
detectIcon();
|
1390 |
+
}
|
1391 |
+
);
|
1392 |
+
|
1393 |
+
jQuery('.js-switch-preview').on(
|
1394 |
+
'change',
|
1395 |
+
function () {
|
1396 |
+
if (getPreviewDesktop()) {
|
1397 |
+
jQuery(this).closest(".preview").removeClass('mobiel-view');
|
1398 |
+
} else {
|
1399 |
+
jQuery(this).closest(".preview").addClass('mobiel-view');
|
1400 |
+
}
|
1401 |
+
|
1402 |
+
detectIcon();
|
1403 |
+
}
|
1404 |
+
);
|
1405 |
+
|
1406 |
+
jQuery(document).on(
|
1407 |
+
"change",
|
1408 |
+
"input[name='cht_pending_messages']",
|
1409 |
+
function () {
|
1410 |
+
if (jQuery("#cht_pending_messages").is(":checked")) {
|
1411 |
+
jQuery(".pending-message-items").addClass("active");
|
1412 |
+
} else {
|
1413 |
+
jQuery(".pending-message-items").removeClass("active");
|
1414 |
+
}
|
1415 |
+
|
1416 |
+
detectIcon();
|
1417 |
+
}
|
1418 |
+
);
|
1419 |
+
|
1420 |
+
jQuery(document).on(
|
1421 |
+
"change",
|
1422 |
+
"#cht_number_of_messages",
|
1423 |
+
function () {
|
1424 |
+
detectIcon();
|
1425 |
+
}
|
1426 |
+
);
|
1427 |
+
|
1428 |
+
jQuery(document).on(
|
1429 |
+
"keyup",
|
1430 |
+
"#cht_number_of_messages",
|
1431 |
+
function () {
|
1432 |
+
detectIcon();
|
1433 |
+
}
|
1434 |
+
);
|
1435 |
+
|
1436 |
+
jQuery(document).on(
|
1437 |
+
"blur",
|
1438 |
+
"#cht_number_of_messages",
|
1439 |
+
function () {
|
1440 |
+
detectIcon();
|
1441 |
+
}
|
1442 |
+
);
|
1443 |
+
|
1444 |
+
function detectIcon()
|
1445 |
+
{
|
1446 |
+
var desktop,
|
1447 |
+
mobile,
|
1448 |
+
colorSelf = false;
|
1449 |
+
jQuery(".single-channel-setting").addClass("active");
|
1450 |
+
jQuery("#iconWidget").removeClass("img-p-active");
|
1451 |
+
|
1452 |
+
if (getPreviewDesktop()) {
|
1453 |
+
if (jQuery('.js-chanel-desktop:checked').length === 0) {
|
1454 |
+
desktop = false;
|
1455 |
+
jQuery(".page-body .chaty-widget").hide();
|
1456 |
+
} else {
|
1457 |
+
jQuery(".page-body .chaty-widget").show();
|
1458 |
+
}
|
1459 |
+
|
1460 |
+
if (jQuery('.js-chanel-desktop:checked').length === 1) {
|
1461 |
+
desktop = jQuery('.js-chanel-desktop:checked').closest("li").find(".icon.icon-md").html();
|
1462 |
+
if (jQuery('.js-chanel-desktop:checked').closest(".channels-selected__item").hasClass("img-active")) {
|
1463 |
+
jQuery("#iconWidget").addClass("img-p-active");
|
1464 |
+
}
|
1465 |
+
}
|
1466 |
+
|
1467 |
+
if (jQuery('.js-chanel-desktop:checked').length > 1) {
|
1468 |
+
desktop = defaultIcon;
|
1469 |
+
colorSelf = true;
|
1470 |
+
}
|
1471 |
+
} else {
|
1472 |
+
if (jQuery('.js-chanel-mobile:checked').length === 0) {
|
1473 |
+
mobile = false;
|
1474 |
+
jQuery(".page-body .chaty-widget").hide();
|
1475 |
+
} else {
|
1476 |
+
jQuery(".page-body .chaty-widget").show();
|
1477 |
+
}
|
1478 |
+
|
1479 |
+
if (jQuery('.js-chanel-mobile:checked').length === 1) {
|
1480 |
+
mobile = jQuery('.js-chanel-mobile:checked').closest("li").find(".icon.icon-md").html();
|
1481 |
+
if (jQuery('.js-chanel-mobile:checked').closest(".channels-selected__item").hasClass("img-active")) {
|
1482 |
+
jQuery("#iconWidget").addClass("img-p-active");
|
1483 |
+
}
|
1484 |
+
}
|
1485 |
+
|
1486 |
+
if (jQuery('.js-chanel-mobile:checked').length > 1) {
|
1487 |
+
mobile = defaultIcon;
|
1488 |
+
colorSelf = true;
|
1489 |
+
}
|
1490 |
+
}//end if
|
1491 |
+
|
1492 |
+
desktopIcon = desktop;
|
1493 |
+
mobileIcon = mobile;
|
1494 |
+
|
1495 |
+
if (getPreviewDesktop()) {
|
1496 |
+
setIcon(desktopIcon, colorSelf)
|
1497 |
+
} else {
|
1498 |
+
setIcon(mobileIcon, colorSelf)
|
1499 |
+
}
|
1500 |
+
|
1501 |
+
$("#iconWidget .pop-number").remove();
|
1502 |
+
if (jQuery("#cht_pending_messages").is(":checked")) {
|
1503 |
+
var noOfVal = jQuery("#cht_number_of_messages").val();
|
1504 |
+
if (noOfVal != "" && noOfVal > 0) {
|
1505 |
+
$("#iconWidget").append("<span class='pop-number'>" + noOfVal + "</span>");
|
1506 |
+
$("#iconWidget .pop-number").css("color", jQuery("#cht_number_color").val());
|
1507 |
+
$("#iconWidget .pop-number").css("background", jQuery("#cht_number_bg_color").val());
|
1508 |
+
}
|
1509 |
+
}
|
1510 |
+
|
1511 |
+
var eClass = ".js-chanel-mobile";
|
1512 |
+
if (getPreviewDesktop()) {
|
1513 |
+
var eClass = ".js-chanel-desktop";
|
1514 |
+
}
|
1515 |
+
|
1516 |
+
if (jQuery("#chaty_default_state").val() == "open" && jQuery(eClass + ':checked').length > 1) {
|
1517 |
+
$("#iconWidget .pop-number").remove();
|
1518 |
+
}
|
1519 |
+
|
1520 |
+
$("#cta-box span").css("color", $("#cht_cta_text_color").val());
|
1521 |
+
$("#cta-box span").css("background", $("#cht_cta_bg_color").val());
|
1522 |
+
$("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent " + $('#cht_cta_bg_color').val() + " transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent " + $('#cht_cta_bg_color').val() + "}</style>");
|
1523 |
+
|
1524 |
+
jQuery(".single-channel-setting").addClass("active");
|
1525 |
+
if (jQuery("#channel-list .icon.active").length === 1) {
|
1526 |
+
jQuery(".single-channel-setting").removeClass("active");
|
1527 |
+
|
1528 |
+
if (jQuery("#chaty_default_state").val() == "open") {
|
1529 |
+
jQuery(".hide-show-button").removeClass("active");
|
1530 |
+
}
|
1531 |
+
}
|
1532 |
+
}
|
1533 |
+
|
1534 |
+
function stickyelement_iconformat(icon)
|
1535 |
+
{
|
1536 |
+
var originalOption = icon.element;
|
1537 |
+
return jQuery('<span><i class="' + icon.text + '"></i> ' + icon.text + '</span>');
|
1538 |
+
}
|
1539 |
+
|
1540 |
+
function setIcon(icon, colorSelf)
|
1541 |
+
{
|
1542 |
+
if (!jQuery("#iconWidget").length) {
|
1543 |
+
return;
|
1544 |
+
}
|
1545 |
+
|
1546 |
+
if (icon) {
|
1547 |
+
// jQuery('.preview .page .chaty-widget').show();
|
1548 |
+
iconBlock.innerHTML = icon;
|
1549 |
+
} else {
|
1550 |
+
// jQuery('.preview .page .chaty-widget').hide();
|
1551 |
+
iconBlock.innerHTML = '';
|
1552 |
+
}
|
1553 |
+
|
1554 |
+
if (colorSelf) {
|
1555 |
+
var color = jQuery('.color-picker-custom input').val() ? jQuery('.color-picker-custom input').val() : jQuery('.color-picker-radio input:checked').val();
|
1556 |
+
if (color != "") {
|
1557 |
+
var hashExists = color.indexOf("#");
|
1558 |
+
if (hashExists == -1) {
|
1559 |
+
color = "#" + color;
|
1560 |
+
}
|
1561 |
+
}
|
1562 |
+
|
1563 |
+
jQuery('.preview .page #iconWidget svg circle').css({fill: color});
|
1564 |
+
jQuery('.preview .page .chaty-close-icon ellipse').css({fill: color});
|
1565 |
+
jQuery('#chaty-social-close ellipse').attr("fill", color);
|
1566 |
+
}
|
1567 |
+
|
1568 |
+
thisVal = jQuery("#chaty_default_state").val();
|
1569 |
+
if (thisVal == "open") {
|
1570 |
+
jQuery(".hide-show-button").addClass("active");
|
1571 |
+
} else {
|
1572 |
+
jQuery(".hide-show-button").removeClass("active");
|
1573 |
+
}
|
1574 |
+
|
1575 |
+
jQuery(".chaty-widget").removeClass("active").removeClass("hover").removeClass("click").removeClass("hide_arrow");
|
1576 |
+
if (thisVal == "open") {
|
1577 |
+
jQuery(".chaty-widget").addClass("active").addClass("click");
|
1578 |
+
if (thisVal == "open" && jQuery(eClass + ':checked').length > 1) {
|
1579 |
+
jQuery(".chaty-widget").addClass("hide_arrow");
|
1580 |
+
}
|
1581 |
+
} else if (thisVal == "hover") {
|
1582 |
+
jQuery(".chaty-widget").addClass("hover");
|
1583 |
+
} else {
|
1584 |
+
jQuery(".chaty-widget").addClass("click");
|
1585 |
+
}
|
1586 |
+
|
1587 |
+
jQuery(".chaty-channels").html("");
|
1588 |
+
var eClass = ".js-chanel-mobile";
|
1589 |
+
if (getPreviewDesktop()) {
|
1590 |
+
var eClass = ".js-chanel-desktop";
|
1591 |
+
}
|
1592 |
+
|
1593 |
+
if (thisVal == "open" && jQuery(eClass + ':checked').length > 1) {
|
1594 |
+
jQuery("#chaty_attention_effect").val("");
|
1595 |
+
jQuery("#chaty_attention_effect, .test_textarea").attr("disabled", true);
|
1596 |
+
jQuery("#chaty_attention_effect option:first-child").text("Doesn't apply for the open state");
|
1597 |
+
if (jQuery(".test_textarea").val() != "Doesn't apply for the open state") {
|
1598 |
+
jQuery(".test_textarea").attr("data-value", jQuery(".test_textarea").val());
|
1599 |
+
}
|
1600 |
+
|
1601 |
+
jQuery(".test_textarea").val("Doesn't apply for the open state");
|
1602 |
+
jQuery("#cht_number_of_messages").attr("disabled", true);
|
1603 |
+
jQuery("#cht_pending_messages").attr("disabled", true);
|
1604 |
+
jQuery(".disable-message").addClass("label-tooltip").addClass("icon");
|
1605 |
+
jQuery("#cht_pending_messages").attr("checked", false);
|
1606 |
+
jQuery(".pending-message-items").removeClass("active");
|
1607 |
+
jQuery(".cta-action-radio input").attr("disabled", true);
|
1608 |
+
} else {
|
1609 |
+
jQuery("#chaty_attention_effect, .test_textarea").attr("disabled", false);
|
1610 |
+
jQuery("#chaty_attention_effect option:first-child").text("None");
|
1611 |
+
jQuery(".test_textarea").attr("placeholder","");
|
1612 |
+
if (jQuery(".test_textarea").val() == "Doesn't apply for the open state") {
|
1613 |
+
jQuery(".test_textarea").val(jQuery(".test_textarea").attr("data-value"));
|
1614 |
+
}
|
1615 |
+
|
1616 |
+
jQuery("#cht_number_of_messages").attr("disabled", false);
|
1617 |
+
jQuery("#cht_pending_messages").attr("disabled", false);
|
1618 |
+
jQuery(".disable-message").removeClass("label-tooltip").removeClass("icon");
|
1619 |
+
jQuery(".cta-action-radio input").attr("disabled", false);
|
1620 |
+
}//end if
|
1621 |
+
|
1622 |
+
jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal");
|
1623 |
+
|
1624 |
+
if (jQuery(eClass + ':checked').length > 1) {
|
1625 |
+
jQuery(eClass + ':checked').each(
|
1626 |
+
function () {
|
1627 |
+
var socialIcon = jQuery(this).closest("li").find(".icon").html();
|
1628 |
+
var socialIcon = jQuery(this).closest("li").find(".icon").html();
|
1629 |
+
var socialIconText = jQuery(this).closest("li").find(".chaty-title").val();
|
1630 |
+
var eClass = jQuery(this).closest(".channels-selected__item").hasClass("img-active") ? "img-active" : "";
|
1631 |
+
if (socialIconText != "") {
|
1632 |
+
socialIconText = socialIconText.replace(
|
1633 |
+
/[\u00A0-\u9999<>\&]/gim,
|
1634 |
+
function (i) {
|
1635 |
+
return '&#' + i.charCodeAt(0) + ';';
|
1636 |
+
}
|
1637 |
+
);
|
1638 |
+
socialIconText = "<span class='social-tooltip'>" + socialIconText + "</span>";
|
1639 |
+
}
|
1640 |
+
|
1641 |
+
jQuery(".chaty-channels").append("<div class='social-item-box " + eClass + "'><span class='tooltip-icon'>" + socialIcon + "</span>" + socialIconText + "</div>");
|
1642 |
+
}
|
1643 |
+
);
|
1644 |
+
return;
|
1645 |
+
|
1646 |
+
if (jQuery("#chaty_default_state").val() == "open" && jQuery("#cht_close_button").is(":checked")) {
|
1647 |
+
jQuery("#iconWidget").css("display", "block");
|
1648 |
+
jQuery(".chaty-widget .tooltiptext").css("display","block");
|
1649 |
+
jQuery(".chaty-widget").removeClass("hide-arrow");
|
1650 |
+
} else if (jQuery("#chaty_default_state").val() != "open") {
|
1651 |
+
jQuery("#iconWidget").css("display", "block");
|
1652 |
+
jQuery(".chaty-widget .tooltiptext").css("display","block");
|
1653 |
+
jQuery(".chaty-widget").removeClass("hide-arrow");
|
1654 |
+
} else if (jQuery("#chaty_default_state").val() == "open") {
|
1655 |
+
jQuery("#iconWidget").hide();
|
1656 |
+
jQuery(".chaty-widget .tooltiptext").hide();
|
1657 |
+
jQuery(".chaty-widget").addClass("hide-arrow");
|
1658 |
+
}
|
1659 |
+
|
1660 |
+
jQuery(".chaty-widget").removeClass("has-single");
|
1661 |
+
jQuery(".page-body .chaty-widget").addClass(jQuery("#chaty_icons_view").val());
|
1662 |
+
} else if (jQuery(eClass + ':checked').length == 1) {
|
1663 |
+
if (jQuery("#chaty_default_state").val() == "open" && !jQuery("#cht_close_button").is(":checked")) {
|
1664 |
+
jQuery("#iconWidget").css("display","block");
|
1665 |
+
jQuery(".chaty-widget .tooltiptext").css("display","block");
|
1666 |
+
jQuery(".chaty-widget").removeClass("hide-arrow");
|
1667 |
+
} else if (jQuery("#chaty_default_state").val() != "open") {
|
1668 |
+
jQuery("#iconWidget").css("display","block");
|
1669 |
+
jQuery(".chaty-widget .tooltiptext").css("display","block");
|
1670 |
+
jQuery(".chaty-widget").removeClass("hide-arrow");
|
1671 |
+
}
|
1672 |
+
|
1673 |
+
jQuery(".chaty-widget").addClass("has-single");
|
1674 |
+
jQuery(".chaty-widget").removeClass("hide-arrow");
|
1675 |
+
} else if (jQuery(eClass + ':checked').length == 0) {
|
1676 |
+
jQuery("#iconWidget").hide();
|
1677 |
+
jQuery(".chaty-widget .tooltiptext").hide();
|
1678 |
+
jQuery(".chaty-widget").addClass("hide-arrow");
|
1679 |
+
jQuery(".chaty-widget").removeClass("has-single");
|
1680 |
+
}//end if
|
1681 |
+
|
1682 |
+
jQuery(".chaty-channels .remove-icon-img").remove();
|
1683 |
+
|
1684 |
+
if (jQuery("#trigger_on_time").is(":checked")) {
|
1685 |
+
jQuery("#chaty_trigger_time").attr("readonly", false);
|
1686 |
+
} else {
|
1687 |
+
jQuery("#chaty_trigger_time").attr("readonly", true);
|
1688 |
+
}
|
1689 |
+
|
1690 |
+
if (jQuery("#chaty_trigger_on_scroll").is(":checked")) {
|
1691 |
+
jQuery("#chaty_trigger_on_page_scroll").attr("readonly", false);
|
1692 |
+
} else {
|
1693 |
+
jQuery("#chaty_trigger_on_page_scroll").attr("readonly", true);
|
1694 |
+
}
|
1695 |
+
|
1696 |
+
if (jQuery(".chaty-widget .tooltiptext").text() == "") {
|
1697 |
+
jQuery(".chaty-widget .tooltiptext").hide();
|
1698 |
+
} else {
|
1699 |
+
if (jQuery("#chaty_default_state").val() == "open" && jQuery(eClass + ':checked').length > 1) {
|
1700 |
+
jQuery(".chaty-widget .tooltiptext").hide();
|
1701 |
+
} else {
|
1702 |
+
jQuery(".chaty-widget .tooltiptext").css("display", "block");
|
1703 |
+
}
|
1704 |
+
}
|
1705 |
+
}
|
1706 |
+
|
1707 |
+
function getPreviewDesktop()
|
1708 |
+
{
|
1709 |
+
return jQuery('#previewDesktop').is(':checked') ? true : false;
|
1710 |
+
}
|
1711 |
+
|
1712 |
+
function changeWidgetIcon()
|
1713 |
+
{
|
1714 |
+
|
1715 |
+
jQuery(document).on(
|
1716 |
+
'change',
|
1717 |
+
'.js-chanel-icon',
|
1718 |
+
function () {
|
1719 |
+
detectIcon();
|
1720 |
+
}
|
1721 |
+
);
|
1722 |
+
|
1723 |
+
jQuery(document).on(
|
1724 |
+
'change',
|
1725 |
+
'.js-widget-i',
|
1726 |
+
function (ev) {
|
1727 |
+
if (ev.target.classList.contains('js-upload')) {
|
1728 |
+
defaultIcon = jQuery('.file-preview-image').last().parent().html();
|
1729 |
+
} else {
|
1730 |
+
defaultIcon = jQuery('i[data-type=' + jQuery(".js-widget-i:checked").val() + ']').html()
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
detectIcon();
|
1734 |
+
}
|
1735 |
+
);
|
1736 |
+
}
|
1737 |
+
|
1738 |
+
changeWidgetIcon();
|
1739 |
+
|
1740 |
+
if (jQuery(".js-widget-i:checked").attr("data-type") !== 'chat-image') {
|
1741 |
+
defaultIcon = jQuery('i[data-type=' + jQuery(".js-widget-i:checked").attr("data-type") + ']').html();
|
1742 |
+
detectIcon();
|
1743 |
+
};
|
1744 |
+
}
|
1745 |
+
);
|
1746 |
+
|
1747 |
+
/*jQuery(window).on("load", function(){
|
1748 |
+
if(jQuery("#setting-error-settings_updated").length) {
|
1749 |
+
jQuery(".toast-message").show();
|
1750 |
+
jQuery(".toast-message").addClass("active");
|
1751 |
+
|
1752 |
+
setTimeout(function(){
|
1753 |
+
jQuery(".toast-message").removeClass("active");
|
1754 |
+
}, 5000);
|
1755 |
+
}
|
1756 |
+
});*/
|
1757 |
+
|
1758 |
+
jQuery(document).ready(
|
1759 |
+
function () {
|
1760 |
+
|
1761 |
+
if (jQuery(".toast-message").length) {
|
1762 |
+
jQuery(".toast-message").show();
|
1763 |
+
jQuery(".toast-message").addClass("active");
|
1764 |
+
|
1765 |
+
setTimeout(
|
1766 |
+
function () {
|
1767 |
+
jQuery(".toast-message").removeClass("active");
|
1768 |
+
},
|
1769 |
+
5000
|
1770 |
+
);
|
1771 |
+
}
|
1772 |
+
|
1773 |
+
jQuery(document).on(
|
1774 |
+
"click",
|
1775 |
+
".toast-close-btn a",
|
1776 |
+
function (e) {
|
1777 |
+
e.preventDefault();
|
1778 |
+
jQuery(".toast-message").removeClass("active");
|
1779 |
+
}
|
1780 |
+
);
|
1781 |
+
|
1782 |
+
jQuery(document).on(
|
1783 |
+
"click",
|
1784 |
+
".chaty-popup-box button, #chaty-intro-popup",
|
1785 |
+
function (e) {
|
1786 |
+
e.stopPropagation();
|
1787 |
+
var nonceVal = jQuery("#chaty_update_popup_status").val();
|
1788 |
+
$("#chaty-intro-popup").remove();
|
1789 |
+
$.ajax(
|
1790 |
+
{
|
1791 |
+
type: 'POST',
|
1792 |
+
url: ajaxurl,
|
1793 |
+
data: {
|
1794 |
+
action: 'update_popup_status',
|
1795 |
+
nonce: nonceVal
|
1796 |
+
},
|
1797 |
+
beforeSend: function (xhr) {},
|
1798 |
+
success: function (res) {},
|
1799 |
+
error: function (xhr, status, error) {}
|
1800 |
+
}
|
1801 |
+
);
|
1802 |
+
}
|
1803 |
+
);
|
1804 |
+
|
1805 |
+
jQuery(document).on(
|
1806 |
+
"click",
|
1807 |
+
".chaty-popup-box",
|
1808 |
+
function (e) {
|
1809 |
+
e.stopPropagation();
|
1810 |
+
}
|
1811 |
+
);
|
1812 |
+
|
1813 |
+
jQuery(document).on(
|
1814 |
+
"click",
|
1815 |
+
".remove-chaty-options",
|
1816 |
+
function (e) {
|
1817 |
+
e.preventDefault();
|
1818 |
+
e.stopPropagation();
|
1819 |
+
if (confirm("Are you sure you want to delete this widget?")) {
|
1820 |
+
$.ajax(
|
1821 |
+
{
|
1822 |
+
type: 'POST',
|
1823 |
+
url: ajaxurl,
|
1824 |
+
data: {
|
1825 |
+
action: 'remove_chaty_widget',
|
1826 |
+
nonce_code: cht_nonce_ajax.cht_nonce,
|
1827 |
+
widget_index: jQuery("#widget_index").val()
|
1828 |
+
},
|
1829 |
+
beforeSend: function (xhr) {},
|
1830 |
+
success: function (res) {
|
1831 |
+
window.location = res;
|
1832 |
+
},
|
1833 |
+
error: function (xhr, status, error) {}
|
1834 |
+
}
|
1835 |
+
);
|
1836 |
+
}//end if
|
1837 |
+
}
|
1838 |
+
)
|
1839 |
+
|
1840 |
+
/* Date: 2019-07-26 */
|
1841 |
+
var location_href = window.location.href;
|
1842 |
+
if (window.location.href.indexOf('page=chaty-app&widget=') > -1) {
|
1843 |
+
jQuery('#toplevel_page_chaty-app .wp-submenu.wp-submenu-wrap li').each(
|
1844 |
+
function () {
|
1845 |
+
var element_href = jQuery(this).find('a').attr('href');
|
1846 |
+
if (typeof element_href !== 'undefined') {
|
1847 |
+
jQuery(this).removeClass('current');
|
1848 |
+
if (window.location.href.indexOf(element_href) > -1 && element_href.indexOf('&widget=') > -1) {
|
1849 |
+
jQuery(this).addClass('current');
|
1850 |
+
}
|
1851 |
+
}
|
1852 |
+
}
|
1853 |
+
);
|
1854 |
+
}
|
1855 |
+
}
|
1856 |
+
);
|
1857 |
+
}(jQuery));
|
1858 |
+
|
1859 |
+
jQuery(window).on(
|
1860 |
+
"resize",
|
1861 |
+
function () {
|
1862 |
+
check_for_preview_pos();
|
1863 |
+
}
|
1864 |
+
);
|
1865 |
+
jQuery(window).on(
|
1866 |
+
"scroll",
|
1867 |
+
function () {
|
1868 |
+
check_for_preview_pos();
|
1869 |
+
}
|
1870 |
+
);
|
1871 |
+
jQuery(document).ready(
|
1872 |
+
function () {
|
1873 |
+
check_for_preview_pos();
|
1874 |
+
}
|
1875 |
+
);
|
1876 |
+
|
1877 |
+
function check_for_preview_pos()
|
1878 |
+
{
|
1879 |
+
if (jQuery(".chaty-setting-form").length) {
|
1880 |
+
if (jQuery(window).width() > 1179) {
|
1881 |
+
var topPos = parseInt(jQuery(".chaty-setting-form").offset().top);
|
1882 |
+
jQuery(".btn-save-sticky, .chaty-sticky-buttons").css("top", (topPos + 58));
|
1883 |
+
jQuery(".preview").css("top", (topPos + 18));
|
1884 |
+
jQuery(".btn-help").css("top", (topPos + 58 + 145));
|
1885 |
+
jQuery("a.remove-chaty-widget-sticky").css("top", (topPos + 58 + 145 + 119));
|
1886 |
+
} else {
|
1887 |
+
jQuery(".btn-save-sticky, .chaty-sticky-buttons").attr("style", "");
|
1888 |
+
jQuery(".preview").attr("style", "");
|
1889 |
+
jQuery(".btn-help").attr("style", "");
|
1890 |
+
jQuery("a.remove-chaty-widget-sticky").attr("style", "");
|
1891 |
+
}
|
1892 |
+
}
|
1893 |
+
|
1894 |
+
if (jQuery("#scroll-to-item").length && jQuery("#admin-preview").length) {
|
1895 |
+
if (jQuery("body").hasClass("has-premio-box")) {
|
1896 |
+
topPos = (jQuery("#scroll-to-item").offset().top - jQuery(window).scrollTop() - 625);
|
1897 |
+
} else {
|
1898 |
+
topPos = (jQuery("#scroll-to-item").offset().top - jQuery(window).scrollTop() - 485);
|
1899 |
+
}
|
1900 |
+
|
1901 |
+
if (topPos < 0) {
|
1902 |
+
topPos = Math.abs(topPos);
|
1903 |
+
jQuery("#admin-preview").css("margin-top", ((-1) * topPos) + "px");
|
1904 |
+
} else {
|
1905 |
+
jQuery("#admin-preview").css("margin-top", "0");
|
1906 |
+
}
|
1907 |
+
}
|
1908 |
+
|
1909 |
+
if (jQuery(window).height() <= 1180) {
|
1910 |
+
var totalHeight = 285;
|
1911 |
+
if (jQuery(window).width() <= 600) {
|
1912 |
+
totalHeight = 310;
|
1913 |
+
}
|
1914 |
+
|
1915 |
+
jQuery(".chaty-sticky-buttons").css("top", ((jQuery(window).height() / 2) - (totalHeight / 2)) + "px");
|
1916 |
+
}
|
1917 |
+
|
1918 |
+
if (jQuery(".html-tooltip:not(.no-position)").length) {
|
1919 |
+
jQuery(".html-tooltip:not(.no-position)").each(
|
1920 |
+
function () {
|
1921 |
+
if ((jQuery(this).offset().top - jQuery(window).scrollTop()) > 540) {
|
1922 |
+
jQuery(this).addClass("top").removeClass("side").removeClass("bottom");
|
1923 |
+
jQuery(this).find(".tooltip-text").attr("style","");
|
1924 |
+
jQuery(this).find(".tooltip-text").removeClass("hide-arrow");
|
1925 |
+
} else if ((jQuery(window).height() - (jQuery(this).offset().top - jQuery(window).scrollTop())) > 460) {
|
1926 |
+
jQuery(this).addClass("bottom").removeClass("top").removeClass("side");
|
1927 |
+
jQuery(this).find(".tooltip-text").attr("style","");
|
1928 |
+
jQuery(this).find(".tooltip-text").removeClass("hide-arrow");
|
1929 |
+
} else {
|
1930 |
+
jQuery(this).addClass("side").removeClass("top").removeClass("bottom");
|
1931 |
+
if (jQuery(this).find(".tooltip-text").length) {
|
1932 |
+
jQuery(this).find(".tooltip-text").attr("style","");
|
1933 |
+
jQuery(this).find(".tooltip-text").removeClass("hide-arrow");
|
1934 |
+
|
1935 |
+
if ((jQuery(this).find(".tooltip-text").offset().top - jQuery(window).scrollTop() - 50) < 0) {
|
1936 |
+
jQuery(this).find(".tooltip-text").css("margin-top", Math.abs(jQuery(this).find(".tooltip-text").offset().top - jQuery(window).scrollTop() - 50) + "px");
|
1937 |
+
jQuery(this).find(".tooltip-text").addClass("hide-arrow");
|
1938 |
+
} else {
|
1939 |
+
jQuery(this).find(".tooltip-text").attr("style","");
|
1940 |
+
if ((jQuery(this).find(".tooltip-text").offset().top + parseInt(jQuery(this).find(".tooltip-text").outerHeight()) - jQuery(window).scrollTop() - jQuery(window).height()) > 0) {
|
1941 |
+
jQuery(this).find(".tooltip-text").css("margin-top", ((-1) * Math.abs(jQuery(this).find(".tooltip-text").offset().top + parseInt(jQuery(this).find(".tooltip-text").outerHeight()) - jQuery(window).scrollTop() - jQuery(window).height()) - 10) + "px");
|
1942 |
+
jQuery(this).find(".tooltip-text").addClass("hide-arrow");
|
1943 |
+
}
|
1944 |
+
}
|
1945 |
+
}
|
1946 |
+
}//end if
|
1947 |
+
}
|
1948 |
+
);
|
1949 |
+
}//end if
|
1950 |
+
|
1951 |
+
}
|
1952 |
+
|
1953 |
+
var totalPageOptions = 0;
|
1954 |
+
var pageOptionContent = "";
|
1955 |
+
var totalDateAndTimeOptions = 0;
|
1956 |
+
var dateAndTimeOptionContent = "";
|
1957 |
+
jQuery(document).ready(
|
1958 |
+
function () {
|
1959 |
+
var isChatyInMobile = false;
|
1960 |
+
// initiate as false
|
1961 |
+
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)
|
1962 |
+
|| /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0, 4))
|
1963 |
+
) {
|
1964 |
+
isChatyInMobile = true;
|
1965 |
+
}
|
1966 |
+
|
1967 |
+
totalPageOptions = parseInt(jQuery(".chaty-page-option").length);
|
1968 |
+
pageOptionContent = jQuery(".chaty-page-options-html").html();
|
1969 |
+
jQuery(".chaty-page-options-html").remove();
|
1970 |
+
totalDateAndTimeOptions = parseInt(jQuery(".chaty-date-time-option").length);
|
1971 |
+
dateAndTimeOptionContent = jQuery(".chaty-date-and-time-options-html").html();
|
1972 |
+
jQuery(".chaty-date-and-time-options-html").remove();
|
1973 |
+
|
1974 |
+
jQuery("#create-rule").on(
|
1975 |
+
"click",
|
1976 |
+
function () {
|
1977 |
+
// appendHtml = pageOptionContent.replace(/__count__/g, totalPageOptions, pageOptionContent);
|
1978 |
+
// totalPageOptions++;
|
1979 |
+
// jQuery(".chaty-page-options").append(appendHtml);
|
1980 |
+
// jQuery(".chaty-page-options .chaty-page-option").removeClass("last");
|
1981 |
+
// jQuery(".chaty-page-options .chaty-page-option:last").addClass("last");
|
1982 |
+
//
|
1983 |
+
// if (jQuery("#is_pro_plugin").val() == "0") {
|
1984 |
+
// jQuery(".chaty-page-options").find("input").attr("name", "");
|
1985 |
+
// jQuery(".chaty-page-options").find("select").attr("name", "");
|
1986 |
+
// jQuery(".chaty-page-options").find("input").removeClass("cht-required");
|
1987 |
+
// jQuery(".chaty-page-options").find("select").removeClass("cht-required");
|
1988 |
+
// jQuery(this).remove();
|
1989 |
+
// }
|
1990 |
+
jQuery(".page-options").toggle();
|
1991 |
+
}
|
1992 |
+
);
|
1993 |
+
|
1994 |
+
jQuery("#create-data-and-time-rule").on(
|
1995 |
+
"click",
|
1996 |
+
function () {
|
1997 |
+
jQuery(".chaty-data-and-time-rules").toggle();
|
1998 |
+
}
|
1999 |
+
);
|
2000 |
+
|
2001 |
+
jQuery(document).on(
|
2002 |
+
"change",
|
2003 |
+
"#chaty_attention_effect",
|
2004 |
+
function () {
|
2005 |
+
var currentClass = jQuery(this).attr("data-effect");
|
2006 |
+
if (currentClass != "") {
|
2007 |
+
jQuery("#iconWidget").removeClass("chaty-animation-" + currentClass);
|
2008 |
+
}
|
2009 |
+
|
2010 |
+
jQuery("#iconWidget").removeClass("start-now");
|
2011 |
+
jQuery("#iconWidget").addClass("chaty-animation-" + jQuery(this).val()).addClass("start-now");
|
2012 |
+
jQuery(this).attr("data-effect", jQuery(this).val());
|
2013 |
+
}
|
2014 |
+
);
|
2015 |
+
|
2016 |
+
setInterval(
|
2017 |
+
function () {
|
2018 |
+
var currentClass = jQuery("#chaty_attention_effect").attr("data-effect");
|
2019 |
+
if (currentClass != "") {
|
2020 |
+
jQuery("#iconWidget").removeClass("chaty-animation-" + currentClass);
|
2021 |
+
jQuery("#iconWidget").removeClass("start-now");
|
2022 |
+
setTimeout(
|
2023 |
+
function () {
|
2024 |
+
jQuery("#iconWidget").addClass("chaty-animation-" + jQuery("#chaty_attention_effect").val()).addClass("start-now");
|
2025 |
+
},
|
2026 |
+
1000
|
2027 |
+
);
|
2028 |
+
} else {
|
2029 |
+
jQuery("#chaty_attention_effect").attr("data-effect", jQuery("#chaty_attention_effect").val());
|
2030 |
+
}
|
2031 |
+
},
|
2032 |
+
5000
|
2033 |
+
);
|
2034 |
+
|
2035 |
+
jQuery(document).on(
|
2036 |
+
"click",
|
2037 |
+
".remove-chaty",
|
2038 |
+
function () {
|
2039 |
+
jQuery(".page-options").toggle();
|
2040 |
+
}
|
2041 |
+
);
|
2042 |
+
|
2043 |
+
jQuery(document).on(
|
2044 |
+
"click",
|
2045 |
+
".remove-page-option",
|
2046 |
+
function () {
|
2047 |
+
jQuery(".chaty-data-and-time-rules ").toggle();
|
2048 |
+
}
|
2049 |
+
);
|
2050 |
+
|
2051 |
+
jQuery("#image-upload-content .custom-control-label").on(
|
2052 |
+
"click",
|
2053 |
+
function (e) {
|
2054 |
+
e.stopPropagation();
|
2055 |
+
jQuery(this).closest(".custom-control").find("input[type=radio]").attr("checked", true);
|
2056 |
+
jQuery('.js-widget-i').trigger("change");
|
2057 |
+
return false;
|
2058 |
+
}
|
2059 |
+
);
|
2060 |
+
|
2061 |
+
jQuery('.chaty-color-field').spectrum(
|
2062 |
+
{
|
2063 |
+
chooseText: "Submit",
|
2064 |
+
preferredFormat: "hex",
|
2065 |
+
cancelText: "Cancel",
|
2066 |
+
showInput: true,
|
2067 |
+
showAlpha: true,
|
2068 |
+
move: function (color) {
|
2069 |
+
jQuery(this).val(color.toRgbString());
|
2070 |
+
jQuery("#cta-box span").css("color", jQuery("#cht_cta_text_color").val());
|
2071 |
+
jQuery("#cta-box span").css("background", jQuery("#cht_cta_bg_color").val());
|
2072 |
+
jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent " + jQuery('#cht_cta_bg_color').val() + " transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent " + jQuery('#cht_cta_bg_color').val() + "}</style>");
|
2073 |
+
chaty_set_bg_color();
|
2074 |
+
jQuery("input[name='switchPreview']:checked").trigger("change");
|
2075 |
+
},
|
2076 |
+
change: function (color) {
|
2077 |
+
jQuery(this).val(color.toRgbString());
|
2078 |
+
chaty_set_bg_color();
|
2079 |
+
jQuery("#cta-box span").css("color", jQuery("#cht_cta_text_color").val());
|
2080 |
+
jQuery("#cta-box span").css("background", jQuery("#cht_cta_bg_color").val());
|
2081 |
+
jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent " + jQuery('#cht_cta_bg_color').val() + " transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent " + jQuery('#cht_cta_bg_color').val() + "}</style>");
|
2082 |
+
jQuery("input[name='switchPreview']:checked").trigger("change");
|
2083 |
+
}
|
2084 |
+
}
|
2085 |
+
);
|
2086 |
+
jQuery(".chaty-color-field").on(
|
2087 |
+
"change",
|
2088 |
+
function () {
|
2089 |
+
chaty_set_bg_color();
|
2090 |
+
change_custom_preview();
|
2091 |
+
}
|
2092 |
+
);
|
2093 |
+
|
2094 |
+
jQuery(".remove-chaty-img").on(
|
2095 |
+
"click",
|
2096 |
+
function (e) {
|
2097 |
+
e.stopPropagation();
|
2098 |
+
}
|
2099 |
+
);
|
2100 |
+
|
2101 |
+
if (!isChatyInMobile) {
|
2102 |
+
jQuery("#channels-selected-list").sortable(
|
2103 |
+
{
|
2104 |
+
placeholder: "ui-chaty-state-hl",
|
2105 |
+
items: "li:not(#chaty-social-close)",
|
2106 |
+
stop: function () {
|
2107 |
+
set_wp_editor();
|
2108 |
+
},
|
2109 |
+
update: function (event, ui) {
|
2110 |
+
set_social_channel_order();
|
2111 |
+
change_custom_preview();
|
2112 |
+
set_wp_editor();
|
2113 |
+
}
|
2114 |
+
}
|
2115 |
+
);
|
2116 |
+
}
|
2117 |
+
|
2118 |
+
jQuery(document).ready(
|
2119 |
+
function () {
|
2120 |
+
set_wp_editor();
|
2121 |
+
}
|
2122 |
+
);
|
2123 |
+
|
2124 |
+
function set_wp_editor()
|
2125 |
+
{
|
2126 |
+
if (jQuery(".chaty-whatsapp-setting-textarea").length) {
|
2127 |
+
jQuery(".chaty-whatsapp-setting-textarea").each(
|
2128 |
+
function () {
|
2129 |
+
if (jQuery("#cht_social_embedded_message_" + jQuery(this).data("id") + "_ifr").length) {
|
2130 |
+
tinymce.get(jQuery(this).attr("id")).remove();
|
2131 |
+
}
|
2132 |
+
|
2133 |
+
tinymce.execCommand('mceAddEditor', true, jQuery(this).attr("id"));
|
2134 |
+
}
|
2135 |
+
);
|
2136 |
+
}
|
2137 |
+
}
|
2138 |
+
|
2139 |
+
jQuery(".close-button-img img, .close-button-img .image-upload").on(
|
2140 |
+
"click",
|
2141 |
+
function () {
|
2142 |
+
var image = wp.media(
|
2143 |
+
{
|
2144 |
+
title: 'Upload Image',
|
2145 |
+
// mutiple: true if you want to upload multiple files at once
|
2146 |
+
multiple: false,
|
2147 |
+
library: {
|
2148 |
+
type: 'image',
|
2149 |
+
}
|
2150 |
+
}
|
2151 |
+
).open()
|
2152 |
+
.on(
|
2153 |
+
'select',
|
2154 |
+
function (e) {
|
2155 |
+
var uploaded_image = image.state().get('selection').first();
|
2156 |
+
imageData = uploaded_image.toJSON();
|
2157 |
+
jQuery('.close-button-img').addClass("active");
|
2158 |
+
jQuery('.close-button-img input').val(imageData.id);
|
2159 |
+
jQuery('.close-button-img img').attr("src", imageData.url);
|
2160 |
+
change_custom_preview();
|
2161 |
+
}
|
2162 |
+
);
|
2163 |
+
}
|
2164 |
+
);
|
2165 |
+
|
2166 |
+
jQuery(".remove-close-img").on(
|
2167 |
+
"click",
|
2168 |
+
function () {
|
2169 |
+
default_image = jQuery("#default_image").val();
|
2170 |
+
jQuery('.close-button-img').removeClass("active");
|
2171 |
+
jQuery('.close-button-img input').val("");
|
2172 |
+
jQuery('.close-button-img img').attr("src", default_image);
|
2173 |
+
change_custom_preview();
|
2174 |
+
}
|
2175 |
+
);
|
2176 |
+
|
2177 |
+
jQuery(document).on(
|
2178 |
+
"click",
|
2179 |
+
".chaty-widget.click",
|
2180 |
+
function (e) {
|
2181 |
+
e.preventDefault();
|
2182 |
+
// jQuery(".chaty-channels").toggle();
|
2183 |
+
jQuery(".chaty-widget").toggleClass("active");
|
2184 |
+
}
|
2185 |
+
);
|
2186 |
+
|
2187 |
+
jQuery(document).on(
|
2188 |
+
'change',
|
2189 |
+
'.url-options.cht-required',
|
2190 |
+
function (ev) {
|
2191 |
+
thisVal = jQuery(this).val();
|
2192 |
+
siteURL = jQuery("#chaty_site_url").val();
|
2193 |
+
newURL = siteURL;
|
2194 |
+
if (thisVal == "page_has_url") {
|
2195 |
+
newURL = siteURL;
|
2196 |
+
} else if (thisVal == "page_contains") {
|
2197 |
+
newURL = siteURL + "%s%";
|
2198 |
+
} else if (thisVal == "page_start_with") {
|
2199 |
+
newURL = siteURL + "s%";
|
2200 |
+
} else if (thisVal == "page_end_with") {
|
2201 |
+
newURL = siteURL + "%s";
|
2202 |
+
}
|
2203 |
+
|
2204 |
+
jQuery(this).closest(".url-content").find(".chaty-url").text(newURL);
|
2205 |
+
}
|
2206 |
+
);
|
2207 |
+
|
2208 |
+
check_for_chaty_close_button();
|
2209 |
+
chaty_set_bg_color();
|
2210 |
+
change_custom_preview();
|
2211 |
+
|
2212 |
+
jQuery(".chaty-settings.cls-btn a, .close-btn-set").on(
|
2213 |
+
"click",
|
2214 |
+
function (e) {
|
2215 |
+
e.preventDefault();
|
2216 |
+
jQuery(".cls-btn-settings, .close-btn-set").toggleClass("active");
|
2217 |
+
}
|
2218 |
+
);
|
2219 |
+
|
2220 |
+
/*Default Values*/
|
2221 |
+
if (jQuery("input[name='cht_position']:checked").length == 0) {
|
2222 |
+
jQuery("#right-position").attr("checked", true);
|
2223 |
+
jQuery("input[name='cht_position']:checked").trigger("change");
|
2224 |
+
}
|
2225 |
+
|
2226 |
+
if (jQuery("input[name='widget_icon']:checked").length == 0) {
|
2227 |
+
jQuery("input[name='widget_icon']:first").attr("checked", true);
|
2228 |
+
jQuery("input[name='widget_icon']:checked").trigger("change");
|
2229 |
+
}
|
2230 |
+
|
2231 |
+
/*font family Privew*/
|
2232 |
+
jQuery('.form-fonts').on(
|
2233 |
+
'change',
|
2234 |
+
function () {
|
2235 |
+
var font_val = jQuery(this).val();
|
2236 |
+
jQuery('.chaty-google-font').remove();
|
2237 |
+
if (font_val != "") {
|
2238 |
+
if (jQuery('.form-fonts option:selected').data("group") != "Default") {
|
2239 |
+
// jQuery('head').append('<link href="https://fonts.googleapis.com/css?family=' + font_val + ':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">');
|
2240 |
+
}
|
2241 |
+
|
2242 |
+
jQuery('.preview-section-chaty #admin-preview .page-body').css('font-family', font_val);
|
2243 |
+
} else {
|
2244 |
+
jQuery('.preview-section-chaty #admin-preview .page-body').attr("style","");
|
2245 |
+
}
|
2246 |
+
}
|
2247 |
+
);
|
2248 |
+
}
|
2249 |
+
);
|
2250 |
+
|
2251 |
+
jQuery(window).on(
|
2252 |
+
"load",
|
2253 |
+
function () {
|
2254 |
+
check_for_chaty_close_button();
|
2255 |
+
chaty_set_bg_color();
|
2256 |
+
jQuery(".chaty-page-options .chaty-page-option").removeClass("last");
|
2257 |
+
jQuery(".chaty-page-options .chaty-page-option:last").addClass("last");
|
2258 |
+
|
2259 |
+
jQuery('.url-options.cht-required').each(
|
2260 |
+
function () {
|
2261 |
+
jQuery(this).trigger("change");
|
2262 |
+
}
|
2263 |
+
);
|
2264 |
+
var font_val = jQuery('.form-fonts').val();
|
2265 |
+
jQuery('.chaty-google-font').remove();
|
2266 |
+
if (font_val != "") {
|
2267 |
+
if (jQuery('.form-fonts option:selected').data("group") != "Default") {
|
2268 |
+
// jQuery('head').append('<link href="https://fonts.googleapis.com/css?family=' + font_val + ':400,600,700" rel="stylesheet" type="text/css" class="chaty-google-font">');
|
2269 |
+
}
|
2270 |
+
|
2271 |
+
jQuery('.preview-section-chaty #admin-preview .page-body').css('font-family', font_val);
|
2272 |
+
}
|
2273 |
+
|
2274 |
+
// jQuery("#chaty_default_state").trigger("change");
|
2275 |
+
}
|
2276 |
+
);
|
2277 |
+
|
2278 |
+
var selectedsocialSlug = "";
|
2279 |
+
|
2280 |
+
function upload_chaty_image(socialSlug)
|
2281 |
+
{
|
2282 |
+
selectedsocialSlug = socialSlug;
|
2283 |
+
var image = wp.media(
|
2284 |
+
{
|
2285 |
+
title: 'Upload Image',
|
2286 |
+
// mutiple: true if you want to upload multiple files at once
|
2287 |
+
multiple: false,
|
2288 |
+
library: {
|
2289 |
+
type: 'image',
|
2290 |
+
}
|
2291 |
+
}
|
2292 |
+
).open()
|
2293 |
+
.on(
|
2294 |
+
'select',
|
2295 |
+
function (e) {
|
2296 |
+
var uploaded_image = image.state().get('selection').first();
|
2297 |
+
imageData = uploaded_image.toJSON();
|
2298 |
+
jQuery('#cht_social_image_' + selectedsocialSlug).val(imageData.id);
|
2299 |
+
jQuery('.custom-image-' + selectedsocialSlug + " img").attr("src", imageData.url);
|
2300 |
+
jQuery("#chaty-social-" + selectedsocialSlug + " .channels-selected__item").addClass("img-active");
|
2301 |
+
change_custom_preview();
|
2302 |
+
}
|
2303 |
+
);
|
2304 |
+
|
2305 |
+
}
|
2306 |
+
|
2307 |
+
function toggle_chaty_setting(socId)
|
2308 |
+
{
|
2309 |
+
jQuery("#chaty-social-" + socId).find(".chaty-advance-settings").toggle();
|
2310 |
+
jQuery("#chaty-social-" + socId).find(".chaty-advance-settings").toggleClass('active');
|
2311 |
+
if (socId == "Contact_Us") {
|
2312 |
+
if (jQuery("#Contact_Us-close-btn").length) {
|
2313 |
+
var nonce = jQuery("#Contact_Us-close-btn").data("nonce");
|
2314 |
+
if (!jQuery("#Contact_Us-close-btn").hasClass("active")) {
|
2315 |
+
jQuery("#Contact_Us-close-btn").addClass("active")
|
2316 |
+
jQuery.ajax(
|
2317 |
+
{
|
2318 |
+
type: 'POST',
|
2319 |
+
url: ajaxurl,
|
2320 |
+
data: {
|
2321 |
+
"nonce": nonce,
|
2322 |
+
"action": 'update_channel_setting'
|
2323 |
+
},
|
2324 |
+
success: function (response) {}
|
2325 |
+
}
|
2326 |
+
);
|
2327 |
+
}
|
2328 |
+
}
|
2329 |
+
}//end if
|
2330 |
+
|
2331 |
+
if (jQuery("#chaty-social-" + socId + " .chaty-advance-settings.active").length) {
|
2332 |
+
jQuery("body,html").animate(
|
2333 |
+
{
|
2334 |
+
scrollTop: (jQuery("#chaty-social-" + socId + " .chaty-advance-settings.active").offset().top - 50)
|
2335 |
+
},
|
2336 |
+
500
|
2337 |
+
);
|
2338 |
+
}
|
2339 |
+
|
2340 |
+
change_custom_preview();
|
2341 |
+
|
2342 |
+
}
|
2343 |
+
|
2344 |
+
function chaty_set_bg_color()
|
2345 |
+
{
|
2346 |
+
jQuery(".chaty-color-field:not(.button-color)").each(
|
2347 |
+
function () {
|
2348 |
+
if (jQuery(this).val() != "" && jQuery(this).val() != "#ffffff") {
|
2349 |
+
if (jQuery(this).closest("li").data("id") != "Linkedin" || (jQuery(this).closest("li").data("id") == "Linkedin" && jQuery(this).val() != "#ffffff")) {
|
2350 |
+
defaultColor = jQuery(this).val();
|
2351 |
+
jQuery(this).closest(".channels-selected__item").find(".color-element").css("fill", defaultColor);
|
2352 |
+
jQuery(this).closest(".channels-selected__item").find(".custom-chaty-image").css("background", defaultColor);
|
2353 |
+
jQuery(this).closest(".channels-selected__item").find(".facustom-icon").css("background", defaultColor);
|
2354 |
+
}
|
2355 |
+
}
|
2356 |
+
}
|
2357 |
+
);
|
2358 |
+
change_custom_preview();
|
2359 |
+
|
2360 |
+
}
|
2361 |
+
|
2362 |
+
function upload_qr_code()
|
2363 |
+
{
|
2364 |
+
var image = wp.media(
|
2365 |
+
{
|
2366 |
+
title: 'Upload QR Image',
|
2367 |
+
multiple: false,
|
2368 |
+
library: {
|
2369 |
+
type: 'image',
|
2370 |
+
}
|
2371 |
+
}
|
2372 |
+
).open()
|
2373 |
+
.on(
|
2374 |
+
'select',
|
2375 |
+
function (e) {
|
2376 |
+
var uploaded_image = image.state().get('selection').first();
|
2377 |
+
imageData = uploaded_image.toJSON();
|
2378 |
+
jQuery('#upload_qr_code_val').val(imageData.id);
|
2379 |
+
jQuery('#upload_qr_code img').attr("src", imageData.url);
|
2380 |
+
jQuery(".remove-qr-code").addClass("active");
|
2381 |
+
change_custom_preview();
|
2382 |
+
}
|
2383 |
+
);
|
2384 |
+
|
2385 |
+
}
|
2386 |
+
|
2387 |
+
function remove_qr_code()
|
2388 |
+
{
|
2389 |
+
jQuery(".remove-qr-code").removeClass("active");
|
2390 |
+
jQuery('#upload_qr_code_val').val("");
|
2391 |
+
default_image = jQuery("#default_image").val();
|
2392 |
+
jQuery('#upload_qr_code img').attr("src", default_image);
|
2393 |
+
change_custom_preview();
|
2394 |
+
|
2395 |
+
}
|
2396 |
+
|
2397 |
+
function remove_chaty_image(socId)
|
2398 |
+
{
|
2399 |
+
default_image = jQuery("#default_image").val();
|
2400 |
+
jQuery("#chaty-social-" + socId + " .channels-selected__item").removeClass("img-active");
|
2401 |
+
jQuery('#cht_social_image_' + socId).val("");
|
2402 |
+
jQuery('#cht_social_image_src_' + socId).attr("src", default_image);
|
2403 |
+
change_custom_preview();
|
2404 |
+
|
2405 |
+
}
|
2406 |
+
|
2407 |
+
var baseIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' + ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' + ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' + ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' + ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' + ' </svg>',
|
2408 |
+
defaultIcon = '<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n' + ' <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n' + ' </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n' + ' <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n' + ' <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n' + ' C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n' + ' </svg>'
|
2409 |
+
var iconBlock = document.getElementById('iconWidget');
|
2410 |
+
|
2411 |
+
function set_social_channel_order()
|
2412 |
+
{
|
2413 |
+
socialString = [];
|
2414 |
+
jQuery("#channels-selected-list li").each(
|
2415 |
+
function () {
|
2416 |
+
socialString.push(jQuery(this).attr("data-id"));
|
2417 |
+
}
|
2418 |
+
);
|
2419 |
+
socialString = socialString.join(",");
|
2420 |
+
jQuery("#cht_numb_slug").val(socialString);
|
2421 |
+
check_for_chaty_close_button();
|
2422 |
+
|
2423 |
+
}
|
2424 |
+
|
2425 |
+
function check_for_chaty_close_button()
|
2426 |
+
{
|
2427 |
+
if (jQuery("#channels-selected-list > li:not(.chaty-cls-setting)").length >= 2) {
|
2428 |
+
jQuery("#chaty-social-close").show();
|
2429 |
+
} else {
|
2430 |
+
jQuery("#chaty-social-close").hide();
|
2431 |
+
}
|
2432 |
+
|
2433 |
+
change_custom_preview();
|
2434 |
+
var srtString = "";
|
2435 |
+
jQuery("#channels-selected-list > li").each(
|
2436 |
+
function () {
|
2437 |
+
if (jQuery(this).attr("data-id") != "undefined" && jQuery(this).attr("data-id") != "") {
|
2438 |
+
srtString += jQuery(this).attr("data-id") + ",";
|
2439 |
+
}
|
2440 |
+
|
2441 |
+
srtString = srtString.trimRight(",")
|
2442 |
+
}
|
2443 |
+
);
|
2444 |
+
jQuery(".add_slug").val(srtString);
|
2445 |
+
|
2446 |
+
}
|
2447 |
+
|
2448 |
+
function change_custom_preview()
|
2449 |
+
{
|
2450 |
+
var desktop,
|
2451 |
+
mobile,
|
2452 |
+
colorSelf = false;
|
2453 |
+
jQuery("#iconWidget").removeClass("img-p-active");
|
2454 |
+
if (getChtPreviewDesktop()) {
|
2455 |
+
if (jQuery('.js-chanel-desktop:checked').length === 0) {
|
2456 |
+
desktop = false;
|
2457 |
+
}
|
2458 |
+
|
2459 |
+
if (jQuery('.js-chanel-desktop:checked').length === 1) {
|
2460 |
+
desktop = jQuery('.js-chanel-desktop:checked').closest("li").find(".icon.icon-md").html();
|
2461 |
+
if (jQuery('.js-chanel-desktop:checked').closest(".channels-selected__item").hasClass("img-active")) {
|
2462 |
+
jQuery("#iconWidget").addClass("img-p-active");
|
2463 |
+
}
|
2464 |
+
}
|
2465 |
+
|
2466 |
+
if (jQuery('.js-chanel-desktop:checked').length > 1) {
|
2467 |
+
desktop = defaultIcon;
|
2468 |
+
colorSelf = true;
|
2469 |
+
}
|
2470 |
+
} else {
|
2471 |
+
if (jQuery('.js-chanel-mobile:checked').length === 0) {
|
2472 |
+
mobile = false;
|
2473 |
+
}
|
2474 |
+
|
2475 |
+
if (jQuery('.js-chanel-mobile:checked').length === 1) {
|
2476 |
+
mobile = jQuery('.js-chanel-mobile:checked').closest("li").find(".icon.icon-md").html();
|
2477 |
+
if (jQuery('.js-chanel-mobile:checked').closest(".channels-selected__item").hasClass("img-active")) {
|
2478 |
+
jQuery("#iconWidget").addClass("img-p-active");
|
2479 |
+
}
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
if (jQuery('.js-chanel-mobile:checked').length > 1) {
|
2483 |
+
mobile = defaultIcon;
|
2484 |
+
colorSelf = true;
|
2485 |
+
}
|
2486 |
+
}//end if
|
2487 |
+
|
2488 |
+
desktopIcon = desktop;
|
2489 |
+
mobileIcon = mobile;
|
2490 |
+
|
2491 |
+
if (getChtPreviewDesktop()) {
|
2492 |
+
setChtIcon(desktopIcon, colorSelf)
|
2493 |
+
} else {
|
2494 |
+
setChtIcon(mobileIcon, colorSelf)
|
2495 |
+
}
|
2496 |
+
|
2497 |
+
if (jQuery("#channels-selected-list > li.chaty-channel").length <= 1) {
|
2498 |
+
jQuery(".o-channel, .font-section").removeClass("active");
|
2499 |
+
} else {
|
2500 |
+
jQuery(".o-channel, .font-section").addClass("active");
|
2501 |
+
}
|
2502 |
+
|
2503 |
+
}
|
2504 |
+
|
2505 |
+
function getChtPreviewDesktop()
|
2506 |
+
{
|
2507 |
+
return jQuery('#previewDesktop').is(':checked') ? true : false;
|
2508 |
+
|
2509 |
+
}
|
2510 |
+
|
2511 |
+
function setChtIcon(icon, colorSelf)
|
2512 |
+
{
|
2513 |
+
if (!jQuery("iconWidget").length) {
|
2514 |
+
return;
|
2515 |
+
}
|
2516 |
+
|
2517 |
+
iconBlock = document.getElementById('iconWidget');
|
2518 |
+
if (icon) {
|
2519 |
+
// jQuery('.preview .page .chaty-widget').show();
|
2520 |
+
iconBlock.innerHTML = icon;
|
2521 |
+
} else {
|
2522 |
+
// jQuery('.preview .page .chaty-widget').hide();
|
2523 |
+
iconBlock.innerHTML = '';
|
2524 |
+
}
|
2525 |
+
|
2526 |
+
if (colorSelf) {
|
2527 |
+
var color = jQuery('.color-picker-custom input').val() ? jQuery('.color-picker-custom input').val() : jQuery('.color-picker-radio input:checked').val();
|
2528 |
+
jQuery('.preview .page #iconWidget svg circle').css({fill: color});
|
2529 |
+
jQuery('.preview .page .chaty-close-icon ellipse').css({fill: color});
|
2530 |
+
jQuery('#chaty-social-close ellipse').attr("fill", color);
|
2531 |
+
}
|
2532 |
+
|
2533 |
+
jQuery('.js-widget-i:checked').trigger("change");
|
2534 |
+
|
2535 |
}
|
admin/assets/js/cht-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function check_for_number_chaty(e,t){return!(""==e||("+"==e[0]&&(e=e.substr(1,e.length)),"Phone"==t&&"*"==e[0]&&(e=e.substr(1,e.length)),!isNaN(e)))}function check_for_preview_pos(){if(jQuery(".chaty-setting-form").length)if(jQuery(window).width()>1179){var e=parseInt(jQuery(".chaty-setting-form").offset().top);jQuery(".btn-save-sticky, .chaty-sticky-buttons").css("top",e+58),jQuery(".preview").css("top",e+18),jQuery(".btn-help").css("top",e+58+145),jQuery("a.remove-chaty-widget-sticky").css("top",e+58+145+119)}else jQuery(".btn-save-sticky, .chaty-sticky-buttons").attr("style",""),jQuery(".preview").attr("style",""),jQuery(".btn-help").attr("style",""),jQuery("a.remove-chaty-widget-sticky").attr("style","");if(jQuery("#scroll-to-item").length&&jQuery("#admin-preview").length&&((e=jQuery("body").hasClass("has-premio-box")?jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-625:jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-485)<0?(e=Math.abs(e),jQuery("#admin-preview").css("margin-top",-1*e+"px")):jQuery("#admin-preview").css("margin-top","0")),jQuery(window).height()<=1180){var t=285;jQuery(window).width()<=600&&(t=310),jQuery(".chaty-sticky-buttons").css("top",jQuery(window).height()/2-t/2+"px")}jQuery(".html-tooltip:not(.no-position)").length&&jQuery(".html-tooltip:not(.no-position)").each(function(){jQuery(this).offset().top-jQuery(window).scrollTop()>540?(jQuery(this).addClass("top").removeClass("side").removeClass("bottom"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):jQuery(window).height()-(jQuery(this).offset().top-jQuery(window).scrollTop())>460?(jQuery(this).addClass("bottom").removeClass("top").removeClass("side"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):(jQuery(this).addClass("side").removeClass("top").removeClass("bottom"),jQuery(this).find(".tooltip-text").length&&(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow"),jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50<0?(jQuery(this).find(".tooltip-text").css("margin-top",Math.abs(jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50)+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")):(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height()>0&&(jQuery(this).find(".tooltip-text").css("margin-top",-1*Math.abs(jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height())-10+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")))))})}jQuery(function(e){"use strict";var t=!1,a=!1,o=!1,c=!1,i=!1,n=!1,s=!1;function r(){if(e(".chaty-popup").hide(),0==e("#cht-form .js-chanel-desktop").length||0==e("#cht-form .js-chanel-mobile").length)return e("#no-device-popup").show(),!1;if(0==e("#cht-form .js-chanel-desktop:checked").length&&0==e("#cht-form .js-chanel-mobile:checked").length)return e("#device-popup").show(),!1;var t=0;return e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").each(function(){""==jQuery.trim(e(this).val())&&t++}),t!=e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").length||e("#chaty-social-Contact_Us").length?l():(e("#no-device-value").show(),!1)}function l(){return e(".chaty-popup").hide(),e("#trigger_on_time").is(":checked")||e("#chaty_trigger_on_exit").is(":checked")||e("#chaty_trigger_on_scroll").is(":checked")?u():(e("#trigger-popup").show(),!1)}function u(){return e(".chaty-popup").hide(),e(".cht_active").is(":checked")?(t=!0,e("#cht-form").trigger("submit"),!0):(e("#status-popup").show(),!1)}function h(){if(a){if(o){if(c){if(i){if(n)s||(s=!0,e("#channels-selected-list .phone-number").length&&e("#channels-selected-list .phone-number").each(function(){if(""!=jQuery.trim(e(this).val())&&jQuery.trim(e(this).val()).length>13)return e("#custom-message-popup .chaty-popup-header").text(e(this).data("label")+" number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the "+e(this).data("label")+" number you're trying to enter isn't valid. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}));else if(n=!0,e("#cht-form #Viber").length&&""!=e("#cht-form #Viber").val()){t=jQuery.trim(e("#cht-form #Viber").val());if(check_for_number_chaty(t,"Viber"))return e("#custom-message-popup .chaty-popup-header").text("Viber number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the Viber number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(i=!0,e("#cht-form #SMS").length&&""!=e("#cht-form #SMS").val()){t=jQuery.trim(e("#cht-form #SMS").val());if(check_for_number_chaty(t,"SMS"))return e("#custom-message-popup .chaty-popup-header").text("SMS number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the SMS number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(c=!0,e("#cht-form #Facebook_Messenger").length&&""!=e("#cht-form #Facebook_Messenger").val()){var t=jQuery.trim(e("#Facebook_Messenger").val());if(e("#cht-form #Facebook_Messenger").val(t),!/(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t)&&!/(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t))return e("#custom-message-popup .chaty-popup-header").text("Facebook page's URL is not valid"),e("#custom-message-popup .chaty-popup-body").text("Please make sure your Facebook page's URL looks like, <br/>https://m.me/YOURPAGE"),e("#custom-message-popup").show(),!1}}else if(o=!0,e("#cht-form #Phone").length&&""!=e("#cht-form #Phone").val()){var t=jQuery.trim(e("#cht-form #Phone").val());if(check_for_number_chaty(t,"Phone"))return e("#custom-message-popup .chaty-popup-header").text("Phone number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the phone number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else{a=!0;if(e("#cht-form #Whatsapp").length&&""!=e("#cht-form #Whatsapp").val()){var t=jQuery.trim(e("#cht-form #Whatsapp").val());if(check_for_number_chaty(t,"Whatsapp"))return e("#custom-message-popup .chaty-popup-header").text("Whatsapp number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the WhatsApp number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}return r()}e(document).ready(function(){jQuery(document).on("click","#update-chaty-traffic-source-rule",function(e){jQuery(".traffic-options-box").addClass("active"),jQuery("#chaty_traffic_source").val("yes")}),jQuery(document).on("click","#remove-traffic-rules",function(e){jQuery(".traffic-options-box").removeClass("active"),jQuery("#chaty_traffic_source").val("no")}),jQuery(document).on("click",".remove-traffic-option",function(e){jQuery(this).closest(".custom-traffic-rule").remove()}),e(document).on("click",".chaty-switch-toggle",function(){setTimeout(function(){e(".chaty-field-setting").each(function(){e(this).is(":checked")?e(this).closest(".field-setting-col").find(".field-settings").addClass("active"):e(this).closest(".field-setting-col").find(".field-settings").removeClass("active")})},100)}),e(document).on("change",".chaty-close_form_after-setting",function(){setTimeout(function(){e(".chaty-close_form_after-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".close_form_after-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".close_form_after-settings").removeClass("active")})},100)}),e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").length&&e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").each(function(){var t=e(this).closest("li.chaty-channel").data("id");null!=t&&e("#channel_input_"+t).length&&(cht_settings.channel_settings[t]=document.querySelector("#channel_input_"+t),window.intlTelInput(cht_settings.channel_settings[t],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}),e(document).on("change",".chaty-redirect-setting",function(){setTimeout(function(){e(".chaty-redirect-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".redirect_action-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".redirect_action-settings").removeClass("active")})},100)}),e(document).on("click",".email-setting",function(){setTimeout(function(){e(".email-setting-field").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".email-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".email-settings").removeClass("active")})},100)}),e(document).on("click",".chaty-embedded-window",function(){setTimeout(function(){e(".embedded_window-checkbox").each(function(){e(this).is(":checked")?e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").addClass("active"):e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").removeClass("active")})},300)}),jQuery("input[name='switchPreview']:checked").trigger("change"),e(document).on("change","#cht-form input",function(){a=!1,o=!1,c=!1,i=!1,n=!1,s=!1}),e("#cht-form").on("submit",function(){if(t)return!0;set_social_channel_order();var a=0;return e("#chaty-page-options .cht-required").length&&e("#chaty-page-options .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),e(".chaty-data-and-time-rules .cht-required").length&&e(".chaty-data-and-time-rules .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),0==a?h():(e(".cht-input-error:first").focus(),!1)}),e(".close-chaty-popup-btn").on("click",function(t){t.stopPropagation(),e(".chaty-popup").hide(),e(this).hasClass("channel-setting-btn")?e("body, html").animate({scrollTop:e("#channel-list").offset().top-125},250):e(this).hasClass("select-trigger-btn")?e("body, html").animate({scrollTop:e("#trigger-setting").offset().top-50},250):e(this).hasClass("change-status-btn")&&e("body, html").animate({scrollTop:e("#launch-section").offset().top-100},250)}),e(".chaty-popup-inner").on("click",function(e){e.stopPropagation()}),e(".chaty-popup-outer").on("click",function(t){e(".chaty-popup").hide()}),e(".check-for-numbers").on("click",function(){h()}),e(".check-for-device").on("click",function(){r()}),e(".check-for-triggers").on("click",function(){l()}),e(".check-for-status").on("click",function(){u()}),e(".change-status-and-save").on("click",function(){e(".cht_active").prop("checked",!0),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(".status-and-save").on("click",function(){e(".cht_active").prop("checked",!1),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(document).on("click",".preview-section-chaty",function(e){e.stopPropagation()}),e(document).on("click",".preview-section-overlay",function(){e(".preview-help-btn").removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")}),e(document).on("click",".preview-help-btn",function(t){return t.preventDefault(),e(this).hasClass("active")?(e(this).removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")):(e(this).addClass("active"),e(".preview-section-chaty").addClass("active"),e(".preview-section-overlay").addClass("active")),!1}),jQuery(document).on("click","#create-date-rule",function(e){jQuery("#date-schedule").addClass("active"),jQuery("#cht_date_rules").val("yes")}),jQuery(document).on("click","#remove-date-rule",function(e){jQuery("#date-schedule").removeClass("active"),jQuery("#cht_date_rules").val("no")})})}),function(e){jQuery(window).on("popstate",function(e){window.onbeforeunload=null,window.history&&window.history.pushState&&window.history.back()}),jQuery(document).ready(function(){jQuery(".chaty-table").length||jQuery("body input, body .icon, body textarea, body .btn-cancel:not(.close-btn-set) ").on("click",function(e){window.onbeforeunload=function(e){(e=e||window.event).preventDefault=!0,e.cancelBubble=!0,e.returnValue="Your beautiful goodbye message"}}),jQuery(document).on("submit","form",function(e){window.onbeforeunload=null}),jQuery(document).on("change",".channel-select-input",function(t){var a=e(this).closest("li").attr("data-id");jQuery.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{social:jQuery(this).val(),channel:a,action:"get_chaty_settings"},success:function(t){1==t.status&&("Whatsapp"==t.data.slug?e("#channel_input_"+t.channel).length&&(cht_settings.channel_settings[t.channel]=document.querySelector("#channel_input_"+t.channel),window.intlTelInput(cht_settings.channel_settings[t.channel],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})):e("#chaty-social-"+t.channel+" .channels__input-box").html("<input type='text' class='channels__input' name='cht_social_"+t.channel+"[value]' id='channel_input_"+t.channel+"' />"),jQuery(".custom-icon-"+t.channel+" svg").html(t.data.svg),jQuery("#chaty-social-"+t.channel).attr("data-channel",t.data.slug),jQuery("#chaty-social-"+t.channel).find(".sp-preview-inner").css("background-color",t.data.color),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").val(t.data.color),jQuery("#chaty-social-"+t.channel).find(".channels__input").attr("placeholder",t.data.placeholder),jQuery("#chaty-social-"+t.channel).find(".channel-example").text(t.data.example),jQuery("#chaty-social-"+t.channel).find(".chaty-title").val(t.data.title),jQuery("#chaty-social-"+t.channel).find(".icon").attr("data-title",t.data.title),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").trigger("change"),jQuery(".help-section").html(""),""!=t.data.help_link?jQuery(".help-section").html('<div class="viber-help"><a target="_blank" href="'+t.data.help_link+'">'+t.data.help_title+"</a></div>"):""!=t.data.help_text&&jQuery(".help-section").html('<div class="viber-help"><span class="help-text">'+t.data.help_text+'</span><span class="help-title">'+t.data.help_title+"</span></div>"))}})}),jQuery(document).on("click","#chaty_icons_view",function(e){jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery(this).val())}),jQuery(".upg").on("click",function(e){jQuery(".valid_domain_input").val(jQuery(".valid_domain_input").val().replace(" ","")),/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(jQuery(".valid_domain_input").val())||(e.preventDefault(),jQuery(".valid_domain").fadeIn().css({display:"block"}))}),jQuery(".del_token").on("click",function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"del_token",nonce_code:cht_nonce_ajax.cht_nonce},success:function(e){location.reload()},error:function(e,t,a){}})}),jQuery(document).on("blur","#channels-selected-list > li:not(#chaty-social-close) .channels__input",function(){jQuery(this).hasClass("border-red")&&""!=jQuery(this).val()&&jQuery(this).removeClass("border-red")});var t=1000000003;jQuery(".show_up").on("click",function(){t+=10,jQuery("#upgrade-modal").css({"z-index":t,display:"block","margin-left":"-258px"})}),jQuery(".color-picker-btn, .color-picker-btn-close, .color-picker-custom button").on("click",function(e){e.preventDefault(),jQuery(".color-picker-box").toggle(),jQuery(".color-picker-btn").toggle()}),jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);if(jQuery('.color-picker-custom input[name="cht_custom_color"]').val(""),jQuery(".color-picker-custom .circle").html("?").css({"background-color":"#fff"}),e.prop("checked")){jQuery(".color-picker-radio input").prop("checked",!1),e.prop("checked",!0);var t=e.val(),a=e.prop("title")}else t=jQuery(".color-picker-custom input").val(),a="Custom";""!=t&&-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-btn .circle").css({backgroundColor:t}),jQuery(".color-picker-btn .text").text(a),jQuery("#chaty-social-close ellipse").attr("fill",t)}),jQuery(".color-picker-custom input").on("change",function(){jQuery(".color-picker-radio input").prop("checked",!1);var e=jQuery(this).val();""!=e&&-1==e.indexOf("#")&&(e="#"+e),jQuery(".color-picker-btn .circle").css({backgroundColor:e}),jQuery(".color-picker-btn .text").text("Custom"),jQuery("#chaty-social-close ellipse").attr("fill",e)}),jQuery('[name="cht_position"]').on("change",function(){jQuery("#positionCustom").prop("checked")?jQuery("#positionPro").show():jQuery("#positionPro").hide()}),jQuery(".update_token").on("click",function(t){t.preventDefault();var a=jQuery('input[name="cht_token"]').val();e.ajax({type:"POST",url:ajaxurl,data:{action:"add_token",nonce_code:cht_nonce_ajax.cht_nonce,token:a},beforeSend:function(e){},success:function(e){e?(alert("Your pro plan is activated"),location.reload()):alert("You`ve entered a wrong token")},error:function(e,t,a){}})}),jQuery("textarea[name=cht_cta]").on("keyup",function(e){var t=jQuery(this).val(),a=document.createElement("div");if(a.innerHTML=t,t=a.innerText,jQuery(".tooltiptext span").html(t),0==jQuery(this).val().length)jQuery(".cta").hide(200),jQuery(".tooltiptext span").hide(200);else{jQuery(".cta").show(300),jQuery(".tooltiptext span").show(200);var o=jQuery(".tooltiptext span").html();count=(o.match(/\n/g)||[]).length,count>0?jQuery(".tooltiptext").addClass("has-multiline").removeClass("line-1").removeClass("line-2").removeClass("line-3").addClass("line-"+count):jQuery(".tooltiptext").removeClass("has-multiline")}}),jQuery("textarea[name=cht_cta]").trigger("keyup")})}(jQuery),function(e){jQuery(document).ready(function(){!function(){function e(){var e=jQuery("#positionBottom"),t=jQuery("#positionSide"),a=jQuery(".preview .page .chaty-widget"),o=jQuery('[name="cht_position"]:checked').val();if("right"===o)a.css({right:"7px",left:"auto",bottom:"7px"});else if("left"===o)a.css({left:"7px",right:"auto",bottom:"7px"});else if("custom"===o){if(e.val())var c=e.val()+"px";else c="7px";if(t.val())var i=t.val()+"px";else i="7px";e.on("change",function(){c=jQuery("#positionBottom").val()+"px",a.css({bottom:c})}),t.on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();i=jQuery(this).val()+"px","right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))}),jQuery('[name="positionSide"]').on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();"right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))})}}jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);e.prop("checked")?e.val():jQuery(".color-picker-custom input").val(),u()}),jQuery(".color-picker-custom input").on("change",function(){jQuery(this).val(),u()}),jQuery(document).on("change","#chaty_default_state",function(){u()}),jQuery("#cht_close_button, #trigger_on_time, #chaty_trigger_on_scroll").on("click",function(){u()}),function(){var e=jQuery("#widgetTooltip"),t=jQuery(".preview .page .icon");function a(){jQuery("[name=cht_cta]").length&&(jQuery("[name=cht_cta]").val().length>=1?t.removeClass("no-tooltip"):t.addClass("no-tooltip"))}a(),e.on("change",function(){a()})}(),e(),jQuery('input[name="cht_position"]').on("change",function(){var t=jQuery('[name="cht_position"]:checked').val();"right"===t?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right")):"left"===t&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left")),e()})}(),jQuery(".popover").hide(),o();var t=jQuery(".channels-icons > .icon-sm"),a=jQuery(".social-inputs");function o(){jQuery("section").is("#pro")||(jQuery(".channels-selected__item").length<=1?(jQuery(".channels-selected__item").hide(),jQuery(".popover").hide()):jQuery(".channels-selected__item").length>=2&&jQuery(".channels-selected__item").show())}jQuery("input[name=cht_custom_color]").on("keyup",function(e){var t=jQuery(this).val();(jQuery(".circle").html(""),""!=t)&&(-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-custom .circle").css({"background-color":t}));jQuery(this).val().length<1&&jQuery(".color-picker-custom .circle").html("?")}),t.on("click",function(){0,o();var c=jQuery(this),i=c.data("social");a.find(".social-form-group");if(c.hasClass("active")){var n=","+jQuery(this).attr("data-social");return s=(s=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),void c.toggleClass("active")}if(t.addClass("disabled"),icon=jQuery(this).data("social"),"1"==jQuery(".add_slug").val().indexOf(icon)&&""!=jQuery(".add_slug").val()){var s;n=","+icon;s=(s=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s)}else jQuery(".add_slug").val(jQuery(".add_slug").val()+","+jQuery(this).attr("data-social"));if(!jQuery("section").is("#pro")&&jQuery(".channels-icons > .icon.active").length>=2)return t.removeClass("disabled"),jQuery(".popover").show(),jQuery(".popover .upgrade-link").addClass("active"),void setTimeout(function(){jQuery(".popover .upgrade-link").removeClass("active")},1e3);if(c.toggleClass("active"),jQuery("section").is("#pro"))var r="pro";else r="free";e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"choose_social",social:i,nonce_code:cht_nonce_ajax.cht_nonce,version:r,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(a){var c=jQuery(a),n=c.find(".icon").data("title");c.data("channel");jQuery('.channels-selected div[data-social="'+n+'"]').length||(jQuery("#chaty-social-close").before(c),jQuery("#chaty-social-"+i+" .chaty-whatsapp-setting-textarea").length&&(editorId=jQuery("#chaty-social-"+i+" .chaty-whatsapp-setting-textarea").attr("id"),tinymce.execCommand("mceAddEditor",!0,editorId))),t.removeClass("disabled"),e("#iconWidget").show(),u(),o(),set_social_channel_order(),check_for_chaty_close_button(),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",showInput:!0,cancelText:"Cancel",showAlpha:!0,move:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color(),jQuery("input[name='switchPreview']:checked").trigger("change")},change:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color(),jQuery("input[name='switchPreview']:checked").trigger("change")}}),check_for_chaty_close_button(),"Whatsapp"==i&&e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),jQuery(".custom-channel-Whatsapp").length&&jQuery(".custom-channel-Whatsapp").each(function(){if(!jQuery(this).closest(".iti__flag-container").length){var e=jQuery(this).closest("li.chaty-channel").data("id");jQuery("#channel_input_"+e).length&&(cht_settings.channel_settings[e]=document.querySelector("#channel_input_"+e),window.intlTelInput(cht_settings.channel_settings[e],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}})},error:function(e,t,a){}}),o()}),jQuery("body").on("click",".icon, .btn-cancel:not(.close-btn-set)",function(e){if(!jQuery(this).hasClass("close-btn-set")&&(e.preventDefault(),!jQuery(this).hasClass("icon")||!jQuery(this).hasClass("active"))){if(icon=jQuery(this).data("social"),jQuery(this).hasClass("btn-cancel")){jQuery('.icon.active[data-social^="'+icon+'"]').removeClass("active");var t=","+icon,a=jQuery(".add_slug").val();a=a.replace(t,""),jQuery(".add_slug").val(a)}jQuery("#chaty-social-"+icon).remove();jQuery(this).parent(".channels-selected__item"),jQuery(this).data("social");u(),o(),set_social_channel_order(),check_for_chaty_close_button()}}),jQuery(".btn-help").on("click",function(e){window.open("https://premio.io/help/chaty/","_blank")}),jQuery(".free-custom-radio, .free-custom-checkbox").on("click",function(e){e.preventDefault()});var c=jQuery("[name=cht_cta]"),i=jQuery(".preview .tooltip-show");c.on("keyup",function(){var e=jQuery(".preview .page .icon");c.val().length>=1?e.removeClass("no-tooltip"):e.addClass("no-tooltip"),i.attr("data-title",c.val())});var n,s,r='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',l=document.getElementById("iconWidget");jQuery(".color-picker-radio input:checked").val();function u(){var t,a,o=!1;if(jQuery(".single-channel-setting").addClass("active"),jQuery("#iconWidget").removeClass("img-p-active"),d()?(0===jQuery(".js-chanel-desktop:checked").length?(t=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-desktop:checked").length&&(t=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(t=r,o=!0)):(0===jQuery(".js-chanel-mobile:checked").length?(a=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-mobile:checked").length&&(a=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(a=r,o=!0)),n=t,s=a,d()?h(n,o):h(s,o),e("#iconWidget .pop-number").remove(),jQuery("#cht_pending_messages").is(":checked")){var c=jQuery("#cht_number_of_messages").val();""!=c&&c>0&&(e("#iconWidget").append("<span class='pop-number'>"+c+"</span>"),e("#iconWidget .pop-number").css("color",jQuery("#cht_number_color").val()),e("#iconWidget .pop-number").css("background",jQuery("#cht_number_bg_color").val()))}var i=".js-chanel-mobile";if(d())i=".js-chanel-desktop";"open"==jQuery("#chaty_default_state").val()&&jQuery(i+":checked").length>1&&e("#iconWidget .pop-number").remove(),e("#cta-box span").css("color",e("#cht_cta_text_color").val()),e("#cta-box span").css("background",e("#cht_cta_bg_color").val()),e("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+e("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+e("#cht_cta_bg_color").val()+"}</style>"),jQuery(".single-channel-setting").addClass("active"),1===jQuery("#channel-list .icon.active").length&&(jQuery(".single-channel-setting").removeClass("active"),"open"==jQuery("#chaty_default_state").val()&&jQuery(".hide-show-button").removeClass("active"))}function h(e,t){if(jQuery("#iconWidget").length){if(l.innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();if(""!=a)-1==a.indexOf("#")&&(a="#"+a);jQuery(".preview .page #iconWidget svg circle").css({fill:a}),jQuery(".preview .page .chaty-close-icon ellipse").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}thisVal=jQuery("#chaty_default_state").val(),"open"==thisVal?jQuery(".hide-show-button").addClass("active"):jQuery(".hide-show-button").removeClass("active"),jQuery(".chaty-widget").removeClass("active").removeClass("hover").removeClass("click").removeClass("hide_arrow"),"open"==thisVal?(jQuery(".chaty-widget").addClass("active").addClass("click"),"open"==thisVal&&jQuery(o+":checked").length>1&&jQuery(".chaty-widget").addClass("hide_arrow")):"hover"==thisVal?jQuery(".chaty-widget").addClass("hover"):jQuery(".chaty-widget").addClass("click"),jQuery(".chaty-channels").html("");var o=".js-chanel-mobile";if(d())o=".js-chanel-desktop";"open"==thisVal&&jQuery(o+":checked").length>1?(jQuery("#chaty_attention_effect").val(""),jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!0),jQuery("#chaty_attention_effect option:first-child").text("Doesn't apply for the open state"),"Doesn't apply for the open state"!=jQuery(".test_textarea").val()&&jQuery(".test_textarea").attr("data-value",jQuery(".test_textarea").val()),jQuery(".test_textarea").val("Doesn't apply for the open state"),jQuery("#cht_number_of_messages").attr("disabled",!0),jQuery("#cht_pending_messages").attr("disabled",!0),jQuery(".disable-message").addClass("label-tooltip").addClass("icon"),jQuery("#cht_pending_messages").attr("checked",!1),jQuery(".pending-message-items").removeClass("active"),jQuery(".cta-action-radio input").attr("disabled",!0)):(jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!1),jQuery("#chaty_attention_effect option:first-child").text("None"),jQuery(".test_textarea").attr("placeholder",""),"Doesn't apply for the open state"==jQuery(".test_textarea").val()&&jQuery(".test_textarea").val(jQuery(".test_textarea").attr("data-value")),jQuery("#cht_number_of_messages").attr("disabled",!1),jQuery("#cht_pending_messages").attr("disabled",!1),jQuery(".disable-message").removeClass("label-tooltip").removeClass("icon"),jQuery(".cta-action-radio input").attr("disabled",!1)),jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(o+":checked").length>1?(jQuery(o+":checked").each(function(){var e=jQuery(this).closest("li").find(".icon").html(),t=(e=jQuery(this).closest("li").find(".icon").html(),jQuery(this).closest("li").find(".chaty-title").val()),a=jQuery(this).closest(".channels-selected__item").hasClass("img-active")?"img-active":"";if(""!=t){var o=document.createElement("div");o.innerHTML=t,t="<span class='social-tooltip'>"+(t=o.innerText)+"</span>"}jQuery(".chaty-channels").append("<div class='social-item-box "+a+"'><span class='tooltip-icon'>"+e+"</span>"+t+"</div>")}),"open"==jQuery("#chaty_default_state").val()&&jQuery("#cht_close_button").is(":checked")?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"!=jQuery("#chaty_default_state").val()?(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):"open"==jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow")),jQuery(".chaty-widget").removeClass("has-single"),jQuery(".page-body .chaty-widget").addClass(jQuery("#chaty_icons_view").val())):1==jQuery(o+":checked").length?("open"!=jQuery("#chaty_default_state").val()||jQuery("#cht_close_button").is(":checked")?"open"!=jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")),jQuery(".chaty-widget").addClass("has-single"),jQuery(".chaty-widget").removeClass("hide-arrow")):0==jQuery(o+":checked").length&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow"),jQuery(".chaty-widget").removeClass("has-single")),jQuery(".chaty-channels .remove-icon-img").remove(),jQuery("#trigger_on_time").is(":checked")?jQuery("#chaty_trigger_time").attr("readonly",!1):jQuery("#chaty_trigger_time").attr("readonly",!0),jQuery("#chaty_trigger_on_scroll").is(":checked")?jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!1):jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!0),""==jQuery(".chaty-widget .tooltiptext").text()?jQuery(".chaty-widget .tooltiptext").hide():"open"==jQuery("#chaty_default_state").val()&&jQuery(o+":checked").length>1?jQuery(".chaty-widget .tooltiptext").hide():jQuery(".chaty-widget .tooltiptext").css("display","block")}}function d(){return!!jQuery("#previewDesktop").is(":checked")}jQuery("#testUpload").on("change",function(){this.value.length>0?document.querySelector(".js-upload").disabled=!1:(document.querySelector(".js-upload").disabled=!0,document.getElementById("uploadInput").checked=!1)}),jQuery(document).on("keyup","textarea.test_textarea",function(){u()}),jQuery(".js-switch-preview").on("change",function(){d()?jQuery(this).closest(".preview").removeClass("mobiel-view"):jQuery(this).closest(".preview").addClass("mobiel-view"),u()}),jQuery(document).on("change","input[name='cht_pending_messages']",function(){jQuery("#cht_pending_messages").is(":checked")?jQuery(".pending-message-items").addClass("active"):jQuery(".pending-message-items").removeClass("active"),u()}),jQuery(document).on("change","#cht_number_of_messages",function(){u()}),jQuery(document).on("keyup","#cht_number_of_messages",function(){u()}),jQuery(document).on("blur","#cht_number_of_messages",function(){u()}),jQuery(document).on("change",".js-chanel-icon",function(){u()}),jQuery(document).on("change",".js-widget-i",function(e){r=e.target.classList.contains("js-upload")?jQuery(".file-preview-image").last().parent().html():jQuery("i[data-type="+jQuery(".js-widget-i:checked").val()+"]").html(),u()}),"chat-image"!==jQuery(".js-widget-i:checked").attr("data-type")&&(r=jQuery("i[data-type="+jQuery(".js-widget-i:checked").attr("data-type")+"]").html(),u())}),jQuery(document).ready(function(){jQuery(".toast-message").length&&(jQuery(".toast-message").show(),jQuery(".toast-message").addClass("active"),setTimeout(function(){jQuery(".toast-message").removeClass("active")},5e3)),jQuery(document).on("click",".toast-close-btn a",function(e){e.preventDefault(),jQuery(".toast-message").removeClass("active")}),jQuery(document).on("click",".chaty-popup-box button, #chaty-intro-popup",function(t){t.stopPropagation();var a=jQuery("#chaty_update_popup_status").val();e("#chaty-intro-popup").remove(),e.ajax({type:"POST",url:ajaxurl,data:{action:"update_popup_status",nonce:a},beforeSend:function(e){},success:function(e){},error:function(e,t,a){}})}),jQuery(document).on("click",".chaty-popup-box",function(e){e.stopPropagation()}),jQuery(document).on("click",".remove-chaty-options",function(t){t.preventDefault(),t.stopPropagation(),confirm("Are you sure you want to delete this widget?")&&e.ajax({type:"POST",url:ajaxurl,data:{action:"remove_chaty_widget",nonce_code:cht_nonce_ajax.cht_nonce,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){window.location=e},error:function(e,t,a){}})});window.location.href;window.location.href.indexOf("page=chaty-app&widget=")>-1&&jQuery("#toplevel_page_chaty-app .wp-submenu.wp-submenu-wrap li").each(function(){var e=jQuery(this).find("a").attr("href");void 0!==e&&(jQuery(this).removeClass("current"),window.location.href.indexOf(e)>-1&&e.indexOf("&widget=")>-1&&jQuery(this).addClass("current"))})})}(jQuery),jQuery(window).on("resize",function(){check_for_preview_pos()}),jQuery(window).on("scroll",function(){check_for_preview_pos()}),jQuery(document).ready(function(){check_for_preview_pos()});var totalPageOptions=0,pageOptionContent="",totalDateAndTimeOptions=0,dateAndTimeOptionContent="";jQuery(document).ready(function(){var e=!1;function t(){jQuery(".chaty-whatsapp-setting-textarea").length&&jQuery(".chaty-whatsapp-setting-textarea").each(function(){jQuery("#cht_social_embedded_message_"+jQuery(this).data("id")+"_ifr").length&&tinymce.get(jQuery(this).attr("id")).remove(),tinymce.execCommand("mceAddEditor",!0,jQuery(this).attr("id"))})}(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e=!0),totalPageOptions=parseInt(jQuery(".chaty-page-option").length),pageOptionContent=jQuery(".chaty-page-options-html").html(),jQuery(".chaty-page-options-html").remove(),totalDateAndTimeOptions=parseInt(jQuery(".chaty-date-time-option").length),dateAndTimeOptionContent=jQuery(".chaty-date-and-time-options-html").html(),jQuery(".chaty-date-and-time-options-html").remove(),jQuery("#create-rule").on("click",function(){jQuery(".page-options").toggle()}),jQuery("#create-data-and-time-rule").on("click",function(){jQuery(".chaty-data-and-time-rules").toggle()}),jQuery(document).on("change","#chaty_attention_effect",function(){var e=jQuery(this).attr("data-effect");""!=e&&jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),jQuery("#iconWidget").addClass("chaty-animation-"+jQuery(this).val()).addClass("start-now"),jQuery(this).attr("data-effect",jQuery(this).val())}),setInterval(function(){var e=jQuery("#chaty_attention_effect").attr("data-effect");""!=e?(jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),setTimeout(function(){jQuery("#iconWidget").addClass("chaty-animation-"+jQuery("#chaty_attention_effect").val()).addClass("start-now")},1e3)):jQuery("#chaty_attention_effect").attr("data-effect",jQuery("#chaty_attention_effect").val())},5e3),jQuery(document).on("click",".remove-chaty",function(){jQuery(".page-options").toggle()}),jQuery(document).on("click",".remove-page-option",function(){jQuery(".chaty-data-and-time-rules ").toggle()}),jQuery("#image-upload-content .custom-control-label").on("click",function(e){return e.stopPropagation(),jQuery(this).closest(".custom-control").find("input[type=radio]").attr("checked",!0),jQuery(".js-widget-i").trigger("change"),!1}),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",cancelText:"Cancel",showInput:!0,showAlpha:!0,move:function(e){jQuery(this).val(e.toRgbString()),jQuery("#cta-box span").css("color",jQuery("#cht_cta_text_color").val()),jQuery("#cta-box span").css("background",jQuery("#cht_cta_bg_color").val()),jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery("#cht_cta_bg_color").val()+"}</style>"),chaty_set_bg_color(),jQuery("input[name='switchPreview']:checked").trigger("change")},change:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color(),jQuery("#cta-box span").css("color",jQuery("#cht_cta_text_color").val()),jQuery("#cta-box span").css("background",jQuery("#cht_cta_bg_color").val()),jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery("#cht_cta_bg_color").val()+"}</style>"),jQuery("input[name='switchPreview']:checked").trigger("change")}}),jQuery(".chaty-color-field").on("change",function(){chaty_set_bg_color(),change_custom_preview()}),jQuery(".remove-chaty-img").on("click",function(e){e.stopPropagation()}),e||jQuery("#channels-selected-list").sortable({placeholder:"ui-chaty-state-hl",items:"li:not(#chaty-social-close)",stop:function(){t()},update:function(e,a){set_social_channel_order(),change_custom_preview(),t()}}),jQuery(document).ready(function(){t()}),jQuery(".close-button-img img, .close-button-img .image-upload").on("click",function(){var e=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery(".close-button-img").addClass("active"),jQuery(".close-button-img input").val(imageData.id),jQuery(".close-button-img img").attr("src",imageData.url),change_custom_preview()})}),jQuery(".remove-close-img").on("click",function(){default_image=jQuery("#default_image").val(),jQuery(".close-button-img").removeClass("active"),jQuery(".close-button-img input").val(""),jQuery(".close-button-img img").attr("src",default_image),change_custom_preview()}),jQuery(document).on("click",".chaty-widget.click",function(e){e.preventDefault(),jQuery(".chaty-widget").toggleClass("active")}),jQuery(document).on("change",".url-options.cht-required",function(e){thisVal=jQuery(this).val(),siteURL=jQuery("#chaty_site_url").val(),newURL=siteURL,"page_has_url"==thisVal?newURL=siteURL:"page_contains"==thisVal?newURL=siteURL+"%s%":"page_start_with"==thisVal?newURL=siteURL+"s%":"page_end_with"==thisVal&&(newURL=siteURL+"%s"),jQuery(this).closest(".url-content").find(".chaty-url").text(newURL)}),check_for_chaty_close_button(),chaty_set_bg_color(),change_custom_preview(),jQuery(".chaty-settings.cls-btn a, .close-btn-set").on("click",function(e){e.preventDefault(),jQuery(".cls-btn-settings, .close-btn-set").toggleClass("active")}),0==jQuery("input[name='cht_position']:checked").length&&(jQuery("#right-position").attr("checked",!0),jQuery("input[name='cht_position']:checked").trigger("change")),0==jQuery("input[name='widget_icon']:checked").length&&(jQuery("input[name='widget_icon']:first").attr("checked",!0),jQuery("input[name='widget_icon']:checked").trigger("change")),jQuery(".form-fonts").on("change",function(){var e=jQuery(this).val();jQuery(".chaty-google-font").remove(),""!=e?(jQuery(".form-fonts option:selected").data("group"),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e)):jQuery(".preview-section-chaty #admin-preview .page-body").attr("style","")})}),jQuery(window).on("load",function(){check_for_chaty_close_button(),chaty_set_bg_color(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last"),jQuery(".url-options.cht-required").each(function(){jQuery(this).trigger("change")});var e=jQuery(".form-fonts").val();jQuery(".chaty-google-font").remove(),""!=e&&(jQuery(".form-fonts option:selected").data("group"),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e))});var selectedsocialSlug="";function upload_chaty_image(e){selectedsocialSlug=e;var t=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(e){var a=t.state().get("selection").first();imageData=a.toJSON(),jQuery("#cht_social_image_"+selectedsocialSlug).val(imageData.id),jQuery(".custom-image-"+selectedsocialSlug+" img").attr("src",imageData.url),jQuery("#chaty-social-"+selectedsocialSlug+" .channels-selected__item").addClass("img-active"),change_custom_preview()})}function toggle_chaty_setting(e){if(jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggle(),jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggleClass("active"),"Contact_Us"==e&&jQuery("#Contact_Us-close-btn").length){var t=jQuery("#Contact_Us-close-btn").data("nonce");jQuery("#Contact_Us-close-btn").hasClass("active")||(jQuery("#Contact_Us-close-btn").addClass("active"),jQuery.ajax({type:"POST",url:ajaxurl,data:{nonce:t,action:"update_channel_setting"},success:function(e){}}))}jQuery("#chaty-social-"+e+" .chaty-advance-settings.active").length&&jQuery("body,html").animate({scrollTop:jQuery("#chaty-social-"+e+" .chaty-advance-settings.active").offset().top-50},500),change_custom_preview()}function chaty_set_bg_color(){jQuery(".chaty-color-field:not(.button-color)").each(function(){""!=jQuery(this).val()&&"#ffffff"!=jQuery(this).val()&&("Linkedin"!=jQuery(this).closest("li").data("id")||"Linkedin"==jQuery(this).closest("li").data("id")&&"#ffffff"!=jQuery(this).val())&&(defaultColor=jQuery(this).val(),jQuery(this).closest(".channels-selected__item").find(".color-element").css("fill",defaultColor),jQuery(this).closest(".channels-selected__item").find(".custom-chaty-image").css("background",defaultColor),jQuery(this).closest(".channels-selected__item").find(".facustom-icon").css("background",defaultColor))}),change_custom_preview()}function upload_qr_code(){var e=wp.media({title:"Upload QR Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery("#upload_qr_code_val").val(imageData.id),jQuery("#upload_qr_code img").attr("src",imageData.url),jQuery(".remove-qr-code").addClass("active"),change_custom_preview()})}function remove_qr_code(){jQuery(".remove-qr-code").removeClass("active"),jQuery("#upload_qr_code_val").val(""),default_image=jQuery("#default_image").val(),jQuery("#upload_qr_code img").attr("src",default_image),change_custom_preview()}function remove_chaty_image(e){default_image=jQuery("#default_image").val(),jQuery("#chaty-social-"+e+" .channels-selected__item").removeClass("img-active"),jQuery("#cht_social_image_"+e).val(""),jQuery("#cht_social_image_src_"+e).attr("src",default_image),change_custom_preview()}var baseIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',defaultIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',iconBlock=document.getElementById("iconWidget");function set_social_channel_order(){socialString=[],jQuery("#channels-selected-list li").each(function(){socialString.push(jQuery(this).attr("data-id"))}),socialString=socialString.join(","),jQuery("#cht_numb_slug").val(socialString),check_for_chaty_close_button()}function check_for_chaty_close_button(){jQuery("#channels-selected-list > li:not(.chaty-cls-setting)").length>=2?jQuery("#chaty-social-close").show():jQuery("#chaty-social-close").hide(),change_custom_preview();var e="";jQuery("#channels-selected-list > li").each(function(){"undefined"!=jQuery(this).attr("data-id")&&""!=jQuery(this).attr("data-id")&&(e+=jQuery(this).attr("data-id")+","),e=e.trimRight(",")}),jQuery(".add_slug").val(e)}function change_custom_preview(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),getChtPreviewDesktop()?(0===jQuery(".js-chanel-desktop:checked").length&&(e=!1),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=defaultIcon,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length&&(t=!1),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=defaultIcon,a=!0)),desktopIcon=e,mobileIcon=t,getChtPreviewDesktop()?setChtIcon(desktopIcon,a):setChtIcon(mobileIcon,a),jQuery("#channels-selected-list > li.chaty-channel").length<=1?jQuery(".o-channel, .font-section").removeClass("active"):jQuery(".o-channel, .font-section").addClass("active")}function getChtPreviewDesktop(){return!!jQuery("#previewDesktop").is(":checked")}function setChtIcon(e,t){if(jQuery("iconWidget").length){if((iconBlock=document.getElementById("iconWidget")).innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page #iconWidget svg circle").css({fill:a}),jQuery(".preview .page .chaty-close-icon ellipse").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}jQuery(".js-widget-i:checked").trigger("change")}}
|
1 |
+
function check_for_number_chaty(e,t){return!(""==e||("+"==e[0]&&(e=e.substr(1,e.length)),"Phone"==t&&"*"==e[0]&&(e=e.substr(1,e.length)),!isNaN(e)))}function check_for_preview_pos(){if(jQuery(".chaty-setting-form").length)if(jQuery(window).width()>1179){var e=parseInt(jQuery(".chaty-setting-form").offset().top);jQuery(".btn-save-sticky, .chaty-sticky-buttons").css("top",e+58),jQuery(".preview").css("top",e+18),jQuery(".btn-help").css("top",e+58+145),jQuery("a.remove-chaty-widget-sticky").css("top",e+58+145+119)}else jQuery(".btn-save-sticky, .chaty-sticky-buttons").attr("style",""),jQuery(".preview").attr("style",""),jQuery(".btn-help").attr("style",""),jQuery("a.remove-chaty-widget-sticky").attr("style","");if(jQuery("#scroll-to-item").length&&jQuery("#admin-preview").length&&((e=jQuery("body").hasClass("has-premio-box")?jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-625:jQuery("#scroll-to-item").offset().top-jQuery(window).scrollTop()-485)<0?(e=Math.abs(e),jQuery("#admin-preview").css("margin-top",-1*e+"px")):jQuery("#admin-preview").css("margin-top","0")),jQuery(window).height()<=1180){var t=285;jQuery(window).width()<=600&&(t=310),jQuery(".chaty-sticky-buttons").css("top",jQuery(window).height()/2-t/2+"px")}jQuery(".html-tooltip:not(.no-position)").length&&jQuery(".html-tooltip:not(.no-position)").each(function(){jQuery(this).offset().top-jQuery(window).scrollTop()>540?(jQuery(this).addClass("top").removeClass("side").removeClass("bottom"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):jQuery(window).height()-(jQuery(this).offset().top-jQuery(window).scrollTop())>460?(jQuery(this).addClass("bottom").removeClass("top").removeClass("side"),jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow")):(jQuery(this).addClass("side").removeClass("top").removeClass("bottom"),jQuery(this).find(".tooltip-text").length&&(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").removeClass("hide-arrow"),jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50<0?(jQuery(this).find(".tooltip-text").css("margin-top",Math.abs(jQuery(this).find(".tooltip-text").offset().top-jQuery(window).scrollTop()-50)+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")):(jQuery(this).find(".tooltip-text").attr("style",""),jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height()>0&&(jQuery(this).find(".tooltip-text").css("margin-top",-1*Math.abs(jQuery(this).find(".tooltip-text").offset().top+parseInt(jQuery(this).find(".tooltip-text").outerHeight())-jQuery(window).scrollTop()-jQuery(window).height())-10+"px"),jQuery(this).find(".tooltip-text").addClass("hide-arrow")))))})}jQuery(function(e){"use strict";var t=!1,a=!1,o=!1,c=!1,i=!1,n=!1,s=!1;function r(){if(e(".chaty-popup").hide(),0==e("#cht-form .js-chanel-desktop").length||0==e("#cht-form .js-chanel-mobile").length)return e("#no-device-popup").show(),!1;if(0==e("#cht-form .js-chanel-desktop:checked").length&&0==e("#cht-form .js-chanel-mobile:checked").length)return e("#device-popup").show(),!1;var t=0;return e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").each(function(){""==jQuery.trim(e(this).val())&&t++}),t!=e("#channels-selected-list > li:not(#chaty-social-close)").find(".channels__input").length||e("#chaty-social-Contact_Us").length?l():(e("#no-device-value").show(),!1)}function l(){return e(".chaty-popup").hide(),e("#trigger_on_time").is(":checked")||e("#chaty_trigger_on_exit").is(":checked")||e("#chaty_trigger_on_scroll").is(":checked")?u():(e("#trigger-popup").show(),!1)}function u(){return e(".chaty-popup").hide(),e(".cht_active").is(":checked")?(t=!0,e("#cht-form").trigger("submit"),!0):(e("#status-popup").show(),!1)}function h(){if(a){if(o){if(c){if(i){if(n)s||(s=!0,e("#channels-selected-list .phone-number").length&&e("#channels-selected-list .phone-number").each(function(){if(""!=jQuery.trim(e(this).val())&&jQuery.trim(e(this).val()).length>13)return e("#custom-message-popup .chaty-popup-header").text(e(this).data("label")+" number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the "+e(this).data("label")+" number you're trying to enter isn't valid. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}));else if(n=!0,e("#cht-form #Viber").length&&""!=e("#cht-form #Viber").val()){t=jQuery.trim(e("#cht-form #Viber").val());if(check_for_number_chaty(t,"Viber"))return e("#custom-message-popup .chaty-popup-header").text("Viber number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the Viber number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(i=!0,e("#cht-form #SMS").length&&""!=e("#cht-form #SMS").val()){t=jQuery.trim(e("#cht-form #SMS").val());if(check_for_number_chaty(t,"SMS"))return e("#custom-message-popup .chaty-popup-header").text("SMS number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the SMS number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else if(c=!0,e("#cht-form #Facebook_Messenger").length&&""!=e("#cht-form #Facebook_Messenger").val()){var t=jQuery.trim(e("#Facebook_Messenger").val());if(e("#cht-form #Facebook_Messenger").val(t),!/(?:http:\/\/)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t)&&!/(?:http:\/\/)?m\.me\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/.test(t))return e("#custom-message-popup .chaty-popup-header").text("Facebook page's URL is not valid"),e("#custom-message-popup .chaty-popup-body").text("Please make sure your Facebook page's URL looks like, <br/>https://m.me/YOURPAGE"),e("#custom-message-popup").show(),!1}}else if(o=!0,e("#cht-form #Phone").length&&""!=e("#cht-form #Phone").val()){var t=jQuery.trim(e("#cht-form #Phone").val());if(check_for_number_chaty(t,"Phone"))return e("#custom-message-popup .chaty-popup-header").text("Phone number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the phone number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}else{a=!0;if(e("#cht-form #Whatsapp").length&&""!=e("#cht-form #Whatsapp").val()){var t=jQuery.trim(e("#cht-form #Whatsapp").val());if(check_for_number_chaty(t,"Whatsapp"))return e("#custom-message-popup .chaty-popup-header").text("Whatsapp number is not valid"),e("#custom-message-popup .chaty-popup-body").text("Seems like the WhatsApp number you're trying to enter isn't in the right syntax. Would you like to publish it anyway?"),e("#custom-message-popup").show(),!1}}return r()}e(document).ready(function(){jQuery(document).on("click","#update-chaty-traffic-source-rule",function(e){jQuery(".traffic-options-box").addClass("active"),jQuery("#chaty_traffic_source").val("yes")}),jQuery(document).on("click","#remove-traffic-rules",function(e){jQuery(".traffic-options-box").removeClass("active"),jQuery("#chaty_traffic_source").val("no")}),jQuery(document).on("click",".remove-traffic-option",function(e){jQuery(this).closest(".custom-traffic-rule").remove()}),e(document).on("click",".chaty-switch-toggle",function(){setTimeout(function(){e(".chaty-field-setting").each(function(){e(this).is(":checked")?e(this).closest(".field-setting-col").find(".field-settings").addClass("active"):e(this).closest(".field-setting-col").find(".field-settings").removeClass("active")})},100)}),e(document).on("change",".chaty-close_form_after-setting",function(){setTimeout(function(){e(".chaty-close_form_after-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".close_form_after-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".close_form_after-settings").removeClass("active")})},100)}),e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").length&&e(".custom-channel-Whatsapp:not(#channel_input_Whatsapp)").each(function(){var t=e(this).closest("li.chaty-channel").data("id");null!=t&&e("#channel_input_"+t).length&&(cht_settings.channel_settings[t]=document.querySelector("#channel_input_"+t),window.intlTelInput(cht_settings.channel_settings[t],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}),e(document).on("change",".chaty-redirect-setting",function(){setTimeout(function(){e(".chaty-redirect-setting").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".redirect_action-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".redirect_action-settings").removeClass("active")})},100)}),e(document).on("click",".email-setting",function(){setTimeout(function(){e(".email-setting-field").each(function(){e(this).is(":checked")?e(this).closest(".form-field-setting-col").find(".email-settings").addClass("active"):e(this).closest(".form-field-setting-col").find(".email-settings").removeClass("active")})},100)}),e(document).on("click",".chaty-embedded-window",function(){setTimeout(function(){e(".embedded_window-checkbox").each(function(){e(this).is(":checked")?e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").addClass("active"):e(this).closest("li.chaty-channel").find(".whatsapp-welcome-message").removeClass("active")})},300)}),jQuery("input[name='switchPreview']:checked").trigger("change"),e(document).on("change","#cht-form input",function(){a=!1,o=!1,c=!1,i=!1,n=!1,s=!1}),e("#cht-form").on("submit",function(){if(t)return!0;set_social_channel_order();var a=0;return e("#chaty-page-options .cht-required").length&&e("#chaty-page-options .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),e(".chaty-data-and-time-rules .cht-required").length&&e(".chaty-data-and-time-rules .cht-required").each(function(){""==jQuery.trim(e(this).val())&&(e(this).addClass("cht-input-error"),a++)}),0==a?h():(e(".cht-input-error:first").focus(),!1)}),e(".close-chaty-popup-btn").on("click",function(t){t.stopPropagation(),e(".chaty-popup").hide(),e(this).hasClass("channel-setting-btn")?e("body, html").animate({scrollTop:e("#channel-list").offset().top-125},250):e(this).hasClass("select-trigger-btn")?e("body, html").animate({scrollTop:e("#trigger-setting").offset().top-50},250):e(this).hasClass("change-status-btn")&&e("body, html").animate({scrollTop:e("#launch-section").offset().top-100},250)}),e(".chaty-popup-inner").on("click",function(e){e.stopPropagation()}),e(".chaty-popup-outer").on("click",function(t){e(".chaty-popup").hide()}),e(".check-for-numbers").on("click",function(){h()}),e(".check-for-device").on("click",function(){r()}),e(".check-for-triggers").on("click",function(){l()}),e(".check-for-status").on("click",function(){u()}),e(".change-status-and-save").on("click",function(){e(".cht_active").prop("checked",!0),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(".status-and-save").on("click",function(){e(".cht_active").prop("checked",!1),t=!0,e(".chaty-popup").hide(),e("#cht-form").trigger("submit")}),e(document).on("click",".preview-section-chaty",function(e){e.stopPropagation()}),e(document).on("click",".preview-section-overlay",function(){e(".preview-help-btn").removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")}),e(document).on("click",".preview-help-btn",function(t){return t.preventDefault(),e(this).hasClass("active")?(e(this).removeClass("active"),e(".preview-section-chaty").removeClass("active"),e(".preview-section-overlay").removeClass("active")):(e(this).addClass("active"),e(".preview-section-chaty").addClass("active"),e(".preview-section-overlay").addClass("active")),!1}),jQuery(document).on("click","#create-date-rule",function(e){jQuery("#date-schedule").addClass("active"),jQuery("#cht_date_rules").val("yes")}),jQuery(document).on("click","#remove-date-rule",function(e){jQuery("#date-schedule").removeClass("active"),jQuery("#cht_date_rules").val("no")})})}),function(e){jQuery(window).on("popstate",function(e){window.onbeforeunload=null,window.history&&window.history.pushState&&window.history.back()}),jQuery(document).ready(function(){jQuery(".chaty-table").length||jQuery("body input, body .icon, body textarea, body .btn-cancel:not(.close-btn-set) ").on("click",function(e){window.onbeforeunload=function(e){(e=e||window.event).preventDefault=!0,e.cancelBubble=!0,e.returnValue="Your beautiful goodbye message"}}),jQuery(document).on("submit","form",function(e){window.onbeforeunload=null}),jQuery(document).on("change",".channel-select-input",function(t){var a=e(this).closest("li").attr("data-id");jQuery.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{social:jQuery(this).val(),channel:a,action:"get_chaty_settings"},success:function(t){1==t.status&&("Whatsapp"==t.data.slug?e("#channel_input_"+t.channel).length&&(cht_settings.channel_settings[t.channel]=document.querySelector("#channel_input_"+t.channel),window.intlTelInput(cht_settings.channel_settings[t.channel],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})):e("#chaty-social-"+t.channel+" .channels__input-box").html("<input type='text' class='channels__input' name='cht_social_"+t.channel+"[value]' id='channel_input_"+t.channel+"' />"),jQuery(".custom-icon-"+t.channel+" svg").html(t.data.svg),jQuery("#chaty-social-"+t.channel).attr("data-channel",t.data.slug),jQuery("#chaty-social-"+t.channel).find(".sp-preview-inner").css("background-color",t.data.color),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").val(t.data.color),jQuery("#chaty-social-"+t.channel).find(".channels__input").attr("placeholder",t.data.placeholder),jQuery("#chaty-social-"+t.channel).find(".channel-example").text(t.data.example),jQuery("#chaty-social-"+t.channel).find(".chaty-title").val(t.data.title),jQuery("#chaty-social-"+t.channel).find(".icon").attr("data-title",t.data.title),jQuery("#chaty-social-"+t.channel).find(".chaty-color-field").trigger("change"),jQuery(".help-section").html(""),""!=t.data.help_link?jQuery(".help-section").html('<div class="viber-help"><a target="_blank" href="'+t.data.help_link+'">'+t.data.help_title+"</a></div>"):""!=t.data.help_text&&jQuery(".help-section").html('<div class="viber-help"><span class="help-text">'+t.data.help_text+'</span><span class="help-title">'+t.data.help_title+"</span></div>"))}})}),jQuery(document).on("click","#chaty_icons_view",function(e){jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(".page-body .chaty-widget").addClass(jQuery(this).val())}),jQuery(".upg").on("click",function(e){jQuery(".valid_domain_input").val(jQuery(".valid_domain_input").val().replace(" ","")),/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(jQuery(".valid_domain_input").val())||(e.preventDefault(),jQuery(".valid_domain").fadeIn().css({display:"block"}))}),jQuery(".del_token").on("click",function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"del_token",nonce_code:cht_nonce_ajax.cht_nonce},success:function(e){location.reload()},error:function(e,t,a){}})}),jQuery(document).on("blur","#channels-selected-list > li:not(#chaty-social-close) .channels__input",function(){jQuery(this).hasClass("border-red")&&""!=jQuery(this).val()&&jQuery(this).removeClass("border-red")});var t=1000000003;jQuery(".show_up").on("click",function(){t+=10,jQuery("#upgrade-modal").css({"z-index":t,display:"block","margin-left":"-258px"})}),jQuery(".color-picker-btn, .color-picker-btn-close, .color-picker-custom button").on("click",function(e){e.preventDefault(),jQuery(".color-picker-box").toggle(),jQuery(".color-picker-btn").toggle()}),jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);if(jQuery('.color-picker-custom input[name="cht_custom_color"]').val(""),jQuery(".color-picker-custom .circle").html("?").css({"background-color":"#fff"}),e.prop("checked")){jQuery(".color-picker-radio input").prop("checked",!1),e.prop("checked",!0);var t=e.val(),a=e.prop("title")}else t=jQuery(".color-picker-custom input").val(),a="Custom";""!=t&&-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-btn .circle").css({backgroundColor:t}),jQuery(".color-picker-btn .text").text(a),jQuery("#chaty-social-close ellipse").attr("fill",t)}),jQuery(".color-picker-custom input").on("change",function(){jQuery(".color-picker-radio input").prop("checked",!1);var e=jQuery(this).val();""!=e&&-1==e.indexOf("#")&&(e="#"+e),jQuery(".color-picker-btn .circle").css({backgroundColor:e}),jQuery(".color-picker-btn .text").text("Custom"),jQuery("#chaty-social-close ellipse").attr("fill",e)}),jQuery('[name="cht_position"]').on("change",function(){jQuery("#positionCustom").prop("checked")?jQuery("#positionPro").show():jQuery("#positionPro").hide()}),jQuery(".update_token").on("click",function(t){t.preventDefault();var a=jQuery('input[name="cht_token"]').val();e.ajax({type:"POST",url:ajaxurl,data:{action:"add_token",nonce_code:cht_nonce_ajax.cht_nonce,token:a},beforeSend:function(e){},success:function(e){e?(alert("Your pro plan is activated"),location.reload()):alert("You`ve entered a wrong token")},error:function(e,t,a){}})}),jQuery("textarea[name=cht_cta]").on("keyup",function(e){var t=jQuery(this).val();if(t=t.replace(/[\u00A0-\u9999<>\&]/gim,function(e){return"&#"+e.charCodeAt(0)+";"}),jQuery(".tooltiptext span").html(t),0==jQuery(this).val().length)jQuery(".cta").hide(200),jQuery(".tooltiptext span").hide(200);else{jQuery(".cta").show(300),jQuery(".tooltiptext span").show(200);var a=jQuery(".tooltiptext span").html();count=(a.match(/\n/g)||[]).length,count>0?jQuery(".tooltiptext").addClass("has-multiline").removeClass("line-1").removeClass("line-2").removeClass("line-3").addClass("line-"+count):jQuery(".tooltiptext").removeClass("has-multiline")}}),jQuery("textarea[name=cht_cta]").trigger("keyup")})}(jQuery),function(e){jQuery(document).ready(function(){!function(){function e(){var e=jQuery("#positionBottom"),t=jQuery("#positionSide"),a=jQuery(".preview .page .chaty-widget"),o=jQuery('[name="cht_position"]:checked').val();if("right"===o)a.css({right:"7px",left:"auto",bottom:"7px"});else if("left"===o)a.css({left:"7px",right:"auto",bottom:"7px"});else if("custom"===o){if(e.val())var c=e.val()+"px";else c="7px";if(t.val())var i=t.val()+"px";else i="7px";e.on("change",function(){c=jQuery("#positionBottom").val()+"px",a.css({bottom:c})}),t.on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();i=jQuery(this).val()+"px","right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))}),jQuery('[name="positionSide"]').on("change",function(){var e=jQuery('[name="positionSide"]:checked').val();"right"===e?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),a.css({right:i,left:"auto"})):"left"===e&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),a.css({left:i,right:"auto"}))})}}jQuery(".color-picker-radio input").on("change",function(){var e=jQuery(this);e.prop("checked")?e.val():jQuery(".color-picker-custom input").val(),u()}),jQuery(".color-picker-custom input").on("change",function(){jQuery(this).val(),u()}),jQuery(document).on("change","#chaty_default_state",function(){u()}),jQuery("#cht_close_button, #trigger_on_time, #chaty_trigger_on_scroll").on("click",function(){u()}),function(){var e=jQuery("#widgetTooltip"),t=jQuery(".preview .page .icon");function a(){jQuery("[name=cht_cta]").length&&(jQuery("[name=cht_cta]").val().length>=1?t.removeClass("no-tooltip"):t.addClass("no-tooltip"))}a(),e.on("change",function(){a()})}(),e(),jQuery('input[name="cht_position"]').on("change",function(){var t=jQuery('[name="cht_position"]:checked').val();"right"===t?(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-right")):"left"===t&&(jQuery(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),jQuery(".page-body .chaty-widget ").addClass("chaty-widget-icons-left")),e()})}(),jQuery(".popover").hide(),o();var t=jQuery(".channels-icons > .icon-sm"),a=jQuery(".social-inputs");function o(){jQuery("section").is("#pro")||(jQuery(".channels-selected__item").length<=1?(jQuery(".channels-selected__item").hide(),jQuery(".popover").hide()):jQuery(".channels-selected__item").length>=2&&jQuery(".channels-selected__item").show())}jQuery("input[name=cht_custom_color]").on("keyup",function(e){var t=jQuery(this).val();(jQuery(".circle").html(""),""!=t)&&(-1==t.indexOf("#")&&(t="#"+t),jQuery(".color-picker-custom .circle").css({"background-color":t}));jQuery(this).val().length<1&&jQuery(".color-picker-custom .circle").html("?")}),t.on("click",function(){0,o();var c=jQuery(this),i=c.data("social");a.find(".social-form-group");if(c.hasClass("active")){var n=","+jQuery(this).attr("data-social");return s=(s=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),void c.toggleClass("active")}if(t.addClass("disabled"),icon=jQuery(this).data("social"),"1"==jQuery(".add_slug").val().indexOf(icon)&&""!=jQuery(".add_slug").val()){var s;n=","+icon;s=(s=jQuery(".add_slug").val()).replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s),s=s.replace(n,""),jQuery(".add_slug").val(s)}else jQuery(".add_slug").val(jQuery(".add_slug").val()+","+jQuery(this).attr("data-social"));if(!jQuery("section").is("#pro")&&jQuery(".channels-icons > .icon.active").length>=2)return t.removeClass("disabled"),jQuery(".popover").show(),jQuery(".popover .upgrade-link").addClass("active"),void setTimeout(function(){jQuery(".popover .upgrade-link").removeClass("active")},1e3);if(c.toggleClass("active"),jQuery("section").is("#pro"))var r="pro";else r="free";e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"choose_social",social:i,nonce_code:cht_nonce_ajax.cht_nonce,version:r,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(a){var c=jQuery(a),n=c.find(".icon").data("title");c.data("channel");jQuery('.channels-selected div[data-social="'+n+'"]').length||(jQuery("#chaty-social-close").before(c),jQuery("#chaty-social-"+i+" .chaty-whatsapp-setting-textarea").length&&(editorId=jQuery("#chaty-social-"+i+" .chaty-whatsapp-setting-textarea").attr("id"),tinymce.execCommand("mceAddEditor",!0,editorId))),t.removeClass("disabled"),e("#iconWidget").show(),u(),o(),set_social_channel_order(),check_for_chaty_close_button(),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",showInput:!0,cancelText:"Cancel",showAlpha:!0,move:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color(),jQuery("input[name='switchPreview']:checked").trigger("change")},change:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color(),jQuery("input[name='switchPreview']:checked").trigger("change")}}),check_for_chaty_close_button(),"Whatsapp"==i&&e("#channel_input_Whatsapp").length&&(cht_settings.channel_settings.Whatsapp=document.querySelector("#channel_input_Whatsapp"),window.intlTelInput(cht_settings.channel_settings.Whatsapp,{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"})),jQuery(".custom-channel-Whatsapp").length&&jQuery(".custom-channel-Whatsapp").each(function(){if(!jQuery(this).closest(".iti__flag-container").length){var e=jQuery(this).closest("li.chaty-channel").data("id");jQuery("#channel_input_"+e).length&&(cht_settings.channel_settings[e]=document.querySelector("#channel_input_"+e),window.intlTelInput(cht_settings.channel_settings[e],{dropdownContainer:document.body,formatOnDisplay:!0,hiddenInput:"full_number",initialCountry:"auto",nationalMode:!1,utilsScript:cht_settings.plugin_url+"admin/assets/js/utils.js"}))}})},error:function(e,t,a){}}),o()}),jQuery("body").on("click",".icon, .btn-cancel:not(.close-btn-set)",function(e){if(!jQuery(this).hasClass("close-btn-set")&&(e.preventDefault(),!jQuery(this).hasClass("icon")||!jQuery(this).hasClass("active"))){if(icon=jQuery(this).data("social"),jQuery(this).hasClass("btn-cancel")){jQuery('.icon.active[data-social^="'+icon+'"]').removeClass("active");var t=","+icon,a=jQuery(".add_slug").val();a=a.replace(t,""),jQuery(".add_slug").val(a)}jQuery("#chaty-social-"+icon).remove();jQuery(this).parent(".channels-selected__item"),jQuery(this).data("social");u(),o(),set_social_channel_order(),check_for_chaty_close_button()}}),jQuery(".btn-help").on("click",function(e){window.open("https://premio.io/help/chaty/","_blank")}),jQuery(".free-custom-radio, .free-custom-checkbox").on("click",function(e){e.preventDefault()});var c=jQuery("[name=cht_cta]"),i=jQuery(".preview .tooltip-show");c.on("keyup",function(){var e=jQuery(".preview .page .icon");c.val().length>=1?e.removeClass("no-tooltip"):e.addClass("no-tooltip"),i.attr("data-title",c.val())});var n,s,r='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',l=document.getElementById("iconWidget");jQuery(".color-picker-radio input:checked").val();function u(){var t,a,o=!1;if(jQuery(".single-channel-setting").addClass("active"),jQuery("#iconWidget").removeClass("img-p-active"),d()?(0===jQuery(".js-chanel-desktop:checked").length?(t=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-desktop:checked").length&&(t=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(t=r,o=!0)):(0===jQuery(".js-chanel-mobile:checked").length?(a=!1,jQuery(".page-body .chaty-widget").hide()):jQuery(".page-body .chaty-widget").show(),1===jQuery(".js-chanel-mobile:checked").length&&(a=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(a=r,o=!0)),n=t,s=a,d()?h(n,o):h(s,o),e("#iconWidget .pop-number").remove(),jQuery("#cht_pending_messages").is(":checked")){var c=jQuery("#cht_number_of_messages").val();""!=c&&c>0&&(e("#iconWidget").append("<span class='pop-number'>"+c+"</span>"),e("#iconWidget .pop-number").css("color",jQuery("#cht_number_color").val()),e("#iconWidget .pop-number").css("background",jQuery("#cht_number_bg_color").val()))}var i=".js-chanel-mobile";if(d())i=".js-chanel-desktop";"open"==jQuery("#chaty_default_state").val()&&jQuery(i+":checked").length>1&&e("#iconWidget .pop-number").remove(),e("#cta-box span").css("color",e("#cht_cta_text_color").val()),e("#cta-box span").css("background",e("#cht_cta_bg_color").val()),e("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+e("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+e("#cht_cta_bg_color").val()+"}</style>"),jQuery(".single-channel-setting").addClass("active"),1===jQuery("#channel-list .icon.active").length&&(jQuery(".single-channel-setting").removeClass("active"),"open"==jQuery("#chaty_default_state").val()&&jQuery(".hide-show-button").removeClass("active"))}function h(e,t){if(jQuery("#iconWidget").length){if(l.innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();if(""!=a)-1==a.indexOf("#")&&(a="#"+a);jQuery(".preview .page #iconWidget svg circle").css({fill:a}),jQuery(".preview .page .chaty-close-icon ellipse").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}thisVal=jQuery("#chaty_default_state").val(),"open"==thisVal?jQuery(".hide-show-button").addClass("active"):jQuery(".hide-show-button").removeClass("active"),jQuery(".chaty-widget").removeClass("active").removeClass("hover").removeClass("click").removeClass("hide_arrow"),"open"==thisVal?(jQuery(".chaty-widget").addClass("active").addClass("click"),"open"==thisVal&&jQuery(o+":checked").length>1&&jQuery(".chaty-widget").addClass("hide_arrow")):"hover"==thisVal?jQuery(".chaty-widget").addClass("hover"):jQuery(".chaty-widget").addClass("click"),jQuery(".chaty-channels").html("");var o=".js-chanel-mobile";if(d())o=".js-chanel-desktop";"open"==thisVal&&jQuery(o+":checked").length>1?(jQuery("#chaty_attention_effect").val(""),jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!0),jQuery("#chaty_attention_effect option:first-child").text("Doesn't apply for the open state"),"Doesn't apply for the open state"!=jQuery(".test_textarea").val()&&jQuery(".test_textarea").attr("data-value",jQuery(".test_textarea").val()),jQuery(".test_textarea").val("Doesn't apply for the open state"),jQuery("#cht_number_of_messages").attr("disabled",!0),jQuery("#cht_pending_messages").attr("disabled",!0),jQuery(".disable-message").addClass("label-tooltip").addClass("icon"),jQuery("#cht_pending_messages").attr("checked",!1),jQuery(".pending-message-items").removeClass("active"),jQuery(".cta-action-radio input").attr("disabled",!0)):(jQuery("#chaty_attention_effect, .test_textarea").attr("disabled",!1),jQuery("#chaty_attention_effect option:first-child").text("None"),jQuery(".test_textarea").attr("placeholder",""),"Doesn't apply for the open state"==jQuery(".test_textarea").val()&&jQuery(".test_textarea").val(jQuery(".test_textarea").attr("data-value")),jQuery("#cht_number_of_messages").attr("disabled",!1),jQuery("#cht_pending_messages").attr("disabled",!1),jQuery(".disable-message").removeClass("label-tooltip").removeClass("icon"),jQuery(".cta-action-radio input").attr("disabled",!1)),jQuery(".page-body .chaty-widget").removeClass("vertical").removeClass("horizontal"),jQuery(o+":checked").length>1?jQuery(o+":checked").each(function(){var e=jQuery(this).closest("li").find(".icon").html(),t=(e=jQuery(this).closest("li").find(".icon").html(),jQuery(this).closest("li").find(".chaty-title").val()),a=jQuery(this).closest(".channels-selected__item").hasClass("img-active")?"img-active":"";""!=t&&(t="<span class='social-tooltip'>"+(t=t.replace(/[\u00A0-\u9999<>\&]/gim,function(e){return"&#"+e.charCodeAt(0)+";"}))+"</span>"),jQuery(".chaty-channels").append("<div class='social-item-box "+a+"'><span class='tooltip-icon'>"+e+"</span>"+t+"</div>")}):(1==jQuery(o+":checked").length?("open"!=jQuery("#chaty_default_state").val()||jQuery("#cht_close_button").is(":checked")?"open"!=jQuery("#chaty_default_state").val()&&(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")):(jQuery("#iconWidget").css("display","block"),jQuery(".chaty-widget .tooltiptext").css("display","block"),jQuery(".chaty-widget").removeClass("hide-arrow")),jQuery(".chaty-widget").addClass("has-single"),jQuery(".chaty-widget").removeClass("hide-arrow")):0==jQuery(o+":checked").length&&(jQuery("#iconWidget").hide(),jQuery(".chaty-widget .tooltiptext").hide(),jQuery(".chaty-widget").addClass("hide-arrow"),jQuery(".chaty-widget").removeClass("has-single")),jQuery(".chaty-channels .remove-icon-img").remove(),jQuery("#trigger_on_time").is(":checked")?jQuery("#chaty_trigger_time").attr("readonly",!1):jQuery("#chaty_trigger_time").attr("readonly",!0),jQuery("#chaty_trigger_on_scroll").is(":checked")?jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!1):jQuery("#chaty_trigger_on_page_scroll").attr("readonly",!0),""==jQuery(".chaty-widget .tooltiptext").text()?jQuery(".chaty-widget .tooltiptext").hide():"open"==jQuery("#chaty_default_state").val()&&jQuery(o+":checked").length>1?jQuery(".chaty-widget .tooltiptext").hide():jQuery(".chaty-widget .tooltiptext").css("display","block"))}}function d(){return!!jQuery("#previewDesktop").is(":checked")}jQuery("#testUpload").on("change",function(){this.value.length>0?document.querySelector(".js-upload").disabled=!1:(document.querySelector(".js-upload").disabled=!0,document.getElementById("uploadInput").checked=!1)}),jQuery(document).on("keyup","textarea.test_textarea",function(){u()}),jQuery(".js-switch-preview").on("change",function(){d()?jQuery(this).closest(".preview").removeClass("mobiel-view"):jQuery(this).closest(".preview").addClass("mobiel-view"),u()}),jQuery(document).on("change","input[name='cht_pending_messages']",function(){jQuery("#cht_pending_messages").is(":checked")?jQuery(".pending-message-items").addClass("active"):jQuery(".pending-message-items").removeClass("active"),u()}),jQuery(document).on("change","#cht_number_of_messages",function(){u()}),jQuery(document).on("keyup","#cht_number_of_messages",function(){u()}),jQuery(document).on("blur","#cht_number_of_messages",function(){u()}),jQuery(document).on("change",".js-chanel-icon",function(){u()}),jQuery(document).on("change",".js-widget-i",function(e){r=e.target.classList.contains("js-upload")?jQuery(".file-preview-image").last().parent().html():jQuery("i[data-type="+jQuery(".js-widget-i:checked").val()+"]").html(),u()}),"chat-image"!==jQuery(".js-widget-i:checked").attr("data-type")&&(r=jQuery("i[data-type="+jQuery(".js-widget-i:checked").attr("data-type")+"]").html(),u())}),jQuery(document).ready(function(){jQuery(".toast-message").length&&(jQuery(".toast-message").show(),jQuery(".toast-message").addClass("active"),setTimeout(function(){jQuery(".toast-message").removeClass("active")},5e3)),jQuery(document).on("click",".toast-close-btn a",function(e){e.preventDefault(),jQuery(".toast-message").removeClass("active")}),jQuery(document).on("click",".chaty-popup-box button, #chaty-intro-popup",function(t){t.stopPropagation();var a=jQuery("#chaty_update_popup_status").val();e("#chaty-intro-popup").remove(),e.ajax({type:"POST",url:ajaxurl,data:{action:"update_popup_status",nonce:a},beforeSend:function(e){},success:function(e){},error:function(e,t,a){}})}),jQuery(document).on("click",".chaty-popup-box",function(e){e.stopPropagation()}),jQuery(document).on("click",".remove-chaty-options",function(t){t.preventDefault(),t.stopPropagation(),confirm("Are you sure you want to delete this widget?")&&e.ajax({type:"POST",url:ajaxurl,data:{action:"remove_chaty_widget",nonce_code:cht_nonce_ajax.cht_nonce,widget_index:jQuery("#widget_index").val()},beforeSend:function(e){},success:function(e){window.location=e},error:function(e,t,a){}})});window.location.href;window.location.href.indexOf("page=chaty-app&widget=")>-1&&jQuery("#toplevel_page_chaty-app .wp-submenu.wp-submenu-wrap li").each(function(){var e=jQuery(this).find("a").attr("href");void 0!==e&&(jQuery(this).removeClass("current"),window.location.href.indexOf(e)>-1&&e.indexOf("&widget=")>-1&&jQuery(this).addClass("current"))})})}(jQuery),jQuery(window).on("resize",function(){check_for_preview_pos()}),jQuery(window).on("scroll",function(){check_for_preview_pos()}),jQuery(document).ready(function(){check_for_preview_pos()});var totalPageOptions=0,pageOptionContent="",totalDateAndTimeOptions=0,dateAndTimeOptionContent="";jQuery(document).ready(function(){var e=!1;function t(){jQuery(".chaty-whatsapp-setting-textarea").length&&jQuery(".chaty-whatsapp-setting-textarea").each(function(){jQuery("#cht_social_embedded_message_"+jQuery(this).data("id")+"_ifr").length&&tinymce.get(jQuery(this).attr("id")).remove(),tinymce.execCommand("mceAddEditor",!0,jQuery(this).attr("id"))})}(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e=!0),totalPageOptions=parseInt(jQuery(".chaty-page-option").length),pageOptionContent=jQuery(".chaty-page-options-html").html(),jQuery(".chaty-page-options-html").remove(),totalDateAndTimeOptions=parseInt(jQuery(".chaty-date-time-option").length),dateAndTimeOptionContent=jQuery(".chaty-date-and-time-options-html").html(),jQuery(".chaty-date-and-time-options-html").remove(),jQuery("#create-rule").on("click",function(){jQuery(".page-options").toggle()}),jQuery("#create-data-and-time-rule").on("click",function(){jQuery(".chaty-data-and-time-rules").toggle()}),jQuery(document).on("change","#chaty_attention_effect",function(){var e=jQuery(this).attr("data-effect");""!=e&&jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),jQuery("#iconWidget").addClass("chaty-animation-"+jQuery(this).val()).addClass("start-now"),jQuery(this).attr("data-effect",jQuery(this).val())}),setInterval(function(){var e=jQuery("#chaty_attention_effect").attr("data-effect");""!=e?(jQuery("#iconWidget").removeClass("chaty-animation-"+e),jQuery("#iconWidget").removeClass("start-now"),setTimeout(function(){jQuery("#iconWidget").addClass("chaty-animation-"+jQuery("#chaty_attention_effect").val()).addClass("start-now")},1e3)):jQuery("#chaty_attention_effect").attr("data-effect",jQuery("#chaty_attention_effect").val())},5e3),jQuery(document).on("click",".remove-chaty",function(){jQuery(".page-options").toggle()}),jQuery(document).on("click",".remove-page-option",function(){jQuery(".chaty-data-and-time-rules ").toggle()}),jQuery("#image-upload-content .custom-control-label").on("click",function(e){return e.stopPropagation(),jQuery(this).closest(".custom-control").find("input[type=radio]").attr("checked",!0),jQuery(".js-widget-i").trigger("change"),!1}),jQuery(".chaty-color-field").spectrum({chooseText:"Submit",preferredFormat:"hex",cancelText:"Cancel",showInput:!0,showAlpha:!0,move:function(e){jQuery(this).val(e.toRgbString()),jQuery("#cta-box span").css("color",jQuery("#cht_cta_text_color").val()),jQuery("#cta-box span").css("background",jQuery("#cht_cta_bg_color").val()),jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery("#cht_cta_bg_color").val()+"}</style>"),chaty_set_bg_color(),jQuery("input[name='switchPreview']:checked").trigger("change")},change:function(e){jQuery(this).val(e.toRgbString()),chaty_set_bg_color(),jQuery("#cta-box span").css("color",jQuery("#cht_cta_text_color").val()),jQuery("#cta-box span").css("background",jQuery("#cht_cta_bg_color").val()),jQuery("#custom-css").html("<style>.preview .page .chaty-widget .icon:before {border-color: transparent "+jQuery("#cht_cta_bg_color").val()+" transparent transparent } .preview .page .chaty-widget[style*='left: auto;'] .icon:before {border-color: transparent transparent transparent "+jQuery("#cht_cta_bg_color").val()+"}</style>"),jQuery("input[name='switchPreview']:checked").trigger("change")}}),jQuery(".chaty-color-field").on("change",function(){chaty_set_bg_color(),change_custom_preview()}),jQuery(".remove-chaty-img").on("click",function(e){e.stopPropagation()}),e||jQuery("#channels-selected-list").sortable({placeholder:"ui-chaty-state-hl",items:"li:not(#chaty-social-close)",stop:function(){t()},update:function(e,a){set_social_channel_order(),change_custom_preview(),t()}}),jQuery(document).ready(function(){t()}),jQuery(".close-button-img img, .close-button-img .image-upload").on("click",function(){var e=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery(".close-button-img").addClass("active"),jQuery(".close-button-img input").val(imageData.id),jQuery(".close-button-img img").attr("src",imageData.url),change_custom_preview()})}),jQuery(".remove-close-img").on("click",function(){default_image=jQuery("#default_image").val(),jQuery(".close-button-img").removeClass("active"),jQuery(".close-button-img input").val(""),jQuery(".close-button-img img").attr("src",default_image),change_custom_preview()}),jQuery(document).on("click",".chaty-widget.click",function(e){e.preventDefault(),jQuery(".chaty-widget").toggleClass("active")}),jQuery(document).on("change",".url-options.cht-required",function(e){thisVal=jQuery(this).val(),siteURL=jQuery("#chaty_site_url").val(),newURL=siteURL,"page_has_url"==thisVal?newURL=siteURL:"page_contains"==thisVal?newURL=siteURL+"%s%":"page_start_with"==thisVal?newURL=siteURL+"s%":"page_end_with"==thisVal&&(newURL=siteURL+"%s"),jQuery(this).closest(".url-content").find(".chaty-url").text(newURL)}),check_for_chaty_close_button(),chaty_set_bg_color(),change_custom_preview(),jQuery(".chaty-settings.cls-btn a, .close-btn-set").on("click",function(e){e.preventDefault(),jQuery(".cls-btn-settings, .close-btn-set").toggleClass("active")}),0==jQuery("input[name='cht_position']:checked").length&&(jQuery("#right-position").attr("checked",!0),jQuery("input[name='cht_position']:checked").trigger("change")),0==jQuery("input[name='widget_icon']:checked").length&&(jQuery("input[name='widget_icon']:first").attr("checked",!0),jQuery("input[name='widget_icon']:checked").trigger("change")),jQuery(".form-fonts").on("change",function(){var e=jQuery(this).val();jQuery(".chaty-google-font").remove(),""!=e?(jQuery(".form-fonts option:selected").data("group"),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e)):jQuery(".preview-section-chaty #admin-preview .page-body").attr("style","")})}),jQuery(window).on("load",function(){check_for_chaty_close_button(),chaty_set_bg_color(),jQuery(".chaty-page-options .chaty-page-option").removeClass("last"),jQuery(".chaty-page-options .chaty-page-option:last").addClass("last"),jQuery(".url-options.cht-required").each(function(){jQuery(this).trigger("change")});var e=jQuery(".form-fonts").val();jQuery(".chaty-google-font").remove(),""!=e&&(jQuery(".form-fonts option:selected").data("group"),jQuery(".preview-section-chaty #admin-preview .page-body").css("font-family",e))});var selectedsocialSlug="";function upload_chaty_image(e){selectedsocialSlug=e;var t=wp.media({title:"Upload Image",multiple:!1,library:{type:"image"}}).open().on("select",function(e){var a=t.state().get("selection").first();imageData=a.toJSON(),jQuery("#cht_social_image_"+selectedsocialSlug).val(imageData.id),jQuery(".custom-image-"+selectedsocialSlug+" img").attr("src",imageData.url),jQuery("#chaty-social-"+selectedsocialSlug+" .channels-selected__item").addClass("img-active"),change_custom_preview()})}function toggle_chaty_setting(e){if(jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggle(),jQuery("#chaty-social-"+e).find(".chaty-advance-settings").toggleClass("active"),"Contact_Us"==e&&jQuery("#Contact_Us-close-btn").length){var t=jQuery("#Contact_Us-close-btn").data("nonce");jQuery("#Contact_Us-close-btn").hasClass("active")||(jQuery("#Contact_Us-close-btn").addClass("active"),jQuery.ajax({type:"POST",url:ajaxurl,data:{nonce:t,action:"update_channel_setting"},success:function(e){}}))}jQuery("#chaty-social-"+e+" .chaty-advance-settings.active").length&&jQuery("body,html").animate({scrollTop:jQuery("#chaty-social-"+e+" .chaty-advance-settings.active").offset().top-50},500),change_custom_preview()}function chaty_set_bg_color(){jQuery(".chaty-color-field:not(.button-color)").each(function(){""!=jQuery(this).val()&&"#ffffff"!=jQuery(this).val()&&("Linkedin"!=jQuery(this).closest("li").data("id")||"Linkedin"==jQuery(this).closest("li").data("id")&&"#ffffff"!=jQuery(this).val())&&(defaultColor=jQuery(this).val(),jQuery(this).closest(".channels-selected__item").find(".color-element").css("fill",defaultColor),jQuery(this).closest(".channels-selected__item").find(".custom-chaty-image").css("background",defaultColor),jQuery(this).closest(".channels-selected__item").find(".facustom-icon").css("background",defaultColor))}),change_custom_preview()}function upload_qr_code(){var e=wp.media({title:"Upload QR Image",multiple:!1,library:{type:"image"}}).open().on("select",function(t){var a=e.state().get("selection").first();imageData=a.toJSON(),jQuery("#upload_qr_code_val").val(imageData.id),jQuery("#upload_qr_code img").attr("src",imageData.url),jQuery(".remove-qr-code").addClass("active"),change_custom_preview()})}function remove_qr_code(){jQuery(".remove-qr-code").removeClass("active"),jQuery("#upload_qr_code_val").val(""),default_image=jQuery("#default_image").val(),jQuery("#upload_qr_code img").attr("src",default_image),change_custom_preview()}function remove_chaty_image(e){default_image=jQuery("#default_image").val(),jQuery("#chaty-social-"+e+" .channels-selected__item").removeClass("img-active"),jQuery("#cht_social_image_"+e).val(""),jQuery("#cht_social_image_src_"+e).attr("src",default_image),change_custom_preview()}var baseIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',defaultIcon='<svg version="1.1" id="ch" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-496 507.7 54 54" style="enable-background:new -496 507.7 54 54;" xml:space="preserve">\n <style type="text/css">.st0 {fill: #A886CD;} .st1 {fill: #FFFFFF;}\n </style><g><circle class="st0" cx="-469" cy="534.7" r="27"/></g><path class="st1" d="M-459.9,523.7h-20.3c-1.9,0-3.4,1.5-3.4,3.4v15.3c0,1.9,1.5,3.4,3.4,3.4h11.4l5.9,4.9c0.2,0.2,0.3,0.2,0.5,0.2 h0.3c0.3-0.2,0.5-0.5,0.5-0.8v-4.2h1.7c1.9,0,3.4-1.5,3.4-3.4v-15.3C-456.5,525.2-458,523.7-459.9,523.7z"/>\n <path class="st0" d="M-477.7,530.5h11.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-11.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,530.8-478.2,530.5-477.7,530.5z"/>\n <path class="st0" d="M-477.7,533.5h7.9c0.5,0,0.8,0.4,0.8,0.8l0,0c0,0.5-0.4,0.8-0.8,0.8h-7.9c-0.5,0-0.8-0.4-0.8-0.8l0,0\n C-478.6,533.9-478.2,533.5-477.7,533.5z"/>\n </svg>',iconBlock=document.getElementById("iconWidget");function set_social_channel_order(){socialString=[],jQuery("#channels-selected-list li").each(function(){socialString.push(jQuery(this).attr("data-id"))}),socialString=socialString.join(","),jQuery("#cht_numb_slug").val(socialString),check_for_chaty_close_button()}function check_for_chaty_close_button(){jQuery("#channels-selected-list > li:not(.chaty-cls-setting)").length>=2?jQuery("#chaty-social-close").show():jQuery("#chaty-social-close").hide(),change_custom_preview();var e="";jQuery("#channels-selected-list > li").each(function(){"undefined"!=jQuery(this).attr("data-id")&&""!=jQuery(this).attr("data-id")&&(e+=jQuery(this).attr("data-id")+","),e=e.trimRight(",")}),jQuery(".add_slug").val(e)}function change_custom_preview(){var e,t,a=!1;jQuery("#iconWidget").removeClass("img-p-active"),getChtPreviewDesktop()?(0===jQuery(".js-chanel-desktop:checked").length&&(e=!1),1===jQuery(".js-chanel-desktop:checked").length&&(e=jQuery(".js-chanel-desktop:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-desktop:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-desktop:checked").length>1&&(e=defaultIcon,a=!0)):(0===jQuery(".js-chanel-mobile:checked").length&&(t=!1),1===jQuery(".js-chanel-mobile:checked").length&&(t=jQuery(".js-chanel-mobile:checked").closest("li").find(".icon.icon-md").html(),jQuery(".js-chanel-mobile:checked").closest(".channels-selected__item").hasClass("img-active")&&jQuery("#iconWidget").addClass("img-p-active")),jQuery(".js-chanel-mobile:checked").length>1&&(t=defaultIcon,a=!0)),desktopIcon=e,mobileIcon=t,getChtPreviewDesktop()?setChtIcon(desktopIcon,a):setChtIcon(mobileIcon,a),jQuery("#channels-selected-list > li.chaty-channel").length<=1?jQuery(".o-channel, .font-section").removeClass("active"):jQuery(".o-channel, .font-section").addClass("active")}function getChtPreviewDesktop(){return!!jQuery("#previewDesktop").is(":checked")}function setChtIcon(e,t){if(jQuery("iconWidget").length){if((iconBlock=document.getElementById("iconWidget")).innerHTML=e||"",t){var a=jQuery(".color-picker-custom input").val()?jQuery(".color-picker-custom input").val():jQuery(".color-picker-radio input:checked").val();jQuery(".preview .page #iconWidget svg circle").css({fill:a}),jQuery(".preview .page .chaty-close-icon ellipse").css({fill:a}),jQuery("#chaty-social-close ellipse").attr("fill",a)}jQuery(".js-widget-i:checked").trigger("change")}}
|
admin/assets/js/lottie-player.js
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["lottie-player"]={})}(this,(function(exports){"use strict";function _asyncIterator(t){var e,r,i,s=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,i=Symbol.iterator);s--;){if(r&&null!=(e=t[r]))return e.call(t);if(i&&null!=(e=t[i]))return new AsyncFromSyncIterator(e.call(t));r="@@asyncIterator",i="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return AsyncFromSyncIterator=function(t){this.s=t,this.n=t.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):e(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):e(r.apply(this.s,arguments))}},new AsyncFromSyncIterator(t)}var REACT_ELEMENT_TYPE;function _jsx(t,e,r,i){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var s=t&&t.defaultProps,a=arguments.length-3;if(e||0===a||(e={children:void 0}),1===a)e.children=i;else if(a>1){for(var n=new Array(a),o=0;o<a;o++)n[o]=arguments[o+3];e.children=n}if(e&&s)for(var h in s)void 0===e[h]&&(e[h]=s[h]);else e||(e=s||{});return{$$typeof:REACT_ELEMENT_TYPE,type:t,key:void 0===r?null:""+r,ref:null,props:e,_owner:null}}function ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach((function(e){_defineProperty(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _wrapRegExp(){_wrapRegExp=function(t,e){return new r(t,void 0,e)};var t=RegExp.prototype,e=new WeakMap;function r(t,i,s){var a=new RegExp(t,i);return e.set(a,s||e.get(t)),_setPrototypeOf(a,r.prototype)}function i(t,r){var i=e.get(r);return Object.keys(i).reduce((function(e,r){return e[r]=t[i[r]],e}),Object.create(null))}return _inherits(r,RegExp),r.prototype.exec=function(e){var r=t.exec.call(this,e);return r&&(r.groups=i(r,this)),r},r.prototype[Symbol.replace]=function(r,s){if("string"==typeof s){var a=e.get(this);return t[Symbol.replace].call(this,r,s.replace(/\$<([^>]+)>/g,(function(t,e){return"$"+a[e]})))}if("function"==typeof s){var n=this;return t[Symbol.replace].call(this,r,(function(){var t=arguments;return"object"!=typeof t[t.length-1]&&(t=[].slice.call(t)).push(i(t,n)),s.apply(this,t)}))}return t[Symbol.replace].call(this,r,s)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(t){this.wrapped=t}function _AsyncGenerator(t){var e,r;function i(e,r){try{var a=t[e](r),n=a.value,o=n instanceof _AwaitValue;Promise.resolve(o?n.wrapped:n).then((function(t){o?i("return"===e?"return":"next",t):s(a.done?"return":"normal",t)}),(function(t){i("throw",t)}))}catch(t){s("throw",t)}}function s(t,s){switch(t){case"return":e.resolve({value:s,done:!0});break;case"throw":e.reject(s);break;default:e.resolve({value:s,done:!1})}(e=e.next)?i(e.key,e.arg):r=null}this._invoke=function(t,s){return new Promise((function(a,n){var o={key:t,arg:s,resolve:a,reject:n,next:null};r?r=r.next=o:(e=r=o,i(t,s))}))},"function"!=typeof t.return&&(this.return=void 0)}function _wrapAsyncGenerator(t){return function(){return new _AsyncGenerator(t.apply(this,arguments))}}function _awaitAsyncGenerator(t){return new _AwaitValue(t)}function _asyncGeneratorDelegate(t,e){var r={},i=!1;function s(r,s){return i=!0,s=new Promise((function(e){e(t[r](s))})),{done:!1,value:e(s)}}return r["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},r.next=function(t){return i?(i=!1,t):s("next",t)},"function"==typeof t.throw&&(r.throw=function(t){if(i)throw i=!1,t;return s("throw",t)}),"function"==typeof t.return&&(r.return=function(t){return i?(i=!1,t):s("return",t)}),r}function asyncGeneratorStep(t,e,r,i,s,a,n){try{var o=t[a](n),h=o.value}catch(t){return void r(t)}o.done?e(h):Promise.resolve(h).then(i,s)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise((function(i,s){var a=t.apply(e,r);function n(t){asyncGeneratorStep(a,i,s,n,o,"next",t)}function o(t){asyncGeneratorStep(a,i,s,n,o,"throw",t)}n(void 0)}))}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _createClass(t,e,r){return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function _defineEnumerableProperties(t,e){for(var r in e){(a=e[r]).configurable=a.enumerable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,r,a)}if(Object.getOwnPropertySymbols)for(var i=Object.getOwnPropertySymbols(e),s=0;s<i.length;s++){var a,n=i[s];(a=e[n]).configurable=a.enumerable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,n,a)}return t}function _defaults(t,e){for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var s=r[i],a=Object.getOwnPropertyDescriptor(e,s);a&&a.configurable&&void 0===t[s]&&Object.defineProperty(t,s,a)}return t}function _defineProperty(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _extends(){return _extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},_extends.apply(this,arguments)}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?Object(arguments[e]):{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),i.forEach((function(e){_defineProperty(t,e,r[e])}))}return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,_setPrototypeOf(t,e)}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,e,r){return _construct=_isNativeReflectConstruct()?Reflect.construct:function(t,e,r){var i=[null];i.push.apply(i,e);var s=new(Function.bind.apply(t,i));return r&&_setPrototypeOf(s,r.prototype),s},_construct.apply(null,arguments)}function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(r,t)},_wrapNativeSuper(t)}function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(t){return t?r:e})(t)}function _interopRequireWildcard(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=_getRequireWildcardCache(e);if(r&&r.has(t))return r.get(t);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var n=s?Object.getOwnPropertyDescriptor(t,a):null;n&&(n.get||n.set)?Object.defineProperty(i,a,n):i[a]=t[a]}return i.default=t,r&&r.set(t,i),i}function _newArrowCheck(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure undefined")}function _objectWithoutPropertiesLoose(t,e){if(null==t)return{};var r,i,s={},a=Object.keys(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||(s[r]=t[r]);return s}function _objectWithoutProperties(t,e){if(null==t)return{};var r,i,s=_objectWithoutPropertiesLoose(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(s[r]=t[r])}return s}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var r,i=_getPrototypeOf(t);if(e){var s=_getPrototypeOf(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var i=_superPropBase(t,e);if(i){var s=Object.getOwnPropertyDescriptor(i,e);return s.get?s.get.call(arguments.length<3?t:r):s.value}},_get.apply(this,arguments)}function set(t,e,r,i){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(t,e,r,i){var s,a=_superPropBase(t,e);if(a){if((s=Object.getOwnPropertyDescriptor(a,e)).set)return s.set.call(i,r),!0;if(!s.writable)return!1}if(s=Object.getOwnPropertyDescriptor(i,e)){if(!s.writable)return!1;s.value=r,Object.defineProperty(i,e,s)}else _defineProperty(i,e,r);return!0},set(t,e,r,i)}function _set(t,e,r,i,s){if(!set(t,e,r,i||t)&&s)throw new Error("failed to set property");return r}function _taggedTemplateLiteral(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function _taggedTemplateLiteralLoose(t,e){return e||(e=t.slice(0)),t.raw=e,t}function _readOnlyError(t){throw new TypeError('"'+t+'" is read-only')}function _writeOnlyError(t){throw new TypeError('"'+t+'" is write-only')}function _classNameTDZError(t){throw new Error('Class "'+t+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(t){throw new ReferenceError(t+" is not defined - temporal dead zone")}function _temporalRef(t,e){return t===_temporalUndefined?_tdz(e):t}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _slicedToArrayLoose(t,e){return _arrayWithHoles(t)||_iterableToArrayLimitLoose(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _toArray(t){return _arrayWithHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableRest()}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _maybeArrayLike(t,e,r){if(e&&!Array.isArray(e)&&"number"==typeof e.length){var i=e.length;return _arrayLikeToArray(e,void 0!==r&&r<i?r:i)}return t(e,r)}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _iterableToArrayLimit(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,s,a=[],n=!0,o=!1;try{for(r=r.call(t);!(n=(i=r.next()).done)&&(a.push(i.value),!e||a.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{n||null==r.return||r.return()}finally{if(o)throw s}}return a}}function _iterableToArrayLimitLoose(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var i=[];for(r=r.call(t),_step;!(_step=r.next()).done&&(i.push(_step.value),!e||i.length!==e););return i}}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _createForOfIteratorHelper(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,s=function(){};return{s:s,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,n=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return n=t.done,t},e:function(t){o=!0,a=t},f:function(){try{n||null==r.return||r.return()}finally{if(o)throw a}}}}function _createForOfIteratorHelperLoose(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _skipFirstGeneratorNext(t){return function(){var e=t.apply(this,arguments);return e.next(),e}}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:String(e)}function _initializerWarningHelper(t,e){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(t,e,r,i){r&&Object.defineProperty(t,e,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function _applyDecoratedDescriptor(t,e,r,i,s){var a={};return Object.keys(i).forEach((function(t){a[t]=i[t]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,i){return i(t,e,r)||r}),a),s&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(s):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(t,e,a),a=null),a}_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(t){return this._invoke("next",t)},_AsyncGenerator.prototype.throw=function(t){return this._invoke("throw",t)},_AsyncGenerator.prototype.return=function(t){return this._invoke("return",t)};var id=0;function _classPrivateFieldLooseKey(t){return"__private_"+id+++"_"+t}function _classPrivateFieldLooseBase(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}function _classPrivateFieldGet(t,e){return _classApplyDescriptorGet(t,_classExtractFieldDescriptor(t,e,"get"))}function _classPrivateFieldSet(t,e,r){return _classApplyDescriptorSet(t,_classExtractFieldDescriptor(t,e,"set"),r),r}function _classPrivateFieldDestructureSet(t,e){return _classApplyDescriptorDestructureSet(t,_classExtractFieldDescriptor(t,e,"set"))}function _classExtractFieldDescriptor(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function _classStaticPrivateFieldSpecGet(t,e,r){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"get"),_classApplyDescriptorGet(t,r)}function _classStaticPrivateFieldSpecSet(t,e,r,i){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorSet(t,r,i),i}function _classStaticPrivateMethodGet(t,e,r){return _classCheckPrivateStaticAccess(t,e),r}function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(t,e){return e.get?e.get.call(t):e.value}function _classApplyDescriptorSet(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _classApplyDescriptorDestructureSet(t,e){if(e.set)return"__destrObj"in e||(e.__destrObj={set value(r){e.set.call(t,r)}}),e.__destrObj;if(!e.writable)throw new TypeError("attempted to set read only private field");return e}function _classStaticPrivateFieldDestructureSet(t,e,r){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorDestructureSet(t,r)}function _classCheckPrivateStaticAccess(t,e){if(t!==e)throw new TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}function _decorate(t,e,r,i){var s=_getDecoratorsApi();if(i)for(var a=0;a<i.length;a++)s=i[a](s);var n=e((function(t){s.initializeInstanceElements(t,o.elements)}),r),o=s.decorateClass(_coalesceClassElements(n.d.map(_createElementDescriptor)),t);return s.initializeClassElements(n.F,o.elements),s.runClassFinishers(n.F,o.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(r){e.forEach((function(e){e.kind===r&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var r=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var s=e.placement;if(e.kind===i&&("static"===s||"prototype"===s)){var a="static"===s?t:r;this.defineClassElement(a,e)}}),this)}),this)},defineClassElement:function(t,e){var r=e.descriptor;if("field"===e.kind){var i=e.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,r)},decorateClass:function(t,e){var r=[],i=[],s={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,s)}),this),t.forEach((function(t){if(!_hasDecorators(t))return r.push(t);var e=this.decorateElement(t,s);r.push(e.element),r.push.apply(r,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:r,finishers:i};var a=this.decorateConstructor(r,e);return i.push.apply(i,a.finishers),a.finishers=i,a},addElementPlacement:function(t,e,r){var i=e[t.placement];if(!r&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var r=[],i=[],s=t.decorators,a=s.length-1;a>=0;a--){var n=e[t.placement];n.splice(n.indexOf(t.key),1);var o=this.fromElementDescriptor(t),h=this.toElementFinisherExtras((0,s[a])(o)||o);t=h.element,this.addElementPlacement(t,e),h.finisher&&i.push(h.finisher);var l=h.extras;if(l){for(var p=0;p<l.length;p++)this.addElementPlacement(l[p],e);r.push.apply(r,l)}}return{element:t,finishers:i,extras:r}},decorateConstructor:function(t,e){for(var r=[],i=e.length-1;i>=0;i--){var s=this.fromClassDescriptor(t),a=this.toClassDescriptor((0,e[i])(s)||s);if(void 0!==a.finisher&&r.push(a.finisher),void 0!==a.elements){t=a.elements;for(var n=0;n<t.length-1;n++)for(var o=n+1;o<t.length;o++)if(t[n].key===t[o].key&&t[n].placement===t[o].placement)throw new TypeError("Duplicated element ("+t[n].key+")")}}return{elements:t,finishers:r}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){if(void 0!==t)return _toArray(t).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var r=_toPropertyKey(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var s=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var a={kind:e,key:r,placement:i,descriptor:Object.assign({},s)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(s,"get","The property descriptor of a field descriptor"),this.disallowProperty(s,"set","The property descriptor of a field descriptor"),this.disallowProperty(s,"value","The property descriptor of a field descriptor"),a.initializer=t.initializer),a},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:_optionalCallableProperty(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var r=_optionalCallableProperty(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:r}},runClassFinishers:function(t,e){for(var r=0;r<e.length;r++){var i=(0,e[r])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,r){if(void 0!==t[e])throw new TypeError(r+" can't have a ."+e+" property.")}};return t}function _createElementDescriptor(t){var e,r=_toPropertyKey(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:r,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function _coalesceGetterSetter(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function _coalesceClassElements(t){for(var e=[],r=function(t){return"method"===t.kind&&t.key===a.key&&t.placement===a.placement},i=0;i<t.length;i++){var s,a=t[i];if("method"===a.kind&&(s=e.find(r)))if(_isDataDescriptor(a.descriptor)||_isDataDescriptor(s.descriptor)){if(_hasDecorators(a)||_hasDecorators(s))throw new ReferenceError("Duplicated methods ("+a.key+") can't be decorated.");s.descriptor=a.descriptor}else{if(_hasDecorators(a)){if(_hasDecorators(s))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+a.key+").");s.decorators=a.decorators}_coalesceGetterSetter(a,s)}else e.push(a)}return e}function _hasDecorators(t){return t.decorators&&t.decorators.length}function _isDataDescriptor(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function _optionalCallableProperty(t,e){var r=t[e];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+e+"' to be a function");return r}function _classPrivateMethodGet(t,e,r){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return r}function _checkPrivateRedeclaration(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldInitSpec(t,e,r){_checkPrivateRedeclaration(t,e),e.set(t,r)}function _classPrivateMethodInitSpec(t,e){_checkPrivateRedeclaration(t,e),e.add(t)}function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}
|
2 |
+
/*! *****************************************************************************
|
3 |
+
Copyright (c) Microsoft Corporation.
|
4 |
+
|
5 |
+
Permission to use, copy, modify, and/or distribute this software for any
|
6 |
+
purpose with or without fee is hereby granted.
|
7 |
+
|
8 |
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
9 |
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
10 |
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
11 |
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
12 |
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
13 |
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
14 |
+
PERFORMANCE OF THIS SOFTWARE.
|
15 |
+
***************************************************************************** */var _extendStatics=function(t,e){return _extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},_extendStatics(t,e)};function __extends(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}_extendStatics(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var _assign=function(){return _assign=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var s in e=arguments[r])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t},_assign.apply(this,arguments)};function __rest(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(i=Object.getOwnPropertySymbols(t);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s])&&(r[i[s]]=t[i[s]])}return r}function __decorate(t,e,r,i){var s,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(n=(a<3?s(n):a>3?s(e,r,n):s(e,r))||n);return a>3&&n&&Object.defineProperty(e,r,n),n}function __param(t,e){return function(r,i){e(r,i,t)}}function __metadata(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function __awaiter(t,e,r,i){return new(r||(r=Promise))((function(s,a){function n(t){try{h(i.next(t))}catch(t){a(t)}}function o(t){try{h(i.throw(t))}catch(t){a(t)}}function h(t){var e;t.done?s(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(n,o)}h((i=i.apply(t,e||[])).next())}))}function __generator(t,e){var r,i,s,a,n={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=2&a[0]?i.return:a[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,a[1])).done)return s;switch(i=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return n.label++,{value:a[1],done:!1};case 5:n.label++,i=a[1],a=[0];continue;case 7:a=n.ops.pop(),n.trys.pop();continue;default:if(!(s=n.trys,(s=s.length>0&&s[s.length-1])||6!==a[0]&&2!==a[0])){n=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){n.label=a[1];break}if(6===a[0]&&n.label<s[1]){n.label=s[1],s=a;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(a);break}s[2]&&n.ops.pop(),n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t],i=0}finally{r=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}}var __createBinding=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]};function __exportStar(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||__createBinding(e,t,r)}function __values(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,s,a=r.call(t),n=[];try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)n.push(i.value)}catch(t){s={error:t}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return n}function __spread(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(__read(arguments[e]));return t}function __spreadArrays(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var i=Array(t),s=0;for(e=0;e<r;e++)for(var a=arguments[e],n=0,o=a.length;n<o;n++,s++)i[s]=a[n];return i}function __spreadArray(t,e,r){if(r||2===arguments.length)for(var i,s=0,a=e.length;s<a;s++)!i&&s in e||(i||(i=Array.prototype.slice.call(e,0,s)),i[s]=e[s]);return t.concat(i||Array.prototype.slice.call(e))}function __await(t){return this instanceof __await?(this.v=t,this):new __await(t)}function __asyncGenerator(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,s=r.apply(t,e||[]),a=[];return i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i;function n(t){s[t]&&(i[t]=function(e){return new Promise((function(r,i){a.push([t,e,r,i])>1||o(t,e)}))})}function o(t,e){try{!function(t){t.value instanceof __await?Promise.resolve(t.value.v).then(h,l):p(a[0][2],t)}(s[t](e))}catch(t){p(a[0][3],t)}}function h(t){o("next",t)}function l(t){o("throw",t)}function p(t,e){t(e),a.shift(),a.length&&o(a[0][0],a[0][1])}}function __asyncDelegator(t){var e,r;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,s){e[i]=t[i]?function(e){return(r=!r)?{value:__await(t[i](e)),done:"return"===i}:s?s(e):e}:s}}function __asyncValues(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(e){return new Promise((function(i,s){(function(t,e,r,i){Promise.resolve(i).then((function(e){t({value:e,done:r})}),e)})(i,s,(e=t[r](e)).done,e.value)}))}}}function __makeTemplateObject(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var __setModuleDefault=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function __importStar(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&__createBinding(e,t,r);return __setModuleDefault(e,t),e}function __importDefault(t){return t&&t.__esModule?t:{default:t}}function __classPrivateFieldGet(t,e,r,i){if("a"===r&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?i:"a"===r?i.call(t):i?i.value:e.get(t)}function __classPrivateFieldSet(t,e,r,i,s){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?s.call(t,r):s?s.value=r:e.set(t,r),r
|
16 |
+
/**
|
17 |
+
* @license
|
18 |
+
* Copyright 2019 Google LLC
|
19 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
20 |
+
*/}var t$3=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;class s$3{constructor(t,e){if(this._$cssResult$=!0,e!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){var t=n$5.get(this.cssText);return t$3&&void 0===t&&(n$5.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}var o$5=t=>new s$3("string"==typeof t?t:t+"",e$8),r$3=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];var s=1===t.length?t[0]:r.reduce(((e,r,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[i+1]),t[0]);return new s$3(s,e$8)},i$3=(t,e)=>{t$3?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{var r=document.createElement("style"),i=window.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}))},S$1=t$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{var e="";for(var r of t.cssRules)e+=r.cssText;return o$5(e)})(t):t
|
21 |
+
/**
|
22 |
+
* @license
|
23 |
+
* Copyright 2017 Google LLC
|
24 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
25 |
+
*/,s$2,e$7=window.trustedTypes,r$2=e$7?e$7.emptyScript:"",h$2=window.reactiveElementPolyfillSupport,o$4={toAttribute(t,e){switch(e){case Boolean:t=t?r$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},n$4=(t,e)=>e!==t&&(e==e||t==t),l$3={attribute:!0,type:String,converter:o$4,reflect:!1,hasChanged:n$4},t$2;class a$1 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();var t=[];return this.elementProperties.forEach(((e,r)=>{var i=this._$Eh(r,e);void 0!==i&&(this._$Eu.set(i,r),t.push(i))})),t}static createProperty(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l$3;if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var r="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,r,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(i){var s=this[t];this[e]=i,this.requestUpdate(t,s,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){var e=this.properties,r=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(var i of r)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){var e=[];if(Array.isArray(t)){var r=new Set(t.flat(1/0).reverse());for(var i of r)e.unshift(S$1(i))}else void 0!==t&&e.push(S$1(t));return e}static _$Eh(t,e){var r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,r;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i$3(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ES(t,e){var r,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l$3,a=this.constructor._$Eh(t,s);if(void 0!==a&&!0===s.reflect){var n=(null!==(i=null===(r=s.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==i?i:o$4.toAttribute)(e,s.type);this._$Ei=t,null==n?this.removeAttribute(a):this.setAttribute(a,n),this._$Ei=null}}_$AK(t,e){var r,i,s,a=this.constructor,n=a._$Eu.get(t);if(void 0!==n&&this._$Ei!==n){var o=a.getPropertyOptions(n),h=o.converter,l=null!==(s=null!==(i=null===(r=h)||void 0===r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof h?h:null)&&void 0!==s?s:o$4.fromAttribute;this._$Ei=n,this[n]=l(e,o.type),this._$Ei=null}}requestUpdate(t,e,r){var i=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||n$4)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,r))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$EC())}_$EC(){var t=this;return _asyncToGenerator((function*(){t.isUpdatePending=!0;try{yield t._$Ep}catch(e){Promise.reject(e)}var e=t.scheduleUpdate();return null!=e&&(yield e),!t.isUpdatePending}))()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(this.isUpdatePending){this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);var e=!1,r=this._$AL;try{(e=this.shouldUpdate(r))?(this.willUpdate(r),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(r)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(r)}}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}a$1.finalized=!0,a$1.elementProperties=new Map,a$1.elementStyles=[],a$1.shadowRootOptions={mode:"open"},null==h$2||h$2({ReactiveElement:a$1}),(null!==(s$2=globalThis.reactiveElementVersions)&&void 0!==s$2?s$2:globalThis.reactiveElementVersions=[]).push("1.2.1");var i$2=globalThis.trustedTypes,s$1=i$2?i$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$6="lit$".concat((Math.random()+"").slice(9),"$"),o$3="?"+e$6,n$3="<".concat(o$3,">"),l$2=document,h$1=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l$2.createComment(t)},r$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,u=t=>{var e;return d(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,a=/>/g,f=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,_=/'/g,m=/"/g,g=/^(?:script|style|textarea)$/i,p=t=>function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];return{_$litType$:t,strings:e,values:i}},$=p(1),y=p(2),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),T=new WeakMap,x=(t,e,r)=>{var i,s,a=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:e,n=a._$litPart$;if(void 0===n){var o=null!==(s=null==r?void 0:r.renderBefore)&&void 0!==s?s:null;a._$litPart$=n=new N(e.insertBefore(h$1(),o),o,void 0,null!=r?r:{})}return n._$AI(t),n},A=l$2.createTreeWalker(l$2,129,null,!1),C=(t,e)=>{for(var r,i=t.length-1,s=[],n=2===e?"<svg>":"",o=c,h=0;h<i;h++){for(var l=t[h],p=void 0,d=void 0,u=-1,y=0;y<l.length&&(o.lastIndex=y,null!==(d=o.exec(l)));)y=o.lastIndex,o===c?"!--"===d[1]?o=v:void 0!==d[1]?o=a:void 0!==d[2]?(g.test(d[2])&&(r=RegExp("</"+d[2],"g")),o=f):void 0!==d[3]&&(o=f):o===f?">"===d[0]?(o=null!=r?r:c,u=-1):void 0===d[1]?u=-2:(u=o.lastIndex-d[2].length,p=d[1],o=void 0===d[3]?f:'"'===d[3]?m:_):o===m||o===_?o=f:o===v||o===a?o=c:(o=f,r=void 0);var b=o===f&&t[h+1].startsWith("/>")?" ":"";n+=o===c?l+n$3:u>=0?(s.push(p),l.slice(0,u)+"$lit$"+l.slice(u)+e$6+b):l+e$6+(-2===u?(s.push(void 0),h):b)}var P=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s$1?s$1.createHTML(P):P,s]};class E{constructor(t,e){var r,{strings:i,_$litType$:s}=t;this.parts=[];var a=0,n=0,o=i.length-1,h=this.parts,[l,p]=C(i,s);if(this.el=E.createElement(l,e),A.currentNode=this.el.content,2===s){var c=this.el.content,f=c.firstChild;f.remove(),c.append(...f.childNodes)}for(;null!==(r=A.nextNode())&&h.length<o;){if(1===r.nodeType){if(r.hasAttributes()){var d=[];for(var m of r.getAttributeNames())if(m.endsWith("$lit$")||m.startsWith(e$6)){var u=p[n++];if(d.push(m),void 0!==u){var y=r.getAttribute(u.toLowerCase()+"$lit$").split(e$6),v=/([.?@])?(.*)/.exec(u);h.push({type:1,index:a,name:v[2],strings:y,ctor:"."===v[1]?M:"?"===v[1]?H:"@"===v[1]?I:S})}else h.push({type:6,index:a})}for(var b of d)r.removeAttribute(b)}if(g.test(r.tagName)){var P=r.textContent.split(e$6),_=P.length-1;if(_>0){r.textContent=i$2?i$2.emptyScript:"";for(var x=0;x<_;x++)r.append(P[x],h$1()),A.nextNode(),h.push({type:2,index:++a});r.append(P[_],h$1())}}}else if(8===r.nodeType)if(r.data===o$3)h.push({type:2,index:a});else for(var w=-1;-1!==(w=r.data.indexOf(e$6,w+1));)h.push({type:7,index:a}),w+=e$6.length-1;a++}}static createElement(t,e){var r=l$2.createElement("template");return r.innerHTML=t,r}}function P(t,e){var r,i,s,a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3?arguments[3]:void 0;if(e===b)return e;var h=void 0!==o?null===(r=n._$Cl)||void 0===r?void 0:r[o]:n._$Cu,l=r$1(e)?void 0:e._$litDirective$;return(null==h?void 0:h.constructor)!==l&&(null===(i=null==h?void 0:h._$AO)||void 0===i||i.call(h,!1),void 0===l?h=void 0:(h=new l(t))._$AT(t,n,o),void 0!==o?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=h:n._$Cu=h),void 0!==h&&(e=P(t,h._$AS(t,e.values),h,o)),e}class V{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e,{el:{content:r},parts:i}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:l$2).importNode(r,!0);A.currentNode=s;for(var a=A.nextNode(),n=0,o=0,h=i[0];void 0!==h;){if(n===h.index){var l=void 0;2===h.type?l=new N(a,a.nextSibling,this,t):1===h.type?l=new h.ctor(a,h.name,h.strings,this,t):6===h.type&&(l=new L(a,this,t)),this.v.push(l),h=i[++o]}n!==(null==h?void 0:h.index)&&(a=A.nextNode(),n++)}return s}m(t){var e=0;for(var r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class N{constructor(t,e,r,i){var s;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cg=null===(s=null==i?void 0:i.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){var t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=P(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),r$1(t)?t===w||null==t||""===t?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==b&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):u(t)?this.A(t):this.$(t)}M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._$AB;return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=t:this.S(l$2.createTextNode(t)),this._$AH=t}T(t){var e,{values:r,_$litType$:i}=t,s="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=E.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(r);else{var a=new V(s,this),n=a.p(this.options);a.m(r),this.S(n),this._$AH=a}}_$AC(t){var e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new E(t)),e}A(t){d(this._$AH)||(this._$AH=[],this._$AR());var e,r=this._$AH,i=0;for(var s of t)i===r.length?r.push(e=new N(this.M(h$1()),this.M(h$1()),this,this.options)):e=r[i],e._$AI(s),i++;i<r.length&&(this._$AR(e&&e._$AB.nextSibling,i),r.length=i)}_$AR(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,r=arguments.length>1?arguments[1]:void 0;for(null===(t=this._$AP)||void 0===t||t.call(this,!1,!0,r);e&&e!==this._$AB;){var i=e.nextSibling;e.remove(),e=i}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class S{constructor(t,e,r,i,s){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,s=this.strings,a=!1;if(void 0===s)t=P(this,t,e,0),(a=!r$1(t)||t!==this._$AH&&t!==b)&&(this._$AH=t);else{var n,o,h=t;for(t=s[0],n=0;n<s.length-1;n++)(o=P(this,h[r+n],e,n))===b&&(o=this._$AH[n]),a||(a=!r$1(o)||o!==this._$AH[n]),o===w?t=w:t!==w&&(t+=(null!=o?o:"")+s[n+1]),this._$AH[n]=o}a&&!i&&this.k(t)}k(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends S{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===w?void 0:t}}var k=i$2?i$2.emptyScript:"";class H extends S{constructor(){super(...arguments),this.type=4}k(t){t&&t!==w?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class I extends S{constructor(t,e,r,i,s){super(t,e,r,i,s),this.type=5}_$AI(t){var e;if((t=null!==(e=P(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:w)!==b){var r=this._$AH,i=t===w&&r!==w||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==w&&(r===w||i);i&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}}var R={P:"$lit$",V:e$6,L:o$3,I:1,N:C,R:V,D:u,j:P,H:N,O:S,F:H,B:I,W:M,Z:L},z=window.litHtmlPolyfillSupport,l$1,o$2;null==z||z(E,N),(null!==(t$2=globalThis.litHtmlVersions)&&void 0!==t$2?t$2:globalThis.litHtmlVersions=[]).push("2.1.2");var r=a$1;class s extends a$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e,r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){var e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=x(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return b}}s.finalized=!0,s._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:s});var n$2=globalThis.litElementPolyfillSupport;null==n$2||n$2({LitElement:s});var h={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(null!==(o$2=globalThis.litElementVersions)&&void 0!==o$2?o$2:globalThis.litElementVersions=[]).push("3.1.2");
|
26 |
+
/**
|
27 |
+
* @license
|
28 |
+
* Copyright 2017 Google LLC
|
29 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
30 |
+
*/
|
31 |
+
var n$1=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{var{kind:r,elements:i}=e;return{kind:r,elements:i,finisher(e){window.customElements.define(t,e)}}})(t,e)
|
32 |
+
/**
|
33 |
+
* @license
|
34 |
+
* Copyright 2017 Google LLC
|
35 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
36 |
+
*/,i$1=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?_objectSpread2(_objectSpread2({},e),{},{finisher(r){r.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function e$5(t){return(e,r)=>void 0!==r?((t,e,r)=>{e.constructor.createProperty(r,t)})(t,e,r):i$1(t,e)}
|
37 |
+
/**
|
38 |
+
* @license
|
39 |
+
* Copyright 2017 Google LLC
|
40 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
41 |
+
*/function t$1(t){return e$5(_objectSpread2(_objectSpread2({},t),{},{state:!0}))}
|
42 |
+
/**
|
43 |
+
* @license
|
44 |
+
* Copyright 2017 Google LLC
|
45 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
46 |
+
*/var e$4=(t,e,r)=>{Object.defineProperty(e,r,t)},t=(t,e)=>({kind:"method",placement:"prototype",key:e.key,descriptor:t}),o$1=t=>{var{finisher:e,descriptor:r}=t;return(t,i)=>{var s;if(void 0===i){var a=null!==(s=t.originalKey)&&void 0!==s?s:t.key,n=null!=r?{kind:"method",placement:"prototype",key:a,descriptor:r(t.key)}:_objectSpread2(_objectSpread2({},t),{},{key:a});return null!=e&&(n.finisher=function(t){e(t,a)}),n}var o=t.constructor;void 0!==r&&Object.defineProperty(t,i,r(i)),null==e||e(o,i)}},n;
|
47 |
+
/**
|
48 |
+
* @license
|
49 |
+
* Copyright 2017 Google LLC
|
50 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
51 |
+
*/function e$3(t){return o$1({finisher:(e,r)=>{Object.assign(e.prototype[r],t)}})}
|
52 |
+
/**
|
53 |
+
* @license
|
54 |
+
* Copyright 2017 Google LLC
|
55 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
56 |
+
*/function i(t,e){return o$1({descriptor:r=>{var i={get(){var e,r;return null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(e){var s="symbol"==typeof r?Symbol():"__"+r;i.get=function(){var e,r;return void 0===this[s]&&(this[s]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[s]}}return i}})}
|
57 |
+
/**
|
58 |
+
* @license
|
59 |
+
* Copyright 2017 Google LLC
|
60 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
61 |
+
*/function e$2(t){return o$1({descriptor:e=>({get(){var e,r;return null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==r?r:[]},enumerable:!0,configurable:!0})})}
|
62 |
+
/**
|
63 |
+
* @license
|
64 |
+
* Copyright 2017 Google LLC
|
65 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
66 |
+
*/function e$1(t){return o$1({descriptor:e=>({get(){var e=this;return _asyncToGenerator((function*(){var r;return yield e.updateComplete,null===(r=e.renderRoot)||void 0===r?void 0:r.querySelector(t)}))()},enumerable:!0,configurable:!0})})}
|
67 |
+
/**
|
68 |
+
* @license
|
69 |
+
* Copyright 2021 Google LLC
|
70 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
71 |
+
*/var e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function l(t){var{slot:r,selector:i}=null!=t?t:{};return o$1({descriptor:s=>({get(){var s,a="slot"+(r?"[name=".concat(r,"]"):":not([name])"),n=null===(s=this.renderRoot)||void 0===s?void 0:s.querySelector(a),o=null!=n?e(n,t):[];return i?o.filter((t=>t.matches(i))):o},enumerable:!0,configurable:!0})})}
|
72 |
+
/**
|
73 |
+
* @license
|
74 |
+
* Copyright 2017 Google LLC
|
75 |
+
* SPDX-License-Identifier: BSD-3-Clause
|
76 |
+
*/function o(t,e,r){var i,s=t;return"object"==typeof t?(s=t.slot,i=t):i={flatten:e},r?l({slot:s,flatten:e,selector:r}):o$1({descriptor:t=>({get(){var t,e,r="slot"+(s?"[name=".concat(s,"]"):":not([name])"),a=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(r);return null!==(e=null==a?void 0:a.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getDefaultExportFromNamespaceIfPresent(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getDefaultExportFromNamespaceIfNotNamed(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")&&1===Object.keys(t).length?t.default:t}function getAugmentedNamespace(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})})),e}function commonjsRequire(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lottie$1={exports:{}};(function(module){var root,factory;"undefined"!=typeof navigator&&(root=window||{},factory=function(window){var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,_useWebWorker=!1,subframeEnabled=!0,idPrefix="",expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bmRnd,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"==typeof t&&t.length){var e,r=createSizedArray(t.length),i=t.length;for(e=0;e<i;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){bmRnd=t?Math.round:function(t){return t}}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}roundValues(!1);var createElementID=(_count=0,function(){return idPrefix+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,r){var i,s,a,n,o,h,l,p;switch(h=r*(1-e),l=r*(1-(o=6*t-(n=Math.floor(6*t)))*e),p=r*(1-(1-o)*e),n%6){case 0:i=r,s=p,a=h;break;case 1:i=l,s=r,a=h;break;case 2:i=h,s=r,a=p;break;case 3:i=h,s=l,a=r;break;case 4:i=p,s=h,a=r;break;case 5:i=r,s=h,a=l}return[i,s,a]}function RGBtoHSV(t,e,r){var i,s=Math.max(t,e,r),a=Math.min(t,e,r),n=s-a,o=0===s?0:n/s,h=s/255;switch(s){case a:i=0;break;case t:i=e-r+n*(e<r?6:0),i/=6*n;break;case e:i=r-t+2*n,i/=6*n;break;case r:i=t-e+4*n,i/=6*n}return[i,o,h]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i<r.length;i+=1)r[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,i=this._cbs[t].length;r<i;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var createTypedArray=function(){function t(t,e){var r,i=0,s=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<e;i+=1)s.push(r);return s}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function createNS(t){return document.createElementNS(svgNS,t)}function createTag(t){return document.createElement(t)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums,lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"},Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=Math.round;function s(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var i=t(r),s=e(r);return this._t(i,-s,0,0,s,i,0,0,0,0,1,0,0,0,0,1)}function n(r){if(0===r)return this;var i=t(r),s=e(r);return this._t(1,0,0,0,0,i,-s,0,0,s,i,0,0,0,0,1)}function o(r){if(0===r)return this;var i=t(r),s=e(r);return this._t(i,0,s,0,0,1,0,0,-s,0,i,0,0,0,0,1)}function h(r){if(0===r)return this;var i=t(r),s=e(r);return this._t(i,-s,0,0,s,i,0,0,0,0,1,0,0,0,0,1)}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(r(t),r(e))}function c(i,s){var a=t(s),n=e(s);return this._t(a,n,0,0,-n,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(a,-n,0,0,n,a,0,0,0,0,1,0,0,0,0,1)}function f(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function d(t,e,r,i,s,a,n,o,h,l,p,c,f,d,m,u){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=i,this.props[4]=s,this.props[5]=a,this.props[6]=n,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=c,this.props[12]=f,this.props[13]=d,this.props[14]=m,this.props[15]=u,this}function m(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function u(t,e,r,i,s,a,n,o,h,l,p,c,f,d,m,u){var y=this.props;if(1===t&&0===e&&0===r&&0===i&&0===s&&1===a&&0===n&&0===o&&0===h&&0===l&&1===p&&0===c)return y[12]=y[12]*t+y[15]*f,y[13]=y[13]*a+y[15]*d,y[14]=y[14]*p+y[15]*m,y[15]*=u,this._identityCalculated=!1,this;var g=y[0],v=y[1],b=y[2],P=y[3],_=y[4],E=y[5],S=y[6],x=y[7],A=y[8],w=y[9],C=y[10],k=y[11],T=y[12],D=y[13],M=y[14],F=y[15];return y[0]=g*t+v*s+b*h+P*f,y[1]=g*e+v*a+b*l+P*d,y[2]=g*r+v*n+b*p+P*m,y[3]=g*i+v*o+b*c+P*u,y[4]=_*t+E*s+S*h+x*f,y[5]=_*e+E*a+S*l+x*d,y[6]=_*r+E*n+S*p+x*m,y[7]=_*i+E*o+S*c+x*u,y[8]=A*t+w*s+C*h+k*f,y[9]=A*e+w*a+C*l+k*d,y[10]=A*r+w*n+C*p+k*m,y[11]=A*i+w*o+C*c+k*u,y[12]=T*t+D*s+M*h+F*f,y[13]=T*e+D*a+M*l+F*d,y[14]=T*r+D*n+M*p+F*m,y[15]=T*i+D*o+M*c+F*u,this._identityCalculated=!1,this}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function g(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function v(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function P(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function _(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function E(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function S(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function x(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,i=-this.props[4]/t,s=this.props[0]/t,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,n=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=i,o.props[5]=s,o.props[12]=a,o.props[13]=n,o}function A(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function w(t){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i[e]=A(t[e]);return i}function C(t,e,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=r[0],i[5]=r[1];else{var s=this.props[0],a=this.props[1],n=this.props[4],o=this.props[5],h=this.props[12],l=this.props[13];i[0]=t[0]*s+t[1]*n+h,i[1]=t[0]*a+t[1]*o+l,i[2]=e[0]*s+e[1]*n+h,i[3]=e[0]*a+e[1]*o+l,i[4]=r[0]*s+r[1]*n+h,i[5]=r[0]*a+r[1]*o+l}return i}function k(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function T(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function D(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=i(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function M(t){return t<1e-6&&t>0||t>-1e-6&&t<0?i(1e4*t)/1e4:t}function F(){var t=this.props;return"matrix("+M(t[0])+","+M(t[1])+","+M(t[4])+","+M(t[5])+","+M(t[12])+","+M(t[13])+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=c,this.shear=l,this.scale=f,this.setTransform=d,this.translate=m,this.transform=u,this.applyToPoint=P,this.applyToX=_,this.applyToY=E,this.applyToZ=S,this.applyToPointArray=k,this.applyToTriplePoints=C,this.applyToPointStringified=T,this.toCSS=D,this.to2dCSS=F,this.clone=v,this.cloneFromProps=b,this.equals=g,this.inversePoints=w,this.inversePoint=A,this.getInverseMatrix=x,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(t,e){var r=this,i=256,s=e.pow(i,6),a=e.pow(2,52),n=2*a,o=255;function h(t){var e,r=t.length,s=this,a=0,n=s.i=s.j=0,h=s.S=[];for(r||(t=[r++]);a<i;)h[a]=a++;for(a=0;a<i;a++)h[a]=h[n=o&n+t[a%r]+(e=h[a])],h[n]=e;s.g=function(t){for(var e,r=0,a=s.i,n=s.j,h=s.S;t--;)e=h[a=o&a+1],r=r*i+h[o&(h[a]=h[n=o&n+e])+(h[n]=e)];return s.i=a,s.j=n,r}}function l(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function p(t,e){var r,i=[],s=typeof t;if(e&&"object"==s)for(r in t)try{i.push(p(t[r],e-1))}catch(t){}return i.length?i:"string"==s?t:t+"\0"}function c(t,e){for(var r,i=t+"",s=0;s<i.length;)e[o&s]=o&(r^=19*e[o&s])+i.charCodeAt(s++);return f(e)}function f(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(o,d,m){var u=[],y=c(p((d=!0===d?{entropy:!0}:d||{}).entropy?[o,f(t)]:null===o?function(){try{var e=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(e),f(e)}catch(e){var s=r.navigator,a=s&&s.plugins;return[+new Date,r,a,r.screen,f(t)]}}():o,3),u),g=new h(u),v=function(){for(var t=g.g(6),e=s,r=0;t<a;)t=(t+r)*i,e*=i,r=g.g(1);for(;t>=n;)t/=2,e/=2,r>>>=1;return(t+r)/e};return v.int32=function(){return 0|g.g(4)},v.quick=function(){return g.g(4)/4294967296},v.double=v,c(f(g.S),t),(d.pass||m||function(t,r,i,s){return s&&(s.S&&l(s,g),t.state=function(){return l(g,{})}),i?(e.random=t,r):t})(v,y,"global"in d?d.global:this==e,d.state)},c(e.random(),t)}([],BMMath);var BezierFactory=function(){var t={getBezierEasing:function(t,r,i,s,a){var n=a||("bez_"+t+"_"+r+"_"+i+"_"+s).replace(/\./g,"p");if(e[n])return e[n];var o=new l([t,r,i,s]);return e[n]=o,o}},e={},r=.1,i="function"==typeof Float32Array;function s(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function n(t){return 3*t}function o(t,e,r){return((s(e,r)*t+a(e,r))*t+n(e))*t}function h(t,e,r){return 3*s(e,r)*t*t+2*a(e,r)*t+n(e)}function l(t){this._p=t,this._mSampleValues=i?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return l.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),e===r&&i===s?t:0===t?0:1===t?1:o(this._getTForX(t),r,s)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<11;++i)this._mSampleValues[i]=o(i*r,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,a=0,n=1;10!==n&&s[n]<=t;++n)a+=r;var l=a+(t-s[--n])/(s[n+1]-s[n])*r,p=h(l,e,i);return p>=.001?function(t,e,r,i){for(var s=0;s<4;++s){var a=h(e,r,i);if(0===a)return e;e-=(o(e,r,i)-t)/a}return e}(t,l,e,i):0===p?l:function(t,e,r,i,s){var a,n,h=0;do{(a=o(n=e+(r-e)/2,i,s)-t)>0?r=n:e=n}while(Math.abs(a)>1e-7&&++h<10);return n}(t,a,a+r,e,i)}},t}();function extendPrototype(t,e){var r,i,s=t.length;for(r=0;r<s;r+=1)for(var a in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,a)&&(e.prototype[a]=i[a])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function bezFunction(){var t=Math;function e(t,e,r,i,s,a){var n=t*i+e*s+r*a-s*i-a*t-r*e;return n>-.001&&n<.001}var r=function(t,e,r,i){var s,a,n,o,h,l,p=defaultCurveSegments,c=0,f=[],d=[],m=bezierLengthPool.newElement();for(n=r.length,s=0;s<p;s+=1){for(h=s/(p-1),l=0,a=0;a<n;a+=1)o=bmPow(1-h,3)*t[a]+3*bmPow(1-h,2)*h*r[a]+3*(1-h)*bmPow(h,2)*i[a]+bmPow(h,3)*e[a],f[a]=o,null!==d[a]&&(l+=bmPow(f[a]-d[a],2)),d[a]=f[a];l&&(c+=l=bmSqrt(l)),m.percents[s]=h,m.lengths[s]=c}return m.addedLength=c,m};function i(t){this.segmentLength=0,this.points=new Array(t)}function s(t,e){this.partialLength=t,this.point=e}var a,n=(a={},function(t,r,n,o){var h=(t[0]+"_"+t[1]+"_"+r[0]+"_"+r[1]+"_"+n[0]+"_"+n[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!a[h]){var l,p,c,f,d,m,u,y=defaultCurveSegments,g=0,v=null;2===t.length&&(t[0]!==r[0]||t[1]!==r[1])&&e(t[0],t[1],r[0],r[1],t[0]+n[0],t[1]+n[1])&&e(t[0],t[1],r[0],r[1],r[0]+o[0],r[1]+o[1])&&(y=2);var b=new i(y);for(c=n.length,l=0;l<y;l+=1){for(u=createSizedArray(c),d=l/(y-1),m=0,p=0;p<c;p+=1)f=bmPow(1-d,3)*t[p]+3*bmPow(1-d,2)*d*(t[p]+n[p])+3*(1-d)*bmPow(d,2)*(r[p]+o[p])+bmPow(d,3)*r[p],u[p]=f,null!==v&&(m+=bmPow(u[p]-v[p],2));g+=m=bmSqrt(m),b.points[l]=new s(m,u),v=u}b.segmentLength=g,a[h]=b}return a[h]});function o(t,e){var r=e.percents,i=e.lengths,s=r.length,a=bmFloor((s-1)*t),n=t*e.addedLength,o=0;if(a===s-1||0===a||n===i[a])return r[a];for(var h=i[a]>n?-1:1,l=!0;l;)if(i[a]<=n&&i[a+1]>n?(o=(n-i[a])/(i[a+1]-i[a]),l=!1):a+=h,a<0||a>=s-1){if(a===s-1)return r[a];l=!1}return r[a]+(r[a+1]-r[a])*o}var h=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),s=t.c,a=t.v,n=t.o,o=t.i,h=t._length,l=i.lengths,p=0;for(e=0;e<h-1;e+=1)l[e]=r(a[e],a[e+1],n[e],o[e+1]),p+=l[e].addedLength;return s&&h&&(l[e]=r(a[e],a[0],n[e],o[0]),p+=l[e].addedLength),i.totalLength=p,i},getNewSegment:function(e,r,i,s,a,n,l){a<0?a=0:a>1&&(a=1);var p,c=o(a,l),f=o(n=n>1?1:n,l),d=e.length,m=1-c,u=1-f,y=m*m*m,g=c*m*m*3,v=c*c*m*3,b=c*c*c,P=m*m*u,_=c*m*u+m*c*u+m*m*f,E=c*c*u+m*c*f+c*m*f,S=c*c*f,x=m*u*u,A=c*u*u+m*f*u+m*u*f,w=c*f*u+m*f*f+c*u*f,C=c*f*f,k=u*u*u,T=f*u*u+u*f*u+u*u*f,D=f*f*u+u*f*f+f*u*f,M=f*f*f;for(p=0;p<d;p+=1)h[4*p]=t.round(1e3*(y*e[p]+g*i[p]+v*s[p]+b*r[p]))/1e3,h[4*p+1]=t.round(1e3*(P*e[p]+_*i[p]+E*s[p]+S*r[p]))/1e3,h[4*p+2]=t.round(1e3*(x*e[p]+A*i[p]+w*s[p]+C*r[p]))/1e3,h[4*p+3]=t.round(1e3*(k*e[p]+T*i[p]+D*s[p]+M*r[p]))/1e3;return h},getPointInSegment:function(e,r,i,s,a,n){var h=o(a,n),l=1-h;return[t.round(1e3*(l*l*l*e[0]+(h*l*l+l*h*l+l*l*h)*i[0]+(h*h*l+l*h*h+h*l*h)*s[0]+h*h*h*r[0]))/1e3,t.round(1e3*(l*l*l*e[1]+(h*l*l+l*h*l+l*l*h)*i[1]+(h*h*l+l*h*h+h*l*h)*s[1]+h*h*h*r[1]))/1e3]},buildBezierData:n,pointOnLine2D:e,pointOnLine3D:function(r,i,s,a,n,o,h,l,p){if(0===s&&0===o&&0===p)return e(r,i,a,n,h,l);var c,f=t.sqrt(t.pow(a-r,2)+t.pow(n-i,2)+t.pow(o-s,2)),d=t.sqrt(t.pow(h-r,2)+t.pow(l-i,2)+t.pow(p-s,2)),m=t.sqrt(t.pow(h-a,2)+t.pow(l-n,2)+t.pow(p-o,2));return(c=f>d?f>m?f-d-m:m-d-f:m>d?m-d-f:d-f-m)>-1e-4&&c<1e-4}}}!function(){for(var t=0,e=["ms","moz","webkit","o"],r=0;r<e.length&&!window.requestAnimationFrame;++r)window.requestAnimationFrame=window[e[r]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[r]+"CancelAnimationFrame"]||window[e[r]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var r=(new Date).getTime(),i=Math.max(0,16-(r-t)),s=setTimeout((function(){e(r+i)}),i);return t=r+i,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}();var bez=bezFunction(),dataManager=function(){var t,e,r=1,i=[],s={onmessage:function(){},postMessage:function(e){t({data:e})}},_workerSelf={postMessage:function(t){s.onmessage({data:t})}};function a(){e||(e=function(e){if(window.Worker&&window.Blob&&_useWebWorker){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,s}((function(t){if(_workerSelf.dataManager||(_workerSelf.dataManager=function(){function t(s,a){var n,o,h,l,p,f,d=s.length;for(o=0;o<d;o+=1)if("ks"in(n=s[o])&&!n.completed){if(n.completed=!0,n.tt&&(s[o-1].td=n.tt),n.hasMask){var m=n.masksProperties;for(l=m.length,h=0;h<l;h+=1)if(m[h].pt.k.i)i(m[h].pt.k);else for(f=m[h].pt.k.length,p=0;p<f;p+=1)m[h].pt.k[p].s&&i(m[h].pt.k[p].s[0]),m[h].pt.k[p].e&&i(m[h].pt.k[p].e[0])}0===n.ty?(n.layers=e(n.refId,a),t(n.layers,a)):4===n.ty?r(n.shapes):5===n.ty&&c(n)}}function e(t,e){for(var r=0,i=e.length;r<i;){if(e[r].id===t)return e[r].layers.__used?JSON.parse(JSON.stringify(e[r].layers)):(e[r].layers.__used=!0,e[r].layers);r+=1}return null}function r(t){var e,s,a;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=t[e].ks.k.length,s=0;s<a;s+=1)t[e].ks.k[s].s&&i(t[e].ks.k[s].s[0]),t[e].ks.k[s].e&&i(t[e].ks.k[s].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function i(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function s(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var a,n=function(){var t=[4,4,14];function e(t){var e,r,i,s=t.length;for(e=0;e<s;e+=1)5===t[e].ty&&(i=void 0,i=(r=t[e]).t.d,r.t.d={k:[{s:i,t:0}]})}return function(r){if(s(t,r.v)&&(e(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),o=(a=[4,7,99],function(t){if(t.chars&&!s(a,t.v)){var e,r,n,o,h,l=t.chars.length;for(e=0;e<l;e+=1)if(t.chars[e].data&&t.chars[e].data.shapes)for(n=(h=t.chars[e].data.shapes[0].it).length,r=0;r<n;r+=1)(o=h[r].ks.k).__converted||(i(h[r].ks.k),o.__converted=!0)}}),h=function(){var t=[5,7,15];function e(t){var e,r,i=t.length;for(e=0;e<i;e+=1)5===t[e].ty&&(r=void 0,"number"==typeof(r=t[e].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(s(t,r.v)&&(e(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),l=function(){var t=[4,1,9];function e(t){var r,i,s,a=t.length;for(r=0;r<a;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(s=t[r].c.k.length,i=0;i<s;i+=1)t[r].c.k[i].s&&(t[r].c.k[i].s[0]/=255,t[r].c.k[i].s[1]/=255,t[r].c.k[i].s[2]/=255,t[r].c.k[i].s[3]/=255),t[r].c.k[i].e&&(t[r].c.k[i].e[0]/=255,t[r].c.k[i].e[1]/=255,t[r].c.k[i].e[2]/=255,t[r].c.k[i].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(s(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),p=function(){var t=[4,4,18];function e(t){var r,i,s;for(r=t.length-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(s=t[r].ks.k.length,i=0;i<s;i+=1)t[r].ks.k[i].s&&(t[r].ks.k[i].s[0].c=t[r].closed),t[r].ks.k[i].e&&(t[r].ks.k[i].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,i,s,a,n,o,h=t.length;for(i=0;i<h;i+=1){if((r=t[i]).hasMask){var l=r.masksProperties;for(a=l.length,s=0;s<a;s+=1)if(l[s].pt.k.i)l[s].pt.k.c=l[s].cl;else for(o=l[s].pt.k.length,n=0;n<o;n+=1)l[s].pt.k[n].s&&(l[s].pt.k[n].s[0].c=l[s].cl),l[s].pt.k[n].e&&(l[s].pt.k[n].e[0].c=l[s].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(s(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}();function c(t){0!==t.t.a.length||"m"in t.t.p||(t.singleShape=!0)}var f={completeData:function(e){e.__complete||(l(e),n(e),o(e),h(e),p(e),t(e.layers,e.assets),e.__complete=!0)}};return f.checkColors=l,f.checkChars=o,f.checkPathProperties=h,f.checkShapes=p,f.completeLayers=t,f}()),_workerSelf.assetLoader||(_workerSelf.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"==typeof t.response?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,r,i,s){var a,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)a=t(n),i(a);else try{a=t(n),i(a)}catch(t){s&&s(t)}};try{n.open("GET",e,!0)}catch(t){n.open("GET",r+"/"+e,!0)}n.send()}}}()),"loadAnimation"===t.data.type)_workerSelf.assetLoader.load(t.data.path,t.data.fullPath,(function(e){_workerSelf.dataManager.completeData(e),_workerSelf.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){_workerSelf.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;_workerSelf.dataManager.completeData(e),_workerSelf.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&_workerSelf.assetLoader.load(t.data.path,t.data.fullPath,(function(e){_workerSelf.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){_workerSelf.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,r=e.id,s=i[r];i[r]=null,"success"===e.status?s.onComplete(e.payload):s.onError&&s.onError()})}function n(t,e){var s="processId_"+(r+=1);return i[s]={onComplete:t,onError:e},s}return{loadAnimation:function(t,r,i){a();var s=n(r,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:s})},loadData:function(t,r,i){a();var s=n(r,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:s})},completeAnimation:function(t,r,i){a();var s=n(r,i);e.postMessage({type:"complete",animation:t,id:s})}}}();function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",s=e.length,a=0;a<s;a+=1)switch(e[a].toLowerCase()){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:i,weight:t.fWeight||r}}var FontManager=function(){var t={w:0,size:0,shapes:[]},e=[];e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],i=[65039,8205];function s(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var i=createTag("span");i.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var s=i.offsetWidth;return i.style.fontFamily=function(t){var e,r=t.split(","),i=r.length,s=[];for(e=0;e<i;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&s.push(r[e]);return s.join(",")}(t)+", "+e,{node:i,w:s,parent:r}}function a(t,e){var r=createNS("text");r.style.fontSize="100px";var i=getFontProperties(e);return r.setAttribute("font-family",e.fFamily),r.setAttribute("font-style",i.style),r.setAttribute("font-weight",i.weight),r.textContent="1",e.fClass?(r.style.fontFamily="inherit",r.setAttribute("class",e.fClass)):r.style.fontFamily=e.fFamily,t.appendChild(r),createTag("canvas").getContext("2d").font=e.fWeight+" "+e.fStyle+" 100px "+e.fFamily,r}var n=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};n.isModifier=function(t,e){var i=t.toString(16)+e.toString(16);return-1!==r.indexOf(i)},n.isZeroWidthJoiner=function(t,e){return e?t===i[0]&&e===i[1]:t===i[1]},n.isCombinedCharacter=function(t){return-1!==e.indexOf(t)};var o={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var r,i,s=t.length,a=this.chars.length;for(e=0;e<s;e+=1){for(r=0,i=!1;r<a;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(i=!0),r+=1;i||(this.chars.push(t[e]),a+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);var r,i=t.list,n=i.length,o=n;for(r=0;r<n;r+=1){var h,l,p=!0;if(i[r].loaded=!1,i[r].monoCase=s(i[r].fFamily,"monospace"),i[r].sansCase=s(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin||3===i[r].origin){if((h=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[r].fFamily+'"], style[f-origin="3"][f-family="'+i[r].fFamily+'"]')).length>0&&(p=!1),p){var c=createTag("style");c.setAttribute("f-forigin",i[r].fOrigin),c.setAttribute("f-origin",i[r].origin),c.setAttribute("f-family",i[r].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(c)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(h=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;l<h.length;l+=1)-1!==h[l].href.indexOf(i[r].fPath)&&(p=!1);if(p){var f=createTag("link");f.setAttribute("f-forigin",i[r].fOrigin),f.setAttribute("f-origin",i[r].origin),f.type="text/css",f.rel="stylesheet",f.href=i[r].fPath,document.body.appendChild(f)}}else if("t"===i[r].fOrigin||2===i[r].origin){for(h=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),l=0;l<h.length;l+=1)i[r].fPath===h[l].src&&(p=!1);if(p){var d=createTag("link");d.setAttribute("f-forigin",i[r].fOrigin),d.setAttribute("f-origin",i[r].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",i[r].fPath),e.appendChild(d)}}}else i[r].loaded=!0,o-=1;i[r].helper=a(e,i[r]),i[r].cache={},this.fonts.push(i[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,r,i){for(var s=0,a=this.chars.length;s<a;){if(this.chars[s].ch===e&&this.chars[s].style===r&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,r,i)),t},getFontByName:function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,r){var i=this.getFontByName(e),s=t.charCodeAt(0);if(!i.cache[s+1]){var a=i.helper;if(" "===t){a.textContent="|"+t+"|";var n=a.getComputedTextLength();a.textContent="||";var o=a.getComputedTextLength();i.cache[s+1]=(n-o)/100}else a.textContent=t,i.cache[s+1]=a.getComputedTextLength()/100}return i.cache[s+1]*r},checkLoadedFonts:function(){var t,e,r,i=this.fonts.length,s=i;for(t=0;t<i;t+=1)this.fonts[t].loaded?s-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,r=this.fonts[t].monoCase.w,e.offsetWidth!==r?(s-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,r=this.fonts[t].sansCase.w,e.offsetWidth!==r&&(s-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return n.prototype=o,n}(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,s=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,n,o,h,l,p,c,f,d,m=e.lastIndex,u=m,y=this.keyframes.length-1,g=!0;g;){if(a=this.keyframes[u],n=this.keyframes[u+1],u===y-1&&t>=n.t-s){a.h&&(a=n),m=0;break}if(n.t-s>t){m=u;break}u<y-1?u+=1:(m=0,g=!1)}o=this.keyframesMetadata[u]||{};var v,b,P,_,E,S,x,A,w,C,k=n.t-s,T=a.t-s;if(a.to){o.bezierData||(o.bezierData=bez.buildBezierData(a.s,n.s||a.e,a.to,a.ti));var D=o.bezierData;if(t>=k||t<T){var M=t>=k?D.points.length-1:0;for(l=D.points[M].point.length,h=0;h<l;h+=1)r[h]=D.points[M].point[h]}else{o.__fnct?d=o.__fnct:(d=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,o.__fnct=d),p=d((t-T)/(k-T));var F,I=D.segmentLength*p,R=e.lastFrame<t&&e._lastKeyframeIndex===u?e._lastAddedLength:0;for(f=e.lastFrame<t&&e._lastKeyframeIndex===u?e._lastPoint:0,g=!0,c=D.points.length;g;){if(R+=D.points[f].partialLength,0===I||0===p||f===D.points.length-1){for(l=D.points[f].point.length,h=0;h<l;h+=1)r[h]=D.points[f].point[h];break}if(I>=R&&I<R+D.points[f+1].partialLength){for(F=(I-R)/D.points[f+1].partialLength,l=D.points[f].point.length,h=0;h<l;h+=1)r[h]=D.points[f].point[h]+(D.points[f+1].point[h]-D.points[f].point[h])*F;break}f<c-1?f+=1:g=!1}e._lastPoint=f,e._lastAddedLength=R-D.points[f].partialLength,e._lastKeyframeIndex=u}}else{var V,O,L,B,$;if(y=a.s.length,v=n.s||a.e,this.sh&&1!==a.h)if(t>=k)r[0]=v[0],r[1]=v[1],r[2]=v[2];else if(t<=T)r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2];else{var z=i(a.s),G=i(v);b=r,P=function(t,e,r){var i,s,a,n,o,h=[],l=t[0],p=t[1],c=t[2],f=t[3],d=e[0],m=e[1],u=e[2],y=e[3];return(s=l*d+p*m+c*u+f*y)<0&&(s=-s,d=-d,m=-m,u=-u,y=-y),1-s>1e-6?(i=Math.acos(s),a=Math.sin(i),n=Math.sin((1-r)*i)/a,o=Math.sin(r*i)/a):(n=1-r,o=r),h[0]=n*l+o*d,h[1]=n*p+o*m,h[2]=n*c+o*u,h[3]=n*f+o*y,h}(z,G,(t-T)/(k-T)),_=P[0],E=P[1],S=P[2],x=P[3],A=Math.atan2(2*E*x-2*_*S,1-2*E*E-2*S*S),w=Math.asin(2*_*E+2*S*x),C=Math.atan2(2*_*x-2*E*S,1-2*_*_-2*S*S),b[0]=A/degToRads,b[1]=w/degToRads,b[2]=C/degToRads}else for(u=0;u<y;u+=1)1!==a.h&&(t>=k?p=1:t<T?p=0:(a.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[u]?d=o.__fnct[u]:(V=void 0===a.o.x[u]?a.o.x[0]:a.o.x[u],O=void 0===a.o.y[u]?a.o.y[0]:a.o.y[u],L=void 0===a.i.x[u]?a.i.x[0]:a.i.x[u],B=void 0===a.i.y[u]?a.i.y[0]:a.i.y[u],d=BezierFactory.getBezierEasing(V,O,L,B).get,o.__fnct[u]=d)):o.__fnct?d=o.__fnct:(V=a.o.x,O=a.o.y,L=a.i.x,B=a.i.y,d=BezierFactory.getBezierEasing(V,O,L,B).get,a.keyframeMetadata=d),p=d((t-T)/(k-T)))),v=n.s||a.e,$=1===a.h?a.s[u]:a.s[u]+(v[u]-a.s[u])*p,"multidimensional"===this.propType?r[u]=$:r=$}return e.lastIndex=m,r}function i(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,s=Math.cos(e/2),a=Math.cos(r/2),n=Math.cos(i/2),o=Math.sin(e/2),h=Math.sin(r/2),l=Math.sin(i/2);return[o*h*n+s*a*l,o*a*n+s*h*l,s*h*n-o*a*l,s*a*n-o*h*l]}function s(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(e,this._caching);this.pv=s}return this._caching.lastFrame=e,this.pv}function a(t){var r;if("unidimensional"===this.propType)r=t*this.mult,e(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)r=t[i]*this.mult,e(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function n(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function h(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=n,this.setVValue=a,this.addEffect=o}function l(t,e,r,i){var s;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h=e.k.length;for(this.v=createTypedArray("float32",h),this.pv=createTypedArray("float32",h),this.vel=createTypedArray("float32",h),s=0;s<h;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=n,this.setVValue=a,this.addEffect=o}function p(e,i,h,l){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=h||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=n,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[s.bind(this)],this.addEffect=o}function c(e,i,h,l){var p;this.propType="multidimensional";var c,f,d,m,u=i.k.length;for(p=0;p<u-1;p+=1)i.k[p].to&&i.k[p].s&&i.k[p+1]&&i.k[p+1].s&&(c=i.k[p].s,f=i.k[p+1].s,d=i.k[p].to,m=i.k[p].ti,(2===c.length&&(c[0]!==f[0]||c[1]!==f[1])&&bez.pointOnLine2D(c[0],c[1],f[0],f[1],c[0]+d[0],c[1]+d[1])&&bez.pointOnLine2D(c[0],c[1],f[0],f[1],f[0]+m[0],f[1]+m[1])||3===c.length&&(c[0]!==f[0]||c[1]!==f[1]||c[2]!==f[2])&&bez.pointOnLine3D(c[0],c[1],c[2],f[0],f[1],f[2],c[0]+d[0],c[1]+d[1],c[2]+d[2])&&bez.pointOnLine3D(c[0],c[1],c[2],f[0],f[1],f[2],f[0]+m[0],f[1]+m[1],f[2]+m[2]))&&(i.k[p].to=null,i.k[p].ti=null),c[0]===f[0]&&c[1]===f[1]&&0===d[0]&&0===d[1]&&0===m[0]&&0===m[1]&&(2===c.length||c[2]===f[2]&&0===d[2]&&0===m[2])&&(i.k[p].to=null,i.k[p].ti=null));this.effectsSequence=[s.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=h||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=n,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var y=i.k[0].s.length;for(this.v=createTypedArray("float32",y),this.pv=createTypedArray("float32",y),p=0;p<y;p+=1)this.v[p]=t,this.pv[p]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",y)},this.addEffect=o}var f={getProp:function(t,e,r,i,s){var a;if(e.k.length)if("number"==typeof e.k[0])a=new l(t,e,i,s);else switch(r){case 0:a=new p(t,e,i,s);break;case 1:a=new c(t,e,i,s)}else a=new h(t,e,i,s);return a.effectsSequence.length&&s.addDynamicProperty(a),a}};return f}(),TransformPropertyFactory=function(){var t=[0,0];function e(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,s=e.or.k.length;for(i=0;i<s;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,s;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),s=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),s=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,s=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],s=[];var a=this.px,n=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=n.getValueAtTime((n.keyframes[0].t+.01)/r,0),s[0]=a.getValueAtTime(a.keyframes[0].t/r,0),s[1]=n.getValueAtTime(n.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/r,0),s[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),s[1]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,n.pv],s[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),s[1]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/r,n.offsetTime))}else i=s=t;this.v.rotate(-Math.atan2(i[1]-s[1],i[0]-s[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,i){return new e(t,r,i)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,s){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,o){this.setXYAt(t,e,"v",n,o),this.setXYAt(r,i,"o",n,o),this.setXYAt(s,a,"i",n,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a,n=this._length-1,o=this._length;for(a=s;a<o;a+=1)t.setTripleAt(e[n][0],e[n][1],i[n][0],i[n][1],r[n][0],r[n][1],a,!1),n-=1;return t};var ShapePropertyFactory=function(){var t=-999999;function e(t,e,r){var i,s,a,n,o,h,l,p,c,f=r.lastIndex,d=this.keyframes;if(t<d[0].t-this.offsetTime)i=d[0].s[0],a=!0,f=0;else if(t>=d[d.length-1].t-this.offsetTime)i=d[d.length-1].s?d[d.length-1].s[0]:d[d.length-2].e[0],a=!0;else{for(var m,u,y,g=f,v=d.length-1,b=!0;b&&(m=d[g],!((u=d[g+1]).t-this.offsetTime>t));)g<v-1?g+=1:b=!1;if(y=this.keyframesMetadata[g]||{},f=g,!(a=1===m.h)){if(t>=u.t-this.offsetTime)p=1;else if(t<m.t-this.offsetTime)p=0;else{var P;y.__fnct?P=y.__fnct:(P=BezierFactory.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,y.__fnct=P),p=P((t-(m.t-this.offsetTime))/(u.t-this.offsetTime-(m.t-this.offsetTime)))}s=u.s?u.s[0]:m.e[0]}i=m.s[0]}for(h=e._length,l=i.i[0].length,r.lastIndex=f,n=0;n<h;n+=1)for(o=0;o<l;o+=1)c=a?i.i[n][o]:i.i[n][o]+(s.i[n][o]-i.i[n][o])*p,e.i[n][o]=c,c=a?i.o[n][o]:i.o[n][o]+(s.o[n][o]-i.o[n][o])*p,e.o[n][o]=c,c=a?i.v[n][o]:i.v[n][o]+(s.v[n][o]-i.v[n][o])*p,e.v[n][o]=c}function r(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==t&&(s<r&&e<r||s>i&&e>i)||(this._caching.lastIndex=s<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function s(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,i=t._length;for(r=0;r<i;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var s=3===r?e.pt.k:e.ks.k;this.v=shapePool.clone(s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function h(e,s,a){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===a?s.pt.k:s.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var n=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}n.prototype.interpolateShape=e,n.prototype.getValue=a,n.prototype.setVValue=s,n.prototype.addEffect=o,h.prototype.getValue=a,h.prototype.interpolateShape=e,h.prototype.setVValue=s,h.prototype.addEffect=o;var l=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,a=3!==this.d,n=this.v;n.v[0][0]=e,n.v[0][1]=r-s,n.v[1][0]=a?e+i:e-i,n.v[1][1]=r,n.v[2][0]=e,n.v[2][1]=r+s,n.v[3][0]=a?e-i:e+i,n.v[3][1]=r,n.i[0][0]=a?e-i*t:e+i*t,n.i[0][1]=r-s,n.i[1][0]=a?e+i:e-i,n.i[1][1]=r-s*t,n.i[2][0]=a?e+i*t:e-i*t,n.i[2][1]=r+s,n.i[3][0]=a?e-i:e+i,n.i[3][1]=r+s*t,n.o[0][0]=a?e+i*t:e-i*t,n.o[0][1]=r-s,n.o[1][0]=a?e+i:e-i,n.o[1][1]=r+s*t,n.o[2][0]=a?e-i*t:e+i*t,n.o[2][1]=r+s,n.o[3][0]=a?e-i:e+i,n.o[3][1]=r-s*t}},extendPrototype([DynamicPropertyContainer],e),e}(),p=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,i,s=2*Math.floor(this.pt.v),a=2*Math.PI/s,n=!0,o=this.or.v,h=this.ir.v,l=this.os.v,p=this.is.v,c=2*Math.PI*o/(2*s),f=2*Math.PI*h/(2*s),d=-Math.PI/2;d+=this.r.v;var m=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<s;t+=1){r=n?l:p,i=n?c:f;var u=(e=n?o:h)*Math.cos(d),y=e*Math.sin(d),g=0===u&&0===y?0:y/Math.sqrt(u*u+y*y),v=0===u&&0===y?0:-u/Math.sqrt(u*u+y*y);u+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(u,y,u-g*i*r*m,y-v*i*r*m,u+g*i*r*m,y+v*i*r*m,t,!0),n=!n,d+=a*m}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,i=this.or.v,s=this.os.v,a=2*Math.PI*i/(4*e),n=.5*-Math.PI,o=3===this.data.d?-1:1;for(n+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var h=i*Math.cos(n),l=i*Math.sin(n),p=0===h&&0===l?0:l/Math.sqrt(h*h+l*l),c=0===h&&0===l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*a*s*o,l-c*a*s*o,h+p*a*s*o,l+c*a*s*o,t,!0),n+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),c=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,s=bmMin(r,i,this.r.v),a=s*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-i+s,t+r,e-i+s,t+r,e-i+a,0,!0),this.v.setTripleAt(t+r,e+i-s,t+r,e+i-a,t+r,e+i-s,1,!0),0!==s?(this.v.setTripleAt(t+r-s,e+i,t+r-s,e+i,t+r-a,e+i,2,!0),this.v.setTripleAt(t-r+s,e+i,t-r+a,e+i,t-r+s,e+i,3,!0),this.v.setTripleAt(t-r,e+i-s,t-r,e+i-s,t-r,e+i-a,4,!0),this.v.setTripleAt(t-r,e-i+s,t-r,e-i+a,t-r,e-i+s,5,!0),this.v.setTripleAt(t-r+s,e-i,t-r+s,e-i,t-r+a,e-i,6,!0),this.v.setTripleAt(t+r-s,e-i,t+r-a,e-i,t+r-s,e-i,7,!0)):(this.v.setTripleAt(t-r,e+i,t-r+a,e+i,t-r,e+i,2),this.v.setTripleAt(t-r,e-i,t-r,e-i+a,t-r,e-i,3))):(this.v.setTripleAt(t+r,e-i+s,t+r,e-i+a,t+r,e-i+s,0,!0),0!==s?(this.v.setTripleAt(t+r-s,e-i,t+r-s,e-i,t+r-a,e-i,1,!0),this.v.setTripleAt(t-r+s,e-i,t-r+a,e-i,t-r+s,e-i,2,!0),this.v.setTripleAt(t-r,e-i+s,t-r,e-i+s,t-r,e-i+a,3,!0),this.v.setTripleAt(t-r,e+i-s,t-r,e+i-a,t-r,e+i-s,4,!0),this.v.setTripleAt(t-r+s,e+i,t-r+s,e+i,t-r+a,e+i,5,!0),this.v.setTripleAt(t+r-s,e+i,t+r-a,e+i,t+r-s,e+i,6,!0),this.v.setTripleAt(t+r,e+i-s,t+r,e+i-s,t+r,e+i-a,7,!0)):(this.v.setTripleAt(t-r,e-i,t-r+a,e-i,t-r,e-i,1,!0),this.v.setTripleAt(t-r,e+i,t-r,e+i-a,t-r,e+i,2,!0),this.v.setTripleAt(t+r,e+i,t+r-a,e+i,t+r,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],t),t}(),f={getShapeProp:function(t,e,r){var i;return 3===r||4===r?i=(3===r?e.pt:e.ks).k.length?new h(t,e,r):new n(t,e,r):5===r?i=new c(t,e):6===r?i=new l(t,e):7===r&&(i=new p(t,e)),i.k&&t.addDynamicProperty(i),i},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return h}};return f}(),ShapeModifiers=(ob={},modifiers={},ob.registerModifier=function(t,e){modifiers[t]||(modifiers[t]=e)},ob.getModifier=function(t,e,r){return new modifiers[t](e,r)},ob),ob,modifiers;function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function PuckerAndBloatModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(t,e,r,i){var s;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var a,n=e.length||0;for(s=0;s<n;s+=1)a=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=a.k||this.k,this.dataProps[s]={n:e[s].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,s){var a=[];e<=1?a.push({s:t,e:e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n,o,h=[],l=a.length;for(n=0;n<l;n+=1){var p,c;(o=a[n]).e*s<i||o.s*s>i+r||(p=o.s*s<=i?0:(o.s*s-i)/r,c=o.e*s>=i+r?1:(o.e*s-i)/r,h.push([p,c]))}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,i,s;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),(e=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var n=e;e=r,r=n}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,h,l,p,c,f=this.shapes.length,d=0;if(r===e)for(s=0;s<f;s+=1)this.shapes[s].localShapeCollection.releaseShapes(),this.shapes[s].shape._mdf=!0,this.shapes[s].shape.paths=this.shapes[s].localShapeCollection,this._mdf&&(this.shapes[s].pathsData.length=0);else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(s=0;s<f;s+=1)this.shapes[s].pathsData.length=0,this.shapes[s].shape._mdf=!0}else{var m,u,y=[];for(s=0;s<f;s+=1)if((m=this.shapes[s]).shape._mdf||this._mdf||t||2===this.m){if(h=(i=m.shape.paths)._length,c=0,!m.shape._mdf&&m.pathsData.length)c=m.totalShapeLength;else{for(l=this.releasePathsData(m.pathsData),o=0;o<h;o+=1)p=bez.getSegmentsLength(i.shapes[o]),l.push(p),c+=p.totalLength;m.totalShapeLength=c,m.pathsData=l}d+=c,m.shape._mdf=!0}else m.shape.paths=m.localShapeCollection;var g,v=e,b=r,P=0;for(s=f-1;s>=0;s-=1)if((m=this.shapes[s]).shape._mdf){for((u=m.localShapeCollection).releaseShapes(),2===this.m&&f>1?(g=this.calculateShapeEdges(e,r,m.totalShapeLength,P,d),P+=m.totalShapeLength):g=[[v,b]],h=g.length,o=0;o<h;o+=1){v=g[o][0],b=g[o][1],y.length=0,b<=1?y.push({s:m.totalShapeLength*v,e:m.totalShapeLength*b}):v>=1?y.push({s:m.totalShapeLength*(v-1),e:m.totalShapeLength*(b-1)}):(y.push({s:m.totalShapeLength*v,e:m.totalShapeLength}),y.push({s:0,e:m.totalShapeLength*(b-1)}));var _=this.addShapes(m,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(m.shape.paths.shapes[m.shape.paths._length-1].c){var E=_.pop();this.addPaths(_,u),_=this.addShapes(m,y[1],E)}else this.addPaths(_,u),_=this.addShapes(m,y[1]);this.addPaths(_,u)}}m.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,s,a,n){s.setXYAt(e[0],e[1],"o",a),s.setXYAt(r[0],r[1],"i",a+1),n&&s.setXYAt(t[0],t[1],"v",a),s.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i,s,a,n,o,h,l,p,c=t.pathsData,f=t.shape.paths.shapes,d=t.shape.paths._length,m=0,u=[],y=!0;for(r?(o=r._length,p=r._length):(r=shapePool.newElement(),o=0,p=0),u.push(r),i=0;i<d;i+=1){for(h=c[i].lengths,r.c=f[i].c,a=f[i].c?h.length:h.length+1,s=1;s<a;s+=1)if(m+(n=h[s-1]).addedLength<e.s)m+=n.addedLength,r.c=!1;else{if(m>e.e){r.c=!1;break}e.s<=m&&e.e>=m+n.addedLength?(this.addSegment(f[i].v[s-1],f[i].o[s-1],f[i].i[s],f[i].v[s],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[s-1],f[i].v[s],f[i].o[s-1],f[i].i[s],(e.s-m)/n.addedLength,(e.e-m)/n.addedLength,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1),m+=n.addedLength,o+=1}if(f[i].c&&h.length){if(n=h[s-1],m<=e.e){var g=h[s-1].addedLength;e.s<=m&&e.e>=m+g?(this.addSegment(f[i].v[s-1],f[i].o[s-1],f[i].i[0],f[i].v[0],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[s-1],f[i].v[0],f[i].o[s-1],f[i].i[0],(e.s-m)/g,(e.e-m)/g,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1)}else r.c=!1;m+=n.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),m>e.e)break;i<d-1&&(r=shapePool.newElement(),y=!0,u.push(r),o=0)}return u},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,i=shapePool.newElement();i.c=t.c;var s,a,n,o,h,l,p,c,f,d,m,u,y=t._length,g=0;for(r=0;r<y;r+=1)s=t.v[r],n=t.o[r],a=t.i[r],s[0]===n[0]&&s[1]===n[1]&&s[0]===a[0]&&s[1]===a[1]?0!==r&&r!==y-1||t.c?(o=0===r?t.v[y-1]:t.v[r-1],l=(h=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=m=s[0]+(o[0]-s[0])*l,c=u=s[1]-(s[1]-o[1])*l,f=p-(p-s[0])*roundCorner,d=c-(c-s[1])*roundCorner,i.setTripleAt(p,c,f,d,m,u,g),g+=1,o=r===y-1?t.v[0]:t.v[r+1],l=(h=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=f=s[0]+(o[0]-s[0])*l,c=d=s[1]+(o[1]-s[1])*l,m=p-(p-s[0])*roundCorner,u=c-(c-s[1])*roundCorner,i.setTripleAt(p,c,f,d,m,u,g),g+=1):(i.setTripleAt(s[0],s[1],n[0],n[1],a[0],a[1],g),g+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],g),g+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i,s,a,n,o=this.shapes.length,h=this.rd.v;if(0!==h)for(r=0;r<o;r+=1){if(n=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(n.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)n.addShape(this.processPath(e[i],h));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,i=[0,0],s=t._length,a=0;for(a=0;a<s;a+=1)i[0]+=t.v[a][0],i[1]+=t.v[a][1];i[0]/=s,i[1]/=s;var n,o,h,l,p,c,f=shapePool.newElement();for(f.c=t.c,a=0;a<s;a+=1)n=t.v[a][0]+(i[0]-t.v[a][0])*r,o=t.v[a][1]+(i[1]-t.v[a][1])*r,h=t.o[a][0]+(i[0]-t.o[a][0])*-r,l=t.o[a][1]+(i[1]-t.o[a][1])*-r,p=t.i[a][0]+(i[0]-t.i[a][0])*-r,c=t.i[a][1]+(i[1]-t.i[a][1])*-r,f.setTripleAt(n,o,h,l,p,c,a);return f},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i,s,a,n,o=this.shapes.length,h=this.amount.v;if(0!==h)for(r=0;r<o;r+=1){if(n=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(n.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)n.addShape(this.processPath(e[i],h));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,s,a){var n=a?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-s),h=i.s.v[1]+(1-i.s.v[1])*(1-s);t.translate(i.p.v[0]*n*s,i.p.v[1]*n*s,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*n*s),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/o:o,a?1/h:h),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,s,a,n=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),n=!0}for(a=0,i=0;i<=this._groups.length-1;i+=1){if(o=a<h,this._groups[i]._render=o,this.changeGroupRender(this._groups[i].it,o),!o){var p=this.elemsData[i].it,c=p[p.length-1];0!==c.transform.op.v?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1}a+=1}this._currentCopies=h;var f=this.o.v,d=f%1,m=f>0?Math.floor(f):Math.ceil(f),u=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,P=0;if(f>0){for(;P<m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),P+=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,d,!1),P+=d)}else if(f<0){for(;P>m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),P-=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-d,!0),P-=d)}for(i=1===this.data.m?0:this._currentCopies-1,s=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==P){for((0!==i&&1===s||i!==this._currentCopies-1&&-1===s)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),v=0;v<b;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)r[v]=this.matrix.props[v];P+=1,a-=1,i+=s}}else for(a=this._currentCopies,i=0,s=1;a;)r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,i+=s;return n},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2;r<i;){if(Math.abs(t[4*r]-t[4*e+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,i,s=4*this.data.p;for(e=0;e<s;e+=1)r=e%4==0?100:255,i=Math.round(this.prop.v[e]*r),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,e=4*this.data.p;e<s;e+=1)r=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(t,e,r,i){if(0===e)return"";var s,a=t.o,n=t.i,o=t.v,h=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(s=1;s<e;s+=1)h+=" C"+i.applyToPointStringified(a[s-1][0],a[s-1][1])+" "+i.applyToPointStringified(n[s][0],n[s][1])+" "+i.applyToPointStringified(o[s][0],o[s][1]);return r&&e&&(h+=" C"+i.applyToPointStringified(a[s-1][0],a[s-1][1])+" "+i.applyToPointStringified(n[0][0],n[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):Howl?new Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,r){var i="";if(t.e)i=t.p;else if(e){var s=t.p;-1!==s.indexOf("images/")&&(s=s.split("/")[1]),i=e+s}else i=r,i+=t.u?t.u:"",i+=t.p;return i}function s(t){var e=0,r=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=i(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function n(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return n.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var i=t.length;for(r=0;r<i;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var r=i(e,this.assetsPath,this.path),s=createTag("img");s.crossOrigin="anonymous",s.addEventListener("load",this._imageLoaded,!1),s.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),s.src=r;var a={img:s,assetData:e};return a},createImageData:function(e){var r=i(e,this.assetsPath,this.path),s=createNS("image");isSafari?this.testImageLoaded(s):s.addEventListener("load",this._imageLoaded,!1),s.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),s.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(s):this._elementHelper.appendChild(s);var a={img:s,assetData:e};return a},imageLoaded:e,footageLoaded:r,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},n}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),filtersFactory=function(){var t={createFilter:function(t,e){var r=createNS("filter");return r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}};return t}();function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,r):i,rx:a.rx?s(t,a.rx,0,degToRads,r):i,ry:a.ry?s(t,a.ry,0,degToRads,r):i,sk:a.sk?s(t,a.sk,0,degToRads,r):i,sa:a.sa?s(t,a.sa,0,degToRads,r):i,s:a.s?s(t,a.s,1,.01,r):i,a:a.a?s(t,a.a,1,0,r):i,o:a.o?s(t,a.o,0,.01,r):i,p:a.p?s(t,a.p,1,0,r):i,sw:a.sw?s(t,a.sw,0,0,r):i,sc:a.sc?s(t,a.sc,1,0,r):i,fc:a.fc?s(t,a.fc,1,0,r):i,fh:a.fh?s(t,a.fh,0,0,r):i,fs:a.fs?s(t,a.fs,0,.01,r):i,fb:a.fb?s(t,a.fb,0,.01,r):i,t:a.t?s(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function LetterProps(t,e,r,i,s,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,s,a,n,o,h,l,p,c,f,d,m,u,y,g,v,b,P,_=this._moreOptions.alignment.v,E=this._animatorsData,S=this._textData,x=this.mHelper,A=this._renderType,w=this.renderedLetters.length,C=t.l;if(this._hasMaskedPath){if(P=this._pathData.m,!this._pathData.n||this._pathData._mdf){var k,T=P.v;for(this._pathData.r.v&&(T=T.reverse()),n={tLength:0,segments:[]},a=T._length-1,g=0,s=0;s<a;s+=1)k=bez.buildBezierData(T.v[s],T.v[s+1],[T.o[s][0]-T.v[s][0],T.o[s][1]-T.v[s][1]],[T.i[s+1][0]-T.v[s+1][0],T.i[s+1][1]-T.v[s+1][1]]),n.tLength+=k.segmentLength,n.segments.push(k),g+=k.segmentLength;s=a,P.v.c&&(k=bez.buildBezierData(T.v[s],T.v[0],[T.o[s][0]-T.v[s][0],T.o[s][1]-T.v[s][1]],[T.i[0][0]-T.v[0][0],T.i[0][1]-T.v[0][1]]),n.tLength+=k.segmentLength,n.segments.push(k),g+=k.segmentLength),this._pathData.pi=n}if(n=this._pathData.pi,o=this._pathData.f.v,f=0,c=1,l=0,p=!0,u=n.segments,o<0&&P.v.c)for(n.tLength<Math.abs(o)&&(o=-Math.abs(o)%n.tLength),c=(m=u[f=u.length-1].points).length-1;o<0;)o+=m[c].partialLength,(c-=1)<0&&(c=(m=u[f-=1].points).length-1);d=(m=u[f].points)[c-1],y=(h=m[c]).partialLength}a=C.length,r=0,i=0;var D,M,F,I,R,V=1.2*t.finalSize*.714,O=!0;F=E.length;var L,B,$,z,G,N,j,H,q,W,U,Y,X=-1,K=o,J=f,Z=c,Q=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,it=0,st=2===t.j?-.5:-1,at=0,nt=!0;for(s=0;s<a;s+=1)if(C[s].n){for(rt&&(rt+=it);at<s;)C[at].animatorJustifyOffset=rt,at+=1;rt=0,nt=!0}else{for(M=0;M<F;M+=1)(D=E[M].a).t.propType&&(nt&&2===t.j&&(it+=D.t.v*st),(R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars)).length?rt+=D.t.v*R[0]*st:rt+=D.t.v*R*st);nt=!1}for(rt&&(rt+=it);at<s;)C[at].animatorJustifyOffset=rt,at+=1}for(s=0;s<a;s+=1){if(x.reset(),z=1,C[s].n)r=0,i+=t.yOffset,i+=O?1:0,o=K,O=!1,this._hasMaskedPath&&(c=Z,d=(m=u[f=J].points)[c-1],y=(h=m[c]).partialLength,l=0),tt="",U="",q="",Y="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==C[s].line){switch(t.j){case 1:o+=g-t.lineWidths[C[s].line];break;case 2:o+=(g-t.lineWidths[C[s].line])/2}Q=C[s].line}X!==C[s].ind&&(C[X]&&(o+=C[X].extra),o+=C[s].an/2,X=C[s].ind),o+=_[0]*C[s].an*.005;var ot=0;for(M=0;M<F;M+=1)(D=E[M].a).p.propType&&((R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars)).length?ot+=D.p.v[0]*R[0]:ot+=D.p.v[0]*R),D.a.propType&&((R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars)).length?ot+=D.a.v[0]*R[0]:ot+=D.a.v[0]*R);for(p=!0,this._pathData.a.v&&(o=.5*C[0].an+(g-this._pathData.f.v-.5*C[0].an-.5*C[C.length-1].an)*X/(a-1),o+=this._pathData.f.v);p;)l+y>=o+ot||!m?(v=(o+ot-l)/h.partialLength,B=d.point[0]+(h.point[0]-d.point[0])*v,$=d.point[1]+(h.point[1]-d.point[1])*v,x.translate(-_[0]*C[s].an*.005,-_[1]*V*.01),p=!1):m&&(l+=h.partialLength,(c+=1)>=m.length&&(c=0,u[f+=1]?m=u[f].points:P.v.c?(c=0,m=u[f=0].points):(l-=h.partialLength,m=null)),m&&(d=h,y=(h=m[c]).partialLength));L=C[s].an/2-C[s].add,x.translate(-L,0,0)}else L=C[s].an/2-C[s].add,x.translate(-L,0,0),x.translate(-_[0]*C[s].an*.005,-_[1]*V*.01,0);for(M=0;M<F;M+=1)(D=E[M].a).t.propType&&(R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?R.length?o+=D.t.v*R[0]:o+=D.t.v*R:R.length?r+=D.t.v*R[0]:r+=D.t.v*R));for(t.strokeWidthAnim&&(N=t.sw||0),t.strokeColorAnim&&(G=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(j=[t.fc[0],t.fc[1],t.fc[2]]),M=0;M<F;M+=1)(D=E[M].a).a.propType&&((R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars)).length?x.translate(-D.a.v[0]*R[0],-D.a.v[1]*R[1],D.a.v[2]*R[2]):x.translate(-D.a.v[0]*R,-D.a.v[1]*R,D.a.v[2]*R));for(M=0;M<F;M+=1)(D=E[M].a).s.propType&&((R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars)).length?x.scale(1+(D.s.v[0]-1)*R[0],1+(D.s.v[1]-1)*R[1],1):x.scale(1+(D.s.v[0]-1)*R,1+(D.s.v[1]-1)*R,1));for(M=0;M<F;M+=1){if(D=E[M].a,R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars),D.sk.propType&&(R.length?x.skewFromAxis(-D.sk.v*R[0],D.sa.v*R[1]):x.skewFromAxis(-D.sk.v*R,D.sa.v*R)),D.r.propType&&(R.length?x.rotateZ(-D.r.v*R[2]):x.rotateZ(-D.r.v*R)),D.ry.propType&&(R.length?x.rotateY(D.ry.v*R[1]):x.rotateY(D.ry.v*R)),D.rx.propType&&(R.length?x.rotateX(D.rx.v*R[0]):x.rotateX(D.rx.v*R)),D.o.propType&&(R.length?z+=(D.o.v*R[0]-z)*R[0]:z+=(D.o.v*R-z)*R),t.strokeWidthAnim&&D.sw.propType&&(R.length?N+=D.sw.v*R[0]:N+=D.sw.v*R),t.strokeColorAnim&&D.sc.propType)for(H=0;H<3;H+=1)R.length?G[H]+=(D.sc.v[H]-G[H])*R[0]:G[H]+=(D.sc.v[H]-G[H])*R;if(t.fillColorAnim&&t.fc){if(D.fc.propType)for(H=0;H<3;H+=1)R.length?j[H]+=(D.fc.v[H]-j[H])*R[0]:j[H]+=(D.fc.v[H]-j[H])*R;D.fh.propType&&(j=R.length?addHueToRGB(j,D.fh.v*R[0]):addHueToRGB(j,D.fh.v*R)),D.fs.propType&&(j=R.length?addSaturationToRGB(j,D.fs.v*R[0]):addSaturationToRGB(j,D.fs.v*R)),D.fb.propType&&(j=R.length?addBrightnessToRGB(j,D.fb.v*R[0]):addBrightnessToRGB(j,D.fb.v*R))}}for(M=0;M<F;M+=1)(D=E[M].a).p.propType&&(R=E[M].s.getMult(C[s].anIndexes[M],S.a[M].s.totalChars),this._hasMaskedPath?R.length?x.translate(0,D.p.v[1]*R[0],-D.p.v[2]*R[1]):x.translate(0,D.p.v[1]*R,-D.p.v[2]*R):R.length?x.translate(D.p.v[0]*R[0],D.p.v[1]*R[1],-D.p.v[2]*R[2]):x.translate(D.p.v[0]*R,D.p.v[1]*R,-D.p.v[2]*R));if(t.strokeWidthAnim&&(q=N<0?0:N),t.strokeColorAnim&&(W="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),t.fillColorAnim&&t.fc&&(U="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),this._hasMaskedPath){if(x.translate(0,-t.ls),x.translate(0,_[1]*V*.01+i,0),this._pathData.p.v){b=(h.point[1]-d.point[1])/(h.point[0]-d.point[0]);var ht=180*Math.atan(b)/Math.PI;h.point[0]<d.point[0]&&(ht+=180),x.rotate(-ht*Math.PI/180)}x.translate(B,$,0),o-=_[0]*C[s].an*.005,C[s+1]&&X!==C[s+1].ind&&(o+=C[s].an/2,o+=.001*t.tr*t.finalSize)}else{switch(x.translate(r,i,0),t.ps&&x.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:x.translate(C[s].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[C[s].line]),0,0);break;case 2:x.translate(C[s].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[C[s].line])/2,0,0)}x.translate(0,-t.ls),x.translate(L,0,0),x.translate(_[0]*C[s].an*.005,_[1]*V*.01,0),r+=C[s].l+.001*t.tr*t.finalSize}"html"===A?tt=x.toCSS():"svg"===A?tt=x.to2dCSS():et=[x.props[0],x.props[1],x.props[2],x.props[3],x.props[4],x.props[5],x.props[6],x.props[7],x.props[8],x.props[9],x.props[10],x.props[11],x.props[12],x.props[13],x.props[14],x.props[15]],Y=z}w<=s?(I=new LetterProps(Y,q,W,U,tt,et),this.renderedLetters.push(I),w+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[s],this.lettersChangedFlag=I.update(Y,q,W,U,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(t,e,r,i,s,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var n=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,n=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,n=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,n=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,n=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,n=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,n=!0),n},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)a=r!==this.keysIndex?this.effectsSequence[i](a,a.t):this.effectsSequence[i](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&!(r===i-1||t[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,i=[],s=0,a=t.length,n=!1;s<a;)e=t.charCodeAt(s),FontManager.isCombinedCharacter(e)?i[i.length-1]+=t.charAt(s):e>=55296&&e<=56319?(r=t.charCodeAt(s+1))>=56320&&r<=57343?(n||FontManager.isModifier(e,r)?(i[i.length-1]+=t.substr(s,2),n=!1):i.push(t.substr(s,2)),s+=1):i.push(t.charAt(s)):e>56319?(r=t.charCodeAt(s+1),FontManager.isZeroWidthJoiner(e,r)?(n=!0,i[i.length-1]+=t.substr(s,2),s+=1):i.push(t.charAt(s))):FontManager.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(s),n=!0):i.push(t.charAt(s)),s+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,s,a,n,o,h=this.elem.globalData.fontManager,l=this.data,p=[],c=0,f=l.m.g,d=0,m=0,u=0,y=[],g=0,v=0,b=h.getFontByName(t.f),P=0,_=getFontProperties(b);t.fWeight=_.weight,t.fStyle=_.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var E,S=t.tr/1e3*t.finalSize;if(t.sz)for(var x,A,w=!0,C=t.sz[0],k=t.sz[1];w;){x=0,g=0,r=(A=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var T=-1;for(e=0;e<r;e+=1)E=A[e].charCodeAt(0),i=!1," "===A[e]?T=e:13!==E&&3!==E||(g=0,i=!0,x+=t.finalLineHeight||1.2*t.finalSize),h.chars?(o=h.getCharData(A[e],b.fStyle,b.fFamily),P=i?0:o.w*t.finalSize/100):P=h.measureText(A[e],t.f,t.finalSize),g+P>C&&" "!==A[e]?(-1===T?r+=1:e=T,x+=t.finalLineHeight||1.2*t.finalSize,A.splice(e,T===e?1:0,"\r"),T=-1,g=0):(g+=P,g+=S);x+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&k<x?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=A,r=t.finalText.length,w=!1)}g=-S,P=0;var D,M=0;for(e=0;e<r;e+=1)if(i=!1,13===(E=(D=t.finalText[e]).charCodeAt(0))||3===E?(M=0,y.push(g),v=g>v?g:v,g=-2*S,s="",i=!0,u+=1):s=D,h.chars?(o=h.getCharData(D,b.fStyle,h.getFontByName(t.f).fFamily),P=i?0:o.w*t.finalSize/100):P=h.measureText(s,t.f,t.finalSize)," "===D?M+=P+S:(g+=P+S+M,M=0),p.push({l:P,an:P,add:d,n:i,anIndexes:[],val:s,line:u,animatorJustifyOffset:0}),2==f){if(d+=P,""===s||" "===s||e===r-1){for(""!==s&&" "!==s||(d-=P);m<=e;)p[m].an=d,p[m].ind=c,p[m].extra=P,m+=1;c+=1,d=0}}else if(3==f){if(d+=P,""===s||e===r-1){for(""===s&&(d-=P);m<=e;)p[m].an=d,p[m].ind=c,p[m].extra=P,m+=1;d=0,c+=1}}else p[c].ind=c,p[c].extra=0,c+=1;if(t.l=p,v=g>v?g:v,y.push(g),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var F,I,R,V,O=l.a;n=O.length;var L=[];for(a=0;a<n;a+=1){for((F=O[a]).a.sc&&(t.strokeColorAnim=!0),F.a.sw&&(t.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(t.fillColorAnim=!0),V=0,R=F.s.b,e=0;e<r;e+=1)(I=p[e]).anIndexes[a]=V,(1==R&&""!==I.val||2==R&&""!==I.val&&" "!==I.val||3==R&&(I.n||" "==I.val||e==r-1)||4==R&&(I.n||e==r-1))&&(1===F.s.rn&&L.push(V),V+=1);l.a[a].s.totalChars=V;var B,$=-1;if(1===F.s.rn)for(e=0;e<r;e+=1)$!=(I=p[e]).anIndexes[a]&&($=I.anIndexes[a],B=L.splice(Math.floor(Math.random()*L.length),1)[0]),I.anIndexes[a]=B}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var s=0,a=0,n=1,o=1;this.ne.v>0?s=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?n=1-this.xe.v/100:o=1+this.xe.v/100;var h=BezierFactory.getBezierEasing(s,a,n,o).get,l=0,p=this.finalS,c=this.finalE,f=this.data.sh;if(2===f)l=h(l=c===p?i>=c?1:0:t(0,e(.5/(c-p)+(i-p)/(c-p),1)));else if(3===f)l=h(l=c===p?i>=c?0:1:1-t(0,e(.5/(c-p)+(i-p)/(c-p),1)));else if(4===f)c===p?l=0:(l=t(0,e(.5/(c-p)+(i-p)/(c-p),1)))<.5?l*=2:l=1-2*(l-.5),l=h(l);else if(5===f){if(c===p)l=0;else{var d=c-p,m=-d/2+(i=e(t(0,i+.5-p),c-p)),u=d/2;l=Math.sqrt(1-m*m/(u*u))}l=h(l)}else 6===f?(c===p?l=0:(i=e(t(0,i+.5-p),c-p),l=(1+Math.cos(Math.PI+2*Math.PI*i/(c-p)))/2),l=h(l)):(i>=r(p)&&(l=t(0,e(i-p<0?e(c,1)-(p-i):c-i,1))),l=h(l));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;l<g?l=0:(l=(l-g)/y)>1&&(l=1)}return l*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,s=this.e.v/e+r;if(i>s){var a=i;i=s,s=a}this.finalS=i,this.finalE=s}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}(),poolFactory=function(t,e,r){var i=0,s=t,a=createSizedArray(s);return{newElement:function(){return i?a[i-=1]:e()},release:function(t){i===s&&(a=pooling.double(a),s*=2),r&&r(t),a[i]=t,i+=1}}},pooling={double:function(t){return t.concat(createSizedArray(t.length))}},pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)})),shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,r=factory.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,e=0;e<i;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r},factory),factory,shapeCollectionPool=function(){var t={newShapeCollection:function(){return e?i[e-=1]:new ShapeCollection},release:function(t){var s,a=t._length;for(s=0;s<a;s+=1)shapePool.release(t.shapes[s]);t._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=t,e+=1}},e=0,r=4,i=createSizedArray(r);return t}(),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0})),bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}})),markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),i={},s=0,a=0;a<r.length;a+=1)2===(e=r[a].split(":")).length&&(i[e[0]]=e[1].trim(),s+=1);if(0===s)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var s=e[i],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(e[i].cm)}catch(r){try{a.payload=t(e[i].cm)}catch(t){a.payload={name:e[i]}}}r.push(a)}return r}}();function BaseRenderer(){}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),r+=s}if(e&&e.description){var a=createNS("desc"),n=createElementID();a.setAttribute("id",n),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+n}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var h=createNS("g");this.svgElement.appendChild(h),this.layerElement=h,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,s,a=this.globalData.defs,n=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(n),this.solidPath="";var o,h,l,p,c,f,d=this.masksProperties,m=0,u=[],y=createElementID(),g="clipPath",v="clip-path";for(i=0;i<n;i+=1)if(("a"!==d[i].mode&&"n"!==d[i].mode||d[i].inv||100!==d[i].o.k||d[i].o.x)&&(g="mask",v="mask"),"s"!==d[i].mode&&"i"!==d[i].mode||0!==m?l=null:((l=createNS("rect")).setAttribute("fill","#ffffff"),l.setAttribute("width",this.element.comp.data.w||0),l.setAttribute("height",this.element.comp.data.h||0),u.push(l)),s=createNS("path"),"n"===d[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,d[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[i],3),elem:s,lastPath:""},a.appendChild(s);else{var b;if(m+=1,s.setAttribute("fill","s"===d[i].mode?"#000000":"#ffffff"),s.setAttribute("clip-rule","nonzero"),0!==d[i].x.k?(g="mask",v="mask",f=PropertyFactory.getProp(this.element,d[i].x,0,null,this.element),b=createElementID(),(p=createNS("filter")).setAttribute("id",b),(c=createNS("feMorphology")).setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),p.appendChild(c),a.appendChild(p),s.setAttribute("stroke","s"===d[i].mode?"#000000":"#ffffff")):(c=null,f=null),this.storedData[i]={elem:s,x:f,expan:c,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===d[i].mode){h=u.length;var P=createNS("g");for(o=0;o<h;o+=1)P.appendChild(u[o]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",y+"_"+m),_.appendChild(s),a.appendChild(_),P.setAttribute("mask","url("+locationHref+"#"+y+"_"+m+")"),u.length=0,u.push(P)}else u.push(s);d[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:s,lastPath:"",op:PropertyFactory.getProp(this.element,d[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[i],3),invRect:l},this.viewData[i].prop.k||this.drawPath(d[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(g),n=u.length,i=0;i<n;i+=1)this.maskElement.appendChild(u[i]);m>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+locationHref+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(t,e){this.elem=t,this.pos=e}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,s=t.length;i<s;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(t){var e,r,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,i=t.length,s=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<s;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,s=this.layers,a=0,n=s.length;a<n;)s[a].ind==e&&(i[a]&&!0!==i[a]?(r.push(i[a]),i[a].setAsParent(),void 0!==s[a].parent?this.buildElementParenting(t,s[a].parent,r):t.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(t))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRenderer.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRenderer.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRenderer.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},SVGRenderer.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var s=createElementID();r.setAttribute("id",s),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+s+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRenderer.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);e[t]=r,expressionsPlugin&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?r.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(r)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRenderer.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRenderer.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRenderer.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRenderer.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e,r=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var i=this.contextData.saved[this.contextData.cArrPos];for(e=0;e<16;e+=1)i[e]=r[e];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,r=this.contextData.saved[this.contextData.cArrPos],i=this.contextData.cTr.props;for(e=0;e<16;e+=1)i[e]=r[e];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var t,e,r,i;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),a=s[1]||"meet",n=s[0]||"xMidYMid",o=n.substr(0,4),h=n.substr(4);r=t/e,(i=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===a||i<r&&"slice"===a?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===o&&(i<r&&"meet"===a||i>r&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(i<r&&"meet"===a||i>r&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(i>r&&"meet"===a||i<r&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===h&&(i>r&&"meet"===a||i<r&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var s,a,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement&&(a=this.elements[n],s=(this.layers[n].ddd?this.getThreeDContainerByPos(n):a.getBaseElement())||s),n+=1;s?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,s):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRenderer.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRenderer.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRenderer.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},HybridRenderer.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRenderer.prototype.createThreeDContainer=function(t,e){var r,i,s=createTag("div");styleDiv(s);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=s.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var n="50% 50%";r.webkitTransformOrigin=n,r.mozTransformOrigin=n,r.transformOrigin=n;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=o,i.webkitTransform=o}s.appendChild(a);var h={container:a,perspectiveElem:s,startPos:t,endPos:t,type:e};return this.threeDElements.push(h),h},HybridRenderer.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==i&&(i="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==i&&(i="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(r=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;r<i;){if(e<=this.threeDElements[r].endPos){for(var s,a=this.threeDElements[r].startPos;a<e;)this.elements[a]&&this.elements[a].getBaseElement&&(s=this.elements[a].getBaseElement()),a+=1;s?this.threeDElements[r].container.insertBefore(t,s):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRenderer.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,i=e.style;i.width=t.w+"px",i.height=t.h+"px",this.resizerElem=e,styleDiv(e),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),i.overflow="hidden";var s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var a=createNS("defs");s.appendChild(a),this.data=t,this.setupGlobalData(t,s),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var t,e,r,i,s=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,n=s/a;this.globalData.compSize.w/this.globalData.compSize.h>n?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(s-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",0,1)",o.transform=o.webkitTransform},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(t=0;t<i;t+=1){var s=this.threeDElements[t].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px",s.perspective=s.webkitPerspective}}},HybridRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var s=this.createComp(t[e],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var s=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[e].filterId+")")),s.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var i,s,a=" M"+e.v[0][0]+","+e.v[0][1];for(s=e._length,i=1;i<s;i+=1)a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&s>1&&(a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var n="";r.elem&&(e.c&&(n=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",n)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)t=this.hierarchy[r].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r,i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;var a,n=e.length;for(r=0;r<n;r+=1)a=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s,a,n,o=[];for(n=4*e.g.p,a=0;a<n;a+=4)s=createNS("stop"),i.appendChild(s),o.push(s);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+r+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,s,a=createNS("mask"),n=createNS("path");a.appendChild(n);var o=createElementID(),h=createElementID();a.setAttribute("id",h);var l=createNS(1===t.t?"linearGradient":"radialGradient");l.setAttribute("id",o),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var p=this.stops;for(i=4*t.g.p;i<s;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(r),p.push(r);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+o+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&n.setAttribute("stroke-miterlimit",t.ml)),this.of=l,this.ms=a,this.ost=p,this.maskId=h,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function r(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(r,i,s){var a,n,o,h,l,p,c,f,d,m,u,y=i.styles.length,g=i.lvl;for(p=0;p<y;p+=1){if(h=i.sh._mdf||s,i.styles[p].lvl<g){for(f=e.reset(),m=g-i.styles[p].lvl,u=i.transformers.length-1;!h&&m>0;)h=i.transformers[u].mProps._mdf||h,m-=1,u-=1;if(h)for(m=g-i.styles[p].lvl,u=i.transformers.length-1;m>0;)d=i.transformers[u].mProps.v.props,f.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),m-=1,u-=1}else f=t;if(n=(c=i.sh.paths)._length,h){for(o="",a=0;a<n;a+=1)(l=c.shapes[a])&&l._length&&(o+=buildShapeString(l,l._length,l.c,f));i.caches[p]=o}else o=i.caches[p];i.styles[p].d+=!0===r.hd?"":o,i.styles[p]._mdf=h||i.styles[p]._mdf}}function s(t,e,r){var i=e.style;(e.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function a(t,e,r){n(t,e,r),o(0,e,r)}function n(t,e,r){var i,s,a,n,o,h=e.gf,l=e.g._hasOpacity,p=e.s.v,c=e.e.v;if(e.o._mdf||r){var f="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(f,e.o.v)}if(e.s._mdf||r){var d=1===t.t?"x1":"cx",m="x1"===d?"y1":"cy";h.setAttribute(d,p[0]),h.setAttribute(m,p[1]),l&&!e.g._collapsable&&(e.of.setAttribute(d,p[0]),e.of.setAttribute(m,p[1]))}if(e.g._cmdf||r){i=e.cst;var u=e.g.c;for(a=i.length,s=0;s<a;s+=1)(n=i[s]).setAttribute("offset",u[4*s]+"%"),n.setAttribute("stop-color","rgb("+u[4*s+1]+","+u[4*s+2]+","+u[4*s+3]+")")}if(l&&(e.g._omdf||r)){var y=e.g.o;for(a=(i=e.g._collapsable?e.cst:e.ost).length,s=0;s<a;s+=1)n=i[s],e.g._collapsable||n.setAttribute("offset",y[2*s]+"%"),n.setAttribute("stop-opacity",y[2*s+1])}if(1===t.t)(e.e._mdf||r)&&(h.setAttribute("x2",c[0]),h.setAttribute("y2",c[1]),l&&!e.g._collapsable&&(e.of.setAttribute("x2",c[0]),e.of.setAttribute("y2",c[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)),h.setAttribute("r",o),l&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)));var g=Math.atan2(c[1]-p[1],c[0]-p[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=o*v,P=Math.cos(g+e.a.v)*b+p[0],_=Math.sin(g+e.a.v)*b+p[1];h.setAttribute("fx",P),h.setAttribute("fy",_),l&&!e.g._collapsable&&(e.of.setAttribute("fx",P),e.of.setAttribute("fy",_))}}function o(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||r)&&s.dashStr&&(i.pElem.setAttribute("stroke-dasharray",s.dashStr),i.pElem.setAttribute("stroke-dashoffset",s.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return s;case"gf":return n;case"gs":return a;case"st":return o;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;default:return null}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s,a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var n,o=r.length;for(s=0;s<o;s+=1)r[s].closed||(n={transforms:i.addTransformSequence(r[s].transforms),trNodes:[]},this.styledShapes.push(n),r[s].elements.push(n))}function BaseElement(){}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(t,e,r){this.initElement(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function SVGTintFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),t.appendChild(r),this.matrixFilter=r,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var i,s=createNS("feMerge");t.appendChild(s),(i=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),s.appendChild(i),(i=createNS("feMergeNode")).setAttribute("in","f2"),s.appendChild(i)}}function SVGFillFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(r),this.matrixFilter=r}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");t.appendChild(r),this.feGaussianBlur=r}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.matrixFilter=i;var s=createNS("feFuncR");s.setAttribute("type","table"),i.appendChild(s),this.feFuncR=s;var a=createNS("feFuncG");a.setAttribute("type","table"),i.appendChild(a),this.feFuncG=a;var n=createNS("feFuncB");n.setAttribute("type","table"),i.appendChild(n),this.feFuncB=n}function SVGProLevelsFilter(t,e){this.filterManager=e;var r=this.filterManager.effectElements,i=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),i=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(t,e){var r=e.container.globalData.renderConfig.filterSize;t.setAttribute("x",r.x),t.setAttribute("y",r.y),t.setAttribute("width",r.width),t.setAttribute("height",r.height),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("in","SourceAlpha"),i.setAttribute("result","drop_shadow_1"),i.setAttribute("stdDeviation","0"),this.feGaussianBlur=i,t.appendChild(i);var s=createNS("feOffset");s.setAttribute("dx","25"),s.setAttribute("dy","0"),s.setAttribute("in","drop_shadow_1"),s.setAttribute("result","drop_shadow_2"),this.feOffset=s,t.appendChild(s);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,t.appendChild(a);var n=createNS("feComposite");n.setAttribute("in","drop_shadow_3"),n.setAttribute("in2","drop_shadow_2"),n.setAttribute("operator","in"),n.setAttribute("result","drop_shadow_4"),t.appendChild(n);var o,h=createNS("feMerge");t.appendChild(h),o=createNS("feMergeNode"),h.appendChild(o),(o=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=h,this.originalNodeAdded=!1,h.appendChild(o)}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,i="_";for(e=0;e<r;e+=1)i+=t[e].transform.key+"_";var s=this.sequences[i];return s||(s={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=s,this.sequenceList.push(s)),s},processSequence:function(t,e){for(var r,i=0,s=t.transforms.length,a=e;i<s&&!e;){if(t.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(t.finalTransform.reset(),i=s-1;i>=0;i-=1)r=t.transforms[i].transform.mProps.v.props,t.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);t._mdf=a},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,r,i=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var s=createNS("mask");s.setAttribute("id",this.layerId),s.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),s.appendChild(this.layerElement),i=s,this.globalData.defs.appendChild(s),featureSupport.maskType||1!=this.data.td||(s.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),i=r,s.appendChild(r),r.setAttribute("filter","url("+locationHref+"#"+t+")"))}else if(2==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type","alpha");var n=createNS("g");a.appendChild(n),t=createElementID(),e=filtersFactory.createFilter(t);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),e.appendChild(o);var h=createNS("feFuncA");h.setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),o.appendChild(h),this.globalData.defs.appendChild(e);var l=createNS("rect");l.setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),n.setAttribute("filter","url("+locationHref+"#"+t+")"),n.appendChild(l),n.appendChild(this.layerElement),i=n,featureSupport.maskType||(a.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),n.appendChild(l),r.appendChild(this.layerElement),i=r,n.appendChild(r)),this.globalData.defs.appendChild(a)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var p=createNS("clipPath"),c=createNS("path");c.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var f=createElementID();if(p.setAttribute("id",f),p.appendChild(c),this.globalData.defs.appendChild(p),this.checkMasks()){var d=createNS("g");d.setAttribute("clip-path","url("+locationHref+"#"+f+")"),d.appendChild(this.layerElement),this.transformedElement=d,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+f+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+t+")")}},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r<i;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===t)return void(r[i].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}},ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,i,s=e.length,a="";for(r=0;r<s;r+=1)i=e[r].ks.k,a+=buildShapeString(i,i.i.length,!0,t);return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,s){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(i,s,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this.audio.volume(t)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,i=[],s="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(s),s=""):s+=t[e],e+=1;return i.push(s),i},SVGTextLottieElement.prototype.buildNewText=function(){var t,e,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var s=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",r.t);var n,o=r.l||[],h=!!this.globalData.fontManager.chars;e=o.length;var l,p=this.mHelper,c="",f=this.data.singleShape,d=0,m=0,u=!0,y=.001*r.tr*r.finalSize;if(!f||h||r.sz){var g,v,b=this.textSpans.length;for(t=0;t<e;t+=1)h&&f&&0!==t||(n=b>t?this.textSpans[t]:createNS(h?"path":"text"),b<=t&&(n.setAttribute("stroke-linecap","butt"),n.setAttribute("stroke-linejoin","round"),n.setAttribute("stroke-miterlimit","4"),this.textSpans[t]=n,this.layerElement.appendChild(n)),n.style.display="inherit"),p.reset(),p.scale(r.finalSize/100,r.finalSize/100),f&&(o[t].n&&(d=-y,m+=r.yOffset,m+=u?1:0,u=!1),this.applyTextPropertiesToMatrix(r,p,o[t].line,d,m),d+=o[t].l||0,d+=y),h?(l=(g=(v=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily))&&v.data||{}).shapes?g.shapes[0].it:[],f?c+=this.createPathShape(p,l):n.setAttribute("d",this.createPathShape(p,l))):(f&&n.setAttribute("transform","translate("+p.props[12]+","+p.props[13]+")"),n.textContent=o[t].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));f&&n&&n.setAttribute("d",c)}else{var P=this.textContainer,_="start";switch(r.j){case 1:_="end";break;case 2:_="middle";break;default:_="start"}P.setAttribute("text-anchor",_),P.setAttribute("letter-spacing",y);var E=this.buildTextContents(r.finalText);for(e=E.length,m=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(n=this.textSpans[t]||createNS("tspan")).textContent=E[t],n.setAttribute("x",0),n.setAttribute("y",m),n.style.display="inherit",P.appendChild(n),this.textSpans[t]=n,m+=r.finalLineHeight;this.layerElement.appendChild(P)}for(;t<this.textSpans.length;)this.textSpans[t].style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,i,s=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(r=s[t],i=this.textSpans[t],r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,i,s=this.shapes.length,a=this.stylesList.length,n=[],o=!1;for(r=0;r<a;r+=1){for(i=this.stylesList[r],o=!1,n.length=0,t=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),o=e._isAnimated||o);n.length>1&&o&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),s=i.pElem;return"st"===t.ty?r=new SVGStrokeStyleData(this,t,i):"fl"===t.ty?r=new SVGFillStyleData(this,t,i):"gf"!==t.ty&&"gs"!==t.ty||(r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),s.setAttribute("mask","url("+locationHref+"#"+r.maskId+")"))),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),1===t.lj&&s.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var s=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,i,this));return this.shapes.push(s),this.addShapeToModifiers(s),this.addToAnimatedContents(t,s),s},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,s,a,n){var o,h,l,p,c,f,d=[].concat(a),m=t.length-1,u=[],y=[];for(o=m;o>=0;o-=1){if((f=this.searchProcessedElement(t[o]))?e[o]=r[f-1]:t[o]._render=n,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty)f?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],s),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),u.push(e[o].style);else if("gr"===t[o].ty){if(f)for(l=e[o].it.length,h=0;h<l;h+=1)e[o].prevViewData[h]=e[o].it[h];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,s+1,d,n),t[o]._render&&e[o].gr.parentNode!==i&&i.appendChild(e[o].gr)}else"tr"===t[o].ty?(f||(e[o]=this.createTransformElement(t[o],i)),p=e[o].transform,d.push(p)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(f||(e[o]=this.createShapeElement(t[o],d,s)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty?(f?(c=e[o]).closed=!1:((c=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=c,this.shapeModifiers.push(c)),y.push(c)):"rp"===t[o].ty&&(f?(c=e[o]).closed=!0:(c=ShapeModifiers.getModifier(t[o].ty),e[o]=c,c.init(this,t,o,e),this.shapeModifiers.push(c),n=!1),y.push(c));this.addProcessedElement(t[o],o+1)}for(m=u.length,o=0;o<m;o+=1)u[o].closed=!0;for(m=y.length,o=0;o<m;o+=1)y[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:e,s=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+s);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=1+(r=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<i;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),n=createElementID();a.setAttribute("id",n),a.setAttribute("mask-type","alpha"),a.appendChild(e),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+locationHref+"#"+n+")");s[0];)o.appendChild(s[0]);this.elem.layerElement.appendChild(o),this.masker=a,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(s=this.elem.layerElement.children||this.elem.layerElement.childNodes;s.length;)this.elem.layerElement.removeChild(s[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,i,s=this.paths.length;for(e=0;e<s;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var n=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),h=i.getTotalLength();a="0 0 0 "+h*n+" ";var l,p=h*(o-n),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(p/c);for(l=0;l<f;l+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*h+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*d[0])+","+bmFloor(255*d[1])+","+bmFloor(255*d[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,s=i[0]+" "+r[0]+" "+e[0],a=i[1]+" "+r[1]+" "+e[1],n=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",n)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,s){for(var a,n,o=0,h=Math.min(t,e),l=Math.max(t,e),p=Array.call(null,{length:256}),c=0,f=s-i,d=e-t;o<=256;)n=(a=o/256)<=h?d<0?s:i:a>=l?d<0?i:s:i+f*Math.pow((a-t)/d,1/r),p[c]=n,c+=1,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGEffects(t){var e,r,i=t.data.ef?t.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),n=0;for(this.filters=[],e=0;e<i;e+=1)r=null,20===t.data.ef[e].ty?(n+=1,r=new SVGTintFilter(a,t.effectsManager.effectElements[e])):21===t.data.ef[e].ty?(n+=1,r=new SVGFillFilter(a,t.effectsManager.effectElements[e])):22===t.data.ef[e].ty?r=new SVGStrokeEffect(t,t.effectsManager.effectElements[e]):23===t.data.ef[e].ty?(n+=1,r=new SVGTritoneFilter(a,t.effectsManager.effectElements[e])):24===t.data.ef[e].ty?(n+=1,r=new SVGProLevelsFilter(a,t.effectsManager.effectElements[e])):25===t.data.ef[e].ty?(n+=1,r=new SVGDropShadowEffect(a,t.effectsManager.effectElements[e])):28===t.data.ef[e].ty?r=new SVGMatte3Effect(a,t.effectsManager.effectElements[e],t):29===t.data.ef[e].ty&&(n+=1,r=new SVGGaussianBlurEffect(a,t.effectsManager.effectElements[e])),r&&this.filters.push(r);n&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+locationHref+"#"+s+")")),this.filters.length&&t.addRenderableComponent(this)}function CVContextData(){var t;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CVMaskElement(t,e){var r;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i=this.masksProperties.length,s=!1;for(r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVEffects(){}function HBaseElement(){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var s,a=t.ks.or.k.length;for(s=0;s<a;s+=1)t.ks.or.k[s].to=null,t.ks.or.k[s].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var i,s=r.children,a=0,n=s.length;a<n&&s[a]!==t.layerElement;)a+=1;a<=n-2&&(i=s[a+1]);var o=createNS("use");o.setAttribute("href","#"+e),i?r.insertBefore(o,i):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var s=t.globalData.defs;s.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),s.appendChild(a);var n=createNS("use");n.setAttribute("href","#"+r),i.appendChild(n),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var r=0;for(r=this._length;r<t;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,i=t.getContext("2d"),s=this.img.width,a=this.img.height,n=s/a,o=this.assetData.w/this.assetData.h,h=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;n>o&&"xMidYMid slice"===h||n<o&&"xMidYMid slice"!==h?e=(r=a)*o:r=(e=s)/o,i.drawImage(this.img,(s-e)/2,(a-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,i,s=this.element.finalTransform.mat,a=this.element.canvasContext,n=this.masksProperties.length;for(a.beginPath(),t=0;t<n;t+=1)if("n"!==this.masksProperties[t].mode){var o;this.masksProperties[t].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),i=this.viewData[t].v,e=s.applyToPointArray(i.v[0][0],i.v[0][1],0),a.moveTo(e[0],e[1]);var h=i._length;for(o=1;o<h;o+=1)r=s.applyToTriplePoints(i.o[o-1],i.i[o],i.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=s.applyToTriplePoints(i.o[o-1],i.i[0],i.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},i={};if("fl"===t.ty||"st"===t.ty?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],1==t.lj&&(r.ml=t.ml),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var s=new DashProperty(this,t.d,"canvas",this);i.d=s,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,s){var a,n,o,h,l,p,c=t.length-1,f=[],d=[],m=[].concat(s);for(a=c;a>=0;a-=1){if((h=this.searchProcessedElement(t[a]))?e[a]=r[h-1]:t[a]._shouldRender=i,"fl"===t[a].ty||"st"===t[a].ty||"gf"===t[a].ty||"gs"===t[a].ty)h?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],m),f.push(e[a].style);else if("gr"===t[a].ty){if(h)for(o=e[a].it.length,n=0;n<o;n+=1)e[a].prevViewData[n]=e[a].it[n];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,i,m)}else"tr"===t[a].ty?(h||(p=this.createTransformElement(t[a]),e[a]=p),m.push(e[a]),this.addTransformToStyleList(e[a])):"sh"===t[a].ty||"rc"===t[a].ty||"el"===t[a].ty||"sr"===t[a].ty?h||(e[a]=this.createShapeElement(t[a])):"tm"===t[a].ty||"rd"===t[a].ty||"pb"===t[a].ty?(h?(l=e[a]).closed=!1:((l=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=l,this.shapeModifiers.push(l)),d.push(l)):"rp"===t[a].ty&&(h?(l=e[a]).closed=!0:(l=ShapeModifiers.getModifier(t[a].ty),e[a]=l,l.init(this,t,a,e),this.shapeModifiers.push(l),i=!1),d.push(l));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),c=d.length,a=0;a<c;a+=1)d[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,i,s,a,n,o,h,l=this.stylesList.length,p=this.globalData.renderer,c=this.globalData.canvasContext;for(t=0;t<l;t+=1)if(("st"!==(o=(h=this.stylesList[t]).type)&&"gs"!==o||0!==h.wi)&&h.data._shouldRender&&0!==h.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),a=h.elements,"st"===o||"gs"===o?(c.strokeStyle="st"===o?h.co:h.grd,c.lineWidth=h.wi,c.lineCap=h.lc,c.lineJoin=h.lj,c.miterLimit=h.ml||0):c.fillStyle="fl"===o?h.co:h.grd,p.ctxOpacity(h.coOp),"st"!==o&&"gs"!==o&&c.beginPath(),p.ctxTransform(h.preTransforms.finalTransform.props),r=a.length,e=0;e<r;e+=1){for("st"!==o&&"gs"!==o||(c.beginPath(),h.da&&(c.setLineDash(h.da),c.lineDashOffset=h.do)),s=(n=a[e].trNodes).length,i=0;i<s;i+=1)"m"===n[i].t?c.moveTo(n[i].p[0],n[i].p[1]):"c"===n[i].t?c.bezierCurveTo(n[i].pts[0],n[i].pts[1],n[i].pts[2],n[i].pts[3],n[i].pts[4],n[i].pts[5]):c.closePath();"st"!==o&&"gs"!==o||(c.stroke(),h.da&&c.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&c.fill(h.r),p.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var s,a;for(a=t,s=e.length-1;s>=0;s-=1)"tr"===e[s].ty?(a=r[s].transform,this.renderShapeTransform(t,a)):"sh"===e[s].ty||"el"===e[s].ty||"rc"===e[s].ty||"sr"===e[s].ty?this.renderPath(e[s],r[s]):"fl"===e[s].ty?this.renderFill(e[s],r[s],a):"st"===e[s].ty?this.renderStroke(e[s],r[s],a):"gf"===e[s].ty||"gs"===e[s].ty?this.renderGradientFill(e[s],r[s],a):"gr"===e[s].ty?this.renderShape(a,e[s].it,r[s].it):e[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,s,a=t.trNodes,n=e.paths,o=n._length;a.length=0;var h=t.transforms.finalTransform;for(s=0;s<o;s+=1){var l=n.shapes[s];if(l&&l.v){for(i=l._length,r=1;r<i;r+=1)1===r&&a.push({t:"m",p:h.applyToPointArray(l.v[0][0],l.v[0][1],0)}),a.push({t:"c",pts:h.applyToTriplePoints(l.o[r-1],l.i[r],l.v[r])});1===i&&a.push({t:"m",p:h.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&i&&(a.push({t:"c",pts:h.applyToTriplePoints(l.o[r-1],l.i[0],l.v[0])}),a.push({t:"z"}))}}t.trNodes=a}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i,s=e.style;if(!s.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var a,n=this.globalData.canvasContext,o=e.s.v,h=e.e.v;if(1===t.t)i=n.createLinearGradient(o[0],o[1],h[0],h[1]);else{var l=Math.sqrt(Math.pow(o[0]-h[0],2)+Math.pow(o[1]-h[1],2)),p=Math.atan2(h[1]-o[1],h[0]-o[0]),c=e.h.v;c>=1?c=.99:c<=-1&&(c=-.99);var f=l*c,d=Math.cos(p+e.a.v)*f+o[0],m=Math.sin(p+e.a.v)*f+o[1];i=n.createRadialGradient(d,m,0,o[0],o[1],l)}var u=t.g.p,y=e.g.c,g=1;for(a=0;a<u;a+=1)e.g._hasOpacity&&e.g._collapsable&&(g=e.g.o[2*a+1]),i.addColorStop(y[4*a]/100,"rgba("+y[4*a+1]+","+y[4*a+2]+","+y[4*a+3]+","+g+")");s.grd=i}s.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i,s,a,n,o,h,l,p,c,f,d,m,u=this.globalData.fontManager.getFontByName(t.f),y=t.l,g=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,s=t.finalText.length;var v=this.data.singleShape,b=.001*t.tr*t.finalSize,P=0,_=0,E=!0,S=0;for(i=0;i<s;i+=1){for(n=(a=this.globalData.fontManager.getCharData(t.finalText[i],u.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&a.data||{},g.reset(),v&&y[i].n&&(P=-b,_+=t.yOffset,_+=E?1:0,E=!1),c=(l=n.shapes?n.shapes[0].it:[]).length,g.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,g,y[i].line,P,_),d=createSizedArray(c),p=0;p<c;p+=1){for(h=l[p].ks.k.i.length,f=l[p].ks.k,m=[],o=1;o<h;o+=1)1===o&&m.push(g.applyToX(f.v[0][0],f.v[0][1],0),g.applyToY(f.v[0][0],f.v[0][1],0)),m.push(g.applyToX(f.o[o-1][0],f.o[o-1][1],0),g.applyToY(f.o[o-1][0],f.o[o-1][1],0),g.applyToX(f.i[o][0],f.i[o][1],0),g.applyToY(f.i[o][0],f.i[o][1],0),g.applyToX(f.v[o][0],f.v[o][1],0),g.applyToY(f.v[o][0],f.v[o][1],0));m.push(g.applyToX(f.o[o-1][0],f.o[o-1][1],0),g.applyToY(f.o[o-1][0],f.o[o-1][1],0),g.applyToX(f.i[0][0],f.i[0][1],0),g.applyToY(f.i[0][0],f.i[0][1],0),g.applyToX(f.v[0][0],f.v[0][1],0),g.applyToY(f.v[0][0],f.v[0][1],0)),d[p]=m}v&&(P+=y[i].l,P+=b),this.textSpans[S]?this.textSpans[S].elem=d:this.textSpans[S]={elem:d},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,i,s,a,n=this.canvasContext;n.font=this.values.fValue,n.lineCap="butt",n.lineJoin="miter",n.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,h=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;e=l.length;var p,c,f=null,d=null,m=null;for(t=0;t<e;t+=1)if(!l[t].n){if((o=h[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?f!==o.fc&&(f=o.fc,n.fillStyle=o.fc):f!==this.values.fill&&(f=this.values.fill,n.fillStyle=this.values.fill),i=(p=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),s=2;s<a;s+=6)this.globalData.canvasContext.bezierCurveTo(c[s],c[s+1],c[s+2],c[s+3],c[s+4],c[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?m!==o.sw&&(m=o.sw,n.lineWidth=o.sw):m!==this.values.sWidth&&(m=this.values.sWidth,n.lineWidth=this.values.sWidth),o&&o.sc?d!==o.sc&&(d=o.sc,n.strokeStyle=o.sc):d!==this.values.stroke&&(d=this.values.stroke,n.strokeStyle=this.values.stroke),i=(p=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),s=2;s<a;s+=6)this.globalData.canvasContext.bezierCurveTo(c[s],c[s+1],c[s+2],c[s+3],c[s+4],c[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var r,i=0;i<e;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,i,s,a,n,o=t.sh.v,h=t.transformers,l=o._length;if(!(l<=1)){for(r=0;r<l-1;r+=1)i=this.getTransformedPoint(h,o.v[r]),s=this.getTransformedPoint(h,o.o[r]),a=this.getTransformedPoint(h,o.i[r+1]),n=this.getTransformedPoint(h,o.v[r+1]),this.checkBounds(i,s,a,n,e);o.c&&(i=this.getTransformedPoint(h,o.v[r]),s=this.getTransformedPoint(h,o.o[r]),a=this.getTransformedPoint(h,o.i[0]),n=this.getTransformedPoint(h,o.v[0]),this.checkBounds(i,s,a,n,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,s){this.getBoundsOfCurve(t,e,r,i);var a=this.shapeBoundingBox;s.x=bmMin(a.left,s.x),s.xMax=bmMax(a.right,s.xMax),s.y=bmMin(a.top,s.y),s.yMax=bmMax(a.bottom,s.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var s,a,n,o,h,l,p,c=[[t[0],i[0]],[t[1],i[1]]],f=0;f<2;++f)a=6*t[f]-12*e[f]+6*r[f],s=-3*t[f]+9*e[f]-9*r[f]+3*i[f],n=3*e[f]-3*t[f],a|=0,n|=0,0==(s|=0)&&0===a||(0===s?(o=-n/a)>0&&o<1&&c[f].push(this.calculateF(o,t,e,r,i,f)):(h=a*a-4*n*s)>=0&&((l=(-a+bmSqrt(h))/(2*s))>0&&l<1&&c[f].push(this.calculateF(l,t,e,r,i,f)),(p=(-a-bmSqrt(h))/(2*s))>0&&p<1&&c[f].push(this.calculateF(p,t,e,r,i,f))));this.shapeBoundingBox.left=bmMin.apply(null,c[0]),this.shapeBoundingBox.top=bmMin.apply(null,c[1]),this.shapeBoundingBox.right=bmMax.apply(null,c[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,c[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,s,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it&&this.calculateBoundingBox(t[r].it,e)},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=s,i.webkitTransform=s}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i,s,a=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{e.fontFamily=a.fFamily;var n=t.fWeight,o=t.fStyle;e.fontStyle=o,e.fontWeight=n}var h,l,p,c=t.l;s=c.length;var f,d=this.mHelper,m="",u=0;for(i=0;i<s;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[u]?h=this.textPaths[u]:((h=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),h.setAttribute("stroke-linejoin",lineJoinEnum[2]),h.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[u]?p=(l=this.textSpans[u]).children[0]:((l=createTag("div")).style.lineHeight=0,(p=createNS("svg")).appendChild(h),styleDiv(l)))):this.isMasked?h=this.textPaths[u]?this.textPaths[u]:createNS("text"):this.textSpans[u]?(l=this.textSpans[u],h=this.textPaths[u]):(styleDiv(l=createTag("span")),styleDiv(h=createTag("span")),l.appendChild(h)),this.globalData.fontManager.chars){var y,g=this.globalData.fontManager.getCharData(t.finalText[i],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(y=g?g.data:null,d.reset(),y&&y.shapes&&(f=y.shapes[0].it,d.scale(t.finalSize/100,t.finalSize/100),m=this.createPathShape(d,f),h.setAttribute("d",m)),this.isMasked)this.innerElem.appendChild(h);else{if(this.innerElem.appendChild(l),y&&y.shapes){document.body.appendChild(p);var v=p.getBBox();p.setAttribute("width",v.width+2),p.setAttribute("height",v.height+2),p.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=p.style,P="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=P,b.webkitTransform=P,c[i].yOffset=v.y-1}else p.setAttribute("width",1),p.setAttribute("height",1);l.appendChild(p)}}else if(h.textContent=c[i].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(h);else{this.innerElem.appendChild(l);var _=h.style,E="translate3d(0,"+-t.finalSize/1.2+"px,0)";_.transform=E,_.webkitTransform=E}this.isMasked?this.textSpans[u]=h:this.textSpans[u]=l,this.textSpans[u].style.display="block",this.textPaths[u]=h,u+=1}for(;u<this.textSpans.length;)this.textSpans[u].style.display="none",u+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,i,s,a,n,o=0,h=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;for(i=l.length,r=0;r<i;r+=1)l[r].n?o+=1:(a=this.textSpans[r],n=this.textPaths[r],s=h[o],o+=1,s._mdf.m&&(this.isMasked?a.setAttribute("transform",s.m):(a.style.webkitTransform=s.m,a.style.transform=s.m)),a.style.opacity=s.o,s.sw&&s._mdf.sw&&n.setAttribute("stroke-width",s.sw),s.sc&&s._mdf.sc&&n.setAttribute("stroke",s.sc),s.fc&&s._mdf.fc&&(n.setAttribute("fill",s.fc),n.style.color=s.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var p=this.innerElem.getBBox();if(this.currentBBox.w!==p.width&&(this.currentBBox.w=p.width,this.svgElement.setAttribute("width",p.width)),this.currentBBox.h!==p.height&&(this.currentBBox.h=p.height,this.svgElement.setAttribute("height",p.height)),this.currentBBox.w!==p.width+2||this.currentBBox.h!==p.height+2||this.currentBBox.x!==p.x-1||this.currentBBox.y!==p.y-1){this.currentBBox.w=p.width+2,this.currentBBox.h=p.height+2,this.currentBBox.x=p.x-1,this.currentBBox.y=p.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var c="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=c,t.webkitTransform=c}}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r,i,s=this.comp.threeDElements.length;for(t=0;t<s;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){r=e.perspectiveElem.style,i=e.container.style;var a=this.pe.v+"px",n="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,i.transformOrigin=n,i.mozTransformOrigin=n,i.webkitTransformOrigin=n,r.transform=o,r.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;s=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],o=Math.sqrt(n[2]*n[2]+n[0]*n[0]),h=Math.atan2(n[1],o),l=Math.atan2(n[0],-n[2]);this.mat.rotateY(l).rotateX(-h)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var c,f,d;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(c=this.comp.threeDElements[t]).type){if(p){var m=this.mat.toCSS();(d=c.container.style).transform=m,d.webkitTransform=m}this.pe._mdf&&((f=c.perspectiveElem.style).perspective=this.pe.v+"px",f.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var t={},e=[],r=0,i=0,s=0,a=!0,n=!1;function o(t){for(var r=0,s=t.target;r<i;)e[r].animation===s&&(e.splice(r,1),r-=1,i-=1,s.isPaused||p()),r+=1}function h(t,r){if(!t)return null;for(var s=0;s<i;){if(e[s].elem===t&&null!==e[s].elem)return e[s].animation;s+=1}var a=new AnimationItem;return c(a,t),a.setData(t,r),a}function l(){s+=1,m()}function p(){s-=1}function c(t,r){t.addEventListener("destroy",o),t.addEventListener("_active",l),t.addEventListener("_idle",p),e.push({elem:r,animation:t}),i+=1}function f(t){var o,h=t-r;for(o=0;o<i;o+=1)e[o].animation.advanceTime(h);r=t,s&&!n?window.requestAnimationFrame(f):a=!0}function d(t){r=t,window.requestAnimationFrame(f)}function m(){!n&&s&&a&&(window.requestAnimationFrame(d),a=!1)}return t.registerAnimation=h,t.loadAnimation=function(t){var e=new AnimationItem;return c(e,null),e.setParams(t),e},t.setSpeed=function(t,r){var s;for(s=0;s<i;s+=1)e[s].animation.setSpeed(t,r)},t.setDirection=function(t,r){var s;for(s=0;s<i;s+=1)e[s].animation.setDirection(t,r)},t.play=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.play(t)},t.pause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.pause(t)},t.stop=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.stop(t)},t.togglePause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var i,s=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=s.length;for(i=0;i<a;i+=1)r&&s[i].setAttribute("data-bm-type",r),h(s[i],t);if(e&&0===a){r||(r="svg");var n=document.getElementsByTagName("body")[0];n.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),n.appendChild(o),h(o,t)}},t.resize=function(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,r,s){var a;for(a=0;a<i;a+=1)e[a].animation.goToAndStop(t,r,s)},t.destroy=function(t){var r;for(r=i-1;r>=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){n=!0},t.unfreeze=function(){n=!1,m()},t.setVolume=function(t,r){var s;for(s=0;s<i;s+=1)e[s].animation.setVolume(t,r)},t.mute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.mute(t)},t.unmute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i.push(e[t].animation);return i},t}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";switch(t.animType?e=t.animType:t.renderer&&(e=t.renderer),e){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,t.rendererSettings);break;default:this.renderer=new HybridRenderer(this,t.rendererSettings)}this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!=typeof e&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===s?r.loop=!1:"true"===s?r.loop=!0:""!==s&&(r.loop=parseInt(s,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,s=i.length,a=t.layers,n=a.length;for(r=0;r<n;r+=1)for(e=0;e<s;){if(i[e].id===a[r].id){i[e]=a[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(s=t.assets.length,e=0;e<s;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t,expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if((e=this.markers[r]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&this.goToAndStop(s.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"==typeof t[0]){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":case"drawnFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var Expressions=function(){var t={initExpressions:function(t){var e=0,r=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}}};return t}();expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=typeof t;if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,s=[];for(r=0;r<i;r+=1)s[r]=-t[r];return s}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=typeof t,i=typeof e;if("string"===r||"string"===i)return t+e;if(isNumerable(r,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,o=[];s<a||s<n;)("number"==typeof t[s]||t[s]instanceof Number)&&("number"==typeof e[s]||e[s]instanceof Number)?o[s]=t[s]+e[s]:o[s]=void 0===e[s]?t[s]:t[s]||e[s],s+=1;return o}return 0}var add=sum;function sub(t,e){var r=typeof t,i=typeof e;if(isNumerable(r,t)&&isNumerable(i,e))return"string"===r&&(t=parseInt(t,10)),"string"===i&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,o=[];s<a||s<n;)("number"==typeof t[s]||t[s]instanceof Number)&&("number"==typeof e[s]||e[s]instanceof Number)?o[s]=t[s]-e[s]:o[s]=void 0===e[s]?t[s]:t[s]||e[s],s+=1;return o}return 0}function mul(t,e){var r,i,s,a=typeof t,n=typeof e;if(isNumerable(a,t)&&isNumerable(n,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e)){for(s=t.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t[i]*e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(s=e.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t*e[i];return r}return 0}function div(t,e){var r,i,s,a=typeof t,n=typeof e;if(isNumerable(a,t)&&isNumerable(n,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e)){for(s=t.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t[i]/e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(s=e.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t/e[i];return r}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var i=Math.min(t.length,e.length),s=0;for(r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,i=t[0],s=t[1],a=t[2],n=Math.max(i,s,a),o=Math.min(i,s,a),h=(n+o)/2;if(n===o)e=0,r=0;else{var l=n-o;switch(r=h>.5?l/(2-n-o):l/(n+o),n){case i:e=(s-a)/l+(s<a?6:0);break;case s:e=(a-i)/l+2;break;case a:e=(i-s)/l+4}e/=6}return[e,r,h,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,i,s=t[0],a=t[1],n=t[2];if(0===a)e=n,i=n,r=n;else{var o=n<.5?n*(1+a):n+a-n*a,h=2*n-o;e=hue2rgb(h,o,s+1/3),r=hue2rgb(h,o,s),i=hue2rgb(h,o,s-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,s){if(void 0!==i&&void 0!==s||(i=e,s=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return i;if(t>=r)return s;var n,o=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*o;var h=i.length,l=createTypedArray("float32",h);for(n=0;n<h;n+=1)l[n]=i[n]+(s[n]-i[n])*o;return l}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var s=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)s[r]=t[r]+a*(e[r]-t[r]);return s}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,r,i){var s,a=t.length,n=shapePool.newElement();n.setPathData(!!i,a);var o,h,l=[0,0];for(s=0;s<a;s+=1)o=e&&e[s]?e[s]:l,h=r&&r[s]?r[s]:l,n.setTripleAt(t[s][0],t[s][1],h[0]+t[s][0],h[1]+t[s][1],o[0]+t[s][0],o[1]+t[s][1],s,!0);return n}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,i,s=this.pv.length?this.pv.length:1,a=createTypedArray("float32",s),n=Math.floor(5*time);for(r=0,i=0;r<n;){for(i=0;i<s;i+=1)a[i]+=-e+2*e*BMMath.random();r+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",s);if(s>1){for(i=0;i<s;i+=1)l[i]=this.pv[i]+a[i]+(-e+2*e*BMMath.random())*h;return l}return this.pv+a[0]+(-e+2*e*BMMath.random())*h}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(t,e,r,i,s){return applyEase(easeOutBez,t,e,r,i,s)}function easeIn(t,e,r,i,s){return applyEase(easeInBez,t,e,r,i,s)}function ease(t,e,r,i,s){return applyEase(easeInOutBez,t,e,r,i,s)}function applyEase(t,e,r,i,s,a){void 0===s?(s=r,a=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var n=t(e);if($bm_isInstanceOfArray(s)){var o,h=s.length,l=createTypedArray("float32",h);for(o=0;o<h;o+=1)l[o]=(a[o]-s[o])*n+s[o];return l}return(a-s)*n+s}function nearestKey(t){var e,r,i,s=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(e=0;e<s-1;e+=1){if(t===data.k[e].t){r=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;r<i;r+=1)e[r]=s[r],e.value[r]=s[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),i=0;if(e.length){var s;for(s=0;s<e.length;s+=1)i+=Math.pow(r[s]-e[s],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,i=-.001,s=this.getValueAtTime(t),a=this.getValueAtTime(t+i);if(s.length)for(e=createTypedArray("float32",s.length),r=0;r<s.length;r+=1)e[r]=(a[r]-s[r])/i;else e=(a-s)/i;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};!function(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,s,a,n,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(r?s=p-(i=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),i=p-(s=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-s)/i)%2!=0)return this.getValueAtTime((i-(h-s)%i+s)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(s/this.comp.globalData.frameRate,0),f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),d=this.getValueAtTime(((h-s)%i+s)/this.comp.globalData.frameRate,0),m=Math.floor((h-s)/i);if(this.pv.length){for(n=(o=new Array(c.length)).length,a=0;a<n;a+=1)o[a]=(f[a]-c[a])*m+d[a];return o}return(f-c)*m+d}if("continue"===t){var u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(n=(o=new Array(u.length)).length,a=0;a<n;a+=1)o[a]=u[a]+(u[a]-y[a])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return u+(h-p)/.001*(u-y)}}return this.getValueAtTime(((h-s)%i+s)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,s,a,n,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(h>=p)return this.pv;if(r?s=p+(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>l.length-1)&&(e=l.length-1),i=(s=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/i)%2==0)return this.getValueAtTime(((p-h)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),f=this.getValueAtTime(s/this.comp.globalData.frameRate,0),d=this.getValueAtTime((i-(p-h)%i+p)/this.comp.globalData.frameRate,0),m=Math.floor((p-h)/i)+1;if(this.pv.length){for(n=(o=new Array(c.length)).length,a=0;a<n;a+=1)o[a]=d[a]-(f[a]-c[a])*m;return o}return d-(f-c)*m}if("continue"===t){var u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(n=(o=new Array(u.length)).length,a=0;a<n;a+=1)o[a]=u[a]+(u[a]-y[a])*(p-h)/.001;return o}return u+(u-y)*(p-h)/.001}}return this.getValueAtTime((i-((p-h)%i+p))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,i,s=this.comp.renderedFrame/this.comp.globalData.frameRate,a=s-t,n=e>1?(s+t-a)/(e-1):1,o=0,h=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(i=this.getValueAtTime(a+o*n),this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]+=i[h];else r+=i;o+=1}if(this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]/=e;else r/=e;return r}function i(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(t);e.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var s=this.sk.getValueAtTime(t),a=this.sa.getValueAtTime(t);e.skewFromAxis(-s*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var n=this.r.getValueAtTime(t);e.rotate(-n*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(t),h=this.ry.getValueAtTime(t),l=this.rx.getValueAtTime(t),p=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(h*this.ry.mult).rotateX(l*this.rx.mult).rotateZ(-p[2]*this.or.mult).rotateY(p[1]*this.or.mult).rotateX(p[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var c=this.px.getValueAtTime(t),f=this.py.getValueAtTime(t);if(this.data.p.z){var d=this.pz.getValueAtTime(t);e.translate(c*this.px.mult,f*this.py.mult,-d*this.pz.mult)}else e.translate(c*this.px.mult,f*this.py.mult,0)}else{var m=this.p.getValueAtTime(t);e.translate(m[0]*this.p.mult,m[1]*this.p.mult,-m[2]*this.p.mult)}return e}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var n=a(t,e,r);return n.dynamicProperties.length?n.getValueAtTime=i.bind(n):n.getValueAtTime=s.bind(n),n.setGroupProperty=expressionHelpers.setGroupProperty,n};var n=PropertyFactory.getProp;PropertyFactory.getProp=function(i,s,a,o,h){var l=n(i,s,a,o,h);l.kf?l.getValueAtTime=expressionHelpers.getValueAtTime.bind(l):l.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(l),l.setGroupProperty=expressionHelpers.setGroupProperty,l.loopOut=t,l.loopIn=e,l.smooth=r,l.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(l),l.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(l),l.numKeys=1===s.a?s.k.length:0,l.propertyIndex=s.ix;var p=0;return 0!==a&&(p=createTypedArray("float32",1===s.a?s.k[0].s.length:s.k.length)),l._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(i,s,l),l.k&&h.addDynamicProperty(l),l};var o=ShapePropertyFactory.getConstructorFunction(),h=ShapePropertyFactory.getKeyframedConstructorFunction();function l(){}l.prototype={vertices:function(t,e){this.k&&this.getValue();var r,i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var s=i._length,a=i[t],n=i.v,o=createSizedArray(s);for(r=0;r<s;r+=1)o[r]="i"===t||"o"===t?[a[r][0]-n[r][0],a[r][1]-n[r][1]]:[a[r][0],a[r][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,s=this._segmentsLength,a=s.lengths,n=s.totalLength*t,o=0,h=a.length,l=0;o<h;){if(l+a[o].addedLength>n){var p=o,c=r.c&&o===h-1?0:o+1,f=(n-l)/a[o].addedLength;i=bez.getPointInSegment(r.v[p],r.v[c],r.o[p],r.i[c],f,a[o]);break}l+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),s=this.pointOnPath(t+.001,e),a=s[0]-i[0],n=s[1]-i[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(n,2));return 0===o?[0,0]:"tangent"===r?[a/o,n/o]:[-n/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],o),extendPrototype([l],h),h.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},h.prototype.initiateExpression=ExpressionManager.initiateExpression;var p=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,i,s){var a=p(t,e,r,i,s);return a.propertyIndex=e.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,a):4===r&&expressionHelpers.searchExpressions(t,e.ks,a),a.k&&t.addDynamicProperty(a),a}}(),TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null};var ShapePathInterface=function(t,e,r){var i=e.sh;function s(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?s.path:null}var a=propertyGroupFactory(s,r);return i.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(s,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),s},propertyGroupFactory=function(t,e){return function(r){return(r=void 0===r?1:r)<=0?t:e(r-1)}},PropertyInterface=function(t,e){var r={_name:t};return function(t){return(t=void 0===t?1:t)<=0?r:e(t-1)}},ShapeExpressionInterface=function(){function t(t,n,f){var d,m=[],u=t?t.length:0;for(d=0;d<u;d+=1)"gr"===t[d].ty?m.push(e(t[d],n[d],f)):"fl"===t[d].ty?m.push(r(t[d],n[d],f)):"st"===t[d].ty?m.push(s(t[d],n[d],f)):"tm"===t[d].ty?m.push(a(t[d],n[d],f)):"tr"===t[d].ty||("el"===t[d].ty?m.push(o(t[d],n[d],f)):"sr"===t[d].ty?m.push(h(t[d],n[d],f)):"sh"===t[d].ty?m.push(ShapePathInterface(t[d],n[d],f)):"rc"===t[d].ty?m.push(l(t[d],n[d],f)):"rd"===t[d].ty?m.push(p(t[d],n[d],f)):"rp"===t[d].ty?m.push(c(t[d],n[d],f)):"gf"===t[d].ty?m.push(i(t[d],n[d],f)):m.push((t[d],n[d],function(){return null})));return m}function e(e,r,i){var s=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}};s.propertyGroup=propertyGroupFactory(s,i);var a=function(e,r,i){var s,a=function(t){for(var e=0,r=s.length;e<r;){if(s[e]._name===t||s[e].mn===t||s[e].propertyIndex===t||s[e].ix===t||s[e].ind===t)return s[e];e+=1}return"number"==typeof t?s[t-1]:null};a.propertyGroup=propertyGroupFactory(a,i),s=t(e.it,r.it,a.propertyGroup),a.numProperties=s.length;var o=n(e.it[e.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=e.cix,a._name=e.nm,a}(e,r,s.propertyGroup),o=n(e.it[e.it.length-1],r.it[r.it.length-1],s.propertyGroup);return s.content=a,s.transform=o,Object.defineProperty(s,"_name",{get:function(){return e.nm}}),s.numProperties=e.np,s.propertyIndex=e.ix,s.nm=e.nm,s.mn=e.mn,s}function r(t,e,r){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function i(t,e,r){function i(t){return"Start Point"===t||"start point"===t?i.startPoint:"End Point"===t||"end point"===t?i.endPoint:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function s(t,e,r){var i,s=propertyGroupFactory(l,r),a=propertyGroupFactory(h,s);function n(r){Object.defineProperty(h,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var o=t.d?t.d.length:0,h={};for(i=0;i<o;i+=1)n(i),e.d.dataProps[i].p.setGroupProperty(a);function l(t){return"Color"===t||"color"===t?l.color:"Opacity"===t||"opacity"===t?l.opacity:"Stroke Width"===t||"stroke width"===t?l.strokeWidth:null}return Object.defineProperties(l,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return h}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",s)),e.o.setGroupProperty(PropertyInterface("Opacity",s)),e.w.setGroupProperty(PropertyInterface("Stroke Width",s)),l}function a(t,e,r){function i(e){return e===t.e.ix||"End"===e||"end"===e?i.end:e===t.s.ix?i.start:e===t.o.ix?i.offset:null}var s=propertyGroupFactory(i,r);return i.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",s)),e.e.setGroupProperty(PropertyInterface("End",s)),e.o.setGroupProperty(PropertyInterface("Offset",s)),i.propertyIndex=t.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),i.mn=t.mn,i}function n(t,e,r){function i(e){return t.a.ix===e||"Anchor Point"===e?i.anchorPoint:t.o.ix===e||"Opacity"===e?i.opacity:t.p.ix===e||"Position"===e?i.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?i.rotation:t.s.ix===e||"Scale"===e?i.scale:t.sk&&t.sk.ix===e||"Skew"===e?i.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?i.skewAxis:null}var s=propertyGroupFactory(i,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",s)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",s)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",s)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",s)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",s)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",s)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",s))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",s)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),i.ty="tr",i.mn=t.mn,i.propertyGroup=r,i}function o(t,e,r){function i(e){return t.p.ix===e?i.position:t.s.ix===e?i.size:null}var s=propertyGroupFactory(i,r);i.propertyIndex=t.ix;var a="tm"===e.sh.ty?e.sh.prop:e.sh;return a.s.setGroupProperty(PropertyInterface("Size",s)),a.p.setGroupProperty(PropertyInterface("Position",s)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:t.nm}}),i.mn=t.mn,i}function h(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.rotation:t.pt.ix===e?i.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?i.outerRadius:t.os.ix===e?i.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?i.innerRoundness:null:i.innerRadius}var s=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",s)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",s)),a.pt.setGroupProperty(PropertyInterface("Points",s)),a.p.setGroupProperty(PropertyInterface("Position",s)),a.r.setGroupProperty(PropertyInterface("Rotation",s)),t.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",s)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",s))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:t.nm}}),i.mn=t.mn,i}function l(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?i.size:null}var s=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.p.setGroupProperty(PropertyInterface("Position",s)),a.s.setGroupProperty(PropertyInterface("Size",s)),a.r.setGroupProperty(PropertyInterface("Rotation",s)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:t.nm}}),i.mn=t.mn,i}function p(t,e,r){function i(e){return t.r.ix===e||"Round Corners 1"===e?i.radius:null}var s=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.rd.setGroupProperty(PropertyInterface("Radius",s)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:t.nm}}),i.mn=t.mn,i}function c(t,e,r){function i(e){return t.c.ix===e||"Copies"===e?i.copies:t.o.ix===e||"Offset"===e?i.offset:null}var s=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.c.setGroupProperty(PropertyInterface("Copies",s)),a.o.setGroupProperty(PropertyInterface("Offset",s)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:t.nm}}),i.mn=t.mn,i}return function(e,r,i){var s;function a(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?i:s[t-1];for(var e=0,r=s.length;e<r;){if(s[e]._name===t)return s[e];e+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return i})),s=t(e,r,a.propertyGroup),a.numProperties=s.length,a._name="Contents",a}}(),TextExpressionInterface=function(t){var e,r;function i(t){return"ADBE Text Document"===t?i.sourceText:null}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var i=t.textProperty.currentData.t;return i!==e&&(t.textProperty.currentData.t=e,(r=new String(i)).value=i||new String(i)),r}}),i},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function s(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function n(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function o(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function h(){return[1,1,1,1]}return function(l){var p;function c(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return c.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return p;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return c.effect;case"ADBE Text Properties":return c.textInterface;default:return null}}c.getMatrix=t,c.invertPoint=n,c.applyPoint=a,c.toWorld=r,c.toWorldVec=e,c.fromWorld=s,c.fromWorldVec=i,c.toComp=r,c.fromComp=o,c.sampleImage=h,c.sourceRectAtTime=l.sourceRectAtTime.bind(l),c._elem=l;var f=getDescriptor(p=TransformExpressionInterface(l.finalTransform.mProp),"anchorPoint");return Object.defineProperties(c,{hasParent:{get:function(){return l.hierarchy.length}},parent:{get:function(){return l.hierarchy[0].layerInterface}},rotation:getDescriptor(p,"rotation"),scale:getDescriptor(p,"scale"),position:getDescriptor(p,"position"),opacity:getDescriptor(p,"opacity"),anchorPoint:f,anchor_point:f,transform:{get:function(){return p}},active:{get:function(){return l.isInRange}}}),c.startTime=l.data.st,c.index=l.data.ind,c.source=l.data.refId,c.height=0===l.data.ty?l.data.h:100,c.width=0===l.data.ty?l.data.w:100,c.inPoint=l.data.ip/l.comp.globalData.frameRate,c.outPoint=l.data.op/l.comp.globalData.frameRate,c._name=l.data.nm,c.registerMaskInterface=function(t){c.mask=new MaskManagerInterface(t,l)},c.registerEffectsInterface=function(t){c.effect=t},c}}(),FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",r=t.getFootageData();function i(t){if(r[t])return e=t,"object"==typeof(r=r[t])?i:r;var s=t.indexOf(e);if(-1!==s){var a=parseInt(t.substr(s+e.length),10);return"object"==typeof(r=r[a])?i:r}return""}return function(){return e="",r=t.getFootageData(),i}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory,CompExpressionInterface=function(t){function e(e){for(var r=0,i=t.layers.length;r<i;){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,i,s,a;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?a=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(s=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[r(),i(),s?s():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:function(t,r){if(t.effectsManager){var i,s=[],a=t.data.ef,n=t.effectsManager.effectElements.length;for(i=0;i<n;i+=1)s.push(e(a[i],t.effectsManager.effectElements[i],r,t));var o=t.data.ef||[],h=function(t){for(i=0,n=o.length;i<n;){if(t===o[i].nm||t===o[i].mn||t===o[i].ix)return s[i];i+=1}return null};return Object.defineProperty(h,"numProperties",{get:function(){return o.length}}),h}return null}};function e(t,i,s,a){function n(e){for(var r=t.ef,i=0,s=r.length;i<s;){if(e===r[i].nm||e===r[i].mn||e===r[i].ix)return 5===r[i].ty?l[i]:l[i]();i+=1}throw new Error}var o,h=propertyGroupFactory(n,s),l=[],p=t.ef.length;for(o=0;o<p;o+=1)5===t.ef[o].ty?l.push(e(t.ef[o],i.effectElements[o],i.effectElements[o].propertyGroup,a)):l.push(r(i.effectElements[o],t.ef[o].ty,a,h));return"ADBE Color Control"===t.mn&&Object.defineProperty(n,"color",{get:function(){return l[0]()}}),Object.defineProperties(n,{numProperties:{get:function(){return t.np}},_name:{value:t.nm},propertyGroup:{value:h}}),n.enabled=0!==t.en,n.active=n.enabled,n}function r(t,e,r,i){var s=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",i)),function(){return 10===e?r.comp.compInterface(t.p.v):s()}}return t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var r,i=createSizedArray(e.viewData.length),s=e.viewData.length;for(r=0;r<s;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<s;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(i){if(!t.numKeys)return 0;var s="";s="s"in e.keyframes[i-1]?e.keyframes[i-1].s:"e"in e.keyframes[i-2]?e.keyframes[i-2].e:e.keyframes[i-2].s;var a="unidimensional"===r?new Number(s):Object.assign({},s);return a.time=e.keyframes[i-1].t/e.elem.comp.globalData.frameRate,a.value="unidimensional"===r?s[0]:s,a},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function i(){return t}return function(s){return s?"unidimensional"===s.propType?function(e){e&&"pv"in e||(e=t);var i=1/e.mult,s=e.pv*i,a=new Number(s);return a.value=s,r(a,e,"unidimensional"),function(){return e.k&&e.getValue(),s=e.v*i,a.value!==s&&((a=new Number(s)).value=s,r(a,e,"unidimensional")),a}}(s):function(t){t&&"pv"in t||(t=e);var i=1/t.mult,s=t.data&&t.data.l||t.pv.length,a=createTypedArray("float32",s),n=createTypedArray("float32",s);return a.value=n,r(a,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<s;e+=1)n[e]=t.v[e]*i,a[e]=n[e];return a}}(s):i}}(),TextExpressionSelectorPropFactory=function(){function t(t,e){return this.textIndex=t+1,this.textTotal=e,this.v=this.getValue()*this.mult,this.v}return function(e,r){this.pv=1,this.comp=e.comp,this.elem=e,this.mult=.01,this.propType="textSelector",this.textTotal=r.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(e,r,this),this.getMult=t,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),propertyGetTextProp=TextSelectorProp.getTextSelectorProp;function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,i=t.ef||[];this.effectElements=[];var s,a=i.length;for(r=0;r<a;r+=1)s=new GroupEffect(i[r],e),this.effectElements.push(s)}function GroupEffect(t,e){this.init(t,e)}TextSelectorProp.getTextSelectorProp=function(t,e,r){return 1===e.t?new TextExpressionSelectorPropFactory(t,e,r):propertyGetTextProp(t,e,r)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var r;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,s=this.data.ef.length,a=this.data.ef;for(r=0;r<s;r+=1){switch(i=null,a[r].ty){case 0:i=new SliderEffect(a[r],e,this);break;case 1:i=new AngleEffect(a[r],e,this);break;case 2:i=new ColorEffect(a[r],e,this);break;case 3:i=new PointEffect(a[r],e,this);break;case 4:case 7:i=new CheckboxEffect(a[r],e,this);break;case 10:i=new LayerIndexEffect(a[r],e,this);break;case 11:i=new MaskIndexEffect(a[r],e,this);break;case 5:i=new EffectsManager(a[r],e,this);break;default:i=new NoValueEffect(a[r],e,this)}i&&this.effectElements.push(i)}};var lottie={};function setLocationHref(t){locationHref=t}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){subframeEnabled=t}function setIDPrefix(t){idPrefix=t}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":defaultCurveSegments=200;break;default:case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(t)&&t>1&&(defaultCurveSegments=t);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&(expressionsPlugin=e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=function(t){_useWebWorker=t},lottie.setIDPrefix=setIDPrefix,lottie.__getFactory=getFactory,lottie.version="5.8.1";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="",queryString;if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src.replace(/^[^\?]+\??/,""),renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottie},module.exports?module.exports=factory(root):(root.lottie=factory(root),root.bodymovin=root.lottie))})(lottie$1);var lottie=lottie$1.exports,_templateObject$1,styles=r$3(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n\n :host {\n --lottie-player-toolbar-height: 35px;\n --lottie-player-toolbar-background-color: transparent;\n --lottie-player-toolbar-icon-color: #999;\n --lottie-player-toolbar-icon-hover-color: #222;\n --lottie-player-toolbar-icon-active-color: #555;\n --lottie-player-seeker-track-color: #ccc;\n --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);\n --lottie-player-seeker-display: block;\n\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .main {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .animation {\n width: 100%;\n height: 100%;\n display: flex;\n }\n .animation.controls {\n height: calc(100% - 35px);\n }\n\n .toolbar {\n display: flex;\n align-items: center;\n justify-items: center;\n background-color: var(--lottie-player-toolbar-background-color);\n margin: 0 5px;\n height: 35px;\n }\n\n .toolbar button {\n cursor: pointer;\n fill: var(--lottie-player-toolbar-icon-color);\n display: flex;\n background: none;\n border: 0;\n padding: 0;\n outline: none;\n height: 100%;\n }\n\n .toolbar button:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button.active {\n fill: var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button.active:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button:focus {\n outline: 1px dotted var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button svg {\n }\n\n .toolbar button.disabled svg {\n display: none;\n }\n\n .seeker {\n -webkit-appearance: none;\n width: 95%;\n outline: none;\n background-color: var(--lottie-player-toolbar-background-color);\n display: var(--lottie-player-seeker-display);\n }\n\n .seeker::-webkit-slider-runnable-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-webkit-slider-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -5px;\n }\n .seeker:focus::-webkit-slider-runnable-track {\n background: #999;\n }\n .seeker::-moz-range-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-moz-range-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker::-ms-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n }\n .seeker::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-thumb {\n border: 0;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker:focus::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n }\n .seeker:focus::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n }\n\n .error {\n display: flex;\n justify-content: center;\n height: 100%;\n align-items: center;\n }\n"]))),_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents;function parseSrc(t){if("object"==typeof t)return t;try{return JSON.parse(t)}catch(e){return new URL(t,window.location.href).toString()}}function isLottie(t){return["v","ip","op","layers","fr","w","h"].every((e=>Object.prototype.hasOwnProperty.call(t,e)))}function fromURL(t){return _fromURL.apply(this,arguments)}function _fromURL(){return(_fromURL=_asyncToGenerator((function*(t){if("string"!=typeof t)throw new Error("The url value must be a string");var e;try{var r=new URL(t),i=yield fetch(r.toString());e=yield i.json()}catch(t){throw new Error("An error occurred while trying to load the Lottie file from URL")}return e}))).apply(this,arguments)}exports.PlayerState=void 0,PlayerState=exports.PlayerState||(exports.PlayerState={}),PlayerState.Destroyed="destroyed",PlayerState.Error="error",PlayerState.Frozen="frozen",PlayerState.Loading="loading",PlayerState.Paused="paused",PlayerState.Playing="playing",PlayerState.Stopped="stopped",exports.PlayMode=void 0,PlayMode=exports.PlayMode||(exports.PlayMode={}),PlayMode.Bounce="bounce",PlayMode.Normal="normal",exports.PlayerEvents=void 0,PlayerEvents=exports.PlayerEvents||(exports.PlayerEvents={}),PlayerEvents.Complete="complete",PlayerEvents.Destroyed="destroyed",PlayerEvents.Error="error",PlayerEvents.Frame="frame",PlayerEvents.Freeze="freeze",PlayerEvents.Load="load",PlayerEvents.Loop="loop",PlayerEvents.Pause="pause",PlayerEvents.Play="play",PlayerEvents.Ready="ready",PlayerEvents.Rendered="rendered",PlayerEvents.Stop="stop",exports.LottiePlayer=class extends s{constructor(){super(...arguments),this.autoplay=!1,this.background="transparent",this.controls=!1,this.currentState=exports.PlayerState.Loading,this.description="Lottie animation",this.direction=1,this.hover=!1,this.intermission=1,this.loop=!1,this.mode=exports.PlayMode.Normal,this.preserveAspectRatio="xMidYMid meet",this.renderer="svg",this.speed=1,this._io=void 0,this._counter=1}load(t){var e=this;return _asyncToGenerator((function*(){if(e.shadowRoot){var r={container:e.container,loop:!1,autoplay:!1,renderer:e.renderer,rendererSettings:{preserveAspectRatio:e.preserveAspectRatio,clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0}};try{var i=parseSrc(t),s={},a="string"==typeof i?"path":"animationData";e._lottie&&e._lottie.destroy(),e.webworkers&&lottie$1.exports.useWebWorker(!0),e._lottie=lottie$1.exports.loadAnimation(Object.assign(Object.assign({},r),{[a]:i})),e._attachEventListeners(),"path"===a?(s=yield fromURL(i),a="animationData"):s=i,isLottie(s)||(e.currentState=exports.PlayerState.Error,e.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error)))}catch(t){e.currentState=exports.PlayerState.Error,e.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error))}}}))()}getLottie(){return this._lottie}play(){this._lottie&&(this._lottie.play(),this.currentState=exports.PlayerState.Playing,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=exports.PlayerState.Paused,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=1,this._lottie.stop(),this.currentState=exports.PlayerState.Stopped,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Stop)))}destroy(){this._lottie&&(this._lottie.destroy(),this._lottie=null,this.currentState=exports.PlayerState.Destroyed,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Destroyed)),this.remove())}seek(t){if(this._lottie){var e=/^(\d+)(%?)$/.exec(t.toString());if(e){var r="%"===e[2]?this._lottie.totalFrames*Number(e[1])/100:Number(e[1]);this.seeker=r,this.currentState===exports.PlayerState.Playing?this._lottie.goToAndPlay(r,!0):(this._lottie.goToAndStop(r,!0),this._lottie.pause())}}}snapshot(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.shadowRoot){var e=this.shadowRoot.querySelector(".animation svg"),r=(new XMLSerializer).serializeToString(e);if(t){var i=document.createElement("a");i.href="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(r)),i.download="download_".concat(this.seeker,".svg"),document.body.appendChild(i),i.click(),document.body.removeChild(i)}return r}}setSpeed(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._lottie&&this._lottie.setSpeed(t)}setDirection(t){this._lottie&&this._lottie.setDirection(t)}setLooping(t){this._lottie&&(this.loop=t,this._lottie.loop=t)}togglePlay(){return this.currentState===exports.PlayerState.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}resize(){this._lottie&&this._lottie.resize()}static get styles(){return styles}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",(()=>this._onVisibilityChange())),this.destroy()}render(){var t=this.controls?"main controls":"main",e=this.controls?"animation controls":"animation";return $(_templateObject||(_templateObject=_taggedTemplateLiteral([' <div\n id="animation-container"\n class=','\n lang="en"\n aria-label=','\n role="img"\n >\n <div\n id="animation"\n class=','\n style="background:',';"\n >\n ',"\n </div>\n ","\n </div>"])),t,this.description,e,this.background,this.currentState===exports.PlayerState.Error?$(_templateObject2||(_templateObject2=_taggedTemplateLiteral(['<div class="error">⚠️</div>']))):void 0,this.controls?this.renderControls():void 0)}firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver((t=>{t[0].isIntersecting?this.currentState===exports.PlayerState.Frozen&&this.play():this.currentState===exports.PlayerState.Playing&&this.freeze()})),this._io.observe(this.container)),void 0!==document.hidden&&document.addEventListener("visibilitychange",(()=>this._onVisibilityChange())),this.src&&this.load(this.src),this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Rendered))}renderControls(){var t=this.currentState===exports.PlayerState.Playing,e=this.currentState===exports.PlayerState.Paused,r=this.currentState===exports.PlayerState.Stopped;return $(_templateObject3||(_templateObject3=_taggedTemplateLiteral(['\n <div\n id="lottie-controls"\n aria-label="lottie-animation-controls"\n class="toolbar"\n >\n <button\n id="lottie-play-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="play-pause"\n >\n ','\n </button>\n <button\n id="lottie-stop-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="stop"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path d="M6 6h12v12H6V6z" />\n </svg>\n </button>\n <input\n id="lottie-seeker-input"\n class="seeker"\n type="range"\n min="0"\n step="1"\n max="100"\n .value=',"\n @input=","\n @mousedown=","\n @mouseup=",'\n aria-valuemin="1"\n aria-valuemax="100"\n role="slider"\n aria-valuenow=','\n tabindex="0"\n aria-label="lottie-seek-input"\n />\n <button\n id="lottie-loop-toggle"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="loop-toggle"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path\n d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"\n />\n </svg>\n </button>\n </div>\n '])),this.togglePlay,t||e?"active":"",$(t?_templateObject4||(_templateObject4=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path\n d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z"\n />\n </svg>'])):_templateObject5||(_templateObject5=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />\n </svg>']))),this.stop,r?"active":"",this.seeker,this._handleSeekChange,(()=>{this._prevState=this.currentState,this.freeze()}),(()=>{this._prevState===exports.PlayerState.Playing&&this.play()}),this.seeker,this.toggleLooping,this.loop?"active":"")}_onVisibilityChange(){!0===document.hidden&&this.currentState===exports.PlayerState.Playing?this.freeze():this.currentState===exports.PlayerState.Frozen&&this.play()}_handleSeekChange(t){if(this._lottie&&!isNaN(t.target.value)){var e=t.target.value/100*this._lottie.totalFrames;this.seek(e)}}_attachEventListeners(){this._lottie.addEventListener("enterFrame",(()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))})),this._lottie.addEventListener("complete",(()=>{if(this.currentState===exports.PlayerState.Playing){if(!this.loop||this.count&&this._counter>=this.count){if(this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Complete)),this.mode!==exports.PlayMode.Bounce)return;if(0===this._lottie.currentFrame)return}this.mode===exports.PlayMode.Bounce?(this.count&&(this._counter+=.5),setTimeout((()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Loop)),this.currentState===exports.PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())}),this.intermission)):(this.count&&(this._counter+=1),window.setTimeout((()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Loop)),this.currentState===exports.PlayerState.Playing&&(-1===this.direction?(this.seek("99%"),this.play()):(this._lottie.stop(),this._lottie.play()))}),this.intermission))}else this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Complete))})),this._lottie.addEventListener("DOMLoaded",(()=>{this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&(-1===this.direction&&this.seek("100%"),this.play()),this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Ready))})),this._lottie.addEventListener("data_ready",(()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Load))})),this._lottie.addEventListener("data_failed",(()=>{this.currentState=exports.PlayerState.Error,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error))})),this.container.addEventListener("mouseenter",(()=>{this.hover&&this.currentState!==exports.PlayerState.Playing&&this.play()})),this.container.addEventListener("mouseleave",(()=>{this.hover&&this.currentState===exports.PlayerState.Playing&&this.stop()}))}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=exports.PlayerState.Frozen,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Freeze)))}},__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String,reflect:!0})],exports.LottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],exports.LottiePlayer.prototype,"count",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"currentState",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"description",void 0),__decorate([e$5({type:Number})],exports.LottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"hover",void 0),__decorate([e$5()],exports.LottiePlayer.prototype,"intermission",void 0),__decorate([e$5({type:Boolean,reflect:!0})],exports.LottiePlayer.prototype,"loop",void 0),__decorate([e$5()],exports.LottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"preserveAspectRatio",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"renderer",void 0),__decorate([e$5()],exports.LottiePlayer.prototype,"seeker",void 0),__decorate([e$5({type:Number})],exports.LottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"src",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"webworkers",void 0),__decorate([i(".animation")],exports.LottiePlayer.prototype,"container",void 0),exports.LottiePlayer=__decorate([n$1("lottie-player")],exports.LottiePlayer),exports.parseSrc=parseSrc,Object.defineProperty(exports,"__esModule",{value:!0})}));
|
77 |
+
//# sourceMappingURL=lottie-player.js.map
|
admin/chaty-timezone.php
CHANGED
@@ -1,242 +1,309 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
$
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
8,
|
144 |
-
8
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
}
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
}
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Class Chaty front end
|
4 |
+
*
|
5 |
+
* @author : Premio <contact@premio.io>
|
6 |
+
* @license : GPL2
|
7 |
+
* */
|
8 |
+
|
9 |
+
if (defined('ABSPATH') === false) {
|
10 |
+
exit;
|
11 |
+
}
|
12 |
+
|
13 |
+
/*
|
14 |
+
* Returns Global timezones
|
15 |
+
*
|
16 |
+
* @since 1.0.0
|
17 |
+
* @access public
|
18 |
+
* @return $timezone
|
19 |
+
*/
|
20 |
+
if (!function_exists('chaty_timezone_choice')) {
|
21 |
+
|
22 |
+
|
23 |
+
function chaty_timezone_choice($selectedZone='', $utc=true)
|
24 |
+
{
|
25 |
+
$countryName = json_decode(chaty_country_city_name(), true);
|
26 |
+
$continents = [
|
27 |
+
'Africa',
|
28 |
+
'America',
|
29 |
+
'Antarctica',
|
30 |
+
'Arctic',
|
31 |
+
'Asia',
|
32 |
+
'Atlantic',
|
33 |
+
'Australia',
|
34 |
+
'Europe',
|
35 |
+
'Indian',
|
36 |
+
'Pacific',
|
37 |
+
];
|
38 |
+
|
39 |
+
$zonen = [];
|
40 |
+
|
41 |
+
foreach (timezone_identifiers_list() as $zone) {
|
42 |
+
$zone = explode('/', $zone);
|
43 |
+
if (! in_array($zone[0], $continents, true)) {
|
44 |
+
continue;
|
45 |
+
}
|
46 |
+
|
47 |
+
// This determines what gets set and translated - we don't translate Etc/* strings here, they are done later.
|
48 |
+
$exists = [
|
49 |
+
0 => ( isset($zone[0]) && $zone[0] ),
|
50 |
+
1 => ( isset($zone[1]) && $zone[1] ),
|
51 |
+
2 => ( isset($zone[2]) && $zone[2] ),
|
52 |
+
];
|
53 |
+
$exists[3] = ( $exists[0] && 'Etc' !== $zone[0] );
|
54 |
+
$exists[4] = ( $exists[1] && $exists[3] );
|
55 |
+
$exists[5] = ( $exists[2] && $exists[3] );
|
56 |
+
|
57 |
+
// phpcs:disable WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
|
58 |
+
$zonen[] = [
|
59 |
+
'continent' => ( $exists[0] ? $zone[0] : '' ),
|
60 |
+
'city' => ( $exists[1] ? $zone[1] : '' ),
|
61 |
+
'subcity' => ( $exists[2] ? $zone[2] : '' ),
|
62 |
+
't_continent' => ( $exists[3] ? str_replace('_', ' ', $zone[0]) : '' ),
|
63 |
+
't_city' => ( $exists[4] ? str_replace('_', ' ', $zone[1]) : '' ),
|
64 |
+
't_subcity' => ( $exists[5] ? str_replace('_', ' ', $zone[2]) : '' ),
|
65 |
+
];
|
66 |
+
// phpcs:enable
|
67 |
+
}//end foreach
|
68 |
+
|
69 |
+
usort($zonen, '_chaty_timezone_sort');
|
70 |
+
|
71 |
+
$structure = [];
|
72 |
+
|
73 |
+
if (empty($selectedZone)) {
|
74 |
+
$structure[] = '<option selected="selected" value="">Select a city or country</option>';
|
75 |
+
}
|
76 |
+
|
77 |
+
foreach ($zonen as $key => $zone) {
|
78 |
+
// Build value in an array to join later.
|
79 |
+
$value = [ $zone['continent'] ];
|
80 |
+
$display = '';
|
81 |
+
|
82 |
+
if (isset($countryName[$zone['city']]) && $countryName[$zone['city']] != '') {
|
83 |
+
$display .= $countryName[$zone['city']]."/";
|
84 |
+
}
|
85 |
+
|
86 |
+
if (empty($zone['city'])) {
|
87 |
+
// It's at the continent level (generally won't happen).
|
88 |
+
$display .= $zone['t_continent'];
|
89 |
+
} else {
|
90 |
+
// It's inside a continent group.
|
91 |
+
// Continent optgroup.
|
92 |
+
if (! isset($zonen[($key - 1)]) || $zonen[($key - 1)]['continent'] !== $zone['continent']) {
|
93 |
+
$label = $zone['t_continent'];
|
94 |
+
$structure[] = '<optgroup label="'.$label.'">';
|
95 |
+
}
|
96 |
+
|
97 |
+
// Add the city to the value.
|
98 |
+
$value[] = $zone['city'];
|
99 |
+
|
100 |
+
$display .= $zone['t_city'];
|
101 |
+
if (! empty($zone['subcity'])) {
|
102 |
+
// Add the subcity to the value.
|
103 |
+
$value[] = $zone['subcity'];
|
104 |
+
$display .= ' - '.$zone['t_subcity'];
|
105 |
+
}
|
106 |
+
}//end if
|
107 |
+
|
108 |
+
// Build the value.
|
109 |
+
$value = join('/', $value);
|
110 |
+
$selected = '';
|
111 |
+
if ($value === $selectedZone) {
|
112 |
+
$selected = 'selected="selected" ';
|
113 |
+
}
|
114 |
+
|
115 |
+
$structure[] = '<option '.$selected.'value="'.$value.'">'.$display.'</option>';
|
116 |
+
|
117 |
+
// Close continent optgroup.
|
118 |
+
if (! empty($zone['city']) && ( ! isset($zonen[($key + 1)]) || ( isset($zonen[($key + 1)]) && $zonen[($key + 1)]['continent'] !== $zone['continent'] ) )) {
|
119 |
+
$structure[] = '</optgroup>';
|
120 |
+
}
|
121 |
+
}//end foreach
|
122 |
+
|
123 |
+
// Do UTC.
|
124 |
+
$structure[] = '<optgroup label="UTC">';
|
125 |
+
$selected = '';
|
126 |
+
if ('UTC' === $selectedZone) {
|
127 |
+
$selected = 'selected="selected" ';
|
128 |
+
}
|
129 |
+
|
130 |
+
$structure[] = '<option '.$selected.'value="UTC">UTC</option>';
|
131 |
+
$structure[] = '</optgroup>';
|
132 |
+
|
133 |
+
// Do manual UTC offsets.
|
134 |
+
$structure[] = '<optgroup label="Manual Offsets">';
|
135 |
+
$offsetRange = [
|
136 |
+
-12,
|
137 |
+
-11.5,
|
138 |
+
-11,
|
139 |
+
-10.5,
|
140 |
+
-10,
|
141 |
+
-9.5,
|
142 |
+
-9,
|
143 |
+
-8.5,
|
144 |
+
-8,
|
145 |
+
-7.5,
|
146 |
+
-7,
|
147 |
+
-6.5,
|
148 |
+
-6,
|
149 |
+
-5.5,
|
150 |
+
-5,
|
151 |
+
-4.5,
|
152 |
+
-4,
|
153 |
+
-3.5,
|
154 |
+
-3,
|
155 |
+
-2.5,
|
156 |
+
-2,
|
157 |
+
-1.5,
|
158 |
+
-1,
|
159 |
+
-0.5,
|
160 |
+
0,
|
161 |
+
0.5,
|
162 |
+
1,
|
163 |
+
1.5,
|
164 |
+
2,
|
165 |
+
2.5,
|
166 |
+
3,
|
167 |
+
3.5,
|
168 |
+
4,
|
169 |
+
4.5,
|
170 |
+
5,
|
171 |
+
5.5,
|
172 |
+
5.75,
|
173 |
+
6,
|
174 |
+
6.5,
|
175 |
+
7,
|
176 |
+
7.5,
|
177 |
+
8,
|
178 |
+
8.5,
|
179 |
+
8.75,
|
180 |
+
9,
|
181 |
+
9.5,
|
182 |
+
10,
|
183 |
+
10.5,
|
184 |
+
11,
|
185 |
+
11.5,
|
186 |
+
12,
|
187 |
+
12.75,
|
188 |
+
13,
|
189 |
+
13.75,
|
190 |
+
14,
|
191 |
+
];
|
192 |
+
foreach ($offsetRange as $offset) {
|
193 |
+
if (0 <= $offset) {
|
194 |
+
$offsetName = ($utc ) ? '+'.$offset : $offset;
|
195 |
+
} else {
|
196 |
+
$offsetName = (string) $offset;
|
197 |
+
}
|
198 |
+
|
199 |
+
$offsetValue = $offsetName;
|
200 |
+
$offsetName = str_replace([ '.25', '.5', '.75' ], [ ':15', ':30', ':45' ], $offsetName);
|
201 |
+
if ($offset >= 0 && !$utc) {
|
202 |
+
$offsetName = 'UTC+'.$offsetName;
|
203 |
+
} else {
|
204 |
+
$offsetName = 'UTC'.$offsetName;
|
205 |
+
}
|
206 |
+
|
207 |
+
$offsetValue = ($utc ) ? 'UTC'.$offsetValue : $offsetValue ;
|
208 |
+
$selected = '';
|
209 |
+
if ($offsetValue === $selectedZone) {
|
210 |
+
$selected = 'selected="selected" ';
|
211 |
+
}
|
212 |
+
|
213 |
+
$structure[] = '<option '.$selected.'value="'.$offsetValue.'">'.$offsetName.'</option>';
|
214 |
+
}//end foreach
|
215 |
+
|
216 |
+
$structure[] = '</optgroup>';
|
217 |
+
|
218 |
+
return join("\n", $structure);
|
219 |
+
|
220 |
+
}//end chaty_timezone_choice()
|
221 |
+
|
222 |
+
|
223 |
+
}//end if
|
224 |
+
|
225 |
+
|
226 |
+
|
227 |
+
/*
|
228 |
+
* Sort-helper for timezones.
|
229 |
+
*
|
230 |
+
* @param array $a
|
231 |
+
* @param array $b
|
232 |
+
* @return int
|
233 |
+
* @since 2.9.0
|
234 |
+
* @access private
|
235 |
+
*
|
236 |
+
*/
|
237 |
+
if (!function_exists('_chaty_timezone_sort')) {
|
238 |
+
|
239 |
+
|
240 |
+
function _chaty_timezone_sort($a, $b)
|
241 |
+
{
|
242 |
+
// Don't use translated versions of Etc.
|
243 |
+
if ($a['continent'] === 'Etc' && $b['continent'] === 'Etc') {
|
244 |
+
// Make the order of these more like the old dropdown.
|
245 |
+
if (substr($a['city'] === 'GMT+', 0, 4) && substr($b['city'] === 'GMT+', 0, 4)) {
|
246 |
+
return (-1 * ( strnatcasecmp($a['city'], $b['city']) ));
|
247 |
+
}
|
248 |
+
|
249 |
+
if ($a['city'] === 'UTC') {
|
250 |
+
if (substr($b['city'], 0, 4) === 'GMT+') {
|
251 |
+
return 1;
|
252 |
+
}
|
253 |
+
|
254 |
+
return -1;
|
255 |
+
}
|
256 |
+
|
257 |
+
if ($b['city'] === 'UTC') {
|
258 |
+
if (substr($a['city'], 0, 4) === 'GMT+') {
|
259 |
+
return -1;
|
260 |
+
}
|
261 |
+
|
262 |
+
return 1;
|
263 |
+
}
|
264 |
+
|
265 |
+
return strnatcasecmp($a['city'], $b['city']);
|
266 |
+
}//end if
|
267 |
+
|
268 |
+
if ($a['t_continent'] == $b['t_continent']) {
|
269 |
+
if ($a['t_city'] == $b['t_city']) {
|
270 |
+
return strnatcasecmp($a['t_subcity'], $b['t_subcity']);
|
271 |
+
}
|
272 |
+
|
273 |
+
return strnatcasecmp($a['t_city'], $b['t_city']);
|
274 |
+
} else {
|
275 |
+
// Force Etc to the bottom of the list.
|
276 |
+
if ($a['continent'] === 'Etc') {
|
277 |
+
return 1;
|
278 |
+
}
|
279 |
+
|
280 |
+
if ($b['continent'] === 'Etc') {
|
281 |
+
return -1;
|
282 |
+
}
|
283 |
+
|
284 |
+
return strnatcasecmp($a['t_continent'], $b['t_continent']);
|
285 |
+
}
|
286 |
+
|
287 |
+
}//end _chaty_timezone_sort()
|
288 |
+
|
289 |
+
|
290 |
+
}//end if
|
291 |
+
|
292 |
+
/*
|
293 |
+
* Returns City names
|
294 |
+
*
|
295 |
+
* @since 1.0.0
|
296 |
+
* @access public
|
297 |
+
* @return $cities
|
298 |
+
*/
|
299 |
+
if (!function_exists('chaty_country_city_name')) {
|
300 |
+
|
301 |
+
|
302 |
+
function chaty_country_city_name()
|
303 |
+
{
|
304 |
+
return '{"Abidjan":"Ivory Coast","Accra":"Ghana","Addis Ababa":"Ethiopia","Algiers":"Algeria","Asmara":"Eritrea","Bamako":"Mali","Bangui":"Central African Republic","Banjul":"Gambia","Bissau":"Guinea-Bissau","Blantyre":"Malawi","Brazzaville":"Republic of the Congo","Bujumbura":"Burundi","Cairo":"Egypt","Casablanca":"Morocco","Ceuta":"Spain","Conakry":"Guinea","Dakar":"Senegal","Dar es Salaam":"Tanzania","Djibouti":"Djibouti","Douala":"Cameroon","Freetown":"Sierra Leone","Gaborone":"Botswana","Harare":"Zimbabwe","Johannesburg":"South Africa","Juba":"South Sudan","Kampala":"Uganda","Khartoum":"Sudan","Kigali":"Rwanda","Kinshasa":"Congo","Lagos":"Nigeria","Libreville":"Gabon","Lome":"Togo","Luanda":"Angola","Lubumbashi":"Congo","Lusaka":"Zambia","Malabo":"Equatorial Guinea","Maputo":"Mozambique","Maseru":"Lesotho","Mbabane":"Swaziland","Mogadishu":"Somalia","Monrovia":"Liberia","Nairobi":"Kenya","Niamey":"Niger","Nouakchott":"Mauritania","Ouagadougou":"Burkina Faso","Sao Tome":"Brazil","Tripoli":"Libya","Tunis":"Tunisia","Windhoek":"Namibia","Adak":"United States","Anchorage":"United States","Anguilla":"United States","Antigua":"Spain","Asuncion":"Paraguay","Atikokan":"Canada","Belem":"Brazil","Boa Vista":"Brazil","Bogota":"United States","Boise":"United States","Cambridge Bay":"Canada","Campo Grande":"Brazil","Caracas":"Venezuela","Chicago":"Mexico","Chihuahua":"Mexico","Creston":"Canada","Cuiaba":"Brazil","Dawson":"Australia","Dawson Creek":"Canada","Denver":"United States","Detroit":"United States","Dominica":"Dominican Republic","Edmonton":"Canada","El Salvador":"Guatemala","Fort Nelson":"Canada","Fortaleza":"Brazil","Glace Bay":"Canada","Grenada":"United States","Guayaquil":"Ecuador","Halifax":"Canada","Havana":"Cuba","Hermosillo":"Mexico","Indiana":"United States","Inuvik":"Canada","Iqaluit":"Canada","Jamaica":"United States","Juneau":"United States","Kralendijk":"Bonaire","La Paz":"Uruguay","Lima":"Argentina","Los Angeles":"Panama","Managua":"Nicaragua","Manaus":"Brazil","Marigot":"Dominica","Mazatlan":"Mexico","Menominee":"United States","Metlakatla":"United States","Mexico City":"Mexico","Moncton":"Canada","Monterrey":"Mexico","Montevideo":"Uruguay","Montserrat":"Argentina","Nassau":"Bahamas","New York":"United States","Nipigon":"Canada","Nome":"United States","Ojinaga":"Mexico","Panama":"United States","Paramaribo":"Suriname","Phoenix":"South Africa","Port-au-Prince":"Haiti","Port of Spain":"Trinidad and Tobago","Porto Velho":"Brazil","Puerto Rico":"Argentina","Punta Arenas":"Chile","Rankin Inlet":"Canada","Recife":"Brazil","Regina":"Canada","Rio Branco":"Brazil","Santiago":"Peru","Santo Domingo":"Costa Rica","Sao Paulo":"Brazil","Sitka":"United States","Swift Current":"Canada","Tegucigalpa":"Honduras","Thunder Bay":"Canada","Tijuana":"Mexico","Toronto":"Canada","Tortola":"British Virgin Islands","Vancouver":"Canada","Whitehorse":"Canada","Winnipeg":"Canada","Yellowknife":"Canada","Casey":"United States","Davis":"United States","Palmer":"Puerto Rico","Vostok":"Kazakhstan","Longyearbyen":"Svalbard and Jan Mayen","Aden":"Yemen","Almaty":"Kazakhstan","Amman":"Hashemite Kingdom of Jordan","Aqtau":"Kazakhstan","Ashgabat":"Turkmenistan","Atyrau":"Kazakhstan","Baghdad":"Iraq","Baku":"Azerbaijan","Bangkok":"Thailand","Barnaul":"Russia","Beirut":"Lebanon","Bishkek":"Kyrgyzstan","Chita":"Russia","Colombo":"Sri Lanka","Damascus":"Syria","Dhaka":"Bangladesh","Dili":"East Timor","Dubai":"United Arab Emirates","Dushanbe":"Tajikistan","Famagusta":"Cyprus","Gaza":"Palestine","Hebron":"Palestine","Hong Kong":"Hong Kong","Irkutsk":"Russia","Jakarta":"Indonesia","Jayapura":"Indonesia","Jerusalem":"Israel","Kabul":"Afghanistan","Kamchatka":"Russia","Karachi":"Pakistan","Kathmandu":"Nepal","Kolkata":"India","Krasnoyarsk":"Russia","Kuala Lumpur":"Malaysia","Kuching":"Malaysia","Macau":"Brazil","Magadan":"Russia","Makassar":"Indonesia","Manila":"Philippines","Muscat":"Oman","Nicosia":"Cyprus","Novokuznetsk":"Russia","Novosibirsk":"Russia","Omsk":"Russia","Oral":"Kazakhstan","Phnom Penh":"Cambodia","Pontianak":"Indonesia","Pyongyang":"North Korea","Riyadh":"Saudi Arabia","Seoul":"Republic of Korea","Shanghai":"China","Singapore":"Singapore","Taipei":"Taiwan","Tashkent":"Uzbekistan","Tbilisi":"Georgia","Thimphu":"Bhutan","Tokyo":"Japan","Tomsk":"Russia","Vientiane":"Laos","Vladivostok":"Russia","Yakutsk":"Russia","Yangon":"Myanmar [Burma]","Yekaterinburg":"Russia","Yerevan":"Armenia","Madeira":"Portugal","Reykjavik":"Iceland","Stanley":"Falkland Islands","Adelaide":"Australia","Brisbane":"Australia","Broken Hill":"Australia","Currie":"United Kingdom","Darwin":"Australia","Hobart":"Australia","Melbourne":"United Kingdom","Perth":"Canada","Sydney":"Canada","Amsterdam":"Netherlands","Andorra":"Spain","Astrakhan":"Russia","Athens":"Canada","Belgrade":"Serbia","Berlin":"Germany","Bratislava":"Slovakia","Brussels":"Belgium","Bucharest":"Romania","Budapest":"Hungary","Copenhagen":"Denmark","Dublin":"Ireland","Gibraltar":"Gibraltar","Guernsey":"United States","Helsinki":"Finland","Istanbul":"Turkey","Jersey":"United States","Kaliningrad":"Russia","Kiev":"Ukraine","Kirov":"Russia","Lisbon":"Portugal","Ljubljana":"Slovenia","London":"South Africa","Luxembourg":"Luxembourg","Madrid":"Colombia","Malta":"Latvia","Mariehamn":"\u00c5land","Minsk":"Belarus","Monaco":"Monaco","Moscow":"Russia","Oslo":"Norway","Paris":"Canada","Podgorica":"Montenegro","Prague":"Czech Republic","Riga":"Latvia","Rome":"Italy","Samara":"Russia","San Marino":"San Marino","Sarajevo":"Bosnia and Herzegovina","Saratov":"Russia","Simferopol":"Ukraine","Skopje":"Macedonia","Sofia":"Bulgaria","Stockholm":"Sweden","Tallinn":"Estonia","Ulyanovsk":"Russia","Vaduz":"Liechtenstein","Vienna":"Austria","Vilnius":"Republic of Lithuania","Volgograd":"Russia","Warsaw":"Poland","Zagreb":"Croatia","Zurich":"Switzerland","Antananarivo":"Madagascar","Christmas":"United States","Cocos":"Brazil","Apia":"Samoa","Auckland":"New Zealand","Chatham":"Canada","Funafuti":"Tuvalu","Galapagos":"Spain","Gambier":"United States","Honolulu":"United States","Majuro":"Marshall Islands","Midway":"United States","Norfolk":"United States","Noumea":"New Caledonia","Pago Pago":"American Samoa","Palau":"Spain","Pitcairn":"United States","Port Moresby":"Papua New Guinea","Saipan":"Northern Mariana Islands","Wake":"United States","Wallis":"United States"}';
|
305 |
+
|
306 |
+
}//end chaty_country_city_name()
|
307 |
+
|
308 |
+
|
309 |
+
}
|
admin/class-admin-base.php
CHANGED
@@ -1,1899 +1,2315 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace CHT\admin;
|
4 |
-
|
5 |
-
use CHT\includes\CHT_Widget;
|
6 |
-
|
7 |
-
if (!defined('ABSPATH')) {
|
8 |
-
exit;
|
9 |
-
}
|
10 |
-
|
11 |
-
/**
|
12 |
-
* Class CHT_Admin_Base
|
13 |
-
* @since 1.0
|
14 |
-
*/
|
15 |
-
|
16 |
-
require_once 'class-social-icons.php';
|
17 |
-
|
18 |
-
class CHT_Admin_Base
|
19 |
-
{
|
20 |
-
public $page;
|
21 |
-
public $socials;
|
22 |
-
public $fa_icons;
|
23 |
-
public $widget_index = '';
|
24 |
-
public $colors;
|
25 |
-
protected $token;
|
26 |
-
protected static $response = null;
|
27 |
-
protected static $checked_token = false;
|
28 |
-
protected $upgrade_slug;
|
29 |
-
|
30 |
-
|
31 |
-
public function __construct()
|
32 |
-
{
|
33 |
-
$plugin = CHT_Widget::get_instance();
|
34 |
-
$this->plugin_slug = $plugin->get_plugin_slug();
|
35 |
-
$this->friendly_name = $plugin->get_name();
|
36 |
-
$this->socials = CHT_Social_Icons::get_instance()->get_icons_list();
|
37 |
-
$this->colors = CHT_Social_Icons::get_instance()->get_colors();
|
38 |
-
$this->token = $this->get_token();
|
39 |
-
$this->upgrade_slug = $this->plugin_slug . '-upgrade';
|
40 |
-
|
41 |
-
if (is_admin()) { // admin actions
|
42 |
-
add_action('admin_menu', array($this, 'cht_admin_setting_page'));
|
43 |
-
// Adds all of the options for the administrative settings
|
44 |
-
add_action('admin_init', array($this, 'cht_register_inputs'));
|
45 |
-
add_action('admin_head', array($this, 'cht_inline_css_admin'));
|
46 |
-
}
|
47 |
-
// add_action('updated_option', array($this, 'cht_clear_all_caches'));
|
48 |
-
|
49 |
-
/* Send message to owner */
|
50 |
-
add_action('wp_ajax_wcp_admin_send_message_to_owner', array($this, 'wcp_admin_send_message_to_owner'));
|
51 |
-
|
52 |
-
/* ADD Upgrade link to plugin */
|
53 |
-
add_filter('plugin_action_links_' . CHT_PLUGIN_BASE, [$this, 'plugin_action_links']);
|
54 |
-
|
55 |
-
add_action('admin_footer', array($this, 'add_deactivate_modal'));
|
56 |
-
add_action('wp_ajax_chaty_plugin_deactivate', array($this, 'chaty_plugin_deactivate'));
|
57 |
-
|
58 |
-
add_action('admin_enqueue_scripts', array($this, 'enqueue_styles'), 99);
|
59 |
-
|
60 |
-
add_action('admin_enqueue_scripts', array($this, 'enqueue_scripts'), 99);
|
61 |
-
|
62 |
-
add_action("wp_ajax_chaty_update_status", array($this, 'chaty_update_status'));
|
63 |
-
|
64 |
-
/* load language files */
|
65 |
-
add_action( 'plugins_loaded', array( $this, 'chaty_text' ) );
|
66 |
-
|
67 |
-
add_action("wp_ajax_update_popup_status", array($this, 'update_popup_status'));
|
68 |
-
add_action("wp_ajax_update_channel_setting", array($this, 'update_channel_setting'));
|
69 |
-
}
|
70 |
-
|
71 |
-
public function plugin_action_links($links)
|
72 |
-
{
|
73 |
-
$links['need_help'] = '<a target="_blank" href="https://premio.io/help/chaty/?utm_source=pluginspage" >'.__( 'Need help?', CHT_OPT ).'</a>';
|
74 |
-
$links['go_pro'] = '<a style="color: #FF5983; font-weight: bold; display: inline-block; border: solid 1px #FF5983; border-radius: 4px; padding: 0 5px;" href="' . CHT_PRO_URL . '" class="chaty-plugins-gopro">' . esc_attr__('Upgrade', CHT_OPT) . '</a>';
|
75 |
-
return $links;
|
76 |
-
}
|
77 |
-
|
78 |
-
/* chaty_plugin_deactivate start */
|
79 |
-
public function chaty_plugin_deactivate()
|
80 |
-
{
|
81 |
-
$postData = $_POST;
|
82 |
-
$errorCounter = 0;
|
83 |
-
$response = array();
|
84 |
-
$response['status'] = 0;
|
85 |
-
$response['message'] = "";
|
86 |
-
$response['valid'] = 1;
|
87 |
-
$reason = filter_input(INPUT_POST, 'reason', FILTER_SANITIZE_STRING);
|
88 |
-
$nonce = filter_input(INPUT_POST, 'nonce', FILTER_SANITIZE_STRING);
|
89 |
-
if (empty($reason)) {
|
90 |
-
$errorCounter++;
|
91 |
-
$response['message'] = "Please provide reason";
|
92 |
-
} else if (empty($nonce)) {
|
93 |
-
$response['message'] = esc_attr__("Your request is not valid", CHT_OPT);
|
94 |
-
$errorCounter++;
|
95 |
-
$response['valid'] = 0;
|
96 |
-
} else if(!current_user_can("manage_options")) {
|
97 |
-
$response['message'] = esc_attr__("Your request is not valid", CHT_OPT);
|
98 |
-
$errorCounter++;
|
99 |
-
$response['valid'] = 0;
|
100 |
-
} else {
|
101 |
-
if (!wp_verify_nonce($nonce, 'chaty_deactivate_nonce')) {
|
102 |
-
$response['message'] = esc_attr__("Your request is not valid", CHT_OPT);
|
103 |
-
$errorCounter++;
|
104 |
-
$response['valid'] = 0;
|
105 |
-
}
|
106 |
-
}
|
107 |
-
if ($errorCounter == 0) {
|
108 |
-
global $current_user;
|
109 |
-
$email = "none@none.none";
|
110 |
-
|
111 |
-
if (isset($postData['email_id']) && !empty($postData['email_id']) && filter_var($postData['email_id'], FILTER_VALIDATE_EMAIL)) {
|
112 |
-
$email = $postData['email_id'];
|
113 |
-
}
|
114 |
-
$domain = site_url();
|
115 |
-
$user_name = $current_user->first_name . " " . $current_user->last_name;
|
116 |
-
|
117 |
-
$response['status'] = 1;
|
118 |
-
|
119 |
-
/* sending message to Crisp */
|
120 |
-
$post_message = array();
|
121 |
-
|
122 |
-
$message_data = array();
|
123 |
-
$message_data['key'] = "Plugin";
|
124 |
-
$message_data['value'] = "Chaty";
|
125 |
-
$post_message[] = $message_data;
|
126 |
-
|
127 |
-
$message_data = array();
|
128 |
-
$message_data['key'] = "Plugin Version";
|
129 |
-
$message_data['value'] = CHT_VERSION;
|
130 |
-
$post_message[] = $message_data;
|
131 |
-
|
132 |
-
$message_data = array();
|
133 |
-
$message_data['key'] = "Domain";
|
134 |
-
$message_data['value'] = $domain;
|
135 |
-
$post_message[] = $message_data;
|
136 |
-
|
137 |
-
$message_data = array();
|
138 |
-
$message_data['key'] = "Email";
|
139 |
-
$message_data['value'] = $email;
|
140 |
-
$post_message[] = $message_data;
|
141 |
-
|
142 |
-
$message_data = array();
|
143 |
-
$message_data['key'] = "WordPress Version";
|
144 |
-
$message_data['value'] = esc_attr(get_bloginfo('version'));
|
145 |
-
$post_message[] = $message_data;
|
146 |
-
|
147 |
-
$message_data = array();
|
148 |
-
$message_data['key'] = "PHP Version";
|
149 |
-
$message_data['value'] = PHP_VERSION;
|
150 |
-
$post_message[] = $message_data;
|
151 |
-
|
152 |
-
$message_data = array();
|
153 |
-
$message_data['key'] = "Message";
|
154 |
-
$message_data['value'] = $reason;
|
155 |
-
$post_message[] = $message_data;
|
156 |
-
|
157 |
-
$api_params = array(
|
158 |
-
'domain' => $domain,
|
159 |
-
'email' => $email,
|
160 |
-
'url' => site_url(),
|
161 |
-
'name' => $user_name,
|
162 |
-
'message' => $post_message,
|
163 |
-
'plugin' => "Chaty",
|
164 |
-
'type' => "Uninstall",
|
165 |
-
);
|
166 |
-
|
167 |
-
/* Sending message to Crisp API */
|
168 |
-
$crisp_response = wp_safe_remote_post("https://go.premio.io/crisp/crisp-send-message.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => true));
|
169 |
-
|
170 |
-
if (is_wp_error($crisp_response)) {
|
171 |
-
wp_safe_remote_post("https://go.premio.io/crisp/crisp-send-message.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => false));
|
172 |
-
}
|
173 |
-
}
|
174 |
-
echo json_encode($response);
|
175 |
-
wp_die();
|
176 |
-
}
|
177 |
-
|
178 |
-
/* function to sanitize input values */
|
179 |
-
public static function chaty_sanitize_options($value)
|
180 |
-
{
|
181 |
-
$value = stripslashes($value);
|
182 |
-
$value = filter_var($value, FILTER_SANITIZE_STRING);
|
183 |
-
$value = htmlspecialchars($value);
|
184 |
-
return $value;
|
185 |
-
}
|
186 |
-
|
187 |
-
// add popup model html on Plugin List page
|
188 |
-
public function add_deactivate_modal()
|
189 |
-
{
|
190 |
-
if(current_user_can("manage_options")) {
|
191 |
-
global $pagenow;
|
192 |
-
|
193 |
-
if ('plugins.php' !== $pagenow) {
|
194 |
-
return;
|
195 |
-
}
|
196 |
-
|
197 |
-
include CHT_DIR . '/views/admin/chaty-deactivate-form.php';
|
198 |
-
}
|
199 |
-
}
|
200 |
-
|
201 |
-
public function del_space($text)
|
202 |
-
{
|
203 |
-
return str_replace('_', ' ', $text);
|
204 |
-
}
|
205 |
-
|
206 |
-
public function cht_inline_css_admin()
|
207 |
-
{
|
208 |
-
ob_start();
|
209 |
-
?>
|
210 |
-
<style>
|
211 |
-
#toplevel_page_chaty-app img:hover, #toplevel_page_chaty-app img {
|
212 |
-
opacity: 0 !important;
|
213 |
-
}
|
214 |
-
#toplevel_page_chaty-app:hover .dashicons-before{
|
215 |
-
background-color: #00b9eb;
|
216 |
-
}
|
217 |
-
#toplevel_page_chaty-app .dashicons-before{
|
218 |
-
background-color: #A0A3A8;
|
219 |
-
-webkit-mask: url('<?php echo esc_url(plugins_url('chaty/admin/assets/images/chaty.svg')) ?>') no-repeat center;
|
220 |
-
mask: url('<?php echo esc_url(plugins_url('chaty/admin/assets/images/chaty.svg')) ?>') no-repeat center;
|
221 |
-
}
|
222 |
-
.current#toplevel_page_chaty-app .dashicons-before{
|
223 |
-
background-color: #fff;
|
224 |
-
}
|
225 |
-
</style>
|
226 |
-
<?php
|
227 |
-
echo ob_get_clean();
|
228 |
-
}
|
229 |
-
|
230 |
-
/* admin css files */
|
231 |
-
public function enqueue_styles($page)
|
232 |
-
{
|
233 |
-
// echo $page; die;
|
234 |
-
if($page == 'toplevel_page_chaty-app' || $page == 'chaty_page_chaty-contact-form-feed' || $page == 'chaty_page_widget-analytics' || $page == "chaty_page_chaty-upgrade") {
|
235 |
-
|
236 |
-
$query_args = array(
|
237 |
-
'family' => 'Rubik:400,700|Oswald:400,600',
|
238 |
-
'subset' => 'latin,latin-ext'
|
239 |
-
);
|
240 |
-
wp_enqueue_style( 'google_fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ), array(), null );
|
241 |
-
wp_enqueue_style( $this->plugin_slug . 'spectrum', plugins_url( '../admin/assets/css/spectrum.min.css', __FILE__ ), array(), CHT_VERSION );
|
242 |
-
wp_enqueue_style( $this->plugin_slug . 'intlTelInput', plugins_url( '../admin/assets/css/intlTelInput.min.css', __FILE__ ), array(), CHT_VERSION );
|
243 |
-
/* WP change this */
|
244 |
-
|
245 |
-
if ($page == 'chaty_page_chaty-contact-form-feed' ) {
|
246 |
-
wp_enqueue_style( 'jquery-ui-css', plugins_url( '../admin/assets/css/datepicker.min.css', __FILE__ ), array(), CHT_VERSION );
|
247 |
-
}
|
248 |
-
|
249 |
-
wp_enqueue_style( $this->plugin_slug, plugins_url( '../admin/assets/css/cht-style.min.css', __FILE__ ), array(), CHT_VERSION );
|
250 |
-
}
|
251 |
-
}
|
252 |
-
|
253 |
-
public function enqueue_pricing_styles() {
|
254 |
-
wp_enqueue_style($this->plugin_slug."-select2", plugins_url('../admin/assets/css/select2.min.css', __FILE__), array(), CHT_VERSION);
|
255 |
-
wp_enqueue_style($this->plugin_slug."-pricing", plugins_url('../admin/assets/css/admin-setting.css', __FILE__), array(), CHT_VERSION);
|
256 |
-
}
|
257 |
-
|
258 |
-
/* admin js files */
|
259 |
-
public function enqueue_scripts($page) {
|
260 |
-
if($page == 'chaty_page_widget-analytics' || $page == "chaty_page_chaty-contact-form-feed") {
|
261 |
-
wp_enqueue_script('jquery-ui-datepicker');
|
262 |
-
return;
|
263 |
-
}
|
264 |
-
|
265 |
-
$is_shown = get_option("chaty_update_message");
|
266 |
-
if($is_shown === false) {
|
267 |
-
return;
|
268 |
-
}
|
269 |
-
|
270 |
-
if($page != "toplevel_page_chaty-app") {
|
271 |
-
return;
|
272 |
-
}
|
273 |
-
|
274 |
-
wp_enqueue_script($this->plugin_slug . 'fileinput', plugins_url('../admin/assets/js/fileinput.min.js', __FILE__), array('jquery'), CHT_VERSION);
|
275 |
-
wp_enqueue_script($this->plugin_slug . 'spectrum', plugins_url('../admin/assets/js/spectrum.min.js', __FILE__), array('jquery'), CHT_VERSION);
|
276 |
-
wp_enqueue_script($this->plugin_slug . 'pop', plugins_url('../admin/assets/js/popper.min.js', __FILE__), array('jquery'), CHT_VERSION);
|
277 |
-
wp_enqueue_script($this->plugin_slug . 'intlTelInput', plugins_url('../admin/assets/js/intlTelInput.min.js', __FILE__), array('jquery'), CHT_VERSION);
|
278 |
-
|
279 |
-
/* WP change this */
|
280 |
-
wp_enqueue_editor();
|
281 |
-
wp_enqueue_script($this->plugin_slug. 'chaty', plugins_url('../admin/assets/js/cht-scripts.min.js', __FILE__), array('jquery', 'wp-color-picker', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable'), CHT_VERSION);
|
282 |
-
wp_localize_script($this->plugin_slug . 'chaty', 'cht_nonce_ajax',
|
283 |
-
array(
|
284 |
-
'cht_nonce' => wp_create_nonce('cht_nonce_ajax')
|
285 |
-
)
|
286 |
-
);$whatsapp_settings = array();
|
287 |
-
foreach($this->socials as $social) {
|
288 |
-
$whatsapp_settings[$social['slug']] = "";
|
289 |
-
}
|
290 |
-
wp_localize_script($this->plugin_slug . 'chaty', 'cht_settings',
|
291 |
-
array(
|
292 |
-
'plugin_url' => CHT_PLUGIN_URL,
|
293 |
-
'channel_settings' => $whatsapp_settings
|
294 |
-
)
|
295 |
-
);
|
296 |
-
|
297 |
-
}
|
298 |
-
|
299 |
-
public function cht_admin_setting_page()
|
300 |
-
{
|
301 |
-
if (current_user_can('manage_options')) {
|
302 |
-
$this->page = add_menu_page(
|
303 |
-
esc_attr__('Chaty', CHT_OPT),
|
304 |
-
esc_attr__('Chaty', CHT_OPT),
|
305 |
-
'manage_options',
|
306 |
-
$this->plugin_slug,
|
307 |
-
array($this, 'display_cht_admin_page'),
|
308 |
-
plugins_url('chaty/admin/assets/images/chaty.svg')
|
309 |
-
);
|
310 |
-
|
311 |
-
add_submenu_page(
|
312 |
-
$this->plugin_slug,
|
313 |
-
esc_attr__('Dashboard', CHT_OPT),
|
314 |
-
esc_attr__('Dashboard', CHT_OPT),
|
315 |
-
'manage_options',
|
316 |
-
$this->plugin_slug,
|
317 |
-
array($this, 'display_cht_admin_page')
|
318 |
-
);
|
319 |
-
|
320 |
-
$widget_page = add_submenu_page(
|
321 |
-
$this->plugin_slug,
|
322 |
-
esc_attr__('Settings Admin', CHT_OPT),
|
323 |
-
esc_attr__('+ Create New Widget', CHT_OPT),
|
324 |
-
'manage_options',
|
325 |
-
"chaty-upgrade",
|
326 |
-
array($this, "chaty_widget_page")
|
327 |
-
);
|
328 |
-
|
329 |
-
/* creating admin sub menu for chaty */
|
330 |
-
$upgrade_page = add_submenu_page(
|
331 |
-
$this->plugin_slug,
|
332 |
-
esc_attr__('Widget Analytics', CHT_OPT),
|
333 |
-
esc_attr__('Widget Analytics', CHT_OPT),
|
334 |
-
'manage_options',
|
335 |
-
'widget-analytics',
|
336 |
-
array($this, 'display_cht_admin_widget_analytics')
|
337 |
-
);
|
338 |
-
add_action('admin_print_styles-' . $upgrade_page, array($this, 'enqueue_styles'));
|
339 |
-
|
340 |
-
/* creating admin sub menu for chaty */
|
341 |
-
$feed_page = add_submenu_page(
|
342 |
-
$this->plugin_slug,
|
343 |
-
esc_attr__('Contact form leads', CHT_OPT),
|
344 |
-
esc_attr__('Contact form leads', CHT_OPT),
|
345 |
-
'manage_options',
|
346 |
-
"chaty-contact-form-feed",
|
347 |
-
array($this, 'chaty_contact_form_feed')
|
348 |
-
);
|
349 |
-
add_action('admin_print_styles-' . $feed_page, array($this, 'enqueue_styles')); /* creating admin sub menu for chaty */
|
350 |
-
|
351 |
-
$getData = filter_input_array(INPUT_GET);
|
352 |
-
if(isset($getData['hide_chaty_recommended_plugin']) && isset($getData['nonce'])) {
|
353 |
-
if(current_user_can('manage_options')) {
|
354 |
-
$nonce = $getData['nonce'];
|
355 |
-
if(wp_verify_nonce($nonce, "chaty_recommended_plugin")) {
|
356 |
-
update_option('hide_chaty_recommended_plugin',true);
|
357 |
-
}
|
358 |
-
}
|
359 |
-
}
|
360 |
-
|
361 |
-
$recommended_plugin = get_option("hide_chaty_recommended_plugin");
|
362 |
-
if($recommended_plugin === false) {
|
363 |
-
add_submenu_page(
|
364 |
-
$this->plugin_slug,
|
365 |
-
esc_html__('Recommended Plugins', CHT_OPT),
|
366 |
-
esc_html__('Recommended Plugins', CHT_OPT),
|
367 |
-
'manage_options',
|
368 |
-
'recommended-chaty-plugins',
|
369 |
-
array($this, 'recommended_plugins')
|
370 |
-
);
|
371 |
-
}
|
372 |
-
|
373 |
-
$upgrade_page = add_submenu_page(
|
374 |
-
$this->plugin_slug,
|
375 |
-
esc_attr__('Upgrade to Pro', CHT_OPT),
|
376 |
-
esc_attr__('Upgrade to Pro', CHT_OPT),
|
377 |
-
'manage_options',
|
378 |
-
$this->upgrade_slug,
|
379 |
-
array($this, 'display_cht_admin_upgrade_page')
|
380 |
-
);
|
381 |
-
add_action('admin_print_styles-' . $upgrade_page, array($this, 'enqueue_pricing_styles'));
|
382 |
-
}
|
383 |
-
// Load public-facing style sheet and JavaScript.
|
384 |
-
add_action('admin_print_styles-' . $this->page, array($this, 'enqueue_styles'));
|
385 |
-
}
|
386 |
-
|
387 |
-
|
388 |
-
public function chaty_contact_form_feed() {
|
389 |
-
include_once CHT_DIR . '/views/admin/contact-form-feed.php';
|
390 |
-
}
|
391 |
-
|
392 |
-
public function recommended_plugins() {
|
393 |
-
include_once CHT_DIR . '/views/admin/recommended-plugins.php';
|
394 |
-
}
|
395 |
-
|
396 |
-
public function display_cht_admin_widget_analytics() {
|
397 |
-
include_once CHT_DIR . '/views/admin/pro_analytics.php';
|
398 |
-
}
|
399 |
-
|
400 |
-
/* returns upgrade menu item url */
|
401 |
-
public function getUpgradeMenuItemUrl()
|
402 |
-
{
|
403 |
-
return CHT_PRO_URL;
|
404 |
-
}
|
405 |
-
|
406 |
-
public function chaty_widget_page()
|
407 |
-
{
|
408 |
-
include_once CHT_DIR . '/views/admin/chaty_widget.php';
|
409 |
-
}
|
410 |
-
|
411 |
-
/* chaty admin page for settings */
|
412 |
-
public function display_cht_admin_page()
|
413 |
-
{
|
414 |
-
$is_shown = get_option("chaty_update_message");
|
415 |
-
if($is_shown === false) {
|
416 |
-
include_once CHT_DIR . '/views/admin/update.php';
|
417 |
-
} else {
|
418 |
-
$status = get_option("cht_active");
|
419 |
-
delete_option("cht_is_default_deleted");
|
420 |
-
if($status === false || isset($_GET['widget'])) {
|
421 |
-
$channel_class = "";
|
422 |
-
$fonts = self::get_font_list();
|
423 |
-
include_once CHT_DIR . '/views/admin/admin.php';
|
424 |
-
} else {
|
425 |
-
include_once CHT_DIR . '/views/admin/dashboard.php';
|
426 |
-
}
|
427 |
-
$popup_status = get_option( "chaty_intro_popup" );
|
428 |
-
if ( $popup_status == "show" ) {
|
429 |
-
include_once CHT_DIR . '/views/admin/chaty-popup.php';
|
430 |
-
}
|
431 |
-
}
|
432 |
-
|
433 |
-
if(isset($_REQUEST['show_message']) && $_REQUEST['show_message'] == 1) { ?>
|
434 |
-
<div class="toast-message">
|
435 |
-
<div class="toast-close-btn"><a href="javascript:;"></a></div>
|
436 |
-
<div class="toast-message-title">Settings Updated</div>
|
437 |
-
<div class="toast-message-body">Your settings has been saved</div>
|
438 |
-
</div>
|
439 |
-
<?php }
|
440 |
-
}
|
441 |
-
|
442 |
-
public function display_cht_admin_upgrade_page()
|
443 |
-
{
|
444 |
-
wp_enqueue_script($this->plugin_slug . 'select2-js', plugins_url('../admin/assets/js/select2.min.js', __FILE__), array('jquery'), CHT_VERSION);
|
445 |
-
include_once CHT_DIR . '/views/admin/upgrade.php';
|
446 |
-
}
|
447 |
-
|
448 |
-
/* returns EDD token */
|
449 |
-
protected function get_token()
|
450 |
-
{
|
451 |
-
return get_option('cht_license_key');
|
452 |
-
}
|
453 |
-
|
454 |
-
// this site domain
|
455 |
-
public function get_site()
|
456 |
-
{
|
457 |
-
$permalink = get_home_url();
|
458 |
-
return $permalink;
|
459 |
-
}
|
460 |
-
|
461 |
-
public function is_pro($token = '')
|
462 |
-
{
|
463 |
-
return false;
|
464 |
-
}
|
465 |
-
|
466 |
-
public function data_has_expired()
|
467 |
-
{
|
468 |
-
return strtotime(date('Y-m-d')) > strtotime(date('Y-m-d', strtotime($this->active_license())));
|
469 |
-
}
|
470 |
-
|
471 |
-
/* checking for license is expired or not */
|
472 |
-
public function active_license()
|
473 |
-
{
|
474 |
-
if (!$this->is_pro()) return;
|
475 |
-
$body = null;
|
476 |
-
if (empty(self::$response->errors)) {
|
477 |
-
$body = json_decode(self::$response['body']);
|
478 |
-
}
|
479 |
-
if (isset($body->expired_date)) return $body->expired_date->date;
|
480 |
-
}
|
481 |
-
|
482 |
-
/* checking for license key */
|
483 |
-
public function data_check()
|
484 |
-
{
|
485 |
-
if ($this->is_pro()) {
|
486 |
-
return false;
|
487 |
-
};
|
488 |
-
}
|
489 |
-
|
490 |
-
/* get current color for widget */
|
491 |
-
public function get_current_color()
|
492 |
-
{
|
493 |
-
$def_color = get_option('cht_color');
|
494 |
-
$custom_color = get_option('cht_custom_color');
|
495 |
-
if (!$def_color) {
|
496 |
-
$color = $custom_color;
|
497 |
-
} else {
|
498 |
-
$color = $def_color;
|
499 |
-
}
|
500 |
-
|
501 |
-
$color = strtoupper($color);
|
502 |
-
return $color;
|
503 |
-
}
|
504 |
-
|
505 |
-
/* checking for widget position */
|
506 |
-
public function get_position_style()
|
507 |
-
{
|
508 |
-
$position = get_option('cht_position');
|
509 |
-
|
510 |
-
if ($position === 'custom') {
|
511 |
-
$pos_side = get_option('positionSide');
|
512 |
-
$bot = (get_option('cht_bottom_spacing')) ? get_option('cht_bottom_spacing') : '25';
|
513 |
-
$side = (get_option('cht_side_spacing')) ? get_option('cht_side_spacing') : '25';
|
514 |
-
if ($pos_side === 'right') {
|
515 |
-
$pos_style = 'left: auto; bottom: ' . $bot . 'px; right: ' . $side . 'px';
|
516 |
-
} else {
|
517 |
-
$pos_style = 'left: ' . $side . 'px; bottom: ' . $bot . 'px; right: auto';
|
518 |
-
}
|
519 |
-
} elseif ($position === 'right') {
|
520 |
-
$pos_style = 'left: auto; bottom: 25px; right: 25px';
|
521 |
-
} else {
|
522 |
-
$pos_style = 'left: 25px; bottom: 25px; right: auto';
|
523 |
-
}
|
524 |
-
|
525 |
-
return $pos_style;
|
526 |
-
}
|
527 |
-
|
528 |
-
public function cht_register_inputs()
|
529 |
-
{
|
530 |
-
if(isset($_GET['page']) && $_GET['page'] == "chaty-upgrade") {
|
531 |
-
$cht_active = get_option('cht_active');
|
532 |
-
if($cht_active === false) {
|
533 |
-
wp_redirect(admin_url("admin.php?page=chaty-app"));
|
534 |
-
exit;
|
535 |
-
}
|
536 |
-
}
|
537 |
-
if(current_user_can("manage_options")) {
|
538 |
-
|
539 |
-
global $wpdb;
|
540 |
-
$table_name = $wpdb->prefix . 'chaty_contact_form_leads';
|
541 |
-
$postData = filter_input_array(INPUT_POST);
|
542 |
-
if(isset($postData['remove_chaty_leads'])) {
|
543 |
-
if(wp_verify_nonce($postData['remove_chaty_leads'], "remove_chaty_leads")) {
|
544 |
-
if(isset($postData['chaty_leads']) && !empty($postData['chaty_leads'])) {
|
545 |
-
if(isset($postData['action']) && $postData['action'] == "delete_message") {
|
546 |
-
if(is_array($postData['chaty_leads'])) {
|
547 |
-
$chaty_leads = $postData['chaty_leads'];
|
548 |
-
$chaty_leads = implode(",", $chaty_leads);
|
549 |
-
} else {
|
550 |
-
$chaty_leads = $postData['chaty_leads'];
|
551 |
-
}
|
552 |
-
if($chaty_leads) {
|
553 |
-
$delete = $wpdb->query("DELETE FROM {$table_name} WHERE id IN(".$chaty_leads.")");
|
554 |
-
$paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged']>0?$postData['paged']:1;
|
555 |
-
$search = isset($postData['search'])&&!empty($postData['search'])?$postData['search']:"";
|
556 |
-
$url = admin_url("admin.php?page=chaty-contact-form-feed");
|
557 |
-
if(intval($paged) > 1) {
|
558 |
-
$url .= "&paged=".$paged;
|
559 |
-
}
|
560 |
-
if(!empty($search)) {
|
561 |
-
$url .= "&search=".$search;
|
562 |
-
}
|
563 |
-
wp_redirect($url);
|
564 |
-
exit;
|
565 |
-
}
|
566 |
-
}
|
567 |
-
}
|
568 |
-
}
|
569 |
-
}
|
570 |
-
$postData = filter_input_array(INPUT_GET);
|
571 |
-
if(isset($postData['remove_chaty_leads'])) {
|
572 |
-
if(wp_verify_nonce($postData['remove_chaty_leads'], "remove_chaty_leads")) {
|
573 |
-
if(isset($postData['chaty_leads']) && !empty($postData['chaty_leads'])) {
|
574 |
-
if(isset($postData['action']) && $postData['action'] == "delete_message") {
|
575 |
-
if(is_array($postData['chaty_leads'])) {
|
576 |
-
$chaty_leads = $postData['chaty_leads'];
|
577 |
-
$chaty_leads = implode(",", $chaty_leads);
|
578 |
-
} else {
|
579 |
-
$chaty_leads = $postData['chaty_leads'];
|
580 |
-
}
|
581 |
-
if(!empty($chaty_leads)) {
|
582 |
-
if($chaty_leads == "remove-all") {
|
583 |
-
$delete = $wpdb->query("TRUNCATE TABLE {$table_name}");
|
584 |
-
} else {
|
585 |
-
$delete = $wpdb->query("DELETE FROM {$table_name} WHERE id IN(" . $chaty_leads . ")");
|
586 |
-
}
|
587 |
-
$paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged']>0?$postData['paged']:1;
|
588 |
-
$search = isset($postData['search'])&&!empty($postData['search'])?$postData['search']:"";
|
589 |
-
$url = admin_url("admin.php?page=chaty-contact-form-feed");
|
590 |
-
if(intval($paged) > 1) {
|
591 |
-
$url .= "&paged=".$paged;
|
592 |
-
}
|
593 |
-
if(!empty($search)) {
|
594 |
-
$url .= "&search=".$search;
|
595 |
-
}
|
596 |
-
wp_redirect($url);
|
597 |
-
exit;
|
598 |
-
}
|
599 |
-
}
|
600 |
-
}
|
601 |
-
}
|
602 |
-
}
|
603 |
-
|
604 |
-
$postData = filter_input_array(INPUT_GET);
|
605 |
-
if(isset($postData['download_chaty_file']) && $postData['download_chaty_file'] == "chaty_contact_leads" && isset($postData['nonce'])) {
|
606 |
-
if(wp_verify_nonce($postData['nonce'], "download_chaty_contact_leads")) {
|
607 |
-
$file = "chaty_contact_leads.csv";
|
608 |
-
$fp = fopen($file, "w")or die("Error Couldn't open {$file} for writing!");
|
609 |
-
|
610 |
-
global $wpdb;
|
611 |
-
$contact_lists_table = $wpdb->prefix.'chaty_contact_form_leads';
|
612 |
-
$results = $wpdb->get_results( "SELECT * FROM ".$contact_lists_table." ORDER BY ID DESC");
|
613 |
-
$all_data = '';
|
614 |
-
foreach ($results as $res) {
|
615 |
-
if($res->widget_id == 0) {
|
616 |
-
$widget_name = "Default";
|
617 |
-
} else {
|
618 |
-
$widget_name = get_option("cht_widget_title_".$res->widget_id);
|
619 |
-
if(empty($widget_name)) {
|
620 |
-
$widget_name = "Widget #".($res->widget_id+1);
|
621 |
-
}
|
622 |
-
}
|
623 |
-
$fields = array(
|
624 |
-
$res->id,
|
625 |
-
$widget_name,
|
626 |
-
$res->name,
|
627 |
-
$res->email,
|
628 |
-
nl2br($res->message),
|
629 |
-
$res->created_on,
|
630 |
-
$res->ref_page,
|
631 |
-
);
|
632 |
-
|
633 |
-
fputcsv($fp, $fields);
|
634 |
-
}
|
635 |
-
fclose($fp);
|
636 |
-
|
637 |
-
$file_content = file_get_contents($file);
|
638 |
-
header("Content-Disposition: attachment; filename=".basename($file));
|
639 |
-
header("Content-Length: " . filesize($file));
|
640 |
-
header("Content-Type: application/octet-stream;");
|
641 |
-
readfile($file);
|
642 |
-
exit;
|
643 |
-
}
|
644 |
-
}
|
645 |
-
|
646 |
-
/**
|
647 |
-
* Adding settings fields
|
648 |
-
*/
|
649 |
-
// Section One
|
650 |
-
foreach ($this->socials as $social) {
|
651 |
-
add_settings_field(
|
652 |
-
'cht_social_' . $social['slug'],
|
653 |
-
ucfirst($social['slug']),
|
654 |
-
'',
|
655 |
-
$this->plugin_slug
|
656 |
-
);
|
657 |
-
}
|
658 |
-
|
659 |
-
// Section Two
|
660 |
-
add_settings_field('cht_devices', 'Devices', '', $this->plugin_slug);
|
661 |
-
add_settings_field('cht_color', 'Color', '', $this->plugin_slug);
|
662 |
-
add_settings_field('cht_custom_color', 'Color', '', $this->plugin_slug);
|
663 |
-
add_settings_field('cht_position', 'Position', '', $this->plugin_slug);
|
664 |
-
add_settings_field('cht_widget_font', 'Position', '', $this->plugin_slug);
|
665 |
-
add_settings_field('positionSide', 'PositionSide', '', $this->plugin_slug);
|
666 |
-
add_settings_field('cht_bottom_spacing', 'Bottom spacing', '', $this->plugin_slug);
|
667 |
-
add_settings_field('cht_side_spacing', 'Side spacing', '', $this->plugin_slug);
|
668 |
-
add_settings_field('cht_cta', 'CTA', '', $this->plugin_slug);
|
669 |
-
add_settings_field('cht_cta_switcher', 'CTA switcher', '', $this->plugin_slug);
|
670 |
-
add_settings_field('chaty_attention_effect', 'CTA effect', '', $this->plugin_slug);
|
671 |
-
add_settings_field('chaty_default_state', 'CTA state', '', $this->plugin_slug);
|
672 |
-
add_settings_field('chaty_trigger_on_time', 'CTA trigger on time', '', $this->plugin_slug);
|
673 |
-
add_settings_field('chaty_trigger_time', 'CTA time to trigger', '', $this->plugin_slug);
|
674 |
-
add_settings_field('chaty_trigger_on_exit', 'CTA exit intent', '', $this->plugin_slug);
|
675 |
-
add_settings_field('chaty_trigger_on_scroll', 'CTA trigger on scroll', '', $this->plugin_slug);
|
676 |
-
add_settings_field('chaty_trigger_on_page_scroll', 'CTA page scroll', '', $this->plugin_slug);
|
677 |
-
add_settings_field('cht_close_button', 'CTA close button', '', $this->plugin_slug);
|
678 |
-
add_settings_field('cht_close_button_text', 'CTA close button text', '', $this->plugin_slug);
|
679 |
-
add_settings_field('chaty_icons_view', 'Icon view', '', $this->plugin_slug);
|
680 |
-
add_settings_field('cht_created_on', 'Created time', '', $this->plugin_slug);
|
681 |
-
add_settings_field('cht_widget_title', 'Chaty title', '', $this->plugin_slug);
|
682 |
-
|
683 |
-
// section three
|
684 |
-
add_settings_field('cht_active', 'Active', '', $this->plugin_slug);
|
685 |
-
add_settings_field('cht_cta_action', 'CTA Action', '', $this->plugin_slug);
|
686 |
-
add_settings_field('cht_cta_text_color', 'CTA Text Color', '', $this->plugin_slug);
|
687 |
-
add_settings_field('cht_cta_bg_color', 'CTA BG Color', '', $this->plugin_slug);
|
688 |
-
add_settings_field('cht_pending_messages', 'CTA Pending message', '', $this->plugin_slug);
|
689 |
-
add_settings_field('cht_number_of_messages', 'CTA Number of Messages', '', $this->plugin_slug);
|
690 |
-
add_settings_field('cht_number_color', 'CTA Color', '', $this->plugin_slug);
|
691 |
-
add_settings_field('cht_number_bg_color', 'CTA BG Color', '', $this->plugin_slug);
|
692 |
-
|
693 |
-
// token
|
694 |
-
add_settings_field('cht_license_key', 'Token', '', $this->plugin_slug);
|
695 |
-
|
696 |
-
// slug
|
697 |
-
add_settings_field('cht_numb_slug', 'Numb', '', $this->plugin_slug);
|
698 |
-
|
699 |
-
add_settings_field('chaty_updated_on', 'Updated time', '', $this->plugin_slug);
|
700 |
-
|
701 |
-
/**
|
702 |
-
* Registering settings fields
|
703 |
-
*/
|
704 |
-
|
705 |
-
$nonce = filter_input(INPUT_POST, 'nonce', FILTER_SANITIZE_STRING);
|
706 |
-
|
707 |
-
/*check for nonce*/
|
708 |
-
if (!empty($nonce) && wp_verify_nonce($nonce, "chaty_plugin_nonce")) {
|
709 |
-
|
710 |
-
// register field section one
|
711 |
-
foreach ($this->socials as $social) {
|
712 |
-
register_setting($this->plugin_slug, 'cht_social_' . $social['slug']);
|
713 |
-
}
|
714 |
-
|
715 |
-
if (isset($_POST['cht_4_cta'])) {
|
716 |
-
$_POST['cht_cta'] = $_POST['cht_4_cta'];
|
717 |
-
}
|
718 |
-
|
719 |
-
// register field section two
|
720 |
-
register_setting($this->plugin_slug, 'cht_devices', 'chaty_sanitize_options');
|
721 |
-
register_setting($this->plugin_slug, 'cht_color', 'chaty_sanitize_options');
|
722 |
-
register_setting($this->plugin_slug, 'cht_custom_color', 'chaty_sanitize_options');
|
723 |
-
register_setting($this->plugin_slug, 'cht_position', 'chaty_sanitize_options');
|
724 |
-
register_setting($this->plugin_slug, 'cht_widget_font', 'chaty_sanitize_options');
|
725 |
-
register_setting($this->plugin_slug, 'positionSide', 'chaty_sanitize_options');
|
726 |
-
register_setting($this->plugin_slug, 'cht_bottom_spacing', 'chaty_sanitize_options');
|
727 |
-
register_setting($this->plugin_slug, 'cht_side_spacing', 'chaty_sanitize_options');
|
728 |
-
register_setting($this->plugin_slug, 'cht_cta', 'chaty_sanitize_options');
|
729 |
-
register_setting($this->plugin_slug, 'cht_cta_switcher', 'chaty_sanitize_options');
|
730 |
-
register_setting($this->plugin_slug, 'cht_widget_size', 'chaty_sanitize_options');
|
731 |
-
register_setting($this->plugin_slug, 'cht_widget_img', 'chaty_sanitize_options');
|
732 |
-
register_setting($this->plugin_slug, 'widget_icon', 'chaty_sanitize_options');
|
733 |
-
register_setting($this->plugin_slug, 'chaty_attention_effect', 'chaty_sanitize_options');
|
734 |
-
register_setting($this->plugin_slug, 'chaty_default_state', 'chaty_sanitize_options');
|
735 |
-
register_setting($this->plugin_slug, 'chaty_trigger_on_time', 'chaty_sanitize_options');
|
736 |
-
register_setting($this->plugin_slug, 'chaty_trigger_time', 'chaty_sanitize_options');
|
737 |
-
register_setting($this->plugin_slug, 'chaty_trigger_on_exit', 'chaty_sanitize_options');
|
738 |
-
register_setting($this->plugin_slug, 'chaty_trigger_on_scroll', 'chaty_sanitize_options');
|
739 |
-
register_setting($this->plugin_slug, 'chaty_trigger_on_page_scroll', 'chaty_sanitize_options');
|
740 |
-
register_setting($this->plugin_slug, 'cht_close_button', 'chaty_sanitize_options');
|
741 |
-
register_setting($this->plugin_slug, 'cht_close_button_text', 'chaty_sanitize_options');
|
742 |
-
register_setting($this->plugin_slug, 'chaty_icons_view', 'chaty_sanitize_options');
|
743 |
-
register_setting($this->plugin_slug, 'cht_created_on', 'chaty_sanitize_options');
|
744 |
-
register_setting($this->plugin_slug, 'cht_widget_title', 'chaty_sanitize_options');
|
745 |
-
|
746 |
-
// add_action('pre_update_option_cht_widget_img', array($this, 'uploadCustomWidget'), 10, 3);
|
747 |
-
|
748 |
-
// register field section three
|
749 |
-
register_setting($this->plugin_slug, 'cht_active', 'chaty_sanitize_options');
|
750 |
-
register_setting($this->plugin_slug, 'cht_cta_action', 'chaty_sanitize_options');
|
751 |
-
register_setting($this->plugin_slug, 'cht_cta_text_color', 'chaty_sanitize_options');
|
752 |
-
register_setting($this->plugin_slug, 'cht_cta_bg_color', 'chaty_sanitize_options');
|
753 |
-
register_setting($this->plugin_slug, 'cht_pending_messages', 'chaty_sanitize_options');
|
754 |
-
register_setting($this->plugin_slug, 'cht_number_of_messages', 'chaty_sanitize_options');
|
755 |
-
register_setting($this->plugin_slug, 'cht_number_color', 'chaty_sanitize_options');
|
756 |
-
register_setting($this->plugin_slug, 'cht_number_bg_color', 'chaty_sanitize_options');
|
757 |
-
|
758 |
-
// register field section token
|
759 |
-
register_setting($this->plugin_slug, 'cht_license_key', 'chaty_sanitize_options');
|
760 |
-
|
761 |
-
// register field section slug
|
762 |
-
register_setting($this->plugin_slug, 'cht_numb_slug', 'chaty_sanitize_options');
|
763 |
-
|
764 |
-
register_setting($this->plugin_slug, 'chaty_updated_on', 'chaty_sanitize_options');
|
765 |
-
|
766 |
-
cht_clear_all_caches();
|
767 |
-
}
|
768 |
-
}
|
769 |
-
}
|
770 |
-
|
771 |
-
/* checking for devices desktop/mobile */
|
772 |
-
public function device()
|
773 |
-
{
|
774 |
-
return 'desktop_active mobile_active';
|
775 |
-
}
|
776 |
-
|
777 |
-
/* return custom widget URL if uploaded */
|
778 |
-
public function getCustomWidgetImg()
|
779 |
-
{
|
780 |
-
$value = get_option('cht_widget_img');
|
781 |
-
return isset($value['url']) ? $value['url'] : '';
|
782 |
-
}
|
783 |
-
|
784 |
-
/* uploads custom widget image */
|
785 |
-
public function uploadCustomWidget($value, $old_value, $option)
|
786 |
-
{
|
787 |
-
$option = !empty($option) ? $option : 'cht_widget_img';
|
788 |
-
$allowed_ext = ['jpeg', 'png', 'jpg', 'svg'];
|
789 |
-
if (!function_exists('wp_handle_upload'))
|
790 |
-
require_once(ABSPATH . 'wp-admin/includes/file.php');
|
791 |
-
|
792 |
-
if(isset($_FILES[$option])) {
|
793 |
-
$file = &$_FILES[ $option ];
|
794 |
-
$type = wp_check_filetype( $file['name'] );
|
795 |
-
|
796 |
-
if ( ! in_array( $type['ext'], $allowed_ext ) ) {
|
797 |
-
return $old_value;
|
798 |
-
}
|
799 |
-
|
800 |
-
if ( isset( $old_value['file'] ) ) {
|
801 |
-
wp_delete_file( $old_value['file'] );
|
802 |
-
}
|
803 |
-
|
804 |
-
$overrides = array( 'test_form' => false );
|
805 |
-
$movefile = wp_handle_upload( $file, $overrides );
|
806 |
-
if ( $movefile && empty( $movefile['error'] ) ) {
|
807 |
-
return array(
|
808 |
-
'file' => $movefile['file'],
|
809 |
-
'url' => $movefile['url']
|
810 |
-
);
|
811 |
-
}
|
812 |
-
}
|
813 |
-
return array();
|
814 |
-
}
|
815 |
-
|
816 |
-
/* returns CTA text */
|
817 |
-
public function getCallToAction()
|
818 |
-
{
|
819 |
-
if (get_option('cht_cta')) {
|
820 |
-
$res = nl2br(get_option('cht_cta'));
|
821 |
-
$res = str_replace(array("\n", "\r"), "", $res);
|
822 |
-
return $res;
|
823 |
-
}
|
824 |
-
return '';
|
825 |
-
}
|
826 |
-
|
827 |
-
public static function get_font_list(){
|
828 |
-
return array(
|
829 |
-
// System fonts.
|
830 |
-
"System Stack" => 'Default',
|
831 |
-
'Arial' => 'Default',
|
832 |
-
'Tahoma' => 'Default',
|
833 |
-
'Verdana' => 'Default',
|
834 |
-
'Helvetica' => 'Default',
|
835 |
-
'Times New Roman' => 'Default',
|
836 |
-
'Trebuchet MS' => 'Default',
|
837 |
-
'Georgia' => 'Default',
|
838 |
-
|
839 |
-
// Google Fonts (last update: 23/10/2018).
|
840 |
-
'ABeeZee' => 'Google Fonts',
|
841 |
-
'Abel' => 'Google Fonts',
|
842 |
-
'Abhaya Libre' => 'Google Fonts',
|
843 |
-
'Abril Fatface' => 'Google Fonts',
|
844 |
-
'Aclonica' => 'Google Fonts',
|
845 |
-
'Acme' => 'Google Fonts',
|
846 |
-
'Actor' => 'Google Fonts',
|
847 |
-
'Adamina' => 'Google Fonts',
|
848 |
-
'Advent Pro' => 'Google Fonts',
|
849 |
-
'Aguafina Script' => 'Google Fonts',
|
850 |
-
'Akronim' => 'Google Fonts',
|
851 |
-
'Aladin' => 'Google Fonts',
|
852 |
-
'Aldrich' => 'Google Fonts',
|
853 |
-
'Alef' => 'Google Fonts',
|
854 |
-
'Alef Hebrew' => 'Google Fonts', // Hack for Google Early Access.
|
855 |
-
'Alegreya' => 'Google Fonts',
|
856 |
-
'Alegreya SC' => 'Google Fonts',
|
857 |
-
'Alegreya Sans' => 'Google Fonts',
|
858 |
-
'Alegreya Sans SC' => 'Google Fonts',
|
859 |
-
'Alex Brush' => 'Google Fonts',
|
860 |
-
'Alfa Slab One' => 'Google Fonts',
|
861 |
-
'Alice' => 'Google Fonts',
|
862 |
-
'Alike' => 'Google Fonts',
|
863 |
-
'Alike Angular' => 'Google Fonts',
|
864 |
-
'Allan' => 'Google Fonts',
|
865 |
-
'Allerta' => 'Google Fonts',
|
866 |
-
'Allerta Stencil' => 'Google Fonts',
|
867 |
-
'Allura' => 'Google Fonts',
|
868 |
-
'Almendra' => 'Google Fonts',
|
869 |
-
'Almendra Display' => 'Google Fonts',
|
870 |
-
'Almendra SC' => 'Google Fonts',
|
871 |
-
'Amarante' => 'Google Fonts',
|
872 |
-
'Amaranth' => 'Google Fonts',
|
873 |
-
'Amatic SC' => 'Google Fonts',
|
874 |
-
'Amethysta' => 'Google Fonts',
|
875 |
-
'Amiko' => 'Google Fonts',
|
876 |
-
'Amiri' => 'Google Fonts',
|
877 |
-
'Amita' => 'Google Fonts',
|
878 |
-
'Anaheim' => 'Google Fonts',
|
879 |
-
'Andada' => 'Google Fonts',
|
880 |
-
'Andika' => 'Google Fonts',
|
881 |
-
'Angkor' => 'Google Fonts',
|
882 |
-
'Annie Use Your Telescope' => 'Google Fonts',
|
883 |
-
'Anonymous Pro' => 'Google Fonts',
|
884 |
-
'Antic' => 'Google Fonts',
|
885 |
-
'Antic Didone' => 'Google Fonts',
|
886 |
-
'Antic Slab' => 'Google Fonts',
|
887 |
-
'Anton' => 'Google Fonts',
|
888 |
-
'Arapey' => 'Google Fonts',
|
889 |
-
'Arbutus' => 'Google Fonts',
|
890 |
-
'Arbutus Slab' => 'Google Fonts',
|
891 |
-
'Architects Daughter' => 'Google Fonts',
|
892 |
-
'Archivo' => 'Google Fonts',
|
893 |
-
'Archivo Black' => 'Google Fonts',
|
894 |
-
'Archivo Narrow' => 'Google Fonts',
|
895 |
-
'Aref Ruqaa' => 'Google Fonts',
|
896 |
-
'Arima Madurai' => 'Google Fonts',
|
897 |
-
'Arimo' => 'Google Fonts',
|
898 |
-
'Arizonia' => 'Google Fonts',
|
899 |
-
'Armata' => 'Google Fonts',
|
900 |
-
'Arsenal' => 'Google Fonts',
|
901 |
-
'Artifika' => 'Google Fonts',
|
902 |
-
'Arvo' => 'Google Fonts',
|
903 |
-
'Arya' => 'Google Fonts',
|
904 |
-
'Asap' => 'Google Fonts',
|
905 |
-
'Asap Condensed' => 'Google Fonts',
|
906 |
-
'Asar' => 'Google Fonts',
|
907 |
-
'Asset' => 'Google Fonts',
|
908 |
-
'Assistant' => 'Google Fonts',
|
909 |
-
'Astloch' => 'Google Fonts',
|
910 |
-
'Asul' => 'Google Fonts',
|
911 |
-
'Athiti' => 'Google Fonts',
|
912 |
-
'Atma' => 'Google Fonts',
|
913 |
-
'Atomic Age' => 'Google Fonts',
|
914 |
-
'Aubrey' => 'Google Fonts',
|
915 |
-
'Audiowide' => 'Google Fonts',
|
916 |
-
'Autour One' => 'Google Fonts',
|
917 |
-
'Average' => 'Google Fonts',
|
918 |
-
'Average Sans' => 'Google Fonts',
|
919 |
-
'Averia Gruesa Libre' => 'Google Fonts',
|
920 |
-
'Averia Libre' => 'Google Fonts',
|
921 |
-
'Averia Sans Libre' => 'Google Fonts',
|
922 |
-
'Averia Serif Libre' => 'Google Fonts',
|
923 |
-
'Bad Script' => 'Google Fonts',
|
924 |
-
'Bahiana' => 'Google Fonts',
|
925 |
-
'Bai Jamjuree' => 'Google Fonts',
|
926 |
-
'Baloo' => 'Google Fonts',
|
927 |
-
'Baloo Bhai' => 'Google Fonts',
|
928 |
-
'Baloo Bhaijaan' => 'Google Fonts',
|
929 |
-
'Baloo Bhaina' => 'Google Fonts',
|
930 |
-
'Baloo Chettan' => 'Google Fonts',
|
931 |
-
'Baloo Da' => 'Google Fonts',
|
932 |
-
'Baloo Paaji' => 'Google Fonts',
|
933 |
-
'Baloo Tamma' => 'Google Fonts',
|
934 |
-
'Baloo Tammudu' => 'Google Fonts',
|
935 |
-
'Baloo Thambi' => 'Google Fonts',
|
936 |
-
'Balthazar' => 'Google Fonts',
|
937 |
-
'Bangers' => 'Google Fonts',
|
938 |
-
'Barlow' => 'Google Fonts',
|
939 |
-
'Barlow Condensed' => 'Google Fonts',
|
940 |
-
'Barlow Semi Condensed' => 'Google Fonts',
|
941 |
-
'Barrio' => 'Google Fonts',
|
942 |
-
'Basic' => 'Google Fonts',
|
943 |
-
'Battambang' => 'Google Fonts',
|
944 |
-
'Baumans' => 'Google Fonts',
|
945 |
-
'Bayon' => 'Google Fonts',
|
946 |
-
'Belgrano' => 'Google Fonts',
|
947 |
-
'Bellefair' => 'Google Fonts',
|
948 |
-
'Belleza' => 'Google Fonts',
|
949 |
-
'BenchNine' => 'Google Fonts',
|
950 |
-
'Bentham' => 'Google Fonts',
|
951 |
-
'Berkshire Swash' => 'Google Fonts',
|
952 |
-
'Bevan' => 'Google Fonts',
|
953 |
-
'Bigelow Rules' => 'Google Fonts',
|
954 |
-
'Bigshot One' => 'Google Fonts',
|
955 |
-
'Bilbo' => 'Google Fonts',
|
956 |
-
'Bilbo Swash Caps' => 'Google Fonts',
|
957 |
-
'BioRhyme' => 'Google Fonts',
|
958 |
-
'BioRhyme Expanded' => 'Google Fonts',
|
959 |
-
'Biryani' => 'Google Fonts',
|
960 |
-
'Bitter' => 'Google Fonts',
|
961 |
-
'Black And White Picture' => 'Google Fonts',
|
962 |
-
'Black Han Sans' => 'Google Fonts',
|
963 |
-
'Black Ops One' => 'Google Fonts',
|
964 |
-
'Bokor' => 'Google Fonts',
|
965 |
-
'Bonbon' => 'Google Fonts',
|
966 |
-
'Boogaloo' => 'Google Fonts',
|
967 |
-
'Bowlby One' => 'Google Fonts',
|
968 |
-
'Bowlby One SC' => 'Google Fonts',
|
969 |
-
'Brawler' => 'Google Fonts',
|
970 |
-
'Bree Serif' => 'Google Fonts',
|
971 |
-
'Bubblegum Sans' => 'Google Fonts',
|
972 |
-
'Bubbler One' => 'Google Fonts',
|
973 |
-
'Buda' => 'Google Fonts',
|
974 |
-
'Buenard' => 'Google Fonts',
|
975 |
-
'Bungee' => 'Google Fonts',
|
976 |
-
'Bungee Hairline' => 'Google Fonts',
|
977 |
-
'Bungee Inline' => 'Google Fonts',
|
978 |
-
'Bungee Outline' => 'Google Fonts',
|
979 |
-
'Bungee Shade' => 'Google Fonts',
|
980 |
-
'Butcherman' => 'Google Fonts',
|
981 |
-
'Butterfly Kids' => 'Google Fonts',
|
982 |
-
'Cabin' => 'Google Fonts',
|
983 |
-
'Cabin Condensed' => 'Google Fonts',
|
984 |
-
'Cabin Sketch' => 'Google Fonts',
|
985 |
-
'Caesar Dressing' => 'Google Fonts',
|
986 |
-
'Cagliostro' => 'Google Fonts',
|
987 |
-
'Cairo' => 'Google Fonts',
|
988 |
-
'Calligraffitti' => 'Google Fonts',
|
989 |
-
'Cambay' => 'Google Fonts',
|
990 |
-
'Cambo' => 'Google Fonts',
|
991 |
-
'Candal' => 'Google Fonts',
|
992 |
-
'Cantarell' => 'Google Fonts',
|
993 |
-
'Cantata One' => 'Google Fonts',
|
994 |
-
'Cantora One' => 'Google Fonts',
|
995 |
-
'Capriola' => 'Google Fonts',
|
996 |
-
'Cardo' => 'Google Fonts',
|
997 |
-
'Carme' => 'Google Fonts',
|
998 |
-
'Carrois Gothic' => 'Google Fonts',
|
999 |
-
'Carrois Gothic SC' => 'Google Fonts',
|
1000 |
-
'Carter One' => 'Google Fonts',
|
1001 |
-
'Catamaran' => 'Google Fonts',
|
1002 |
-
'Caudex' => 'Google Fonts',
|
1003 |
-
'Caveat' => 'Google Fonts',
|
1004 |
-
'Caveat Brush' => 'Google Fonts',
|
1005 |
-
'Cedarville Cursive' => 'Google Fonts',
|
1006 |
-
'Ceviche One' => 'Google Fonts',
|
1007 |
-
'Chakra Petch' => 'Google Fonts',
|
1008 |
-
'Changa' => 'Google Fonts',
|
1009 |
-
'Changa One' => 'Google Fonts',
|
1010 |
-
'Chango' => 'Google Fonts',
|
1011 |
-
'Charmonman' => 'Google Fonts',
|
1012 |
-
'Chathura' => 'Google Fonts',
|
1013 |
-
'Chau Philomene One' => 'Google Fonts',
|
1014 |
-
'Chela One' => 'Google Fonts',
|
1015 |
-
'Chelsea Market' => 'Google Fonts',
|
1016 |
-
'Chenla' => 'Google Fonts',
|
1017 |
-
'Cherry Cream Soda' => 'Google Fonts',
|
1018 |
-
'Cherry Swash' => 'Google Fonts',
|
1019 |
-
'Chewy' => 'Google Fonts',
|
1020 |
-
'Chicle' => 'Google Fonts',
|
1021 |
-
'Chivo' => 'Google Fonts',
|
1022 |
-
'Chonburi' => 'Google Fonts',
|
1023 |
-
'Cinzel' => 'Google Fonts',
|
1024 |
-
'Cinzel Decorative' => 'Google Fonts',
|
1025 |
-
'Clicker Script' => 'Google Fonts',
|
1026 |
-
'Coda' => 'Google Fonts',
|
1027 |
-
'Coda Caption' => 'Google Fonts',
|
1028 |
-
'Codystar' => 'Google Fonts',
|
1029 |
-
'Coiny' => 'Google Fonts',
|
1030 |
-
'Combo' => 'Google Fonts',
|
1031 |
-
'Comfortaa' => 'Google Fonts',
|
1032 |
-
'Coming Soon' => 'Google Fonts',
|
1033 |
-
'Concert One' => 'Google Fonts',
|
1034 |
-
'Condiment' => 'Google Fonts',
|
1035 |
-
'Content' => 'Google Fonts',
|
1036 |
-
'Contrail One' => 'Google Fonts',
|
1037 |
-
'Convergence' => 'Google Fonts',
|
1038 |
-
'Cookie' => 'Google Fonts',
|
1039 |
-
'Copse' => 'Google Fonts',
|
1040 |
-
'Corben' => 'Google Fonts',
|
1041 |
-
'Cormorant' => 'Google Fonts',
|
1042 |
-
'Cormorant Garamond' => 'Google Fonts',
|
1043 |
-
'Cormorant Infant' => 'Google Fonts',
|
1044 |
-
'Cormorant SC' => 'Google Fonts',
|
1045 |
-
'Cormorant Unicase' => 'Google Fonts',
|
1046 |
-
'Cormorant Upright' => 'Google Fonts',
|
1047 |
-
'Courgette' => 'Google Fonts',
|
1048 |
-
'Cousine' => 'Google Fonts',
|
1049 |
-
'Coustard' => 'Google Fonts',
|
1050 |
-
'Covered By Your Grace' => 'Google Fonts',
|
1051 |
-
'Crafty Girls' => 'Google Fonts',
|
1052 |
-
'Creepster' => 'Google Fonts',
|
1053 |
-
'Crete Round' => 'Google Fonts',
|
1054 |
-
'Crimson Text' => 'Google Fonts',
|
1055 |
-
'Croissant One' => 'Google Fonts',
|
1056 |
-
'Crushed' => 'Google Fonts',
|
1057 |
-
'Cuprum' => 'Google Fonts',
|
1058 |
-
'Cute Font' => 'Google Fonts',
|
1059 |
-
'Cutive' => 'Google Fonts',
|
1060 |
-
'Cutive Mono' => 'Google Fonts',
|
1061 |
-
'Damion' => 'Google Fonts',
|
1062 |
-
'Dancing Script' => 'Google Fonts',
|
1063 |
-
'Dangrek' => 'Google Fonts',
|
1064 |
-
'David Libre' => 'Google Fonts',
|
1065 |
-
'Dawning of a New Day' => 'Google Fonts',
|
1066 |
-
'Days One' => 'Google Fonts',
|
1067 |
-
'Dekko' => 'Google Fonts',
|
1068 |
-
'Delius' => 'Google Fonts',
|
1069 |
-
'Delius Swash Caps' => 'Google Fonts',
|
1070 |
-
'Delius Unicase' => 'Google Fonts',
|
1071 |
-
'Della Respira' => 'Google Fonts',
|
1072 |
-
'Denk One' => 'Google Fonts',
|
1073 |
-
'Devonshire' => 'Google Fonts',
|
1074 |
-
'Dhurjati' => 'Google Fonts',
|
1075 |
-
'Didact Gothic' => 'Google Fonts',
|
1076 |
-
'Diplomata' => 'Google Fonts',
|
1077 |
-
'Diplomata SC' => 'Google Fonts',
|
1078 |
-
'Do Hyeon' => 'Google Fonts',
|
1079 |
-
'Dokdo' => 'Google Fonts',
|
1080 |
-
'Domine' => 'Google Fonts',
|
1081 |
-
'Donegal One' => 'Google Fonts',
|
1082 |
-
'Doppio One' => 'Google Fonts',
|
1083 |
-
'Dorsa' => 'Google Fonts',
|
1084 |
-
'Dosis' => 'Google Fonts',
|
1085 |
-
'Dr Sugiyama' => 'Google Fonts',
|
1086 |
-
'Droid Arabic Kufi' => 'Google Fonts', // Hack for Google Early Access.
|
1087 |
-
'Droid Arabic Naskh' => 'Google Fonts', // Hack for Google Early Access.
|
1088 |
-
'Duru Sans' => 'Google Fonts',
|
1089 |
-
'Dynalight' => 'Google Fonts',
|
1090 |
-
'EB Garamond' => 'Google Fonts',
|
1091 |
-
'Eagle Lake' => 'Google Fonts',
|
1092 |
-
'East Sea Dokdo' => 'Google Fonts',
|
1093 |
-
'Eater' => 'Google Fonts',
|
1094 |
-
'Economica' => 'Google Fonts',
|
1095 |
-
'Eczar' => 'Google Fonts',
|
1096 |
-
'El Messiri' => 'Google Fonts',
|
1097 |
-
'Electrolize' => 'Google Fonts',
|
1098 |
-
'Elsie' => 'Google Fonts',
|
1099 |
-
'Elsie Swash Caps' => 'Google Fonts',
|
1100 |
-
'Emblema One' => 'Google Fonts',
|
1101 |
-
'Emilys Candy' => 'Google Fonts',
|
1102 |
-
'Encode Sans' => 'Google Fonts',
|
1103 |
-
'Encode Sans Condensed' => 'Google Fonts',
|
1104 |
-
'Encode Sans Expanded' => 'Google Fonts',
|
1105 |
-
'Encode Sans Semi Condensed' => 'Google Fonts',
|
1106 |
-
'Encode Sans Semi Expanded' => 'Google Fonts',
|
1107 |
-
'Engagement' => 'Google Fonts',
|
1108 |
-
'Englebert' => 'Google Fonts',
|
1109 |
-
'Enriqueta' => 'Google Fonts',
|
1110 |
-
'Erica One' => 'Google Fonts',
|
1111 |
-
'Esteban' => 'Google Fonts',
|
1112 |
-
'Euphoria Script' => 'Google Fonts',
|
1113 |
-
'Ewert' => 'Google Fonts',
|
1114 |
-
'Exo' => 'Google Fonts',
|
1115 |
-
'Exo 2' => 'Google Fonts',
|
1116 |
-
'Expletus Sans' => 'Google Fonts',
|
1117 |
-
'Fahkwang' => 'Google Fonts',
|
1118 |
-
'Fanwood Text' => 'Google Fonts',
|
1119 |
-
'Farsan' => 'Google Fonts',
|
1120 |
-
'Fascinate' => 'Google Fonts',
|
1121 |
-
'Fascinate Inline' => 'Google Fonts',
|
1122 |
-
'Faster One' => 'Google Fonts',
|
1123 |
-
'Fasthand' => 'Google Fonts',
|
1124 |
-
'Fauna One' => 'Google Fonts',
|
1125 |
-
'Faustina' => 'Google Fonts',
|
1126 |
-
'Federant' => 'Google Fonts',
|
1127 |
-
'Federo' => 'Google Fonts',
|
1128 |
-
'Felipa' => 'Google Fonts',
|
1129 |
-
'Fenix' => 'Google Fonts',
|
1130 |
-
'Finger Paint' => 'Google Fonts',
|
1131 |
-
'Fira Mono' => 'Google Fonts',
|
1132 |
-
'Fira Sans' => 'Google Fonts',
|
1133 |
-
'Fira Sans Condensed' => 'Google Fonts',
|
1134 |
-
'Fira Sans Extra Condensed' => 'Google Fonts',
|
1135 |
-
'Fjalla One' => 'Google Fonts',
|
1136 |
-
'Fjord One' => 'Google Fonts',
|
1137 |
-
'Flamenco' => 'Google Fonts',
|
1138 |
-
'Flavors' => 'Google Fonts',
|
1139 |
-
'Fondamento' => 'Google Fonts',
|
1140 |
-
'Fontdiner Swanky' => 'Google Fonts',
|
1141 |
-
'Forum' => 'Google Fonts',
|
1142 |
-
'Francois One' => 'Google Fonts',
|
1143 |
-
'Frank Ruhl Libre' => 'Google Fonts',
|
1144 |
-
'Freckle Face' => 'Google Fonts',
|
1145 |
-
'Fredericka the Great' => 'Google Fonts',
|
1146 |
-
'Fredoka One' => 'Google Fonts',
|
1147 |
-
'Freehand' => 'Google Fonts',
|
1148 |
-
'Fresca' => 'Google Fonts',
|
1149 |
-
'Frijole' => 'Google Fonts',
|
1150 |
-
'Fruktur' => 'Google Fonts',
|
1151 |
-
'Fugaz One' => 'Google Fonts',
|
1152 |
-
'GFS Didot' => 'Google Fonts',
|
1153 |
-
'GFS Neohellenic' => 'Google Fonts',
|
1154 |
-
'Gabriela' => 'Google Fonts',
|
1155 |
-
'Gaegu' => 'Google Fonts',
|
1156 |
-
'Gafata' => 'Google Fonts',
|
1157 |
-
'Galada' => 'Google Fonts',
|
1158 |
-
'Galdeano' => 'Google Fonts',
|
1159 |
-
'Galindo' => 'Google Fonts',
|
1160 |
-
'Gamja Flower' => 'Google Fonts',
|
1161 |
-
'Gentium Basic' => 'Google Fonts',
|
1162 |
-
'Gentium Book Basic' => 'Google Fonts',
|
1163 |
-
'Geo' => 'Google Fonts',
|
1164 |
-
'Geostar' => 'Google Fonts',
|
1165 |
-
'Geostar Fill' => 'Google Fonts',
|
1166 |
-
'Germania One' => 'Google Fonts',
|
1167 |
-
'Gidugu' => 'Google Fonts',
|
1168 |
-
'Gilda Display' => 'Google Fonts',
|
1169 |
-
'Give You Glory' => 'Google Fonts',
|
1170 |
-
'Glass Antiqua' => 'Google Fonts',
|
1171 |
-
'Glegoo' => 'Google Fonts',
|
1172 |
-
'Gloria Hallelujah' => 'Google Fonts',
|
1173 |
-
'Goblin One' => 'Google Fonts',
|
1174 |
-
'Gochi Hand' => 'Google Fonts',
|
1175 |
-
'Gorditas' => 'Google Fonts',
|
1176 |
-
'Gothic A1' => 'Google Fonts',
|
1177 |
-
'Goudy Bookletter 1911' => 'Google Fonts',
|
1178 |
-
'Graduate' => 'Google Fonts',
|
1179 |
-
'Grand Hotel' => 'Google Fonts',
|
1180 |
-
'Gravitas One' => 'Google Fonts',
|
1181 |
-
'Great Vibes' => 'Google Fonts',
|
1182 |
-
'Griffy' => 'Google Fonts',
|
1183 |
-
'Gruppo' => 'Google Fonts',
|
1184 |
-
'Gudea' => 'Google Fonts',
|
1185 |
-
'Gugi' => 'Google Fonts',
|
1186 |
-
'Gurajada' => 'Google Fonts',
|
1187 |
-
'Habibi' => 'Google Fonts',
|
1188 |
-
'Halant' => 'Google Fonts',
|
1189 |
-
'Hammersmith One' => 'Google Fonts',
|
1190 |
-
'Hanalei' => 'Google Fonts',
|
1191 |
-
'Hanalei Fill' => 'Google Fonts',
|
1192 |
-
'Handlee' => 'Google Fonts',
|
1193 |
-
'Hanuman' => 'Google Fonts',
|
1194 |
-
'Happy Monkey' => 'Google Fonts',
|
1195 |
-
'Harmattan' => 'Google Fonts',
|
1196 |
-
'Headland One' => 'Google Fonts',
|
1197 |
-
'Heebo' => 'Google Fonts',
|
1198 |
-
'Henny Penny' => 'Google Fonts',
|
1199 |
-
'Herr Von Muellerhoff' => 'Google Fonts',
|
1200 |
-
'Hi Melody' => 'Google Fonts',
|
1201 |
-
'Hind' => 'Google Fonts',
|
1202 |
-
'Hind Guntur' => 'Google Fonts',
|
1203 |
-
'Hind Madurai' => 'Google Fonts',
|
1204 |
-
'Hind Siliguri' => 'Google Fonts',
|
1205 |
-
'Hind Vadodara' => 'Google Fonts',
|
1206 |
-
'Holtwood One SC' => 'Google Fonts',
|
1207 |
-
'Homemade Apple' => 'Google Fonts',
|
1208 |
-
'Homenaje' => 'Google Fonts',
|
1209 |
-
'IBM Plex Mono' => 'Google Fonts',
|
1210 |
-
'IBM Plex Sans' => 'Google Fonts',
|
1211 |
-
'IBM Plex Sans Condensed' => 'Google Fonts',
|
1212 |
-
'IBM Plex Serif' => 'Google Fonts',
|
1213 |
-
'IM Fell DW Pica' => 'Google Fonts',
|
1214 |
-
'IM Fell DW Pica SC' => 'Google Fonts',
|
1215 |
-
'IM Fell Double Pica' => 'Google Fonts',
|
1216 |
-
'IM Fell Double Pica SC' => 'Google Fonts',
|
1217 |
-
'IM Fell English' => 'Google Fonts',
|
1218 |
-
'IM Fell English SC' => 'Google Fonts',
|
1219 |
-
'IM Fell French Canon' => 'Google Fonts',
|
1220 |
-
'IM Fell French Canon SC' => 'Google Fonts',
|
1221 |
-
'IM Fell Great Primer' => 'Google Fonts',
|
1222 |
-
'IM Fell Great Primer SC' => 'Google Fonts',
|
1223 |
-
'Iceberg' => 'Google Fonts',
|
1224 |
-
'Iceland' => 'Google Fonts',
|
1225 |
-
'Imprima' => 'Google Fonts',
|
1226 |
-
'Inconsolata' => 'Google Fonts',
|
1227 |
-
'Inder' => 'Google Fonts',
|
1228 |
-
'Indie Flower' => 'Google Fonts',
|
1229 |
-
'Inika' => 'Google Fonts',
|
1230 |
-
'Inknut Antiqua' => 'Google Fonts',
|
1231 |
-
'Irish Grover' => 'Google Fonts',
|
1232 |
-
'Istok Web' => 'Google Fonts',
|
1233 |
-
'Italiana' => 'Google Fonts',
|
1234 |
-
'Italianno' => 'Google Fonts',
|
1235 |
-
'Itim' => 'Google Fonts',
|
1236 |
-
'Jacques Francois' => 'Google Fonts',
|
1237 |
-
'Jacques Francois Shadow' => 'Google Fonts',
|
1238 |
-
'Jaldi' => 'Google Fonts',
|
1239 |
-
'Jim Nightshade' => 'Google Fonts',
|
1240 |
-
'Jockey One' => 'Google Fonts',
|
1241 |
-
'Jolly Lodger' => 'Google Fonts',
|
1242 |
-
'Jomhuria' => 'Google Fonts',
|
1243 |
-
'Josefin Sans' => 'Google Fonts',
|
1244 |
-
'Josefin Slab' => 'Google Fonts',
|
1245 |
-
'Joti One' => 'Google Fonts',
|
1246 |
-
'Jua' => 'Google Fonts',
|
1247 |
-
'Judson' => 'Google Fonts',
|
1248 |
-
'Julee' => 'Google Fonts',
|
1249 |
-
'Julius Sans One' => 'Google Fonts',
|
1250 |
-
'Junge' => 'Google Fonts',
|
1251 |
-
'Jura' => 'Google Fonts',
|
1252 |
-
'Just Another Hand' => 'Google Fonts',
|
1253 |
-
'Just Me Again Down Here' => 'Google Fonts',
|
1254 |
-
'K2D' => 'Google Fonts',
|
1255 |
-
'Kadwa' => 'Google Fonts',
|
1256 |
-
'Kalam' => 'Google Fonts',
|
1257 |
-
'Kameron' => 'Google Fonts',
|
1258 |
-
'Kanit' => 'Google Fonts',
|
1259 |
-
'Kantumruy' => 'Google Fonts',
|
1260 |
-
'Karla' => 'Google Fonts',
|
1261 |
-
'Karma' => 'Google Fonts',
|
1262 |
-
'Katibeh' => 'Google Fonts',
|
1263 |
-
'Kaushan Script' => 'Google Fonts',
|
1264 |
-
'Kavivanar' => 'Google Fonts',
|
1265 |
-
'Kavoon' => 'Google Fonts',
|
1266 |
-
'Kdam Thmor' => 'Google Fonts',
|
1267 |
-
'Keania One' => 'Google Fonts',
|
1268 |
-
'Kelly Slab' => 'Google Fonts',
|
1269 |
-
'Kenia' => 'Google Fonts',
|
1270 |
-
'Khand' => 'Google Fonts',
|
1271 |
-
'Khmer' => 'Google Fonts',
|
1272 |
-
'Khula' => 'Google Fonts',
|
1273 |
-
'Kirang Haerang' => 'Google Fonts',
|
1274 |
-
'Kite One' => 'Google Fonts',
|
1275 |
-
'Knewave' => 'Google Fonts',
|
1276 |
-
'KoHo' => 'Google Fonts',
|
1277 |
-
'Kodchasan' => 'Google Fonts',
|
1278 |
-
'Kosugi' => 'Google Fonts',
|
1279 |
-
'Kosugi Maru' => 'Google Fonts',
|
1280 |
-
'Kotta One' => 'Google Fonts',
|
1281 |
-
'Koulen' => 'Google Fonts',
|
1282 |
-
'Kranky' => 'Google Fonts',
|
1283 |
-
'Kreon' => 'Google Fonts',
|
1284 |
-
'Kristi' => 'Google Fonts',
|
1285 |
-
'Krona One' => 'Google Fonts',
|
1286 |
-
'Krub' => 'Google Fonts',
|
1287 |
-
'Kumar One' => 'Google Fonts',
|
1288 |
-
'Kumar One Outline' => 'Google Fonts',
|
1289 |
-
'Kurale' => 'Google Fonts',
|
1290 |
-
'La Belle Aurore' => 'Google Fonts',
|
1291 |
-
'Laila' => 'Google Fonts',
|
1292 |
-
'Lakki Reddy' => 'Google Fonts',
|
1293 |
-
'Lalezar' => 'Google Fonts',
|
1294 |
-
'Lancelot' => 'Google Fonts',
|
1295 |
-
'Lateef' => 'Google Fonts',
|
1296 |
-
'Lato' => 'Google Fonts',
|
1297 |
-
'League Script' => 'Google Fonts',
|
1298 |
-
'Leckerli One' => 'Google Fonts',
|
1299 |
-
'Ledger' => 'Google Fonts',
|
1300 |
-
'Lekton' => 'Google Fonts',
|
1301 |
-
'Lemon' => 'Google Fonts',
|
1302 |
-
'Lemonada' => 'Google Fonts',
|
1303 |
-
'Libre Barcode 128' => 'Google Fonts',
|
1304 |
-
'Libre Barcode 128 Text' => 'Google Fonts',
|
1305 |
-
'Libre Barcode 39' => 'Google Fonts',
|
1306 |
-
'Libre Barcode 39 Extended' => 'Google Fonts',
|
1307 |
-
'Libre Barcode 39 Extended Text' => 'Google Fonts',
|
1308 |
-
'Libre Barcode 39 Text' => 'Google Fonts',
|
1309 |
-
'Libre Baskerville' => 'Google Fonts',
|
1310 |
-
'Libre Franklin' => 'Google Fonts',
|
1311 |
-
'Life Savers' => 'Google Fonts',
|
1312 |
-
'Lilita One' => 'Google Fonts',
|
1313 |
-
'Lily Script One' => 'Google Fonts',
|
1314 |
-
'Limelight' => 'Google Fonts',
|
1315 |
-
'Linden Hill' => 'Google Fonts',
|
1316 |
-
'Lobster' => 'Google Fonts',
|
1317 |
-
'Lobster Two' => 'Google Fonts',
|
1318 |
-
'Londrina Outline' => 'Google Fonts',
|
1319 |
-
'Londrina Shadow' => 'Google Fonts',
|
1320 |
-
'Londrina Sketch' => 'Google Fonts',
|
1321 |
-
'Londrina Solid' => 'Google Fonts',
|
1322 |
-
'Lora' => 'Google Fonts',
|
1323 |
-
'Love Ya Like A Sister' => 'Google Fonts',
|
1324 |
-
'Loved by the King' => 'Google Fonts',
|
1325 |
-
'Lovers Quarrel' => 'Google Fonts',
|
1326 |
-
'Luckiest Guy' => 'Google Fonts',
|
1327 |
-
'Lusitana' => 'Google Fonts',
|
1328 |
-
'Lustria' => 'Google Fonts',
|
1329 |
-
'M PLUS 1p' => 'Google Fonts',
|
1330 |
-
'M PLUS Rounded 1c' => 'Google Fonts',
|
1331 |
-
'Macondo' => 'Google Fonts',
|
1332 |
-
'Macondo Swash Caps' => 'Google Fonts',
|
1333 |
-
'Mada' => 'Google Fonts',
|
1334 |
-
'Magra' => 'Google Fonts',
|
1335 |
-
'Maiden Orange' => 'Google Fonts',
|
1336 |
-
'Maitree' => 'Google Fonts',
|
1337 |
-
'Mako' => 'Google Fonts',
|
1338 |
-
'Mali' => 'Google Fonts',
|
1339 |
-
'Mallanna' => 'Google Fonts',
|
1340 |
-
'Mandali' => 'Google Fonts',
|
1341 |
-
'Manuale' => 'Google Fonts',
|
1342 |
-
'Marcellus' => 'Google Fonts',
|
1343 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|