PageSourceSearch

https://voluum.com/wp-content/themes/voluum/dist/5503.js

js voluum.com collected 2026-10-02 03:55:55 UTC 2,493 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkvoluum_main_assets_v2=self.webpackChunkvoluum_main_assets_v2||[]).push([[5503],{5503:function(e,t,n){n.r(t),n.d(t,{default:function(){return r}});var s=n(9294),o=n(2726),a=n.n(o);class d{constructor(){this.modals=a()(".new-modal"),this.handleLinks(),this.handleClose(),a()(window).on("resize",(0,s.sg)((()=>{this.handleLinks()}),500))}handleLinks(){a()("[data-toggle-modal]").off("click"),a()("[data-toggle-modal]").on("click",(e=>{e.preventDefault();let t=a()(e.currentTarget).data("toggle-modal");d.open(t)}))}handleClose(){document.addEventListener("keydown",(e=>{"Escape"===e.key&&this.modals.each(((e,t)=>{d.close(t.id)}))})),this.modals.each(((e,t)=>{a()(t).on("click",".new-modal__close",(()=>{d.close(t.id)}))})),this.modals.each(((e,t)=>{a()(t).on("click",(e=>{e.currentTarget===e.target&&d.close(t.id)}))}))}static open(e){a()(".new-modal#"+e).addClass("new-modal--open"),a()("body").css("overflow","hidden");const t=new CustomEvent("newmodalopened",{detail:{modal:e}});document.dispatchEvent(t)}static close(e){if(e){a()(".new-modal#"+e).removeClass("new-modal--open"),a()("body").css("overflow","");const t=new CustomEvent("newmodalclosed",{detail:{modal:e}});document.dispatchEvent(t)}}}window.closeModal=e=>{d.close(e)};class l{static sendRegistrationEvent(e){null!==e&&e.length>0?l.sendEvent("User","Register","Registration_Submitted_From_Trial",{eventToken:e}):l.sendEvent("User","Register","Registration_Submitted")}static sendRegistrationFailedEvent(e){l.sendEvent("User","Register_Failed",e)}static sendEvent(e,t,n,s){if(window.dataLayer){let o={event:"GAEvent",eventCategory:e,eventAction:t,eventLabel:n};if(void 0!==s)for(let e in s)s.hasOwnProperty(e)&&(o[e]=s[e]);window.dataLayer.push(o)}}}var i=n(8987);const c="marketplaceModalDisplayed";class r{constructor(){this.modalId="marketplace-modal",this.button=this.modalContainer=document.querySelector(`#${this.modalId}`),this.button=null,this.modalContainer&&(this.showModal(),this.resolveElements(),this.addListeners())}resolveElements(){this.button=this.modalContainer.querySelector("[data-marketplace-button]")}addListeners(){this.button&&this.button.addEventListener("click",this.handleButtonClick.bind(this))}handleButtonClick(e){l.sendEvent("Marketplace Modal","Modal button clicked","")}showModal(){"1"!==i.A.get(c)&&setTimeout((()=>{d.open(this.modalId),i.A.set(c,"1",{expires:7})}),3e3),l.sendEvent("Marketplace Modal","Modal displayed","")}}}}]);
2//# sourceMappingURL=5503.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.