PATH:
home
/
lab2454c
/
veritserv.com
/
wp-content
/
plugins
/
user-registration-style-customizer
/
assets
/
js
/
admin
!function(o,e,t){var c="user_registration_styles["+t.form_id+"]",s="user_registration_login_styles",r=o(".user-registration.ur-frontend-form"),a=o(".ur-frontend-form.login"),n=r.find(".ur-form-row .ur-field-item .form-row > .ur-label"),d=a.find(".ur-form-row .user-registration-form-row > label"),u=r.find(".ur-form-row .description");function i(e){var t="";e=e.split(" ");if(Array.isArray(e)){t=e[0];for(var i=1;i<e.length;i++)t=t+"+"+e[i]}o('<link href="https://fonts.googleapis.com/css?family='+t+'" rel="stylesheet" type="text/css">').appendTo("head")}controls_wrapper=o(parent.document).find("#customize-controls"),preview_buttons=controls_wrapper.find("#customize-footer-actions .devices button"),dimension_directions=["top","right","bottom","left"];var f={color:"",weight:"",style:"",decoration:"",transform:""};function l(e,t){0===e.length&&(e="ur-frontend-form");var i="#"+e+" input::placeholder, #"+e+" textarea::placeholder {\n";return Object.assign(f,t),""!==f.color&&(i+="color: "+f.color+" !important;\n"),""!==f.decoration&&(i+="text-decoration: "+f.decoration+" !important;\n"),""!==f.weight&&(i+="font-weight: "+f.weight+" !important;\n"),""!==f.style&&(i+="font-style: "+f.style+" !important;\n"),""!==f.transform&&(i+="text-transform: "+f.transform+" !important;\n"),i+="}\n"}function p(e,t,i){0===e.length&&(e="ur-frontend-form");var n="#"+e+" input[type='radio'], #"+e+" input[type='checkbox'] {\n";return n+="border: 1px solid "+t+" !important;\n",n+="}\n",n="#"+e+" input[type='radio']:checked, #"+e+" input[type='checkbox']:checked {\n",n+="border: 1px solid "+i+" !important;\n",n+="}\n",n+="#"+e+" input[type='radio']:checked::before, #"+e+" input[type='checkbox']:checked::before {\n",n+="content: '';\n",n+="}\n",n+="#"+e+" input[type='radio']:checked::before {\n",n+="height: 50%;\n",n+="width: 50%;\n",n+="display: inline-block;\n",n+="border-radius: 50%;\n",n+="background-color: "+i+" !important;\n",n+="margin-top: 25%;\n",n+="}\n",n+="#"+e+" input[type='checkbox']:checked::before {\n",n+="height: 50%;\n",n+="width: 25%;\n",n+="display: inline-block;\n",n+="border: solid "+i+" !important;\n",n+="border-width: 0 2px 2px 0 !important;\n",n+="transform: rotate(45deg);\n",n+="margin-top: 12.5%;\n",n+="}\n"}function b(e,t){0===e.length&&(e="ur-frontend-form");var i="#"+e+" input[type='radio']:checked, #"+e+" input[type='checkbox']:checked {\n";return i+="background-color: "+t+" !important;\n",i+="}\n",i+="#"+e+" input[type='radio']:checked::before, #"+e+" input[type='checkbox']:checked::before {\n",i+="content: '';\n",i+="height: 50%;\n",i+="margin-top: 25%;\n",i+="}\n",i+="#"+e+" input[type='radio']:checked::before {\n",i+="width: 50%;\n",i+="display: inline-block;\n",i+="border-radius: 50%;\n",i+="background-color: #fff !important;\n",i+="margin-top: 25%;\n",i+="}\n",i+="#"+e+" input[type='checkbox']:checked::before {\n",i+="width: 25%;\n",i+="display: inline-block;\n",i+="border: solid #fff !important;\n",i+="border-width: 0 2px 2px 0 !important;\n",i+="transform: rotate(45deg);\n",i+="margin-top: 12%;\n",i+="}\n"}function m(e){0===e.length&&(e="ur-frontend-form");var t="#"+e+" input[type='radio']:checked::before, #"+e+" input[type='checkbox']:checked::before {\n";return t+="content: none !important;\n"}o(document).ready(function(){var e=r.attr("id"),t="<style id='placeholder-"+e+"'>\n";t+="</style>",t+="<style id='inputstyle-"+e+"'>\n",t+="</style>",r.prepend(t)}),o(document).ready(function(){a.prepend("<style id='placeholder'>\n</style><style id='inputstyle'>\n</style>")}),wp.customize(c+"[template]",function(e){controls_wrapper.find(".control-section-ur-templates").find(".customize-template-name").text(t.templates[e.get()].name),e.bind(function(e){controls_wrapper.find(".control-section-ur-templates").find(".customize-template-name").text(t.templates[e].name)})}),wp.customize(c+"[wrapper][width]",function(e){e.bind(function(e){r.css("width",e+"%")})}),wp.customize(c+"[wrapper][font_family]",function(e){e.bind(function(e){""===e?r.css("font-family","inherit"):(i(e),r.css("font-family",e))})}),wp.customize(c+"[wrapper][background_color]",function(e){e.bind(function(e){r.css("background-color",e)})}),wp.customize(c+"[wrapper][background_image]",function(e){e.bind(function(e){r.css("background-image","url("+e+")")})}),wp.customize(c+"[wrapper][background_size]",function(e){e.bind(function(e){r.css("background-size",e)})}),wp.customize(c+"[wrapper][background_position_x]",function(e){e.bind(function(e){var t=e;wp.customize(c+"[wrapper][background_position_y]",function(e){t+=" "+e.get()}),r.css("background-position",t)})}),wp.customize(c+"[wrapper][background_position_y]",function(e){e.bind(function(e){var t="";wp.customize(c+"[wrapper][background_position_x]",function(e){t+=e.get()}),t+=" "+e,r.css("background-position",t)})}),wp.customize(c+"[wrapper][background_repeat]",function(e){e.bind(function(e){r.css("background-repeat",e)})}),wp.customize(c+"[wrapper][background_attachment]",function(e){e.bind(function(e){r.css("background-attachment",e)})}),wp.customize(c+"[wrapper][border_type]",function(e){e.bind(function(e){r.css("border-style",e),wp.customize(c+"[wrapper][border_color]",function(e){r.css("border-color",e.get())})})}),wp.customize(c+"[wrapper][border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&r.css("border-"+e+"-width",t+"px")})})}),wp.customize(c+"[wrapper][border_color]",function(e){e.bind(function(e){r.css("border-color",e)})}),wp.customize(c+"[wrapper][border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":r.css("border-top-left-radius",t+i);break;case"right":r.css("border-top-right-radius",t+i);break;case"bottom":r.css("border-bottom-right-radius",t+i);break;case"left":r.css("border-bottom-left-radius",t+i)}})})}),wp.customize(c+"[wrapper][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.css("margin-"+e,t+"px")})})}),wp.customize(c+"[wrapper][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.css("padding-"+e,t+"px")})})}),wp.customize(c+"[field_label][font_size]",function(e){e.bind(function(e){n.css("font-size",e+"px")})}),wp.customize(c+"[field_label][font_color]",function(e){e.bind(function(e){n.css("color",e)})}),wp.customize(c+"[field_label][font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":n.css("font-weight",!0===t?"bold":"normal");break;case"italic":n.css("font-style",!0===t?"italic":"normal");break;case"underline":n.css("text-decoration",!0===t?"underline":"none");break;case"uppercase":n.css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(c+"[field_label][text_alignment]",function(e){e.bind(function(e){n.css("text-align",e)})}),wp.customize(c+"[field_label][line_height]",function(e){e.bind(function(e){n.css("line-height",e)})}),wp.customize(c+"[field_label][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");n.css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){n.css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){n.css("margin-"+e,t+"px")})})}),wp.customize(c+"[field_label][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");n.css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){n.css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){n.css("padding-"+e,t+"px")})})}),wp.customize(c+"[field_description][font_size]",function(e){e.bind(function(e){u.css("font-size",e+"px")})}),wp.customize(c+"[field_description][font_color]",function(e){e.bind(function(e){u.css("color",e)})}),wp.customize(c+"[field_description][font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":u.css("font-weight",!0===t?"bold":"normal");break;case"italic":u.css("font-style",!0===t?"italic":"normal");break;case"underline":u.css("text-decoration",!0===t?"underline":"none");break;case"uppercase":u.css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(c+"[field_description][text_alignment]",function(e){e.bind(function(e){u.css("text-align",e)})}),wp.customize(c+"[field_description][line_height]",function(e){e.bind(function(e){u.css("line-height",e)})}),wp.customize(c+"[field_description][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");u.css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){u.css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){u.css("margin-"+e,t+"px")})})}),wp.customize(c+"[field_description][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");u.css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){u.css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){u.css("padding-"+e,t+"px")})})}),wp.customize(c+"[field_styles][font_size]",function(e){e.bind(function(e){r.find("input, textarea, select").css("font-size",e+"px")})});wp.customize(c+"[field_styles][font_color]",function(e){e.bind(function(e){e,r.find("input, textarea, select").css("color",e)})}),wp.customize(c+"[field_styles][placeholder_font_color]",function(e){var t=r.attr("id");e.bind(function(e){r.find("style#placeholder-"+t).html(l(t,{color:e}))})}),wp.customize(c+"[field_styles][font_style]",function(e){e.bind(function(e){var n=r.attr("id");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){var i="";switch(e){case"bold":i=!0===t?"bold":"normal",r.find("input, textarea, select").css("font-weight",i),r.find("style#placeholder-"+n).html(l(n,{weight:i}));break;case"italic":i=!0===t?"italic":"normal",r.find("input, textarea, select").css("font-style",i),r.find("style#placeholder-"+n).html(l(n,{style:i}));break;case"underline":i=!0===t?"underline":"none",r.find("input, textarea, select").css("text-decoration",i),r.find("style#placeholder-"+n).html(l(n,{decoration:i}));break;case"uppercase":i=!0===t?"uppercase":"none",r.find("input, textarea, select").css("text-transform",i),r.find("style#placeholder-"+n).html(l(n,{transform:i}))}})})}),wp.customize(c+"[field_styles][alignment]",function(e){e.bind(function(e){r.find("input, textarea").css("text-align",e),r.find("select").css("text-align-last",e);var t="ltr";"right"==e&&(t="rtl"),r.find("option").css("direction",t)})}),wp.customize(c+"[field_styles][border_type]",function(e){e.bind(function(e){r.find("input, textarea, select").css("border-style",e)})}),wp.customize(c+"[field_styles][border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&r.find("input, textarea, select").css("border-"+e+"-width",t+"px")})})});var g="";wp.customize(c+"[field_styles][border_color]",function(e){e.bind(function(e){g=e,r.find("input, textarea, select").css("border-color",e)})}),wp.customize(c+"[field_styles][border_focus_color]",function(i){r.find("input, textarea, select").on("focus blur",function(e){if("focus"==e.type){var t=i.get();o(this).css("border-color",t)}else o(this).css("border-color",g)})}),wp.customize(c+"[field_styles][border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":r.find("input, textarea, select").css("border-top-left-radius",t+i);break;case"right":r.find("input, textarea, select").css("border-top-right-radius",t+i);break;case"bottom":r.find("input, textarea, select").css("border-bottom-right-radius",t+i);break;case"left":r.find("input, textarea, select").css("border-bottom-left-radius",t+i)}})})}),wp.customize(c+"[field_styles][background_color]",function(e){e.bind(function(e){r.find("input, textarea, select").css("background-color",e)})}),wp.customize(c+"[field_styles][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find("input, textarea, select").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find("input, textarea, select").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find("input, textarea, select").css("margin-"+e,t+"px")})})}),wp.customize(c+"[field_styles][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find("input, textarea, select").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find("input, textarea, select").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find("input, textarea, select").css("padding-"+e,t+"px")})})}),wp.customize(c+"[checkbox_radio_styles][font_size]",function(e){e.bind(function(e){r.find(".field-radio label.radio, .field-checkbox label.ur-checkbox-label").css("font-size",e+"px")})}),wp.customize(c+"[checkbox_radio_styles][font_color]",function(e){e.bind(function(e){r.find(".field-radio label.radio, .field-checkbox label.ur-checkbox-label").css("color",e)})}),wp.customize(c+"[checkbox_radio_styles][font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":r.find(".field-radio label.radio, .field-checkbox label.ur-checkbox-label").css("font-weight",!0===t?"bold":"normal");break;case"italic":r.find(".field-radio label.radio, .field-checkbox label.ur-checkbox-label").css("font-style",!0===t?"italic":"normal");break;case"underline":r.find(".field-radio label.radio, .field-checkbox label.ur-checkbox-label").css("text-decoration",!0===t?"underline":"none");break;case"uppercase":r.find(".field-radio label.radio, .field-checkbox label.ur-checkbox-label").css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(c+"[checkbox_radio_styles][alignment]",function(e){e.bind(function(e){r.find(".field-radio li.ur-radio-list, .field-checkbox li.ur-checkbox-list").css("text-align",e);var t="ltr";"right"==e&&(t="rtl"),r.find("option").css("direction",t)})}),wp.customize(c+"[checkbox_radio_styles][inline_style]",function(e){e.bind(function(e){var t=r.find(".field-radio ul, .field-checkbox ul");switch(t.addClass(e),e){case"inline":t.css({display:"flex","flex-wrap":"wrap"}),t.find("li").css({display:"",flex:"0 auto"});break;case"two_columns":t.css({display:"flex","flex-wrap":"wrap"}),t.find("li").css({display:"",flex:"0 50%"}),t.find("li label").css({flex:"1"});break;default:t.css({display:"inherit","flex-wrap":""}),t.find("li").css({display:"inherit",flex:"","max-width":""}),t.find("li label").css({display:"inline",flex:""})}})}),wp.customize(c+"[checkbox_radio_styles][style_variation]",function(e){var s=r.attr("id");e.bind(function(e){var t=0,i="",n="";wp.customize(c+"[checkbox_radio_styles][size]",function(e){t=e.get()+"px"}),wp.customize(c+"[checkbox_radio_styles][color]",function(e){i=e.get()}),wp.customize(c+"[checkbox_radio_styles][checked_color]",function(e){n=e.get()});var o=r.find('.field-radio ul input[type="radio"], .field-checkbox ul input[type="checkbox"]');switch(e){case"outline":r.find("style#placeholder-"+s).html(p(s,i,n)),o.css({width:t,height:t,display:"inline-block","text-align":"center","background-color":"transparent",border:"1px solid "+i});break;case"filled":r.find("style#placeholder-"+s).html(b(s,n)),o.css({border:"",width:t,height:t,display:"inline-block","text-align":"center","background-color":i,border:"none"});break;default:r.find("style#placeholder-"+s).html(m(s)),o.css({width:"inherit",height:"inherit",display:"","text-align":"","background-color":"",border:""})}o=r.find('input[type="checkbox"]');switch(e){case"outline":case"filled":o.css({"-webkit-appearance":"none"});break;default:o.css({"-webkit-appearance":"checkbox"})}switch((o=r.find('input[type="radio"]')).css({"border-radius":"50%"}),e){case"outline":case"filled":o.css({"-webkit-appearance":"none"});break;default:o.css({"-webkit-appearance":"radio"})}})}),wp.customize(c+"[checkbox_radio_styles][size]",function(e){e.bind(function(e){r.find('.field-radio ul input[type="radio"], .field-checkbox ul input[type="checkbox"]').css({width:e+"px",height:e+"px"})})}),wp.customize(c+"[checkbox_radio_styles][color]",function(e){var t="default";e.bind(function(e){wp.customize(c+"[checkbox_radio_styles][style_variation]",function(e){t=e.get()}),"outline"===t?r.find('.field-radio ul input[type="radio"], .field-checkbox ul input[type="checkbox"]').css("border-color",e).css("background-color","transparent"):"filled"===t?r.find('.field-radio ul input[type="radio"], .field-checkbox ul input[type="checkbox"]').css("border-color",e).css("background-color",e):r.find('.field-radio ul input[type="radio"], .field-checkbox ul input[type="checkbox"]').css("border-color","inherit").css("background-color","inherit")})}),wp.customize(c+"[checkbox_radio_styles][checked_color]",function(e){var t=r.attr("id"),i="default",n="";e.bind(function(e){wp.customize(c+"[checkbox_radio_styles][color]",function(e){n=e.get()}),wp.customize(c+"[checkbox_radio_styles][style_variation]",function(e){i=e.get()}),"outline"===i?r.find("style#placeholder-"+t).html(p(t,n,e)):"filled"===i?r.find("style#placeholder-"+t).html(b(t,e)):r.find("style#placeholder-"+t).html(m(t))})}),wp.customize(c+"[checkbox_radio_styles][margin]",function(i){var n="default";preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");wp.customize(c+"[checkbox_radio_styles][inline_style]",function(e){n=e.get()}),r.find(".field-radio ul .ur-radio-list, .field-checkbox ul .ur-checkbox-list").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){"two_columns"!==n||"right"!==e&&"left"!==e||(t=0),r.find(".field-radio ul .ur-radio-list, .field-checkbox ul .ur-checkbox-list").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");wp.customize(c+"[checkbox_radio_styles][inline_style]",function(e){n=e.get()}),"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){"two_columns"!==n||"right"!==e&&"left"!==e||(t=0),r.find(".field-radio ul .ur-radio-list, .field-checkbox ul .ur-checkbox-list").css("margin-"+e,t+"px")})})}),wp.customize(c+"[checkbox_radio_styles][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".field-radio ul .ur-radio-list, .field-checkbox ul .ur-checkbox-list").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".field-radio ul .ur-radio-list, .field-checkbox ul .ur-checkbox-list").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".field-radio ul .ur-radio-list, .field-checkbox ul .ur-checkbox-list").css("padding-"+e,t+"px")})})}),wp.customize(c+"[section_title][font_size]",function(e){e.bind(function(e){r.find(".field-section_title h3").css("font-size",e+"px")})}),wp.customize(c+"[section_title][font_color]",function(e){e.bind(function(e){r.find(".field-section_title h3").css("color",e)})}),wp.customize(c+"[section_title][font_style]",function(e){e.bind(function(e){var i=r.attr("id");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":r.find(".field-section_title h3").css("font-weight",!0===t?"bold":"normal");break;case"italic":r.find(".field-section_title h3").css("font-style",!0===t?"italic":"normal");break;case"underline":r.find(".field-section_title h3").css("text-decoration",!0===t?"underline":"none"),r.find(".field-section_title h3").find("style#"+i).html(l(i,""));break;case"uppercase":r.find(".field-section_title h3").css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(c+"[section_title][text_alignment]",function(e){e.bind(function(e){r.find(".field-section_title h3").css("text-align",e)})}),wp.customize(c+"[section_title][line_height]",function(e){e.bind(function(e){r.find(".field-section_title h3").css("line-height",e)})}),wp.customize(c+"[section_title][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".field-section_title h3").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".field-section_title h3").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".field-section_title h3").css("margin-"+e,t+"px")})})}),wp.customize(c+"[section_title][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".field-section_title h3").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".field-section_title h3").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".field-section_title h3").css("padding-"+e,t+"px")})})}),wp.customize(c+"[button][font_size]",function(e){e.bind(function(e){r.find(".ur-button-container button").css("font-size",e+"px")})}),wp.customize(c+"[button][font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":r.find(".ur-button-container button").css("font-weight",!0===t?"bold":"normal");break;case"italic":r.find(".ur-button-container button").css("font-style",!0===t?"italic":"normal");break;case"underline":r.find(".ur-button-container button").css("text-decoration",!0===t?"underline":"none");break;case"uppercase":r.find(".ur-button-container button").css("text-transform",!0===t?"uppercase":"none")}})})});var h="";wp.customize(c+"[button][font_color]",function(e){e.bind(function(e){h=e,r.find(".ur-button-container button").css("color",e)})}),wp.customize(c+"[button][hover_font_color]",function(i){r.find(".ur-button-container button").on("mouseover mouseleave",function(e){if("mouseover"==e.type){var t=i.get();o(this).css("color",t)}else o(this).css("color",h)})});var _="";wp.customize(c+"[button][background_color]",function(e){e.bind(function(e){_=e,r.find(".ur-button-container button").css("background-color",e)})}),wp.customize(c+"[button][hover_background_color]",function(i){r.find(".ur-button-container button").on("mouseover mouseleave",function(e){if("mouseover"==e.type){var t=i.get();o(this).css("background-color",t)}else o(this).css("background-color",_)})}),wp.customize(c+"[button][alignment]",function(e){e.bind(function(e){r.find(".ur-button-container").css("text-align",e),r.find(".ur-button-container").css({display:"block"}),r.find(".ur-button-container button").css({"float":"none"})})}),wp.customize(c+"[button][border_type]",function(e){e.bind(function(e){r.find(".ur-button-container button").css("border-style",e)})}),wp.customize(c+"[button][border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&r.find(".ur-button-container button").css("border-"+e+"-width",t+"px")})})});var w="";wp.customize(c+"[button][border_color]",function(e){e.bind(function(e){w=e,r.find(".ur-button-container button").css("border-color",e)})}),wp.customize(c+"[button][border_hover_color]",function(i){r.find(".ur-button-container button").on("mouseover mouseleave",function(e){if("mouseover"==e.type){var t=i.get();o(this).css("border-color",t)}else o(this).css("border-color",w)})}),wp.customize(c+"[button][border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":r.find(".ur-button-container button").css("border-top-left-radius",t+i);break;case"right":r.find(".ur-button-container button").css("border-top-right-radius",t+i);break;case"bottom":r.find(".ur-button-container button").css("border-bottom-right-radius",t+i);break;case"left":r.find(".ur-button-container button").css("border-bottom-left-radius",t+i)}})})}),wp.customize(c+"[button][line_height]",function(e){e.bind(function(e){r.find(".ur-button-container button").css("line-height",e)})}),wp.customize(c+"[button][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".ur-button-container button").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".ur-button-container button").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".ur-button-container button").css("margin-"+e,t+"px")})})}),wp.customize(c+"[button][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".ur-button-container button").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".ur-button-container button").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".ur-button-container button").css("padding-"+e,t+"px")})})}),wp.customize(c+"[messages][show_error_message]",function(e){function t(e){if(r.find(".user-registration-error").remove(),r.find("#ur-submit-message-node.user-registration-error").remove(),!0===e){r.find(".form-row").append('<label class="user-registration-error" for="dummy_message">This field is required.</label>'),r.prepend('<div class="ur-message user-registration-error" id="ur-submit-message-node"><ul class=""><li>Email field is required.</li><li>Password field is required.</li></ul></div>')}}t(e.get()),e.bind(function(e){t(e)})}),wp.customize(c+"[messages][error_font_size]",function(e){e.bind(function(e){r.find(".user-registration-error").css("font-size",e+"px")})});h="";wp.customize(c+"[messages][error_font_color]",function(e){e.bind(function(e){h=e,r.find(".user-registration-error").css("color",e)})});_="";wp.customize(c+"[messages][error_background_color]",function(e){e.bind(function(e){_=e,r.find(".user-registration-error").css("background-color",e)})}),wp.customize(c+"[messages][error_font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":r.find(".user-registration-error").css("font-weight",!0===t?"bold":"normal");break;case"italic":r.find(".user-registration-error").css("font-style",!0===t?"italic":"normal");break;case"underline":r.find(".user-registration-error").css("text-decoration",!0===t?"underline":"none");break;case"uppercase":r.find(".user-registration-error").css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(c+"[messages][error_alignment]",function(e){e.bind(function(e){r.find(".user-registration-error").css("text-align",e)})}),wp.customize(c+"[messages][error_border_type]",function(e){e.bind(function(e){r.find(".user-registration-error").css("border-style",e)})}),wp.customize(c+"[messages][error_border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&r.find(".user-registration-error").css("border-"+e+"-width",t+"px")})})});w="";wp.customize(c+"[messages][error_border_color]",function(e){e.bind(function(e){w=e,r.find(".user-registration-error").css("border-color",e)})}),wp.customize(c+"[messages][error_border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":r.find(".user-registration-error").css("border-top-left-radius",t+i);break;case"right":r.find(".user-registration-error").css("border-top-right-radius",t+i);break;case"bottom":r.find(".user-registration-error").css("border-bottom-right-radius",t+i);break;case"left":r.find(".user-registration-error").css("border-bottom-left-radius",t+i)}})})}),wp.customize(c+"[messages][error_line_height]",function(e){e.bind(function(e){r.find(".user-registration-error").css("line-height",e)})}),wp.customize(c+"[messages][error_margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".user-registration-error").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".user-registration-error").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".user-registration-error").css("margin-"+e,t+"px")})})}),wp.customize(c+"[messages][error_padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".user-registration-error").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".user-registration-error").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".user-registration-error").css("padding-"+e,t+"px")})})}),wp.customize(c+"[messages][show_success_message]",function(e){function t(e){if(r.find("#ur-submit-message-node.user-registration-message").remove(),!0===e){r.append('<div class="ur-message user-registration-message" id="ur-submit-message-node"><ul class=""><li>User successfully registered.</li></ul></div>')}}t(e.get()),e.bind(function(e){t(e)})}),wp.customize(c+"[messages][success_font_size]",function(e){e.bind(function(e){r.find(".user-registration-message").css("font-size",e+"px")})});h="";wp.customize(c+"[messages][success_font_color]",function(e){e.bind(function(e){h=e,r.find(".user-registration-message").css("color",e)})});_="";wp.customize(c+"[messages][success_background_color]",function(e){e.bind(function(e){_=e,r.find(".user-registration-message").css("background-color",e)})}),wp.customize(c+"[messages][success_font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":r.find(".user-registration-message").css("font-weight",!0===t?"bold":"normal");break;case"italic":r.find(".user-registration-message").css("font-style",!0===t?"italic":"normal");break;case"underline":r.find(".user-registration-message").css("text-decoration",!0===t?"underline":"none");break;case"uppercase":r.find(".user-registration-message").css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(c+"[messages][success_alignment]",function(e){e.bind(function(e){r.find(".user-registration-message").css("text-align",e)})}),wp.customize(c+"[messages][success_border_type]",function(e){e.bind(function(e){r.find(".user-registration-message").css("border-style",e)})}),wp.customize(c+"[messages][success_border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&r.find(".user-registration-message").css("border-"+e+"-width",t+"px")})})});w="";wp.customize(c+"[messages][success_border_color]",function(e){e.bind(function(e){w=e,r.find(".user-registration-message").css("border-color",e)})}),wp.customize(c+"[messages][success_border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":r.find(".user-registration-message").css("border-top-left-radius",t+i);break;case"right":r.find(".user-registration-message").css("border-top-right-radius",t+i);break;case"bottom":r.find(".user-registration-message").css("border-bottom-right-radius",t+i);break;case"left":r.find(".user-registration-message").css("border-bottom-left-radius",t+i)}})})}),wp.customize(c+"[messages][success_line_height]",function(e){e.bind(function(e){r.find(".user-registration-message").css("line-height",e)})}),wp.customize(c+"[messages][success_margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".user-registration-message").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".user-registration-message").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".user-registration-message").css("margin-"+e,t+"px")})})}),wp.customize(c+"[messages][success_padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");r.find(".user-registration-message").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){r.find(".user-registration-message").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){r.find(".user-registration-message").css("padding-"+e,t+"px")})})}),wp.customize(s+"[template]",function(e){controls_wrapper.find(".control-section-ur-templates").find(".customize-template-name").text(t.templates[e.get()].name),e.bind(function(e){controls_wrapper.find(".control-section-ur-templates").find(".customize-template-name").text(t.templates[e].name)})}),wp.customize(s+"[wrapper][width]",function(e){e.bind(function(e){a.css("width",e+"%"),a.closest("#user-registration").find(".user-registration-error").css("width",e+"%")})}),wp.customize(s+"[wrapper][font_family]",function(e){e.bind(function(e){""===e?a.css("font-family","inherit"):(i(e),a.css("font-family",e))})}),wp.customize(s+"[wrapper][background_color]",function(e){e.bind(function(e){a.css("background-color",e)})}),wp.customize(s+"[wrapper][background_image]",function(e){e.bind(function(e){a.css("background-image","url("+e+")")})}),wp.customize(s+"[wrapper][background_size]",function(e){e.bind(function(e){a.css("background-size",e)})}),wp.customize(s+"[wrapper][background_position_x]",function(e){e.bind(function(e){var t=e;wp.customize(s+"[wrapper][background_position_y]",function(e){t+=" "+e.get()}),a.css("background-position",t)})}),wp.customize(s+"[wrapper][background_position_y]",function(e){e.bind(function(e){var t="";wp.customize(s+"[wrapper][background_position_x]",function(e){t+=e.get()}),t+=" "+e,a.css("background-position",t)})}),wp.customize(s+"[wrapper][background_repeat]",function(e){e.bind(function(e){a.css("background-repeat",e)})}),wp.customize(s+"[wrapper][background_attachment]",function(e){e.bind(function(e){a.css("background-attachment",e)})}),wp.customize(s+"[wrapper][border_type]",function(e){e.bind(function(e){a.css("border-style",e),wp.customize(s+"[wrapper][border_color]",function(e){a.css("border-color",e.get())})})}),wp.customize(s+"[wrapper][border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&a.css("border-"+e+"-width",t+"px")})})}),wp.customize(s+"[wrapper][border_color]",function(e){e.bind(function(e){a.css("border-color",e)})}),wp.customize(s+"[wrapper][border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":a.css("border-top-left-radius",t+i);break;case"right":a.css("border-top-right-radius",t+i);break;case"bottom":a.css("border-bottom-right-radius",t+i);break;case"left":a.css("border-bottom-left-radius",t+i)}})})}),wp.customize(s+"[wrapper][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");a.css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){a.css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){a.css("margin-"+e,t+"px")})})}),wp.customize(s+"[wrapper][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");a.css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){a.css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){a.css("padding-"+e,t+"px")})})}),wp.customize(s+"[field_label][font_size]",function(e){e.bind(function(e){d.css("font-size",e+"px")})}),wp.customize(s+"[field_label][font_color]",function(e){e.bind(function(e){d.css("color",e)})}),wp.customize(s+"[field_label][font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":d.css("font-weight",!0===t?"bold":"normal");break;case"italic":d.css("font-style",!0===t?"italic":"normal");break;case"underline":d.css("text-decoration",!0===t?"underline":"none");break;case"uppercase":d.css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(s+"[field_label][text_alignment]",function(e){e.bind(function(e){d.css("text-align",e)})}),wp.customize(s+"[field_label][line_height]",function(e){e.bind(function(e){d.css("line-height",e)})}),wp.customize(s+"[field_label][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");d.css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){d.css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){d.css("margin-"+e,t+"px")})})}),wp.customize(s+"[field_label][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");d.css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){d.css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){d.css("padding-"+e,t+"px")})})}),wp.customize(s+"[field_styles][font_size]",function(e){e.bind(function(e){a.find("input.input-text").css("font-size",e+"px")})});wp.customize(s+"[field_styles][font_color]",function(e){e.bind(function(e){e,a.find("input.input-text").css("color",e)})}),wp.customize(s+"[field_styles][font_style]",function(e){e.bind(function(e){var n=a.attr("id");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){var i="";switch(e){case"bold":i=!0===t?"bold":"normal",a.find("input.input-text").css("font-weight",i),a.find("style#placeholder-"+n).html(l(n,{weight:i}));break;case"italic":i=!0===t?"italic":"normal",a.find("input.input-text").css("font-style",i),a.find("style#placeholder-"+n).html(l(n,{style:i}));break;case"underline":i=!0===t?"underline":"none",a.find("input.input-text").css("text-decoration",i),a.find("style#placeholder-"+n).html(l(n,{decoration:i}));break;case"uppercase":i=!0===t?"uppercase":"none",a.find("input.input-text").css("text-transform",i),a.find("style#placeholder-"+n).html(l(n,{transform:i}))}})})}),wp.customize(s+"[field_styles][alignment]",function(e){e.bind(function(e){a.find("input, textarea").css("text-align",e),a.find("select").css("text-align-last",e);var t="ltr";"right"==e&&(t="rtl"),a.find("option").css("direction",t)})}),wp.customize(s+"[field_styles][border_type]",function(e){e.bind(function(e){a.find("input.input-text").css("border-style",e)})}),wp.customize(s+"[field_styles][border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&a.find("input.input-text").css("border-"+e+"-width",t+"px")})})});g="";wp.customize(s+"[field_styles][border_color]",function(e){e.bind(function(e){g=e,a.find("input.input-text").css("border-color",e)})}),wp.customize(s+"[field_styles][border_focus_color]",function(i){a.find("input.input-text").on("focus blur",function(e){if("focus"==e.type){var t=i.get();o(this).css("border-color",t)}else o(this).css("border-color",g)})}),wp.customize(s+"[field_styles][border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":a.find("input.input-text").css("border-top-left-radius",t+i);break;case"right":a.find("input.input-text").css("border-top-right-radius",t+i);break;case"bottom":a.find("input.input-text").css("border-bottom-right-radius",t+i);break;case"left":a.find("input.input-text").css("border-bottom-left-radius",t+i)}})})}),wp.customize(s+"[field_styles][background_color]",function(e){e.bind(function(e){a.find("input.input-text").css("background-color",e)})}),wp.customize(s+"[field_styles][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");a.find("input.input-text").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){a.find("input.input-text").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){a.find("input.input-text").css("margin-"+e,t+"px")})})}),wp.customize(s+"[field_styles][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");a.find("input.input-text").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){a.find("input.input-text").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){a.find("input.input-text").css("padding-"+e,t+"px")})})}),wp.customize(s+"[checkbox_radio_styles][font_size]",function(e){e.bind(function(e){a.find("label.user-registration-form__label-for-checkbox").css("font-size",e+"px")})}),wp.customize(s+"[checkbox_radio_styles][font_color]",function(e){e.bind(function(e){a.find("label.user-registration-form__label-for-checkbox").css("color",e)})}),wp.customize(s+"[checkbox_radio_styles][font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":a.find("label.user-registration-form__label-for-checkbox").css("font-weight",!0===t?"bold":"normal");break;case"italic":a.find("label.user-registration-form__label-for-checkbox").css("font-style",!0===t?"italic":"normal");break;case"underline":a.find("label.user-registration-form__label-for-checkbox").css("text-decoration",!0===t?"underline":"none");break;case"uppercase":a.find("label.user-registration-form__label-for-checkbox").css("text-transform",!0===t?"uppercase":"none")}})})}),wp.customize(s+"[checkbox_radio_styles][style_variation]",function(e){a.attr("id");e.bind(function(e){var t=0,i="",n="";wp.customize(s+"[checkbox_radio_styles][size]",function(e){t=e.get()+"px"}),wp.customize(s+"[checkbox_radio_styles][color]",function(e){i=e.get()}),wp.customize(s+"[checkbox_radio_styles][checked_color]",function(e){n=e.get()});var o=a.find("label.user-registration-form__label-for-checkbox input");switch(e){case"outline":a.find("style#placeholder").html(p("",i,n)),o.css({width:t,height:t,display:"inline-block","text-align":"center","background-color":"transparent",border:"1px solid "+i});break;case"filled":a.find("style#placeholder").html(b("",n)),o.css({border:"",width:t,height:t,display:"inline-block","text-align":"center","background-color":i,border:"none"});break;default:a.find("style#placeholder").html(m("")),o.css({width:"inherit",height:"inherit",display:"","text-align":"","background-color":"",border:""})}o=a.find('input[type="checkbox"]');switch(e){case"outline":case"filled":o.css({"-webkit-appearance":"none"});break;default:o.css({"-webkit-appearance":"checkbox"})}})}),wp.customize(s+"[checkbox_radio_styles][size]",function(e){e.bind(function(e){a.find('label.user-registration-form__label-for-checkbox input[type="checkbox"]').css({width:e+"px",height:e+"px"})})}),wp.customize(s+"[checkbox_radio_styles][color]",function(e){var t="default";e.bind(function(e){wp.customize(s+"[checkbox_radio_styles][style_variation]",function(e){t=e.get()}),"outline"===t?a.find('label.user-registration-form__label-for-checkbox input[type="checkbox"]').css("border-color",e).css("background-color","transparent"):"filled"===t?a.find('label.user-registration-form__label-for-checkbox input[type="checkbox"]').css("border-color",e).css("background-color",e):a.find('label.user-registration-form__label-for-checkbox input[type="checkbox"]').css("border-color","inherit").css("background-color","inherit")})}),wp.customize(s+"[checkbox_radio_styles][checked_color]",function(e){var t="default",i="";e.bind(function(e){wp.customize(s+"[checkbox_radio_styles][color]",function(e){i=e.get()}),wp.customize(s+"[checkbox_radio_styles][style_variation]",function(e){t=e.get()}),"outline"===t?a.find("style#placeholder").html(p("",i,e)):"filled"===t?a.find("style#placeholder").html(b("",e)):a.find("style#placeholder").html(m(""))})}),wp.customize(s+"[checkbox_radio_styles][margin]",function(i){var n="default";preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");wp.customize(s+"[checkbox_radio_styles][inline_style]",function(e){n=e.get()}),a.find(".field-radio ul .ur-radio-list, .field-checkbox ul .ur-checkbox-list").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){"two_columns"!==n||"right"!==e&&"left"!==e||(t=0),a.find("label.user-registration-form__label-for-checkbox").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");wp.customize(s+"[checkbox_radio_styles][inline_style]",function(e){n=e.get()}),"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){"two_columns"!==n||"right"!==e&&"left"!==e||(t=0),a.find("label.user-registration-form__label-for-checkbox").css("margin-"+e,t+"px")})})}),wp.customize(s+"[checkbox_radio_styles][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");a.find("label.user-registration-form__label-for-checkbox").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){a.find("label.user-registration-form__label-for-checkbox").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){a.find("label.user-registration-form__label-for-checkbox").css("padding-"+e,t+"px")})})}),wp.customize(s+"[button][font_size]",function(e){e.bind(function(e){a.find(".user-registration-Button").css("font-size",e+"px")})}),wp.customize(s+"[button][font_style]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){switch(e){case"bold":a.find(".user-registration-Button").css("font-weight",!0===t?"bold":"normal");break;case"italic":a.find(".user-registration-Button").css("font-style",!0===t?"italic":"normal");break;case"underline":a.find(".user-registration-Button").css("text-decoration",!0===t?"underline":"none");break;case"uppercase":a.find(".user-registration-Button").css("text-transform",!0===t?"uppercase":"none")}})})});h="";wp.customize(s+"[button][font_color]",function(e){e.bind(function(e){h=e,a.find(".user-registration-Button").css("color",e)})}),wp.customize(s+"[button][hover_font_color]",function(i){a.find(".user-registration-Button").on("mouseover mouseleave",function(e){if("mouseover"==e.type){var t=i.get();o(this).css("color",t)}else o(this).css("color",h)})});_="";wp.customize(s+"[button][background_color]",function(e){e.bind(function(e){_=e,a.find(".user-registration-Button").css("background-color",e)})}),wp.customize(s+"[button][hover_background_color]",function(i){a.find(".user-registration-Button").on("mouseover mouseleave",function(e){if("mouseover"==e.type){var t=i.get();o(this).css("background-color",t)}else o(this).css("background-color",_)})}),wp.customize(s+"[button][alignment]",function(e){e.bind(function(e){a.find(".form-row").css("text-align",e),a.find(".form-row").css({display:"block"}),a.find(".form-row").css({"float":"none"})})}),wp.customize(s+"[button][border_type]",function(e){e.bind(function(e){a.find(".user-registration-Button").css("border-style",e)})}),wp.customize(s+"[button][border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&a.find(".user-registration-Button").css("border-"+e+"-width",t+"px")})})});w="";wp.customize(s+"[button][border_color]",function(e){e.bind(function(e){w=e,a.find(".user-registration-Button").css("border-color",e)})}),wp.customize(s+"[button][border_hover_color]",function(i){a.find(".user-registration-Button").on("mouseover mouseleave",function(e){if("mouseover"==e.type){var t=i.get();o(this).css("border-color",t)}else o(this).css("border-color",w)})}),wp.customize(s+"[button][border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":a.find(".user-registration-Button").css("border-top-left-radius",t+i);break;case"right":a.find(".user-registration-Button").css("border-top-right-radius",t+i);break;case"bottom":a.find(".user-registration-Button").css("border-bottom-right-radius",t+i);break;case"left":a.find(".user-registration-Button").css("border-bottom-left-radius",t+i)}})})}),wp.customize(s+"[button][line_height]",function(e){e.bind(function(e){a.find(".user-registration-Button").css("line-height",e)})}),wp.customize(s+"[button][margin]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");a.find(".user-registration-Button").css("margin",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){a.find(".user-registration-Button").css("margin-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){a.find(".user-registration-Button").css("margin-"+e,t+"px")})})}),wp.customize(s+"[button][padding]",function(i){preview_buttons.on("click",function(){var e=i.get(),t=o(this).data("device");a.find(".user-registration-Button").css("padding",""),"undefined"==typeof e[t]&&(t="desktop"),o.each(e[t],function(e,t){a.find(".user-registration-Button").css("padding-"+e,t+"px")})}),i.bind(function(e){var t=controls_wrapper.find("#customize-footer-actions .devices button.active").data("device");"object"!=typeof e&&(e=JSON.parse(e)),o.each(e[t],function(e,t){a.find(".user-registration-Button").css("padding-"+e,t+"px")})})}),wp.customize(s+"[messages][show_error_message]",function(e){function t(e){if(a.closest("#user-registration").find(".user-registration-error").remove(),!0===e){a.before('<ul class="user-registration-error"><li><strong>ERROR:</strong>This is dummy error message.</li></ul>')}}t(e.get()),e.bind(function(e){t(e)})}),wp.customize(s+"[messages][error_font_size]",function(e){e.bind(function(e){a.closest("#user-registration").find(".user-registration-error").css("font-size",e+"px")})});h="";wp.customize(s+"[messages][error_font_color]",function(e){e.bind(function(e){h=e,a.closest("#user-registration").find(".user-registration-error").css("color",e)})});_="";wp.customize(s+"[messages][error_background_color]",function(e){e.bind(function(e){_=e,a.closest("#user-registration").find(".user-registration-error").css("background-color",e)})}),wp.customize(s+"[messages][error_border_type]",function(e){e.bind(function(e){a.closest("#user-registration").find(".user-registration-error").css("border-style",e)})}),wp.customize(s+"[messages][error_border_width]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e)),o.each(e,function(e,t){-1!=dimension_directions.indexOf(e)&&a.closest("#user-registration").find(".user-registration-error").css("border-"+e+"-width",t+"px")})})});w="";wp.customize(s+"[messages][error_border_color]",function(e){e.bind(function(e){w=e,a.closest("#user-registration").find(".user-registration-error").css("border-color",e)})}),wp.customize(s+"[messages][error_border_radius]",function(e){e.bind(function(e){"object"!=typeof e&&(e=JSON.parse(e));var i=e.unit;o.each(e,function(e,t){switch(e){case"top":a.closest("#user-registration").find(".user-registration-error").css("border-top-left-radius",t+i);break;case"right":a.closest("#user-registration").find(".user-registration-error").css("border-top-right-radius",t+i);break;case"bottom":a.closest("#user-registration").find(".user-registration-error").css("border-bottom-right-radius",t+i);break;case"left":a.closest("#user-registration").find(".user-registration-error").css("border-bottom-left-radius",t+i)}})})}),wp.customize(s+"[messages][error_line_height]",function(e){e.bind(function(e){a.closest("#user-registration").find(".user-registration-error").css("line-height",e)})})}(jQuery,wp.customize,_urCustomizePreviewL10n);
[-] customize-controls.js
[edit]
[-] customize-preview.js
[edit]
[+]
..
[-] customize-preview.min.js
[edit]
[-] .htaccess
[edit]
[-] customize-controls.min.js
[edit]