Skip to Content

JavaScript File

URL: https://esvai.ru/g/shop2v2/default/js/shop2v2-plugins.js
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Wed, 27 Nov 2019 08:15:48 GMT
Download Time: Less than a second
Cookies: None
Size: 5 KB
HTTP Headers:  8 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1/*/g/printme.js*/

2var s3=s3||{}

3;

4s3.printMe=function(){function a(g,b){var c=[],e;var d=document.getElementById(g||"printMe");if(!d)return!1;b=b||{}

5;b.doctype=b.doctype||a.doctype;b.stylesheet=b.stylesheet||a.stylesheet;b.window=a.extend(b.window,a.window);b.styles=a.extend(b.styles,a.styles);c.push(a.doctypes[b.doctype]);if(b.stylesheet){a.isArray(b.stylesheet)||(b.stylesheet=[b.stylesheet]);var f=0;for(e=b.stylesheet.length;f<e;f++)c.push('<link rel="stylesheet" href="'+b.stylesheet[f]+'" />')}

6else c.push("<style>"),c.push(a.join(b.styles,

7"\n","{","}

8")),c.push("</style>");c.push('<body onload="print()">');c.push(d.innerHTML);c.push("</body>");c.push("</html>");d=window.open("","printMe",a.join(b.window,",","="));d.document.write(c.join("\n"));d.document.close();d.focus()}

9a.doctypes={"html:5":'<!doctype html>\n<html lang="en">',"html:xt":'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">'}

10;a.doctype="html:5";

11a.styles={"body, td":"font-size:12px; font-family: verdana;","table.table1":"font-size:8pt; border-collapse: collapse; font-family: verdana;","table.table1 td":"padding: 4px; border: 1px solid #333333;","table.table0":"font-size:8pt; border-collapse: collapse; font-family: verdana;"}

12;a.window={width:700,height:600,toolbar:0,directories:0,menubar:0,status:0,resizable:1,location:0,scrollbars:"yes",copyhistory:0,top:10,left:10}

13;a.extend=function(a,b){var c;a=a||{}

14;for(c in b)a.hasOwnProperty(c)||(a[c]=

15b[c]);return a}

16;a.join=function(a,b,c,e){var d,f=[];b=b||"\n";c=c||"";e=e||"";for(d in a)f.push(d+c+a[d]+e);return f.join(b)}

17;a.isArray=function(a){return"[object Array]"==Object.prototype.toString.call(a)}

18;return a}

19();var printMe=printMe||s3.printMe;

20/*/g/shop2v2/default/js/tpl.js*/

21(function(b){b.runQueue=function(c){b.each(c,function(a){a=c[a];b.isFunction(a)&&a.call(c)}

22)}

23}

24)(jQuery);

25(function(b,c){var a={init:function(){b(function(){b.runQueue(a.queue)}

26)}

27,queue:{rating:function(){b("form .tpl-stars").each(function(){function a(a){a=b(a);e.removeClass("tpl-active");a.addClass("tpl-active").prevAll().addClass("tpl-active")}

28var c=b(this),d=null,e=c.children("span"),f=c.children("input");c.on({click:function(a){d=a.target;f.val(b(d).index()+1)}

29,mousemove:function(b){a(b.target)}

30,mouseleave:function(b){a(d)}

31}

32)}

33)}

34}

35}

36;a.init();c.tpl=a}

37)(jQuery,window);

38/*/g/shop2v2/default/js/baron.min.js*/

39!function(w){var h=function(f,c){var l=[];f[0]||(f=[f]);for(var g=0;g<f.length;g++)l[g]=new h.init(f[g],c);return l}

40;h.init=function(f,c){function l(a){a?k(d).addClass(c.barOnCls||""):k(d).removeClass(c.barOnCls||"")}

...

</html>