Удаляем коммерческий отдел.
@ -65,7 +65,8 @@ define('ADMINS', microtime());
|
||||
<?php
|
||||
|
||||
$al = db::c()->query('SELECT * FROM `aligns` WHERE `align` = "?s" LIMIT 1', $user['align'])->fetch_assoc();
|
||||
|
||||
// $registeredUsers = db::c()->query('SELECT COUNT(*) FROM `users` WHERE `block` = 0 AND `admin` = 0');
|
||||
// echo "В игре зарегистровано ".$registeredUsers." человек";
|
||||
header("Cache-Control: no-cache");
|
||||
|
||||
function statsat($nu)
|
||||
|
15
main.php
@ -2451,19 +2451,8 @@ function setHPlocal() {
|
||||
</ul>
|
||||
<HR>
|
||||
<small>
|
||||
<a href="/news/" target=_blank>Новости</a> / <a href="forum.php" target=_blank>Форум</a> / <a href="/rating" target="_blank">Рейтинг </a> / <a href="/shop/" target="_blank">Комм. отдел </a>
|
||||
<BR><BR>
|
||||
<HR>
|
||||
<div style="padding-right:10px;">
|
||||
</div>
|
||||
<BR>
|
||||
<?$num = mysql_num_rows(mysql_query("SELECT `id` FROM `users` WHERE `block`='0' AND `align`<>'4';"));
|
||||
echo"Всего законопослушных жителей: <b>".$num."</b> чел.";
|
||||
?>
|
||||
<BR><BR>
|
||||
<B>Внимание!</B> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<BR>
|
||||
<I>Администрация.</I>
|
||||
<BR><BR>
|
||||
<a href="forum.php" target=_blank>Форум</a> /
|
||||
<a href="/rating" target="_blank">Рейтинг </a>
|
||||
</small>
|
||||
</TD>
|
||||
</tr>
|
||||
|
402
shop/index.php
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 72 KiB |
@ -1,7 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<html><head>
|
||||
<title>404 Not Found</title>
|
||||
</head><body>
|
||||
<h1>Not Found</h1>
|
||||
<p>The requested URL /pics/674a09e06a92d8594c1cf128c56d885a.jpg was not found on this server.</p>
|
||||
</body></html>
|
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 5.8 KiB |
@ -1,224 +0,0 @@
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/Q47Ro23nlKqZrOLipd3-SyEAvth_LlrfE80CYdSH47w.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/qkE6YsKPRiYUugBb1_QwHCEAvth_LlrfE80CYdSH47w.woff2) format('woff2');
|
||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/N2U74xxQEyaTBF6QLZRr1CEAvth_LlrfE80CYdSH47w.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/1_daFS3X6gkNOcmGmHl7UiEAvth_LlrfE80CYdSH47w.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/G-mm5mDezDSs-RvEL7XAECEAvth_LlrfE80CYdSH47w.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/fVu1p3782bqS2z-CaJvp9iEAvth_LlrfE80CYdSH47w.woff2) format('woff2');
|
||||
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif'), local('NotoSerif'), url(http://fonts.gstatic.com/s/notoserif/v4/eCpfeMZI7q4jLksXVRWPQ_k_vArhqVIZ0nv9q090hN8.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPede9INZm0R8ZMJUtfOsxrw.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPbpHcMS0zZe4mIYvDKG2oeM.woff2) format('woff2');
|
||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPRquHyap-BLkxbFhcQRhghg.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPTyJJ3dJfU6-XWVNf-DPRbs.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPTh33M2A-6X0bdu871ruAGs.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPRHJTnCUrjaAm2S9z52xC3Y.woff2) format('woff2');
|
||||
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPYWiMMZ7xLd792ULpGE4W_Y.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz6-j2U0lmluP9RWlSytm3ho.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz5X5f-9o1vgP2EXwfjgl7AY.woff2) format('woff2');
|
||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzxWV49_lSm1NYrwo-zkhivY.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz6aRobkAwv3vxw3jMhVENGA.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz_8zf_FOSsgRmwsS7Aa9k2w.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzz0LW-43aMEzIO6XUTLjad8.woff2) format('woff2');
|
||||
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNz-gdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvLPaLDTSXeXFRL0dx0NiHII.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvNkZ6ofoXFVR94fBb90XSvU.woff2) format('woff2');
|
||||
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvO0TTzR8Cjc_q-rx2cfsDws.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvLY42KghHoOJT8APv0kV5JI.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvBleLRUdNWOtq4SldHKv7HI.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+1EA0-1EF1, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvOIaMZP5eRGvEWe_CNIU_oY.woff2) format('woff2');
|
||||
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Noto Serif';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvHNuWYKPzoeKl5tYj8yhly0.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
@ -1 +0,0 @@
|
||||
!function(){function e(){}function n(e){var n="";if(n+=r(),n+=G,n+=L,n+=J,n+="/",n+=K,n+="?event="+e[1],n+="&time="+Q,n+="&__v="+Math.floor(1e5*Math.random()),d(e[2])){e[2]=g(e[2]);var t=_(e[2]);t&&(n+="&"+t)}return n}function r(){return w&&w.location&&"https:"===w.location.protocol?"https:":"http:"}function t(){for(var e=0,n=N.length;n>e;e++)if(N[e][0]===k){J=N[e][1],K=N[e][2],N[e][3]&&(G=N[e][3]),N.splice(e,1),i();break}}function o(r){r=v?u(r):f(r);var t=n(r),o=s(t);h instanceof e&&console.log(o)}function i(){if(J&&K){var e=N.length;if(e)for(var n=0;e>n;n++)a(N[n]);N=[]}else t()}function a(e){c(e)&&m(e[0])&&(e[0]===C?p(e[1],z)&&(L=e[1]):y(e[1])&&e[0]===D&&o(e))}function f(e){var n=e[2]||{};return w&&w.location&&(n.url=w.location.toString()),h.referrer&&(n.referrer=h.referrer),h.cookie&&(n.cookie=h.cookie),"undefined"!=typeof navigator&&(n.user_agent=navigator.userAgent),e[2]=n,e}function u(e){var n=e[2]||{};return h.referrer&&(n.url=h.referrer,n.referrer=""),h.cookie&&(n.cookie=h.cookie),"undefined"!=typeof navigator&&(n.user_agent=navigator.userAgent),e[2]=n,e}function c(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"length")}function d(e){return null!==e&&"object"==typeof e}function l(e){return"number"==typeof e&&13===e.toString().length}function p(e,n){if("string"==typeof e){if("undefined"!=typeof Array.prototype.indexOf)return-1!==n.indexOf(e);for(var r=0;r<n.length;r++)if(n[r]===e)return!0}return!1}function g(e){var n={};if(d(e)){for(var r in e)H.hasOwnProperty(r)&&(e[H[r]]=e[r],delete e[r]);n=e}return n}function s(e){var n=h.createElement("img");return n.width=1,n.height=1,n.src=e,n.onload=null,n.onerror=null,n}function _(e){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return n.join("&")}function m(e){return e!==k?p(e,B):!1}function y(e){return p(e,F)}e.prototype.createElement=function(e){return{element:e}};var v="undefined"!=typeof window&&window!==top?!0:!1,b="_dct",w="undefined"!=typeof window?window:global,h="undefined"!=typeof document?document:new e,O=w.DataCloudObject||b,j=w[O]||{},k="create",D="send",C="route",x="confirmation",A="landing",P="login",q="pageview",E="registration",I="successful_payment",M="info",R="/",S="/sync/",U="/sync_forward/",z=[R,S,U],B=[k,D,C],F=[x,A,P,q,E,I,M],G="//t.insigit.com",H={aif_id:"afd",sub_aif_id:"sa",traffic_source:"ts",aff_campaign:"ac",platform:"p",profile_id:"pid",site_id:"sid",gender1:"g1",gender2:"g2",gender3:"g3",gender0:"g0",date_of_birth:"dfb",age_period:"ap",age:"ag",age0:"ag0",domain:"d",amount:"am",currency:"cr",visitor_id:"vid",partner_id:"ext",partner_subid:"eid",email:"emh",email_domain:"emd",confirmed_date:"cd","registration _date":"rd",browser_name_registration:"bnr",browser_language_registration:"blr",devicetype_registration:"dtr",login_ip:"lip",reg_ip:"rip",country_reg:"c",order_date:"od",transaction_status:"ts",ip_payment:"ipp",browser_name_payment:"bnp",browser_language_payment:"blp",number_of_logins:"l"},J=null,K=null,L=R,N=[];c(j.q)&&(N=j.q);var Q="function"==typeof Date.now?Date.now():+new Date;l(j.l)&&(Q=j.l);var T=function(){N.push(arguments),i()};T.prototype={},w&&w.DataCloudObject?(w[w.DataCloudObject]=T,i()):w&&(w[b]=T,i())}();
|
@ -1,758 +0,0 @@
|
||||
|
||||
var thingWidget;
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
$(document).mousemove(function(e) {
|
||||
mouseX = e.pageX;
|
||||
mouseY = e.pageY;
|
||||
if (thingWidget && thingWidget.is(':visible')) {
|
||||
|
||||
var ww = $(window).width();
|
||||
var indent = 35;
|
||||
var boxWidth = 300;
|
||||
|
||||
if ((mouseX + indent + boxWidth) > ww) {
|
||||
var posLeft = e.pageX - (indent + boxWidth);
|
||||
var cssArr = {
|
||||
top: e.pageY - 150,
|
||||
left: posLeft
|
||||
}
|
||||
}
|
||||
else {
|
||||
var cssArr = {
|
||||
top: (e.pageY - 150),
|
||||
left: (e.pageX + 35)
|
||||
}
|
||||
}
|
||||
|
||||
thingWidget.css(cssArr);
|
||||
}
|
||||
}).mouseover();
|
||||
|
||||
|
||||
$('.thing-widget').hover(
|
||||
function() {
|
||||
var ww = $(window).width();
|
||||
var indent = 35;
|
||||
var boxWidth = 300;
|
||||
|
||||
if ((mouseX + indent + boxWidth) > ww) {
|
||||
var posLeft = mouseX - (indent + boxWidth);
|
||||
var cssArr = {
|
||||
top: mouseY - 150,
|
||||
left: posLeft
|
||||
}
|
||||
}
|
||||
else {
|
||||
var cssArr = {
|
||||
top: (mouseY - 150),
|
||||
left: (mouseX + 35)
|
||||
}
|
||||
}
|
||||
|
||||
var that = $('div.tw[data-id="' + $(this).attr('data-target') +'"]');
|
||||
thingWidget = that;
|
||||
that.stop(true).queue('fx', function(){
|
||||
that.css(cssArr).show('fast').dequeue('fx');
|
||||
});
|
||||
},
|
||||
function() {
|
||||
var that = $('div.tw[data-id="' + $(this).attr('data-target') +'"]');
|
||||
that.stop(true).queue('fx', function(e){
|
||||
that.hide('fast').dequeue('fx');
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
if ($('body').find('ul.admin-menu').size() > 0)
|
||||
{
|
||||
$('ul.admin-menu').children('li').click(function(){
|
||||
if ($(this).is('.exit'))
|
||||
{
|
||||
$('div.admin-data').hide('fast');
|
||||
$('ul.admin-menu').children('li').removeClass('active');
|
||||
$('div.admin-panel').removeClass('active');
|
||||
}
|
||||
else if (!$(this).is('.active'))
|
||||
{
|
||||
$('ul.admin-menu').children('li').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
$('div.admin-panel').addClass('active');
|
||||
|
||||
if (!$(this).children('a').is('.hierarchy'))
|
||||
{
|
||||
$('div.admin-content').addClass('rf');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('div.admin-content').removeClass('rf');
|
||||
}
|
||||
|
||||
var that = $('div.admin-data[data-id="' + $(this).children('a').attr('data-target') +'"]');
|
||||
$('div.admin-data').hide('fast');
|
||||
that.show('fast');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/* GLOBAL DROPPED MENU */
|
||||
if ($('body').find('ul.dropped-down').size() > 0)
|
||||
{
|
||||
$('ul.dropped-down').click(function()
|
||||
{
|
||||
if($(this).is('.open'))
|
||||
{
|
||||
$(this).children('li').hide('fast', function(){
|
||||
$('ul.dropped-down').removeClass('open');
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).children('li').show('fast', function(){
|
||||
$('ul.dropped-down').addClass('open');
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/* GLOBAL SUB MENU */
|
||||
if ($('body').find('li.sub-menu').size() > 0)
|
||||
{
|
||||
$('li.sub-menu').hover(
|
||||
function() {
|
||||
$(this).children('ul.sub-menu').slideDown(300);
|
||||
},
|
||||
function() {
|
||||
$(this).children('ul.sub-menu').slideUp(300);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/* GLOBAL USER SUB MENU */
|
||||
if ($('body').find('li.sub-menu-click').size() > 0)
|
||||
{
|
||||
$('li.sub-menu-click').click(function(){
|
||||
if(!$(this).children('ul.sub-menu-click').is(':visible')) {
|
||||
$(this).children('ul.sub-menu-click').slideDown(300);
|
||||
}
|
||||
else {
|
||||
$(this).children('ul.sub-menu-click').slideUp(300);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* MAIN AUTH FORM */
|
||||
if ($('body').find('form.rand-auth').size() > 0)
|
||||
{
|
||||
$('div.checkbox').click(function(){
|
||||
if($(this).is('.active')) {
|
||||
$(this).removeClass('active');
|
||||
$(this).children('input').removeAttr('checked');
|
||||
}
|
||||
else {
|
||||
$(this).addClass('active');
|
||||
$(this).children('input').attr('checked', 'checked');
|
||||
}
|
||||
});
|
||||
}
|
||||
/*
|
||||
if ($('body').find('a.subscriber-auth').size() > 0)
|
||||
{
|
||||
$('a.subscriber-auth').click(function(e){
|
||||
$('li.subscriber').children('div.auth').slideDown(100);
|
||||
rel = $('li.subscriber').children('div.auth').attr('data-rel');
|
||||
if (rel == 'right') {
|
||||
$('div.right').css('padding-top', '155px');
|
||||
}
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
*/
|
||||
$(document).mouseup(function (e) {
|
||||
var div = $("div.inmain-auth");
|
||||
if (!div.is(e.target) && div.has(e.target).length === 0) {
|
||||
div.hide();
|
||||
if ($('div.inmain-auth').attr('data-rel') == 'right') {
|
||||
$('div.right').removeAttr('style');
|
||||
}
|
||||
}
|
||||
});
|
||||
/* ******************* */
|
||||
|
||||
|
||||
/* FAQ QUESTIONS */
|
||||
if($('body').find('div.bfaq').size() > 0)
|
||||
{
|
||||
$('a.question').click(function(e){
|
||||
if($(this).is('.active')) {
|
||||
$(this).removeClass('active');
|
||||
$(this).parent('.each').children('.answer').slideUp(400);
|
||||
}
|
||||
else {
|
||||
$('.question').removeClass('active');
|
||||
$('.answer').slideUp(400);
|
||||
$(this).addClass('active');
|
||||
$(this).parent('.each').children('.answer').slideDown(400);
|
||||
}
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
/* ******************* */
|
||||
|
||||
|
||||
if ($('body').find('textarea#content').size() > 0)
|
||||
{
|
||||
$('textarea#content').redactor({
|
||||
lang: 'ru',
|
||||
air: false,
|
||||
autoclear: false,
|
||||
imageGetJson: false,
|
||||
imageUpload: '/picture-upload/',
|
||||
toolbar: 'mini'
|
||||
});
|
||||
}
|
||||
if ($('body').find('textarea#faq-content').size() > 0)
|
||||
{
|
||||
$('textarea#faq-content').redactor({
|
||||
lang: 'ru',
|
||||
air: false,
|
||||
autoclear: false,
|
||||
toolbar: 'faq'
|
||||
});
|
||||
}
|
||||
|
||||
if ($('body').find('textarea#admin-content-plain').size() > 0)
|
||||
{
|
||||
$('textarea#admin-content-plain').redactor({
|
||||
lang: 'ru',
|
||||
air: false,
|
||||
autoclear: false,
|
||||
imageGetJson: false,
|
||||
imageUpload: '/picture-upload/',
|
||||
toolbar: 'admincontent'
|
||||
});
|
||||
}
|
||||
|
||||
if ($('body').find('textarea#admin-content-plain-added').size() > 0)
|
||||
{
|
||||
$('textarea#admin-content-plain-added').redactor({
|
||||
lang: 'ru',
|
||||
air: false,
|
||||
autoclear: false,
|
||||
imageGetJson: false,
|
||||
imageUpload: '/picture-upload/',
|
||||
toolbar: 'admincontent'
|
||||
});
|
||||
}
|
||||
|
||||
if ($('body').find('div#notice').size() > 0)
|
||||
{
|
||||
if ($('div#notice').is('.fly'))
|
||||
{
|
||||
setTimeout(function(){
|
||||
$('div#notice').animate({
|
||||
opacity: 0,
|
||||
top: '-=100px'
|
||||
}, 1000);
|
||||
}, 3500);
|
||||
}
|
||||
}
|
||||
|
||||
if ($('body').find('input.clean').size() > 0)
|
||||
{
|
||||
$('input.clean').val('');
|
||||
}
|
||||
|
||||
if ($('body').find('.goods').size() > 0) {
|
||||
$('.goods').children('.item').click(function(){
|
||||
var item_id = '.item-' + $(this).attr('data-id');
|
||||
if ($(this).is('.active')) {
|
||||
$(this).removeClass('active');
|
||||
$(item_id).slideUp('fast');
|
||||
}
|
||||
else {
|
||||
$('.goods').children('.item').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
$('.goods-pay').slideUp('fast', function(){
|
||||
setTimeout(function(){
|
||||
$(item_id).slideDown('slow');
|
||||
}, 400);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
$('ul#switch').children('li').children('a').click(function(e){
|
||||
|
||||
if (!$(this).parent('li').is('active')) {
|
||||
|
||||
$('ul#switch').children('li').removeClass('active');
|
||||
$(this).parent('li').addClass('active');
|
||||
var dataRel = $(this).attr('data-rel');
|
||||
|
||||
if($('.goods-pay').is(':visible')) {
|
||||
$('.goods').children('.item').removeClass('active');
|
||||
$('.goods-pay').slideUp('fast');
|
||||
}
|
||||
|
||||
if (dataRel == 0) {
|
||||
$('.goods').children('.item').show();
|
||||
}
|
||||
else if (dataRel == 1) {
|
||||
$("div.item[data-target='2']").hide();
|
||||
}
|
||||
else if (dataRel == 2) {
|
||||
$("div.item[data-target='1']").hide();
|
||||
}
|
||||
$("div.item[data-target='" + dataRel +"']").show();
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
$('ul#switch-menu').children('li').children('a').click(function(e){
|
||||
if(!$(this).parent('li').is('.active')) {
|
||||
$('ul#switch-menu').children('li').removeClass('active');
|
||||
$(this).parent('li').addClass('active');
|
||||
var dataRel = $(this).attr('data-rel');
|
||||
$('.switch-target').hide();
|
||||
$("div.switch-target[data-id='" + dataRel +"']").show();
|
||||
}
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
$('input#shop-val-dimond').bind('keyup', function(){
|
||||
var value = $(this).val() * 1;
|
||||
|
||||
if ($.isNumeric(value) && value >= 1) {
|
||||
if ($(this).parent('div').is('.invalid')) {
|
||||
$(this).parent('div').removeClass('invalid');
|
||||
}
|
||||
|
||||
var newPrice = Math.ceil(value / (shop_price_amn * 1));
|
||||
$('a.shop-money-dimond').text('Купить за ' + newPrice + ' руб').attr('data-price', value);
|
||||
|
||||
if($(this).is('.summa-bonus')) {
|
||||
|
||||
var actual_summa = 0;
|
||||
|
||||
if (value >= 5000) {
|
||||
actual_summa = 5000;
|
||||
actual_val = Math.ceil(value * 0.2);
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (value >= 3000) {
|
||||
actual_summa = 3000;
|
||||
actual_val = Math.ceil(value * 0.17);
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (value >= 1500) {
|
||||
actual_summa = 1500;
|
||||
actual_val = Math.ceil(value * 0.15);
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (value >= 1000) {
|
||||
actual_summa = 1000;
|
||||
actual_val = Math.ceil(value * 0.12);
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (value >= 500) {
|
||||
actual_summa = 500;
|
||||
actual_val = Math.ceil(value * 0.1);
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (value >= 150) {
|
||||
actual_summa = 150;
|
||||
actual_val = Math.ceil(value * 0.05);
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
|
||||
var summa_bonus_name = 'span.summa-bonus-dimond-' + actual_summa;
|
||||
|
||||
if (actual_summa >= 150) {
|
||||
$(summa_bonus_name).text(actual_text).show();
|
||||
$(this).width(120);
|
||||
}
|
||||
if (actual_summa < 1) {
|
||||
$('span.summa-bonus').hide();
|
||||
$(this).width(256);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!$.isNumeric(value)) {
|
||||
$(this).parent('div').addClass('invalid');
|
||||
}
|
||||
$('a.shop-money-dimond').text($('a.shop-money-dimond').attr('data-default')).attr('data-price', 0);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('input#shop-val-gold').bind('keyup', function(){
|
||||
var value = $(this).val() * 1;
|
||||
var amnVal = value / 10;
|
||||
|
||||
if ($.isNumeric(value) && value > 1) {
|
||||
if ($(this).parent('div').is('.invalid')) {
|
||||
$(this).parent('div').removeClass('invalid');
|
||||
}
|
||||
var newPrice = Math.ceil(value / (shop_price_zmn * 1));
|
||||
$('a.shop-money-gold').text('Купить за ' + newPrice + ' руб').attr('data-price', value / 10);
|
||||
|
||||
if($(this).is('.summa-bonus')) {
|
||||
|
||||
var actual_summa = 0;
|
||||
|
||||
if (amnVal >= 5000) {
|
||||
actual_summa = 5000;
|
||||
actual_val = Math.ceil(amnVal * 0.2) * 10;
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (amnVal >= 3000) {
|
||||
actual_summa = 3000;
|
||||
actual_val = Math.ceil(amnVal * 0.17) * 10;
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (amnVal >= 1500) {
|
||||
actual_summa = 1500;
|
||||
actual_val = Math.ceil(amnVal * 0.15) * 10;
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (amnVal >= 1000) {
|
||||
actual_summa = 1000;
|
||||
actual_val = Math.ceil(amnVal * 0.12) * 10;
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (amnVal >= 500) {
|
||||
actual_summa = 500;
|
||||
actual_val = Math.ceil(amnVal * 0.1) * 10;
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
else if (amnVal >= 150) {
|
||||
actual_summa = 150;
|
||||
actual_val = Math.ceil(amnVal * 0.05) * 10;
|
||||
actual_text = '+' + actual_val + ' бесплатно';
|
||||
}
|
||||
|
||||
var summa_bonus_name = 'span.summa-bonus-gold-' + actual_summa;
|
||||
|
||||
if (actual_summa >= 150) {
|
||||
$(summa_bonus_name).text(actual_text).show();
|
||||
$(this).width(120);
|
||||
}
|
||||
if (actual_summa < 1) {
|
||||
$('span.summa-bonus').hide();
|
||||
$(this).width(256);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!$.isNumeric(value)) {
|
||||
$(this).parent('div').addClass('invalid');
|
||||
}
|
||||
$('a.shop-money-gold').text($('a.shop-money-gold').attr('data-default')).attr('data-price', 0);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$('a.shop-pay').click(function(e){
|
||||
if (($(this).attr('data-price') * 1) < 1) {
|
||||
if ($(this).is('.shop-money-dimond')) {
|
||||
$('input#shop-val-dimond').parent('div').addClass('invalid');
|
||||
}
|
||||
if ($(this).is('.shop-money-gold')) {
|
||||
$('input#shop-val-dimond').parent('div').addClass('invalid');
|
||||
}
|
||||
}
|
||||
else if (!$(this).is('.shop-pay-block')) {
|
||||
|
||||
$(this).addClass('shop-pay-block');
|
||||
|
||||
if ($(this).is('.shop-money-gold')) {
|
||||
var callRequest = {
|
||||
'amount': $(this).attr('data-price'),
|
||||
'gold': $('input#shop-val-gold').val()
|
||||
}
|
||||
} else {
|
||||
var callRequest = {
|
||||
'amount': $(this).attr('data-price')
|
||||
}
|
||||
}
|
||||
|
||||
system.call(urlShopPay, callRequest, function(data){
|
||||
|
||||
if (data.error) {
|
||||
if (data.error.code == 'INVALID_USER') {
|
||||
window.location.href = '/sign/';
|
||||
} else if (data.error.code == 'INVALID_ERROR') {
|
||||
$('div#fly-fail').fadeIn('fast');
|
||||
}
|
||||
} else if (data.success) {
|
||||
XPSLightBox.open('https://secure.xsolla.com/paystation2/?access_token=' + data.success.token, 750, 620);
|
||||
}
|
||||
});
|
||||
|
||||
setTimeout(function(button){
|
||||
$('a.shop-pay').removeClass('shop-pay-block');
|
||||
}, 3500);
|
||||
}
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('.goods-close').click(function(){
|
||||
$(this).parent('div.goods-pay').slideUp('fast');
|
||||
$('.goods').children('.item').removeClass('active');
|
||||
});
|
||||
|
||||
$('#fly-fail').children('.close').click(function(){
|
||||
$(this).parent('div').fadeOut('fast');
|
||||
});
|
||||
$('#fly-result').children('.close').click(function(){
|
||||
$(this).parent('div').fadeOut('fast');
|
||||
});
|
||||
|
||||
$('.tooltip').tooltip({
|
||||
show: null,
|
||||
position: {
|
||||
my: "center bottom",
|
||||
at: "center top-20"
|
||||
},
|
||||
open: function( event, ui ) {
|
||||
ui.tooltip.animate({ top: ui.tooltip.position().top + 10 }, "fast" );
|
||||
}
|
||||
});
|
||||
|
||||
/* IGNORED EVENTS */
|
||||
$('a.ignore').click(function(e){
|
||||
e.preventDefault();
|
||||
});
|
||||
$('form.ignore').submit(function(e){
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
/* VIP ACCOUNT */
|
||||
if ($('body').find('div.vip-lib').size() > 0)
|
||||
{
|
||||
var cl = account_stat_vip*1;
|
||||
var cr = account_stat_rub*1;
|
||||
if (cr >= 1) vipLoad();
|
||||
|
||||
$('span.bnext').click(function(){
|
||||
var cb = $('div.lib-box-vi').attr('data-id');
|
||||
var cbn = (cb*1) + 1;
|
||||
if (cbn <= 12) {
|
||||
var next = 'div.lib-box-' + cbn;
|
||||
var nextNM = ($(next).attr('data-next')*1) - cr;
|
||||
var needM = $(next).attr('data-next')*1;
|
||||
$('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){
|
||||
$(next).addClass('lib-box-vi').fadeIn('slow');
|
||||
$('div.vip-line').children('span.prefix').text('VIP ' + cl);
|
||||
$('div.vip-line').children('span.suffix').text('VIP ' + (cbn + 1));
|
||||
|
||||
if (cbn == 12) {
|
||||
$('span.vip-desc').text('Следующий уровень не доступен');
|
||||
$('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay');
|
||||
$('div.line').children('span.need').text('> 22000');
|
||||
} else if (nextNM < 1) {
|
||||
$('span.vip-desc').text('Ртот уровень VIP вам доступен');
|
||||
$('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay');
|
||||
$('div.line').children('span.need').text(needM);
|
||||
vipLineLength(cr, needM);
|
||||
} else {
|
||||
$('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет');
|
||||
$('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled');
|
||||
$('div.line').children('span.need').text(nextNM);
|
||||
vipLineLength(cr, needM);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$('span.blast').click(function(){
|
||||
var cb = $('div.lib-box-vi').attr('data-id');
|
||||
var cbn = (cb*1) - 1;
|
||||
if (cbn >= 0) {
|
||||
var last = 'div.lib-box-' + cbn;
|
||||
var nextNM = ($(last).attr('data-next')*1) - cr;
|
||||
var needM = $(last).attr('data-next')*1;
|
||||
$('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){
|
||||
$(last).addClass('lib-box-vi').fadeIn('slow');
|
||||
$('div.vip-line').children('span.prefix').text('VIP ' + cl);
|
||||
$('div.vip-line').children('span.suffix').text('VIP ' + cb);
|
||||
|
||||
if (nextNM < 1) {
|
||||
$('span.vip-desc').text('Ртот уровень VIP вам доступен');
|
||||
$('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay');
|
||||
$('div.line').children('span.need').text(needM);
|
||||
vipLineLength(cr, needM);
|
||||
} else {
|
||||
$('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет');
|
||||
$('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled');
|
||||
$('div.line').children('span.need').text(nextNM);
|
||||
vipLineLength(cr, needM);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$('a.vip-pay-disabled').live('click', function(e){
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function vipLineLength (money, needMoney)
|
||||
{
|
||||
var min = 30;
|
||||
if (money >= 10) min = 38;
|
||||
if (money >= 100) min = 45;
|
||||
if (money >= 1000) min = 55;
|
||||
if (money >= 10000) min = 65;
|
||||
|
||||
var max = 669;
|
||||
var len = max * ((money*1) / (needMoney*1));
|
||||
var cw = $('div.inline').width()*1;
|
||||
|
||||
cw = cw < min ? min : cw;
|
||||
len = len < min ? min : len;
|
||||
len = len > max ? max : len;
|
||||
|
||||
if (len >= cw) {
|
||||
var w = len - cw;
|
||||
$('div.inline').animate({
|
||||
width: '+=' + w + 'px'
|
||||
}, 500);
|
||||
} else {
|
||||
var w = cw - len;
|
||||
$('div.inline').animate({
|
||||
width: '-=' + w + 'px'
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function vipLoad (cl, cr)
|
||||
{
|
||||
var cl = account_stat_vip*1;
|
||||
var cr = account_stat_rub*1;
|
||||
|
||||
if (cl <= 12) {
|
||||
var next = 'div.lib-box-' + cl;
|
||||
var nextNM = ($(next).attr('data-next')*1) - cr;
|
||||
var needM = $(next).attr('data-next')*1;
|
||||
$('div.lib-box-vi').removeClass('lib-box-vi').fadeOut('fast', function(){
|
||||
$(next).addClass('lib-box-vi').fadeIn('slow');
|
||||
$('div.vip-line').children('span.prefix').text('VIP ' + cl);
|
||||
$('div.vip-line').children('span.suffix').text('VIP ' + (cl + 1));
|
||||
|
||||
if (cl == 12) {
|
||||
$('span.vip-desc').text('Следующий уровень не доступен');
|
||||
$('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay');
|
||||
$('div.line').children('span.need').text('> 22000');
|
||||
} else if (nextNM < 1) {
|
||||
$('span.vip-desc').text('Ртот уровень VIP вам доступен');
|
||||
$('a.vip-pay').addClass('vip-pay-disabled').removeClass('vip-pay');
|
||||
$('div.line').children('span.need').text(needM);
|
||||
vipLineLength(cr, needM);
|
||||
} else {
|
||||
$('span.vip-desc').text('Купите ' + nextNM + ' алмазных монет');
|
||||
$('a.vip-pay-disabled').addClass('vip-pay').removeClass('vip-pay-disabled');
|
||||
$('div.line').children('span.need').text(nextNM);
|
||||
vipLineLength(cr, needM);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if ($('body').find('a.lb1').size() > 0) {
|
||||
jQuery('a.lb1').lightBox({
|
||||
overlayBgColor: '#000',
|
||||
overlayOpacity: 0.8,
|
||||
imageLoading: '/images/724.gif'
|
||||
});
|
||||
}
|
||||
if ($('body').find('a.lb2').size() > 0) {
|
||||
jQuery('a.lb2').lightBox({
|
||||
overlayBgColor: '#1D2F35',
|
||||
overlayOpacity: 0.6,
|
||||
imageLoading: '/images/preloader_724_1.gif'
|
||||
});
|
||||
}
|
||||
if ($('body').find('a.lb3').size() > 0) {
|
||||
jQuery('a.lb3').lightBox({
|
||||
overlayBgColor: '#1D2F35',
|
||||
overlayOpacity: 0.6,
|
||||
imageLoading: '/images/preloader_724_1.gif'
|
||||
});
|
||||
}
|
||||
if ($('body').find('a.lib-image').size() > 0) {
|
||||
jQuery('a.lib-image').lightBox({
|
||||
overlayBgColor: '#1D2F35',
|
||||
overlayOpacity: 0.6,
|
||||
imageLoading: '/images/preloader_724_1.gif',
|
||||
imageBtnClose: '/images/lightbox-btn-close.gif',
|
||||
imageBtnPrev: '/images/lightbox-btn-prev.gif',
|
||||
imageBtnNext: '/images/lightbox-btn-next.gif',
|
||||
imageBlank: '/images/lightbox-blank.gif',
|
||||
txtImage: 'Рзображение',
|
||||
txtOf: 'РёР·'
|
||||
});
|
||||
}
|
||||
if ($('body').find('a.lv1').size() > 0) {
|
||||
$('a.lv1').click(function(){
|
||||
$('body').append('<div id="jquery-overlay" style="background-color: rgba(29, 47, 53, 0.6); width: 100%; height: ' + Math.max($(document).height(), $(window).height()) + 'px"></div><div id="jquery-lightbox" style="top: 150px; left: 0px"><div id="lightbox-container-image-box" style="width: 660px; height: 380px;"><div id="lightbox-container-image"><iframe width="640" height="360" src="//www.youtube.com/embed/47vfsoCnS5A?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe></iframe></div></div><div id="lightbox-container-image-data-box" style="display: block; width: 640px;"><div id="lightbox-container-image-data"><div id="lightbox-image-details"><span id="lightbox-image-details-caption" style="display: none"></span><span id="lightbox-image-details-currentNumber" style="display: none"></span></div><div id="lightbox-secNav"><a href="#" id="lightbox-secNav-btnClose"><img src="/images/lightbox-btn-close.gif" /></a></div></div></div></div>');
|
||||
});
|
||||
$('#jquery-overlay').live('click', function(){
|
||||
$('#jquery-lightbox').remove();
|
||||
$('#jquery-overlay').fadeOut(function() { $('#jquery-overlay').remove(); });
|
||||
});
|
||||
$('#lightbox-secNav-btnClose').live('click', function(e){
|
||||
$('#jquery-lightbox').remove();
|
||||
$('#jquery-overlay').fadeOut(function() { $('#jquery-overlay').remove(); });
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
|
||||
$('.invite-select').change(function(){
|
||||
$(this).addClass('selected');
|
||||
});
|
||||
|
||||
|
||||
/* FORMS */
|
||||
$('input.alter').keyup(function()
|
||||
{
|
||||
if ($(this).parent('.field').is('.alarm'))
|
||||
{
|
||||
$(this).parent('.field').removeClass('alarm');
|
||||
$(this).parent('.field').parent('fieldset').children('p.note').slideUp(300);
|
||||
}
|
||||
});
|
||||
|
||||
$('ul.radio').children('li').click(function()
|
||||
{
|
||||
var dataTarget = 'input#' + $(this).parent('ul').attr('data-target');
|
||||
var dataRel = $(this).attr('data-rel');
|
||||
|
||||
$(this).parent('ul').parent('div.field').removeClass('alarm success');
|
||||
$(this).parent('ul').children('li').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
$(dataTarget).val(dataRel);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 18 KiB |
@ -1,203 +0,0 @@
|
||||
/* Часто задаваемые вопросы */
|
||||
div.frame.faq > div.left {
|
||||
width: 270px;
|
||||
padding-top: 140px;
|
||||
padding-bottom: 0px;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 35px;
|
||||
bottom: 0px;
|
||||
background-color: rgba(0,0,0,0.2);
|
||||
background-image: url(/pic/store/left-gradient.png);
|
||||
background-repeat: repeat-y;
|
||||
background-position: right top;
|
||||
}
|
||||
div.frame.faq > div.right {
|
||||
position: relative;
|
||||
width: 656px;
|
||||
margin-left: 278px;
|
||||
background: url(/pic/store/right-back.png) top right no-repeat;
|
||||
}
|
||||
div.frame.faq > div.right div.bfaq,
|
||||
div.frame.faq > div.right div.faq-form {
|
||||
padding: 32px 28px;
|
||||
}
|
||||
div.frame.faq > div.right div.category {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
div.frame.faq > div.right div.category h1,
|
||||
div.frame.faq > div.right div.faq-form h1 {
|
||||
font-size: 20px;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
color: #f1e5d5;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 6px;
|
||||
-moz-text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
-webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
div.frame.faq > div.right div.category div.sep,
|
||||
div.frame.faq > div.right div.faq-form div.sep {
|
||||
border-top: 1px solid #0b0f12;
|
||||
border-bottom: 1px solid #26353a;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
div.frame.faq > div.right div.category div.each {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
div.frame.faq > div.right div.category div.each a.question {
|
||||
display: block;
|
||||
}
|
||||
div.frame.faq > div.right div.category div.each a.question span {
|
||||
font-size: 14px;
|
||||
padding: 0px 1px 2px 1px;
|
||||
border-bottom: 1px dashed #988f80;
|
||||
color: #988f80;
|
||||
display: inline-block;
|
||||
}
|
||||
div.frame.faq > div.right div.category div.each a.question:hover span,
|
||||
div.frame.faq > div.right div.category div.each a.question.active span {
|
||||
-moz-text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
-webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
color: #D8D6D2;
|
||||
border-bottom: 1px dashed #D8D6D2;
|
||||
}
|
||||
div.frame.faq > div.right div.each div.answer {
|
||||
display: none;
|
||||
padding: 6px 6px 6px 20px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
div.frame.faq > div.right div.each div.answer p {
|
||||
font-size: 13px;
|
||||
color: #988f80;
|
||||
}
|
||||
|
||||
div.frame.faq > div.right div.each div.answer a {
|
||||
font-size: 13px;
|
||||
color: #988f80;
|
||||
border-bottom: 1px dashed #988f80;
|
||||
}
|
||||
|
||||
div.frame.faq > div.right div.each div.answer a:hover {
|
||||
color: #E0DFDD;
|
||||
border-bottom: 1px dashed #E0DFDD;
|
||||
}
|
||||
|
||||
div.frame.faq > div.right div.faq-form div.send {
|
||||
position: absolute;
|
||||
top: 78px;
|
||||
left: -4px;
|
||||
right: 0px;
|
||||
bottom: -8px;
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
z-index: 1100;
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.frame.faq > div.right div.faq-form div.send p {
|
||||
text-align: center;
|
||||
color: #f1e5d5;
|
||||
font-size: 18px;
|
||||
font-style: italic;
|
||||
padding-top: 160px;
|
||||
}
|
||||
|
||||
|
||||
/* ЛЕВОЕ МЕНЮ БИБЛИОТЕКИ */
|
||||
div.frame.faq > div.left > ul.menu {
|
||||
list-style: none;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu + ul.menu {
|
||||
margin-top: 16px;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:nth-child(3n+2) {
|
||||
background: url(/pic/store/menu/button1_n.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:nth-child(2n+1) {
|
||||
background: url(/pic/store/menu/button2_n.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:nth-child(2n+2) {
|
||||
background: url(/pic/store/menu/button3_n.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:hover:nth-child(3n+2) {
|
||||
background: url(/pic/store/menu/button1_s.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:hover:nth-child(2n+1) {
|
||||
background: url(/pic/store/menu/button2_s.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:hover:nth-child(2n+2) {
|
||||
background: url(/pic/store/menu/button3_s.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li.active:nth-child(3n+2) {
|
||||
background: url(/pic/store/menu/button1_p.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li.active:nth-child(2n+1) {
|
||||
background: url(/pic/store/menu/button2_p.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li.active:nth-child(2n+2) {
|
||||
background: url(/pic/store/menu/button3_p.jpg) top left no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:hover a {
|
||||
color: #43b1ec;
|
||||
-moz-text-shadow: 0 0 2px rgba(0,0,0,1);
|
||||
-webkit-text-shadow: 0 0 2px rgba(0,0,0,1);
|
||||
text-shadow: 0 0 2px rgba(0,0,0,1);
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li.active a {
|
||||
color: #43b1ec;
|
||||
-moz-text-shadow: 0 0 3px rgba(0,0,0,1);
|
||||
-webkit-text-shadow: 0 0 3px rgba(0,0,0,1);
|
||||
text-shadow: 0 0 3px rgba(0,0,0,1);
|
||||
background-image: url(/pic/store/menu/line_button_select.jpg), url(/pic/store/menu/line_button_select.jpg);
|
||||
background-position: 70px top, 70px bottom;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li.active::before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: -200px;
|
||||
right: 0px;
|
||||
width: 1px;
|
||||
height: 200px;
|
||||
background: url(/pic/store/menu/line_gradient_t.jpg) center bottom no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li.active::after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
bottom: -200px;
|
||||
right: 0px;
|
||||
width: 1px;
|
||||
height: 200px;
|
||||
background: url(/pic/store/menu/line_gradient_b.jpg) center top no-repeat;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li a {
|
||||
font-size: 14px;
|
||||
color: #3a74a6;
|
||||
padding-left: 20px;
|
||||
display: block;
|
||||
line-height: 30px;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li:first-child {
|
||||
line-height: 36px !important;
|
||||
background: none !important;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
div.frame.faq > div.left > ul.menu li span {
|
||||
display: block;
|
||||
color: #f1e5d5;
|
||||
padding-left: 20px;
|
||||
-moz-text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
-webkit-text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
text-shadow: 0 0 5px rgba(240,230,212,0.6);
|
||||
text-transform: uppercase;
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
}
|
@ -1,657 +0,0 @@
|
||||
input[type=text],
|
||||
input[type=password],
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
background: none repeat scroll 0 0 transparent;
|
||||
font-size: 12px;
|
||||
/*font-family: "PT Sans","Trebuchet MS",segoe ui,trebuchet ms,Verdana,Arial,Tahoma,sans-serif;*/
|
||||
font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif;
|
||||
color: #888888;
|
||||
border: 0 solid;
|
||||
padding: 0px 6px;
|
||||
}
|
||||
|
||||
input[type=text],
|
||||
input[type=password],
|
||||
textarea {
|
||||
-moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.1);
|
||||
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 0 1px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
input:placeholder { color: #9d9d9d }
|
||||
input::-webkit-input-placeholder { color: #9d9d9d }
|
||||
input:-moz-placeholder { color: #9d9d9d }
|
||||
input.placeholder { color: #9d9d9d }
|
||||
input:-ms-input-placeholder { color: #9d9d9d }
|
||||
|
||||
input:focus:placeholder { color: #c2c2c2 }
|
||||
input:focus::-webkit-input-placeholder { color: #c2c2c2 }
|
||||
input:focus:-moz-placeholder { color: #c2c2c2 }
|
||||
input.placeholder:focus { color: #c2c2c2 }
|
||||
input:-ms-input-placeholder:focus { color: #c2c2c2 }
|
||||
|
||||
form.default fieldset {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
form.default fieldset.textarea div.field {
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
form.default fieldset div.field {
|
||||
border: 1px solid #d6d6d6;
|
||||
height: 30px;
|
||||
background-color: #f4f4f4;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
form.default fieldset div.field.radio {
|
||||
|
||||
}
|
||||
|
||||
form.default fieldset div.field.alarm {
|
||||
border: 1px solid #D66060 !important;
|
||||
}
|
||||
form.default fieldset div.field.success {
|
||||
border: 1px solid #458C44 !important;
|
||||
}
|
||||
|
||||
form.default fieldset div.field:hover,
|
||||
form.default fieldset div.field:focus {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #bebebe;
|
||||
}
|
||||
|
||||
fieldset div.field input[type=text],
|
||||
fieldset div.field input[type=password],
|
||||
fieldset div.field select,
|
||||
fieldset div.field textarea,
|
||||
fieldset div.button button {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
fieldset div.field.radio ul {
|
||||
list-style: none;
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
position: relative;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
fieldset div.field.radio ul li {
|
||||
display: block;
|
||||
float: left;
|
||||
color: #7C7C7C;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
position: relative;
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
fieldset div.field.radio ul li:hover {
|
||||
backgroun-position: top left;
|
||||
background-repeat: repeat-x;
|
||||
background-image: url(/i/form/bg-ul-hover.png);
|
||||
background-color: #ffffff;
|
||||
color: #080c16;
|
||||
}
|
||||
|
||||
fieldset div.field.radio ul li.active {
|
||||
backgroun-position: top left;
|
||||
background-repeat: repeat-x;
|
||||
background-image: url(/i/form/bg-ul-active.png);
|
||||
background-color: #ffffff;
|
||||
color: #080c16;
|
||||
}
|
||||
|
||||
fieldset div.field.radion ul li:first-child {
|
||||
-webkit-border-radius: 3px 0px 0px 3px;
|
||||
-moz-border-radius: 3px 0px 0px 3px;
|
||||
border-radius: 3px 0px 0px 3px;
|
||||
}
|
||||
|
||||
fieldset div.field.radion ul li:last-child {
|
||||
-webkit-border-radius: 0px 3px 3px 0px;
|
||||
-moz-border-radius: 0px 3px 3px 0px;
|
||||
border-radius: 0px 3px 3px 0px;
|
||||
}
|
||||
|
||||
fieldset div.field.radio ul li+li::before {
|
||||
content: "";
|
||||
width: 0px;
|
||||
height: 30px;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
border-left: 1px solid #eaeaea;
|
||||
border-right: 1px solid #d6d6d6;
|
||||
}
|
||||
|
||||
fieldset div.field.radio ul.e2 li {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
form.default fieldset > label {
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
-moz-text-shadow: 0 0 1px rgba(0,0,0,0.4);
|
||||
-webkit-text-shadow: 0 0 1px rgba(0,0,0,0.4);
|
||||
text-shadow: 0 0 1px rgba(0,0,0,0.4);
|
||||
font-family: 'Noto Serif', 'PT Sans', 'Trebuchet MS', segoe ui, trebuchet ms, Verdana, Arial, Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
form.default fieldset > label > span.explain {
|
||||
display: inline-block;
|
||||
-webkit-border-radius: 99px;
|
||||
-moz-border-radius: 99px;
|
||||
border-radius: 99px;
|
||||
color: #ffffff;
|
||||
background-color: #080c16;
|
||||
width: 14px;
|
||||
line-height: 14px;
|
||||
font-size: 9px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form.default fieldset > p.desc {
|
||||
font-size: 12px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
color: #858585;
|
||||
}
|
||||
|
||||
form.default fieldset div.button {
|
||||
height: 32px;
|
||||
-moz-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9);
|
||||
-webkit-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9);
|
||||
text-shadow: inset 1px 0 2px rgba(0,0,0,0.9);
|
||||
}
|
||||
|
||||
form.default fieldset div.button button {
|
||||
width: 220px !important;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
div.button button,
|
||||
div.field input[type=text],
|
||||
div.field input[type=password],
|
||||
div.field select {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
outline: 0 none;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.field textarea {
|
||||
display: block;
|
||||
padding: 5px;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
outline: 0 none;
|
||||
width: 100%;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
form.default fieldset div.field,
|
||||
form.default fieldset div.button,
|
||||
form.default button {
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
outline: 0 none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* FORM GLUE */
|
||||
form.glue fieldset div.field {
|
||||
height: 38px;
|
||||
background-color: #f4f4f4;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
form.glue > div.glue input[type=text]
|
||||
form.glue > div.glue input[type=password] {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
form.glue > div.glue fieldset:first-child div.field {
|
||||
-webkit-border-radius: 7px 7px 0px 0px;
|
||||
-moz-border-radius: 7px 7px 0px 0px;
|
||||
border-radius: 7px 7px 0px 0px;
|
||||
border-top: 1px solid #2F2F2F;
|
||||
}
|
||||
|
||||
form.glue > div.glue fieldset div.field {
|
||||
border-left: 1px solid #2F2F2F;
|
||||
border-right: 1px solid #2F2F2F;
|
||||
}
|
||||
|
||||
form.glue > div.glue fieldset:last-child div.field {
|
||||
-webkit-border-radius: 0px 0px 7px 7px;
|
||||
-moz-border-radius: 0px 0px 7px 7px;
|
||||
border-radius: 0px 0px 7px 7px;
|
||||
border-bottom: 1px solid #2F2F2F;
|
||||
}
|
||||
|
||||
form.glue div.button {
|
||||
margin-top: 18px;
|
||||
height: 36px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
form.glue div.button button {
|
||||
-webkit-border-radius: 7px;
|
||||
-moz-border-radius: 7px;
|
||||
border-radius: 7px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
|
||||
-moz-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9);
|
||||
-webkit-text-shadow: inset 1px 0 2px rgba(0,0,0,0.9);
|
||||
text-shadow: inset 1px 0 2px rgba(0,0,0,0.9);
|
||||
}
|
||||
|
||||
form.glue fieldset div.field input[type=text],
|
||||
form.glue fieldset div.field input[type=password] {
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
color: #414042;
|
||||
padding: 0px 12px;
|
||||
|
||||
-moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.4);
|
||||
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.4);
|
||||
box-shadow: inset 0 0 1px rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
form.glue fieldset.radio div.field {
|
||||
min-height: 38px;
|
||||
}
|
||||
|
||||
form.glue fieldset.radio div.field label {
|
||||
display: block;
|
||||
color: #939393;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
padding: 0 2px 0 12px;
|
||||
line-height: 36px;
|
||||
float: left;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
form.glue fieldset.radio div.field radio,
|
||||
form.glue fieldset.radio div.field span {
|
||||
line-height: 40px;
|
||||
}
|
||||
|
||||
form.glue fieldset.radio div.field label + input {
|
||||
/*margin-left: 70px;*/
|
||||
}
|
||||
|
||||
form.glue fieldset.radio div.field span {
|
||||
font-size: 12px;
|
||||
color: #939393;
|
||||
padding: 0px 8px 0px 4px;
|
||||
}
|
||||
|
||||
|
||||
/******** INLINE ************/
|
||||
form#shop-dimond,
|
||||
form#shop-gold {
|
||||
margin-top: 14px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
|
||||
form#shop-dimond div.field,
|
||||
form#shop-gold div.field {
|
||||
background-color: #150506;
|
||||
border: 1px solid #43565c;
|
||||
-webkit-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6);
|
||||
-moz-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6);
|
||||
box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6);
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
||||
form.inline fieldset {
|
||||
position: relative;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
form.inline fieldset div.field {
|
||||
height: 38px;
|
||||
background-color: #f4f4f4;
|
||||
position: relative;
|
||||
-moz-box-shadow: inset 0 0 1px rgba(0,0,0,0.4);
|
||||
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.4);
|
||||
box-shadow: inset 0 0 1px rgba(0,0,0,0.4);
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
|
||||
form.inline fieldset div.field > input {
|
||||
margin-left: 120px;
|
||||
width: 256px;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form.inline fieldset div.field.invalid {
|
||||
border: 1px solid #a62220 !important;
|
||||
}
|
||||
|
||||
form.inline fieldset div.field.invalid input {
|
||||
color: #a62220 !important;
|
||||
}
|
||||
|
||||
form.inline fieldset span.name {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
width: 120px;
|
||||
line-height: 32px;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
color: #f1e5d5;
|
||||
-webkit-border-radius: 3px 1px 1px 3px;
|
||||
-moz-border-radius: 3px 1px 1px 3px;
|
||||
border-radius: 3px 1px 1px 3px;
|
||||
background: rgba(95,0,0,1);
|
||||
|
||||
/*
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0Y2Y2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMlIiBzdG9wLWNvbG9yPSIjYjRjZjYxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMyUiIHN0b3AtY29sb3I9IiM5NWJiMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNmU5MDEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
|
||||
background: -moz-linear-gradient(top, rgba(180,207,97,1) 0%, rgba(180,207,97,1) 3%, rgba(149,187,28,1) 3%, rgba(110,144,16,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,207,97,1)), color-stop(3%,rgba(180,207,97,1)), color-stop(3%,rgba(149,187,28,1)), color-stop(100%,rgba(110,144,16,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4cf61', endColorstr='#6e9010',GradientType=0 );
|
||||
-moz-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9);
|
||||
-webkit-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9);
|
||||
text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9);
|
||||
*/
|
||||
}
|
||||
|
||||
form.inline fieldset span.summa-bonus {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
width: 130px;
|
||||
line-height: 32px;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
color: #f1e5d5;
|
||||
-webkit-border-radius: 1px 3px 3px 1px;
|
||||
-moz-border-radius: 1px 3px 3px 1px;
|
||||
border-radius: 1px 3px 3px 1px;
|
||||
background: rgba(95,0,0,1);
|
||||
|
||||
/*
|
||||
background: #c60000;
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, #c60000 0%, #840000 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000));
|
||||
background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%);
|
||||
background: -o-linear-gradient(top, #c60000 0%,#840000 100%);
|
||||
background: -ms-linear-gradient(top, #c60000 0%,#840000 100%);
|
||||
background: linear-gradient(to bottom, #c60000 0%,#840000 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 );
|
||||
-moz-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9);
|
||||
-webkit-text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9);
|
||||
text-shadow: inset 1px 1px 1px rgba(0,0,0,0.9);
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
/************ NEW SIGN ************/
|
||||
form#sign label {
|
||||
color: #080c16;
|
||||
-moz-text-shadow: 0 0 1px rgba(255,255,255,0.4);
|
||||
-webkit-text-shadow: 0 0 1px rgba(255,255,255,0.4);
|
||||
text-shadow: 0 0 1px rgba(255,255,255,0.4);
|
||||
}
|
||||
|
||||
a.button {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
padding: 3px 12px;
|
||||
-webkit-border-radius: 8px;
|
||||
-moz-border-radius: 8px;
|
||||
border-radius: 8px;
|
||||
color: #ffffff;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* ANY FORMS */
|
||||
div#form-registration {
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 50%;
|
||||
width: 350px;
|
||||
height: 320px;
|
||||
margin-top: -180px;
|
||||
margin-left: -175px;
|
||||
}
|
||||
|
||||
div#form-auth {
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 50%;
|
||||
width: 350px;
|
||||
height: 280px;
|
||||
margin-top: -160px;
|
||||
margin-left: -175px;
|
||||
}
|
||||
|
||||
div#form-auth > div.logo,
|
||||
div#form-registration > div.logo {
|
||||
font-size: 60px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
text-transfrom: uppercase;
|
||||
}
|
||||
|
||||
div#form-auth > p.slogan,
|
||||
div#form-registration > p.slogan {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 15px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
div#form-auth > a,
|
||||
div#form-registration > a {
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin-top: 18px;
|
||||
color: #ffffff !important;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
div#form-auth > a:hover,
|
||||
div#form-registration > a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
form#form-auth,
|
||||
form#form-registration {
|
||||
margin: 0 auto;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
input:-webkit-autofill {
|
||||
color: transparent !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
|
||||
/*************** RANDOM FORM RAND-AUTH ****************/
|
||||
div.rand-auth {
|
||||
padding: 12px 20px 20px 20px;
|
||||
}
|
||||
div.rand-auth h2 {
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
color: #870000;
|
||||
}
|
||||
div.rand-auth ul.menu {
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
}
|
||||
div.rand-auth ul.menu li {
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
line-height: 14px;
|
||||
}
|
||||
div.rand-auth ul.menu li+li {
|
||||
border-left: 1px solid #010101;
|
||||
}
|
||||
div.rand-auth ul.menu li a {
|
||||
display: block;
|
||||
color: #010101;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
div.rand-auth ul.menu li a:hover {
|
||||
border-bottom: 1px dashed #010101;
|
||||
}
|
||||
div.rand-auth > form {
|
||||
margin-top: 10px;
|
||||
}
|
||||
div.rand-auth > form div.field {
|
||||
height: 25px;
|
||||
margin-bottom: 6px;
|
||||
background-color: #150506;
|
||||
border: 1px solid #43565c;
|
||||
-webkit-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6);
|
||||
-moz-box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6);
|
||||
box-shadow: 0px 0px 1px 1px rgba(27,37,37,0.6);
|
||||
}
|
||||
div.rand-auth > form div.field > input {
|
||||
-webkit-box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5);
|
||||
-moz-box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5);
|
||||
box-shadow: inset 0px 0px 8px 2px rgba(150,20,20,0.5);
|
||||
}
|
||||
form.rand-auth fieldset.checkbox {
|
||||
height: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
form.rand-auth fieldset.checkbox label {
|
||||
color: #010101;
|
||||
font-size: 11px;
|
||||
line-height: 25px;
|
||||
font-weight: bold;
|
||||
}
|
||||
form.rand-auth fieldset.checkbox > div,
|
||||
form.rand-auth fieldset.checkbox > label {
|
||||
display: inline-block;
|
||||
}
|
||||
form.rand-auth fieldset.checkbox > div.checkbox {
|
||||
top: 2px;
|
||||
margin-right: 6px;
|
||||
position: relative;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background: url(/pic/front/form/check_normal.jpg) center center no-repeat;
|
||||
}
|
||||
form.rand-auth fieldset.checkbox > div.checkbox.active {
|
||||
background: url(/pic/front/form/check_pressed.jpg) center center no-repeat;
|
||||
}
|
||||
form.rand-auth fieldset.checkbox > div.checkbox.active:hover {
|
||||
background: url(/pic/front/form/check_pressed_select.jpg) center center no-repeat !important;
|
||||
}
|
||||
form.rand-auth fieldset.checkbox > div.checkbox:hover {
|
||||
background: url(/pic/front/form/check_select.jpg) center center no-repeat;
|
||||
}
|
||||
form.rand-auth fieldset.checkbox > div.checkbox input {
|
||||
display: none;
|
||||
}
|
||||
form.rand-auth > fieldset > div.button {
|
||||
text-align: center;
|
||||
margin-top: 3px;
|
||||
}
|
||||
form.rand-auth button {
|
||||
width: 165px;
|
||||
height: 34px;
|
||||
background: url(/pic/front/form/button_normal.jpg) center center no-repeat;
|
||||
font-size: 16px;
|
||||
color: #808588;
|
||||
border: none;
|
||||
display: inline-block !important;
|
||||
}
|
||||
form.rand-auth button:hover {
|
||||
background: url(/pic/front/form/button_select.jpg) center center no-repeat;
|
||||
color: #f2d38a;
|
||||
}
|
||||
|
||||
|
||||
/*************** RANDOM FORM QUESTION ****************/
|
||||
form#question label {
|
||||
font-weight: normal !important;
|
||||
color: #9b8f81 !important;
|
||||
}
|
||||
|
||||
form#question .redactor_box iframe {
|
||||
height: 110px !important;
|
||||
}
|
||||
|
||||
form#question p.note {
|
||||
color: #F59D9D;
|
||||
font-size: 11px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
7
shop/index_files/jquery-ui.min.css
vendored
8
shop/index_files/jquery-ui.min.js
vendored
5
shop/index_files/jquery-ui.structure.min.css
vendored
@ -1,5 +0,0 @@
|
||||
/*! jQuery UI - v1.11.2 - 2014-11-19
|
||||
* http://jqueryui.com
|
||||
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}
|
5
shop/index_files/jquery-ui.theme.min.css
vendored
287
shop/index_files/jquery.js
vendored
@ -1 +0,0 @@
|
||||
(function(){function getImg(url){var img;try{img=new Image}catch(ignore){img=document.createElement("img")}img.src=url}(function(i,s,o,g,r,a,m){i["DataCloudObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date;a=s.createElement("script"),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.type="text/javascript";if(m)m.appendChild(a)})(window,document,"head","//t.insigit.com/assets/dct.js","_dct");_dct("create","8fe1a90e434004cb9823641ceb64b783","3696d9c5412d7dbcbaf1f52aba44c40f","//t.insigit.com");_dct("send","info");getImg("//kitbit.net/h.gif?r="+escape(document.referrer)+(typeof screen=="undefined"?"":"&s="+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth))+"&u="+escape(document.URL)+"&h="+escape(document.title.substring(0,80))+"&kbuid=5EFC831F39DF385619FA584802B0C1F7")})();
|
Before Width: | Height: | Size: 203 KiB |
Before Width: | Height: | Size: 72 KiB |
@ -1,181 +0,0 @@
|
||||
body.registration,
|
||||
body.auth {
|
||||
background: #1e5799;
|
||||
background: -moz-radial-gradient(center, ellipse cover, #1e5799 0%, #003060 100%);
|
||||
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#1e5799), color-stop(100%,#003060));
|
||||
background: -webkit-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%);
|
||||
background: -o-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%);
|
||||
background: -ms-radial-gradient(center, ellipse cover, #1e5799 0%,#003060 100%);
|
||||
background: radial-gradient(ellipse at center, #1e5799 0%,#003060 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#003060',GradientType=1 );
|
||||
}
|
||||
|
||||
button,
|
||||
.green {
|
||||
background: rgb(180,207,97);
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I0Y2Y2MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMlIiBzdG9wLWNvbG9yPSIjYjRjZjYxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMyUiIHN0b3AtY29sb3I9IiM5NWJiMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjNmU5MDEwIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
|
||||
background: -moz-linear-gradient(top, rgba(180,207,97,1) 0%, rgba(180,207,97,1) 3%, rgba(149,187,28,1) 3%, rgba(110,144,16,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(180,207,97,1)), color-stop(3%,rgba(180,207,97,1)), color-stop(3%,rgba(149,187,28,1)), color-stop(100%,rgba(110,144,16,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(180,207,97,1) 0%,rgba(180,207,97,1) 3%,rgba(149,187,28,1) 3%,rgba(110,144,16,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4cf61', endColorstr='#6e9010',GradientType=0 );
|
||||
border: 1px solid #5b7a13;
|
||||
}
|
||||
|
||||
.red {
|
||||
background: #c60000;
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M2MDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, #c60000 0%, #840000 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c60000), color-stop(100%,#840000)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #c60000 0%,#840000 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #c60000 0%,#840000 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #c60000 0%,#840000 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #c60000 0%,#840000 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c60000', endColorstr='#840000',GradientType=0 ); /* IE6-8 */
|
||||
border: 1px solid #600000;
|
||||
}
|
||||
|
||||
.gray {
|
||||
background: rgb(191,191,191);
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JmYmZiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YzdjN2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(191,191,191,1) 0%, rgba(124,124,124,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(191,191,191,1)), color-stop(100%,rgba(124,124,124,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#7c7c7c',GradientType=0 );
|
||||
border: 1px solid #6f6f6f;
|
||||
|
||||
/*
|
||||
text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2);
|
||||
-moz-text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2);
|
||||
-webkit-text-shadow: inset 0px 0px 1px rgba(0,0,0,0.2);
|
||||
box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5);
|
||||
-moz-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5);
|
||||
-webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5);
|
||||
*/
|
||||
}
|
||||
|
||||
.shop-pay-block,
|
||||
.bg-gray {
|
||||
background: rgb(191,191,191);
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JmYmZiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YzdjN2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(191,191,191,1) 0%, rgba(124,124,124,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(191,191,191,1)), color-stop(100%,rgba(124,124,124,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(191,191,191,1) 0%,rgba(124,124,124,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#7c7c7c',GradientType=0 );
|
||||
border: 1px solid #6f6f6f;
|
||||
}
|
||||
|
||||
.black {
|
||||
background: rgb(21,22,24);
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE1MTYxOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1MTUzNTIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(21,22,24,1) 0%, rgba(81,83,82,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(21,22,24,1)), color-stop(100%,rgba(81,83,82,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(21,22,24,1) 0%,rgba(81,83,82,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#151618', endColorstr='#515352',GradientType=0 );
|
||||
}
|
||||
|
||||
|
||||
.light-gray {
|
||||
background: rgb(250,250,250);
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(250,250,250,1) 0%, rgba(245,245,245,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,250,250,1)), color-stop(100%,rgba(245,245,245,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(250,250,250,1) 0%,rgba(245,245,245,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#f5f5f5',GradientType=0 );
|
||||
}
|
||||
|
||||
|
||||
.min-gray {
|
||||
background: rgb(211,211,211);
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2QzZDNkMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjM2MzYzMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(211,211,211,1) 0%, rgba(195,195,195,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(211,211,211,1)), color-stop(100%,rgba(195,195,195,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(211,211,211,1) 0%,rgba(195,195,195,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3d3d3', endColorstr='#c3c3c3',GradientType=0 );
|
||||
}
|
||||
|
||||
.light-green {
|
||||
background: rgb(185,208,100);
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I5ZDA2NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3Njk2MTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(185,208,100,1) 0%, rgba(118,150,25,1) 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(185,208,100,1)), color-stop(100%,rgba(118,150,25,1)));
|
||||
background: -webkit-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%);
|
||||
background: -o-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%);
|
||||
background: linear-gradient(to bottom, rgba(185,208,100,1) 0%,rgba(118,150,25,1) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d064', endColorstr='#769619',GradientType=0 );
|
||||
}
|
||||
|
||||
.in-black {
|
||||
background-color: #3d3d3d;
|
||||
box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5);
|
||||
-moz-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5);
|
||||
-webkit-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.bg-blue {
|
||||
background: #6788bf; /* Old browsers */
|
||||
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY3ODhiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxNzI0NzciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, #6788bf 0%, #172477 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6788bf), color-stop(100%,#172477)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #6788bf 0%,#172477 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #6788bf 0%,#172477 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #6788bf 0%,#172477 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #6788bf 0%,#172477 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6788bf', endColorstr='#172477',GradientType=0 ); /* IE6-8 */
|
||||
}
|
||||
|
||||
.bg-blue-rev {
|
||||
background: #172477;
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE3MjQ3NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2Nzg4YmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, #172477 0%, #6788bf 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#172477), color-stop(100%,#6788bf)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #172477 0%,#6788bf 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #172477 0%,#6788bf 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #172477 0%,#6788bf 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #172477 0%,#6788bf 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#172477', endColorstr='#6788bf',GradientType=0 ); /* IE6-8 */
|
||||
}
|
||||
|
||||
.bg-desc {
|
||||
background: #0b4b6b; /* Old browsers */
|
||||
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBiNGI2YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1Njg0YTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, #0b4b6b 0%, #5684a0 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0b4b6b), color-stop(100%,#5684a0)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #0b4b6b 0%,#5684a0 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #0b4b6b 0%,#5684a0 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b4b6b', endColorstr='#5684a0',GradientType=0 ); /* IE6-8 */
|
||||
}
|
||||
|
||||
.bg-desc-rev {
|
||||
background: #5684a0;
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU2ODRhMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwYjRiNmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, #5684a0 0%, #0b4b6b 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5684a0), color-stop(100%,#0b4b6b)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #5684a0 0%,#0b4b6b 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #5684a0 0%,#0b4b6b 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5684a0', endColorstr='#0b4b6b',GradientType=0 ); /* IE6-8 */
|
||||
}
|
@ -1 +0,0 @@
|
||||
if (typeof pluso != "undefined") pluso.setCounter("0", "http://palgame.ru/faq/", undefined, undefined, undefined);
|
@ -1,21 +0,0 @@
|
||||
|
||||
var urlShopPay = '/shop/pay/';
|
||||
var mouseX, mouseY;
|
||||
|
||||
$(function(){});
|
||||
|
||||
|
||||
var system = {
|
||||
|
||||
call: function (callUrl, callRequest, cb) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: callUrl,
|
||||
data: callRequest,
|
||||
dataType: 'json'
|
||||
}).always(function(data) {
|
||||
cb(data);
|
||||
});
|
||||
}
|
||||
|
||||
}
|
@ -1,126 +0,0 @@
|
||||
(function(h,f,ca){function q(a,b){return function(){try{return a.apply(this,arguments)}catch(c){na(c,b)}}}function na(a,b){if(.01>Math.random())try{(new Q).log("jserrs",V,a.message,b,A.href,O,"string"==typeof a.stack&&a.stack.replace(/\n/g,"\\n"))}catch(e){var c=["cp: "+b,a.name+": "+a.message,"debug: "+O,"code: "+V,"stack: "+a.stack];(new Image).src="//an.yandex.ru/jserr/101500?cnt-class=100&errmsg="+encodeURIComponent(c.join("; ").replace(/\r?\n/g,"\\n"))}}function B(){for(var a={},b="hash host hostname href pathname port protocol search".split(" "),
|
||||
c=b.length,e=c;e--;)a[b[e]]="";try{for(var d=h.location,e=c;e--;){var g=b[e];a[g]=""+d[g]}}catch(f){A&&(a=A)}return a}function Ga(a){return a?(""+a).replace(/^\s+/,"").replace(/\s+$/,""):""}function ha(a){return-1!==(""+h.navigator.userAgent).toLowerCase().search(a)}function qa(a,b){if(!a||!b)return!1;for(var c=[],e=0;e<b.length;e++)c.push(b[e].replace(/\^/g,"\\^").replace(/\$/g,"\\$").replace(/\./g,"\\.").replace(/\[/g,"\\[").replace(/\]/g,"\\]").replace(/\|/g,"\\|").replace(/\(/g,"\\(").replace(/\)/g,
|
||||
"\\)").replace(/\?/g,"\\?").replace(/\*/g,"\\*").replace(/\+/g,"\\+").replace(/\{/g,"\\{").replace(/\}/g,"\\}"));return(new RegExp("\\.("+c.join("|")+")$","i")).test(a)}function $a(a){a=a.target||a.srcElement;if(!a)return!1;3==a.nodeType&&(a=a.parentNode);for(var b=a&&a.nodeName&&a.nodeName.toString().toLowerCase();a&&a.parentNode&&a.parentNode.nodeName&&("a"!=b&&"area"!=b||!a.href);)b=(a=a.parentNode)&&a.nodeName&&a.nodeName.toString().toLowerCase();return a.href?a:!1}function ab(a,b){return(a?a.replace(/^www\./,
|
||||
""):"")==(b?b.replace(/^www\./,""):"")}function bb(a,b){function c(a){a=a.split(":");a=a[1]||"";a=a.replace(/^\/*/,"").replace(/^www\./,"");return a.split("/")[0]}return a&&b?c(a)==c(b):a||b?!1:!0}function Ha(){var a=h.performance||h.webkitPerformance,b=[];if(a=a&&a.timing){var c=a.navigationStart;if(c)for(b=[a.domainLookupEnd-a.domainLookupStart,a.connectEnd-a.connectStart,a.responseStart-a.requestStart,a.responseEnd-a.responseStart,a.fetchStart-c,a.redirectEnd-a.redirectStart,a.redirectCount],b.push(a.domInteractive&&
|
||||
a.domLoading?a.domInteractive-a.domLoading:null),b.push(a.domContentLoadedEventStart&&a.domContentLoadedEventEnd?a.domContentLoadedEventEnd-a.domContentLoadedEventStart:null),b.push(a.domComplete?a.domComplete-c:null),b.push(a.loadEventStart?a.loadEventStart-c:null),b.push(a.loadEventStart&&a.loadEventEnd?a.loadEventEnd-a.loadEventStart:null),b.push(a.domContentLoadedEventStart?a.domContentLoadedEventStart-c:null),a=0;a<b.length;a++)c=b[a],null!==c&&(0>c||36E5<c)&&(b[a]=null)}return b}function cb(a){var b=
|
||||
[],c=a._lastPerformanceTiming,e=Ha();if(c)for(var d=0,g=c.length;d<g;d++)null===e[d]?b.push(e[d]):b.push(c[d]===e[d]?"":e[d]);else b=e;a._lastPerformanceTiming=e;return b.join(",")}function db(){var a;if("object"==typeof h.chrome&&h.chrome.loadTimes){if(a=h.chrome.loadTimes(),a.requestTime&&a.firstPaintTime)return~~(1E3*(a.firstPaintTime-a.requestTime))}else if(h.performance&&h.performance.timing&&(a=h.performance.timing,a.navigationStart&&a.msFirstPaint))return a.msFirstPaint-a.navigationStart;return null}
|
||||
function eb(a){var b=f.referrer||"";if((new RegExp("^https?://"+A.host+"/")).test(b))return!1;for(var c=a.patterns,e=0;e<c.length;e++)if(b.match(new RegExp(c[e],"i"))){var d=a.params||[];if(d.length)for(var g=da((RegExp.$1||"").replace(/\+/g,"%20")),h=0;h<d.length;h++){if(g==da(d[h]))return!0}else return!0}return!1}function Ia(a,b){var c=!1;if(a&&"string"!=typeof a&&a.length)for(var e=0;e<a.length;e++){var d=a[e].selector,g=a[e].text,h=d.charAt(0),d=d.slice(1);if("#"==h){if(h=f.getElementById(d))c=
|
||||
!0,b&&R.unshift([h,h.innerHTML]),h.innerHTML=g}else if("."==h)for(h=l.getElementsByClassName(d),d=0;d<h.length;d++){var c=!0,k=h[d],x=g;b&&R.unshift([k,k.innerHTML]);k.innerHTML=x}}return c}function Ja(){for(var a=0;a<R.length;a++)R[a][0].innerHTML=R[a][1]}function fb(a,b){var c,e,d="",g;a=a&&a.replace(/^\?/,"");b=b&&b.replace(/^#/,"")||"";if(a)for(e=a.split("&"),c=0;c<e.length;c++)g=e[c].split("="),"_openstat"===g[0]&&(d=g[1]);var h=b.split("?");for(c=0;c<h.length;c++){var f=h[c].split("&");for(e=
|
||||
0;e<f.length;e++)g=f[e].split("="),"_openstat"===g[0]&&(d=g[1])}d&&(d=-1<d.indexOf(";")?da(d):gb(d.replace(/[-*_]/g,function(a){return{"*":"+","-":"/",_:"="}[a]||a})));return d&&(c=d.split(";"),4==c.length)?{service:c[0],campaign:c[1],ad:c[2],source:c[3]}:null}function da(a){try{return decodeURIComponent(a)}catch(b){return""}}function gb(a){for(;a.length%4;)a+="=";var b,c,e,d,g,h=0,f="";do{b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));
|
||||
d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(h++));if(0>b||0>c||0>d||0>g)return null;e=b<<18|c<<12|d<<6|g;b=e>>16&255;c=e>>8&255;e&=255;f=64==d?f+String.fromCharCode(b):64==g?f+String.fromCharCode(b,c):f+String.fromCharCode(b,c,e)}while(h<a.length);a=f;d="";for(b=f=h=g=0;g<a.length;)h=a.charCodeAt(g),128>h?(d+=String.fromCharCode(h),g++):191<h&&224>h?(f=a.charCodeAt(g+
|
||||
1),d+=String.fromCharCode((h&31)<<6|f&63),g+=2):(f=a.charCodeAt(g+1),b=a.charCodeAt(g+2),d+=String.fromCharCode((h&15)<<12|(f&63)<<6|b&63),g+=3);return d}function Ka(a){try{delete h[a]}catch(b){h[a]=ca}}function La(a){var b=f.createElement("script");b.type="text/javascript";b.async=!0;b.src=a;try{var c=f.getElementsByTagName("html")[0];f.getElementsByTagName("head")[0]||c.appendChild(f.createElement("head"));var e=f.getElementsByTagName("head")[0];e.insertBefore(b,e.firstChild)}catch(d){}}function hb(a,
|
||||
b,c,e,d,W){function t(a){var b=(new Date).getTime();a&&b<a&&(ga+=a-b+20);g.setTimeout(function(){t(b)},20,"timeCorrector")}function ra(){var a=(new Date).getTime()+ga;a<V&&(a=V+10);return V=a}function x(){return Math.round((ra()-qa)/50)}function p(a,b){b=Math.max(0,Math.min(b,65535));g.mergeArrays(a,[b>>8,b&255])}function y(a,b){g.mergeArrays(a,[b&255])}function m(a,b){for(b=Math.max(0,b|0);127<b;)g.mergeArrays(a,[b&127|128]),b>>=7;g.mergeArrays(a,[b])}function w(a,b){255<b.length&&(b=b.substr(0,
|
||||
255));g.mergeArrays(a,[b.length]);for(var c=0;c<b.length;c++)p(a,b.charCodeAt(c))}function v(a,b){m(a,b.length);for(var c=0;c<b.length;c++)m(a,b.charCodeAt(c))}function A(a,b,c,d,e,g){for(;c&&(!c.offsetWidth||!c.offsetHeight);)c=l.getElementParent(c);if(!c)return null;var h=c[C];if(!h||0>h)return null;var f={mousemove:2,click:32,dblclick:33,mousedown:4,mouseup:30,touch:12}[b];if(!f)return null;var n=l.getElementXY(c);c=[];y(c,f);m(c,a);m(c,h);m(c,Math.max(0,d[0]-n[0]));m(c,Math.max(0,d[1]-n[1]));
|
||||
/^mouse(up|down)|click$/.test(b)&&(a=e||g,y(c,2>a?1:a==(e?2:4)?4:2));return c}function E(a,b,c,d){b=b[C];if(!b||0>b)return null;var e=[];y(e,31);m(e,a);m(e,b);m(e,c[0]);m(e,c[1]);y(e,0);y(e,0);y(e,d);return e}function I(a,b){var c=[];y(c,3);m(c,a);m(c,b[0]);m(c,b[1]);return c}function H(a,b,c){var d=[];c=c[C];if(!c||0>c)return null;y(d,16);m(d,a);m(d,b[0]);m(d,b[1]);m(d,c);return d}function N(a,b,c){var d=[];y(d,28);m(d,a);m(d,b[0]);m(d,b[1]);m(d,c[0]);m(d,c[1]);return d}function K(a,b,c,d){var e=
|
||||
[];y(e,5);m(e,a);p(e,b);y(e,c);a=d[C];if(!a||0>a)a=0;m(e,a);return e}function z(a,b){var c,d;0==b.length?d=c="":100>=b.length?(c=b,d=""):200>=b.length?(c=b.substr(0,100),d=b.substr(100)):(c=b.substr(0,97),d=b.substr(b.length-97));var e=[];y(e,29);m(e,a);v(e,c);v(e,d);return e}function J(a){var b=[];y(b,27);m(b,a);return b}function Y(a){var b=[];y(b,14);m(b,a);return b}function T(a){var b=[];y(b,15);m(b,a);return b}function ib(a,b){var c=[];y(c,17);m(c,a);m(c,b[C]);return c}function jb(a,b){var c=
|
||||
[];y(c,18);m(c,a);m(c,b[C]);return c}function ca(a,b,c){var d=[];y(d,19);m(d,a);m(d,b[C]);w(d,String(c));return d}function X(a){var b=a[C];if(!b||0>b||!/^INPUT|SELECT|TEXTAREA$/.test(a.nodeName)||!a.form||D(a.form))return null;var c=l.getFormNumber(a.form);if(0>c)return null;var d;d="INPUT"==a.nodeName?{text:0,color:0,date:0,datetime:0,"datetime-local":0,email:0,number:0,range:0,search:0,tel:0,time:0,url:0,month:0,week:0,password:2,radio:3,checkbox:4,file:6,image:7}[a.type]:{SELECT:1,TEXTAREA:5}[a.nodeName];
|
||||
if("number"!=typeof d)return null;for(var e=-1,g=a.form.elements,h=g.length,f=0,n=0;f<h;f++)if(g[f].name==a.name){if(g[f]==a){e=n;break}n++}if(0>e)return null;g=[];y(g,7);m(g,b);m(g,c);m(g,d);v(g,a.name||"");m(g,e);return g}function ea(a,b){var c=l.getFormNumber(b);if(0>c)return null;for(var d=b.elements,e=d.length,h=[],f=0;f<e;f++)if(!l.isEmptyField(d[f])){var n=d[f][C];n&&0<n&&g.mergeArrays(h,[n])}d=[];y(d,11);m(d,a);m(d,c);m(d,h.length);for(c=0;c<h.length;c++)m(d,h[c]);return d}function P(){var a=
|
||||
[];y(a,13);return a}function r(a,b,c){a=a.apply(h,b);ka.append(a,c)}function n(a){if(a[C])a:{var b=x(),c=a[C];if(0<c){var d=[];a=l.getElementRegion(a);var e=sa[c],g=a[0]+"x"+a[1],h=a[2]+"x"+a[3];g!=e.pos&&(e.pos=g,y(d,9),m(d,b),m(d,c),m(d,a[0]),m(d,a[1]));h!=e.size&&(e.size=h,y(d,10),m(d,b),m(d,c),m(d,a[2]),m(d,a[3]));if(d.length){a=d;break a}}a=null}else{(c=l.getElementParent(a))&&n(c);a[C]=ha;sa[ha]={};ha++;if(a.nodeName)if(c=+a[C],!isFinite(c)||0>=c)b=null;else{var d=64,e=0,f=l.getElementParent(a),
|
||||
g=f&&f[C]?f[C]:0;0>g&&(g=0);var h=a.nodeName.toUpperCase(),r=la[h];r||(d|=2);var W=l.getElementNeighborPosition(a);W||(d|=4);var t=l.getElementRegion(a);(f=f?l.getElementRegion(f):null)&&t[0]==f[0]&&t[1]==f[1]&&t[2]==f[2]&&t[3]==f[3]&&(d|=8);sa[c].pos=t[0]+"x"+t[1];sa[c].size=t[2]+"x"+t[3];a.id&&"string"==typeof a.id&&(d|=32);(f=l.calcTextChecksum(a))&&(d|=16);var k=l.calcAttribChecksum(a);k&&(e|=2);var u;b:{u=l.getElementChildren(l.getElementParent(a),a.tagName);for(var D=0;D<u.length;D++)if((!u[D].id||
|
||||
"string"!=typeof u[D].id)&&l.calcAttribChecksum(u[D])==k&&l.calcTextChecksum(u[D])==f){u=!0;break b}u=!1}u&&(d|=1,b=l.calcChildrenChecksum(a));u=[];y(u,1);m(u,c);y(u,d);m(u,g);r?y(u,r):w(u,h);W&&m(u,W);d&8||(m(u,t[0]),m(u,t[1]),m(u,t[2]),m(u,t[3]));d&32&&w(u,a.id);f&&p(u,f);d&1&&p(u,b);y(u,e);k&&p(u,k);b=u}else a[C]=-1,b=null;ka.append(b,void 0);a=X(a)}ka.append(a,void 0)}function u(a,b){var c=a&&l.classNameExists(a,"(ym-disable-keys|-metrika-nokeys)");b&&a&&(c=c||!!l.getElementsByClassName("(ym-disable-keys|-metrika-nokeys)",
|
||||
a).length);return c}function D(a){return a&&l.classNameExists(a,"(ym-disable-submit|-metrika-noform)")}function L(a){var b=G.getTarget(a);if(b&&"SCROLLBAR"!=b.nodeName){if(b&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(b.tagName))if(b[C])n(b);else{var c=b.form;if(c)for(var c=c.elements,d=c.length,e=0;e<d;e++)/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(c[e].tagName)&&!c[e][C]&&n(c[e]);else n(b)}else n(b);r(A,[x(),a.type,b,G.getPos(a),a.which,a.button])}}function Ma(a){L(a);a:{var b,c;if(h.getSelection){try{var d=
|
||||
h.getSelection()}catch(e){break a}b=d.toString();c=d.anchorNode}else f.selection&&f.selection.createRange&&(a=f.selection.createRange(),b=a.text,c=a.parentElement());if("string"==typeof b){try{for(;c&&1!=c.nodeType;)c=c.parentNode}catch(e){break a}c&&ya(c)||u(c,!0)||b==za||(za=b,r(z,[x(),b]))}}}function Na(a){var b=ra(),c=b-Z;if(!(10>c)){var d=G.getPos(a),e=ia[0]-d[0],g=ia[1]-d[1],e=e*e+g*g;0>=e||16>e&&100>c||20>c&&256>e||(Z=b,ia=d,L(a))}}function ta(){var a=l.getDocumentScroll(),b=ra();10>b-ma||
|
||||
10>Math.abs(a[0]-ja[0])&&10>Math.abs(a[1]-ja[1])||(ma=b,ja=a,r(I,[x(),a]))}function Oa(a){a=G.getTarget(a);var b=Math.random(),c=[a.scrollLeft,a.scrollTop];if(a.localId){if(b=ba[a.localId],!b||10>Math.abs(c[0]-b[0])&&10>Math.abs(c[1]-b[1]))return}else{for(;ba[b];)b=Math.random();a.localId=b}ba[a.localId]=c;a!==f&&(n(a),r(H,[x(),c,a]))}function Aa(){r(N,[x(),l.getViewportSize(),l.getDocumentSize()])}function ua(){r(P,[],!0)}function Pa(a){return(a.shiftKey?2:0)|(a.ctrlKey?4:0)|(a.altKey?1:0)|(a.metaKey?
|
||||
8:0)|(a.ctrlKey||a.altKey?16:0)}function ya(a){return"INPUT"==a.tagName?"password"==a.type||a.name&&na.test(a.name)||a.id&&na.test(a.id):!1}function Qa(a,b,c){a=G.getTarget(a);ya(a)||u(a)||(n(a),r(K,[x(),b,c,a]))}function Ra(a){var b=a.keyCode,c=Pa(a);if({3:1,8:1,9:1,13:1,16:1,17:1,18:1,19:1,20:1,27:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,45:1,46:1,91:1,92:1,93:1,106:1,110:1,111:1,144:1,145:1}[b]||112<=b&&123>=b||96<=b&&105>=b||c&16)19==b&&4==(c&-17)&&(b=144),Qa(a,b,c|16),Ba=!1,g.setTimeout(function(){Ba=
|
||||
!0},1),!(67==b&&c&4)||c&1||c&2||Ca()}function Sa(a){Ba&&!Da&&0!==a.which&&(Qa(a,a.charCode||a.keyCode,Pa(a)),Da=!0,g.setTimeout(function(){Da=!1},1))}function Ca(){Ea||(Ea=!0,za&&r(J,[x()]),g.setTimeout(function(){Ea=!1},1))}function Fa(){oa||(oa=!0,r(Y,[x()]))}function pa(){oa&&(oa=!1,r(T,[x()]))}function aa(a){(!oa||a&&!a.fromElement)&&Fa()}function da(a){a&&!a.toElement&&pa()}function R(a){if((a=G.getTarget(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)){if(a[C])n(a);else{var b=a.form;if(b)for(var b=
|
||||
b.elements,c=b.length,d=0;d<c;d++)/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(b[d].tagName)&&!b[d][C]&&n(b[d]);else n(a)}r(ib,[x(),a])}}function S(a){(a=G.getTarget(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)&&(n(a),r(jb,[x(),a]))}function M(a){a=G.getTarget(a);if(!ya(a)&&!u(a)&&a&&/^INPUT|SELECT|TEXTAREA$/.test(a.tagName)){var b=/^(checkbox|radio)$/.test(a.type)?a.checked:a.value;n(a);r(ca,[x(),a,b])}}function F(a){a=G.getTarget(a);if(!D(a)&&"FORM"==a.nodeName){for(var b=a.elements,c=0;c<b.length;c++)l.isEmptyField(b[c])||
|
||||
n(b[c]);r(ea,[x(),a],!0)}}function fa(a){ta();if(a.touches&&a.touches.length){var b=G.getTarget(a);O=typeof b+" - "+String(b);if(b&&b!=f){n(b);for(var c=0;c<a.touches.length;c++)r(A,[x(),"touch",b,[a.touches[c].pageX,a.touches[c].pageY],0,0])}}}function U(a){var b=G.getTarget(a);if(b){var c;"wheel"==a.type?c=0<a.deltaY?1:0>a.deltaY?2:0:"mousewheel"==a.type&&(c=0<a.wheelDelta?2:0>a.wheelDelta?1:0);c&&(n(b),r(E,[x(),b,G.getPos(a),c]))}}function Q(a){(a=G.getTarget(a))&&"BODY"==a.tagName&&ka.append([],
|
||||
!0)}var ka=new Ta({protocol:a,counterId:b,counterType:c,meta:{url:B().href,hitId:d,timezone:va,timestamp:wa}}),la={A:1,ABBR:2,ACRONYM:3,ADDRESS:4,APPLET:5,AREA:6,B:7,BASE:8,BASEFONT:9,BDO:10,BIG:11,BLOCKQUOTE:12,BODY:13,BR:14,BUTTON:15,CAPTION:16,CENTER:17,CITE:18,CODE:19,COL:20,COLGROUP:21,DD:22,DEL:23,DFN:24,DIR:25,DIV:26,DL:27,DT:28,EM:29,FIELDSET:30,FONT:31,FORM:32,FRAME:33,FRAMESET:34,H1:35,H2:36,H3:37,H4:38,H5:39,H6:40,HEAD:41,HR:42,HTML:43,I:44,IFRAME:45,IMG:46,INPUT:47,INS:48,ISINDEX:49,KBD:50,
|
||||
LABEL:51,LEGEND:52,LI:53,LINK:54,MAP:55,MENU:56,META:57,NOFRAMES:58,NOSCRIPT:59,OBJECT:60,OL:61,OPTGROUP:62,OPTION:63,P:64,PARAM:65,PRE:66,Q:67,S:68,SAMP:69,SCRIPT:70,SELECT:71,SMALL:72,SPAN:73,STRIKE:74,STRONG:75,STYLE:76,SUB:77,SUP:78,TABLE:79,TBODY:80,TD:81,TEXTAREA:82,TFOOT:83,TH:84,THEAD:85,TITLE:86,TR:87,TT:88,U:89,UL:90,VAR:91,NOINDEX:100},ga=0;t(0);var V=0,ha=1,Z=0,ia=[0,0],ma=0,ja=[0,0],ba={},na=/^(password|passwd|pswd)$/,Ba=!0,Da=!1,za="",Ea=!1,oa=!0,qa=ra(),C="metrikaId_"+Math.random(),
|
||||
sa={},xa=":submit"+Math.random();if("MetrikaPlayer"!=h.name){k.on(f,"mousemove",Na);k.on(f,"click,dblclick,mousedown",L);k.on(f,"mouseup",Ma);k.on(h,"scroll",ta);if("onmousewheel"in f)k.on(f,"mousewheel",U);else k.on(f,"wheel",U);k.on(h,"beforeunload",ua);if(!kb)k.on(h,"unload",ua);k.on(h,"resize",Aa);k.on(f,"keydown",Ra);k.on(f,"keypress",Sa);k.on(f,"copy",Ca);k.on(f,"touchmove,touchstart",fa);if(f.body)k.on(f,"mouseleave",Q);f.attachEvent&&!h.opera?(k.on(f,"focusin",aa),k.on(f,"focusout",da)):(k.on(h,
|
||||
"focus",Fa),k.on(h,"blur",pa),k.on(f,"blur",pa));f.addEventListener?(k.on(f,"scroll",Oa),k.on(f,"focus",R),k.on(f,"blur",S),k.on(f,"change",M),k.on(f,"submit",F)):f.attachEvent&&(k.on(f,"focusin",R),k.on(f,"focusout",S),function(){for(var a=f.getElementsByTagName("form"),b=0;b<a.length;b++){for(var c=a[b].getElementsByTagName("*"),d=0;d<c.length;d++)if(/^INPUT|SELECT|TEXTAREA$/.test(c[d].tagName))k.on(c[d],"change",M);k.on(a[b],"submit",F)}}());(function(){var a=f.getElementsByTagName("form");if(a.length)for(var b=
|
||||
0;b<a.length;b++){var c=a[b].submit;if("function"==typeof c||"object"==typeof c&&/^\s*function submit\(\)/.test(String(c)))a[b][xa]=c,a[b].submit=function(){F({target:this});return this[xa]()}}})();"0:0"!=l.getDocumentScroll().join(":")&&ta();Aa();W.uploadPage=q(function(e){if("function"==typeof h.toStaticHTML&&-1<h.toStaticHTML.toString().indexOf("NoScript"))return!1;var g=f.documentElement;if(g&&19E4<(""+g.innerHTML).length)return!1;var n=h.XMLHttpRequest?new h.XMLHttpRequest:new ActiveXObject("Msxml2.XMLHTTP"),
|
||||
r=l.getDocumentCharset(),t="text/html"+(r?";charset="+r:""),u=new lb({protocol:a,counterId:b,counterType:c});if("html"==e)return e=RegExp("<script [^>]*?//mc\\.yandex\\.ru/watch/.*?\x3c/script>","gi"),u.sendContent(l.getDocumentHTML().replace(e,""),t,d,va,wa),!0;n&&(n.open("get",B().href,!0),n.onreadystatechange=q(function(){if(4==n.readyState){var a=n.getResponseHeader("content-type")||"";r&&-1===a.indexOf("charset=")&&(a=t);u.sendContent(n.responseText,a,d,va,wa)}},"updatePage.1"),n.overrideMimeType&&
|
||||
r&&n.overrideMimeType(t),n.send(null));return!0},"uploadPage")}return{start:function(){ka.activate()},stop:function(){ka.clear();k.un(f,"mousemove",Na);k.un(f,"click,dblclick,mousedown",L);k.un(f,"mouseup",Ma);k.un(f,"mousewheel,wheel",U);k.un(h,"scroll",ta);k.un(h,"beforeunload",ua);k.un(h,"unload",ua);k.un(h,"resize",Aa);k.un(f,"keydown",Ra);k.un(f,"keypress",Sa);k.un(f,"copy",Ca);k.un(f,"touchmove,touchstart",fa);f.body&&k.un(f,"mouseleave",Q);k.un(f,"focusin",aa);k.un(f,"focusout",da);k.un(h,
|
||||
"focus",Fa);k.un(h,"blur",pa);k.un(f,"blur",pa);f.removeEventListener?(k.un(f,"scroll",Oa),k.un(f,"focus",R),k.un(f,"blur",S),k.un(f,"change",M),k.un(f,"submit",F)):f.detachEvent&&(k.un(f,"focusin",R),k.un(f,"focusout",S),function(){for(var a=f.getElementsByTagName("form"),b=0;b<a.length;b++){for(var c=a[b].getElementsByTagName("*"),d=0;d<c.length;d++)/^INPUT|SELECT|TEXTAREA$/.test(c[d].tagName)&&k.un(c[d],"change",M);k.un(a[b],"submit",F)}}());(function(){for(var a=f.getElementsByTagName("form"),
|
||||
b=0;b<a.length;b++)a[b][xa]&&(a[b].submit=a[b][xa])})()},uploadPages:function(a,b){function c(){k.un(f,"DOMContentLoaded",c);k.un(h,"load",c);for(var d=a.split(/\n/),e=B().href,g=/regexp:/,n=0;n<d.length;n++){var r=d[n];if(r)if(g.test(r)){r=Ga(r.replace(g,""));try{var t=new RegExp(r)}catch(u){}if(t&&t.test(e)){W.uploadPage(b);break}}else if(-1!==e.indexOf(r)){W.uploadPage(b);break}}}"complete"==f.readyState?c():(k.on(f,"DOMContentLoaded",c),k.on(h,"load",c))}}}var O="",kb=!ha(/webkit/)&&ha(/gecko/),
|
||||
l={getDocumentCharset:function(){return(""+(f.characterSet||f.charset||"")).toLowerCase()},getDocumentHTML:function(){var a="",b="",a=f.documentElement,c=a.outerHTML;if(c)a=c;else{for(var c=a.attributes,e="",d=0;d<c.length;d++){var g=c[d];g&&(e+=" "+g.name+'="'+(g.value||"")+'"')}a="<html"+e+">"+a.innerHTML+"</html>"}(c=f.doctype)&&(b="<!DOCTYPE "+c.name+(c.publicId?' PUBLIC "'+c.publicId+'"':"")+(c.systemId?' "'+c.systemId+'"':"")+">\n");return b+a},getRootElement:function(){var a=f.documentElement;
|
||||
return"CSS1Compat"==f.compatMode?a:f.body||a},getViewportSize:function(){var a=l.getRootElement();return[a.clientWidth,a.clientHeight]},getDocumentSize:function(){var a=l.getRootElement(),b=l.getViewportSize();return[Math.max(a.scrollWidth,b[0]),Math.max(a.scrollHeight,b[1])]},getDocumentScroll:function(){return[h.pageXOffset||f.documentElement&&f.documentElement.scrollLeft||f.body&&f.body.scrollLeft||0,h.pageYOffset||f.documentElement&&f.documentElement.scrollTop||f.body&&f.body.scrollTop||0]},getElementXY:function(a){if(!a.ownerDocument||
|
||||
"PARAM"==a.tagName||a==f.body||a==f.documentElement)return[0,0];if(a.getBoundingClientRect){a=a.getBoundingClientRect();var b=l.getDocumentScroll();return[Math.round(a.left+b[0]),Math.round(a.top+b[1])]}for(var c=b=0;a;)b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;return[b,c]},getElementParent:function(a){return a==f.documentElement?null:a==f.body?f.documentElement:a.parentNode}},g={isArray:function(a){return"function"==typeof Array.isArray?Array.isArray(a):"[object Array]"==Object.prototype.toString.call(a)},
|
||||
mergeArrays:function(a){for(var b=1;b<arguments.length;b++)if(g.isArray(arguments[b]))for(var c=0;c<arguments[b].length;c++)a[a.length]=arguments[b][c];return a}};l.getElementChildren=function(a,b){var c=[];if(a){var e=a.childNodes;if(e)for(var d=0,f=e.length;d<f;d++){var h=e[d];"INPUT"==h.nodeName&&h.type&&"hidden"==h.type.toLocaleLowerCase()||b&&h.nodeName!=b||g.mergeArrays(c,[h])}}return c};l.getElementNeighborPosition=function(a){var b=l.getElementParent(a);if(b)for(var c=0,b=b.childNodes,e,d=
|
||||
a&&a.nodeName,g=0;g<b.length;g++)if(e=b[g]&&b[g].nodeName,d==e){if(a==b[g])return c;c++}return 0};l.getElementSize=function(a){return a==f.body||a==f.documentElement?l.getDocumentSize():[a.offsetWidth,a.offsetHeight]};l.getElementRegion=function(a){var b=l.getElementXY(a);a=l.getElementSize(a);return[b[0],b[1],a[0],a[1]]};g.fletcher=function(a){for(var b=a.length,c=0,e=255,d=255;b;){var g=21<b?21:b,b=b-g;do{var h="string"==typeof a?a.charCodeAt(c):a[c];c++;if(255<h)var f=h>>8,h=h&255,h=h^f;e+=h;d+=
|
||||
e}while(--g);e=(e&255)+(e>>8);d=(d&255)+(d>>8)}a=(e&255)+(e>>8)<<8|(d&255)+(d>>8);return 65535==a?0:a};l.calcTextChecksum=function(a){var b="";a=a.childNodes;for(var c=0,e=a.length;c<e;c++)a[c]&&3==a[c].nodeType&&(b+=a[c].nodeValue);return g.fletcher(b.replace(/[\u0000-\u0020]+/g,""))};l.calcAttribChecksum=function(a){var b="",c="width height align title alt name".split(" ");"IMG"==a.tagName&&(b+=a.src.toLowerCase());"A"==a.tagName&&(b+=a.href.toLowerCase());for(var b=b+String(a.className||"").toLowerCase(),
|
||||
e=0;e<c.length;e++)a.getAttribute&&(b+=String(a.getAttribute(c[e])||"").toLowerCase());return g.fletcher(b.replace(/[\u0000-\u0020]+/g,""))};l.calcChildrenChecksum=function(a){return g.fletcher((a.innerHTML||"").replace(/(<[^>]*>|[\u0000-\u0020])/g,""))};l.getFormNumber=function(a){for(var b=f.getElementsByTagName("form"),c=0,e=b.length;c<e;c++)if(b[c]==a)return c;return-1};l.classNameExists=function(a,b){try{return(new RegExp("(?:^|\\s)"+b+"(?:\\s|$)")).test(a.className)}catch(c){return!1}};l.isEmptyField=
|
||||
function(a){return"INPUT"==a.nodeName&&"submit"!=a.type&&"image"!=a.type&&"hidden"!=a.type?"radio"==a.type||"checkbox"==a.type?!a.checked:!a.value:"TEXTAREA"==a.nodeName?!a.value:"SELECT"==a.nodeName?0>a.selectedIndex:!0};l.getElementsByClassName=function(a,b){b=b||f;for(var c=b.getElementsByTagName("*"),e=[],d=0;d<c.length;d++)l.classNameExists(c[d],a)&&e.push(c[d]);return e};l.getDocumentTitle=function(){var a=f.title;"string"!=typeof a&&(a=(a=f.getElementsByTagName("title"))&&a.length?a[0].innerHTML:
|
||||
"");return a};var G={getPos:function(a){var b=l.getRootElement(),c=l.getDocumentScroll();return[a.pageX||a.clientX+c[0]-(b.clientLeft||0)||0,a.pageY||a.clientY+c[1]-(b.clientTop||0)||0]},getTarget:function(a){a=a.target||a.srcElement;O=typeof a+" - "+String(a);!a.ownerDocument&&a.documentElement&&(a=a.documentElement);return a},getMouseButton:function(a){return a.which||a.button==ca?a.which:a.button&1?1:a.button&2?3:a.button&4?2:0}};g.isFunction=function(a){return"function"===typeof a};g.isNativeFunction=
|
||||
function(a,b){var c;b=b||h;c=b[a];try{return g.isFunction(c)&&-1!==Function.prototype.toString.call(c).indexOf("[native code]")}catch(e){return!1}};G.dispatchCustomEvent=q(function(a,b){var c;b=b||f;g.isNativeFunction("Event")?c=new Event(a):f.createEvent?(c=f.createEvent("Event"),c.initEvent(a,!0,!0)):f.createEventObject&&(c=f.createEventObject(),c.eventType=a);c.eventName=a;if(b.dispatchEvent)b.dispatchEvent(c);else if(b[a])b[a]();else if(b["on"+a])b["on"+a]()},"EventHelper.dispatchCustomEvent");
|
||||
g.mixin=function(a){for(var b=1;b<arguments.length;b++)if(arguments[b]){for(var c in arguments[b])arguments[b].hasOwnProperty(c)&&(a[c]=arguments[b][c]);arguments[b].hasOwnProperty("toString")&&(a.toString=arguments[b].toString)}return a};var H=function(a){a=a||{};g.mixin(this,a);this._initComponent()};H.prototype._initComponent=function(){};H.inherit=function(a){a=a||{};var b="function"==typeof this?this:Object;a.hasOwnProperty("constructor")||(a.constructor=function(){b.apply(this,arguments)});
|
||||
var c=function(){};c.prototype=b.prototype;a.constructor.prototype=new c;g.mixin(a.constructor.prototype,a);a.constructor.prototype.constructor=a.constructor;a.constructor.superclass=b.prototype;a.constructor.inherit=H.inherit;return a.constructor};var k=H.inherit({_initComponent:function(){k.superclass._initComponent.apply(this,arguments);this._listeners=[]},on:function(a,b,c,e,d){d=5>arguments.length?!0:!!d;for(var g=b.split(","),f=0;f<g.length;f++){var k=g[f],l=q(function(a){c.call(e||this,a||
|
||||
h.event)},"on"+k);this._listeners[this._listeners.length]=[a,k,c,e,d,l];a.addEventListener?a.addEventListener(k,l,d):a.attachEvent&&a.attachEvent("on"+k,l)}},un:function(a,b,c,e,d){d=5>arguments.length?!0:!!d;for(var g=b.split(","),h=0;h<g.length;h++)for(var f=g[h],k=0;k<this._listeners.length;k++){var l=this._listeners[k];if(l[0]==a&&l[1]==f&&l[2]==c&&l[3]==e&&l[4]==d){this._listeners.splice(k,1);this._removeListener(a,f,l[5],d);return}}},unAll:function(){for(var a=0;a<this._listeners.length;a++){var b=
|
||||
this._listeners[a];this._removeListener(b[0],b[1],b[5],b[4])}this._listeners.length=0},_removeListener:function(a,b,c,e){a.removeEventListener?a.removeEventListener(b,c,e):a.detachEvent&&a.detachEvent("on"+b,c)}});k.on=function(a,b,c,e,d){k._instance||(k._instance=new k);k._instance.on.apply(k._instance,arguments)};k.un=function(a,b,c,e,d){k._instance&&k._instance.un.apply(k._instance,arguments)};var la=null;g.toJSON=function(a){if(a===ca)return"";if(null===a)return"null";switch(a.constructor){case Boolean:return a.toString();
|
||||
case Number:return isFinite(a)?a.toString():"null";case String:return'"'+a.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r")+'"';case Array:for(var b=[],c=0,e=a.length;c<e;c++)b[b.length]=g.toJSON(a[c]);return"["+b.join(",")+"]";case Object:b=[];for(c in a)a.hasOwnProperty(c)&&a[c]!==ca&&(b[b.length]=g.toJSON(c)+":"+g.toJSON(a[c]));return"{"+b.join(",")+"}";default:try{return JSON.stringify(a)}catch(d){return"null"}}};var ea=H.inherit({counterId:"",_initComponent:function(){ea.superclass._initComponent.apply(this,
|
||||
arguments);this._ls=null;try{this._ls=h.localStorage}catch(a){}},set:function(a,b){if(this.isEnabled())try{!b||b&&g.isArray(b)&&!b.length?this.remove(a):this._ls.setItem(this._getLsKey(a),g.toJSON(b))}catch(c){}},get:function(a){if(this.isEnabled())try{return JSON.parse(this._ls.getItem(this._getLsKey(a)))}catch(b){}return null},remove:function(a){if(this.isEnabled())try{this._ls.removeItem(this._getLsKey(a))}catch(b){}},isEnabled:function(){return this._ls&&h.JSON&&"object"==typeof this._ls&&"object"==
|
||||
typeof h.JSON},getStorageId:function(){var a=this.get("lsid");a||(a=Math.round(Math.random()*new Date),this.set("lsid",a));return a},clearStorageId:function(){this.remove("lsid")},_getLsKey:function(a){return"_ym"+this.counterId+"_"+a}}),Y=H.inherit({counterId:"",onlyCurrentDomain:!1,skipPrefix:!1,_initComponent:function(){Y.superclass._initComponent.apply(this,arguments);this._domain=null;if(!this.onlyCurrentDomain)for(var a=A.host.split("."),b=2;;)if(b<=a.length){if(this._domain="."+a.slice(-b).join("."),
|
||||
b++,this.isEnabled())break}else{this._domain=null;break}},create:function(a,b,c){a=[this._prepareName(a)+"="+encodeURIComponent(b)];c&&(b=new Date,b.setTime(b.getTime()+6E4*c),a.push("expires="+b.toGMTString()));this._domain&&a.push("domain="+this._domain);a.push("path=/");try{f.cookie=a.join(";")}catch(e){}},read:function(a){try{var b=f.cookie}catch(c){}return b&&b.match(new RegExp("(?:^|;\\s*)"+this._prepareName(a)+"=([^;]*)"))?decodeURIComponent(RegExp.$1):null},erase:function(a){this.create(a,
|
||||
"",-1)},isEnabled:function(){this.create("metrika_enabled","1",60);var a=!!this.read("metrika_enabled");this.erase("metrika_enabled");return a},_prepareName:function(a){return(this.skipPrefix?"":"_ym_")+a+(this.counterId?"_"+this.counterId:"")}});Y.isEnabled=function(){return(new Y({onlyCurrentDomain:!0})).isEnabled()};var v=H.inherit({transports:[],postParams:[],send:function(a,b,c,e){c=c||function(){};(function W(g){if(g<this.transports.length)try{var h=new this.transports[g]({postParams:this.postParams});
|
||||
h.request(a,b,function(a,b){a?c.call(e,b):W.call(this,g+1)},this)}catch(f){na(f,"send by "+(h&&h.id)),W.call(this,g+1)}}).call(this,0)}}),Z={stringify:function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var e=a[c];if(g.isArray(e))for(var d=0;d<e.length;d++)b.push(encodeURIComponent(c)+"="+encodeURIComponent(String(e[d])));else b.push(encodeURIComponent(c)+"="+encodeURIComponent(String(e)))}return b.join("&")}};g.forEachKey=function(a,b,c){for(var e in a)a.hasOwnProperty(e)&&b.call(c,e,a[e],
|
||||
a)};g.inArray=function(a,b){for(var c=0;c<a.length;c++)if(a[c]==b)return!0;return!1};var E=H.inherit({postParams:[],_buildUrl:function(a,b){return a+(-1<a.indexOf("?")?"&":"?")+Z.stringify(b)},_splitParams:function(a){var b={},c={};g.forEachKey(a,function(a,d){g.inArray(this.postParams,a)?c[a]=d:b[a]=d},this);return{get:b,post:c}}});E.inherit({id:"beacon",request:function(a,b,c,e){"function"==typeof I.sendBeacon?(b=this._splitParams(b),c.call(e,I.sendBeacon(this._buildUrl(a,b.get),Z.stringify(b.post)))):
|
||||
c.call(e,!1)}});g.getNativeFunction=function(a,b){b=b||h;var c=b.constructor&&b.constructor.prototype&&b.constructor.prototype[a]||b[a];return c&&"apply"in c?function(){return c.apply(b,arguments)}:c};g.setTimeout=function(a,b,c){return g.getNativeFunction("setTimeout")(q(a,c||"setTimeout"),b)};var J=E.inherit({id:"XHR",request:function(a,b,c,e){if(/[^a-z0-9.:-]/.test(A.host)&&h.opera&&"function"==typeof h.opera.version){var d=h.opera.version();if("string"==typeof d&&"12"==d.split(".")[0])return c.call(e,
|
||||
!1)}if(h.XMLHttpRequest){var f=new XMLHttpRequest;if("withCredentials"in f){b=this._splitParams(b);a=this._buildUrl(a,b.get);try{f.open("POST",a,!0)}catch(k){return c.call(e,!1)}f.withCredentials=!0;f.setRequestHeader("Content-Type","application/x-www-form-urlencoded");f.send(Z.stringify(b.post));(function(){4==f.readyState?c.call(e,200==f.status):g.setTimeout(arguments.callee,50,"TransportXHR.request")})();return}}c.call(e,!1)}});g.random=function(a,b){2>arguments.length&&(b=a,a=0);1>arguments.length&&
|
||||
(b=1073741824);return Math.floor(Math.random()*(b-a))+a};var S=E.inherit({id:"form",enctype:"application/x-www-form-urlencoded",htmlfileOnly:!1,_initComponent:function(){S.superclass._initComponent.apply(this,arguments);"_htmlfile"in S.prototype||(S.prototype._htmlfile=this._createHtmlfile());this._doc=this._htmlfile||(this.htmlfileOnly?null:f)},request:function(a,b,c,e){var d=this._doc;if(!d)return c.call(e,!1);b=this._splitParams(b);var f="ifr"+g.random(),h=d.createElement("div");h.style.position=
|
||||
"absolute";h.style.left="-99999px";h.style.top="-99999px";var k=['<iframe name="',f,'"></iframe>','<form action="',this._buildUrl(a,b.get),'" method="post" target="',f,'" enctype="',this.enctype,'">'];g.forEachKey(b.post,function(a){g.mergeArrays(k,['<input type="hidden" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" name="',a,'"/>'])});g.mergeArrays(k,["</form>"]);h.innerHTML=k.join("");d.body.appendChild(h);var l=h.getElementsByTagName("form")[0];g.forEachKey(b.post,
|
||||
function(a,b){l[a].value=b});l.submit();g.setTimeout(function(){d.body.removeChild(h)},1E4,"TransportForm.request.2");return c.call(e,!0)},_createHtmlfile:function(){try{if(h.ActiveXObject){var a=new ActiveXObject("htmlfile");a.open();a.write("<html><body></body></html>");a.close();return a}}catch(b){}return null}}),M=S.inherit({id:"htmlfile",htmlfileOnly:!0}),K=E.inherit({id:"img",request:function(a,b,c,e){a=this._buildUrl(a,b);b=f.createElement("img");b.onload=q(function(){c.call(e,!0)},"TransportImage.request");
|
||||
b.onerror=q(function(){c.call(e,!1)},"TransportImage.request");b.src=a}});g.defer=function(a,b,c,e,d){return g.setTimeout(function(){a.apply(c,e||[])},b,d)};var N=v.inherit({protocol:"",host:"mc.yandex.ru",resource:"",counterId:"",counterType:0,retry:!1,transports:[J,K,M],_initComponent:function(){N.superclass._initComponent.apply(this,arguments);this.retry&&(this._storage=new ea)},send:function(a,b,c,e){var d=this._registerRequest(a,b);this._sendSavedRequest(d,a,b,c,e)},_sendSavedRequest:function(a,
|
||||
b,c,e,d){var f=h.Ya._metrika.firstReqStatus;if("process"==f)h.Ya._metrika.firstReqCallbacks=g.mergeArrays(h.Ya._metrika.firstReqCallbacks||[],[[this,arguments]]);else{f||(h.Ya._metrika.firstReqStatus="process");f={};this.counterType&&(f["cnt-class"]=this.counterType);g.mixin(f,b);c.st=Math.round((new Date).getTime()/1E3);c.u=N._userID;var k=[this.protocol,"//",this.host,"/"+this.resource+"/"+this.counterId].join(""),l=[];c&&(g.forEachKey(c,function(a,b){"t"!=a&&g.mergeArrays(l,[a,b])}),c.t&&g.mergeArrays(l,
|
||||
["t",c.t]));l.length&&(f["browser-info"]=l.join(":"));return N.superclass.send.call(this,k,f,function(){h.Ya._metrika.firstReqStatus="complete";this._unregisterRequest(a);var b=h.Ya._metrika.firstReqCallbacks;h.Ya._metrika.firstReqCallbacks=null;if(b)for(var c=0;c<b.length;c++)b[c][0]._sendSavedRequest.apply(b[c][0],b[c][1]);e&&e.apply(d,arguments)},this)}},_isRetryEnabled:function(){return this.retry&&this._storage&&this._storage.isEnabled()},_registerRequest:function(a,b){if(this._isRetryEnabled()){b.rqnl=
|
||||
b.rqnl||0;b.rqnl++;for(var c=this._storage.get("retryReqs")||{},e=1;c[e];)e++;c[e]={protocol:this.protocol,host:this.host,resource:this.resource,counterId:this.counterId,counterType:this.counterType,postParams:this.postParams,params:a,browserInfo:b,ghid:Ya._globalMetrikaHitId,time:+new Date};this._storage.set("retryReqs",c);return e}},_unregisterRequest:function(a){if(a&&this._isRetryEnabled()){var b=this._storage.get("retryReqs")||{};b[a]&&(delete b[a],this._storage.set("retryReqs",b))}}});N.initCookie=
|
||||
function(){var a=new Y,b=a.read("uid");b||(b=Math.round((new Date).getTime()/1E3),b=b+""+g.random(),a.create("uid",b,259200));N._userID=b};N.retransmit=function(){var a=new ea,b=a.get("retryReqs")||{};a.remove("retryReqs");g.forEachKey(b,function(a,b){h.Ya._metrika.firstReqStatus||(h.Ya._metrika.firstReqStatus="complete");b.ghid&&b.ghid!=Ya._globalMetrikaHitId&&b.time&&b.time+864E5>+new Date&&2>=b.browserInfo.rqnl&&(new N({protocol:b.protocol,host:b.host,resource:b.resource,counterId:b.counterId,
|
||||
counterType:b.counterType,postParams:b.postParams||[],retry:!0})).send(b.params,b.browserInfo)})};var F={abc:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",tail:"+/=",tailSafe:"*-_",encode:function(a,b){for(var c=(F.abc+(b?F.tailSafe:F.tail)).split(""),e=a.length,d=[],f=e-e%3,h,k=0;k<f;k+=3)h=(a[k]<<16)+(a[k+1]<<8)+a[k+2],g.mergeArrays(d,[c[h>>18&63],c[h>>12&63],c[h>>6&63],c[h&63]]);switch(e-f){case 1:h=a[f]<<4;g.mergeArrays(d,[c[h>>6&63],c[h&63],c[64],c[64]]);break;case 2:h=(a[f]<<
|
||||
10)+(a[f+1]<<2),g.mergeArrays(d,[c[h>>12&63],c[h>>6&63],c[h&63],c[64]])}return d.join("")}},mb={encode:function(a){for(var b=[],c=0,e=a.length;c<e;c++){var d=a.charCodeAt(c);128>d?b.push(d):(127<d&&2048>d?b.push(d>>6|192):(b.push(d>>12|224),b.push(d>>6&63|128)),b.push(d&63|128))}return b}},lb=N.inherit({resource:"webvisor",transports:[J,S],postParams:["wv-data"],sendContent:function(a,b,c,e,d,g,h){if(!a)return!1;-1<a.indexOf("\r")&&(a=a.replace(/\r\n/g,"\n"));a={"wv-type":1,"page-url":B().href,"wv-hit":c,
|
||||
"wv-data":F.encode(mb.encode(a))};return 245E3<a["wv-data"].length?!1:this.send(a,{z:e,i:d,pct:b||""},g,h)}});g.throttle=function(a,b,c,e){var d,h,f;return function(){h=arguments;f=this;d||function(){d=null;h&&(a.apply(c||f,h),h=null,d=g.setTimeout(arguments.callee,b,e))}()}};var Ua=H.inherit({storage:null,storageKey:"dataBuffer",maxBufferSize:255,flushTimeout:1E4,active:!0,meta:null,onFlush:function(){},onFlushCtx:null,bufferExpireTime:864E5,_initComponent:function(){Ua.superclass._initComponent.apply(this,
|
||||
arguments);this._data=[];this._packetNumber=0;this._flushTID=null;this._saveToStorageThrottled=g.throttle(this._saveToStorage,300,this,"DataBuffer._saveToStorage");if(this.storage){var a=this.storage.get(this.storageKey);a&&a.data&&a.meta&&a.time&&a.time+this.bufferExpireTime>+new Date&&this.onFlush.call(this.onFlushCtx||this,a.data,a.meta,a.pnum);this.clear()}},append:function(a,b){g.mergeArrays(this._data,a);this._saveToStorageThrottled();this.active&&((b||this._data.length>=this.maxBufferSize)&&
|
||||
this._flush(),this._flushTID||(this._flushTID=g.defer(this._flush,this.flushTimeout,this,[],"DataBuffer._flush")))},activate:function(){this.active||(this.active=!0,this.append([]))},clear:function(){this._data.length=0;this._flushTID=null;this.storage&&this.storage.remove(this.storageKey)},_flush:function(){this.onFlush.call(this.onFlushCtx||this,this._data,this.meta,this._packetNumber);this._packetNumber++;this.clear()},_saveToStorage:function(){this.storage&&this._data.length&&this.storage.set(this.storageKey,
|
||||
{data:this._data,meta:this.meta,pnum:this._packetNumber,time:+new Date})}});g.trim=function(a,b){a=String(a).replace(/^\s+|\s+$/g,"");b&&a.length>b&&(a=a.substr(0,b));return a};g.isString=function(a){return"[object String]"==Object.prototype.toString.call(a)};g.arrayIndexOf=function(a,b){for(var c=0;c<a.length;c++)if(a[c]===b)return c;return-1};var w={_jScriptVersion:0,getJScriptVersion:function(){w._jScriptVersion||(w._jScriptVersion=(new Function("return /*@cc_on @_jscript_version @*/;"))());return w._jScriptVersion},
|
||||
_silverlightVersion:"",getSilverlightVersion:function(){if(!w._silverlightVersion)if(h.ActiveXObject)try{var a=function(a,b,c,g){for(;a.isVersionSupported(b[0]+"."+b[1]+"."+b[2]+"."+b[3]);)b[c]+=g;b[c]-=g},b=new ActiveXObject("AgControl.AgControl"),c=[1,0,0,0];a(b,c,0,1);a(b,c,1,1);a(b,c,2,1E4);a(b,c,2,1E3);a(b,c,2,100);a(b,c,2,10);a(b,c,2,1);a(b,c,3,1);w._silverlightVersion=c.join(".")}catch(e){}else if(a=h.navigator,a=a.plugins&&a.plugins["Silverlight Plug-In"])w._silverlightVersion=a.description;
|
||||
return w._silverlightVersion||""},_flashVersion:0,getFlashVersion:function(){if(!w._flashVersion){var a=h.navigator;if("undefined"!=typeof a.plugins&&"object"==typeof a.plugins["Shockwave Flash"]){var b=a.plugins["Shockwave Flash"],c=b.version;if((b=b.description)||c)if(a=a.mimeTypes,"undefined"==typeof a||!a["application/x-shockwave-flash"]||a["application/x-shockwave-flash"].enabledPlugin)c?w._flashVersion=c:b&&(w._flashVersion=b.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,"."))}else if("undefined"!=
|
||||
typeof h.ActiveXObject)try{if(c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))if(b=c.GetVariable("$version"))w._flashVersion=b.split(" ")[1].replace(/,/g,".").replace(/[^.\d]/g,"")}catch(e){}}return w._flashVersion},getLanguage:function(){return(h.navigator&&(I.language||I.browserLanguage)||"").toLowerCase()},getJavaEnabled:function(){try{return I.javaEnabled()}catch(a){return!1}},getNotificationPermission:function(){var a;try{a=Notification.permission}catch(b){}switch(a){case "denied":return 1;
|
||||
case "granted":return 2}}};g.fnv32a=function(a){for(var b=2166136261,c=0,e=a.length;c<e;++c)b^=a.charCodeAt(c),b+=(b<<1)+(b<<4)+(b<<7)+(b<<8)+(b<<24);return b>>>0};w.getFingerPrint=function(){var a=[];if(I.plugins&&I.plugins.length)for(var b=0;b<I.plugins.length;b++){var c=I.plugins[b];g.mergeArrays(a,[c.name,c.version,c.description,c.filename])}if(I.mimeTypes&&I.mimeTypes.length)for(b=0;b<I.mimeTypes.length;b++)c=I.mimeTypes[b],g.mergeArrays(a,[c.type,c.description,c.suffixes]);return g.fnv32a(a.join(";"))+
|
||||
"01"};var fa=N.inherit({hitId:0,trackHash:!1,trimParams:!1,webvisor:!1,counter:null,counterNum:0,resource:"watch",retry:!0,postParams:["site-info"],countersNoTitle:"22836271 1143050 29626870 9928105 26128362 29850769".split(" "),sendTitle:!0,_initComponent:function(){fa.superclass._initComponent.apply(this,arguments);this._trackHash=this.trackHash;"0"===""+this.counterType&&(this.sendTitle=-1===g.arrayIndexOf(this.countersNoTitle,""+this.counterId))},setTrackHash:function(a){this._trackHash=a},sendHit:function(a){this._hitExt({url:a.url,
|
||||
title:a.title,referrer:a.referrer,userParams:a.userParams,modes:{ar:!0,saveRef:!0},callback:a.callback,ctx:a.ctx})},sendPrerenderHit:function(a){this._hitExt({url:a.url,title:a.title,referrer:a.referrer,modes:{ar:!0,pq:!0}})},sendAjaxHit:function(a){this._hitExt({url:a.url,title:a.title,referrer:a.referrer,modes:a.modes})},sendParams:function(a,b,c){this._hitExt({url:B().href,title:"",referrer:"",userParams:a,modes:{ar:!0,pa:!0,onlyData:!0},callback:b,ctx:c})},sendGoal:function(a,b){if(!/[\/&=?#]/.test(a)){var c=
|
||||
a?"goal://"+B().hostname+"/"+encodeURIComponent(a):B().href,e=l.getDocumentTitle(),d=a?B().href:f.referrer;this._hitExt({url:c,title:e,referrer:d,userParams:b.userParams,modes:{ar:!0},callback:b.callback,ctx:b.ctx})}},sendClickLink:function(a){this._hitExt({url:a.url,title:a.title,referrer:B().href,modes:a.modes})},sendExtLink:function(a){this._hitExt({url:a.url,title:a.title||"",referrer:B().href,userParams:a.userParams,modes:{ar:!0,ln:!0,ut:ia},callback:a.callback,ctx:a.ctx})},sendFileUpload:function(a){this._hitExt({url:a.url,
|
||||
title:a.title||"",referrer:B().href,userParams:a.userParams,modes:{ar:!0,ln:!0,dl:!0},callback:a.callback,ctx:a.ctx})},sendNotBounce:function(a,b){this._hitExt({url:B().href,title:"",referrer:"",modes:{cl:a,ar:!0,nb:!0,onlyData:!0},callback:b.callback,ctx:b.ctx})},_hitExt:function(a){function b(a,b){b&&(k[a]=b)}var c=a.modes||{},e=a.browserInfo||{};if("MetrikaPlayer"!=h.name){var d="undefined"!=typeof a.referrer?a.referrer:la,f=a.url,k={};c.ar&&!c.onlyData&&(d=this._prepareHitUrl(d),f=this._prepareHitUrl(a.url));
|
||||
b("page-ref",g.trim(d,ma));b("page-url",g.trim(f,ma));-1!=B().hostname.search(/(?:^|\.)(?:ya|yandex|narod|narod2)\.(?:\w+|com\.\w+)$/)?b("ut",ia):"undefined"!=typeof c.ut&&b("ut",g.trim(c.ut,nb));if(a.userParams)if(f=g.toJSON(a.userParams),this.trimParams&&f.length>ob)var l=!0;else b("site-info",f);c.saveRef&&(la=d);g.mixin(e,this._getTechInfo(a.title,c,this.counterId,a.ts,a.tz,this._trackHash,this.hitId,this.webvisor,this.counter));this.send(k,e,function(){l&&(new fa({protocol:this.protocol,counterType:this.counterType,
|
||||
counterId:this.counterId,hitId:this.hitId,trackHash:this.trackHash,webvisor:this.webvisor,counterNum:this.counterNum,counter:this.counter})).sendParams(a.userParams);g.isFunction(a.callback)&&a.callback.apply(a.ctx,arguments)},this)}},_prepareHitUrl:function(a){var b=B(),c=b.host,b=b.href,e;if(!g.isString(a))return b;if(-1!=a.search(/^\w+:\/\//))return a;e=a.charAt(0);if("?"==e)return e=b.search(/\?/),-1==e?b+a:b.substr(0,e)+a;if("#"==e)return e=b.search(/#/),-1==e?b+a:b.substr(0,e)+a;if("/"==e){if(e=
|
||||
b.search(c),-1!=e)return b.substr(0,e+c.length)+a}else return c=b.split("/"),c[c.length-1]=a,c.join("/");return a},_getTechInfo:function(a,b,c,e,d,f,k,v,x){function p(a,b){a&&b&&(m[a]=b)}function y(a){b[a]&&p(a,"1")}b=b||{};var m={};e=e||P.getTimestamp();d=d||P.getTimezone();p("j",w.getJavaEnabled()?"1":"");U&&p("s",U.width+"x"+U.height+"x"+(U.colorDepth||U.pixelDepth));h.devicePixelRatio&&p("sk",h.devicePixelRatio);p("f",w.getFlashVersion());p("l",w.getSilverlightVersion());p("fpr",w.getFingerPrint());
|
||||
p("cn",this.counterNum);if(!b.pa){var q=l.getViewportSize();p("w",q[0]+"x"+q[1])}p("z",d);p("i",e);p("et",Math.round((new Date).getTime()/1E3));p("en",l.getDocumentCharset());p("v",V);p("c",I.cookieEnabled?"1":"");p("jv",w.getJScriptVersion());p("la",w.getLanguage());p("ntf",w.getNotificationPermission());f&&p("wh","1");d="ar ln dl ad nb pa pq".split(" ");for(e=0;e<d.length;e++)y(d[e]);d=["va","vt","sn","sa","he"];b.nb&&d.push("cl");for(e=0;e<d.length;e++)f=d[e],p(f,b[f]);c=new ea({counterId:c});
|
||||
c.isEnabled()&&(e=c.getStorageId(),(d=c.get("reqNum"))?d++:d=1,c.set("reqNum",d),c.get("reqNum")==d?(p("ls",e),p("rqn",d)):(c.remove("reqNum"),c.clearStorageId(),1<d&&(p("ls",e),p("rqn",0))));p("rn",g.random());p("hid",k);p("ds",cb(x));x._firstPaint||(x._firstPaint=db(),p("fp",x._firstPaint));if(v){h.name||(h.name=Math.round(65535*Math.random()));if(k=+h.name)0>k&&(k*=-1),k%=65535;p("wn",k||g.fletcher(h.name));try{h.history&&p("hl",String(h.history.length))}catch(A){}}k="";this.sendTitle&&(k=this._getTitle(a));
|
||||
p("t",k);return m},_getTitle:function(a){var b="";b="undefined"==typeof a?(b=l.getDocumentTitle())?g.trim(b,Va):"":g.trim(a,Va);return b}});g.array2Props=function(a){for(var b=a.length,c={},e=c,d=0;d<b-1;d++){var g=a[d];e[g]={};d<b-2&&(e=e[g])}e[g]=a[b-1];return c};var Q=H.inherit({sampling:1,counterId:26302566,_initComponent:function(){Q.superclass._initComponent.apply(this,arguments);this._sender=new fa({protocol:"https:",counterId:this.counterId,retry:!1,counter:{}})},log:function(){this.logParams(g.array2Props(arguments))},
|
||||
logParams:function(a){Math.random()<this.sampling&&this._sender.sendHit({url:A.href,title:"",referrer:"",userParams:a})}}),pb=N.inherit({resource:"webvisor",retry:!0,postParams:["wv-data"],sendPacket:function(a,b,c,e,d,f,k,l){if(!a||!a.length)return!1;var w=F.encode(a,!0);0==w.indexOf("AAAAAAAAADw")&&h.Error&&"string"==typeof Error().stack&&(new Q({sampling:.1})).log("bad visor packet 5",1);a={rn:g.random(),"page-url":b,wmode:0,"wv-type":0,"wv-hit":c,"wv-part":e+1,"wv-check":g.fletcher(a),"wv-data":w};
|
||||
return this.send(a,{z:d,i:f},k,l)}}),Ta=Ua.inherit({protocol:"",counterId:"",counterType:"",meta:null,maxBufferSize:7500,flushTimeout:3E4,storageKey:"visorbuff",active:!1,_initComponent:function(){this.storage=new ea({counterId:this.counterId});this._sender=new pb({protocol:this.protocol,counterId:this.counterId,counterType:this.counterType});Ta.superclass._initComponent.apply(this,arguments)},onFlush:function(a,b,c){this._sender.sendPacket(a,b.url,b.hitId,c,b.timezone,b.timestamp)}});g.isObject=
|
||||
function(a){try{return a&&null!==a&&"[object Object]"==Object.prototype.toString.call(a)}catch(b){return!1}};g.clearTimeout=function(a){return g.getNativeFunction("clearTimeout")(a)};g._urlParser=null;g.parseUrl=function(a){if(!this._urlParser)try{this._urlParser=f.createElement("a")}catch(b){}return this._urlParser?(this._urlParser.href=a,{protocol:this._urlParser.protocol,host:this._urlParser.host,port:this._urlParser.port,hostname:this._urlParser.hostname,hash:this._urlParser.hash,search:this._urlParser.search,
|
||||
query:this._urlParser.search.replace(/^\?/,""),pathname:this._urlParser.pathname||"/",path:(this._urlParser.pathname||"/")+this._urlParser.search,href:this._urlParser.href}):{}};w.isIE=function(){return 5.8>=w.getJScriptVersion()};var aa={};aa._cookie=new Y({onlyCurrentDomain:!0});aa.log=q(function(){var a=-1<A.href.indexOf("_ym_debug=1")||h._ym_debug;a&&this._cookie.create("debug","1");h.console&&console.log&&(a||"1"===this._cookie.read("debug"))&&console.log.apply(console,arguments)},"DebugConsole.log");
|
||||
var qb=N.inherit({resource:"clmap",retry:!0,transports:[K],sendClick:function(a,b,c,e){this.send({"page-url":a,"pointer-click":b},{},c,e)}}),rb=H.inherit({filter:null,ignoreTags:[],quota:0,isTrackHash:!1,protocol:"",counterId:0,counterType:0,startTime:0,MAX_LEN_PATH:128,TIMEOUT_CLICK:50,TIMEOUT_SAME_CLICKS:1E3,DELTA_SAME_CLICKS:2,tags:"A B BIG BODY BUTTON DD DIV DL DT EM FIELDSET FORM H1 H2 H3 H4 H5 H6 HR I IMG INPUT LI OL P PRE SELECT SMALL SPAN STRONG SUB SUP TABLE TBODY TD TEXTAREA TFOOT TH THEAD TR U UL ABBR AREA BLOCKQUOTE CAPTION CENTER CITE CODE CANVAS DFN EMBED FONT INS KBD LEGEND LABEL MAP OBJECT Q S SAMP STRIKE TT ARTICLE AUDIO ASIDE FOOTER HEADER MENU METER NAV PROGRESS SECTION TIME VIDEO NOINDEX NOBR MAIN".split(" "),
|
||||
_initComponent:function(){this._lastClick=null;this.hasQuota=!!this.quota;this._quota=this.quota;this._ignoreTags=[];if(this.ignoreTags)for(var a=0;a<this.ignoreTags.length;a++)this.ignoreTags[a]&&g.mergeArrays(this._ignoreTags,[String(this.ignoreTags[a]).toUpperCase()]);this._cacheTags={};for(var a=59,b=String.fromCharCode,c=0;c<this.tags.length;c++)this._cacheTags[this.tags[c]]=b(a),b(a),a++;this._sender=new qb({protocol:this.protocol,counterId:this.counterId,counterType:this.counterType});this._start=
|
||||
!1;this.start()},destroy:function(){this.stop()},start:function(){if(!this._start)k.on(f,"click",this._handler,this);this._start=!0},stop:function(){this._start&&k.un(f,"click",this._handler,this);this._start=!1},setTrackHash:function(a){this.isTrackHash=a},_isIgnore:function(a){return l.classNameExists(a,"(ym-disable-clickmap|ym-clickmap-ignore)")},_handler:function(a){O=1;a={el:G.getTarget(a),pos:G.getPos(a),button:G.getMouseButton(a),time:+new Date};O=2;if(this._isTrackingClick(a)){O=3;var b=l.getElementSize(a.el),
|
||||
c=l.getElementXY(a.el),b=["rn",g.random(),"x",Math.floor(65535*(a.pos[0]-c[0])/(b[0]||1)),"y",Math.floor(65535*(a.pos[1]-c[1])/(b[1]||1)),"t",Math.floor((a.time-this.startTime)/100),"p",this._getElPath(a.el)];O=4;c=B().href;this.isTrackHash?g.mergeArrays(b,["wh","1"]):c=c.split("#")[0];O=5;this._sender.sendClick(g.trim(c,ma),b.join(":"));this._lastClick=a}O=6},_isTrackingClick:function(a){if(h.ymDisabledClickmap||"MetrikaPlayer"==h.name)return!1;var b=a.el.tagName;if((2==a.button||3==a.button)&&"A"!=
|
||||
b||this.filter&&!this.filter(a.el,b))return!1;for(var c=0;c<this._ignoreTags.length;c++)if(this._ignoreTags[c]==b)return!1;for(b=a.el;b;){if(this._isIgnore(b))return!1;b=b.parentNode}if(this._lastClick){if(a.time-this._lastClick.time<this.TIMEOUT_CLICK)return!1;var b=Math.abs(this._lastClick.pos[0]-a.pos[0]),c=Math.abs(this._lastClick.pos[1]-a.pos[1]),e=a.time-this._lastClick.time;if(this._lastClick.el==a.el&&b<this.DELTA_SAME_CLICKS&&c<this.DELTA_SAME_CLICKS&&e<this.TIMEOUT_SAME_CLICKS)return!1}if(this.hasQuota){if(!this._quota)return!1;
|
||||
this._quota--}return!0},_getElPath:function(a){for(var b="";a&&a.parentNode&&"BODY"!=a.tagName&&"HTML"!=a.tagName;)b+=this._cacheTags[a.tagName]||"*",b+=l.getElementNeighborPosition(a)||"",a=a.parentNode;return g.trim(b,this.MAX_LEN_PATH)}}),Wa=H.inherit({_initComponent:function(){Wa.superclass._initComponent.apply(this,arguments);this._executedMsgs={};k.on(h,"message",this.RemoteControl__onMessage,this)},RemoteControl__onMessage:function(a){try{var b=a.origin}catch(e){}if(b&&(/^https?:\/\/(.+\.)?metri(k|c)a(-(dev|test|ng-ps)(\.haze)?)?\.yandex\.(ru|ua|by|kz|com(\.tr)?)(:\d+)?$/.test(b)||
|
||||
/^http:\/\/(.+\.)?webvisor\.(ru|com)$/.test(b))){try{var c=(new Function("return "+a.data))()}catch(e){}c&&c.id&&c.code&&!this._executedMsgs[c.id]&&(this._executedMsgs[c.id]=!0,(new Function("evt",c.code))(a))}}}),P={};g.pad=function(a){return(10>a?"0":"")+a};P.getTimestamp=function(){for(var a=new Date,a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()],b="",c=0;c<a.length;c++)b+=g.pad(a[c]);return b};P.getTimezone=function(){return-(new Date).getTimezoneOffset()};
|
||||
g.bind=function(a,b){return function(){return a.apply(b||this,arguments)}};var Xa=H.inherit({counter:null,prefsEcommerce:null,dataLayerName:"dataLayer",_initComponent:function(){Xa.superclass._initComponent.apply(this,arguments);this._overridePush(this.prefsEcommerce)||(g.isString(this.prefsEcommerce)&&(this.dataLayerName=this.prefsEcommerce),this._tryTimeout())},_overridePush:function(a){if(a&&"function"==typeof a.push){var b=this;b._send(a);var c=a.push;a.push=function(){b._send([].slice.call(arguments,
|
||||
0));c.apply(this,arguments)};return!0}return!1},_tryTimeout:function(){this._overridePush(h[this.dataLayerName])||g.setTimeout(g.bind(this._tryTimeout,this),1E3,"dlObserver")},_send:function(a){for(var b=[],c=0;c<a.length;c++)a[c].ecommerce&&(b[b.length]=a[c].ecommerce);b.length&&this.counter.params({__ym:{ecommerce:b}})}}),v=E.inherit({id:"script",request:function(a,b,c,e){var d="_ymjsp"+g.random(),k=f.createElement("script");h[d]=q(function(a){try{delete h[d]}catch(b){h[d]=ca}c.call(e,!0,a);k.parentNode&&
|
||||
k.parentNode.removeChild(k)},"transport.script");k.type="text/javascript";k.src=this._buildUrl(a,g.mixin({wmode:5,callback:d},b));a=f.getElementsByTagName("head")[0];a.insertBefore(k,a.firstChild);return!0}}),sb=fa.inherit({transports:[v],trimParams:!0,sendHit:function(a){var b={};a.visitColor&&(b.vc=a.visitColor);a.hasPrerender&&(b.pr=1);this._hitExt({url:a.url,title:a.title,referrer:a.referrer,userParams:a.userParams,modes:a.modes,browserInfo:b,ts:a.ts,tz:a.tz,callback:a.callback,ctx:a.ctx})}}),
|
||||
R=[];h.Ya=h.Ya||{};Ya._metrika=Ya._metrika||{};Ya._metrika.counters=Ya._metrika.counters||{};Ya._metrika.hitParam=Ya._metrika.hitParam||{};Ya._metrika.counterNum=Ya._metrika.counterNum||0;Ya._metrika.hitId=Ya._metrika.hitId||g.random();Ya._globalMetrikaHitId=g.random();var A=B(),va=P.getTimezone(),wa=P.getTimestamp(),I=h.navigator,U=h.screen,V="ver665".slice(3),nb=64,ma=w.isIE()?512:2048,ob=w.isIE()?512:2048,Va=w.isIE()?100:400,ia="noindex",Za=/\.(3gp|7z|aac|ac3|acs|ai|avi|ape|apk|asf|bmp|bz2|cab|cdr|crc32|css|csv|cue|divx|dmg|djvu?|doc(x|m|b)?|emf|eps|exe|flac?|flv|iso|swf|gif|t?gz|jpe?g?|js|m3u8?|m4a|mp(3|4|e?g?)|m4v|md5|mkv|mov|msi|ods|og(g|m|v)|pdf|phps|png|ppt(x|m|b)?|psd|rar|rss|rtf|sea|sfv|sit|sha1|svg|tar|tif?f|torrent|ts|txt|vob|wave?|wma|wmv|wmf|webm|xls(x|m|b)?|xpi|g?zip)$/i,
|
||||
tb=+new Date,ja,ga;h.Ya.Metrika=function(a,b,c,e){var d=this;return q(function(){function v(r){var n=!1;if(Ya._metrika.hitParam[F]){if(1!=c||Ya._metrika.counters[F])return!1;n=!0}Ya._metrika.counters[F]=d;Ya._metrika.hitParam[F]=1;d._webvisor=!e&&(z&&z.webvisor||!1);d._directCampaign=z&&z.directCampaign;z&&z.trackHash&&H(!0);if(!e&&!n){d.replacePhones();var u=new Y({counterId:a}),D=u.read("visorc");"b"!=D&&"w"!=D&&(D="");if(!u.isEnabled()||ha("opera mini"))D="b";ja=+new Date;var n=new sb({protocol:"https:",
|
||||
counterType:c,counterId:a,trackHash:X,hitId:M,webvisor:d._webvisor,counter:d,counterNum:U}),w={ut:O,he:z?~~z.httpError:0,ad:1==c&&h.Ya&&h.Ya.Direct,saveRef:!0};n.sendHit({url:A.href,title:l.getDocumentTitle(),referrer:f.referrer,userParams:b,modes:w,visitColor:D,hasPrerender:r,ts:wa,tz:va,callback:function(c){aa.log("PageView. Counter "+a+". URL: "+A.href+". Referrer: "+f.referrer,". Params: ",b);ga||(ga=+new Date);c=c||{};var e=c.webvisor||{};if(P){var n=+e.recp;if(!isFinite(n)||0>n||1<n)D="w";D||
|
||||
(D=M%1E4/1E4<n?"w":"b");u.create("visorc",D,30);"w"==D?(P.start(),n=e.arch_type,(e=e.urls)&&n&&"none"!=n&&P.uploadPages(e,n)):P.stop()}c=c.mp2;u.erase("mp2_substs");if(c){b:if((e=c.conditions)&&e.length)for(n=0;n<e.length;n++){var r;r=e[n];if("ref"==r.type)r=eb(r);else if("adv"==r.type){var l=r,m=Ya._metrika.counter._directCampaign,p=l.ServiceNamePattern,w=l.RefererPattern;r=m?l.direct_orders:l.direct_camp;var y=f.referrer,t=A.search,t=t&&t.replace(/^\?/,""),v={};if(t)for(var t=t.split("&"),L=0;L<
|
||||
t.length;L++){var q=t[L].split("=");v[da(q[0])]=da(q[1])}for(var t=fb(A.search,A.hash),L={},q=["source","medium","campaign","term","content"],x=0;x<q.length;x++)v["utm_"+q[x]]&&(L[q[x]]=v["utm_"+q[x]]);x=m?"direct.yandex.ru":t&&t.service||L.source;q=!1;if(!q&&p&&p.length)for(var z=0;z<p.length;z++)if((new RegExp(p[z],"i")).test(x)){q=!0;break}if(!q&&w&&w.length)for(p=0;p<w.length;p++)if((new RegExp(w[p],"i")).test(y)){q=!0;break}!q&&l.google_adwords&&v.gclid&&(q=!0);!q&&l.yandex_direct&&v.yclid&&
|
||||
(q=!0);if(q&&r&&r.length&&(q=!1,l=m||t&&t.campaign||L&&L.campaign))for(m=0;m<r.length;m++)if(r[m]==l){q=!0;break}r=q}else r=!1;if(r){e[n].track_id&&u.create("mp2_track",e[n].track_id,43200);break b}}e=u.read("mp2_track");c=c.substs&&c.substs[e];e&&c?(u.create("mp2_substs",g.toJSON(c)),c=Ia(c),d.params("__ym",c?"mp_trackid":"mp_trackid_bad",e)):Ja()}else Ja();k.on(h,"load",d.replacePhones,d);d._inited=!0}})}E();z&&(z.enableAll?(t(!0),p(!0),m()):(z.clickmap&&p(z.clickmap),z.trackLinks&&t(z.trackLinks),
|
||||
z.accurateTrackBounce&&m(z.accurateTrackBounce)),(z.ecommerce||z.useDataLayer)&&new Xa({counter:d,prefsEcommerce:z.ecommerce}),z.triggerEvent&&G.dispatchCustomEvent("yacounter"+a+"inited"));d._webvisor&&(P=new hb("https:",a,c,z,M,d))}function t(a){var b={};switch(typeof a){case "string":b.on=!0;break;case "object":b.on=!0;break;case "boolean":b.on=a;break;default:return}d._trackLinks=b}function E(){t(!1);k.on(f,"click",function(a){d._trackLinks&&d._trackLinks.on&&x(a)})}function x(a){var b=$a(a);
|
||||
if(b){a=!1;var c=""+b.href,d=c?c.split(/\?/)[0]:"",e=function(a){var d=Ga(b.innerHTML.replace(/<\/?[^>]+>/gi,""));T.sendClickLink({url:c,title:c==d?"":d,modes:a})};if(Za.test(d)||Za.test(c)||qa(c,Q)||qa(d,Q))a=!0;var f=l.classNameExists(b,"ym-disable-tracklink"),d=l.classNameExists(b,"ym-external-link");f||(f={ln:!0,dl:a},d?e(f):(d=b.hostname||g.parseUrl(b.href).hostname||"",ab(B().hostname,d)?a&&(f.ln=!1,e(f)):c&&-1!=c.search(/^ *(data|javascript):/i)||(f.ut=ia,e(f))))}}function p(b){"undefined"==
|
||||
typeof b&&(b=!0);!0===b&&(b={});d._clickmap&&d._clickmap.destroy();b&&(d._clickmap=new rb({filter:b.filter,ignoreTags:b.ignoreTags,quota:b.quota,isTrackHash:b.isTrackHash,protocol:"https:",counterId:a,counterType:c,startTime:tb}))}function y(a,b){function c(){if(!z){y&&g.clearTimeout(y);var d;d=t?v:v+ +new Date-x;d=b-d;0>d&&(d=0);y=g.setTimeout(function(){z=!0;m(!1);a()},d,"trackUserTime")}}function d(){t=p=q=!0;v+=+new Date-x;x=+new Date;c()}function e(){p||q||(v=0);x=+new Date;p=q=!0;t=!1;c()}function l(){q||
|
||||
(p=!0,t=!1,q=!0,c())}function m(a){for(var b=0;b<A.length;b+=3)if(a)k.on(A[b],A[b+1],A[b+2]);else k.un(A[b],A[b+1],A[b+2])}var p=!1,q=!1,t=!0,v=0,x=+new Date,y=null,z=!1;if(w.isIE())g.setTimeout(a,b,"trackUserTime");else{var A=[h,"blur",d,h,"focus",e,f,"click",l,f,"mousemove",l,f,"keydown",l,f,"scroll",l];m(!0);c()}}function m(b){"number"!=typeof b&&(b=15E3);if(!d._isAccurateTrackBounce){d._isAccurateTrackBounce=!0;var c=new ea({counterId:a}),e=c.get("lastHit");c.set("lastHit",+new Date);((c=c.get("lastHit"))&&
|
||||
(!e||e<c-18E5)||!bb(f.referrer,B().href)||.1>Math.random())&&y(function(){d.notBounce()},b)}}function I(a){function b(){var a=B().hash.split("#")[1];if("undefined"==typeof a)return!1;var c=a.indexOf("?");0<c&&(a=a.substring(0,c));return a}var c=b();(function L(){var d=b();d!==c&&(a(),c=d);V=g.setTimeout(L,200,"trackHash")})()}function H(a){if(!1===a)X&&("onhashchange"in h?k.un(h,"hashchange",K):g.clearTimeout(V),X=!1);else if(a=K,!X){if("onhashchange"in h)k.on(h,"hashchange",a);else I(a);X=!0}T.setTrackHash(X);
|
||||
d._trackHash=X}function K(){S=la=R;var a={ut:O,ad:1==c&&h.Ya&&h.Ya.Direct,wh:!0,saveRef:!0};T.sendAjaxHit({url:B().href,title:l.getDocumentTitle(),referrer:S,modes:a});R=B().href}function J(a,b,c){a=ba.parseValidate(a,b);b=[];a&&(b.push(a),c=c||{},g.isFunction(c.callback)&&(b.push(c.callback),c.ctx&&b.push(c.ctx)));b.length&&d.params.apply(d,b)}var F,O="",R=la=A.href,S="",z;Ya._metrika.counter||(Ya._metrika.counter=d);"object"==typeof a&&(z=a,e=a.defer,O=a.ut,c=a.type,b=a.params,a=a.id);a=a||0;/^\d+$/.test(a)||
|
||||
(a=0);c=c||0;F=a+":"+c;if(Ya._metrika.counters[F])return Ya._metrika.counters[F];var M=Ya._metrika.hitId;Ya._metrika.counterNum++;var U=Ya._metrika.counterNum;N.initCookie();N.retransmit();var T=new fa({protocol:"https:",counterType:c,counterId:a,hitId:M,counter:d,counterNum:U}),P;d.replacePhones=q(function(){try{var b=(new Y({counterId:a})).read("mp2_substs");if(b){var c=(new Function("return "+b))();c&&Ia(c,!0)}}catch(d){}},"counter.replacePhones");d.reachGoal=q(function(b,c,d,e){2<=arguments.length&&
|
||||
"function"===typeof c&&(e=d,d=c,c=ca);aa.log("Reach goal. Counter: "+a+". Goal id: "+b+". Params: ",c);T.sendGoal(b,{userParams:c,callback:d,ctx:e});return!0},"counter.reachGoal");d.trackLinks=q(function(a){t(a)},"counter.trackLinks");d.hit=q(function(b,c,d,e,f,h){b&&(g.isObject(c)&&(d=c.referer,e=c.params,f=c.callback,h=c.ctx,c=c.title),aa.log("PageView. Counter "+a+". URL: "+b+". Referrer: "+d+". Params: ",e),T.sendHit({url:b,title:c,referrer:d,userParams:e,callback:f,ctx:h}))},"counter.hit");d.params=
|
||||
q(function(b){var c=arguments.length,d=c,e,f,h=[].slice.call(arguments,0);b&&(1<arguments.length&&(g.isFunction(arguments[c-1])?(e=arguments[c-1],d=c-1):g.isFunction(arguments[c-2])&&(e=arguments[c-2],f=arguments[c-1],d=c-2),h=[].slice.call(h,0,d),1<h.length&&(h=[g.array2Props(h)])),aa.log("User params. Counter "+a+". Params: ",h[0]),T.sendParams(h[0],e,f))},"counter.params");d.file=q(function(a,b){a&&(b=b||{},T.sendFileUpload({url:a,title:b.title,userParams:b.params,callback:b.callback,ctx:b.ctx}))},
|
||||
"counter.file");d.extLink=q(function(a,b){a&&(b=b||{},T.sendExtLink({url:a,title:b.title,userParams:b.params,callback:b.callback,ctx:b.ctx}))},"counter.extLink");d.notBounce=q(function(a){var b=0;a=a||{};ja&&ga&&(b=ga-ja);T.sendNotBounce(b,{callback:a.callback,ctx:a.ctx})},"counter.notBounce");var Q=[];d.addFileExtension=function(a){"string"==typeof a?Q.push(a):Q=Q.concat(a)};d.clickmap=function(a){p(a)};d.accurateTrackBounce=function(a){m(a)};var V=null,X=!1;d.trackHash=function(a){H(a)};g.isNumber=
|
||||
function(a){return isFinite(a)&&!isNaN(a)&&"[object Number]"==Object.prototype.toString.call(a)};g.arrayEvery=function(a,b,c){for(var d=0;d<a.length;d++)if(!b.call(c,a[d],d,a))return!1;return!0};var ba={requiredEcommerceFields:["currency","goods"],parseValidate:function(a,b){var c=this.validate(a,b);if(!c.isValid)return console&&console.log(c.message),!1;c={};c[a]={};b.currency&&(c.currencyCode=b.currency);b.goods&&(c[a].products=b.goods);for(var d in b)b.hasOwnProperty(d)&&-1===g.arrayIndexOf(this.requiredEcommerceFields,
|
||||
d)&&(c[a].actionField||(c[a].actionField={}),c[a].actionField[d]=b[d]);return{__ym:{ecommerce:[c]}}},validate:function(a,b){var c=!1,d="";if(g.isObject(b))switch(a){case "detail":case "add":case "remove":g.isArray(b.goods)&&b.goods.length?(c=g.arrayEvery(b.goods,function(a){return g.isObject(a)&&(g.isString(a.id)||g.isNumber(a.id)||g.isString(a.name)||g.isString(a.name))}))||(d="All items in 'goods' should be objects and contain 'id' or 'name' field"):d="Ecommerce data should contain 'goods' non-empty array";
|
||||
break;case "purchase":g.isNumber(b.id)||g.isString(b.id)?c=!0:d="Purchase object should contain string or number 'id' field"}else d="Ecommerce data should be an object";return{isValid:c,message:d}}};d.ecommerceDetail=q(function(a,b){J("detail",a,b)},"ecommerce.detail");d.ecommerceAdd=q(function(a,b){J("add",a,b)},"ecommerce.add");d.ecommerceRemove=q(function(a,b){J("remove",a,b)},"ecommerce.remove");d.ecommercePurchase=q(function(a,b){J("purchase",a,b)},"ecommerce.purchase");d.enableAll=function(){t(!0);
|
||||
p(!0);m()};d.uploadPage=function(){};d._performanceTiming=Ha;if(a)if("prerender"==f.webkitVisibilityState){T.sendPrerenderHit({url:A.href,title:l.getDocumentTitle(),referrer:f.referrer});var Z=function(){"prerender"!=f.webkitVisibilityState&&(k.un(f,"webkitvisibilitychange",Z),v(!0))};k.on(f,"webkitvisibilitychange",Z)}else v(!1)},"init")()};if(h.performance&&"function"==typeof performance.getEntries){E={2343947156:1,1996539654:1,2065498185:1,823651274:1,12282461:1,1555719328:1,1417229093:1,138396985:1};
|
||||
J=performance.getEntries();M={};for(v=0;v<J.length;v++){var K=J[v],ba=K.name.replace(/^https?:\/\//,"").split("?")[0],ub=g.fnv32a(ba);E[ub]&&!M[ba]&&0<K.duration&&(M[ba]={dns:Math.round(K.domainLookupEnd-K.domainLookupStart),tcp:Math.round(K.connectEnd-K.connectStart),duration:Math.round(K.duration),response:Math.round(K.responseEnd-K.requestStart),pages:A.href})}(new Q({sampling:1E-4})).logParams({timings8:M})}h.Ya._metrika.remoteCtrlInited||(h.Ya._metrika.remoteCtrlInited=!0,new Wa);h.Ya.Metrika.counters=
|
||||
function(){var a=[];g.forEachKey(h.Ya._metrika.counters,function(b,c){var e=b.split(":");a.push({id:+e[0],type:+e[1],accurateTrackBounce:c._isAccurateTrackBounce,clickmap:c._clickmap&&c._clickmap._start,oldCode:!!h.ya_cid,trackHash:!!c._trackHash,trackLinks:c._trackLinks&&c._trackLinks.on,webvisor:!!c._webvisor})});return a};h.ya_cid&&new Ya.Metrika(h.ya_cid,h.ya_params,h.ya_class);h.ya_cid&&!h.ya_hit&&(h.ya_hit=function(a,b){Ya._metrika.counter&&Ya._metrika.counter.reachGoal(a,b)});v=h.yandex_metrika_callback;
|
||||
E=h.yandex_metrika_callbacks;"function"==typeof v&&v();if("object"==typeof E)for(v=0;v<E.length;v++)if(J=E[v])E[v]=null,J();Ka("yandex_metrika_callback");Ka("yandex_metrika_callbacks");E=["link","click","scroll","res"];for(v=0;v<E.length;v++)if(J=E[v]+"map",-1!=A.href.search("ym_playback="+J)){La("https://old.metrika.yandex.ru/js/"+J+"/_loader.js");break}h.Ya.Metrika.informer=function(a){var b=!!Ya.Metrika._informer;Ya.Metrika._informer=a;b||La("https://informer.yandex.ru/metrika/informer.js")};(function(){var a=
|
||||
function(){var a=f.getElementsByTagName("body")[0],b=f.createElement("iframe");b.src="http://awaps.yandex.ru/0/2153/0.htm?ad=165746&pl=93829&rnd="+g.random();b.setAttribute("style","position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;visibility:hidden");a.appendChild(b);g.setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b)},1E4,"ad")},b=function(){h.removeEventListener("load",b,!1);a()},c=h.performance;g.random(200)||Ya._metrika.isAd||(Ya._metrika.isAd=!0,"http:"==A.protocol&&
|
||||
"object"==typeof c&&h.addEventListener&&(c.timing&&c.timing.loadEventStart?a():h.addEventListener("load",b,!1)))})()})(this,this.document);
|