PageSourceSearch

https://employmenthero.com/wp-content/themes/employmentherocom2025/assets/js/collapsible-group.js?ver=2.1.4

js employmenthero.com collected 2026-09-24 08:35:35 UTC 2,951 bytes, 1 lines download raw bytes

1(()=>{function e(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,l=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw l}}}}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}document.addEventListener("DOMContentLoaded",function(){if(!(window.innerWidth>=560)){var t=document.createElement("div");t.className="has-lg-font-size eh-collapsible-button",t.textContent="See more",Object.assign(t.style,{position:"absolute",bottom:"0",left:"0",zIndex:"100",background:"white",cursor:"pointer",fontWeight:"600",color:"var(--wp--preset--color--violet-500)"});var n={overflow:"hidden",lineHeight:"1.8",maskImage:"linear-gradient(to bottom, black 70%, transparent 90%)",webkitMaskImage:"linear-gradient(to bottom, black 70%, transparent 90%)"},r=new WeakSet;document.querySelectorAll("div.eh-collapsible-group:not(.glide__slide--clone)").forEach(a),new MutationObserver(function(t){var n,r=e(t);try{for(r.s();!(n=r.n()).done;){n.value.addedNodes.forEach(function(e){var t,n;e instanceof HTMLElement&&((null===(t=e.matches)||void 0===t?void 0:t.call(e,"div.eh-collapsible-group:not(.glide__slide--clone)"))?[e]:(null===(n=e.querySelectorAll)||void 0===n?void 0:n.call(e,"div.eh-collapsible-group:not(.glide__slide--clone)"))||[]).forEach(a)})}}catch(e){r.e(e)}finally{r.f()}}).observe(document.body,{childList:!0,subtree:!0})}function o(e,o){var a=document.createElement("div");a.className="eh-collapsible-wrapper";for(var l=document.createDocumentFragment();e.firstChild;)l.appendChild(e.firstChild);a.appendChild(l),Object.assign(a.style,n,{maxHeight:"".concat(o,"px")});var i=t.cloneNode(!0);i.addEventListener("click",function(){a.style.maxHeight="none",a.style.maskImage="none",a.style.webkitMaskImage="none",i.style.display="none"},{once:!0}),e.style.position="relative",e.appendChild(a),e.appendChild(i),r.add(e)}function a(t){if(!r.has(t)){var n=new ResizeObserver(function(t){var r,a=e(t);try{for(a.s();!(r=a.n()).done;){var l=r.value;l.target.scrollHeight>395&&!l.target.querySelector(".eh-collapsible-wrapper")&&(o(l.target,395),n.unobserve(l.target))}}catch(e){a.e(e)}finally{a.f()}});n.observe(t)}}})})();

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.