| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/www/websites/rishh/XStore Theme/xstore/js/modules/ |
| Current File : /home/udaipurk/www/websites/rishh/XStore Theme/xstore/js/modules/ethemeContentSwitcher.min.js |
!function(){"use strict";jQuery(window).on("elementor/frontend/init",function(){var t=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.run()},getDefaultSettings:function(){return{selectors:{wrapper:".etheme-cs-wrapper",switchLabel:".etheme-cs-switch",input:".etheme-cs-toggle-switch",content:".etheme-cs-content"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$wrapper:this.$element.find(e.wrapper),$switchLabel:this.$element.find(e.switchLabel),$input:this.$element.find(e.input),$content:this.$element.find(e.content)}},run:function(){var e=this;this.elements.$input.on("change",function(){e.elements.$switchLabel.toggleClass("active"),e.elements.$content.attr("style",null).toggleClass("active")})}});elementorFrontend.hooks.addAction("frontend/element_ready/etheme_content_switcher.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}();