PageSourceSearch

https://hrone.com/wp-content/uploads/siteground-optimizer-assets/g…tekit-events-provider-content-events.min.js

js hrone.com collected 2026-09-25 04:51:19 UTC 6,459 bytes, 2 lines download raw bytes

1(()=>{"use strict";const u="a.post-page-numbers";function p(e){var t;try{const t=new URL(e.href);for(const n of["page","paged"]){const e=parseInt(t.searchParams.get(n)||"",10);if(e>0)return e}const n=t.pathname.split("/").filter(Boolean).pop()||"";if(/^\d+$/.test(n)){const e=parseInt(n,10);if(e>0)return e}}catch{}const n=parseInt((null===(t=e.textContent)||0[0]===t?0[0]:t.trim())||"",10);return n>0?n:1}const r="https://player.vimeo.com/api/player.js",s="data-googlesitekit-vimeo-sdk";function o(){return globalThis.Vimeo}function i(e,t){return new Promise((n,s)=>{let i;function o(e){return function(){clearTimeout(i),e(...arguments)}}e.addEventListener("load",o(()=>n()),{once:!0}),e.addEventListener("error",o(()=>s(new Error("Site Kit: failed to load the Vimeo Player SDK script."))),{once:!0}),0[0]!==t&&(i=setTimeout(o(()=>s(new Error("Site Kit: timed out waiting for the Vimeo Player SDK script to load."))),t))})}let e=null;function l(e,t){var n,s=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,n)),s}function t(e){for(var t,n=1;n<arguments.length;n++)t=null!=arguments[n]?arguments[n]:{},n%2?l(Object(t),!0).forEach(function(n){f(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}function f(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t,n=e[Symbol.toPrimitive];if(0[0]!==n){if(t=n.call(e,"string"),"object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=Array(t);n<t;n++)s[n]=e[n];return s}const n=[10,25,50,75];function h(e,t){var n,s=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,n)),s}function m(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t,n=e[Symbol.toPrimitive];if(0[0]!==n){if(t=n.call(e,"string"),"object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){var e;return function(e){for(var t,n=1;n<arguments.length;n++)t=null!=arguments[n]?arguments[n]:{},n%2?h(Object(t),!0).forEach(function(n){m(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}({postID:0,isSinglePost:!1,hasVimeoEmbed:!1},(null===(e=globalThis._googlesitekit)||0[0]===e?0[0]:e.contentEvents)||{})}!async function(a){if(!a.hasVimeoEmbed)return;const c=globalThis.document.querySelectorAll('iframe[src*="player.vimeo.com"]');if(c.length)try{const a=await function(){const t=o();return"function"==typeof t?.Player?Promise.resolve(t.Player):(e||(e=async function(){const e=globalThis.document.querySelector('script[src^="'.concat(r,'"]'));if(e&&!e.hasAttribute(s))return void await i(e,1e4);e==null||e.remove();const t=globalThis.document.createElement("script");t.src=r,t.setAttribute(s,"");const n=i(t);globalThis.document.head.appendChild(t),await n}().then(()=>{var e;const t=null===(e=o())||0[0]===e?0[0]:e.Player;if("function"!=typeof t)throw new Error("Site Kit: the Vimeo Player SDK script did not expose Vimeo.Player.");return t}).catch(t=>{throw e=null,t})),e)}();await Promise.allSettled(Array.from(c).map(async(e,s)=>{await async function(e,s){const o=Promise.all([e.getVideoTitle(),e.getVideoUrl()]).then(e=>{let o=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){if(n=e==null?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"],n!=null){var n,o,a,r,c,i=[],s=!0,l=!1;try{if(c=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=c.call(n)).done)&&(i.push(a.value),i.length!==t);s=!0);}catch(e){l=!0,r=e}
1finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw r}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):0[0]}}(t,n)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}());var t,n;return{video_provider:"vimeo",video_title:o[0],video_url:o[1],video_instance_index:s}});function i(e,n){o.then(s=>{var o,i;null===(o=globalThis._googlesitekit)||0[0]===o||null===(i=o.gtagEvent)||0[0]===i||i.call(o,e,t(t({},s),{},{video_percent:n}))}).catch(()=>{})}o.catch(e=>{console.error("Site Kit: failed to fetch this Vimeo video’s title/URL; its engagement events will not be tracked.",e)});let r=!1,c=!1;const a=new Set;e.on("play",()=>{r||(r=!0,i("video_start",0))}),e.on("timeupdate",e=>{if(a.size===n.length)return;const t=Math.floor(100*e.percent);n.forEach(e=>{t>=e&&!a.has(e)&&(a.add(e),i("video_progress",e))})}),e.on("ended",()=>{c||(c=!0,i("video_complete",100))}),await o}(new a(e),s)}))}catch(e){console.error("Site Kit: failed to load the Vimeo Player SDK; video engagement events will not be tracked on this page.",e)}}(c());try{a=c(),globalThis.document.addEventListener("click",e=>{try{var t,n;if(!(e.target instanceof Element))return;const s=e.target.closest("".concat(u,", ").concat("body.single-topic .bbp-pagination-links a.page-numbers"));if(!s)return;const o=s.matches(u)?"post":"bbpress";null===(t=globalThis._googlesitekit)||0[0]===t||null===(n=t.gtagEvent)||0[0]===n||n.call(t,"pagination_click",{pagination_type:o,page_number:p(s),post_id:a.postID,transport_type:"beacon"})}catch(e){console.error("Site Kit: failed to track this pagination click.",e)}})}catch(e){console.error("Site Kit: failed to initialize pagination click tracking.",e)}var 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.