PageSourceSearch

https://www.biblicalunitarian.com/wp-content/plugins/revscript_for_BU//script/findvers.min.js?ver=7.0.6

js biblicalunitarian.com collected 2026-10-02 05:40:46 UTC 7,832 bytes, 1 lines download raw bytes

1var bible={};bible.parseReference=function(e){var t,n,r,i,s,a=-1,o=-1,l=-1,c=-1,$=-1,d=new String(e).replace(/(\d+[\.:])\s+(\d+)/gi,"$1$2"),u=0,_=null;for("ff"==d.slice(-2)&&(d=d.slice(0,-2),u=1),t=(d=d.substring(0,3)+d.substring(3).replace(/(\d)[a|b|c|d]/gi,"$1")).length;t>=0;t--)if(/[A-Za-z]/.test(d.substring(t-1,t))){_=d.substring(0,t).toLowerCase();break}if(null!=_){for(t=0,r=bbooks.Books.length;t<r&&-1==a;t++)for(n=0,i=bbooks.Books[t].names.length;n<i;n++)if(_==(s=new String(bbooks.Books[t].names[n]).toLowerCase())){a=t,d=d.substring(s.length);break}a>-1&&(o=(params=bible.parseScriptureRef(d,a,u)).c1,c=params.c2,l=params.v1,$=params.v2)}return bible.Reference(a,o,l,c,$)},bible.parseScriptureRef=function(e,t,n){var r,i,s=-1,a=-1,o=-1,l=-1,c=!1,$=!1,d=!1,u="";for(r=0;r<e.length;r++)if(" "==(i=e.charAt(r))||isNaN(i)){if(!d)continue;"-"==i?(c=!0,$=!1):(":"==i||","==i)&&($=!0),u="",d=!1}else d=!0,u+=i,$?c?l=parseInt(u,10):o=parseInt(u,10):c?a=parseInt(u,10):s=parseInt(u,10);return 1==bbooks.Books[t].verses.length&&s>0&&-1==o&&(o=s,s=1),s>0&&o>0&&a>0&&(l<=0||1==n)&&(l=a,a=s),s>0&&o<=0&&a>0&&l>0&&(o=1),t>-1&&s<=0&&o<=0&&a<=0&&l<=0&&(s=1),1==n&&(l=999),void 0!==bbooks.Books[t].verses&&(-1==s?s=1:-1!=o&&s>bbooks.Books[t].verses.length&&(s=bbooks.Books[t].verses.length,o>0&&(o=1)),o>bbooks.Books[t].verses[s-1]&&(o=bbooks.Books[t].verses[s-1])),{c1:s,c2:a,v1:o,v2:l}},bible.Reference=function(){var e=-1,t=-1,n=-1,r=-1,i=-1,s=arguments;if(0==s.length);else{if(1==s.length&&"string"==typeof s[0])return bible.parseReference(s[0]);if(1==s.length)return null;e=s[0],t=s[1],s.length>=3&&(n=s[2]),s.length>=4&&(r=s[3]),s.length>=5&&(i=s[4])}return{bookIndex:e,chapter:t,verse:n,chapter1:t,verse1:n,chapter2:r,verse2:i,isValid:function(){return e>-1&&e<bbooks.Books.length&&t>0&&t<=bbooks.Chapters[e]},chapterAndVerse:function(e,t,n){e=e||":",t=t||"-",n=n||"-";var r=this.chapter1,i=this.chapter2,s=this.verse1,a=this.verse2,o=1==bbooks.Books[this.bookIndex].verses.length?"":r,l=""==o?"":e;if(r>0&&s<=0&&i<=0&&a<=0)return o;if(r>0&&s>0&&i<=0&&a<=0)return o+l+s;if(r>0&&s>0&&i<=0&&a>0)return o+l+s+(999==a?"ff":t+a);if(r>0&&s<=0&&i>0&&a<=0)return r+n+i;if(r>0&&s>0&&i>0&&a>0)return r+e+s+n+(r!=i?i+e:"")+a;else return"?"},toString:function(){return this.bookIndex<0||this.bookIndex>=bbooks.Books.length?"invalid":bbooks.Books[this.bookIndex].names[0]+" "+this.chapterAndVerse()},toShortUrl:function(){return this.bookIndex<0||this.bookIndex>=bbooks.Books.length?"invalid":(findvers.navigat,"/"+bbooks.Books[this.bookIndex].names[0].replace(" ","-")+"/"+this.chapter1+(this.verse1>-1?"/"+this.verse1:"")+"/ct")}}},function(){var e=1e5,t={},n=function(n,r){var i="callback"+e++,s=l.createElement("script");o[i]=function(e){r(e)},t[n]=i,n+=(n.indexOf("?")>-1?"&":"?")+"callback="+i,s.setAttribute("src",n),s.setAttribute("type","text/javascript"),c.appendChild(s)},r=function(e,t){var r=new bible.Reference(e);href=r.bookIndex+1+","+r.chapter1+","+r.verse1+","+r.chapter2+","+r.verse2,n(a.remoteURL+"/jsonverse.php?ref="+encodeURIComponent(href),t)},i=function(e){popp.content.innerHTML="<div>"+e.content+"</div>"},s=function(e){if(e||(e=o.event),a.enablePopups){popclearPositionTimer();var t=e.target?e.target:e.srcElement,n=popp,s=t.getAttribute("rel"),l=t.getAttribute("ver");n.outer.style.display="block",n.outer.style.visibility="hidden",popdivShowTimer=setTimeout("popp.outer.style.visibility = 'visible';",300),n.header.innerHTML=s+l+t.getAttribute("context"),n.content.innerHTML="Loading...<br/><br/><br/>",poppositionPopup(t),r(s,function(e){i(e),poppositionPopup(t)})}},a={maxNodes:500,className:"findvers_reference",enablePopups:!0,navigat:!0,autoStart:!0,startNodeId:"",ignoreClassName:"findvers_ignore",ignoreTags:["h1","h2","h3","h4","noparse"],newTagName:"A",remoteURL:"",handleLinks:function(e,t){e.setAttribute("href","SIT"),e.setAttribute("context",'<span style="float:right;margin-right:-2px;"><a href="'+a.remoteURL+t.toShortUrl()+'" target="_blank" title="view context (new window)"><img src="'+a.remoteURL+'/i/biblepop_icon.png" style="width:1.1em;border:0" /></a></span>'),e.setAttribute("rel",t.toString()),e.setAttribute("onclick","event.stopPropagation();return false;"),e.setAttribute("ver",' <span style="font-weight:normal;font-size:80%;">(REV)</span>'),e.setAttribute("class",a.className),x(e,"mouseover",s),x(e,"mouseout",pophandleLinkMouseOut)}},o=window,l=document,c=null,$=bbooks.bbooks,d="(?:\\d{1,3}(?::\\d+)?)(?:ff|a|b|c|d)?(?:[-\\u2013]\\d+((?::\\d+)?)(?:a)?)?",u=RegExp("\\b(?:"+$+")\\.? (?:"+d+"(?:(?:, ?"+d+")|(?:(?:(?
1:;|,)? (?:and|or)|;) +(?:\\d{1,3}(?::\\d+))(?:ff|a|b|c|d)?(?:[-\\u2013]\\d+((?::\\d+)?)(?:a)?)?))*)\\b","mi"),_=RegExp(d,"mi"),f=["a","script","style","textarea"],h=null,b=function(e){var t,n,r,i,s=u.exec(e.data);return(h=null,s)?(t=s[0],r=(n=e.splitText(s.index)).splitText(t.length),i=v(e,n)):e},v=function(e,t){if(null==t.nodeValue)return t;var n,r,i,s,o,l=t.nodeValue.indexOf(","),c=t.nodeValue.indexOf(";"),$=t.nodeValue.indexOf(" and"),d=t.nodeValue.indexOf(", and"),u=t.nodeValue.indexOf("; and"),_=t.nodeValue.indexOf(" or"),f=t.nodeValue.indexOf(", or"),h=t.nodeValue.indexOf("; or");if(999==(n=Math.min(l<0?999:l,c<0?999:c,$<0?999:$,d<0?999:d,u<0?999:u,_<0?999:_,f<0?999:f,h<0?999:h))&&(n=-1),n>0){switch((r=t.splitText(n)).nodeValue.substring(0,3)){case"and":o=4;break;case" an":case", o":case"; o":o=5;break;case", a":case"; a":o=6;break;case" or":o=3;break;default:o=1}for(;o<r.nodeValue.length&&" "==r.nodeValue.substring(o,o+1);)o++;i=r.splitText(o)}return(refText=(refText=t.nodeValue).replace(/\u2013/g,"-"),void 0!==(s=p(refText))&&s.isValid())?(newNode=e.ownerDocument.createElement(a.newTagName),e.parentNode.replaceChild(newNode,t),a.handleLinks(newNode,s),newNode.appendChild(t),i&&(newNode=v(e,i)),newNode):t},p=function(e){var t,n,r,i,s,a,o,l,c,$,d,u=new bible.Reference(e),f=null,b=0;return null!=u&&void 0!==u.isValid&&u.isValid()?(h=u,u):null!=h?(f=_.exec(e))?("ff"==(input=f[0]).slice(-2)&&(input=input.slice(0,-2),b=1),input=input.replace(/(\d)[a|b|c|d]/gi,"$1"),l=(o=h).chapter1,c=o.verse1,$=o.chapter2,d=o.verse2,r=(params=bible.parseScriptureRef(input,h.bookIndex,b)).c1,i=params.v1,s=params.c2,a=params.v2,h.chapter1=h.chapter1,h.verse1=-1,h.chapter2=-1,h.verse2=1==b?999:-1,n=a<0||1==b,c>0&&r>0&&i<0&&s<0&&n?h.verse1=r:r>0&&i<0&&s<0&&n?h.chapter1=r:r>0&&i>0&&s<0&&n?(h.chapter1=r,h.verse1=i):c>0&&r>0&&i<0&&s>0&&n?(h.verse1=r,h.verse2=1==b?999:s):r>0&&i<0&&s>0&&n?(h.chapter1=r,h.chapter2=s):r>0&&i>0&&s<0&&a>0?(h.chapter1=r,h.verse1=i,h.verse2=a):r>0&&i>0&&s>0&&a>0?(h.chapter1=r,h.verse1=i,h.chapter2=s,h.verse2=a):t=-99999,h):"javascript:null":void 0},g=function(e){k(e.childNodes[0],1,b)},k=function(e,t,n){for(var r=0,i=RegExp("^("+f.concat(a.ignoreTags).join("|")+")$","i");e&&t>0;){if(++r>=a.maxNodes){setTimeout(function(){k(e,t,n)},50);return}switch(e.nodeType){case 1:if(!i.test(e.tagName.toLowerCase())&&e.childNodes.length>0&&(""==a.ignoreClassName||-1==e.className.toString().indexOf(a.ignoreClassName))){e=e.childNodes[0],t++;continue}break;case 3:case 4:e=n(e)}if(e.nextSibling)e=e.nextSibling;else for(;t>0;){e=e.parentNode,t--;try{if(e.nextSibling){e=e.nextSibling;break}}catch(s){break}}}},x=function(e,t,n){if(e.attachEvent)e.attachEvent("on"+t,n);else if(e.addEventListener)e.addEventListener(t,n,!1);else{var r=e["on"+t];e["on"+t]=function(){n(),r()}}},m=!1;scan=function(){m||(m=!0,c=(l=document).body,""!=a.startNodeId&&(node=l.getElementById(a.startNodeId)),null==node&&(node=c),g(node),m=!1)},void 0!==window.findvers&&(a=function(){var e,t,n,r,i=arguments[0]||{},s=1,a=arguments.length;for("object"!=typeof i&&"function"!=typeof i&&(i={});s<a;s++)if(null!=(e=arguments[s]))for(t in e)n=i[t],i!==(r=e[t])&&void 0!==r&&(i[t]=r);return i}(a,window.findvers)),a.scan=scan,a.scanForReferences=g,o.findvers=a}();

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.