PageSourceSearch

https://static.uml.edu/www/template/v8/build/18813ca0b482e47b59a4d04.js

js uml.edu collected 2026-09-24 08:28:06 UTC 6,466 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_umass_lowell_website_template=self.webpackChunk_umass_lowell_website_template||[]).push([[188],{6188(e,t,n){n.r(t),n.d(t,{TestimonialsTickerWC:()=>R});var r=n(4848),o=n(6942),i=n.n(o),u=n(900),a=n(2543);let l=/(-?(?:\d+\.?\d*|\d*\.?\d+)(?:e[-+]?\d+)?)\s*([\p{L}]*)/giu;function c(e="",t="ms"){var n,r=null;return(e=(e+"").replace(/(\d)[,_](\d)/g,"$1$2")).replace(l,function(e,o,i){if(i)i=i.toLowerCase();else if(n){for(var u in c)if(c[u]<n){i=u;break}}else i=t;(i=Object.prototype.hasOwnProperty.call(c,i)?c[i]:Object.prototype.hasOwnProperty.call(c,i.replace(/s$/,""))?c[i.replace(/s$/,"")]:null)&&(r=(r||0)+Math.abs(parseFloat(o,10))*i,n=i)}),r&&r/(c[t]||1)*("-"===e[0]?-1:1)}c.year=c.yr=c.y=315576e5,c.month=c.b=26298e5,c.week=c.wk=c.w=6048e5,c.day=c.d=864e5,c.hour=c.hr=c.h=36e5,c.minute=c.min=c.m=6e4,c.second=c.sec=c.s=1e3,c.millisecond=c.millisec=c.ms=1,c["µs"]=c["μs"]=c.us=c.microsecond=.001,c.nanosecond=c.ns=1e-6;const f=c;var s=n(6540),p=n(961);const y="root__Nqyer",h="item__hBgG4",d="currentItem__W2OLe";function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n){return t=k(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,M()?Reflect.construct(t,n||[],k(e).constructor):t.apply(e,n))}function v(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function w(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,v(e,t,"get"))}function g(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function _(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,v(e,t,"set"),n),n}function O(e,t,n){return O=M()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&S(o,n.prototype),o},O.apply(null,arguments)}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return i}}(e,t)||E(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function C(e){var t="function"==typeof Map?new Map:void 0;return C=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return O(e,arguments,k(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),S(r,e)},C(e)}function M(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(M=function(){return!!e})()}var x=function(e){var t=e.items,n=e.shuffle,o=e.duration,u=(0,s.useRef)(),l=A((0,s.use
1State)(0),2),c=l[0],f=l[1],p=A((0,s.useState)(null),2),b=(p[0],p[1]),m=A((0,s.useState)(null),2),v=(m[0],m[1],(0,s.useMemo)(function(){return n?(0,a.shuffle)(t):t},[t,n]));return(0,s.useEffect)(function(){u.current&&(clearTimeout(u.current),u.current=null),u.current=window.setTimeout(function(){f((c+1)%t.length)},o)},[c,t,n,o]),(0,r.jsx)("div",{ref:function(e){return b(e)},className:i()(y,"light-theme"),children:v.map(function(e,t){var n=e.content;return(0,r.jsx)("div",{className:i()(h,t===c?d:null),children:(0,r.jsx)("div",{children:n})},t)})})},P=new WeakMap,I=new WeakMap,L=new WeakMap,R=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),g(e=m(this,t),P,{writable:!0,value:void 0}),g(e,I,{writable:!0,value:void 0}),g(e,L,{writable:!0,value:void 0}),_(e,P,!1),_(e,I,f("5s")),_(e,L,T(e.querySelectorAll("uml-testimonials-ticker-item")).map(function(e){return{content:(0,u.Ay)(e.outerHTML)}})),e}!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(t,e);var n,o,i,a=t.prototype;return a.connectedCallback=function(){this.render()},a.attributeChangedCallback=function(){this.render()},a.render=function(){p.render((0,r.jsx)(x,{shuffle:this.shuffle,duration:this.duration,items:w(this,L)}),this)},n=t,i=[{key:"observedAttributes",get:function(){return["shuffle","duration"]}}],(o=[{key:"shuffle",get:function(){var e=this.getAttribute("shuffle");return"string"==typeof e&&e?JSON.parse(this.getAttribute("shuffle")):""===e||w(this,P)}},{key:"duration",get:function(){var e=this.getAttribute("duration");return"string"==typeof e&&e?f(e):w(this,I)}}])&&j(n.prototype,o),i&&j(n,i),t}(C(HTMLElement))}}]);

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.