Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty - Version 2.8.6

Version Description

Minor UI bugs fixed

Download this release

Release Info

Developer galdub
Plugin Icon wp plugin Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line, WeChat, Email, SMS, Call Button – Chaty
Version 2.8.6
Comparing to
See all releases

Code changes from version 2.8.5 to 2.8.6

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/cht-scripts.js CHANGED
@@ -1,2535 +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
- 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
  }
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/chaty-timezone.php CHANGED
@@ -1,309 +1,309 @@
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
- }
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,2315 +1,2315 @@
1
- <?php
2
- /**
3
- * Class Chaty admin settings
4
- *
5
- * @author : Premio <contact@premio.io>
6
- * @license : GPL2
7
- * */
8
-
9
- namespace CHT\admin;
10
-
11
- use CHT\includes\CHT_Widget;
12
-
13
- if (defined('ABSPATH') === false) {
14
- exit;
15
- }
16
-
17
- require_once 'class-social-icons.php';
18
-
19
- class CHT_Admin_Base
20
- {
21
-
22
- public $page;
23
-
24
- public $socials;
25
-
26
- public $colors;
27
-
28
- protected $token;
29
-
30
- protected static $response = null;
31
-
32
- protected $upgradeSlug;
33
-
34
-
35
- public function __construct()
36
- {
37
- $plugin = CHT_Widget::get_instance();
38
- $this->pluginSlug = $plugin->get_pluginSlug();
39
- $this->friendlyName = $plugin->get_name();
40
- $this->socials = CHT_Social_Icons::get_instance()->get_icons_list();
41
- $this->colors = CHT_Social_Icons::get_instance()->get_colors();
42
- $this->token = $this->get_token();
43
- $this->upgradeSlug = $this->pluginSlug.'-upgrade';
44
-
45
- if (is_admin()) {
46
- // admin actions
47
- add_action('admin_menu', [$this, 'cht_admin_setting_page']);
48
- // Adds all of the options for the administrative settings
49
- add_action('admin_init', [$this, 'cht_register_inputs']);
50
- add_action('admin_head', [$this, 'cht_inline_css_admin']);
51
- }
52
-
53
- // add_action('updated_option', array($this, 'cht_clear_all_caches'));
54
- // Send message to owner
55
- add_action('wp_ajax_wcp_admin_send_message_to_owner', [$this, 'wcp_admin_send_message_to_owner']);
56
-
57
- // ADD Upgrade link to plugin
58
- add_filter('plugin_action_links_'.CHT_PLUGIN_BASE, [$this, 'plugin_action_links']);
59
-
60
- add_action('admin_footer', [$this, 'add_deactivate_modal']);
61
- add_action('wp_ajax_chaty_plugin_deactivate', [$this, 'chaty_plugin_deactivate']);
62
-
63
- add_action('admin_enqueue_scripts', [$this, 'enqueue_styles'], 99);
64
-
65
- add_action('admin_enqueue_scripts', [$this, 'enqueue_scripts'], 99);
66
-
67
- add_action("wp_ajax_chaty_update_status", [$this, 'chaty_update_status']);
68
-
69
- // load language files
70
- add_action('plugins_loaded', [ $this, 'chaty_text' ]);
71
-
72
- add_action("wp_ajax_update_popup_status", [$this, 'update_popup_status']);
73
- add_action("wp_ajax_update_channel_setting", [$this, 'update_channel_setting']);
74
-
75
- }//end __construct()
76
-
77
-
78
- /**
79
- * Append extra links on plugin page
80
- *
81
- * @since 1.0.0
82
- * @access public
83
- * @return $links
84
- */
85
- public function plugin_action_links($links)
86
- {
87
- $links['need_help'] = '<a target="_blank" href="https://premio.io/help/chaty/?utm_source=pluginspage" >'.__('Need help?', "chaty").'</a>';
88
- $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', "chaty").'</a>';
89
- return $links;
90
-
91
- }//end plugin_action_links()
92
-
93
-
94
- /**
95
- * Sends data premio why plugin is deactivated
96
- *
97
- * @since 1.0.0
98
- * @access public
99
- * @return $response
100
- */
101
- public function chaty_plugin_deactivate()
102
- {
103
- $errorCounter = 0;
104
- $response = [];
105
- $response['status'] = 0;
106
- $response['message'] = "";
107
- $response['valid'] = 1;
108
- $reason = filter_input(INPUT_POST, 'reason');
109
- $nonce = filter_input(INPUT_POST, 'nonce');
110
- if (empty($reason)) {
111
- $errorCounter++;
112
- $response['message'] = "Please provide reason";
113
- } else if (empty($nonce)) {
114
- $response['message'] = esc_html__("Your request is not valid", "chaty");
115
- $errorCounter++;
116
- $response['valid'] = 0;
117
- } else if (!current_user_can("manage_options")) {
118
- $response['message'] = esc_html__("Your request is not valid", "chaty");
119
- $errorCounter++;
120
- $response['valid'] = 0;
121
- } else {
122
- if (!wp_verify_nonce($nonce, 'chaty_deactivate_nonce')) {
123
- $response['message'] = esc_html__("Your request is not valid", "chaty");
124
- $errorCounter++;
125
- $response['valid'] = 0;
126
- }
127
- }
128
-
129
- if ($errorCounter == 0) {
130
- global $currentUser;
131
- $email = "none@none.none";
132
-
133
- $emailId = filter_input(INPUT_POST, 'email_id');
134
- if (isset($emailId) && !empty($emailId) && filter_var($emailId, FILTER_VALIDATE_EMAIL)) {
135
- $email = $emailId;
136
- }
137
-
138
- filter_input(INPUT_POST, 'email_id');
139
-
140
- $domain = site_url();
141
- $userName = $currentUser->first_name." ".$currentUser->last_name;
142
-
143
- $response['status'] = 1;
144
-
145
- // sending message to Crisp
146
- $postMessage = [];
147
-
148
- $messageData = [];
149
- $messageData['key'] = "Plugin";
150
- $messageData['value'] = "Chaty";
151
- $postMessage[] = $messageData;
152
-
153
- $messageData = [];
154
- $messageData['key'] = "Plugin Version";
155
- $messageData['value'] = CHT_VERSION;
156
- $postMessage[] = $messageData;
157
-
158
- $messageData = [];
159
- $messageData['key'] = "Domain";
160
- $messageData['value'] = $domain;
161
- $postMessage[] = $messageData;
162
-
163
- $messageData = [];
164
- $messageData['key'] = "Email";
165
- $messageData['value'] = $email;
166
- $postMessage[] = $messageData;
167
-
168
- $messageData = [];
169
- $messageData['key'] = "WordPress Version";
170
- $messageData['value'] = esc_attr(get_bloginfo('version'));
171
- $postMessage[] = $messageData;
172
-
173
- $messageData = [];
174
- $messageData['key'] = "PHP Version";
175
- $messageData['value'] = PHP_VERSION;
176
- $postMessage[] = $messageData;
177
-
178
- $messageData = [];
179
- $messageData['key'] = "Message";
180
- $messageData['value'] = $reason;
181
- $postMessage[] = $messageData;
182
-
183
- $apiParams = [
184
- 'domain' => $domain,
185
- 'email' => $email,
186
- 'url' => site_url(),
187
- 'name' => $userName,
188
- 'message' => $postMessage,
189
- 'plugin' => "Chaty",
190
- 'type' => "Uninstall",
191
- ];
192
-
193
- $apiURL = "https://premioapps.com/premio/send-message-api.php";
194
-
195
- // Sending message to Crisp API
196
- $apiResponse = wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => true]);
197
-
198
- if (is_wp_error($apiResponse)) {
199
- wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => false]);
200
- }
201
- }//end if
202
-
203
- echo json_encode($response);
204
- wp_die();
205
-
206
- }//end chaty_plugin_deactivate()
207
-
208
-
209
- /**
210
- * Sanitize the input data
211
- *
212
- * @since 1.0.0
213
- * @access public
214
- * @return $value
215
- */
216
- public static function chaty_sanitize_options($value)
217
- {
218
- $value = stripslashes($value);
219
- $value = filter_var($value, FILTER_SANITIZE_STRING);
220
- $value = htmlspecialchars($value);
221
- return $value;
222
-
223
- }//end chaty_sanitize_options()
224
-
225
-
226
- /**
227
- * Add deactivate popup on plugin page
228
- *
229
- * @since 1.0.0
230
- * @access public
231
- * @return $popupHtml
232
- */
233
- public function add_deactivate_modal()
234
- {
235
- if (current_user_can("manage_options")) {
236
- global $pagenow;
237
-
238
- if ('plugins.php' !== $pagenow) {
239
- return;
240
- }
241
-
242
- include CHT_DIR.'/views/admin/chaty-deactivate-form.php';
243
- }
244
-
245
- }//end add_deactivate_modal()
246
-
247
-
248
- /**
249
- * Remove _ from strings
250
- *
251
- * @since 1.0.0
252
- * @access public
253
- * @return $text
254
- */
255
- public function del_space($text)
256
- {
257
- return str_replace('_', ' ', $text);
258
-
259
- }//end del_space()
260
-
261
-
262
- /**
263
- * Appends inline CSS to WP header
264
- *
265
- * @since 1.0.0
266
- * @access public
267
- * @return $css
268
- */
269
- public function cht_inline_css_admin()
270
- {
271
- ob_start();
272
- ?>
273
- <style>
274
- #toplevel_page_chaty-app img:hover, #toplevel_page_chaty-app img {
275
- opacity: 0 !important;
276
- }
277
- #toplevel_page_chaty-app:hover .dashicons-before{
278
- background-color: #00b9eb;
279
- }
280
- #toplevel_page_chaty-app .dashicons-before{
281
- background-color: #A0A3A8;
282
- -webkit-mask: url('<?php echo esc_url(plugins_url('chaty/admin/assets/images/chaty.svg')) ?>') no-repeat center;
283
- mask: url('<?php echo esc_url(plugins_url('chaty/admin/assets/images/chaty.svg')) ?>') no-repeat center;
284
- }
285
- .current#toplevel_page_chaty-app .dashicons-before{
286
- background-color: #fff;
287
- }
288
- </style>
289
- <?php
290
- echo ob_get_clean();
291
-
292
- }//end cht_inline_css_admin()
293
-
294
-
295
- /**
296
- * Enqueue CSS to wp-admin
297
- *
298
- * @since 1.0.0
299
- * @access public
300
- * @return $styles
301
- */
302
- public function enqueue_styles($page)
303
- {
304
- // echo $page; die;
305
- if ($page == 'toplevel_page_chaty-app' || $page == 'chaty_page_chaty-contact-form-feed' || $page == 'chaty_page_widget-analytics' || $page == "chaty_page_chaty-upgrade") {
306
- $query_args = [
307
- 'family' => 'Rubik:400,700|Oswald:400,600',
308
- 'subset' => 'latin,latin-ext',
309
- ];
310
- wp_enqueue_style('google_fonts', add_query_arg($query_args, "//fonts.googleapis.com/css"), [], null);
311
- wp_enqueue_style($this->pluginSlug.'spectrum', plugins_url('../admin/assets/css/spectrum.min.css', __FILE__), [], CHT_VERSION);
312
- wp_enqueue_style($this->pluginSlug.'intlTelInput', plugins_url('../admin/assets/css/intlTelInput.min.css', __FILE__), [], CHT_VERSION);
313
- // WP change this
314
- if ($page == 'chaty_page_chaty-contact-form-feed') {
315
- wp_enqueue_style('jquery-ui-css', plugins_url('../admin/assets/css/datepicker.min.css', __FILE__), [], CHT_VERSION);
316
- }
317
-
318
- wp_enqueue_style($this->pluginSlug, plugins_url('../admin/assets/css/cht-style.min.css', __FILE__), [], CHT_VERSION);
319
- }
320
-
321
- if ($page == "chaty_page_chaty-upgrade" || $page == "chaty_page_widget-analytics") {
322
- $query_args = [
323
- 'family' => 'Poppins:400,700',
324
- 'subset' => 'latin,latin-ext',
325
- ];
326
- wp_enqueue_style('google-chaty-fonts', add_query_arg($query_args, "//fonts.googleapis.com/css"), [], null);
327
- }
328
-
329
- }//end enqueue_styles()
330
-
331
-
332
- /**
333
- * Enqueue CSS to wp-admin for Pricing table
334
- *
335
- * @since 1.0.0
336
- * @access public
337
- * @return $style
338
- */
339
- public function enqueue_pricing_styles()
340
- {
341
- wp_enqueue_style($this->pluginSlug."-select2", plugins_url('../admin/assets/css/select2.min.css', __FILE__), [], CHT_VERSION);
342
- wp_enqueue_style($this->pluginSlug."-pricing", plugins_url('../admin/assets/css/admin-setting.css', __FILE__), [], CHT_VERSION);
343
-
344
- }//end enqueue_pricing_styles()
345
-
346
-
347
- /**
348
- * Enqueue JS to wp-admin
349
- *
350
- * @since 1.0.0
351
- * @access public
352
- * @return $script
353
- */
354
- public function enqueue_scripts($page)
355
- {
356
- if ($page == 'chaty_page_widget-analytics' || $page == "chaty_page_chaty-contact-form-feed") {
357
- wp_enqueue_script('jquery-ui-datepicker');
358
- return;
359
- }
360
-
361
- $isShown = get_option("chaty_update_message");
362
- if ($isShown === false) {
363
- return;
364
- }
365
-
366
- if ($page != "toplevel_page_chaty-app") {
367
- return;
368
- }
369
-
370
- wp_enqueue_script($this->pluginSlug.'fileinput', plugins_url('../admin/assets/js/fileinput.min.js', __FILE__), ['jquery'], CHT_VERSION);
371
- wp_enqueue_script($this->pluginSlug.'spectrum', plugins_url('../admin/assets/js/spectrum.min.js', __FILE__), ['jquery'], CHT_VERSION);
372
- wp_enqueue_script($this->pluginSlug.'pop', plugins_url('../admin/assets/js/popper.min.js', __FILE__), ['jquery'], CHT_VERSION);
373
- wp_enqueue_script($this->pluginSlug.'intlTelInput', plugins_url('../admin/assets/js/intlTelInput.min.js', __FILE__), ['jquery'], CHT_VERSION);
374
-
375
- // WP change this
376
- wp_enqueue_editor();
377
- wp_enqueue_script($this->pluginSlug.'chaty', plugins_url('../admin/assets/js/cht-scripts.min.js', __FILE__), ['jquery', 'wp-color-picker', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable'], CHT_VERSION);
378
- wp_localize_script(
379
- $this->pluginSlug.'chaty',
380
- 'cht_nonce_ajax',
381
- [
382
- 'cht_nonce' => wp_create_nonce('cht_nonce_ajax'),
383
- ]
384
- );
385
- $whatsappSettings = [];
386
- foreach ($this->socials as $social) {
387
- $whatsappSettings[$social['slug']] = "";
388
- }
389
-
390
- wp_localize_script(
391
- $this->pluginSlug.'chaty',
392
- 'cht_settings',
393
- [
394
- 'plugin_url' => CHT_PLUGIN_URL,
395
- 'channel_settings' => $whatsappSettings,
396
- ]
397
- );
398
-
399
- }//end enqueue_scripts()
400
-
401
-
402
- /**
403
- * Add chaty menu items
404
- *
405
- * @since 1.0.0
406
- * @access public
407
- * @return $menu
408
- */
409
- public function cht_admin_setting_page()
410
- {
411
- if (current_user_can('manage_options')) {
412
- $this->page = add_menu_page(
413
- esc_attr__('Chaty', "chaty"),
414
- esc_attr__('Chaty', "chaty"),
415
- 'manage_options',
416
- $this->pluginSlug,
417
- [
418
- $this,
419
- 'display_cht_admin_page',
420
- ],
421
- plugins_url('chaty/admin/assets/images/chaty.svg')
422
- );
423
-
424
- add_submenu_page(
425
- $this->pluginSlug,
426
- esc_attr__('Dashboard', "chaty"),
427
- esc_attr__('Dashboard', "chaty"),
428
- 'manage_options',
429
- $this->pluginSlug,
430
- [
431
- $this,
432
- 'display_cht_admin_page',
433
- ]
434
- );
435
-
436
- $widgetPage = add_submenu_page(
437
- $this->pluginSlug,
438
- esc_attr__('Settings Admin', "chaty"),
439
- esc_attr__('+ Create New Widget', "chaty"),
440
- 'manage_options',
441
- "chaty-upgrade",
442
- [
443
- $this,
444
- "chaty_widget_page",
445
- ]
446
- );
447
-
448
- // creating admin sub menu for chaty
449
- $upgradePage = add_submenu_page(
450
- $this->pluginSlug,
451
- esc_attr__('Widget Analytics', "chaty"),
452
- esc_attr__('Widget Analytics', "chaty"),
453
- 'manage_options',
454
- 'widget-analytics',
455
- [
456
- $this,
457
- 'display_cht_admin_widget_analytics',
458
- ]
459
- );
460
- add_action('admin_print_styles-'.$upgradePage, [$this, 'enqueue_styles']);
461
-
462
- // creating admin sub menu for chaty
463
- $feedPage = add_submenu_page(
464
- $this->pluginSlug,
465
- esc_attr__('Contact form leads', "chaty"),
466
- esc_attr__('Contact form leads', "chaty"),
467
- 'manage_options',
468
- "chaty-contact-form-feed",
469
- [
470
- $this,
471
- 'chaty_contact_form_feed',
472
- ]
473
- );
474
- add_action('admin_print_styles-'.$feedPage, [$this, 'enqueue_styles']);
475
- // creating admin sub menu for chaty
476
- $getData = filter_input_array(INPUT_GET);
477
- if (isset($getData['hide_chaty_recommended_plugin']) && isset($getData['nonce'])) {
478
- if (current_user_can('manage_options')) {
479
- $nonce = $getData['nonce'];
480
- if (wp_verify_nonce($nonce, "chaty_recommended_plugin")) {
481
- update_option('hide_chaty_recommended_plugin', true);
482
- }
483
- }
484
- }
485
-
486
- $recommendedPlugin = get_option("hide_chaty_recommended_plugin");
487
- if ($recommendedPlugin === false) {
488
- add_submenu_page(
489
- $this->pluginSlug,
490
- esc_html__('Recommended Plugins', "chaty"),
491
- esc_html__('Recommended Plugins', "chaty"),
492
- 'manage_options',
493
- 'recommended-chaty-plugins',
494
- [
495
- $this,
496
- 'recommended_plugins',
497
- ]
498
- );
499
- }
500
-
501
- $upgradePage = add_submenu_page(
502
- $this->pluginSlug,
503
- esc_attr__('Upgrade to Pro', "chaty"),
504
- esc_attr__('Upgrade to Pro', "chaty"),
505
- 'manage_options',
506
- $this->upgradeSlug,
507
- [
508
- $this,
509
- 'display_cht_admin_upgrade_page',
510
- ]
511
- );
512
- add_action('admin_print_styles-'.$upgradePage, [$this, 'enqueue_pricing_styles']);
513
- }//end if
514
-
515
- // Load public-facing style sheet and JavaScript.
516
- add_action('admin_print_styles-'.$this->page, [$this, 'enqueue_styles']);
517
-
518
- }//end cht_admin_setting_page()
519
-
520
-
521
- /**
522
- * Contact form list
523
- *
524
- * @since 1.0.0
525
- * @access public
526
- * @return $leads
527
- */
528
- public function chaty_contact_form_feed()
529
- {
530
- include_once CHT_DIR.'/views/admin/contact-form-feed.php';
531
-
532
- }//end chaty_contact_form_feed()
533
-
534
-
535
- /**
536
- * Display recommended plugins
537
- *
538
- * @since 1.0.0
539
- * @access public
540
- * @return $plugins
541
- */
542
- public function recommended_plugins()
543
- {
544
- include_once CHT_DIR.'/views/admin/recommended-plugins.php';
545
-
546
- }//end recommended_plugins()
547
-
548
-
549
- /**
550
- * Display widget analytics
551
- *
552
- * @since 1.0.0
553
- * @access public
554
- * @return $analytics
555
- */
556
- public function display_cht_admin_widget_analytics()
557
- {
558
- include_once CHT_DIR.'/views/admin/pro_analytics.php';
559
-
560
- }//end display_analyticscht_admin_widget_analytics()
561
-
562
-
563
- /**
564
- * Returns upgrade URL
565
- *
566
- * @since 1.0.0
567
- * @access public
568
- * @return $url
569
- */
570
- public function getUpgradeMenuItemUrl()
571
- {
572
- return CHT_PRO_URL;
573
-
574
- }//end getUpgradeMenuItemUrl()
575
-
576
-
577
- /**
578
- * Chaty Upgrade page
579
- *
580
- * @since 1.0.0
581
- * @access public
582
- * @return $url
583
- */
584
- public function chaty_widget_page()
585
- {
586
- include_once CHT_DIR.'/views/admin/chaty_widget.php';
587
-
588
- }//end chaty_widget_page()
589
-
590
-
591
- /**
592
- * Chaty Dashboard page
593
- *
594
- * @since 1.0.0
595
- * @access public
596
- * @return $dashboard_data
597
- */
598
- public function display_cht_admin_page()
599
- {
600
- $isShown = get_option("chaty_update_message");
601
- if ($isShown === false) {
602
- include_once CHT_DIR.'/views/admin/update.php';
603
- } else {
604
- $status = get_option("cht_active");
605
- delete_option("cht_is_default_deleted");
606
- $widget = filter_input(INPUT_GET, 'widget');
607
- if ($status === false || $widget !== null) {
608
- $channelClass = "";
609
- $fonts = self::get_font_list();
610
- include_once CHT_DIR.'/views/admin/admin.php';
611
- } else {
612
- include_once CHT_DIR.'/views/admin/dashboard.php';
613
- }
614
-
615
- $popupStatus = get_option("chaty_intro_popup");
616
- if ($popupStatus == "show") {
617
- include_once CHT_DIR.'/views/admin/chaty-popup.php';
618
- }
619
- }
620
-
621
- $showMessage = filter_input(INPUT_GET, 'show_message');
622
- if ($showMessage == 1) { ?>
623
- <div class="toast-message">
624
- <div class="toast-close-btn"><a href="javascript:;"></a></div>
625
- <div class="toast-message-title">Settings Updated</div>
626
- <div class="toast-message-body">Your settings has been saved</div>
627
- </div>
628
- <?php }
629
-
630
- }//end display_cht_admin_page()
631
-
632
-
633
- /**
634
- * Chaty Upgrade page
635
- *
636
- * @since 1.0.0
637
- * @access public
638
- * @return $upgrade_data
639
- */
640
- public function display_cht_admin_upgrade_page()
641
- {
642
- wp_enqueue_script($this->pluginSlug.'select2-js', plugins_url('../admin/assets/js/select2.min.js', __FILE__), ['jquery'], CHT_VERSION);
643
- include_once CHT_DIR.'/views/admin/upgrade.php';
644
-
645
- }//end display_cht_admin_upgrade_page()
646
-
647
-
648
- /**
649
- * Returnd EDD token
650
- *
651
- * @since 1.0.0
652
- * @access public
653
- * @return $token
654
- */
655
- protected function get_token()
656
- {
657
- return get_option('cht_license_key');
658
-
659
- }//end get_token()
660
-
661
-
662
- /**
663
- * Returns Website URL
664
- *
665
- * @since 1.0.0
666
- * @access public
667
- * @return $token
668
- */
669
- public function get_site()
670
- {
671
- $permalink = get_home_url();
672
- return $permalink;
673
-
674
- }//end get_site()
675
-
676
-
677
- /**
678
- * Returns is Pro installed
679
- *
680
- * @since 1.0.0
681
- * @access public
682
- * @return $is_pro
683
- */
684
- public function is_pro($token='')
685
- {
686
- return false;
687
-
688
- }//end is_pro()
689
-
690
-
691
- /**
692
- * Returns expired date
693
- *
694
- * @since 1.0.0
695
- * @access public
696
- * @return $expired_date
697
- */
698
- public function data_has_expired()
699
- {
700
- return strtotime(date('Y-m-d')) > strtotime(date('Y-m-d', strtotime($this->active_license())));
701
-
702
- }//end data_has_expired()
703
-
704
-
705
- /**
706
- * Checking active license
707
- *
708
- * @since 1.0.0
709
- * @access public
710
- * @return $expired_date
711
- */
712
- public function active_license()
713
- {
714
- if (!$this->is_pro()) {
715
- return;
716
- }
717
-
718
- $body = null;
719
- if (empty(self::$response->errors)) {
720
- $body = json_decode(self::$response['body']);
721
- }
722
-
723
- if (isset($body->expired_date)) {
724
- return $body->expired_date->date;
725
- }
726
-
727
- }//end active_license()
728
-
729
-
730
- /**
731
- * Check if is Pro version
732
- *
733
- * @since 1.0.0
734
- * @access public
735
- * @return $is_pro
736
- */
737
- public function data_check()
738
- {
739
- if ($this->is_pro()) {
740
- return false;
741
- };
742
- }
743
-
744
- /**
745
- * Get current color for widget
746
- *
747
- * @since 1.0.0
748
- * @access public
749
- * @return $color
750
- */
751
- public function get_current_color()
752
- {
753
- $def_color = get_option('cht_color');
754
- $custom_color = get_option('cht_custom_color');
755
- if (!$def_color) {
756
- $color = $custom_color;
757
- } else {
758
- $color = $def_color;
759
- }
760
-
761
- $color = strtoupper($color);
762
- return $color;
763
- }
764
-
765
-
766
- /**
767
- * Checking for widget position
768
- *
769
- * @since 1.0.0
770
- * @access public
771
- * @return $position
772
- */
773
- public function get_position_style()
774
- {
775
- $position = get_option('cht_position');
776
-
777
- if ($position === 'custom') {
778
- $pos_side = get_option('positionSide');
779
- $bot = (get_option('cht_bottom_spacing')) ? get_option('cht_bottom_spacing') : '25';
780
- $side = (get_option('cht_side_spacing')) ? get_option('cht_side_spacing') : '25';
781
- if ($pos_side === 'right') {
782
- $pos_style = 'left: auto; bottom: ' . $bot . 'px; right: ' . $side . 'px';
783
- } else {
784
- $pos_style = 'left: ' . $side . 'px; bottom: ' . $bot . 'px; right: auto';
785
- }
786
- } elseif ($position === 'right') {
787
- $pos_style = 'left: auto; bottom: 25px; right: 25px';
788
- } else {
789
- $pos_style = 'left: 25px; bottom: 25px; right: auto';
790
- }
791
-
792
- return $pos_style;
793
- }
794
-
795
- /**
796
- * Register input data for settings
797
- *
798
- * @since 1.0.0
799
- * @access public
800
- * @return $data
801
- */
802
- public function cht_register_inputs()
803
- {
804
- $page = filter_input(INPUT_GET, 'page');
805
- if (!empty($page) && $page == "chaty-upgrade") {
806
- $chtActive = get_option('cht_active');
807
- if ($chtActive === false) {
808
- wp_redirect(admin_url("admin.php?page=chaty-app"));
809
- exit;
810
- }
811
- }
812
-
813
- if (current_user_can("manage_options")) {
814
- global $wpdb;
815
- $tableName = $wpdb->prefix.'chaty_contact_form_leads';
816
- $postData = filter_input_array(INPUT_POST);
817
- if (isset($postData['remove_chaty_leads'])) {
818
- if (wp_verify_nonce($postData['remove_chaty_leads'], "remove_chaty_leads")) {
819
- if (isset($postData['chaty_leads']) && !empty($postData['chaty_leads'])) {
820
- if (isset($postData['action']) && $postData['action'] == "delete_message") {
821
- if (is_array($postData['chaty_leads'])) {
822
- $chatyLeads = $postData['chaty_leads'];
823
- $chatyLeads = implode(",", $chatyLeads);
824
- } else {
825
- $chatyLeads = $postData['chaty_leads'];
826
- }
827
-
828
- if ($chatyLeads) {
829
- $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".$chatyLeads.")");
830
- $paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged'] > 0 ? $postData['paged'] : 1;
831
- $search = isset($postData['search'])&&!empty($postData['search']) ? $postData['search'] : "";
832
- $url = admin_url("admin.php?page=chaty-contact-form-feed");
833
- if (intval($paged) > 1) {
834
- $url .= "&paged=".$paged;
835
- }
836
-
837
- if (!empty($search)) {
838
- $url .= "&search=".$search;
839
- }
840
-
841
- wp_redirect($url);
842
- exit;
843
- }
844
- }//end if
845
- }//end if
846
- }//end if
847
- }//end if
848
-
849
- $postData = filter_input_array(INPUT_GET);
850
- if (isset($postData['remove_chaty_leads'])) {
851
- if (wp_verify_nonce($postData['remove_chaty_leads'], "remove_chaty_leads")) {
852
- if (isset($postData['chaty_leads']) && !empty($postData['chaty_leads'])) {
853
- if (isset($postData['action']) && $postData['action'] == "delete_message") {
854
- if (is_array($postData['chaty_leads'])) {
855
- $chatyLeads = $postData['chaty_leads'];
856
- $chatyLeads = implode(",", $chatyLeads);
857
- } else {
858
- $chatyLeads = $postData['chaty_leads'];
859
- }
860
-
861
- if (!empty($chatyLeads)) {
862
- if ($chatyLeads == "remove-all") {
863
- $delete = $wpdb->query("TRUNCATE TABLE {$tableName}");
864
- } else {
865
- $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".$chatyLeads.")");
866
- }
867
-
868
- $paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged'] > 0 ? $postData['paged'] : 1;
869
- $search = isset($postData['search'])&&!empty($postData['search']) ? $postData['search'] : "";
870
- $url = admin_url("admin.php?page=chaty-contact-form-feed");
871
- if (intval($paged) > 1) {
872
- $url .= "&paged=".$paged;
873
- }
874
-
875
- if (!empty($search)) {
876
- $url .= "&search=".$search;
877
- }
878
-
879
- wp_redirect($url);
880
- exit;
881
- }//end if
882
- }//end if
883
- }//end if
884
- }//end if
885
- }//end if
886
-
887
- $postData = filter_input_array(INPUT_GET);
888
- if (isset($postData['download_chaty_file']) && $postData['download_chaty_file'] == "chaty_contact_leads" && isset($postData['nonce'])) {
889
- if (wp_verify_nonce($postData['nonce'], "download_chaty_contact_leads")) {
890
- $file = "chaty_contact_leads.csv";
891
- $fp = fopen($file, "w")or die("Error Couldn't open {$file} for writing!");
892
-
893
- global $wpdb;
894
- $contactListsTable = $wpdb->prefix.'chaty_contact_form_leads';
895
- $results = $wpdb->get_results("SELECT * FROM ".$contactListsTable." ORDER BY ID DESC");
896
- $allData = '';
897
- foreach ($results as $res) {
898
- if ($res->widget_id == 0) {
899
- $widgetName = "Default";
900
- } else {
901
- $widgetName = get_option("cht_widget_title_".$res->widget_id);
902
- if (empty($widgetName)) {
903
- $widgetName = "Widget #".($res->widget_id + 1);
904
- }
905
- }
906
-
907
- $fields = [
908
- $res->id,
909
- $widgetName,
910
- $res->name,
911
- $res->email,
912
- nl2br($res->message),
913
- $res->created_on,
914
- $res->ref_page,
915
- ];
916
-
917
- fputcsv($fp, $fields);
918
- }//end foreach
919
-
920
- fclose($fp);
921
-
922
- $fileContent = file_get_contents($file);
923
- header("Content-Disposition: attachment; filename=".basename($file));
924
- header("Content-Length: ".filesize($file));
925
- header("Content-Type: application/octet-stream;");
926
- readfile($file);
927
- exit;
928
- }//end if
929
- }//end if
930
-
931
- /*
932
- * Adding settings fields
933
- */
934
- foreach ($this->socials as $social) {
935
- add_settings_field(
936
- 'cht_social_'.$social['slug'],
937
- ucfirst($social['slug']),
938
- '',
939
- $this->pluginSlug
940
- );
941
- }
942
-
943
- // Section Two
944
- add_settings_field('cht_devices', 'Devices', '', $this->pluginSlug);
945
- add_settings_field('cht_color', 'Color', '', $this->pluginSlug);
946
- add_settings_field('cht_custom_color', 'Color', '', $this->pluginSlug);
947
- add_settings_field('cht_position', 'Position', '', $this->pluginSlug);
948
- add_settings_field('cht_widget_font', 'Position', '', $this->pluginSlug);
949
- add_settings_field('positionSide', 'PositionSide', '', $this->pluginSlug);
950
- add_settings_field('cht_bottom_spacing', 'Bottom spacing', '', $this->pluginSlug);
951
- add_settings_field('cht_side_spacing', 'Side spacing', '', $this->pluginSlug);
952
- add_settings_field('cht_cta', 'CTA', '', $this->pluginSlug);
953
- add_settings_field('cht_cta_switcher', 'CTA switcher', '', $this->pluginSlug);
954
- add_settings_field('chaty_attention_effect', 'CTA effect', '', $this->pluginSlug);
955
- add_settings_field('chaty_default_state', 'CTA state', '', $this->pluginSlug);
956
- add_settings_field('chaty_trigger_on_time', 'CTA trigger on time', '', $this->pluginSlug);
957
- add_settings_field('chaty_trigger_time', 'CTA time to trigger', '', $this->pluginSlug);
958
- add_settings_field('chaty_trigger_on_exit', 'CTA exit intent', '', $this->pluginSlug);
959
- add_settings_field('chaty_trigger_on_scroll', 'CTA trigger on scroll', '', $this->pluginSlug);
960
- add_settings_field('chaty_trigger_on_page_scroll', 'CTA page scroll', '', $this->pluginSlug);
961
- add_settings_field('cht_close_button', 'CTA close button', '', $this->pluginSlug);
962
- add_settings_field('cht_close_button_text', 'CTA close button text', '', $this->pluginSlug);
963
- add_settings_field('chaty_icons_view', 'Icon view', '', $this->pluginSlug);
964
- add_settings_field('cht_created_on', 'Created time', '', $this->pluginSlug);
965
- add_settings_field('cht_widget_title', 'Chaty title', '', $this->pluginSlug);
966
-
967
- // section three
968
- add_settings_field('cht_active', 'Active', '', $this->pluginSlug);
969
- add_settings_field('cht_cta_action', 'CTA Action', '', $this->pluginSlug);
970
- add_settings_field('cht_cta_text_color', 'CTA Text Color', '', $this->pluginSlug);
971
- add_settings_field('cht_cta_bg_color', 'CTA BG Color', '', $this->pluginSlug);
972
- add_settings_field('cht_pending_messages', 'CTA Pending message', '', $this->pluginSlug);
973
- add_settings_field('cht_number_of_messages', 'CTA Number of Messages', '', $this->pluginSlug);
974
- add_settings_field('cht_number_color', 'CTA Color', '', $this->pluginSlug);
975
- add_settings_field('cht_number_bg_color', 'CTA BG Color', '', $this->pluginSlug);
976
-
977
- // token
978
- add_settings_field('cht_license_key', 'Token', '', $this->pluginSlug);
979
-
980
- // slug
981
- add_settings_field('cht_numb_slug', 'Numb', '', $this->pluginSlug);
982
-
983
- add_settings_field('chaty_updated_on', 'Updated time', '', $this->pluginSlug);
984
-
985
- /*
986
- * Registering settings fields
987
- */
988
-
989
- $nonce = filter_input(INPUT_POST, 'nonce');
990
-
991
- // check for nonce
992
- if (!empty($nonce) && wp_verify_nonce($nonce, "chaty_plugin_nonce")) {
993
- // register field section one
994
- foreach ($this->socials as $social) {
995
- register_setting($this->pluginSlug, 'cht_social_'.$social['slug']);
996
- }
997
-
998
- // Register field section two.
999
- register_setting($this->pluginSlug, 'cht_devices', 'chaty_sanitize_options');
1000
- register_setting($this->pluginSlug, 'cht_color', 'chaty_sanitize_options');
1001
- register_setting($this->pluginSlug, 'cht_custom_color', 'chaty_sanitize_options');
1002
- register_setting($this->pluginSlug, 'cht_position', 'chaty_sanitize_options');
1003
- register_setting($this->pluginSlug, 'cht_widget_font', 'chaty_sanitize_options');
1004
- register_setting($this->pluginSlug, 'positionSide', 'chaty_sanitize_options');
1005
- register_setting($this->pluginSlug, 'cht_bottom_spacing', 'chaty_sanitize_options');
1006
- register_setting($this->pluginSlug, 'cht_side_spacing', 'chaty_sanitize_options');
1007
- register_setting($this->pluginSlug, 'cht_cta', 'chaty_sanitize_options');
1008
- register_setting($this->pluginSlug, 'cht_cta_switcher', 'chaty_sanitize_options');
1009
- register_setting($this->pluginSlug, 'cht_widget_size', 'chaty_sanitize_options');
1010
- register_setting($this->pluginSlug, 'cht_widget_img', 'chaty_sanitize_options');
1011
- register_setting($this->pluginSlug, 'widget_icon', 'chaty_sanitize_options');
1012
- register_setting($this->pluginSlug, 'chaty_attention_effect', 'chaty_sanitize_options');
1013
- register_setting($this->pluginSlug, 'chaty_default_state', 'chaty_sanitize_options');
1014
- register_setting($this->pluginSlug, 'chaty_trigger_on_time', 'chaty_sanitize_options');
1015
- register_setting($this->pluginSlug, 'chaty_trigger_time', 'chaty_sanitize_options');
1016
- register_setting($this->pluginSlug, 'chaty_trigger_on_exit', 'chaty_sanitize_options');
1017
- register_setting($this->pluginSlug, 'chaty_trigger_on_scroll', 'chaty_sanitize_options');
1018
- register_setting($this->pluginSlug, 'chaty_trigger_on_page_scroll', 'chaty_sanitize_options');
1019
- register_setting($this->pluginSlug, 'cht_close_button', 'chaty_sanitize_options');
1020
- register_setting($this->pluginSlug, 'cht_close_button_text', 'chaty_sanitize_options');
1021
- register_setting($this->pluginSlug, 'chaty_icons_view', 'chaty_sanitize_options');
1022
- register_setting($this->pluginSlug, 'cht_created_on', 'chaty_sanitize_options');
1023
- register_setting($this->pluginSlug, 'cht_widget_title', 'chaty_sanitize_options');
1024
-
1025
- // add_action('pre_update_option_cht_widget_img', array($this, 'uploadCustomWidget'), 10, 3);
1026
- // register field section three
1027
- register_setting($this->pluginSlug, 'cht_active', 'chaty_sanitize_options');
1028
- register_setting($this->pluginSlug, 'cht_cta_action', 'chaty_sanitize_options');
1029
- register_setting($this->pluginSlug, 'cht_cta_text_color', 'chaty_sanitize_options');
1030
- register_setting($this->pluginSlug, 'cht_cta_bg_color', 'chaty_sanitize_options');
1031
- register_setting($this->pluginSlug, 'cht_pending_messages', 'chaty_sanitize_options');
1032
- register_setting($this->pluginSlug, 'cht_number_of_messages', 'chaty_sanitize_options');
1033
- register_setting($this->pluginSlug, 'cht_number_color', 'chaty_sanitize_options');
1034
- register_setting($this->pluginSlug, 'cht_number_bg_color', 'chaty_sanitize_options');
1035
-
1036
- // register field section token
1037
- register_setting($this->pluginSlug, 'cht_license_key', 'chaty_sanitize_options');
1038
-
1039
- // register field section slug
1040
- register_setting($this->pluginSlug, 'cht_numb_slug', 'chaty_sanitize_options');
1041
-
1042
- register_setting($this->pluginSlug, 'chaty_updated_on', 'chaty_sanitize_options');
1043
-
1044
- cht_clear_all_caches();
1045
- }//end if
1046
- }//end if
1047
-
1048
- }//end cht_register_inputs()
1049
-
1050
-
1051
- /**
1052
- * Checking for devices desktop/mobile
1053
- *
1054
- * @since 1.0.0
1055
- * @access public
1056
- * @return $devices
1057
- */
1058
- public function device()
1059
- {
1060
- return 'desktop_active mobile_active';
1061
-
1062
- }//end device()
1063
-
1064
-
1065
- /**
1066
- * Return custom widget URL if uploaded
1067
- *
1068
- * @since 1.0.0
1069
- * @access public
1070
- * @return $url
1071
- */
1072
- public function getCustomWidgetImg()
1073
- {
1074
- $value = get_option('cht_widget_img');
1075
- return isset($value['url']) ? $value['url'] : '';
1076
-
1077
- }//end getCustomWidgetImg()
1078
-
1079
-
1080
- /**
1081
- * Uploads custom widget image
1082
- *
1083
- * @since 1.0.0
1084
- * @access public
1085
- * @return $url
1086
- */
1087
- public function uploadCustomWidget($value, $oldValue, $option)
1088
- {
1089
- $option = !empty($option) ? $option : 'cht_widget_img';
1090
- $allowedExt = [
1091
- 'jpeg',
1092
- 'png',
1093
- 'jpg',
1094
- 'svg',
1095
- ];
1096
- if (!function_exists('wp_handle_upload')) {
1097
- include_once ABSPATH.'wp-admin/includes/file.php';
1098
- }
1099
-
1100
- if (isset($_FILES[$option])) {
1101
- $file = &$_FILES[$option];
1102
- $type = wp_check_filetype($file['name']);
1103
-
1104
- if (! in_array($type['ext'], $allowedExt)) {
1105
- return $oldValue;
1106
- }
1107
-
1108
- if (isset($oldValue['file'])) {
1109
- wp_delete_file($oldValue['file']);
1110
- }
1111
-
1112
- $overrides = [ 'test_form' => false ];
1113
- $movefile = wp_handle_upload($file, $overrides);
1114
- if ($movefile && empty($movefile['error'])) {
1115
- return [
1116
- 'file' => $movefile['file'],
1117
- 'url' => $movefile['url'],
1118
- ];
1119
- }
1120
- }//end if
1121
-
1122
- return [];
1123
-
1124
- }//end uploadCustomWidget()
1125
-
1126
-
1127
- /**
1128
- * Returns CTA text
1129
- *
1130
- * @since 1.0.0
1131
- * @access public
1132
- * @return $cta_text
1133
- */
1134
- public function getCallToAction()
1135
- {
1136
- if (get_option('cht_cta')) {
1137
- $res = nl2br(get_option('cht_cta'));
1138
- $res = str_replace(["\n", "\r"], "", $res);
1139
- return $res;
1140
- }
1141
-
1142
- return '';
1143
-
1144
- }//end getCallToAction()
1145
-
1146
-
1147
- /**
1148
- * Returns Font lists
1149
- *
1150
- * @since 1.0.0
1151
- * @access public
1152
- * @return $fonts
1153
- */
1154
- public static function get_font_list()
1155
- {
1156
- return [
1157
- // System fonts.
1158
- "System Stack" => 'Default',
1159
- 'Arial' => 'Default',
1160
- 'Tahoma' => 'Default',
1161
- 'Verdana' => 'Default',
1162
- 'Helvetica' => 'Default',
1163
- 'Times New Roman' => 'Default',
1164
- 'Trebuchet MS' => 'Default',
1165
- 'Georgia' => 'Default',
1166
-
1167
- // Google Fonts (last update: 23/10/2018).
1168
- 'ABeeZee' => 'Google Fonts',
1169
- 'Abel' => 'Google Fonts',
1170
- 'Abhaya Libre' => 'Google Fonts',
1171
- 'Abril Fatface' => 'Google Fonts',
1172
- 'Aclonica' => 'Google Fonts',
1173
- 'Acme' => 'Google Fonts',
1174
- 'Actor' => 'Google Fonts',
1175
- 'Adamina' => 'Google Fonts',
1176
- 'Advent Pro' => 'Google Fonts',
1177
- 'Aguafina Script' => 'Google Fonts',
1178
- 'Akronim' => 'Google Fonts',
1179
- 'Aladin' => 'Google Fonts',
1180
- 'Aldrich' => 'Google Fonts',
1181
- 'Alef' => 'Google Fonts',
1182
- 'Alef Hebrew' => 'Google Fonts',
1183
- // Hack for Google Early Access.
1184
- 'Alegreya' => 'Google Fonts',
1185
- 'Alegreya SC' => 'Google Fonts',
1186
- 'Alegreya Sans' => 'Google Fonts',
1187
- 'Alegreya Sans SC' => 'Google Fonts',
1188
- 'Alex Brush' => 'Google Fonts',
1189
- 'Alfa Slab One' => 'Google Fonts',
1190
- 'Alice' => 'Google Fonts',
1191
- 'Alike' => 'Google Fonts',
1192
- 'Alike Angular' => 'Google Fonts',
1193
- 'Allan' => 'Google Fonts',
1194
- 'Allerta' => 'Google Fonts',
1195
- 'Allerta Stencil' => 'Google Fonts',
1196
- 'Allura' => 'Google Fonts',
1197
- 'Almendra' => 'Google Fonts',
1198
- 'Almendra Display' => 'Google Fonts',
1199
- 'Almendra SC' => 'Google Fonts',
1200
- 'Amarante' => 'Google Fonts',
1201
- 'Amaranth' => 'Google Fonts',
1202
- 'Amatic SC' => 'Google Fonts',
1203
- 'Amethysta' => 'Google Fonts',
1204
- 'Amiko' => 'Google Fonts',
1205
- 'Amiri' => 'Google Fonts',
1206
- 'Amita' => 'Google Fonts',
1207
- 'Anaheim' => 'Google Fonts',
1208
- 'Andada' => 'Google Fonts',
1209
- 'Andika' => 'Google Fonts',
1210
- 'Angkor' => 'Google Fonts',
1211
- 'Annie Use Your Telescope' => 'Google Fonts',
1212
- 'Anonymous Pro' => 'Google Fonts',
1213
- 'Antic' => 'Google Fonts',
1214
- 'Antic Didone' => 'Google Fonts',
1215
- 'Antic Slab' => 'Google Fonts',
1216
- 'Anton' => 'Google Fonts',
1217
- 'Arapey' => 'Google Fonts',
1218
- 'Arbutus' => 'Google Fonts',
1219
- 'Arbutus Slab' => 'Google Fonts',
1220
- 'Architects Daughter' => 'Google Fonts',
1221
- 'Archivo' => 'Google Fonts',
1222
- 'Archivo Black' => 'Google Fonts',
1223
- 'Archivo Narrow' => 'Google Fonts',
1224
- 'Aref Ruqaa' => 'Google Fonts',
1225
- 'Arima Madurai' => 'Google Fonts',
1226
- 'Arimo' => 'Google Fonts',
1227
- 'Arizonia' => 'Google Fonts',
1228
- 'Armata' => 'Google Fonts',
1229
- 'Arsenal' => 'Google Fonts',
1230
- 'Artifika' => 'Google Fonts',
1231
- 'Arvo' => 'Google Fonts',
1232
- 'Arya' => 'Google Fonts',
1233
- 'Asap' => 'Google Fonts',
1234
- 'Asap Condensed' => 'Google Fonts',
1235
- 'Asar' => 'Google Fonts',
1236
- 'Asset' => 'Google Fonts',
1237
- 'Assistant' => 'Google Fonts',
1238
- 'Astloch' => 'Google Fonts',
1239
- 'Asul' => 'Google Fonts',
1240
- 'Athiti' => 'Google Fonts',
1241
- 'Atma' => 'Google Fonts',
1242
- 'Atomic Age' => 'Google Fonts',
1243
- 'Aubrey' => 'Google Fonts',
1244
- 'Audiowide' => 'Google Fonts',
1245
- 'Autour One' => 'Google Fonts',
1246
- 'Average' => 'Google Fonts',
1247
- 'Average Sans' => 'Google Fonts',
1248
- 'Averia Gruesa Libre' => 'Google Fonts',
1249
- 'Averia Libre' => 'Google Fonts',
1250
- 'Averia Sans Libre' => 'Google Fonts',
1251
- 'Averia Serif Libre' => 'Google Fonts',
1252
- 'Bad Script' => 'Google Fonts',
1253
- 'Bahiana' => 'Google Fonts',
1254
- 'Bai Jamjuree' => 'Google Fonts',
1255
- 'Baloo' => 'Google Fonts',
1256
- 'Baloo Bhai' => 'Google Fonts',
1257
- 'Baloo Bhaijaan' => 'Google Fonts',
1258
- 'Baloo Bhaina' => 'Google Fonts',
1259
- 'Baloo Chettan' => 'Google Fonts',
1260
- 'Baloo Da' => 'Google Fonts',
1261
- 'Baloo Paaji' => 'Google Fonts',
1262
- 'Baloo Tamma' => 'Google Fonts',
1263
- 'Baloo Tammudu' => 'Google Fonts',
1264
- 'Baloo Thambi' => 'Google Fonts',
1265
- 'Balthazar' => 'Google Fonts',
1266
- 'Bangers' => 'Google Fonts',
1267
- 'Barlow' => 'Google Fonts',
1268
- 'Barlow Condensed' => 'Google Fonts',
1269
- 'Barlow Semi Condensed' => 'Google Fonts',
1270
- 'Barrio' => 'Google Fonts',
1271
- 'Basic' => 'Google Fonts',
1272
- 'Battambang' => 'Google Fonts',
1273
- 'Baumans' => 'Google Fonts',
1274
- 'Bayon' => 'Google Fonts',
1275
- 'Belgrano' => 'Google Fonts',
1276
- 'Bellefair' => 'Google Fonts',
1277
- 'Belleza' => 'Google Fonts',
1278
- 'BenchNine' => 'Google Fonts',
1279
- 'Bentham' => 'Google Fonts',
1280
- 'Berkshire Swash' => 'Google Fonts',
1281
- 'Bevan' => 'Google Fonts',
1282
- 'Bigelow Rules' => 'Google Fonts',
1283
- 'Bigshot One' => 'Google Fonts',
1284
- 'Bilbo' => 'Google Fonts',
1285
- 'Bilbo Swash Caps' => 'Google Fonts',
1286
- 'BioRhyme' => 'Google Fonts',
1287
- 'BioRhyme Expanded' => 'Google Fonts',
1288
- 'Biryani' => 'Google Fonts',
1289
- 'Bitter' => 'Google Fonts',
1290
- 'Black And White Picture' => 'Google Fonts',
1291
- 'Black Han Sans' => 'Google Fonts',
1292
- 'Black Ops One' => 'Google Fonts',
1293
- 'Bokor' => 'Google Fonts',
1294
- 'Bonbon' => 'Google Fonts',
1295
- 'Boogaloo' => 'Google Fonts',
1296
- 'Bowlby One' => 'Google Fonts',
1297
- 'Bowlby One SC' => 'Google Fonts',
1298
- 'Brawler' => 'Google Fonts',
1299
- 'Bree Serif' => 'Google Fonts',
1300
- 'Bubblegum Sans' => 'Google Fonts',
1301
- 'Bubbler One' => 'Google Fonts',
1302
- 'Buda' => 'Google Fonts',
1303
- 'Buenard' => 'Google Fonts',
1304
- 'Bungee' => 'Google Fonts',
1305
- 'Bungee Hairline' => 'Google Fonts',
1306
- 'Bungee Inline' => 'Google Fonts',
1307
- 'Bungee Outline' => 'Google Fonts',
1308
- 'Bungee Shade' => 'Google Fonts',
1309
- 'Butcherman' => 'Google Fonts',
1310
- 'Butterfly Kids' => 'Google Fonts',
1311
- 'Cabin' => 'Google Fonts',
1312
- 'Cabin Condensed' => 'Google Fonts',
1313
- 'Cabin Sketch' => 'Google Fonts',
1314
- 'Caesar Dressing' => 'Google Fonts',
1315
- 'Cagliostro' => 'Google Fonts',
1316
- 'Cairo' => 'Google Fonts',
1317
- 'Calligraffitti' => 'Google Fonts',
1318
- 'Cambay' => 'Google Fonts',
1319
- 'Cambo' => 'Google Fonts',
1320
- 'Candal' => 'Google Fonts',
1321
- 'Cantarell' => 'Google Fonts',
1322
- 'Cantata One' => 'Google Fonts',
1323
- 'Cantora One' => 'Google Fonts',
1324
- 'Capriola' => 'Google Fonts',
1325
- 'Cardo' => 'Google Fonts',
1326
- 'Carme' => 'Google Fonts',
1327
- 'Carrois Gothic' => 'Google Fonts',
1328
- 'Carrois Gothic SC' => 'Google Fonts',
1329
- 'Carter One' => 'Google Fonts',
1330
- 'Catamaran' => 'Google Fonts',
1331
- 'Caudex' => 'Google Fonts',
1332
- 'Caveat' => 'Google Fonts',
1333
- 'Caveat Brush' => 'Google Fonts',
1334
- 'Cedarville Cursive' => 'Google Fonts',
1335
- 'Ceviche One' => 'Google Fonts',
1336
- 'Chakra Petch' => 'Google Fonts',
1337
- 'Changa' => 'Google Fonts',
1338
- 'Changa One' => 'Google Fonts',
1339
- 'Chango' => 'Google Fonts',
1340
- 'Charmonman' => 'Google Fonts',
1341
- 'Chathura' => 'Google Fonts',
1342
- 'Chau Philomene One' => 'Google Fonts',
1343
- 'Chela One' => 'Google Fonts',
1344
- 'Chelsea Market' => 'Google Fonts',
1345
- 'Chenla' => 'Google Fonts',
1346
- 'Cherry Cream Soda' => 'Google Fonts',
1347
- 'Cherry Swash' => 'Google Fonts',
1348
- 'Chewy' => 'Google Fonts',
1349
- 'Chicle' => 'Google Fonts',
1350
- 'Chivo' => 'Google Fonts',
1351
- 'Chonburi' => 'Google Fonts',
1352
- 'Cinzel' => 'Google Fonts',
1353
- 'Cinzel Decorative' => 'Google Fonts',
1354
- 'Clicker Script' => 'Google Fonts',
1355
- 'Coda' => 'Google Fonts',
1356
- 'Coda Caption' => 'Google Fonts',
1357
- 'Codystar' => 'Google Fonts',
1358
- 'Coiny' => 'Google Fonts',
1359
- 'Combo' => 'Google Fonts',
1360
- 'Comfortaa' => 'Google Fonts',
1361
- 'Coming Soon' => 'Google Fonts',
1362
- 'Concert One' => 'Google Fonts',
1363
- 'Condiment' => 'Google Fonts',
1364
- 'Content' => 'Google Fonts',
1365
- 'Contrail One' => 'Google Fonts',
1366
- 'Convergence' => 'Google Fonts',
1367
- 'Cookie' => 'Google Fonts',
1368
- 'Copse' => 'Google Fonts',
1369
- 'Corben' => 'Google Fonts',
1370
- 'Cormorant' => 'Google Fonts',
1371
- 'Cormorant Garamond' => 'Google Fonts',
1372
- 'Cormorant Infant' => 'Google Fonts',
1373
- 'Cormorant SC' => 'Google Fonts',
1374
- 'Cormorant Unicase' => 'Google Fonts',
1375
- 'Cormorant Upright' => 'Google Fonts',
1376
- 'Courgette' => 'Google Fonts',
1377
- 'Cousine' => 'Google Fonts',
1378
- 'Coustard' => 'Google Fonts',
1379
- 'Covered By Your Grace' => 'Google Fonts',
1380
- 'Crafty Girls' => 'Google Fonts',
1381
- 'Creepster' => 'Google Fonts',
1382
- 'Crete Round' => 'Google Fonts',
1383
- 'Crimson Text' => 'Google Fonts',
1384
- 'Croissant One' => 'Google Fonts',
1385
- 'Crushed' => 'Google Fonts',
1386
- 'Cuprum' => 'Google Fonts',
1387
- 'Cute Font' => 'Google Fonts',
1388
- 'Cutive' => 'Google Fonts',
1389
- 'Cutive Mono' => 'Google Fonts',
1390
- 'Damion' => 'Google Fonts',
1391
- 'Dancing Script' => 'Google Fonts',
1392
- 'Dangrek' => 'Google Fonts',
1393
- 'David Libre' => 'Google Fonts',
1394
- 'Dawning of a New Day' => 'Google Fonts',
1395
- 'Days One' => 'Google Fonts',
1396
- 'Dekko' => 'Google Fonts',
1397
- 'Delius' => 'Google Fonts',
1398
- 'Delius Swash Caps' => 'Google Fonts',
1399
- 'Delius Unicase' => 'Google Fonts',
1400
- 'Della Respira' => 'Google Fonts',
1401
- 'Denk One' => 'Google Fonts',
1402
- 'Devonshire' => 'Google Fonts',
1403
- 'Dhurjati' => 'Google Fonts',
1404
- 'Didact Gothic' => 'Google Fonts',
1405
- 'Diplomata' => 'Google Fonts',
1406
- 'Diplomata SC' => 'Google Fonts',
1407
- 'Do Hyeon' => 'Google Fonts',
1408
- 'Dokdo' => 'Google Fonts',
1409
- 'Domine' => 'Google Fonts',
1410
- 'Donegal One' => 'Google Fonts',
1411
- 'Doppio One' => 'Google Fonts',
1412
- 'Dorsa' => 'Google Fonts',
1413
- 'Dosis' => 'Google Fonts',
1414
- 'Dr Sugiyama' => 'Google Fonts',
1415
- 'Droid Arabic Kufi' => 'Google Fonts',
1416
- // Hack for Google Early Access.
1417
- 'Droid Arabic Naskh' => 'Google Fonts',
1418
- // Hack for Google Early Access.
1419
- 'Duru Sans' => 'Google Fonts',
1420
- 'Dynalight' => 'Google Fonts',
1421
- 'EB Garamond' => 'Google Fonts',
1422
- 'Eagle Lake' => 'Google Fonts',
1423
- 'East Sea Dokdo' => 'Google Fonts',
1424
- 'Eater' => 'Google Fonts',
1425
- 'Economica' => 'Google Fonts',
1426
- 'Eczar' => 'Google Fonts',
1427
- 'El Messiri' => 'Google Fonts',
1428
- 'Electrolize' => 'Google Fonts',
1429
- 'Elsie' => 'Google Fonts',
1430
- 'Elsie Swash Caps' => 'Google Fonts',
1431
- 'Emblema One' => 'Google Fonts',
1432
- 'Emilys Candy' => 'Google Fonts',
1433
- 'Encode Sans' => 'Google Fonts',
1434
- 'Encode Sans Condensed' => 'Google Fonts',
1435
- 'Encode Sans Expanded' => 'Google Fonts',
1436
- 'Encode Sans Semi Condensed' => 'Google Fonts',
1437
- 'Encode Sans Semi Expanded' => 'Google Fonts',
1438
- 'Engagement' => 'Google Fonts',
1439
- 'Englebert' => 'Google Fonts',
1440
- 'Enriqueta' => 'Google Fonts',
1441
- 'Erica One' => 'Google Fonts',
1442
- 'Esteban' => 'Google Fonts',
1443
- 'Euphoria Script' => 'Google Fonts',
1444
- 'Ewert' => 'Google Fonts',
1445
- 'Exo' => 'Google Fonts',
1446
- 'Exo 2' => 'Google Fonts',
1447
- 'Expletus Sans' => 'Google Fonts',
1448
- 'Fahkwang' => 'Google Fonts',
1449
- 'Fanwood Text' => 'Google Fonts',
1450
- 'Farsan' => 'Google Fonts',
1451
- 'Fascinate' => 'Google Fonts',
1452
- 'Fascinate Inline' => 'Google Fonts',
1453
- 'Faster One' => 'Google Fonts',
1454
- 'Fasthand' => 'Google Fonts',
1455
- 'Fauna One' => 'Google Fonts',
1456
- 'Faustina' => 'Google Fonts',
1457
- 'Federant' => 'Google Fonts',
1458
- 'Federo' => 'Google Fonts',
1459
- 'Felipa' => 'Google Fonts',
1460
- 'Fenix' => 'Google Fonts',
1461
- 'Finger Paint' => 'Google Fonts',
1462
- 'Fira Mono' => 'Google Fonts',
1463
- 'Fira Sans' => 'Google Fonts',
1464
- 'Fira Sans Condensed' => 'Google Fonts',
1465
- 'Fira Sans Extra Condensed' => 'Google Fonts',
1466
- 'Fjalla One' => 'Google Fonts',
1467
- 'Fjord One' => 'Google Fonts',
1468
- 'Flamenco' => 'Google Fonts',
1469
- 'Flavors' => 'Google Fonts',
1470
- 'Fondamento' => 'Google Fonts',
1471
- 'Fontdiner Swanky' => 'Google Fonts',
1472
- 'Forum' => 'Google Fonts',
1473
- 'Francois One' => 'Google Fonts',
1474
- 'Frank Ruhl Libre' => 'Google Fonts',
1475
- 'Freckle Face' => 'Google Fonts',
1476
- 'Fredericka the Great' => 'Google Fonts',
1477
- 'Fredoka One' => 'Google Fonts',
1478
- 'Freehand' => 'Google Fonts',
1479
- 'Fresca' => 'Google Fonts',
1480
- 'Frijole' => 'Google Fonts',
1481
- 'Fruktur' => 'Google Fonts',
1482
- 'Fugaz One' => 'Google Fonts',
1483
- 'GFS Didot' => 'Google Fonts',
1484
- 'GFS Neohellenic' => 'Google Fonts',
1485
- 'Gabriela' => 'Google Fonts',
1486
- 'Gaegu' => 'Google Fonts',
1487
- 'Gafata' => 'Google Fonts',
1488
- 'Galada' => 'Google Fonts',
1489
- 'Galdeano' => 'Google Fonts',
1490
- 'Galindo' => 'Google Fonts',
1491
- 'Gamja Flower' => 'Google Fonts',
1492
- 'Gentium Basic' => 'Google Fonts',
1493
- 'Gentium Book Basic' => 'Google Fonts',
1494
- 'Geo' => 'Google Fonts',
1495
- 'Geostar' => 'Google Fonts',
1496
- 'Geostar Fill' => 'Google Fonts',
1497
- 'Germania One' => 'Google Fonts',
1498
- 'Gidugu' => 'Google Fonts',
1499
- 'Gilda Display' => 'Google Fonts',
1500
- 'Give You Glory' => 'Google Fonts',
1501
- 'Glass Antiqua' => 'Google Fonts',
1502
- 'Glegoo' => 'Google Fonts',
1503
- 'Gloria Hallelujah' => 'Google Fonts',
1504
- 'Goblin One' => 'Google Fonts',
1505
- 'Gochi Hand' => 'Google Fonts',
1506
- 'Gorditas' => 'Google Fonts',
1507
- 'Gothic A1' => 'Google Fonts',
1508
- 'Goudy Bookletter 1911' => 'Google Fonts',
1509
- 'Graduate' => 'Google Fonts',
1510
- 'Grand Hotel' => 'Google Fonts',
1511
- 'Gravitas One' => 'Google Fonts',
1512
- 'Great Vibes' => 'Google Fonts',
1513
- 'Griffy' => 'Google Fonts',
1514
- 'Gruppo' => 'Google Fonts',
1515
- 'Gudea' => 'Google Fonts',
1516
- 'Gugi' => 'Google Fonts',
1517
- 'Gurajada' => 'Google Fonts',
1518
- 'Habibi' => 'Google Fonts',
1519
- 'Halant' => 'Google Fonts',
1520
- 'Hammersmith One' => 'Google Fonts',
1521
- 'Hanalei' => 'Google Fonts',
1522
- 'Hanalei Fill' => 'Google Fonts',
1523
- 'Handlee' => 'Google Fonts',
1524
- 'Hanuman' => 'Google Fonts',
1525
- 'Happy Monkey' => 'Google Fonts',
1526
- 'Harmattan' => 'Google Fonts',
1527
- 'Headland One' => 'Google Fonts',
1528
- 'Heebo' => 'Google Fonts',
1529
- 'Henny Penny' => 'Google Fonts',
1530
- 'Herr Von Muellerhoff' => 'Google Fonts',
1531
- 'Hi Melody' => 'Google Fonts',
1532
- 'Hind' => 'Google Fonts',
1533
- 'Hind Guntur' => 'Google Fonts',
1534
- 'Hind Madurai' => 'Google Fonts',
1535
- 'Hind Siliguri' => 'Google Fonts',
1536
- 'Hind Vadodara' => 'Google Fonts',
1537
- 'Holtwood One SC' => 'Google Fonts',
1538
- 'Homemade Apple' => 'Google Fonts',
1539
- 'Homenaje' => 'Google Fonts',
1540
- 'IBM Plex Mono' => 'Google Fonts',
1541
- 'IBM Plex Sans' => 'Google Fonts',
1542
- 'IBM Plex Sans Condensed' => 'Google Fonts',
1543
- 'IBM Plex Serif' => 'Google Fonts',
1544
- 'IM Fell DW Pica' => 'Google Fonts',
1545
- 'IM Fell DW Pica SC' => 'Google Fonts',
1546
- 'IM Fell Double Pica' => 'Google Fonts',
1547
- 'IM Fell Double Pica SC' => 'Google Fonts',
1548
- 'IM Fell English' => 'Google Fonts',
1549
- 'IM Fell English SC' => 'Google Fonts',
1550
- 'IM Fell French Canon' => 'Google Fonts',
1551
- 'IM Fell French Canon SC' => 'Google Fonts',
1552
- 'IM Fell Great Primer' => 'Google Fonts',
1553
- 'IM Fell Great Primer SC' => 'Google Fonts',
1554
- 'Iceberg' => 'Google Fonts',
1555
- 'Iceland' => 'Google Fonts',
1556
- 'Imprima' => 'Google Fonts',
1557
- 'Inconsolata' => 'Google Fonts',
1558
- 'Inder' => 'Google Fonts',
1559
- 'Indie Flower' => 'Google Fonts',
1560
- 'Inika' => 'Google Fonts',
1561
- 'Inknut Antiqua' => 'Google Fonts',
1562
- 'Irish Grover' => 'Google Fonts',
1563
- 'Istok Web' => 'Google Fonts',
1564
- 'Italiana' => 'Google Fonts',
1565
- 'Italianno' => 'Google Fonts',
1566
- 'Itim' => 'Google Fonts',
1567
- 'Jacques Francois' => 'Google Fonts',
1568
- 'Jacques Francois Shadow' => 'Google Fonts',
1569
- 'Jaldi' => 'Google Fonts',
1570
- 'Jim Nightshade' => 'Google Fonts',
1571
- 'Jockey One' => 'Google Fonts',
1572
- 'Jolly Lodger' => 'Google Fonts',
1573
- 'Jomhuria' => 'Google Fonts',
1574
- 'Josefin Sans' => 'Google Fonts',
1575
- 'Josefin Slab' => 'Google Fonts',
1576
- 'Joti One' => 'Google Fonts',
1577
- 'Jua' => 'Google Fonts',
1578
- 'Judson' => 'Google Fonts',
1579
- 'Julee' => 'Google Fonts',
1580
- 'Julius Sans One' => 'Google Fonts',
1581
- 'Junge' => 'Google Fonts',
1582
- 'Jura' => 'Google Fonts',
1583
- 'Just Another Hand' => 'Google Fonts',
1584
- 'Just Me Again Down Here' => 'Google Fonts',
1585
- 'K2D' => 'Google Fonts',
1586
- 'Kadwa' => 'Google Fonts',
1587
- 'Kalam' => 'Google Fonts',
1588
- 'Kameron' => 'Google Fonts',
1589
- 'Kanit' => 'Google Fonts',
1590
- 'Kantumruy' => 'Google Fonts',
1591
- 'Karla' => 'Google Fonts',
1592
- 'Karma' => 'Google Fonts',
1593
- 'Katibeh' => 'Google Fonts',
1594
- 'Kaushan Script' => 'Google Fonts',
1595
- 'Kavivanar' => 'Google Fonts',
1596
- 'Kavoon' => 'Google Fonts',
1597
- 'Kdam Thmor' => 'Google Fonts',
1598
- 'Keania One' => 'Google Fonts',
1599
- 'Kelly Slab' => 'Google Fonts',
1600
- 'Kenia' => 'Google Fonts',
1601
- 'Khand' => 'Google Fonts',
1602
- 'Khmer' => 'Google Fonts',
1603
- 'Khula' => 'Google Fonts',
1604
- 'Kirang Haerang' => 'Google Fonts',
1605
- 'Kite One' => 'Google Fonts',
1606
- 'Knewave' => 'Google Fonts',
1607
- 'KoHo' => 'Google Fonts',
1608
- 'Kodchasan' => 'Google Fonts',
1609
- 'Kosugi' => 'Google Fonts',
1610
- 'Kosugi Maru' => 'Google Fonts',
1611
- 'Kotta One' => 'Google Fonts',
1612
- 'Koulen' => 'Google Fonts',
1613
- 'Kranky' => 'Google Fonts',
1614
- 'Kreon' => 'Google Fonts',
1615
- 'Kristi' => 'Google Fonts',
1616
- 'Krona One' => 'Google Fonts',
1617
- 'Krub' => 'Google Fonts',
1618
- 'Kumar One' => 'Google Fonts',
1619
- 'Kumar One Outline' => 'Google Fonts',
1620
- 'Kurale' => 'Google Fonts',
1621
- 'La Belle Aurore' => 'Google Fonts',
1622
- 'Laila' => 'Google Fonts',
1623
- 'Lakki Reddy' => 'Google Fonts',
1624
- 'Lalezar' => 'Google Fonts',
1625
- 'Lancelot' => 'Google Fonts',
1626
- 'Lateef' => 'Google Fonts',
1627
- 'Lato' => 'Google Fonts',
1628
- 'League Script' => 'Google Fonts',
1629
- 'Leckerli One' => 'Google Fonts',
1630
- 'Ledger' => 'Google Fonts',
1631
- 'Lekton' => 'Google Fonts',
1632
- 'Lemon' => 'Google Fonts',
1633
- 'Lemonada' => 'Google Fonts',
1634
- 'Libre Barcode 128' => 'Google Fonts',
1635
- 'Libre Barcode 128 Text' => 'Google Fonts',
1636
- 'Libre Barcode 39' => 'Google Fonts',
1637
- 'Libre Barcode 39 Extended' => 'Google Fonts',
1638
- 'Libre Barcode 39 Extended Text' => 'Google Fonts',
1639
- 'Libre Barcode 39 Text' => 'Google Fonts',
1640
- 'Libre Baskerville' => 'Google Fonts',
1641
- 'Libre Franklin' => 'Google Fonts',
1642
- 'Life Savers' => 'Google Fonts',
1643
- 'Lilita One' => 'Google Fonts',
1644
- 'Lily Script One' => 'Google Fonts',
1645
- 'Limelight' => 'Google Fonts',
1646
- 'Linden Hill' => 'Google Fonts',
1647
- 'Lobster' => 'Google Fonts',
1648
- 'Lobster Two' => 'Google Fonts',
1649
- 'Londrina Outline' => 'Google Fonts',
1650
- 'Londrina Shadow' => 'Google Fonts',
1651
- 'Londrina Sketch' => 'Google Fonts',
1652
- 'Londrina Solid' => 'Google Fonts',
1653
- 'Lora' => 'Google Fonts',
1654
- 'Love Ya Like A Sister' => 'Google Fonts',
1655
- 'Loved by the King' => 'Google Fonts',
1656
- 'Lovers Quarrel' => 'Google Fonts',
1657
- 'Luckiest Guy' => 'Google Fonts',
1658
- 'Lusitana' => 'Google Fonts',
1659
- 'Lustria' => 'Google Fonts',
1660
- 'M PLUS 1p' => 'Google Fonts',
1661
- 'M PLUS Rounded 1c' => 'Google Fonts',
1662
- 'Macondo' => 'Google Fonts',
1663
- 'Macondo Swash Caps' => 'Google Fonts',
1664
- 'Mada' => 'Google Fonts',
1665
- 'Magra' => 'Google Fonts',
1666
- 'Maiden Orange' => 'Google Fonts',
1667
- 'Maitree' => 'Google Fonts',
1668
- 'Mako' => 'Google Fonts',
1669
- 'Mali' => 'Google Fonts',
1670
- 'Mallanna' => 'Google Fonts',
1671
- 'Mandali' => 'Google Fonts',
1672
- 'Manuale' => 'Google Fonts',
1673
- 'Marcellus' => 'Google Fonts',
1674
- 'Marcellus SC' => 'Google Fonts',
1675
- 'Marck Script' => 'Google Fonts',
1676
- 'Margarine' => 'Google Fonts',
1677
- 'Markazi Text' => 'Google Fonts',
1678
- 'Marko One' => 'Google Fonts',
1679
- 'Marmelad' => 'Google Fonts',
1680
- 'Martel' => 'Google Fonts',
1681
- 'Martel Sans' => 'Google Fonts',
1682
- 'Marvel' => 'Google Fonts',
1683
- 'Mate' => 'Google Fonts',
1684
- 'Mate SC' => 'Google Fonts',
1685
- 'Maven Pro' => 'Google Fonts',
1686
- 'McLaren' => 'Google Fonts',
1687
- 'Meddon' => 'Google Fonts',
1688
- 'MedievalSharp' => 'Google Fonts',
1689
- 'Medula One' => 'Google Fonts',
1690
- 'Meera Inimai' => 'Google Fonts',
1691
- 'Megrim' => 'Google Fonts',
1692
- 'Meie Script' => 'Google Fonts',
1693
- 'Merienda' => 'Google Fonts',
1694
- 'Merienda One' => 'Google Fonts',
1695
- 'Merriweather' => 'Google Fonts',
1696
- 'Merriweather Sans' => 'Google Fonts',
1697
- 'Metal' => 'Google Fonts',
1698
- 'Metal Mania' => 'Google Fonts',
1699
- 'Metamorphous' => 'Google Fonts',
1700
- 'Metrophobic' => 'Google Fonts',
1701
- 'Michroma' => 'Google Fonts',
1702
- 'Milonga' => 'Google Fonts',
1703
- 'Miltonian' => 'Google Fonts',
1704
- 'Miltonian Tattoo' => 'Google Fonts',
1705
- 'Mina' => 'Google Fonts',
1706
- 'Miniver' => 'Google Fonts',
1707
- 'Miriam Libre' => 'Google Fonts',
1708
- 'Mirza' => 'Google Fonts',
1709
- 'Miss Fajardose' => 'Google Fonts',
1710
- 'Mitr' => 'Google Fonts',
1711
- 'Modak' => 'Google Fonts',
1712
- 'Modern Antiqua' => 'Google Fonts',
1713
- 'Mogra' => 'Google Fonts',
1714
- 'Molengo' => 'Google Fonts',
1715
- 'Molle' => 'Google Fonts',
1716
- 'Monda' => 'Google Fonts',
1717
- 'Monofett' => 'Google Fonts',
1718
- 'Monoton' => 'Google Fonts',
1719
- 'Monsieur La Doulaise' => 'Google Fonts',
1720
- 'Montaga' => 'Google Fonts',
1721
- 'Montez' => 'Google Fonts',
1722
- 'Montserrat' => 'Google Fonts',
1723
- 'Montserrat Alternates' => 'Google Fonts',
1724
- 'Montserrat Subrayada' => 'Google Fonts',
1725
- 'Moul' => 'Google Fonts',
1726
- 'Moulpali' => 'Google Fonts',
1727
- 'Mountains of Christmas' => 'Google Fonts',
1728
- 'Mouse Memoirs' => 'Google Fonts',
1729
- 'Mr Bedfort' => 'Google Fonts',
1730
- 'Mr Dafoe' => 'Google Fonts',
1731
- 'Mr De Haviland' => 'Google Fonts',
1732
- 'Mrs Saint Delafield' => 'Google Fonts',
1733
- 'Mrs Sheppards' => 'Google Fonts',
1734
- 'Mukta' => 'Google Fonts',
1735
- 'Mukta Mahee' => 'Google Fonts',
1736
- 'Mukta Malar' => 'Google Fonts',
1737
- 'Mukta Vaani' => 'Google Fonts',
1738
- 'Muli' => 'Google Fonts',
1739
- 'Mystery Quest' => 'Google Fonts',
1740
- 'NTR' => 'Google Fonts',
1741
- 'Nanum Brush Script' => 'Google Fonts',
1742
- 'Nanum Gothic' => 'Google Fonts',
1743
- 'Nanum Gothic Coding' => 'Google Fonts',
1744
- 'Nanum Myeongjo' => 'Google Fonts',
1745
- 'Nanum Pen Script' => 'Google Fonts',
1746
- 'Neucha' => 'Google Fonts',
1747
- 'Neuton' => 'Google Fonts',
1748
- 'New Rocker' => 'Google Fonts',
1749
- 'News Cycle' => 'Google Fonts',
1750
- 'Niconne' => 'Google Fonts',
1751
- 'Niramit' => 'Google Fonts',
1752
- 'Nixie One' => 'Google Fonts',
1753
- 'Nobile' => 'Google Fonts',
1754
- 'Nokora' => 'Google Fonts',
1755
- 'Norican' => 'Google Fonts',
1756
- 'Nosifer' => 'Google Fonts',
1757
- 'Notable' => 'Google Fonts',
1758
- 'Nothing You Could Do' => 'Google Fonts',
1759
- 'Noticia Text' => 'Google Fonts',
1760
- 'Noto Kufi Arabic' => 'Google Fonts',
1761
- // Hack for Google Early Access.
1762
- 'Noto Naskh Arabic' => 'Google Fonts',
1763
- // Hack for Google Early Access.
1764
- 'Noto Sans' => 'Google Fonts',
1765
- 'Noto Sans Hebrew' => 'Google Fonts',
1766
- // Hack for Google Early Access.
1767
- 'Noto Sans JP' => 'Google Fonts',
1768
- 'Noto Sans KR' => 'Google Fonts',
1769
- 'Noto Serif' => 'Google Fonts',
1770
- 'Noto Serif JP' => 'Google Fonts',
1771
- 'Noto Serif KR' => 'Google Fonts',
1772
- 'Nova Cut' => 'Google Fonts',
1773
- 'Nova Flat' => 'Google Fonts',
1774
- 'Nova Mono' => 'Google Fonts',
1775
- 'Nova Oval' => 'Google Fonts',
1776
- 'Nova Round' => 'Google Fonts',
1777
- 'Nova Script' => 'Google Fonts',
1778
- 'Nova Slim' => 'Google Fonts',
1779
- 'Nova Square' => 'Google Fonts',
1780
- 'Numans' => 'Google Fonts',
1781
- 'Nunito' => 'Google Fonts',
1782
- 'Nunito Sans' => 'Google Fonts',
1783
- 'Odor Mean Chey' => 'Google Fonts',
1784
- 'Offside' => 'Google Fonts',
1785
- 'Old Standard TT' => 'Google Fonts',
1786
- 'Oldenburg' => 'Google Fonts',
1787
- 'Oleo Script' => 'Google Fonts',
1788
- 'Oleo Script Swash Caps' => 'Google Fonts',
1789
- 'Open Sans' => 'Google Fonts',
1790
- 'Open Sans Condensed' => 'Google Fonts',
1791
- 'Open Sans Hebrew' => 'Google Fonts',
1792
- // Hack for Google Early Access.
1793
- 'Open Sans Hebrew Condensed' => 'Google Fonts',
1794
- // Hack for Google Early Access.
1795
- 'Oranienbaum' => 'Google Fonts',
1796
- 'Orbitron' => 'Google Fonts',
1797
- 'Oregano' => 'Google Fonts',
1798
- 'Orienta' => 'Google Fonts',
1799
- 'Original Surfer' => 'Google Fonts',
1800
- 'Oswald' => 'Google Fonts',
1801
- 'Over the Rainbow' => 'Google Fonts',
1802
- 'Overlock' => 'Google Fonts',
1803
- 'Overlock SC' => 'Google Fonts',
1804
- 'Overpass' => 'Google Fonts',
1805
- 'Overpass Mono' => 'Google Fonts',
1806
- 'Ovo' => 'Google Fonts',
1807
- 'Oxygen' => 'Google Fonts',
1808
- 'Oxygen Mono' => 'Google Fonts',
1809
- 'PT Mono' => 'Google Fonts',
1810
- 'PT Sans' => 'Google Fonts',
1811
- 'PT Sans Caption' => 'Google Fonts',
1812
- 'PT Sans Narrow' => 'Google Fonts',
1813
- 'PT Serif' => 'Google Fonts',
1814
- 'PT Serif Caption' => 'Google Fonts',
1815
- 'Pacifico' => 'Google Fonts',
1816
- 'Padauk' => 'Google Fonts',
1817
- 'Palanquin' => 'Google Fonts',
1818
- 'Palanquin Dark' => 'Google Fonts',
1819
- 'Pangolin' => 'Google Fonts',
1820
- 'Paprika' => 'Google Fonts',
1821
- 'Parisienne' => 'Google Fonts',
1822
- 'Passero One' => 'Google Fonts',
1823
- 'Passion One' => 'Google Fonts',
1824
- 'Pathway Gothic One' => 'Google Fonts',
1825
- 'Patrick Hand' => 'Google Fonts',
1826
- 'Patrick Hand SC' => 'Google Fonts',
1827
- 'Pattaya' => 'Google Fonts',
1828
- 'Patua One' => 'Google Fonts',
1829
- 'Pavanam' => 'Google Fonts',
1830
- 'Paytone One' => 'Google Fonts',
1831
- 'Peddana' => 'Google Fonts',
1832
- 'Peralta' => 'Google Fonts',
1833
- 'Permanent Marker' => 'Google Fonts',
1834
- 'Petit Formal Script' => 'Google Fonts',
1835
- 'Petrona' => 'Google Fonts',
1836
- 'Philosopher' => 'Google Fonts',
1837
- 'Piedra' => 'Google Fonts',
1838
- 'Pinyon Script' => 'Google Fonts',
1839
- 'Pirata One' => 'Google Fonts',
1840
- 'Plaster' => 'Google Fonts',
1841
- 'Play' => 'Google Fonts',
1842
- 'Playball' => 'Google Fonts',
1843
- 'Playfair Display' => 'Google Fonts',
1844
- 'Playfair Display SC' => 'Google Fonts',
1845
- 'Podkova' => 'Google Fonts',
1846
- 'Poiret One' => 'Google Fonts',
1847
- 'Poller One' => 'Google Fonts',
1848
- 'Poly' => 'Google Fonts',
1849
- 'Pompiere' => 'Google Fonts',
1850
- 'Pontano Sans' => 'Google Fonts',
1851
- 'Poor Story' => 'Google Fonts',
1852
- 'Poppins' => 'Google Fonts',
1853
- 'Port Lligat Sans' => 'Google Fonts',
1854
- 'Port Lligat Slab' => 'Google Fonts',
1855
- 'Pragati Narrow' => 'Google Fonts',
1856
- 'Prata' => 'Google Fonts',
1857
- 'Preahvihear' => 'Google Fonts',
1858
- 'Press Start 2P' => 'Google Fonts',
1859
- 'Pridi' => 'Google Fonts',
1860
- 'Princess Sofia' => 'Google Fonts',
1861
- 'Prociono' => 'Google Fonts',
1862
- 'Prompt' => 'Google Fonts',
1863
- 'Prosto One' => 'Google Fonts',
1864
- 'Proza Libre' => 'Google Fonts',
1865
- 'Puritan' => 'Google Fonts',
1866
- 'Purple Purse' => 'Google Fonts',
1867
- 'Quando' => 'Google Fonts',
1868
- 'Quantico' => 'Google Fonts',
1869
- 'Quattrocento' => 'Google Fonts',
1870
- 'Quattrocento Sans' => 'Google Fonts',
1871
- 'Questrial' => 'Google Fonts',
1872
- 'Quicksand' => 'Google Fonts',
1873
- 'Quintessential' => 'Google Fonts',
1874
- 'Qwigley' => 'Google Fonts',
1875
- 'Racing Sans One' => 'Google Fonts',
1876
- 'Radley' => 'Google Fonts',
1877
- 'Rajdhani' => 'Google Fonts',
1878
- 'Rakkas' => 'Google Fonts',
1879
- 'Raleway' => 'Google Fonts',
1880
- 'Raleway Dots' => 'Google Fonts',
1881
- 'Ramabhadra' => 'Google Fonts',
1882
- 'Ramaraja' => 'Google Fonts',
1883
- 'Rambla' => 'Google Fonts',
1884
- 'Rammetto One' => 'Google Fonts',
1885
- 'Ranchers' => 'Google Fonts',
1886
- 'Rancho' => 'Google Fonts',
1887
- 'Ranga' => 'Google Fonts',
1888
- 'Rasa' => 'Google Fonts',
1889
- 'Rationale' => 'Google Fonts',
1890
- 'Ravi Prakash' => 'Google Fonts',
1891
- 'Redressed' => 'Google Fonts',
1892
- 'Reem Kufi' => 'Google Fonts',
1893
- 'Reenie Beanie' => 'Google Fonts',
1894
- 'Revalia' => 'Google Fonts',
1895
- 'Rhodium Libre' => 'Google Fonts',
1896
- 'Ribeye' => 'Google Fonts',
1897
- 'Ribeye Marrow' => 'Google Fonts',
1898
- 'Righteous' => 'Google Fonts',
1899
- 'Risque' => 'Google Fonts',
1900
- 'Roboto' => 'Google Fonts',
1901
- 'Roboto Condensed' => 'Google Fonts',
1902
- 'Roboto Mono' => 'Google Fonts',
1903
- 'Roboto Slab' => 'Google Fonts',
1904
- 'Rochester' => 'Google Fonts',
1905
- 'Rock Salt' => 'Google Fonts',
1906
- 'Rokkitt' => 'Google Fonts',
1907
- 'Romanesco' => 'Google Fonts',
1908
- 'Ropa Sans' => 'Google Fonts',
1909
- 'Rosario' => 'Google Fonts',
1910
- 'Rosarivo' => 'Google Fonts',
1911
- 'Rouge Script' => 'Google Fonts',
1912
- 'Rozha One' => 'Google Fonts',
1913
- 'Rubik' => 'Google Fonts',
1914
- 'Rubik Mono One' => 'Google Fonts',
1915
- 'Ruda' => 'Google Fonts',
1916
- 'Rufina' => 'Google Fonts',
1917
- 'Ruge Boogie' => 'Google Fonts',
1918
- 'Ruluko' => 'Google Fonts',
1919
- 'Rum Raisin' => 'Google Fonts',
1920
- 'Ruslan Display' => 'Google Fonts',
1921
- 'Russo One' => 'Google Fonts',
1922
- 'Ruthie' => 'Google Fonts',
1923
- 'Rye' => 'Google Fonts',
1924
- 'Sacramento' => 'Google Fonts',
1925
- 'Sahitya' => 'Google Fonts',
1926
- 'Sail' => 'Google Fonts',
1927
- 'Saira' => 'Google Fonts',
1928
- 'Saira Condensed' => 'Google Fonts',
1929
- 'Saira Extra Condensed' => 'Google Fonts',
1930
- 'Saira Semi Condensed' => 'Google Fonts',
1931
- 'Salsa' => 'Google Fonts',
1932
- 'Sanchez' => 'Google Fonts',
1933
- 'Sancreek' => 'Google Fonts',
1934
- 'Sansita' => 'Google Fonts',
1935
- 'Sarala' => 'Google Fonts',
1936
- 'Sarina' => 'Google Fonts',
1937
- 'Sarpanch' => 'Google Fonts',
1938
- 'Satisfy' => 'Google Fonts',
1939
- 'Sawarabi Gothic' => 'Google Fonts',
1940
- 'Sawarabi Mincho' => 'Google Fonts',
1941
- 'Scada' => 'Google Fonts',
1942
- 'Scheherazade' => 'Google Fonts',
1943
- 'Schoolbell' => 'Google Fonts',
1944
- 'Scope One' => 'Google Fonts',
1945
- 'Seaweed Script' => 'Google Fonts',
1946
- 'Secular One' => 'Google Fonts',
1947
- 'Sedgwick Ave' => 'Google Fonts',
1948
- 'Sedgwick Ave Display' => 'Google Fonts',
1949
- 'Sevillana' => 'Google Fonts',
1950
- 'Seymour One' => 'Google Fonts',
1951
- 'Shadows Into Light' => 'Google Fonts',
1952
- 'Shadows Into Light Two' => 'Google Fonts',
1953
- 'Shanti' => 'Google Fonts',
1954
- 'Share' => 'Google Fonts',
1955
- 'Share Tech' => 'Google Fonts',
1956
- 'Share Tech Mono' => 'Google Fonts',
1957
- 'Shojumaru' => 'Google Fonts',
1958
- 'Short Stack' => 'Google Fonts',
1959
- 'Shrikhand' => 'Google Fonts',
1960
- 'Siemreap' => 'Google Fonts',
1961
- 'Sigmar One' => 'Google Fonts',
1962
- 'Signika' => 'Google Fonts',
1963
- 'Signika Negative' => 'Google Fonts',
1964
- 'Simonetta' => 'Google Fonts',
1965
- 'Sintony' => 'Google Fonts',
1966
- 'Sirin Stencil' => 'Google Fonts',
1967
- 'Six Caps' => 'Google Fonts',
1968
- 'Skranji' => 'Google Fonts',
1969
- 'Slabo 13px' => 'Google Fonts',
1970
- 'Slabo 27px' => 'Google Fonts',
1971
- 'Slackey' => 'Google Fonts',
1972
- 'Smokum' => 'Google Fonts',
1973
- 'Smythe' => 'Google Fonts',
1974
- 'Sniglet' => 'Google Fonts',
1975
- 'Snippet' => 'Google Fonts',
1976
- 'Snowburst One' => 'Google Fonts',
1977
- 'Sofadi One' => 'Google Fonts',
1978
- 'Sofia' => 'Google Fonts',
1979
- 'Song Myung' => 'Google Fonts',
1980
- 'Sonsie One' => 'Google Fonts',
1981
- 'Sorts Mill Goudy' => 'Google Fonts',
1982
- 'Source Code Pro' => 'Google Fonts',
1983
- 'Source Sans Pro' => 'Google Fonts',
1984
- 'Source Serif Pro' => 'Google Fonts',
1985
- 'Space Mono' => 'Google Fonts',
1986
- 'Special Elite' => 'Google Fonts',
1987
- 'Spectral' => 'Google Fonts',
1988
- 'Spectral SC' => 'Google Fonts',
1989
- 'Spicy Rice' => 'Google Fonts',
1990
- 'Spinnaker' => 'Google Fonts',
1991
- 'Spirax' => 'Google Fonts',
1992
- 'Squada One' => 'Google Fonts',
1993
- 'Sree Krushnadevaraya' => 'Google Fonts',
1994
- 'Sriracha' => 'Google Fonts',
1995
- 'Srisakdi' => 'Google Fonts',
1996
- 'Stalemate' => 'Google Fonts',
1997
- 'Stalinist One' => 'Google Fonts',
1998
- 'Stardos Stencil' => 'Google Fonts',
1999
- 'Stint Ultra Condensed' => 'Google Fonts',
2000
- 'Stint Ultra Expanded' => 'Google Fonts',
2001
- 'Stoke' => 'Google Fonts',
2002
- 'Strait' => 'Google Fonts',
2003
- 'Stylish' => 'Google Fonts',
2004
- 'Sue Ellen Francisco' => 'Google Fonts',
2005
- 'Suez One' => 'Google Fonts',
2006
- 'Sumana' => 'Google Fonts',
2007
- 'Sunflower' => 'Google Fonts',
2008
- 'Sunshiney' => 'Google Fonts',
2009
- 'Supermercado One' => 'Google Fonts',
2010
- 'Sura' => 'Google Fonts',
2011
- 'Suranna' => 'Google Fonts',
2012
- 'Suravaram' => 'Google Fonts',
2013
- 'Suwannaphum' => 'Google Fonts',
2014
- 'Swanky and Moo Moo' => 'Google Fonts',
2015
- 'Syncopate' => 'Google Fonts',
2016
- 'Tajawal' => 'Google Fonts',
2017
- 'Tangerine' => 'Google Fonts',
2018
- 'Taprom' => 'Google Fonts',
2019
- 'Tauri' => 'Google Fonts',
2020
- 'Taviraj' => 'Google Fonts',
2021
- 'Teko' => 'Google Fonts',
2022
- 'Telex' => 'Google Fonts',
2023
- 'Tenali Ramakrishna' => 'Google Fonts',
2024
- 'Tenor Sans' => 'Google Fonts',
2025
- 'Text Me One' => 'Google Fonts',
2026
- 'The Girl Next Door' => 'Google Fonts',
2027
- 'Tienne' => 'Google Fonts',
2028
- 'Tillana' => 'Google Fonts',
2029
- 'Timmana' => 'Google Fonts',
2030
- 'Tinos' => 'Google Fonts',
2031
- 'Titan One' => 'Google Fonts',
2032
- 'Titillium Web' => 'Google Fonts',
2033
- 'Trade Winds' => 'Google Fonts',
2034
- 'Trirong' => 'Google Fonts',
2035
- 'Trocchi' => 'Google Fonts',
2036
- 'Trochut' => 'Google Fonts',
2037
- 'Trykker' => 'Google Fonts',
2038
- 'Tulpen One' => 'Google Fonts',
2039
- 'Ubuntu' => 'Google Fonts',
2040
- 'Ubuntu Condensed' => 'Google Fonts',
2041
- 'Ubuntu Mono' => 'Google Fonts',
2042
- 'Ultra' => 'Google Fonts',
2043
- 'Uncial Antiqua' => 'Google Fonts',
2044
- 'Underdog' => 'Google Fonts',
2045
- 'Unica One' => 'Google Fonts',
2046
- 'UnifrakturCook' => 'Google Fonts',
2047
- 'UnifrakturMaguntia' => 'Google Fonts',
2048
- 'Unkempt' => 'Google Fonts',
2049
- 'Unlock' => 'Google Fonts',
2050
- 'Unna' => 'Google Fonts',
2051
- 'VT323' => 'Google Fonts',
2052
- 'Vampiro One' => 'Google Fonts',
2053
- 'Varela' => 'Google Fonts',
2054
- 'Varela Round' => 'Google Fonts',
2055
- 'Vast Shadow' => 'Google Fonts',
2056
- 'Vesper Libre' => 'Google Fonts',
2057
- 'Vibur' => 'Google Fonts',
2058
- 'Vidaloka' => 'Google Fonts',
2059
- 'Viga' => 'Google Fonts',
2060
- 'Voces' => 'Google Fonts',
2061
- 'Volkhov' => 'Google Fonts',
2062
- 'Vollkorn' => 'Google Fonts',
2063
- 'Vollkorn SC' => 'Google Fonts',
2064
- 'Voltaire' => 'Google Fonts',
2065
- 'Waiting for the Sunrise' => 'Google Fonts',
2066
- 'Wallpoet' => 'Google Fonts',
2067
- 'Walter Turncoat' => 'Google Fonts',
2068
- 'Warnes' => 'Google Fonts',
2069
- 'Wellfleet' => 'Google Fonts',
2070
- 'Wendy One' => 'Google Fonts',
2071
- 'Wire One' => 'Google Fonts',
2072
- 'Work Sans' => 'Google Fonts',
2073
- 'Yanone Kaffeesatz' => 'Google Fonts',
2074
- 'Yantramanav' => 'Google Fonts',
2075
- 'Yatra One' => 'Google Fonts',
2076
- 'Yellowtail' => 'Google Fonts',
2077
- 'Yeon Sung' => 'Google Fonts',
2078
- 'Yeseva One' => 'Google Fonts',
2079
- 'Yesteryear' => 'Google Fonts',
2080
- 'Yrsa' => 'Google Fonts',
2081
- 'Zeyada' => 'Google Fonts',
2082
- 'Zilla Slab' => 'Google Fonts',
2083
- 'Zilla Slab Highlight' => 'Google Fonts',
2084
- ];
2085
-
2086
- }//end get_font_list()
2087
-
2088
-
2089
- /**
2090
- * Register text domain for Chaty
2091
- *
2092
- * @since 1.0.0
2093
- * @access public
2094
- * @return $chaty_text
2095
- */
2096
- public function chaty_text()
2097
- {
2098
- load_plugin_textdomain("chaty", false, dirname(plugin_basename(__FILE__)).'/languages/');
2099
-
2100
- }//end chaty_text()
2101
-
2102
-
2103
- /**
2104
- * Update Chaty Status
2105
- *
2106
- * @since 1.0.0
2107
- * @access public
2108
- * @return $status
2109
- */
2110
- public function chaty_update_status()
2111
- {
2112
- $nonce = filter_input(INPUT_POST, 'nonce');
2113
- if (!empty($nonce) && wp_verify_nonce($nonce, 'chaty_update_status')) {
2114
- $status = filter_input(INPUT_POST, 'status');
2115
- $email = filter_input(INPUT_POST, 'email');
2116
- update_option("chaty_update_message", 2);
2117
- if ($status == 1) {
2118
- $email = sanitize_email($email);
2119
-
2120
- $apiURL = "https://premioapps.com/premio/signup/index.php?plugin=chaty&email=".$email;
2121
-
2122
- $apiParams = [
2123
- 'plugin' => 'chaty',
2124
- 'email' => $email,
2125
- ];
2126
-
2127
- // Signup Email for Chaty
2128
- $apiResponse = wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => true]);
2129
-
2130
- if (is_wp_error($apiResponse)) {
2131
- wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => false]);
2132
- }
2133
-
2134
- $response['status'] = 1;
2135
- }
2136
- }//end if
2137
-
2138
- }//end chaty_update_status()
2139
-
2140
-
2141
- /**
2142
- * Update Chaty Popup Status
2143
- *
2144
- * @since 1.0.0
2145
- * @access public
2146
- * @return $status
2147
- */
2148
- public function update_popup_status()
2149
- {
2150
- $nonce = filter_input(INPUT_POST, 'nonce');
2151
- if (!empty($nonce) && wp_verify_nonce($nonce, 'chaty_update_popup_status')) {
2152
- update_option("chaty_intro_popup", "hide");
2153
- }
2154
-
2155
- echo esc_attr("1");
2156
- die;
2157
-
2158
- }//end update_popup_status()
2159
-
2160
-
2161
- /**
2162
- * Update Chaty Channel Settings
2163
- *
2164
- * @since 1.0.0
2165
- * @access public
2166
- * @return $channels
2167
- */
2168
- public function update_channel_setting()
2169
- {
2170
- $nonce = filter_input(INPUT_POST, 'nonce');
2171
- if (!empty($nonce) && wp_verify_nonce($nonce, "Contact_Us-settings")) {
2172
- update_option("chaty_contact_us_setting", "hide");
2173
- }
2174
-
2175
- echo esc_attr("1");
2176
- die;
2177
-
2178
- }//end update_channel_setting()
2179
-
2180
-
2181
- /**
2182
- * Send Help Message to owner
2183
- *
2184
- * @since 1.0.0
2185
- * @access public
2186
- * @return $response
2187
- */
2188
- public function wcp_admin_send_message_to_owner()
2189
- {
2190
- $response = [];
2191
- $response['status'] = 0;
2192
- $response['error'] = 0;
2193
- $response['errors'] = [];
2194
- $response['message'] = "";
2195
- $errorArray = [];
2196
- $errorMessage = esc_attr__("%s is required", "chaty");
2197
-
2198
- $textareaText = filter_input(INPUT_POST, 'textarea_text');
2199
- $userEmail = filter_input(INPUT_POST, 'user_email');
2200
- $nonce = filter_input(INPUT_POST, 'nonce');
2201
-
2202
- if (empty($textareaText)) {
2203
- $error = [
2204
- "key" => "textarea_text",
2205
- "message" => esc_attr__("Please enter your message", "wcp"),
2206
- ];
2207
- $errorArray[] = $error;
2208
- }
2209
-
2210
- if (empty($userEmail)) {
2211
- $error = [
2212
- "key" => "user_email",
2213
- "message" => sprintf($errorMessage, esc_attr__("Email", "wcp")),
2214
- ];
2215
- $errorArray[] = $error;
2216
- } else if (!filter_var($userEmail, FILTER_VALIDATE_EMAIL)) {
2217
- $error = [
2218
- 'key' => "user_email",
2219
- "message" => "Email is not valid",
2220
- ];
2221
- $errorArray[] = $error;
2222
- }
2223
-
2224
- if (empty($errorArray)) {
2225
- if (empty($nonce)) {
2226
- $error = [
2227
- 'key' => "nonce",
2228
- "message" => "Your request is not valid",
2229
- ];
2230
- $errorArray[] = $error;
2231
- } else if (!wp_verify_nonce($nonce, "chaty_send_message_to_owner")) {
2232
- $error = [
2233
- 'key' => "nonce",
2234
- "message" => "Your request is not valid",
2235
- ];
2236
- $errorArray[] = $error;
2237
- }
2238
- }
2239
-
2240
- if (empty($errorArray)) {
2241
- global $currentUser;
2242
- $textMessage = sanitize_textarea_field($textareaText);
2243
- $email = sanitize_email($userEmail);
2244
- $domain = site_url();
2245
- $userName = $currentUser->first_name." ".$currentUser->last_name;
2246
-
2247
- // sending message to Crisp
2248
- $postMessage = [];
2249
-
2250
- $messageData = [];
2251
- $messageData['key'] = "Plugin";
2252
- $messageData['value'] = "Chaty";
2253
- $postMessage[] = $messageData;
2254
-
2255
- $messageData = [];
2256
- $messageData['key'] = "Domain";
2257
- $messageData['value'] = $domain;
2258
- $postMessage[] = $messageData;
2259
-
2260
- $messageData = [];
2261
- $messageData['key'] = "Email";
2262
- $messageData['value'] = $email;
2263
- $postMessage[] = $messageData;
2264
-
2265
- $messageData = [];
2266
- $messageData['key'] = "Message";
2267
- $messageData['value'] = $textMessage;
2268
- $postMessage[] = $messageData;
2269
-
2270
- $apiParams = [
2271
- 'domain' => $domain,
2272
- 'email' => $email,
2273
- 'url' => site_url(),
2274
- 'name' => $userName,
2275
- 'message' => $postMessage,
2276
- 'plugin' => "Chaty",
2277
- 'type' => "Need Help",
2278
- ];
2279
-
2280
- $apiURL = "https://premioapps.com/premio/send-message-api.php";
2281
-
2282
- // Sending message to Crisp API
2283
- $apiResponse = wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => true]);
2284
-
2285
- if (is_wp_error($apiResponse)) {
2286
- wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => false]);
2287
- }
2288
-
2289
- $response['status'] = 1;
2290
- } else {
2291
- $response['error'] = 1;
2292
- $response['errors'] = $errorArray;
2293
- }//end if
2294
-
2295
- echo json_encode($response);
2296
- wp_die();
2297
-
2298
- }//end wcp_admin_send_message_to_owner()
2299
-
2300
-
2301
- }//end class
2302
-
2303
- new CHT_Admin_Base();
2304
-
2305
- add_action(
2306
- 'update_option_chaty_updated_on',
2307
- function ($oldValue, $value) {
2308
- if ($oldValue != $value) {
2309
- wp_redirect("admin.php?page=chaty-app&show_message=1");
2310
- exit;
2311
- }
2312
- },
2313
- 10,
2314
- 2
2315
- );
1
+ <?php
2
+ /**
3
+ * Class Chaty admin settings
4
+ *
5
+ * @author : Premio <contact@premio.io>
6
+ * @license : GPL2
7
+ * */
8
+
9
+ namespace CHT\admin;
10
+
11
+ use CHT\includes\CHT_Widget;
12
+
13
+ if (defined('ABSPATH') === false) {
14
+ exit;
15
+ }
16
+
17
+ require_once 'class-social-icons.php';
18
+
19
+ class CHT_Admin_Base
20
+ {
21
+
22
+ public $page;
23
+
24
+ public $socials;
25
+
26
+ public $colors;
27
+
28
+ protected $token;
29
+
30
+ protected static $response = null;
31
+
32
+ protected $upgradeSlug;
33
+
34
+
35
+ public function __construct()
36
+ {
37
+ $plugin = CHT_Widget::get_instance();
38
+ $this->pluginSlug = $plugin->get_pluginSlug();
39
+ $this->friendlyName = $plugin->get_name();
40
+ $this->socials = CHT_Social_Icons::get_instance()->get_icons_list();
41
+ $this->colors = CHT_Social_Icons::get_instance()->get_colors();
42
+ $this->token = $this->get_token();
43
+ $this->upgradeSlug = $this->pluginSlug.'-upgrade';
44
+
45
+ if (is_admin()) {
46
+ // admin actions
47
+ add_action('admin_menu', [$this, 'cht_admin_setting_page']);
48
+ // Adds all of the options for the administrative settings
49
+ add_action('admin_init', [$this, 'cht_register_inputs']);
50
+ add_action('admin_head', [$this, 'cht_inline_css_admin']);
51
+ }
52
+
53
+ // add_action('updated_option', array($this, 'cht_clear_all_caches'));
54
+ // Send message to owner
55
+ add_action('wp_ajax_wcp_admin_send_message_to_owner', [$this, 'wcp_admin_send_message_to_owner']);
56
+
57
+ // ADD Upgrade link to plugin
58
+ add_filter('plugin_action_links_'.CHT_PLUGIN_BASE, [$this, 'plugin_action_links']);
59
+
60
+ add_action('admin_footer', [$this, 'add_deactivate_modal']);
61
+ add_action('wp_ajax_chaty_plugin_deactivate', [$this, 'chaty_plugin_deactivate']);
62
+
63
+ add_action('admin_enqueue_scripts', [$this, 'enqueue_styles'], 99);
64
+
65
+ add_action('admin_enqueue_scripts', [$this, 'enqueue_scripts'], 99);
66
+
67
+ add_action("wp_ajax_chaty_update_status", [$this, 'chaty_update_status']);
68
+
69
+ // load language files
70
+ add_action('plugins_loaded', [ $this, 'chaty_text' ]);
71
+
72
+ add_action("wp_ajax_update_popup_status", [$this, 'update_popup_status']);
73
+ add_action("wp_ajax_update_channel_setting", [$this, 'update_channel_setting']);
74
+
75
+ }//end __construct()
76
+
77
+
78
+ /**
79
+ * Append extra links on plugin page
80
+ *
81
+ * @since 1.0.0
82
+ * @access public
83
+ * @return $links
84
+ */
85
+ public function plugin_action_links($links)
86
+ {
87
+ $links['need_help'] = '<a target="_blank" href="https://premio.io/help/chaty/?utm_source=pluginspage" >'.__('Need help?', "chaty").'</a>';
88
+ $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', "chaty").'</a>';
89
+ return $links;
90
+
91
+ }//end plugin_action_links()
92
+
93
+
94
+ /**
95
+ * Sends data premio why plugin is deactivated
96
+ *
97
+ * @since 1.0.0
98
+ * @access public
99
+ * @return $response
100
+ */
101
+ public function chaty_plugin_deactivate()
102
+ {
103
+ $errorCounter = 0;
104
+ $response = [];
105
+ $response['status'] = 0;
106
+ $response['message'] = "";
107
+ $response['valid'] = 1;
108
+ $reason = filter_input(INPUT_POST, 'reason');
109
+ $nonce = filter_input(INPUT_POST, 'nonce');
110
+ if (empty($reason)) {
111
+ $errorCounter++;
112
+ $response['message'] = "Please provide reason";
113
+ } else if (empty($nonce)) {
114
+ $response['message'] = esc_html__("Your request is not valid", "chaty");
115
+ $errorCounter++;
116
+ $response['valid'] = 0;
117
+ } else if (!current_user_can("manage_options")) {
118
+ $response['message'] = esc_html__("Your request is not valid", "chaty");
119
+ $errorCounter++;
120
+ $response['valid'] = 0;
121
+ } else {
122
+ if (!wp_verify_nonce($nonce, 'chaty_deactivate_nonce')) {
123
+ $response['message'] = esc_html__("Your request is not valid", "chaty");
124
+ $errorCounter++;
125
+ $response['valid'] = 0;
126
+ }
127
+ }
128
+
129
+ if ($errorCounter == 0) {
130
+ global $currentUser;
131
+ $email = "none@none.none";
132
+
133
+ $emailId = filter_input(INPUT_POST, 'email_id');
134
+ if (isset($emailId) && !empty($emailId) && filter_var($emailId, FILTER_VALIDATE_EMAIL)) {
135
+ $email = $emailId;
136
+ }
137
+
138
+ filter_input(INPUT_POST, 'email_id');
139
+
140
+ $domain = site_url();
141
+ $userName = $currentUser->first_name." ".$currentUser->last_name;
142
+
143
+ $response['status'] = 1;
144
+
145
+ // sending message to Crisp
146
+ $postMessage = [];
147
+
148
+ $messageData = [];
149
+ $messageData['key'] = "Plugin";
150
+ $messageData['value'] = "Chaty";
151
+ $postMessage[] = $messageData;
152
+
153
+ $messageData = [];
154
+ $messageData['key'] = "Plugin Version";
155
+ $messageData['value'] = CHT_VERSION;
156
+ $postMessage[] = $messageData;
157
+
158
+ $messageData = [];
159
+ $messageData['key'] = "Domain";
160
+ $messageData['value'] = $domain;
161
+ $postMessage[] = $messageData;
162
+
163
+ $messageData = [];
164
+ $messageData['key'] = "Email";
165
+ $messageData['value'] = $email;
166
+ $postMessage[] = $messageData;
167
+
168
+ $messageData = [];
169
+ $messageData['key'] = "WordPress Version";
170
+ $messageData['value'] = esc_attr(get_bloginfo('version'));
171
+ $postMessage[] = $messageData;
172
+
173
+ $messageData = [];
174
+ $messageData['key'] = "PHP Version";
175
+ $messageData['value'] = PHP_VERSION;
176
+ $postMessage[] = $messageData;
177
+
178
+ $messageData = [];
179
+ $messageData['key'] = "Message";
180
+ $messageData['value'] = $reason;
181
+ $postMessage[] = $messageData;
182
+
183
+ $apiParams = [
184
+ 'domain' => $domain,
185
+ 'email' => $email,
186
+ 'url' => site_url(),
187
+ 'name' => $userName,
188
+ 'message' => $postMessage,
189
+ 'plugin' => "Chaty",
190
+ 'type' => "Uninstall",
191
+ ];
192
+
193
+ $apiURL = "https://premioapps.com/premio/send-message-api.php";
194
+
195
+ // Sending message to Crisp API
196
+ $apiResponse = wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => true]);
197
+
198
+ if (is_wp_error($apiResponse)) {
199
+ wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => false]);
200
+ }
201
+ }//end if
202
+
203
+ echo json_encode($response);
204
+ wp_die();
205
+
206
+ }//end chaty_plugin_deactivate()
207
+
208
+
209
+ /**
210
+ * Sanitize the input data
211
+ *
212
+ * @since 1.0.0
213
+ * @access public
214
+ * @return $value
215
+ */
216
+ public static function chaty_sanitize_options($value)
217
+ {
218
+ $value = stripslashes($value);
219
+ $value = filter_var($value, FILTER_SANITIZE_STRING);
220
+ $value = htmlspecialchars($value);
221
+ return $value;
222
+
223
+ }//end chaty_sanitize_options()
224
+
225
+
226
+ /**
227
+ * Add deactivate popup on plugin page
228
+ *
229
+ * @since 1.0.0
230
+ * @access public
231
+ * @return $popupHtml
232
+ */
233
+ public function add_deactivate_modal()
234
+ {
235
+ if (current_user_can("manage_options")) {
236
+ global $pagenow;
237
+
238
+ if ('plugins.php' !== $pagenow) {
239
+ return;
240
+ }
241
+
242
+ include CHT_DIR.'/views/admin/chaty-deactivate-form.php';
243
+ }
244
+
245
+ }//end add_deactivate_modal()
246
+
247
+
248
+ /**
249
+ * Remove _ from strings
250
+ *
251
+ * @since 1.0.0
252
+ * @access public
253
+ * @return $text
254
+ */
255
+ public function del_space($text)
256
+ {
257
+ return str_replace('_', ' ', $text);
258
+
259
+ }//end del_space()
260
+
261
+
262
+ /**
263
+ * Appends inline CSS to WP header
264
+ *
265
+ * @since 1.0.0
266
+ * @access public
267
+ * @return $css
268
+ */
269
+ public function cht_inline_css_admin()
270
+ {
271
+ ob_start();
272
+ ?>
273
+ <style>
274
+ #toplevel_page_chaty-app img:hover, #toplevel_page_chaty-app img {
275
+ opacity: 0 !important;
276
+ }
277
+ #toplevel_page_chaty-app:hover .dashicons-before{
278
+ background-color: #00b9eb;
279
+ }
280
+ #toplevel_page_chaty-app .dashicons-before{
281
+ background-color: #A0A3A8;
282
+ -webkit-mask: url('<?php echo esc_url(plugins_url('chaty/admin/assets/images/chaty.svg')) ?>') no-repeat center;
283
+ mask: url('<?php echo esc_url(plugins_url('chaty/admin/assets/images/chaty.svg')) ?>') no-repeat center;
284
+ }
285
+ .current#toplevel_page_chaty-app .dashicons-before{
286
+ background-color: #fff;
287
+ }
288
+ </style>
289
+ <?php
290
+ echo ob_get_clean();
291
+
292
+ }//end cht_inline_css_admin()
293
+
294
+
295
+ /**
296
+ * Enqueue CSS to wp-admin
297
+ *
298
+ * @since 1.0.0
299
+ * @access public
300
+ * @return $styles
301
+ */
302
+ public function enqueue_styles($page)
303
+ {
304
+ // echo $page; die;
305
+ if ($page == 'toplevel_page_chaty-app' || $page == 'chaty_page_chaty-contact-form-feed' || $page == 'chaty_page_widget-analytics' || $page == "chaty_page_chaty-upgrade") {
306
+ $query_args = [
307
+ 'family' => 'Rubik:400,700|Oswald:400,600',
308
+ 'subset' => 'latin,latin-ext',
309
+ ];
310
+ wp_enqueue_style('google_fonts', add_query_arg($query_args, "//fonts.googleapis.com/css"), [], null);
311
+ wp_enqueue_style($this->pluginSlug.'spectrum', plugins_url('../admin/assets/css/spectrum.min.css', __FILE__), [], CHT_VERSION);
312
+ wp_enqueue_style($this->pluginSlug.'intlTelInput', plugins_url('../admin/assets/css/intlTelInput.min.css', __FILE__), [], CHT_VERSION);
313
+ // WP change this
314
+ if ($page == 'chaty_page_chaty-contact-form-feed') {
315
+ wp_enqueue_style('jquery-ui-css', plugins_url('../admin/assets/css/datepicker.min.css', __FILE__), [], CHT_VERSION);
316
+ }
317
+
318
+ wp_enqueue_style($this->pluginSlug, plugins_url('../admin/assets/css/cht-style.min.css', __FILE__), [], CHT_VERSION);
319
+ }
320
+
321
+ if ($page == "chaty_page_chaty-upgrade" || $page == "chaty_page_widget-analytics") {
322
+ $query_args = [
323
+ 'family' => 'Poppins:400,700',
324
+ 'subset' => 'latin,latin-ext',
325
+ ];
326
+ wp_enqueue_style('google-chaty-fonts', add_query_arg($query_args, "//fonts.googleapis.com/css"), [], null);
327
+ }
328
+
329
+ }//end enqueue_styles()
330
+
331
+
332
+ /**
333
+ * Enqueue CSS to wp-admin for Pricing table
334
+ *
335
+ * @since 1.0.0
336
+ * @access public
337
+ * @return $style
338
+ */
339
+ public function enqueue_pricing_styles()
340
+ {
341
+ wp_enqueue_style($this->pluginSlug."-select2", plugins_url('../admin/assets/css/select2.min.css', __FILE__), [], CHT_VERSION);
342
+ wp_enqueue_style($this->pluginSlug."-pricing", plugins_url('../admin/assets/css/admin-setting.css', __FILE__), [], CHT_VERSION);
343
+
344
+ }//end enqueue_pricing_styles()
345
+
346
+
347
+ /**
348
+ * Enqueue JS to wp-admin
349
+ *
350
+ * @since 1.0.0
351
+ * @access public
352
+ * @return $script
353
+ */
354
+ public function enqueue_scripts($page)
355
+ {
356
+ if ($page == 'chaty_page_widget-analytics' || $page == "chaty_page_chaty-contact-form-feed") {
357
+ wp_enqueue_script('jquery-ui-datepicker');
358
+ return;
359
+ }
360
+
361
+ $isShown = get_option("chaty_update_message");
362
+ if ($isShown === false) {
363
+ return;
364
+ }
365
+
366
+ if ($page != "toplevel_page_chaty-app") {
367
+ return;
368
+ }
369
+
370
+ wp_enqueue_script($this->pluginSlug.'fileinput', plugins_url('../admin/assets/js/fileinput.min.js', __FILE__), ['jquery'], CHT_VERSION);
371
+ wp_enqueue_script($this->pluginSlug.'spectrum', plugins_url('../admin/assets/js/spectrum.min.js', __FILE__), ['jquery'], CHT_VERSION);
372
+ wp_enqueue_script($this->pluginSlug.'pop', plugins_url('../admin/assets/js/popper.min.js', __FILE__), ['jquery'], CHT_VERSION);
373
+ wp_enqueue_script($this->pluginSlug.'intlTelInput', plugins_url('../admin/assets/js/intlTelInput.min.js', __FILE__), ['jquery'], CHT_VERSION);
374
+
375
+ // WP change this
376
+ wp_enqueue_editor();
377
+ wp_enqueue_script($this->pluginSlug.'chaty', plugins_url('../admin/assets/js/cht-scripts.min.js', __FILE__), ['jquery', 'wp-color-picker', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-sortable'], CHT_VERSION);
378
+ wp_localize_script(
379
+ $this->pluginSlug.'chaty',
380
+ 'cht_nonce_ajax',
381
+ [
382
+ 'cht_nonce' => wp_create_nonce('cht_nonce_ajax'),
383
+ ]
384
+ );
385
+ $whatsappSettings = [];
386
+ foreach ($this->socials as $social) {
387
+ $whatsappSettings[$social['slug']] = "";
388
+ }
389
+
390
+ wp_localize_script(
391
+ $this->pluginSlug.'chaty',
392
+ 'cht_settings',
393
+ [
394
+ 'plugin_url' => CHT_PLUGIN_URL,
395
+ 'channel_settings' => $whatsappSettings,
396
+ ]
397
+ );
398
+
399
+ }//end enqueue_scripts()
400
+
401
+
402
+ /**
403
+ * Add chaty menu items
404
+ *
405
+ * @since 1.0.0
406
+ * @access public
407
+ * @return $menu
408
+ */
409
+ public function cht_admin_setting_page()
410
+ {
411
+ if (current_user_can('manage_options')) {
412
+ $this->page = add_menu_page(
413
+ esc_attr__('Chaty', "chaty"),
414
+ esc_attr__('Chaty', "chaty"),
415
+ 'manage_options',
416
+ $this->pluginSlug,
417
+ [
418
+ $this,
419
+ 'display_cht_admin_page',
420
+ ],
421
+ plugins_url('chaty/admin/assets/images/chaty.svg')
422
+ );
423
+
424
+ add_submenu_page(
425
+ $this->pluginSlug,
426
+ esc_attr__('Dashboard', "chaty"),
427
+ esc_attr__('Dashboard', "chaty"),
428
+ 'manage_options',
429
+ $this->pluginSlug,
430
+ [
431
+ $this,
432
+ 'display_cht_admin_page',
433
+ ]
434
+ );
435
+
436
+ $widgetPage = add_submenu_page(
437
+ $this->pluginSlug,
438
+ esc_attr__('Settings Admin', "chaty"),
439
+ esc_attr__('+ Create New Widget', "chaty"),
440
+ 'manage_options',
441
+ "chaty-upgrade",
442
+ [
443
+ $this,
444
+ "chaty_widget_page",
445
+ ]
446
+ );
447
+
448
+ // creating admin sub menu for chaty
449
+ $upgradePage = add_submenu_page(
450
+ $this->pluginSlug,
451
+ esc_attr__('Widget Analytics', "chaty"),
452
+ esc_attr__('Widget Analytics', "chaty"),
453
+ 'manage_options',
454
+ 'widget-analytics',
455
+ [
456
+ $this,
457
+ 'display_cht_admin_widget_analytics',
458
+ ]
459
+ );
460
+ add_action('admin_print_styles-'.$upgradePage, [$this, 'enqueue_styles']);
461
+
462
+ // creating admin sub menu for chaty
463
+ $feedPage = add_submenu_page(
464
+ $this->pluginSlug,
465
+ esc_attr__('Contact form leads', "chaty"),
466
+ esc_attr__('Contact form leads', "chaty"),
467
+ 'manage_options',
468
+ "chaty-contact-form-feed",
469
+ [
470
+ $this,
471
+ 'chaty_contact_form_feed',
472
+ ]
473
+ );
474
+ add_action('admin_print_styles-'.$feedPage, [$this, 'enqueue_styles']);
475
+ // creating admin sub menu for chaty
476
+ $getData = filter_input_array(INPUT_GET);
477
+ if (isset($getData['hide_chaty_recommended_plugin']) && isset($getData['nonce'])) {
478
+ if (current_user_can('manage_options')) {
479
+ $nonce = $getData['nonce'];
480
+ if (wp_verify_nonce($nonce, "chaty_recommended_plugin")) {
481
+ update_option('hide_chaty_recommended_plugin', true);
482
+ }
483
+ }
484
+ }
485
+
486
+ $recommendedPlugin = get_option("hide_chaty_recommended_plugin");
487
+ if ($recommendedPlugin === false) {
488
+ add_submenu_page(
489
+ $this->pluginSlug,
490
+ esc_html__('Recommended Plugins', "chaty"),
491
+ esc_html__('Recommended Plugins', "chaty"),
492
+ 'manage_options',
493
+ 'recommended-chaty-plugins',
494
+ [
495
+ $this,
496
+ 'recommended_plugins',
497
+ ]
498
+ );
499
+ }
500
+
501
+ $upgradePage = add_submenu_page(
502
+ $this->pluginSlug,
503
+ esc_attr__('Upgrade to Pro', "chaty"),
504
+ esc_attr__('Upgrade to Pro', "chaty"),
505
+ 'manage_options',
506
+ $this->upgradeSlug,
507
+ [
508
+ $this,
509
+ 'display_cht_admin_upgrade_page',
510
+ ]
511
+ );
512
+ add_action('admin_print_styles-'.$upgradePage, [$this, 'enqueue_pricing_styles']);
513
+ }//end if
514
+
515
+ // Load public-facing style sheet and JavaScript.
516
+ add_action('admin_print_styles-'.$this->page, [$this, 'enqueue_styles']);
517
+
518
+ }//end cht_admin_setting_page()
519
+
520
+
521
+ /**
522
+ * Contact form list
523
+ *
524
+ * @since 1.0.0
525
+ * @access public
526
+ * @return $leads
527
+ */
528
+ public function chaty_contact_form_feed()
529
+ {
530
+ include_once CHT_DIR.'/views/admin/contact-form-feed.php';
531
+
532
+ }//end chaty_contact_form_feed()
533
+
534
+
535
+ /**
536
+ * Display recommended plugins
537
+ *
538
+ * @since 1.0.0
539
+ * @access public
540
+ * @return $plugins
541
+ */
542
+ public function recommended_plugins()
543
+ {
544
+ include_once CHT_DIR.'/views/admin/recommended-plugins.php';
545
+
546
+ }//end recommended_plugins()
547
+
548
+
549
+ /**
550
+ * Display widget analytics
551
+ *
552
+ * @since 1.0.0
553
+ * @access public
554
+ * @return $analytics
555
+ */
556
+ public function display_cht_admin_widget_analytics()
557
+ {
558
+ include_once CHT_DIR.'/views/admin/pro_analytics.php';
559
+
560
+ }//end display_analyticscht_admin_widget_analytics()
561
+
562
+
563
+ /**
564
+ * Returns upgrade URL
565
+ *
566
+ * @since 1.0.0
567
+ * @access public
568
+ * @return $url
569
+ */
570
+ public function getUpgradeMenuItemUrl()
571
+ {
572
+ return CHT_PRO_URL;
573
+
574
+ }//end getUpgradeMenuItemUrl()
575
+
576
+
577
+ /**
578
+ * Chaty Upgrade page
579
+ *
580
+ * @since 1.0.0
581
+ * @access public
582
+ * @return $url
583
+ */
584
+ public function chaty_widget_page()
585
+ {
586
+ include_once CHT_DIR.'/views/admin/chaty_widget.php';
587
+
588
+ }//end chaty_widget_page()
589
+
590
+
591
+ /**
592
+ * Chaty Dashboard page
593
+ *
594
+ * @since 1.0.0
595
+ * @access public
596
+ * @return $dashboard_data
597
+ */
598
+ public function display_cht_admin_page()
599
+ {
600
+ $isShown = get_option("chaty_update_message");
601
+ if ($isShown === false) {
602
+ include_once CHT_DIR.'/views/admin/update.php';
603
+ } else {
604
+ $status = get_option("cht_active");
605
+ delete_option("cht_is_default_deleted");
606
+ $widget = filter_input(INPUT_GET, 'widget');
607
+ if ($status === false || $widget !== null) {
608
+ $channelClass = "";
609
+ $fonts = self::get_font_list();
610
+ include_once CHT_DIR.'/views/admin/admin.php';
611
+ } else {
612
+ include_once CHT_DIR.'/views/admin/dashboard.php';
613
+ }
614
+
615
+ $popupStatus = get_option("chaty_intro_popup");
616
+ if ($popupStatus == "show") {
617
+ include_once CHT_DIR.'/views/admin/chaty-popup.php';
618
+ }
619
+ }
620
+
621
+ $showMessage = filter_input(INPUT_GET, 'show_message');
622
+ if ($showMessage == 1) { ?>
623
+ <div class="toast-message">
624
+ <div class="toast-close-btn"><a href="javascript:;"></a></div>
625
+ <div class="toast-message-title">Settings Updated</div>
626
+ <div class="toast-message-body">Your settings has been saved</div>
627
+ </div>
628
+ <?php }
629
+
630
+ }//end display_cht_admin_page()
631
+
632
+
633
+ /**
634
+ * Chaty Upgrade page
635
+ *
636
+ * @since 1.0.0
637
+ * @access public
638
+ * @return $upgrade_data
639
+ */
640
+ public function display_cht_admin_upgrade_page()
641
+ {
642
+ wp_enqueue_script($this->pluginSlug.'select2-js', plugins_url('../admin/assets/js/select2.min.js', __FILE__), ['jquery'], CHT_VERSION);
643
+ include_once CHT_DIR.'/views/admin/upgrade.php';
644
+
645
+ }//end display_cht_admin_upgrade_page()
646
+
647
+
648
+ /**
649
+ * Returnd EDD token
650
+ *
651
+ * @since 1.0.0
652
+ * @access public
653
+ * @return $token
654
+ */
655
+ protected function get_token()
656
+ {
657
+ return get_option('cht_license_key');
658
+
659
+ }//end get_token()
660
+
661
+
662
+ /**
663
+ * Returns Website URL
664
+ *
665
+ * @since 1.0.0
666
+ * @access public
667
+ * @return $token
668
+ */
669
+ public function get_site()
670
+ {
671
+ $permalink = get_home_url();
672
+ return $permalink;
673
+
674
+ }//end get_site()
675
+
676
+
677
+ /**
678
+ * Returns is Pro installed
679
+ *
680
+ * @since 1.0.0
681
+ * @access public
682
+ * @return $is_pro
683
+ */
684
+ public function is_pro($token='')
685
+ {
686
+ return false;
687
+
688
+ }//end is_pro()
689
+
690
+
691
+ /**
692
+ * Returns expired date
693
+ *
694
+ * @since 1.0.0
695
+ * @access public
696
+ * @return $expired_date
697
+ */
698
+ public function data_has_expired()
699
+ {
700
+ return strtotime(date('Y-m-d')) > strtotime(date('Y-m-d', strtotime($this->active_license())));
701
+
702
+ }//end data_has_expired()
703
+
704
+
705
+ /**
706
+ * Checking active license
707
+ *
708
+ * @since 1.0.0
709
+ * @access public
710
+ * @return $expired_date
711
+ */
712
+ public function active_license()
713
+ {
714
+ if (!$this->is_pro()) {
715
+ return;
716
+ }
717
+
718
+ $body = null;
719
+ if (empty(self::$response->errors)) {
720
+ $body = json_decode(self::$response['body']);
721
+ }
722
+
723
+ if (isset($body->expired_date)) {
724
+ return $body->expired_date->date;
725
+ }
726
+
727
+ }//end active_license()
728
+
729
+
730
+ /**
731
+ * Check if is Pro version
732
+ *
733
+ * @since 1.0.0
734
+ * @access public
735
+ * @return $is_pro
736
+ */
737
+ public function data_check()
738
+ {
739
+ if ($this->is_pro()) {
740
+ return false;
741
+ };
742
+ }
743
+
744
+ /**
745
+ * Get current color for widget
746
+ *
747
+ * @since 1.0.0
748
+ * @access public
749
+ * @return $color
750
+ */
751
+ public function get_current_color()
752
+ {
753
+ $def_color = get_option('cht_color');
754
+ $custom_color = get_option('cht_custom_color');
755
+ if (!$def_color) {
756
+ $color = $custom_color;
757
+ } else {
758
+ $color = $def_color;
759
+ }
760
+
761
+ $color = strtoupper($color);
762
+ return $color;
763
+ }
764
+
765
+
766
+ /**
767
+ * Checking for widget position
768
+ *
769
+ * @since 1.0.0
770
+ * @access public
771
+ * @return $position
772
+ */
773
+ public function get_position_style()
774
+ {
775
+ $position = get_option('cht_position');
776
+
777
+ if ($position === 'custom') {
778
+ $pos_side = get_option('positionSide');
779
+ $bot = (get_option('cht_bottom_spacing')) ? get_option('cht_bottom_spacing') : '25';
780
+ $side = (get_option('cht_side_spacing')) ? get_option('cht_side_spacing') : '25';
781
+ if ($pos_side === 'right') {
782
+ $pos_style = 'left: auto; bottom: ' . $bot . 'px; right: ' . $side . 'px';
783
+ } else {
784
+ $pos_style = 'left: ' . $side . 'px; bottom: ' . $bot . 'px; right: auto';
785
+ }
786
+ } elseif ($position === 'right') {
787
+ $pos_style = 'left: auto; bottom: 25px; right: 25px';
788
+ } else {
789
+ $pos_style = 'left: 25px; bottom: 25px; right: auto';
790
+ }
791
+
792
+ return $pos_style;
793
+ }
794
+
795
+ /**
796
+ * Register input data for settings
797
+ *
798
+ * @since 1.0.0
799
+ * @access public
800
+ * @return $data
801
+ */
802
+ public function cht_register_inputs()
803
+ {
804
+ $page = filter_input(INPUT_GET, 'page');
805
+ if (!empty($page) && $page == "chaty-upgrade") {
806
+ $chtActive = get_option('cht_active');
807
+ if ($chtActive === false) {
808
+ wp_redirect(admin_url("admin.php?page=chaty-app"));
809
+ exit;
810
+ }
811
+ }
812
+
813
+ if (current_user_can("manage_options")) {
814
+ global $wpdb;
815
+ $tableName = $wpdb->prefix.'chaty_contact_form_leads';
816
+ $postData = filter_input_array(INPUT_POST);
817
+ if (isset($postData['remove_chaty_leads'])) {
818
+ if (wp_verify_nonce($postData['remove_chaty_leads'], "remove_chaty_leads")) {
819
+ if (isset($postData['chaty_leads']) && !empty($postData['chaty_leads'])) {
820
+ if (isset($postData['action']) && $postData['action'] == "delete_message") {
821
+ if (is_array($postData['chaty_leads'])) {
822
+ $chatyLeads = $postData['chaty_leads'];
823
+ $chatyLeads = implode(",", $chatyLeads);
824
+ } else {
825
+ $chatyLeads = $postData['chaty_leads'];
826
+ }
827
+
828
+ if ($chatyLeads) {
829
+ $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".$chatyLeads.")");
830
+ $paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged'] > 0 ? $postData['paged'] : 1;
831
+ $search = isset($postData['search'])&&!empty($postData['search']) ? $postData['search'] : "";
832
+ $url = admin_url("admin.php?page=chaty-contact-form-feed");
833
+ if (intval($paged) > 1) {
834
+ $url .= "&paged=".$paged;
835
+ }
836
+
837
+ if (!empty($search)) {
838
+ $url .= "&search=".$search;
839
+ }
840
+
841
+ wp_redirect($url);
842
+ exit;
843
+ }
844
+ }//end if
845
+ }//end if
846
+ }//end if
847
+ }//end if
848
+
849
+ $postData = filter_input_array(INPUT_GET);
850
+ if (isset($postData['remove_chaty_leads'])) {
851
+ if (wp_verify_nonce($postData['remove_chaty_leads'], "remove_chaty_leads")) {
852
+ if (isset($postData['chaty_leads']) && !empty($postData['chaty_leads'])) {
853
+ if (isset($postData['action']) && $postData['action'] == "delete_message") {
854
+ if (is_array($postData['chaty_leads'])) {
855
+ $chatyLeads = $postData['chaty_leads'];
856
+ $chatyLeads = implode(",", $chatyLeads);
857
+ } else {
858
+ $chatyLeads = $postData['chaty_leads'];
859
+ }
860
+
861
+ if (!empty($chatyLeads)) {
862
+ if ($chatyLeads == "remove-all") {
863
+ $delete = $wpdb->query("TRUNCATE TABLE {$tableName}");
864
+ } else {
865
+ $delete = $wpdb->query("DELETE FROM {$tableName} WHERE id IN(".$chatyLeads.")");
866
+ }
867
+
868
+ $paged = isset($postData['paged'])&&!empty($postData['paged'])&&is_numeric($postData['paged'])&&$postData['paged'] > 0 ? $postData['paged'] : 1;
869
+ $search = isset($postData['search'])&&!empty($postData['search']) ? $postData['search'] : "";
870
+ $url = admin_url("admin.php?page=chaty-contact-form-feed");
871
+ if (intval($paged) > 1) {
872
+ $url .= "&paged=".$paged;
873
+ }
874
+
875
+ if (!empty($search)) {
876
+ $url .= "&search=".$search;
877
+ }
878
+
879
+ wp_redirect($url);
880
+ exit;
881
+ }//end if
882
+ }//end if
883
+ }//end if
884
+ }//end if
885
+ }//end if
886
+
887
+ $postData = filter_input_array(INPUT_GET);
888
+ if (isset($postData['download_chaty_file']) && $postData['download_chaty_file'] == "chaty_contact_leads" && isset($postData['nonce'])) {
889
+ if (wp_verify_nonce($postData['nonce'], "download_chaty_contact_leads")) {
890
+ $file = "chaty_contact_leads.csv";
891
+ $fp = fopen($file, "w")or die("Error Couldn't open {$file} for writing!");
892
+
893
+ global $wpdb;
894
+ $contactListsTable = $wpdb->prefix.'chaty_contact_form_leads';
895
+ $results = $wpdb->get_results("SELECT * FROM ".$contactListsTable." ORDER BY ID DESC");
896
+ $allData = '';
897
+ foreach ($results as $res) {
898
+ if ($res->widget_id == 0) {
899
+ $widgetName = "Default";
900
+ } else {
901
+ $widgetName = get_option("cht_widget_title_".$res->widget_id);
902
+ if (empty($widgetName)) {
903
+ $widgetName = "Widget #".($res->widget_id + 1);
904
+ }
905
+ }
906
+
907
+ $fields = [
908
+ $res->id,
909
+ $widgetName,
910
+ $res->name,
911
+ $res->email,
912
+ nl2br($res->message),
913
+ $res->created_on,
914
+ $res->ref_page,
915
+ ];
916
+
917
+ fputcsv($fp, $fields);
918
+ }//end foreach
919
+
920
+ fclose($fp);
921
+
922
+ $fileContent = file_get_contents($file);
923
+ header("Content-Disposition: attachment; filename=".basename($file));
924
+ header("Content-Length: ".filesize($file));
925
+ header("Content-Type: application/octet-stream;");
926
+ readfile($file);
927
+ exit;
928
+ }//end if
929
+ }//end if
930
+
931
+ /*
932
+ * Adding settings fields
933
+ */
934
+ foreach ($this->socials as $social) {
935
+ add_settings_field(
936
+ 'cht_social_'.$social['slug'],
937
+ ucfirst($social['slug']),
938
+ '',
939
+ $this->pluginSlug
940
+ );
941
+ }
942
+
943
+ // Section Two
944
+ add_settings_field('cht_devices', 'Devices', '', $this->pluginSlug);
945
+ add_settings_field('cht_color', 'Color', '', $this->pluginSlug);
946
+ add_settings_field('cht_custom_color', 'Color', '', $this->pluginSlug);
947
+ add_settings_field('cht_position', 'Position', '', $this->pluginSlug);
948
+ add_settings_field('cht_widget_font', 'Position', '', $this->pluginSlug);
949
+ add_settings_field('positionSide', 'PositionSide', '', $this->pluginSlug);
950
+ add_settings_field('cht_bottom_spacing', 'Bottom spacing', '', $this->pluginSlug);
951
+ add_settings_field('cht_side_spacing', 'Side spacing', '', $this->pluginSlug);
952
+ add_settings_field('cht_cta', 'CTA', '', $this->pluginSlug);
953
+ add_settings_field('cht_cta_switcher', 'CTA switcher', '', $this->pluginSlug);
954
+ add_settings_field('chaty_attention_effect', 'CTA effect', '', $this->pluginSlug);
955
+ add_settings_field('chaty_default_state', 'CTA state', '', $this->pluginSlug);
956
+ add_settings_field('chaty_trigger_on_time', 'CTA trigger on time', '', $this->pluginSlug);
957
+ add_settings_field('chaty_trigger_time', 'CTA time to trigger', '', $this->pluginSlug);
958
+ add_settings_field('chaty_trigger_on_exit', 'CTA exit intent', '', $this->pluginSlug);
959
+ add_settings_field('chaty_trigger_on_scroll', 'CTA trigger on scroll', '', $this->pluginSlug);
960
+ add_settings_field('chaty_trigger_on_page_scroll', 'CTA page scroll', '', $this->pluginSlug);
961
+ add_settings_field('cht_close_button', 'CTA close button', '', $this->pluginSlug);
962
+ add_settings_field('cht_close_button_text', 'CTA close button text', '', $this->pluginSlug);
963
+ add_settings_field('chaty_icons_view', 'Icon view', '', $this->pluginSlug);
964
+ add_settings_field('cht_created_on', 'Created time', '', $this->pluginSlug);
965
+ add_settings_field('cht_widget_title', 'Chaty title', '', $this->pluginSlug);
966
+
967
+ // section three
968
+ add_settings_field('cht_active', 'Active', '', $this->pluginSlug);
969
+ add_settings_field('cht_cta_action', 'CTA Action', '', $this->pluginSlug);
970
+ add_settings_field('cht_cta_text_color', 'CTA Text Color', '', $this->pluginSlug);
971
+ add_settings_field('cht_cta_bg_color', 'CTA BG Color', '', $this->pluginSlug);
972
+ add_settings_field('cht_pending_messages', 'CTA Pending message', '', $this->pluginSlug);
973
+ add_settings_field('cht_number_of_messages', 'CTA Number of Messages', '', $this->pluginSlug);
974
+ add_settings_field('cht_number_color', 'CTA Color', '', $this->pluginSlug);
975
+ add_settings_field('cht_number_bg_color', 'CTA BG Color', '', $this->pluginSlug);
976
+
977
+ // token
978
+ add_settings_field('cht_license_key', 'Token', '', $this->pluginSlug);
979
+
980
+ // slug
981
+ add_settings_field('cht_numb_slug', 'Numb', '', $this->pluginSlug);
982
+
983
+ add_settings_field('chaty_updated_on', 'Updated time', '', $this->pluginSlug);
984
+
985
+ /*
986
+ * Registering settings fields
987
+ */
988
+
989
+ $nonce = filter_input(INPUT_POST, 'nonce');
990
+
991
+ // check for nonce
992
+ if (!empty($nonce) && wp_verify_nonce($nonce, "chaty_plugin_nonce")) {
993
+ // register field section one
994
+ foreach ($this->socials as $social) {
995
+ register_setting($this->pluginSlug, 'cht_social_'.$social['slug']);
996
+ }
997
+
998
+ // Register field section two.
999
+ register_setting($this->pluginSlug, 'cht_devices', 'chaty_sanitize_options');
1000
+ register_setting($this->pluginSlug, 'cht_color', 'chaty_sanitize_options');
1001
+ register_setting($this->pluginSlug, 'cht_custom_color', 'chaty_sanitize_options');
1002
+ register_setting($this->pluginSlug, 'cht_position', 'chaty_sanitize_options');
1003
+ register_setting($this->pluginSlug, 'cht_widget_font', 'chaty_sanitize_options');
1004
+ register_setting($this->pluginSlug, 'positionSide', 'chaty_sanitize_options');
1005
+ register_setting($this->pluginSlug, 'cht_bottom_spacing', 'chaty_sanitize_options');
1006
+ register_setting($this->pluginSlug, 'cht_side_spacing', 'chaty_sanitize_options');
1007
+ register_setting($this->pluginSlug, 'cht_cta', 'chaty_sanitize_options');
1008
+ register_setting($this->pluginSlug, 'cht_cta_switcher', 'chaty_sanitize_options');
1009
+ register_setting($this->pluginSlug, 'cht_widget_size', 'chaty_sanitize_options');
1010
+ register_setting($this->pluginSlug, 'cht_widget_img', 'chaty_sanitize_options');
1011
+ register_setting($this->pluginSlug, 'widget_icon', 'chaty_sanitize_options');
1012
+ register_setting($this->pluginSlug, 'chaty_attention_effect', 'chaty_sanitize_options');
1013
+ register_setting($this->pluginSlug, 'chaty_default_state', 'chaty_sanitize_options');
1014
+ register_setting($this->pluginSlug, 'chaty_trigger_on_time', 'chaty_sanitize_options');
1015
+ register_setting($this->pluginSlug, 'chaty_trigger_time', 'chaty_sanitize_options');
1016
+ register_setting($this->pluginSlug, 'chaty_trigger_on_exit', 'chaty_sanitize_options');
1017
+ register_setting($this->pluginSlug, 'chaty_trigger_on_scroll', 'chaty_sanitize_options');
1018
+ register_setting($this->pluginSlug, 'chaty_trigger_on_page_scroll', 'chaty_sanitize_options');
1019
+ register_setting($this->pluginSlug, 'cht_close_button', 'chaty_sanitize_options');
1020
+ register_setting($this->pluginSlug, 'cht_close_button_text', 'chaty_sanitize_options');
1021
+ register_setting($this->pluginSlug, 'chaty_icons_view', 'chaty_sanitize_options');
1022
+ register_setting($this->pluginSlug, 'cht_created_on', 'chaty_sanitize_options');
1023
+ register_setting($this->pluginSlug, 'cht_widget_title', 'chaty_sanitize_options');
1024
+
1025
+ // add_action('pre_update_option_cht_widget_img', array($this, 'uploadCustomWidget'), 10, 3);
1026
+ // register field section three
1027
+ register_setting($this->pluginSlug, 'cht_active', 'chaty_sanitize_options');
1028
+ register_setting($this->pluginSlug, 'cht_cta_action', 'chaty_sanitize_options');
1029
+ register_setting($this->pluginSlug, 'cht_cta_text_color', 'chaty_sanitize_options');
1030
+ register_setting($this->pluginSlug, 'cht_cta_bg_color', 'chaty_sanitize_options');
1031
+ register_setting($this->pluginSlug, 'cht_pending_messages', 'chaty_sanitize_options');
1032
+ register_setting($this->pluginSlug, 'cht_number_of_messages', 'chaty_sanitize_options');
1033
+ register_setting($this->pluginSlug, 'cht_number_color', 'chaty_sanitize_options');
1034
+ register_setting($this->pluginSlug, 'cht_number_bg_color', 'chaty_sanitize_options');
1035
+
1036
+ // register field section token
1037
+ register_setting($this->pluginSlug, 'cht_license_key', 'chaty_sanitize_options');
1038
+
1039
+ // register field section slug
1040
+ register_setting($this->pluginSlug, 'cht_numb_slug', 'chaty_sanitize_options');
1041
+
1042
+ register_setting($this->pluginSlug, 'chaty_updated_on', 'chaty_sanitize_options');
1043
+
1044
+ cht_clear_all_caches();
1045
+ }//end if
1046
+ }//end if
1047
+
1048
+ }//end cht_register_inputs()
1049
+
1050
+
1051
+ /**
1052
+ * Checking for devices desktop/mobile
1053
+ *
1054
+ * @since 1.0.0
1055
+ * @access public
1056
+ * @return $devices
1057
+ */
1058
+ public function device()
1059
+ {
1060
+ return 'desktop_active mobile_active';
1061
+
1062
+ }//end device()
1063
+
1064
+
1065
+ /**
1066
+ * Return custom widget URL if uploaded
1067
+ *
1068
+ * @since 1.0.0
1069
+ * @access public
1070
+ * @return $url
1071
+ */
1072
+ public function getCustomWidgetImg()
1073
+ {
1074
+ $value = get_option('cht_widget_img');
1075
+ return isset($value['url']) ? $value['url'] : '';
1076
+
1077
+ }//end getCustomWidgetImg()
1078
+
1079
+
1080
+ /**
1081
+ * Uploads custom widget image
1082
+ *
1083
+ * @since 1.0.0
1084
+ * @access public
1085
+ * @return $url
1086
+ */
1087
+ public function uploadCustomWidget($value, $oldValue, $option)
1088
+ {
1089
+ $option = !empty($option) ? $option : 'cht_widget_img';
1090
+ $allowedExt = [
1091
+ 'jpeg',
1092
+ 'png',
1093
+ 'jpg',
1094
+ 'svg',
1095
+ ];
1096
+ if (!function_exists('wp_handle_upload')) {
1097
+ include_once ABSPATH.'wp-admin/includes/file.php';
1098
+ }
1099
+
1100
+ if (isset($_FILES[$option])) {
1101
+ $file = &$_FILES[$option];
1102
+ $type = wp_check_filetype($file['name']);
1103
+
1104
+ if (! in_array($type['ext'], $allowedExt)) {
1105
+ return $oldValue;
1106
+ }
1107
+
1108
+ if (isset($oldValue['file'])) {
1109
+ wp_delete_file($oldValue['file']);
1110
+ }
1111
+
1112
+ $overrides = [ 'test_form' => false ];
1113
+ $movefile = wp_handle_upload($file, $overrides);
1114
+ if ($movefile && empty($movefile['error'])) {
1115
+ return [
1116
+ 'file' => $movefile['file'],
1117
+ 'url' => $movefile['url'],
1118
+ ];
1119
+ }
1120
+ }//end if
1121
+
1122
+ return [];
1123
+
1124
+ }//end uploadCustomWidget()
1125
+
1126
+
1127
+ /**
1128
+ * Returns CTA text
1129
+ *
1130
+ * @since 1.0.0
1131
+ * @access public
1132
+ * @return $cta_text
1133
+ */
1134
+ public function getCallToAction()
1135
+ {
1136
+ if (get_option('cht_cta')) {
1137
+ $res = nl2br(get_option('cht_cta'));
1138
+ $res = str_replace(["\n", "\r"], "", $res);
1139
+ return $res;
1140
+ }
1141
+
1142
+ return '';
1143
+
1144
+ }//end getCallToAction()
1145
+
1146
+
1147
+ /**
1148
+ * Returns Font lists
1149
+ *
1150
+ * @since 1.0.0
1151
+ * @access public
1152
+ * @return $fonts
1153
+ */
1154
+ public static function get_font_list()
1155
+ {
1156
+ return [
1157
+ // System fonts.
1158
+ "System Stack" => 'Default',
1159
+ 'Arial' => 'Default',
1160
+ 'Tahoma' => 'Default',
1161
+ 'Verdana' => 'Default',
1162
+ 'Helvetica' => 'Default',
1163
+ 'Times New Roman' => 'Default',
1164
+ 'Trebuchet MS' => 'Default',
1165
+ 'Georgia' => 'Default',
1166
+
1167
+ // Google Fonts (last update: 23/10/2018).
1168
+ 'ABeeZee' => 'Google Fonts',
1169
+ 'Abel' => 'Google Fonts',
1170
+ 'Abhaya Libre' => 'Google Fonts',
1171
+ 'Abril Fatface' => 'Google Fonts',
1172
+ 'Aclonica' => 'Google Fonts',
1173
+ 'Acme' => 'Google Fonts',
1174
+ 'Actor' => 'Google Fonts',
1175
+ 'Adamina' => 'Google Fonts',
1176
+ 'Advent Pro' => 'Google Fonts',
1177
+ 'Aguafina Script' => 'Google Fonts',
1178
+ 'Akronim' => 'Google Fonts',
1179
+ 'Aladin' => 'Google Fonts',
1180
+ 'Aldrich' => 'Google Fonts',
1181
+ 'Alef' => 'Google Fonts',
1182
+ 'Alef Hebrew' => 'Google Fonts',
1183
+ // Hack for Google Early Access.
1184
+ 'Alegreya' => 'Google Fonts',
1185
+ 'Alegreya SC' => 'Google Fonts',
1186
+ 'Alegreya Sans' => 'Google Fonts',
1187
+ 'Alegreya Sans SC' => 'Google Fonts',
1188
+ 'Alex Brush' => 'Google Fonts',
1189
+ 'Alfa Slab One' => 'Google Fonts',
1190
+ 'Alice' => 'Google Fonts',
1191
+ 'Alike' => 'Google Fonts',
1192
+ 'Alike Angular' => 'Google Fonts',
1193
+ 'Allan' => 'Google Fonts',
1194
+ 'Allerta' => 'Google Fonts',
1195
+ 'Allerta Stencil' => 'Google Fonts',
1196
+ 'Allura' => 'Google Fonts',
1197
+ 'Almendra' => 'Google Fonts',
1198
+ 'Almendra Display' => 'Google Fonts',
1199
+ 'Almendra SC' => 'Google Fonts',
1200
+ 'Amarante' => 'Google Fonts',
1201
+ 'Amaranth' => 'Google Fonts',
1202
+ 'Amatic SC' => 'Google Fonts',
1203
+ 'Amethysta' => 'Google Fonts',
1204
+ 'Amiko' => 'Google Fonts',
1205
+ 'Amiri' => 'Google Fonts',
1206
+ 'Amita' => 'Google Fonts',
1207
+ 'Anaheim' => 'Google Fonts',
1208
+ 'Andada' => 'Google Fonts',
1209
+ 'Andika' => 'Google Fonts',
1210
+ 'Angkor' => 'Google Fonts',
1211
+ 'Annie Use Your Telescope' => 'Google Fonts',
1212
+ 'Anonymous Pro' => 'Google Fonts',
1213
+ 'Antic' => 'Google Fonts',
1214
+ 'Antic Didone' => 'Google Fonts',
1215
+ 'Antic Slab' => 'Google Fonts',
1216
+ 'Anton' => 'Google Fonts',
1217
+ 'Arapey' => 'Google Fonts',
1218
+ 'Arbutus' => 'Google Fonts',
1219
+ 'Arbutus Slab' => 'Google Fonts',
1220
+ 'Architects Daughter' => 'Google Fonts',
1221
+ 'Archivo' => 'Google Fonts',
1222
+ 'Archivo Black' => 'Google Fonts',
1223
+ 'Archivo Narrow' => 'Google Fonts',
1224
+ 'Aref Ruqaa' => 'Google Fonts',
1225
+ 'Arima Madurai' => 'Google Fonts',
1226
+ 'Arimo' => 'Google Fonts',
1227
+ 'Arizonia' => 'Google Fonts',
1228
+ 'Armata' => 'Google Fonts',
1229
+ 'Arsenal' => 'Google Fonts',
1230
+ 'Artifika' => 'Google Fonts',
1231
+ 'Arvo' => 'Google Fonts',
1232
+ 'Arya' => 'Google Fonts',
1233
+ 'Asap' => 'Google Fonts',
1234
+ 'Asap Condensed' => 'Google Fonts',
1235
+ 'Asar' => 'Google Fonts',
1236
+ 'Asset' => 'Google Fonts',
1237
+ 'Assistant' => 'Google Fonts',
1238
+ 'Astloch' => 'Google Fonts',
1239
+ 'Asul' => 'Google Fonts',
1240
+ 'Athiti' => 'Google Fonts',
1241
+ 'Atma' => 'Google Fonts',
1242
+ 'Atomic Age' => 'Google Fonts',
1243
+ 'Aubrey' => 'Google Fonts',
1244
+ 'Audiowide' => 'Google Fonts',
1245
+ 'Autour One' => 'Google Fonts',
1246
+ 'Average' => 'Google Fonts',
1247
+ 'Average Sans' => 'Google Fonts',
1248
+ 'Averia Gruesa Libre' => 'Google Fonts',
1249
+ 'Averia Libre' => 'Google Fonts',
1250
+ 'Averia Sans Libre' => 'Google Fonts',
1251
+ 'Averia Serif Libre' => 'Google Fonts',
1252
+ 'Bad Script' => 'Google Fonts',
1253
+ 'Bahiana' => 'Google Fonts',
1254
+ 'Bai Jamjuree' => 'Google Fonts',
1255
+ 'Baloo' => 'Google Fonts',
1256
+ 'Baloo Bhai' => 'Google Fonts',
1257
+ 'Baloo Bhaijaan' => 'Google Fonts',
1258
+ 'Baloo Bhaina' => 'Google Fonts',
1259
+ 'Baloo Chettan' => 'Google Fonts',
1260
+ 'Baloo Da' => 'Google Fonts',
1261
+ 'Baloo Paaji' => 'Google Fonts',
1262
+ 'Baloo Tamma' => 'Google Fonts',
1263
+ 'Baloo Tammudu' => 'Google Fonts',
1264
+ 'Baloo Thambi' => 'Google Fonts',
1265
+ 'Balthazar' => 'Google Fonts',
1266
+ 'Bangers' => 'Google Fonts',
1267
+ 'Barlow' => 'Google Fonts',
1268
+ 'Barlow Condensed' => 'Google Fonts',
1269
+ 'Barlow Semi Condensed' => 'Google Fonts',
1270
+ 'Barrio' => 'Google Fonts',
1271
+ 'Basic' => 'Google Fonts',
1272
+ 'Battambang' => 'Google Fonts',
1273
+ 'Baumans' => 'Google Fonts',
1274
+ 'Bayon' => 'Google Fonts',
1275
+ 'Belgrano' => 'Google Fonts',
1276
+ 'Bellefair' => 'Google Fonts',
1277
+ 'Belleza' => 'Google Fonts',
1278
+ 'BenchNine' => 'Google Fonts',
1279
+ 'Bentham' => 'Google Fonts',
1280
+ 'Berkshire Swash' => 'Google Fonts',
1281
+ 'Bevan' => 'Google Fonts',
1282
+ 'Bigelow Rules' => 'Google Fonts',
1283
+ 'Bigshot One' => 'Google Fonts',
1284
+ 'Bilbo' => 'Google Fonts',
1285
+ 'Bilbo Swash Caps' => 'Google Fonts',
1286
+ 'BioRhyme' => 'Google Fonts',
1287
+ 'BioRhyme Expanded' => 'Google Fonts',
1288
+ 'Biryani' => 'Google Fonts',
1289
+ 'Bitter' => 'Google Fonts',
1290
+ 'Black And White Picture' => 'Google Fonts',
1291
+ 'Black Han Sans' => 'Google Fonts',
1292
+ 'Black Ops One' => 'Google Fonts',
1293
+ 'Bokor' => 'Google Fonts',
1294
+ 'Bonbon' => 'Google Fonts',
1295
+ 'Boogaloo' => 'Google Fonts',
1296
+ 'Bowlby One' => 'Google Fonts',
1297
+ 'Bowlby One SC' => 'Google Fonts',
1298
+ 'Brawler' => 'Google Fonts',
1299
+ 'Bree Serif' => 'Google Fonts',
1300
+ 'Bubblegum Sans' => 'Google Fonts',
1301
+ 'Bubbler One' => 'Google Fonts',
1302
+ 'Buda' => 'Google Fonts',
1303
+ 'Buenard' => 'Google Fonts',
1304
+ 'Bungee' => 'Google Fonts',
1305
+ 'Bungee Hairline' => 'Google Fonts',
1306
+ 'Bungee Inline' => 'Google Fonts',
1307
+ 'Bungee Outline' => 'Google Fonts',
1308
+ 'Bungee Shade' => 'Google Fonts',
1309
+ 'Butcherman' => 'Google Fonts',
1310
+ 'Butterfly Kids' => 'Google Fonts',
1311
+ 'Cabin' => 'Google Fonts',
1312
+ 'Cabin Condensed' => 'Google Fonts',
1313
+ 'Cabin Sketch' => 'Google Fonts',
1314
+ 'Caesar Dressing' => 'Google Fonts',
1315
+ 'Cagliostro' => 'Google Fonts',
1316
+ 'Cairo' => 'Google Fonts',
1317
+ 'Calligraffitti' => 'Google Fonts',
1318
+ 'Cambay' => 'Google Fonts',
1319
+ 'Cambo' => 'Google Fonts',
1320
+ 'Candal' => 'Google Fonts',
1321
+ 'Cantarell' => 'Google Fonts',
1322
+ 'Cantata One' => 'Google Fonts',
1323
+ 'Cantora One' => 'Google Fonts',
1324
+ 'Capriola' => 'Google Fonts',
1325
+ 'Cardo' => 'Google Fonts',
1326
+ 'Carme' => 'Google Fonts',
1327
+ 'Carrois Gothic' => 'Google Fonts',
1328
+ 'Carrois Gothic SC' => 'Google Fonts',
1329
+ 'Carter One' => 'Google Fonts',
1330
+ 'Catamaran' => 'Google Fonts',
1331
+ 'Caudex' => 'Google Fonts',
1332
+ 'Caveat' => 'Google Fonts',
1333
+ 'Caveat Brush' => 'Google Fonts',
1334
+ 'Cedarville Cursive' => 'Google Fonts',
1335
+ 'Ceviche One' => 'Google Fonts',
1336
+ 'Chakra Petch' => 'Google Fonts',
1337
+ 'Changa' => 'Google Fonts',
1338
+ 'Changa One' => 'Google Fonts',
1339
+ 'Chango' => 'Google Fonts',
1340
+ 'Charmonman' => 'Google Fonts',
1341
+ 'Chathura' => 'Google Fonts',
1342
+ 'Chau Philomene One' => 'Google Fonts',
1343
+ 'Chela One' => 'Google Fonts',
1344
+ 'Chelsea Market' => 'Google Fonts',
1345
+ 'Chenla' => 'Google Fonts',
1346
+ 'Cherry Cream Soda' => 'Google Fonts',
1347
+ 'Cherry Swash' => 'Google Fonts',
1348
+ 'Chewy' => 'Google Fonts',
1349
+ 'Chicle' => 'Google Fonts',
1350
+ 'Chivo' => 'Google Fonts',
1351
+ 'Chonburi' => 'Google Fonts',
1352
+ 'Cinzel' => 'Google Fonts',
1353
+ 'Cinzel Decorative' => 'Google Fonts',
1354
+ 'Clicker Script' => 'Google Fonts',
1355
+ 'Coda' => 'Google Fonts',
1356
+ 'Coda Caption' => 'Google Fonts',
1357
+ 'Codystar' => 'Google Fonts',
1358
+ 'Coiny' => 'Google Fonts',
1359
+ 'Combo' => 'Google Fonts',
1360
+ 'Comfortaa' => 'Google Fonts',
1361
+ 'Coming Soon' => 'Google Fonts',
1362
+ 'Concert One' => 'Google Fonts',
1363
+ 'Condiment' => 'Google Fonts',
1364
+ 'Content' => 'Google Fonts',
1365
+ 'Contrail One' => 'Google Fonts',
1366
+ 'Convergence' => 'Google Fonts',
1367
+ 'Cookie' => 'Google Fonts',
1368
+ 'Copse' => 'Google Fonts',
1369
+ 'Corben' => 'Google Fonts',
1370
+ 'Cormorant' => 'Google Fonts',
1371
+ 'Cormorant Garamond' => 'Google Fonts',
1372
+ 'Cormorant Infant' => 'Google Fonts',
1373
+ 'Cormorant SC' => 'Google Fonts',
1374
+ 'Cormorant Unicase' => 'Google Fonts',
1375
+ 'Cormorant Upright' => 'Google Fonts',
1376
+ 'Courgette' => 'Google Fonts',
1377
+ 'Cousine' => 'Google Fonts',
1378
+ 'Coustard' => 'Google Fonts',
1379
+ 'Covered By Your Grace' => 'Google Fonts',
1380
+ 'Crafty Girls' => 'Google Fonts',
1381
+ 'Creepster' => 'Google Fonts',
1382
+ 'Crete Round' => 'Google Fonts',
1383
+ 'Crimson Text' => 'Google Fonts',
1384
+ 'Croissant One' => 'Google Fonts',
1385
+ 'Crushed' => 'Google Fonts',
1386
+ 'Cuprum' => 'Google Fonts',
1387
+ 'Cute Font' => 'Google Fonts',
1388
+ 'Cutive' => 'Google Fonts',
1389
+ 'Cutive Mono' => 'Google Fonts',
1390
+ 'Damion' => 'Google Fonts',
1391
+ 'Dancing Script' => 'Google Fonts',
1392
+ 'Dangrek' => 'Google Fonts',
1393
+ 'David Libre' => 'Google Fonts',
1394
+ 'Dawning of a New Day' => 'Google Fonts',
1395
+ 'Days One' => 'Google Fonts',
1396
+ 'Dekko' => 'Google Fonts',
1397
+ 'Delius' => 'Google Fonts',
1398
+ 'Delius Swash Caps' => 'Google Fonts',
1399
+ 'Delius Unicase' => 'Google Fonts',
1400
+ 'Della Respira' => 'Google Fonts',
1401
+ 'Denk One' => 'Google Fonts',
1402
+ 'Devonshire' => 'Google Fonts',
1403
+ 'Dhurjati' => 'Google Fonts',
1404
+ 'Didact Gothic' => 'Google Fonts',
1405
+ 'Diplomata' => 'Google Fonts',
1406
+ 'Diplomata SC' => 'Google Fonts',
1407
+ 'Do Hyeon' => 'Google Fonts',
1408
+ 'Dokdo' => 'Google Fonts',
1409
+ 'Domine' => 'Google Fonts',
1410
+ 'Donegal One' => 'Google Fonts',
1411
+ 'Doppio One' => 'Google Fonts',
1412
+ 'Dorsa' => 'Google Fonts',
1413
+ 'Dosis' => 'Google Fonts',
1414
+ 'Dr Sugiyama' => 'Google Fonts',
1415
+ 'Droid Arabic Kufi' => 'Google Fonts',
1416
+ // Hack for Google Early Access.
1417
+ 'Droid Arabic Naskh' => 'Google Fonts',
1418
+ // Hack for Google Early Access.
1419
+ 'Duru Sans' => 'Google Fonts',
1420
+ 'Dynalight' => 'Google Fonts',
1421
+ 'EB Garamond' => 'Google Fonts',
1422
+ 'Eagle Lake' => 'Google Fonts',
1423
+ 'East Sea Dokdo' => 'Google Fonts',
1424
+ 'Eater' => 'Google Fonts',
1425
+ 'Economica' => 'Google Fonts',
1426
+ 'Eczar' => 'Google Fonts',
1427
+ 'El Messiri' => 'Google Fonts',
1428
+ 'Electrolize' => 'Google Fonts',
1429
+ 'Elsie' => 'Google Fonts',
1430
+ 'Elsie Swash Caps' => 'Google Fonts',
1431
+ 'Emblema One' => 'Google Fonts',
1432
+ 'Emilys Candy' => 'Google Fonts',
1433
+ 'Encode Sans' => 'Google Fonts',
1434
+ 'Encode Sans Condensed' => 'Google Fonts',
1435
+ 'Encode Sans Expanded' => 'Google Fonts',
1436
+ 'Encode Sans Semi Condensed' => 'Google Fonts',
1437
+ 'Encode Sans Semi Expanded' => 'Google Fonts',
1438
+ 'Engagement' => 'Google Fonts',
1439
+ 'Englebert' => 'Google Fonts',
1440
+ 'Enriqueta' => 'Google Fonts',
1441
+ 'Erica One' => 'Google Fonts',
1442
+ 'Esteban' => 'Google Fonts',
1443
+ 'Euphoria Script' => 'Google Fonts',
1444
+ 'Ewert' => 'Google Fonts',
1445
+ 'Exo' => 'Google Fonts',
1446
+ 'Exo 2' => 'Google Fonts',
1447
+ 'Expletus Sans' => 'Google Fonts',
1448
+ 'Fahkwang' => 'Google Fonts',
1449
+ 'Fanwood Text' => 'Google Fonts',
1450
+ 'Farsan' => 'Google Fonts',
1451
+ 'Fascinate' => 'Google Fonts',
1452
+ 'Fascinate Inline' => 'Google Fonts',
1453
+ 'Faster One' => 'Google Fonts',
1454
+ 'Fasthand' => 'Google Fonts',
1455
+ 'Fauna One' => 'Google Fonts',
1456
+ 'Faustina' => 'Google Fonts',
1457
+ 'Federant' => 'Google Fonts',
1458
+ 'Federo' => 'Google Fonts',
1459
+ 'Felipa' => 'Google Fonts',
1460
+ 'Fenix' => 'Google Fonts',
1461
+ 'Finger Paint' => 'Google Fonts',
1462
+ 'Fira Mono' => 'Google Fonts',
1463
+ 'Fira Sans' => 'Google Fonts',
1464
+ 'Fira Sans Condensed' => 'Google Fonts',
1465
+ 'Fira Sans Extra Condensed' => 'Google Fonts',
1466
+ 'Fjalla One' => 'Google Fonts',
1467
+ 'Fjord One' => 'Google Fonts',
1468
+ 'Flamenco' => 'Google Fonts',
1469
+ 'Flavors' => 'Google Fonts',
1470
+ 'Fondamento' => 'Google Fonts',
1471
+ 'Fontdiner Swanky' => 'Google Fonts',
1472
+ 'Forum' => 'Google Fonts',
1473
+ 'Francois One' => 'Google Fonts',
1474
+ 'Frank Ruhl Libre' => 'Google Fonts',
1475
+ 'Freckle Face' => 'Google Fonts',
1476
+ 'Fredericka the Great' => 'Google Fonts',
1477
+ 'Fredoka One' => 'Google Fonts',
1478
+ 'Freehand' => 'Google Fonts',
1479
+ 'Fresca' => 'Google Fonts',
1480
+ 'Frijole' => 'Google Fonts',
1481
+ 'Fruktur' => 'Google Fonts',
1482
+ 'Fugaz One' => 'Google Fonts',
1483
+ 'GFS Didot' => 'Google Fonts',
1484
+ 'GFS Neohellenic' => 'Google Fonts',
1485
+ 'Gabriela' => 'Google Fonts',
1486
+ 'Gaegu' => 'Google Fonts',
1487
+ 'Gafata' => 'Google Fonts',
1488
+ 'Galada' => 'Google Fonts',
1489
+ 'Galdeano' => 'Google Fonts',
1490
+ 'Galindo' => 'Google Fonts',
1491
+ 'Gamja Flower' => 'Google Fonts',
1492
+ 'Gentium Basic' => 'Google Fonts',
1493
+ 'Gentium Book Basic' => 'Google Fonts',
1494
+ 'Geo' => 'Google Fonts',
1495
+ 'Geostar' => 'Google Fonts',
1496
+ 'Geostar Fill' => 'Google Fonts',
1497
+ 'Germania One' => 'Google Fonts',
1498
+ 'Gidugu' => 'Google Fonts',
1499
+ 'Gilda Display' => 'Google Fonts',
1500
+ 'Give You Glory' => 'Google Fonts',
1501
+ 'Glass Antiqua' => 'Google Fonts',
1502
+ 'Glegoo' => 'Google Fonts',
1503
+ 'Gloria Hallelujah' => 'Google Fonts',
1504
+ 'Goblin One' => 'Google Fonts',
1505
+ 'Gochi Hand' => 'Google Fonts',
1506
+ 'Gorditas' => 'Google Fonts',
1507
+ 'Gothic A1' => 'Google Fonts',
1508
+ 'Goudy Bookletter 1911' => 'Google Fonts',
1509
+ 'Graduate' => 'Google Fonts',
1510
+ 'Grand Hotel' => 'Google Fonts',
1511
+ 'Gravitas One' => 'Google Fonts',
1512
+ 'Great Vibes' => 'Google Fonts',
1513
+ 'Griffy' => 'Google Fonts',
1514
+ 'Gruppo' => 'Google Fonts',
1515
+ 'Gudea' => 'Google Fonts',
1516
+ 'Gugi' => 'Google Fonts',
1517
+ 'Gurajada' => 'Google Fonts',
1518
+ 'Habibi' => 'Google Fonts',
1519
+ 'Halant' => 'Google Fonts',
1520
+ 'Hammersmith One' => 'Google Fonts',
1521
+ 'Hanalei' => 'Google Fonts',
1522
+ 'Hanalei Fill' => 'Google Fonts',
1523
+ 'Handlee' => 'Google Fonts',
1524
+ 'Hanuman' => 'Google Fonts',
1525
+ 'Happy Monkey' => 'Google Fonts',
1526
+ 'Harmattan' => 'Google Fonts',
1527
+ 'Headland One' => 'Google Fonts',
1528
+ 'Heebo' => 'Google Fonts',
1529
+ 'Henny Penny' => 'Google Fonts',
1530
+ 'Herr Von Muellerhoff' => 'Google Fonts',
1531
+ 'Hi Melody' => 'Google Fonts',
1532
+ 'Hind' => 'Google Fonts',
1533
+ 'Hind Guntur' => 'Google Fonts',
1534
+ 'Hind Madurai' => 'Google Fonts',
1535
+ 'Hind Siliguri' => 'Google Fonts',
1536
+ 'Hind Vadodara' => 'Google Fonts',
1537
+ 'Holtwood One SC' => 'Google Fonts',
1538
+ 'Homemade Apple' => 'Google Fonts',
1539
+ 'Homenaje' => 'Google Fonts',
1540
+ 'IBM Plex Mono' => 'Google Fonts',
1541
+ 'IBM Plex Sans' => 'Google Fonts',
1542
+ 'IBM Plex Sans Condensed' => 'Google Fonts',
1543
+ 'IBM Plex Serif' => 'Google Fonts',
1544
+ 'IM Fell DW Pica' => 'Google Fonts',
1545
+ 'IM Fell DW Pica SC' => 'Google Fonts',
1546
+ 'IM Fell Double Pica' => 'Google Fonts',
1547
+ 'IM Fell Double Pica SC' => 'Google Fonts',
1548
+ 'IM Fell English' => 'Google Fonts',
1549
+ 'IM Fell English SC' => 'Google Fonts',
1550
+ 'IM Fell French Canon' => 'Google Fonts',
1551
+ 'IM Fell French Canon SC' => 'Google Fonts',
1552
+ 'IM Fell Great Primer' => 'Google Fonts',
1553
+ 'IM Fell Great Primer SC' => 'Google Fonts',
1554
+ 'Iceberg' => 'Google Fonts',
1555
+ 'Iceland' => 'Google Fonts',
1556
+ 'Imprima' => 'Google Fonts',
1557
+ 'Inconsolata' => 'Google Fonts',
1558
+ 'Inder' => 'Google Fonts',
1559
+ 'Indie Flower' => 'Google Fonts',
1560
+ 'Inika' => 'Google Fonts',
1561
+ 'Inknut Antiqua' => 'Google Fonts',
1562
+ 'Irish Grover' => 'Google Fonts',
1563
+ 'Istok Web' => 'Google Fonts',
1564
+ 'Italiana' => 'Google Fonts',
1565
+ 'Italianno' => 'Google Fonts',
1566
+ 'Itim' => 'Google Fonts',
1567
+ 'Jacques Francois' => 'Google Fonts',
1568
+ 'Jacques Francois Shadow' => 'Google Fonts',
1569
+ 'Jaldi' => 'Google Fonts',
1570
+ 'Jim Nightshade' => 'Google Fonts',
1571
+ 'Jockey One' => 'Google Fonts',
1572
+ 'Jolly Lodger' => 'Google Fonts',
1573
+ 'Jomhuria' => 'Google Fonts',
1574
+ 'Josefin Sans' => 'Google Fonts',
1575
+ 'Josefin Slab' => 'Google Fonts',
1576
+ 'Joti One' => 'Google Fonts',
1577
+ 'Jua' => 'Google Fonts',
1578
+ 'Judson' => 'Google Fonts',
1579
+ 'Julee' => 'Google Fonts',
1580
+ 'Julius Sans One' => 'Google Fonts',
1581
+ 'Junge' => 'Google Fonts',
1582
+ 'Jura' => 'Google Fonts',
1583
+ 'Just Another Hand' => 'Google Fonts',
1584
+ 'Just Me Again Down Here' => 'Google Fonts',
1585
+ 'K2D' => 'Google Fonts',
1586
+ 'Kadwa' => 'Google Fonts',
1587
+ 'Kalam' => 'Google Fonts',
1588
+ 'Kameron' => 'Google Fonts',
1589
+ 'Kanit' => 'Google Fonts',
1590
+ 'Kantumruy' => 'Google Fonts',
1591
+ 'Karla' => 'Google Fonts',
1592
+ 'Karma' => 'Google Fonts',
1593
+ 'Katibeh' => 'Google Fonts',
1594
+ 'Kaushan Script' => 'Google Fonts',
1595
+ 'Kavivanar' => 'Google Fonts',
1596
+ 'Kavoon' => 'Google Fonts',
1597
+ 'Kdam Thmor' => 'Google Fonts',
1598
+ 'Keania One' => 'Google Fonts',
1599
+ 'Kelly Slab' => 'Google Fonts',
1600
+ 'Kenia' => 'Google Fonts',
1601
+ 'Khand' => 'Google Fonts',
1602
+ 'Khmer' => 'Google Fonts',
1603
+ 'Khula' => 'Google Fonts',
1604
+ 'Kirang Haerang' => 'Google Fonts',
1605
+ 'Kite One' => 'Google Fonts',
1606
+ 'Knewave' => 'Google Fonts',
1607
+ 'KoHo' => 'Google Fonts',
1608
+ 'Kodchasan' => 'Google Fonts',
1609
+ 'Kosugi' => 'Google Fonts',
1610
+ 'Kosugi Maru' => 'Google Fonts',
1611
+ 'Kotta One' => 'Google Fonts',
1612
+ 'Koulen' => 'Google Fonts',
1613
+ 'Kranky' => 'Google Fonts',
1614
+ 'Kreon' => 'Google Fonts',
1615
+ 'Kristi' => 'Google Fonts',
1616
+ 'Krona One' => 'Google Fonts',
1617
+ 'Krub' => 'Google Fonts',
1618
+ 'Kumar One' => 'Google Fonts',
1619
+ 'Kumar One Outline' => 'Google Fonts',
1620
+ 'Kurale' => 'Google Fonts',
1621
+ 'La Belle Aurore' => 'Google Fonts',
1622
+ 'Laila' => 'Google Fonts',
1623
+ 'Lakki Reddy' => 'Google Fonts',
1624
+ 'Lalezar' => 'Google Fonts',
1625
+ 'Lancelot' => 'Google Fonts',
1626
+ 'Lateef' => 'Google Fonts',
1627
+ 'Lato' => 'Google Fonts',
1628
+ 'League Script' => 'Google Fonts',
1629
+ 'Leckerli One' => 'Google Fonts',
1630
+ 'Ledger' => 'Google Fonts',
1631
+ 'Lekton' => 'Google Fonts',
1632
+ 'Lemon' => 'Google Fonts',
1633
+ 'Lemonada' => 'Google Fonts',
1634
+ 'Libre Barcode 128' => 'Google Fonts',
1635
+ 'Libre Barcode 128 Text' => 'Google Fonts',
1636
+ 'Libre Barcode 39' => 'Google Fonts',
1637
+ 'Libre Barcode 39 Extended' => 'Google Fonts',
1638
+ 'Libre Barcode 39 Extended Text' => 'Google Fonts',
1639
+ 'Libre Barcode 39 Text' => 'Google Fonts',
1640
+ 'Libre Baskerville' => 'Google Fonts',
1641
+ 'Libre Franklin' => 'Google Fonts',
1642
+ 'Life Savers' => 'Google Fonts',
1643
+ 'Lilita One' => 'Google Fonts',
1644
+ 'Lily Script One' => 'Google Fonts',
1645
+ 'Limelight' => 'Google Fonts',
1646
+ 'Linden Hill' => 'Google Fonts',
1647
+ 'Lobster' => 'Google Fonts',
1648
+ 'Lobster Two' => 'Google Fonts',
1649
+ 'Londrina Outline' => 'Google Fonts',
1650
+ 'Londrina Shadow' => 'Google Fonts',
1651
+ 'Londrina Sketch' => 'Google Fonts',
1652
+ 'Londrina Solid' => 'Google Fonts',
1653
+ 'Lora' => 'Google Fonts',
1654
+ 'Love Ya Like A Sister' => 'Google Fonts',
1655
+ 'Loved by the King' => 'Google Fonts',
1656
+ 'Lovers Quarrel' => 'Google Fonts',
1657
+ 'Luckiest Guy' => 'Google Fonts',
1658
+ 'Lusitana' => 'Google Fonts',
1659
+ 'Lustria' => 'Google Fonts',
1660
+ 'M PLUS 1p' => 'Google Fonts',
1661
+ 'M PLUS Rounded 1c' => 'Google Fonts',
1662
+ 'Macondo' => 'Google Fonts',
1663
+ 'Macondo Swash Caps' => 'Google Fonts',
1664
+ 'Mada' => 'Google Fonts',
1665
+ 'Magra' => 'Google Fonts',
1666
+ 'Maiden Orange' => 'Google Fonts',
1667
+ 'Maitree' => 'Google Fonts',
1668
+ 'Mako' => 'Google Fonts',
1669
+ 'Mali' => 'Google Fonts',
1670
+ 'Mallanna' => 'Google Fonts',
1671
+ 'Mandali' => 'Google Fonts',
1672
+ 'Manuale' => 'Google Fonts',
1673
+ 'Marcellus' => 'Google Fonts',
1674
+ 'Marcellus SC' => 'Google Fonts',
1675
+ 'Marck Script' => 'Google Fonts',
1676
+ 'Margarine' => 'Google Fonts',
1677
+ 'Markazi Text' => 'Google Fonts',
1678
+ 'Marko One' => 'Google Fonts',
1679
+ 'Marmelad' => 'Google Fonts',
1680
+ 'Martel' => 'Google Fonts',
1681
+ 'Martel Sans' => 'Google Fonts',
1682
+ 'Marvel' => 'Google Fonts',
1683
+ 'Mate' => 'Google Fonts',
1684
+ 'Mate SC' => 'Google Fonts',
1685
+ 'Maven Pro' => 'Google Fonts',
1686
+ 'McLaren' => 'Google Fonts',
1687
+ 'Meddon' => 'Google Fonts',
1688
+ 'MedievalSharp' => 'Google Fonts',
1689
+ 'Medula One' => 'Google Fonts',
1690
+ 'Meera Inimai' => 'Google Fonts',
1691
+ 'Megrim' => 'Google Fonts',
1692
+ 'Meie Script' => 'Google Fonts',
1693
+ 'Merienda' => 'Google Fonts',
1694
+ 'Merienda One' => 'Google Fonts',
1695
+ 'Merriweather' => 'Google Fonts',
1696
+ 'Merriweather Sans' => 'Google Fonts',
1697
+ 'Metal' => 'Google Fonts',
1698
+ 'Metal Mania' => 'Google Fonts',
1699
+ 'Metamorphous' => 'Google Fonts',
1700
+ 'Metrophobic' => 'Google Fonts',
1701
+ 'Michroma' => 'Google Fonts',
1702
+ 'Milonga' => 'Google Fonts',
1703
+ 'Miltonian' => 'Google Fonts',
1704
+ 'Miltonian Tattoo' => 'Google Fonts',
1705
+ 'Mina' => 'Google Fonts',
1706
+ 'Miniver' => 'Google Fonts',
1707
+ 'Miriam Libre' => 'Google Fonts',
1708
+ 'Mirza' => 'Google Fonts',
1709
+ 'Miss Fajardose' => 'Google Fonts',
1710
+ 'Mitr' => 'Google Fonts',
1711
+ 'Modak' => 'Google Fonts',
1712
+ 'Modern Antiqua' => 'Google Fonts',
1713
+ 'Mogra' => 'Google Fonts',
1714
+ 'Molengo' => 'Google Fonts',
1715
+ 'Molle' => 'Google Fonts',
1716
+ 'Monda' => 'Google Fonts',
1717
+ 'Monofett' => 'Google Fonts',
1718
+ 'Monoton' => 'Google Fonts',
1719
+ 'Monsieur La Doulaise' => 'Google Fonts',
1720
+ 'Montaga' => 'Google Fonts',
1721
+ 'Montez' => 'Google Fonts',
1722
+ 'Montserrat' => 'Google Fonts',
1723
+ 'Montserrat Alternates' => 'Google Fonts',
1724
+ 'Montserrat Subrayada' => 'Google Fonts',
1725
+ 'Moul' => 'Google Fonts',
1726
+ 'Moulpali' => 'Google Fonts',
1727
+ 'Mountains of Christmas' => 'Google Fonts',
1728
+ 'Mouse Memoirs' => 'Google Fonts',
1729
+ 'Mr Bedfort' => 'Google Fonts',
1730
+ 'Mr Dafoe' => 'Google Fonts',
1731
+ 'Mr De Haviland' => 'Google Fonts',
1732
+ 'Mrs Saint Delafield' => 'Google Fonts',
1733
+ 'Mrs Sheppards' => 'Google Fonts',
1734
+ 'Mukta' => 'Google Fonts',
1735
+ 'Mukta Mahee' => 'Google Fonts',
1736
+ 'Mukta Malar' => 'Google Fonts',
1737
+ 'Mukta Vaani' => 'Google Fonts',
1738
+ 'Muli' => 'Google Fonts',
1739
+ 'Mystery Quest' => 'Google Fonts',
1740
+ 'NTR' => 'Google Fonts',
1741
+ 'Nanum Brush Script' => 'Google Fonts',
1742
+ 'Nanum Gothic' => 'Google Fonts',
1743
+ 'Nanum Gothic Coding' => 'Google Fonts',
1744
+ 'Nanum Myeongjo' => 'Google Fonts',
1745
+ 'Nanum Pen Script' => 'Google Fonts',
1746
+ 'Neucha' => 'Google Fonts',
1747
+ 'Neuton' => 'Google Fonts',
1748
+ 'New Rocker' => 'Google Fonts',
1749
+ 'News Cycle' => 'Google Fonts',
1750
+ 'Niconne' => 'Google Fonts',
1751
+ 'Niramit' => 'Google Fonts',
1752
+ 'Nixie One' => 'Google Fonts',
1753
+ 'Nobile' => 'Google Fonts',
1754
+ 'Nokora' => 'Google Fonts',
1755
+ 'Norican' => 'Google Fonts',
1756
+ 'Nosifer' => 'Google Fonts',
1757
+ 'Notable' => 'Google Fonts',
1758
+ 'Nothing You Could Do' => 'Google Fonts',
1759
+ 'Noticia Text' => 'Google Fonts',
1760
+ 'Noto Kufi Arabic' => 'Google Fonts',
1761
+ // Hack for Google Early Access.
1762
+ 'Noto Naskh Arabic' => 'Google Fonts',
1763
+ // Hack for Google Early Access.
1764
+ 'Noto Sans' => 'Google Fonts',
1765
+ 'Noto Sans Hebrew' => 'Google Fonts',
1766
+ // Hack for Google Early Access.
1767
+ 'Noto Sans JP' => 'Google Fonts',
1768
+ 'Noto Sans KR' => 'Google Fonts',
1769
+ 'Noto Serif' => 'Google Fonts',
1770
+ 'Noto Serif JP' => 'Google Fonts',
1771
+ 'Noto Serif KR' => 'Google Fonts',
1772
+ 'Nova Cut' => 'Google Fonts',
1773
+ 'Nova Flat' => 'Google Fonts',
1774
+ 'Nova Mono' => 'Google Fonts',
1775
+ 'Nova Oval' => 'Google Fonts',
1776
+ 'Nova Round' => 'Google Fonts',
1777
+ 'Nova Script' => 'Google Fonts',
1778
+ 'Nova Slim' => 'Google Fonts',
1779
+ 'Nova Square' => 'Google Fonts',
1780
+ 'Numans' => 'Google Fonts',
1781
+ 'Nunito' => 'Google Fonts',
1782
+ 'Nunito Sans' => 'Google Fonts',
1783
+ 'Odor Mean Chey' => 'Google Fonts',
1784
+ 'Offside' => 'Google Fonts',
1785
+ 'Old Standard TT' => 'Google Fonts',
1786
+ 'Oldenburg' => 'Google Fonts',
1787
+ 'Oleo Script' => 'Google Fonts',
1788
+ 'Oleo Script Swash Caps' => 'Google Fonts',
1789
+ 'Open Sans' => 'Google Fonts',
1790
+ 'Open Sans Condensed' => 'Google Fonts',
1791
+ 'Open Sans Hebrew' => 'Google Fonts',
1792
+ // Hack for Google Early Access.
1793
+ 'Open Sans Hebrew Condensed' => 'Google Fonts',
1794
+ // Hack for Google Early Access.
1795
+ 'Oranienbaum' => 'Google Fonts',
1796
+ 'Orbitron' => 'Google Fonts',
1797
+ 'Oregano' => 'Google Fonts',
1798
+ 'Orienta' => 'Google Fonts',
1799
+ 'Original Surfer' => 'Google Fonts',
1800
+ 'Oswald' => 'Google Fonts',
1801
+ 'Over the Rainbow' => 'Google Fonts',
1802
+ 'Overlock' => 'Google Fonts',
1803
+ 'Overlock SC' => 'Google Fonts',
1804
+ 'Overpass' => 'Google Fonts',
1805
+ 'Overpass Mono' => 'Google Fonts',
1806
+ 'Ovo' => 'Google Fonts',
1807
+ 'Oxygen' => 'Google Fonts',
1808
+ 'Oxygen Mono' => 'Google Fonts',
1809
+ 'PT Mono' => 'Google Fonts',
1810
+ 'PT Sans' => 'Google Fonts',
1811
+ 'PT Sans Caption' => 'Google Fonts',
1812
+ 'PT Sans Narrow' => 'Google Fonts',
1813
+ 'PT Serif' => 'Google Fonts',
1814
+ 'PT Serif Caption' => 'Google Fonts',
1815
+ 'Pacifico' => 'Google Fonts',
1816
+ 'Padauk' => 'Google Fonts',
1817
+ 'Palanquin' => 'Google Fonts',
1818
+ 'Palanquin Dark' => 'Google Fonts',
1819
+ 'Pangolin' => 'Google Fonts',
1820
+ 'Paprika' => 'Google Fonts',
1821
+ 'Parisienne' => 'Google Fonts',
1822
+ 'Passero One' => 'Google Fonts',
1823
+ 'Passion One' => 'Google Fonts',
1824
+ 'Pathway Gothic One' => 'Google Fonts',
1825
+ 'Patrick Hand' => 'Google Fonts',
1826
+ 'Patrick Hand SC' => 'Google Fonts',
1827
+ 'Pattaya' => 'Google Fonts',
1828
+ 'Patua One' => 'Google Fonts',
1829
+ 'Pavanam' => 'Google Fonts',
1830
+ 'Paytone One' => 'Google Fonts',
1831
+ 'Peddana' => 'Google Fonts',
1832
+ 'Peralta' => 'Google Fonts',
1833
+ 'Permanent Marker' => 'Google Fonts',
1834
+ 'Petit Formal Script' => 'Google Fonts',
1835
+ 'Petrona' => 'Google Fonts',
1836
+ 'Philosopher' => 'Google Fonts',
1837
+ 'Piedra' => 'Google Fonts',
1838
+ 'Pinyon Script' => 'Google Fonts',
1839
+ 'Pirata One' => 'Google Fonts',
1840
+ 'Plaster' => 'Google Fonts',
1841
+ 'Play' => 'Google Fonts',
1842
+ 'Playball' => 'Google Fonts',
1843
+ 'Playfair Display' => 'Google Fonts',
1844
+ 'Playfair Display SC' => 'Google Fonts',
1845
+ 'Podkova' => 'Google Fonts',
1846
+ 'Poiret One' => 'Google Fonts',
1847
+ 'Poller One' => 'Google Fonts',
1848
+ 'Poly' => 'Google Fonts',
1849
+ 'Pompiere' => 'Google Fonts',
1850
+ 'Pontano Sans' => 'Google Fonts',
1851
+ 'Poor Story' => 'Google Fonts',
1852
+ 'Poppins' => 'Google Fonts',
1853
+ 'Port Lligat Sans' => 'Google Fonts',
1854
+ 'Port Lligat Slab' => 'Google Fonts',
1855
+ 'Pragati Narrow' => 'Google Fonts',
1856
+ 'Prata' => 'Google Fonts',
1857
+ 'Preahvihear' => 'Google Fonts',
1858
+ 'Press Start 2P' => 'Google Fonts',
1859
+ 'Pridi' => 'Google Fonts',
1860
+ 'Princess Sofia' => 'Google Fonts',
1861
+ 'Prociono' => 'Google Fonts',
1862
+ 'Prompt' => 'Google Fonts',
1863
+ 'Prosto One' => 'Google Fonts',
1864
+ 'Proza Libre' => 'Google Fonts',
1865
+ 'Puritan' => 'Google Fonts',
1866
+ 'Purple Purse' => 'Google Fonts',
1867
+ 'Quando' => 'Google Fonts',
1868
+ 'Quantico' => 'Google Fonts',
1869
+ 'Quattrocento' => 'Google Fonts',
1870
+ 'Quattrocento Sans' => 'Google Fonts',
1871
+ 'Questrial' => 'Google Fonts',
1872
+ 'Quicksand' => 'Google Fonts',
1873
+ 'Quintessential' => 'Google Fonts',
1874
+ 'Qwigley' => 'Google Fonts',
1875
+ 'Racing Sans One' => 'Google Fonts',
1876
+ 'Radley' => 'Google Fonts',
1877
+ 'Rajdhani' => 'Google Fonts',
1878
+ 'Rakkas' => 'Google Fonts',
1879
+ 'Raleway' => 'Google Fonts',
1880
+ 'Raleway Dots' => 'Google Fonts',
1881
+ 'Ramabhadra' => 'Google Fonts',
1882
+ 'Ramaraja' => 'Google Fonts',
1883
+ 'Rambla' => 'Google Fonts',
1884
+ 'Rammetto One' => 'Google Fonts',
1885
+ 'Ranchers' => 'Google Fonts',
1886
+ 'Rancho' => 'Google Fonts',
1887
+ 'Ranga' => 'Google Fonts',
1888
+ 'Rasa' => 'Google Fonts',
1889
+ 'Rationale' => 'Google Fonts',
1890
+ 'Ravi Prakash' => 'Google Fonts',
1891
+ 'Redressed' => 'Google Fonts',
1892
+ 'Reem Kufi' => 'Google Fonts',
1893
+ 'Reenie Beanie' => 'Google Fonts',
1894
+ 'Revalia' => 'Google Fonts',
1895
+ 'Rhodium Libre' => 'Google Fonts',
1896
+ 'Ribeye' => 'Google Fonts',
1897
+ 'Ribeye Marrow' => 'Google Fonts',
1898
+ 'Righteous' => 'Google Fonts',
1899
+ 'Risque' => 'Google Fonts',
1900
+ 'Roboto' => 'Google Fonts',
1901
+ 'Roboto Condensed' => 'Google Fonts',
1902
+ 'Roboto Mono' => 'Google Fonts',
1903
+ 'Roboto Slab' => 'Google Fonts',
1904
+ 'Rochester' => 'Google Fonts',
1905
+ 'Rock Salt' => 'Google Fonts',
1906
+ 'Rokkitt' => 'Google Fonts',
1907
+ 'Romanesco' => 'Google Fonts',
1908
+ 'Ropa Sans' => 'Google Fonts',
1909
+ 'Rosario' => 'Google Fonts',
1910
+ 'Rosarivo' => 'Google Fonts',
1911
+ 'Rouge Script' => 'Google Fonts',
1912
+ 'Rozha One' => 'Google Fonts',
1913
+ 'Rubik' => 'Google Fonts',
1914
+ 'Rubik Mono One' => 'Google Fonts',
1915
+ 'Ruda' => 'Google Fonts',
1916
+ 'Rufina' => 'Google Fonts',
1917
+ 'Ruge Boogie' => 'Google Fonts',
1918
+ 'Ruluko' => 'Google Fonts',
1919
+ 'Rum Raisin' => 'Google Fonts',
1920
+ 'Ruslan Display' => 'Google Fonts',
1921
+ 'Russo One' => 'Google Fonts',
1922
+ 'Ruthie' => 'Google Fonts',
1923
+ 'Rye' => 'Google Fonts',
1924
+ 'Sacramento' => 'Google Fonts',
1925
+ 'Sahitya' => 'Google Fonts',
1926
+ 'Sail' => 'Google Fonts',
1927
+ 'Saira' => 'Google Fonts',
1928
+ 'Saira Condensed' => 'Google Fonts',
1929
+ 'Saira Extra Condensed' => 'Google Fonts',
1930
+ 'Saira Semi Condensed' => 'Google Fonts',
1931
+ 'Salsa' => 'Google Fonts',
1932
+ 'Sanchez' => 'Google Fonts',
1933
+ 'Sancreek' => 'Google Fonts',
1934
+ 'Sansita' => 'Google Fonts',
1935
+ 'Sarala' => 'Google Fonts',
1936
+ 'Sarina' => 'Google Fonts',
1937
+ 'Sarpanch' => 'Google Fonts',
1938
+ 'Satisfy' => 'Google Fonts',
1939
+ 'Sawarabi Gothic' => 'Google Fonts',
1940
+ 'Sawarabi Mincho' => 'Google Fonts',
1941
+ 'Scada' => 'Google Fonts',
1942
+ 'Scheherazade' => 'Google Fonts',
1943
+ 'Schoolbell' => 'Google Fonts',
1944
+ 'Scope One' => 'Google Fonts',
1945
+ 'Seaweed Script' => 'Google Fonts',
1946
+ 'Secular One' => 'Google Fonts',
1947
+ 'Sedgwick Ave' => 'Google Fonts',
1948
+ 'Sedgwick Ave Display' => 'Google Fonts',
1949
+ 'Sevillana' => 'Google Fonts',
1950
+ 'Seymour One' => 'Google Fonts',
1951
+ 'Shadows Into Light' => 'Google Fonts',
1952
+ 'Shadows Into Light Two' => 'Google Fonts',
1953
+ 'Shanti' => 'Google Fonts',
1954
+ 'Share' => 'Google Fonts',
1955
+ 'Share Tech' => 'Google Fonts',
1956
+ 'Share Tech Mono' => 'Google Fonts',
1957
+ 'Shojumaru' => 'Google Fonts',
1958
+ 'Short Stack' => 'Google Fonts',
1959
+ 'Shrikhand' => 'Google Fonts',
1960
+ 'Siemreap' => 'Google Fonts',
1961
+ 'Sigmar One' => 'Google Fonts',
1962
+ 'Signika' => 'Google Fonts',
1963
+ 'Signika Negative' => 'Google Fonts',
1964
+ 'Simonetta' => 'Google Fonts',
1965
+ 'Sintony' => 'Google Fonts',
1966
+ 'Sirin Stencil' => 'Google Fonts',
1967
+ 'Six Caps' => 'Google Fonts',
1968
+ 'Skranji' => 'Google Fonts',
1969
+ 'Slabo 13px' => 'Google Fonts',
1970
+ 'Slabo 27px' => 'Google Fonts',
1971
+ 'Slackey' => 'Google Fonts',
1972
+ 'Smokum' => 'Google Fonts',
1973
+ 'Smythe' => 'Google Fonts',
1974
+ 'Sniglet' => 'Google Fonts',
1975
+ 'Snippet' => 'Google Fonts',
1976
+ 'Snowburst One' => 'Google Fonts',
1977
+ 'Sofadi One' => 'Google Fonts',
1978
+ 'Sofia' => 'Google Fonts',
1979
+ 'Song Myung' => 'Google Fonts',
1980
+ 'Sonsie One' => 'Google Fonts',
1981
+ 'Sorts Mill Goudy' => 'Google Fonts',
1982
+ 'Source Code Pro' => 'Google Fonts',
1983
+ 'Source Sans Pro' => 'Google Fonts',
1984
+ 'Source Serif Pro' => 'Google Fonts',
1985
+ 'Space Mono' => 'Google Fonts',
1986
+ 'Special Elite' => 'Google Fonts',
1987
+ 'Spectral' => 'Google Fonts',
1988
+ 'Spectral SC' => 'Google Fonts',
1989
+ 'Spicy Rice' => 'Google Fonts',
1990
+ 'Spinnaker' => 'Google Fonts',
1991
+ 'Spirax' => 'Google Fonts',
1992
+ 'Squada One' => 'Google Fonts',
1993
+ 'Sree Krushnadevaraya' => 'Google Fonts',
1994
+ 'Sriracha' => 'Google Fonts',
1995
+ 'Srisakdi' => 'Google Fonts',
1996
+ 'Stalemate' => 'Google Fonts',
1997
+ 'Stalinist One' => 'Google Fonts',
1998
+ 'Stardos Stencil' => 'Google Fonts',
1999
+ 'Stint Ultra Condensed' => 'Google Fonts',
2000
+ 'Stint Ultra Expanded' => 'Google Fonts',
2001
+ 'Stoke' => 'Google Fonts',
2002
+ 'Strait' => 'Google Fonts',
2003
+ 'Stylish' => 'Google Fonts',
2004
+ 'Sue Ellen Francisco' => 'Google Fonts',
2005
+ 'Suez One' => 'Google Fonts',
2006
+ 'Sumana' => 'Google Fonts',
2007
+ 'Sunflower' => 'Google Fonts',
2008
+ 'Sunshiney' => 'Google Fonts',
2009
+ 'Supermercado One' => 'Google Fonts',
2010
+ 'Sura' => 'Google Fonts',
2011
+ 'Suranna' => 'Google Fonts',
2012
+ 'Suravaram' => 'Google Fonts',
2013
+ 'Suwannaphum' => 'Google Fonts',
2014
+ 'Swanky and Moo Moo' => 'Google Fonts',
2015
+ 'Syncopate' => 'Google Fonts',
2016
+ 'Tajawal' => 'Google Fonts',
2017
+ 'Tangerine' => 'Google Fonts',
2018
+ 'Taprom' => 'Google Fonts',
2019
+ 'Tauri' => 'Google Fonts',
2020
+ 'Taviraj' => 'Google Fonts',
2021
+ 'Teko' => 'Google Fonts',
2022
+ 'Telex' => 'Google Fonts',
2023
+ 'Tenali Ramakrishna' => 'Google Fonts',
2024
+ 'Tenor Sans' => 'Google Fonts',
2025
+ 'Text Me One' => 'Google Fonts',
2026
+ 'The Girl Next Door' => 'Google Fonts',
2027
+ 'Tienne' => 'Google Fonts',
2028
+ 'Tillana' => 'Google Fonts',
2029
+ 'Timmana' => 'Google Fonts',
2030
+ 'Tinos' => 'Google Fonts',
2031
+ 'Titan One' => 'Google Fonts',
2032
+ 'Titillium Web' => 'Google Fonts',
2033
+ 'Trade Winds' => 'Google Fonts',
2034
+ 'Trirong' => 'Google Fonts',
2035
+ 'Trocchi' => 'Google Fonts',
2036
+ 'Trochut' => 'Google Fonts',
2037
+ 'Trykker' => 'Google Fonts',
2038
+ 'Tulpen One' => 'Google Fonts',
2039
+ 'Ubuntu' => 'Google Fonts',
2040
+ 'Ubuntu Condensed' => 'Google Fonts',
2041
+ 'Ubuntu Mono' => 'Google Fonts',
2042
+ 'Ultra' => 'Google Fonts',
2043
+ 'Uncial Antiqua' => 'Google Fonts',
2044
+ 'Underdog' => 'Google Fonts',
2045
+ 'Unica One' => 'Google Fonts',
2046
+ 'UnifrakturCook' => 'Google Fonts',
2047
+ 'UnifrakturMaguntia' => 'Google Fonts',
2048
+ 'Unkempt' => 'Google Fonts',
2049
+ 'Unlock' => 'Google Fonts',
2050
+ 'Unna' => 'Google Fonts',
2051
+ 'VT323' => 'Google Fonts',
2052
+ 'Vampiro One' => 'Google Fonts',
2053
+ 'Varela' => 'Google Fonts',
2054
+ 'Varela Round' => 'Google Fonts',
2055
+ 'Vast Shadow' => 'Google Fonts',
2056
+ 'Vesper Libre' => 'Google Fonts',
2057
+ 'Vibur' => 'Google Fonts',
2058
+ 'Vidaloka' => 'Google Fonts',
2059
+ 'Viga' => 'Google Fonts',
2060
+ 'Voces' => 'Google Fonts',
2061
+ 'Volkhov' => 'Google Fonts',
2062
+ 'Vollkorn' => 'Google Fonts',
2063
+ 'Vollkorn SC' => 'Google Fonts',
2064
+ 'Voltaire' => 'Google Fonts',
2065
+ 'Waiting for the Sunrise' => 'Google Fonts',
2066
+ 'Wallpoet' => 'Google Fonts',
2067
+ 'Walter Turncoat' => 'Google Fonts',
2068
+ 'Warnes' => 'Google Fonts',
2069
+ 'Wellfleet' => 'Google Fonts',
2070
+ 'Wendy One' => 'Google Fonts',
2071
+ 'Wire One' => 'Google Fonts',
2072
+ 'Work Sans' => 'Google Fonts',
2073
+ 'Yanone Kaffeesatz' => 'Google Fonts',
2074
+ 'Yantramanav' => 'Google Fonts',
2075
+ 'Yatra One' => 'Google Fonts',
2076
+ 'Yellowtail' => 'Google Fonts',
2077
+ 'Yeon Sung' => 'Google Fonts',
2078
+ 'Yeseva One' => 'Google Fonts',
2079
+ 'Yesteryear' => 'Google Fonts',
2080
+ 'Yrsa' => 'Google Fonts',
2081
+ 'Zeyada' => 'Google Fonts',
2082
+ 'Zilla Slab' => 'Google Fonts',
2083
+ 'Zilla Slab Highlight' => 'Google Fonts',
2084
+ ];
2085
+
2086
+ }//end get_font_list()
2087
+
2088
+
2089
+ /**
2090
+ * Register text domain for Chaty
2091
+ *
2092
+ * @since 1.0.0
2093
+ * @access public
2094
+ * @return $chaty_text
2095
+ */
2096
+ public function chaty_text()
2097
+ {
2098
+ load_plugin_textdomain("chaty", false, dirname(plugin_basename(__FILE__)).'/languages/');
2099
+
2100
+ }//end chaty_text()
2101
+
2102
+
2103
+ /**
2104
+ * Update Chaty Status
2105
+ *
2106
+ * @since 1.0.0
2107
+ * @access public
2108
+ * @return $status
2109
+ */
2110
+ public function chaty_update_status()
2111
+ {
2112
+ $nonce = filter_input(INPUT_POST, 'nonce');
2113
+ if (!empty($nonce) && wp_verify_nonce($nonce, 'chaty_update_status')) {
2114
+ $status = filter_input(INPUT_POST, 'status');
2115
+ $email = filter_input(INPUT_POST, 'email');
2116
+ update_option("chaty_update_message", 2);
2117
+ if ($status == 1) {
2118
+ $email = sanitize_email($email);
2119
+
2120
+ $apiURL = "https://premioapps.com/premio/signup/index.php?plugin=chaty&email=".$email;
2121
+
2122
+ $apiParams = [
2123
+ 'plugin' => 'chaty',
2124
+ 'email' => $email,
2125
+ ];
2126
+
2127
+ // Signup Email for Chaty
2128
+ $apiResponse = wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => true]);
2129
+
2130
+ if (is_wp_error($apiResponse)) {
2131
+ wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => false]);
2132
+ }
2133
+
2134
+ $response['status'] = 1;
2135
+ }
2136
+ }//end if
2137
+
2138
+ }//end chaty_update_status()
2139
+
2140
+
2141
+ /**
2142
+ * Update Chaty Popup Status
2143
+ *
2144
+ * @since 1.0.0
2145
+ * @access public
2146
+ * @return $status
2147
+ */
2148
+ public function update_popup_status()
2149
+ {
2150
+ $nonce = filter_input(INPUT_POST, 'nonce');
2151
+ if (!empty($nonce) && wp_verify_nonce($nonce, 'chaty_update_popup_status')) {
2152
+ update_option("chaty_intro_popup", "hide");
2153
+ }
2154
+
2155
+ echo esc_attr("1");
2156
+ die;
2157
+
2158
+ }//end update_popup_status()
2159
+
2160
+
2161
+ /**
2162
+ * Update Chaty Channel Settings
2163
+ *
2164
+ * @since 1.0.0
2165
+ * @access public
2166
+ * @return $channels
2167
+ */
2168
+ public function update_channel_setting()
2169
+ {
2170
+ $nonce = filter_input(INPUT_POST, 'nonce');
2171
+ if (!empty($nonce) && wp_verify_nonce($nonce, "Contact_Us-settings")) {
2172
+ update_option("chaty_contact_us_setting", "hide");
2173
+ }
2174
+
2175
+ echo esc_attr("1");
2176
+ die;
2177
+
2178
+ }//end update_channel_setting()
2179
+
2180
+
2181
+ /**
2182
+ * Send Help Message to owner
2183
+ *
2184
+ * @since 1.0.0
2185
+ * @access public
2186
+ * @return $response
2187
+ */
2188
+ public function wcp_admin_send_message_to_owner()
2189
+ {
2190
+ $response = [];
2191
+ $response['status'] = 0;
2192
+ $response['error'] = 0;
2193
+ $response['errors'] = [];
2194
+ $response['message'] = "";
2195
+ $errorArray = [];
2196
+ $errorMessage = esc_attr__("%s is required", "chaty");
2197
+
2198
+ $textareaText = filter_input(INPUT_POST, 'textarea_text');
2199
+ $userEmail = filter_input(INPUT_POST, 'user_email');
2200
+ $nonce = filter_input(INPUT_POST, 'nonce');
2201
+
2202
+ if (empty($textareaText)) {
2203
+ $error = [
2204
+ "key" => "textarea_text",
2205
+ "message" => esc_attr__("Please enter your message", "wcp"),
2206
+ ];
2207
+ $errorArray[] = $error;
2208
+ }
2209
+
2210
+ if (empty($userEmail)) {
2211
+ $error = [
2212
+ "key" => "user_email",
2213
+ "message" => sprintf($errorMessage, esc_attr__("Email", "wcp")),
2214
+ ];
2215
+ $errorArray[] = $error;
2216
+ } else if (!filter_var($userEmail, FILTER_VALIDATE_EMAIL)) {
2217
+ $error = [
2218
+ 'key' => "user_email",
2219
+ "message" => "Email is not valid",
2220
+ ];
2221
+ $errorArray[] = $error;
2222
+ }
2223
+
2224
+ if (empty($errorArray)) {
2225
+ if (empty($nonce)) {
2226
+ $error = [
2227
+ 'key' => "nonce",
2228
+ "message" => "Your request is not valid",
2229
+ ];
2230
+ $errorArray[] = $error;
2231
+ } else if (!wp_verify_nonce($nonce, "chaty_send_message_to_owner")) {
2232
+ $error = [
2233
+ 'key' => "nonce",
2234
+ "message" => "Your request is not valid",
2235
+ ];
2236
+ $errorArray[] = $error;
2237
+ }
2238
+ }
2239
+
2240
+ if (empty($errorArray)) {
2241
+ global $currentUser;
2242
+ $textMessage = sanitize_textarea_field($textareaText);
2243
+ $email = sanitize_email($userEmail);
2244
+ $domain = site_url();
2245
+ $userName = $currentUser->first_name." ".$currentUser->last_name;
2246
+
2247
+ // sending message to Crisp
2248
+ $postMessage = [];
2249
+
2250
+ $messageData = [];
2251
+ $messageData['key'] = "Plugin";
2252
+ $messageData['value'] = "Chaty";
2253
+ $postMessage[] = $messageData;
2254
+
2255
+ $messageData = [];
2256
+ $messageData['key'] = "Domain";
2257
+ $messageData['value'] = $domain;
2258
+ $postMessage[] = $messageData;
2259
+
2260
+ $messageData = [];
2261
+ $messageData['key'] = "Email";
2262
+ $messageData['value'] = $email;
2263
+ $postMessage[] = $messageData;
2264
+
2265
+ $messageData = [];
2266
+ $messageData['key'] = "Message";
2267
+ $messageData['value'] = $textMessage;
2268
+ $postMessage[] = $messageData;
2269
+
2270
+ $apiParams = [
2271
+ 'domain' => $domain,
2272
+ 'email' => $email,
2273
+ 'url' => site_url(),
2274
+ 'name' => $userName,
2275
+ 'message' => $postMessage,
2276
+ 'plugin' => "Chaty",
2277
+ 'type' => "Need Help",
2278
+ ];
2279
+
2280
+ $apiURL = "https://premioapps.com/premio/send-message-api.php";
2281
+
2282
+ // Sending message to Crisp API
2283
+ $apiResponse = wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => true]);
2284
+
2285
+ if (is_wp_error($apiResponse)) {
2286
+ wp_safe_remote_post($apiURL, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => false]);
2287
+ }
2288
+
2289
+ $response['status'] = 1;
2290
+ } else {
2291
+ $response['error'] = 1;
2292
+ $response['errors'] = $errorArray;
2293
+ }//end if
2294
+
2295
+ echo json_encode($response);
2296
+ wp_die();
2297
+
2298
+ }//end wcp_admin_send_message_to_owner()
2299
+
2300
+
2301
+ }//end class
2302
+
2303
+ new CHT_Admin_Base();
2304
+
2305
+ add_action(
2306
+ 'update_option_chaty_updated_on',
2307
+ function ($oldValue, $value) {
2308
+ if ($oldValue != $value) {
2309
+ wp_redirect("admin.php?page=chaty-app&show_message=1");
2310
+ exit;
2311
+ }
2312
+ },
2313
+ 10,
2314
+ 2
2315
+ );
admin/class-social-icons.php CHANGED
@@ -1,462 +1,462 @@
1
- <?php
2
-
3
- /**
4
- * Class Social Channel Settings
5
- *
6
- * @author : Premio <contact@premio.io>
7
- * @license : GPL2
8
- * */
9
-
10
- namespace CHT\admin;
11
- if (defined('ABSPATH') === false) {
12
- exit;
13
- }
14
-
15
-
16
- class CHT_Social_Icons
17
- {
18
-
19
- /**
20
- * Social Icon list.
21
- *
22
- * @var array $socialList Social Icon list.
23
- * @since 1.0.0
24
- * @access protected
25
- */
26
- protected $socialList;
27
-
28
- /**
29
- * Returns object of Class
30
- *
31
- * @var object $widgetNumber Returns object of Class
32
- * @since 1.0.0
33
- * @access public
34
- */
35
- protected static $instance;
36
-
37
-
38
- /**
39
- * Returns instance of Object
40
- *
41
- * @since 1.0.0
42
- * @access public
43
- * @return $instance
44
- */
45
- public static function get_instance()
46
- {
47
- // If the single instance hasn't been set, set it now.
48
- if (!self::$instance) {
49
- self::$instance = new CHT_Social_Icons;
50
- }
51
-
52
- return self::$instance;
53
-
54
- }//end get_instance()
55
-
56
-
57
- /**
58
- * Returns chaty widget colors
59
- *
60
- * @since 1.0.0
61
- * @access public
62
- * @return $colors
63
- */
64
- public function get_colors()
65
- {
66
- return [
67
- '#A886CD' => __('Purple', CHT_OPT),
68
- '#86CD91' => __('Green', CHT_OPT),
69
- '#4F6ACA' => __('Blue', CHT_OPT),
70
- '#FF6060' => __('Red', CHT_OPT),
71
- '#000' => __('Black', CHT_OPT),
72
- '#EEF075' => __('Yellow', CHT_OPT),
73
- '#FF95EE' => __('Pink', CHT_OPT),
74
- ];
75
-
76
- }//end get_colors()
77
-
78
-
79
- /**
80
- * Returns chaty widget types
81
- *
82
- * @since 1.0.0
83
- * @access public
84
- * @return @widget_types
85
- */
86
- public function get_widget_types()
87
- {
88
- return [
89
- 'default' => 'default',
90
- 'smile' => 'smile',
91
- 'points' => 'points',
92
- 'two' => 'two',
93
- 'custom' => 'custom',
94
- ];
95
-
96
- }//end get_widget_types()
97
-
98
-
99
- /**
100
- * Returns chaty widget icon list
101
- *
102
- * @since 1.0.0
103
- * @access public
104
- * @return @icons
105
- */
106
- public function get_icons_list()
107
- {
108
- return [
109
- [
110
- 'example' => '1507854875',
111
- 'placeholder' => __('Phone number', CHT_OPT),
112
- 'help_title' => 'How do I use this?',
113
- 'help' => 'Enter your country code (in our example 1) and then your number without a leading zero (in our example 507854875)',
114
- 'slug' => 'Whatsapp',
115
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#49E670"/>
116
- <path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/>
117
- <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/>',
118
- 'title' => 'WhatsApp',
119
- 'color' => '#49E670',
120
- 'attr' => 'phone-number',
121
- ],
122
- [
123
- 'example' => 'https://m.me/Coca-Cola/',
124
- 'placeholder' => __('https://m.me/Coca-Cola/', CHT_OPT),
125
- 'slug' => 'Facebook_Messenger',
126
- 'title' => 'Facebook Messenger',
127
- 'color' => '#1E88E5',
128
- 'help' => "Your Facebook page has to be available to all ages and countries (check your page's settings).<br>If you can't find your page's URL, <a href='https://youtu.be/KKVRHyfc_9k' target='_blank'>click here</a> and follow our guide.",
129
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
130
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>',
131
- ],
132
- [
133
- 'example' => '+1507854875',
134
- 'placeholder' => __('Phone number', CHT_OPT),
135
- 'help_title' => 'How do I use this?',
136
- 'help' => 'Enter your country code (in our example +1) and then your number without a leading zero (in our example 507854875)',
137
- 'slug' => 'SMS',
138
- 'title' => 'SMS',
139
- 'color' => '#FF549C',
140
- 'attr' => 'phone-number',
141
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF549C"/>
142
- <path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>',
143
- ],
144
- [
145
- 'example' => 'InstagramUsername',
146
- 'placeholder' => __('InstagramUsername', CHT_OPT),
147
- 'slug' => 'Instagram',
148
- 'title' => 'Instagram',
149
- 'color' => '#ffffff',
150
- 'svg' => '<defs>
151
- <linearGradient id="linear-gradient" x1="0.892" y1="0.192" x2="0.128" y2="0.85" gradientUnits="objectBoundingBox">
152
- <stop offset="0" stop-color="#4a64d5"/>
153
- <stop offset="0.322" stop-color="#9737bd"/>
154
- <stop offset="0.636" stop-color="#f15540"/>
155
- <stop offset="1" stop-color="#fecc69"/>
156
- </linearGradient>
157
- </defs>
158
- <circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="url(#linear-gradient)"/>
159
- <path id="Path_1923" data-name="Path 1923" d="M13.177,0H5.022A5.028,5.028,0,0,0,0,5.022v8.155A5.028,5.028,0,0,0,5.022,18.2h8.155A5.028,5.028,0,0,0,18.2,13.177V5.022A5.028,5.028,0,0,0,13.177,0Zm3.408,13.177a3.412,3.412,0,0,1-3.408,3.408H5.022a3.411,3.411,0,0,1-3.408-3.408V5.022A3.412,3.412,0,0,1,5.022,1.615h8.155a3.412,3.412,0,0,1,3.408,3.408v8.155Z" transform="translate(10 10.4)" fill="#fff"/>
160
- <path id="Path_1924" data-name="Path 1924" d="M45.658,40.97a4.689,4.689,0,1,0,4.69,4.69A4.695,4.695,0,0,0,45.658,40.97Zm0,7.764a3.075,3.075,0,1,1,3.075-3.075A3.078,3.078,0,0,1,45.658,48.734Z" transform="translate(-26.558 -26.159)" fill="#fff"/>
161
- <path id="Path_1925" data-name="Path 1925" d="M120.105,28.251a1.183,1.183,0,1,0,.838.347A1.189,1.189,0,0,0,120.105,28.251Z" transform="translate(-96.119 -14.809)" fill="#fff"/>',
162
- ],
163
- [
164
- 'example' => 'myusername',
165
- 'placeholder' => __('User Name', CHT_OPT),
166
- 'slug' => 'Telegram',
167
- 'title' => 'Telegram',
168
- 'color' => '#3E99D8',
169
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#3E99D8"/>
170
- <path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/>
171
- <path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/>
172
- <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>',
173
- ],
174
- [
175
- 'example' => 'http://line.me/ti/p/2a-s5A2B8B',
176
- 'placeholder' => __('User Name', CHT_OPT),
177
- 'slug' => 'Line',
178
- 'title' => 'Line',
179
- 'color' => '#38B900',
180
- 'help' => '',
181
- 'help_title' => "Find your link",
182
- 'help_link' => "https://developers.line.biz/en/docs/messaging-api/sharing-bot/#url-scheme-to-link-to-the-add-friend-screen",
183
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#38B900"></circle>
184
- <path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path>
185
- <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path>
186
- <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path>
187
- <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path>
188
- <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>',
189
- ],
190
- [
191
- 'example' => 'UserID',
192
- 'placeholder' => __('User Name', CHT_OPT),
193
- 'slug' => 'WeChat',
194
- 'title' => 'WeChat',
195
- 'color' => '#45DC00',
196
- 'help' => "Unfortunately, WeChat doesn't have a click-to-chat API, therefore we can only show your username on-click so visitors can look-up for it. We have a QR upload option available in the pro plan",
197
- 'svg' => ' <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#45DC00"></circle>
198
- <path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path>
199
- <path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>',
200
- ],
201
- [
202
- 'example' => 'MyTwitterHandle',
203
- 'placeholder' => __('Twitter', CHT_OPT),
204
- 'slug' => 'Twitter',
205
- 'title' => 'Twitter',
206
- 'color' => '#1ab2e8',
207
- 'svg' => '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1ab2e8"/>
208
- <path id="path_color_twitter" d="M18.532,59.222a7.592,7.592,0,0,1-2.183.6,3.817,3.817,0,0,0,1.671-2.1,7.664,7.664,0,0,1-2.416.923,3.8,3.8,0,0,0-6.478,3.466,10.792,10.792,0,0,1-7.835-3.972A3.806,3.806,0,0,0,2.469,63.21a3.8,3.8,0,0,1-1.722-.477v.047A3.805,3.805,0,0,0,3.8,66.508a3.85,3.85,0,0,1-1,.133,3.649,3.649,0,0,1-.716-.071,3.8,3.8,0,0,0,3.55,2.64A7.627,7.627,0,0,1,.908,70.835,8.079,8.079,0,0,1,0,70.783a10.745,10.745,0,0,0,5.827,1.71A10.741,10.741,0,0,0,16.643,61.678l-.013-.492A7.591,7.591,0,0,0,18.532,59.222Z" transform="translate(9.999 -45.441)" fill="#fff"/>',
209
- ],
210
- [
211
- 'example' => 'https://goo.gl/maps/4m93C84v2DC2',
212
- 'placeholder' => __('Maps link', CHT_OPT),
213
- 'slug' => 'Google_Maps',
214
- 'title' => 'Google Map',
215
- 'color' => '#37AA66',
216
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#37AA66"/>
217
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>',
218
- ],
219
- [
220
- 'example' => 'https://workspace.slack.com/',
221
- 'placeholder' => __('Slack', CHT_OPT),
222
- 'slug' => 'Slack',
223
- 'title' => 'Slack',
224
- 'color' => '#3f0e40',
225
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#3f0e40"/>
226
- <g id="Group_521" data-name="Group 521" transform="translate(3.719 3.719)">
227
- <path class="slack-path" data-name="Path 10688" d="M24,23.046,18.767,7.182a1.994,1.994,0,1,1,3.788-1.25l5.237,15.86A1.995,1.995,0,1,1,24,23.046Zm0,0" transform="translate(-3.511)" fill="#ffc305"/>
228
- <path class="slack-path" data-name="Path 10689" d="M13.387,26.487,8.15,10.627a1.995,1.995,0,1,1,3.788-1.253l5.237,15.86a1.995,1.995,0,1,1-3.788,1.253Zm0,0" transform="translate(-0.868 -0.857)" fill="#7daf93"/>
229
- <path class="slack-path" data-name="Path 10690" d="M8.1,26.645a2,2,0,0,1,1.27-2.52l15.863-5.24a2,2,0,1,1,1.25,3.79l-15.86,5.237A2,2,0,0,1,8.1,26.645Zm0,0" transform="translate(-0.857 -3.541)" fill="#e1325a"/>
230
- <path class="slack-path" data-name="Path 10691" d="M12.633,24.551l3.791-1.25,1.25,3.791-3.791,1.25Zm0,0" transform="translate(-2.009 -4.665)" fill="#1b444f"/>
231
- <path class="slack-path" data-name="Path 10692" d="M23.23,21.051l3.79-1.25,1.25,3.791-3.791,1.25Zm0,0" transform="translate(-4.647 -3.794)" fill="#e64b55"/>
232
- <path class="slack-path" data-name="Path 10693" d="M4.662,16.028a2,2,0,0,1,1.27-2.52l15.86-5.237a1.995,1.995,0,1,1,1.253,3.788L7.185,17.3A2,2,0,0,1,4.662,16.028Zm0,0" transform="translate(0 -0.898)" fill="#91cdff"/>
233
- <path class="slack-path" data-name="Path 10694" d="M9.133,13.953,12.92,12.7l1.253,3.788-3.791,1.253Zm0,0" transform="translate(-1.138 -2.027)" fill="#51946f"/>
234
- <path class="slack-path" data-name="Path 10695" d="M19.73,10.456,23.518,9.2l1.253,3.791-3.791,1.25Zm0,0" transform="translate(-3.776 -1.155)" fill="#82962d"/>
235
- </g>',
236
- ],
237
- [
238
- 'example' => '+1507854875',
239
- 'placeholder' => __('Phone number', CHT_OPT),
240
- 'help_title' => 'How do I use this?',
241
- 'help' => 'Enter your country code (in our example +1) and then your number without a leading zero (in our example 507854875)',
242
- 'slug' => 'Phone',
243
- 'title' => 'Phone',
244
- 'color' => '#03E78B',
245
- 'attr' => 'phone-number',
246
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03E78B"/>
247
- <path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>',
248
- ],
249
- [
250
- 'example' => 'someone@example.com',
251
- 'placeholder' => 'Email',
252
- 'slug' => 'Email',
253
- 'title' => 'Email',
254
- 'color' => '#FF485F',
255
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF485F"/>
256
- <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/>
257
- <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/>
258
- <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/>
259
- <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>',
260
- ],
261
- [
262
- 'example' => 'myusername',
263
- 'placeholder' => 'Skype',
264
- 'title' => 'Skype',
265
- 'slug' => 'Skype',
266
- 'color' => '#03A9F4',
267
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03A9F4"/>
268
- <path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>',
269
- ],
270
- [
271
- 'example' => 'myusername',
272
- 'placeholder' => __('Username', CHT_OPT),
273
- 'slug' => 'Snapchat',
274
- 'title' => 'Snapchat',
275
- 'color' => '#FFE81D',
276
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FFE81D"/>
277
- <path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>',
278
- ],
279
- [
280
- 'example' => 'My-Name-512b1413b',
281
- 'placeholder' => __('My-Name-512b1413b', CHT_OPT),
282
- 'slug' => 'Linkedin',
283
- 'title' => 'Linkedin',
284
- 'color' => '#0077b5',
285
- 'help' => "To find your username and suffix, go to your <a href='https://www.linkedin.com/' target='_blank'>LinkedIn account</a> and click on your profile picture. Once you see your profile, copy the last part of the URL after https://www.linkedin.com/in/",
286
- 'svg' => '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#0077b5"/>
287
- <path id="LinkedIn_color" d="M18,20.1v6.655H14.142V20.549c0-1.56-.558-2.624-1.954-2.624a2.111,2.111,0,0,0-1.98,1.411,2.64,2.64,0,0,0-.128.941v6.481H6.221s.052-10.516,0-11.606H10.08V16.8c-.008.012-.018.026-.025.037h.025V16.8a3.832,3.832,0,0,1,3.478-1.918C16.1,14.88,18,16.539,18,20.1ZM2.184,9.558a2.011,2.011,0,1,0-.051,4.011h.026a2.012,2.012,0,1,0,.025-4.011ZM.229,26.758H4.087V15.152H.229Z" transform="translate(11 1.442)" fill="#fff"/>',
288
- ],
289
- [
290
- 'example' => '+1507854875',
291
- 'placeholder' => __('Phone number', CHT_OPT),
292
- 'slug' => 'Viber',
293
- 'title' => 'Viber',
294
- 'color' => '#665CAC',
295
- 'attr' => 'phone-number',
296
- 'help' => 'Try to remove the "+" and your country code',
297
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#665CAC"/>
298
- <path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>',
299
- ],
300
- [
301
- 'example' => 'myusername',
302
- 'placeholder' => __('Link Vkontakte', CHT_OPT),
303
- 'slug' => 'Vkontakte',
304
- 'title' => 'Vkontakte',
305
- 'color' => '#5076AA',
306
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#5076AA"/>
307
- <path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>',
308
- ],
309
- [
310
- 'example' => '@TikTok_username',
311
- 'placeholder' => __('@TikTok_username', CHT_OPT),
312
- 'slug' => 'TikTok',
313
- 'title' => 'TikTok',
314
- 'color' => '#000100',
315
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#000100" />
316
- <path stroke="null" d="m29.11825,14.02763c-1.25151,0 -2.40924,-0.41538 -3.33648,-1.11484c-1.06393,-0.80129 -1.83038,-1.98045 -2.10105,-3.33648c-0.067,-0.33498 -0.10183,-0.6807 -0.10451,-1.03712l-3.58035,0l0,9.78165l-0.00268,5.35445c0,1.43375 -0.9326,2.64775 -2.227,3.07385c-0.37519,0.12595 -0.77986,0.18223 -1.20328,0.16079c-0.53598,-0.02948 -1.04248,-0.19296 -1.47931,-0.45558c-0.93529,-0.55742 -1.56775,-1.57042 -1.58382,-2.72814c-0.0268,-1.81162 1.43643,-3.28824 3.24537,-3.28824c0.35643,0 0.69945,0.05896 1.02104,0.16348l0,-3.63396c-0.33767,-0.04824 -0.68338,-0.07503 -1.03176,-0.07503c-1.98045,0 -3.83227,0.82273 -5.15613,2.30739c-1.00228,1.1202 -1.60259,2.54859 -1.6937,4.04933c-0.12328,1.96973 0.59762,3.84299 1.99653,5.22314c0.20635,0.20367 0.42074,0.39127 0.64586,0.56546c1.19792,0.92189 2.66383,1.42303 4.20745,1.42303c0.34839,0 0.69409,-0.02679 1.03176,-0.07772c1.44179,-0.21171 2.77102,-0.87365 3.82154,-1.91077c1.28904,-1.27564 2.00189,-2.96666 2.00994,-4.76755l-0.01877,-7.99952c0.61638,0.47434 1.28904,0.86829 2.00994,1.17112c1.12288,0.47434 2.31544,0.71554 3.54016,0.71554l0,-3.56428c0,0 -0.01072,0 -0.01072,0l-0.00001,0zm0,0" fill="#fff" fill-rule="nonzero"/>',
317
- ],
318
- [
319
- 'example' => 'https://waze.com/ul/hdr5ru7vtv',
320
- 'placeholder' => __('Enter a waze link', CHT_OPT),
321
- 'slug' => 'Waze',
322
- 'title' => 'Waze',
323
- 'color' => '#6ECCEF',
324
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#6ECCEF"/>
325
- <path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)"
326
- fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>',
327
- ],
328
- [
329
- 'example' => 'https://app.popt.in/APIRequest/click/34e92354f927c',
330
- 'placeholder' => __('Enter a poptin link', CHT_OPT),
331
- 'slug' => 'Poptin',
332
- 'title' => 'Poptin Popups',
333
- 'color' => '#47A2B1',
334
- 'help_title' => 'How do I use Poptin?',
335
- 'help' => 'You can create a free poptin account by <a href="https://www.poptin.com/?utm_source=chatywp" target="_blank">clicking here</a>, and use it to create popups and forms on your site. You can also learn how to use Poptin with chaty by <a href="https://premio.io/help/chaty/how-to-launch-a-poptin-pop-up-in-chaty/" target="_blank">clicking here</a>',
336
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#47A2B1"/>
337
- <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>',
338
- ],
339
- [
340
- 'example' => 'https://www.example.com/contact',
341
- 'placeholder' => __('Link', CHT_OPT),
342
- 'slug' => 'Link',
343
- 'title' => 'Custom Link',
344
- 'color' => '#1E88E5',
345
- 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
346
- 'help_title' => 'How do I use this?',
347
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
348
- <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
349
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
350
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
351
- </mask>
352
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
353
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
354
- <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
355
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
356
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
357
- </mask>
358
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
359
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
360
- ],
361
- [
362
- 'example' => 'https://www.example.com/contact',
363
- 'placeholder' => __('Link', CHT_OPT),
364
- 'slug' => 'Custom_Link',
365
- 'title' => 'Custom Link',
366
- 'color' => '#8141FC',
367
- 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
368
- 'help_title' => 'How do I use this?',
369
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#8141FC"/>
370
- <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
371
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
372
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
373
- </mask>
374
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
375
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
376
- <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
377
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
378
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
379
- </mask>
380
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
381
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
382
- ],
383
- [
384
- 'example' => 'https://www.example.com/contact',
385
- 'placeholder' => __('Link', CHT_OPT),
386
- 'slug' => 'Custom_Link_3',
387
- 'title' => 'Custom Link',
388
- 'color' => '#FF7539',
389
- 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
390
- 'help_title' => 'How do I use this?',
391
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF7539"/>
392
- <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
393
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
394
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
395
- </mask>
396
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
397
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
398
- <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
399
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
400
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
401
- </mask>
402
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
403
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
404
- ],
405
- [
406
- 'example' => 'https://www.example.com/contact',
407
- 'placeholder' => __('Link', CHT_OPT),
408
- 'slug' => 'Custom_Link_4',
409
- 'title' => 'Custom Link',
410
- 'color' => '#2A9D8F',
411
- 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
412
- 'help_title' => 'How do I use this?',
413
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#2A9D8F"/>
414
- <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
415
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
416
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
417
- </mask>
418
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
419
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
420
- <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
421
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
422
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
423
- </mask>
424
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
425
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
426
- ],
427
- [
428
- 'example' => 'https://www.example.com/contact',
429
- 'placeholder' => __('Link', CHT_OPT),
430
- 'slug' => 'Custom_Link_5',
431
- 'title' => 'Custom Link',
432
- 'color' => '#E9C46A',
433
- 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
434
- 'help_title' => 'How do I use this?',
435
- 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#E9C46A"/>
436
- <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
437
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
438
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
439
- </mask>
440
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
441
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
442
- <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
443
- <rect fill="white" x="-1" y="-1" width="13" height="14"/>
444
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
445
- </mask>
446
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
447
- <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
448
- ],
449
- [
450
- 'example' => '',
451
- 'placeholder' => '',
452
- 'slug' => 'Contact_Us',
453
- 'title' => 'Contact Us',
454
- 'color' => '#253974',
455
- 'svg' => '<path class="color-element" d="M36.992 19.87c0 9.8-7.947 17.746-17.746 17.746S1.5 29.67 1.5 19.87 9.447 2.125 19.246 2.125s17.746 7.947 17.746 17.746zm0 0" fill="#253974"/><g fill="rgb(100%,100%,100%)"><path d="M20.316 19.89l-.915 3.817-.9-3.817c-3.817.47-6.69 3.7-6.7 7.556h15.224c-.01-3.846-2.88-7.085-6.7-7.556zm0 0"/><path d="M24.133 14.742c.005-2.518-1.95-4.61-4.464-4.77a4.77 4.77 0 0 0-5.033 4.165c-.315 2.502 1.373 4.815 3.85 5.278h1.8a4.77 4.77 0 0 0 3.853-4.672h-.005zm0 0"/></g>',
456
- ],
457
- ];
458
-
459
- }//end get_icons_list()
460
-
461
-
462
- }//end class
1
+ <?php
2
+
3
+ /**
4
+ * Class Social Channel Settings
5
+ *
6
+ * @author : Premio <contact@premio.io>
7
+ * @license : GPL2
8
+ * */
9
+
10
+ namespace CHT\admin;
11
+ if (defined('ABSPATH') === false) {
12
+ exit;
13
+ }
14
+
15
+
16
+ class CHT_Social_Icons
17
+ {
18
+
19
+ /**
20
+ * Social Icon list.
21
+ *
22
+ * @var array $socialList Social Icon list.
23
+ * @since 1.0.0
24
+ * @access protected
25
+ */
26
+ protected $socialList;
27
+
28
+ /**
29
+ * Returns object of Class
30
+ *
31
+ * @var object $widgetNumber Returns object of Class
32
+ * @since 1.0.0
33
+ * @access public
34
+ */
35
+ protected static $instance;
36
+
37
+
38
+ /**
39
+ * Returns instance of Object
40
+ *
41
+ * @since 1.0.0
42
+ * @access public
43
+ * @return $instance
44
+ */
45
+ public static function get_instance()
46
+ {
47
+ // If the single instance hasn't been set, set it now.
48
+ if (!self::$instance) {
49
+ self::$instance = new CHT_Social_Icons;
50
+ }
51
+
52
+ return self::$instance;
53
+
54
+ }//end get_instance()
55
+
56
+
57
+ /**
58
+ * Returns chaty widget colors
59
+ *
60
+ * @since 1.0.0
61
+ * @access public
62
+ * @return $colors
63
+ */
64
+ public function get_colors()
65
+ {
66
+ return [
67
+ '#A886CD' => __('Purple', CHT_OPT),
68
+ '#86CD91' => __('Green', CHT_OPT),
69
+ '#4F6ACA' => __('Blue', CHT_OPT),
70
+ '#FF6060' => __('Red', CHT_OPT),
71
+ '#000' => __('Black', CHT_OPT),
72
+ '#EEF075' => __('Yellow', CHT_OPT),
73
+ '#FF95EE' => __('Pink', CHT_OPT),
74
+ ];
75
+
76
+ }//end get_colors()
77
+
78
+
79
+ /**
80
+ * Returns chaty widget types
81
+ *
82
+ * @since 1.0.0
83
+ * @access public
84
+ * @return @widget_types
85
+ */
86
+ public function get_widget_types()
87
+ {
88
+ return [
89
+ 'default' => 'default',
90
+ 'smile' => 'smile',
91
+ 'points' => 'points',
92
+ 'two' => 'two',
93
+ 'custom' => 'custom',
94
+ ];
95
+
96
+ }//end get_widget_types()
97
+
98
+
99
+ /**
100
+ * Returns chaty widget icon list
101
+ *
102
+ * @since 1.0.0
103
+ * @access public
104
+ * @return @icons
105
+ */
106
+ public function get_icons_list()
107
+ {
108
+ return [
109
+ [
110
+ 'example' => '1507854875',
111
+ 'placeholder' => __('Phone number', CHT_OPT),
112
+ 'help_title' => 'How do I use this?',
113
+ 'help' => 'Enter your country code (in our example 1) and then your number without a leading zero (in our example 507854875)',
114
+ 'slug' => 'Whatsapp',
115
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#49E670"/>
116
+ <path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/>
117
+ <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/>',
118
+ 'title' => 'WhatsApp',
119
+ 'color' => '#49E670',
120
+ 'attr' => 'phone-number',
121
+ ],
122
+ [
123
+ 'example' => 'https://m.me/Coca-Cola/',
124
+ 'placeholder' => __('https://m.me/Coca-Cola/', CHT_OPT),
125
+ 'slug' => 'Facebook_Messenger',
126
+ 'title' => 'Facebook Messenger',
127
+ 'color' => '#1E88E5',
128
+ 'help' => "Your Facebook page has to be available to all ages and countries (check your page's settings).<br>If you can't find your page's URL, <a href='https://youtu.be/KKVRHyfc_9k' target='_blank'>click here</a> and follow our guide.",
129
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
130
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>',
131
+ ],
132
+ [
133
+ 'example' => '+1507854875',
134
+ 'placeholder' => __('Phone number', CHT_OPT),
135
+ 'help_title' => 'How do I use this?',
136
+ 'help' => 'Enter your country code (in our example +1) and then your number without a leading zero (in our example 507854875)',
137
+ 'slug' => 'SMS',
138
+ 'title' => 'SMS',
139
+ 'color' => '#FF549C',
140
+ 'attr' => 'phone-number',
141
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF549C"/>
142
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>',
143
+ ],
144
+ [
145
+ 'example' => 'InstagramUsername',
146
+ 'placeholder' => __('InstagramUsername', CHT_OPT),
147
+ 'slug' => 'Instagram',
148
+ 'title' => 'Instagram',
149
+ 'color' => '#ffffff',
150
+ 'svg' => '<defs>
151
+ <linearGradient id="linear-gradient" x1="0.892" y1="0.192" x2="0.128" y2="0.85" gradientUnits="objectBoundingBox">
152
+ <stop offset="0" stop-color="#4a64d5"/>
153
+ <stop offset="0.322" stop-color="#9737bd"/>
154
+ <stop offset="0.636" stop-color="#f15540"/>
155
+ <stop offset="1" stop-color="#fecc69"/>
156
+ </linearGradient>
157
+ </defs>
158
+ <circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="url(#linear-gradient)"/>
159
+ <path id="Path_1923" data-name="Path 1923" d="M13.177,0H5.022A5.028,5.028,0,0,0,0,5.022v8.155A5.028,5.028,0,0,0,5.022,18.2h8.155A5.028,5.028,0,0,0,18.2,13.177V5.022A5.028,5.028,0,0,0,13.177,0Zm3.408,13.177a3.412,3.412,0,0,1-3.408,3.408H5.022a3.411,3.411,0,0,1-3.408-3.408V5.022A3.412,3.412,0,0,1,5.022,1.615h8.155a3.412,3.412,0,0,1,3.408,3.408v8.155Z" transform="translate(10 10.4)" fill="#fff"/>
160
+ <path id="Path_1924" data-name="Path 1924" d="M45.658,40.97a4.689,4.689,0,1,0,4.69,4.69A4.695,4.695,0,0,0,45.658,40.97Zm0,7.764a3.075,3.075,0,1,1,3.075-3.075A3.078,3.078,0,0,1,45.658,48.734Z" transform="translate(-26.558 -26.159)" fill="#fff"/>
161
+ <path id="Path_1925" data-name="Path 1925" d="M120.105,28.251a1.183,1.183,0,1,0,.838.347A1.189,1.189,0,0,0,120.105,28.251Z" transform="translate(-96.119 -14.809)" fill="#fff"/>',
162
+ ],
163
+ [
164
+ 'example' => 'myusername',
165
+ 'placeholder' => __('User Name', CHT_OPT),
166
+ 'slug' => 'Telegram',
167
+ 'title' => 'Telegram',
168
+ 'color' => '#3E99D8',
169
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#3E99D8"/>
170
+ <path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/>
171
+ <path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/>
172
+ <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>',
173
+ ],
174
+ [
175
+ 'example' => 'http://line.me/ti/p/2a-s5A2B8B',
176
+ 'placeholder' => __('User Name', CHT_OPT),
177
+ 'slug' => 'Line',
178
+ 'title' => 'Line',
179
+ 'color' => '#38B900',
180
+ 'help' => '',
181
+ 'help_title' => "Find your link",
182
+ 'help_link' => "https://developers.line.biz/en/docs/messaging-api/sharing-bot/#url-scheme-to-link-to-the-add-friend-screen",
183
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#38B900"></circle>
184
+ <path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path>
185
+ <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path>
186
+ <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path>
187
+ <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path>
188
+ <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>',
189
+ ],
190
+ [
191
+ 'example' => 'UserID',
192
+ 'placeholder' => __('User Name', CHT_OPT),
193
+ 'slug' => 'WeChat',
194
+ 'title' => 'WeChat',
195
+ 'color' => '#45DC00',
196
+ 'help' => "Unfortunately, WeChat doesn't have a click-to-chat API, therefore we can only show your username on-click so visitors can look-up for it. We have a QR upload option available in the pro plan",
197
+ 'svg' => ' <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#45DC00"></circle>
198
+ <path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path>
199
+ <path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>',
200
+ ],
201
+ [
202
+ 'example' => 'MyTwitterHandle',
203
+ 'placeholder' => __('Twitter', CHT_OPT),
204
+ 'slug' => 'Twitter',
205
+ 'title' => 'Twitter',
206
+ 'color' => '#1ab2e8',
207
+ 'svg' => '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1ab2e8"/>
208
+ <path id="path_color_twitter" d="M18.532,59.222a7.592,7.592,0,0,1-2.183.6,3.817,3.817,0,0,0,1.671-2.1,7.664,7.664,0,0,1-2.416.923,3.8,3.8,0,0,0-6.478,3.466,10.792,10.792,0,0,1-7.835-3.972A3.806,3.806,0,0,0,2.469,63.21a3.8,3.8,0,0,1-1.722-.477v.047A3.805,3.805,0,0,0,3.8,66.508a3.85,3.85,0,0,1-1,.133,3.649,3.649,0,0,1-.716-.071,3.8,3.8,0,0,0,3.55,2.64A7.627,7.627,0,0,1,.908,70.835,8.079,8.079,0,0,1,0,70.783a10.745,10.745,0,0,0,5.827,1.71A10.741,10.741,0,0,0,16.643,61.678l-.013-.492A7.591,7.591,0,0,0,18.532,59.222Z" transform="translate(9.999 -45.441)" fill="#fff"/>',
209
+ ],
210
+ [
211
+ 'example' => 'https://goo.gl/maps/4m93C84v2DC2',
212
+ 'placeholder' => __('Maps link', CHT_OPT),
213
+ 'slug' => 'Google_Maps',
214
+ 'title' => 'Google Map',
215
+ 'color' => '#37AA66',
216
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#37AA66"/>
217
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>',
218
+ ],
219
+ [
220
+ 'example' => 'https://workspace.slack.com/',
221
+ 'placeholder' => __('Slack', CHT_OPT),
222
+ 'slug' => 'Slack',
223
+ 'title' => 'Slack',
224
+ 'color' => '#3f0e40',
225
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#3f0e40"/>
226
+ <g id="Group_521" data-name="Group 521" transform="translate(3.719 3.719)">
227
+ <path class="slack-path" data-name="Path 10688" d="M24,23.046,18.767,7.182a1.994,1.994,0,1,1,3.788-1.25l5.237,15.86A1.995,1.995,0,1,1,24,23.046Zm0,0" transform="translate(-3.511)" fill="#ffc305"/>
228
+ <path class="slack-path" data-name="Path 10689" d="M13.387,26.487,8.15,10.627a1.995,1.995,0,1,1,3.788-1.253l5.237,15.86a1.995,1.995,0,1,1-3.788,1.253Zm0,0" transform="translate(-0.868 -0.857)" fill="#7daf93"/>
229
+ <path class="slack-path" data-name="Path 10690" d="M8.1,26.645a2,2,0,0,1,1.27-2.52l15.863-5.24a2,2,0,1,1,1.25,3.79l-15.86,5.237A2,2,0,0,1,8.1,26.645Zm0,0" transform="translate(-0.857 -3.541)" fill="#e1325a"/>
230
+ <path class="slack-path" data-name="Path 10691" d="M12.633,24.551l3.791-1.25,1.25,3.791-3.791,1.25Zm0,0" transform="translate(-2.009 -4.665)" fill="#1b444f"/>
231
+ <path class="slack-path" data-name="Path 10692" d="M23.23,21.051l3.79-1.25,1.25,3.791-3.791,1.25Zm0,0" transform="translate(-4.647 -3.794)" fill="#e64b55"/>
232
+ <path class="slack-path" data-name="Path 10693" d="M4.662,16.028a2,2,0,0,1,1.27-2.52l15.86-5.237a1.995,1.995,0,1,1,1.253,3.788L7.185,17.3A2,2,0,0,1,4.662,16.028Zm0,0" transform="translate(0 -0.898)" fill="#91cdff"/>
233
+ <path class="slack-path" data-name="Path 10694" d="M9.133,13.953,12.92,12.7l1.253,3.788-3.791,1.253Zm0,0" transform="translate(-1.138 -2.027)" fill="#51946f"/>
234
+ <path class="slack-path" data-name="Path 10695" d="M19.73,10.456,23.518,9.2l1.253,3.791-3.791,1.25Zm0,0" transform="translate(-3.776 -1.155)" fill="#82962d"/>
235
+ </g>',
236
+ ],
237
+ [
238
+ 'example' => '+1507854875',
239
+ 'placeholder' => __('Phone number', CHT_OPT),
240
+ 'help_title' => 'How do I use this?',
241
+ 'help' => 'Enter your country code (in our example +1) and then your number without a leading zero (in our example 507854875)',
242
+ 'slug' => 'Phone',
243
+ 'title' => 'Phone',
244
+ 'color' => '#03E78B',
245
+ 'attr' => 'phone-number',
246
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03E78B"/>
247
+ <path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>',
248
+ ],
249
+ [
250
+ 'example' => 'someone@example.com',
251
+ 'placeholder' => 'Email',
252
+ 'slug' => 'Email',
253
+ 'title' => 'Email',
254
+ 'color' => '#FF485F',
255
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF485F"/>
256
+ <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/>
257
+ <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/>
258
+ <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/>
259
+ <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>',
260
+ ],
261
+ [
262
+ 'example' => 'myusername',
263
+ 'placeholder' => 'Skype',
264
+ 'title' => 'Skype',
265
+ 'slug' => 'Skype',
266
+ 'color' => '#03A9F4',
267
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03A9F4"/>
268
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>',
269
+ ],
270
+ [
271
+ 'example' => 'myusername',
272
+ 'placeholder' => __('Username', CHT_OPT),
273
+ 'slug' => 'Snapchat',
274
+ 'title' => 'Snapchat',
275
+ 'color' => '#FFE81D',
276
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FFE81D"/>
277
+ <path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>',
278
+ ],
279
+ [
280
+ 'example' => 'My-Name-512b1413b',
281
+ 'placeholder' => __('My-Name-512b1413b', CHT_OPT),
282
+ 'slug' => 'Linkedin',
283
+ 'title' => 'Linkedin',
284
+ 'color' => '#0077b5',
285
+ 'help' => "To find your username and suffix, go to your <a href='https://www.linkedin.com/' target='_blank'>LinkedIn account</a> and click on your profile picture. Once you see your profile, copy the last part of the URL after https://www.linkedin.com/in/",
286
+ 'svg' => '<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#0077b5"/>
287
+ <path id="LinkedIn_color" d="M18,20.1v6.655H14.142V20.549c0-1.56-.558-2.624-1.954-2.624a2.111,2.111,0,0,0-1.98,1.411,2.64,2.64,0,0,0-.128.941v6.481H6.221s.052-10.516,0-11.606H10.08V16.8c-.008.012-.018.026-.025.037h.025V16.8a3.832,3.832,0,0,1,3.478-1.918C16.1,14.88,18,16.539,18,20.1ZM2.184,9.558a2.011,2.011,0,1,0-.051,4.011h.026a2.012,2.012,0,1,0,.025-4.011ZM.229,26.758H4.087V15.152H.229Z" transform="translate(11 1.442)" fill="#fff"/>',
288
+ ],
289
+ [
290
+ 'example' => '+1507854875',
291
+ 'placeholder' => __('Phone number', CHT_OPT),
292
+ 'slug' => 'Viber',
293
+ 'title' => 'Viber',
294
+ 'color' => '#665CAC',
295
+ 'attr' => 'phone-number',
296
+ 'help' => 'Try to remove the "+" and your country code',
297
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#665CAC"/>
298
+ <path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>',
299
+ ],
300
+ [
301
+ 'example' => 'myusername',
302
+ 'placeholder' => __('Link Vkontakte', CHT_OPT),
303
+ 'slug' => 'Vkontakte',
304
+ 'title' => 'Vkontakte',
305
+ 'color' => '#5076AA',
306
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#5076AA"/>
307
+ <path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>',
308
+ ],
309
+ [
310
+ 'example' => '@TikTok_username',
311
+ 'placeholder' => __('@TikTok_username', CHT_OPT),
312
+ 'slug' => 'TikTok',
313
+ 'title' => 'TikTok',
314
+ 'color' => '#000100',
315
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#000100" />
316
+ <path stroke="null" d="m29.11825,14.02763c-1.25151,0 -2.40924,-0.41538 -3.33648,-1.11484c-1.06393,-0.80129 -1.83038,-1.98045 -2.10105,-3.33648c-0.067,-0.33498 -0.10183,-0.6807 -0.10451,-1.03712l-3.58035,0l0,9.78165l-0.00268,5.35445c0,1.43375 -0.9326,2.64775 -2.227,3.07385c-0.37519,0.12595 -0.77986,0.18223 -1.20328,0.16079c-0.53598,-0.02948 -1.04248,-0.19296 -1.47931,-0.45558c-0.93529,-0.55742 -1.56775,-1.57042 -1.58382,-2.72814c-0.0268,-1.81162 1.43643,-3.28824 3.24537,-3.28824c0.35643,0 0.69945,0.05896 1.02104,0.16348l0,-3.63396c-0.33767,-0.04824 -0.68338,-0.07503 -1.03176,-0.07503c-1.98045,0 -3.83227,0.82273 -5.15613,2.30739c-1.00228,1.1202 -1.60259,2.54859 -1.6937,4.04933c-0.12328,1.96973 0.59762,3.84299 1.99653,5.22314c0.20635,0.20367 0.42074,0.39127 0.64586,0.56546c1.19792,0.92189 2.66383,1.42303 4.20745,1.42303c0.34839,0 0.69409,-0.02679 1.03176,-0.07772c1.44179,-0.21171 2.77102,-0.87365 3.82154,-1.91077c1.28904,-1.27564 2.00189,-2.96666 2.00994,-4.76755l-0.01877,-7.99952c0.61638,0.47434 1.28904,0.86829 2.00994,1.17112c1.12288,0.47434 2.31544,0.71554 3.54016,0.71554l0,-3.56428c0,0 -0.01072,0 -0.01072,0l-0.00001,0zm0,0" fill="#fff" fill-rule="nonzero"/>',
317
+ ],
318
+ [
319
+ 'example' => 'https://waze.com/ul/hdr5ru7vtv',
320
+ 'placeholder' => __('Enter a waze link', CHT_OPT),
321
+ 'slug' => 'Waze',
322
+ 'title' => 'Waze',
323
+ 'color' => '#6ECCEF',
324
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#6ECCEF"/>
325
+ <path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)"
326
+ fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>',
327
+ ],
328
+ [
329
+ 'example' => 'https://app.popt.in/APIRequest/click/34e92354f927c',
330
+ 'placeholder' => __('Enter a poptin link', CHT_OPT),
331
+ 'slug' => 'Poptin',
332
+ 'title' => 'Poptin Popups',
333
+ 'color' => '#47A2B1',
334
+ 'help_title' => 'How do I use Poptin?',
335
+ 'help' => 'You can create a free poptin account by <a href="https://www.poptin.com/?utm_source=chatywp" target="_blank">clicking here</a>, and use it to create popups and forms on your site. You can also learn how to use Poptin with chaty by <a href="https://premio.io/help/chaty/how-to-launch-a-poptin-pop-up-in-chaty/" target="_blank">clicking here</a>',
336
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#47A2B1"/>
337
+ <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>',
338
+ ],
339
+ [
340
+ 'example' => 'https://www.example.com/contact',
341
+ 'placeholder' => __('Link', CHT_OPT),
342
+ 'slug' => 'Link',
343
+ 'title' => 'Custom Link',
344
+ 'color' => '#1E88E5',
345
+ 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
346
+ 'help_title' => 'How do I use this?',
347
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
348
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
349
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
350
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
351
+ </mask>
352
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
353
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
354
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
355
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
356
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
357
+ </mask>
358
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
359
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
360
+ ],
361
+ [
362
+ 'example' => 'https://www.example.com/contact',
363
+ 'placeholder' => __('Link', CHT_OPT),
364
+ 'slug' => 'Custom_Link',
365
+ 'title' => 'Custom Link',
366
+ 'color' => '#8141FC',
367
+ 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
368
+ 'help_title' => 'How do I use this?',
369
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#8141FC"/>
370
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
371
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
372
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
373
+ </mask>
374
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
375
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
376
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
377
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
378
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
379
+ </mask>
380
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
381
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
382
+ ],
383
+ [
384
+ 'example' => 'https://www.example.com/contact',
385
+ 'placeholder' => __('Link', CHT_OPT),
386
+ 'slug' => 'Custom_Link_3',
387
+ 'title' => 'Custom Link',
388
+ 'color' => '#FF7539',
389
+ 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
390
+ 'help_title' => 'How do I use this?',
391
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF7539"/>
392
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
393
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
394
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
395
+ </mask>
396
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
397
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
398
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
399
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
400
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
401
+ </mask>
402
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
403
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
404
+ ],
405
+ [
406
+ 'example' => 'https://www.example.com/contact',
407
+ 'placeholder' => __('Link', CHT_OPT),
408
+ 'slug' => 'Custom_Link_4',
409
+ 'title' => 'Custom Link',
410
+ 'color' => '#2A9D8F',
411
+ 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
412
+ 'help_title' => 'How do I use this?',
413
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#2A9D8F"/>
414
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
415
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
416
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
417
+ </mask>
418
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
419
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
420
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
421
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
422
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
423
+ </mask>
424
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
425
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
426
+ ],
427
+ [
428
+ 'example' => 'https://www.example.com/contact',
429
+ 'placeholder' => __('Link', CHT_OPT),
430
+ 'slug' => 'Custom_Link_5',
431
+ 'title' => 'Custom Link',
432
+ 'color' => '#E9C46A',
433
+ 'help' => "You can use this channel to add any custom channel you want. You can link to a specific form on your site or any social network. You can customize the color, upload a custom image, and change the on-hover text in the Pro plans",
434
+ 'help_title' => 'How do I use this?',
435
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#E9C46A"/>
436
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
437
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
438
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
439
+ </mask>
440
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
441
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
442
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
443
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
444
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
445
+ </mask>
446
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
447
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',
448
+ ],
449
+ [
450
+ 'example' => '',
451
+ 'placeholder' => '',
452
+ 'slug' => 'Contact_Us',
453
+ 'title' => 'Contact Us',
454
+ 'color' => '#253974',
455
+ 'svg' => '<path class="color-element" d="M36.992 19.87c0 9.8-7.947 17.746-17.746 17.746S1.5 29.67 1.5 19.87 9.447 2.125 19.246 2.125s17.746 7.947 17.746 17.746zm0 0" fill="#253974"/><g fill="rgb(100%,100%,100%)"><path d="M20.316 19.89l-.915 3.817-.9-3.817c-3.817.47-6.69 3.7-6.7 7.556h15.224c-.01-3.846-2.88-7.085-6.7-7.556zm0 0"/><path d="M24.133 14.742c.005-2.518-1.95-4.61-4.464-4.77a4.77 4.77 0 0 0-5.033 4.165c-.315 2.502 1.373 4.815 3.85 5.278h1.8a4.77 4.77 0 0 0 3.853-4.672h-.005zm0 0"/></g>',
456
+ ],
457
+ ];
458
+
459
+ }//end get_icons_list()
460
+
461
+
462
+ }//end class
cht-icons.php CHANGED
@@ -1,230 +1,230 @@
1
- <?php
2
- /*
3
- Plugin Name: Chaty
4
- Contributors: galdub, tomeraharon
5
- Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your website visitors.
6
- Author: Premio
7
- Author URI: https://premio.io/downloads/chaty/
8
- Text Domain: chaty
9
- Domain Path: /languages
10
- Version: 2.8.5
11
- License: GPL2
12
- */
13
-
14
- if (!defined('ABSPATH')) {
15
- exit;
16
- }
17
-
18
-
19
- define('CHT_FILE', __FILE__);
20
- // this file
21
- if (!defined('CHT_OPT')) {
22
- define('CHT_OPT', 'chaty');
23
- }
24
-
25
- define('CHT_DIR', dirname(CHT_FILE));
26
- // our directory
27
- define('CHT_ADMIN_INC', CHT_DIR.'/admin');
28
- define('CHT_FRONT_INC', CHT_DIR.'/frontend');
29
- define('CHT_INC', CHT_DIR.'/includes');
30
- define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
31
- define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
32
- define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
33
- define('CHT_VERSION', "2.8.5");
34
-
35
- if (!function_exists('wp_doing_ajax')) {
36
-
37
-
38
- function wp_doing_ajax()
39
- {
40
- /*
41
- * Filters whether the current request is a WordPress Ajax request.
42
- *
43
- * @since 4.7.0
44
- *
45
- * @param bool $wp_doing_ajax Whether the current request is a WordPress Ajax request.
46
- */
47
- return apply_filters('wp_doing_ajax', defined('DOING_AJAX') && DOING_AJAX);
48
-
49
- }//end wp_doing_ajax()
50
-
51
-
52
- }
53
-
54
- if (!function_exists("cht_clear_all_caches")) {
55
-
56
-
57
- function cht_clear_all_caches()
58
- {
59
- // Clear cookies from browser
60
- if (isset($_COOKIE['chaty_settings'])) {
61
- setcookie("chaty_settings", '', (time() - 3600), "/");
62
- setcookie("cta_exit_intent_shown", '', (time() - 3600), "/");
63
- }
64
-
65
- try {
66
- global $wp_fastest_cache;
67
- // if W3 Total Cache is being used, clear the cache
68
- if (function_exists('w3tc_flush_all')) {
69
- w3tc_flush_all();
70
- // if WP Super Cache is being used, clear the cache
71
- } else if (function_exists('wp_cache_clean_cache')) {
72
- global $file_prefix, $supercachedir;
73
- if (empty($supercachedir) && function_exists('get_supercache_dir')) {
74
- $supercachedir = get_supercache_dir();
75
- }
76
-
77
- wp_cache_clean_cache($file_prefix);
78
- } else if (class_exists('WpeCommon')) {
79
- // be extra careful, just in case 3rd party changes things on us
80
- if (method_exists('WpeCommon', 'purge_memcached')) {
81
- // WpeCommon::purge_memcached();
82
- }
83
-
84
- if (method_exists('WpeCommon', 'clear_maxcdn_cache')) {
85
- // WpeCommon::clear_maxcdn_cache();
86
- }
87
-
88
- if (method_exists('WpeCommon', 'purge_varnish_cache')) {
89
- // WpeCommon::purge_varnish_cache();
90
- }
91
- } else if (method_exists('WpFastestCache', 'deleteCache') && !empty($wp_fastest_cache)) {
92
- $wp_fastest_cache->deleteCache();
93
- } else if (function_exists('rocket_clean_domain')) {
94
- rocket_clean_domain();
95
- // Preload cache.
96
- if (function_exists('run_rocket_sitemap_preload')) {
97
- run_rocket_sitemap_preload();
98
- }
99
- } else if (class_exists("autoptimizeCache") && method_exists("autoptimizeCache", "clearall")) {
100
- autoptimizeCache::clearall();
101
- } else if (class_exists("LiteSpeed_Cache_API") && method_exists("autoptimizeCache", "purge_all")) {
102
- LiteSpeed_Cache_API::purge_all();
103
- }//end if
104
-
105
- if (class_exists("Breeze_PurgeCache") && method_exists("Breeze_PurgeCache", "breeze_cache_flush")) {
106
- Breeze_PurgeCache::breeze_cache_flush();
107
- }
108
-
109
- if (class_exists('\Hummingbird\Core\Utils')) {
110
- $modules = \Hummingbird\Core\Utils::get_active_cache_modules();
111
- foreach ($modules as $module => $name) {
112
- $mod = \Hummingbird\Core\Utils::get_module($module);
113
- if ($mod->is_active()) {
114
- if ('minify' === $module) {
115
- $mod->clear_files();
116
- } else {
117
- $mod->clear_cache();
118
- }
119
- }
120
- }
121
- }
122
-
123
- if (function_exists('wp_cache_clean_cache')) {
124
- global $file_prefix;
125
- wp_cache_clean_cache($file_prefix, true);
126
- }
127
- } catch (Exception $e) {
128
- return 1;
129
- }//end try
130
-
131
- }//end cht_clear_all_caches()
132
-
133
-
134
- }//end if
135
-
136
- if (is_admin()) {
137
- include_once CHT_ADMIN_INC.'/chaty-timezone.php';
138
- include_once CHT_INC.'/class-review-box.php';
139
- }
140
-
141
- require_once CHT_INC.'/class-cht-icons.php';
142
- require_once CHT_INC.'/class-frontend.php';
143
- require_once CHT_INC.'/class-affiliate.php';
144
-
145
-
146
- add_action('activated_plugin', 'cht_activation_redirect');
147
-
148
- register_activation_hook(CHT_FILE, 'cht_install', 10);
149
-
150
-
151
- function cht_install()
152
- {
153
- $widgetSize = get_option('cht_numb_slug');
154
- $cht_devices = get_option('cht_devices');
155
-
156
- if (empty($widgetSize) && empty($cht_devices)) {
157
- $options = [
158
- 'mobile' => '1',
159
- 'desktop' => '1',
160
- ];
161
-
162
- update_option('cht_created_on', date("Y-m-d"));
163
- update_option('cht_devices', $options);
164
- update_option('cht_position', 'right');
165
- update_option('cht_cta', 'Contact us');
166
- update_option('cht_numb_slug', ',Phone,Whatsapp');
167
- update_option('cht_social_whatsapp', '');
168
- update_option('cht_social_phone', '');
169
- update_option('cht_widget_size', '54');
170
- update_option('widget_icon', 'chat-base');
171
- update_option('cht_widget_img', '');
172
- update_option('cht_color', '#A886CD');
173
- }
174
-
175
- $popup_status = get_option("chaty_intro_popup");
176
- if ($popup_status === false || empty($popup_status)) {
177
- add_option("chaty_intro_popup", "show");
178
- }
179
-
180
- $option = get_option("Chaty_show_affiliate_box_after");
181
- if ($option === false || empty($option)) {
182
- $date = date("Y-m-d", strtotime("+5 days"));
183
- add_option("Chaty_show_affiliate_box_after", $date);
184
- }
185
-
186
- }//end cht_install()
187
-
188
-
189
- function cht_activation_redirect($plugin)
190
- {
191
- if ($plugin == plugin_basename(__FILE__)) {
192
- $admin_url = esc_url(admin_url('admin.php?page=chaty-app'));
193
- wp_redirect($admin_url);
194
- exit;
195
- }
196
-
197
- }//end cht_activation_redirect()
198
-
199
-
200
- function chaty_plugin_check_db_table()
201
- {
202
- global $wpdb;
203
- include_once ABSPATH.'wp-admin/includes/upgrade.php';
204
- $charset_collate = $wpdb->get_charset_collate();
205
- $chaty_table = $wpdb->prefix.'chaty_contact_form_leads';
206
- if ($wpdb->get_var("show tables like '{$chaty_table}'") != $chaty_table) {
207
- $chaty_table_settings = "CREATE TABLE {$chaty_table} (
208
- id bigint(11) NOT NULL AUTO_INCREMENT,
209
- widget_id int(11) NULL,
210
- name varchar(100) NULL,
211
- email varchar(100) NOT NULL,
212
- message text NOT NULL,
213
- ref_page text NOT NULL,
214
- ip_address varchar(30) NOT NULL DEFAULT '0',
215
- created_on datetime,
216
- PRIMARY KEY (id)
217
- ) $charset_collate;";
218
- dbDelta($chaty_table_settings);
219
- }
220
-
221
- // version 2.7.3 change added new column
222
- $field_check = $wpdb->get_var("SHOW COLUMNS FROM {$chaty_table} LIKE 'phone_number'");
223
- if ('phone_number' != $field_check) {
224
- $wpdb->query("ALTER TABLE {$chaty_table} ADD phone_number VARCHAR(100) NULL DEFAULT NULL AFTER email");
225
- }
226
-
227
- }//end chaty_plugin_check_db_table()
228
-
229
-
230
- add_action('plugins_loaded', 'chaty_plugin_check_db_table');
1
+ <?php
2
+ /*
3
+ Plugin Name: Chaty
4
+ Contributors: galdub, tomeraharon
5
+ Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your website visitors.
6
+ Author: Premio
7
+ Author URI: https://premio.io/downloads/chaty/
8
+ Text Domain: chaty
9
+ Domain Path: /languages
10
+ Version: 2.8.6
11
+ License: GPL2
12
+ */
13
+
14
+ if (!defined('ABSPATH')) {
15
+ exit;
16
+ }
17
+
18
+
19
+ define('CHT_FILE', __FILE__);
20
+ // this file
21
+ if (!defined('CHT_OPT')) {
22
+ define('CHT_OPT', 'chaty');
23
+ }
24
+
25
+ define('CHT_DIR', dirname(CHT_FILE));
26
+ // our directory
27
+ define('CHT_ADMIN_INC', CHT_DIR.'/admin');
28
+ define('CHT_FRONT_INC', CHT_DIR.'/frontend');
29
+ define('CHT_INC', CHT_DIR.'/includes');
30
+ define('CHT_PRO_URL', admin_url("admin.php?page=chaty-app-upgrade"));
31
+ define('CHT_PLUGIN_URL', plugin_dir_url(__FILE__));
32
+ define('CHT_PLUGIN_BASE', plugin_basename(CHT_FILE));
33
+ define('CHT_VERSION', "2.8.6");
34
+
35
+ if (!function_exists('wp_doing_ajax')) {
36
+
37
+
38
+ function wp_doing_ajax()
39
+ {
40
+ /*
41
+ * Filters whether the current request is a WordPress Ajax request.
42
+ *
43
+ * @since 4.7.0
44
+ *
45
+ * @param bool $wp_doing_ajax Whether the current request is a WordPress Ajax request.
46
+ */
47
+ return apply_filters('wp_doing_ajax', defined('DOING_AJAX') && DOING_AJAX);
48
+
49
+ }//end wp_doing_ajax()
50
+
51
+
52
+ }
53
+
54
+ if (!function_exists("cht_clear_all_caches")) {
55
+
56
+
57
+ function cht_clear_all_caches()
58
+ {
59
+ // Clear cookies from browser
60
+ if (isset($_COOKIE['chaty_settings'])) {
61
+ setcookie("chaty_settings", '', (time() - 3600), "/");
62
+ setcookie("cta_exit_intent_shown", '', (time() - 3600), "/");
63
+ }
64
+
65
+ try {
66
+ global $wp_fastest_cache;
67
+ // if W3 Total Cache is being used, clear the cache
68
+ if (function_exists('w3tc_flush_all')) {
69
+ w3tc_flush_all();
70
+ // if WP Super Cache is being used, clear the cache
71
+ } else if (function_exists('wp_cache_clean_cache')) {
72
+ global $file_prefix, $supercachedir;
73
+ if (empty($supercachedir) && function_exists('get_supercache_dir')) {
74
+ $supercachedir = get_supercache_dir();
75
+ }
76
+
77
+ wp_cache_clean_cache($file_prefix);
78
+ } else if (class_exists('WpeCommon')) {
79
+ // be extra careful, just in case 3rd party changes things on us
80
+ if (method_exists('WpeCommon', 'purge_memcached')) {
81
+ // WpeCommon::purge_memcached();
82
+ }
83
+
84
+ if (method_exists('WpeCommon', 'clear_maxcdn_cache')) {
85
+ // WpeCommon::clear_maxcdn_cache();
86
+ }
87
+
88
+ if (method_exists('WpeCommon', 'purge_varnish_cache')) {
89
+ // WpeCommon::purge_varnish_cache();
90
+ }
91
+ } else if (method_exists('WpFastestCache', 'deleteCache') && !empty($wp_fastest_cache)) {
92
+ $wp_fastest_cache->deleteCache();
93
+ } else if (function_exists('rocket_clean_domain')) {
94
+ rocket_clean_domain();
95
+ // Preload cache.
96
+ if (function_exists('run_rocket_sitemap_preload')) {
97
+ run_rocket_sitemap_preload();
98
+ }
99
+ } else if (class_exists("autoptimizeCache") && method_exists("autoptimizeCache", "clearall")) {
100
+ autoptimizeCache::clearall();
101
+ } else if (class_exists("LiteSpeed_Cache_API") && method_exists("autoptimizeCache", "purge_all")) {
102
+ LiteSpeed_Cache_API::purge_all();
103
+ }//end if
104
+
105
+ if (class_exists("Breeze_PurgeCache") && method_exists("Breeze_PurgeCache", "breeze_cache_flush")) {
106
+ Breeze_PurgeCache::breeze_cache_flush();
107
+ }
108
+
109
+ if (class_exists('\Hummingbird\Core\Utils')) {
110
+ $modules = \Hummingbird\Core\Utils::get_active_cache_modules();
111
+ foreach ($modules as $module => $name) {
112
+ $mod = \Hummingbird\Core\Utils::get_module($module);
113
+ if ($mod->is_active()) {
114
+ if ('minify' === $module) {
115
+ $mod->clear_files();
116
+ } else {
117
+ $mod->clear_cache();
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ if (function_exists('wp_cache_clean_cache')) {
124
+ global $file_prefix;
125
+ wp_cache_clean_cache($file_prefix, true);
126
+ }
127
+ } catch (Exception $e) {
128
+ return 1;
129
+ }//end try
130
+
131
+ }//end cht_clear_all_caches()
132
+
133
+
134
+ }//end if
135
+
136
+ if (is_admin()) {
137
+ include_once CHT_ADMIN_INC.'/chaty-timezone.php';
138
+ include_once CHT_INC.'/class-review-box.php';
139
+ }
140
+
141
+ require_once CHT_INC.'/class-cht-icons.php';
142
+ require_once CHT_INC.'/class-frontend.php';
143
+ require_once CHT_INC.'/class-affiliate.php';
144
+
145
+
146
+ add_action('activated_plugin', 'cht_activation_redirect');
147
+
148
+ register_activation_hook(CHT_FILE, 'cht_install', 10);
149
+
150
+
151
+ function cht_install()
152
+ {
153
+ $widgetSize = get_option('cht_numb_slug');
154
+ $cht_devices = get_option('cht_devices');
155
+
156
+ if (empty($widgetSize) && empty($cht_devices)) {
157
+ $options = [
158
+ 'mobile' => '1',
159
+ 'desktop' => '1',
160
+ ];
161
+
162
+ update_option('cht_created_on', date("Y-m-d"));
163
+ update_option('cht_devices', $options);
164
+ update_option('cht_position', 'right');
165
+ update_option('cht_cta', 'Contact us');
166
+ update_option('cht_numb_slug', ',Phone,Whatsapp');
167
+ update_option('cht_social_whatsapp', '');
168
+ update_option('cht_social_phone', '');
169
+ update_option('cht_widget_size', '54');
170
+ update_option('widget_icon', 'chat-base');
171
+ update_option('cht_widget_img', '');
172
+ update_option('cht_color', '#A886CD');
173
+ }
174
+
175
+ $popup_status = get_option("chaty_intro_popup");
176
+ if ($popup_status === false || empty($popup_status)) {
177
+ add_option("chaty_intro_popup", "show");
178
+ }
179
+
180
+ $option = get_option("Chaty_show_affiliate_box_after");
181
+ if ($option === false || empty($option)) {
182
+ $date = date("Y-m-d", strtotime("+5 days"));
183
+ add_option("Chaty_show_affiliate_box_after", $date);
184
+ }
185
+
186
+ }//end cht_install()
187
+
188
+
189
+ function cht_activation_redirect($plugin)
190
+ {
191
+ if ($plugin == plugin_basename(__FILE__)) {
192
+ $admin_url = esc_url(admin_url('admin.php?page=chaty-app'));
193
+ wp_redirect($admin_url);
194
+ exit;
195
+ }
196
+
197
+ }//end cht_activation_redirect()
198
+
199
+
200
+ function chaty_plugin_check_db_table()
201
+ {
202
+ global $wpdb;
203
+ include_once ABSPATH.'wp-admin/includes/upgrade.php';
204
+ $charset_collate = $wpdb->get_charset_collate();
205
+ $chaty_table = $wpdb->prefix.'chaty_contact_form_leads';
206
+ if ($wpdb->get_var("show tables like '{$chaty_table}'") != $chaty_table) {
207
+ $chaty_table_settings = "CREATE TABLE {$chaty_table} (
208
+ id bigint(11) NOT NULL AUTO_INCREMENT,
209
+ widget_id int(11) NULL,
210
+ name varchar(100) NULL,
211
+ email varchar(100) NOT NULL,
212
+ message text NOT NULL,
213
+ ref_page text NOT NULL,
214
+ ip_address varchar(30) NOT NULL DEFAULT '0',
215
+ created_on datetime,
216
+ PRIMARY KEY (id)
217
+ ) $charset_collate;";
218
+ dbDelta($chaty_table_settings);
219
+ }
220
+
221
+ // version 2.7.3 change added new column
222
+ $field_check = $wpdb->get_var("SHOW COLUMNS FROM {$chaty_table} LIKE 'phone_number'");
223
+ if ('phone_number' != $field_check) {
224
+ $wpdb->query("ALTER TABLE {$chaty_table} ADD phone_number VARCHAR(100) NULL DEFAULT NULL AFTER email");
225
+ }
226
+
227
+ }//end chaty_plugin_check_db_table()
228
+
229
+
230
+ add_action('plugins_loaded', 'chaty_plugin_check_db_table');
css/chaty-front.css CHANGED
@@ -1,1343 +1,1343 @@
1
- .chaty-widget.hide-cht-widget .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before {
2
- display: none
3
- }
4
- .facebook .chaty-widget-i-title {
5
- padding: 0 !important;
6
- }
7
- .widget-img img {
8
- max-height: 100%;
9
- max-width: 100%;
10
- height: auto;
11
- margin: 0 auto;
12
- }
13
- /*.chaty-widget .chaty-widget-i svg, .chaty-widget .chaty-widget-i .wrap-svg {
14
- border-radius: 50%;
15
- }*/
16
- .widget-img {
17
- text-align: center;
18
- background: transparent !important;
19
- }
20
- .widget-img img {
21
- object-fit: cover;
22
- border-radius: 50%;
23
- }
24
- .chaty-widget .chaty-widget-i.facebook.active.before .chaty-widget-i-title.fb-title {
25
- display: none !important;
26
- }
27
- .wechat-box img {
28
- object-fit: cover;
29
- max-width: 230px;
30
- height: auto;
31
- width: 100%;
32
- display: block;
33
- }
34
- .wechat-box-head svg {
35
- cursor: pointer;
36
- width: 30px;
37
- height: 30px;
38
- }
39
- .wechat-box-head SVG {
40
- cursor: pointer;
41
- width: 30PX;
42
- height: 30px;
43
- fill: #fff;
44
- font-weight: bold;
45
- }
46
- .wechat-box-head {
47
- width: 100%;
48
- display: inline-block;
49
- vertical-align: bottom;
50
- color: #fff;
51
- padding: 0 0 0 10px;
52
- line-height: 34px;
53
- background: #34a700;
54
- height: 34px;
55
- }
56
- .wechat-box {
57
- display: inline-block;
58
- vertical-align: bottom;
59
- position: relative;
60
- padding: 10px;
61
- width: 100%;
62
- }
63
- .wechat-qr-code {
64
- display: inline-block;
65
- vertical-align: bottom;
66
- background: #fff;
67
- -webkit-border-radius: 6px;
68
- -moz-border-radius: 6px;
69
- border-radius: 6px;
70
- position: fixed;
71
- bottom: 30px;
72
- left: 100px;
73
- padding: 0px;
74
- z-index: 100001;
75
- width: 280px;
76
- transition: all 0.5s linear;
77
- -webkit-transition: all 0.5s linear;
78
- -moz-transition: all 0.5s linear;
79
- box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
80
- -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
81
- -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
82
- }
83
- .chaty-social-img {
84
- display: block;
85
- -webkit-border-radius: 50%;
86
- -moz-border-radius: 50%;
87
- border-radius: 50%;
88
- }
89
- .chaty-social-img img {
90
- object-fit: cover;
91
- -webkit-border-radius: 50%;
92
- -moz-border-radius: 50%;
93
- border-radius: 50%;
94
- box-shadow: 0 3px 6px rgba(0,0,0,.25);
95
- line-height: 0;
96
- margin: 0;
97
- padding: 0;
98
- }
99
- .widget-img {
100
- display: flex;
101
- align-items: center;
102
- height: 100%;
103
- overflow: inherit;
104
- border-radius: 100%;
105
- }
106
- .set-url-target {
107
- line-height: 0;
108
- }
109
- .get {
110
- opacity: 1;
111
- }
112
- .chaty-widget-show .get {
113
- opacity: 1;
114
- }
115
- .none-widget-show .get {
116
- opacity: 0;
117
- }
118
- .get a {
119
- color: #222 !important;
120
- text-decoration: none !important;
121
- }
122
- body .one_widget .bofore_del:before {
123
- opacity: 0 !important;
124
- display: none;
125
- }
126
- /*.one_widget .chaty-widget-i.i-trigger-open:before {
127
- display: none;
128
- }
129
- .one_widget.chaty-widget .chaty-widget-i {
130
- }*/
131
- .one_widget.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title {
132
- font-size: 17px;
133
- left: -3px;
134
- top: 50%;
135
- white-space: nowrap;
136
- padding: 5px 15px;
137
- line-height: 21px;
138
- color: #333;
139
- background-color: #fff;
140
- box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
141
- border-radius: 10px;
142
- }
143
- .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before {
144
- opacity: 1 !important;
145
- }
146
- .snap-wee-title {
147
- z-index: 20;
148
- opacity: 0;
149
- padding: 10px 10px 9px 12px !important;
150
- font-size: 17px;
151
- transform: translate(calc(-100% - 14px), -50%);
152
- left: -3px;
153
- top: 50%;
154
- white-space: nowrap;
155
- line-height: 21px;
156
- color: #333;
157
- background-color: #fff;
158
- box-shadow: 0 1.93465px 7.73859px rgba(0, 0, 0, 0.15);
159
- border-radius: 10px;
160
- position: absolute;
161
- }
162
- @media (min-width: 1024px) {
163
- .chaty-widget-i:hover .snap-wee-title {
164
- opacity: 1;
165
- }
166
- }
167
- .chaty-widget-i.hover .snap-wee-title {
168
- opacity: 1;
169
- }
170
- .chaty-whatsapp-message p {
171
- margin: 0;
172
- padding: 0;
173
- color: #303030;
174
- }
175
- .snap-wee-title:before {
176
- content: "";
177
- right: -9px;
178
- position: absolute;
179
- top: 50%;
180
- transform: translateY(-50%);
181
- height: 0;
182
- width: 0;
183
- z-index: 11;
184
- border-width: 5px 0 5px 10px;
185
- border-style: solid;
186
- border-color: transparent transparent transparent #fff;
187
- }
188
- .snap-wee-title p {
189
- color: #222;
190
- text-decoration: none;
191
- margin: 0;
192
- padding: 0;
193
- }
194
- .chaty-widget-i .chaty-widget-i-title p {
195
- color: #222 !important;
196
- text-decoration: none !important;
197
- margin: 0 !important;
198
- padding: 0 !important
199
- }
200
- .chaty-widget-i .i-trigger a {
201
- color: #222 !important;
202
- text-decoration: none !important;
203
- }
204
- * {
205
- -webkit-tap-highlight-color: transparent !important;
206
- }
207
- .i-trigger-open svg, .i-trigger-close svg {
208
- transition: all 0.5s
209
- }
210
- .chaty-widget-show .i-trigger-open svg, .chaty-widget-show .i-trigger-close svg {
211
- transform: rotate(180deg)
212
- }
213
- .none-widget-show .i-trigger-ope {
214
- -webkit-animation: fadein 1.5s;
215
- -moz-animation: fadein 1.5s;
216
- -ms-animation: fadein 1.5s;
217
- -o-animation: fadein 1.5s; /* animation: fadein 2s; */
218
- }
219
- .chaty-widget-show .i-trigger-cloe {
220
- -webkit-animation: fadein 1.5s;
221
- -moz-animation: fadein 1.5s;
222
- -ms-animation: fadein 1.5s;
223
- -o-animation: fadein 1.5s; /* animation: fadein 2s; */
224
- }
225
- .chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title {
226
- transform: translate(calc(-100% - 12px), -50%);
227
- }
228
- .chaty-widget-is-right.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title {
229
- right: 0;
230
- left: auto;
231
- transform: translate(calc(100% + 12px), -50%);
232
- }
233
- .chaty-widget-is-right.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title {
234
- right: 0;
235
- left: auto;
236
- transform: translate(calc(100% + 13px), -50%);
237
- }
238
- .chaty-widget-is-right.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before {
239
- left: auto;
240
- right: -18px;
241
- }
242
- .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before {
243
- left: -18px;
244
- }
245
- .one_widget .i-trigger-open .chaty-widget-i-title {
246
- padding: 10px 10px 9px 12px !important;
247
- }
248
- .one_widget .i-trigger-open.hidetooltip .chaty-widget-i-title {
249
- display: none;
250
- }
251
- .one_widget .i-trigger-open.hidetooltip .chaty-widget-i:before {
252
- display: none;
253
- }
254
- .chaty-widget .chaty-widget-i.facebook.before:not(.no-tooltip):hover .chaty-widget-i-title, .chaty-widget .chaty-widget-i