define("genericVideoDialog",["dialog","componentFactory"],function(n,t){"use strict";function k(n,t,i){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),u;return u=n.indexOf("?")===n.length-1?"":n.indexOf("?")!==-1?"&":"?",n.match(r)?n.replace(r,"$1"+t+"="+i+"$2"):n+u+t+"="+i}function e(n){n.target.closeButton.focus()}function o(n){n.target.videoIFrame.focus()}function d(n,t,i,r){n.addEventListener("load",function(){n.focus()});i.addEventListener("focus",e,!1);i.closeButton=t;r.addEventListener("focus",o,!1);r.videoIFrame=n}function g(n,t){n.removeEventListener("focus",e,!1);t.removeEventListener("focus",o,!1)}function nt(n){for(var i=[],t=n.parentNode.firstChild,r=n;t;t=t.nextSibling)t.nodeType===1&&t!==n&&t.nodeName!=="SCRIPT"&&t.nodeName!=="NOSCRIPT"&&t.nodeName!=="STYLE"&&i.push(t);return i}function s(n,t){if((n.type==="click"||n.type==="keydown"&&(n.keyCode===13||n.keyCode===32))&&(i=nt(t),i&&i.length))for(var r=0;r<i.length;r++)i[r].setAttribute("data-js-controlledby","dialog")}function tt(){r=document.querySelectorAll(c);Array.prototype.forEach.call(r,function(n,t){var u="owVideoDialogContainer-"+t,r=n.querySelector(f),i;r.id=u;i=n.querySelector(l);i.setAttribute("data-js-dialog-show",u);i.addEventListener("click",function(n){n.preventDefault();s(n,r)},!1);i.addEventListener("keydown",function(n){s(n,r)},!1)});u=document.querySelectorAll(f);t.ComponentFactory.create([{c:n.Dialog,elements:u,callback:function(n){n&&n.length&&Array.prototype.forEach.call(n,function(n){var t,r=n.element.querySelector(a),e=k(n.element.querySelector(v).value,"autoplay",!0),o=n.element.querySelector(y).value,s=n.element.querySelector(b),u=n.element.querySelector(p),f=n.element.querySelector(w);n.subscribe({onShown:function(){t=document.createElement("iframe");t.setAttribute("src",e);t.setAttribute("frameborder","0");t.setAttribute("allowfullscreen","true");t.setAttribute("title",o);r.appendChild(t);n.update();d(t,s,u,f)},onHidden:function(){if(t=r.querySelector("iframe"),t&&r.removeChild(t),i&&i.length)for(var n=0;n<i.length;n++)i[n].removeAttribute("data-js-controlledby");g(u,f)}})})},eventToBind:h}])}var r,u,h="DOMContentLoaded",i,c=".ow-generic-video",f=".ow-video-dialog",l=".ow-video-dialog-button",a=".ow-video-player-container",v=".ow-video-src-input",y=".ow-video-title-input",p=".ow-video-tabstop-start",w=".ow-video-tabstop-end",b="[data-js-dialog-hide]";return{run:function(){tt()}}});require(["genericVideoDialog"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)});define("officeUtilities",[],function(){"use strict";function n(n){for(var t=0;t<n.length;t++)n[t].style.height="auto"}function t(n){for(var i=0,t=0;t<n.length;t++)n[t].offsetHeight>i&&(i=n[t].offsetHeight);return i}function u(i){var u,r;for(n(i),u=t(i),r=0;r<i.length;r++)i[r].style.height=u+"px"}function f(n,t){while((n=n.parentElement)&&!n.matches(t));return n}function e(n,t){t||(t=window.location.href.toLowerCase());n=n.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+n.toLowerCase()+"(=([^&#]*)|&|#|$)"),i=r.exec(t);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function o(n){for(var i=[],t=n.parentNode.firstChild,r=n;t;t=t.nextSibling)t.nodeType===1&&t!==n&&t.nodeName!=="SCRIPT"&&t.nodeName!=="NOSCRIPT"&&t.nodeName!=="STYLE"&&i.push(t);return i}function i(n){function t(n){return n<26?n+65:n<52?n+71:n<62?n-4:n===62?43:n===63?47:65}function r(n){for(var f=(3-n.length%3)%3,u="",e,o=n.length,i=0,r=0;r<o;r++)e=r%3,i|=n[r]<<(16>>>e&24),(e===2||n.length-r==1)&&(u+=String.fromCharCode(t(i>>>18&63),t(i>>>12&63),t(i>>>6&63),t(i&63)),i=0);return f===0?u:u.substring(0,u.length-f)+(f===1?"=":"==")}var i=new Uint16Array(n.length);return Array.prototype.forEach.call(i,function(t,i,r){r[i]=n.charCodeAt(i)}),r(new Uint8Array(i.buffer))}function r(n){function t(n){return n>64&&n<91?n-65:n>96&&n<123?n-71:n>47&&n<58?n+4:n===43?62:n===47?63:0}function i(n,i){for(var h=n.replace(/[^A-Za-z0-9\+\/]/g,""),u=h.length,c=i?Math.ceil((u*3+1>>>2)/i)*i:u*3+1>>>2,l=new Uint8Array(c),f,e,o=0,s=0,r=0;r<u;r++)if(e=r&3,o|=t(h.charCodeAt(r))<<18-6*e,e===3||u-r==1){for(f=0;f<3&&s<c;f++,s++)l[s]=o>>>(16>>>f&24)&255;o=0}return l}return String.fromCharCode.apply(null,new Uint16Array(i(n,2).buffer))}function s(n){var t=sessionStorage.getItem(n);return t===null||t.length<1?null:r(t)}function h(n,t){var r=i(t);sessionStorage.setItem(n,r)}function c(n,t){let r=t!==undefined?t:10,i;return function(){i&&window.clearTimeout(i);i=window.setTimeout(function(){i=null;n()},r)}}return Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),{resetElementHeights:n,getTallestElementHeight:t,setEqualHeights:u,findAncestor:f,getQueryStringParameter:e,getSiblings:o,encodeToBase64UTF16:i,decodeToBase64UTF16:r,sessionStorageSetItem:h,sessionStorageGetItem:s,debounce:c}});define("contactSales",["officeUtilities"],function(n){"use strict";function r(n,t){var i=new XMLHttpRequest;i.onreadystatechange=function(){i.readyState==XMLHttpRequest.DONE&&i.status==200&&t(i)};i.open("GET",n,!0);i.send()}function u(t,u,o){var c=document.querySelector(".pmg-contactsales-sidebar"),a=document.querySelector(".ow-contactsales-sidebar"),p=window.matchMedia("(min-width: 768px)"),v=document.querySelector("#headerArea"),y,s,l;if(v.parentNode.insertBefore(a,v.nextElementSibling),c&&(y=document.querySelector("head"),s=document.createElement("link"),s.id="pmg-style-contactsales-sidebar",s.rel="stylesheet",s.href="https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE2uSfc",y.appendChild(s)),l=c||a,l){var w=document.querySelector("html").getAttribute("lang"),b=t!==null||typeof t!="undefined"?"&s="+t:"",h=n.getQueryStringParameter("preview",document.URL);h=h!==null||typeof h!="undefined"?"&preview="+h:"";r("/"+w+"/api/contactsales/"+u+"?r=htm"+b+h,function(n){if(l.classList.add("active"),l.innerHTML=n.responseText,e(),c){var t=document.createElement("script");t.id="pmg-script-contactsales-sidebar";t.type="text/javascript";t.setAttribute("src","https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE2vfDp");c.appendChild(t)}else i.run();o==="true"&&p.matches&&f()})}}function f(){var r,i,t,n;r=document.querySelector(".ow-contactsales");document.querySelectorAll(".ow-chat")[0].className="ow-chat-bot";document.querySelectorAll(".ow-chat-bot")[0].removeAttribute("style");Array.prototype.forEach.call(document.querySelectorAll(".ow-chat-bot .ow-cs-chat"),function(n){n.setAttribute("data-ow-widget-chat-bot","true")});document.querySelector(".ow-contactsales").setAttribute("data-layout","2-up");document.querySelectorAll(".ow-chat-bot")[0].style.border="none";i=document.querySelector(".ow-chat-bot .ow-cs-chat span").innerHTML;document.querySelector("#ow-cs-expand").setAttribute("title",i);t=document.querySelectorAll(".ow-cs-chat");n=document.querySelector(".ow-chat-bot").parentElement.parentElement;n&&n.classList.contains("ow-contactsales")&&(n.style.setProperty("top","auto","important"),n.style.bottom="50px");t.length&&Array.prototype.forEach.call(t,function(n){n.addEventListener("click",function(n){n.preventDefault();var t=document.getElementById("ow-bot-div");typeof t!="undefined"&&t!==null?t.style.display="block":o()},!1)})}function e(){var i="data-ow-widget-chat",t=document.querySelector("["+i+"]"),r,n;t&&t.getAttribute("data-ow-widtget-chat")!=="true"&&(t.setAttribute(i,""),r=document.querySelector(".ow-chat"),r.style.display="none",n=document.querySelector(".ow-contactsales"),n.querySelectorAll("ul li").length<3&&(n.classList.add("expanded"),n.setAttribute("data-layout","1-up")))}function t(n){var t=document.querySelector("meta[name='"+n+"']")||document.querySelector("meta[name='"+n.toLowerCase()+"']")||document.querySelector("meta[name='"+n.toUpperCase()+"']");return t&&t.getAttribute("content")}function o(){var n=document.createElement("div");document.getElementsByTagName("body")[0].appendChild(n);n.outerHTML="<div id='ow-bot-div'><div id='ow-bot-title'><span id='ow-bot-close'>X<\/span><\/div><iframe id='ow-bot-iframe' src='https://officepmgwebchat.azurewebsites.net​/'><\/iframe><\/div>";document.getElementById("ow-bot-close").addEventListener("click",function(){document.getElementById("ow-bot-div").style.display="none"})}function s(){var s,n,v;try{var h=document.querySelector(".ow-contactsales-sidebar"),o=h&&h.getAttribute("data-ow-site")||document.querySelector("meta[name='pmg.site']"),i=document.querySelector("meta[name='pmg.chat']")||document.querySelector("meta[name='ow.chatType']"),c=document.querySelector("meta[name='pmg.isBotChat']")||document.querySelector("meta[name='ow.isBotChat']"),f="",r="",l="false",y=document.querySelector("html"),p=document.URL.GetLocale?document.URL.GetLocale().toLowerCase():y.getAttribute("lang"),e=!0,a=t("pmg.hideContactSales")||t("ow.hideContactSales");a&&(n=a.toLowerCase(),e=!(n==="yes"||n==="true"));s=t("pmg.chathideheader")||t("ow.chatHideHeader");s&&e&&(n=s.toLowerCase(),e=!(n==="yes"||n==="true"));(i||o)&&(f=i&&i.getAttribute("content")||o,f.toLowerCase()!=="off"&&(["business","government","academic","nonprofit","exchange","skype-for-business","project","sharepoint","visio","onedrive-for-business","commercial"].indexOf(f)>-1?(v=p==="fr-ca"&&["skype-for-business","project","sharepoint","visio"].indexOf(f)!==-1,v===!1&&(r="commercial")):r=i&&i.getAttribute("content")));c&&(l=c.getAttribute("content"));(r==="commercial"||r==="consumer")&&e&&u(o,r,l)}catch(w){}}function h(){var t='[data-module="ow-contactsales"]',n="ow-zoom";window.addEventListener("resize",function(){var i=document.querySelector(t);i&&(window.devicePixelRatio>2.5?i.classList.add(n):i.classList.remove(n))})}var i=function(){function f(){u<a?(u++,window.requestAnimationFrame(f)):(t.classList.remove(r),u=0)}function e(u){if(u.type==="click"){u.preventDefault();var e=!t.classList.contains(r),o=n.getAttribute("aria-label"),s=n.getAttribute("data-toggled-label");n.setAttribute("aria-expanded",e.toString());n.setAttribute("aria-label",s);n.setAttribute("data-toggled-label",o);this!==i||u.type==="click"&&u.width&&u.height?t.classList.toggle(r):(n.focus(),f())}}function v(){t=document.querySelector(o);i=document.getElementById(h);n=document.getElementById(c);let r=t?getComputedStyle(t).backgroundColor==="rgb(255, 255, 255)":!1;r&&t.classList.add(s)}function y(){l.forEach(function(t){i&&i.addEventListener(t,e);n&&n.addEventListener(t,e)})}var o='[data-module="ow-contactsales"]',s="ow-high-contrast-on-white",r="expanded",h="ow-cs-collapse",c="ow-cs-expand",l=["click","keyup","keypress"],t,i,n,a=5,u=0;return{run:function(){v();y()}}}();return{run:function(){s();h()}}});define("dynamicModule",[],function(){"use strict";function n(){var i,r;try{if(i=document.querySelector("html[lang=en-us]"),i){var t=document.querySelector("meta[name=owamphtml]"),u=document.querySelector("link[rel=canonical]"),n=document.querySelector("link[rel=amphtml]");t&&u&&n===null&&(r=new URL(t.getAttribute("content")),n=document.createElement("link"),n.setAttribute("rel","amphtml"),n.setAttribute("href",r.href),t.parentNode.insertBefore(n,t))}}catch(f){}}function t(){try{require.specified("chat")&&require(["chat"],function(n){n.run()});require.specified("contactSales")&&require(["contactSales"],function(n){n.run()});require.specified("skypeBot")&&require(["skypeBot"],function(n){n.run()});n()}catch(t){}}return{run:function(){t()}}});require(["dynamicModule"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)});define("HeroPhotographic",[],function(){"use strict";function i(){if(n=document.querySelector('[data-module="ow-hero-photographic"] .ow-scroll-arrow'),n){let i=document.querySelector(".ow-scrollToModuleId"),u=i.innerText.trim();t=document.querySelector("[id^="+u+"]");r()}}function r(){n.addEventListener("click",u)}function u(){e(t,1e3)}function f(n){return window.pageYOffset+n.getBoundingClientRect().top}function e(n,t){var r=window.pageYOffset,u=f(n),o=document.body.scrollHeight-u<window.innerHeight?document.body.scrollHeight-window.innerHeight:u,e=o-r,s=function(n){return n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1},i;e&&window.requestAnimationFrame(function h(n){i||(i=n);var f=n-i,u=Math.min(f/t,1);u=s(u);window.scrollTo(0,r+e*u);f<t&&window.requestAnimationFrame(h)})}var n,t;return{run:function(){i()}}});require(["HeroPhotographic"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)});define("keyMessages",[],function(){"use strict";function t(){return Math.max(document.documentElement.clientWidth,window.innerWidth)}function s(n,t){t.style.width=n.clientWidth+"px"}function k(){n=document.querySelectorAll(a);r=document.querySelector(l).classList.contains(p);t()<i?h():c();Array.prototype.forEach.call(n,function(n){const f=n.querySelector("figcaption"),r=n.querySelector(u);f&&r&&r.addEventListener("load",function(){t()>=i&&s(r,f)})})}function d(){window.addEventListener("resize",nt)}function g(n,t,i){var r;return function(){var u=this,f=arguments,e=function(){r=null;i||n.apply(u,f)},o=i&&!r;clearTimeout(r);r=setTimeout(e,t);o&&n.apply(u,f)}}function h(){Array.prototype.forEach.call(n,function(n){var i,r,t;n.classList.contains(o)||(Array.prototype.forEach.call(n.children,function(n){n.classList.contains(f)?r=n:n.classList.contains(e)&&(i=n)}),n.insertBefore(i,r));t=n.querySelector("figcaption");t&&t.style.width!=="100%"&&(t.style.width="100%")})}function c(){let i,h=t();Array.prototype.forEach.call(n,function(n){if(i=n.classList.contains(w),!n.classList.contains(o)){var t,c;Array.prototype.forEach.call(n.children,function(n){n.classList.contains(f)?c=n:n.classList.contains(e)&&(t=n)});i&&h<b?n.insertBefore(t,c):n.classList.contains(y)?r&&!i?n.insertBefore(c,t):n.insertBefore(t,c):r&&!i?n.insertBefore(t,c):n.insertBefore(c,t);const l=n.querySelector("figcaption"),o=n.querySelector(u);l&&o&&o.classList.contains(v)&&s(o,l)}})}const l="[data-module=ow-key-messages]",a="[data-module=ow-key-messages] section",u="figure img",v="lazyloaded",f="ow-picture-container",e="ow-render-txt-container",o="f-align-center",y="f-align-left",p="ow-is-rtl",w="ow-tile-height-668",i=768,b=1084;let n,r;var nt=g(function(){let n=t();n<i?h():c()},50);return{run:function(){k();d()}}});require(["keyMessages"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)});define("OfficeSocialFooter",[],function(){"use strict";function i(){var f=getComputedStyle(document.body).backgroundColor==="rgb(0, 0, 0)",r,i,u;if(f)for(r=document.querySelectorAll(t),i=0,u=r.length;i<u;i++)r[i].classList.add(n)}var n="ow-high-contrast-on-black",t=".ow-social-footer";return{run:function(){i()}}});require(["OfficeSocialFooter"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)})