/**handles:gglcptch_script**/
!function(h,f){function a(){$error=h(this).parents("#recaptcha_widget_div").next("#gglcptch_error"),$error.length&amp;&amp;$error.remove()}function l(){var t="gglcptch_recaptcha_"+Math.floor(1e3*Math.random());if(!h("#"+t).length)return t;t=l()}(f=f||{}).prepare=function(){h(".gglcptch_v2, .gglcptch_invisible").each(function(){var t=h(this).find(".gglcptch_recaptcha"),t;t.is(":empty")&amp;&amp;(f.vars.visibility||h(this).is(":visible")===h(this).is(":not(:hidden)"))&amp;&amp;(t=t.attr("id"),f.display(t))}),"v3"==f.options.version&amp;&amp;grecaptcha.ready(function(){grecaptcha.execute(f.options.sitekey,{action:"BWS_reCaptcha"}).then(function(e){document.querySelectorAll("#g-recaptcha-response").forEach(function(t){t.value=e})})}),"v2"!=f.options.version&amp;&amp;"invisible"!=f.options.version||(h(".g-recaptcha").each(function(){var t,e,i,a,n,c,o,r,s,p,d;""===h(this).html()&amp;&amp;""===h(this).text()&amp;&amp;(void 0===(t=h(this).attr("id"))&amp;&amp;(t=l(),h(this).attr("id",t)),e=h(this).attr("data-sitekey"),i=h(this).attr("data-theme"),a=h(this).attr("data-lang"),n=h(this).attr("data-size"),c=h(this).attr("data-type"),o=h(this).attr("data-tabindex"),r=h(this).attr("data-callback"),s=h(this).attr("data-expired-callback"),p=h(this).attr("data-stoken"),(d=[]).sitekey=e||f.options.sitekey,i&amp;&amp;(d.theme=i),a&amp;&amp;(d.lang=a),n&amp;&amp;(d.size=n),c&amp;&amp;(d.type=c),o&amp;&amp;(d.tabindex=o),r&amp;&amp;(d.callback=r),s&amp;&amp;(d["expired-callback"]=s),p&amp;&amp;(d.stoken=p),f.display(t,d))}),h("form").each(function(){1&lt;h(this).contents().find(&#039;iframe[title=&quot;recaptcha widget&quot;]&#039;).length&amp;&amp;!h(this).children(&quot;.gglcptch_dublicate_error&quot;).length&amp;&amp;h(this).prepend(&#039;<div class="gglcptch_dublicate_error error" style="color: red">'+f.options.error+"</div><br />\n")}))},f.display=function(t,e){var i,a,a,n,a,c,o,a,c,n,r,s,o;function p(t){var e=t,i=h._data(t.get(0),"events"),t;void 0!==i&amp;&amp;(h.extend(!0,t={},i),e.off(),e.data("storedEvents",t)),void 0!==e.attr("onclick")&amp;&amp;(e.attr("gglcptch-onclick",e.attr("onclick")),e.removeAttr("onclick"))}function d(t){var e=t,i=e.data("storedEvents");if(void 0!==i)for(var a in i)for(var n=0;n&lt;i[a].length;n++)e.on(a,i[a][n]);e.removeData(&quot;storedEvents&quot;),void 0!==e.attr(&quot;gglcptch-onclick&quot;)&amp;&amp;(e.attr(&quot;onclick&quot;,e.attr(&quot;gglcptch-onclick&quot;)),e.removeAttr(&quot;gglcptch-onclick&quot;))}function l(e,i){e.on(&quot;submit&quot;,function(t){&quot;&quot;==e.find(&quot;.g-recaptcha-response&quot;).val()&amp;&amp;(t.preventDefault(),t.stopImmediatePropagation(),r=h(t.target||t.srcElement||t.targetObject),s=t.type,grecaptcha.execute(i))}).find(&quot;input:submit, button&quot;).on(&quot;click&quot;,function(t){&quot;&quot;==e.find(&quot;.g-recaptcha-response&quot;).val()&amp;&amp;(t.preventDefault(),t.stopImmediatePropagation(),r=h(t.target||t.srcElement||t.targetObject),s=t.type,grecaptcha.execute(i))})}void 0!==t&amp;&amp;&quot;&quot;!=t&amp;&amp;void 0!==f.options&amp;&amp;(&quot;v2&quot;===f.options.version&amp;&amp;f.options.disable&amp;&amp;h(&quot;#&quot;+t).closest(&quot;form&quot;).find(&quot;input:submit, button&quot;).prop(&quot;disabled&quot;,!0),&quot;v2&quot;==(i=f.options.version)?(a=h(&quot;#&quot;+t).parent().width()&lt;=300&amp;&amp;0!=h(&quot;#&quot;+t).parent().width()||h(window).width()&lt;400?&quot;compact&quot;:&quot;normal&quot;,n=e||{sitekey:f.options.sitekey,theme:f.options.theme,size:a},c=(a=h(&quot;#&quot;+t)).closest(&quot;form&quot;),h(&quot;body&quot;).hasClass(&quot;wp-admin&quot;)||(n.callback=function(){c.find(&quot;button, input:submit&quot;).prop(&quot;disabled&quot;,!1)}),o=grecaptcha.render(t,n),h(&quot;#&quot;+t).data(&quot;gglcptch_index&quot;,o)):&quot;invisible&quot;==i&amp;&amp;(c=(a=h(&quot;#&quot;+t)).closest(&quot;form&quot;),n=e||{sitekey:f.options.sitekey,size:&quot;invisible&quot;,tabindex:9999},s=r=!1,c.length&amp;&amp;(p(c),c.find(&quot;button, input:submit&quot;).each(function(){p(h(this))}),h(&quot;body&quot;).hasClass(&quot;wp-admin&quot;)||(n.callback=function(t){c.off(),d(c),c.find(&quot;button, input:submit&quot;).off().each(function(){d(h(this))}),r&amp;&amp;s&amp;&amp;r.trigger(s),c.find(&quot;button, input:submit&quot;).each(function(){p(h(this))}),p(c),l(c,o),grecaptcha.reset(o)}),o=grecaptcha.render(t,n),a.data({gglcptch_index:o}),h(&quot;body&quot;).hasClass(&quot;wp-admin&quot;)||l(c,o))))},h(document).ready(function(){var t=0,e=setInterval(function(){if(&quot;undefined&quot;!=typeof Recaptcha||&quot;undefined&quot;!=typeof grecaptcha){try{f.prepare()}catch(t){console.log(&quot;Unexpected error occurred: &quot;,t)}clearInterval(e)}10&lt;=++t&amp;&amp;clearInterval(e)},1e3);function i(){if(&quot;undefined&quot;!=typeof Recaptcha||&quot;undefined&quot;!=typeof grecaptcha)try{f.prepare()}catch(t){console.log(t)}}h(window).on(&quot;load&quot;,i),h(&quot;.woocommerce&quot;).on(&quot;click&quot;,&quot;.woocommerce-tabs&quot;,i),h(&quot;#recaptcha_widget_div&quot;).on(&quot;input paste change&quot;,&quot;#recaptcha_response_field&quot;,a)})}(jQuery,gglcptch);