PageSourceSearch

https://blackbusinessenterprises.org/wp-content/plugins/interactiv…/js/client-locale-loader.js?ver=1.16.22

js blackbusinessenterprises.org collected 2026-09-24 13:28:49 UTC 2,075 bytes, 45 lines download raw bytes

1function fb3dClientLocaleLoader() {
2  if(window.jQuery && typeof jQuery.ajax==='function') {
3    function fb3dNormalizeUrl(url) {
4      return url.replace(/https{0,1}:/, location.protocol);
5    }
6    function fb3dFetch(url) {
7      return new Promise(function(resolve, reject) {
8        jQuery.ajax({url: fb3dNormalizeUrl(url), dataType: 'text'}).done(resolve).fail(reject);
9      });
10    }
11    FB3D_CLIENT_LOCALE.render = function() {
12      delete FB3D_CLIENT_LOCALE.render;
13      var isStable = !Promise.withResolvers || /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
14        pdfJs = FB3D_CLIENT_LOCALE.pdfJS, assetsJs = FB3D_CLIENT_LOCALE.pluginurl+'assets/js/';
15      window.FB3D_LOCALE = {
16        dictionary: FB3D_CLIENT_LOCALE.dictionary
17      };
18      window.PDFJS_LOCALE = {
19        pdfJsCMapUrl: fb3dNormalizeUrl(pdfJs.pdfJsCMapUrl),
20        pdfJsWorker: fb3dNormalizeUrl(isStable? pdfJs.stablePdfJsWorker: pdfJs.pdfJsWorker)
21      };
22      Promise.all([
23        fb3dFetch(FB3D_CLIENT_LOCALE.pluginurl+'assets/css/client.css?ver='+FB3D_CLIENT_LOCALE.version),
24        fb3dFetch(FB3D_CLIENT_LOCALE.pluginurl+'assets/templates/iframe-init.html?ver='+FB3D_CLIENT_LOCALE.version),
25        fb3dFetch(FB3D_CLIENT_LOCALE.cacheurl+'skins.js?ver='+FB3D_CLIENT_LOCALE.version),
26        fb3dFetch(isStable? pdfJs.stablePdfJsLib: pdfJs.pdfJsLib),
27        fb3dFetch(assetsJs+'three.min.js?ver=125'),
28        fb3dFetch(assetsJs+'html2canvas.min.js?ver=0.5'),
29        fb3dFetch(assetsJs+'client.min.js?ver='+FB3D_CLIENT_LOCALE.version),
30      ]).then(function(fs) {
31        jQuery('head').append(['<style type="text/css">', fs[0].replace(/url\('..\//gi, 'url(\''+fb3dNormalizeUrl(FB3D_CLIENT_LOCALE.pluginurl+'assets/')), '</style>'].join(''));
32        for(var i = 2; i<fs.length; ++i) {
33          eval(fs[i]);
34        }
35      });
36    };
37    if(jQuery('._'+FB3D_CLIENT_LOCALE.key).length) {
38      FB3D_CLIENT_LOCALE.render();
39    }
40  }
41  else {
42    setTimeout(fb3dClientLocaleLoader, 100);
43  }
44}
45fb3dClientLocaleLoader();

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.