'; } else { phone += ''; } phone += ''; phone += ''; socialWrapper.insertAdjacentHTML('beforeend', phone); return; } else if (item.indexOf('mailto:') !== -1) { var email = '
'; socialWrapper.insertAdjacentHTML('beforeend', email); } else if (item.indexOf('telegram') !== -1 || item.indexOf('t.me') !== -1) { var telegram = ' '; socialWrapper.insertAdjacentHTML('beforeend', telegram); } else if (item.indexOf('whatsapp') !== -1 || item.indexOf('wa.me') !== -1) { var whatsapp = ' '; socialWrapper.insertAdjacentHTML('beforeend', whatsapp); } else if (item.indexOf('viber.com') !== -1) { var viber = ' '; socialWrapper.insertAdjacentHTML('beforeend', viber); } else if (item.indexOf('vk.me') !== -1) { var vkmessenger = ' '; socialWrapper.insertAdjacentHTML('beforeend', vkmessenger); } else if (item.indexOf('m.me') !== -1) { var messenger = ' '; socialWrapper.insertAdjacentHTML('beforeend', messenger); } else if (item.indexOf('skype') !== -1) { var skype = ' '; socialWrapper.insertAdjacentHTML('beforeend', skype); } else if (item.indexOf('facebook.com') !== -1) { var fb = ' '; socialWrapper.insertAdjacentHTML('beforeend', fb); } else if (item.indexOf('twitter.com') !== -1) { var twi = ' '; socialWrapper.insertAdjacentHTML('beforeend', twi); } else if (item.indexOf('vk.com') !== -1) { var vk = ' '; socialWrapper.insertAdjacentHTML('beforeend', vk); } else if (item.indexOf('instagram') !== -1) { var instagram = ' '; socialWrapper.insertAdjacentHTML('beforeend', instagram); } else if (item.indexOf('tiktok.com') !== -1) { var tiktok = ' '; socialWrapper.insertAdjacentHTML('beforeend', tiktok); } else if (item.indexOf('ok.ru') !== -1) { var ok = ' '; socialWrapper.insertAdjacentHTML('beforeend', ok); } else if (item.indexOf('behance.net') !== -1 || item.indexOf('behance.com') !== -1) { var behance = ' '; socialWrapper.insertAdjacentHTML('beforeend', behance); } else if (item.indexOf('pinterest.com') !== -1 || item.indexOf('pin.it') !== -1) { var pinterest = ' '; socialWrapper.insertAdjacentHTML('beforeend', pinterest); } else if (item.indexOf('vimeo.com') !== -1) { var vimeo = ' '; socialWrapper.insertAdjacentHTML('beforeend', vimeo); } else if (item.indexOf('youtube.com') !== -1 || item.indexOf('youtu.be') !== -1) { var youtube = ' '; socialWrapper.insertAdjacentHTML('beforeend', youtube); } else if (item.indexOf('snapchat.com') !== -1) { var snapchat = ' '; socialWrapper.insertAdjacentHTML('beforeend', snapchat); } else if (item.indexOf('linkedin.com') !== -1) { var linkedin = ' '; socialWrapper.insertAdjacentHTML('beforeend', linkedin); } else if (item.indexOf('hh.ru') !== -1) { var hh = ' '; socialWrapper.insertAdjacentHTML('beforeend', hh); } else if (item.indexOf('soundcloud.com') !== -1) { var soundcloud = ' '; socialWrapper.insertAdjacentHTML('beforeend', soundcloud); } else if (item.indexOf('github.com') !== -1) { var github = ' '; socialWrapper.insertAdjacentHTML('beforeend', github); } else if (item.indexOf('dribbble.com') !== -1) { var dribbble = ' '; socialWrapper.insertAdjacentHTML('beforeend', dribbble); } else if (item.indexOf('medium.com') !== -1) { var medium = ' '; socialWrapper.insertAdjacentHTML('beforeend', medium); } else if (item.indexOf('zen.yandex.ru') !== -1) { var zen = ' '; socialWrapper.insertAdjacentHTML('beforeend', zen); } else if (item.indexOf('http://') !== -1 || item.indexOf('https://') !== -1) { var website = ' '; socialWrapper.insertAdjacentHTML('beforeend', website); } }