PageSourceSearch

https://hedoxclinic.co.uk/wp-content/uploads/siteground-optimizer-assets/jet-plugins.min.js?ver=1.0.0

js hedoxclinic.co.uk collected 2026-10-06 18:29:29 UTC 6,414 bytes, 1 lines download raw bytes

1(()=>{"use strict";const h=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},s=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},u=function(e,t){return function(n,o,i){let a=arguments.length>3&&0[0]!==arguments[3]?arguments[3]:10;const r=e[t];if(!s(n))return;if(!h(o))return;if("function"!=typeof i)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const c={callback:i,priority:a,namespace:o};if(r[n]){const t=r[n].handlers;let e;for(e=t.length;e>0&&!(a>=t[e-1].priority);e--);e===t.length?t[e]=c:t.splice(e,0,c),r.__current.forEach(t=>{t.name===n&&t.currentIndex>=e&&t.currentIndex++})}else r[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,o,i,a)}},n=function(e,t){let n=arguments.length>2&&0[0]!==arguments[2]&&arguments[2];return function(o,i){const a=e[t];if(!s(o))return;if(!n&&!h(i))return;if(!a[o])return 0;let r=0;if(n)r=a[o].handlers.length,a[o]={runs:a[o].runs,handlers:[]};else{const e=a[o].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===i&&(e.splice(t,1),r++,a.__current.forEach(e=>{e.name===o&&e.currentIndex>=t&&e.currentIndex--}))}return"hookRemoved"!==o&&e.doAction("hookRemoved",o,i),r}},c=function(e,t){return function(n,s){const o=e[t];return 0[0]!==s?n in o&&o[n].handlers.some(e=>e.namespace===s):n in o}},i=function(e,t){let n=arguments.length>2&&0[0]!==arguments[2]&&arguments[2];return function(s){const o=e[t];o[s]||(o[s]={handlers:[],runs:0}),o[s].runs++;const a=o[s].handlers;for(var l=arguments.length,i=new Array(l>1?l-1:0),r=1;r<l;r++)i[r-1]=arguments[r];if(!a||!a.length)return n?i[0]:0[0];const c={name:s,currentIndex:0};for(o.__current.push(c);c.currentIndex<a.length;){const e=a[c.currentIndex].callback.apply(null,i);n&&(i[0]=e),c.currentIndex++}return o.__current.pop(),n?i[0]:0[0]}},a=function(e,t){return function(){var n,s;const o=e[t];return null!==(n=null===(s=o.__current[o.__current.length-1])||0[0]===s?0[0]:s.name)&&0[0]!==n?n:null}},r=function(e,t){return function(n){const s=e[t];return 0[0]===n?0[0]!==s.__current[0]:!!s.__current[0]&&n===s.__current[0].name}},o=function(e,t){return function(n){const o=e[t];if(s(n))return o[n]&&o[n].runs?o[n].runs:0}};class m{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=u(this,"actions"),this.addFilter=u(this,"filters"),this.removeAction=n(this,"actions"),this.removeFilter=n(this,"filters"),this.hasAction=c(this,"actions"),this.hasFilter=c(this,"filters"),this.removeAllActions=n(this,"actions",!0),this.removeAllFilters=n(this,"filters",!0),this.doAction=i(this,"actions"),this.applyFilters=i(this,"filters",!0),this.currentAction=a(this,"actions"),this.currentFilter=a(this,"filters"),this.doingAction=r(this,"actions"),this.doingFilter=r(this,"filters"),this.didAction=o(this,"actions"),this.didFilter=o(this,"filters")}}const l=function(){return new m},f=l(),{addAction:D,addFilter:z,removeAction:T,removeFilter:F,hasAction:v,hasFilter:M,removeAllActions:E,removeAllFilters:j,doAction:y,applyFilters:_,currentAction:w,currentFilter:O,doingAction:x,doingFilter:C,didAction:b,didFilter:k,actions:A,filters:S}=f;function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function g(e,t){for(var n,s=0;s<t.length;s++)n=t[s],n.enumerable=n.enumerable,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}function t(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(t){var n=function(t){if("object"!==e(t)||null===t)return t;var s,o=t[Symbol.toPrimitive];if(0[0]!==o){if(s=o.call(t,"string"),"object"!==e(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(n)?n:String(n)}var p=function(){function e(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t(this,"hooks",0[0]),t(this,"globalNamespace","jet-plugins"),t(this,"blocksNamespace","frontend.element-ready"),t(this,"blocksConditions",{}),this.hooks=n||l()}var n,s;return n=e,(s=[{key:"hookNameFromBlock",value:function(e){var t=this.getBlockName(e);return t?"".concat(this.globalNamespace,".").concat(this.blocksNamespace,".").concat(t):""}},{key:"getBlockName",value:function(e){var t;return"string"==typeof e?e.replace("/","."):this.getBlockName((e==null||null===(t=e.dataset)||
10[0]===t?0[0]:t.isBlock)||"")}},{key:"init",value:function(e,t){var n,s=this;t&&t.length&&this.bulkBlocksInit(t),(e=e||jQuery("body"))&&e.length&&(n=e.find('[data-is-block*="/"]'),n&&n.length&&n.each(function(e,t){s.initBlock(t)}))}},{key:"isBlockRequiresInit",value:function(e){var t=0[0]===e.dataset.jetInited,n=this.getBlockName(e);return t&&this.blocksConditions[n]&&(t=this.blocksConditions[n](e)),t}},{key:"initBlock",value:function(e,t){t=t;var n,s=this.hookNameFromBlock(e);s&&this.hasHandlers(s)&&(n=t,n||(n=this.isBlockRequiresInit(e)),n&&(this.hooks.doAction(s,jQuery(e)),e.dataset.jetInited=!0))}},{key:"hasHandlers",value:function(e){return!!this.hooks.actions[e]&&!!this.hooks.actions[e].handlers&&!!this.hooks.actions[e].handlers.length}},{key:"registerBlockHandlers",value:function(e){var t=this.getBlockName(e.block);this.hooks.addAction(this.hookNameFromBlock(t),"".concat(this.globalNamespace,"/").concat(e.block),e.callback),e.condition&&"function"==typeof e.condition&&(this.blocksConditions[t]=e.condition)}},{key:"bulkBlocksInit",value:function(e){for(var t=0;t<e.length;t++)this.registerBlockHandlers(e[t])}}])&&g(n.prototype,s),Object.defineProperty(n,"prototype",{writable:!1}),e}();window.JetPlugins=window.JetPlugins||new p})()

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.