PageSourceSearch

https://www.worldbuildingsdirectory.com/wp-content/plugins/visualc…/dist/menuToggle.bundle.js?ver=45.9.0-18

js worldbuildingsdirectory.com collected 2026-09-24 19:01:21 UTC 2,377 bytes, 1 lines download raw bytes

vendor: 913 bytes, line 1
1!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p=".",o(o.s=0)}({
1"./src/menuToggleScript.js":function(t,e){!function(){function t(t,e){var o;for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}function e(){if(this.modal=this.options.container.querySelector(this.options.modalSelector),this.openButton=this.options.container.querySelector(this.options.openSelector),this.closeButton=this.options.container.querySelector(this.options.closeSelector),this.modalMenuItems=this.options.container.querySelectorAll(this.options.modalSelector+" .menu-item a"),this.openButton&&this.openButton.addEventListener("click",this.open.bind(this)),this.closeButton&&this.closeButton.addEventListener("click",this.close.bind(this)),this.modalMenuItems&&this.modalMenuItems.length){let t=this;this.modalMenuItems.forEach((function(e){e.addEventListener("click",t.close.bind(t))}))}}window.vcvSandwichModal=function(){this.modal=null,this.openButton=null,this.closeButton=null;var o={container:null,modalSelector:null,openSelector:null,closeSelector:null,activeAttribute:null};arguments[0]&&"object"==typeof arguments[0]&&(this.options=t(o,arguments[0])),e.call(this)},window.vcvSandwichModal.prototype.close=function(){this.modal.removeAttribute(this.options.activeAttribute),document.body.style.overflow=""},window.vcvSandwichModal.prototype.open=function(){document.body.style.overflow="hidden",this.modal.setAttribute(this.options.activeAttribute,"true")}}()}
1,0:function(t,e,o){t.exports=o("./src/menuToggleScript.js")}});

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.