-
Notifications
You must be signed in to change notification settings - Fork 2
/
api.js
23 lines (23 loc) · 989 Bytes
/
api.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* PLEASE DO NOT COPY AND PASTE THIS CODE. */
(function () {
var w = window, C = '___grecaptcha_cfg', cfg = w[C] = w[C] || {}, N = 'grecaptcha';
var gr = w[N] = w[N] || {};
gr.ready = gr.ready || function (f) {
(cfg['fns'] = cfg['fns'] || []).push(f);
};
w['__recaptcha_api'] = 'https://www.google.com/recaptcha/api2/';
(cfg['render'] = cfg['render'] || []).push('onload');
w['__google_recaptcha_client'] = true;
var d = document, po = d.createElement('script');
po.type = 'text/javascript';
po.async = true;
po.src = 'https://www.gstatic.com/recaptcha/releases/5mNs27FP3uLBP3KBPib88r1g/recaptcha__en.js';
po.crossOrigin = 'anonymous';
// po.integrity = 'sha384-EybSWcHgiPeEiW8PyVFCqH8ltF5BJVYLCCHJpTp2QsYs58TZJuGZOUGfGAPF4IjR';
var e = d.querySelector('script[nonce]'), n = e && (e['nonce'] || e.getAttribute('nonce'));
if (n) {
po.setAttribute('nonce', n);
}
var s = d.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();