Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/static/GalleryDisplay/ |
Upload File : |
"use strict";function _typeof(e){return(_typeof="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)}!function(e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):self.shave=e()}(function(){return function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(void 0===t||isNaN(t))throw Error("maxHeight is required");var o="string"==typeof e?document.querySelectorAll(e):e;if(o){var e=n.character||"…",i=n.classname||"js-shave",r="boolean"!=typeof n.spaces||n.spaces,s='<span class="js-shave-char">'.concat(e,"</span>");"length"in o||(o=[o]);for(var a=0;a<o.length;a+=1){var c=o[a],f=c.style,l=c.querySelector(".".concat(i)),d=void 0===c.textContent?"innerText":"textContent",l=(l&&(c.removeChild(c.querySelector(".js-shave-char")),c[d]=c[d]),c[d]),h=r?l.split(" "):l;if(!(h.length<2)){var l=f.height,u=(f.height="auto",f.maxHeight);if(f.maxHeight="none",c.offsetHeight<=t)f.height=l,f.maxHeight=u;else{for(var p,y=h.length-1,m=0;m<y;)p=m+y+1>>1,c[d]=r?h.slice(0,p).join(" "):h.slice(0,p),c.insertAdjacentHTML("beforeend",s),c.offsetHeight>t?y=p-1:m=p;c[d]=r?h.slice(0,y).join(" "):h.slice(0,y),c.insertAdjacentHTML("beforeend",s);var g=r?" ".concat(h.slice(y).join(" ")):h.slice(y),g=document.createTextNode(g),v=document.createElement("span");v.classList.add(i),v.style.display="none",v.appendChild(g),c.insertAdjacentElement("beforeend",v),f.height=l,f.maxHeight=u}}}}}});