<div id="cd_pricechecker">
	<div id="cd_receipt" {{!@GET.adv?'style="height: 100%;"':''}}>
		<div id="cd_logo" class="pricechecker_logo_x_{{@pricechecker_settings.logo_x}} pricechecker_logo_y_{{@pricechecker_settings.logo_y}}">
			<img src="/ui/css/img/logo.svg">
		</div>
		<div id="product_info">
			<p>
				Отсканируйте штрих-код товара, чтобы узнать информацию о нем
			</p>
			<p id="product_info_txt"></p>
			<form id="pricecheker_form" action="/products/barcode" method="GET">
				<input type="text" name="barcode" autocomplete="off" inputmode="none">
			</form>
		</div>
	</div>
	<div id="product_img">
		
	</div>
	<check if="{{@GET.adv==1}}">
	<div id="cd_advs">
		<div id="advs_cd" href="{{@URI}}">
			<div class="reload">
				<ul id="advs_list" style="display: none;">
					<repeat group="{{@advs}}" key="{{@n}}" value="{{@a}}">
					<li class="adv_{{@n}}">{{@a}}</li>
					</repeat>
				</ul>
			</div>
		</div>
	</div>
	</check>
</div>
<script type="text/javascript">
var cd_time_advs_src={{@pricechecker_settings.time_advs_src?@pricechecker_settings.time_advs_src*1000:30000}};
var pricechecker_speek={{@pricechecker_settings.pricechecker_speek?@pricechecker_settings.pricechecker_speek:0}};
var pricechecker_voice="{{@pricechecker_settings.pricechecker_voice?@pricechecker_settings.pricechecker_voice:'Google русский'}}";
var pricechecker_volume={{@pricechecker_settings.pricechecker_volume?@pricechecker_settings.pricechecker_volume/100:1}};
var pricechecker_rate={{@pricechecker_settings.pricechecker_rate?@pricechecker_settings.pricechecker_rate/100:1}};
var pricechecker_pitch={{@pricechecker_settings.pricechecker_pitch?@pricechecker_settings.pricechecker_pitch/100:1}};
var pricechecker_clear={{isset(@pricechecker_settings.pricechecker_clear)?@pricechecker_settings.pricechecker_clear:15}};
</script>