芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/timucuy.com/wp-content/themes/customizr/assets/czr/js/czr-control-dom_ready.min.js
!function(e,t){var r=r||e.customize;t(function(i){var e=function(){return i(themeServerControlParams.gridDesignControls.map(function(e){return["#","customize-control-tc_theme_options-",e].join("")}).join(","))};i(e()).addClass("tc-grid-design").hide(),i(".tc-grid-toggle-controls").on("click",function(){i(e()).slideToggle("fast"),i(this).toggleClass("open")}),$g_logo=i("
",{class:"tc-title-google-logo",src:"//www.google.com/images/logos/google_logo_41.png",height:20}),i("#accordion-section-fonts_sec").prepend($g_logo);var n=i.Deferred();void 0!==i.fn.czrSelect2&&void 0!==i.fn.czrSelect2.amd&&"function"==typeof i.fn.czrSelect2.amd.require?i.fn.czrSelect2.amd.require(["czrSelect2/results","czrSelect2/utils"],function(e,t){var o=function(e,t,n){o.__super__.constructor.call(this,e,t,n)};t.Extend(o,e),o.prototype.bind=function(e,t){var n=this;e.on("results:focus",function(e){"true"!=e.element.attr("aria-selected")&&n.trigger("select",{data:e.data})}),o.__super__.bind.call(this,e,t)},n.resolve(o)}):n.resolve(!1),i.when(n).done(function(e){var t={minimumResultsForSearch:-1,templateResult:o,templateSelection:o,escapeMarkup:function(e){return e}},n={minimumResultsForSearch:-1,templateResult:c,templateSelection:c,escapeMarkup:function(e){return e}};function o(e){return e.id?'
'+i(e.element).data("hex")+"
":e.text}function c(e){return e.id||-1==e.text.indexOf("Google")?e.id?'
'+e.text+"
":e.text:'
Font pairs'}e&&(i.extend(t,{resultsAdapter:e,closeOnSelect:!1}),i.extend(n,{resultsAdapter:e,closeOnSelect:!1})),i('select[data-customize-setting-link="tc_theme_options[tc_skin]"]').czrSelect2(t),i('select[data-customize-setting-link="tc_theme_options[tc_fonts]"]').czrSelect2(n)}),themeServerControlParams.isModernStyle||function(){var o="tc_theme_options[tc_menu_position]",c="tc_theme_options[tc_second_menu_position]",e=r("tc_theme_options[tc_header_layout]");function n(n){_.each([o,c],function(e){var t=r.control(e).container.find("select");t.find('option[value="pull-menu-center"]')[n?"removeAttr":"attr"]("disabled","disabled"),t.selecter("destroy").selecter()})}"centered"!=e.get()&&n(!1),e.callbacks.add(function(e,t){"centered"!=e&&"centered"==t&&_.each([o,c],function(e){"pull-menu-center"==r(e).get()&&r(e).set(themeServerControlParams.isRTL?"pull-menu-left":"pull-menu-right")}),n("centered"==e)})}()}),r.when("tc_theme_options[tc_style]",function(t){t.bind(function(){r.state.has("selectedChangesetStatus")&&r.state("selectedChangesetStatus")("publish"),r.previewer.save().always(function(){if(_wpCustomizeSettings&&_wpCustomizeSettings.url&&_wpCustomizeSettings.url.parent){var e=[_wpCustomizeSettings.url.parent];e.push("customize.php?&autofocus%5Bcontrol%5D="+t.id),_.delay(function(){window.location.href=e.join("")},500)}else _.delay(function(){window.parent.location.reload()})})}),t.validate=function(e){return themeServerControlParams.isChildTheme?t():e},r.control.when(t.id,function(e){e.deferred.embedded.done(function(){r.section(e.section()).expanded.bind(function(){themeServerControlParams.isChildTheme&&e.container.find("select, .selecter").hide()})})})}),r.bind("ready",function(){_.each(["panel","section","control"],function(t){r.previewer.bind("czr-"+t+"-focus",function(e){try{r[t].has(e)&&r[t](e).focus()}catch(e){console.log(e)}})})})}(wp,jQuery);