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

Version Description

Download this release

Release Info

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

Version 1.1

admin/class-admin-base.php ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace CHT\admin;
3
+
4
+ use CHT\includes\CHT_Widget;
5
+ /**
6
+ * Class CHT_Admin_Base
7
+ * @since 1.0
8
+ */
9
+
10
+ require 'class-social-icons.php';
11
+
12
+ class CHT_Admin_Base
13
+ {
14
+ public $page;
15
+ public $socials;
16
+ public $colors;
17
+ public $is_pro;
18
+ protected $token;
19
+
20
+ public function __construct()
21
+ {
22
+ $plugin = CHT_Widget::get_instance();
23
+ $this->plugin_slug = $plugin->get_plugin_slug();
24
+ $this->friendly_name = $plugin->get_name();
25
+ $this->socials = CHT_Social_Icons::get_instance()->get_icons_list();
26
+ $this->colors = CHT_Social_Icons::get_instance()->get_colors();
27
+ $this->token = $this->get_token();
28
+ $this->is_pro = $this->is_pro();
29
+
30
+ if ( is_admin() ) { // admin actions
31
+ add_action('admin_menu', array($this, 'cht_admin_setting_page'));
32
+ // Adds all of the options for the administrative settings
33
+ add_action('admin_init', array($this, 'cht_register_inputs'));
34
+ add_action('admin_head', array($this, 'cht_inline_css_admin'));
35
+ }
36
+ add_action('updated_option', array($this, 'cht_clear_all_caches'));
37
+ }
38
+
39
+ public function del_space($text){
40
+ return str_replace('_',' ',$text);
41
+ }
42
+
43
+ public function cht_inline_css_admin(){
44
+ echo '<style>
45
+ #toplevel_page_chaty-app img:hover, #toplevel_page_chaty-app img {
46
+ opacity: 0 !important;
47
+ }
48
+ #toplevel_page_chaty-app:hover .dashicons-before{
49
+ background-color: #00b9eb;
50
+ }
51
+ #toplevel_page_chaty-app .dashicons-before{
52
+ background-color: #A0A3A8;
53
+ -webkit-mask: url('.plugins_url( '../icon/chaty.svg' , __FILE__).') no-repeat center;
54
+ mask: url('.plugins_url( '../icon/chaty.svg' , __FILE__).') no-repeat center;
55
+ }
56
+ .current#toplevel_page_chaty-app .dashicons-before{
57
+ background-color: #fff;
58
+ }
59
+
60
+ </style> ';
61
+ }
62
+
63
+ public function enqueue_styles()
64
+ {
65
+ $query_args = array(
66
+ 'family' => 'Rubik:400,700|Oswald:400,600',
67
+ 'subset' => 'latin,latin-ext'
68
+ );
69
+ wp_enqueue_style( 'google_fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ), array(), null );
70
+ wp_enqueue_style( $this->plugin_slug, plugins_url('../assets/css/cht-style.css', __FILE__));
71
+ }
72
+
73
+ public function enqueue_scripts()
74
+ {
75
+
76
+ wp_enqueue_script( $this->plugin_slug . '-jq-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js');
77
+ wp_enqueue_script( $this->plugin_slug .'pop', plugins_url('../assets/js/popper.min.js', __FILE__), array( 'jquery' ));
78
+ wp_enqueue_script( $this->plugin_slug, plugins_url('../assets/js/cht-scripts.min.js', __FILE__), array( 'jquery' ));
79
+ wp_enqueue_script( $this->plugin_slug.'stick', plugins_url('../assets/js/jquery.sticky.js', __FILE__), array( 'jquery' ));
80
+ wp_localize_script($this->plugin_slug.'stick', 'cht_nonce_ajax',
81
+ array(
82
+ 'cht_nonce' => wp_create_nonce('cht_nonce_ajax')
83
+ )
84
+ );
85
+ }
86
+
87
+ public function cht_admin_setting_page() {
88
+ if (current_user_can('manage_options')){
89
+ $this->page = add_menu_page(
90
+ __('Chaty', CHT_OPT),
91
+ __('Chaty', CHT_OPT),
92
+ 'manage_options',
93
+ $this->plugin_slug,
94
+ array($this, 'display_cht_admin_page'),
95
+ plugins_url( 'cht-icons/icon/chaty.svg' )
96
+ );
97
+ }
98
+ // Load public-facing style sheet and JavaScript.
99
+ add_action( 'admin_print_styles-' . $this->page, array( $this, 'enqueue_styles' ) );
100
+ add_action( 'admin_print_scripts-' . $this->page, array( $this, 'enqueue_scripts' ) );
101
+ }
102
+
103
+ public function display_cht_admin_page() {
104
+ include_once CHT_DIR . '/views/admin.php';
105
+ }
106
+
107
+ protected function get_token()
108
+ {
109
+ return get_option('cht_token');
110
+ }
111
+ // this site domain
112
+ public function get_site(){
113
+ $permalink = get_home_url();
114
+ return $permalink;
115
+ }
116
+ public function is_pro($token = '')
117
+ {
118
+ if ($token === '') {
119
+ $token = $this->get_token();
120
+ }
121
+ $response = wp_remote_request('https://go.chaty.app/api/is-pro-account?domain='.$this->get_site().'&token='.$token);
122
+
123
+ if(empty($response->errors)){
124
+ $response = json_decode($response['body']);
125
+ }
126
+
127
+ if (isset($response->is_pro) && $response->is_pro==true) {
128
+ return true;
129
+ } else {
130
+ return false;
131
+ }
132
+ }
133
+ public function data_activ(){
134
+ if ($this->is_pro) {
135
+ $response = wp_remote_request('https://go.chaty.app/api/is-pro-account?domain='.$this->get_site().'&token='.$this->get_token());
136
+ $resnonse = json_decode($response['body']);
137
+ $time = $resnonse->expired_date->date;
138
+ return $time;
139
+ }
140
+ }
141
+ public function data_check(){
142
+ if ($this->is_pro) {
143
+ if (strtotime(date("Y-m-d", strtotime("+14 days"))) >= strtotime(date("Y-m-d", strtotime(date('Y-m-d', strtotime($this->data_activ()))))) ) {
144
+ return true;
145
+ };
146
+ return false;
147
+ };
148
+ }
149
+ public function get_current_color()
150
+ {
151
+ $def_color = get_option('cht_color');
152
+ $custom_color = get_option('cht_custom_color');
153
+
154
+ if (!$def_color) {
155
+ $color = $custom_color;
156
+ } else {
157
+ $color = $def_color;
158
+ }
159
+
160
+ $color = strtoupper($color);
161
+ return $color;
162
+ }
163
+
164
+ public function get_position_style()
165
+ {
166
+ $position = get_option('cht_position');
167
+
168
+ if ($position === 'custom') {
169
+ $pos_side = get_option('positionSide');
170
+ $bot = (get_option('cht_bottom_spacing')) ? get_option('cht_bottom_spacing') : '25';
171
+ $side = (get_option('cht_side_spacing')) ? get_option('cht_side_spacing') : '25';
172
+ if ($pos_side === 'right') {
173
+ $pos_style = 'left: auto; bottom: ' . $bot . 'px; right: ' . $side . 'px';
174
+ } else {
175
+ $pos_style = 'left: ' . $side . 'px; bottom: ' . $bot . 'px; right: auto';
176
+ }
177
+ } elseif ($position === 'right') {
178
+ $pos_style = 'left: auto; bottom: 25px; right: 25px';
179
+ } else {
180
+ $pos_style = 'left: 25px; bottom: 25px; right: auto';
181
+ }
182
+
183
+ return $pos_style ;
184
+ }
185
+
186
+ public function cht_clear_all_caches()
187
+ {
188
+ global $wp_fastest_cache;
189
+ // if W3 Total Cache is being used, clear the cache
190
+ if (function_exists('w3tc_flush_all')) {
191
+ w3tc_flush_all();
192
+ /* if WP Super Cache is being used, clear the cache */
193
+ } else if (function_exists('wp_cache_clean_cache')) {
194
+ global $file_prefix, $supercachedir;
195
+ if (empty($supercachedir) && function_exists('get_supercache_dir')) {
196
+ $supercachedir = get_supercache_dir();
197
+ }
198
+ wp_cache_clean_cache($file_prefix);
199
+ } else if (class_exists('WpeCommon')) {
200
+ //be extra careful, just in case 3rd party changes things on us
201
+ if (method_exists('WpeCommon', 'purge_memcached')) {
202
+ WpeCommon::purge_memcached();
203
+ }
204
+ if (method_exists('WpeCommon', 'clear_maxcdn_cache')) {
205
+ WpeCommon::clear_maxcdn_cache();
206
+ }
207
+ if (method_exists('WpeCommon', 'purge_varnish_cache')) {
208
+ WpeCommon::purge_varnish_cache();
209
+ }
210
+ } else if (method_exists('WpFastestCache', 'deleteCache') && !empty($wp_fastest_cache)) {
211
+ $wp_fastest_cache->deleteCache();
212
+ } else if (function_exists( 'rocket_clean_domain' )) {
213
+ rocket_clean_domain();
214
+ // Preload cache.
215
+ if ( function_exists( 'run_rocket_sitemap_preload' ) ) {
216
+ run_rocket_sitemap_preload();
217
+ }
218
+ }
219
+ }
220
+
221
+ public function cht_register_inputs()
222
+ {
223
+ /**
224
+ * Adding settings fields
225
+ */
226
+ // Section One
227
+ foreach ($this->socials as $social) {
228
+ add_settings_field(
229
+ 'cht_social_' . $social['slug'],
230
+ ucfirst($social['slug']),
231
+ '',
232
+ $this->plugin_slug
233
+ );
234
+ }
235
+
236
+ // Section Two
237
+ add_settings_field('cht_devices', 'Devices', '', $this->plugin_slug);
238
+ add_settings_field('cht_color', 'Color', '', $this->plugin_slug);
239
+ add_settings_field('cht_custom_color', 'Color', '', $this->plugin_slug);
240
+ add_settings_field('cht_position', 'Position', '', $this->plugin_slug);
241
+ add_settings_field('positionSide', 'PositionSide', '', $this->plugin_slug);
242
+ add_settings_field('cht_bottom_spacing', 'Bottom spacing', '', $this->plugin_slug);
243
+ add_settings_field('cht_side_spacing', 'Side spacing', '', $this->plugin_slug);
244
+ add_settings_field('cht_cta', 'CTA', '', $this->plugin_slug);
245
+ add_settings_field('cht_credit', 'Credit', '', $this->plugin_slug);
246
+ add_settings_field('cht_cta_switcher', 'CTA switcher', '', $this->plugin_slug);
247
+
248
+ // section three
249
+ add_settings_field('cht_active', 'Active', '', $this->plugin_slug);
250
+
251
+ // token
252
+ add_settings_field('cht_token', 'Token', '', $this->plugin_slug);
253
+
254
+ // slug
255
+ add_settings_field('cht_numb_slug', 'Numb', '', $this->plugin_slug);
256
+
257
+ /**
258
+ * Registering settings fields
259
+ */
260
+ // register field section one
261
+ foreach ($this->socials as $social) {
262
+ register_setting( $this->plugin_slug, 'cht_social_' . $social['slug']);
263
+ }
264
+
265
+ // register field section two
266
+ register_setting( $this->plugin_slug, 'cht_devices' );
267
+ register_setting( $this->plugin_slug, 'cht_color' );
268
+ register_setting( $this->plugin_slug, 'cht_custom_color' );
269
+ register_setting( $this->plugin_slug, 'cht_position' );
270
+ register_setting( $this->plugin_slug, 'positionSide' );
271
+ register_setting( $this->plugin_slug, 'cht_bottom_spacing' );
272
+ register_setting( $this->plugin_slug, 'cht_side_spacing' );
273
+ register_setting( $this->plugin_slug, 'cht_cta' );
274
+ register_setting( $this->plugin_slug, 'cht_credit' );
275
+ register_setting( $this->plugin_slug, 'cht_cta_switcher' );
276
+
277
+ // register field section three
278
+ register_setting( $this->plugin_slug, 'cht_active' );
279
+
280
+ // register field section token
281
+ register_setting( $this->plugin_slug, 'cht_token' );
282
+
283
+ // register field section slug
284
+ register_setting( $this->plugin_slug, 'cht_numb_slug' );
285
+ }
286
+
287
+ public function device(){
288
+
289
+ if( isset(get_option('cht_devices')['desktop']) && isset(get_option('cht_devices')['mobile'])){
290
+ return'desktop_active mobile_active';
291
+ }else if( isset(get_option('cht_devices')['mobile'])){
292
+ return 'mobile_active';
293
+ }else if(isset(get_option('cht_devices')['desktop'])){
294
+ return 'desktop_active';
295
+ }else{
296
+ return 'none';
297
+ }
298
+ }
299
+ }
300
+
301
+ new CHT_Admin_Base();
admin/class-social-icons.php ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace CHT\admin;
3
+
4
+ class CHT_Social_Icons
5
+ {
6
+ protected $social_list;
7
+ protected static $instance;
8
+
9
+ private function __construct() {}
10
+
11
+ public static function get_instance()
12
+ {
13
+ if (!self::$instance) {
14
+ self::$instance = new CHT_Social_Icons;
15
+ }
16
+
17
+ return self::$instance;
18
+ }
19
+
20
+ public function get_colors()
21
+ {
22
+ return array(
23
+ '#A886CD' => __('Purple', CHT_OPT),
24
+ '#86CD91' => __('Green', CHT_OPT),
25
+ '#4F6ACA' => __('Blue', CHT_OPT),
26
+ '#FF6060' => __('Red', CHT_OPT),
27
+ '#000' => __('Black', CHT_OPT),
28
+ '#EEF075' => __('Yellow', CHT_OPT),
29
+ '#FF95EE' => __('Pink', CHT_OPT)
30
+ );
31
+ }
32
+
33
+ public function get_icons_list()
34
+ {
35
+ return array(
36
+ array(
37
+ 'example' => '+1507854875',
38
+ 'placeholder' => __('Phone number', CHT_OPT),
39
+ 'slug' => 'Whatsapp',
40
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#49E670"/>
41
+ <path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/>
42
+ <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/>'
43
+ ),
44
+ array(
45
+ 'example' => '+1507854875',
46
+ 'placeholder' => __('Phone number', CHT_OPT),
47
+ 'slug' => 'Phone',
48
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03E78B"/>
49
+ <path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>'
50
+ ),
51
+ array(
52
+ 'example' => '+1507854875',
53
+ 'placeholder' => __('Phone number', CHT_OPT),
54
+ 'slug' => 'SMS',
55
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF549C"/>
56
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>'
57
+ ),
58
+ array(
59
+ 'example' => 'myusername',
60
+ 'placeholder' => __('User Name', CHT_OPT),
61
+ 'slug' => 'Telegram',
62
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#3E99D8"/>
63
+ <path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/>
64
+ <path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/>
65
+ <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>'
66
+ ),
67
+ array(
68
+ 'example' => 'http://line.me/ti/p/2a-s5A2B8B',
69
+ 'placeholder' => __('User Name', CHT_OPT),
70
+ 'slug' => 'Line',
71
+ 'svg' => '
72
+ <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#38B900"></circle>
73
+ <path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path>
74
+ <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path>
75
+ <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path>
76
+ <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path>
77
+ <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>
78
+ '
79
+ ),
80
+ array(
81
+ 'example' => 'UserID',
82
+ 'placeholder' => __('User Name', CHT_OPT),
83
+ 'slug' => 'WeChat',
84
+ 'svg' => ' <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#45DC00"></circle>
85
+ <path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path>
86
+ <path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>'
87
+ ),
88
+ array(
89
+ 'example' => 'https://goo.gl/maps/4m93C84v2DC2',
90
+ 'placeholder' => __('Maps link', CHT_OPT),
91
+ 'slug' => 'Google_Maps',
92
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#37AA66"/>
93
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>'
94
+ ),
95
+ array(
96
+ 'example' => 'https://www.example.com/contact',
97
+ 'placeholder' => __('Link', CHT_OPT),
98
+ 'slug' => 'Link',
99
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF7539"/>
100
+ <mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
101
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
102
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
103
+ </mask>
104
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/>
105
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/>
106
+ <mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black">
107
+ <rect fill="white" x="-1" y="-1" width="13" height="14"/>
108
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/>
109
+ </mask>
110
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/>
111
+ <path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>'
112
+ ),
113
+ array(
114
+ 'example' => 'Facebook page URL https://www.facebook.com/Coca-Cola/',
115
+ 'placeholder' => __('www.facebook.com/2F1578175639153373', CHT_OPT),
116
+ 'slug' => 'Facebook_Messenger',
117
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#1E88E5"/>
118
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>'
119
+ ),
120
+ array(
121
+ 'example' => 'someone@example.com',
122
+ 'placeholder' => 'Email',
123
+ 'slug' => 'Email',
124
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FF485F"/>
125
+ <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/>
126
+ <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/>
127
+ <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/>
128
+ <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>'
129
+ ),
130
+ array(
131
+ 'example' => 'myusername',
132
+ 'placeholder' => 'Skype',
133
+ 'slug' => 'Skype',
134
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#03A9F4"/>
135
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>'
136
+ ),
137
+ array(
138
+ 'example' => 'myusername',
139
+ 'placeholder' => __('Phone number', CHT_OPT),
140
+ 'slug' => 'Snapchat',
141
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#FFE81D"/>
142
+ <path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>'
143
+ ),
144
+ array(
145
+ 'example' => '+1507854875',
146
+ 'placeholder' => __('Phone number', CHT_OPT),
147
+ 'slug' => 'Viber',
148
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#665CAC"/>
149
+ <path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>'
150
+ ),
151
+ array(
152
+ 'example' => 'myusername',
153
+ 'placeholder' => __('Link Vkontakte', CHT_OPT),
154
+ 'slug' => 'Vkontakte',
155
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#5076AA"/>
156
+ <path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>'
157
+ ),
158
+ array(
159
+ 'example' => 'https://waze.com/ul/hdr5ru7vtv',
160
+ 'placeholder' => __('Enter a waze link', CHT_OPT),
161
+ 'slug' => 'Waze',
162
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#6ECCEF"/>
163
+ <path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)"
164
+ fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>'
165
+ ),
166
+ array(
167
+ 'example' => 'https://app.popt.in/APIRequest/click/34e92354f927c',
168
+ 'placeholder' => __('Enter a poptin link', CHT_OPT),
169
+ 'slug' => 'Poptin',
170
+ 'svg' => '<circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#47A2B1"/>
171
+ <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>'
172
+ )
173
+ );
174
+ }
175
+ }
assets/css/cht-style.css ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *,*::before,*::after{box-sizing:border-box}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width: 576px){.container{max-width:540px}}@media (min-width: 768px){.container{max-width:720px}}@media (min-width: 992px){.container{max-width:960px}}.ml-auto{margin-left:auto}.col-12{flex:0 0 100%;max-width:100%}.text-center{text-align:center}.text-primary{color:#a886cd}.align-top{align-self:flex-start}.custom-control{display:inline-block;color:#5d5c5c;margin-bottom:0;cursor:pointer;min-height:22px;line-height:22px;padding-left:20px;position:relative}.custom-control .custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control+.custom-control{margin-left:16px}.custom-control.custom-checkbox .custom-control-label::before{border-radius:4px}.custom-control.custom-checkbox .custom-control-label{position:static}.custom-control.custom-checkbox .custom-control-label::before{content:'';transition:all 0.2s;position:absolute;top:3px;left:0;display:block;width:15px;height:15px;line-height:15px;text-align:center;background-color:#FFFFFF;box-shadow:0 1px 3px rgba(0,0,0,0.15);border-radius:3px;background-position:center;background-repeat:no-repeat;background-size:15px}.custom-control.custom-checkbox .custom-control-label::after{display:none}.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before{background-image:url("../images/icon-check.svg");background-color:transparent}.custom-control.custom-radio{padding-left:27px}.custom-control.custom-radio .custom-control-label::before{border-radius:4px}.custom-control.custom-radio .custom-control-label{position:static}.custom-control.custom-radio .custom-control-label::before{content:'';transition:all 0.2s;position:absolute;top:0;left:0;display:block;width:22px;height:22px;background-color:#FFFFFF;box-shadow:0px 4px 14px rgba(0,0,0,0.15);border-radius:50%;border:5px solid white}.custom-control.custom-radio .custom-control-label::after{display:none}.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label::before{background:linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%)} #positionPro[style="display: block;"]{display:inline-block !important ; left: -145px; position: relative;}.position-pro{background:rgba(168,134,205,0.1);border-radius:4px;display:flex;padding:6px 0;transition:all 0.2s;margin-top:11px;flex-wrap:wrap}.position-pro>div{flex:0 0 auto;padding:6px 15px}@media (max-width: 767px){.position-pro>div{flex:0 0 100%}}.position-pro>div>label:first-child{display:block;margin-bottom:10px}.position-pro>div .custom-control-group{background:#FFFFFF;box-shadow:0px 4px 14px rgba(0,0,0,0.15);border-radius:5px;display:flex;align-items:center;width:150px;height:34px}.position-pro>div .custom-control-group .custom-control{width:75px;padding:0;margin:0 !important}.position-pro>div .custom-control-group .custom-control .custom-control-label{width:100%;color:#E0E0E0;height:34px;display:flex;align-items:center;padding:6px 7px}.position-pro>div .custom-control-group .custom-control .custom-control-label:before{content:none}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label{color:#A886CD;box-shadow:inset 0px 3px 7px rgba(0,0,0,0.08)}.position-pro>div .custom-control-group .custom-control .custom-control-input:checked+.custom-control-label path{fill:#A886CD}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label{border-radius:5px 0 0 5px;text-align:left}.position-pro>div .custom-control-group .custom-control:first-child .custom-control-label svg{margin-right:5px}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label{border-radius:0 5px 5px 0;display:flex;justify-content:flex-end}.position-pro>div .custom-control-group .custom-control:last-child .custom-control-label svg{margin-left:5px}.position-pro input{background:#FFFFFF;box-shadow:0px 4px 14px rgba(0,0,0,0.15);border-radius:5px;border:0;line-height:24px;padding:5px 7px;width:60px;margin-right:3px}.color-picker{background:#FFFFFF;box-shadow:0 1px 7px rgba(0,0,0,0.08);border-radius:4px;width:330px;display:none;position:relative}.color-picker .color-picker-radio{display:flex;padding:6px 8px 10px;border-bottom:1px solid rgba(130,130,130,0.1)}.color-picker .color-picker-radio label{border-radius:50%;width:28px;height:28px;position:relative;cursor:pointer;font-size:0}.color-picker .color-picker-radio label span{display:block;width:28px;height:28px;vertical-align:top;opacity:0;transition:all 0.2s;background-position:center;background-repeat:no-repeat;background-image:url("../images/icon-check-white.svg")}.color-picker .color-picker-radio label input{position:absolute;z-index:-1;opacity:0}.color-picker .color-picker-radio label input:checked+span{opacity:1}.color-picker .color-picker-radio label+label{margin-left:12px}.color-picker .color-picker-custom{padding:10px 8px 16px}.color-picker .color-picker-custom>div{display:flex;align-items:center}.color-picker .color-picker-custom>div+div{margin-top:10px}.color-picker .color-picker-custom .circle{color:#FF6376;background:#FFFFFF;border:1px solid #D0D0D0;border-radius:50%;width:28px;height:28px;align-items:center;justify-content:center;display:flex;margin-right:3px;font-size:14px}.color-picker .color-picker-custom a{margin-left:5px}.color-picker .color-picker-custom input{background:#FFFFFF;box-shadow:0px 4px 14px rgba(0,0,0,0.15);border-radius:5px;border:0;line-height:24px;padding:5px 7px;height:34px;width:180px;}.color-picker-btn{background-color:#FFFFFF;box-shadow:0px 1px 7px rgba(0,0,0,0.08);border-radius:4px;border:0;padding:3px 8px;line-height:17px}.color-picker-btn .circle{display:inline-block;vertical-align:top;width:15px;height:15px;border-radius:50%;margin:1px 4px 1px 0}.color-picker-btn svg{transition:all 0.2s;margin-left:8px}.color-picker-btn-close{background-color:transparent;border:0;padding:5px;line-height:17px;position:absolute;right:0;top:0}.color-picker-btn-close svg{transform:rotate(180deg)}.switch{display:flex;align-items:center;margin-bottom:0;position:relative;flex:0 0 auto}.form-group .switch{height:42px}.switch input[type="checkbox"]{pointer-events:none;opacity:0;position:absolute;top:0;right:0;z-index:-1;width:0;height:0}.switch__styled{background: linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%),#fff;margin:0 8px;display:inline-block;height:34px;width:72px;border-radius:17px;position:relative;transition:all 0.2s;cursor:pointer;box-shadow:0px 4px 14px rgba(0,0,0,0.15)}.switch__styled:after{content:'';position:absolute;left:2px;top:2px;height:30px;width:30px;border-radius:50%;background-color:#fff;transition:all 0.2s}.switch input[type="checkbox"]:checked+.switch__styled:after{left:40px}.switch.custom-switch{margin-right:auto;margin-left:30px}.switch.custom-switch .switch__styled{background:linear-gradient(283.61deg, #F6F6F6 7.4%, #fff 91.67%),#fff;box-shadow:0px 4px 14px rgba(0,0,0,0.15)}body{height:auto;background-image:url("../images/bg.svg");background-position:155px 30px;background-repeat:no-repeat;background-size:calc(100% - 150px) auto;background-attachment:fixed;font-family:'Rubik', sans-serif;color:#4F4F4F;font-size:17px;padding-bottom:50px;-webkit-font-smoothing:antialiased;margin:0}button{font-family:'Rubik', sans-serif;font-size:17px;cursor:pointer}button:focus{outline:none}button#collapse-button{font-size:13px;} input{font-family:'Rubik', sans-serif;font-size:17px}input:focus{outline:none}#cht-form input[type=submit]{opacity:0;position:absolute}a{color:#a886cd}::-webkit-input-placeholder{color:#E0E0E0}::-moz-placeholder{color:#E0E0E0}:-ms-input-placeholder{color:#E0E0E0}:-moz-placeholder{color:#E0E0E0}.section{padding:30px 60px;position:relative}.section+.section{border-top:2px solid rgba(130,130,130,0.1)}.section-title{font-family:'Oswald', sans-serif;font-size:30px;color:#000000;line-height:44px;margin-bottom:30px;font-weight:normal;margin-top:0}.main{background-color:white;border-radius:9px;position:relative}.main .channels-icons{display:flex;flex-wrap:wrap;margin:0 -8px 20px}.main .channels-icons>.icon{padding:0 8px;margin-bottom:16px}.main .channels-icons>.icon .color-element{transition:all .2s}.main .channels-icons>.icon:not(.active) svg{cursor:pointer}.main .channels-icons>.icon:not(.active):not(:hover) .color-element{fill:#BDBDBD}.main .channels-selected{padding-top:20px;position:relative;min-height:220px;}.main .channels-selected__item{display:flex;align-items:center;flex-wrap:wrap;position:relative;padding-bottom:20px;margin-bottom:20px;width:350px;max-width:100%}.main .channels-selected__item .icon{margin-right:16px;cursor:pointer}.main .channels-selected__item input{padding:9px 7px;border:0;line-height:24px;background:#FFFFFF;box-shadow:0 4px 14px rgba(0,0,0,0.15);border-radius:9px;min-width:calc(100% - 70px);flex:0 0 calc(100% - 70px)}.main .channels-selected__item .btn-cancel{position:absolute;right:0;top:0;transform:translate(50%, -50%);background:linear-gradient(0deg, #333, #333),linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%);border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;padding:0;border:0;z-index:1;box-shadow:0px 4px 14px rgba(0,0,0,0.15);cursor:pointer}.main .channels-selected__item .btn-cancel:focus{outline:none}.main .channels-selected__item .input-example{font-size:13px;padding-top: 8px;line-height: 14px;color:#707070;opacity:0.8;position:absolute;left:calc(50px + 16px + 7px);top:50px}.main .channels-selected__item.disabled .icon{cursor:default}.main .channels-selected__item.disabled .icon .color-element{fill:#E9E9E9}.main .channels-selected__item.disabled input{box-shadow:0px 4px 14px rgba(179,179,179,0.15);color:#E9E9E9}.main .channels-selected__item.disabled input::-webkit-input-placeholder{color:#E9E9E9}.main .channels-selected__item.disabled input::-moz-placeholder{color:#E9E9E9}.main .channels-selected__item.disabled input:-ms-input-placeholder{color:#E9E9E9}.main .channels-selected__item.disabled input:-moz-placeholder{color:#E9E9E9}.main .channels-selected__item.disabled input:focus{outline:none}.main .channels-selected__item.disabled .btn-cancel{cursor:default;background:linear-gradient(0deg, #CFCFCF, #CFCFCF),linear-gradient(153.18deg, #6371DB 7.07%, #FF89C4 90.47%)}.main .channels-selected__item.disabled .btn-cancel:focus{outline:none}.main .channels-selected__item.disabled .input-example{color:#E9E9E9}.main .form-horizontal__item{display:flex;align-items:center}.main .form-horizontal__item+.form-horizontal__item{margin-top:30px}.main .form-horizontal__item>label{flex:0 0 130px;margin:0;text-align:right;font-weight:bold}.main .form-horizontal__item>div{flex-basis:0;flex-grow:1;padding-left:20px}.main .form-horizontal__item>div>input{background:#FFFFFF;box-shadow:0px 4px 14px rgba(0,0,0,0.15);border-radius:5px;border:0;line-height:24px;padding:5px 7px}.icon{border-radius:50%;vertical-align:top;font-size:0;position:relative}.icon:after,.icon:before{position:absolute;opacity:0;pointer-events:none}.icon.no-tooltip:after,.icon.no-tooltip:before{content:none !important}.icon:before{content:'';top:-8px;left:50%;transform:translateX(-50%);height:10px;width:10px;border-width:10px 5px 0;border-style:solid;border-color:#333 transparent transparent}.icon:after{text-align:center;content:"" attr(data-title) "";font-size:11px;top:0;left:50%;transform:translate(-50%, calc(-100% - 6px));padding:0 20px;line-height:23px;min-width:90px;white-space:nowrap;color:#fff;background-color:#333333;box-shadow:0px 2px 4px rgba(0,0,0,0.15);border-radius:6px}.icon.tooltip-show:after,.icon.tooltip-show:before,.icon:hover:not(.tooltip-show):after,.icon:hover:not(.tooltip-show):before{opacity:1;pointer-events:auto}.icon .color-element{transition:all .2s}.icon:not(.active) svg{cursor:pointer}.icon:not(.active):not(:hover) .color-element{fill:#BDBDBD}.icon.icon-sm svg{width:39px;height:39px}.icon.icon-md svg{width:50px;height:50px}.icon.icon-xs svg{width:30px;height:30px}.btn-save{border:0;text-transform:uppercase;line-height:24px;font-weight:bold;color:#fff;position:relative;max-width:100%;margin-top:40px;height:50px;width:274px;border-radius:25px;padding:14px 15px 12px;background-image:url("../images/rocket.svg"),linear-gradient(100.68deg, #FF6624 9.02%, #FF6376 91.6%);background-position:left bottom;background-repeat:no-repeat}.btn-save:after{position:absolute;content:'';z-index:-1;top:30px;left:50%;transform:translateX(-50%);width:238.1px;height:30.81px;background:linear-gradient(97.71deg, #FF6624 9.04%, #FF6376 91.56%),linear-gradient(104.36deg, #6371DB 20.37%, #FF89C4 72.52%);opacity:0.77;filter:blur(19px);border-radius:9px}.btn-help{ text-align:center; padding-top:10px;cursor:pointer;position:absolute;background:#51F2B8;border-radius:7px 7px 0 0;right:0;top:calc(118px - 42px);transform:rotate(-90deg);transform-origin:bottom right;border:0;height:42px;width:102px;text-transform:uppercase;color:#fff;font-weight:bold}.popover{flex:0 0 auto;background:#FFFFFF;border-radius:4px;line-height:33px;padding:0 5px;position:relative;margin-left:37px;margin-top:25px;box-shadow:0px 1px 14px rgba(156,117,198,0.4),0px 2px 4px rgba(0,0,0,0.15)}.popover:after{position:absolute;content:'';top:-7px;left:40px;width:20px;height:7px;background-image:url("../images/arrow.png");background-position:center;background-size:contain;background-repeat:no-repeat}.easy-modal{display:none;width:515px;max-width:calc(100vw - 30px);box-shadow:0 4px 6px rgba(0,0,0,0.15);border-radius:6px;background-color:white}.easy-modal .easy-modal-inner{position:relative;padding:20px 50px}.easy-modal .easy-modal-close{position:absolute;right:0;top:0;padding:7px;line-height:12px;background-color:transparent;border:0}.easy-modal h2{font-family: Rubik;font-weight:bold;font-size:27px;margin-bottom:13px;text-align:center;margin-top:0}.easy-modal p{text-align:center;max-width:350px;margin:0 auto 28px}.easy-modal ul{margin-bottom:36px;line-height:27px;list-style-image:url("../images/icon-check-purple.svg")}.easy-modal .easy-modal-link{font-size:15px;text-decoration-line:underline;color:#828282;display:inline-block;margin-top:7px}.easy-modal .form-horizontal__item{margin-bottom:50px;justify-content:center}.easy-modal .form-horizontal__item>div{flex:0 0 auto}.preview h2{font-weight:bold;line-height:normal;font-size:17px;color:#A886CD;margin-bottom:5px}.preview .page{overflow:hidden;background-color:#F2F2F2;box-shadow:0px 4px 35px rgba(0,0,0,0.05);border-radius:5px;position:relative;height:194px}.preview .page .page-header{display:flex;align-items:center;background:#FFFFFF;border-radius:5px 5px 0px 0px;height:16px}.preview .page .page-header .circle{margin-left:9px;width:6px;height:6px;background:linear-gradient(153.19deg, #6371DB 7.06%, #FF89C4 90.47%),#FFE663;box-shadow:0px 4px 35px rgba(0,0,0,0.05);border-radius:50%}.preview .page .page-header svg:last-child{margin-left:auto;margin-top:7px;margin-right:-7px}.preview .page .chaty-widget{position:absolute;left:auto}.preview .page .chaty-widget .icon:after,.preview .page .chaty-widget .icon:before{z-index:10}.preview .page .chaty-widget .icon:before{content:'';right:-13px;left:auto;top:15px;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-style:solid;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.preview .page .chaty-widget .icon:after{content:'';font-size:13px;top:13px;white-space:nowrap;padding:0px;line-height:0px;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:0px;right:0;left:auto;transform:translate(calc(100% + 6px), -50%)}.preview .page .chaty-widget[style*="left: auto;"] .icon:before{right:auto;left:-11px;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.preview .page .chaty-widget[style*="left: auto;"] .icon:after{left:0;right:auto;transform:translate(calc(-100% - 6px), -50%)}.form-horizontal__item .chaty-widget{position:static;flex:0 0 250px !important}.form-horizontal__item .chaty-widget .icon{display:inline-block}.form-horizontal__item .chaty-widget .icon svg{width:62px;height:62px}.form-horizontal__item .chaty-widget .icon:after,.form-horizontal__item .chaty-widget .icon:before{z-index:10}.form-horizontal__item .chaty-widget .icon:before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:10px;width:10px;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.form-horizontal__item .chaty-widget .icon:after{content:"" attr(data-title) "";font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px), -50%);white-space:nowrap;padding:16px 25px;line-height:21px;width:auto;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.form-horizontal__item .chaty-widget.chaty-widget-icons-right .icon:after{right:0;left:auto;transform:translate(calc(100% + 6px), -50%)}@media (max-width:1200px) {.preview{position:static;width:100%;float:none;}}@media (max-width: 991px){.form-horizontal{left:0!important;}body{background-position:30px 30px;background-repeat:no-repeat;background-size:calc(100% - 20px) auto}.section{padding:30px 30px}.main .channels-selected__item{width:280px}}@media (max-width: 767px){.main .channels-icons{max-width: 95%;}body{background-position:center top;background-size:cover;background-attachment:fixed}.section{padding:30px 15px}.col-12{flex:0 0 auto}.main .channels-selected__item{max-width:100%}.main .form-horizontal__item{flex-wrap:wrap}.main .form-horizontal__item>label{flex:0 0 100%;margin-bottom:10px;text-align:left}.main .form-horizontal__item .custom-switch{flex:0 0 auto;margin:10px auto}.main .form-horizontal__item>div{flex:0 0 100%}.main .form-horizontal__item>div .custom-control{margin:0 10px 10px 0}.main .form-horizontal__item>div .custom-control:last-child{margin-right:0}.popover{margin-left:0;white-space:normal;max-width:100%}.header{flex-wrap:wrap}.header img{flex:0 0 100%;margin-bottom:10px}.header .ml-auto{margin:0 auto;text-align:center}.header .ml-auto button{margin:5px 6px}}.header{display:flex;align-items:center;padding:3px 0;margin-bottom:9px}.btn-white{z-index:100;position: relative;;line-height:27px;color:#fff;background-color:transparent;border:1px solid #FFFFFF;box-shadow:0 4px 4px rgba(0,0,0,0.11);padding:4px 20px;border-radius:19px;vertical-align:top}.btn-red{z-index:100;border:0;text-transform:uppercase;line-height:27px;font-weight:bold;color:#fff;position:relative;background-image:linear-gradient(100.68deg, #FF6624 9.02%, #FF6376 91.6%);box-shadow:0px 4px 4px rgba(0,0,0,0.11);padding:6px 20px 4px;border-radius:19px;vertical-align:top;margin-left:12px} .text_update{ color: #fff; position: relative; top: 2px; position: relative; margin: 0; font-size: 10px; left: 15px; }.btn-red svg{vertical-align:text-top;margin-left:5px}
2
+
3
+
4
+ .preview{
5
+ position: relative;
6
+ right: 0;
7
+ top: 200px!important;
8
+ width: calc(960px/2 - 160px); z-index:99;
9
+
10
+ }
11
+ .sticky-wrapper{
12
+ position: absolute;
13
+ right: 0px;
14
+ top: -370px;
15
+ width: calc(320px);
16
+ z-index: 99;
17
+ }
18
+ .is-sticky .preview{
19
+ left: calc(50vw - 480px + 960px/12*7 + 84px);
20
+ }
21
+ /*.preview{
22
+ position: fixed;
23
+ right: 0;
24
+ top: 99px;
25
+ width: calc(960px/2 - 160px); z-index:99;
26
+ left: calc(50vw - 480px + 960px/12*7 + 84px)
27
+ }
28
+ */
29
+ .disabled {
30
+ pointer-events: none;
31
+ }
32
+ .switch input[type="checkbox"]:checked+.switch__styled {
33
+
34
+ background: linear-gradient(133.22deg, #6371DB 14.55%, #FF89C4 80.37%),#fff;
35
+ }
36
+
37
+ .btn-save{
38
+ box-shadow: 0px 3px 10px 1px rgba(255,90,116,0.5);
39
+ }
40
+ .easy-modal ul {
41
+ margin-left: 64px;
42
+
43
+ }
44
+
45
+ #toplevel_page_chaty-app img{
46
+ color:#fff;
47
+ }
48
+
49
+
50
+ .tooltip {
51
+ position: relative;
52
+ display: inline-block;
53
+ }
54
+
55
+ .chaty-widget-icons-right .tooltip .tooltiptext {
56
+ min-height: 36px;
57
+ white-space: pre-wrap;
58
+ display: flex;
59
+ align-items: center;
60
+ justify-content: center;
61
+ width: 120px;
62
+ background-color: #fff;
63
+ color: #000;
64
+ text-align: center;
65
+ border-radius: 6px;
66
+ padding: 0px 0;
67
+ left: -131px;
68
+ top: -4px;
69
+ position: absolute;
70
+ z-index: 35;
71
+ font-size: 12px;
72
+ line-height: 17px;
73
+ }
74
+ .chaty-widget-icons-left .tooltip .tooltiptext{
75
+ min-height: 36px;
76
+ white-space: pre-wrap;
77
+ display: flex;
78
+ align-items: center;
79
+ justify-content: center;
80
+ width: 120px;
81
+ background-color: #fff;
82
+ color: #000;
83
+ text-align: center;
84
+ border-radius: 6px;
85
+ padding: 0px 0;
86
+ right: -132px;
87
+ top: -4px;
88
+ position: absolute;
89
+ z-index: 35;
90
+ font-size: 12px;
91
+ line-height: 17px;
92
+ }
93
+ .tooltip:hover .tooltiptext {
94
+ visibility: visible;
95
+ }
96
+ .update-nag{
97
+ display: block!important;
98
+ }
99
+ .notice, div.error, div.updated {
100
+ display:none !important;
101
+ }
102
+ div#setting-error-settings_updated{
103
+ display: block!important;
104
+ }
105
+ .domain_input{
106
+ position: relative;
107
+ top: -19px;
108
+ left: -21px;
109
+ }
110
+ .domain_input input{
111
+ margin-left: 9px;
112
+ }
113
+ .valid_domain{
114
+ transition-property: margin-top;
115
+ transition-delay: 0.3s;
116
+ color: red;
117
+ display: none;
118
+ }
119
+ .plan_date{
120
+ color: #fff;
121
+ font-family: Rubik, sans-serif;
122
+ font-size: 16px;
123
+ opacity: 0.9;
124
+ }
125
+
126
+ html[dir="rtl"] body{
127
+ background-position: 0;
128
+ }
129
+ html[dir="rtl"] input[type=radio]:checked:before{
130
+ text-indent: -1px;
131
+ }
132
+
133
+ html[dir="rtl"] .preview{
134
+ right: auto;
135
+ }
136
+ html[dir="rtl"] .is-sticky .preview {
137
+ left: calc(50vw - 480px + 960px/12*7 + 84px - 175px);
138
+ }
139
+ @media screen and (max-width: 782px) {
140
+ #sticky-wrapper{
141
+ display: none;
142
+ }
143
+ .test_textarea{
144
+ width: 250px;
145
+ }
146
+ }
assets/css/cht-widget.css ADDED
@@ -0,0 +1 @@
 
1
+ .chaty-widget{position:fixed;width:62px;z-index:9999}.chaty-widget .chaty-widget-icons{display:flex;flex-wrap:wrap;transition:all 0.2s;overflow:hidden;height:0;opacity:0;position:absolute;left:0;right:auto;bottom:60px}.chaty-widget .chaty-widget-icons .chaty-widget-icon{opacity:0;transition:all 0.2s;max-height:0;overflow:hidden}.chaty-widget .icon-trigger{position:relative;margin-top:6px}.chaty-widget .icon-trigger .icon-trigger-open,.chaty-widget .icon-trigger .icon-trigger-close{transition:all 0.2s}.chaty-widget .icon-trigger .icon-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .icon-trigger .icon-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .icon-trigger .icon-trigger-close{opacity:0;pointer-events:none}.chaty-widget:not(.chaty-widget-show) .chaty-widget-icons{height:0 !important}.chaty-widget.chaty-widget-show .icon-trigger .icon-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .icon-trigger .icon-trigger-close{opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-icons{overflow:visible;opacity:1}.chaty-widget.chaty-widget-show .chaty-widget-icons .chaty-widget-icon{opacity:1;max-height:54px;overflow:visible}.chaty-widget .chaty-widget-icon{flex:0 0 54px;border-radius:50%;vertical-align:top;font-size:0;position:relative;box-shadow:0px 3px 6px rgba(0,0,0,0.25);margin:4px}.chaty-widget .chaty-widget-icon svg{cursor:pointer;width:54px;height:54px}.chaty-widget .chaty-widget-icon:not(.no-tooltip) .chaty-widget-icon-title,.chaty-widget .chaty-widget-icon:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-icon:not(.no-tooltip):before{content:'';left:-8px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.chaty-widget .chaty-widget-icon:not(.no-tooltip) .chaty-widget-icon-title{font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 6px), -50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-icon:not(.no-tooltip):hover .chaty-widget-icon-title,.chaty-widget .chaty-widget-icon:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-icon .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-icons-right) .chaty-widget-icons{position:absolute;right:0;left:auto;bottom:60px;justify-content:flex-end}.chaty-widget.chaty-widget-icons-right .chaty-widget-icon:before{right:-8px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-icons-right .chaty-widget-icon .chaty-widget-icon-title{right:0;left:auto;transform:translate(calc(100% + 6px), -50%)}
assets/images/arrow.png ADDED
Binary file
assets/images/bg.svg ADDED
@@ -0,0 +1,533 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1328" viewBox="0 0 1200 1328" fill="none">
2
+ <g clip-path="url(#clip0)">
3
+ <rect width="1200" height="1328" fill="white"/>
4
+ <rect width="1200" height="1328" fill="url(#paint0_linear)"/>
5
+ <!--<g opacity="0.6" filter="url(#filter0_f)">-->
6
+ <!--<rect width="914.215" height="42.0585" rx="9" transform="translate(142.892 1257.2)" fill="black"-->
7
+ <!--fill-opacity="0.2"/>-->
8
+ <!--</g>-->
9
+
10
+
11
+ <g opacity="0.1">
12
+ <path fill-rule="evenodd" clip-rule="evenodd"
13
+ d="M3.86839 0H25.1446C27.2722 0 29.013 1.77328 29.013 3.94064V21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142H11.0249L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.83549 30.54H4.44866C4.06182 30.3429 3.86839 29.9489 3.86839 29.5548V25.6142C1.74078 25.6142 0 23.8409 0 21.6735V3.94064C0 1.77328 1.74078 0 3.86839 0ZM3.86839 16.7477C3.86839 17.3388 4.25523 17.7328 4.83549 17.7328H6.76968C8.31704 17.7328 9.67098 16.3536 9.67098 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80258 11.4278 5.80258 10.8367C5.80258 10.2456 6.18942 9.85156 6.76968 9.85156H8.70388C9.28414 9.85156 9.67098 9.45752 9.67098 8.86642C9.67098 8.27533 9.28414 7.88126 8.70388 7.88126H6.76968C5.22232 7.88126 3.86839 9.26047 3.86839 10.8367C3.86839 12.413 5.22232 13.7922 6.76968 13.7922C7.34995 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34995 15.7625 6.76968 15.7625H4.83549C4.25523 15.7625 3.86839 16.1566 3.86839 16.7477ZM22.2433 17.7328H20.3091C19.7289 17.7328 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7625H22.2433C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8367C19.342 9.26047 20.6959 7.88126 22.2433 7.88126H24.1775C24.7578 7.88126 25.1446 8.27533 25.1446 8.86642C25.1446 9.45752 24.7578 9.85156 24.1775 9.85156H22.2433C21.663 9.85156 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3536 23.7907 17.7328 22.2433 17.7328ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3388 17.6012 16.7477V8.86646C17.6012 8.47238 17.2143 8.07834 16.8275 7.88129C16.2472 7.88129 15.8604 8.07834 15.667 8.47238L14.5065 10.6397L13.346 8.47238C13.1525 8.07834 12.5723 7.68427 12.1854 7.88129C11.7986 8.07834 11.4118 8.47238 11.4118 8.86646V16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477V13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041V16.7477Z"
14
+ transform="translate(39.6424 236.54) rotate(-30)" fill="white"/>
15
+ </g>
16
+ <g opacity="0.1">
17
+ <path fill-rule="evenodd" clip-rule="evenodd"
18
+ d="M3.8684 1.49725e-06L25.1446 0C27.2722 -4.69996e-06 29.013 1.7733 29.013 3.94066L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.8355 30.54H4.44866C4.06182 30.3429 3.86839 29.9489 3.8684 29.5548L3.86839 25.6142C1.74078 25.6142 1.87794e-06 23.8409 0 21.6735L3.99215e-06 3.94064C2.11421e-06 1.77329 1.74078 6.19722e-06 3.8684 1.49725e-06ZM4.83549 17.7329L6.76969 17.7329C8.31704 17.7329 9.67098 16.3537 9.67097 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80259 11.4279 5.80258 10.8368C5.80258 10.2457 6.18943 9.8516 6.76968 9.85161L8.70388 9.8516C9.28414 9.8516 9.67098 9.45753 9.67098 8.86644C9.67098 8.27534 9.28413 7.88128 8.70388 7.88129L6.76968 7.88128C5.22233 7.88128 3.86839 9.2605 3.86838 10.8368C3.86838 12.413 5.22232 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25523 15.7626 3.86839 16.1566 3.86839 16.7477C3.86838 17.3388 4.25522 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88128C24.7578 7.88128 25.1446 8.27534 25.1446 8.86644C25.1446 9.45753 24.7578 9.8516 24.1775 9.8516L22.2433 9.8516C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86647C17.6012 8.4724 17.2143 8.07834 16.8275 7.8813C16.2472 7.88131 15.8604 8.07834 15.667 8.4724L14.5065 10.6398L13.346 8.47241C13.1525 8.07834 12.5723 7.68428 12.1854 7.8813C11.7986 8.07834 11.4118 8.47241 11.4118 8.86647V16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7478L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
19
+ transform="translate(319.608 17.3281) rotate(-30)" fill="white"/>
20
+ </g>
21
+ <g opacity="0.1">
22
+ <path fill-rule="evenodd" clip-rule="evenodd"
23
+ d="M3.8684 0L25.1446 1.17173e-05C27.2722 7.01729e-06 29.013 1.77329 29.013 3.94064L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22234 30.54 5.02892 30.54 4.8355 30.54L4.44866 30.54C4.06182 30.3429 3.8684 29.9489 3.8684 29.5548L3.86839 25.6142C1.74077 25.6142 1.87794e-06 23.8409 0 21.6735L3.99215e-06 3.94064C2.11421e-06 1.77329 1.74078 2.79262e-06 3.8684 0ZM4.83548 17.7329L6.76968 17.7329C8.31704 17.7329 9.67097 16.3537 9.67097 14.7774C9.67098 13.2011 8.31703 11.8219 6.76968 11.8219C6.18942 11.8219 5.80258 11.4279 5.80258 10.8368C5.80258 10.2457 6.18942 9.85159 6.76968 9.8516L8.70387 9.8516C9.28414 9.8516 9.67098 9.45753 9.67098 8.86643C9.67098 8.27534 9.28413 7.88128 8.70387 7.88128L6.76968 7.88127C5.22232 7.88128 3.86838 9.2605 3.86838 10.8368C3.86838 12.413 5.22232 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25522 15.7626 3.86838 16.1566 3.86838 16.7477C3.86838 17.3388 4.25522 17.7329 4.83548 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88128C24.7578 7.88128 25.1446 8.27534 25.1446 8.86643C25.1446 9.45753 24.7578 9.8516 24.1775 9.8516L22.2433 9.8516C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86647C17.6012 8.4724 17.2143 8.07834 16.8275 7.88131C16.2472 7.8813 15.8604 8.07834 15.667 8.4724L14.5065 10.6398L13.346 8.47241C13.1525 8.07833 12.5723 7.68428 12.1854 7.8813C11.7986 8.07834 11.4118 8.47241 11.4118 8.86647L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
24
+ transform="translate(20.1613 634.373) rotate(-30)" fill="white"/>
25
+ </g>
26
+ <g opacity="0.1">
27
+ <path fill-rule="evenodd" clip-rule="evenodd"
28
+ d="M3.8684 3.66012e-06L25.1446 0C27.2722 2.41835e-06 29.013 1.77329 29.013 3.94064L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.3429C5.22235 30.54 5.02892 30.54 4.8355 30.54H4.44867C4.06182 30.3429 3.8684 29.9489 3.8684 29.5548L3.8684 25.6142C1.74078 25.6142 1.70049e-06 23.8409 4.52245e-06 21.6735L0 3.94064C1.42568e-06 1.77329 1.74078 1.24177e-06 3.8684 3.66012e-06ZM4.83549 17.7329L6.76968 17.7329C8.31704 17.7329 9.67098 16.3536 9.67098 14.7774C9.67098 13.2011 8.31704 11.8219 6.76968 11.8219C6.18942 11.8219 5.80259 11.4279 5.80258 10.8368C5.80258 10.2457 6.18942 9.85159 6.76968 9.85159L8.70388 9.85159C9.28414 9.85159 9.67098 9.45753 9.67098 8.86643C9.67098 8.27534 9.28414 7.88127 8.70388 7.88127H6.76968C5.22232 7.88127 3.86839 9.2605 3.86838 10.8368C3.86839 12.413 5.22233 13.7922 6.76968 13.7922C7.34994 13.7922 7.73678 14.1863 7.73678 14.7774C7.73678 15.3685 7.34994 15.7626 6.76968 15.7626L4.83548 15.7626C4.25523 15.7626 3.86838 16.1566 3.86838 16.7477C3.86838 17.3388 4.25522 17.7329 4.83549 17.7329ZM22.2433 17.7329H20.3091C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8368C19.342 9.2605 20.696 7.88127 22.2433 7.88127L24.1775 7.88127C24.7578 7.88127 25.1446 8.27534 25.1446 8.86643C25.1446 9.45753 24.7578 9.85159 24.1775 9.85159H22.2433C21.6631 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2011 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3388 17.6012 16.7477L17.6012 8.86646C17.6012 8.47239 17.2144 8.07833 16.8275 7.8813C16.2473 7.8813 15.8604 8.07833 15.667 8.47239L14.5065 10.6398L13.346 8.4724C13.1525 8.07833 12.5723 7.68427 12.1855 7.8813C11.7986 8.07833 11.4118 8.4724 11.4118 8.86646L11.4118 16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
29
+ transform="translate(-5.74054 821.887) rotate(-30)" fill="white"/>
30
+ </g>
31
+ <g opacity="0.1">
32
+ <path fill-rule="evenodd" clip-rule="evenodd"
33
+ d="M3.86841 2.92775e-06L25.1446 0C27.2722 -1.83895e-06 29.013 1.7733 29.013 3.94066L29.013 21.6735C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41576 30.343C5.22235 30.54 5.02892 30.54 4.8355 30.54L4.44867 30.54C4.06182 30.343 3.8684 29.9489 3.8684 29.5548L3.8684 25.6142C1.74078 25.6142 -1.42568e-06 23.8409 0 21.6735L9.14383e-06 3.94064C9.7436e-06 1.77329 1.74079 5.72037e-06 3.86841 2.92775e-06ZM4.8355 17.7329L6.7697 17.7329C8.31706 17.7329 9.67099 16.3537 9.67099 14.7774C9.67099 13.2011 8.31706 11.8219 6.7697 11.8219C6.18944 11.8219 5.80259 11.4279 5.8026 10.8367C5.8026 10.2456 6.18943 9.85159 6.76969 9.85159L8.70389 9.85159C9.28415 9.85159 9.67099 9.45752 9.67099 8.86642C9.67099 8.27533 9.28415 7.88126 8.7039 7.88126L6.7697 7.88126C5.22234 7.88126 3.86839 9.2605 3.8684 10.8367C3.8684 12.413 5.22233 13.7922 6.76969 13.7922C7.34995 13.7922 7.73679 14.1863 7.73679 14.7774C7.73679 15.3685 7.34995 15.7626 6.76969 15.7626L4.8355 15.7625C4.25524 15.7625 3.8684 16.1566 3.8684 16.7477C3.8684 17.3388 4.25524 17.7329 4.8355 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7923 22.2433 13.7923C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.342 9.26053 20.6959 7.88129 22.2433 7.88129L24.1775 7.88128C24.7578 7.88128 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85161 24.1775 9.85161L22.2433 9.85162C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3537 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7477C15.4736 17.3388 15.8604 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3388 17.6012 16.7477L17.6012 8.86645C17.6012 8.4724 17.2144 8.07833 16.8275 7.88131C16.2473 7.88131 15.8604 8.07833 15.667 8.4724L14.5065 10.6398L13.346 8.47238C13.1525 8.07834 12.5723 7.68427 12.1855 7.88129C11.7986 8.07834 11.4118 8.47239 11.4118 8.86646L11.4118 16.7477C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0041L15.4736 16.7477Z"
34
+ transform="translate(64.0171 1036.92) rotate(-30)" fill="white"/>
35
+ </g>
36
+ <g opacity="0.1">
37
+ <path fill-rule="evenodd" clip-rule="evenodd"
38
+ d="M3.86841 0L25.1446 2.49318e-05C27.2722 -6.19721e-06 29.013 1.7733 29.013 3.94063L29.013 21.6736C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41577 30.343C5.22235 30.54 5.02891 30.54 4.83551 30.54L4.44867 30.54C4.06184 30.3429 3.86842 29.9489 3.86841 29.5548L3.86842 25.6141C1.74079 25.6142 2.0774e-05 23.8409 3.63725e-06 21.6735L0 3.94067C1.33808e-05 1.77329 1.74078 3.1129e-05 3.86841 0ZM4.83549 17.7329L6.76969 17.7329C8.31705 17.7329 9.67101 16.3536 9.67099 14.7774C9.67098 13.2012 8.31707 11.8219 6.76971 11.8219C6.18943 11.8219 5.80261 11.4278 5.80261 10.8367C5.80261 10.2456 6.18944 9.85159 6.76971 9.85157L8.70391 9.85156C9.28415 9.85159 9.67099 9.45754 9.67099 8.86645C9.67099 8.27536 9.28416 7.88126 8.70389 7.88128L6.76969 7.88129C5.22233 7.88129 3.8684 9.2605 3.86841 10.8367C3.86839 12.413 5.22234 13.7922 6.7697 13.7922C7.34998 13.7922 7.73679 14.1863 7.73679 14.7774C7.7368 15.3685 7.34997 15.7625 6.7697 15.7626L4.8355 15.7626C4.25525 15.7625 3.86839 16.1566 3.86839 16.7477C3.86839 17.3388 4.25524 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8367C19.342 9.2605 20.696 7.88129 22.2433 7.88128L24.1775 7.88128C24.7578 7.88125 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85158 24.1775 9.85156L22.2433 9.85156C21.6631 9.85159 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7477L17.6012 8.86647C17.6012 8.47242 17.2144 8.07833 16.8275 7.88133C16.2473 7.8813 15.8604 8.07835 15.667 8.47243L14.5065 10.6398L13.346 8.47243C13.1525 8.07836 12.5723 7.68429 12.1854 7.88134C11.7986 8.07834 11.4118 8.47244 11.4118 8.86648L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
39
+ transform="translate(-6.43736 1103.38) rotate(-30)" fill="white"/>
40
+ </g>
41
+ <g opacity="0.1">
42
+ <path fill-rule="evenodd" clip-rule="evenodd"
43
+ d="M3.86841 0L25.1446 2.49318e-05C27.2722 -6.19721e-06 29.013 1.7733 29.013 3.94063L29.013 21.6736C29.013 23.8409 27.2722 25.6142 25.1446 25.6142L11.0249 25.6142L5.41577 30.343C5.22235 30.54 5.02891 30.54 4.83551 30.54L4.44867 30.54C4.06184 30.3429 3.86842 29.9489 3.86841 29.5548L3.86842 25.6141C1.74079 25.6142 2.0774e-05 23.8409 3.63724e-06 21.6735L0 3.94067C1.33808e-05 1.77329 1.74078 3.1129e-05 3.86841 0ZM4.83549 17.7329L6.76969 17.7329C8.31705 17.7329 9.67101 16.3536 9.67099 14.7774C9.67098 13.2012 8.31707 11.8219 6.76971 11.8219C6.18943 11.8219 5.80261 11.4278 5.80261 10.8367C5.80261 10.2456 6.18944 9.85159 6.76971 9.85157L8.70391 9.85156C9.28415 9.85159 9.67099 9.45754 9.67099 8.86645C9.67099 8.27536 9.28416 7.88126 8.70389 7.88128L6.76969 7.88129C5.22233 7.88129 3.8684 9.2605 3.86841 10.8367C3.86839 12.413 5.22234 13.7922 6.7697 13.7922C7.34998 13.7922 7.73679 14.1863 7.73679 14.7774C7.7368 15.3685 7.34997 15.7625 6.7697 15.7626L4.8355 15.7626C4.25525 15.7625 3.86839 16.1566 3.86839 16.7477C3.86839 17.3388 4.25524 17.7329 4.83549 17.7329ZM22.2433 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7289 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7625 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8236 13.7922 22.2433 13.7922C20.696 13.7922 19.342 12.413 19.342 10.8367C19.342 9.2605 20.696 7.88129 22.2433 7.88128L24.1775 7.88128C24.7578 7.88125 25.1446 8.27535 25.1446 8.86645C25.1446 9.45754 24.7578 9.85158 24.1775 9.85156L22.2433 9.85156C21.6631 9.85159 21.2762 10.2456 21.2762 10.8367C21.2762 11.4278 21.6631 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1446 16.3536 23.7907 17.7329 22.2433 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8604 17.7329 16.4407 17.7329C17.0209 17.7329 17.4078 17.3389 17.6012 16.7477L17.6012 8.86647C17.6012 8.47242 17.2144 8.07833 16.8275 7.88133C16.2473 7.8813 15.8604 8.07835 15.667 8.47243L14.5065 10.6398L13.346 8.47243C13.1525 8.07836 12.5723 7.68429 12.1854 7.88134C11.7986 8.07834 11.4118 8.47244 11.4118 8.86648L11.4118 16.7478C11.4118 17.3388 11.7986 17.7329 12.3789 17.7329C12.9591 17.7329 13.346 17.3388 13.346 16.7477L13.346 13.0041L13.5394 13.2012C13.9262 13.7923 14.8933 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
44
+ transform="translate(1081 914.859) rotate(-30)" fill="white"/>
45
+ </g>
46
+ <g opacity="0.1">
47
+ <path fill-rule="evenodd" clip-rule="evenodd"
48
+ d="M3.86835 0L25.1446 3.2835e-05C27.2722 9.06158e-06 29.0129 1.7733 29.013 3.94068L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41577 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06178 30.343 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.93858e-05 23.8409 1.59425e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76965 17.7329C8.31704 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31708 11.8219 6.76968 11.8219C6.18939 11.8219 5.80259 11.4279 5.80262 10.8368C5.80263 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45756 9.67103 8.86647C9.67093 8.27532 9.28415 7.88128 8.70385 7.88126L6.76967 7.88127C5.22228 7.88126 3.86835 9.26051 3.86843 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83552 15.7626C4.25522 15.7625 3.86841 16.1566 3.8684 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26051 20.6959 7.88126 22.2432 7.88128L24.1774 7.88127C24.7577 7.88129 25.1445 8.27533 25.1446 8.86647C25.1446 9.45756 24.7577 9.85159 24.1775 9.85163L22.2433 9.85164C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3537 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6013 8.8665C17.6013 8.47246 17.2144 8.07836 16.8276 7.88137C16.2473 7.88135 15.8605 8.07839 15.667 8.47241L14.5065 10.6398L13.346 8.47242C13.1526 8.0784 12.5723 7.68431 12.1855 7.88135C11.7986 8.07837 11.4118 8.47243 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
49
+ transform="translate(1140.36 1117.89) rotate(-30)" fill="white"/>
50
+ </g>
51
+ <g opacity="0.1">
52
+ <path fill-rule="evenodd" clip-rule="evenodd"
53
+ d="M3.86835 0L25.1446 3.2835e-05C27.2722 9.06158e-06 29.0129 1.7733 29.013 3.94068L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41577 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06178 30.343 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.93858e-05 23.8409 1.59425e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76965 17.7329C8.31704 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31708 11.8219 6.76968 11.8219C6.18939 11.8219 5.80259 11.4279 5.80262 10.8368C5.80263 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45756 9.67103 8.86647C9.67093 8.27532 9.28415 7.88128 8.70385 7.88126L6.76967 7.88127C5.22228 7.88126 3.86835 9.26051 3.86843 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83552 15.7626C4.25522 15.7625 3.86841 16.1566 3.8684 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7288 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26051 20.6959 7.88126 22.2432 7.88128L24.1774 7.88127C24.7577 7.88129 25.1445 8.27533 25.1446 8.86647C25.1446 9.45756 24.7577 9.85159 24.1775 9.85163L22.2433 9.85164C21.663 9.85162 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3537 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.7329 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6013 8.8665C17.6013 8.47246 17.2144 8.07836 16.8276 7.88137C16.2473 7.88135 15.8605 8.07839 15.667 8.47241L14.5065 10.6398L13.346 8.47242C13.1526 8.0784 12.5723 7.68431 12.1855 7.88135C11.7986 8.07837 11.4118 8.47243 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
54
+ transform="translate(1066.27 680.345) rotate(-30)" fill="white"/>
55
+ </g>
56
+ <g opacity="0.1">
57
+ <path fill-rule="evenodd" clip-rule="evenodd"
58
+ d="M3.86835 0L25.1446 4.60495e-05C27.2722 2.22761e-05 29.0129 1.77328 29.013 3.94067L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41578 30.343C5.22238 30.54 5.02887 30.54 4.83547 30.54L4.44868 30.54C4.06179 30.3429 3.86839 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -4.17564e-05 23.8409 9.22364e-06 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.37735e-05 3.86835 0ZM4.83546 17.7329L6.76964 17.7329C8.31703 17.7329 9.67095 16.3537 9.67098 14.7774C9.67102 13.2012 8.31706 11.822 6.76967 11.8219C6.18937 11.8219 5.80259 11.4279 5.8026 10.8368C5.80262 10.2457 6.18942 9.85162 6.76971 9.85165L8.7039 9.85164C9.28409 9.8516 9.67101 9.45757 9.67102 8.86648C9.67093 8.27534 9.28414 7.88131 8.70384 7.88129L6.76966 7.88129C5.22227 7.88127 3.86835 9.26051 3.86842 10.8368C3.86838 12.413 5.22234 13.7923 6.76963 13.7922C7.34992 13.7923 7.73682 14.1863 7.7368 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.8355 15.7626C4.2552 15.7626 3.8684 16.1567 3.86839 16.7477C3.86837 17.3388 4.25526 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.309 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7626 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7923 19.342 12.413 19.342 10.8368C19.3419 9.26048 20.6959 7.88125 22.2433 7.88126L24.1774 7.88127C24.7577 7.88129 25.1445 8.27531 25.1446 8.86646C25.1446 9.45755 24.7577 9.85158 24.1775 9.85162L22.2433 9.85163C21.663 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3536 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.733 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86653C17.6013 8.47246 17.2144 8.07837 16.8276 7.88137C16.2473 7.88135 15.8605 8.07841 15.667 8.47241L14.5065 10.6398L13.346 8.47245C13.1526 8.0784 12.5723 7.68432 12.1855 7.88137C11.7986 8.07837 11.4118 8.47246 11.4118 8.86651L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
59
+ transform="translate(1127.86 438.314) rotate(-30)" fill="white"/>
60
+ </g>
61
+ <g opacity="0.1">
62
+ <path fill-rule="evenodd" clip-rule="evenodd"
63
+ d="M3.86835 0L25.1446 3.2835e-05C27.2722 1.23652e-05 29.0129 1.77328 29.013 3.94067L29.013 21.6736C29.0129 23.8409 27.2722 25.6142 25.1445 25.6142L11.0249 25.6142L5.41578 30.343C5.22238 30.54 5.02887 30.54 4.83548 30.54L4.44868 30.54C4.06179 30.3429 3.8684 29.9489 3.86841 29.5548L3.86839 25.6142C1.74081 25.6142 -3.88954e-05 23.8409 1.20847e-05 21.6736L1.29074e-09 3.94067C-5.47346e-05 1.77328 1.74077 2.04698e-05 3.86835 0ZM4.83546 17.7329L6.76964 17.7329C8.31703 17.7329 9.67095 16.3537 9.67099 14.7774C9.67103 13.2012 8.31707 11.8219 6.76968 11.8219C6.18938 11.8219 5.80259 11.4279 5.80261 10.8368C5.80262 10.2457 6.18942 9.85162 6.76972 9.85164L8.70391 9.85163C9.2841 9.85159 9.67101 9.45757 9.67102 8.86648C9.67093 8.27533 9.28414 7.8813 8.70385 7.88128L6.76966 7.88128C5.22227 7.88127 3.86835 9.2605 3.86842 10.8368C3.86839 12.413 5.22235 13.7923 6.76963 13.7922C7.34993 13.7922 7.73682 14.1863 7.73681 14.7774C7.73679 15.3685 7.34999 15.7626 6.76969 15.7626L4.83551 15.7626C4.25521 15.7626 3.8684 16.1567 3.86839 16.7477C3.86838 17.3388 4.25527 17.7329 4.83546 17.7329ZM22.2432 17.7329L20.3091 17.7329C19.7289 17.7329 19.342 17.3388 19.342 16.7477C19.342 16.1566 19.7288 15.7625 20.3091 15.7626L22.2433 15.7626C22.8236 15.7626 23.2104 15.3685 23.2104 14.7774C23.2104 14.1863 22.8235 13.7922 22.2432 13.7922C20.6959 13.7922 19.342 12.413 19.342 10.8368C19.3419 9.26048 20.6959 7.88124 22.2433 7.88126L24.1774 7.88125C24.7577 7.88127 25.1445 8.27531 25.1446 8.86646C25.1446 9.45754 24.7577 9.85157 24.1775 9.85161L22.2433 9.85161C21.663 9.85159 21.2762 10.2457 21.2762 10.8368C21.2762 11.4279 21.663 11.8219 22.2433 11.8219C23.7907 11.8219 25.1446 13.2012 25.1446 14.7774C25.1445 16.3536 23.7906 17.7329 22.2432 17.7329ZM15.4736 16.7478C15.4736 17.3389 15.8605 17.733 16.4407 17.7329C17.021 17.7329 17.4078 17.3389 17.6012 16.7478L17.6012 8.86652C17.6013 8.47246 17.2144 8.07837 16.8276 7.88136C16.2473 7.88134 15.8605 8.07839 15.667 8.4724L14.5065 10.6398L13.346 8.47244C13.1526 8.07839 12.5723 7.68431 12.1855 7.88136C11.7986 8.07836 11.4118 8.47244 11.4118 8.8665L11.4118 16.7478C11.4118 17.3389 11.7986 17.7329 12.3789 17.7329C12.9592 17.733 13.346 17.3389 13.346 16.7478L13.346 13.0042L13.5394 13.2012C13.9263 13.7923 14.8934 13.7923 15.2802 13.2012L15.4736 13.0042L15.4736 16.7478Z"
64
+ transform="translate(1081 290.227) rotate(-30)" fill="white"/>
65
+ </g>
66
+ <g opacity="0.1">
67
+ <path fill-rule="evenodd" clip-rule="evenodd"
68
+ d="M0 14.1247C0 6.29886 6.87149 0 15.27 0C23.6685 0 30.54 6.29886 30.54 14.1247C30.54 21.9506 23.6685 28.2495 15.27 28.2495C13.743 28.2495 12.216 28.0586 10.8799 27.6768L5.72624 30.54V25.1955C2.2905 22.5232 0 18.5149 0 14.1247ZM12.9795 14.8882L16.797 19.0875L25.1955 10.1164L17.7514 14.3156L13.743 10.1164L5.3445 19.0875L12.9795 14.8882Z"
69
+ transform="translate(73.9109 474.762) rotate(15)" fill="white"/>
70
+ </g>
71
+ <path opacity="0.1"
72
+ d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
73
+ transform="translate(87.0557 648.595) rotate(30)" fill="white"/>
74
+ <path opacity="0.1"
75
+ d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
76
+ transform="translate(72.6127 813.598) rotate(5.24419)" fill="white"/>
77
+ <path opacity="0.1"
78
+ d="M21.4219 16.4784C19.6093 16.3136 17.9615 15.8193 16.3136 15.1601C15.4897 14.8306 14.501 15.1601 14.1714 15.984L13.0179 17.9615C9.55747 16.1488 6.75615 13.1827 4.94352 9.88704L7.08571 8.73355C7.90963 8.40398 8.2392 7.41528 7.90963 6.59136C7.2505 4.94352 6.75615 3.1309 6.59136 1.48306C6.59136 0.659135 5.76744 0 4.94352 0H0.823921C0.329569 0 6.28601e-07 0.329568 6.28601e-07 0.82392C6.28601e-07 4.1196 0.659135 7.41528 2.14219 10.3814C4.28438 14.9953 8.07442 18.6206 12.5236 20.7628C15.4897 22.2458 18.7854 22.905 22.0811 22.905C22.5754 22.905 22.905 22.5754 22.905 22.0811V18.1262C22.905 17.1375 22.2458 16.4784 21.4219 16.4784Z"
79
+ transform="translate(1148.14 979.667) rotate(5.24419)" fill="white"/>
80
+ <path opacity="0.1" fill-rule="evenodd" clip-rule="evenodd"
81
+ d="M0 10.689C0 4.88638 4.88641 0 10.689 0C16.4916 0 21.378 4.88638 21.378 10.689C21.378 16.1862 12.8268 25.959 11.9106 26.8752C11.6052 27.1806 10.9944 27.486 10.689 27.486C10.3836 27.486 9.77283 27.1806 9.46741 26.8752C8.55121 25.959 0 16.1862 0 10.689ZM15.2702 10.689C15.2702 13.2191 13.2192 15.27 10.6892 15.27C8.15921 15.27 6.10822 13.2191 6.10822 10.689C6.10822 8.15903 8.15921 6.10803 10.6892 6.10803C13.2192 6.10803 15.2702 8.15903 15.2702 10.689Z"
82
+ transform="translate(40.8526 362.509) rotate(-30)" fill="white"/>
83
+ <g opacity="0.1">
84
+ <path d="M17.1787 25.1446C5.53537 25.1446 0 23.017 0 18.3749C0 17.7946 0.38175 17.4078 0.954374 17.4078C1.90875 17.4078 2.67224 17.2144 3.05399 16.6341C4.19924 15.2802 3.8175 12.7657 3.8175 12.7657C3.8175 5.60917 9.73461 0 17.1787 0C24.6229 0 30.54 5.60917 30.54 12.5723C30.54 19.5354 24.6229 25.1446 17.1787 25.1446ZM2.09962 19.1486C3.05399 21.663 8.20762 23.2104 17.1787 23.2104C23.4776 23.2104 28.6312 18.3749 28.6312 12.5723C28.6312 6.76969 23.4776 1.9342 17.1787 1.9342C10.8799 1.9342 5.72624 6.76969 5.72624 12.5723C5.72624 12.5723 6.29887 15.8604 4.581 17.7946C3.8175 18.5683 3.05399 18.9551 2.09962 19.1486Z"
85
+ transform="translate(1159.05 841.814) rotate(-30)" fill="white"/>
86
+ <path d="M3.8175 7.73679C5.92584 7.73679 7.63499 6.00485 7.63499 3.8684C7.63499 1.73194 5.92584 0 3.8175 0C1.70915 0 0 1.73194 0 3.8684C0 6.00485 1.70915 7.73679 3.8175 7.73679Z"
87
+ transform="translate(1184.56 851.65) rotate(-30)" fill="white"/>
88
+ <path d="M3.8175 7.73679C5.92584 7.73679 7.63499 6.00485 7.63499 3.8684C7.63499 1.73194 5.92584 0 3.8175 0C1.70915 0 0 1.73194 0 3.8684C0 6.00485 1.70915 7.73679 3.8175 7.73679Z"
89
+ transform="translate(1174.64 857.376) rotate(-30)" fill="white"/>
90
+ <path d="M0.954374 1.9342C0.38175 1.9342 0 1.54736 0 0.967099C0 0.38684 0.38175 0 0.954374 0C1.527 0 1.90875 0.38684 1.90875 0.967099C1.90875 1.54736 1.527 1.9342 0.954374 1.9342Z"
91
+ transform="translate(1174.14 843.148) rotate(-30)" fill="white"/>
92
+ <path d="M0.954374 1.9342C0.38175 1.9342 0 1.54736 0 0.967099C0 0.38684 0.38175 0 0.954374 0C1.527 0 1.90875 0.38684 1.90875 0.967099C1.90875 1.54736 1.527 1.9342 0.954374 1.9342Z"
93
+ transform="translate(1180.75 839.331) rotate(-30)" fill="white"/>
94
+ <path d="M5.7759 5.85291C3.10365 5.85291 0.622277 3.91871 0.0496522 1.21083C-0.141223 0.630571 0.24053 0.243734 0.813154 0.0503142C1.38578 -0.143106 1.76753 0.243737 1.9584 0.823996C2.34015 2.56477 3.86715 3.91871 5.7759 3.91871C7.68464 3.91871 9.21164 2.56477 9.59339 0.823996C9.78427 0.243737 10.166 0.0503142 10.7386 0.0503142C11.3113 0.243734 11.5021 0.630571 11.5021 1.21083C10.9295 3.91871 8.44814 5.85291 5.7759 5.85291Z"
95
+ transform="translate(1175.66 847.794) rotate(-30)" fill="white"/>
96
+ </g>
97
+ <g opacity="0.1">
98
+ <path d="M28.599 19.851H1.9066C0.76264 19.851 0 19.1291 0 18.0463V1.80463C0 0.721854 0.76264 0 1.9066 0H28.599C29.7429 0 30.5056 0.721854 30.5056 1.80463V18.0463C30.5056 19.1291 29.7429 19.851 28.599 19.851ZM28.599 18.0463V18.9487V18.0463ZM1.9066 1.80463V18.0463H28.599V1.80463H1.9066Z"
99
+ transform="translate(1124 680.375) rotate(-30)" fill="white"/>
100
+ <path d="M15.27 11.7464C15.0793 11.7464 14.8887 11.7464 14.698 11.5659L0.398512 1.64044C0.0171918 1.27952 -0.173468 0.738126 0.207852 0.377199C0.589172 0.0162723 1.16115 -0.164191 1.54247 0.196736L15.27 9.7613L28.9975 0.196736C29.3788 -0.164191 29.9508 0.0162723 30.3321 0.377199C30.7134 0.738126 30.5228 1.27952 30.1415 1.64044L15.842 11.5659C15.6513 11.7464 15.4606 11.7464 15.27 11.7464Z"
101
+ transform="translate(1124.42 681.151) rotate(-30)" fill="white"/>
102
+ <path d="M12.6586 9.94176C12.468 9.94176 12.2773 9.94176 12.0867 9.7613L0.456417 1.64044C-0.115563 1.27952 -0.115563 0.738126 0.265756 0.377199C0.456416 0.016272 1.0284 -0.164191 1.60038 0.196736L13.2306 8.31759C13.6119 8.67852 13.8026 9.21991 13.4213 9.58084C13.2306 9.7613 13.04 9.94176 12.6586 9.94176Z"
103
+ transform="translate(1143.13 679.729) rotate(-30)" fill="white"/>
104
+ <path d="M0.970491 9.94176C0.589171 9.94176 0.398512 9.7613 0.207852 9.58084C-0.173468 9.21991 0.0171918 8.67852 0.398512 8.31759L12.0288 0.196736C12.6007 -0.164191 13.1727 0.016272 13.3634 0.377199C13.7447 0.738126 13.554 1.27952 13.1727 1.64044L1.54247 9.7613C1.35181 9.94176 1.16115 9.94176 0.970491 9.94176Z"
105
+ transform="translate(1128.48 688.184) rotate(-30)" fill="white"/>
106
+ </g>
107
+ <g opacity="0.1">
108
+ <path d="M25.7387 3.12691C24.9765 2.39545 21.905 0.0567034 15.064 0.0230178C15.064 0.0230178 6.99252 -0.487079 3.0578 3.29534C0.867763 5.59077 0.096429 8.94971 0.0183773 13.1171C-0.0642656 17.2845 -0.169865 25.0851 7.01089 27.2025H7.01548L7.01089 30.4315C7.01089 30.4315 6.96498 31.7404 7.78681 32.0051C8.77853 32.3275 9.36162 31.3362 10.312 30.2631C10.8308 29.676 11.5517 28.8098 12.0934 28.1505C17.0015 28.5836 20.7801 27.5923 21.2071 27.4479C22.1988 27.1111 27.8094 26.3556 28.7184 18.5549C29.6596 10.5137 28.2593 5.42234 25.7387 3.12691ZM26.5697 17.9775C25.7984 24.4932 21.2484 24.9071 20.4128 25.1862C20.0547 25.3065 16.7398 26.1727 12.5709 25.884C12.5709 25.884 9.46263 29.8107 8.49387 30.8358C8.34236 30.9946 8.1633 31.0619 8.04393 31.0282C7.87864 30.9849 7.83273 30.778 7.83273 30.4748C7.83732 30.0417 7.86027 25.1092 7.86027 25.1092C7.85568 25.1092 7.85568 25.1092 7.86027 25.1092C1.79061 23.3431 2.14414 16.6974 2.21301 13.2182C2.28188 9.73892 2.90629 6.89008 4.75657 4.97481C8.08525 1.81798 14.94 2.28958 14.94 2.28958C20.7296 2.31845 23.5027 4.14229 24.1455 4.75344C26.2759 6.67352 27.364 11.2596 26.5697 17.9775Z"
109
+ transform="translate(1120.86 1041.52) rotate(15)" fill="white"/>
110
+ <path d="M2.314 2.50717C2.24054 0.914324 1.46921 0.0818081 0 1.46858e-07"
111
+ transform="translate(1133.19 1055.62) rotate(15)" stroke="white" stroke-width="0.518873"
112
+ stroke-linecap="round" stroke-linejoin="round"/>
113
+ <path d="M4.88971 5.38008C4.92185 3.89791 4.50404 2.66116 3.6317 1.66503C2.75936 0.6689 1.55185 0.115494 2.80229e-07 2.93715e-07"
114
+ transform="translate(1133.19 1053.37) rotate(15)" stroke="white" stroke-width="0.518873"
115
+ stroke-linecap="round" stroke-linejoin="round"/>
116
+ <path d="M7.60315 8.32035C7.58479 5.74581 6.85018 3.72467 5.40393 2.2425C3.95768 0.765145 2.15331 0.0144368 -5.60458e-07 1.46858e-07"
117
+ transform="translate(1133.07 1051.16) rotate(15)" stroke="white" stroke-width="0.518873"
118
+ stroke-linecap="round" stroke-linejoin="round"/>
119
+ <path d="M9.25322 11.71C9.25322 11.71 9.79958 11.7581 10.0888 11.378L10.6582 10.6273C10.9336 10.2519 11.5994 10.0161 12.2513 10.3963C12.614 10.6128 13.266 11.0315 13.67 11.3443C14.1016 11.6763 14.9877 12.4511 14.9877 12.4511C15.4101 12.8217 15.5065 13.3702 15.2219 13.9477C15.2219 13.9525 15.2173 13.9573 15.2173 13.9573C14.9234 14.5011 14.5286 15.016 14.0281 15.4924C14.0236 15.4973 14.0236 15.4973 14.019 15.5021C13.6103 15.8582 13.2063 16.0651 12.8115 16.1132C12.7655 16.1228 12.7059 16.1277 12.637 16.1228C12.4625 16.1228 12.2926 16.0988 12.1228 16.041L12.109 16.0218C11.4984 15.8437 10.4837 15.3914 8.7895 14.4145C7.6876 13.7793 6.77393 13.1296 6.0026 12.4848C5.59397 12.1479 5.17617 11.763 4.74918 11.3202C4.73541 11.3058 4.72163 11.2914 4.70786 11.2769C4.69408 11.2625 4.68031 11.2481 4.66654 11.2336C4.65276 11.2192 4.63899 11.2047 4.62522 11.1903C4.61144 11.1759 4.59767 11.1614 4.58389 11.147C4.1615 10.6995 3.79419 10.2615 3.47281 9.83325C2.85757 9.0248 2.23775 8.06235 1.6317 6.91223C0.699675 5.13652 0.268095 4.07301 0.0982181 3.43298L0.0798526 3.41855C0.0247573 3.2405 -0.00279024 3.06244 0.00180104 2.87958C-0.00279024 2.80739 0.0018009 2.74483 0.0109834 2.69671C0.0568962 2.28286 0.254322 1.85938 0.594076 1.4311C0.598667 1.42628 0.598667 1.42628 0.603258 1.42147C1.05779 0.896937 1.54447 0.483086 2.06787 0.175103C2.07247 0.175103 2.07706 0.17029 2.07706 0.17029C2.62801 -0.128068 3.15142 -0.027011 3.50494 0.415714C3.50954 0.420527 4.24414 1.34448 4.56094 1.79683C4.85937 2.22511 5.2634 2.90364 5.46542 3.28381C5.82813 3.96714 5.60316 4.66492 5.24504 4.95365L4.5288 5.55037C4.16609 5.85835 4.212 6.42619 4.212 6.42619C4.212 6.42619 5.27718 10.6465 9.25322 11.71Z"
120
+ transform="translate(1125.31 1049.61) rotate(15)" fill="white"/>
121
+ </g>
122
+ <g opacity="0.1">
123
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
124
+ transform="translate(629.801 24.9079) rotate(-30)" fill="#E0E0E0"/>
125
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
126
+ transform="translate(611.671 12.5941) rotate(-30)" fill="white"/>
127
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
128
+ transform="translate(620.42 8.65979) rotate(-30)" fill="#F2F2F2"/>
129
+ </g>
130
+ <g opacity="0.1">
131
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
132
+ transform="translate(470.533 62.2398) rotate(-30)" fill="#E0E0E0"/>
133
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
134
+ transform="translate(452.403 49.926) rotate(-30)" fill="white"/>
135
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
136
+ transform="translate(461.152 45.9917) rotate(-30)" fill="#F2F2F2"/>
137
+ </g>
138
+ <g opacity="0.1">
139
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
140
+ transform="translate(1146.54 108.458) rotate(-30)" fill="#E0E0E0"/>
141
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
142
+ transform="translate(1128.41 96.144) rotate(-30)" fill="white"/>
143
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
144
+ transform="translate(1137.16 92.2097) rotate(-30)" fill="#F2F2F2"/>
145
+ </g>
146
+ <g opacity="0.1">
147
+ <path d="M5.15362 -3.68919e-07L0 9.28415L10.8799 2.70788L5.15362 -3.68919e-07Z"
148
+ transform="translate(750.376 27.973) rotate(-30)" fill="#E0E0E0"/>
149
+ <path d="M30.1582 0.19342C29.9673 0 29.5856 0 29.2038 0L0.572624 11.6052C0.190875 11.7986 0 12.1854 0 12.5723C0 12.9591 0.190875 13.346 0.572624 13.5394L25.3863 25.1446C25.5772 25.1446 25.5772 25.1446 25.7681 25.1446C25.959 25.1446 26.1498 25.1446 26.1498 24.9512C26.3407 24.7577 26.5316 24.5643 26.7225 24.1775L30.54 0.967099C30.54 0.773679 30.54 0.38684 30.1582 0.19342Z"
150
+ transform="translate(732.246 15.6592) rotate(-30)" fill="white"/>
151
+ <path d="M20.0419 0L0 16.6341V28.0459L5.34449 19.1486L20.0419 0Z"
152
+ transform="translate(740.995 11.7249) rotate(-30)" fill="#F2F2F2"/>
153
+ </g>
154
+ <path opacity="0.1"
155
+ d="M30.1783 21.8084C26.1673 21.0295 24.2573 16.9405 24.2573 16.7457C24.0663 16.3563 24.0663 15.9669 24.0663 15.7722C24.2573 15.188 25.2123 14.9933 25.7853 14.7986C25.9763 14.7986 26.1673 14.6038 26.1673 14.6038C26.7403 14.4091 27.1223 14.2144 27.3133 13.825C27.6953 13.4355 27.6953 13.2408 27.6953 13.0461C27.6953 12.4619 27.3133 12.0725 26.7403 11.8778C26.5493 11.8778 26.3583 11.6831 26.1673 11.6831C25.9763 11.6831 25.7853 11.6831 25.5943 11.8778C25.0213 12.0725 24.6393 12.2672 24.2573 12.2672C24.0663 12.2672 23.8753 12.2672 23.8753 12.2672C23.8753 12.0725 23.8753 11.8778 23.8753 11.6831C24.0663 9.54118 24.2573 7.00984 23.4932 5.4521C23.1112 4.47851 22.3472 3.50492 21.5832 2.72605C21.0102 2.1419 20.2462 1.55774 19.2912 1.16831C17.7632 6.96366e-07 16.4262 0 15.8532 0C15.6622 0 15.2802 0 15.2802 0C14.5162 0 13.1791 0.194717 11.8421 0.778871C11.0781 1.16831 10.3141 1.75246 9.55011 2.33662C8.7861 3.11549 8.21309 4.08908 7.64009 5.06267C6.87608 6.62041 7.06708 9.15174 7.25808 11.2936C7.25808 11.4884 7.25808 11.6831 7.25808 12.0725C7.06708 12.0725 7.06708 12.0725 6.68508 12.0725C6.30307 12.0725 5.92107 11.8778 5.34806 11.6831C5.15706 11.6831 4.96606 11.4884 4.77505 11.4884C4.39305 11.4884 4.20205 11.4884 3.82004 11.6831C3.43804 11.8778 3.24703 12.2672 3.24703 12.4619C3.24703 12.6567 3.24703 13.0461 3.62904 13.6303C3.82004 13.825 4.20205 14.0197 4.77505 14.2144C4.96606 14.2144 4.96605 14.4091 5.15705 14.4091C5.73006 14.6038 6.49407 14.7986 6.87607 15.3827C7.06708 15.5774 6.87608 15.9669 6.68508 16.3563C6.68508 16.551 6.11206 17.5246 5.15705 18.6929C4.58405 19.2771 4.01104 19.8612 3.24703 20.4454C2.48302 21.0295 1.52802 21.419 0.573008 21.419C0.191004 21.419 2.91446e-06 21.8084 2.91446e-06 22.1978C2.91446e-06 22.3926 2.91446e-06 22.3926 2.91446e-06 22.5873C0.191005 22.9767 0.573009 23.1714 0.955013 23.5609C1.71902 23.9503 2.67403 24.145 4.01104 24.3397C4.01104 24.5345 4.20204 24.7292 4.20204 24.9239C4.20204 25.1186 4.39305 25.3133 4.39305 25.7028C4.39305 25.8975 4.77505 26.2869 5.15705 26.2869C5.34805 26.2869 5.53906 26.2869 5.92106 26.0922C6.30307 26.0922 6.87607 25.8975 7.44908 25.8975C7.83108 25.8975 8.21309 25.8975 8.5951 26.0922C9.3591 26.2869 9.93211 26.6764 10.6961 27.2605C11.8421 28.0394 12.9881 29.013 14.8982 29.013H15.0892H15.2802C17.1902 29.013 18.3362 28.0394 19.4822 27.2605C20.2462 26.6764 20.8192 26.2869 21.5832 26.0922C21.9652 26.0922 22.3472 25.8975 22.7293 25.8975C23.3023 25.8975 23.8753 25.8975 24.2573 26.0922C24.6393 26.0922 24.8303 26.0922 25.0213 26.0922C25.4033 26.0922 25.7853 25.8975 25.7853 25.508C25.7853 25.3133 25.9763 25.1186 25.9763 24.7292C25.9763 24.5345 26.1673 24.145 26.1673 24.145C27.5043 23.9503 28.4593 23.7556 29.2233 23.3662C29.7963 23.1714 30.1783 22.782 30.1783 22.3926C30.1783 22.1978 30.1783 22.1978 30.1783 22.0031C30.7513 22.1978 30.5603 21.8084 30.1783 21.8084Z"
156
+ transform="translate(45.104 36.6945) rotate(15)" fill="white"/>
157
+ <path opacity="0.1"
158
+ d="M42.4653 30.6876C36.8212 29.5916 34.1335 23.8377 34.1335 23.5637C33.8647 23.0157 33.8647 22.4677 33.8647 22.1937C34.1335 21.3717 35.4773 21.0977 36.2836 20.8237C36.5524 20.8237 36.8212 20.5497 36.8212 20.5497C37.6275 20.2757 38.165 20.0017 38.4338 19.4537C38.9713 18.9058 38.9713 18.6318 38.9713 18.3578C38.9713 17.5358 38.4338 16.9878 37.6275 16.7138C37.3587 16.7138 37.0899 16.4398 36.8212 16.4398C36.5524 16.4398 36.2836 16.4398 36.0149 16.7138C35.2086 16.9878 34.671 17.2618 34.1335 17.2618C33.8647 17.2618 33.596 17.2618 33.596 17.2618C33.596 16.9878 33.596 16.7138 33.596 16.4398C33.8647 13.4258 34.1335 9.86387 33.0584 7.6719C32.5209 6.30191 31.4458 4.93193 30.3707 3.83595C29.5644 3.01396 28.4894 2.19197 27.1455 1.64398C24.9954 9.79887e-07 23.114 0 22.3077 0C22.0389 0 21.5014 0 21.5014 0C20.4263 0 18.545 0.273995 16.6636 1.09598C15.5885 1.64398 14.5135 2.46597 13.4384 3.28796C12.3633 4.38394 11.557 5.75392 10.7507 7.12391C9.67564 9.31588 9.9444 12.8778 10.2132 15.8918C10.2132 16.1658 10.2132 16.4398 10.2132 16.9878C9.9444 16.9878 9.94441 16.9878 9.40687 16.9878C8.86934 16.9878 8.3318 16.7138 7.5255 16.4398C7.25673 16.4398 6.98796 16.1658 6.71919 16.1658C6.18166 16.1658 5.91289 16.1658 5.37536 16.4398C4.83782 16.7138 4.56905 17.2618 4.56905 17.5358C4.56905 17.8098 4.56905 18.3578 5.10658 19.1797C5.37535 19.4537 5.91289 19.7277 6.71919 20.0017C6.98796 20.0017 6.98795 20.2757 7.25672 20.2757C8.06302 20.5497 9.1381 20.8237 9.67563 21.6457C9.9444 21.9197 9.67564 22.4677 9.40687 23.0157C9.40687 23.2897 8.60056 24.6597 7.25672 26.3037C6.45042 27.1256 5.64412 27.9476 4.56905 28.7696C3.49398 29.5916 2.15014 30.1396 0.806305 30.1396C0.26877 30.1396 4.10107e-06 30.6876 4.10107e-06 31.2356C4.10107e-06 31.5096 4.10107e-06 31.5096 4.10107e-06 31.7836C0.268772 32.3316 0.806307 32.6056 1.34384 33.1536C2.41891 33.7016 3.76275 33.9756 5.64412 34.2495C5.64412 34.5235 5.91288 34.7975 5.91288 35.0715C5.91288 35.3455 6.18166 35.6195 6.18166 36.1675C6.18166 36.4415 6.71919 36.9895 7.25672 36.9895C7.52549 36.9895 7.79426 36.9895 8.3318 36.7155C8.86933 36.7155 9.67563 36.4415 10.4819 36.4415C11.0195 36.4415 11.557 36.4415 12.0945 36.7155C13.1696 36.9895 13.9759 37.5375 15.051 38.3595C16.6636 39.4555 18.2762 40.8255 20.9639 40.8255H21.2327H21.5014C24.1891 40.8255 25.8017 39.4555 27.4143 38.3595C28.4894 37.5375 29.2957 36.9895 30.3707 36.7155C30.9083 36.7155 31.4458 36.4415 31.9834 36.4415C32.7897 36.4415 33.596 36.4415 34.1335 36.7155C34.671 36.7155 34.9398 36.7155 35.2086 36.7155C35.7461 36.7155 36.2836 36.4415 36.2836 35.8935C36.2836 35.6195 36.5524 35.3455 36.5524 34.7975C36.5524 34.5235 36.8212 33.9755 36.8212 33.9755C38.7025 33.7016 40.0464 33.4276 41.1214 32.8796C41.9277 32.6056 42.4653 32.0576 42.4653 31.5096C42.4653 31.2356 42.4653 31.2356 42.4653 30.9616C43.2716 31.2356 43.0028 30.6876 42.4653 30.6876Z"
159
+ transform="translate(1109.55 355.131) rotate(-33.199)" fill="white"/>
160
+ <path opacity="0.1"
161
+ d="M30.1783 21.8084C26.1673 21.0295 24.2573 16.9405 24.2573 16.7457C24.0663 16.3563 24.0663 15.9669 24.0663 15.7722C24.2573 15.188 25.2123 14.9933 25.7853 14.7986C25.9763 14.7986 26.1673 14.6038 26.1673 14.6038C26.7403 14.4091 27.1223 14.2144 27.3133 13.825C27.6953 13.4355 27.6953 13.2408 27.6953 13.0461C27.6953 12.4619 27.3133 12.0725 26.7403 11.8778C26.5493 11.8778 26.3583 11.6831 26.1673 11.6831C25.9763 11.6831 25.7853 11.6831 25.5943 11.8778C25.0213 12.0725 24.6393 12.2672 24.2573 12.2672C24.0663 12.2672 23.8753 12.2672 23.8753 12.2672C23.8753 12.0725 23.8753 11.8778 23.8753 11.6831C24.0663 9.54118 24.2573 7.00984 23.4932 5.4521C23.1112 4.47851 22.3472 3.50492 21.5832 2.72605C21.0102 2.1419 20.2462 1.55774 19.2912 1.16831C17.7632 6.96366e-07 16.4262 0 15.8532 0C15.6622 0 15.2802 0 15.2802 0C14.5162 0 13.1791 0.194717 11.8421 0.778871C11.0781 1.16831 10.3141 1.75246 9.55011 2.33662C8.7861 3.11549 8.21309 4.08908 7.64009 5.06267C6.87608 6.62041 7.06708 9.15174 7.25808 11.2936C7.25808 11.4884 7.25808 11.6831 7.25808 12.0725C7.06708 12.0725 7.06708 12.0725 6.68508 12.0725C6.30307 12.0725 5.92107 11.8778 5.34806 11.6831C5.15706 11.6831 4.96606 11.4884 4.77505 11.4884C4.39305 11.4884 4.20205 11.4884 3.82004 11.6831C3.43804 11.8778 3.24703 12.2672 3.24703 12.4619C3.24703 12.6567 3.24703 13.0461 3.62904 13.6303C3.82004 13.825 4.20205 14.0197 4.77505 14.2144C4.96606 14.2144 4.96605 14.4091 5.15705 14.4091C5.73006 14.6038 6.49407 14.7986 6.87607 15.3827C7.06708 15.5774 6.87608 15.9669 6.68508 16.3563C6.68508 16.551 6.11206 17.5246 5.15705 18.6929C4.58405 19.2771 4.01104 19.8612 3.24703 20.4454C2.48302 21.0295 1.52802 21.419 0.573008 21.419C0.191004 21.419 2.91446e-06 21.8084 2.91446e-06 22.1978C2.91446e-06 22.3926 2.91446e-06 22.3926 2.91446e-06 22.5873C0.191005 22.9767 0.573009 23.1714 0.955013 23.5609C1.71902 23.9503 2.67403 24.145 4.01104 24.3397C4.01104 24.5345 4.20204 24.7292 4.20204 24.9239C4.20204 25.1186 4.39305 25.3133 4.39305 25.7028C4.39305 25.8975 4.77505 26.2869 5.15705 26.2869C5.34805 26.2869 5.53906 26.2869 5.92106 26.0922C6.30307 26.0922 6.87607 25.8975 7.44908 25.8975C7.83108 25.8975 8.21309 25.8975 8.5951 26.0922C9.3591 26.2869 9.93211 26.6764 10.6961 27.2605C11.8421 28.0394 12.9881 29.013 14.8982 29.013H15.0892H15.2802C17.1902 29.013 18.3362 28.0394 19.4822 27.2605C20.2462 26.6764 20.8192 26.2869 21.5832 26.0922C21.9652 26.0922 22.3472 25.8975 22.7293 25.8975C23.3023 25.8975 23.8753 25.8975 24.2573 26.0922C24.6393 26.0922 24.8303 26.0922 25.0213 26.0922C25.4033 26.0922 25.7853 25.8975 25.7853 25.508C25.7853 25.3133 25.9763 25.1186 25.9763 24.7292C25.9763 24.5345 26.1673 24.145 26.1673 24.145C27.5043 23.9503 28.4593 23.7556 29.2233 23.3662C29.7963 23.1714 30.1783 22.782 30.1783 22.3926C30.1783 22.1978 30.1783 22.1978 30.1783 22.0031C30.7513 22.1978 30.5603 21.8084 30.1783 21.8084Z"
162
+ transform="translate(1130.4 743.387) rotate(15)" fill="white"/>
163
+ <g opacity="0.1">
164
+ <path fill-rule="evenodd" clip-rule="evenodd"
165
+ d="M15.5581 1.14523C23.6253 1.14523 30.1558 7.44412 30.1558 15.4608C30.1558 16.4152 30.1558 17.5605 29.5796 18.5149C30.1558 19.4692 30.54 20.8054 30.54 22.1415C30.54 26.7225 26.6985 30.54 22.0887 30.54C20.552 30.54 19.2075 30.1582 18.0551 29.5856C17.0947 29.7765 16.3264 29.7765 15.366 29.7765C7.29886 29.7765 0.768311 23.4776 0.768311 15.4608C0.768311 14.5065 0.960373 13.5521 1.15245 12.5977C0.38414 11.4525 0 9.92551 0 8.3985C0 3.8175 3.84151 0 8.45131 0C10.18 0 11.7166 0.572632 13.0611 1.33612C13.8294 1.14526 14.7898 1.14523 15.5581 1.14523ZM19.9758 24.6229C21.3204 24.0502 22.2807 23.2867 23.0491 22.3324C23.8174 21.378 24.0094 20.2327 23.6253 19.0875C23.6253 18.1331 23.4332 17.3696 23.0491 16.6061C22.6649 15.8426 22.0887 15.27 21.3204 14.8882C20.5521 14.5065 19.7838 14.1248 18.8234 13.743C18.4158 13.662 17.9736 13.5466 17.5115 13.426C16.8848 13.2625 16.2214 13.0894 15.5581 12.9795C15.0163 12.7641 14.5356 12.6703 14.1505 12.5951C13.8531 12.537 13.6127 12.4901 13.4453 12.4069C13.0611 12.4069 12.677 12.216 12.2928 12.0251C11.9087 11.8343 11.5245 11.6434 11.3325 11.4525C10.9483 11.2616 10.9483 11.0707 10.9483 10.689C10.9483 10.1164 11.3325 9.73462 11.9087 9.35287C12.4849 8.97113 13.4453 8.78024 14.4057 8.78024C15.5581 8.78024 16.3264 8.97113 16.9026 9.35287C17.4789 9.73462 17.863 10.1164 18.2472 10.8799C18.6313 11.4525 19.0155 11.8343 19.2076 12.0251C19.5917 12.216 19.9758 12.4069 20.5521 12.4069C21.1283 12.4069 21.7045 12.216 22.0887 11.8343C22.4728 11.4525 22.6649 11.0707 22.6649 10.4981C22.6649 9.92551 22.6649 9.35287 22.2807 8.78024C22.1389 8.3573 21.7874 8.03845 21.3812 7.66992C21.2374 7.53955 21.0868 7.40292 20.9362 7.25327C20.1679 6.87149 19.3996 6.48975 18.4392 6.108C17.4789 5.91714 16.3264 5.72626 14.9819 5.72626C13.4453 5.72626 11.9087 5.91714 10.7562 6.29889C9.41171 6.68063 8.45132 7.44412 7.87511 8.20764C7.29887 8.97113 6.91473 9.92551 6.91473 11.0707C6.91473 12.216 7.29887 13.1704 7.87511 13.9339C8.45132 14.6974 9.41171 15.27 10.3721 15.6517C11.3325 16.0335 12.677 16.4153 14.2136 16.797C15.366 16.9879 16.3264 17.1787 16.9026 17.3696C17.4789 17.5605 18.0551 17.7514 18.4392 18.1331C18.8234 18.5149 19.0155 18.8966 19.0155 19.4692C19.0155 20.0419 18.6313 20.6145 17.863 21.1871C17.0947 21.7597 16.1344 21.9506 14.9819 21.9506C14.2136 21.9506 13.4453 21.7597 12.8691 21.5689C12.4849 21.378 12.1008 20.9962 11.7166 20.6145C11.6584 20.4989 11.5827 20.3658 11.4999 20.2205C11.3095 19.8859 11.0822 19.4867 10.9483 19.0875C10.9113 19.014 10.8743 18.9333 10.8359 18.8498C10.6751 18.4993 10.4902 18.0963 10.18 17.9423C9.79587 17.7514 9.41171 17.5605 8.83548 17.5605C8.25926 17.5605 7.68304 17.7514 7.29889 18.1331C6.91473 18.5149 6.72266 18.8966 6.72266 19.4692C6.72266 20.4236 7.10681 21.1871 7.68303 22.1415C8.45134 23.0959 9.21964 23.6685 10.18 24.2411C11.5245 25.0046 13.2532 25.3864 15.366 25.3864C17.0947 25.3864 18.6313 25.1955 19.9758 24.6229Z"
166
+ transform="translate(198 -0.271942) rotate(30)" fill="white"/>
167
+ </g>
168
+
169
+
170
+ </g>
171
+ <defs>
172
+ <filter id="filter0_f" x="123.892" y="1238.2" width="952.215" height="80.0585" filterUnits="userSpaceOnUse"
173
+ color-interpolation-filters="sRGB">
174
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
175
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
176
+ <feGaussianBlur stdDeviation="9.5" result="effect1_foregroundBlur"/>
177
+ </filter>
178
+ <filter id="filter1_d" x="65" y="20" width="1070" height="1316" filterUnits="userSpaceOnUse"
179
+ color-interpolation-filters="sRGB">
180
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
181
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
182
+ <feOffset dy="4"/>
183
+ <feGaussianBlur stdDeviation="27"/>
184
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
185
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
186
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
187
+ </filter>
188
+ <filter id="filter2_d" x="232.892" y="320.381" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
189
+ color-interpolation-filters="sRGB">
190
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
191
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
192
+ <feOffset dy="4"/>
193
+ <feGaussianBlur stdDeviation="7"/>
194
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
195
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
196
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
197
+ </filter>
198
+ <filter id="filter3_d" x="263" y="751" width="21" height="21" filterUnits="userSpaceOnUse"
199
+ color-interpolation-filters="sRGB">
200
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
201
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
202
+ <feOffset dy="1"/>
203
+ <feGaussianBlur stdDeviation="1.5"/>
204
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
205
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
206
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
207
+ </filter>
208
+ <filter id="filter4_d" x="368.112" y="751" width="21" height="21" filterUnits="userSpaceOnUse"
209
+ color-interpolation-filters="sRGB">
210
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
211
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
212
+ <feOffset dy="1"/>
213
+ <feGaussianBlur stdDeviation="1.5"/>
214
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
215
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
216
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
217
+ </filter>
218
+ <filter id="filter5_d" x="232.892" y="410.203" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
219
+ color-interpolation-filters="sRGB">
220
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
221
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
222
+ <feOffset dy="4"/>
223
+ <feGaussianBlur stdDeviation="7"/>
224
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
225
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
226
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
227
+ </filter>
228
+ <filter id="filter6_d" x="252" y="895.778" width="411.711" height="62.2579" filterUnits="userSpaceOnUse"
229
+ color-interpolation-filters="sRGB">
230
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
231
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
232
+ <feOffset dy="4"/>
233
+ <feGaussianBlur stdDeviation="7"/>
234
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
235
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
236
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
237
+ </filter>
238
+ <filter id="filter7_d" x="282.541" y="1106.97" width="100.096" height="62.2579" filterUnits="userSpaceOnUse"
239
+ color-interpolation-filters="sRGB">
240
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
241
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
242
+ <feOffset dy="4"/>
243
+ <feGaussianBlur stdDeviation="7"/>
244
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
245
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
246
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
247
+ </filter>
248
+ <filter id="filter8_d" x="259" y="797" width="118" height="37" filterUnits="userSpaceOnUse"
249
+ color-interpolation-filters="sRGB">
250
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
251
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
252
+ <feOffset dy="1"/>
253
+ <feGaussianBlur stdDeviation="3.5"/>
254
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
255
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
256
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
257
+ </filter>
258
+ <filter id="filter9_d" x="503.619" y="398.822" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
259
+ color-interpolation-filters="sRGB">
260
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
261
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
262
+ <feOffset dy="4"/>
263
+ <feGaussianBlur stdDeviation="7"/>
264
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
265
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
266
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
267
+ </filter>
268
+ <filter id="filter10_d" x="252" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
269
+ color-interpolation-filters="sRGB">
270
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
271
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
272
+ <feOffset dy="4"/>
273
+ <feGaussianBlur stdDeviation="7"/>
274
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
275
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
276
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
277
+ </filter>
278
+ <filter id="filter11_d" x="322" y="1108.41" width="58.7628" height="58.7628" filterUnits="userSpaceOnUse"
279
+ color-interpolation-filters="sRGB">
280
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
281
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
282
+ <feOffset dy="4"/>
283
+ <feGaussianBlur stdDeviation="7"/>
284
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
285
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
286
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
287
+ </filter>
288
+ <filter id="filter12_d" x="503.619" y="309" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
289
+ color-interpolation-filters="sRGB">
290
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
291
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
292
+ <feOffset dy="4"/>
293
+ <feGaussianBlur stdDeviation="7"/>
294
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
295
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
296
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
297
+ </filter>
298
+ <filter id="filter13_d" x="232.892" y="499.838" width="310.108" height="69.2021" filterUnits="userSpaceOnUse"
299
+ color-interpolation-filters="sRGB">
300
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
301
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
302
+ <feOffset dy="4"/>
303
+ <feGaussianBlur stdDeviation="7"/>
304
+ <feColorMatrix type="matrix" values="0 0 0 0 0.700873 0 0 0 0 0.700873 0 0 0 0 0.700873 0 0 0 0.15 0"/>
305
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
306
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
307
+ </filter>
308
+ <filter id="filter14_d" x="503.619" y="488.456" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
309
+ color-interpolation-filters="sRGB">
310
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
311
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
312
+ <feOffset dy="4"/>
313
+ <feGaussianBlur stdDeviation="7"/>
314
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
315
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
316
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
317
+ </filter>
318
+ <filter id="filter15_d" x="263" y="966.24" width="21" height="21" filterUnits="userSpaceOnUse"
319
+ color-interpolation-filters="sRGB">
320
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
321
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
322
+ <feOffset dy="1"/>
323
+ <feGaussianBlur stdDeviation="1.5"/>
324
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
325
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
326
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
327
+ </filter>
328
+ <filter id="filter16_d" x="414.859" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
329
+ color-interpolation-filters="sRGB">
330
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
331
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
332
+ <feOffset dy="4"/>
333
+ <feGaussianBlur stdDeviation="7"/>
334
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
335
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
336
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
337
+ </filter>
338
+ <filter id="filter17_d" x="329" y="846.739" width="50.7628" height="50.7628" filterUnits="userSpaceOnUse"
339
+ color-interpolation-filters="sRGB">
340
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
341
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
342
+ <feOffset dy="4"/>
343
+ <feGaussianBlur stdDeviation="7"/>
344
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
345
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
346
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
347
+ </filter>
348
+ <filter id="filter18_f" x="461.54" y="1204.83" width="276.102" height="68.8126" filterUnits="userSpaceOnUse"
349
+ color-interpolation-filters="sRGB">
350
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
351
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
352
+ <feGaussianBlur stdDeviation="9.5" result="effect1_foregroundBlur"/>
353
+ </filter>
354
+ <filter id="filter19_d" x="649" y="303" width="407" height="264" filterUnits="userSpaceOnUse"
355
+ color-interpolation-filters="sRGB">
356
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
357
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
358
+ <feOffset dy="4"/>
359
+ <feGaussianBlur stdDeviation="17.5"/>
360
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
361
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
362
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
363
+ </filter>
364
+ <filter id="filter20_d" x="649" y="303" width="407" height="84.9871" filterUnits="userSpaceOnUse"
365
+ color-interpolation-filters="sRGB">
366
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
367
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
368
+ <feOffset dy="4"/>
369
+ <feGaussianBlur stdDeviation="17.5"/>
370
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
371
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
372
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
373
+ </filter>
374
+ <filter id="filter21_d" x="658.205" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
375
+ color-interpolation-filters="sRGB">
376
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
377
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
378
+ <feOffset dy="4"/>
379
+ <feGaussianBlur stdDeviation="17.5"/>
380
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
381
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
382
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
383
+ </filter>
384
+ <filter id="filter22_d" x="672.573" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
385
+ color-interpolation-filters="sRGB">
386
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
387
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
388
+ <feOffset dy="4"/>
389
+ <feGaussianBlur stdDeviation="17.5"/>
390
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
391
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
392
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
393
+ </filter>
394
+ <filter id="filter23_d" x="687.283" y="307.614" width="76.1174" height="76.121" filterUnits="userSpaceOnUse"
395
+ color-interpolation-filters="sRGB">
396
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
397
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
398
+ <feOffset dy="4"/>
399
+ <feGaussianBlur stdDeviation="17.5"/>
400
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"/>
401
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
402
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
403
+ </filter>
404
+ <filter id="filter24_d" x="997.649" y="327.514" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
405
+ color-interpolation-filters="sRGB">
406
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
407
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
408
+ <feOffset dy="4"/>
409
+ <feGaussianBlur stdDeviation="7.5"/>
410
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
411
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
412
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
413
+ </filter>
414
+ <filter id="filter25_d" x="997.649" y="330.198" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
415
+ color-interpolation-filters="sRGB">
416
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
417
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
418
+ <feOffset dy="4"/>
419
+ <feGaussianBlur stdDeviation="7.5"/>
420
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
421
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
422
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
423
+ </filter>
424
+ <filter id="filter26_d" x="997.649" y="332.882" width="31.7105" height="31.491" filterUnits="userSpaceOnUse"
425
+ color-interpolation-filters="sRGB">
426
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
427
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
428
+ <feOffset dy="4"/>
429
+ <feGaussianBlur stdDeviation="7.5"/>
430
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
431
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
432
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
433
+ </filter>
434
+ <filter id="filter27_d" x="687" y="490" width="38" height="38" filterUnits="userSpaceOnUse"
435
+ color-interpolation-filters="sRGB">
436
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
437
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
438
+ <feOffset dy="3"/>
439
+ <feGaussianBlur stdDeviation="3"/>
440
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
441
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
442
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
443
+ </filter>
444
+ <filter id="filter28_d" x="718.197" y="490" width="107.803" height="36" filterUnits="userSpaceOnUse"
445
+ color-interpolation-filters="sRGB">
446
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
447
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
448
+ <feOffset dy="1"/>
449
+ <feGaussianBlur stdDeviation="2"/>
450
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
451
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
452
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
453
+ </filter>
454
+ <filter id="filter29_d" x="736.5" y="12.5" width="142" height="45" filterUnits="userSpaceOnUse"
455
+ color-interpolation-filters="sRGB">
456
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
457
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
458
+ <feOffset dy="4"/>
459
+ <feGaussianBlur stdDeviation="2"/>
460
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>
461
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
462
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
463
+ </filter>
464
+ <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse"
465
+ gradientTransform="matrix(1091.43 1312.52 -1186.01 1491.17 604.227 -730.108)">
466
+ <stop stop-color="#6371DB"/>
467
+ <stop offset="1" stop-color="#FF89C4"/>
468
+ </linearGradient>
469
+ <linearGradient id="paint1_linear" x2="1" gradientUnits="userSpaceOnUse"
470
+ gradientTransform="translate(51.2225 -8.66092) scale(80.7879 38.3881) rotate(63.1774)">
471
+ <stop stop-color="#6371DB"/>
472
+ <stop offset="1" stop-color="#FF89C4"/>
473
+ </linearGradient>
474
+ <linearGradient id="paint2_linear" x2="1" gradientUnits="userSpaceOnUse"
475
+ gradientTransform="translate(16.1725 -5.75478) scale(25.5071) rotate(63.1774)">
476
+ <stop stop-color="#6371DB"/>
477
+ <stop offset="1" stop-color="#FF89C4"/>
478
+ </linearGradient>
479
+ <linearGradient id="paint3_linear" x2="1" gradientUnits="userSpaceOnUse"
480
+ gradientTransform="translate(16.1725 -5.75478) scale(25.5071) rotate(63.1774)">
481
+ <stop stop-color="#6371DB"/>
482
+ <stop offset="1" stop-color="#FF89C4"/>
483
+ </linearGradient>
484
+ <linearGradient id="paint4_linear" x2="1" gradientUnits="userSpaceOnUse"
485
+ gradientTransform="translate(7.66235 -2.21336) scale(12.085 9.81037) rotate(63.1774)">
486
+ <stop stop-color="#6371DB"/>
487
+ <stop offset="1" stop-color="#FF89C4"/>
488
+ </linearGradient>
489
+ <linearGradient id="paint5_linear" x2="1" gradientUnits="userSpaceOnUse"
490
+ gradientTransform="translate(9.1143 -3.24321) scale(14.375) rotate(63.1774)">
491
+ <stop stop-color="#6371DB"/>
492
+ <stop offset="1" stop-color="#FF89C4"/>
493
+ </linearGradient>
494
+ <linearGradient id="paint6_linear" x2="1" gradientUnits="userSpaceOnUse"
495
+ gradientTransform="translate(169.166 -7.78989) scale(266.808 34.5274) rotate(63.1774)">
496
+ <stop stop-color="#6371DB"/>
497
+ <stop offset="1" stop-color="#FF89C4"/>
498
+ </linearGradient>
499
+ <linearGradient id="paint7_linear" x2="1" gradientUnits="userSpaceOnUse"
500
+ gradientTransform="matrix(196.326 26.5802 -205.396 511.661 124.27 -253.384)">
501
+ <stop stop-color="#FF6624"/>
502
+ <stop offset="1" stop-color="#FF6376"/>
503
+ </linearGradient>
504
+ <linearGradient id="paint8_linear" x2="1" gradientUnits="userSpaceOnUse"
505
+ gradientTransform="matrix(225.251 42.4755 -235.658 817.64 142.578 -404.911)">
506
+ <stop stop-color="#FF6624"/>
507
+ <stop offset="1" stop-color="#FF6376"/>
508
+ </linearGradient>
509
+ <linearGradient id="paint9_linear" x2="1" gradientUnits="userSpaceOnUse"
510
+ gradientTransform="matrix(202.014 43.1321 -211.347 830.279 127.87 -411.17)">
511
+ <stop stop-color="#FF6624"/>
512
+ <stop offset="1" stop-color="#FF6376"/>
513
+ </linearGradient>
514
+ <linearGradient id="paint10_linear" x2="1" gradientUnits="userSpaceOnUse"
515
+ gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
516
+ <stop stop-color="#6371DB"/>
517
+ <stop offset="1" stop-color="#FF89C4"/>
518
+ </linearGradient>
519
+ <linearGradient id="paint11_linear" x2="1" gradientUnits="userSpaceOnUse"
520
+ gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
521
+ <stop stop-color="#6371DB"/>
522
+ <stop offset="1" stop-color="#FF89C4"/>
523
+ </linearGradient>
524
+ <linearGradient id="paint12_linear" x2="1" gradientUnits="userSpaceOnUse"
525
+ gradientTransform="translate(4.34627 -1.54749) scale(6.85491 6.85901) rotate(63.1774)">
526
+ <stop stop-color="#6371DB"/>
527
+ <stop offset="1" stop-color="#FF89C4"/>
528
+ </linearGradient>
529
+ <clipPath id="clip0">
530
+ <rect width="1200" height="1328" fill="white"/>
531
+ </clipPath>
532
+ </defs>
533
+ </svg>
assets/images/icon-check-purple.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(2 2)" stroke="#A886CD" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
assets/images/icon-check-white.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(2 2)" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
assets/images/icon-check.svg ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 4.33036L3.6206 8.75486L10.7848 0" transform="translate(1.92804 1.91522)" stroke="url(#paint0_linear)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(7.66235 -2.21336) scale(12.085 9.81037) rotate(63.1774)">
5
+ <stop stop-color="#6371DB"/>
6
+ <stop offset="1" stop-color="#FF89C4"/>
7
+ </linearGradient>
8
+ </defs>
9
+ </svg>
assets/images/logo.svg ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <svg width="116" height="56" viewBox="0 0 116 56" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.604 47.18C6.252 47.18 4.416 46.52 3.096 45.2C1.8 43.856 1.152 42.092 1.152 39.908C1.152 37.964 1.536 36.26 2.304 34.796C3.072 33.332 4.068 32.204 5.292 31.412C6.516 30.62 7.8 30.224 9.144 30.224C10.464 30.224 11.484 30.62 12.204 31.412C12.948 32.18 13.32 33.176 13.32 34.4C13.32 35.408 13.092 36.26 12.636 36.956C12.204 37.652 11.628 38 10.908 38C10.452 38 10.08 37.892 9.792 37.676C9.528 37.46 9.396 37.16 9.396 36.776C9.396 36.608 9.42 36.416 9.468 36.2C9.516 35.984 9.552 35.828 9.576 35.732C9.696 35.372 9.756 35.036 9.756 34.724C9.756 34.412 9.672 34.172 9.504 34.004C9.36 33.836 9.144 33.752 8.856 33.752C8.304 33.752 7.788 34.004 7.308 34.508C6.828 34.988 6.444 35.648 6.156 36.488C5.868 37.328 5.724 38.252 5.724 39.26C5.724 42.044 6.936 43.436 9.36 43.436C10.344 43.436 11.4 43.112 12.528 42.464C13.68 41.792 14.808 40.796 15.912 39.476C16.2 39.14 16.524 38.972 16.884 38.972C17.196 38.972 17.436 39.116 17.604 39.404C17.796 39.692 17.892 40.088 17.892 40.592C17.892 41.504 17.664 42.248 17.208 42.824C16.08 44.216 14.724 45.296 13.14 46.064C11.58 46.808 10.068 47.18 8.604 47.18ZM34.9619 38.972C35.2739 38.972 35.5139 39.116 35.6819 39.404C35.8739 39.692 35.9699 40.088 35.9699 40.592C35.9699 41.552 35.7419 42.296 35.2859 42.824C34.1819 44.096 33.0419 45.14 31.8659 45.956C30.7139 46.772 29.3939 47.18 27.9059 47.18C26.6819 47.18 25.7579 46.832 25.1339 46.136C24.5099 45.416 24.1979 44.384 24.1979 43.04C24.1979 42.368 24.3659 41.168 24.7019 39.44C25.0139 37.928 25.1699 36.884 25.1699 36.308C25.1699 35.924 25.0379 35.732 24.7739 35.732C24.4619 35.732 24.0179 36.14 23.4419 36.956C22.8659 37.748 22.2899 38.804 21.7139 40.124C21.1379 41.444 20.6699 42.836 20.3099 44.3C19.8539 46.22 18.7259 47.18 16.9259 47.18C16.2059 47.18 15.7259 46.928 15.4859 46.424C15.2699 45.896 15.1619 44.96 15.1619 43.616C15.1619 42.848 15.1739 42.236 15.1979 41.78L15.2339 38.9C15.2339 35.204 15.6059 31.352 16.3499 27.344C17.1179 23.336 18.2339 19.976 19.6979 17.264C21.1859 14.528 22.9619 13.16 25.0259 13.16C26.1299 13.16 27.0179 13.64 27.6899 14.6C28.3859 15.536 28.7339 16.76 28.7339 18.272C28.7339 20.696 28.0259 23.216 26.6099 25.832C25.1939 28.424 22.8899 31.46 19.6979 34.94C19.6259 36.188 19.5899 37.472 19.5899 38.792C20.3819 36.752 21.2579 35.096 22.2179 33.824C23.2019 32.528 24.1619 31.604 25.0979 31.052C26.0579 30.5 26.9339 30.224 27.7259 30.224C29.2859 30.224 30.0659 31.004 30.0659 32.564C30.0659 33.5 29.8019 35.192 29.2739 37.64C28.8179 39.728 28.5899 41.108 28.5899 41.78C28.5899 42.74 28.9379 43.22 29.6339 43.22C30.1139 43.22 30.6779 42.932 31.3259 42.356C31.9979 41.756 32.8859 40.796 33.9899 39.476C34.2779 39.14 34.6019 38.972 34.9619 38.972ZM24.2699 16.724C23.8379 16.724 23.3579 17.348 22.8299 18.596C22.3019 19.82 21.7859 21.488 21.2819 23.6C20.8019 25.688 20.4059 27.968 20.0939 30.44C21.5819 28.688 22.8059 26.78 23.7659 24.716C24.7499 22.652 25.2419 20.78 25.2419 19.1C25.2419 18.332 25.1579 17.744 24.9899 17.336C24.8219 16.928 24.5819 16.724 24.2699 16.724ZM37.4802 47.18C35.9922 47.18 34.8042 46.64 33.9162 45.56C33.0282 44.48 32.5842 43.064 32.5842 41.312C32.5842 39.392 33.0282 37.58 33.9162 35.876C34.8042 34.148 35.9802 32.768 37.4442 31.736C38.9322 30.68 40.5042 30.152 42.1602 30.152C42.6882 30.152 43.0362 30.26 43.2042 30.476C43.3962 30.668 43.5522 31.028 43.6722 31.556C44.1762 31.46 44.7042 31.412 45.2562 31.412C46.4322 31.412 47.0202 31.832 47.0202 32.672C47.0202 33.176 46.8402 34.376 46.4802 36.272C45.9282 39.032 45.6522 40.952 45.6522 42.032C45.6522 42.392 45.7362 42.68 45.9042 42.896C46.0962 43.112 46.3362 43.22 46.6242 43.22C47.0802 43.22 47.6322 42.932 48.2802 42.356C48.9282 41.756 49.8042 40.796 50.9082 39.476C51.1962 39.14 51.5202 38.972 51.8802 38.972C52.1922 38.972 52.4322 39.116 52.6002 39.404C52.7922 39.692 52.8882 40.088 52.8882 40.592C52.8882 41.552 52.6602 42.296 52.2042 42.824C51.2202 44.048 50.1762 45.08 49.0722 45.92C47.9682 46.76 46.9002 47.18 45.8682 47.18C45.0762 47.18 44.3442 46.916 43.6722 46.388C43.0242 45.836 42.5322 45.092 42.1962 44.156C40.9482 46.172 39.3762 47.18 37.4802 47.18ZM38.7762 43.544C39.3042 43.544 39.8082 43.232 40.2882 42.608C40.7682 41.984 41.1162 41.156 41.3322 40.124L42.6642 33.5C41.6562 33.524 40.7202 33.908 39.8562 34.652C39.0162 35.372 38.3442 36.332 37.8402 37.532C37.3362 38.732 37.0842 40.004 37.0842 41.348C37.0842 42.092 37.2282 42.644 37.5162 43.004C37.8282 43.364 38.2482 43.544 38.7762 43.544ZM66.0184 38.972C66.3304 38.972 66.5704 39.116 66.7384 39.404C66.9304 39.692 67.0264 40.088 67.0264 40.592C67.0264 41.552 66.7984 42.296 66.3424 42.824C65.3104 44.096 64.1824 45.14 62.9584 45.956C61.7344 46.772 60.3304 47.18 58.7464 47.18C53.8504 47.18 51.4024 43.736 51.4024 36.848C51.4024 35.792 51.4384 34.724 51.5104 33.644H50.1064C49.3864 33.644 48.8944 33.512 48.6304 33.248C48.3904 32.984 48.2704 32.564 48.2704 31.988C48.2704 30.644 48.8104 29.972 49.8904 29.972H51.9424C52.3504 27.332 52.9744 24.92 53.8144 22.736C54.6544 20.552 55.6624 18.812 56.8384 17.516C58.0384 16.22 59.3224 15.572 60.6904 15.572C61.6984 15.572 62.4904 16.016 63.0664 16.904C63.6424 17.792 63.9304 18.908 63.9304 20.252C63.9304 23.972 62.3704 27.212 59.2504 29.972H63.2824C63.6664 29.972 63.9424 30.056 64.1104 30.224C64.2784 30.392 64.3624 30.704 64.3624 31.16C64.3624 32.816 63.0064 33.644 60.2944 33.644H55.9024C55.8544 34.844 55.8304 35.78 55.8304 36.452C55.8304 38.948 56.1184 40.7 56.6944 41.708C57.2944 42.716 58.2304 43.22 59.5024 43.22C60.5344 43.22 61.4464 42.908 62.2384 42.284C63.0304 41.66 63.9664 40.724 65.0464 39.476C65.3344 39.14 65.6584 38.972 66.0184 38.972ZM59.7184 19.028C59.3584 19.028 58.9504 19.484 58.4944 20.396C58.0624 21.284 57.6424 22.532 57.2344 24.14C56.8504 25.724 56.5264 27.488 56.2624 29.432C57.6784 28.208 58.7344 26.84 59.4304 25.328C60.1504 23.792 60.5104 22.4 60.5104 21.152C60.5104 19.736 60.2464 19.028 59.7184 19.028ZM76.6952 30.224C77.2472 30.224 77.6312 30.296 77.8472 30.44C78.0632 30.584 78.1712 30.824 78.1712 31.16C78.1712 31.736 77.8592 33.788 77.2352 37.316C76.6832 40.7 76.3592 42.704 76.2632 43.328C75.3752 49.496 74.1512 54.38 72.5912 57.98C71.0312 61.58 68.9552 63.38 66.3632 63.38C65.1392 63.38 64.1432 62.996 63.3752 62.228C62.6072 61.484 62.2232 60.5 62.2232 59.276C62.2232 58.148 62.4752 56.996 62.9792 55.82C63.5072 54.644 64.4672 53.288 65.8592 51.752C67.2752 50.24 69.2672 48.5 71.8352 46.532L71.9432 45.704C72.1112 44.816 72.3032 43.544 72.5192 41.888C72.0392 43.616 71.3672 44.936 70.5032 45.848C69.6392 46.736 68.7272 47.18 67.7672 47.18C66.6872 47.18 65.7992 46.688 65.1032 45.704C64.4312 44.696 64.0952 43.448 64.0952 41.96C64.0952 40.16 64.2152 38.516 64.4552 37.028C64.6952 35.516 65.0912 33.92 65.6432 32.24C65.8832 31.52 66.2192 31.004 66.6512 30.692C67.0832 30.38 67.7672 30.224 68.7032 30.224C69.2312 30.224 69.5912 30.308 69.7832 30.476C69.9992 30.644 70.1072 30.896 70.1072 31.232C70.1072 31.424 69.9752 32.072 69.7112 33.176C69.4712 34.064 69.2792 34.868 69.1352 35.588C68.9432 36.572 68.7752 37.52 68.6312 38.432C68.4872 39.32 68.4152 40.052 68.4152 40.628C68.4152 41.54 68.6672 41.996 69.1712 41.996C69.5312 41.996 69.9752 41.636 70.5032 40.916C71.0552 40.196 71.6312 39.104 72.2312 37.64C72.8552 36.176 73.4552 34.376 74.0312 32.24C74.2232 31.52 74.5112 31.004 74.8952 30.692C75.3032 30.38 75.9032 30.224 76.6952 30.224ZM66.7592 59.888C67.3592 59.888 68.0312 59.192 68.7752 57.8C69.5192 56.408 70.2632 54.092 71.0072 50.852C69.1592 52.412 67.8152 53.828 66.9752 55.1C66.1592 56.396 65.7512 57.524 65.7512 58.484C65.7512 58.892 65.8232 59.228 65.9672 59.492C66.1352 59.756 66.3992 59.888 66.7592 59.888Z" transform="translate(37 -8)" fill="white"/>
3
+ <path d="M20.625 0H3.75C1.6875 0 0 1.6875 0 3.75V15C0 17.0625 1.6875 18.75 3.75 18.75H17.4375L22.875 24.1875C23.0625 24.375 23.25 24.375 23.625 24.375C23.8125 24.375 23.8125 24.375 24 24.375C24.375 24.1875 24.5625 23.8125 24.5625 23.4375V3.75C24.375 1.6875 22.6875 0 20.625 0Z" transform="translate(0 23.625)" fill="white"/>
4
+ <path d="M20.625 0H3.75C1.6875 0 0 1.6875 0 3.75H15C18.1875 3.75 20.625 6.1875 20.625 9.375V21.9375L22.6875 24C22.875 24.1875 23.0625 24.1875 23.4375 24.1875C23.625 24.1875 23.625 24.1875 23.8125 24.1875C24.1875 24 24.375 23.625 24.375 23.25V3.75C24.375 1.6875 22.6875 0 20.625 0Z" transform="translate(5.625 18)" fill="white"/>
5
+ </svg>
assets/images/rocket.svg ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <svg width="53" height="39" viewBox="0 0 53 39" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.28113 11.0869L3.56199 12.3992C3.5038 12.4122 3.45855 12.4445 3.41977 12.4897L0.0646459 16.5236C0.0193938 16.5754 0 16.64 0 16.7046C0 16.7305 0.00646537 16.7628 0.01293 16.7887C0.0387883 16.8792 0.116363 16.9503 0.206868 16.9826L4.97127 18.366C4.93248 19.3745 5.15874 20.2666 5.66298 21.0036L4.15673 22.8395C4.05976 22.9559 4.07269 23.124 4.18259 23.2274L5.61773 24.5914C5.67591 24.6432 5.74701 24.6755 5.82459 24.669C5.90216 24.669 5.97328 24.6302 6.02499 24.5785L7.69286 22.762C8.11952 22.9171 9.17325 23.1951 10.7765 22.8977L12.4831 27.5716C12.5154 27.6621 12.593 27.7332 12.69 27.7526C12.787 27.772 12.8839 27.7462 12.955 27.6815L16.7562 24.0613C16.8015 24.0161 16.8273 23.9644 16.8402 23.9062L17.6936 19.1418C18.7279 18.2432 19.7816 17.2024 20.816 16.0388C26.7634 9.34795 27.649 4.11163 27.649 1.59044C27.649 0.762977 27.5456 0.303992 27.5456 0.284598C27.5197 0.168236 27.4292 0.0841959 27.3129 0.0648022C27.0155 0.0130855 19.9562 -1.07297 10.77 8.11321C10.7571 8.12614 9.56112 9.35441 8.28113 11.0869ZM13.414 11.52C13.414 9.92329 14.7069 8.62391 16.3101 8.62391C17.9069 8.62391 19.2063 9.91683 19.2063 11.52C19.2063 13.1233 17.9134 14.4162 16.3101 14.4162C14.7134 14.4097 13.414 13.1168 13.414 11.52Z" transform="translate(24.5464 0.646851)" fill="white" fill-opacity="0.47"/>
3
+ <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150302C34.0377 -0.0501002 34.3674 -0.0501002 34.5678 0.150302L34.9298 0.512319C35.1366 0.712721 35.1366 1.04241 34.9298 1.24282Z" transform="translate(-6.27826 25.101)" fill="white" fill-opacity="0.47"/>
4
+ <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150301C34.0377 -0.0501009 34.3674 -0.0501009 34.5678 0.150301L34.9298 0.512318C35.1366 0.712721 35.1366 1.04241 34.9298 1.24282Z" transform="translate(-6.76309 29.387)" fill="white" fill-opacity="0.47"/>
5
+ <path d="M34.9298 1.24282L1.24282 34.9298C1.04241 35.1302 0.712721 35.1302 0.512318 34.9298L0.150302 34.5678C-0.0501005 34.3674 -0.0501005 34.0377 0.150302 33.8373L33.8373 0.150301C34.0377 -0.0501009 34.3674 -0.0501009 34.5678 0.150301L34.9298 0.512318C35.1302 0.712721 35.1302 1.04241 34.9298 1.24282Z" transform="translate(-10.9392 25.7668)" fill="white" fill-opacity="0.47"/>
6
+ </svg>
assets/js/cht-scripts-front.js ADDED
File without changes
assets/js/cht-scripts-front.min.js ADDED
File without changes
assets/js/cht-scripts-heart.js ADDED
@@ -0,0 +1,678 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ // fuction plugin
4
+
5
+
6
+ (function($) {
7
+
8
+ var settings = JSON.parse(document.currentScript.getAttribute('settings'));
9
+ console.log(settings);
10
+ function getCookie(cname) {
11
+ var name = cname + "=";
12
+ var ca = document.cookie.split(';');
13
+ for(var i=0; i<ca.length; i++) {
14
+ var c = ca[i];
15
+ while (c.charAt(0)==' ') c = c.substring(1);
16
+ if(c.indexOf(name) == 0)
17
+ return c.substring(name.length,c.length);
18
+ }
19
+ return "";
20
+ }
21
+
22
+ function check_token(){
23
+ $.ajax({
24
+ type: 'GET',
25
+ url: 'https://go.chaty.app/api/is-pro-account',
26
+ data: {
27
+ token: settings.object_settings.token,
28
+ domain: settings.object_settings.domain
29
+ },
30
+ dataType: 'json',
31
+ // encode: true,
32
+
33
+ success: function (response) {
34
+
35
+ $('body').addClass('pro_w')
36
+
37
+
38
+ },
39
+ error: function (xhr, status, error) {
40
+
41
+ }
42
+
43
+ });
44
+ }
45
+ // cookie
46
+ var date = new Date();
47
+ function track_user() {
48
+ setInterval(function() {
49
+ date.setTime(date.getTime()+(2*500));
50
+ document.cookie = "display_cta=none; expires="+ date.toGMTString() + "; path=/";
51
+ }, 300);
52
+ }
53
+
54
+ var display_cta = getCookie("display_cta");
55
+
56
+ if(display_cta!=''){
57
+ track_user();
58
+ }
59
+
60
+
61
+ token = settings.object_settings.token ;
62
+
63
+ function i(settings){
64
+
65
+
66
+ var text = "";
67
+ var counter = 0;
68
+ $.each( settings.object_settings.social, function( key, value ) {
69
+ // console.log( key + ": " + value );
70
+ counter++;
71
+
72
+ if(token=="" && counter=='3' ){
73
+ return false;
74
+ }
75
+ if( key == 'facebook_messenger'){
76
+
77
+ text+='<div class="chaty-widget-i facebook" data-title="'+settings.object_settings.social.facebook_messenger+'">';
78
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
79
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
80
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>';
81
+ text+='</svg>';
82
+ text+='<div class="chaty-widget-i-title face_title" style="display: none;">';
83
+ text+='<div class="facebook_header">'
84
+ text+='<svg width="15" height="15" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
85
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
86
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>';
87
+ text+='</svg>';
88
+ text+='<p>Facebook Messeger</p>';
89
+ text+=' <svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve">';
90
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>';
91
+ text+='<path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"/>';
92
+ text+='</svg>';
93
+ text+=' </div>';
94
+ text+='<div class="fb-page" data-href="'+settings.object_settings.social.facebook_messenger+'" data-tabs="messages" data-width="250" data-height="400" data-small-header="false" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="false"><blockquote cite="'+settings.object_settings.social.facebook_messenger+'" class="fb-xfbml-parse-ignore"><a href="'+settings.object_settings.social.facebook_messenger+'">Facebook</a></blockquote></div>';
95
+ text+='</div>';
96
+
97
+ text+='<div class="chaty-widget-i-title facebook_two_mess">';
98
+ text+='<p style="margin: 7px!important;">Facebook Messenger</p>';
99
+ text+='</div>';
100
+ text+='</div>';
101
+
102
+ }
103
+ if(key == 'google_maps'){
104
+
105
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.google_maps+'">';
106
+ text+='<a href="'+settings.object_settings.social.google_maps+'" target="_blank">'
107
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
108
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#37AA66"/>';
109
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>';
110
+ text+='</svg>';
111
+ text+='</a>';
112
+ text+='<div class="chaty-widget-i-title">';
113
+ text+='<p>Google Maps</p>';
114
+ text+='</div>';
115
+ text+='</div>';
116
+
117
+
118
+ }
119
+ if(key == 'link'){
120
+
121
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.link+'">';
122
+ text+='<a href="'+settings.object_settings.social.link+'" target="_blank">'
123
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
124
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF7539"/>';
125
+ text+='<mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"> <rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/> </mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/><mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>';
126
+ text+='</svg>';
127
+ text+='</a>';
128
+ text+='<div class="chaty-widget-i-title">';
129
+ text+='<p>Link<p>';
130
+ text+='</div>';
131
+ text+='</div>';
132
+
133
+ }
134
+
135
+ if(key == 'email'){
136
+
137
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.email+'">';
138
+ text+='<a href="mailto:'+settings.object_settings.social.email+'">'
139
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
140
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF485F"/>';
141
+ text+=' <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/> <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/> <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/> <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>'
142
+ text+='</svg>';
143
+ text+='</a>';
144
+ text+='<div class="chaty-widget-i-title">';
145
+ text+='<p>Email</p>';
146
+ text+='</div>';
147
+ text+='</div>';
148
+
149
+ }
150
+ if(key == 'poptin'){
151
+
152
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.poptin+'">';
153
+ text+='<a href="'+settings.object_settings.social.poptin+'">'
154
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
155
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#47A2B1"/>';
156
+ text+=' <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>';
157
+ text+='</svg>';
158
+ text+='</a>';
159
+ text+='<div class="chaty-widget-i-title">';
160
+ text+='<p><span class="mobile_none">Contact us</p>';
161
+ text+='</div>';
162
+ text+='</div>';
163
+
164
+ }
165
+
166
+ if(key == 'skype'){
167
+
168
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.skype+'">';
169
+ text+='<a href="skype:'+settings.object_settings.social.skype+'?call">'
170
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
171
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03A9F4"/>';
172
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>'
173
+ text+='</svg>';
174
+ text+='</a>';
175
+ text+='<div class="chaty-widget-i-title">';
176
+ text+='<p>Skype</p>';
177
+ text+='</div>';
178
+ text+='</div>';
179
+
180
+ }
181
+ if(key == 'sms'){
182
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.sms+'">';
183
+ text+='<a href="sms:'+settings.object_settings.social.sms+'">'
184
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
185
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF549C"/>';
186
+ text+='<path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>';
187
+ text+='</svg>';
188
+ text+='</a>';
189
+ text+='<div class="chaty-widget-i-title">';
190
+ text+='<p>SMS</p>';
191
+ text+='</div>';
192
+ text+='</div>';
193
+ }
194
+ if( key == 'snapchat'){
195
+
196
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.snapchat+'">';
197
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
198
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FFE81D"/>';
199
+ text+='<path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>';
200
+ text+='</svg>';
201
+
202
+ text+='<div class="chaty-widget-i-title">';
203
+ text+='Contact me at Snapchat: '+settings.object_settings.social.snapchat;
204
+ text+='</div>';
205
+ text+='</div>';
206
+
207
+ }
208
+ if(key == 'telegram'){
209
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.telegram+'">';
210
+ text+='<a href="https://telegram.me/'+settings.object_settings.social.telegram+' " target="_blank">'
211
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
212
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#3E99D8"/>';
213
+ text+='<path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/><path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/> <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>';
214
+ text+='</svg>';
215
+ text+='</a>';
216
+ text+='<div class="chaty-widget-i-title">';
217
+ text+='<a href="https://telegram.me/'+settings.object_settings.social.telegram+'"target="_blank">Telegram</a>';
218
+ text+='</div>';
219
+ text+='</div>';
220
+ }
221
+ if(key == 'phone'){
222
+ text+='<div class="chaty-widget-i" >';
223
+ text+='<a href="tel:'+settings.object_settings.social.phone+'">'
224
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
225
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03E78B"/>';
226
+ text+='<path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>';
227
+ text+='</svg>';
228
+ text+='</a>';
229
+ text+='<div class="chaty-widget-i-title">';
230
+ text+='<p>Phone</p>';
231
+ text+='</div>';
232
+ text+='</div>';
233
+ }
234
+ if(key == 'viber'){
235
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.viber+'">';
236
+ text+='<a href="viber://chat?number='+settings.object_settings.social.viber+'" target="_blank">'
237
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
238
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#665CAC"/>';
239
+ text+='<path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>';
240
+ text+='</svg>';
241
+ text+='</a>';
242
+ text+='<div class="chaty-widget-i-title">';
243
+ text+='<p>Viber</p>';
244
+ text+='</div>';
245
+ text+='</div>';
246
+ }
247
+ if(key == 'vkontakte'){
248
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.vkontakte+'">';
249
+ text+='<a href="https://vk.me/'+settings.object_settings.social.vkontakte+'"target="_blank">'
250
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
251
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#5076AA"/>';
252
+ text+='<path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>';
253
+ text+='</svg>';
254
+ text+='</a>'
255
+ text+='<div class="chaty-widget-i-title">';
256
+ text+='<p>Vkontakte</p>';
257
+ text+='</div>';
258
+ text+='</div>';
259
+ }
260
+ if(key == 'waze'){
261
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.waze+'"target="_blank">';
262
+ text+='<a href="'+settings.object_settings.social.waze+'"target="_blank">';
263
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
264
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#6ECCEF"/>';
265
+ text+='<path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)" fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>';
266
+ text+='</svg>';
267
+ text+='</a>';
268
+ text+='<div class="chaty-widget-i-title">';
269
+ text+='<p>Waze</p>';
270
+ text+='</div>';
271
+ text+='</div>';
272
+ }
273
+ if(key == 'whatsapp'){
274
+ phone = settings.object_settings.social.whatsapp;
275
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.whatsapp+'">';
276
+ text+='<a href=" https://api.whatsapp.com/send?phone='+phone.replace('+', '')+'"target="_blank">';
277
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
278
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#49E670"/>';
279
+ text+='<path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/> <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/';
280
+ text+='</svg>';
281
+ text+='</a>'
282
+ text+='<div class="chaty-widget-i-title">';
283
+
284
+ text+='<p>WhatsApp</p>';
285
+ text+='</div>';
286
+ text+='</div>';
287
+ }
288
+ if(key == 'line'){
289
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.line+'"target="_blank">';
290
+ text+='<a href="'+settings.object_settings.social.line+'"target="_blank">';
291
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
292
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#38B900"></circle>';
293
+ text+='<path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path> <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path> <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>';
294
+ text+='</svg>';
295
+ text+='</a>';
296
+ text+='<div class="chaty-widget-i-title">';
297
+ text+='<p>Line</p>';
298
+ text+='</div>';
299
+ text+='</div>';
300
+ }
301
+ if(key == 'wechat'){
302
+ text+='<div class="chaty-widget-i" data-title="'+settings.object_settings.social.wechat+'"target="_blank">';
303
+ text+='<a href="weixin://dl/chat?'+settings.object_settings.social.wechat+'"target="_blank">';
304
+ text+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">';
305
+ text+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#45DC00"></circle>';
306
+ text+='<path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path><path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>'
307
+ text+='</svg>';
308
+ text+='</a>';
309
+ text+='<div class="chaty-widget-i-title">';
310
+ text+='<p>WeChat</p>';
311
+ text+='</div>';
312
+ text+='</div>';
313
+ }
314
+ });
315
+ return text;
316
+ }
317
+
318
+
319
+ function plugin(settings, token){
320
+ // mobile\desktop
321
+ var devices = settings.object_settings.device;
322
+ // position
323
+ var position ="";
324
+
325
+ if(settings.object_settings.position=='right'){
326
+ position = 'left: auto;bottom: 25px; right: 25px;'
327
+ } else if(settings.object_settings.position=='left'){
328
+ position = 'right: auto; bottom: 25px; left: 25px;'
329
+ }else if(settings.object_settings.position=='custom'){
330
+ var pos_side = settings.object_settings.pos_side;
331
+ var bot = settings.object_settings.bot;
332
+ var side = settings.object_settings.side;
333
+ if (pos_side === 'right') {
334
+ position = 'left: auto; bottom: ' + bot +'px; right: ' + side + 'px';
335
+ } else {
336
+ position = 'left: ' +side+ 'px; bottom: ' + bot + 'px; right: auto';
337
+ }
338
+ }
339
+ var CTA= settings.object_settings.cta;
340
+ var text = "";
341
+ var b = settings.object_settings.social;
342
+ if(Object.keys(b).length >= 2){
343
+ text = '<div class="chaty-widget '+token+' '+devices+' " style="display:block; '+position+'">';
344
+ // block 1 social
345
+ text+='<div class="chaty-widget-is" id="transition_disabled">';
346
+ }
347
+ text+= i(settings);
348
+ var b = settings.object_settings.social;
349
+ if(Object.keys(b).length >= 2){
350
+ text+='</div>';
351
+ // block 2
352
+ text+='<div class="i-trigger">'
353
+ var display_cta = getCookie("display_cta");
354
+ if(CTA != "" && display_cta!='none'){
355
+ var tr = 'true';
356
+ }else{
357
+ tr = 'no-tooltip';
358
+ }
359
+ text+='<div class="chaty-widget-i i-trigger-open '+tr+' ">';
360
+ text+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">';
361
+ text+='<ellipse class="color-element" cx="26" cy="26" rx="26" ry="26" fill="'+settings.object_settings.color+'"/>'
362
+ text+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538V16.0615C0 18.27 1.8 20.0769 4 20.0769H18.6L24.4 25.8992C24.6 26.1 24.8 26.1 25.2 26.1C25.4 26.1 25.4 26.1 25.6 26.1C26 25.8992 26.2 25.4977 26.2 25.0962V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(8 18.0691)" fill="white"/>'
363
+ text+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538H16C19.4 4.01538 22 6.62538 22 10.0385V23.49L24.2 25.6985C24.4 25.8992 24.6 25.8992 25 25.8992C25.2 25.8992 25.2 25.8992 25.4 25.8992C25.8 25.6985 26 25.2969 26 24.8954V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(13.9999 12.0461)" fill="white"/>'
364
+ text+='</svg>';
365
+ var display_cta = getCookie("display_cta");
366
+ if(CTA != "" && display_cta!='none'){
367
+ text+=' <div class="chaty-widget-i-title true"> ';
368
+ text+=CTA;
369
+ text+='</div>';
370
+ }
371
+
372
+ text+='</div>';
373
+ text+='<div class="chaty-widget-i i-trigger-close" data-title="Hide">';
374
+ text+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">';
375
+ text+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="#A886CD"/>';
376
+ text+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>';
377
+ text+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>';
378
+ text+='</svg>';
379
+ text+='<div class="chaty-widget-i-title">';
380
+ text+='Hide';
381
+ text+='</div>';
382
+ text+='</div>';
383
+ text+=' </div>';
384
+
385
+ if(Object.keys(b).length >1){
386
+ no_active = 'no_active';
387
+ }
388
+ // if(check_token()){
389
+ if( token != ''){
390
+ if(settings.object_settings.link_active != 1){
391
+ text+='<div class="get '+no_active+'" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://chaty.app/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585; ">Get Widget</a></div>'
392
+ }
393
+ }else{
394
+ text+='<div class="get" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://chaty.app/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585;">Get Widget</a></div>'
395
+ }
396
+
397
+ text+='</div>';
398
+
399
+ }else{
400
+ text = '<div class="chaty-widget one_widget '+token+' '+devices+' " style="display:block; '+position+'">';
401
+ // block 1 social
402
+ text+='<div class="chaty-widget-is no-tooltip">';
403
+ text+='</div>';
404
+ // block 2
405
+ text+='<div class="i-trigger">'
406
+ text+='<div class="chaty-widget-i no-tooltip i-trigger-open ">';
407
+ text+= i(settings);
408
+
409
+ // if(CTA != ""){
410
+ // text+=' <div class="chaty-widget-i-title"> ';
411
+ // text+=CTA;
412
+ // text+='</div>';
413
+ // }
414
+
415
+
416
+ text+='</div>';
417
+ if( token == '' && i(settings).length != 0){
418
+ text+='<div class="get" style="opacity:1; position: absolute;"> <a href="https://chaty.app/?utm_source=wppl0ugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; left: 3px; color: #8c8585;">Get Widget</a></div>'
419
+ }
420
+ text+=' </div>';
421
+ text+='</div>';
422
+
423
+ }
424
+
425
+ $('body').append(text) ;
426
+ }
427
+
428
+ // add style
429
+ function css(){
430
+ $('body').append('<style> .chaty-widget-i .chaty-widget-i-title p{color: #222 !important; text-decoration: none !important; margin:0 !important; padding: 0 !important } .chaty-widget-i .i-trigger a{color: #222 !important; text-decoration: none !important;} *{ -webkit-tap-highlight-color: transparent !important;} .i-trigger-open svg, .i-trigger-close svg{transition: all 0.5s} .chaty-widget-show .i-trigger-open svg,.chaty-widget-show .i-trigger-close svg{transform:rotate(180deg)}.none-widget-show .i-trigger-ope{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget-show .i-trigger-cloe{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 12px), -50%);} .chaty-widget-is-right.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 12px), -50%);}.chaty-widget-is-right.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 13px), -50%);} .one_widget .i-trigger .chaty-widget-i svg{width: 56px!important; height: 55px!important;} .chaty-widget-is-right.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: auto; right:-18px;} .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: -18px;} .one_widget .i-trigger-open .chaty-widget-i-title { padding: 10px 10px 9px 12px!important; } .chaty-widget .chaty-widget-i.facebook.before:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.before.facebook:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto} .chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i:not(.no-tooltip).before:before{opacity: 1;} .one_widget .chaty-widget-i svg {left:-5px; position: relative;}body .chaty-widget-i-title.true{opacity: 1!important;}.chaty-widget .i-trigger-open:not(.no-tooltip):before{opacity:1!important} .chaty-widget .chaty-widget-i.facebook.active:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{ pointer-events: initial; } .chaty-widget .facebook_header{background-color: #1E88E5 ;height: 34px; border-top-left-radius: 5px; border-top-right-radius: 5px; padding-left: 9px;} .facebook .chaty-widget-i-title{padding:0!important} body .chaty-widget-i .facebook_header p{ top: -3px; font-size: 13px; color: #fff !important; position:relative;} .facebook_header svg, .facebook_header p{display: inline-block; vertical-align: bottom; margin: 0;}.chaty-widget .chaty-widget-i .facebook_header svg{ height:30px!important; width:30px!important; } .chaty-widget{ display: none !important;}@media screen and (max-width:800px){.i-trigger-close .chaty-widget-i-title{display:none;}} @media screen and (max-width:480px){ .mobile_none{display:none}.chaty-widget.mobile_active{ display: block !important; } } @media screen and (min-width:480px){ .chaty-widget.desktop_active{ display: block !important; } }.chaty-widget{position:fixed;width:62px;z-index:9999}.chaty-widget .chaty-widget-is{display:flex;flex-wrap:wrap;overflow:hidden;height:0;position:absolute; pointer-events: none; left:0;right:auto;bottom:65px; opacity:0;}#transition_disabled{-webkit-animation: none !important; -moz-animation: none !important; -ms-animation: none !important; -o-animation: none !important;-webkit-animation:none !important}@keyframes fadeout{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeout{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}@-o-keyframes fadeout{from{opacity:1}to{opacity:0}}.chaty-widget .chaty-widget-is .chaty-widget-i{max-height:0;}.chaty-widget .i-trigger{position:relative;margin-top:6px}.chaty-widget .i-trigger .i-trigger-open,.chaty-widget .i-trigger .i-trigger-close{transition:all 0.2s; height: 54px;}.chaty-widget .i-trigger .i-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .i-trigger .i-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .i-trigger .i-trigger-close{opacity:0;pointer-events:none}.chaty-widget:not(.chaty-widget-show) .chaty-widget-is{}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-close{opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-is{ pointer-events: auto;overflow:visible; opacity:1; visibility: visible;}@keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-ms-keyframes fadein{from{opacity:0}to{opacity:1}}@-o-keyframes fadein{from{opacity:0}to{opacity:1}}.chaty-widget.chaty-widget-show .chaty-widget-is .chaty-widget-i{opacity:1;max-height:53px;overflow:visible}.chaty-widget .chaty-widget-i{flex:0 0 54px;border-radius:50%;vertical-align:top;font-size:0;position:relative;box-shadow:0px 3px 6px rgba(0,0,0,0.25);margin:4px}.chaty-widget .chaty-widget-i svg{cursor:pointer;width:54px;height:54px; position:relative;}body .i-trigger-open .chaty-widget-i-title{padding: 5px 16px 5px 17px!important; }.chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{ left: -13px!important} .chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{} .one_widget.chaty-widget.chaty-widget-is-right .i-trigger-open:before{ right: -12px!important} body .one_widget .i-trigger-open .chaty-widget-i-title.face_title{padding:0!important}.one_widget.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 14px), -50%);}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:"";left:-14px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.one_widget.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:-3px;top:50%;white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 13px), -50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{opacity:0;pointer-events:auto}.chaty-widget .chaty-widget-i .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{position:absolute;right:0;left:auto;bottom:65px;justify-content:flex-end}.chaty-widget.chaty-widget-is-right .i-trigger-open.chaty-widget-i:before{right:-13px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i:before{right:-14px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial!important;right: auto; top: calc(100% - 484px);}.chaty-widget .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial;right: 29px; left:auto; top: calc(100% - 484px);} .one_widget.chaty-widget.chaty-widget-is-right .chaty-widget-i .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 17px), -50%)!important}</style>')
431
+ }
432
+
433
+ jQuery(document).ready(function() {
434
+
435
+ function chatyWidget() {
436
+
437
+ var $chatyWidget = jQuery('.chaty-widget');
438
+
439
+ function positionIcons() {
440
+
441
+ var posTop = $chatyWidget.position().top;
442
+
443
+ var length = $chatyWidget.find('.chaty-widget-is .chaty-widget-i').length;
444
+
445
+ if (length*62 > posTop) {
446
+ var itemsF = Math.round(Math.sqrt(length));
447
+ var itemsC = Math.ceil(Math.sqrt(length));
448
+
449
+ $chatyWidget.find('.chaty-widget-is').css({"height": itemsC * 62, "width": itemsF * 62})
450
+ }else{
451
+ $chatyWidget.find('.chaty-widget-is').css({height: length * 62, "width": "62px"})
452
+ }
453
+ }
454
+
455
+ function tooltipPosition() {
456
+ var posLeft = $chatyWidget.position().left;
457
+ if (posLeft < jQuery(document).width()/2) {
458
+ $chatyWidget.addClass('chaty-widget-is-right')
459
+ }
460
+ }
461
+ tooltipPosition();
462
+ positionIcons();
463
+ jQuery(window).resize(function() {
464
+ positionIcons();
465
+ });
466
+
467
+ $('.chaty-widget-i.facebook').mouseenter(function() {
468
+ $('.facebook_two_mess').css({
469
+ 'opacity': '1',
470
+ 'z-index': '1'
471
+ });
472
+ $(this).addClass('before')
473
+
474
+ });
475
+ $('.chaty-widget-i.facebook').mouseleave(function() {
476
+ $('.facebook_two_mess').css({
477
+ 'opacity': '0',
478
+ 'z-index': '1'
479
+
480
+ })
481
+ $(this).removeClass('before');
482
+ })
483
+
484
+ $('.chaty-widget-i.facebook').on('click',function() {
485
+ $(this).addClass('active');
486
+ $('.facebook_two_mess').hide();
487
+ $(this).children('.face_title').css({
488
+ 'opacity': '1',
489
+ 'z-index': '2'
490
+ }).show();
491
+
492
+ if($('.chaty-widget').hasClass('one_widget')){
493
+
494
+ if($('.chaty-widget').hasClass('chaty-widget-is-right')){
495
+
496
+ $('.face_title').css({
497
+ 'top': 'calc(100% - 452px)',
498
+ 'left': '20px'
499
+
500
+ });
501
+
502
+ }else{
503
+ $('.face_title').css({
504
+ 'top': 'calc(100% - 453px)',
505
+ 'left': 'auto',
506
+ 'right': '23px'
507
+ });
508
+ }
509
+ return
510
+ }{
511
+ $('.facebook_two_mess').css({
512
+ 'opacity': '0',
513
+ 'z-index': '1'
514
+ });
515
+ $('.ico_d').hide();
516
+ }
517
+
518
+ $('.chaty-widget .chaty-widget-i').css({
519
+ 'box-shadow': '0px 3px 6px rgba(0,0,0,0)',
520
+
521
+ });
522
+
523
+ if($('.chaty-widget').hasClass('one_widget') ){
524
+ return;
525
+ }else{
526
+ $('.i-trigger').hide();
527
+ }
528
+
529
+ })
530
+
531
+ $('.i-trigger-close').on('click', function(event) {
532
+ get_out()
533
+ event.preventDefault();
534
+ if($('.chaty-widget-i.facebook').hasClass('active')){
535
+ return
536
+ }
537
+ $chatyWidget.removeClass('chaty-widget-show');
538
+ $chatyWidget.addClass('none-widget-show');
539
+
540
+ });
541
+
542
+ $('body').on('click','.close_facebook', function() {
543
+ $('.facebook_two_mess').show();
544
+ $('.chaty-widget-i.facebook').removeClass('active');
545
+ $(this).parent().parent().css({
546
+ 'opacity': '1',
547
+ }).hide();
548
+
549
+ $('.i-trigger').show();
550
+ $('.chaty-widget-is .chaty-widget-i svg').show();
551
+ });
552
+
553
+ $('.i-trigger-close').on('click', function(event) {
554
+ get_out()
555
+ $('.i-trigger-open').addClass('active_clos');
556
+ event.preventDefault();
557
+ if($('.chaty-widget-i.facebook').hasClass('active')){
558
+ return;
559
+ }
560
+ $chatyWidget.removeClass('chaty-widget-show');
561
+ $chatyWidget.addClass('none-widget-show');
562
+ });
563
+
564
+ var display_cta = getCookie("display_cta");
565
+
566
+ $chatyWidget.find('.i-trigger-open').mouseenter(function () {
567
+
568
+ $(".chaty-widget-is").removeAttr("id");
569
+
570
+
571
+ document.cookie = "display_cta=none; path=/";
572
+
573
+
574
+ if( $(this).hasClass('active_clos')){
575
+ return;
576
+ }
577
+ if($('.chaty-widget-i.facebook').hasClass('active')){
578
+ return;
579
+ }
580
+ if($chatyWidget.hasClass('one_widget')){
581
+ return;
582
+ }
583
+
584
+ tooltipPosition();
585
+
586
+ if($($chatyWidget).hasClass('chaty-widget-show')){
587
+ }else{
588
+ $chatyWidget.addClass('chaty-widget-show');
589
+ $chatyWidget.removeClass('none-widget-show');
590
+ }
591
+ get_op()
592
+ });
593
+
594
+ function get_op(){
595
+
596
+ if($('.get').hasClass('no_active')){
597
+ return
598
+ }
599
+ $('.get').css({
600
+ 'opacity': '1',
601
+ })
602
+ }
603
+ function get_out(){
604
+ if($('.get').hasClass('no_active')){
605
+ return
606
+ }
607
+ $('.get').css({
608
+ 'opacity': '0',
609
+ })
610
+ }
611
+ $chatyWidget.find('.i-trigger-open').on('click',function () {
612
+ if( display_cta!='none'){
613
+ if($(".chaty-widget").hasClass(".one_widget")){
614
+
615
+ }else{
616
+ $('.i-trigger-open .chaty-widget-i-title').detach();
617
+ }
618
+
619
+ }
620
+ $('.i-trigger-open').addClass('no-tooltip');
621
+
622
+ get_op();
623
+ if( $(this).hasClass('active_clos')){
624
+ return;
625
+ }
626
+ if($('.chaty-widget-i.facebook').hasClass('active')){
627
+ return;
628
+ }
629
+ if($chatyWidget.hasClass('one_widget')){
630
+ return;
631
+ }
632
+
633
+ tooltipPosition();
634
+
635
+ if($($chatyWidget).hasClass('chaty-widget-show')){
636
+ }else{
637
+ $chatyWidget.addClass('chaty-widget-show');
638
+ $chatyWidget.removeClass('none-widget-show');
639
+ }
640
+ });
641
+
642
+ $chatyWidget.find('.i-trigger-open').mouseenter(function () {
643
+
644
+ $('.i-trigger-open').removeClass('active_clos')
645
+
646
+ })
647
+
648
+
649
+ $chatyWidget.find('.chaty-widget-is').mouseleave(function () {
650
+
651
+ $('.i-trigger-open').removeClass('active_clos')
652
+ if($('.chaty-widget-i.facebook').hasClass('active')){
653
+ return
654
+ }
655
+ // $chatyWidget.removeClass('chaty-widget-show');
656
+ // $chatyWidget.addClass('none-widget-show');
657
+
658
+ });
659
+ };
660
+
661
+ if(settings.object_settings.active == 'true'){
662
+ plugin(settings, token);
663
+ css();
664
+ }
665
+
666
+
667
+ chatyWidget();
668
+ $( document ).ready(function() {
669
+ var isMobile = window.matchMedia("only screen and (max-width: 760px)");
670
+ if (isMobile.matches) {
671
+ $('.i-trigger-open').addClass('active_clos');
672
+ }
673
+ });
674
+
675
+
676
+ });
677
+
678
+ })(jQuery);
assets/js/cht-scripts-heart.min.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ !function(t){function e(t){for(var e=t+"=",i=document.cookie.split(";"),a=0;a<i.length;a++){for(var o=i[a];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""}function i(e){var i="",a=0;return t.each(e.object_settings.social,function(t,o){if(a++,""==token&&"3"==a)return!1;"facebook_messenger"==t&&(i+='<div class="chaty-widget-i facebook" data-title="'+e.object_settings.social.facebook_messenger+'">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>',i+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>',i+="</svg>",i+='<div class="chaty-widget-i-title face_title" style="display: none;">',i+='<div class="facebook_header">',i+='<svg width="15" height="15" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>',i+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 9.63934C0 4.29861 4.68939 0 10.4209 0C16.1524 0 20.8418 4.29861 20.8418 9.63934C20.8418 14.98 16.1524 19.2787 10.4209 19.2787C9.37878 19.2787 8.33673 19.1484 7.42487 18.8879L3.90784 20.8418V17.1945C1.56311 15.3708 0 12.6353 0 9.63934ZM8.85779 10.1604L11.463 13.0261L17.1945 6.90384L12.1143 9.76959L9.37885 6.90384L3.64734 13.0261L8.85779 10.1604Z" transform="translate(9.01854 10.3146)" fill="white"/>',i+="</svg>",i+="<p>Facebook Messeger</p>",i+=' <svg xmlns="http://www.w3.org/2000/svg" class="close_facebook" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="612px" height="612px" viewBox="0 0 612 612" style="fill: #fff; float: right; margin-top: 4px;" xml:space="preserve">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#1E88E5"/>',i+='<path xmlns="http://www.w3.org/2000/svg" d="M268.064,256.75l138.593-138.593c3.124-3.124,3.124-8.189,0-11.313c-3.125-3.124-8.189-3.124-11.314,0L256.75,245.436 L118.157,106.843c-3.124-3.124-8.189-3.124-11.313,0c-3.125,3.124-3.125,8.189,0,11.313L245.436,256.75L106.843,395.343 c-3.125,3.125-3.125,8.189,0,11.314c1.562,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343L256.75,268.064l138.593,138.593 c1.563,1.562,3.609,2.343,5.657,2.343s4.095-0.781,5.657-2.343c3.124-3.125,3.124-8.189,0-11.314L268.064,256.75z"/>',i+="</svg>",i+=" </div>",i+='<div class="fb-page" data-href="'+e.object_settings.social.facebook_messenger+'" data-tabs="messages" data-width="250" data-height="400" data-small-header="false" data-adapt-container-width="false" data-hide-cover="false" data-show-facepile="false"><blockquote cite="'+e.object_settings.social.facebook_messenger+'" class="fb-xfbml-parse-ignore"><a href="'+e.object_settings.social.facebook_messenger+'">Facebook</a></blockquote></div>',i+="</div>",i+='<div class="chaty-widget-i-title facebook_two_mess">',i+='<p style="margin: 7px!important;">Facebook Messenger</p>',i+="</div>",i+="</div>"),"google_maps"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.google_maps+'">',i+='<a href="'+e.object_settings.social.google_maps+'" target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#37AA66"/>',i+='<path fill-rule="evenodd" clip-rule="evenodd" d="M0 8.06381C0 3.68631 3.68633 0 8.06383 0C12.4413 0 16.1276 3.68631 16.1276 8.06381C16.1276 12.2109 9.67659 19.5835 8.9854 20.2747C8.755 20.5051 8.29422 20.7355 8.06383 20.7355C7.83344 20.7355 7.37263 20.5051 7.14224 20.2747C6.45107 19.5835 0 12.2109 0 8.06381ZM11.5203 8.06378C11.5203 9.97244 9.97302 11.5197 8.06436 11.5197C6.15572 11.5197 4.60844 9.97244 4.60844 8.06378C4.60844 6.15515 6.15572 4.60788 8.06436 4.60788C9.97302 4.60788 11.5203 6.15515 11.5203 8.06378Z" transform="translate(11.3764 9.07178)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Google Maps</p>",i+="</div>",i+="</div>"),"link"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.link+'">',i+='<a href="'+e.object_settings.social.link+'" target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF7539"/>',i+='<mask id="path-2-outside-1" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"> <rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/> </mask><path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(9.95154 16.0478)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(9.95154 16.0478)" fill="white" mask="url(#path-2-outside-1)"/><mask id="path-4-outside-2" maskUnits="userSpaceOnUse" x="-1" y="-1" width="13" height="14" fill="black"><rect fill="white" x="-1" y="-1" width="13" height="14"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z"/></mask> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.10658 1.73537C9.10658 1.73537 9.10658 1.73538 9.10659 1.73538L9.93879 2.58495C9.9388 2.58495 9.9388 2.58495 9.9388 2.58496C9.99645 2.64381 10.0508 2.70475 10.1019 2.76754C10.3002 3.0113 10.6804 3.07698 10.9003 2.85252C11.0424 2.70754 11.0721 2.4836 10.9533 2.31904C10.849 2.17452 10.7327 2.03614 10.6046 1.90532C10.6046 1.9053 10.6046 1.90529 10.6045 1.90528L9.77236 1.05572C9.77236 1.05572 9.77235 1.05572 9.77235 1.05572C8.39351 -0.351905 6.15792 -0.351905 4.77907 1.05571C4.77907 1.05572 4.77907 1.05572 4.77906 1.05572L1.03414 4.87877C1.03413 4.87878 1.03413 4.87878 1.03413 4.87878C-0.344706 6.2864 -0.34471 8.56858 1.03412 9.9762C1.03413 9.97621 1.03414 9.97622 1.03415 9.97623L1.86633 10.8258C1.86634 10.8258 1.86635 10.8258 1.86636 10.8258C3.24521 12.2334 5.48072 12.2334 6.85962 10.8258C6.85963 10.8258 6.85964 10.8258 6.85964 10.8258L9.28893 8.34581C9.47006 8.1609 9.47006 7.86509 9.28893 7.68018C9.10243 7.48979 8.79591 7.48979 8.60942 7.68018L6.19386 10.1461C6.19386 10.1461 6.19386 10.1461 6.19386 10.1461C5.1827 11.1784 3.54326 11.1784 2.53215 10.1461C2.53213 10.1461 2.53211 10.1461 2.53209 10.1461L1.69991 9.29657C1.69991 9.29657 1.6999 9.29656 1.6999 9.29655C0.688737 8.2643 0.688739 6.59069 1.6999 5.55844C1.6999 5.55843 1.69991 5.55843 1.69991 5.55843L5.44484 1.73538C5.44484 1.73538 5.44484 1.73537 5.44484 1.73537C6.45601 0.703119 8.09541 0.703118 9.10658 1.73537Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white"/><path d="M5.44484 1.73538L5.23053 1.52545L5.44484 1.73538ZM5.44484 1.73537L5.23053 1.52544L5.44484 1.73537ZM1.6999 5.55844L1.48559 5.3485L1.6999 5.55844ZM1.69991 5.55843L1.91422 5.76836L1.69991 5.55843ZM1.69991 9.29657L1.91422 9.08664L1.69991 9.29657ZM1.6999 9.29655L1.91421 9.08662L1.6999 9.29655ZM2.53215 10.1461L2.31784 10.3561L2.53215 10.1461ZM2.53209 10.1461L2.31778 10.356L2.53209 10.1461ZM6.19386 10.1461L5.97955 9.93618L6.19386 10.1461ZM6.19386 10.1461L6.40817 10.356L6.19386 10.1461ZM8.60942 7.68018L8.82373 7.89011L8.60942 7.68018ZM9.28893 8.34581L9.07462 8.13588L9.28893 8.34581ZM6.85962 10.8258L6.64532 10.6158L6.85962 10.8258ZM6.85964 10.8258L7.07395 11.0357L6.85964 10.8258ZM1.86633 10.8258L2.08064 10.6158L1.86633 10.8258ZM1.86636 10.8258L2.08067 10.6159L1.86636 10.8258ZM1.03412 9.9762L1.24843 9.76628L1.03412 9.9762ZM1.03415 9.97623L0.819841 10.1862L1.03415 9.97623ZM1.03414 4.87877L0.819827 4.66884L1.03414 4.87877ZM1.03413 4.87878L1.24844 5.08871L1.03413 4.87878ZM4.77907 1.05571L4.99338 1.26564L4.77907 1.05571ZM4.77906 1.05572L4.99338 1.26565L4.77906 1.05572ZM9.77236 1.05572L9.55805 1.26565L9.77236 1.05572ZM9.77235 1.05572L9.98666 0.845785L9.77235 1.05572ZM10.6046 1.90532L10.8189 1.6954L10.6046 1.90532ZM10.6045 1.90528L10.8189 1.69535L10.6045 1.90528ZM10.9533 2.31904L10.7101 2.49464L10.9533 2.31904ZM10.1019 2.76754L9.86916 2.95685L10.1019 2.76754ZM9.10659 1.73538L9.3209 1.52545L9.10659 1.73538ZM9.10658 1.73537L8.89227 1.9453L9.10658 1.73537ZM9.93879 2.58495L10.1531 2.37502L9.93879 2.58495ZM9.9388 2.58496L10.1531 2.37503L9.9388 2.58496ZM10.1531 2.37502L9.3209 1.52545L8.89228 1.94531L9.72448 2.79488L10.1531 2.37502ZM10.3346 2.57823C10.2777 2.50832 10.2172 2.4405 10.1531 2.37503L9.72449 2.79488C9.77566 2.84713 9.82388 2.90119 9.86916 2.95685L10.3346 2.57823ZM11.1966 2.14344C11.0835 1.98684 10.9576 1.83698 10.8189 1.6954L10.3903 2.11524C10.5079 2.2353 10.6145 2.3622 10.7101 2.49464L11.1966 2.14344ZM10.8189 1.69535L9.98667 0.845789L9.55805 1.26565L10.3902 2.11521L10.8189 1.69535ZM9.98666 0.845785C8.49018 -0.681928 6.06124 -0.681928 4.56476 0.845784L4.99338 1.26564C6.25459 -0.0218819 8.29683 -0.0218814 9.55804 1.26565L9.98666 0.845785ZM4.56475 0.84579L0.819827 4.66884L1.24845 5.0887L4.99338 1.26565L4.56475 0.84579ZM0.819819 4.66885C-0.673269 6.1931 -0.673273 8.66187 0.819807 10.1861L1.24843 9.76628C-0.0161474 8.47529 -0.016144 6.37969 1.24844 5.08871L0.819819 4.66885ZM0.819841 10.1862L1.65203 11.0357L2.08064 10.6158L1.24846 9.7663L0.819841 10.1862ZM1.65205 11.0357C3.14854 12.5634 5.57739 12.5634 7.07393 11.0357L6.64532 10.6158C5.38405 11.9034 3.34188 11.9034 2.08067 10.6159L1.65205 11.0357ZM7.07395 11.0357L9.50324 8.55574L9.07462 8.13588L6.64533 10.6158L7.07395 11.0357ZM6.40817 10.356L8.82373 7.89011L8.39511 7.47025L5.97955 9.93618L6.40817 10.356ZM2.31784 10.3561C3.44659 11.5084 5.27938 11.5084 6.40817 10.356L5.97955 9.93618C5.08603 10.8483 3.63993 10.8483 2.74646 9.93621L2.31784 10.3561ZM1.48561 9.50651L2.31778 10.356L2.7464 9.93615L1.91422 9.08664L1.48561 9.50651ZM1.48559 5.3485C0.360176 6.49739 0.360173 8.35759 1.48559 9.50648L1.91421 9.08662C1.0173 8.171 1.0173 6.68399 1.91421 5.76837L1.48559 5.3485ZM5.23053 1.52545L1.4856 5.3485L1.91422 5.76836L5.65915 1.94531L5.23053 1.52545ZM9.32089 1.52544C8.19208 0.373095 6.35934 0.373096 5.23053 1.52544L5.65915 1.9453C6.55268 1.03314 7.99874 1.03314 8.89227 1.9453L9.32089 1.52544ZM5.65915 1.94531C5.65915 1.94531 5.65915 1.94531 5.65915 1.9453L5.23053 1.52544C5.23053 1.52544 5.23053 1.52544 5.23053 1.52545L5.65915 1.94531ZM1.91421 5.76837C1.91421 5.76837 1.91422 5.76836 1.91422 5.76836L1.4856 5.3485C1.4856 5.3485 1.48559 5.3485 1.48559 5.3485L1.91421 5.76837ZM1.91422 9.08664C1.91422 9.08663 1.91421 9.08663 1.91421 9.08662L1.48559 9.50648C1.48559 9.50649 1.4856 9.5065 1.48561 9.50651L1.91422 9.08664ZM2.74646 9.93621C2.74644 9.93619 2.74642 9.93617 2.7464 9.93615L2.31778 10.356C2.3178 10.356 2.31782 10.356 2.31784 10.3561L2.74646 9.93621ZM5.97955 9.93618C5.97955 9.93618 5.97955 9.93618 5.97955 9.93618L6.40817 10.356C6.40817 10.356 6.40817 10.356 6.40817 10.356L5.97955 9.93618ZM9.50324 7.47025C9.1991 7.15977 8.69924 7.15977 8.39511 7.47025L8.82373 7.89011C8.89259 7.81981 9.00576 7.81981 9.07462 7.89011L9.50324 7.47025ZM9.50324 8.55574C9.79862 8.25419 9.79862 7.77179 9.50324 7.47025L9.07462 7.89011C9.1415 7.95838 9.1415 8.0676 9.07462 8.13588L9.50324 8.55574ZM7.07393 11.0357C7.07394 11.0357 7.07395 11.0357 7.07395 11.0357L6.64533 10.6158C6.64533 10.6158 6.64532 10.6158 6.64532 10.6158L7.07393 11.0357ZM1.65203 11.0357C1.65203 11.0357 1.65204 11.0357 1.65205 11.0357L2.08067 10.6159C2.08066 10.6158 2.08065 10.6158 2.08064 10.6158L1.65203 11.0357ZM0.819807 10.1861C0.819819 10.1861 0.81983 10.1862 0.819841 10.1862L1.24846 9.7663C1.24845 9.76629 1.24844 9.76628 1.24843 9.76628L0.819807 10.1861ZM0.819827 4.66884C0.819824 4.66884 0.819822 4.66885 0.819819 4.66885L1.24844 5.08871C1.24844 5.08871 1.24845 5.08871 1.24845 5.0887L0.819827 4.66884ZM4.56476 0.845784C4.56476 0.845786 4.56476 0.845788 4.56475 0.84579L4.99338 1.26565C4.99338 1.26565 4.99338 1.26565 4.99338 1.26564L4.56476 0.845784ZM9.98667 0.845789C9.98667 0.845788 9.98666 0.845787 9.98666 0.845785L9.55804 1.26565C9.55804 1.26565 9.55804 1.26565 9.55805 1.26565L9.98667 0.845789ZM10.8189 1.6954C10.8189 1.69538 10.8189 1.69536 10.8189 1.69535L10.3902 2.11521C10.3902 2.11522 10.3903 2.11523 10.3903 2.11524L10.8189 1.6954ZM11.1146 3.06246C11.3462 2.82606 11.411 2.44051 11.1966 2.14344L10.7101 2.49464C10.7332 2.52669 10.7385 2.58902 10.686 2.64258L11.1146 3.06246ZM9.86916 2.95685C10.1487 3.30046 10.7367 3.44829 11.1146 3.06246L10.686 2.64258C10.652 2.67732 10.6006 2.69693 10.531 2.68804C10.4586 2.67877 10.3842 2.63918 10.3346 2.57823L9.86916 2.95685ZM9.3209 1.52545C9.32089 1.52544 9.32089 1.52544 9.32089 1.52544L8.89227 1.9453C8.89227 1.9453 8.89227 1.94531 8.89228 1.94531L9.3209 1.52545ZM9.72448 2.79488C9.72448 2.79488 9.72448 2.79488 9.72449 2.79488L10.1531 2.37503C10.1531 2.37503 10.1531 2.37502 10.1531 2.37502L9.72448 2.79488Z" transform="translate(28.9286 22.8312) rotate(-180)" fill="white" mask="url(#path-4-outside-2)"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Link<p>",i+="</div>",i+="</div>"),"email"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.email+'">',i+='<a href="mailto:'+e.object_settings.social.email+'">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF485F"/>',i+=' <path d="M20.5379 14.2557H1.36919C0.547677 14.2557 0 13.7373 0 12.9597V1.29597C0 0.518387 0.547677 0 1.36919 0H20.5379C21.3594 0 21.9071 0.518387 21.9071 1.29597V12.9597C21.9071 13.7373 21.3594 14.2557 20.5379 14.2557ZM20.5379 12.9597V13.6077V12.9597ZM1.36919 1.29597V12.9597H20.5379V1.29597H1.36919Z" transform="translate(8.48619 12.3117)" fill="white"/> <path d="M10.9659 8.43548C10.829 8.43548 10.692 8.43548 10.5551 8.30588L0.286184 1.17806C0.012346 0.918864 -0.124573 0.530073 0.149265 0.270879C0.423104 0.0116857 0.833862 -0.117911 1.1077 0.141283L10.9659 7.00991L20.8241 0.141283C21.0979 -0.117911 21.5087 0.0116857 21.7825 0.270879C22.0563 0.530073 21.9194 0.918864 21.6456 1.17806L11.3766 8.30588C11.2397 8.43548 11.1028 8.43548 10.9659 8.43548Z" transform="translate(8.47443 12.9478)" fill="white"/> <path d="M9.0906 7.13951C8.95368 7.13951 8.81676 7.13951 8.67984 7.00991L0.327768 1.17806C-0.0829894 0.918864 -0.0829899 0.530073 0.190849 0.270879C0.327768 0.0116855 0.738525 -0.117911 1.14928 0.141282L9.50136 5.97314C9.7752 6.23233 9.91212 6.62112 9.63828 6.88032C9.50136 7.00991 9.36444 7.13951 9.0906 7.13951Z" transform="translate(20.6183 18.7799)" fill="white"/> <path d="M0.696942 7.13951C0.423104 7.13951 0.286185 7.00991 0.149265 6.88032C-0.124573 6.62112 0.012346 6.23233 0.286185 5.97314L8.63826 0.141282C9.04902 -0.117911 9.45977 0.0116855 9.59669 0.270879C9.87053 0.530073 9.73361 0.918864 9.45977 1.17806L1.1077 7.00991C0.970781 7.13951 0.833862 7.13951 0.696942 7.13951Z" transform="translate(8.47443 18.7799)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Email</p>",i+="</div>",i+="</div>"),"poptin"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.poptin+'">',i+='<a href="'+e.object_settings.social.poptin+'">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#47A2B1"/>',i+=' <rect width="21.351" height="17.0808" rx="1.73931" transform="translate(8.76428 12.1953)" fill="white"/> <rect width="18.2112" height="1.83009" rx="0.915044" transform="translate(10.0203 17.6851)" fill="#F2F2F2"/> <rect width="15.0713" height="1.83009" rx="0.915044" transform="translate(10.0203 20.1256)" fill="#F2F2F2"/> <rect width="8.16363" height="1.83009" rx="0.915044" transform="translate(15.0443 24.3958)" fill="#E0E0E0"/> <path d="M0 1.74C0 0.779025 0.779024 0 1.74 0H19.611C20.572 0 21.351 0.779025 21.351 1.74V3.20266H0V1.74Z" transform="translate(8.76428 12.1953)" fill="#E0E0E0"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+='<p><span class="mobile_none">Contact us</p>',i+="</div>",i+="</div>"),"skype"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.skype+'">',i+='<a href="skype:'+e.object_settings.social.skype+'?call">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03A9F4"/>',i+='<path fill-rule="evenodd" clip-rule="evenodd" d="M10.5634 0.777588C16.0406 0.777588 20.4747 5.05426 20.4747 10.4973C20.4747 11.1453 20.4747 11.9229 20.0834 12.5709C20.4747 13.2189 20.7355 14.1261 20.7355 15.0332C20.7355 18.1436 18.1273 20.7355 14.9974 20.7355C13.9541 20.7355 13.0412 20.4763 12.2587 20.0875C11.6067 20.2171 11.085 20.2171 10.433 20.2171C4.95566 20.2171 0.521637 15.9404 0.521637 10.4973C0.521637 9.84955 0.652008 9.20175 0.782349 8.55392L0.782471 8.55338C0.260834 7.77582 0 6.73904 0 5.70227C0 2.59195 2.60825 0 5.73813 0C6.91183 0 7.95514 0.388794 8.86801 0.907166C9.38965 0.777588 10.0417 0.777588 10.5634 0.777588ZM13.5627 16.718C14.4756 16.3292 15.1276 15.8108 15.6493 15.1628C16.1709 14.5149 16.3013 13.7373 16.0405 12.9597C16.0405 12.3117 15.9101 11.7933 15.6493 11.2749C15.3884 10.7565 14.9972 10.3677 14.4756 10.1086L14.4752 10.1084C13.9536 9.84924 13.4321 9.59012 12.7802 9.33096C12.5034 9.27597 12.2031 9.1976 11.8893 9.11572C11.4638 9.0047 11.0135 8.88718 10.5632 8.81259C10.1953 8.66635 9.86893 8.60263 9.60748 8.55157C9.40552 8.51215 9.24231 8.48029 9.12866 8.4238C8.86792 8.4238 8.60721 8.29428 8.34647 8.16473L8.34619 8.16461C8.08536 8.035 7.82455 7.90543 7.69412 7.77582C7.43329 7.64621 7.43329 7.51663 7.43329 7.25742C7.43329 6.86862 7.69412 6.60944 8.08536 6.35025C8.47659 6.09106 9.12866 5.96146 9.78073 5.96146C10.5632 5.96146 11.0848 6.09106 11.4761 6.35025C11.8673 6.60944 12.1281 6.86865 12.3889 7.38702C12.6497 7.77563 12.9104 8.03476 13.0408 8.16443L13.041 8.16461C13.3018 8.29419 13.5627 8.4238 13.9539 8.4238C14.3451 8.4238 14.7364 8.29419 14.9972 8.035C15.258 7.77582 15.3884 7.51663 15.3884 7.12784C15.3884 6.73904 15.3884 6.35025 15.1276 5.96146C15.0313 5.67429 14.7927 5.45782 14.5169 5.20764C14.4193 5.11908 14.317 5.02631 14.2147 4.92468C13.6931 4.6655 13.1714 4.40631 12.5194 4.14709C11.8673 4.01752 11.0848 3.88791 10.172 3.88791C9.12866 3.88791 8.08536 4.01752 7.30289 4.2767C6.39001 4.53589 5.73795 5.05429 5.34671 5.57266C4.95547 6.09106 4.69464 6.73904 4.69464 7.51663C4.69464 8.29419 4.95547 8.9422 5.34671 9.46057C5.73795 9.97897 6.39001 10.3677 7.04205 10.627C7.69412 10.8861 8.60703 11.1453 9.6503 11.4045C10.4328 11.5341 11.0848 11.6637 11.4761 11.7933C11.8673 11.9229 12.2585 12.0525 12.5194 12.3117C12.7802 12.5709 12.9106 12.8301 12.9106 13.2189C12.9106 13.6077 12.6498 13.9965 12.1281 14.3853C11.6065 14.774 10.9544 14.9036 10.172 14.9036C9.6503 14.9036 9.12866 14.774 8.73743 14.6444C8.47659 14.5149 8.21576 14.2556 7.95496 13.9965C7.91547 13.918 7.86407 13.8277 7.80792 13.7291C7.67859 13.5019 7.52423 13.2308 7.43329 12.9597C7.40817 12.9098 7.38306 12.855 7.35703 12.7983C7.24783 12.5604 7.12225 12.2867 6.91165 12.1821C6.65085 12.0525 6.39001 11.9229 5.99878 11.9229C5.60754 11.9229 5.21631 12.0525 4.95547 12.3117C4.69464 12.5709 4.56424 12.8301 4.56424 13.2189C4.56424 13.8669 4.82507 14.3853 5.21631 15.0332C5.73795 15.6812 6.25961 16.07 6.91165 16.4588C7.82455 16.9772 8.99823 17.2364 10.4328 17.2364C11.6065 17.2364 12.6498 17.1068 13.5627 16.718Z" transform="translate(9.07178 9.07178)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Skype</p>",i+="</div>",i+="</div>"),"sms"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.sms+'">',i+='<a href="sms:'+e.object_settings.social.sms+'">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FF549C"/>',
2
+ i+='<path fill-rule="evenodd" clip-rule="evenodd" d="M2.60298 0H16.9194C18.351 0 19.5224 1.19321 19.5224 2.65158V14.5838C19.5224 16.0421 18.351 17.2354 16.9194 17.2354H7.4185L3.64418 20.4173C3.51402 20.5499 3.38388 20.5499 3.25372 20.5499H2.99344C2.73314 20.4173 2.60298 20.1521 2.60298 19.887V17.2354C1.17134 17.2354 0 16.0421 0 14.5838V2.65158C0 1.19321 1.17134 0 2.60298 0ZM2.60316 11.2696C2.60316 11.6673 2.86346 11.9325 3.25391 11.9325H4.5554C5.5966 11.9325 6.50764 11.0044 6.50764 9.94376C6.50764 8.88312 5.5966 7.95505 4.5554 7.95505C4.16496 7.95505 3.90465 7.68991 3.90465 7.29218C3.90465 6.89441 4.16496 6.62927 4.5554 6.62927H5.85689C6.24733 6.62927 6.50764 6.36411 6.50764 5.96637C6.50764 5.56863 6.24733 5.30347 5.85689 5.30347H4.5554C3.51421 5.30347 2.60316 6.23154 2.60316 7.29218C2.60316 8.35281 3.51421 9.28085 4.5554 9.28085C4.94585 9.28085 5.20613 9.54602 5.20613 9.94376C5.20613 10.3415 4.94585 10.6067 4.5554 10.6067H3.25391C2.86346 10.6067 2.60316 10.8718 2.60316 11.2696ZM14.9678 11.9325H13.6664C13.2759 11.9325 13.0156 11.6673 13.0156 11.2696C13.0156 10.8718 13.2759 10.6067 13.6664 10.6067H14.9678C15.3583 10.6067 15.6186 10.3415 15.6186 9.94376C15.6186 9.54602 15.3583 9.28085 14.9678 9.28085C13.9267 9.28085 13.0156 8.35281 13.0156 7.29218C13.0156 6.23154 13.9267 5.30347 14.9678 5.30347H16.2693C16.6598 5.30347 16.9201 5.56863 16.9201 5.96637C16.9201 6.36411 16.6598 6.62927 16.2693 6.62927H14.9678C14.5774 6.62927 14.3171 6.89441 14.3171 7.29218C14.3171 7.68991 14.5774 7.95505 14.9678 7.95505C16.009 7.95505 16.9201 8.88312 16.9201 9.94376C16.9201 11.0044 16.009 11.9325 14.9678 11.9325ZM10.4126 11.2697C10.4126 11.6674 10.6729 11.9326 11.0633 11.9326C11.4538 11.9326 11.7141 11.6674 11.8442 11.2697V5.96649C11.8442 5.70135 11.5839 5.43619 11.3236 5.30362C10.9332 5.30362 10.6729 5.43619 10.5427 5.70135L9.76186 7.15973L8.98094 5.70135C8.85081 5.43619 8.46034 5.17102 8.20006 5.30362C7.93977 5.43619 7.67946 5.70135 7.67946 5.96649V11.2697C7.67946 11.6674 7.93977 11.9326 8.33022 11.9326C8.72066 11.9326 8.98094 11.6674 8.98094 11.2697V8.75067L9.1111 8.88327C9.37138 9.28101 10.0221 9.28101 10.2825 8.88327L10.4126 8.75067V11.2697Z" transform="translate(9.67801 10.4601)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>SMS</p>",i+="</div>",i+="</div>"),"snapchat"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.snapchat+'">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#FFE81D"/>',i+='<path d="M21.5684 15.5864C18.7017 15.0298 17.3366 12.1073 17.3366 11.9681C17.2001 11.6898 17.2001 11.4115 17.2001 11.2723C17.3366 10.8548 18.0191 10.7157 18.4287 10.5765C18.5652 10.5765 18.7017 10.4373 18.7017 10.4373C19.1112 10.2982 19.3842 10.159 19.5207 9.88067C19.7938 9.60234 19.7938 9.46318 19.7938 9.32402C19.7938 8.90652 19.5207 8.62819 19.1112 8.48903C18.9747 8.48903 18.8382 8.34986 18.7017 8.34986C18.5652 8.34986 18.4287 8.34986 18.2922 8.48903C17.8826 8.62819 17.6096 8.76736 17.3366 8.76736C17.2001 8.76736 17.0636 8.76736 17.0636 8.76736C17.0636 8.62819 17.0636 8.48903 17.0636 8.34986C17.2001 6.81906 17.3366 5.00992 16.7906 3.8966C16.5175 3.20078 15.9715 2.50496 15.4255 1.9483C15.016 1.53081 14.4699 1.11332 13.7874 0.834987C12.6953 4.97691e-07 11.7397 0 11.3302 0C11.1937 0 10.9207 0 10.9207 0C10.3747 0 9.4191 0.139164 8.46354 0.556657C7.9175 0.834986 7.37147 1.25248 6.82544 1.66997C6.2794 2.22663 5.86988 2.92245 5.46035 3.61827C4.91431 4.73159 5.05082 6.54073 5.18733 8.07153C5.18733 8.2107 5.18733 8.34986 5.18733 8.62819C5.05082 8.62819 5.05082 8.62819 4.77781 8.62819C4.50479 8.62819 4.23177 8.48903 3.82224 8.34986C3.68574 8.34986 3.54923 8.2107 3.41272 8.2107C3.1397 8.2107 3.00319 8.2107 2.73018 8.34986C2.45716 8.48903 2.32065 8.76736 2.32065 8.90652C2.32065 9.04568 2.32065 9.32401 2.59366 9.74151C2.73017 9.88067 3.00319 10.0198 3.41272 10.159C3.54923 10.159 3.54922 10.2982 3.68573 10.2982C4.09526 10.4373 4.6413 10.5765 4.91431 10.994C5.05082 11.1332 4.91431 11.4115 4.77781 11.6898C4.77781 11.829 4.36828 12.5248 3.68573 13.3598C3.27621 13.7773 2.86668 14.1948 2.32065 14.6123C1.77461 15.0298 1.09207 15.3081 0.409527 15.3081C0.13651 15.3081 2.08296e-06 15.5864 2.08296e-06 15.8647C2.08296e-06 16.0039 2.08296e-06 16.0039 2.08296e-06 16.1431C0.136511 16.4214 0.409528 16.5606 0.682546 16.8389C1.22858 17.1172 1.91112 17.2564 2.86668 17.3955C2.86668 17.5347 3.00319 17.6739 3.00319 17.813C3.00319 17.9522 3.1397 18.0914 3.1397 18.3697C3.1397 18.5089 3.41272 18.7872 3.68573 18.7872C3.82224 18.7872 3.95875 18.7872 4.23177 18.648C4.50479 18.648 4.91431 18.5089 5.32384 18.5089C5.59686 18.5089 5.86988 18.5089 6.14289 18.648C6.68893 18.7872 7.09845 19.0655 7.64449 19.483C8.46354 20.0397 9.28259 20.7355 10.6477 20.7355H10.7842H10.9207C12.2858 20.7355 13.1048 20.0397 13.9239 19.483C14.4699 19.0655 14.8794 18.7872 15.4255 18.648C15.6985 18.648 15.9715 18.5089 16.2445 18.5089C16.6541 18.5089 17.0636 18.5089 17.3366 18.648C17.6096 18.648 17.7461 18.648 17.8826 18.648C18.1557 18.648 18.4287 18.5089 18.4287 18.2305C18.4287 18.0914 18.5652 17.9522 18.5652 17.6739C18.5652 17.5347 18.7017 17.2564 18.7017 17.2564C19.6572 17.1172 20.3398 16.9781 20.8858 16.6997C21.2954 16.5606 21.5684 16.2822 21.5684 16.0039C21.5684 15.8647 21.5684 15.8647 21.5684 15.7256C21.9779 15.8647 21.8414 15.5864 21.5684 15.5864Z" transform="translate(8.52631 9.07178)" fill="white"/>',i+="</svg>",i+='<div class="chaty-widget-i-title">',i+="Contact me at Snapchat: "+e.object_settings.social.snapchat,i+="</div>",i+="</div>"),"telegram"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.telegram+'">',i+='<a href="https://telegram.me/'+e.object_settings.social.telegram+' " target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#3E99D8"/>',i+='<path d="M3.56917 -2.55497e-07L0 6.42978L7.5349 1.87535L3.56917 -2.55497e-07Z" transform="translate(13.9704 24.6145)" fill="#E0E0E0"/><path d="M20.8862 0.133954C20.754 0 20.4897 0 20.2253 0L0.396574 8.03723C0.132191 8.17118 0 8.43909 0 8.707C0 8.97491 0.132191 9.24282 0.396574 9.37677L17.5814 17.414C17.7136 17.414 17.7136 17.414 17.8458 17.414C17.978 17.414 18.1102 17.414 18.1102 17.28C18.2424 17.1461 18.3746 17.0121 18.5068 16.7442L21.1506 0.669769C21.1506 0.535815 21.1506 0.267908 20.8862 0.133954Z" transform="translate(7.36069 10.9512)" fill="white"/> <path d="M13.8801 0L0 11.52V19.4233L3.70136 13.2614L13.8801 0Z" transform="translate(13.9704 11.6208)" fill="#F2F2F2"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+='<a href="https://telegram.me/'+e.object_settings.social.telegram+'"target="_blank">Telegram</a>',i+="</div>",i+="</div>"),"phone"==t&&(i+='<div class="chaty-widget-i" >',i+='<a href="tel:'+e.object_settings.social.phone+'">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#03E78B"/>',i+='<path d="M19.3929 14.9176C17.752 14.7684 16.2602 14.3209 14.7684 13.7242C14.0226 13.4259 13.1275 13.7242 12.8292 14.4701L11.7849 16.2602C8.65222 14.6193 6.11623 11.9341 4.47529 8.95057L6.41458 7.90634C7.16046 7.60799 7.45881 6.71293 7.16046 5.96705C6.56375 4.47529 6.11623 2.83435 5.96705 1.34259C5.96705 0.596704 5.22117 0 4.47529 0H0.745882C0.298353 0 5.69062e-07 0.298352 5.69062e-07 0.745881C5.69062e-07 3.72941 0.596704 6.71293 1.93929 9.3981C3.87858 13.575 7.30964 16.8569 11.3374 18.7962C14.0226 20.1388 17.0061 20.7355 19.9896 20.7355C20.4371 20.7355 20.7355 20.4371 20.7355 19.9896V16.4094C20.7355 15.5143 20.1388 14.9176 19.3929 14.9176Z" transform="translate(9.07179 9.07178)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Phone</p>",i+="</div>",i+="</div>"),"viber"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.viber+'">',i+='<a href="viber://chat?number='+e.object_settings.social.viber+'" target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#665CAC"/>',i+='<path d="M17.6837 2.14833C17.16 1.64578 15.0497 0.0389578 10.3496 0.0158143C10.3496 0.0158143 4.80418 -0.334645 2.10085 2.26405C0.596193 3.84111 0.0662511 6.14886 0.0126261 9.01205C-0.0441534 11.8752 -0.116705 17.2346 4.8168 18.6894H4.81995L4.8168 20.9078C4.8168 20.9078 4.78525 21.8071 5.3499 21.989C6.03125 22.2105 6.43186 21.5294 7.08482 20.7921C7.44127 20.3888 7.93651 19.7936 8.30874 19.3407C11.6808 19.6382 14.2769 18.9572 14.5702 18.858C15.2516 18.6265 19.1063 18.1075 19.7309 12.7481C20.3775 7.22338 19.4154 3.7254 17.6837 2.14833ZM18.2546 12.3513C17.7247 16.828 14.5986 17.1123 14.0245 17.3041C13.7785 17.3867 11.501 17.9818 8.63679 17.7835C8.63679 17.7835 6.50126 20.4813 5.83567 21.1856C5.73158 21.2947 5.60856 21.341 5.52654 21.3178C5.41298 21.2881 5.38144 21.1459 5.38144 20.9376C5.38459 20.64 5.40037 17.2512 5.40037 17.2512C5.39721 17.2512 5.39721 17.2512 5.40037 17.2512C1.23023 16.0378 1.47312 11.4719 1.52044 9.08148C1.56775 6.69108 1.99675 4.73379 3.26798 3.41792C5.55493 1.24904 10.2645 1.57305 10.2645 1.57305C14.2422 1.59288 16.1475 2.84594 16.5891 3.26583C18.0527 4.58501 18.8003 7.73585 18.2546 12.3513Z" transform="translate(9.47299 8.4238)" fill="white"/> <path d="M1.58982 1.72254C1.53935 0.628182 1.00941 0.0562059 0 1.00898e-07" transform="translate(20.166 15.5914)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M3.35945 3.69636C3.38153 2.67804 3.09448 1.82834 2.49514 1.14395C1.8958 0.459565 1.06619 0.0793496 1.9253e-07 2.01796e-07" transform="translate(19.7592 14.0966)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5.22371 5.71646C5.21109 3.94763 4.70639 2.55902 3.71275 1.5407C2.71911 0.525689 1.47942 0.00991877 -3.8506e-07 1.00898e-07" transform="translate(19.2931 12.6479)" stroke="white" stroke-width="0.518873" stroke-linecap="round" stroke-linejoin="round"/> <path d="M6.35738 8.04532C6.35738 8.04532 6.73276 8.07838 6.93149 7.81719L7.32263 7.30142C7.5119 7.04353 7.96929 6.88153 8.41722 7.14272C8.66641 7.2915 9.11434 7.57914 9.39193 7.79405C9.68844 8.02218 10.2972 8.55448 10.2972 8.55448C10.5875 8.80906 10.6537 9.18597 10.4581 9.58271C10.4581 9.58602 10.455 9.58933 10.455 9.58933C10.2531 9.96293 9.9818 10.3167 9.63797 10.644C9.63482 10.6473 9.63482 10.6473 9.63167 10.6506C9.35092 10.8953 9.07333 11.0375 8.80205 11.0705C8.77051 11.0771 8.7295 11.0804 8.68219 11.0771C8.56232 11.0771 8.44561 11.0606 8.32889 11.0209L8.31943 11.0077C7.89989 10.8854 7.20277 10.5746 6.03879 9.90342C5.28173 9.467 4.654 9.02066 4.12406 8.57762C3.84331 8.34619 3.55626 8.08169 3.2629 7.77752C3.25344 7.7676 3.24398 7.75768 3.23451 7.74776C3.22505 7.73784 3.21559 7.72792 3.20612 7.718C3.19666 7.70808 3.1872 7.69817 3.17773 7.68825C3.16827 7.67833 3.15881 7.66841 3.14934 7.65849C2.85914 7.35101 2.60678 7.05015 2.38597 6.75589C1.96328 6.20045 1.53744 5.5392 1.12105 4.74902C0.480708 3.52902 0.184194 2.79834 0.0674803 2.35862L0.0548623 2.3487C0.0170094 2.22637 -0.00191702 2.10404 0.0012374 1.9784C-0.00191702 1.92881 0.0012373 1.88583 0.00754613 1.85276C0.0390903 1.56843 0.17473 1.27748 0.408157 0.983227C0.411312 0.979921 0.411311 0.979921 0.414466 0.976615C0.726753 0.616237 1.06112 0.331902 1.42072 0.120304C1.42388 0.120304 1.42703 0.116997 1.42703 0.116997C1.80556 -0.0879887 2.16517 -0.0185578 2.40806 0.285615C2.41121 0.288921 2.91592 0.923716 3.13357 1.2345C3.33861 1.52875 3.6162 1.99493 3.75499 2.25612C4.00419 2.72561 3.84962 3.20501 3.60358 3.40338L3.11149 3.81335C2.86229 4.02495 2.89384 4.41509 2.89384 4.41509C2.89384 4.41509 3.62566 7.31464 6.35738 8.04532Z" transform="translate(13.863 13.0014)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Viber</p>",i+="</div>",i+="</div>"),"vkontakte"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.vkontakte+'">',i+='<a href="https://vk.me/'+e.object_settings.social.vkontakte+'"target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#5076AA"/>',i+='<path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Vkontakte</p>",i+="</div>",i+="</div>"),"waze"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.waze+'"target="_blank">',i+='<a href="'+e.object_settings.social.waze+'"target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#6ECCEF"/>',i+='<path d="M11.6549 16.6733C16.5911 16.6733 20.5675 12.9218 20.5675 8.33667C20.5675 3.7515 16.5911 0 11.6549 0C6.7187 0 2.74233 3.7515 2.74233 8.33667C2.74233 8.33667 3.42791 12.505 0 12.505C0 15.9786 6.17024 16.6733 11.6549 16.6733Z" transform="translate(9.15631 9.71375)" fill="#6ECCEF" class="color-element"/> <path d="M12.3405 18.0628C3.97637 18.0628 0 16.5344 0 13.1997C0 12.7829 0.274233 12.505 0.685582 12.505C1.37116 12.505 1.91963 12.3661 2.19386 11.9492C3.01656 10.9766 2.74233 9.17034 2.74233 9.17034C2.74233 4.02939 6.99293 0 12.3405 0C17.688 0 21.9386 4.02939 21.9386 9.0314C21.9386 14.0334 17.688 18.0628 12.3405 18.0628ZM1.50828 13.7555C2.19386 15.5618 5.896 16.6733 12.3405 16.6733C16.8653 16.6733 20.5675 13.1997 20.5675 9.0314C20.5675 4.86306 16.8653 1.38945 12.3405 1.38945C7.81563 1.38945 4.11349 4.86306 4.11349 9.0314C4.11349 9.0314 4.52484 11.3935 3.29079 12.7829C2.74233 13.3387 2.19386 13.6166 1.50828 13.7555Z" transform="translate(8.46936 9.01862)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(20.8105 24.3027)" fill="white"/> <path d="M2.74233 5.55778C4.25687 5.55778 5.48465 4.31363 5.48465 2.77889C5.48465 1.24415 4.25687 0 2.74233 0C1.22778 0 0 1.24415 0 2.77889C0 4.31363 1.22778 5.55778 2.74233 5.55778Z" transform="translate(12.5836 24.3025)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(17.3835 15.2717)" fill="white"/> <path d="M0.685582 1.38945C0.274233 1.38945 0 1.11156 0 0.694723C0 0.277889 0.274233 0 0.685582 0C1.09693 0 1.37116 0.277889 1.37116 0.694723C1.37116 1.11156 1.09693 1.38945 0.685582 1.38945Z" transform="translate(22.8668 15.2717)" fill="white"/> <path d="M4.14916 4.20448C2.22953 4.20448 0.447017 2.81503 0.035668 0.869809C-0.101448 0.452975 0.172786 0.175088 0.584135 0.0361436C0.995484 -0.102801 1.26972 0.17509 1.40683 0.591924C1.68106 1.84242 2.77799 2.81503 4.14916 2.81503C5.52032 2.81503 6.61725 1.84242 6.89148 0.591924C7.0286 0.17509 7.30283 0.0361436 7.71418 0.0361436C8.12553 0.175088 8.26265 0.452975 8.26265 0.869809C7.8513 2.81503 6.06879 4.20448 4.14916 4.20448Z" transform="translate(16.662 18.7092)" fill="white"/>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Waze</p>",i+="</div>",i+="</div>"),"whatsapp"==t&&(phone=e.object_settings.social.whatsapp,i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.whatsapp+'">',i+='<a href=" https://api.whatsapp.com/send?phone='+phone.replace("+","")+'"target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#49E670"/>',i+='<path d="M12.9821 10.1115C12.7029 10.7767 11.5862 11.442 10.7486 11.575C10.1902 11.7081 9.35269 11.8411 6.84003 10.7767C3.48981 9.44628 1.39593 6.25317 1.25634 6.12012C1.11674 5.85403 2.13001e-06 4.39053 2.13001e-06 2.92702C2.13001e-06 1.46351 0.83755 0.665231 1.11673 0.399139C1.39592 0.133046 1.8147 1.01506e-06 2.23348 1.01506e-06C2.37307 1.01506e-06 2.51267 1.01506e-06 2.65226 1.01506e-06C2.93144 1.01506e-06 3.21063 -2.02219e-06 3.35022 0.532183C3.62941 1.19741 4.32736 2.66092 4.32736 2.79397C4.46696 2.92702 4.46696 3.19311 4.32736 3.32616C4.18777 3.59225 4.18777 3.59224 3.90858 3.85834C3.76899 3.99138 3.6294 4.12443 3.48981 4.39052C3.35022 4.52357 3.21063 4.78966 3.35022 5.05576C3.48981 5.32185 4.18777 6.38622 5.16491 7.18449C6.42125 8.24886 7.39839 8.51496 7.81717 8.78105C8.09636 8.91409 8.37554 8.9141 8.65472 8.648C8.93391 8.38191 9.21309 7.98277 9.49228 7.58363C9.77146 7.31754 10.0507 7.1845 10.3298 7.31754C10.609 7.45059 12.2841 8.11582 12.5633 8.38191C12.8425 8.51496 13.1217 8.648 13.1217 8.78105C13.1217 8.78105 13.1217 9.44628 12.9821 10.1115Z" transform="translate(12.9597 12.9597)" fill="#FAFAFA"/> <path d="M0.196998 23.295L0.131434 23.4862L0.323216 23.4223L5.52771 21.6875C7.4273 22.8471 9.47325 23.4274 11.6637 23.4274C18.134 23.4274 23.4274 18.134 23.4274 11.6637C23.4274 5.19344 18.134 -0.1 11.6637 -0.1C5.19344 -0.1 -0.1 5.19344 -0.1 11.6637C-0.1 13.9996 0.624492 16.3352 1.93021 18.2398L0.196998 23.295ZM5.87658 19.8847L5.84025 19.8665L5.80154 19.8788L2.78138 20.8398L3.73978 17.9646L3.75932 17.906L3.71562 17.8623L3.43104 17.5777C2.27704 15.8437 1.55796 13.8245 1.55796 11.6637C1.55796 6.03288 6.03288 1.55796 11.6637 1.55796C17.2945 1.55796 21.7695 6.03288 21.7695 11.6637C21.7695 17.2945 17.2945 21.7695 11.6637 21.7695C9.64222 21.7695 7.76778 21.1921 6.18227 20.039L6.17557 20.0342L6.16817 20.0305L5.87658 19.8847Z" transform="translate(7.7758 7.77582)" fill="white" stroke="white" stroke-width="0.2"/',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>WhatsApp</p>",i+="</div>",i+="</div>"),"line"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.line+'"target="_blank">',i+='<a href="'+e.object_settings.social.line+'"target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#38B900"></circle>',i+='<path d="M24 9.36561C24 4.19474 18.6178 0 12 0C5.38215 0 0 4.19474 0 9.36561C0 13.9825 4.25629 17.8606 10.0229 18.5993C10.4073 18.6785 10.9565 18.8368 11.0664 19.1797C11.1762 19.4699 11.1487 19.9184 11.0938 20.235C11.0938 20.235 10.9565 21.0528 10.9291 21.2111C10.8741 21.5013 10.6819 22.3456 11.9725 21.8443C13.2632 21.3167 18.8924 17.9398 21.3913 15.1433C23.1487 13.2702 24 11.4234 24 9.36561Z" transform="translate(7 10)" fill="white"></path> <path d="M1.0984 0H0.24714C0.10984 0 -2.09503e-07 0.105528 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.35555 0.10984 5.43469 0.24714 5.43469H1.0984C1.2357 5.43469 1.34554 5.32917 1.34554 5.22364V0.211056C1.34554 0.105528 1.2357 0 1.0984 0Z" transform="translate(15.4577 16.8593)" fill="#38B900" class="color-element"></path> <path d="M4.66819 0H3.81693C3.67963 0 3.56979 0.105528 3.56979 0.211056V3.19222L1.18078 0.0791458C1.18078 0.0791458 1.18078 0.0527642 1.15332 0.0527642C1.15332 0.0527642 1.15332 0.0527641 1.12586 0.0263821C1.12586 0.0263821 1.12586 0.0263821 1.0984 0.0263821H0.247139C0.10984 0.0263821 4.19006e-07 0.13191 4.19006e-07 0.237438V5.25002C4.19006e-07 5.38193 0.10984 5.46108 0.247139 5.46108H1.0984C1.2357 5.46108 1.34554 5.35555 1.34554 5.25002V2.26885L3.73455 5.38193C3.76201 5.40831 3.76201 5.43469 3.78947 5.43469C3.78947 5.43469 3.78947 5.43469 3.81693 5.43469C3.81693 5.43469 3.81693 5.43469 3.84439 5.43469C3.87185 5.43469 3.87185 5.43469 3.89931 5.43469H4.75057C4.88787 5.43469 4.99771 5.32917 4.99771 5.22364V0.211056C4.91533 0.105528 4.80549 0 4.66819 0Z" transform="translate(17.6819 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.62471 4.22112H1.34554V0.237438C1.34554 0.105528 1.2357 0 1.0984 0H0.24714C0.10984 0 -5.23757e-08 0.105528 -5.23757e-08 0.237438V5.25002C-5.23757e-08 5.30278 0.0274599 5.35555 0.0549198 5.40831C0.10984 5.43469 0.16476 5.46108 0.21968 5.46108H3.56979C3.70709 5.46108 3.78947 5.35555 3.78947 5.22364V4.4058C3.87185 4.32665 3.76201 4.22112 3.62471 4.22112Z" transform="translate(10.8993 16.8593)" fill="#38B900" class="color-element"></path> <path d="M3.56979 1.29272C3.70709 1.29272 3.78947 1.18719 3.78947 1.05528V0.237438C3.78947 0.105528 3.67963 -1.00639e-07 3.56979 -1.00639e-07H0.219679C0.164759 -1.00639e-07 0.10984 0.0263821 0.0549199 0.0527641C0.02746 0.105528 -2.09503e-07 0.158292 -2.09503e-07 0.211056V5.22364C-2.09503e-07 5.2764 0.02746 5.32917 0.0549199 5.38193C0.10984 5.40831 0.164759 5.43469 0.219679 5.43469H3.56979C3.70709 5.43469 3.78947 5.32917 3.78947 5.19726V4.37941C3.78947 4.2475 3.67963 4.14198 3.56979 4.14198H1.29062V3.29775H3.56979C3.70709 3.29775 3.78947 3.19222 3.78947 3.06031V2.24247C3.78947 2.11056 3.67963 2.00503 3.56979 2.00503H1.29062V1.16081H3.56979V1.29272Z" transform="translate(23.421 16.8329)" fill="#38B900" class="color-element"></path>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>Line</p>",i+="</div>",i+="</div>"),"wechat"==t&&(i+='<div class="chaty-widget-i" data-title="'+e.object_settings.social.wechat+'"target="_blank">',i+='<a href="weixin://dl/chat?'+e.object_settings.social.wechat+'"target="_blank">',i+='<svg class="ico_d" width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">',i+='<circle class="color-element" cx="19.5" cy="19.5" r="19.5" fill="#45DC00"></circle>',i+='<path d="M17.3707 6.90938C15.0508 7.03077 13.0281 7.71242 11.3888 9.26248C9.73039 10.8312 8.97307 12.7455 9.18397 15.1172C8.27327 15.0052 7.44884 14.8838 6.61482 14.8184C6.32723 14.7904 5.99171 14.8278 5.74246 14.9585C4.93721 15.4067 4.16071 15.9016 3.24042 16.4619C3.41298 15.7242 3.51843 15.0705 3.71015 14.4449C3.85395 13.9874 3.78685 13.7353 3.35546 13.4364C0.584998 11.5222 -0.594125 8.65553 0.287821 5.69547C1.10266 2.95952 3.09663 1.30674 5.80957 0.447674C9.50991 -0.728879 13.68 0.475687 15.9232 3.33303C16.738 4.36952 17.2365 5.53673 17.3707 6.90938ZM6.69152 5.98494C6.71069 5.44336 6.23137 4.95779 5.65619 4.93912C5.07142 4.92044 4.5921 5.35932 4.57293 5.91958C4.55375 6.48918 5.00431 6.94673 5.58908 6.95607C6.18344 6.97474 6.67234 6.53587 6.69152 5.98494ZM12.2612 4.93912C11.686 4.94846 11.2067 5.42468 11.2163 5.96627C11.2259 6.52653 11.7052 6.9654 12.29 6.9654C12.8843 6.95607 13.3253 6.51719 13.3253 5.93825C13.3157 5.37799 12.846 4.92978 12.2612 4.93912Z" transform="translate(7 9)" fill="white"></path><path d="M12.48 13.2605C11.7418 12.943 11.0708 12.4668 10.3518 12.3921C9.63283 12.3174 8.88509 12.7189 8.13735 12.7936C5.8558 13.0177 3.8139 12.4014 2.13629 10.8887C-1.06556 8.00334 -0.605416 3.57726 3.09492 1.21482C6.38305 -0.886168 11.2146 -0.185839 13.5345 2.72753C15.5572 5.26739 15.3175 8.64764 12.8538 10.786C12.1349 11.4023 11.876 11.9158 12.3362 12.7282C12.4225 12.8776 12.432 13.0737 12.48 13.2605ZM4.11108 5.3701C4.58081 5.3701 4.96426 5.01527 4.98344 4.56706C5.00261 4.09084 4.60957 3.68932 4.12066 3.68932C3.63176 3.68932 3.22913 4.09084 3.2483 4.55772C3.26748 5.00593 3.65093 5.3701 4.11108 5.3701ZM9.5082 3.68932C9.05764 3.68932 8.6646 4.04415 8.64543 4.49236C8.62626 4.96858 9.00971 5.36077 9.48903 5.36077C9.95876 5.36077 10.3326 5.01527 10.3422 4.55772C10.371 4.09084 9.98752 3.68932 9.5082 3.68932Z" transform="translate(17.1057 16.7395)" fill="white"></path>',i+="</svg>",i+="</a>",i+='<div class="chaty-widget-i-title">',i+="<p>WeChat</p>",i+="</div>",i+="</div>")}),i}function a(a,o){var s=a.object_settings.device,l="";if("right"==a.object_settings.position)l="left: auto;bottom: 25px; right: 25px;";else if("left"==a.object_settings.position)l="right: auto; bottom: 25px; left: 25px;";else if("custom"==a.object_settings.position){var c=a.object_settings.pos_side,n=a.object_settings.bot,r=a.object_settings.side;l="right"===c?"left: auto; bottom: "+n+"px; right: "+r+"px":"left: "+r+"px; bottom: "+n+"px; right: auto"}var C=a.object_settings.cta,d="",h=a.object_settings.social;Object.keys(h).length>=2&&(d='<div class="chaty-widget '+o+" "+s+' " style="display:block; '+l+'">',d+='<div class="chaty-widget-is" id="transition_disabled">'),d+=i(a);var h=a.object_settings.social;if(Object.keys(h).length>=2){d+="</div>",d+='<div class="i-trigger">';var g=e("display_cta");if(""!=C&&"none"!=g)var p="true";else p="no-tooltip";d+='<div class="chaty-widget-i i-trigger-open '+p+' ">',d+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">',d+='<ellipse class="color-element" cx="26" cy="26" rx="26" ry="26" fill="'+a.object_settings.color+'"/>',d+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538V16.0615C0 18.27 1.8 20.0769 4 20.0769H18.6L24.4 25.8992C24.6 26.1 24.8 26.1 25.2 26.1C25.4 26.1 25.4 26.1 25.6 26.1C26 25.8992 26.2 25.4977 26.2 25.0962V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(8 18.0691)" fill="white"/>',d+='<path d="M22 0H4C1.8 0 0 1.80692 0 4.01538H16C19.4 4.01538 22 6.62538 22 10.0385V23.49L24.2 25.6985C24.4 25.8992 24.6 25.8992 25 25.8992C25.2 25.8992 25.2 25.8992 25.4 25.8992C25.8 25.6985 26 25.2969 26 24.8954V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(13.9999 12.0461)" fill="white"/>',d+="</svg>";var g=e("display_cta");""!=C&&"none"!=g&&(d+=' <div class="chaty-widget-i-title true"> ',d+=C,d+="</div>"),d+="</div>",d+='<div class="chaty-widget-i i-trigger-close" data-title="Hide">',d+='<svg width="52" height="52" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">',d+='<ellipse cx="26" cy="26" rx="26" ry="26" fill="#A886CD"/>',d+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(18.35 15.6599) scale(0.998038 1.00196) rotate(45)" fill="white"/>',d+='<rect width="27.1433" height="3.89857" rx="1.94928" transform="translate(37.5056 18.422) scale(0.998038 1.00196) rotate(135)" fill="white"/>',d+="</svg>",d+='<div class="chaty-widget-i-title">',d+="Hide",d+="</div>",d+="</div>",d+=" </div>",Object.keys(h).length>1&&(no_active="no_active"),""!=o?1!=a.object_settings.link_active&&(d+='<div class="get '+no_active+'" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://chaty.app/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585; ">Get Widget</a></div>'):d+='<div class="get" style="opacity:0; position: absolute;width: 100%;text-align: center;"> <a href="https://chaty.app/?utm_source=wpplugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; color: #8c8585;">Get Widget</a></div>',d+="</div>"}else d='<div class="chaty-widget one_widget '+o+" "+s+' " style="display:block; '+l+'">',d+='<div class="chaty-widget-is no-tooltip">',d+="</div>",d+='<div class="i-trigger">',d+='<div class="chaty-widget-i no-tooltip i-trigger-open ">',d+=i(a),d+="</div>",""==o&&0!=i(a).length&&(d+='<div class="get" style="opacity:1; position: absolute;"> <a href="https://chaty.app/?utm_source=wppl0ugin" target="_blank" style=" font-size: 11px; top: -5px; position: relative; left: 3px; color: #8c8585;">Get Widget</a></div>'),d+=" </div>",d+="</div>";t("body").append(d)}function o(){
3
+ t("body").append('<style> .chaty-widget-i .chaty-widget-i-title p{color: #222 !important; text-decoration: none !important; margin:0 !important; padding: 0 !important } .chaty-widget-i .i-trigger a{color: #222 !important; text-decoration: none !important;} *{ -webkit-tap-highlight-color: transparent !important;} .i-trigger-open svg, .i-trigger-close svg{transition: all 0.5s} .chaty-widget-show .i-trigger-open svg,.chaty-widget-show .i-trigger-close svg{transform:rotate(180deg)}.none-widget-show .i-trigger-ope{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget-show .i-trigger-cloe{-webkit-animation: fadein 1.5s; -moz-animation: fadein 1.5s; -ms-animation: fadein 1.5s; -o-animation: fadein 1.5s; /* animation: fadein 2s; */}.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 12px), -50%);} .chaty-widget-is-right.chaty-widget .i-trigger-open.chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 12px), -50%);}.chaty-widget-is-right.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{ right: 0; left: auto; transform: translate(calc(100% + 13px), -50%);} .one_widget .i-trigger .chaty-widget-i svg{width: 56px!important; height: 55px!important;} .chaty-widget-is-right.chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: auto; right:-18px;} .chaty-widget.one_widget .chaty-widget-i:not(.no-tooltip):before{left: -18px;} .one_widget .i-trigger-open .chaty-widget-i-title { padding: 10px 10px 9px 12px!important; } .chaty-widget .chaty-widget-i.facebook.before:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.before.facebook:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto} .chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i:not(.no-tooltip).before:before{opacity: 1;} .one_widget .chaty-widget-i svg {left:-5px; position: relative;}body .chaty-widget-i-title.true{opacity: 1!important;}.chaty-widget .i-trigger-open:not(.no-tooltip):before{opacity:1!important} .chaty-widget .chaty-widget-i.facebook.active:not(.no-tooltip) .chaty-widget-i-title, .chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{ pointer-events: initial; } .chaty-widget .facebook_header{background-color: #1E88E5 ;height: 34px; border-top-left-radius: 5px; border-top-right-radius: 5px; padding-left: 9px;} .facebook .chaty-widget-i-title{padding:0!important} body .chaty-widget-i .facebook_header p{ top: -3px; font-size: 13px; color: #fff !important; position:relative;} .facebook_header svg, .facebook_header p{display: inline-block; vertical-align: bottom; margin: 0;}.chaty-widget .chaty-widget-i .facebook_header svg{ height:30px!important; width:30px!important; } .chaty-widget{ display: none !important;}@media screen and (max-width:800px){.i-trigger-close .chaty-widget-i-title{display:none;}} @media screen and (max-width:480px){ .mobile_none{display:none}.chaty-widget.mobile_active{ display: block !important; } } @media screen and (min-width:480px){ .chaty-widget.desktop_active{ display: block !important; } }.chaty-widget{position:fixed;width:62px;z-index:9999}.chaty-widget .chaty-widget-is{display:flex;flex-wrap:wrap;overflow:hidden;height:0;position:absolute; pointer-events: none; left:0;right:auto;bottom:65px; opacity:0;}#transition_disabled{-webkit-animation: none !important; -moz-animation: none !important; -ms-animation: none !important; -o-animation: none !important;-webkit-animation:none !important}@keyframes fadeout{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeout{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeout{from{opacity:1}to{opacity:0}}@-o-keyframes fadeout{from{opacity:1}to{opacity:0}}.chaty-widget .chaty-widget-is .chaty-widget-i{max-height:0;}.chaty-widget .i-trigger{position:relative;margin-top:6px}.chaty-widget .i-trigger .i-trigger-open,.chaty-widget .i-trigger .i-trigger-close{transition:all 0.2s; height: 54px;}.chaty-widget .i-trigger .i-trigger-close{position:absolute;bottom:-4px;left:0;right:0;z-index:2}.chaty-widget .i-trigger .i-trigger-open{opacity:1;pointer-events:auto}.chaty-widget .i-trigger .i-trigger-close{opacity:0;pointer-events:none}.chaty-widget:not(.chaty-widget-show) .chaty-widget-is{}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-open{opacity:0;pointer-events:none}.chaty-widget.chaty-widget-show .i-trigger .i-trigger-close{opacity:1;pointer-events:auto}.chaty-widget.chaty-widget-show .chaty-widget-is{ pointer-events: auto;overflow:visible; opacity:1; visibility: visible;}@keyframes fadein{from{opacity:0}to{opacity:1}}@-moz-keyframes fadein{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadein{from{opacity:0}to{opacity:1}}@-ms-keyframes fadein{from{opacity:0}to{opacity:1}}@-o-keyframes fadein{from{opacity:0}to{opacity:1}}.chaty-widget.chaty-widget-show .chaty-widget-is .chaty-widget-i{opacity:1;max-height:53px;overflow:visible}.chaty-widget .chaty-widget-i{flex:0 0 54px;border-radius:50%;vertical-align:top;font-size:0;position:relative;box-shadow:0px 3px 6px rgba(0,0,0,0.25);margin:4px}.chaty-widget .chaty-widget-i svg{cursor:pointer;width:54px;height:54px; position:relative;}body .i-trigger-open .chaty-widget-i-title{padding: 5px 16px 5px 17px!important; }.chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{ left: -13px!important} .chaty-widget:not(.chaty-widget-is-right) .i-trigger-open:before{} .one_widget.chaty-widget.chaty-widget-is-right .i-trigger-open:before{ right: -12px!important} body .one_widget .i-trigger-open .chaty-widget-i-title.face_title{padding:0!important}.one_widget.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{transform: translate(calc(-100% - 14px), -50%);}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:none;position:absolute;opacity:0;pointer-events:none;z-index:10}.chaty-widget .chaty-widget-i:not(.no-tooltip):before{content:"";left:-14px;top:50%;transform:translateY(-50%);height:0;width:0;z-index:11;border-width:5px 0 5px 10px;border-style:solid;border-color:transparent transparent transparent #fff}.one_widget.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:-3px;top:50%;white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip) .chaty-widget-i-title{font-size:17px;left:0;top:50%;transform:translate(calc(-100% - 13px), -50%);white-space:nowrap;padding:5px 15px;line-height:21px;color:#333;background-color:#fff;box-shadow:0 1.93465px 7.73859px rgba(0,0,0,0.15);border-radius:10px}.chaty-widget .chaty-widget-i:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i:not(.no-tooltip):hover:before{opacity:1;pointer-events:auto}.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover .chaty-widget-i-title,.chaty-widget .chaty-widget-i.facebook:not(.no-tooltip):hover:before{opacity:0;pointer-events:auto}.chaty-widget .chaty-widget-i .color-element{transition:all .2s}.chaty-widget:not(.chaty-widget-is-right) .chaty-widget-is{position:absolute;right:0;left:auto;bottom:65px;justify-content:flex-end}.chaty-widget.chaty-widget-is-right .i-trigger-open.chaty-widget-i:before{right:-13px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i:before{right:-14px;left:auto;border-width:5px 10px 5px 0;border-color:transparent #fff transparent transparent}.chaty-widget.chaty-widget-is-right .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial!important;right: auto; top: calc(100% - 484px);}.chaty-widget .chaty-widget-i.facebook.active .chaty-widget-i-title{ position: fixed; transform: initial;right: 29px; left:auto; top: calc(100% - 484px);} .one_widget.chaty-widget.chaty-widget-is-right .chaty-widget-i .chaty-widget-i-title{right:0;left:auto;transform:translate(calc(100% + 17px), -50%)!important}</style>')}var s=JSON.parse(document.currentScript.getAttribute("settings"));console.log(s);var l=new Date;""!=e("display_cta")&&function(){setInterval(function(){l.setTime(l.getTime()+1e3),document.cookie="display_cta=none; expires="+l.toGMTString()+"; path=/"},300)}(),token=s.object_settings.token,jQuery(document).ready(function(){"true"==s.object_settings.active&&(a(s,token),o()),function(){function i(){var t=l.position().top,e=l.find(".chaty-widget-is .chaty-widget-i").length;if(62*e>t){var i=Math.round(Math.sqrt(e)),a=Math.ceil(Math.sqrt(e));l.find(".chaty-widget-is").css({height:62*a,width:62*i})}else l.find(".chaty-widget-is").css({height:62*e,width:"62px"})}function a(){l.position().left<jQuery(document).width()/2&&l.addClass("chaty-widget-is-right")}function o(){t(".get").hasClass("no_active")||t(".get").css({opacity:"1"})}function s(){t(".get").hasClass("no_active")||t(".get").css({opacity:"0"})}var l=jQuery(".chaty-widget");a(),i(),jQuery(window).resize(function(){i()}),t(".chaty-widget-i.facebook").mouseenter(function(){t(".facebook_two_mess").css({opacity:"1","z-index":"1"}),t(this).addClass("before")}),t(".chaty-widget-i.facebook").mouseleave(function(){t(".facebook_two_mess").css({opacity:"0","z-index":"1"}),t(this).removeClass("before")}),t(".chaty-widget-i.facebook").on("click",function(){if(t(this).addClass("active"),t(".facebook_two_mess").hide(),t(this).children(".face_title").css({opacity:"1","z-index":"2"}).show(),t(".chaty-widget").hasClass("one_widget"))return void(t(".chaty-widget").hasClass("chaty-widget-is-right")?t(".face_title").css({top:"calc(100% - 452px)",left:"20px"}):t(".face_title").css({top:"calc(100% - 453px)",left:"auto",right:"23px"}));t(".facebook_two_mess").css({opacity:"0","z-index":"1"}),t(".ico_d").hide(),t(".chaty-widget .chaty-widget-i").css({"box-shadow":"0px 3px 6px rgba(0,0,0,0)"}),t(".chaty-widget").hasClass("one_widget")||t(".i-trigger").hide()}),t(".i-trigger-close").on("click",function(e){s(),e.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(l.removeClass("chaty-widget-show"),l.addClass("none-widget-show"))}),t("body").on("click",".close_facebook",function(){t(".facebook_two_mess").show(),t(".chaty-widget-i.facebook").removeClass("active"),t(this).parent().parent().css({opacity:"1"}).hide(),t(".i-trigger").show(),t(".chaty-widget-is .chaty-widget-i svg").show()}),t(".i-trigger-close").on("click",function(e){s(),t(".i-trigger-open").addClass("active_clos"),e.preventDefault(),t(".chaty-widget-i.facebook").hasClass("active")||(l.removeClass("chaty-widget-show"),l.addClass("none-widget-show"))});var c=e("display_cta");l.find(".i-trigger-open").mouseenter(function(){t(".chaty-widget-is").removeAttr("id"),document.cookie="display_cta=none; path=/",t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||l.hasClass("one_widget")||(a(),t(l).hasClass("chaty-widget-show")||(l.addClass("chaty-widget-show"),l.removeClass("none-widget-show")),o())}),l.find(".i-trigger-open").on("click",function(){"none"!=c&&(t(".chaty-widget").hasClass(".one_widget")||t(".i-trigger-open .chaty-widget-i-title").detach()),t(".i-trigger-open").addClass("no-tooltip"),o(),t(this).hasClass("active_clos")||t(".chaty-widget-i.facebook").hasClass("active")||l.hasClass("one_widget")||(a(),t(l).hasClass("chaty-widget-show")||(l.addClass("chaty-widget-show"),l.removeClass("none-widget-show")))}),l.find(".i-trigger-open").mouseenter(function(){t(".i-trigger-open").removeClass("active_clos")}),l.find(".chaty-widget-is").mouseleave(function(){t(".i-trigger-open").removeClass("active_clos"),t(".chaty-widget-i.facebook").hasClass("active")})}(),t(document).ready(function(){window.matchMedia("only screen and (max-width: 760px)").matches&&t(".i-trigger-open").addClass("active_clos")})})}(jQuery);
assets/js/cht-scripts.js ADDED
@@ -0,0 +1,779 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * easyModal.js v1.3.2
3
+ * A minimal jQuery modal that works with your CSS.
4
+ * Author: Flavius Matis - http://flaviusmatis.github.com/
5
+ * URL: https://github.com/flaviusmatis/easyModal.js
6
+ *
7
+ * Copyright 2012, Flavius Matis
8
+ * Released under the MIT license.
9
+ * http://flaviusmatis.github.com/license.html
10
+ */
11
+
12
+ /*jslint browser: true*/
13
+ /*global jQuery*/
14
+
15
+ (function($,sr){
16
+
17
+ // debouncing function from John Hann
18
+ // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
19
+ var debounce = function (func, threshold, execAsap) {
20
+ var timeout;
21
+
22
+ return function debounced () {
23
+ var obj = this, args = arguments;
24
+ function delayed () {
25
+ if (!execAsap)
26
+ func.apply(obj, args);
27
+ timeout = null;
28
+ };
29
+
30
+ if (timeout)
31
+ clearTimeout(timeout);
32
+ else if (execAsap)
33
+ func.apply(obj, args);
34
+
35
+ timeout = setTimeout(delayed, threshold || 100);
36
+ };
37
+ }
38
+ // smartModalResize
39
+ jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); };
40
+
41
+ })(jQuery,'smartModalResize');
42
+
43
+ (function ($) {
44
+ "use strict";
45
+ var methods = {
46
+ init: function (options) {
47
+
48
+ var defaults = {
49
+ top: 'auto',
50
+ left: 'auto',
51
+ autoOpen: false,
52
+ overlayOpacity: 0.5,
53
+ overlayColor: '#000',
54
+ overlayClose: true,
55
+ overlayParent: 'body',
56
+ closeOnEscape: true,
57
+ closeButtonClass: '.close',
58
+ transitionIn: '',
59
+ transitionOut: '',
60
+ onOpen: false,
61
+ onClose: false,
62
+ zIndex: function () {
63
+ return (function (value) {
64
+ return value === -Infinity ? 0 : value + 1;
65
+ }(Math.max.apply(Math, $.makeArray($('*').map(function () {
66
+ return $(this).css('z-index');
67
+ }).filter(function () {
68
+ return $.isNumeric(this);
69
+ }).map(function () {
70
+ return parseInt(this, 10);
71
+ })))));
72
+ },
73
+ updateZIndexOnOpen: true,
74
+ hasVariableWidth: false
75
+ };
76
+
77
+ options = $.extend(defaults, options);
78
+
79
+ return this.each(function () {
80
+
81
+ var o = options,
82
+ $overlay = $('<div class="lean-overlay"></div>'),
83
+ $modal = $(this);
84
+
85
+ $overlay.css({
86
+ 'display': 'none',
87
+ 'position': 'fixed',
88
+ // When updateZIndexOnOpen is set to true, we avoid computing the z-index on initialization,
89
+ // because the value would be replaced when opening the modal.
90
+ 'z-index': (o.updateZIndexOnOpen ? 0 : o.zIndex()),
91
+ 'top': 0,
92
+ 'left': 0,
93
+ 'height': '100%',
94
+ 'width': '100%',
95
+ 'background': o.overlayColor,
96
+ 'opacity': o.overlayOpacity,
97
+ 'overflow': 'auto'
98
+ }).appendTo(o.overlayParent);
99
+
100
+ $modal.css({
101
+ 'display': 'none',
102
+ 'position' : 'fixed',
103
+ // When updateZIndexOnOpen is set to true, we avoid computing the z-index on initialization,
104
+ // because the value would be replaced when opening the modal.
105
+ 'z-index': (o.updateZIndexOnOpen ? 0 : o.zIndex() + 1),
106
+ 'left' : parseInt(o.left, 10) > -1 ? o.left + 'px' : 50 + '%',
107
+ 'top' : parseInt(o.top, 10) > -1 ? o.top + 'px' : 50 + '%'
108
+ });
109
+
110
+ $modal.bind('openModal', function () {
111
+ var overlayZ = o.updateZIndexOnOpen ? o.zIndex() : parseInt($overlay.css('z-index'), 10),
112
+ modalZ = overlayZ + 1;
113
+
114
+ if(o.transitionIn !== '' && o.transitionOut !== ''){
115
+ $modal.removeClass(o.transitionOut).addClass(o.transitionIn);
116
+ }
117
+ $modal.css({
118
+ 'display' : 'block',
119
+ 'margin-left' : (parseInt(o.left, 10) > -1 ? 0 : -($modal.outerWidth() / 2)) + 'px',
120
+ 'margin-top' : (parseInt(o.top, 10) > -1 ? 0 : -($modal.outerHeight() / 2)) + 'px',
121
+ 'z-index': modalZ
122
+ });
123
+
124
+ $overlay.css({'z-index': overlayZ, 'display': 'block'});
125
+
126
+ if (o.onOpen && typeof o.onOpen === 'function') {
127
+ // onOpen callback receives as argument the modal window
128
+ o.onOpen($modal[0]);
129
+ }
130
+ });
131
+
132
+ $modal.bind('closeModal', function () {
133
+ if(o.transitionIn !== '' && o.transitionOut !== ''){
134
+ $modal.removeClass(o.transitionIn).addClass(o.transitionOut);
135
+ $modal.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
136
+ $modal.css('display', 'none');
137
+ $overlay.css('display', 'none');
138
+ });
139
+ }
140
+ else {
141
+ $modal.css('display', 'none');
142
+ $overlay.css('display', 'none');
143
+ }
144
+ if (o.onClose && typeof o.onClose === 'function') {
145
+ // onClose callback receives as argument the modal window
146
+ o.onClose($modal[0]);
147
+ }
148
+ });
149
+
150
+ // Close on overlay click
151
+ $overlay.click(function () {
152
+ if (o.overlayClose) {
153
+ $modal.trigger('closeModal');
154
+ }
155
+ });
156
+
157
+ $(document).keydown(function (e) {
158
+ // ESCAPE key pressed
159
+ if (o.closeOnEscape && e.keyCode === 27) {
160
+ $modal.trigger('closeModal');
161
+ }
162
+ });
163
+
164
+ $(window).smartModalResize(function(){
165
+ if (o.hasVariableWidth) {
166
+ $modal.css({
167
+ 'margin-left' : (parseInt(o.left, 10) > -1 ? 0 : -($modal.outerWidth() / 2)) + 'px',
168
+ 'margin-top' : (parseInt(o.top, 10) > -1 ? 0 : -($modal.outerHeight() / 2)) + 'px'
169
+ });
170
+ }
171
+ });
172
+
173
+ // Close when button pressed
174
+ $modal.on('click', o.closeButtonClass, function (e) {
175
+ $modal.trigger('closeModal');
176
+ e.preventDefault();
177
+ });
178
+
179
+ // Automatically open modal if option set
180
+ if (o.autoOpen) {
181
+ $modal.trigger('openModal');
182
+ }
183
+
184
+ });
185
+
186
+ }
187
+ };
188
+
189
+ $.fn.easyModal = function (method) {
190
+
191
+ // Method calling logic
192
+ if (methods[method]) {
193
+ return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
194
+ }
195
+
196
+ if (typeof method === 'object' || !method) {
197
+ return methods.init.apply(this, arguments);
198
+ }
199
+
200
+ $.error('Method ' + method + ' does not exist on jQuery.easyModal');
201
+
202
+ };
203
+
204
+ }(jQuery));
205
+ (function($) {
206
+
207
+ $(document).ready(function() {
208
+ $('input, .icon, textarea, .btn-cancel ').click(function(event) {
209
+ window.onbeforeunload = function(e) {
210
+ e = e || window.event;
211
+ e.preventDefault = true;
212
+ e.cancelBubble = true;
213
+ e.returnValue = 'Your beautiful goodbye message';
214
+ }
215
+ });
216
+
217
+ $(document).on("submit", "form", function(event){
218
+ window.onbeforeunload = null;
219
+ });
220
+
221
+ $(".preview").sticky({topSpacing:100});
222
+
223
+ $('.upg').click(function(event) {
224
+
225
+
226
+ $('.valid_domain_input').val( $('.valid_domain_input').val().replace(' ',''));
227
+ if(!/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test($('.valid_domain_input').val())){
228
+ event.preventDefault();
229
+ $('.valid_domain').fadeIn().css({
230
+ 'display': 'block',
231
+ });
232
+ }
233
+
234
+ });
235
+ $('.del_token').click(function(event) {
236
+ $.ajax({
237
+ type: 'POST',
238
+ url: ajaxurl,
239
+ data: {
240
+ 'action': 'del_token',
241
+ 'nonce_code': cht_nonce_ajax.cht_nonce,
242
+ },
243
+ success: function(bool) {
244
+ location.reload();
245
+ },
246
+ error: function (xhr,status,error) {
247
+
248
+ }
249
+ })
250
+
251
+ });
252
+
253
+ (function easyModal() {
254
+ $('.easy-modal').easyModal({
255
+ top: 150,
256
+ overlay: 0.2
257
+ });
258
+ $('.easy-modal-open').click(function(e) {
259
+ var target = $(this).attr('href');
260
+ $(target).trigger('openModal');
261
+ e.preventDefault();
262
+ });
263
+ $('.easy-modal-close').click(function(e) {
264
+ e.preventDefault();
265
+ $('.easy-modal').trigger('closeModal');
266
+ });
267
+ })();
268
+ var count_click = 1000000003;
269
+ $('.show_up').click(function(event) {
270
+ count_click = count_click +10;
271
+
272
+ $('#upgrade-modal').css({
273
+ 'z-index': count_click,
274
+ 'display': 'block',
275
+ 'margin-left': '-258px'
276
+ });
277
+ });
278
+
279
+ (function colorPicker() {
280
+ $('.color-picker-btn, .color-picker-btn-close, .color-picker-custom button').on('click', function (e) {
281
+ e.preventDefault();
282
+
283
+ $('.color-picker').toggle();
284
+ $('.color-picker-btn').toggle();
285
+ });
286
+
287
+ $('.color-picker-radio input').change(function() {
288
+ var $this = $(this);
289
+ $('.color-picker-custom input[name="cht_custom_color"]').val('');
290
+ $('.color-picker-custom .circle').html('?').css({
291
+ 'background-color': '#fff',
292
+ });
293
+ if ($this.prop('checked')) {
294
+ $('.color-picker-radio input').prop('checked', false);
295
+ $this.prop('checked', true);
296
+ var color = $this.val();
297
+ var title = $this.prop("title");
298
+ } else {
299
+ color = $('.color-picker-custom input').val();
300
+ title = 'Custom';
301
+ }
302
+
303
+ $('.color-picker-btn .circle').css({backgroundColor: color});
304
+ $('.color-picker-btn .text').text(title);
305
+ });
306
+
307
+ $('.color-picker-custom input').change(function () {
308
+ $('.color-picker-radio input').prop('checked', false);
309
+
310
+ var $this = $(this);
311
+
312
+ var color = $this.val();
313
+
314
+ $('.color-picker-btn .circle').css({backgroundColor: color});
315
+ $('.color-picker-btn .text').text('Custom');
316
+ });
317
+ })();
318
+
319
+ (function customSelect() {
320
+ $('[name="cht_position"]').change(function () {
321
+ if ($('#positionCustom').prop('checked')) {
322
+ $('#positionPro').show().css({
323
+ 'display': 'inline-block',
324
+
325
+ });
326
+ } else {
327
+ $('#positionPro').hide().css({
328
+ 'display': 'none',
329
+
330
+ });
331
+ }
332
+ })
333
+ })();
334
+
335
+ (function preview() {
336
+ (function previewColor() {
337
+ $('.color-picker-radio input').change(function() {
338
+ var $this = $(this);
339
+
340
+ if ($this.prop('checked')) {
341
+ var color = $this.val();
342
+ } else {
343
+ color = $('.color-picker-custom input').val();
344
+ }
345
+
346
+ $('.preview .page svg ellipse').css({fill: color});
347
+ });
348
+
349
+ $('.color-picker-custom input').change(function () {
350
+ var $this = $(this);
351
+
352
+ var color = $this.val();
353
+
354
+ $('.preview .page svg ellipse').css({fill: color});
355
+ });
356
+ })();
357
+
358
+ (function previewTooltip() {
359
+ var $widgetTooltip = $('#widgetTooltip');
360
+ var $icon = $('.preview .page .icon');
361
+
362
+ function tooltipToggle() {
363
+ if ($('[name=cht_cta]').val().length>=1) {
364
+ $icon.removeClass('no-tooltip');
365
+ } else {
366
+ $icon.addClass('no-tooltip');
367
+ }
368
+ }
369
+
370
+ tooltipToggle();
371
+
372
+ $widgetTooltip.change(function () {
373
+ tooltipToggle();
374
+ });
375
+ })();
376
+
377
+ function previewPosition() {
378
+
379
+ var $inputPosBot = $('#positionBottom');
380
+ var $inputPosSide = $('#positionSide');
381
+ var $chatyWidget = $('.preview .page .chaty-widget');
382
+ var customSpace = '7px';
383
+
384
+ var value = $('[name="cht_position"]:checked').val();
385
+
386
+ if (value === 'right') {
387
+ $chatyWidget.css({right: customSpace, left: 'auto', bottom: '7px'});
388
+ } else if (value === 'left') {
389
+ $chatyWidget.css({left: customSpace, right: 'auto', bottom: '7px'});
390
+ } else if (value === 'custom') {
391
+
392
+ if ($inputPosBot.val()) {
393
+ var positionBottom = $inputPosBot.val() + 'px';
394
+ } else {
395
+ positionBottom = customSpace;
396
+ }
397
+
398
+ if ($inputPosSide.val()) {
399
+ var positionSide = $inputPosSide.val() + 'px';
400
+ } else {
401
+ positionSide = customSpace;
402
+ }
403
+
404
+ $inputPosBot.change(function () {
405
+ positionBottom = $('#positionBottom').val() + 'px';
406
+
407
+ $chatyWidget.css({bottom: positionBottom});
408
+ });
409
+
410
+ $inputPosSide.change(function () {
411
+
412
+ var valueCustom = $('[name="positionSide"]:checked').val();
413
+ positionSide = $(this).val() + 'px';
414
+
415
+ if (valueCustom === 'right') {
416
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left')
417
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right')
418
+ $chatyWidget.css({right: positionSide, left: 'auto'});
419
+ } else if (valueCustom === 'left') {
420
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right')
421
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left')
422
+ $chatyWidget.css({left: positionSide, right: 'auto'});
423
+ }
424
+ });
425
+
426
+ $('[name="positionSide"]').change(function () {
427
+ var valueCustom = $('[name="positionSide"]:checked').val();
428
+
429
+ if (valueCustom === 'right') {
430
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left')
431
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right')
432
+ $chatyWidget.css({right: positionSide, left: 'auto'});
433
+ } else if (valueCustom === 'left') {
434
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right')
435
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left')
436
+ $chatyWidget.css({left: positionSide, right: 'auto'});
437
+ }
438
+ })
439
+ }
440
+ $('[name="cht_position"]').change(function () {
441
+ if ($('#positionCustom').prop('checked')) {
442
+ var $inputPosBot = $('#positionBottom');
443
+ var $inputPosSide = $('#positionSide');
444
+ var $chatyWidget = $('.preview .page .chaty-widget');
445
+ $chatyWidget.css({bottom: positionBottom});
446
+ var valueCustom = $('[name="positionSide"]:checked').val();
447
+ positionSide = $('#positionSide').val() + 'px';
448
+ if (valueCustom === 'right') {
449
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left')
450
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right')
451
+ $chatyWidget.css({right: positionSide, left: 'auto'});
452
+ } else if (valueCustom === 'left') {
453
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right')
454
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left')
455
+ $chatyWidget.css({left: positionSide, right: 'auto'});
456
+ }
457
+ };
458
+ });
459
+ }
460
+
461
+ previewPosition();
462
+
463
+
464
+
465
+ $('[name="cht_position"]').change(function () {
466
+ var valueCustom = $('[name="cht_position"]:checked').val();
467
+
468
+ if (valueCustom === 'right') {
469
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-left')
470
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-right')
471
+
472
+ } else if (valueCustom === 'left') {
473
+
474
+ $('.page-body .chaty-widget ').removeClass('chaty-widget-icons-right')
475
+ $('.page-body .chaty-widget ').addClass('chaty-widget-icons-left')}
476
+ previewPosition();
477
+ });
478
+ })();
479
+
480
+
481
+ /**
482
+ * add Token
483
+ */
484
+
485
+ var AddTokenBtn = $('.update_token');
486
+
487
+ AddTokenBtn.on('click', function (e) {
488
+ e.preventDefault();
489
+ var token = $('input[name="cht_token"]').val();
490
+
491
+ $.ajax({
492
+ type: 'POST',
493
+ url: ajaxurl,
494
+ data: {
495
+ 'action': 'add_token',
496
+ 'nonce_code': cht_nonce_ajax.cht_nonce,
497
+ 'token' : token
498
+ },
499
+ beforeSend: function( xhr ) {
500
+
501
+ },
502
+ success: function(bool) {
503
+
504
+ if(bool){
505
+ alert('Your pro plan is activated')
506
+ location.reload();
507
+ }else{
508
+ alert('You`ve entered a wrong token');
509
+ }
510
+ },
511
+ error: function (xhr,status,error) {
512
+
513
+ }
514
+ });
515
+ });
516
+ $('textarea[name=cht_cta]').keyup(function(event) {
517
+ $('.tooltiptext').html($(this).val());
518
+ if($(this).val().length == 0){
519
+ $('.cta').hide(200);
520
+ $('.tooltiptext').hide(200)
521
+
522
+ }else{
523
+
524
+ $('.cta').show(300);
525
+ $('.tooltiptext').show(200)
526
+
527
+ }
528
+ });
529
+
530
+
531
+ });
532
+
533
+ })(jQuery);
534
+
535
+ (function ($) {
536
+ $(document).ready(function () {
537
+ $('.popover').hide()
538
+ two_soc();
539
+
540
+ var socialIcon = $('.channels-icons > .icon-sm'),
541
+ socialInputsContainer = $('.social-inputs');
542
+
543
+ var click = 0;
544
+ $('input[name=cht_custom_color]').keyup(function(event) {
545
+ var color = $(this).val();
546
+ $('.circle').html('')
547
+ $('.color-picker-custom .circle').css({
548
+ 'background-color': color,
549
+ });
550
+ if($(this).val().length<1){
551
+ $('.color-picker-custom .circle').html('?')
552
+ }
553
+
554
+
555
+ });
556
+ socialIcon.on('click', function() {
557
+ ++click;
558
+ two_soc();
559
+
560
+ var $this = $(this),
561
+ social = $this.data('social'),
562
+ socialItem = socialInputsContainer.find('.social-form-group');
563
+
564
+ if ($this.hasClass('active')) {
565
+ var del = ','+$(this).attr("data-social");
566
+ // console.log(del);
567
+ var newlocaldata = $('.add_slug').val();
568
+ newlocaldata = newlocaldata.replace(del,'');
569
+ $('.add_slug').val(newlocaldata)
570
+ newlocaldata = newlocaldata.replace(del,'');
571
+ $('.add_slug').val(newlocaldata)
572
+ newlocaldata = newlocaldata.replace(del,'');
573
+ $('.add_slug').val(newlocaldata)
574
+ newlocaldata = newlocaldata.replace(del,'');
575
+
576
+
577
+ $('.add_slug').val(newlocaldata)
578
+
579
+ $this.toggleClass('active');
580
+ return;
581
+
582
+ } else {
583
+ socialIcon.addClass('disabled');
584
+ icon = $(this).data('social');
585
+
586
+ if ($('.add_slug').val().indexOf(icon)=='1' && $('.add_slug').val()!=''){
587
+ var del = ','+icon;
588
+ // console.log(del);
589
+ var newlocaldata = $('.add_slug').val();
590
+
591
+ newlocaldata = newlocaldata.replace(del,'');
592
+ $('.add_slug').val(newlocaldata)
593
+ newlocaldata = newlocaldata.replace(del,'');
594
+ $('.add_slug').val(newlocaldata)
595
+ newlocaldata = newlocaldata.replace(del,'');
596
+ $('.add_slug').val(newlocaldata) ;
597
+
598
+ } else{
599
+ $('.add_slug').val($('.add_slug').val()+','+$(this).attr("data-social") ) ;
600
+
601
+ }
602
+
603
+ }
604
+ /* if($('section').is("#pro")){
605
+
606
+ }else if(click >='3'){
607
+ // alert(click);
608
+ $('.popover').show().effect( "shake", {times:3}, 600 );
609
+ click = $('.channels-selected__item.free').length;
610
+ return;
611
+
612
+
613
+ }*/
614
+
615
+ if (!$('section').is("#pro") && $('.channels-icons > .icon.active').length >= 2) {
616
+ $('.popover').show().effect( "shake", {times:3}, 600 );
617
+ socialIcon.removeClass('disabled');
618
+ return;
619
+ }
620
+
621
+ $this.toggleClass('active');
622
+
623
+ if($('section').is("#pro")){
624
+ var token = 'pro';
625
+ }else{
626
+ var token = 'free';
627
+ }
628
+
629
+
630
+
631
+ $.ajax({
632
+ type: 'POST',
633
+ dataType: 'json',
634
+ url: ajaxurl,
635
+ data: {
636
+ 'action': 'choose_social',
637
+ 'social': social,
638
+ 'nonce_code': cht_nonce_ajax.cht_nonce,
639
+ 'version': token
640
+ },
641
+ beforeSend: function( xhr ) {
642
+
643
+ },
644
+ success: function(data) {
645
+ var item = $(data);
646
+ var itemName = item.find('.icon').data('title');
647
+
648
+ if (!$('.channels-selected div[data-title="'+ itemName+'"]').length) {
649
+ $('.channels-selected__item.disabled').before(item);
650
+
651
+ }
652
+
653
+ socialIcon.removeClass('disabled');
654
+ two_soc();
655
+
656
+ },
657
+ error: function (xhr,status,error) {
658
+
659
+ }
660
+ });
661
+
662
+ two_soc();
663
+
664
+ });
665
+
666
+
667
+ /**
668
+ * Cancel Btn
669
+ */
670
+ var cancelBtn = $('body');
671
+
672
+ cancelBtn.on('click', '.icon, .btn-cancel', function (e) {
673
+
674
+ e.preventDefault();
675
+
676
+ if ($(this).hasClass('icon') && $(this).hasClass('active')) {
677
+ return;
678
+ }
679
+
680
+ icon = $(this).data('social');
681
+ if($(this).hasClass('btn-cancel')){
682
+ $('.icon.active[data-social^="'+icon+'"]').removeClass('active');
683
+
684
+ var del = ','+icon;
685
+ // console.log(del);
686
+ var newlocaldata = $('.add_slug').val();
687
+ newlocaldata = newlocaldata.replace(del,'');
688
+
689
+ $('.add_slug').val(newlocaldata)
690
+ }
691
+
692
+ var del_item=$('.btn-cancel[data-social^="'+ icon+'"]').parent('.channels-selected__item');
693
+ del_item.remove();
694
+
695
+ var item = $(this).parent('.channels-selected__item'),
696
+ social = $(this).data('social');
697
+
698
+ $.ajax({
699
+ type: 'POST',
700
+ dataType: 'json',
701
+ url: ajaxurl,
702
+ data: {
703
+ 'action': 'remove_social',
704
+ 'nonce_code': cht_nonce_ajax.cht_nonce,
705
+ 'social': social
706
+ },
707
+ beforeSend: function( xhr ) {
708
+
709
+ },
710
+ success: function(bool) {
711
+ if (bool) {
712
+ item.remove();
713
+ del_item.remove();
714
+
715
+
716
+ $('.icon-sm').each(function() {
717
+ if ($(this).data('social') === social) {
718
+ //$(this).removeClass('active');
719
+ }
720
+ });
721
+ }
722
+ },
723
+ error: function (xhr,status,error) {
724
+
725
+ }
726
+ });
727
+ two_soc();
728
+ });
729
+
730
+
731
+ function two_soc(){
732
+
733
+ if($('section').is("#pro")){
734
+ return;
735
+ }
736
+
737
+ console.log($('.channels-selected__item').length);
738
+ if($('.channels-selected__item').length <= 1) {
739
+
740
+ $('.channels-selected__item').hide();
741
+ $('.popover').hide();
742
+ }else if($('.channels-selected__item').length >= 2){
743
+ $('.channels-selected__item').show();
744
+
745
+ }
746
+ }
747
+ $('.btn-help').click(function(event) {
748
+ window.open(
749
+ 'https://chaty.app/help',
750
+ '_blank' // <- This is what makes it open in a new window.
751
+ );
752
+ });
753
+
754
+ });
755
+ })(jQuery);
756
+ (function ($) {
757
+ $(document).ready(function() {
758
+
759
+ var freeCustomInput = $('.free-custom-radio, .free-custom-checkbox');
760
+
761
+ freeCustomInput.on('click', function(e) {
762
+ e.preventDefault();
763
+ });
764
+
765
+ var chatyCta = $('[name=cht_cta]');
766
+ var toolTip = $('.preview .tooltip-show');
767
+
768
+ chatyCta.keyup(function(){
769
+ var $icon = $('.preview .page .icon');
770
+ if(chatyCta.val().length>=1){
771
+ $icon.removeClass('no-tooltip');
772
+ } else {
773
+ $icon.addClass('no-tooltip');
774
+ }
775
+ toolTip.attr('data-title', chatyCta.val());
776
+ });
777
+
778
+ });
779
+ })(jQuery);
assets/js/cht-scripts.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){var o=function(e,t,o){var n;return function(){function a(){o||e.apply(i,c),n=null}var i=this,c=arguments;n?clearTimeout(n):o&&e.apply(i,c),n=setTimeout(a,t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",o(e)):this.trigger(t)}}(jQuery,"smartModalResize"),function(e){"use strict";var t={init:function(t){var o={top:"auto",left:"auto",autoOpen:!1,overlayOpacity:.5,overlayColor:"#000",overlayClose:!0,overlayParent:"body",closeOnEscape:!0,closeButtonClass:".close",transitionIn:"",transitionOut:"",onOpen:!1,onClose:!1,zIndex:function(){return function(e){return e===-1/0?0:e+1}(Math.max.apply(Math,e.makeArray(e("*").map(function(){return e(this).css("z-index")}).filter(function(){return e.isNumeric(this)}).map(function(){return parseInt(this,10)}))))},updateZIndexOnOpen:!0,hasVariableWidth:!1};return t=e.extend(o,t),this.each(function(){var o=t,n=e('<div class="lean-overlay"></div>'),a=e(this);n.css({display:"none",position:"fixed","z-index":o.updateZIndexOnOpen?0:o.zIndex(),top:0,left:0,height:"100%",width:"100%",background:o.overlayColor,opacity:o.overlayOpacity,overflow:"auto"}).appendTo(o.overlayParent),a.css({display:"none",position:"fixed","z-index":o.updateZIndexOnOpen?0:o.zIndex()+1,left:parseInt(o.left,10)>-1?o.left+"px":"50%",top:parseInt(o.top,10)>-1?o.top+"px":"50%"}),a.bind("openModal",function(){var e=o.updateZIndexOnOpen?o.zIndex():parseInt(n.css("z-index"),10),t=e+1;""!==o.transitionIn&&""!==o.transitionOut&&a.removeClass(o.transitionOut).addClass(o.transitionIn),a.css({display:"block","margin-left":(parseInt(o.left,10)>-1?0:-a.outerWidth()/2)+"px","margin-top":(parseInt(o.top,10)>-1?0:-a.outerHeight()/2)+"px","z-index":t}),n.css({"z-index":e,display:"block"}),o.onOpen&&"function"==typeof o.onOpen&&o.onOpen(a[0])}),a.bind("closeModal",function(){""!==o.transitionIn&&""!==o.transitionOut?(a.removeClass(o.transitionIn).addClass(o.transitionOut),a.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){a.css("display","none"),n.css("display","none")})):(a.css("display","none"),n.css("display","none")),o.onClose&&"function"==typeof o.onClose&&o.onClose(a[0])}),n.click(function(){o.overlayClose&&a.trigger("closeModal")}),e(document).keydown(function(e){o.closeOnEscape&&27===e.keyCode&&a.trigger("closeModal")}),e(window).smartModalResize(function(){o.hasVariableWidth&&a.css({"margin-left":(parseInt(o.left,10)>-1?0:-a.outerWidth()/2)+"px","margin-top":(parseInt(o.top,10)>-1?0:-a.outerHeight()/2)+"px"})}),a.on("click",o.closeButtonClass,function(e){a.trigger("closeModal"),e.preventDefault()}),o.autoOpen&&a.trigger("openModal")})}};e.fn.easyModal=function(o){return t[o]?t[o].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof o&&o?void e.error("Method "+o+" does not exist on jQuery.easyModal"):t.init.apply(this,arguments)}}(jQuery),function(e){e(document).ready(function(){e("input, .icon, textarea, .btn-cancel ").click(function(e){window.onbeforeunload=function(e){e=e||window.event,e.preventDefault=!0,e.cancelBubble=!0,e.returnValue="Your beautiful goodbye message"}}),e(document).on("submit","form",function(e){window.onbeforeunload=null}),e(".preview").sticky({topSpacing:100}),e(".upg").click(function(t){e(".valid_domain_input").val(e(".valid_domain_input").val().replace(" ","")),/^(http(s)?:\/\/)?(www\.)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/.test(e(".valid_domain_input").val())||(t.preventDefault(),e(".valid_domain").fadeIn().css({display:"block"}))}),e(".del_token").click(function(t){e.ajax({type:"POST",url:ajaxurl,data:{action:"del_token",nonce_code:cht_nonce_ajax.cht_nonce},success:function(e){location.reload()},error:function(e,t,o){}})}),function(){e(".easy-modal").easyModal({top:150,overlay:.2}),e(".easy-modal-open").click(function(t){var o=e(this).attr("href");e(o).trigger("openModal"),t.preventDefault()}),e(".easy-modal-close").click(function(t){t.preventDefault(),e(".easy-modal").trigger("closeModal")})}();var t=1000000003;e(".show_up").click(function(o){t+=10,e("#upgrade-modal").css({"z-index":t,display:"block","margin-left":"-258px"})}),function(){e(".color-picker-btn, .color-picker-btn-close, .color-picker-custom button").on("click",function(t){t.preventDefault(),e(".color-picker").toggle(),e(".color-picker-btn").toggle()}),e(".color-picker-radio input").change(function(){var t=e(this);if(e('.color-picker-custom input[name="cht_custom_color"]').val(""),e(".color-picker-custom .circle").html("?").css({"background-color":"#fff"}),t.prop("checked")){e(".color-picker-radio input").prop("checked",!1),t.prop("checked",!0);var o=t.val(),n=t.prop("title")}else o=e(".color-picker-custom input").val(),n="Custom";e(".color-picker-btn .circle").css({backgroundColor:o}),e(".color-picker-btn .text").text(n)}),e(".color-picker-custom input").change(function(){e(".color-picker-radio input").prop("checked",!1);var t=e(this),o=t.val();e(".color-picker-btn .circle").css({backgroundColor:o}),e(".color-picker-btn .text").text("Custom")})}(),function(){e('[name="cht_position"]').change(function(){e("#positionCustom").prop("checked")?e("#positionPro").show().css({display:"inline-block"}):e("#positionPro").hide().css({display:"none"})})}(),function(){function t(){var t=e("#positionBottom"),o=e("#positionSide"),n=e(".preview .page .chaty-widget"),a=e('[name="cht_position"]:checked').val();if("right"===a)n.css({right:"7px",left:"auto",bottom:"7px"});else if("left"===a)n.css({left:"7px",right:"auto",bottom:"7px"});else if("custom"===a){if(t.val())var i=t.val()+"px";else i="7px";if(o.val())var c=o.val()+"px";else c="7px";t.change(function(){i=e("#positionBottom").val()+"px",n.css({bottom:i})}),o.change(function(){var t=e('[name="positionSide"]:checked').val();c=e(this).val()+"px","right"===t?(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),n.css({right:c,left:"auto"})):"left"===t&&(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),n.css({left:c,right:"auto"}))}),e('[name="positionSide"]').change(function(){var t=e('[name="positionSide"]:checked').val();"right"===t?(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),n.css({right:c,left:"auto"})):"left"===t&&(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),n.css({left:c,right:"auto"}))})}e('[name="cht_position"]').change(function(){if(e("#positionCustom").prop("checked")){var t=(e("#positionBottom"),e("#positionSide"),e(".preview .page .chaty-widget"));t.css({bottom:i});var o=e('[name="positionSide"]:checked').val();c=e("#positionSide").val()+"px","right"===o?(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-right"),t.css({right:c,left:"auto"})):"left"===o&&(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-left"),t.css({left:c,right:"auto"}))}})}!function(){e(".color-picker-radio input").change(function(){var t=e(this);if(t.prop("checked"))var o=t.val();else o=e(".color-picker-custom input").val();e(".preview .page svg ellipse").css({fill:o})}),e(".color-picker-custom input").change(function(){var t=e(this),o=t.val();e(".preview .page svg ellipse").css({fill:o})})}(),function(){function t(){e("[name=cht_cta]").val().length>=1?n.removeClass("no-tooltip"):n.addClass("no-tooltip")}var o=e("#widgetTooltip"),n=e(".preview .page .icon");t(),o.change(function(){t()})}(),t(),e('[name="cht_position"]').change(function(){var o=e('[name="cht_position"]:checked').val();"right"===o?(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-left"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-right")):"left"===o&&(e(".page-body .chaty-widget ").removeClass("chaty-widget-icons-right"),e(".page-body .chaty-widget ").addClass("chaty-widget-icons-left")),t()})}(),e(".update_token").on("click",function(t){t.preventDefault();var o=e('input[name="cht_token"]').val();e.ajax({type:"POST",url:ajaxurl,data:{action:"add_token",nonce_code:cht_nonce_ajax.cht_nonce,token:o},beforeSend:function(e){},success:function(e){e?(alert("Your pro plan is activated"),location.reload()):alert("You`ve entered a wrong token")},error:function(e,t,o){}})}),e("textarea[name=cht_cta]").keyup(function(t){e(".tooltiptext").html(e(this).val()),0==e(this).val().length?(e(".cta").hide(200),e(".tooltiptext").hide(200)):(e(".cta").show(300),e(".tooltiptext").show(200))})})}(jQuery),function(e){e(document).ready(function(){function t(){e("section").is("#pro")||(console.log(e(".channels-selected__item").length),e(".channels-selected__item").length<=1?(e(".channels-selected__item").hide(),e(".popover").hide()):e(".channels-selected__item").length>=2&&e(".channels-selected__item").show())}e(".popover").hide(),t();var o=e(".channels-icons > .icon-sm"),n=e(".social-inputs"),a=0;e("input[name=cht_custom_color]").keyup(function(t){var o=e(this).val();e(".circle").html(""),e(".color-picker-custom .circle").css({"background-color":o}),e(this).val().length<1&&e(".color-picker-custom .circle").html("?")}),o.on("click",function(){++a,t();var i=e(this),c=i.data("social");n.find(".social-form-group");if(i.hasClass("active")){var s=","+e(this).attr("data-social"),l=e(".add_slug").val();return l=l.replace(s,""),e(".add_slug").val(l),l=l.replace(s,""),e(".add_slug").val(l),l=l.replace(s,""),e(".add_slug").val(l),l=l.replace(s,""),e(".add_slug").val(l),void i.toggleClass("active")}if(o.addClass("disabled"),icon=e(this).data("social"),"1"==e(".add_slug").val().indexOf(icon)&&""!=e(".add_slug").val()){var s=","+icon,l=e(".add_slug").val();l=l.replace(s,""),e(".add_slug").val(l),l=l.replace(s,""),e(".add_slug").val(l),l=l.replace(s,""),e(".add_slug").val(l)}else e(".add_slug").val(e(".add_slug").val()+","+e(this).attr("data-social"));if(!e("section").is("#pro")&&e(".channels-icons > .icon.active").length>=2)return e(".popover").show().effect("shake",{times:3},600),void o.removeClass("disabled");if(i.toggleClass("active"),e("section").is("#pro"))var r="pro";else var r="free";e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"choose_social",social:c,nonce_code:cht_nonce_ajax.cht_nonce,version:r},beforeSend:function(e){},success:function(n){var a=e(n),i=a.find(".icon").data("title");e('.channels-selected div[data-title="'+i+'"]').length||e(".channels-selected__item.disabled").before(a),o.removeClass("disabled"),t()},error:function(e,t,o){}}),t()}),e("body").on("click",".icon, .btn-cancel",function(o){if(o.preventDefault(),!e(this).hasClass("icon")||!e(this).hasClass("active")){if(icon=e(this).data("social"),e(this).hasClass("btn-cancel")){e('.icon.active[data-social^="'+icon+'"]').removeClass("active");var n=","+icon,a=e(".add_slug").val();a=a.replace(n,""),e(".add_slug").val(a)}var i=e('.btn-cancel[data-social^="'+icon+'"]').parent(".channels-selected__item");i.remove();var c=e(this).parent(".channels-selected__item"),s=e(this).data("social");e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"remove_social",nonce_code:cht_nonce_ajax.cht_nonce,social:s},beforeSend:function(e){},success:function(t){t&&(c.remove(),i.remove(),e(".icon-sm").each(function(){e(this).data("social")}))},error:function(e,t,o){}}),t()}}),e(".btn-help").click(function(e){window.open("https://chaty.app/help","_blank")})})}(jQuery),function(e){e(document).ready(function(){e(".free-custom-radio, .free-custom-checkbox").on("click",function(e){e.preventDefault()});var t=e("[name=cht_cta]"),o=e(".preview .tooltip-show");t.keyup(function(){var n=e(".preview .page .icon");t.val().length>=1?n.removeClass("no-tooltip"):n.addClass("no-tooltip"),o.attr("data-title",t.val())})})}(jQuery);
assets/js/jquery.sticky.js ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Sticky Plugin v1.0.4 for jQuery
2
+ // =============
3
+ // Author: Anthony Garand
4
+ // Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
5
+ // Improvements by Leonardo C. Daronco (daronco)
6
+ // Created: 02/14/2011
7
+ // Date: 07/20/2015
8
+ // Website: http://stickyjs.com/
9
+ // Description: Makes an element on the page stick on the screen as you scroll
10
+ // It will only set the 'top' and 'position' of your element, you
11
+ // might need to adjust the width in some cases.
12
+
13
+ (function (factory) {
14
+ if (typeof define === 'function' && define.amd) {
15
+ // AMD. Register as an anonymous module.
16
+ define(['jquery'], factory);
17
+ } else if (typeof module === 'object' && module.exports) {
18
+ // Node/CommonJS
19
+ module.exports = factory(require('jquery'));
20
+ } else {
21
+ // Browser globals
22
+ factory(jQuery);
23
+ }
24
+ }(function ($) {
25
+ var slice = Array.prototype.slice; // save ref to original slice()
26
+ var splice = Array.prototype.splice; // save ref to original slice()
27
+
28
+ var defaults = {
29
+ topSpacing: 0,
30
+ bottomSpacing: 0,
31
+ className: 'is-sticky',
32
+ wrapperClassName: 'sticky-wrapper',
33
+ center: false,
34
+ getWidthFrom: '',
35
+ widthFromWrapper: true, // works only when .getWidthFrom is empty
36
+ responsiveWidth: false,
37
+ zIndex: 'inherit'
38
+ },
39
+ $window = $(window),
40
+ $document = $(document),
41
+ sticked = [],
42
+ windowHeight = $window.height(),
43
+ scroller = function() {
44
+ var scrollTop = $window.scrollTop(),
45
+ documentHeight = $document.height(),
46
+ dwh = documentHeight - windowHeight,
47
+ extra = (scrollTop > dwh) ? dwh - scrollTop : 0;
48
+
49
+ for (var i = 0, l = sticked.length; i < l; i++) {
50
+ var s = sticked[i],
51
+ elementTop = s.stickyWrapper.offset().top,
52
+ etse = elementTop - s.topSpacing - extra;
53
+
54
+ //update height in case of dynamic content
55
+ s.stickyWrapper.css('height', s.stickyElement.outerHeight());
56
+
57
+ if (scrollTop <= etse) {
58
+ if (s.currentTop !== null) {
59
+ s.stickyElement
60
+ .css({
61
+ 'width': '',
62
+ 'position': '',
63
+ 'top': '',
64
+ 'z-index': ''
65
+ });
66
+ s.stickyElement.parent().removeClass(s.className);
67
+ s.stickyElement.trigger('sticky-end', [s]);
68
+ s.currentTop = null;
69
+ }
70
+ }
71
+ else {
72
+ var newTop = documentHeight - s.stickyElement.outerHeight()
73
+ - s.topSpacing - s.bottomSpacing - scrollTop - extra;
74
+ if (newTop < 0) {
75
+ newTop = newTop + s.topSpacing;
76
+ } else {
77
+ newTop = s.topSpacing;
78
+ }
79
+ if (s.currentTop !== newTop) {
80
+ var newWidth;
81
+ if (s.getWidthFrom) {
82
+ padding = s.stickyElement.innerWidth() - s.stickyElement.width();
83
+ newWidth = $(s.getWidthFrom).width() - padding || null;
84
+ } else if (s.widthFromWrapper) {
85
+ newWidth = s.stickyWrapper.width();
86
+ }
87
+ if (newWidth == null) {
88
+ newWidth = s.stickyElement.width();
89
+ }
90
+ s.stickyElement
91
+ .css('width', newWidth)
92
+ .css('position', 'fixed')
93
+ .css('top', newTop)
94
+ .css('z-index', s.zIndex);
95
+
96
+ s.stickyElement.parent().addClass(s.className);
97
+
98
+ if (s.currentTop === null) {
99
+ s.stickyElement.trigger('sticky-start', [s]);
100
+ } else {
101
+ // sticky is started but it have to be repositioned
102
+ s.stickyElement.trigger('sticky-update', [s]);
103
+ }
104
+
105
+ if (s.currentTop === s.topSpacing && s.currentTop > newTop || s.currentTop === null && newTop < s.topSpacing) {
106
+ // just reached bottom || just started to stick but bottom is already reached
107
+ s.stickyElement.trigger('sticky-bottom-reached', [s]);
108
+ } else if(s.currentTop !== null && newTop === s.topSpacing && s.currentTop < newTop) {
109
+ // sticky is started && sticked at topSpacing && overflowing from top just finished
110
+ s.stickyElement.trigger('sticky-bottom-unreached', [s]);
111
+ }
112
+
113
+ s.currentTop = newTop;
114
+ }
115
+
116
+ // Check if sticky has reached end of container and stop sticking
117
+ var stickyWrapperContainer = s.stickyWrapper.parent();
118
+ var unstick = (s.stickyElement.offset().top + s.stickyElement.outerHeight() >= stickyWrapperContainer.offset().top + stickyWrapperContainer.outerHeight()) && (s.stickyElement.offset().top <= s.topSpacing);
119
+
120
+ if( unstick ) {
121
+ s.stickyElement
122
+ .css('position', 'absolute')
123
+ .css('top', '')
124
+ .css('bottom', 0)
125
+ .css('z-index', '');
126
+ } else {
127
+ s.stickyElement
128
+ .css('position', 'fixed')
129
+ .css('top', newTop)
130
+ .css('bottom', '')
131
+ .css('z-index', s.zIndex);
132
+ }
133
+ }
134
+ }
135
+ },
136
+ resizer = function() {
137
+ windowHeight = $window.height();
138
+
139
+ for (var i = 0, l = sticked.length; i < l; i++) {
140
+ var s = sticked[i];
141
+ var newWidth = null;
142
+ if (s.getWidthFrom) {
143
+ if (s.responsiveWidth) {
144
+ newWidth = $(s.getWidthFrom).width();
145
+ }
146
+ } else if(s.widthFromWrapper) {
147
+ newWidth = s.stickyWrapper.width();
148
+ }
149
+ if (newWidth != null) {
150
+ s.stickyElement.css('width', newWidth);
151
+ }
152
+ }
153
+ },
154
+ methods = {
155
+ init: function(options) {
156
+ return this.each(function() {
157
+ var o = $.extend({}, defaults, options);
158
+ var stickyElement = $(this);
159
+
160
+ var stickyId = stickyElement.attr('id');
161
+ var wrapperId = stickyId ? stickyId + '-' + defaults.wrapperClassName : defaults.wrapperClassName;
162
+ var wrapper = $('<div></div>')
163
+ .attr('id', wrapperId)
164
+ .addClass(o.wrapperClassName);
165
+
166
+ stickyElement.wrapAll(function() {
167
+ if ($(this).parent("#" + wrapperId).length == 0) {
168
+ return wrapper;
169
+ }
170
+ });
171
+
172
+ var stickyWrapper = stickyElement.parent();
173
+
174
+ if (o.center) {
175
+ stickyWrapper.css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"});
176
+ }
177
+
178
+ if (stickyElement.css("float") === "right") {
179
+ stickyElement.css({"float":"none"}).parent().css({"float":"right"});
180
+ }
181
+
182
+ o.stickyElement = stickyElement;
183
+ o.stickyWrapper = stickyWrapper;
184
+ o.currentTop = null;
185
+
186
+ sticked.push(o);
187
+
188
+ methods.setWrapperHeight(this);
189
+ methods.setupChangeListeners(this);
190
+ });
191
+ },
192
+
193
+ setWrapperHeight: function(stickyElement) {
194
+ var element = $(stickyElement);
195
+ var stickyWrapper = element.parent();
196
+ if (stickyWrapper) {
197
+ stickyWrapper.css('height', element.outerHeight());
198
+ }
199
+ },
200
+
201
+ setupChangeListeners: function(stickyElement) {
202
+ if (window.MutationObserver) {
203
+ var mutationObserver = new window.MutationObserver(function(mutations) {
204
+ if (mutations[0].addedNodes.length || mutations[0].removedNodes.length) {
205
+ methods.setWrapperHeight(stickyElement);
206
+ }
207
+ });
208
+ mutationObserver.observe(stickyElement, {subtree: true, childList: true});
209
+ } else {
210
+ if (window.addEventListener) {
211
+ stickyElement.addEventListener('DOMNodeInserted', function() {
212
+ methods.setWrapperHeight(stickyElement);
213
+ }, false);
214
+ stickyElement.addEventListener('DOMNodeRemoved', function() {
215
+ methods.setWrapperHeight(stickyElement);
216
+ }, false);
217
+ } else if (window.attachEvent) {
218
+ stickyElement.attachEvent('onDOMNodeInserted', function() {
219
+ methods.setWrapperHeight(stickyElement);
220
+ });
221
+ stickyElement.attachEvent('onDOMNodeRemoved', function() {
222
+ methods.setWrapperHeight(stickyElement);
223
+ });
224
+ }
225
+ }
226
+ },
227
+ update: scroller,
228
+ unstick: function(options) {
229
+ return this.each(function() {
230
+ var that = this;
231
+ var unstickyElement = $(that);
232
+
233
+ var removeIdx = -1;
234
+ var i = sticked.length;
235
+ while (i-- > 0) {
236
+ if (sticked[i].stickyElement.get(0) === that) {
237
+ splice.call(sticked,i,1);
238
+ removeIdx = i;
239
+ }
240
+ }
241
+ if(removeIdx !== -1) {
242
+ unstickyElement.unwrap();
243
+ unstickyElement
244
+ .css({
245
+ 'width': '',
246
+ 'position': '',
247
+ 'top': '',
248
+ 'float': '',
249
+ 'z-index': ''
250
+ })
251
+ ;
252
+ }
253
+ });
254
+ }
255
+ };
256
+
257
+ // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer):
258
+ if (window.addEventListener) {
259
+ window.addEventListener('scroll', scroller, false);
260
+ window.addEventListener('resize', resizer, false);
261
+ } else if (window.attachEvent) {
262
+ window.attachEvent('onscroll', scroller);
263
+ window.attachEvent('onresize', resizer);
264
+ }
265
+
266
+ $.fn.sticky = function(method) {
267
+ if (methods[method]) {
268
+ return methods[method].apply(this, slice.call(arguments, 1));
269
+ } else if (typeof method === 'object' || !method ) {
270
+ return methods.init.apply( this, arguments );
271
+ } else {
272
+ $.error('Method ' + method + ' does not exist on jQuery.sticky');
273
+ }
274
+ };
275
+
276
+ $.fn.unstick = function(method) {
277
+ if (methods[method]) {
278
+ return methods[method].apply(this, slice.call(arguments, 1));
279
+ } else if (typeof method === 'object' || !method ) {
280
+ return methods.unstick.apply( this, arguments );
281
+ } else {
282
+ $.error('Method ' + method + ' does not exist on jQuery.sticky');
283
+ }
284
+ };
285
+ $(function() {
286
+ setTimeout(scroller, 0);
287
+ });
288
+ }));
assets/js/popper.min.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ /*
2
+ Copyright (C) Federico Zivolo 2018
3
+ Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
4
+ */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function r(e){return 11===e?re:10===e?pe:re||pe}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',n=e.nodeName;if('BODY'===n||'HTML'===n){var i=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;return r[o]}return e[o]}function f(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(t,'top'),i=l(t,'left'),r=o?-1:1;return e.top+=n*r,e.bottom+=n*r,e.left+=i*r,e.right+=i*r,e}function m(e,t){var o='x'===t?'Left':'Top',n='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+n+'Width'],10)}function h(e,t,o,n){return $(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],r(10)?o['offset'+e]+n['margin'+('Height'===e?'Top':'Left')]+n['margin'+('Height'===e?'Bottom':'Right')]:0)}function c(){var e=document.body,t=document.documentElement,o=r(10)&&getComputedStyle(t);return{height:h('Height',e,t,o),width:h('Width',e,t,o)}}function g(e){return le({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var o={};try{if(r(10)){o=e.getBoundingClientRect();var n=l(e,'top'),i=l(e,'left');o.top+=n,o.left+=i,o.bottom+=n,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?c():{},d=s.width||e.clientWidth||p.right-p.left,a=s.height||e.clientHeight||p.bottom-p.top,f=e.offsetWidth-d,h=e.offsetHeight-a;if(f||h){var u=t(e);f-=m(u,'x'),h-=m(u,'y'),p.width-=f,p.height-=h}return g(p)}function b(e,o){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],p=r(10),s='HTML'===o.nodeName,d=u(e),a=u(o),l=n(e),m=t(o),h=parseFloat(m.borderTopWidth,10),c=parseFloat(m.borderLeftWidth,10);i&&'HTML'===o.nodeName&&(a.top=$(a.top,0),a.left=$(a.left,0));var b=g({top:d.top-a.top-h,left:d.left-a.left-c,width:d.width,height:d.height});if(b.marginTop=0,b.marginLeft=0,!p&&s){var y=parseFloat(m.marginTop,10),w=parseFloat(m.marginLeft,10);b.top-=h-y,b.bottom-=h-y,b.left-=c-w,b.right-=c-w,b.marginTop=y,b.marginLeft=w}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(b=f(b,o)),b}function y(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,n=b(e,o),i=$(o.clientWidth,window.innerWidth||0),r=$(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),d={top:p-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r};return g(d)}function w(e){var n=e.nodeName;return'BODY'===n||'HTML'===n?!1:'fixed'===t(e,'position')||w(o(e))}function E(e){if(!e||!e.parentElement||r())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function v(e,t,i,r){var p=4<arguments.length&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},d=p?E(e):a(e,t);if('viewport'===r)s=y(d,p);else{var l;'scrollParent'===r?(l=n(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===r?l=e.ownerDocument.documentElement:l=r;var f=b(l,d,p);if('HTML'===l.nodeName&&!w(d)){var m=c(),h=m.height,g=m.width;s.top+=f.top-f.marginTop,s.bottom=h+f.top,s.left+=f.left-f.marginLeft,s.right=g+f.left}else s=f}return s.left+=i,s.top+=i,s.right-=i,s.bottom-=i,s}function x(e){var t=e.width,o=e.height;return t*o}function O(e,t,o,n,i){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=v(o,n,r,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){return le({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),a=d.filter(function(e){var t=e.width,n=e.height;return t>=o.clientWidth&&n>=o.clientHeight}),l=0<a.length?a[0].key:d[0].key,f=e.split('-')[1];return l+(f?'-'+f:'')}function L(e,t,o){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=n?E(t):a(t,o);return b(o,i,n)}function S(e){var t=getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),n=parseFloat(t.marginLeft)+parseFloat(t.marginRight),i={width:e.offsetWidth+n,height:e.offsetHeight+o};return i}function T(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function C(e,t,o){o=o.split('-')[0];var n=S(e),i={width:n.width,height:n.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';return i[p]=t[p]+t[d]/2-n[d]/2,i[s]=o===s?t[s]-n[a]:t[T(s)],i}function D(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var n=D(e,function(e){return e[t]===o});return e.indexOf(n)}function P(t,o,n){var i=void 0===n?t:t.slice(0,N(t,'name',n));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var n=t['function']||t.fn;t.enabled&&e(n)&&(o.offsets.popper=g(o.offsets.popper),o.offsets.reference=g(o.offsets.reference),o=n(o,t))}),o}function k(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(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=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some(function(e){var o=e.name,n=e.enabled;return n&&o===t})}function B(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function H(){return this.state.isDestroyed=!0,W(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[B('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function A(e){var t=e.ownerDocument;return t?t.defaultView:window}function M(e,t,o,i){var r='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||M(n(p.parentNode),t,o,i),i.push(p)}function I(e,t,o,i){o.updateBound=i,A(e).addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return M(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function F(){this.state.eventsEnabled||(this.state=I(this.reference,this.options,this.state,this.scheduleUpdate))}function R(e,t){return A(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(this.reference,this.state))}function Y(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function j(e,t){Object.keys(t).forEach(function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function K(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t,o){var n=D(e,function(e){var o=e.name;return o===t}),i=!!n&&e.some(function(e){return e.name===o&&e.enabled&&e.order<n.order});if(!i){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return i}function G(e){return'end'===e?'start':'start'===e?'end':e}function z(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=me.indexOf(e),n=me.slice(o+1).concat(me.slice(0,o));return t?n.reverse():n}function V(e,t,o,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],p=i[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=n;}var d=g(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?$(document.documentElement.clientHeight,window.innerHeight||0):$(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function _(e,t,o,n){var i=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(D(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,n){var i=(1===n?!r:r)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return V(e,i,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,n){Y(o)&&(i[t]+=o*('-'===e[n-1]?-1:1))})}),i}function X(e,t){var o,n=t.offset,i=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=i.split('-')[0];return o=Y(+n)?[+n,0]:_(n,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e}for(var J=Math.min,Q=Math.round,Z=Math.floor,$=Math.max,ee='undefined'!=typeof window&&'undefined'!=typeof document,te=['Edge','Trident','Firefox'],oe=0,ne=0;ne<te.length;ne+=1)if(ee&&0<=navigator.userAgent.indexOf(te[ne])){oe=1;break}var i=ee&&window.Promise,ie=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},oe))}},re=ee&&!!(window.MSInputMethodContext&&document.documentMode),pe=ee&&/MSIE 10/.test(navigator.userAgent),se=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},de=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),ae=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},le=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var n in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},fe=['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'],me=fe.slice(3),he={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ce=function(){function t(o,n){var i=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};se(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ie(this.update.bind(this)),this.options=le({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(le({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=le({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return le({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return de(t,[{key:'update',value:function(){return k.call(this)}},{key:'destroy',value:function(){return H.call(this)}},{key:'enableEventListeners',value:function(){return F.call(this)}},{key:'disableEventListeners',value:function(){return U.call(this)}}]),t}();return ce.Utils=('undefined'==typeof window?global:window).PopperUtils,ce.placements=fe,ce.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],n=t.split('-')[1];if(n){var i=e.offsets,r=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',l={start:ae({},d,r[d]),end:ae({},d,r[d]+r[a]-p[a])};e.offsets.popper=le({},p,l[n])}return e}},offset:{order:200,enabled:!0,fn:X,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var n=B('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';var a=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;var l=t.priority,f=e.offsets.popper,m={primary:function(e){var o=f[e];return f[e]<a[e]&&!t.escapeWithReference&&(o=$(f[e],a[e])),ae({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=f[o];return f[e]>a[e]&&!t.escapeWithReference&&(n=J(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]<r(n[d])&&(e.offsets.popper[d]=r(n[d])-o[a]),o[d]>r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!q(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!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 r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-u<s[m]&&(e.offsets.popper[m]-=s[m]-(d[c]-u)),d[m]+u>s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,y=t(e.instance.popper),w=parseFloat(y['margin'+f],10),E=parseFloat(y['border'+f+'Width'],10),v=b-e.offsets.popper[m]-w-E;return v=$(J(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,Q(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case he.FLIP:p=[n,i];break;case he.CLOCKWISE:p=z(n);break;case he.COUNTERCLOCKWISE:p=z(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)<f(l.right)||'top'===n&&f(a.bottom)>f(l.top)||'bottom'===n&&f(a.top)<f(l.bottom),h=f(a.left)<f(o.left),c=f(a.right)>f(o.right),g=f(a.top)<f(o.top),u=f(a.bottom)>f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,y=-1!==['top','bottom'].indexOf(n),w=!!t.flipVariations&&(y&&'start'===r&&h||y&&'end'===r&&c||!y&&'start'===r&&g||!y&&'end'===r&&u);(m||b||w)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),w&&(r=G(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!q(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=D(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.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,t){var o=t.x,n=t.y,i=e.offsets.popper,r=D(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,d,a=void 0===r?t.gpuAcceleration:r,l=p(e.instance.popper),f=u(l),m={position:i.position},h={left:Z(i.left),top:Q(i.top),bottom:Q(i.bottom),right:Z(i.right)},c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=B('transform');if(d='bottom'==c?-f.height+h.bottom:h.top,s='right'==g?-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var y='bottom'==c?-1:1,w='right'==g?-1:1;m[c]=d*y,m[g]=s*w,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=le({},E,e.attributes),e.styles=le({},m,e.styles),e.arrowStyles=le({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return j(e.instance.popper,e.styles),K(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),j(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ce});
5
+ //# sourceMappingURL=popper.min.js.map
assets/package-lock.json ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ {
2
+ "lockfileVersion": 1
3
+ }
cht-icons.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Chaty
4
+ Contributors: galdub, tomeraharon
5
+ Description: Chat with your website visitors via their favorite channels. Show a chat icon on the bottom of your site and communicate with your customers.
6
+ Author: Chaty
7
+ Author URI: https://chaty.app
8
+ Version: 1.1
9
+ License: GPL2
10
+ */
11
+
12
+
13
+ if ( ! defined( 'ABSPATH' ) ) {
14
+ exit; // don't access directly
15
+ };
16
+
17
+ define( 'CHT_FILE', __FILE__ ); // this file
18
+ define( 'CHT_OPT', 'chaty' );
19
+ define( 'CHT_DIR', dirname( CHT_FILE ) ); // our directory
20
+ define( 'CHT_ADMIN_INC', CHT_DIR . '/admin' );
21
+ define( 'CHT_FRONT_INC', CHT_DIR . '/frontend' );
22
+ define( 'CHT_INC', CHT_DIR . '/includes' );
23
+
24
+ if (!function_exists('wp_doing_ajax')) {
25
+ function wp_doing_ajax() {
26
+ /**
27
+ * Filters whether the current request is a WordPress Ajax request.
28
+ *
29
+ * @since 4.7.0
30
+ *
31
+ * @param bool $wp_doing_ajax Whether the current request is a WordPress Ajax request.
32
+ */
33
+ return apply_filters( 'wp_doing_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX );
34
+ }
35
+ }
36
+
37
+ require_once CHT_INC . '/class-cht-icons.php';
38
+ require_once CHT_FRONT_INC . '/class-frontend.php';
39
+
40
+
41
+ add_action( 'activated_plugin', 'cht_activation_redirect' );
42
+
43
+ register_activation_hook(CHT_FILE, 'cht_install', 10);
44
+ register_deactivation_hook(CHT_FILE, 'cht_uninstall' , 10);
45
+
46
+ function cht_install(){
47
+ $cht_multidimensional_options = array(
48
+ 'mobile' => '1',
49
+ 'desktop' => '1',
50
+ );
51
+
52
+ update_option('cht_devices', $cht_multidimensional_options);
53
+ update_option('cht_active','1');
54
+ update_option('cht_position','right');
55
+ update_option('cht_cta','Contact us');
56
+ update_option('cht_numb_slug',',Phone,Whatsapp');
57
+ update_option('cht_social_whatsapp','' );
58
+ update_option('cht_social_phone','');
59
+
60
+ }
61
+
62
+ function cht_uninstall(){
63
+ update_option( 'cht_numb_slug','');
64
+ update_option( 'cht_social_whatsapp','' );
65
+ update_option( 'cht_social_phone','');
66
+ }
67
+
68
+ function cht_activation_redirect( $plugin ) {
69
+ if( $plugin == plugin_basename( __FILE__ ) ) {
70
+ exit( wp_redirect( admin_url( 'admin.php?page=chaty-app' ) ) );
71
+ }
72
+ }
73
+
frontend/class-frontend.php ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace CHT\frontend;
4
+
5
+ use CHT\admin\CHT_Admin_Base;
6
+ use CHT\admin\CHT_Social_Icons;
7
+
8
+ require_once CHT_ADMIN_INC . '/class-admin-base.php';
9
+ require_once CHT_ADMIN_INC . '/class-social-icons.php';
10
+
11
+ class CHT_Frontend extends CHT_Admin_Base
12
+ {
13
+ /**
14
+ * CHT_Frontend constructor.
15
+ */
16
+ public function __construct()
17
+ {
18
+ $this->socials = CHT_Social_Icons::get_instance()->get_icons_list();
19
+ if (wp_doing_ajax()) {
20
+ add_action('wp_ajax_choose_social', array($this, 'choose_social_handler'));
21
+ add_action('wp_ajax_remove_social', array($this, 'remove_social_handler'));
22
+ add_action('wp_ajax_add_token', array($this, 'add_token'));
23
+ add_action('wp_ajax_del_token', array($this, 'del_token'));
24
+ }
25
+
26
+ add_action('wp_enqueue_scripts', array($this, 'front_styles'));
27
+ add_action('wp_enqueue_scripts', array($this, 'front_scripts'));
28
+ add_action('wp_footer', array($this, 'insert_widget'));
29
+ }
30
+
31
+ /**
32
+ * Function add token
33
+ */
34
+ public function add_token()
35
+ {
36
+ check_ajax_referer( 'cht_nonce_ajax', 'nonce_code' );
37
+ $token = (!empty($_POST['token'])) ? sanitize_text_field($_POST['token']) : null;
38
+
39
+ if ($token !== null) {
40
+ if ($this->is_pro($token)){
41
+ update_option( 'cht_token',$token, 'no' );
42
+ echo 'true';
43
+ wp_die();
44
+ }
45
+ }
46
+ echo '';
47
+ wp_die();
48
+
49
+ }
50
+
51
+ /**
52
+ * Function add token
53
+ */
54
+ public function del_token()
55
+ {
56
+ check_ajax_referer( 'cht_nonce_ajax', 'nonce_code' );
57
+ if(!$this->is_pro()){
58
+ update_option( 'cht_token','', '' );
59
+ }
60
+ echo '';
61
+ wp_die();
62
+
63
+ }
64
+ /**
65
+ *
66
+ */
67
+ public function choose_social_handler()
68
+ {
69
+ check_ajax_referer( 'cht_nonce_ajax', 'nonce_code' );
70
+ $social = (!empty($_POST['social'])) ? sanitize_text_field($_POST['social']) : null;
71
+ $version = (!empty($_POST['version'])) ? sanitize_text_field($_POST['version']) : '';
72
+
73
+ if ($social !== null) {
74
+ foreach ($this->socials as $item) {
75
+ if ($item['slug'] == $social) {
76
+ break;
77
+ }
78
+ }
79
+
80
+ if (!$item) {
81
+ return;
82
+ }
83
+
84
+ // $token = ($this->is_pro()) ? 'pro' : 'free';
85
+
86
+ $social_opt = get_option('cht_social_' . $social);
87
+ $html = '';
88
+
89
+
90
+
91
+ $html .= '<div class="channels-selected__item '.esc_attr($version).' available">';
92
+ $html .= '<div class="icon icon-md active" data-title="'. esc_attr($this->del_space($social)) .'">
93
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg" >';
94
+ $html .= $item['svg'];
95
+ $html .= '</svg>
96
+ </div>';
97
+ $html .= '<input type="text" id="'. esc_attr($social) .'" name="cht_social_'. esc_attr($social) .'" value="'. esc_attr($social_opt) .'">';
98
+ $html .= '<div class="input-example">' . __('For example:', 'chaty');
99
+ $html .= esc_html($item['example']);
100
+ $html .= '</div>';
101
+ $html .= '<button class="btn-cancel" data-social="'.esc_attr($social).'">
102
+ <svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg">
103
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(2.26764 0.0615997) rotate(45)" fill="white"/>
104
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(13.3198 1.649) rotate(135)" fill="white"/>
105
+ </svg>
106
+ </button>';
107
+ $html .= '</div>';
108
+
109
+ echo json_encode($html);
110
+ }
111
+
112
+
113
+ wp_die();
114
+ }
115
+
116
+ public function remove_social_handler()
117
+ {
118
+ // $social = isset($_POST['social']) ? $_POST['social'] : '';
119
+ // if ($social) {
120
+ // $res = delete_option('cht_social_' . $social);
121
+
122
+ // echo $res;
123
+ // }
124
+ wp_die();
125
+ }
126
+
127
+ public function front_styles()
128
+ {
129
+ // wp_enqueue_style( 'cht_widget_style', plugins_url('../assets/css/cht-widget.css', __FILE__));
130
+ }
131
+ public function front_scripts()
132
+ {
133
+ wp_enqueue_script( 'cht_widget_scripts', plugins_url('../assets/js/cht-scripts-front.min.js', __FILE__), array( 'jquery' ));
134
+
135
+ }
136
+ public function int_arr()
137
+ {
138
+
139
+ $social= get_option('cht_numb_slug');
140
+ $social = explode(",", $social);
141
+
142
+ $arr= array();
143
+ foreach ($social as $key_soc):
144
+ foreach ($this->socials as $key => $social) :
145
+ if( $social['slug'] != $key_soc){
146
+ continue;
147
+ }
148
+ if($value = get_option('cht_social_' . $social['slug'])) {
149
+ $arr[mb_strtolower($social['slug'])] = $value;
150
+ };
151
+ endforeach;
152
+ endforeach;
153
+
154
+ return json_encode($arr);
155
+ }
156
+ public function insert_widget()
157
+ {
158
+ if(get_option('cht_active')):
159
+ include_once CHT_DIR . '/views/widget.php';
160
+ endif;
161
+
162
+ }
163
+ }
164
+
165
+ new CHT_Frontend();
icon/chaty.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.75 0H2.5C1.125 0 0 1.125 0 2.5V10C0 11.375 1.125 12.5 2.5 12.5H11.625L15.25 16.125C15.375 16.25 15.5 16.25 15.75 16.25C15.875 16.25 15.875 16.25 16 16.25C16.25 16.125 16.375 15.875 16.375 15.625V2.5C16.25 1.125 15.125 0 13.75 0Z" transform="translate(0 3.75)" fill="#BDBDBD"/>
3
+ <path d="M13.75 0H2.5C1.125 0 0 1.125 0 2.5H10C12.125 2.5 13.75 4.125 13.75 6.25V14.625L15.125 16C15.25 16.125 15.375 16.125 15.625 16.125C15.75 16.125 15.75 16.125 15.875 16.125C16.125 16 16.25 15.75 16.25 15.5V2.5C16.25 1.125 15.125 0 13.75 0Z" transform="translate(3.75)" fill="#BDBDBD"/>
4
+ </svg>
includes/class-cht-icons.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class CHT_Icons *
4
+ *
5
+ * @since 1.0
6
+ */
7
+
8
+ namespace CHT\includes;
9
+
10
+ class CHT_Widget
11
+ {
12
+ protected $plugin_slug = 'chaty-app';
13
+ protected $friendly_name = 'Chaty Widget';
14
+
15
+ protected static $instance = null;
16
+
17
+ public function __construct()
18
+ {
19
+ }
20
+
21
+ public static function get_instance()
22
+ {
23
+ // If the single instance hasn't been set, set it now.
24
+ if ( null == self::$instance ) {
25
+ self::$instance = new self;
26
+ }
27
+
28
+ return self::$instance;
29
+ }
30
+
31
+ public function get_plugin_slug()
32
+ {
33
+ return $this->plugin_slug;
34
+ }
35
+
36
+ public function get_name()
37
+ {
38
+ return $this->friendly_name;
39
+ }
40
+ }
readme.txt ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Free WhatsApp, Facebook Messenger, Telegram, Email, Maps, Chat & Call button - Chaty ===
2
+ Contributors: galdub, tomeraharon
3
+ Tags: whatsapp, facebook messenger, click to chat, chat, chat button, call now button
4
+ Requires at least: 3.1
5
+ Tested up to: 4.9.8
6
+ Stable tag: 1.1
7
+ Plugin URI: https://chaty.app
8
+
9
+ Chat with your website visitors via their favorite channels.
10
+ Show a chat button on the bottom of your site and communicate with your customers.
11
+
12
+ == Description ==
13
+
14
+ Chat with your website visitors via their favorite channels.
15
+ Show a chat button on the bottom of your site and communicate with your customers.
16
+
17
+ * Get more leads and calls
18
+ * Improve your customer support
19
+ * Direct customers to your store's location
20
+
21
+ [youtube https://www.youtube.com/watch?v=rCyl93U9LRs]
22
+
23
+ = Choose from 16 different channels =
24
+ WhatsApp chat
25
+ Facebook Messenger
26
+ Email
27
+ SMS
28
+ Snapchat
29
+ Skype
30
+ Vkontakte
31
+ Phone (click to call)
32
+ Telegram
33
+ Line
34
+ WeChat
35
+ Viber
36
+ Waze
37
+ Google maps
38
+ Link to an external channel/contact page
39
+ Launch a Poptin popup
40
+
41
+ = What do you get in the Free plan? =
42
+ 1. Show up to 2 different click to chat channels.
43
+ 2. Select the location of the widget (bottom left/right)
44
+ 3. Add a custom Call-To-Action beside your widget
45
+ 4. Choose between 7 different colors
46
+
47
+ = What do you get in the Pro plan? =
48
+ Unlock the Pro features for only $2.39/month (paid annually).
49
+ You will get all the features of the free plan, plus:
50
+ 1. Show all the channels you want at the same time (16)
51
+ 2. Customize the chat button widget color with HEX code
52
+ 3. Change the location of the widget on the screen by the pixel
53
+ 4. Remove the "Get widget" link on the chat button
54
+
55
+
56
+ = How does each channel work? =
57
+ * WhatsApp chat - add your phone number and once the visitors click on the WhatsApp chat button, WhatsApp chat interface will be launched. On desktop it will launch desktop WhatsApp web interface, and on mobile it will launch the WhatsApp app conversation window.
58
+
59
+
60
+ * Facebook Messenger - add the link to your Facebook business page (fan page), and once the visitors click on the Facebook Messenger button, a chat window will appear and they will be able to send you a message. You will get the message into your Facebook page inbox.
61
+
62
+
63
+ * Email - add your business email, and once the visitors click on the email button, their email client will be launched. For example Gmail or Outlook.
64
+
65
+ * SMS - add your phone number, and let your visitors send you a direct SMS via their mobile devices.
66
+
67
+ * Snapchat - add your Snapchat username and let your visitors find you easily on Snapchat.
68
+
69
+ * Skype - add your Skype username and let your visitors call and message you easily via Skype.
70
+
71
+ * Vkontakte - is a russian online social network. Vkontakte is available in a few languages and it is very popular among Russian-speaking users. Add you Vkontakte username and let your visitors contact you directly through the app.
72
+
73
+ * Phone (click to call) - one of the most useful cases. Add your phone number and let your visitors call you in a click of a button. Call now button is very popular for mobile visitors and can help you get more calls easily.
74
+
75
+ * Telegram - is a instant messaging and voice over IP app developed by Telegram Messenger LLP. Add your Telegram username and let your visitors contact your directly via Telegram app.
76
+
77
+ * Line - Line is a free app for instant communications on desktop and mobile devices. With Line you can send texts, images, video and audio, and conduct free VoIP conversations and video conferences. Add your Line URL and let your visitors contact you easily via Line app.
78
+
79
+ * WeChat - is a Chinese multi-purpose messaging, social media and mobile payment app. Add your WeChat User ID and let your visitors message you directly via WeChat.
80
+
81
+ * Viber - is a cross-platform instant messaging and voice over IP app. Add your phone number and let you visitors call you and message your via the Viber chat button.
82
+
83
+ * Waze - is a GPS navigation app that works on smartphones and tablets with GPS support, owned by Google. Add your Waze location link and direct your visitors to your store’s location via Waze app.
84
+
85
+ * Google maps - add your business location link as it shown on Google maps, and direct your visitors to your business’ location through Google maps app.
86
+
87
+ * Link to an external channel/contact page - add a link to any web-page you want (for example, contact page) and drive more visitors to get in touch with you.
88
+
89
+ * Launch a Poptin popup - add a ‘direct link’ of your popup from your Poptin.com account, and launch a popup with a contact form when the visitor clicks on the button.
90
+
91
+ Chaty is a great chat plugin alternative to Whatshelp, Call Now Button, Call Now Icon, Quick Call Button, Lead Call Buttons, WhatsApp me, Excitel, Facebook Messenger Chat For WordPress, Fast Live Chat, Live Chat with Facebook Messenger, Zotabox, GetSiteControl, Mobile Call Now, and more.
92
+
93
+ == Installation ==
94
+ 1. Install and activate Chaty plugin on your WordPress website
95
+ 2. Choose at least one channel and click on the "SAVE CHANGES" button
96
+ 3. You're good to go! The Chaty widget will now appear on your site
97
+
98
+ == Frequently Asked Questions ==
99
+
100
+ = What’s included in the free plan? =
101
+ You can choose up to two channels (unlimited in the pro plan), display the widget on mobile and desktop, choose from 6 available colors (unlimited in the pro plan), position the widget on the left or right (custom positioning in the pro plan), custom call-to-action, and a Chaty credit (can be removed in the pro plan).
102
+
103
+ = Is there a time limit for the free plan? =
104
+ No. you can use the free plan as long as you want.
105
+
106
+ = Can I show a Click To Call button on my site?? =
107
+ Yes! Just choose the Phone icon and add your phone number.
108
+
109
+ = I don’t see the widget on my site, what should I do? =
110
+ Please make sure you’ve chosen at least one channel and clicked on the “SAVE CHANGES” button.
111
+
112
+ == Screenshots ==
113
+
114
+ 1. Add live chat widgets to your site with ease
115
+ 2. Choose from a variety of click to chat channels
116
+ 3. Add a custom call-to-action message to your widget
117
+ 4. All the popular click to chat channels included in the free plan
views/admin.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!$this->is_pro()){
3
+ if(get_option('cht_position')=='custom'){
4
+ update_option('cht_position','right');
5
+ }
6
+ $social= get_option('cht_numb_slug');
7
+ $social= explode(",", $social);
8
+ $social= array_splice($social,0, 3);
9
+ $social= implode(',',$social);
10
+ update_option('cht_numb_slug', $social);
11
+ if(get_option('cht_custom_color') !=''){
12
+ update_option('cht_custom_color' , '');
13
+ update_option('cht_color','#A886CD');
14
+ }
15
+ }
16
+ ?>
17
+
18
+ <div class="container <?php echo (!$this->is_pro() && get_option('cht_token')!='')? 'none_pro' : '' ?>" dir="ltr" >
19
+ <?php require_once 'parts/custom-styles.php'; ?>
20
+ <header class="header">
21
+ <img src="<?php echo esc_url(plugins_url('../assets/images/logo.svg', __FILE__)); ?>" alt="Chaty" class="logo">
22
+ <?php settings_errors(); ?>
23
+ <div class="ml-auto">
24
+ <?php if (!$this->is_pro && get_option('cht_token')==''): ?>
25
+ <button class="btn-white easy-modal-open" href="#token-modal">
26
+ <?php _e('Enter Token', CHT_OPT); ?>
27
+ </button>
28
+ <?php endif ?>
29
+
30
+ <?php require_once 'modals/token.php';?>
31
+
32
+ <?php if($this->data_check() && $this->is_pro()):?>
33
+ <button class="btn-red easy-modal-open" href="#upgrade-modal">
34
+ <?php _e('Renew now', CHT_OPT); ?>
35
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
36
+ <path d="M3.0746 9.2C2.5746 7 4.2746 5 6.4746 5H6.9746V6.5C6.9746 6.7 7.0746 6.9 7.2746 7C7.4746 7 7.6746 7 7.7746 6.9L10.7746 3.9C10.9746 3.7 10.9746 3.4 10.7746 3.2L7.7746 0.2C7.6746 0 7.4746 0 7.2746 0C7.0746 0.1 6.9746 0.3 6.9746 0.5V2H6.4746C2.5746 2 -0.525402 5.4 0.0745975 9.4C0.274598 10.9 1.0746 12.3 2.1746 13.3C2.3746 13.5 2.6746 13.5 2.8746 13.3L4.2746 11.9C4.4746 11.7 4.4746 11.4 4.2746 11.2C3.5746 10.6 3.1746 10 3.0746 9.2Z" fill="white"/>
37
+ <path d="M8.95 0.15C8.75 -0.0500001 8.45 -0.0500001 8.25 0.15L6.85 1.55C6.65 1.75 6.65 2.05 6.85 2.25C7.35 2.75 7.75 3.35 7.95 4.15C8.45 6.35 6.75 8.35 4.55 8.35H4.05V6.85C4.05 6.65 3.95 6.45 3.75 6.35C3.55 6.25 3.35 6.35 3.15 6.55L0.15 9.55C-0.0500001 9.75 -0.0500001 10.05 0.15 10.25L3.15 13.25C3.35 13.35 3.55 13.35 3.75 13.35C3.95 13.25 4.05 13.05 4.05 12.85V11.35H4.55C8.45 11.35 11.55 7.95 10.95 3.95C10.75 2.45 10.05 1.15 8.95 0.15Z" transform="translate(4.92456 2.64999)" fill="white"/>
38
+ </svg>
39
+ </button>
40
+ <?php if($this->is_pro): ?>
41
+ <p class="text_update" style="color:#fff; left: 0px;"><?php _e('Your Pro plan expires on', CHT_OPT);?> <?php echo date('F jS, Y', strtotime($this->data_activ())) ;?></p>
42
+ <?php endif ?>
43
+
44
+ <?php elseif( !$this->data_check() && !$this->is_pro):?>
45
+ <button class="btn-red easy-modal-open" href="#upgrade-modal">
46
+ <?php _e('Upgrade Now', CHT_OPT); ?>
47
+ <svg width="17" height="19" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
48
+ <path d="M17.4674 7.42523L11.8646 0.128021C11.7548 0.128021 11.6449 0 11.4252 0C11.3154 0 11.0956 0 10.9858 0.128021L9.44777 1.92032C9.22806 2.17636 9.22806 2.56042 9.33791 2.81647L11.7548 6.017H0.549289C0.219716 6.017 0 6.27304 0 6.6571V9.21753C0 9.60159 0.219716 9.85763 0.549289 9.85763H11.8646L9.44777 13.0582C9.22806 13.3142 9.22806 13.6983 9.44777 13.9543L11.0956 15.6186C11.2055 15.7466 11.3154 15.7466 11.4252 15.7466C11.5351 15.7466 11.7548 15.6186 11.8646 15.4906L17.4674 8.19336C17.5772 8.06534 17.5772 7.68127 17.4674 7.42523Z" transform="translate(0.701416 18.3653) rotate(-90)" fill="white"/>
49
+ </svg>
50
+ </button>
51
+ <?php else: ?>
52
+ <p class="plan_date">Your pro plan is valid until <?php echo date('F jS, Y', strtotime($this->data_activ())) ;?></p>
53
+ <?php endif?>
54
+ <?php require_once 'modals/upgrade.php';?>
55
+ </div>
56
+ </header>
57
+
58
+ <main class="main">
59
+ <form id="cht-form" action="options.php" method="POST">
60
+ <?php settings_fields($this->plugin_slug); ?>
61
+ <?php require_once 'parts/section1.php'; ?>
62
+ <?php require_once 'parts/section2.php'; ?>
63
+ <?php require_once 'parts/section3.php'; ?>
64
+ <input type="text"
65
+ name="cht_token"
66
+ value="<?php echo esc_attr($this->token) ?>"
67
+ hidden>
68
+ <?php submit_button(null, null, null, false); ?>
69
+ </form>
70
+ </main>
71
+ </div>
views/modals/token.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="easy-modal" id="token-modal">
2
+ <div class="easy-modal-inner">
3
+ <button class="easy-modal-close" title="Close">
4
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(1.5874) rotate(45)" fill="#4F4F4F"/>
6
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(12.6396 1.58742) rotate(135)" fill="#4F4F4F"/>
7
+ </svg>
8
+ </button>
9
+
10
+ <h2><?php _e('Activate Pro Plan', CHT_OPT); ?></h2>
11
+ <p class="text-center" style="font-size: 17px;">
12
+ <?php _e('Enter your Pro token to activate all features', CHT_OPT); ?>
13
+ </p>
14
+ <?php settings_fields($this->plugin_slug); ?>
15
+ <div class="form-horizontal__item">
16
+ <label><?php _e('Token number', CHT_OPT); ?>:</label>
17
+ <input type="text"
18
+ name="cht_token"
19
+ value="<?php echo esc_attr($this->token); ?>"
20
+ placeholder="XXXXXXXXXXXXXXXXX">
21
+ </div>
22
+
23
+ <div class="text-center">
24
+ <button class="btn-red update_token">
25
+ <?php _e('Upgrade Now', CHT_OPT); ?>
26
+ <svg width="17" height="19" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
27
+ <path d="M17.4674 7.42523L11.8646 0.128021C11.7548 0.128021 11.6449 0 11.4252 0C11.3154 0 11.0956 0 10.9858 0.128021L9.44777 1.92032C9.22806 2.17636 9.22806 2.56042 9.33791 2.81647L11.7548 6.017H0.549289C0.219716 6.017 0 6.27304 0 6.6571V9.21753C0 9.60159 0.219716 9.85763 0.549289 9.85763H11.8646L9.44777 13.0582C9.22806 13.3142 9.22806 13.6983 9.44777 13.9543L11.0956 15.6186C11.2055 15.7466 11.3154 15.7466 11.4252 15.7466C11.5351 15.7466 11.7548 15.6186 11.8646 15.4906L17.4674 8.19336C17.5772 8.06534 17.5772 7.68127 17.4674 7.42523Z" transform="translate(0.701416 18.3653) rotate(-90)" fill="white"/>
28
+ </svg>
29
+ </button>
30
+ </div>
31
+ <div class="text-center">
32
+ <a href="#" class="easy-modal-link show_up"><?php _e('How to get a token?', CHT_OPT); ?></a>
33
+ </div>
34
+ </div>
35
+ </div>
views/modals/upgrade.php ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="easy-modal" id="upgrade-modal">
2
+ <div class="easy-modal-inner">
3
+ <button class="easy-modal-close" title="Close">
4
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(1.5874) rotate(45)" fill="#4F4F4F"/>
6
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(12.6396 1.58742) rotate(135)" fill="#4F4F4F"/>
7
+ </svg>
8
+ </button>
9
+ <?php if($this->data_check() && $this->is_pro()): ?>
10
+ <h2><?php _e('Renew your Pro plan', CHT_OPT); ?></h2>
11
+ <?php elseif(!$this->is_pro && get_option('cht_token')==''): ?>
12
+ <h2><?php _e('Upgrade', CHT_OPT); ?></h2>
13
+ <?php else:?>
14
+ <h2><?php _e('Your Pro plan has expired', CHT_OPT); ?></h2>
15
+ <?php endif?>
16
+
17
+ <p class="text-center">
18
+ <?php _e('Unlock all Pro features for just', CHT_OPT); ?>
19
+ <strong class="text-primary">$2.39/<?php _e('month', CHT_OPT); ?></strong> (<?php _e('paid annually', CHT_OPT); ?>)
20
+ </p>
21
+
22
+ <ul>
23
+ <li><?php _e('One website', CHT_OPT); ?></li>
24
+ <li><?php _e('Unlimited channels', CHT_OPT); ?></li>
25
+ <li><?php _e('Custom color (HEX code)', CHT_OPT); ?></li>
26
+ <li><?php _e('Custom location (X,Y)', CHT_OPT); ?></li>
27
+ <li><?php _e('Remove “Get widget” link', CHT_OPT); ?></li>
28
+ </ul>
29
+
30
+ <div class="text-center">
31
+ <form method="post" action= "https://www.paypal.com/cgi-bin/webscr">
32
+ <input type="hidden" name="cmd" value="_xclick">
33
+ <input type="hidden" name="business" value="contact@poptin.com">
34
+ <input type="hidden" name="item_name" value="<?php echo esc_attr($this->get_site()); ?>">
35
+ <input type="hidden" name="item_number" value="Chaty Pro Plan (Year)">
36
+ <input type="hidden" name="amount" value="28.68">
37
+ <input type="hidden" name="no_shipping" value="1">
38
+ <input type="hidden" name="return" value="https://go.chaty.app/api/success-payment">
39
+ <input type="hidden" name="rm" value="2">
40
+ <input type="hidden" name="cancel_return" value="<?php echo esc_attr($this->get_site()); ?>/wp-admin/admin.php?page=chaty-app">
41
+ <?php if($this->is_pro()): ?>
42
+ <input type="hidden" name="on0" value="<?php echo esc_attr($this->data_activ()); ?>">
43
+ <?php endif ?>
44
+ <input type="hidden" name="notify_url" value="http://go.chaty.app/api/send-payment-data">
45
+ <?php if(!$this->is_pro && get_option('cht_token') == ''): ?>
46
+ <div class="domain_input">
47
+ Domain:<input name="custom" class="valid_domain_input" value="<?php echo esc_attr($this->get_site()); ?>">
48
+ <span class="valid_domain"><?php _e('Please enter a valid domain', 'chaty'); ?></span>
49
+ </div>
50
+ <?php endif ?>
51
+
52
+ <button class="btn-red upg" style=" text-transform: inherit;">
53
+ <?php if(!$this->is_pro() && get_option('cht_token')!=''):?>
54
+ <?php _e('Renew your subscription', CHT_OPT); ?>
55
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" style="vertical-align: middle;">
56
+ <path d="M3.0746 9.2C2.5746 7 4.2746 5 6.4746 5H6.9746V6.5C6.9746 6.7 7.0746 6.9 7.2746 7C7.4746 7 7.6746 7 7.7746 6.9L10.7746 3.9C10.9746 3.7 10.9746 3.4 10.7746 3.2L7.7746 0.2C7.6746 0 7.4746 0 7.2746 0C7.0746 0.1 6.9746 0.3 6.9746 0.5V2H6.4746C2.5746 2 -0.525402 5.4 0.0745975 9.4C0.274598 10.9 1.0746 12.3 2.1746 13.3C2.3746 13.5 2.6746 13.5 2.8746 13.3L4.2746 11.9C4.4746 11.7 4.4746 11.4 4.2746 11.2C3.5746 10.6 3.1746 10 3.0746 9.2Z" fill="white"/>
57
+ <path d="M8.95 0.15C8.75 -0.0500001 8.45 -0.0500001 8.25 0.15L6.85 1.55C6.65 1.75 6.65 2.05 6.85 2.25C7.35 2.75 7.75 3.35 7.95 4.15C8.45 6.35 6.75 8.35 4.55 8.35H4.05V6.85C4.05 6.65 3.95 6.45 3.75 6.35C3.55 6.25 3.35 6.35 3.15 6.55L0.15 9.55C-0.0500001 9.75 -0.0500001 10.05 0.15 10.25L3.15 13.25C3.35 13.35 3.55 13.35 3.75 13.35C3.95 13.25 4.05 13.05 4.05 12.85V11.35H4.55C8.45 11.35 11.55 7.95 10.95 3.95C10.75 2.45 10.05 1.15 8.95 0.15Z" transform="translate(4.92456 2.64999)" fill="white"/>
58
+ </svg>
59
+ <?php elseif($this->data_check() && $this->is_pro()):?>
60
+ <?php _e('Renew now', CHT_OPT); ?>
61
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" style="vertical-align: middle;">
62
+ <path d="M3.0746 9.2C2.5746 7 4.2746 5 6.4746 5H6.9746V6.5C6.9746 6.7 7.0746 6.9 7.2746 7C7.4746 7 7.6746 7 7.7746 6.9L10.7746 3.9C10.9746 3.7 10.9746 3.4 10.7746 3.2L7.7746 0.2C7.6746 0 7.4746 0 7.2746 0C7.0746 0.1 6.9746 0.3 6.9746 0.5V2H6.4746C2.5746 2 -0.525402 5.4 0.0745975 9.4C0.274598 10.9 1.0746 12.3 2.1746 13.3C2.3746 13.5 2.6746 13.5 2.8746 13.3L4.2746 11.9C4.4746 11.7 4.4746 11.4 4.2746 11.2C3.5746 10.6 3.1746 10 3.0746 9.2Z" fill="white"/>
63
+ <path d="M8.95 0.15C8.75 -0.0500001 8.45 -0.0500001 8.25 0.15L6.85 1.55C6.65 1.75 6.65 2.05 6.85 2.25C7.35 2.75 7.75 3.35 7.95 4.15C8.45 6.35 6.75 8.35 4.55 8.35H4.05V6.85C4.05 6.65 3.95 6.45 3.75 6.35C3.55 6.25 3.35 6.35 3.15 6.55L0.15 9.55C-0.0500001 9.75 -0.0500001 10.05 0.15 10.25L3.15 13.25C3.35 13.35 3.55 13.35 3.75 13.35C3.95 13.25 4.05 13.05 4.05 12.85V11.35H4.55C8.45 11.35 11.55 7.95 10.95 3.95C10.75 2.45 10.05 1.15 8.95 0.15Z" transform="translate(4.92456 2.64999)" fill="white"/>
64
+ </svg>
65
+ <?php else:?>
66
+ <?php _e('Upgrade Now', CHT_OPT); ?>
67
+ <svg width="17" height="19" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
68
+ <path d="M17.4674 7.42523L11.8646 0.128021C11.7548 0.128021 11.6449 0 11.4252 0C11.3154 0 11.0956 0 10.9858 0.128021L9.44777 1.92032C9.22806 2.17636 9.22806 2.56042 9.33791 2.81647L11.7548 6.017H0.549289C0.219716 6.017 0 6.27304 0 6.6571V9.21753C0 9.60159 0.219716 9.85763 0.549289 9.85763H11.8646L9.44777 13.0582C9.22806 13.3142 9.22806 13.6983 9.44777 13.9543L11.0956 15.6186C11.2055 15.7466 11.3154 15.7466 11.4252 15.7466C11.5351 15.7466 11.7548 15.6186 11.8646 15.4906L17.4674 8.19336C17.5772 8.06534 17.5772 7.68127 17.4674 7.42523Z" transform="translate(0.701416 18.3653) rotate(-90)" fill="white"/>
69
+ </svg>
70
+ <?php endif?>
71
+
72
+
73
+ </button>
74
+ </form>
75
+ </div>
76
+
77
+ <?php if(!$this->is_pro && get_option('cht_token')!='' ): ?>
78
+ <div class="text-center">
79
+ <a href="#" class="easy-modal-link del_token"><?php _e('Change to free version', CHT_OPT); ?></a>
80
+ </div>
81
+ <?php endif ?>
82
+
83
+ </div>
84
+ </div>
85
+
86
+
views/parts/custom-styles.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ #positionPro {
3
+ <?php if (get_option('cht_position') === 'custom') : ?>
4
+ display: inline-block;
5
+ <?php else : ?>
6
+ display: none;
7
+ <?php endif; ?>
8
+ }
9
+
10
+ .update-nag{
11
+ display: none;
12
+ }
13
+ #setting-error-settings_updated{
14
+ margin: 0 auto;
15
+ background: #51F2B8;
16
+ left: 37px;
17
+ border-left-color: #51F2B8;
18
+ }
19
+ .none_pro #upgrade-modal{
20
+ display: block !important;
21
+ position: fixed !important;
22
+ z-index: 1000013 !important;
23
+ left: 50% !important;
24
+ top: 150px !important;
25
+ margin-left: -257.5px !important;
26
+ margin-top: 0px !important;
27
+ }
28
+ .none_pro .easy-modal-close{
29
+ display: none;
30
+ }
31
+ <?php if(!$this->is_pro() && get_option('cht_token')!=''){ ?>
32
+ .lean-overlay{
33
+ display: block !important;
34
+ position: fixed !important;
35
+ z-index: 1000012 !important;
36
+ top: 0px !important;
37
+ left: 0px !important;
38
+ height: 100% !important;
39
+ width: 100% !important;
40
+ background: rgb(0, 0, 0) !important;
41
+ opacity: 0.5 !important;
42
+ overflow: auto !important;
43
+ margin-left: 160px;
44
+ margin-top: 32px;
45
+ }
46
+ html[dir="rtl"] .lean-overlay{
47
+ display: block !important;
48
+ position: fixed !important;
49
+ z-index: 1000012 !important;
50
+ top: 0px !important;
51
+ left: 0px !important;
52
+ height: 100% !important;
53
+ width: 100% !important;
54
+ background: rgb(0, 0, 0) !important;
55
+ opacity: 0.5 !important;
56
+ overflow: auto !important;
57
+ margin-left: -160px;
58
+ margin-top: 32px;
59
+ }
60
+ <?php }?>
61
+ </style>
views/parts/section1.php ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <section class="section one" <?php echo ($this->is_pro) ? 'id="pro"' : ''; ?> style="padding-bottom: 0; margin-bottom: -94px;
3
+ ">
4
+ <h1 class="section-title">
5
+ <strong><?php _e('Step', CHT_OPT);?> 1:</strong> <?php _e('Choose your channels', CHT_OPT);?>
6
+ </h1>
7
+ <?php $social_app= get_option('cht_numb_slug'); ?>
8
+ <?php $social_app= explode(",", $social_app); ?>
9
+ <?php $social_app= array_unique($social_app); ?>
10
+
11
+ <div class="channels-icons">
12
+ <?php if ($this->socials) : ?>
13
+ <?php foreach ($this->socials as $key => $social) : ?>
14
+ <?php $value = get_option('cht_social_' . $social['slug']); ?>
15
+ <div class="icon icon-sm
16
+ <?php foreach ($social_app as $key_soc):?>
17
+ <?php if($key_soc == $social['slug']){ ?>
18
+ active
19
+ <?php } ?>
20
+ <?php endforeach;?>
21
+ " data-social="<?php echo esc_attr($social['slug']); ?>"
22
+ data-title="<?php echo esc_attr($this->del_space($social['slug'])); ?>">
23
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
24
+ <?php echo $social['svg']; ?>
25
+ </svg>
26
+ </div>
27
+ <?php echo ($key === 7) ? '<div class="col-12"></div>' : ''; ?>
28
+ <?php endforeach; ?>
29
+ <?php endif; ?>
30
+ </div>
31
+ <input type="text" class="add_slug"
32
+ name="cht_numb_slug"
33
+ placeholder="test"
34
+ value="<?php echo esc_attr(get_option('cht_numb_slug')); ?>"
35
+ hidden >
36
+ <div class="channels-selected">
37
+ <?php if ($this->socials) :
38
+ $social= get_option('cht_numb_slug'); ?>
39
+ <?php $social = explode(",", $social); ?>
40
+ <?php $social= array_unique($social); ?>
41
+ <?php foreach ($social as $key_soc):?>
42
+ <?php foreach ($this->socials as $key => $social) : ?>
43
+ <?php if( $social['slug'] != $key_soc){
44
+ continue;
45
+ }?>
46
+ <?php $value = get_option('cht_social_' . $social['slug']) ?>
47
+ <div class="channels-selected__item <?php echo ($this->is_pro) ? 'pro' : 'free'; ?> 1 available">
48
+ <div class="icon icon-md active" data-title="<?php echo esc_attr($this->del_space($social['slug'])); ?>">
49
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg" >
50
+ <?php echo $social['svg']; ?>
51
+ </svg>
52
+ </div>
53
+ <input type="text"
54
+ name="cht_social_<?php echo esc_attr($social['slug']); ?>"
55
+
56
+ value="<?php echo esc_attr($value); ?>"
57
+ >
58
+ <div class="input-example">
59
+ <?php _e('For example', CHT_OPT);?>: <?php echo $social['example']; ?>
60
+ </div>
61
+ <button class="btn-cancel" data-social="<?php echo esc_attr($social['slug']); ?>">
62
+ <svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg">
63
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(2.26764 0.0615997) rotate(45)" fill="white"/>
64
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(13.3198 1.649) rotate(135)" fill="white"/>
65
+ </svg>
66
+ </button>
67
+ </div>
68
+ <?php endforeach; ?>
69
+ <?php endforeach?>
70
+ <?php endif; ?>
71
+
72
+ <div class="channels-selected__item disabled" style="opacity: 0;">
73
+ <div class="icon icon-md active" style="opacity: 0;"
74
+ data-toggle="tooltip"
75
+ data-placement="top"
76
+ data-title="VK">
77
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
78
+ <circle class="color-element" cx="19.4395" cy="19.4395" r="19.4395" fill="#5076AA"/>
79
+ <path d="M11.0953 12.4775H12.5097C12.5097 12.4775 12.934 12.4774 13.0755 12.1971C13.2169 12.0569 13.2169 11.6363 13.2169 11.6363C13.2169 11.6363 13.2169 9.81373 14.0656 9.53334C14.9142 9.25294 15.9043 11.2157 17.0359 12.0569C17.8845 12.6176 18.5917 12.4775 18.5917 12.4775H21.562C21.562 12.4775 23.1178 12.3373 22.4106 11.2157C22.4106 11.0755 21.9863 10.2343 20.1476 8.69216C18.3088 7.0098 18.4503 7.29019 20.8548 4.20588C22.2692 2.38333 22.835 1.26176 22.6935 0.700978C22.5521 0.28039 21.562 0.42059 21.562 0.42059H18.1674C18.1674 0.42059 17.8845 0.420588 17.7431 0.560784C17.6016 0.70098 17.4602 0.981371 17.4602 0.981371C17.4602 0.981371 16.8944 2.38333 16.1872 3.6451C14.6313 6.16863 14.0656 6.30882 13.7827 6.16863C13.2169 5.74804 13.3584 4.62647 13.3584 3.92549C13.3584 1.40196 13.7827 0.420589 12.6512 0.140197C12.2268 1.06543e-06 11.944 -2.13922e-06 11.0953 -2.13922e-06C9.82233 -2.13922e-06 8.83224 -1.06543e-06 8.26647 0.280391C7.84215 0.420587 7.55927 0.841177 7.70071 0.841177C7.9836 0.841177 8.40792 0.98137 8.6908 1.40196C8.97368 1.82255 8.97368 2.94412 8.97368 2.94412C8.97368 2.94412 9.11513 5.88824 8.54936 6.16863C8.12503 6.44902 7.41783 5.88824 6.14485 3.6451C5.43764 2.52353 4.87188 1.12157 4.87188 1.12157C4.87188 1.12157 4.73044 0.841174 4.589 0.700978C4.30611 0.560782 4.02323 0.560784 4.02323 0.560784H0.770071C0.770071 0.560784 0.345746 0.560785 0.0628629 0.841177C-0.0785787 0.981374 0.0628629 1.40196 0.0628629 1.40196C0.0628629 1.40196 2.60881 7.2902 5.43764 10.2343C8.12503 12.7578 11.0953 12.4775 11.0953 12.4775Z" transform="translate(6.78613 14.4898)" fill="white"/>
80
+ </svg>
81
+ </div>
82
+
83
+ <input type="text" placeholder="<?php _e('Phone number', CHT_OPT);?>">
84
+
85
+ <div class="input-example">
86
+ <?php _e('For example', CHT_OPT);?>: +1507854875
87
+ </div>
88
+
89
+ <button class="btn-cancel">
90
+ <svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg">
91
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(2.26764 0.0615997) rotate(45)" fill="white"/>
92
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(13.3198 1.649) rotate(135)" fill="white"/>
93
+ </svg>
94
+ </button>
95
+
96
+ </div>
97
+ <?php if (!$this->is_pro) : ?>
98
+ <div class="popover" style="position: relative;top: -121px;display: block;max-width: 448px;left: -12px;">
99
+ <a class="easy-modal-open" href="#upgrade-modal">
100
+ <?php _e('Get unlimited channels in the Pro plan', CHT_OPT);?>
101
+ <strong><?php _e('Upgrade Now', CHT_OPT);?></strong>
102
+ </a>
103
+ </div>
104
+ <?php endif; ?>
105
+
106
+
107
+ <div class="preview">
108
+ <h2><?php _e('Preview', CHT_OPT); ?>:</h2>
109
+
110
+ <div class="page">
111
+ <div class="page-header">
112
+ <div class="circle"></div>
113
+ <div class="circle"></div>
114
+ <div class="circle"></div>
115
+ <svg width="33" height="38" viewBox="0 0 33 38" fill="none" xmlns="http://www.w3.org/2000/svg">
116
+ <g filter="url(#filter0_d)">
117
+ <ellipse cx="0.855225" cy="0.745508" rx="0.855225" ry="0.745508" transform="translate(15.6492 13.0053) scale(1 -1)" fill="#828282"/>
118
+ </g>
119
+ <g filter="url(#filter1_d)">
120
+ <ellipse cx="0.855225" cy="0.745508" rx="0.855225" ry="0.745508" transform="translate(15.6492 15.6891) scale(1 -1)" fill="#828282"/>
121
+ </g>
122
+ <g filter="url(#filter2_d)">
123
+ <ellipse cx="0.855225" cy="0.745508" rx="0.855225" ry="0.745508" transform="translate(15.6492 18.373) scale(1 -1)" fill="#828282"/>
124
+ </g>
125
+ <defs>
126
+ <filter id="filter0_d" x="0.64917" y="0.514328" width="31.7105" height="31.491" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
127
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
128
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
129
+ <feOffset dy="4"/>
130
+ <feGaussianBlur stdDeviation="7.5"/>
131
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
132
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
133
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
134
+ </filter>
135
+ <filter id="filter1_d" x="0.64917" y="3.1981" width="31.7105" height="31.491" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
136
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
137
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
138
+ <feOffset dy="4"/>
139
+ <feGaussianBlur stdDeviation="7.5"/>
140
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
141
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
142
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
143
+ </filter>
144
+ <filter id="filter2_d" x="0.64917" y="5.88202" width="31.7105" height="31.491" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
145
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
146
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
147
+ <feOffset dy="4"/>
148
+ <feGaussianBlur stdDeviation="7.5"/>
149
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
150
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
151
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
152
+ </filter>
153
+ </defs>
154
+ </svg>
155
+ </div>
156
+
157
+ <?php $position = $this->get_position_style(); ?>
158
+ <div class="page-body">
159
+ <div class="chaty-widget chaty-widget-icons-<?php if(get_option('cht_position') == "custom"){
160
+ echo get_option('positionSide');
161
+ }else{
162
+ echo get_option('cht_position');
163
+ }?> " style="<?php echo $position; ?>">
164
+ <div class="icon icon-xs active tooltip-show tooltip" style="height: 30px;" data-title="<?php echo (get_option('cht_cta') ? get_option('cht_cta') : __('Contact Us')) ?>">
165
+ <svg width="52" height="53" viewBox="0 0 52 53" fill="none" xmlns="http://www.w3.org/2000/svg">
166
+ <?php $bg_color = $this->get_current_color(); ?>
167
+ <ellipse class="color-element" cx="26" cy="26.1" rx="26" ry="26.1" fill="<?php echo ($bg_color) ? $bg_color : '#A886CD'; ?>"/>
168
+ <path d="M22 0H4C1.8 0 0 1.80692 0 4.01538V16.0615C0 18.27 1.8 20.0769 4 20.0769H18.6L24.4 25.8992C24.6 26.1 24.8 26.1 25.2 26.1C25.4 26.1 25.4 26.1 25.6 26.1C26 25.8992 26.2 25.4977 26.2 25.0962V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(8 18.0691)" fill="white"/>
169
+ <path d="M22 0H4C1.8 0 0 1.80692 0 4.01538H16C19.4 4.01538 22 6.62538 22 10.0385V23.49L24.2 25.6985C24.4 25.8992 24.6 25.8992 25 25.8992C25.2 25.8992 25.2 25.8992 25.4 25.8992C25.8 25.6985 26 25.2969 26 24.8954V4.01538C26 1.80692 24.2 0 22 0Z" transform="translate(13.9999 12.0461)" fill="white"/>
170
+ </svg>
171
+ <span class="tooltiptext" style='<?php if(get_option('cht_cta')==""){ echo 'display:none'; }?>'><?php $cta =nl2br(get_option('cht_cta'));
172
+ echo str_replace(array("\r","\n"),"",$cta); ?></span>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
177
+
178
+ </div>
179
+
180
+ </div>
181
+
182
+ <div class="btn-help ">
183
+ <a style="color: #fff; text-decoration: none;"> <?php _e('help', CHT_OPT); ?>
184
+ </div>
185
+
186
+
187
+ <div class="easy-modal" id="modal1">
188
+ <div class="easy-modal-inner">
189
+ <button class="easy-modal-close" title="Close">
190
+ <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
191
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(1.5874) rotate(45)" fill="#4F4F4F"/>
192
+ <rect width="15.6301" height="2.24494" rx="1.12247" transform="translate(12.6396 1.58742) rotate(135)" fill="#4F4F4F"/>
193
+ </svg>
194
+ </button>
195
+
196
+ <h2><?php _e('Upgrade', CHT_OPT); ?></h2>
197
+
198
+ <p class="text-center">
199
+ <?php _e('Unlock all Pro features for just', CHT_OPT); ?>
200
+ <strong class="text-primary">$2.39/<?php _e('month', CHT_OPT); ?></strong> (<?php _e('paid annually', CHT_OPT); ?>)
201
+ </p>
202
+
203
+ <ul>
204
+ <li><?php _e('One website', CHT_OPT); ?></li>
205
+ <li><?php _e('Unlimited channels', CHT_OPT); ?></li>
206
+ <li><?php _e('Custom color (HEX code)', CHT_OPT); ?></li>
207
+ <li><?php _e('Custom location (X,Y)', CHT_OPT); ?></li>
208
+ <li><?php _e('Remove “Get widget” link', CHT_OPT); ?></li>
209
+ </ul>
210
+
211
+ <div class="form-horizontal__item">
212
+ <label><?php _e('Token number', CHT_OPT); ?>:</label>
213
+ <div>
214
+ <input type="text" placeholder="XXXX-XXXX-XXXX">
215
+ </div>
216
+ </div>
217
+
218
+ <div class="text-center">
219
+ <button class="btn-red">
220
+ <?php _e('Upgrade Now', CHT_OPT); ?>
221
+ <svg width="17" height="19" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
222
+ <path d="M17.4674 7.42523L11.8646 0.128021C11.7548 0.128021 11.6449 0 11.4252 0C11.3154 0 11.0956 0 10.9858 0.128021L9.44777 1.92032C9.22806 2.17636 9.22806 2.56042 9.33791 2.81647L11.7548 6.017H0.549289C0.219716 6.017 0 6.27304 0 6.6571V9.21753C0 9.60159 0.219716 9.85763 0.549289 9.85763H11.8646L9.44777 13.0582C9.22806 13.3142 9.22806 13.6983 9.44777 13.9543L11.0956 15.6186C11.2055 15.7466 11.3154 15.7466 11.4252 15.7466C11.5351 15.7466 11.7548 15.6186 11.8646 15.4906L17.4674 8.19336C17.5772 8.06534 17.5772 7.68127 17.4674 7.42523Z" transform="translate(0.701416 18.3653) rotate(-90)" fill="white"/>
223
+ </svg>
224
+ </button>
225
+ </div>
226
+
227
+ <div class="text-center">
228
+ <a href="#upgrade-modal" class="easy-modal-link"><?php _e('Change to free version', CHT_OPT); ?></a>
229
+ </div>
230
+
231
+ </div>
232
+ </div>
233
+
234
+ </section>
views/parts/section2.php ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <section class="section">
2
+ <h1 class="section-title">
3
+ <strong><?php _e('Step', CHT_OPT);?> 2:</strong> <?php _e('Customize your widget', CHT_OPT);?>
4
+ </h1>
5
+
6
+ <div class="form-horizontal" style="left: -59px;position: relative;">
7
+ <div class="form-horizontal__item">
8
+ <label><?php _e('Devices', CHT_OPT);?>:</label>
9
+ <div>
10
+ <?php $devices = get_option('cht_devices'); ?>
11
+ <label class="custom-control custom-checkbox">
12
+ <input type="checkbox"
13
+ name="cht_devices[desktop]"
14
+ value="1"
15
+ class="custom-control-input"
16
+ <?php echo (!empty($devices['desktop'])) ? 'checked' : ''; ?>
17
+ >
18
+ <span class="custom-control-label"><?php _e('Desktop', CHT_OPT);?></span>
19
+ </label>
20
+
21
+ <label class="custom-control custom-checkbox">
22
+ <input type="checkbox"
23
+ name="cht_devices[mobile]"
24
+ value="1"
25
+ class="custom-control-input"
26
+ <?php echo (!empty($devices['mobile'])) ? 'checked' : ''; ?>
27
+ >
28
+ <span class="custom-control-label"><?php _e('Mobile', CHT_OPT);?></span>
29
+ </label>
30
+ </div>
31
+ </div>
32
+
33
+ <?php
34
+ // Color
35
+ $color = $this->get_current_color();
36
+ ?>
37
+ <div class="form-horizontal__item">
38
+ <label class="align-top"><?php _e('Color', 'chaty'); ?>:</label>
39
+ <div>
40
+ <div class="color-picker-dropdown">
41
+ <div class="color-picker">
42
+ <div class="color-picker-radio">
43
+ <label style="background-color: #A886CD">
44
+ <input type="checkbox" name="cht_color" value="#A886CD" title="Purple"
45
+ <?php
46
+ if (!$color) {
47
+ echo 'checked';
48
+ } elseif($color === '#A886CD') {
49
+ echo 'checked';
50
+ }
51
+ ?>
52
+ >
53
+ <span></span>
54
+ </label>
55
+
56
+ <label style="background-color: #86CD91">
57
+ <input type="checkbox" name="cht_color" value="#86CD91" title="Green"
58
+ <?php echo ($color === '#86CD91') ? 'checked' : ''; ?>
59
+ >
60
+ <span></span>
61
+ </label>
62
+
63
+ <label style="background-color: #4F6ACA">
64
+ <input type="checkbox" name="cht_color" value="#4F6ACA" title="Blue"
65
+ <?php echo ($color === '#4F6ACA') ? 'checked' : ''; ?>
66
+ >
67
+ <span></span>
68
+ </label>
69
+
70
+ <label style="background-color: #FF6060">
71
+ <input type="checkbox" name="cht_color" value="#FF6060" title="Red"
72
+ <?php echo ($color === '#FF6060') ? 'checked' : ''; ?>
73
+ >
74
+ <span></span>
75
+ </label>
76
+
77
+ <label style="background-color: #000">
78
+ <input type="checkbox" name="cht_color" value="#000" title="Black"
79
+ <?php echo ($color === '#000') ? 'checked' : ''; ?>
80
+ >
81
+ <span></span>
82
+ </label>
83
+
84
+ <label style="background-color: #EEF075">
85
+ <input type="checkbox" name="cht_color" value="#EEF075" title="Yellow"
86
+ <?php echo ($color === '#EEF075') ? 'checked' : ''; ?>
87
+ >
88
+ <span></span>
89
+ </label>
90
+
91
+ <label style="background-color: #FF95EE">
92
+ <input type="checkbox" name="cht_color" value="#FF95EE" title="Pink"
93
+ <?php echo ($color === '#FF95EE') ? 'checked' : ''; ?>
94
+ >
95
+ <span></span>
96
+ </label>
97
+ </div>
98
+
99
+ <div class="color-picker-custom">
100
+ <?php if ($this->is_pro) : ?>
101
+ <div>
102
+ <?php
103
+ $os = array("#86CD91", "#A886CD", "#4F6ACA", "#FF6060", "#000", "#EEF075", "#FF95EE");
104
+ if (in_array($color, $os)) {
105
+ $color = '';
106
+ }
107
+ ?>
108
+ <?php if($color): ?>
109
+ <div class="circle" style="background-color: <?php echo $color;?> ">
110
+
111
+ </div><?php _e('Custom color', CHT_OPT);?>
112
+ <?php else: ?>
113
+ <div class="circle">?</div><?php _e('Custom color', CHT_OPT);?>
114
+ <?php endif ?>
115
+ </div>
116
+
117
+ <div>
118
+ <input type="input" name="cht_custom_color" placeholder="HEX code: #ffffff"
119
+ value="<?php echo $color; ?>"
120
+ >
121
+ <button class="btn-red">Ok</button>
122
+ </div>
123
+ <?php else : ?>
124
+
125
+ <div><div class="circle">?</div><?php _e('Custom color', CHT_OPT);?> <a class="easy-modal-open" href="#upgrade-modal"> (<?php _e('upgrade to pro', CHT_OPT);?>)</a>
126
+
127
+
128
+ </div>
129
+
130
+ <div>
131
+ <input type="input" name="cht_custom_colo" placeholder="HEX code: #ffffff"
132
+ value="" readonly style="cursor:not-allowed;width: 172px;"
133
+ >
134
+ <button class="btn-red"><?php _e('Ok', CHT_OPT);?></button>
135
+ </div>
136
+ <?php endif; ?>
137
+ </div>
138
+ <?php $color = $this->get_current_color();?>
139
+ <button class="color-picker-btn-close">
140
+ <svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg">
141
+ <path d="M0 0L4.31505 3.77708L8.63008 0" transform="translate(1.37436 1.31006)" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
142
+ <path d="M0 0L4.31505 3.77708L8.63008 0" transform="translate(1.37436 1.31006)" stroke="#4F4F4F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
143
+ </svg>
144
+ </button>
145
+ </div>
146
+
147
+ <button class="color-picker-btn">
148
+ <span class="circle" style="background-color: <?php echo (!empty($color)) ? $color : '#A886CD'; ?>"></span>
149
+ <span class="text">
150
+ <?php
151
+ if (!empty($color)) {
152
+ $colors = $this->colors;
153
+ if (isset($colors[$color])) {
154
+ echo $colors[$color];
155
+ } else {
156
+ echo __('Custom', CHT_OPT);
157
+ }
158
+ } else {
159
+ _e('Purple', CHT_OPT);
160
+ }
161
+ ?>
162
+ </span>
163
+
164
+ <svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg">
165
+ <path d="M0 0L4.31505 3.77708L8.63008 0" transform="translate(1.37436 1.31006)" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
166
+ <path d="M0 0L4.31505 3.77708L8.63008 0" transform="translate(1.37436 1.31006)" stroke="#4F4F4F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
167
+ </svg>
168
+ </button>
169
+ </div>
170
+ </div>
171
+ </div>
172
+
173
+ <?php // Position ?>
174
+ <div class="form-horizontal__item">
175
+ <label class="align-top">Position:</label>
176
+ <div>
177
+ <?php $position = get_option('cht_position'); ?>
178
+ <label class="custom-control custom-radio">
179
+ <input type="radio"
180
+ name="cht_position"
181
+ class="custom-control-input"
182
+ <?php echo ($position === "left") ? 'checked' : ''; ?>
183
+ value="left"
184
+ >
185
+ <span class="custom-control-label"><?php _e('Left', CHT_OPT);?></span>
186
+ </label>
187
+
188
+ <label class="custom-control custom-radio">
189
+ <input type="radio"
190
+ name="cht_position"
191
+ class="custom-control-input"
192
+ <?php echo ($position === "right") ? 'checked' : ''; ?>
193
+ value="right"
194
+ >
195
+ <span class="custom-control-label"><?php _e('Right', CHT_OPT);?></span>
196
+ </label>
197
+
198
+ <?php if ($this->is_pro) : ?>
199
+ <label class="custom-control custom-radio">
200
+ <input type="radio"
201
+ id="positionCustom"
202
+ name="cht_position"
203
+ class="custom-control-input position-pro-radio"
204
+ <?php echo ($position === 'custom') ? 'checked' : ''; ?>
205
+ value="custom"
206
+ >
207
+ <span class="custom-control-label">
208
+ <?php _e('Custom', CHT_OPT);?>
209
+ </span>
210
+ </label>
211
+
212
+ <div id="positionPro" style="left: -145px; position: relative;">
213
+ <div class="position-pro">
214
+ <div>
215
+ <label>Side selection:</label>
216
+ <?php $pos_custom = get_option('positionSide'); ?>
217
+ <div class="custom-control-group">
218
+ <label class="custom-control custom-radio custom-radio-btn">
219
+ <input type="radio" value="left" name="positionSide" class="custom-control-input"
220
+ <?php echo (!empty($pos_custom) && $pos_custom === 'left') ? 'checked' : ''; ?>
221
+ >
222
+ <span class="custom-control-label">
223
+ <svg width="7" height="12" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg">
224
+ <path d="M6.92473 5.70473L2.4086 0.20886C2.30824 0.00901022 2.00717 -0.0909147 1.70609 0.108935L0.200717 1.30803C0.100358 1.40796 0 1.50788 0 1.70773C0 1.90758 -9.72047e-08 1.90758 0.100358 2.00751L3.31183 6.00451L0.100358 10.0015C-9.72047e-08 10.1014 0 10.2014 0 10.3013C0 10.4012 0.100358 10.6011 0.200717 10.6011L1.70609 11.8002C1.80645 12 1.90681 12 2.00717 12C2.10753 12 2.30824 11.9001 2.4086 11.8002L6.92473 6.30428C7.02509 6.10443 7.02509 5.90458 6.92473 5.70473Z" transform="translate(7 12) rotate(180)" fill="#E0E0E0"/>
225
+ </svg>
226
+ <?php _e('Left', CHT_OPT); ?>
227
+ </span>
228
+ </label>
229
+ <label class="custom-control custom-radio custom-radio-btn">
230
+ <input type="radio" value="right" name="positionSide" class="custom-control-input"
231
+ <?php echo (!empty($pos_custom) && $pos_custom === 'right') ? 'checked' : ''; ?>
232
+ >
233
+ <span class="custom-control-label">
234
+ <?php _e('Right', CHT_OPT); ?>
235
+ <svg width="7" height="12" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg">
236
+ <path d="M6.92473 5.70473L2.4086 0.20886C2.30824 0.00901022 2.00717 -0.0909147 1.70609 0.108935L0.200717 1.30803C0.100358 1.40796 0 1.50788 0 1.70773C0 1.90758 -9.72047e-08 1.90758 0.100358 2.00751L3.31183 6.00451L0.100358 10.0015C-9.72047e-08 10.1014 0 10.2014 0 10.3013C0 10.4012 0.100358 10.6011 0.200717 10.6011L1.70609 11.8002C1.80645 12 1.90681 12 2.00717 12C2.10753 12 2.30824 11.9001 2.4086 11.8002L6.92473 6.30428C7.02509 6.10443 7.02509 5.90458 6.92473 5.70473Z" fill="#E0E0E0"/>
237
+ </svg>
238
+ </span>
239
+ </label>
240
+ </div>
241
+ </div>
242
+
243
+ <div>
244
+ <label><?php _e('Bottom spacing', CHT_OPT); ?>:</label>
245
+ <input type="number"
246
+ name="cht_bottom_spacing"
247
+ id="positionBottom"
248
+ value="<?php echo esc_attr(get_option('cht_bottom_spacing')); ?>"
249
+ placeholder="25">px
250
+ </div>
251
+
252
+ <div>
253
+ <label><?php _e('Side spacing', CHT_OPT); ?>:</label>
254
+ <input type="number"
255
+ name="cht_side_spacing"
256
+ id="positionSide"
257
+ value="<?php echo esc_attr(get_option('cht_side_spacing')); ?>"
258
+ placeholder="25">px
259
+ </div>
260
+ </div>
261
+ </div>
262
+ <?php else: ?>
263
+ <label class="custom-control custom-radio free-custom-radio">
264
+ <input type="radio" class="custom-control-input" disabled>
265
+ <span class="custom-control-label"><?php _e('Custom', CHT_OPT);?> <a class="easy-modal-open" href="#upgrade-modal">(<?php _e('upgrade to pro', CHT_OPT);?>)</a></span>
266
+ </label>
267
+ <?php endif; ?>
268
+ </div>
269
+ </div>
270
+
271
+ <?php // Call to Action ?>
272
+ <div class="form-horizontal__item">
273
+ <label><?php _e('Call to action', CHT_OPT);?>:</label>
274
+ <div> <script type="text/javascript">
275
+ var keynum, lines = 1;
276
+
277
+ function limitLines(obj, e) {
278
+ // IE
279
+ if(window.event) {
280
+ keynum = e.keyCode;
281
+ // Netscape/Firefox/Opera
282
+ } else if(e.which) {
283
+ keynum = e.which;
284
+ }
285
+ if(keynum == 13) {
286
+ var text = jQuery(".test_textarea").val();
287
+ var lines = text.split(/\r|\r\n|\n/);
288
+ var count = lines.length;
289
+ console.log(count); // Outputs 4
290
+ if(count >= obj.rows) {
291
+ return false;
292
+ }else{
293
+ lines++;
294
+ }
295
+ }
296
+ }
297
+ </script>
298
+ <textarea type="text" class="test_textarea" cols="40" rows="2" name="cht_cta" value="<?php $cta =nl2br(get_option('cht_cta'));
299
+ echo str_replace(array("\r","\n"),"",$cta); ?>" placeholder="<?php _e('Message us!', CHT_OPT);?>" onkeydown="return limitLines(this, event)"><?php echo get_option('cht_cta'); ?></textarea>
300
+ </div>
301
+ </div>
302
+
303
+ <?php // Credit ?>
304
+ <div class="form-horizontal__item credit">
305
+ <?php if ($this->is_pro) : ?>
306
+ <label></label>
307
+ <div>
308
+ <?php else: ?>
309
+ <label>Credit:</label>
310
+ <div>
311
+ <label class="custom-control custom-checkbox free-custom-checkbox">
312
+ <input type="checkbox"
313
+ class="custom-control-input"
314
+ disabled
315
+ >
316
+ <span class="custom-control-label"><?php _e('Remove "Get widget" link', CHT_OPT);?> <a class="easy-modal-open" href="#upgrade-modal">(<?php _e('upgrade to pro', CHT_OPT);?>)</a></span>
317
+ </label>
318
+ <?php endif; ?>
319
+ </div>
320
+ </div>
321
+ </div>
322
+ </section>
views/parts/section3.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <section class="section">
2
+ <h1 class="section-title">
3
+ <strong><?php _e('Step', CHT_OPT);?> 3:</strong> <?php _e('Launch it!', CHT_OPT);?>
4
+ </h1>
5
+
6
+ <div class="form-horizontal">
7
+ <div class="form-horizontal__item">
8
+ <label><?php _e('Active', CHT_OPT);?>:</label>
9
+ <div>
10
+ <label class="switch">
11
+ <span class="switch__label"><?php _e('Off', CHT_OPT);?></span>
12
+ <input type="checkbox" name="cht_active" value="1" <?php echo (!empty(get_option('cht_active'))) ? 'checked' : ''; ?>>
13
+ <span class="switch__styled"></span>
14
+ <span class="switch__label"><?php _e('On', CHT_OPT);?></span>
15
+ </label>
16
+ </div>
17
+ </div>
18
+ </div>
19
+
20
+ <div class="text-center">
21
+ <button class="btn-save">
22
+ <?php _e('Save Changes', CHT_OPT); ?>
23
+ </button>
24
+ </div>
25
+ </section>
views/widget.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="fb-root"></div>
2
+ <script>(function(d, s, id) {
3
+ var js, fjs = d.getElementsByTagName(s)[0];
4
+ if (d.getElementById(id)) return;
5
+ js = d.createElement(s); js.id = id;
6
+ js.src = 'https://connect.facebook.net/locale/sdk.js#xfbml=1&version=v3.0';
7
+ fjs.parentNode.insertBefore(js, fjs);
8
+ }(document, 'script', 'facebook-jssdk'));
9
+ </script>
10
+
11
+ <?php $bg_color = $this->get_current_color();?>
12
+ <?php $len = strlen( $this->int_arr());?>
13
+
14
+ <script src="https://go.chaty.app/js/chaty_api.js?<?php echo rand();?>" settings='
15
+ {
16
+ "object_settings":{
17
+ "token":"<?php echo ($this->is_pro()) ? get_option('cht_token') : '' ;?>",
18
+ "domain":"<?php echo $this->get_site();?>",
19
+ "position":"<?php echo get_option('cht_position');?>",
20
+ "social":<?php echo $this->int_arr()?>,
21
+ "pos_side":"<?php echo get_option('positionSide');?>",
22
+ "bot":"<?php echo get_option('cht_bottom_spacing');?>",
23
+ "side": "<?php echo get_option('cht_side_spacing'); ?>",
24
+ "device":"<?php echo $this->device();?>",
25
+ "color":"<?php echo ($bg_color) ? $bg_color : '#A886CD'; ?>",
26
+ "cta":"<?php
27
+ if(get_option('cht_cta')){
28
+ $cta =nl2br(get_option('cht_cta'));
29
+ echo str_replace(array("\r","\n"),"",$cta);
30
+ } ?>",
31
+ "link_active":"<?php echo get_option('cht_credit') ?>",
32
+ "active":"<?php echo (get_option('cht_active') && $len>2) ? 'true' : 'false' ?>"
33
+ }
34
+ }'>
35
+ </script>