PageSourceSearch

https://redbarrelsgames.com/wp-content/themes/redbarrelsgames/dist…als_index_js.8f6c5b3ca43be951e265.bundle.js

js redbarrelsgames.com collected 2026-10-02 05:06:37 UTC 2,564 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkredbarrelsgames=self.webpackChunkredbarrelsgames||[]).push([["src_js_modules_pb-row-testimonials_index_js"],{
1"./src/js/modules/pb-row-testimonials/index.js":(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var i=n("./src/js/utils/dom.js"),r=n("./src/js/utils/listener.js");function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t)||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.")}()}const l=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.emitter=n,this.btn=(0,i.$)(".pb-row-testimonials__btn",this.el),this.additionalTestimonials=o((0,i.$$)(".pb-row-testimonials__testimonial[aria-hidden]",this.el)),this._expanded=!1,this._onBtnClick=this._onBtnClick.bind(this)}var e,n,s;return e=t,(n=[{key:"destroy",value:function(){this.el=null,this.emitter=null,this.btn=null}},{key:"start",value:function(){this._bindEvents()}},{key:"stop",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){this.btn&&(0,r.on)(this.btn,"click",this._onBtnClick)}},{key:"_unbindEvents",value:function(){this.btn&&(0,r.S1)(this.btn,"click",this._onBtnClick)}},{key:"_onBtnClick",value:function(){this.expanded=!this.expanded}},{key:"expanded",get:function(){return this._expanded},set:function(t){var e=this;this._expanded=t,this.btn&&this.btn.setAttribute("aria-expanded",this.expanded),this.el.classList[this.expanded?"add":"remove"]("--js-expanded"),this.additionalTestimonials.forEach((function(t){t.setAttribute("aria-hidden",!e.expanded)})),this.emitter.emit("SiteScroll.update")}}])&&a(e.prototype,n),s&&a(e,s),t}()}
1}]);
2//# sourceMappingURL=src_js_modules_pb-row-testimonials_index_js.8f6c5b3ca43be951e265.bundle.js.map

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.