/*! Static Override Utilities */ (()=>{window.SOUtil=window.SOUtil||{addStylesheet:(cssStyles,overrideId)=>{const style=document.createElement("style");if(overrideId){style.id="static-override-"+overrideId}style.appendChild(document.createTextNode(cssStyles));document.head.appendChild(style)},pageIsInScope:pageScope=>{const host=location.hostname;const path=location.pathname;const locale=document.documentElement.lang.toLowerCase();const getMarket=marketAware=>{const locale=document.documentElement.lang.toLowerCase();const langCode=locale.split("-")[0];const market=new URLSearchParams(location.search).get("market")?.toLowerCase();if(market&&marketAware!==false){return`${langCode}-${market}`}return locale};const langLocs={"sr-rs":["sr-rs","sr-latn-rs","sr-cyrl-rs"],default:[locale]};const possibleLangLocs=langLocs[locale]||langLocs.default;const pathLocale=possibleLangLocs.find(loc=>path.indexOf(loc)!==-1);const pathNoLocale=path.replace(`/${pathLocale}`,"").replace(/\/$/,"");const previewHostProd="sites-author.adobeprod.microsoft.com";const previewHostPPE="sites-author.adobeppe.microsoft.com";const isPreview=pageScope.previews&&(host===previewHostProd||host===previewHostPPE);const previewPathStarts={"/content/microsoft/bade":"www.microsoft.com","/content/azure/acom":"azure.microsoft.com"};let checkHost=host;let checkMarket=getMarket(pageScope.marketAware);let checkPath=pathNoLocale;if(isPreview){const pathWithoutLaunch=path.replace(/\/content\/launches(\/[^\/]+){4}/g,"");const previewPathStart=Object.keys(previewPathStarts).find(key=>pathWithoutLaunch.startsWith(key));checkHost=previewPathStarts[previewPathStart];if(!previewPathStart||!checkHost){return false}checkPath=pathWithoutLaunch.replace(previewPathStart,"").replace(`/${pathLocale}`,"").replace(".html","")}const hostScope=pageScope[checkHost];if(!hostScope){return false}if(hostScope.markets&&!hostScope.markets.includes(checkMarket)){return false}if(hostScope.paths&&!hostScope.paths.includes(checkPath)&&!(hostScope.allSubpaths&&startsWithPath())){return false}function startsWithPath(){return hostScope.paths.some(path=>checkPath.startsWith(path))}return true},runOnPageLoad:callback=>{if(document.readyState!=="loading"){callback()}else{document.addEventListener("DOMContentLoaded",callback)}},elementPromise:function(props){function addElementMarking(el,attr,value){if(hasElementMarking(el,attr,value))return;const markings=getElementMarkings(el,attr);markings.push(value);el.setAttribute(attr,markings)}function hasElementMarking(el,attr,value){return getElementMarkings(el,attr).includes(value)}function getElementMarkings(el,attr){let ret=el.getAttribute(attr);return ret?ret.split(","):[]}const querySelector=props.selector;const callbackName=props.callback.name;const rejectTime=props.rejectTime?props.rejectTime:0;const foundForDataAttr="data-so-found-for";return new Promise((resolve,reject)=>{if(!querySelector){return reject("No element or no query selector provided")}let wasFound=false;if(document.querySelector(querySelector)){wasFound=true;if(props.multiple){document.querySelectorAll(querySelector).forEach(e=>addElementMarking(e,foundForDataAttr,callbackName))}}if(!wasFound||props.multiple){const observerConfig={attributes:true,childList:true,characterData:true,subtree:true};const observer=new MutationObserver(mutations=>{const instancesFound=document.querySelectorAll(querySelector);const newInstancesFound=[...instancesFound].filter(e=>{if(hasElementMarking(e,foundForDataAttr,callbackName)){return false}addElementMarking(e,foundForDataAttr,callbackName);return true});if(newInstancesFound.length>0){wasFound=true;if(!props.multiple){observer.disconnect()}props.callback(props)}});if(rejectTime>0){window.setTimeout(()=>{observer.disconnect();if(!wasFound){reject(querySelector)}},rejectTime*100)}observer.observe(document,observerConfig)}if(wasFound){return resolve(document.querySelector(querySelector))}})},getElements:function(props){function getElement(props){const selector=props.selector;const baseElement=props.selectElement??document;if(!selector){return null}const element=baseElement.querySelector(selector);return element}function getElementMarkings(el,attr){let ret=el.getAttribute(attr);return ret?ret.split(","):[]}function addElementMarking(el,attr,value){if(hasElementMarking(el,attr,value))return;const markings=getElementMarkings(el,attr);markings.push(value);el.setAttribute(attr,markings)}function hasElementMarking(el,attr,value){return getElementMarkings(el,attr).includes(value)}const modifiedForDataAttr="data-so-modified-for";const callbackName=props.callback.name;if(props.multiple!==true){const el=getElement(props);return el?[el]:[]}const baseElement=props.selectElement??document;var elements=Array.from(baseElement.querySelectorAll(props.selector));if(props.selectorFilter&&typeof props.selectorFilter==="function"){elements=elements.filter(props.selectorFilter)}elements=elements.filter(e=>{if(hasElementMarking(e,modifiedForDataAttr,callbackName)){return false}addElementMarking(e,modifiedForDataAttr,callbackName);return true});return elements}}})(); /*!168090 W365 Social Footer chat CTA*/ (()=>{const linkQuery='[href*="https://info.microsoft.com/ww-landing-Windows-365-Contact-Me.html"]';let linkItem;let linkUpdated=false;let intervalId;const maxIntervals=30;let currInterval=0;function handleCatCTR(){currInterval++;if(linkUpdated&&intervalId||currInterval>maxIntervals){clearInterval(intervalId)}linkItem=document.querySelector(linkQuery);if(linkItem){const listItem=linkItem.parentElement;linkItem.href="http://approjects.co.za/?big=javascript:void(0)";linkItem.removeAttribute("target");if(listItem){listItem.setAttribute("data-ow-chat","");linkUpdated=true}}}function preLoadCheck(){const delay=100;intervalId=setInterval(handleCatCTR,delay)}function postLoadCheck(){if(!linkUpdated){handleCatCTR()}}preLoadCheck();window.SOUtil.runOnPageLoad(postLoadCheck)})(); /*!210729 Hololens gradient text*/ (()=>{const HOLOLENS_GRADIENT_FONT_PAGES=["hololens","hololens/buy","hololens/hardware"];const HOLOLENS_SITE_NAME=HOLOLENS_GRADIENT_FONT_PAGES[0];const INTERVAL_DELAY=50;const INTERVAL_MAX=100;const PATH_SEGMENTS=window.location.pathname.toLowerCase().split("/").filter(function(segment){return segment!==""});const PAGE_NAME=PATH_SEGMENTS[PATH_SEGMENTS.length-1]||"";const SITE_NAME=PATH_SEGMENTS[PATH_SEGMENTS.length-2]||"";const SELECTOR={HOLOLENS_SITE_MAIN:"main#primaryArea"};const NEW_UNIQUE_CLASSES={HOLOLENS_HOME:"hololens-bade-so-gradient-font-h2",HOLOLENS_SUB_PAGES:"hololens-bade-so-gradient-font-h1"};const hololendGradientFontStyles=` main#primaryArea.hololens-bade-so-gradient-font-h1 div.areaheading section[id*='areaheading'] h1, main#primaryArea.hololens-bade-so-gradient-font-h2 div.card[id*='content-card-vertical'] .display-3 { mask-image: linear-gradient(45deg,#fafffc,#ffb9b6,#d699c4,#a5dff9,#fdfdff) !important; -webkit-mask-image: linear-gradient(45deg,#fafffc,#ffb9b6,#d699c4,#a5dff9,#fdfdff) !important; background:linear-gradient(45deg,#fafffc,#ffb9b6,#d699c4,#a5dff9,#fdfdff) !important; background:-webkit-linear-gradient(45deg,#fafffc,#ffb9b6,#d699c4,#a5dff9,#fdfdff) !important; background:-moz-linear-gradient(45deg,#fafffc,#ffb9b6,#d699c4,#a5dff9,#fdfdff) !important; background-clip:text !important; -webkit-background-clip:text !important; -webkit-text-fill-color: transparent !important; }`;let iterations=0;let overrideInterval;function loadOverride(el,cls){try{if(document.querySelector(el)){applyChanges(el,cls);removeInterval(el)}else{checkInterval(el)}}catch(e){removeInterval(el)}}function removeInterval(el){clearInterval(overrideInterval)}function checkInterval(el){if(iterations>INTERVAL_MAX){removeInterval(el)}iterations++}function applyChanges(el,cls){document.querySelector(el).classList.add(cls)}function isPageInScope(){if(HOLOLENS_GRADIENT_FONT_PAGES.indexOf(SITE_NAME.split(".html")[0]+"/"+PAGE_NAME.split(".html")[0])>-1){return true}return false}if(PAGE_NAME.split(".html")[0]==HOLOLENS_SITE_NAME){overrideInterval=setInterval(loadOverride,INTERVAL_DELAY,SELECTOR.HOLOLENS_SITE_MAIN,NEW_UNIQUE_CLASSES.HOLOLENS_HOME)}else if(isPageInScope()){overrideInterval=setInterval(loadOverride,INTERVAL_DELAY,SELECTOR.HOLOLENS_SITE_MAIN,NEW_UNIQUE_CLASSES.HOLOLENS_SUB_PAGES)}window.SOUtil.addStylesheet(hololendGradientFontStyles,210729)})(); /*!206333 Hololens dark theme*/ (()=>{const DARK_THEME_PAGES=["hololens","hololens/apps","hololens/buy","hololens/developers","hololens/hardware","hololens/industry-education","hololens/industry-healthcare","hololens/industry-manufacturing","hololens/mixed-reality-partners","hololens/mrpp","hololens/partner-program","mixed-reality/windows-mixed-reality"];const INTERVAL_DELAY=50;const INTERVAL_MAX=100;const PATH_NAME=window.location.pathname;const MICROSOFT_LOGO_LINK="https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1MmB8?ver=6c43g";const Selector={MICROSOT_LOGO_UHF:"#uhfLogo .c-image",LIGHT_THEME_ELE_UHF:".universalheader .theme-light"};function getPathSegments(pathname){pathname=pathname.replace(".html","");return pathname.toLowerCase().split("/").filter(function(segment){return segment!==""})}function isPageInScope(){const PATH_SEGMENTS=getPathSegments(PATH_NAME);const PAGE_NAME=PATH_SEGMENTS[PATH_SEGMENTS.length-1]||"";const SITE_NAME=PATH_SEGMENTS[PATH_SEGMENTS.length-2]||"";if(DARK_THEME_PAGES.indexOf(PAGE_NAME)==0||DARK_THEME_PAGES.indexOf(SITE_NAME+"/"+PAGE_NAME)>-1){return true}return false}if(isPageInScope()){let iterationsUH=0;let overrideIntervalUH;const hololensDarkStyles=` body[data-so-bade-theme="hololens-dark"], body[data-so-bade-theme="hololens-dark"] .oc-sticky-tabs .bg-body, body[data-so-bade-theme="hololens-dark"] #footerArea, body[data-so-bade-theme="hololens-dark"] #footerArea footer#uhf-footer, body[data-so-bade-theme="hololens-dark"] #footerArea footer#uhf-footer * { background-color: #191919 !important; color: #fff !important; } body[data-so-bade-theme="hololens-dark"] .c-uhfh nav li.teams-uhf-li:empty { margin-top: -2px; border: none; } `;window.SOUtil.addStylesheet(hololensDarkStyles,206333);function loadOverride(el,applyChanges){try{if(document.querySelector(el)){applyChanges();removeInterval()}else{checkInterval()}}catch(e){removeInterval()}}function removeInterval(){clearInterval(overrideIntervalUH)}function checkInterval(){if(iterationsUH>INTERVAL_MAX){removeInterval()}iterationsUH++}function loadOverrideUH(){let lightThemeEl=document.querySelector(Selector.LIGHT_THEME_ELE_UHF);let lightThemeUHFCls=lightThemeEl!=null?lightThemeEl.classList:"";let bodyEl=document.querySelector("body");let microsoftLogoEle=document.querySelector(Selector.MICROSOT_LOGO_UHF);if(lightThemeUHFCls){lightThemeUHFCls.add("theme-dark");lightThemeUHFCls.remove("theme-light")}microsoftLogoEle.src=MICROSOFT_LOGO_LINK;bodyEl.dataset.soBadeTheme="hololens-dark"}overrideIntervalUH=setInterval(loadOverride,INTERVAL_DELAY,Selector.MICROSOT_LOGO_UHF,loadOverrideUH)}})(); /*!261320*/!function(){const n=["startups/ai"],e=window.location.pathname;function t(){(function(){const t=e.replace(".html","").toLowerCase().split("/").filter(function(n){return""!==n}),a=t[t.length-1]||"",o=t[t.length-2]||"";return 0==n.indexOf(a)||n.indexOf(o+"/"+a)>-1})()&&document.head.insertAdjacentHTML("beforeend",'')}"interactive"===document.readyState||"complete"===document.readyState?t():document.addEventListener("DOMContentLoaded",t)}(); /*!261340*/!function(){let t=["startups","startups/ai"],e="body,main,.bg-light,.bg-white,.theme-dark .bg-inverse,.theme-dark .bg-secondary,:not(.theme-dark) .material-card,:not(.theme-dark) .material-surface,:not(.theme-dark) .material-lg-card:not(.theme-dark),.carousel-indicators {color: #3B2E58;}.inactive-bg-light a:not(.tab-image)::after,.inactive-bg-light a:not(.tab-image):not(.active),.inactive-bg-light button:not(.tab-image)::after,.inactive-bg-light button:not(.tab-image):not(.active),main :not(.theme-dark) a:not(.active):not(.btn-dark),.text-black,.text-dark,.text-inverse,.text-secondary {color: #3B2E58 !important; }.btn-dark,.btn-inverse,.btn-secondary,.theme-dark .btn-dark {background-color: #3B2E58;color: #fff;}",a=window.location.pathname;function n(){(function e(){var n;let r=(n=(n=a).replace(".html","")).toLowerCase().split("/").filter(function(t){return""!==t}),i=r[r.length-1]||"",o=r[r.length-2]||"";return!!(0==t.indexOf(i)||t.indexOf(o+"/"+i)>-1)})()&&document.body.insertAdjacentHTML("beforeend",'")}"interactive"===document.readyState||"complete"===document.readyState?n():document.addEventListener("DOMContentLoaded",n)}(); /*!266654*/(()=>{let e=window.location.origin,t="https://azure.microsoft.com",a="https://sites-author.adobeprod.microsoft.com",o=window.location.pathname,r=o.split("/")[1],i="/"+r,n=o.replace(i,""),c=` @media (min-width: 860px) { [id='tabs-pill-bar-ocb9d4_tab3'] .accordion--vertical { height: 512px; } } `;function l(){return e===t&&null!==n.match(/^\/homepage-b/)||e===t&&null!==n.match(/^\/homepage/)||e===a&&null!==n.match(/^\/azure\/acom\/en-us\/homepage-b/)||e===a&&null!==n.match(/^\/azure\/acom\/en-us\/homepage/)||e===t&&null!==i.match(/^\/en-us/)&&(""===n||"/"===n)}function m(){if(!l())return;document.body.insertAdjacentHTML("beforeend",'");let e=[document.querySelector(".section-master--blade-hero-double-cta .section-master__image.overlay__target"),document.querySelector(".section-master.section-master--breadth-comfortable.section-master--alignment-center.section-master--layout-header-horizontal-alignment-center .overlay__target"),document.querySelector(".interactive-demo__bg-image.overlay__target")];e.forEach(e=>{e&&e.classList.remove("overlay__target")})}"interactive"===document.readyState||"complete"===document.readyState?m():document.addEventListener("DOMContentLoaded",m)})(); /*!213983*/try{(()=>{let e={"/MSServerCloud/CopilotHeader":{options:{removeAllMicrosoft:!0},"c-shellmenu_custom_button_outline_newtab_signin":{moveRight:!0,newTab:!0}},"/msservercloud/Dynamics365Header":{options:{removeAllMicrosoft:!0,moveActionMenuRight:!0},"c-shellmenu_custom_button_solid_newtab_getstarted":{moveRight:"end",newTab:!0},"c-shellmenu_custom_button_outline_newtab_signin":{moveRight:"end",newTab:!0}},"/OfficeProducts/DeschutesHeader":{"c-shell-contactsales":{moveRight:!0},c_shellmenu_buybutton:{style:{background:"#000000",color:"#FFFFFF"},href:{"/windows-365/enterprise/":"/windows-365/enterprise/compare-plans-pricing/","/windows-365":"/windows-365/business/compare-plans-pricing/"},exclude:"/compare-plans-pricing/"}},"/OfficeProducts/m365-commercialandsmbheader":{mectrl_main_trigger:{href:{"/microsoft-365/business/microsoft-kaizala":"https://go.microsoft.com/fwlink/p/?LinkID=2066870","/microsoft-365":"https://go.microsoft.com/fwlink/p/?LinkID=2237395"}},"c-shell-contactsales":{moveRight:!0}},"/OfficeProducts/m365-enterpriseheader":{"c-shell-contactsales":{moveRight:!0}},"/OfficeProducts/m365-globalnavheader":{mectrl_main_trigger:{href:{"/microsoft-365/excel":"https://go.microsoft.com/fwlink/p/?LinkID=746665","/microsoft-365/family-safety":"https://go.microsoft.com/fwlink/p/?LinkID=2144033","/microsoft-365/microsoft-stream":"https://go.microsoft.com/fwlink/p/?LinkID=2210345","/microsoft-365/microsoft-to-do-list-app":"https://go.microsoft.com/fwlink/p/?LinkID=2004497","/microsoft-365/online-surveys-polls-quizzes":"https://go.microsoft.com/fwlink/p/?LinkID=2115709","/microsoft-365/powerpoint":"https://go.microsoft.com/fwlink/p/?LinkID=746666","/microsoft-365/word":"https://go.microsoft.com/fwlink/p/?LinkID=746664","/microsoft-365/microsoft-defender-for-individuals":"https://go.microsoft.com/fwlink/p/?LinkID=2208367","/microsoft-365/onenote":"https://go.microsoft.com/fwlink/p/?LinkID=858872","/microsoft-365/microsoft-whiteboard":"https://go.microsoft.com/fwlink/p/?LinkID=2090507","/microsoft-365":"https://go.microsoft.com/fwlink/p/?LinkID=2237395"}}},"/OfficeProducts/m365-onedriveheader":{mectrl_main_trigger:{href:"https://go.microsoft.com/fwlink/p/?LinkID=2119709"}},"/OfficeProducts/m365-yammerheader":{mectrl_main_trigger:{href:"https://go.microsoft.com/fwlink/p/?LinkID=2086622"}},"/OfficeProducts/TeamsHeader2":{"c-shellmenu_0":{exclude:!0},options:{removeAllMicrosoft:!0,disableMobileDropdown:!0}},"/OfficeProducts/TridentHeader":{"c-shell-signin":{moveRight:"end"},"c-shell-tryforfreebutton":{moveRight:"end"}}},t={HIDDEN:["d-none","x-hidden"],DESKTOP_HIDDEN:["d-md-none","x-hidden-none-mobile-vp"],DROPDOWN_HIDDEN:["d-none","d-lg-inline-block"],UHF_MENU_ITEM:"uhf-menu-item",ACTION_MENU:"wf-menu"},o={ME_CONTROL:"meControl",UHF_LINK_THEME_STYLES:"UHFLinkThemeStyles",UHF_NAV_CTA:"c-uhf-nav-cta"},r=`@media screen and (min-width: 860px) {header[data-header-footprint] nav a[id *= "_custom_"][id *= "_button_"] {border: 1px solid;border-radius: 3px;border-color: #000000;height: 31px;margin: 1px 8px;margin-top: 11px;padding-top: 4px;line-height: 1.5;font-weight: 400;font-size: 13px;letter-spacing: normal;}header[data-header-footprint] nav a[id *= "_custom_"][id *= "_button_"]:hover:before,header[data-header-footprint] nav a[id *= "_custom_"][id *= "_button_"]:focus:before {display: none;}header[data-header-footprint] nav a[id *= "_custom_"][id *= "_button_"][id *= "_solid_"] {background: #000000;color: #FFFFFF;}header[data-header-footprint] nav a[id *= "_custom_"][id *= "_button_"][id *= "_themed"] {background-color: var(--button-bg-color, #0078d4);border-color: var(--button-border-color, #0078d4);color: var(--button-color, #FFFFFF);}header[data-header-footprint] nav a[id *= "_custom_"][id *= "_button_"][id *= "_themed"]:hover {background-color: var(--button-hover-bg-color, #0078d4);color: var(--button-hover-color, #FFFFFF);}#c-shellmenu_subsitename {font-weight: 600;font-size: 16px;padding-top: 12px;}}@media only screen and (min-width: 1779px) {header[data-header-footprint] nav a[id *= "_custom_"][id *= "_button_"] {margin-inline: 10px !important;}}header[data-header-footprint] nav a[id ^= "c-shellmenu_categoryall"] {color: #0078d4!important;font-weight: 600;}`,n={DESKTOP_RIGHT_CONTAINER:"#uhf-c-nav .js-paddle-items",ALL_MICROSOFT:"#uhf-c-nav .js-paddle-items .c-button-logo.all-ms-nav",MOBILE_NAV_BUTTON:".c-cat-logo-button",UHF_HEADER:"header[data-header-footprint]",V2_LINK:'header[data-header-footprint] nav a[id ^= "c-shellmenu_custom"]',V2_SEM_HEADER:'header[data-header-footprint *= "SEMHeader"]'};function i(e){let r=Object.keys(e);var i="";for(var s of r){let c=e[s],u='header[data-header-footprint^="'+s+'" i]',b=Object.keys(c);if(document.querySelector(u))for(var g of b){if("options"===g){i+=a(u,c[g]);continue}let $=c[g],v=g,E=v+"_right",y=u+" #"+v,D=u+" #"+E,N=document.querySelector(y);i+=h($.moveRight?D:y,$.style),$.moveRight&&(i+=p(y));let w=0,O=setInterval(function(){if(N=document.querySelector(y)){clearInterval(O);let e=N?N.parentNode:null;if(f($.exclude))d(e,t.HIDDEN);else{if($.href){let r=m($.href);null!==r&&N.setAttribute("href",r)}d(N,$.classes?$.classes:""),$.newTab&&N.setAttribute("target","_blank"),d(e,$.parentClasses?$.parentClasses:"");let i=document.querySelector(`${u} ${n.DESKTOP_RIGHT_CONTAINER}`);if($.moveRight&&i){let a=document.createElement("li"),s=e.getAttribute("id");s&&(a.setAttribute("id",s),e.removeAttribute("id"),s===o.UHF_NAV_CTA&&l(h(`${u} #${E}`,{"margin-top":"11px!important"}))),d(a,t.UHF_MENU_ITEM),d(a,$.parentClasses?$.parentClasses:""),a.setAttribute("data-left-uhf",v);let c=N.cloneNode(!0);c.id=E,a.appendChild(c),i.insertAdjacentElement(!0===$.moveRight?"afterbegin":"beforeend",a),d(e,$.dropdownHidden?t.HIDDEN:t.DESKTOP_HIDDEN),d(a,t.DROPDOWN_HIDDEN)}!$.moveRight&&$.dropdownHidden&&d(e,t.DROPDOWN_HIDDEN)}}else w>=100&&clearInterval(O);w++},100)}}l(i)}function l(e){let t=document.getElementById(o.UHF_LINK_THEME_STYLES);t||((t=document.createElement("style")).setAttribute("id",o.UHF_LINK_THEME_STYLES),document.head.appendChild(t)),t.appendChild(document.createTextNode(e))}function a(e,r){var i="";for(var l of Object.keys(r)){let a=r[l];switch(l){case"removeAllMicrosoft":if(a){let c=document.querySelector(`${e} ${n.ALL_MICROSOFT}`)?.parentElement?.parentElement;d(c,t.DESKTOP_HIDDEN)}break;case"disableMobileDropdown":a&&(i+=s(e));break;case"moveActionMenuRight":if(a){let f=document.querySelector(`${e} .${t.ACTION_MENU}`),m=document.querySelector(`${e} #${o.ME_CONTROL}`);f&&m?m.insertAdjacentElement("beforebegin",f):f&&f.parentElement.insertAdjacentElement("beforeend",f)}}}return i}function s(e){let t=`${e} ${n.MOBILE_NAV_BUTTON}`,o=document.querySelector(t);if(o){let r=document.createElement("div");return r.className=o.className,r.innerText=o.innerText,r.style="display: flex !important;",o.parentElement.replaceChild(r,o),`${t} {align-items: center;}${t}::after,${t} br {display: none;}${e} #uhf-g-nav {visibility: hidden;}`}return""}function d(e,t){e&&t&&("string"==typeof t&&(t=t.split(" ")),e.classList.add(...t))}function c(e,t){e&&t&&("string"==typeof t&&(t=t.split(" ")),e.classList.remove(...t))}function f(e){let t=window.location.pathname;if("string"==typeof e)return t.indexOf(e)>=0;if(Array.isArray(e)){for(let o of e)if(t.indexOf(o)>=0)return!0}else if("boolean"==typeof e)return e;return!1}function m(e){let t=window.location.href,o=t.split("/"),r=t.indexOf(o[3])+o[3].length,n=t.substring(0,r);if("string"==typeof e)return u(e,n);if("object"==typeof e){let i=Object.keys(e);for(var l of i)if(-1!==t.indexOf(l)){let a=e[l];return u(a,n)}}return null}function u(e,t){return null===e?null:""===e?"":-1===e.indexOf("https://")?t+e:e}function p(e){return h(e,{display:"none"})}function h(e,t){return e&&t?"@media screen and (min-width: 860px) {\n"+e+" {\n"+Object.keys(t).reduce((e,o)=>e+=" "+o+": "+t[o]+";\n","")+"}}\n\n":""}function b(e,t,o=0){return new Promise((r,n)=>{if(!e||!t)return n("No element or no query selector provided");if(document.querySelector(t))return r(e.querySelector(t));let i=!1,l=new MutationObserver(o=>{t&&document.querySelector(t)&&(i=!0,l.disconnect(),r(e.querySelector(t)))});o>0&&window.setTimeout(()=>{i||n(t)},1e3*o),l.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})})}function g(){let e=n.UHF_HEADER,r=document.querySelector(e),i="ocuhfcustomized";if(!r||"true"===r.dataset[i])return;r.dataset[i]="true";let s=document.querySelectorAll(n.V2_LINK),f=document.querySelector(n.V2_SEM_HEADER),m={removeAllMicrosoft:!0,moveActionMenuRight:!0,disableMobileDropdown:!!f&&0===s.length};E();let u="";for(let b of(u+=a(e,m),s)){let g=b.getAttribute("id"),v=/bhvr(\d+)/i,y={moveRight:-1===g.indexOf("button")||"end",newTab:-1!==g.indexOf("newtab"),bhvr:v.test(g)?v.exec(g)[1]:null},D=g+"_right",N=e+" #"+g,w=e+" #"+D,O=b;u+=h(y.moveRight?w:N,y.style),y.moveRight&&(u+=p(N));let k=O?O.parentNode:null;if(y.newTab&&O.setAttribute("target","_blank"),y.bhvr){let A={};try{A=JSON.parse(O.dataset.m)}catch(I){}A.bhvr=y.bhvr,O.dataset.m=JSON.stringify(A)}d(k,y.parentClasses?y.parentClasses:"");let H=document.querySelector(`${e} ${n.DESKTOP_RIGHT_CONTAINER}`);if(y.moveRight&&H){let T=document.createElement("li"),S=k.getAttribute("id");S&&(T.setAttribute("id",S),k.removeAttribute("id"),S===o.UHF_NAV_CTA&&l(h(`${e} #${D}`,{"margin-top":"11px!important"}))),d(T,t.UHF_MENU_ITEM),d(T,y.parentClasses?y.parentClasses:""),T.setAttribute("data-left-uhf",g);let R=O.cloneNode(!0);if(R.id=D,T.appendChild(R),H.insertAdjacentElement("beforeend",T),d(R,"c-uhf-nav-link"),c(R,"js-subm-uhf-nav-link"),g.includes("_themed")){d(R,"btn");let L=$(g);d(R,L)}d(k,y.dropdownHidden?t.HIDDEN:t.DESKTOP_HIDDEN),d(T,t.DROPDOWN_HIDDEN)}!y.moveRight&&y.dropdownHidden&&d(k,t.DROPDOWN_HIDDEN)}l(u)}function $(e){let t=[],o=[],r="_themed-",n=r.length,i=e.indexOf(r);if(-1===i)t.push("btn--primary"),o=["primary","primary"];else{let l=-1!==e.indexOf("_",i+n)?e.indexOf("_",i+n):e.length,a=e.substring(i+n,l);o=a.split(":"),t.push(`btn--${o[0]}`)}return v(o[1],o[0]),t}function v(e,t){let o=document.createElement("a");if(o.style.display="none",o.classList.add("btn"),document.body.appendChild(o),t){o.classList.add(`btn--${t}`);let r=window.getComputedStyle(o);if(r.getPropertyValue("--button-bg-color")){document.body.removeChild(o);return}o.classList.remove(`btn--${t}`)}e&&o.classList.add(`btn-${e}`);let n=window.getComputedStyle(o),i=n.getPropertyValue("color"),a=n.getPropertyValue("background-color"),s=n.getPropertyValue("border-color");document.body.removeChild(o),l(`header[data-header-footprint] nav a.btn.btn--${t} {--button-color: ${i}; --button-bg-color: ${a}; --button-border-color: ${s};}header[data-header-footprint] nav a.btn.btn--${t}:hover {--button-hover-color: ${i}; --button-hover-bg-color: ${a};}`)}function E(){document.querySelectorAll("[id^=c-shellmenu_categoryall]").forEach(e=>{let t=e.parentElement,o=t.parentElement.parentElement;o.insertAdjacentElement("beforebegin",t),t.style.flexBasis="100%",t.style.paddingBlock="10px 0"})}function y(){return document.querySelector(n.V2_LINK)||document.querySelector(n.V2_SEM_HEADER)}l(r),b(document,n.UHF_HEADER,10).then(t=>{y()?g():i(e)}).catch(e=>{console.log("Element not found after timeout: "+e)})})()}catch(e){console.log(e)} /*!183421*/window.location.pathname.endsWith("/microsoft-365/outlook/log-in")&&void 0!==window.msauth&&("RPS"===window.msauth.AuthenticationType||"OpenIdConnect"===window.msauth.AuthenticationType)&&(window.location="https://outlook.live.com/owa/?nlp=1"); /*!281206*/(()=>{let e="chat-default-locale-chat",t=`meta[name='${e}']`;function r(){let e=new window.URLSearchParams(window.location.search).get("market"),t=n(),r;return 2===t.length&&"string"==typeof e&&0!==e.length&&(r=t.split("-")[0]+"-"+e),r}function a(e){e=e||[];var t=new window.URLSearchParams(window.location.search).get("market");return"string"==typeof t&&0!==(t=t.toLowerCase()).length&&e.includes(t)}function n(){return document.getElementsByTagName("html")[0].getAttribute("lang")}function o(e,t,r=0){return new Promise((a,n)=>{if(!e||!t)return n("No element or no query selector provided");if(document.querySelector(t))return a(e.querySelector(t));let o=!1,c=new MutationObserver(r=>{t&&document.querySelector(t)&&(o=!0,c.disconnect(),a(e.querySelector(t)))});r>0&&window.setTimeout(()=>{o||n(t)},1e3*r),c.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})})}function c(t){var a;let n=t.getAttribute("value");try{a=JSON.parse(n);let o=r(),c=a.market;a.market=o,t.setAttribute("value",JSON.stringify(a)),"true"===new window.URLSearchParams(window.location.search).get("debugLpChat")&&console.log(`Updating market attribute of ${e} to '${o}'. Was '${c}'.`)}catch(l){console.error(l)}}function l(){let e={en:["ph","ng","ae"]},r=n();e[r]&&a(e[r])&&o(document.body,t,20).then(e=>{c(e)}).catch(e=>{console.log("Element not found after timeout: "+e)})}l()})(); /*!281206*/(()=>{function t(){return r===e&&null!==d.match(/^\/dynamics-365\/products\/business-central\/partner-trial\/partner\/*/)||r===e&&null!==d.match(/^\/dynamics-365\/products\/sales\/partner-trial\/partner\/*/)||r===n&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/business-central\/partner-trial\/partner\/*/)||r===n&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/sales\/partner-trial\/partner\/*/)||r===l&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/business-central\/partner-trial\/partner\/*/)||r===l&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/sales\/partner-trial\/partner\/*/)||r===o&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/business-central\/partner-trial\/partner\/*/)||r===o&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/sales\/partner-trial\/partner\/*/)||r===s&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/business-central\/partner-trial\/partner\/*/)||r===s&&null!==d.match(/^\/dynamics-365\/qa-folder\/plt\/sales\/partner-trial\/partner\/*/)}function a(){t()&&document.body.insertAdjacentHTML("beforeend",'")}const r=window.location.origin,e="https://www.microsoft.com",n="https://wwwppe.microsoft.com",l="https://wwwppe.microsoft.com",s="https://sites-author.adobeprod.microsoft.com",o="https://sites-author.adobeppe.microsoft.com",c=window.location.pathname,i=c.split("/")[1],p="/"+i,d=c.replace(p,""),m="\n .theme-night [data-oc-token-text] a {\n color: var(--theme-foreground-base-strong);\n }\n ";"interactive"===document.readyState||"complete"===document.readyState?a():document.addEventListener("DOMContentLoaded",a)})(); /*!187137 Windows 365 Trial Marketization */ (()=>{const CommonContent={de:"Wenden Sie sich für eine kostenlose Testversion an den Vertrieb",en:"Contact sales for a free trial",es:"Ponte en contacto con ventas para obtener una prueba gratuita",fr:"Contacter le service commercial pour obtenir un essai gratuit"};const Content={"ar-ww":"الاتصال بقسم المبيعات للحصول على تجربة مجانية","bg-bg":"Свържете се с отдела за продажби за безплатна пробна версия","cs-cz":"Požádat obchodní oddělení o bezplatnou zkušební verzi","da-dk":"Kontakt salgsafdelingen for en gratis prøveversion","de-at":CommonContent["de"],"de-ch":CommonContent["de"],"de-de":CommonContent["de"],"el-gr":"Επικοινωνήστε με το τμήμα πωλήσεων για μια δωρεάν δοκιμή","en-au":CommonContent["en"],"en-ca":CommonContent["en"],"en-gb":CommonContent["en"],"en-ie":CommonContent["en"],"en-in":CommonContent["en"],"en-my":CommonContent["en"],"en-nz":CommonContent["en"],"en-sg":CommonContent["en"],"en-us":CommonContent["en"],"en-ww":CommonContent["en"],"en-za":CommonContent["en"],"es-ar":CommonContent["es"],"es-cl":CommonContent["es"],"es-co":CommonContent["es"],"es-es":CommonContent["es"],"es-mx":CommonContent["es"],"es-ww":CommonContent["es"],"et-ee":"Tasuta prooviversiooni saamiseks võtke müügiosakonnaga ühendust","fi-fi":"Ota yhteyttä myyntiin ja tiedustele ilmaista kokeiluversiota","fr-be":CommonContent["fr"],"fr-ca":CommonContent["fr"],"fr-ch":CommonContent["fr"],"fr-fr":CommonContent["fr"],"fr-ww":CommonContent["fr"],"he-il":"פנה למחלקת המכירות לגבי גירסת הניסיון","hr-hr":"Obratite se odjelu prodaje radi besplatne probne verzije","hu-hu":"Ingyenes próbaverzióért vegye fel a kapcsolatot az értékesítési csapattal","id-id":"Hubungi bagian penjualan untuk coba gratis","it-it":"Contatta il reparto vendite per una versione di prova gratuita","ja-jp":"無料試用版について購入前相談窓口に連絡する","ko-kr":"무료 평가판은 영업 팀에 문의","lt-lt":"Susisiekite su pardavimo tarnyba dėl nemokamos bandomosios versijos","lv-lv":"Sazināties ar tirdzniecības pārstāvi, lai iegūtu bezmaksas izmēģinājumversiju","nb-no":"Kontakt salgsavdelingen for å få en gratis prøveversjon","nl-be":"Neem contact op met de verkoopafdeling voor een gratis proefversie","nl-nl":"Neem contact op met de verkoopafdeling voor een gratis proefversie","pl-pl":"Skontaktuj się z działem sprzedaży, aby skorzystać z bezpłatnej wersji próbnej","pt-br":"Contate o departamento de vendas para uma avaliação gratuita","pt-pt":"Contacte a equipa de vendas para obter uma avaliação gratuita","ro-ro":"Contactați echipa de vânzări pentru o versiune de încercare gratuită","ru-ru":"Для получения бесплатной пробной версии свяжитесь с отделом продаж","sk-sk":"Požiadajte oddelenie predaja o bezplatnú skúšobnú verziu","sl-si":"Obrnite se na prodajni oddelek za brezplačno preskusno različico","sr-latn-rs":"Obratite se sektoru prodaje za besplatnu probnu verziju","sv-se":"Kontakta säljteamet för en kostnadsfri utvärderingsversion","th-th":"ติดต่อฝ่ายขายเพื่อรับรุ่นทดลองใช้ฟรี","tr-tr":"Ücretsiz deneme için satış birimine başvurun","uk-ua":"Зв’язатися з відділом збуту, щоб отримати безкоштовну ознайомлювальну версію","vi-vn":"Liên hệ với bộ phận bán hàng để nhận bản dùng thử miễn phí","zh-cn":"联系销售人员获取免费试用版","zh-hk":"連絡銷售人員以取得免費試用版","zh-tw":"連絡銷售人員以取得免費試用版"};const contactSalesPartnerContent={"vi-vn":"Liên hệ với đối tác bán hàng"};const wave3Locales=["bg-bg","cs-cz","da-dk","de-at","el-gr","en-ie","en-za","et-ee","fi-fi","fr-be","fr-fr","he-il","hr-hr","hu-hu","it-it","lt-lt","lv-lv","nb-no","nl-be","pl-pl","pt-pt","ro-ro","sk-sk","sl-si","sr-latn-rs","tr-tr","uk-ua"];const disabledMarkets=["ar","ar-sa","ar-ww","en","en-af","en-bz","en-hk","en-ww","es","es-ww","fr","fr-ne","fr-ww","ga-ie","hi-in","ms-my","prs-af","ps-af","ru-ru","sv-se","zh-cn"];const enterpriseDisabledMarkets=["vi-vn"];const getCountryCodeFromLocale=locale=>{const replaceCountry=locale.split("-");if(replaceCountry.length>1){return replaceCountry[replaceCountry.length-1].toUpperCase()}return null};const documentLang=document.documentElement.lang.toLowerCase();const langLocs={"sr-rs":["sr-rs","sr-latn-rs","sr-cyrl-rs"],default:[documentLang]};const possibleLangLocs=langLocs[documentLang]||langLocs.default;const llcc=possibleLangLocs.find(loc=>window.location.pathname.indexOf(loc)!==-1);const isBusiness=window.location.pathname.indexOf("business")>0;const isDisabledMarket=disabledMarkets.includes(llcc)||!isBusiness&&enterpriseDisabledMarkets.includes(llcc);const isWave3=wave3Locales.includes(llcc);const saleLinkQSP=getCountryCodeFromLocale(llcc)?"&culture="+llcc+"&country="+getCountryCodeFromLocale(llcc):"";const contactSalesFwLink="https://go.microsoft.com/fwlink/?linkid=2182892";const salesLink=contactSalesFwLink+saleLinkQSP;const contactSalesBhvr="124";const TryCTASelectors={Enterprise:[".oc-sku-card-w365 .sku-footer > div > div > div:nth-child(2) a.cta",".sku-list-table > .oc-sku-list-table-component > table > tbody > tr:nth-child(4) > td:nth-child(4) > a",".sku-list-table table > tbody > tr:nth-child(4) > td:nth-child(4) > div:nth-child(3) a[data-bi-pid='CFQ7TTC0HHS9'][data-bi-sku='0015']",".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0HHS9'][data-sku-id='0015'] div.d-block div.link-group > a.cta",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0HHS9'][data-sku-id='0015'] > div > div.col-5.w-sm-col-4 > div.d-block > div.link-group > a.cta"],Business:[".sku-list-table table > tbody > tr:nth-child(4) > td.px-3.py-3 > div:nth-child(3) > a",".sku-list-table table > tbody > tr:nth-child(4) > td:nth-child(4) > div:nth-child(3) a[data-bi-pid='CFQ7TTC0J203'][data-bi-sku='000P']",".sku-list-table table > tbody > tr:nth-child(4) > td:nth-child(4) > div:nth-child(3) a[data-bi-pid='CFQ7TTC0HX99'][data-bi-sku='000S']",".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0HX99'][data-sku-id='000S'] div.d-block div.link-group > a.cta",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0HX99'][data-sku-id='000S'] > div > div.col-5.w-sm-col-4 > div.d-block > div.link-group > a.cta",".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0J203'][data-sku-id='000P'] div.d-block div.link-group > a.cta",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0J203'][data-sku-id='000P'] > div > div.col-5.w-sm-col-4 > div.d-block > div.link-group > a.cta"]};const TrialLinkDisclaimerSelectors={Enterprise:[".oc-sku-card-w365 .sku-footer > div > div > div:not(.link-group)",".sku-list-table table > tbody > tr:nth-child(4) > td.px-3.py-3 > div:nth-child(4)",".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0HHS9'][data-sku-id='0015'] div.d-block div.link-group > div",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0HHS9'][data-sku-id='0015'] div.d-block div.link-group > div"],Business:[".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0HX99'][data-sku-id='000S'] div.d-block div.link-group > div",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0HX99'][data-sku-id='000S'] div.d-block div.link-group > div",".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0J203'][data-sku-id='000P'] div.d-block div.link-group > div",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0J203'][data-sku-id='000P'] div.d-block div.link-group > div"]};const PurchaseInfoSelectors={Business:[".oc-sku-card-w365 .sku-body-secondary > div",".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0HX99'][data-sku-id='000S'] div.d-block > div.mt-3.mb-3",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0HX99'][data-sku-id='000S'] > div > div > div.d-md-none > div.d-inline-block.align-middle",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0HX99'][data-sku-id='000S'] > div > div > div.d-none.d-md-block > div.d-inline-block.align-middle",".oc-sku-configurator div.ocsc-desktop[data-product-id='CFQ7TTC0J203'][data-sku-id='000P'] div.d-block > div.mt-3.mb-3",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0J203'][data-sku-id='000P'] > div > div > div.d-md-none > div.d-inline-block.align-middle",".oc-sku-configurator div.ocsc-mobile[data-product-id='CFQ7TTC0J203'][data-sku-id='000P'] > div > div > div.d-none.d-md-block > div.d-inline-block.align-middle"]};const ContactSalesLinkSelector=`a[href^='${contactSalesFwLink}']`;const TagName={SPAN:"SPAN"};const pageScope={"www.microsoft.com":{paths:["/windows-365/enterprise/all-pricing","/windows-365/enterprise/compare-plans-pricing","/windows-365/enterprise/configure","/windows-365/business/all-pricing","/windows-365/business/compare-plans-pricing","/windows-365/business/configure"]},previews:true};let contactSalesIdIndex=1;const getNewAnchor=locContent=>{const id=getNewAnchorId();return`${locContent}`};const getNewAnchorId=()=>{return`contact-sales-for-a-free-trial-${contactSalesIdIndex++}`};const setTryLinksToContactSales=locContent=>{document.querySelectorAll([...TryCTASelectors.Business,...TryCTASelectors.Enterprise].join(",")).forEach(anchorElem=>{if(anchorElem.hasAttribute("data-target")){anchorElem.insertAdjacentHTML("beforebegin",getNewAnchor(locContent));anchorElem.remove()}else{const anchorId=getNewAnchorId();anchorElem.setAttribute("aria-label",locContent);anchorElem.setAttribute("href",salesLink);if(anchorElem.querySelector(TagName.SPAN)){anchorElem.querySelector(TagName.SPAN).innerHTML=locContent}else{anchorElem.innerHTML=locContent}anchorElem.setAttribute("data-bi-id",anchorId);anchorElem.setAttribute("data-bi-cn",anchorId);anchorElem.setAttribute("data-bi-bhvr",contactSalesBhvr)}})};const getDisabledStyles=()=>{let disableCss="";[...TryCTASelectors.Business,...TryCTASelectors.Enterprise,...TrialLinkDisclaimerSelectors.Business,...TrialLinkDisclaimerSelectors.Enterprise].forEach(selector=>{disableCss+="body:not(.ow-at-125482) "+selector+","});if(isBusiness){PurchaseInfoSelectors.Business.forEach(selector=>{disableCss+="body:not(.ow-at-125482) "+selector+","})}disableCss=disableCss.slice(0,-1);disableCss+=" { display: none !important }";return disableCss};const updateTryCTAs=()=>{const locContent=Content[llcc];if(!locContent||isDisabledMarket)return;if(!isBusiness){setTryLinksToContactSales(locContent)}else if(isBusiness&&isWave3){setTryLinksToContactSales(locContent)}};const updateContactSalesText=()=>{const content=contactSalesPartnerContent[llcc];if(!content)return;document.querySelectorAll(ContactSalesLinkSelector).forEach(anchorElem=>{anchorElem.innerHTML=content})};const addDisabledMarketStyles=()=>{if(isDisabledMarket){const style=document.createElement("style");style.setAttribute("id","SO 187137");style.innerHTML=getDisabledStyles();document.head.appendChild(style)}};const marketizeTrials=()=>{updateContactSalesText();updateTryCTAs()};if(window.SOUtil.pageIsInScope(pageScope)){addDisabledMarketStyles();window.SOUtil.runOnPageLoad(marketizeTrials)}})(); /*!300259*/(()=>{function o(){return e===n&&null!==a.match(/^\/microsoft-365\/business\/copilot-for-microsoft-365\/*/)||e===c&&null!==a.match(/^\/content\/microsoft\/bade\/en-us\/microsoft-365\/business\/copilot-for-microsoft-365\/*/)||e===c&&null!==a.match(/^\/microsoft\/bade\/en-us\/microsoft-365\/business\/copilot-for-microsoft-365\/*/)}function t(){o()&&document.body.insertAdjacentHTML("beforeend",'")}const e=window.location.origin,n="https://www.microsoft.com",c="https://sites-author.adobeprod.microsoft.com",i=window.location.pathname,s=i.split("/")[1],r="/"+s,a=i.replace(r,""),d="\n .theme-night [data-oc-token-text] a {\n color: var(--theme-foreground-base-strong);\n }\n ";"interactive"===document.readyState||"complete"===document.readyState?t():document.addEventListener("DOMContentLoaded",t)})(); /*!337791*/(()=>{const o=["sites-author.adobeppe.microsoft.com","sites-author.adobeprod.microsoft.com"];if(o.includes(window.location.hostname)){const o=new URLSearchParams(window.location.search),t=o.get("octoolkit");if(t){let o=document.createElement("script");o.setAttribute("src","http://approjects.co.za/?big=msonecloudapi/assets/toolkit-loader.js"),parent.document.head.appendChild(o)}}})(); /*!355557 UMPs are playing when they go off screen. Stop it.*/ (()=>{const pageScope={"www.microsoft.com":{paths:["/qa-folder/iss_qa/ai-get-ready3","/microsoft-365/business/win-with-copilot"],markets:["en-us"]},previews:true};const observeAndPauseModalUMPs=()=>{let props={selector:".modal universal-media-player video",callback:addIntersectionObserver,multiple:true};window.SOUtil.elementPromise(props).then(()=>{props.callback(props)})};const addIntersectionObserver=props=>{let elements=window.SOUtil.getElements(props);elements.forEach(elem=>{let umpObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(!entry.isIntersecting){entry.target.pause()}})});umpObserver.observe(elem)})};if(window.SOUtil.pageIsInScope(pageScope)){window.SOUtil.runOnPageLoad(observeAndPauseModalUMPs)}})(); /*! 375695 show hidden AI chat for launch */ (()=>{const pageScope={"www.microsoft.com":{paths:["/education"],allSubpaths:true,markets:["en-us"]},previews:true};const showAIChat=()=>{document.querySelectorAll(` .ai-chat-button, #ai-chat-drawer, .ai-chat-drawer, .ai-chat-banner, [data-component-id="4f06524427acb2861bc6cc0c037e6d89"] `).forEach(el=>el.classList.remove("d-none"))};if(window.SOUtil.pageIsInScope(pageScope)){window.SOUtil.runOnPageLoad(showAIChat)}})(); /* !372852 Customers Logo CSS Override */ (document=>{const pageScope={"www.microsoft.com":{paths:["/customers"],allSubpaths:true},previews:true};if(!window.SOUtil.pageIsInScope(pageScope))return;const style=` .filter-search-results { .media__slot { .ocr-icon { max-width: 3.5rem !important; max-height: 3.5rem !important; height: 3.5rem !important; width: 3.5rem !important; .ocr-img { max-width: 3.5rem !important; max-height: 3.5rem !important; height: 3.5rem !important; width: 3.5rem !important; img { max-width: 3.5rem !important; max-height: 3.5rem !important; height: 3.5rem !important; width: 3.5rem !important; border-radius: 8px !important; } } } } } .filter-card-carousel { .media__slot { .ocr-icon { max-width: 3.5rem !important; max-height: 3.5rem !important; height: 3.5rem !important; width: 3.5rem !important; .ocr-img { max-width: 3.5rem !important; max-height: 3.5rem !important; height: 3.5rem !important; width: 3.5rem !important; img { max-width: 3.5rem !important; max-height: 3.5rem !important; height: 3.5rem !important; width: 3.5rem !important; border-radius: 8px !important; } } } } } `;window.SOUtil.addStylesheet(style,"372852")})(document); /*! 390021 add chat with sales right rail to Power Platform pages */ (()=>{const pageScope={"www.microsoft.com":{paths:["/power-platform"],allSubpaths:true,markets:["en-us"]},previews:true};const excludePaths=["/en-us/power-platform/try-free","/en-us/power-platform/ai","/en-us/power-platform/templates"];const path=window.location.pathname.toLowerCase();const addChatWithSales=()=>{function revealProactiveChat(){if(!isBusinessHours())return;const proactiveChat=document.querySelector("#proactive-chat-dialog");proactiveChat.classList.remove("proactive-chat-hidden");if(telemetry.webAnalyticsPlugin){telemetry.webAnalyticsPlugin.capturePageAction(null,{behavior:14,actionType:"A",contentTags:{containerName:"ChatInvite"}})}}function initializeChat(){try{const chatConfigMeta=document.querySelector("meta[name='chat-oc-opts']");if(chatConfigMeta){const chatConfig=JSON.parse(chatConfigMeta.getAttribute("value"));if(window.chat&&window.chat.config){document.querySelectorAll("[data-oc-chat]").forEach(e=>e.replaceWith(e.cloneNode(true)));document.querySelectorAll("#proactive-chat-dialog").forEach(e=>e.remove());setTimeout(revealProactiveChat,6e4);new window.chat.config(chatConfig).initialize()}else{console.error("window.chat or window.chat.config is undefined")}}else{console.error("Meta tag for chat config not found")}}catch(err){console.error("Error initializing chat:",err)}}function isBusinessHours(){const now=new Date;const hourFormatter=new Intl.DateTimeFormat("en-US",{timeZone:"America/Los_Angeles",hour:"numeric",hour12:false});const dayFormatter=new Intl.DateTimeFormat("en-US",{timeZone:"America/Los_Angeles",weekday:"long"});const currentHourPacific=parseInt(hourFormatter.format(now),10);const currentDayPacific=dayFormatter.format(now);const isWeekend=currentDayPacific==="Saturday"||currentDayPacific==="Sunday";const isBusinessHours=!isWeekend&¤tHourPacific>=6&¤tHourPacific<15;return isBusinessHours}const html={reimagine:`
`,onecloud:`
`};const footerSelector=".universalfooter";const reimagineClass="reimagine-page";const rightRailSelector='[data-mount="contact-sales"] [data-mount="multi-collapse"]';if(excludePaths.includes(path)||document.querySelector(rightRailSelector)){return}const isReimaginePage=document.body.classList.contains(reimagineClass);const rightRailHTML=isReimaginePage?html.reimagine:html.onecloud;document.querySelector(footerSelector)?.insertAdjacentHTML("beforebegin",rightRailHTML);const rightRailEls=document.querySelectorAll(rightRailSelector);if(isReimaginePage){rightRailEls.forEach(rightRailEl=>{new window.ocrReimagine["MultiCollapse"]({el:rightRailEl})})}else{rightRailEls.forEach(rightRailEl=>{new window.m365["MultiCollapse"]({el:rightRailEl})})}initializeChat()};if(window.SOUtil.pageIsInScope(pageScope)){window.SOUtil.runOnPageLoad(addChatWithSales)}})(); /*! 619209 AI Powered Assistant and proactive chat default values */ (function(){function updateDefaultValues(){const chatDrawer=document.querySelector('[id="ai-chat-drawer"]');const chatButton=document.querySelector(".ai-chat-button");if(!chatDrawer||!chatButton)return;const AI_CHAT_SELECTOR={AI_CHAT_BUTTON_HEADER_TEXT:".ai-chat-button .ai-chat-button__text span",AI_CHAT_BUTTON_ANCHOR:".ai-chat-button a",HEADER_CONTROLS:".ai-chat-drawer__header__control",BLOCK_FEATURE_TITLE:".block-feature__title",AI_CHAT_BUTTON_TEXT:".ai-chat-button__text",AI_DISCLAIMER:".ai-chat-drawer__disclaimer"};const drawerTitleText=chatDrawer.querySelector(AI_CHAT_SELECTOR.BLOCK_FEATURE_TITLE).textContent||"AI-powered assistant";const aiChatButtonHeader=document.querySelector(AI_CHAT_SELECTOR.AI_CHAT_BUTTON_HEADER_TEXT);const aiChatButtonAnchor=document.querySelector(AI_CHAT_SELECTOR.AI_CHAT_BUTTON_ANCHOR);const headerControls=chatDrawer.querySelector(AI_CHAT_SELECTOR.HEADER_CONTROLS);const aiDisclaimer=chatDrawer.querySelector(AI_CHAT_SELECTOR.AI_DISCLAIMER);const textInputPlaceholder=chatDrawer?.dataset?.textInputPlaceholder||"Ask a work question or make a request...";const aiDisclaimerText=chatDrawer?.dataset?.aiDisclaimer||"AI-generated content may be incorrect";const closeButtonAriaLabel=headerControls&&headerControls.getAttribute("aria-label")?headerControls.getAttribute("aria-label"):"Close Dialog";const chatDrawerAriaLabel=chatDrawer.getAttribute("aria-label")||"Chatbot Window";const buttonTitleText=chatButton.querySelector(`${AI_CHAT_SELECTOR.AI_CHAT_BUTTON_TEXT} span`).textContent||"AI-powered assistant";setDefaultValuesInMarkup();updateChatDrawerVariables();setChatAgentImage();function setDefaultValuesInMarkup(){chatDrawer.setAttribute("data-text-input-placeholder",textInputPlaceholder);chatDrawer.setAttribute("data-ai-disclaimer",aiDisclaimerText);chatDrawer.querySelector(AI_CHAT_SELECTOR.BLOCK_FEATURE_TITLE).textContent=drawerTitleText;if(headerControls){headerControls.setAttribute("aria-label",closeButtonAriaLabel)}chatDrawer.setAttribute("aria-label",chatDrawerAriaLabel);if(aiDisclaimer){aiDisclaimer.textContent=aiDisclaimerText}setDefaultValuesAiChatButton()}function setDefaultValuesAiChatButton(){if(!chatButton.classList.contains("theme-day")&&!chatButton.classList.contains("theme-night")){chatButton.classList.add("theme-day")}if(aiChatButtonHeader&&!aiChatButtonHeader.textContent){aiChatButtonHeader.textContent=buttonTitleText}if(aiChatButtonAnchor&&!aiChatButtonAnchor.getAttribute("aria-label")){aiChatButtonAnchor.setAttribute("aria-label","Expand AI-powered assistant chat dialog")}}function updateChatDrawerVariables(retryCount=0){const chatDrawerReimagineInstance=window.ocrReimagine?.AIChatDrawer?.getInstances().find(instance=>instance.el===chatDrawer);const chatDrawerM365Instance=window.m365?.AIChatDrawer?.getInstances().find(instance=>instance.el===chatDrawer);const chatDrawerInstance=chatDrawerReimagineInstance||chatDrawerM365Instance;if(chatDrawerInstance){chatDrawerInstance.textInputPlaceholder=textInputPlaceholder;chatDrawerInstance.aiDisclaimerText=aiDisclaimerText}else if(retryCount<4){setTimeout(()=>updateChatDrawerVariables(retryCount+1),500)}}function setChatAgentImage(){const img=document.querySelector("#ocr-proactive-chat > div.proactive-chat__body > div.media.media--ratio-1-1 > div > picture > img");if(img){img.setAttribute("src","https://cdn-dynmedia-1.microsoft.com/is/image/microsoftcorp/oc_chat_face_global");img.setAttribute("alt","chat agent")}}}window.SOUtil.runOnPageLoad(updateDefaultValues)})(); /*! 650228 Hide new proactive chat popup */ (()=>{const getProactiveChatInstance=()=>{const componentLib=window.ocrReimagine||window.m365;if(!componentLib||componentLib.ProactiveChat.getInstances().length===0){return null}return componentLib.ProactiveChat.getInstances()[0]};const clearProactiveTimeout=()=>{const proactiveChat=getProactiveChatInstance();if(proactiveChat){clearTimeout(proactiveChat.popupTimeout);return true}return false};const preventProactivePopup=()=>{if(clearProactiveTimeout()){return}let pollAttempts=200;const proactiveChatPollInterval=window.setInterval(()=>{if(clearProactiveTimeout()||pollAttempts--<=0){clearInterval(proactiveChatPollInterval)}},100)};window.SOUtil.runOnPageLoad(preventProactivePopup)})(); /*! 856288 AI Chat Drawer - Show Chat Button on Power Platform pages for the A/B test with the throttle */ (()=>{const pageScope={"www.microsoft.com":{paths:["/power-platform"],allSubpaths:true,markets:["en-us"]},previews:true};const buttonSelector=".ai-chat-button[data-at-found-for]";const getChatDrawerInstance=()=>{const componentLib=window.ocrReimagine||window.m365;if(!componentLib||componentLib.AIChatDrawer.getInstances().length===0){return null}return componentLib.AIChatDrawer.getInstances()[0]};const tryUnhideChatButton=()=>{const chatDrawer=getChatDrawerInstance();if(chatDrawer&&document.querySelector(buttonSelector)){chatDrawer.setIsHidden(false);chatDrawer.showChatButton(true);return true}return false};const showAIChatButton=()=>{if(tryUnhideChatButton()){return}let pollAttempts=200;const AIChatPollInterval=window.setInterval(()=>{if(tryUnhideChatButton()||pollAttempts--<=0){clearInterval(AIChatPollInterval)}},100)};if(window.SOUtil.pageIsInScope(pageScope)){window.SOUtil.runOnPageLoad(showAIChatButton)}})();