Blog2Social: Social Media Auto Post & Scheduler - Version 6.0.0

Version Description

New Image Posts, Imgur, Animated Gifs and Emojis

Download this release

Release Info

Developer PR-Gateway
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 6.0.0
Comparing to
See all releases

Code changes from version 5.9.0 to 6.0.0

Files changed (49) hide show
  1. assets/css/b2s/calendar.css +29 -6
  2. assets/css/b2s/curation.css +102 -2
  3. assets/css/b2s/network.css +5 -0
  4. assets/css/b2s/post.approve.css +10 -0
  5. assets/css/b2s/post.css +11 -4
  6. assets/css/b2s/post.draft.css +70 -0
  7. assets/css/b2s/post.notice.css +11 -0
  8. assets/css/b2s/post.publish.css +11 -0
  9. assets/css/b2s/post.sched.css +40 -2
  10. assets/css/b2s/ship.css +29 -6
  11. assets/css/general.css +17 -1
  12. assets/images/portale/21_flat.png +0 -0
  13. assets/js/b2s/calendar.js +1 -16
  14. assets/js/b2s/curation.js +334 -40
  15. assets/js/b2s/network.js +23 -13
  16. assets/js/b2s/post.js +46 -18
  17. assets/js/b2s/ship.js +163 -87
  18. assets/js/notice.js +0 -18
  19. assets/lib/emoji-button/emoji-button.min.js +4 -0
  20. assets/lib/wysiwyg/square.min.css +1 -0
  21. blog2social.php +2 -2
  22. includes/Ajax/Get.php +20 -2
  23. includes/Ajax/Post.php +133 -34
  24. includes/B2S/AutoPost.php +29 -3
  25. includes/B2S/Curation/Save.php +8 -2
  26. includes/B2S/Curation/View.php +7 -5
  27. includes/B2S/Hook/Filter.php +14 -0
  28. includes/B2S/Network/Item.php +16 -7
  29. includes/B2S/Post/Filter.php +1 -1
  30. includes/B2S/Post/Item.php +100 -49
  31. includes/B2S/QuickPost.php +3 -3
  32. includes/B2S/Ship/Image.php +5 -1
  33. includes/B2S/Ship/Item.php +123 -41
  34. includes/Loader.php +60 -32
  35. includes/Notice.php +13 -4
  36. includes/Tools.php +19 -0
  37. languages/blog2social-de_DE.mo +0 -0
  38. languages/blog2social-de_DE.po +803 -657
  39. languages/blog2social.pot +768 -627
  40. readme.txt +18 -8
  41. views/b2s/curation.draft.php +1 -0
  42. views/b2s/curation.php +126 -21
  43. views/b2s/html/post.navbar.php +6 -2
  44. views/b2s/html/sidebar.php +14 -10
  45. views/b2s/network.php +4 -0
  46. views/b2s/post.calendar.php +1 -0
  47. views/b2s/post.favorites.php +62 -0
  48. views/b2s/post.sched.php +1 -0
  49. views/b2s/ship.php +6 -2
