Current path: home/webdevt/www/cryptoimpot.fr/wp-content/themes/spacious/inc/customizer/core/assets/js/
?? Go up: /home/webdevt/www/cryptoimpot.fr/wp-content/themes/spacious/inc/customizer/core/assets
!function(o){var e,i,t,n,a,s;wp.customize.bind("pane-contents-reflowed",function(){var t=[],n=[];wp.customize.section.each(function(e){"spacious_section"===e.params.type&&void 0!==e.params.section&&n.push(e)}),n.sort(wp.customize.utils.prioritySort).reverse(),o.each(n,function(e,t){o("#sub-accordion-section-"+t.params.section).children(".section-meta").after(t.headContainer)}),wp.customize.panel.each(function(e){"spacious_panel"===e.params.type&&void 0!==e.params.panel&&t.push(e)}),t.sort(wp.customize.utils.prioritySort).reverse(),o.each(t,function(e,t){o("#sub-accordion-panel-"+t.params.panel).children(".panel-meta").after(t.headContainer)})}),e=wp.customize.Panel.prototype.embed,i=wp.customize.Panel.prototype.isContextuallyActive,t=wp.customize.Panel.prototype.attachEvents,wp.customize.Panel=wp.customize.Panel.extend({attachEvents:function(){var n;"spacious_panel"===this.params.type&&void 0!==this.params.panel?(t.call(this),(n=this).expanded.bind(function(e){var t=wp.customize.panel(n.params.panel);e?t.contentContainer.addClass("current-panel-parent"):t.contentContainer.removeClass("current-panel-parent")}),n.container.find(".customize-panel-back").off("click keydown").on("click keydown",function(e){wp.customize.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),n.expanded()&&wp.customize.panel(n.params.panel).expand())})):t.call(this)},embed:function(){"spacious_panel"===this.params.type&&void 0!==this.params.panel?(e.call(this),o("#sub-accordion-panel-"+this.params.panel).append(this.headContainer)):e.call(this)},isContextuallyActive:function(){var t,n=this,o=0;return"spacious_panel"!==this.params.type?i.call(this):(t=this._children("panel","section"),wp.customize.panel.each(function(e){e.params.panel&&e.params.panel===n.id&&t.push(e)}),t.sort(wp.customize.utils.prioritySort),_(t).each(function(e){e.active()&&e.isContextuallyActive()&&(o+=1)}),0!==o)}}),n=wp.customize.Section.prototype.embed,a=wp.customize.Section.prototype.isContextuallyActive,s=wp.customize.Section.prototype.attachEvents,wp.customize.Section=wp.customize.Section.extend({attachEvents:function(){var n=this;"spacious_section"===this.params.type&&void 0!==this.params.section?(s.call(n),n.expanded.bind(function(e){var t=wp.customize.section(n.params.section);e?t.contentContainer.addClass("current-section-parent"):t.contentContainer.removeClass("current-section-parent")}),n.container.find(".customize-section-back").off("click keydown").on("click keydown",function(e){wp.customize.utils.isKeydownButNotEnterEvent(e)||(e.preventDefault(),n.expanded()&&wp.customize.section(n.params.section).expand())})):s.call(n)},embed:function(){var e=this;"spacious_section"===this.params.type&&void 0!==this.params.section?(n.call(e),o("#sub-accordion-section-"+this.params.section).append(e.headContainer)):n.call(e)},isContextuallyActive:function(){var t,n=this,o=0;return"spacious_section"!==this.params.type?a.call(this):(t=this._children("section","control"),wp.customize.section.each(function(e){e.params.section&&e.params.section===n.id&&t.push(e)}),t.sort(wp.customize.utils.prioritySort),_(t).each(function(e){void 0!==e.isContextuallyActive?e.active()&&e.isContextuallyActive()&&(o+=1):e.active()&&(o+=1)}),0!==o)}})}(jQuery),jQuery,wp.customize.bind("ready",function(){wp.customize.control.each(function(e,t){var n,o=e.container.find(".customize-control-description");o.length&&(e.container.find(".customize-control-title"),n=o.closest("li"),e=o.text().replace(/[u00A0-u9999<>&]/gim,function(e){return"&#"+e.charCodeAt(0)+";"}),o.remove(),n.append('<i class="spacious-control-tooltip dashicons dashicons-editor-help" title="'+e+'"></i>'))})}),jQuery(document).ready(function(a){a(".customize-control").on("click",".responsive-switchers button",function(e){a(this);var t=a(".responsive-switchers"),n=a(e.currentTarget).data("device"),o=a(".customize-control.has-responsive-switchers"),i=a(".wp-full-overlay"),e=a(".wp-full-overlay-footer .devices");t.find("button").removeClass("active"),t.find("button.preview-"+n).addClass("active"),o.find(".control-wrap").removeClass("active"),o.find(".control-wrap."+n).addClass("active"),i.removeClass("preview-desktop preview-tablet preview-mobile").addClass("preview-"+n),e.find("button").removeClass("active").attr("aria-pressed",!1),e.find("button.preview-"+n).addClass("active").attr("aria-pressed",!0)}),a(".wp-full-overlay-footer .devices").on("click","button",function(e){a(this);var t=a(".customize-control.has-responsive-switchers .responsive-switchers"),n=a(e.currentTarget).data("device"),e=a(".customize-control.has-responsive-switchers");t.find("button").removeClass("active"),t.find("button.preview-"+n).addClass("active"),e.find(".control-wrap").removeClass("active"),e.find(".control-wrap."+n).addClass("active")})}),function(e){e.sectionConstructor["spacious-upsell-section"]=e.Section.extend({attachEvents:function(){},isContextuallyActive:function(){return!0}})}((jQuery,wp.customize));