|
|
@ -6,18 +6,18 @@ var pug_match_html=/["&<>]/;function captchaformsection(locals) {var pug_html = |
|
|
|
(function (googleRecaptchaEnabled, googleRecaptchaSiteKey) { |
|
|
|
(function (googleRecaptchaEnabled, googleRecaptchaSiteKey) { |
|
|
|
pug_mixins["captchaformsection"] = pug_interp = function(){ |
|
|
|
pug_mixins["captchaformsection"] = pug_interp = function(){ |
|
|
|
var block = (this && this.block), attributes = (this && this.attributes) || {}; |
|
|
|
var block = (this && this.block), attributes = (this && this.attributes) || {}; |
|
|
|
pug_html = pug_html + "\u003Csection class=\"row\"\u003E\u003Cdiv class=\"label\"\u003E\u003Cspan\u003ECaptcha\u003Cspan class=\"required\"\u003E*\u003C\u002Fspan\u003E\u003C\u002Fspan\u003E\u003C\u002Fdiv\u003E\u003Cdiv class=\"col\"\u003E"; |
|
|
|
pug_html = pug_html + "\u003Cdetails class=\"row label mr-0\"\u003E\u003Csummary class=\"pv-5\"\u003ECaptcha\u003Cspan class=\"required\"\u003E*\u003C\u002Fspan\u003E\u003C\u002Fsummary\u003E\u003Cdiv class=\"catalog\"\u003E"; |
|
|
|
if (googleRecaptchaEnabled) { |
|
|
|
if (googleRecaptchaEnabled) { |
|
|
|
pug_html = pug_html + "\u003Cdiv" + (" class=\"g-recaptcha captchafield\""+pug_attr("data-sitekey", `${googleRecaptchaSiteKey}`, true, false)+" data-theme=\"dark\" data-size=\"compact\" data-callback=\"recaptchaCallback\"") + "\u003E\u003C\u002Fdiv\u003E"; |
|
|
|
pug_html = pug_html + "\u003Cdiv" + (" class=\"g-recaptcha captchafield\""+pug_attr("data-sitekey", `${googleRecaptchaSiteKey}`, true, false)+" data-theme=\"dark\" data-size=\"compact\" data-callback=\"recaptchaCallback\"") + "\u003E\u003C\u002Fdiv\u003E"; |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|
pug_html = pug_html + "\u003Cnoscript class=\"no-m-p\"\u003E\u003Ciframe class=\"captcha\" src=\"\u002Fcaptcha.html\" width=\"150\" height=\"150\" scrolling=\"no\" loading=\"lazy\"\u003E\u003C\u002Fiframe\u003E\u003C\u002Fnoscript\u003E\u003Cdiv class=\"jsonly captcha\" style=\"display:none;\"\u003E\u003C\u002Fdiv\u003E\u003Cdiv class=\"captchafield\"\u003E"; |
|
|
|
pug_html = pug_html + "\u003Cnoscript class=\"no-m-p\"\u003E\u003Ciframe class=\"captcha\" src=\"\u002Fcaptcha.html\" width=\"150\" height=\"150\" scrolling=\"no\" loading=\"lazy\"\u003E\u003C\u002Fiframe\u003E\u003C\u002Fnoscript\u003E\u003Cdiv class=\"jsonly captcha\" style=\"display:none\"\u003E\u003C\u002Fdiv\u003E\u003Cdiv class=\"captchafield noselect\"\u003E"; |
|
|
|
for(let i = 0; i < 16; i++) { |
|
|
|
for(let i = 0; i < 16; i++) { |
|
|
|
pug_html = pug_html + "\u003Cinput" + (" type=\"checkbox\" name=\"captcha\""+pug_attr("value", i, true, false)+" style=\"width:100%;height:25px;margin:3px;\"") + "\u002F\u003E"; |
|
|
|
pug_html = pug_html + "\u003Clabel class=\"captchachecklabel\"\u003E\u003Cinput" + (" type=\"checkbox\" name=\"captcha\""+pug_attr("value", i, true, false)) + "\u002F\u003E\u003Cspan class=\"captchacheckbox\"\u003E\u003C\u002Fspan\u003E\u003C\u002Flabel\u003E"; |
|
|
|
} |
|
|
|
} |
|
|
|
pug_html = pug_html + "\u003C\u002Fdiv\u003E"; |
|
|
|
pug_html = pug_html + "\u003C\u002Fdiv\u003E"; |
|
|
|
} |
|
|
|
} |
|
|
|
pug_html = pug_html + "\u003C\u002Fdiv\u003E\u003C\u002Fsection\u003E"; |
|
|
|
pug_html = pug_html + "\u003C\u002Fdiv\u003E\u003C\u002Fdetails\u003E"; |
|
|
|
}; |
|
|
|
}; |
|
|
|
pug_mixins["captchaformsection"](); |
|
|
|
pug_mixins["captchaformsection"](); |
|
|
|
}.call(this, "googleRecaptchaEnabled" in locals_for_with ? |
|
|
|
}.call(this, "googleRecaptchaEnabled" in locals_for_with ? |
|
|
|