1"use strict";(self.webpackChunkvizdotbible=self.webpackChunkvizdotbible||[]).push([[1528],{1528:function(e,r,t){t.r(r),t.d(r,{s:function(){return u}});var n=t(3338),o=t(5910),a=t(924),i=Object.defineProperty,s=(e,r)=>i(e,"name",{value:r,configurable:!0});function c(e,r){return r.forEach(function(r){r&&"string"!=typeof r&&!Array.isArray(r)&&Object.keys(r).forEach(function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return r[t]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}s(c,"_mergeNamespaces");var l={exports:{}};!function(e){function r(e,r){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),r?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(r){e.lastIndex=r.pos;var t=e.exec(r.string);if(t&&t.index==r.pos)return r.pos+=t[0].length||1,"searching";t?r.pos=t.index:r.skipToEnd()}}}function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function o(e){return"string"==typeof e&&e==e.toLowerCase()}function a(e,r,t){return e.getSearchCursor(r,t,{caseFold:o(r),multiline:!0})}function i(e,r,t,n,o){e.openDialog(r,n,{value:t,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){y(e)},onKeyDown:o,bottom:e.options.search.bottom})}function c(e,r,t,n,o){e.openDialog?e.openDialog(r,o,{value:n,selectValueOnOpen:!0,bottom:e.options.search.bottom}):o(prompt(t,n))}function l(e,r,t,n){e.openConfirm?e.openConfirm(r,n):confirm(t)&&n[0]()}function u(e){return e.replace(/\\([nrt\\])/g,function(e,r){return"n"==r?"\n":"r"==r?"\r":"t"==r?"\t":"\\"==r?"\\":e})}function f(e){var r=e.match(/^\/(.*)\/([a-z]*)$/);if(r)try{e=new RegExp(r[1],-1==r[2].indexOf("i")?"":"i")}catch(t){}else e=u(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function p(e,t,n){t.queryText=n,t.query=f(n),e.removeOverlay(t.overlay,o(t.query)),t.overlay=r(t.query,o(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,o(t.query)))}function d(r,t,o,a){var l=n(r);if(l.query)return m(r,t);var u=r.getSelection()||l.lastQuery;if(u instanceof RegExp&&"x^"==u.source&&(u=null),o&&r.openDialog){var f=null,d=s(function(t,n){e.e_stop(n),t&&(t!=l.queryText&&(p(r,l,t),l.posFrom=l.posTo=r.getCursor()),f&&(f.style.opacity=1),m(r,n.shiftKey,function(e,t){var n;t.line<3&&document.querySelector&&(n=r.display.wrapper.querySelector(".CodeMirror-dialog"))&&n.getBoundingClientRect().bottom-4>r.cursorCoords(t,"window").top&&((f=n).style.opacity=.4)}))},"searchNext");i(r,g(r),u,d,function(t,o){var a=e.keyName(t),i=r.getOption("extraKeys"),s=i&&i[a]||e.keyMap[r.getOption("keyMap")][a];"findNext"==s||"findPrev"==s||"findPersistentNext"==s||"findPersistentPrev"==s?(e.e_stop(t),p(r,n(r),o),r.execCommand(s)):"find"!=s&&"findPersistent"!=s||(e.e_stop(t),d(o,t))}),a&&u&&(p(r,l,u),m(r,t))}else c(r,g(r),"Search for:",u,function(e){e&&!l.query&&r.operation(function(){p(r,l,e),l.posFrom=l.posTo=r.getCursor(),m(r,t)})})}function m(r,t,o){r.operation(function(){var i=n(r),s=a(r,i.query,t?i.posFrom:i.posTo);(s.find(t)||(s=a(r,i.query,t?e.Pos(r.lastLine()):e.Pos(r.firstLine(),0))).find(t))&&(r.setSelection(s.from(),s.to()),r.scrollIntoView({from:s.from(),to:s.to()},20),i.posFrom=s.from(),i.posTo=s.to(),o&&o(s.from(),s.to()))})}function y(e){e.operation(function(){var r=n(e);r.lastQuery=r.query,r.query&&(r.query=r.queryText=null,e.removeOverlay(r.overlay),r.annotate&&(r.annotate.clear(),r.annotate=null))})}function h(e,r){var t=e?document.createElement(e):document.createDocumentFragment();for(var n in r)t[n]=r[n];for(var o=2;o<arguments.length;o++){var a=arguments[o];t.appendChild("string"==typeof a?document.createTextNode(a):a)}return t}function g(e){return h("",null,h("span",{className:"CodeMirror-search-label"},e.phrase("Search:"))," ",h("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",h("span",{style:"color: #888",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function v(e){return h("",null," ",h("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",h("span",{style:"color: #888",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function x(e){return h("",null,h("span",{className:"CodeMirror-search-label"},e.phrase("With:"))," ",h("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"}))}function b(e){return h("",null,h("span",{className:"CodeMirror-search-label"},e.phrase("Replace?"))," ",h("button",{},e.phrase("Yes"))," ",h("button",{},e.phrase("No"))," ",h("button",{},e.phrase("All"))," ",h("button",{},e.phrase("Stop")))}function C(e,r,t){e.operation(function(){for(var n=a(e,r);
1n.findNext();)if("string"!=typeof r){var o=e.getRange(n.from(),n.to()).match(r);n.replace(t.replace(/\$(\d)/g,function(e,r){return o[r]}))}else n.replace(t)})}function O(e,r){if(!e.getOption("readOnly")){var t=e.getSelection()||n(e).lastQuery,o=r?e.phrase("Replace all:"):e.phrase("Replace:"),i=h("",null,h("span",{className:"CodeMirror-search-label"},o),v(e));c(e,i,o,t,function(t){t&&(t=f(t),c(e,x(e),e.phrase("Replace with:"),"",function(n){if(n=u(n),r)C(e,t,n);else{y(e);var o=a(e,t,e.getCursor("from")),i=s(function(){var r,s=o.from();!(r=o.findNext())&&(o=a(e,t),!(r=o.findNext())||s&&o.from().line==s.line&&o.from().ch==s.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),l(e,b(e),e.phrase("Replace?"),[function(){c(r)},i,function(){C(e,t,n)}]))},"advance"),c=s(function(e){o.replace("string"==typeof t?n:n.replace(/\$(\d)/g,function(r,t){return e[t]})),i()},"doReplace");i()}}))})}}e.defineOption("search",{bottom:!1}),s(r,"searchOverlay"),s(t,"SearchState"),s(n,"getSearchState"),s(o,"queryCaseInsensitive"),s(a,"getSearchCursor"),s(i,"persistentDialog"),s(c,"dialog"),s(l,"confirmDialog"),s(u,"parseString"),s(f,"parseQuery"),s(p,"startSearch"),s(d,"doSearch"),s(m,"findNext"),s(y,"clearSearch"),s(h,"el"),s(g,"getQueryDialog"),s(v,"getReplaceQueryDialog"),s(x,"getReplacementQueryDialog"),s(b,"getDoReplaceConfirm"),s(C,"replaceAll"),s(O,"replace"),e.commands.find=function(e){y(e),d(e)},e.commands.findPersistent=function(e){y(e),d(e,!1,!0)},e.commands.findPersistentNext=function(e){d(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){d(e,!0,!0,!0)},e.commands.findNext=d,e.commands.findPrev=function(e){d(e,!0)},e.commands.clearSearch=y,e.commands.replace=O,e.commands.replaceAll=function(e){O(e,!0)}}(n.a.exports,o.a.exports,a.a.exports);var u=c({__proto__:null,default:l.exports},[l.exports])}}]); 2//# sourceMappingURL=1528-9c3bdbd774fc32e5b0fb.js.map
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.