assets/css/b2s/calendar.css CHANGED
@@ -96,14 +96,13 @@ body .fc-time{
96
textarea.form-control {
97
height: auto;
98
}
99
- .fb-textarea-input, .tw-textarea-input, .xing-textarea-input, .reddit-textarea-input, .linkedin-textarea-input {
100
font-size: 14px;
101
font-weight: normal;
102
line-height: 1.125;
103
width: 100%;
104
border: medium none;
105
border-radius: 0;
106
- margin-top: 10px;
107
margin-bottom: 10px;
108
font-family: helvetica,arial,sans-serif;
109
}
@@ -285,10 +284,6 @@ body .fc-day-grid-event .fc-content{
285
width: 32px;
286
}
287
288
- .b2s-post-approve-info{
289
- display: none;
290
- }
291
-
292
#b2s-btn-select-blog-post, #b2s-btn-select-content-curation{
293
margin-top:10px;
294
}
@@ -323,3 +318,31 @@ body .fc-day-grid-event .fc-content{
323
from { transform: scale(1) rotate(0deg);}
324
to { transform: scale(1) rotate(360deg);}
325
}
96
textarea.form-control {
97
height: auto;
98
}
99
+ .fb-textarea-input, .tw-textarea-input, .xing-textarea-input, .reddit-textarea-input, .linkedin-textarea-input, .b2s-post-item-details-item-message-input {
100
font-size: 14px;
101
font-weight: normal;
102
line-height: 1.125;
103
width: 100%;
104
border: medium none;
105
border-radius: 0;
106
margin-bottom: 10px;
107
font-family: helvetica,arial,sans-serif;
108
}
284
width: 32px;
285
}
286
287
#b2s-btn-select-blog-post, #b2s-btn-select-content-curation{
288
margin-top:10px;
289
}
318
from { transform: scale(1) rotate(0deg);}
319
to { transform: scale(1) rotate(360deg);}
320
}
321
+
322
+ .b2s-post-item-details-item-message-area {
323
+ display: inline-block;
324
+ position: relative;
325
+ min-width: 100%;
326
+ }
327
+
328
+ .emoji-picker__content .active {
329
+ background-color: #fff;
330
+ }
331
+
332
+ .emoji-picker__content {
333
+ height: 21.5rem;
334
+ }
335
+
336
+ .emoji-picker__preview {
337
+ display: none;
338
+ }
339
+
340
+ .emoji-picker {
341
+ height: auto;
342
+ z-index: 1060;
343
+ }
344
+
345
+ .emoji-picker__tab.active {
346
+ color: #79b333;
347
+ border-bottom: 3px solid #79b333;
348
+ }
assets/css/b2s/curation.css CHANGED
@@ -21,7 +21,7 @@
21
margin: 25px 0 0;
22
}
23
24
- #b2s-curation-input-url-help, .b2s-curation-result-area{
25
display: none;
26
}
27
@@ -32,7 +32,7 @@
32
.b2s-btn-change-url-preview{
33
cursor: pointer;
34
}
35
- #b2s-curation-no-review-info, #b2s-curation-no-auth-info, .b2s-post-curation-ship-date-area, #b2s-curation-no-data-info, #b2s-curation-saved-draft-info{
36
display: none;
37
}
38
@@ -101,4 +101,104 @@
101
102
#b2s-btn-curation-draft {
103
margin-left: 10px;
104
}
21
margin: 25px 0 0;
22
}
23
24
+ #b2s-curation-input-url-help, .b2s-curation-result-area, .b2s-curation-image-area{
25
display: none;
26
}
27
32
.b2s-btn-change-url-preview{
33
cursor: pointer;
34
}
35
+ #b2s-curation-no-review-info, #b2s-curation-no-auth-info, .b2s-post-curation-ship-date-area, #b2s-curation-no-data-info, #b2s-curation-saved-draft-info, .b2s-curation-post-list-area{
36
display: none;
37
}
38
101
102
#b2s-btn-curation-draft {
103
margin-left: 10px;
104
+ }
105
+
106
+ .b2s-curation-format-link {
107
+ border-top-right-radius: 0px !important;
108
+ border-bottom-right-radius: 0px !important;
109
+ }
110
+
111
+ .b2s-curation-format-image {
112
+ border-top-left-radius: 0px !important;
113
+ border-bottom-left-radius: 0px !important;
114
+ }
115
+
116
+ .b2s-image-remove-btn{
117
+ position: absolute;
118
+ top: -5px;
119
+ right: 0px;
120
+ font-weight: 700 !important;
121
+ }
122
+
123
+ .b2s-post-item-details-url-image {
124
+ cursor: pointer;
125
+ margin-right: 10px;
126
+ margin-bottom: 20px;
127
+ border: 1px dashed #bdbfc2;
128
+ box-shadow: none;
129
+ padding: 5px;
130
+ }
131
+
132
+ .b2s-curation-image-area {
133
+ margin-top: 20px;
134
+ }
135
+
136
+ .b2s-post-item-details-item-message-area {
137
+ display: inline-block;
138
+ position: relative;
139
+ min-width: 100%;
140
+ }
141
+
142
+ .emoji-picker__content .active {
143
+ background-color: #fff;
144
+ }
145
+
146
+ .emoji-picker__content {
147
+ height: 21.5rem;
148
+ }
149
+
150
+ .emoji-picker__preview {
151
+ display: none;
152
+ }
153
+
154
+ .emoji-picker {
155
+ height: auto;
156
+ z-index: 1060;
157
+ }
158
+
159
+ .emoji-picker__tab.active {
160
+ color: #79b333;
161
+ border-bottom: 3px solid #79b333;
162
+ }
163
+
164
+ .b2s-image-item{
165
+ background-color: #fff;
166
+ border: 1px solid #ddd;
167
+ display: block;
168
+ float: left;
169
+ height: 200px;
170
+ line-height: 1.42857;
171
+ margin-bottom: 15px;
172
+ margin-left: 15px;
173
+ margin-top: 15px;
174
+ overflow: hidden;
175
+ padding: 4px;
176
+
177
+ transition: border 0.2s ease-in-out 0s;
178
+ width: 185px;
179
+ }
180
+ .img-thumbnail{
181
+ display: block !important;
182
+ height: auto;
183
+ margin-left: auto;
184
+ margin-right: auto;
185
+ max-height: 100%;
186
+ }
187
+
188
+ .b2s-image-item-thumb{
189
+ height: 150px;
190
+ }
191
+ .b2s-image-item-thumb label{
192
+ display: inline;
193
+ }
194
+ .b2s-image-item-caption{
195
+ color: #333;
196
+ }
197
+
198
+ .b2s-image-change {
199
+ margin-right: 5px !important;
200
+ }
201
+
202
+ .b2s-curation-result-area {
203
+ margin-top: 20px;
204
}
assets/css/b2s/network.css CHANGED
@@ -619,4 +619,9 @@ ul.b2s-network-item-auth-list li:last-child{
619
620
.b2s-edit-template-title {
621
display: inline;
622
}
619
620
.b2s-edit-template-title {
621
display: inline;
622
+ }
623
+
624
+ #b2sXingBusinessPageInfo {
625
+ margin: 10px 0px;
626
+ display: none;
627
}
assets/css/b2s/post.approve.css CHANGED
@@ -303,3 +303,13 @@ textarea.form-control {
303
}
304
}
305
303
}
304
}
305
306
+ .b2sFavoriteStar {
307
+ font-size: 22px;
308
+ margin-top: 6px;
309
+ color: #ffb900;
310
+ cursor: pointer;
311
+ }
312
+
313
+ .b2sFavoriteStarLoading {
314
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
315
+ }
assets/css/b2s/post.css CHANGED
@@ -35,10 +35,17 @@
35
width: 100% !important;
36
}
37
38
- .b2s-post-approve-info{
39
- display: none;
40
- }
41
-
42
.loadDraftBtn {
43
margin-right: 5px;
44
}
35
width: 100% !important;
36
}
37
38
.loadDraftBtn {
39
margin-right: 5px;
40
+ }
41
+
42
+ .b2sFavoriteStar {
43
+ font-size: 22px;
44
+ margin-top: 6px;
45
+ color: #ffb900;
46
+ cursor: pointer;
47
+ }
48
+
49
+ .b2sFavoriteStarLoading {
50
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
51
}
assets/css/b2s/post.draft.css CHANGED
@@ -1,3 +1,73 @@
1
.deleteDraftBtn {
2
margin-right: 10px;
3
}
1
+ .media {
2
+ width: 100%;
3
+ }
4
+ .form-inline {
5
+ width: 100%;
6
+ margin-bottom: 20px;
7
+ }
8
+ .form-inline .form-group {
9
+ margin-left: 2px;
10
+ }
11
+ .media-head {
12
+ width: 100% !important;
13
+ }
14
+ @media(max-width: 549px) {
15
+ .b2s-post-btn {
16
+ width: 100%;
17
+ }
18
+ .form-inline button, .form-inline a {
19
+ width: 100%;
20
+ margin-bottom: 10px;
21
+ }
22
+ }
23
+ @media(max-width: 767px) {
24
+ .form-inline {
25
+ display: none;
26
+ }
27
+ .filterHide {
28
+ display: none;
29
+ }
30
+ .form-inline button ,.form-inline a {
31
+ width: 49%;
32
+ margin-bottom: 10px;
33
+ }
34
+ }
35
+
36
+ .checkbox-item{
37
+ margin: 25px 5px 0 !important;
38
+ }
39
+ .checkbox-all-label{
40
+ padding-left:25px !important;
41
+ }
42
+ .checkbox-all{
43
+ margin-top: 2px !important;
44
+ }
45
+
46
+
47
+ .checkbox-all-label-btn{
48
+ padding-left:25px !important;
49
+ margin-left: -20px;
50
+ position: absolute;
51
+ }
52
+ .checkbox-all-btn{
53
+ color: #444 !important;
54
+ }
55
+
56
+ .b2s-loading-area{
57
+ width: 100% !important;
58
+ }
59
+
60
.deleteDraftBtn {
61
margin-right: 10px;
62
+ }
63
+
64
+ .b2sFavoriteStar {
65
+ font-size: 22px;
66
+ margin-top: 6px;
67
+ color: #ffb900;
68
+ cursor: pointer;
69
+ }
70
+
71
+ .b2sFavoriteStarLoading {
72
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
73
}
assets/css/b2s/post.notice.css CHANGED
@@ -63,4 +63,15 @@
63
.checbox-item-empty{
64
padding: 15px;
65
float:left;
66
}
63
.checbox-item-empty{
64
padding: 15px;
65
float:left;
66
+ }
67
+
68
+ .b2sFavoriteStar {
69
+ font-size: 22px;
70
+ margin-top: 6px;
71
+ color: #ffb900;
72
+ cursor: pointer;
73
+ }
74
+
75
+ .b2sFavoriteStarLoading {
76
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
77
}
assets/css/b2s/post.publish.css CHANGED
@@ -63,4 +63,15 @@
63
.checbox-item-empty{
64
padding: 15px;
65
float:left;
66
}
63
.checbox-item-empty{
64
padding: 15px;
65
float:left;
66
+ }
67
+
68
+ .b2sFavoriteStar {
69
+ font-size: 22px;
70
+ margin-top: 6px;
71
+ color: #ffb900;
72
+ cursor: pointer;
73
+ }
74
+
75
+ .b2sFavoriteStarLoading {
76
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
77
}
assets/css/b2s/post.sched.css CHANGED
@@ -170,14 +170,13 @@
170
textarea.form-control {
171
height: auto;
172
}
173
- .fb-textarea-input, .tw-textarea-input, .xing-textarea-input, .reddit-textarea-input, .linkedin-textarea-input {
174
font-size: 14px;
175
font-weight: normal;
176
line-height: 1.125;
177
width: 100%;
178
border: medium none;
179
border-radius: 0;
180
- margin-top: 10px;
181
margin-bottom: 10px;
182
font-family: helvetica,arial,sans-serif;
183
}
@@ -329,3 +328,42 @@ textarea.form-control {
329
from { transform: scale(1) rotate(0deg);}
330
to { transform: scale(1) rotate(360deg);}
331
}
170
textarea.form-control {
171
height: auto;
172
}
173
+ .fb-textarea-input, .tw-textarea-input, .xing-textarea-input, .reddit-textarea-input, .linkedin-textarea-input, .b2s-post-item-details-item-message-input {
174
font-size: 14px;
175
font-weight: normal;
176
line-height: 1.125;
177
width: 100%;
178
border: medium none;
179
border-radius: 0;
180
margin-bottom: 10px;
181
font-family: helvetica,arial,sans-serif;
182
}
328
from { transform: scale(1) rotate(0deg);}
329
to { transform: scale(1) rotate(360deg);}
330
}
331
+
332
+ .b2s-post-item-details-item-message-area {
333
+ display: inline-block;
334
+ position: relative;
335
+ min-width: 100%;
336
+ }
337
+
338
+ .emoji-picker__content .active {
339
+ background-color: #fff;
340
+ }
341
+
342
+ .emoji-picker__content {
343
+ height: 21.5rem;
344
+ }
345
+
346
+ .emoji-picker__preview {
347
+ display: none;
348
+ }
349
+
350
+ .emoji-picker {
351
+ height: auto;
352
+ z-index: 1060;
353
+ }
354
+
355
+ .emoji-picker__tab.active {
356
+ color: #79b333;
357
+ border-bottom: 3px solid #79b333;
358
+ }
359
+
360
+ .b2sFavoriteStar {
361
+ font-size: 22px;
362
+ margin-top: 6px;
363
+ color: #ffb900;
364
+ cursor: pointer;
365
+ }
366
+
367
+ .b2sFavoriteStarLoading {
368
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
369
+ }
assets/css/b2s/ship.css CHANGED
@@ -599,14 +599,13 @@ input[type="checkbox"], input[type="radio"] {
599
outline: 0 none;
600
}
601
602
- .fb-textarea-input,.tw-textarea-input, .xing-textarea-input, .linkedin-textarea-input, .reddit-textarea-input{
603
font-size: 14px;
604
font-weight: normal;
605
line-height: 1.125;
606
width: 100%;
607
border: medium none;
608
border-radius: 0;
609
- margin-top: 10px;
610
margin-bottom: 10px;
611
font-family: helvetica,arial,sans-serif;
612
}
@@ -788,10 +787,6 @@ input[type="number"]{
788
border-color: #204d74 !important;
789
}
790
791
- .b2s-post-approve-info{
792
- display: none;
793
- }
794
-
795
.b2s-sidebar-menu-item{
796
font-weight: 600 !important;
797
}
@@ -827,4 +822,32 @@ input[type="number"]{
827
828
#b2s-auth-network-6-location, #b2s-auth-network-6-board {
829
max-width: 100% !important;
830
}
599
outline: 0 none;
600
}
601
602
+ .fb-textarea-input,.tw-textarea-input, .xing-textarea-input, .linkedin-textarea-input, .reddit-textarea-input, .b2s-post-item-details-item-message-input{
603
font-size: 14px;
604
font-weight: normal;
605
line-height: 1.125;
606
width: 100%;
607
border: medium none;
608
border-radius: 0;
609
margin-bottom: 10px;
610
font-family: helvetica,arial,sans-serif;
611
}
787
border-color: #204d74 !important;
788
}
789
790
.b2s-sidebar-menu-item{
791
font-weight: 600 !important;
792
}
822
823
#b2s-auth-network-6-location, #b2s-auth-network-6-board {
824
max-width: 100% !important;
825
+ }
826
+
827
+ .b2s-post-item-details-item-message-area {
828
+ display: inline-block;
829
+ position: relative;
830
+ min-width: 100%;
831
+ }
832
+
833
+ .emoji-picker__content .active {
834
+ background-color: #fff;
835
+ }
836
+
837
+ .emoji-picker__content {
838
+ height: 21.5rem;
839
+ }
840
+
841
+ .emoji-picker__preview {
842
+ display: none;
843
+ }
844
+
845
+ .emoji-picker {
846
+ height: auto;
847
+ z-index: 1060;
848
+ }
849
+
850
+ .emoji-picker__tab.active {
851
+ color: #79b333;
852
+ border-bottom: 3px solid #79b333;
853
}
assets/css/general.css CHANGED
@@ -7605,4 +7605,20 @@ CSS CheckBOX
7605
7606
.b2s-free-link {
7607
font-size: 13px;
7608
- }
7605
7606
.b2s-free-link {
7607
font-size: 13px;
7608
+ }
7609
+
7610
+ .b2s-post-item-details-item-message-emoji-btn:active {
7611
+ box-shadow: none !important;
7612
+ opacity: 0.5;
7613
+ }
7614
+
7615
+ .b2s-post-item-details-item-message-emoji-btn {
7616
+ position: absolute;
7617
+ background-color: transparent;
7618
+ font-size: 2rem !important;
7619
+ color: #79b333;
7620
+ max-width: 0px;
7621
+ max-height: 0px;
7622
+ bottom: 50px;
7623
+ right: 40px;
7624
+ }
assets/images/portale/21_flat.png ADDED
Binary file
assets/js/b2s/calendar.js CHANGED
@@ -173,25 +173,10 @@ function showEditSchedCalendarPost(b2s_id, post_id, network_auth_id, network_typ
173
} else {
174
jQuery('.b2sChangeCardMeta[data-network-auth-id="' + network_auth_id + '"]').val("1");
175
}
176
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
177
- if (network_id == 1 && network_type == 0) {
178
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", false);
179
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').show();
180
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + network_auth_id + '"]').show();
181
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + network_auth_id + '"]').hide();
182
- }
183
} else {
184
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
185
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
186
jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + network_id + '"]').hide();
187
-
188
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
189
- if (network_id == 1 && network_type == 0) {
190
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
191
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').hide();
192
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + network_auth_id + '"]').hide();
193
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + network_auth_id + '"]').show();
194
- }
195
}
196
197
//Content Curation
@@ -659,7 +644,7 @@ function checkSchedDateTime(dataNetworkAuthId) {
659
//utc current time
660
var now = new Date();
661
//offset between utc und user
662
- var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
663
//enter hour to user time
664
var hour = parseInt(minParts3[0]) + timeZone + offset;
665
//calculate datetime in utc
173
} else {
174
jQuery('.b2sChangeCardMeta[data-network-auth-id="' + network_auth_id + '"]').val("1");
175
}
176
} else {
177
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
178
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
179
jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + network_id + '"]').hide();
180
}
181
182
//Content Curation
644
//utc current time
645
var now = new Date();
646
//offset between utc und user
647
+ var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
648
//enter hour to user time
649
var hour = parseInt(minParts3[0]) + timeZone + offset;
650
//calculate datetime in utc
assets/js/b2s/curation.js CHANGED
@@ -10,9 +10,25 @@ jQuery(window).on("load", function () {
10
var url_string = window.location.href;
11
var url_param = new URL(url_string);
12
var url = url_param.searchParams.get("url");
13
if (typeof url != "undefined" && url != "" && url != null) {
14
jQuery('#b2s-curation-input-url').val(url);
15
jQuery('.b2s-btn-curation-continue').trigger('click');
16
}
17
});
18
@@ -106,6 +122,7 @@ function scrapeDetails(url) {
106
jQuery('.b2s-curation-input-area').hide();
107
jQuery('.b2s-curation-settings-area').hide();
108
jQuery('.b2s-curation-preview-area').hide();
109
jQuery('.b2s-server-connection-fail').hide();
110
jQuery('#b2s-curation-no-auth-info').hide();
111
jQuery('#b2s-curation-no-review-info').hide();
@@ -129,6 +146,7 @@ function scrapeDetails(url) {
129
jQuery('.b2s-loading-area').hide();
130
jQuery('.b2s-curation-settings-area').hide();
131
jQuery('.b2s-curation-preview-area').hide();
132
jQuery('#b2s-btn-curation-customize').prop("disabled", true);
133
jQuery('#b2s-btn-curation-share').prop("disabled", true);
134
return false;
@@ -192,6 +210,7 @@ function scrapeDetails(url) {
192
jQuery('#b2s-btn-curation-customize').prop("disabled", true);
193
jQuery('#b2s-btn-curation-share').prop("disabled", true);
194
}
195
if (data.scrapeError == true) {
196
jQuery('#b2s-post-curation-preview-title').attr('type', 'text');
197
}
@@ -217,36 +236,49 @@ jQuery(document).on("keyup", "#b2s-post-curation-comment", function () {
217
});
218
219
jQuery(document).on('click', '#b2s-btn-curation-share', function () {
220
- jQuery('#b2s-post-curation-action').val('b2s_curation_share');
221
jQuery('#b2s-curation-no-data-info').hide();
222
jQuery('#b2s-curation-no-auth-info').hide();
223
jQuery('#b2s-curation-saved-draft-info').hide();
224
-
225
var noContent = false;
226
- if (jQuery('#b2s-post-curation-preview-title').val().length === 0) {
227
- jQuery('#b2s-post-curation-preview-title').addClass('error');
228
- noContent = true;
229
- }
230
- if (jQuery('#b2s-post-curation-comment').val().length === 0) {
231
- jQuery('#b2s-post-curation-comment').addClass('error');
232
- noContent = true;
233
}
234
if (noContent) {
235
return false;
236
}
237
-
238
- jQuery('.b2s-curation-post-list-area').html("").hide();
239
jQuery('.b2s-loading-area').show();
240
jQuery('.b2s-curation-settings-area').hide();
241
jQuery('.b2s-curation-preview-area').hide();
242
-
243
jQuery.ajax({
244
processData: false,
245
url: ajaxurl,
246
type: "POST",
247
dataType: "json",
248
cache: false,
249
- data: jQuery("#b2s-curation-post-form").serialize() + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val(),
250
error: function () {
251
jQuery('.b2s-server-connection-fail').show();
252
return false;
@@ -255,12 +287,16 @@ jQuery(document).on('click', '#b2s-btn-curation-share', function () {
255
if (data.result == true) {
256
jQuery('.b2s-loading-area').hide();
257
jQuery('.b2s-curation-post-list-area').show();
258
- jQuery('.b2s-curation-post-list-area').html(data.content);
259
} else {
260
jQuery('.b2s-loading-area').hide();
261
jQuery('.b2s-curation-post-list-area').hide();
262
jQuery('.b2s-curation-settings-area').show();
263
- jQuery('.b2s-curation-preview-area').show();
264
265
if (data.error == 'NO_AUTH') {
266
jQuery('#b2s-curation-no-auth-info').show();
@@ -349,28 +385,41 @@ jQuery(document).on('click', '#b2s-btn-curation-customize', function () {
349
jQuery('#b2s-curation-no-auth-info').hide();
350
jQuery('#b2s-curation-saved-draft-info').hide();
351
var noContent = false;
352
- if (jQuery('#b2s-post-curation-preview-title').val().length === 0) {
353
- jQuery('#b2s-post-curation-preview-title').addClass('error');
354
- noContent = true;
355
- }
356
- if (jQuery('#b2s-post-curation-comment').val().length === 0) {
357
- jQuery('#b2s-post-curation-comment').addClass('error');
358
- noContent = true;
359
}
360
if (noContent) {
361
return false;
362
}
363
- jQuery('#b2s-post-curation-action').val('b2s_curation_customize');
364
jQuery('.b2s-loading-area').show();
365
jQuery('.b2s-curation-settings-area').hide();
366
jQuery('.b2s-curation-preview-area').hide();
367
jQuery.ajax({
368
processData: false,
369
url: ajaxurl,
370
type: "POST",
371
dataType: "json",
372
cache: false,
373
- data: jQuery("#b2s-curation-post-form").serialize() + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val(),
374
error: function () {
375
jQuery('.b2s-server-connection-fail').show();
376
return false;
@@ -446,28 +495,41 @@ jQuery(document).on('click', '#b2s-btn-curation-draft', function () {
446
jQuery('#b2s-curation-no-auth-info').hide();
447
jQuery('#b2s-curation-saved-draft-info').hide();
448
var noContent = false;
449
- if (jQuery('#b2s-post-curation-preview-title').val().length === 0) {
450
- jQuery('#b2s-post-curation-preview-title').addClass('error');
451
- noContent = true;
452
- }
453
- if (jQuery('#b2s-post-curation-comment').val().length === 0) {
454
- jQuery('#b2s-post-curation-comment').addClass('error');
455
- noContent = true;
456
}
457
if (noContent) {
458
return false;
459
}
460
- jQuery('#b2s-post-curation-action').val('b2s_curation_draft');
461
jQuery('.b2s-loading-area').show();
462
jQuery('.b2s-curation-settings-area').hide();
463
jQuery('.b2s-curation-preview-area').hide();
464
jQuery.ajax({
465
processData: false,
466
url: ajaxurl,
467
type: "POST",
468
dataType: "json",
469
cache: false,
470
- data: jQuery("#b2s-curation-post-form").serialize() + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val(),
471
error: function () {
472
jQuery('.b2s-server-connection-fail').show();
473
return false;
@@ -477,27 +539,259 @@ jQuery(document).on('click', '#b2s-btn-curation-draft', function () {
477
if (typeof data.postId != undefined) {
478
jQuery('#b2s-draft-id').val(data.postId);
479
}
480
- jQuery('.b2s-loading-area').hide();
481
- jQuery('.b2s-curation-settings-area').show();
482
- jQuery('.b2s-curation-preview-area').show();
483
jQuery('#b2s-curation-saved-draft-info').show();
484
setTimeout(function () {
485
jQuery('#b2s-curation-saved-draft-info').fadeOut("slow");
486
}, 5000);
487
- return false;
488
} else {
489
- jQuery('.b2s-loading-area').hide();
490
jQuery('#b2s-curation-no-data-info').show();
491
- jQuery('.b2s-curation-settings-area').show();
492
- jQuery('.b2s-curation-preview-area').show();
493
if(data.error == 'nonce') {
494
jQuery('.b2s-nonce-check-fail').show();
495
}
496
}
497
498
}
499
});
500
return false;
501
});
502
503
10
var url_string = window.location.href;
11
var url_param = new URL(url_string);
12
var url = url_param.searchParams.get("url");
13
+ var comment = url_param.searchParams.get("comment");
14
+ var image_id = url_param.searchParams.get("image_id");
15
+ var image_url = url_param.searchParams.get("image_url");
16
+ var postId = url_param.searchParams.get("postId");
17
+ if (typeof postId != "undefined" && postId != "" && postId != null) {
18
+ jQuery('#b2s-draft-id').val(postId);
19
+ }
20
if (typeof url != "undefined" && url != "" && url != null) {
21
jQuery('#b2s-curation-input-url').val(url);
22
jQuery('.b2s-btn-curation-continue').trigger('click');
23
+ } else if(typeof comment != "undefined" && comment != "" && comment != null) {
24
+ jQuery('.b2s-curation-format-image').trigger('click');
25
+ jQuery('.b2s-post-item-details-item-message-input').val(comment);
26
+ if(typeof image_id != "undefined" && image_id != "" && image_id != null && typeof image_url != "undefined" && image_url != "" && image_url != null) {
27
+ jQuery('.b2s-post-item-details-url-image').attr('src', image_url);
28
+ jQuery('.b2s-image-url-hidden-field').val(image_url);
29
+ jQuery('.b2s-image-id-hidden-field').val(image_id);
30
+ jQuery('.b2s-image-remove-btn').show();
31
+ }
32
}
33
});
34
122
jQuery('.b2s-curation-input-area').hide();
123
jQuery('.b2s-curation-settings-area').hide();
124
jQuery('.b2s-curation-preview-area').hide();
125
+ jQuery('.b2s-curation-select').hide();
126
jQuery('.b2s-server-connection-fail').hide();
127
jQuery('#b2s-curation-no-auth-info').hide();
128
jQuery('#b2s-curation-no-review-info').hide();
146
jQuery('.b2s-loading-area').hide();
147
jQuery('.b2s-curation-settings-area').hide();
148
jQuery('.b2s-curation-preview-area').hide();
149
+ jQuery('.b2s-curation-preview-area').show();
150
jQuery('#b2s-btn-curation-customize').prop("disabled", true);
151
jQuery('#b2s-btn-curation-share').prop("disabled", true);
152
return false;
210
jQuery('#b2s-btn-curation-customize').prop("disabled", true);
211
jQuery('#b2s-btn-curation-share').prop("disabled", true);
212
}
213
+ jQuery('.b2s-curation-select').show();
214
if (data.scrapeError == true) {
215
jQuery('#b2s-post-curation-preview-title').attr('type', 'text');
216
}
236
});
237
238
jQuery(document).on('click', '#b2s-btn-curation-share', function () {
239
jQuery('#b2s-curation-no-data-info').hide();
240
jQuery('#b2s-curation-no-auth-info').hide();
241
jQuery('#b2s-curation-saved-draft-info').hide();
242
+ jQuery('.b2s-post-curation-action').val('b2s_curation_share');
243
var noContent = false;
244
+ if(jQuery('#b2s-curation-post-format').val() == '0') {
245
+ if (jQuery('#b2s-post-curation-preview-title').val().length === 0) {
246
+ jQuery('#b2s-post-curation-preview-title').addClass('error');
247
+ noContent = true;
248
+ }
249
+ if (jQuery('#b2s-post-curation-comment').val().length === 0) {
250
+ jQuery('#b2s-post-curation-comment').addClass('error');
251
+ noContent = true;
252
+ }
253
+ } else {
254
+ if (jQuery('.b2s-image-url-hidden-field').val().length === 0) {
255
+ jQuery('.b2s-post-item-details-url-image').addClass('error');
256
+ noContent = true;
257
+ }
258
+ if (jQuery('.b2s-post-item-details-item-message-input').val().length === 0) {
259
+ jQuery('.b2s-post-item-details-item-message-input').addClass('error');
260
+ noContent = true;
261
+ }
262
}
263
if (noContent) {
264
return false;
265
}
266
+
267
+ jQuery('.b2s-curation-post-list').html("");
268
+ jQuery('.b2s-curation-post-list-area').hide();
269
jQuery('.b2s-loading-area').show();
270
jQuery('.b2s-curation-settings-area').hide();
271
jQuery('.b2s-curation-preview-area').hide();
272
+ jQuery('.b2s-curation-image-area').hide();
273
+ jQuery('.b2s-curation-select').hide();
274
+
275
jQuery.ajax({
276
processData: false,
277
url: ajaxurl,
278
type: "POST",
279
dataType: "json",
280
cache: false,
281
+ data: jQuery("#b2s-curation-post-form").serialize() + '&postFormat='+jQuery('#b2s-curation-post-format').val() + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val(),
282
error: function () {
283
jQuery('.b2s-server-connection-fail').show();
284
return false;
287
if (data.result == true) {
288
jQuery('.b2s-loading-area').hide();
289
jQuery('.b2s-curation-post-list-area').show();
290
+ jQuery('.b2s-curation-post-list').html(data.content);
291
} else {
292
jQuery('.b2s-loading-area').hide();
293
jQuery('.b2s-curation-post-list-area').hide();
294
jQuery('.b2s-curation-settings-area').show();
295
+ if(jQuery('#b2s-curation-post-format').val() == '0') {
296
+ jQuery('.b2s-curation-preview-area').show();
297
+ } else {
298
+ jQuery('.b2s-curation-image-area').show();
299
+ }
300
301
if (data.error == 'NO_AUTH') {
302
jQuery('#b2s-curation-no-auth-info').show();
385
jQuery('#b2s-curation-no-auth-info').hide();
386
jQuery('#b2s-curation-saved-draft-info').hide();
387
var noContent = false;
388
+ if(jQuery('#b2s-curation-post-format').val() == '0') {
389
+ if (jQuery('#b2s-post-curation-preview-title').val().length === 0) {
390
+ jQuery('#b2s-post-curation-preview-title').addClass('error');
391
+ noContent = true;
392
+ }
393
+ if (jQuery('#b2s-post-curation-comment').val().length === 0) {
394
+ jQuery('#b2s-post-curation-comment').addClass('error');
395
+ noContent = true;
396
+ }
397
+ } else {
398
+ if (jQuery('.b2s-image-url-hidden-field').val().length === 0) {
399
+ jQuery('.b2s-post-item-details-url-image').addClass('error');
400
+ noContent = true;
401
+ }
402
+ if (jQuery('.b2s-post-item-details-item-message-input').val().length === 0) {
403
+ jQuery('.b2s-post-item-details-item-message-input').addClass('error');
404
+ noContent = true;
405
+ }
406
}
407
if (noContent) {
408
return false;
409
}
410
+ jQuery('.b2s-post-curation-action').val('b2s_curation_customize');
411
jQuery('.b2s-loading-area').show();
412
jQuery('.b2s-curation-settings-area').hide();
413
jQuery('.b2s-curation-preview-area').hide();
414
+ jQuery('.b2s-curation-image-area').hide();
415
+ jQuery('.b2s-curation-select').hide();
416
jQuery.ajax({
417
processData: false,
418
url: ajaxurl,
419
type: "POST",
420
dataType: "json",
421
cache: false,
422
+ data: jQuery("#b2s-curation-post-form").serialize() + '&postFormat='+jQuery('#b2s-curation-post-format').val() + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val(),
423
error: function () {
424
jQuery('.b2s-server-connection-fail').show();
425
return false;
495
jQuery('#b2s-curation-no-auth-info').hide();
496
jQuery('#b2s-curation-saved-draft-info').hide();
497
var noContent = false;
498
+ if(jQuery('#b2s-curation-post-format').val() == '0') {
499
+ if (jQuery('#b2s-post-curation-preview-title').val().length === 0) {
500
+ jQuery('#b2s-post-curation-preview-title').addClass('error');
501
+ noContent = true;
502
+ }
503
+ if (jQuery('#b2s-post-curation-comment').val().length === 0) {
504
+ jQuery('#b2s-post-curation-comment').addClass('error');
505
+ noContent = true;
506
+ }
507
+ } else {
508
+ if (jQuery('.b2s-image-url-hidden-field').val().length === 0) {
509
+ jQuery('.b2s-post-item-details-url-image').addClass('error');
510
+ noContent = true;
511
+ }
512
+ if (jQuery('.b2s-post-item-details-item-message-input').val().length === 0) {
513
+ jQuery('.b2s-post-item-details-item-message-input').addClass('error');
514
+ noContent = true;
515
+ }
516
}
517
if (noContent) {
518
return false;
519
}
520
+ jQuery('.b2s-post-curation-action').val('b2s_curation_draft');
521
jQuery('.b2s-loading-area').show();
522
jQuery('.b2s-curation-settings-area').hide();
523
jQuery('.b2s-curation-preview-area').hide();
524
+ jQuery('.b2s-curation-image-area').hide();
525
+ jQuery('.b2s-curation-select').hide();
526
jQuery.ajax({
527
processData: false,
528
url: ajaxurl,
529
type: "POST",
530
dataType: "json",
531
cache: false,
532
+ data: jQuery("#b2s-curation-post-form").serialize() + '&postFormat='+jQuery('#b2s-curation-post-format').val() + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val(),
533
error: function () {
534
jQuery('.b2s-server-connection-fail').show();
535
return false;
539
if (typeof data.postId != undefined) {
540
jQuery('#b2s-draft-id').val(data.postId);
541
}
542
jQuery('#b2s-curation-saved-draft-info').show();
543
setTimeout(function () {
544
jQuery('#b2s-curation-saved-draft-info').fadeOut("slow");
545
}, 5000);
546
} else {
547
jQuery('#b2s-curation-no-data-info').show();
548
if(data.error == 'nonce') {
549
jQuery('.b2s-nonce-check-fail').show();
550
}
551
}
552
+ jQuery('.b2s-loading-area').hide();
553
+ jQuery('.b2s-curation-settings-area').show();
554
+ if(jQuery('#b2s-curation-post-format').val() == '0') {
555
+ jQuery('.b2s-curation-preview-area').show();
556
+ } else {
557
+ jQuery('.b2s-curation-image-area').show();
558
+ }
559
+ jQuery('.b2s-curation-select').show();
560
561
}
562
});
563
return false;
564
});
565
566
+ jQuery(document).on('click', '.b2s-curation-format-link', function() {
567
+ if(jQuery(this).hasClass('btn-primary')){
568
+ return false;
569
+ }
570
+ jQuery('#b2s-post-curation-comment').val(jQuery('#b2s-post-curation-comment-image').val());
571
+ jQuery('#b2s-curation-post-format').val('0');
572
+ jQuery('.b2s-curation-format-link').removeClass('btn-light').addClass('btn-primary');
573
+ jQuery('.b2s-curation-format-image').removeClass('btn-primary').addClass('btn-light');
574
+ jQuery('.b2s-loading-area').hide();
575
+ jQuery('.b2s-curation-link-area').show();
576
+ jQuery('.b2s-curation-image-area').hide();
577
+ if(jQuery('.b2s-curation-input-area').is(':visible')){
578
+ jQuery('.b2s-curation-settings-area').hide();
579
+ } else {
580
+ jQuery('.b2s-curation-settings-area').show();
581
+ }
582
+ });
583
+
584
+ jQuery(document).on('click', '.b2s-curation-format-image', function() {
585
+ if(jQuery(this).hasClass('btn-primary')){
586
+ return false;
587
+ }
588
+ jQuery('#b2s-post-curation-comment-image').val(jQuery('#b2s-post-curation-comment').val());
589
+ jQuery('#b2s-curation-post-format').val('1');
590
+ jQuery('.b2s-loading-area').show();
591
+ jQuery('.b2s-curation-link-area').hide();
592
+ jQuery('.b2s-curation-image-area').hide();
593
+ jQuery('.b2s-curation-format-image').removeClass('btn-light').addClass('btn-primary');
594
+ jQuery('.b2s-curation-format-link').removeClass('btn-primary').addClass('btn-light');
595
+ if(jQuery('.b2s-curation-settings-area').html().length == 0) {
596
+ jQuery.ajax({
597
+ url: ajaxurl,
598
+ type: "GET",
599
+ dataType: "json",
600
+ cache: false,
601
+ data: {
602
+ 'action': 'b2s_get_curation_ship_details',
603
+ 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
604
+ },
605
+ error: function () {
606
+ jQuery('.b2s-server-connection-fail').show();
607
+ return false;
608
+ },
609
+ success: function (data) {
610
+ if(jQuery('.b2s-curation-format-image').hasClass('btn-primary')) {
611
+ if (data.result == true) {
612
+ jQuery('.b2s-curation-settings-area').html(data.settings);
613
+ jQuery('#b2s-post-curation-profile-select [value="0"]').prop('selected', true).trigger('change');
614
+ jQuery('.b2s-loading-area').hide();
615
+ jQuery('.b2s-curation-image-area').show();
616
+ jQuery('.b2s-curation-settings-area').show();
617
+ return false;
618
+ } else {
619
+ jQuery('.b2s-loading-area').hide();
620
+ if(data.error == 'nonce') {
621
+ jQuery('.b2s-nonce-check-fail').show();
622
+ }
623
+ if (data.error == "NO_AUTH") {
624
+ jQuery('.b2s-curation-image-area').show();
625
+ jQuery('.b2s-curation-settings-area').hide();
626
+ jQuery('#b2s-curation-no-auth-info').show();
627
+ jQuery('#b2s-curation-no-review-info').hide();
628
+ jQuery('#b2s-curation-no-data-info').hide();
629
+ }
630
+ jQuery('#b2s-btn-curation-customize').prop("disabled", true);
631
+ jQuery('#b2s-btn-curation-share').prop("disabled", true);
632
+ }
633
+ }
634
+ }
635
+ });
636
+ } else {
637
+ jQuery('.b2s-loading-area').hide();
638
+ jQuery('.b2s-curation-image-area').show();
639
+ jQuery('.b2s-curation-settings-area').show();
640
+ }
641
+ return false;
642
+ });
643
+
644
+ var emojiTranslation = JSON.parse(jQuery('#b2sEmojiTranslation').val());
645
+ var picker = new EmojiButton({
646
+ position: 'auto',
647
+ autoHide: false,
648
+ i18n: {
649
+ search: emojiTranslation['search'],
650
+ categories: {
651
+ recents: emojiTranslation['recents'],
652
+ smileys: emojiTranslation['smileys'],
653
+ animals: emojiTranslation['animals'],
654
+ food: emojiTranslation['food'],
655
+ activities: emojiTranslation['activities'],
656
+ travel: emojiTranslation['travel'],
657
+ objects: emojiTranslation['objects'],
658
+ symbols: emojiTranslation['symbols'],
659
+ flags: emojiTranslation['flags']
660
+ },
661
+ notFound: emojiTranslation['notFound']
662
+ }
663
+ });
664
+ picker.on('emoji', function(emoji){
665
+ if(jQuery('#b2s-curation-post-format').val() == '0') {
666
+ var text = jQuery('#b2s-post-curation-comment').val();
667
+ var start = jQuery('#b2s-post-curation-comment').attr('selectionStart');
668
+ var end = jQuery('#b2s-post-curation-comment').attr('selectionEnd');
669
+ } else {
670
+ var text = jQuery('#b2s-post-curation-comment-image').val();
671
+ var start = jQuery('#b2s-post-curation-comment-image').attr('selectionStart');
672
+ var end = jQuery('#b2s-post-curation-comment-image').attr('selectionEnd');
673
+ }
674
+ if(typeof start == 'undefined' || typeof end == 'undefined'){
675
+ start = text.length;
676
+ end = text.length;
677
+ }
678
+ var newText = text.slice(0, start) + emoji + text.slice(end);
679
+ jQuery('.b2s-post-item-details-item-message-input').val(newText);
680
+ jQuery('.b2s-post-item-details-item-message-input').focus();
681
+ jQuery('.b2s-post-item-details-item-message-input').prop("selectionStart", parseInt(start)+emoji.length);
682
+ jQuery('.b2s-post-item-details-item-message-input').prop("selectionEnd", parseInt(start)+emoji.length);
683
+ jQuery('.b2s-post-item-details-item-message-input').trigger('keyup');
684
+ });
685
+
686
+ jQuery(document).on('click', '.b2s-post-item-details-item-message-emoji-btn', function() {
687
+ if(picker.pickerVisible) {
688
+ picker.hidePicker();
689
+ } else {
690
+ currentEmojiNetworkAuthId = jQuery(this).attr('data-network-auth-id');
691
+ currentEmojiNetworkCount = jQuery(this).attr('data-network-count');
692
+ picker.showPicker(jQuery(this));
693
+ }
694
+ });
695
+
696
+ jQuery(document).on('mousedown mouseup keydown keyup', '.b2s-post-item-details-item-message-input', function () {
697
+ var tb = jQuery(this).get(0);
698
+ jQuery(this).attr('selectionStart', tb.selectionStart);
699
+ jQuery(this).attr('selectionEnd', tb.selectionEnd);
700
+ });
701
+
702
+ jQuery(document).on('click', '.b2s-post-item-details-url-image', function() {
703
+ jQuery('.b2s-select-image-modal-open').trigger('click');
704
+ });
705
706
+ jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
707
+ jQuery('#b2s-network-select-image').modal('show');
708
+ return false;
709
+ });
710
+
711
+ jQuery(document).on('click', '.b2s-upload-image', function () {
712
+ if (typeof wp !== 'undefined' && wp.media && wp.media.editor) {
713
+ jQuery('#b2s-network-select-image').modal('hide');
714
+ wpMedia = wp.media({
715
+ title: jQuery('#b2s_wp_media_headline').val(),
716
+ button: {
717
+ text: jQuery('#b2s_wp_media_btn').val(),
718
+ },
719
+ multiple: false,
720
+ library: {type: 'image'}
721
+ });
722
+ wpMedia.open();
723
+ wpMedia.on('select', function () {
724
+ var count = parseInt(jQuery('.b2s-choose-image-count').val());
725
+ count = count + 1;
726
+ jQuery('.b2s-choose-image-count').val(count);
727
+ var attachment = wpMedia.state().get('selection').first().toJSON();
728
+ var content = '<div class="b2s-image-item">' +
729
+ '<div class="b2s-image-item-thumb">' +
730
+ '<label for="b2s-image-count-' + count + '">' +
731
+ '<img class="img-thumbnail networkImage" alt="blogImage" src="' + attachment.url + '">' +
732
+ '</label>' +
733
+ '</div>' +
734
+ '<div class="b2s-image-item-caption text-center">' +
735
+ '<div class="b2s-image-item-caption-resolution clearfix small"></div>' +
736
+ '<input type="radio" value="' + attachment.url + '" data-src="' + attachment.url + '" data-id="' + attachment.id + '" class="checkNetworkImage" name="image_url" id="b2s-image-count-' + count + '">' +
737
+ '</div>' +
738
+ '</div>';
739
+ jQuery('.b2s-image-choose-area').html(jQuery('.b2s-image-choose-area').html() + content);
740
+ jQuery('.b2s-choose-image-no-image-info-text').hide();
741
+ jQuery('.b2s-choose-image-no-image-extra-btn').hide();
742
+ jQuery('.b2s-upload-image-invalid-extension').hide();
743
+ jQuery('input[name=image_url]:last').prop("checked", true);
744
+ jQuery('#b2s-network-select-image').modal('show');
745
+ });
746
+ wpMedia.on('close', function () {
747
+ jQuery('#b2s-network-select-image').modal('show');
748
+ });
749
+ } else {
750
+ jQuery('.b2s-upload-image-no-permission').show();
751
+ }
752
+ return false;
753
+ });
754
+
755
+ jQuery(document).on('click', '.b2s-image-change', function () {
756
+ if (jQuery('input[name=image_url]:checked').length > 0) {
757
+ jQuery('.b2s-post-item-details-url-image').attr('src', jQuery('input[name=image_url]:checked').val());
758
+ jQuery('.b2s-image-url-hidden-field').val(jQuery('input[name=image_url]:checked').val());
759
+ jQuery('.b2s-image-id-hidden-field').val(jQuery('input[name=image_url]:checked').data('id'));
760
+ jQuery('.b2s-image-remove-btn').show();
761
+ jQuery('.b2s-upload-image-invalid-extension').hide();
762
+ jQuery('.b2s-upload-image-no-permission').hide();
763
+ jQuery('.b2s-upload-image-free-version-info').hide();
764
+ jQuery('.b2s-post-item-details-url-image').removeClass('error');
765
+ }
766
+ jQuery('#b2s-network-select-image').modal('hide');
767
+ return false;
768
+ });
769
+
770
+ jQuery(document).on('click', '.b2s-image-remove-btn', function () {
771
+ var defaultImage = jQuery('#b2sDefaultNoImage').val();
772
+ //default
773
+ jQuery('.b2s-post-item-details-url-image').attr('src', defaultImage);
774
+ jQuery('.b2s-image-url-hidden-field').val("");
775
+ jQuery('.b2s-image-id-hidden-field').val("");
776
+ jQuery('.b2s-image-remove-btn').hide();
777
+ return false;
778
+ });
779
+
780
+ jQuery(document).on('keyup', '.b2s-post-item-details-item-message-input', function() {
781
+ jQuery(this).removeClass('error');
782
+ });
783
+
784
+ jQuery(document).on('click', '.b2s-curation-info-premium-btn', function () {
785
+ jQuery('#b2sInfoCCModal').modal('show');
786
+ });
787
+
788
+ jQuery(document).on('click', '.b2s-re-share-btn', function() {
789
+ jQuery('.b2s-curation-post-list-area').hide();
790
+ jQuery('.b2s-curation-settings-area').show();
791
+ jQuery('.b2s-curation-select').show();
792
+ if(jQuery('#b2s-curation-post-format').val() == '0') {
793
+ jQuery('.b2s-curation-preview-area').show();
794
+ } else {
795
+ jQuery('.b2s-curation-image-area').show();
796
+ }
797
+ });
assets/js/b2s/network.js CHANGED
@@ -15,6 +15,11 @@ jQuery(window).on("load", function () {
15
jQuery('.b2s-network-item-auth-list[data-network-count="true"]').each(function () {
16
jQuery('.b2s-network-auth-count-current[data-network-id="' + jQuery(this).attr("data-network-id") + '"').text(jQuery(this).children('li').length - 1);
17
});
18
});
19
20
@@ -250,11 +255,13 @@ jQuery(document).on('click', '.b2s-network-item-team-btn-manage', function () {
250
if (jQuery('#b2s-select-assign-user').html() == '') {
251
jQuery('#b2s-select-assign-user').attr('disabled', true);
252
jQuery('#b2s-assign-network-user-auth').attr('disabled', true);
253
jQuery('#b2s-assign-info').hide();
254
jQuery('#b2s-no-assign-user').show();
255
} else {
256
jQuery('#b2s-select-assign-user').removeAttr('disabled');
257
jQuery('#b2s-assign-network-user-auth').removeAttr('disabled');
258
jQuery('#b2s-no-assign-user').hide();
259
jQuery('#b2s-assign-info').show();
260
}
@@ -413,6 +420,8 @@ jQuery(document).on('click', '#b2s-assign-network-user-auth', function () {
413
'action': 'b2s_assign_network_user_auth',
414
'networkAuthId': authId,
415
'assignBlogUserId': assignBlogUserId,
416
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
417
},
418
error: function () {
@@ -431,6 +440,7 @@ jQuery(document).on('click', '#b2s-assign-network-user-auth', function () {
431
jQuery('#b2s-select-assign-user option[value="' + assignBlogUserId + '"]').remove();
432
if (jQuery('#b2s-select-assign-user').html() == '') {
433
jQuery('#b2s-select-assign-user').attr('disabled', true);
434
jQuery('#b2s-assign-info').hide();
435
jQuery('#b2s-no-assign-user').show();
436
}
@@ -1172,17 +1182,6 @@ jQuery(document).on('click', '.b2s-edit-template-save-btn', function () {
1172
if (jQuery('#b2sUserVersion').val() < 1 && jQuery('#b2s-edit-template-network-id').val() != 1) {
1173
return false;
1174
}
1175
- var contentError = false;
1176
- jQuery('.b2s-edit-template-post-content').each(function (i, obj) {
1177
- jQuery(obj).removeClass('error');
1178
- if (jQuery(obj).val() == "") {
1179
- jQuery(obj).addClass('error');
1180
- contentError = true;
1181
- }
1182
- });
1183
- if (contentError) {
1184
- return false;
1185
- }
1186
1187
if (jQuery('#b2s-edit-template-network-id').val() == 12) {
1188
var matches = jQuery('.b2s-edit-template-post-content').val().match(/#/g);
@@ -1306,10 +1305,15 @@ jQuery(document).on('click', '.b2s-auth-network-6-login-btn', function () {
1306
'location': jQuery('#b2s-auth-network-6-location').val(),
1307
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1308
},
1309
- error: function () {
1310
jQuery('.b2s-loading-area').hide();
1311
jQuery('.b2s-auth-network-6-login-area').show();
1312
jQuery('.b2s-auth-network-6-login-btn').show();
1313
return false;
1314
},
1315
success: function (data) {
@@ -1356,9 +1360,15 @@ jQuery(document).on('click', '.b2s-auth-network-6-confirm-btn', function () {
1356
'networkAuthId': jQuery('#b2s-auth-network-6-auth-id').val(),
1357
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1358
},
1359
- error: function () {
1360
jQuery('.b2s-loading-area').hide();
1361
jQuery('.b2s-auth-network-6-login-area').show();
1362
return false;
1363
},
1364
success: function (data) {
15
jQuery('.b2s-network-item-auth-list[data-network-count="true"]').each(function () {
16
jQuery('.b2s-network-auth-count-current[data-network-id="' + jQuery(this).attr("data-network-id") + '"').text(jQuery(this).children('li').length - 1);
17
});
18
+
19
+ if(jQuery('#b2sHasXingBusinessPage').length > 0) {
20
+ jQuery('#b2sXingBusinessPageInfo').show();
21
+ }
22
+
23
});
24
25
255
if (jQuery('#b2s-select-assign-user').html() == '') {
256
jQuery('#b2s-select-assign-user').attr('disabled', true);
257
jQuery('#b2s-assign-network-user-auth').attr('disabled', true);
258
+ jQuery('.b2s-network-assign-option').hide();
259
jQuery('#b2s-assign-info').hide();
260
jQuery('#b2s-no-assign-user').show();
261
} else {
262
jQuery('#b2s-select-assign-user').removeAttr('disabled');
263
jQuery('#b2s-assign-network-user-auth').removeAttr('disabled');
264
+ jQuery('.b2s-network-assign-option').show();
265
jQuery('#b2s-no-assign-user').hide();
266
jQuery('#b2s-assign-info').show();
267
}
420
'action': 'b2s_assign_network_user_auth',
421
'networkAuthId': authId,
422
'assignBlogUserId': assignBlogUserId,
423
+ 'optionBestTimes': jQuery('#b2s-network-assign-option-best-times').is(':checked'),
424
+ 'optionPostingTemplate': jQuery('#b2s-network-assign-option-posting-template').is(':checked'),
425
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
426
},
427
error: function () {
440
jQuery('#b2s-select-assign-user option[value="' + assignBlogUserId + '"]').remove();
441
if (jQuery('#b2s-select-assign-user').html() == '') {
442
jQuery('#b2s-select-assign-user').attr('disabled', true);
443
+ jQuery('.b2s-network-assign-option').hide();
444
jQuery('#b2s-assign-info').hide();
445
jQuery('#b2s-no-assign-user').show();
446
}
1182
if (jQuery('#b2sUserVersion').val() < 1 && jQuery('#b2s-edit-template-network-id').val() != 1) {
1183
return false;
1184
}
1185
1186
if (jQuery('#b2s-edit-template-network-id').val() == 12) {
1187
var matches = jQuery('.b2s-edit-template-post-content').val().match(/#/g);
1305
'location': jQuery('#b2s-auth-network-6-location').val(),
1306
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1307
},
1308
+ error: function (jqXHR) {
1309
jQuery('.b2s-loading-area').hide();
1310
jQuery('.b2s-auth-network-6-login-area').show();
1311
jQuery('.b2s-auth-network-6-login-btn').show();
1312
+ if(jqXHR.status == 403) {
1313
+ jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
1314
+ } else {
1315
+ jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
1316
+ }
1317
return false;
1318
},
1319
success: function (data) {
1360
'networkAuthId': jQuery('#b2s-auth-network-6-auth-id').val(),
1361
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1362
},
1363
+ error: function (jqXHR) {
1364
jQuery('.b2s-loading-area').hide();
1365
jQuery('.b2s-auth-network-6-login-area').show();
1366
+ jQuery('.b2s-auth-network-6-confirm-btn').show();
1367
+ if(jqXHR.status == 403) {
1368
+ jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
1369
+ } else {
1370
+ jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
1371
+ }
1372
return false;
1373
},
1374
success: function (data) {
assets/js/b2s/post.js CHANGED
@@ -669,27 +669,10 @@ function showEditSchedPost(b2s_id, post_id, network_auth_id, network_type, netwo
669
} else {
670
jQuery('.b2sChangeCardMeta[data-network-auth-id="' + network_auth_id + '"]').val("1");
671
}
672
-
673
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
674
- if (network_id == 1 && network_type == 0) {
675
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", false);
676
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').show();
677
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + network_auth_id + '"]').show();
678
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + network_auth_id + '"]').hide();
679
- }
680
-
681
} else {
682
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
683
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
684
jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + network_id + '"]').hide();
685
-
686
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
687
- if (network_id == 1 && network_type == 0) {
688
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
689
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + network_auth_id + '"]').hide();
690
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + network_auth_id + '"]').hide();
691
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + network_auth_id + '"]').show();
692
- }
693
}
694
695
//Content Curation
@@ -895,7 +878,7 @@ function checkSchedDateTime() {
895
//utc current time
896
var now = new Date();
897
//offset between utc und user
898
- var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
899
//enter hour to user time
900
var hour = parseInt(minParts3[0]) + timeZone + offset;
901
//calculate datetime in utc
@@ -976,4 +959,49 @@ jQuery(document).on('click', '.b2s-draft-delete-confirm-btn', function () {
976
return true;
977
}
978
});
979
});
669
} else {
670
jQuery('.b2sChangeCardMeta[data-network-auth-id="' + network_auth_id + '"]').val("1");
671
}
672
} else {
673
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
674
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
675
jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + network_id + '"]').hide();
676
}
677
678
//Content Curation
878
//utc current time
879
var now = new Date();
880
//offset between utc und user
881
+ var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
882
//enter hour to user time
883
var hour = parseInt(minParts3[0]) + timeZone + offset;
884
//calculate datetime in utc
959
return true;
960
}
961
});
962
+ });
963
+
964
+ jQuery(document).on('click', '.b2sFavoriteStar', function () {
965
+ jQuery(this).addClass('b2sFavoriteStarLoading');
966
+ var postId = jQuery(this).data('post-id');
967
+ var newStatus = (jQuery(this).data('is-favorite') == "1" ? 0 : 1);
968
+ jQuery.ajax({
969
+ url: ajaxurl,
970
+ type: "POST",
971
+ dataType: "json",
972
+ cache: false,
973
+ data: {
974
+ 'action': 'b2s_change_favorite_status',
975
+ 'postId': postId,
976
+ 'setStatus': newStatus,
977
+ 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
978
+ },
979
+ error: function () {
980
+ jQuery('.b2sFavoriteStar[data-post-id="'+postId+'"]').removeClass('b2sFavoriteStarLoading');
981
+ jQuery('.b2s-server-connection-fail').show();
982
+ return false;
983
+ },
984
+ success: function (data) {
985
+ if (data.result == true) {
986
+ jQuery('.b2sFavoriteStar[data-post-id="'+postId+'"]').data('is-favorite', newStatus);
987
+ if(newStatus == 1){
988
+ jQuery('.b2sFavoriteStar[data-post-id="'+postId+'"]').removeClass('glyphicon-star-empty');
989
+ jQuery('.b2sFavoriteStar[data-post-id="'+postId+'"]').addClass('glyphicon-star');
990
+ } else {
991
+ jQuery('.b2sFavoriteStar[data-post-id="'+postId+'"]').removeClass('glyphicon-star');
992
+ jQuery('.b2sFavoriteStar[data-post-id="'+postId+'"]').addClass('glyphicon-star-empty');
993
+ }
994
+ if(jQuery('#b2sType').val() == 'favorites') {
995
+ jQuery('.b2s-favorite-list-entry[data-post-id="'+postId+'"]').remove();
996
+ if(jQuery('.b2s-favorite-list-entry').length == 0) {
997
+ jQuery('.b2s-sort-result-item-area').html('<li class="list-group-item"><div class="media"><div class="media-body"></div>'+jQuery('#b2sNoFavoritesText').val()+'</div></li>');
998
+ jQuery('.b2s-sort-pagination-area').hide();
999
+ }
1000
+ }
1001
+ }
1002
+ jQuery('.b2sFavoriteStar[data-post-id="'+postId+'"]').removeClass('b2sFavoriteStarLoading');
1003
+ return true;
1004
+ }
1005
+ });
1006
+
1007
});
assets/js/b2s/ship.js CHANGED
@@ -110,6 +110,26 @@ jQuery.sceditor.command.set(
110
jQuery('#b2sInsertImageType').val("1");
111
imageSize();
112
}, tooltip: "Image"});
113
114
115
jQuery(document).on('click', '.b2s-toogle-calendar-btn', function () {
@@ -613,7 +633,7 @@ jQuery(document).on("click", ".b2s-user-network-settings-post-format", function
613
jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + networkId + '"]').html(postFormatText[postFormatType][postFormat]);
614
jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(postFormat);
615
}
616
- if (jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').attr('data-meta-type') == 'og') {
617
if (currentOGImage == '' && jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val() != '') {
618
currentOGImage = jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val();
619
if (postFormat == "0") {
@@ -693,41 +713,28 @@ jQuery(document).on("click", ".b2s-user-network-settings-post-format", function
693
}
694
}
695
696
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
697
- if (networkId == 1 && networkType == 0) {
698
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
699
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').show();
700
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').show();
701
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + networkAuthId + '"]').hide();
702
-
703
- }
704
-
705
} else {
706
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
707
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
708
jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
709
-
710
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
711
- if (networkId == 1 && networkType == 0) {
712
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
713
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').hide();
714
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').hide();
715
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + networkAuthId + '"]').show();
716
- }
717
}
718
719
//Content Curation V5.0.0
720
if (postType == "ex") {
721
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
722
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
723
- jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
724
jQuery('.b2s-load-info-meta-tag-modal[data-network-auth-id="' + networkAuthId + '"]').attr("style", "display:none !important");
725
if (postFormat == '0') {
726
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').hide();
727
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
728
} else {
729
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').show();
730
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
731
}
732
if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"]').val() == 1) {
733
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"][data-network-count="-1"]').hide();
@@ -880,33 +887,21 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
880
jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val());
881
}
882
883
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
884
- if (networkId == 1 && networkType == 0) {
885
- if (jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + networkAuthId + '"]').val() == "1") {
886
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
887
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').hide();
888
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').hide();
889
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + networkAuthId + '"]').show();
890
- } else {
891
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
892
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').show();
893
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').show();
894
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + networkAuthId + '"]').hide();
895
- }
896
- }
897
-
898
//Content Curation
899
- if (jQuery('.b2s-post-ship-item-post-format[data-network-auth-id="' + networkAuthId + '"]').attr('data-post-wp-type') == 'ex') {
900
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
901
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
902
- jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
903
jQuery('.b2s-load-info-meta-tag-modal[data-network-auth-id="' + networkAuthId + '"]').attr("style", "display:none !important");
904
if (jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + networkAuthId + '"]').val() == 0) {
905
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').hide();
906
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
907
} else {
908
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').show();
909
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
910
}
911
if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"]').val() == 1) {
912
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"][data-network-count="-1"]').hide();
@@ -1139,21 +1134,6 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
1139
}
1140
1141
1142
- //Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
1143
- if (data.networkId == 1 && data.networkType == 0) {
1144
- if (jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + data.networkAuthId + '"]').val() == "1") {
1145
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
1146
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').hide();
1147
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').hide();
1148
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + data.networkAuthId + '"]').show();
1149
- } else {
1150
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", false);
1151
- jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').show();
1152
- jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').show();
1153
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + data.networkAuthId + '"]').hide();
1154
- }
1155
- }
1156
-
1157
//Twitter TOS 032018 - protected multiple accounts with same content to same time
1158
//delete comment field one more
1159
if (data.networkId == 2) {
@@ -1173,10 +1153,9 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
1173
}
1174
1175
//Content Curation
1176
- if (jQuery('.b2s-post-ship-item-post-format[data-network-auth-id="' + data.networkAuthId + '"]').attr('data-post-wp-type') == 'ex') {
1177
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
1178
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
1179
- jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
1180
jQuery('.b2s-load-info-meta-tag-modal[data-network-auth-id="' + data.networkAuthId + '"]').attr("style", "display:none !important");
1181
if (jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + data.networkAuthId + '"]').val() == 0) {
1182
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + data.networkAuthId + '"]').hide();
@@ -1189,6 +1168,12 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
1189
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + data.networkAuthId + '"][data-network-count="-1"]').hide();
1190
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"][data-network-count="-1"]').hide();
1191
}
1192
}
1193
1194
}
@@ -1318,6 +1303,10 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
1318
});
1319
}
1320
1321
jQuery.each(data.draftActions.tags, function (index, value) {
1322
if (index >= 1) {
1323
jQuery('.ad-tag-btn[data-network-auth-id="' + data.networkAuthId + '"]').trigger('click');
@@ -1618,13 +1607,6 @@ jQuery(document).on('click', '.b2s-re-share-btn', function () {
1618
}
1619
});
1620
1621
- //Approve
1622
- jQuery('.b2s-post-item-details-post-format').each(function () {
1623
- if (jQuery(this).attr('data-network-id') == "1" && jQuery(this).attr('data-network-type') == '0' && jQuery(this).val() == "1") {
1624
- jQuery('.b2s-post-approve-info[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"').show();
1625
- }
1626
- });
1627
-
1628
return false;
1629
});
1630
jQuery(document).on('click', '.b2s-post-item-details-release-input-add', function () {
@@ -1745,6 +1727,7 @@ jQuery(document).on('click', '.b2s-post-item-details-preview-url-reload', functi
1745
'postId': jQuery('#b2sPostId').val(),
1746
'defaultUrl': jQuery('#b2sDefault_url').val(),
1747
'url': url,
1748
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1749
},
1750
error: function () {
@@ -1789,7 +1772,7 @@ jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
1789
var authId = jQuery(this).attr('data-network-auth-id');
1790
var countId = jQuery(this).attr('data-network-count');
1791
var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + authId + ']').val();
1792
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + authId + ']').attr("data-network-id");
1793
var isMetaChecked = false;
1794
var ogMetaNetworks = jQuery('#ogMetaNetworks').val().split(";");
1795
if (typeof networkId != 'undefined' && jQuery.inArray(networkId.toString(), ogMetaNetworks) != -1 && jQuery('#isOgMetaChecked').val() == "1") {
@@ -1969,7 +1952,7 @@ jQuery(document).on('click', '.b2s-image-change-this-network', function () {
1969
1970
//add check linkpost change meta tag image for this network
1971
var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
1972
- var networkId = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
1973
if (typeof postFormat !== typeof undefined && postFormat !== false) {
1974
if (networkId != 12) { // ignore for instagram
1975
if (postFormat == "0") { //if linkpost
@@ -2385,7 +2368,6 @@ jQuery("#b2sNetworkSent").validate({
2385
jQuery('.b2s-post-item-details-edit-area[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').hide();
2386
jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').show();
2387
jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').html(content[i]['html']);
2388
- jQuery('.b2s-post-approve-info').hide();
2389
jQuery('.b2s-content-info').hide();
2390
if (typeof content[i]['approve'] !== typeof undefined) {
2391
jQuery('.panel-group[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').addClass('b2s-border-color-warning');
@@ -2644,10 +2626,14 @@ function initSceditor(networkAuthId) {
2644
if (typeof sceditor !== 'undefined' && typeof sceditor.destroy == 'function') {
2645
sceditor.destroy();
2646
}
2647
-
2648
jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor({
2649
plugins: 'xhtml',
2650
- toolbar: "h1,h2,bold,italic,link,unlink,custom-image|source",
2651
autoUpdate: true,
2652
emoticonsEnabled: false
2653
});
@@ -2824,14 +2810,7 @@ function releaseChoose(choose, dataNetworkAuthId, dataNetworkCount) {
2824
//since 4.8.0 customize content
2825
if (jQuery('.b2s-post-item-details-release-input-date-select' + selectorInput).attr('data-network-customize-content') == "1") {
2826
jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').removeAttr('disabled');
2827
-
2828
- //Facebook TOS
2829
- if (jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').attr('readonly')) {
2830
- jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').hide();
2831
- } else {
2832
- jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').show();
2833
- }
2834
-
2835
jQuery('.b2s-post-item-details-url-image' + selectorInput + '[data-network-count="-1"]').show();
2836
jQuery('.b2s-select-image-modal-open' + selectorInput + '[data-network-count="-1"]').show();
2837
jQuery('.b2s-image-remove-btn' + selectorInput + '[data-network-count="-1"]').show();
@@ -2871,7 +2850,7 @@ function releaseChoose(choose, dataNetworkAuthId, dataNetworkCount) {
2871
jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled');
2872
jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).hide();
2873
jQuery('.b2s-post-item-details-release-input-add' + selectorInput).hide();
2874
- jQuery('.2s-post-item-details-release-area-details-ul' + selectorInput).hide();
2875
jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', true);
2876
jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).hide();
2877
jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).hide();
@@ -2890,7 +2869,7 @@ function releaseChoose(choose, dataNetworkAuthId, dataNetworkCount) {
2890
//since 4.8.0 customize content
2891
if (jQuery('.b2s-post-item-details-release-input-date-select' + selectorInput).attr('data-network-customize-content') == "1") {
2892
jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').prop('disabled', true);
2893
- jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').hide();
2894
jQuery('.b2s-post-item-details-url-image' + selectorInput + '[data-network-count="-1"]').hide();
2895
jQuery('.b2s-select-image-modal-open' + selectorInput + '[data-network-count="-1"]').hide();
2896
jQuery('.b2s-image-remove-btn' + selectorInput + '[data-network-count="-1"]').hide();
@@ -2963,13 +2942,6 @@ function releaseChoose(choose, dataNetworkAuthId, dataNetworkCount) {
2963
if (jQuery('.b2s-post-item-details-release-input-date-select' + selectorInput).attr('data-network-customize-content') == "1") {
2964
jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').removeAttr('disabled');
2965
2966
- //Facebook TOS
2967
- if (jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').attr('readonly')) {
2968
- jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').hide();
2969
- } else {
2970
- jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').show();
2971
- }
2972
-
2973
jQuery('.b2s-post-item-details-url-image' + selectorInput + '[data-network-count="-1"]').show();
2974
jQuery('.b2s-select-image-modal-open' + selectorInput + '[data-network-count="-1"]').show();
2975
jQuery('.b2s-image-remove-btn' + selectorInput + '[data-network-count="-1"]').show();
@@ -3133,13 +3105,26 @@ function addTag(networkAuthId) {
3133
var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
3134
jQuery(selector).last().after('<input class="form-control b2s-post-item-details-tag-input-elem" data-network-auth-id="' + networkAuthId + '" value="" name="b2s[' + networkAuthId + '][tags][]">');
3135
jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").show();
3136
}
3137
3138
function removeTag(networkAuthId) {
3139
var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
3140
jQuery(selector).last().remove();
3141
- if (jQuery(selector).length === 1)
3142
jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").hide();
3143
}
3144
3145
function networkLimitAll(networkAuthId, networkId, limit) {
@@ -3440,7 +3425,7 @@ function checkSchedDateTime(dataNetworkAuthId) {
3440
//utc current time
3441
var now = new Date();
3442
//offset between utc und user
3443
- var offset = (parseInt(now.getTimezoneOffset()) / 60) * (-1);
3444
//enter hour to user time
3445
var hour = parseInt(minParts3[0]) + timeZone + offset;
3446
//calculate datetime in utc
@@ -3611,10 +3596,15 @@ jQuery(document).on('click', '.b2s-auth-network-6-login-btn', function () {
3611
'location': jQuery('#b2s-auth-network-6-location').val(),
3612
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
3613
},
3614
- error: function () {
3615
jQuery('.b2s-loading-area').hide();
3616
jQuery('.b2s-auth-network-6-login-area').show();
3617
jQuery('.b2s-auth-network-6-login-btn').show();
3618
return false;
3619
},
3620
success: function (data) {
@@ -3661,9 +3651,15 @@ jQuery(document).on('click', '.b2s-auth-network-6-confirm-btn', function () {
3661
'networkAuthId': jQuery('#b2s-auth-network-6-auth-id').val(),
3662
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
3663
},
3664
- error: function () {
3665
jQuery('.b2s-loading-area').hide();
3666
jQuery('.b2s-auth-network-6-login-area').show();
3667
return false;
3668
},
3669
success: function (data) {
@@ -3774,4 +3770,84 @@ function freeze_gif(i) {
3774
i.parentNode.replaceChild(c, i);
3775
}
3776
return false;
3777
- }
110
jQuery('#b2sInsertImageType').val("1");
111
imageSize();
112
}, tooltip: "Image"});
113
+ jQuery.sceditor.command.set(
114
+ "custom-emoji", {
115
+ exec: function () {
116
+ var me = this;
117
+ if (pickerHTML.pickerVisible) {
118
+ pickerHTML.hidePicker();
119
+ } else {
120
+ pickerHTML.showPicker(jQuery(this.getContentAreaContainer()).parent('.sceditor-container').find('.sceditor-toolbar').find('.sceditor-button-custom-emoji'));
121
+ currentPickerHTMLContent = this;
122
+ }
123
+ },
124
+ txtExec: function () {
125
+ var me = this;
126
+ if (pickerHTML.pickerVisible) {
127
+ pickerHTML.hidePicker();
128
+ } else {
129
+ pickerHTML.showPicker(jQuery(this.getContentAreaContainer()).parent('.sceditor-container').find('.sceditor-toolbar').find('.sceditor-button-custom-emoji'));
130
+ currentPickerHTMLContent = this;
131
+ }
132
+ }, tooltip: "Emoji"});
133
134
135
jQuery(document).on('click', '.b2s-toogle-calendar-btn', function () {
633
jQuery('.b2s-post-ship-item-post-format-text[data-network-id="' + networkId + '"]').html(postFormatText[postFormatType][postFormat]);
634
jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(postFormat);
635
}
636
+ if (jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').attr('data-meta-type') == 'og' && postType != "ex") {
637
if (currentOGImage == '' && jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val() != '') {
638
currentOGImage = jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + networkAuthId + '"]').val();
639
if (postFormat == "0") {
713
}
714
}
715
716
} else {
717
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
718
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
719
jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').hide();
720
}
721
722
//Content Curation V5.0.0
723
if (postType == "ex") {
724
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
725
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
726
jQuery('.b2s-load-info-meta-tag-modal[data-network-auth-id="' + networkAuthId + '"]').attr("style", "display:none !important");
727
if (postFormat == '0') {
728
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').hide();
729
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
730
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').show();
731
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').show();
732
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
733
} else {
734
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').show();
735
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
736
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').hide();
737
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').hide();
738
}
739
if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"]').val() == 1) {
740
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"][data-network-count="-1"]').hide();
887
jQuery('.b2s-post-item-details-post-format[data-network-id="' + networkId + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + networkType + '"][data-network-id="' + networkId + '"]').val());
888
}
889
890
//Content Curation
891
+ if (jQuery('#b2sPostType').val() == 'ex') {
892
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
893
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", true);
894
jQuery('.b2s-load-info-meta-tag-modal[data-network-auth-id="' + networkAuthId + '"]').attr("style", "display:none !important");
895
if (jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + networkAuthId + '"]').val() == 0) {
896
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').hide();
897
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').hide();
898
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').show();
899
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').show();
900
} else {
901
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"]').show();
902
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + networkAuthId + '"]').show();
903
+ jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + networkAuthId + '"]').hide();
904
+ jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + networkAuthId + '"]').hide();
905
}
906
if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"]').val() == 1) {
907
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + networkAuthId + '"][data-network-count="-1"]').hide();
1134
}
1135
1136
1137
//Twitter TOS 032018 - protected multiple accounts with same content to same time
1138
//delete comment field one more
1139
if (data.networkId == 2) {
1153
}
1154
1155
//Content Curation
1156
+ if (jQuery('#b2sPostType').val() == 'ex') {
1157
jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
1158
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').prop("readonly", true);
1159
jQuery('.b2s-load-info-meta-tag-modal[data-network-auth-id="' + data.networkAuthId + '"]').attr("style", "display:none !important");
1160
if (jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + data.networkAuthId + '"]').val() == 0) {
1161
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + data.networkAuthId + '"]').hide();
1168
jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + data.networkAuthId + '"][data-network-count="-1"]').hide();
1169
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"][data-network-count="-1"]').hide();
1170
}
1171
+
1172
+ //CC Imagepost V6.0.0
1173
+ if (jQuery('#b2sExPostFormat').val() == 0 || jQuery('#b2sExPostFormat').val() == 1) {
1174
+ jQuery('.b2s-post-ship-item-post-format[data-network-auth-id="' + data.networkAuthId + '"]').trigger('click');
1175
+ jQuery('.b2s-user-network-settings-post-format[value="' + jQuery('#b2sExPostFormat').val() + '"][data-network-auth-id="' + data.networkAuthId + '"]').trigger('click');
1176
+ }
1177
}
1178
1179
}
1303
});
1304
}
1305
1306
+ while (jQuery('.remove-tag-btn[data-network-auth-id="' + data.networkAuthId + '"]').is(':visible')) {
1307
+ jQuery('.remove-tag-btn[data-network-auth-id="' + data.networkAuthId + '"]').trigger('click');
1308
+ }
1309
+ jQuery('.b2s-post-item-details-tag-input-elem[data-network-auth-id="' + data.networkAuthId + '"]').last().val('');
1310
jQuery.each(data.draftActions.tags, function (index, value) {
1311
if (index >= 1) {
1312
jQuery('.ad-tag-btn[data-network-auth-id="' + data.networkAuthId + '"]').trigger('click');
1607
}
1608
});
1609
1610
return false;
1611
});
1612
jQuery(document).on('click', '.b2s-post-item-details-release-input-add', function () {
1727
'postId': jQuery('#b2sPostId').val(),
1728
'defaultUrl': jQuery('#b2sDefault_url').val(),
1729
'url': url,
1730
+ 'postType': jQuery('#b2sPostType').val(),
1731
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
1732
},
1733
error: function () {
1772
var authId = jQuery(this).attr('data-network-auth-id');
1773
var countId = jQuery(this).attr('data-network-count');
1774
var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + authId + ']').val();
1775
+ var networkId = jQuery('.b2s-network-select-btn[data-network-auth-id=' + authId + ']').attr("data-network-id");
1776
var isMetaChecked = false;
1777
var ogMetaNetworks = jQuery('#ogMetaNetworks').val().split(";");
1778
if (typeof networkId != 'undefined' && jQuery.inArray(networkId.toString(), ogMetaNetworks) != -1 && jQuery('#isOgMetaChecked').val() == "1") {
1952
1953
//add check linkpost change meta tag image for this network
1954
var postFormat = jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val();
1955
+ var networkId = jQuery('.b2s-network-select-btn[data-network-auth-id=' + networkAuthId + ']').attr('data-network-id');
1956
if (typeof postFormat !== typeof undefined && postFormat !== false) {
1957
if (networkId != 12) { // ignore for instagram
1958
if (postFormat == "0") { //if linkpost
2368
jQuery('.b2s-post-item-details-edit-area[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').hide();
2369
jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').show();
2370
jQuery('.b2s-post-item-details-message-result[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').html(content[i]['html']);
2371
jQuery('.b2s-content-info').hide();
2372
if (typeof content[i]['approve'] !== typeof undefined) {
2373
jQuery('.panel-group[data-network-auth-id="' + content[i]['networkAuthId'] + '"]').addClass('b2s-border-color-warning');
2626
if (typeof sceditor !== 'undefined' && typeof sceditor.destroy == 'function') {
2627
sceditor.destroy();
2628
}
2629
+ if (jQuery('.b2s-post-item[data-network-auth-id="' + networkAuthId + '"]').data('network-id') == 14) {// Torial is only HTML Network that dose not support Emojis
2630
+ var toolbar = "h1,h2,bold,italic,link,unlink,custom-image|source";
2631
+ } else {
2632
+ var toolbar = "h1,h2,bold,italic,link,unlink,custom-image,custom-emoji|source";
2633
+ }
2634
jQuery('.b2s-post-item-details-item-message-input-allow-html[data-network-auth-id="' + networkAuthId + '"]').sceditor({
2635
plugins: 'xhtml',
2636
+ toolbar: toolbar,
2637
autoUpdate: true,
2638
emoticonsEnabled: false
2639
});
2810
//since 4.8.0 customize content
2811
if (jQuery('.b2s-post-item-details-release-input-date-select' + selectorInput).attr('data-network-customize-content') == "1") {
2812
jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').removeAttr('disabled');
2813
+ jQuery('.b2s-post-item-details-item-message-area' + selectorInput + '[data-network-count="-1"]').show();
2814
jQuery('.b2s-post-item-details-url-image' + selectorInput + '[data-network-count="-1"]').show();
2815
jQuery('.b2s-select-image-modal-open' + selectorInput + '[data-network-count="-1"]').show();
2816
jQuery('.b2s-image-remove-btn' + selectorInput + '[data-network-count="-1"]').show();
2850
jQuery('.b2s-post-item-details-release-input-days' + selectorInput).prop('disabled');
2851
jQuery('.b2s-post-item-details-release-input-daySelect' + selectorInput).hide();
2852
jQuery('.b2s-post-item-details-release-input-add' + selectorInput).hide();
2853
+ jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).hide();
2854
jQuery('.b2s-post-item-details-release-save-settings' + selectorInput).prop('disabled', true);
2855
jQuery('.b2s-post-item-details-release-area-details-ul' + selectorInput).hide();
2856
jQuery('.b2s-post-item-details-release-save-settings-label' + selectorInput).hide();
2869
//since 4.8.0 customize content
2870
if (jQuery('.b2s-post-item-details-release-input-date-select' + selectorInput).attr('data-network-customize-content') == "1") {
2871
jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').prop('disabled', true);
2872
+ jQuery('.b2s-post-item-details-item-message-area' + selectorInput + '[data-network-count="-1"]').hide();
2873
jQuery('.b2s-post-item-details-url-image' + selectorInput + '[data-network-count="-1"]').hide();
2874
jQuery('.b2s-select-image-modal-open' + selectorInput + '[data-network-count="-1"]').hide();
2875
jQuery('.b2s-image-remove-btn' + selectorInput + '[data-network-count="-1"]').hide();
2942
if (jQuery('.b2s-post-item-details-release-input-date-select' + selectorInput).attr('data-network-customize-content') == "1") {
2943
jQuery('.b2s-post-item-details-item-message-input' + selectorInput + '[data-network-count="-1"]').removeAttr('disabled');
2944
2945
jQuery('.b2s-post-item-details-url-image' + selectorInput + '[data-network-count="-1"]').show();
2946
jQuery('.b2s-select-image-modal-open' + selectorInput + '[data-network-count="-1"]').show();
2947
jQuery('.b2s-image-remove-btn' + selectorInput + '[data-network-count="-1"]').show();
3105
var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
3106
jQuery(selector).last().after('<input class="form-control b2s-post-item-details-tag-input-elem" data-network-auth-id="' + networkAuthId + '" value="" name="b2s[' + networkAuthId + '][tags][]">');
3107
jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").show();
3108
+ var limit = jQuery(".b2s-post-item-details-tag-limit[data-network-auth-id='" + networkAuthId + "']").val();
3109
+ if (typeof limit !== typeof undefined && limit !== false) {
3110
+ if (jQuery(selector).length >= limit) {
3111
+ jQuery(".ad-tag-btn[data-network-auth-id='" + networkAuthId + "'").hide();
3112
+ }
3113
+ }
3114
}
3115
3116
function removeTag(networkAuthId) {
3117
var selector = ".b2s-post-item-details-tag-input-elem[data-network-auth-id='" + networkAuthId + "']";
3118
jQuery(selector).last().remove();
3119
+ if (jQuery(selector).length === 1) {
3120
jQuery(".remove-tag-btn[data-network-auth-id='" + networkAuthId + "'").hide();
3121
+ }
3122
+ var limit = jQuery(".b2s-post-item-details-tag-limit[data-network-auth-id='" + networkAuthId + "']").val();
3123
+ if (typeof limit !== typeof undefined && limit !== false) {
3124
+ if (jQuery(selector).length < limit) {
3125
+ jQuery(".ad-tag-btn[data-network-auth-id='" + networkAuthId + "'").show();
3126
+ }
3127
+ }
3128
}
3129
3130
function networkLimitAll(networkAuthId, networkId, limit) {
3425
//utc current time
3426
var now = new Date();
3427
//offset between utc und user
3428
+ var offset = (parseInt(now.getTimezoneOffset() / 60)) * (-1);
3429
//enter hour to user time
3430
var hour = parseInt(minParts3[0]) + timeZone + offset;
3431
//calculate datetime in utc
3596
'location': jQuery('#b2s-auth-network-6-location').val(),
3597
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
3598
},
3599
+ error: function (jqXHR) {
3600
jQuery('.b2s-loading-area').hide();
3601
jQuery('.b2s-auth-network-6-login-area').show();
3602
jQuery('.b2s-auth-network-6-login-btn').show();
3603
+ if (jqXHR.status == 403) {
3604
+ jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
3605
+ } else {
3606
+ jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
3607
+ }
3608
return false;
3609
},
3610
success: function (data) {
3651
'networkAuthId': jQuery('#b2s-auth-network-6-auth-id').val(),
3652
'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
3653
},
3654
+ error: function (jqXHR) {
3655
jQuery('.b2s-loading-area').hide();
3656
jQuery('.b2s-auth-network-6-login-area').show();
3657
+ jQuery('.b2s-auth-network-6-confirm-btn').show();
3658
+ if (jqXHR.status == 403) {
3659
+ jQuery('.b2s-auth-network-6-info[data-info="error_code_403"]').show();
3660
+ } else {
3661
+ jQuery('.b2s-auth-network-6-info[data-info="default"]').show();
3662
+ }
3663
return false;
3664
},
3665
success: function (data) {
3770
i.parentNode.replaceChild(c, i);
3771
}
3772
return false;
3773
+ }
3774
+
3775
+ var currentEmojiNetworkAuthId = 0;
3776
+ var currentEmojiNetworkCount = -1;
3777
+ var emojiTranslation = JSON.parse(jQuery('#b2sEmojiTranslation').val());
3778
+ var picker = new EmojiButton({
3779
+ position: 'auto',
3780
+ autoHide: false,
3781
+ i18n: {
3782
+ search: emojiTranslation['search'],
3783
+ categories: {
3784
+ recents: emojiTranslation['recents'],
3785
+ smileys: emojiTranslation['smileys'],
3786
+ animals: emojiTranslation['animals'],
3787
+ food: emojiTranslation['food'],
3788
+ activities: emojiTranslation['activities'],
3789
+ travel: emojiTranslation['travel'],
3790
+ objects: emojiTranslation['objects'],
3791
+ symbols: emojiTranslation['symbols'],
3792
+ flags: emojiTranslation['flags']
3793
+ },
3794
+ notFound: emojiTranslation['notFound']
3795
+ }
3796
+ });
3797
+ picker.on('emoji', function (emoji) {
3798
+ if (currentEmojiNetworkAuthId > 0) {
3799
+ var text = jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').val();
3800
+ var start = jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').attr('selectionStart');
3801
+ var end = jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').attr('selectionEnd');
3802
+ if (typeof start == 'undefined' || typeof end == 'undefined') {
3803
+ start = text.length;
3804
+ end = text.length;
3805
+ }
3806
+ var newText = text.slice(0, start) + emoji + text.slice(end);
3807
+ jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').val(newText);
3808
+ jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').focus();
3809
+ jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').prop("selectionStart", parseInt(start) + emoji.length);
3810
+ jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').prop("selectionEnd", parseInt(start) + emoji.length);
3811
+ jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + currentEmojiNetworkAuthId + '"][data-network-count="' + currentEmojiNetworkCount + '"]').trigger('keyup');
3812
+ }
3813
+ });
3814
+
3815
+ jQuery(document).on('click', '.b2s-post-item-details-item-message-emoji-btn', function () {
3816
+ if (picker.pickerVisible) {
3817
+ picker.hidePicker();
3818
+ } else {
3819
+ currentEmojiNetworkAuthId = jQuery(this).attr('data-network-auth-id');
3820
+ currentEmojiNetworkCount = jQuery(this).attr('data-network-count');
3821
+ picker.showPicker(jQuery(this));
3822
+ }
3823
+ });
3824
+
3825
+ jQuery(document).on('mousedown mouseup keydown keyup', '.b2s-post-item-details-item-message-input', function () {
3826
+ var tb = jQuery(this).get(0);
3827
+ jQuery(this).attr('selectionStart', tb.selectionStart);
3828
+ jQuery(this).attr('selectionEnd', tb.selectionEnd);
3829
+ });
3830
+
3831
+ var pickerHTML = new EmojiButton({
3832
+ position: 'auto',
3833
+ autoHide: false,
3834
+ i18n: {
3835
+ search: emojiTranslation['search'],
3836
+ categories: {
3837
+ recents: emojiTranslation['recents'],
3838
+ smileys: emojiTranslation['smileys'],
3839
+ animals: emojiTranslation['animals'],
3840
+ food: emojiTranslation['food'],
3841
+ activities: emojiTranslation['activities'],
3842
+ travel: emojiTranslation['travel'],
3843
+ objects: emojiTranslation['objects'],
3844
+ symbols: emojiTranslation['symbols'],
3845
+ flags: emojiTranslation['flags']
3846
+ },
3847
+ notFound: emojiTranslation['notFound']
3848
+ }
3849
+ });
3850
+ var currentPickerHTMLContent;
3851
+ pickerHTML.on('emoji', function (emoji) {
3852
+ currentPickerHTMLContent.insert(emoji);
3853
+ });
assets/js/notice.js DELETED
@@ -1,18 +0,0 @@
1
- jQuery(document).on('click', '.b2s-hide-notice-area', function () {
2
- var area = jQuery(this).attr('data-area-class');
3
- jQuery('.'+area).hide();
4
- jQuery.ajax({
5
- url: ajaxurl,
6
- type: "POST",
7
- dataType: "json",
8
- cache: false,
9
- data: {
10
- 'action': 'b2s_notice_hide',
11
- 'b2s_deactivate_nonce': jQuery('#b2s_deactivate_nonce').val()
12
- },
13
- success: function (data) {
14
- }
15
- });
16
- });
17
-
18
-
assets/lib/emoji-button/emoji-button.min.js ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * v3.14.1. More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
3
+ */
4
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e=e||self).EmojiButton=n()}(this,function(){"use strict";function e(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function n(e,n){for(var a=0;a<n.length;a++){var i=n[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,a,i){return a&&n(e.prototype,a),i&&n(e,i),e}function i(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}function t(e,n){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,i)}return a}function o(e){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?t(a,!0).forEach(function(n){i(e,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):t(a).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))})}return e}function r(e){return function(e){if(Array.isArray(e)){for(var n=0,a=new Array(e.length);n<e.length;n++)a[n]=e[n];return a}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function F(){}!function(e,n){void 0===n&&(n={});var a=n.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===a&&i.firstChild?i.insertBefore(t,i.firstChild):i.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}('.emoji-picker {\n margin: 0 0.5em;\n border: 1px solid #999999;\n border-radius: 5px;\n box-shadow: 0px 0px 3px 1px #CCCCCC;\n background: #FFFFFF;\n width: 20.5rem;\n height: 27.5rem;\n font-family: Arial, Helvetica, sans-serif;\n}\n\n.emoji-picker__content {\n padding: 0.5em;\n height: 20.5rem;\n}\n\n.emoji-picker__preview {\n height: 2em;\n padding: 0.5em;\n border-top: 1px solid #999999;\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.emoji-picker__preview-emoji {\n font-size: 2em;\n margin-right: 0.25em;\n font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";\n}\n\n.emoji-picker__preview-name {\n color: #666666;\n font-size: 0.85em;\n overflow-wrap: break-word;\n word-break: break-all;\n}\n\n.emoji-picker__tabs {\n margin: 0;\n padding: 0;\n display: flex;\n}\n\n.emoji-picker__tab {\n list-style: none;\n display: inline-block;\n padding: 0 0.5em;\n cursor: pointer;\n flex-grow: 1;\n text-align: center;\n}\n\n.emoji-picker__tab.active {\n border-bottom: 3px solid #4F81E5;\n color: #4F81E5;\n}\n\n.emoji-picker__tab-body {\n display: none;\n margin-top: 0.5em;\n}\n\n.emoji-picker__tab-body h2 {\n font-size: 0.75rem;\n text-transform: uppercase;\n color: #333333;\n margin: 0;\n}\n\n.emoji-picker__tab-body.active {\n display: block;\n}\n\n.emoji-picker__emojis {\n height: 17.5rem;\n overflow-y: scroll;\n display: flex;\n flex-wrap: wrap;\n align-content: flex-start;\n width: calc(1.3rem * 1.5 * 10);\n margin: auto;\n}\n\n.emoji-picker__emojis.search-results {\n height: 21rem;\n}\n\n.emoji-picker__emoji {\n background: transparent;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n font-size: 1.3rem;\n width: 1.5em;\n height: 1.5em;\n padding: 0;\n margin: 0;\n font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";\n}\n\n.emoji-picker__emoji:hover {\n background: #E8F4F9;\n}\n\n.emoji-picker__search-container {\n margin: 0.5em;\n position: relative;\n height: 2em;\n display: flex;\n}\n\n.emoji-picker__search-container input {\n box-sizing: border-box;\n width: 100%;\n border-radius: 5px;\n border: 1px solid #CCCCCC;\n padding-right: 2em;\n}\n\n.emoji-picker__search-icon {\n position: absolute;\n color: #CCCCCC;\n width: 1em;\n height: 1em;\n right: 0.75em;\n top: calc(50% - 0.5em);\n}\n\n.emoji-picker__search-not-found {\n color: #666666;\n text-align: center;\n margin-top: 2em;\n}\n\n.emoji-picker__search-not-found-icon {\n font-size: 3em;\n}\n\n.emoji-picker__search-not-found h2 {\n margin: 0.5em 0;\n font-size: 1em;\n}\n\n.emoji-picker__variant-overlay {\n background: rgba(0, 0, 0, 0.7);\n position: absolute;\n top: 0;\n left: 0;\n width: 20.5rem;\n height: 27.5rem;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.emoji-picker__variant-popup {\n background: #FFFFFF;\n margin: 0.5em;\n padding: 0.5em;\n text-align: center;\n}\n\n.emoji-picker__variant-popup-close-button {\n cursor: pointer;\n background: transparent;\n border: none;\n position: absolute;\n right: 1em;\n padding: 0;\n top: calc(50% - 0.5em);\n height: 1em;\n width: 1em;\n}'),F.prototype={on:function(e,n,a){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:n,ctx:a}),this},once:function(e,n,a){var i=this;function t(){i.off(e,t),n.apply(a,arguments)}return t._=n,this.on(e,t,a)},emit:function(e){for(var n=[].slice.call(arguments,1),a=((this.e||(this.e={}))[e]||[]).slice(),i=0,t=a.length;i<t;i++)a[i].fn.apply(a[i].ctx,n);return this},off:function(e,n){var a=this.e||(this.e={}),i=a[e],t=[];if(i&&n)for(var o=0,r=i.length;o<r;o++)i[o].fn!==n&&i[o].fn._!==n&&t.push(i[o]);return t.length?a[e]=t:delete a[e],this}};var c=F,l=F;c.TinyEmitter=l;for(var s="undefined"!=typeof window&&"undefined"!=typeof document,m=["Edge","Trident","Firefox"],f=0,g=0;g<m.length;g+=1)if(s&&navigator.userAgent.indexOf(m[g])>=0){f=1;break}var _=s&&window.Promise?function(e){var n=!1;return function(){n||(n=!0,window.Promise.resolve().then(function(){n=!1,e()}))}}:function(e){var n=!1;return function(){n||(n=!0,setTimeout(function(){n=!1,e()},f))}};function h(e){return e&&"[object Function]"==={}.toString.call(e)}function d(e,n){if(1!==e.nodeType)return[];var a=e.ownerDocument.defaultView.getComputedStyle(e,null);return n?a[n]:a}function u(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var n=d(e),a=n.overflow,i=n.overflowX,t=n.overflowY;return/(auto|scroll|overlay)/.test(a+t+i)?e:p(u(e))}var k=s&&!(!window.MSInputMethodContext||!document.documentMode),w=s&&/MSIE 10/.test(navigator.userAgent);function b(e){return 11===e?k:10===e?w:k||w}function v(e){if(!e)return document.documentElement;for(var n=b(10)?document.body:null,a=e.offsetParent||null;a===n&&e.nextElementSibling;)a=(e=e.nextElementSibling).offsetParent;var i=a&&a.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(a.nodeName)&&"static"===d(a,"position")?v(a):a:e?e.ownerDocument.documentElement:document.documentElement}function y(e){return null!==e.parentNode?y(e.parentNode):e}function E(e,n){if(!(e&&e.nodeType&&n&&n.nodeType))return document.documentElement;var a=e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING,i=a?e:n,t=a?n:e,o=document.createRange();o.setStart(i,0),o.setEnd(t,0);var r,F,c=o.commonAncestorContainer;if(e!==c&&n!==c||i.contains(t))return"BODY"===(F=(r=c).nodeName)||"HTML"!==F&&v(r.firstElementChild)!==r?v(c):c;var l=y(e);return l.host?E(l.host,n):E(e,y(n).host)}function C(e){var n="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",a=e.nodeName;if("BODY"===a||"HTML"===a){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[n]}return e[n]}function D(e,n){var a="x"===n?"Left":"Top",i="Left"===a?"Right":"Bottom";return parseFloat(e["border"+a+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function B(e,n,a,i){return Math.max(n["offset"+e],n["scroll"+e],a["client"+e],a["offset"+e],a["scroll"+e],b(10)?parseInt(a["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var n=e.body,a=e.documentElement,i=b(10)&&getComputedStyle(a);return{height:B("Height",n,a,i),width:B("Width",n,a,i)}}var j=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,n){for(var a=0;a<n.length;a++){var i=n[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(n,a,i){return a&&e(n.prototype,a),i&&e(n,i),n}}(),z=function(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e},M=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e};function L(e){return M({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){var n={};try{if(b(10)){n=e.getBoundingClientRect();var a=C(e,"top"),i=C(e,"left");n.top+=a,n.left+=i,n.bottom+=a,n.right+=i}else n=e.getBoundingClientRect()}catch(e){}var t={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},o="HTML"===e.nodeName?x(e.ownerDocument):{},r=o.width||e.clientWidth||t.right-t.left,F=o.height||e.clientHeight||t.bottom-t.top,c=e.offsetWidth-r,l=e.offsetHeight-F;if(c||l){var s=d(e);c-=D(s,"x"),l-=D(s,"y"),t.width-=c,t.height-=l}return L(t)}function N(e,n){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=b(10),t="HTML"===n.nodeName,o=T(e),r=T(n),F=p(e),c=d(n),l=parseFloat(c.borderTopWidth,10),s=parseFloat(c.borderLeftWidth,10);a&&t&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0));var m=L({top:o.top-r.top-l,left:o.left-r.left-s,width:o.width,height:o.height});if(m.marginTop=0,m.marginLeft=0,!i&&t){var f=parseFloat(c.marginTop,10),g=parseFloat(c.marginLeft,10);m.top-=l-f,m.bottom-=l-f,m.left-=s-g,m.right-=s-g,m.marginTop=f,m.marginLeft=g}return(i&&!a?n.contains(F):n===F&&"BODY"!==F.nodeName)&&(m=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=C(n,"top"),t=C(n,"left"),o=a?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=t*o,e.right+=t*o,e}(m,n)),m}function P(e){if(!e||!e.parentElement||b())return document.documentElement;for(var n=e.parentElement;n&&"none"===d(n,"transform");)n=n.parentElement;return n||document.documentElement}function S(e,n,a,i){var t=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},r=t?P(e):E(e,n);if("viewport"===i)o=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e.ownerDocument.documentElement,i=N(e,a),t=Math.max(a.clientWidth,window.innerWidth||0),o=Math.max(a.clientHeight,window.innerHeight||0),r=n?0:C(a),F=n?0:C(a,"left");return L({top:r-i.top+i.marginTop,left:F-i.left+i.marginLeft,width:t,height:o})}(r,t);else{var F=void 0;"scrollParent"===i?"BODY"===(F=p(u(n))).nodeName&&(F=e.ownerDocument.documentElement):F="window"===i?e.ownerDocument.documentElement:i;var c=N(F,r,t);if("HTML"!==F.nodeName||function e(n){var a=n.nodeName;if("BODY"===a||"HTML"===a)return!1;if("fixed"===d(n,"position"))return!0;var i=u(n);return!!i&&e(i)}(r))o=c;else{var l=x(e.ownerDocument),s=l.height,m=l.width;o.top+=c.top-c.marginTop,o.bottom=s+c.top,o.left+=c.left-c.marginLeft,o.right=m+c.left}}var f="number"==typeof(a=a||0);return o.left+=f?a:a.left||0,o.top+=f?a:a.top||0,o.right-=f?a:a.right||0,o.bottom-=f?a:a.bottom||0,o}function A(e,n,a,i,t){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var r=S(a,i,o,t),F={top:{width:r.width,height:n.top-r.top},right:{width:r.right-n.right,height:r.height},bottom:{width:r.width,height:r.bottom-n.bottom},left:{width:n.left-r.left,height:r.height}},c=Object.keys(F).map(function(e){return M({key:e},F[e],{area:(n=F[e],n.width*n.height)});var n}).sort(function(e,n){return n.area-e.area}),l=c.filter(function(e){var n=e.width,i=e.height;return n>=a.clientWidth&&i>=a.clientHeight}),s=l.length>0?l[0].key:c[0].key,m=e.split("-")[1];return s+(m?"-"+m:"")}function H(e,n,a){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return N(a,i?P(n):E(n,a),i)}function I(e){var n=e.ownerDocument.defaultView.getComputedStyle(e),a=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+a}}function W(e){var n={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return n[e]})}function V(e,n,a){a=a.split("-")[0];var i=I(e),t={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(a),r=o?"top":"left",F=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return t[r]=n[r]+n[c]/2-i[c]/2,t[F]=a===F?n[F]-i[l]:n[W(F)],t}function q(e,n){return Array.prototype.find?e.find(n):e.filter(n)[0]}function R(e,n,a){return(void 0===a?e:e.slice(0,function(e,n,a){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[n]===a});var i=q(e,function(e){return e[n]===a});return e.indexOf(i)}(e,"name",a))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var a=e.function||e.fn;e.enabled&&h(a)&&(n.offsets.popper=L(n.offsets.popper),n.offsets.reference=L(n.offsets.reference),n=a(n,e))}),n}function U(e,n){return e.some(function(e){var a=e.name;return e.enabled&&a===n})}function Y(e){for(var n=[!1,"ms","Webkit","Moz","O"],a=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<n.length;i++){var t=n[i],o=t?""+t+a:e;if(void 0!==document.body.style[o])return o}return null}function K(e){var n=e.ownerDocument;return n?n.defaultView:window}function X(e,n,a,i){a.updateBound=i,K(e).addEventListener("resize",a.updateBound,{passive:!0});var t=p(e);return function e(n,a,i,t){var o="BODY"===n.nodeName,r=o?n.ownerDocument.defaultView:n;r.addEventListener(a,i,{passive:!0}),o||e(p(r.parentNode),a,i,t),t.push(r)}(t,"scroll",a.updateBound,a.scrollParents),a.scrollElement=t,a.eventsEnabled=!0,a}function G(){var e,n;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,n=this.state,K(e).removeEventListener("resize",n.updateBound),n.scrollParents.forEach(function(e){e.removeEventListener("scroll",n.updateBound)}),n.updateBound=null,n.scrollParents=[],n.scrollElement=null,n.eventsEnabled=!1,n))}function J(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Q(e,n){Object.keys(n).forEach(function(a){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(a)&&J(n[a])&&(i="px"),e.style[a]=n[a]+i})}var Z=s&&/Firefox/i.test(navigator.userAgent);function $(e,n,a){var i=q(e,function(e){return e.name===n}),t=!!i&&e.some(function(e){return e.name===a&&e.enabled&&e.order<i.order});if(!t){var o="`"+n+"`",r="`"+a+"`";console.warn(r+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return t}var ee=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ne=ee.slice(3);function ae(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=ne.indexOf(e),i=ne.slice(a+1).concat(ne.slice(0,a));return n?i.reverse():i}var ie={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function te(e,n,a,i){var t=[0,0],o=-1!==["right","left"].indexOf(i),r=e.split(/(\+|\-)/).map(function(e){return e.trim()}),F=r.indexOf(q(r,function(e){return-1!==e.search(/,|\s/)}));r[F]&&-1===r[F].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==F?[r.slice(0,F).concat([r[F].split(c)[0]]),[r[F].split(c)[1]].concat(r.slice(F+1))]:[r];return(l=l.map(function(e,i){var t=(1===i?!o:o)?"height":"width",r=!1;return e.reduce(function(e,n){return""===e[e.length-1]&&-1!==["+","-"].indexOf(n)?(e[e.length-1]=n,r=!0,e):r?(e[e.length-1]+=n,r=!1,e):e.concat(n)},[]).map(function(e){return function(e,n,a,i){var t=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+t[1],r=t[2];if(!o)return e;if(0===r.indexOf("%")){var F=void 0;switch(r){case"%p":F=a;break;case"%":case"%r":default:F=i}return L(F)[n]/100*o}if("vh"===r||"vw"===r)return("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(e,t,n,a)})})).forEach(function(e,n){e.forEach(function(a,i){J(a)&&(t[n]+=a*("-"===e[i-1]?-1:1))})}),t}var oe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var n=e.placement,a=n.split("-")[0],i=n.split("-")[1];if(i){var t=e.offsets,o=t.reference,r=t.popper,F=-1!==["bottom","top"].indexOf(a),c=F?"left":"top",l=F?"width":"height",s={start:z({},c,o[c]),end:z({},c,o[c]+o[l]-r[l])};e.offsets.popper=M({},r,s[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,n){var a=n.offset,i=e.placement,t=e.offsets,o=t.popper,r=t.reference,F=i.split("-")[0],c=void 0;return c=J(+a)?[+a,0]:te(a,o,r,F),"left"===F?(o.top+=c[0],o.left-=c[1]):"right"===F?(o.top+=c[0],o.left+=c[1]):"top"===F?(o.left+=c[0],o.top-=c[1]):"bottom"===F&&(o.left+=c[0],o.top+=c[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,n){var a=n.boundariesElement||v(e.instance.popper);e.instance.reference===a&&(a=v(a));var i=Y("transform"),t=e.instance.popper.style,o=t.top,r=t.left,F=t[i];t.top="",t.left="",t[i]="";var c=S(e.instance.popper,e.instance.reference,n.padding,a,e.positionFixed);t.top=o,t.left=r,t[i]=F,n.boundaries=c;var l=n.priority,s=e.offsets.popper,m={primary:function(e){var a=s[e];return s[e]<c[e]&&!n.escapeWithReference&&(a=Math.max(s[e],c[e])),z({},e,a)},secondary:function(e){var a="right"===e?"left":"top",i=s[a];return s[e]>c[e]&&!n.escapeWithReference&&(i=Math.min(s[a],c[e]-("right"===e?s.width:s.height))),z({},a,i)}};return l.forEach(function(e){var n=-1!==["left","top"].indexOf(e)?"primary":"secondary";s=M({},s,m[n](e))}),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var n=e.offsets,a=n.popper,i=n.reference,t=e.placement.split("-")[0],o=Math.floor,r=-1!==["top","bottom"].indexOf(t),F=r?"right":"bottom",c=r?"left":"top",l=r?"width":"height";return a[F]<o(i[c])&&(e.offsets.popper[c]=o(i[c])-a[l]),a[c]>o(i[F])&&(e.offsets.popper[c]=o(i[F])),e}},arrow:{order:500,enabled:!0,fn:function(e,n){var a;if(!$(e.instance.modifiers,"arrow","keepTogether"))return e;var i=n.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var t=e.placement.split("-")[0],o=e.offsets,r=o.popper,F=o.reference,c=-1!==["left","right"].indexOf(t),l=c?"height":"width",s=c?"Top":"Left",m=s.toLowerCase(),f=c?"left":"top",g=c?"bottom":"right",_=I(i)[l];F[g]-_<r[m]&&(e.offsets.popper[m]-=r[m]-(F[g]-_)),F[m]+_>r[g]&&(e.offsets.popper[m]+=F[m]+_-r[g]),e.offsets.popper=L(e.offsets.popper);var h=F[m]+F[l]/2-_/2,u=d(e.instance.popper),p=parseFloat(u["margin"+s],10),k=parseFloat(u["border"+s+"Width"],10),w=h-e.offsets.popper[m]-p-k;return w=Math.max(Math.min(r[l]-_,w),0),e.arrowElement=i,e.offsets.arrow=(z(a={},m,Math.round(w)),z(a,f,""),a),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,n){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var a=S(e.instance.popper,e.instance.reference,n.padding,n.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],t=W(i),o=e.placement.split("-")[1]||"",r=[];switch(n.behavior){case ie.FLIP:r=[i,t];break;case ie.CLOCKWISE:r=ae(i);break;case ie.COUNTERCLOCKWISE:r=ae(i,!0);break;default:r=n.behavior}return r.forEach(function(F,c){if(i!==F||r.length===c+1)return e;i=e.placement.split("-")[0],t=W(i);var l=e.offsets.popper,s=e.offsets.reference,m=Math.floor,f="left"===i&&m(l.right)>m(s.left)||"right"===i&&m(l.left)<m(s.right)||"top"===i&&m(l.bottom)>m(s.top)||"bottom"===i&&m(l.top)<m(s.bottom),g=m(l.left)<m(a.left),_=m(l.right)>m(a.right),h=m(l.top)<m(a.top),d=m(l.bottom)>m(a.bottom),u="left"===i&&g||"right"===i&&_||"top"===i&&h||"bottom"===i&&d,p=-1!==["top","bottom"].indexOf(i),k=!!n.flipVariations&&(p&&"start"===o&&g||p&&"end"===o&&_||!p&&"start"===o&&h||!p&&"end"===o&&d),w=!!n.flipVariationsByContent&&(p&&"start"===o&&_||p&&"end"===o&&g||!p&&"start"===o&&d||!p&&"end"===o&&h),b=k||w;(f||u||b)&&(e.flipped=!0,(f||u)&&(i=r[c+1]),b&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=M({},e.offsets.popper,V(e.instance.popper,e.offsets.reference,e.placement)),e=R(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var n=e.placement,a=n.split("-")[0],i=e.offsets,t=i.popper,o=i.reference,r=-1!==["left","right"].indexOf(a),F=-1===["top","left"].indexOf(a);return t[r?"left":"top"]=o[a]-(F?t[r?"width":"height"]:0),e.placement=W(n),e.offsets.popper=L(t),e}},hide:{order:800,enabled:!0,fn:function(e){if(!$(e.instance.modifiers,"hide","preventOverflow"))return e;var n=e.offsets.reference,a=q(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(n.bottom<a.top||n.left>a.right||n.top>a.bottom||n.right<a.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,n){var a=n.x,i=n.y,t=e.offsets.popper,o=q(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var r=void 0!==o?o:n.gpuAcceleration,F=v(e.instance.popper),c=T(F),l={position:t.position},s=function(e,n){var a=e.offsets,i=a.popper,t=a.reference,o=Math.round,r=Math.floor,F=function(e){return e},c=o(t.width),l=o(i.width),s=-1!==["left","right"].indexOf(e.placement),m=-1!==e.placement.indexOf("-"),f=n?s||m||c%2==l%2?o:r:F,g=n?o:F;return{left:f(c%2==1&&l%2==1&&!m&&n?i.left-1:i.left),top:g(i.top),bottom:g(i.bottom),right:f(i.right)}}(e,window.devicePixelRatio<2||!Z),m="bottom"===a?"top":"bottom",f="right"===i?"left":"right",g=Y("transform"),_=void 0,h=void 0;if(h="bottom"===m?"HTML"===F.nodeName?-F.clientHeight+s.bottom:-c.height+s.bottom:s.top,_="right"===f?"HTML"===F.nodeName?-F.clientWidth+s.right:-c.width+s.right:s.left,r&&g)l[g]="translate3d("+_+"px, "+h+"px, 0)",l[m]=0,l[f]=0,l.willChange="transform";else{var d="bottom"===m?-1:1,u="right"===f?-1:1;l[m]=h*d,l[f]=_*u,l.willChange=m+", "+f}var p={"x-placement":e.placement};return e.attributes=M({},p,e.attributes),e.styles=M({},l,e.styles),e.arrowStyles=M({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var n,a;return Q(e.instance.popper,e.styles),n=e.instance.popper,a=e.attributes,Object.keys(a).forEach(function(e){!1!==a[e]?n.setAttribute(e,a[e]):n.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&Q(e.arrowElement,e.arrowStyles),e},onLoad:function(e,n,a,i,t){var o=H(t,n,e,a.positionFixed),r=A(a.placement,o,n,e,a.modifiers.flip.boundariesElement,a.modifiers.flip.padding);return n.setAttribute("x-placement",r),Q(n,{position:a.positionFixed?"fixed":"absolute"}),a},gpuAcceleration:void 0}}},re=function(){function e(n,a){var i=this,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};j(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=_(this.update.bind(this)),this.options=M({},e.Defaults,t),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=a&&a.jquery?a[0]:a,this.options.modifiers={},Object.keys(M({},e.Defaults.modifiers,t.modifiers)).forEach(function(n){i.options.modifiers[n]=M({},e.Defaults.modifiers[n]||{},t.modifiers?t.modifiers[n]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return M({name:e},i.options.modifiers[e])}).sort(function(e,n){return e.order-n.order}),this.modifiers.forEach(function(e){e.enabled&&h(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return O(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=H(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=A(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=V(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=R(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Y("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=X(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),e}();re.Utils=("undefined"!=typeof window?window:global).PopperUtils,re.placements=ee,re.Defaults=oe;var Fe=["animals","smileys","skinTones","travel","flags","objects","activities","symbols","food"],ce=[{n:["monkey_face"],e:"๐Ÿต",c:0},{n:["grinning"],e:"๐Ÿ˜€",c:1},{n:["skin-tone-2"],e:"๐Ÿป",c:2},{n:["earth_africa"],e:"๐ŸŒ",c:3},{n:["checkered_flag"],e:"๐Ÿ",c:4},{n:["mute"],e:"๐Ÿ”‡",c:5},{n:["jack_o_lantern"],e:"๐ŸŽƒ",c:6},{n:["atm"],e:"๐Ÿง",c:7},{n:["grapes"],e:"๐Ÿ‡",c:8},{n:["earth_americas"],e:"๐ŸŒŽ",c:3},{n:["grin"],e:"๐Ÿ˜",c:1},{n:["melon"],e:"๐Ÿˆ",c:8},{n:["triangular_flag_on_post"],e:"๐Ÿšฉ",c:4},{n:["monkey"],e:"๐Ÿ’",c:0},{n:["christmas_tree"],e:"๐ŸŽ„",c:6},{n:["skin-tone-3"],e:"๐Ÿผ",c:2},{n:["put_litter_in_its_place"],e:"๐Ÿšฎ",c:7},{n:["speaker"],e:"๐Ÿ”ˆ",c:5},{n:["earth_asia"],e:"๐ŸŒ",c:3},{n:["crossed_flags"],e:"๐ŸŽŒ",c:4},{n:["joy"],e:"๐Ÿ˜‚",c:1},{n:["sound"],e:"๐Ÿ”‰",c:5},{n:["watermelon"],e:"๐Ÿ‰",c:8},{n:["gorilla"],e:"๐Ÿฆ",c:0},{n:["fireworks"],e:"๐ŸŽ†",c:6},{n:["potable_water"],e:"๐Ÿšฐ",c:7},{n:["skin-tone-4"],e:"๐Ÿฝ",c:2},{n:["wheelchair"],e:"โ™ฟ",c:7},{n:["rolling_on_the_floor_laughing"],e:"๐Ÿคฃ",c:1},{n:["loud_sound"],e:"๐Ÿ”Š",c:5},{n:["waving_black_flag"],e:"๐Ÿด",c:4},{n:["tangerine"],e:"๐ŸŠ",c:8},{n:["dog"],e:"๐Ÿถ",c:0},{n:["sparkler"],e:"๐ŸŽ‡",c:6},{n:["skin-tone-5"],e:"๐Ÿพ",c:2},{n:["globe_with_meridians"],e:"๐ŸŒ",c:3},{n:["skin-tone-6"],e:"๐Ÿฟ",c:2},{n:["smiley"],e:"๐Ÿ˜ƒ",c:1},{n:["loudspeaker"],e:"๐Ÿ“ข",c:5},{n:["sparkles"],e:"โœจ",c:6},{n:["dog2"],e:"๐Ÿ•",c:0},{n:["waving_white_flag"],e:"๐Ÿณ๏ธ",c:4},{n:["world_map"],e:"๐Ÿ—บ๏ธ",c:3},{n:["lemon"],e:"๐Ÿ‹",c:8},{n:["mens"],e:"๐Ÿšน",c:7},{n:["womens"],e:"๐Ÿšบ",c:7},{n:["rainbow-flag"],e:"๐Ÿณ๏ธโ€๐ŸŒˆ",c:4},{n:["smile"],e:"๐Ÿ˜„",c:1},{n:["banana"],e:"๐ŸŒ",c:8},{n:["mega"],e:"๐Ÿ“ฃ",c:5},{n:["japan"],e:"๐Ÿ—พ",c:3},{n:["poodle"],e:"๐Ÿฉ",c:0},{n:["balloon"],e:"๐ŸŽˆ",c:6},{n:["flag-ac"],e:"๐Ÿ‡ฆ๐Ÿ‡จ",c:4},{n:["sweat_smile"],e:"๐Ÿ˜…",c:1},{n:["pineapple"],e:"๐Ÿ",c:8},{n:["restroom"],e:"๐Ÿšป",c:7},{n:["postal_horn"],e:"๐Ÿ“ฏ",c:5},{n:["wolf"],e:"๐Ÿบ",c:0},{n:["tada"],e:"๐ŸŽ‰",c:6},{n:["snow_capped_mountain"],e:"๐Ÿ”๏ธ",c:3},{n:["laughing","satisfied"],e:"๐Ÿ˜†",c:1},{n:["apple"],e:"๐ŸŽ",c:8},{n:["flag-ad"],e:"๐Ÿ‡ฆ๐Ÿ‡ฉ",c:4},{n:["fox_face"],e:"๐ŸฆŠ",c:0},{n:["confetti_ball"],e:"๐ŸŽŠ",c:6},{n:["bell"],e:"๐Ÿ””",c:5},{n:["mountain"],e:"โ›ฐ๏ธ",c:3},{n:["baby_symbol"],e:"๐Ÿšผ",c:7},{n:["wc"],e:"๐Ÿšพ",c:7},{n:["wink"],e:"๐Ÿ˜‰",c:1},{n:["no_bell"],e:"๐Ÿ”•",c:5},{n:["green_apple"],e:"๐Ÿ",c:8},{n:["tanabata_tree"],e:"๐ŸŽ‹",c:6},{n:["flag-ae"],e:"๐Ÿ‡ฆ๐Ÿ‡ช",c:4},{n:["volcano"],e:"๐ŸŒ‹",c:3},{n:["cat"],e:"๐Ÿฑ",c:0},{n:["flag-af"],e:"๐Ÿ‡ฆ๐Ÿ‡ซ",c:4},{n:["musical_score"],e:"๐ŸŽผ",c:5},{n:["blush"],e:"๐Ÿ˜Š",c:1},{n:["pear"],e:"๐Ÿ",c:8},{n:["bamboo"],e:"๐ŸŽ",c:6},{n:["passport_control"],e:"๐Ÿ›‚",c:7},{n:["mount_fuji"],e:"๐Ÿ—ป",c:3},{n:["cat2"],e:"๐Ÿˆ",c:0},{n:["musical_note"],e:"๐ŸŽต",c:5},{n:["dolls"],e:"๐ŸŽŽ",c:6},{n:["lion_face"],e:"๐Ÿฆ",c:0},{n:["camping"],e:"๐Ÿ•๏ธ",c:3},{n:["flag-ag"],e:"๐Ÿ‡ฆ๐Ÿ‡ฌ",c:4},{n:["customs"],e:"๐Ÿ›ƒ",c:7},{n:["yum"],e:"๐Ÿ˜‹",c:1},{n:["peach"],e:"๐Ÿ‘",c:8},{n:["tiger"],e:"๐Ÿฏ",c:0},{n:["notes"],e:"๐ŸŽถ",c:5},{n:["flags"],e:"๐ŸŽ",c:6},{n:["beach_with_umbrella"],e:"๐Ÿ–๏ธ",c:3},{n:["cherries"],e:"๐Ÿ’",c:8},{n:["flag-ai"],e:"๐Ÿ‡ฆ๐Ÿ‡ฎ",c:4},{n:["baggage_claim"],e:"๐Ÿ›„",c:7},{n:["sunglasses"],e:"๐Ÿ˜Ž",c:1},{n:["left_luggage"],e:"๐Ÿ›…",c:7},{n:["wind_chime"],e:"๐ŸŽ",c:6},{n:["strawberry"],e:"๐Ÿ“",c:8},{n:["desert"],e:"๐Ÿœ๏ธ",c:3},{n:["studio_microphone"],e:"๐ŸŽ™๏ธ",c:5},{n:["flag-al"],e:"๐Ÿ‡ฆ๐Ÿ‡ฑ",c:4},{n:["tiger2"],e:"๐Ÿ…",c:0},{n:["heart_eyes"],e:"๐Ÿ˜",c:1},{n:["desert_island"],e:"๐Ÿ๏ธ",c:3},{n:["kiwifruit"],e:"๐Ÿฅ",c:8},{n:["rice_scene"],e:"๐ŸŽ‘",c:6},{n:["kissing_heart"],e:"๐Ÿ˜˜",c:1},{n:["warning"],e:"โš ๏ธ",c:7},{n:["flag-am"],e:"๐Ÿ‡ฆ๐Ÿ‡ฒ",c:4},{n:["leopard"],e:"๐Ÿ†",c:0},{n:["level_slider"],e:"๐ŸŽš๏ธ",c:5},{n:["horse"],e:"๐Ÿด",c:0},{n:["children_crossing"],e:"๐Ÿšธ",c:7},{n:["ribbon"],e:"๐ŸŽ€",c:6},{n:["national_park"],e:"๐Ÿž๏ธ",c:3},{n:["control_knobs"],e:"๐ŸŽ›๏ธ",c:5},{n:["kissing"],e:"๐Ÿ˜—",c:1},{n:["tomato"],e:"๐Ÿ…",c:8},{n:["flag-ao"],e:"๐Ÿ‡ฆ๐Ÿ‡ด",c:4},{n:["stadium"],e:"๐ŸŸ๏ธ",c:3},{n:["flag-aq"],e:"๐Ÿ‡ฆ๐Ÿ‡ถ",c:4},{n:["gift"],e:"๐ŸŽ",c:6},{n:["no_entry"],e:"โ›”",c:7},{n:["kissing_smiling_eyes"],e:"๐Ÿ˜™",c:1},{n:["coconut"],e:"๐Ÿฅฅ",c:8},{n:["racehorse"],e:"๐ŸŽ",c:0},{n:["microphone"],e:"๐ŸŽค",c:5},{n:["classical_building"],e:"๐Ÿ›๏ธ",c:3},{n:["no_entry_sign"],e:"๐Ÿšซ",c:7},{n:["reminder_ribbon"],e:"๐ŸŽ—๏ธ",c:6},{n:["kissing_closed_eyes"],e:"๐Ÿ˜š",c:1},{n:["unicorn_face"],e:"๐Ÿฆ„",c:0},{n:["flag-ar"],e:"๐Ÿ‡ฆ๐Ÿ‡ท",c:4},{n:["headphones"],e:"๐ŸŽง",c:5},{n:["avocado"],e:"๐Ÿฅ‘",c:8},{n:["relaxed"],e:"โ˜บ๏ธ",c:1},{n:["zebra_face"],e:"๐Ÿฆ“",c:0},{n:["eggplant"],e:"๐Ÿ†",c:8},{n:["radio"],e:"๐Ÿ“ป",c:5},{n:["building_construction"],e:"๐Ÿ—๏ธ",c:3},{n:["flag-as"],e:"๐Ÿ‡ฆ๐Ÿ‡ธ",c:4},{n:["admission_tickets"],e:"๐ŸŽŸ๏ธ",c:6},{n:["no_bicycles"],e:"๐Ÿšณ",c:7},{n:["no_smoking"],e:"๐Ÿšญ",c:7},{n:["slightly_smiling_face"],e:"๐Ÿ™‚",c:1},{n:["flag-at"],e:"๐Ÿ‡ฆ๐Ÿ‡น",c:4},{n:["ticket"],e:"๐ŸŽซ",c:6},{n:["saxophone"],e:"๐ŸŽท",c:5},{n:["deer"],e:"๐ŸฆŒ",c:0},{n:["house_buildings"],e:"๐Ÿ˜๏ธ",c:3},{n:["potato"],e:"๐Ÿฅ”",c:8},{n:["guitar"],e:"๐ŸŽธ",c:5},{n:["carrot"],e:"๐Ÿฅ•",c:8},{n:["cityscape"],e:"๐Ÿ™๏ธ",c:3},{n:["flag-au"],e:"๐Ÿ‡ฆ๐Ÿ‡บ",c:4},{n:["do_not_litter"],e:"๐Ÿšฏ",c:7},{n:["hugging_face"],e:"๐Ÿค—",c:1},{n:["cow"],e:"๐Ÿฎ",c:0},{n:["medal"],e:"๐ŸŽ–๏ธ",c:6},{n:["musical_keyboard"],e:"๐ŸŽน",c:5},{n:["corn"],e:"๐ŸŒฝ",c:8},{n:["derelict_house_building"],e:"๐Ÿš๏ธ",c:3},{n:["non-potable_water"],e:"๐Ÿšฑ",c:7},{n:["trophy"],e:"๐Ÿ†",c:6},{n:["flag-aw"],e:"๐Ÿ‡ฆ๐Ÿ‡ผ",c:4},{n:["star-struck","grinning_face_with_star_eyes"],e:"๐Ÿคฉ",c:1},{n:["ox"],e:"๐Ÿ‚",c:0},{n:["trumpet"],e:"๐ŸŽบ",c:5},{n:["hot_pepper"],e:"๐ŸŒถ๏ธ",c:8},{n:["sports_medal"],e:"๐Ÿ…",c:6},{n:["flag-ax"],e:"๐Ÿ‡ฆ๐Ÿ‡ฝ",c:4},{n:["water_buffalo"],e:"๐Ÿƒ",c:0},{n:["no_pedestrians"],e:"๐Ÿšท",c:7},{n:["thinking_face"],e:"๐Ÿค”",c:1},{n:["house"],e:"๐Ÿ ",c:3},{n:["no_mobile_phones"],e:"๐Ÿ“ต",c:7},{n:["flag-az"],e:"๐Ÿ‡ฆ๐Ÿ‡ฟ",c:4},{n:["first_place_medal"],e:"๐Ÿฅ‡",c:6},{n:["house_with_garden"],e:"๐Ÿก",c:3},{n:["violin"],e:"๐ŸŽป",c:5},{n:["face_with_raised_eyebrow","face_with_one_eyebrow_raised"],e:"๐Ÿคจ",c:1},{n:["cucumber"],e:"๐Ÿฅ’",c:8},{n:["cow2"],e:"๐Ÿ„",c:0},{n:["flag-ba"],e:"๐Ÿ‡ง๐Ÿ‡ฆ",c:4},{n:["pig"],e:"๐Ÿท",c:0},{n:["drum_with_drumsticks"],e:"๐Ÿฅ",c:5},{n:["underage"],e:"๐Ÿ”ž",c:7},{n:["broccoli"],e:"๐Ÿฅฆ",c:8},{n:["office"],e:"๐Ÿข",c:3},{n:["second_place_medal"],e:"๐Ÿฅˆ",c:6},{n:["neutral_face"],e:"๐Ÿ˜",c:1},{n:["third_place_medal"],e:"๐Ÿฅ‰",c:6},{n:["mushroom"],e:"๐Ÿ„",c:8},{n:["flag-bb"],e:"๐Ÿ‡ง๐Ÿ‡ง",c:4},{n:["radioactive_sign"],e:"โ˜ข๏ธ",c:7},{n:["pig2"],e:"๐Ÿ–",c:0},{n:["expressionless"],e:"๐Ÿ˜‘",c:1},{n:["iphone"],e:"๐Ÿ“ฑ",c:5},{n:["post_office"],e:"๐Ÿฃ",c:3},{n:["european_post_office"],e:"๐Ÿค",c:3},{n:["soccer"],e:"โšฝ",c:6},{n:["boar"],e:"๐Ÿ—",c:0},{n:["peanuts"],e:"๐Ÿฅœ",c:8},{n:["calling"],e:"๐Ÿ“ฒ",c:5},{n:["biohazard_sign"],e:"โ˜ฃ๏ธ",c:7},{n:["flag-bd"],e:"๐Ÿ‡ง๐Ÿ‡ฉ",c:4},{n:["no_mouth"],e:"๐Ÿ˜ถ",c:1},{n:["face_with_rolling_eyes"],e:"๐Ÿ™„",c:1},{n:["phone","telephone"],e:"โ˜Ž๏ธ",c:5},{n:["pig_nose"],e:"๐Ÿฝ",c:0},{n:["chestnut"],e:"๐ŸŒฐ",c:8},{n:["arrow_up"],e:"โฌ†๏ธ",c:7},{n:["hospital"],e:"๐Ÿฅ",c:3},{n:["flag-be"],e:"๐Ÿ‡ง๐Ÿ‡ช",c:4},{n:["baseball"],e:"โšพ",c:6},{n:["smirk"],e:"๐Ÿ˜",c:1},{n:["arrow_upper_right"],e:"โ†—๏ธ",c:7},{n:["flag-bf"],e:"๐Ÿ‡ง๐Ÿ‡ซ",c:4},{n:["basketball"],e:"๐Ÿ€",c:6},{n:["ram"],e:"๐Ÿ",c:0},{n:["bank"],e:"๐Ÿฆ",c:3},{n:["bread"],e:"๐Ÿž",c:8},{n:["telephone_receiver"],e:"๐Ÿ“ž",c:5},{n:["croissant"],e:"๐Ÿฅ",c:8},{n:["pager"],e:"๐Ÿ“Ÿ",c:5},{n:["sheep"],e:"๐Ÿ‘",c:0},{n:["arrow_right"],e:"โžก๏ธ",c:7},{n:["persevere"],e:"๐Ÿ˜ฃ",c:1},{n:["flag-bg"],e:"๐Ÿ‡ง๐Ÿ‡ฌ",c:4},{n:["volleyball"],e:"๐Ÿ",c:6},{n:["hotel"],e:"๐Ÿจ",c:3},{n:["arrow_lower_right"],e:"โ†˜๏ธ",c:7},{n:["goat"],e:"๐Ÿ",c:0},{n:["flag-bh"],e:"๐Ÿ‡ง๐Ÿ‡ญ",c:4},{n:["love_hotel"],e:"๐Ÿฉ",c:3},{n:["disappointed_relieved"],e:"๐Ÿ˜ฅ",c:1},{n:["baguette_bread"],e:"๐Ÿฅ–",c:8},{n:["football"],e:"๐Ÿˆ",c:6},{n:["fax"],e:"๐Ÿ“ ",c:5},{n:["convenience_store"],e:"๐Ÿช",c:3},{n:["dromedary_camel"],e:"๐Ÿช",c:0},{n:["arrow_down"],e:"โฌ‡๏ธ",c:7},{n:["battery"],e:"๐Ÿ”‹",c:5},{n:["rugby_football"],e:"๐Ÿ‰",c:6},{n:["pretzel"],e:"๐Ÿฅจ",c:8},{n:["open_mouth"],e:"๐Ÿ˜ฎ",c:1},{n:["flag-bi"],e:"๐Ÿ‡ง๐Ÿ‡ฎ",c:4},{n:["flag-bj"],e:"๐Ÿ‡ง๐Ÿ‡ฏ",c:4},{n:["pancakes"],e:"๐Ÿฅž",c:8},{n:["school"],e:"๐Ÿซ",c:3},{n:["tennis"],e:"๐ŸŽพ",c:6},{n:["zipper_mouth_face"],e:"๐Ÿค",c:1},{n:["camel"],e:"๐Ÿซ",c:0},{n:["arrow_lower_left"],e:"โ†™๏ธ",c:7},{n:["electric_plug"],e:"๐Ÿ”Œ",c:5},{n:["cheese_wedge"],e:"๐Ÿง€",c:8},{n:["hushed"],e:"๐Ÿ˜ฏ",c:1},{n:["computer"],e:"๐Ÿ’ป",c:5},{n:["giraffe_face"],e:"๐Ÿฆ’",c:0},{n:["8ball"],e:"๐ŸŽฑ",c:6},{n:["flag-bl"],e:"๐Ÿ‡ง๐Ÿ‡ฑ",c:4},{n:["arrow_left"],e:"โฌ…๏ธ",c:7},{n:["department_store"],e:"๐Ÿฌ",c:3},{n:["meat_on_bone"],e:"๐Ÿ–",c:8},{n:["arrow_upper_left"],e:"โ†–๏ธ",c:7},{n:["flag-bm"],e:"๐Ÿ‡ง๐Ÿ‡ฒ",c:4},{n:["sleepy"],e:"๐Ÿ˜ช",c:1},{n:["bowling"],e:"๐ŸŽณ",c:6},{n:["factory"],e:"๐Ÿญ",c:3},{n:["desktop_computer"],e:"๐Ÿ–ฅ๏ธ",c:5},{n:["elephant"],e:"๐Ÿ˜",c:0},{n:["rhinoceros"],e:"๐Ÿฆ",c:0},{n:["arrow_up_down"],e:"โ†•๏ธ",c:7},{n:["cricket_bat_and_ball"],e:"๐Ÿ",c:6},{n:["printer"],e:"๐Ÿ–จ๏ธ",c:5},{n:["poultry_leg"],e:"๐Ÿ—",c:8},{n:["tired_face"],e:"๐Ÿ˜ซ",c:1},{n:["japanese_castle"],e:"๐Ÿฏ",c:3},{n:["flag-bn"],e:"๐Ÿ‡ง๐Ÿ‡ณ",c:4},{n:["field_hockey_stick_and_ball"],e:"๐Ÿ‘",c:6},{n:["sleeping"],e:"๐Ÿ˜ด",c:1},{n:["left_right_arrow"],e:"โ†”๏ธ",c:7},{n:["keyboard"],e:"โŒจ๏ธ",c:5},{n:["european_castle"],e:"๐Ÿฐ",c:3},{n:["mouse"],e:"๐Ÿญ",c:0},{n:["flag-bo"],e:"๐Ÿ‡ง๐Ÿ‡ด",c:4},{n:["cut_of_meat"],e:"๐Ÿฅฉ",c:8},{n:["ice_hockey_stick_and_puck"],e:"๐Ÿ’",c:6},{n:["mouse2"],e:"๐Ÿ",c:0},{n:["three_button_mouse"],e:"๐Ÿ–ฑ๏ธ",c:5},{n:["leftwards_arrow_with_hook"],e:"โ†ฉ๏ธ",c:7},{n:["bacon"],e:"๐Ÿฅ“",c:8},{n:["relieved"],e:"๐Ÿ˜Œ",c:1},{n:["flag-bq"],e:"๐Ÿ‡ง๐Ÿ‡ถ",c:4},{n:["wedding"],e:"๐Ÿ’’",c:3},{n:["tokyo_tower"],e:"๐Ÿ—ผ",c:3},{n:["arrow_right_hook"],e:"โ†ช๏ธ",c:7},{n:["hamburger"],e:"๐Ÿ”",c:8},{n:["stuck_out_tongue"],e:"๐Ÿ˜›",c:1},{n:["trackball"],e:"๐Ÿ–ฒ๏ธ",c:5},{n:["flag-br"],e:"๐Ÿ‡ง๐Ÿ‡ท",c:4},{n:["rat"],e:"๐Ÿ€",c:0},{n:["table_tennis_paddle_and_ball"],e:"๐Ÿ“",c:6},{n:["minidisc"],e:"๐Ÿ’ฝ",c:5},{n:["stuck_out_tongue_winking_eye"],e:"๐Ÿ˜œ",c:1},{n:["fries"],e:"๐ŸŸ",c:8},{n:["badminton_racquet_and_shuttlecock"],e:"๐Ÿธ",c:6},{n:["statue_of_liberty"],e:"๐Ÿ—ฝ",c:3},{n:["flag-bs"],e:"๐Ÿ‡ง๐Ÿ‡ธ",c:4},{n:["arrow_heading_up"],e:"โคด๏ธ",c:7},{n:["hamster"],e:"๐Ÿน",c:0},{n:["stuck_out_tongue_closed_eyes"],e:"๐Ÿ˜",c:1},{n:["pizza"],e:"๐Ÿ•",c:8},{n:["boxing_glove"],e:"๐ŸฅŠ",c:6},{n:["floppy_disk"],e:"๐Ÿ’พ",c:5},{n:["arrow_heading_down"],e:"โคต๏ธ",c:7},{n:["flag-bt"],e:"๐Ÿ‡ง๐Ÿ‡น",c:4},{n:["rabbit"],e:"๐Ÿฐ",c:0},{n:["church"],e:"โ›ช",c:3},{n:["drooling_face"],e:"๐Ÿคค",c:1},{n:["flag-bv"],e:"๐Ÿ‡ง๐Ÿ‡ป",c:4},{n:["mosque"],e:"๐Ÿ•Œ",c:3},{n:["rabbit2"],e:"๐Ÿ‡",c:0},{n:["hotdog"],e:"๐ŸŒญ",c:8},{n:["martial_arts_uniform"],e:"๐Ÿฅ‹",c:6},{n:["arrows_clockwise"],e:"๐Ÿ”ƒ",c:7},{n:["cd"],e:"๐Ÿ’ฟ",c:5},{n:["arrows_counterclockwise"],e:"๐Ÿ”„",c:7},{n:["sandwich"],e:"๐Ÿฅช",c:8},{n:["chipmunk"],e:"๐Ÿฟ๏ธ",c:0},{n:["synagogue"],e:"๐Ÿ•",c:3},{n:["unamused"],e:"๐Ÿ˜’",c:1},{n:["goal_net"],e:"๐Ÿฅ…",c:6},{n:["flag-bw"],e:"๐Ÿ‡ง๐Ÿ‡ผ",c:4},{n:["dvd"],e:"๐Ÿ“€",c:5},{n:["hedgehog"],e:"๐Ÿฆ”",c:0},{n:["dart"],e:"๐ŸŽฏ",c:6},{n:["taco"],e:"๐ŸŒฎ",c:8},{n:["back"],e:"๐Ÿ”™",c:7},{n:["flag-by"],e:"๐Ÿ‡ง๐Ÿ‡พ",c:4},{n:["shinto_shrine"],e:"โ›ฉ๏ธ",c:3},{n:["movie_camera"],e:"๐ŸŽฅ",c:5},{n:["sweat"],e:"๐Ÿ˜“",c:1},{n:["burrito"],e:"๐ŸŒฏ",c:8},{n:["flag-bz"],e:"๐Ÿ‡ง๐Ÿ‡ฟ",c:4},{n:["pensive"],e:"๐Ÿ˜”",c:1},{n:["kaaba"],e:"๐Ÿ•‹",c:3},{n:["film_frames"],e:"๐ŸŽž๏ธ",c:5},{n:["bat"],e:"๐Ÿฆ‡",c:0},{n:["golf"],e:"โ›ณ",c:6},{n:["end"],e:"๐Ÿ”š",c:7},{n:["film_projector"],e:"๐Ÿ“ฝ๏ธ",c:5},{n:["bear"],e:"๐Ÿป",c:0},{n:["ice_skate"],e:"โ›ธ๏ธ",c:6},{n:["fountain"],e:"โ›ฒ",c:3},{n:["confused"],e:"๐Ÿ˜•",c:1},{n:["flag-ca"],e:"๐Ÿ‡จ๐Ÿ‡ฆ",c:4},{n:["on"],e:"๐Ÿ”›",c:7},{n:["stuffed_flatbread"],e:"๐Ÿฅ™",c:8},{n:["soon"],e:"๐Ÿ”œ",c:7},{n:["upside_down_face"],e:"๐Ÿ™ƒ",c:1},{n:["fishing_pole_and_fish"],e:"๐ŸŽฃ",c:6},{n:["tent"],e:"โ›บ",c:3},{n:["clapper"],e:"๐ŸŽฌ",c:5},{n:["egg"],e:"๐Ÿฅš",c:8},{n:["flag-cc"],e:"๐Ÿ‡จ๐Ÿ‡จ",c:4},{n:["koala"],e:"๐Ÿจ",c:0},{n:["foggy"],e:"๐ŸŒ",c:3},{n:["tv"],e:"๐Ÿ“บ",c:5},{n:["panda_face"],e:"๐Ÿผ",c:0},{n:["fried_egg","cooking"],e:"๐Ÿณ",c:8},{n:["top"],e:"๐Ÿ”",c:7},{n:["flag-cd"],e:"๐Ÿ‡จ๐Ÿ‡ฉ",c:4},{n:["money_mouth_face"],e:"๐Ÿค‘",c:1},{n:["running_shirt_with_sash"],e:"๐ŸŽฝ",c:6},{n:["astonished"],e:"๐Ÿ˜ฒ",c:1},{n:["feet","paw_prints"],e:"๐Ÿพ",c:0},{n:["camera"],e:"๐Ÿ“ท",c:5},{n:["flag-cf"],e:"๐Ÿ‡จ๐Ÿ‡ซ",c:4},{n:["place_of_worship"],e:"๐Ÿ›",c:7},{n:["night_with_stars"],e:"๐ŸŒƒ",c:3},{n:["ski"],e:"๐ŸŽฟ",c:6},{n:["shallow_pan_of_food"],e:"๐Ÿฅ˜",c:8},{n:["camera_with_flash"],e:"๐Ÿ“ธ",c:5},{n:["sunrise_over_mountains"],e:"๐ŸŒ„",c:3},{n:["turkey"],e:"๐Ÿฆƒ",c:0},{n:["white_frowning_face"],e:"โ˜น๏ธ",c:1},{n:["flag-cg"],e:"๐Ÿ‡จ๐Ÿ‡ฌ",c:4},{n:["stew"],e:"๐Ÿฒ",c:8},{n:["sled"],e:"๐Ÿ›ท",c:6},{n:["atom_symbol"],e:"โš›๏ธ",c:7},{n:["curling_stone"],e:"๐ŸฅŒ",c:6},{n:["slightly_frowning_face"],e:"๐Ÿ™",c:1},{n:["sunrise"],e:"๐ŸŒ…",c:3},{n:["om_symbol"],e:"๐Ÿ•‰๏ธ",c:7},{n:["chicken"],e:"๐Ÿ”",c:0},{n:["bowl_with_spoon"],e:"๐Ÿฅฃ",c:8},{n:["flag-ch"],e:"๐Ÿ‡จ๐Ÿ‡ญ",c:4},{n:["video_camera"],e:"๐Ÿ“น",c:5},{n:["video_game"],e:"๐ŸŽฎ",c:6},{n:["rooster"],e:"๐Ÿ“",c:0},{n:["vhs"],e:"๐Ÿ“ผ",c:5},{n:["city_sunset"],e:"๐ŸŒ†",c:3},{n:["confounded"],e:"๐Ÿ˜–",c:1},{n:["green_salad"],e:"๐Ÿฅ—",c:8},{n:["star_of_david"],e:"โœก๏ธ",c:7},{n:["flag-ci"],e:"๐Ÿ‡จ๐Ÿ‡ฎ",c:4},{n:["popcorn"],e:"๐Ÿฟ",c:8},{n:["city_sunrise"],e:"๐ŸŒ‡",c:3},{n:["disappointed"],e:"๐Ÿ˜ž",c:1},{n:["mag"],e:"๐Ÿ”",c:5},{n:["hatching_chick"],e:"๐Ÿฃ",c:0},{n:["joystick"],e:"๐Ÿ•น๏ธ",c:6},{n:["wheel_of_dharma"],e:"โ˜ธ๏ธ",c:7},{n:["flag-ck"],e:"๐Ÿ‡จ๐Ÿ‡ฐ",c:4},{n:["canned_food"],e:"๐Ÿฅซ",c:8},{n:["worried"],e:"๐Ÿ˜Ÿ",c:1},{n:["baby_chick"],e:"๐Ÿค",c:0},{n:["flag-cl"],e:"๐Ÿ‡จ๐Ÿ‡ฑ",c:4},{n:["game_die"],e:"๐ŸŽฒ",c:6},{n:["mag_right"],e:"๐Ÿ”Ž",c:5},{n:["yin_yang"],e:"โ˜ฏ๏ธ",c:7},{n:["bridge_at_night"],e:"๐ŸŒ‰",c:3},{n:["spades"],e:"โ™ ๏ธ",c:6},{n:["hatched_chick"],e:"๐Ÿฅ",c:0},{n:["flag-cm"],e:"๐Ÿ‡จ๐Ÿ‡ฒ",c:4},{n:["latin_cross"],e:"โœ๏ธ",c:7},{n:["triumph"],e:"๐Ÿ˜ค",c:1},{n:["hotsprings"],e:"โ™จ๏ธ",c:3},{n:["bento"],e:"๐Ÿฑ",c:8},{n:["microscope"],e:"๐Ÿ”ฌ",c:5},{n:["cry"],e:"๐Ÿ˜ข",c:1},{n:["bird"],e:"๐Ÿฆ",c:0},{n:["cn","flag-cn"],e:"๐Ÿ‡จ๐Ÿ‡ณ",c:4},{n:["telescope"],e:"๐Ÿ”ญ",c:5},{n:["rice_cracker"],e:"๐Ÿ˜",c:8},{n:["hearts"],e:"โ™ฅ๏ธ",c:6},{n:["orthodox_cross"],e:"โ˜ฆ๏ธ",c:7},{n:["milky_way"],e:"๐ŸŒŒ",c:3},{n:["rice_ball"],e:"๐Ÿ™",c:8},{n:["satellite_antenna"],e:"๐Ÿ“ก",c:5},{n:["flag-co"],e:"๐Ÿ‡จ๐Ÿ‡ด",c:4},{n:["carousel_horse"],e:"๐ŸŽ ",c:3},{n:["sob"],e:"๐Ÿ˜ญ",c:1},{n:["diamonds"],e:"โ™ฆ๏ธ",c:6},{n:["star_and_crescent"],e:"โ˜ช๏ธ",c:7},{n:["penguin"],e:"๐Ÿง",c:0},{n:["dove_of_peace"],e:"๐Ÿ•Š๏ธ",c:0},{n:["flag-cp"],e:"๐Ÿ‡จ๐Ÿ‡ต",c:4},{n:["ferris_wheel"],e:"๐ŸŽก",c:3},{n:["clubs"],e:"โ™ฃ๏ธ",c:6},{n:["peace_symbol"],e:"โ˜ฎ๏ธ",c:7},{n:["candle"],e:"๐Ÿ•ฏ๏ธ",c:5},{n:["frowning"],e:"๐Ÿ˜ฆ",c:1},{n:["rice"],e:"๐Ÿš",c:8},{n:["flag-cr"],e:"๐Ÿ‡จ๐Ÿ‡ท",c:4},{n:["roller_coaster"],e:"๐ŸŽข",c:3},{n:["menorah_with_nine_branches"],e:"๐Ÿ•Ž",c:7},{n:["black_joker"],e:"๐Ÿƒ",c:6},{n:["eagle"],e:"๐Ÿฆ…",c:0},{n:["curry"],e:"๐Ÿ›",c:8},{n:["bulb"],e:"๐Ÿ’ก",c:5},{n:["anguished"],e:"๐Ÿ˜ง",c:1},{n:["flag-cu"],e:"๐Ÿ‡จ๐Ÿ‡บ",c:4},{n:["barber"],e:"๐Ÿ’ˆ",c:3},{n:["duck"],e:"๐Ÿฆ†",c:0},{n:["six_pointed_star"],e:"๐Ÿ”ฏ",c:7},{n:["ramen"],e:"๐Ÿœ",c:8},{n:["flashlight"],e:"๐Ÿ”ฆ",c:5},{n:["mahjong"],e:"๐Ÿ€„",c:6},{n:["fearful"],e:"๐Ÿ˜จ",c:1},{n:["aries"],e:"โ™ˆ",c:7},{n:["spaghetti"],e:"๐Ÿ",c:8},{n:["circus_tent"],e:"๐ŸŽช",c:3},{n:["izakaya_lantern","lantern"],e:"๐Ÿฎ",c:5},{n:["flag-cv"],e:"๐Ÿ‡จ๐Ÿ‡ป",c:4},{n:["weary"],e:"๐Ÿ˜ฉ",c:1},{n:["flower_playing_cards"],e:"๐ŸŽด",c:6},{n:["owl"],e:"๐Ÿฆ‰",c:0},{n:["performing_arts"],e:"๐ŸŽญ",c:3},{n:["frog"],e:"๐Ÿธ",c:0},{n:["flag-cw"],e:"๐Ÿ‡จ๐Ÿ‡ผ",c:4},{n:["notebook_with_decorative_cover"],e:"๐Ÿ“”",c:5},{n:["exploding_head","shocked_face_with_exploding_head"],e:"๐Ÿคฏ",c:1},{n:["taurus"],e:"โ™‰",c:7},{n:["sweet_potato"],e:"๐Ÿ ",c:8},{n:["closed_book"],e:"๐Ÿ“•",c:5},{n:["gemini"],e:"โ™Š",c:7},{n:["frame_with_picture"],e:"๐Ÿ–ผ๏ธ",c:3},{n:["flag-cx"],e:"๐Ÿ‡จ๐Ÿ‡ฝ",c:4},{n:["grimacing"],e:"๐Ÿ˜ฌ",c:1},{n:["crocodile"],e:"๐ŸŠ",c:0},{n:["oden"],e:"๐Ÿข",c:8},{n:["flag-cy"],e:"๐Ÿ‡จ๐Ÿ‡พ",c:4},{n:["book","open_book"],e:"๐Ÿ“–",c:5},{n:["turtle"],e:"๐Ÿข",c:0},{n:["art"],e:"๐ŸŽจ",c:3},{n:["sushi"],e:"๐Ÿฃ",c:8},{n:["cold_sweat"],e:"๐Ÿ˜ฐ",c:1},{n:["cancer"],e:"โ™‹",c:7},{n:["fried_shrimp"],e:"๐Ÿค",c:8},{n:["slot_machine"],e:"๐ŸŽฐ",c:3},{n:["scream"],e:"๐Ÿ˜ฑ",c:1},{n:["green_book"],e:"๐Ÿ“—",c:5},{n:["leo"],e:"โ™Œ",c:7},{n:["flag-cz"],e:"๐Ÿ‡จ๐Ÿ‡ฟ",c:4},{n:["lizard"],e:"๐ŸฆŽ",c:0},{n:["virgo"],e:"โ™",c:7},{n:["steam_locomotive"],e:"๐Ÿš‚",c:3},{n:["de","flag-de"],e:"๐Ÿ‡ฉ๐Ÿ‡ช",c:4},{n:["flushed"],e:"๐Ÿ˜ณ",c:1},{n:["blue_book"],e:"๐Ÿ“˜",c:5},{n:["snake"],e:"๐Ÿ",c:0},{n:["fish_cake"],e:"๐Ÿฅ",c:8},{n:["railway_car"],e:"๐Ÿšƒ",c:3},{n:["dango"],e:"๐Ÿก",c:8},{n:["orange_book"],e:"๐Ÿ“™",c:5},{n:["libra"],e:"โ™Ž",c:7},{n:["dragon_face"],e:"๐Ÿฒ",c:0},{n:["flag-dg"],e:"๐Ÿ‡ฉ๐Ÿ‡ฌ",c:4},{n:["zany_face","grinning_face_with_one_large_and_one_small_eye"],e:"๐Ÿคช",c:1},{n:["books"],e:"๐Ÿ“š",c:5},{n:["dragon"],e:"๐Ÿ‰",c:0},{n:["flag-dj"],e:"๐Ÿ‡ฉ๐Ÿ‡ฏ",c:4},{n:["dumpling"],e:"๐ŸฅŸ",c:8},{n:["dizzy_face"],e:"๐Ÿ˜ต",c:1},{n:["scorpius"],e:"โ™",c:7},{n:["bullettrain_side"],e:"๐Ÿš„",c:3},{n:["bullettrain_front"],e:"๐Ÿš…",c:3},{n:["notebook"],e:"๐Ÿ““",c:5},{n:["fortune_cookie"],e:"๐Ÿฅ ",c:8},{n:["sagittarius"],e:"โ™",c:7},{n:["sauropod"],e:"๐Ÿฆ•",c:0},{n:["flag-dk"],e:"๐Ÿ‡ฉ๐Ÿ‡ฐ",c:4},{n:["rage"],e:"๐Ÿ˜ก",c:1},{n:["ledger"],e:"๐Ÿ“’",c:5},{n:["angry"],e:"๐Ÿ˜ ",c:1},{n:["t-rex"],e:"๐Ÿฆ–",c:0},{n:["capricorn"],e:"โ™‘",c:7},{n:["takeout_box"],e:"๐Ÿฅก",c:8},{n:["flag-dm"],e:"๐Ÿ‡ฉ๐Ÿ‡ฒ",c:4},{n:["train2"],e:"๐Ÿš†",c:3},{n:["page_with_curl"],e:"๐Ÿ“ƒ",c:5},{n:["whale"],e:"๐Ÿณ",c:0},{n:["face_with_symbols_on_mouth","serious_face_with_symbols_covering_mouth"],e:"๐Ÿคฌ",c:1},{n:["flag-do"],e:"๐Ÿ‡ฉ๐Ÿ‡ด",c:4},{n:["metro"],e:"๐Ÿš‡",c:3},{n:["icecream"],e:"๐Ÿฆ",c:8},{n:["aquarius"],e:"โ™’",c:7},{n:["flag-dz"],e:"๐Ÿ‡ฉ๐Ÿ‡ฟ",c:4},{n:["whale2"],e:"๐Ÿ‹",c:0},{n:["mask"],e:"๐Ÿ˜ท",c:1},{n:["scroll"],e:"๐Ÿ“œ",c:5},{n:["shaved_ice"],e:"๐Ÿง",c:8},{n:["pisces"],e:"โ™“",c:7},{n:["light_rail"],e:"๐Ÿšˆ",c:3},{n:["dolphin","flipper"],e:"๐Ÿฌ",c:0},{n:["face_with_thermometer"],e:"๐Ÿค’",c:1},{n:["flag-ea"],e:"๐Ÿ‡ช๐Ÿ‡ฆ",c:4},{n:["ophiuchus"],e:"โ›Ž",c:7},{n:["station"],e:"๐Ÿš‰",c:3},{n:["ice_cream"],e:"๐Ÿจ",c:8},{n:["page_facing_up"],e:"๐Ÿ“„",c:5},{n:["doughnut"],e:"๐Ÿฉ",c:8},{n:["face_with_head_bandage"],e:"๐Ÿค•",c:1},{n:["fish"],e:"๐ŸŸ",c:0},{n:["newspaper"],e:"๐Ÿ“ฐ",c:5},{n:["tram"],e:"๐ŸšŠ",c:3},{n:["flag-ec"],e:"๐Ÿ‡ช๐Ÿ‡จ",c:4},{n:["twisted_rightwards_arrows"],e:"๐Ÿ”€",c:7},{n:["flag-ee"],e:"๐Ÿ‡ช๐Ÿ‡ช",c:4},{n:["cookie"],e:"๐Ÿช",c:8},{n:["monorail"],e:"๐Ÿš",c:3},{n:["tropical_fish"],e:"๐Ÿ ",c:0},{n:["rolled_up_newspaper"],e:"๐Ÿ—ž๏ธ",c:5},{n:["nauseated_face"],e:"๐Ÿคข",c:1},{n:["repeat"],e:"๐Ÿ”",c:7},{n:["bookmark_tabs"],e:"๐Ÿ“‘",c:5},{n:["repeat_one"],e:"๐Ÿ”‚",c:7},{n:["flag-eg"],e:"๐Ÿ‡ช๐Ÿ‡ฌ",c:4},{n:["mountain_railway"],e:"๐Ÿšž",c:3},{n:["birthday"],e:"๐ŸŽ‚",c:8},{n:["blowfish"],e:"๐Ÿก",c:0},{n:["face_vomiting","face_with_open_mouth_vomiting"],e:"๐Ÿคฎ",c:1},{n:["arrow_forward"],e:"โ–ถ๏ธ",c:7},{n:["bookmark"],e:"๐Ÿ”–",c:5},{n:["flag-eh"],e:"๐Ÿ‡ช๐Ÿ‡ญ",c:4},{n:["shark"],e:"๐Ÿฆˆ",c:0},{n:["train"],e:"๐Ÿš‹",c:3},{n:["sneezing_face"],e:"๐Ÿคง",c:1},{n:["cake"],e:"๐Ÿฐ",c:8},{n:["bus"],e:"๐ŸšŒ",c:3},{n:["pie"],e:"๐Ÿฅง",c:8},{n:["innocent"],e:"๐Ÿ˜‡",c:1},{n:["fast_forward"],e:"โฉ",c:7},{n:["label"],e:"๐Ÿท๏ธ",c:5},{n:["octopus"],e:"๐Ÿ™",c:0},{n:["flag-er"],e:"๐Ÿ‡ช๐Ÿ‡ท",c:4},{n:["black_right_pointing_double_triangle_with_vertical_bar"],e:"โญ๏ธ",c:7},{n:["chocolate_bar"],e:"๐Ÿซ",c:8},{n:["oncoming_bus"],e:"๐Ÿš",c:3},{n:["shell"],e:"๐Ÿš",c:0},{n:["face_with_cowboy_hat"],e:"๐Ÿค ",c:1},{n:["moneybag"],e:"๐Ÿ’ฐ",c:5},{n:["es","flag-es"],e:"๐Ÿ‡ช๐Ÿ‡ธ",c:4},{n:["crab"],e:"๐Ÿฆ€",c:0},{n:["yen"],e:"๐Ÿ’ด",c:5},{n:["flag-et"],e:"๐Ÿ‡ช๐Ÿ‡น",c:4},{n:["clown_face"],e:"๐Ÿคก",c:1},{n:["black_right_pointing_triangle_with_double_vertical_bar"],e:"โฏ๏ธ",c:7},{n:["trolleybus"],e:"๐ŸšŽ",c:3},{n:["candy"],e:"๐Ÿฌ",c:8},{n:["lying_face"],e:"๐Ÿคฅ",c:1},{n:["arrow_backward"],e:"โ—€๏ธ",c:7},{n:["dollar"],e:"๐Ÿ’ต",c:5},{n:["shrimp"],e:"๐Ÿฆ",c:0},{n:["minibus"],e:"๐Ÿš",c:3},{n:["flag-eu"],e:"๐Ÿ‡ช๐Ÿ‡บ",c:4},{n:["lollipop"],e:"๐Ÿญ",c:8},{n:["squid"],e:"๐Ÿฆ‘",c:0},{n:["euro"],e:"๐Ÿ’ถ",c:5},{n:["flag-fi"],e:"๐Ÿ‡ซ๐Ÿ‡ฎ",c:4},{n:["ambulance"],e:"๐Ÿš‘",c:3},{n:["custard"],e:"๐Ÿฎ",c:8},{n:["shushing_face","face_with_finger_covering_closed_lips"],e:"๐Ÿคซ",c:1},{n:["rewind"],e:"โช",c:7},{n:["black_left_pointing_double_triangle_with_vertical_bar"],e:"โฎ๏ธ",c:7},{n:["face_with_hand_over_mouth","smiling_face_with_smiling_eyes_and_hand_covering_mouth"],e:"๐Ÿคญ",c:1},{n:["flag-fj"],e:"๐Ÿ‡ซ๐Ÿ‡ฏ",c:4},{n:["honey_pot"],e:"๐Ÿฏ",c:8},{n:["snail"],e:"๐ŸŒ",c:0},{n:["pound"],e:"๐Ÿ’ท",c:5},{n:["fire_engine"],e:"๐Ÿš’",c:3},{n:["baby_bottle"],e:"๐Ÿผ",c:8},{n:["flag-fk"],e:"๐Ÿ‡ซ๐Ÿ‡ฐ",c:4},{n:["butterfly"],e:"๐Ÿฆ‹",c:0},{n:["money_with_wings"],e:"๐Ÿ’ธ",c:5},{n:["face_with_monocle"],e:"๐Ÿง",c:1},{n:["police_car"],e:"๐Ÿš“",c:3},{n:["arrow_up_small"],e:"๐Ÿ”ผ",c:7},{n:["flag-fm"],e:"๐Ÿ‡ซ๐Ÿ‡ฒ",c:4},{n:["glass_of_milk"],e:"๐Ÿฅ›",c:8},{n:["credit_card"],e:"๐Ÿ’ณ",c:5},{n:["oncoming_police_car"],e:"๐Ÿš”",c:3},{n:["bug"],e:"๐Ÿ›",c:0},{n:["nerd_face"],e:"๐Ÿค“",c:1},{n:["arrow_double_up"],e:"โซ",c:7},{n:["chart"],e:"๐Ÿ’น",c:5},{n:["flag-fo"],e:"๐Ÿ‡ซ๐Ÿ‡ด",c:4},{n:["ant"],e:"๐Ÿœ",c:0},{n:["arrow_down_small"],e:"๐Ÿ”ฝ",c:7},{n:["smiling_imp"],e:"๐Ÿ˜ˆ",c:1},{n:["taxi"],e:"๐Ÿš•",c:3},{n:["coffee"],e:"โ˜•",c:8},{n:["fr","flag-fr"],e:"๐Ÿ‡ซ๐Ÿ‡ท",c:4},{n:["oncoming_taxi"],e:"๐Ÿš–",c:3},{n:["arrow_double_down"],e:"โฌ",c:7},{n:["imp"],e:"๐Ÿ‘ฟ",c:1},{n:["currency_exchange"],e:"๐Ÿ’ฑ",c:5},{n:["tea"],e:"๐Ÿต",c:8},{n:["bee","honeybee"],e:"๐Ÿ",c:0},{n:["heavy_dollar_sign"],e:"๐Ÿ’ฒ",c:5},{n:["car","red_car"],e:"๐Ÿš—",c:3},{n:["sake"],e:"๐Ÿถ",c:8},{n:["flag-ga"],e:"๐Ÿ‡ฌ๐Ÿ‡ฆ",c:4},{n:["beetle"],e:"๐Ÿž",c:0},{n:["japanese_ogre"],e:"๐Ÿ‘น",c:1},{n:["double_vertical_bar"],e:"โธ๏ธ",c:7},{n:["champagne"],e:"๐Ÿพ",c:8},{n:["japanese_goblin"],e:"๐Ÿ‘บ",c:1},{n:["black_square_for_stop"],e:"โน๏ธ",c:7},{n:["oncoming_automobile"],e:"๐Ÿš˜",c:3},{n:["email","envelope"],e:"โœ‰๏ธ",c:5},{n:["cricket"],e:"๐Ÿฆ—",c:0},{n:["gb","uk","flag-gb"],e:"๐Ÿ‡ฌ๐Ÿ‡ง",c:4},{n:["black_circle_for_record"],e:"โบ๏ธ",c:7},{n:["flag-gd"],e:"๐Ÿ‡ฌ๐Ÿ‡ฉ",c:4},{n:["spider"],e:"๐Ÿ•ท๏ธ",c:0},{n:["blue_car"],e:"๐Ÿš™",c:3},{n:["skull"],e:"๐Ÿ’€",c:1},{n:["e-mail"],e:"๐Ÿ“ง",c:5},{n:["wine_glass"],e:"๐Ÿท",c:8},{n:["spider_web"],e:"๐Ÿ•ธ๏ธ",c:0},{n:["cocktail"],e:"๐Ÿธ",c:8},{n:["skull_and_crossbones"],e:"โ˜ ๏ธ",c:1},{n:["flag-ge"],e:"๐Ÿ‡ฌ๐Ÿ‡ช",c:4},{n:["eject"],e:"โ๏ธ",c:7},{n:["truck"],e:"๐Ÿšš",c:3},{n:["incoming_envelope"],e:"๐Ÿ“จ",c:5},{n:["tropical_drink"],e:"๐Ÿน",c:8},{n:["scorpion"],e:"๐Ÿฆ‚",c:0},{n:["cinema"],e:"๐ŸŽฆ",c:7},{n:["articulated_lorry"],e:"๐Ÿš›",c:3},{n:["envelope_with_arrow"],e:"๐Ÿ“ฉ",c:5},{n:["ghost"],e:"๐Ÿ‘ป",c:1},{n:["flag-gf"],e:"๐Ÿ‡ฌ๐Ÿ‡ซ",c:4},{n:["bouquet"],e:"๐Ÿ’",c:0},{n:["tractor"],e:"๐Ÿšœ",c:3},{n:["beer"],e:"๐Ÿบ",c:8},{n:["outbox_tray"],e:"๐Ÿ“ค",c:5},{n:["low_brightness"],e:"๐Ÿ”…",c:7},{n:["alien"],e:"๐Ÿ‘ฝ",c:1},{n:["flag-gg"],e:"๐Ÿ‡ฌ๐Ÿ‡ฌ",c:4},{n:["cherry_blossom"],e:"๐ŸŒธ",c:0},{n:["inbox_tray"],e:"๐Ÿ“ฅ",c:5},{n:["flag-gh"],e:"๐Ÿ‡ฌ๐Ÿ‡ญ",c:4},{n:["bike"],e:"๐Ÿšฒ",c:3},{n:["space_invader"],e:"๐Ÿ‘พ",c:1},{n:["beers"],e:"๐Ÿป",c:8},{n:["high_brightness"],e:"๐Ÿ”†",c:7},{n:["package"],e:"๐Ÿ“ฆ",c:5},{n:["scooter"],e:"๐Ÿ›ด",c:3},{n:["white_flower"],e:"๐Ÿ’ฎ",c:0},{n:["clinking_glasses"],e:"๐Ÿฅ‚",c:8},{n:["robot_face"],e:"๐Ÿค–",c:1},{n:["signal_strength"],e:"๐Ÿ“ถ",c:7},{n:["flag-gi"],e:"๐Ÿ‡ฌ๐Ÿ‡ฎ",c:4},{n:["flag-gl"],e:"๐Ÿ‡ฌ๐Ÿ‡ฑ",c:4},{n:["motor_scooter"],e:"๐Ÿ›ต",c:3},{n:["mailbox"],e:"๐Ÿ“ซ",c:5},{n:["vibration_mode"],e:"๐Ÿ“ณ",c:7},{n:["hankey","poop","shit"],e:"๐Ÿ’ฉ",c:1},{n:["rosette"],e:"๐Ÿต๏ธ",c:0},{n:["tumbler_glass"],e:"๐Ÿฅƒ",c:8},{n:["cup_with_straw"],e:"๐Ÿฅค",c:8},{n:["flag-gm"],e:"๐Ÿ‡ฌ๐Ÿ‡ฒ",c:4},{n:["mailbox_closed"],e:"๐Ÿ“ช",c:5},{n:["mobile_phone_off"],e:"๐Ÿ“ด",c:7},{n:["busstop"],e:"๐Ÿš",c:3},{n:["smiley_cat"],e:"๐Ÿ˜บ",c:1},{n:["rose"],e:"๐ŸŒน",c:0},{n:["motorway"],e:"๐Ÿ›ฃ๏ธ",c:3},{n:["smile_cat"],e:"๐Ÿ˜ธ",c:1},{n:["flag-gn"],e:"๐Ÿ‡ฌ๐Ÿ‡ณ",c:4},{n:["wilted_flower"],e:"๐Ÿฅ€",c:0},{n:["mailbox_with_mail"],e:"๐Ÿ“ฌ",c:5},{n:["chopsticks"],e:"๐Ÿฅข",c:8},{n:["female_sign"],e:"โ™€๏ธ",c:7},{n:["mailbox_with_