PageSourceSearch

https://ferreteriaonofre.com/wp-content/plugins/woocommerce-mercad…/super-token-loader.min.js?ver=8.9.5

js ferreteriaonofre.com collected 2026-10-02 14:25:31 UTC 4,088 bytes, 1 lines download raw bytes

1!function(){const e="https://http2.mlstatic.com/storage/v1/mercadopago/woocommerce/scripts",t=`${e}/config/super-token-variants.js`,n="v2",o="mp_st_variant",r=2/24,c={v2:"v1","v2.1":"v2.1"},s={v2:!0,"v2.1":!0},i="load_super_token_bundle",a="fetch_ab_config",u="super_token_ab_variant",d="false";function l(e,t){const n="undefined"==typeof wc_mercadopago_woocommerce_scripts_params?{}:wc_mercadopago_woocommerce_scripts_params;return{value:`${e}`,message:`${t}`,plugin_version:n.plugin_version||"",platform:{name:"woocommerce",uri:n.theme||"",version:n.platform_version||"",url:`${window.location.origin}${window.location.pathname}`},details:{site_id:n.site_id||"",environment:"prod",cust_id:n.cust_id||""}}}function f(e,t,n){!function(e,t){const n=`https://api.mercadopago.com/ppcore/prod/monitor/v1/event/datadog/big/${e}`,o=JSON.stringify(t);try{if("undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon)return void navigator.sendBeacon(n,o);if("function"==typeof fetch)return void fetch(n,{method:"POST",body:o,headers:{"Content-Type":"application/json"},keepalive:!0})}catch(e){}}(e,l(t,n))}function m(e){if(document.getElementById(e.id))return;const t=document.createElement(e.tagName);var n,o;t.setAttribute("id",e.id),n=t,o=e.attributes,Object.keys(o).forEach((function(e){n[e]=o[e]})),t.onerror=function(){f(e.metricName,d,e.errorMessage)},t.onload=function(){f(e.metricName,"true",e.successMessage)},document.head.appendChild(t)}function p(e,t){try{const n=new Date(Date.now()+864e5*t).toUTCString();document.cookie=o+"="+e+";expires="+n+";path=/;SameSite=Lax;Secure"}catch(e){}}function _(){document.cookie=o+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;SameSite=Lax;Secure"}function g(t){const o=function(t){return e+"/"+c[s[t]?t:n]}(t);!function(e){m({id:"wc_mercadopago_supertoken_bundle_css",tagName:"link",attributes:{rel:"stylesheet",href:e+"/super-token.bundle.min.css",media:"all"},metricName:"load_super_token_bundle_css",successMessage:"Super token bundle css loaded successfully",errorMessage:"Unable to load super token bundle css on page"})}(o),function(e){m({id:"wc_mercadopago_supertoken_bundle_js",tagName:"script",attributes:{src:e+"/super-token.bundle.min.js",defer:!0},metricName:"load_super_token_bundle_js",successMessage:"Super token bundle js loaded successfully",errorMessage:"Unable to load super token bundle js on page"})}(o)}try{const e=function(){const e=new RegExp("(^|;\\s*)"+o+"=([^;]+)"),t=document.cookie.match(e);return t?t[2]:null}();(function(e,t){const n=Date.now();let o=!1;const r=new Promise((function(e){setTimeout((function(){o=!0,e(null)}),t)})),c=fetch(e,{cache:"no-cache"}).then((function(e){return e.ok?e.json().then((function(e){if(o)return null;const t=Date.now()-n;return f(a,"success","success"),f("fetch_ab_config_loading_time",t,""),e})).catch((function(){return o||f(a,"error","invalid_json"),null})):(o||f(a,"error","http:"+e.status),null)})).catch((function(){return o||f(a,"error","network_or_cors"),null}));return Promise.race([c,r]).then((function(e){return o&&f(a,"timeout","elapsed_ms:"+(Date.now()-n)),e}))})(t,3e3).then((function(t){if(!t)return void(e&&s[e]?(f(u,e,"source:cookie"),g(e)):(f(u,n,"source:fetch_failed"),p("fetch_failed",r),g(n)));if("boolean"!=typeof t.active)return f(u,n,"source:config_invalid"),void g(n);if(!t.active){_();const e=s[t.default]?t.default:n;return f(u,e,"source:kill_switch"),void g(e)}if(!t.variants||"object"!=typeof t.variants)return f(u,n,"source:config_invalid"),void g(n);if(e&&s[e])return f(u,e,"source:cookie"),void g(e);e&&_();const o=function(e){const t=Object.keys(e),o=t.reduce((function(t,n){return t+(e[n].weight||0)}),0);if(o<=0)return n;let r=Math.random()*o,c=0;for(let n=0;n<t.length;n++)if(c+=e[t[n]].weight||0,r<c)return t[n];return t[0]}(t.variants);if(!s[o])return f(u,n,"source:config_invalid"),void g(n);p(o,t.cookie_ttl_days>0?t.cookie_ttl_days:30),f(u,o,"source:assigned"),g(o)})).catch((function(e){const t=e&&e.message?e.message:"async_error";f(i,d,t),g(n)}))}catch(e){const t=e&&e.message?e.message:"Unknown error";f(i,d,t),g(n)}}();

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.