PageSourceSearch

https://www.bankofrizhao.com.cn/uiFramework/aiwza/js/Assistants.min.js

js bankofrizhao.com.cn collected 2026-10-04 19:40:29 UTC 63,641 bytes, 34 lines download raw bytes

1;/*!js/Host.js*/
2Host={playerPath:"libs/",ttsServer:"",domain:window.location.origin,mp3Path:""},Host.getCurrent=function(o){var t={};t.window=o?o:window;t.window.document.location.href;return Host};
3;/*!js/Mask.js*/
4Mask=function(t,e){this.window=t,this.element=document.getElementById(e),this.element.style.display="none",this.showing=!1,this.show=jQuery.proxy(this.show,this),this.move=jQuery.proxy(this.move,this),this.walk=jQuery.proxy(this.walk,this),this.resize=jQuery.proxy(this.resize,this),this.close=jQuery.proxy(this.close,this),this.active=jQuery.proxy(this.active,this)},Mask.prototype={cover:null,ensureCover:function(){if(this.cover=document.getElementById("__ess_PopupBackCover"),!this.cover){var t=document.createElement("DIV");if(t.id="__ess_PopupBackCover",t.style.position="absolute",t.style.width="0px",t.style.height="0px",t.style.display="none",t.style.backgroundColor="#666666",t.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=50)",t.style.top="0px",t.style.left="0px",t.style.opacity="0.5",t.style.mozopacity="0.5",document.body.appendChild(t),this.cover=document.getElementById("__ess_PopupBackCover"),document.attachEvent){var e=document.createElement("IFRAME");e.frameBorder="0",e.style.width="100%",e.style.height="100%",this.cover.appendChild(e);var i=document.createElement("DIV");i.style.position="absolute",i.style.width="100%",i.style.height="100%",i.style.backgroundColor="#666666",i.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=50)",i.style.top="0px",i.style.left="0px",i.style.opacity="0.5",i.style.mozopacity="0.5",this.cover.appendChild(i)}}},show:function(){this.ensureCover(),this.cover.style.position="absolute",this.cover.style.top="0px",this.cover.style.left="0px",this.cover.style.zIndex="999999",this.element.style.position="absolute",this.element.style.zIndex="1000000",this.cover.style.display="block",this.element.style.display="block",this.resize(),window.attachEvent?(window.attachEvent("onresize",this.resize),window.attachEvent("onscroll",this.move)):(window.addEventListener("resize",this.resize,!1),window.addEventListener("scroll",this.move,!1)),this.showing=!0},close:function(t){window.attachEvent?(window.detachEvent("onresize",this.resize),window.detachEvent("onscroll",this.move)):(window.removeEventListener("resize",this.resize,!1),window.removeEventListener("scroll",this.move,!1)),this.element.style.display="none",this.showing=!1,t&&t===!0||(this.cover.style.display="none")},resize:function(){var t,e;window.innerWidth?(t=window.innerWidth,e=window.innerHeight):document.documentElement.clientWidth?(t=document.documentElement.clientWidth,e=document.documentElement.clientHeight):(t=document.body.clientWidth,e=document.body.clientHeight),this.cover.style.width=t+"px",this.cover.style.height=e+"px",this.position(),this.element.style.top=this.top+"px",this.element.style.left=this.left+"px"},move:function(){this.position()&&(this.walkHandle&&clearTimeout(this.walkHandle),this.walkHandle=setTimeout(this.walk,300))},position:function(){var t,e,i=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop,s=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;return window.innerWidth?(t=window.innerWidth,e=window.innerHeight):document.documentElement.clientWidth?(t=document.documentElement.clientWidth,e=document.documentElement.clientHeight):(t=document.body.clientWidth,e=document.body.clientHeight),this.top=(e-this.element.clientHeight)/2+i,this.left=(t-this.element.clientWidth)/2+s,this.top<0&&(this.top=0),this.left<0&&(this.left=0),e>=this.element.clientHeight&&t>=this.element.clientWidth},top:0,left:0,step:10,rate:10,walkHandle:null,walk:function(){var t=!1,e=0,i=parseInt(this.element.style.top),s=parseInt(this.element.style.left);e=i>this.top?-1:1,0!=e&&Math.abs(i-this.top)<this.step?this.element.style.top=this.top+"px":(i+=e*this.step,this.element.style.top=i+"px",t=!0),e=0,e=s>this.left?-1:1,0!=e&&Math.abs(s-this.left)<this.step?this.element.style.left=this.left+"px":(s+=e*this.step,this.element.style.left=s+"px",t=!0),this.walkHandle&&clearTimeout(this.walkHandle),t&&(this.walkHandle=setTimeout(this.walk,this.rate))},active:function(){this.close(),jQuery(this.window).on("unload",this.show)}};
5;
5/*!js/VAColor.js*/
6VAColor=function(o,i,t,s){this.window=o?o:window,this.color=i,this.linkColor=t,this.bgColor=s,this.area="a, span, img, input, button, select, textarea, li, b, i, strong, h1, h2, h3, h4, h5, h6, font, p, div, td, form, body",this.reset=jQuery.proxy(this.reset,this),this.paint=jQuery.proxy(this.paint,this),this.active=jQuery.proxy(this.active,this)},VAColor.prototype={active:function(){this.color&&(jQuery(this.area,this.window.document).css({color:this.color,backgroundColor:this.bgColor}).find("a").css("color",this.linkColor),jQuery("#x, #y",this.window.document).css("background","red"))},paint:function(o,i,t){this.color=o,this.linkColor=i,this.bgColor=t,jQuery(this.area,this.window.document).css({color:this.color,backgroundColor:this.bgColor}).find("a").css("color",this.linkColor),jQuery("#x, #y",this.window.document).css("background","red")},reset:function(){this.color="",this.linkColor="",this.bgColor="",this.window.location.reload()}};
7;/*!js/VACross.js*/
8VACross=function(o,t,i){this.window=o?o:window,this.isShow=!!t,this.zoom=i,this.move=jQuery.proxy(this.move,this),this.show=jQuery.proxy(this.show,this),this.hide=jQuery.proxy(this.hide,this),this.active=jQuery.proxy(this.active,this)},VACross.prototype={active:function(){this.x=jQuery("<div va='cross' id='x' style='display:none;width:100%;height:3px;background:#ff0000 !important;position:absolute;z-index:1000;top:-10;left:-10;pointer-events:none;'></div>"),this.y=jQuery("<div va='cross' id='y' style='display:none;width:3px;height:100%;background:#ff0000 !important;position:absolute;z-index:1000;top:-10;left:-10;pointer-events:none;'></div>"),jQuery(this.window.document.body).append(this.x),jQuery(this.window.document.body).append(this.y),this.isShow?this.show():this.hide()},move:function(o){var t=o.pageX,i=o.pageY,s=this.zoom.zoom,e=this.window.document.documentElement.scrollTop?this.window.document.documentElement.scrollTop:this.window.document.body.scrollTop,n=this.window.document.documentElement.scrollLeft?this.window.document.documentElement.scrollLeft:this.window.document.body.scrollLeft,h=(i-e)/s+e-2,d=(t-n)/s+n-2;h+=20,d+=20,this.x.offset({top:h,left:n}),this.y.offset({top:e,left:d})},show:function(){this.x.show(),this.y.show(),jQuery(this.window.document).bind("mousemove",this.move),jQuery(this.window).bind("scroll",this.move),this.isShow=!0},hide:function(){this.x.hide(),this.y.hide(),jQuery(this.window.document).unbind("mousemove",this.move),jQuery(this.window).unbind("scroll",this.move),this.isShow=!1}};
9;/*!js/VACursor.js*/
10VACursor=function(e){this.window=e?e:window,this.cursorUrl=""},VACursor.prototype={getFrameHeader:function(e){for(var r=this,t=e.frames,s=0,a=t.length;a>s;s++)try{var i=jQuery("head",t[s].document),n=this.headers.newHeads;this.headers=this.headers.add(i),n&&(n.add(i),this.headers.newHeads=n),this.getFrameHeader(t[s]),jQuery(t[s].frameElement).on("load",function(){var e=this.HuilanA11yFrameIndex;r.headers=r.headers.filter(function(r){return r!=e}),r.headers.newHeads=jQuery("head",this.contentWindow.document),r.getFrameHeader(this.contentWindow),r.cursorUrl&&r.headers.newHeads.append('<style type="text/css" id="Huilan-cursor"> * {cursor:url('+r.cursorUrl+"),auto!important;}</style>")})}catch(d){}},init:function(){this.headers=jQuery("head",this.window.document),this.getFrameHeader(this.window),this.cursorUrl&&this.headers.append('<style type="text/css" id="Huilan-cursor"> * {cursor:url('+this.cursorUrl+"),auto!important;}</style>")},change:function(e){this.cursorUrl=e,jQuery("#Huilan-cursor",this.headers).remove(),e&&this.headers.append('<style type="text/css" id="Huilan-cursor"> * {cursor:url('+e+"),auto!important;}</style>")}};
11;/*!js/VAFocus.js*/
12VAFocus=function(t,e,r,i,s,a){this.window=t?t:window,this.changed=e,this.color=r?r:"",this.linkColor=i?i:"",this.bgColor=s?s:"",this.coefficient=Number(a)||2,this.active=jQuery.proxy(this.active,this),this.reset=jQuery.proxy(this.reset,this),this.paint=jQuery.proxy(this.paint,this),this.mouseOver=jQuery.proxy(this.mouseOver,this),this.mouseMove=jQuery.proxy(this.mouseMove,this),this.mouseOut=jQuery.proxy(this.mouseOut,this),this.focusNext=jQuery.proxy(this.focusNext,this),this.clearFocusNext=jQuery.proxy(this.clearFocusNext,this),this.focus=jQuery.proxy(this.focus,this),this.blur=jQuery.proxy(this.blur,this),this.getText=jQuery.proxy(this.getText,this),this.elements=[],this.current=null,this.useFocusNext=!1,this.nextFocus=null,this.imageParent=null,this.imgBox=null,this.matchImg=null,this.hoverTime=100,this.INPUT_ROLE="img-verification-input",this.IMG_ROLE="img-verification-code",this.SPLIT_CHAR="--"},VAFocus.prototype={getElements:function(){var t="a, span, img, input, button, select, textarea, li, b, i, strong, h1, h2, h3, h4, h5, h6, font, p, div, td",e=jQuery(t+", iframe",this.window.document);return e},active:function(){if(this.elements=[],this.current=null,this.elements=this.getElements().not("a *, iframe, [role='presentation'], [role='none']").on("mouseover",this.mouseOver).on("mouseout",this.mouseOut).on("mousemove",this.mouseMove).on("focus",this.coefficient,this.inputFocus.bind(this)).on("blur",this.inputBlur.bind(this)),this.isMobileMode()){var t=this;this.elements.on("click",function(e){if(t.ass.canRead){var r=e.currentTarget,i=jQuery(r).is("a"),s=jQuery(r).is(":button, :submit");
12if(i||s){if(jQuery(r).data("hasRead"))return jQuery(r).data("hasRead",!1),void(t.extText="");jQuery(r).data("hasRead",!0),e.preventDefault(),t.extText=i?",再次点击打开链接。":",再次点击继续操作。"}t.mouseOver(e)}})}},reset:function(){this.color="",this.linkColor="",this.bgColor=""},paint:function(t,e,r){this.color=t,this.linkColor=e,this.bgColor=r},mouseMove:function(t){var e=t.currentTarget.getAttribute("role");e&&e.indexOf(this.IMG_ROLE)>-1&&this.imgBox&&(this.resetMatchImg(),this.imgBox.style.transform="scale("+this.coefficient+")")},inputBlur:function(){this.resetImgbox(),this.resetMatchImg()},inputFocus:function(t){var e=t.data,r=t.currentTarget.getAttribute("role");if(r&&r.indexOf(this.INPUT_ROLE)>-1){var i=r.split(this.SPLIT_CHAR)[1];if(!i)return;var s=this.IMG_ROLE+this.SPLIT_CHAR+i,a=this.window.document.querySelectorAll("img"),o=null;if(Array.prototype.slice.call(a).forEach(function(t){var e=t.getAttribute("role");e===s&&(o=t)}),o){this.matchImg=o;var u=this.getRelativeOrigin(t.currentTarget,o);o.style.transformOrigin=u,o.style.transform="scale("+e+")"}}},resetImgbox:function(){this.imgBox&&(this.imgBox.style.transform="scale(1)",this.imgBox=null)},resetMatchImg:function(){this.matchImg&&(this.matchImg.style.transform="scale(1)",this.matchImg=null)},mouseOver:function(t,e){t.stopPropagation(),t.stopImmediatePropagation();var r=t.currentTarget,i=this;this.changeTimer=setTimeout(function(){i.changeTimer=null,i.useFocusNext?i.nextFocus=jQuery.inArray(r.tagName,["A","SPAN","B","H1","H2","H3","H4","H5","H6","FONT","STRONG","I","LI","P"])>-1||"tab"===e?r:null:i.focus(r,e);var s=t.currentTarget.getAttribute("role");s&&s.indexOf(i.IMG_ROLE)>-1&&i.setTransformOrigin(t)},this.hoverTime)},mouseOut:function(t,e){t.stopPropagation(),t.stopImmediatePropagation();var r=t.currentTarget,i=this;return this.changeTimer?void clearTimeout(this.changeTimer):void setTimeout(function(){i.current!==r&&("SELECT"!==r.tagName||null!=t.toElement)&&(i.useFocusNext?i.nextFocus=null:i.blur(r,e),i.imgBox&&i.resetImgbox(),i.matchImg&&i.resetMatchImg())},this.hoverTime)},focusNext:function(){if(this.nextFocus&&this.nextFocus!==this.current){var t=this.nextFocus;return this.nextFocus=null,void this.focus(t)}for(var e=this.current?this.elements.index(this.current):0,r=this.current,i=this.current;e>-1&&++e<this.elements.length;)if(i||(e=0),i=this.elements[e],!this.isHiddenNode(i)&&(this.current=i,""!==this.getText()||this.current&&$(this.current).is("iframe")))return this.useFocusNext=!0,r&&this.blur(r),this.nextFocus=null,void this.focus(this.current);e==this.elements.length&&(this.isEndElement=!0),this.useFocusNext=!1},isHiddenNode:function(t){var e=jQuery(t),r=e.is(":hidden"),i=e.attr("aria-hidden"),s=["none","presentation"].indexOf(e.attr("role"))>-1;if((i&&(""==i||"true"===i)||s)&&(r=!0),!r){var a=e.offset(),o=e.outerWidth(),u=e.outerHeight();a.left+o<0&&(r=!0),a.top+u<0&&(r=!0)}return r},clearFocusNext:function(){this.useFocusNext=!1,this.nextFocus=null},focus:function(t){this.current&&(this.blur(this.current),jQuery(t).is(this.current)||jQuery(t).data("hasRead",!1)),$(t).attr({assisStyle:$(t).attr("style")||""}),this.current=t;var e=this.color,r=this.linkColor,i=this.bgColor;switch(e||(e="Blue"),r||(r="Black"),i||(i="Yellow"),t.tagName){case"A":jQuery(t).css("backgroundColor",r).css("color",i).css("outline","1px solid "+i).focus();break;case"SPAN":case"IMG":case"INPUT":case"BUTTON":case"SELECT":case"TEXTAREA":case"B":case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":case"FONT":case"STRONG":case"I":case"LI":case"P":case"TD":jQuery(t).css("backgroundColor",e).css("color",i).css("outline","1px solid "+i).focus();break;case"DIV":this.isNeedGetContent(t)&&jQuery(t).css("backgroundColor",e).css("color",i).css("outline","1px solid "+i).focus()}jQuery.isFunction(this.changed)&&this.changed(this)},blur:function(t){var e=$(t).attr("assisStyle");if(""===e)return void $(t).removeAttr("style");switch($(t).attr("style",e),t.tagName){case"A":jQuery(t).blur();break;case"SPAN":case"IMG":case"INPUT":case"BUTTON":case"TEXTAREA":case"B":case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":case"FONT":case"STRONG":case"I":case"LI":case"P":jQuery(t).blur();break;case"SELECT":break;case"DIV":jQuery(t).blur()}},getText:function(){var t=this.current,e=jQuery(t).attr("title")?jQuery(t).attr("title"):jQuery(t).attr("placeholder")?jQuery(t).attr("placeholder"):"",r="",i=jQuery(t).attr("aria-label"),s=jQuery(t).attr("aria-labelledby");switch(s&&(i=jQuery("#"+s,this.window.document).text()),i&&(e=i),t.tagName){case"DIV":case"TD":case"P":case"SPAN":case"LI":this.isNeedGetContent(t)&&(r=this.getTextByNode(t));break;case"IMG":r="button"===jQuery(t).attr("rel")?"按钮:":jQuery(t).attr("role")&&jQuery(t).attr("role").indexOf("img-verification-code")>-1?"验证码:":"图片:",jQuery(t).attr("title")?r+=jQuery(t).attr("title"):jQuery(t).attr("alt")?r+=jQuery(t).attr("alt"):r=r.replace(":","");break;case"A":r=jQuery(t).attr("title")?jQuery(t).attr("title"):jQuery(t).text(),r=jQuery.trim(r);var a=jQuery(t).attr("href"),o=/^http(s?):\/\//,u=!1,n="#"!=a&&""!=a;n&&/^javascript:/.test(a)&&(n=!1);var c=jQuery("img:only-child",t);c.length>0&&(u=!0);var h=!1;o.test(a)&&-1===a.indexOf(Host.domain)&&(h=!0),n&&(h?(u?(""===r&&(r=c.attr("alt")||c.attr("title")),r="外部图片链接:"+r):r="外部链接:"+r,r+="【打开将会离开当前系统】"):u?(""===r&&(r=c.attr("alt")||c.attr("title")),r="图片链接:"+r):r="链接:"+r);break;case"OBJECT":case"EMBED":jQuery(t).attr("aria-label")&&(r=jQuery(t).attr("aria-label")),r=jQuery.trim(r),r="媒体"+r.length>0?":"+r:"";break;case"TEXTAREA":r="文本框:"+(jQuery(t).val()?jQuery(t).val():e);break;case"INPUT":var l=jQuery(t).attr("type")||"text";switch(l){case"text":r="文本框:"+(jQuery(t).val()?jQuery(t).val():e);break;case"password":r="密码框:"+(jQuery(t).val()?jQuery(t).val():e);break;case"button":r=jQuery(t).attr("title")?jQuery(t).attr("title"):"按钮"+jQuery(t).val();break;case"submit":r=jQuery(t).attr("title")?jQuery(t).attr("title"):"提交按钮"+jQuery(t).val();break;case"radio":r="选中";break;case"checkbox":r="选中";break;case"image":r=jQuery(t).attr("title")?jQuery(t).attr("title"):"图片按钮"+jQuery(t).attr("alt")}break;case"SELECT":for(var y=0;y<t.childNodes.length;y++)if(t.childNodes[y].value===t.value||$(t.childNodes[y]).text()===$(t).val()){r="选项:选择项为"+jQuery(t.childNodes[y]).text();break}r+="按回车键打开选项列表,按上下键切换选项,按回车键选中选项。";break;case"BUTTON":r=jQuery(t).attr("title")?jQuery(t).attr("title"):jQuery(t).text(),r=jQuery.trim(r),r&&(r="按钮:"+r);break;case"AUDIO":var g=jQuery(t).attr("aria-describedby");g&&(r=jQuery("#"+g).text()),r=jQuery.trim(r),r&&(r="音频:"+r);break;case"VIDEO":var g=jQuery(t).attr("aria-describedby");g&&(r=jQuery("#"+g).text()),r=jQuery.trim(r),r&&(r="视频:"+r);break;default:r=jQuery(t).text()}return r=jQuery.trim(r),""==r&&""!=jQuery.trim(e)&&(r=e),"region"==jQuery(t).attr("role")&&(r="提示:您已进入"+i+this.getRegionInfo(t)),this.extText&&(r+=this.extText),jQuery.trim(r).replace(/\n\s*/g," ")},isNeedGetContent:function(t){var e=[],r=t.childNodes,i=jQuery(t).attr("role"),s=["region","navigation","search"];if(i&&jQuery.inArray(i,s)>-1)return!0;for(var a=0;a<r.length;a++){var o=r[a];3===o.nodeType&&e.push(o.nodeValue)}var u=e.join("").replace(/[\r\n\t\f\s]/g,"");return u.length>0},getTextByNode:function(t){for(var e,r="",i="",s=t.childNodes,a=0,o=s.length;o>a;
12a++)if(e=s[a],3===e.nodeType)r+=jQuery.trim(e.nodeValue);else if("OBJECT"===e.tagName||"EMBED"===e.tagName){if(jQuery(e).is(":hidden"))continue;jQuery(e).attr("aria-label")&&(i=jQuery(e).attr("aria-label")),i=jQuery.trim(i),r+="媒体"+(i.length>0?":"+i:"")}else if("STYLE"!==e.tagName&&"SCRIPT"!==e.tagName){if(jQuery(e).is(":hidden"))continue;r+=this.getTextByNode(e)}return jQuery.trim(r)},getRegionInfo:function(t){var e=[",本区域含有"],r=["a","img","video","audio"],i=["链接","图片","视频","音频"];return jQuery.each(r,function(r,s){var a=jQuery(s,t);a.length>0&&e.push(a.length+"个"+i[r])}),e.length>1&&!this.isMobileMode()&&e.push(";按下tab键浏览信息"),e.length>1?e.join(""):""},focusFirstEl:function(){this.focus(this.elements[0])},setTransformOrigin:function(t){var e=this.imgBox=t.currentTarget,r=this.getOrigin(t);e.style.transformOrigin=r},getRelativeOrigin:function(t,e){var r="left",i=t.getBoundingClientRect(),s=e.getBoundingClientRect();return r=i.right<=s.left?"0 "+s.height+"px":s.width+"px "+s.height+"px",i.bottom<=s.top&&(r="top"),r},getOrigin:function(t){var e=t.currentTarget,r=e.getBoundingClientRect(),i=this.getMousePosition(t),s="0 0";return s=i.x>r.width/2?i.y>r.height/2?r.width+"px "+r.height+"px":r.width+"px 0":i.y>r.height/2?"0 "+r.height+"px":"0 0"},getMousePosition:function(t){return{x:t.offsetX,y:t.offsetY}},isMobileMode:function(){return jQuery(".Huilan-ass-float-toolbar").is(":visible")},bindAss:function(t){this.ass=t}};
13;/*!js/VAFont.js*/
14VAFont=function(t,i){this.window=t?t:window,this.fontMax=24,this.fontMin=10,this.fontSize=i?i:12,this.area="a, span, p, li, b, div, td, h1, h2, h3, h4, h5, h6, font",this.active=jQuery.proxy(this.active,this),this.fontPlus=jQuery.proxy(this.fontPlus,this),this.fontMinus=jQuery.proxy(this.fontMinus,this),this.size=jQuery.proxy(this.size,this)},VAFont.prototype={active:function(){"number"==typeof this.fontSize&&jQuery(this.area,this.window.document.body).css("font-size",this.fontSize)},fontPlus:function(){return"number"!=typeof this.fontSize&&(this.fontSize=12),this.fontSize==this.fontMax?!1:(this.fontSize+=2,this.fontSize>this.fontMax&&(this.fontSize=this.fontMax),jQuery(this.area,this.window.document.body).css("font-size",this.fontSize),this.fontSize<this.fontMax)},fontMinus:function(){return"number"!=typeof this.fontSize&&(this.fontSize=12),this.fontSize==this.fontMin?!1:(this.fontSize-=2,this.fontSize<this.fontMin&&(this.fontSize=this.fontMin),jQuery(this.area,this.window.document.body).css("font-size",this.fontSize),this.fontSize>this.fontMin)},size:function(t){return t?(this.fontSize=t,void("number"==typeof this.fontSize?jQuery(this.area,this.window.document.body).css("font-size",this.fontSize):jQuery(this.area,this.window.document.body).css("font-size",""))):this.fontSize}};
15;/*!js/VAHistory.js*/
16VAHistory=function(s,t){this.window=s?s:window,this.changed=t,this.backs=[],this.forwards=[],this.last=null,this.isBack=!1,this.isForward=!1,this.isRefresh=!1,this.back=jQuery.proxy(this.back,this),this.forward=jQuery.proxy(this.forward,this)},VAHistory.prototype={active:function(){var s=this.window.document.title,t=this.window.location.href;this.last&&t!=this.last.url&&this.backs.push(this.last),this.last={title:s,url:t},this.isBack||this.isForward||this.isRefresh||(this.forwards=[]),jQuery.isFunction(this.changed)&&this.changed(),this.isBack=!1,this.isForward=!1,this.isRefresh=!1},canBack:function(){return this.backs.length>0},canForward:function(){return this.forwards.length>0},back:function(){this.canBack()&&(this.last&&this.forwards.push(this.last),this.last=this.backs.pop(),this.isBack=!0,this.window.location.href=this.last.url)},forward:function(){this.canForward()&&(this.last&&this.backs.push(this.last),this.last=this.forwards.pop(),this.isForward=!0,this.window.location.href=this.last.url)}};
17;/*!js/VAScreen.js*/
18VAScreen=function(t,i,n,s){this.screen=t,this.isShow=!!i,this.window=n?n:window,this.lang="",this.text="",this.init=jQuery.proxy(this.init,this),this.show=jQuery.proxy(this.show,this),this.hide=jQuery.proxy(this.hide,this),this.showText=jQuery.proxy(this.showText,this),this.setLang=jQuery.proxy(this.setLang,this),this.init(),s&&this.setLang(s)},VAScreen.prototype={init:function(){var t=this;this.isShow?this.show():this.hide(),this.pinyinBtn=jQuery('button[cmd="pinyin"]',this.screen),this.translateBtn=jQuery('button[cmd="translate"]',this.screen),this.pinyinBtn.click(function(){$(this).hasClass("active")?t.closePinyin():t.openPinyin()}),this.translateBtn.click(function(){$(this).hasClass("active")?t.closeTraditional():t.openTraditional()}),jQuery(this.window.frameElement).on("load",function(){var i,n=$('[data-type="Huilan-ass-lang"]:eq(0)',this.contentWindow.document);n.length>0&&(i=n.attr("data-huilan-ass-site-lang")),i||(i=jQuery("html",this.contentWindow).attr("lang")),i?t.setLang(i):t.lang||t.setLang("zh-cmn-Hans"),t.initBtn()})},initBtn:function(){var t=$('[data-type="Huilan-ass-lang"]',this.window.document);t.length>0&&(t[0].setHuilanAssSiteLang=this.setLang)},setLang:function(t){this.lang!=t&&(this.lang=t,this.changeLang())},changeLang:function(){switch(this.lang){case"zh-CN":case"zh-cmn-Hans":this.pinyinBtn.prop("disabled",!1),this.translateBtn.prop("disabled",!1),this.translateBtn.data("transfer","toHant"),this.translateBtn.text("繁体"),this.pinyinBtn.parent().show();break;case"zh-cmn-Hant":this.pinyinBtn.prop("disabled",!1),this.translateBtn.prop("disabled",!1),this.translateBtn.data("transfer","toHans"),this.translateBtn.text("简体"),this.pinyinBtn.parent().show();break;default:this.pinyinBtn.prop("disabled",!0),this.translateBtn.prop("disabled",!0),this.translateBtn.data("transfer",""),this.closeTraditional(),this.closePinyin(),this.pinyinBtn.parent().hide()}},show:function(){jQuery(this.screen).show(),this.isShow=!0}
18,hide:function(){jQuery(this.screen).hide(),this.isShow=!1},openTraditional:function(){this.translateBtn.addClass("active"),this.translate=new Translate,this.showText(this.text)},closeTraditional:function(){this.translateBtn.removeClass("active"),this.translate=null,this.showText(this.text)},openPinyin:function(){this.pinyinBtn.addClass("active"),this.pinyin=new Pinyin,this.showText(this.text)},closePinyin:function(){this.pinyinBtn.removeClass("active"),this.pinyin=null,this.showText(this.text)},translateText:function(t){var i=this.translateBtn.data("transfer"),n={toHant:"ToTraditionalChinese",toHans:"ToSimplifiedChinese"};return i?this.translate[n[i]](t):t},showText:function(t){var i=jQuery(".screen-view",this.screen);this.text=t;var n,s=t.split("");if(this.translate){var a=this.translateText(t);s=a.split("")}this.pinyin&&(n=this.pinyin.GetPinyinList(t,!0));var e=s.map(function(t,i){var s="";return n&&(s="<span>"+(n[i]?n[i]:t)+"</span>"),'<div class="text">'+s+t+"</div>"});i.html(e.join(""))}};
19;/*!js/VAScroll.js*/
20VAScroll=function(t){this.window=t?t:window,this.up=null,this.down=null,this.left=null,this.right=null,this.speed=1,this.scrollDown=jQuery.proxy(this.scrollDown,this),this.scrollUp=jQuery.proxy(this.scrollUp,this),this.scrollRight=jQuery.proxy(this.scrollRight,this),this.scrollLeft=jQuery.proxy(this.scrollLeft,this),this.mousemove=jQuery.proxy(this.mousemove,this),this.getScrollVars=jQuery.proxy(this.getScrollVars,this)},VAScroll.prototype={active:function(){jQuery(this.window.document).bind("mousemove",this.mousemove)},mousemove:function(t){var s=this.getScrollVars(),i=t.pageY-s.st;i>10&&50>i?(this.speed=30>i?5:1,this.up||(this.up=setTimeout(this.scrollUp,300))):this.up&&(clearTimeout(this.up),this.up=null),i=s.h+s.st-t.pageY,i>10&&50>i?(this.speed=30>i?5:1,this.down||(this.down=setTimeout(this.scrollDown,300))):this.down&&(clearTimeout(this.down),this.down=null),i=t.pageX-s.sl,i>10&&50>i?(this.speed=30>i?5:1,this.left||(this.left=setTimeout(this.scrollLeft,300))):this.left&&(clearTimeout(this.left),this.left=null),i=s.w+s.sl-t.pageX,i>10&&50>i?(this.speed=30>i?5:1,this.right||(this.right=setTimeout(this.scrollRight,300))):this.right&&(clearTimeout(this.right),this.right=null)},scrollDown:function(){var t=this.getScrollVars();t.h+t.st<t.sh&&(this.window.scrollTo(t.sl,t.st+this.speed),this.down=setTimeout(this.scrollDown,50))},scrollUp:function(){var t=this.getScrollVars();t.st>0&&(this.window.scrollTo(t.sl,t.st-this.speed),this.up=setTimeout(this.scrollUp,50))},scrollRight:function(){var t=this.getScrollVars();t.w+t.sl<t.sw&&(this.window.scrollTo(t.sl+this.speed,t.st),this.right=setTimeout(this.scrollRight,50))},scrollLeft:function(){var t=this.getScrollVars();t.sl>0&&(this.window.scrollTo(t.sl-this.speed,t.st),this.left=setTimeout(this.scrollLeft,50))},getScrollVars:function(){var t={};return t.st=this.window.document.documentElement.scrollTop,t.sl=this.window.document.documentElement.scrollLeft,t.sw=this.window.document.documentElement.scrollWidth,t.sh=this.window.document.documentElement.scrollHeight,t.w=this.window.document.documentElement.clientWidth,t.h=this.window.document.documentElement.clientHeight,t}};
21;/*!js/VAStore.js*/
22VAStore=function(e){this.prefix=e&&e.prefix||"huilan-ass"},VAStore.prototype={get:function(e){sessionStorage.getItem(this.prefix+e)},set:function(e,t){sessionStorage.setItem(this.prefix+e,t)},remove:function(e){sessionStorage.removeItem(this.prefix+e)},clear:function(){for(var e=[],t=0;t<sessionStorage.length;t++){var s=sessionStorage.key(t);s.startsWith(this.prefix)&&e.push(s)}e.forEach(function(e){sessionStorage.removeItem(e)})}};
23;/*!js/VATab.js*/
24VATab=function(t){this.window=t?t:window},VATab.prototype={init:function(){this.doc=this.window.document;var t=this,e=jQuery("body",this.doc)[0];this.curTabElement=null,this.curregion=null,this.curNav=null,jQuery(e).mousemove(function(){t.clearcurNav(),t.clearCurRegion()}),this.curFocusEl=null,jQuery(e).on({focusin:function(e){t.curFocusEl=e.target},focusout:function(e){e.target==this.curFocusEl&&(t.curFocusEl=null)}})},tabPress:function(t,e,n){var i=jQuery(e).attr("role");
24if("search"==i||"region"==i){var o=jQuery("a, span, img, input, button, select, textarea, li, b, i, strong, h1, h2, h3, h4, h5, h6, font, p, div, td",e).not("a *, [role='presentation'], [role='none']").eq(0);o.length>0?n.focus(o[0],"tab"):(n.focusNext(),n.useFocusNext=!1)}else n.focusNext(),n.useFocusNext=!1;t.preventDefault()},isVisibleNode:function(t){return jQuery.inArray(t.tagName,["SCRIPT","STYLE","LINK","NOSCRIPT"])>-1?!1:"INPUT"==t.tagName&&"hidden"==t.type?!1:"none"==t.style.display||"hidden"==t.style.visibility?!1:!0},focusElement:function(t){var e=jQuery(t);if(this.curTabElement&&this.curTabElement.trigger("mouseout","tab"),e.length){var n=e.offset().top,i=jQuery(this.window),o=i.height(),u=i.scrollTop(),r=!1;r=u>n?!0:n-u-o>0,r&&jQuery("html",this.doc).animate({scrollTop:n},500),"OPTION"===e[0].tagName?(e.parent()[0].value=e[0].value,setTimeout(function(){e.parent().trigger("mouseover")},0)):e.trigger("mouseover","tab"),this.curTabElement=e}},focusSearch:function(){var t=$('[role="search"]',this.window.document);this.focusElement(t[0])},prevRegion:function(){this.focusRegion(-1)},nextRegion:function(){this.focusRegion(1)},focusRegion:function(t){var e=this.curregion,n=jQuery('[role="region"]',this.doc),i=-1;e&&(i=n.index(e)),t&&(i+=t);var o=n.eq(i%n.length);this.focusElement(o),this.curregion=o},clearCurRegion:function(){this.curregion=null},prevNav:function(){this.focusNav(-1)},nextNav:function(){this.focusNav(1)},focusNav:function(t){var e=this.curNav,n=jQuery('[role="navigation"]:eq(0) a:visible',this.doc),i=-1;e&&(i=n.index(e)),t&&(i+=t);var o=n.eq(i%n.length);this.focusElement(o),this.curNav=o},clearcurNav:function(){this.curNav=null},fastInsert:function(){var t=this;jQuery("input, textarea",this.doc).each(function(){return t.isVisibleNode(this)?(t.focusElement(this),!1):void 0})},getSmartguidanceText:function(){var t=jQuery('[role="navigation"]',this.doc),e=jQuery('[role="region"]',this.doc),n=$('[role="search"]',this.window.document),i=[t.length>0?t.length+"个导航区":"",e.length>0?e.length+"个视窗区":"",n.length>0?n.length+"个搜索区":""],o=["alt+上下箭头,切换信息区","alt+左右箭头,切换栏目","alt+F,快速搜索","alt+Insert,信息录入","alt+R,显示智能引导语"];return"本页由"+i.join("、")+"组成,操作帮助请按Alt+问号;"+o.join(";")}};
25;/*!js/VATarget.js*/
26VATarget=function(t,i){this.window=t?t:window,this.clickHandler=jQuery.proxy(this.clickHandler,this),i.relationSites&&this.handleRelationSites(i.relationSites)},VATarget.prototype={handleRelationSites:function(t){var i=this;this.relDomain=[],this.relDominA11y=[],t.forEach(function(t){i.relDomain.push(t.url);var n=t.a11yUrl;n||(n=t.url+"/AiWza/index.html"),i.relDominA11y.push(n)})},active:function(){this.handleLink(this.window)},handleLink:function(t){var i=this,n=t.frames.length;if(jQuery(t.document).on("click","a",this.clickHandler),n>0)for(var e=0;n>e;e++)try{jQuery(t.frames[e].document).on("click","a",this.clickHandler),this.handleLink(t.frames[e]),jQuery(t.frames[e].frameElement).on("load",function(){i.handleLink(this.contentWindow)})}catch(o){}},getOpenUrl:function(t){var i=t.match(/https?:\/\/[^\/]+/);if(i&&this.relDomain){var n=this.relDomain.indexOf(i[0]);if(n>-1)return this.relDominA11y[n]+"#"+t.replace(i[0],"")}return t},clickHandler:function(t){t.preventDefault();var i="";if(i="a"!=t.target.tagName.toLowerCase()?jQuery($(t.target).parents("a")).attr("href"):jQuery(t.target).attr("href")){if("javascript:"==i.substring(0,11))return void this.window.eval(i.substring(11));if("http:"==i.substring(0,5)||"https:"==i.substring(0,6)){if(!(i.indexOf(Host.domain)>-1)){var n=this.getOpenUrl(i);return void this.window.open(encodeURI(n),"_blank")}this.window.document.location.href=encodeURI(i)}else if("/"==i.substring(0,1))i=this.window.document.location.protocol+"//"+this.window.document.location.host+i;else if("#"==i.substring(0,1))i=this.window.document.location.href+i;else{var e=this.window.document.location.href.lastIndexOf("/");i=e>7?this.window.document.location.href.substring(0,e+1)+i:this.window.document.location.href+"/"+i}this.window.document.location.href=encodeURI(i)}}};
27;/*!js/VAText.js*/
28VAText=function(e){this.window=e?e:window,this.isText=!1,this.text=jQuery.proxy(this.text,this),this.reset=jQuery.proxy(this.reset,this),this.active=jQuery.proxy(this.active,this)},VAText.prototype={active:function(){this.isText&&this.text()},removeFrames:function(e){for(var t=this,i=e.frames;i.length>0;){var r=i[0].frames;if(r.length>0)this.removeFrames(i[0]);else{try{var n=e.document.createElement("div"),s=i[0].frameElement;t.getText(i[0]),n.innerHTML=i[0].document.body.innerHTML,s.parentNode.insertBefore(n,s)}catch(o){}s?jQuery(s).remove():jQuery("iframe:eq(0)",e.document).remove(),s=null}i=e.frames}jQuery("frameset",e.document).each(function(){var e=jQuery("<div></div>");e.html(jQuery(this).html()),e.insertBefore(this),jQuery(this).remove()})},text:function(){this.isText=!0;jQuery(this.window.document)[0];this.removeFrames(this.window),this.getText(this.window)},getText:function(e){var t=jQuery(e.document)[0];jQuery(e.document).find("link, style:not('#Huilan-cursor')").remove().end().find("img,object,embed,video,audio").each(function(){var e=this.alt||this.title;if(e){var i=t.createElement("span");i.innerHTML=e,this.parentNode.insertBefore(i,this)}jQuery(this).remove()}).end().find("*").not('script, div[va=cross], [data-type="Huilan-ass-btn"]').each(function(){jQuery(this).removeAttr("style background bgcolor")})},reset:function(){this.isText=!1,this.window.location.reload()}};
29;/*!js/VAZoom.js*/
30VAZoom=function(o,t){this.window=o?o:window,this.zoom=t?t:1,this.zoomMax=4,this.zoomMin=.1,this.zoomIn=jQuery.proxy(this.zoomIn,this),this.zoomOut=jQuery.proxy(this.zoomOut,this),this.doZoom=jQuery.proxy(this.doZoom,this),this.ratio=jQuery.proxy(this.ratio,this),this.active=jQuery.proxy(this.active,this)},VAZoom.prototype={active:function(){this.doZoom()},zoomIn:function(){return this.zoom=(10*this.zoom-1)/10,this.doZoom(this.zoom),this.zoom-this.zoomMin>.05},zoomOut:function(){return this.zoom=(10*this.zoom+1)/10,this.doZoom(this.zoom),this.zoomMax-this.zoom>.05},ratio:function(o){return o?(this.zoom=parseFloat(o),void this.doZoom(this.zoom)):this.zoom},doZoom:function(){var o=jQuery(this.window.document.body),t=o.outerWidth(),i=o.outerHeight();if(void 0==o[0].style.zoom)o.css({"margin-top":i*(this.zoom-1)/2,transform:"scale("+this.zoom+")"});else{o.css("zoom",this.zoom),document.scrollLeft=t*(this.zoom-1)/2;try{this.window.document.body.scrollLeft=t.width*(this.zoom-1)/2}catch(s){}}}};
31;/*!js/mobileToolbar.js*/
32function MobileToolbar(t){this.ass=t,this.$=jQuery,this.$doc=this.$(document),this.$root=this.$(".Huilan-ass-float-toolbar"),this.$toggleBtn=this.$(".Huilan-ass-float-toolbar-btn"),this.$closeBtn=this.$(".Huilan-ass-float-close-btn"),this.$toolbar=this.$(".Huilan-ass-float-tools"),this.$moveHelper=this.$(".Huilan-ass-float-toolbar-move-helper"),this.$colorEl=this.$(".Huilan-ass-float-tools li:eq(0)"),this.$readEl=this.$(".Huilan-ass-float-tools li:eq(1)"),this.$TextEl=this.$(".Huilan-ass-float-tools li:eq(2)"),this.$zoomOutEl=this.$(".Huilan-ass-float-tools li:eq(3)"),this.$zoomInEl=this.$(".Huilan-ass-float-tools li:eq(4)"),this.textMode=!1,this.colorMode=-1,this.readable=!1,this.dragStartPos={},this.draging=!1,this.dragged=!1,this.init()}MobileToolbar.prototype={init:function(){this.bindEvent()},bindEvent:function(){var t=this;this.$toggleBtn.on("touchstart",function(o){var s=o.changedTouches[0];o.preventDefault(),t.dragStart(s)}),this.$doc.on("touchmove",function(o){var s=o.changedTouches[0];o.preventDefault(),t.dragMove(s)}),this.$toggleBtn.on("touchend",function(){t.dragEnd()}),this.$closeBtn.on("click",this.closeToolbar.bind(this)),this.$colorEl.on("click",this.changeColors.bind(this)),this.$readEl.on("click",this.toggleRead.bind(this)),this.$TextEl.on("click",this.toggleTextMode.bind(this)),this.$zoomOutEl.on("click",this.zoomOut.bind(this)),this.$zoomInEl.on("click",this.zoomIn.bind(this))},dragStart:function(t){this.$moveHelper.show();var o=this.$root.position();this.dragStartPos={left:t.pageX,top:t.pageY,oldPos:o},this.draging=!0},dragMove:function(t){if(this.draging){var o={x:t.pageX-this.dragStartPos.left,y:t.pageY-this.dragStartPos.top};(o.x>0||o.y>0)&&(this.dragged||(this.dragged=!0));var s=this.dragStartPos.oldPos,i=this.$root.outerWidth(),l=this.$root.outerHeight(),e=s.left+o.x,a=s.top+o.y,h=this.$(window).width(),n=this.$(window).height();0>e&&(e=0),0>a&&(a=0);var r=h-e-i,d=n-a-l;0>r&&(r=0),0>d&&(d=0),this.$root.css({right:r,bottom:d})}},dragEnd:function(){this.$moveHelper.hide(),this.dragged?(this.draging=!1,this.dragged=!1):this.toggleToolbar()},toggleToolbar:function(){var t="Huilan-ass-float-toolbar-open",o=this;this.$root.hasClass(t)?(this.$toolbar.one("animationend",function(){o.$root.removeClass(t),o.$toolbar.removeClass("toolZoomOut")}),this.$toolbar.addClass("toolZoomOut")):this.$root.addClass(t)},closeToolbar:function(){this.ass.cmd_exit()},changeColors:function(){var t=[{nextCls:"blue-yellow-white",colors:["White","White","Black"]},{nextCls:"yellow-blue-black",colors:["Yellow","Yellow","Blue"]},{nextCls:"black-yellow-white",colors:["Blue","Blue","Yellow"]},{nextCls:"normal-colors",colors:["Yellow","Yellow","Black"]}],o=this.ass.vAColor,s=this.ass.vAFocus,i=o.length;if(this.colorMode++,this.$colorEl.removeClass(),this.colorMode<t.length){var l=t[this.colorMode];this.$colorEl.addClass(l.nextCls);for(var e=0;i>e;e++)o[e].paint.apply(o[e],l.colors),s[e].paint.apply(s[e],l.colors)}else{this.colorMode=-1;for(var e=0;i>e;e++)o[e].reset(),s[e].reset()}this.$colorEl.text("3"==this.colorMode?"原":"A")},toggleRead:function(){if(this.readable){this.readable=!1,this.ass.canRead=!1,this.ass.canReadon=!1;var t=this.ass.vAFocus,o=t.length;this.ass.reader.stop();for(var s=0;o>s;s++)t[s].clearFocusNext(),t[s].current&&t[s].blur(t[s].current)}else this.readable=!0,this.ass.canRead=!0},toggleTextMode:function(){var t=this.ass.vAText;this.textMode?(this.textMode=!1,t.reset()):(t.text(),this.textMode=!0)},zoomOut:function(){var t=this.ass.vAZoom;t.zoomOut()?this.enable(this.$zoomInEl):this.disable(this.$zoomOutEl)},zoomIn:function(){var t=this.ass.vAZoom;t.zoomIn()?this.enable(this.$zoomOutEl):this.disable(this.$zoomInEl)},enable:function(t){t.removeClass("disabled")},disable:function(t){t.addClass("disabled")}};
33;/*!js/Assistants.js*/
34var Assistant=function(e){this.config=e,this.startUrl=e.startUrl,this.theme=e.theme,this.guide=!(e.guide===!1),this.readControlFlag=e.readControl,this.floatWindowSelector=e.floatWindowSelector,this.frame=document.getElementById("frame"),this.screen=document.getElementById("screen"),this.version="2.3.0",this.mouseenter=jQuery.proxy(this.mouseenter,this),this.mouseleave=jQuery.proxy(this.mouseleave,this),this.mousemove=jQuery.proxy(this.mousemove,this),this.click=jQuery.proxy(this.click,this),this.dblclick=jQuery.proxy(this.dblclick,this),this.init=jQuery.proxy(this.init,this),this.frameFocusChanged=jQuery.proxy(this.frameFocusChanged,this),this.enable=jQuery.proxy(this.enable,this),this.disable=jQuery.proxy(this.disable,this),this.adjust=jQuery.proxy(this.adjust,this),this.historyChanged=jQuery.proxy(this.historyChanged,this),this.focusChanged=jQuery.proxy(this.focusChanged,this),this.screenFocus=jQuery.proxy(this.screenFocus,this),this.readerFocus=jQuery.proxy(this.readerFocus,this),this.split=jQuery.proxy(this.split,this),this.isSeparator=jQuery.proxy(this.isSeparator,this),this.initReader=jQuery.proxy(this.initReader,this),this.frameLoad=jQuery.proxy(this.frameLoad,this),this.toolFocus=jQuery.proxy(this.toolFocus,this),this.shortcuts=jQuery.proxy(this.shortcuts,this),this.cmd_reset=jQuery.proxy(this.cmd_reset,this),this.cmd_back=jQuery.proxy(this.cmd_back,this),this.cmd_forward=jQuery.proxy(this.cmd_forward,this),this.cmd_refresh=jQuery.proxy(this.cmd_refresh,this),this.cmd_screen=jQuery.proxy(this.cmd_screen,this),this.cmd_zoomout=jQuery.proxy(this.cmd_zoomout,this),this.cmd_zoomin=jQuery.proxy(this.cmd_zoomin,this),this.cmd_cross=jQuery.proxy(this.cmd_cross,this),this.cmd_colors=jQuery.proxy(this.cmd_colors,this),this.cmd_text=jQuery.proxy(this.cmd_text,this),this.cmd_read=jQuery.proxy(this.cmd_read,this),this.cmd_volumeplus=jQuery.proxy(this.cmd_volumeplus,this),this.cmd_volumeminus=jQuery.proxy(this.cmd_volumeminus,this),this.hide_about=jQuery.proxy(this.hide_about,this),this.vAScreen=new VAScreen(this.screen,!1,this.frame.contentWindow,e.siteLang),this.vAZoom=new VAZoom(this.frame.contentWindow),this.vAFont=[new VAFont(this.frame.contentWindow,"auto")],this.vACross=new VACross(this.frame.contentWindow,!1,this.vAZoom),this.vAColor=[new VAColor(this.frame.contentWindow)],this.vAText=new VAText(this.frame.contentWindow),this.vAHistory=new VAHistory(this.frame.contentWindow,this.historyChanged),this.vAFocus=[new VAFocus(this.frame.contentWindow,this.focusChanged)],this.vAScroll=ne
34w VAScroll(this.frame.contentWindow),this.vATarget=new VATarget(this.frame.contentWindow,this.config),this.mask=new Mask(this.frame.contentWindow,"loading"),this.VATab=new VATab(this.frame.contentWindow),this.VACursor=new VACursor(this.frame.contentWindow),this.vAFocus[0].bindAss(this),this.curVAFocus=this.vAFocus[0],window.HuilanA11y=!0,this.init()};Assistant.prototype={constructor:Assistant,init:function(){var e=this,s=600,t=$(window).width(),i=[];if(jQuery(".Huilan-senior-toolbar").length>0&&(this.isSenior=!0),t>s){jQuery("#Huilan-ass-toolbar").show();var a=["#Huilan-ass-toolbar>.Huilan-ass-tools:first-child> li[cmd]",".Huilan-ass-colors-list >li",".Huilan-ass-cursor-list >li",".Huilan-ass-zoom-list >li",".Huilan-ass-volume-list >li:not(.disabled)"];jQuery(a.join()).bind("mouseenter",this.mouseenter).bind("mouseleave",this.mouseleave).bind("click",this.click).bind("dblclick",this.dblclick),jQuery(".Huilan-ass-tools-guide > li:not(:first,:last)").click(this.click),this.initTheme(),this.initSlider(),jQuery(window).resize(this.adjust),jQuery(document.body).click(function(){e.closeSubMenu()}),jQuery("#about .close-btn").click(this.hide_about),jQuery(".quit-btn").click(this.hide_guide),jQuery(document).keydown(this.shortcuts),i=["欢迎进入网站无障碍服务","您可以Alt+加号变大网页;","您可以Alt+减号缩小网页;","您可以Alt+1打开语音播报功能;","您可以Alt+C改变网页对比色;","您可以通过Alt+左右箭头切换栏目;","您可以通过Alt+上下箭头切换网页区域;","您可以Alt+F快速定位到搜索区;","更多帮助您可以通过Alt+问号查看!"],setTimeout(function(){e.closeRead()},100)}else jQuery(".Huilan-ass-float-toolbar").show(),new MobileToolbar(this),i=["欢迎进入网站无障碍服务"];this.initStartUrl(),jQuery(this.frame).bind("load",this.frameLoad),jQuery(".Huilan-ass-mask").on("click",function(){$(this).hide()}),this.reader=new EasyReader({speed:"slow",playerPath:Host.playerPath,changeTTS:this.config.changeTTS}),this.initReader(),this.adjust(),this.mask.show(),this.frame.src=this.startUrl,setTimeout(function(){$('#Huilan-ass-toolbar li[cmd="screen"]',window.top.document).trigger("click"),e.readControlFlag&&e.cmd_readControl(),e.guide&&e.readerFocus(i.join(""),e.vAFocus[0],!0)},1e3)},initStartUrl:function(){var e=window.location.hash;e&&(e=e.substr(1)),e&&(e=e.replace(/^javascript:/,""),this.startUrl=encodeURI(e))},initTheme:function(){var e="#10122b",s={"default":"#10122b","theme-black":"#262626","theme-blue":"#102d54","theme-white":"#f7f7f7","theme-red":"#ae0e16"};e=s[this.theme],this.theme&&"default"!=this.theme&&jQuery("#Huilan-ass-toolbar").addClass(this.theme),this.isSenior||$("#Huilan-ass-toolbar .Huilan-ass-tools:eq(0) li").on("mouseenter",function(){if(!($("#ani-helper",this).length>0||$(this).hasClass("disabled")||$(this).hasClass("selected")||"readControl"==$(this).attr("cmd"))){var s=new SVG,t=$('<div id="ani-helper"></div>');$(".Huilan-ass-icon-container",this).append(t),s.addTo(t[0]).size(100,20);var i=s.path("m0,0a40.94,9.63325 0 0 1 26,2.17654a33.85,7.96496 0 0 0 21.6,1.82359a33.88,7.97202 0 0 0 21.63,-1.82359a40.9,9.62384 0 0 1 26,-2.17654").fill(e);i.animate(200).plot("m0,0a40.94,43.34822 0 0 1 26,9.79411a33.85,35.84116 0 0 0 21.6,8.20588a33.88,35.87293 0 0 0 21.63,-8.20588a40.9,43.30585 0 0 1 26,-9.79411").animate(200).plot("m0,0a40.94,26.49074 0 0 1 26,5.98532a33.85,21.90306 0 0 0 21.6,5.01474a33.88,21.92248 0 0 0 21.63,-5.01474a40.9,26.46485 0 0 1 26,-5.98532").animate(200).plot("m0,0a40.94,43.34822 0 0 1 26,9.79411a33.85,35.84116 0 0 0 21.6,8.20588a33.88,35.87293 0 0 0 21.63,-8.20588a40.9,43.30585 0 0 1 26,-9.79411").animate(200).plot("m0,0a40.94,26.49074 0 0 1 26,5.98532a33.85,21.90306 0 0 0 21.6,5.01474a33.88,21.92248 0 0 0 21.63,-5.01474a40.9,26.46485 0 0 1 26,-5.98532").animate(200).plot("m0,0a40.94,33.71537 0 0 1 26,7.61766a33.85,27.87653 0 0 0 21.6,6.38237a33.88,27.90124 0 0 0 21.63,-6.38237a40.9,33.68242 0 0 1 26,-7.61766")}}).on("mouseleave",function(){$("#ani-helper").remove()})},closeSubMenu:function(){var e=["li[cmd=colors]","li[cmd=cursor]","li[cmd=zoom]","li[cmd=volume]","li[cmd=rate]"],s=[".Huilan-ass-colors-list-container",".Huilan-ass-cursor-list-container",".Huilan-ass-zoom-list-container",".Huilan-ass-volume-list-container",".Huilan-ass-rate-list-container"];jQuery(e.join()).removeClass("selected"),jQuery(s.join()).hide()},initReader:function(){this.disable(jQuery("li[cmd=read]")[0]),this.disable(jQuery("li[cmd=volume]")[0]),this.disable(jQuery("li[cmd=rate]")[0]),this.canRead=!1,this.canReadon=!1,this.reader.isEnable()&&(this.enable(jQuery("li[cmd=read]")[0]),this.reader.volume(1),this.reader.canVolumePlus()&&this.enable(jQuery("li[cmd=volumeplus]")[0]),this.reader.canVolumeMinus()&&this.enable(jQuery("li[cmd=volumeminus]")[0])),jQuery("li[cmd=intonation] .Huilan-ass-icon-inner").removeClass("female"),this.reader&&this.reader.changeIntonation(1)},initSlider:function(){var e=this,s=jQuery(".Huilan-ass-rate-list-container");$('input[type="range"]',s).rangeslider({polyfill:!1,onSlide:function(s,t){e.reader.rate(t)}})},updateHash:function(e){var s=e.replace(Host.domain,""),t=window.location.hash.substr(1);s==this.config.startUrl&&(s=""),s!=t&&(window.location.hash=s)},frameLoad:function(){var e=this.frame.contentWindow;document.title=this.frame.contentWindow.document.title,this.reader._reader._args.mp3Path=Host.getCurrent(this.frame.contentWindow).mp3Path,this.vAFont.length=1,this.vAColor.length=1,this.vAFocus.length=1,this.updateHash(e.location.href),this.floatWindowSelector&&jQuery(this.floatWindowSelector,e.document).attr("data-floatWindow","true"),jQuery('[data-floatWindow="true"]',e.document).hide(),jQuery('[data-type="Huilan-ass-btn"]',e.document).hide(),this.vAHistory.active(),this.vACross.active(),this.vAZoom.active(),this.vAFont[0].active(),this.vAColor[0].active(),this.vAText.active(),this.VATab.init(
34),this.vAFocus[0].active(),this.vAScroll.active(),this.vATarget.active(),this.mask.active(),this.VACursor.init(),$(e.document).keydown(this.shortcuts),this.handleFrameLoad(e);var s=this;s.canRead&&(s.reader.getStatus("paused")?s.readerFocus("您当前访问的页面标题为:"+document.title,s.vAFocus[0],!0):$(s).one("readfinish",function(){s.readerFocus("您当前访问的页面标题为:"+document.title,s.vAFocus[0],!0)}))},handleFrameLoad:function(e){for(var s=this,t=e.frames,i=0,a=t.length;a>i;i++)try{$(t[i].document).keydown(this.shortcuts);var r=new VAFocus(t[i],this.frameFocusChanged),o=new VAFont(t[i],"auto"),c=new VAColor(t[i],this.vAColor[0].color,this.vAColor[0].linkColor,this.vAColor[0].bgColor);this.vAFont.push(o),this.vAColor.push(c),this.vAFocus.push(r),r.bindAss(s),r.active(),o.active(),c.active(),t[i].frameElement&&(t[i].frameElement.HuilanA11yFrameIndex=this.vAFocus.length-1,$(t[i].frameElement).on("load",function(){var e=this.contentWindow,t=this.HuilanA11yFrameIndex;s.vAFont.splice(t,1),s.vAColor.splice(t,1),s.vAFocus.splice(t,1),s.handleFrameLoad(e)})),s.handleFrameLoad(t[i])}catch(n){}},frameFocusChanged:function(e){var s=e.getText();s.length>0?this.canRead?this.readerFocus(s,e):this.vAScreen.isShow&&this.screenFocus(s,e):this.canReadon&&e.focusNext(),this.focusEl=e.current},shortcuts:function(e){if(e.altKey&&this.altShortcuts(e),e.shiftKey&&this.shiftShortcuts(e),e.ctrlKey&&this.ctrlShortcuts(e),9===e.keyCode){if(this.curVAFocus.isEndElement)return this.curVAFocus.blur(this.curVAFocus.current),void(this.prevVAFocus?(this.curVAFocus=this.prevVAFocus,this.prevVAFocus.focusNext(),this.prevVAFocus=null):(this.curVAFocus.current=null,this.curVAFocus.isEndElement=!1,this.curVAFocus.focusNext()));this.VATab.tabPress(e,this.focusEl,this.curVAFocus)}},altShortcuts:function(e){var s="",t=!1;switch(e.key){case"+":case"=":s="zoomout",e.preventDefault(),t=!0;break;case"-":s="zoomin",e.preventDefault(),t=!0}if(!t)switch(e.keyCode){case 187:case 107:s="zoomout",e.preventDefault();break;case 189:case 109:s="zoomin",e.preventDefault();break;case 49:case 97:s="readControl",e.preventDefault();break;case 38:this.VATab.prevRegion(),e.preventDefault();break;case 40:this.VATab.nextRegion(),e.preventDefault();break;case 37:this.VATab.prevNav(),e.preventDefault();break;case 39:this.VATab.nextNav(),e.preventDefault();break;case 45:this.VATab.fastInsert(),e.preventDefault();break;case 70:this.VATab.focusSearch(),e.preventDefault();break;case 191:s="about",e.preventDefault();break;case 82:this.show_guide_text(),e.preventDefault()}this.execShortcuts(s)},shiftShortcuts:function(e){var s="";switch(e.keyCode){case 49:s="screen",e.preventDefault();break;case 50:s="read",e.preventDefault();break;case 51:s="cross",e.preventDefault();break;case 52:var t,i=jQuery(".Huilan-ass-colors-list .selected"),a=jQuery(".Huilan-ass-colors-list li:eq(0)");0==i.length?t=a:(t=i.next(),0==t.length&&(t=a)),t.trigger("click"),e.preventDefault();break;case 53:s="text",e.preventDefault();break;case 67:s="exit",e.preventDefault();break;case 90:s="back",e.preventDefault();break;case 89:s="forward",e.preventDefault();break;case 78:s="refresh",e.preventDefault();break;case 82:s="reset",e.preventDefault()}this.execShortcuts(s)},ctrlShortcuts:function(e){var s="",t=!1;switch(e.key){case"=":case"+":s="volumeplus",e.preventDefault(),e.originalEvent.returnValue=!1,t=!0;break;case"-":s="volumeminus",e.preventDefault(),t=!0}if(!t)switch(e.keyCode){case 187:case 107:s="volumeplus",e.preventDefault();break;case 189:case 109:s="volumeminus",e.preventDefault();break;case 49:case 97:s="intonation",e.preventDefault();break;case 191:s="smartguidance",e.preventDefault()}this.execShortcuts(s)},execShortcuts:function(e){if(e){var s=$("#Huilan-ass-toolbar .Huilan-ass-tools> li[cmd="+e+"]",window.top.document);0==s.length&&(s=$("li[cmd="+e+"]",window.top.document)),s.trigger("click")}},toolFocus:function(e){var s=jQuery("h5:nth(0)",e).text(),t=jQuery(e).attr("cmd");switch(s||(s=jQuery(e).attr("title")),t){case"screen":if(this.isSenior)break;s+=this.vAScreen.isShow?"【开】":"【关】";break;case"text":s+=this.vAText.isText?"【开】":"【关】";break;case"cross":s+=this.vACross.isShow?"【开】":"【关】";break;case"read":s+=this.canRead?"【开】":"【关】";break;case"fontminus":case"fontplus":for(var i=this.vAFont.length,a=!0,r=0;i>r;r++)a="auto"!==this.vAFont[r].size()&&a;s+=a?"【"+this.vAFont[0].size()+"】":"【正常】";break;case"zoomin":case"zoomout":s+="【"+Math.round(100*this.vAZoom.ratio())+"%】";break;case"volumeplus":case"volumeminus":s+="【"+parseInt(100*this.reader.volume().toFixed(1))+"%】";break;case"readControl":if(this.isSenior)break;s="语音功能"+(this.canRead?"开":"关")}s&&this.focusChanged(s)},mouseenter:function(e){jQuery(e.currentTarget).addClass("active"),this.toolFocus(e.currentTarget)},mouseleave:function(e){jQuery(e.currentTarget).removeClass("active"),this.vAScreen.showText("")},click:function(e){var s=jQuery(e.currentTarget).attr("cmd"),t=jQuery(e.currentTarget).closest(".Huilan-ass-tools").length>0,i=jQuery(e.currentTarget).hasClass("Huilan-ass-colors-btn"),a=jQuery(e.currentTarget).hasClass("selected");switch(!t||i&&a||this.closeSubMenu(),s){case"reset":this.cmd_reset(e);break;case"back":this.cmd_back(e);break;case"forward":this.cmd_forward(e);break;case"refresh":this.cmd_refresh(e);break;case"screen":this.cmd_screen(e);break;case"zoom":case"zoomout":case"zoomin":this.cmd_zoom(e,s);break;case"cross":this.cmd_cross(e);break;case"colors":case"black-white-blue":case"blue-yellow-white":case"yellow-blue-black":case"black-yellow-white":case"normal-colors":this.cmd_colors(e,s);break;case"cursor":case"cursor-0":case"cursor-1":case"cursor-2":case"cursor-default":this.cmd_cursor(e,s);break;case"text":this.cmd_text(e);break;case"read":this.cmd_read(e);break;case"volume":case"volumeplus":case"volumeminus":this.cmd_volume(e,s);break;case"rate":this.cmd_rate(e);break;case"intonation":this.cmd_intonation(e);break;case"about":this.cmd_about(e);break;case"readControl":this.cmd_readControl(e);break;case"smartguidance":this.cmd_smartguidance(e);break;case"exit":this.cmd_exit(e);break;case"alt-up-down":this.VATab.nextRegion(),e.preventDefault();break;case"alt-left-right":this.VATab.nextNav(),e.preventDefault();break;case"alt-f":this.VATab.focusSearch(),e.preventDefault();break;case"alt-insert":this.VATab.fastInsert(),e.preventDefault();break;case"alt-r":this.show_guide_text()}this.toolFocus(e.currentTarget)},dblclick:function(){},hide_about:function(){jQuery("#about").hide(),this.reader.stop()},cmd_about:function(){var e=jQuery("#about"),s=this;if(e.is(":visible"))this.hide_about();else{if(e.show(),!this.canRead)return;setTimeout(function(){s.readerFocus(jQuery(".about-content",e).text(),s.vAFocus[0],!0)},100)}},cmd_reset:function(){jQuery("#Huilan-ass-toolbar .Huilan-ass-tools> li, .Huilan-ass-colors-list >li, .Huilan-ass-cursor-list >li").removeClass("selected"),this.vAZoom.zoom=1,this.vAText.isText=!1,jQuery(this.screen).css({"background-color":"",color:""}),jQuery("#Huilan-ass-toolbar .Huilan-ass-tools> li[cmd=screen]").addClass("selected"),this.vAScreen.show(),this.vACross.hide(),this.adjust(),this.initReader(),this.readControlFlag?this.openRead():this.closeRead(),this.resetCursor(),this.frame.contentWindow.location.reload();
34var e=$(".Huilan-ass-switch").hasClass("active");this.readControlFlag?e||this.cmd_readControl():e&&this.cmd_readControl();for(var s=this.vAFont.length,t=0;s>t;t++)this.vAFont[t].fontSize="",this.vAColor[t].color="",this.vAFocus[t].reset()},cmd_back:function(){this.vAHistory.back()},cmd_forward:function(){this.vAHistory.forward()},cmd_refresh:function(){this.vAHistory.isRefresh=!0,this.frame.contentWindow.location.reload()},cmd_screen:function(e){var s=jQuery(e.currentTarget);s.hasClass("selected")?(s.removeClass("selected").removeClass("active"),this.vAScreen.hide()):(s.addClass("selected"),this.vAScreen.show()),this.adjust()},cmd_zoom:function(e,s){e.stopPropagation();var t=jQuery(e.currentTarget),i=jQuery(".Huilan-ass-zoom-list-container");if("zoom"===s)t.hasClass("selected")?(i.hide(),t.removeClass("selected").removeClass("active")):(i.show(),t.addClass("selected"));else switch(s){case"zoomout":this.cmd_zoomout(e);break;case"zoomin":this.cmd_zoomin(e)}},cmd_zoomout:function(e){this.vAZoom.zoomOut()?(this.isSenior&&this.vAZoom.ratio()>2&&this.vAZoom.ratio(1),this.enable(jQuery("li[cmd=zoomin]")[0])):this.disable(e.currentTarget)},cmd_zoomin:function(e){this.vAZoom.zoomIn()?this.enable(jQuery("li[cmd=zoomout]")[0]):this.disable(e.currentTarget)},cmd_cross:function(e){var s=jQuery(e.currentTarget);s.hasClass("selected")?(s.removeClass("selected").removeClass("active"),this.vACross.hide()):(s.addClass("selected"),this.vACross.show())},cmd_colors:function(e,s){e.stopPropagation();var t=jQuery(e.currentTarget),i=jQuery(".Huilan-ass-colors-list-container");if("colors"===s)t.hasClass("selected")?(i.hide(),t.removeClass("selected").removeClass("active")):(i.show(),t.addClass("selected"));else{var a=jQuery("li[cmd=colors]");switch(i.hide(),a.removeClass("selected").removeClass("active"),jQuery("li",i).removeClass("selected"),s){case"black-white-blue":jQuery(this.screen).css({"background-color":"Black",color:"White"});for(var r=this.vAColor.length,o=0;r>o;o++)this.vAColor[o].paint("White","White","Black"),this.vAFocus[o].paint("White","White","Black");break;case"blue-yellow-white":jQuery(this.screen).css({"background-color":"Blue",color:"Yellow"});for(var r=this.vAColor.length,o=0;r>o;o++)this.vAColor[o].paint("Yellow","Yellow","Blue"),this.vAFocus[o].paint("Yellow","Yellow","Blue");break;case"yellow-blue-black":jQuery(this.screen).css({"background-color":"Yellow",color:"Blue"});for(var r=this.vAColor.length,o=0;r>o;o++)this.vAColor[o].paint("Blue","Blue","Yellow"),this.vAFocus[o].paint("Blue","Blue","Yellow");break;case"black-yellow-white":jQuery(this.screen).css({"background-color":"Black",color:"Yellow"});for(var r=this.vAColor.length,o=0;r>o;o++)this.vAColor[o].paint("Yellow","Yellow","Black"),this.vAFocus[o].paint("Yellow","Yellow","Black");break;default:jQuery(this.screen).css({"background-color":"",color:""});for(var r=this.vAColor.length,o=0;r>o;o++)this.vAColor[o].reset(),this.vAFocus[o].reset()}t.addClass("selected")}},cmd_cursor:function(e,s){e.stopPropagation();var t=jQuery(e.currentTarget),i=jQuery(".Huilan-ass-cursor-list-container");if("cursor"===s)t.hasClass("selected")?(i.hide(),t.removeClass("selected").removeClass("active")):(i.show(),t.addClass("selected"));else{var a=jQuery("li[cmd=cursor]");i.hide(),a.removeClass("selected").removeClass("active"),jQuery("li",i).removeClass("selected");var r="";switch(s){case"cursor-0":case"cursor-1":case"cursor-2":r=s;break;default:r=""}t.addClass("selected"),jQuery("html").removeClass("cursor-0 cursor-1 cursor-2").addClass(r);var o="";r&&(o=window.location.href.replace(window.location.hash,""),o=o.replace("/#",""),o=o.replace("/index.html",""),o=o.replace("/senior.html",""),o=o+"/images/default/"+r.replace("-","")+".cur"),this.VACursor.change(o)}},resetCursor:function(){jQuery("html").removeClass("cursor-0 cursor-1 cursor-2"),this.VACursor.change("")},cmd_text:function(e){var s=jQuery(e.currentTarget);s.hasClass("selected")?(s.removeClass("selected").removeClass("active"),this.vAText.reset()):(s.addClass("selected"),this.vAText.text())},cmd_read:function(e){var s=jQuery(e.currentTarget);if(this.canReadon){this.canReadon=!1;for(var t=this.vAColor.length,i=0;t>i;i++)this.vAFocus[i].clearFocusNext();jQuery("h5",s).text("指读"),jQuery(".Huilan-ass-icon-readon",s).removeClass("Huilan-ass-icon-readon").addClass("Huilan-ass-icon-read")}else this.canReadon=!0,jQuery("h5",s).text("连读"),jQuery(".Huilan-ass-icon-read",s).removeClass("Huilan-ass-icon-read").addClass("Huilan-ass-icon-readon")},openRead:function(){this.readControl(!0)},closeRead:function(){this.readControl(!1)},readControl:function(e){var s=jQuery("li[cmd=read]"),t=jQuery("li[cmd=intonation]"),i=["li[cmd=volume], li[cmd=rate]"],a=jQuery(".Huilan-ass-volume-list-container"),r="",o=this;this.canRead=e,a.hide(),e?(this.enable(s),s.addClass("selected"),this.enable(t),t.addClass("selected"),r="enable"):(s.removeClass("selected").removeClass("active"),this.canReadon&&(this.canReadon=!1),this.disable(s),jQuery("h5",s).text("指读"),jQuery(".Huilan-ass-icon-readon",s).removeClass("Huilan-ass-icon-readon").addClass("Huilan-ass-icon-read"),this.disable(t),r="disable"),i.forEac
34h(function(e){var s=jQuery(e);o[r](s)})},cmd_volume:function(e,s){e.stopPropagation();var t=jQuery(e.currentTarget),i=jQuery(".Huilan-ass-volume-list-container");if("volume"===s)t.hasClass("selected")?(i.hide(),t.removeClass("selected").removeClass("active")):(i.show(),t.addClass("selected"));else switch(s){case"volumeplus":this.cmd_volumeplus(e);break;case"volumeminus":this.cmd_volumeminus(e)}},cmd_volumeplus:function(e){this.canRead&&(this.reader.volumePlus(),this.reader.canVolumePlus()?this.enable(jQuery("li[cmd=volumeminus]")[0]):this.disable(e.currentTarget))},cmd_volumeminus:function(e){this.canRead&&(this.reader.volumeMinus(),this.reader.canVolumeMinus()?this.enable(jQuery("li[cmd=volumeplus]")[0]):this.disable(e.currentTarget))},cmd_rate:function(e){e.stopPropagation();var s=jQuery(e.currentTarget),t=jQuery(".Huilan-ass-rate-list-container");s.hasClass("selected")?(t.hide(),s.removeClass("selected").removeClass("active")):(t.show(),s.addClass("selected"))},cmd_readControl:function(){var e=$(".Huilan-ass-switch");e.hasClass("active")?(e.removeClass("active"),this.closeRead()):(e.addClass("active"),this.openRead())},cmd_intonation:function(){var e=jQuery("li[cmd=intonation]"),s=jQuery(".Huilan-ass-icon-inner",e);s.hasClass("female")?(s.removeClass("female"),this.reader.changeIntonation(1)):(s.addClass("female"),this.reader.changeIntonation(0))},cmd_smartguidance:function(){var e=jQuery(".Huilan-ass-tools-guide");e.is(":visible")?(this.hide_guide(),jQuery(".Huilan-ass-mask").hide()):(e.parent().show(),e.removeClass("outer").addClass("enter"),jQuery(".Huilan-ass-tools:eq(0)",e.parent().parent()).css("overflow","hidden"),this.show_guide_text(),jQuery(".Huilan-ass-mask").show())},cmd_exit:function(){window.location.href=this.startUrl},hide_guide:function(){jQuery(".Huilan-ass-tools-guide").removeClass("enter").addClass("outer"),jQuery(".Huilan-ass-tools:eq(0)",jQuery(".Huilan-ass-tools-guide").parent().parent()).css("overflow",""),setTimeout(function(){jQuery(".Huilan-ass-tools-guide").parent().hide()},450)},show_guide_text:function(){var e=this;setTimeout(function(){e.focusChanged(e.VATab.getSmartguidanceText())},200)},disable:function(e){if(e=jQuery(e),!e.hasClass("disabled")){{e.attr("cmd")}e.unbind("mouseenter",this.mouseenter).unbind("mouseleave",this.mouseleave).unbind("click",this.click).unbind("dblclick",this.dblclick).removeClass("selected").removeClass("active").addClass("disabled")}},enable:function(e){if(e=jQuery(e),e.hasClass("disabled")){{e.attr("cmd")}e.bind("mouseenter",this.mouseenter).bind("mouseleave",this.mouseleave).bind("click",this.click).bind("dblclick",this.dblclick).removeClass("disabled")}},adjust:function(){var e;e=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;var s=0;jQuery("#Huilan-ass-toolbar").is(":visible")&&(s=jQuery("#Huilan-ass-toolbar").outerHeight(),jQuery("li[cmd=screen]").hasClass("selected")&&(s+=112)),jQuery(this.frame).css("height",e-s)},historyChanged:function(){this.vAHistory.canBack()?this.enable(jQuery("li[cmd=back]")[0]):this.disable(jQuery("li[cmd=back]")[0]),this.vAHistory.canForward()?this.enable(jQuery("li[cmd=forward]")[0]):this.disable(jQuery("li[cmd=forward]")[0])},focusChanged:function(e){if("string"!=typeof e){if(jQuery(this.vAFocus[0].current).is("iframe")){var s=this.vAFocus[0].current.HuilanA11yFrameIndex;return this.prevVAFocus=this.curVAFocus,this.curVAFocus=this.vAFocus[s],this.curVAFocus.isEndElement=!1,this.curVAFocus.current=null,void this.curVAFocus.focusNext()}e=this.vAFocus[0].getText()}e.length>0?this.canRead?this.readerFocus(e,this.vAFocus[0]):this.vAScreen.isShow&&this.screenFocus(e):(this.vAScreen.isShow&&this.screenFocus(e),this.canReadon&&this.vAFocus[0].focusNext()),this.focusEl=this.vAFocus[0].current},screenFocus:function(e,s){var t=this.split(e,30),i=0;clearTimeout(this.vAScreen.timer);var a=jQuery.proxy(function(){return clearTimeout(this.vAScreen.timer),i<t.length&&(this.vAScreen.showText(t[i]),this.vAScreen.timer=setTimeout(a,200*t[i].length)),i++,i===t.length+1?void(this.canReadon&&s.focusNext()):void 0},this);a()},readerFocus:function(e,s){var t=this.split(e,30),i=!!arguments[2];t.i=0;var a=jQuery.proxy(function(){return t.i<t.length&&(this.reader.stop(),this.vAScreen.isShow&&this.vAScreen.showText(t[t.i]),this.reader.readable(t[t.i])?(this.reader.finish=a,this.reader.read(t[t.i])):(t.i++,a())),t.i++,t.i!==t.length+1||($(this).trigger("readfinish"),i)?void 0:void(this.canReadon&&s.focusNext())},this);a()},split:function(e,s){var t=e.length;if(s>t)return[e];for(var i=[],a=0,r=0;t>a;)[",","。",";"].indexOf(e[a])>
34-1&&(i.push(e.substring(r,a+1)),r=a+1),a++;return t>r&&i.push(e.substring(r)),i},isSeparator:function(e){switch(e){case",":case"。":case"!":case"?":case";":case"“":case"”":case":":case"、":case",":case".":case"!":case"?":case";":case'"':case":":case"\n":case"-":case" ":return!0;default:return!1}}};

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.