/*! wp-color-picker-alpha - Version 1.0 * Copyright (c) 2017 Elegant Themes; Licensed under the GPLv2 license. * This is modified version made by Elegant Themes based on the work covered by the following copyright: * wp-color-picker-alpha - Version: 1.1 * https://github.com/23r9i0/wp-color-picker-alpha * Copyright (c) 2015 Sergio P.A. (23r9i0); Licensed under the GPLv2 license. */ !function(t){var i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==";Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var t=parseInt(this._color,10).toString(16);if(this.error)return"";if(t.length<6)for(var i=6-t.length-1;i>=0;i--)t="0"+t;return"#"+t},t.widget("wp.wpColorPicker",t.wp.wpColorPicker,{_create:function(){if(t.support.iris){var e=this,o=e.element;if(t.extend(e.options,o.data()),"hue"===e.options.type)return e._createHueOnly();e.close=t.proxy(e.close,e),e.initialValue=o.val(),o.addClass("wp-color-picker"),o.parent("label").length||(o.wrap(""),e.wrappingLabelText=t('').insertBefore(o).text(wpColorPickerL10n.defaultLabel)),e.wrappingLabel=o.parent(),e.wrappingLabel.wrap('
'),e.wrap=e.wrappingLabel.parent(),e.toggler=t('').insertBefore(e.wrappingLabel).css({backgroundColor:e.initialValue}).attr("title",wpColorPickerL10n.pick).addClass("et-wp-color-result-updated"),"undefined"!=typeof et_pb_color_picker_strings&&e.toggler.attr("data-legacy_title",et_pb_color_picker_strings.legacy_pick).attr("data-current",et_pb_color_picker_strings.legacy_current),e.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),e.pickerContainer=t('
').insertAfter(e.wrappingLabel),e.button=t(''),e.close_button=t('