'use strict';

/* global Connector */

Connector.playerSelector = '.page-station__bar';
Connector.trackArtImageSelector = '.slider__items > div:nth-child(3) .track__cover';
Connector.trackSelector = '.slider__items > div:nth-child(3) .track__title';
Connector.artistSelector = '.slider__items > div:nth-child(3) .track__artists';
Connector.isPlaying = function() {
	return $('body').hasClass('body_state_playing');
};

@@ -36,57 +36,8 @@
 */%0A%0A
-Connector.playerSelector = '.page-station__bar';%0A
 Conn
@@ -117,16 +117,16 @@
 cover';%0A
+
 Connecto
@@ -274,16 +274,17 @@
 tists';%0A
+%0A
 Connecto
@@ -364,7 +364,687 @@
 ');%0A
-
 %7D;%0A
+%0A(function() %7B%0A%09var actualObserver;%0A%09var playerObserver = new MutationObserver(function() %7B%0A%09%09var playerSelector = document.querySelector('.page-station__bar');%0A%09%09if (playerSelector !== null) %7B%0A%09%09%09if (!actualObserver) %7B%0A%09%09%09%09actualObserver = new MutationObserver(Connector.onStateChanged);%0A%09%09%09%09actualObserver.observe(playerSelector, %7B%0A%09%09%09%09%09subtree: true,%0A%09%09%09%09%09childList: true,%0A%09%09%09%09%09attributes: true,%0A%09%09%09%09%09characterData: true%0A%09%09%09%09%7D);%0A%09%09%09%7D%0A%09%09%7D else %7B%0A%09%09%09if (actualObserver) %7B%0A%09%09%09%09actualObserver.disconnect();%0A%09%09%09%09actualObserver = null;%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D);%0A%0A%09playerObserver.observe(document.body, %7B%0A%09%09subtree: true,%0A%09%09childList: true,%0A%09%09attributes: false,%0A%09%09characterData: false%0A%09%7D);%0A%7D)();%0A

Fix non-proper work of Yandex radio connector