1jQuery(function(){jQuery.expr[':'].externallink=function(obj){if(obj.href.match(/^mailto\:/)){return(bEmailMsg===true);} 2else{if((obj.href.match(/.pdf$/)||(obj.classList.toString().indexOf(pdfClass)!==-1))&&IsApprovedURL(obj.href)){return(bPDFMsg===true);} 3else{return!IsApprovedURL(obj.href);}}} 4jQuery('a:externallink').addClass('externallink');if(disableRightClick){jQuery('.externallink').not('[href*="mailto"]').bind('contextmenu',function(e){return false;});} 5jQuery('.externallink').on('click',function(){jQuery(this).ShowExtLinkDialog(jQuery(this),externalLinksConfig);return false;});jQuery.fn.ShowExtLinkDialog=function(oLink,options){var activeElem=document.activeElement;var strLink=oLink.attr('href');var strTarget=oLink.attr('target');var strClass=oLink.attr('class');if((strTarget==='')||(strTarget===undefined)){strTarget='_self';} 6if(strClass===undefined){strClass='';} 7var fnCallback=null;if(arguments.length===3){if(typeof arguments[2]==="function"){fnCallback=arguments[2];}} 8var config={title:'Leave this website?',msg:'',emailTitle:'Attention',emailMsg:'',pdfTitle:'Attention',pdfMsg:'',customMsgs:[],sizeClass:'',fadeClass:'',bShowLink:false,bFormatLink:true,backdrop:false,okText:'Ok',bShowClose:true,closeText:'Cancel',bCloseOnEsc:true,bShowTitleBarX:false};jQuery.extend(config,options);var isMailto=strLink.match(/^mailto\:/)?true:false;var isPDF=((strLink.match(/.pdf$/)||(strClass.toString().indexOf(pdfClass)!==-1))&&IsApprovedURL(strLink))?true:false;var msg='';var title='';if(isMailto===true){msg=config.emailMsg;title=config.emailTitle;} 9else{if(isPDF===true){msg=config.pdfMsg;title=config.pdfTitle;} 10else{msg=config.msg;title=config.title;}} 11if(config.customMsgs!==''){for(var i=0;i<config.customMsgs.length;i++){if(strLink.toString().indexOf(config.customMsgs[i][0])!==-1){msg=config.customMsgs[i][1];}}} 12var displayedLink='';if(config.bShowLink===true){displayedLink=strLink;if(isMailto===true){displayedLink=displayedLink.replace(/mailto:/,'');} 13else{displayedLink=displayedLink.replace(/(\w)*:(\/){2}/,'');} 14if(config.bFormatLink===true){displayedLink=StripUrlEnd(displayedLink,/(\?|\/|\#)/);}} 15msg=msg.replace(/\[link\]/,displayedLink);var extLinksModal=jQuery('#extLinksModal');var modalMarkup='<div class="modal-dialog">'+'<div class="modal-content">'+'<div class="modal-header">'+'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>'+'<h1 class="modal-title" id="extLinksModalLabel">'+title+'</h1>'+'</div>'+'<div class="modal-body">'+msg+'</div>'+'<div class="modal-footer">'+'<button type="button" class="btn btn-secondary" data-dismiss="modal">'+config.closeText+'</button>'+'<a class="btn btn-primary">'+config.okText+'</a>'+'</div>'+'</div>'+'</div>';jQuery(extLinksModal).append(modalMarkup);jQuery(extLinksModal).addClass(config.fadeClass);jQuery(extLinksModal).attr('aria-labelledby','extLinksModalLabel');jQuery(extLinksModal).find('.modal-dialog').addClass(config.sizeClass);if(!config.bShowTitleBarX){jQuery(extLinksModal).find('.modal-header button.close').hide();} 16if(!config.bShowClose){jQuery(extLinksModal).find('.btn-default').hide();} 17jQuery(extLinksModal).on('shown.bs.modal',function(e){jQuery(this).find('.btn-primary').attr('href',strLink);if(isMailto!==true){jQuery(this).find('.btn-primary').attr('target',strTarget);} 18var firstSelectableElem=config.bShowTitleBarX?'.close':(config.bShowClose?'.btn-default':'.btn-primary');jQuery(this).find(firstSelectableElem).focus();});jQuery(extLinksModal).on('hide.bs.modal',function(e){jQuery(this).removeAttr('aria-labelledby');jQuery(this).find('.modal-dialog').remove();});jQuery(extLinksModal).on('hidden.bs.modal',function(e){activeElem.focus();});jQuery(extLinksModal).find('.btn-primary').click(function(){jQuery(extLinksModal).modal('hide');if(fnCallback!==null){fnCallback();}});jQuery(extLinksModal).modal({backdrop:config.backdrop,keyboard:config.bCloseOnEsc,show:true});};});function OpenExternalLink(strURL,strTarget){var fnCallback=null;if(arguments.length===3){if(typeof(arguments[2])==="function"){fnCallback=arguments[2];}}
19if(IsApprovedURL(strURL)){if(fnCallback!==null){fnCallback();} 20window.open(strURL,strTarget);return false;} 21else{var oLink=jQuery('<a></a>').attr('href',strURL).attr('target',strTarget);jQuery(this).ShowExtLinkDialog(oLink,externalLinksConfig,fnCallback);return false;}} 22function JumpMenu(targ,selObj,restore){var strURL=selObj.options[selObj.selectedIndex].value;OpenExternalLink(strURL,targ);if(restore){selObj.selectedIndex=0;}} 23function MM_jumpMenu(targ,selObj,restore){JumpMenu(targ,selObj,restore);} 24function IsApprovedURL(strURL){strURL=strURL.toLowerCase();if((strURL.indexOf('http:')>-1)||(strURL.indexOf('https:')>-1)||(strURL.substring(0,2)==='\/\/')){if(IsInDomainList(approvedDomains,strURL)){return true;}} 25else{return true;} 26return false;} 27function IsInDomainList(strDomainList,strURL){if(strDomainList!==''){var arrDomainList=strDomainList.toLowerCase().split(';');for(var i=0;i<arrDomainList.length;i++){if(strURL.indexOf(arrDomainList[i])!=-1){return true;}}} 28return false;} 29function StripUrlEnd(strUrl,re){var index=strUrl.search(re);if(index>=0){return strUrl.substring(0,index);} 30return strUrl;}
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.