window.STICKY_CANARY = 'false'; if("fetch"in window){const n=window.fetch;window.fetch=function(a,t){const e=new Headers(t?.headers),r=a instanceof Request?a.url:a,s=!new URLSearchParams(r).has("x_use_sticky_canary");return"true"===window.STICKY_CANARY&&s&&function(n){if("string"==typeof n&&n.match(/^//))return!0;const a=n instanceof URL?n:new URL(n);if(window.location.host!==a.host)return!1;return!0}(r)&&e.set("X-Use-Sticky-Canary","always"),n(a,{...t||{},headers:e})}}if("sendBeacon"in navigator){const n=navigator.sendBeacon.bind(navigator);navigator.sendBeacon=function(a,t){const e=function(n){if("true"!==window.STICKY_CANARY)return n;const a=n instanceof URL?n:new URL(n,document.baseURI);if(!a.searchParams.has("x_use_sticky_canary"))return a.searchParams.set("x_use_sticky_canary","always"),a.toString();return n}(a);return n.call(navigator,e,t)}}var n={};export{n as default}; ;
var SENTRY_CONFIG = {"dsn":"https://9f057df6115a4bb488c08ea12a835e6e@error-tracking.reddit.com/o418887/5810803","enabled":true,"environment":"production"};
Skip to main content