www.microsoft.com
Open in
urlscan Pro
2a02:26f0:f700:482::356e
Public Scan
URL:
https://www.microsoft.com/etc.clientlibs/onecloud/clientlibs/clientlib-events.min.ACSHASH7677f65c1626ab1bde509437776d4291.js
Submission: On June 20 via api from SA — Scanned from DE
Submission: On June 20 via api from SA — Scanned from DE
Form analysis
0 forms found in the DOMText Content
'use strict';const oc={event:{cookiesPostConsent:{name:"oc.event.cookiesPostConsent",lastdispatched:void 0,dispatch:function(){oc.event.cookiesPostConsent.lastdispatched=Date.now();document.dispatchEvent(new Event(oc.event.cookiesPostConsent.name))},onChanged:function(a){"function"==typeof a&&("undefined"==typeof oc.event.cookiesPostConsent.lastdispatched?document.addEventListener(oc.event.cookiesPostConsent.name,()=>{a()}):a())}},marketSelector:{name:"oc.event.marketSelector",lastInit:void 0,dispatch:function(a, b){oc.event.marketSelector.lastInit=Date.now();var c=document.createEvent("CustomEvent");c.initCustomEvent(oc.event.marketSelector.name,!0,!0,{eventName:a,value:b});document.dispatchEvent(c)},onInit:function(a){"function"==typeof a&&("undefined"==typeof oc.event.marketSelector.lastdispatched?document.addEventListener(oc.event.marketSelector.name,b=>{"oninit"===b.detail.eventName&&a()}):a())},onSelect:function(a){document.addEventListener(oc.event.marketSelector.name,b=>{"onselect"===b.detail.eventName&& a(b)})},onRefreshed:function(a){document.addEventListener(oc.event.marketSelector.name,b=>{"onrefreshed"===b.detail.eventName&&a(b)})}},hourMonthFilter:{name:"oc.event.hourMonthFilter",lastInit:void 0,dispatch:function(a,b){oc.event.hourMonthFilter.lastInit=Date.now();var c=document.createEvent("CustomEvent");c.initCustomEvent(oc.event.hourMonthFilter.name,!0,!0,{eventName:a,value:b});document.dispatchEvent(c)},onInit:function(a){"function"==typeof a&&("undefined"==typeof oc.event.hourMonthFilter.lastdispatched? document.addEventListener(oc.event.hourMonthFilter.name,b=>{b&&a()}):a())},onSelect:function(a){document.addEventListener(oc.event.hourMonthFilter.name,b=>{"onselect"===b.detail.eventName&&a(b.detail.value)})},onRefreshed:function(a){document.addEventListener(oc.event.hourMonthFilter.name,b=>{"onrefreshed"===b.detail.eventName&&a(b.detail.value)})}},regionFilter:{name:"oc.event.regionFilter",lastInit:void 0,dispatch:function(a,b){oc.event.regionFilter.lastInit=Date.now();var c=document.createEvent("CustomEvent"); c.initCustomEvent(oc.event.regionFilter.name,!0,!0,{eventName:a,value:b});document.dispatchEvent(c)},onInit:function(a){"function"==typeof a&&("undefined"==typeof oc.event.regionFilter.lastdispatched?document.addEventListener(oc.event.regionFilter.name,b=>{b&&a()}):a())},onSelect:function(a){document.addEventListener(oc.event.regionFilter.name,b=>{"onselect"===b.detail.eventName&&a()})},onRefreshed:function(a){document.addEventListener(oc.event.regionFilter.name,b=>{"onrefreshed"===b.detail.eventName&& a()})}},currencyFilter:{name:"oc.event.currencyFilter",lastInit:void 0,dispatch:function(a,b){oc.event.currencyFilter.lastInit=Date.now();var c=document.createEvent("CustomEvent");c.initCustomEvent(oc.event.currencyFilter.name,!0,!0,{eventName:a,value:b});document.dispatchEvent(c)},onInit:function(a){"function"==typeof a&&("undefined"==typeof oc.event.currencyFilter.lastdispatched?document.addEventListener(oc.event.currencyFilter.name,b=>{b&&a()}):a())},onSelect:function(a){document.addEventListener(oc.event.currencyFilter.name, b=>{"onselect"===b.detail.eventName&&a()})},onRefreshed:function(a){document.addEventListener(oc.event.currencyFilter.name,b=>{"onrefreshed"===b.detail.eventName&&a()})}}},geo:{}};