1/** 2 * @file 3 * Defines onloadTurnstileCallback placeholder before Cloudflare script loads. 4 * 5 * Uses Object.defineProperty to prevent Zone.js from proxying the function. 6 * This script must load before the Cloudflare Turnstile script to handle the 7 * race condition where Cloudflare calls onloadTurnstileCallback before 8 * turnstile.ajax.js is loaded. 9 */ 10 11(function () { 12 'use strict'; 13 14 var callbackRef = { 15 fn: function () { 16 window.turnstileCallbackFired = true; 17 } 18 }; 19 20 window._turnstileCallbackRef = callbackRef; 21 22 Object.defineProperty(window, 'onloadTurnstileCallback', { 23 get: function () { 24 return callbackRef.fn; 25 }, 26 set: function (newFn) { 27 callbackRef.fn = newFn; 28 }, 29 configurable: true, 30 enumerable: true 31 }); 32})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.