PageSourceSearch

https://fcp.co/media/plg_system_ochglightbox/js/library/och-library.min.js?15347287d6961252e11d620672ff1a8d

js fcp.co collected 2026-10-02 04:56:18 UTC 2,891 bytes, 2 lines download raw bytes

1window.GlightBox=window.GlightBox||{},window.GlightBox.loadScript=(e,t,o="GlightBox",n=!1)=>{GlightBox.logMessage("loading Script: "+e,o,n);if(document.querySelector(`script[src="${e}"]`))GlightBox.logMessage("Script already loaded, skipping...",o,n,"warn");else{var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=e,a.readyState?a.onreadystatechange=function(){"loaded"!=a.readyState&&"complete"!=a.readyState||(a.onreadystatechange=null,t&&t())}:a.onload=function(){t&&t()},document.body.appendChild(a)}},window.GlightBox.isVisible=e=>"none"!==getComputedStyle(e).display,window.GlightBox.logMessage=(e,t,o=!1,n="log")=>{(o||"warn"===n||"error"===n)&&(Array.isArray(e)||(e=[e]),e.forEach((e=>{"string"==typeof e?console[n](`${t}: ${e}`):console[n](e)})))},window.GlightBox.isJson=function(e){if("string"!=typeof e)return!1;try{return JSON.parse(e),!0}catch{return!1}},window.GlightBox.submitToolsProcess=function(e){document.querySelectorAll("[data-ochsubmit]").forEach((t=>{t.onclick=()=>function(e,t){const o=GlightBox.debug||!1,n=GlightBox.prefix||GlightBox;var a=e.closest("form"),s=!1;a?GlightBox.logMessage(["Preparing existing Form: ",a],n,o):(s=!0,(a=document.createElement("form")).style.display="none",a.method="POST",a.action=Joomla.getOptions("system.paths").base+"/index.php",document.body.appendChild(a),GlightBox.logMessage(["Creating new Form: ",a],n,o));const r=e.dataset.confirm;if(r&&!confirm(r))return void(s&&a.remove());const i=e.dataset.clear;if(i&&e.classList.contains("clear")){var c=a.querySelector('input[name="'+i+'"]');c&&(GlightBox.logMessage("Clear Search field: ".clearField,n,o),c.value="")}const l=e.dataset.resetForm,S=e.classList.contains("ajax");Object.entries(e.dataset).forEach((([e,t])=>{"confirm"!==e&&"ochsubmit"!==e&&"clear"!==e&&(a=d(a,e,t,!0))})),s&&(a=d(a,"option",t,!0),a=d(a,Joomla.getOptions("csrf.token"),"1",!0));S?(GlightBox.logMessage(["Sending (AJAX) Form: ",a],n,o),u(a),l&&(GlightBox.logMessage(["Resetting Form: ",a],n,o),a.reset())):(GlightBox.logMessage(["Submitting Form: ",a],n,o),a.submit());function d(e,t,o,n){let a=e.querySelector(`input[type="hidden"][name="${t}"]`);return a||(a=document.createElement("input"),a.type="hidden",n=!0),n&&(a.name=t,a.value=o,e.appendChild(a)),e}function u(e){const t=new FormData(e),o=t.get("callback");t.get("callbackValue");let n=null;if(o){const e=o.split(".");2===e.length&&"GlightBox"===e[0]&&GlightBox[e[1]]&&(n=GlightBox[e[1]])}Joomla.request({url:Joomla.getOptions("system.paths").base+"/index.php",method:"POST",data:t,onError:function(e,t){console.log("ERROR")},onSuccess:function(e,t){let o=JSON.parse(e);o.messages&&Joomla.renderMessages(o.messages),n&&"function"==typeof n&&n(o)}})}}(t,e)}))},window.GlightBox.sprintf=function(e,...t){return e.replace(/%s/g,(function(e){return t.length>0?t.shift():e}))};
2//# sourceMappingURL=och-library.min.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.