Guest User

Untitled

a guest
Nov 17th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function(){
  2.     var w=window.jQuery,_$=window.$;
  3.     var D=window.jQuery=window.$=function(a,b){
  4.         return new D.fn.init(a,b)
  5.     }
  6.     ;
  7.     var u=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;
  8.     D.fn=D.prototype={
  9.         init:function(d,b){
  10.             d=d||document;
  11.             if(d.nodeType){
  12.                 this[0]=d;
  13.                 this.length=1;
  14.                 return this
  15.             }
  16.             if(typeof d=="string"){
  17.                 var c=u.exec(d);
  18.                 if(c&&(c[1]||!b)){
  19.                     if(c[1])d=D.clean([c[1]],b);
  20.                     else{
  21.                         var a=document.getElementById(c[3]);
  22.                         if(a){
  23.                             if(a.id!=c[3])return D().find(d);
  24.                             return D(a)
  25.                         }
  26.                         d=[]
  27.                     }
  28.  
  29.                 }
  30.                 else return D(b).find(d)
  31.             }
  32.             else if(D.isFunction(d))return D(document)[D.fn.ready?"ready":"load"](d);
  33.             return this.setArray(D.makeArray(d))
  34.         }
  35.              ,jquery:"1.2.6",size:function(){
  36.                  return this.length
  37.              }
  38.              ,length:0,get:function(a){
  39.                  return a==undefined?D.makeArray(this):this[a]
  40.              }
  41.              ,pushStack:function(b){
  42.                  var a=D(b);
  43.                  a.prevObject=this;
  44.                  return a
  45.              }
  46.              ,setArray:function(a){
  47.                  this.length=0;
  48.                  Array.prototype.push.apply(this,a);
  49.                  return this
  50.              }
  51.              ,each:function(a,b){
  52.                  return D.each(this,a,b)
  53.              }
  54.              ,index:function(b){
  55.                  var a=-1;
  56.                  return D.inArray(b&&b.jquery?b[0]:b,this)
  57.              }
  58.              ,attr:function(c,a,b){
  59.                  var d=c;
  60.                  if(c.constructor==String)if(a===undefined)return this[0]&&D[b||"attr"](this[0],c);
  61.                  else{
  62.                      d={
  63.  
  64.                      }
  65.                      ;
  66.                      d[c]=a
  67.                  }
  68.                  return this.each(function(i){
  69.                      for(c in d)D.attr(b?this.style:this,c,D.prop(this,d[c],b,i,c))
  70.                  }
  71.                  )
  72.              }
  73.              ,css:function(b,a){
  74.                  if((b=='width'||b=='height')&&parseFloat(a)<0)a=undefined;
  75.                  return this.attr(b,a,"curCSS")
  76.              }
  77.              ,text:function(b){
  78.                  if(typeof b!="object"&&b!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(b));
  79.                  var a="";
  80.                  D.each(b||this,function(){
  81.                      D.each(this.childNodes,function(){
  82.                          if(this.nodeType!=8)a+=this.nodeType!=1?this.nodeValue:D.fn.text([this])
  83.                      }
  84.                      )
  85.                  }
  86.                  );
  87.                  return a
  88.              }
  89.              ,wrapAll:function(b){
  90.                  if(this[0])D(b,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){
  91.                      var a=this;
  92.                      while(a.firstChild)a=a.firstChild;
  93.                      return a
  94.                  }
  95.                  ).append(this);
  96.                  return this
  97.              }
  98.              ,wrapInner:function(a){
  99.                  return this.each(function(){
  100.                      D(this).contents().wrapAll(a)
  101.                  }
  102.                  )
  103.              }
  104.              ,wrap:function(a){
  105.                  return this.each(function(){
  106.                      D(this).wrapAll(a)
  107.                  }
  108.                  )
  109.              }
  110.              ,append:function(){
  111.                  return this.domManip(arguments,true,false,function(a){
  112.                      if(this.nodeType==1)this.appendChild(a)
  113.                  }
  114.                  )
  115.              }
  116.              ,prepend:function(){
  117.                  return this.domManip(arguments,true,true,function(a){
  118.                      if(this.nodeType==1)this.insertBefore(a,this.firstChild)
  119.                  }
  120.                  )
  121.              }
  122.              ,before:function(){
  123.                  return this.domManip(arguments,false,false,function(a){
  124.                      this.parentNode.insertBefore(a,this)
  125.                  }
  126.                  )
  127.              }
  128.              ,after:function(){
  129.                  return this.domManip(arguments,false,true,function(a){
  130.                      this.parentNode.insertBefore(a,this.nextSibling)
  131.                  }
  132.                  )
  133.              }
  134.              ,end:function(){
  135.                  return this.prevObject||D([])
  136.              }
  137.              ,find:function(b){
  138.                  var c=D.map(this,function(a){
  139.                      return D.find(b,a)
  140.                  }
  141.                  );
  142.                  return this.pushStack(/[^+>] [^+>]/.test(b)||b.indexOf("..")>-1?D.unique(c):c)
  143.              }
  144.              ,clone:function(e){
  145.                  var f=this.map(function(){
  146.                      if(D.browser.msie&&!D.isXMLDoc(this)){
  147.                          var a=this.cloneNode(true),container=document.createElement("div");
  148.                          container.appendChild(a);
  149.                          return D.clean([container.innerHTML])[0]
  150.                      }
  151.                      else return this.cloneNode(true)
  152.                  }
  153.                  );
  154.                  var d=f.find("*").andSelf().each(function(){
  155.                      if(this[E]!=undefined)this[E]=null
  156.                  }
  157.                  );
  158.                  if(e===true)this.find("*").andSelf().each(function(i){
  159.                      if(this.nodeType==3)return;
  160.                      var c=D.data(this,"events");
  161.                      for(var a in c)for(var b in c[a])D.event.add(d[i],a,c[a][b],c[a][b].data)
  162.                  }
  163.                  );
  164.                  return f
  165.              }
  166.              ,filter:function(b){
  167.                  return this.pushStack(D.isFunction(b)&&D.grep(this,function(a,i){
  168.                      return b.call(a,i)
  169.                  }
  170.                  )||D.multiFilter(b,this))
  171.              }
  172.              ,not:function(b){
  173.                  if(b.constructor==String)if(isSimple.test(b))return this.pushStack(D.multiFilter(b,this,true));
  174.                  else b=D.multiFilter(b,this);
  175.                  var a=b.length&&b[b.length-1]!==undefined&&!b.nodeType;
  176.                  return this.filter(function(){
  177.                      return a?D.inArray(this,b)<0:this!=b
  178.                  }
  179.                  )
  180.              }
  181.              ,add:function(a){
  182.                  return this.pushStack(D.unique(D.merge(this.get(),typeof a=='string'?D(a):D.makeArray(a))))
  183.              }
  184.              ,is:function(a){
  185.                  return!!a&&D.multiFilter(a,this).length>0
  186.              }
  187.              ,hasClass:function(a){
  188.                  return this.is("."+a)
  189.              }
  190.              ,val:function(b){
  191.                  if(b==undefined){
  192.                      if(this.length){
  193.                          var c=this[0];
  194.                          if(D.nodeName(c,"select")){
  195.                              var e=c.selectedIndex,values=[],options=c.options,one=c.type=="select-one";
  196.                              if(e<0)return null;
  197.                              for(var i=one?e:0,max=one?e+1:options.length;
  198.                                      i=0||D.inArray(this.name,b)>=0);
  199.                              else if(D.nodeName(this,"select")){
  200.                                  var a=D.makeArray(b);
  201.                                  D("option",this).each(function(){
  202.                                      this.selected=(D.inArray(this.value,a)>=0||D.inArray(this.text,a)>=0)
  203.                                  }
  204.                                  );
  205.                                  if(!a.length)this.selectedIndex=-1
  206.                              }
  207.                              else this.value=b
  208.                          }
  209.                          )
  210.                      }
  211.                      ,html:function(a){
  212.                          return a==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(a)
  213.                      }
  214.                      ,replaceWith:function(a){
  215.                          return this.after(a).remove()
  216.                      }
  217.                      ,eq:function(i){
  218.                          return this.slice(i,i+1)
  219.                      }
  220.                      ,slice:function(){
  221.                          return this.pushStack(Array.prototype.slice.apply(this,arguments))
  222.                      }
  223.                      ,map:function(b){
  224.                          return this.pushStack(D.map(this,function(a,i){
  225.                              return b.call(a,i,a)
  226.                          }
  227.                          ))
  228.                      }
  229.                      ,andSelf:function(){
  230.                          return this.add(this.prevObject)
  231.                      }
  232.                      ,data:function(d,b){
  233.                          var a=d.split(".");
  234.                          a[1]=a[1]?"."+a[1]:"";
  235.                          if(b===undefined){
  236.                              var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);
  237.                              if(c===undefined&&this.length)c=D.data(this[0],d);
  238.                              return c===undefined&&a[1]?this.data(a[0]):c
  239.                          }
  240.                          else return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){
  241.                              D.data(this,d,b)
  242.                          }
  243.                          )
  244.                      }
  245.                      ,removeData:function(a){
  246.                          return this.each(function(){
  247.                              D.removeData(this,a)
  248.                          }
  249.                          )
  250.                      }
  251.                      ,domManip:function(g,f,h,d){
  252.                          var e=this.length>1,elems;
  253.                          return this.each(function(){
  254.                              if(!elems){
  255.                                  elems=D.clean(g,this.ownerDocument);
  256.                                  if(h)elems.reverse()
  257.                              }
  258.                              var b=this;
  259.                              if(f&&D.nodeName(this,"table")&&D.nodeName(elems[0],"tr"))b=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));
  260.                              var c=D([]);
  261.                              D.each(elems,function(){
  262.                                  var a=e?D(this).clone(true)[0]:this;
  263.                                  if(D.nodeName(a,"script"))c=c.add(a);
  264.                                  else{
  265.                                      if(a.nodeType==1)c=c.add(D("script",a).remove());
  266.                                      d.call(b,a)
  267.                                  }
  268.  
  269.                              }
  270.                              );
  271.                              c.each(evalScript)
  272.                          }
  273.                          )
  274.                      }
  275.  
  276.                  }
  277.                  ;
  278.                  D.fn.init.prototype=D.fn;
  279.                  function evalScript(i,a){
  280.                      if(a.src)D.ajax({
  281.                          url:a.src,async:false,dataType:"script"
  282.                      }
  283.                      );
  284.                      else D.globalEval(a.text||a.textContent||a.innerHTML||"");
  285.                      if(a.parentNode)a.parentNode.removeChild(a)
  286.                  }
  287.                  function now(){
  288.                      return+new Date
  289.                  }
  290.                  D.extend=D.fn.extend=function(){
  291.                      var b=arguments[0]||{
  292.  
  293.                      }
  294.                      ,i=1,length=arguments.length,deep=false,options;
  295.                      if(b.constructor==Boolean){
  296.                          deep=b;
  297.                          b=arguments[1]||{
  298.  
  299.                          }
  300.                          ;
  301.                          i=2
  302.                      }
  303.                      if(typeof b!="object"&&typeof b!="function")b={
  304.  
  305.                      }
  306.                      ;
  307.                      if(length==i){
  308.                          b=this;
  309.                          --i
  310.                      }
  311.                      for(;
  312.                              i-1
  313.                              }
  314.  
  315.                              }
  316.                              ,swap:function(b,c,a){
  317.                                  var e={
  318.  
  319.                                  }
  320.                                  ;
  321.                                  for(var d in c){
  322.                                      e[d]=b.style[d];
  323.                                      b.style[d]=c[d]
  324.                                  }
  325.                                  a.call(b);
  326.                                  for(var d in c)b.style[d]=e[d]
  327.                              }
  328.                              ,css:function(d,e,c){
  329.                                  if(e=="width"||e=="height"){
  330.                                      var b,props={
  331.                                          position:"absolute",visibility:"hidden",display:"block"
  332.                                      }
  333.                                      ,which=e=="width"?["Left","Right"]:["Top","Bottom"];
  334.                                      function getWH(){
  335.                                          b=e=="width"?d.offsetWidth:d.offsetHeight;
  336.                                          var a=0,border=0;
  337.                                          D.each(which,function(){
  338.                                              a+=parseFloat(D.curCSS(d,"padding"+this,true))||0;
  339.                                              border+=parseFloat(D.curCSS(d,"border"+this+"Width",true))||0
  340.                                          }
  341.                                          );
  342.                                          b-=Math.round(a+border)
  343.                                      }
  344.                                      if(D(d).is(":visible"))getWH();
  345.                                      else D.swap(d,props,getWH);
  346.                                      return Math.max(0,b)
  347.                                  }
  348.                                  return D.curCSS(d,e,c)
  349.                              }
  350.                              ,curCSS:function(f,l,k){
  351.                                  var e,style=f.style;
  352.                                  function color(b){
  353.                                      if(!D.browser.safari)return false;
  354.                                      var a=defaultView.getComputedStyle(b,null);
  355.                                      return!a||a.getPropertyValue("color")==""
  356.                                  }
  357.                                  if(l=="opacity"&&D.browser.msie){
  358.                                      e=D.attr(style,"opacity");
  359.                                      return e==""?"1":e
  360.                                  }
  361.                                  if(D.browser.opera&&l=="display"){
  362.                                      var d=style.outline;
  363.                                      style.outline="0 solid black";
  364.                                      style.outline=d
  365.                                  }
  366.                                  if(l.match(/float/i))l=y;
  367.                                  if(!k&&style&&style[l])e=style[l];
  368.                                  else if(defaultView.getComputedStyle){
  369.                                      if(l.match(/float/i))l="float";
  370.                                      l=l.replace(/([A-Z])/g,"-$1").toLowerCase();
  371.                                      var c=defaultView.getComputedStyle(f,null);
  372.                                      if(c&&!color(f))e=c.getPropertyValue(l);
  373.                                      else{
  374.                                          var g=[],stack=[],a=f,i=0;
  375.                                          for(;
  376.                                                  a&&color(a);
  377.                                                  a=a.parentNode)stack.unshift(a);
  378.                                          for(;
  379.                                                  i]*?)\/>/g,function(b,a,c){
  380.                                                      return c.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?b:a+">"
  381.                                                  }
  382.                                          );
  383.                                          var f=D.trim(d).toLowerCase(),div=h.createElement("div");
  384.                                          var e=!f.indexOf("",""]||!f.indexOf("",""]||f.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
Add Comment
Please, Sign In to add comment