PageSourceSearch

https://redbarrelsgames.com/wp-content/themes/redbarrelsgames/dist…log_index_js.5ac41acf230903ec9ba6.bundle.js

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

1"use strict";(self.webpackChunkredbarrelsgames=self.webpackChunkredbarrelsgames||[]).push([["src_js_ui_site-dialog_index_js"],{
1"./src/js/ui/site-dialog/index.js":(t,e,i)=>{i.r(e),i.d(e,{default:()=>h});var n=i("./src/js/utils/dom.js"),s=i("./src/js/utils/listener.js");function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var l="--js-site-dialog-opened";const h=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.initialized=!1,this.el=e,this.emitter=i,this.contentEl=(0,n.$)(".site-dialog__content",this.el),this.closeBtn=(0,n.$)(".site-dialog__close",this.el),this._onOpen=this._onOpen.bind(this),this._onClick=this._onClick.bind(this),this._onClose=this._onClose.bind(this),this._empty=this._empty.bind(this)}var e,i,h;return e=t,(i=[{key:"name",get:function(){return"SiteDialog"}},{key:"init",value:function(){this.initialized||(this.initialized=!0,this._bindEvents())}},{key:"stop",value:function(){this._empty()}},{key:"_bindEvents",value:function(){(0,s.on)(this.el,"click",this._onClick),(0,s.on)(this.el,"close",this._onClose),this.closeBtn&&(0,s.on)(this.closeBtn,"click",this._onClose),this.emitter.on("SiteDialog.open",this._onOpen),this.emitter.on("SiteDialog.close",this._onClose)}},{key:"_onOpen",value:function(t){t&&this.contentEl&&this.contentEl.appendChild(t),this.open=!0}},{key:"_onClick",value:function(t){t.target===this.el&&(this.open=!1)}},{key:"_empty",value:function(){this.open&&(this.contentEl.innerHTML="",this.el.close())}},{key:"_onClose",value:function(){this.open=!1}},{key:"open",get:function(){return this.el.hasAttribute("open")},set:function(t){t?(this.el.showModal(),this.emitter.emit("SiteScroll.stop",!0),n.dy.classList.add(l)):(this.el.close(),this.contentEl.innerHTML="",this.emitter.emit("SiteScroll.start"),n.dy.classList.remove(l))}}])&&o(e.prototype,i),h&&o(e,h),t}()}
1}]);
2//# sourceMappingURL=src_js_ui_site-dialog_index_js.5ac41acf230903ec9ba6.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.