1<!DOCTYPE html> 2<!--[if IE]><![endif]--> 3<!--[if IE 8 ]><html dir="ltr" lang="ru" class="ie8"><![endif]--> 4<!--[if IE 9 ]><html dir="ltr" lang="ru" class="ie9"><![endif]--> 5<!--[if (gt IE 9)|!(IE)]><!--> 6<html dir="ltr" lang="ru"> 7<!--<![endif]--> 8<head> 9<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 10<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=0" /> 11<meta http-equiv="X-UA-Compatible" content="IE=edge"> 12<title>ÐвÑоÑизаÑиÑ</title> 13<base href="https://drakopanda.com/" /> 14 15 16 17 18<meta property="og:type" content="website" /> 19<meta property="og:site_name" content="ÐÑкиниÑÑиÑеÑкий магазин «ÐÑакопанда»" /> 20<meta property="og:locale" content="ru_RU" /> 21<meta property="og:title" content="ÐвÑоÑизаÑиÑ" /> 22<meta property="og:url" content="https://drakopanda.com/login/" /><meta property="og:image" content="https://drakopanda.com/image/catalog/logo06042022.png" /> 23<meta property="og:image:alt" content="ÐвÑоÑизаÑиÑ" /> 24<meta name="twitter:card" content="summary_large_image" /> 25<meta name="twitter:title" content="ÐвÑоÑизаÑиÑ" /> 26<meta name="twitter:image" content="https://drakopanda.com/image/catalog/logo06042022.png" /> 27 28 29 <link href="/min/b=catalog/view&f=javascript/bootstrap/css/bootstrap.min.css,theme/oct_techstore/stylesheet/font-awesome/css/font-awesome.min.css,theme/oct_techstore/stylesheet/fonts.css,theme/oct_techstore/stylesheet/stylesheet.css,theme/oct_techstore/stylesheet/responsive.css,javascript/jquery/owl-carousel/owl.carousel.css,theme/oct_techstore/stylesheet/allstyles.css,theme/oct_techstore/stylesheet/dynamic_stylesheet.css" rel="stylesheet" media="screen" /> 30 31
31<script src="/min/f=catalog/view/javascript/jquery/jquery-2.1.1.min.js,catalog/view/javascript/bootstrap/js/bootstrap.min.js,catalog/view/javascript/jquery/owl-carousel/owl.carousel.min.js,catalog/view/javascript/jquery/magnific/jquery.magnific-popup.min.js,catalog/view/theme/oct_techstore/js/barrating.js,catalog/view/theme/oct_techstore/js/input-mask.js,catalog/view/javascript/octemplates/tippy/tippy.min.js"></script>
31 32 33 34 35<link href="https://drakopanda.com/image/catalog/favicon2.png" rel="icon" />
36<script src="https://static.yandex.net/kassa/pay-in-parts/ui/v1/"></script>
36 37</head> 38<body class="account-login"> 39 <div id="menu-mobile" class="m-panel-box"> 40 <div class="menu-mobile-header">ÐенÑ</div> 41 <div id="menu-mobile-box"></div> 42 <div class="close-m-search"> 43 <a class="oct-button closempanel">Ã</a> 44 </div> 45 </div> 46 <div id="info-mobile" class="m-panel-box"> 47 <div class="menu-mobile-header">ÐнÑоÑмаÑиÑ</div> 48 <div class="close-m-search"> 49 <a class="oct-button closempanel">Ã</a> 50 </div> 51 <div id="info-mobile-box"></div> 52 </div> 53 <div class="oct-m-search m-panel-box" id="msrch"> 54 <div class="menu-mobile-header">ÐоиÑк ÑоваÑов</div> 55 <div id="oct-mobile-search-box"> 56 <div id="oct-mobile-search"> 57 <div class="input-group"> 58 <input type="text" name="search" class="form-control" placeholder="ÐоиÑк ÑоваÑов"> 59 <span class="input-group-btn"> 60 <input type="button" id="oct-m-search-button" value="ÐайÑи" class="oct-button"> 61 </span> 62 </div> 63 <div class="oct-msearchresults" id="searchm"> 64 <div id="msearchresults"></div> 65 </div>
66 </div> 67 <p> </p> 68 </div> 69 <div class="close-m-search"> 70 <a class="oct-button closempanel">Ã</a> 71 </div> 72 </div> 73 <div id="oct-bluring-box"> 74 <div id="oct-bluring-box-item"></div> 75 <nav id="top"> 76 <div class="top-container"> 77 <div class="container mobile-container"> 78 <div class="row"> 79 <div class="col-xs-3 top-mobile-item"> 80 <a class="new-menu-toggle" id="menu-mobile-toggle"> 81 <i class="fa fa-bars" aria-hidden="true"></i> 82 </a> 83 </div> 84 <div class="col-xs-3 top-mobile-item"> 85 <a class="new-menu-toggle" id="info-mobile-toggle"> 86 <i class="fa fa-info" aria-hidden="true"></i> 87 </a> 88 </div> 89 <div class="col-xs-3 top-mobile-item"> 90 <a href="https://drakopanda.com/login/" class="new-menu-toggle" id="user-mobile-toggle"> 91 <i class="fa fa-id-badge" aria-hidden="true"></i> 92 </a> 93 </div> 94 <div class="col-xs-3 top-mobile-item"> 95 <a class="new-menu-toggle" id="search-mobile-toggle"> 96 <i class="fa fa-search" aria-hidden="true"></i> 97 </a> 98 </div> 99 </div>
100 </div> 101 <div class="container not-mobile-container"> 102 <div class="row"> 103 <div class="col-sm-12"> 104 <div id="top-left-links" class="pull-left"> 105 <ul class="list-inline top-left-info-links"> 106 <li class="apppli"><a href="http://drakopanda.com/about_us">ÐÑо мÑ?</a></li> 107 <li class="apppli"><a href="http://drakopanda.com/delivery">ÐоÑÑавка и оплаÑа</a></li> 108 <li class="apppli"><a href="http://drakopanda.com/kak-sdelati-zakaz">Ðак оÑоÑмиÑÑ Ð·Ð°ÐºÐ°Ð·</a></li> 109 </ul> 110 </div> 111 <div id="top-right-links" class="pull-right"> 112 <div class="language-currency"> 113 114 </div> 115 <ul class="list-inline"> 116 <li class="dropdown user-dropdown"> 117 <a href="https://drakopanda.com/my-account/" title="ÐиÑнÑй кабинеÑ" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" data-hover="dropdown"><i class="fa fa-user" aria-hidden="true"></i> <span class="hidden-xs hidden-sm hidden-md">ÐиÑнÑй кабинеÑ</span> <i class="fa fa-caret-down"></i></a> 118 <ul class="dropdown-menu user-dropdown-menu"> 119 <li><a href="https://drakopanda.com/simpleregister/">РегиÑÑÑаÑиÑ</a></li> 120 <li><a onclick="get_oct_popup_login();">ÐвÑоÑизаÑиÑ</a></li> 121 </ul> 122 </li> 123 </ul> 124 </div> 125 </div> 126 </div>
127 </div> 128 </div> 129 </nav> 130 <header> 131 <div class="container"> 132 <div class="row middle-header"> 133 <div class="col-md-3 col-sm-6 ts-logo-box"> 134 <div id="logo"> 135 <a href="http://drakopanda.com/"><img src="https://drakopanda.com/image/catalog/logo06042022.png" alt="ÐÑкиниÑÑиÑеÑкий магазин «ÐÑакопанда»" class="img-responsive" /></a> 136 </div> 137 </div> 138 <div class="col-sm-4 ts-search-box"><div id="search" class="input-group"> 139 <div class="input-group-btn dropdown"> 140 <button type="button" class="cats-button hidden-xs btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown" aria-expanded="false" data-hover="dropdown"> 141 <span class="category-name"></span><i class="fa fa-caret-down" aria-hidden="true"></i> 142 </button> 143 <ul class="dropdown-menu"> 144 <li><a href="#" onclick="return false;" id="0"></a></li> 145 </ul> 146 <input class="selected_oct_cat" type="hidden" name="category_id" value="0"> 147 </div> 148 <input type="text" name="search" value="" placeholder="ÐоиÑк ÑоваÑа по каÑалогÑ" class="input-lg" /> 149 <span class="input-group-btn"> 150 <button type="button" id="oct-search-button" class="btn btn-default btn-lg btn-search"><i class="fa fa-search"></i></button> 151 </span> 152</div> 153</div> 154 <div class="col-sm-2 phones-top-box"> 155 </div> 156 <div class="col-sm-3 buttons-top-box"> 157 <div id="cart"> 158 <a onclick="get_oct_popup_cart();"><span id="cart-total"><span class="cart-total-price">0.00 Ñ.</span> <i class="fa fa-shopping-cart"><span class="count-quantity">0</span></i></span></a> 159 </div> 160 </div> 161 <div class="col-sm-6 mobile-icons-box"> 162 <a href="https://drakopanda.com/wishlist/" id="m-wishlist"><i class="fa fa-heart" aria-hidden="true"></i></a> 163 <a href="http://drakopanda.com/compare-products/" id="m-compare"><i class="fa fa-sliders" aria-hidden="true"></i></a> 164 <a onclick="javascript:get_oct_popup_cart(); return false;" href="#" id="m-cart"><i class="fa fa-shopping-cart"></i></a> 165 </div>
166 </div> 167 </div>
168<script src="https://static.yandex.net/kassa/pay-in-parts/ui/v1/"></script>
168 169 </header> 170 <div class="menu-row"> 171 <div class="container"> 172 <div class="row"> 173 <div id="oct-menu-box" class="col-sm-12"> 174 <nav id="menu" class="navbar"> 175 <div class="navbar-header"><span id="category" class="visible-xs">СпиÑок каÑегоÑий</span> 176 <button type="button" class="btn btn-navbar navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"><i class="fa fa-bars"></i></button> 177 </div> 178 <div class="collapse navbar-collapse navbar-ex1-collapse"> 179 <ul class="nav navbar-nav flex menu"> 180 <li class="dropdown oct-mm-simplecat"> 181 <a href="/" class="dropdown-toggle" data-toggle="dropdown" >Ðниги</a><a class="parent-title-toggle dropdown-toggle dropdown-img megamenu-toggle-a" data-toggle="dropdown"></a> <div class="dropdown-menu"> 182 <div class="dropdown-inner"> 183 <ul class="list-unstyled"> 184 <li class="second-level-li"><a href="http://drakopanda.com/gumanitarnye-nauki/">ÐÑманиÑаÑнÑе наÑки</a></li> 185 <li class="second-level-li"><a href="http://drakopanda.com/literatura-detskaya/">ÐеÑÑÐºÐ°Ñ Ð»Ð¸ÑеÑаÑÑÑа</a></li> 186 <li class="second-level-li"><a href="http://drakopanda.com/art-kat/">ÐÑкÑÑÑÑво</a></li> 187 <li class="second-level-li"><a href="http://drakopanda.com/literatura-kat/">ÐиÑеÑаÑÑÑа</a></li> 188 <li class="second-level-li"><a href="http://drakopanda.com/mir-uvlechenij/">ÐиÑ ÑвлеÑений</a></li> 189 <li class="second-level-li"><a href="http://drakopanda.com/nauka-i-tehnika/">ÐаÑка и ÑÐµÑ Ð½Ð¸ÐºÐ°</a></li> 190 <li class="second-level-li"><a href="http://drakopanda.com/uchebnaya-literatura/">УÑебнаÑ лиÑеÑаÑÑÑа</a></li> 191 </ul> 192 </div> 193 </div> 194 </li> 195 196 <li class="dropdown oct-mm-simplecat"> 197 <a href="antikvar" class="dropdown-toggle" data-toggle="dropdown" >ÐнÑикваÑнÑе книги</a><a class="parent-title-toggle dropdown-toggle dropdown-img megamenu-toggle-a" data-toggle="dropdown"></a> <div class="dropdown-menu"> 198 <div class="dropdown-inner"> 199 <ul class="list-unstyled"> 200 <li class="second-level-li"><a href="http://drakopanda.com/antikvar/grafika-plakaty-gravyury-fotografii/">ÐÑаÑика: ÐлакаÑÑ, ÐÑавÑÑÑ, ФоÑогÑаÑии</a></li> 201 <li class="second-level-li"><a href="http://drakopanda.com/antikvar/iskusstvo-literaturovedenie-knigovedenie/">ÐÑкÑÑÑÑво, лиÑеÑаÑÑÑоведение, книговедение</a></li> 202 <li class="second-level-li"><a href="http://drakopanda.com/antikvar/istoriya-filosofiya-religiya/">ÐÑÑоÑиÑ, ФилоÑоÑиÑ, РелигиÑ</a></li> 203 <li class="second-level-li"><a href="http://drakopanda.com/antikvar/nauka-promyshlennost-tekhnika/">ÐаÑка, ÐÑомÑÑленноÑÑÑ, Ð¢ÐµÑ Ð½Ð¸ÐºÐ°</a></li> 204 <li class="second-level-li"><a href="http://drakopanda.com/antikvar/periodika-gazety-zhurnaly/">ÐеÑиодика, ÐазеÑÑ, ÐÑÑналÑ</a></li> 205 <li class="second-level-li"><a href="http://drakopanda.com/antikvar/khudozhestvennaya-literatura-i-poeziya/">Ð¥ÑдожеÑÑÐ²ÐµÐ½Ð½Ð°Ñ Ð»Ð¸ÑеÑаÑÑÑа и поÑзиÑ</a></li> 206 </ul> 207 </div> 208 </div> 209 </li> 210 211 <li class="dropdown oct-mm-simplecat"> 212 <a href="zhurnaly" class="dropdown-toggle" data-toggle="dropdown" >ÐÑÑналÑ</a><a class="parent-title-toggle dropdown-toggle dropdown-img megamenu-toggle-a" data-toggle="dropdown"></a> <div class="dropdown-menu"> 213 <div class="dropdown-inner"> 214 <ul class="list-unstyled"> 215 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/avtomobilnye/">ÐвÑомобилÑнÑе</a></li> 216 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/voennye/">ÐоеннÑе</a></li> 217 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/detskie/">ÐеÑÑкие</a></li> 218 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/zhenskie/">ÐенÑкие</a></li> 219 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/inostrannye/">ÐноÑÑÑаннÑе</a></li> 220 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/kulturnye/">ÐÑлÑÑÑÑнÑе</a></li> 221 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/literaturnye/">ÐиÑеÑаÑÑÑнÑе</a></li> 222 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/nauchnye/">ÐаÑÑнÑе</a></li> 223 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/publitsistika-i-zhurnalistika/">ÐÑблиÑиÑÑика и жÑÑналиÑÑика</a></li> 224 <li class="second-level-li"><a href="http://drakopanda.com/zhurnaly/sportivnye/">СпоÑÑивнÑе</a></li> 225 </ul> 226 </div> 227 </div> 228 </li> 229 230 <li class="dropdown oct-mm-simplecat"> 231 <a href="vinyl" class="dropdown-toggle" data-toggle="dropdown" >ÐиниловÑе плаÑÑинки</a><a class="parent-title-toggle dropdown-toggle dropdown-img megamenu-toggle-a" data-toggle="dropdown"></a> <div class="dropdown-menu"> 232 <div class="dropdown-inner"> 233 <ul class="list-unstyled"> 234 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/laserdisk/">LaserDisc</a></li> 235 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/avtorskaya-pesnya/">ÐвÑоÑÑÐºÐ°Ñ Ð¿ÐµÑнÑ</a></li> 236 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/gimny-dokumentalnye-obshchestvenno-politicheskie-zapisi/">
236ÐимнÑ, докÑменÑалÑнÑе, обÑеÑÑвенно-полиÑиÑеÑкие запиÑи</a></li> 237 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/dzhaz/">Ðжаз</a></li> 238 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/diski/">ÐиÑки</a></li> 239 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/dlya-detej/">ÐÐ»Ñ Ð´ÐµÑей</a></li> 240 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/klassicheskaya-muzyka/">ÐлаÑÑиÑеÑÐºÐ°Ñ Ð¼ÑзÑка</a></li> 241 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/literaturno-dramaticheskie-zapisi/">ÐиÑеÑаÑÑÑно-дÑамаÑиÑеÑкие запиÑи</a></li> 242 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/muzykalnyj-folklor-narody-zarubezhnyh-stran/">ÐÑзÑкалÑнÑй ÑолÑклоÑ: наÑÐ¾Ð´Ñ Ð·Ð°ÑÑбежнÑÑ ÑÑÑан</a></li> 243 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/muzykalnyj-folklor-russkij-i-narodov-rossii/">ÐÑзÑкалÑнÑй ÑолÑклоÑ: ÑÑÑÑкий и наÑодов РоÑÑии</a></li> 244 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/pop-muzyka-zarubezhnaya/">Ðоп-мÑзÑка заÑÑбежнаÑ</a></li> 245 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/pop-muzyka-rossijskaya/">Ðоп-мÑзÑка ÑоÑÑийÑкаÑ</a></li> 246 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/rok-muzyka-zarubezhnayaa/">Рок-мÑзÑка заÑÑбежнаÑ</a></li> 247 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/rok-muzyka-rossijskaya/">Рок-мÑзÑка ÑоÑÑийÑкаÑ</a></li> 248 <li class="second-level-li"><a href="http://drakopanda.com/vinyl/sovetskaya-ehstrada/">СовеÑÑÐºÐ°Ñ ÑÑÑÑада</a></li> 249 </ul> 250 </div> 251 </div> 252 </li> 253 254 <li class="dropdown oct-mm-simplecat"> 255 <a href="otkrytki" class="dropdown-toggle" data-toggle="dropdown" >ÐÑкÑÑÑки</a><a class="parent-title-toggle dropdown-toggle dropdown-img megamenu-toggle-a" data-toggle="dropdown"></a> <div class="dropdown-menu"> 256 <div class="dropdown-inner"> 257 <ul class="list-unstyled"> 258 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/artisty/">ÐÑÑиÑÑÑ</a></li> 259 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/vidy-gorodov/">ÐÐ¸Ð´Ñ Ð³Ð¾Ñодов</a></li> 260 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/iskusstvo_otkr/">ÐÑкÑÑÑÑво</a></li> 261 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/konverty/">ÐонвеÑÑÑ</a></li> 262 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/nabory-otkrytok/">ÐабоÑÑ Ð¾ÑкÑÑÑок</a></li> 263 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/neobychnye/">ÐеобÑÑнÑе</a></li> 264 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/pozdravitelnye/">ÐоздÑавиÑелÑнÑе</a></li> 265 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/otkrytki/rasteniya-i-zhivotnye/">РаÑÑÐµÐ½Ð¸Ñ Ð¸ живоÑнÑе</a></li> 266 </ul> 267 </div> 268 </div> 269 </li> 270 271 <li class="dropdown oct-mm-simplecat"> 272 <a href="pochtovye-marki" class="dropdown-toggle" data-toggle="dropdown" >ÐоÑÑовÑе маÑки</a><a class="parent-title-toggle dropdown-toggle dropdown-img megamenu-toggle-a" data-toggle="dropdown"></a> <div class="dropdown-menu"> 273 <div class="dropdown-inner"> 274 <ul class="list-unstyled"> 275 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/pochtovye-marki/stamp-asia/">ÐзиÑ</a></li> 276 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/pochtovye-marki/stamp-america/">ÐмеÑика</a></li> 277 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/pochtovye-marki/stamp-afrika/">ÐÑÑика</a></li> 278 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/pochtovye-marki/stamp-other/">ÐÑÑгое</a></li> 279 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/pochtovye-marki/stamp-europe/">ÐвÑопа</a></li> 280 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/pochtovye-marki/stamp-rossia/">РоÑÑиÑ/СССР</a></li> 281 </ul> 282 </div> 283 </div> 284 </li> 285 286 <li class="dropdown oct-mm-simplecat"> 287 <a href="banknoty-i-bony" class="dropdown-toggle" data-toggle="dropdown" >ÐанкноÑÑ Ð¸ бонÑ, монеÑÑ</a><a class="parent-title-toggle dropdown-toggle dropdown-img megamenu-toggle-a" data-toggle="dropdown"></a> <div class="dropdown-menu"> 288 <div class="dropdown-inner"> 289 <ul class="list-unstyled"> 290 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/banknoty-i-bony/banknote/">ÐанкноÑÑ</a></li> 291 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/banknoty-i-bony/monety/">ÐонеÑÑ</a></li> 292 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/banknoty-i-bony/other-money/">СÑÑÑогаÑнÑе денÑги</a></li> 293 <li class="second-level-li"><a href="http://drakopanda.com/kollekcionnoe/banknoty-i-bony/share/">ЦеннÑе бÑмаги</a></li> 294 </ul> 295 </div> 296 </div> 297 </li> 298 299 <li><a href="avtograf" >Ðниги Ñ Ð°Ð²ÑогÑаÑами</a></li> 300 301 </ul> 302 </div> 303 </nav> 304 </div> 305 </div> 306 </div> 307</div> 308 <div class="container"> 309 <div class="col-sm-12 content-row"> 310 <div class="breadcrumb-box"> 311 <ul class="breadcrumb"> 312 <li><a href="http://drakopanda.com/"><i class="fa fa-home"></i></a></li> 313 <li><a href="https://drakopanda.com/my-account/">ÐиÑнÑй rабинеÑ</a></li> 314 <li><a href="https://drakopanda.com/login/">ÐвÑоÑизаÑиÑ</a></li> 315 </ul> 316 </div>
317 <div id="content" class="account-content"> <div class="row"> 318 <div class="col-sm-6"> 319 <div class="well"> 320 <h2><i class="fa fa-user"></i>Я Ñже заÑегиÑÑÑиÑован</h2> 321 <p><strong>ÐвÑоÑизаÑиÑ</strong></p> 322 <form action="https://drakopanda.com/login/" method="post" enctype="multipart/form-data"> 323 <div class="form-group"> 324 <label class="control-label" for="input-email">E-Mail:</label> 325 <input type="text" name="email" value="" placeholder="E-Mail:" id="input-email" class="form-control" /> 326 </div> 327 <div class="form-group"> 328 <label class="control-label" for="input-password">ÐаÑолÑ:</label> 329 <input type="password" name="password" value="" placeholder="ÐаÑолÑ:" id="input-password" class="form-control" /> 330 <a href="https://drakopanda.com/forgot-password/">ÐабÑли паÑолÑ?</a> 331 </div> 332 <input type="submit" value="ÐойÑи" class="oct-button" /> 333 </form> 334 </div> 335 </div> 336 <div class="col-sm-6"> 337 <div class="well"> 338 <h2><i class="fa fa-user-plus"></i>ÐовÑй полÑзоваÑелÑ</h2> 339 <p><strong>РегиÑÑÑаÑиÑ</strong></p> 340 <p class="text">Создание ÑÑеÑной запиÑи Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ Ð´ÐµÐ»Ð°ÑÑ ÑледÑÑÑие покÑпки бÑÑÑÑее (не надо бÑÐ´ÐµÑ Ñнова вводиÑÑ Ð°Ð´ÑÐµÑ Ð¸ конÑакÑнÑÑ Ð¸Ð½ÑоÑмаÑиÑ), видеÑÑ ÑоÑÑоÑние заказа, а Ñакже видеÑÑ Ð·Ð°ÐºÐ°Ð·Ñ, ÑделаннÑе Ñанее. ÐÑ Ñакже ÑможеÑе накапливаÑÑ Ð¿Ñи покÑÐ¿ÐºÐ°Ñ Ð¿ÑизовÑе Ð±Ð°Ð»Ð»Ñ (на Ð½Ð¸Ñ Ñоже можно ÑÑо-Ñо кÑпиÑÑ), а поÑÑоÑннÑм покÑпаÑелÑм Ð¼Ñ Ð¿Ñедлагаем ÑиÑÑÐµÐ¼Ñ Ñкидок.</p> 341 <a href="https://drakopanda.com/simpleregister/" class="oct-button">ÐÑодолжиÑÑ</a></div> 342 </div> 343 </div> 344 </div> 345 </div> 346</div> 347 348 349 <footer> 350 <div class="container"> 351 <div class="row third-row"> 352 <div class="col-sm-3"> 353 <div class="h5">ÐнÑоÑмаÑÐ¸Ñ <a class="f-acc-toggle"></a></div> 354 <ul class="list-unstyled"> 355 <li><a href="http://drakopanda.com/about_us">ÐÑо мÑ?</a></li> 356 <li><a href="http://drakopanda.com/delivery">ÐоÑÑавка и оплаÑа</a></li> 357 <li><a href="http://drakopanda.com/kak-sdelati-zakaz">Ðак оÑоÑмиÑÑ Ð·Ð°ÐºÐ°Ð·</a></li> 358 <li><a href="http://drakopanda.com/sitemap/">ÐаÑÑа ÑайÑа</a></li> 359 <li><a href="http://drakopanda.com/specials/">ТоваÑÑ Ñо Ñкидкой</a></li> 360 </ul> 361 </div> 362 <div class="col-sm-3"> 363 <div class="h5">ÐаÑегоÑии <a class="f-acc-toggle"></a></div> 364 <ul class="list-unstyled"> 365 <li><a href="http://drakopanda.com/antikvar/">ÐнÑикваÑнÑе</a></li> 366 </ul> 367 </div> 368 <div class="col-sm-3"> 369 <div class="h5">ÐиÑнÑй ÐºÐ°Ð±Ð¸Ð½ÐµÑ <a class="f-acc-toggle"></a></div> 370 <ul class="list-unstyled"> 371 <li><a href="https://drakopanda.com/my-account/">ÐиÑнÑй кабинеÑ</a></li> 372 <li><a href="https://drakopanda.com/order-history/">ÐÑÑоÑÐ¸Ñ Ð·Ð°ÐºÐ°Ð·Ð¾Ð²</a></li> 373 <li><a href="https://drakopanda.com/wishlist/">Ðои закладки</a></li> 374 <li><a href="https://drakopanda.com/newsletter/">РаÑÑÑлка новоÑÑей</a></li> 375 </ul> 376 </div> 377 <div class="col-sm-3 footer-contacts"> 378 <div class="h5">ÐаÑи конÑакÑÑ <a class="f-acc-toggle"></a></div> 379 <ul class="footer-contacts-ul"> 380 <li><a href="mailto:[email protected]"><i class="fa fa-envelope" aria-hidden="true"></i>
380 [email protected]</a></li> 381 </ul> 382 </div> 383 </div> 384 </div> 385<!--microdatapro 7.0 company start [microdata] --> 386<span itemscope itemtype="http://schema.org/BookStore"> 387<meta itemprop="name" content="ÐÑкиниÑÑиÑеÑкий магазин «ÐÑакопанда»" /> 388<link itemprop="url" href="https://drakopanda.com/" /> 389<link itemprop="image" href="https://drakopanda.com/image/catalog/logo06042022.png" /> 390<meta itemprop="email" content="[email protected]" /> 391<meta itemprop="priceRange" content="RUB" /> 392<meta itemprop="hasMap" content="https://www.google.com/maps/@54.684423,20.526271,5z?hl=ru" /> 393<meta itemprop="telephone" content="+7-963-738-81-02" /> 394<meta itemprop="telephone" content="+7-4012-39-81-02" /> 395<link itemprop="sameAs" href="https://vk.com/drakopanda" /> 396<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> 397<meta itemprop="addressLocality" content="ÐалинингÑад, РоÑÑиÑ" /> 398<meta itemprop="postalCode" content="236004" /> 399<meta itemprop="streetAddress" content="Ñл. Ðои ÐоÑмодемÑÑнÑкой 14" /> 400</span> 401<span itemprop="location" itemscope itemtype="http://schema.org/Place"> 402<meta itemprop="name" content="ÐÑкиниÑÑиÑеÑкий магазин «ÐÑакопанда»" /> 403<meta itemprop="telephone" content="+7-963-738-81-02" /> 404<meta itemprop="telephone" content="+7-4012-39-81-02" /> 405<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> 406<meta itemprop="addressLocality" content="ÐалинингÑад, РоÑÑиÑ" /> 407<meta itemprop="postalCode" content="236004" /> 408<meta itemprop="streetAddress" content="Ñл. Ðои ÐоÑмодемÑÑнÑкой 14" /> 409</span> 410<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates"> 411<meta itemprop="latitude" content="54.684423" /> 412<meta itemprop="longitude" content="20.526271" /> 413<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> 414<meta itemprop="streetAddress" content="Ñл. Ðои ÐоÑмодемÑÑнÑкой 14" /> 415<meta itemprop="addressLocality" content="ÐалинингÑад, РоÑÑиÑ" /> 416<meta itemprop="postalCode" content="236004" /> 417</span> 418</span> 419</span> 420<span itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction"> 421<meta itemprop="target" content="https://drakopanda.com/index.php?route=product/search&search={search_term_string}"/> 422<input type="hidden" itemprop="query-input" name="search_term_string"> 423</span> 424</span> 425<!--microdatapro 7.0 company end [microdata] --> 426<!--microdatapro 7.0 company start [json-ld] -->
427<script type="application/ld+json"> 428{ 429"@context": "http://schema.org", 430"@type": "BookStore", 431"name": "ÐÑкиниÑÑиÑеÑкий магазин «ÐÑакопанда»", 432"url": "https://drakopanda.com/", 433"image": "https://drakopanda.com/image/catalog/logo06042022.png", 434"telephone" : "+7-963-738-81-02", 435"email": "[email protected]", 436"priceRange": "RUB", 437"address": { 438"@type": "PostalAddress", 439"addressLocality": "ÐалинингÑад, РоÑÑиÑ", 440"postalCode": "236004", 441"streetAddress": "Ñл. Ðои ÐоÑмодемÑÑнÑкой 14" 442}, 443"location": { 444"@type": "Place", 445"address": { 446"@type": "PostalAddress", 447"addressLocality": "ÐалинингÑад, РоÑÑиÑ", 448"postalCode": "236004", 449"streetAddress": "Ñл. Ðои ÐоÑмодемÑÑнÑкой 14" 450}, 451"geo": { 452"@type": "GeoCoordinates", 453"latitude": "54.684423", 454"longitude": "20.526271" 455} 456}, 457"potentialAction": { 458"@type": "SearchAction", 459"target": "https://drakopanda.com/index.php?route=product/search&search={search_term_string}", 460"query-input": "required name=search_term_string" 461}, 462"contactPoint" : [ 463{ 464"@type" : "ContactPoint", 465"telephone" : "+7-963-738-81-02", 466"contactType" : "customer service" 467},{ 468"@type" : "ContactPoint", 469"telephone" : "+7-4012-39-81-02", 470"contactType" : "customer service" 471}], 472"sameAs" : [ 473"https://vk.com/drakopanda"]} 474</script>
474 475<!--microdatapro 7.0 company end [json-ld] --> 476<!--microdatapro 7.0 company start [hCard] --> 477<span class="vcard"> 478<span class="fn"><span class="value-title" title="ÐÑкиниÑÑиÑеÑкий магазин «ÐÑакопанда»"></span></span> 479<span class="org"><span class="value-title" title="ÐÑкиниÑÑиÑеÑкий магазин «ÐÑакопанда»"></span></span> 480<span class="url"><span class="value-title" title="https://drakopanda.com/"></span></span> 481<span class="adr"> 482<span class="locality"><span class="value-title" title="ÐалинингÑад, РоÑÑиÑ"></span></span> 483<span class="street-address"><span class="value-title" title="Ñл. Ðои ÐоÑмодемÑÑнÑкой 14"></span></span> 484<span class="postal-code"><span class="value-title" title="236004"></span></span> 485</span> 486<span class="geo"> 487<span class="latitude"><span class="value-title" title="54.684423"></span></span> 488<span class="longitude"><span class="value-title" title="20.526271"></span></span> 489</span> 490<span class="tel"><span class="value-title" title="+7-963-738-81-02"></span></span> 491<span class="tel"><span class="value-title" title="+7-4012-39-81-02"></span></span> 492<span class="photo"><span class="value-title" title="https://drakopanda.com/image/catalog/logo06042022.png"></span></span> 493<span class="priceRange"><span class="value-title" title="RUB"></span></span> 494</span> 495<!--microdatapro 7.0 company end [hCard ] --> 496</footer> 497</div> 498<div id="oct-slide-panel"> 499 <div class="oct-slide-panel-heading"> 500 <div id="hide-slide-panel"><i class="fa fa-times" aria-hidden="true"></i></div> 501 <div class="container"> 502 <div id="oct-last-seen-link" class="col-sm-3 col-xs-3"> 503 <a href="javascript:void(0);" class="oct-panel-link"> 504 <i class="fa fa-eye" aria-hidden="true"></i> 505 <span class="hidden-xs hidden-sm">ÐÑ ÑмоÑÑели</span> 506 <span id="oct-last-seen-quantity" class="oct-slide-panel-quantity">0</span> 507 </a> 508 </div> 509 <div id="oct-favorite-link" class="col-sm-3 col-xs-3"> 510 <a href="javascript:void(0);" class="oct-panel-link"> 511 <i class="fa fa-heart-o" aria-hidden="true"></i> 512 <span class="hidden-xs hidden-sm">ÐзбÑаннÑе ÑоваÑÑ</span> 513 <span id="oct-favorite-quantity" class="oct-slide-panel-quantity">0</span> 514 </a> 515 </div> 516 <div id="oct-compare-link" class="col-sm-3 col-xs-3"> 517 <a href="javascript:void(0);" class="oct-panel-link"> 518 <i class="fa fa-sliders" aria-hidden="true"></i> 519 <span class="hidden-xs hidden-sm">СÑавнение ÑоваÑов</span> 520 <span id="oct-compare-quantity" class="oct-slide-panel-quantity">0</span> 521 </a> 522 </div> 523 <div id="oct-bottom-cart-link" class="col-sm-3 col-xs-3"> 524 <a href="javascript:void(0);" class="oct-panel-link"> 525 <i class="fa fa-shopping-basket" aria-hidden="true"></i> 526 <span class="hidden-xs hidden-sm">ÐоÑзина</span> 527 <span id="oct-bottom-cart-quantity" class="oct-slide-panel-quantity">0</span> 528 </a> 529 </div> 530 </div> 531 </div> 532 <div class="oct-slide-panel-content"> 533 <div class="container"> 534 <div class="row"> 535 <div class="col-sm-12"> 536 <div id="oct-last-seen-content" class="oct-slide-panel-item-content"></div> 537 <div id="oct-favorite-content" class="oct-slide-panel-item-content"></div> 538 <div id="oct-compare-content" class="oct-slide-panel-item-content"></div> 539 <div id="oct-bottom-cart-content" class="oct-slide-panel-item-content"></div> 540 </div> 541 </div> 542 </div> 543 </div> 544</div>
544<script> 545$(document).ajaxSuccess(function(event, xhr, settings) { 546 if (settings.url == "index.php?route=checkout/cart/add") { 547 if (xhr.responseText.indexOf("error") > 0) { 548 get_oct_popup_product_options(oct_get_product_id(settings.data)); 549 } 550 } 551}); 552</script>
552 553<p id="back-top"> 554 <a href="#top"><i class="fa fa-angle-up" aria-hidden="true"></i></a> 555</p> 556<div class="menu-bckgr"></div> 557 558<!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 64 bytes, lines 558-559
558 559<script async src="https://www.googletagmanager.com/gtag/js?id=
559UA-21896605-2
vendor: 12 bytes, line 559
559"></script>
560<script> 561
vendor: 134 bytes, lines 561-565
561window.dataLayer = window.dataLayer || []; 562 function gtag(){dataLayer.push(arguments);} 563 gtag('js', new Date()); 564 565 gtag('config', '
565UA-21896605-2
vendor: 7 bytes, lines 565-567
565'); 566 567
567if(typeof dataGoogleLayer != 'undefined') { 568 gtag('event', 'purchase', dataGoogleLayer); 569 } 570</script>
570 571 572<!-- Yandex.Metrika counter -->
573<script type="text/javascript"> 574window.dataMetrikLayer = window.dataMetrikLayer || []; 575(function (d, w, c) { 576 (w[c] = w[c] || []).push(function() { 577 try { 578 w.yaCounter50654266 = new Ya.Metrika({ 579 id:50654266, 580 clickmap:true, 581 trackLinks:true, 582 accurateTrackBounce:true, 583 webvisor:true, 584 trackHash:true, 585 ecommerce:"dataMetrikLayer" 586 }); 587 } catch(e) { } 588 }); 589 590 var n = d.getElementsByTagName("script")[0], 591 s = d.createElement("script"), 592 f = function () { n.parentNode.insertBefore(s, n); }; 593 s.type = "text/javascript"; 594 s.async = true; 595 s.src = "https://mc.yandex.ru/metrika/watch.js"; 596 597 if (w.opera == "[object Opera]") { 598 d.addEventListener("DOMContentLoaded", f, false); 599 } else { f(); } 600})(document, window, "yandex_metrika_callbacks"); 601</script>
601 602<noscript><div><img src="https://mc.yandex.ru/watch/50654266" style="position:absolute; left:-9999px;" alt="" /></div></noscript> 603<!-- /Yandex.Metrika counter --> 604
605<script> 606function octYandexEcommerce(value) { 607 if(typeof dataMetrikLayer != 'undefined') { 608 var products = [{ 609 "id": value['oct_analytics_yandex_product_id'], 610 "name": value['oct_analytics_yandex_name'], 611 "price": value['oct_analytics_yandex_price'], 612 "brand": value['oct_analytics_yandex_manufacturer'], 613 "category": value['oct_analytics_yandex_category'], 614 "quantity": value['oct_analytics_yandex_quantity'] 615 }]; 616 617 dataMetrikLayer.push({"ecommerce": {"add": {"products": products}}}); 618 } 619} 620</script>
620 621
622<script> 623$(".button-cart, #button-cart").on( "click", function() { 624 gtag('event', 'AddProduct', { 625 'event_category' : 'shop' 626 }); 627 628 yaCounter50654266.reachGoal('AddProduct'); 629 }); 630$("#uptocall-mini").on( "click", function() { 631 gtag('event', 'pressbutton', { 632 'event_category' : 'shop' 633 }); 634 635 yaCounter50654266.reachGoal('pressbutton'); 636 }); 637$(".button-one-click").on( "click", function() { 638 gtag('event', 'oneclickevent', { 639 'event_category' : 'shop' 640 }); 641 642 yaCounter50654266.reachGoal('oneclickevent'); 643 }); 644$("#simplecheckout_button_confirm, .simplecheckout-button-right, #simplecheckout-button-right").on( "click", function() { 645 gtag('event', 'checkoutadd', { 646 'event_category' : 'shop' 647 }); 648 649 yaCounter50654266.reachGoal('checkoutadd'); 650 }); 651</script>
vendor: 1 bytes, line 651
651
652<script> 653function get_oct_popup_found_cheaper(product_id) { 654 setTimeout(function () { 655 $.magnificPopup.open({ 656 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 657 items: { 658 src: 'index.php?route=extension/module/oct_popup_found_cheaper&product_id=' + product_id, 659 type: 'ajax' 660 }, 661 midClick: true, 662 removalDelay: 200 663 }); 664 }, 1); 665} 666 667function get_oct_popup_purchase(product_id) { 668 setTimeout(function () { 669 $.magnificPopup.open({ 670 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 671 items: { 672 src: 'index.php?route=extension/module/oct_popup_purchase&product_id=' + product_id, 673 type: 'ajax' 674 }, 675 midClick: true, 676 removalDelay: 200 677 }); 678 }, 1); 679} 680 681function get_oct_popup_subscribe() { 682 $.magnificPopup.open({ 683 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 684 items: { 685 src: 'index.php?route=extension/module/oct_popup_subscribe', 686 type: 'ajax' 687 }, 688 midClick: true, 689 removalDelay: 200 690 }); 691} 692 693function get_oct_popup_call_phone() { 694 $.magnificPopup.open({ 695 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 696 items: { 697 src: 'index.php?route=extension/module/oct_popup_call_phone', 698 type: 'ajax' 699 }, 700 midClick: true, 701 removalDelay: 200 702 }); 703} 704 705function get_oct_product_preorder(product_id) { 706 $.magnificPopup.open({ 707 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 708 items: { 709 src: 'index.php?route=extension/module/oct_product_preorder&product_id=' + product_id, 710 type: 'ajax' 711 }, 712 midClick: true, 713 removalDelay: 200 714 }); 715} 716 717function oct_get_product_id(data) { 718 var product_id = 0; 719 var arr = data.split("&"); 720 721 for (var i = 0; i < arr.length; i++) { 722 var product_id = arr[i].split("="); 723 if (product_id[0] === "product_id") { 724 return product_id[1]; 725 } 726 } 727} 728 729function get_oct_popup_product_options(product_id) { 730 $.magnificPopup.open({ 731 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 732 items: { 733 src: "index.php?route=extension/module/oct_popup_product_options&product_id=" + product_id, 734 type: "ajax" 735 }, 736 midClick: true, 737 removalDelay: 200 738 }); 739} 740 741function get_oct_popup_product_view(product_id) { 742 $.magnificPopup.open({ 743 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 744 items: { 745 src: "index.php?route=extension/module/oct_popup_view&product_id=" + product_id, 746 type: "ajax" 747 }, 748 midClick: true, 749 removalDelay: 200 750 }); 751} 752 753function get_oct_popup_login() { 754 $.magnificPopup.open({ 755 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 756 items: { 757 src: "index.php?route=extension/module/oct_popup_login", 758 type: "ajax" 759 }, 760 midClick: true, 761 removalDelay: 200 762 }); 763} 764 765function get_oct_popup_add_to_wishlist(product_id) { 766 $.ajax({ 767 url: "index.php?route=account/wishlist/add", 768 type: "post", 769 data: "product_id=" + product_id, 770 dataType: "json", 771 success: function (json) { 772 $.magnificPopup.open({ 773 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 774 items: { 775 src: "index.php?route=extension/module/oct_popup_add_to_wishlist&product_id=" + product_id, 776 type: "ajax" 777 }, 778 midClick: true, 779 removalDelay: 200 780 }); 781 782 $("#wishlist-total span").html(json['total']); 783 $("#wishlist-total").attr("title", json['total']); 784 785 $.ajax({ 786 url: 'index.php?route=extension/module/oct_page_bar/update_html', 787 type: 'get', 788 dataType: 'json', 789 success: function (json) { 790 $("#oct-favorite-quantity").html(json['total_wishlist']); 791 } 792 }); 793 794 }, 795 error: function (xhr, ajaxOptions, thrownError) { 796 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 797 } 798 }); 799} 800 801function remove_wishlist(product_id) { 802 $.ajax({ 803 url: "index.php?route=extension/module/oct_page_bar/remove_wishlist&remove=" + product_id, 804 type: "get", 805 dataType: "json", 806 success: function (json) { 807 $.ajax({ 808 url: 'index.php?route=extension/module/oct_page_bar/update_html', 809 type: 'get', 810 dataType: 'json', 811 success: function (json) { 812 $("#oct-favorite-quantity").html(json['total_wishlist']); 813 } 814 }); 815 816 $('#oct-favorite-content').load('index.php?route=extension/module/oct_page_bar/block_wishlist'); 817 }, 818 error: function (xhr, ajaxOptions, thrownError) { 819 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 820 } 821 }); 822} 823 824function get_oct_popup_add_to_compare(product_id) { 825 $.ajax({ 826 url: "index.php?route=product/compare/add", 827 type: "post", 828 data: "product_id=" + product_id, 829 dataType: "json", 830 success: function (json) { 831 $.magnificPopup.open({ 832 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 833 items: { 834 src: "index.php?route=extension/module/oct_popup_add_to_compare&product_id=" + product_id, 835 type: "ajax" 836 }, 837 midClick: true, 838 removalDelay: 200 839 }); 840 841 $("#compare-total").html(json['total']); 842 843 $.ajax({ 844 url: 'index.php?route=extension/module/oct_page_bar/update_html', 845 type: 'get', 846 dataType: 'json', 847 success: function (json) { 848 $("#oct-compare-quantity").html(json['total_compare']); 849 } 850 }); 851 }, 852 error: function (xhr, ajaxOptions, thrownError) { 853 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 854 } 855 }); 856} 857 858function remove_compare(product_id) { 859 $.ajax({ 860 url: "index.php?route=extension/module/oct_page_bar/remove_compare&remove=" + product_id, 861 type: "get", 862 dataType: "json", 863 success: function (json) { 864 $.ajax({ 865 url: 'index.php?route=extension/module/oct_page_bar/update_html', 866 type: 'get', 867 dataType: 'json', 868 success: function (json) { 869 $("#oct-compare-quantity").html(json['total_compare']); 870 } 871 }); 872 873 $('#oct-compare-content').load('index.php?route=extension/module/oct_page_bar/block_compare'); 874 }, 875 error: function (xhr, ajaxOptions, thrownError) { 876 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 877 } 878 }); 879} 880 881function get_oct_popup_cart() { 882 $.magnificPopup.open({
883 tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 884 items: { 885 src: "index.php?route=extension/module/oct_popup_cart", 886 type: "ajax" 887 }, 888 midClick: !0, 889 removalDelay: 200 890 }) 891} 892 893function get_oct_popup_add_to_cart(product_id, quantity) { 894 $.ajax({ 895 url: "index.php?route=checkout/cart/add", 896 type: "post", 897 data: "product_id=" + product_id + "&quantity=" + ("undefined" != typeof quantity ? quantity : 1), 898 dataType: "json", 899 success: function (json) { 900 if (json['redirect']) { 901 location = json['redirect']; 902 } 903 904 if (json['success']) { 905 // $.magnificPopup.open({ 906 // tLoading: '<img src="catalog/view/theme/oct_techstore/image/ring-alt.svg" />', 907 // items: { 908 // src: "index.php?route=extension/module/oct_popup_add_to_cart&product_id=" + product_id, 909 // type: "ajax" 910 // }, 911 // midClick: true, 912 // removalDelay: 200 913 // }); 914 915 get_oct_popup_cart(); 916 917 $("#cart-total").html(json['total']); 918 $('#cart > ul').load('index.php?route=common/cart/info ul li'); 919 920 if(typeof octYandexEcommerce == 'function') { 921 octYandexEcommerce(json); 922 } 923 924 $.ajax({ 925 url: 'index.php?route=extension/module/oct_page_bar/update_html', 926 type: 'get', 927 dataType: 'json', 928 success: function (json) { 929 $("#oct-bottom-cart-quantity").html(json['total_cart']); 930 } 931 }); 932 } 933 }, 934 error: function (xhr, ajaxOptions, thrownError) { 935 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 936 } 937 }); 938} 939 940function validate(input) { 941 input.value = input.value.replace(/[^\d,]/g, ''); 942} 943 944function doLiveSearch(a, b) { 945 return 38 != a.keyCode && 40 != a.keyCode && ($("#livesearch_search_results").remove(), updown = -1, !("" == b || b.length < 3 || (b = encodeURI(b), $.ajax({ 946 url: $("base").attr("href") + "index.php?route=product/search/ajax&keyword=" + b + "&filter_category_id=" + $('#search input[name=category_id]').val(), 947 dataType: "json", 948 success: function (a) { 949 if (a.length > 0) { 950 var c = document.createElement("ul"); 951 c.id = "livesearch_search_results"; 952 var d, e; 953 for (var f in a) { 954 if (d = document.createElement("li"), eListHr = document.createElement("hr"), eListDiv = document.createElement("div"), eListDiv.setAttribute("style", "height: 10px; clear: both;"), eListDivpr = document.createElement("span"), eListDivpr.innerHTML = (a[f].price) ? a[f].price : '', eListDivpr.setAttribute("style", "height: 14px; color: #147927;"), eListDivprspec = document.createElement("span"), eListDivprspec.innerHTML = a[f].special, eListDivprspec.setAttribute("style", "font-weight: bold; margin-left: 8px; color: #a70d0d; font-size: 16px;"), eListImg = document.createElement("img"), eListImg.src = a[f].image, eListImg.setAttribute("style", "margin-right: 10px;"), eListImg.align = "left", eListDivstatus = document.createElement("span"), eListDivstatus.innerHTML = a[f].stock, eListDivstatus.setAttribute("style", "height: 14px; color: #337ab7; margin-left: 15px; font-weight: bold;"), e = document.createElement("a"), e.setAttribute("style", "display: block;"), e.appendChild(document.createTextNode(a[f].name)), "undefined" != typeof a[f].href) { 955 "" != a[f].special && eListDivpr.setAttribute("style", "text-decoration: line-through;"); 956 var g = decodeURIComponent(a[f].href); 957 958 e.href = g.replace('&', "&"); 959 } else e.href = $("base").attr("href") + "index.php?route=product/product&product_id=" + a[f].product_id + "&keyword=" + b; 960 d.appendChild(e), c.appendChild(eListImg), c.appendChild(d), c.appendChild(eListDivpr), "" != a[f].special && c.appendChild(eListDivprspec), c.appendChild(eListDivstatus), c.appendChild(eListHr), c.appendChild(eListDiv) 961 } 962 $("#livesearch_search_results").length > 0 && $("#livesearch_search_results").remove(), $("#search").append(c), $("#livesearch_search_results").css("display", "none"), $("#livesearch_search_results").slideDown("slow"), $("#livesearch_search_results").animate({ 963 backgroundColor: "rgba(255, 255, 255, 0.98)" 964 }, 2e3) 965 } 966 } 967 }), 0))) 968} 969 970function doLiveSearchMobile(ev, keywords) { 971 if (ev.keyCode == 38 || ev.keyCode == 40) { 972 return false;
973 } 974 975 $('#livesearch_search_results').remove(); 976 updown = -1; 977 978 if (keywords == '' || keywords.length < 3) { 979 return false; 980 } 981 keywords = encodeURI(keywords); 982 983 $.ajax({ 984 url: $('base').attr('href') + 'index.php?route=product/search/ajax&keyword=' + keywords, 985 dataType: 'json', 986 success: function (result) { 987 if (result.length > 0) { 988 var eList = document.createElement('ul'); 989 eList.id = 'msearchresults'; 990 var eListElem; 991 var eLink; 992 for (var i in result) { 993 eListElem = document.createElement('li'); 994 995 eListDiv = document.createElement('div'); 996 eListDiv.setAttribute("style", "height: 10px; clear: both;"); 997 998 eListDivpr = document.createElement("span"); 999 eListDivpr.innerHTML = result[i].price; 1000 eListDivpr.setAttribute("style", "height: 14px; color: #147927;"); 1001 "" != result[i].special && eListDivpr.setAttribute("style", "text-decoration: line-through;"); 1002 1003 eListDivprspec = document.createElement("span"); 1004 eListDivprspec.innerHTML = result[i].special; 1005 eListDivprspec.setAttribute("style", "font-weight: bold; margin-left: 8px; color: #a70d0d; font-size: 16px;"); 1006 1007 eListDivstatus = document.createElement("span"); 1008 eListDivstatus.innerHTML = result[i].stock; 1009 eListDivstatus.setAttribute("style", "height: 14px; color: #337ab7; margin-left: 15px; font-weight: bold;"); 1010 1011 eListImg = document.createElement('img'); 1012 eListImg.src = result[i].image; 1013 eListImg.setAttribute("style", "margin-right: 10px;"); 1014 eListImg.align = 'left'; 1015 1016 eLink = document.createElement('a'); 1017 eLink.setAttribute("style", "display: block;"); 1018 eLink.appendChild(document.createTextNode(result[i].name)); 1019 if (typeof (result[i].href) != 'undefined') { 1020 var convertlink = decodeURIComponent(result[i].href); 1021 eLink.href = convertlink.replace('&', "&"); 1022 1023 } else { 1024 eLink.href = $('base').attr('href') + 'index.php?route=product/product&product_id=' + result[i].product_id + '&keyword=' + keywords; 1025 } 1026 eListElem.appendChild(eLink); 1027 eList.appendChild(eListImg); 1028 eList.appendChild(eListElem); 1029 eList.appendChild(eListDivpr); 1030 "" != result[i].special && eList.appendChild(eListDivprspec); 1031 eList.appendChild(eListDivstatus); 1032 eList.appendChild(eListDiv); 1033 } 1034 if ($('#msearchresults').length > 0) { 1035 $('#msearchresults').remove(); 1036 } 1037 $('#searchm').append(eList); 1038 } 1039 } 1040 }); 1041 1042 return true; 1043} 1044 1045function upDownEvent(a) { 1046 var b = document.getElementById("livesearch_search_results"); 1047 if ($("#search").find("[name=search]").first(), b) { 1048 var c = b.childNodes.length - 1; 1049 if (updown != -1 && "undefined" != typeof b.childNodes[updown] && $(b.childNodes[updown]).removeClass("highlighted"), 38 == a.keyCode ? updown = updown > 0 ? --updown : updown : 40 == a.keyCode && (updown = updown < c ? ++updown : updown), updown >= 0 && updown <= c) { 1050 $(b.childNodes[updown]).addClass("highlighted"); 1051 var d = b.childNodes[updown].childNodes[0].text; 1052 "undefined" == typeof d && (d = b.childNodes[updown].childNodes[0].innerText), $("#search").find("[name=search]").first().val(new String(d).replace(/(\s\(.*?\))$/, "")) 1053 } 1054 } 1055 return !1 1056} 1057 1058function hidePanel() { 1059 $('#hide-slide-panel').fadeOut(); 1060 $('#oct-slide-panel .oct-slide-panel-content').removeClass('oct-slide-panel-content-opened'); 1061 $('#oct-bluring-box').removeClass('oct-bluring'); 1062 $('.oct-slide-panel-item-content').removeClass('oct-panel-active'); 1063 $('.oct-panel-link-active').removeClass('oct-panel-link-active'); 1064 $('html').removeClass('noscroll'); 1065} 1066 1067 1068 function getURLVar(key) { 1069 var value = []; 1070 1071 var query = document.location.search.split('?'); 1072 1073 if (query[1]) { 1074 var part = query[1].split('&'); 1075 1076 for (i = 0; i < part.length; i++) { 1077 var data = part[i].split('='); 1078 1079 if (data[0] && data[1]) { 1080 value[data[0]] = data[1]; 1081 } 1082 } 1083 1084 if (value[key]) { 1085 return value[key]; 1086 } else { 1087 return ''; 1088 } 1089 } 1090} 1091 1092$(document).ready(function() { 1093 1094 var menuResp = viewport().width; 1095 1096 var sheight = $(window).height(); 1097 1098 if (menuResp <= 992) { 1099 $("#menu-mobile-box").prepend( $( "#menu" ) ); 1100 } else { 1101 $('ul.menu.flex').flexMenu(); 1102 $("ul.flexMenu-popup").mouseleave(function() { 1103 $(".flexMenu-popup").css("display", "none"); 1104 }); 1105 } 1106 1107 $('#menu-mobile-toggle').on('click', function() { 1108 $('#menu-mobile').slideToggle(50, "swing"); 1109 $('html').toggleClass('noscroll'); 1110 $('#oct-bluring-box').css("height",sheight); 1111 }); 1112 1113 $('.megamenu-toggle-a').on('click', function() { 1114 $(this).parent().toggleClass("open"); 1115 }); 1116 1117 $(".parent-title-toggle").on("click", function(t) { 1118 $(this).toggleClass("opened"), $(this).next().toggleClass("megamenu-ischild-opened"), t.preventDefault(), t.stopPropagation() 1119 }); 1120 1121 $("#menu .navbar-header").on("click", function(t) { 1122 $(this).next().toggleClass("in"), t.preventDefault(), t.stopPropagation() 1123 }); 1124 1125 $("#back-top").hide(), $(function () { 1126 $(window).scroll(function () { 1127 $(this).scrollTop() > 450 ? $("#back-top").fadeIn() : $("#back-top").fadeOut() 1128 }), $("#back-top a").click(function () { 1129 return $("body,html").animate({ 1130 scrollTop: 0 1131 }, 800), !1 1132 }) 1133 }); 1134 1135 $("#search").find("[name=search]").first().keyup(function (a) { 1136 doLiveSearch(a, this.value) 1137 }).blur(function () { 1138 window.setTimeout("$('#livesearch_search_results').remove();updown=0;", 1500) 1139 }), $(document).bind("keydown", function (a) { 1140 try { 1141 13 == a.keyCode && $(".highlighted").length > 0 && (document.location.href = $(".highlighted").find("a").first().attr("href")) 1142 } catch (a) {} 1143 }); 1144 1145 $('.navbar-nav > li > .dropdown-toggle').click(function () { 1146 if ($(this).attr('href') === undefined) { 1147 //return false;
1148 } else { 1149 window.location = $(this).attr('href'); 1150 } 1151 }); 1152 1153 $("#msrch").find("[name=search]").first().keyup(function (ev) { 1154 doLiveSearchMobile(ev, this.value); 1155 }).focus(function (ev) { 1156 doLiveSearchMobile(ev, this.value); 1157 }).keydown(function (ev) { 1158 upDownEvent(ev); 1159 }).blur(function () {}); 1160 $(document).bind('keydown', function (ev) { 1161 try { 1162 if (ev.keyCode == 13 && $('.highlighted').length > 0) { 1163 document.location.href = $('.highlighted').find('a').first().attr('href'); 1164 } 1165 } catch (e) {} 1166 }); 1167 1168 $('#oct-m-search-button').on('click', function () { 1169 srchurl = $('base').attr('href') + 'index.php?route=product/search'; 1170 var input_value = $('input[name=\'search\']').val(); 1171 if (input_value.length <= 0) { 1172 return false; 1173 } 1174 if (input_value) { 1175 srchurl += '&search=' + encodeURIComponent(input_value); 1176 } 1177 location = srchurl; 1178 }); 1179 1180 $("#oct-mobile-search-box input[name='search']").on("keydown", function (a) { 1181 if (13 == a.keyCode) { 1182 var b = $("input[name='search']").val(); 1183 if (b.length <= 0) return !1; 1184 $("#oct-m-search-button").trigger("click"); 1185 } 1186 }); 1187 1188 $("#oct-search-button").on("click", function () { 1189 srchurl = $("base").attr("href") + "index.php?route=product/search"; 1190 var a = $("#search input[name='search']").val(); 1191 if (a.length <= 0) return !1; 1192 a && (srchurl += "&search=" + encodeURIComponent(a)); 1193 var b = $("input[name='category_id']").prop("value"); 1194 b > 0 && (srchurl += "&sub_category=true&category_id=" + encodeURIComponent(b)), location = srchurl 1195 }); 1196 1197 $("#search input[name='search']").on("keydown", function (a) { 1198 if (13 == a.keyCode) { 1199 var b = $("input[name='search']").val(); 1200 if (b.length <= 0) return !1; 1201 $("#oct-search-button").trigger("click"); 1202 } 1203 }); 1204 1205 $("#search a").on('click', function () { 1206 $(".cats-button").html('<span class="category-name">' + $(this).html() + ' </span><i class="fa fa-caret-down" aria-hidden="true"></i>'); 1207 $(".selected_oct_cat").val($(this).attr("id")); 1208 }); 1209 1210 1211 $('#search .dropdown').on('click', function () { 1212 $(this).toggleClass('open-dropdown'); 1213 }); 1214 1215 $("#search .dropdown").mouseleave(function () { 1216 $(this).removeClass('open-dropdown'); 1217 }); 1218 1219 1220 $('.thumbnails a').on('click', function (e) { 1221 $(".thumbnails a").removeClass("selected-thumb"); 1222 $(this).addClass("selected-thumb"); 1223 }); 1224 1225 //cat-menu 1226 $('#sstore-3-level li.active').addClass('open').children('ul').show(); 1227 $('#sstore-3-level li.has-sub>a.toggle-a').on('click', function () { 1228 $(this).removeAttr('href'); 1229 var element = $(this).parent('li'); 1230 if (element.hasClass('open')) { 1231 element.removeClass('open'); 1232 element.find('li').removeClass('open'); 1233 element.find('ul').slideUp(200); 1234 } else { 1235 element.addClass('open'); 1236 element.children('ul').slideDown(200); 1237 element.siblings('li').children('ul').slideUp(200); 1238 element.siblings('li').removeClass('open'); 1239 element.siblings('li').find('li').removeClass('open'); 1240 element.siblings('li').find('ul').slideUp(200); 1241 } 1242 }); 1243 1244 var url = document.location.toString(); 1245 $("a").filter(function () { 1246 return url.indexOf(this.href) != -1; 1247 }).addClass("current-link"); 1248 1249 // bottom-slide-panel 1250 $('.oct-panel-link').on('click', function () { 1251 if ($(this).parent().hasClass('oct-panel-link-active')) { 1252 $(this).parent().removeClass('oct-panel-link-active'); 1253 hidePanel(); 1254 } else { 1255 $('#hide-slide-panel').fadeIn(); 1256 $('html').addClass('noscroll'); 1257 $("#oct-bluring-box").addClass('oct-bluring'); 1258 $("#oct-slide-panel .oct-slide-panel-content").addClass('oct-slide-panel-content-opened'); 1259 $('.oct-slide-panel-heading > .container > div').removeClass('oct-panel-link-active'); 1260 $(this).parent().addClass('oct-panel-link-active'); 1261 $('.oct-slide-panel-item-content').removeClass('oct-panel-active'); 1262 var linkId = $(this).parent()[0].id; 1263 if (linkId === 'oct-last-seen-link') { 1264 $('#oct-last-seen-content').toggleClass('oct-panel-active').load('index.php?route=extension/module/oct_page_bar/block_viewed'); 1265 } else if (linkId === 'oct-favorite-link') { 1266 $('#oct-favorite-content').toggleClass("oct-panel-active").load('index.php?route=extension/module/oct_page_bar/block_wishlist'); 1267 } else if (linkId === 'oct-compare-link') { 1268 $('#oct-compare-content').toggleClass("oct-panel-active").load('index.php?route=extension/module/oct_page_bar/block_compare'); 1269 } else if (linkId === 'oct-bottom-cart-link') { 1270 $('#oct-bottom-cart-content').toggleClass("oct-panel-active").load('index.php?route=extension/module/oct_page_bar/block_cart'); 1271 } 1272 } 1273 }); 1274 1275 $('#oct-bluring-box, #hide-slide-panel').click(function () { 1276 hidePanel(); 1277 }); 1278 1279 $('#info-mobile-toggle').on('click', function () { 1280 $('#info-mobile').slideToggle(50, "swing"); 1281 $('html').toggleClass('noscroll'); 1282 }); 1283 $('#search-mobile-toggle').on('click', function () { 1284 $('.oct-m-search').slideToggle(50, "swing"); 1285 $('html').toggleClass('noscroll'); 1286 }); 1287 1288 $('#oct-menu-box').css('overflow', 'visible'); 1289 1290 1291 1292 var sheight = $(window).height(); 1293 1294 $('.dropdown-menu button').click(function (e) { 1295 e.stopPropagation(); 1296 }); 1297 1298 1299 var sulheight = $(window).height() - 58; 1300 var m4 = viewport().width; 1301 var $fclone = $('.footer-contacts-ul').clone(); 1302 1303 $(".closempanel").click(function () { 1304 $(".m-panel-box").fadeOut("fast"); 1305 $('#oct-bluring-box').removeAttr("style"); 1306 $('html').removeClass('noscroll'); 1307 $('#menu .parent-title-toggle.opened').removeClass("opened"); 1308 $('#menu .megamenu-ischild.megamenu-ischild-opened').removeClass("megamenu-ischild-opened"); 1309 }); 1310 1311 if (m4 <= 992) { 1312 $('#m-wishlist').append($('#oct-favorite-quantity')); 1313 $('#m-compare').append($('#oct-compare-quantity')); 1314 $('#m-cart').append($('#oct-bottom-cart-quantity')); 1315 $('.product-thumb').bind('touchmove', true); 1316 $(".product-buttons-box a").removeAttr("data-toggle"); 1317 $('#info-mobile-box').html($fclone); 1318 $('#info-mobile ul').prepend($('.top-left-info-links li')); 1319 $('#oct-mobile-search-box, #menu-mobile-box, #info-mobile-box').css("height", sulheight); 1320 $('#info-mobile .footer-contacts-ul').prepend($('#language')); 1321 $('#info-mobile .footer-contacts-ul').prepend($('#currency')); 1322 } else { 1323 $('ul.menu.flex').flexMenu(); 1324 } 1325 1326 if (m4 < 768) { 1327 $('.content-row .left-info').prepend($('.product-header')); 1328 $('#content').prepend($('.oct-news-panel')); 1329 1330 $('footer .third-row .h5').on('click', function () { 1331 $(this).next().slideToggle(); 1332 $(this).toggleClass('open'); 1333 }); 1334 } 1335 1336 $(window).on('resize', function () { 1337 var win = $(this); 1338 if (win.width() <= 992) { 1339 $('#m-wishlist').append($('#oct-favorite-quantity')); 1340 $('#m-compare').append($('#oct-compare-quantity')); 1341 $('#m-cart').append($('#oct-bottom-cart-quantity')); 1342 $('#info-mobile-box').html($fclone); 1343 $('#info-mobile ul').append($('.top-left-info-links li.apppli')); 1344 $('#info-mobile .footer-contacts-ul').prepend($('#language')); 1345 $('#info-mobile .footer-contacts-ul').prepend($('#currency')); 1346 $("#menu-mobile-box").prepend($("#menu")); 1347 var sulheight = $(window).height() - 58; 1348 $('#oct-mobile-search-box, #menu-mobile-box, #info-mobile-box').css("height", sulheight); 1349 } else { 1350 $('#oct-favorite-link .oct-panel-link').append($('#oct-favorite-quantity')); 1351 $('#oct-compare-link .oct-panel-link').append($('#oct-compare-quantity')); 1352 $('#oct-bottom-cart-link .oct-panel-link').append($('#oct-bottom-cart-quantity')); 1353 $('#top-left-links ul').append($('#info-mobile ul li.apppli')); 1354 $('.language-currency').prepend($('#currency')); 1355 $('.language-currency').prepend($('#language')); 1356 $("#oct-menu-box").prepend($("#menu")); 1357 $('ul.menu.flex').flexMenu(); 1358 var sulheight = $(window).height() - 58; 1359 $('#oct-mobile-search-box, #menu-mobile-box, #info-mobile-box').css("height", sulheight); 1360 } 1361 1362 if (win.width() < 768) { 1363 $('.content-row .left-info').prepend($('.product-header')); 1364 } else { 1365 $('#product-info-right').prepend($('.product-header')); 1366 } 1367 }); 1368 1369
1370 // Highlight any found errors 1371 $('.text-danger').each(function() { 1372 var element = $(this).parent().parent(); 1373 1374 if (element.hasClass('form-group')) { 1375 element.addClass('has-error'); 1376 } 1377 }); 1378 1379 // Currency 1380 $('#form-currency .currency-select').on('click', function(e) { 1381 e.preventDefault(); 1382 1383 $('#form-currency input[name=\'code\']').val($(this).attr('name')); 1384 1385 $('#form-currency').submit(); 1386 }); 1387 1388 // Language 1389 $('#form-language .language-select').on('click', function(e) { 1390 e.preventDefault(); 1391 1392 $('#form-language input[name=\'code\']').val($(this).attr('name')); 1393 1394 $('#form-language').submit(); 1395 }); 1396 1397 /* Search */ 1398 $('#search input[name=\'search\']').parent().find('button').on('click', function() { 1399 var url = $('base').attr('href') + 'index.php?route=product/search'; 1400 1401 var value = $('header #search input[name=\'search\']').val(); 1402 1403 var srchcat = $("header input[name='category_id']").prop("value"); 1404 1405 if(srchcat > 0 ) { 1406 url += "&category_id=" + encodeURIComponent(srchcat) + "&sub_category=true"; 1407 } 1408 1409 if (value > 0) { 1410 url += '&search=' + encodeURIComponent(value); 1411 location = url; 1412 } 1413 1414 1415 }); 1416 1417 $('#search input[name=\'search\']').on('keydown', function(e) { 1418 if (e.keyCode == 13) { 1419 $('header #search input[name=\'search\']').parent().find('button').trigger('click'); 1420 } 1421 }); 1422 1423 1424 // Product List 1425 $('#list-view').click(function() { 1426 $('#content .product-grid > .clearfix').remove(); 1427 $('#content .product-table').hide(); 1428 $('#content .row .product-layout').show(); 1429 $('#content .row > .product-grid').attr('class', 'product-layout product-list col-xs-6'); 1430 1431 $('#price-view').removeClass('active'); 1432 $('#grid-view').removeClass('active'); 1433 $('#list-view').addClass('active'); 1434 1435 localStorage.setItem('display', 'list'); 1436 }); 1437 1438 // Product Price 1439 $('#price-view').click(function() { 1440 $('#content .product-table').show(); 1441 1442 $('#content .row .product-layout').hide(); 1443 1444 $('#list-view').removeClass('active'); 1445 $('#grid-view').removeClass('active'); 1446 $('#price-view').addClass('active'); 1447 1448 localStorage.setItem('display', 'price'); 1449 }); 1450 1451 // Product Grid 1452 $('#grid-view').click(function() { 1453 // What a shame bootstrap does not take into account dynamically loaded columns 1454 var cols = $('#column-right, #column-left').length; 1455 1456 $('#content .product-table').hide(); 1457 $('#content .row .product-layout').show(); 1458 1459 if (cols == 2) { 1460 $('#content .product-list').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-6'); 1461 } else if (cols == 1) { 1462 $('#content .product-list').attr('class', 'product-layout product-grid col-lg-4 col-md-4 col-sm-6 col-xs-6'); 1463 } else { 1464 $('#content .product-list').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-6'); 1465 } 1466 1467 $('#price-view').removeClass('active'); 1468 $('#list-view').removeClass('active'); 1469 $('#grid-view').addClass('active'); 1470 1471 localStorage.setItem('display', 'grid'); 1472 }); 1473 1474 if (localStorage.getItem('display') == 'list') { 1475 $('#list-view').trigger('click'); 1476 $('#list-view').addClass('active'); 1477 } else if (localStorage.getItem('display') == 'price') { 1478 $('#price-view').trigger('click'); 1479 $('#price-view').addClass('active'); 1480 } else { 1481 $('#grid-view').trigger('click'); 1482 $('#grid-view').addClass('active'); 1483 } 1484 /* 3359 */ 1485 1486 // Checkout 1487 $(document).on('keydown', '#collapse-checkout-option input[name=\'email\'], #collapse-checkout-option input[name=\'password\']', function(e) { 1488 if (e.keyCode == 13) { 1489 $('#collapse-checkout-option #button-login').trigger('click'); 1490 } 1491 }); 1492 1493 // tooltips on hover 1494 $('[data-toggle=\'tooltip\']').tooltipster({theme: 'tooltipster-shadow', 1495 trigger: 'custom', 1496 animation: 'fade', 1497 delay: 40, 1498 triggerOpen: { 1499 mouseenter: true, 1500 touchstart: true 1501 }, 1502 triggerClose: { 1503 click: true, 1504 scroll: true, 1505 tap: true, 1506 mouseleave: true 1507 } 1508 }); 1509 1510 // Makes tooltips work on ajax generated content 1511 $(document).ajaxStop(function() { 1512 $('[data-toggle=\'tooltip\']').tooltipster({theme: 'tooltipster-shadow', 1513 trigger: 'custom', 1514 animation: 'fade', 1515 delay: 40, 1516 triggerOpen: { 1517 mouseenter: true, 1518 touchstart: true 1519 }, 1520 triggerClose: { 1521 click: true, 1522 scroll: true, 1523 tap: true, 1524 mouseleave: true 1525 } 1526 }); 1527 }); 1528}); 1529 1530// Cart add remove functions 1531var cart = { 1532 'add': function(product_id, quantity) { 1533 $.ajax({ 1534 url: 'index.php?route=checkout/cart/add', 1535 type: 'post', 1536 data: 'product_id=' + product_id + '&quantity=' + (typeof(quantity) != 'undefined' ? quantity : 1), 1537 dataType: 'json', 1538 beforeSend: function() { 1539 $('#cart > button').button('loading'); 1540 },
1541 complete: function() { 1542 $('#cart > button').button('reset'); 1543 }, 1544 success: function(json) { 1545 $('.alert, .text-danger').remove(); 1546 1547 if (json['redirect']) { 1548 location = json['redirect']; 1549 } 1550 1551 if (json['success']) { 1552 $('#content').parent().before('<div class="alert alert-success"><i class="fa fa-check-circle"></i> ' + json['success'] + ' <button type="button" class="close" data-dismiss="alert">×</button></div>'); 1553 1554 // Need to set timeout otherwise it wont update the total 1555 setTimeout(function () { 1556 $('#cart > button').html('<span id="cart-total"><i class="fa fa-shopping-cart"></i> ' + json['total'] + '</span>'); 1557 }, 100); 1558 1559 $('html, body').animate({ scrollTop: 0 }, 'slow'); 1560 1561 $('#cart > ul').load('index.php?route=common/cart/info ul li'); 1562 } 1563 }, 1564 error: function(xhr, ajaxOptions, thrownError) { 1565 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1566 } 1567 }); 1568 }, 1569 'update': function(key, quantity) { 1570 $.ajax({ 1571 url: 'index.php?route=checkout/cart/edit', 1572 type: 'post', 1573 data: 'key=' + key + '&quantity=' + (typeof(quantity) != 'undefined' ? quantity : 1), 1574 dataType: 'json', 1575 beforeSend: function() { 1576 $('#cart > button').button('loading'); 1577 }, 1578 complete: function() { 1579 $('#cart > button').button('reset'); 1580 }, 1581 success: function(json) { 1582 // Need to set timeout otherwise it wont update the total 1583 setTimeout(function () { 1584 $('#cart > button').html('<span id="cart-total"><i class="fa fa-shopping-cart"></i> ' + json['total'] + '</span>'); 1585 }, 100); 1586 1587 if (getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') { 1588 location = 'index.php?route=checkout/cart'; 1589 } else { 1590 $('#cart > ul').load('index.php?route=common/cart/info ul li'); 1591 } 1592 }, 1593 error: function(xhr, ajaxOptions, thrownError) { 1594 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1595 } 1596 }); 1597 }, 1598 'remove': function(key) { 1599 $.ajax({ 1600 url: 'index.php?route=checkout/cart/remove', 1601 type: 'post', 1602 data: 'key=' + key, 1603 dataType: 'json', 1604 beforeSend: function() { 1605 $('#cart > button').button('loading'); 1606 }, 1607 complete: function() { 1608 $('#cart > button').button('reset'); 1609 }, 1610 success: function(json) { 1611 // Need to set timeout otherwise it wont update the total 1612 setTimeout(function () { 1613 $('#cart-total').html(json['total']); 1614 }, 100); 1615 1616 var now_location = String(document.location.pathname); 1617 1618 if ((now_location == '/cart/') || (now_location == '/checkout/') || (getURLVar('route') == 'checkout/cart') || (getURLVar('route') == 'checkout/checkout')) { 1619 location = 'index.php?route=checkout/cart'; 1620 } else { 1621 $('#cart > ul').load('index.php?route=common/cart/info ul li'); 1622 } 1623 }, 1624 error: function(xhr, ajaxOptions, thrownError) { 1625 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1626 } 1627 }); 1628 } 1629} 1630 1631var voucher = { 1632 'add': function() { 1633 1634 }, 1635 'remove': function(key) { 1636 $.ajax({ 1637 url: 'index.php?route=checkout/cart/remove', 1638 type: 'post', 1639 data: 'key=' + key, 1640 dataType: 'json', 1641 beforeSend: function() { 1642 $('#cart > button').button('loading'); 1643 }, 1644 complete: function() { 1645 $('#cart > button').button('reset'); 1646 }, 1647 success: function(json) { 1648 // Need to set timeout otherwise it wont update the total 1649 setTimeout(function () { 1650 $('#cart > button').html('<span id="cart-total"><i class="fa fa-shopping-cart"></i> ' + json['total'] + '</span>'); 1651 }, 100); 1652 1653 if (getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') { 1654 location = 'index.php?route=checkout/cart'; 1655 } else { 1656 $('#cart > ul').load('index.php?route=common/cart/info ul li'); 1657 } 1658 }, 1659 error: function(xhr, ajaxOptions, thrownError) { 1660 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1661 } 1662 }); 1663 } 1664} 1665 1666var wishlist = { 1667 'add': function(product_id) { 1668 $.ajax({ 1669 url: 'index.php?route=account/wishlist/add', 1670 type: 'post', 1671 data: 'product_id=' + product_id, 1672 dataType: 'json', 1673 success: function(json) { 1674 $('.alert').remove(); 1675 1676 if (json['redirect']) { 1677 location = json['redirect']; 1678 } 1679 1680 if (json['success']) { 1681 $('#content').parent().before('<div class="alert alert-success"><i class="fa fa-check-circle"></i> ' + json['success'] + ' <button type="button" class="close" data-dismiss="alert">×</button></div>'); 1682 } 1683 1684 $('#wishlist-total span').html(json['total']); 1685 $('#wishlist-total').attr('title', json['total']); 1686 1687 $('html, body').animate({ scrollTop: 0 }, 'slow'); 1688 }, 1689 error: function(xhr, ajaxOptions, thrownError) { 1690 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1691 } 1692 }); 1693 }, 1694 'remove': function() { 1695 1696 } 1697} 1698 1699var compare = { 1700 'add': function(product_id) { 1701 $.ajax({ 1702 url: 'index.php?route=product/compare/add', 1703 type: 'post', 1704 data: 'product_id=' + product_id, 1705 dataType: 'json', 1706 success: function(json) { 1707 $('.alert').remove(); 1708 1709 if (json['success']) { 1710 $('#content').parent().before('<div class="alert alert-success"><i class="fa fa-check-circle"></i> ' + json['success'] + ' <button type="button" class="close" data-dismiss="alert">×</button></div>'); 1711 1712 $('#compare-total').html(json['total']); 1713 1714 $('html, body').animate({ scrollTop: 0 }, 'slow'); 1715 } 1716 }, 1717 error: function(xhr, ajaxOptions, thrownError) { 1718 alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1719 } 1720 }); 1721 }, 1722 'remove': function() { 1723 1724 } 1725} 1726 1727/* Agree to Terms */ 1728$(document).delegate('.agree', 'click', function(e) { 1729 e.preventDefault(); 1730
1731 $('#modal-agree').remove(); 1732 1733 var element = this; 1734 1735 $.ajax({ 1736 url: $(element).attr('href'), 1737 type: 'get', 1738 dataType: 'html', 1739 success: function(data) { 1740 html = '<div id="modal-agree" class="modal">'; 1741 html += ' <div class="modal-dialog">'; 1742 html += ' <div class="modal-content">'; 1743 html += ' <div class="modal-header">'; 1744 html += ' <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>'; 1745 html += ' <h4 class="modal-title">' + $(element).text() + '</h4>'; 1746 html += ' </div>'; 1747 html += ' <div class="modal-body">' + data + '</div>'; 1748 html += ' </div'; 1749 html += ' </div>'; 1750 html += '</div>'; 1751 1752 $('body').append(html); 1753 1754 $('#modal-agree').modal('show'); 1755 } 1756 }); 1757}); 1758 1759// Autocomplete */ 1760(function($) { 1761 $.fn.autocomplete = function(option) { 1762 return this.each(function() { 1763 this.timer = null; 1764 this.items = new Array(); 1765 1766 $.extend(this, option); 1767 1768 $(this).attr('autocomplete', 'off'); 1769 1770 // Focus 1771 $(this).on('focus', function() { 1772 this.request(); 1773 }); 1774 1775 // Blur 1776 $(this).on('blur', function() { 1777 setTimeout(function(object) { 1778 object.hide(); 1779 }, 200, this); 1780 }); 1781 1782 // Keydown 1783 $(this).on('keydown', function(event) { 1784 switch(event.keyCode) { 1785 case 27: // escape 1786 this.hide(); 1787 break; 1788 default: 1789 this.request(); 1790 break; 1791 } 1792 }); 1793 1794 // Click 1795 this.click = function(event) { 1796 event.preventDefault(); 1797 1798 value = $(event.target).parent().attr('data-value'); 1799 1800 if (value && this.items[value]) { 1801 this.select(this.items[value]); 1802 } 1803 } 1804 1805 // Show 1806 this.show = function() { 1807 var pos = $(this).position(); 1808 1809 $(this).siblings('ul.dropdown-menu').css({ 1810 top: pos.top + $(this).outerHeight(), 1811 left: pos.left 1812 }); 1813 1814 $(this).siblings('ul.dropdown-menu').show(); 1815 } 1816 1817 // Hide 1818 this.hide = function() { 1819 $(this).siblings('ul.dropdown-menu').hide(); 1820 } 1821 1822 // Request 1823 this.request = function() { 1824 clearTimeout(this.timer); 1825 1826 this.timer = setTimeout(function(object) { 1827 object.source($(object).val(), $.proxy(object.response, object)); 1828 }, 200, this); 1829 } 1830 1831 // Response 1832 this.response = function(json) { 1833 html = ''; 1834 1835 if (json.length) { 1836 for (i = 0; i < json.length; i++) { 1837 this.items[json[i]['value']] = json[i]; 1838 } 1839 1840 for (i = 0; i < json.length; i++) { 1841 if (!json[i]['category']) { 1842 html += '<li data-value="' + json[i]['value'] + '"><a href="#">' + json[i]['label'] + '</a></li>'; 1843 } 1844 } 1845 1846 // Get all the ones with a categories 1847 var category = new Array(); 1848 1849 for (i = 0; i < json.length; i++) { 1850 if (json[i]['category']) { 1851 if (!category[json[i]['category']]) { 1852 category[json[i]['category']] = new Array(); 1853 category[json[i]['category']]['name'] = json[i]['category']; 1854 category[json[i]['category']]['item'] = new Array(); 1855 } 1856 1857 category[json[i]['category']]['item'].push(json[i]); 1858 } 1859 } 1860 1861 for (i in category) { 1862 html += '<li class="dropdown-header">' + category[i]['name'] + '</li>'; 1863 1864 for (j = 0; j < category[i]['item'].length; j++) { 1865 html += '<li data-value="' + category[i]['item'][j]['value'] + '"><a href="#"> ' + category[i]['item'][j]['label'] + '</a></li>'; 1866 } 1867 } 1868 } 1869 1870 if (html) { 1871 this.show(); 1872 } else { 1873 this.hide(); 1874 } 1875 1876 $(this).siblings('ul.dropdown-menu').html(html); 1877 } 1878 1879 $(this).after('<ul class="dropdown-menu"></ul>'); 1880 $(this).siblings('ul.dropdown-menu').delegate('a', 'click', $.proxy(this.click, this)); 1881 1882 }); 1883 } 1884})(window.jQuery); 1885 1886var FlipClock,Base=function(){};Base.extend=function(t,i){"use strict";var e=Base.prototype.extend;Base._prototyping=!0;var s=new this;e.call(s,t),s.base=function(){},delete Base._prototyping;var n=s.constructor,o=s.constructor=function(){if(!Base._prototyping)if(this._constructing||this.constructor==o)this._constructing=!0,n.apply(this,arguments),delete this._constructing;else if(null!==arguments[0])return(arguments[0].extend||e).call(arguments[0],s)};return o.ancestor=this,o.extend=this.extend,o.forEach=this.forEach,o.implement=this.implement,o.prototype=s,o.toString=this.toString,o.valueOf=function(t){return"object"==t?o:n.valueOf()},e.call(o,i),"function"==typeof o.init&&o.init(),o},Base.prototype={extend:function(t,i){if(arguments.length>1){var e=this[t];if(e&&"function"==typeof i&&(!e.valueOf||e.valueOf()!=i.valueOf())&&/\bbase\b/.test(i)){var s=i.valueOf();(i=function(){var t=this.base||Base.prototype.base;this.base=e;var i=s.apply(this,arguments);return this.base=t,i}).valueOf=function(t){return"object"==t?i:s},i.toString=Base.toString}this[t]=i}else if(t){var n=Base.prototype.extend;Base._prototyping||"function"==typeof this||(n=this.extend||n);for(var o={toSource:null},a=["constructor","toString","valueOf"],c=Base._prototyping?0:1;r=a[c++];)t[r]!=o[r]&&n.call(this,r,t[r]);for(var r in t)o[r]||n.call(this,r,t[r])}return this}},Base=Base.extend({constructor:function(){this.extend(arguments[0])}}
1886,{ancestor:Object,version:"1.1",forEach:function(t,i,e){for(var s in t)void 0===this.prototype[s]&&i.call(e,t[s],s,t)},implement:function(){for(var t=0;t<arguments.length;t++)"function"==typeof arguments[t]?arguments[t](this.prototype):this.prototype.extend(arguments[t]);return this},toString:function(){return String(this.valueOf())}}),function(t){"use strict";(FlipClock=function(t,i,e){return i instanceof Object&&i instanceof Date==0&&(e=i,i=0),new FlipClock.Factory(t,i,e)}).Lang={},FlipClock.Base=Base.extend({buildDate:"2014-12-12",version:"0.7.7",constructor:function(i,e){"object"!=typeof i&&(i={}),"object"!=typeof e&&(e={}),this.setOptions(t.extend(!0,{},i,e))},callback:function(t){if("function"==typeof t){for(var i=[],e=1;e<=arguments.length;e++)arguments[e]&&i.push(arguments[e]);t.apply(this,i)}},log:function(t){window.console&&console.log&&console.log(t)},getOption:function(t){return!!this[t]&&this[t]},getOptions:function(){return this},setOption:function(t,i){this[t]=i},setOptions:function(t){for(var i in t)void 0!==t[i]&&this.setOption(i,t[i])}})}(jQuery),function(t){"use strict";FlipClock.Face=FlipClock.Base.extend({autoStart:!0,dividers:[],factory:!1,lists:[],constructor:function(t,i){this.dividers=[],this.lists=[],this.base(i),this.factory=t},build:function(){this.autoStart&&this.start()},createDivider:function(i,e,s){"boolean"!=typeof e&&e||(s=e,e=i);var n=['<span class="'+this.factory.classes.dot+' top"></span>','<span class="'+this.factory.classes.dot+' bottom"></span>'].join("");s&&(n=""),i=this.factory.localize(i);var o=['<span class="'+this.factory.classes.divider+" "+(e||"").toLowerCase()+'">','<span class="'+this.factory.classes.label+'">'+(i||"")+"</span>",n,"</span>"],a=t(o.join(""));return this.dividers.push(a),a},createList:function(t,i){"object"==typeof t&&(i=t,t=0);var e=new FlipClock.List(this.factory,t,i);return this.lists.push(e),e},reset:function(){this.factory.time=new FlipClock.Time(this.factory,this.factory.original?Math.round(this.factory.original):0,{minimumDigits:this.factory.minimumDigits}),this.flip(this.factory.original,!1)},appendDigitToClock:function(t){t.$el.append(!1)},addDigit:function(t){var i=this.createList(t,{classes:{active:this.factory.classes.active,before:this.factory.classes.before,flip:this.factory.classes.flip}});this.appendDigitToClock(i)},start:function(){},stop:function(){},autoIncrement:function(){this.factory.countdown?this.decrement():this.increment()},increment:function(){this.factory.time.addSecond()},decrement:function(){0==this.factory.time.getTimeSeconds()?this.factory.stop():this.factory.time.subSecond()},flip:function(i,e){var s=this;t.each(i,function(t,i){var n=s.lists[t];n?(e||i==n.digit||n.play(),n.select(i)):s.addDigit(i)})}})}(jQuery),function(t){"use strict";FlipClock.Factory=FlipClock.Base.extend({animationRate:1e3,autoStart:!0,callbacks:{destroy:!1,create:!1,init:!1,interval:!1,start:!1,stop:!1,reset:!1},classes:{active:"flip-clock-active",before:"flip-clock-before",divider:"flip-clock-div
1886ider",dot:"flip-clock-dot",label:"flip-clock-label",flip:"flip",play:"play",wrapper:"flip-clock-wrapper"},clockFace:"HourlyCounter",countdown:!1,defaultClockFace:"HourlyCounter",defaultLanguage:"english",$el:!1,face:!0,lang:!1,language:"english",minimumDigits:0,original:!1,running:!1,time:!1,timer:!1,$wrapper:!1,constructor:function(i,e,s){s||(s={}),this.lists=[],this.running=!1,this.base(s),this.$el=t(i).addClass(this.classes.wrapper),this.$wrapper=this.$el,this.original=e instanceof Date?e:e?Math.round(e):0,this.time=new FlipClock.Time(this,this.original,{minimumDigits:this.minimumDigits,animationRate:this.animationRate}),this.timer=new FlipClock.Timer(this,s),this.loadLanguage(this.language),this.loadClockFace(this.clockFace,s),this.autoStart&&this.start()},loadClockFace:function(t,i){var e,s=!1;return t=t.ucfirst()+"Face",this.face.stop&&(this.stop(),s=!0),this.$el.html(""),this.time.minimumDigits=this.minimumDigits,(e=FlipClock[t]?new FlipClock[t](this,i):new FlipClock[this.defaultClockFace+"Face"](this,i)).build(),this.face=e,s&&this.start(),this.face},loadLanguage:function(t){var i;return i=FlipClock.Lang[t.ucfirst()]?FlipClock.Lang[t.ucfirst()]:FlipClock.Lang[t]?FlipClock.Lang[t]:FlipClock.Lang[this.defaultLanguage],this.lang=i},localize:function(t,i){var e=this.lang;if(!t)return null;var s=t.toLowerCase();return"object"==typeof i&&(e=i),e&&e[s]?e[s]:t},start:function(t){var i=this;i.running||i.countdown&&!(i.countdown&&i.time.time>0)?i.log("Trying to start timer when countdown already at 0"):(i.face.start(i.time),i.timer.start(function(){i.flip(),"function"==typeof t&&t()}))},stop:function(t){for(var i in this.face.stop(),this.timer.stop(t),this.lists)this.lists.hasOwnProperty(i)&&this.lists[i].stop()},reset:function(t){this.timer.reset(t),this.face.reset()},setTime:function(t){this.time.time=t,this.flip(!0)},getTime:function(t){return this.time},setCountdown:function(t){var i=this.running;this.countdown=!!t,i&&(this.stop(),this.start())},flip:function(t){this.face.flip(!1,t)}})}(jQuery),function(t){"use strict";FlipClock.List=FlipClock.Base.extend({digit:0,classes:{active:"flip-clock-active",before:"flip-clock-before",flip:"flip"},factory:!1,$el:!1,$obj:!1,items:[],lastDigit:0,constructor:function(t,i,e){this.factory=t,this.digit=i,this.lastDigit=i,this.$el=this.createList(
1886),this.$obj=this.$el,i>0&&this.select(i),this.factory.$el.append(this.$el)},select:function(t){if(void 0===t?t=this.digit:this.digit=t,this.digit!=this.lastDigit){var i=this.$el.find("."+this.classes.before).removeClass(this.classes.before);this.$el.find("."+this.classes.active).removeClass(this.classes.active).addClass(this.classes.before),this.appendListItem(this.classes.active,this.digit),i.remove(),this.lastDigit=this.digit}},play:function(){this.$el.addClass(this.factory.classes.play)},stop:function(){var t=this;setTimeout(function(){t.$el.removeClass(t.factory.classes.play)},this.factory.timer.interval)},createListItem:function(t,i){return['<li class="'+(t||"")+'">','<a href="javascript:void(0);">','<div class="up">','<div class="shadow"></div>','<div class="inn">'+(i||"")+"</div>","</div>",'<div class="down">','<div class="shadow"></div>','<div class="inn">'+(i||"")+"</div>","</div>","</a>","</li>"].join("")},appendListItem:function(t,i){var e=this.createListItem(t,i);this.$el.append(e)},createList:function(){var i=this.getPrevDigit()?this.getPrevDigit():this.digit;return t(['<ul class="'+this.classes.flip+" "+(this.factory.running?this.factory.classes.play:"")+'">',this.createListItem(this.classes.before,i),this.createListItem(this.classes.active,this.digit),"</ul>"].join(""))},getNextDigit:function(){return 9==this.digit?0:this.digit+1},getPrevDigit:function(){return 0==this.digit?9:this.digit-1}})}(jQuery),function(t){"use strict";String.prototype.ucfirst=function(){return this.substr(0,1).toUpperCase()+this.substr(1)},t.fn.FlipClock=function(i,e){return new FlipClock(t(this),i,e)},t.fn.flipClock=function(i,e){return t.fn.FlipClock(i,e)}}(jQuery),function(t){"use strict";FlipClock.Time=FlipClock.Base.extend({time:0,factory:!1,minimumDigits:0,constructor:function(t,i,e){"object"!=typeof e&&(e={}),e.minimumDigits||(e.minimumDigits=t.minimumDigits),this.base(e),this.factory=t,i&&(this.time=i)},convertDigitsToArray:function(t){var i=[];t=t.toString();for(var e=0;e<t.length;e++)t[e].match(/^\d*$/g)&&i.push(t[e]);return i},digit:function(t){var i=this.toString(),e=i.length;return!!i[e-t]&&i[e-t]},digitize:function(i){var e=[];if(t.each(i,function(t,i){1==(i=i.toString()).length&&(i="0"+i);for(var s=0;s<i.length;s++)e.push(i.charAt(s))}),e.length>this.minimumDigits&&(this.minimumDigits=e.length),this.minimumDigits>e.length)for(var s=e.length;s<this.minimumDigits;s++)e.unshift("0");return e},getDateObject:function(){return this.time instanceof Date?this.time:new Date((new Date).getTime()+1e3*this.getTimeSeconds())},getDayCounter:function(t){var i=[this.getDays(),this.getHours(!0),this.getMinutes(!0)];return t&&i.push(this.getSeconds(!0)),this.digitize(i)},getDays:function(t){var i=this.getTimeSeconds()/60/60/24;return t&&(i%=7),Math.floor(i)},getHourCounter:function(){return this.digitize([this.getHours(),this.getMinutes(!0),this.get
1886Seconds(!0)])},getHourly:function(){return this.getHourCounter()},getHours:function(t){var i=this.getTimeSeconds()/60/60;return t&&(i%=24),Math.floor(i)},getMilitaryTime:function(t,i){void 0===i&&(i=!0),t||(t=this.getDateObject());var e=[t.getHours(),t.getMinutes()];return!0===i&&e.push(t.getSeconds()),this.digitize(e)},getMinutes:function(t){var i=this.getTimeSeconds()/60;return t&&(i%=60),Math.floor(i)},getMinuteCounter:function(){return this.digitize([this.getMinutes(),this.getSeconds(!0)])},getTimeSeconds:function(t){return t||(t=new Date),this.time instanceof Date?this.factory.countdown?Math.max(this.time.getTime()/1e3-t.getTime()/1e3,0):t.getTime()/1e3-this.time.getTime()/1e3:this.time},getTime:function(t,i){void 0===i&&(i=!0),t||(t=this.getDateObject()),console.log(t);var e=t.getHours(),s=[e>12?e-12:0===e?12:e,t.getMinutes()];return!0===i&&s.push(t.getSeconds()),this.digitize(s)},getSeconds:function(t){var i=this.getTimeSeconds();return t&&(60==i?i=0:i%=60),Math.ceil(i)},getWeeks:function(t){var i=this.getTimeSeconds()/60/60/24/7;return t&&(i%=52),Math.floor(i)},removeLeadingZeros:function(i,e){var s=0,n=[];return t.each(e,function(t,o){t<i?s+=parseInt(e[t],10):n.push(e[t])}),0===s?n:e},addSeconds:function(t){this.time instanceof Date?this.time.setSeconds(this.time.getSeconds()+t):this.time+=t},addSecond:function(){this.addSeconds(1)},subSeconds:function(t){this.time instanceof Date?this.time.setSeconds(this.time.getSeconds()-t):this.time-=t},subSecond:function(){this.subSeconds(1)},toString:function(){return this.getTimeSeconds().toString()}})}(jQuery),function(t){"use strict";FlipClock.Timer=FlipClock.Base.extend({callbacks:{destroy:!1,create:!1,init:!1,interval:!1,start:!1,stop:!1,reset:!1},count:0,factory:!1,interval:1e3,animationRate:1e3,constructor:function(t,i){this.base(i),this.factory=t,this.callback(this.callbacks.init),this.callback(this.callbacks.create)},getElapsed:function(){return this.count*this.interval},getElapsedTime:function(){return new Date(this.time+this.getElapsed())},reset:function(t){clearInterval(this.timer),this.count=0,this._setInterval(t),this.callback(this.callbacks.reset)},start:function(t){this.factory.running=!0,this._createTimer(t),this.callback(this.callbacks.start)},stop:function(t){this.factory.running=!1,this._clearInterval(t),this.callback(this.callbacks.stop),this.callback(t)},_clearInterval:function(){clearInterval(this.timer)},_createTimer:function(t){this._setInterval(t)},_destroyTimer:function(t){this._clearInterval(),this.timer=!1,this.callback(t),this.callback(this.callbacks.destroy)},_interval:function(t){this.callback(this.callbacks.interval),this.callback(t),this.count++},_setInterval:function(t){var i=this;i._interval(t),i.timer=setInterval(function(){i._interval(t)},this.interval)}})}(jQuery),function(t){FlipClock.TwentyFourHourClockFace=FlipClock.Face.extend({constructor:function(t,i){this.base(t,i)},build:function(i){var e=this,s=this.factory.$el.find("ul");this.factory.time.time||(this.factory.original=new Date,this.factory.time=new FlipClock.Time(this.factory,this.factory.original)),(i=i||this.factory.time.getMilitaryTime(!1,this.showSeconds)).length>s.length&&t.each(i,function(t,i){e.createList(i)}),this.createDivider(),this.createDivider(),t(this.dividers[0]).insertBefore(this.lists[this.lists.length-2].$el),t(this.dividers[1]).insertBefore(this.lists[this.lists.length-4].$el),this.base()},flip:function(t,i){this.autoIncrement(),t=t||this.factory.time.getMilitaryTime(!1,this.showSeconds),this.base(t,i)}})}(jQuery),function(t){FlipClock.CounterFace=FlipClock.Face.extend({shouldAutoIncrement:!1,constructor:function(t,i){"object"!=typeof i&&(i={}),t.autoStart=!!i.autoStart,i.autoStart&&(this.shouldAutoIncrement=!0),t.increment=function(){t.countdown=!1,t.setTime(t.getTime().getTimeSeconds()+1)},t.decrement=function(){t.countdown=!0;var i=t.getTime().getTimeSeconds();i>0&&t.setTime(i-1)},t.setValue=function(i){t.setTime(i)},t.setCounter=function(i){t.setTime(i)},this.base(t,i)},build:function(){var i=this,e=this.factory.$el.find("ul"),s=this.factory.getTime().digitize([this.factory.getTime().time]);s.length>e.length&&t.each(s,function(t,e){i.createList(e).select(e)}),t.each(this.lists,function(t,i){i.play()}),this.base()},flip:function(t,i){this.shouldAutoIncrement&&this.autoIncrement(),t||(t=this.factory.getTime().digitize([this.factory.getTime().time])),this.base(t,i)},reset:function(){this.factory.time=new FlipClock.Time(this.factory,this.factory.original?Math.round(this.factory.original):0),this.flip()}})}(jQuery),function(t){FlipClock.DailyCounterFace=FlipClock.Face.extend({showSeconds:!0,constructor:function(t,i){this.base(t,i)},build:function(i){var e=this,s=this.factory.$el.find("ul"),n=0;(i=i||this.factory.time.getDayCounter(this.showSeconds)).length>s.length&&t.each(i,function(t,i){e.createList(i)}),this.showSeconds?t(this.createDivider("Seconds")).insertBefore(this.lists[this.lists.length-2].$el):n=2,t(this.createDivider("Minutes")).insertBefore(this.lists[this.lists.length-4+n].$el),t(this.createDivider("Hours")).insertBefore(this.lists[this.lists.length-6+n].$el),t(this.createDivider("Days",!0)).insertBefore(this.lists[0].$el),this.base()},flip:function(t,i){t||(t=this.factory.time.getDayCounter(this.showSeconds)),this.autoIncrement(),this.base(t,i)}})}(jQuery),function(t){FlipClock.HourlyCounterFace=FlipClock.Face.extend({constructor:function(t,i){this.base(t,i)},build:function(i,e){var s=this,n=this.factory.$el.find("ul");(e=e||this.factory.time.getHourCounter()).length>n.length&&t.each(e,function(t,i){s.createList(i)}),t(this.createDivider("Seconds")).insertBefore(this.lists[this.lists.length-2].$el),t(this.createDivider("Minutes")).insertBefore(this.lists[this.lists.length-4].$el),i||t(this.createDivider("Hours",!0)).insertBefore(this.lists[0].$el),this.base()},flip:function(t,i){t||(t=this.factory.time.getHourCounter()),this.autoIncrement(),this.base(t,i)},appendDigitToClock:function(t){this.base(t),this.dividers[0].insertAfter(this.dividers[0].next())}})}
1886(jQuery),jQuery,FlipClock.MinuteCounterFace=FlipClock.HourlyCounterFace.extend({clearExcessDigits:!1,constructor:function(t,i){this.base(t,i)},build:function(){this.base(!0,this.factory.time.getMinuteCounter())},flip:function(t,i){t||(t=this.factory.time.getMinuteCounter()),this.base(t,i)}}),function(t){FlipClock.TwelveHourClockFace=FlipClock.TwentyFourHourClockFace.extend({meridium:!1,meridiumText:"AM",build:function(){var i=this.factory.time.getTime(!1,this.showSeconds);this.base(i),this.meridiumText=this.getMeridium(),this.meridium=t(['<ul class="flip-clock-meridium">',"<li>",'<a href="javascript:void(0);">'+this.meridiumText+"</a>","</li>","</ul>"].join("")),this.meridium.insertAfter(this.lists[this.lists.length-1].$el)},flip:function(t,i){this.meridiumText!=this.getMeridium()&&(this.meridiumText=this.getMeridium(),this.meridium.find("a").html(this.meridiumText)),this.base(this.factory.time.getTime(!1,this.showSeconds),i)},getMeridium:function(){return(new Date).getHours()>=12?"PM":"AM"},isPM:function(){return"PM"==this.getMeridium()},isAM:function(){return"AM"==this.getMeridium()}})}(jQuery),jQuery,FlipClock.Lang.Arabic={years:"سÙÙØ§Øª",months:"Ø´ÙÙØ±",days:"Ø£ÙØ§Ù
",hours:"ساعات",minutes:"Ø¯ÙØ§Ø¦Ù",seconds:"Ø«ÙØ§ÙÙ"},FlipClock.Lang.ar=FlipClock.Lang.Arabic,FlipClock.Lang["ar-ar"]=FlipClock.Lang.Arabic,FlipClock.Lang.arabic=FlipClock.Lang.Arabic,jQuery,FlipClock.Lang.Danish={years:"Ã
r",months:"MÃ¥neder",days:"Dage",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"},FlipClock.Lang.da=FlipClock.Lang.Danish,FlipClock.Lang["da-dk"]=FlipClock.Lang.Danish,FlipClock.Lang.danish=FlipClock.Lang.Danish,jQuery,FlipClock.Lang.German={years:"Jahre",months:"Monate",days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},FlipClock.Lang.de=FlipClock.Lang.German,FlipClock.Lang["de-de"]=FlipClock.Lang.German,FlipClock.Lang.german=FlipClock.Lang.German,jQuery,FlipClock.Lang.English={years:"Years",months:"Months",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"},FlipClock.Lang.en=FlipClock.Lang.English,FlipClock.Lang["en-us"]=FlipClock.Lang.English,FlipClock.Lang.english=FlipClock.Lang.English,jQuery,FlipClock.Lang.Spanish={years:"Años",months:"Meses",days:"DÃas",hours:"Horas",minutes:"Minutos",seconds:"Segundos"},FlipClock.Lang.es=FlipClock.Lang.Spanish,FlipClock.Lang["es-es"]=FlipClock.Lang.Spanish,FlipClock.Lang.spanish=FlipClock.Lang.Spanish,jQuery,FlipClock.Lang.Finnish={years:"Vuotta",months:"Kuukautta",days:"Päivää",hours:"Tuntia",minutes:"Minuuttia",seconds:"Sekuntia"},FlipClock.Lang.fi=FlipClock.Lang.Finnish,FlipClock.Lang["fi-fi"]=FlipClock.Lang.Finnish,FlipClock.Lang.finnish=FlipClock.Lang.Finnish,jQuery,FlipClock.Lang.French={years:"Ans",months:"Mois",days:"Jours",hours:"Heures",minutes:"Minutes",seconds:"Secondes"},FlipClock.Lang.fr=FlipClock.Lang.French,FlipClock.Lang["fr-ca"]=FlipClock.Lang.French,FlipClock.Lang.french=FlipClock.Lang.French,jQuery,FlipClock.Lang.Italian={years:"Anni",months:"Mesi",days:"Giorni",hours:"Ore",minutes:"Minuti",seconds:"Secondi"},FlipClock.Lang.it=FlipClock.Lang.Italian,FlipClock.Lang["it-it"]=FlipClock.Lang.Italian,FlipClock.Lang.italian=FlipClock.Lang.Italian,jQuery,FlipClock.Lang.Latvian={years:"Gadi",months:"MÄneÅ¡i",days:"Dienas",hours:"Stundas",minutes:"MinÅ«tes",seconds:"Sekundes"},FlipClock.Lang.lv=FlipClock.Lang.Latvian,FlipClock.Lang["lv-lv"]=FlipClock.Lang.Latvian,FlipClock.Lang.latvian=FlipClock.Lang.Latvian,jQuery,FlipClock.Lang.Dutch={years:"Jaren",months:"Maanden",days:"Dagen",hours:"Uren",minutes:"Minuten",seconds:"Seconden"},FlipClock.Lang.nl=FlipClock.Lang.Dutch,FlipClock.Lang["nl-be"]=FlipClock.Lang.Dutch,FlipClock.Lang.dutch=FlipClock.Lang.Dutch,jQuery,FlipClock.Lang.Norwegian={years:"Ã
r",months:"MÃ¥neder",days:"Dager",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"},FlipClock.Lang.no=FlipClock.Lang.Norwegian,FlipClock.Lang.nb=FlipClock.Lang.Norwegian,FlipClock.Lang["no-nb"]=FlipClock.Lang.Norwegian,FlipClock.Lang.norwegian=FlipClock.Lang.Norwegian,jQuery,FlipClock.Lang.Portuguese={years:"Anos",months:"Meses",days:"Dias",hours:"Horas",minutes:"Minutos",seconds:"Segundos"},FlipClock.Lang.pt=FlipClock.Lang.Portuguese,FlipClock.Lang["pt-br"]=FlipClock.Lang.Portuguese,FlipClock.Lang.portuguese=FlipClock.Lang.Portuguese,jQuery,FlipClock.Lang.Russian={years:"леÑ",months:"меÑÑÑев",days:"дней",hours:"ÑаÑов",minutes:"минÑÑ",seconds:"ÑекÑнд"},FlipClock.Lang.ru=FlipClock.Lang.Russian,FlipClock.Lang["ru-ru"]=FlipClock.Lang.Russian,FlipClock.Lang.russian=FlipClock.Lang.Russian,jQuery,FlipClock.Lang.Ukraine={years:"ÑокÑв",months:"мÑÑÑÑÑв",days:"днÑв",hours:"годин",minutes:"Ñ
вилин",seconds:"ÑекÑнд"},FlipClock.Lang.ua=FlipClock.Lang.Ukraine,FlipClock.Lang["uk-ua"]=FlipClock.Lang.Ukraine,FlipClock.Lang.ukraine=FlipClock.Lang.Ukraine,jQuery,FlipClock.Lang.Swedish={years:"Ã
r",months:"MÃ¥nader",days:"Dagar",hours:"Timmar",minutes:"Minuter",seconds:"Sekunder"},FlipClock.Lang.sv=FlipClock.Lang.Swedish,FlipClock.Lang["sv-se"]=FlipClock.Lang.Swedish,FlipClock.Lang.swedis
1886h=FlipClock.Lang.Swedish,jQuery,FlipClock.Lang.Chinese={years:"å¹´",months:"æ",days:"æ¥",hours:"æ¶",minutes:"å",seconds:"ç§"},FlipClock.Lang.zh=FlipClock.Lang.Chinese,FlipClock.Lang["zh-cn"]=FlipClock.Lang.Chinese,FlipClock.Lang.chinese=FlipClock.Lang.Chinese; 1887 1888 1889!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(M){var e,i=M(window).width(),n=M(window).height(),l=[];M(window).resize(function(){clearTimeout(e),e=setTimeout(function(){M(window).width()===i&&M(window).height()===n||(M(l).each(function(){M(this).flexMenu({undo:!0}).flexMenu(this.options)}),i=M(window).width(),n=M(window).height())},200)}),M.fn.flexMenu=function(e){var i,w=M.extend({threshold:2,cutoff:2,linkText:"...",linkTitle:"",linkTextAll:"",linkTitleAll:"",showOnHover:!0,popupAbsolute:!0,popupClass:"",undo:!1},e);return this.options=w,0<=(i=M.inArray(this,l))?l.splice(i,1):l.push(this),this.each(function(){var e,i,n,l,t,o,f=M(this),u=f.find("> li"),d=u.first(),s=u.last(),a=f.find("li").length,r=Math.floor(d.offset().top),p=Math.floor(d.outerHeight(!0)),h=!1;function c(e){return Math.ceil(e.offset().top)>=r+p}if(c(s)&&a>w.threshold&&!w.undo&&f.is(":visible")){var v=M('<ul class="flexMenu-popup" style="display:none;'+(w.popupAbsolute?" position: absolute;":"")+'"></ul>');for(v.addClass(w.popupClass),o=a;1<o;o--){if(i=c(e=f.find("> li:last-child")),o-1<=w.cutoff){M(f.children().get().reverse()).appendTo(v),h=!0;break}if(!i)break;e.appendTo(v)}h?f.append('<li class="flexMenu-viewMore flexMenu-allInPopup"><a href="#" title="'+w.linkTitleAll+'">'+w.linkTextAll+"</a></li>"):f.append('<li class="flexMenu-viewMore"><a href="#" title="'+w.linkTitle+'">'+w.linkText+"</a></li>"),c(n=f.find("> li.flexMenu-viewMore"))&&f.find("> li:nth-last-child(2)").appendTo(v),v.children().each(function(e,i){v.prepend(i)}),n.append(v),f.find("> li.flexMenu-viewMore > a").click(function(e){var i;i=n,M("li.flexMenu-viewMore.active").not(i).removeClass("active").find("> ul").hide(),v.toggle(),n.toggleClass("active"),e.preventDefault()}),w.showOnHover&&"undefined"!=typeof Modernizr&&!Modernizr.touch&&n.hover(function(){v.show(),M(this).addClass("active")},function(){v.hide(),M(this).removeClass("active")})}else if(w.undo&&f.find("ul.flexMenu-popup")){for(l=(t=f.find("ul.flexMenu-popup")).find("li").length,o=1;o<=l;o++)t.find("> li:first-child").appendTo(f);t.remove(),f.find("> li.flexMenu-viewMore").remove()}})}}); 1890 1891 1892"function"!=typeof Object.create&&(Object.create=function(t){function o(){}return o.prototype=t,new o}),function(s,o,t,i){"use strict";var n={_positionClasses:["bottom-left","bottom-right","top-right","top-left","bottom-center","top-center","mid-center"],_defaultIcons:["success","error","info","warning"],init:function(t,o){this.prepareOptions(t,s.toast.options),this.process()},prepareOptions:function(t,o){var i={};"string"==typeof t||t instanceof Array?i.text=t:i=t,this.options=s.extend({},o,i)},process:function(){this.setup(),this.addToDom(),this.position(),this.bindToast(),this.animate()},setup:function(){var t="";if(this._toastEl=this._toastEl||s("<div></div>",{class:"jq-toast-single"}),t+='<span class="jq-toast-loader"></span>',this.options.allowToastClose&&(t+='<span class="close-jq-toast-single">×</span>'),this.options.text instanceof Array){this.options.heading&&(t+='<h2 class="jq-toast-heading">'+this.options.heading+"</h2>"),t+='<ul class="jq-toast-ul">';for(var o=0;o<this.options.text.length;o++)t+='<li class="jq-toast-li" id="jq-toast-item-'+o+'">'+this.options.text[o]+"</li>";t+="</ul>"}else this.options.heading&&(t+='<h2 class="jq-toast-heading">'+this.options.heading+"</h2>"),t+=this.options.text;this._toastEl.html(t),!1!==this.options.bgColor&&this._toastEl.css("background-color",this.options.bgColor),!1!==this.options.textColor&&this._toastEl.css("color",this.options.textColor),this.options.textAlign&&this._toastEl.css("text-align",this.options.textAlign),!1!==this.options.icon&&(this._toastEl.addClass("jq-has-icon"),-1!==s.inArray(this.options.icon,this._defaultIcons)&&this._toastEl.addClass("jq-icon-"+this.options.icon)),!1!==this.options.class&&this._toastEl.addClass(this.options.class)},position:function(){"string"==typeof this.options.position&&-1!==s.inArray(this.options.position,this._positionClasses)?"bottom-center"===this.options.position?this._container.css({left:s(o).outerWidth()/2-this._container.outerWidth()/2,bottom:20}):"top-center"===this.options.position?this._container.css({left:s(o).outerWidth()/2-this._container.outerWidth()/2,to
1892p:20}):"mid-center"===this.options.position?this._container.css({left:s(o).outerWidth()/2-this._container.outerWidth()/2,top:s(o).outerHeight()/2-this._container.outerHeight()/2}):this._container.addClass(this.options.position):"object"==typeof this.options.position?this._container.css({top:this.options.position.top?this.options.position.top:"auto",bottom:this.options.position.bottom?this.options.position.bottom:"auto",left:this.options.position.left?this.options.position.left:"auto",right:this.options.position.right?this.options.position.right:"auto"}):this._container.addClass("bottom-left")},bindToast:function(){var o=this;this._toastEl.on("afterShown",function(){o.processLoader()}),this._toastEl.find(".close-jq-toast-single").on("click",function(t){t.preventDefault(),"fade"===o.options.showHideTransition?(o._toastEl.trigger("beforeHide"),o._toastEl.fadeOut(function(){o._toastEl.trigger("afterHidden")})):"slide"===o.options.showHideTransition?(o._toastEl.trigger("beforeHide"),o._toastEl.slideUp(function(){o._toastEl.trigger("afterHidden")})):(o._toastEl.trigger("beforeHide"),o._toastEl.hide(function(){o._toastEl.trigger("afterHidden")}))}),"function"==typeof this.options.beforeShow&&this._toastEl.on("beforeShow",function(){o.options.beforeShow(o._toastEl)}),"function"==typeof this.options.afterShown&&this._toastEl.on("afterShown",function(){o.options.afterShown(o._toastEl)}),"function"==typeof this.options.beforeHide&&this._toastEl.on("beforeHide",function(){o.options.beforeHide(o._toastEl)}),"function"==typeof this.options.afterHidden&&this._toastEl.on("afterHidden",function(){o.options.afterHidden(o._toastEl)}),"function"==typeof this.options.onClick&&this._toastEl.on("click",function(){o.options.onClick(o._toastEl)})},addToDom:function(){var t=s(".jq-toast-wrap");if(0===t.length?(t=s("<div></div>",{class:"jq-toast-wrap",role:"alert","aria-live":"polite"}),s("body").append(t)):this.options.stack&&!isNaN(parseInt(this.options.stack,10))||t.empty(),t.find(".jq-toast-single:hidden").remove(),t.append(this._toastEl),this.options.stack&&!isNaN(parseInt(this.options.stack),10)){var o=t.find(".jq-toast-single").length-this.options.stack;0<o&&s(".jq-toast-wrap").find(".jq-toast-single").slice(0,o).remove()}this._container=t},canAutoHide:function(){return!1!==this.options.hideAfter&&!isNaN(parseInt(this.options.hideAfter,10))},processLoader:function(){if(!this.canAutoHide()||!1===this.options.loader)return!1;var t=this._toastEl.find(".jq-toast-loader"),o=(this.options.hideAfter-400)/1e3+"s",i=this.options.loaderBg,s=t.attr("style")||"";s=s.substring(0,s.indexOf("-webkit-transition")),s+="-webkit-transition: width "+o+" ease-in; -o-transition: width "+o+" ease-in; transition: width "+o+" ease-in; background-color: "+i+";",t.attr("style",s).addClass("jq-toast-loaded")},animate:function(){var t=this;if(this._toastEl.hide(),this._toastEl.trigger("beforeShow"),"fade"===this.options.showHideTransition.toLowerCase()?this._toastEl.fadeIn(function(){t._toastEl.trigger("afterShown")}):"slide"===this.options.showHideTransition.toLowerCase()?this._toastEl.slideDown(function(){t._toastEl.trigger("afterShown")}):this._toastEl.show(function(){t._toastEl.trigger("afterShown")}),this.canAutoHide()){t=this;o.setTimeout(function(){"fade"===t.options.showHideTransition.toLowerCase()?(t._toastEl.trigger("beforeHide"),t._toastEl.fadeOut(function(){t._toastEl.trigger("afterHidden")})):"slide"===t.options.showHideTransition.toLowerCase()?(t._toastEl.trigger("beforeHide"),t._toastEl.slideUp(function(){t._toastEl.trigger("afterHidden")})):(t._toastEl.trigger("beforeHide"),t._toastEl.hide(function(){t._toastEl.trigger("afterHidden")}))},this.options.hideAfter)}},reset:function(t){"all"===t?s(".jq-toast-wrap").remove():this._toastEl.remove()},update:function(t){this.prepareOptions(t,this.options),this.setup(),this.bindToast()},close:function(){this._toastEl.find(".close-jq-toast-single").click()}};s.toast=function(t){var o=Object.create(n);return o.init(t,this),{reset:function(t){o.reset(t)},update:function(t){o.update(t)},close:function(){o.close()}}}
1892,s.toast.options={text:"",heading:"ÐÑибка!",showHideTransition:"fade",allowToastClose:!0,hideAfter:5e3,loader:!1,loaderBg:"#445369",stack:20,position:"top-right",bgColor:!1,textColor:!1,textAlign:"left",icon:"error",beforeShow:function(){},afterShown:function(){},beforeHide:function(){},afterHidden:function(){},onClick:function(){}}}(jQuery,window,document); 1893 1894</script>
1894 1895 1896</body> 1897</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.