var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
/*! shiwangyun.com */
document.write(''),document.write('');var MsgCommon={};(function(e){$(function(){$("#validimg").click(function(){$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random())}),e.btnClick=function(){var e=I18NSWYLAN.fgTitle,t=I18NSWYLAN.fgMsg,a=I18NSWYLAN.fgTelPhone,n=I18NSWYLAN.fgPhoneType,i=I18NSWYLAN.fgMsgSuccess,s=I18NSWYLAN.fgSuccess,r=I18NSWYLAN.fgFail,l=I18NSWYLAN.fgNotVild,o={},c=$.trim($("#lecontent").val()),d=$("#hffg").val(),p={regEmail:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/,regName:/^[a-z0-9_-]{3,16}$/,regMobile:/^0?1[3|4|5|8][0-9]\d{8}$/,regTel:/^0[\d]{2,3}-[\d]{7,8}$/};if("True"==d){var m=$("#vaildtxt").val();o.vild=m}document.getElementById("hidMesageType")&&(o.MesageType=$("#hidMesageType").val()),o.lecontent=$("#lecontent").val(),o.email=$("#msg_email").val(),o.telphone=$("#msg_telphone").val(),o.company=$("#msg_company").val(),o.phone=$("#msg_phone").val(),o.address=$("#msg_address").val(),o.sex=$("input[name='sex']").val(),o.title=$("#msg_title").val(),o.msg_hidchemail="checked"==$("input[name='msg_ckemail']").attr("checked")?1:0,o.msg_hidchphone="checked"==$("input[name='msg_ckphone']").attr("checked")?1:0;var d=!1,u="";if(0==o.title.length&&(u+=e+" \n"),0==c.length&&(u+=t+" \n"),0==o.telphone.length)u+=a+" \n";else{var v=p.regMobile.test(o.telphone);v||(u+=n+" \n")}""==u&&(d=!0),""!=u&&0==d&&alert(u),d&&$.ajax({type:"post",url:"/Message/MsgAdd",dataType:"json",data:o,success:function(e){if(null!=e)if(0==e.code){if(1==e.fg)$(".logerro_tip").text(i),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random());else{var t="
",t+=""+e.cxt+"
",$("#msgList").prepend(t),$(".logerro_tip").text(s),$("#lecontent").val(""),$("#msg_email").val(""),$("#msg_telphone").val(""),$("#msg_company").val(""),$("#msg_phone").val(""),$("#msg_address").val(""),$("#msg_title").val(""),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random()),setTimeout("location.reload();",3e3)}$("#lecontent").val("")}else 2==e.code?($(".logerro_tip").text(l),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random())):1==e.code&&($(".logerro_tip").text(r),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random()))}})},$(".MsgList").find(".toggle_adreplay").toggle(function(e){e.preventDefault();var t=$("#hidClose").val();$(this).parents(".adm_reply").find(".replay_lists li:gt(0)").show(),$(this).text(t)},function(e){e.preventDefault();var t=$("#hidOpen").val();$(this).parents(".adm_reply").find(".replay_lists li:gt(0)").hide(),$(this).text(t)})})})(MsgCommon);var MsgCommonExpend={};(function(e){$(function(){$("#validimg").click(function(){$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random())}),e.btnClick=function(){var e=I18NSWYLAN.fgContacts,t=I18NSWYLAN.fgMsg,a=I18NSWYLAN.fgContact,n=I18NSWYLAN.fgTimeFormat,i=I18NSWYLAN.fgOnlineAppSuccess,s=I18NSWYLAN.fgOAppSuccess,r=I18NSWYLAN.fgOnlineAppFail,l=I18NSWYLAN.fgNotVild,o={},c=$.trim($("#msg_content").val()),d=$("#hffg").val(),p={regEmail:/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/,regName:/^[a-z0-9_-]{3,16}$/,regMobile:/^0?1[3|4|5|8][0-9]\d{8}$/,regTel:/^0[\d]{2,3}-[\d]{7,8}$/,regDate:/^((((19|20)(([02468][048])|([13579][26]))-02-29))|((20[0-9][0-9])|(19[0-9][0-9]))-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((01,3-9])|(1[0-2]))-(29|30)))))$/};if("True"==d){var m=$("#vaildtxt").val();o.vild=m}o.company=$("#msg_company").val(),o.address=$("#msg_address").val(),o.contacts=$("#msg_contacts").val(),o.ctype=$("#msg_phone").val(),o.title=$("#msg_title").val(),o.model=$("#msg_model").val(),o.date=$("#msg_time").val(),o.lecontent=$("#msg_content").val(),o.leremark=$("#msg_remark").val(),o.email="",o.telpone="",o.phone=o.ctype,p.regEmail.test(o.ctype)&&(o.email=o.ctype),p.regMobile.test(o.ctype)&&(o.telpone=o.ctype);var d=!1,u="";if(0==c.length&&(u+=t+"\n"),0==o.contacts.length&&(u+=e+"\n"),0==o.phone.length)u+=a+"\n";else{var v=p.regDate.test(o.date);v||(u+=n+"XXXX-XX-XX \n")}""==u&&(d=!0),""!=u&&0==d&&alert(u),d&&$.ajax({type:"post",url:"/Message/MsgExpendAdd",dataType:"json",data:o,success:function(e){if(null!=e)if(0==e.code){if(1==e.fg)$(".logerro_tip").text(i),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random());else{var t="",t+=""+e.cxt+"
",$("#msgList").prepend(t),$(".logerro_tip").text(s),$("#msg_company").val(),$("#msg_address").val(),$("#msg_contacts").val(),$("#msg_phone").val(),$("#msg_title").val(),$("#msg_model").val(),$("#msg_time").val(),$("#msg_content").val(),$("#msg_remark").val(),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random()),setTimeout("location.reload();",3e3)}$("#lecontent").val("")}else 2==e.code?($(".logerro_tip").text(l),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random())):1==e.code&&($(".logerro_tip").text(r),$("#validimg").attr("src","/ValidationCode/CreateImage?"+Math.random()))}})},$(".MsgList").find(".toggle_adreplay").toggle(function(e){e.preventDefault();var t=$("#hidClose").val();$(this).parents(".adm_reply").find(".replay_lists li:gt(0)").show(),$(this).text(t)},function(e){e.preventDefault();var t=$("#hidOpen").val();$(this).parents(".adm_reply").find(".replay_lists li:gt(0)").hide(),$(this).text(t)})})})(MsgCommonExpend);var CommentReply={};(function(e){$(function(){e.CP_AddCommentReply=function(t,a){var n=I18NSWYLAN.fgMsgReply,i=I18NSWYLAN.fgReply,s="#lecontentReply"+a,r=$.trim($(s).val()),l={};return l.lecontent=r,l.msgid=t,l.rid=a,0==r.length?alert(n):$.ajax({type:"POST",url:"/message/AddCommentReply",data:l,success:function(t){if(console.log(t),null!=t&&0==t.Code){var n="",n+=" "+t.txt+"
",n+="";var s="#ulReply"+t.mid;$(s).prepend(n);var r="#lecontentReply"+a;$(r).val(""),e.fir_click(),e.sec_click()}}}),!1},$("#validimgT").click(function(){$("#validimgT").attr("src","/ValidationCode/CreateImage?"+Math.random())}),e.CP_AddComment=function(){var t=I18NSWYLAN.fgMsgComment,a=I18NSWYLAN.fgCommentSuccess,n=I18NSWYLAN.fgComSuccess,i=I18NSWYLAN.fgNotVild,s=I18NSWYLAN.fgReply,r={},l=$.trim($("#lecontentCom").val());r.ware=$("#cr_hfcid").val(),r.wareitemid=$("#cr_hfitemid").val(),r.txtNewComment=$("#lecontentCom").val();var o=$("#hffgs").val();if("True"==o){var c=$("#vaildtxtT").val();r.vild=c}0==l.length?alert(t):$.ajax({type:"POST",url:"/message/AddComments",data:r,success:function(t){if(0==t.Code)if(0==t.fg){var r="",r+=""+t.Txt+"
",r+="",r+="",$(".lmg_lists").prepend(r),$("#lecontentCom").val(""),$(".Com_logerro_tip").text(n),$("#validimgT").attr("src","/ValidationCode/CreateImage?"+Math.random()),e.fir_click(),e.sec_click()}else $(".Com_logerro_tip").text(a),$("#validimgT").attr("src","/ValidationCode/CreateImage?"+Math.random()),$("#lecontentCom").val("");else 2==t.Code&&($(".Com_logerro_tip").text(i),$("#validimgT").attr("src","/ValidationCode/CreateImage?"+Math.random()))}})},e.fir_click=function(){$(".CommentReply").find(".fir_link").each(function(){var e=$(this).data("rclickbinded");e||($(this).click(function(e){e.preventDefault(),$(".CommentReply").find(".first_form").not(this).hide(0),$(".CommentReply").find(".sec_form").hide(0),$(this).parents(".for_page").find(".first_form").show()}),$(this).data("rclickbinded","rclickbinded"))})},e.fir_click(),e.sec_click=function(){$(".CommentReply").find(".sec_link").each(function(){var e=$(this).data("rclickbinded");e||($(this).click(function(e){e.preventDefault(),$(".CommentReply").find(".sec_form").not(this).hide(0),$(".CommentReply").find(".first_form").hide(0),$(this).parents(".rp_li").find(".sec_form").show()}),$(this).data("rclickbinded","rclickbinded"))})},e.sec_click()})})(CommentReply);var MemberJquery={};(function(e){e.MemberLogin=function(){var e=$("input[name='username']").val(),t=$("input[name='pwd']").val(),a={};a.ckfg=$("input[name='remLogin']").is(":checked")?"true":"false";var n=$("input[name='hidkey']").val();"true"==n?(a.keyvalue=$("input[name='vaildtxt']").val(),a.key="true"):a.key="false",a.loginname=e,a.loginpass=t,$.ajax({type:"POST",url:"/Member/MLogin",data:a,success:function(e){1==e.Code?(alert(e.Msg),window.location.reload(),$("input[name='hidmid']").val(e.Mid),$("input[name='hidmname']").val(e.Mname),$("input[name='PMember']").val(e.Mname)):0==e.Code?alert(e.Msg):2==e.Code?alert(e.Msg):3==e.Code?alert(e.Msg):4==e.Code?(alert(e.Msg),$("input[name='PhoneNum']").val(e.MPhone),$("input[name='hidmid']").val(e.Mid)):5==e.Code?(alert(e.Msg),$("input[name='EmailUrl']").val(e.MEmail),$("input[name='hidmid']").val(e.Mid)):6==e.Code&&(alert(e.Msg),$("input[name='PhoneNum']").val(e.MPhone),$("input[name='EmailUrl']").val(e.MEmail),$("input[name='hidmid']").val(e.Mid))}})},e.MemberLoginout=function(){confirm("确定退出登录吗?")&&$.ajax({type:"POST",url:"/Member/MLoginout",data:"",success:function(e){1==e.Code&&window.location.reload()}})}})(MemberJquery);var MembeRegister={};(function(e){e.NoteSend=function(){var e={};e.PhoneNum=$("input[name='txtUserMobile']").val(),$.ajax({type:"POST",url:"/Member/PhoneReg",data:e,success:function(e){1==e.Code&&alert("发送成功")}})},e.NoteCheck=function(){var e={};e.keycode=$("input[name='txtPhoneNum']").val(),$.ajax({type:"POST",url:"/Member/PhoneCodeCheck",data:e,success:function(e){1==e.Code&&($("#phonefg").val("true"),alert("验证成功"))}})},e.EmailSend=function(){var e={};e.id=$("input[name='hidmid']").val(),e.emails=$("input[name='EmailUrl']").val(),$.ajax({type:"POST",url:"/Member/EmailReg",data:e,success:function(e){1==e.Code&&alert("发送成功")}})},e.MemberPhone=function(){var e=$("input[name='hidcode']").val(),t=$("input[name='txtUserMobile']").val(),a={};a.code=e,a.phone=t,$.ajax({type:"POST",url:"/Member/MemberRegedit",data:a,success:function(e){1==e.Code}})},e.MemberReg=function(){var e=$("input[name='hidcode']").val(),t=$("input[name='txtPhoneNum']").val();e==t?$("#phonefg").val("true"):$("#phonefg").val("false")}})(MembeRegister);var SurveyComment={};(function(Survey){$(function(){Survey.toJSON=function(txtOrObj,hasIndent){function notify(e,t,a,n){if(t&&t.constructor==Array){draw.push((n?'"'+e+'":':"")+"[");for(var i=0;t.length>i;i++)notify(i,t[i],i==t.length-1,!1);draw.push("]"+(a?"":","))}else if(t&&"object"==typeof t){draw.push((n?'"'+e+'":':"")+"{");var s=0,i=0;for(var r in t)s++;for(var r in t)notify(r,t[r],++i==s,!0);draw.push("}"+(a?"":","))}else"string"==typeof t&&(t='"'+t+'"'),draw.push((n?'"'+e+'":':"")+t+(a?"":","))}var data=txtOrObj;if("string"==typeof data)try{data=eval("("+data+")")}catch(e){return""}var draw=[],last=!1,isLast=!0,indent=0;return notify("",data,isLast,!1),draw.join("")},Survey.SurveySave=function(e,t,a,n){var i,s={},r="",l="",o={},c=0,d=!0;s.surveyid=t,s.answertopics=[],$("#survey_"+e).find(".topic").each(function(){o={},r=$(this).attr("TopicID"),l=$(this).attr("TopicClass"),Survey.SurveyValidate(r,l,$(this))||(d=!1),"TextArea"==l?(i=$(this).find("textarea"),o.answerid=0,o.surveytopicid=r,o.value=i.val().trim(),s.answertopics.push(o)):"Radio"==l?(o.answerid=0,o.surveytopicid=r,o.value="",$(this).find("input:checked").each(function(){c=$(this).attr("value"),i=$("#"+r+"_Text_"+c),o.value+=c,i&&i.val()&&(o.value+="@"+i.val().trim())}),s.answertopics.push(o)):"CheckBox"==l&&(o.answerid=0,o.surveytopicid=r,o.value="",$(this).find("input:checked").each(function(){c=$(this).attr("value"),i=$("#"+r+"_Text_"+c),o.value+="|"+c,i&&i.val()&&(o.value+="@"+i.val().trim())}),o.value.length>0&&(o.value=o.value.substring(1)),s.answertopics.push(o))}),d&&$.ajax({url:"/Survey/SurveySave",data:Survey.toJSON(s),type:"post",dataType:"json",success:function(t){1==t.Code?(alert(t.Msg),a&&(location.href=n),Survey.SurveyClear(e)):alert(t.Msg)}})},Survey.SurveyValidate=function(e,t,a){var n,i=a.find("#"+e+"_errormsg"),s=0,r=!0,l=!0;return i[0]&&(i.text(""),"TextArea"==t?(n=a.find("textarea"),0>=n.val().trim().length&&(i.text("请填写答案"),l=!1)):"Radio"==t?(a.find("input:checked").each(function(){r=!1,s=$(this).attr("value"),n=$("#"+e+"_Text_"+s),n&&n.attr("type")&&0>=n.val().trim().length&&(i.text("请填写选择项连带的输入框"),l=!1)}),r&&(i.text("请填写答案"),l=!1)):"CheckBox"==t&&(a.find("input:checked").each(function(){r=!1,s=$(this).attr("value"),n=$("#"+e+"_Text_"+s),n&&n.attr("type")&&0>=n.val().trim().length&&(i.text("请填写选择项连带的输入框"),l=!1)}),r&&(i.text("请填写答案"),l=!1))),l},Survey.SurveyClear=function(e){$("#survey_"+e).find(".topic").each(function(){topic={},tid=$(this).attr("TopicID"),tclass=$(this).attr("TopicClass"),Survey.SurveyValidate(tid,tclass,$(this))||(flag=!1),"TextArea"==tclass?($otemp=$(this).find("textarea"),$otemp.val("")):"Radio"==tclass?$(this).find("input:checked").each(function(){tv=$(this).attr("value"),$otemp=$("#"+tid+"_Text_"+tv),$(this).attr("checked",!1),$otemp&&$otemp.val()&&$otemp.val("")}):"CheckBox"==tclass&&$(this).find("input:checked").each(function(){tv=$(this).attr("value"),$otemp=$("#"+tid+"_Text_"+tv),$(this).attr("checked",!1),$otemp&&$otemp.val()&&$otemp.val("")})})},Survey.SurveyOutcome=function(e,t){var a=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],n={};n.id=t,$("#"+e+"_pop").dialog({autoOpen:!1,position:["center",100],width:800,draggable:!1}),$("#"+e+"_pop").dialog("open"),$.ajax({url:"/Survey/SurveyStatistics",data:n,type:"post",dataType:"json",beforeSend:function(){},success:function(t){if(1==t.Code){$("#"+e+"_title_pop").text(t.Survey.title);var n=$("#"+e+"_list_pop");$("#"+e+"_list_pop").html("");for(var i="",s=[],r=0;t.Survey.surveytopics.length>r;r++){if(i="",i+=t.Survey.surveytopics[r].title,1==t.Survey.surveytopics[r].isrequired&&(i+=" (必填)"),i+='【】",i+="
",i+="",""==t.Survey.surveytopics[r].topicclass);else{s=t.Survey.surveytopics[r].options.split("|");for(var l=0;s.length>l;l++)i+=""+a[l]+". "+s[l]+" 【选择数:"+t.Survey.surveytopics[r].optionselects[l+1]+" 人 选择百分比: ",i+=t.Survey.answercount>0?Math.round(100*(t.Survey.surveytopics[r].optionselects[l+1]/t.Survey.answercount)):"0",i+="%】
"}i+="
",n.append(i)}}else-402==t.Code&&alert(t.Msg)}})}})})(SurveyComment);var SharingEvent={};(function(e){e.GetUrl=function(){var e=window.location.href;return e=escape(e)},e.GetTitle=function(){var e=document.title;return e=escape(e)},e.ConfigSharing=function(){$(".BasicSharing a").each(function(){var t=$(this).attr("href"),a=e.GetUrl();t=t.replace("@url",a);var n=e.GetTitle();t=t.replace("@title",n),$(this).attr("href",t)})}})(SharingEvent);var DownloadClick={};(function(e){e.AddClicks=function(){var e={};e.id=$("#hidid").val(),e.urls=$("#hidurl").val(),e.downCode=$("#website_DownCode").val(),$.ajax({url:"/Download/AddClicks",data:e,type:"POST",success:function(e){1==e.Code?window.location=e.src:alert("验证码错误,无法下载")}})}})(DownloadClick);var PreLoadProduct={};(function(e){e.PreLoadProductPics=function(){}})(PreLoadProduct);var MemberPwd={};(function(e){e.notesend=function(){var e={};e.username=$("#txtUser").val(),e.phonenum=$("#txtPhone").val(),$.ajax({url:"/Member/MemberPCheck",data:e,type:"POST",success:function(e){null!=e&&alert(e.Msg)}})},e.emailsend=function(){var e={};e.username=$("#txtUser").val(),e.emailnum=$("#txtEmail").val(),$.ajax({url:"/Member/MemberECheck",data:e,type:"POST",success:function(e){null!=e&&alert(e.Msg)}})}})(MemberPwd);var ProSpainPic={};(function(e){e.SpainShow=function(){$(".slider-wrapper").hide(),$(".spainshow").hide(),$(".MAgic360class").show(),$(".spainheid").show()},e.SpainHeid=function(){$(".slider-wrapper").show(),$(".spainshow").show(),$(".MAgic360class").hide(),$(".spainheid").hide()}})(ProSpainPic);var PagerView=function(e){var t=this;this.id=e,this._pageCount=0,this._start=1,this._end=1,this.container=null,this.index=1,this.size=15,this.maxButtons=9,this.itemCount=0,this.onclick=function(){return!0},this._onclick=function(e){var a=t.index;t.index=e,t.onclick(e)!==!1?t.render():t.index=a},this._calculate=function(){t._pageCount=parseInt(Math.ceil(t.itemCount/t.size)),t.index=parseInt(t.index),t.index>t._pageCount&&(t.index=t._pageCount),1>t.index&&(t.index=1),t._start=Math.max(1,t.index-parseInt(t.maxButtons/2)),t._end=Math.min(t._pageCount,t._start+t.maxButtons-1),t._start=Math.max(1,t._end-t.maxButtons+1)},this.page=function(e){t._calculate();var a=(t.index-1)*t.size,n=t.index*t.size;return e.slice(a,n)},this.render=function(){var e=document.getElementById(t.id);e.view=t,t.container=e,t._calculate();var a="";a+='\n",t.container.innerHTML=a;for(var i=t.container.getElementsByTagName("a"),n=0;i.length>n;n++)i[n].onclick=function(){var e=this.getAttribute("href");return void 0!=e&&""!=e&&(e=parseInt(e.replace("javascript://","")),t._onclick(e)),!1}}};(function(e){e.PaginationCalculator=function(e,t){this.maxentries=e,this.opts=t},e.extend(e.PaginationCalculator.prototype,{numPages:function(){return Math.ceil(this.maxentries/this.opts.items_per_page)},getInterval:function(e){var t=Math.floor(this.opts.num_display_entries/2),a=this.numPages(),n=a-this.opts.num_display_entries,i=e>t?Math.max(Math.min(e-t,n),0):0,s=e>t?Math.min(e+t+this.opts.num_display_entries%2,a):Math.min(this.opts.num_display_entries,a);return{start:i,end:s}}}),e.PaginationRenderers={},e.PaginationRenderers.defaultRenderer=function(t,a){this.maxentries=t,this.opts=a,this.pc=new e.PaginationCalculator(t,a)},e.extend(e.PaginationRenderers.defaultRenderer.prototype,{createLink:function(t,a,n){var i,s=this.pc.numPages();return t=0>t?0:s>t?t:s-1,n=e.extend({text:t+1,classes:""},n||{}),i=t==a?e(""+n.text+""):e(""+n.text+"").attr("href",this.opts.link_to.replace(/__id__/,t)),n.classes&&i.addClass(n.classes),i.data("page_id",t),i},appendRange:function(e,t,a,n,i){var s;for(s=a;n>s;s++)this.createLink(s,t,i).appendTo(e)},getLinks:function(t,a){var n,i,s=this.pc.getInterval(t),r=this.pc.numPages(),l=e("");return this.opts.prev_text&&(t>0||this.opts.prev_show_always)&&l.append(this.createLink(t-1,t,{text:this.opts.prev_text,classes:"prev"})),s.start>0&&this.opts.num_edge_entries>0&&(i=Math.min(this.opts.num_edge_entries,s.start),this.appendRange(l,t,0,i,{classes:"sp"}),this.opts.num_edge_entries"+this.opts.ellipse_text+"").appendTo(l)),this.appendRange(l,t,s.start,s.end),r>s.end&&this.opts.num_edge_entries>0&&(r-this.opts.num_edge_entries>s.end&&this.opts.ellipse_text&&e(""+this.opts.ellipse_text+"").appendTo(l),n=Math.max(r-this.opts.num_edge_entries,s.end),this.appendRange(l,t,n,r,{classes:"ep"})),this.opts.next_text&&(r-1>t||this.opts.next_show_always)&&l.append(this.createLink(t+1,t,{text:this.opts.next_text,classes:"next"})),e("a",l).click(a),l}}),e.fn.pagination=function(t,a){function n(t){var a=e(t.target).data("page_id"),n=i(a);return n||t.stopPropagation(),n}function i(e){o.data("current_page",e),r=s.getLinks(e,n),o.empty(),r.appendTo(o);var t=a.callback(e,o);return t}a=e.extend({items_per_page:10,num_display_entries:11,current_page:0,num_edge_entries:0,link_to:"#",prev_text:"Prev",next_text:"Next",ellipse_text:"...",prev_show_always:!0,next_show_always:!0,renderer:"defaultRenderer",show_if_single_page:!1,load_first_page:!1,callback:function(){return!1}},a||{});var s,r,l,o=this;if(l=parseInt(a.current_page),o.data("current_page",l),t=!t||0>t?1:t,a.items_per_page=!a.items_per_page||0>a.items_per_page?1:a.items_per_page,!e.PaginationRenderers[a.renderer])throw new ReferenceError("Pagination renderer '"+a.renderer+"' was not found in jQuery.PaginationRenderers object.");s=new e.PaginationRenderers[a.renderer](t,a);var c=new e.PaginationCalculator(t,a),d=c.numPages();o.bind("setPage",{numPages:d},function(e,t){return t>=0&&e.data.numPages>t?(i(t),!1):void 0}),o.bind("prevPage",function(){var t=e(this).data("current_page");return t>0&&i(t-1),!1}),o.bind("nextPage",{numPages:d},function(t){var a=e(this).data("current_page");return t.data.numPages-1>a&&i(a+1),!1}),r=s.getLinks(l,n),o.empty(),(d>1||a.show_if_single_page)&&r.appendTo(o),a.load_first_page&&a.callback(l,o)}})(jQuery);
}
/*
FILE ARCHIVED ON 00:36:41 Oct 07, 2017 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 09:04:12 Oct 08, 2025.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
/*
playback timings (ms):
captures_list: 0.507
exclusion.robots: 0.024
exclusion.robots.policy: 0.014
esindex: 0.009
cdx.remote: 757.72
LoadShardBlock: 661.039 (3)
PetaboxLoader3.datanode: 770.728 (4)
load_resource: 278.493
PetaboxLoader3.resolve: 167.118
*/